nuxt-graphql-middleware 5.2.0 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/200.html +1 -11
- package/dist/client/404.html +1 -11
- package/dist/client/_nuxt/CKZE-Gmz.js +2 -0
- package/dist/client/_nuxt/CLvFsrJf.js +1 -0
- package/dist/client/_nuxt/CYCWsMRt.js +1 -0
- package/dist/client/_nuxt/DKGPmQRi.js +1 -0
- package/dist/client/_nuxt/DPP_zJIh.js +25 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/1a5c6b94-502b-4ab8-a5c9-f955b10f2b06.json +1 -0
- package/dist/client/_nuxt/entry.DUAtNXP_.css +1 -0
- package/dist/client/_nuxt/error-404.DlVPZ4GE.css +1 -0
- package/dist/client/_nuxt/error-500.DjyirMQI.css +1 -0
- package/dist/client/_nuxt/index.B-PWu_0C.css +1 -0
- package/dist/client/index.html +1 -11
- package/dist/module.d.mts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +19 -5
- package/dist/runtime/composables/useAsyncGraphqlQuery.d.ts +1 -2
- package/dist/runtime/server/utils/index.js +4 -4
- package/dist/shared/{nuxt-graphql-middleware.-BeiPV4H.d.mts → nuxt-graphql-middleware.ct2xvPoD.d.mts} +4 -1
- package/dist/utils.d.mts +1 -1
- package/package.json +10 -8
- package/dist/client/_nuxt/4Fsya3Lb.js +0 -1
- package/dist/client/_nuxt/BKIQXJNq.js +0 -1
- package/dist/client/_nuxt/BMPkTe12.js +0 -25
- package/dist/client/_nuxt/CghSORGW.js +0 -2
- package/dist/client/_nuxt/CyXF4zpN.js +0 -1
- package/dist/client/_nuxt/builds/meta/85b9c065-c702-4b67-9fa8-2d27fbcda8e3.json +0 -1
- package/dist/client/_nuxt/entry.BBgLZ1Jk.css +0 -1
- package/dist/client/_nuxt/error-404.Bbd2eCoc.css +0 -1
- package/dist/client/_nuxt/error-500.Cd2cwFc3.css +0 -1
- package/dist/client/_nuxt/index.DGEN-H8t.css +0 -1
package/dist/module.mjs
CHANGED
|
@@ -20,7 +20,7 @@ import { existsSync as existsSync$1 } from 'fs';
|
|
|
20
20
|
import { onDevToolsInitialized, extendServerRpc } from '@nuxt/devtools-kit';
|
|
21
21
|
|
|
22
22
|
const name = "nuxt-graphql-middleware";
|
|
23
|
-
const version = "5.2.
|
|
23
|
+
const version = "5.2.2";
|
|
24
24
|
|
|
25
25
|
const logger = useLogger("nuxt-graphql-middleware");
|
|
26
26
|
const defaultOptions = {
|
|
@@ -820,7 +820,11 @@ ${color.cyan(S_BAR_END)}
|
|
|
820
820
|
class ModuleHelper {
|
|
821
821
|
constructor(nuxt, moduleUrl, options) {
|
|
822
822
|
this.nuxt = nuxt;
|
|
823
|
-
const mergedOptions = defu(
|
|
823
|
+
const mergedOptions = defu(
|
|
824
|
+
{},
|
|
825
|
+
options,
|
|
826
|
+
defaultOptions
|
|
827
|
+
);
|
|
824
828
|
if (!mergedOptions.autoImportPatterns) {
|
|
825
829
|
mergedOptions.autoImportPatterns = [
|
|
826
830
|
"~~/**/*.{gql,graphql}",
|
|
@@ -828,6 +832,15 @@ class ModuleHelper {
|
|
|
828
832
|
"!node_modules"
|
|
829
833
|
];
|
|
830
834
|
}
|
|
835
|
+
if (!mergedOptions.graphqlEndpoint) {
|
|
836
|
+
const graphqlEndpoint = process.env.NUXT_GRAPHQL_MIDDLEWARE_GRAPHQL_ENDPOINT;
|
|
837
|
+
if (!graphqlEndpoint) {
|
|
838
|
+
throw new Error(
|
|
839
|
+
'Missing GraphQL endpoint in module build. Please either provide the endpoint via "graphqlMiddleware.graphqlEndpoint" in nuxt.config.ts or via "NUXT_GRAPHQL_MIDDLEWARE_GRAPHQL_ENDPOINT" environment variable.'
|
|
840
|
+
);
|
|
841
|
+
}
|
|
842
|
+
mergedOptions.graphqlEndpoint = graphqlEndpoint;
|
|
843
|
+
}
|
|
831
844
|
const layerAliases = nuxt.options._layers.map((layer) => {
|
|
832
845
|
return {
|
|
833
846
|
"~~": layer.config.rootDir,
|
|
@@ -1401,8 +1414,9 @@ export { serverOptions }
|
|
|
1401
1414
|
import type { GraphqlMiddlewareServerOptions } from '${helper.paths.runtimeTypes}'
|
|
1402
1415
|
import serverOptionsImport from '${resolvedPathRelative}'
|
|
1403
1416
|
|
|
1404
|
-
|
|
1405
|
-
|
|
1417
|
+
type AdditionsFromServerOptions = typeof serverOptionsImport extends GraphqlMiddlewareServerOptions<infer R, any, any> ? R : {}
|
|
1418
|
+
|
|
1419
|
+
export type GraphqlResponseAdditions = Omit<AdditionsFromServerOptions, 'data' | 'errors'>
|
|
1406
1420
|
|
|
1407
1421
|
declare export const serverOptions: GraphqlMiddlewareServerOptions
|
|
1408
1422
|
`;
|
|
@@ -1730,7 +1744,7 @@ const module = defineNuxtModule({
|
|
|
1730
1744
|
clientCacheMaxSize: helper.options.clientCache?.maxSize ?? 100
|
|
1731
1745
|
};
|
|
1732
1746
|
nuxt.options.runtimeConfig.graphqlMiddleware = {
|
|
1733
|
-
graphqlEndpoint: helper.options.graphqlEndpoint
|
|
1747
|
+
graphqlEndpoint: helper.options.graphqlEndpoint
|
|
1734
1748
|
};
|
|
1735
1749
|
helper.transpile(fileURLToPath(new URL("./runtime", import.meta.url)));
|
|
1736
1750
|
helper.inlineNitroExternals(helper.resolvers.module.resolve("./runtime"));
|
|
@@ -5,9 +5,8 @@ import { type GraphqlClientContext } from '#nuxt-graphql-middleware/client-optio
|
|
|
5
5
|
import type { GraphqlResponse } from '#nuxt-graphql-middleware/response';
|
|
6
6
|
import type { RequestCacheOptions } from './../types.js';
|
|
7
7
|
import type { AsyncData, AsyncDataOptions, NuxtError } from '#app';
|
|
8
|
-
import type { DefaultAsyncDataValue } from 'nuxt/app/defaults';
|
|
9
8
|
import type { Query } from '#nuxt-graphql-middleware/operation-types';
|
|
10
|
-
type AsyncGraphqlQueryOptions<FetchOptions, ResT, DataT = ResT, PickKeys extends KeysOf<DataT> = KeysOf<DataT>, DefaultT =
|
|
9
|
+
type AsyncGraphqlQueryOptions<FetchOptions, ResT, DataT = ResT, PickKeys extends KeysOf<DataT> = KeysOf<DataT>, DefaultT = undefined> = AsyncDataOptions<ResT, DataT, PickKeys, DefaultT> & {
|
|
11
10
|
/**
|
|
12
11
|
* Control how the GraphQL response can be cached.
|
|
13
12
|
*/
|
|
@@ -4,9 +4,9 @@ export function performRequest(operation, operationName, method, options) {
|
|
|
4
4
|
...options,
|
|
5
5
|
method
|
|
6
6
|
}).then((v) => {
|
|
7
|
-
return {
|
|
8
|
-
data: v
|
|
9
|
-
errors: v
|
|
10
|
-
};
|
|
7
|
+
return Object.assign({}, v, {
|
|
8
|
+
data: v?.data,
|
|
9
|
+
errors: v?.errors ?? []
|
|
10
|
+
});
|
|
11
11
|
});
|
|
12
12
|
}
|
|
@@ -95,11 +95,14 @@ interface ModuleOptions {
|
|
|
95
95
|
/**
|
|
96
96
|
* The URL of the GraphQL server.
|
|
97
97
|
*
|
|
98
|
+
* If not provided, the module will use the NUXT_GRAPHQL_MIDDLEWARE_GRAPHQL_ENDPOINT
|
|
99
|
+
* environment variable during dev mode.
|
|
100
|
+
*
|
|
98
101
|
* For the runtime execution you can provide a method that determines the endpoint
|
|
99
102
|
* during runtime. See the server/graphqlMiddleware.serverOptions.ts documentation
|
|
100
103
|
* for more information.
|
|
101
104
|
*/
|
|
102
|
-
graphqlEndpoint
|
|
105
|
+
graphqlEndpoint?: string;
|
|
103
106
|
/**
|
|
104
107
|
* Download the GraphQL schema and store it on disk.
|
|
105
108
|
*
|
package/dist/utils.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-graphql-middleware",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "Module to perform GraphQL requests as a server middleware.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -72,26 +72,27 @@
|
|
|
72
72
|
"@graphql-codegen/cli": "^5.0.5",
|
|
73
73
|
"@graphql-codegen/schema-ast": "^4.1.0",
|
|
74
74
|
"@graphql-tools/utils": "^10.8.6",
|
|
75
|
-
"@nuxt/devtools-kit": "^2.
|
|
76
|
-
"graphql-typescript-deluxe": "^0.0.
|
|
75
|
+
"@nuxt/devtools-kit": "^2.6.2",
|
|
76
|
+
"graphql-typescript-deluxe": "^0.0.15",
|
|
77
77
|
"minisearch": "^7.1.2",
|
|
78
78
|
"picocolors": "^1.1.1"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@iconify-json/carbon": "^1.2.8",
|
|
82
82
|
"@nuxt/devtools": "^2.4.0",
|
|
83
|
-
"@nuxt/devtools-ui-kit": "^2.
|
|
83
|
+
"@nuxt/devtools-ui-kit": "^2.6.2",
|
|
84
84
|
"@nuxt/eslint": "^1.2.0",
|
|
85
|
-
"@nuxt/kit": "^
|
|
85
|
+
"@nuxt/kit": "^4.0.3",
|
|
86
86
|
"@nuxt/module-builder": "^1.0.1",
|
|
87
|
-
"@nuxt/schema": "^
|
|
87
|
+
"@nuxt/schema": "^4.0.3",
|
|
88
88
|
"@types/micromatch": "^4.0.9",
|
|
89
89
|
"cypress": "^13.12.0",
|
|
90
|
+
"cypress-wait-until": "^3.0.2",
|
|
90
91
|
"eslint": "^9.23.0",
|
|
91
92
|
"eslint-config-prettier": "^10.1.1",
|
|
92
93
|
"eslint-plugin-prettier": "^5.2.3",
|
|
93
94
|
"mermaid": "^11.5.0",
|
|
94
|
-
"nuxt": "^
|
|
95
|
+
"nuxt": "^4.0.3",
|
|
95
96
|
"postcss": "^8.5.3",
|
|
96
97
|
"postcss-cli": "^11.0.1",
|
|
97
98
|
"postcss-import": "^16.1.0",
|
|
@@ -106,6 +107,7 @@
|
|
|
106
107
|
"typedoc-vitepress-theme": "^1.1.2",
|
|
107
108
|
"vitepress": "^1.6.3",
|
|
108
109
|
"vitepress-plugin-mermaid": "^2.0.17",
|
|
109
|
-
"vitest": "^1.6.0"
|
|
110
|
+
"vitest": "^1.6.0",
|
|
111
|
+
"vue-tsc": "^2.2.12"
|
|
110
112
|
}
|
|
111
113
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as O,u as q,s as E,r as T,a as R,o as B,b as H,c as I,e as U,f as M,h as A,g as z,p as V,i as P,j as D,k as y,l as j,m as F,n as $,q as W,w as G,t as K,v as Q,_ as J,x as X,y as Y,z as C,A as N,B as Z,C as ee,D as te}from"./BMPkTe12.js";import{u as ne}from"./CyXF4zpN.js";const ae=(...t)=>t.find(n=>n!==void 0);function re(t){const n=t.componentName||"NuxtLink";function h(e){return typeof e=="string"&&e.startsWith("#")}function x(e,i,m){const a=m??t.trailingSlash;if(!e||a!=="append"&&a!=="remove")return e;if(typeof e=="string")return _(e,a);const u="path"in e&&e.path!==void 0?e.path:i(e).path;return{...e,name:void 0,path:_(u,a)}}function w(e){const i=q(),m=$(),a=y(()=>!!e.target&&e.target!=="_self"),u=y(()=>{const f=e.to||e.href||"";return typeof f=="string"&&j(f,{acceptRelative:!0})}),k=z("RouterLink"),g=typeof k!="string"?k.useLink:void 0,v=y(()=>{if(e.external)return!0;const f=e.to||e.href||"";return typeof f=="object"?!1:f===""||u.value}),o=y(()=>{const f=e.to||e.href||"";return v.value?f:x(f,i.resolve,e.trailingSlash)}),c=v.value||g==null?void 0:g({...e,to:o}),p=y(()=>{var S;const f=e.trailingSlash??t.trailingSlash;if(!o.value||u.value||h(o.value))return o.value;if(v.value){const b=typeof o.value=="object"&&"path"in o.value?P(o.value):o.value,r=typeof b=="object"?i.resolve(b).href:b;return _(r,f)}return typeof o.value=="object"?((S=i.resolve(o.value))==null?void 0:S.href)??null:_(F(m.app.baseURL,o.value),f)});return{to:o,hasTarget:a,isAbsoluteUrl:u,isExternal:v,href:p,isActive:(c==null?void 0:c.isActive)??y(()=>o.value===i.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??y(()=>o.value===i.currentRoute.value.path),route:(c==null?void 0:c.route)??y(()=>i.resolve(o.value)),async navigate(f){await W(p.value,{replace:e.replace,external:v.value||a.value})}}}return O({name:n,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:w,setup(e,{slots:i}){const m=q(),{to:a,href:u,navigate:k,isExternal:g,hasTarget:v,isAbsoluteUrl:o}=w(e),c=E(!1),p=T(null),f=r=>{var l;p.value=e.custom?(l=r==null?void 0:r.$el)==null?void 0:l.nextElementSibling:r==null?void 0:r.$el};function S(r){var l,s;return!c.value&&(typeof e.prefetchOn=="string"?e.prefetchOn===r:((l=e.prefetchOn)==null?void 0:l[r])??((s=t.prefetchOn)==null?void 0:s[r]))&&(e.prefetch??t.prefetch)!==!1&&e.noPrefetch!==!0&&e.target!=="_blank"&&!le()}async function b(r=R()){if(c.value)return;c.value=!0;const l=typeof a.value=="string"?a.value:g.value?P(a.value):m.resolve(a.value).fullPath,s=g.value?new URL(l,window.location.href).href:l;await Promise.all([r.hooks.callHook("link:prefetch",s).catch(()=>{}),!g.value&&!v.value&&D(a.value,m).catch(()=>{})])}if(S("visibility")){const r=R();let l,s=null;B(()=>{const d=oe();H(()=>{l=I(()=>{var L;(L=p==null?void 0:p.value)!=null&&L.tagName&&(s=d.observe(p.value,async()=>{s==null||s(),s=null,await b(r)}))})})}),U(()=>{l&&M(l),s==null||s(),s=null})}return()=>{var s;if(!g.value&&!v.value&&!h(a.value)){const d={ref:f,to:a.value,activeClass:e.activeClass||t.activeClass,exactActiveClass:e.exactActiveClass||t.exactActiveClass,replace:e.replace,ariaCurrentValue:e.ariaCurrentValue,custom:e.custom};return e.custom||(S("interaction")&&(d.onPointerenter=b.bind(null,void 0),d.onFocus=b.bind(null,void 0)),c.value&&(d.class=e.prefetchedClass||t.prefetchedClass),d.rel=e.rel||void 0),A(z("RouterLink"),d,i.default)}const r=e.target||null,l=ae(e.noRel?"":e.rel,t.externalRelAttribute,o.value||v.value?"noopener noreferrer":"")||null;return e.custom?i.default?i.default({href:u.value,navigate:k,prefetch:b,get route(){if(!u.value)return;const d=new URL(u.value,window.location.href);return{path:d.pathname,fullPath:d.pathname,get query(){return V(d.search)},hash:d.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:l,target:r,isExternal:g.value||v.value,isActive:!1,isExactActive:!1}):null:A("a",{ref:p,href:u.value||null,rel:l,target:r},(s=i.default)==null?void 0:s.call(i))}}})}const ie=re(Q);function _(t,n){const h=n==="append"?G:K;return j(t)&&!t.startsWith("http")?t:h(t,!0)}function oe(){const t=R();if(t._observer)return t._observer;let n=null;const h=new Map,x=(e,i)=>(n||(n=new IntersectionObserver(m=>{for(const a of m){const u=h.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&u&&u()}})),h.set(e,i),n.observe(e),()=>{h.delete(e),n==null||n.unobserve(e),h.size===0&&(n==null||n.disconnect(),n=null)});return t._observer={observe:x}}const se=/2g/;function le(){const t=navigator.connection;return!!(t&&(t.saveData||se.test(t.effectiveType)))}const ue={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},ce={class:"max-w-520px text-center z-20"},fe=["textContent"],de=["textContent"],he={class:"flex items-center justify-center w-full"},ve={__name:"error-404",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:404},statusMessage:{type:String,default:"Not Found"},description:{type:String,default:"Sorry, the page you are looking for could not be found."},backHome:{type:String,default:"Go back home"}},setup(t){const n=t;return ne({title:`${n.statusCode} - ${n.statusMessage} | ${n.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(h,x)=>{const w=ie;return Y(),X("div",ue,[x[0]||(x[0]=C("div",{class:"fixed left-0 right-0 spotlight z-10"},null,-1)),C("div",ce,[C("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:N(t.statusCode)},null,8,fe),C("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:N(t.description)},null,8,de),C("div",he,[Z(w,{to:"/",class:"cursor-pointer gradient-border px-4 py-2 sm:px-6 sm:py-3 sm:text-xl text-md"},{default:ee(()=>[te(N(t.backHome),1)]),_:1})])])])}}},me=J(ve,[["__scopeId","data-v-3f6a44b2"]]);export{me as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{_ as s,x as a,y as i,z as e,A as o}from"./BMPkTe12.js";import{u}from"./CyXF4zpN.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return u({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(i(),a("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},b=s(f,[["__scopeId","data-v-15ef2dd2"]]);export{b as default};
|