diff --git a/js/firstrunwizard-about.mjs b/js/firstrunwizard-about.mjs index 7d23a888b..39ea8149e 100644 --- a/js/firstrunwizard-about.mjs +++ b/js/firstrunwizard-about.mjs @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('firstrunwizard', '', 'js/main-CRDBzU0Z.chunk.mjs'),window.OC.filePath('firstrunwizard', '', 'js/NcIconSvgWrapper-Ckqpz-vm-BmlRkq83.chunk.mjs')])))=>i.map(i=>d[i]); -import{_ as a}from"./modulepreload-polyfill-BlCe0vNC.chunk.mjs";document.addEventListener("DOMContentLoaded",function(){const o=document.querySelector("#firstrunwizard_about button"),t=()=>{document.querySelector("#firstrunwizard_about button").addEventListener("click",async function(e){var n;e.stopPropagation(),e.preventDefault();const r=(n=document.querySelector('[aria-controls="header-menu-user-menu"]'))!=null?n:void 0,{open:u}=await a(async()=>{const{open:i}=await import("./main-CRDBzU0Z.chunk.mjs");return{open:i}},__vite__mapDeps([0,1]),import.meta.url);u(r),OC.hideMenus(()=>!1)})};o?t():window._nc_event_bus.subscribe("core:user-menu:mounted",t)}); +import{_ as a}from"./modulepreload-polyfill-Be8VauhY.chunk.mjs";document.addEventListener("DOMContentLoaded",function(){const o=document.querySelector("#firstrunwizard_about button"),t=()=>{document.querySelector("#firstrunwizard_about button").addEventListener("click",async function(e){var n;e.stopPropagation(),e.preventDefault();const r=(n=document.querySelector('[aria-controls="header-menu-user-menu"]'))!=null?n:void 0,{open:u}=await a(async()=>{const{open:i}=await import("./main-CRDBzU0Z.chunk.mjs");return{open:i}},__vite__mapDeps([0,1]),import.meta.url);u(r),OC.hideMenus(()=>!1)})};o?t():window._nc_event_bus.subscribe("core:user-menu:mounted",t)}); diff --git a/js/firstrunwizard-activate.mjs b/js/firstrunwizard-activate.mjs index 5f3fc2fcf..2c13dd6c0 100644 --- a/js/firstrunwizard-activate.mjs +++ b/js/firstrunwizard-activate.mjs @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[window.OC.filePath('firstrunwizard', '', 'js/main-CRDBzU0Z.chunk.mjs'),window.OC.filePath('firstrunwizard', '', 'js/NcIconSvgWrapper-Ckqpz-vm-BmlRkq83.chunk.mjs')])))=>i.map(i=>d[i]); -import{_ as t}from"./modulepreload-polyfill-BlCe0vNC.chunk.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-CRDBzU0Z.chunk.mjs"),__vite__mapDeps([0,1]),import.meta.url)).open()}); +import{_ as t}from"./modulepreload-polyfill-Be8VauhY.chunk.mjs";document.addEventListener("DOMContentLoaded",async function(){(await t(()=>import("./main-CRDBzU0Z.chunk.mjs"),__vite__mapDeps([0,1]),import.meta.url)).open()}); diff --git a/js/modulepreload-polyfill-Be8VauhY.chunk.mjs b/js/modulepreload-polyfill-Be8VauhY.chunk.mjs new file mode 100644 index 000000000..7f9b7e6ad --- /dev/null +++ b/js/modulepreload-polyfill-Be8VauhY.chunk.mjs @@ -0,0 +1 @@ +const h="modulepreload",y=function(s,c){return new URL(s,c).href},m={},g=function(s,c,l){let e=Promise.resolve();if(c&&c.length>0){const n=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),f=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=Promise.allSettled(c.map(o=>{if(o=y(o,l),o in m)return;m[o]=!0;const d=o.endsWith(".css"),p=d?'[rel="stylesheet"]':"";if(l)for(let u=n.length-1;u>=0;u--){const a=n[u];if(a.href===o&&(!d||a.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(o,'"]').concat(p)))return;const i=document.createElement("link");if(i.rel=d?"stylesheet":h,d||(i.as="script"),i.crossOrigin="",i.href=o,f&&i.setAttribute("nonce",f),document.head.appendChild(i),d)return new Promise((u,a)=>{i.addEventListener("load",u),i.addEventListener("error",()=>a(new Error("Unable to preload CSS for ".concat(o))))})}))}function t(n){const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=n,window.dispatchEvent(r),!r.defaultPrevented)throw n}return e.then(n=>{for(const r of n||[])r.status==="rejected"&&t(r.reason);return s().catch(t)})};(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))l(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"&&l(n)}).observe(document,{childList:!0,subtree:!0});function c(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 l(e){if(e.ep)return;e.ep=!0;const t=c(e);fetch(e.href,t)}})();export{g as _}; diff --git a/js/modulepreload-polyfill-BlCe0vNC.chunk.mjs.license b/js/modulepreload-polyfill-Be8VauhY.chunk.mjs.license similarity index 100% rename from js/modulepreload-polyfill-BlCe0vNC.chunk.mjs.license rename to js/modulepreload-polyfill-Be8VauhY.chunk.mjs.license diff --git a/js/modulepreload-polyfill-Be8VauhY.chunk.mjs.map b/js/modulepreload-polyfill-Be8VauhY.chunk.mjs.map new file mode 100644 index 000000000..96fc75e5c --- /dev/null +++ b/js/modulepreload-polyfill-Be8VauhY.chunk.mjs.map @@ -0,0 +1 @@ +{"version":3,"file":"modulepreload-polyfill-Be8VauhY.chunk.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/js/modulepreload-polyfill-BlCe0vNC.chunk.mjs.map.license b/js/modulepreload-polyfill-Be8VauhY.chunk.mjs.map.license similarity index 100% rename from js/modulepreload-polyfill-BlCe0vNC.chunk.mjs.map.license rename to js/modulepreload-polyfill-Be8VauhY.chunk.mjs.map.license diff --git a/js/modulepreload-polyfill-BlCe0vNC.chunk.mjs b/js/modulepreload-polyfill-BlCe0vNC.chunk.mjs deleted file mode 100644 index 510406dad..000000000 --- a/js/modulepreload-polyfill-BlCe0vNC.chunk.mjs +++ /dev/null @@ -1 +0,0 @@ -const p="modulepreload",h=function(i,s){return new URL(i,s).href},f={},y=function(i,s,l){let e=Promise.resolve();if(s&&s.length>0){const t=document.getElementsByTagName("link"),r=document.querySelector("meta[property=csp-nonce]"),a=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));e=Promise.all(s.map(n=>{if(n=h(n,l),n in f)return;f[n]=!0;const c=n.endsWith(".css"),m=c?'[rel="stylesheet"]':"";if(l)for(let d=t.length-1;d>=0;d--){const u=t[d];if(u.href===n&&(!c||u.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(n,'"]').concat(m)))return;const o=document.createElement("link");if(o.rel=c?"stylesheet":p,c||(o.as="script"),o.crossOrigin="",o.href=n,a&&o.setAttribute("nonce",a),document.head.appendChild(o),c)return new Promise((d,u)=>{o.addEventListener("load",d),o.addEventListener("error",()=>u(new Error("Unable to preload CSS for ".concat(n))))})}))}return e.then(()=>i()).catch(t=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=t,window.dispatchEvent(r),!r.defaultPrevented)throw t})};(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))l(e);new MutationObserver(e=>{for(const t of e)if(t.type==="childList")for(const r of t.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function s(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 l(e){if(e.ep)return;e.ep=!0;const t=s(e);fetch(e.href,t)}})();export{y as _}; diff --git a/js/modulepreload-polyfill-BlCe0vNC.chunk.mjs.map b/js/modulepreload-polyfill-BlCe0vNC.chunk.mjs.map deleted file mode 100644 index 2268aaf98..000000000 --- a/js/modulepreload-polyfill-BlCe0vNC.chunk.mjs.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"modulepreload-polyfill-BlCe0vNC.chunk.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 46115bd03..f82b79945 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,7 +27,7 @@ "@nextcloud/vite-config": "^1.4.2", "@vue/tsconfig": "^0.5.1", "sass": "^1.77.8", - "vite": "^5.4.3" + "vite": "^5.4.5" }, "engines": { "node": "^20.0.0", @@ -10638,9 +10638,9 @@ } }, "node_modules/vite": { - "version": "5.4.3", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.3.tgz", - "integrity": "sha512-IH+nl64eq9lJjFqU+/yrRnrHPVTlgy42/+IzbOdaFDVlyLgI/wDlf+FCobXLX1cT0X5+7LMyH1mIy2xJdLfo8Q==", + "version": "5.4.5", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.5.tgz", + "integrity": "sha512-pXqR0qtb2bTwLkev4SE3r4abCNioP3GkjvIDLlzziPpXtHgiJIjuKl+1GN6ESOT3wMjG3JTeARopj2SwYaHTOA==", "dev": true, "dependencies": { "esbuild": "^0.21.3", diff --git a/package.json b/package.json index 69f00d23f..73b36cbf2 100644 --- a/package.json +++ b/package.json @@ -41,6 +41,6 @@ "@nextcloud/vite-config": "^1.4.2", "@vue/tsconfig": "^0.5.1", "sass": "^1.77.8", - "vite": "^5.4.3" + "vite": "^5.4.5" } }