1import{Nn as e,Q as t,Sr as n,Tn as r,Vn as i,_t as a,a as o,bn as s,br as c,h as l,in as u,lt as d,rt as f,xr as p,xt as m,yt as ee}from"./Bz3yJSFC.js";var te=n({docsBase:c,reporters:p}),h=new Set([`link`,`style`,`script`,`noscript`]),g=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),_=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),v=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),y=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),b=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),x=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),S=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),C={critical:-8,high:-1,low:2},w=e=>typeof e==`number`?Number.isFinite(e):e;function T(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function ne(e){let t=new l;for(let n in e||{})t.hook(n,e[n]);return t}function E(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}var D=/^(?:viewport|description|keywords|robots)$/,O=[`name`,`property`,`http-equiv`];function k(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return S.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function A(e){let{props:t,tag:n,key:r}=e;if(y.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of O){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!D.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:g.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function j(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return t;let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function M(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=M(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=T(n),a=i?void 0:M(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var N=/[\s"'<>/=\x00-\x1F\x7F]/;function P(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function F(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=_.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(T(r))continue;let i=r.startsWith(`data-`),a=n&&!b.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||N.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=P(r,s);else if(b.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=t.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function I(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),M(e,n)}function L(e,t){let n=F({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&h.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function R(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function z(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=I(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)R(n,L(t,e));else R(n,L(t,r))}}return n}var B=/</g,V=/<\/script/g,H=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,re=()=>100;function U(e){for(let t in e)return!1;return!0}var W=/^tags:|:render/;function G(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function K(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function q(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(H)}function J(e){let t=!1;for(let n of e.tags.sort(H)){let r=n._d||j(n);if(!r)continue;let i=e.tagMap.get(r);if(!i){e.tagMap.set(r,n);continue}if((n.tagDuplicateStrategy||(x.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&k(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function Y(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function X(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(!(!v.has(i)||U(a)&&!w(r)&&!w(n.textContent))&&!(i===`meta`&&!w(a.content)&&!a[`http-equiv`]&&!a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(B,`\\u003C`):typeof e==`string`?e.replace(V,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=A(n)}e[t++]=n}}return e.length=t,e}function ie(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??re,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};
1G(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&E(e,`entries:resolve`,{entries:a,...r})),G(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||U(t.options)))a=t._precomputedTags;else{if(a=z(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!U(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};E(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=A(r),r._d||(r._h=j(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&W.test(e)){K(r.tags);break}let o=J(r);return Y(r,e),q(r,o),E(e,`tags:beforeResolve`,r),E(e,`tags:resolve`,r),E(e,`tags:afterResolve`,r),X(r.tags)}var Z=`usehead`;function ae(){if(f()){let e=d(Z);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function oe(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Z,e)}}.install}var se=Object.assign((e,t)=>r(t)?i(t):t,{_static:!0});function ce(e,t={}){let n=t.head||ae();return n.ssr?n.push(e||{},t):le(n,e,t)}function le(n,r,i={}){let o=s();if(o&&!o.active)return{patch(){},dispose(){},_i:-1};let c=e(!1);if(i.onRendered&&o){let e=i.onRendered;i={...i,onRendered:t=>o.run(()=>e(t))}}let l;return u(()=>{let e=c.value?{}:M(r,se);l?l.patch(e):l=n.push(e,i)}),t()&&(ee(()=>{l.dispose()}),m(()=>{c.value=!0}),a(()=>{c.value=!1})),l}function Q(e){let t=e||o();return t.ssrContext?.head||t.runWithContext(()=>{if(f()){let e=d(`usehead`);if(!e)throw te.NUXT_E6001();return e}})}function $(e,t={}){return ce(e,{head:t.head||Q(t.nuxt),...t})}export{j as a,ie as c,_ as d,C as f,A as i,E as l,$ as n,k as o,oe as r,F as s,Q as t,ne as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.