<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-patible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="A quick description on why your site is so fantastic, what it does and why people should definitely start using it. Oh, and how it’s free.">
        <link rel="icon" href="/frontend/assets/img/favicon.ico">

        <title>Sleeky theme for YOURLS</title>

        <link rel="stylesheet" href="/frontend/dist/styles.css">

                    <style>
                body {
                    background-color: #007bff;
                }
            </style>
        
        <style>
            .btn-primary {
                background-color: #007bff;
                border-color: #007bff;
            }

            .btn-primary:hover,
            .btn-primary:focus,
            .btn-primary:active {
                background-color: #006cf0;
                border-color: #006cf0;
            }
        </style>
    </head>

<body>


	<div class="container-fluid h-100">
		<div class="row justify-content-center align-items-center h-100">
			<div class="col-12 col-lg-10 col-xl-8 col-xxl-5 mt-5">
				<div class="card border-0 mt-5">
											<!-- Shortening form for authenticated users -->
						<div class="text-center">
							<img src="https://e09.ru/frontend/assets/img/logo-black.png" alt="Logo" width="95px" class="mt-n5">
						</div>
						<div class="card-body px-md-5">
							<p>A quick description on why your site is so fantastic, what it does and why people should definitely start using it. Oh, and how it’s free.</p>

							
							
							<form id="shortenlink" method="post" action="">
								<div class="input-group input-group-block mt-4 mb-3">
									<input type="url" name="url" id="url" class="form-control text-uppercase" placeholder="PASTE URL, SHORTEN &amp; SHARE" aria-label="PASTE URL, SHORTEN &amp; SHARE" aria-describedby="shorten-button" required>
									<input class="btn btn-primary text-uppercase py-2 px-4 mt-2 mt-md-0" type="submit" id="shorten-button" value="Shorten" />
								</div>
																	<a class="btn btn-sm btn-white text-black-50 text-uppercase" data-bs-toggle="collapse" href="#customise-link" role="button" aria-expanded="false" aria-controls="customise-link">
										<img src="https://e09.ru/frontend/assets/svg/custom-url.svg" alt="Options"> Customize Link
									</a>
									<div class="collapse" id="customise-link">
										<div class="mt-2 card card-body">
											<div class="d-flex  align-items-center">
												<span class="me-2">e09.ru/</span>
												<input type="text" name="keyword" class="form-control form-control-sm text-uppercase" placeholder="CUSTOM URL" aria-label="CUSTOM URL">
											</div>
										</div>
									</div>
															</form>
						</div>
									</div>
				<div class="d-flex flex-column flex-md-row align-items-center my-3">
					<span class="text-white fw-light" style="text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);">&copy; 2026 Sleeky</span>
					<div class="ms-3">
													<a class="bold-link me-3 text-white text-decoration-none" href="https://sleeky.flynntes.com/" style="text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);"><span>About</span></a>
													<a class="bold-link me-3 text-white text-decoration-none" href="https://yourls.org/" style="text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);"><span>Contact</span></a>
													<a class="bold-link me-3 text-white text-decoration-none" href="https://yourls.org/" style="text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);"><span>Legal</span></a>
													<a class="bold-link me-3 text-white text-decoration-none" href="/admin" style="text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);"><span>Admin</span></a>
											</div>
				</div>
			</div>
		</div>
	</div>
	<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>

<script>
	// From https://stackoverflow.com/a/30810322
	function fallbackCopyTextToClipboard(text) {
		var textArea = document.createElement("textarea");
		textArea.value = text;
		
		// Avoid scrolling to bottom
		textArea.style.top = "0";
		textArea.style.left = "0";
		textArea.style.position = "fixed";

		document.body.appendChild(textArea);
		textArea.focus();
		textArea.select();

		try {
			var successful = document.execCommand('copy');
			var msg = successful ? 'successful' : 'unsuccessful';
			console.log('Fallback: Copying text command was ' + msg);
		} catch (err) {
			console.error('Fallback: Oops, unable to copy', err);
		}

		document.body.removeChild(textArea);
	}

	function copyTextToClipboard(text) {
		if (!navigator.clipboard) {
			fallbackCopyTextToClipboard(text);
			return;
		}
		navigator.clipboard.writeText(text).then(function() {
			console.log('Async: Copying to clipboard was successful!');
		}, function(err) {
			console.error('Async: Could not copy text: ', err);
		});
	}

	const copyBtn = document.querySelector('button#copy-button');

	if (copyBtn) {
		copyBtn.addEventListener('click', function(event) {
			copyTextToClipboard(event.target.dataset.shorturl);
		});
	}

	const closeShortenedLinkScreenButton = document.querySelector('button#close-shortened-screen');

	if (closeShortenedLinkScreenButton) {
		closeShortenedLinkScreenButton.addEventListener('click', function(event) {
			window.location.href=window.location.href;
		});
	}
</script>

<script>(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a339ac3dffd4d3ab',t:'MTc4ODE1NDUzNg=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body>
</html>
