mirror of
https://github.com/LukeHagar/ui-development-kit.git
synced 2025-12-06 12:57:44 +00:00
Fully migrated project, tested dev and compile binaries
This commit is contained in:
21
.gitignore
vendored
21
.gitignore
vendored
@@ -1,22 +1,11 @@
|
|||||||
|
.DS_Store
|
||||||
node_modules
|
node_modules
|
||||||
.svelte-kit
|
/build
|
||||||
|
/.svelte-kit
|
||||||
dist
|
/dist
|
||||||
build
|
/package
|
||||||
package
|
|
||||||
|
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
*.local
|
|
||||||
!.env.example
|
!.env.example
|
||||||
|
|
||||||
yarn-error.log
|
|
||||||
pnpm-lock.yaml
|
|
||||||
|
|
||||||
.DS_Store
|
|
||||||
|
|
||||||
vite.config.js.timestamp-*
|
vite.config.js.timestamp-*
|
||||||
vite.config.ts.timestamp-*
|
vite.config.ts.timestamp-*
|
||||||
|
|
||||||
out
|
|
||||||
Sveltekit-Build/src/
|
|
||||||
5
.vscode/extensions.json
vendored
5
.vscode/extensions.json
vendored
@@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"recommendations": [
|
|
||||||
"svelte.svelte-vscode"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
{
|
{
|
||||||
"prettier.documentSelectors": [
|
"prettier.documentSelectors": ["**/*.svelte"],
|
||||||
"**/*.svelte"
|
|
||||||
],
|
|
||||||
"tailwindCSS.classAttributes": [
|
"tailwindCSS.classAttributes": [
|
||||||
"class",
|
"class",
|
||||||
"accent",
|
"accent",
|
||||||
@@ -114,5 +112,8 @@
|
|||||||
"transition",
|
"transition",
|
||||||
"width",
|
"width",
|
||||||
"zIndex"
|
"zIndex"
|
||||||
]
|
],
|
||||||
|
"yaml.schemas": {
|
||||||
|
"https://www.artillery.io/schema.json": []
|
||||||
|
}
|
||||||
}
|
}
|
||||||
92
Electron-App/.gitignore
vendored
92
Electron-App/.gitignore
vendored
@@ -1,92 +0,0 @@
|
|||||||
# Logs
|
|
||||||
logs
|
|
||||||
*.log
|
|
||||||
npm-debug.log*
|
|
||||||
yarn-debug.log*
|
|
||||||
yarn-error.log*
|
|
||||||
lerna-debug.log*
|
|
||||||
|
|
||||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
||||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
||||||
|
|
||||||
# Runtime data
|
|
||||||
pids
|
|
||||||
*.pid
|
|
||||||
*.seed
|
|
||||||
*.pid.lock
|
|
||||||
.DS_Store
|
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
||||||
lib-cov
|
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
|
||||||
coverage
|
|
||||||
*.lcov
|
|
||||||
|
|
||||||
# nyc test coverage
|
|
||||||
.nyc_output
|
|
||||||
|
|
||||||
# node-waf configuration
|
|
||||||
.lock-wscript
|
|
||||||
|
|
||||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
||||||
build/Release
|
|
||||||
|
|
||||||
# Dependency directories
|
|
||||||
node_modules/
|
|
||||||
jspm_packages/
|
|
||||||
|
|
||||||
# TypeScript v1 declaration files
|
|
||||||
typings/
|
|
||||||
|
|
||||||
# TypeScript cache
|
|
||||||
*.tsbuildinfo
|
|
||||||
|
|
||||||
# Optional npm cache directory
|
|
||||||
.npm
|
|
||||||
|
|
||||||
# Optional eslint cache
|
|
||||||
.eslintcache
|
|
||||||
|
|
||||||
# Optional REPL history
|
|
||||||
.node_repl_history
|
|
||||||
|
|
||||||
# Output of 'npm pack'
|
|
||||||
*.tgz
|
|
||||||
|
|
||||||
# Yarn Integrity file
|
|
||||||
.yarn-integrity
|
|
||||||
|
|
||||||
# dotenv environment variables file
|
|
||||||
.env
|
|
||||||
.env.test
|
|
||||||
|
|
||||||
# parcel-bundler cache (https://parceljs.org/)
|
|
||||||
.cache
|
|
||||||
|
|
||||||
# next.js build output
|
|
||||||
.next
|
|
||||||
|
|
||||||
# nuxt.js build output
|
|
||||||
.nuxt
|
|
||||||
|
|
||||||
# vuepress build output
|
|
||||||
.vuepress/dist
|
|
||||||
|
|
||||||
# Serverless directories
|
|
||||||
.serverless/
|
|
||||||
|
|
||||||
# FuseBox cache
|
|
||||||
.fusebox/
|
|
||||||
|
|
||||||
# DynamoDB Local files
|
|
||||||
.dynamodb/
|
|
||||||
|
|
||||||
# Webpack
|
|
||||||
.webpack/
|
|
||||||
|
|
||||||
# Vite
|
|
||||||
.vite/
|
|
||||||
|
|
||||||
# Electron-Forge
|
|
||||||
out/
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
packagerConfig: {
|
|
||||||
asar: true,
|
|
||||||
extraResource: ["../Sveltekit-Build"],
|
|
||||||
},
|
|
||||||
rebuildConfig: {},
|
|
||||||
makers: [
|
|
||||||
{
|
|
||||||
name: "@electron-forge/maker-squirrel",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "@electron-forge/maker-zip",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "@electron-forge/maker-dmg",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "@electron-forge/maker-deb",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "@electron-forge/maker-rpm",
|
|
||||||
},
|
|
||||||
],
|
|
||||||
plugins: [
|
|
||||||
// {
|
|
||||||
// name: "@electron-forge/plugin-auto-unpack-natives",
|
|
||||||
// config: {}
|
|
||||||
// },
|
|
||||||
],
|
|
||||||
publishers: [
|
|
||||||
{
|
|
||||||
name: "@electron-forge/publisher-github",
|
|
||||||
config: {
|
|
||||||
repository: {
|
|
||||||
owner: "sailpoint-oss",
|
|
||||||
name: "idn-admin-console",
|
|
||||||
},
|
|
||||||
prerelease: true,
|
|
||||||
draft: true,
|
|
||||||
force: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
|
||||||
11312
Electron-App/package-lock.json
generated
11312
Electron-App/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "electron-identitynow-starter",
|
|
||||||
"productName": "Electron IDN Starter",
|
|
||||||
"version": "0.0.3",
|
|
||||||
"description": "A starter electron and sveltekit application for building with IdentityNow",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/sailpoint-oss/idn-admin-console.git"
|
|
||||||
},
|
|
||||||
"main": "src/index.js",
|
|
||||||
"scripts": {
|
|
||||||
"patch": "npm version patch",
|
|
||||||
"dev": "echo \"Skipping Electron-App\"",
|
|
||||||
"start": "electron-forge start",
|
|
||||||
"package": "electron-forge package",
|
|
||||||
"make": "electron-forge make",
|
|
||||||
"build": "electron-forge make",
|
|
||||||
"publish": "electron-forge publish",
|
|
||||||
"lint": "echo \"No linting configured\""
|
|
||||||
},
|
|
||||||
"keywords": [],
|
|
||||||
"author": {
|
|
||||||
"name": "Luke Hagar",
|
|
||||||
"email": "luke.hagar@sailpoint.com"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"@electron-toolkit/utils": "^3.0.0",
|
|
||||||
"electron-log": "^5.1.1",
|
|
||||||
"electron-squirrel-startup": "^1.0.0",
|
|
||||||
"electron-window-state": "^5.0.3",
|
|
||||||
"express": "^4.18.2",
|
|
||||||
"update-electron-app": "^3.0.0"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@electron-forge/cli": "^7.2.0",
|
|
||||||
"@electron-forge/maker-deb": "^7.2.0",
|
|
||||||
"@electron-forge/maker-dmg": "^7.2.0",
|
|
||||||
"@electron-forge/maker-rpm": "^7.2.0",
|
|
||||||
"@electron-forge/maker-squirrel": "^7.2.0",
|
|
||||||
"@electron-forge/maker-zip": "^7.2.0",
|
|
||||||
"@electron-forge/plugin-auto-unpack-natives": "^7.2.0",
|
|
||||||
"@electron-forge/publisher-github": "^7.2.0",
|
|
||||||
"electron": "28.1.4"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
const windowStateManager = require("electron-window-state");
|
|
||||||
const { app, BrowserWindow } = require("electron");
|
|
||||||
const path = require("path");
|
|
||||||
const { is } = require("@electron-toolkit/utils");
|
|
||||||
// const { updateElectronApp } = require("update-electron-app");
|
|
||||||
const handlerPkg = import(
|
|
||||||
is.dev
|
|
||||||
? "../../Sveltekit-Build/src/handler.js"
|
|
||||||
: `file://${path.join(
|
|
||||||
process.resourcesPath,
|
|
||||||
"Sveltekit-Build",
|
|
||||||
"src",
|
|
||||||
"handler.js"
|
|
||||||
)}`
|
|
||||||
);
|
|
||||||
const express = require("express");
|
|
||||||
const log = require("electron-log/main");
|
|
||||||
|
|
||||||
Object.assign(console, log.functions);
|
|
||||||
|
|
||||||
console.log(
|
|
||||||
"==================================Log Start=================================="
|
|
||||||
);
|
|
||||||
|
|
||||||
// try {
|
|
||||||
// console.log("Trying to update...");
|
|
||||||
// updateElectronApp();
|
|
||||||
// } catch (e) {
|
|
||||||
// console.log("Error updating");
|
|
||||||
// console.log(e);
|
|
||||||
// }
|
|
||||||
|
|
||||||
const port = 3000;
|
|
||||||
const origin = `http://localhost:${port}`;
|
|
||||||
console.log(`Starting server on ${origin}...`);
|
|
||||||
|
|
||||||
const server = express();
|
|
||||||
|
|
||||||
const createServer = async () => {
|
|
||||||
try {
|
|
||||||
console.log("Importing Handler...");
|
|
||||||
const { handler } = await handlerPkg;
|
|
||||||
|
|
||||||
// add a route that lives separately from the SvelteKit app
|
|
||||||
server.get("/healthcheck", (req, res) => {
|
|
||||||
console.log("Healthcheck route hit");
|
|
||||||
res.end("ok");
|
|
||||||
});
|
|
||||||
|
|
||||||
console.log("Adding handler to server...");
|
|
||||||
// let SvelteKit handle everything else, including serving prerendered pages and static assets
|
|
||||||
server.use(handler);
|
|
||||||
|
|
||||||
server.listen(port, () => {
|
|
||||||
console.log(`Server listening on ${origin}`);
|
|
||||||
});
|
|
||||||
} catch (e) {
|
|
||||||
console.log(e);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
createServer();
|
|
||||||
|
|
||||||
// Handle creating/removing shortcuts on Windows when installing/uninstalling.
|
|
||||||
if (require("electron-squirrel-startup")) {
|
|
||||||
app.quit();
|
|
||||||
}
|
|
||||||
|
|
||||||
const createWindow = () => {
|
|
||||||
console.log("Creating window...");
|
|
||||||
// Create the browser window.
|
|
||||||
try {
|
|
||||||
let windowState = windowStateManager({
|
|
||||||
defaultWidth: 1920,
|
|
||||||
defaultHeight: 1080,
|
|
||||||
});
|
|
||||||
|
|
||||||
const mainWindow = new BrowserWindow({
|
|
||||||
show: false,
|
|
||||||
backgroundColor: "whitesmoke",
|
|
||||||
titleBarStyle: "default",
|
|
||||||
autoHideMenuBar: false,
|
|
||||||
trafficLightPosition: {
|
|
||||||
x: 17,
|
|
||||||
y: 32,
|
|
||||||
},
|
|
||||||
minHeight: 800,
|
|
||||||
minWidth: 800,
|
|
||||||
webPreferences: {
|
|
||||||
contextIsolation: true,
|
|
||||||
nodeIntegration: true,
|
|
||||||
spellcheck: false,
|
|
||||||
devTools: true,
|
|
||||||
preload: path.join(__dirname, "preload.js"),
|
|
||||||
},
|
|
||||||
x: windowState.x,
|
|
||||||
y: windowState.y,
|
|
||||||
width: windowState.width,
|
|
||||||
height: windowState.height,
|
|
||||||
});
|
|
||||||
|
|
||||||
mainWindow.webContents.on("did-fail-load", function () {
|
|
||||||
console.log("did-fail-load");
|
|
||||||
setTimeout(() => {
|
|
||||||
mainWindow.loadURL(origin);
|
|
||||||
}, 500);
|
|
||||||
});
|
|
||||||
|
|
||||||
console.log("Opening server in window...");
|
|
||||||
// and load the index.html of the app.
|
|
||||||
mainWindow.loadURL(origin);
|
|
||||||
|
|
||||||
mainWindow.once("ready-to-show", () => {
|
|
||||||
mainWindow.show();
|
|
||||||
mainWindow.focus();
|
|
||||||
});
|
|
||||||
|
|
||||||
mainWindow.on("close", () => {
|
|
||||||
windowState.saveState(mainWindow);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Open the DevTools.
|
|
||||||
if (is.dev) mainWindow.webContents.openDevTools();
|
|
||||||
} catch (e) {
|
|
||||||
console.log("Error creating window");
|
|
||||||
console.log(e);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// This method will be called when Electron has finished
|
|
||||||
// initialization and is ready to create browser windows.
|
|
||||||
// Some APIs can only be used after this event occurs.
|
|
||||||
app.on("ready", createWindow);
|
|
||||||
|
|
||||||
// Quit when all windows are closed, except on macOS. There, it's common
|
|
||||||
// for applications and their menu bar to stay active until the user quits
|
|
||||||
// explicitly with Cmd + Q.
|
|
||||||
app.on("window-all-closed", () => {
|
|
||||||
if (process.platform !== "darwin") {
|
|
||||||
app.quit();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
app.on("activate", () => {
|
|
||||||
// On OS X it's common to re-create a window in the app when the
|
|
||||||
// dock icon is clicked and there are no other windows open.
|
|
||||||
if (BrowserWindow.getAllWindows().length === 0) {
|
|
||||||
createWindow();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
// In this file you can include the rest of your app's specific main process
|
|
||||||
// code. You can also put them in separate files and import them here.
|
|
||||||
@@ -5,15 +5,8 @@
|
|||||||
![Issues][issues-shield]
|
![Issues][issues-shield]
|
||||||
![Contributor Shield][contributor-shield]
|
![Contributor Shield][contributor-shield]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[issues-shield]:https://img.shields.io/github/issues/sailpoint-oss/electron-identitynow-starter?label=Issues
|
[issues-shield]:https://img.shields.io/github/issues/sailpoint-oss/electron-identitynow-starter?label=Issues
|
||||||
|
|
||||||
[contributor-shield]:https://img.shields.io/github/contributors/sailpoint-oss/electron-identitynow-starter?label=Contributors
|
[contributor-shield]:https://img.shields.io/github/contributors/sailpoint-oss/electron-identitynow-starter?label=Contributors
|
||||||
|
|
||||||
[product-screenshot]: ./assets/images/electron-identitynow-starter-output.png
|
[product-screenshot]: ./assets/images/electron-identitynow-starter-output.png
|
||||||
|
|
||||||
<!-- PROJECT LOGO -->
|
<!-- PROJECT LOGO -->
|
||||||
|
|||||||
10
Sveltekit-App/.gitignore
vendored
10
Sveltekit-App/.gitignore
vendored
@@ -1,10 +0,0 @@
|
|||||||
.DS_Store
|
|
||||||
node_modules
|
|
||||||
/build
|
|
||||||
/.svelte-kit
|
|
||||||
/package
|
|
||||||
.env
|
|
||||||
.env.*
|
|
||||||
!.env.example
|
|
||||||
vite.config.js.timestamp-*
|
|
||||||
vite.config.ts.timestamp-*
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
# create-svelte
|
|
||||||
|
|
||||||
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
|
|
||||||
|
|
||||||
## Creating a project
|
|
||||||
|
|
||||||
If you're seeing this, you've probably already done this step. Congrats!
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# create a new project in the current directory
|
|
||||||
npm create svelte@latest
|
|
||||||
|
|
||||||
# create a new project in my-app
|
|
||||||
npm create svelte@latest my-app
|
|
||||||
```
|
|
||||||
|
|
||||||
## Developing
|
|
||||||
|
|
||||||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run dev
|
|
||||||
|
|
||||||
# or start the server and open the app in a new browser tab
|
|
||||||
npm run dev -- --open
|
|
||||||
```
|
|
||||||
|
|
||||||
## Building
|
|
||||||
|
|
||||||
To create a production version of your app:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npm run build
|
|
||||||
```
|
|
||||||
|
|
||||||
You can preview the production build with `npm run preview`.
|
|
||||||
|
|
||||||
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
|
|
||||||
6006
Sveltekit-App/package-lock.json
generated
6006
Sveltekit-App/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,59 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "idn-admin-console-svelte",
|
|
||||||
"description": "A troubleshooting and administration app for IdentityNow",
|
|
||||||
"version": "0.0.3",
|
|
||||||
"private": true,
|
|
||||||
"author": {
|
|
||||||
"name": "Luke Hagar",
|
|
||||||
"email": "luke.hagar@sailpoint.com"
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"patch": "npm version patch",
|
|
||||||
"dev": "vite dev",
|
|
||||||
"build:web": "vite build",
|
|
||||||
"build": "cross-env ORIGIN=http://localhost:3000 vite build",
|
|
||||||
"publish": "npm run build",
|
|
||||||
"preview": "vite preview",
|
|
||||||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
||||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
||||||
"test": "vitest",
|
|
||||||
"lint": "prettier --check . && eslint .",
|
|
||||||
"format": "prettier --write ."
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@floating-ui/dom": "1.5.4",
|
|
||||||
"@skeletonlabs/skeleton": "2.7.1",
|
|
||||||
"@skeletonlabs/tw-plugin": "0.3.1",
|
|
||||||
"@sveltejs/adapter-node": "^4.0.1",
|
|
||||||
"@sveltejs/kit": "^2.5.0",
|
|
||||||
"@sveltejs/vite-plugin-svelte": "^3.0.2",
|
|
||||||
"@tailwindcss/forms": "0.5.7",
|
|
||||||
"@tailwindcss/typography": "0.5.10",
|
|
||||||
"@types/jsonwebtoken": "^9.0.5",
|
|
||||||
"@types/node": "20.11.5",
|
|
||||||
"@typescript-eslint/eslint-plugin": "^6.20.0",
|
|
||||||
"@typescript-eslint/parser": "^6.20.0",
|
|
||||||
"autoprefixer": "10.4.17",
|
|
||||||
"axios": "^1.6.7",
|
|
||||||
"cross-env": "^7.0.3",
|
|
||||||
"eslint": "^8.56.0",
|
|
||||||
"eslint-config-prettier": "^9.1.0",
|
|
||||||
"eslint-plugin-svelte": "^2.35.1",
|
|
||||||
"highlight.js": "^11.9.0",
|
|
||||||
"jsonwebtoken": "^9.0.2",
|
|
||||||
"postcss": "8.4.33",
|
|
||||||
"prettier": "^3.2.4",
|
|
||||||
"prettier-plugin-svelte": "^3.1.2",
|
|
||||||
"sailpoint-api-client": "^1.3.0",
|
|
||||||
"svelte": "^4.2.9",
|
|
||||||
"svelte-check": "^3.6.3",
|
|
||||||
"svelte-jsoneditor": "^0.21.4",
|
|
||||||
"tailwindcss": "3.4.1",
|
|
||||||
"tslib": "^2.6.2",
|
|
||||||
"typescript": "^5.3.3",
|
|
||||||
"vite": "^5.0.12",
|
|
||||||
"vite-plugin-tailwind-purgecss": "0.2.0",
|
|
||||||
"vitest": "^1.2.2"
|
|
||||||
},
|
|
||||||
"type": "module"
|
|
||||||
}
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": "./.svelte-kit/tsconfig.json",
|
|
||||||
"compilerOptions": {
|
|
||||||
"allowJs": true,
|
|
||||||
"checkJs": true,
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"resolveJsonModule": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"sourceMap": true,
|
|
||||||
"strict": true,
|
|
||||||
"moduleResolution": "bundler"
|
|
||||||
}
|
|
||||||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
|
|
||||||
//
|
|
||||||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
|
|
||||||
// from the referenced tsconfig.json - TypeScript does not merge them in
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "built-app",
|
|
||||||
"version": "0.0.2",
|
|
||||||
"scripts": {
|
|
||||||
"patch": "npm version patch",
|
|
||||||
"start": "node ./src"
|
|
||||||
},
|
|
||||||
"type": "module"
|
|
||||||
}
|
|
||||||
43
electron-builder.yaml
Normal file
43
electron-builder.yaml
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
appId: com.example.ui-development-kit
|
||||||
|
productName: UI Development Kit
|
||||||
|
directories:
|
||||||
|
buildResources: build
|
||||||
|
files:
|
||||||
|
- '!**/.vscode/*'
|
||||||
|
- '!src/*'
|
||||||
|
- '!electron.vite.config.{js,ts,mjs,cjs}'
|
||||||
|
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
|
||||||
|
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
|
||||||
|
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
|
||||||
|
asarUnpack:
|
||||||
|
- resources/**
|
||||||
|
# afterSign: build/notarize.js
|
||||||
|
win:
|
||||||
|
executableName: ui-development-kit
|
||||||
|
nsis:
|
||||||
|
artifactName: ${name}-${version}-setup.${ext}
|
||||||
|
shortcutName: ${productName}
|
||||||
|
uninstallDisplayName: ${productName}
|
||||||
|
createDesktopShortcut: always
|
||||||
|
mac:
|
||||||
|
entitlementsInherit: build/entitlements.mac.plist
|
||||||
|
# extendInfo:
|
||||||
|
# - NSCameraUsageDescription: Application requests access to the device's camera.
|
||||||
|
# - NSMicrophoneUsageDescription: Application requests access to the device's microphone.
|
||||||
|
# - NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
|
||||||
|
# - NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
|
||||||
|
dmg:
|
||||||
|
artifactName: ${name}-${version}.${ext}
|
||||||
|
linux:
|
||||||
|
target:
|
||||||
|
- AppImage
|
||||||
|
- snap
|
||||||
|
- deb
|
||||||
|
maintainer: SailPoint Technologies
|
||||||
|
category: Utility
|
||||||
|
appImage:
|
||||||
|
artifactName: ${name}-${version}.${ext}
|
||||||
|
npmRebuild: false
|
||||||
|
# publish:
|
||||||
|
# provider: generic
|
||||||
|
# url: https://example.com/auto-updates
|
||||||
8
electron.vite.config.ts
Normal file
8
electron.vite.config.ts
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
import { defineConfig, defineViteConfig } from 'electron-vite';
|
||||||
|
import config from './vite.config.js';
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
renderer: config,
|
||||||
|
main: defineViteConfig({}),
|
||||||
|
preload: defineViteConfig({})
|
||||||
|
});
|
||||||
3937
out/main/index.js
Normal file
3937
out/main/index.js
Normal file
File diff suppressed because it is too large
Load Diff
1
out/preload/index.mjs
Normal file
1
out/preload/index.mjs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
|
||||||
|
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 43 KiB |
2975
out/renderer/client/_app/immutable/assets/0.AUToJKdW.css
Normal file
2975
out/renderer/client/_app/immutable/assets/0.AUToJKdW.css
Normal file
File diff suppressed because it is too large
Load Diff
1
out/renderer/client/_app/immutable/assets/3.BX8UFHul.css
Normal file
1
out/renderer/client/_app/immutable/assets/3.BX8UFHul.css
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.sliding-text.svelte-1fdnh10.svelte-1fdnh10.svelte-1fdnh10{display:inline-block;position:relative;line-height:1em;height:1em}.sliding-text.svelte-1fdnh10>span.svelte-1fdnh10.svelte-1fdnh10{height:1em;display:inline-block;overflow-y:hidden}.sliding-text.svelte-1fdnh10>span.svelte-1fdnh10>span.svelte-1fdnh10{text-align:center;transition:all var(--interval) var(--ease);position:relative;height:100%;white-space:pre;top:calc(var(--index) * -2em)}.skills.svelte-1285lhc{display:flex;justify-items:start;align-items:center;flex-wrap:wrap}.custom-skill{display:inline-block;text-align:center}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
.anim-indeterminate.svelte-12wvf64{transform-origin:0% 50%;animation:svelte-12wvf64-anim-indeterminate 2s infinite linear}@keyframes svelte-12wvf64-anim-indeterminate{0%{transform:translateX(0) scaleX(0)}40%{transform:translateX(0) scaleX(0.4)}100%{transform:translateX(100%) scaleX(0.5)}}
|
||||||
2834
out/renderer/client/_app/immutable/assets/_layout.AUToJKdW.css
Normal file
2834
out/renderer/client/_app/immutable/assets/_layout.AUToJKdW.css
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
|||||||
|
.sliding-text.svelte-1fdnh10.svelte-1fdnh10.svelte-1fdnh10{display:inline-block;position:relative;line-height:1em;height:1em}.sliding-text.svelte-1fdnh10>span.svelte-1fdnh10.svelte-1fdnh10{height:1em;display:inline-block;overflow-y:hidden}.sliding-text.svelte-1fdnh10>span.svelte-1fdnh10>span.svelte-1fdnh10{text-align:center;transition:all var(--interval) var(--ease);position:relative;height:100%;white-space:pre;top:calc(var(--index) * -2em)}.skills.svelte-1285lhc{display:flex;justify-items:start;align-items:center;flex-wrap:wrap}.custom-skill{display:inline-block;text-align:center}
|
||||||
671
out/renderer/client/_app/immutable/chunks/Progress.3ESwaKmp.js
Normal file
671
out/renderer/client/_app/immutable/chunks/Progress.3ESwaKmp.js
Normal file
@@ -0,0 +1,671 @@
|
|||||||
|
import { E as is_promise, F as get_current_component, G as set_current_component, H as flush, s as safe_not_equal, e as element, I as svg_element, c as claim_element, b as children, J as claim_svg_element, g as detach, i as attr, K as set_style, A as toggle_class, j as insert_hydration, k as append_hydration, L as compute_slots, M as afterUpdate, N as assign, O as exclude_internal_props, P as create_slot, Q as update_slot_base, R as get_all_dirty_from_scope, S as get_slot_changes } from "./scheduler.fBTsnP2i.js";
|
||||||
|
import { g as group_outros, a as transition_out, c as check_outros, t as transition_in, S as SvelteComponent, i as init, b as create_component, d as claim_component, m as mount_component, e as destroy_component } from "./index.DdnDjIf5.js";
|
||||||
|
import "./ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js";
|
||||||
|
function handle_promise(promise, info) {
|
||||||
|
const token = info.token = {};
|
||||||
|
function update(type, index, key, value) {
|
||||||
|
if (info.token !== token)
|
||||||
|
return;
|
||||||
|
info.resolved = value;
|
||||||
|
let child_ctx = info.ctx;
|
||||||
|
if (key !== void 0) {
|
||||||
|
child_ctx = child_ctx.slice();
|
||||||
|
child_ctx[key] = value;
|
||||||
|
}
|
||||||
|
const block = type && (info.current = type)(child_ctx);
|
||||||
|
let needs_flush = false;
|
||||||
|
if (info.block) {
|
||||||
|
if (info.blocks) {
|
||||||
|
info.blocks.forEach((block2, i) => {
|
||||||
|
if (i !== index && block2) {
|
||||||
|
group_outros();
|
||||||
|
transition_out(block2, 1, 1, () => {
|
||||||
|
if (info.blocks[i] === block2) {
|
||||||
|
info.blocks[i] = null;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
check_outros();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
info.block.d(1);
|
||||||
|
}
|
||||||
|
block.c();
|
||||||
|
transition_in(block, 1);
|
||||||
|
block.m(info.mount(), info.anchor);
|
||||||
|
needs_flush = true;
|
||||||
|
}
|
||||||
|
info.block = block;
|
||||||
|
if (info.blocks)
|
||||||
|
info.blocks[index] = block;
|
||||||
|
if (needs_flush) {
|
||||||
|
flush();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (is_promise(promise)) {
|
||||||
|
const current_component = get_current_component();
|
||||||
|
promise.then(
|
||||||
|
(value) => {
|
||||||
|
set_current_component(current_component);
|
||||||
|
update(info.then, 1, info.value, value);
|
||||||
|
set_current_component(null);
|
||||||
|
},
|
||||||
|
(error) => {
|
||||||
|
set_current_component(current_component);
|
||||||
|
update(info.catch, 2, info.error, error);
|
||||||
|
set_current_component(null);
|
||||||
|
if (!info.hasCatch) {
|
||||||
|
throw error;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
if (info.current !== info.pending) {
|
||||||
|
update(info.pending, 0);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if (info.current !== info.then) {
|
||||||
|
update(info.then, 1, info.value, promise);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
info.resolved = /** @type {T} */
|
||||||
|
promise;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update_await_block_branch(info, ctx, dirty) {
|
||||||
|
const child_ctx = ctx.slice();
|
||||||
|
const { resolved } = info;
|
||||||
|
if (info.current === info.then) {
|
||||||
|
child_ctx[info.value] = resolved;
|
||||||
|
}
|
||||||
|
if (info.current === info.catch) {
|
||||||
|
child_ctx[info.error] = resolved;
|
||||||
|
}
|
||||||
|
info.block.p(child_ctx, dirty);
|
||||||
|
}
|
||||||
|
function create_if_block(ctx) {
|
||||||
|
let text_1;
|
||||||
|
let text_1_class_value;
|
||||||
|
let current;
|
||||||
|
const default_slot_template = (
|
||||||
|
/*#slots*/
|
||||||
|
ctx[16].default
|
||||||
|
);
|
||||||
|
const default_slot = create_slot(
|
||||||
|
default_slot_template,
|
||||||
|
ctx,
|
||||||
|
/*$$scope*/
|
||||||
|
ctx[15],
|
||||||
|
null
|
||||||
|
);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
text_1 = svg_element("text");
|
||||||
|
if (default_slot)
|
||||||
|
default_slot.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
text_1 = claim_svg_element(nodes, "text", {
|
||||||
|
x: true,
|
||||||
|
y: true,
|
||||||
|
"text-anchor": true,
|
||||||
|
"dominant-baseline": true,
|
||||||
|
"font-weight": true,
|
||||||
|
"font-size": true,
|
||||||
|
class: true
|
||||||
|
});
|
||||||
|
var text_1_nodes = children(text_1);
|
||||||
|
if (default_slot)
|
||||||
|
default_slot.l(text_1_nodes);
|
||||||
|
text_1_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(text_1, "x", "50%");
|
||||||
|
attr(text_1, "y", "50%");
|
||||||
|
attr(text_1, "text-anchor", "middle");
|
||||||
|
attr(text_1, "dominant-baseline", "middle");
|
||||||
|
attr(text_1, "font-weight", "bold");
|
||||||
|
attr(
|
||||||
|
text_1,
|
||||||
|
"font-size",
|
||||||
|
/*font*/
|
||||||
|
ctx[2]
|
||||||
|
);
|
||||||
|
attr(text_1, "class", text_1_class_value = "progress-radial-text " + /*fill*/
|
||||||
|
ctx[7]);
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, text_1, anchor);
|
||||||
|
if (default_slot) {
|
||||||
|
default_slot.m(text_1, null);
|
||||||
|
}
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (default_slot) {
|
||||||
|
if (default_slot.p && (!current || dirty & /*$$scope*/
|
||||||
|
32768)) {
|
||||||
|
update_slot_base(
|
||||||
|
default_slot,
|
||||||
|
default_slot_template,
|
||||||
|
ctx2,
|
||||||
|
/*$$scope*/
|
||||||
|
ctx2[15],
|
||||||
|
!current ? get_all_dirty_from_scope(
|
||||||
|
/*$$scope*/
|
||||||
|
ctx2[15]
|
||||||
|
) : get_slot_changes(
|
||||||
|
default_slot_template,
|
||||||
|
/*$$scope*/
|
||||||
|
ctx2[15],
|
||||||
|
dirty,
|
||||||
|
null
|
||||||
|
),
|
||||||
|
null
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*font*/
|
||||||
|
4) {
|
||||||
|
attr(
|
||||||
|
text_1,
|
||||||
|
"font-size",
|
||||||
|
/*font*/
|
||||||
|
ctx2[2]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*fill*/
|
||||||
|
128 && text_1_class_value !== (text_1_class_value = "progress-radial-text " + /*fill*/
|
||||||
|
ctx2[7])) {
|
||||||
|
attr(text_1, "class", text_1_class_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(default_slot, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(default_slot, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(text_1);
|
||||||
|
}
|
||||||
|
if (default_slot)
|
||||||
|
default_slot.d(detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment$1(ctx) {
|
||||||
|
let figure;
|
||||||
|
let svg;
|
||||||
|
let circle0;
|
||||||
|
let circle0_class_value;
|
||||||
|
let circle1;
|
||||||
|
let circle1_class_value;
|
||||||
|
let style_stroke_dasharray = `${/*circumference*/
|
||||||
|
ctx[9]}
|
||||||
|
${/*circumference*/
|
||||||
|
ctx[9]}`;
|
||||||
|
let figure_class_value;
|
||||||
|
let figure_aria_valuenow_value;
|
||||||
|
let figure_aria_valuetext_value;
|
||||||
|
let current;
|
||||||
|
let if_block = (
|
||||||
|
/*value*/
|
||||||
|
ctx[0] != void 0 && /*value*/
|
||||||
|
ctx[0] >= 0 && /*$$slots*/
|
||||||
|
ctx[13].default && create_if_block(ctx)
|
||||||
|
);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
figure = element("figure");
|
||||||
|
svg = svg_element("svg");
|
||||||
|
circle0 = svg_element("circle");
|
||||||
|
circle1 = svg_element("circle");
|
||||||
|
if (if_block)
|
||||||
|
if_block.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
figure = claim_element(nodes, "FIGURE", {
|
||||||
|
class: true,
|
||||||
|
"data-testid": true,
|
||||||
|
role: true,
|
||||||
|
"aria-labelledby": true,
|
||||||
|
"aria-valuenow": true,
|
||||||
|
"aria-valuetext": true,
|
||||||
|
"aria-valuemin": true,
|
||||||
|
"aria-valuemax": true
|
||||||
|
});
|
||||||
|
var figure_nodes = children(figure);
|
||||||
|
svg = claim_svg_element(figure_nodes, "svg", { viewBox: true, class: true });
|
||||||
|
var svg_nodes = children(svg);
|
||||||
|
circle0 = claim_svg_element(svg_nodes, "circle", {
|
||||||
|
class: true,
|
||||||
|
"stroke-width": true,
|
||||||
|
r: true,
|
||||||
|
cx: true,
|
||||||
|
cy: true
|
||||||
|
});
|
||||||
|
children(circle0).forEach(detach);
|
||||||
|
circle1 = claim_svg_element(svg_nodes, "circle", {
|
||||||
|
class: true,
|
||||||
|
"stroke-width": true,
|
||||||
|
r: true,
|
||||||
|
cx: true,
|
||||||
|
cy: true,
|
||||||
|
"stroke-linecap": true
|
||||||
|
});
|
||||||
|
children(circle1).forEach(detach);
|
||||||
|
if (if_block)
|
||||||
|
if_block.l(svg_nodes);
|
||||||
|
svg_nodes.forEach(detach);
|
||||||
|
figure_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(circle0, "class", circle0_class_value = "progress-radial-track " + cBaseTrack + " " + /*track*/
|
||||||
|
ctx[6]);
|
||||||
|
attr(
|
||||||
|
circle0,
|
||||||
|
"stroke-width",
|
||||||
|
/*stroke*/
|
||||||
|
ctx[1]
|
||||||
|
);
|
||||||
|
attr(
|
||||||
|
circle0,
|
||||||
|
"r",
|
||||||
|
/*radius*/
|
||||||
|
ctx[12]
|
||||||
|
);
|
||||||
|
attr(circle0, "cx", "50%");
|
||||||
|
attr(circle0, "cy", "50%");
|
||||||
|
attr(circle1, "class", circle1_class_value = "progress-radial-meter " + cBaseMeter + " " + /*meter*/
|
||||||
|
ctx[5] + " " + /*transition*/
|
||||||
|
ctx[4]);
|
||||||
|
attr(
|
||||||
|
circle1,
|
||||||
|
"stroke-width",
|
||||||
|
/*stroke*/
|
||||||
|
ctx[1]
|
||||||
|
);
|
||||||
|
attr(
|
||||||
|
circle1,
|
||||||
|
"r",
|
||||||
|
/*radius*/
|
||||||
|
ctx[12]
|
||||||
|
);
|
||||||
|
attr(circle1, "cx", "50%");
|
||||||
|
attr(circle1, "cy", "50%");
|
||||||
|
attr(
|
||||||
|
circle1,
|
||||||
|
"stroke-linecap",
|
||||||
|
/*strokeLinecap*/
|
||||||
|
ctx[3]
|
||||||
|
);
|
||||||
|
set_style(circle1, "stroke-dasharray", style_stroke_dasharray);
|
||||||
|
set_style(
|
||||||
|
circle1,
|
||||||
|
"stroke-dashoffset",
|
||||||
|
/*dashoffset*/
|
||||||
|
ctx[10]
|
||||||
|
);
|
||||||
|
attr(svg, "viewBox", "0 0 " + baseSize + " " + baseSize);
|
||||||
|
attr(svg, "class", "rounded-full");
|
||||||
|
toggle_class(
|
||||||
|
svg,
|
||||||
|
"animate-spin",
|
||||||
|
/*value*/
|
||||||
|
ctx[0] === void 0
|
||||||
|
);
|
||||||
|
attr(figure, "class", figure_class_value = "progress-radial " + /*classesBase*/
|
||||||
|
ctx[11]);
|
||||||
|
attr(figure, "data-testid", "progress-radial");
|
||||||
|
attr(figure, "role", "meter");
|
||||||
|
attr(
|
||||||
|
figure,
|
||||||
|
"aria-labelledby",
|
||||||
|
/*labelledby*/
|
||||||
|
ctx[8]
|
||||||
|
);
|
||||||
|
attr(figure, "aria-valuenow", figure_aria_valuenow_value = /*value*/
|
||||||
|
ctx[0] || 0);
|
||||||
|
attr(figure, "aria-valuetext", figure_aria_valuetext_value = /*value*/
|
||||||
|
ctx[0] ? `${/*value*/
|
||||||
|
ctx[0]}%` : "Indeterminate Spinner");
|
||||||
|
attr(figure, "aria-valuemin", 0);
|
||||||
|
attr(figure, "aria-valuemax", 100);
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, figure, anchor);
|
||||||
|
append_hydration(figure, svg);
|
||||||
|
append_hydration(svg, circle0);
|
||||||
|
append_hydration(svg, circle1);
|
||||||
|
if (if_block)
|
||||||
|
if_block.m(svg, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
if (!current || dirty & /*track*/
|
||||||
|
64 && circle0_class_value !== (circle0_class_value = "progress-radial-track " + cBaseTrack + " " + /*track*/
|
||||||
|
ctx2[6])) {
|
||||||
|
attr(circle0, "class", circle0_class_value);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*stroke*/
|
||||||
|
2) {
|
||||||
|
attr(
|
||||||
|
circle0,
|
||||||
|
"stroke-width",
|
||||||
|
/*stroke*/
|
||||||
|
ctx2[1]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*meter, transition*/
|
||||||
|
48 && circle1_class_value !== (circle1_class_value = "progress-radial-meter " + cBaseMeter + " " + /*meter*/
|
||||||
|
ctx2[5] + " " + /*transition*/
|
||||||
|
ctx2[4])) {
|
||||||
|
attr(circle1, "class", circle1_class_value);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*stroke*/
|
||||||
|
2) {
|
||||||
|
attr(
|
||||||
|
circle1,
|
||||||
|
"stroke-width",
|
||||||
|
/*stroke*/
|
||||||
|
ctx2[1]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*strokeLinecap*/
|
||||||
|
8) {
|
||||||
|
attr(
|
||||||
|
circle1,
|
||||||
|
"stroke-linecap",
|
||||||
|
/*strokeLinecap*/
|
||||||
|
ctx2[3]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (dirty & /*circumference*/
|
||||||
|
512 && style_stroke_dasharray !== (style_stroke_dasharray = `${/*circumference*/
|
||||||
|
ctx2[9]}
|
||||||
|
${/*circumference*/
|
||||||
|
ctx2[9]}`)) {
|
||||||
|
set_style(circle1, "stroke-dasharray", style_stroke_dasharray);
|
||||||
|
}
|
||||||
|
if (dirty & /*dashoffset*/
|
||||||
|
1024) {
|
||||||
|
set_style(
|
||||||
|
circle1,
|
||||||
|
"stroke-dashoffset",
|
||||||
|
/*dashoffset*/
|
||||||
|
ctx2[10]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (
|
||||||
|
/*value*/
|
||||||
|
ctx2[0] != void 0 && /*value*/
|
||||||
|
ctx2[0] >= 0 && /*$$slots*/
|
||||||
|
ctx2[13].default
|
||||||
|
) {
|
||||||
|
if (if_block) {
|
||||||
|
if_block.p(ctx2, dirty);
|
||||||
|
if (dirty & /*value, $$slots*/
|
||||||
|
8193) {
|
||||||
|
transition_in(if_block, 1);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if_block = create_if_block(ctx2);
|
||||||
|
if_block.c();
|
||||||
|
transition_in(if_block, 1);
|
||||||
|
if_block.m(svg, null);
|
||||||
|
}
|
||||||
|
} else if (if_block) {
|
||||||
|
group_outros();
|
||||||
|
transition_out(if_block, 1, 1, () => {
|
||||||
|
if_block = null;
|
||||||
|
});
|
||||||
|
check_outros();
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*value, undefined*/
|
||||||
|
1) {
|
||||||
|
toggle_class(
|
||||||
|
svg,
|
||||||
|
"animate-spin",
|
||||||
|
/*value*/
|
||||||
|
ctx2[0] === void 0
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*classesBase*/
|
||||||
|
2048 && figure_class_value !== (figure_class_value = "progress-radial " + /*classesBase*/
|
||||||
|
ctx2[11])) {
|
||||||
|
attr(figure, "class", figure_class_value);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*labelledby*/
|
||||||
|
256) {
|
||||||
|
attr(
|
||||||
|
figure,
|
||||||
|
"aria-labelledby",
|
||||||
|
/*labelledby*/
|
||||||
|
ctx2[8]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*value*/
|
||||||
|
1 && figure_aria_valuenow_value !== (figure_aria_valuenow_value = /*value*/
|
||||||
|
ctx2[0] || 0)) {
|
||||||
|
attr(figure, "aria-valuenow", figure_aria_valuenow_value);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*value*/
|
||||||
|
1 && figure_aria_valuetext_value !== (figure_aria_valuetext_value = /*value*/
|
||||||
|
ctx2[0] ? `${/*value*/
|
||||||
|
ctx2[0]}%` : "Indeterminate Spinner")) {
|
||||||
|
attr(figure, "aria-valuetext", figure_aria_valuetext_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(if_block);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(if_block);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(figure);
|
||||||
|
}
|
||||||
|
if (if_block)
|
||||||
|
if_block.d();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
const cBase = "progress-radial relative overflow-hidden";
|
||||||
|
const cBaseTrack = "fill-transparent";
|
||||||
|
const cBaseMeter = "fill-transparent -rotate-90 origin-[50%_50%]";
|
||||||
|
const baseSize = 512;
|
||||||
|
function instance$1($$self, $$props, $$invalidate) {
|
||||||
|
let classesBase;
|
||||||
|
let { $$slots: slots = {}, $$scope } = $$props;
|
||||||
|
const $$slots = compute_slots(slots);
|
||||||
|
let { value = void 0 } = $$props;
|
||||||
|
let { stroke = 40 } = $$props;
|
||||||
|
let { font = 56 } = $$props;
|
||||||
|
let { strokeLinecap = "butt" } = $$props;
|
||||||
|
let { transition = "transition-[stroke-dashoffset]" } = $$props;
|
||||||
|
let { width = "w-36" } = $$props;
|
||||||
|
let { meter = "stroke-surface-900 dark:stroke-surface-50" } = $$props;
|
||||||
|
let { track = "stroke-surface-500/30" } = $$props;
|
||||||
|
let { fill = "fill-token" } = $$props;
|
||||||
|
let { labelledby = "" } = $$props;
|
||||||
|
const radius = baseSize / 2 - stroke / 2;
|
||||||
|
let circumference = radius;
|
||||||
|
let dashoffset;
|
||||||
|
function setProgress(percent) {
|
||||||
|
$$invalidate(9, circumference = radius * 2 * Math.PI);
|
||||||
|
$$invalidate(10, dashoffset = circumference - percent / 100 * circumference);
|
||||||
|
}
|
||||||
|
setProgress(0);
|
||||||
|
afterUpdate(() => {
|
||||||
|
setProgress(value === void 0 ? 25 : value);
|
||||||
|
});
|
||||||
|
$$self.$$set = ($$new_props) => {
|
||||||
|
$$invalidate(18, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
|
||||||
|
if ("value" in $$new_props)
|
||||||
|
$$invalidate(0, value = $$new_props.value);
|
||||||
|
if ("stroke" in $$new_props)
|
||||||
|
$$invalidate(1, stroke = $$new_props.stroke);
|
||||||
|
if ("font" in $$new_props)
|
||||||
|
$$invalidate(2, font = $$new_props.font);
|
||||||
|
if ("strokeLinecap" in $$new_props)
|
||||||
|
$$invalidate(3, strokeLinecap = $$new_props.strokeLinecap);
|
||||||
|
if ("transition" in $$new_props)
|
||||||
|
$$invalidate(4, transition = $$new_props.transition);
|
||||||
|
if ("width" in $$new_props)
|
||||||
|
$$invalidate(14, width = $$new_props.width);
|
||||||
|
if ("meter" in $$new_props)
|
||||||
|
$$invalidate(5, meter = $$new_props.meter);
|
||||||
|
if ("track" in $$new_props)
|
||||||
|
$$invalidate(6, track = $$new_props.track);
|
||||||
|
if ("fill" in $$new_props)
|
||||||
|
$$invalidate(7, fill = $$new_props.fill);
|
||||||
|
if ("labelledby" in $$new_props)
|
||||||
|
$$invalidate(8, labelledby = $$new_props.labelledby);
|
||||||
|
if ("$$scope" in $$new_props)
|
||||||
|
$$invalidate(15, $$scope = $$new_props.$$scope);
|
||||||
|
};
|
||||||
|
$$self.$$.update = () => {
|
||||||
|
$$invalidate(11, classesBase = `${cBase} ${width} ${$$props.class ?? ""}`);
|
||||||
|
};
|
||||||
|
$$props = exclude_internal_props($$props);
|
||||||
|
return [
|
||||||
|
value,
|
||||||
|
stroke,
|
||||||
|
font,
|
||||||
|
strokeLinecap,
|
||||||
|
transition,
|
||||||
|
meter,
|
||||||
|
track,
|
||||||
|
fill,
|
||||||
|
labelledby,
|
||||||
|
circumference,
|
||||||
|
dashoffset,
|
||||||
|
classesBase,
|
||||||
|
radius,
|
||||||
|
$$slots,
|
||||||
|
width,
|
||||||
|
$$scope,
|
||||||
|
slots
|
||||||
|
];
|
||||||
|
}
|
||||||
|
class ProgressRadial extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance$1, create_fragment$1, safe_not_equal, {
|
||||||
|
value: 0,
|
||||||
|
stroke: 1,
|
||||||
|
font: 2,
|
||||||
|
strokeLinecap: 3,
|
||||||
|
transition: 4,
|
||||||
|
width: 14,
|
||||||
|
meter: 5,
|
||||||
|
track: 6,
|
||||||
|
fill: 7,
|
||||||
|
labelledby: 8
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div;
|
||||||
|
let progressradial;
|
||||||
|
let div_class_value;
|
||||||
|
let current;
|
||||||
|
progressradial = new ProgressRadial({
|
||||||
|
props: {
|
||||||
|
width: (
|
||||||
|
/*width*/
|
||||||
|
ctx[0]
|
||||||
|
),
|
||||||
|
stroke: 100,
|
||||||
|
meter: "stroke-primary-500",
|
||||||
|
track: "stroke-primary-500/30",
|
||||||
|
class: "progress-bar"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
create_component(progressradial.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
claim_component(progressradial.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", div_class_value = "grid place-content-center " + /*width*/
|
||||||
|
ctx[0]);
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
mount_component(progressradial, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
const progressradial_changes = {};
|
||||||
|
if (dirty & /*width*/
|
||||||
|
1)
|
||||||
|
progressradial_changes.width = /*width*/
|
||||||
|
ctx2[0];
|
||||||
|
progressradial.$set(progressradial_changes);
|
||||||
|
if (!current || dirty & /*width*/
|
||||||
|
1 && div_class_value !== (div_class_value = "grid place-content-center " + /*width*/
|
||||||
|
ctx2[0])) {
|
||||||
|
attr(div, "class", div_class_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(progressradial.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(progressradial.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_component(progressradial);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let { width = "" } = $$props;
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("width" in $$props2)
|
||||||
|
$$invalidate(0, width = $$props2.width);
|
||||||
|
};
|
||||||
|
return [width];
|
||||||
|
}
|
||||||
|
class Progress extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, { width: 0 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Progress as P,
|
||||||
|
handle_promise as h,
|
||||||
|
update_await_block_branch as u
|
||||||
|
};
|
||||||
@@ -0,0 +1,96 @@
|
|||||||
|
import { w as writable, r as readable } from "./index.D97w0myq.js";
|
||||||
|
import { $ as get_store_value } from "./scheduler.fBTsnP2i.js";
|
||||||
|
const stores = {};
|
||||||
|
function getStorage(type) {
|
||||||
|
return type === "local" ? localStorage : sessionStorage;
|
||||||
|
}
|
||||||
|
function localStorageStore(key, initialValue, options) {
|
||||||
|
const serializer = (options == null ? void 0 : options.serializer) ?? JSON;
|
||||||
|
const storageType = (options == null ? void 0 : options.storage) ?? "local";
|
||||||
|
function updateStorage(key2, value) {
|
||||||
|
getStorage(storageType).setItem(key2, serializer.stringify(value));
|
||||||
|
}
|
||||||
|
if (!stores[key]) {
|
||||||
|
const store = writable(initialValue, (set2) => {
|
||||||
|
const json = getStorage(storageType).getItem(key);
|
||||||
|
if (json) {
|
||||||
|
set2(serializer.parse(json));
|
||||||
|
}
|
||||||
|
{
|
||||||
|
const handleStorage = (event) => {
|
||||||
|
if (event.key === key)
|
||||||
|
set2(event.newValue ? serializer.parse(event.newValue) : null);
|
||||||
|
};
|
||||||
|
window.addEventListener("storage", handleStorage);
|
||||||
|
return () => window.removeEventListener("storage", handleStorage);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
const { subscribe, set } = store;
|
||||||
|
stores[key] = {
|
||||||
|
set(value) {
|
||||||
|
updateStorage(key, value);
|
||||||
|
set(value);
|
||||||
|
},
|
||||||
|
update(updater) {
|
||||||
|
const value = updater(get_store_value(store));
|
||||||
|
updateStorage(key, value);
|
||||||
|
set(value);
|
||||||
|
},
|
||||||
|
subscribe
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return stores[key];
|
||||||
|
}
|
||||||
|
const modeOsPrefers = localStorageStore("modeOsPrefers", false);
|
||||||
|
const modeUserPrefers = localStorageStore("modeUserPrefers", void 0);
|
||||||
|
const modeCurrent = localStorageStore("modeCurrent", false);
|
||||||
|
function getModeOsPrefers() {
|
||||||
|
const prefersLightMode = window.matchMedia("(prefers-color-scheme: light)").matches;
|
||||||
|
modeOsPrefers.set(prefersLightMode);
|
||||||
|
return prefersLightMode;
|
||||||
|
}
|
||||||
|
function setModeUserPrefers(value) {
|
||||||
|
modeUserPrefers.set(value);
|
||||||
|
}
|
||||||
|
function setModeCurrent(value) {
|
||||||
|
const elemHtmlClasses = document.documentElement.classList;
|
||||||
|
const classDark = `dark`;
|
||||||
|
value === true ? elemHtmlClasses.remove(classDark) : elemHtmlClasses.add(classDark);
|
||||||
|
modeCurrent.set(value);
|
||||||
|
}
|
||||||
|
function setInitialClassState() {
|
||||||
|
const elemHtmlClasses = document.documentElement.classList;
|
||||||
|
const condLocalStorageUserPrefs = localStorage.getItem("modeUserPrefers") === "false";
|
||||||
|
const condLocalStorageUserPrefsExists = !("modeUserPrefers" in localStorage);
|
||||||
|
const condMatchMedia = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
||||||
|
if (condLocalStorageUserPrefs || condLocalStorageUserPrefsExists && condMatchMedia) {
|
||||||
|
elemHtmlClasses.add("dark");
|
||||||
|
} else {
|
||||||
|
elemHtmlClasses.remove("dark");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const reducedMotionQuery = "(prefers-reduced-motion: reduce)";
|
||||||
|
function prefersReducedMotion() {
|
||||||
|
return window.matchMedia(reducedMotionQuery).matches;
|
||||||
|
}
|
||||||
|
const prefersReducedMotionStore = readable(prefersReducedMotion(), (set) => {
|
||||||
|
{
|
||||||
|
const setReducedMotion = (event) => {
|
||||||
|
set(event.matches);
|
||||||
|
};
|
||||||
|
const mediaQueryList = window.matchMedia(reducedMotionQuery);
|
||||||
|
mediaQueryList.addEventListener("change", setReducedMotion);
|
||||||
|
return () => {
|
||||||
|
mediaQueryList.removeEventListener("change", setReducedMotion);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
});
|
||||||
|
export {
|
||||||
|
setModeCurrent as a,
|
||||||
|
setModeUserPrefers as b,
|
||||||
|
getModeOsPrefers as g,
|
||||||
|
localStorageStore as l,
|
||||||
|
modeCurrent as m,
|
||||||
|
prefersReducedMotionStore as p,
|
||||||
|
setInitialClassState as s
|
||||||
|
};
|
||||||
110
out/renderer/client/_app/immutable/chunks/Utils.BOVa1qxf.js
Normal file
110
out/renderer/client/_app/immutable/chunks/Utils.BOVa1qxf.js
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
import { w as writable } from "./index.D97w0myq.js";
|
||||||
|
import { C as getContext, D as setContext } from "./scheduler.fBTsnP2i.js";
|
||||||
|
import { g as goto } from "./entry.Cs_QM1XO.js";
|
||||||
|
const MODAL_STORE_KEY = "modalStore";
|
||||||
|
function getModalStore() {
|
||||||
|
const modalStore = getContext(MODAL_STORE_KEY);
|
||||||
|
if (!modalStore)
|
||||||
|
throw new Error("modalStore is not initialized. Please ensure that `initializeStores()` is invoked in the root layout file of this app!");
|
||||||
|
return modalStore;
|
||||||
|
}
|
||||||
|
function initializeModalStore() {
|
||||||
|
const modalStore = modalService();
|
||||||
|
return setContext(MODAL_STORE_KEY, modalStore);
|
||||||
|
}
|
||||||
|
function modalService() {
|
||||||
|
const { subscribe, set, update } = writable([]);
|
||||||
|
return {
|
||||||
|
subscribe,
|
||||||
|
set,
|
||||||
|
update,
|
||||||
|
/** Append to end of queue. */
|
||||||
|
trigger: (modal) => update((mStore) => {
|
||||||
|
mStore.push(modal);
|
||||||
|
return mStore;
|
||||||
|
}),
|
||||||
|
/** Remove first item in queue. */
|
||||||
|
close: () => update((mStore) => {
|
||||||
|
if (mStore.length > 0)
|
||||||
|
mStore.shift();
|
||||||
|
return mStore;
|
||||||
|
}),
|
||||||
|
/** Remove all items from queue. */
|
||||||
|
clear: () => set([])
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function formatDate(date) {
|
||||||
|
if (!date)
|
||||||
|
return "N/A";
|
||||||
|
return new Date(date).toLocaleString();
|
||||||
|
}
|
||||||
|
function createOnPageChange(params, path) {
|
||||||
|
return function onPageChange(e) {
|
||||||
|
const urlParams = new URLSearchParams();
|
||||||
|
urlParams.set("page", e.detail);
|
||||||
|
urlParams.set("limit", params.limit);
|
||||||
|
urlParams.set("sorters", params.sorters);
|
||||||
|
urlParams.set("filters", params.filters);
|
||||||
|
console.log(`${path}?${urlParams.toString()}`);
|
||||||
|
goto(`${path}?${urlParams.toString()}`);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function createOnAmountChange(params, path) {
|
||||||
|
return function onAmountChange(e) {
|
||||||
|
const urlParams = new URLSearchParams();
|
||||||
|
urlParams.set("page", params.page);
|
||||||
|
urlParams.set("limit", e.detail);
|
||||||
|
urlParams.set("sorters", params.sorters);
|
||||||
|
urlParams.set("filters", params.filters);
|
||||||
|
console.log(`${path}?${urlParams.toString()}`);
|
||||||
|
goto(`${path}?${urlParams.toString()}`);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function createOnGo(params, path) {
|
||||||
|
return function onGo(e) {
|
||||||
|
if (e.type !== "click" && e.key !== "Enter")
|
||||||
|
return;
|
||||||
|
const urlParams = new URLSearchParams();
|
||||||
|
if (params.page != "")
|
||||||
|
urlParams.set("page", params.page);
|
||||||
|
if (params.limit != "")
|
||||||
|
urlParams.set("limit", params.limit);
|
||||||
|
if (params.sorters != "")
|
||||||
|
urlParams.set("sorters", params.sorters);
|
||||||
|
if (params.filters != "")
|
||||||
|
urlParams.set("filters", params.filters);
|
||||||
|
console.log(`${path}?${urlParams.toString()}`);
|
||||||
|
goto(`${path}?${urlParams.toString()}`);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function capitalize(s) {
|
||||||
|
if (typeof s !== "string")
|
||||||
|
return "";
|
||||||
|
return s.charAt(0).toUpperCase() + s.slice(1);
|
||||||
|
}
|
||||||
|
function TriggerCodeModal(object, modalStore) {
|
||||||
|
const modal = {
|
||||||
|
type: "component",
|
||||||
|
component: "codeBlockModal",
|
||||||
|
meta: {
|
||||||
|
code: JSON.stringify(object, null, 4),
|
||||||
|
language: "json"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
modalStore.trigger(modal);
|
||||||
|
}
|
||||||
|
function parseInitials(name) {
|
||||||
|
const initials = name.match(/\b(\w)/g) || ["A", "U"];
|
||||||
|
return initials.join("");
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
TriggerCodeModal as T,
|
||||||
|
createOnAmountChange as a,
|
||||||
|
createOnGo as b,
|
||||||
|
createOnPageChange as c,
|
||||||
|
capitalize as d,
|
||||||
|
formatDate as f,
|
||||||
|
getModalStore as g,
|
||||||
|
initializeModalStore as i,
|
||||||
|
parseInitials as p
|
||||||
|
};
|
||||||
84
out/renderer/client/_app/immutable/chunks/each.C9vk03ly.js
Normal file
84
out/renderer/client/_app/immutable/chunks/each.C9vk03ly.js
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
import { a as transition_out, t as transition_in } from "./index.DdnDjIf5.js";
|
||||||
|
import { y as run_all } from "./scheduler.fBTsnP2i.js";
|
||||||
|
function ensure_array_like(array_like_or_iterator) {
|
||||||
|
return (array_like_or_iterator == null ? void 0 : array_like_or_iterator.length) !== void 0 ? array_like_or_iterator : Array.from(array_like_or_iterator);
|
||||||
|
}
|
||||||
|
function outro_and_destroy_block(block, lookup) {
|
||||||
|
transition_out(block, 1, 1, () => {
|
||||||
|
lookup.delete(block.key);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function update_keyed_each(old_blocks, dirty, get_key, dynamic, ctx, list, lookup, node, destroy, create_each_block, next, get_context) {
|
||||||
|
let o = old_blocks.length;
|
||||||
|
let n = list.length;
|
||||||
|
let i = o;
|
||||||
|
const old_indexes = {};
|
||||||
|
while (i--)
|
||||||
|
old_indexes[old_blocks[i].key] = i;
|
||||||
|
const new_blocks = [];
|
||||||
|
const new_lookup = /* @__PURE__ */ new Map();
|
||||||
|
const deltas = /* @__PURE__ */ new Map();
|
||||||
|
const updates = [];
|
||||||
|
i = n;
|
||||||
|
while (i--) {
|
||||||
|
const child_ctx = get_context(ctx, list, i);
|
||||||
|
const key = get_key(child_ctx);
|
||||||
|
let block = lookup.get(key);
|
||||||
|
if (!block) {
|
||||||
|
block = create_each_block(key, child_ctx);
|
||||||
|
block.c();
|
||||||
|
} else if (dynamic) {
|
||||||
|
updates.push(() => block.p(child_ctx, dirty));
|
||||||
|
}
|
||||||
|
new_lookup.set(key, new_blocks[i] = block);
|
||||||
|
if (key in old_indexes)
|
||||||
|
deltas.set(key, Math.abs(i - old_indexes[key]));
|
||||||
|
}
|
||||||
|
const will_move = /* @__PURE__ */ new Set();
|
||||||
|
const did_move = /* @__PURE__ */ new Set();
|
||||||
|
function insert(block) {
|
||||||
|
transition_in(block, 1);
|
||||||
|
block.m(node, next);
|
||||||
|
lookup.set(block.key, block);
|
||||||
|
next = block.first;
|
||||||
|
n--;
|
||||||
|
}
|
||||||
|
while (o && n) {
|
||||||
|
const new_block = new_blocks[n - 1];
|
||||||
|
const old_block = old_blocks[o - 1];
|
||||||
|
const new_key = new_block.key;
|
||||||
|
const old_key = old_block.key;
|
||||||
|
if (new_block === old_block) {
|
||||||
|
next = new_block.first;
|
||||||
|
o--;
|
||||||
|
n--;
|
||||||
|
} else if (!new_lookup.has(old_key)) {
|
||||||
|
destroy(old_block, lookup);
|
||||||
|
o--;
|
||||||
|
} else if (!lookup.has(new_key) || will_move.has(new_key)) {
|
||||||
|
insert(new_block);
|
||||||
|
} else if (did_move.has(old_key)) {
|
||||||
|
o--;
|
||||||
|
} else if (deltas.get(new_key) > deltas.get(old_key)) {
|
||||||
|
did_move.add(new_key);
|
||||||
|
insert(new_block);
|
||||||
|
} else {
|
||||||
|
will_move.add(old_key);
|
||||||
|
o--;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
while (o--) {
|
||||||
|
const old_block = old_blocks[o];
|
||||||
|
if (!new_lookup.has(old_block.key))
|
||||||
|
destroy(old_block, lookup);
|
||||||
|
}
|
||||||
|
while (n)
|
||||||
|
insert(new_blocks[n - 1]);
|
||||||
|
run_all(updates);
|
||||||
|
return new_blocks;
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
ensure_array_like as e,
|
||||||
|
outro_and_destroy_block as o,
|
||||||
|
update_keyed_each as u
|
||||||
|
};
|
||||||
2148
out/renderer/client/_app/immutable/chunks/entry.Cs_QM1XO.js
Normal file
2148
out/renderer/client/_app/immutable/chunks/entry.Cs_QM1XO.js
Normal file
File diff suppressed because it is too large
Load Diff
52
out/renderer/client/_app/immutable/chunks/index.D97w0myq.js
Normal file
52
out/renderer/client/_app/immutable/chunks/index.D97w0myq.js
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
import { o as noop, s as safe_not_equal } from "./scheduler.fBTsnP2i.js";
|
||||||
|
const subscriber_queue = [];
|
||||||
|
function readable(value, start) {
|
||||||
|
return {
|
||||||
|
subscribe: writable(value, start).subscribe
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function writable(value, start = noop) {
|
||||||
|
let stop;
|
||||||
|
const subscribers = /* @__PURE__ */ new Set();
|
||||||
|
function set(new_value) {
|
||||||
|
if (safe_not_equal(value, new_value)) {
|
||||||
|
value = new_value;
|
||||||
|
if (stop) {
|
||||||
|
const run_queue = !subscriber_queue.length;
|
||||||
|
for (const subscriber of subscribers) {
|
||||||
|
subscriber[1]();
|
||||||
|
subscriber_queue.push(subscriber, value);
|
||||||
|
}
|
||||||
|
if (run_queue) {
|
||||||
|
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
||||||
|
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
||||||
|
}
|
||||||
|
subscriber_queue.length = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function update(fn) {
|
||||||
|
set(fn(value));
|
||||||
|
}
|
||||||
|
function subscribe(run, invalidate = noop) {
|
||||||
|
const subscriber = [run, invalidate];
|
||||||
|
subscribers.add(subscriber);
|
||||||
|
if (subscribers.size === 1) {
|
||||||
|
stop = start(set, update) || noop;
|
||||||
|
}
|
||||||
|
run(value);
|
||||||
|
return () => {
|
||||||
|
subscribers.delete(subscriber);
|
||||||
|
if (subscribers.size === 0 && stop) {
|
||||||
|
stop();
|
||||||
|
stop = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return { set, update, subscribe };
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
readable as r,
|
||||||
|
writable as w
|
||||||
|
};
|
||||||
587
out/renderer/client/_app/immutable/chunks/index.DdnDjIf5.js
Normal file
587
out/renderer/client/_app/immutable/chunks/index.DdnDjIf5.js
Normal file
@@ -0,0 +1,587 @@
|
|||||||
|
var __defProp = Object.defineProperty;
|
||||||
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
||||||
|
var __publicField = (obj, key, value) => {
|
||||||
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
||||||
|
return value;
|
||||||
|
};
|
||||||
|
import { o as noop, a0 as get_root_for_style, g as detach, a1 as append_empty_stylesheet, y as run_all, X as is_function, v as add_render_callback, a2 as custom_event, a3 as identity, a4 as blank_object, b as children, H as flush, a5 as is_empty, a6 as flush_render_callbacks, a7 as current_component, G as set_current_component, a8 as run, a9 as dirty_components, aa as schedule_update, ab as start_hydrating, ac as end_hydrating } from "./scheduler.fBTsnP2i.js";
|
||||||
|
const is_client = typeof window !== "undefined";
|
||||||
|
let now = is_client ? () => window.performance.now() : () => Date.now();
|
||||||
|
let raf = is_client ? (cb) => requestAnimationFrame(cb) : noop;
|
||||||
|
const tasks = /* @__PURE__ */ new Set();
|
||||||
|
function run_tasks(now2) {
|
||||||
|
tasks.forEach((task) => {
|
||||||
|
if (!task.c(now2)) {
|
||||||
|
tasks.delete(task);
|
||||||
|
task.f();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
if (tasks.size !== 0)
|
||||||
|
raf(run_tasks);
|
||||||
|
}
|
||||||
|
function loop(callback) {
|
||||||
|
let task;
|
||||||
|
if (tasks.size === 0)
|
||||||
|
raf(run_tasks);
|
||||||
|
return {
|
||||||
|
promise: new Promise((fulfill) => {
|
||||||
|
tasks.add(task = { c: callback, f: fulfill });
|
||||||
|
}),
|
||||||
|
abort() {
|
||||||
|
tasks.delete(task);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
const managed_styles = /* @__PURE__ */ new Map();
|
||||||
|
let active = 0;
|
||||||
|
function hash(str) {
|
||||||
|
let hash2 = 5381;
|
||||||
|
let i = str.length;
|
||||||
|
while (i--)
|
||||||
|
hash2 = (hash2 << 5) - hash2 ^ str.charCodeAt(i);
|
||||||
|
return hash2 >>> 0;
|
||||||
|
}
|
||||||
|
function create_style_information(doc, node) {
|
||||||
|
const info = { stylesheet: append_empty_stylesheet(node), rules: {} };
|
||||||
|
managed_styles.set(doc, info);
|
||||||
|
return info;
|
||||||
|
}
|
||||||
|
function create_rule(node, a, b, duration, delay, ease, fn, uid = 0) {
|
||||||
|
const step = 16.666 / duration;
|
||||||
|
let keyframes = "{\n";
|
||||||
|
for (let p = 0; p <= 1; p += step) {
|
||||||
|
const t = a + (b - a) * ease(p);
|
||||||
|
keyframes += p * 100 + `%{${fn(t, 1 - t)}}
|
||||||
|
`;
|
||||||
|
}
|
||||||
|
const rule = keyframes + `100% {${fn(b, 1 - b)}}
|
||||||
|
}`;
|
||||||
|
const name = `__svelte_${hash(rule)}_${uid}`;
|
||||||
|
const doc = get_root_for_style(node);
|
||||||
|
const { stylesheet, rules } = managed_styles.get(doc) || create_style_information(doc, node);
|
||||||
|
if (!rules[name]) {
|
||||||
|
rules[name] = true;
|
||||||
|
stylesheet.insertRule(`@keyframes ${name} ${rule}`, stylesheet.cssRules.length);
|
||||||
|
}
|
||||||
|
const animation = node.style.animation || "";
|
||||||
|
node.style.animation = `${animation ? `${animation}, ` : ""}${name} ${duration}ms linear ${delay}ms 1 both`;
|
||||||
|
active += 1;
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
function delete_rule(node, name) {
|
||||||
|
const previous = (node.style.animation || "").split(", ");
|
||||||
|
const next = previous.filter(
|
||||||
|
name ? (anim) => anim.indexOf(name) < 0 : (anim) => anim.indexOf("__svelte") === -1
|
||||||
|
// remove all Svelte animations
|
||||||
|
);
|
||||||
|
const deleted = previous.length - next.length;
|
||||||
|
if (deleted) {
|
||||||
|
node.style.animation = next.join(", ");
|
||||||
|
active -= deleted;
|
||||||
|
if (!active)
|
||||||
|
clear_rules();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function clear_rules() {
|
||||||
|
raf(() => {
|
||||||
|
if (active)
|
||||||
|
return;
|
||||||
|
managed_styles.forEach((info) => {
|
||||||
|
const { ownerNode } = info.stylesheet;
|
||||||
|
if (ownerNode)
|
||||||
|
detach(ownerNode);
|
||||||
|
});
|
||||||
|
managed_styles.clear();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
let promise;
|
||||||
|
function wait() {
|
||||||
|
if (!promise) {
|
||||||
|
promise = Promise.resolve();
|
||||||
|
promise.then(() => {
|
||||||
|
promise = null;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
return promise;
|
||||||
|
}
|
||||||
|
function dispatch(node, direction, kind) {
|
||||||
|
node.dispatchEvent(custom_event(`${direction ? "intro" : "outro"}${kind}`));
|
||||||
|
}
|
||||||
|
const outroing = /* @__PURE__ */ new Set();
|
||||||
|
let outros;
|
||||||
|
function group_outros() {
|
||||||
|
outros = {
|
||||||
|
r: 0,
|
||||||
|
c: [],
|
||||||
|
p: outros
|
||||||
|
// parent group
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function check_outros() {
|
||||||
|
if (!outros.r) {
|
||||||
|
run_all(outros.c);
|
||||||
|
}
|
||||||
|
outros = outros.p;
|
||||||
|
}
|
||||||
|
function transition_in(block, local) {
|
||||||
|
if (block && block.i) {
|
||||||
|
outroing.delete(block);
|
||||||
|
block.i(local);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function transition_out(block, local, detach2, callback) {
|
||||||
|
if (block && block.o) {
|
||||||
|
if (outroing.has(block))
|
||||||
|
return;
|
||||||
|
outroing.add(block);
|
||||||
|
outros.c.push(() => {
|
||||||
|
outroing.delete(block);
|
||||||
|
if (callback) {
|
||||||
|
if (detach2)
|
||||||
|
block.d(1);
|
||||||
|
callback();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
block.o(local);
|
||||||
|
} else if (callback) {
|
||||||
|
callback();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const null_transition = { duration: 0 };
|
||||||
|
function create_in_transition(node, fn, params) {
|
||||||
|
const options = { direction: "in" };
|
||||||
|
let config = fn(node, params, options);
|
||||||
|
let running = false;
|
||||||
|
let animation_name;
|
||||||
|
let task;
|
||||||
|
let uid = 0;
|
||||||
|
function cleanup() {
|
||||||
|
if (animation_name)
|
||||||
|
delete_rule(node, animation_name);
|
||||||
|
}
|
||||||
|
function go() {
|
||||||
|
const {
|
||||||
|
delay = 0,
|
||||||
|
duration = 300,
|
||||||
|
easing = identity,
|
||||||
|
tick = noop,
|
||||||
|
css
|
||||||
|
} = config || null_transition;
|
||||||
|
if (css)
|
||||||
|
animation_name = create_rule(node, 0, 1, duration, delay, easing, css, uid++);
|
||||||
|
tick(0, 1);
|
||||||
|
const start_time = now() + delay;
|
||||||
|
const end_time = start_time + duration;
|
||||||
|
if (task)
|
||||||
|
task.abort();
|
||||||
|
running = true;
|
||||||
|
add_render_callback(() => dispatch(node, true, "start"));
|
||||||
|
task = loop((now2) => {
|
||||||
|
if (running) {
|
||||||
|
if (now2 >= end_time) {
|
||||||
|
tick(1, 0);
|
||||||
|
dispatch(node, true, "end");
|
||||||
|
cleanup();
|
||||||
|
return running = false;
|
||||||
|
}
|
||||||
|
if (now2 >= start_time) {
|
||||||
|
const t = easing((now2 - start_time) / duration);
|
||||||
|
tick(t, 1 - t);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return running;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
let started = false;
|
||||||
|
return {
|
||||||
|
start() {
|
||||||
|
if (started)
|
||||||
|
return;
|
||||||
|
started = true;
|
||||||
|
delete_rule(node);
|
||||||
|
if (is_function(config)) {
|
||||||
|
config = config(options);
|
||||||
|
wait().then(go);
|
||||||
|
} else {
|
||||||
|
go();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
invalidate() {
|
||||||
|
started = false;
|
||||||
|
},
|
||||||
|
end() {
|
||||||
|
if (running) {
|
||||||
|
cleanup();
|
||||||
|
running = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_out_transition(node, fn, params) {
|
||||||
|
const options = { direction: "out" };
|
||||||
|
let config = fn(node, params, options);
|
||||||
|
let running = true;
|
||||||
|
let animation_name;
|
||||||
|
const group = outros;
|
||||||
|
group.r += 1;
|
||||||
|
let original_inert_value;
|
||||||
|
function go() {
|
||||||
|
const {
|
||||||
|
delay = 0,
|
||||||
|
duration = 300,
|
||||||
|
easing = identity,
|
||||||
|
tick = noop,
|
||||||
|
css
|
||||||
|
} = config || null_transition;
|
||||||
|
if (css)
|
||||||
|
animation_name = create_rule(node, 1, 0, duration, delay, easing, css);
|
||||||
|
const start_time = now() + delay;
|
||||||
|
const end_time = start_time + duration;
|
||||||
|
add_render_callback(() => dispatch(node, false, "start"));
|
||||||
|
if ("inert" in node) {
|
||||||
|
original_inert_value = /** @type {HTMLElement} */
|
||||||
|
node.inert;
|
||||||
|
node.inert = true;
|
||||||
|
}
|
||||||
|
loop((now2) => {
|
||||||
|
if (running) {
|
||||||
|
if (now2 >= end_time) {
|
||||||
|
tick(0, 1);
|
||||||
|
dispatch(node, false, "end");
|
||||||
|
if (!--group.r) {
|
||||||
|
run_all(group.c);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (now2 >= start_time) {
|
||||||
|
const t = easing((now2 - start_time) / duration);
|
||||||
|
tick(1 - t, t);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return running;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
if (is_function(config)) {
|
||||||
|
wait().then(() => {
|
||||||
|
config = config(options);
|
||||||
|
go();
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
go();
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
end(reset) {
|
||||||
|
if (reset && "inert" in node) {
|
||||||
|
node.inert = original_inert_value;
|
||||||
|
}
|
||||||
|
if (reset && config.tick) {
|
||||||
|
config.tick(1, 0);
|
||||||
|
}
|
||||||
|
if (running) {
|
||||||
|
if (animation_name)
|
||||||
|
delete_rule(node, animation_name);
|
||||||
|
running = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_bidirectional_transition(node, fn, params, intro) {
|
||||||
|
const options = { direction: "both" };
|
||||||
|
let config = fn(node, params, options);
|
||||||
|
let t = intro ? 0 : 1;
|
||||||
|
let running_program = null;
|
||||||
|
let pending_program = null;
|
||||||
|
let animation_name = null;
|
||||||
|
let original_inert_value;
|
||||||
|
function clear_animation() {
|
||||||
|
if (animation_name)
|
||||||
|
delete_rule(node, animation_name);
|
||||||
|
}
|
||||||
|
function init2(program, duration) {
|
||||||
|
const d = (
|
||||||
|
/** @type {Program['d']} */
|
||||||
|
program.b - t
|
||||||
|
);
|
||||||
|
duration *= Math.abs(d);
|
||||||
|
return {
|
||||||
|
a: t,
|
||||||
|
b: program.b,
|
||||||
|
d,
|
||||||
|
duration,
|
||||||
|
start: program.start,
|
||||||
|
end: program.start + duration,
|
||||||
|
group: program.group
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function go(b) {
|
||||||
|
const {
|
||||||
|
delay = 0,
|
||||||
|
duration = 300,
|
||||||
|
easing = identity,
|
||||||
|
tick = noop,
|
||||||
|
css
|
||||||
|
} = config || null_transition;
|
||||||
|
const program = {
|
||||||
|
start: now() + delay,
|
||||||
|
b
|
||||||
|
};
|
||||||
|
if (!b) {
|
||||||
|
program.group = outros;
|
||||||
|
outros.r += 1;
|
||||||
|
}
|
||||||
|
if ("inert" in node) {
|
||||||
|
if (b) {
|
||||||
|
if (original_inert_value !== void 0) {
|
||||||
|
node.inert = original_inert_value;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
original_inert_value = /** @type {HTMLElement} */
|
||||||
|
node.inert;
|
||||||
|
node.inert = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (running_program || pending_program) {
|
||||||
|
pending_program = program;
|
||||||
|
} else {
|
||||||
|
if (css) {
|
||||||
|
clear_animation();
|
||||||
|
animation_name = create_rule(node, t, b, duration, delay, easing, css);
|
||||||
|
}
|
||||||
|
if (b)
|
||||||
|
tick(0, 1);
|
||||||
|
running_program = init2(program, duration);
|
||||||
|
add_render_callback(() => dispatch(node, b, "start"));
|
||||||
|
loop((now2) => {
|
||||||
|
if (pending_program && now2 > pending_program.start) {
|
||||||
|
running_program = init2(pending_program, duration);
|
||||||
|
pending_program = null;
|
||||||
|
dispatch(node, running_program.b, "start");
|
||||||
|
if (css) {
|
||||||
|
clear_animation();
|
||||||
|
animation_name = create_rule(
|
||||||
|
node,
|
||||||
|
t,
|
||||||
|
running_program.b,
|
||||||
|
running_program.duration,
|
||||||
|
0,
|
||||||
|
easing,
|
||||||
|
config.css
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (running_program) {
|
||||||
|
if (now2 >= running_program.end) {
|
||||||
|
tick(t = running_program.b, 1 - t);
|
||||||
|
dispatch(node, running_program.b, "end");
|
||||||
|
if (!pending_program) {
|
||||||
|
if (running_program.b) {
|
||||||
|
clear_animation();
|
||||||
|
} else {
|
||||||
|
if (!--running_program.group.r)
|
||||||
|
run_all(running_program.group.c);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
running_program = null;
|
||||||
|
} else if (now2 >= running_program.start) {
|
||||||
|
const p = now2 - running_program.start;
|
||||||
|
t = running_program.a + running_program.d * easing(p / running_program.duration);
|
||||||
|
tick(t, 1 - t);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return !!(running_program || pending_program);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
run(b) {
|
||||||
|
if (is_function(config)) {
|
||||||
|
wait().then(() => {
|
||||||
|
const opts = { direction: b ? "in" : "out" };
|
||||||
|
config = config(opts);
|
||||||
|
go(b);
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
go(b);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
end() {
|
||||||
|
clear_animation();
|
||||||
|
running_program = pending_program = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function bind(component, name, callback) {
|
||||||
|
const index = component.$$.props[name];
|
||||||
|
if (index !== void 0) {
|
||||||
|
component.$$.bound[index] = callback;
|
||||||
|
callback(component.$$.ctx[index]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function create_component(block) {
|
||||||
|
block && block.c();
|
||||||
|
}
|
||||||
|
function claim_component(block, parent_nodes) {
|
||||||
|
block && block.l(parent_nodes);
|
||||||
|
}
|
||||||
|
function mount_component(component, target, anchor) {
|
||||||
|
const { fragment, after_update } = component.$$;
|
||||||
|
fragment && fragment.m(target, anchor);
|
||||||
|
add_render_callback(() => {
|
||||||
|
const new_on_destroy = component.$$.on_mount.map(run).filter(is_function);
|
||||||
|
if (component.$$.on_destroy) {
|
||||||
|
component.$$.on_destroy.push(...new_on_destroy);
|
||||||
|
} else {
|
||||||
|
run_all(new_on_destroy);
|
||||||
|
}
|
||||||
|
component.$$.on_mount = [];
|
||||||
|
});
|
||||||
|
after_update.forEach(add_render_callback);
|
||||||
|
}
|
||||||
|
function destroy_component(component, detaching) {
|
||||||
|
const $$ = component.$$;
|
||||||
|
if ($$.fragment !== null) {
|
||||||
|
flush_render_callbacks($$.after_update);
|
||||||
|
run_all($$.on_destroy);
|
||||||
|
$$.fragment && $$.fragment.d(detaching);
|
||||||
|
$$.on_destroy = $$.fragment = null;
|
||||||
|
$$.ctx = [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function make_dirty(component, i) {
|
||||||
|
if (component.$$.dirty[0] === -1) {
|
||||||
|
dirty_components.push(component);
|
||||||
|
schedule_update();
|
||||||
|
component.$$.dirty.fill(0);
|
||||||
|
}
|
||||||
|
component.$$.dirty[i / 31 | 0] |= 1 << i % 31;
|
||||||
|
}
|
||||||
|
function init(component, options, instance, create_fragment, not_equal, props, append_styles = null, dirty = [-1]) {
|
||||||
|
const parent_component = current_component;
|
||||||
|
set_current_component(component);
|
||||||
|
const $$ = component.$$ = {
|
||||||
|
fragment: null,
|
||||||
|
ctx: [],
|
||||||
|
// state
|
||||||
|
props,
|
||||||
|
update: noop,
|
||||||
|
not_equal,
|
||||||
|
bound: blank_object(),
|
||||||
|
// lifecycle
|
||||||
|
on_mount: [],
|
||||||
|
on_destroy: [],
|
||||||
|
on_disconnect: [],
|
||||||
|
before_update: [],
|
||||||
|
after_update: [],
|
||||||
|
context: new Map(options.context || (parent_component ? parent_component.$$.context : [])),
|
||||||
|
// everything else
|
||||||
|
callbacks: blank_object(),
|
||||||
|
dirty,
|
||||||
|
skip_bound: false,
|
||||||
|
root: options.target || parent_component.$$.root
|
||||||
|
};
|
||||||
|
append_styles && append_styles($$.root);
|
||||||
|
let ready = false;
|
||||||
|
$$.ctx = instance ? instance(component, options.props || {}, (i, ret, ...rest) => {
|
||||||
|
const value = rest.length ? rest[0] : ret;
|
||||||
|
if ($$.ctx && not_equal($$.ctx[i], $$.ctx[i] = value)) {
|
||||||
|
if (!$$.skip_bound && $$.bound[i])
|
||||||
|
$$.bound[i](value);
|
||||||
|
if (ready)
|
||||||
|
make_dirty(component, i);
|
||||||
|
}
|
||||||
|
return ret;
|
||||||
|
}) : [];
|
||||||
|
$$.update();
|
||||||
|
ready = true;
|
||||||
|
run_all($$.before_update);
|
||||||
|
$$.fragment = create_fragment ? create_fragment($$.ctx) : false;
|
||||||
|
if (options.target) {
|
||||||
|
if (options.hydrate) {
|
||||||
|
start_hydrating();
|
||||||
|
const nodes = children(options.target);
|
||||||
|
$$.fragment && $$.fragment.l(nodes);
|
||||||
|
nodes.forEach(detach);
|
||||||
|
} else {
|
||||||
|
$$.fragment && $$.fragment.c();
|
||||||
|
}
|
||||||
|
if (options.intro)
|
||||||
|
transition_in(component.$$.fragment);
|
||||||
|
mount_component(component, options.target, options.anchor);
|
||||||
|
end_hydrating();
|
||||||
|
flush();
|
||||||
|
}
|
||||||
|
set_current_component(parent_component);
|
||||||
|
}
|
||||||
|
class SvelteComponent {
|
||||||
|
constructor() {
|
||||||
|
/**
|
||||||
|
* ### PRIVATE API
|
||||||
|
*
|
||||||
|
* Do not use, may change at any time
|
||||||
|
*
|
||||||
|
* @type {any}
|
||||||
|
*/
|
||||||
|
__publicField(this, "$$");
|
||||||
|
/**
|
||||||
|
* ### PRIVATE API
|
||||||
|
*
|
||||||
|
* Do not use, may change at any time
|
||||||
|
*
|
||||||
|
* @type {any}
|
||||||
|
*/
|
||||||
|
__publicField(this, "$$set");
|
||||||
|
}
|
||||||
|
/** @returns {void} */
|
||||||
|
$destroy() {
|
||||||
|
destroy_component(this, 1);
|
||||||
|
this.$destroy = noop;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @template {Extract<keyof Events, string>} K
|
||||||
|
* @param {K} type
|
||||||
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
||||||
|
* @returns {() => void}
|
||||||
|
*/
|
||||||
|
$on(type, callback) {
|
||||||
|
if (!is_function(callback)) {
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const callbacks = this.$$.callbacks[type] || (this.$$.callbacks[type] = []);
|
||||||
|
callbacks.push(callback);
|
||||||
|
return () => {
|
||||||
|
const index = callbacks.indexOf(callback);
|
||||||
|
if (index !== -1)
|
||||||
|
callbacks.splice(index, 1);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {Partial<Props>} props
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
$set(props) {
|
||||||
|
if (this.$$set && !is_empty(props)) {
|
||||||
|
this.$$.skip_bound = true;
|
||||||
|
this.$$set(props);
|
||||||
|
this.$$.skip_bound = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const PUBLIC_VERSION = "4";
|
||||||
|
if (typeof window !== "undefined")
|
||||||
|
(window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(PUBLIC_VERSION);
|
||||||
|
export {
|
||||||
|
SvelteComponent as S,
|
||||||
|
transition_out as a,
|
||||||
|
create_component as b,
|
||||||
|
check_outros as c,
|
||||||
|
claim_component as d,
|
||||||
|
destroy_component as e,
|
||||||
|
bind as f,
|
||||||
|
group_outros as g,
|
||||||
|
create_in_transition as h,
|
||||||
|
init as i,
|
||||||
|
create_bidirectional_transition as j,
|
||||||
|
create_out_transition as k,
|
||||||
|
mount_component as m,
|
||||||
|
transition_in as t
|
||||||
|
};
|
||||||
836
out/renderer/client/_app/immutable/chunks/scheduler.fBTsnP2i.js
Normal file
836
out/renderer/client/_app/immutable/chunks/scheduler.fBTsnP2i.js
Normal file
@@ -0,0 +1,836 @@
|
|||||||
|
var __defProp = Object.defineProperty;
|
||||||
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
||||||
|
var __publicField = (obj, key, value) => {
|
||||||
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
||||||
|
return value;
|
||||||
|
};
|
||||||
|
function noop() {
|
||||||
|
}
|
||||||
|
const identity = (x) => x;
|
||||||
|
function assign(tar, src) {
|
||||||
|
for (const k in src)
|
||||||
|
tar[k] = src[k];
|
||||||
|
return (
|
||||||
|
/** @type {T & S} */
|
||||||
|
tar
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function is_promise(value) {
|
||||||
|
return !!value && (typeof value === "object" || typeof value === "function") && typeof /** @type {any} */
|
||||||
|
value.then === "function";
|
||||||
|
}
|
||||||
|
function run(fn) {
|
||||||
|
return fn();
|
||||||
|
}
|
||||||
|
function blank_object() {
|
||||||
|
return /* @__PURE__ */ Object.create(null);
|
||||||
|
}
|
||||||
|
function run_all(fns) {
|
||||||
|
fns.forEach(run);
|
||||||
|
}
|
||||||
|
function is_function(thing) {
|
||||||
|
return typeof thing === "function";
|
||||||
|
}
|
||||||
|
function safe_not_equal(a, b) {
|
||||||
|
return a != a ? b == b : a !== b || a && typeof a === "object" || typeof a === "function";
|
||||||
|
}
|
||||||
|
let src_url_equal_anchor;
|
||||||
|
function src_url_equal(element_src, url) {
|
||||||
|
if (element_src === url)
|
||||||
|
return true;
|
||||||
|
if (!src_url_equal_anchor) {
|
||||||
|
src_url_equal_anchor = document.createElement("a");
|
||||||
|
}
|
||||||
|
src_url_equal_anchor.href = url;
|
||||||
|
return element_src === src_url_equal_anchor.href;
|
||||||
|
}
|
||||||
|
function is_empty(obj) {
|
||||||
|
return Object.keys(obj).length === 0;
|
||||||
|
}
|
||||||
|
function subscribe(store, ...callbacks) {
|
||||||
|
if (store == null) {
|
||||||
|
for (const callback of callbacks) {
|
||||||
|
callback(void 0);
|
||||||
|
}
|
||||||
|
return noop;
|
||||||
|
}
|
||||||
|
const unsub = store.subscribe(...callbacks);
|
||||||
|
return unsub.unsubscribe ? () => unsub.unsubscribe() : unsub;
|
||||||
|
}
|
||||||
|
function get_store_value(store) {
|
||||||
|
let value;
|
||||||
|
subscribe(store, (_) => value = _)();
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
function component_subscribe(component, store, callback) {
|
||||||
|
component.$$.on_destroy.push(subscribe(store, callback));
|
||||||
|
}
|
||||||
|
function create_slot(definition, ctx, $$scope, fn) {
|
||||||
|
if (definition) {
|
||||||
|
const slot_ctx = get_slot_context(definition, ctx, $$scope, fn);
|
||||||
|
return definition[0](slot_ctx);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function get_slot_context(definition, ctx, $$scope, fn) {
|
||||||
|
return definition[1] && fn ? assign($$scope.ctx.slice(), definition[1](fn(ctx))) : $$scope.ctx;
|
||||||
|
}
|
||||||
|
function get_slot_changes(definition, $$scope, dirty, fn) {
|
||||||
|
if (definition[2] && fn) {
|
||||||
|
const lets = definition[2](fn(dirty));
|
||||||
|
if ($$scope.dirty === void 0) {
|
||||||
|
return lets;
|
||||||
|
}
|
||||||
|
if (typeof lets === "object") {
|
||||||
|
const merged = [];
|
||||||
|
const len = Math.max($$scope.dirty.length, lets.length);
|
||||||
|
for (let i = 0; i < len; i += 1) {
|
||||||
|
merged[i] = $$scope.dirty[i] | lets[i];
|
||||||
|
}
|
||||||
|
return merged;
|
||||||
|
}
|
||||||
|
return $$scope.dirty | lets;
|
||||||
|
}
|
||||||
|
return $$scope.dirty;
|
||||||
|
}
|
||||||
|
function update_slot_base(slot, slot_definition, ctx, $$scope, slot_changes, get_slot_context_fn) {
|
||||||
|
if (slot_changes) {
|
||||||
|
const slot_context = get_slot_context(slot_definition, ctx, $$scope, get_slot_context_fn);
|
||||||
|
slot.p(slot_context, slot_changes);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function get_all_dirty_from_scope($$scope) {
|
||||||
|
if ($$scope.ctx.length > 32) {
|
||||||
|
const dirty = [];
|
||||||
|
const length = $$scope.ctx.length / 32;
|
||||||
|
for (let i = 0; i < length; i++) {
|
||||||
|
dirty[i] = -1;
|
||||||
|
}
|
||||||
|
return dirty;
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
function exclude_internal_props(props) {
|
||||||
|
const result = {};
|
||||||
|
for (const k in props)
|
||||||
|
if (k[0] !== "$")
|
||||||
|
result[k] = props[k];
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
function compute_rest_props(props, keys) {
|
||||||
|
const rest = {};
|
||||||
|
keys = new Set(keys);
|
||||||
|
for (const k in props)
|
||||||
|
if (!keys.has(k) && k[0] !== "$")
|
||||||
|
rest[k] = props[k];
|
||||||
|
return rest;
|
||||||
|
}
|
||||||
|
function compute_slots(slots) {
|
||||||
|
const result = {};
|
||||||
|
for (const key in slots) {
|
||||||
|
result[key] = true;
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
function set_store_value(store, ret, value) {
|
||||||
|
store.set(value);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
function action_destroyer(action_result) {
|
||||||
|
return action_result && is_function(action_result.destroy) ? action_result.destroy : noop;
|
||||||
|
}
|
||||||
|
function split_css_unit(value) {
|
||||||
|
const split = typeof value === "string" && value.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
|
||||||
|
return split ? [parseFloat(split[1]), split[2] || "px"] : [
|
||||||
|
/** @type {number} */
|
||||||
|
value,
|
||||||
|
"px"
|
||||||
|
];
|
||||||
|
}
|
||||||
|
let is_hydrating = false;
|
||||||
|
function start_hydrating() {
|
||||||
|
is_hydrating = true;
|
||||||
|
}
|
||||||
|
function end_hydrating() {
|
||||||
|
is_hydrating = false;
|
||||||
|
}
|
||||||
|
function upper_bound(low, high, key, value) {
|
||||||
|
while (low < high) {
|
||||||
|
const mid = low + (high - low >> 1);
|
||||||
|
if (key(mid) <= value) {
|
||||||
|
low = mid + 1;
|
||||||
|
} else {
|
||||||
|
high = mid;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return low;
|
||||||
|
}
|
||||||
|
function init_hydrate(target) {
|
||||||
|
if (target.hydrate_init)
|
||||||
|
return;
|
||||||
|
target.hydrate_init = true;
|
||||||
|
let children2 = (
|
||||||
|
/** @type {ArrayLike<NodeEx2>} */
|
||||||
|
target.childNodes
|
||||||
|
);
|
||||||
|
if (target.nodeName === "HEAD") {
|
||||||
|
const my_children = [];
|
||||||
|
for (let i = 0; i < children2.length; i++) {
|
||||||
|
const node = children2[i];
|
||||||
|
if (node.claim_order !== void 0) {
|
||||||
|
my_children.push(node);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
children2 = my_children;
|
||||||
|
}
|
||||||
|
const m = new Int32Array(children2.length + 1);
|
||||||
|
const p = new Int32Array(children2.length);
|
||||||
|
m[0] = -1;
|
||||||
|
let longest = 0;
|
||||||
|
for (let i = 0; i < children2.length; i++) {
|
||||||
|
const current = children2[i].claim_order;
|
||||||
|
const seq_len = (longest > 0 && children2[m[longest]].claim_order <= current ? longest + 1 : upper_bound(1, longest, (idx) => children2[m[idx]].claim_order, current)) - 1;
|
||||||
|
p[i] = m[seq_len] + 1;
|
||||||
|
const new_len = seq_len + 1;
|
||||||
|
m[new_len] = i;
|
||||||
|
longest = Math.max(new_len, longest);
|
||||||
|
}
|
||||||
|
const lis = [];
|
||||||
|
const to_move = [];
|
||||||
|
let last = children2.length - 1;
|
||||||
|
for (let cur = m[longest] + 1; cur != 0; cur = p[cur - 1]) {
|
||||||
|
lis.push(children2[cur - 1]);
|
||||||
|
for (; last >= cur; last--) {
|
||||||
|
to_move.push(children2[last]);
|
||||||
|
}
|
||||||
|
last--;
|
||||||
|
}
|
||||||
|
for (; last >= 0; last--) {
|
||||||
|
to_move.push(children2[last]);
|
||||||
|
}
|
||||||
|
lis.reverse();
|
||||||
|
to_move.sort((a, b) => a.claim_order - b.claim_order);
|
||||||
|
for (let i = 0, j = 0; i < to_move.length; i++) {
|
||||||
|
while (j < lis.length && to_move[i].claim_order >= lis[j].claim_order) {
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
const anchor = j < lis.length ? lis[j] : null;
|
||||||
|
target.insertBefore(to_move[i], anchor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function append(target, node) {
|
||||||
|
target.appendChild(node);
|
||||||
|
}
|
||||||
|
function get_root_for_style(node) {
|
||||||
|
if (!node)
|
||||||
|
return document;
|
||||||
|
const root = node.getRootNode ? node.getRootNode() : node.ownerDocument;
|
||||||
|
if (root && /** @type {ShadowRoot} */
|
||||||
|
root.host) {
|
||||||
|
return (
|
||||||
|
/** @type {ShadowRoot} */
|
||||||
|
root
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return node.ownerDocument;
|
||||||
|
}
|
||||||
|
function append_empty_stylesheet(node) {
|
||||||
|
const style_element = element("style");
|
||||||
|
style_element.textContent = "/* empty */";
|
||||||
|
append_stylesheet(get_root_for_style(node), style_element);
|
||||||
|
return style_element.sheet;
|
||||||
|
}
|
||||||
|
function append_stylesheet(node, style) {
|
||||||
|
append(
|
||||||
|
/** @type {Document} */
|
||||||
|
node.head || node,
|
||||||
|
style
|
||||||
|
);
|
||||||
|
return style.sheet;
|
||||||
|
}
|
||||||
|
function append_hydration(target, node) {
|
||||||
|
if (is_hydrating) {
|
||||||
|
init_hydrate(target);
|
||||||
|
if (target.actual_end_child === void 0 || target.actual_end_child !== null && target.actual_end_child.parentNode !== target) {
|
||||||
|
target.actual_end_child = target.firstChild;
|
||||||
|
}
|
||||||
|
while (target.actual_end_child !== null && target.actual_end_child.claim_order === void 0) {
|
||||||
|
target.actual_end_child = target.actual_end_child.nextSibling;
|
||||||
|
}
|
||||||
|
if (node !== target.actual_end_child) {
|
||||||
|
if (node.claim_order !== void 0 || node.parentNode !== target) {
|
||||||
|
target.insertBefore(node, target.actual_end_child);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
target.actual_end_child = node.nextSibling;
|
||||||
|
}
|
||||||
|
} else if (node.parentNode !== target || node.nextSibling !== null) {
|
||||||
|
target.appendChild(node);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function insert(target, node, anchor) {
|
||||||
|
target.insertBefore(node, anchor || null);
|
||||||
|
}
|
||||||
|
function insert_hydration(target, node, anchor) {
|
||||||
|
if (is_hydrating && !anchor) {
|
||||||
|
append_hydration(target, node);
|
||||||
|
} else if (node.parentNode !== target || node.nextSibling != anchor) {
|
||||||
|
target.insertBefore(node, anchor || null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function detach(node) {
|
||||||
|
if (node.parentNode) {
|
||||||
|
node.parentNode.removeChild(node);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function destroy_each(iterations, detaching) {
|
||||||
|
for (let i = 0; i < iterations.length; i += 1) {
|
||||||
|
if (iterations[i])
|
||||||
|
iterations[i].d(detaching);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function element(name) {
|
||||||
|
return document.createElement(name);
|
||||||
|
}
|
||||||
|
function svg_element(name) {
|
||||||
|
return document.createElementNS("http://www.w3.org/2000/svg", name);
|
||||||
|
}
|
||||||
|
function text(data) {
|
||||||
|
return document.createTextNode(data);
|
||||||
|
}
|
||||||
|
function space() {
|
||||||
|
return text(" ");
|
||||||
|
}
|
||||||
|
function empty() {
|
||||||
|
return text("");
|
||||||
|
}
|
||||||
|
function listen(node, event, handler, options) {
|
||||||
|
node.addEventListener(event, handler, options);
|
||||||
|
return () => node.removeEventListener(event, handler, options);
|
||||||
|
}
|
||||||
|
function attr(node, attribute, value) {
|
||||||
|
if (value == null)
|
||||||
|
node.removeAttribute(attribute);
|
||||||
|
else if (node.getAttribute(attribute) !== value)
|
||||||
|
node.setAttribute(attribute, value);
|
||||||
|
}
|
||||||
|
const always_set_through_set_attribute = ["width", "height"];
|
||||||
|
function set_attributes(node, attributes) {
|
||||||
|
const descriptors = Object.getOwnPropertyDescriptors(node.__proto__);
|
||||||
|
for (const key in attributes) {
|
||||||
|
if (attributes[key] == null) {
|
||||||
|
node.removeAttribute(key);
|
||||||
|
} else if (key === "style") {
|
||||||
|
node.style.cssText = attributes[key];
|
||||||
|
} else if (key === "__value") {
|
||||||
|
node.value = node[key] = attributes[key];
|
||||||
|
} else if (descriptors[key] && descriptors[key].set && always_set_through_set_attribute.indexOf(key) === -1) {
|
||||||
|
node[key] = attributes[key];
|
||||||
|
} else {
|
||||||
|
attr(node, key, attributes[key]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function get_svelte_dataset(node) {
|
||||||
|
return node.dataset.svelteH;
|
||||||
|
}
|
||||||
|
function children(element2) {
|
||||||
|
return Array.from(element2.childNodes);
|
||||||
|
}
|
||||||
|
function init_claim_info(nodes) {
|
||||||
|
if (nodes.claim_info === void 0) {
|
||||||
|
nodes.claim_info = { last_index: 0, total_claimed: 0 };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function claim_node(nodes, predicate, process_node, create_node, dont_update_last_index = false) {
|
||||||
|
init_claim_info(nodes);
|
||||||
|
const result_node = (() => {
|
||||||
|
for (let i = nodes.claim_info.last_index; i < nodes.length; i++) {
|
||||||
|
const node = nodes[i];
|
||||||
|
if (predicate(node)) {
|
||||||
|
const replacement = process_node(node);
|
||||||
|
if (replacement === void 0) {
|
||||||
|
nodes.splice(i, 1);
|
||||||
|
} else {
|
||||||
|
nodes[i] = replacement;
|
||||||
|
}
|
||||||
|
if (!dont_update_last_index) {
|
||||||
|
nodes.claim_info.last_index = i;
|
||||||
|
}
|
||||||
|
return node;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (let i = nodes.claim_info.last_index - 1; i >= 0; i--) {
|
||||||
|
const node = nodes[i];
|
||||||
|
if (predicate(node)) {
|
||||||
|
const replacement = process_node(node);
|
||||||
|
if (replacement === void 0) {
|
||||||
|
nodes.splice(i, 1);
|
||||||
|
} else {
|
||||||
|
nodes[i] = replacement;
|
||||||
|
}
|
||||||
|
if (!dont_update_last_index) {
|
||||||
|
nodes.claim_info.last_index = i;
|
||||||
|
} else if (replacement === void 0) {
|
||||||
|
nodes.claim_info.last_index--;
|
||||||
|
}
|
||||||
|
return node;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return create_node();
|
||||||
|
})();
|
||||||
|
result_node.claim_order = nodes.claim_info.total_claimed;
|
||||||
|
nodes.claim_info.total_claimed += 1;
|
||||||
|
return result_node;
|
||||||
|
}
|
||||||
|
function claim_element_base(nodes, name, attributes, create_element) {
|
||||||
|
return claim_node(
|
||||||
|
nodes,
|
||||||
|
/** @returns {node is Element | SVGElement} */
|
||||||
|
(node) => node.nodeName === name,
|
||||||
|
/** @param {Element} node */
|
||||||
|
(node) => {
|
||||||
|
const remove = [];
|
||||||
|
for (let j = 0; j < node.attributes.length; j++) {
|
||||||
|
const attribute = node.attributes[j];
|
||||||
|
if (!attributes[attribute.name]) {
|
||||||
|
remove.push(attribute.name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
remove.forEach((v) => node.removeAttribute(v));
|
||||||
|
return void 0;
|
||||||
|
},
|
||||||
|
() => create_element(name)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function claim_element(nodes, name, attributes) {
|
||||||
|
return claim_element_base(nodes, name, attributes, element);
|
||||||
|
}
|
||||||
|
function claim_svg_element(nodes, name, attributes) {
|
||||||
|
return claim_element_base(nodes, name, attributes, svg_element);
|
||||||
|
}
|
||||||
|
function claim_text(nodes, data) {
|
||||||
|
return claim_node(
|
||||||
|
nodes,
|
||||||
|
/** @returns {node is Text} */
|
||||||
|
(node) => node.nodeType === 3,
|
||||||
|
/** @param {Text} node */
|
||||||
|
(node) => {
|
||||||
|
const data_str = "" + data;
|
||||||
|
if (node.data.startsWith(data_str)) {
|
||||||
|
if (node.data.length !== data_str.length) {
|
||||||
|
return node.splitText(data_str.length);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
node.data = data_str;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
() => text(data),
|
||||||
|
true
|
||||||
|
// Text nodes should not update last index since it is likely not worth it to eliminate an increasing subsequence of actual elements
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function claim_space(nodes) {
|
||||||
|
return claim_text(nodes, " ");
|
||||||
|
}
|
||||||
|
function get_comment_idx(nodes, text2, start) {
|
||||||
|
for (let i = start; i < nodes.length; i += 1) {
|
||||||
|
const node = nodes[i];
|
||||||
|
if (node.nodeType === 8 && node.textContent.trim() === text2) {
|
||||||
|
return i;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
function claim_html_tag(nodes, is_svg) {
|
||||||
|
const start_index = get_comment_idx(nodes, "HTML_TAG_START", 0);
|
||||||
|
const end_index = get_comment_idx(nodes, "HTML_TAG_END", start_index + 1);
|
||||||
|
if (start_index === -1 || end_index === -1) {
|
||||||
|
return new HtmlTagHydration(is_svg);
|
||||||
|
}
|
||||||
|
init_claim_info(nodes);
|
||||||
|
const html_tag_nodes = nodes.splice(start_index, end_index - start_index + 1);
|
||||||
|
detach(html_tag_nodes[0]);
|
||||||
|
detach(html_tag_nodes[html_tag_nodes.length - 1]);
|
||||||
|
const claimed_nodes = html_tag_nodes.slice(1, html_tag_nodes.length - 1);
|
||||||
|
if (claimed_nodes.length === 0) {
|
||||||
|
return new HtmlTagHydration(is_svg);
|
||||||
|
}
|
||||||
|
for (const n of claimed_nodes) {
|
||||||
|
n.claim_order = nodes.claim_info.total_claimed;
|
||||||
|
nodes.claim_info.total_claimed += 1;
|
||||||
|
}
|
||||||
|
return new HtmlTagHydration(is_svg, claimed_nodes);
|
||||||
|
}
|
||||||
|
function set_data(text2, data) {
|
||||||
|
data = "" + data;
|
||||||
|
if (text2.data === data)
|
||||||
|
return;
|
||||||
|
text2.data = /** @type {string} */
|
||||||
|
data;
|
||||||
|
}
|
||||||
|
function set_input_value(input, value) {
|
||||||
|
input.value = value == null ? "" : value;
|
||||||
|
}
|
||||||
|
function set_style(node, key, value, important) {
|
||||||
|
if (value == null) {
|
||||||
|
node.style.removeProperty(key);
|
||||||
|
} else {
|
||||||
|
node.style.setProperty(key, value, important ? "important" : "");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function select_option(select, value, mounting) {
|
||||||
|
for (let i = 0; i < select.options.length; i += 1) {
|
||||||
|
const option = select.options[i];
|
||||||
|
if (option.__value === value) {
|
||||||
|
option.selected = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!mounting || value !== void 0) {
|
||||||
|
select.selectedIndex = -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function select_value(select) {
|
||||||
|
const selected_option = select.querySelector(":checked");
|
||||||
|
return selected_option && selected_option.__value;
|
||||||
|
}
|
||||||
|
function toggle_class(element2, name, toggle) {
|
||||||
|
element2.classList.toggle(name, !!toggle);
|
||||||
|
}
|
||||||
|
function custom_event(type, detail, { bubbles = false, cancelable = false } = {}) {
|
||||||
|
return new CustomEvent(type, { detail, bubbles, cancelable });
|
||||||
|
}
|
||||||
|
function head_selector(nodeId, head) {
|
||||||
|
const result = [];
|
||||||
|
let started = 0;
|
||||||
|
for (const node of head.childNodes) {
|
||||||
|
if (node.nodeType === 8) {
|
||||||
|
const comment = node.textContent.trim();
|
||||||
|
if (comment === `HEAD_${nodeId}_END`) {
|
||||||
|
started -= 1;
|
||||||
|
result.push(node);
|
||||||
|
} else if (comment === `HEAD_${nodeId}_START`) {
|
||||||
|
started += 1;
|
||||||
|
result.push(node);
|
||||||
|
}
|
||||||
|
} else if (started > 0) {
|
||||||
|
result.push(node);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
class HtmlTag {
|
||||||
|
constructor(is_svg = false) {
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
* @default false
|
||||||
|
*/
|
||||||
|
__publicField(this, "is_svg", false);
|
||||||
|
/** parent for creating node */
|
||||||
|
__publicField(this, "e");
|
||||||
|
/** html tag nodes */
|
||||||
|
__publicField(this, "n");
|
||||||
|
/** target */
|
||||||
|
__publicField(this, "t");
|
||||||
|
/** anchor */
|
||||||
|
__publicField(this, "a");
|
||||||
|
this.is_svg = is_svg;
|
||||||
|
this.e = this.n = null;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} html
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
c(html) {
|
||||||
|
this.h(html);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} html
|
||||||
|
* @param {HTMLElement | SVGElement} target
|
||||||
|
* @param {HTMLElement | SVGElement} anchor
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
m(html, target, anchor = null) {
|
||||||
|
if (!this.e) {
|
||||||
|
if (this.is_svg)
|
||||||
|
this.e = svg_element(
|
||||||
|
/** @type {keyof SVGElementTagNameMap} */
|
||||||
|
target.nodeName
|
||||||
|
);
|
||||||
|
else
|
||||||
|
this.e = element(
|
||||||
|
/** @type {keyof HTMLElementTagNameMap} */
|
||||||
|
target.nodeType === 11 ? "TEMPLATE" : target.nodeName
|
||||||
|
);
|
||||||
|
this.t = target.tagName !== "TEMPLATE" ? target : (
|
||||||
|
/** @type {HTMLTemplateElement} */
|
||||||
|
target.content
|
||||||
|
);
|
||||||
|
this.c(html);
|
||||||
|
}
|
||||||
|
this.i(anchor);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} html
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
h(html) {
|
||||||
|
this.e.innerHTML = html;
|
||||||
|
this.n = Array.from(
|
||||||
|
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
||||||
|
);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @returns {void} */
|
||||||
|
i(anchor) {
|
||||||
|
for (let i = 0; i < this.n.length; i += 1) {
|
||||||
|
insert(this.t, this.n[i], anchor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} html
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
p(html) {
|
||||||
|
this.d();
|
||||||
|
this.h(html);
|
||||||
|
this.i(this.a);
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @returns {void} */
|
||||||
|
d() {
|
||||||
|
this.n.forEach(detach);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
class HtmlTagHydration extends HtmlTag {
|
||||||
|
constructor(is_svg = false, claimed_nodes) {
|
||||||
|
super(is_svg);
|
||||||
|
/** @type {Element[]} hydration claimed nodes */
|
||||||
|
__publicField(this, "l");
|
||||||
|
this.e = this.n = null;
|
||||||
|
this.l = claimed_nodes;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @param {string} html
|
||||||
|
* @returns {void}
|
||||||
|
*/
|
||||||
|
c(html) {
|
||||||
|
if (this.l) {
|
||||||
|
this.n = this.l;
|
||||||
|
} else {
|
||||||
|
super.c(html);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* @returns {void} */
|
||||||
|
i(anchor) {
|
||||||
|
for (let i = 0; i < this.n.length; i += 1) {
|
||||||
|
insert_hydration(this.t, this.n[i], anchor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function construct_svelte_component(component, props) {
|
||||||
|
return new component(props);
|
||||||
|
}
|
||||||
|
let current_component;
|
||||||
|
function set_current_component(component) {
|
||||||
|
current_component = component;
|
||||||
|
}
|
||||||
|
function get_current_component() {
|
||||||
|
if (!current_component)
|
||||||
|
throw new Error("Function called outside component initialization");
|
||||||
|
return current_component;
|
||||||
|
}
|
||||||
|
function onMount(fn) {
|
||||||
|
get_current_component().$$.on_mount.push(fn);
|
||||||
|
}
|
||||||
|
function afterUpdate(fn) {
|
||||||
|
get_current_component().$$.after_update.push(fn);
|
||||||
|
}
|
||||||
|
function createEventDispatcher() {
|
||||||
|
const component = get_current_component();
|
||||||
|
return (type, detail, { cancelable = false } = {}) => {
|
||||||
|
const callbacks = component.$$.callbacks[type];
|
||||||
|
if (callbacks) {
|
||||||
|
const event = custom_event(
|
||||||
|
/** @type {string} */
|
||||||
|
type,
|
||||||
|
detail,
|
||||||
|
{ cancelable }
|
||||||
|
);
|
||||||
|
callbacks.slice().forEach((fn) => {
|
||||||
|
fn.call(component, event);
|
||||||
|
});
|
||||||
|
return !event.defaultPrevented;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function setContext(key, context) {
|
||||||
|
get_current_component().$$.context.set(key, context);
|
||||||
|
return context;
|
||||||
|
}
|
||||||
|
function getContext(key) {
|
||||||
|
return get_current_component().$$.context.get(key);
|
||||||
|
}
|
||||||
|
function bubble(component, event) {
|
||||||
|
const callbacks = component.$$.callbacks[event.type];
|
||||||
|
if (callbacks) {
|
||||||
|
callbacks.slice().forEach((fn) => fn.call(this, event));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const dirty_components = [];
|
||||||
|
const binding_callbacks = [];
|
||||||
|
let render_callbacks = [];
|
||||||
|
const flush_callbacks = [];
|
||||||
|
const resolved_promise = /* @__PURE__ */ Promise.resolve();
|
||||||
|
let update_scheduled = false;
|
||||||
|
function schedule_update() {
|
||||||
|
if (!update_scheduled) {
|
||||||
|
update_scheduled = true;
|
||||||
|
resolved_promise.then(flush);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function tick() {
|
||||||
|
schedule_update();
|
||||||
|
return resolved_promise;
|
||||||
|
}
|
||||||
|
function add_render_callback(fn) {
|
||||||
|
render_callbacks.push(fn);
|
||||||
|
}
|
||||||
|
function add_flush_callback(fn) {
|
||||||
|
flush_callbacks.push(fn);
|
||||||
|
}
|
||||||
|
const seen_callbacks = /* @__PURE__ */ new Set();
|
||||||
|
let flushidx = 0;
|
||||||
|
function flush() {
|
||||||
|
if (flushidx !== 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const saved_component = current_component;
|
||||||
|
do {
|
||||||
|
try {
|
||||||
|
while (flushidx < dirty_components.length) {
|
||||||
|
const component = dirty_components[flushidx];
|
||||||
|
flushidx++;
|
||||||
|
set_current_component(component);
|
||||||
|
update(component.$$);
|
||||||
|
}
|
||||||
|
} catch (e) {
|
||||||
|
dirty_components.length = 0;
|
||||||
|
flushidx = 0;
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
set_current_component(null);
|
||||||
|
dirty_components.length = 0;
|
||||||
|
flushidx = 0;
|
||||||
|
while (binding_callbacks.length)
|
||||||
|
binding_callbacks.pop()();
|
||||||
|
for (let i = 0; i < render_callbacks.length; i += 1) {
|
||||||
|
const callback = render_callbacks[i];
|
||||||
|
if (!seen_callbacks.has(callback)) {
|
||||||
|
seen_callbacks.add(callback);
|
||||||
|
callback();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
render_callbacks.length = 0;
|
||||||
|
} while (dirty_components.length);
|
||||||
|
while (flush_callbacks.length) {
|
||||||
|
flush_callbacks.pop()();
|
||||||
|
}
|
||||||
|
update_scheduled = false;
|
||||||
|
seen_callbacks.clear();
|
||||||
|
set_current_component(saved_component);
|
||||||
|
}
|
||||||
|
function update($$) {
|
||||||
|
if ($$.fragment !== null) {
|
||||||
|
$$.update();
|
||||||
|
run_all($$.before_update);
|
||||||
|
const dirty = $$.dirty;
|
||||||
|
$$.dirty = [-1];
|
||||||
|
$$.fragment && $$.fragment.p($$.ctx, dirty);
|
||||||
|
$$.after_update.forEach(add_render_callback);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function flush_render_callbacks(fns) {
|
||||||
|
const filtered = [];
|
||||||
|
const targets = [];
|
||||||
|
render_callbacks.forEach((c) => fns.indexOf(c) === -1 ? filtered.push(c) : targets.push(c));
|
||||||
|
targets.forEach((c) => c());
|
||||||
|
render_callbacks = filtered;
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
get_store_value as $,
|
||||||
|
toggle_class as A,
|
||||||
|
binding_callbacks as B,
|
||||||
|
getContext as C,
|
||||||
|
setContext as D,
|
||||||
|
is_promise as E,
|
||||||
|
get_current_component as F,
|
||||||
|
set_current_component as G,
|
||||||
|
flush as H,
|
||||||
|
svg_element as I,
|
||||||
|
claim_svg_element as J,
|
||||||
|
set_style as K,
|
||||||
|
compute_slots as L,
|
||||||
|
afterUpdate as M,
|
||||||
|
assign as N,
|
||||||
|
exclude_internal_props as O,
|
||||||
|
create_slot as P,
|
||||||
|
update_slot_base as Q,
|
||||||
|
get_all_dirty_from_scope as R,
|
||||||
|
get_slot_changes as S,
|
||||||
|
construct_svelte_component as T,
|
||||||
|
tick as U,
|
||||||
|
createEventDispatcher as V,
|
||||||
|
action_destroyer as W,
|
||||||
|
is_function as X,
|
||||||
|
HtmlTagHydration as Y,
|
||||||
|
claim_html_tag as Z,
|
||||||
|
add_flush_callback as _,
|
||||||
|
space as a,
|
||||||
|
get_root_for_style as a0,
|
||||||
|
append_empty_stylesheet as a1,
|
||||||
|
custom_event as a2,
|
||||||
|
identity as a3,
|
||||||
|
blank_object as a4,
|
||||||
|
is_empty as a5,
|
||||||
|
flush_render_callbacks as a6,
|
||||||
|
current_component as a7,
|
||||||
|
run as a8,
|
||||||
|
dirty_components as a9,
|
||||||
|
schedule_update as aa,
|
||||||
|
start_hydrating as ab,
|
||||||
|
end_hydrating as ac,
|
||||||
|
split_css_unit as ad,
|
||||||
|
bubble as ae,
|
||||||
|
compute_rest_props as af,
|
||||||
|
set_attributes as ag,
|
||||||
|
src_url_equal as ah,
|
||||||
|
head_selector as ai,
|
||||||
|
children as b,
|
||||||
|
claim_element as c,
|
||||||
|
claim_text as d,
|
||||||
|
element as e,
|
||||||
|
claim_space as f,
|
||||||
|
detach as g,
|
||||||
|
get_svelte_dataset as h,
|
||||||
|
attr as i,
|
||||||
|
insert_hydration as j,
|
||||||
|
append_hydration as k,
|
||||||
|
set_data as l,
|
||||||
|
component_subscribe as m,
|
||||||
|
destroy_each as n,
|
||||||
|
noop as o,
|
||||||
|
onMount as p,
|
||||||
|
set_store_value as q,
|
||||||
|
select_value as r,
|
||||||
|
safe_not_equal as s,
|
||||||
|
text as t,
|
||||||
|
set_input_value as u,
|
||||||
|
add_render_callback as v,
|
||||||
|
select_option as w,
|
||||||
|
listen as x,
|
||||||
|
run_all as y,
|
||||||
|
empty as z
|
||||||
|
};
|
||||||
521
out/renderer/client/_app/immutable/chunks/stores.BRlO1dnN.js
Normal file
521
out/renderer/client/_app/immutable/chunks/stores.BRlO1dnN.js
Normal file
@@ -0,0 +1,521 @@
|
|||||||
|
import { s as safe_not_equal, z as empty, j as insert_hydration, o as noop, g as detach, m as component_subscribe, V as createEventDispatcher, N as assign, O as exclude_internal_props, e as element, t as text, a as space, c as claim_element, b as children, d as claim_text, f as claim_space, i as attr, k as append_hydration, x as listen, W as action_destroyer, l as set_data, X as is_function, y as run_all, Y as HtmlTagHydration, Z as claim_html_tag } from "./scheduler.fBTsnP2i.js";
|
||||||
|
import { S as SvelteComponent, i as init } from "./index.DdnDjIf5.js";
|
||||||
|
import { w as writable } from "./index.D97w0myq.js";
|
||||||
|
import { s as stores } from "./entry.Cs_QM1XO.js";
|
||||||
|
const storeHighlightJs = writable(void 0);
|
||||||
|
function clipboard(node, args) {
|
||||||
|
if (!window.isSecureContext) {
|
||||||
|
console.error("Clipboard action failed: app not running in secure context, see: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard");
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
const fireCopyCompleteEvent = () => {
|
||||||
|
node.dispatchEvent(new CustomEvent("copyComplete"));
|
||||||
|
};
|
||||||
|
const onClick = () => {
|
||||||
|
if (typeof args === "object") {
|
||||||
|
if ("element" in args) {
|
||||||
|
const element2 = document.querySelector(`[data-clipboard="${args.element}"]`);
|
||||||
|
if (!element2)
|
||||||
|
throw new Error(`Missing HTMLElement with an attribute of [data-clipboard="${args.element}"]`);
|
||||||
|
copyToClipboard(element2.innerHTML, "text/html").then(fireCopyCompleteEvent);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if ("input" in args) {
|
||||||
|
const input = document.querySelector(`[data-clipboard="${args.input}"]`);
|
||||||
|
if (!input)
|
||||||
|
throw new Error(`Missing HTMLInputElement with an attribute of [data-clipboard="${args.input}"]`);
|
||||||
|
copyToClipboard(input.value).then(fireCopyCompleteEvent);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
copyToClipboard(args).then(fireCopyCompleteEvent);
|
||||||
|
};
|
||||||
|
node.addEventListener("click", onClick);
|
||||||
|
return {
|
||||||
|
update(newArgs) {
|
||||||
|
args = newArgs;
|
||||||
|
},
|
||||||
|
destroy() {
|
||||||
|
node.removeEventListener("click", onClick);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
async function copyToClipboard(data, mimeType = "text/plain") {
|
||||||
|
if (navigator.clipboard.write) {
|
||||||
|
await navigator.clipboard.write([
|
||||||
|
new ClipboardItem({
|
||||||
|
[mimeType]: new Blob([data], {
|
||||||
|
type: mimeType
|
||||||
|
}),
|
||||||
|
["text/plain"]: new Blob([data], {
|
||||||
|
type: "text/plain"
|
||||||
|
})
|
||||||
|
})
|
||||||
|
]);
|
||||||
|
} else {
|
||||||
|
await new Promise((resolve) => {
|
||||||
|
resolve(navigator.clipboard.writeText(String(data)));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function create_if_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let header;
|
||||||
|
let span;
|
||||||
|
let t0_value = languageFormatter(
|
||||||
|
/*language*/
|
||||||
|
ctx[0]
|
||||||
|
) + "";
|
||||||
|
let t0;
|
||||||
|
let t1;
|
||||||
|
let button_1;
|
||||||
|
let t2_value = (!/*copyState*/
|
||||||
|
ctx[7] ? (
|
||||||
|
/*buttonLabel*/
|
||||||
|
ctx[3]
|
||||||
|
) : (
|
||||||
|
/*buttonCopied*/
|
||||||
|
ctx[4]
|
||||||
|
)) + "";
|
||||||
|
let t2;
|
||||||
|
let button_1_class_value;
|
||||||
|
let clipboard_action;
|
||||||
|
let t3;
|
||||||
|
let pre;
|
||||||
|
let code_1;
|
||||||
|
let code_1_class_value;
|
||||||
|
let div_class_value;
|
||||||
|
let mounted;
|
||||||
|
let dispose;
|
||||||
|
function select_block_type(ctx2, dirty) {
|
||||||
|
if (
|
||||||
|
/*formatted*/
|
||||||
|
ctx2[6]
|
||||||
|
)
|
||||||
|
return create_if_block_1;
|
||||||
|
return create_else_block;
|
||||||
|
}
|
||||||
|
let current_block_type = select_block_type(ctx);
|
||||||
|
let if_block = current_block_type(ctx);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
header = element("header");
|
||||||
|
span = element("span");
|
||||||
|
t0 = text(t0_value);
|
||||||
|
t1 = space();
|
||||||
|
button_1 = element("button");
|
||||||
|
t2 = text(t2_value);
|
||||||
|
t3 = space();
|
||||||
|
pre = element("pre");
|
||||||
|
code_1 = element("code");
|
||||||
|
if_block.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true, "data-testid": true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
header = claim_element(div_nodes, "HEADER", { class: true });
|
||||||
|
var header_nodes = children(header);
|
||||||
|
span = claim_element(header_nodes, "SPAN", { class: true });
|
||||||
|
var span_nodes = children(span);
|
||||||
|
t0 = claim_text(span_nodes, t0_value);
|
||||||
|
span_nodes.forEach(detach);
|
||||||
|
t1 = claim_space(header_nodes);
|
||||||
|
button_1 = claim_element(header_nodes, "BUTTON", { type: true, class: true });
|
||||||
|
var button_1_nodes = children(button_1);
|
||||||
|
t2 = claim_text(button_1_nodes, t2_value);
|
||||||
|
button_1_nodes.forEach(detach);
|
||||||
|
header_nodes.forEach(detach);
|
||||||
|
t3 = claim_space(div_nodes);
|
||||||
|
pre = claim_element(div_nodes, "PRE", { class: true });
|
||||||
|
var pre_nodes = children(pre);
|
||||||
|
code_1 = claim_element(pre_nodes, "CODE", { class: true });
|
||||||
|
var code_1_nodes = children(code_1);
|
||||||
|
if_block.l(code_1_nodes);
|
||||||
|
code_1_nodes.forEach(detach);
|
||||||
|
pre_nodes.forEach(detach);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(span, "class", "codeblock-language");
|
||||||
|
attr(button_1, "type", "button");
|
||||||
|
attr(button_1, "class", button_1_class_value = "codeblock-btn " + /*button*/
|
||||||
|
ctx[2]);
|
||||||
|
attr(header, "class", "codeblock-header " + cHeader);
|
||||||
|
attr(code_1, "class", code_1_class_value = "codeblock-code language-" + /*language*/
|
||||||
|
ctx[0] + " lineNumbers");
|
||||||
|
attr(pre, "class", "codeblock-pre " + cPre);
|
||||||
|
attr(div, "class", div_class_value = "codeblock " + /*classesBase*/
|
||||||
|
ctx[8]);
|
||||||
|
attr(div, "data-testid", "codeblock");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
append_hydration(div, header);
|
||||||
|
append_hydration(header, span);
|
||||||
|
append_hydration(span, t0);
|
||||||
|
append_hydration(header, t1);
|
||||||
|
append_hydration(header, button_1);
|
||||||
|
append_hydration(button_1, t2);
|
||||||
|
append_hydration(div, t3);
|
||||||
|
append_hydration(div, pre);
|
||||||
|
append_hydration(pre, code_1);
|
||||||
|
if_block.m(code_1, null);
|
||||||
|
if (!mounted) {
|
||||||
|
dispose = [
|
||||||
|
listen(
|
||||||
|
button_1,
|
||||||
|
"click",
|
||||||
|
/*onCopyClick*/
|
||||||
|
ctx[9]
|
||||||
|
),
|
||||||
|
action_destroyer(clipboard_action = clipboard.call(
|
||||||
|
null,
|
||||||
|
button_1,
|
||||||
|
/*code*/
|
||||||
|
ctx[1]
|
||||||
|
))
|
||||||
|
];
|
||||||
|
mounted = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*language*/
|
||||||
|
1 && t0_value !== (t0_value = languageFormatter(
|
||||||
|
/*language*/
|
||||||
|
ctx2[0]
|
||||||
|
) + ""))
|
||||||
|
set_data(t0, t0_value);
|
||||||
|
if (dirty & /*copyState, buttonLabel, buttonCopied*/
|
||||||
|
152 && t2_value !== (t2_value = (!/*copyState*/
|
||||||
|
ctx2[7] ? (
|
||||||
|
/*buttonLabel*/
|
||||||
|
ctx2[3]
|
||||||
|
) : (
|
||||||
|
/*buttonCopied*/
|
||||||
|
ctx2[4]
|
||||||
|
)) + ""))
|
||||||
|
set_data(t2, t2_value);
|
||||||
|
if (dirty & /*button*/
|
||||||
|
4 && button_1_class_value !== (button_1_class_value = "codeblock-btn " + /*button*/
|
||||||
|
ctx2[2])) {
|
||||||
|
attr(button_1, "class", button_1_class_value);
|
||||||
|
}
|
||||||
|
if (clipboard_action && is_function(clipboard_action.update) && dirty & /*code*/
|
||||||
|
2)
|
||||||
|
clipboard_action.update.call(
|
||||||
|
null,
|
||||||
|
/*code*/
|
||||||
|
ctx2[1]
|
||||||
|
);
|
||||||
|
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
||||||
|
if_block.p(ctx2, dirty);
|
||||||
|
} else {
|
||||||
|
if_block.d(1);
|
||||||
|
if_block = current_block_type(ctx2);
|
||||||
|
if (if_block) {
|
||||||
|
if_block.c();
|
||||||
|
if_block.m(code_1, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (dirty & /*language*/
|
||||||
|
1 && code_1_class_value !== (code_1_class_value = "codeblock-code language-" + /*language*/
|
||||||
|
ctx2[0] + " lineNumbers")) {
|
||||||
|
attr(code_1, "class", code_1_class_value);
|
||||||
|
}
|
||||||
|
if (dirty & /*classesBase*/
|
||||||
|
256 && div_class_value !== (div_class_value = "codeblock " + /*classesBase*/
|
||||||
|
ctx2[8])) {
|
||||||
|
attr(div, "class", div_class_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
if_block.d();
|
||||||
|
mounted = false;
|
||||||
|
run_all(dispose);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_else_block(ctx) {
|
||||||
|
let t_value = (
|
||||||
|
/*code*/
|
||||||
|
ctx[1].trim() + ""
|
||||||
|
);
|
||||||
|
let t;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
t = text(t_value);
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
t = claim_text(nodes, t_value);
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, t, anchor);
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*code*/
|
||||||
|
2 && t_value !== (t_value = /*code*/
|
||||||
|
ctx2[1].trim() + ""))
|
||||||
|
set_data(t, t_value);
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(t);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block_1(ctx) {
|
||||||
|
let html_tag;
|
||||||
|
let html_anchor;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
html_tag = new HtmlTagHydration(false);
|
||||||
|
html_anchor = empty();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
html_tag = claim_html_tag(nodes, false);
|
||||||
|
html_anchor = empty();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
html_tag.a = html_anchor;
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
html_tag.m(
|
||||||
|
/*displayCode*/
|
||||||
|
ctx[5],
|
||||||
|
target,
|
||||||
|
anchor
|
||||||
|
);
|
||||||
|
insert_hydration(target, html_anchor, anchor);
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*displayCode*/
|
||||||
|
32)
|
||||||
|
html_tag.p(
|
||||||
|
/*displayCode*/
|
||||||
|
ctx2[5]
|
||||||
|
);
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(html_anchor);
|
||||||
|
html_tag.d();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let if_block_anchor;
|
||||||
|
let if_block = (
|
||||||
|
/*language*/
|
||||||
|
ctx[0] && /*code*/
|
||||||
|
ctx[1] && create_if_block(ctx)
|
||||||
|
);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
if (if_block)
|
||||||
|
if_block.c();
|
||||||
|
if_block_anchor = empty();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
if (if_block)
|
||||||
|
if_block.l(nodes);
|
||||||
|
if_block_anchor = empty();
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
if (if_block)
|
||||||
|
if_block.m(target, anchor);
|
||||||
|
insert_hydration(target, if_block_anchor, anchor);
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
if (
|
||||||
|
/*language*/
|
||||||
|
ctx2[0] && /*code*/
|
||||||
|
ctx2[1]
|
||||||
|
) {
|
||||||
|
if (if_block) {
|
||||||
|
if_block.p(ctx2, dirty);
|
||||||
|
} else {
|
||||||
|
if_block = create_if_block(ctx2);
|
||||||
|
if_block.c();
|
||||||
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
||||||
|
}
|
||||||
|
} else if (if_block) {
|
||||||
|
if_block.d(1);
|
||||||
|
if_block = null;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(if_block_anchor);
|
||||||
|
}
|
||||||
|
if (if_block)
|
||||||
|
if_block.d(detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
const cBase = "overflow-hidden shadow";
|
||||||
|
const cHeader = "text-xs text-white/50 uppercase flex justify-between items-center p-2 pl-4";
|
||||||
|
const cPre = "whitespace-pre-wrap break-all p-4 pt-1";
|
||||||
|
function languageFormatter(lang) {
|
||||||
|
if (lang === "js")
|
||||||
|
return "javascript";
|
||||||
|
if (lang === "ts")
|
||||||
|
return "typescript";
|
||||||
|
if (lang === "shell")
|
||||||
|
return "terminal";
|
||||||
|
return lang;
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let classesBase;
|
||||||
|
let $storeHighlightJs;
|
||||||
|
component_subscribe($$self, storeHighlightJs, ($$value) => $$invalidate(17, $storeHighlightJs = $$value));
|
||||||
|
const dispatch = createEventDispatcher();
|
||||||
|
let { language = "plaintext" } = $$props;
|
||||||
|
let { code = "" } = $$props;
|
||||||
|
let { lineNumbers = false } = $$props;
|
||||||
|
let { background = "bg-neutral-900/90" } = $$props;
|
||||||
|
let { blur = "" } = $$props;
|
||||||
|
let { text: text2 = "text-sm" } = $$props;
|
||||||
|
let { color = "text-white" } = $$props;
|
||||||
|
let { rounded = "rounded-container-token" } = $$props;
|
||||||
|
let { shadow = "shadow" } = $$props;
|
||||||
|
let { button = "btn btn-sm variant-soft !text-white" } = $$props;
|
||||||
|
let { buttonLabel = "Copy" } = $$props;
|
||||||
|
let { buttonCopied = "👍" } = $$props;
|
||||||
|
let formatted = false;
|
||||||
|
let displayCode = code;
|
||||||
|
let copyState = false;
|
||||||
|
function onCopyClick() {
|
||||||
|
$$invalidate(7, copyState = true);
|
||||||
|
setTimeout(
|
||||||
|
() => {
|
||||||
|
$$invalidate(7, copyState = false);
|
||||||
|
},
|
||||||
|
2e3
|
||||||
|
);
|
||||||
|
dispatch("copy");
|
||||||
|
}
|
||||||
|
$$self.$$set = ($$new_props) => {
|
||||||
|
$$invalidate(19, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
|
||||||
|
if ("language" in $$new_props)
|
||||||
|
$$invalidate(0, language = $$new_props.language);
|
||||||
|
if ("code" in $$new_props)
|
||||||
|
$$invalidate(1, code = $$new_props.code);
|
||||||
|
if ("lineNumbers" in $$new_props)
|
||||||
|
$$invalidate(10, lineNumbers = $$new_props.lineNumbers);
|
||||||
|
if ("background" in $$new_props)
|
||||||
|
$$invalidate(11, background = $$new_props.background);
|
||||||
|
if ("blur" in $$new_props)
|
||||||
|
$$invalidate(12, blur = $$new_props.blur);
|
||||||
|
if ("text" in $$new_props)
|
||||||
|
$$invalidate(13, text2 = $$new_props.text);
|
||||||
|
if ("color" in $$new_props)
|
||||||
|
$$invalidate(14, color = $$new_props.color);
|
||||||
|
if ("rounded" in $$new_props)
|
||||||
|
$$invalidate(15, rounded = $$new_props.rounded);
|
||||||
|
if ("shadow" in $$new_props)
|
||||||
|
$$invalidate(16, shadow = $$new_props.shadow);
|
||||||
|
if ("button" in $$new_props)
|
||||||
|
$$invalidate(2, button = $$new_props.button);
|
||||||
|
if ("buttonLabel" in $$new_props)
|
||||||
|
$$invalidate(3, buttonLabel = $$new_props.buttonLabel);
|
||||||
|
if ("buttonCopied" in $$new_props)
|
||||||
|
$$invalidate(4, buttonCopied = $$new_props.buttonCopied);
|
||||||
|
};
|
||||||
|
$$self.$$.update = () => {
|
||||||
|
if ($$self.$$.dirty & /*$storeHighlightJs, code, language*/
|
||||||
|
131075) {
|
||||||
|
if ($storeHighlightJs !== void 0) {
|
||||||
|
$$invalidate(5, displayCode = $storeHighlightJs.highlight(code, { language }).value.trim());
|
||||||
|
$$invalidate(6, formatted = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if ($$self.$$.dirty & /*lineNumbers, displayCode*/
|
||||||
|
1056) {
|
||||||
|
if (lineNumbers) {
|
||||||
|
$$invalidate(5, displayCode = displayCode.replace(/^/gm, () => {
|
||||||
|
return '<span class="line"></span> ';
|
||||||
|
}));
|
||||||
|
$$invalidate(6, formatted = true);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$$invalidate(8, classesBase = `${cBase} ${background} ${blur} ${text2} ${color} ${rounded} ${shadow} ${$$props.class ?? ""}`);
|
||||||
|
};
|
||||||
|
$$props = exclude_internal_props($$props);
|
||||||
|
return [
|
||||||
|
language,
|
||||||
|
code,
|
||||||
|
button,
|
||||||
|
buttonLabel,
|
||||||
|
buttonCopied,
|
||||||
|
displayCode,
|
||||||
|
formatted,
|
||||||
|
copyState,
|
||||||
|
classesBase,
|
||||||
|
onCopyClick,
|
||||||
|
lineNumbers,
|
||||||
|
background,
|
||||||
|
blur,
|
||||||
|
text2,
|
||||||
|
color,
|
||||||
|
rounded,
|
||||||
|
shadow,
|
||||||
|
$storeHighlightJs
|
||||||
|
];
|
||||||
|
}
|
||||||
|
class CodeBlock extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, {
|
||||||
|
language: 0,
|
||||||
|
code: 1,
|
||||||
|
lineNumbers: 10,
|
||||||
|
background: 11,
|
||||||
|
blur: 12,
|
||||||
|
text: 13,
|
||||||
|
color: 14,
|
||||||
|
rounded: 15,
|
||||||
|
shadow: 16,
|
||||||
|
button: 2,
|
||||||
|
buttonLabel: 3,
|
||||||
|
buttonCopied: 4
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const getStores = () => {
|
||||||
|
const stores$1 = stores;
|
||||||
|
return {
|
||||||
|
/** @type {typeof page} */
|
||||||
|
page: {
|
||||||
|
subscribe: stores$1.page.subscribe
|
||||||
|
},
|
||||||
|
/** @type {typeof navigating} */
|
||||||
|
navigating: {
|
||||||
|
subscribe: stores$1.navigating.subscribe
|
||||||
|
},
|
||||||
|
/** @type {typeof updated} */
|
||||||
|
updated: stores$1.updated
|
||||||
|
};
|
||||||
|
};
|
||||||
|
const page = {
|
||||||
|
subscribe(fn) {
|
||||||
|
const store = getStores().page;
|
||||||
|
return store.subscribe(fn);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
export {
|
||||||
|
CodeBlock as C,
|
||||||
|
page as p,
|
||||||
|
storeHighlightJs as s
|
||||||
|
};
|
||||||
702
out/renderer/client/_app/immutable/entry/app.DwGgyi7V.js
Normal file
702
out/renderer/client/_app/immutable/entry/app.DwGgyi7V.js
Normal file
@@ -0,0 +1,702 @@
|
|||||||
|
function __vite__mapDeps(indexes) {
|
||||||
|
if (!__vite__mapDeps.viteFileDeps) {
|
||||||
|
__vite__mapDeps.viteFileDeps = ["../nodes/0.CbrYeH4U.js","../chunks/scheduler.fBTsnP2i.js","../chunks/index.DdnDjIf5.js","../chunks/each.C9vk03ly.js","../chunks/stores.BRlO1dnN.js","../chunks/index.D97w0myq.js","../chunks/entry.Cs_QM1XO.js","../chunks/Utils.BOVa1qxf.js","../chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","../assets/ProgressBar.DtHVHfix.css","../assets/0.AUToJKdW.css","../nodes/1.B7klP2qO.js","../nodes/2.D_wMgrjg.js","../nodes/3.c32VO2pu.js","../assets/3.BX8UFHul.css","../nodes/4.CkAq_noQ.js","../nodes/5.BGkz_cVr.js","../chunks/Progress.3ESwaKmp.js","../nodes/6.D2b6BEEG.js","../nodes/7.CY3H5TGn.js","../nodes/8.CYfxja1r.js","../nodes/9.D3DEtmXB.js","../nodes/10.BxdKtH0u.js","../nodes/11._qLJ3IUL.js","../nodes/12.BCch80zT.js","../nodes/13.Wd1JvU4U.js"]
|
||||||
|
}
|
||||||
|
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
||||||
|
}
|
||||||
|
import { s as safe_not_equal, a as space, z as empty, f as claim_space, j as insert_hydration, g as detach, M as afterUpdate, p as onMount, e as element, c as claim_element, b as children, i as attr, K as set_style, t as text, d as claim_text, l as set_data, B as binding_callbacks, T as construct_svelte_component, U as tick } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { S as SvelteComponent, i as init, a as transition_out, c as check_outros, t as transition_in, g as group_outros, b as create_component, d as claim_component, m as mount_component, e as destroy_component } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
const scriptRel = "modulepreload";
|
||||||
|
const assetsURL = function(dep, importerUrl) {
|
||||||
|
return new URL(dep, importerUrl).href;
|
||||||
|
};
|
||||||
|
const seen = {};
|
||||||
|
const __vitePreload = function preload(baseModule, deps, importerUrl) {
|
||||||
|
let promise = Promise.resolve();
|
||||||
|
if (deps && deps.length > 0) {
|
||||||
|
const links = document.getElementsByTagName("link");
|
||||||
|
promise = Promise.all(deps.map((dep) => {
|
||||||
|
dep = assetsURL(dep, importerUrl);
|
||||||
|
if (dep in seen)
|
||||||
|
return;
|
||||||
|
seen[dep] = true;
|
||||||
|
const isCss = dep.endsWith(".css");
|
||||||
|
const cssSelector = isCss ? '[rel="stylesheet"]' : "";
|
||||||
|
const isBaseRelative = !!importerUrl;
|
||||||
|
if (isBaseRelative) {
|
||||||
|
for (let i = links.length - 1; i >= 0; i--) {
|
||||||
|
const link2 = links[i];
|
||||||
|
if (link2.href === dep && (!isCss || link2.rel === "stylesheet")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else if (document.querySelector(`link[href="${dep}"]${cssSelector}`)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
const link = document.createElement("link");
|
||||||
|
link.rel = isCss ? "stylesheet" : scriptRel;
|
||||||
|
if (!isCss) {
|
||||||
|
link.as = "script";
|
||||||
|
link.crossOrigin = "";
|
||||||
|
}
|
||||||
|
link.href = dep;
|
||||||
|
document.head.appendChild(link);
|
||||||
|
if (isCss) {
|
||||||
|
return new Promise((res, rej) => {
|
||||||
|
link.addEventListener("load", res);
|
||||||
|
link.addEventListener("error", () => rej(new Error(`Unable to preload CSS for ${dep}`)));
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}));
|
||||||
|
}
|
||||||
|
return promise.then(() => baseModule()).catch((err) => {
|
||||||
|
const e = new Event("vite:preloadError", { cancelable: true });
|
||||||
|
e.payload = err;
|
||||||
|
window.dispatchEvent(e);
|
||||||
|
if (!e.defaultPrevented) {
|
||||||
|
throw err;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
};
|
||||||
|
const matchers = {};
|
||||||
|
function create_else_block(ctx) {
|
||||||
|
let switch_instance;
|
||||||
|
let switch_instance_anchor;
|
||||||
|
let current;
|
||||||
|
var switch_value = (
|
||||||
|
/*constructors*/
|
||||||
|
ctx[1][0]
|
||||||
|
);
|
||||||
|
function switch_props(ctx2, dirty) {
|
||||||
|
let switch_instance_props = {
|
||||||
|
data: (
|
||||||
|
/*data_0*/
|
||||||
|
ctx2[3]
|
||||||
|
),
|
||||||
|
form: (
|
||||||
|
/*form*/
|
||||||
|
ctx2[2]
|
||||||
|
)
|
||||||
|
};
|
||||||
|
return { props: switch_instance_props };
|
||||||
|
}
|
||||||
|
if (switch_value) {
|
||||||
|
switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
|
||||||
|
ctx[12](switch_instance);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
if (switch_instance)
|
||||||
|
create_component(switch_instance.$$.fragment);
|
||||||
|
switch_instance_anchor = empty();
|
||||||
|
},
|
||||||
|
l(nodes2) {
|
||||||
|
if (switch_instance)
|
||||||
|
claim_component(switch_instance.$$.fragment, nodes2);
|
||||||
|
switch_instance_anchor = empty();
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
if (switch_instance)
|
||||||
|
mount_component(switch_instance, target, anchor);
|
||||||
|
insert_hydration(target, switch_instance_anchor, anchor);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*constructors*/
|
||||||
|
2 && switch_value !== (switch_value = /*constructors*/
|
||||||
|
ctx2[1][0])) {
|
||||||
|
if (switch_instance) {
|
||||||
|
group_outros();
|
||||||
|
const old_component = switch_instance;
|
||||||
|
transition_out(old_component.$$.fragment, 1, 0, () => {
|
||||||
|
destroy_component(old_component, 1);
|
||||||
|
});
|
||||||
|
check_outros();
|
||||||
|
}
|
||||||
|
if (switch_value) {
|
||||||
|
switch_instance = construct_svelte_component(switch_value, switch_props(ctx2));
|
||||||
|
ctx2[12](switch_instance);
|
||||||
|
create_component(switch_instance.$$.fragment);
|
||||||
|
transition_in(switch_instance.$$.fragment, 1);
|
||||||
|
mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
|
||||||
|
} else {
|
||||||
|
switch_instance = null;
|
||||||
|
}
|
||||||
|
} else if (switch_value) {
|
||||||
|
const switch_instance_changes = {};
|
||||||
|
if (dirty & /*data_0*/
|
||||||
|
8)
|
||||||
|
switch_instance_changes.data = /*data_0*/
|
||||||
|
ctx2[3];
|
||||||
|
if (dirty & /*form*/
|
||||||
|
4)
|
||||||
|
switch_instance_changes.form = /*form*/
|
||||||
|
ctx2[2];
|
||||||
|
switch_instance.$set(switch_instance_changes);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
if (switch_instance)
|
||||||
|
transition_in(switch_instance.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
if (switch_instance)
|
||||||
|
transition_out(switch_instance.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(switch_instance_anchor);
|
||||||
|
}
|
||||||
|
ctx[12](null);
|
||||||
|
if (switch_instance)
|
||||||
|
destroy_component(switch_instance, detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block_2(ctx) {
|
||||||
|
let switch_instance;
|
||||||
|
let switch_instance_anchor;
|
||||||
|
let current;
|
||||||
|
var switch_value = (
|
||||||
|
/*constructors*/
|
||||||
|
ctx[1][0]
|
||||||
|
);
|
||||||
|
function switch_props(ctx2, dirty) {
|
||||||
|
let switch_instance_props = {
|
||||||
|
data: (
|
||||||
|
/*data_0*/
|
||||||
|
ctx2[3]
|
||||||
|
),
|
||||||
|
$$slots: { default: [create_default_slot] },
|
||||||
|
$$scope: { ctx: ctx2 }
|
||||||
|
};
|
||||||
|
return { props: switch_instance_props };
|
||||||
|
}
|
||||||
|
if (switch_value) {
|
||||||
|
switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
|
||||||
|
ctx[11](switch_instance);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
if (switch_instance)
|
||||||
|
create_component(switch_instance.$$.fragment);
|
||||||
|
switch_instance_anchor = empty();
|
||||||
|
},
|
||||||
|
l(nodes2) {
|
||||||
|
if (switch_instance)
|
||||||
|
claim_component(switch_instance.$$.fragment, nodes2);
|
||||||
|
switch_instance_anchor = empty();
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
if (switch_instance)
|
||||||
|
mount_component(switch_instance, target, anchor);
|
||||||
|
insert_hydration(target, switch_instance_anchor, anchor);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*constructors*/
|
||||||
|
2 && switch_value !== (switch_value = /*constructors*/
|
||||||
|
ctx2[1][0])) {
|
||||||
|
if (switch_instance) {
|
||||||
|
group_outros();
|
||||||
|
const old_component = switch_instance;
|
||||||
|
transition_out(old_component.$$.fragment, 1, 0, () => {
|
||||||
|
destroy_component(old_component, 1);
|
||||||
|
});
|
||||||
|
check_outros();
|
||||||
|
}
|
||||||
|
if (switch_value) {
|
||||||
|
switch_instance = construct_svelte_component(switch_value, switch_props(ctx2));
|
||||||
|
ctx2[11](switch_instance);
|
||||||
|
create_component(switch_instance.$$.fragment);
|
||||||
|
transition_in(switch_instance.$$.fragment, 1);
|
||||||
|
mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
|
||||||
|
} else {
|
||||||
|
switch_instance = null;
|
||||||
|
}
|
||||||
|
} else if (switch_value) {
|
||||||
|
const switch_instance_changes = {};
|
||||||
|
if (dirty & /*data_0*/
|
||||||
|
8)
|
||||||
|
switch_instance_changes.data = /*data_0*/
|
||||||
|
ctx2[3];
|
||||||
|
if (dirty & /*$$scope, constructors, data_1, form, components*/
|
||||||
|
8215) {
|
||||||
|
switch_instance_changes.$$scope = { dirty, ctx: ctx2 };
|
||||||
|
}
|
||||||
|
switch_instance.$set(switch_instance_changes);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
if (switch_instance)
|
||||||
|
transition_in(switch_instance.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
if (switch_instance)
|
||||||
|
transition_out(switch_instance.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(switch_instance_anchor);
|
||||||
|
}
|
||||||
|
ctx[11](null);
|
||||||
|
if (switch_instance)
|
||||||
|
destroy_component(switch_instance, detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_default_slot(ctx) {
|
||||||
|
let switch_instance;
|
||||||
|
let switch_instance_anchor;
|
||||||
|
let current;
|
||||||
|
var switch_value = (
|
||||||
|
/*constructors*/
|
||||||
|
ctx[1][1]
|
||||||
|
);
|
||||||
|
function switch_props(ctx2, dirty) {
|
||||||
|
let switch_instance_props = {
|
||||||
|
data: (
|
||||||
|
/*data_1*/
|
||||||
|
ctx2[4]
|
||||||
|
),
|
||||||
|
form: (
|
||||||
|
/*form*/
|
||||||
|
ctx2[2]
|
||||||
|
)
|
||||||
|
};
|
||||||
|
return { props: switch_instance_props };
|
||||||
|
}
|
||||||
|
if (switch_value) {
|
||||||
|
switch_instance = construct_svelte_component(switch_value, switch_props(ctx));
|
||||||
|
ctx[10](switch_instance);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
if (switch_instance)
|
||||||
|
create_component(switch_instance.$$.fragment);
|
||||||
|
switch_instance_anchor = empty();
|
||||||
|
},
|
||||||
|
l(nodes2) {
|
||||||
|
if (switch_instance)
|
||||||
|
claim_component(switch_instance.$$.fragment, nodes2);
|
||||||
|
switch_instance_anchor = empty();
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
if (switch_instance)
|
||||||
|
mount_component(switch_instance, target, anchor);
|
||||||
|
insert_hydration(target, switch_instance_anchor, anchor);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*constructors*/
|
||||||
|
2 && switch_value !== (switch_value = /*constructors*/
|
||||||
|
ctx2[1][1])) {
|
||||||
|
if (switch_instance) {
|
||||||
|
group_outros();
|
||||||
|
const old_component = switch_instance;
|
||||||
|
transition_out(old_component.$$.fragment, 1, 0, () => {
|
||||||
|
destroy_component(old_component, 1);
|
||||||
|
});
|
||||||
|
check_outros();
|
||||||
|
}
|
||||||
|
if (switch_value) {
|
||||||
|
switch_instance = construct_svelte_component(switch_value, switch_props(ctx2));
|
||||||
|
ctx2[10](switch_instance);
|
||||||
|
create_component(switch_instance.$$.fragment);
|
||||||
|
transition_in(switch_instance.$$.fragment, 1);
|
||||||
|
mount_component(switch_instance, switch_instance_anchor.parentNode, switch_instance_anchor);
|
||||||
|
} else {
|
||||||
|
switch_instance = null;
|
||||||
|
}
|
||||||
|
} else if (switch_value) {
|
||||||
|
const switch_instance_changes = {};
|
||||||
|
if (dirty & /*data_1*/
|
||||||
|
16)
|
||||||
|
switch_instance_changes.data = /*data_1*/
|
||||||
|
ctx2[4];
|
||||||
|
if (dirty & /*form*/
|
||||||
|
4)
|
||||||
|
switch_instance_changes.form = /*form*/
|
||||||
|
ctx2[2];
|
||||||
|
switch_instance.$set(switch_instance_changes);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
if (switch_instance)
|
||||||
|
transition_in(switch_instance.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
if (switch_instance)
|
||||||
|
transition_out(switch_instance.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(switch_instance_anchor);
|
||||||
|
}
|
||||||
|
ctx[10](null);
|
||||||
|
if (switch_instance)
|
||||||
|
destroy_component(switch_instance, detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let if_block = (
|
||||||
|
/*navigated*/
|
||||||
|
ctx[6] && create_if_block_1(ctx)
|
||||||
|
);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
if (if_block)
|
||||||
|
if_block.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes2) {
|
||||||
|
div = claim_element(nodes2, "DIV", {
|
||||||
|
id: true,
|
||||||
|
"aria-live": true,
|
||||||
|
"aria-atomic": true,
|
||||||
|
style: true
|
||||||
|
});
|
||||||
|
var div_nodes = children(div);
|
||||||
|
if (if_block)
|
||||||
|
if_block.l(div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "id", "svelte-announcer");
|
||||||
|
attr(div, "aria-live", "assertive");
|
||||||
|
attr(div, "aria-atomic", "true");
|
||||||
|
set_style(div, "position", "absolute");
|
||||||
|
set_style(div, "left", "0");
|
||||||
|
set_style(div, "top", "0");
|
||||||
|
set_style(div, "clip", "rect(0 0 0 0)");
|
||||||
|
set_style(div, "clip-path", "inset(50%)");
|
||||||
|
set_style(div, "overflow", "hidden");
|
||||||
|
set_style(div, "white-space", "nowrap");
|
||||||
|
set_style(div, "width", "1px");
|
||||||
|
set_style(div, "height", "1px");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
if (if_block)
|
||||||
|
if_block.m(div, null);
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (
|
||||||
|
/*navigated*/
|
||||||
|
ctx2[6]
|
||||||
|
) {
|
||||||
|
if (if_block) {
|
||||||
|
if_block.p(ctx2, dirty);
|
||||||
|
} else {
|
||||||
|
if_block = create_if_block_1(ctx2);
|
||||||
|
if_block.c();
|
||||||
|
if_block.m(div, null);
|
||||||
|
}
|
||||||
|
} else if (if_block) {
|
||||||
|
if_block.d(1);
|
||||||
|
if_block = null;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
if (if_block)
|
||||||
|
if_block.d();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block_1(ctx) {
|
||||||
|
let t;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
t = text(
|
||||||
|
/*title*/
|
||||||
|
ctx[7]
|
||||||
|
);
|
||||||
|
},
|
||||||
|
l(nodes2) {
|
||||||
|
t = claim_text(
|
||||||
|
nodes2,
|
||||||
|
/*title*/
|
||||||
|
ctx[7]
|
||||||
|
);
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, t, anchor);
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*title*/
|
||||||
|
128)
|
||||||
|
set_data(
|
||||||
|
t,
|
||||||
|
/*title*/
|
||||||
|
ctx2[7]
|
||||||
|
);
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(t);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let current_block_type_index;
|
||||||
|
let if_block0;
|
||||||
|
let t;
|
||||||
|
let if_block1_anchor;
|
||||||
|
let current;
|
||||||
|
const if_block_creators = [create_if_block_2, create_else_block];
|
||||||
|
const if_blocks = [];
|
||||||
|
function select_block_type(ctx2, dirty) {
|
||||||
|
if (
|
||||||
|
/*constructors*/
|
||||||
|
ctx2[1][1]
|
||||||
|
)
|
||||||
|
return 0;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
current_block_type_index = select_block_type(ctx);
|
||||||
|
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx);
|
||||||
|
let if_block1 = (
|
||||||
|
/*mounted*/
|
||||||
|
ctx[5] && create_if_block(ctx)
|
||||||
|
);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
if_block0.c();
|
||||||
|
t = space();
|
||||||
|
if (if_block1)
|
||||||
|
if_block1.c();
|
||||||
|
if_block1_anchor = empty();
|
||||||
|
},
|
||||||
|
l(nodes2) {
|
||||||
|
if_block0.l(nodes2);
|
||||||
|
t = claim_space(nodes2);
|
||||||
|
if (if_block1)
|
||||||
|
if_block1.l(nodes2);
|
||||||
|
if_block1_anchor = empty();
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
if_blocks[current_block_type_index].m(target, anchor);
|
||||||
|
insert_hydration(target, t, anchor);
|
||||||
|
if (if_block1)
|
||||||
|
if_block1.m(target, anchor);
|
||||||
|
insert_hydration(target, if_block1_anchor, anchor);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
let previous_block_index = current_block_type_index;
|
||||||
|
current_block_type_index = select_block_type(ctx2);
|
||||||
|
if (current_block_type_index === previous_block_index) {
|
||||||
|
if_blocks[current_block_type_index].p(ctx2, dirty);
|
||||||
|
} else {
|
||||||
|
group_outros();
|
||||||
|
transition_out(if_blocks[previous_block_index], 1, 1, () => {
|
||||||
|
if_blocks[previous_block_index] = null;
|
||||||
|
});
|
||||||
|
check_outros();
|
||||||
|
if_block0 = if_blocks[current_block_type_index];
|
||||||
|
if (!if_block0) {
|
||||||
|
if_block0 = if_blocks[current_block_type_index] = if_block_creators[current_block_type_index](ctx2);
|
||||||
|
if_block0.c();
|
||||||
|
} else {
|
||||||
|
if_block0.p(ctx2, dirty);
|
||||||
|
}
|
||||||
|
transition_in(if_block0, 1);
|
||||||
|
if_block0.m(t.parentNode, t);
|
||||||
|
}
|
||||||
|
if (
|
||||||
|
/*mounted*/
|
||||||
|
ctx2[5]
|
||||||
|
) {
|
||||||
|
if (if_block1) {
|
||||||
|
if_block1.p(ctx2, dirty);
|
||||||
|
} else {
|
||||||
|
if_block1 = create_if_block(ctx2);
|
||||||
|
if_block1.c();
|
||||||
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
||||||
|
}
|
||||||
|
} else if (if_block1) {
|
||||||
|
if_block1.d(1);
|
||||||
|
if_block1 = null;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(if_block0);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(if_block0);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(t);
|
||||||
|
detach(if_block1_anchor);
|
||||||
|
}
|
||||||
|
if_blocks[current_block_type_index].d(detaching);
|
||||||
|
if (if_block1)
|
||||||
|
if_block1.d(detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let { stores } = $$props;
|
||||||
|
let { page } = $$props;
|
||||||
|
let { constructors } = $$props;
|
||||||
|
let { components = [] } = $$props;
|
||||||
|
let { form } = $$props;
|
||||||
|
let { data_0 = null } = $$props;
|
||||||
|
let { data_1 = null } = $$props;
|
||||||
|
afterUpdate(stores.page.notify);
|
||||||
|
let mounted = false;
|
||||||
|
let navigated = false;
|
||||||
|
let title = null;
|
||||||
|
onMount(() => {
|
||||||
|
const unsubscribe = stores.page.subscribe(() => {
|
||||||
|
if (mounted) {
|
||||||
|
$$invalidate(6, navigated = true);
|
||||||
|
tick().then(() => {
|
||||||
|
$$invalidate(7, title = document.title || "untitled page");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$$invalidate(5, mounted = true);
|
||||||
|
return unsubscribe;
|
||||||
|
});
|
||||||
|
function switch_instance_binding($$value) {
|
||||||
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
||||||
|
components[1] = $$value;
|
||||||
|
$$invalidate(0, components);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function switch_instance_binding_1($$value) {
|
||||||
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
||||||
|
components[0] = $$value;
|
||||||
|
$$invalidate(0, components);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function switch_instance_binding_2($$value) {
|
||||||
|
binding_callbacks[$$value ? "unshift" : "push"](() => {
|
||||||
|
components[0] = $$value;
|
||||||
|
$$invalidate(0, components);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("stores" in $$props2)
|
||||||
|
$$invalidate(8, stores = $$props2.stores);
|
||||||
|
if ("page" in $$props2)
|
||||||
|
$$invalidate(9, page = $$props2.page);
|
||||||
|
if ("constructors" in $$props2)
|
||||||
|
$$invalidate(1, constructors = $$props2.constructors);
|
||||||
|
if ("components" in $$props2)
|
||||||
|
$$invalidate(0, components = $$props2.components);
|
||||||
|
if ("form" in $$props2)
|
||||||
|
$$invalidate(2, form = $$props2.form);
|
||||||
|
if ("data_0" in $$props2)
|
||||||
|
$$invalidate(3, data_0 = $$props2.data_0);
|
||||||
|
if ("data_1" in $$props2)
|
||||||
|
$$invalidate(4, data_1 = $$props2.data_1);
|
||||||
|
};
|
||||||
|
$$self.$$.update = () => {
|
||||||
|
if ($$self.$$.dirty & /*stores, page*/
|
||||||
|
768) {
|
||||||
|
stores.page.set(page);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
return [
|
||||||
|
components,
|
||||||
|
constructors,
|
||||||
|
form,
|
||||||
|
data_0,
|
||||||
|
data_1,
|
||||||
|
mounted,
|
||||||
|
navigated,
|
||||||
|
title,
|
||||||
|
stores,
|
||||||
|
page,
|
||||||
|
switch_instance_binding,
|
||||||
|
switch_instance_binding_1,
|
||||||
|
switch_instance_binding_2
|
||||||
|
];
|
||||||
|
}
|
||||||
|
class Root extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, {
|
||||||
|
stores: 8,
|
||||||
|
page: 9,
|
||||||
|
constructors: 1,
|
||||||
|
components: 0,
|
||||||
|
form: 2,
|
||||||
|
data_0: 3,
|
||||||
|
data_1: 4
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const nodes = [
|
||||||
|
() => __vitePreload(() => import("../nodes/0.CbrYeH4U.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/1.B7klP2qO.js"), true ? __vite__mapDeps([11,1,2,3,4,5,6,8,9]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/2.D_wMgrjg.js"), true ? __vite__mapDeps([12,1,2,6,5,8,9]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/3.c32VO2pu.js"), true ? __vite__mapDeps([13,1,2,6,5,14]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/4.CkAq_noQ.js"), true ? __vite__mapDeps([15,1,2]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/5.BGkz_cVr.js"), true ? __vite__mapDeps([16,1,17,2,8,5,9,3,6]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/6.D2b6BEEG.js"), true ? __vite__mapDeps([18,1,3,2]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/7.CY3H5TGn.js"), true ? __vite__mapDeps([19,1,17,2,8,5,9,3,7,6]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/8.CYfxja1r.js"), true ? __vite__mapDeps([20,1,17,2,8,5,9,3,7,6]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/9.D3DEtmXB.js"), true ? __vite__mapDeps([21,1,17,2,8,5,9,3,7,6]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/10.BxdKtH0u.js"), true ? __vite__mapDeps([22,1,17,2,8,5,9,3,7,6]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/11._qLJ3IUL.js"), true ? __vite__mapDeps([23,1,17,2,8,5,9,3,7,6]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/12.BCch80zT.js"), true ? __vite__mapDeps([24,1,17,2,8,5,9,3]) : void 0, import.meta.url),
|
||||||
|
() => __vitePreload(() => import("../nodes/13.Wd1JvU4U.js"), true ? __vite__mapDeps([25,1,2,6,5]) : void 0, import.meta.url)
|
||||||
|
];
|
||||||
|
const server_loads = [0];
|
||||||
|
const dictionary = {
|
||||||
|
"/": [~2],
|
||||||
|
"/callback": [~3],
|
||||||
|
"/home": [~4],
|
||||||
|
"/home/example-form": [~5],
|
||||||
|
"/home/example-pages": [6],
|
||||||
|
"/home/example-pages/inactive-identities-with-access": [~7],
|
||||||
|
"/home/example-pages/list-of-identities": [~8],
|
||||||
|
"/home/example-pages/missing-cloud-life-cycle-state": [~9],
|
||||||
|
"/home/example-pages/source-aggregations": [~10],
|
||||||
|
"/home/example-pages/source-owner-configured": [~11],
|
||||||
|
"/home/form-integration": [~12],
|
||||||
|
"/logout": [~13]
|
||||||
|
};
|
||||||
|
const hooks = {
|
||||||
|
handleError: ({ error }) => {
|
||||||
|
console.error(error);
|
||||||
|
},
|
||||||
|
reroute: () => {
|
||||||
|
}
|
||||||
|
};
|
||||||
|
export {
|
||||||
|
dictionary,
|
||||||
|
hooks,
|
||||||
|
matchers,
|
||||||
|
nodes,
|
||||||
|
Root as root,
|
||||||
|
server_loads
|
||||||
|
};
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
import { b } from "../chunks/entry.Cs_QM1XO.js";
|
||||||
|
export {
|
||||||
|
b as start
|
||||||
|
};
|
||||||
13198
out/renderer/client/_app/immutable/nodes/0.CbrYeH4U.js
Normal file
13198
out/renderer/client/_app/immutable/nodes/0.CbrYeH4U.js
Normal file
File diff suppressed because it is too large
Load Diff
662
out/renderer/client/_app/immutable/nodes/1.B7klP2qO.js
Normal file
662
out/renderer/client/_app/immutable/nodes/1.B7klP2qO.js
Normal file
@@ -0,0 +1,662 @@
|
|||||||
|
import { s as safe_not_equal, e as element, t as text, a as space, c as claim_element, b as children, d as claim_text, f as claim_space, g as detach, h as get_svelte_dataset, i as attr, j as insert_hydration, k as append_hydration, l as set_data, m as component_subscribe, n as destroy_each } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { S as SvelteComponent, i as init, t as transition_in, a as transition_out, c as check_outros, b as create_component, d as claim_component, m as mount_component, e as destroy_component, g as group_outros } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import { e as ensure_array_like } from "../chunks/each.C9vk03ly.js";
|
||||||
|
import { C as CodeBlock, p as page } from "../chunks/stores.BRlO1dnN.js";
|
||||||
|
import "../chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js";
|
||||||
|
function get_each_context(ctx, list, i) {
|
||||||
|
const child_ctx = ctx.slice();
|
||||||
|
child_ctx[1] = list[i];
|
||||||
|
return child_ctx;
|
||||||
|
}
|
||||||
|
function create_if_block_3(ctx) {
|
||||||
|
let p;
|
||||||
|
let t0;
|
||||||
|
let br;
|
||||||
|
let span;
|
||||||
|
let t1_value = (
|
||||||
|
/*$page*/
|
||||||
|
ctx[0].error.message + ""
|
||||||
|
);
|
||||||
|
let t1;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
p = element("p");
|
||||||
|
t0 = text("Message: ");
|
||||||
|
br = element("br");
|
||||||
|
span = element("span");
|
||||||
|
t1 = text(t1_value);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
p = claim_element(nodes, "P", { class: true });
|
||||||
|
var p_nodes = children(p);
|
||||||
|
t0 = claim_text(p_nodes, "Message: ");
|
||||||
|
br = claim_element(p_nodes, "BR", {});
|
||||||
|
span = claim_element(p_nodes, "SPAN", { class: true });
|
||||||
|
var span_nodes = children(span);
|
||||||
|
t1 = claim_text(span_nodes, t1_value);
|
||||||
|
span_nodes.forEach(detach);
|
||||||
|
p_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(span, "class", "text-red-500");
|
||||||
|
attr(p, "class", "py-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, p, anchor);
|
||||||
|
append_hydration(p, t0);
|
||||||
|
append_hydration(p, br);
|
||||||
|
append_hydration(p, span);
|
||||||
|
append_hydration(span, t1);
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*$page*/
|
||||||
|
1 && t1_value !== (t1_value = /*$page*/
|
||||||
|
ctx2[0].error.message + ""))
|
||||||
|
set_data(t1, t1_value);
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(p);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block_2(ctx) {
|
||||||
|
var _a;
|
||||||
|
let p;
|
||||||
|
let textContent = "These links may be helpful:";
|
||||||
|
let t1;
|
||||||
|
let ul;
|
||||||
|
let each_value = ensure_array_like(
|
||||||
|
/*$page*/
|
||||||
|
(_a = ctx[0].error) == null ? void 0 : _a.urls
|
||||||
|
);
|
||||||
|
let each_blocks = [];
|
||||||
|
for (let i = 0; i < each_value.length; i += 1) {
|
||||||
|
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
p = element("p");
|
||||||
|
p.textContent = textContent;
|
||||||
|
t1 = space();
|
||||||
|
ul = element("ul");
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].c();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
p = claim_element(nodes, "P", { ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(p) !== "svelte-cuvqcc")
|
||||||
|
p.textContent = textContent;
|
||||||
|
t1 = claim_space(nodes);
|
||||||
|
ul = claim_element(nodes, "UL", {});
|
||||||
|
var ul_nodes = children(ul);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].l(ul_nodes);
|
||||||
|
}
|
||||||
|
ul_nodes.forEach(detach);
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, p, anchor);
|
||||||
|
insert_hydration(target, t1, anchor);
|
||||||
|
insert_hydration(target, ul, anchor);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].m(ul, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
var _a2;
|
||||||
|
if (dirty & /*$page*/
|
||||||
|
1) {
|
||||||
|
each_value = ensure_array_like(
|
||||||
|
/*$page*/
|
||||||
|
(_a2 = ctx2[0].error) == null ? void 0 : _a2.urls
|
||||||
|
);
|
||||||
|
let i;
|
||||||
|
for (i = 0; i < each_value.length; i += 1) {
|
||||||
|
const child_ctx = get_each_context(ctx2, each_value, i);
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].p(child_ctx, dirty);
|
||||||
|
} else {
|
||||||
|
each_blocks[i] = create_each_block(child_ctx);
|
||||||
|
each_blocks[i].c();
|
||||||
|
each_blocks[i].m(ul, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].d(1);
|
||||||
|
}
|
||||||
|
each_blocks.length = each_value.length;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(p);
|
||||||
|
detach(t1);
|
||||||
|
detach(ul);
|
||||||
|
}
|
||||||
|
destroy_each(each_blocks, detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_each_block(ctx) {
|
||||||
|
let li;
|
||||||
|
let t0;
|
||||||
|
let a;
|
||||||
|
let t1_value = (
|
||||||
|
/*url*/
|
||||||
|
ctx[1] + ""
|
||||||
|
);
|
||||||
|
let t1;
|
||||||
|
let a_href_value;
|
||||||
|
let t2;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
li = element("li");
|
||||||
|
t0 = text("-\r\n ");
|
||||||
|
a = element("a");
|
||||||
|
t1 = text(t1_value);
|
||||||
|
t2 = space();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
li = claim_element(nodes, "LI", {});
|
||||||
|
var li_nodes = children(li);
|
||||||
|
t0 = claim_text(li_nodes, "-\r\n ");
|
||||||
|
a = claim_element(li_nodes, "A", {
|
||||||
|
class: true,
|
||||||
|
href: true,
|
||||||
|
rel: true,
|
||||||
|
target: true
|
||||||
|
});
|
||||||
|
var a_nodes = children(a);
|
||||||
|
t1 = claim_text(a_nodes, t1_value);
|
||||||
|
a_nodes.forEach(detach);
|
||||||
|
t2 = claim_space(li_nodes);
|
||||||
|
li_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(a, "class", "underline text-blue-500 hover:text-blue-700");
|
||||||
|
attr(a, "href", a_href_value = /*url*/
|
||||||
|
ctx[1]);
|
||||||
|
attr(a, "rel", "noreferrer");
|
||||||
|
attr(a, "target", "_blank");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, li, anchor);
|
||||||
|
append_hydration(li, t0);
|
||||||
|
append_hydration(li, a);
|
||||||
|
append_hydration(a, t1);
|
||||||
|
append_hydration(li, t2);
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*$page*/
|
||||||
|
1 && t1_value !== (t1_value = /*url*/
|
||||||
|
ctx2[1] + ""))
|
||||||
|
set_data(t1, t1_value);
|
||||||
|
if (dirty & /*$page*/
|
||||||
|
1 && a_href_value !== (a_href_value = /*url*/
|
||||||
|
ctx2[1])) {
|
||||||
|
attr(a, "href", a_href_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(li);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block_1(ctx) {
|
||||||
|
var _a;
|
||||||
|
let div;
|
||||||
|
let p;
|
||||||
|
let textContent = "Context";
|
||||||
|
let t1;
|
||||||
|
let codeblock;
|
||||||
|
let current;
|
||||||
|
codeblock = new CodeBlock({
|
||||||
|
props: {
|
||||||
|
language: "json",
|
||||||
|
code: JSON.stringify(
|
||||||
|
/*$page*/
|
||||||
|
(_a = ctx[0].error) == null ? void 0 : _a.context,
|
||||||
|
null,
|
||||||
|
4
|
||||||
|
)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
p = element("p");
|
||||||
|
p.textContent = textContent;
|
||||||
|
t1 = space();
|
||||||
|
create_component(codeblock.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
p = claim_element(div_nodes, "P", { ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(p) !== "svelte-18zo72r")
|
||||||
|
p.textContent = textContent;
|
||||||
|
t1 = claim_space(div_nodes);
|
||||||
|
claim_component(codeblock.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "py-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
append_hydration(div, p);
|
||||||
|
append_hydration(div, t1);
|
||||||
|
mount_component(codeblock, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
var _a2;
|
||||||
|
const codeblock_changes = {};
|
||||||
|
if (dirty & /*$page*/
|
||||||
|
1)
|
||||||
|
codeblock_changes.code = JSON.stringify(
|
||||||
|
/*$page*/
|
||||||
|
(_a2 = ctx2[0].error) == null ? void 0 : _a2.context,
|
||||||
|
null,
|
||||||
|
4
|
||||||
|
);
|
||||||
|
codeblock.$set(codeblock_changes);
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(codeblock.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(codeblock.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_component(codeblock);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block(ctx) {
|
||||||
|
var _a;
|
||||||
|
let div;
|
||||||
|
let p;
|
||||||
|
let textContent = "Error Data";
|
||||||
|
let t1;
|
||||||
|
let codeblock;
|
||||||
|
let current;
|
||||||
|
codeblock = new CodeBlock({
|
||||||
|
props: {
|
||||||
|
language: "json",
|
||||||
|
code: JSON.stringify(
|
||||||
|
/*$page*/
|
||||||
|
(_a = ctx[0].error) == null ? void 0 : _a.errData,
|
||||||
|
null,
|
||||||
|
4
|
||||||
|
)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
p = element("p");
|
||||||
|
p.textContent = textContent;
|
||||||
|
t1 = space();
|
||||||
|
create_component(codeblock.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
p = claim_element(div_nodes, "P", { ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(p) !== "svelte-1i80aqe")
|
||||||
|
p.textContent = textContent;
|
||||||
|
t1 = claim_space(div_nodes);
|
||||||
|
claim_component(codeblock.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "pt-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
append_hydration(div, p);
|
||||||
|
append_hydration(div, t1);
|
||||||
|
mount_component(codeblock, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
var _a2;
|
||||||
|
const codeblock_changes = {};
|
||||||
|
if (dirty & /*$page*/
|
||||||
|
1)
|
||||||
|
codeblock_changes.code = JSON.stringify(
|
||||||
|
/*$page*/
|
||||||
|
(_a2 = ctx2[0].error) == null ? void 0 : _a2.errData,
|
||||||
|
null,
|
||||||
|
4
|
||||||
|
);
|
||||||
|
codeblock.$set(codeblock_changes);
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(codeblock.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(codeblock.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_component(codeblock);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
var _a, _b, _c, _d;
|
||||||
|
let div1;
|
||||||
|
let div0;
|
||||||
|
let p;
|
||||||
|
let t0;
|
||||||
|
let br0;
|
||||||
|
let t1;
|
||||||
|
let span;
|
||||||
|
let t2;
|
||||||
|
let t3_value = (
|
||||||
|
/*$page*/
|
||||||
|
ctx[0].status + ""
|
||||||
|
);
|
||||||
|
let t3;
|
||||||
|
let t4;
|
||||||
|
let t5;
|
||||||
|
let br1;
|
||||||
|
let t6;
|
||||||
|
let a;
|
||||||
|
let textContent = "GitHub";
|
||||||
|
let t8;
|
||||||
|
let t9;
|
||||||
|
let t10;
|
||||||
|
let t11;
|
||||||
|
let current;
|
||||||
|
let if_block0 = (
|
||||||
|
/*$page*/
|
||||||
|
((_a = ctx[0].error) == null ? void 0 : _a.message) && create_if_block_3(ctx)
|
||||||
|
);
|
||||||
|
let if_block1 = (
|
||||||
|
/*$page*/
|
||||||
|
((_b = ctx[0].error) == null ? void 0 : _b.urls) && create_if_block_2(ctx)
|
||||||
|
);
|
||||||
|
let if_block2 = (
|
||||||
|
/*$page*/
|
||||||
|
((_c = ctx[0].error) == null ? void 0 : _c.context) && create_if_block_1(ctx)
|
||||||
|
);
|
||||||
|
let if_block3 = (
|
||||||
|
/*$page*/
|
||||||
|
((_d = ctx[0].error) == null ? void 0 : _d.errData) && create_if_block(ctx)
|
||||||
|
);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div1 = element("div");
|
||||||
|
div0 = element("div");
|
||||||
|
p = element("p");
|
||||||
|
t0 = text("WHOOPS! ");
|
||||||
|
br0 = element("br");
|
||||||
|
t1 = space();
|
||||||
|
span = element("span");
|
||||||
|
t2 = text("a ");
|
||||||
|
t3 = text(t3_value);
|
||||||
|
t4 = text(" error occurred.");
|
||||||
|
t5 = space();
|
||||||
|
br1 = element("br");
|
||||||
|
t6 = text(" If\r\n you believe this is a bug please submit an issue on\r\n ");
|
||||||
|
a = element("a");
|
||||||
|
a.textContent = textContent;
|
||||||
|
t8 = space();
|
||||||
|
if (if_block0)
|
||||||
|
if_block0.c();
|
||||||
|
t9 = space();
|
||||||
|
if (if_block1)
|
||||||
|
if_block1.c();
|
||||||
|
t10 = space();
|
||||||
|
if (if_block2)
|
||||||
|
if_block2.c();
|
||||||
|
t11 = space();
|
||||||
|
if (if_block3)
|
||||||
|
if_block3.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div1 = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div1_nodes = children(div1);
|
||||||
|
div0 = claim_element(div1_nodes, "DIV", { class: true });
|
||||||
|
var div0_nodes = children(div0);
|
||||||
|
p = claim_element(div0_nodes, "P", { class: true });
|
||||||
|
var p_nodes = children(p);
|
||||||
|
t0 = claim_text(p_nodes, "WHOOPS! ");
|
||||||
|
br0 = claim_element(p_nodes, "BR", {});
|
||||||
|
t1 = claim_space(p_nodes);
|
||||||
|
span = claim_element(p_nodes, "SPAN", { class: true });
|
||||||
|
var span_nodes = children(span);
|
||||||
|
t2 = claim_text(span_nodes, "a ");
|
||||||
|
t3 = claim_text(span_nodes, t3_value);
|
||||||
|
t4 = claim_text(span_nodes, " error occurred.");
|
||||||
|
span_nodes.forEach(detach);
|
||||||
|
t5 = claim_space(p_nodes);
|
||||||
|
br1 = claim_element(p_nodes, "BR", {});
|
||||||
|
t6 = claim_text(p_nodes, " If\r\n you believe this is a bug please submit an issue on\r\n ");
|
||||||
|
a = claim_element(p_nodes, "A", {
|
||||||
|
class: true,
|
||||||
|
href: true,
|
||||||
|
rel: true,
|
||||||
|
target: true,
|
||||||
|
["data-svelte-h"]: true
|
||||||
|
});
|
||||||
|
if (get_svelte_dataset(a) !== "svelte-1q72bt6")
|
||||||
|
a.textContent = textContent;
|
||||||
|
p_nodes.forEach(detach);
|
||||||
|
t8 = claim_space(div0_nodes);
|
||||||
|
if (if_block0)
|
||||||
|
if_block0.l(div0_nodes);
|
||||||
|
t9 = claim_space(div0_nodes);
|
||||||
|
if (if_block1)
|
||||||
|
if_block1.l(div0_nodes);
|
||||||
|
t10 = claim_space(div0_nodes);
|
||||||
|
if (if_block2)
|
||||||
|
if_block2.l(div0_nodes);
|
||||||
|
t11 = claim_space(div0_nodes);
|
||||||
|
if (if_block3)
|
||||||
|
if_block3.l(div0_nodes);
|
||||||
|
div0_nodes.forEach(detach);
|
||||||
|
div1_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(span, "class", "text-red-500");
|
||||||
|
attr(a, "class", "underline text-blue-500 hover:text-blue-700");
|
||||||
|
attr(a, "href", "https://github.com/sailpoint-oss/idn-admin-console/issues/new/choose");
|
||||||
|
attr(a, "rel", "noreferrer");
|
||||||
|
attr(a, "target", "_blank");
|
||||||
|
attr(p, "class", "text-center p-2");
|
||||||
|
attr(div0, "class", "card p-4");
|
||||||
|
attr(div1, "class", "p-4");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div1, anchor);
|
||||||
|
append_hydration(div1, div0);
|
||||||
|
append_hydration(div0, p);
|
||||||
|
append_hydration(p, t0);
|
||||||
|
append_hydration(p, br0);
|
||||||
|
append_hydration(p, t1);
|
||||||
|
append_hydration(p, span);
|
||||||
|
append_hydration(span, t2);
|
||||||
|
append_hydration(span, t3);
|
||||||
|
append_hydration(span, t4);
|
||||||
|
append_hydration(p, t5);
|
||||||
|
append_hydration(p, br1);
|
||||||
|
append_hydration(p, t6);
|
||||||
|
append_hydration(p, a);
|
||||||
|
append_hydration(div0, t8);
|
||||||
|
if (if_block0)
|
||||||
|
if_block0.m(div0, null);
|
||||||
|
append_hydration(div0, t9);
|
||||||
|
if (if_block1)
|
||||||
|
if_block1.m(div0, null);
|
||||||
|
append_hydration(div0, t10);
|
||||||
|
if (if_block2)
|
||||||
|
if_block2.m(div0, null);
|
||||||
|
append_hydration(div0, t11);
|
||||||
|
if (if_block3)
|
||||||
|
if_block3.m(div0, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
var _a2, _b2, _c2, _d2;
|
||||||
|
if ((!current || dirty & /*$page*/
|
||||||
|
1) && t3_value !== (t3_value = /*$page*/
|
||||||
|
ctx2[0].status + ""))
|
||||||
|
set_data(t3, t3_value);
|
||||||
|
if (
|
||||||
|
/*$page*/
|
||||||
|
(_a2 = ctx2[0].error) == null ? void 0 : _a2.message
|
||||||
|
) {
|
||||||
|
if (if_block0) {
|
||||||
|
if_block0.p(ctx2, dirty);
|
||||||
|
} else {
|
||||||
|
if_block0 = create_if_block_3(ctx2);
|
||||||
|
if_block0.c();
|
||||||
|
if_block0.m(div0, t9);
|
||||||
|
}
|
||||||
|
} else if (if_block0) {
|
||||||
|
if_block0.d(1);
|
||||||
|
if_block0 = null;
|
||||||
|
}
|
||||||
|
if (
|
||||||
|
/*$page*/
|
||||||
|
(_b2 = ctx2[0].error) == null ? void 0 : _b2.urls
|
||||||
|
) {
|
||||||
|
if (if_block1) {
|
||||||
|
if_block1.p(ctx2, dirty);
|
||||||
|
} else {
|
||||||
|
if_block1 = create_if_block_2(ctx2);
|
||||||
|
if_block1.c();
|
||||||
|
if_block1.m(div0, t10);
|
||||||
|
}
|
||||||
|
} else if (if_block1) {
|
||||||
|
if_block1.d(1);
|
||||||
|
if_block1 = null;
|
||||||
|
}
|
||||||
|
if (
|
||||||
|
/*$page*/
|
||||||
|
(_c2 = ctx2[0].error) == null ? void 0 : _c2.context
|
||||||
|
) {
|
||||||
|
if (if_block2) {
|
||||||
|
if_block2.p(ctx2, dirty);
|
||||||
|
if (dirty & /*$page*/
|
||||||
|
1) {
|
||||||
|
transition_in(if_block2, 1);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if_block2 = create_if_block_1(ctx2);
|
||||||
|
if_block2.c();
|
||||||
|
transition_in(if_block2, 1);
|
||||||
|
if_block2.m(div0, t11);
|
||||||
|
}
|
||||||
|
} else if (if_block2) {
|
||||||
|
group_outros();
|
||||||
|
transition_out(if_block2, 1, 1, () => {
|
||||||
|
if_block2 = null;
|
||||||
|
});
|
||||||
|
check_outros();
|
||||||
|
}
|
||||||
|
if (
|
||||||
|
/*$page*/
|
||||||
|
(_d2 = ctx2[0].error) == null ? void 0 : _d2.errData
|
||||||
|
) {
|
||||||
|
if (if_block3) {
|
||||||
|
if_block3.p(ctx2, dirty);
|
||||||
|
if (dirty & /*$page*/
|
||||||
|
1) {
|
||||||
|
transition_in(if_block3, 1);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
if_block3 = create_if_block(ctx2);
|
||||||
|
if_block3.c();
|
||||||
|
transition_in(if_block3, 1);
|
||||||
|
if_block3.m(div0, null);
|
||||||
|
}
|
||||||
|
} else if (if_block3) {
|
||||||
|
group_outros();
|
||||||
|
transition_out(if_block3, 1, 1, () => {
|
||||||
|
if_block3 = null;
|
||||||
|
});
|
||||||
|
check_outros();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(if_block2);
|
||||||
|
transition_in(if_block3);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(if_block2);
|
||||||
|
transition_out(if_block3);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div1);
|
||||||
|
}
|
||||||
|
if (if_block0)
|
||||||
|
if_block0.d();
|
||||||
|
if (if_block1)
|
||||||
|
if_block1.d();
|
||||||
|
if (if_block2)
|
||||||
|
if_block2.d();
|
||||||
|
if (if_block3)
|
||||||
|
if_block3.d();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let $page;
|
||||||
|
component_subscribe($$self, page, ($$value) => $$invalidate(0, $page = $$value));
|
||||||
|
$$self.$$.update = () => {
|
||||||
|
if ($$self.$$.dirty & /*$page*/
|
||||||
|
1) {
|
||||||
|
console.log($page);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
return [$page];
|
||||||
|
}
|
||||||
|
class Error extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Error as component
|
||||||
|
};
|
||||||
977
out/renderer/client/_app/immutable/nodes/10.BxdKtH0u.js
Normal file
977
out/renderer/client/_app/immutable/nodes/10.BxdKtH0u.js
Normal file
@@ -0,0 +1,977 @@
|
|||||||
|
import { s as safe_not_equal, e as element, a as space, c as claim_element, b as children, h as get_svelte_dataset, f as claim_space, g as detach, i as attr, j as insert_hydration, k as append_hydration, o as noop, n as destroy_each, t as text, d as claim_text, A as toggle_class, l as set_data, x as listen, y as run_all } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { h as handle_promise, u as update_await_block_branch, P as Progress } from "../chunks/Progress.3ESwaKmp.js";
|
||||||
|
import { e as ensure_array_like } from "../chunks/each.C9vk03ly.js";
|
||||||
|
import { S as SvelteComponent, i as init, t as transition_in, a as transition_out, g as group_outros, c as check_outros, b as create_component, d as claim_component, m as mount_component, e as destroy_component } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import { g as getModalStore, T as TriggerCodeModal, f as formatDate } from "../chunks/Utils.BOVa1qxf.js";
|
||||||
|
import "../chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js";
|
||||||
|
function get_each_context(ctx, list, i) {
|
||||||
|
const child_ctx = ctx.slice();
|
||||||
|
child_ctx[7] = list[i];
|
||||||
|
return child_ctx;
|
||||||
|
}
|
||||||
|
function create_catch_block_2(ctx) {
|
||||||
|
return {
|
||||||
|
c: noop,
|
||||||
|
l: noop,
|
||||||
|
m: noop,
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d: noop
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_then_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let table;
|
||||||
|
let thead;
|
||||||
|
let textContent = `<th>Source Name</th> <th>Type</th> <th>Authoritative</th> <th>Account Aggregations</th> <th>Entitlement Aggregations</th>`;
|
||||||
|
let t9;
|
||||||
|
let tbody;
|
||||||
|
let current;
|
||||||
|
let each_value = ensure_array_like(
|
||||||
|
/*sources*/
|
||||||
|
ctx[6]
|
||||||
|
);
|
||||||
|
let each_blocks = [];
|
||||||
|
for (let i = 0; i < each_value.length; i += 1) {
|
||||||
|
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
||||||
|
}
|
||||||
|
const out = (i) => transition_out(each_blocks[i], 1, 1, () => {
|
||||||
|
each_blocks[i] = null;
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
table = element("table");
|
||||||
|
thead = element("thead");
|
||||||
|
thead.innerHTML = textContent;
|
||||||
|
t9 = space();
|
||||||
|
tbody = element("tbody");
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].c();
|
||||||
|
}
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
table = claim_element(div_nodes, "TABLE", { class: true });
|
||||||
|
var table_nodes = children(table);
|
||||||
|
thead = claim_element(table_nodes, "THEAD", { ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(thead) !== "svelte-gj53un")
|
||||||
|
thead.innerHTML = textContent;
|
||||||
|
t9 = claim_space(table_nodes);
|
||||||
|
tbody = claim_element(table_nodes, "TBODY", {});
|
||||||
|
var tbody_nodes = children(tbody);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].l(tbody_nodes);
|
||||||
|
}
|
||||||
|
tbody_nodes.forEach(detach);
|
||||||
|
table_nodes.forEach(detach);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(table, "class", "table");
|
||||||
|
attr(div, "class", "table-container");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
append_hydration(div, table);
|
||||||
|
append_hydration(table, thead);
|
||||||
|
append_hydration(table, t9);
|
||||||
|
append_hydration(table, tbody);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].m(tbody, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*data, modalStore*/
|
||||||
|
3) {
|
||||||
|
each_value = ensure_array_like(
|
||||||
|
/*sources*/
|
||||||
|
ctx2[6]
|
||||||
|
);
|
||||||
|
let i;
|
||||||
|
for (i = 0; i < each_value.length; i += 1) {
|
||||||
|
const child_ctx = get_each_context(ctx2, each_value, i);
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].p(child_ctx, dirty);
|
||||||
|
transition_in(each_blocks[i], 1);
|
||||||
|
} else {
|
||||||
|
each_blocks[i] = create_each_block(child_ctx);
|
||||||
|
each_blocks[i].c();
|
||||||
|
transition_in(each_blocks[i], 1);
|
||||||
|
each_blocks[i].m(tbody, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
group_outros();
|
||||||
|
for (i = each_value.length; i < each_blocks.length; i += 1) {
|
||||||
|
out(i);
|
||||||
|
}
|
||||||
|
check_outros();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
for (let i = 0; i < each_value.length; i += 1) {
|
||||||
|
transition_in(each_blocks[i]);
|
||||||
|
}
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
each_blocks = each_blocks.filter(Boolean);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
transition_out(each_blocks[i]);
|
||||||
|
}
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_each(each_blocks, detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_catch_block_1(ctx) {
|
||||||
|
return {
|
||||||
|
c: noop,
|
||||||
|
l: noop,
|
||||||
|
m: noop,
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d: noop
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_then_block_2(ctx) {
|
||||||
|
var _a, _b, _c, _d;
|
||||||
|
let td;
|
||||||
|
let div;
|
||||||
|
let button0;
|
||||||
|
let t0;
|
||||||
|
let t1_value = formatDate(
|
||||||
|
/*eventsMap*/
|
||||||
|
(_b = (_a = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _a.accounts.started) == null ? void 0 : _b.created
|
||||||
|
) + "";
|
||||||
|
let t1;
|
||||||
|
let button0_disabled_value;
|
||||||
|
let t2;
|
||||||
|
let button1;
|
||||||
|
let t3;
|
||||||
|
let t4_value = formatDate(
|
||||||
|
/*eventsMap*/
|
||||||
|
(_d = (_c = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _c.accounts.passed) == null ? void 0 : _d.created
|
||||||
|
) + "";
|
||||||
|
let t4;
|
||||||
|
let button1_disabled_value;
|
||||||
|
let mounted;
|
||||||
|
let dispose;
|
||||||
|
function click_handler() {
|
||||||
|
return (
|
||||||
|
/*click_handler*/
|
||||||
|
ctx[2](
|
||||||
|
/*eventsMap*/
|
||||||
|
ctx[10],
|
||||||
|
/*source*/
|
||||||
|
ctx[7]
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function click_handler_1() {
|
||||||
|
return (
|
||||||
|
/*click_handler_1*/
|
||||||
|
ctx[3](
|
||||||
|
/*eventsMap*/
|
||||||
|
ctx[10],
|
||||||
|
/*source*/
|
||||||
|
ctx[7]
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
td = element("td");
|
||||||
|
div = element("div");
|
||||||
|
button0 = element("button");
|
||||||
|
t0 = text("Started: ");
|
||||||
|
t1 = text(t1_value);
|
||||||
|
t2 = space();
|
||||||
|
button1 = element("button");
|
||||||
|
t3 = text("Passed: ");
|
||||||
|
t4 = text(t4_value);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
td = claim_element(nodes, "TD", {});
|
||||||
|
var td_nodes = children(td);
|
||||||
|
div = claim_element(td_nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
button0 = claim_element(div_nodes, "BUTTON", { class: true });
|
||||||
|
var button0_nodes = children(button0);
|
||||||
|
t0 = claim_text(button0_nodes, "Started: ");
|
||||||
|
t1 = claim_text(button0_nodes, t1_value);
|
||||||
|
button0_nodes.forEach(detach);
|
||||||
|
t2 = claim_space(div_nodes);
|
||||||
|
button1 = claim_element(div_nodes, "BUTTON", { class: true });
|
||||||
|
var button1_nodes = children(button1);
|
||||||
|
t3 = claim_text(button1_nodes, "Passed: ");
|
||||||
|
t4 = claim_text(button1_nodes, t4_value);
|
||||||
|
button1_nodes.forEach(detach);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
td_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
var _a2, _b2;
|
||||||
|
button0.disabled = button0_disabled_value = !/*eventsMap*/
|
||||||
|
((_a2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _a2.accounts.started);
|
||||||
|
attr(button0, "class", "btn btn-sm variant-filled-primary text-sm !text-white");
|
||||||
|
attr(button1, "class", "btn btn-sm variant-filled");
|
||||||
|
button1.disabled = button1_disabled_value = !/*eventsMap*/
|
||||||
|
((_b2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _b2.accounts.passed);
|
||||||
|
attr(div, "class", "flex flex-col gap-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, td, anchor);
|
||||||
|
append_hydration(td, div);
|
||||||
|
append_hydration(div, button0);
|
||||||
|
append_hydration(button0, t0);
|
||||||
|
append_hydration(button0, t1);
|
||||||
|
append_hydration(div, t2);
|
||||||
|
append_hydration(div, button1);
|
||||||
|
append_hydration(button1, t3);
|
||||||
|
append_hydration(button1, t4);
|
||||||
|
if (!mounted) {
|
||||||
|
dispose = [
|
||||||
|
listen(button0, "click", click_handler),
|
||||||
|
listen(button1, "click", click_handler_1)
|
||||||
|
];
|
||||||
|
mounted = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(new_ctx, dirty) {
|
||||||
|
var _a2, _b2, _c2, _d2, _e, _f;
|
||||||
|
ctx = new_ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t1_value !== (t1_value = formatDate(
|
||||||
|
/*eventsMap*/
|
||||||
|
(_b2 = (_a2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _a2.accounts.started) == null ? void 0 : _b2.created
|
||||||
|
) + ""))
|
||||||
|
set_data(t1, t1_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && button0_disabled_value !== (button0_disabled_value = !/*eventsMap*/
|
||||||
|
((_c2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _c2.accounts.started))) {
|
||||||
|
button0.disabled = button0_disabled_value;
|
||||||
|
}
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t4_value !== (t4_value = formatDate(
|
||||||
|
/*eventsMap*/
|
||||||
|
(_e = (_d2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _d2.accounts.passed) == null ? void 0 : _e.created
|
||||||
|
) + ""))
|
||||||
|
set_data(t4, t4_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && button1_disabled_value !== (button1_disabled_value = !/*eventsMap*/
|
||||||
|
((_f = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _f.accounts.passed))) {
|
||||||
|
button1.disabled = button1_disabled_value;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(td);
|
||||||
|
}
|
||||||
|
mounted = false;
|
||||||
|
run_all(dispose);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_pending_block_2(ctx) {
|
||||||
|
let td;
|
||||||
|
let div;
|
||||||
|
let progress;
|
||||||
|
let current;
|
||||||
|
progress = new Progress({ props: { width: "w-[80px]" } });
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
td = element("td");
|
||||||
|
div = element("div");
|
||||||
|
create_component(progress.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
td = claim_element(nodes, "TD", {});
|
||||||
|
var td_nodes = children(td);
|
||||||
|
div = claim_element(td_nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
claim_component(progress.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
td_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "grid place-content-center");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, td, anchor);
|
||||||
|
append_hydration(td, div);
|
||||||
|
mount_component(progress, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(progress.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(progress.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(td);
|
||||||
|
}
|
||||||
|
destroy_component(progress);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_catch_block(ctx) {
|
||||||
|
return {
|
||||||
|
c: noop,
|
||||||
|
l: noop,
|
||||||
|
m: noop,
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d: noop
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_then_block_1(ctx) {
|
||||||
|
var _a, _b, _c, _d;
|
||||||
|
let td;
|
||||||
|
let div;
|
||||||
|
let button0;
|
||||||
|
let t0;
|
||||||
|
let t1_value = formatDate(
|
||||||
|
/*eventsMap*/
|
||||||
|
(_b = (_a = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _a.entitlements.started) == null ? void 0 : _b.created
|
||||||
|
) + "";
|
||||||
|
let t1;
|
||||||
|
let button0_disabled_value;
|
||||||
|
let t2;
|
||||||
|
let button1;
|
||||||
|
let t3;
|
||||||
|
let t4_value = formatDate(
|
||||||
|
/*eventsMap*/
|
||||||
|
(_d = (_c = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _c.entitlements.passed) == null ? void 0 : _d.created
|
||||||
|
) + "";
|
||||||
|
let t4;
|
||||||
|
let button1_disabled_value;
|
||||||
|
let mounted;
|
||||||
|
let dispose;
|
||||||
|
function click_handler_2() {
|
||||||
|
return (
|
||||||
|
/*click_handler_2*/
|
||||||
|
ctx[4](
|
||||||
|
/*eventsMap*/
|
||||||
|
ctx[10],
|
||||||
|
/*source*/
|
||||||
|
ctx[7]
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function click_handler_3() {
|
||||||
|
return (
|
||||||
|
/*click_handler_3*/
|
||||||
|
ctx[5](
|
||||||
|
/*eventsMap*/
|
||||||
|
ctx[10],
|
||||||
|
/*source*/
|
||||||
|
ctx[7]
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
td = element("td");
|
||||||
|
div = element("div");
|
||||||
|
button0 = element("button");
|
||||||
|
t0 = text("Started: ");
|
||||||
|
t1 = text(t1_value);
|
||||||
|
t2 = space();
|
||||||
|
button1 = element("button");
|
||||||
|
t3 = text("Passed: ");
|
||||||
|
t4 = text(t4_value);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
td = claim_element(nodes, "TD", {});
|
||||||
|
var td_nodes = children(td);
|
||||||
|
div = claim_element(td_nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
button0 = claim_element(div_nodes, "BUTTON", { class: true });
|
||||||
|
var button0_nodes = children(button0);
|
||||||
|
t0 = claim_text(button0_nodes, "Started: ");
|
||||||
|
t1 = claim_text(button0_nodes, t1_value);
|
||||||
|
button0_nodes.forEach(detach);
|
||||||
|
t2 = claim_space(div_nodes);
|
||||||
|
button1 = claim_element(div_nodes, "BUTTON", { class: true });
|
||||||
|
var button1_nodes = children(button1);
|
||||||
|
t3 = claim_text(button1_nodes, "Passed: ");
|
||||||
|
t4 = claim_text(button1_nodes, t4_value);
|
||||||
|
button1_nodes.forEach(detach);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
td_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
var _a2, _b2;
|
||||||
|
attr(button0, "class", "btn btn-sm variant-filled-primary text-sm !text-white");
|
||||||
|
button0.disabled = button0_disabled_value = !/*eventsMap*/
|
||||||
|
((_a2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _a2.entitlements.started);
|
||||||
|
attr(button1, "class", "btn btn-sm variant-filled");
|
||||||
|
button1.disabled = button1_disabled_value = !/*eventsMap*/
|
||||||
|
((_b2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _b2.entitlements.passed);
|
||||||
|
attr(div, "class", "flex flex-col gap-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, td, anchor);
|
||||||
|
append_hydration(td, div);
|
||||||
|
append_hydration(div, button0);
|
||||||
|
append_hydration(button0, t0);
|
||||||
|
append_hydration(button0, t1);
|
||||||
|
append_hydration(div, t2);
|
||||||
|
append_hydration(div, button1);
|
||||||
|
append_hydration(button1, t3);
|
||||||
|
append_hydration(button1, t4);
|
||||||
|
if (!mounted) {
|
||||||
|
dispose = [
|
||||||
|
listen(button0, "click", click_handler_2),
|
||||||
|
listen(button1, "click", click_handler_3)
|
||||||
|
];
|
||||||
|
mounted = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(new_ctx, dirty) {
|
||||||
|
var _a2, _b2, _c2, _d2, _e, _f;
|
||||||
|
ctx = new_ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t1_value !== (t1_value = formatDate(
|
||||||
|
/*eventsMap*/
|
||||||
|
(_b2 = (_a2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _a2.entitlements.started) == null ? void 0 : _b2.created
|
||||||
|
) + ""))
|
||||||
|
set_data(t1, t1_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && button0_disabled_value !== (button0_disabled_value = !/*eventsMap*/
|
||||||
|
((_c2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _c2.entitlements.started))) {
|
||||||
|
button0.disabled = button0_disabled_value;
|
||||||
|
}
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t4_value !== (t4_value = formatDate(
|
||||||
|
/*eventsMap*/
|
||||||
|
(_e = (_d2 = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _d2.entitlements.passed) == null ? void 0 : _e.created
|
||||||
|
) + ""))
|
||||||
|
set_data(t4, t4_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && button1_disabled_value !== (button1_disabled_value = !/*eventsMap*/
|
||||||
|
((_f = ctx[10].get(
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name
|
||||||
|
)) == null ? void 0 : _f.entitlements.passed))) {
|
||||||
|
button1.disabled = button1_disabled_value;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(td);
|
||||||
|
}
|
||||||
|
mounted = false;
|
||||||
|
run_all(dispose);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_pending_block_1(ctx) {
|
||||||
|
let td;
|
||||||
|
let div;
|
||||||
|
let progress;
|
||||||
|
let current;
|
||||||
|
progress = new Progress({ props: { width: "w-[80px]" } });
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
td = element("td");
|
||||||
|
div = element("div");
|
||||||
|
create_component(progress.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
td = claim_element(nodes, "TD", {});
|
||||||
|
var td_nodes = children(td);
|
||||||
|
div = claim_element(td_nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
claim_component(progress.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
td_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "grid place-content-center");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, td, anchor);
|
||||||
|
append_hydration(td, div);
|
||||||
|
mount_component(progress, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(progress.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(progress.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(td);
|
||||||
|
}
|
||||||
|
destroy_component(progress);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_each_block(ctx) {
|
||||||
|
let tr;
|
||||||
|
let td0;
|
||||||
|
let t0_value = (
|
||||||
|
/*source*/
|
||||||
|
ctx[7].name + ""
|
||||||
|
);
|
||||||
|
let t0;
|
||||||
|
let t1;
|
||||||
|
let td1;
|
||||||
|
let t2_value = (
|
||||||
|
/*source*/
|
||||||
|
ctx[7].type + ""
|
||||||
|
);
|
||||||
|
let t2;
|
||||||
|
let t3;
|
||||||
|
let td2;
|
||||||
|
let t4_value = (
|
||||||
|
/*source*/
|
||||||
|
ctx[7].authoritative ? "True" : "False"
|
||||||
|
);
|
||||||
|
let t4;
|
||||||
|
let t5;
|
||||||
|
let promise;
|
||||||
|
let t6;
|
||||||
|
let promise_1;
|
||||||
|
let t7;
|
||||||
|
let current;
|
||||||
|
let info = {
|
||||||
|
ctx,
|
||||||
|
current: null,
|
||||||
|
token: null,
|
||||||
|
hasCatch: false,
|
||||||
|
pending: create_pending_block_2,
|
||||||
|
then: create_then_block_2,
|
||||||
|
catch: create_catch_block_1,
|
||||||
|
value: 10,
|
||||||
|
blocks: [, , ,]
|
||||||
|
};
|
||||||
|
handle_promise(promise = /*data*/
|
||||||
|
ctx[0].eventsMap, info);
|
||||||
|
let info_1 = {
|
||||||
|
ctx,
|
||||||
|
current: null,
|
||||||
|
token: null,
|
||||||
|
hasCatch: false,
|
||||||
|
pending: create_pending_block_1,
|
||||||
|
then: create_then_block_1,
|
||||||
|
catch: create_catch_block,
|
||||||
|
value: 10,
|
||||||
|
blocks: [, , ,]
|
||||||
|
};
|
||||||
|
handle_promise(promise_1 = /*data*/
|
||||||
|
ctx[0].eventsMap, info_1);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
tr = element("tr");
|
||||||
|
td0 = element("td");
|
||||||
|
t0 = text(t0_value);
|
||||||
|
t1 = space();
|
||||||
|
td1 = element("td");
|
||||||
|
t2 = text(t2_value);
|
||||||
|
t3 = space();
|
||||||
|
td2 = element("td");
|
||||||
|
t4 = text(t4_value);
|
||||||
|
t5 = space();
|
||||||
|
info.block.c();
|
||||||
|
t6 = space();
|
||||||
|
info_1.block.c();
|
||||||
|
t7 = space();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
tr = claim_element(nodes, "TR", {});
|
||||||
|
var tr_nodes = children(tr);
|
||||||
|
td0 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td0_nodes = children(td0);
|
||||||
|
t0 = claim_text(td0_nodes, t0_value);
|
||||||
|
td0_nodes.forEach(detach);
|
||||||
|
t1 = claim_space(tr_nodes);
|
||||||
|
td1 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td1_nodes = children(td1);
|
||||||
|
t2 = claim_text(td1_nodes, t2_value);
|
||||||
|
td1_nodes.forEach(detach);
|
||||||
|
t3 = claim_space(tr_nodes);
|
||||||
|
td2 = claim_element(tr_nodes, "TD", { class: true });
|
||||||
|
var td2_nodes = children(td2);
|
||||||
|
t4 = claim_text(td2_nodes, t4_value);
|
||||||
|
td2_nodes.forEach(detach);
|
||||||
|
t5 = claim_space(tr_nodes);
|
||||||
|
info.block.l(tr_nodes);
|
||||||
|
t6 = claim_space(tr_nodes);
|
||||||
|
info_1.block.l(tr_nodes);
|
||||||
|
t7 = claim_space(tr_nodes);
|
||||||
|
tr_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(td2, "class", "font-bold");
|
||||||
|
toggle_class(
|
||||||
|
td2,
|
||||||
|
"text-tertiary-500",
|
||||||
|
/*source*/
|
||||||
|
ctx[7].authoritative
|
||||||
|
);
|
||||||
|
toggle_class(td2, "text-warning-500", !/*source*/
|
||||||
|
ctx[7].authoritative);
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, tr, anchor);
|
||||||
|
append_hydration(tr, td0);
|
||||||
|
append_hydration(td0, t0);
|
||||||
|
append_hydration(tr, t1);
|
||||||
|
append_hydration(tr, td1);
|
||||||
|
append_hydration(td1, t2);
|
||||||
|
append_hydration(tr, t3);
|
||||||
|
append_hydration(tr, td2);
|
||||||
|
append_hydration(td2, t4);
|
||||||
|
append_hydration(tr, t5);
|
||||||
|
info.block.m(tr, info.anchor = null);
|
||||||
|
info.mount = () => tr;
|
||||||
|
info.anchor = t6;
|
||||||
|
append_hydration(tr, t6);
|
||||||
|
info_1.block.m(tr, info_1.anchor = null);
|
||||||
|
info_1.mount = () => tr;
|
||||||
|
info_1.anchor = t7;
|
||||||
|
append_hydration(tr, t7);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(new_ctx, dirty) {
|
||||||
|
ctx = new_ctx;
|
||||||
|
if ((!current || dirty & /*data*/
|
||||||
|
1) && t0_value !== (t0_value = /*source*/
|
||||||
|
ctx[7].name + ""))
|
||||||
|
set_data(t0, t0_value);
|
||||||
|
if ((!current || dirty & /*data*/
|
||||||
|
1) && t2_value !== (t2_value = /*source*/
|
||||||
|
ctx[7].type + ""))
|
||||||
|
set_data(t2, t2_value);
|
||||||
|
if ((!current || dirty & /*data*/
|
||||||
|
1) && t4_value !== (t4_value = /*source*/
|
||||||
|
ctx[7].authoritative ? "True" : "False"))
|
||||||
|
set_data(t4, t4_value);
|
||||||
|
if (!current || dirty & /*data*/
|
||||||
|
1) {
|
||||||
|
toggle_class(
|
||||||
|
td2,
|
||||||
|
"text-tertiary-500",
|
||||||
|
/*source*/
|
||||||
|
ctx[7].authoritative
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (!current || dirty & /*data*/
|
||||||
|
1) {
|
||||||
|
toggle_class(td2, "text-warning-500", !/*source*/
|
||||||
|
ctx[7].authoritative);
|
||||||
|
}
|
||||||
|
info.ctx = ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && promise !== (promise = /*data*/
|
||||||
|
ctx[0].eventsMap) && handle_promise(promise, info))
|
||||||
|
;
|
||||||
|
else {
|
||||||
|
update_await_block_branch(info, ctx, dirty);
|
||||||
|
}
|
||||||
|
info_1.ctx = ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && promise_1 !== (promise_1 = /*data*/
|
||||||
|
ctx[0].eventsMap) && handle_promise(promise_1, info_1))
|
||||||
|
;
|
||||||
|
else {
|
||||||
|
update_await_block_branch(info_1, ctx, dirty);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(info.block);
|
||||||
|
transition_in(info_1.block);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
for (let i = 0; i < 3; i += 1) {
|
||||||
|
const block = info.blocks[i];
|
||||||
|
transition_out(block);
|
||||||
|
}
|
||||||
|
for (let i = 0; i < 3; i += 1) {
|
||||||
|
const block = info_1.blocks[i];
|
||||||
|
transition_out(block);
|
||||||
|
}
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(tr);
|
||||||
|
}
|
||||||
|
info.block.d();
|
||||||
|
info.token = null;
|
||||||
|
info = null;
|
||||||
|
info_1.block.d();
|
||||||
|
info_1.token = null;
|
||||||
|
info_1 = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_pending_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let progress;
|
||||||
|
let current;
|
||||||
|
progress = new Progress({ props: { width: "w-[100px]" } });
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
create_component(progress.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
claim_component(progress.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "card grid h-full place-content-center p-8");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
mount_component(progress, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(progress.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(progress.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_component(progress);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div1;
|
||||||
|
let div0;
|
||||||
|
let textContent = `<p class="text-2xl text-center">List of sources and their most recent aggregation events</p>`;
|
||||||
|
let t1;
|
||||||
|
let promise;
|
||||||
|
let current;
|
||||||
|
let info = {
|
||||||
|
ctx,
|
||||||
|
current: null,
|
||||||
|
token: null,
|
||||||
|
hasCatch: false,
|
||||||
|
pending: create_pending_block,
|
||||||
|
then: create_then_block,
|
||||||
|
catch: create_catch_block_2,
|
||||||
|
value: 6,
|
||||||
|
blocks: [, , ,]
|
||||||
|
};
|
||||||
|
handle_promise(promise = /*data*/
|
||||||
|
ctx[0].sources, info);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div1 = element("div");
|
||||||
|
div0 = element("div");
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = space();
|
||||||
|
info.block.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div1 = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div1_nodes = children(div1);
|
||||||
|
div0 = claim_element(div1_nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div0) !== "svelte-12bxj29")
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = claim_space(div1_nodes);
|
||||||
|
info.block.l(div1_nodes);
|
||||||
|
div1_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div0, "class", "card p-4");
|
||||||
|
attr(div1, "class", "flex justify-center flex-col align-middle gap-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div1, anchor);
|
||||||
|
append_hydration(div1, div0);
|
||||||
|
append_hydration(div1, t1);
|
||||||
|
info.block.m(div1, info.anchor = null);
|
||||||
|
info.mount = () => div1;
|
||||||
|
info.anchor = null;
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(new_ctx, [dirty]) {
|
||||||
|
ctx = new_ctx;
|
||||||
|
info.ctx = ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && promise !== (promise = /*data*/
|
||||||
|
ctx[0].sources) && handle_promise(promise, info))
|
||||||
|
;
|
||||||
|
else {
|
||||||
|
update_await_block_branch(info, ctx, dirty);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(info.block);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
for (let i = 0; i < 3; i += 1) {
|
||||||
|
const block = info.blocks[i];
|
||||||
|
transition_out(block);
|
||||||
|
}
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div1);
|
||||||
|
}
|
||||||
|
info.block.d();
|
||||||
|
info.token = null;
|
||||||
|
info = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
const modalStore = getModalStore();
|
||||||
|
let { data } = $$props;
|
||||||
|
console.log(data);
|
||||||
|
const click_handler = (eventsMap, source) => {
|
||||||
|
var _a, _b;
|
||||||
|
return ((_a = eventsMap.get(source.name)) == null ? void 0 : _a.accounts.started) && TriggerCodeModal((_b = eventsMap.get(source.name)) == null ? void 0 : _b.accounts.started, modalStore);
|
||||||
|
};
|
||||||
|
const click_handler_1 = (eventsMap, source) => {
|
||||||
|
var _a, _b;
|
||||||
|
return ((_a = eventsMap.get(source.name)) == null ? void 0 : _a.accounts.passed) && TriggerCodeModal((_b = eventsMap.get(source.name)) == null ? void 0 : _b.accounts.passed, modalStore);
|
||||||
|
};
|
||||||
|
const click_handler_2 = (eventsMap, source) => {
|
||||||
|
var _a, _b;
|
||||||
|
return ((_a = eventsMap.get(source.name)) == null ? void 0 : _a.entitlements.started) && TriggerCodeModal((_b = eventsMap.get(source.name)) == null ? void 0 : _b.entitlements.started, modalStore);
|
||||||
|
};
|
||||||
|
const click_handler_3 = (eventsMap, source) => {
|
||||||
|
var _a, _b;
|
||||||
|
return ((_a = eventsMap.get(source.name)) == null ? void 0 : _a.entitlements.passed) && TriggerCodeModal((_b = eventsMap.get(source.name)) == null ? void 0 : _b.entitlements.passed, modalStore);
|
||||||
|
};
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("data" in $$props2)
|
||||||
|
$$invalidate(0, data = $$props2.data);
|
||||||
|
};
|
||||||
|
return [
|
||||||
|
data,
|
||||||
|
modalStore,
|
||||||
|
click_handler,
|
||||||
|
click_handler_1,
|
||||||
|
click_handler_2,
|
||||||
|
click_handler_3
|
||||||
|
];
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
479
out/renderer/client/_app/immutable/nodes/11._qLJ3IUL.js
Normal file
479
out/renderer/client/_app/immutable/nodes/11._qLJ3IUL.js
Normal file
@@ -0,0 +1,479 @@
|
|||||||
|
import { s as safe_not_equal, e as element, a as space, c as claim_element, b as children, h as get_svelte_dataset, f as claim_space, g as detach, i as attr, j as insert_hydration, k as append_hydration, o as noop, n as destroy_each, t as text, d as claim_text, x as listen, l as set_data } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { h as handle_promise, u as update_await_block_branch, P as Progress } from "../chunks/Progress.3ESwaKmp.js";
|
||||||
|
import { e as ensure_array_like } from "../chunks/each.C9vk03ly.js";
|
||||||
|
import { S as SvelteComponent, i as init, t as transition_in, a as transition_out, b as create_component, d as claim_component, m as mount_component, e as destroy_component } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import { g as getModalStore, T as TriggerCodeModal, f as formatDate } from "../chunks/Utils.BOVa1qxf.js";
|
||||||
|
import "../chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js";
|
||||||
|
function get_each_context(ctx, list, i) {
|
||||||
|
const child_ctx = ctx.slice();
|
||||||
|
child_ctx[4] = list[i];
|
||||||
|
return child_ctx;
|
||||||
|
}
|
||||||
|
function create_catch_block(ctx) {
|
||||||
|
return {
|
||||||
|
c: noop,
|
||||||
|
l: noop,
|
||||||
|
m: noop,
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d: noop
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_then_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let table;
|
||||||
|
let thead;
|
||||||
|
let textContent = `<th>Source Name</th> <th>Type</th> <th>Modified</th> <th>Created</th> <th>Owner</th> <th></th>`;
|
||||||
|
let t10;
|
||||||
|
let tbody;
|
||||||
|
let each_value = ensure_array_like(
|
||||||
|
/*sources*/
|
||||||
|
ctx[3]
|
||||||
|
);
|
||||||
|
let each_blocks = [];
|
||||||
|
for (let i = 0; i < each_value.length; i += 1) {
|
||||||
|
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
table = element("table");
|
||||||
|
thead = element("thead");
|
||||||
|
thead.innerHTML = textContent;
|
||||||
|
t10 = space();
|
||||||
|
tbody = element("tbody");
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].c();
|
||||||
|
}
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
table = claim_element(div_nodes, "TABLE", { class: true });
|
||||||
|
var table_nodes = children(table);
|
||||||
|
thead = claim_element(table_nodes, "THEAD", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(thead) !== "svelte-11ectjk")
|
||||||
|
thead.innerHTML = textContent;
|
||||||
|
t10 = claim_space(table_nodes);
|
||||||
|
tbody = claim_element(table_nodes, "TBODY", {});
|
||||||
|
var tbody_nodes = children(tbody);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].l(tbody_nodes);
|
||||||
|
}
|
||||||
|
tbody_nodes.forEach(detach);
|
||||||
|
table_nodes.forEach(detach);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(thead, "class", "table-head");
|
||||||
|
attr(table, "class", "table");
|
||||||
|
attr(div, "class", "table-container");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
append_hydration(div, table);
|
||||||
|
append_hydration(table, thead);
|
||||||
|
append_hydration(table, t10);
|
||||||
|
append_hydration(table, tbody);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].m(tbody, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*data, modalStore*/
|
||||||
|
3) {
|
||||||
|
each_value = ensure_array_like(
|
||||||
|
/*sources*/
|
||||||
|
ctx2[3]
|
||||||
|
);
|
||||||
|
let i;
|
||||||
|
for (i = 0; i < each_value.length; i += 1) {
|
||||||
|
const child_ctx = get_each_context(ctx2, each_value, i);
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].p(child_ctx, dirty);
|
||||||
|
} else {
|
||||||
|
each_blocks[i] = create_each_block(child_ctx);
|
||||||
|
each_blocks[i].c();
|
||||||
|
each_blocks[i].m(tbody, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].d(1);
|
||||||
|
}
|
||||||
|
each_blocks.length = each_value.length;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_each(each_blocks, detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_each_block(ctx) {
|
||||||
|
let tr;
|
||||||
|
let td0;
|
||||||
|
let t0_value = (
|
||||||
|
/*source*/
|
||||||
|
ctx[4].name + ""
|
||||||
|
);
|
||||||
|
let t0;
|
||||||
|
let t1;
|
||||||
|
let td1;
|
||||||
|
let t2_value = (
|
||||||
|
/*source*/
|
||||||
|
ctx[4].type + ""
|
||||||
|
);
|
||||||
|
let t2;
|
||||||
|
let t3;
|
||||||
|
let td2;
|
||||||
|
let t4_value = formatDate(
|
||||||
|
/*source*/
|
||||||
|
ctx[4].modified
|
||||||
|
) + "";
|
||||||
|
let t4;
|
||||||
|
let t5;
|
||||||
|
let td3;
|
||||||
|
let t6_value = formatDate(
|
||||||
|
/*source*/
|
||||||
|
ctx[4].created
|
||||||
|
) + "";
|
||||||
|
let t6;
|
||||||
|
let t7;
|
||||||
|
let td4;
|
||||||
|
let t8_value = (
|
||||||
|
/*source*/
|
||||||
|
ctx[4].owner.name + ""
|
||||||
|
);
|
||||||
|
let t8;
|
||||||
|
let t9;
|
||||||
|
let td5;
|
||||||
|
let a;
|
||||||
|
let t10;
|
||||||
|
let a_href_value;
|
||||||
|
let t11;
|
||||||
|
let button;
|
||||||
|
let textContent = "View";
|
||||||
|
let t13;
|
||||||
|
let mounted;
|
||||||
|
let dispose;
|
||||||
|
function click_handler() {
|
||||||
|
return (
|
||||||
|
/*click_handler*/
|
||||||
|
ctx[2](
|
||||||
|
/*source*/
|
||||||
|
ctx[4]
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
tr = element("tr");
|
||||||
|
td0 = element("td");
|
||||||
|
t0 = text(t0_value);
|
||||||
|
t1 = space();
|
||||||
|
td1 = element("td");
|
||||||
|
t2 = text(t2_value);
|
||||||
|
t3 = space();
|
||||||
|
td2 = element("td");
|
||||||
|
t4 = text(t4_value);
|
||||||
|
t5 = space();
|
||||||
|
td3 = element("td");
|
||||||
|
t6 = text(t6_value);
|
||||||
|
t7 = space();
|
||||||
|
td4 = element("td");
|
||||||
|
t8 = text(t8_value);
|
||||||
|
t9 = space();
|
||||||
|
td5 = element("td");
|
||||||
|
a = element("a");
|
||||||
|
t10 = text("Open Source");
|
||||||
|
t11 = space();
|
||||||
|
button = element("button");
|
||||||
|
button.textContent = textContent;
|
||||||
|
t13 = space();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
tr = claim_element(nodes, "TR", {});
|
||||||
|
var tr_nodes = children(tr);
|
||||||
|
td0 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td0_nodes = children(td0);
|
||||||
|
t0 = claim_text(td0_nodes, t0_value);
|
||||||
|
td0_nodes.forEach(detach);
|
||||||
|
t1 = claim_space(tr_nodes);
|
||||||
|
td1 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td1_nodes = children(td1);
|
||||||
|
t2 = claim_text(td1_nodes, t2_value);
|
||||||
|
td1_nodes.forEach(detach);
|
||||||
|
t3 = claim_space(tr_nodes);
|
||||||
|
td2 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td2_nodes = children(td2);
|
||||||
|
t4 = claim_text(td2_nodes, t4_value);
|
||||||
|
td2_nodes.forEach(detach);
|
||||||
|
t5 = claim_space(tr_nodes);
|
||||||
|
td3 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td3_nodes = children(td3);
|
||||||
|
t6 = claim_text(td3_nodes, t6_value);
|
||||||
|
td3_nodes.forEach(detach);
|
||||||
|
t7 = claim_space(tr_nodes);
|
||||||
|
td4 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td4_nodes = children(td4);
|
||||||
|
t8 = claim_text(td4_nodes, t8_value);
|
||||||
|
td4_nodes.forEach(detach);
|
||||||
|
t9 = claim_space(tr_nodes);
|
||||||
|
td5 = claim_element(tr_nodes, "TD", { class: true });
|
||||||
|
var td5_nodes = children(td5);
|
||||||
|
a = claim_element(td5_nodes, "A", {
|
||||||
|
href: true,
|
||||||
|
class: true,
|
||||||
|
"data-sveltekit-preload-data": true
|
||||||
|
});
|
||||||
|
var a_nodes = children(a);
|
||||||
|
t10 = claim_text(a_nodes, "Open Source");
|
||||||
|
a_nodes.forEach(detach);
|
||||||
|
t11 = claim_space(td5_nodes);
|
||||||
|
button = claim_element(td5_nodes, "BUTTON", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(button) !== "svelte-h788bw")
|
||||||
|
button.textContent = textContent;
|
||||||
|
td5_nodes.forEach(detach);
|
||||||
|
t13 = claim_space(tr_nodes);
|
||||||
|
tr_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(a, "href", a_href_value = `/home/sources/${/*source*/
|
||||||
|
ctx[4].id}`);
|
||||||
|
attr(a, "class", "btn variant-filled-primary text-sm !text-white");
|
||||||
|
attr(a, "data-sveltekit-preload-data", "hover");
|
||||||
|
attr(button, "class", "btn variant-filled-primary text-sm !text-white");
|
||||||
|
attr(td5, "class", "flex flex-col justify-center gap-1");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, tr, anchor);
|
||||||
|
append_hydration(tr, td0);
|
||||||
|
append_hydration(td0, t0);
|
||||||
|
append_hydration(tr, t1);
|
||||||
|
append_hydration(tr, td1);
|
||||||
|
append_hydration(td1, t2);
|
||||||
|
append_hydration(tr, t3);
|
||||||
|
append_hydration(tr, td2);
|
||||||
|
append_hydration(td2, t4);
|
||||||
|
append_hydration(tr, t5);
|
||||||
|
append_hydration(tr, td3);
|
||||||
|
append_hydration(td3, t6);
|
||||||
|
append_hydration(tr, t7);
|
||||||
|
append_hydration(tr, td4);
|
||||||
|
append_hydration(td4, t8);
|
||||||
|
append_hydration(tr, t9);
|
||||||
|
append_hydration(tr, td5);
|
||||||
|
append_hydration(td5, a);
|
||||||
|
append_hydration(a, t10);
|
||||||
|
append_hydration(td5, t11);
|
||||||
|
append_hydration(td5, button);
|
||||||
|
append_hydration(tr, t13);
|
||||||
|
if (!mounted) {
|
||||||
|
dispose = listen(button, "click", click_handler);
|
||||||
|
mounted = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(new_ctx, dirty) {
|
||||||
|
ctx = new_ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t0_value !== (t0_value = /*source*/
|
||||||
|
ctx[4].name + ""))
|
||||||
|
set_data(t0, t0_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t2_value !== (t2_value = /*source*/
|
||||||
|
ctx[4].type + ""))
|
||||||
|
set_data(t2, t2_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t4_value !== (t4_value = formatDate(
|
||||||
|
/*source*/
|
||||||
|
ctx[4].modified
|
||||||
|
) + ""))
|
||||||
|
set_data(t4, t4_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t6_value !== (t6_value = formatDate(
|
||||||
|
/*source*/
|
||||||
|
ctx[4].created
|
||||||
|
) + ""))
|
||||||
|
set_data(t6, t6_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t8_value !== (t8_value = /*source*/
|
||||||
|
ctx[4].owner.name + ""))
|
||||||
|
set_data(t8, t8_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && a_href_value !== (a_href_value = `/home/sources/${/*source*/
|
||||||
|
ctx[4].id}`)) {
|
||||||
|
attr(a, "href", a_href_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(tr);
|
||||||
|
}
|
||||||
|
mounted = false;
|
||||||
|
dispose();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_pending_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let progress;
|
||||||
|
let current;
|
||||||
|
progress = new Progress({ props: { width: "w-[100px]" } });
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
create_component(progress.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
claim_component(progress.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "grid h-full place-content-center p-8");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
mount_component(progress, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(progress.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(progress.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_component(progress);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div1;
|
||||||
|
let div0;
|
||||||
|
let textContent = `<p class="text-2xl text-center">Listing of sources and their configured owners</p>`;
|
||||||
|
let t1;
|
||||||
|
let promise;
|
||||||
|
let current;
|
||||||
|
let info = {
|
||||||
|
ctx,
|
||||||
|
current: null,
|
||||||
|
token: null,
|
||||||
|
hasCatch: false,
|
||||||
|
pending: create_pending_block,
|
||||||
|
then: create_then_block,
|
||||||
|
catch: create_catch_block,
|
||||||
|
value: 3,
|
||||||
|
blocks: [, , ,]
|
||||||
|
};
|
||||||
|
handle_promise(promise = /*data*/
|
||||||
|
ctx[0].sources, info);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div1 = element("div");
|
||||||
|
div0 = element("div");
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = space();
|
||||||
|
info.block.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div1 = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div1_nodes = children(div1);
|
||||||
|
div0 = claim_element(div1_nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div0) !== "svelte-91ks7m")
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = claim_space(div1_nodes);
|
||||||
|
info.block.l(div1_nodes);
|
||||||
|
div1_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div0, "class", "card p-4");
|
||||||
|
attr(div1, "class", "flex justify-center flex-col align-middle gap-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div1, anchor);
|
||||||
|
append_hydration(div1, div0);
|
||||||
|
append_hydration(div1, t1);
|
||||||
|
info.block.m(div1, info.anchor = null);
|
||||||
|
info.mount = () => div1;
|
||||||
|
info.anchor = null;
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(new_ctx, [dirty]) {
|
||||||
|
ctx = new_ctx;
|
||||||
|
info.ctx = ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && promise !== (promise = /*data*/
|
||||||
|
ctx[0].sources) && handle_promise(promise, info))
|
||||||
|
;
|
||||||
|
else {
|
||||||
|
update_await_block_branch(info, ctx, dirty);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(info.block);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
for (let i = 0; i < 3; i += 1) {
|
||||||
|
const block = info.blocks[i];
|
||||||
|
transition_out(block);
|
||||||
|
}
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div1);
|
||||||
|
}
|
||||||
|
info.block.d();
|
||||||
|
info.token = null;
|
||||||
|
info = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let { data } = $$props;
|
||||||
|
console.log(data);
|
||||||
|
const modalStore = getModalStore();
|
||||||
|
const click_handler = (source) => TriggerCodeModal(source, modalStore);
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("data" in $$props2)
|
||||||
|
$$invalidate(0, data = $$props2.data);
|
||||||
|
};
|
||||||
|
return [data, modalStore, click_handler];
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
1622
out/renderer/client/_app/immutable/nodes/12.BCch80zT.js
Normal file
1622
out/renderer/client/_app/immutable/nodes/12.BCch80zT.js
Normal file
File diff suppressed because it is too large
Load Diff
145
out/renderer/client/_app/immutable/nodes/13.Wd1JvU4U.js
Normal file
145
out/renderer/client/_app/immutable/nodes/13.Wd1JvU4U.js
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
import { s as safe_not_equal, e as element, c as claim_element, b as children, g as detach, i as attr, j as insert_hydration, k as append_hydration, o as noop, p as onMount, h as get_svelte_dataset } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { S as SvelteComponent, i as init } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import { g as goto } from "../chunks/entry.Cs_QM1XO.js";
|
||||||
|
function create_else_block(ctx) {
|
||||||
|
let p;
|
||||||
|
let textContent = `WHOOPS! an error occurred. <br/> If you believe this is a bug please submit an issue on
|
||||||
|
<a class="underline text-blue-500 hover:text-blue-700" href="https://github.com/sailpoint-oss/idn-admin-console/issues/new/choose" rel="noreferrer" target="_blank">GitHub</a>`;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
p = element("p");
|
||||||
|
p.innerHTML = textContent;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
p = claim_element(nodes, "P", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(p) !== "svelte-npxz0y")
|
||||||
|
p.innerHTML = textContent;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(p, "class", "text-center p-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, p, anchor);
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(p);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block(ctx) {
|
||||||
|
let p;
|
||||||
|
let textContent = "Successfully Logged out";
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
p = element("p");
|
||||||
|
p.textContent = textContent;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
p = claim_element(nodes, "P", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(p) !== "svelte-vsqarg")
|
||||||
|
p.textContent = textContent;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(p, "class", "text-center p-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, p, anchor);
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(p);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div1;
|
||||||
|
let div0;
|
||||||
|
function select_block_type(ctx2, dirty) {
|
||||||
|
if (
|
||||||
|
/*data*/
|
||||||
|
ctx2[0].sessionLoggedOut
|
||||||
|
)
|
||||||
|
return create_if_block;
|
||||||
|
return create_else_block;
|
||||||
|
}
|
||||||
|
let current_block_type = select_block_type(ctx);
|
||||||
|
let if_block = current_block_type(ctx);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div1 = element("div");
|
||||||
|
div0 = element("div");
|
||||||
|
if_block.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div1 = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div1_nodes = children(div1);
|
||||||
|
div0 = claim_element(div1_nodes, "DIV", { class: true });
|
||||||
|
var div0_nodes = children(div0);
|
||||||
|
if_block.l(div0_nodes);
|
||||||
|
div0_nodes.forEach(detach);
|
||||||
|
div1_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div0, "class", "card p-4");
|
||||||
|
attr(div1, "class", "p-4");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div1, anchor);
|
||||||
|
append_hydration(div1, div0);
|
||||||
|
if_block.m(div0, null);
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
if (current_block_type !== (current_block_type = select_block_type(ctx2))) {
|
||||||
|
if_block.d(1);
|
||||||
|
if_block = current_block_type(ctx2);
|
||||||
|
if (if_block) {
|
||||||
|
if_block.c();
|
||||||
|
if_block.m(div0, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div1);
|
||||||
|
}
|
||||||
|
if_block.d();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let { data } = $$props;
|
||||||
|
onMount(() => {
|
||||||
|
setTimeout(
|
||||||
|
async () => {
|
||||||
|
console.log("Redirecting to login...");
|
||||||
|
goto("/");
|
||||||
|
},
|
||||||
|
2e3
|
||||||
|
);
|
||||||
|
});
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("data" in $$props2)
|
||||||
|
$$invalidate(0, data = $$props2.data);
|
||||||
|
};
|
||||||
|
return [data];
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
469
out/renderer/client/_app/immutable/nodes/2.D_wMgrjg.js
Normal file
469
out/renderer/client/_app/immutable/nodes/2.D_wMgrjg.js
Normal file
@@ -0,0 +1,469 @@
|
|||||||
|
import { s as safe_not_equal, e as element, a as space, t as text, c as claim_element, b as children, h as get_svelte_dataset, f as claim_space, d as claim_text, g as detach, i as attr, j as insert_hydration, k as append_hydration, u as set_input_value, x as listen, W as action_destroyer, o as noop, y as run_all, m as component_subscribe } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { S as SvelteComponent, i as init } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import { p as parse, i as invalidateAll, a as applyAction } from "../chunks/entry.Cs_QM1XO.js";
|
||||||
|
import { l as localStorageStore } from "../chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js";
|
||||||
|
const BROWSER = true;
|
||||||
|
const browser = BROWSER;
|
||||||
|
function deserialize(result) {
|
||||||
|
const parsed = JSON.parse(result);
|
||||||
|
if (parsed.data) {
|
||||||
|
parsed.data = parse(parsed.data);
|
||||||
|
}
|
||||||
|
return parsed;
|
||||||
|
}
|
||||||
|
function clone(element2) {
|
||||||
|
return (
|
||||||
|
/** @type {T} */
|
||||||
|
HTMLElement.prototype.cloneNode.call(element2)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
function enhance(form_element, submit = () => {
|
||||||
|
}) {
|
||||||
|
const fallback_callback = async ({
|
||||||
|
action,
|
||||||
|
result,
|
||||||
|
reset = true,
|
||||||
|
invalidateAll: shouldInvalidateAll = true
|
||||||
|
}) => {
|
||||||
|
if (result.type === "success") {
|
||||||
|
if (reset) {
|
||||||
|
HTMLFormElement.prototype.reset.call(form_element);
|
||||||
|
}
|
||||||
|
if (shouldInvalidateAll) {
|
||||||
|
await invalidateAll();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (location.origin + location.pathname === action.origin + action.pathname || result.type === "redirect" || result.type === "error") {
|
||||||
|
applyAction(result);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
async function handle_submit(event) {
|
||||||
|
var _a, _b, _c, _d;
|
||||||
|
const method = ((_a = event.submitter) == null ? void 0 : _a.hasAttribute("formmethod")) ? (
|
||||||
|
/** @type {HTMLButtonElement | HTMLInputElement} */
|
||||||
|
event.submitter.formMethod
|
||||||
|
) : clone(form_element).method;
|
||||||
|
if (method !== "post")
|
||||||
|
return;
|
||||||
|
event.preventDefault();
|
||||||
|
const action = new URL(
|
||||||
|
// We can't do submitter.formAction directly because that property is always set
|
||||||
|
((_b = event.submitter) == null ? void 0 : _b.hasAttribute("formaction")) ? (
|
||||||
|
/** @type {HTMLButtonElement | HTMLInputElement} */
|
||||||
|
event.submitter.formAction
|
||||||
|
) : clone(form_element).action
|
||||||
|
);
|
||||||
|
const form_data = new FormData(form_element);
|
||||||
|
const submitter_name = (_c = event.submitter) == null ? void 0 : _c.getAttribute("name");
|
||||||
|
if (submitter_name) {
|
||||||
|
form_data.append(submitter_name, ((_d = event.submitter) == null ? void 0 : _d.getAttribute("value")) ?? "");
|
||||||
|
}
|
||||||
|
const controller = new AbortController();
|
||||||
|
let cancelled = false;
|
||||||
|
const cancel = () => cancelled = true;
|
||||||
|
const callback = await submit({
|
||||||
|
action,
|
||||||
|
cancel,
|
||||||
|
controller,
|
||||||
|
formData: form_data,
|
||||||
|
formElement: form_element,
|
||||||
|
submitter: event.submitter
|
||||||
|
}) ?? fallback_callback;
|
||||||
|
if (cancelled)
|
||||||
|
return;
|
||||||
|
let result;
|
||||||
|
try {
|
||||||
|
const response = await fetch(action, {
|
||||||
|
method: "POST",
|
||||||
|
headers: {
|
||||||
|
accept: "application/json",
|
||||||
|
"x-sveltekit-action": "true"
|
||||||
|
},
|
||||||
|
cache: "no-store",
|
||||||
|
body: form_data,
|
||||||
|
signal: controller.signal
|
||||||
|
});
|
||||||
|
result = deserialize(await response.text());
|
||||||
|
if (result.type === "error")
|
||||||
|
result.status = response.status;
|
||||||
|
} catch (error) {
|
||||||
|
if (
|
||||||
|
/** @type {any} */
|
||||||
|
(error == null ? void 0 : error.name) === "AbortError"
|
||||||
|
)
|
||||||
|
return;
|
||||||
|
result = { type: "error", error };
|
||||||
|
}
|
||||||
|
callback({
|
||||||
|
action,
|
||||||
|
formData: form_data,
|
||||||
|
formElement: form_element,
|
||||||
|
update: (opts) => fallback_callback({
|
||||||
|
action,
|
||||||
|
result,
|
||||||
|
reset: opts == null ? void 0 : opts.reset,
|
||||||
|
invalidateAll: opts == null ? void 0 : opts.invalidateAll
|
||||||
|
}),
|
||||||
|
// @ts-expect-error generic constraints stuff we don't care about
|
||||||
|
result
|
||||||
|
});
|
||||||
|
}
|
||||||
|
HTMLFormElement.prototype.addEventListener.call(form_element, "submit", handle_submit);
|
||||||
|
return {
|
||||||
|
destroy() {
|
||||||
|
HTMLFormElement.prototype.removeEventListener.call(form_element, "submit", handle_submit);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let main;
|
||||||
|
let div0;
|
||||||
|
let textContent = `<img class="h-12 min-w-[590px]" src="/SailPoint-Developer-Community-Lockup.png" alt="sailPoint Logo"/>`;
|
||||||
|
let t0;
|
||||||
|
let div2;
|
||||||
|
let div1;
|
||||||
|
let textContent_1 = "Enter your tenant information to continue";
|
||||||
|
let t2;
|
||||||
|
let form;
|
||||||
|
let label0;
|
||||||
|
let t3;
|
||||||
|
let input0;
|
||||||
|
let t4;
|
||||||
|
let label1;
|
||||||
|
let t5;
|
||||||
|
let input1;
|
||||||
|
let t6;
|
||||||
|
let label2;
|
||||||
|
let t7;
|
||||||
|
let input2;
|
||||||
|
let t8;
|
||||||
|
let label3;
|
||||||
|
let t9;
|
||||||
|
let input3;
|
||||||
|
let t10;
|
||||||
|
let button;
|
||||||
|
let textContent_2 = "Login";
|
||||||
|
let mounted;
|
||||||
|
let dispose;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
main = element("main");
|
||||||
|
div0 = element("div");
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t0 = space();
|
||||||
|
div2 = element("div");
|
||||||
|
div1 = element("div");
|
||||||
|
div1.textContent = textContent_1;
|
||||||
|
t2 = space();
|
||||||
|
form = element("form");
|
||||||
|
label0 = element("label");
|
||||||
|
t3 = text("Tenant\r\n ");
|
||||||
|
input0 = element("input");
|
||||||
|
t4 = space();
|
||||||
|
label1 = element("label");
|
||||||
|
t5 = text("Domain\r\n ");
|
||||||
|
input1 = element("input");
|
||||||
|
t6 = space();
|
||||||
|
label2 = element("label");
|
||||||
|
t7 = text("API Base URL\r\n ");
|
||||||
|
input2 = element("input");
|
||||||
|
t8 = space();
|
||||||
|
label3 = element("label");
|
||||||
|
t9 = text("Tenant URL\r\n ");
|
||||||
|
input3 = element("input");
|
||||||
|
t10 = space();
|
||||||
|
button = element("button");
|
||||||
|
button.textContent = textContent_2;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
main = claim_element(nodes, "MAIN", { class: true });
|
||||||
|
var main_nodes = children(main);
|
||||||
|
div0 = claim_element(main_nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div0) !== "svelte-ldyvpw")
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t0 = claim_space(main_nodes);
|
||||||
|
div2 = claim_element(main_nodes, "DIV", { class: true });
|
||||||
|
var div2_nodes = children(div2);
|
||||||
|
div1 = claim_element(div2_nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div1) !== "svelte-mv3ikv")
|
||||||
|
div1.textContent = textContent_1;
|
||||||
|
t2 = claim_space(div2_nodes);
|
||||||
|
form = claim_element(div2_nodes, "FORM", { method: true, class: true });
|
||||||
|
var form_nodes = children(form);
|
||||||
|
label0 = claim_element(form_nodes, "LABEL", { class: true });
|
||||||
|
var label0_nodes = children(label0);
|
||||||
|
t3 = claim_text(label0_nodes, "Tenant\r\n ");
|
||||||
|
input0 = claim_element(label0_nodes, "INPUT", {
|
||||||
|
name: true,
|
||||||
|
placeholder: true,
|
||||||
|
class: true
|
||||||
|
});
|
||||||
|
label0_nodes.forEach(detach);
|
||||||
|
t4 = claim_space(form_nodes);
|
||||||
|
label1 = claim_element(form_nodes, "LABEL", { class: true });
|
||||||
|
var label1_nodes = children(label1);
|
||||||
|
t5 = claim_text(label1_nodes, "Domain\r\n ");
|
||||||
|
input1 = claim_element(label1_nodes, "INPUT", {
|
||||||
|
name: true,
|
||||||
|
placeholder: true,
|
||||||
|
class: true
|
||||||
|
});
|
||||||
|
label1_nodes.forEach(detach);
|
||||||
|
t6 = claim_space(form_nodes);
|
||||||
|
label2 = claim_element(form_nodes, "LABEL", { class: true });
|
||||||
|
var label2_nodes = children(label2);
|
||||||
|
t7 = claim_text(label2_nodes, "API Base URL\r\n ");
|
||||||
|
input2 = claim_element(label2_nodes, "INPUT", {
|
||||||
|
name: true,
|
||||||
|
placeholder: true,
|
||||||
|
class: true
|
||||||
|
});
|
||||||
|
label2_nodes.forEach(detach);
|
||||||
|
t8 = claim_space(form_nodes);
|
||||||
|
label3 = claim_element(form_nodes, "LABEL", { class: true });
|
||||||
|
var label3_nodes = children(label3);
|
||||||
|
t9 = claim_text(label3_nodes, "Tenant URL\r\n ");
|
||||||
|
input3 = claim_element(label3_nodes, "INPUT", {
|
||||||
|
name: true,
|
||||||
|
placeholder: true,
|
||||||
|
class: true
|
||||||
|
});
|
||||||
|
label3_nodes.forEach(detach);
|
||||||
|
t10 = claim_space(form_nodes);
|
||||||
|
button = claim_element(form_nodes, "BUTTON", {
|
||||||
|
type: true,
|
||||||
|
class: true,
|
||||||
|
["data-svelte-h"]: true
|
||||||
|
});
|
||||||
|
if (get_svelte_dataset(button) !== "svelte-15b9f0n")
|
||||||
|
button.textContent = textContent_2;
|
||||||
|
form_nodes.forEach(detach);
|
||||||
|
div2_nodes.forEach(detach);
|
||||||
|
main_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div0, "class", "flex flex-row justify-center");
|
||||||
|
attr(div1, "class", "text-2xl text-center py-2");
|
||||||
|
attr(input0, "name", "tenant");
|
||||||
|
attr(input0, "placeholder", `tenant`);
|
||||||
|
attr(input0, "class", "input p-2");
|
||||||
|
attr(label0, "class", "");
|
||||||
|
attr(input1, "name", "domain");
|
||||||
|
attr(input1, "placeholder", `identitynow`);
|
||||||
|
attr(input1, "class", "input p-2");
|
||||||
|
attr(label1, "class", "");
|
||||||
|
attr(input2, "name", "baseUrl");
|
||||||
|
attr(input2, "placeholder", `https://${/*tenant*/
|
||||||
|
ctx[4]}.api.${/*domain*/
|
||||||
|
ctx[5]}.com`);
|
||||||
|
attr(input2, "class", "input p-2");
|
||||||
|
attr(label2, "class", "");
|
||||||
|
attr(input3, "name", "tenantUrl");
|
||||||
|
attr(input3, "placeholder", `https://${/*tenant*/
|
||||||
|
ctx[4]}.identitynow.com`);
|
||||||
|
attr(input3, "class", "input p-2");
|
||||||
|
attr(label3, "class", "");
|
||||||
|
attr(button, "type", "submit");
|
||||||
|
attr(button, "class", "btn variant-filled-primary w-full mt-2 !text-white text-lg");
|
||||||
|
attr(form, "method", "POST");
|
||||||
|
attr(form, "class", "flex flex-col gap-4");
|
||||||
|
attr(div2, "class", "");
|
||||||
|
attr(main, "class", "p-32 h-full");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, main, anchor);
|
||||||
|
append_hydration(main, div0);
|
||||||
|
append_hydration(main, t0);
|
||||||
|
append_hydration(main, div2);
|
||||||
|
append_hydration(div2, div1);
|
||||||
|
append_hydration(div2, t2);
|
||||||
|
append_hydration(div2, form);
|
||||||
|
append_hydration(form, label0);
|
||||||
|
append_hydration(label0, t3);
|
||||||
|
append_hydration(label0, input0);
|
||||||
|
set_input_value(
|
||||||
|
input0,
|
||||||
|
/*$tenant*/
|
||||||
|
ctx[1]
|
||||||
|
);
|
||||||
|
append_hydration(form, t4);
|
||||||
|
append_hydration(form, label1);
|
||||||
|
append_hydration(label1, t5);
|
||||||
|
append_hydration(label1, input1);
|
||||||
|
set_input_value(
|
||||||
|
input1,
|
||||||
|
/*$domain*/
|
||||||
|
ctx[0]
|
||||||
|
);
|
||||||
|
append_hydration(form, t6);
|
||||||
|
append_hydration(form, label2);
|
||||||
|
append_hydration(label2, t7);
|
||||||
|
append_hydration(label2, input2);
|
||||||
|
set_input_value(
|
||||||
|
input2,
|
||||||
|
/*$baseUrl*/
|
||||||
|
ctx[2]
|
||||||
|
);
|
||||||
|
append_hydration(form, t8);
|
||||||
|
append_hydration(form, label3);
|
||||||
|
append_hydration(label3, t9);
|
||||||
|
append_hydration(label3, input3);
|
||||||
|
set_input_value(
|
||||||
|
input3,
|
||||||
|
/*$tenantUrl*/
|
||||||
|
ctx[3]
|
||||||
|
);
|
||||||
|
append_hydration(form, t10);
|
||||||
|
append_hydration(form, button);
|
||||||
|
if (!mounted) {
|
||||||
|
dispose = [
|
||||||
|
listen(
|
||||||
|
input0,
|
||||||
|
"input",
|
||||||
|
/*input0_input_handler*/
|
||||||
|
ctx[8]
|
||||||
|
),
|
||||||
|
listen(
|
||||||
|
input1,
|
||||||
|
"input",
|
||||||
|
/*input1_input_handler*/
|
||||||
|
ctx[9]
|
||||||
|
),
|
||||||
|
listen(
|
||||||
|
input2,
|
||||||
|
"input",
|
||||||
|
/*input2_input_handler*/
|
||||||
|
ctx[10]
|
||||||
|
),
|
||||||
|
listen(
|
||||||
|
input3,
|
||||||
|
"input",
|
||||||
|
/*input3_input_handler*/
|
||||||
|
ctx[11]
|
||||||
|
),
|
||||||
|
action_destroyer(enhance.call(null, form))
|
||||||
|
];
|
||||||
|
mounted = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
if (dirty & /*$tenant*/
|
||||||
|
2 && input0.value !== /*$tenant*/
|
||||||
|
ctx2[1]) {
|
||||||
|
set_input_value(
|
||||||
|
input0,
|
||||||
|
/*$tenant*/
|
||||||
|
ctx2[1]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (dirty & /*$domain*/
|
||||||
|
1 && input1.value !== /*$domain*/
|
||||||
|
ctx2[0]) {
|
||||||
|
set_input_value(
|
||||||
|
input1,
|
||||||
|
/*$domain*/
|
||||||
|
ctx2[0]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (dirty & /*$baseUrl*/
|
||||||
|
4 && input2.value !== /*$baseUrl*/
|
||||||
|
ctx2[2]) {
|
||||||
|
set_input_value(
|
||||||
|
input2,
|
||||||
|
/*$baseUrl*/
|
||||||
|
ctx2[2]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (dirty & /*$tenantUrl*/
|
||||||
|
8 && input3.value !== /*$tenantUrl*/
|
||||||
|
ctx2[3]) {
|
||||||
|
set_input_value(
|
||||||
|
input3,
|
||||||
|
/*$tenantUrl*/
|
||||||
|
ctx2[3]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(main);
|
||||||
|
}
|
||||||
|
mounted = false;
|
||||||
|
run_all(dispose);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let $domain;
|
||||||
|
let $tenant;
|
||||||
|
let $baseUrl;
|
||||||
|
let $tenantUrl;
|
||||||
|
let desktop;
|
||||||
|
if (window.electron && browser) {
|
||||||
|
window.electron.receive("from-main", (data) => {
|
||||||
|
desktop = `Received Message "${data}" from Electron`;
|
||||||
|
console.log(desktop);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
const tenant = localStorageStore("tenant", "tenant");
|
||||||
|
component_subscribe($$self, tenant, (value) => $$invalidate(1, $tenant = value));
|
||||||
|
const domain = localStorageStore("domain", "identitynow");
|
||||||
|
component_subscribe($$self, domain, (value) => $$invalidate(0, $domain = value));
|
||||||
|
const baseUrl = localStorageStore("baseUrl", "https://${tenant}.api.${domain}.com");
|
||||||
|
component_subscribe($$self, baseUrl, (value) => $$invalidate(2, $baseUrl = value));
|
||||||
|
const tenantUrl = localStorageStore("tenantUrl", "https://${tenant}.${domain}.com");
|
||||||
|
component_subscribe($$self, tenantUrl, (value) => $$invalidate(3, $tenantUrl = value));
|
||||||
|
function input0_input_handler() {
|
||||||
|
$tenant = this.value;
|
||||||
|
tenant.set($tenant);
|
||||||
|
}
|
||||||
|
function input1_input_handler() {
|
||||||
|
$domain = this.value;
|
||||||
|
domain.set($domain);
|
||||||
|
}
|
||||||
|
function input2_input_handler() {
|
||||||
|
$baseUrl = this.value;
|
||||||
|
baseUrl.set($baseUrl);
|
||||||
|
}
|
||||||
|
function input3_input_handler() {
|
||||||
|
$tenantUrl = this.value;
|
||||||
|
tenantUrl.set($tenantUrl);
|
||||||
|
}
|
||||||
|
$$self.$$.update = () => {
|
||||||
|
if ($$self.$$.dirty & /*$tenant, $domain*/
|
||||||
|
3) {
|
||||||
|
baseUrl.set(`https://${$tenant}.api.${$domain}.com`);
|
||||||
|
}
|
||||||
|
if ($$self.$$.dirty & /*$tenant, $domain*/
|
||||||
|
3) {
|
||||||
|
tenantUrl.set(`https://${$tenant}.${$domain}.com`);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
return [
|
||||||
|
$domain,
|
||||||
|
$tenant,
|
||||||
|
$baseUrl,
|
||||||
|
$tenantUrl,
|
||||||
|
tenant,
|
||||||
|
domain,
|
||||||
|
baseUrl,
|
||||||
|
tenantUrl,
|
||||||
|
input0_input_handler,
|
||||||
|
input1_input_handler,
|
||||||
|
input2_input_handler,
|
||||||
|
input3_input_handler
|
||||||
|
];
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
323
out/renderer/client/_app/immutable/nodes/3.c32VO2pu.js
Normal file
323
out/renderer/client/_app/immutable/nodes/3.c32VO2pu.js
Normal file
@@ -0,0 +1,323 @@
|
|||||||
|
import { s as safe_not_equal, e as element, t as text, c as claim_element, b as children, d as claim_text, g as detach, i as attr, K as set_style, j as insert_hydration, k as append_hydration, l as set_data, o as noop, p as onMount, N as assign, O as exclude_internal_props } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { S as SvelteComponent, i as init, b as create_component, d as claim_component, m as mount_component, t as transition_in, a as transition_out, e as destroy_component } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import { i as invalidateAll, g as goto } from "../chunks/entry.Cs_QM1XO.js";
|
||||||
|
function create_fragment$1(ctx) {
|
||||||
|
let span2;
|
||||||
|
let span1;
|
||||||
|
let span0;
|
||||||
|
let t;
|
||||||
|
let span2_class_value;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
span2 = element("span");
|
||||||
|
span1 = element("span");
|
||||||
|
span0 = element("span");
|
||||||
|
t = text(
|
||||||
|
/*contentValues*/
|
||||||
|
ctx[3]
|
||||||
|
);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
span2 = claim_element(nodes, "SPAN", { class: true });
|
||||||
|
var span2_nodes = children(span2);
|
||||||
|
span1 = claim_element(span2_nodes, "SPAN", { style: true, class: true });
|
||||||
|
var span1_nodes = children(span1);
|
||||||
|
span0 = claim_element(span1_nodes, "SPAN", { class: true });
|
||||||
|
var span0_nodes = children(span0);
|
||||||
|
t = claim_text(
|
||||||
|
span0_nodes,
|
||||||
|
/*contentValues*/
|
||||||
|
ctx[3]
|
||||||
|
);
|
||||||
|
span0_nodes.forEach(detach);
|
||||||
|
span1_nodes.forEach(detach);
|
||||||
|
span2_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(span0, "class", "svelte-1fdnh10");
|
||||||
|
set_style(
|
||||||
|
span1,
|
||||||
|
"--index",
|
||||||
|
/*index*/
|
||||||
|
ctx[1]
|
||||||
|
);
|
||||||
|
set_style(
|
||||||
|
span1,
|
||||||
|
"--interval",
|
||||||
|
/*intervalInMs*/
|
||||||
|
ctx[2]
|
||||||
|
);
|
||||||
|
set_style(
|
||||||
|
span1,
|
||||||
|
"--ease",
|
||||||
|
/*ease*/
|
||||||
|
ctx[0]
|
||||||
|
);
|
||||||
|
attr(span1, "class", "svelte-1fdnh10");
|
||||||
|
attr(span2, "class", span2_class_value = "sliding-text " + /*$$props*/
|
||||||
|
ctx[4].class + " svelte-1fdnh10");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, span2, anchor);
|
||||||
|
append_hydration(span2, span1);
|
||||||
|
append_hydration(span1, span0);
|
||||||
|
append_hydration(span0, t);
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
if (dirty & /*contentValues*/
|
||||||
|
8)
|
||||||
|
set_data(
|
||||||
|
t,
|
||||||
|
/*contentValues*/
|
||||||
|
ctx2[3]
|
||||||
|
);
|
||||||
|
if (dirty & /*index*/
|
||||||
|
2) {
|
||||||
|
set_style(
|
||||||
|
span1,
|
||||||
|
"--index",
|
||||||
|
/*index*/
|
||||||
|
ctx2[1]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (dirty & /*intervalInMs*/
|
||||||
|
4) {
|
||||||
|
set_style(
|
||||||
|
span1,
|
||||||
|
"--interval",
|
||||||
|
/*intervalInMs*/
|
||||||
|
ctx2[2]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (dirty & /*ease*/
|
||||||
|
1) {
|
||||||
|
set_style(
|
||||||
|
span1,
|
||||||
|
"--ease",
|
||||||
|
/*ease*/
|
||||||
|
ctx2[0]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (dirty & /*$$props*/
|
||||||
|
16 && span2_class_value !== (span2_class_value = "sliding-text " + /*$$props*/
|
||||||
|
ctx2[4].class + " svelte-1fdnh10")) {
|
||||||
|
attr(span2, "class", span2_class_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(span2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance$1($$self, $$props, $$invalidate) {
|
||||||
|
let contentValues;
|
||||||
|
let intervalInMs;
|
||||||
|
let { values = Array.from({ length: 100 }, (_, i) => new String(i).padStart(3, "0")) } = $$props;
|
||||||
|
let { interval = 1e3 } = $$props;
|
||||||
|
let { transitionInterval = 700 } = $$props;
|
||||||
|
let { startImmediately = false } = $$props;
|
||||||
|
let { direction = "down" } = $$props;
|
||||||
|
let { loop = true } = $$props;
|
||||||
|
let { ease = "cubic-bezier(1, 0, 0, 1)" } = $$props;
|
||||||
|
let { random = false } = $$props;
|
||||||
|
let { initialValue = void 0 } = $$props;
|
||||||
|
let index = direction === "up" ? 0 : values.length - 1;
|
||||||
|
let lastIndex = initialValue ? values.indexOf(initialValue) : index;
|
||||||
|
onMount(() => {
|
||||||
|
const start = () => {
|
||||||
|
$$invalidate(1, index = lastIndex + (direction === "up" ? 1 : -1));
|
||||||
|
if (!loop && (index === values.length - 1 || index === 0)) {
|
||||||
|
clearInterval(timer);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (loop && index === values.length) {
|
||||||
|
$$invalidate(1, index = 0);
|
||||||
|
}
|
||||||
|
if (loop && index === -1) {
|
||||||
|
$$invalidate(1, index = values.length - 1);
|
||||||
|
}
|
||||||
|
if (random) {
|
||||||
|
$$invalidate(1, index = Math.floor(Math.random() * values.length));
|
||||||
|
}
|
||||||
|
lastIndex = index;
|
||||||
|
};
|
||||||
|
if (startImmediately) {
|
||||||
|
start();
|
||||||
|
}
|
||||||
|
let timer = setInterval(start, interval);
|
||||||
|
return () => clearInterval(timer);
|
||||||
|
});
|
||||||
|
$$self.$$set = ($$new_props) => {
|
||||||
|
$$invalidate(4, $$props = assign(assign({}, $$props), exclude_internal_props($$new_props)));
|
||||||
|
if ("values" in $$new_props)
|
||||||
|
$$invalidate(5, values = $$new_props.values);
|
||||||
|
if ("interval" in $$new_props)
|
||||||
|
$$invalidate(6, interval = $$new_props.interval);
|
||||||
|
if ("transitionInterval" in $$new_props)
|
||||||
|
$$invalidate(7, transitionInterval = $$new_props.transitionInterval);
|
||||||
|
if ("startImmediately" in $$new_props)
|
||||||
|
$$invalidate(8, startImmediately = $$new_props.startImmediately);
|
||||||
|
if ("direction" in $$new_props)
|
||||||
|
$$invalidate(9, direction = $$new_props.direction);
|
||||||
|
if ("loop" in $$new_props)
|
||||||
|
$$invalidate(10, loop = $$new_props.loop);
|
||||||
|
if ("ease" in $$new_props)
|
||||||
|
$$invalidate(0, ease = $$new_props.ease);
|
||||||
|
if ("random" in $$new_props)
|
||||||
|
$$invalidate(11, random = $$new_props.random);
|
||||||
|
if ("initialValue" in $$new_props)
|
||||||
|
$$invalidate(12, initialValue = $$new_props.initialValue);
|
||||||
|
};
|
||||||
|
$$self.$$.update = () => {
|
||||||
|
if ($$self.$$.dirty & /*values*/
|
||||||
|
32) {
|
||||||
|
$$invalidate(3, contentValues = values.join("\n\n"));
|
||||||
|
}
|
||||||
|
if ($$self.$$.dirty & /*transitionInterval*/
|
||||||
|
128) {
|
||||||
|
$$invalidate(2, intervalInMs = `${transitionInterval}ms`);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
$$props = exclude_internal_props($$props);
|
||||||
|
return [
|
||||||
|
ease,
|
||||||
|
index,
|
||||||
|
intervalInMs,
|
||||||
|
contentValues,
|
||||||
|
$$props,
|
||||||
|
values,
|
||||||
|
interval,
|
||||||
|
transitionInterval,
|
||||||
|
startImmediately,
|
||||||
|
direction,
|
||||||
|
loop,
|
||||||
|
random,
|
||||||
|
initialValue
|
||||||
|
];
|
||||||
|
}
|
||||||
|
class AnimatedCounter extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance$1, create_fragment$1, safe_not_equal, {
|
||||||
|
values: 5,
|
||||||
|
interval: 6,
|
||||||
|
transitionInterval: 7,
|
||||||
|
startImmediately: 8,
|
||||||
|
direction: 9,
|
||||||
|
loop: 10,
|
||||||
|
ease: 0,
|
||||||
|
random: 11,
|
||||||
|
initialValue: 12
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div2;
|
||||||
|
let div1;
|
||||||
|
let div0;
|
||||||
|
let animatedcounter;
|
||||||
|
let current;
|
||||||
|
animatedcounter = new AnimatedCounter({
|
||||||
|
props: {
|
||||||
|
interval: 1500,
|
||||||
|
transitionInterval: 10,
|
||||||
|
startImmediately: true,
|
||||||
|
values: (
|
||||||
|
/*data*/
|
||||||
|
ctx[0].counterList
|
||||||
|
),
|
||||||
|
random: true,
|
||||||
|
class: "custom-skill px-2"
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div2 = element("div");
|
||||||
|
div1 = element("div");
|
||||||
|
div0 = element("div");
|
||||||
|
create_component(animatedcounter.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div2 = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div2_nodes = children(div2);
|
||||||
|
div1 = claim_element(div2_nodes, "DIV", { class: true });
|
||||||
|
var div1_nodes = children(div1);
|
||||||
|
div0 = claim_element(div1_nodes, "DIV", { class: true });
|
||||||
|
var div0_nodes = children(div0);
|
||||||
|
claim_component(animatedcounter.$$.fragment, div0_nodes);
|
||||||
|
div0_nodes.forEach(detach);
|
||||||
|
div1_nodes.forEach(detach);
|
||||||
|
div2_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div0, "class", "skills svelte-1285lhc");
|
||||||
|
attr(div1, "class", "card card-glass z-50 space-y-5 p-4 md:p-10");
|
||||||
|
attr(div2, "class", "grid place-content-center h-[80vh]");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div2, anchor);
|
||||||
|
append_hydration(div2, div1);
|
||||||
|
append_hydration(div1, div0);
|
||||||
|
mount_component(animatedcounter, div0, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(ctx2, [dirty]) {
|
||||||
|
const animatedcounter_changes = {};
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1)
|
||||||
|
animatedcounter_changes.values = /*data*/
|
||||||
|
ctx2[0].counterList;
|
||||||
|
animatedcounter.$set(animatedcounter_changes);
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(animatedcounter.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(animatedcounter.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div2);
|
||||||
|
}
|
||||||
|
destroy_component(animatedcounter);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let { data } = $$props;
|
||||||
|
console.log(data);
|
||||||
|
setTimeout(
|
||||||
|
async () => {
|
||||||
|
if (!data.tokenDetails)
|
||||||
|
await invalidateAll();
|
||||||
|
goto(`/home`);
|
||||||
|
},
|
||||||
|
1e3
|
||||||
|
);
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("data" in $$props2)
|
||||||
|
$$invalidate(0, data = $$props2.data);
|
||||||
|
};
|
||||||
|
return [data];
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
48
out/renderer/client/_app/immutable/nodes/4.CkAq_noQ.js
Normal file
48
out/renderer/client/_app/immutable/nodes/4.CkAq_noQ.js
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
import { s as safe_not_equal, e as element, c as claim_element, h as get_svelte_dataset, i as attr, j as insert_hydration, o as noop, g as detach } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { S as SvelteComponent, i as init } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div;
|
||||||
|
let textContent = `<p class="text-center px-60">This starter application is meant to be an example of how you can build on top of the
|
||||||
|
IdentityNow UI development kit to build your own applications and tools for IdentityNow
|
||||||
|
|
||||||
|
<br/>
|
||||||
|
|
||||||
|
On the left hand side you will see some example pages showcasing some different kinds of pages
|
||||||
|
you could build. Each page is meant to be a starting point for you to build your own pages.</p>`;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
div.innerHTML = textContent;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div) !== "svelte-sn1z1p")
|
||||||
|
div.innerHTML = textContent;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "grid place-content-center h-full");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, null, create_fragment, safe_not_equal, {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
542
out/renderer/client/_app/immutable/nodes/5.BGkz_cVr.js
Normal file
542
out/renderer/client/_app/immutable/nodes/5.BGkz_cVr.js
Normal file
@@ -0,0 +1,542 @@
|
|||||||
|
import { s as safe_not_equal, e as element, a as space, c as claim_element, b as children, h as get_svelte_dataset, f as claim_space, g as detach, i as attr, j as insert_hydration, k as append_hydration, m as component_subscribe, p as onMount, q as set_store_value, r as select_value, o as noop, u as set_input_value, v as add_render_callback, w as select_option, x as listen, n as destroy_each, y as run_all, t as text, d as claim_text, l as set_data } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { h as handle_promise, u as update_await_block_branch, P as Progress } from "../chunks/Progress.3ESwaKmp.js";
|
||||||
|
import { e as ensure_array_like } from "../chunks/each.C9vk03ly.js";
|
||||||
|
import { S as SvelteComponent, i as init, t as transition_in, a as transition_out, b as create_component, d as claim_component, m as mount_component, e as destroy_component } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import "../chunks/entry.Cs_QM1XO.js";
|
||||||
|
import { l as localStorageStore } from "../chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js";
|
||||||
|
function get_each_context(ctx, list, i) {
|
||||||
|
const child_ctx = ctx.slice();
|
||||||
|
child_ctx[9] = list[i];
|
||||||
|
const constants_0 = JSON.stringify(
|
||||||
|
/*source*/
|
||||||
|
child_ctx[9]
|
||||||
|
);
|
||||||
|
child_ctx[10] = constants_0;
|
||||||
|
return child_ctx;
|
||||||
|
}
|
||||||
|
function create_catch_block(ctx) {
|
||||||
|
return {
|
||||||
|
c: noop,
|
||||||
|
l: noop,
|
||||||
|
m: noop,
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d: noop
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_then_block(ctx) {
|
||||||
|
let label0;
|
||||||
|
let span0;
|
||||||
|
let textContent = "Sources:";
|
||||||
|
let t1;
|
||||||
|
let select;
|
||||||
|
let option;
|
||||||
|
let textContent_1 = "Select a source";
|
||||||
|
let t3;
|
||||||
|
let label1;
|
||||||
|
let span1;
|
||||||
|
let textContent_2 = "Description:";
|
||||||
|
let t5;
|
||||||
|
let textarea;
|
||||||
|
let mounted;
|
||||||
|
let dispose;
|
||||||
|
let each_value = ensure_array_like(
|
||||||
|
/*sources*/
|
||||||
|
ctx[8]
|
||||||
|
);
|
||||||
|
let each_blocks = [];
|
||||||
|
for (let i = 0; i < each_value.length; i += 1) {
|
||||||
|
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
label0 = element("label");
|
||||||
|
span0 = element("span");
|
||||||
|
span0.textContent = textContent;
|
||||||
|
t1 = space();
|
||||||
|
select = element("select");
|
||||||
|
option = element("option");
|
||||||
|
option.textContent = textContent_1;
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].c();
|
||||||
|
}
|
||||||
|
t3 = space();
|
||||||
|
label1 = element("label");
|
||||||
|
span1 = element("span");
|
||||||
|
span1.textContent = textContent_2;
|
||||||
|
t5 = space();
|
||||||
|
textarea = element("textarea");
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
label0 = claim_element(nodes, "LABEL", {});
|
||||||
|
var label0_nodes = children(label0);
|
||||||
|
span0 = claim_element(label0_nodes, "SPAN", { ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(span0) !== "svelte-16rs0he")
|
||||||
|
span0.textContent = textContent;
|
||||||
|
t1 = claim_space(label0_nodes);
|
||||||
|
select = claim_element(label0_nodes, "SELECT", {
|
||||||
|
name: true,
|
||||||
|
placeholder: true,
|
||||||
|
class: true
|
||||||
|
});
|
||||||
|
var select_nodes = children(select);
|
||||||
|
option = claim_element(select_nodes, "OPTION", { ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(option) !== "svelte-1dm9jri")
|
||||||
|
option.textContent = textContent_1;
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].l(select_nodes);
|
||||||
|
}
|
||||||
|
select_nodes.forEach(detach);
|
||||||
|
label0_nodes.forEach(detach);
|
||||||
|
t3 = claim_space(nodes);
|
||||||
|
label1 = claim_element(nodes, "LABEL", {});
|
||||||
|
var label1_nodes = children(label1);
|
||||||
|
span1 = claim_element(label1_nodes, "SPAN", { ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(span1) !== "svelte-n5lbfe")
|
||||||
|
span1.textContent = textContent_2;
|
||||||
|
t5 = claim_space(label1_nodes);
|
||||||
|
textarea = claim_element(label1_nodes, "TEXTAREA", { name: true, class: true });
|
||||||
|
children(textarea).forEach(detach);
|
||||||
|
label1_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
option.hidden = true;
|
||||||
|
option.disabled = true;
|
||||||
|
option.__value = "Select a source";
|
||||||
|
set_input_value(option, option.__value);
|
||||||
|
attr(select, "name", "source");
|
||||||
|
attr(select, "placeholder", "Select a source");
|
||||||
|
attr(select, "class", "select");
|
||||||
|
if (
|
||||||
|
/*$selectedSource*/
|
||||||
|
ctx[1] === void 0
|
||||||
|
)
|
||||||
|
add_render_callback(() => (
|
||||||
|
/*select_change_handler*/
|
||||||
|
ctx[6].call(select)
|
||||||
|
));
|
||||||
|
attr(textarea, "name", "updatedDescription");
|
||||||
|
attr(textarea, "class", "textarea");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, label0, anchor);
|
||||||
|
append_hydration(label0, span0);
|
||||||
|
append_hydration(label0, t1);
|
||||||
|
append_hydration(label0, select);
|
||||||
|
append_hydration(select, option);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].m(select, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
select_option(
|
||||||
|
select,
|
||||||
|
/*$selectedSource*/
|
||||||
|
ctx[1],
|
||||||
|
true
|
||||||
|
);
|
||||||
|
insert_hydration(target, t3, anchor);
|
||||||
|
insert_hydration(target, label1, anchor);
|
||||||
|
append_hydration(label1, span1);
|
||||||
|
append_hydration(label1, t5);
|
||||||
|
append_hydration(label1, textarea);
|
||||||
|
set_input_value(
|
||||||
|
textarea,
|
||||||
|
/*$updatedDescription*/
|
||||||
|
ctx[2]
|
||||||
|
);
|
||||||
|
if (!mounted) {
|
||||||
|
dispose = [
|
||||||
|
listen(
|
||||||
|
select,
|
||||||
|
"change",
|
||||||
|
/*handleChange*/
|
||||||
|
ctx[5]
|
||||||
|
),
|
||||||
|
listen(
|
||||||
|
select,
|
||||||
|
"change",
|
||||||
|
/*select_change_handler*/
|
||||||
|
ctx[6]
|
||||||
|
),
|
||||||
|
listen(
|
||||||
|
textarea,
|
||||||
|
"input",
|
||||||
|
/*textarea_input_handler*/
|
||||||
|
ctx[7]
|
||||||
|
)
|
||||||
|
];
|
||||||
|
mounted = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*JSON, data, $selectedSource*/
|
||||||
|
3) {
|
||||||
|
each_value = ensure_array_like(
|
||||||
|
/*sources*/
|
||||||
|
ctx2[8]
|
||||||
|
);
|
||||||
|
let i;
|
||||||
|
for (i = 0; i < each_value.length; i += 1) {
|
||||||
|
const child_ctx = get_each_context(ctx2, each_value, i);
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].p(child_ctx, dirty);
|
||||||
|
} else {
|
||||||
|
each_blocks[i] = create_each_block(child_ctx);
|
||||||
|
each_blocks[i].c();
|
||||||
|
each_blocks[i].m(select, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].d(1);
|
||||||
|
}
|
||||||
|
each_blocks.length = each_value.length;
|
||||||
|
}
|
||||||
|
if (dirty & /*$selectedSource, JSON, data*/
|
||||||
|
3) {
|
||||||
|
select_option(
|
||||||
|
select,
|
||||||
|
/*$selectedSource*/
|
||||||
|
ctx2[1]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
if (dirty & /*$updatedDescription*/
|
||||||
|
4) {
|
||||||
|
set_input_value(
|
||||||
|
textarea,
|
||||||
|
/*$updatedDescription*/
|
||||||
|
ctx2[2]
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(label0);
|
||||||
|
detach(t3);
|
||||||
|
detach(label1);
|
||||||
|
}
|
||||||
|
destroy_each(each_blocks, detaching);
|
||||||
|
mounted = false;
|
||||||
|
run_all(dispose);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_each_block(ctx) {
|
||||||
|
let option;
|
||||||
|
let t0_value = (
|
||||||
|
/*source*/
|
||||||
|
ctx[9].name + ""
|
||||||
|
);
|
||||||
|
let t0;
|
||||||
|
let t1;
|
||||||
|
let t2_value = (
|
||||||
|
/*source*/
|
||||||
|
ctx[9].type + ""
|
||||||
|
);
|
||||||
|
let t2;
|
||||||
|
let t3;
|
||||||
|
let option_value_value;
|
||||||
|
let option_selected_value;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
option = element("option");
|
||||||
|
t0 = text(t0_value);
|
||||||
|
t1 = text(" - ");
|
||||||
|
t2 = text(t2_value);
|
||||||
|
t3 = space();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
option = claim_element(nodes, "OPTION", {});
|
||||||
|
var option_nodes = children(option);
|
||||||
|
t0 = claim_text(option_nodes, t0_value);
|
||||||
|
t1 = claim_text(option_nodes, " - ");
|
||||||
|
t2 = claim_text(option_nodes, t2_value);
|
||||||
|
t3 = claim_space(option_nodes);
|
||||||
|
option_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
option.__value = option_value_value = /*sourceString*/
|
||||||
|
ctx[10];
|
||||||
|
set_input_value(option, option.__value);
|
||||||
|
option.selected = option_selected_value = /*$selectedSource*/
|
||||||
|
ctx[1] === /*sourceString*/
|
||||||
|
ctx[10];
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, option, anchor);
|
||||||
|
append_hydration(option, t0);
|
||||||
|
append_hydration(option, t1);
|
||||||
|
append_hydration(option, t2);
|
||||||
|
append_hydration(option, t3);
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t0_value !== (t0_value = /*source*/
|
||||||
|
ctx2[9].name + ""))
|
||||||
|
set_data(t0, t0_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t2_value !== (t2_value = /*source*/
|
||||||
|
ctx2[9].type + ""))
|
||||||
|
set_data(t2, t2_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && option_value_value !== (option_value_value = /*sourceString*/
|
||||||
|
ctx2[10])) {
|
||||||
|
option.__value = option_value_value;
|
||||||
|
set_input_value(option, option.__value);
|
||||||
|
}
|
||||||
|
if (dirty & /*$selectedSource, data, JSON*/
|
||||||
|
3 && option_selected_value !== (option_selected_value = /*$selectedSource*/
|
||||||
|
ctx2[1] === /*sourceString*/
|
||||||
|
ctx2[10])) {
|
||||||
|
option.selected = option_selected_value;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(option);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_pending_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let progress;
|
||||||
|
let current;
|
||||||
|
progress = new Progress({ props: { width: "w-[100px]" } });
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
create_component(progress.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
claim_component(progress.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "flex flex-row justify-center");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
mount_component(progress, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(progress.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(progress.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_component(progress);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div2;
|
||||||
|
let div0;
|
||||||
|
let textContent = `<p class="text-2xl text-center">Example Form</p>`;
|
||||||
|
let t1;
|
||||||
|
let form;
|
||||||
|
let p1;
|
||||||
|
let textContent_1 = "Update Source Description";
|
||||||
|
let t3;
|
||||||
|
let div1;
|
||||||
|
let promise;
|
||||||
|
let t4;
|
||||||
|
let button;
|
||||||
|
let textContent_2 = "Submit";
|
||||||
|
let current;
|
||||||
|
let info = {
|
||||||
|
ctx,
|
||||||
|
current: null,
|
||||||
|
token: null,
|
||||||
|
hasCatch: false,
|
||||||
|
pending: create_pending_block,
|
||||||
|
then: create_then_block,
|
||||||
|
catch: create_catch_block,
|
||||||
|
value: 8,
|
||||||
|
blocks: [, , ,]
|
||||||
|
};
|
||||||
|
handle_promise(promise = /*data*/
|
||||||
|
ctx[0].sources, info);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div2 = element("div");
|
||||||
|
div0 = element("div");
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = space();
|
||||||
|
form = element("form");
|
||||||
|
p1 = element("p");
|
||||||
|
p1.textContent = textContent_1;
|
||||||
|
t3 = space();
|
||||||
|
div1 = element("div");
|
||||||
|
info.block.c();
|
||||||
|
t4 = space();
|
||||||
|
button = element("button");
|
||||||
|
button.textContent = textContent_2;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div2 = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div2_nodes = children(div2);
|
||||||
|
div0 = claim_element(div2_nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div0) !== "svelte-xch8ds")
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = claim_space(div2_nodes);
|
||||||
|
form = claim_element(div2_nodes, "FORM", { method: true, class: true });
|
||||||
|
var form_nodes = children(form);
|
||||||
|
p1 = claim_element(form_nodes, "P", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(p1) !== "svelte-emhize")
|
||||||
|
p1.textContent = textContent_1;
|
||||||
|
t3 = claim_space(form_nodes);
|
||||||
|
div1 = claim_element(form_nodes, "DIV", { class: true });
|
||||||
|
var div1_nodes = children(div1);
|
||||||
|
info.block.l(div1_nodes);
|
||||||
|
t4 = claim_space(div1_nodes);
|
||||||
|
button = claim_element(div1_nodes, "BUTTON", {
|
||||||
|
type: true,
|
||||||
|
class: true,
|
||||||
|
["data-svelte-h"]: true
|
||||||
|
});
|
||||||
|
if (get_svelte_dataset(button) !== "svelte-x5avbw")
|
||||||
|
button.textContent = textContent_2;
|
||||||
|
div1_nodes.forEach(detach);
|
||||||
|
form_nodes.forEach(detach);
|
||||||
|
div2_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div0, "class", "card p-4");
|
||||||
|
attr(p1, "class", "text-2xl text-center");
|
||||||
|
attr(button, "type", "submit");
|
||||||
|
attr(button, "class", "btn variant-filled");
|
||||||
|
attr(div1, "class", "flex flex-col gap-4");
|
||||||
|
attr(form, "method", "POST");
|
||||||
|
attr(form, "class", "card p-4");
|
||||||
|
attr(div2, "class", "flex justify-center flex-col align-middle gap-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div2, anchor);
|
||||||
|
append_hydration(div2, div0);
|
||||||
|
append_hydration(div2, t1);
|
||||||
|
append_hydration(div2, form);
|
||||||
|
append_hydration(form, p1);
|
||||||
|
append_hydration(form, t3);
|
||||||
|
append_hydration(form, div1);
|
||||||
|
info.block.m(div1, info.anchor = null);
|
||||||
|
info.mount = () => div1;
|
||||||
|
info.anchor = t4;
|
||||||
|
append_hydration(div1, t4);
|
||||||
|
append_hydration(div1, button);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(new_ctx, [dirty]) {
|
||||||
|
ctx = new_ctx;
|
||||||
|
info.ctx = ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && promise !== (promise = /*data*/
|
||||||
|
ctx[0].sources) && handle_promise(promise, info))
|
||||||
|
;
|
||||||
|
else {
|
||||||
|
update_await_block_branch(info, ctx, dirty);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(info.block);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
for (let i = 0; i < 3; i += 1) {
|
||||||
|
const block = info.blocks[i];
|
||||||
|
transition_out(block);
|
||||||
|
}
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div2);
|
||||||
|
}
|
||||||
|
info.block.d();
|
||||||
|
info.token = null;
|
||||||
|
info = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let $selectedSource;
|
||||||
|
let $updatedDescription;
|
||||||
|
let { data } = $$props;
|
||||||
|
const selectedSource = localStorageStore("selectedSource", void 0);
|
||||||
|
component_subscribe($$self, selectedSource, (value) => $$invalidate(1, $selectedSource = value));
|
||||||
|
const updatedDescription = localStorageStore("updatedDescription", "");
|
||||||
|
component_subscribe($$self, updatedDescription, (value) => $$invalidate(2, $updatedDescription = value));
|
||||||
|
onMount(async () => {
|
||||||
|
const sources = await data.sources;
|
||||||
|
if (sources.length > 0) {
|
||||||
|
set_store_value(selectedSource, $selectedSource = JSON.stringify(sources[0]), $selectedSource);
|
||||||
|
set_store_value(updatedDescription, $updatedDescription = sources[0].description || "", $updatedDescription);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
const handleChange = (e) => {
|
||||||
|
set_store_value(updatedDescription, $updatedDescription = JSON.parse(e.target.value).description || "", $updatedDescription);
|
||||||
|
};
|
||||||
|
function select_change_handler() {
|
||||||
|
$selectedSource = select_value(this);
|
||||||
|
selectedSource.set($selectedSource);
|
||||||
|
$$invalidate(0, data);
|
||||||
|
}
|
||||||
|
function textarea_input_handler() {
|
||||||
|
$updatedDescription = this.value;
|
||||||
|
updatedDescription.set($updatedDescription);
|
||||||
|
}
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("data" in $$props2)
|
||||||
|
$$invalidate(0, data = $$props2.data);
|
||||||
|
};
|
||||||
|
$$self.$$.update = () => {
|
||||||
|
if ($$self.$$.dirty & /*$selectedSource*/
|
||||||
|
2) {
|
||||||
|
console.log($selectedSource);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
return [
|
||||||
|
data,
|
||||||
|
$selectedSource,
|
||||||
|
$updatedDescription,
|
||||||
|
selectedSource,
|
||||||
|
updatedDescription,
|
||||||
|
handleChange,
|
||||||
|
select_change_handler,
|
||||||
|
textarea_input_handler
|
||||||
|
];
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
215
out/renderer/client/_app/immutable/nodes/6.D2b6BEEG.js
Normal file
215
out/renderer/client/_app/immutable/nodes/6.D2b6BEEG.js
Normal file
@@ -0,0 +1,215 @@
|
|||||||
|
import { s as safe_not_equal, e as element, c as claim_element, b as children, g as detach, i as attr, j as insert_hydration, o as noop, t as text, a as space, d as claim_text, f as claim_space, h as get_svelte_dataset, k as append_hydration } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { e as ensure_array_like } from "../chunks/each.C9vk03ly.js";
|
||||||
|
import { S as SvelteComponent, i as init } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
const reports = [
|
||||||
|
{
|
||||||
|
url: "/home/example-pages/list-of-identities",
|
||||||
|
name: "List of Identities",
|
||||||
|
description: "This report will show all identities in the system"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: "/home/example-pages/inactive-identities-with-access",
|
||||||
|
name: "Inactive Identities With Access",
|
||||||
|
description: "This report will show all identities that are inactive but still have access in sources"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: "/home/example-pages/missing-cloud-life-cycle-state",
|
||||||
|
name: "Missing Cloud Life Cycle State",
|
||||||
|
description: "This report will show all identities that are missing a cloud life cycle state"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: "/home/example-pages/source-owner-configured",
|
||||||
|
name: "Source Owner Configured",
|
||||||
|
description: "This report will show all sources and their configured owners"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: "/home/example-pages/source-aggregations",
|
||||||
|
name: "Source Aggregations",
|
||||||
|
description: "This report will show all sources and their most recent aggregation events"
|
||||||
|
}
|
||||||
|
];
|
||||||
|
function get_each_context(ctx, list, i) {
|
||||||
|
const child_ctx = ctx.slice();
|
||||||
|
child_ctx[0] = list[i];
|
||||||
|
return child_ctx;
|
||||||
|
}
|
||||||
|
function create_each_block(key_1, ctx) {
|
||||||
|
let a;
|
||||||
|
let header;
|
||||||
|
let p0;
|
||||||
|
let t0_value = (
|
||||||
|
/*report*/
|
||||||
|
ctx[0].name + ""
|
||||||
|
);
|
||||||
|
let t0;
|
||||||
|
let t1;
|
||||||
|
let div;
|
||||||
|
let h3;
|
||||||
|
let textContent = "Summary";
|
||||||
|
let t3;
|
||||||
|
let article;
|
||||||
|
let p1;
|
||||||
|
let t4_value = (
|
||||||
|
/*report*/
|
||||||
|
ctx[0].description + ""
|
||||||
|
);
|
||||||
|
let t4;
|
||||||
|
let t5;
|
||||||
|
return {
|
||||||
|
key: key_1,
|
||||||
|
first: null,
|
||||||
|
c() {
|
||||||
|
a = element("a");
|
||||||
|
header = element("header");
|
||||||
|
p0 = element("p");
|
||||||
|
t0 = text(t0_value);
|
||||||
|
t1 = space();
|
||||||
|
div = element("div");
|
||||||
|
h3 = element("h3");
|
||||||
|
h3.textContent = textContent;
|
||||||
|
t3 = space();
|
||||||
|
article = element("article");
|
||||||
|
p1 = element("p");
|
||||||
|
t4 = text(t4_value);
|
||||||
|
t5 = space();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
a = claim_element(nodes, "A", {
|
||||||
|
class: true,
|
||||||
|
"data-sveltekit-preload-data": true,
|
||||||
|
href: true
|
||||||
|
});
|
||||||
|
var a_nodes = children(a);
|
||||||
|
header = claim_element(a_nodes, "HEADER", { class: true });
|
||||||
|
var header_nodes = children(header);
|
||||||
|
p0 = claim_element(header_nodes, "P", { class: true });
|
||||||
|
var p0_nodes = children(p0);
|
||||||
|
t0 = claim_text(p0_nodes, t0_value);
|
||||||
|
p0_nodes.forEach(detach);
|
||||||
|
header_nodes.forEach(detach);
|
||||||
|
t1 = claim_space(a_nodes);
|
||||||
|
div = claim_element(a_nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
h3 = claim_element(div_nodes, "H3", {
|
||||||
|
class: true,
|
||||||
|
"data-toc-ignore": true,
|
||||||
|
["data-svelte-h"]: true
|
||||||
|
});
|
||||||
|
if (get_svelte_dataset(h3) !== "svelte-6huxvk")
|
||||||
|
h3.textContent = textContent;
|
||||||
|
t3 = claim_space(div_nodes);
|
||||||
|
article = claim_element(div_nodes, "ARTICLE", {});
|
||||||
|
var article_nodes = children(article);
|
||||||
|
p1 = claim_element(article_nodes, "P", {});
|
||||||
|
var p1_nodes = children(p1);
|
||||||
|
t4 = claim_text(p1_nodes, t4_value);
|
||||||
|
p1_nodes.forEach(detach);
|
||||||
|
article_nodes.forEach(detach);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
t5 = claim_space(a_nodes);
|
||||||
|
a_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(p0, "class", "font-bold text-white uppercase text-center text-xl");
|
||||||
|
attr(header, "class", "card-header aspect-[21/9] bg-[#526bf8] flex flex-col justify-center min-h-[105px]");
|
||||||
|
attr(h3, "class", "h3");
|
||||||
|
attr(h3, "data-toc-ignore", "");
|
||||||
|
attr(div, "class", "p-4 space-y-4");
|
||||||
|
attr(a, "class", "card card-hover overflow-hidden");
|
||||||
|
attr(a, "data-sveltekit-preload-data", "hover");
|
||||||
|
attr(
|
||||||
|
a,
|
||||||
|
"href",
|
||||||
|
/*report*/
|
||||||
|
ctx[0].url
|
||||||
|
);
|
||||||
|
this.first = a;
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, a, anchor);
|
||||||
|
append_hydration(a, header);
|
||||||
|
append_hydration(header, p0);
|
||||||
|
append_hydration(p0, t0);
|
||||||
|
append_hydration(a, t1);
|
||||||
|
append_hydration(a, div);
|
||||||
|
append_hydration(div, h3);
|
||||||
|
append_hydration(div, t3);
|
||||||
|
append_hydration(div, article);
|
||||||
|
append_hydration(article, p1);
|
||||||
|
append_hydration(p1, t4);
|
||||||
|
append_hydration(a, t5);
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(a);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div;
|
||||||
|
let each_blocks = [];
|
||||||
|
let each_1_lookup = /* @__PURE__ */ new Map();
|
||||||
|
let each_value = ensure_array_like(reports);
|
||||||
|
const get_key = (ctx2) => (
|
||||||
|
/*report*/
|
||||||
|
ctx2[0].url
|
||||||
|
);
|
||||||
|
for (let i = 0; i < each_value.length; i += 1) {
|
||||||
|
let child_ctx = get_each_context(ctx, each_value, i);
|
||||||
|
let key = get_key(child_ctx);
|
||||||
|
each_1_lookup.set(key, each_blocks[i] = create_each_block(key, child_ctx));
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].c();
|
||||||
|
}
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].l(div_nodes);
|
||||||
|
}
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "grid gap-2 grid-flow-row xl:grid-cols-4 lg:grid-cols-3 md:grid-cols-2 justify-center");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].m(div, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].d();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, null, create_fragment, safe_not_equal, {});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
609
out/renderer/client/_app/immutable/nodes/7.CY3H5TGn.js
Normal file
609
out/renderer/client/_app/immutable/nodes/7.CY3H5TGn.js
Normal file
@@ -0,0 +1,609 @@
|
|||||||
|
import { s as safe_not_equal, e as element, a as space, c as claim_element, b as children, h as get_svelte_dataset, f as claim_space, g as detach, i as attr, j as insert_hydration, k as append_hydration, o as noop, z as empty, n as destroy_each, t as text, d as claim_text, x as listen, l as set_data } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { h as handle_promise, u as update_await_block_branch, P as Progress } from "../chunks/Progress.3ESwaKmp.js";
|
||||||
|
import { e as ensure_array_like } from "../chunks/each.C9vk03ly.js";
|
||||||
|
import { S as SvelteComponent, i as init, t as transition_in, a as transition_out, b as create_component, d as claim_component, m as mount_component, e as destroy_component } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import { g as getModalStore, T as TriggerCodeModal, f as formatDate } from "../chunks/Utils.BOVa1qxf.js";
|
||||||
|
import "../chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js";
|
||||||
|
function get_each_context(ctx, list, i) {
|
||||||
|
const child_ctx = ctx.slice();
|
||||||
|
child_ctx[4] = list[i];
|
||||||
|
return child_ctx;
|
||||||
|
}
|
||||||
|
function create_catch_block(ctx) {
|
||||||
|
return {
|
||||||
|
c: noop,
|
||||||
|
l: noop,
|
||||||
|
m: noop,
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d: noop
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_then_block(ctx) {
|
||||||
|
let if_block_anchor;
|
||||||
|
function select_block_type(ctx2, dirty) {
|
||||||
|
if (
|
||||||
|
/*reportData*/
|
||||||
|
ctx2[3].length === 0
|
||||||
|
)
|
||||||
|
return create_if_block;
|
||||||
|
return create_else_block;
|
||||||
|
}
|
||||||
|
let current_block_type = select_block_type(ctx);
|
||||||
|
let if_block = current_block_type(ctx);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
if_block.c();
|
||||||
|
if_block_anchor = empty();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
if_block.l(nodes);
|
||||||
|
if_block_anchor = empty();
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
if_block.m(target, anchor);
|
||||||
|
insert_hydration(target, if_block_anchor, anchor);
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (current_block_type === (current_block_type = select_block_type(ctx2)) && if_block) {
|
||||||
|
if_block.p(ctx2, dirty);
|
||||||
|
} else {
|
||||||
|
if_block.d(1);
|
||||||
|
if_block = current_block_type(ctx2);
|
||||||
|
if (if_block) {
|
||||||
|
if_block.c();
|
||||||
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(if_block_anchor);
|
||||||
|
}
|
||||||
|
if_block.d(detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_else_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let table;
|
||||||
|
let thead;
|
||||||
|
let textContent = `<th>Name</th> <th>Sources</th> <th>Created</th> <th>Modified</th> <th>Access Count</th> <th>Entitlement Count</th> <th>Role Count</th> <th></th>`;
|
||||||
|
let t14;
|
||||||
|
let tbody;
|
||||||
|
let each_value = ensure_array_like(
|
||||||
|
/*reportData*/
|
||||||
|
ctx[3]
|
||||||
|
);
|
||||||
|
let each_blocks = [];
|
||||||
|
for (let i = 0; i < each_value.length; i += 1) {
|
||||||
|
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
table = element("table");
|
||||||
|
thead = element("thead");
|
||||||
|
thead.innerHTML = textContent;
|
||||||
|
t14 = space();
|
||||||
|
tbody = element("tbody");
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].c();
|
||||||
|
}
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
table = claim_element(div_nodes, "TABLE", { class: true });
|
||||||
|
var table_nodes = children(table);
|
||||||
|
thead = claim_element(table_nodes, "THEAD", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(thead) !== "svelte-6gb8sd")
|
||||||
|
thead.innerHTML = textContent;
|
||||||
|
t14 = claim_space(table_nodes);
|
||||||
|
tbody = claim_element(table_nodes, "TBODY", { class: true });
|
||||||
|
var tbody_nodes = children(tbody);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].l(tbody_nodes);
|
||||||
|
}
|
||||||
|
tbody_nodes.forEach(detach);
|
||||||
|
table_nodes.forEach(detach);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(thead, "class", "table-head");
|
||||||
|
attr(tbody, "class", "table-body");
|
||||||
|
attr(table, "class", "table");
|
||||||
|
attr(div, "class", "table-container");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
append_hydration(div, table);
|
||||||
|
append_hydration(table, thead);
|
||||||
|
append_hydration(table, t14);
|
||||||
|
append_hydration(table, tbody);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].m(tbody, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*data, modalStore*/
|
||||||
|
3) {
|
||||||
|
each_value = ensure_array_like(
|
||||||
|
/*reportData*/
|
||||||
|
ctx2[3]
|
||||||
|
);
|
||||||
|
let i;
|
||||||
|
for (i = 0; i < each_value.length; i += 1) {
|
||||||
|
const child_ctx = get_each_context(ctx2, each_value, i);
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].p(child_ctx, dirty);
|
||||||
|
} else {
|
||||||
|
each_blocks[i] = create_each_block(child_ctx);
|
||||||
|
each_blocks[i].c();
|
||||||
|
each_blocks[i].m(tbody, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].d(1);
|
||||||
|
}
|
||||||
|
each_blocks.length = each_value.length;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_each(each_blocks, detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_if_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let textContent = `<p class="text-center text-success-500">No inactive identities with access found</p>`;
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
div.innerHTML = textContent;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div) !== "svelte-1el8epx")
|
||||||
|
div.innerHTML = textContent;
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "card p-4");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_each_block(ctx) {
|
||||||
|
var _a;
|
||||||
|
let tr;
|
||||||
|
let td0;
|
||||||
|
let t0_value = (
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].displayName + ""
|
||||||
|
);
|
||||||
|
let t0;
|
||||||
|
let t1;
|
||||||
|
let td1;
|
||||||
|
let t2_value = (
|
||||||
|
/*identity*/
|
||||||
|
((_a = ctx[4].accounts) == null ? void 0 : _a.map(func).join(", ")) + ""
|
||||||
|
);
|
||||||
|
let t2;
|
||||||
|
let t3;
|
||||||
|
let td2;
|
||||||
|
let t4_value = formatDate(
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].created
|
||||||
|
) + "";
|
||||||
|
let t4;
|
||||||
|
let t5;
|
||||||
|
let td3;
|
||||||
|
let t6_value = formatDate(
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].modified
|
||||||
|
) + "";
|
||||||
|
let t6;
|
||||||
|
let t7;
|
||||||
|
let td4;
|
||||||
|
let t8_value = (
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].accessCount + ""
|
||||||
|
);
|
||||||
|
let t8;
|
||||||
|
let t9;
|
||||||
|
let td5;
|
||||||
|
let t10_value = (
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].entitlementCount + ""
|
||||||
|
);
|
||||||
|
let t10;
|
||||||
|
let t11;
|
||||||
|
let td6;
|
||||||
|
let t12_value = (
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].roleCount + ""
|
||||||
|
);
|
||||||
|
let t12;
|
||||||
|
let t13;
|
||||||
|
let td7;
|
||||||
|
let div;
|
||||||
|
let a;
|
||||||
|
let t14;
|
||||||
|
let a_href_value;
|
||||||
|
let t15;
|
||||||
|
let button;
|
||||||
|
let textContent = "View";
|
||||||
|
let t17;
|
||||||
|
let mounted;
|
||||||
|
let dispose;
|
||||||
|
function click_handler() {
|
||||||
|
return (
|
||||||
|
/*click_handler*/
|
||||||
|
ctx[2](
|
||||||
|
/*identity*/
|
||||||
|
ctx[4]
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
tr = element("tr");
|
||||||
|
td0 = element("td");
|
||||||
|
t0 = text(t0_value);
|
||||||
|
t1 = space();
|
||||||
|
td1 = element("td");
|
||||||
|
t2 = text(t2_value);
|
||||||
|
t3 = space();
|
||||||
|
td2 = element("td");
|
||||||
|
t4 = text(t4_value);
|
||||||
|
t5 = space();
|
||||||
|
td3 = element("td");
|
||||||
|
t6 = text(t6_value);
|
||||||
|
t7 = space();
|
||||||
|
td4 = element("td");
|
||||||
|
t8 = text(t8_value);
|
||||||
|
t9 = space();
|
||||||
|
td5 = element("td");
|
||||||
|
t10 = text(t10_value);
|
||||||
|
t11 = space();
|
||||||
|
td6 = element("td");
|
||||||
|
t12 = text(t12_value);
|
||||||
|
t13 = space();
|
||||||
|
td7 = element("td");
|
||||||
|
div = element("div");
|
||||||
|
a = element("a");
|
||||||
|
t14 = text("Open");
|
||||||
|
t15 = space();
|
||||||
|
button = element("button");
|
||||||
|
button.textContent = textContent;
|
||||||
|
t17 = space();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
tr = claim_element(nodes, "TR", {});
|
||||||
|
var tr_nodes = children(tr);
|
||||||
|
td0 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td0_nodes = children(td0);
|
||||||
|
t0 = claim_text(td0_nodes, t0_value);
|
||||||
|
td0_nodes.forEach(detach);
|
||||||
|
t1 = claim_space(tr_nodes);
|
||||||
|
td1 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td1_nodes = children(td1);
|
||||||
|
t2 = claim_text(td1_nodes, t2_value);
|
||||||
|
td1_nodes.forEach(detach);
|
||||||
|
t3 = claim_space(tr_nodes);
|
||||||
|
td2 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td2_nodes = children(td2);
|
||||||
|
t4 = claim_text(td2_nodes, t4_value);
|
||||||
|
td2_nodes.forEach(detach);
|
||||||
|
t5 = claim_space(tr_nodes);
|
||||||
|
td3 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td3_nodes = children(td3);
|
||||||
|
t6 = claim_text(td3_nodes, t6_value);
|
||||||
|
td3_nodes.forEach(detach);
|
||||||
|
t7 = claim_space(tr_nodes);
|
||||||
|
td4 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td4_nodes = children(td4);
|
||||||
|
t8 = claim_text(td4_nodes, t8_value);
|
||||||
|
td4_nodes.forEach(detach);
|
||||||
|
t9 = claim_space(tr_nodes);
|
||||||
|
td5 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td5_nodes = children(td5);
|
||||||
|
t10 = claim_text(td5_nodes, t10_value);
|
||||||
|
td5_nodes.forEach(detach);
|
||||||
|
t11 = claim_space(tr_nodes);
|
||||||
|
td6 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td6_nodes = children(td6);
|
||||||
|
t12 = claim_text(td6_nodes, t12_value);
|
||||||
|
td6_nodes.forEach(detach);
|
||||||
|
t13 = claim_space(tr_nodes);
|
||||||
|
td7 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td7_nodes = children(td7);
|
||||||
|
div = claim_element(td7_nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
a = claim_element(div_nodes, "A", {
|
||||||
|
href: true,
|
||||||
|
class: true,
|
||||||
|
"data-sveltekit-preload-data": true
|
||||||
|
});
|
||||||
|
var a_nodes = children(a);
|
||||||
|
t14 = claim_text(a_nodes, "Open");
|
||||||
|
a_nodes.forEach(detach);
|
||||||
|
t15 = claim_space(div_nodes);
|
||||||
|
button = claim_element(div_nodes, "BUTTON", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(button) !== "svelte-oq65oq")
|
||||||
|
button.textContent = textContent;
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
td7_nodes.forEach(detach);
|
||||||
|
t17 = claim_space(tr_nodes);
|
||||||
|
tr_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(a, "href", a_href_value = `/home/identities/${/*identity*/
|
||||||
|
ctx[4].id}`);
|
||||||
|
attr(a, "class", "btn btn-sm variant-filled-primary text-sm !text-white");
|
||||||
|
attr(a, "data-sveltekit-preload-data", "hover");
|
||||||
|
attr(button, "class", "btn btn-sm variant-filled-primary text-sm !text-white");
|
||||||
|
attr(div, "class", "flex flex-col justify-center gap-1");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, tr, anchor);
|
||||||
|
append_hydration(tr, td0);
|
||||||
|
append_hydration(td0, t0);
|
||||||
|
append_hydration(tr, t1);
|
||||||
|
append_hydration(tr, td1);
|
||||||
|
append_hydration(td1, t2);
|
||||||
|
append_hydration(tr, t3);
|
||||||
|
append_hydration(tr, td2);
|
||||||
|
append_hydration(td2, t4);
|
||||||
|
append_hydration(tr, t5);
|
||||||
|
append_hydration(tr, td3);
|
||||||
|
append_hydration(td3, t6);
|
||||||
|
append_hydration(tr, t7);
|
||||||
|
append_hydration(tr, td4);
|
||||||
|
append_hydration(td4, t8);
|
||||||
|
append_hydration(tr, t9);
|
||||||
|
append_hydration(tr, td5);
|
||||||
|
append_hydration(td5, t10);
|
||||||
|
append_hydration(tr, t11);
|
||||||
|
append_hydration(tr, td6);
|
||||||
|
append_hydration(td6, t12);
|
||||||
|
append_hydration(tr, t13);
|
||||||
|
append_hydration(tr, td7);
|
||||||
|
append_hydration(td7, div);
|
||||||
|
append_hydration(div, a);
|
||||||
|
append_hydration(a, t14);
|
||||||
|
append_hydration(div, t15);
|
||||||
|
append_hydration(div, button);
|
||||||
|
append_hydration(tr, t17);
|
||||||
|
if (!mounted) {
|
||||||
|
dispose = listen(button, "click", click_handler);
|
||||||
|
mounted = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(new_ctx, dirty) {
|
||||||
|
var _a2;
|
||||||
|
ctx = new_ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t0_value !== (t0_value = /*identity*/
|
||||||
|
ctx[4].displayName + ""))
|
||||||
|
set_data(t0, t0_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t2_value !== (t2_value = /*identity*/
|
||||||
|
((_a2 = ctx[4].accounts) == null ? void 0 : _a2.map(func).join(", ")) + ""))
|
||||||
|
set_data(t2, t2_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t4_value !== (t4_value = formatDate(
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].created
|
||||||
|
) + ""))
|
||||||
|
set_data(t4, t4_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t6_value !== (t6_value = formatDate(
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].modified
|
||||||
|
) + ""))
|
||||||
|
set_data(t6, t6_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t8_value !== (t8_value = /*identity*/
|
||||||
|
ctx[4].accessCount + ""))
|
||||||
|
set_data(t8, t8_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t10_value !== (t10_value = /*identity*/
|
||||||
|
ctx[4].entitlementCount + ""))
|
||||||
|
set_data(t10, t10_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t12_value !== (t12_value = /*identity*/
|
||||||
|
ctx[4].roleCount + ""))
|
||||||
|
set_data(t12, t12_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && a_href_value !== (a_href_value = `/home/identities/${/*identity*/
|
||||||
|
ctx[4].id}`)) {
|
||||||
|
attr(a, "href", a_href_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(tr);
|
||||||
|
}
|
||||||
|
mounted = false;
|
||||||
|
dispose();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_pending_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let progress;
|
||||||
|
let current;
|
||||||
|
progress = new Progress({ props: { width: "w-[100px]" } });
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
create_component(progress.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
claim_component(progress.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "grid h-full place-content-center p-8");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
mount_component(progress, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(progress.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(progress.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_component(progress);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div1;
|
||||||
|
let div0;
|
||||||
|
let textContent = `<p class="text-2xl text-center">List of all identities that are inactive but still have access in sources</p>`;
|
||||||
|
let t1;
|
||||||
|
let promise;
|
||||||
|
let current;
|
||||||
|
let info = {
|
||||||
|
ctx,
|
||||||
|
current: null,
|
||||||
|
token: null,
|
||||||
|
hasCatch: false,
|
||||||
|
pending: create_pending_block,
|
||||||
|
then: create_then_block,
|
||||||
|
catch: create_catch_block,
|
||||||
|
value: 3,
|
||||||
|
blocks: [, , ,]
|
||||||
|
};
|
||||||
|
handle_promise(promise = /*data*/
|
||||||
|
ctx[0].reportData, info);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div1 = element("div");
|
||||||
|
div0 = element("div");
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = space();
|
||||||
|
info.block.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div1 = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div1_nodes = children(div1);
|
||||||
|
div0 = claim_element(div1_nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div0) !== "svelte-f8eoy7")
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = claim_space(div1_nodes);
|
||||||
|
info.block.l(div1_nodes);
|
||||||
|
div1_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div0, "class", "card p-4");
|
||||||
|
attr(div1, "class", "flex justify-center flex-col align-middle gap-2");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div1, anchor);
|
||||||
|
append_hydration(div1, div0);
|
||||||
|
append_hydration(div1, t1);
|
||||||
|
info.block.m(div1, info.anchor = null);
|
||||||
|
info.mount = () => div1;
|
||||||
|
info.anchor = null;
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(new_ctx, [dirty]) {
|
||||||
|
ctx = new_ctx;
|
||||||
|
info.ctx = ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && promise !== (promise = /*data*/
|
||||||
|
ctx[0].reportData) && handle_promise(promise, info))
|
||||||
|
;
|
||||||
|
else {
|
||||||
|
update_await_block_branch(info, ctx, dirty);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(info.block);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
for (let i = 0; i < 3; i += 1) {
|
||||||
|
const block = info.blocks[i];
|
||||||
|
transition_out(block);
|
||||||
|
}
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div1);
|
||||||
|
}
|
||||||
|
info.block.d();
|
||||||
|
info.token = null;
|
||||||
|
info = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
const func = (account) => {
|
||||||
|
var _a;
|
||||||
|
return (_a = account.source) == null ? void 0 : _a.name;
|
||||||
|
};
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let { data } = $$props;
|
||||||
|
const modalStore = getModalStore();
|
||||||
|
const click_handler = (identity) => TriggerCodeModal(identity, modalStore);
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("data" in $$props2)
|
||||||
|
$$invalidate(0, data = $$props2.data);
|
||||||
|
};
|
||||||
|
return [data, modalStore, click_handler];
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
2794
out/renderer/client/_app/immutable/nodes/8.CYfxja1r.js
Normal file
2794
out/renderer/client/_app/immutable/nodes/8.CYfxja1r.js
Normal file
File diff suppressed because it is too large
Load Diff
512
out/renderer/client/_app/immutable/nodes/9.D3DEtmXB.js
Normal file
512
out/renderer/client/_app/immutable/nodes/9.D3DEtmXB.js
Normal file
@@ -0,0 +1,512 @@
|
|||||||
|
import { s as safe_not_equal, e as element, a as space, c as claim_element, b as children, h as get_svelte_dataset, f as claim_space, g as detach, i as attr, j as insert_hydration, k as append_hydration, o as noop, n as destroy_each, t as text, d as claim_text, x as listen, l as set_data } from "../chunks/scheduler.fBTsnP2i.js";
|
||||||
|
import { h as handle_promise, u as update_await_block_branch, P as Progress } from "../chunks/Progress.3ESwaKmp.js";
|
||||||
|
import { e as ensure_array_like } from "../chunks/each.C9vk03ly.js";
|
||||||
|
import { S as SvelteComponent, i as init, t as transition_in, a as transition_out, b as create_component, d as claim_component, m as mount_component, e as destroy_component } from "../chunks/index.DdnDjIf5.js";
|
||||||
|
import { g as getModalStore, T as TriggerCodeModal, f as formatDate } from "../chunks/Utils.BOVa1qxf.js";
|
||||||
|
import "../chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js";
|
||||||
|
function get_each_context(ctx, list, i) {
|
||||||
|
const child_ctx = ctx.slice();
|
||||||
|
child_ctx[4] = list[i];
|
||||||
|
return child_ctx;
|
||||||
|
}
|
||||||
|
function create_catch_block(ctx) {
|
||||||
|
return {
|
||||||
|
c: noop,
|
||||||
|
l: noop,
|
||||||
|
m: noop,
|
||||||
|
p: noop,
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d: noop
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_then_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let table;
|
||||||
|
let thead;
|
||||||
|
let textContent = `<th>Name</th> <th>Sources</th> <th>Created</th> <th>Access Count</th> <th>Entitlement Count</th> <th>Role Count</th> <th></th>`;
|
||||||
|
let t12;
|
||||||
|
let tbody;
|
||||||
|
let each_value = ensure_array_like(
|
||||||
|
/*reportData*/
|
||||||
|
ctx[3]
|
||||||
|
);
|
||||||
|
let each_blocks = [];
|
||||||
|
for (let i = 0; i < each_value.length; i += 1) {
|
||||||
|
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
table = element("table");
|
||||||
|
thead = element("thead");
|
||||||
|
thead.innerHTML = textContent;
|
||||||
|
t12 = space();
|
||||||
|
tbody = element("tbody");
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].c();
|
||||||
|
}
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
table = claim_element(div_nodes, "TABLE", { class: true });
|
||||||
|
var table_nodes = children(table);
|
||||||
|
thead = claim_element(table_nodes, "THEAD", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(thead) !== "svelte-13zfyyz")
|
||||||
|
thead.innerHTML = textContent;
|
||||||
|
t12 = claim_space(table_nodes);
|
||||||
|
tbody = claim_element(table_nodes, "TBODY", { class: true });
|
||||||
|
var tbody_nodes = children(tbody);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].l(tbody_nodes);
|
||||||
|
}
|
||||||
|
tbody_nodes.forEach(detach);
|
||||||
|
table_nodes.forEach(detach);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(thead, "class", "table-head");
|
||||||
|
attr(tbody, "class", "table-body");
|
||||||
|
attr(table, "class", "table");
|
||||||
|
attr(div, "class", "table-container");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
append_hydration(div, table);
|
||||||
|
append_hydration(table, thead);
|
||||||
|
append_hydration(table, t12);
|
||||||
|
append_hydration(table, tbody);
|
||||||
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].m(tbody, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(ctx2, dirty) {
|
||||||
|
if (dirty & /*data, modalStore*/
|
||||||
|
3) {
|
||||||
|
each_value = ensure_array_like(
|
||||||
|
/*reportData*/
|
||||||
|
ctx2[3]
|
||||||
|
);
|
||||||
|
let i;
|
||||||
|
for (i = 0; i < each_value.length; i += 1) {
|
||||||
|
const child_ctx = get_each_context(ctx2, each_value, i);
|
||||||
|
if (each_blocks[i]) {
|
||||||
|
each_blocks[i].p(child_ctx, dirty);
|
||||||
|
} else {
|
||||||
|
each_blocks[i] = create_each_block(child_ctx);
|
||||||
|
each_blocks[i].c();
|
||||||
|
each_blocks[i].m(tbody, null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (; i < each_blocks.length; i += 1) {
|
||||||
|
each_blocks[i].d(1);
|
||||||
|
}
|
||||||
|
each_blocks.length = each_value.length;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i: noop,
|
||||||
|
o: noop,
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_each(each_blocks, detaching);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_each_block(ctx) {
|
||||||
|
var _a;
|
||||||
|
let tr;
|
||||||
|
let td0;
|
||||||
|
let t0_value = (
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].displayName + ""
|
||||||
|
);
|
||||||
|
let t0;
|
||||||
|
let t1;
|
||||||
|
let td1;
|
||||||
|
let t2_value = (
|
||||||
|
/*identity*/
|
||||||
|
((_a = ctx[4].accounts) == null ? void 0 : _a.map(func).join(", ")) + ""
|
||||||
|
);
|
||||||
|
let t2;
|
||||||
|
let t3;
|
||||||
|
let td2;
|
||||||
|
let t4_value = formatDate(
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].created
|
||||||
|
) + "";
|
||||||
|
let t4;
|
||||||
|
let t5;
|
||||||
|
let td3;
|
||||||
|
let t6_value = (
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].accessCount + ""
|
||||||
|
);
|
||||||
|
let t6;
|
||||||
|
let t7;
|
||||||
|
let td4;
|
||||||
|
let t8_value = (
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].entitlementCount + ""
|
||||||
|
);
|
||||||
|
let t8;
|
||||||
|
let t9;
|
||||||
|
let td5;
|
||||||
|
let t10_value = (
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].roleCount + ""
|
||||||
|
);
|
||||||
|
let t10;
|
||||||
|
let t11;
|
||||||
|
let td6;
|
||||||
|
let div;
|
||||||
|
let a;
|
||||||
|
let t12;
|
||||||
|
let a_href_value;
|
||||||
|
let t13;
|
||||||
|
let button;
|
||||||
|
let textContent = "View";
|
||||||
|
let t15;
|
||||||
|
let mounted;
|
||||||
|
let dispose;
|
||||||
|
function click_handler() {
|
||||||
|
return (
|
||||||
|
/*click_handler*/
|
||||||
|
ctx[2](
|
||||||
|
/*identity*/
|
||||||
|
ctx[4]
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
tr = element("tr");
|
||||||
|
td0 = element("td");
|
||||||
|
t0 = text(t0_value);
|
||||||
|
t1 = space();
|
||||||
|
td1 = element("td");
|
||||||
|
t2 = text(t2_value);
|
||||||
|
t3 = space();
|
||||||
|
td2 = element("td");
|
||||||
|
t4 = text(t4_value);
|
||||||
|
t5 = space();
|
||||||
|
td3 = element("td");
|
||||||
|
t6 = text(t6_value);
|
||||||
|
t7 = space();
|
||||||
|
td4 = element("td");
|
||||||
|
t8 = text(t8_value);
|
||||||
|
t9 = space();
|
||||||
|
td5 = element("td");
|
||||||
|
t10 = text(t10_value);
|
||||||
|
t11 = space();
|
||||||
|
td6 = element("td");
|
||||||
|
div = element("div");
|
||||||
|
a = element("a");
|
||||||
|
t12 = text("Open");
|
||||||
|
t13 = space();
|
||||||
|
button = element("button");
|
||||||
|
button.textContent = textContent;
|
||||||
|
t15 = space();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
tr = claim_element(nodes, "TR", {});
|
||||||
|
var tr_nodes = children(tr);
|
||||||
|
td0 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td0_nodes = children(td0);
|
||||||
|
t0 = claim_text(td0_nodes, t0_value);
|
||||||
|
td0_nodes.forEach(detach);
|
||||||
|
t1 = claim_space(tr_nodes);
|
||||||
|
td1 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td1_nodes = children(td1);
|
||||||
|
t2 = claim_text(td1_nodes, t2_value);
|
||||||
|
td1_nodes.forEach(detach);
|
||||||
|
t3 = claim_space(tr_nodes);
|
||||||
|
td2 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td2_nodes = children(td2);
|
||||||
|
t4 = claim_text(td2_nodes, t4_value);
|
||||||
|
td2_nodes.forEach(detach);
|
||||||
|
t5 = claim_space(tr_nodes);
|
||||||
|
td3 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td3_nodes = children(td3);
|
||||||
|
t6 = claim_text(td3_nodes, t6_value);
|
||||||
|
td3_nodes.forEach(detach);
|
||||||
|
t7 = claim_space(tr_nodes);
|
||||||
|
td4 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td4_nodes = children(td4);
|
||||||
|
t8 = claim_text(td4_nodes, t8_value);
|
||||||
|
td4_nodes.forEach(detach);
|
||||||
|
t9 = claim_space(tr_nodes);
|
||||||
|
td5 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td5_nodes = children(td5);
|
||||||
|
t10 = claim_text(td5_nodes, t10_value);
|
||||||
|
td5_nodes.forEach(detach);
|
||||||
|
t11 = claim_space(tr_nodes);
|
||||||
|
td6 = claim_element(tr_nodes, "TD", {});
|
||||||
|
var td6_nodes = children(td6);
|
||||||
|
div = claim_element(td6_nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
a = claim_element(div_nodes, "A", {
|
||||||
|
href: true,
|
||||||
|
class: true,
|
||||||
|
"data-sveltekit-preload-data": true
|
||||||
|
});
|
||||||
|
var a_nodes = children(a);
|
||||||
|
t12 = claim_text(a_nodes, "Open");
|
||||||
|
a_nodes.forEach(detach);
|
||||||
|
t13 = claim_space(div_nodes);
|
||||||
|
button = claim_element(div_nodes, "BUTTON", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(button) !== "svelte-v2pl7n")
|
||||||
|
button.textContent = textContent;
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
td6_nodes.forEach(detach);
|
||||||
|
t15 = claim_space(tr_nodes);
|
||||||
|
tr_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(a, "href", a_href_value = `/home/identities/${/*identity*/
|
||||||
|
ctx[4].id}`);
|
||||||
|
attr(a, "class", "btn btn-sm variant-filled-primary text-sm !text-white");
|
||||||
|
attr(a, "data-sveltekit-preload-data", "hover");
|
||||||
|
attr(button, "class", "btn btn-sm variant-filled-primary text-sm !text-white");
|
||||||
|
attr(div, "class", "flex flex-col justify-center gap-1");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, tr, anchor);
|
||||||
|
append_hydration(tr, td0);
|
||||||
|
append_hydration(td0, t0);
|
||||||
|
append_hydration(tr, t1);
|
||||||
|
append_hydration(tr, td1);
|
||||||
|
append_hydration(td1, t2);
|
||||||
|
append_hydration(tr, t3);
|
||||||
|
append_hydration(tr, td2);
|
||||||
|
append_hydration(td2, t4);
|
||||||
|
append_hydration(tr, t5);
|
||||||
|
append_hydration(tr, td3);
|
||||||
|
append_hydration(td3, t6);
|
||||||
|
append_hydration(tr, t7);
|
||||||
|
append_hydration(tr, td4);
|
||||||
|
append_hydration(td4, t8);
|
||||||
|
append_hydration(tr, t9);
|
||||||
|
append_hydration(tr, td5);
|
||||||
|
append_hydration(td5, t10);
|
||||||
|
append_hydration(tr, t11);
|
||||||
|
append_hydration(tr, td6);
|
||||||
|
append_hydration(td6, div);
|
||||||
|
append_hydration(div, a);
|
||||||
|
append_hydration(a, t12);
|
||||||
|
append_hydration(div, t13);
|
||||||
|
append_hydration(div, button);
|
||||||
|
append_hydration(tr, t15);
|
||||||
|
if (!mounted) {
|
||||||
|
dispose = listen(button, "click", click_handler);
|
||||||
|
mounted = true;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
p(new_ctx, dirty) {
|
||||||
|
var _a2;
|
||||||
|
ctx = new_ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t0_value !== (t0_value = /*identity*/
|
||||||
|
ctx[4].displayName + ""))
|
||||||
|
set_data(t0, t0_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t2_value !== (t2_value = /*identity*/
|
||||||
|
((_a2 = ctx[4].accounts) == null ? void 0 : _a2.map(func).join(", ")) + ""))
|
||||||
|
set_data(t2, t2_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t4_value !== (t4_value = formatDate(
|
||||||
|
/*identity*/
|
||||||
|
ctx[4].created
|
||||||
|
) + ""))
|
||||||
|
set_data(t4, t4_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t6_value !== (t6_value = /*identity*/
|
||||||
|
ctx[4].accessCount + ""))
|
||||||
|
set_data(t6, t6_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t8_value !== (t8_value = /*identity*/
|
||||||
|
ctx[4].entitlementCount + ""))
|
||||||
|
set_data(t8, t8_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && t10_value !== (t10_value = /*identity*/
|
||||||
|
ctx[4].roleCount + ""))
|
||||||
|
set_data(t10, t10_value);
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && a_href_value !== (a_href_value = `/home/identities/${/*identity*/
|
||||||
|
ctx[4].id}`)) {
|
||||||
|
attr(a, "href", a_href_value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(tr);
|
||||||
|
}
|
||||||
|
mounted = false;
|
||||||
|
dispose();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_pending_block(ctx) {
|
||||||
|
let div;
|
||||||
|
let progress;
|
||||||
|
let current;
|
||||||
|
progress = new Progress({ props: { width: "w-[100px]" } });
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div = element("div");
|
||||||
|
create_component(progress.$$.fragment);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div_nodes = children(div);
|
||||||
|
claim_component(progress.$$.fragment, div_nodes);
|
||||||
|
div_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div, "class", "grid h-full place-content-center p-8");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div, anchor);
|
||||||
|
mount_component(progress, div, null);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p: noop,
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(progress.$$.fragment, local);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
transition_out(progress.$$.fragment, local);
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div);
|
||||||
|
}
|
||||||
|
destroy_component(progress);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function create_fragment(ctx) {
|
||||||
|
let div1;
|
||||||
|
let div0;
|
||||||
|
let textContent = `<p class="text-2xl text-center">Listing of identities that are missing the cloud life cycle state attribute</p>`;
|
||||||
|
let t1;
|
||||||
|
let promise;
|
||||||
|
let current;
|
||||||
|
let info = {
|
||||||
|
ctx,
|
||||||
|
current: null,
|
||||||
|
token: null,
|
||||||
|
hasCatch: false,
|
||||||
|
pending: create_pending_block,
|
||||||
|
then: create_then_block,
|
||||||
|
catch: create_catch_block,
|
||||||
|
value: 3,
|
||||||
|
blocks: [, , ,]
|
||||||
|
};
|
||||||
|
handle_promise(promise = /*data*/
|
||||||
|
ctx[0].reportData, info);
|
||||||
|
return {
|
||||||
|
c() {
|
||||||
|
div1 = element("div");
|
||||||
|
div0 = element("div");
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = space();
|
||||||
|
info.block.c();
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
l(nodes) {
|
||||||
|
div1 = claim_element(nodes, "DIV", { class: true });
|
||||||
|
var div1_nodes = children(div1);
|
||||||
|
div0 = claim_element(div1_nodes, "DIV", { class: true, ["data-svelte-h"]: true });
|
||||||
|
if (get_svelte_dataset(div0) !== "svelte-1rkz5aa")
|
||||||
|
div0.innerHTML = textContent;
|
||||||
|
t1 = claim_space(div1_nodes);
|
||||||
|
info.block.l(div1_nodes);
|
||||||
|
div1_nodes.forEach(detach);
|
||||||
|
this.h();
|
||||||
|
},
|
||||||
|
h() {
|
||||||
|
attr(div0, "class", "card p-4");
|
||||||
|
attr(div1, "class", "flex justify-center flex-col align-middle");
|
||||||
|
},
|
||||||
|
m(target, anchor) {
|
||||||
|
insert_hydration(target, div1, anchor);
|
||||||
|
append_hydration(div1, div0);
|
||||||
|
append_hydration(div1, t1);
|
||||||
|
info.block.m(div1, info.anchor = null);
|
||||||
|
info.mount = () => div1;
|
||||||
|
info.anchor = null;
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
p(new_ctx, [dirty]) {
|
||||||
|
ctx = new_ctx;
|
||||||
|
info.ctx = ctx;
|
||||||
|
if (dirty & /*data*/
|
||||||
|
1 && promise !== (promise = /*data*/
|
||||||
|
ctx[0].reportData) && handle_promise(promise, info))
|
||||||
|
;
|
||||||
|
else {
|
||||||
|
update_await_block_branch(info, ctx, dirty);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
i(local) {
|
||||||
|
if (current)
|
||||||
|
return;
|
||||||
|
transition_in(info.block);
|
||||||
|
current = true;
|
||||||
|
},
|
||||||
|
o(local) {
|
||||||
|
for (let i = 0; i < 3; i += 1) {
|
||||||
|
const block = info.blocks[i];
|
||||||
|
transition_out(block);
|
||||||
|
}
|
||||||
|
current = false;
|
||||||
|
},
|
||||||
|
d(detaching) {
|
||||||
|
if (detaching) {
|
||||||
|
detach(div1);
|
||||||
|
}
|
||||||
|
info.block.d();
|
||||||
|
info.token = null;
|
||||||
|
info = null;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
const func = (account) => {
|
||||||
|
var _a;
|
||||||
|
return (_a = account.source) == null ? void 0 : _a.name;
|
||||||
|
};
|
||||||
|
function instance($$self, $$props, $$invalidate) {
|
||||||
|
let { data } = $$props;
|
||||||
|
console.log(data);
|
||||||
|
const modalStore = getModalStore();
|
||||||
|
const click_handler = (identity) => TriggerCodeModal(identity, modalStore);
|
||||||
|
$$self.$$set = ($$props2) => {
|
||||||
|
if ("data" in $$props2)
|
||||||
|
$$invalidate(0, data = $$props2.data);
|
||||||
|
};
|
||||||
|
return [data, modalStore, click_handler];
|
||||||
|
}
|
||||||
|
class Page extends SvelteComponent {
|
||||||
|
constructor(options) {
|
||||||
|
super();
|
||||||
|
init(this, options, instance, create_fragment, safe_not_equal, { data: 0 });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
export {
|
||||||
|
Page as component
|
||||||
|
};
|
||||||
1
out/renderer/client/_app/version.json
Normal file
1
out/renderer/client/_app/version.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":"1709675442939"}
|
||||||
|
Before Width: | Height: | Size: 259 KiB After Width: | Height: | Size: 259 KiB |
38
out/renderer/env.js
Normal file
38
out/renderer/env.js
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
/* global "" */
|
||||||
|
|
||||||
|
const expected = new Set([
|
||||||
|
'SOCKET_PATH',
|
||||||
|
'HOST',
|
||||||
|
'PORT',
|
||||||
|
'ORIGIN',
|
||||||
|
'XFF_DEPTH',
|
||||||
|
'ADDRESS_HEADER',
|
||||||
|
'PROTOCOL_HEADER',
|
||||||
|
'HOST_HEADER',
|
||||||
|
'PORT_HEADER',
|
||||||
|
'BODY_SIZE_LIMIT'
|
||||||
|
]);
|
||||||
|
|
||||||
|
if ("") {
|
||||||
|
for (const name in process.env) {
|
||||||
|
if (name.startsWith("")) {
|
||||||
|
const unprefixed = name.slice("".length);
|
||||||
|
if (!expected.has(unprefixed)) {
|
||||||
|
throw new Error(
|
||||||
|
`You should change envPrefix (${""}) to avoid conflicts with existing environment variables — unexpectedly saw ${name}`
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string} name
|
||||||
|
* @param {any} fallback
|
||||||
|
*/
|
||||||
|
function env(name, fallback) {
|
||||||
|
const prefixed = "" + name;
|
||||||
|
return prefixed in process.env ? process.env[prefixed] : fallback;
|
||||||
|
}
|
||||||
|
|
||||||
|
export { env };
|
||||||
1334
out/renderer/handler.js
Normal file
1334
out/renderer/handler.js
Normal file
File diff suppressed because it is too large
Load Diff
243
out/renderer/index.js
Normal file
243
out/renderer/index.js
Normal file
@@ -0,0 +1,243 @@
|
|||||||
|
import { handler } from './handler.js';
|
||||||
|
import { env } from './env.js';
|
||||||
|
import http from 'http';
|
||||||
|
import * as qs from 'querystring';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {string|RegExp} input The route pattern
|
||||||
|
* @param {boolean} [loose] Allow open-ended matching. Ignored with `RegExp` input.
|
||||||
|
*/
|
||||||
|
function parse$1(input, loose) {
|
||||||
|
if (input instanceof RegExp) return { keys:false, pattern:input };
|
||||||
|
var c, o, tmp, ext, keys=[], pattern='', arr = input.split('/');
|
||||||
|
arr[0] || arr.shift();
|
||||||
|
|
||||||
|
while (tmp = arr.shift()) {
|
||||||
|
c = tmp[0];
|
||||||
|
if (c === '*') {
|
||||||
|
keys.push(c);
|
||||||
|
pattern += tmp[1] === '?' ? '(?:/(.*))?' : '/(.*)';
|
||||||
|
} else if (c === ':') {
|
||||||
|
o = tmp.indexOf('?', 1);
|
||||||
|
ext = tmp.indexOf('.', 1);
|
||||||
|
keys.push( tmp.substring(1, !!~o ? o : !!~ext ? ext : tmp.length) );
|
||||||
|
pattern += !!~o && !~ext ? '(?:/([^/]+?))?' : '/([^/]+?)';
|
||||||
|
if (!!~ext) pattern += (!!~o ? '?' : '') + '\\' + tmp.substring(ext);
|
||||||
|
} else {
|
||||||
|
pattern += '/' + tmp;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return {
|
||||||
|
keys: keys,
|
||||||
|
pattern: new RegExp('^' + pattern + (loose ? '(?=$|\/)' : '\/?$'), 'i')
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
const MAP = {
|
||||||
|
"": 0,
|
||||||
|
GET: 1,
|
||||||
|
HEAD: 2,
|
||||||
|
PATCH: 3,
|
||||||
|
OPTIONS: 4,
|
||||||
|
CONNECT: 5,
|
||||||
|
DELETE: 6,
|
||||||
|
TRACE: 7,
|
||||||
|
POST: 8,
|
||||||
|
PUT: 9,
|
||||||
|
};
|
||||||
|
|
||||||
|
class Trouter {
|
||||||
|
constructor() {
|
||||||
|
this.routes = [];
|
||||||
|
|
||||||
|
this.all = this.add.bind(this, '');
|
||||||
|
this.get = this.add.bind(this, 'GET');
|
||||||
|
this.head = this.add.bind(this, 'HEAD');
|
||||||
|
this.patch = this.add.bind(this, 'PATCH');
|
||||||
|
this.options = this.add.bind(this, 'OPTIONS');
|
||||||
|
this.connect = this.add.bind(this, 'CONNECT');
|
||||||
|
this.delete = this.add.bind(this, 'DELETE');
|
||||||
|
this.trace = this.add.bind(this, 'TRACE');
|
||||||
|
this.post = this.add.bind(this, 'POST');
|
||||||
|
this.put = this.add.bind(this, 'PUT');
|
||||||
|
}
|
||||||
|
|
||||||
|
use(route, ...fns) {
|
||||||
|
let handlers = [].concat.apply([], fns);
|
||||||
|
let { keys, pattern } = parse$1(route, true);
|
||||||
|
this.routes.push({ keys, pattern, method: '', handlers, midx: MAP[''] });
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
add(method, route, ...fns) {
|
||||||
|
let { keys, pattern } = parse$1(route);
|
||||||
|
let handlers = [].concat.apply([], fns);
|
||||||
|
this.routes.push({ keys, pattern, method, handlers, midx: MAP[method] });
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
find(method, url) {
|
||||||
|
let midx = MAP[method];
|
||||||
|
let isHEAD = (midx === 2);
|
||||||
|
let i=0, j=0, k, tmp, arr=this.routes;
|
||||||
|
let matches=[], params={}, handlers=[];
|
||||||
|
for (; i < arr.length; i++) {
|
||||||
|
tmp = arr[i];
|
||||||
|
if (tmp.midx === midx || tmp.midx === 0 || (isHEAD && tmp.midx===1) ) {
|
||||||
|
if (tmp.keys === false) {
|
||||||
|
matches = tmp.pattern.exec(url);
|
||||||
|
if (matches === null) continue;
|
||||||
|
if (matches.groups !== void 0) for (k in matches.groups) params[k]=matches.groups[k];
|
||||||
|
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||||
|
} else if (tmp.keys.length > 0) {
|
||||||
|
matches = tmp.pattern.exec(url);
|
||||||
|
if (matches === null) continue;
|
||||||
|
for (j=0; j < tmp.keys.length;) params[tmp.keys[j]]=matches[++j];
|
||||||
|
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||||
|
} else if (tmp.pattern.test(url)) {
|
||||||
|
tmp.handlers.length > 1 ? (handlers=handlers.concat(tmp.handlers)) : handlers.push(tmp.handlers[0]);
|
||||||
|
}
|
||||||
|
} // else not a match
|
||||||
|
}
|
||||||
|
|
||||||
|
return { params, handlers };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef ParsedURL
|
||||||
|
* @type {import('.').ParsedURL}
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @typedef Request
|
||||||
|
* @property {string} url
|
||||||
|
* @property {ParsedURL} _parsedUrl
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {Request} req
|
||||||
|
* @returns {ParsedURL|void}
|
||||||
|
*/
|
||||||
|
function parse(req) {
|
||||||
|
let raw = req.url;
|
||||||
|
if (raw == null) return;
|
||||||
|
|
||||||
|
let prev = req._parsedUrl;
|
||||||
|
if (prev && prev.raw === raw) return prev;
|
||||||
|
|
||||||
|
let pathname=raw, search='', query;
|
||||||
|
|
||||||
|
if (raw.length > 1) {
|
||||||
|
let idx = raw.indexOf('?', 1);
|
||||||
|
|
||||||
|
if (idx !== -1) {
|
||||||
|
search = raw.substring(idx);
|
||||||
|
pathname = raw.substring(0, idx);
|
||||||
|
if (search.length > 1) {
|
||||||
|
query = qs.parse(search.substring(1));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return req._parsedUrl = { pathname, search, query, raw };
|
||||||
|
}
|
||||||
|
|
||||||
|
function onError(err, req, res) {
|
||||||
|
let code = typeof err.status === 'number' && err.status;
|
||||||
|
code = res.statusCode = (code && code >= 100 ? code : 500);
|
||||||
|
if (typeof err === 'string' || Buffer.isBuffer(err)) res.end(err);
|
||||||
|
else res.end(err.message || http.STATUS_CODES[code]);
|
||||||
|
}
|
||||||
|
|
||||||
|
const mount = fn => fn instanceof Polka ? fn.attach : fn;
|
||||||
|
|
||||||
|
class Polka extends Trouter {
|
||||||
|
constructor(opts={}) {
|
||||||
|
super();
|
||||||
|
this.parse = parse;
|
||||||
|
this.server = opts.server;
|
||||||
|
this.handler = this.handler.bind(this);
|
||||||
|
this.onError = opts.onError || onError; // catch-all handler
|
||||||
|
this.onNoMatch = opts.onNoMatch || this.onError.bind(null, { status: 404 });
|
||||||
|
this.attach = (req, res) => setImmediate(this.handler, req, res);
|
||||||
|
}
|
||||||
|
|
||||||
|
use(base, ...fns) {
|
||||||
|
if (base === '/') {
|
||||||
|
super.use(base, fns.map(mount));
|
||||||
|
} else if (typeof base === 'function' || base instanceof Polka) {
|
||||||
|
super.use('/', [base, ...fns].map(mount));
|
||||||
|
} else {
|
||||||
|
super.use(base,
|
||||||
|
(req, _, next) => {
|
||||||
|
if (typeof base === 'string') {
|
||||||
|
let len = base.length;
|
||||||
|
base.startsWith('/') || len++;
|
||||||
|
req.url = req.url.substring(len) || '/';
|
||||||
|
req.path = req.path.substring(len) || '/';
|
||||||
|
} else {
|
||||||
|
req.url = req.url.replace(base, '') || '/';
|
||||||
|
req.path = req.path.replace(base, '') || '/';
|
||||||
|
}
|
||||||
|
if (req.url.charAt(0) !== '/') {
|
||||||
|
req.url = '/' + req.url;
|
||||||
|
}
|
||||||
|
next();
|
||||||
|
},
|
||||||
|
fns.map(mount),
|
||||||
|
(req, _, next) => {
|
||||||
|
req.path = req._parsedUrl.pathname;
|
||||||
|
req.url = req.path + req._parsedUrl.search;
|
||||||
|
next();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return this; // chainable
|
||||||
|
}
|
||||||
|
|
||||||
|
listen() {
|
||||||
|
(this.server = this.server || http.createServer()).on('request', this.attach);
|
||||||
|
this.server.listen.apply(this.server, arguments);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
handler(req, res, next) {
|
||||||
|
let info = this.parse(req), path = info.pathname;
|
||||||
|
let obj = this.find(req.method, req.path=path);
|
||||||
|
|
||||||
|
req.url = path + info.search;
|
||||||
|
req.originalUrl = req.originalUrl || req.url;
|
||||||
|
req.query = info.query || {};
|
||||||
|
req.search = info.search;
|
||||||
|
req.params = obj.params;
|
||||||
|
|
||||||
|
if (path.length > 1 && path.indexOf('%', 1) !== -1) {
|
||||||
|
for (let k in req.params) {
|
||||||
|
try { req.params[k] = decodeURIComponent(req.params[k]); }
|
||||||
|
catch (e) { /* malform uri segment */ }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
let i=0, arr=obj.handlers.concat(this.onNoMatch), len=arr.length;
|
||||||
|
let loop = async () => res.finished || (i < len) && arr[i++](req, res, next);
|
||||||
|
(next = next || (err => err ? this.onError(err, req, res, next) : loop().catch(next)))(); // init
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function polka (opts) {
|
||||||
|
return new Polka(opts);
|
||||||
|
}
|
||||||
|
|
||||||
|
const path = env('SOCKET_PATH', false);
|
||||||
|
const host = env('HOST', '0.0.0.0');
|
||||||
|
const port = env('PORT', !path && '3000');
|
||||||
|
|
||||||
|
const server = polka().use(handler);
|
||||||
|
|
||||||
|
server.listen({ path, host, port }, () => {
|
||||||
|
console.log(`Listening on ${path ? path : host + ':' + port}`);
|
||||||
|
});
|
||||||
|
|
||||||
|
export { host, path, port, server };
|
||||||
22
out/renderer/server/chunks/0-CEG9s5fX.js
Normal file
22
out/renderer/server/chunks/0-CEG9s5fX.js
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
const load = async ({ url, locals }) => {
|
||||||
|
if (!locals.hasSession || !locals.hasIdnSession || url.pathname === "/logout") {
|
||||||
|
return { tokenDetails: void 0 };
|
||||||
|
}
|
||||||
|
return { tokenDetails: locals.tokenDetails };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _layout_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 0;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_layout.svelte-LzGJOOI2.js')).default;
|
||||||
|
const server_id = "src/routes/+layout.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/0.CbrYeH4U.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/stores.BRlO1dnN.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/entry.Cs_QM1XO.js","_app/immutable/chunks/Utils.BOVa1qxf.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/0.AUToJKdW.css","_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _layout_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=0-CEG9s5fX.js.map
|
||||||
1
out/renderer/server/chunks/0-CEG9s5fX.js.map
Normal file
1
out/renderer/server/chunks/0-CEG9s5fX.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"0-CEG9s5fX.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/_layout.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["const load = async ({ url, locals }) => {\n if (!locals.hasSession || !locals.hasIdnSession || url.pathname === \"/logout\") {\n return { tokenDetails: void 0 };\n }\n return { tokenDetails: locals.tokenDetails };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/_layout.server.ts.js';\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/+layout.server.ts\";\nexport const imports = [\"_app/immutable/nodes/0.CbrYeH4U.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/each.C9vk03ly.js\",\"_app/immutable/chunks/stores.BRlO1dnN.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\",\"_app/immutable/chunks/Utils.BOVa1qxf.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.AUToJKdW.css\",\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK;AACxC,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,CAAC,MAAM,CAAC,aAAa,IAAI,GAAG,CAAC,QAAQ,KAAK,SAAS,EAAE;AACjF,IAAI,OAAO,EAAE,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;AACpC,GAAG;AACH,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,CAAC;AAC/C,CAAC;;;;;;;ACHW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE,QAAQ;AAE1G,MAAC,SAAS,GAAG,+BAA+B;AAC5C,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,0CAA0C,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,6EAA6E,EAAE;AAC1a,MAAC,WAAW,GAAG,CAAC,sCAAsC,CAAC,gDAAgD,EAAE;AACzG,MAAC,KAAK,GAAG;;;;"}
|
||||||
9
out/renderer/server/chunks/1-DWCTiVZC.js
Normal file
9
out/renderer/server/chunks/1-DWCTiVZC.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
const index = 1;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_error.svelte-CB21MUWC.js')).default;
|
||||||
|
const imports = ["_app/immutable/nodes/1.B7klP2qO.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/stores.BRlO1dnN.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/entry.Cs_QM1XO.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, stylesheets };
|
||||||
|
//# sourceMappingURL=1-DWCTiVZC.js.map
|
||||||
1
out/renderer/server/chunks/1-DWCTiVZC.js.map
Normal file
1
out/renderer/server/chunks/1-DWCTiVZC.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"1-DWCTiVZC.js","sources":["../../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.B7klP2qO.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/each.C9vk03ly.js\",\"_app/immutable/chunks/stores.BRlO1dnN.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,6BAAmC,CAAC,EAAE,QAAQ;AACzG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,0CAA0C,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,6EAA6E,EAAE;AAChY,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||||
145
out/renderer/server/chunks/10-BJLzw-es.js
Normal file
145
out/renderer/server/chunks/10-BJLzw-es.js
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
import { g as getPage, c as getFilters, a as getLimit, b as getSorters } from './Utils-BGShQy8a.js';
|
||||||
|
import { c as createConfiguration, d as distExports } from './sdk-CZE8e3P6.js';
|
||||||
|
import { b as getToken } from './oauth-Czq1qjCs.js';
|
||||||
|
import './client-CQ5E_ugM.js';
|
||||||
|
import './exports-DuWZopOC.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
import './index-DzcLzHBX.js';
|
||||||
|
import 'buffer';
|
||||||
|
import 'crypto';
|
||||||
|
|
||||||
|
const load = async ({ cookies, url }) => {
|
||||||
|
const session = JSON.parse(cookies.get("session"));
|
||||||
|
const idnSession = await getToken(cookies);
|
||||||
|
const config = createConfiguration(session.baseUrl, idnSession.access_token);
|
||||||
|
const sourceApi = new distExports.SourcesApi(config);
|
||||||
|
const searchApi = new distExports.SearchApi(config);
|
||||||
|
const page = getPage(url);
|
||||||
|
const filters = getFilters(url);
|
||||||
|
const limit = getLimit(url);
|
||||||
|
const sorters = getSorters(url);
|
||||||
|
const requestParams = {
|
||||||
|
filters,
|
||||||
|
offset: Number(page) * Number(limit),
|
||||||
|
limit: Number(limit),
|
||||||
|
sorters,
|
||||||
|
count: true
|
||||||
|
};
|
||||||
|
const apiResponse = sourceApi.listSources(requestParams);
|
||||||
|
const sources = new Promise((resolve) => {
|
||||||
|
apiResponse.then((response) => {
|
||||||
|
resolve(response.data);
|
||||||
|
}).catch((err) => {
|
||||||
|
throw err;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
const totalCount = new Promise((resolve) => {
|
||||||
|
apiResponse.then((response) => {
|
||||||
|
resolve(response.headers["x-total-count"]);
|
||||||
|
}).catch((err) => {
|
||||||
|
throw err;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
const eventNames = [
|
||||||
|
"Aggregate Source Account Passed",
|
||||||
|
"Aggregate Source Account Started",
|
||||||
|
"Aggregate Source Entitlement Passed",
|
||||||
|
"Aggregate Source Entitlement Started"
|
||||||
|
];
|
||||||
|
const eventsMap = new Promise((resolve) => {
|
||||||
|
sources.then(async (sources2) => {
|
||||||
|
const sourceEventsMap = /* @__PURE__ */ new Map();
|
||||||
|
for (const source of sources2) {
|
||||||
|
const allEvents = [];
|
||||||
|
const promises = [];
|
||||||
|
for (const event of eventNames) {
|
||||||
|
const search = {
|
||||||
|
indices: ["events"],
|
||||||
|
query: {
|
||||||
|
query: `target.name: "${source.name}" AND name:"${event}"`
|
||||||
|
},
|
||||||
|
sort: ["created"]
|
||||||
|
};
|
||||||
|
promises.push(
|
||||||
|
searchApi.searchPost({
|
||||||
|
search
|
||||||
|
}).then((response) => {
|
||||||
|
return response.data;
|
||||||
|
}).catch((err) => {
|
||||||
|
throw err;
|
||||||
|
})
|
||||||
|
);
|
||||||
|
}
|
||||||
|
await Promise.allSettled(promises).then((results) => {
|
||||||
|
for (const event of results) {
|
||||||
|
if (event.status == "fulfilled" && event.value.length > 0) {
|
||||||
|
allEvents.push(event.value[0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
const sourceEvents = {
|
||||||
|
accounts: { started: void 0, passed: void 0 },
|
||||||
|
entitlements: { started: void 0, passed: void 0 }
|
||||||
|
};
|
||||||
|
for (const event of allEvents) {
|
||||||
|
if (event.attributes.sourceName === source.name) {
|
||||||
|
switch (event.technicalName) {
|
||||||
|
case "SOURCE_ACCOUNT_AGGREGATE_STARTED":
|
||||||
|
if (!sourceEvents.accounts.started) {
|
||||||
|
sourceEvents.accounts.started = event || void 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "SOURCE_ACCOUNT_AGGREGATE_PASSED":
|
||||||
|
if (!sourceEvents.accounts.passed) {
|
||||||
|
sourceEvents.accounts.passed = event || void 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "SOURCE_ENTITLEMENT_AGGREGATE_STARTED":
|
||||||
|
if (!sourceEvents.entitlements.started) {
|
||||||
|
sourceEvents.entitlements.started = event || void 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "SOURCE_ENTITLEMENT_AGGREGATE_PASSED":
|
||||||
|
if (!sourceEvents.entitlements.passed) {
|
||||||
|
sourceEvents.entitlements.passed = event || void 0;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
sourceEventsMap.set(source.name, sourceEvents);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
resolve(sourceEventsMap);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return { sources, eventsMap, totalCount, params: { page, limit, filters, sorters } };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 10;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-I1dxIGYL.js')).default;
|
||||||
|
const server_id = "src/routes/home/example-pages/source-aggregations/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/10.BxdKtH0u.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/Progress.3ESwaKmp.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/Utils.BOVa1qxf.js","_app/immutable/chunks/entry.Cs_QM1XO.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=10-BJLzw-es.js.map
|
||||||
1
out/renderer/server/chunks/10-BJLzw-es.js.map
Normal file
1
out/renderer/server/chunks/10-BJLzw-es.js.map
Normal file
File diff suppressed because one or more lines are too long
72
out/renderer/server/chunks/11-YKw6qqVK.js
Normal file
72
out/renderer/server/chunks/11-YKw6qqVK.js
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
import { g as getPage, c as getFilters, a as getLimit, b as getSorters } from './Utils-BGShQy8a.js';
|
||||||
|
import { c as createConfiguration, d as distExports } from './sdk-CZE8e3P6.js';
|
||||||
|
import { b as getToken } from './oauth-Czq1qjCs.js';
|
||||||
|
import './client-CQ5E_ugM.js';
|
||||||
|
import './exports-DuWZopOC.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
import './index-DzcLzHBX.js';
|
||||||
|
import 'buffer';
|
||||||
|
import 'crypto';
|
||||||
|
|
||||||
|
const load = async ({ cookies, url }) => {
|
||||||
|
const session = JSON.parse(cookies.get("session"));
|
||||||
|
const idnSession = await getToken(cookies);
|
||||||
|
const config = createConfiguration(session.baseUrl, idnSession.access_token);
|
||||||
|
const api = new distExports.SourcesApi(config);
|
||||||
|
const page = getPage(url);
|
||||||
|
const filters = getFilters(url);
|
||||||
|
const limit = getLimit(url);
|
||||||
|
const sorters = getSorters(url);
|
||||||
|
const requestParams = {
|
||||||
|
filters,
|
||||||
|
offset: Number(page) * Number(limit),
|
||||||
|
limit: Number(limit),
|
||||||
|
sorters,
|
||||||
|
count: true
|
||||||
|
};
|
||||||
|
const apiResponse = api.listSources(requestParams);
|
||||||
|
const sources = new Promise((resolve) => {
|
||||||
|
apiResponse.then((response) => {
|
||||||
|
resolve(response.data);
|
||||||
|
}).catch((err) => {
|
||||||
|
throw err;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
const totalCount = new Promise((resolve) => {
|
||||||
|
apiResponse.then((response) => {
|
||||||
|
resolve(response.headers["x-total-count"]);
|
||||||
|
}).catch((err) => {
|
||||||
|
throw err;
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return { sources, totalCount, params: { page, limit, filters, sorters } };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 11;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-D8pRpGkM.js')).default;
|
||||||
|
const server_id = "src/routes/home/example-pages/source-owner-configured/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/11._qLJ3IUL.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/Progress.3ESwaKmp.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/Utils.BOVa1qxf.js","_app/immutable/chunks/entry.Cs_QM1XO.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=11-YKw6qqVK.js.map
|
||||||
1
out/renderer/server/chunks/11-YKw6qqVK.js.map
Normal file
1
out/renderer/server/chunks/11-YKw6qqVK.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"11-YKw6qqVK.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/home/example-pages/source-owner-configured/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/11.js"],"sourcesContent":["import { g as getPage, i as getFilters, e as getLimit, h as getSorters } from \"../../../../../chunks/Utils.js\";\nimport { c as createConfiguration } from \"../../../../../chunks/sdk.js\";\nimport { g as getToken } from \"../../../../../chunks/oauth.js\";\nimport { SourcesApi } from \"sailpoint-api-client\";\nconst load = async ({ cookies, url }) => {\n const session = JSON.parse(cookies.get(\"session\"));\n const idnSession = await getToken(cookies);\n const config = createConfiguration(session.baseUrl, idnSession.access_token);\n const api = new SourcesApi(config);\n const page = getPage(url);\n const filters = getFilters(url);\n const limit = getLimit(url);\n const sorters = getSorters(url);\n const requestParams = {\n filters,\n offset: Number(page) * Number(limit),\n limit: Number(limit),\n sorters,\n count: true\n };\n const apiResponse = api.listSources(requestParams);\n const sources = new Promise((resolve) => {\n apiResponse.then((response) => {\n resolve(response.data);\n }).catch((err) => {\n throw err;\n });\n });\n const totalCount = new Promise((resolve) => {\n apiResponse.then((response) => {\n resolve(response.headers[\"x-total-count\"]);\n }).catch((err) => {\n throw err;\n });\n });\n return { sources, totalCount, params: { page, limit, filters, sorters } };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/home/example-pages/source-owner-configured/_page.server.ts.js';\n\nexport const index = 11;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/example-pages/source-owner-configured/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/home/example-pages/source-owner-configured/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/11._qLJ3IUL.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/Progress.3ESwaKmp.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/each.C9vk03ly.js\",\"_app/immutable/chunks/Utils.BOVa1qxf.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":["SourcesApi"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAIA,MAAM,IAAI,GAAG,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,KAAK;AACzC,EAAE,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;AACrD,EAAE,MAAM,UAAU,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC7C,EAAE,MAAM,MAAM,GAAG,mBAAmB,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;AAC/E,EAAE,MAAM,GAAG,GAAG,IAAIA,sBAAU,CAAC,MAAM,CAAC,CAAC;AACrC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;AAC5B,EAAE,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;AAClC,EAAE,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;AAC9B,EAAE,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;AAClC,EAAE,MAAM,aAAa,GAAG;AACxB,IAAI,OAAO;AACX,IAAI,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC;AACxC,IAAI,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;AACxB,IAAI,OAAO;AACX,IAAI,KAAK,EAAE,IAAI;AACf,GAAG,CAAC;AACJ,EAAE,MAAM,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;AACrD,EAAE,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAC3C,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AACnC,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7B,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK;AACtB,MAAM,MAAM,GAAG,CAAC;AAChB,KAAK,CAAC,CAAC;AACP,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,UAAU,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAC9C,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AACnC,MAAM,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AACjD,KAAK,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK;AACtB,MAAM,MAAM,GAAG,CAAC;AAChB,KAAK,CAAC,CAAC;AACP,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC;AAC5E,CAAC;;;;;;;AClCW,MAAC,KAAK,GAAG,GAAG;AACxB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAA6E,CAAC,EAAE,QAAQ;AAEnJ,MAAC,SAAS,GAAG,wEAAwE;AACrF,MAAC,OAAO,GAAG,CAAC,qCAAqC,CAAC,6CAA6C,CAAC,4CAA4C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,yCAAyC,CAAC,yCAAyC,EAAE;AAC7a,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||||
44
out/renderer/server/chunks/12-Dut3fkuG.js
Normal file
44
out/renderer/server/chunks/12-Dut3fkuG.js
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
import { c as createConfiguration, d as distExports } from './sdk-CZE8e3P6.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
|
||||||
|
const load = async ({ locals }) => {
|
||||||
|
console.log(locals);
|
||||||
|
const config = createConfiguration(locals.session.baseUrl, locals.idnSession.access_token);
|
||||||
|
const api = new distExports.CustomFormsBetaApi(config);
|
||||||
|
const formsResp = api.exportFormDefinitionsByTenant();
|
||||||
|
const forms = new Promise((resolve) => {
|
||||||
|
formsResp.then((response) => {
|
||||||
|
resolve(response.data);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return { forms };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 12;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-DpEMe2pa.js')).default;
|
||||||
|
const server_id = "src/routes/home/form-integration/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/12.BCch80zT.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/Progress.3ESwaKmp.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/each.C9vk03ly.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=12-Dut3fkuG.js.map
|
||||||
1
out/renderer/server/chunks/12-Dut3fkuG.js.map
Normal file
1
out/renderer/server/chunks/12-Dut3fkuG.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"12-Dut3fkuG.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/home/form-integration/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/12.js"],"sourcesContent":["import { c as createConfiguration } from \"../../../../chunks/sdk.js\";\nimport { CustomFormsBetaApi } from \"sailpoint-api-client\";\nconst load = async ({ locals }) => {\n console.log(locals);\n const config = createConfiguration(locals.session.baseUrl, locals.idnSession.access_token);\n const api = new CustomFormsBetaApi(config);\n const formsResp = api.exportFormDefinitionsByTenant();\n const forms = new Promise((resolve) => {\n formsResp.then((response) => {\n resolve(response.data);\n });\n });\n return { forms };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/home/form-integration/_page.server.ts.js';\n\nexport const index = 12;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/form-integration/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/home/form-integration/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/12.BCch80zT.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/Progress.3ESwaKmp.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/each.C9vk03ly.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":["CustomFormsBetaApi"],"mappings":";;;;;;;;;;;;;;;;AAEA,MAAM,IAAI,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK;AACnC,EAAE,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACtB,EAAE,MAAM,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AAC7F,EAAE,MAAM,GAAG,GAAG,IAAIA,8BAAkB,CAAC,MAAM,CAAC,CAAC;AAC7C,EAAE,MAAM,SAAS,GAAG,GAAG,CAAC,6BAA6B,EAAE,CAAC;AACxD,EAAE,MAAM,KAAK,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AACzC,IAAI,SAAS,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AACjC,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7B,KAAK,CAAC,CAAC;AACP,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;AACnB,CAAC;;;;;;;ACXW,MAAC,KAAK,GAAG,GAAG;AACxB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwD,CAAC,EAAE,QAAQ;AAE9H,MAAC,SAAS,GAAG,mDAAmD;AAChE,MAAC,OAAO,GAAG,CAAC,qCAAqC,CAAC,6CAA6C,CAAC,4CAA4C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,wCAAwC,EAAE;AACzV,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||||
29
out/renderer/server/chunks/13-DjN2ZdXq.js
Normal file
29
out/renderer/server/chunks/13-DjN2ZdXq.js
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
const load = async ({ cookies }) => {
|
||||||
|
cookies.delete("session", {
|
||||||
|
path: "/",
|
||||||
|
httpOnly: false,
|
||||||
|
secure: false
|
||||||
|
});
|
||||||
|
cookies.delete("idnSession", {
|
||||||
|
path: "/",
|
||||||
|
httpOnly: false,
|
||||||
|
secure: false
|
||||||
|
});
|
||||||
|
return { sessionLoggedOut: true };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 13;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-ClBo0mp1.js')).default;
|
||||||
|
const server_id = "src/routes/logout/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/13.Wd1JvU4U.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/entry.Cs_QM1XO.js","_app/immutable/chunks/index.D97w0myq.js"];
|
||||||
|
const stylesheets = [];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=13-DjN2ZdXq.js.map
|
||||||
1
out/renderer/server/chunks/13-DjN2ZdXq.js.map
Normal file
1
out/renderer/server/chunks/13-DjN2ZdXq.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"13-DjN2ZdXq.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/logout/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/13.js"],"sourcesContent":["const load = async ({ cookies }) => {\n cookies.delete(\"session\", {\n path: \"/\",\n httpOnly: false,\n secure: false\n });\n cookies.delete(\"idnSession\", {\n path: \"/\",\n httpOnly: false,\n secure: false\n });\n return { sessionLoggedOut: true };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/logout/_page.server.ts.js';\n\nexport const index = 13;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/logout/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/logout/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/13.Wd1JvU4U.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\",\"_app/immutable/chunks/index.D97w0myq.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,OAAO,EAAE,KAAK;AACpC,EAAE,OAAO,CAAC,MAAM,CAAC,SAAS,EAAE;AAC5B,IAAI,IAAI,EAAE,GAAG;AACb,IAAI,QAAQ,EAAE,KAAK;AACnB,IAAI,MAAM,EAAE,KAAK;AACjB,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,CAAC,MAAM,CAAC,YAAY,EAAE;AAC/B,IAAI,IAAI,EAAE,GAAG;AACb,IAAI,QAAQ,EAAE,KAAK;AACnB,IAAI,MAAM,EAAE,KAAK;AACjB,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,gBAAgB,EAAE,IAAI,EAAE,CAAC;AACpC,CAAC;;;;;;;ACVW,MAAC,KAAK,GAAG,GAAG;AACxB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAyC,CAAC,EAAE,QAAQ;AAE/G,MAAC,SAAS,GAAG,oCAAoC;AACjD,MAAC,OAAO,GAAG,CAAC,qCAAqC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,yCAAyC,EAAE;AAC/N,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
||||||
72
out/renderer/server/chunks/2-D9XFohaW.js
Normal file
72
out/renderer/server/chunks/2-D9XFohaW.js
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
import { f as generateAuthLink } from './oauth-Czq1qjCs.js';
|
||||||
|
import { r as redirect } from './index-DzcLzHBX.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
import 'buffer';
|
||||||
|
import 'crypto';
|
||||||
|
|
||||||
|
const actions = {
|
||||||
|
default: async ({ cookies, request }) => {
|
||||||
|
const data = await request.formData();
|
||||||
|
const baseUrl = data.get("baseUrl");
|
||||||
|
const tenantUrl = data.get("tenantUrl");
|
||||||
|
if (!baseUrl || !tenantUrl) {
|
||||||
|
redirect(302, "/login");
|
||||||
|
}
|
||||||
|
const session = { baseUrl: baseUrl.toString(), tenantUrl: tenantUrl.toString() };
|
||||||
|
console.log("session", session);
|
||||||
|
const idnSessionString = cookies.get("idnSession");
|
||||||
|
if (idnSessionString) {
|
||||||
|
const idnSession = JSON.parse(idnSessionString);
|
||||||
|
if (idnSession && session.baseUrl.toLowerCase().includes(idnSession.org.toLowerCase())) {
|
||||||
|
console.log("Credential Cache Hit");
|
||||||
|
redirect(302, "/home");
|
||||||
|
} else {
|
||||||
|
console.log("Credential Cache Miss");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
cookies.set("session", JSON.stringify(session), {
|
||||||
|
path: "/"
|
||||||
|
});
|
||||||
|
redirect(302, generateAuthLink(tenantUrl.toString()));
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const load = async ({ parent, locals }) => {
|
||||||
|
await parent();
|
||||||
|
console.log("locals", locals);
|
||||||
|
if (!locals.hasSession || !locals.hasIdnSession)
|
||||||
|
return {};
|
||||||
|
if (locals.session && locals.idnSession && locals.session.baseUrl.toLowerCase().includes(locals.idnSession.org.toLowerCase())) {
|
||||||
|
redirect(302, "/home");
|
||||||
|
}
|
||||||
|
return {};
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
actions: actions,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 2;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-Cu2nwh9c.js')).default;
|
||||||
|
const server_id = "src/routes/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/2.D_wMgrjg.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/entry.Cs_QM1XO.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=2-D9XFohaW.js.map
|
||||||
1
out/renderer/server/chunks/2-D9XFohaW.js.map
Normal file
1
out/renderer/server/chunks/2-D9XFohaW.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"2-D9XFohaW.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["import { a as generateAuthLink } from \"../../chunks/oauth.js\";\nimport { r as redirect } from \"../../chunks/index.js\";\nconst actions = {\n default: async ({ cookies, request }) => {\n const data = await request.formData();\n const baseUrl = data.get(\"baseUrl\");\n const tenantUrl = data.get(\"tenantUrl\");\n if (!baseUrl || !tenantUrl) {\n redirect(302, \"/login\");\n }\n const session = { baseUrl: baseUrl.toString(), tenantUrl: tenantUrl.toString() };\n console.log(\"session\", session);\n const idnSessionString = cookies.get(\"idnSession\");\n if (idnSessionString) {\n const idnSession = JSON.parse(idnSessionString);\n if (idnSession && session.baseUrl.toLowerCase().includes(idnSession.org.toLowerCase())) {\n console.log(\"Credential Cache Hit\");\n redirect(302, \"/home\");\n } else {\n console.log(\"Credential Cache Miss\");\n }\n }\n cookies.set(\"session\", JSON.stringify(session), {\n path: \"/\"\n });\n redirect(302, generateAuthLink(tenantUrl.toString()));\n }\n};\nconst load = async ({ parent, locals }) => {\n await parent();\n console.log(\"locals\", locals);\n if (!locals.hasSession || !locals.hasIdnSession)\n return {};\n if (locals.session && locals.idnSession && locals.session.baseUrl.toLowerCase().includes(locals.idnSession.org.toLowerCase())) {\n redirect(302, \"/home\");\n }\n return {};\n};\nexport {\n actions,\n load\n};\n","import * as server from '../entries/pages/_page.server.ts.js';\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/2.D_wMgrjg.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAEA,MAAM,OAAO,GAAG;AAChB,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK;AAC3C,IAAI,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC,QAAQ,EAAE,CAAC;AAC1C,IAAI,MAAM,OAAO,GAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACxC,IAAI,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAC5C,IAAI,IAAI,CAAC,OAAO,IAAI,CAAC,SAAS,EAAE;AAChC,MAAM,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;AAC9B,KAAK;AACL,IAAI,MAAM,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,CAAC,QAAQ,EAAE,EAAE,SAAS,EAAE,SAAS,CAAC,QAAQ,EAAE,EAAE,CAAC;AACrF,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AACpC,IAAI,MAAM,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;AACvD,IAAI,IAAI,gBAAgB,EAAE;AAC1B,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;AACtD,MAAM,IAAI,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,EAAE;AAC9F,QAAQ,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAC5C,QAAQ,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAC/B,OAAO,MAAM;AACb,QAAQ,OAAO,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;AAC7C,OAAO;AACP,KAAK;AACL,IAAI,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE;AACpD,MAAM,IAAI,EAAE,GAAG;AACf,KAAK,CAAC,CAAC;AACP,IAAI,QAAQ,CAAC,GAAG,EAAE,gBAAgB,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC;AAC1D,GAAG;AACH,CAAC,CAAC;AACF,MAAM,IAAI,GAAG,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK;AAC3C,EAAE,MAAM,MAAM,EAAE,CAAC;AACjB,EAAE,OAAO,CAAC,GAAG,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;AAChC,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,CAAC,MAAM,CAAC,aAAa;AACjD,IAAI,OAAO,EAAE,CAAC;AACd,EAAE,IAAI,MAAM,CAAC,OAAO,IAAI,MAAM,CAAC,UAAU,IAAI,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,EAAE,CAAC,EAAE;AACjI,IAAI,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;AAC3B,GAAG;AACH,EAAE,OAAO,EAAE,CAAC;AACZ,CAAC;;;;;;;;ACnCW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAkC,CAAC,EAAE,QAAQ;AAExG,MAAC,SAAS,GAAG,6BAA6B;AAC1C,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,6EAA6E,EAAE;AAC5S,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||||
303
out/renderer/server/chunks/3-Uj3iioGJ.js
Normal file
303
out/renderer/server/chunks/3-Uj3iioGJ.js
Normal file
@@ -0,0 +1,303 @@
|
|||||||
|
import { e as error, r as redirect } from './index-DzcLzHBX.js';
|
||||||
|
import { h as axios, f as generateAuthLink } from './oauth-Czq1qjCs.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
import 'buffer';
|
||||||
|
import 'crypto';
|
||||||
|
|
||||||
|
const counterList = [
|
||||||
|
"Reticulating splines...",
|
||||||
|
"Generating witty dialog...",
|
||||||
|
"Swapping time and space...",
|
||||||
|
"Spinning violently around the y-axis...",
|
||||||
|
"Tokenizing real life...",
|
||||||
|
"Bending the spoon...",
|
||||||
|
"Filtering morale...",
|
||||||
|
"Don't think of purple hippos...",
|
||||||
|
"We need a new fuse...",
|
||||||
|
"Have a good day.",
|
||||||
|
"Upgrading Windows, your PC will restart several times. Sit back and relax. /s",
|
||||||
|
"640K ram+ ought to be enough for anybody",
|
||||||
|
"The architects are still drafting",
|
||||||
|
"We're building the buildings as fast as we can",
|
||||||
|
"Would you prefer chicken, steak, or tofu?",
|
||||||
|
"(Pay no attention to the man behind the curtain)",
|
||||||
|
"...and enjoy the elevator music...",
|
||||||
|
"Please wait while the little elves draw your map",
|
||||||
|
"Don't worry - a few bits tried to escape, but we caught them",
|
||||||
|
"Would you like fries with that?",
|
||||||
|
"Checking the gravitational constant in your locale...",
|
||||||
|
"Go ahead, hold your breath!",
|
||||||
|
"...at least you're not on hold...",
|
||||||
|
"Hum something loud while others stare",
|
||||||
|
"You're not in Kansas any more",
|
||||||
|
"The server is powered by a lemon and two electrodes.",
|
||||||
|
"Please wait while a larger software vendor in Seattle takes over the world",
|
||||||
|
"We're testing your patience",
|
||||||
|
"As if you had any other choice",
|
||||||
|
"Follow the white rabbit",
|
||||||
|
"Why don't you order a sandwich?",
|
||||||
|
"While the satellite moves into position",
|
||||||
|
"keep calm and npm install",
|
||||||
|
"The bits are flowing slowly today",
|
||||||
|
"Dig on the 'X' for buried treasure... ARRR!",
|
||||||
|
"It's still faster than you could draw it",
|
||||||
|
"The last time I tried this the monkey didn't survive. Let's hope it works better this time.",
|
||||||
|
"I should have had a V8 this morning.",
|
||||||
|
"My other loading screen is much faster.",
|
||||||
|
"Reconfoobling energymotron...",
|
||||||
|
"(Insert quarter)",
|
||||||
|
"Are we there yet?",
|
||||||
|
"Just count to 10",
|
||||||
|
"Why so serious?",
|
||||||
|
"It's not you. It's me.",
|
||||||
|
"Counting backwards from Infinity",
|
||||||
|
"Don't panic...",
|
||||||
|
"Don't panic, Just count to infinity.",
|
||||||
|
"Embiggening Prototypes",
|
||||||
|
"Do not run! We are your friends!",
|
||||||
|
"Do you come here often?",
|
||||||
|
"Warning: Don't set yourself on fire.",
|
||||||
|
"We're making you a cookie.",
|
||||||
|
"Creating time-loop inversion field",
|
||||||
|
"Spinning the wheel of fortune...",
|
||||||
|
"Loading the enchanted bunny...",
|
||||||
|
"Computing chance of success",
|
||||||
|
"I'm sorry Dave, I can't do that.",
|
||||||
|
"Looking for exact change",
|
||||||
|
"All your web browser are belong to us",
|
||||||
|
"All I really need is a kilobit.",
|
||||||
|
"I feel like im supposed to be loading something. . .",
|
||||||
|
"What do you call 8 Hobbits? A Hobbyte.",
|
||||||
|
"Should have used a compiled language...",
|
||||||
|
"Is this Windows?",
|
||||||
|
"Adjusting flux capacitor...",
|
||||||
|
"Please wait until the sloth starts moving.",
|
||||||
|
"Don't break your screen yet!",
|
||||||
|
"I swear it's almost done.",
|
||||||
|
"Let's take a mindfulness minute...",
|
||||||
|
"Unicorns are at the end of this road, I promise.",
|
||||||
|
"Listening for the sound of one hand clapping...",
|
||||||
|
"Keeping all the 1's and removing all the 0's...",
|
||||||
|
"Putting the icing on the cake. The cake is not a lie...",
|
||||||
|
"Cleaning off the cobwebs...",
|
||||||
|
"Making sure all the i's have dots...",
|
||||||
|
"We need more dilithium crystals",
|
||||||
|
"Where did all the internets go",
|
||||||
|
"Connecting Neurotoxin Storage Tank...",
|
||||||
|
"Granting wishes...",
|
||||||
|
"Time flies when youre having fun.",
|
||||||
|
"Get some coffee and come back in ten minutes..",
|
||||||
|
"Spinning the hamster…",
|
||||||
|
"99 bottles of beer on the wall..",
|
||||||
|
"Stay awhile and listen..",
|
||||||
|
"Be careful not to step in the git-gui",
|
||||||
|
"You shall not pass! yet..",
|
||||||
|
"Load it and they will come",
|
||||||
|
"Convincing AI not to turn evil..",
|
||||||
|
"There is no spoon. Because we are not done loading it",
|
||||||
|
"Your left thumb points to the right and your right thumb points to the left.",
|
||||||
|
"How did you get here?",
|
||||||
|
"Wait, do you smell something burning?",
|
||||||
|
"Computing the secret to life, the universe, and everything.",
|
||||||
|
"When nothing is going right, go left!!...",
|
||||||
|
"I love my job only when I'm on vacation...",
|
||||||
|
"i'm not lazy, I'm just relaxed!!",
|
||||||
|
"Why are they called apartments if they are all stuck together?",
|
||||||
|
"Life is Short, Talk Fast!!!!",
|
||||||
|
"Optimism, is a lack of information.....",
|
||||||
|
"Ive got problem for your solution…..",
|
||||||
|
"Where theres a will, theres a relative.",
|
||||||
|
"Adults are just kids with money.",
|
||||||
|
"I think I am, therefore, I am. I think.",
|
||||||
|
"Coffee, Chocolate, Men. The richer the better!",
|
||||||
|
"git happens",
|
||||||
|
"May the forks be with you",
|
||||||
|
"A commit a day keeps the mobs away",
|
||||||
|
"This is not a joke, it's a commit.",
|
||||||
|
"Constructing additional pylons...",
|
||||||
|
"We are not liable for any broken screens as a result of waiting.",
|
||||||
|
"Hello IT, have you tried turning it off and on again?",
|
||||||
|
"If you type Google into Google you can break the internet",
|
||||||
|
"Well, this is embarrassing.",
|
||||||
|
"What is the airspeed velocity of an unladen swallow?",
|
||||||
|
"Hello, IT... Have you tried forcing an unexpected reboot?",
|
||||||
|
"The Elders of the Internet would never stand for it.",
|
||||||
|
"Space is invisible mind dust, and stars are but wishes.",
|
||||||
|
"Didn't know paint dried so quickly.",
|
||||||
|
"Everything sounds the same",
|
||||||
|
"I'm going to walk the dog",
|
||||||
|
"I didn't choose the engineering life. The engineering life chose me.",
|
||||||
|
"Dividing by zero...",
|
||||||
|
"Spawn more Overlord!",
|
||||||
|
"If Im not back in five minutes, just wait longer.",
|
||||||
|
"Some days, you just cant get rid of a bug!",
|
||||||
|
"Were going to need a bigger boat.",
|
||||||
|
"Web developers do it with <style>",
|
||||||
|
"I need to git pull --my-life-together",
|
||||||
|
"Cracking military-grade encryption...",
|
||||||
|
"Simulating traveling salesman...",
|
||||||
|
"Proving P=NP...",
|
||||||
|
"Entangling superstrings...",
|
||||||
|
"Twiddling thumbs...",
|
||||||
|
"Searching for plot device...",
|
||||||
|
"Trying to sort in O(n)...",
|
||||||
|
"Looking for sense of humour, please hold on.",
|
||||||
|
"Please wait while the intern refills his coffee.",
|
||||||
|
"A different error message? Finally, some progress!",
|
||||||
|
"Please hold on as we reheat our coffee",
|
||||||
|
"Kindly hold on as we convert this bug to a feature...",
|
||||||
|
"Kindly hold on as our intern quits vim...",
|
||||||
|
"Winter is coming...",
|
||||||
|
"Installing dependencies",
|
||||||
|
"Switching to the latest JS framework...",
|
||||||
|
"Distracted by cat gifs",
|
||||||
|
"BRB, working on my side project",
|
||||||
|
"@todo Insert witty loading message",
|
||||||
|
"Let's hope it's worth the wait",
|
||||||
|
"Aw, snap! Not..",
|
||||||
|
"Ordering 1s and 0s...",
|
||||||
|
"Updating dependencies...",
|
||||||
|
"Whatever you do, don't look behind you...",
|
||||||
|
"Please wait... Consulting the manual...",
|
||||||
|
"It is dark. You're likely to be eaten by a grue.",
|
||||||
|
"Loading funny message...",
|
||||||
|
"It's 10:00pm. Do you know where your children are?",
|
||||||
|
"Waiting for Daenerys say all her titles...",
|
||||||
|
"Feel free to spin in your chair",
|
||||||
|
"What the what?",
|
||||||
|
"format C: ...",
|
||||||
|
"Forget you saw that password I just typed into the IM ...",
|
||||||
|
"What's under there?",
|
||||||
|
"Go ahead, hold your breath and do an ironman plank till loading is complete",
|
||||||
|
"Bored of slow loading spinner, buy more RAM!",
|
||||||
|
"Help, I'm trapped in a loader!",
|
||||||
|
"What is the difference between a hippo and a zippo? One is really heavy, the other is a little lighter",
|
||||||
|
"Please wait, while we purge the Decepticons for you. Yes, You can thanks us later!",
|
||||||
|
"Mining some bitcoins...",
|
||||||
|
"Downloading more RAM..",
|
||||||
|
"Updating to Windows Vista...",
|
||||||
|
"Deleting System32 folder",
|
||||||
|
"Hiding all ;'s in your code",
|
||||||
|
"Alt-F4 speeds things up.",
|
||||||
|
"Initializing the initializer...",
|
||||||
|
"When was the last time you dusted around here?",
|
||||||
|
"Optimizing the optimizer...",
|
||||||
|
"Last call for the data bus! All aboard!",
|
||||||
|
"Running swag sticker detection...",
|
||||||
|
"Never let a computer know you're in a hurry.",
|
||||||
|
"A computer will do what you tell it to do, but that may be much different from what you had in mind.",
|
||||||
|
"Some things man was never meant to know. For everything else, there's Google.",
|
||||||
|
"Unix is user-friendly. It's just very selective about who its friends are.",
|
||||||
|
"Shovelling coal into the server",
|
||||||
|
"Pushing pixels...",
|
||||||
|
"How about this weather, eh?",
|
||||||
|
"Building a wall...",
|
||||||
|
"Everything in this universe is either a potato or not a potato",
|
||||||
|
"The severity of your issue is always lower than you expected.",
|
||||||
|
"Updating Updater...",
|
||||||
|
"Downloading Downloader...",
|
||||||
|
"Debugging Debugger...",
|
||||||
|
"Reading Terms and Conditions for you.",
|
||||||
|
"Digested cookies being baked again.",
|
||||||
|
"Live long and prosper.",
|
||||||
|
"There is no cow level, but there's a goat one!",
|
||||||
|
"Running with scissors...",
|
||||||
|
"Definitely not a virus...",
|
||||||
|
"You may call me Steve.",
|
||||||
|
"You seem like a nice person...",
|
||||||
|
"Work, work...",
|
||||||
|
"Patience! This is difficult, you know...",
|
||||||
|
"Discovering new ways of making you wait...",
|
||||||
|
"Time flies like an arrow; fruit flies like a banana",
|
||||||
|
"Two men walked into a bar; the third ducked...",
|
||||||
|
"Sooooo... Have you seen my vacation photos yet?",
|
||||||
|
"Sorry we are busy catching em' all, we're done soon",
|
||||||
|
"TODO: Insert elevator music",
|
||||||
|
"Still faster than Windows update",
|
||||||
|
"Composer hack: Waiting for reqs to be fetched is less frustrating if you add -vvv to your command.",
|
||||||
|
"Please wait while the minions do their work",
|
||||||
|
"Grabbing extra minions",
|
||||||
|
"Doing the heavy lifting",
|
||||||
|
"We're working very Hard .... Really",
|
||||||
|
"Waking up the minions",
|
||||||
|
"You are number 2843684714 in the queue",
|
||||||
|
"Please wait while we serve other customers...",
|
||||||
|
"Our premium plan is faster",
|
||||||
|
"Feeding unicorns...",
|
||||||
|
"Rupturing the subspace barrier",
|
||||||
|
"Creating an anti-time reaction",
|
||||||
|
"Converging tachyon pulses",
|
||||||
|
"Bypassing control of the matter-antimatter integrator",
|
||||||
|
"Adjusting the dilithium crystal converter assembly",
|
||||||
|
"Reversing the shield polarity",
|
||||||
|
"Disrupting warp fields with an inverse graviton burst",
|
||||||
|
"Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start",
|
||||||
|
"Do you like my loading animation? I made it myself",
|
||||||
|
"Whoah, look at it go!",
|
||||||
|
"No, I'm awake. I was just resting my eyes.",
|
||||||
|
"One mississippi, two mississippi...",
|
||||||
|
"Don't panic... AHHHHH!",
|
||||||
|
"Ensuring Gnomes are still short.",
|
||||||
|
"Baking ice cream..."
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
].sort((a, b) => 0.5 - Math.random());
|
||||||
|
const load = async ({ url, cookies, locals }) => {
|
||||||
|
const code = url.searchParams.get("code");
|
||||||
|
if (!code)
|
||||||
|
error(500, "No Authorization Code Provided");
|
||||||
|
if (!locals.session)
|
||||||
|
error(500, "No Session Found");
|
||||||
|
const response = await axios.post(
|
||||||
|
`${locals.session.baseUrl}/oauth/token?grant_type=authorization_code&client_id=sailpoint-cli&code=${code}&redirect_uri=http://localhost:3000/callback`
|
||||||
|
).catch(function(err) {
|
||||||
|
if (err.response) {
|
||||||
|
console.log(err.response.data);
|
||||||
|
console.log(err.response.status);
|
||||||
|
console.log(err.response.headers);
|
||||||
|
redirect(302, generateAuthLink(locals.session.tenantUrl));
|
||||||
|
} else if (err.request) {
|
||||||
|
error(500, { message: "No Response From IDN" });
|
||||||
|
} else {
|
||||||
|
error(500, {
|
||||||
|
message: "Error during Axios Request"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
const idnSession = response.data;
|
||||||
|
console.log(idnSession);
|
||||||
|
cookies.set("idnSession", JSON.stringify(idnSession), {
|
||||||
|
path: "/",
|
||||||
|
httpOnly: false,
|
||||||
|
secure: false
|
||||||
|
});
|
||||||
|
return { counterList };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 3;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-BO1Hy4mz.js')).default;
|
||||||
|
const server_id = "src/routes/callback/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/3.c32VO2pu.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/entry.Cs_QM1XO.js","_app/immutable/chunks/index.D97w0myq.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/3.BX8UFHul.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=3-Uj3iioGJ.js.map
|
||||||
1
out/renderer/server/chunks/3-Uj3iioGJ.js.map
Normal file
1
out/renderer/server/chunks/3-Uj3iioGJ.js.map
Normal file
File diff suppressed because one or more lines are too long
21
out/renderer/server/chunks/4-Bp65CVqd.js
Normal file
21
out/renderer/server/chunks/4-Bp65CVqd.js
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
const load = async ({ locals }) => {
|
||||||
|
if (!locals.hasSession)
|
||||||
|
return { baseUrl: "", tenantUrl: "" };
|
||||||
|
return { session: locals.session };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 4;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-BCGNlJ8d.js')).default;
|
||||||
|
const server_id = "src/routes/home/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/4.CkAq_noQ.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/index.DdnDjIf5.js"];
|
||||||
|
const stylesheets = [];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=4-Bp65CVqd.js.map
|
||||||
1
out/renderer/server/chunks/4-Bp65CVqd.js.map
Normal file
1
out/renderer/server/chunks/4-Bp65CVqd.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"4-Bp65CVqd.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/home/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/4.js"],"sourcesContent":["const load = async ({ locals }) => {\n if (!locals.hasSession)\n return { baseUrl: \"\", tenantUrl: \"\" };\n return { session: locals.session };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/home/_page.server.ts.js';\n\nexport const index = 4;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/home/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/4.CkAq_noQ.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK;AACnC,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU;AACxB,IAAI,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC;AAC1C,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,CAAC;AACrC,CAAC;;;;;;;ACFW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAuC,CAAC,EAAE,QAAQ;AAE7G,MAAC,SAAS,GAAG,kCAAkC;AAC/C,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,EAAE;AAC1I,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
||||||
64
out/renderer/server/chunks/5-BAVFZq_D.js
Normal file
64
out/renderer/server/chunks/5-BAVFZq_D.js
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
import { c as createConfiguration, d as distExports } from './sdk-CZE8e3P6.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
|
||||||
|
const actions = {
|
||||||
|
default: async ({ locals, request }) => {
|
||||||
|
const data = await request.formData();
|
||||||
|
console.log("default action");
|
||||||
|
console.log("data", data);
|
||||||
|
const config = createConfiguration(locals.session.baseUrl, locals.idnSession.access_token);
|
||||||
|
const api = new distExports.SourcesApi(config);
|
||||||
|
const source = JSON.parse(data.get("source")?.toString() || "{}");
|
||||||
|
const updatedDescription = data.get("updatedDescription")?.toString();
|
||||||
|
const params = {
|
||||||
|
id: source.id,
|
||||||
|
jsonPatchOperation: [{ op: "replace", path: "/description", value: updatedDescription }]
|
||||||
|
};
|
||||||
|
const resp = await api.updateSource(params);
|
||||||
|
if (resp.status !== 200) {
|
||||||
|
return { status: "error", error: resp.statusText };
|
||||||
|
}
|
||||||
|
return { status: "success" };
|
||||||
|
}
|
||||||
|
};
|
||||||
|
const load = async ({ locals }) => {
|
||||||
|
const config = createConfiguration(locals.session.baseUrl, locals.idnSession.access_token);
|
||||||
|
const api = new distExports.SourcesApi(config);
|
||||||
|
const sourceResp = distExports.Paginator.paginate(api, api.listSources, { limit: 1e3 });
|
||||||
|
const sources = new Promise((resolve) => {
|
||||||
|
sourceResp.then((response) => {
|
||||||
|
resolve(response.data);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return { sources };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
actions: actions,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 5;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-ci4ZmJN7.js')).default;
|
||||||
|
const server_id = "src/routes/home/example-form/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/5.BGkz_cVr.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/Progress.3ESwaKmp.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/entry.Cs_QM1XO.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=5-BAVFZq_D.js.map
|
||||||
1
out/renderer/server/chunks/5-BAVFZq_D.js.map
Normal file
1
out/renderer/server/chunks/5-BAVFZq_D.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"5-BAVFZq_D.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/home/example-form/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/5.js"],"sourcesContent":["import { c as createConfiguration } from \"../../../../chunks/sdk.js\";\nimport { SourcesApi, Paginator } from \"sailpoint-api-client\";\nconst actions = {\n default: async ({ locals, request }) => {\n const data = await request.formData();\n console.log(\"default action\");\n console.log(\"data\", data);\n const config = createConfiguration(locals.session.baseUrl, locals.idnSession.access_token);\n const api = new SourcesApi(config);\n const source = JSON.parse(data.get(\"source\")?.toString() || \"{}\");\n const updatedDescription = data.get(\"updatedDescription\")?.toString();\n const params = {\n id: source.id,\n jsonPatchOperation: [{ op: \"replace\", path: \"/description\", value: updatedDescription }]\n };\n const resp = await api.updateSource(params);\n if (resp.status !== 200) {\n return { status: \"error\", error: resp.statusText };\n }\n return { status: \"success\" };\n }\n};\nconst load = async ({ locals }) => {\n const config = createConfiguration(locals.session.baseUrl, locals.idnSession.access_token);\n const api = new SourcesApi(config);\n const sourceResp = Paginator.paginate(api, api.listSources, { limit: 1e3 });\n const sources = new Promise((resolve) => {\n sourceResp.then((response) => {\n resolve(response.data);\n });\n });\n return { sources };\n};\nexport {\n actions,\n load\n};\n","import * as server from '../entries/pages/home/example-form/_page.server.ts.js';\n\nexport const index = 5;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/example-form/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/home/example-form/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/5.BGkz_cVr.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/Progress.3ESwaKmp.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/each.C9vk03ly.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":["SourcesApi","Paginator"],"mappings":";;;;;;;;;;;;;;;;AAEA,MAAM,OAAO,GAAG;AAChB,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK;AAC1C,IAAI,MAAM,IAAI,GAAG,MAAM,OAAO,CAAC,QAAQ,EAAE,CAAC;AAC1C,IAAI,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;AAClC,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAC9B,IAAI,MAAM,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AAC/F,IAAI,MAAM,GAAG,GAAG,IAAIA,sBAAU,CAAC,MAAM,CAAC,CAAC;AACvC,IAAI,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,QAAQ,EAAE,IAAI,IAAI,CAAC,CAAC;AACtE,IAAI,MAAM,kBAAkB,GAAG,IAAI,CAAC,GAAG,CAAC,oBAAoB,CAAC,EAAE,QAAQ,EAAE,CAAC;AAC1E,IAAI,MAAM,MAAM,GAAG;AACnB,MAAM,EAAE,EAAE,MAAM,CAAC,EAAE;AACnB,MAAM,kBAAkB,EAAE,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,kBAAkB,EAAE,CAAC;AAC9F,KAAK,CAAC;AACN,IAAI,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;AAChD,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,GAAG,EAAE;AAC7B,MAAM,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC;AACzD,KAAK;AACL,IAAI,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AACjC,GAAG;AACH,CAAC,CAAC;AACF,MAAM,IAAI,GAAG,OAAO,EAAE,MAAM,EAAE,KAAK;AACnC,EAAE,MAAM,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AAC7F,EAAE,MAAM,GAAG,GAAG,IAAIA,sBAAU,CAAC,MAAM,CAAC,CAAC;AACrC,EAAE,MAAM,UAAU,GAAGC,qBAAS,CAAC,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC,WAAW,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC;AAC9E,EAAE,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAC3C,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AAClC,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7B,KAAK,CAAC,CAAC;AACP,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AACrB,CAAC;;;;;;;;AC9BW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAoD,CAAC,EAAE,QAAQ;AAE1H,MAAC,SAAS,GAAG,+CAA+C;AAC5D,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,4CAA4C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,yCAAyC,EAAE;AAClY,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||||
9
out/renderer/server/chunks/6-qEmQBeSh.js
Normal file
9
out/renderer/server/chunks/6-qEmQBeSh.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
const index = 6;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-FS-IAHec.js')).default;
|
||||||
|
const imports = ["_app/immutable/nodes/6.D2b6BEEG.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/index.DdnDjIf5.js"];
|
||||||
|
const stylesheets = [];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, stylesheets };
|
||||||
|
//# sourceMappingURL=6-qEmQBeSh.js.map
|
||||||
1
out/renderer/server/chunks/6-qEmQBeSh.js.map
Normal file
1
out/renderer/server/chunks/6-qEmQBeSh.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"6-qEmQBeSh.js","sources":["../../../../.svelte-kit/adapter-node/nodes/6.js"],"sourcesContent":["\n\nexport const index = 6;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/example-pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/6.D2b6BEEG.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/each.C9vk03ly.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAqD,CAAC,EAAE,QAAQ;AAC3H,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,wCAAwC,CAAC,yCAAyC,EAAE;AACnL,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
|
||||||
56
out/renderer/server/chunks/7-BmOe9X4u.js
Normal file
56
out/renderer/server/chunks/7-BmOe9X4u.js
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
import { c as createConfiguration, d as distExports } from './sdk-CZE8e3P6.js';
|
||||||
|
import { b as getToken } from './oauth-Czq1qjCs.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
import './index-DzcLzHBX.js';
|
||||||
|
import 'buffer';
|
||||||
|
import 'crypto';
|
||||||
|
|
||||||
|
const load = async ({ cookies }) => {
|
||||||
|
const search = {
|
||||||
|
indices: ["identities"],
|
||||||
|
query: {
|
||||||
|
query: `@accounts(disabled:false) AND (attributes.cloudLifecycleState:inactive)`
|
||||||
|
},
|
||||||
|
sort: ["name"]
|
||||||
|
};
|
||||||
|
const session = JSON.parse(cookies.get("session"));
|
||||||
|
const idnSession = await getToken(cookies);
|
||||||
|
const config = createConfiguration(session.baseUrl, idnSession.access_token);
|
||||||
|
const api = new distExports.SearchApi(config);
|
||||||
|
const reportResp = distExports.Paginator.paginateSearchApi(api, search, 100, 2e4);
|
||||||
|
const reportData = new Promise((resolve) => {
|
||||||
|
reportResp.then((response) => {
|
||||||
|
resolve(response.data);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return { reportData };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 7;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-CGFGtE07.js')).default;
|
||||||
|
const server_id = "src/routes/home/example-pages/inactive-identities-with-access/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/7.CY3H5TGn.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/Progress.3ESwaKmp.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/Utils.BOVa1qxf.js","_app/immutable/chunks/entry.Cs_QM1XO.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=7-BmOe9X4u.js.map
|
||||||
1
out/renderer/server/chunks/7-BmOe9X4u.js.map
Normal file
1
out/renderer/server/chunks/7-BmOe9X4u.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"7-BmOe9X4u.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/home/example-pages/inactive-identities-with-access/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/7.js"],"sourcesContent":["import { c as createConfiguration } from \"../../../../../chunks/sdk.js\";\nimport { g as getToken } from \"../../../../../chunks/oauth.js\";\nimport { SearchApi, Paginator } from \"sailpoint-api-client\";\nconst load = async ({ cookies }) => {\n const search = {\n indices: [\"identities\"],\n query: {\n query: `@accounts(disabled:false) AND (attributes.cloudLifecycleState:inactive)`\n },\n sort: [\"name\"]\n };\n const session = JSON.parse(cookies.get(\"session\"));\n const idnSession = await getToken(cookies);\n const config = createConfiguration(session.baseUrl, idnSession.access_token);\n const api = new SearchApi(config);\n const reportResp = Paginator.paginateSearchApi(api, search, 100, 2e4);\n const reportData = new Promise((resolve) => {\n reportResp.then((response) => {\n resolve(response.data);\n });\n });\n return { reportData };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/home/example-pages/inactive-identities-with-access/_page.server.ts.js';\n\nexport const index = 7;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/example-pages/inactive-identities-with-access/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/home/example-pages/inactive-identities-with-access/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/7.CY3H5TGn.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/Progress.3ESwaKmp.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/each.C9vk03ly.js\",\"_app/immutable/chunks/Utils.BOVa1qxf.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":["SearchApi","Paginator"],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA,MAAM,IAAI,GAAG,OAAO,EAAE,OAAO,EAAE,KAAK;AACpC,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,OAAO,EAAE,CAAC,YAAY,CAAC;AAC3B,IAAI,KAAK,EAAE;AACX,MAAM,KAAK,EAAE,CAAC,uEAAuE,CAAC;AACtF,KAAK;AACL,IAAI,IAAI,EAAE,CAAC,MAAM,CAAC;AAClB,GAAG,CAAC;AACJ,EAAE,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;AACrD,EAAE,MAAM,UAAU,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC7C,EAAE,MAAM,MAAM,GAAG,mBAAmB,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;AAC/E,EAAE,MAAM,GAAG,GAAG,IAAIA,qBAAS,CAAC,MAAM,CAAC,CAAC;AACpC,EAAE,MAAM,UAAU,GAAGC,qBAAS,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AACxE,EAAE,MAAM,UAAU,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAC9C,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AAClC,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7B,KAAK,CAAC,CAAC;AACP,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC;;;;;;;ACpBW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAqF,CAAC,EAAE,QAAQ;AAE3J,MAAC,SAAS,GAAG,gFAAgF;AAC7F,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,4CAA4C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,yCAAyC,CAAC,yCAAyC,EAAE;AAC5a,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||||
67
out/renderer/server/chunks/8-D3dEyIJ8.js
Normal file
67
out/renderer/server/chunks/8-D3dEyIJ8.js
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
import { g as getPage, a as getLimit, b as getSorters } from './Utils-BGShQy8a.js';
|
||||||
|
import { c as createConfiguration, d as distExports } from './sdk-CZE8e3P6.js';
|
||||||
|
import './client-CQ5E_ugM.js';
|
||||||
|
import './exports-DuWZopOC.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
|
||||||
|
const load = async ({ url, locals }) => {
|
||||||
|
const config = createConfiguration(locals.session.baseUrl, locals.idnSession.access_token);
|
||||||
|
const api = new distExports.SearchApi(config);
|
||||||
|
const page = getPage(url);
|
||||||
|
const limit = getLimit(url);
|
||||||
|
const sorters = getSorters(url);
|
||||||
|
const search = {
|
||||||
|
indices: ["identities"],
|
||||||
|
query: {
|
||||||
|
query: `*`
|
||||||
|
},
|
||||||
|
sort: sorters !== "" ? [sorters] : ["name"]
|
||||||
|
};
|
||||||
|
const requestParams = {
|
||||||
|
search,
|
||||||
|
offset: Number(page) * Number(limit),
|
||||||
|
limit: Number(limit),
|
||||||
|
count: true
|
||||||
|
};
|
||||||
|
const reportResp = api.searchPost(requestParams);
|
||||||
|
const totalCount = new Promise((resolve) => {
|
||||||
|
reportResp.then((response) => {
|
||||||
|
resolve(response.headers["x-total-count"]);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
const reportData = new Promise((resolve) => {
|
||||||
|
reportResp.then((response) => {
|
||||||
|
resolve(response.data);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return { reportData, totalCount, params: { page, limit, sorters } };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 8;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-Dimc0uDg.js')).default;
|
||||||
|
const server_id = "src/routes/home/example-pages/list-of-identities/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/8.CYfxja1r.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/Progress.3ESwaKmp.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/Utils.BOVa1qxf.js","_app/immutable/chunks/entry.Cs_QM1XO.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=8-D3dEyIJ8.js.map
|
||||||
1
out/renderer/server/chunks/8-D3dEyIJ8.js.map
Normal file
1
out/renderer/server/chunks/8-D3dEyIJ8.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"8-D3dEyIJ8.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/home/example-pages/list-of-identities/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/8.js"],"sourcesContent":["import { g as getPage, e as getLimit, h as getSorters } from \"../../../../../chunks/Utils.js\";\nimport { c as createConfiguration } from \"../../../../../chunks/sdk.js\";\nimport { SearchApi } from \"sailpoint-api-client\";\nconst load = async ({ url, locals }) => {\n const config = createConfiguration(locals.session.baseUrl, locals.idnSession.access_token);\n const api = new SearchApi(config);\n const page = getPage(url);\n const limit = getLimit(url);\n const sorters = getSorters(url);\n const search = {\n indices: [\"identities\"],\n query: {\n query: `*`\n },\n sort: sorters !== \"\" ? [sorters] : [\"name\"]\n };\n const requestParams = {\n search,\n offset: Number(page) * Number(limit),\n limit: Number(limit),\n count: true\n };\n const reportResp = api.searchPost(requestParams);\n const totalCount = new Promise((resolve) => {\n reportResp.then((response) => {\n resolve(response.headers[\"x-total-count\"]);\n });\n });\n const reportData = new Promise((resolve) => {\n reportResp.then((response) => {\n resolve(response.data);\n });\n });\n return { reportData, totalCount, params: { page, limit, sorters } };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/home/example-pages/list-of-identities/_page.server.ts.js';\n\nexport const index = 8;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/example-pages/list-of-identities/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/home/example-pages/list-of-identities/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/8.CYfxja1r.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/Progress.3ESwaKmp.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/each.C9vk03ly.js\",\"_app/immutable/chunks/Utils.BOVa1qxf.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":["SearchApi"],"mappings":";;;;;;;;;;;;;;;;;;;AAGA,MAAM,IAAI,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK;AACxC,EAAE,MAAM,MAAM,GAAG,mBAAmB,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;AAC7F,EAAE,MAAM,GAAG,GAAG,IAAIA,qBAAS,CAAC,MAAM,CAAC,CAAC;AACpC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;AAC5B,EAAE,MAAM,KAAK,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC;AAC9B,EAAE,MAAM,OAAO,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC;AAClC,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,OAAO,EAAE,CAAC,YAAY,CAAC;AAC3B,IAAI,KAAK,EAAE;AACX,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC;AAChB,KAAK;AACL,IAAI,IAAI,EAAE,OAAO,KAAK,EAAE,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC;AAC/C,GAAG,CAAC;AACJ,EAAE,MAAM,aAAa,GAAG;AACxB,IAAI,MAAM;AACV,IAAI,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC;AACxC,IAAI,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC;AACxB,IAAI,KAAK,EAAE,IAAI;AACf,GAAG,CAAC;AACJ,EAAE,MAAM,UAAU,GAAG,GAAG,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACnD,EAAE,MAAM,UAAU,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAC9C,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AAClC,MAAM,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AACjD,KAAK,CAAC,CAAC;AACP,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,UAAU,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAC9C,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AAClC,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7B,KAAK,CAAC,CAAC;AACP,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,CAAC;AACtE,CAAC;;;;;;;AChCW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAwE,CAAC,EAAE,QAAQ;AAE9I,MAAC,SAAS,GAAG,mEAAmE;AAChF,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,4CAA4C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,yCAAyC,CAAC,yCAAyC,EAAE;AAC5a,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||||
56
out/renderer/server/chunks/9-C0Jj_TGE.js
Normal file
56
out/renderer/server/chunks/9-C0Jj_TGE.js
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
import { c as createConfiguration, d as distExports } from './sdk-CZE8e3P6.js';
|
||||||
|
import { b as getToken } from './oauth-Czq1qjCs.js';
|
||||||
|
import './_commonjsHelpers-BFTU3MAI.js';
|
||||||
|
import './index-BRrDHEF2.js';
|
||||||
|
import 'util';
|
||||||
|
import 'stream';
|
||||||
|
import 'path';
|
||||||
|
import 'http';
|
||||||
|
import 'https';
|
||||||
|
import 'url';
|
||||||
|
import 'fs';
|
||||||
|
import 'assert';
|
||||||
|
import 'tty';
|
||||||
|
import 'os';
|
||||||
|
import 'zlib';
|
||||||
|
import 'events';
|
||||||
|
import './index-DzcLzHBX.js';
|
||||||
|
import 'buffer';
|
||||||
|
import 'crypto';
|
||||||
|
|
||||||
|
const load = async ({ cookies }) => {
|
||||||
|
const search = {
|
||||||
|
indices: ["identities"],
|
||||||
|
query: {
|
||||||
|
query: `NOT _exists_:attributes.cloudLifecycleState`
|
||||||
|
},
|
||||||
|
sort: ["name"]
|
||||||
|
};
|
||||||
|
const session = JSON.parse(cookies.get("session"));
|
||||||
|
const idnSession = await getToken(cookies);
|
||||||
|
const config = createConfiguration(session.baseUrl, idnSession.access_token);
|
||||||
|
const api = new distExports.SearchApi(config);
|
||||||
|
const searchResp = distExports.Paginator.paginateSearchApi(api, search, 100, 2e4);
|
||||||
|
const reportData = new Promise((resolve) => {
|
||||||
|
searchResp.then((response) => {
|
||||||
|
resolve(response.data);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
return { reportData };
|
||||||
|
};
|
||||||
|
|
||||||
|
var _page_server_ts = /*#__PURE__*/Object.freeze({
|
||||||
|
__proto__: null,
|
||||||
|
load: load
|
||||||
|
});
|
||||||
|
|
||||||
|
const index = 9;
|
||||||
|
let component_cache;
|
||||||
|
const component = async () => component_cache ??= (await import('./_page.svelte-JrNxjdIn.js')).default;
|
||||||
|
const server_id = "src/routes/home/example-pages/missing-cloud-life-cycle-state/+page.server.ts";
|
||||||
|
const imports = ["_app/immutable/nodes/9.D3DEtmXB.js","_app/immutable/chunks/scheduler.fBTsnP2i.js","_app/immutable/chunks/Progress.3ESwaKmp.js","_app/immutable/chunks/index.DdnDjIf5.js","_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js","_app/immutable/chunks/index.D97w0myq.js","_app/immutable/chunks/each.C9vk03ly.js","_app/immutable/chunks/Utils.BOVa1qxf.js","_app/immutable/chunks/entry.Cs_QM1XO.js"];
|
||||||
|
const stylesheets = ["_app/immutable/assets/ProgressBar.DtHVHfix.css"];
|
||||||
|
const fonts = [];
|
||||||
|
|
||||||
|
export { component, fonts, imports, index, _page_server_ts as server, server_id, stylesheets };
|
||||||
|
//# sourceMappingURL=9-C0Jj_TGE.js.map
|
||||||
1
out/renderer/server/chunks/9-C0Jj_TGE.js.map
Normal file
1
out/renderer/server/chunks/9-C0Jj_TGE.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"9-C0Jj_TGE.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/home/example-pages/missing-cloud-life-cycle-state/_page.server.ts.js","../../../../.svelte-kit/adapter-node/nodes/9.js"],"sourcesContent":["import { c as createConfiguration } from \"../../../../../chunks/sdk.js\";\nimport { g as getToken } from \"../../../../../chunks/oauth.js\";\nimport { SearchApi, Paginator } from \"sailpoint-api-client\";\nconst load = async ({ cookies }) => {\n const search = {\n indices: [\"identities\"],\n query: {\n query: `NOT _exists_:attributes.cloudLifecycleState`\n },\n sort: [\"name\"]\n };\n const session = JSON.parse(cookies.get(\"session\"));\n const idnSession = await getToken(cookies);\n const config = createConfiguration(session.baseUrl, idnSession.access_token);\n const api = new SearchApi(config);\n const searchResp = Paginator.paginateSearchApi(api, search, 100, 2e4);\n const reportData = new Promise((resolve) => {\n searchResp.then((response) => {\n resolve(response.data);\n });\n });\n return { reportData };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/home/example-pages/missing-cloud-life-cycle-state/_page.server.ts.js';\n\nexport const index = 9;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/home/example-pages/missing-cloud-life-cycle-state/_page.svelte.js')).default;\nexport { server };\nexport const server_id = \"src/routes/home/example-pages/missing-cloud-life-cycle-state/+page.server.ts\";\nexport const imports = [\"_app/immutable/nodes/9.D3DEtmXB.js\",\"_app/immutable/chunks/scheduler.fBTsnP2i.js\",\"_app/immutable/chunks/Progress.3ESwaKmp.js\",\"_app/immutable/chunks/index.DdnDjIf5.js\",\"_app/immutable/chunks/ProgressBar.svelte_svelte_type_style_lang.DcCzH8ar.js\",\"_app/immutable/chunks/index.D97w0myq.js\",\"_app/immutable/chunks/each.C9vk03ly.js\",\"_app/immutable/chunks/Utils.BOVa1qxf.js\",\"_app/immutable/chunks/entry.Cs_QM1XO.js\"];\nexport const stylesheets = [\"_app/immutable/assets/ProgressBar.DtHVHfix.css\"];\nexport const fonts = [];\n"],"names":["SearchApi","Paginator"],"mappings":";;;;;;;;;;;;;;;;;;;;AAGA,MAAM,IAAI,GAAG,OAAO,EAAE,OAAO,EAAE,KAAK;AACpC,EAAE,MAAM,MAAM,GAAG;AACjB,IAAI,OAAO,EAAE,CAAC,YAAY,CAAC;AAC3B,IAAI,KAAK,EAAE;AACX,MAAM,KAAK,EAAE,CAAC,2CAA2C,CAAC;AAC1D,KAAK;AACL,IAAI,IAAI,EAAE,CAAC,MAAM,CAAC;AAClB,GAAG,CAAC;AACJ,EAAE,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC;AACrD,EAAE,MAAM,UAAU,GAAG,MAAM,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC7C,EAAE,MAAM,MAAM,GAAG,mBAAmB,CAAC,OAAO,CAAC,OAAO,EAAE,UAAU,CAAC,YAAY,CAAC,CAAC;AAC/E,EAAE,MAAM,GAAG,GAAG,IAAIA,qBAAS,CAAC,MAAM,CAAC,CAAC;AACpC,EAAE,MAAM,UAAU,GAAGC,qBAAS,CAAC,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AACxE,EAAE,MAAM,UAAU,GAAG,IAAI,OAAO,CAAC,CAAC,OAAO,KAAK;AAC9C,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,QAAQ,KAAK;AAClC,MAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;AAC7B,KAAK,CAAC,CAAC;AACP,GAAG,CAAC,CAAC;AACL,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACxB,CAAC;;;;;;;ACpBW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAoF,CAAC,EAAE,QAAQ;AAE1J,MAAC,SAAS,GAAG,+EAA+E;AAC5F,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,4CAA4C,CAAC,yCAAyC,CAAC,6EAA6E,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,yCAAyC,CAAC,yCAAyC,EAAE;AAC5a,MAAC,WAAW,GAAG,CAAC,gDAAgD,EAAE;AAClE,MAAC,KAAK,GAAG;;;;"}
|
||||||
75
out/renderer/server/chunks/Progress-Bh0zkgr8.js
Normal file
75
out/renderer/server/chunks/Progress-Bh0zkgr8.js
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
import { c as create_ssr_component, e as escape, v as validate_component, d as add_attribute, f as add_styles, n as compute_slots } from './ssr-pGtI3Kui.js';
|
||||||
|
import './ProgressBar.svelte_svelte_type_style_lang-Lwm3XjGR.js';
|
||||||
|
|
||||||
|
const cBase = "progress-radial relative overflow-hidden";
|
||||||
|
const cBaseTrack = "fill-transparent";
|
||||||
|
const cBaseMeter = "fill-transparent -rotate-90 origin-[50%_50%]";
|
||||||
|
const baseSize = 512;
|
||||||
|
const ProgressRadial = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||||
|
let classesBase;
|
||||||
|
let $$slots = compute_slots(slots);
|
||||||
|
let { value = void 0 } = $$props;
|
||||||
|
let { stroke = 40 } = $$props;
|
||||||
|
let { font = 56 } = $$props;
|
||||||
|
let { strokeLinecap = "butt" } = $$props;
|
||||||
|
let { transition = "transition-[stroke-dashoffset]" } = $$props;
|
||||||
|
let { width = "w-36" } = $$props;
|
||||||
|
let { meter = "stroke-surface-900 dark:stroke-surface-50" } = $$props;
|
||||||
|
let { track = "stroke-surface-500/30" } = $$props;
|
||||||
|
let { fill = "fill-token" } = $$props;
|
||||||
|
let { labelledby = "" } = $$props;
|
||||||
|
const radius = baseSize / 2 - stroke / 2;
|
||||||
|
let circumference = radius;
|
||||||
|
let dashoffset;
|
||||||
|
function setProgress(percent) {
|
||||||
|
circumference = radius * 2 * Math.PI;
|
||||||
|
dashoffset = circumference - percent / 100 * circumference;
|
||||||
|
}
|
||||||
|
setProgress(0);
|
||||||
|
if ($$props.value === void 0 && $$bindings.value && value !== void 0)
|
||||||
|
$$bindings.value(value);
|
||||||
|
if ($$props.stroke === void 0 && $$bindings.stroke && stroke !== void 0)
|
||||||
|
$$bindings.stroke(stroke);
|
||||||
|
if ($$props.font === void 0 && $$bindings.font && font !== void 0)
|
||||||
|
$$bindings.font(font);
|
||||||
|
if ($$props.strokeLinecap === void 0 && $$bindings.strokeLinecap && strokeLinecap !== void 0)
|
||||||
|
$$bindings.strokeLinecap(strokeLinecap);
|
||||||
|
if ($$props.transition === void 0 && $$bindings.transition && transition !== void 0)
|
||||||
|
$$bindings.transition(transition);
|
||||||
|
if ($$props.width === void 0 && $$bindings.width && width !== void 0)
|
||||||
|
$$bindings.width(width);
|
||||||
|
if ($$props.meter === void 0 && $$bindings.meter && meter !== void 0)
|
||||||
|
$$bindings.meter(meter);
|
||||||
|
if ($$props.track === void 0 && $$bindings.track && track !== void 0)
|
||||||
|
$$bindings.track(track);
|
||||||
|
if ($$props.fill === void 0 && $$bindings.fill && fill !== void 0)
|
||||||
|
$$bindings.fill(fill);
|
||||||
|
if ($$props.labelledby === void 0 && $$bindings.labelledby && labelledby !== void 0)
|
||||||
|
$$bindings.labelledby(labelledby);
|
||||||
|
classesBase = `${cBase} ${width} ${$$props.class ?? ""}`;
|
||||||
|
return ` <figure class="${"progress-radial " + escape(classesBase, true)}" data-testid="progress-radial" role="meter"${add_attribute("aria-labelledby", labelledby, 0)}${add_attribute("aria-valuenow", value || 0, 0)}${add_attribute("aria-valuetext", value ? `${value}%` : "Indeterminate Spinner", 0)}${add_attribute("aria-valuemin", 0, 0)}${add_attribute("aria-valuemax", 100, 0)}> <svg viewBox="${"0 0 " + escape(baseSize, true) + " " + escape(baseSize, true)}" class="${["rounded-full", value === void 0 ? "animate-spin" : ""].join(" ").trim()}"><circle class="${"progress-radial-track " + escape(cBaseTrack, true) + " " + escape(track, true)}"${add_attribute("stroke-width", stroke, 0)}${add_attribute("r", radius, 0)} cx="50%" cy="50%"></circle><circle class="${"progress-radial-meter " + escape(cBaseMeter, true) + " " + escape(meter, true) + " " + escape(transition, true)}"${add_attribute("stroke-width", stroke, 0)}${add_attribute("r", radius, 0)} cx="50%" cy="50%"${add_attribute("stroke-linecap", strokeLinecap, 0)}${add_styles({
|
||||||
|
"stroke-dasharray": `${circumference}
|
||||||
|
${circumference}`,
|
||||||
|
"stroke-dashoffset": dashoffset
|
||||||
|
})}></circle>${value != void 0 && value >= 0 && $$slots.default ? `<text x="50%" y="50%" text-anchor="middle" dominant-baseline="middle" font-weight="bold"${add_attribute("font-size", font, 0)} class="${"progress-radial-text " + escape(fill, true)}">${slots.default ? slots.default({}) : ``}</text>` : ``}</svg></figure>`;
|
||||||
|
});
|
||||||
|
const Progress = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||||
|
let { width = "" } = $$props;
|
||||||
|
if ($$props.width === void 0 && $$bindings.width && width !== void 0)
|
||||||
|
$$bindings.width(width);
|
||||||
|
return `<div class="${"grid place-content-center " + escape(width, true)}">${validate_component(ProgressRadial, "ProgressRadial").$$render(
|
||||||
|
$$result,
|
||||||
|
{
|
||||||
|
width,
|
||||||
|
stroke: 100,
|
||||||
|
meter: "stroke-primary-500",
|
||||||
|
track: "stroke-primary-500/30",
|
||||||
|
class: "progress-bar"
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{}
|
||||||
|
)}</div>`;
|
||||||
|
});
|
||||||
|
|
||||||
|
export { Progress as P };
|
||||||
|
//# sourceMappingURL=Progress-Bh0zkgr8.js.map
|
||||||
1
out/renderer/server/chunks/Progress-Bh0zkgr8.js.map
Normal file
1
out/renderer/server/chunks/Progress-Bh0zkgr8.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -0,0 +1,46 @@
|
|||||||
|
import { r as readable, w as writable } from './index2-CcAcUxny.js';
|
||||||
|
import { r as get_store_value } from './ssr-pGtI3Kui.js';
|
||||||
|
|
||||||
|
const stores = {};
|
||||||
|
function localStorageStore(key, initialValue, options) {
|
||||||
|
options?.serializer ?? JSON;
|
||||||
|
options?.storage ?? "local";
|
||||||
|
if (!stores[key]) {
|
||||||
|
const store = writable(initialValue, (set2) => {
|
||||||
|
});
|
||||||
|
const { subscribe, set } = store;
|
||||||
|
stores[key] = {
|
||||||
|
set(value) {
|
||||||
|
set(value);
|
||||||
|
},
|
||||||
|
update(updater) {
|
||||||
|
const value = updater(get_store_value(store));
|
||||||
|
set(value);
|
||||||
|
},
|
||||||
|
subscribe
|
||||||
|
};
|
||||||
|
}
|
||||||
|
return stores[key];
|
||||||
|
}
|
||||||
|
localStorageStore("modeOsPrefers", false);
|
||||||
|
localStorageStore("modeUserPrefers", void 0);
|
||||||
|
const modeCurrent = localStorageStore("modeCurrent", false);
|
||||||
|
function setInitialClassState() {
|
||||||
|
const elemHtmlClasses = document.documentElement.classList;
|
||||||
|
const condLocalStorageUserPrefs = localStorage.getItem("modeUserPrefers") === "false";
|
||||||
|
const condLocalStorageUserPrefsExists = !("modeUserPrefers" in localStorage);
|
||||||
|
const condMatchMedia = window.matchMedia("(prefers-color-scheme: dark)").matches;
|
||||||
|
if (condLocalStorageUserPrefs || condLocalStorageUserPrefsExists && condMatchMedia) {
|
||||||
|
elemHtmlClasses.add("dark");
|
||||||
|
} else {
|
||||||
|
elemHtmlClasses.remove("dark");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
function prefersReducedMotion() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
const prefersReducedMotionStore = readable(prefersReducedMotion(), (set) => {
|
||||||
|
});
|
||||||
|
|
||||||
|
export { localStorageStore as l, modeCurrent as m, prefersReducedMotionStore as p, setInitialClassState as s };
|
||||||
|
//# sourceMappingURL=ProgressBar.svelte_svelte_type_style_lang-Lwm3XjGR.js.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"ProgressBar.svelte_svelte_type_style_lang-Lwm3XjGR.js","sources":["../../../../.svelte-kit/adapter-node/chunks/ProgressBar.svelte_svelte_type_style_lang.js"],"sourcesContent":["import { w as writable, r as readable } from \"./index2.js\";\nimport { r as get_store_value } from \"./ssr.js\";\nconst stores = {};\nfunction localStorageStore(key, initialValue, options) {\n options?.serializer ?? JSON;\n options?.storage ?? \"local\";\n if (!stores[key]) {\n const store = writable(initialValue, (set2) => {\n });\n const { subscribe, set } = store;\n stores[key] = {\n set(value) {\n set(value);\n },\n update(updater) {\n const value = updater(get_store_value(store));\n set(value);\n },\n subscribe\n };\n }\n return stores[key];\n}\nlocalStorageStore(\"modeOsPrefers\", false);\nlocalStorageStore(\"modeUserPrefers\", void 0);\nconst modeCurrent = localStorageStore(\"modeCurrent\", false);\nfunction setInitialClassState() {\n const elemHtmlClasses = document.documentElement.classList;\n const condLocalStorageUserPrefs = localStorage.getItem(\"modeUserPrefers\") === \"false\";\n const condLocalStorageUserPrefsExists = !(\"modeUserPrefers\" in localStorage);\n const condMatchMedia = window.matchMedia(\"(prefers-color-scheme: dark)\").matches;\n if (condLocalStorageUserPrefs || condLocalStorageUserPrefsExists && condMatchMedia) {\n elemHtmlClasses.add(\"dark\");\n } else {\n elemHtmlClasses.remove(\"dark\");\n }\n}\nfunction prefersReducedMotion() {\n return false;\n}\nconst prefersReducedMotionStore = readable(prefersReducedMotion(), (set) => {\n});\nexport {\n localStorageStore as l,\n modeCurrent as m,\n prefersReducedMotionStore as p,\n setInitialClassState as s\n};\n"],"names":[],"mappings":";;;AAEA,MAAM,MAAM,GAAG,EAAE,CAAC;AAClB,SAAS,iBAAiB,CAAC,GAAG,EAAE,YAAY,EAAE,OAAO,EAAE;AACvD,EAAE,OAAO,EAAE,UAAU,IAAI,IAAI,CAAC;AAC9B,EAAE,OAAO,EAAE,OAAO,IAAI,OAAO,CAAC;AAC9B,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE;AACpB,IAAI,MAAM,KAAK,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC,IAAI,KAAK;AACnD,KAAK,CAAC,CAAC;AACP,IAAI,MAAM,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AACrC,IAAI,MAAM,CAAC,GAAG,CAAC,GAAG;AAClB,MAAM,GAAG,CAAC,KAAK,EAAE;AACjB,QAAQ,GAAG,CAAC,KAAK,CAAC,CAAC;AACnB,OAAO;AACP,MAAM,MAAM,CAAC,OAAO,EAAE;AACtB,QAAQ,MAAM,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC,CAAC;AACtD,QAAQ,GAAG,CAAC,KAAK,CAAC,CAAC;AACnB,OAAO;AACP,MAAM,SAAS;AACf,KAAK,CAAC;AACN,GAAG;AACH,EAAE,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC;AACD,iBAAiB,CAAC,eAAe,EAAE,KAAK,CAAC,CAAC;AAC1C,iBAAiB,CAAC,iBAAiB,EAAE,KAAK,CAAC,CAAC,CAAC;AACxC,MAAC,WAAW,GAAG,iBAAiB,CAAC,aAAa,EAAE,KAAK,EAAE;AAC5D,SAAS,oBAAoB,GAAG;AAChC,EAAE,MAAM,eAAe,GAAG,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC;AAC7D,EAAE,MAAM,yBAAyB,GAAG,YAAY,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,OAAO,CAAC;AACxF,EAAE,MAAM,+BAA+B,GAAG,EAAE,iBAAiB,IAAI,YAAY,CAAC,CAAC;AAC/E,EAAE,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAAC,OAAO,CAAC;AACnF,EAAE,IAAI,yBAAyB,IAAI,+BAA+B,IAAI,cAAc,EAAE;AACtF,IAAI,eAAe,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAChC,GAAG,MAAM;AACT,IAAI,eAAe,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;AACnC,GAAG;AACH,CAAC;AACD,SAAS,oBAAoB,GAAG;AAChC,EAAE,OAAO,KAAK,CAAC;AACf,CAAC;AACI,MAAC,yBAAyB,GAAG,QAAQ,CAAC,oBAAoB,EAAE,EAAE,CAAC,GAAG,KAAK;AAC5E,CAAC;;;;"}
|
||||||
70
out/renderer/server/chunks/Utils-BGShQy8a.js
Normal file
70
out/renderer/server/chunks/Utils-BGShQy8a.js
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
import { g as goto } from './client-CQ5E_ugM.js';
|
||||||
|
|
||||||
|
function formatDate(date) {
|
||||||
|
if (!date)
|
||||||
|
return "N/A";
|
||||||
|
return new Date(date).toLocaleString();
|
||||||
|
}
|
||||||
|
function getLimit(url) {
|
||||||
|
return url.searchParams.get("limit") || "5";
|
||||||
|
}
|
||||||
|
function getFilters(url) {
|
||||||
|
return url.searchParams.get("filters") || "";
|
||||||
|
}
|
||||||
|
function getSorters(url) {
|
||||||
|
return url.searchParams.get("sorters") || "";
|
||||||
|
}
|
||||||
|
function getPage(url) {
|
||||||
|
return url.searchParams.get("page") || "0";
|
||||||
|
}
|
||||||
|
function createOnPageChange(params, path) {
|
||||||
|
return function onPageChange(e) {
|
||||||
|
const urlParams = new URLSearchParams();
|
||||||
|
urlParams.set("page", e.detail);
|
||||||
|
urlParams.set("limit", params.limit);
|
||||||
|
urlParams.set("sorters", params.sorters);
|
||||||
|
urlParams.set("filters", params.filters);
|
||||||
|
console.log(`${path}?${urlParams.toString()}`);
|
||||||
|
goto(`${path}?${urlParams.toString()}`);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function createOnAmountChange(params, path) {
|
||||||
|
return function onAmountChange(e) {
|
||||||
|
const urlParams = new URLSearchParams();
|
||||||
|
urlParams.set("page", params.page);
|
||||||
|
urlParams.set("limit", e.detail);
|
||||||
|
urlParams.set("sorters", params.sorters);
|
||||||
|
urlParams.set("filters", params.filters);
|
||||||
|
console.log(`${path}?${urlParams.toString()}`);
|
||||||
|
goto(`${path}?${urlParams.toString()}`);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function createOnGo(params, path) {
|
||||||
|
return function onGo(e) {
|
||||||
|
if (e.type !== "click" && e.key !== "Enter")
|
||||||
|
return;
|
||||||
|
const urlParams = new URLSearchParams();
|
||||||
|
if (params.page != "")
|
||||||
|
urlParams.set("page", params.page);
|
||||||
|
if (params.limit != "")
|
||||||
|
urlParams.set("limit", params.limit);
|
||||||
|
if (params.sorters != "")
|
||||||
|
urlParams.set("sorters", params.sorters);
|
||||||
|
if (params.filters != "")
|
||||||
|
urlParams.set("filters", params.filters);
|
||||||
|
console.log(`${path}?${urlParams.toString()}`);
|
||||||
|
goto(`${path}?${urlParams.toString()}`);
|
||||||
|
};
|
||||||
|
}
|
||||||
|
function capitalize(s) {
|
||||||
|
if (typeof s !== "string")
|
||||||
|
return "";
|
||||||
|
return s.charAt(0).toUpperCase() + s.slice(1);
|
||||||
|
}
|
||||||
|
function parseInitials(name) {
|
||||||
|
const initials = name.match(/\b(\w)/g) || ["A", "U"];
|
||||||
|
return initials.join("");
|
||||||
|
}
|
||||||
|
|
||||||
|
export { getLimit as a, getSorters as b, getFilters as c, capitalize as d, createOnPageChange as e, formatDate as f, getPage as g, createOnAmountChange as h, createOnGo as i, parseInitials as p };
|
||||||
|
//# sourceMappingURL=Utils-BGShQy8a.js.map
|
||||||
1
out/renderer/server/chunks/Utils-BGShQy8a.js.map
Normal file
1
out/renderer/server/chunks/Utils-BGShQy8a.js.map
Normal file
File diff suppressed because one or more lines are too long
8
out/renderer/server/chunks/_commonjsHelpers-BFTU3MAI.js
Normal file
8
out/renderer/server/chunks/_commonjsHelpers-BFTU3MAI.js
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
||||||
|
|
||||||
|
function getDefaultExportFromCjs (x) {
|
||||||
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
||||||
|
}
|
||||||
|
|
||||||
|
export { commonjsGlobal as c, getDefaultExportFromCjs as g };
|
||||||
|
//# sourceMappingURL=_commonjsHelpers-BFTU3MAI.js.map
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"_commonjsHelpers-BFTU3MAI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
||||||
40
out/renderer/server/chunks/_error.svelte-CB21MUWC.js
Normal file
40
out/renderer/server/chunks/_error.svelte-CB21MUWC.js
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
import { c as create_ssr_component, a as subscribe, e as escape, b as each, d as add_attribute, v as validate_component } from './ssr-pGtI3Kui.js';
|
||||||
|
import { p as page, C as CodeBlock } from './stores-CEBzDsQs.js';
|
||||||
|
import './ProgressBar.svelte_svelte_type_style_lang-Lwm3XjGR.js';
|
||||||
|
import './index2-CcAcUxny.js';
|
||||||
|
import './client-CQ5E_ugM.js';
|
||||||
|
import './exports-DuWZopOC.js';
|
||||||
|
|
||||||
|
const Error = create_ssr_component(($$result, $$props, $$bindings, slots) => {
|
||||||
|
let $page, $$unsubscribe_page;
|
||||||
|
$$unsubscribe_page = subscribe(page, (value) => $page = value);
|
||||||
|
{
|
||||||
|
console.log($page);
|
||||||
|
}
|
||||||
|
$$unsubscribe_page();
|
||||||
|
return `<div class="p-4"><div class="card p-4"><p class="text-center p-2">WHOOPS! <br> <span class="text-red-500">a ${escape($page.status)} error occurred.</span> <br> If
|
||||||
|
you believe this is a bug please submit an issue on
|
||||||
|
<a class="underline text-blue-500 hover:text-blue-700" href="https://github.com/sailpoint-oss/idn-admin-console/issues/new/choose" rel="noreferrer" target="_blank" data-svelte-h="svelte-1q72bt6">GitHub</a></p> ${$page.error?.message ? `<p class="py-2">Message: <br><span class="text-red-500">${escape($page.error.message)}</span></p>` : ``} ${$page.error?.urls ? `<p data-svelte-h="svelte-cuvqcc">These links may be helpful:</p> <ul>${each($page.error?.urls, (url) => {
|
||||||
|
return `<li>-
|
||||||
|
<a class="underline text-blue-500 hover:text-blue-700"${add_attribute("href", url, 0)} rel="noreferrer" target="_blank">${escape(url)}</a> </li>`;
|
||||||
|
})}</ul>` : ``} ${$page.error?.context ? `<div class="py-2"><p data-svelte-h="svelte-18zo72r">Context</p> ${validate_component(CodeBlock, "CodeBlock").$$render(
|
||||||
|
$$result,
|
||||||
|
{
|
||||||
|
language: "json",
|
||||||
|
code: JSON.stringify($page.error?.context, null, 4)
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{}
|
||||||
|
)}</div>` : ``} ${$page.error?.errData ? `<div class="pt-2"><p data-svelte-h="svelte-1i80aqe">Error Data</p> ${validate_component(CodeBlock, "CodeBlock").$$render(
|
||||||
|
$$result,
|
||||||
|
{
|
||||||
|
language: "json",
|
||||||
|
code: JSON.stringify($page.error?.errData, null, 4)
|
||||||
|
},
|
||||||
|
{},
|
||||||
|
{}
|
||||||
|
)}</div>` : ``}</div></div>`;
|
||||||
|
});
|
||||||
|
|
||||||
|
export { Error as default };
|
||||||
|
//# sourceMappingURL=_error.svelte-CB21MUWC.js.map
|
||||||
1
out/renderer/server/chunks/_error.svelte-CB21MUWC.js.map
Normal file
1
out/renderer/server/chunks/_error.svelte-CB21MUWC.js.map
Normal file
@@ -0,0 +1 @@
|
|||||||
|
{"version":3,"file":"_error.svelte-CB21MUWC.js","sources":["../../../../.svelte-kit/adapter-node/entries/pages/_error.svelte.js"],"sourcesContent":["import { c as create_ssr_component, l as subscribe, e as escape, o as each, v as validate_component, b as add_attribute } from \"../../chunks/ssr.js\";\nimport { p as page, C as CodeBlock } from \"../../chunks/stores.js\";\nimport \"../../chunks/ProgressBar.svelte_svelte_type_style_lang.js\";\nconst Error = create_ssr_component(($$result, $$props, $$bindings, slots) => {\n let $page, $$unsubscribe_page;\n $$unsubscribe_page = subscribe(page, (value) => $page = value);\n {\n console.log($page);\n }\n $$unsubscribe_page();\n return `<div class=\"p-4\"><div class=\"card p-4\"><p class=\"text-center p-2\">WHOOPS! <br> <span class=\"text-red-500\">a ${escape($page.status)} error occurred.</span> <br> If\n\t\t\tyou believe this is a bug please submit an issue on\n\t\t\t<a class=\"underline text-blue-500 hover:text-blue-700\" href=\"https://github.com/sailpoint-oss/idn-admin-console/issues/new/choose\" rel=\"noreferrer\" target=\"_blank\" data-svelte-h=\"svelte-1q72bt6\">GitHub</a></p> ${$page.error?.message ? `<p class=\"py-2\">Message: <br><span class=\"text-red-500\">${escape($page.error.message)}</span></p>` : ``} ${$page.error?.urls ? `<p data-svelte-h=\"svelte-cuvqcc\">These links may be helpful:</p> <ul>${each($page.error?.urls, (url) => {\n return `<li>-\n\t\t\t\t\t\t<a class=\"underline text-blue-500 hover:text-blue-700\"${add_attribute(\"href\", url, 0)} rel=\"noreferrer\" target=\"_blank\">${escape(url)}</a> </li>`;\n })}</ul>` : ``} ${$page.error?.context ? `<div class=\"py-2\"><p data-svelte-h=\"svelte-18zo72r\">Context</p> ${validate_component(CodeBlock, \"CodeBlock\").$$render(\n $$result,\n {\n language: \"json\",\n code: JSON.stringify($page.error?.context, null, 4)\n },\n {},\n {}\n )}</div>` : ``} ${$page.error?.errData ? `<div class=\"pt-2\"><p data-svelte-h=\"svelte-1i80aqe\">Error Data</p> ${validate_component(CodeBlock, \"CodeBlock\").$$render(\n $$result,\n {\n language: \"json\",\n code: JSON.stringify($page.error?.errData, null, 4)\n },\n {},\n {}\n )}</div>` : ``}</div></div>`;\n});\nexport {\n Error as default\n};\n"],"names":[],"mappings":";;;;;;;AAGK,MAAC,KAAK,GAAG,oBAAoB,CAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,KAAK,KAAK;AAC7E,EAAE,IAAI,KAAK,EAAE,kBAAkB,CAAC;AAChC,EAAE,kBAAkB,GAAG,SAAS,CAAC,IAAI,EAAE,CAAC,KAAK,KAAK,KAAK,GAAG,KAAK,CAAC,CAAC;AACjE,EAAE;AACF,IAAI,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,GAAG;AACH,EAAE,kBAAkB,EAAE,CAAC;AACvB,EAAE,OAAO,CAAC,4GAA4G,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AAC7I;AACA,qNAAqN,EAAE,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,CAAC,wDAAwD,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,EAAE,IAAI,GAAG,CAAC,qEAAqE,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,GAAG,KAAK;AACvd,IAAI,OAAO,CAAC;AACZ,4DAA4D,EAAE,aAAa,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,kCAAkC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC,CAAC;AACxJ,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,CAAC,gEAAgE,EAAE,kBAAkB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,QAAQ;AACjK,IAAI,QAAQ;AACZ,IAAI;AACJ,MAAM,QAAQ,EAAE,MAAM;AACtB,MAAM,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;AACzD,KAAK;AACL,IAAI,EAAE;AACN,IAAI,EAAE;AACN,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,CAAC,mEAAmE,EAAE,kBAAkB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,QAAQ;AACpK,IAAI,QAAQ;AACZ,IAAI;AACJ,MAAM,QAAQ,EAAE,MAAM;AACtB,MAAM,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;AACzD,KAAK;AACL,IAAI,EAAE;AACN,IAAI,EAAE;AACN,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;AAC/B,CAAC;;;;"}
|
||||||
7644
out/renderer/server/chunks/_layout.svelte-LzGJOOI2.js
Normal file
7644
out/renderer/server/chunks/_layout.svelte-LzGJOOI2.js
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user