mirror of
https://github.com/LukeHagar/ui-development-kit.git
synced 2025-12-06 04:21:49 +00:00
304 lines
12 KiB
JavaScript
304 lines
12 KiB
JavaScript
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
|