mirror of
https://github.com/SupertigerDev/waybar-online.git
synced 2026-03-24 16:06:37 +00:00
deploy: 224e6ed9fd
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,2 +0,0 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/waybar-CsRXkruL.js","assets/waybar-BiCziTIV.css","assets/root-BA0DnJTr.js","assets/root-M_LMJVBG.css"])))=>i.map(i=>d[i]);
|
||||
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))f(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const o of t.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&f(o)}).observe(document,{childList:!0,subtree:!0});function l(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function f(e){if(e.ep)return;e.ep=!0;const t=l(e);fetch(e.href,t)}})();const g="modulepreload",P=function(r){return"/"+r},d={},m=function(a,l,f){let e=Promise.resolve();if(l&&l.length>0){let p=function(n){return Promise.all(n.map(c=>Promise.resolve(c).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=o?.nonce||o?.getAttribute("nonce");e=p(l.map(n=>{if(n=P(n),n in d)return;d[n]=!0;const c=n.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${n}"]${u}`))return;const i=document.createElement("link");if(i.rel=c?"stylesheet":g,c||(i.as="script"),i.crossOrigin="",i.href=n,s&&i.setAttribute("nonce",s),document.head.appendChild(i),c)return new Promise((h,y)=>{i.addEventListener("load",h),i.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${n}`)))})}))}function t(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return e.then(o=>{for(const s of o||[])s.status==="rejected"&&t(s.reason);return a().catch(t)})};location.pathname==="/waybar"&&m(async()=>{const{createWaybarPage:r}=await import("./waybar-CsRXkruL.js");return{createWaybarPage:r}},__vite__mapDeps([0,1])).then(({createWaybarPage:r})=>r());location.pathname==="/"&&m(async()=>{const{createRootPage:r}=await import("./root-BA0DnJTr.js");return{createRootPage:r}},__vite__mapDeps([2,3])).then(({createRootPage:r})=>r());export{m as _};
|
||||
2
assets/index-CHFKb8wC.js
Normal file
2
assets/index-CHFKb8wC.js
Normal file
@@ -0,0 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/waybar-DyRHIxrU.js","assets/waybar-BiCziTIV.css","assets/root-QOTJvkXH.js","assets/root-C-wuBary.css"])))=>i.map(i=>d[i]);
|
||||
(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))f(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const n of t.addedNodes)n.tagName==="LINK"&&n.rel==="modulepreload"&&f(n)}).observe(document,{childList:!0,subtree:!0});function l(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?t.credentials="include":e.crossOrigin==="anonymous"?t.credentials="omit":t.credentials="same-origin",t}function f(e){if(e.ep)return;e.ep=!0;const t=l(e);fetch(e.href,t)}})();const g="modulepreload",P=function(r){return"/waybar-online/"+r},d={},m=function(a,l,f){let e=Promise.resolve();if(l&&l.length>0){let p=function(o){return Promise.all(o.map(c=>Promise.resolve(c).then(u=>({status:"fulfilled",value:u}),u=>({status:"rejected",reason:u}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),s=n?.nonce||n?.getAttribute("nonce");e=p(l.map(o=>{if(o=P(o),o in d)return;d[o]=!0;const c=o.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${u}`))return;const i=document.createElement("link");if(i.rel=c?"stylesheet":g,c||(i.as="script"),i.crossOrigin="",i.href=o,s&&i.setAttribute("nonce",s),document.head.appendChild(i),c)return new Promise((h,y)=>{i.addEventListener("load",h),i.addEventListener("error",()=>y(new Error(`Unable to preload CSS for ${o}`)))})}))}function t(n){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=n,window.dispatchEvent(s),!s.defaultPrevented)throw n}return e.then(n=>{for(const s of n||[])s.status==="rejected"&&t(s.reason);return a().catch(t)})};location.pathname==="/waybar-online/waybar"&&m(async()=>{const{createWaybarPage:r}=await import("./waybar-DyRHIxrU.js");return{createWaybarPage:r}},__vite__mapDeps([0,1])).then(({createWaybarPage:r})=>r());location.pathname==="/waybar-online"&&m(async()=>{const{createRootPage:r}=await import("./root-QOTJvkXH.js");return{createRootPage:r}},__vite__mapDeps([2,3])).then(({createRootPage:r})=>r());export{m as _};
|
||||
1
assets/root-C-wuBary.css
Normal file
1
assets/root-C-wuBary.css
Normal file
@@ -0,0 +1 @@
|
||||
body{background:url(/waybar-online/bg.avif) no-repeat center center fixed;background-size:cover}html,body{height:100%;padding:0;margin:0}#waybar-iframe{width:100vw;border:none}
|
||||
@@ -1 +0,0 @@
|
||||
body{background:url(/bg.avif) no-repeat center center fixed;background-size:cover}html,body{height:100%;padding:0;margin:0}#waybar-iframe{width:100vw;border:none}
|
||||
@@ -1,3 +1,3 @@
|
||||
const e=document.getElementById("app"),a=async()=>{e.innerHTML=`
|
||||
<iframe id="waybar-iframe" src="/waybar"></iframe>
|
||||
<iframe id="waybar-iframe" src="/waybar-online/waybar"></iframe>
|
||||
`};export{a as createRootPage};
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user