@vuebro/runtime 1.0.3 → 1.0.4

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.
@@ -1,28 +1,28 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-B7bgbHgD.js","./sucrase-DTaNgZ3p.js","./compiler-sfc-CHbDt8t7.js","./RootView-fJ3s5rdg.js","./NotFoundView-BqN5m7eA.js"])))=>i.map(i=>d[i]);
2
- import{toValue as be,isRef as zt,hasInjectionContext as Wl,inject as Bl,ref as Ge,watchEffect as Kl,getCurrentInstance as Io,onBeforeUnmount as Gl,onDeactivated as Jl,onActivated as Xl,reactive as it,unref as ic,getCurrentScope as Yl,onScopeDispose as Ql,onMounted as Mo,nextTick as Fo,watch as He,computed as pe,shallowRef as Je,readonly as Zl,isReactive as eu,defineComponent as sc,onUnmounted as tu,h as ai,resolveComponent as ru,createBlock as ci,openBlock as li,withCtx as nu,resolveDynamicComponent as ou,defineAsyncComponent as iu,createApp as su}from"vue";import{g as hn,r as au,t as ui}from"./sucrase-DTaNgZ3p.js";import{useRoute as cu,createRouter as lu,createWebHistory as uu}from"vue-router";import{p as fu,c as du,a as pu,b as hu}from"./compiler-sfc-CHbDt8t7.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();const mu="modulepreload",gu=function(e,t){return new URL(e,t).href},fi={},nt=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=u(r.map(l=>{if(l=gu(l,n),l in fi)return;fi[l]=!0;const d=l.endsWith(".css"),y=d?'[rel="stylesheet"]':"";if(!!n)for(let h=s.length-1;h>=0;h--){const p=s[h];if(p.href===l&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${y}`))return;const v=document.createElement("link");if(v.rel=d?"stylesheet":mu,d||(v.as="script"),v.crossOrigin="",v.href=l,c&&v.setAttribute("nonce",c),document.head.appendChild(v),d)return new Promise((h,p)=>{v.addEventListener("load",h),v.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function fo(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?fo(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const yu={run:e=>e()},bu=()=>yu,ac=typeof console.createTask<"u"?console.createTask:bu;function vu(e,t){const r=t.shift(),n=ac(r);return e.reduce((o,i)=>o.then(()=>n.run(()=>i(...t))),Promise.resolve())}function $u(e,t){const r=t.shift(),n=ac(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function Tn(e,t){for(const r of[...e])r(t)}class wu{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...i));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=fo(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=fo(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(vu,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith($u,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&Tn(this._before,o);const i=t(r in this._hooks?[...this._hooks[r]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&Tn(this._after,o)}):(this._after&&o&&Tn(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function ku(){return new wu}const _u=new Set(["link","style","script","noscript"]),xu=new Set(["title","titleTemplate","script","style","noscript"]),di=new Set(["base","meta","link","style","script","noscript"]),Su=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Eu=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Cu=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),ju=new Set(["templateParams","htmlAttrs","bodyAttrs"]),zo=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Pu=["name","property","http-equiv"],Ou=new Set(["viewport","description","keywords","robots"]);function cc(e){const t=e.split(":");return t.length?zo.has(t[1]):!1}function po(e){const{props:t,tag:r}=e;if(Eu.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const n of Pu)if(t[n]!==void 0){const o=t[n],i=o.includes(":"),s=Ou.has(o),c=!(i||s)&&e.key?`:key:${e.key}`:"";return`${r}:${o}${c}`}}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if(xu.has(r)){const n=e.textContent||e.innerHTML;if(n)return`${r}:content:${n}`}}function pi(e){const t=e._h||e._d;if(t)return t;const r=e.textContent||e.innerHTML;return r||`${e.tag}:${Object.entries(e.props).map(([n,o])=>`${n}:${String(o)}`).join(",")}`}function Xr(e,t,r){typeof e==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(e=e());let o;if(t&&(o=t(r,e)),Array.isArray(o))return o.map(i=>Xr(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Xr(o[s],t,s);return i}return o}function Ru(e,t){const r=e==="style"?new Map:new Set;function n(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(c=>c.trim());s&&a.length&&r.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>r.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(o=>n(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?r.set(o.trim(),i):n(o))}),r}function lc(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([r,n])=>{if(n===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=Ru(r,n);return}if(Cu.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof n=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[r]=JSON.stringify(n)}else e[r]=n;return}const o=String(n),i=r.startsWith("data-");o==="true"||o===""?e.props[r]=i?o:!0:!n&&i&&o==="false"?e.props[r]="false":n!==void 0&&(e.props[r]=n)}),e}function Tu(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},n=lc({tag:e,props:{}},r);return n.key&&_u.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)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Au(e,t){if(!e)return[];typeof e=="function"&&(e=e());const r=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=r(void 0,e);const n=[];return e=Xr(e,r),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])n.push(Tu(o,s))}),n.flat()}const hi=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,mi={base:-10,title:10},Nu={critical:-8,high:-1,low:2},gi={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Iu=/@import/,xt=e=>e===""||e===!0;function Mu(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const n=Nu[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:gi;if(t.tag in mi)r=mi[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(r=gi.meta[i])}else t.tag==="link"&&t.props.rel?r=o.link[t.props.rel]:t.tag==="script"?xt(t.props.async)?r=o.script.async:t.props.src&&!xt(t.props.defer)&&!xt(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?r=o.script.sync:xt(t.props.defer)&&t.props.src&&!xt(t.props.async)&&(r=o.script.defer):t.tag==="style"&&(r=t.innerHTML&&Iu.test(t.innerHTML)?o.style.imported:o.style.sync);return(r||100)+n}function yi(e,t){const r=typeof t=="function"?t(e):t,n=r.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,r),e.hooks.addHooks(r.hooks||{}))}function Fu(e={}){const t=ku();t.addHooks(e.hooks||{});const r=!e.document,n=new Map,o=new Map,i=[],s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:n,headEntries(){return[...n.values()]},use:a=>yi(s,a),push(a,c){const u={...c||{}};delete u.head;const l=u._index??s._entryCount++,d={_i:l,input:a,options:u},y={_poll(m=!1){s.dirty=!0,!m&&i.push(l),t.callHook("entries:updated",s)},dispose(){n.delete(l)&&y._poll(!0)},patch(m){(!u.mode||u.mode==="server"&&r||u.mode==="client"&&!r)&&(d.input=m,n.set(l,d),y._poll())}};return y.patch(a),y},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.length;){const y=i.shift(),m=n.get(y);if(m){const v={tags:Au(m.input,e.propResolvers||[]).map(h=>Object.assign(h,m.options)),entry:m};await t.callHook("entries:normalize",v),m._tags=v.tags.map((h,p)=>(h._w=Mu(s,h),h._p=(m._i<<10)+p,h._d=po(h),h))}}let c=!1;a.entries.flatMap(y=>(y._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(hi).reduce((y,m)=>{const v=String(m._d||m._p);if(!y.has(v))return y.set(v,m);const h=y.get(v);if((m?.tagDuplicateStrategy||(ju.has(m.tag)?"merge":null)||(m.key&&m.key===h.key?"merge":null))==="merge"){const b={...h.props};Object.entries(m.props).forEach(([f,g])=>b[f]=f==="style"?new Map([...h.props.style||new Map,...g]):f==="class"?new Set([...h.props.class||new Set,...g]):g),y.set(v,{...m,props:b})}else m._p>>10===h._p>>10&&m.tag==="meta"&&cc(v)?(y.set(v,Object.assign([...Array.isArray(h)?h:[h],m],m)),c=!0):(m._w===h._w?m._p>h._p:m?._w<h?._w)&&y.set(v,m);return y},a.tagMap);const u=a.tagMap.get("title"),l=a.tagMap.get("titleTemplate");if(s._title=u?.textContent,l){const y=l?.textContent;if(s._titleTemplate=y,y){let m=typeof y=="function"?y(u?.textContent):y;typeof m=="string"&&!s.plugins.has("template-params")&&(m=m.replace("%s",u?.textContent||"")),u?m===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:m}):(l.tag="title",l.textContent=m)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(hi)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const d=[];for(const y of a.tags){const{innerHTML:m,tag:v,props:h}=y;if(Su.has(v)&&!(Object.keys(h).length===0&&!y.innerHTML&&!y.textContent)&&!(v==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(v==="script"&&m){if(h.type?.endsWith("json")){const p=typeof m=="string"?m:JSON.stringify(m);y.innerHTML=p.replace(/</g,"\\u003C")}else typeof m=="string"&&(y.innerHTML=m.replace(new RegExp(`</${v}`,"g"),`<\\/${v}`));y._d=po(y)}d.push(y)}}return d}};return(e?.plugins||[]).forEach(a=>yi(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}async function uc(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(m=>{e.resolveTags().then(v=>{m(v.map(h=>{const p=i.get(h._d)||0,b={tag:h,id:(p?`${h._d}:${p}`:h._d)||pi(h),shouldRender:!0};return h._d&&cc(h._d)&&i.set(h._d,p+1),b}))})});let a=e._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const m of["body","head"]){const v=r[m]?.children;for(const h of v){const p=h.tagName.toLowerCase();if(!di.has(p))continue;const b=lc({tag:p,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((f,g)=>(f[g]=h.getAttribute(g),f),{})||{}});if(b.key=h.getAttribute("data-hid")||void 0,b._d=po(b)||pi(b),a.elMap.has(b._d)){let f=1,g=b._d;for(;a.elMap.has(g);)g=`${b._d}:${f++}`;a.elMap.set(g,h)}else a.elMap.set(b._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(m,v,h){const p=`${m}:${v}`;a.sideEffects[p]=h,delete a.pendingSideEffects[p]}function u({id:m,$el:v,tag:h}){const p=h.tag.endsWith("Attrs");a.elMap.set(m,v),p||(h.textContent&&h.textContent!==v.textContent&&(v.textContent=h.textContent),h.innerHTML&&h.innerHTML!==v.innerHTML&&(v.innerHTML=h.innerHTML),c(m,"el",()=>{v?.remove(),a.elMap.delete(m)}));for(const b in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,b))continue;const f=h.props[b];if(b.startsWith("on")&&typeof f=="function"){const $=v?.dataset;if($&&$[`${b}fired`]){const w=b.slice(0,-5);f.call(v,new Event(w.substring(2)))}v.getAttribute(`data-${b}`)!==""&&((h.tag==="bodyAttrs"?r.defaultView:v).addEventListener(b.substring(2),f.bind(v)),v.setAttribute(`data-${b}`,""));continue}const g=`attr:${b}`;if(b==="class"){if(!f)continue;for(const $ of f)p&&c(m,`${g}:${$}`,()=>v.classList.remove($)),!v.classList.contains($)&&v.classList.add($)}else if(b==="style"){if(!f)continue;for(const[$,w]of f)c(m,`${g}:${$}`,()=>{v.style.removeProperty($)}),v.style.setProperty($,w)}else f!==!1&&f!==null&&(v.getAttribute(b)!==f&&v.setAttribute(b,f===!0?"":String(f)),p&&c(m,g,()=>v.removeAttribute(b)))}}const l=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},y=await s;for(const m of y){const{tag:v,shouldRender:h,id:p}=m;if(h){if(v.tag==="title"){r.title=v.textContent,c("title","",()=>r.title=a.title);continue}m.$el=m.$el||a.elMap.get(p),m.$el?u(m):di.has(v.tag)&&l.push(m)}}for(const m of l){const v=m.tag.tagPosition||"head";m.$el=r.createElement(m.tag.tag),u(m),d[v]=d[v]||r.createDocumentFragment(),d[v].appendChild(m.$el)}for(const m of y)await e.hooks.callHook("dom:renderTag",m,r,c);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose);for(const m in a.pendingSideEffects)a.pendingSideEffects[m]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:y}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function zu(e={}){const t=e.domOptions?.render||uc;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return Fu({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function Lu(e,t){let r=0;return()=>{const n=++r;t(()=>{r===n&&e()})}}const qt={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},qu={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},fc={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ve(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?Ve(e):`${Ve(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ve(e)} ${t}`}},charset:{}};function Ve(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.indexOf("-");return r===-1?t:qt.META.has(t.slice(0,r))||qt.OG.has(t.slice(0,r))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function dc(e){return Object.fromEntries(Object.entries(e).filter(([t,r])=>String(r)!=="false"&&t))}function ho(e){return Array.isArray(e)?e.map(ho):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,r])=>[Ve(t),ho(r)]))}function pc(e,t={}){const{entrySeparator:r="",keyValueSeparator:n="",wrapValue:o,resolve:i}=t;return Object.entries(e).map(([s,a])=>{if(i){const u=i({key:s,value:a});if(u!==void 0)return u}const c=typeof a=="object"?pc(a,t):typeof a=="number"?a.toString():typeof a=="string"&&o?`${o}${a.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:a;return`${s}${n}${c}`}).join(r)}function bi(e,t){const r=dc(t),n=Ve(e),o=hc(n);if(!zo.has(n))return[{[o]:n,...r}];const i=Object.fromEntries(Object.entries(r).map(([s,a])=>[`${e}${s==="url"?"":`${s[0].toUpperCase()}${s.slice(1)}`}`,a]));return Yr(i||{}).sort((s,a)=>(s[o]?.length||0)-(a[o]?.length||0))}function hc(e){if(fc[e]?.metaKey==="http-equiv"||qt.HTTP_EQUIV.has(e))return"http-equiv";const t=Ve(e),r=t.indexOf(":");return r===-1?"name":qt.OG.has(t.slice(0,r))?"property":"name"}function Du(e){return qu[e]||Ve(e)}function Vu(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:pc(ho(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:n})=>r===null?"":typeof r=="boolean"?n:void 0,...fc[t]?.unpack})}function Yr(e){const t=[],r={};for(const[o,i]of Object.entries(e)){if(Array.isArray(i)){if(o==="themeColor"){i.forEach(s=>{typeof s=="object"&&s!==null&&t.push({name:"theme-color",...s})});continue}for(const s of i)if(typeof s=="object"&&s!==null){const a=[],c=[];for(const[u,l]of Object.entries(s)){const d=`${o}${u==="url"?"":`:${u}`}`,y=Yr({[d]:l});(u==="url"?a:c).push(...y)}t.push(...a,...c)}else t.push(...typeof s=="string"?Yr({[o]:s}):bi(o,s));continue}if(typeof i=="object"&&i)if(qt.MEDIA.has(o)){const s=o.startsWith("twitter")?"twitter":"og",a=o.replace(/^(og|twitter)/,"").toLowerCase(),c=s==="twitter"?"name":"property";i.url&&t.push({[c]:`${s}:${a}`,content:i.url}),i.secureUrl&&t.push({[c]:`${s}:${a}:secure_url`,content:i.secureUrl});for(const[u,l]of Object.entries(i))u!=="url"&&u!=="secureUrl"&&t.push({[c]:`${s}:${a}:${u}`,content:l})}else zo.has(Ve(o))?t.push(...bi(o,i)):r[o]=dc(i);else r[o]=i}const n=Object.entries(r).map(([o,i])=>{if(o==="charset")return{charset:i===null?"_null":i};const s=hc(o),a=Du(o),c=i===null?"_null":typeof i=="object"?Vu(i,o):typeof i=="number"?i.toString():i;return s==="http-equiv"?{"http-equiv":a,content:c}:{[s]:a,content:c}});return[...t,...n].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const Uu={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(r=>r.tag!=="_flatMeta"?r:(t.push(Yr(r.props).map(n=>({...r,tag:"meta",props:n}))),!1)).filter(Boolean).concat(...t)}}},Hu=(e,t)=>zt(t)?be(t):t,mc="usehead";function Wu(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(mc,e)}}.install}function gc(){if(Wl()){const e=Bl(mc);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function yc(e,t={}){const r=t.head||gc();return r.ssr?r.push(e||{},t):Bu(r,e,t)}function Bu(e,t,r={}){const n=Ge(!1);let o;return Kl(()=>{const s=n.value?{}:Xr(t,Hu);o?o.patch(s):o=e.push(s,r)}),Io()&&(Gl(()=>{o.dispose()}),Jl(()=>{n.value=!0}),Xl(()=>{n.value=!1})),o}function Ku(e={},t={}){(t.head||gc()).use(Uu);const{title:n,titleTemplate:o,...i}=e;return yc({title:n,titleTemplate:o,_flatMeta:i},t)}function Gu(e={}){const t=zu({domOptions:{render:Lu(()=>uc(t),r=>setTimeout(r,0))},...e});return t.install=Wu(t),t}const Vr="default",mo="preflights",Ju="shortcuts",bc="imports",Xu={[bc]:-200,[mo]:-100,[Ju]:-10,[Vr]:0},vc=/[\\:]?[\s'"`;{}]+/g;function Yu(e){return e.split(vc)}const Qu={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Yu(e)}};function ae(e=[]){return Array.isArray(e)?e:[e]}function Ae(e){return Array.from(new Set(e))}function vi(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function le(e){return typeof e=="string"}class $c extends Set{_map=new Map;constructor(t){if(super(),t)for(const r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function An(e){return e instanceof $c}function Dt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function mt(e){const t=e.length;let r=-1,n,o="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="�";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}const Nn=mt;function Zu(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const ef=/^\[(.+?)~?="(.*)"\]$/,tf=/[\w\u00A0-\uFFFF%-?]/;function rf(e){return e.match(ef)}function go(e=""){return tf.test(e)}function nf(e){return typeof e=="function"?{match:e}:e}function $i(e){return e.length===3}function Ur(e){return e!=null}function of(){}class sf{_map=new Map;get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}}class af extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){const r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}}function Qr(e){return le(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function cf(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Qr(t)):[e]:[Qr(e)]}function lf(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function In(e){return e==null?"":lf(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Xt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function mn(e,t,r=!1){const n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];const i={...n};return Xt(n)&&Xt(o)&&Object.keys(o).forEach(s=>{Xt(n[s])&&Xt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=mn(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Hr(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?Hr(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Hr(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Hr(n):n;return r}return e}function uf(e){return le(e[0])}function ff(e){return le(e[0])}const Yt={};function df(e=["-",":"]){const t=e.join("|");return Yt[t]||(Yt[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Yt[t].lastIndex=0,Yt[t]}function pf(e,t=["-",":"],r=5){const n=df(t);let o,i=e.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(n,(u,l,d,y,m)=>{if(!t.includes(d))return u;o=!0,s.add(l+d);const v=m+l.length+d.length+1,h={length:u.length,items:[]};a.set(m,h);for(const p of[...y.matchAll(/\S+/g)]){const b=v+p.index;let f=a.get(b)?.items;f?a.delete(b):f=[{offset:b,length:p[0].length,className:p[0]}];for(const g of f)g.className=g.className==="~"?l:g.className.replace(/^(!?)(.*)/,`$1${l}${d}$2`),h.items.push(g)}return"$".repeat(u.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let u=0;for(const[l,d]of a)c+=e.slice(u,l),c+=d.items.map(y=>y.className).join(" "),u=l+d.length;c+=e.slice(u)}else{c=e;for(const[u,l]of a)c.overwrite(u,u+l.length,l.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function hf(e,t=["-",":"],r=5){const n=pf(e,t,r);return typeof e=="string"?n.expanded:e}const wi=new Set;function wc(e){wi.has(e)||(console.warn("[unocss]",e),wi.add(e))}function kc(e){return ae(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const ki="_uno_resolved";async function mf(e){let t=typeof e=="function"?await e():await e;if(ki in t)return t;t={...t},Object.defineProperty(t,ki,{value:!0,enumerable:!1});const r=t.shortcuts?kc(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&t.prefix&&(i.prefix=ae(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function _c(e){const t=await mf(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(ae).flatMap(_c))).flat();return[t,...r]}function gf(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const o=[],i=[],s=[];for(const c of e){if(c.pipeline===!1){n=!0;break}else c.pipeline?.include&&t.push(c.pipeline.include),c.pipeline?.exclude&&r.push(c.pipeline.exclude);c.filesystem&&o.push(c.filesystem),c.inline&&i.push(c.inline),c.plain&&s.push(c.plain)}const a={pipeline:n?!1:{include:Ae(xi(...t)),exclude:Ae(xi(...r))}};return o.length&&(a.filesystem=Ae(o.flat())),i.length&&(a.inline=Ae(i.flat())),s.length&&(a.plain=Ae(s.flat())),a}async function _i(e={},t={}){const r=Object.assign({},t,e),n=vi((await Promise.all((r.presets||[]).flatMap(ae).flatMap(_c))).flat(),(w,k)=>w.name===k.name),o=[...n.filter(w=>w.enforce==="pre"),...n.filter(w=>!w.enforce),...n.filter(w=>w.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Xu,...i.map(w=>w.layers));function c(w){return Ae(i.flatMap(k=>ae(k[w]||[])))}const u=c("extractors");let l=s.find(w=>w.extractorDefault!==void 0)?.extractorDefault;l===void 0&&(l=Qu),l&&!u.includes(l)&&u.unshift(l),u.sort((w,k)=>(w.order||0)-(k.order||0));const d=c("rules"),y={},m=d.length,v=d.filter(w=>uf(w)?(ae(w[2]?.prefix||"").forEach(_=>{y[_+w[0]]=w}),!1):!0).reverse(),h={templates:Ae(i.flatMap(w=>ae(w.autocomplete?.templates))),extractors:i.flatMap(w=>ae(w.autocomplete?.extractors)).sort((w,k)=>(w.order||0)-(k.order||0)),shorthands:bf(i.map(w=>w.autocomplete?.shorthands||{}))};let p=c("separators");p.length||(p=[":","-"]);const b=c("content"),f=gf(b),g={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:yf(i.map(w=>w.theme)),rules:d,rulesSize:m,rulesDynamic:v,rulesStaticMap:y,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:h,variants:c("variants").map(nf).sort((w,k)=>(w.order||0)-(k.order||0)),shortcuts:kc(c("shortcuts")).reverse(),extractors:u,safelist:c("safelist"),separators:p,details:r.details??r.envMode==="dev",content:f,transformers:vi(c("transformers"),(w,k)=>w.name===k.name)},$=c("extendTheme");for(const w of $)g.theme=w(g.theme,g)||g.theme;for(const w of i)w?.configResolved?.(g);return g}function yf(e){return e.map(t=>t?Hr(t):{}).reduce((t,r)=>mn(t,r),{})}function bf(e){return e.reduce((t,r)=>{const n={};for(const o in r){const i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function xi(...e){return e.flatMap(vf)}function vf(e){return Array.isArray(e)?e:e?[e]:[]}const $f="66.3.2",ve={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class Lo{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=$f;events=Zu();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new Lo(t,r);return n.config=await _i(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await _i(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const s=await i.extract?.(o);if(s)if(An(s)&&An(n))for(const a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(const a of s)n.add(a)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:ve,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const o=this.config.preprocess.reduce((c,u)=>u(c)??c,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(n,null);return}const s=async c=>{const u=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(u.variants=[...c[3]]);const l=await this.expandShortcut(u.currentSelector,u);return l?await this.stringifyShortcuts(u.variantMatch,u,l[0],l[1]):(await this.parseUtil(u.variantMatch,u))?.map(y=>this.stringifyUtil(y,u)).filter(Ur)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,u=le(t)?await this.applyExtractors(t,n,c?new $c:new Set):Array.isArray(t)?new Set(t):t;if(s){const _={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(_):E).forEach(E=>{const P=E.trim();P&&!u.has(P)&&u.add(P)})}const l=a?"":`
3
- `,d=new Set([Vr]),y=c?new Map:new Set,m=new Map;let v={};const h=Array.from(u).map(async _=>{if(y.has(_))return;const E=await this.parseToken(_);if(E!=null){y instanceof Map?y.set(_,{data:E,count:An(u)?u.getCount(_):-1}):y.add(_);for(const P of E){const M=P[3]||"",L=P[4]?.layer;m.has(M)||m.set(M,[]),m.get(M).push(P),L&&d.add(L)}}});await Promise.all(h),await(async()=>{if(!i)return;const _={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:P=mo})=>{d.add(P),E.add(P)}),v=Object.fromEntries(await Promise.all(Array.from(E).map(async P=>{const L=(await Promise.all(this.config.preflights.filter(V=>(V.layer||mo)===P).map(async V=>await V.getCSS(_)))).filter(Boolean).join(l);return[P,L]})))})();const p=this.config.sortLayers(Array.from(d).sort((_,E)=>(this.config.layers[_]??0)-(this.config.layers[E]??0)||_.localeCompare(E))),b={},f=this.config.outputToCssLayers,g=_=>{let E=_;return typeof f=="object"&&(E=f.cssLayerName?.(_)),E===null?null:E??_},$=(_=Vr)=>{if(b[_])return b[_];let E=Array.from(m).sort((L,V)=>(this.parentOrders.get(L[0])??0)-(this.parentOrders.get(V[0])??0)||L[0]?.localeCompare(V[0]||"")||0).map(([L,V])=>{const F=V.length,D=V.filter(G=>(G[4]?.layer||Vr)===_).sort((G,se)=>G[0]-se[0]||(G[4]?.sort||0)-(se[4]?.sort||0)||G[5]?.currentSelector?.localeCompare(se[5]?.currentSelector??"")||G[1]?.localeCompare(se[1]||"")||G[2]?.localeCompare(se[2]||"")||0).map(([,G,se,,z,,O])=>[[[(G&&_f(G,o))??"",z?.sort??0]],se,!!(O??z?.noMerge)]);if(!D.length)return;const K=D.reverse().map(([G,se,z],O)=>{if(!z&&this.config.mergeSelectors)for(let R=O+1;R<F;R++){const x=D[R];if(x&&!x[2]&&(G&&x[0]||G==null&&x[0]==null)&&x[1]===se)return G&&x[0]&&x[0].push(...G),null}const I=G?Ae(G.sort((R,x)=>R[1]-x[1]||R[0]?.localeCompare(x[0]||"")||0).map(R=>R[0]).filter(Boolean)):[];return I.length?`${I.join(`,${l}`)}{${se}}`:se}).filter(Boolean),J=Array.from(new Set(K)).reverse().join(l);if(!L)return J;const ie=L.split(" $$ ");return`${ie.join("{")}{${l}${J}${l}${"}".repeat(ie.length)}`}).filter(Boolean).join(l);i&&(E=[v[_],E].filter(Boolean).join(l));let P;f&&E&&(P=g(_),P!==null&&(E=`@layer ${P}{${l}${E}${l}}`));const M=a?"":`/* layer: ${_}${P&&P!==_?`, alias: ${P}`:""} */${l}`;return b[_]=E?M+E:""},w=(_=p,E)=>{const P=_.filter(M=>!E?.includes(M));return[f&&P.length>0?`@layer ${P.map(g).filter(Ur).join(", ")};`:void 0,...P.map(M=>$(M)||"")].filter(Boolean).join(l)};return{get css(){return w()},layers:p,matched:y,getLayers:w,getLayer:$,setLayer:async(_,E)=>{const P=await E($(_));return b[_]=P,P}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0;const[,,a,c]=i;for(;s;){s=!1;const u=i[1];for(const l of this.config.variants){if(!l.multiPass&&c.has(l))continue;let d=await l.match(u,n);if(d){if(le(d)){if(d===u)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(l.multiPass)throw new Error("multiPass can not be used together with array return variants");const y=d.map(m=>{const v=m.matcher??u,h=[m,...a],p=new Set(c);return p.add(l),[i[0],v,h,p]});return(await Promise.all(y.map(m=>o(m)))).flat()}}i[1]=d.matcher??u,a.unshift(d),c.add(l),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((u,l)=>(u.order||0)-(l.order||0)).reduceRight((u,l)=>d=>{const y=l.body?.(d.entries)||d.entries,m=Array.isArray(l.parent)?l.parent:[l.parent,void 0],v=l.selector?.(d.selector,y);return(l.handle??xf)({...d,entries:y,selector:v||d.selector,parent:m[0]||d.parent,parentOrder:m[1]||d.parentOrder,layer:l.layer||d.layer,sort:l.sort||d.sort},u)},u=>u)({prefix:"",selector:Sc(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(c);return c}constructCustomCSS(t,r,n){const o=Qr(r);if(le(o))return o;const{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),c=`${i}{${In(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,o){const i=le(t)?await this.matchVariants(t):[t],s=async([c,u,l])=>{this.config.details&&(r.rules=r.rules??[]);const d={...r,variantHandlers:l},y=this.config.rulesStaticMap[u];if(y&&y[1]&&(n||!y[2]?.internal))return this.resolveCSSResult(c,y[1],y,d);for(const m of this.config.rulesDynamic){const[v,h,p]=m;if(p?.internal&&!n)continue;let b=u;if(p?.prefix){const w=ae(p.prefix);if(o){const k=ae(o);if(!w.some(_=>k.includes(_)))continue}else{const k=w.find(_=>u.startsWith(_));if(k==null)continue;b=u.slice(k.length)}}const f=b.match(v);if(!f)continue;let g=await h(f,d);if(!g)continue;if(typeof g!="string")if(Symbol.asyncIterator in g){const w=[];for await(const k of g)k&&w.push(k);g=w}else Symbol.iterator in g&&!Array.isArray(g)&&(g=Array.from(g).filter(Ur));const $=this.resolveCSSResult(c,g,m,d);if($)return $}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}resolveCSSResult=(t,r,n,o)=>{const i=cf(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);const s=o.generator.config.rules.indexOf(n),a=n[2];return i.map(c=>{if(le(c))return[s,c,a];let u=o.variantHandlers,l=a;for(const d of c)d[0]===ve.variants?typeof d[1]=="function"?u=d[1](u)||u:u=[...ae(d[1]),...u]:d[0]===ve.parent?u=[{parent:d[1]},...u]:d[0]===ve.selector?u=[{selector:d[1]},...u]:d[0]===ve.layer?u=[{layer:d[1]},...u]:d[0]===ve.sort?l={...l,sort:d[1]}:d[0]===ve.noMerge&&(l={...l,noMerge:d[1]});return[s,t,c,l,u]})}};stringifyUtil(t,r){if(!t)return;if($i(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(t),u=In(o);if(!u)return;const{layer:l,sort:d,...y}=t[3]??{},m={...y,layer:s??l,sort:a??d};return[t[0],n,u,i,m,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;const o=this.config.details?u=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(u)}:of;let i,s,a,c;for(const u of this.config.shortcuts){let l=t;if(u[2]?.prefix){const y=ae(u[2].prefix).find(m=>t.startsWith(m));if(y==null)continue;l=t.slice(y.length)}if(ff(u)){if(u[0]===l){i=i||u[2],s=u[1],o(u);break}}else{const d=l.match(u[0]);if(d&&(s=u[1](d,r)),s){i=i||u[2],o(u);break}}}if(s&&(a=Ae(ae(s).filter(le).map(u=>hf(u.trim()).split(/\s+/g)).flat()),c=ae(s).filter(u=>!le(u)).map(u=>({handles:[],value:u}))),!s){const u=le(t)?await this.matchVariants(t):[t];for(const l of u){const[d,y,m]=l;if(d!==y){const v=await this.expandShortcut(y,r,n-1);v&&(a=v[0].filter(le).map(h=>d.replace(y,h)),c=v[0].filter(h=>!le(h)).map(h=>({handles:[...h.handles,...m],value:h.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(ae(a).map(async u=>(await this.expandShortcut(u,r,n-1))?.[0]||[u])),c].flat(2).filter(u=>!!u),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){const i=new af,s=(await Promise.all(Ae(n).map(async l=>{const d=le(l)?await this.parseUtil(l,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Qr(l.value),void 0,l.handles]];return!d&&this.config.warn&&wc(`unmatched utility "${l}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((l,d)=>l[0]-d[0]),[a,,c]=t,u=[];for(const l of s){if($i(l)){u.push([l[0],void 0,l[1],void 0,l[2],r,void 0]);continue}const{selector:d,entries:y,parent:m,sort:v,noMerge:h,layer:p}=this.applyVariants(l,[...l[4],...c],a);i.getFallback(p??o.layer,new sf).getFallback(d,m,[[],l[0]])[0].push([y,!!(h??l[3]?.noMerge),v??0])}return u.concat(i.flatMap((l,d)=>l.map(([y,m],v,h)=>{const p=(f,g,$)=>{const w=Math.max(...$.map(_=>_[1])),k=$.map(_=>_[0]);return(f?[k.flat(1)]:k).map(_=>{const E=In(_);if(E)return[m,v,E,h,{...o,noMerge:g,sort:w,layer:d},r,void 0]})};return[[y.filter(([,f])=>f).map(([f,,g])=>[f,g]),!0],[y.filter(([,f])=>!f).map(([f,,g])=>[f,g]),!1]].map(([f,g])=>[...p(!1,g,f.filter(([$])=>$.some(w=>w[0]===ve.shortcutsNoMerge))),...p(!0,g,f.filter(([$])=>$.every(w=>w[0]!==ve.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):le(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):le(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function wf(e,t){return await Lo.create(e,t)}const xc=/\s\$\$\s+/g;function kf(e){return xc.test(e)}function _f(e,t){return kf(e)?e.replace(xc,t?` ${t} `:" "):t?`${t} ${e}`:e}const Si=/^\[(.+?)(~?=)"(.*)"\]$/;function Sc(e){return Si.test(e)?e.replace(Si,(t,r,n,o)=>`[${Nn(r)}${n}"${Nn(o)}"]`):`.${Nn(e)}`}function xf(e,t){return t(e)}var Sf={};function Ef(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{const{name:i,weights:s,italic:a}=o,c=i.toLowerCase().replace(/\s/g,"-");if(!s?.length)return`${c}${a?":i":""}`;let u=s.map(d=>d.toString());return!u.some(d=>d.endsWith("i"))&&a&&(u=u.map(d=>d+="i")),`${c}:${u.join(",")}`});return`${t}/css?family=${n.join("|")}&display=swap`}}}const Cf=Ef("bunny","https://fonts.bunny.net");function jf(e,t){return{name:e,getImportUrl(r){const n=i=>{const s=i.map(c=>c[0]),a=i.map(c=>c[1]);return`${s.join(";")};${a.join(";")}`},o=r.map(i=>{let s=i.name.replace(/\s+/g,"+");return i.weights?.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(a=>[`0,${a}`,`1,${a}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const Pf=jf("coollabs","https://api.fonts.coollabs.io"),Of=Rf("fontshare","https://api.fontshare.com");function Rf(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return o.weights?.length?i+=`@${o.weights.flatMap(s=>o.italic?Number(s)+1:s).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${n}&display=swap`}}}function Tf(e,t){const r=new Map,n=new Map;return{name:e,async getPreflight(o){return(await Promise.all(o.map(async s=>{const a=[],c=s.name.toLowerCase().replace(/\s+/g,"-");let u=r.get(c);if(!u){const p=`https://api.fontsource.org/v1/fonts/${c}`;try{u=await(await nt(async()=>{const{$fetch:b}=await Promise.resolve().then(()=>vo);return{$fetch:b}},void 0,import.meta.url)).$fetch(p),r.set(c,u)}catch{throw new Error(`Failed to fetch font: ${s.name}`)}}const{weights:l,unicodeRange:d,variants:y,family:m}=u,v=u.subsets.filter(p=>s.subsets?s.subsets.includes(p):!0),h=s.italic?"italic":"normal";if(u.variable&&!s.preferStatic){let p=n.get(c);const b=`https://api.fontsource.org/v1/variable/${c}`;try{p=await(await nt(async()=>{const{$fetch:g}=await Promise.resolve().then(()=>vo);return{$fetch:g}},void 0,import.meta.url)).$fetch(b),n.set(c,p)}catch{throw new Error(`Failed to fetch font variable: ${s.name}`)}const f=mn(p.axes,s.variable??{});for(const g of v)if(d[g]){const $=`${t}/fontsource/fonts/${u.id}:vf@latest/${g}-wght-${h}.woff2`,w={family:m,display:"swap",style:h,weight:400,src:[{url:$,format:"woff2-variations"}],variable:{wght:f.wght??void 0,wdth:f.wdth??void 0,slnt:f.slnt??void 0},unicodeRange:d[g],comment:`${u.id}-${g}-wght-normal`};a.push(Mn(w))}else Object.entries(d).filter(([$])=>!u.subsets.includes($)).forEach(([$,w])=>{const k=`${t}/fontsource/fonts/${u.id}:vf@latest/${$.slice(1,-1)}-wght-${h}.woff2`,_={family:m,display:"swap",style:h,weight:400,src:[{url:k,format:"woff2-variations"}],variable:{wght:f.wght??void 0,wdth:f.wdth??void 0,slnt:f.slnt??void 0},unicodeRange:w,comment:`${u.id}-${$}-wght-normal`};a.push(Mn(_))})}else{const p=s.weights&&s.weights.length>0?s.weights:l;for(const b of v)for(const f of p){const g=y[f][h][b].url,$={family:m,display:"swap",style:h,weight:Number(f),src:[{url:g.woff2,format:"woff2"}],unicodeRange:d[b],comment:`${u.id}-${b}-${f}-${h}`};a.push(Mn($))}}return a}))).flat().join(`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./PageView-Dc4sE-39.js","./sucrase-DTaNgZ3p.js","./compiler-sfc-CHbDt8t7.js","./RootView-CjsO36KD.js","./NotFoundView-XdHUbcDP.js"])))=>i.map(i=>d[i]);
2
+ import{toValue as be,isRef as zt,hasInjectionContext as Bl,inject as Kl,ref as Ge,watchEffect as Gl,getCurrentInstance as Io,onBeforeUnmount as Jl,onDeactivated as Xl,onActivated as Yl,reactive as Xe,unref as sc,getCurrentScope as Ql,onScopeDispose as Zl,onMounted as Mo,nextTick as Fo,watch as Fe,computed as pe,shallowRef as Je,readonly as eu,isReactive as tu,defineComponent as ac,onUnmounted as ru,h as ai,resolveComponent as nu,createBlock as ci,openBlock as li,withCtx as ou,resolveDynamicComponent as iu,defineAsyncComponent as su,createApp as au}from"vue";import{g as hn,r as cu,t as ui}from"./sucrase-DTaNgZ3p.js";import{useRoute as lu,createRouter as uu,createWebHistory as fu}from"vue-router";import{p as du,c as pu,a as hu,b as mu}from"./compiler-sfc-CHbDt8t7.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();const gu="modulepreload",yu=function(e,t){return new URL(e,t).href},fi={},ot=function(t,r,n){let o=Promise.resolve();if(r&&r.length>0){let u=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(y=>({status:"fulfilled",value:y}),y=>({status:"rejected",reason:y}))))};const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),c=a?.nonce||a?.getAttribute("nonce");o=u(r.map(l=>{if(l=yu(l,n),l in fi)return;fi[l]=!0;const d=l.endsWith(".css"),y=d?'[rel="stylesheet"]':"";if(!!n)for(let h=s.length-1;h>=0;h--){const p=s[h];if(p.href===l&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${y}`))return;const v=document.createElement("link");if(v.rel=d?"stylesheet":gu,d||(v.as="script"),v.crossOrigin="",v.href=l,c&&v.setAttribute("nonce",c),document.head.appendChild(v),d)return new Promise((h,p)=>{v.addEventListener("load",h),v.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function fo(e,t={},r){for(const n in e){const o=e[n],i=r?`${r}:${n}`:n;typeof o=="object"&&o!==null?fo(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const bu={run:e=>e()},vu=()=>bu,cc=typeof console.createTask<"u"?console.createTask:vu;function $u(e,t){const r=t.shift(),n=cc(r);return e.reduce((o,i)=>o.then(()=>n.run(()=>i(...t))),Promise.resolve())}function wu(e,t){const r=t.shift(),n=cc(r);return Promise.all(e.map(o=>n.run(()=>o(...t))))}function Tn(e,t){for(const r of[...e])r(t)}class ku{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!n.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,o=(...i)=>(typeof n=="function"&&n(),n=void 0,o=void 0,r(...i));return n=this.hook(t,o),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const o of n)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=fo(t),n=Object.keys(r).map(o=>this.hook(o,r[o]));return()=>{for(const o of n.splice(0,n.length))o()}}removeHooks(t){const r=fo(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith($u,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(wu,t,...r)}callHookWith(t,r,...n){const o=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&Tn(this._before,o);const i=t(r in this._hooks?[...this._hooks[r]]:[],n);return i instanceof Promise?i.finally(()=>{this._after&&o&&Tn(this._after,o)}):(this._after&&o&&Tn(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function _u(){return new ku}const xu=new Set(["link","style","script","noscript"]),Su=new Set(["title","titleTemplate","script","style","noscript"]),di=new Set(["base","meta","link","style","script","noscript"]),Eu=new Set(["title","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Cu=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ju=new Set(["key","tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"]),Pu=new Set(["templateParams","htmlAttrs","bodyAttrs"]),zo=new Set(["theme-color","google-site-verification","og","article","book","profile","twitter","author"]),Ou=["name","property","http-equiv"],Ru=new Set(["viewport","description","keywords","robots"]);function lc(e){const t=e.split(":");return t.length?zo.has(t[1]):!1}function po(e){const{props:t,tag:r}=e;if(Cu.has(r))return r;if(r==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(e.tag==="meta"){for(const n of Ou)if(t[n]!==void 0){const o=t[n],i=o.includes(":"),s=Ru.has(o),c=!(i||s)&&e.key?`:key:${e.key}`:"";return`${r}:${o}${c}`}}if(e.key)return`${r}:key:${e.key}`;if(t.id)return`${r}:id:${t.id}`;if(Su.has(r)){const n=e.textContent||e.innerHTML;if(n)return`${r}:content:${n}`}}function pi(e){const t=e._h||e._d;if(t)return t;const r=e.textContent||e.innerHTML;return r||`${e.tag}:${Object.entries(e.props).map(([n,o])=>`${n}:${String(o)}`).join(",")}`}function Xr(e,t,r){typeof e==="function"&&(!r||r!=="titleTemplate"&&!(r[0]==="o"&&r[1]==="n"))&&(e=e());let o;if(t&&(o=t(r,e)),Array.isArray(o))return o.map(i=>Xr(i,t));if(o?.constructor===Object){const i={};for(const s of Object.keys(o))i[s]=Xr(o[s],t,s);return i}return o}function Tu(e,t){const r=e==="style"?new Map:new Set;function n(o){const i=o.trim();if(i)if(e==="style"){const[s,...a]=i.split(":").map(c=>c.trim());s&&a.length&&r.set(s,a.join(":"))}else i.split(" ").filter(Boolean).forEach(s=>r.add(s))}return typeof t=="string"?e==="style"?t.split(";").forEach(n):n(t):Array.isArray(t)?t.forEach(o=>n(o)):t&&typeof t=="object"&&Object.entries(t).forEach(([o,i])=>{i&&i!=="false"&&(e==="style"?r.set(o.trim(),i):n(o))}),r}function uc(e,t){return e.props=e.props||{},t&&Object.entries(t).forEach(([r,n])=>{if(n===null){e.props[r]=null;return}if(r==="class"||r==="style"){e.props[r]=Tu(r,n);return}if(ju.has(r)){if(["textContent","innerHTML"].includes(r)&&typeof n=="object"){let s=t.type;if(t.type||(s="application/json"),!s?.endsWith("json")&&s!=="speculationrules")return;t.type=s,e.props.type=s,e[r]=JSON.stringify(n)}else e[r]=n;return}const o=String(n),i=r.startsWith("data-");o==="true"||o===""?e.props[r]=i?o:!0:!n&&i&&o==="false"?e.props[r]="false":n!==void 0&&(e.props[r]=n)}),e}function Au(e,t){const r=typeof t=="object"&&typeof t!="function"?t:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},n=uc({tag:e,props:{}},r);return n.key&&xu.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)?n.props.content.map(o=>({...n,props:{...n.props,content:o}})):n}function Nu(e,t){if(!e)return[];typeof e=="function"&&(e=e());const r=(o,i)=>{for(let s=0;s<t.length;s++)i=t[s](o,i);return i};e=r(void 0,e);const n=[];return e=Xr(e,r),Object.entries(e||{}).forEach(([o,i])=>{if(i!==void 0)for(const s of Array.isArray(i)?i:[i])n.push(Au(o,s))}),n.flat()}const hi=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,mi={base:-10,title:10},Iu={critical:-8,high:-1,low:2},gi={meta:{"content-security-policy":-30,charset:-20,viewport:-15},link:{preconnect:20,stylesheet:60,preload:70,modulepreload:70,prefetch:90,"dns-prefetch":90,prerender:90},script:{async:30,defer:80,sync:50},style:{imported:40,sync:60}},Mu=/@import/,xt=e=>e===""||e===!0;function Fu(e,t){if(typeof t.tagPriority=="number")return t.tagPriority;let r=100;const n=Iu[t.tagPriority]||0,o=e.resolvedOptions.disableCapoSorting?{link:{},script:{},style:{}}:gi;if(t.tag in mi)r=mi[t.tag];else if(t.tag==="meta"){const i=t.props["http-equiv"]==="content-security-policy"?"content-security-policy":t.props.charset?"charset":t.props.name==="viewport"?"viewport":null;i&&(r=gi.meta[i])}else t.tag==="link"&&t.props.rel?r=o.link[t.props.rel]:t.tag==="script"?xt(t.props.async)?r=o.script.async:t.props.src&&!xt(t.props.defer)&&!xt(t.props.async)&&t.props.type!=="module"&&!t.props.type?.endsWith("json")?r=o.script.sync:xt(t.props.defer)&&t.props.src&&!xt(t.props.async)&&(r=o.script.defer):t.tag==="style"&&(r=t.innerHTML&&Mu.test(t.innerHTML)?o.style.imported:o.style.sync);return(r||100)+n}function yi(e,t){const r=typeof t=="function"?t(e):t,n=r.key||String(e.plugins.size+1);e.plugins.get(n)||(e.plugins.set(n,r),e.hooks.addHooks(r.hooks||{}))}function zu(e={}){const t=_u();t.addHooks(e.hooks||{});const r=!e.document,n=new Map,o=new Map,i=[],s={_entryCount:1,plugins:o,dirty:!1,resolvedOptions:e,hooks:t,ssr:r,entries:n,headEntries(){return[...n.values()]},use:a=>yi(s,a),push(a,c){const u={...c||{}};delete u.head;const l=u._index??s._entryCount++,d={_i:l,input:a,options:u},y={_poll(m=!1){s.dirty=!0,!m&&i.push(l),t.callHook("entries:updated",s)},dispose(){n.delete(l)&&y._poll(!0)},patch(m){(!u.mode||u.mode==="server"&&r||u.mode==="client"&&!r)&&(d.input=m,n.set(l,d),y._poll())}};return y.patch(a),y},async resolveTags(){const a={tagMap:new Map,tags:[],entries:[...s.entries.values()]};for(await t.callHook("entries:resolve",a);i.length;){const y=i.shift(),m=n.get(y);if(m){const v={tags:Nu(m.input,e.propResolvers||[]).map(h=>Object.assign(h,m.options)),entry:m};await t.callHook("entries:normalize",v),m._tags=v.tags.map((h,p)=>(h._w=Fu(s,h),h._p=(m._i<<10)+p,h._d=po(h),h))}}let c=!1;a.entries.flatMap(y=>(y._tags||[]).map(m=>({...m,props:{...m.props}}))).sort(hi).reduce((y,m)=>{const v=String(m._d||m._p);if(!y.has(v))return y.set(v,m);const h=y.get(v);if((m?.tagDuplicateStrategy||(Pu.has(m.tag)?"merge":null)||(m.key&&m.key===h.key?"merge":null))==="merge"){const b={...h.props};Object.entries(m.props).forEach(([f,g])=>b[f]=f==="style"?new Map([...h.props.style||new Map,...g]):f==="class"?new Set([...h.props.class||new Set,...g]):g),y.set(v,{...m,props:b})}else m._p>>10===h._p>>10&&m.tag==="meta"&&lc(v)?(y.set(v,Object.assign([...Array.isArray(h)?h:[h],m],m)),c=!0):(m._w===h._w?m._p>h._p:m?._w<h?._w)&&y.set(v,m);return y},a.tagMap);const u=a.tagMap.get("title"),l=a.tagMap.get("titleTemplate");if(s._title=u?.textContent,l){const y=l?.textContent;if(s._titleTemplate=y,y){let m=typeof y=="function"?y(u?.textContent):y;typeof m=="string"&&!s.plugins.has("template-params")&&(m=m.replace("%s",u?.textContent||"")),u?m===null?a.tagMap.delete("title"):a.tagMap.set("title",{...u,textContent:m}):(l.tag="title",l.textContent=m)}}a.tags=Array.from(a.tagMap.values()),c&&(a.tags=a.tags.flat().sort(hi)),await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a);const d=[];for(const y of a.tags){const{innerHTML:m,tag:v,props:h}=y;if(Eu.has(v)&&!(Object.keys(h).length===0&&!y.innerHTML&&!y.textContent)&&!(v==="meta"&&!h.content&&!h["http-equiv"]&&!h.charset)){if(v==="script"&&m){if(h.type?.endsWith("json")){const p=typeof m=="string"?m:JSON.stringify(m);y.innerHTML=p.replace(/</g,"\\u003C")}else typeof m=="string"&&(y.innerHTML=m.replace(new RegExp(`</${v}`,"g"),`<\\/${v}`));y._d=po(y)}d.push(y)}}return d}};return(e?.plugins||[]).forEach(a=>yi(s,a)),s.hooks.callHook("init",s),e.init?.forEach(a=>a&&s.push(a)),s}async function fc(e,t={}){const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const n={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{const i=new Map,s=new Promise(m=>{e.resolveTags().then(v=>{m(v.map(h=>{const p=i.get(h._d)||0,b={tag:h,id:(p?`${h._d}:${p}`:h._d)||pi(h),shouldRender:!0};return h._d&&lc(h._d)&&i.set(h._d,p+1),b}))})});let a=e._dom;if(!a){a={title:r.title,elMap:new Map().set("htmlAttrs",r.documentElement).set("bodyAttrs",r.body)};for(const m of["body","head"]){const v=r[m]?.children;for(const h of v){const p=h.tagName.toLowerCase();if(!di.has(p))continue;const b=uc({tag:p,props:{}},{innerHTML:h.innerHTML,...h.getAttributeNames().reduce((f,g)=>(f[g]=h.getAttribute(g),f),{})||{}});if(b.key=h.getAttribute("data-hid")||void 0,b._d=po(b)||pi(b),a.elMap.has(b._d)){let f=1,g=b._d;for(;a.elMap.has(g);)g=`${b._d}:${f++}`;a.elMap.set(g,h)}else a.elMap.set(b._d,h)}}}a.pendingSideEffects={...a.sideEffects},a.sideEffects={};function c(m,v,h){const p=`${m}:${v}`;a.sideEffects[p]=h,delete a.pendingSideEffects[p]}function u({id:m,$el:v,tag:h}){const p=h.tag.endsWith("Attrs");a.elMap.set(m,v),p||(h.textContent&&h.textContent!==v.textContent&&(v.textContent=h.textContent),h.innerHTML&&h.innerHTML!==v.innerHTML&&(v.innerHTML=h.innerHTML),c(m,"el",()=>{v?.remove(),a.elMap.delete(m)}));for(const b in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,b))continue;const f=h.props[b];if(b.startsWith("on")&&typeof f=="function"){const $=v?.dataset;if($&&$[`${b}fired`]){const w=b.slice(0,-5);f.call(v,new Event(w.substring(2)))}v.getAttribute(`data-${b}`)!==""&&((h.tag==="bodyAttrs"?r.defaultView:v).addEventListener(b.substring(2),f.bind(v)),v.setAttribute(`data-${b}`,""));continue}const g=`attr:${b}`;if(b==="class"){if(!f)continue;for(const $ of f)p&&c(m,`${g}:${$}`,()=>v.classList.remove($)),!v.classList.contains($)&&v.classList.add($)}else if(b==="style"){if(!f)continue;for(const[$,w]of f)c(m,`${g}:${$}`,()=>{v.style.removeProperty($)}),v.style.setProperty($,w)}else f!==!1&&f!==null&&(v.getAttribute(b)!==f&&v.setAttribute(b,f===!0?"":String(f)),p&&c(m,g,()=>v.removeAttribute(b)))}}const l=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0},y=await s;for(const m of y){const{tag:v,shouldRender:h,id:p}=m;if(h){if(v.tag==="title"){r.title=v.textContent,c("title","",()=>r.title=a.title);continue}m.$el=m.$el||a.elMap.get(p),m.$el?u(m):di.has(v.tag)&&l.push(m)}}for(const m of l){const v=m.tag.tagPosition||"head";m.$el=r.createElement(m.tag.tag),u(m),d[v]=d[v]||r.createDocumentFragment(),d[v].appendChild(m.$el)}for(const m of y)await e.hooks.callHook("dom:renderTag",m,r,c);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose);for(const m in a.pendingSideEffects)a.pendingSideEffects[m]();e._dom=a,await e.hooks.callHook("dom:rendered",{renders:y}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Lu(e={}){const t=e.domOptions?.render||fc;e.document=e.document||(typeof window<"u"?document:void 0);const r=e.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return zu({...e,plugins:[...e.plugins||[],{key:"client",hooks:{"entries:updated":t}}],init:[r?JSON.parse(r):!1,...e.init||[]]})}function qu(e,t){let r=0;return()=>{const n=++r;t(()=>{r===n&&e()})}}const qt={META:new Set(["twitter"]),OG:new Set(["og","book","article","profile","fb"]),MEDIA:new Set(["ogImage","ogVideo","ogAudio","twitterImage"]),HTTP_EQUIV:new Set(["contentType","defaultStyle","xUaCompatible"])},Du={articleExpirationTime:"article:expiration_time",articleModifiedTime:"article:modified_time",articlePublishedTime:"article:published_time",bookReleaseDate:"book:release_date",fbAppId:"fb:app_id",ogAudioSecureUrl:"og:audio:secure_url",ogAudioUrl:"og:audio",ogImageSecureUrl:"og:image:secure_url",ogImageUrl:"og:image",ogSiteName:"og:site_name",ogVideoSecureUrl:"og:video:secure_url",ogVideoUrl:"og:video",profileFirstName:"profile:first_name",profileLastName:"profile:last_name",profileUsername:"profile:username",msapplicationConfig:"msapplication-Config",msapplicationTileColor:"msapplication-TileColor",msapplicationTileImage:"msapplication-TileImage"},dc={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${Ue(e)}=${t}`}},refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve:({key:e,value:t})=>e==="seconds"?`${t}`:void 0}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>typeof t=="boolean"?Ue(e):`${Ue(e)}:${t}`}},contentSecurityPolicy:{metaKey:"http-equiv",unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${Ue(e)} ${t}`}},charset:{}};function Ue(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),r=t.indexOf("-");return r===-1?t:qt.META.has(t.slice(0,r))||qt.OG.has(t.slice(0,r))?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function pc(e){return Object.fromEntries(Object.entries(e).filter(([t,r])=>String(r)!=="false"&&t))}function ho(e){return Array.isArray(e)?e.map(ho):!e||typeof e!="object"?e:Object.fromEntries(Object.entries(e).map(([t,r])=>[Ue(t),ho(r)]))}function hc(e,t={}){const{entrySeparator:r="",keyValueSeparator:n="",wrapValue:o,resolve:i}=t;return Object.entries(e).map(([s,a])=>{if(i){const u=i({key:s,value:a});if(u!==void 0)return u}const c=typeof a=="object"?hc(a,t):typeof a=="number"?a.toString():typeof a=="string"&&o?`${o}${a.replace(new RegExp(o,"g"),`\\${o}`)}${o}`:a;return`${s}${n}${c}`}).join(r)}function bi(e,t){const r=pc(t),n=Ue(e),o=mc(n);if(!zo.has(n))return[{[o]:n,...r}];const i=Object.fromEntries(Object.entries(r).map(([s,a])=>[`${e}${s==="url"?"":`${s[0].toUpperCase()}${s.slice(1)}`}`,a]));return Yr(i||{}).sort((s,a)=>(s[o]?.length||0)-(a[o]?.length||0))}function mc(e){if(dc[e]?.metaKey==="http-equiv"||qt.HTTP_EQUIV.has(e))return"http-equiv";const t=Ue(e),r=t.indexOf(":");return r===-1?"name":qt.OG.has(t.slice(0,r))?"property":"name"}function Vu(e){return Du[e]||Ue(e)}function Uu(e,t){return t==="refresh"?`${e.seconds};url=${e.url}`:hc(ho(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:r,key:n})=>r===null?"":typeof r=="boolean"?n:void 0,...dc[t]?.unpack})}function Yr(e){const t=[],r={};for(const[o,i]of Object.entries(e)){if(Array.isArray(i)){if(o==="themeColor"){i.forEach(s=>{typeof s=="object"&&s!==null&&t.push({name:"theme-color",...s})});continue}for(const s of i)if(typeof s=="object"&&s!==null){const a=[],c=[];for(const[u,l]of Object.entries(s)){const d=`${o}${u==="url"?"":`:${u}`}`,y=Yr({[d]:l});(u==="url"?a:c).push(...y)}t.push(...a,...c)}else t.push(...typeof s=="string"?Yr({[o]:s}):bi(o,s));continue}if(typeof i=="object"&&i)if(qt.MEDIA.has(o)){const s=o.startsWith("twitter")?"twitter":"og",a=o.replace(/^(og|twitter)/,"").toLowerCase(),c=s==="twitter"?"name":"property";i.url&&t.push({[c]:`${s}:${a}`,content:i.url}),i.secureUrl&&t.push({[c]:`${s}:${a}:secure_url`,content:i.secureUrl});for(const[u,l]of Object.entries(i))u!=="url"&&u!=="secureUrl"&&t.push({[c]:`${s}:${a}:${u}`,content:l})}else zo.has(Ue(o))?t.push(...bi(o,i)):r[o]=pc(i);else r[o]=i}const n=Object.entries(r).map(([o,i])=>{if(o==="charset")return{charset:i===null?"_null":i};const s=mc(o),a=Vu(o),c=i===null?"_null":typeof i=="object"?Uu(i,o):typeof i=="number"?i.toString():i;return s==="http-equiv"?{"http-equiv":a,content:c}:{[s]:a,content:c}});return[...t,...n].map(o=>"content"in o&&o.content==="_null"?{...o,content:null}:o)}const Hu={key:"flatMeta",hooks:{"entries:normalize":e=>{const t=[];e.tags=e.tags.map(r=>r.tag!=="_flatMeta"?r:(t.push(Yr(r.props).map(n=>({...r,tag:"meta",props:n}))),!1)).filter(Boolean).concat(...t)}}},Wu=(e,t)=>zt(t)?be(t):t,gc="usehead";function Bu(e){return{install(r){r.config.globalProperties.$unhead=e,r.config.globalProperties.$head=e,r.provide(gc,e)}}.install}function yc(){if(Bl()){const e=Kl(gc);if(!e)throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.");return e}throw new Error("useHead() was called without provide context, ensure you call it through the setup() function.")}function bc(e,t={}){const r=t.head||yc();return r.ssr?r.push(e||{},t):Ku(r,e,t)}function Ku(e,t,r={}){const n=Ge(!1);let o;return Gl(()=>{const s=n.value?{}:Xr(t,Wu);o?o.patch(s):o=e.push(s,r)}),Io()&&(Jl(()=>{o.dispose()}),Xl(()=>{n.value=!0}),Yl(()=>{n.value=!1})),o}function Gu(e={},t={}){(t.head||yc()).use(Hu);const{title:n,titleTemplate:o,...i}=e;return bc({title:n,titleTemplate:o,_flatMeta:i},t)}function Ju(e={}){const t=Lu({domOptions:{render:qu(()=>fc(t),r=>setTimeout(r,0))},...e});return t.install=Bu(t),t}const Vr="default",mo="preflights",Xu="shortcuts",vc="imports",Yu={[vc]:-200,[mo]:-100,[Xu]:-10,[Vr]:0},$c=/[\\:]?[\s'"`;{}]+/g;function Qu(e){return e.split($c)}const Zu={name:"@unocss/core/extractor-split",order:0,extract({code:e}){return Qu(e)}};function ae(e=[]){return Array.isArray(e)?e:[e]}function Ae(e){return Array.from(new Set(e))}function vi(e,t){return e.reduce((r,n)=>(r.findIndex(i=>t(n,i))===-1&&r.push(n),r),[])}function le(e){return typeof e=="string"}class wc extends Set{_map=new Map;constructor(t){if(super(),t)for(const r of t)this.add(r)}add(t){return this._map.set(t,(this._map.get(t)??0)+1),super.add(t)}delete(t){return this._map.has(t)?(this._map.delete(t),super.delete(t)):!1}clear(){this._map.clear(),super.clear()}getCount(t){return this._map.get(t)??0}setCount(t,r){return this._map.set(t,r),super.add(t)}}function An(e){return e instanceof wc}function Dt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function mt(e){const t=e.length;let r=-1,n,o="";const i=e.charCodeAt(0);for(;++r<t;){if(n=e.charCodeAt(r),n===0){o+="�";continue}if(n===37){o+="\\%";continue}if(n===44){o+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&i===45){o+=`\\${n.toString(16)} `;continue}if(r===0&&t===1&&n===45){o+=`\\${e.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){o+=e.charAt(r);continue}o+=`\\${e.charAt(r)}`}return o}const Nn=mt;function ef(){return{events:{},emit(e,...t){(this.events[e]||[]).forEach(r=>r(...t))},on(e,t){return(this.events[e]=this.events[e]||[]).push(t),()=>this.events[e]=(this.events[e]||[]).filter(r=>r!==t)}}}const tf=/^\[(.+?)~?="(.*)"\]$/,rf=/[\w\u00A0-\uFFFF%-?]/;function nf(e){return e.match(tf)}function go(e=""){return rf.test(e)}function of(e){return typeof e=="function"?{match:e}:e}function $i(e){return e.length===3}function Ur(e){return e!=null}function sf(){}class af{_map=new Map;get(t,r){const n=this._map.get(t);if(n)return n.get(r)}getFallback(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.has(r)||o.set(r,n),o.get(r)}set(t,r,n){let o=this._map.get(t);return o||(o=new Map,this._map.set(t,o)),o.set(r,n),this}has(t,r){return this._map.get(t)?.has(r)}delete(t,r){return this._map.get(t)?.delete(r)||!1}deleteTop(t){return this._map.delete(t)}map(t){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([o,i])=>t(i,r,o)))}}class cf extends Map{getFallback(t,r){const n=this.get(t);return n===void 0?(this.set(t,r),r):n}map(t){const r=[];return this.forEach((n,o)=>{r.push(t(n,o))}),r}flatMap(t){const r=[];return this.forEach((n,o)=>{r.push(...t(n,o))}),r}}function Qr(e){return le(e)?e:(Array.isArray(e)?e:Object.entries(e)).filter(t=>t[1]!=null)}function lf(e){return Array.isArray(e)?e.find(t=>!Array.isArray(t)||Array.isArray(t[0]))?e.map(t=>Qr(t)):[e]:[Qr(e)]}function uf(e){return e.filter(([t,r],n)=>{if(t.startsWith("$$"))return!1;for(let o=n-1;o>=0;o--)if(e[o][0]===t&&e[o][1]===r)return!1;return!0})}function In(e){return e==null?"":uf(e).map(([t,r])=>r!=null&&typeof r!="function"?`${t}:${r};`:void 0).filter(Boolean).join("")}function Xt(e){return e&&typeof e=="object"&&!Array.isArray(e)}function mn(e,t,r=!1){const n=e,o=t;if(Array.isArray(o))return r&&Array.isArray(o)?[...n,...o]:[...o];const i={...n};return Xt(n)&&Xt(o)&&Object.keys(o).forEach(s=>{Xt(n[s])&&Xt(o[s])||Array.isArray(n[s])&&Array.isArray(o[s])?i[s]=mn(n[s],o[s],r):Object.assign(i,{[s]:o[s]})}),i}function Hr(e){let t,r,n;if(Array.isArray(e)){for(r=Array.from({length:t=e.length});t--;)r[t]=(n=e[t])&&typeof n=="object"?Hr(n):n;return r}if(Object.prototype.toString.call(e)==="[object Object]"){r={};for(t in e)t==="__proto__"?Object.defineProperty(r,t,{value:Hr(e[t]),configurable:!0,enumerable:!0,writable:!0}):r[t]=(n=e[t])&&typeof n=="object"?Hr(n):n;return r}return e}function ff(e){return le(e[0])}function df(e){return le(e[0])}const Yt={};function pf(e=["-",":"]){const t=e.join("|");return Yt[t]||(Yt[t]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${t})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Yt[t].lastIndex=0,Yt[t]}function hf(e,t=["-",":"],r=5){const n=pf(t);let o,i=e.toString();const s=new Set,a=new Map;do o=!1,i=i.replace(n,(u,l,d,y,m)=>{if(!t.includes(d))return u;o=!0,s.add(l+d);const v=m+l.length+d.length+1,h={length:u.length,items:[]};a.set(m,h);for(const p of[...y.matchAll(/\S+/g)]){const b=v+p.index;let f=a.get(b)?.items;f?a.delete(b):f=[{offset:b,length:p[0].length,className:p[0]}];for(const g of f)g.className=g.className==="~"?l:g.className.replace(/^(!?)(.*)/,`$1${l}${d}$2`),h.items.push(g)}return"$".repeat(u.length)}),r-=1;while(o&&r);let c;if(typeof e=="string"){c="";let u=0;for(const[l,d]of a)c+=e.slice(u,l),c+=d.items.map(y=>y.className).join(" "),u=l+d.length;c+=e.slice(u)}else{c=e;for(const[u,l]of a)c.overwrite(u,u+l.length,l.items.map(d=>d.className).join(" "))}return{prefixes:Array.from(s),hasChanged:o,groupsByOffset:a,get expanded(){return c.toString()}}}function mf(e,t=["-",":"],r=5){const n=hf(e,t,r);return typeof e=="string"?n.expanded:e}const wi=new Set;function kc(e){wi.has(e)||(console.warn("[unocss]",e),wi.add(e))}function _c(e){return ae(e).flatMap(t=>Array.isArray(t)?[t]:Object.entries(t))}const ki="_uno_resolved";async function gf(e){let t=typeof e=="function"?await e():await e;if(ki in t)return t;t={...t},Object.defineProperty(t,ki,{value:!0,enumerable:!1});const r=t.shortcuts?_c(t.shortcuts):void 0;if(t.shortcuts=r,t.prefix||t.layer){const n=o=>{o[2]||(o[2]={});const i=o[2];i.prefix==null&&t.prefix&&(i.prefix=ae(t.prefix)),i.layer==null&&t.layer&&(i.layer=t.layer)};r?.forEach(n),t.rules?.forEach(n)}return t}async function xc(e){const t=await gf(e);if(!t.presets)return[t];const r=(await Promise.all((t.presets||[]).flatMap(ae).flatMap(xc))).flat();return[t,...r]}function yf(e){if(e.length===0)return{};const t=[],r=[];let n=!1;const o=[],i=[],s=[];for(const c of e){if(c.pipeline===!1){n=!0;break}else c.pipeline?.include&&t.push(c.pipeline.include),c.pipeline?.exclude&&r.push(c.pipeline.exclude);c.filesystem&&o.push(c.filesystem),c.inline&&i.push(c.inline),c.plain&&s.push(c.plain)}const a={pipeline:n?!1:{include:Ae(xi(...t)),exclude:Ae(xi(...r))}};return o.length&&(a.filesystem=Ae(o.flat())),i.length&&(a.inline=Ae(i.flat())),s.length&&(a.plain=Ae(s.flat())),a}async function _i(e={},t={}){const r=Object.assign({},t,e),n=vi((await Promise.all((r.presets||[]).flatMap(ae).flatMap(xc))).flat(),(w,k)=>w.name===k.name),o=[...n.filter(w=>w.enforce==="pre"),...n.filter(w=>!w.enforce),...n.filter(w=>w.enforce==="post")],i=[...o,r],s=[...i].reverse(),a=Object.assign({},Yu,...i.map(w=>w.layers));function c(w){return Ae(i.flatMap(k=>ae(k[w]||[])))}const u=c("extractors");let l=s.find(w=>w.extractorDefault!==void 0)?.extractorDefault;l===void 0&&(l=Zu),l&&!u.includes(l)&&u.unshift(l),u.sort((w,k)=>(w.order||0)-(k.order||0));const d=c("rules"),y={},m=d.length,v=d.filter(w=>ff(w)?(ae(w[2]?.prefix||"").forEach(_=>{y[_+w[0]]=w}),!1):!0).reverse(),h={templates:Ae(i.flatMap(w=>ae(w.autocomplete?.templates))),extractors:i.flatMap(w=>ae(w.autocomplete?.extractors)).sort((w,k)=>(w.order||0)-(k.order||0)),shorthands:vf(i.map(w=>w.autocomplete?.shorthands||{}))};let p=c("separators");p.length||(p=[":","-"]);const b=c("content"),f=yf(b),g={mergeSelectors:!0,warn:!0,sortLayers:w=>w,...r,blocklist:c("blocklist"),presets:o,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:bf(i.map(w=>w.theme)),rules:d,rulesSize:m,rulesDynamic:v,rulesStaticMap:y,preprocess:c("preprocess"),postprocess:c("postprocess"),preflights:c("preflights"),autocomplete:h,variants:c("variants").map(of).sort((w,k)=>(w.order||0)-(k.order||0)),shortcuts:_c(c("shortcuts")).reverse(),extractors:u,safelist:c("safelist"),separators:p,details:r.details??r.envMode==="dev",content:f,transformers:vi(c("transformers"),(w,k)=>w.name===k.name)},$=c("extendTheme");for(const w of $)g.theme=w(g.theme,g)||g.theme;for(const w of i)w?.configResolved?.(g);return g}function bf(e){return e.map(t=>t?Hr(t):{}).reduce((t,r)=>mn(t,r),{})}function vf(e){return e.reduce((t,r)=>{const n={};for(const o in r){const i=r[o];Array.isArray(i)?n[o]=`(${i.join("|")})`:n[o]=i}return{...t,...n}},{})}function xi(...e){return e.flatMap($f)}function $f(e){return Array.isArray(e)?e:e?[e]:[]}const wf="66.3.2",ve={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort"};class Lo{constructor(t={},r={}){this.userConfig=t,this.defaults=r}version=wf;events=ef();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(t={},r={}){const n=new Lo(t,r);return n.config=await _i(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(t,r){t&&(r&&(this.defaults=r),this.userConfig=t,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await _i(t,this.defaults),this.events.emit("config",this.config))}async applyExtractors(t,r,n=new Set){const o={original:t,code:t,id:r,extracted:n,envMode:this.config.envMode};for(const i of this.config.extractors){const s=await i.extract?.(o);if(s)if(An(s)&&An(n))for(const a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(const a of s)n.add(a)}return n}makeContext(t,r){const n={rawSelector:t,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:ve,variantHandlers:r[2],constructCSS:(...o)=>this.constructCustomCSS(n,...o),variantMatch:r};return n}async parseToken(t,r){if(this.blocked.has(t))return;const n=`${t}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);const o=this.config.preprocess.reduce((c,u)=>u(c)??c,t);if(this.isBlocked(o)){this.blocked.add(t),this.cache.set(n,null);return}const i=await this.matchVariants(t,o);if(i.every(c=>!c||this.isBlocked(c[1]))){this.blocked.add(t),this.cache.set(n,null);return}const s=async c=>{const u=this.makeContext(t,[r||c[0],c[1],c[2],c[3]]);this.config.details&&(u.variants=[...c[3]]);const l=await this.expandShortcut(u.currentSelector,u);return l?await this.stringifyShortcuts(u.variantMatch,u,l[0],l[1]):(await this.parseUtil(u.variantMatch,u))?.map(y=>this.stringifyUtil(y,u)).filter(Ur)},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(t,r={}){const{id:n,scope:o,preflights:i=!0,safelist:s=!0,minify:a=!1,extendedInfo:c=!1}=r,u=le(t)?await this.applyExtractors(t,n,c?new wc:new Set):Array.isArray(t)?new Set(t):t;if(s){const _={generator:this,theme:this.config.theme};this.config.safelist.flatMap(E=>typeof E=="function"?E(_):E).forEach(E=>{const P=E.trim();P&&!u.has(P)&&u.add(P)})}const l=a?"":`
3
+ `,d=new Set([Vr]),y=c?new Map:new Set,m=new Map;let v={};const h=Array.from(u).map(async _=>{if(y.has(_))return;const E=await this.parseToken(_);if(E!=null){y instanceof Map?y.set(_,{data:E,count:An(u)?u.getCount(_):-1}):y.add(_);for(const P of E){const M=P[3]||"",L=P[4]?.layer;m.has(M)||m.set(M,[]),m.get(M).push(P),L&&d.add(L)}}});await Promise.all(h),await(async()=>{if(!i)return;const _={generator:this,theme:this.config.theme},E=new Set([]);this.config.preflights.forEach(({layer:P=mo})=>{d.add(P),E.add(P)}),v=Object.fromEntries(await Promise.all(Array.from(E).map(async P=>{const L=(await Promise.all(this.config.preflights.filter(V=>(V.layer||mo)===P).map(async V=>await V.getCSS(_)))).filter(Boolean).join(l);return[P,L]})))})();const p=this.config.sortLayers(Array.from(d).sort((_,E)=>(this.config.layers[_]??0)-(this.config.layers[E]??0)||_.localeCompare(E))),b={},f=this.config.outputToCssLayers,g=_=>{let E=_;return typeof f=="object"&&(E=f.cssLayerName?.(_)),E===null?null:E??_},$=(_=Vr)=>{if(b[_])return b[_];let E=Array.from(m).sort((L,V)=>(this.parentOrders.get(L[0])??0)-(this.parentOrders.get(V[0])??0)||L[0]?.localeCompare(V[0]||"")||0).map(([L,V])=>{const F=V.length,D=V.filter(G=>(G[4]?.layer||Vr)===_).sort((G,se)=>G[0]-se[0]||(G[4]?.sort||0)-(se[4]?.sort||0)||G[5]?.currentSelector?.localeCompare(se[5]?.currentSelector??"")||G[1]?.localeCompare(se[1]||"")||G[2]?.localeCompare(se[2]||"")||0).map(([,G,se,,z,,O])=>[[[(G&&xf(G,o))??"",z?.sort??0]],se,!!(O??z?.noMerge)]);if(!D.length)return;const K=D.reverse().map(([G,se,z],O)=>{if(!z&&this.config.mergeSelectors)for(let R=O+1;R<F;R++){const x=D[R];if(x&&!x[2]&&(G&&x[0]||G==null&&x[0]==null)&&x[1]===se)return G&&x[0]&&x[0].push(...G),null}const I=G?Ae(G.sort((R,x)=>R[1]-x[1]||R[0]?.localeCompare(x[0]||"")||0).map(R=>R[0]).filter(Boolean)):[];return I.length?`${I.join(`,${l}`)}{${se}}`:se}).filter(Boolean),J=Array.from(new Set(K)).reverse().join(l);if(!L)return J;const ie=L.split(" $$ ");return`${ie.join("{")}{${l}${J}${l}${"}".repeat(ie.length)}`}).filter(Boolean).join(l);i&&(E=[v[_],E].filter(Boolean).join(l));let P;f&&E&&(P=g(_),P!==null&&(E=`@layer ${P}{${l}${E}${l}}`));const M=a?"":`/* layer: ${_}${P&&P!==_?`, alias: ${P}`:""} */${l}`;return b[_]=E?M+E:""},w=(_=p,E)=>{const P=_.filter(M=>!E?.includes(M));return[f&&P.length>0?`@layer ${P.map(g).filter(Ur).join(", ")};`:void 0,...P.map(M=>$(M)||"")].filter(Boolean).join(l)};return{get css(){return w()},layers:p,matched:y,getLayers:w,getLayer:$,setLayer:async(_,E)=>{const P=await E($(_));return b[_]=P,P}}}async matchVariants(t,r){const n={rawSelector:t,theme:this.config.theme,generator:this},o=async i=>{let s=!0;const[,,a,c]=i;for(;s;){s=!1;const u=i[1];for(const l of this.config.variants){if(!l.multiPass&&c.has(l))continue;let d=await l.match(u,n);if(d){if(le(d)){if(d===u)continue;d={matcher:d}}if(Array.isArray(d)){if(!d.length)continue;if(d.length===1)d=d[0];else{if(l.multiPass)throw new Error("multiPass can not be used together with array return variants");const y=d.map(m=>{const v=m.matcher??u,h=[m,...a],p=new Set(c);return p.add(l),[i[0],v,h,p]});return(await Promise.all(y.map(m=>o(m)))).flat()}}i[1]=d.matcher??u,a.unshift(d),c.add(l),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${t}"`)}return[i]};return await o([t,r||t,[],new Set])}applyVariants(t,r=t[4],n=t[1]){const i=r.slice().sort((u,l)=>(u.order||0)-(l.order||0)).reduceRight((u,l)=>d=>{const y=l.body?.(d.entries)||d.entries,m=Array.isArray(l.parent)?l.parent:[l.parent,void 0],v=l.selector?.(d.selector,y);return(l.handle??Sf)({...d,entries:y,selector:v||d.selector,parent:m[0]||d.parent,parentOrder:m[1]||d.parentOrder,layer:l.layer||d.layer,sort:l.sort||d.sort},u)},u=>u)({prefix:"",selector:Ec(n),pseudo:"",entries:t[2]}),{parent:s,parentOrder:a}=i;s!=null&&a!=null&&this.parentOrders.set(s,a);const c={selector:[i.prefix,i.selector,i.pseudo].join(""),entries:i.entries,parent:s,layer:i.layer,sort:i.sort,noMerge:i.noMerge};for(const u of this.config.postprocess)u(c);return c}constructCustomCSS(t,r,n){const o=Qr(r);if(le(o))return o;const{selector:i,entries:s,parent:a}=this.applyVariants([0,n||t.rawSelector,o,void 0,t.variantHandlers]),c=`${i}{${In(s)}}`;return a?`${a}{${c}}`:c}async parseUtil(t,r,n=!1,o){const i=le(t)?await this.matchVariants(t):[t],s=async([c,u,l])=>{this.config.details&&(r.rules=r.rules??[]);const d={...r,variantHandlers:l},y=this.config.rulesStaticMap[u];if(y&&y[1]&&(n||!y[2]?.internal))return this.resolveCSSResult(c,y[1],y,d);for(const m of this.config.rulesDynamic){const[v,h,p]=m;if(p?.internal&&!n)continue;let b=u;if(p?.prefix){const w=ae(p.prefix);if(o){const k=ae(o);if(!w.some(_=>k.includes(_)))continue}else{const k=w.find(_=>u.startsWith(_));if(k==null)continue;b=u.slice(k.length)}}const f=b.match(v);if(!f)continue;let g=await h(f,d);if(!g)continue;if(typeof g!="string")if(Symbol.asyncIterator in g){const w=[];for await(const k of g)k&&w.push(k);g=w}else Symbol.iterator in g&&!Array.isArray(g)&&(g=Array.from(g).filter(Ur));const $=this.resolveCSSResult(c,g,m,d);if($)return $}},a=(await Promise.all(i.map(c=>s(c)))).flat().filter(c=>!!c);if(a.length)return a}resolveCSSResult=(t,r,n,o)=>{const i=lf(r).filter(s=>s.length);if(i.length){this.config.details&&o.rules.push(n),o.generator.activatedRules.add(n);const s=o.generator.config.rules.indexOf(n),a=n[2];return i.map(c=>{if(le(c))return[s,c,a];let u=o.variantHandlers,l=a;for(const d of c)d[0]===ve.variants?typeof d[1]=="function"?u=d[1](u)||u:u=[...ae(d[1]),...u]:d[0]===ve.parent?u=[{parent:d[1]},...u]:d[0]===ve.selector?u=[{selector:d[1]},...u]:d[0]===ve.layer?u=[{layer:d[1]},...u]:d[0]===ve.sort?l={...l,sort:d[1]}:d[0]===ve.noMerge&&(l={...l,noMerge:d[1]});return[s,t,c,l,u]})}};stringifyUtil(t,r){if(!t)return;if($i(t))return[t[0],void 0,t[1],void 0,t[2],this.config.details?r:void 0,void 0];const{selector:n,entries:o,parent:i,layer:s,sort:a,noMerge:c}=this.applyVariants(t),u=In(o);if(!u)return;const{layer:l,sort:d,...y}=t[3]??{},m={...y,layer:s??l,sort:a??d};return[t[0],n,u,i,m,this.config.details?r:void 0,c]}async expandShortcut(t,r,n=5){if(n===0)return;const o=this.config.details?u=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(u)}:sf;let i,s,a,c;for(const u of this.config.shortcuts){let l=t;if(u[2]?.prefix){const y=ae(u[2].prefix).find(m=>t.startsWith(m));if(y==null)continue;l=t.slice(y.length)}if(df(u)){if(u[0]===l){i=i||u[2],s=u[1],o(u);break}}else{const d=l.match(u[0]);if(d&&(s=u[1](d,r)),s){i=i||u[2],o(u);break}}}if(s&&(a=Ae(ae(s).filter(le).map(u=>mf(u.trim()).split(/\s+/g)).flat()),c=ae(s).filter(u=>!le(u)).map(u=>({handles:[],value:u}))),!s){const u=le(t)?await this.matchVariants(t):[t];for(const l of u){const[d,y,m]=l;if(d!==y){const v=await this.expandShortcut(y,r,n-1);v&&(a=v[0].filter(le).map(h=>d.replace(y,h)),c=v[0].filter(h=>!le(h)).map(h=>({handles:[...h.handles,...m],value:h.value})))}}}if(!(!a?.length&&!c?.length))return[[await Promise.all(ae(a).map(async u=>(await this.expandShortcut(u,r,n-1))?.[0]||[u])),c].flat(2).filter(u=>!!u),i]}async stringifyShortcuts(t,r,n,o={layer:this.config.shortcutsLayer}){const i=new cf,s=(await Promise.all(Ae(n).map(async l=>{const d=le(l)?await this.parseUtil(l,r,!0,o.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Qr(l.value),void 0,l.handles]];return!d&&this.config.warn&&kc(`unmatched utility "${l}" in shortcut "${t[1]}"`),d||[]}))).flat(1).filter(Boolean).sort((l,d)=>l[0]-d[0]),[a,,c]=t,u=[];for(const l of s){if($i(l)){u.push([l[0],void 0,l[1],void 0,l[2],r,void 0]);continue}const{selector:d,entries:y,parent:m,sort:v,noMerge:h,layer:p}=this.applyVariants(l,[...l[4],...c],a);i.getFallback(p??o.layer,new af).getFallback(d,m,[[],l[0]])[0].push([y,!!(h??l[3]?.noMerge),v??0])}return u.concat(i.flatMap((l,d)=>l.map(([y,m],v,h)=>{const p=(f,g,$)=>{const w=Math.max(...$.map(_=>_[1])),k=$.map(_=>_[0]);return(f?[k.flat(1)]:k).map(_=>{const E=In(_);if(E)return[m,v,E,h,{...o,noMerge:g,sort:w,layer:d},r,void 0]})};return[[y.filter(([,f])=>f).map(([f,,g])=>[f,g]),!0],[y.filter(([,f])=>!f).map(([f,,g])=>[f,g]),!1]].map(([f,g])=>[...p(!1,g,f.filter(([$])=>$.some(w=>w[0]===ve.shortcutsNoMerge))),...p(!0,g,f.filter(([$])=>$.every(w=>w[0]!==ve.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(t){return!t||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(t):le(r)?r===t:r.test(t))}getBlocked(t){const r=this.config.blocklist.find(n=>{const o=Array.isArray(n)?n[0]:n;return typeof o=="function"?o(t):le(o)?o===t:o.test(t)});return r?Array.isArray(r)?r:[r,void 0]:void 0}}async function kf(e,t){return await Lo.create(e,t)}const Sc=/\s\$\$\s+/g;function _f(e){return Sc.test(e)}function xf(e,t){return _f(e)?e.replace(Sc,t?` ${t} `:" "):t?`${t} ${e}`:e}const Si=/^\[(.+?)(~?=)"(.*)"\]$/;function Ec(e){return Si.test(e)?e.replace(Si,(t,r,n,o)=>`[${Nn(r)}${n}"${Nn(o)}"]`):`.${Nn(e)}`}function Sf(e,t){return t(e)}var Ef={};function Cf(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{const{name:i,weights:s,italic:a}=o,c=i.toLowerCase().replace(/\s/g,"-");if(!s?.length)return`${c}${a?":i":""}`;let u=s.map(d=>d.toString());return!u.some(d=>d.endsWith("i"))&&a&&(u=u.map(d=>d+="i")),`${c}:${u.join(",")}`});return`${t}/css?family=${n.join("|")}&display=swap`}}}const jf=Cf("bunny","https://fonts.bunny.net");function Pf(e,t){return{name:e,getImportUrl(r){const n=i=>{const s=i.map(c=>c[0]),a=i.map(c=>c[1]);return`${s.join(";")};${a.join(";")}`},o=r.map(i=>{let s=i.name.replace(/\s+/g,"+");return i.weights?.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(a=>[`0,${a}`,`1,${a}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const Of=Pf("coollabs","https://api.fonts.coollabs.io"),Rf=Tf("fontshare","https://api.fontshare.com");function Tf(e,t){return{name:e,getImportUrl(r){const n=r.map(o=>{let i=o.name.replace(/\s+/g,"-").toLocaleLowerCase();return o.weights?.length?i+=`@${o.weights.flatMap(s=>o.italic?Number(s)+1:s).sort().join()}`:i+=`@${o.italic?2:1}`,`f[]=${i}`}).join("&");return`${t}/v2/css?${n}&display=swap`}}}function Af(e,t){const r=new Map,n=new Map;return{name:e,async getPreflight(o){return(await Promise.all(o.map(async s=>{const a=[],c=s.name.toLowerCase().replace(/\s+/g,"-");let u=r.get(c);if(!u){const p=`https://api.fontsource.org/v1/fonts/${c}`;try{u=await(await ot(async()=>{const{$fetch:b}=await Promise.resolve().then(()=>vo);return{$fetch:b}},void 0,import.meta.url)).$fetch(p),r.set(c,u)}catch{throw new Error(`Failed to fetch font: ${s.name}`)}}const{weights:l,unicodeRange:d,variants:y,family:m}=u,v=u.subsets.filter(p=>s.subsets?s.subsets.includes(p):!0),h=s.italic?"italic":"normal";if(u.variable&&!s.preferStatic){let p=n.get(c);const b=`https://api.fontsource.org/v1/variable/${c}`;try{p=await(await ot(async()=>{const{$fetch:g}=await Promise.resolve().then(()=>vo);return{$fetch:g}},void 0,import.meta.url)).$fetch(b),n.set(c,p)}catch{throw new Error(`Failed to fetch font variable: ${s.name}`)}const f=mn(p.axes,s.variable??{});for(const g of v)if(d[g]){const $=`${t}/fontsource/fonts/${u.id}:vf@latest/${g}-wght-${h}.woff2`,w={family:m,display:"swap",style:h,weight:400,src:[{url:$,format:"woff2-variations"}],variable:{wght:f.wght??void 0,wdth:f.wdth??void 0,slnt:f.slnt??void 0},unicodeRange:d[g],comment:`${u.id}-${g}-wght-normal`};a.push(Mn(w))}else Object.entries(d).filter(([$])=>!u.subsets.includes($)).forEach(([$,w])=>{const k=`${t}/fontsource/fonts/${u.id}:vf@latest/${$.slice(1,-1)}-wght-${h}.woff2`,_={family:m,display:"swap",style:h,weight:400,src:[{url:k,format:"woff2-variations"}],variable:{wght:f.wght??void 0,wdth:f.wdth??void 0,slnt:f.slnt??void 0},unicodeRange:w,comment:`${u.id}-${$}-wght-normal`};a.push(Mn(_))})}else{const p=s.weights&&s.weights.length>0?s.weights:l;for(const b of v)for(const f of p){const g=y[f][h][b].url,$={family:m,display:"swap",style:h,weight:Number(f),src:[{url:g.woff2,format:"woff2"}],unicodeRange:d[b],comment:`${u.id}-${b}-${f}-${h}`};a.push(Mn($))}}return a}))).flat().join(`
4
4
 
5
- `)}}}const Af=Tf("fontsource","https://cdn.jsdelivr.net");function Mn(e){const{family:t,style:r,display:n,weight:o,variable:i,src:s,unicodeRange:a,comment:c,spacer:u=`
6
- `}=e,{wght:l,wdth:d,slnt:y}=i??{};let m="@font-face {";return m+=`${u}font-family: '${t}';`,m+=`${u}font-style: ${y?`oblique ${Number(y.max)*-1}deg ${Number(y.min)*-1}deg`:r};`,m+=`${u}font-display: ${n};`,m+=`${u}font-weight: ${l?Nf(l):o};`,d&&(m+=`${u}font-stretch: ${d.min}% ${d.max}%;`),m+=`${u}src: ${s.map(({url:v,format:h})=>`url(${v}) format('${h}')`).join(", ")};`,a&&(m+=`${u}unicode-range: ${a};`),c&&(m=`/* ${c} */
5
+ `)}}}const Nf=Af("fontsource","https://cdn.jsdelivr.net");function Mn(e){const{family:t,style:r,display:n,weight:o,variable:i,src:s,unicodeRange:a,comment:c,spacer:u=`
6
+ `}=e,{wght:l,wdth:d,slnt:y}=i??{};let m="@font-face {";return m+=`${u}font-family: '${t}';`,m+=`${u}font-style: ${y?`oblique ${Number(y.max)*-1}deg ${Number(y.min)*-1}deg`:r};`,m+=`${u}font-display: ${n};`,m+=`${u}font-weight: ${l?If(l):o};`,d&&(m+=`${u}font-stretch: ${d.min}% ${d.max}%;`),m+=`${u}src: ${s.map(({url:v,format:h})=>`url(${v}) format('${h}')`).join(", ")};`,a&&(m+=`${u}unicode-range: ${a};`),c&&(m=`/* ${c} */
7
7
  ${m}`),`${m}
8
- }`}function Nf(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}function If(e,t){return{name:e,getImportUrl(r){const n=i=>{const s=i.map(c=>c[0]),a=i.map(c=>c[1]);return`${s.join(";")};${a.join(";")}`},o=r.map(i=>{let s=i.name.replace(/\s+/g,"+");return i.weights?.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(a=>[`0,${a}`,`1,${a}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const Mf=If("google","https://fonts.googleapis.com"),Ff={name:"none",getPreflight(){return""},getFontName(e){return e.name}},zf={google:Mf,bunny:Cf,fontshare:Of,fontsource:Af,coollabs:Pf,none:Ff};function Ei(e){return typeof e=="string"?zf[e]:e}function Lf(e,t){if(typeof e!="string")return e.provider=Ei(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),e;const[r,n=""]=e.split(":");return{name:r,weights:[...new Set(n.split(/[,;]\s*/).filter(Boolean).sort((o,i)=>o.localeCompare(i,"en",{numeric:!0})))],provider:Ei(t)}}function qf(e){return(t={})=>{const{provider:r="google",extendTheme:n=!0,inlineImports:o=!0,customFetch:i=e,timeouts:s={}}=t,a="fonts",c=o?a:bc,u=ae(t.processors||[]),l=Object.fromEntries(Object.entries(t.fonts||{}).map(([f,g])=>[f,ae(g).map($=>Lf($,r))])),d=Object.values(l).flatMap(f=>f),y={};async function m(f){if(s===!1)return i(f);const{warning:g=1e3,failure:$=2e3}=s;let w=!1;const k=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${f}`),w=!0},g);return await Promise.race([i(f),new Promise((_,E)=>{setTimeout(()=>E(new Error("[unocss] Fetch web fonts timeout.")),$)})]).then(_=>(w&&console.info("[unocss] Web fonts fetched."),_)).finally(()=>clearTimeout(k))}async function v(f){return o?(y[f]||(y[f]=m(f).catch(g=>{if(console.error(`[unocss] Failed to fetch web fonts: ${f}`),console.error(g),typeof process<"u"&&Sf.CI)throw g})),await y[f]):`@import url('${f}');`}const h=Array.from(new Set(d.map(f=>f.provider)));async function p(f,g){const $=[];for(const k of g){const _=f.filter(E=>E.provider.name===k.name);if(k.getImportUrl){const E=k.getImportUrl(_);E&&$.push(await v(E))}$.push(await k.getPreflight?.(_))}return $.filter(Boolean).join(`
9
- `)}const b={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let f;for(const g of u){const $=await g.getCSS?.(d,h,p);if($){f=$;break}}f||(f=await p(d,h));for(const g of u)f=await g.transformCSS?.(f)||f;return f},layer:c}],layers:{[a]:-200}};return n&&(b.extendTheme=(f,g)=>{const $=g.presets.some(_=>_.name==="@unocss/preset-wind4"),w=t.themeKey??($?"font":"fontFamily");f[w]||(f[w]={});const k=Object.fromEntries(Object.entries(l).map(([_,E])=>[_,E.map(P=>P.provider.getFontName?.(P)??`"${P.name}"`)]));for(const _ of Object.keys(k))typeof f[w][_]=="string"?f[w][_]=k[_].map(E=>`${E},`).join("")+f[w][_]:f[w][_]=k[_].join(",")}),b}}const Df="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",Vf=async e=>(await nt(async()=>{const{$fetch:t}=await Promise.resolve().then(()=>vo);return{$fetch:t}},void 0,import.meta.url)).$fetch(e,{headers:{"User-Agent":Df},retry:3}),Uf=qf(Vf);function Hf(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Ci(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ji(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Pi=["Webkit","Moz","ms"];function Wf(e){const t={};function r(n){const o=t[n];if(o)return o;let i=Hf(n);if(i!=="filter"&&i in e)return t[n]=ji(i);i=Ci(i);for(let s=0;s<Pi.length;s++){const a=`${Pi[s]}${i}`;if(a in e)return t[n]=ji(Ci(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Bf(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function Kf(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),s=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=ae(s.postprocess)).unshift(Wf(r.createElement("div").style)),i.configResolved?.(o,s);const c=await wf(o,s),u=F=>i.inject?i.inject(F):n().prepend(F),l=()=>i.rootElement?i.rootElement():r.body,d=new Map;let y=!0;const m=new Set;let v,h,p=[];const b=()=>new Promise(F=>{p.push(F),h!=null&&clearTimeout(h),h=setTimeout(()=>$().then(()=>{const D=p;p=[],D.forEach(K=>K())}),0)});function f(F,D=!1){if(F.nodeType!==1)return;const K=F;K.hasAttribute(a)&&K.removeAttribute(a),D&&K.querySelectorAll(`[${a}]`).forEach(J=>{J.removeAttribute(a)})}function g(F,D){let K=d.get(F);if(!K)if(K=r.createElement("style"),K.setAttribute("data-unocss-runtime-layer",F),d.set(F,K),D==null)u(K);else{const J=g(D),ie=J.parentNode;ie?ie.insertBefore(K,J.nextSibling):u(K)}return K}async function $(){const F=[...m],D=await c.generate(F);return D.layers.reduce((J,ie)=>(g(ie,J).innerHTML=D.getLayer(ie)??"",ie),void 0),F.filter(J=>!D.matched.has(J)).forEach(J=>m.delete(J)),{...D,getStyleElement:J=>d.get(J),getStyleElements:()=>d}}async function w(F){const D=m.size;await c.applyExtractors(F,void 0,m),D!==m.size&&await b()}async function k(F=l()){const D=F&&F.outerHTML;D&&(await w(`${D} ${Bf(D)}`),f(n()),f(F,!0))}const _=new MutationObserver(F=>{y||F.forEach(async D=>{if(D.target.nodeType!==1)return;const K=D.target;for(const J of d)if(K===J[1])return;if(D.type==="childList")D.addedNodes.forEach(async J=>{if(J.nodeType!==1)return;const ie=J;v&&!v(ie)||(await w(ie.outerHTML),f(ie))});else{if(v&&!v(K))return;if(D.attributeName!==a){const J=Array.from(K.attributes).map(G=>G.value?`${G.name}="${G.value}"`:G.name).join(" "),ie=`<${K.tagName.toLowerCase()} ${J}>`;await w(ie)}f(K)}})});let E=!1;function P(){if(E)return;const F=i.observer?.target?i.observer.target():l();F&&(_.observe(F,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),E=!0)}function M(){i.bypassDefined&&Gf(c.blocked),k(),P()}function L(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",M):M()}const V=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(F){le(F)||(F.forEach(D=>m.add(D)),F=""),await w(F)},extractAll:k,inspect(F){v=F},toggleObserver(F){F===void 0?y=!y:y=!!F,!E&&!y&&L()},update:$,presets:t.__unocss_runtime?.presets??{}};i.ready?.(V)!==!1&&(y=!1,L())}function Gf(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}function gn(e){return Yl()?(Ql(e),!0):!1}function Oi(e){if(!zt(e))return it(e);const t=new Proxy({},{get(r,n,o){return ic(Reflect.get(e.value,n,o))},set(r,n,o){return zt(e.value[n])&&!zt(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(r,n){return Reflect.deleteProperty(e.value,n)},has(r,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return it(t)}const Ec=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Cc=e=>e!=null,Jf=Object.prototype.toString,Xf=e=>Jf.call(e)==="[object Object]",Ue=()=>{};function jc(e,t){function r(...n){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(i)})}return r}function Yf(e,t={}){let r,n,o=Ue;const i=c=>{clearTimeout(c),o(),o=Ue};let s;return c=>{const u=be(e),l=be(t.maxWait);return r&&i(r),u<=0||l!==void 0&&l<=0?(n&&(i(n),n=void 0),Promise.resolve(c())):new Promise((d,y)=>{o=t.rejectOnCancel?y:d,s=c,l&&!n&&(n=setTimeout(()=>{r&&i(r),n=void 0,d(s())},l)),r=setTimeout(()=>{n&&i(n),n=void 0,d(c())},u)})}}function Qf(...e){let t=0,r,n=!0,o=Ue,i,s,a,c,u;!zt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,c=!0,u=!1]=e;const l=()=>{r&&(clearTimeout(r),r=void 0,o(),o=Ue)};return y=>{const m=be(s),v=Date.now()-t,h=()=>i=y();return l(),m<=0?(t=Date.now(),h()):(v>m&&(c||!n)?(t=Date.now(),h()):a&&(i=new Promise((p,b)=>{o=u?b:p,r=setTimeout(()=>{t=Date.now(),n=!0,p(h()),l()},Math.max(0,m-v))})),!c&&!r&&(r=setTimeout(()=>n=!0,m)),n=!1,i)}}function Lt(e){return Array.isArray(e)?e:[e]}function Zf(e){return Io()}function ed(e,t=200,r={}){return jc(Yf(t,r),e)}function td(e,t=200,r=!1,n=!0,o=!1){return jc(Qf(t,r,n,o),e)}function Pc(e,t=!0,r){Zf()?Mo(e,r):t?e():Fo(e)}function rd(e,t,r){return He(e,t,{...r,immediate:!0})}const yn=Ec?window:void 0,nd=Ec?window.document:void 0;function gt(e){var t;const r=be(e);return(t=r?.$el)!=null?t:r}function Ri(...e){const t=[],r=()=>{t.forEach(a=>a()),t.length=0},n=(a,c,u,l)=>(a.addEventListener(c,u,l),()=>a.removeEventListener(c,u,l)),o=pe(()=>{const a=Lt(be(e[0])).filter(c=>c!=null);return a.every(c=>typeof c!="string")?a:void 0}),i=rd(()=>{var a,c;return[(c=(a=o.value)==null?void 0:a.map(u=>gt(u)))!=null?c:[yn].filter(u=>u!=null),Lt(be(o.value?e[1]:e[0])),Lt(ic(o.value?e[2]:e[1])),be(o.value?e[3]:e[2])]},([a,c,u,l])=>{if(r(),!a?.length||!c?.length||!u?.length)return;const d=Xf(l)?{...l}:l;t.push(...a.flatMap(y=>c.flatMap(m=>u.map(v=>n(y,m,v,d)))))},{flush:"post"}),s=()=>{i(),r()};return gn(r),s}function od(){const e=Je(!1),t=Io();return t&&Mo(()=>{e.value=!0},t),e}function Oc(e){const t=od();return pe(()=>(t.value,!!e()))}function id(e,t,r={}){const{window:n=yn,...o}=r;let i;const s=Oc(()=>n&&"MutationObserver"in n),a=()=>{i&&(i.disconnect(),i=void 0)},c=pe(()=>{const y=be(e),m=Lt(y).map(gt).filter(Cc);return new Set(m)}),u=He(()=>c.value,y=>{a(),s.value&&y.size&&(i=new MutationObserver(t),y.forEach(m=>i.observe(m,o)))},{immediate:!0,flush:"post"}),l=()=>i?.takeRecords(),d=()=>{u(),a()};return gn(d),{isSupported:s,stop:d,takeRecords:l}}function K$(e,t,r={}){const{root:n,rootMargin:o="0px",threshold:i=0,window:s=yn,immediate:a=!0}=r,c=Oc(()=>s&&"IntersectionObserver"in s),u=pe(()=>{const v=be(e);return Lt(v).map(gt).filter(Cc)});let l=Ue;const d=Je(a),y=c.value?He(()=>[u.value,gt(n),d.value],([v,h])=>{if(l(),!d.value||!v.length)return;const p=new IntersectionObserver(t,{root:gt(h),rootMargin:o,threshold:i});v.forEach(b=>b&&p.observe(b)),l=()=>{p.disconnect(),l=Ue}},{immediate:a,flush:"post"}):Ue,m=()=>{l(),y(),d.value=!1};return gn(m),{isSupported:c,isActive:d,pause(){l(),d.value=!1},resume(){d.value=!0},stop:m}}const Ti=1;function G$(e,t={}){const{throttle:r=0,idle:n=200,onStop:o=Ue,onScroll:i=Ue,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:u="auto",window:l=yn,onError:d=P=>{console.error(P)}}=t,y=typeof a=="boolean"?{mutation:a}:a,m=Je(0),v=Je(0),h=pe({get(){return m.value},set(P){b(P,void 0)}}),p=pe({get(){return v.value},set(P){b(void 0,P)}});function b(P,M){var L,V,F,D;if(!l)return;const K=be(e);if(!K)return;(F=K instanceof Document?l.document.body:K)==null||F.scrollTo({top:(L=be(M))!=null?L:p.value,left:(V=be(P))!=null?V:h.value,behavior:be(u)});const J=((D=K?.document)==null?void 0:D.documentElement)||K?.documentElement||K;h!=null&&(m.value=J.scrollLeft),p!=null&&(v.value=J.scrollTop)}const f=Je(!1),g=it({left:!0,right:!1,top:!0,bottom:!1}),$=it({left:!1,right:!1,top:!1,bottom:!1}),w=P=>{f.value&&(f.value=!1,$.left=!1,$.right=!1,$.top=!1,$.bottom=!1,o(P))},k=ed(w,r+n),_=P=>{var M;if(!l)return;const L=((M=P?.document)==null?void 0:M.documentElement)||P?.documentElement||gt(P),{display:V,flexDirection:F,direction:D}=getComputedStyle(L),K=D==="rtl"?-1:1,J=L.scrollLeft;$.left=J<m.value,$.right=J>m.value;const ie=Math.abs(J*K)<=(s.left||0),G=Math.abs(J*K)+L.clientWidth>=L.scrollWidth-(s.right||0)-Ti;V==="flex"&&F==="row-reverse"?(g.left=G,g.right=ie):(g.left=ie,g.right=G),m.value=J;let se=L.scrollTop;P===l.document&&!se&&(se=l.document.body.scrollTop),$.top=se<v.value,$.bottom=se>v.value;const z=Math.abs(se)<=(s.top||0),O=Math.abs(se)+L.clientHeight>=L.scrollHeight-(s.bottom||0)-Ti;V==="flex"&&F==="column-reverse"?(g.top=O,g.bottom=z):(g.top=z,g.bottom=O),v.value=se},E=P=>{var M;if(!l)return;const L=(M=P.target.documentElement)!=null?M:P.target;_(L),f.value=!0,k(P),i(P)};return Ri(e,"scroll",r?td(E,r,!0,!1):E,c),Pc(()=>{try{const P=be(e);if(!P)return;_(P)}catch(P){d(P)}}),y?.mutation&&e!=null&&e!==l&&e!==document&&id(e,()=>{const P=be(e);P&&_(P)},{attributes:!0,childList:!0,subtree:!0}),Ri(e,"scrollend",w,c),{x:h,y:p,isScrolling:f,arrivedState:g,directions:$,measure(){const P=be(e);l&&P&&_(P)}}}let sd=0;function ad(e,t={}){const r=Je(!1),{document:n=nd,immediate:o=!0,manual:i=!1,id:s=`vueuse_styletag_${++sd}`}=t,a=Je(e);let c=()=>{};const u=()=>{if(!n)return;const d=n.getElementById(s)||n.createElement("style");d.isConnected||(d.id=s,t.nonce&&(d.nonce=t.nonce),t.media&&(d.media=t.media),n.head.appendChild(d)),!r.value&&(c=He(a,y=>{d.textContent=y},{immediate:!0}),r.value=!0)},l=()=>{!n||!r.value||(c(),n.head.removeChild(n.getElementById(s)),r.value=!1)};return o&&!i&&Pc(u),i||gn(l),{id:s,css:a,unload:l,load:u,isLoaded:Zl(r)}}const ye=[];for(let e=0;e<256;++e)ye.push((e+256).toString(16).slice(1));function cd(e,t=0){return(ye[e[t+0]]+ye[e[t+1]]+ye[e[t+2]]+ye[e[t+3]]+"-"+ye[e[t+4]]+ye[e[t+5]]+"-"+ye[e[t+6]]+ye[e[t+7]]+"-"+ye[e[t+8]]+ye[e[t+9]]+"-"+ye[e[t+10]]+ye[e[t+11]]+ye[e[t+12]]+ye[e[t+13]]+ye[e[t+14]]+ye[e[t+15]]).toLowerCase()}let Fn;const ld=new Uint8Array(16);function ud(){if(!Fn){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Fn=crypto.getRandomValues.bind(crypto)}return Fn(ld)}const fd=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ai={randomUUID:fd};function qo(e,t,r){if(Ai.randomUUID&&!t&&!e)return Ai.randomUUID();e=e||{};const n=e.random??e.rng?.()??ud();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){if(r=r||0,r<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let o=0;o<16;++o)t[r+o]=n[o];return t}return cd(n)}const dd=(e,{branch:t="branch",children:r="children",id:n="id",index:o="index",next:i="next",parent:s="parent",prev:a="prev",siblings:c="siblings"}={})=>{const u={[t]:{get(){const m=[this];for(;m[0]?.[s];)m.unshift(m[0][s]);return m}},[o]:{get(){return this[c].findIndex(m=>this[n]===m[n])}},[i]:{get(){return this[c][this[o]+1]}},[a]:{get(){return this[c][this[o]-1]}}},l=(m,v={})=>m.value.flatMap(h=>(Object.defineProperties(h,{...u,[s]:v,[c]:m}),[h,...l({configurable:!0,value:h[r]??[]},{configurable:!0,value:h})])),d=pe(()=>l({value:eu(e)?e:it(e)})),y=Oi(pe(()=>Object.fromEntries(d.value.map(m=>[m[n],m]))));return{add:m=>{const v=y[m];if(v){const h=v[r],p=v[o],b=v[c],f=qo();switch(!0){case!!v[s]:b.splice(p+1,0,{[n]:f});break;case!!h:h.unshift({[n]:f});break;default:b.splice(p+1,0,{[n]:f});break}return f}},arrLeaves:Oi(d),down:m=>{const v=y[m];if(v){const h=v[o],p=h+1,b=v[c];h<b.length-1&&b[h]&&b[p]&&([b[h],b[p]]=[b[p],b[h]])}},leaves:d,left:m=>{const v=y[m];if(v){const h=v[s];if(h?.[s]){const p=h[r]??[];return h[c].splice(h[o]+1,0,...p.splice(v[o],1)),h[n]}}},objLeaves:y,remove:m=>{const v=y[m];if(v){const h=v[s];if(h){const[p]=d.value,b=v[i],f=v[a],g=b?.[n]??f?.[n]??h[n]??p?.[n];return v[c].splice(v[o],1),g}}},right:m=>{const v=y[m];if(v){const h=v[a];if(h){const p=h[r]??[],b=h[n],f=v[c];return h[r]=[...p,...f.splice(v[o],1)],b}}},up:m=>{const v=y[m];if(v){const h=v[o],p=h-1,b=v[c];h&&b[h]&&b[p]&&([b[p],b[h]]=[b[h],b[p]])}}}};var Qt={exports:{}},zn={},ze={},Ye={},Ln={},qn={},Dn={},Ni;function Zr(){return Ni||(Ni=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(f){if(super(),!e.IDENTIFIER.test(f))throw new Error("CodeGen: name must be a valid identifier");this.str=f}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(f){super(),this._items=typeof f=="string"?[f]:f}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const f=this._items[0];return f===""||f==='""'}get str(){var f;return(f=this._str)!==null&&f!==void 0?f:this._str=this._items.reduce((g,$)=>`${g}${$}`,"")}get names(){var f;return(f=this._names)!==null&&f!==void 0?f:this._names=this._items.reduce((g,$)=>($ instanceof r&&(g[$.str]=(g[$.str]||0)+1),g),{})}}e._Code=n,e.nil=new n("");function o(b,...f){const g=[b[0]];let $=0;for(;$<f.length;)a(g,f[$]),g.push(b[++$]);return new n(g)}e._=o;const i=new n("+");function s(b,...f){const g=[m(b[0])];let $=0;for(;$<f.length;)g.push(i),a(g,f[$]),g.push(i,m(b[++$]));return c(g),new n(g)}e.str=s;function a(b,f){f instanceof n?b.push(...f._items):f instanceof r?b.push(f):b.push(d(f))}e.addCodeArg=a;function c(b){let f=1;for(;f<b.length-1;){if(b[f]===i){const g=u(b[f-1],b[f+1]);if(g!==void 0){b.splice(f-1,3,g);continue}b[f++]="+"}f++}}function u(b,f){if(f==='""')return b;if(b==='""')return f;if(typeof b=="string")return f instanceof r||b[b.length-1]!=='"'?void 0:typeof f!="string"?`${b.slice(0,-1)}${f}"`:f[0]==='"'?b.slice(0,-1)+f.slice(1):void 0;if(typeof f=="string"&&f[0]==='"'&&!(b instanceof r))return`"${b}${f.slice(1)}`}function l(b,f){return f.emptyStr()?b:b.emptyStr()?f:s`${b}${f}`}e.strConcat=l;function d(b){return typeof b=="number"||typeof b=="boolean"||b===null?b:m(Array.isArray(b)?b.join(","):b)}function y(b){return new n(m(b))}e.stringify=y;function m(b){return JSON.stringify(b).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function v(b){return typeof b=="string"&&e.IDENTIFIER.test(b)?new n(`.${b}`):o`[${b}]`}e.getProperty=v;function h(b){if(typeof b=="string"&&e.IDENTIFIER.test(b))return new n(`${b}`);throw new Error(`CodeGen: invalid export name: ${b}, use explicit $id name mapping`)}e.getEsmExportName=h;function p(b){return new n(b.toString())}e.regexpCode=p}(Dn)),Dn}var Vn={},Ii;function Mi(){return Ii||(Ii=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Zr();class r extends Error{constructor(u){super(`CodeGen: "code" for ${u} not defined`),this.value=u.value}}var n;(function(c){c[c.Started=0]="Started",c[c.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:u,parent:l}={}){this._names={},this._prefixes=u,this._parent=l}toName(u){return u instanceof t.Name?u:this.name(u)}name(u){return new t.Name(this._newName(u))}_newName(u){const l=this._names[u]||this._nameGroup(u);return`${u}${l.index++}`}_nameGroup(u){var l,d;if(!((d=(l=this._parent)===null||l===void 0?void 0:l._prefixes)===null||d===void 0)&&d.has(u)||this._prefixes&&!this._prefixes.has(u))throw new Error(`CodeGen: prefix "${u}" is not allowed in this scope`);return this._names[u]={prefix:u,index:0}}}e.Scope=o;class i extends t.Name{constructor(u,l){super(l),this.prefix=u}setValue(u,{property:l,itemIndex:d}){this.value=u,this.scopePath=(0,t._)`.${new t.Name(l)}[${d}]`}}e.ValueScopeName=i;const s=(0,t._)`\n`;class a extends o{constructor(u){super(u),this._values={},this._scope=u.scope,this.opts={...u,_n:u.lines?s:t.nil}}get(){return this._scope}name(u){return new i(u,this._newName(u))}value(u,l){var d;if(l.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const y=this.toName(u),{prefix:m}=y,v=(d=l.key)!==null&&d!==void 0?d:l.ref;let h=this._values[m];if(h){const f=h.get(v);if(f)return f}else h=this._values[m]=new Map;h.set(v,y);const p=this._scope[m]||(this._scope[m]=[]),b=p.length;return p[b]=l.ref,y.setValue(l,{property:m,itemIndex:b}),y}getValue(u,l){const d=this._values[u];if(d)return d.get(l)}scopeRefs(u,l=this._values){return this._reduceValues(l,d=>{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${u}${d.scopePath}`})}scopeCode(u=this._values,l,d){return this._reduceValues(u,y=>{if(y.value===void 0)throw new Error(`CodeGen: name "${y}" has no value`);return y.value.code},l,d)}_reduceValues(u,l,d={},y){let m=t.nil;for(const v in u){const h=u[v];if(!h)continue;const p=d[v]=d[v]||new Map;h.forEach(b=>{if(p.has(b))return;p.set(b,n.Started);let f=l(b);if(f){const g=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${g} ${b} = ${f};${this.opts._n}`}else if(f=y?.(b))m=(0,t._)`${m}${f}${this.opts._n}`;else throw new r(b);p.set(b,n.Completed)})}return m}}e.ValueScope=a}(Vn)),Vn}var Fi;function ee(){return Fi||(Fi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Zr(),r=Mi();var n=Zr();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var o=Mi();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class i{optimizeNodes(){return this}optimizeNames(x,S){return this}}class s extends i{constructor(x,S,A){super(),this.varKind=x,this.name=S,this.rhs=A}render({es5:x,_n:S}){const A=x?r.varKinds.var:this.varKind,H=this.rhs===void 0?"":` = ${this.rhs}`;return`${A} ${this.name}${H};`+S}optimizeNames(x,S){if(x[this.name.str])return this.rhs&&(this.rhs=D(this.rhs,x,S)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends i{constructor(x,S,A){super(),this.lhs=x,this.rhs=S,this.sideEffects=A}render({_n:x}){return`${this.lhs} = ${this.rhs};`+x}optimizeNames(x,S){if(!(this.lhs instanceof t.Name&&!x[this.lhs.str]&&!this.sideEffects))return this.rhs=D(this.rhs,x,S),this}get names(){const x=this.lhs instanceof t.Name?{}:{...this.lhs.names};return F(x,this.rhs)}}class c extends a{constructor(x,S,A,H){super(x,A,H),this.op=S}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class u extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class l extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`break${this.label?` ${this.label}`:""};`+x}}class d extends i{constructor(x){super(),this.error=x}render({_n:x}){return`throw ${this.error};`+x}get names(){return this.error.names}}class y extends i{constructor(x){super(),this.code=x}render({_n:x}){return`${this.code};`+x}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(x,S){return this.code=D(this.code,x,S),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends i{constructor(x=[]){super(),this.nodes=x}render(x){return this.nodes.reduce((S,A)=>S+A.render(x),"")}optimizeNodes(){const{nodes:x}=this;let S=x.length;for(;S--;){const A=x[S].optimizeNodes();Array.isArray(A)?x.splice(S,1,...A):A?x[S]=A:x.splice(S,1)}return x.length>0?this:void 0}optimizeNames(x,S){const{nodes:A}=this;let H=A.length;for(;H--;){const B=A[H];B.optimizeNames(x,S)||(K(x,B.names),A.splice(H,1))}return A.length>0?this:void 0}get names(){return this.nodes.reduce((x,S)=>V(x,S.names),{})}}class v extends m{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class h extends m{}class p extends v{}p.kind="else";class b extends v{constructor(x,S){super(S),this.condition=x}render(x){let S=`if(${this.condition})`+super.render(x);return this.else&&(S+="else "+this.else.render(x)),S}optimizeNodes(){super.optimizeNodes();const x=this.condition;if(x===!0)return this.nodes;let S=this.else;if(S){const A=S.optimizeNodes();S=this.else=Array.isArray(A)?new p(A):A}if(S)return x===!1?S instanceof b?S:S.nodes:this.nodes.length?this:new b(J(x),S instanceof b?[S]:S.nodes);if(!(x===!1||!this.nodes.length))return this}optimizeNames(x,S){var A;if(this.else=(A=this.else)===null||A===void 0?void 0:A.optimizeNames(x,S),!!(super.optimizeNames(x,S)||this.else))return this.condition=D(this.condition,x,S),this}get names(){const x=super.names;return F(x,this.condition),this.else&&V(x,this.else.names),x}}b.kind="if";class f extends v{}f.kind="for";class g extends f{constructor(x){super(),this.iteration=x}render(x){return`for(${this.iteration})`+super.render(x)}optimizeNames(x,S){if(super.optimizeNames(x,S))return this.iteration=D(this.iteration,x,S),this}get names(){return V(super.names,this.iteration.names)}}class $ extends f{constructor(x,S,A,H){super(),this.varKind=x,this.name=S,this.from=A,this.to=H}render(x){const S=x.es5?r.varKinds.var:this.varKind,{name:A,from:H,to:B}=this;return`for(${S} ${A}=${H}; ${A}<${B}; ${A}++)`+super.render(x)}get names(){const x=F(super.names,this.from);return F(x,this.to)}}class w extends f{constructor(x,S,A,H){super(),this.loop=x,this.varKind=S,this.name=A,this.iterable=H}render(x){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(x)}optimizeNames(x,S){if(super.optimizeNames(x,S))return this.iterable=D(this.iterable,x,S),this}get names(){return V(super.names,this.iterable.names)}}class k extends v{constructor(x,S,A){super(),this.name=x,this.args=S,this.async=A}render(x){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(x)}}k.kind="func";class _ extends m{render(x){return"return "+super.render(x)}}_.kind="return";class E extends v{render(x){let S="try"+super.render(x);return this.catch&&(S+=this.catch.render(x)),this.finally&&(S+=this.finally.render(x)),S}optimizeNodes(){var x,S;return super.optimizeNodes(),(x=this.catch)===null||x===void 0||x.optimizeNodes(),(S=this.finally)===null||S===void 0||S.optimizeNodes(),this}optimizeNames(x,S){var A,H;return super.optimizeNames(x,S),(A=this.catch)===null||A===void 0||A.optimizeNames(x,S),(H=this.finally)===null||H===void 0||H.optimizeNames(x,S),this}get names(){const x=super.names;return this.catch&&V(x,this.catch.names),this.finally&&V(x,this.finally.names),x}}class P extends v{constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}P.kind="catch";class M extends v{render(x){return"finally"+super.render(x)}}M.kind="finally";class L{constructor(x,S={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...S,_n:S.lines?`
10
- `:""},this._extScope=x,this._scope=new r.Scope({parent:x}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name(x){return this._scope.name(x)}scopeName(x){return this._extScope.name(x)}scopeValue(x,S){const A=this._extScope.value(x,S);return(this._values[A.prefix]||(this._values[A.prefix]=new Set)).add(A),A}getScopeValue(x,S){return this._extScope.getValue(x,S)}scopeRefs(x){return this._extScope.scopeRefs(x,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(x,S,A,H){const B=this._scope.toName(S);return A!==void 0&&H&&(this._constants[B.str]=A),this._leafNode(new s(x,B,A)),B}const(x,S,A){return this._def(r.varKinds.const,x,S,A)}let(x,S,A){return this._def(r.varKinds.let,x,S,A)}var(x,S,A){return this._def(r.varKinds.var,x,S,A)}assign(x,S,A){return this._leafNode(new a(x,S,A))}add(x,S){return this._leafNode(new c(x,e.operators.ADD,S))}code(x){return typeof x=="function"?x():x!==t.nil&&this._leafNode(new y(x)),this}object(...x){const S=["{"];for(const[A,H]of x)S.length>1&&S.push(","),S.push(A),(A!==H||this.opts.es5)&&(S.push(":"),(0,t.addCodeArg)(S,H));return S.push("}"),new t._Code(S)}if(x,S,A){if(this._blockNode(new b(x)),S&&A)this.code(S).else().code(A).endIf();else if(S)this.code(S).endIf();else if(A)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(x){return this._elseNode(new b(x))}else(){return this._elseNode(new p)}endIf(){return this._endBlockNode(b,p)}_for(x,S){return this._blockNode(x),S&&this.code(S).endFor(),this}for(x,S){return this._for(new g(x),S)}forRange(x,S,A,H,B=this.opts.es5?r.varKinds.var:r.varKinds.let){const ne=this._scope.toName(x);return this._for(new $(B,ne,S,A),()=>H(ne))}forOf(x,S,A,H=r.varKinds.const){const B=this._scope.toName(x);if(this.opts.es5){const ne=S instanceof t.Name?S:this.var("_arr",S);return this.forRange("_i",0,(0,t._)`${ne}.length`,te=>{this.var(B,(0,t._)`${ne}[${te}]`),A(B)})}return this._for(new w("of",H,B,S),()=>A(B))}forIn(x,S,A,H=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,t._)`Object.keys(${S})`,A);const B=this._scope.toName(x);return this._for(new w("in",H,B,S),()=>A(B))}endFor(){return this._endBlockNode(f)}label(x){return this._leafNode(new u(x))}break(x){return this._leafNode(new l(x))}return(x){const S=new _;if(this._blockNode(S),this.code(x),S.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try(x,S,A){if(!S&&!A)throw new Error('CodeGen: "try" without "catch" and "finally"');const H=new E;if(this._blockNode(H),this.code(x),S){const B=this.name("e");this._currNode=H.catch=new P(B),S(B)}return A&&(this._currNode=H.finally=new M,this.code(A)),this._endBlockNode(P,M)}throw(x){return this._leafNode(new d(x))}block(x,S){return this._blockStarts.push(this._nodes.length),x&&this.code(x).endBlock(S),this}endBlock(x){const S=this._blockStarts.pop();if(S===void 0)throw new Error("CodeGen: not in self-balancing block");const A=this._nodes.length-S;if(A<0||x!==void 0&&A!==x)throw new Error(`CodeGen: wrong number of nodes: ${A} vs ${x} expected`);return this._nodes.length=S,this}func(x,S=t.nil,A,H){return this._blockNode(new k(x,S,A)),H&&this.code(H).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(x=1){for(;x-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(x){return this._currNode.nodes.push(x),this}_blockNode(x){this._currNode.nodes.push(x),this._nodes.push(x)}_endBlockNode(x,S){const A=this._currNode;if(A instanceof x||S&&A instanceof S)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${S?`${x.kind}/${S.kind}`:x.kind}"`)}_elseNode(x){const S=this._currNode;if(!(S instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=S.else=x,this}get _root(){return this._nodes[0]}get _currNode(){const x=this._nodes;return x[x.length-1]}set _currNode(x){const S=this._nodes;S[S.length-1]=x}}e.CodeGen=L;function V(R,x){for(const S in x)R[S]=(R[S]||0)+(x[S]||0);return R}function F(R,x){return x instanceof t._CodeOrName?V(R,x.names):R}function D(R,x,S){if(R instanceof t.Name)return A(R);if(!H(R))return R;return new t._Code(R._items.reduce((B,ne)=>(ne instanceof t.Name&&(ne=A(ne)),ne instanceof t._Code?B.push(...ne._items):B.push(ne),B),[]));function A(B){const ne=S[B.str];return ne===void 0||x[B.str]!==1?B:(delete x[B.str],ne)}function H(B){return B instanceof t._Code&&B._items.some(ne=>ne instanceof t.Name&&x[ne.str]===1&&S[ne.str]!==void 0)}}function K(R,x){for(const S in x)R[S]=(R[S]||0)-(x[S]||0)}function J(R){return typeof R=="boolean"||typeof R=="number"||R===null?!R:(0,t._)`!${I(R)}`}e.not=J;const ie=O(e.operators.AND);function G(...R){return R.reduce(ie)}e.and=G;const se=O(e.operators.OR);function z(...R){return R.reduce(se)}e.or=z;function O(R){return(x,S)=>x===t.nil?S:S===t.nil?x:(0,t._)`${I(x)} ${R} ${I(S)}`}function I(R){return R instanceof t.Name?R:(0,t._)`(${R})`}}(qn)),qn}var X={},zi;function re(){if(zi)return X;zi=1,Object.defineProperty(X,"__esModule",{value:!0}),X.checkStrictMode=X.getErrorPath=X.Type=X.useFunc=X.setEvaluated=X.evaluatedPropsToName=X.mergeEvaluated=X.eachItem=X.unescapeJsonPointer=X.escapeJsonPointer=X.escapeFragment=X.unescapeFragment=X.schemaRefOrVal=X.schemaHasRulesButRef=X.schemaHasRules=X.checkUnknownRules=X.alwaysValidSchema=X.toHash=void 0;const e=ee(),t=Zr();function r(w){const k={};for(const _ of w)k[_]=!0;return k}X.toHash=r;function n(w,k){return typeof k=="boolean"?k:Object.keys(k).length===0?!0:(o(w,k),!i(k,w.self.RULES.all))}X.alwaysValidSchema=n;function o(w,k=w.schema){const{opts:_,self:E}=w;if(!_.strictSchema||typeof k=="boolean")return;const P=E.RULES.keywords;for(const M in k)P[M]||$(w,`unknown keyword: "${M}"`)}X.checkUnknownRules=o;function i(w,k){if(typeof w=="boolean")return!w;for(const _ in w)if(k[_])return!0;return!1}X.schemaHasRules=i;function s(w,k){if(typeof w=="boolean")return!w;for(const _ in w)if(_!=="$ref"&&k.all[_])return!0;return!1}X.schemaHasRulesButRef=s;function a({topSchemaRef:w,schemaPath:k},_,E,P){if(!P){if(typeof _=="number"||typeof _=="boolean")return _;if(typeof _=="string")return(0,e._)`${_}`}return(0,e._)`${w}${k}${(0,e.getProperty)(E)}`}X.schemaRefOrVal=a;function c(w){return d(decodeURIComponent(w))}X.unescapeFragment=c;function u(w){return encodeURIComponent(l(w))}X.escapeFragment=u;function l(w){return typeof w=="number"?`${w}`:w.replace(/~/g,"~0").replace(/\//g,"~1")}X.escapeJsonPointer=l;function d(w){return w.replace(/~1/g,"/").replace(/~0/g,"~")}X.unescapeJsonPointer=d;function y(w,k){if(Array.isArray(w))for(const _ of w)k(_);else k(w)}X.eachItem=y;function m({mergeNames:w,mergeToName:k,mergeValues:_,resultToName:E}){return(P,M,L,V)=>{const F=L===void 0?M:L instanceof e.Name?(M instanceof e.Name?w(P,M,L):k(P,M,L),L):M instanceof e.Name?(k(P,L,M),M):_(M,L);return V===e.Name&&!(F instanceof e.Name)?E(P,F):F}}X.mergeEvaluated={props:m({mergeNames:(w,k,_)=>w.if((0,e._)`${_} !== true && ${k} !== undefined`,()=>{w.if((0,e._)`${k} === true`,()=>w.assign(_,!0),()=>w.assign(_,(0,e._)`${_} || {}`).code((0,e._)`Object.assign(${_}, ${k})`))}),mergeToName:(w,k,_)=>w.if((0,e._)`${_} !== true`,()=>{k===!0?w.assign(_,!0):(w.assign(_,(0,e._)`${_} || {}`),h(w,_,k))}),mergeValues:(w,k)=>w===!0?!0:{...w,...k},resultToName:v}),items:m({mergeNames:(w,k,_)=>w.if((0,e._)`${_} !== true && ${k} !== undefined`,()=>w.assign(_,(0,e._)`${k} === true ? true : ${_} > ${k} ? ${_} : ${k}`)),mergeToName:(w,k,_)=>w.if((0,e._)`${_} !== true`,()=>w.assign(_,k===!0?!0:(0,e._)`${_} > ${k} ? ${_} : ${k}`)),mergeValues:(w,k)=>w===!0?!0:Math.max(w,k),resultToName:(w,k)=>w.var("items",k)})};function v(w,k){if(k===!0)return w.var("props",!0);const _=w.var("props",(0,e._)`{}`);return k!==void 0&&h(w,_,k),_}X.evaluatedPropsToName=v;function h(w,k,_){Object.keys(_).forEach(E=>w.assign((0,e._)`${k}${(0,e.getProperty)(E)}`,!0))}X.setEvaluated=h;const p={};function b(w,k){return w.scopeValue("func",{ref:k,code:p[k.code]||(p[k.code]=new t._Code(k.code))})}X.useFunc=b;var f;(function(w){w[w.Num=0]="Num",w[w.Str=1]="Str"})(f||(X.Type=f={}));function g(w,k,_){if(w instanceof e.Name){const E=k===f.Num;return _?E?(0,e._)`"[" + ${w} + "]"`:(0,e._)`"['" + ${w} + "']"`:E?(0,e._)`"/" + ${w}`:(0,e._)`"/" + ${w}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return _?(0,e.getProperty)(w).toString():"/"+l(w)}X.getErrorPath=g;function $(w,k,_=w.opts.strictSchema){if(_){if(k=`strict mode: ${k}`,_===!0)throw new Error(k);w.self.logger.warn(k)}}return X.checkStrictMode=$,X}var Zt={},Li;function Xe(){if(Li)return Zt;Li=1,Object.defineProperty(Zt,"__esModule",{value:!0});const e=ee(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return Zt.default=t,Zt}var qi;function bn(){return qi||(qi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=ee(),r=re(),n=Xe();e.keywordError={message:({keyword:p})=>(0,t.str)`must pass "${p}" keyword validation`},e.keyword$DataError={message:({keyword:p,schemaType:b})=>b?(0,t.str)`"${p}" keyword must be ${b} ($data)`:(0,t.str)`"${p}" keyword is invalid ($data)`};function o(p,b=e.keywordError,f,g){const{it:$}=p,{gen:w,compositeRule:k,allErrors:_}=$,E=d(p,b,f);g??(k||_)?c(w,E):u($,(0,t._)`[${E}]`)}e.reportError=o;function i(p,b=e.keywordError,f){const{it:g}=p,{gen:$,compositeRule:w,allErrors:k}=g,_=d(p,b,f);c($,_),w||k||u(g,n.default.vErrors)}e.reportExtraError=i;function s(p,b){p.assign(n.default.errors,b),p.if((0,t._)`${n.default.vErrors} !== null`,()=>p.if(b,()=>p.assign((0,t._)`${n.default.vErrors}.length`,b),()=>p.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function a({gen:p,keyword:b,schemaValue:f,data:g,errsCount:$,it:w}){if($===void 0)throw new Error("ajv implementation error");const k=p.name("err");p.forRange("i",$,n.default.errors,_=>{p.const(k,(0,t._)`${n.default.vErrors}[${_}]`),p.if((0,t._)`${k}.instancePath === undefined`,()=>p.assign((0,t._)`${k}.instancePath`,(0,t.strConcat)(n.default.instancePath,w.errorPath))),p.assign((0,t._)`${k}.schemaPath`,(0,t.str)`${w.errSchemaPath}/${b}`),w.opts.verbose&&(p.assign((0,t._)`${k}.schema`,f),p.assign((0,t._)`${k}.data`,g))})}e.extendErrors=a;function c(p,b){const f=p.const("err",b);p.if((0,t._)`${n.default.vErrors} === null`,()=>p.assign(n.default.vErrors,(0,t._)`[${f}]`),(0,t._)`${n.default.vErrors}.push(${f})`),p.code((0,t._)`${n.default.errors}++`)}function u(p,b){const{gen:f,validateName:g,schemaEnv:$}=p;$.$async?f.throw((0,t._)`new ${p.ValidationError}(${b})`):(f.assign((0,t._)`${g}.errors`,b),f.return(!1))}const l={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function d(p,b,f){const{createErrors:g}=p.it;return g===!1?(0,t._)`{}`:y(p,b,f)}function y(p,b,f={}){const{gen:g,it:$}=p,w=[m($,f),v(p,f)];return h(p,b,w),g.object(...w)}function m({errorPath:p},{instancePath:b}){const f=b?(0,t.str)`${p}${(0,r.getErrorPath)(b,r.Type.Str)}`:p;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,f)]}function v({keyword:p,it:{errSchemaPath:b}},{schemaPath:f,parentSchema:g}){let $=g?b:(0,t.str)`${b}/${p}`;return f&&($=(0,t.str)`${$}${(0,r.getErrorPath)(f,r.Type.Str)}`),[l.schemaPath,$]}function h(p,{params:b,message:f},g){const{keyword:$,data:w,schemaValue:k,it:_}=p,{opts:E,propertyName:P,topSchemaRef:M,schemaPath:L}=_;g.push([l.keyword,$],[l.params,typeof b=="function"?b(p):b||(0,t._)`{}`]),E.messages&&g.push([l.message,typeof f=="function"?f(p):f]),E.verbose&&g.push([l.schema,k],[l.parentSchema,(0,t._)`${M}${L}`],[n.default.data,w]),P&&g.push([l.propertyName,P])}}(Ln)),Ln}var Di;function pd(){if(Di)return Ye;Di=1,Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.boolOrEmptySchema=Ye.topBoolOrEmptySchema=void 0;const e=bn(),t=ee(),r=Xe(),n={message:"boolean schema is false"};function o(a){const{gen:c,schema:u,validateName:l}=a;u===!1?s(a,!1):typeof u=="object"&&u.$async===!0?c.return(r.default.data):(c.assign((0,t._)`${l}.errors`,null),c.return(!0))}Ye.topBoolOrEmptySchema=o;function i(a,c){const{gen:u,schema:l}=a;l===!1?(u.var(c,!1),s(a)):u.var(c,!0)}Ye.boolOrEmptySchema=i;function s(a,c){const{gen:u,data:l}=a,d={gen:u,keyword:"false schema",data:l,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,e.reportError)(d,n,void 0,c)}return Ye}var ge={},Qe={},Vi;function Rc(){if(Vi)return Qe;Vi=1,Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.getRules=Qe.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function r(o){return typeof o=="string"&&t.has(o)}Qe.isJSONType=r;function n(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...o,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}return Qe.getRules=n,Qe}var Le={},Ui;function Tc(){if(Ui)return Le;Ui=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.shouldUseRule=Le.shouldUseGroup=Le.schemaHasRulesForType=void 0;function e({schema:n,self:o},i){const s=o.RULES.types[i];return s&&s!==!0&&t(n,s)}Le.schemaHasRulesForType=e;function t(n,o){return o.rules.some(i=>r(n,i))}Le.shouldUseGroup=t;function r(n,o){var i;return n[o.keyword]!==void 0||((i=o.definition.implements)===null||i===void 0?void 0:i.some(s=>n[s]!==void 0))}return Le.shouldUseRule=r,Le}var Hi;function en(){if(Hi)return ge;Hi=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.reportTypeError=ge.checkDataTypes=ge.checkDataType=ge.coerceAndCheckDataType=ge.getJSONTypes=ge.getSchemaTypes=ge.DataType=void 0;const e=Rc(),t=Tc(),r=bn(),n=ee(),o=re();var i;(function(f){f[f.Correct=0]="Correct",f[f.Wrong=1]="Wrong"})(i||(ge.DataType=i={}));function s(f){const g=a(f.type);if(g.includes("null")){if(f.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!g.length&&f.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');f.nullable===!0&&g.push("null")}return g}ge.getSchemaTypes=s;function a(f){const g=Array.isArray(f)?f:f?[f]:[];if(g.every(e.isJSONType))return g;throw new Error("type must be JSONType or JSONType[]: "+g.join(","))}ge.getJSONTypes=a;function c(f,g){const{gen:$,data:w,opts:k}=f,_=l(g,k.coerceTypes),E=g.length>0&&!(_.length===0&&g.length===1&&(0,t.schemaHasRulesForType)(f,g[0]));if(E){const P=v(g,w,k.strictNumbers,i.Wrong);$.if(P,()=>{_.length?d(f,g,_):p(f)})}return E}ge.coerceAndCheckDataType=c;const u=new Set(["string","number","integer","boolean","null"]);function l(f,g){return g?f.filter($=>u.has($)||g==="array"&&$==="array"):[]}function d(f,g,$){const{gen:w,data:k,opts:_}=f,E=w.let("dataType",(0,n._)`typeof ${k}`),P=w.let("coerced",(0,n._)`undefined`);_.coerceTypes==="array"&&w.if((0,n._)`${E} == 'object' && Array.isArray(${k}) && ${k}.length == 1`,()=>w.assign(k,(0,n._)`${k}[0]`).assign(E,(0,n._)`typeof ${k}`).if(v(g,k,_.strictNumbers),()=>w.assign(P,k))),w.if((0,n._)`${P} !== undefined`);for(const L of $)(u.has(L)||L==="array"&&_.coerceTypes==="array")&&M(L);w.else(),p(f),w.endIf(),w.if((0,n._)`${P} !== undefined`,()=>{w.assign(k,P),y(f,P)});function M(L){switch(L){case"string":w.elseIf((0,n._)`${E} == "number" || ${E} == "boolean"`).assign(P,(0,n._)`"" + ${k}`).elseIf((0,n._)`${k} === null`).assign(P,(0,n._)`""`);return;case"number":w.elseIf((0,n._)`${E} == "boolean" || ${k} === null
8
+ }`}function If(e){return e?e.min===e.max?`${e.min}`:`${e.min} ${e.max}`:"400"}function Mf(e,t){return{name:e,getImportUrl(r){const n=i=>{const s=i.map(c=>c[0]),a=i.map(c=>c[1]);return`${s.join(";")};${a.join(";")}`},o=r.map(i=>{let s=i.name.replace(/\s+/g,"+");return i.weights?.length&&(s+=i.italic?`:ital,wght@${n(i.weights.map(a=>[`0,${a}`,`1,${a}`]))}`:`:wght@${i.weights.join(";")}`),`family=${s}`}).join("&");return`${t}/css2?${o}&display=swap`}}}const Ff=Mf("google","https://fonts.googleapis.com"),zf={name:"none",getPreflight(){return""},getFontName(e){return e.name}},Lf={google:Ff,bunny:jf,fontshare:Rf,fontsource:Nf,coollabs:Of,none:zf};function Ei(e){return typeof e=="string"?Lf[e]:e}function qf(e,t){if(typeof e!="string")return e.provider=Ei(e.provider||t),e.weights&&(e.weights=[...new Set(e.weights.sort((o,i)=>o.toString().localeCompare(i.toString(),"en",{numeric:!0})))]),e;const[r,n=""]=e.split(":");return{name:r,weights:[...new Set(n.split(/[,;]\s*/).filter(Boolean).sort((o,i)=>o.localeCompare(i,"en",{numeric:!0})))],provider:Ei(t)}}function Df(e){return(t={})=>{const{provider:r="google",extendTheme:n=!0,inlineImports:o=!0,customFetch:i=e,timeouts:s={}}=t,a="fonts",c=o?a:vc,u=ae(t.processors||[]),l=Object.fromEntries(Object.entries(t.fonts||{}).map(([f,g])=>[f,ae(g).map($=>qf($,r))])),d=Object.values(l).flatMap(f=>f),y={};async function m(f){if(s===!1)return i(f);const{warning:g=1e3,failure:$=2e3}=s;let w=!1;const k=setTimeout(()=>{console.warn(`[unocss] Fetching web fonts: ${f}`),w=!0},g);return await Promise.race([i(f),new Promise((_,E)=>{setTimeout(()=>E(new Error("[unocss] Fetch web fonts timeout.")),$)})]).then(_=>(w&&console.info("[unocss] Web fonts fetched."),_)).finally(()=>clearTimeout(k))}async function v(f){return o?(y[f]||(y[f]=m(f).catch(g=>{if(console.error(`[unocss] Failed to fetch web fonts: ${f}`),console.error(g),typeof process<"u"&&Ef.CI)throw g})),await y[f]):`@import url('${f}');`}const h=Array.from(new Set(d.map(f=>f.provider)));async function p(f,g){const $=[];for(const k of g){const _=f.filter(E=>E.provider.name===k.name);if(k.getImportUrl){const E=k.getImportUrl(_);E&&$.push(await v(E))}$.push(await k.getPreflight?.(_))}return $.filter(Boolean).join(`
9
+ `)}const b={name:"@unocss/preset-web-fonts",preflights:[{async getCSS(){let f;for(const g of u){const $=await g.getCSS?.(d,h,p);if($){f=$;break}}f||(f=await p(d,h));for(const g of u)f=await g.transformCSS?.(f)||f;return f},layer:c}],layers:{[a]:-200}};return n&&(b.extendTheme=(f,g)=>{const $=g.presets.some(_=>_.name==="@unocss/preset-wind4"),w=t.themeKey??($?"font":"fontFamily");f[w]||(f[w]={});const k=Object.fromEntries(Object.entries(l).map(([_,E])=>[_,E.map(P=>P.provider.getFontName?.(P)??`"${P.name}"`)]));for(const _ of Object.keys(k))typeof f[w][_]=="string"?f[w][_]=k[_].map(E=>`${E},`).join("")+f[w][_]:f[w][_]=k[_].join(",")}),b}}const Vf="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",Uf=async e=>(await ot(async()=>{const{$fetch:t}=await Promise.resolve().then(()=>vo);return{$fetch:t}},void 0,import.meta.url)).$fetch(e,{headers:{"User-Agent":Vf},retry:3}),Hf=Df(Uf);function Wf(e){return e.replace(/-(\w)/g,(t,r)=>r?r.toUpperCase():"")}function Ci(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ji(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}var Pi=["Webkit","Moz","ms"];function Bf(e){const t={};function r(n){const o=t[n];if(o)return o;let i=Wf(n);if(i!=="filter"&&i in e)return t[n]=ji(i);i=Ci(i);for(let s=0;s<Pi.length;s++){const a=`${Pi[s]}${i}`;if(a in e)return t[n]=ji(Ci(a))}return n}return({entries:n})=>n.forEach(o=>{o[0].startsWith("--")||(o[0]=r(o[0]))})}function Kf(e){return e.replace(/&amp;/g,"&").replace(/&gt;/g,">").replace(/&lt;/g,"<")}async function Gf(e={}){if(typeof window>"u"){console.warn("@unocss/runtime been used in non-browser environment, skipped.");return}const t=window,r=window.document,n=()=>r.documentElement,o=t.__unocss||{},i=Object.assign({},e,o.runtime),s=i.defaults||{},a=i.cloakAttribute??"un-cloak";i.autoPrefix&&(s.postprocess=ae(s.postprocess)).unshift(Bf(r.createElement("div").style)),i.configResolved?.(o,s);const c=await kf(o,s),u=F=>i.inject?i.inject(F):n().prepend(F),l=()=>i.rootElement?i.rootElement():r.body,d=new Map;let y=!0;const m=new Set;let v,h,p=[];const b=()=>new Promise(F=>{p.push(F),h!=null&&clearTimeout(h),h=setTimeout(()=>$().then(()=>{const D=p;p=[],D.forEach(K=>K())}),0)});function f(F,D=!1){if(F.nodeType!==1)return;const K=F;K.hasAttribute(a)&&K.removeAttribute(a),D&&K.querySelectorAll(`[${a}]`).forEach(J=>{J.removeAttribute(a)})}function g(F,D){let K=d.get(F);if(!K)if(K=r.createElement("style"),K.setAttribute("data-unocss-runtime-layer",F),d.set(F,K),D==null)u(K);else{const J=g(D),ie=J.parentNode;ie?ie.insertBefore(K,J.nextSibling):u(K)}return K}async function $(){const F=[...m],D=await c.generate(F);return D.layers.reduce((J,ie)=>(g(ie,J).innerHTML=D.getLayer(ie)??"",ie),void 0),F.filter(J=>!D.matched.has(J)).forEach(J=>m.delete(J)),{...D,getStyleElement:J=>d.get(J),getStyleElements:()=>d}}async function w(F){const D=m.size;await c.applyExtractors(F,void 0,m),D!==m.size&&await b()}async function k(F=l()){const D=F&&F.outerHTML;D&&(await w(`${D} ${Kf(D)}`),f(n()),f(F,!0))}const _=new MutationObserver(F=>{y||F.forEach(async D=>{if(D.target.nodeType!==1)return;const K=D.target;for(const J of d)if(K===J[1])return;if(D.type==="childList")D.addedNodes.forEach(async J=>{if(J.nodeType!==1)return;const ie=J;v&&!v(ie)||(await w(ie.outerHTML),f(ie))});else{if(v&&!v(K))return;if(D.attributeName!==a){const J=Array.from(K.attributes).map(G=>G.value?`${G.name}="${G.value}"`:G.name).join(" "),ie=`<${K.tagName.toLowerCase()} ${J}>`;await w(ie)}f(K)}})});let E=!1;function P(){if(E)return;const F=i.observer?.target?i.observer.target():l();F&&(_.observe(F,{childList:!0,subtree:!0,attributes:!0,attributeFilter:i.observer?.attributeFilter}),E=!0)}function M(){i.bypassDefined&&Jf(c.blocked),k(),P()}function L(){r.readyState==="loading"?t.addEventListener("DOMContentLoaded",M):M()}const V=t.__unocss_runtime=t.__unocss_runtime={version:c.version,uno:c,async extract(F){le(F)||(F.forEach(D=>m.add(D)),F=""),await w(F)},extractAll:k,inspect(F){v=F},toggleObserver(F){F===void 0?y=!y:y=!!F,!E&&!y&&L()},update:$,presets:t.__unocss_runtime?.presets??{}};i.ready?.(V)!==!1&&(y=!1,L())}function Jf(e=new Set){for(let t=0;t<document.styleSheets.length;t++){const r=document.styleSheets[t];let n;try{if(n=r.cssRules||r.rules,!n)continue;Array.from(n).flatMap(o=>o.selectorText?.split(/,/g)||[]).forEach(o=>{o&&(o=o.trim(),o.startsWith(".")&&(o=o.slice(1)),e.add(o))})}catch{continue}}return e}function gn(e){return Ql()?(Zl(e),!0):!1}function Oi(e){if(!zt(e))return Xe(e);const t=new Proxy({},{get(r,n,o){return sc(Reflect.get(e.value,n,o))},set(r,n,o){return zt(e.value[n])&&!zt(o)?e.value[n].value=o:e.value[n]=o,!0},deleteProperty(r,n){return Reflect.deleteProperty(e.value,n)},has(r,n){return Reflect.has(e.value,n)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Xe(t)}const Cc=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const jc=e=>e!=null,Xf=Object.prototype.toString,Yf=e=>Xf.call(e)==="[object Object]",He=()=>{};function Pc(e,t){function r(...n){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(i)})}return r}function Qf(e,t={}){let r,n,o=He;const i=c=>{clearTimeout(c),o(),o=He};let s;return c=>{const u=be(e),l=be(t.maxWait);return r&&i(r),u<=0||l!==void 0&&l<=0?(n&&(i(n),n=void 0),Promise.resolve(c())):new Promise((d,y)=>{o=t.rejectOnCancel?y:d,s=c,l&&!n&&(n=setTimeout(()=>{r&&i(r),n=void 0,d(s())},l)),r=setTimeout(()=>{n&&i(n),n=void 0,d(c())},u)})}}function Zf(...e){let t=0,r,n=!0,o=He,i,s,a,c,u;!zt(e[0])&&typeof e[0]=="object"?{delay:s,trailing:a=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[s,a=!0,c=!0,u=!1]=e;const l=()=>{r&&(clearTimeout(r),r=void 0,o(),o=He)};return y=>{const m=be(s),v=Date.now()-t,h=()=>i=y();return l(),m<=0?(t=Date.now(),h()):(v>m&&(c||!n)?(t=Date.now(),h()):a&&(i=new Promise((p,b)=>{o=u?b:p,r=setTimeout(()=>{t=Date.now(),n=!0,p(h()),l()},Math.max(0,m-v))})),!c&&!r&&(r=setTimeout(()=>n=!0,m)),n=!1,i)}}function Lt(e){return Array.isArray(e)?e:[e]}function ed(e){return Io()}function td(e,t=200,r={}){return Pc(Qf(t,r),e)}function rd(e,t=200,r=!1,n=!0,o=!1){return Pc(Zf(t,r,n,o),e)}function Oc(e,t=!0,r){ed()?Mo(e,r):t?e():Fo(e)}function nd(e,t,r){return Fe(e,t,{...r,immediate:!0})}const yn=Cc?window:void 0,od=Cc?window.document:void 0;function gt(e){var t;const r=be(e);return(t=r?.$el)!=null?t:r}function Ri(...e){const t=[],r=()=>{t.forEach(a=>a()),t.length=0},n=(a,c,u,l)=>(a.addEventListener(c,u,l),()=>a.removeEventListener(c,u,l)),o=pe(()=>{const a=Lt(be(e[0])).filter(c=>c!=null);return a.every(c=>typeof c!="string")?a:void 0}),i=nd(()=>{var a,c;return[(c=(a=o.value)==null?void 0:a.map(u=>gt(u)))!=null?c:[yn].filter(u=>u!=null),Lt(be(o.value?e[1]:e[0])),Lt(sc(o.value?e[2]:e[1])),be(o.value?e[3]:e[2])]},([a,c,u,l])=>{if(r(),!a?.length||!c?.length||!u?.length)return;const d=Yf(l)?{...l}:l;t.push(...a.flatMap(y=>c.flatMap(m=>u.map(v=>n(y,m,v,d)))))},{flush:"post"}),s=()=>{i(),r()};return gn(r),s}function id(){const e=Je(!1),t=Io();return t&&Mo(()=>{e.value=!0},t),e}function Rc(e){const t=id();return pe(()=>(t.value,!!e()))}function sd(e,t,r={}){const{window:n=yn,...o}=r;let i;const s=Rc(()=>n&&"MutationObserver"in n),a=()=>{i&&(i.disconnect(),i=void 0)},c=pe(()=>{const y=be(e),m=Lt(y).map(gt).filter(jc);return new Set(m)}),u=Fe(()=>c.value,y=>{a(),s.value&&y.size&&(i=new MutationObserver(t),y.forEach(m=>i.observe(m,o)))},{immediate:!0,flush:"post"}),l=()=>i?.takeRecords(),d=()=>{u(),a()};return gn(d),{isSupported:s,stop:d,takeRecords:l}}function L$(e,t,r={}){const{root:n,rootMargin:o="0px",threshold:i=0,window:s=yn,immediate:a=!0}=r,c=Rc(()=>s&&"IntersectionObserver"in s),u=pe(()=>{const v=be(e);return Lt(v).map(gt).filter(jc)});let l=He;const d=Je(a),y=c.value?Fe(()=>[u.value,gt(n),d.value],([v,h])=>{if(l(),!d.value||!v.length)return;const p=new IntersectionObserver(t,{root:gt(h),rootMargin:o,threshold:i});v.forEach(b=>b&&p.observe(b)),l=()=>{p.disconnect(),l=He}},{immediate:a,flush:"post"}):He,m=()=>{l(),y(),d.value=!1};return gn(m),{isSupported:c,isActive:d,pause(){l(),d.value=!1},resume(){d.value=!0},stop:m}}const Ti=1;function q$(e,t={}){const{throttle:r=0,idle:n=200,onStop:o=He,onScroll:i=He,offset:s={left:0,right:0,top:0,bottom:0},observe:a={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:u="auto",window:l=yn,onError:d=P=>{console.error(P)}}=t,y=typeof a=="boolean"?{mutation:a}:a,m=Je(0),v=Je(0),h=pe({get(){return m.value},set(P){b(P,void 0)}}),p=pe({get(){return v.value},set(P){b(void 0,P)}});function b(P,M){var L,V,F,D;if(!l)return;const K=be(e);if(!K)return;(F=K instanceof Document?l.document.body:K)==null||F.scrollTo({top:(L=be(M))!=null?L:p.value,left:(V=be(P))!=null?V:h.value,behavior:be(u)});const J=((D=K?.document)==null?void 0:D.documentElement)||K?.documentElement||K;h!=null&&(m.value=J.scrollLeft),p!=null&&(v.value=J.scrollTop)}const f=Je(!1),g=Xe({left:!0,right:!1,top:!0,bottom:!1}),$=Xe({left:!1,right:!1,top:!1,bottom:!1}),w=P=>{f.value&&(f.value=!1,$.left=!1,$.right=!1,$.top=!1,$.bottom=!1,o(P))},k=td(w,r+n),_=P=>{var M;if(!l)return;const L=((M=P?.document)==null?void 0:M.documentElement)||P?.documentElement||gt(P),{display:V,flexDirection:F,direction:D}=getComputedStyle(L),K=D==="rtl"?-1:1,J=L.scrollLeft;$.left=J<m.value,$.right=J>m.value;const ie=Math.abs(J*K)<=(s.left||0),G=Math.abs(J*K)+L.clientWidth>=L.scrollWidth-(s.right||0)-Ti;V==="flex"&&F==="row-reverse"?(g.left=G,g.right=ie):(g.left=ie,g.right=G),m.value=J;let se=L.scrollTop;P===l.document&&!se&&(se=l.document.body.scrollTop),$.top=se<v.value,$.bottom=se>v.value;const z=Math.abs(se)<=(s.top||0),O=Math.abs(se)+L.clientHeight>=L.scrollHeight-(s.bottom||0)-Ti;V==="flex"&&F==="column-reverse"?(g.top=O,g.bottom=z):(g.top=z,g.bottom=O),v.value=se},E=P=>{var M;if(!l)return;const L=(M=P.target.documentElement)!=null?M:P.target;_(L),f.value=!0,k(P),i(P)};return Ri(e,"scroll",r?rd(E,r,!0,!1):E,c),Oc(()=>{try{const P=be(e);if(!P)return;_(P)}catch(P){d(P)}}),y?.mutation&&e!=null&&e!==l&&e!==document&&sd(e,()=>{const P=be(e);P&&_(P)},{attributes:!0,childList:!0,subtree:!0}),Ri(e,"scrollend",w,c),{x:h,y:p,isScrolling:f,arrivedState:g,directions:$,measure(){const P=be(e);l&&P&&_(P)}}}let ad=0;function cd(e,t={}){const r=Je(!1),{document:n=od,immediate:o=!0,manual:i=!1,id:s=`vueuse_styletag_${++ad}`}=t,a=Je(e);let c=()=>{};const u=()=>{if(!n)return;const d=n.getElementById(s)||n.createElement("style");d.isConnected||(d.id=s,t.nonce&&(d.nonce=t.nonce),t.media&&(d.media=t.media),n.head.appendChild(d)),!r.value&&(c=Fe(a,y=>{d.textContent=y},{immediate:!0}),r.value=!0)},l=()=>{!n||!r.value||(c(),n.head.removeChild(n.getElementById(s)),r.value=!1)};return o&&!i&&Oc(u),i||gn(l),{id:s,css:a,unload:l,load:u,isLoaded:eu(r)}}const ye=[];for(let e=0;e<256;++e)ye.push((e+256).toString(16).slice(1));function ld(e,t=0){return(ye[e[t+0]]+ye[e[t+1]]+ye[e[t+2]]+ye[e[t+3]]+"-"+ye[e[t+4]]+ye[e[t+5]]+"-"+ye[e[t+6]]+ye[e[t+7]]+"-"+ye[e[t+8]]+ye[e[t+9]]+"-"+ye[e[t+10]]+ye[e[t+11]]+ye[e[t+12]]+ye[e[t+13]]+ye[e[t+14]]+ye[e[t+15]]).toLowerCase()}let Fn;const ud=new Uint8Array(16);function fd(){if(!Fn){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Fn=crypto.getRandomValues.bind(crypto)}return Fn(ud)}const dd=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Ai={randomUUID:dd};function qo(e,t,r){if(Ai.randomUUID&&!t&&!e)return Ai.randomUUID();e=e||{};const n=e.random??e.rng?.()??fd();if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){if(r=r||0,r<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let o=0;o<16;++o)t[r+o]=n[o];return t}return ld(n)}const pd=(e,{branch:t="branch",children:r="children",id:n="id",index:o="index",next:i="next",parent:s="parent",prev:a="prev",siblings:c="siblings"}={})=>{const u={[t]:{get(){const m=[this];for(;m[0]?.[s];)m.unshift(m[0][s]);return m}},[o]:{get(){return this[c].findIndex(m=>this[n]===m[n])}},[i]:{get(){return this[c][this[o]+1]}},[a]:{get(){return this[c][this[o]-1]}}},l=(m,v={})=>m.value.flatMap(h=>(Object.defineProperties(h,{...u,[s]:v,[c]:m}),[h,...l({configurable:!0,value:h[r]??[]},{configurable:!0,value:h})])),d=pe(()=>l({value:tu(e)?e:Xe(e)})),y=Oi(pe(()=>Object.fromEntries(d.value.map(m=>[m[n],m]))));return{add:m=>{const v=y[m];if(v){const h=v[r],p=v[o],b=v[c],f=qo();switch(!0){case!!v[s]:b.splice(p+1,0,{[n]:f});break;case!!h:h.unshift({[n]:f});break;default:b.splice(p+1,0,{[n]:f});break}return f}},arrLeaves:Oi(d),down:m=>{const v=y[m];if(v){const h=v[o],p=h+1,b=v[c];h<b.length-1&&b[h]&&b[p]&&([b[h],b[p]]=[b[p],b[h]])}},leaves:d,left:m=>{const v=y[m];if(v){const h=v[s];if(h?.[s]){const p=h[r]??[];return h[c].splice(h[o]+1,0,...p.splice(v[o],1)),h[n]}}},objLeaves:y,remove:m=>{const v=y[m];if(v){const h=v[s];if(h){const[p]=d.value,b=v[i],f=v[a],g=b?.[n]??f?.[n]??h[n]??p?.[n];return v[c].splice(v[o],1),g}}},right:m=>{const v=y[m];if(v){const h=v[a];if(h){const p=h[r]??[],b=h[n],f=v[c];return h[r]=[...p,...f.splice(v[o],1)],b}}},up:m=>{const v=y[m];if(v){const h=v[o],p=h-1,b=v[c];h&&b[h]&&b[p]&&([b[p],b[h]]=[b[h],b[p]])}}}};var Qt={exports:{}},zn={},Le={},Qe={},Ln={},qn={},Dn={},Ni;function Zr(){return Ni||(Ni=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class t{}e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends t{constructor(f){if(super(),!e.IDENTIFIER.test(f))throw new Error("CodeGen: name must be a valid identifier");this.str=f}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=r;class n extends t{constructor(f){super(),this._items=typeof f=="string"?[f]:f}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const f=this._items[0];return f===""||f==='""'}get str(){var f;return(f=this._str)!==null&&f!==void 0?f:this._str=this._items.reduce((g,$)=>`${g}${$}`,"")}get names(){var f;return(f=this._names)!==null&&f!==void 0?f:this._names=this._items.reduce((g,$)=>($ instanceof r&&(g[$.str]=(g[$.str]||0)+1),g),{})}}e._Code=n,e.nil=new n("");function o(b,...f){const g=[b[0]];let $=0;for(;$<f.length;)a(g,f[$]),g.push(b[++$]);return new n(g)}e._=o;const i=new n("+");function s(b,...f){const g=[m(b[0])];let $=0;for(;$<f.length;)g.push(i),a(g,f[$]),g.push(i,m(b[++$]));return c(g),new n(g)}e.str=s;function a(b,f){f instanceof n?b.push(...f._items):f instanceof r?b.push(f):b.push(d(f))}e.addCodeArg=a;function c(b){let f=1;for(;f<b.length-1;){if(b[f]===i){const g=u(b[f-1],b[f+1]);if(g!==void 0){b.splice(f-1,3,g);continue}b[f++]="+"}f++}}function u(b,f){if(f==='""')return b;if(b==='""')return f;if(typeof b=="string")return f instanceof r||b[b.length-1]!=='"'?void 0:typeof f!="string"?`${b.slice(0,-1)}${f}"`:f[0]==='"'?b.slice(0,-1)+f.slice(1):void 0;if(typeof f=="string"&&f[0]==='"'&&!(b instanceof r))return`"${b}${f.slice(1)}`}function l(b,f){return f.emptyStr()?b:b.emptyStr()?f:s`${b}${f}`}e.strConcat=l;function d(b){return typeof b=="number"||typeof b=="boolean"||b===null?b:m(Array.isArray(b)?b.join(","):b)}function y(b){return new n(m(b))}e.stringify=y;function m(b){return JSON.stringify(b).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=m;function v(b){return typeof b=="string"&&e.IDENTIFIER.test(b)?new n(`.${b}`):o`[${b}]`}e.getProperty=v;function h(b){if(typeof b=="string"&&e.IDENTIFIER.test(b))return new n(`${b}`);throw new Error(`CodeGen: invalid export name: ${b}, use explicit $id name mapping`)}e.getEsmExportName=h;function p(b){return new n(b.toString())}e.regexpCode=p}(Dn)),Dn}var Vn={},Ii;function Mi(){return Ii||(Ii=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const t=Zr();class r extends Error{constructor(u){super(`CodeGen: "code" for ${u} not defined`),this.value=u.value}}var n;(function(c){c[c.Started=0]="Started",c[c.Completed=1]="Completed"})(n||(e.UsedValueState=n={})),e.varKinds={const:new t.Name("const"),let:new t.Name("let"),var:new t.Name("var")};class o{constructor({prefixes:u,parent:l}={}){this._names={},this._prefixes=u,this._parent=l}toName(u){return u instanceof t.Name?u:this.name(u)}name(u){return new t.Name(this._newName(u))}_newName(u){const l=this._names[u]||this._nameGroup(u);return`${u}${l.index++}`}_nameGroup(u){var l,d;if(!((d=(l=this._parent)===null||l===void 0?void 0:l._prefixes)===null||d===void 0)&&d.has(u)||this._prefixes&&!this._prefixes.has(u))throw new Error(`CodeGen: prefix "${u}" is not allowed in this scope`);return this._names[u]={prefix:u,index:0}}}e.Scope=o;class i extends t.Name{constructor(u,l){super(l),this.prefix=u}setValue(u,{property:l,itemIndex:d}){this.value=u,this.scopePath=(0,t._)`.${new t.Name(l)}[${d}]`}}e.ValueScopeName=i;const s=(0,t._)`\n`;class a extends o{constructor(u){super(u),this._values={},this._scope=u.scope,this.opts={...u,_n:u.lines?s:t.nil}}get(){return this._scope}name(u){return new i(u,this._newName(u))}value(u,l){var d;if(l.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const y=this.toName(u),{prefix:m}=y,v=(d=l.key)!==null&&d!==void 0?d:l.ref;let h=this._values[m];if(h){const f=h.get(v);if(f)return f}else h=this._values[m]=new Map;h.set(v,y);const p=this._scope[m]||(this._scope[m]=[]),b=p.length;return p[b]=l.ref,y.setValue(l,{property:m,itemIndex:b}),y}getValue(u,l){const d=this._values[u];if(d)return d.get(l)}scopeRefs(u,l=this._values){return this._reduceValues(l,d=>{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${u}${d.scopePath}`})}scopeCode(u=this._values,l,d){return this._reduceValues(u,y=>{if(y.value===void 0)throw new Error(`CodeGen: name "${y}" has no value`);return y.value.code},l,d)}_reduceValues(u,l,d={},y){let m=t.nil;for(const v in u){const h=u[v];if(!h)continue;const p=d[v]=d[v]||new Map;h.forEach(b=>{if(p.has(b))return;p.set(b,n.Started);let f=l(b);if(f){const g=this.opts.es5?e.varKinds.var:e.varKinds.const;m=(0,t._)`${m}${g} ${b} = ${f};${this.opts._n}`}else if(f=y?.(b))m=(0,t._)`${m}${f}${this.opts._n}`;else throw new r(b);p.set(b,n.Completed)})}return m}}e.ValueScope=a}(Vn)),Vn}var Fi;function ee(){return Fi||(Fi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Zr(),r=Mi();var n=Zr();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var o=Mi();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class i{optimizeNodes(){return this}optimizeNames(x,S){return this}}class s extends i{constructor(x,S,A){super(),this.varKind=x,this.name=S,this.rhs=A}render({es5:x,_n:S}){const A=x?r.varKinds.var:this.varKind,H=this.rhs===void 0?"":` = ${this.rhs}`;return`${A} ${this.name}${H};`+S}optimizeNames(x,S){if(x[this.name.str])return this.rhs&&(this.rhs=D(this.rhs,x,S)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends i{constructor(x,S,A){super(),this.lhs=x,this.rhs=S,this.sideEffects=A}render({_n:x}){return`${this.lhs} = ${this.rhs};`+x}optimizeNames(x,S){if(!(this.lhs instanceof t.Name&&!x[this.lhs.str]&&!this.sideEffects))return this.rhs=D(this.rhs,x,S),this}get names(){const x=this.lhs instanceof t.Name?{}:{...this.lhs.names};return F(x,this.rhs)}}class c extends a{constructor(x,S,A,H){super(x,A,H),this.op=S}render({_n:x}){return`${this.lhs} ${this.op}= ${this.rhs};`+x}}class u extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`${this.label}:`+x}}class l extends i{constructor(x){super(),this.label=x,this.names={}}render({_n:x}){return`break${this.label?` ${this.label}`:""};`+x}}class d extends i{constructor(x){super(),this.error=x}render({_n:x}){return`throw ${this.error};`+x}get names(){return this.error.names}}class y extends i{constructor(x){super(),this.code=x}render({_n:x}){return`${this.code};`+x}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(x,S){return this.code=D(this.code,x,S),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class m extends i{constructor(x=[]){super(),this.nodes=x}render(x){return this.nodes.reduce((S,A)=>S+A.render(x),"")}optimizeNodes(){const{nodes:x}=this;let S=x.length;for(;S--;){const A=x[S].optimizeNodes();Array.isArray(A)?x.splice(S,1,...A):A?x[S]=A:x.splice(S,1)}return x.length>0?this:void 0}optimizeNames(x,S){const{nodes:A}=this;let H=A.length;for(;H--;){const B=A[H];B.optimizeNames(x,S)||(K(x,B.names),A.splice(H,1))}return A.length>0?this:void 0}get names(){return this.nodes.reduce((x,S)=>V(x,S.names),{})}}class v extends m{render(x){return"{"+x._n+super.render(x)+"}"+x._n}}class h extends m{}class p extends v{}p.kind="else";class b extends v{constructor(x,S){super(S),this.condition=x}render(x){let S=`if(${this.condition})`+super.render(x);return this.else&&(S+="else "+this.else.render(x)),S}optimizeNodes(){super.optimizeNodes();const x=this.condition;if(x===!0)return this.nodes;let S=this.else;if(S){const A=S.optimizeNodes();S=this.else=Array.isArray(A)?new p(A):A}if(S)return x===!1?S instanceof b?S:S.nodes:this.nodes.length?this:new b(J(x),S instanceof b?[S]:S.nodes);if(!(x===!1||!this.nodes.length))return this}optimizeNames(x,S){var A;if(this.else=(A=this.else)===null||A===void 0?void 0:A.optimizeNames(x,S),!!(super.optimizeNames(x,S)||this.else))return this.condition=D(this.condition,x,S),this}get names(){const x=super.names;return F(x,this.condition),this.else&&V(x,this.else.names),x}}b.kind="if";class f extends v{}f.kind="for";class g extends f{constructor(x){super(),this.iteration=x}render(x){return`for(${this.iteration})`+super.render(x)}optimizeNames(x,S){if(super.optimizeNames(x,S))return this.iteration=D(this.iteration,x,S),this}get names(){return V(super.names,this.iteration.names)}}class $ extends f{constructor(x,S,A,H){super(),this.varKind=x,this.name=S,this.from=A,this.to=H}render(x){const S=x.es5?r.varKinds.var:this.varKind,{name:A,from:H,to:B}=this;return`for(${S} ${A}=${H}; ${A}<${B}; ${A}++)`+super.render(x)}get names(){const x=F(super.names,this.from);return F(x,this.to)}}class w extends f{constructor(x,S,A,H){super(),this.loop=x,this.varKind=S,this.name=A,this.iterable=H}render(x){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(x)}optimizeNames(x,S){if(super.optimizeNames(x,S))return this.iterable=D(this.iterable,x,S),this}get names(){return V(super.names,this.iterable.names)}}class k extends v{constructor(x,S,A){super(),this.name=x,this.args=S,this.async=A}render(x){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(x)}}k.kind="func";class _ extends m{render(x){return"return "+super.render(x)}}_.kind="return";class E extends v{render(x){let S="try"+super.render(x);return this.catch&&(S+=this.catch.render(x)),this.finally&&(S+=this.finally.render(x)),S}optimizeNodes(){var x,S;return super.optimizeNodes(),(x=this.catch)===null||x===void 0||x.optimizeNodes(),(S=this.finally)===null||S===void 0||S.optimizeNodes(),this}optimizeNames(x,S){var A,H;return super.optimizeNames(x,S),(A=this.catch)===null||A===void 0||A.optimizeNames(x,S),(H=this.finally)===null||H===void 0||H.optimizeNames(x,S),this}get names(){const x=super.names;return this.catch&&V(x,this.catch.names),this.finally&&V(x,this.finally.names),x}}class P extends v{constructor(x){super(),this.error=x}render(x){return`catch(${this.error})`+super.render(x)}}P.kind="catch";class M extends v{render(x){return"finally"+super.render(x)}}M.kind="finally";class L{constructor(x,S={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...S,_n:S.lines?`
10
+ `:""},this._extScope=x,this._scope=new r.Scope({parent:x}),this._nodes=[new h]}toString(){return this._root.render(this.opts)}name(x){return this._scope.name(x)}scopeName(x){return this._extScope.name(x)}scopeValue(x,S){const A=this._extScope.value(x,S);return(this._values[A.prefix]||(this._values[A.prefix]=new Set)).add(A),A}getScopeValue(x,S){return this._extScope.getValue(x,S)}scopeRefs(x){return this._extScope.scopeRefs(x,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(x,S,A,H){const B=this._scope.toName(S);return A!==void 0&&H&&(this._constants[B.str]=A),this._leafNode(new s(x,B,A)),B}const(x,S,A){return this._def(r.varKinds.const,x,S,A)}let(x,S,A){return this._def(r.varKinds.let,x,S,A)}var(x,S,A){return this._def(r.varKinds.var,x,S,A)}assign(x,S,A){return this._leafNode(new a(x,S,A))}add(x,S){return this._leafNode(new c(x,e.operators.ADD,S))}code(x){return typeof x=="function"?x():x!==t.nil&&this._leafNode(new y(x)),this}object(...x){const S=["{"];for(const[A,H]of x)S.length>1&&S.push(","),S.push(A),(A!==H||this.opts.es5)&&(S.push(":"),(0,t.addCodeArg)(S,H));return S.push("}"),new t._Code(S)}if(x,S,A){if(this._blockNode(new b(x)),S&&A)this.code(S).else().code(A).endIf();else if(S)this.code(S).endIf();else if(A)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(x){return this._elseNode(new b(x))}else(){return this._elseNode(new p)}endIf(){return this._endBlockNode(b,p)}_for(x,S){return this._blockNode(x),S&&this.code(S).endFor(),this}for(x,S){return this._for(new g(x),S)}forRange(x,S,A,H,B=this.opts.es5?r.varKinds.var:r.varKinds.let){const ne=this._scope.toName(x);return this._for(new $(B,ne,S,A),()=>H(ne))}forOf(x,S,A,H=r.varKinds.const){const B=this._scope.toName(x);if(this.opts.es5){const ne=S instanceof t.Name?S:this.var("_arr",S);return this.forRange("_i",0,(0,t._)`${ne}.length`,te=>{this.var(B,(0,t._)`${ne}[${te}]`),A(B)})}return this._for(new w("of",H,B,S),()=>A(B))}forIn(x,S,A,H=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(x,(0,t._)`Object.keys(${S})`,A);const B=this._scope.toName(x);return this._for(new w("in",H,B,S),()=>A(B))}endFor(){return this._endBlockNode(f)}label(x){return this._leafNode(new u(x))}break(x){return this._leafNode(new l(x))}return(x){const S=new _;if(this._blockNode(S),this.code(x),S.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try(x,S,A){if(!S&&!A)throw new Error('CodeGen: "try" without "catch" and "finally"');const H=new E;if(this._blockNode(H),this.code(x),S){const B=this.name("e");this._currNode=H.catch=new P(B),S(B)}return A&&(this._currNode=H.finally=new M,this.code(A)),this._endBlockNode(P,M)}throw(x){return this._leafNode(new d(x))}block(x,S){return this._blockStarts.push(this._nodes.length),x&&this.code(x).endBlock(S),this}endBlock(x){const S=this._blockStarts.pop();if(S===void 0)throw new Error("CodeGen: not in self-balancing block");const A=this._nodes.length-S;if(A<0||x!==void 0&&A!==x)throw new Error(`CodeGen: wrong number of nodes: ${A} vs ${x} expected`);return this._nodes.length=S,this}func(x,S=t.nil,A,H){return this._blockNode(new k(x,S,A)),H&&this.code(H).endFunc(),this}endFunc(){return this._endBlockNode(k)}optimize(x=1){for(;x-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(x){return this._currNode.nodes.push(x),this}_blockNode(x){this._currNode.nodes.push(x),this._nodes.push(x)}_endBlockNode(x,S){const A=this._currNode;if(A instanceof x||S&&A instanceof S)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${S?`${x.kind}/${S.kind}`:x.kind}"`)}_elseNode(x){const S=this._currNode;if(!(S instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=S.else=x,this}get _root(){return this._nodes[0]}get _currNode(){const x=this._nodes;return x[x.length-1]}set _currNode(x){const S=this._nodes;S[S.length-1]=x}}e.CodeGen=L;function V(R,x){for(const S in x)R[S]=(R[S]||0)+(x[S]||0);return R}function F(R,x){return x instanceof t._CodeOrName?V(R,x.names):R}function D(R,x,S){if(R instanceof t.Name)return A(R);if(!H(R))return R;return new t._Code(R._items.reduce((B,ne)=>(ne instanceof t.Name&&(ne=A(ne)),ne instanceof t._Code?B.push(...ne._items):B.push(ne),B),[]));function A(B){const ne=S[B.str];return ne===void 0||x[B.str]!==1?B:(delete x[B.str],ne)}function H(B){return B instanceof t._Code&&B._items.some(ne=>ne instanceof t.Name&&x[ne.str]===1&&S[ne.str]!==void 0)}}function K(R,x){for(const S in x)R[S]=(R[S]||0)-(x[S]||0)}function J(R){return typeof R=="boolean"||typeof R=="number"||R===null?!R:(0,t._)`!${I(R)}`}e.not=J;const ie=O(e.operators.AND);function G(...R){return R.reduce(ie)}e.and=G;const se=O(e.operators.OR);function z(...R){return R.reduce(se)}e.or=z;function O(R){return(x,S)=>x===t.nil?S:S===t.nil?x:(0,t._)`${I(x)} ${R} ${I(S)}`}function I(R){return R instanceof t.Name?R:(0,t._)`(${R})`}}(qn)),qn}var X={},zi;function re(){if(zi)return X;zi=1,Object.defineProperty(X,"__esModule",{value:!0}),X.checkStrictMode=X.getErrorPath=X.Type=X.useFunc=X.setEvaluated=X.evaluatedPropsToName=X.mergeEvaluated=X.eachItem=X.unescapeJsonPointer=X.escapeJsonPointer=X.escapeFragment=X.unescapeFragment=X.schemaRefOrVal=X.schemaHasRulesButRef=X.schemaHasRules=X.checkUnknownRules=X.alwaysValidSchema=X.toHash=void 0;const e=ee(),t=Zr();function r(w){const k={};for(const _ of w)k[_]=!0;return k}X.toHash=r;function n(w,k){return typeof k=="boolean"?k:Object.keys(k).length===0?!0:(o(w,k),!i(k,w.self.RULES.all))}X.alwaysValidSchema=n;function o(w,k=w.schema){const{opts:_,self:E}=w;if(!_.strictSchema||typeof k=="boolean")return;const P=E.RULES.keywords;for(const M in k)P[M]||$(w,`unknown keyword: "${M}"`)}X.checkUnknownRules=o;function i(w,k){if(typeof w=="boolean")return!w;for(const _ in w)if(k[_])return!0;return!1}X.schemaHasRules=i;function s(w,k){if(typeof w=="boolean")return!w;for(const _ in w)if(_!=="$ref"&&k.all[_])return!0;return!1}X.schemaHasRulesButRef=s;function a({topSchemaRef:w,schemaPath:k},_,E,P){if(!P){if(typeof _=="number"||typeof _=="boolean")return _;if(typeof _=="string")return(0,e._)`${_}`}return(0,e._)`${w}${k}${(0,e.getProperty)(E)}`}X.schemaRefOrVal=a;function c(w){return d(decodeURIComponent(w))}X.unescapeFragment=c;function u(w){return encodeURIComponent(l(w))}X.escapeFragment=u;function l(w){return typeof w=="number"?`${w}`:w.replace(/~/g,"~0").replace(/\//g,"~1")}X.escapeJsonPointer=l;function d(w){return w.replace(/~1/g,"/").replace(/~0/g,"~")}X.unescapeJsonPointer=d;function y(w,k){if(Array.isArray(w))for(const _ of w)k(_);else k(w)}X.eachItem=y;function m({mergeNames:w,mergeToName:k,mergeValues:_,resultToName:E}){return(P,M,L,V)=>{const F=L===void 0?M:L instanceof e.Name?(M instanceof e.Name?w(P,M,L):k(P,M,L),L):M instanceof e.Name?(k(P,L,M),M):_(M,L);return V===e.Name&&!(F instanceof e.Name)?E(P,F):F}}X.mergeEvaluated={props:m({mergeNames:(w,k,_)=>w.if((0,e._)`${_} !== true && ${k} !== undefined`,()=>{w.if((0,e._)`${k} === true`,()=>w.assign(_,!0),()=>w.assign(_,(0,e._)`${_} || {}`).code((0,e._)`Object.assign(${_}, ${k})`))}),mergeToName:(w,k,_)=>w.if((0,e._)`${_} !== true`,()=>{k===!0?w.assign(_,!0):(w.assign(_,(0,e._)`${_} || {}`),h(w,_,k))}),mergeValues:(w,k)=>w===!0?!0:{...w,...k},resultToName:v}),items:m({mergeNames:(w,k,_)=>w.if((0,e._)`${_} !== true && ${k} !== undefined`,()=>w.assign(_,(0,e._)`${k} === true ? true : ${_} > ${k} ? ${_} : ${k}`)),mergeToName:(w,k,_)=>w.if((0,e._)`${_} !== true`,()=>w.assign(_,k===!0?!0:(0,e._)`${_} > ${k} ? ${_} : ${k}`)),mergeValues:(w,k)=>w===!0?!0:Math.max(w,k),resultToName:(w,k)=>w.var("items",k)})};function v(w,k){if(k===!0)return w.var("props",!0);const _=w.var("props",(0,e._)`{}`);return k!==void 0&&h(w,_,k),_}X.evaluatedPropsToName=v;function h(w,k,_){Object.keys(_).forEach(E=>w.assign((0,e._)`${k}${(0,e.getProperty)(E)}`,!0))}X.setEvaluated=h;const p={};function b(w,k){return w.scopeValue("func",{ref:k,code:p[k.code]||(p[k.code]=new t._Code(k.code))})}X.useFunc=b;var f;(function(w){w[w.Num=0]="Num",w[w.Str=1]="Str"})(f||(X.Type=f={}));function g(w,k,_){if(w instanceof e.Name){const E=k===f.Num;return _?E?(0,e._)`"[" + ${w} + "]"`:(0,e._)`"['" + ${w} + "']"`:E?(0,e._)`"/" + ${w}`:(0,e._)`"/" + ${w}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return _?(0,e.getProperty)(w).toString():"/"+l(w)}X.getErrorPath=g;function $(w,k,_=w.opts.strictSchema){if(_){if(k=`strict mode: ${k}`,_===!0)throw new Error(k);w.self.logger.warn(k)}}return X.checkStrictMode=$,X}var Zt={},Li;function Ye(){if(Li)return Zt;Li=1,Object.defineProperty(Zt,"__esModule",{value:!0});const e=ee(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return Zt.default=t,Zt}var qi;function bn(){return qi||(qi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=ee(),r=re(),n=Ye();e.keywordError={message:({keyword:p})=>(0,t.str)`must pass "${p}" keyword validation`},e.keyword$DataError={message:({keyword:p,schemaType:b})=>b?(0,t.str)`"${p}" keyword must be ${b} ($data)`:(0,t.str)`"${p}" keyword is invalid ($data)`};function o(p,b=e.keywordError,f,g){const{it:$}=p,{gen:w,compositeRule:k,allErrors:_}=$,E=d(p,b,f);g??(k||_)?c(w,E):u($,(0,t._)`[${E}]`)}e.reportError=o;function i(p,b=e.keywordError,f){const{it:g}=p,{gen:$,compositeRule:w,allErrors:k}=g,_=d(p,b,f);c($,_),w||k||u(g,n.default.vErrors)}e.reportExtraError=i;function s(p,b){p.assign(n.default.errors,b),p.if((0,t._)`${n.default.vErrors} !== null`,()=>p.if(b,()=>p.assign((0,t._)`${n.default.vErrors}.length`,b),()=>p.assign(n.default.vErrors,null)))}e.resetErrorsCount=s;function a({gen:p,keyword:b,schemaValue:f,data:g,errsCount:$,it:w}){if($===void 0)throw new Error("ajv implementation error");const k=p.name("err");p.forRange("i",$,n.default.errors,_=>{p.const(k,(0,t._)`${n.default.vErrors}[${_}]`),p.if((0,t._)`${k}.instancePath === undefined`,()=>p.assign((0,t._)`${k}.instancePath`,(0,t.strConcat)(n.default.instancePath,w.errorPath))),p.assign((0,t._)`${k}.schemaPath`,(0,t.str)`${w.errSchemaPath}/${b}`),w.opts.verbose&&(p.assign((0,t._)`${k}.schema`,f),p.assign((0,t._)`${k}.data`,g))})}e.extendErrors=a;function c(p,b){const f=p.const("err",b);p.if((0,t._)`${n.default.vErrors} === null`,()=>p.assign(n.default.vErrors,(0,t._)`[${f}]`),(0,t._)`${n.default.vErrors}.push(${f})`),p.code((0,t._)`${n.default.errors}++`)}function u(p,b){const{gen:f,validateName:g,schemaEnv:$}=p;$.$async?f.throw((0,t._)`new ${p.ValidationError}(${b})`):(f.assign((0,t._)`${g}.errors`,b),f.return(!1))}const l={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function d(p,b,f){const{createErrors:g}=p.it;return g===!1?(0,t._)`{}`:y(p,b,f)}function y(p,b,f={}){const{gen:g,it:$}=p,w=[m($,f),v(p,f)];return h(p,b,w),g.object(...w)}function m({errorPath:p},{instancePath:b}){const f=b?(0,t.str)`${p}${(0,r.getErrorPath)(b,r.Type.Str)}`:p;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,f)]}function v({keyword:p,it:{errSchemaPath:b}},{schemaPath:f,parentSchema:g}){let $=g?b:(0,t.str)`${b}/${p}`;return f&&($=(0,t.str)`${$}${(0,r.getErrorPath)(f,r.Type.Str)}`),[l.schemaPath,$]}function h(p,{params:b,message:f},g){const{keyword:$,data:w,schemaValue:k,it:_}=p,{opts:E,propertyName:P,topSchemaRef:M,schemaPath:L}=_;g.push([l.keyword,$],[l.params,typeof b=="function"?b(p):b||(0,t._)`{}`]),E.messages&&g.push([l.message,typeof f=="function"?f(p):f]),E.verbose&&g.push([l.schema,k],[l.parentSchema,(0,t._)`${M}${L}`],[n.default.data,w]),P&&g.push([l.propertyName,P])}}(Ln)),Ln}var Di;function hd(){if(Di)return Qe;Di=1,Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.boolOrEmptySchema=Qe.topBoolOrEmptySchema=void 0;const e=bn(),t=ee(),r=Ye(),n={message:"boolean schema is false"};function o(a){const{gen:c,schema:u,validateName:l}=a;u===!1?s(a,!1):typeof u=="object"&&u.$async===!0?c.return(r.default.data):(c.assign((0,t._)`${l}.errors`,null),c.return(!0))}Qe.topBoolOrEmptySchema=o;function i(a,c){const{gen:u,schema:l}=a;l===!1?(u.var(c,!1),s(a)):u.var(c,!0)}Qe.boolOrEmptySchema=i;function s(a,c){const{gen:u,data:l}=a,d={gen:u,keyword:"false schema",data:l,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,e.reportError)(d,n,void 0,c)}return Qe}var ge={},Ze={},Vi;function Tc(){if(Vi)return Ze;Vi=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.getRules=Ze.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function r(o){return typeof o=="string"&&t.has(o)}Ze.isJSONType=r;function n(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...o,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}return Ze.getRules=n,Ze}var qe={},Ui;function Ac(){if(Ui)return qe;Ui=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.shouldUseRule=qe.shouldUseGroup=qe.schemaHasRulesForType=void 0;function e({schema:n,self:o},i){const s=o.RULES.types[i];return s&&s!==!0&&t(n,s)}qe.schemaHasRulesForType=e;function t(n,o){return o.rules.some(i=>r(n,i))}qe.shouldUseGroup=t;function r(n,o){var i;return n[o.keyword]!==void 0||((i=o.definition.implements)===null||i===void 0?void 0:i.some(s=>n[s]!==void 0))}return qe.shouldUseRule=r,qe}var Hi;function en(){if(Hi)return ge;Hi=1,Object.defineProperty(ge,"__esModule",{value:!0}),ge.reportTypeError=ge.checkDataTypes=ge.checkDataType=ge.coerceAndCheckDataType=ge.getJSONTypes=ge.getSchemaTypes=ge.DataType=void 0;const e=Tc(),t=Ac(),r=bn(),n=ee(),o=re();var i;(function(f){f[f.Correct=0]="Correct",f[f.Wrong=1]="Wrong"})(i||(ge.DataType=i={}));function s(f){const g=a(f.type);if(g.includes("null")){if(f.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!g.length&&f.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');f.nullable===!0&&g.push("null")}return g}ge.getSchemaTypes=s;function a(f){const g=Array.isArray(f)?f:f?[f]:[];if(g.every(e.isJSONType))return g;throw new Error("type must be JSONType or JSONType[]: "+g.join(","))}ge.getJSONTypes=a;function c(f,g){const{gen:$,data:w,opts:k}=f,_=l(g,k.coerceTypes),E=g.length>0&&!(_.length===0&&g.length===1&&(0,t.schemaHasRulesForType)(f,g[0]));if(E){const P=v(g,w,k.strictNumbers,i.Wrong);$.if(P,()=>{_.length?d(f,g,_):p(f)})}return E}ge.coerceAndCheckDataType=c;const u=new Set(["string","number","integer","boolean","null"]);function l(f,g){return g?f.filter($=>u.has($)||g==="array"&&$==="array"):[]}function d(f,g,$){const{gen:w,data:k,opts:_}=f,E=w.let("dataType",(0,n._)`typeof ${k}`),P=w.let("coerced",(0,n._)`undefined`);_.coerceTypes==="array"&&w.if((0,n._)`${E} == 'object' && Array.isArray(${k}) && ${k}.length == 1`,()=>w.assign(k,(0,n._)`${k}[0]`).assign(E,(0,n._)`typeof ${k}`).if(v(g,k,_.strictNumbers),()=>w.assign(P,k))),w.if((0,n._)`${P} !== undefined`);for(const L of $)(u.has(L)||L==="array"&&_.coerceTypes==="array")&&M(L);w.else(),p(f),w.endIf(),w.if((0,n._)`${P} !== undefined`,()=>{w.assign(k,P),y(f,P)});function M(L){switch(L){case"string":w.elseIf((0,n._)`${E} == "number" || ${E} == "boolean"`).assign(P,(0,n._)`"" + ${k}`).elseIf((0,n._)`${k} === null`).assign(P,(0,n._)`""`);return;case"number":w.elseIf((0,n._)`${E} == "boolean" || ${k} === null
11
11
  || (${E} == "string" && ${k} && ${k} == +${k})`).assign(P,(0,n._)`+${k}`);return;case"integer":w.elseIf((0,n._)`${E} === "boolean" || ${k} === null
12
12
  || (${E} === "string" && ${k} && ${k} == +${k} && !(${k} % 1))`).assign(P,(0,n._)`+${k}`);return;case"boolean":w.elseIf((0,n._)`${k} === "false" || ${k} === 0 || ${k} === null`).assign(P,!1).elseIf((0,n._)`${k} === "true" || ${k} === 1`).assign(P,!0);return;case"null":w.elseIf((0,n._)`${k} === "" || ${k} === 0 || ${k} === false`),w.assign(P,null);return;case"array":w.elseIf((0,n._)`${E} === "string" || ${E} === "number"
13
- || ${E} === "boolean" || ${k} === null`).assign(P,(0,n._)`[${k}]`)}}}function y({gen:f,parentData:g,parentDataProperty:$},w){f.if((0,n._)`${g} !== undefined`,()=>f.assign((0,n._)`${g}[${$}]`,w))}function m(f,g,$,w=i.Correct){const k=w===i.Correct?n.operators.EQ:n.operators.NEQ;let _;switch(f){case"null":return(0,n._)`${g} ${k} null`;case"array":_=(0,n._)`Array.isArray(${g})`;break;case"object":_=(0,n._)`${g} && typeof ${g} == "object" && !Array.isArray(${g})`;break;case"integer":_=E((0,n._)`!(${g} % 1) && !isNaN(${g})`);break;case"number":_=E();break;default:return(0,n._)`typeof ${g} ${k} ${f}`}return w===i.Correct?_:(0,n.not)(_);function E(P=n.nil){return(0,n.and)((0,n._)`typeof ${g} == "number"`,P,$?(0,n._)`isFinite(${g})`:n.nil)}}ge.checkDataType=m;function v(f,g,$,w){if(f.length===1)return m(f[0],g,$,w);let k;const _=(0,o.toHash)(f);if(_.array&&_.object){const E=(0,n._)`typeof ${g} != "object"`;k=_.null?E:(0,n._)`!${g} || ${E}`,delete _.null,delete _.array,delete _.object}else k=n.nil;_.number&&delete _.integer;for(const E in _)k=(0,n.and)(k,m(E,g,$,w));return k}ge.checkDataTypes=v;const h={message:({schema:f})=>`must be ${f}`,params:({schema:f,schemaValue:g})=>typeof f=="string"?(0,n._)`{type: ${f}}`:(0,n._)`{type: ${g}}`};function p(f){const g=b(f);(0,r.reportError)(g,h)}ge.reportTypeError=p;function b(f){const{gen:g,data:$,schema:w}=f,k=(0,o.schemaRefOrVal)(f,w,"type");return{gen:g,keyword:"type",data:$,schema:w.type,schemaCode:k,schemaValue:k,parentSchema:w,params:{},it:f}}return ge}var St={},Wi;function hd(){if(Wi)return St;Wi=1,Object.defineProperty(St,"__esModule",{value:!0}),St.assignDefaults=void 0;const e=ee(),t=re();function r(o,i){const{properties:s,items:a}=o.schema;if(i==="object"&&s)for(const c in s)n(o,c,s[c].default);else i==="array"&&Array.isArray(a)&&a.forEach((c,u)=>n(o,u,c.default))}St.assignDefaults=r;function n(o,i,s){const{gen:a,compositeRule:c,data:u,opts:l}=o;if(s===void 0)return;const d=(0,e._)`${u}${(0,e.getProperty)(i)}`;if(c){(0,t.checkStrictMode)(o,`default is ignored for: ${d}`);return}let y=(0,e._)`${d} === undefined`;l.useDefaults==="empty"&&(y=(0,e._)`${y} || ${d} === null || ${d} === ""`),a.if(y,(0,e._)`${d} = ${(0,e.stringify)(s)}`)}return St}var Re={},oe={},Bi;function Ie(){if(Bi)return oe;Bi=1,Object.defineProperty(oe,"__esModule",{value:!0}),oe.validateUnion=oe.validateArray=oe.usePattern=oe.callValidateCode=oe.schemaProperties=oe.allSchemaProperties=oe.noPropertyInData=oe.propertyInData=oe.isOwnProperty=oe.hasPropFunc=oe.reportMissingProp=oe.checkMissingProp=oe.checkReportMissingProp=void 0;const e=ee(),t=re(),r=Xe(),n=re();function o(f,g){const{gen:$,data:w,it:k}=f;$.if(l($,w,g,k.opts.ownProperties),()=>{f.setParams({missingProperty:(0,e._)`${g}`},!0),f.error()})}oe.checkReportMissingProp=o;function i({gen:f,data:g,it:{opts:$}},w,k){return(0,e.or)(...w.map(_=>(0,e.and)(l(f,g,_,$.ownProperties),(0,e._)`${k} = ${_}`)))}oe.checkMissingProp=i;function s(f,g){f.setParams({missingProperty:g},!0),f.error()}oe.reportMissingProp=s;function a(f){return f.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}oe.hasPropFunc=a;function c(f,g,$){return(0,e._)`${a(f)}.call(${g}, ${$})`}oe.isOwnProperty=c;function u(f,g,$,w){const k=(0,e._)`${g}${(0,e.getProperty)($)} !== undefined`;return w?(0,e._)`${k} && ${c(f,g,$)}`:k}oe.propertyInData=u;function l(f,g,$,w){const k=(0,e._)`${g}${(0,e.getProperty)($)} === undefined`;return w?(0,e.or)(k,(0,e.not)(c(f,g,$))):k}oe.noPropertyInData=l;function d(f){return f?Object.keys(f).filter(g=>g!=="__proto__"):[]}oe.allSchemaProperties=d;function y(f,g){return d(g).filter($=>!(0,t.alwaysValidSchema)(f,g[$]))}oe.schemaProperties=y;function m({schemaCode:f,data:g,it:{gen:$,topSchemaRef:w,schemaPath:k,errorPath:_},it:E},P,M,L){const V=L?(0,e._)`${f}, ${g}, ${w}${k}`:g,F=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,_)],[r.default.parentData,E.parentData],[r.default.parentDataProperty,E.parentDataProperty],[r.default.rootData,r.default.rootData]];E.opts.dynamicRef&&F.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const D=(0,e._)`${V}, ${$.object(...F)}`;return M!==e.nil?(0,e._)`${P}.call(${M}, ${D})`:(0,e._)`${P}(${D})`}oe.callValidateCode=m;const v=(0,e._)`new RegExp`;function h({gen:f,it:{opts:g}},$){const w=g.unicodeRegExp?"u":"",{regExp:k}=g.code,_=k($,w);return f.scopeValue("pattern",{key:_.toString(),ref:_,code:(0,e._)`${k.code==="new RegExp"?v:(0,n.useFunc)(f,k)}(${$}, ${w})`})}oe.usePattern=h;function p(f){const{gen:g,data:$,keyword:w,it:k}=f,_=g.name("valid");if(k.allErrors){const P=g.let("valid",!0);return E(()=>g.assign(P,!1)),P}return g.var(_,!0),E(()=>g.break()),_;function E(P){const M=g.const("len",(0,e._)`${$}.length`);g.forRange("i",0,M,L=>{f.subschema({keyword:w,dataProp:L,dataPropType:t.Type.Num},_),g.if((0,e.not)(_),P)})}}oe.validateArray=p;function b(f){const{gen:g,schema:$,keyword:w,it:k}=f;if(!Array.isArray($))throw new Error("ajv implementation error");if($.some(M=>(0,t.alwaysValidSchema)(k,M))&&!k.opts.unevaluated)return;const E=g.let("valid",!1),P=g.name("_valid");g.block(()=>$.forEach((M,L)=>{const V=f.subschema({keyword:w,schemaProp:L,compositeRule:!0},P);g.assign(E,(0,e._)`${E} || ${P}`),f.mergeValidEvaluated(V,P)||g.if((0,e.not)(E))})),f.result(E,()=>f.reset(),()=>f.error(!0))}return oe.validateUnion=b,oe}var Ki;function md(){if(Ki)return Re;Ki=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.validateKeywordUsage=Re.validSchemaType=Re.funcKeywordCode=Re.macroKeywordCode=void 0;const e=ee(),t=Xe(),r=Ie(),n=bn();function o(y,m){const{gen:v,keyword:h,schema:p,parentSchema:b,it:f}=y,g=m.macro.call(f.self,p,b,f),$=u(v,h,g);f.opts.validateSchema!==!1&&f.self.validateSchema(g,!0);const w=v.name("valid");y.subschema({schema:g,schemaPath:e.nil,errSchemaPath:`${f.errSchemaPath}/${h}`,topSchemaRef:$,compositeRule:!0},w),y.pass(w,()=>y.error(!0))}Re.macroKeywordCode=o;function i(y,m){var v;const{gen:h,keyword:p,schema:b,parentSchema:f,$data:g,it:$}=y;c($,m);const w=!g&&m.compile?m.compile.call($.self,b,f,$):m.validate,k=u(h,p,w),_=h.let("valid");y.block$data(_,E),y.ok((v=m.valid)!==null&&v!==void 0?v:_);function E(){if(m.errors===!1)L(),m.modifying&&s(y),V(()=>y.error());else{const F=m.async?P():M();m.modifying&&s(y),V(()=>a(y,F))}}function P(){const F=h.let("ruleErrs",null);return h.try(()=>L((0,e._)`await `),D=>h.assign(_,!1).if((0,e._)`${D} instanceof ${$.ValidationError}`,()=>h.assign(F,(0,e._)`${D}.errors`),()=>h.throw(D))),F}function M(){const F=(0,e._)`${k}.errors`;return h.assign(F,null),L(e.nil),F}function L(F=m.async?(0,e._)`await `:e.nil){const D=$.opts.passContext?t.default.this:t.default.self,K=!("compile"in m&&!g||m.schema===!1);h.assign(_,(0,e._)`${F}${(0,r.callValidateCode)(y,k,D,K)}`,m.modifying)}function V(F){var D;h.if((0,e.not)((D=m.valid)!==null&&D!==void 0?D:_),F)}}Re.funcKeywordCode=i;function s(y){const{gen:m,data:v,it:h}=y;m.if(h.parentData,()=>m.assign(v,(0,e._)`${h.parentData}[${h.parentDataProperty}]`))}function a(y,m){const{gen:v}=y;v.if((0,e._)`Array.isArray(${m})`,()=>{v.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${m} : ${t.default.vErrors}.concat(${m})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(y)},()=>y.error())}function c({schemaEnv:y},m){if(m.async&&!y.$async)throw new Error("async keyword in sync schema")}function u(y,m,v){if(v===void 0)throw new Error(`keyword "${m}" failed to compile`);return y.scopeValue("keyword",typeof v=="function"?{ref:v}:{ref:v,code:(0,e.stringify)(v)})}function l(y,m,v=!1){return!m.length||m.some(h=>h==="array"?Array.isArray(y):h==="object"?y&&typeof y=="object"&&!Array.isArray(y):typeof y==h||v&&typeof y>"u")}Re.validSchemaType=l;function d({schema:y,opts:m,self:v,errSchemaPath:h},p,b){if(Array.isArray(p.keyword)?!p.keyword.includes(b):p.keyword!==b)throw new Error("ajv implementation error");const f=p.dependencies;if(f?.some(g=>!Object.prototype.hasOwnProperty.call(y,g)))throw new Error(`parent schema must have dependencies of ${b}: ${f.join(",")}`);if(p.validateSchema&&!p.validateSchema(y[b])){const $=`keyword "${b}" value is invalid at path "${h}": `+v.errorsText(p.validateSchema.errors);if(m.validateSchema==="log")v.logger.error($);else throw new Error($)}}return Re.validateKeywordUsage=d,Re}var qe={},Gi;function gd(){if(Gi)return qe;Gi=1,Object.defineProperty(qe,"__esModule",{value:!0}),qe.extendSubschemaMode=qe.extendSubschemaData=qe.getSubschema=void 0;const e=ee(),t=re();function r(i,{keyword:s,schemaProp:a,schema:c,schemaPath:u,errSchemaPath:l,topSchemaRef:d}){if(s!==void 0&&c!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(s!==void 0){const y=i.schema[s];return a===void 0?{schema:y,schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(s)}`,errSchemaPath:`${i.errSchemaPath}/${s}`}:{schema:y[a],schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(s)}${(0,e.getProperty)(a)}`,errSchemaPath:`${i.errSchemaPath}/${s}/${(0,t.escapeFragment)(a)}`}}if(c!==void 0){if(u===void 0||l===void 0||d===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:c,schemaPath:u,topSchemaRef:d,errSchemaPath:l}}throw new Error('either "keyword" or "schema" must be passed')}qe.getSubschema=r;function n(i,s,{dataProp:a,dataPropType:c,data:u,dataTypes:l,propertyName:d}){if(u!==void 0&&a!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:y}=s;if(a!==void 0){const{errorPath:v,dataPathArr:h,opts:p}=s,b=y.let("data",(0,e._)`${s.data}${(0,e.getProperty)(a)}`,!0);m(b),i.errorPath=(0,e.str)`${v}${(0,t.getErrorPath)(a,c,p.jsPropertySyntax)}`,i.parentDataProperty=(0,e._)`${a}`,i.dataPathArr=[...h,i.parentDataProperty]}if(u!==void 0){const v=u instanceof e.Name?u:y.let("data",u,!0);m(v),d!==void 0&&(i.propertyName=d)}l&&(i.dataTypes=l);function m(v){i.data=v,i.dataLevel=s.dataLevel+1,i.dataTypes=[],s.definedProperties=new Set,i.parentData=s.data,i.dataNames=[...s.dataNames,v]}}qe.extendSubschemaData=n;function o(i,{jtdDiscriminator:s,jtdMetadata:a,compositeRule:c,createErrors:u,allErrors:l}){c!==void 0&&(i.compositeRule=c),u!==void 0&&(i.createErrors=u),l!==void 0&&(i.allErrors=l),i.jtdDiscriminator=s,i.jtdMetadata=a}return qe.extendSubschemaMode=o,qe}var $e={},Un,Ji;function Ac(){return Ji||(Ji=1,Un=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;o--!==0;){var s=i[o];if(!e(t[s],r[s]))return!1}return!0}return t!==t&&r!==r}),Un}var Hn={exports:{}},Xi;function yd(){if(Xi)return Hn.exports;Xi=1;var e=Hn.exports=function(n,o,i){typeof o=="function"&&(i=o,o={}),i=o.cb||i;var s=typeof i=="function"?i:i.pre||function(){},a=i.post||function(){};t(o,s,a,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,o,i,s,a,c,u,l,d,y){if(s&&typeof s=="object"&&!Array.isArray(s)){o(s,a,c,u,l,d,y);for(var m in s){var v=s[m];if(Array.isArray(v)){if(m in e.arrayKeywords)for(var h=0;h<v.length;h++)t(n,o,i,v[h],a+"/"+m+"/"+h,c,a,m,s,h)}else if(m in e.propsKeywords){if(v&&typeof v=="object")for(var p in v)t(n,o,i,v[p],a+"/"+m+"/"+r(p),c,a,m,s,p)}else(m in e.keywords||n.allKeys&&!(m in e.skipKeywords))&&t(n,o,i,v,a+"/"+m,c,a,m,s)}i(s,a,c,u,l,d,y)}}function r(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}return Hn.exports}var Yi;function vn(){if(Yi)return $e;Yi=1,Object.defineProperty($e,"__esModule",{value:!0}),$e.getSchemaRefs=$e.resolveUrl=$e.normalizeId=$e._getFullPath=$e.getFullPath=$e.inlineRef=void 0;const e=re(),t=Ac(),r=yd(),n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function o(h,p=!0){return typeof h=="boolean"?!0:p===!0?!s(h):p?a(h)<=p:!1}$e.inlineRef=o;const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function s(h){for(const p in h){if(i.has(p))return!0;const b=h[p];if(Array.isArray(b)&&b.some(s)||typeof b=="object"&&s(b))return!0}return!1}function a(h){let p=0;for(const b in h){if(b==="$ref")return 1/0;if(p++,!n.has(b)&&(typeof h[b]=="object"&&(0,e.eachItem)(h[b],f=>p+=a(f)),p===1/0))return 1/0}return p}function c(h,p="",b){b!==!1&&(p=d(p));const f=h.parse(p);return u(h,f)}$e.getFullPath=c;function u(h,p){return h.serialize(p).split("#")[0]+"#"}$e._getFullPath=u;const l=/#\/?$/;function d(h){return h?h.replace(l,""):""}$e.normalizeId=d;function y(h,p,b){return b=d(b),h.resolve(p,b)}$e.resolveUrl=y;const m=/^[a-z_][-a-z0-9._]*$/i;function v(h,p){if(typeof h=="boolean")return{};const{schemaId:b,uriResolver:f}=this.opts,g=d(h[b]||p),$={"":g},w=c(f,g,!1),k={},_=new Set;return r(h,{allKeys:!0},(M,L,V,F)=>{if(F===void 0)return;const D=w+L;let K=$[F];typeof M[b]=="string"&&(K=J.call(this,M[b])),ie.call(this,M.$anchor),ie.call(this,M.$dynamicAnchor),$[L]=K;function J(G){const se=this.opts.uriResolver.resolve;if(G=d(K?se(K,G):G),_.has(G))throw P(G);_.add(G);let z=this.refs[G];return typeof z=="string"&&(z=this.refs[z]),typeof z=="object"?E(M,z.schema,G):G!==d(D)&&(G[0]==="#"?(E(M,k[G],G),k[G]=M):this.refs[G]=D),G}function ie(G){if(typeof G=="string"){if(!m.test(G))throw new Error(`invalid anchor "${G}"`);J.call(this,`#${G}`)}}}),k;function E(M,L,V){if(L!==void 0&&!t(M,L))throw P(V)}function P(M){return new Error(`reference "${M}" resolves to more than one schema`)}}return $e.getSchemaRefs=v,$e}var Qi;function $n(){if(Qi)return ze;Qi=1,Object.defineProperty(ze,"__esModule",{value:!0}),ze.getData=ze.KeywordCxt=ze.validateFunctionCode=void 0;const e=pd(),t=en(),r=Tc(),n=en(),o=hd(),i=md(),s=gd(),a=ee(),c=Xe(),u=vn(),l=re(),d=bn();function y(j){if(w(j)&&(_(j),$(j))){p(j);return}m(j,()=>(0,e.topBoolOrEmptySchema)(j))}ze.validateFunctionCode=y;function m({gen:j,validateName:T,schema:N,schemaEnv:q,opts:W},Q){W.code.es5?j.func(T,(0,a._)`${c.default.data}, ${c.default.valCxt}`,q.$async,()=>{j.code((0,a._)`"use strict"; ${f(N,W)}`),h(j,W),j.code(Q)}):j.func(T,(0,a._)`${c.default.data}, ${v(W)}`,q.$async,()=>j.code(f(N,W)).code(Q))}function v(j){return(0,a._)`{${c.default.instancePath}="", ${c.default.parentData}, ${c.default.parentDataProperty}, ${c.default.rootData}=${c.default.data}${j.dynamicRef?(0,a._)`, ${c.default.dynamicAnchors}={}`:a.nil}}={}`}function h(j,T){j.if(c.default.valCxt,()=>{j.var(c.default.instancePath,(0,a._)`${c.default.valCxt}.${c.default.instancePath}`),j.var(c.default.parentData,(0,a._)`${c.default.valCxt}.${c.default.parentData}`),j.var(c.default.parentDataProperty,(0,a._)`${c.default.valCxt}.${c.default.parentDataProperty}`),j.var(c.default.rootData,(0,a._)`${c.default.valCxt}.${c.default.rootData}`),T.dynamicRef&&j.var(c.default.dynamicAnchors,(0,a._)`${c.default.valCxt}.${c.default.dynamicAnchors}`)},()=>{j.var(c.default.instancePath,(0,a._)`""`),j.var(c.default.parentData,(0,a._)`undefined`),j.var(c.default.parentDataProperty,(0,a._)`undefined`),j.var(c.default.rootData,c.default.data),T.dynamicRef&&j.var(c.default.dynamicAnchors,(0,a._)`{}`)})}function p(j){const{schema:T,opts:N,gen:q}=j;m(j,()=>{N.$comment&&T.$comment&&F(j),M(j),q.let(c.default.vErrors,null),q.let(c.default.errors,0),N.unevaluated&&b(j),E(j),D(j)})}function b(j){const{gen:T,validateName:N}=j;j.evaluated=T.const("evaluated",(0,a._)`${N}.evaluated`),T.if((0,a._)`${j.evaluated}.dynamicProps`,()=>T.assign((0,a._)`${j.evaluated}.props`,(0,a._)`undefined`)),T.if((0,a._)`${j.evaluated}.dynamicItems`,()=>T.assign((0,a._)`${j.evaluated}.items`,(0,a._)`undefined`))}function f(j,T){const N=typeof j=="object"&&j[T.schemaId];return N&&(T.code.source||T.code.process)?(0,a._)`/*# sourceURL=${N} */`:a.nil}function g(j,T){if(w(j)&&(_(j),$(j))){k(j,T);return}(0,e.boolOrEmptySchema)(j,T)}function $({schema:j,self:T}){if(typeof j=="boolean")return!j;for(const N in j)if(T.RULES.all[N])return!0;return!1}function w(j){return typeof j.schema!="boolean"}function k(j,T){const{schema:N,gen:q,opts:W}=j;W.$comment&&N.$comment&&F(j),L(j),V(j);const Q=q.const("_errs",c.default.errors);E(j,Q),q.var(T,(0,a._)`${Q} === ${c.default.errors}`)}function _(j){(0,l.checkUnknownRules)(j),P(j)}function E(j,T){if(j.opts.jtd)return J(j,[],!1,T);const N=(0,t.getSchemaTypes)(j.schema),q=(0,t.coerceAndCheckDataType)(j,N);J(j,N,!q,T)}function P(j){const{schema:T,errSchemaPath:N,opts:q,self:W}=j;T.$ref&&q.ignoreKeywordsWithRef&&(0,l.schemaHasRulesButRef)(T,W.RULES)&&W.logger.warn(`$ref: keywords ignored in schema at path "${N}"`)}function M(j){const{schema:T,opts:N}=j;T.default!==void 0&&N.useDefaults&&N.strictSchema&&(0,l.checkStrictMode)(j,"default is ignored in the schema root")}function L(j){const T=j.schema[j.opts.schemaId];T&&(j.baseId=(0,u.resolveUrl)(j.opts.uriResolver,j.baseId,T))}function V(j){if(j.schema.$async&&!j.schemaEnv.$async)throw new Error("async schema in sync schema")}function F({gen:j,schemaEnv:T,schema:N,errSchemaPath:q,opts:W}){const Q=N.$comment;if(W.$comment===!0)j.code((0,a._)`${c.default.self}.logger.log(${Q})`);else if(typeof W.$comment=="function"){const he=(0,a.str)`${q}/$comment`,Oe=j.scopeValue("root",{ref:T.root});j.code((0,a._)`${c.default.self}.opts.$comment(${Q}, ${he}, ${Oe}.schema)`)}}function D(j){const{gen:T,schemaEnv:N,validateName:q,ValidationError:W,opts:Q}=j;N.$async?T.if((0,a._)`${c.default.errors} === 0`,()=>T.return(c.default.data),()=>T.throw((0,a._)`new ${W}(${c.default.vErrors})`)):(T.assign((0,a._)`${q}.errors`,c.default.vErrors),Q.unevaluated&&K(j),T.return((0,a._)`${c.default.errors} === 0`))}function K({gen:j,evaluated:T,props:N,items:q}){N instanceof a.Name&&j.assign((0,a._)`${T}.props`,N),q instanceof a.Name&&j.assign((0,a._)`${T}.items`,q)}function J(j,T,N,q){const{gen:W,schema:Q,data:he,allErrors:Oe,opts:we,self:ke}=j,{RULES:me}=ke;if(Q.$ref&&(we.ignoreKeywordsWithRef||!(0,l.schemaHasRulesButRef)(Q,me))){W.block(()=>H(j,"$ref",me.all.$ref.definition));return}we.jtd||G(j,T),W.block(()=>{for(const je of me.rules)at(je);at(me.post)});function at(je){(0,r.shouldUseGroup)(Q,je)&&(je.type?(W.if((0,n.checkDataType)(je.type,he,we.strictNumbers)),ie(j,je),T.length===1&&T[0]===je.type&&N&&(W.else(),(0,n.reportTypeError)(j)),W.endIf()):ie(j,je),Oe||W.if((0,a._)`${c.default.errors} === ${q||0}`))}}function ie(j,T){const{gen:N,schema:q,opts:{useDefaults:W}}=j;W&&(0,o.assignDefaults)(j,T.type),N.block(()=>{for(const Q of T.rules)(0,r.shouldUseRule)(q,Q)&&H(j,Q.keyword,Q.definition,T.type)})}function G(j,T){j.schemaEnv.meta||!j.opts.strictTypes||(se(j,T),j.opts.allowUnionTypes||z(j,T),O(j,j.dataTypes))}function se(j,T){if(T.length){if(!j.dataTypes.length){j.dataTypes=T;return}T.forEach(N=>{R(j.dataTypes,N)||S(j,`type "${N}" not allowed by context "${j.dataTypes.join(",")}"`)}),x(j,T)}}function z(j,T){T.length>1&&!(T.length===2&&T.includes("null"))&&S(j,"use allowUnionTypes to allow union type keyword")}function O(j,T){const N=j.self.RULES.all;for(const q in N){const W=N[q];if(typeof W=="object"&&(0,r.shouldUseRule)(j.schema,W)){const{type:Q}=W.definition;Q.length&&!Q.some(he=>I(T,he))&&S(j,`missing type "${Q.join(",")}" for keyword "${q}"`)}}}function I(j,T){return j.includes(T)||T==="number"&&j.includes("integer")}function R(j,T){return j.includes(T)||T==="integer"&&j.includes("number")}function x(j,T){const N=[];for(const q of j.dataTypes)R(T,q)?N.push(q):T.includes("integer")&&q==="number"&&N.push("integer");j.dataTypes=N}function S(j,T){const N=j.schemaEnv.baseId+j.errSchemaPath;T+=` at "${N}" (strictTypes)`,(0,l.checkStrictMode)(j,T,j.opts.strictTypes)}class A{constructor(T,N,q){if((0,i.validateKeywordUsage)(T,N,q),this.gen=T.gen,this.allErrors=T.allErrors,this.keyword=q,this.data=T.data,this.schema=T.schema[q],this.$data=N.$data&&T.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,l.schemaRefOrVal)(T,this.schema,q,this.$data),this.schemaType=N.schemaType,this.parentSchema=T.schema,this.params={},this.it=T,this.def=N,this.$data)this.schemaCode=T.gen.const("vSchema",te(this.$data,T));else if(this.schemaCode=this.schemaValue,!(0,i.validSchemaType)(this.schema,N.schemaType,N.allowUndefined))throw new Error(`${q} value must be ${JSON.stringify(N.schemaType)}`);("code"in N?N.trackErrors:N.errors!==!1)&&(this.errsCount=T.gen.const("_errs",c.default.errors))}result(T,N,q){this.failResult((0,a.not)(T),N,q)}failResult(T,N,q){this.gen.if(T),q?q():this.error(),N?(this.gen.else(),N(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(T,N){this.failResult((0,a.not)(T),void 0,N)}fail(T){if(T===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(T),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(T){if(!this.$data)return this.fail(T);const{schemaCode:N}=this;this.fail((0,a._)`${N} !== undefined && (${(0,a.or)(this.invalid$data(),T)})`)}error(T,N,q){if(N){this.setParams(N),this._error(T,q),this.setParams({});return}this._error(T,q)}_error(T,N){(T?d.reportExtraError:d.reportError)(this,this.def.error,N)}$dataError(){(0,d.reportError)(this,this.def.$dataError||d.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,d.resetErrorsCount)(this.gen,this.errsCount)}ok(T){this.allErrors||this.gen.if(T)}setParams(T,N){N?Object.assign(this.params,T):this.params=T}block$data(T,N,q=a.nil){this.gen.block(()=>{this.check$data(T,q),N()})}check$data(T=a.nil,N=a.nil){if(!this.$data)return;const{gen:q,schemaCode:W,schemaType:Q,def:he}=this;q.if((0,a.or)((0,a._)`${W} === undefined`,N)),T!==a.nil&&q.assign(T,!0),(Q.length||he.validateSchema)&&(q.elseIf(this.invalid$data()),this.$dataError(),T!==a.nil&&q.assign(T,!1)),q.else()}invalid$data(){const{gen:T,schemaCode:N,schemaType:q,def:W,it:Q}=this;return(0,a.or)(he(),Oe());function he(){if(q.length){if(!(N instanceof a.Name))throw new Error("ajv implementation error");const we=Array.isArray(q)?q:[q];return(0,a._)`${(0,n.checkDataTypes)(we,N,Q.opts.strictNumbers,n.DataType.Wrong)}`}return a.nil}function Oe(){if(W.validateSchema){const we=T.scopeValue("validate$data",{ref:W.validateSchema});return(0,a._)`!${we}(${N})`}return a.nil}}subschema(T,N){const q=(0,s.getSubschema)(this.it,T);(0,s.extendSubschemaData)(q,this.it,T),(0,s.extendSubschemaMode)(q,T);const W={...this.it,...q,items:void 0,props:void 0};return g(W,N),W}mergeEvaluated(T,N){const{it:q,gen:W}=this;q.opts.unevaluated&&(q.props!==!0&&T.props!==void 0&&(q.props=l.mergeEvaluated.props(W,T.props,q.props,N)),q.items!==!0&&T.items!==void 0&&(q.items=l.mergeEvaluated.items(W,T.items,q.items,N)))}mergeValidEvaluated(T,N){const{it:q,gen:W}=this;if(q.opts.unevaluated&&(q.props!==!0||q.items!==!0))return W.if(N,()=>this.mergeEvaluated(T,a.Name)),!0}}ze.KeywordCxt=A;function H(j,T,N,q){const W=new A(j,N,T);"code"in N?N.code(W,q):W.$data&&N.validate?(0,i.funcKeywordCode)(W,N):"macro"in N?(0,i.macroKeywordCode)(W,N):(N.compile||N.validate)&&(0,i.funcKeywordCode)(W,N)}const B=/^\/(?:[^~]|~0|~1)*$/,ne=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function te(j,{dataLevel:T,dataNames:N,dataPathArr:q}){let W,Q;if(j==="")return c.default.rootData;if(j[0]==="/"){if(!B.test(j))throw new Error(`Invalid JSON-pointer: ${j}`);W=j,Q=c.default.rootData}else{const ke=ne.exec(j);if(!ke)throw new Error(`Invalid JSON-pointer: ${j}`);const me=+ke[1];if(W=ke[2],W==="#"){if(me>=T)throw new Error(we("property/index",me));return q[T-me]}if(me>T)throw new Error(we("data",me));if(Q=N[T-me],!W)return Q}let he=Q;const Oe=W.split("/");for(const ke of Oe)ke&&(Q=(0,a._)`${Q}${(0,a.getProperty)((0,l.unescapeJsonPointer)(ke))}`,he=(0,a._)`${he} && ${Q}`);return he;function we(ke,me){return`Cannot access ${ke} ${me} levels up, current level is ${T}`}}return ze.getData=te,ze}var er={},Zi;function Do(){if(Zi)return er;Zi=1,Object.defineProperty(er,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return er.default=e,er}var tr={},es;function wn(){if(es)return tr;es=1,Object.defineProperty(tr,"__esModule",{value:!0});const e=vn();class t extends Error{constructor(n,o,i,s){super(s||`can't resolve reference ${i} from id ${o}`),this.missingRef=(0,e.resolveUrl)(n,o,i),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return tr.default=t,tr}var Se={},ts;function Vo(){if(ts)return Se;ts=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.resolveSchema=Se.getCompilingSchema=Se.resolveRef=Se.compileSchema=Se.SchemaEnv=void 0;const e=ee(),t=Do(),r=Xe(),n=vn(),o=re(),i=$n();class s{constructor(b){var f;this.refs={},this.dynamicAnchors={};let g;typeof b.schema=="object"&&(g=b.schema),this.schema=b.schema,this.schemaId=b.schemaId,this.root=b.root||this,this.baseId=(f=b.baseId)!==null&&f!==void 0?f:(0,n.normalizeId)(g?.[b.schemaId||"$id"]),this.schemaPath=b.schemaPath,this.localRefs=b.localRefs,this.meta=b.meta,this.$async=g?.$async,this.refs={}}}Se.SchemaEnv=s;function a(p){const b=l.call(this,p);if(b)return b;const f=(0,n.getFullPath)(this.opts.uriResolver,p.root.baseId),{es5:g,lines:$}=this.opts.code,{ownProperties:w}=this.opts,k=new e.CodeGen(this.scope,{es5:g,lines:$,ownProperties:w});let _;p.$async&&(_=k.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const E=k.scopeName("validate");p.validateName=E;const P={gen:k,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:k.scopeValue("schema",this.opts.code.source===!0?{ref:p.schema,code:(0,e.stringify)(p.schema)}:{ref:p.schema}),validateName:E,ValidationError:_,schema:p.schema,schemaEnv:p,rootId:f,baseId:p.baseId||f,schemaPath:e.nil,errSchemaPath:p.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let M;try{this._compilations.add(p),(0,i.validateFunctionCode)(P),k.optimize(this.opts.code.optimize);const L=k.toString();M=`${k.scopeRefs(r.default.scope)}return ${L}`,this.opts.code.process&&(M=this.opts.code.process(M,p));const F=new Function(`${r.default.self}`,`${r.default.scope}`,M)(this,this.scope.get());if(this.scope.value(E,{ref:F}),F.errors=null,F.schema=p.schema,F.schemaEnv=p,p.$async&&(F.$async=!0),this.opts.code.source===!0&&(F.source={validateName:E,validateCode:L,scopeValues:k._values}),this.opts.unevaluated){const{props:D,items:K}=P;F.evaluated={props:D instanceof e.Name?void 0:D,items:K instanceof e.Name?void 0:K,dynamicProps:D instanceof e.Name,dynamicItems:K instanceof e.Name},F.source&&(F.source.evaluated=(0,e.stringify)(F.evaluated))}return p.validate=F,p}catch(L){throw delete p.validate,delete p.validateName,M&&this.logger.error("Error compiling schema, function code:",M),L}finally{this._compilations.delete(p)}}Se.compileSchema=a;function c(p,b,f){var g;f=(0,n.resolveUrl)(this.opts.uriResolver,b,f);const $=p.refs[f];if($)return $;let w=y.call(this,p,f);if(w===void 0){const k=(g=p.localRefs)===null||g===void 0?void 0:g[f],{schemaId:_}=this.opts;k&&(w=new s({schema:k,schemaId:_,root:p,baseId:b}))}if(w!==void 0)return p.refs[f]=u.call(this,w)}Se.resolveRef=c;function u(p){return(0,n.inlineRef)(p.schema,this.opts.inlineRefs)?p.schema:p.validate?p:a.call(this,p)}function l(p){for(const b of this._compilations)if(d(b,p))return b}Se.getCompilingSchema=l;function d(p,b){return p.schema===b.schema&&p.root===b.root&&p.baseId===b.baseId}function y(p,b){let f;for(;typeof(f=this.refs[b])=="string";)b=f;return f||this.schemas[b]||m.call(this,p,b)}function m(p,b){const f=this.opts.uriResolver.parse(b),g=(0,n._getFullPath)(this.opts.uriResolver,f);let $=(0,n.getFullPath)(this.opts.uriResolver,p.baseId,void 0);if(Object.keys(p.schema).length>0&&g===$)return h.call(this,f,p);const w=(0,n.normalizeId)(g),k=this.refs[w]||this.schemas[w];if(typeof k=="string"){const _=m.call(this,p,k);return typeof _?.schema!="object"?void 0:h.call(this,f,_)}if(typeof k?.schema=="object"){if(k.validate||a.call(this,k),w===(0,n.normalizeId)(b)){const{schema:_}=k,{schemaId:E}=this.opts,P=_[E];return P&&($=(0,n.resolveUrl)(this.opts.uriResolver,$,P)),new s({schema:_,schemaId:E,root:p,baseId:$})}return h.call(this,f,k)}}Se.resolveSchema=m;const v=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function h(p,{baseId:b,schema:f,root:g}){var $;if((($=p.fragment)===null||$===void 0?void 0:$[0])!=="/")return;for(const _ of p.fragment.slice(1).split("/")){if(typeof f=="boolean")return;const E=f[(0,o.unescapeFragment)(_)];if(E===void 0)return;f=E;const P=typeof f=="object"&&f[this.opts.schemaId];!v.has(_)&&P&&(b=(0,n.resolveUrl)(this.opts.uriResolver,b,P))}let w;if(typeof f!="boolean"&&f.$ref&&!(0,o.schemaHasRulesButRef)(f,this.RULES)){const _=(0,n.resolveUrl)(this.opts.uriResolver,b,f.$ref);w=m.call(this,g,_)}const{schemaId:k}=this.opts;if(w=w||new s({schema:f,schemaId:k,root:g,baseId:b}),w.schema!==w.root.schema)return w}return Se}const bd="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",vd="Meta-schema for $data reference (JSON AnySchema extension proposal)",$d="object",wd=["$data"],kd={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},_d=!1,xd={$id:bd,description:vd,type:$d,required:wd,properties:kd,additionalProperties:_d};var rr={},Et={exports:{}},Wn,rs;function Sd(){return rs||(rs=1,Wn={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),Wn}var Bn,ns;function Ed(){if(ns)return Bn;ns=1;const{HEX:e}=Sd(),t=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function r(h){if(a(h,".")<3)return{host:h,isIPV4:!1};const p=h.match(t)||[],[b]=p;return b?{host:s(b,"."),isIPV4:!0}:{host:h,isIPV4:!1}}function n(h,p=!1){let b="",f=!0;for(const g of h){if(e[g]===void 0)return;g!=="0"&&f===!0&&(f=!1),f||(b+=g)}return p&&b.length===0&&(b="0"),b}function o(h){let p=0;const b={error:!1,address:"",zone:""},f=[],g=[];let $=!1,w=!1,k=!1;function _(){if(g.length){if($===!1){const E=n(g);if(E!==void 0)f.push(E);else return b.error=!0,!1}g.length=0}return!0}for(let E=0;E<h.length;E++){const P=h[E];if(!(P==="["||P==="]"))if(P===":"){if(w===!0&&(k=!0),!_())break;if(p++,f.push(":"),p>7){b.error=!0;break}E-1>=0&&h[E-1]===":"&&(w=!0);continue}else if(P==="%"){if(!_())break;$=!0}else{g.push(P);continue}}return g.length&&($?b.zone=g.join(""):k?f.push(g.join("")):f.push(n(g))),b.address=f.join(""),b}function i(h){if(a(h,":")<2)return{host:h,isIPV6:!1};const p=o(h);if(p.error)return{host:h,isIPV6:!1};{let b=p.address,f=p.address;return p.zone&&(b+="%"+p.zone,f+="%25"+p.zone),{host:b,escapedHost:f,isIPV6:!0}}}function s(h,p){let b="",f=!0;const g=h.length;for(let $=0;$<g;$++){const w=h[$];w==="0"&&f?($+1<=g&&h[$+1]===p||$+1===g)&&(b+=w,f=!1):(w===p?f=!0:f=!1,b+=w)}return b}function a(h,p){let b=0;for(let f=0;f<h.length;f++)h[f]===p&&b++;return b}const c=/^\.\.?\//u,u=/^\/\.(?:\/|$)/u,l=/^\/\.\.(?:\/|$)/u,d=/^\/?(?:.|\n)*?(?=\/|$)/u;function y(h){const p=[];for(;h.length;)if(h.match(c))h=h.replace(c,"");else if(h.match(u))h=h.replace(u,"/");else if(h.match(l))h=h.replace(l,"/"),p.pop();else if(h==="."||h==="..")h="";else{const b=h.match(d);if(b){const f=b[0];h=h.slice(f.length),p.push(f)}else throw new Error("Unexpected dot segment condition")}return p.join("")}function m(h,p){const b=p!==!0?escape:unescape;return h.scheme!==void 0&&(h.scheme=b(h.scheme)),h.userinfo!==void 0&&(h.userinfo=b(h.userinfo)),h.host!==void 0&&(h.host=b(h.host)),h.path!==void 0&&(h.path=b(h.path)),h.query!==void 0&&(h.query=b(h.query)),h.fragment!==void 0&&(h.fragment=b(h.fragment)),h}function v(h){const p=[];if(h.userinfo!==void 0&&(p.push(h.userinfo),p.push("@")),h.host!==void 0){let b=unescape(h.host);const f=r(b);if(f.isIPV4)b=f.host;else{const g=i(f.host);g.isIPV6===!0?b=`[${g.escapedHost}]`:b=h.host}p.push(b)}return(typeof h.port=="number"||typeof h.port=="string")&&(p.push(":"),p.push(String(h.port))),p.length?p.join(""):void 0}return Bn={recomposeAuthority:v,normalizeComponentEncoding:m,removeDotSegments:y,normalizeIPv4:r,normalizeIPv6:i,stringArrayToHexStripped:n},Bn}var Kn,os;function Cd(){if(os)return Kn;os=1;const e=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function r(f){return typeof f.secure=="boolean"?f.secure:String(f.scheme).toLowerCase()==="wss"}function n(f){return f.host||(f.error=f.error||"HTTP URIs must have a host."),f}function o(f){const g=String(f.scheme).toLowerCase()==="https";return(f.port===(g?443:80)||f.port==="")&&(f.port=void 0),f.path||(f.path="/"),f}function i(f){return f.secure=r(f),f.resourceName=(f.path||"/")+(f.query?"?"+f.query:""),f.path=void 0,f.query=void 0,f}function s(f){if((f.port===(r(f)?443:80)||f.port==="")&&(f.port=void 0),typeof f.secure=="boolean"&&(f.scheme=f.secure?"wss":"ws",f.secure=void 0),f.resourceName){const[g,$]=f.resourceName.split("?");f.path=g&&g!=="/"?g:void 0,f.query=$,f.resourceName=void 0}return f.fragment=void 0,f}function a(f,g){if(!f.path)return f.error="URN can not be parsed",f;const $=f.path.match(t);if($){const w=g.scheme||f.scheme||"urn";f.nid=$[1].toLowerCase(),f.nss=$[2];const k=`${w}:${g.nid||f.nid}`,_=b[k];f.path=void 0,_&&(f=_.parse(f,g))}else f.error=f.error||"URN can not be parsed.";return f}function c(f,g){const $=g.scheme||f.scheme||"urn",w=f.nid.toLowerCase(),k=`${$}:${g.nid||w}`,_=b[k];_&&(f=_.serialize(f,g));const E=f,P=f.nss;return E.path=`${w||g.nid}:${P}`,g.skipEscape=!0,E}function u(f,g){const $=f;return $.uuid=$.nss,$.nss=void 0,!g.tolerant&&(!$.uuid||!e.test($.uuid))&&($.error=$.error||"UUID is not valid."),$}function l(f){const g=f;return g.nss=(f.uuid||"").toLowerCase(),g}const d={scheme:"http",domainHost:!0,parse:n,serialize:o},y={scheme:"https",domainHost:d.domainHost,parse:n,serialize:o},m={scheme:"ws",domainHost:!0,parse:i,serialize:s},v={scheme:"wss",domainHost:m.domainHost,parse:m.parse,serialize:m.serialize},b={http:d,https:y,ws:m,wss:v,urn:{scheme:"urn",parse:a,serialize:c,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:u,serialize:l,skipNormalize:!0}};return Kn=b,Kn}var is;function jd(){if(is)return Et.exports;is=1;const{normalizeIPv6:e,normalizeIPv4:t,removeDotSegments:r,recomposeAuthority:n,normalizeComponentEncoding:o}=Ed(),i=Cd();function s(p,b){return typeof p=="string"?p=l(v(p,b),b):typeof p=="object"&&(p=v(l(p,b),b)),p}function a(p,b,f){const g=Object.assign({scheme:"null"},f),$=c(v(p,g),v(b,g),g,!0);return l($,{...g,skipEscape:!0})}function c(p,b,f,g){const $={};return g||(p=v(l(p,f),f),b=v(l(b,f),f)),f=f||{},!f.tolerant&&b.scheme?($.scheme=b.scheme,$.userinfo=b.userinfo,$.host=b.host,$.port=b.port,$.path=r(b.path||""),$.query=b.query):(b.userinfo!==void 0||b.host!==void 0||b.port!==void 0?($.userinfo=b.userinfo,$.host=b.host,$.port=b.port,$.path=r(b.path||""),$.query=b.query):(b.path?(b.path.charAt(0)==="/"?$.path=r(b.path):((p.userinfo!==void 0||p.host!==void 0||p.port!==void 0)&&!p.path?$.path="/"+b.path:p.path?$.path=p.path.slice(0,p.path.lastIndexOf("/")+1)+b.path:$.path=b.path,$.path=r($.path)),$.query=b.query):($.path=p.path,b.query!==void 0?$.query=b.query:$.query=p.query),$.userinfo=p.userinfo,$.host=p.host,$.port=p.port),$.scheme=p.scheme),$.fragment=b.fragment,$}function u(p,b,f){return typeof p=="string"?(p=unescape(p),p=l(o(v(p,f),!0),{...f,skipEscape:!0})):typeof p=="object"&&(p=l(o(p,!0),{...f,skipEscape:!0})),typeof b=="string"?(b=unescape(b),b=l(o(v(b,f),!0),{...f,skipEscape:!0})):typeof b=="object"&&(b=l(o(b,!0),{...f,skipEscape:!0})),p.toLowerCase()===b.toLowerCase()}function l(p,b){const f={host:p.host,scheme:p.scheme,userinfo:p.userinfo,port:p.port,path:p.path,query:p.query,nid:p.nid,nss:p.nss,uuid:p.uuid,fragment:p.fragment,reference:p.reference,resourceName:p.resourceName,secure:p.secure,error:""},g=Object.assign({},b),$=[],w=i[(g.scheme||f.scheme||"").toLowerCase()];w&&w.serialize&&w.serialize(f,g),f.path!==void 0&&(g.skipEscape?f.path=unescape(f.path):(f.path=escape(f.path),f.scheme!==void 0&&(f.path=f.path.split("%3A").join(":")))),g.reference!=="suffix"&&f.scheme&&$.push(f.scheme,":");const k=n(f);if(k!==void 0&&(g.reference!=="suffix"&&$.push("//"),$.push(k),f.path&&f.path.charAt(0)!=="/"&&$.push("/")),f.path!==void 0){let _=f.path;!g.absolutePath&&(!w||!w.absolutePath)&&(_=r(_)),k===void 0&&(_=_.replace(/^\/\//u,"/%2F")),$.push(_)}return f.query!==void 0&&$.push("?",f.query),f.fragment!==void 0&&$.push("#",f.fragment),$.join("")}const d=Array.from({length:127},(p,b)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(b)));function y(p){let b=0;for(let f=0,g=p.length;f<g;++f)if(b=p.charCodeAt(f),b>126||d[b])return!0;return!1}const m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function v(p,b){const f=Object.assign({},b),g={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},$=p.indexOf("%")!==-1;let w=!1;f.reference==="suffix"&&(p=(f.scheme?f.scheme+":":"")+"//"+p);const k=p.match(m);if(k){if(g.scheme=k[1],g.userinfo=k[3],g.host=k[4],g.port=parseInt(k[5],10),g.path=k[6]||"",g.query=k[7],g.fragment=k[8],isNaN(g.port)&&(g.port=k[5]),g.host){const E=t(g.host);if(E.isIPV4===!1){const P=e(E.host);g.host=P.host.toLowerCase(),w=P.isIPV6}else g.host=E.host,w=!0}g.scheme===void 0&&g.userinfo===void 0&&g.host===void 0&&g.port===void 0&&g.query===void 0&&!g.path?g.reference="same-document":g.scheme===void 0?g.reference="relative":g.fragment===void 0?g.reference="absolute":g.reference="uri",f.reference&&f.reference!=="suffix"&&f.reference!==g.reference&&(g.error=g.error||"URI is not a "+f.reference+" reference.");const _=i[(f.scheme||g.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!_||!_.unicodeSupport)&&g.host&&(f.domainHost||_&&_.domainHost)&&w===!1&&y(g.host))try{g.host=URL.domainToASCII(g.host.toLowerCase())}catch(E){g.error=g.error||"Host's domain name can not be converted to ASCII: "+E}(!_||_&&!_.skipNormalize)&&($&&g.scheme!==void 0&&(g.scheme=unescape(g.scheme)),$&&g.host!==void 0&&(g.host=unescape(g.host)),g.path&&(g.path=escape(unescape(g.path))),g.fragment&&(g.fragment=encodeURI(decodeURIComponent(g.fragment)))),_&&_.parse&&_.parse(g,f)}else g.error=g.error||"URI can not be parsed.";return g}const h={SCHEMES:i,normalize:s,resolve:a,resolveComponents:c,equal:u,serialize:l,parse:v};return Et.exports=h,Et.exports.default=h,Et.exports.fastUri=h,Et.exports}var ss;function Pd(){if(ss)return rr;ss=1,Object.defineProperty(rr,"__esModule",{value:!0});const e=jd();return e.code='require("ajv/dist/runtime/uri").default',rr.default=e,rr}var as;function Od(){return as||(as=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=$n();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=ee();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=Do(),o=wn(),i=Rc(),s=Vo(),a=ee(),c=vn(),u=en(),l=re(),d=xd,y=Pd(),m=(z,O)=>new RegExp(z,O);m.code="new RegExp";const v=["removeAdditional","useDefaults","coerceTypes"],h=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),p={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},f=200;function g(z){var O,I,R,x,S,A,H,B,ne,te,j,T,N,q,W,Q,he,Oe,we,ke,me,at,je,Pn,On;const _t=z.strict,Rn=(O=z.code)===null||O===void 0?void 0:O.optimize,ii=Rn===!0||Rn===void 0?1:Rn||0,si=(R=(I=z.code)===null||I===void 0?void 0:I.regExp)!==null&&R!==void 0?R:m,Hl=(x=z.uriResolver)!==null&&x!==void 0?x:y.default;return{strictSchema:(A=(S=z.strictSchema)!==null&&S!==void 0?S:_t)!==null&&A!==void 0?A:!0,strictNumbers:(B=(H=z.strictNumbers)!==null&&H!==void 0?H:_t)!==null&&B!==void 0?B:!0,strictTypes:(te=(ne=z.strictTypes)!==null&&ne!==void 0?ne:_t)!==null&&te!==void 0?te:"log",strictTuples:(T=(j=z.strictTuples)!==null&&j!==void 0?j:_t)!==null&&T!==void 0?T:"log",strictRequired:(q=(N=z.strictRequired)!==null&&N!==void 0?N:_t)!==null&&q!==void 0?q:!1,code:z.code?{...z.code,optimize:ii,regExp:si}:{optimize:ii,regExp:si},loopRequired:(W=z.loopRequired)!==null&&W!==void 0?W:f,loopEnum:(Q=z.loopEnum)!==null&&Q!==void 0?Q:f,meta:(he=z.meta)!==null&&he!==void 0?he:!0,messages:(Oe=z.messages)!==null&&Oe!==void 0?Oe:!0,inlineRefs:(we=z.inlineRefs)!==null&&we!==void 0?we:!0,schemaId:(ke=z.schemaId)!==null&&ke!==void 0?ke:"$id",addUsedSchema:(me=z.addUsedSchema)!==null&&me!==void 0?me:!0,validateSchema:(at=z.validateSchema)!==null&&at!==void 0?at:!0,validateFormats:(je=z.validateFormats)!==null&&je!==void 0?je:!0,unicodeRegExp:(Pn=z.unicodeRegExp)!==null&&Pn!==void 0?Pn:!0,int32range:(On=z.int32range)!==null&&On!==void 0?On:!0,uriResolver:Hl}}class ${constructor(O={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,O=this.opts={...O,...g(O)};const{es5:I,lines:R}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:h,es5:I,lines:R}),this.logger=V(O.logger);const x=O.validateFormats;O.validateFormats=!1,this.RULES=(0,i.getRules)(),w.call(this,p,O,"NOT SUPPORTED"),w.call(this,b,O,"DEPRECATED","warn"),this._metaOpts=M.call(this),O.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),O.keywords&&P.call(this,O.keywords),typeof O.meta=="object"&&this.addMetaSchema(O.meta),_.call(this),O.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:O,meta:I,schemaId:R}=this.opts;let x=d;R==="id"&&(x={...d},x.id=x.$id,delete x.$id),I&&O&&this.addMetaSchema(x,x[R],!1)}defaultMeta(){const{meta:O,schemaId:I}=this.opts;return this.opts.defaultMeta=typeof O=="object"?O[I]||O:void 0}validate(O,I){let R;if(typeof O=="string"){if(R=this.getSchema(O),!R)throw new Error(`no schema with key or ref "${O}"`)}else R=this.compile(O);const x=R(I);return"$async"in R||(this.errors=R.errors),x}compile(O,I){const R=this._addSchema(O,I);return R.validate||this._compileSchemaEnv(R)}compileAsync(O,I){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:R}=this.opts;return x.call(this,O,I);async function x(te,j){await S.call(this,te.$schema);const T=this._addSchema(te,j);return T.validate||A.call(this,T)}async function S(te){te&&!this.getSchema(te)&&await x.call(this,{$ref:te},!0)}async function A(te){try{return this._compileSchemaEnv(te)}catch(j){if(!(j instanceof o.default))throw j;return H.call(this,j),await B.call(this,j.missingSchema),A.call(this,te)}}function H({missingSchema:te,missingRef:j}){if(this.refs[te])throw new Error(`AnySchema ${te} is loaded but ${j} cannot be resolved`)}async function B(te){const j=await ne.call(this,te);this.refs[te]||await S.call(this,j.$schema),this.refs[te]||this.addSchema(j,te,I)}async function ne(te){const j=this._loading[te];if(j)return j;try{return await(this._loading[te]=R(te))}finally{delete this._loading[te]}}}addSchema(O,I,R,x=this.opts.validateSchema){if(Array.isArray(O)){for(const A of O)this.addSchema(A,void 0,R,x);return this}let S;if(typeof O=="object"){const{schemaId:A}=this.opts;if(S=O[A],S!==void 0&&typeof S!="string")throw new Error(`schema ${A} must be string`)}return I=(0,c.normalizeId)(I||S),this._checkUnique(I),this.schemas[I]=this._addSchema(O,R,I,x,!0),this}addMetaSchema(O,I,R=this.opts.validateSchema){return this.addSchema(O,I,!0,R),this}validateSchema(O,I){if(typeof O=="boolean")return!0;let R;if(R=O.$schema,R!==void 0&&typeof R!="string")throw new Error("$schema must be a string");if(R=R||this.opts.defaultMeta||this.defaultMeta(),!R)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const x=this.validate(R,O);if(!x&&I){const S="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(S);else throw new Error(S)}return x}getSchema(O){let I;for(;typeof(I=k.call(this,O))=="string";)O=I;if(I===void 0){const{schemaId:R}=this.opts,x=new s.SchemaEnv({schema:{},schemaId:R});if(I=s.resolveSchema.call(this,x,O),!I)return;this.refs[O]=I}return I.validate||this._compileSchemaEnv(I)}removeSchema(O){if(O instanceof RegExp)return this._removeAllSchemas(this.schemas,O),this._removeAllSchemas(this.refs,O),this;switch(typeof O){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const I=k.call(this,O);return typeof I=="object"&&this._cache.delete(I.schema),delete this.schemas[O],delete this.refs[O],this}case"object":{const I=O;this._cache.delete(I);let R=O[this.opts.schemaId];return R&&(R=(0,c.normalizeId)(R),delete this.schemas[R],delete this.refs[R]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(O){for(const I of O)this.addKeyword(I);return this}addKeyword(O,I){let R;if(typeof O=="string")R=O,typeof I=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),I.keyword=R);else if(typeof O=="object"&&I===void 0){if(I=O,R=I.keyword,Array.isArray(R)&&!R.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(D.call(this,R,I),!I)return(0,l.eachItem)(R,S=>K.call(this,S)),this;ie.call(this,I);const x={...I,type:(0,u.getJSONTypes)(I.type),schemaType:(0,u.getJSONTypes)(I.schemaType)};return(0,l.eachItem)(R,x.type.length===0?S=>K.call(this,S,x):S=>x.type.forEach(A=>K.call(this,S,x,A))),this}getKeyword(O){const I=this.RULES.all[O];return typeof I=="object"?I.definition:!!I}removeKeyword(O){const{RULES:I}=this;delete I.keywords[O],delete I.all[O];for(const R of I.rules){const x=R.rules.findIndex(S=>S.keyword===O);x>=0&&R.rules.splice(x,1)}return this}addFormat(O,I){return typeof I=="string"&&(I=new RegExp(I)),this.formats[O]=I,this}errorsText(O=this.errors,{separator:I=", ",dataVar:R="data"}={}){return!O||O.length===0?"No errors":O.map(x=>`${R}${x.instancePath} ${x.message}`).reduce((x,S)=>x+I+S)}$dataMetaSchema(O,I){const R=this.RULES.all;O=JSON.parse(JSON.stringify(O));for(const x of I){const S=x.split("/").slice(1);let A=O;for(const H of S)A=A[H];for(const H in R){const B=R[H];if(typeof B!="object")continue;const{$data:ne}=B.definition,te=A[H];ne&&te&&(A[H]=se(te))}}return O}_removeAllSchemas(O,I){for(const R in O){const x=O[R];(!I||I.test(R))&&(typeof x=="string"?delete O[R]:x&&!x.meta&&(this._cache.delete(x.schema),delete O[R]))}}_addSchema(O,I,R,x=this.opts.validateSchema,S=this.opts.addUsedSchema){let A;const{schemaId:H}=this.opts;if(typeof O=="object")A=O[H];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof O!="boolean")throw new Error("schema must be object or boolean")}let B=this._cache.get(O);if(B!==void 0)return B;R=(0,c.normalizeId)(A||R);const ne=c.getSchemaRefs.call(this,O,R);return B=new s.SchemaEnv({schema:O,schemaId:H,meta:I,baseId:R,localRefs:ne}),this._cache.set(B.schema,B),S&&!R.startsWith("#")&&(R&&this._checkUnique(R),this.refs[R]=B),x&&this.validateSchema(O,!0),B}_checkUnique(O){if(this.schemas[O]||this.refs[O])throw new Error(`schema with key or id "${O}" already exists`)}_compileSchemaEnv(O){if(O.meta?this._compileMetaSchema(O):s.compileSchema.call(this,O),!O.validate)throw new Error("ajv implementation error");return O.validate}_compileMetaSchema(O){const I=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,O)}finally{this.opts=I}}}$.ValidationError=n.default,$.MissingRefError=o.default,e.default=$;function w(z,O,I,R="error"){for(const x in z){const S=x;S in O&&this.logger[R](`${I}: option ${x}. ${z[S]}`)}}function k(z){return z=(0,c.normalizeId)(z),this.schemas[z]||this.refs[z]}function _(){const z=this.opts.schemas;if(z)if(Array.isArray(z))this.addSchema(z);else for(const O in z)this.addSchema(z[O],O)}function E(){for(const z in this.opts.formats){const O=this.opts.formats[z];O&&this.addFormat(z,O)}}function P(z){if(Array.isArray(z)){this.addVocabulary(z);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const O in z){const I=z[O];I.keyword||(I.keyword=O),this.addKeyword(I)}}function M(){const z={...this.opts};for(const O of v)delete z[O];return z}const L={log(){},warn(){},error(){}};function V(z){if(z===!1)return L;if(z===void 0)return console;if(z.log&&z.warn&&z.error)return z;throw new Error("logger must implement log, warn and error methods")}const F=/^[a-z_$][a-z0-9_$:-]*$/i;function D(z,O){const{RULES:I}=this;if((0,l.eachItem)(z,R=>{if(I.keywords[R])throw new Error(`Keyword ${R} is already defined`);if(!F.test(R))throw new Error(`Keyword ${R} has invalid name`)}),!!O&&O.$data&&!("code"in O||"validate"in O))throw new Error('$data keyword must have "code" or "validate" function')}function K(z,O,I){var R;const x=O?.post;if(I&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:S}=this;let A=x?S.post:S.rules.find(({type:B})=>B===I);if(A||(A={type:I,rules:[]},S.rules.push(A)),S.keywords[z]=!0,!O)return;const H={keyword:z,definition:{...O,type:(0,u.getJSONTypes)(O.type),schemaType:(0,u.getJSONTypes)(O.schemaType)}};O.before?J.call(this,A,H,O.before):A.rules.push(H),S.all[z]=H,(R=O.implements)===null||R===void 0||R.forEach(B=>this.addKeyword(B))}function J(z,O,I){const R=z.rules.findIndex(x=>x.keyword===I);R>=0?z.rules.splice(R,0,O):(z.rules.push(O),this.logger.warn(`rule ${I} is not defined`))}function ie(z){let{metaSchema:O}=z;O!==void 0&&(z.$data&&this.opts.$data&&(O=se(O)),z.validateSchema=this.compile(O,!0))}const G={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function se(z){return{anyOf:[z,G]}}}(zn)),zn}var nr={},or={},ir={},cs;function Rd(){if(cs)return ir;cs=1,Object.defineProperty(ir,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return ir.default=e,ir}var We={},ls;function Td(){if(ls)return We;ls=1,Object.defineProperty(We,"__esModule",{value:!0}),We.callRef=We.getValidate=void 0;const e=wn(),t=Ie(),r=ee(),n=Xe(),o=Vo(),i=re(),s={keyword:"$ref",schemaType:"string",code(u){const{gen:l,schema:d,it:y}=u,{baseId:m,schemaEnv:v,validateName:h,opts:p,self:b}=y,{root:f}=v;if((d==="#"||d==="#/")&&m===f.baseId)return $();const g=o.resolveRef.call(b,f,m,d);if(g===void 0)throw new e.default(y.opts.uriResolver,m,d);if(g instanceof o.SchemaEnv)return w(g);return k(g);function $(){if(v===f)return c(u,h,v,v.$async);const _=l.scopeValue("root",{ref:f});return c(u,(0,r._)`${_}.validate`,f,f.$async)}function w(_){const E=a(u,_);c(u,E,_,_.$async)}function k(_){const E=l.scopeValue("schema",p.code.source===!0?{ref:_,code:(0,r.stringify)(_)}:{ref:_}),P=l.name("valid"),M=u.subschema({schema:_,dataTypes:[],schemaPath:r.nil,topSchemaRef:E,errSchemaPath:d},P);u.mergeEvaluated(M),u.ok(P)}}};function a(u,l){const{gen:d}=u;return l.validate?d.scopeValue("validate",{ref:l.validate}):(0,r._)`${d.scopeValue("wrapper",{ref:l})}.validate`}We.getValidate=a;function c(u,l,d,y){const{gen:m,it:v}=u,{allErrors:h,schemaEnv:p,opts:b}=v,f=b.passContext?n.default.this:r.nil;y?g():$();function g(){if(!p.$async)throw new Error("async schema referenced by sync schema");const _=m.let("valid");m.try(()=>{m.code((0,r._)`await ${(0,t.callValidateCode)(u,l,f)}`),k(l),h||m.assign(_,!0)},E=>{m.if((0,r._)`!(${E} instanceof ${v.ValidationError})`,()=>m.throw(E)),w(E),h||m.assign(_,!1)}),u.ok(_)}function $(){u.result((0,t.callValidateCode)(u,l,f),()=>k(l),()=>w(l))}function w(_){const E=(0,r._)`${_}.errors`;m.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${E} : ${n.default.vErrors}.concat(${E})`),m.assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`)}function k(_){var E;if(!v.opts.unevaluated)return;const P=(E=d?.validate)===null||E===void 0?void 0:E.evaluated;if(v.props!==!0)if(P&&!P.dynamicProps)P.props!==void 0&&(v.props=i.mergeEvaluated.props(m,P.props,v.props));else{const M=m.var("props",(0,r._)`${_}.evaluated.props`);v.props=i.mergeEvaluated.props(m,M,v.props,r.Name)}if(v.items!==!0)if(P&&!P.dynamicItems)P.items!==void 0&&(v.items=i.mergeEvaluated.items(m,P.items,v.items));else{const M=m.var("items",(0,r._)`${_}.evaluated.items`);v.items=i.mergeEvaluated.items(m,M,v.items,r.Name)}}}return We.callRef=c,We.default=s,We}var us;function Ad(){if(us)return or;us=1,Object.defineProperty(or,"__esModule",{value:!0});const e=Rd(),t=Td(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return or.default=r,or}var sr={},ar={},fs;function Nd(){if(fs)return ar;fs=1,Object.defineProperty(ar,"__esModule",{value:!0});const e=ee(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:i,schemaCode:s})=>(0,e.str)`must be ${r[i].okStr} ${s}`,params:({keyword:i,schemaCode:s})=>(0,e._)`{comparison: ${r[i].okStr}, limit: ${s}}`},o={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:n,code(i){const{keyword:s,data:a,schemaCode:c}=i;i.fail$data((0,e._)`${a} ${r[s].fail} ${c} || isNaN(${a})`)}};return ar.default=o,ar}var cr={},ds;function Id(){if(ds)return cr;ds=1,Object.defineProperty(cr,"__esModule",{value:!0});const e=ee(),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must be multiple of ${n}`,params:({schemaCode:n})=>(0,e._)`{multipleOf: ${n}}`},code(n){const{gen:o,data:i,schemaCode:s,it:a}=n,c=a.opts.multipleOfPrecision,u=o.let("res"),l=c?(0,e._)`Math.abs(Math.round(${u}) - ${u}) > 1e-${c}`:(0,e._)`${u} !== parseInt(${u})`;n.fail$data((0,e._)`(${s} === 0 || (${u} = ${i}/${s}, ${l}))`)}};return cr.default=r,cr}var lr={},ur={},ps;function Md(){if(ps)return ur;ps=1,Object.defineProperty(ur,"__esModule",{value:!0});function e(t){const r=t.length;let n=0,o=0,i;for(;o<r;)n++,i=t.charCodeAt(o++),i>=55296&&i<=56319&&o<r&&(i=t.charCodeAt(o),(i&64512)===56320&&o++);return n}return ur.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',ur}var hs;function Fd(){if(hs)return lr;hs=1,Object.defineProperty(lr,"__esModule",{value:!0});const e=ee(),t=re(),r=Md(),o={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:i,schemaCode:s}){const a=i==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${a} than ${s} characters`},params:({schemaCode:i})=>(0,e._)`{limit: ${i}}`},code(i){const{keyword:s,data:a,schemaCode:c,it:u}=i,l=s==="maxLength"?e.operators.GT:e.operators.LT,d=u.opts.unicode===!1?(0,e._)`${a}.length`:(0,e._)`${(0,t.useFunc)(i.gen,r.default)}(${a})`;i.fail$data((0,e._)`${d} ${l} ${c}`)}};return lr.default=o,lr}var fr={},ms;function zd(){if(ms)return fr;ms=1,Object.defineProperty(fr,"__esModule",{value:!0});const e=Ie(),t=ee(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:o})=>(0,t.str)`must match pattern "${o}"`,params:({schemaCode:o})=>(0,t._)`{pattern: ${o}}`},code(o){const{data:i,$data:s,schema:a,schemaCode:c,it:u}=o,l=u.opts.unicodeRegExp?"u":"",d=s?(0,t._)`(new RegExp(${c}, ${l}))`:(0,e.usePattern)(o,a);o.fail$data((0,t._)`!${d}.test(${i})`)}};return fr.default=n,fr}var dr={},gs;function Ld(){if(gs)return dr;gs=1,Object.defineProperty(dr,"__esModule",{value:!0});const e=ee(),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:o}){const i=n==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${i} than ${o} properties`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:o,data:i,schemaCode:s}=n,a=o==="maxProperties"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`Object.keys(${i}).length ${a} ${s}`)}};return dr.default=r,dr}var pr={},ys;function qd(){if(ys)return pr;ys=1,Object.defineProperty(pr,"__esModule",{value:!0});const e=Ie(),t=ee(),r=re(),o={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:i}})=>(0,t.str)`must have required property '${i}'`,params:({params:{missingProperty:i}})=>(0,t._)`{missingProperty: ${i}}`},code(i){const{gen:s,schema:a,schemaCode:c,data:u,$data:l,it:d}=i,{opts:y}=d;if(!l&&a.length===0)return;const m=a.length>=y.loopRequired;if(d.allErrors?v():h(),y.strictRequired){const f=i.parentSchema.properties,{definedProperties:g}=i.it;for(const $ of a)if(f?.[$]===void 0&&!g.has($)){const w=d.schemaEnv.baseId+d.errSchemaPath,k=`required property "${$}" is not defined at "${w}" (strictRequired)`;(0,r.checkStrictMode)(d,k,d.opts.strictRequired)}}function v(){if(m||l)i.block$data(t.nil,p);else for(const f of a)(0,e.checkReportMissingProp)(i,f)}function h(){const f=s.let("missing");if(m||l){const g=s.let("valid",!0);i.block$data(g,()=>b(f,g)),i.ok(g)}else s.if((0,e.checkMissingProp)(i,a,f)),(0,e.reportMissingProp)(i,f),s.else()}function p(){s.forOf("prop",c,f=>{i.setParams({missingProperty:f}),s.if((0,e.noPropertyInData)(s,u,f,y.ownProperties),()=>i.error())})}function b(f,g){i.setParams({missingProperty:f}),s.forOf(f,c,()=>{s.assign(g,(0,e.propertyInData)(s,u,f,y.ownProperties)),s.if((0,t.not)(g),()=>{i.error(),s.break()})},t.nil)}}};return pr.default=o,pr}var hr={},bs;function Dd(){if(bs)return hr;bs=1,Object.defineProperty(hr,"__esModule",{value:!0});const e=ee(),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:o}){const i=n==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${i} than ${o} items`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:o,data:i,schemaCode:s}=n,a=o==="maxItems"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`${i}.length ${a} ${s}`)}};return hr.default=r,hr}var mr={},gr={},vs;function Uo(){if(vs)return gr;vs=1,Object.defineProperty(gr,"__esModule",{value:!0});const e=Ac();return e.code='require("ajv/dist/runtime/equal").default',gr.default=e,gr}var $s;function Vd(){if($s)return mr;$s=1,Object.defineProperty(mr,"__esModule",{value:!0});const e=en(),t=ee(),r=re(),n=Uo(),i={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:s,j:a}})=>(0,t.str)`must NOT have duplicate items (items ## ${a} and ${s} are identical)`,params:({params:{i:s,j:a}})=>(0,t._)`{i: ${s}, j: ${a}}`},code(s){const{gen:a,data:c,$data:u,schema:l,parentSchema:d,schemaCode:y,it:m}=s;if(!u&&!l)return;const v=a.let("valid"),h=d.items?(0,e.getSchemaTypes)(d.items):[];s.block$data(v,p,(0,t._)`${y} === false`),s.ok(v);function p(){const $=a.let("i",(0,t._)`${c}.length`),w=a.let("j");s.setParams({i:$,j:w}),a.assign(v,!0),a.if((0,t._)`${$} > 1`,()=>(b()?f:g)($,w))}function b(){return h.length>0&&!h.some($=>$==="object"||$==="array")}function f($,w){const k=a.name("item"),_=(0,e.checkDataTypes)(h,k,m.opts.strictNumbers,e.DataType.Wrong),E=a.const("indices",(0,t._)`{}`);a.for((0,t._)`;${$}--;`,()=>{a.let(k,(0,t._)`${c}[${$}]`),a.if(_,(0,t._)`continue`),h.length>1&&a.if((0,t._)`typeof ${k} == "string"`,(0,t._)`${k} += "_"`),a.if((0,t._)`typeof ${E}[${k}] == "number"`,()=>{a.assign(w,(0,t._)`${E}[${k}]`),s.error(),a.assign(v,!1).break()}).code((0,t._)`${E}[${k}] = ${$}`)})}function g($,w){const k=(0,r.useFunc)(a,n.default),_=a.name("outer");a.label(_).for((0,t._)`;${$}--;`,()=>a.for((0,t._)`${w} = ${$}; ${w}--;`,()=>a.if((0,t._)`${k}(${c}[${$}], ${c}[${w}])`,()=>{s.error(),a.assign(v,!1).break(_)})))}}};return mr.default=i,mr}var yr={},ws;function Ud(){if(ws)return yr;ws=1,Object.defineProperty(yr,"__esModule",{value:!0});const e=ee(),t=re(),r=Uo(),o={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:i})=>(0,e._)`{allowedValue: ${i}}`},code(i){const{gen:s,data:a,$data:c,schemaCode:u,schema:l}=i;c||l&&typeof l=="object"?i.fail$data((0,e._)`!${(0,t.useFunc)(s,r.default)}(${a}, ${u})`):i.fail((0,e._)`${l} !== ${a}`)}};return yr.default=o,yr}var br={},ks;function Hd(){if(ks)return br;ks=1,Object.defineProperty(br,"__esModule",{value:!0});const e=ee(),t=re(),r=Uo(),o={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:i})=>(0,e._)`{allowedValues: ${i}}`},code(i){const{gen:s,data:a,$data:c,schema:u,schemaCode:l,it:d}=i;if(!c&&u.length===0)throw new Error("enum must have non-empty array");const y=u.length>=d.opts.loopEnum;let m;const v=()=>m??(m=(0,t.useFunc)(s,r.default));let h;if(y||c)h=s.let("valid"),i.block$data(h,p);else{if(!Array.isArray(u))throw new Error("ajv implementation error");const f=s.const("vSchema",l);h=(0,e.or)(...u.map((g,$)=>b(f,$)))}i.pass(h);function p(){s.assign(h,!1),s.forOf("v",l,f=>s.if((0,e._)`${v()}(${a}, ${f})`,()=>s.assign(h,!0).break()))}function b(f,g){const $=u[g];return typeof $=="object"&&$!==null?(0,e._)`${v()}(${a}, ${f}[${g}])`:(0,e._)`${a} === ${$}`}}};return br.default=o,br}var _s;function Wd(){if(_s)return sr;_s=1,Object.defineProperty(sr,"__esModule",{value:!0});const e=Nd(),t=Id(),r=Fd(),n=zd(),o=Ld(),i=qd(),s=Dd(),a=Vd(),c=Ud(),u=Hd(),l=[e.default,t.default,r.default,n.default,o.default,i.default,s.default,a.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},c.default,u.default];return sr.default=l,sr}var vr={},ct={},xs;function Nc(){if(xs)return ct;xs=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.validateAdditionalItems=void 0;const e=ee(),t=re(),n={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:i}})=>(0,e.str)`must NOT have more than ${i} items`,params:({params:{len:i}})=>(0,e._)`{limit: ${i}}`},code(i){const{parentSchema:s,it:a}=i,{items:c}=s;if(!Array.isArray(c)){(0,t.checkStrictMode)(a,'"additionalItems" is ignored when "items" is not an array of schemas');return}o(i,c)}};function o(i,s){const{gen:a,schema:c,data:u,keyword:l,it:d}=i;d.items=!0;const y=a.const("len",(0,e._)`${u}.length`);if(c===!1)i.setParams({len:s.length}),i.pass((0,e._)`${y} <= ${s.length}`);else if(typeof c=="object"&&!(0,t.alwaysValidSchema)(d,c)){const v=a.var("valid",(0,e._)`${y} <= ${s.length}`);a.if((0,e.not)(v),()=>m(v)),i.ok(v)}function m(v){a.forRange("i",s.length,y,h=>{i.subschema({keyword:l,dataProp:h,dataPropType:t.Type.Num},v),d.allErrors||a.if((0,e.not)(v),()=>a.break())})}}return ct.validateAdditionalItems=o,ct.default=n,ct}var $r={},lt={},Ss;function Ic(){if(Ss)return lt;Ss=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.validateTuple=void 0;const e=ee(),t=re(),r=Ie(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(i){const{schema:s,it:a}=i;if(Array.isArray(s))return o(i,"additionalItems",s);a.items=!0,!(0,t.alwaysValidSchema)(a,s)&&i.ok((0,r.validateArray)(i))}};function o(i,s,a=i.schema){const{gen:c,parentSchema:u,data:l,keyword:d,it:y}=i;h(u),y.opts.unevaluated&&a.length&&y.items!==!0&&(y.items=t.mergeEvaluated.items(c,a.length,y.items));const m=c.name("valid"),v=c.const("len",(0,e._)`${l}.length`);a.forEach((p,b)=>{(0,t.alwaysValidSchema)(y,p)||(c.if((0,e._)`${v} > ${b}`,()=>i.subschema({keyword:d,schemaProp:b,dataProp:b},m)),i.ok(m))});function h(p){const{opts:b,errSchemaPath:f}=y,g=a.length,$=g===p.minItems&&(g===p.maxItems||p[s]===!1);if(b.strictTuples&&!$){const w=`"${d}" is ${g}-tuple, but minItems or maxItems/${s} are not specified or different at path "${f}"`;(0,t.checkStrictMode)(y,w,b.strictTuples)}}}return lt.validateTuple=o,lt.default=n,lt}var Es;function Bd(){if(Es)return $r;Es=1,Object.defineProperty($r,"__esModule",{value:!0});const e=Ic(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,e.validateTuple)(r,"items")};return $r.default=t,$r}var wr={},Cs;function Kd(){if(Cs)return wr;Cs=1,Object.defineProperty(wr,"__esModule",{value:!0});const e=ee(),t=re(),r=Ie(),n=Nc(),i={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{schema:a,parentSchema:c,it:u}=s,{prefixItems:l}=c;u.items=!0,!(0,t.alwaysValidSchema)(u,a)&&(l?(0,n.validateAdditionalItems)(s,l):s.ok((0,r.validateArray)(s)))}};return wr.default=i,wr}var kr={},js;function Gd(){if(js)return kr;js=1,Object.defineProperty(kr,"__esModule",{value:!0});const e=ee(),t=re(),n={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:o,max:i}})=>i===void 0?(0,e.str)`must contain at least ${o} valid item(s)`:(0,e.str)`must contain at least ${o} and no more than ${i} valid item(s)`,params:({params:{min:o,max:i}})=>i===void 0?(0,e._)`{minContains: ${o}}`:(0,e._)`{minContains: ${o}, maxContains: ${i}}`},code(o){const{gen:i,schema:s,parentSchema:a,data:c,it:u}=o;let l,d;const{minContains:y,maxContains:m}=a;u.opts.next?(l=y===void 0?1:y,d=m):l=1;const v=i.const("len",(0,e._)`${c}.length`);if(o.setParams({min:l,max:d}),d===void 0&&l===0){(0,t.checkStrictMode)(u,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(d!==void 0&&l>d){(0,t.checkStrictMode)(u,'"minContains" > "maxContains" is always invalid'),o.fail();return}if((0,t.alwaysValidSchema)(u,s)){let g=(0,e._)`${v} >= ${l}`;d!==void 0&&(g=(0,e._)`${g} && ${v} <= ${d}`),o.pass(g);return}u.items=!0;const h=i.name("valid");d===void 0&&l===1?b(h,()=>i.if(h,()=>i.break())):l===0?(i.let(h,!0),d!==void 0&&i.if((0,e._)`${c}.length > 0`,p)):(i.let(h,!1),p()),o.result(h,()=>o.reset());function p(){const g=i.name("_valid"),$=i.let("count",0);b(g,()=>i.if(g,()=>f($)))}function b(g,$){i.forRange("i",0,v,w=>{o.subschema({keyword:"contains",dataProp:w,dataPropType:t.Type.Num,compositeRule:!0},g),$()})}function f(g){i.code((0,e._)`${g}++`),d===void 0?i.if((0,e._)`${g} >= ${l}`,()=>i.assign(h,!0).break()):(i.if((0,e._)`${g} > ${d}`,()=>i.assign(h,!1).break()),l===1?i.assign(h,!0):i.if((0,e._)`${g} >= ${l}`,()=>i.assign(h,!0)))}}};return kr.default=n,kr}var Gn={},Ps;function Jd(){return Ps||(Ps=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ee(),r=re(),n=Ie();e.error={message:({params:{property:c,depsCount:u,deps:l}})=>{const d=u===1?"property":"properties";return(0,t.str)`must have ${d} ${l} when property ${c} is present`},params:({params:{property:c,depsCount:u,deps:l,missingProperty:d}})=>(0,t._)`{property: ${c},
13
+ || ${E} === "boolean" || ${k} === null`).assign(P,(0,n._)`[${k}]`)}}}function y({gen:f,parentData:g,parentDataProperty:$},w){f.if((0,n._)`${g} !== undefined`,()=>f.assign((0,n._)`${g}[${$}]`,w))}function m(f,g,$,w=i.Correct){const k=w===i.Correct?n.operators.EQ:n.operators.NEQ;let _;switch(f){case"null":return(0,n._)`${g} ${k} null`;case"array":_=(0,n._)`Array.isArray(${g})`;break;case"object":_=(0,n._)`${g} && typeof ${g} == "object" && !Array.isArray(${g})`;break;case"integer":_=E((0,n._)`!(${g} % 1) && !isNaN(${g})`);break;case"number":_=E();break;default:return(0,n._)`typeof ${g} ${k} ${f}`}return w===i.Correct?_:(0,n.not)(_);function E(P=n.nil){return(0,n.and)((0,n._)`typeof ${g} == "number"`,P,$?(0,n._)`isFinite(${g})`:n.nil)}}ge.checkDataType=m;function v(f,g,$,w){if(f.length===1)return m(f[0],g,$,w);let k;const _=(0,o.toHash)(f);if(_.array&&_.object){const E=(0,n._)`typeof ${g} != "object"`;k=_.null?E:(0,n._)`!${g} || ${E}`,delete _.null,delete _.array,delete _.object}else k=n.nil;_.number&&delete _.integer;for(const E in _)k=(0,n.and)(k,m(E,g,$,w));return k}ge.checkDataTypes=v;const h={message:({schema:f})=>`must be ${f}`,params:({schema:f,schemaValue:g})=>typeof f=="string"?(0,n._)`{type: ${f}}`:(0,n._)`{type: ${g}}`};function p(f){const g=b(f);(0,r.reportError)(g,h)}ge.reportTypeError=p;function b(f){const{gen:g,data:$,schema:w}=f,k=(0,o.schemaRefOrVal)(f,w,"type");return{gen:g,keyword:"type",data:$,schema:w.type,schemaCode:k,schemaValue:k,parentSchema:w,params:{},it:f}}return ge}var St={},Wi;function md(){if(Wi)return St;Wi=1,Object.defineProperty(St,"__esModule",{value:!0}),St.assignDefaults=void 0;const e=ee(),t=re();function r(o,i){const{properties:s,items:a}=o.schema;if(i==="object"&&s)for(const c in s)n(o,c,s[c].default);else i==="array"&&Array.isArray(a)&&a.forEach((c,u)=>n(o,u,c.default))}St.assignDefaults=r;function n(o,i,s){const{gen:a,compositeRule:c,data:u,opts:l}=o;if(s===void 0)return;const d=(0,e._)`${u}${(0,e.getProperty)(i)}`;if(c){(0,t.checkStrictMode)(o,`default is ignored for: ${d}`);return}let y=(0,e._)`${d} === undefined`;l.useDefaults==="empty"&&(y=(0,e._)`${y} || ${d} === null || ${d} === ""`),a.if(y,(0,e._)`${d} = ${(0,e.stringify)(s)}`)}return St}var Re={},oe={},Bi;function Ie(){if(Bi)return oe;Bi=1,Object.defineProperty(oe,"__esModule",{value:!0}),oe.validateUnion=oe.validateArray=oe.usePattern=oe.callValidateCode=oe.schemaProperties=oe.allSchemaProperties=oe.noPropertyInData=oe.propertyInData=oe.isOwnProperty=oe.hasPropFunc=oe.reportMissingProp=oe.checkMissingProp=oe.checkReportMissingProp=void 0;const e=ee(),t=re(),r=Ye(),n=re();function o(f,g){const{gen:$,data:w,it:k}=f;$.if(l($,w,g,k.opts.ownProperties),()=>{f.setParams({missingProperty:(0,e._)`${g}`},!0),f.error()})}oe.checkReportMissingProp=o;function i({gen:f,data:g,it:{opts:$}},w,k){return(0,e.or)(...w.map(_=>(0,e.and)(l(f,g,_,$.ownProperties),(0,e._)`${k} = ${_}`)))}oe.checkMissingProp=i;function s(f,g){f.setParams({missingProperty:g},!0),f.error()}oe.reportMissingProp=s;function a(f){return f.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}oe.hasPropFunc=a;function c(f,g,$){return(0,e._)`${a(f)}.call(${g}, ${$})`}oe.isOwnProperty=c;function u(f,g,$,w){const k=(0,e._)`${g}${(0,e.getProperty)($)} !== undefined`;return w?(0,e._)`${k} && ${c(f,g,$)}`:k}oe.propertyInData=u;function l(f,g,$,w){const k=(0,e._)`${g}${(0,e.getProperty)($)} === undefined`;return w?(0,e.or)(k,(0,e.not)(c(f,g,$))):k}oe.noPropertyInData=l;function d(f){return f?Object.keys(f).filter(g=>g!=="__proto__"):[]}oe.allSchemaProperties=d;function y(f,g){return d(g).filter($=>!(0,t.alwaysValidSchema)(f,g[$]))}oe.schemaProperties=y;function m({schemaCode:f,data:g,it:{gen:$,topSchemaRef:w,schemaPath:k,errorPath:_},it:E},P,M,L){const V=L?(0,e._)`${f}, ${g}, ${w}${k}`:g,F=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,_)],[r.default.parentData,E.parentData],[r.default.parentDataProperty,E.parentDataProperty],[r.default.rootData,r.default.rootData]];E.opts.dynamicRef&&F.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const D=(0,e._)`${V}, ${$.object(...F)}`;return M!==e.nil?(0,e._)`${P}.call(${M}, ${D})`:(0,e._)`${P}(${D})`}oe.callValidateCode=m;const v=(0,e._)`new RegExp`;function h({gen:f,it:{opts:g}},$){const w=g.unicodeRegExp?"u":"",{regExp:k}=g.code,_=k($,w);return f.scopeValue("pattern",{key:_.toString(),ref:_,code:(0,e._)`${k.code==="new RegExp"?v:(0,n.useFunc)(f,k)}(${$}, ${w})`})}oe.usePattern=h;function p(f){const{gen:g,data:$,keyword:w,it:k}=f,_=g.name("valid");if(k.allErrors){const P=g.let("valid",!0);return E(()=>g.assign(P,!1)),P}return g.var(_,!0),E(()=>g.break()),_;function E(P){const M=g.const("len",(0,e._)`${$}.length`);g.forRange("i",0,M,L=>{f.subschema({keyword:w,dataProp:L,dataPropType:t.Type.Num},_),g.if((0,e.not)(_),P)})}}oe.validateArray=p;function b(f){const{gen:g,schema:$,keyword:w,it:k}=f;if(!Array.isArray($))throw new Error("ajv implementation error");if($.some(M=>(0,t.alwaysValidSchema)(k,M))&&!k.opts.unevaluated)return;const E=g.let("valid",!1),P=g.name("_valid");g.block(()=>$.forEach((M,L)=>{const V=f.subschema({keyword:w,schemaProp:L,compositeRule:!0},P);g.assign(E,(0,e._)`${E} || ${P}`),f.mergeValidEvaluated(V,P)||g.if((0,e.not)(E))})),f.result(E,()=>f.reset(),()=>f.error(!0))}return oe.validateUnion=b,oe}var Ki;function gd(){if(Ki)return Re;Ki=1,Object.defineProperty(Re,"__esModule",{value:!0}),Re.validateKeywordUsage=Re.validSchemaType=Re.funcKeywordCode=Re.macroKeywordCode=void 0;const e=ee(),t=Ye(),r=Ie(),n=bn();function o(y,m){const{gen:v,keyword:h,schema:p,parentSchema:b,it:f}=y,g=m.macro.call(f.self,p,b,f),$=u(v,h,g);f.opts.validateSchema!==!1&&f.self.validateSchema(g,!0);const w=v.name("valid");y.subschema({schema:g,schemaPath:e.nil,errSchemaPath:`${f.errSchemaPath}/${h}`,topSchemaRef:$,compositeRule:!0},w),y.pass(w,()=>y.error(!0))}Re.macroKeywordCode=o;function i(y,m){var v;const{gen:h,keyword:p,schema:b,parentSchema:f,$data:g,it:$}=y;c($,m);const w=!g&&m.compile?m.compile.call($.self,b,f,$):m.validate,k=u(h,p,w),_=h.let("valid");y.block$data(_,E),y.ok((v=m.valid)!==null&&v!==void 0?v:_);function E(){if(m.errors===!1)L(),m.modifying&&s(y),V(()=>y.error());else{const F=m.async?P():M();m.modifying&&s(y),V(()=>a(y,F))}}function P(){const F=h.let("ruleErrs",null);return h.try(()=>L((0,e._)`await `),D=>h.assign(_,!1).if((0,e._)`${D} instanceof ${$.ValidationError}`,()=>h.assign(F,(0,e._)`${D}.errors`),()=>h.throw(D))),F}function M(){const F=(0,e._)`${k}.errors`;return h.assign(F,null),L(e.nil),F}function L(F=m.async?(0,e._)`await `:e.nil){const D=$.opts.passContext?t.default.this:t.default.self,K=!("compile"in m&&!g||m.schema===!1);h.assign(_,(0,e._)`${F}${(0,r.callValidateCode)(y,k,D,K)}`,m.modifying)}function V(F){var D;h.if((0,e.not)((D=m.valid)!==null&&D!==void 0?D:_),F)}}Re.funcKeywordCode=i;function s(y){const{gen:m,data:v,it:h}=y;m.if(h.parentData,()=>m.assign(v,(0,e._)`${h.parentData}[${h.parentDataProperty}]`))}function a(y,m){const{gen:v}=y;v.if((0,e._)`Array.isArray(${m})`,()=>{v.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${m} : ${t.default.vErrors}.concat(${m})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(y)},()=>y.error())}function c({schemaEnv:y},m){if(m.async&&!y.$async)throw new Error("async keyword in sync schema")}function u(y,m,v){if(v===void 0)throw new Error(`keyword "${m}" failed to compile`);return y.scopeValue("keyword",typeof v=="function"?{ref:v}:{ref:v,code:(0,e.stringify)(v)})}function l(y,m,v=!1){return!m.length||m.some(h=>h==="array"?Array.isArray(y):h==="object"?y&&typeof y=="object"&&!Array.isArray(y):typeof y==h||v&&typeof y>"u")}Re.validSchemaType=l;function d({schema:y,opts:m,self:v,errSchemaPath:h},p,b){if(Array.isArray(p.keyword)?!p.keyword.includes(b):p.keyword!==b)throw new Error("ajv implementation error");const f=p.dependencies;if(f?.some(g=>!Object.prototype.hasOwnProperty.call(y,g)))throw new Error(`parent schema must have dependencies of ${b}: ${f.join(",")}`);if(p.validateSchema&&!p.validateSchema(y[b])){const $=`keyword "${b}" value is invalid at path "${h}": `+v.errorsText(p.validateSchema.errors);if(m.validateSchema==="log")v.logger.error($);else throw new Error($)}}return Re.validateKeywordUsage=d,Re}var De={},Gi;function yd(){if(Gi)return De;Gi=1,Object.defineProperty(De,"__esModule",{value:!0}),De.extendSubschemaMode=De.extendSubschemaData=De.getSubschema=void 0;const e=ee(),t=re();function r(i,{keyword:s,schemaProp:a,schema:c,schemaPath:u,errSchemaPath:l,topSchemaRef:d}){if(s!==void 0&&c!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(s!==void 0){const y=i.schema[s];return a===void 0?{schema:y,schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(s)}`,errSchemaPath:`${i.errSchemaPath}/${s}`}:{schema:y[a],schemaPath:(0,e._)`${i.schemaPath}${(0,e.getProperty)(s)}${(0,e.getProperty)(a)}`,errSchemaPath:`${i.errSchemaPath}/${s}/${(0,t.escapeFragment)(a)}`}}if(c!==void 0){if(u===void 0||l===void 0||d===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:c,schemaPath:u,topSchemaRef:d,errSchemaPath:l}}throw new Error('either "keyword" or "schema" must be passed')}De.getSubschema=r;function n(i,s,{dataProp:a,dataPropType:c,data:u,dataTypes:l,propertyName:d}){if(u!==void 0&&a!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:y}=s;if(a!==void 0){const{errorPath:v,dataPathArr:h,opts:p}=s,b=y.let("data",(0,e._)`${s.data}${(0,e.getProperty)(a)}`,!0);m(b),i.errorPath=(0,e.str)`${v}${(0,t.getErrorPath)(a,c,p.jsPropertySyntax)}`,i.parentDataProperty=(0,e._)`${a}`,i.dataPathArr=[...h,i.parentDataProperty]}if(u!==void 0){const v=u instanceof e.Name?u:y.let("data",u,!0);m(v),d!==void 0&&(i.propertyName=d)}l&&(i.dataTypes=l);function m(v){i.data=v,i.dataLevel=s.dataLevel+1,i.dataTypes=[],s.definedProperties=new Set,i.parentData=s.data,i.dataNames=[...s.dataNames,v]}}De.extendSubschemaData=n;function o(i,{jtdDiscriminator:s,jtdMetadata:a,compositeRule:c,createErrors:u,allErrors:l}){c!==void 0&&(i.compositeRule=c),u!==void 0&&(i.createErrors=u),l!==void 0&&(i.allErrors=l),i.jtdDiscriminator=s,i.jtdMetadata=a}return De.extendSubschemaMode=o,De}var $e={},Un,Ji;function Nc(){return Ji||(Ji=1,Un=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,o,i;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,i[o]))return!1;for(o=n;o--!==0;){var s=i[o];if(!e(t[s],r[s]))return!1}return!0}return t!==t&&r!==r}),Un}var Hn={exports:{}},Xi;function bd(){if(Xi)return Hn.exports;Xi=1;var e=Hn.exports=function(n,o,i){typeof o=="function"&&(i=o,o={}),i=o.cb||i;var s=typeof i=="function"?i:i.pre||function(){},a=i.post||function(){};t(o,s,a,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,o,i,s,a,c,u,l,d,y){if(s&&typeof s=="object"&&!Array.isArray(s)){o(s,a,c,u,l,d,y);for(var m in s){var v=s[m];if(Array.isArray(v)){if(m in e.arrayKeywords)for(var h=0;h<v.length;h++)t(n,o,i,v[h],a+"/"+m+"/"+h,c,a,m,s,h)}else if(m in e.propsKeywords){if(v&&typeof v=="object")for(var p in v)t(n,o,i,v[p],a+"/"+m+"/"+r(p),c,a,m,s,p)}else(m in e.keywords||n.allKeys&&!(m in e.skipKeywords))&&t(n,o,i,v,a+"/"+m,c,a,m,s)}i(s,a,c,u,l,d,y)}}function r(n){return n.replace(/~/g,"~0").replace(/\//g,"~1")}return Hn.exports}var Yi;function vn(){if(Yi)return $e;Yi=1,Object.defineProperty($e,"__esModule",{value:!0}),$e.getSchemaRefs=$e.resolveUrl=$e.normalizeId=$e._getFullPath=$e.getFullPath=$e.inlineRef=void 0;const e=re(),t=Nc(),r=bd(),n=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function o(h,p=!0){return typeof h=="boolean"?!0:p===!0?!s(h):p?a(h)<=p:!1}$e.inlineRef=o;const i=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function s(h){for(const p in h){if(i.has(p))return!0;const b=h[p];if(Array.isArray(b)&&b.some(s)||typeof b=="object"&&s(b))return!0}return!1}function a(h){let p=0;for(const b in h){if(b==="$ref")return 1/0;if(p++,!n.has(b)&&(typeof h[b]=="object"&&(0,e.eachItem)(h[b],f=>p+=a(f)),p===1/0))return 1/0}return p}function c(h,p="",b){b!==!1&&(p=d(p));const f=h.parse(p);return u(h,f)}$e.getFullPath=c;function u(h,p){return h.serialize(p).split("#")[0]+"#"}$e._getFullPath=u;const l=/#\/?$/;function d(h){return h?h.replace(l,""):""}$e.normalizeId=d;function y(h,p,b){return b=d(b),h.resolve(p,b)}$e.resolveUrl=y;const m=/^[a-z_][-a-z0-9._]*$/i;function v(h,p){if(typeof h=="boolean")return{};const{schemaId:b,uriResolver:f}=this.opts,g=d(h[b]||p),$={"":g},w=c(f,g,!1),k={},_=new Set;return r(h,{allKeys:!0},(M,L,V,F)=>{if(F===void 0)return;const D=w+L;let K=$[F];typeof M[b]=="string"&&(K=J.call(this,M[b])),ie.call(this,M.$anchor),ie.call(this,M.$dynamicAnchor),$[L]=K;function J(G){const se=this.opts.uriResolver.resolve;if(G=d(K?se(K,G):G),_.has(G))throw P(G);_.add(G);let z=this.refs[G];return typeof z=="string"&&(z=this.refs[z]),typeof z=="object"?E(M,z.schema,G):G!==d(D)&&(G[0]==="#"?(E(M,k[G],G),k[G]=M):this.refs[G]=D),G}function ie(G){if(typeof G=="string"){if(!m.test(G))throw new Error(`invalid anchor "${G}"`);J.call(this,`#${G}`)}}}),k;function E(M,L,V){if(L!==void 0&&!t(M,L))throw P(V)}function P(M){return new Error(`reference "${M}" resolves to more than one schema`)}}return $e.getSchemaRefs=v,$e}var Qi;function $n(){if(Qi)return Le;Qi=1,Object.defineProperty(Le,"__esModule",{value:!0}),Le.getData=Le.KeywordCxt=Le.validateFunctionCode=void 0;const e=hd(),t=en(),r=Ac(),n=en(),o=md(),i=gd(),s=yd(),a=ee(),c=Ye(),u=vn(),l=re(),d=bn();function y(j){if(w(j)&&(_(j),$(j))){p(j);return}m(j,()=>(0,e.topBoolOrEmptySchema)(j))}Le.validateFunctionCode=y;function m({gen:j,validateName:T,schema:N,schemaEnv:q,opts:W},Q){W.code.es5?j.func(T,(0,a._)`${c.default.data}, ${c.default.valCxt}`,q.$async,()=>{j.code((0,a._)`"use strict"; ${f(N,W)}`),h(j,W),j.code(Q)}):j.func(T,(0,a._)`${c.default.data}, ${v(W)}`,q.$async,()=>j.code(f(N,W)).code(Q))}function v(j){return(0,a._)`{${c.default.instancePath}="", ${c.default.parentData}, ${c.default.parentDataProperty}, ${c.default.rootData}=${c.default.data}${j.dynamicRef?(0,a._)`, ${c.default.dynamicAnchors}={}`:a.nil}}={}`}function h(j,T){j.if(c.default.valCxt,()=>{j.var(c.default.instancePath,(0,a._)`${c.default.valCxt}.${c.default.instancePath}`),j.var(c.default.parentData,(0,a._)`${c.default.valCxt}.${c.default.parentData}`),j.var(c.default.parentDataProperty,(0,a._)`${c.default.valCxt}.${c.default.parentDataProperty}`),j.var(c.default.rootData,(0,a._)`${c.default.valCxt}.${c.default.rootData}`),T.dynamicRef&&j.var(c.default.dynamicAnchors,(0,a._)`${c.default.valCxt}.${c.default.dynamicAnchors}`)},()=>{j.var(c.default.instancePath,(0,a._)`""`),j.var(c.default.parentData,(0,a._)`undefined`),j.var(c.default.parentDataProperty,(0,a._)`undefined`),j.var(c.default.rootData,c.default.data),T.dynamicRef&&j.var(c.default.dynamicAnchors,(0,a._)`{}`)})}function p(j){const{schema:T,opts:N,gen:q}=j;m(j,()=>{N.$comment&&T.$comment&&F(j),M(j),q.let(c.default.vErrors,null),q.let(c.default.errors,0),N.unevaluated&&b(j),E(j),D(j)})}function b(j){const{gen:T,validateName:N}=j;j.evaluated=T.const("evaluated",(0,a._)`${N}.evaluated`),T.if((0,a._)`${j.evaluated}.dynamicProps`,()=>T.assign((0,a._)`${j.evaluated}.props`,(0,a._)`undefined`)),T.if((0,a._)`${j.evaluated}.dynamicItems`,()=>T.assign((0,a._)`${j.evaluated}.items`,(0,a._)`undefined`))}function f(j,T){const N=typeof j=="object"&&j[T.schemaId];return N&&(T.code.source||T.code.process)?(0,a._)`/*# sourceURL=${N} */`:a.nil}function g(j,T){if(w(j)&&(_(j),$(j))){k(j,T);return}(0,e.boolOrEmptySchema)(j,T)}function $({schema:j,self:T}){if(typeof j=="boolean")return!j;for(const N in j)if(T.RULES.all[N])return!0;return!1}function w(j){return typeof j.schema!="boolean"}function k(j,T){const{schema:N,gen:q,opts:W}=j;W.$comment&&N.$comment&&F(j),L(j),V(j);const Q=q.const("_errs",c.default.errors);E(j,Q),q.var(T,(0,a._)`${Q} === ${c.default.errors}`)}function _(j){(0,l.checkUnknownRules)(j),P(j)}function E(j,T){if(j.opts.jtd)return J(j,[],!1,T);const N=(0,t.getSchemaTypes)(j.schema),q=(0,t.coerceAndCheckDataType)(j,N);J(j,N,!q,T)}function P(j){const{schema:T,errSchemaPath:N,opts:q,self:W}=j;T.$ref&&q.ignoreKeywordsWithRef&&(0,l.schemaHasRulesButRef)(T,W.RULES)&&W.logger.warn(`$ref: keywords ignored in schema at path "${N}"`)}function M(j){const{schema:T,opts:N}=j;T.default!==void 0&&N.useDefaults&&N.strictSchema&&(0,l.checkStrictMode)(j,"default is ignored in the schema root")}function L(j){const T=j.schema[j.opts.schemaId];T&&(j.baseId=(0,u.resolveUrl)(j.opts.uriResolver,j.baseId,T))}function V(j){if(j.schema.$async&&!j.schemaEnv.$async)throw new Error("async schema in sync schema")}function F({gen:j,schemaEnv:T,schema:N,errSchemaPath:q,opts:W}){const Q=N.$comment;if(W.$comment===!0)j.code((0,a._)`${c.default.self}.logger.log(${Q})`);else if(typeof W.$comment=="function"){const he=(0,a.str)`${q}/$comment`,Oe=j.scopeValue("root",{ref:T.root});j.code((0,a._)`${c.default.self}.opts.$comment(${Q}, ${he}, ${Oe}.schema)`)}}function D(j){const{gen:T,schemaEnv:N,validateName:q,ValidationError:W,opts:Q}=j;N.$async?T.if((0,a._)`${c.default.errors} === 0`,()=>T.return(c.default.data),()=>T.throw((0,a._)`new ${W}(${c.default.vErrors})`)):(T.assign((0,a._)`${q}.errors`,c.default.vErrors),Q.unevaluated&&K(j),T.return((0,a._)`${c.default.errors} === 0`))}function K({gen:j,evaluated:T,props:N,items:q}){N instanceof a.Name&&j.assign((0,a._)`${T}.props`,N),q instanceof a.Name&&j.assign((0,a._)`${T}.items`,q)}function J(j,T,N,q){const{gen:W,schema:Q,data:he,allErrors:Oe,opts:we,self:ke}=j,{RULES:me}=ke;if(Q.$ref&&(we.ignoreKeywordsWithRef||!(0,l.schemaHasRulesButRef)(Q,me))){W.block(()=>H(j,"$ref",me.all.$ref.definition));return}we.jtd||G(j,T),W.block(()=>{for(const je of me.rules)at(je);at(me.post)});function at(je){(0,r.shouldUseGroup)(Q,je)&&(je.type?(W.if((0,n.checkDataType)(je.type,he,we.strictNumbers)),ie(j,je),T.length===1&&T[0]===je.type&&N&&(W.else(),(0,n.reportTypeError)(j)),W.endIf()):ie(j,je),Oe||W.if((0,a._)`${c.default.errors} === ${q||0}`))}}function ie(j,T){const{gen:N,schema:q,opts:{useDefaults:W}}=j;W&&(0,o.assignDefaults)(j,T.type),N.block(()=>{for(const Q of T.rules)(0,r.shouldUseRule)(q,Q)&&H(j,Q.keyword,Q.definition,T.type)})}function G(j,T){j.schemaEnv.meta||!j.opts.strictTypes||(se(j,T),j.opts.allowUnionTypes||z(j,T),O(j,j.dataTypes))}function se(j,T){if(T.length){if(!j.dataTypes.length){j.dataTypes=T;return}T.forEach(N=>{R(j.dataTypes,N)||S(j,`type "${N}" not allowed by context "${j.dataTypes.join(",")}"`)}),x(j,T)}}function z(j,T){T.length>1&&!(T.length===2&&T.includes("null"))&&S(j,"use allowUnionTypes to allow union type keyword")}function O(j,T){const N=j.self.RULES.all;for(const q in N){const W=N[q];if(typeof W=="object"&&(0,r.shouldUseRule)(j.schema,W)){const{type:Q}=W.definition;Q.length&&!Q.some(he=>I(T,he))&&S(j,`missing type "${Q.join(",")}" for keyword "${q}"`)}}}function I(j,T){return j.includes(T)||T==="number"&&j.includes("integer")}function R(j,T){return j.includes(T)||T==="integer"&&j.includes("number")}function x(j,T){const N=[];for(const q of j.dataTypes)R(T,q)?N.push(q):T.includes("integer")&&q==="number"&&N.push("integer");j.dataTypes=N}function S(j,T){const N=j.schemaEnv.baseId+j.errSchemaPath;T+=` at "${N}" (strictTypes)`,(0,l.checkStrictMode)(j,T,j.opts.strictTypes)}class A{constructor(T,N,q){if((0,i.validateKeywordUsage)(T,N,q),this.gen=T.gen,this.allErrors=T.allErrors,this.keyword=q,this.data=T.data,this.schema=T.schema[q],this.$data=N.$data&&T.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,l.schemaRefOrVal)(T,this.schema,q,this.$data),this.schemaType=N.schemaType,this.parentSchema=T.schema,this.params={},this.it=T,this.def=N,this.$data)this.schemaCode=T.gen.const("vSchema",te(this.$data,T));else if(this.schemaCode=this.schemaValue,!(0,i.validSchemaType)(this.schema,N.schemaType,N.allowUndefined))throw new Error(`${q} value must be ${JSON.stringify(N.schemaType)}`);("code"in N?N.trackErrors:N.errors!==!1)&&(this.errsCount=T.gen.const("_errs",c.default.errors))}result(T,N,q){this.failResult((0,a.not)(T),N,q)}failResult(T,N,q){this.gen.if(T),q?q():this.error(),N?(this.gen.else(),N(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(T,N){this.failResult((0,a.not)(T),void 0,N)}fail(T){if(T===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(T),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(T){if(!this.$data)return this.fail(T);const{schemaCode:N}=this;this.fail((0,a._)`${N} !== undefined && (${(0,a.or)(this.invalid$data(),T)})`)}error(T,N,q){if(N){this.setParams(N),this._error(T,q),this.setParams({});return}this._error(T,q)}_error(T,N){(T?d.reportExtraError:d.reportError)(this,this.def.error,N)}$dataError(){(0,d.reportError)(this,this.def.$dataError||d.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,d.resetErrorsCount)(this.gen,this.errsCount)}ok(T){this.allErrors||this.gen.if(T)}setParams(T,N){N?Object.assign(this.params,T):this.params=T}block$data(T,N,q=a.nil){this.gen.block(()=>{this.check$data(T,q),N()})}check$data(T=a.nil,N=a.nil){if(!this.$data)return;const{gen:q,schemaCode:W,schemaType:Q,def:he}=this;q.if((0,a.or)((0,a._)`${W} === undefined`,N)),T!==a.nil&&q.assign(T,!0),(Q.length||he.validateSchema)&&(q.elseIf(this.invalid$data()),this.$dataError(),T!==a.nil&&q.assign(T,!1)),q.else()}invalid$data(){const{gen:T,schemaCode:N,schemaType:q,def:W,it:Q}=this;return(0,a.or)(he(),Oe());function he(){if(q.length){if(!(N instanceof a.Name))throw new Error("ajv implementation error");const we=Array.isArray(q)?q:[q];return(0,a._)`${(0,n.checkDataTypes)(we,N,Q.opts.strictNumbers,n.DataType.Wrong)}`}return a.nil}function Oe(){if(W.validateSchema){const we=T.scopeValue("validate$data",{ref:W.validateSchema});return(0,a._)`!${we}(${N})`}return a.nil}}subschema(T,N){const q=(0,s.getSubschema)(this.it,T);(0,s.extendSubschemaData)(q,this.it,T),(0,s.extendSubschemaMode)(q,T);const W={...this.it,...q,items:void 0,props:void 0};return g(W,N),W}mergeEvaluated(T,N){const{it:q,gen:W}=this;q.opts.unevaluated&&(q.props!==!0&&T.props!==void 0&&(q.props=l.mergeEvaluated.props(W,T.props,q.props,N)),q.items!==!0&&T.items!==void 0&&(q.items=l.mergeEvaluated.items(W,T.items,q.items,N)))}mergeValidEvaluated(T,N){const{it:q,gen:W}=this;if(q.opts.unevaluated&&(q.props!==!0||q.items!==!0))return W.if(N,()=>this.mergeEvaluated(T,a.Name)),!0}}Le.KeywordCxt=A;function H(j,T,N,q){const W=new A(j,N,T);"code"in N?N.code(W,q):W.$data&&N.validate?(0,i.funcKeywordCode)(W,N):"macro"in N?(0,i.macroKeywordCode)(W,N):(N.compile||N.validate)&&(0,i.funcKeywordCode)(W,N)}const B=/^\/(?:[^~]|~0|~1)*$/,ne=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function te(j,{dataLevel:T,dataNames:N,dataPathArr:q}){let W,Q;if(j==="")return c.default.rootData;if(j[0]==="/"){if(!B.test(j))throw new Error(`Invalid JSON-pointer: ${j}`);W=j,Q=c.default.rootData}else{const ke=ne.exec(j);if(!ke)throw new Error(`Invalid JSON-pointer: ${j}`);const me=+ke[1];if(W=ke[2],W==="#"){if(me>=T)throw new Error(we("property/index",me));return q[T-me]}if(me>T)throw new Error(we("data",me));if(Q=N[T-me],!W)return Q}let he=Q;const Oe=W.split("/");for(const ke of Oe)ke&&(Q=(0,a._)`${Q}${(0,a.getProperty)((0,l.unescapeJsonPointer)(ke))}`,he=(0,a._)`${he} && ${Q}`);return he;function we(ke,me){return`Cannot access ${ke} ${me} levels up, current level is ${T}`}}return Le.getData=te,Le}var er={},Zi;function Do(){if(Zi)return er;Zi=1,Object.defineProperty(er,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return er.default=e,er}var tr={},es;function wn(){if(es)return tr;es=1,Object.defineProperty(tr,"__esModule",{value:!0});const e=vn();class t extends Error{constructor(n,o,i,s){super(s||`can't resolve reference ${i} from id ${o}`),this.missingRef=(0,e.resolveUrl)(n,o,i),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return tr.default=t,tr}var Se={},ts;function Vo(){if(ts)return Se;ts=1,Object.defineProperty(Se,"__esModule",{value:!0}),Se.resolveSchema=Se.getCompilingSchema=Se.resolveRef=Se.compileSchema=Se.SchemaEnv=void 0;const e=ee(),t=Do(),r=Ye(),n=vn(),o=re(),i=$n();class s{constructor(b){var f;this.refs={},this.dynamicAnchors={};let g;typeof b.schema=="object"&&(g=b.schema),this.schema=b.schema,this.schemaId=b.schemaId,this.root=b.root||this,this.baseId=(f=b.baseId)!==null&&f!==void 0?f:(0,n.normalizeId)(g?.[b.schemaId||"$id"]),this.schemaPath=b.schemaPath,this.localRefs=b.localRefs,this.meta=b.meta,this.$async=g?.$async,this.refs={}}}Se.SchemaEnv=s;function a(p){const b=l.call(this,p);if(b)return b;const f=(0,n.getFullPath)(this.opts.uriResolver,p.root.baseId),{es5:g,lines:$}=this.opts.code,{ownProperties:w}=this.opts,k=new e.CodeGen(this.scope,{es5:g,lines:$,ownProperties:w});let _;p.$async&&(_=k.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const E=k.scopeName("validate");p.validateName=E;const P={gen:k,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:k.scopeValue("schema",this.opts.code.source===!0?{ref:p.schema,code:(0,e.stringify)(p.schema)}:{ref:p.schema}),validateName:E,ValidationError:_,schema:p.schema,schemaEnv:p,rootId:f,baseId:p.baseId||f,schemaPath:e.nil,errSchemaPath:p.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let M;try{this._compilations.add(p),(0,i.validateFunctionCode)(P),k.optimize(this.opts.code.optimize);const L=k.toString();M=`${k.scopeRefs(r.default.scope)}return ${L}`,this.opts.code.process&&(M=this.opts.code.process(M,p));const F=new Function(`${r.default.self}`,`${r.default.scope}`,M)(this,this.scope.get());if(this.scope.value(E,{ref:F}),F.errors=null,F.schema=p.schema,F.schemaEnv=p,p.$async&&(F.$async=!0),this.opts.code.source===!0&&(F.source={validateName:E,validateCode:L,scopeValues:k._values}),this.opts.unevaluated){const{props:D,items:K}=P;F.evaluated={props:D instanceof e.Name?void 0:D,items:K instanceof e.Name?void 0:K,dynamicProps:D instanceof e.Name,dynamicItems:K instanceof e.Name},F.source&&(F.source.evaluated=(0,e.stringify)(F.evaluated))}return p.validate=F,p}catch(L){throw delete p.validate,delete p.validateName,M&&this.logger.error("Error compiling schema, function code:",M),L}finally{this._compilations.delete(p)}}Se.compileSchema=a;function c(p,b,f){var g;f=(0,n.resolveUrl)(this.opts.uriResolver,b,f);const $=p.refs[f];if($)return $;let w=y.call(this,p,f);if(w===void 0){const k=(g=p.localRefs)===null||g===void 0?void 0:g[f],{schemaId:_}=this.opts;k&&(w=new s({schema:k,schemaId:_,root:p,baseId:b}))}if(w!==void 0)return p.refs[f]=u.call(this,w)}Se.resolveRef=c;function u(p){return(0,n.inlineRef)(p.schema,this.opts.inlineRefs)?p.schema:p.validate?p:a.call(this,p)}function l(p){for(const b of this._compilations)if(d(b,p))return b}Se.getCompilingSchema=l;function d(p,b){return p.schema===b.schema&&p.root===b.root&&p.baseId===b.baseId}function y(p,b){let f;for(;typeof(f=this.refs[b])=="string";)b=f;return f||this.schemas[b]||m.call(this,p,b)}function m(p,b){const f=this.opts.uriResolver.parse(b),g=(0,n._getFullPath)(this.opts.uriResolver,f);let $=(0,n.getFullPath)(this.opts.uriResolver,p.baseId,void 0);if(Object.keys(p.schema).length>0&&g===$)return h.call(this,f,p);const w=(0,n.normalizeId)(g),k=this.refs[w]||this.schemas[w];if(typeof k=="string"){const _=m.call(this,p,k);return typeof _?.schema!="object"?void 0:h.call(this,f,_)}if(typeof k?.schema=="object"){if(k.validate||a.call(this,k),w===(0,n.normalizeId)(b)){const{schema:_}=k,{schemaId:E}=this.opts,P=_[E];return P&&($=(0,n.resolveUrl)(this.opts.uriResolver,$,P)),new s({schema:_,schemaId:E,root:p,baseId:$})}return h.call(this,f,k)}}Se.resolveSchema=m;const v=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function h(p,{baseId:b,schema:f,root:g}){var $;if((($=p.fragment)===null||$===void 0?void 0:$[0])!=="/")return;for(const _ of p.fragment.slice(1).split("/")){if(typeof f=="boolean")return;const E=f[(0,o.unescapeFragment)(_)];if(E===void 0)return;f=E;const P=typeof f=="object"&&f[this.opts.schemaId];!v.has(_)&&P&&(b=(0,n.resolveUrl)(this.opts.uriResolver,b,P))}let w;if(typeof f!="boolean"&&f.$ref&&!(0,o.schemaHasRulesButRef)(f,this.RULES)){const _=(0,n.resolveUrl)(this.opts.uriResolver,b,f.$ref);w=m.call(this,g,_)}const{schemaId:k}=this.opts;if(w=w||new s({schema:f,schemaId:k,root:g,baseId:b}),w.schema!==w.root.schema)return w}return Se}const vd="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",$d="Meta-schema for $data reference (JSON AnySchema extension proposal)",wd="object",kd=["$data"],_d={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},xd=!1,Sd={$id:vd,description:$d,type:wd,required:kd,properties:_d,additionalProperties:xd};var rr={},Et={exports:{}},Wn,rs;function Ed(){return rs||(rs=1,Wn={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),Wn}var Bn,ns;function Cd(){if(ns)return Bn;ns=1;const{HEX:e}=Ed(),t=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function r(h){if(a(h,".")<3)return{host:h,isIPV4:!1};const p=h.match(t)||[],[b]=p;return b?{host:s(b,"."),isIPV4:!0}:{host:h,isIPV4:!1}}function n(h,p=!1){let b="",f=!0;for(const g of h){if(e[g]===void 0)return;g!=="0"&&f===!0&&(f=!1),f||(b+=g)}return p&&b.length===0&&(b="0"),b}function o(h){let p=0;const b={error:!1,address:"",zone:""},f=[],g=[];let $=!1,w=!1,k=!1;function _(){if(g.length){if($===!1){const E=n(g);if(E!==void 0)f.push(E);else return b.error=!0,!1}g.length=0}return!0}for(let E=0;E<h.length;E++){const P=h[E];if(!(P==="["||P==="]"))if(P===":"){if(w===!0&&(k=!0),!_())break;if(p++,f.push(":"),p>7){b.error=!0;break}E-1>=0&&h[E-1]===":"&&(w=!0);continue}else if(P==="%"){if(!_())break;$=!0}else{g.push(P);continue}}return g.length&&($?b.zone=g.join(""):k?f.push(g.join("")):f.push(n(g))),b.address=f.join(""),b}function i(h){if(a(h,":")<2)return{host:h,isIPV6:!1};const p=o(h);if(p.error)return{host:h,isIPV6:!1};{let b=p.address,f=p.address;return p.zone&&(b+="%"+p.zone,f+="%25"+p.zone),{host:b,escapedHost:f,isIPV6:!0}}}function s(h,p){let b="",f=!0;const g=h.length;for(let $=0;$<g;$++){const w=h[$];w==="0"&&f?($+1<=g&&h[$+1]===p||$+1===g)&&(b+=w,f=!1):(w===p?f=!0:f=!1,b+=w)}return b}function a(h,p){let b=0;for(let f=0;f<h.length;f++)h[f]===p&&b++;return b}const c=/^\.\.?\//u,u=/^\/\.(?:\/|$)/u,l=/^\/\.\.(?:\/|$)/u,d=/^\/?(?:.|\n)*?(?=\/|$)/u;function y(h){const p=[];for(;h.length;)if(h.match(c))h=h.replace(c,"");else if(h.match(u))h=h.replace(u,"/");else if(h.match(l))h=h.replace(l,"/"),p.pop();else if(h==="."||h==="..")h="";else{const b=h.match(d);if(b){const f=b[0];h=h.slice(f.length),p.push(f)}else throw new Error("Unexpected dot segment condition")}return p.join("")}function m(h,p){const b=p!==!0?escape:unescape;return h.scheme!==void 0&&(h.scheme=b(h.scheme)),h.userinfo!==void 0&&(h.userinfo=b(h.userinfo)),h.host!==void 0&&(h.host=b(h.host)),h.path!==void 0&&(h.path=b(h.path)),h.query!==void 0&&(h.query=b(h.query)),h.fragment!==void 0&&(h.fragment=b(h.fragment)),h}function v(h){const p=[];if(h.userinfo!==void 0&&(p.push(h.userinfo),p.push("@")),h.host!==void 0){let b=unescape(h.host);const f=r(b);if(f.isIPV4)b=f.host;else{const g=i(f.host);g.isIPV6===!0?b=`[${g.escapedHost}]`:b=h.host}p.push(b)}return(typeof h.port=="number"||typeof h.port=="string")&&(p.push(":"),p.push(String(h.port))),p.length?p.join(""):void 0}return Bn={recomposeAuthority:v,normalizeComponentEncoding:m,removeDotSegments:y,normalizeIPv4:r,normalizeIPv6:i,stringArrayToHexStripped:n},Bn}var Kn,os;function jd(){if(os)return Kn;os=1;const e=/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu,t=/([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;function r(f){return typeof f.secure=="boolean"?f.secure:String(f.scheme).toLowerCase()==="wss"}function n(f){return f.host||(f.error=f.error||"HTTP URIs must have a host."),f}function o(f){const g=String(f.scheme).toLowerCase()==="https";return(f.port===(g?443:80)||f.port==="")&&(f.port=void 0),f.path||(f.path="/"),f}function i(f){return f.secure=r(f),f.resourceName=(f.path||"/")+(f.query?"?"+f.query:""),f.path=void 0,f.query=void 0,f}function s(f){if((f.port===(r(f)?443:80)||f.port==="")&&(f.port=void 0),typeof f.secure=="boolean"&&(f.scheme=f.secure?"wss":"ws",f.secure=void 0),f.resourceName){const[g,$]=f.resourceName.split("?");f.path=g&&g!=="/"?g:void 0,f.query=$,f.resourceName=void 0}return f.fragment=void 0,f}function a(f,g){if(!f.path)return f.error="URN can not be parsed",f;const $=f.path.match(t);if($){const w=g.scheme||f.scheme||"urn";f.nid=$[1].toLowerCase(),f.nss=$[2];const k=`${w}:${g.nid||f.nid}`,_=b[k];f.path=void 0,_&&(f=_.parse(f,g))}else f.error=f.error||"URN can not be parsed.";return f}function c(f,g){const $=g.scheme||f.scheme||"urn",w=f.nid.toLowerCase(),k=`${$}:${g.nid||w}`,_=b[k];_&&(f=_.serialize(f,g));const E=f,P=f.nss;return E.path=`${w||g.nid}:${P}`,g.skipEscape=!0,E}function u(f,g){const $=f;return $.uuid=$.nss,$.nss=void 0,!g.tolerant&&(!$.uuid||!e.test($.uuid))&&($.error=$.error||"UUID is not valid."),$}function l(f){const g=f;return g.nss=(f.uuid||"").toLowerCase(),g}const d={scheme:"http",domainHost:!0,parse:n,serialize:o},y={scheme:"https",domainHost:d.domainHost,parse:n,serialize:o},m={scheme:"ws",domainHost:!0,parse:i,serialize:s},v={scheme:"wss",domainHost:m.domainHost,parse:m.parse,serialize:m.serialize},b={http:d,https:y,ws:m,wss:v,urn:{scheme:"urn",parse:a,serialize:c,skipNormalize:!0},"urn:uuid":{scheme:"urn:uuid",parse:u,serialize:l,skipNormalize:!0}};return Kn=b,Kn}var is;function Pd(){if(is)return Et.exports;is=1;const{normalizeIPv6:e,normalizeIPv4:t,removeDotSegments:r,recomposeAuthority:n,normalizeComponentEncoding:o}=Cd(),i=jd();function s(p,b){return typeof p=="string"?p=l(v(p,b),b):typeof p=="object"&&(p=v(l(p,b),b)),p}function a(p,b,f){const g=Object.assign({scheme:"null"},f),$=c(v(p,g),v(b,g),g,!0);return l($,{...g,skipEscape:!0})}function c(p,b,f,g){const $={};return g||(p=v(l(p,f),f),b=v(l(b,f),f)),f=f||{},!f.tolerant&&b.scheme?($.scheme=b.scheme,$.userinfo=b.userinfo,$.host=b.host,$.port=b.port,$.path=r(b.path||""),$.query=b.query):(b.userinfo!==void 0||b.host!==void 0||b.port!==void 0?($.userinfo=b.userinfo,$.host=b.host,$.port=b.port,$.path=r(b.path||""),$.query=b.query):(b.path?(b.path.charAt(0)==="/"?$.path=r(b.path):((p.userinfo!==void 0||p.host!==void 0||p.port!==void 0)&&!p.path?$.path="/"+b.path:p.path?$.path=p.path.slice(0,p.path.lastIndexOf("/")+1)+b.path:$.path=b.path,$.path=r($.path)),$.query=b.query):($.path=p.path,b.query!==void 0?$.query=b.query:$.query=p.query),$.userinfo=p.userinfo,$.host=p.host,$.port=p.port),$.scheme=p.scheme),$.fragment=b.fragment,$}function u(p,b,f){return typeof p=="string"?(p=unescape(p),p=l(o(v(p,f),!0),{...f,skipEscape:!0})):typeof p=="object"&&(p=l(o(p,!0),{...f,skipEscape:!0})),typeof b=="string"?(b=unescape(b),b=l(o(v(b,f),!0),{...f,skipEscape:!0})):typeof b=="object"&&(b=l(o(b,!0),{...f,skipEscape:!0})),p.toLowerCase()===b.toLowerCase()}function l(p,b){const f={host:p.host,scheme:p.scheme,userinfo:p.userinfo,port:p.port,path:p.path,query:p.query,nid:p.nid,nss:p.nss,uuid:p.uuid,fragment:p.fragment,reference:p.reference,resourceName:p.resourceName,secure:p.secure,error:""},g=Object.assign({},b),$=[],w=i[(g.scheme||f.scheme||"").toLowerCase()];w&&w.serialize&&w.serialize(f,g),f.path!==void 0&&(g.skipEscape?f.path=unescape(f.path):(f.path=escape(f.path),f.scheme!==void 0&&(f.path=f.path.split("%3A").join(":")))),g.reference!=="suffix"&&f.scheme&&$.push(f.scheme,":");const k=n(f);if(k!==void 0&&(g.reference!=="suffix"&&$.push("//"),$.push(k),f.path&&f.path.charAt(0)!=="/"&&$.push("/")),f.path!==void 0){let _=f.path;!g.absolutePath&&(!w||!w.absolutePath)&&(_=r(_)),k===void 0&&(_=_.replace(/^\/\//u,"/%2F")),$.push(_)}return f.query!==void 0&&$.push("?",f.query),f.fragment!==void 0&&$.push("#",f.fragment),$.join("")}const d=Array.from({length:127},(p,b)=>/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(b)));function y(p){let b=0;for(let f=0,g=p.length;f<g;++f)if(b=p.charCodeAt(f),b>126||d[b])return!0;return!1}const m=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function v(p,b){const f=Object.assign({},b),g={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},$=p.indexOf("%")!==-1;let w=!1;f.reference==="suffix"&&(p=(f.scheme?f.scheme+":":"")+"//"+p);const k=p.match(m);if(k){if(g.scheme=k[1],g.userinfo=k[3],g.host=k[4],g.port=parseInt(k[5],10),g.path=k[6]||"",g.query=k[7],g.fragment=k[8],isNaN(g.port)&&(g.port=k[5]),g.host){const E=t(g.host);if(E.isIPV4===!1){const P=e(E.host);g.host=P.host.toLowerCase(),w=P.isIPV6}else g.host=E.host,w=!0}g.scheme===void 0&&g.userinfo===void 0&&g.host===void 0&&g.port===void 0&&g.query===void 0&&!g.path?g.reference="same-document":g.scheme===void 0?g.reference="relative":g.fragment===void 0?g.reference="absolute":g.reference="uri",f.reference&&f.reference!=="suffix"&&f.reference!==g.reference&&(g.error=g.error||"URI is not a "+f.reference+" reference.");const _=i[(f.scheme||g.scheme||"").toLowerCase()];if(!f.unicodeSupport&&(!_||!_.unicodeSupport)&&g.host&&(f.domainHost||_&&_.domainHost)&&w===!1&&y(g.host))try{g.host=URL.domainToASCII(g.host.toLowerCase())}catch(E){g.error=g.error||"Host's domain name can not be converted to ASCII: "+E}(!_||_&&!_.skipNormalize)&&($&&g.scheme!==void 0&&(g.scheme=unescape(g.scheme)),$&&g.host!==void 0&&(g.host=unescape(g.host)),g.path&&(g.path=escape(unescape(g.path))),g.fragment&&(g.fragment=encodeURI(decodeURIComponent(g.fragment)))),_&&_.parse&&_.parse(g,f)}else g.error=g.error||"URI can not be parsed.";return g}const h={SCHEMES:i,normalize:s,resolve:a,resolveComponents:c,equal:u,serialize:l,parse:v};return Et.exports=h,Et.exports.default=h,Et.exports.fastUri=h,Et.exports}var ss;function Od(){if(ss)return rr;ss=1,Object.defineProperty(rr,"__esModule",{value:!0});const e=Pd();return e.code='require("ajv/dist/runtime/uri").default',rr.default=e,rr}var as;function Rd(){return as||(as=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=$n();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=ee();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=Do(),o=wn(),i=Tc(),s=Vo(),a=ee(),c=vn(),u=en(),l=re(),d=Sd,y=Od(),m=(z,O)=>new RegExp(z,O);m.code="new RegExp";const v=["removeAdditional","useDefaults","coerceTypes"],h=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),p={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},f=200;function g(z){var O,I,R,x,S,A,H,B,ne,te,j,T,N,q,W,Q,he,Oe,we,ke,me,at,je,Pn,On;const _t=z.strict,Rn=(O=z.code)===null||O===void 0?void 0:O.optimize,ii=Rn===!0||Rn===void 0?1:Rn||0,si=(R=(I=z.code)===null||I===void 0?void 0:I.regExp)!==null&&R!==void 0?R:m,Wl=(x=z.uriResolver)!==null&&x!==void 0?x:y.default;return{strictSchema:(A=(S=z.strictSchema)!==null&&S!==void 0?S:_t)!==null&&A!==void 0?A:!0,strictNumbers:(B=(H=z.strictNumbers)!==null&&H!==void 0?H:_t)!==null&&B!==void 0?B:!0,strictTypes:(te=(ne=z.strictTypes)!==null&&ne!==void 0?ne:_t)!==null&&te!==void 0?te:"log",strictTuples:(T=(j=z.strictTuples)!==null&&j!==void 0?j:_t)!==null&&T!==void 0?T:"log",strictRequired:(q=(N=z.strictRequired)!==null&&N!==void 0?N:_t)!==null&&q!==void 0?q:!1,code:z.code?{...z.code,optimize:ii,regExp:si}:{optimize:ii,regExp:si},loopRequired:(W=z.loopRequired)!==null&&W!==void 0?W:f,loopEnum:(Q=z.loopEnum)!==null&&Q!==void 0?Q:f,meta:(he=z.meta)!==null&&he!==void 0?he:!0,messages:(Oe=z.messages)!==null&&Oe!==void 0?Oe:!0,inlineRefs:(we=z.inlineRefs)!==null&&we!==void 0?we:!0,schemaId:(ke=z.schemaId)!==null&&ke!==void 0?ke:"$id",addUsedSchema:(me=z.addUsedSchema)!==null&&me!==void 0?me:!0,validateSchema:(at=z.validateSchema)!==null&&at!==void 0?at:!0,validateFormats:(je=z.validateFormats)!==null&&je!==void 0?je:!0,unicodeRegExp:(Pn=z.unicodeRegExp)!==null&&Pn!==void 0?Pn:!0,int32range:(On=z.int32range)!==null&&On!==void 0?On:!0,uriResolver:Wl}}class ${constructor(O={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,O=this.opts={...O,...g(O)};const{es5:I,lines:R}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:h,es5:I,lines:R}),this.logger=V(O.logger);const x=O.validateFormats;O.validateFormats=!1,this.RULES=(0,i.getRules)(),w.call(this,p,O,"NOT SUPPORTED"),w.call(this,b,O,"DEPRECATED","warn"),this._metaOpts=M.call(this),O.formats&&E.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),O.keywords&&P.call(this,O.keywords),typeof O.meta=="object"&&this.addMetaSchema(O.meta),_.call(this),O.validateFormats=x}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:O,meta:I,schemaId:R}=this.opts;let x=d;R==="id"&&(x={...d},x.id=x.$id,delete x.$id),I&&O&&this.addMetaSchema(x,x[R],!1)}defaultMeta(){const{meta:O,schemaId:I}=this.opts;return this.opts.defaultMeta=typeof O=="object"?O[I]||O:void 0}validate(O,I){let R;if(typeof O=="string"){if(R=this.getSchema(O),!R)throw new Error(`no schema with key or ref "${O}"`)}else R=this.compile(O);const x=R(I);return"$async"in R||(this.errors=R.errors),x}compile(O,I){const R=this._addSchema(O,I);return R.validate||this._compileSchemaEnv(R)}compileAsync(O,I){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:R}=this.opts;return x.call(this,O,I);async function x(te,j){await S.call(this,te.$schema);const T=this._addSchema(te,j);return T.validate||A.call(this,T)}async function S(te){te&&!this.getSchema(te)&&await x.call(this,{$ref:te},!0)}async function A(te){try{return this._compileSchemaEnv(te)}catch(j){if(!(j instanceof o.default))throw j;return H.call(this,j),await B.call(this,j.missingSchema),A.call(this,te)}}function H({missingSchema:te,missingRef:j}){if(this.refs[te])throw new Error(`AnySchema ${te} is loaded but ${j} cannot be resolved`)}async function B(te){const j=await ne.call(this,te);this.refs[te]||await S.call(this,j.$schema),this.refs[te]||this.addSchema(j,te,I)}async function ne(te){const j=this._loading[te];if(j)return j;try{return await(this._loading[te]=R(te))}finally{delete this._loading[te]}}}addSchema(O,I,R,x=this.opts.validateSchema){if(Array.isArray(O)){for(const A of O)this.addSchema(A,void 0,R,x);return this}let S;if(typeof O=="object"){const{schemaId:A}=this.opts;if(S=O[A],S!==void 0&&typeof S!="string")throw new Error(`schema ${A} must be string`)}return I=(0,c.normalizeId)(I||S),this._checkUnique(I),this.schemas[I]=this._addSchema(O,R,I,x,!0),this}addMetaSchema(O,I,R=this.opts.validateSchema){return this.addSchema(O,I,!0,R),this}validateSchema(O,I){if(typeof O=="boolean")return!0;let R;if(R=O.$schema,R!==void 0&&typeof R!="string")throw new Error("$schema must be a string");if(R=R||this.opts.defaultMeta||this.defaultMeta(),!R)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const x=this.validate(R,O);if(!x&&I){const S="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(S);else throw new Error(S)}return x}getSchema(O){let I;for(;typeof(I=k.call(this,O))=="string";)O=I;if(I===void 0){const{schemaId:R}=this.opts,x=new s.SchemaEnv({schema:{},schemaId:R});if(I=s.resolveSchema.call(this,x,O),!I)return;this.refs[O]=I}return I.validate||this._compileSchemaEnv(I)}removeSchema(O){if(O instanceof RegExp)return this._removeAllSchemas(this.schemas,O),this._removeAllSchemas(this.refs,O),this;switch(typeof O){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const I=k.call(this,O);return typeof I=="object"&&this._cache.delete(I.schema),delete this.schemas[O],delete this.refs[O],this}case"object":{const I=O;this._cache.delete(I);let R=O[this.opts.schemaId];return R&&(R=(0,c.normalizeId)(R),delete this.schemas[R],delete this.refs[R]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(O){for(const I of O)this.addKeyword(I);return this}addKeyword(O,I){let R;if(typeof O=="string")R=O,typeof I=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),I.keyword=R);else if(typeof O=="object"&&I===void 0){if(I=O,R=I.keyword,Array.isArray(R)&&!R.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(D.call(this,R,I),!I)return(0,l.eachItem)(R,S=>K.call(this,S)),this;ie.call(this,I);const x={...I,type:(0,u.getJSONTypes)(I.type),schemaType:(0,u.getJSONTypes)(I.schemaType)};return(0,l.eachItem)(R,x.type.length===0?S=>K.call(this,S,x):S=>x.type.forEach(A=>K.call(this,S,x,A))),this}getKeyword(O){const I=this.RULES.all[O];return typeof I=="object"?I.definition:!!I}removeKeyword(O){const{RULES:I}=this;delete I.keywords[O],delete I.all[O];for(const R of I.rules){const x=R.rules.findIndex(S=>S.keyword===O);x>=0&&R.rules.splice(x,1)}return this}addFormat(O,I){return typeof I=="string"&&(I=new RegExp(I)),this.formats[O]=I,this}errorsText(O=this.errors,{separator:I=", ",dataVar:R="data"}={}){return!O||O.length===0?"No errors":O.map(x=>`${R}${x.instancePath} ${x.message}`).reduce((x,S)=>x+I+S)}$dataMetaSchema(O,I){const R=this.RULES.all;O=JSON.parse(JSON.stringify(O));for(const x of I){const S=x.split("/").slice(1);let A=O;for(const H of S)A=A[H];for(const H in R){const B=R[H];if(typeof B!="object")continue;const{$data:ne}=B.definition,te=A[H];ne&&te&&(A[H]=se(te))}}return O}_removeAllSchemas(O,I){for(const R in O){const x=O[R];(!I||I.test(R))&&(typeof x=="string"?delete O[R]:x&&!x.meta&&(this._cache.delete(x.schema),delete O[R]))}}_addSchema(O,I,R,x=this.opts.validateSchema,S=this.opts.addUsedSchema){let A;const{schemaId:H}=this.opts;if(typeof O=="object")A=O[H];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof O!="boolean")throw new Error("schema must be object or boolean")}let B=this._cache.get(O);if(B!==void 0)return B;R=(0,c.normalizeId)(A||R);const ne=c.getSchemaRefs.call(this,O,R);return B=new s.SchemaEnv({schema:O,schemaId:H,meta:I,baseId:R,localRefs:ne}),this._cache.set(B.schema,B),S&&!R.startsWith("#")&&(R&&this._checkUnique(R),this.refs[R]=B),x&&this.validateSchema(O,!0),B}_checkUnique(O){if(this.schemas[O]||this.refs[O])throw new Error(`schema with key or id "${O}" already exists`)}_compileSchemaEnv(O){if(O.meta?this._compileMetaSchema(O):s.compileSchema.call(this,O),!O.validate)throw new Error("ajv implementation error");return O.validate}_compileMetaSchema(O){const I=this.opts;this.opts=this._metaOpts;try{s.compileSchema.call(this,O)}finally{this.opts=I}}}$.ValidationError=n.default,$.MissingRefError=o.default,e.default=$;function w(z,O,I,R="error"){for(const x in z){const S=x;S in O&&this.logger[R](`${I}: option ${x}. ${z[S]}`)}}function k(z){return z=(0,c.normalizeId)(z),this.schemas[z]||this.refs[z]}function _(){const z=this.opts.schemas;if(z)if(Array.isArray(z))this.addSchema(z);else for(const O in z)this.addSchema(z[O],O)}function E(){for(const z in this.opts.formats){const O=this.opts.formats[z];O&&this.addFormat(z,O)}}function P(z){if(Array.isArray(z)){this.addVocabulary(z);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const O in z){const I=z[O];I.keyword||(I.keyword=O),this.addKeyword(I)}}function M(){const z={...this.opts};for(const O of v)delete z[O];return z}const L={log(){},warn(){},error(){}};function V(z){if(z===!1)return L;if(z===void 0)return console;if(z.log&&z.warn&&z.error)return z;throw new Error("logger must implement log, warn and error methods")}const F=/^[a-z_$][a-z0-9_$:-]*$/i;function D(z,O){const{RULES:I}=this;if((0,l.eachItem)(z,R=>{if(I.keywords[R])throw new Error(`Keyword ${R} is already defined`);if(!F.test(R))throw new Error(`Keyword ${R} has invalid name`)}),!!O&&O.$data&&!("code"in O||"validate"in O))throw new Error('$data keyword must have "code" or "validate" function')}function K(z,O,I){var R;const x=O?.post;if(I&&x)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:S}=this;let A=x?S.post:S.rules.find(({type:B})=>B===I);if(A||(A={type:I,rules:[]},S.rules.push(A)),S.keywords[z]=!0,!O)return;const H={keyword:z,definition:{...O,type:(0,u.getJSONTypes)(O.type),schemaType:(0,u.getJSONTypes)(O.schemaType)}};O.before?J.call(this,A,H,O.before):A.rules.push(H),S.all[z]=H,(R=O.implements)===null||R===void 0||R.forEach(B=>this.addKeyword(B))}function J(z,O,I){const R=z.rules.findIndex(x=>x.keyword===I);R>=0?z.rules.splice(R,0,O):(z.rules.push(O),this.logger.warn(`rule ${I} is not defined`))}function ie(z){let{metaSchema:O}=z;O!==void 0&&(z.$data&&this.opts.$data&&(O=se(O)),z.validateSchema=this.compile(O,!0))}const G={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function se(z){return{anyOf:[z,G]}}}(zn)),zn}var nr={},or={},ir={},cs;function Td(){if(cs)return ir;cs=1,Object.defineProperty(ir,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return ir.default=e,ir}var We={},ls;function Ad(){if(ls)return We;ls=1,Object.defineProperty(We,"__esModule",{value:!0}),We.callRef=We.getValidate=void 0;const e=wn(),t=Ie(),r=ee(),n=Ye(),o=Vo(),i=re(),s={keyword:"$ref",schemaType:"string",code(u){const{gen:l,schema:d,it:y}=u,{baseId:m,schemaEnv:v,validateName:h,opts:p,self:b}=y,{root:f}=v;if((d==="#"||d==="#/")&&m===f.baseId)return $();const g=o.resolveRef.call(b,f,m,d);if(g===void 0)throw new e.default(y.opts.uriResolver,m,d);if(g instanceof o.SchemaEnv)return w(g);return k(g);function $(){if(v===f)return c(u,h,v,v.$async);const _=l.scopeValue("root",{ref:f});return c(u,(0,r._)`${_}.validate`,f,f.$async)}function w(_){const E=a(u,_);c(u,E,_,_.$async)}function k(_){const E=l.scopeValue("schema",p.code.source===!0?{ref:_,code:(0,r.stringify)(_)}:{ref:_}),P=l.name("valid"),M=u.subschema({schema:_,dataTypes:[],schemaPath:r.nil,topSchemaRef:E,errSchemaPath:d},P);u.mergeEvaluated(M),u.ok(P)}}};function a(u,l){const{gen:d}=u;return l.validate?d.scopeValue("validate",{ref:l.validate}):(0,r._)`${d.scopeValue("wrapper",{ref:l})}.validate`}We.getValidate=a;function c(u,l,d,y){const{gen:m,it:v}=u,{allErrors:h,schemaEnv:p,opts:b}=v,f=b.passContext?n.default.this:r.nil;y?g():$();function g(){if(!p.$async)throw new Error("async schema referenced by sync schema");const _=m.let("valid");m.try(()=>{m.code((0,r._)`await ${(0,t.callValidateCode)(u,l,f)}`),k(l),h||m.assign(_,!0)},E=>{m.if((0,r._)`!(${E} instanceof ${v.ValidationError})`,()=>m.throw(E)),w(E),h||m.assign(_,!1)}),u.ok(_)}function $(){u.result((0,t.callValidateCode)(u,l,f),()=>k(l),()=>w(l))}function w(_){const E=(0,r._)`${_}.errors`;m.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${E} : ${n.default.vErrors}.concat(${E})`),m.assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`)}function k(_){var E;if(!v.opts.unevaluated)return;const P=(E=d?.validate)===null||E===void 0?void 0:E.evaluated;if(v.props!==!0)if(P&&!P.dynamicProps)P.props!==void 0&&(v.props=i.mergeEvaluated.props(m,P.props,v.props));else{const M=m.var("props",(0,r._)`${_}.evaluated.props`);v.props=i.mergeEvaluated.props(m,M,v.props,r.Name)}if(v.items!==!0)if(P&&!P.dynamicItems)P.items!==void 0&&(v.items=i.mergeEvaluated.items(m,P.items,v.items));else{const M=m.var("items",(0,r._)`${_}.evaluated.items`);v.items=i.mergeEvaluated.items(m,M,v.items,r.Name)}}}return We.callRef=c,We.default=s,We}var us;function Nd(){if(us)return or;us=1,Object.defineProperty(or,"__esModule",{value:!0});const e=Td(),t=Ad(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return or.default=r,or}var sr={},ar={},fs;function Id(){if(fs)return ar;fs=1,Object.defineProperty(ar,"__esModule",{value:!0});const e=ee(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:i,schemaCode:s})=>(0,e.str)`must be ${r[i].okStr} ${s}`,params:({keyword:i,schemaCode:s})=>(0,e._)`{comparison: ${r[i].okStr}, limit: ${s}}`},o={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:n,code(i){const{keyword:s,data:a,schemaCode:c}=i;i.fail$data((0,e._)`${a} ${r[s].fail} ${c} || isNaN(${a})`)}};return ar.default=o,ar}var cr={},ds;function Md(){if(ds)return cr;ds=1,Object.defineProperty(cr,"__esModule",{value:!0});const e=ee(),r={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must be multiple of ${n}`,params:({schemaCode:n})=>(0,e._)`{multipleOf: ${n}}`},code(n){const{gen:o,data:i,schemaCode:s,it:a}=n,c=a.opts.multipleOfPrecision,u=o.let("res"),l=c?(0,e._)`Math.abs(Math.round(${u}) - ${u}) > 1e-${c}`:(0,e._)`${u} !== parseInt(${u})`;n.fail$data((0,e._)`(${s} === 0 || (${u} = ${i}/${s}, ${l}))`)}};return cr.default=r,cr}var lr={},ur={},ps;function Fd(){if(ps)return ur;ps=1,Object.defineProperty(ur,"__esModule",{value:!0});function e(t){const r=t.length;let n=0,o=0,i;for(;o<r;)n++,i=t.charCodeAt(o++),i>=55296&&i<=56319&&o<r&&(i=t.charCodeAt(o),(i&64512)===56320&&o++);return n}return ur.default=e,e.code='require("ajv/dist/runtime/ucs2length").default',ur}var hs;function zd(){if(hs)return lr;hs=1,Object.defineProperty(lr,"__esModule",{value:!0});const e=ee(),t=re(),r=Fd(),o={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:i,schemaCode:s}){const a=i==="maxLength"?"more":"fewer";return(0,e.str)`must NOT have ${a} than ${s} characters`},params:({schemaCode:i})=>(0,e._)`{limit: ${i}}`},code(i){const{keyword:s,data:a,schemaCode:c,it:u}=i,l=s==="maxLength"?e.operators.GT:e.operators.LT,d=u.opts.unicode===!1?(0,e._)`${a}.length`:(0,e._)`${(0,t.useFunc)(i.gen,r.default)}(${a})`;i.fail$data((0,e._)`${d} ${l} ${c}`)}};return lr.default=o,lr}var fr={},ms;function Ld(){if(ms)return fr;ms=1,Object.defineProperty(fr,"__esModule",{value:!0});const e=Ie(),t=ee(),n={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:o})=>(0,t.str)`must match pattern "${o}"`,params:({schemaCode:o})=>(0,t._)`{pattern: ${o}}`},code(o){const{data:i,$data:s,schema:a,schemaCode:c,it:u}=o,l=u.opts.unicodeRegExp?"u":"",d=s?(0,t._)`(new RegExp(${c}, ${l}))`:(0,e.usePattern)(o,a);o.fail$data((0,t._)`!${d}.test(${i})`)}};return fr.default=n,fr}var dr={},gs;function qd(){if(gs)return dr;gs=1,Object.defineProperty(dr,"__esModule",{value:!0});const e=ee(),r={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:o}){const i=n==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${i} than ${o} properties`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:o,data:i,schemaCode:s}=n,a=o==="maxProperties"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`Object.keys(${i}).length ${a} ${s}`)}};return dr.default=r,dr}var pr={},ys;function Dd(){if(ys)return pr;ys=1,Object.defineProperty(pr,"__esModule",{value:!0});const e=Ie(),t=ee(),r=re(),o={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:i}})=>(0,t.str)`must have required property '${i}'`,params:({params:{missingProperty:i}})=>(0,t._)`{missingProperty: ${i}}`},code(i){const{gen:s,schema:a,schemaCode:c,data:u,$data:l,it:d}=i,{opts:y}=d;if(!l&&a.length===0)return;const m=a.length>=y.loopRequired;if(d.allErrors?v():h(),y.strictRequired){const f=i.parentSchema.properties,{definedProperties:g}=i.it;for(const $ of a)if(f?.[$]===void 0&&!g.has($)){const w=d.schemaEnv.baseId+d.errSchemaPath,k=`required property "${$}" is not defined at "${w}" (strictRequired)`;(0,r.checkStrictMode)(d,k,d.opts.strictRequired)}}function v(){if(m||l)i.block$data(t.nil,p);else for(const f of a)(0,e.checkReportMissingProp)(i,f)}function h(){const f=s.let("missing");if(m||l){const g=s.let("valid",!0);i.block$data(g,()=>b(f,g)),i.ok(g)}else s.if((0,e.checkMissingProp)(i,a,f)),(0,e.reportMissingProp)(i,f),s.else()}function p(){s.forOf("prop",c,f=>{i.setParams({missingProperty:f}),s.if((0,e.noPropertyInData)(s,u,f,y.ownProperties),()=>i.error())})}function b(f,g){i.setParams({missingProperty:f}),s.forOf(f,c,()=>{s.assign(g,(0,e.propertyInData)(s,u,f,y.ownProperties)),s.if((0,t.not)(g),()=>{i.error(),s.break()})},t.nil)}}};return pr.default=o,pr}var hr={},bs;function Vd(){if(bs)return hr;bs=1,Object.defineProperty(hr,"__esModule",{value:!0});const e=ee(),r={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:n,schemaCode:o}){const i=n==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${i} than ${o} items`},params:({schemaCode:n})=>(0,e._)`{limit: ${n}}`},code(n){const{keyword:o,data:i,schemaCode:s}=n,a=o==="maxItems"?e.operators.GT:e.operators.LT;n.fail$data((0,e._)`${i}.length ${a} ${s}`)}};return hr.default=r,hr}var mr={},gr={},vs;function Uo(){if(vs)return gr;vs=1,Object.defineProperty(gr,"__esModule",{value:!0});const e=Nc();return e.code='require("ajv/dist/runtime/equal").default',gr.default=e,gr}var $s;function Ud(){if($s)return mr;$s=1,Object.defineProperty(mr,"__esModule",{value:!0});const e=en(),t=ee(),r=re(),n=Uo(),i={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:s,j:a}})=>(0,t.str)`must NOT have duplicate items (items ## ${a} and ${s} are identical)`,params:({params:{i:s,j:a}})=>(0,t._)`{i: ${s}, j: ${a}}`},code(s){const{gen:a,data:c,$data:u,schema:l,parentSchema:d,schemaCode:y,it:m}=s;if(!u&&!l)return;const v=a.let("valid"),h=d.items?(0,e.getSchemaTypes)(d.items):[];s.block$data(v,p,(0,t._)`${y} === false`),s.ok(v);function p(){const $=a.let("i",(0,t._)`${c}.length`),w=a.let("j");s.setParams({i:$,j:w}),a.assign(v,!0),a.if((0,t._)`${$} > 1`,()=>(b()?f:g)($,w))}function b(){return h.length>0&&!h.some($=>$==="object"||$==="array")}function f($,w){const k=a.name("item"),_=(0,e.checkDataTypes)(h,k,m.opts.strictNumbers,e.DataType.Wrong),E=a.const("indices",(0,t._)`{}`);a.for((0,t._)`;${$}--;`,()=>{a.let(k,(0,t._)`${c}[${$}]`),a.if(_,(0,t._)`continue`),h.length>1&&a.if((0,t._)`typeof ${k} == "string"`,(0,t._)`${k} += "_"`),a.if((0,t._)`typeof ${E}[${k}] == "number"`,()=>{a.assign(w,(0,t._)`${E}[${k}]`),s.error(),a.assign(v,!1).break()}).code((0,t._)`${E}[${k}] = ${$}`)})}function g($,w){const k=(0,r.useFunc)(a,n.default),_=a.name("outer");a.label(_).for((0,t._)`;${$}--;`,()=>a.for((0,t._)`${w} = ${$}; ${w}--;`,()=>a.if((0,t._)`${k}(${c}[${$}], ${c}[${w}])`,()=>{s.error(),a.assign(v,!1).break(_)})))}}};return mr.default=i,mr}var yr={},ws;function Hd(){if(ws)return yr;ws=1,Object.defineProperty(yr,"__esModule",{value:!0});const e=ee(),t=re(),r=Uo(),o={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:i})=>(0,e._)`{allowedValue: ${i}}`},code(i){const{gen:s,data:a,$data:c,schemaCode:u,schema:l}=i;c||l&&typeof l=="object"?i.fail$data((0,e._)`!${(0,t.useFunc)(s,r.default)}(${a}, ${u})`):i.fail((0,e._)`${l} !== ${a}`)}};return yr.default=o,yr}var br={},ks;function Wd(){if(ks)return br;ks=1,Object.defineProperty(br,"__esModule",{value:!0});const e=ee(),t=re(),r=Uo(),o={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:i})=>(0,e._)`{allowedValues: ${i}}`},code(i){const{gen:s,data:a,$data:c,schema:u,schemaCode:l,it:d}=i;if(!c&&u.length===0)throw new Error("enum must have non-empty array");const y=u.length>=d.opts.loopEnum;let m;const v=()=>m??(m=(0,t.useFunc)(s,r.default));let h;if(y||c)h=s.let("valid"),i.block$data(h,p);else{if(!Array.isArray(u))throw new Error("ajv implementation error");const f=s.const("vSchema",l);h=(0,e.or)(...u.map((g,$)=>b(f,$)))}i.pass(h);function p(){s.assign(h,!1),s.forOf("v",l,f=>s.if((0,e._)`${v()}(${a}, ${f})`,()=>s.assign(h,!0).break()))}function b(f,g){const $=u[g];return typeof $=="object"&&$!==null?(0,e._)`${v()}(${a}, ${f}[${g}])`:(0,e._)`${a} === ${$}`}}};return br.default=o,br}var _s;function Bd(){if(_s)return sr;_s=1,Object.defineProperty(sr,"__esModule",{value:!0});const e=Id(),t=Md(),r=zd(),n=Ld(),o=qd(),i=Dd(),s=Vd(),a=Ud(),c=Hd(),u=Wd(),l=[e.default,t.default,r.default,n.default,o.default,i.default,s.default,a.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},c.default,u.default];return sr.default=l,sr}var vr={},ct={},xs;function Ic(){if(xs)return ct;xs=1,Object.defineProperty(ct,"__esModule",{value:!0}),ct.validateAdditionalItems=void 0;const e=ee(),t=re(),n={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:i}})=>(0,e.str)`must NOT have more than ${i} items`,params:({params:{len:i}})=>(0,e._)`{limit: ${i}}`},code(i){const{parentSchema:s,it:a}=i,{items:c}=s;if(!Array.isArray(c)){(0,t.checkStrictMode)(a,'"additionalItems" is ignored when "items" is not an array of schemas');return}o(i,c)}};function o(i,s){const{gen:a,schema:c,data:u,keyword:l,it:d}=i;d.items=!0;const y=a.const("len",(0,e._)`${u}.length`);if(c===!1)i.setParams({len:s.length}),i.pass((0,e._)`${y} <= ${s.length}`);else if(typeof c=="object"&&!(0,t.alwaysValidSchema)(d,c)){const v=a.var("valid",(0,e._)`${y} <= ${s.length}`);a.if((0,e.not)(v),()=>m(v)),i.ok(v)}function m(v){a.forRange("i",s.length,y,h=>{i.subschema({keyword:l,dataProp:h,dataPropType:t.Type.Num},v),d.allErrors||a.if((0,e.not)(v),()=>a.break())})}}return ct.validateAdditionalItems=o,ct.default=n,ct}var $r={},lt={},Ss;function Mc(){if(Ss)return lt;Ss=1,Object.defineProperty(lt,"__esModule",{value:!0}),lt.validateTuple=void 0;const e=ee(),t=re(),r=Ie(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(i){const{schema:s,it:a}=i;if(Array.isArray(s))return o(i,"additionalItems",s);a.items=!0,!(0,t.alwaysValidSchema)(a,s)&&i.ok((0,r.validateArray)(i))}};function o(i,s,a=i.schema){const{gen:c,parentSchema:u,data:l,keyword:d,it:y}=i;h(u),y.opts.unevaluated&&a.length&&y.items!==!0&&(y.items=t.mergeEvaluated.items(c,a.length,y.items));const m=c.name("valid"),v=c.const("len",(0,e._)`${l}.length`);a.forEach((p,b)=>{(0,t.alwaysValidSchema)(y,p)||(c.if((0,e._)`${v} > ${b}`,()=>i.subschema({keyword:d,schemaProp:b,dataProp:b},m)),i.ok(m))});function h(p){const{opts:b,errSchemaPath:f}=y,g=a.length,$=g===p.minItems&&(g===p.maxItems||p[s]===!1);if(b.strictTuples&&!$){const w=`"${d}" is ${g}-tuple, but minItems or maxItems/${s} are not specified or different at path "${f}"`;(0,t.checkStrictMode)(y,w,b.strictTuples)}}}return lt.validateTuple=o,lt.default=n,lt}var Es;function Kd(){if(Es)return $r;Es=1,Object.defineProperty($r,"__esModule",{value:!0});const e=Mc(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,e.validateTuple)(r,"items")};return $r.default=t,$r}var wr={},Cs;function Gd(){if(Cs)return wr;Cs=1,Object.defineProperty(wr,"__esModule",{value:!0});const e=ee(),t=re(),r=Ie(),n=Ic(),i={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{schema:a,parentSchema:c,it:u}=s,{prefixItems:l}=c;u.items=!0,!(0,t.alwaysValidSchema)(u,a)&&(l?(0,n.validateAdditionalItems)(s,l):s.ok((0,r.validateArray)(s)))}};return wr.default=i,wr}var kr={},js;function Jd(){if(js)return kr;js=1,Object.defineProperty(kr,"__esModule",{value:!0});const e=ee(),t=re(),n={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:o,max:i}})=>i===void 0?(0,e.str)`must contain at least ${o} valid item(s)`:(0,e.str)`must contain at least ${o} and no more than ${i} valid item(s)`,params:({params:{min:o,max:i}})=>i===void 0?(0,e._)`{minContains: ${o}}`:(0,e._)`{minContains: ${o}, maxContains: ${i}}`},code(o){const{gen:i,schema:s,parentSchema:a,data:c,it:u}=o;let l,d;const{minContains:y,maxContains:m}=a;u.opts.next?(l=y===void 0?1:y,d=m):l=1;const v=i.const("len",(0,e._)`${c}.length`);if(o.setParams({min:l,max:d}),d===void 0&&l===0){(0,t.checkStrictMode)(u,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(d!==void 0&&l>d){(0,t.checkStrictMode)(u,'"minContains" > "maxContains" is always invalid'),o.fail();return}if((0,t.alwaysValidSchema)(u,s)){let g=(0,e._)`${v} >= ${l}`;d!==void 0&&(g=(0,e._)`${g} && ${v} <= ${d}`),o.pass(g);return}u.items=!0;const h=i.name("valid");d===void 0&&l===1?b(h,()=>i.if(h,()=>i.break())):l===0?(i.let(h,!0),d!==void 0&&i.if((0,e._)`${c}.length > 0`,p)):(i.let(h,!1),p()),o.result(h,()=>o.reset());function p(){const g=i.name("_valid"),$=i.let("count",0);b(g,()=>i.if(g,()=>f($)))}function b(g,$){i.forRange("i",0,v,w=>{o.subschema({keyword:"contains",dataProp:w,dataPropType:t.Type.Num,compositeRule:!0},g),$()})}function f(g){i.code((0,e._)`${g}++`),d===void 0?i.if((0,e._)`${g} >= ${l}`,()=>i.assign(h,!0).break()):(i.if((0,e._)`${g} > ${d}`,()=>i.assign(h,!1).break()),l===1?i.assign(h,!0):i.if((0,e._)`${g} >= ${l}`,()=>i.assign(h,!0)))}}};return kr.default=n,kr}var Gn={},Ps;function Xd(){return Ps||(Ps=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ee(),r=re(),n=Ie();e.error={message:({params:{property:c,depsCount:u,deps:l}})=>{const d=u===1?"property":"properties";return(0,t.str)`must have ${d} ${l} when property ${c} is present`},params:({params:{property:c,depsCount:u,deps:l,missingProperty:d}})=>(0,t._)`{property: ${c},
14
14
  missingProperty: ${d},
15
15
  depsCount: ${u},
16
- deps: ${l}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(c){const[u,l]=i(c);s(c,u),a(c,l)}};function i({schema:c}){const u={},l={};for(const d in c){if(d==="__proto__")continue;const y=Array.isArray(c[d])?u:l;y[d]=c[d]}return[u,l]}function s(c,u=c.schema){const{gen:l,data:d,it:y}=c;if(Object.keys(u).length===0)return;const m=l.let("missing");for(const v in u){const h=u[v];if(h.length===0)continue;const p=(0,n.propertyInData)(l,d,v,y.opts.ownProperties);c.setParams({property:v,depsCount:h.length,deps:h.join(", ")}),y.allErrors?l.if(p,()=>{for(const b of h)(0,n.checkReportMissingProp)(c,b)}):(l.if((0,t._)`${p} && (${(0,n.checkMissingProp)(c,h,m)})`),(0,n.reportMissingProp)(c,m),l.else())}}e.validatePropertyDeps=s;function a(c,u=c.schema){const{gen:l,data:d,keyword:y,it:m}=c,v=l.name("valid");for(const h in u)(0,r.alwaysValidSchema)(m,u[h])||(l.if((0,n.propertyInData)(l,d,h,m.opts.ownProperties),()=>{const p=c.subschema({keyword:y,schemaProp:h},v);c.mergeValidEvaluated(p,v)},()=>l.var(v,!0)),c.ok(v))}e.validateSchemaDeps=a,e.default=o}(Gn)),Gn}var _r={},Os;function Xd(){if(Os)return _r;Os=1,Object.defineProperty(_r,"__esModule",{value:!0});const e=ee(),t=re(),n={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:o})=>(0,e._)`{propertyName: ${o.propertyName}}`},code(o){const{gen:i,schema:s,data:a,it:c}=o;if((0,t.alwaysValidSchema)(c,s))return;const u=i.name("valid");i.forIn("key",a,l=>{o.setParams({propertyName:l}),o.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},u),i.if((0,e.not)(u),()=>{o.error(!0),c.allErrors||i.break()})}),o.ok(u)}};return _r.default=n,_r}var xr={},Rs;function Mc(){if(Rs)return xr;Rs=1,Object.defineProperty(xr,"__esModule",{value:!0});const e=Ie(),t=ee(),r=Xe(),n=re(),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:s})=>(0,t._)`{additionalProperty: ${s.additionalProperty}}`},code(s){const{gen:a,schema:c,parentSchema:u,data:l,errsCount:d,it:y}=s;if(!d)throw new Error("ajv implementation error");const{allErrors:m,opts:v}=y;if(y.props=!0,v.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(y,c))return;const h=(0,e.allSchemaProperties)(u.properties),p=(0,e.allSchemaProperties)(u.patternProperties);b(),s.ok((0,t._)`${d} === ${r.default.errors}`);function b(){a.forIn("key",l,k=>{!h.length&&!p.length?$(k):a.if(f(k),()=>$(k))})}function f(k){let _;if(h.length>8){const E=(0,n.schemaRefOrVal)(y,u.properties,"properties");_=(0,e.isOwnProperty)(a,E,k)}else h.length?_=(0,t.or)(...h.map(E=>(0,t._)`${k} === ${E}`)):_=t.nil;return p.length&&(_=(0,t.or)(_,...p.map(E=>(0,t._)`${(0,e.usePattern)(s,E)}.test(${k})`))),(0,t.not)(_)}function g(k){a.code((0,t._)`delete ${l}[${k}]`)}function $(k){if(v.removeAdditional==="all"||v.removeAdditional&&c===!1){g(k);return}if(c===!1){s.setParams({additionalProperty:k}),s.error(),m||a.break();return}if(typeof c=="object"&&!(0,n.alwaysValidSchema)(y,c)){const _=a.name("valid");v.removeAdditional==="failing"?(w(k,_,!1),a.if((0,t.not)(_),()=>{s.reset(),g(k)})):(w(k,_),m||a.if((0,t.not)(_),()=>a.break()))}}function w(k,_,E){const P={keyword:"additionalProperties",dataProp:k,dataPropType:n.Type.Str};E===!1&&Object.assign(P,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(P,_)}}};return xr.default=i,xr}var Sr={},Ts;function Yd(){if(Ts)return Sr;Ts=1,Object.defineProperty(Sr,"__esModule",{value:!0});const e=$n(),t=Ie(),r=re(),n=Mc(),o={keyword:"properties",type:"object",schemaType:"object",code(i){const{gen:s,schema:a,parentSchema:c,data:u,it:l}=i;l.opts.removeAdditional==="all"&&c.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(l,n.default,"additionalProperties"));const d=(0,t.allSchemaProperties)(a);for(const p of d)l.definedProperties.add(p);l.opts.unevaluated&&d.length&&l.props!==!0&&(l.props=r.mergeEvaluated.props(s,(0,r.toHash)(d),l.props));const y=d.filter(p=>!(0,r.alwaysValidSchema)(l,a[p]));if(y.length===0)return;const m=s.name("valid");for(const p of y)v(p)?h(p):(s.if((0,t.propertyInData)(s,u,p,l.opts.ownProperties)),h(p),l.allErrors||s.else().var(m,!0),s.endIf()),i.it.definedProperties.add(p),i.ok(m);function v(p){return l.opts.useDefaults&&!l.compositeRule&&a[p].default!==void 0}function h(p){i.subschema({keyword:"properties",schemaProp:p,dataProp:p},m)}}};return Sr.default=o,Sr}var Er={},As;function Qd(){if(As)return Er;As=1,Object.defineProperty(Er,"__esModule",{value:!0});const e=Ie(),t=ee(),r=re(),n=re(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(i){const{gen:s,schema:a,data:c,parentSchema:u,it:l}=i,{opts:d}=l,y=(0,e.allSchemaProperties)(a),m=y.filter($=>(0,r.alwaysValidSchema)(l,a[$]));if(y.length===0||m.length===y.length&&(!l.opts.unevaluated||l.props===!0))return;const v=d.strictSchema&&!d.allowMatchingProperties&&u.properties,h=s.name("valid");l.props!==!0&&!(l.props instanceof t.Name)&&(l.props=(0,n.evaluatedPropsToName)(s,l.props));const{props:p}=l;b();function b(){for(const $ of y)v&&f($),l.allErrors?g($):(s.var(h,!0),g($),s.if(h))}function f($){for(const w in v)new RegExp($).test(w)&&(0,r.checkStrictMode)(l,`property ${w} matches pattern ${$} (use allowMatchingProperties)`)}function g($){s.forIn("key",c,w=>{s.if((0,t._)`${(0,e.usePattern)(i,$)}.test(${w})`,()=>{const k=m.includes($);k||i.subschema({keyword:"patternProperties",schemaProp:$,dataProp:w,dataPropType:n.Type.Str},h),l.opts.unevaluated&&p!==!0?s.assign((0,t._)`${p}[${w}]`,!0):!k&&!l.allErrors&&s.if((0,t.not)(h),()=>s.break())})})}}};return Er.default=o,Er}var Cr={},Ns;function Zd(){if(Ns)return Cr;Ns=1,Object.defineProperty(Cr,"__esModule",{value:!0});const e=re(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:n,schema:o,it:i}=r;if((0,e.alwaysValidSchema)(i,o)){r.fail();return}const s=n.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),r.failResult(s,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return Cr.default=t,Cr}var jr={},Is;function ep(){if(Is)return jr;Is=1,Object.defineProperty(jr,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ie().validateUnion,error:{message:"must match a schema in anyOf"}};return jr.default=t,jr}var Pr={},Ms;function tp(){if(Ms)return Pr;Ms=1,Object.defineProperty(Pr,"__esModule",{value:!0});const e=ee(),t=re(),n={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:o})=>(0,e._)`{passingSchemas: ${o.passing}}`},code(o){const{gen:i,schema:s,parentSchema:a,it:c}=o;if(!Array.isArray(s))throw new Error("ajv implementation error");if(c.opts.discriminator&&a.discriminator)return;const u=s,l=i.let("valid",!1),d=i.let("passing",null),y=i.name("_valid");o.setParams({passing:d}),i.block(m),o.result(l,()=>o.reset(),()=>o.error(!0));function m(){u.forEach((v,h)=>{let p;(0,t.alwaysValidSchema)(c,v)?i.var(y,!0):p=o.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},y),h>0&&i.if((0,e._)`${y} && ${l}`).assign(l,!1).assign(d,(0,e._)`[${d}, ${h}]`).else(),i.if(y,()=>{i.assign(l,!0),i.assign(d,h),p&&o.mergeEvaluated(p,e.Name)})})}}};return Pr.default=n,Pr}var Or={},Fs;function rp(){if(Fs)return Or;Fs=1,Object.defineProperty(Or,"__esModule",{value:!0});const e=re(),t={keyword:"allOf",schemaType:"array",code(r){const{gen:n,schema:o,it:i}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");const s=n.name("valid");o.forEach((a,c)=>{if((0,e.alwaysValidSchema)(i,a))return;const u=r.subschema({keyword:"allOf",schemaProp:c},s);r.ok(s),r.mergeEvaluated(u)})}};return Or.default=t,Or}var Rr={},zs;function np(){if(zs)return Rr;zs=1,Object.defineProperty(Rr,"__esModule",{value:!0});const e=ee(),t=re(),n={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:i})=>(0,e.str)`must match "${i.ifClause}" schema`,params:({params:i})=>(0,e._)`{failingKeyword: ${i.ifClause}}`},code(i){const{gen:s,parentSchema:a,it:c}=i;a.then===void 0&&a.else===void 0&&(0,t.checkStrictMode)(c,'"if" without "then" and "else" is ignored');const u=o(c,"then"),l=o(c,"else");if(!u&&!l)return;const d=s.let("valid",!0),y=s.name("_valid");if(m(),i.reset(),u&&l){const h=s.let("ifClause");i.setParams({ifClause:h}),s.if(y,v("then",h),v("else",h))}else u?s.if(y,v("then")):s.if((0,e.not)(y),v("else"));i.pass(d,()=>i.error(!0));function m(){const h=i.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},y);i.mergeEvaluated(h)}function v(h,p){return()=>{const b=i.subschema({keyword:h},y);s.assign(d,y),i.mergeValidEvaluated(b,d),p?s.assign(p,(0,e._)`${h}`):i.setParams({ifClause:h})}}}};function o(i,s){const a=i.schema[s];return a!==void 0&&!(0,t.alwaysValidSchema)(i,a)}return Rr.default=n,Rr}var Tr={},Ls;function op(){if(Ls)return Tr;Ls=1,Object.defineProperty(Tr,"__esModule",{value:!0});const e=re(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:n,it:o}){n.if===void 0&&(0,e.checkStrictMode)(o,`"${r}" without "if" is ignored`)}};return Tr.default=t,Tr}var qs;function ip(){if(qs)return vr;qs=1,Object.defineProperty(vr,"__esModule",{value:!0});const e=Nc(),t=Bd(),r=Ic(),n=Kd(),o=Gd(),i=Jd(),s=Xd(),a=Mc(),c=Yd(),u=Qd(),l=Zd(),d=ep(),y=tp(),m=rp(),v=np(),h=op();function p(b=!1){const f=[l.default,d.default,y.default,m.default,v.default,h.default,s.default,a.default,i.default,c.default,u.default];return b?f.push(t.default,n.default):f.push(e.default,r.default),f.push(o.default),f}return vr.default=p,vr}var Ar={},Nr={},Ds;function sp(){if(Ds)return Nr;Ds=1,Object.defineProperty(Nr,"__esModule",{value:!0});const e=ee(),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must match format "${n}"`,params:({schemaCode:n})=>(0,e._)`{format: ${n}}`},code(n,o){const{gen:i,data:s,$data:a,schema:c,schemaCode:u,it:l}=n,{opts:d,errSchemaPath:y,schemaEnv:m,self:v}=l;if(!d.validateFormats)return;a?h():p();function h(){const b=i.scopeValue("formats",{ref:v.formats,code:d.code.formats}),f=i.const("fDef",(0,e._)`${b}[${u}]`),g=i.let("fType"),$=i.let("format");i.if((0,e._)`typeof ${f} == "object" && !(${f} instanceof RegExp)`,()=>i.assign(g,(0,e._)`${f}.type || "string"`).assign($,(0,e._)`${f}.validate`),()=>i.assign(g,(0,e._)`"string"`).assign($,f)),n.fail$data((0,e.or)(w(),k()));function w(){return d.strictSchema===!1?e.nil:(0,e._)`${u} && !${$}`}function k(){const _=m.$async?(0,e._)`(${f}.async ? await ${$}(${s}) : ${$}(${s}))`:(0,e._)`${$}(${s})`,E=(0,e._)`(typeof ${$} == "function" ? ${_} : ${$}.test(${s}))`;return(0,e._)`${$} && ${$} !== true && ${g} === ${o} && !${E}`}}function p(){const b=v.formats[c];if(!b){w();return}if(b===!0)return;const[f,g,$]=k(b);f===o&&n.pass(_());function w(){if(d.strictSchema===!1){v.logger.warn(E());return}throw new Error(E());function E(){return`unknown format "${c}" ignored in schema at path "${y}"`}}function k(E){const P=E instanceof RegExp?(0,e.regexpCode)(E):d.code.formats?(0,e._)`${d.code.formats}${(0,e.getProperty)(c)}`:void 0,M=i.scopeValue("formats",{key:c,ref:E,code:P});return typeof E=="object"&&!(E instanceof RegExp)?[E.type||"string",E.validate,(0,e._)`${M}.validate`]:["string",E,M]}function _(){if(typeof b=="object"&&!(b instanceof RegExp)&&b.async){if(!m.$async)throw new Error("async format in sync schema");return(0,e._)`await ${$}(${s})`}return typeof g=="function"?(0,e._)`${$}(${s})`:(0,e._)`${$}.test(${s})`}}}};return Nr.default=r,Nr}var Vs;function ap(){if(Vs)return Ar;Vs=1,Object.defineProperty(Ar,"__esModule",{value:!0});const t=[sp().default];return Ar.default=t,Ar}var Ze={},Us;function cp(){return Us||(Us=1,Object.defineProperty(Ze,"__esModule",{value:!0}),Ze.contentVocabulary=Ze.metadataVocabulary=void 0,Ze.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],Ze.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),Ze}var Hs;function lp(){if(Hs)return nr;Hs=1,Object.defineProperty(nr,"__esModule",{value:!0});const e=Ad(),t=Wd(),r=ip(),n=ap(),o=cp(),i=[e.default,t.default,(0,r.default)(),n.default,o.metadataVocabulary,o.contentVocabulary];return nr.default=i,nr}var Ir={},Ct={},Ws;function up(){if(Ws)return Ct;Ws=1,Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.DiscrError=void 0;var e;return function(t){t.Tag="tag",t.Mapping="mapping"}(e||(Ct.DiscrError=e={})),Ct}var Bs;function fp(){if(Bs)return Ir;Bs=1,Object.defineProperty(Ir,"__esModule",{value:!0});const e=ee(),t=up(),r=Vo(),n=wn(),o=re(),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:a,tagName:c}})=>a===t.DiscrError.Tag?`tag "${c}" must be string`:`value of tag "${c}" must be in oneOf`,params:({params:{discrError:a,tag:c,tagName:u}})=>(0,e._)`{error: ${a}, tag: ${u}, tagValue: ${c}}`},code(a){const{gen:c,data:u,schema:l,parentSchema:d,it:y}=a,{oneOf:m}=d;if(!y.opts.discriminator)throw new Error("discriminator: requires discriminator option");const v=l.propertyName;if(typeof v!="string")throw new Error("discriminator: requires propertyName");if(l.mapping)throw new Error("discriminator: mapping is not supported");if(!m)throw new Error("discriminator: requires oneOf keyword");const h=c.let("valid",!1),p=c.const("tag",(0,e._)`${u}${(0,e.getProperty)(v)}`);c.if((0,e._)`typeof ${p} == "string"`,()=>b(),()=>a.error(!1,{discrError:t.DiscrError.Tag,tag:p,tagName:v})),a.ok(h);function b(){const $=g();c.if(!1);for(const w in $)c.elseIf((0,e._)`${p} === ${w}`),c.assign(h,f($[w]));c.else(),a.error(!1,{discrError:t.DiscrError.Mapping,tag:p,tagName:v}),c.endIf()}function f($){const w=c.name("valid"),k=a.subschema({keyword:"oneOf",schemaProp:$},w);return a.mergeEvaluated(k,e.Name),w}function g(){var $;const w={},k=E(d);let _=!0;for(let L=0;L<m.length;L++){let V=m[L];if(V?.$ref&&!(0,o.schemaHasRulesButRef)(V,y.self.RULES)){const D=V.$ref;if(V=r.resolveRef.call(y.self,y.schemaEnv.root,y.baseId,D),V instanceof r.SchemaEnv&&(V=V.schema),V===void 0)throw new n.default(y.opts.uriResolver,y.baseId,D)}const F=($=V?.properties)===null||$===void 0?void 0:$[v];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${v}"`);_=_&&(k||E(V)),P(F,L)}if(!_)throw new Error(`discriminator: "${v}" must be required`);return w;function E({required:L}){return Array.isArray(L)&&L.includes(v)}function P(L,V){if(L.const)M(L.const,V);else if(L.enum)for(const F of L.enum)M(F,V);else throw new Error(`discriminator: "properties/${v}" must have "const" or "enum"`)}function M(L,V){if(typeof L!="string"||L in w)throw new Error(`discriminator: "${v}" values must be unique strings`);w[L]=V}}}};return Ir.default=s,Ir}const dp="http://json-schema.org/draft-07/schema#",pp="http://json-schema.org/draft-07/schema#",hp="Core schema meta-schema",mp={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},gp=["object","boolean"],yp={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},bp={$schema:dp,$id:pp,title:hp,definitions:mp,type:gp,properties:yp,default:!0};var Ks;function vp(){return Ks||(Ks=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=Od(),n=lp(),o=fp(),i=bp,s=["/properties"],a="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(v=>this.addVocabulary(v)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const v=this.opts.$data?this.$dataMetaSchema(i,s):i;this.addMetaSchema(v,a,!1),this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv=c,e.exports=t=c,e.exports.Ajv=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var u=$n();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var l=ee();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var d=Do();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var y=wn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return y.default}})}(Qt,Qt.exports)),Qt.exports}var $p=vp();const wp=hn($p);var Mr={exports:{}},Gs;function kp(){return Gs||(Gs=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={},n={timestamp:()=>()=>Date.now(),datetime:()=>()=>new Date().toISOString(),date:()=>()=>new Date().toISOString().slice(0,10),time:()=>()=>new Date().toISOString().slice(11),random:()=>()=>Math.random(),randomint:l=>{var d;const y=(d=l?.max)!==null&&d!==void 0?d:2;return()=>Math.floor(Math.random()*y)},seq:l=>{var d;const y=(d=l?.name)!==null&&d!==void 0?d:"";return r[y]||(r[y]=0),()=>r[y]++}},o=Object.assign(i,{DEFAULTS:n});function i(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(l,d,y){if(!y.opts.useDefaults||y.compositeRule)return()=>!0;const m={};for(const h in l)m[h]=s(l[h]);const v=y.opts.useDefaults==="empty";return h=>{for(const p in l)(h[p]===void 0||v&&(h[p]===null||h[p]===""))&&(h[p]=m[p]());return!0}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}}function s(l){return typeof l=="object"?a(l):c(l)}function a({func:l,args:d}){const y=n[l];return u(l,y),y(d)}function c(l=""){const d=n[l];return u(l,d),d()}function u(l,d){if(!d)throw new Error(`invalid "dynamicDefaults" keyword property value: ${l}`)}t.default=o,e.exports=o}(Mr,Mr.exports)),Mr.exports}var _p=kp();const Fc=hn(_p),xp={$id:"urn:jsonschema:credentials",additionalProperties:{properties:{accessKeyId:{default:null,nullable:!0,type:"string"},Bucket:{default:null,nullable:!0,type:"string"},endpoint:{default:null,nullable:!0,type:"string"},region:{default:null,nullable:!0,type:"string"},secretAccessKey:{default:null,nullable:!0,type:"string"}},type:"object"},type:"object"},Sp={$id:"urn:jsonschema:data",items:{$ref:"urn:jsonschema:page"},type:"array"},Ep="http://json-schema.org/draft-07/schema#",Cp="JSON Feed",jp="JSON Feed Version 1.1",Pp="object",Op={version:{description:"The URL of the version of the format the feed uses. This should appear at the very top.",type:"string",format:"uri",enum:["https://jsonfeed.org/version/1","https://jsonfeed.org/version/1.1"]},title:{description:"The name of the feed, which will often correspond to the name of the website (blog, for instance), though not necessarily.",type:"string"},home_page_url:{description:"The URL of the resource that the feed describes. This resource may or may not actually be a “home” page, but it should be an HTML page. If a feed is published on the public web, this should be considered as required.",type:"string",format:"uri"},feed_url:{description:"The URL of the feed, serves as the unique identifier for the feed. This should be considered required for feeds on the public web.",type:"string",format:"uri"},description:{description:"Provides more detail, beyond the title, on what the feed is about. A feed reader may display this text.",type:"string"},user_comment:{description:"A description of the purpose of the feed. This is for the use of people looking at the raw JSON, and should be ignored by feed readers.",type:"string"},next_url:{description:"The URL of a feed that provides the next n items, where n is determined by the publisher. This allows for pagination, but with the expectation that reader software is not required to use it and probably won’t use it very often.",type:"string",format:"uri"},icon:{description:"The URL of an image for the feed suitable to be used in a timeline, much the way an avatar might be used. It should be square and relatively large — such as 512 x 512 pixels — so that it can be scaled-down and so that it can look good on retina displays. It should use transparency where appropriate, since it may be rendered on a non-white background.",type:"string",format:"uri"},favicon:{description:"The URL of an image for the feed suitable to be used in a source list. It should be square and relatively small, but not smaller than 64 x 64 pixels (so that it can look good on retina displays). This image should use transparency where appropriate, since it may be rendered on a non-white background.",type:"string",format:"uri"},author:{description:"The feed author.",allOf:[{$ref:"#/definitions/author"}]},authors:{description:"One or more feed authors.",type:"array",items:{$ref:"#/definitions/author"}},language:{description:"The primary language for the feed in the format specified in RFC 5646. The value is usually a 2-letter language tag from ISO 639-1, optionally followed by a region tag.",type:"string"},expired:{description:"Whether or not the feed is finished — that is, whether or not it will ever update again. A feed for a temporary event, such as an instance of the Olympics, could expire. If the value is true, then it’s expired. Any other value, or the absence of expired, means the feed may continue to update.",type:"boolean"},hubs:{description:"Describes endpoints that can be used to subscribe to real-time notifications from the publisher of this feed.",type:"array",items:{type:"object",properties:{type:{description:"Describes the protocol used to talk with the hub, such as “rssCloud” or “WebSub.”",type:"string"},url:{type:"string",format:"uri"}},patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},additionalProperties:!1,required:["type","url"]}},items:{type:"array",items:{type:"object",properties:{id:{description:"Unique for that item for that feed over time. If an item is ever updated, the id should be unchanged. New items should never use a previously-used id. Ideally, the id is the full URL of the resource described by the item, since URLs make great unique identifiers.",type:"string"},url:{description:"The URL of the resource described by the item. It’s the permalink. This may be the same as the id.",type:"string",format:"uri"},external_url:{description:"The URL of a page elsewhere. This is especially useful for linkblogs. If url links to where you’re talking about a thing, then external_url links to the thing you’re talking about.",type:"string",format:"uri"},title:{description:"Plain text. Microblog items in particular may omit titles.",type:"string"},content_html:{description:"The HTML of the item.",type:"string"},content_text:{description:"The plain text of the item.",type:"string"},summary:{description:"A plain text sentence or two describing the item. This might be presented in a timeline, for instance, where a detail view would display all of content_html or content_text.",type:"string"},image:{description:"The URL of the main image for the item. This image may also appear in the content_html — if so, it’s a hint to the feed reader that this is the main, featured image. Feed readers may use the image as a preview (probably resized as a thumbnail and placed in a timeline).",type:"string",format:"uri"},banner_image:{description:"The URL of an image to use as a banner. Some blogging systems (such as Medium) display a different banner image chosen to go with each post, but that image wouldn’t otherwise appear in the content_html. A feed reader with a detail view may choose to show this banner image at the top of the detail view, possibly with the title overlaid.",type:"string",format:"uri"},date_published:{description:"The date in RFC 3339 format.",type:"string",format:"date-time"},date_modified:{description:"The modification date in RFC 3339 format.",type:"string",format:"date-time"},author:{description:"The author of the item.",allOf:[{$ref:"#/definitions/author"}]},authors:{description:"The authors of the item.",type:"array",items:{$ref:"#/definitions/author"}},tags:{description:"Can have any plain text values you want. Tags tend to be just one word, but they may be anything. Note: they are not the equivalent of Twitter hashtags. Some blogging systems and other feed formats call these categories.",type:"array",items:{type:"string"}},language:{description:"The language for this item, using the format specified in RFC 5646. The value can be different than the primary language for the feed when a specific item is written in a different language than other items in the feed.",type:"string"},attachments:{description:"Lists related resources. Podcasts, for instance, would include an attachment that’s an audio or video file.",type:"array",items:{type:"object",properties:{url:{description:"The location of the attachment.",type:"string",format:"uri"},mime_type:{description:"The type of the attachment, such as “audio/mpeg.”",type:"string"},title:{description:"A name for the attachment. Important: if there are multiple attachments, and two or more have the exact same title (when title is present), then they are considered as alternate representations of the same thing. In this way a podcaster, for instance, might provide an audio recording in different formats.",type:"string"},size_in_bytes:{description:"How large the file is.",type:"number"},duration_in_seconds:{description:"How long it takes to listen to or watch, when played at normal speed.",type:"number"}},patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},additionalProperties:!1,required:["url","mime_type"]}}},patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},additionalProperties:!1,anyOf:[{required:["content_html"]},{required:["content_text"]}],required:["id"]}}},Rp={"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},Tp=!1,Ap=["version","title","items"],Np={author:{title:"Author",type:"object",properties:{name:{description:"The author’s name.",type:"string"},url:{description:"The URL of a site owned by the author. It could be a blog, micro-blog, Twitter account, and so on. Ideally the linked-to page provides a way to contact the author, but that’s not required. The URL could be a mailto: link.",type:"string",format:"uri"},avatar:{description:"The URL for an image for the author. It should be square and relatively large — such as 512 x 512 pixels — and should use transparency where appropriate, since it may be rendered on a non-white background.",type:"string",format:"uri"}},minProperties:1,patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},additionalProperties:!1},extension:{title:"Extension",type:"object",patternProperties:{"^[^.]*$":{}},additionalProperties:!1}},Ip={$schema:Ep,title:Cp,description:jp,type:Pp,properties:Op,patternProperties:Rp,additionalProperties:Tp,required:Ap,definitions:Np},Mp={$id:"urn:jsonschema:feed",dynamicDefaults:{id:"uuid"},...Ip},Fp={$id:"urn:jsonschema:importmap",additionalProperties:!1,properties:{imports:{additionalProperties:{type:"string"},default:{},description:"The Imports field",type:"object"},scopes:{additionalProperties:{additionalProperties:{type:"string"},type:"object"},description:"The Scopes field",type:"object"}},title:"JSON schema for Import Maps files",type:"object"},zp={$id:"urn:jsonschema:page",additionalProperties:!1,dynamicDefaults:{id:"uuid"},properties:{changefreq:{default:null,enum:["always","hourly","daily","weekly","monthly","yearly","never",null],nullable:!0,type:"string"},children:{default:[],items:{type:"object"},type:"array"},class:{default:["prose","max-w-none"],description:"Классы",items:{type:"string"},type:"array"},description:{default:null,nullable:!0,type:"string"},enabled:{default:!0,type:"boolean"},flat:{default:!0,type:"boolean"},header:{type:"string"},icon:{type:"string"},id:{type:"string"},images:{default:[],items:{properties:{alt:{type:"string"},url:{default:"",type:"string"}},type:"object"},type:"array"},keywords:{default:[],items:{type:"string"},type:"array"},lastmod:{default:null,nullable:!0,type:"string"},loc:{default:null,nullable:!0,type:"string"},name:{default:null,nullable:!0,type:"string"},priority:{default:null,maximum:1,minimum:0,nullable:!0,type:"number"},type:{default:null,enum:["article","book","profile","website","music.song","music.album","music.playlist","music.radio_station","video.movie","video.episode","video.tv_show","video.other",null],nullable:!0,type:"string"}},type:"object"};Fc.DEFAULTS.uuid=()=>()=>qo();const Lp={get(){return this.children.filter(({enabled:e})=>e)}},qp={get(){return this.$siblings.findIndex(({id:e})=>this.id===e)}},Dp={get(){return this.$siblings[this.$index+1]}},Vp={get(){return this.$siblings[this.$index-1]}},Up={get(){return this.siblings.filter(({enabled:e})=>e)}},kn=new wp({code:{esm:!0},coerceTypes:!0,keywords:[Fc()],removeAdditional:!0,schemas:[xp,Sp,zp,Fp,Mp],useDefaults:!0}),Hp=e=>{window.console.error(e)},Wp=async e=>(await fetch(e)).text(),Bp=e=>Object.fromEntries(e.map(t=>[t.toLowerCase().replaceAll(" ","_"),t])),Kp={get(){return this.icon&&`i-${this.icon}`}},Js=it({}),tn=it([]),Gp={get(){const e=this.branch.slice(1);return e.some(({name:t})=>!t)?void 0:e.map(({name:t})=>t).join("/").replaceAll(" ","_")}},Jp={get(){return["",void 0].includes(this.header)?this.name:this.header}},Xp={get(){return this.path?.replace(/^\/?/,"/").replace(/\/?$/,"/")}};kn.getSchema("urn:jsonschema:credentials");const Yp=kn.getSchema("urn:jsonschema:data");kn.getSchema("urn:jsonschema:feed");const Qp=kn.getSchema("urn:jsonschema:importmap"),{leaves:rn,objLeaves:yo}=dd(tn);He(Js,async e=>{await Qp?.(e)||(Js.imports={})});He(rn,async e=>{await Yp?.(e)?e.forEach(t=>{Object.defineProperties(t,{$children:Lp,$index:qp,$next:Dp,$prev:Vp,$siblings:Up,i:Kp,path:Gp,title:Jp,to:Xp})}):(tn.length=0,tn.push({}))});const zc=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Zp(e={}){const t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1;let o;return{name:"attributify",match(i,{generator:s}){const a=rf(i);if(!a)return;let c=a[1];if(c.startsWith(t))c=c.slice(t.length);else if(r)return;const u=a[2],[,l="",d=u]=u.match(zc)||[];if(d==="~"||n&&d==="true"||!d)return`${l}${c}`;if(o==null){const y=s?.config?.separators?.join("|");y?o=new RegExp(`^(.*\\](?:${y}))(\\[[^\\]]+?\\])$`):o=!1}if(o){const[,y,m]=u.match(o)||[];if(m)return`${y}${l}${c}-${m}`}if(l&&d.match(/^[\d.]+$/)){const y=l.split(/([^:]*:)/g).filter(Boolean),m=y.pop()+d,v=y.join("");return[{matcher:`${l}${c}-${d}`},{matcher:`${v}${c}-${m}`}]}return`${l}${c}-${d}`}}}const eh=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,th=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Xs=/[\s'"`;>]+/;function rh(e){return{name:"attributify",extract:({content:t,cursor:r})=>{const n=t.matchAll(eh);let o,i=0;for(const f of n){const[,g,$]=f,w=f.index+g.length;if(r>w&&r<=w+$.length){i=w,o=$;break}}if(!o)return null;const s=o.matchAll(th);let a=0,c,u;for(const f of s){const[g,$,w]=f,k=i+f.index;if(r>k&&r<=k+g.length){a=k,c=$,u=w?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;const l=!!e?.prefix&&c.startsWith(e.prefix);if(e?.prefixedOnly&&!l)return null;const d=l?c.slice(e.prefix.length):c;if(u===void 0)return{extracted:d,resolveReplacement(f){const g=l?e.prefix.length:0;return{start:a+g,end:a+c.length,replacement:f}}};const y=a+c.length+2;let m=Xs.exec(u),v=0,h;for(;m;){const[f]=m;if(r>y+v&&r<=y+v+m.index){h=u.slice(v,v+m.index);break}v+=m.index+f.length,m=Xs.exec(u.slice(v))}h===void 0&&(h=u.slice(v));const[,p="",b]=h.match(zc)||[];return{extracted:`${p}${d}-${b}`,transformSuggestions(f){return f.filter(g=>g.startsWith(`${p}${d}-`)).map(g=>p+g.slice(p.length+d.length+1))},resolveReplacement(f){return{start:v+y,end:v+y+h.length,replacement:p+f.slice(p.length+d.length+1)}}}}}}const nh=["v-bind:",":"],Ys=/[\s'"`;]+/g,Jn=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,oh=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,Lc=["placeholder","fill","opacity","stroke-opacity"];function ih(e){const t=e?.ignoreAttributes??Lc,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Jn)).flatMap(i=>Array.from((i[1]||"").matchAll(oh))).flatMap(([,i,...s])=>{const a=s.filter(Boolean).join("");if(t.includes(i))return[];for(const c of nh)if(i.startsWith(c)){i=i.slice(c.length);break}if(!a){if(go(i)&&r!==!1){const c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?a.split(Ys).filter(go):Jn.test(a)?(Jn.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:a.split(Ys).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}const sh=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??Lc;const t=[Zp(e)],r=[ih(e)],n=[rh(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},ah=Object.freeze({left:0,top:0,width:16,height:16}),nn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),qc=Object.freeze({...ah,...nn}),ch=Object.freeze({...qc,body:"",hidden:!1}),lh=Object.freeze({width:null,height:null}),Dc=Object.freeze({...lh,...nn});function uh(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function Qs(e,t){const r=uh(e,t);for(const n in ch)n in nn?n in e&&!(n in r)&&(r[n]=nn[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function fh(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),o}function Zs(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=Qs(n[a]||o[a],i)}return s(t),r.forEach(s),Qs(e,i)}function dh(e,t){if(e.icons[t])return Zs(e,t,[]);const r=fh(e,[t])[t];return r?Zs(e,t,r):null}const ph=/(-?[0-9.]*[0-9]+[0-9.]*)/g,hh=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function on(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(ph);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=hh.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function mh(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function gh(e,t){return e?"<defs>"+e+"</defs>"+t:t}function yh(e,t,r){const n=mh(e);return gh(n.defs,t+n.content+r)}const Ho=e=>e==="unset"||e==="undefined"||e==="none";function bh(e,t){const r={...qc,...e},n={...Dc,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],b=h.hFlip,f=h.vFlip;let g=h.rotate;b?f?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):f&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let $;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:$=o.height/2+o.top,p.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,p.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}g%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),p.length&&(i=yh(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,d;s===null?(d=a===null?"1em":a==="auto"?u:a,l=on(d,c/u)):(l=s==="auto"?c:s,d=a===null?on(l,u/c):a==="auto"?u:a);const y={},m=(h,p)=>{Ho(p)||(y[h]=p.toString())};m("width",l),m("height",d);const v=[o.left,o.top,c,u];return y.viewBox=v.join(" "),{attributes:y,viewBox:v,body:i}}function vh(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ea(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),vh(t)}function $h(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const wh=/\swidth\s*=\s*["']([\w.]+)["']/,kh=/\sheight\s*=\s*["']([\w.]+)["']/,Xn=/<svg\s+/;function _h(e,t,r){const n=e.slice(0,e.indexOf(">")),o=(i,s)=>{const a=s.exec(n),c=a!=null,u=t[i];return!u&&!Ho(u)&&(typeof r=="number"?r>0&&(t[i]=on(a?.[1]??"1em",r)):a&&(t[i]=a[1])),c};return[o("width",wh),o("height",kh)]}async function Vc(e,t,r,n,o,i){const{scale:s,addXmlNs:a=!1}=n??{},{additionalProps:c={},iconCustomizer:u}=n?.customizations??{},l=await o?.()??{};await u?.(t,r,l),Object.keys(c).forEach(h=>{const p=c[h];p!=null&&(l[h]=p)}),i?.(l);const[d,y]=_h(e,l,s);a&&(!e.includes("xmlns=")&&!l.xmlns&&(l.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!l["xmlns:xlink"]&&(l["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const m=Object.keys(l).map(h=>h==="width"&&d||h==="height"&&y?null:`${h}="${l[h]}"`).filter(h=>h!=null);if(m.length&&(e=e.replace(Xn,`<svg ${m.join(" ")} `)),n){const{defaultStyle:h,defaultClass:p}=n;p&&!e.includes("class=")&&(e=e.replace(Xn,`<svg class="${p}" `)),h&&!e.includes("style=")&&(e=e.replace(Xn,`<svg style="${h}" `))}const v=n?.usedProps;return v&&(Object.keys(c).forEach(h=>{const p=l[h];p!=null&&(v[h]=p)}),typeof l.width<"u"&&l.width!==null&&(v.width=l.width),typeof l.height<"u"&&l.height!==null&&(v.height=l.height)),e}var Fr={exports:{}},Yn,ta;function xh(){if(ta)return Yn;ta=1;var e=1e3,t=e*60,r=t*60,n=r*24,o=n*7,i=n*365.25;Yn=function(l,d){d=d||{};var y=typeof l;if(y==="string"&&l.length>0)return s(l);if(y==="number"&&isFinite(l))return d.long?c(l):a(l);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(l))};function s(l){if(l=String(l),!(l.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(d){var y=parseFloat(d[1]),m=(d[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return y*i;case"weeks":case"week":case"w":return y*o;case"days":case"day":case"d":return y*n;case"hours":case"hour":case"hrs":case"hr":case"h":return y*r;case"minutes":case"minute":case"mins":case"min":case"m":return y*t;case"seconds":case"second":case"secs":case"sec":case"s":return y*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return y;default:return}}}}function a(l){var d=Math.abs(l);return d>=n?Math.round(l/n)+"d":d>=r?Math.round(l/r)+"h":d>=t?Math.round(l/t)+"m":d>=e?Math.round(l/e)+"s":l+"ms"}function c(l){var d=Math.abs(l);return d>=n?u(l,d,n,"day"):d>=r?u(l,d,r,"hour"):d>=t?u(l,d,t,"minute"):d>=e?u(l,d,e,"second"):l+" ms"}function u(l,d,y,m){var v=d>=y*1.5;return Math.round(l/y)+" "+m+(v?"s":"")}return Yn}var Qn,ra;function Sh(){if(ra)return Qn;ra=1;function e(t){n.debug=n,n.default=n,n.coerce=u,n.disable=a,n.enable=i,n.enabled=c,n.humanize=xh(),n.destroy=l,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function r(d){let y=0;for(let m=0;m<d.length;m++)y=(y<<5)-y+d.charCodeAt(m),y|=0;return n.colors[Math.abs(y)%n.colors.length]}n.selectColor=r;function n(d){let y,m=null,v,h;function p(...b){if(!p.enabled)return;const f=p,g=Number(new Date),$=g-(y||g);f.diff=$,f.prev=y,f.curr=g,y=g,b[0]=n.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let w=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(_,E)=>{if(_==="%%")return"%";w++;const P=n.formatters[E];if(typeof P=="function"){const M=b[w];_=P.call(f,M),b.splice(w,1),w--}return _}),n.formatArgs.call(f,b),(f.log||n.log).apply(f,b)}return p.namespace=d,p.useColors=n.useColors(),p.color=n.selectColor(d),p.extend=o,p.destroy=n.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(v!==n.namespaces&&(v=n.namespaces,h=n.enabled(d)),h),set:b=>{m=b}}),typeof n.init=="function"&&n.init(p),p}function o(d,y){const m=n(this.namespace+(typeof y>"u"?":":y)+d);return m.log=this.log,m}function i(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];const y=(typeof d=="string"?d:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const m of y)m[0]==="-"?n.skips.push(m.slice(1)):n.names.push(m)}function s(d,y){let m=0,v=0,h=-1,p=0;for(;m<d.length;)if(v<y.length&&(y[v]===d[m]||y[v]==="*"))y[v]==="*"?(h=v,p=m,v++):(m++,v++);else if(h!==-1)v=h+1,p++,m=p;else return!1;for(;v<y.length&&y[v]==="*";)v++;return v===y.length}function a(){const d=[...n.names,...n.skips.map(y=>"-"+y)].join(",");return n.enable(""),d}function c(d){for(const y of n.skips)if(s(d,y))return!1;for(const y of n.names)if(s(d,y))return!0;return!1}function u(d){return d instanceof Error?d.stack||d.message:d}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Qn=e,Qn}var na;function Eh(){return na||(na=1,function(e,t){var r={};t.formatArgs=o,t.save=i,t.load=s,t.useColors=n,t.storage=a(),t.destroy=(()=>{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let u;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(u=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(u[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;u.splice(1,0,l,"color: inherit");let d=0,y=0;u[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(d++,m==="%c"&&(y=d))}),u.splice(y,0,l)}t.log=console.debug||console.log||(()=>{});function i(u){try{u?t.storage.setItem("debug",u):t.storage.removeItem("debug")}catch{}}function s(){let u;try{u=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!u&&typeof process<"u"&&"env"in process&&(u=r.DEBUG),u}function a(){try{return localStorage}catch{}}e.exports=Sh()(t);const{formatters:c}=e.exports;c.j=function(u){try{return JSON.stringify(u)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}}(Fr,Fr.exports)),Fr.exports}var Ch=Eh();const Uc=hn(Ch),jh=Uc("@iconify-loader:custom");async function oa(e,t,r,n){let o;jh(`${t}:${r}`);try{if(typeof e=="function")o=await e(r);else{const i=e[r];o=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(o){const i=o.indexOf("<svg");i>0&&(o=o.slice(i));const{transform:s}=n?.customizations??{};return o=typeof s=="function"?await s(o,t,r):o,o.startsWith("<svg")?await Vc(n?.customizations?.trimCustomSvg===!0?$h(o):o,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),o)}}const Ph=Uc("@iconify-loader:icon");async function Hc(e,t,r,n){let o;const{customize:i}=n?.customizations??{};for(const s of r)if(o=dh(e,s),o){Ph(`${t}:${s}`);let a={...Dc};typeof i=="function"&&(o=Object.assign({},o),a=i(a,o,`${t}:${s}`)??a);const{attributes:{width:c,height:u,...l},body:d}=bh(o,a),y=n?.scale;return await Vc(`<svg >${d}</svg>`,t,s,n,()=>({...l}),m=>{const v=(h,p)=>{const b=m[h];let f;if(!Ho(b)){if(b)return;typeof y=="number"?y&&(f=on(p??"1em",y)):f=p}f?m[h]=f:delete m[h]};v("width",c),v("height",u)})}}const Wc=async(e,t,r)=>{const n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let o;try{o=await n(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(o){if(typeof o=="string")return await oa(()=>o,e,t,r);if("icons"in o){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Hc(o,e,i,r)}}}else return await oa(n,e,t,r)},Oh=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Rh=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Th=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ah(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Nh(e);return}return t}function Nh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ih(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Th.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Oh.test(e)||Rh.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ah)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const Mh=/#/g,Fh=/&/g,zh=/\//g,Lh=/=/g,Wo=/\+/g,qh=/%5e/gi,Dh=/%60/gi,Vh=/%7c/gi,Uh=/%20/gi;function Hh(e){return encodeURI(""+e).replace(Vh,"|")}function bo(e){return Hh(typeof e=="string"?e:JSON.stringify(e)).replace(Wo,"%2B").replace(Uh,"+").replace(Mh,"%23").replace(Fh,"%26").replace(Dh,"`").replace(qh,"^").replace(zh,"%2F")}function Zn(e){return bo(e).replace(Lh,"%3D")}function Bc(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Wh(e){return Bc(e.replace(Wo," "))}function Bh(e){return Bc(e.replace(Wo," "))}function Kh(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const o=Wh(n[1]);if(o==="__proto__"||o==="constructor")continue;const i=Bh(n[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function Gh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Zn(e)}=${bo(r)}`).join("&"):`${Zn(e)}=${bo(t)}`:Zn(e)}function Jh(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Gh(t,e[t])).filter(Boolean).join("&")}const Xh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Yh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Qh=/^([/\\]\s*){2,}[^/\\]/,Zh=/^\.?\//;function Kc(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Xh.test(e):Yh.test(e)||(t.acceptRelative?Qh.test(e):!1)}function em(e="",t){return e.endsWith("/")}function tm(e="",t){return(em(e)?e.slice(0,-1):e)||"/"}function rm(e="",t){return e.endsWith("/")?e:e+"/"}function nm(e,t){if(im(t)||Kc(e))return e;const r=tm(t);return e.startsWith(r)?e:am(r,e)}function om(e,t){const r=cm(e),n={...Kh(r.search),...t};return r.search=Jh(n),lm(r)}function im(e){return!e||e==="/"}function sm(e){return e&&e!=="/"}function am(e,...t){let r=e||"";for(const n of t.filter(o=>sm(o)))if(r){const o=n.replace(Zh,"");r=rm(r)+o}else r=n;return r}const Gc=Symbol.for("ufo:protocolRelative");function cm(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,d,y=""]=r;return{protocol:d.toLowerCase(),pathname:y,href:d+y,auth:"",host:"",search:"",hash:""}}if(!Kc(e,{acceptRelative:!0}))return ia(e);const[,n="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:l}=ia(a);return{protocol:n.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:c,search:u,hash:l,[Gc]:!n}}function ia(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function lm(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Gc]?(e.protocol||"")+"//":"")+o+i+t+r+n}class Jc extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function Xc(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",n=e.request?.url||String(e.request)||"/",o=`[${r}] ${JSON.stringify(n)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new Jc(s,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[u]}});return a}const um=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function sa(e="GET"){return um.has(e.toUpperCase())}function fm(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const dm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),pm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function hm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return pm.test(t)?"json":dm.has(t)||t.startsWith("text/")?"text":"blob"}function mm(e,t,r,n){const o=gm(t?.headers??e?.headers,r?.headers,n);let i;return(r?.query||r?.params||t?.params||t?.query)&&(i={...r?.params,...r?.query,...t?.params,...t?.query}),{...r,...t,query:i,params:i,headers:o}}function gm(e,t,r){if(!t)return new r(e);const n=new r(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(o,i);return n}async function zr(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const ym=new Set([408,409,425,429,500,502,503,504]),bm=new Set([101,204,205,304]);function Bo(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function o(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let l;typeof a.options.retry=="number"?l=a.options.retry:l=sa(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(l>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):ym.has(d))){const y=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return y>0&&await new Promise(m=>setTimeout(m,y)),i(a.request,{...a.options,retry:l-1})}}const u=Xc(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){const l={request:c,options:mm(c,u,e.defaults,r),response:void 0,error:void 0};l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&await zr(l,l.options.onRequest),typeof l.request=="string"&&(l.options.baseURL&&(l.request=nm(l.request,l.options.baseURL)),l.options.query&&(l.request=om(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&sa(l.options.method)&&(fm(l.options.body)?(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new r(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half")));let d;if(!l.options.signal&&l.options.timeout){const m=new n;d=setTimeout(()=>{const v=new Error("[TimeoutError]: The operation was aborted due to timeout");v.name="TimeoutError",v.code=23,m.abort(v)},l.options.timeout),l.options.signal=m.signal}try{l.response=await t(l.request,l.options)}catch(m){return l.error=m,l.options.onRequestError&&await zr(l,l.options.onRequestError),await o(l)}finally{d&&clearTimeout(d)}if((l.response.body||l.response._bodyInit)&&!bm.has(l.response.status)&&l.options.method!=="HEAD"){const m=(l.options.parseResponse?"json":l.options.responseType)||hm(l.response.headers.get("content-type")||"");switch(m){case"json":{const v=await l.response.text(),h=l.options.parseResponse||Ih;l.response._data=h(v);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[m]()}}return l.options.onResponse&&await zr(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await zr(l,l.options.onResponseError),await o(l)):l.response},s=async function(c,u){return(await i(c,u))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},c={})=>Bo({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),s}const sn=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Yc=sn.fetch?(...e)=>sn.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Qc=sn.Headers,Zc=sn.AbortController,el=Bo({fetch:Yc,Headers:Qc,AbortController:Zc}),tl=el,vo=Object.freeze(Object.defineProperty({__proto__:null,$fetch:tl,AbortController:Zc,FetchError:Jc,Headers:Qc,createFetch:Bo,createFetchError:Xc,fetch:Yc,ofetch:el},Symbol.toStringTag,{value:"Module"}));var aa={};const rl=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],vm=3;function $m(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:o="i-",warn:i=!1,iconifyCollectionsNames:s,collections:a,extraProperties:c={},customizations:u={},autoInstall:l=!1,collectionsNodeResolvePath:d,layer:y="icons",unit:m,processor:v}=t,h=wm(),p={addXmlNs:!0,scale:r,customCollections:a,autoInstall:l,cwd:d,warn:void 0,customizations:{...u,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(f,g,$){await u.iconCustomizer?.(f,g,$),m&&($.width||($.width=`${r}${m}`),$.height||($.height=`${r}${m}`))}}};let b;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:ea,parseIconWithLoader:ca},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async f=>{let[g,$,w=n]=f;b=b||await e(t);const k={},_=await ca($,b,{...p,usedProps:k},s);if(!_){i&&!h.isESLint&&wc(`failed to load icon "${g}"`);return}let E;const P=`url("data:image/svg+xml;utf8,${ea(_.svg)}")`;return w==="auto"&&(w=_.svg.includes("currentColor")?"mask":"bg"),w==="mask"?E={"--un-icon":P,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...k}:E={background:`${P} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...k},v?.(E,{..._,icon:_.name,mode:w}),E},{layer:y,prefix:o}]]}}}function nl(e,t,r=new Map){function n(o){if(rl.includes(o))return r.has(o)||r.set(o,e(`${t}@iconify-json/${o}/icons.json`)),r.get(o)}return async(o,i,s)=>{let a=await Wc(o,i,s);if(a)return a;const c=await n(o);if(c){const u=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Hc(c,o,u,s)}return a}}function wm(){const e=typeof process<"u"&&process.stdout,t=e&&!!aa.VSCODE_CWD,r=e&&!!aa.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function ca(e,t,r={},n=[]){let o="",i="",s;const a=new Set([...rl,...n,...Object.keys(r.customCollections||{})]);if(e.includes(":")){if([o,i]=e.split(":"),!a.has(o))return;s=await t(o,i,r)}else{const c=e.split(/-/g);for(let u=vm;u>=1&&(o=c.slice(0,u).join("-"),!(!!a.has(o)&&(i=c.slice(u).join("-"),s=await t(o,i,r),s)));u--);}if(s)return{collection:o,name:i,svg:s}}function km(e){return nl(tl,e)}const _m=$m(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?nl(t,r):r?km(r):Wc}),$o="__TAGIFY__",xm=/<([\w:-]+)/g;function Sm(e){const{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(xm)).filter(({1:o})=>{for(const i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${$o}${o}`)}}}function Em(e){const{extraProperties:t}=e,r=`${$o}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;const o=n.slice(r.length),i={matcher:o,selector:s=>s.slice($o.length+1)};return t&&(typeof t=="function"?i.body=s=>[...s,...Object.entries(t(o)??{})]:i.body=s=>[...s,...Object.entries(t)]),i}}}const Cm=(e={})=>{const{defaultExtractor:t=!0}=e,r=[Em(e)],n=[Sm(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}};var jm=au();class an{constructor(t){this.bits=t instanceof an?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class Vt{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new Vt(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;const i=new Vt(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const r=this.content.replace(t,"");if(r.length){if(r!==this.content){const n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function Pm(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Om=Pm();class Rm{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=jm.encode(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Om(this.toString())}}function Tm(e){const t=e.split(`
17
- `),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";const o=n.reduce((i,s)=>{const a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function Am(e,t){const r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}const Nm=Object.prototype.toString;function Im(e){return Nm.call(e)==="[object Object]"}function la(e){const t=e.split(`
18
- `),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){const u=i+s>>1;o<r[u]?s=u:i=u+1}const a=i-1,c=o-r[a];return{line:a,column:c}}}const Mm=/\w/;class Fm{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){const i=r.length-1;let s=r.indexOf(`
16
+ deps: ${l}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(c){const[u,l]=i(c);s(c,u),a(c,l)}};function i({schema:c}){const u={},l={};for(const d in c){if(d==="__proto__")continue;const y=Array.isArray(c[d])?u:l;y[d]=c[d]}return[u,l]}function s(c,u=c.schema){const{gen:l,data:d,it:y}=c;if(Object.keys(u).length===0)return;const m=l.let("missing");for(const v in u){const h=u[v];if(h.length===0)continue;const p=(0,n.propertyInData)(l,d,v,y.opts.ownProperties);c.setParams({property:v,depsCount:h.length,deps:h.join(", ")}),y.allErrors?l.if(p,()=>{for(const b of h)(0,n.checkReportMissingProp)(c,b)}):(l.if((0,t._)`${p} && (${(0,n.checkMissingProp)(c,h,m)})`),(0,n.reportMissingProp)(c,m),l.else())}}e.validatePropertyDeps=s;function a(c,u=c.schema){const{gen:l,data:d,keyword:y,it:m}=c,v=l.name("valid");for(const h in u)(0,r.alwaysValidSchema)(m,u[h])||(l.if((0,n.propertyInData)(l,d,h,m.opts.ownProperties),()=>{const p=c.subschema({keyword:y,schemaProp:h},v);c.mergeValidEvaluated(p,v)},()=>l.var(v,!0)),c.ok(v))}e.validateSchemaDeps=a,e.default=o}(Gn)),Gn}var _r={},Os;function Yd(){if(Os)return _r;Os=1,Object.defineProperty(_r,"__esModule",{value:!0});const e=ee(),t=re(),n={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:o})=>(0,e._)`{propertyName: ${o.propertyName}}`},code(o){const{gen:i,schema:s,data:a,it:c}=o;if((0,t.alwaysValidSchema)(c,s))return;const u=i.name("valid");i.forIn("key",a,l=>{o.setParams({propertyName:l}),o.subschema({keyword:"propertyNames",data:l,dataTypes:["string"],propertyName:l,compositeRule:!0},u),i.if((0,e.not)(u),()=>{o.error(!0),c.allErrors||i.break()})}),o.ok(u)}};return _r.default=n,_r}var xr={},Rs;function Fc(){if(Rs)return xr;Rs=1,Object.defineProperty(xr,"__esModule",{value:!0});const e=Ie(),t=ee(),r=Ye(),n=re(),i={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:s})=>(0,t._)`{additionalProperty: ${s.additionalProperty}}`},code(s){const{gen:a,schema:c,parentSchema:u,data:l,errsCount:d,it:y}=s;if(!d)throw new Error("ajv implementation error");const{allErrors:m,opts:v}=y;if(y.props=!0,v.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(y,c))return;const h=(0,e.allSchemaProperties)(u.properties),p=(0,e.allSchemaProperties)(u.patternProperties);b(),s.ok((0,t._)`${d} === ${r.default.errors}`);function b(){a.forIn("key",l,k=>{!h.length&&!p.length?$(k):a.if(f(k),()=>$(k))})}function f(k){let _;if(h.length>8){const E=(0,n.schemaRefOrVal)(y,u.properties,"properties");_=(0,e.isOwnProperty)(a,E,k)}else h.length?_=(0,t.or)(...h.map(E=>(0,t._)`${k} === ${E}`)):_=t.nil;return p.length&&(_=(0,t.or)(_,...p.map(E=>(0,t._)`${(0,e.usePattern)(s,E)}.test(${k})`))),(0,t.not)(_)}function g(k){a.code((0,t._)`delete ${l}[${k}]`)}function $(k){if(v.removeAdditional==="all"||v.removeAdditional&&c===!1){g(k);return}if(c===!1){s.setParams({additionalProperty:k}),s.error(),m||a.break();return}if(typeof c=="object"&&!(0,n.alwaysValidSchema)(y,c)){const _=a.name("valid");v.removeAdditional==="failing"?(w(k,_,!1),a.if((0,t.not)(_),()=>{s.reset(),g(k)})):(w(k,_),m||a.if((0,t.not)(_),()=>a.break()))}}function w(k,_,E){const P={keyword:"additionalProperties",dataProp:k,dataPropType:n.Type.Str};E===!1&&Object.assign(P,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(P,_)}}};return xr.default=i,xr}var Sr={},Ts;function Qd(){if(Ts)return Sr;Ts=1,Object.defineProperty(Sr,"__esModule",{value:!0});const e=$n(),t=Ie(),r=re(),n=Fc(),o={keyword:"properties",type:"object",schemaType:"object",code(i){const{gen:s,schema:a,parentSchema:c,data:u,it:l}=i;l.opts.removeAdditional==="all"&&c.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(l,n.default,"additionalProperties"));const d=(0,t.allSchemaProperties)(a);for(const p of d)l.definedProperties.add(p);l.opts.unevaluated&&d.length&&l.props!==!0&&(l.props=r.mergeEvaluated.props(s,(0,r.toHash)(d),l.props));const y=d.filter(p=>!(0,r.alwaysValidSchema)(l,a[p]));if(y.length===0)return;const m=s.name("valid");for(const p of y)v(p)?h(p):(s.if((0,t.propertyInData)(s,u,p,l.opts.ownProperties)),h(p),l.allErrors||s.else().var(m,!0),s.endIf()),i.it.definedProperties.add(p),i.ok(m);function v(p){return l.opts.useDefaults&&!l.compositeRule&&a[p].default!==void 0}function h(p){i.subschema({keyword:"properties",schemaProp:p,dataProp:p},m)}}};return Sr.default=o,Sr}var Er={},As;function Zd(){if(As)return Er;As=1,Object.defineProperty(Er,"__esModule",{value:!0});const e=Ie(),t=ee(),r=re(),n=re(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(i){const{gen:s,schema:a,data:c,parentSchema:u,it:l}=i,{opts:d}=l,y=(0,e.allSchemaProperties)(a),m=y.filter($=>(0,r.alwaysValidSchema)(l,a[$]));if(y.length===0||m.length===y.length&&(!l.opts.unevaluated||l.props===!0))return;const v=d.strictSchema&&!d.allowMatchingProperties&&u.properties,h=s.name("valid");l.props!==!0&&!(l.props instanceof t.Name)&&(l.props=(0,n.evaluatedPropsToName)(s,l.props));const{props:p}=l;b();function b(){for(const $ of y)v&&f($),l.allErrors?g($):(s.var(h,!0),g($),s.if(h))}function f($){for(const w in v)new RegExp($).test(w)&&(0,r.checkStrictMode)(l,`property ${w} matches pattern ${$} (use allowMatchingProperties)`)}function g($){s.forIn("key",c,w=>{s.if((0,t._)`${(0,e.usePattern)(i,$)}.test(${w})`,()=>{const k=m.includes($);k||i.subschema({keyword:"patternProperties",schemaProp:$,dataProp:w,dataPropType:n.Type.Str},h),l.opts.unevaluated&&p!==!0?s.assign((0,t._)`${p}[${w}]`,!0):!k&&!l.allErrors&&s.if((0,t.not)(h),()=>s.break())})})}}};return Er.default=o,Er}var Cr={},Ns;function ep(){if(Ns)return Cr;Ns=1,Object.defineProperty(Cr,"__esModule",{value:!0});const e=re(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:n,schema:o,it:i}=r;if((0,e.alwaysValidSchema)(i,o)){r.fail();return}const s=n.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},s),r.failResult(s,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return Cr.default=t,Cr}var jr={},Is;function tp(){if(Is)return jr;Is=1,Object.defineProperty(jr,"__esModule",{value:!0});const t={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:Ie().validateUnion,error:{message:"must match a schema in anyOf"}};return jr.default=t,jr}var Pr={},Ms;function rp(){if(Ms)return Pr;Ms=1,Object.defineProperty(Pr,"__esModule",{value:!0});const e=ee(),t=re(),n={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:o})=>(0,e._)`{passingSchemas: ${o.passing}}`},code(o){const{gen:i,schema:s,parentSchema:a,it:c}=o;if(!Array.isArray(s))throw new Error("ajv implementation error");if(c.opts.discriminator&&a.discriminator)return;const u=s,l=i.let("valid",!1),d=i.let("passing",null),y=i.name("_valid");o.setParams({passing:d}),i.block(m),o.result(l,()=>o.reset(),()=>o.error(!0));function m(){u.forEach((v,h)=>{let p;(0,t.alwaysValidSchema)(c,v)?i.var(y,!0):p=o.subschema({keyword:"oneOf",schemaProp:h,compositeRule:!0},y),h>0&&i.if((0,e._)`${y} && ${l}`).assign(l,!1).assign(d,(0,e._)`[${d}, ${h}]`).else(),i.if(y,()=>{i.assign(l,!0),i.assign(d,h),p&&o.mergeEvaluated(p,e.Name)})})}}};return Pr.default=n,Pr}var Or={},Fs;function np(){if(Fs)return Or;Fs=1,Object.defineProperty(Or,"__esModule",{value:!0});const e=re(),t={keyword:"allOf",schemaType:"array",code(r){const{gen:n,schema:o,it:i}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");const s=n.name("valid");o.forEach((a,c)=>{if((0,e.alwaysValidSchema)(i,a))return;const u=r.subschema({keyword:"allOf",schemaProp:c},s);r.ok(s),r.mergeEvaluated(u)})}};return Or.default=t,Or}var Rr={},zs;function op(){if(zs)return Rr;zs=1,Object.defineProperty(Rr,"__esModule",{value:!0});const e=ee(),t=re(),n={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:i})=>(0,e.str)`must match "${i.ifClause}" schema`,params:({params:i})=>(0,e._)`{failingKeyword: ${i.ifClause}}`},code(i){const{gen:s,parentSchema:a,it:c}=i;a.then===void 0&&a.else===void 0&&(0,t.checkStrictMode)(c,'"if" without "then" and "else" is ignored');const u=o(c,"then"),l=o(c,"else");if(!u&&!l)return;const d=s.let("valid",!0),y=s.name("_valid");if(m(),i.reset(),u&&l){const h=s.let("ifClause");i.setParams({ifClause:h}),s.if(y,v("then",h),v("else",h))}else u?s.if(y,v("then")):s.if((0,e.not)(y),v("else"));i.pass(d,()=>i.error(!0));function m(){const h=i.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},y);i.mergeEvaluated(h)}function v(h,p){return()=>{const b=i.subschema({keyword:h},y);s.assign(d,y),i.mergeValidEvaluated(b,d),p?s.assign(p,(0,e._)`${h}`):i.setParams({ifClause:h})}}}};function o(i,s){const a=i.schema[s];return a!==void 0&&!(0,t.alwaysValidSchema)(i,a)}return Rr.default=n,Rr}var Tr={},Ls;function ip(){if(Ls)return Tr;Ls=1,Object.defineProperty(Tr,"__esModule",{value:!0});const e=re(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:n,it:o}){n.if===void 0&&(0,e.checkStrictMode)(o,`"${r}" without "if" is ignored`)}};return Tr.default=t,Tr}var qs;function sp(){if(qs)return vr;qs=1,Object.defineProperty(vr,"__esModule",{value:!0});const e=Ic(),t=Kd(),r=Mc(),n=Gd(),o=Jd(),i=Xd(),s=Yd(),a=Fc(),c=Qd(),u=Zd(),l=ep(),d=tp(),y=rp(),m=np(),v=op(),h=ip();function p(b=!1){const f=[l.default,d.default,y.default,m.default,v.default,h.default,s.default,a.default,i.default,c.default,u.default];return b?f.push(t.default,n.default):f.push(e.default,r.default),f.push(o.default),f}return vr.default=p,vr}var Ar={},Nr={},Ds;function ap(){if(Ds)return Nr;Ds=1,Object.defineProperty(Nr,"__esModule",{value:!0});const e=ee(),r={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,e.str)`must match format "${n}"`,params:({schemaCode:n})=>(0,e._)`{format: ${n}}`},code(n,o){const{gen:i,data:s,$data:a,schema:c,schemaCode:u,it:l}=n,{opts:d,errSchemaPath:y,schemaEnv:m,self:v}=l;if(!d.validateFormats)return;a?h():p();function h(){const b=i.scopeValue("formats",{ref:v.formats,code:d.code.formats}),f=i.const("fDef",(0,e._)`${b}[${u}]`),g=i.let("fType"),$=i.let("format");i.if((0,e._)`typeof ${f} == "object" && !(${f} instanceof RegExp)`,()=>i.assign(g,(0,e._)`${f}.type || "string"`).assign($,(0,e._)`${f}.validate`),()=>i.assign(g,(0,e._)`"string"`).assign($,f)),n.fail$data((0,e.or)(w(),k()));function w(){return d.strictSchema===!1?e.nil:(0,e._)`${u} && !${$}`}function k(){const _=m.$async?(0,e._)`(${f}.async ? await ${$}(${s}) : ${$}(${s}))`:(0,e._)`${$}(${s})`,E=(0,e._)`(typeof ${$} == "function" ? ${_} : ${$}.test(${s}))`;return(0,e._)`${$} && ${$} !== true && ${g} === ${o} && !${E}`}}function p(){const b=v.formats[c];if(!b){w();return}if(b===!0)return;const[f,g,$]=k(b);f===o&&n.pass(_());function w(){if(d.strictSchema===!1){v.logger.warn(E());return}throw new Error(E());function E(){return`unknown format "${c}" ignored in schema at path "${y}"`}}function k(E){const P=E instanceof RegExp?(0,e.regexpCode)(E):d.code.formats?(0,e._)`${d.code.formats}${(0,e.getProperty)(c)}`:void 0,M=i.scopeValue("formats",{key:c,ref:E,code:P});return typeof E=="object"&&!(E instanceof RegExp)?[E.type||"string",E.validate,(0,e._)`${M}.validate`]:["string",E,M]}function _(){if(typeof b=="object"&&!(b instanceof RegExp)&&b.async){if(!m.$async)throw new Error("async format in sync schema");return(0,e._)`await ${$}(${s})`}return typeof g=="function"?(0,e._)`${$}(${s})`:(0,e._)`${$}.test(${s})`}}}};return Nr.default=r,Nr}var Vs;function cp(){if(Vs)return Ar;Vs=1,Object.defineProperty(Ar,"__esModule",{value:!0});const t=[ap().default];return Ar.default=t,Ar}var et={},Us;function lp(){return Us||(Us=1,Object.defineProperty(et,"__esModule",{value:!0}),et.contentVocabulary=et.metadataVocabulary=void 0,et.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],et.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),et}var Hs;function up(){if(Hs)return nr;Hs=1,Object.defineProperty(nr,"__esModule",{value:!0});const e=Nd(),t=Bd(),r=sp(),n=cp(),o=lp(),i=[e.default,t.default,(0,r.default)(),n.default,o.metadataVocabulary,o.contentVocabulary];return nr.default=i,nr}var Ir={},Ct={},Ws;function fp(){if(Ws)return Ct;Ws=1,Object.defineProperty(Ct,"__esModule",{value:!0}),Ct.DiscrError=void 0;var e;return function(t){t.Tag="tag",t.Mapping="mapping"}(e||(Ct.DiscrError=e={})),Ct}var Bs;function dp(){if(Bs)return Ir;Bs=1,Object.defineProperty(Ir,"__esModule",{value:!0});const e=ee(),t=fp(),r=Vo(),n=wn(),o=re(),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:a,tagName:c}})=>a===t.DiscrError.Tag?`tag "${c}" must be string`:`value of tag "${c}" must be in oneOf`,params:({params:{discrError:a,tag:c,tagName:u}})=>(0,e._)`{error: ${a}, tag: ${u}, tagValue: ${c}}`},code(a){const{gen:c,data:u,schema:l,parentSchema:d,it:y}=a,{oneOf:m}=d;if(!y.opts.discriminator)throw new Error("discriminator: requires discriminator option");const v=l.propertyName;if(typeof v!="string")throw new Error("discriminator: requires propertyName");if(l.mapping)throw new Error("discriminator: mapping is not supported");if(!m)throw new Error("discriminator: requires oneOf keyword");const h=c.let("valid",!1),p=c.const("tag",(0,e._)`${u}${(0,e.getProperty)(v)}`);c.if((0,e._)`typeof ${p} == "string"`,()=>b(),()=>a.error(!1,{discrError:t.DiscrError.Tag,tag:p,tagName:v})),a.ok(h);function b(){const $=g();c.if(!1);for(const w in $)c.elseIf((0,e._)`${p} === ${w}`),c.assign(h,f($[w]));c.else(),a.error(!1,{discrError:t.DiscrError.Mapping,tag:p,tagName:v}),c.endIf()}function f($){const w=c.name("valid"),k=a.subschema({keyword:"oneOf",schemaProp:$},w);return a.mergeEvaluated(k,e.Name),w}function g(){var $;const w={},k=E(d);let _=!0;for(let L=0;L<m.length;L++){let V=m[L];if(V?.$ref&&!(0,o.schemaHasRulesButRef)(V,y.self.RULES)){const D=V.$ref;if(V=r.resolveRef.call(y.self,y.schemaEnv.root,y.baseId,D),V instanceof r.SchemaEnv&&(V=V.schema),V===void 0)throw new n.default(y.opts.uriResolver,y.baseId,D)}const F=($=V?.properties)===null||$===void 0?void 0:$[v];if(typeof F!="object")throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${v}"`);_=_&&(k||E(V)),P(F,L)}if(!_)throw new Error(`discriminator: "${v}" must be required`);return w;function E({required:L}){return Array.isArray(L)&&L.includes(v)}function P(L,V){if(L.const)M(L.const,V);else if(L.enum)for(const F of L.enum)M(F,V);else throw new Error(`discriminator: "properties/${v}" must have "const" or "enum"`)}function M(L,V){if(typeof L!="string"||L in w)throw new Error(`discriminator: "${v}" values must be unique strings`);w[L]=V}}}};return Ir.default=s,Ir}const pp="http://json-schema.org/draft-07/schema#",hp="http://json-schema.org/draft-07/schema#",mp="Core schema meta-schema",gp={schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:!0,default:[]}},yp=["object","boolean"],bp={$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:!0,readOnly:{type:"boolean",default:!1},examples:{type:"array",items:!0},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:!0},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:!0,enum:{type:"array",items:!0,minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},vp={$schema:pp,$id:hp,title:mp,definitions:gp,type:yp,properties:bp,default:!0};var Ks;function $p(){return Ks||(Ks=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=t.Ajv=void 0;const r=Rd(),n=up(),o=dp(),i=vp,s=["/properties"],a="http://json-schema.org/draft-07/schema";class c extends r.default{_addVocabularies(){super._addVocabularies(),n.default.forEach(v=>this.addVocabulary(v)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const v=this.opts.$data?this.$dataMetaSchema(i,s):i;this.addMetaSchema(v,a,!1),this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv=c,e.exports=t=c,e.exports.Ajv=c,Object.defineProperty(t,"__esModule",{value:!0}),t.default=c;var u=$n();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var l=ee();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var d=Do();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var y=wn();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return y.default}})}(Qt,Qt.exports)),Qt.exports}var wp=$p();const kp=hn(wp);var Mr={exports:{}},Gs;function _p(){return Gs||(Gs=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});const r={},n={timestamp:()=>()=>Date.now(),datetime:()=>()=>new Date().toISOString(),date:()=>()=>new Date().toISOString().slice(0,10),time:()=>()=>new Date().toISOString().slice(11),random:()=>()=>Math.random(),randomint:l=>{var d;const y=(d=l?.max)!==null&&d!==void 0?d:2;return()=>Math.floor(Math.random()*y)},seq:l=>{var d;const y=(d=l?.name)!==null&&d!==void 0?d:"";return r[y]||(r[y]=0),()=>r[y]++}},o=Object.assign(i,{DEFAULTS:n});function i(){return{keyword:"dynamicDefaults",type:"object",schemaType:["string","object"],modifying:!0,valid:!0,compile(l,d,y){if(!y.opts.useDefaults||y.compositeRule)return()=>!0;const m={};for(const h in l)m[h]=s(l[h]);const v=y.opts.useDefaults==="empty";return h=>{for(const p in l)(h[p]===void 0||v&&(h[p]===null||h[p]===""))&&(h[p]=m[p]());return!0}},metaSchema:{type:"object",additionalProperties:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}]}}}}function s(l){return typeof l=="object"?a(l):c(l)}function a({func:l,args:d}){const y=n[l];return u(l,y),y(d)}function c(l=""){const d=n[l];return u(l,d),d()}function u(l,d){if(!d)throw new Error(`invalid "dynamicDefaults" keyword property value: ${l}`)}t.default=o,e.exports=o}(Mr,Mr.exports)),Mr.exports}var xp=_p();const zc=hn(xp),Sp={$id:"urn:jsonschema:credentials",$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:{properties:{accessKeyId:{default:null,nullable:!0,type:"string"},Bucket:{default:null,nullable:!0,type:"string"},endpoint:{default:null,nullable:!0,type:"string"},region:{default:null,nullable:!0,type:"string"},secretAccessKey:{default:null,nullable:!0,type:"string"}},type:"object"},type:"object"},Ep={$id:"urn:jsonschema:data",$schema:"https://json-schema.org/draft/2020-12/schema",items:{$ref:"urn:jsonschema:page"},type:"array"},Cp={$id:"urn:jsonschema:feed",$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,definitions:{author:{additionalProperties:!1,minProperties:1,patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},properties:{avatar:{description:"The URL for an image for the author. It should be square and relatively large — such as 512 x 512 pixels — and should use transparency where appropriate, since it may be rendered on a non-white background.",format:"uri",type:"string"},name:{description:"The author’s name.",type:"string"},url:{description:"The URL of a site owned by the author. It could be a blog, micro-blog, Twitter account, and so on. Ideally the linked-to page provides a way to contact the author, but that’s not required. The URL could be a mailto: link.",format:"uri",type:"string"}},title:"Author",type:"object"},extension:{additionalProperties:!1,patternProperties:{"^[^.]*$":{}},title:"Extension",type:"object"}},description:"JSON Feed Version 1.1",dynamicDefaults:{id:"uuid"},patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},properties:{author:{allOf:[{$ref:"#/definitions/author"}],description:"The feed author."},authors:{description:"One or more feed authors.",items:{$ref:"#/definitions/author"},type:"array"},description:{description:"Provides more detail, beyond the title, on what the feed is about. A feed reader may display this text.",type:"string"},expired:{description:"Whether or not the feed is finished — that is, whether or not it will ever update again. A feed for a temporary event, such as an instance of the Olympics, could expire. If the value is true, then it’s expired. Any other value, or the absence of expired, means the feed may continue to update.",type:"boolean"},favicon:{description:"The URL of an image for the feed suitable to be used in a source list. It should be square and relatively small, but not smaller than 64 x 64 pixels (so that it can look good on retina displays). This image should use transparency where appropriate, since it may be rendered on a non-white background.",format:"uri",type:"string"},feed_url:{description:"The URL of the feed, serves as the unique identifier for the feed. This should be considered required for feeds on the public web.",format:"uri",type:"string"},home_page_url:{description:"The URL of the resource that the feed describes. This resource may or may not actually be a “home” page, but it should be an HTML page. If a feed is published on the public web, this should be considered as required.",format:"uri",type:"string"},hubs:{description:"Describes endpoints that can be used to subscribe to real-time notifications from the publisher of this feed.",items:{additionalProperties:!1,patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},properties:{type:{description:"Describes the protocol used to talk with the hub, such as “rssCloud” or “WebSub.”",type:"string"},url:{format:"uri",type:"string"}},required:["type","url"],type:"object"},type:"array"},icon:{description:"The URL of an image for the feed suitable to be used in a timeline, much the way an avatar might be used. It should be square and relatively large — such as 512 x 512 pixels — so that it can be scaled-down and so that it can look good on retina displays. It should use transparency where appropriate, since it may be rendered on a non-white background.",format:"uri",type:"string"},items:{items:{additionalProperties:!1,anyOf:[{required:["content_html"]},{required:["content_text"]}],patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},properties:{attachments:{description:"Lists related resources. Podcasts, for instance, would include an attachment that’s an audio or video file.",items:{additionalProperties:!1,patternProperties:{"^_[a-zA-Z][^.]*$":{$ref:"#/definitions/extension"}},properties:{duration_in_seconds:{description:"How long it takes to listen to or watch, when played at normal speed.",type:"number"},mime_type:{description:"The type of the attachment, such as “audio/mpeg.”",type:"string"},size_in_bytes:{description:"How large the file is.",type:"number"},title:{description:"A name for the attachment. Important: if there are multiple attachments, and two or more have the exact same title (when title is present), then they are considered as alternate representations of the same thing. In this way a podcaster, for instance, might provide an audio recording in different formats.",type:"string"},url:{description:"The location of the attachment.",format:"uri",type:"string"}},required:["url","mime_type"],type:"object"},type:"array"},author:{allOf:[{$ref:"#/definitions/author"}],description:"The author of the item."},authors:{description:"The authors of the item.",items:{$ref:"#/definitions/author"},type:"array"},banner_image:{description:"The URL of an image to use as a banner. Some blogging systems (such as Medium) display a different banner image chosen to go with each post, but that image wouldn’t otherwise appear in the content_html. A feed reader with a detail view may choose to show this banner image at the top of the detail view, possibly with the title overlaid.",format:"uri",type:"string"},content_html:{description:"The HTML of the item.",type:"string"},content_text:{description:"The plain text of the item.",type:"string"},date_modified:{description:"The modification date in RFC 3339 format.",format:"date-time",type:"string"},date_published:{description:"The date in RFC 3339 format.",format:"date-time",type:"string"},external_url:{description:"The URL of a page elsewhere. This is especially useful for linkblogs. If url links to where you’re talking about a thing, then external_url links to the thing you’re talking about.",format:"uri",type:"string"},id:{description:"Unique for that item for that feed over time. If an item is ever updated, the id should be unchanged. New items should never use a previously-used id. Ideally, the id is the full URL of the resource described by the item, since URLs make great unique identifiers.",type:"string"},image:{description:"The URL of the main image for the item. This image may also appear in the content_html — if so, it’s a hint to the feed reader that this is the main, featured image. Feed readers may use the image as a preview (probably resized as a thumbnail and placed in a timeline).",format:"uri",type:"string"},language:{description:"The language for this item, using the format specified in RFC 5646. The value can be different than the primary language for the feed when a specific item is written in a different language than other items in the feed.",type:"string"},summary:{description:"A plain text sentence or two describing the item. This might be presented in a timeline, for instance, where a detail view would display all of content_html or content_text.",type:"string"},tags:{description:"Can have any plain text values you want. Tags tend to be just one word, but they may be anything. Note: they are not the equivalent of Twitter hashtags. Some blogging systems and other feed formats call these categories.",items:{type:"string"},type:"array"},title:{description:"Plain text. Microblog items in particular may omit titles.",type:"string"},url:{description:"The URL of the resource described by the item. It’s the permalink. This may be the same as the id.",format:"uri",type:"string"}},required:["id"],type:"object"},type:"array"},language:{description:"The primary language for the feed in the format specified in RFC 5646. The value is usually a 2-letter language tag from ISO 639-1, optionally followed by a region tag.",type:"string"},next_url:{description:"The URL of a feed that provides the next n items, where n is determined by the publisher. This allows for pagination, but with the expectation that reader software is not required to use it and probably won’t use it very often.",format:"uri",type:"string"},title:{description:"The name of the feed, which will often correspond to the name of the website (blog, for instance), though not necessarily.",type:"string"},user_comment:{description:"A description of the purpose of the feed. This is for the use of people looking at the raw JSON, and should be ignored by feed readers.",type:"string"},version:{description:"The URL of the version of the format the feed uses. This should appear at the very top.",enum:["https://jsonfeed.org/version/1","https://jsonfeed.org/version/1.1"],format:"uri",type:"string"}},required:["version","title","items"],title:"JSON Feed",type:"object"},jp={$id:"urn:jsonschema:importmap",$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,properties:{imports:{additionalProperties:{type:"string"},default:{},description:"The Imports field",type:"object"},scopes:{additionalProperties:{additionalProperties:{type:"string"},type:"object"},description:"The Scopes field",type:"object"}},title:"JSON schema for Import Maps files",type:"object"},Pp={$id:"urn:jsonschema:page",$schema:"https://json-schema.org/draft/2020-12/schema",additionalProperties:!1,dynamicDefaults:{id:"uuid"},properties:{changefreq:{default:null,enum:["always","hourly","daily","weekly","monthly","yearly","never",null],nullable:!0,type:"string"},children:{default:[],items:{type:"object"},type:"array"},class:{default:["prose","max-w-none"],description:"Классы",items:{type:"string"},type:"array"},description:{default:null,nullable:!0,type:"string"},enabled:{default:!0,type:"boolean"},flat:{default:!0,type:"boolean"},header:{type:"string"},icon:{type:"string"},id:{type:"string"},images:{default:[],items:{properties:{alt:{type:"string"},url:{default:"",type:"string"}},type:"object"},type:"array"},keywords:{default:[],items:{type:"string"},type:"array"},lastmod:{default:null,nullable:!0,type:"string"},loc:{default:null,nullable:!0,type:"string"},name:{default:null,nullable:!0,type:"string"},priority:{default:null,maximum:1,minimum:0,nullable:!0,type:"number"},type:{default:null,enum:["article","book","profile","website","music.song","music.album","music.playlist","music.radio_station","video.movie","video.episode","video.tv_show","video.other",null],nullable:!0,type:"string"}},type:"object"};zc.DEFAULTS.uuid=()=>()=>qo();const Op={get(){return this.children.filter(({enabled:e})=>e)}},Rp={get(){return this.$siblings.findIndex(({id:e})=>this.id===e)}},Tp={get(){return this.$siblings[this.$index+1]}},Ap={get(){return this.$siblings[this.$index-1]}},Np={get(){return this.siblings.filter(({enabled:e})=>e)}},kn=new kp({code:{esm:!0},coerceTypes:!0,keywords:[zc()],removeAdditional:!0,schemas:[Sp,Ep,Pp,jp,Cp],useDefaults:!0}),Ip=e=>{window.console.error(e)},Mp=async e=>(await fetch(e)).text(),Js=Xe({}),Fp=e=>Object.fromEntries(e.map(t=>[t.toLowerCase().replaceAll(" ","_"),t])),zp={get(){return this.icon&&`i-${this.icon}`}},Xs=Xe({}),tn=Xe([]),Lp={get(){const e=this.branch.slice(1);return e.some(({name:t})=>!t)?void 0:e.map(({name:t})=>t).join("/").replaceAll(" ","_")}},qp={get(){return["",void 0].includes(this.header)?this.name:this.header}},Dp={get(){return this.path?.replace(/^\/?/,"/").replace(/\/?$/,"/")}};kn.getSchema("urn:jsonschema:credentials");const Vp=kn.getSchema("urn:jsonschema:data"),Up=kn.getSchema("urn:jsonschema:feed"),Hp=kn.getSchema("urn:jsonschema:importmap"),{leaves:rn,objLeaves:yo}=pd(tn);Fe(Js,async e=>{await Up?.(e)||(Js.items=[])});Fe(Xs,async e=>{await Hp?.(e)||(Xs.imports={})});Fe(rn,async e=>{await Vp?.(e)?e.forEach(t=>{Object.defineProperties(t,{$children:Op,$index:Rp,$next:Tp,$prev:Ap,$siblings:Np,i:zp,path:Lp,title:qp,to:Dp})}):(tn.length=0,tn.push({}))});const Lc=/^(?!.*\[[^:]+:.+\]$)((?:.+:)?!?)(.*)$/;function Wp(e={}){const t=e.prefix??"un-",r=e.prefixedOnly??!1,n=e.trueToNonValued??!1;let o;return{name:"attributify",match(i,{generator:s}){const a=nf(i);if(!a)return;let c=a[1];if(c.startsWith(t))c=c.slice(t.length);else if(r)return;const u=a[2],[,l="",d=u]=u.match(Lc)||[];if(d==="~"||n&&d==="true"||!d)return`${l}${c}`;if(o==null){const y=s?.config?.separators?.join("|");y?o=new RegExp(`^(.*\\](?:${y}))(\\[[^\\]]+?\\])$`):o=!1}if(o){const[,y,m]=u.match(o)||[];if(m)return`${y}${l}${c}-${m}`}if(l&&d.match(/^[\d.]+$/)){const y=l.split(/([^:]*:)/g).filter(Boolean),m=y.pop()+d,v=y.join("");return[{matcher:`${l}${c}-${d}`},{matcher:`${v}${c}-${m}`}]}return`${l}${c}-${d}`}}}const Bp=/(<\w[\w:.$-]*\s)((?:'[^>']*'|"[^>"]*"|`[^>`]*`|\{[^>}]*\}|[^>]*?)*)/g,Kp=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF-:%]+)(?:=("[^"]*|'[^']*))?/g,Ys=/[\s'"`;>]+/;function Gp(e){return{name:"attributify",extract:({content:t,cursor:r})=>{const n=t.matchAll(Bp);let o,i=0;for(const f of n){const[,g,$]=f,w=f.index+g.length;if(r>w&&r<=w+$.length){i=w,o=$;break}}if(!o)return null;const s=o.matchAll(Kp);let a=0,c,u;for(const f of s){const[g,$,w]=f,k=i+f.index;if(r>k&&r<=k+g.length){a=k,c=$,u=w?.slice(1);break}}if(!c||c==="class"||c==="className"||c===":class")return null;const l=!!e?.prefix&&c.startsWith(e.prefix);if(e?.prefixedOnly&&!l)return null;const d=l?c.slice(e.prefix.length):c;if(u===void 0)return{extracted:d,resolveReplacement(f){const g=l?e.prefix.length:0;return{start:a+g,end:a+c.length,replacement:f}}};const y=a+c.length+2;let m=Ys.exec(u),v=0,h;for(;m;){const[f]=m;if(r>y+v&&r<=y+v+m.index){h=u.slice(v,v+m.index);break}v+=m.index+f.length,m=Ys.exec(u.slice(v))}h===void 0&&(h=u.slice(v));const[,p="",b]=h.match(Lc)||[];return{extracted:`${p}${d}-${b}`,transformSuggestions(f){return f.filter(g=>g.startsWith(`${p}${d}-`)).map(g=>p+g.slice(p.length+d.length+1))},resolveReplacement(f){return{start:v+y,end:v+y+h.length,replacement:p+f.slice(p.length+d.length+1)}}}}}}const Jp=["v-bind:",":"],Qs=/[\s'"`;]+/g,Jn=/<[^>\s]*\s((?:'[^']*'|"[^"]*"|`[^`]*`|\{[^}]*\}|=>|[^>]*?)*)/g,Xp=/(\?|(?!\d|-{2}|-\d)[\w\u00A0-\uFFFF:!%.~<-]+)=?(?:"([^"]*)"|'([^']*)'|\{([^}]*)\})?/g,qc=["placeholder","fill","opacity","stroke-opacity"];function Yp(e){const t=e?.ignoreAttributes??qc,r=e?.nonValuedAttribute??!0,n=e?.trueToNonValued??!1;return{name:"@unocss/preset-attributify/extractor",extract({code:o}){return Array.from(o.matchAll(Jn)).flatMap(i=>Array.from((i[1]||"").matchAll(Xp))).flatMap(([,i,...s])=>{const a=s.filter(Boolean).join("");if(t.includes(i))return[];for(const c of Jp)if(i.startsWith(c)){i=i.slice(c.length);break}if(!a){if(go(i)&&r!==!1){const c=[`[${i}=""]`];return n&&c.push(`[${i}="true"]`),c}return[]}return["class","className"].includes(i)?a.split(Qs).filter(go):Jn.test(a)?(Jn.lastIndex=0,this.extract({code:a})):e?.prefixedOnly&&e.prefix&&!i.startsWith(e.prefix)?[]:a.split(Qs).filter(c=>!!c&&c!==":").map(c=>`[${i}~="${c}"]`)})}}}const Qp=(e={})=>{e.strict=e.strict??!1,e.prefix=e.prefix??"un-",e.prefixedOnly=e.prefixedOnly??!1,e.nonValuedAttribute=e.nonValuedAttribute??!0,e.ignoreAttributes=e.ignoreAttributes??qc;const t=[Wp(e)],r=[Yp(e)],n=[Gp(e)];return{name:"@unocss/preset-attributify",enforce:"post",variants:t,extractors:r,options:e,autocomplete:{extractors:n},extractorDefault:e.strict?!1:void 0}},Zp=Object.freeze({left:0,top:0,width:16,height:16}),nn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Dc=Object.freeze({...Zp,...nn}),eh=Object.freeze({...Dc,body:"",hidden:!1}),th=Object.freeze({width:null,height:null}),Vc=Object.freeze({...th,...nn});function rh(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function Zs(e,t){const r=rh(e,t);for(const n in eh)n in nn?n in e&&!(n in r)&&(r[n]=nn[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function nh(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(i),o}function ea(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=Zs(n[a]||o[a],i)}return s(t),r.forEach(s),Zs(e,i)}function oh(e,t){if(e.icons[t])return ea(e,t,[]);const r=nh(e,[t])[t];return r?ea(e,t,r):null}const ih=/(-?[0-9.]*[0-9]+[0-9.]*)/g,sh=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function on(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(ih);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=sh.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function ah(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function ch(e,t){return e?"<defs>"+e+"</defs>"+t:t}function lh(e,t,r){const n=ah(e);return ch(n.defs,t+n.content+r)}const Ho=e=>e==="unset"||e==="undefined"||e==="none";function uh(e,t){const r={...Dc,...e},n={...Vc,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],b=h.hFlip,f=h.vFlip;let g=h.rotate;b?f?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):f&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let $;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:$=o.height/2+o.top,p.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,p.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}g%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),p.length&&(i=lh(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,d;s===null?(d=a===null?"1em":a==="auto"?u:a,l=on(d,c/u)):(l=s==="auto"?c:s,d=a===null?on(l,u/c):a==="auto"?u:a);const y={},m=(h,p)=>{Ho(p)||(y[h]=p.toString())};m("width",l),m("height",d);const v=[o.left,o.top,c,u];return y.viewBox=v.join(" "),{attributes:y,viewBox:v,body:i}}function fh(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function ta(e){let t=e.startsWith("<svg>")?e.replace("<svg>","<svg >"):e;return!t.includes(" xmlns:xlink=")&&t.includes(" xlink:")&&(t=t.replace("<svg ",'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ')),t.includes(" xmlns=")||(t=t.replace("<svg ",'<svg xmlns="http://www.w3.org/2000/svg" ')),fh(t)}function dh(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,"$1 $2").replace(/(["';{}><])\s*\n\s*/g,"$1").replace(/\s*\n\s*/g," ").replace(/\s+"/g,'"').replace(/="\s+/g,'="').replace(/(\s)+\/>/g,"/>").trim()}const ph=/\swidth\s*=\s*["']([\w.]+)["']/,hh=/\sheight\s*=\s*["']([\w.]+)["']/,Xn=/<svg\s+/;function mh(e,t,r){const n=e.slice(0,e.indexOf(">")),o=(i,s)=>{const a=s.exec(n),c=a!=null,u=t[i];return!u&&!Ho(u)&&(typeof r=="number"?r>0&&(t[i]=on(a?.[1]??"1em",r)):a&&(t[i]=a[1])),c};return[o("width",ph),o("height",hh)]}async function Uc(e,t,r,n,o,i){const{scale:s,addXmlNs:a=!1}=n??{},{additionalProps:c={},iconCustomizer:u}=n?.customizations??{},l=await o?.()??{};await u?.(t,r,l),Object.keys(c).forEach(h=>{const p=c[h];p!=null&&(l[h]=p)}),i?.(l);const[d,y]=mh(e,l,s);a&&(!e.includes("xmlns=")&&!l.xmlns&&(l.xmlns="http://www.w3.org/2000/svg"),!e.includes("xmlns:xlink=")&&e.includes("xlink:")&&!l["xmlns:xlink"]&&(l["xmlns:xlink"]="http://www.w3.org/1999/xlink"));const m=Object.keys(l).map(h=>h==="width"&&d||h==="height"&&y?null:`${h}="${l[h]}"`).filter(h=>h!=null);if(m.length&&(e=e.replace(Xn,`<svg ${m.join(" ")} `)),n){const{defaultStyle:h,defaultClass:p}=n;p&&!e.includes("class=")&&(e=e.replace(Xn,`<svg class="${p}" `)),h&&!e.includes("style=")&&(e=e.replace(Xn,`<svg style="${h}" `))}const v=n?.usedProps;return v&&(Object.keys(c).forEach(h=>{const p=l[h];p!=null&&(v[h]=p)}),typeof l.width<"u"&&l.width!==null&&(v.width=l.width),typeof l.height<"u"&&l.height!==null&&(v.height=l.height)),e}var Fr={exports:{}},Yn,ra;function gh(){if(ra)return Yn;ra=1;var e=1e3,t=e*60,r=t*60,n=r*24,o=n*7,i=n*365.25;Yn=function(l,d){d=d||{};var y=typeof l;if(y==="string"&&l.length>0)return s(l);if(y==="number"&&isFinite(l))return d.long?c(l):a(l);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(l))};function s(l){if(l=String(l),!(l.length>100)){var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(d){var y=parseFloat(d[1]),m=(d[2]||"ms").toLowerCase();switch(m){case"years":case"year":case"yrs":case"yr":case"y":return y*i;case"weeks":case"week":case"w":return y*o;case"days":case"day":case"d":return y*n;case"hours":case"hour":case"hrs":case"hr":case"h":return y*r;case"minutes":case"minute":case"mins":case"min":case"m":return y*t;case"seconds":case"second":case"secs":case"sec":case"s":return y*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return y;default:return}}}}function a(l){var d=Math.abs(l);return d>=n?Math.round(l/n)+"d":d>=r?Math.round(l/r)+"h":d>=t?Math.round(l/t)+"m":d>=e?Math.round(l/e)+"s":l+"ms"}function c(l){var d=Math.abs(l);return d>=n?u(l,d,n,"day"):d>=r?u(l,d,r,"hour"):d>=t?u(l,d,t,"minute"):d>=e?u(l,d,e,"second"):l+" ms"}function u(l,d,y,m){var v=d>=y*1.5;return Math.round(l/y)+" "+m+(v?"s":"")}return Yn}var Qn,na;function yh(){if(na)return Qn;na=1;function e(t){n.debug=n,n.default=n,n.coerce=u,n.disable=a,n.enable=i,n.enabled=c,n.humanize=gh(),n.destroy=l,Object.keys(t).forEach(d=>{n[d]=t[d]}),n.names=[],n.skips=[],n.formatters={};function r(d){let y=0;for(let m=0;m<d.length;m++)y=(y<<5)-y+d.charCodeAt(m),y|=0;return n.colors[Math.abs(y)%n.colors.length]}n.selectColor=r;function n(d){let y,m=null,v,h;function p(...b){if(!p.enabled)return;const f=p,g=Number(new Date),$=g-(y||g);f.diff=$,f.prev=y,f.curr=g,y=g,b[0]=n.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let w=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(_,E)=>{if(_==="%%")return"%";w++;const P=n.formatters[E];if(typeof P=="function"){const M=b[w];_=P.call(f,M),b.splice(w,1),w--}return _}),n.formatArgs.call(f,b),(f.log||n.log).apply(f,b)}return p.namespace=d,p.useColors=n.useColors(),p.color=n.selectColor(d),p.extend=o,p.destroy=n.destroy,Object.defineProperty(p,"enabled",{enumerable:!0,configurable:!1,get:()=>m!==null?m:(v!==n.namespaces&&(v=n.namespaces,h=n.enabled(d)),h),set:b=>{m=b}}),typeof n.init=="function"&&n.init(p),p}function o(d,y){const m=n(this.namespace+(typeof y>"u"?":":y)+d);return m.log=this.log,m}function i(d){n.save(d),n.namespaces=d,n.names=[],n.skips=[];const y=(typeof d=="string"?d:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const m of y)m[0]==="-"?n.skips.push(m.slice(1)):n.names.push(m)}function s(d,y){let m=0,v=0,h=-1,p=0;for(;m<d.length;)if(v<y.length&&(y[v]===d[m]||y[v]==="*"))y[v]==="*"?(h=v,p=m,v++):(m++,v++);else if(h!==-1)v=h+1,p++,m=p;else return!1;for(;v<y.length&&y[v]==="*";)v++;return v===y.length}function a(){const d=[...n.names,...n.skips.map(y=>"-"+y)].join(",");return n.enable(""),d}function c(d){for(const y of n.skips)if(s(d,y))return!1;for(const y of n.names)if(s(d,y))return!0;return!1}function u(d){return d instanceof Error?d.stack||d.message:d}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}return Qn=e,Qn}var oa;function bh(){return oa||(oa=1,function(e,t){var r={};t.formatArgs=o,t.save=i,t.load=s,t.useColors=n,t.storage=a(),t.destroy=(()=>{let u=!1;return()=>{u||(u=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let u;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(u=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(u[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function o(u){if(u[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+u[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const l="color: "+this.color;u.splice(1,0,l,"color: inherit");let d=0,y=0;u[0].replace(/%[a-zA-Z%]/g,m=>{m!=="%%"&&(d++,m==="%c"&&(y=d))}),u.splice(y,0,l)}t.log=console.debug||console.log||(()=>{});function i(u){try{u?t.storage.setItem("debug",u):t.storage.removeItem("debug")}catch{}}function s(){let u;try{u=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch{}return!u&&typeof process<"u"&&"env"in process&&(u=r.DEBUG),u}function a(){try{return localStorage}catch{}}e.exports=yh()(t);const{formatters:c}=e.exports;c.j=function(u){try{return JSON.stringify(u)}catch(l){return"[UnexpectedJSONParseError]: "+l.message}}}(Fr,Fr.exports)),Fr.exports}var vh=bh();const Hc=hn(vh),$h=Hc("@iconify-loader:custom");async function ia(e,t,r,n){let o;$h(`${t}:${r}`);try{if(typeof e=="function")o=await e(r);else{const i=e[r];o=typeof i=="function"?await i():i}}catch(i){console.warn(`Failed to load custom icon "${r}" in "${t}":`,i);return}if(o){const i=o.indexOf("<svg");i>0&&(o=o.slice(i));const{transform:s}=n?.customizations??{};return o=typeof s=="function"?await s(o,t,r):o,o.startsWith("<svg")?await Uc(n?.customizations?.trimCustomSvg===!0?dh(o):o,t,r,n,void 0):(console.warn(`Custom icon "${r}" in "${t}" is not a valid SVG`),o)}}const wh=Hc("@iconify-loader:icon");async function Wc(e,t,r,n){let o;const{customize:i}=n?.customizations??{};for(const s of r)if(o=oh(e,s),o){wh(`${t}:${s}`);let a={...Vc};typeof i=="function"&&(o=Object.assign({},o),a=i(a,o,`${t}:${s}`)??a);const{attributes:{width:c,height:u,...l},body:d}=uh(o,a),y=n?.scale;return await Uc(`<svg >${d}</svg>`,t,s,n,()=>({...l}),m=>{const v=(h,p)=>{const b=m[h];let f;if(!Ho(b)){if(b)return;typeof y=="number"?y&&(f=on(p??"1em",y)):f=p}f?m[h]=f:delete m[h]};v("width",c),v("height",u)})}}const Bc=async(e,t,r)=>{const n=r?.customCollections?.[e];if(n)if(typeof n=="function"){let o;try{o=await n(t)}catch(i){console.warn(`Failed to load custom icon "${t}" in "${e}":`,i);return}if(o){if(typeof o=="string")return await ia(()=>o,e,t,r);if("icons"in o){const i=[t,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t.replace(/([a-z])(\d+)/g,"$1-$2")];return await Wc(o,e,i,r)}}}else return await ia(n,e,t,r)},kh=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,_h=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,xh=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Sh(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Eh(e);return}return t}function Eh(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ch(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!xh.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(kh.test(e)||_h.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Sh)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}const jh=/#/g,Ph=/&/g,Oh=/\//g,Rh=/=/g,Wo=/\+/g,Th=/%5e/gi,Ah=/%60/gi,Nh=/%7c/gi,Ih=/%20/gi;function Mh(e){return encodeURI(""+e).replace(Nh,"|")}function bo(e){return Mh(typeof e=="string"?e:JSON.stringify(e)).replace(Wo,"%2B").replace(Ih,"+").replace(jh,"%23").replace(Ph,"%26").replace(Ah,"`").replace(Th,"^").replace(Oh,"%2F")}function Zn(e){return bo(e).replace(Rh,"%3D")}function Kc(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Fh(e){return Kc(e.replace(Wo," "))}function zh(e){return Kc(e.replace(Wo," "))}function Lh(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const r of e.split("&")){const n=r.match(/([^=]+)=?(.*)/)||[];if(n.length<2)continue;const o=Fh(n[1]);if(o==="__proto__"||o==="constructor")continue;const i=zh(n[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function qh(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(r=>`${Zn(e)}=${bo(r)}`).join("&"):`${Zn(e)}=${bo(t)}`:Zn(e)}function Dh(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>qh(t,e[t])).filter(Boolean).join("&")}const Vh=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Uh=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Hh=/^([/\\]\s*){2,}[^/\\]/,Wh=/^\.?\//;function Gc(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Vh.test(e):Uh.test(e)||(t.acceptRelative?Hh.test(e):!1)}function Bh(e="",t){return e.endsWith("/")}function Kh(e="",t){return(Bh(e)?e.slice(0,-1):e)||"/"}function Gh(e="",t){return e.endsWith("/")?e:e+"/"}function Jh(e,t){if(Yh(t)||Gc(e))return e;const r=Kh(t);return e.startsWith(r)?e:Zh(r,e)}function Xh(e,t){const r=em(e),n={...Lh(r.search),...t};return r.search=Dh(n),tm(r)}function Yh(e){return!e||e==="/"}function Qh(e){return e&&e!=="/"}function Zh(e,...t){let r=e||"";for(const n of t.filter(o=>Qh(o)))if(r){const o=n.replace(Wh,"");r=Gh(r)+o}else r=n;return r}const Jc=Symbol.for("ufo:protocolRelative");function em(e="",t){const r=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){const[,d,y=""]=r;return{protocol:d.toLowerCase(),pathname:y,href:d+y,auth:"",host:"",search:"",hash:""}}if(!Gc(e,{acceptRelative:!0}))return sa(e);const[,n="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];n==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:c,search:u,hash:l}=sa(a);return{protocol:n.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:c,search:u,hash:l,[Jc]:!n}}function sa(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function tm(e){const t=e.pathname||"",r=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",n=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Jc]?(e.protocol||"")+"//":"")+o+i+t+r+n}class Xc extends Error{constructor(t,r){super(t,r),this.name="FetchError",r?.cause&&!this.cause&&(this.cause=r.cause)}}function Yc(e){const t=e.error?.message||e.error?.toString()||"",r=e.request?.method||e.options?.method||"GET",n=e.request?.url||String(e.request)||"/",o=`[${r}] ${JSON.stringify(n)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new Xc(s,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,u]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[u]}});return a}const rm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function aa(e="GET"){return rm.has(e.toUpperCase())}function nm(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const om=new Set(["image/svg","application/xml","application/xhtml","application/html"]),im=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function sm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return im.test(t)?"json":om.has(t)||t.startsWith("text/")?"text":"blob"}function am(e,t,r,n){const o=cm(t?.headers??e?.headers,r?.headers,n);let i;return(r?.query||r?.params||t?.params||t?.query)&&(i={...r?.params,...r?.query,...t?.params,...t?.query}),{...r,...t,query:i,params:i,headers:o}}function cm(e,t,r){if(!t)return new r(e);const n=new r(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new r(e))n.set(o,i);return n}async function zr(e,t){if(t)if(Array.isArray(t))for(const r of t)await r(e);else await t(e)}const lm=new Set([408,409,425,429,500,502,503,504]),um=new Set([101,204,205,304]);function Bo(e={}){const{fetch:t=globalThis.fetch,Headers:r=globalThis.Headers,AbortController:n=globalThis.AbortController}=e;async function o(a){const c=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!c){let l;typeof a.options.retry=="number"?l=a.options.retry:l=aa(a.options.method)?0:1;const d=a.response&&a.response.status||500;if(l>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(d):lm.has(d))){const y=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return y>0&&await new Promise(m=>setTimeout(m,y)),i(a.request,{...a.options,retry:l-1})}}const u=Yc(a);throw Error.captureStackTrace&&Error.captureStackTrace(u,i),u}const i=async function(c,u={}){const l={request:c,options:am(c,u,e.defaults,r),response:void 0,error:void 0};l.options.method&&(l.options.method=l.options.method.toUpperCase()),l.options.onRequest&&await zr(l,l.options.onRequest),typeof l.request=="string"&&(l.options.baseURL&&(l.request=Jh(l.request,l.options.baseURL)),l.options.query&&(l.request=Xh(l.request,l.options.query),delete l.options.query),"query"in l.options&&delete l.options.query,"params"in l.options&&delete l.options.params),l.options.body&&aa(l.options.method)&&(nm(l.options.body)?(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new r(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")):("pipeTo"in l.options.body&&typeof l.options.body.pipeTo=="function"||typeof l.options.body.pipe=="function")&&("duplex"in l.options||(l.options.duplex="half")));let d;if(!l.options.signal&&l.options.timeout){const m=new n;d=setTimeout(()=>{const v=new Error("[TimeoutError]: The operation was aborted due to timeout");v.name="TimeoutError",v.code=23,m.abort(v)},l.options.timeout),l.options.signal=m.signal}try{l.response=await t(l.request,l.options)}catch(m){return l.error=m,l.options.onRequestError&&await zr(l,l.options.onRequestError),await o(l)}finally{d&&clearTimeout(d)}if((l.response.body||l.response._bodyInit)&&!um.has(l.response.status)&&l.options.method!=="HEAD"){const m=(l.options.parseResponse?"json":l.options.responseType)||sm(l.response.headers.get("content-type")||"");switch(m){case"json":{const v=await l.response.text(),h=l.options.parseResponse||Ch;l.response._data=h(v);break}case"stream":{l.response._data=l.response.body||l.response._bodyInit;break}default:l.response._data=await l.response[m]()}}return l.options.onResponse&&await zr(l,l.options.onResponse),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await zr(l,l.options.onResponseError),await o(l)):l.response},s=async function(c,u){return(await i(c,u))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},c={})=>Bo({...e,...c,defaults:{...e.defaults,...c.defaults,...a}}),s}const sn=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Qc=sn.fetch?(...e)=>sn.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Zc=sn.Headers,el=sn.AbortController,tl=Bo({fetch:Qc,Headers:Zc,AbortController:el}),rl=tl,vo=Object.freeze(Object.defineProperty({__proto__:null,$fetch:rl,AbortController:el,FetchError:Xc,Headers:Zc,createFetch:Bo,createFetchError:Yc,fetch:Qc,ofetch:tl},Symbol.toStringTag,{value:"Module"}));var ca={};const nl=["academicons","akar-icons","ant-design","arcticons","aws","basil","bi","bitcoin-icons","bpmn","brandico","bubbles","bx","bxl","bxs","bytesize","carbon","catppuccin","cbi","charm","ci","cib","cif","cil","circle-flags","circum","clarity","codex","codicon","covid","cryptocurrency-color","cryptocurrency","cuida","dashicons","devicon-line","devicon-original","devicon-plain","devicon","dinkie-icons","duo-icons","ei","el","emblemicons","emojione-monotone","emojione-v1","emojione","entypo-social","entypo","eos-icons","ep","et","eva","f7","fa-brands","fa-regular","fa-solid","fa","fa6-brands","fa6-regular","fa6-solid","fad","famicons","fe","feather","file-icons","flag","flagpack","flat-color-icons","flat-ui","flowbite","fluent-color","fluent-emoji-flat","fluent-emoji-high-contrast","fluent-emoji","fluent-mdl2","fluent","fontelico","fontisto","formkit","foundation","fxemoji","gala","game-icons","garden","geo","gg","gis","gravity-ui","gridicons","grommet-icons","guidance","healthicons","heroicons-outline","heroicons-solid","heroicons","hugeicons","humbleicons","ic","icomoon-free","icon-park-outline","icon-park-solid","icon-park-twotone","icon-park","iconamoon","iconoir","icons8","il","ion","iwwa","ix","jam","la","lets-icons","line-md","lineicons","logos","ls","lsicon","lucide-lab","lucide","mage","majesticons","maki","map","marketeq","material-icon-theme","material-symbols-light","material-symbols","mdi-light","mdi","medical-icon","memory","meteocons","meteor-icons","mi","mingcute","mono-icons","mynaui","nimbus","nonicons","noto-v1","noto","nrk","octicon","oi","ooui","openmoji","oui","pajamas","pepicons-pencil","pepicons-pop","pepicons-print","pepicons","ph","picon","pixel","pixelarticons","prime","proicons","ps","qlementine-icons","quill","radix-icons","raphael","ri","rivet-icons","si-glyph","si","simple-icons","simple-line-icons","skill-icons","solar","stash","streamline-block","streamline-color","streamline-cyber-color","streamline-cyber","streamline-emojis","streamline-flex-color","streamline-flex","streamline-freehand-color","streamline-freehand","streamline-guidance","streamline-kameleon-color","streamline-logos","streamline-pixel","streamline-plump-color","streamline-plump","streamline-sharp-color","streamline-sharp","streamline-stickies-color","streamline-ultimate-color","streamline-ultimate","streamline","subway","svg-spinners","system-uicons","tabler","tdesign","teenyicons","token-branded","token","topcoat","twemoji","typcn","uil","uim","uis","uit","uiw","unjs","vaadin","vs","vscode-icons","websymbol","weui","whh","wi","wpf","zmdi","zondicons"],fm=3;function dm(e){return(t={})=>{const{scale:r=1,mode:n="auto",prefix:o="i-",warn:i=!1,iconifyCollectionsNames:s,collections:a,extraProperties:c={},customizations:u={},autoInstall:l=!1,collectionsNodeResolvePath:d,layer:y="icons",unit:m,processor:v}=t,h=pm(),p={addXmlNs:!0,scale:r,customCollections:a,autoInstall:l,cwd:d,warn:void 0,customizations:{...u,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(f,g,$){await u.iconCustomizer?.(f,g,$),m&&($.width||($.width=`${r}${m}`),$.height||($.height=`${r}${m}`))}}};let b;return{name:"@unocss/preset-icons",enforce:"pre",options:t,layers:{icons:-30},api:{encodeSvgForCss:ta,parseIconWithLoader:la},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async f=>{let[g,$,w=n]=f;b=b||await e(t);const k={},_=await la($,b,{...p,usedProps:k},s);if(!_){i&&!h.isESLint&&kc(`failed to load icon "${g}"`);return}let E;const P=`url("data:image/svg+xml;utf8,${ta(_.svg)}")`;return w==="auto"&&(w=_.svg.includes("currentColor")?"mask":"bg"),w==="mask"?E={"--un-icon":P,"-webkit-mask":"var(--un-icon) no-repeat",mask:"var(--un-icon) no-repeat","-webkit-mask-size":"100% 100%","mask-size":"100% 100%","background-color":"currentColor",color:"inherit",...k}:E={background:`${P} no-repeat`,"background-size":"100% 100%","background-color":"transparent",...k},v?.(E,{..._,icon:_.name,mode:w}),E},{layer:y,prefix:o}]]}}}function ol(e,t,r=new Map){function n(o){if(nl.includes(o))return r.has(o)||r.set(o,e(`${t}@iconify-json/${o}/icons.json`)),r.get(o)}return async(o,i,s)=>{let a=await Bc(o,i,s);if(a)return a;const c=await n(o);if(c){const u=[i,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i.replace(/([a-z])(\d+)/g,"$1-$2")];a=await Wc(c,o,u,s)}return a}}function pm(){const e=typeof process<"u"&&process.stdout,t=e&&!!ca.VSCODE_CWD,r=e&&!!ca.ESLINT;return{isNode:e,isVSCode:t,isESLint:r}}async function la(e,t,r={},n=[]){let o="",i="",s;const a=new Set([...nl,...n,...Object.keys(r.customCollections||{})]);if(e.includes(":")){if([o,i]=e.split(":"),!a.has(o))return;s=await t(o,i,r)}else{const c=e.split(/-/g);for(let u=fm;u>=1&&(o=c.slice(0,u).join("-"),!(!!a.has(o)&&(i=c.slice(u).join("-"),s=await t(o,i,r),s)));u--);}if(s)return{collection:o,name:i,svg:s}}function hm(e){return ol(rl,e)}const mm=dm(async e=>{const t=e?.customFetch,r=e?.cdn;return t&&r?ol(t,r):r?hm(r):Bc}),$o="__TAGIFY__",gm=/<([\w:-]+)/g;function ym(e){const{prefix:t="",excludedTags:r=["b",/^h\d+$/,"table"]}=e;return{name:"tagify",extract({code:n}){return Array.from(n.matchAll(gm)).filter(({1:o})=>{for(const i of r)if(typeof i=="string"){if(o===i)return!1}else if(i.test(o))return!1;return o.startsWith(t)}).map(([,o])=>`${$o}${o}`)}}}function bm(e){const{extraProperties:t}=e,r=`${$o}${e.prefix??""}`;return{name:"tagify",match(n){if(!n.startsWith(r))return;const o=n.slice(r.length),i={matcher:o,selector:s=>s.slice($o.length+1)};return t&&(typeof t=="function"?i.body=s=>[...s,...Object.entries(t(o)??{})]:i.body=s=>[...s,...Object.entries(t)]),i}}}const vm=(e={})=>{const{defaultExtractor:t=!0}=e,r=[bm(e)],n=[ym(e)];return{name:"@unocss/preset-tagify",variants:r,extractors:n,extractorDefault:t?void 0:!1}};var $m=cu();class an{constructor(t){this.bits=t instanceof an?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}}class Vt{constructor(t,r,n){this.start=t,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){const t=new Vt(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,n){return this.content=t,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){const r=t-this.start,n=this.original.slice(0,r),o=this.original.slice(r);this.original=n;const i=new Vt(t,this.end,o);return i.outro=this.outro,this.outro="",this.end=t,this.edited?(i.edit("",!1),this.content=""):this.content=n,i.next=this.next,i.next&&(i.next.previous=i),i.previous=this,this.next=i,i}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;const r=this.content.replace(t,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;const r=this.content.replace(t,"");if(r.length){if(r!==this.content){const n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}}function wm(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const km=wm();class _m{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=$m.encode(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+km(this.toString())}}function xm(e){const t=e.split(`
17
+ `),r=t.filter(i=>/^\t+/.test(i)),n=t.filter(i=>/^ {2,}/.test(i));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";const o=n.reduce((i,s)=>{const a=/^ +/.exec(s)[0].length;return Math.min(a,i)},1/0);return new Array(o+1).join(" ")}function Sm(e,t){const r=e.split(/[/\\]/),n=t.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let o=r.length;for(;o--;)r[o]=".."}return r.concat(n).join("/")}const Em=Object.prototype.toString;function Cm(e){return Em.call(e)==="[object Object]"}function ua(e){const t=e.split(`
18
+ `),r=[];for(let n=0,o=0;n<t.length;n++)r.push(o),o+=t[n].length+1;return function(o){let i=0,s=r.length;for(;i<s;){const u=i+s>>1;o<r[u]?s=u:i=u+1}const a=i-1,c=o-r[a];return{line:a,column:c}}}const jm=/\w/;class Pm{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,n,o){if(r.length){const i=r.length-1;let s=r.indexOf(`
19
19
  `,0),a=-1;for(;s>=0&&i>s;){const u=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&u.push(o),this.rawSegments.push(u),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=s,s=r.indexOf(`
20
20
  `,s+1)}const c=[this.generatedCodeColumn,t,n.line,n.column];o>=0&&c.push(o),this.rawSegments.push(c),this.advance(r.slice(a+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,n,o,i){let s=r.start,a=!0,c=!1;for(;s<r.end;){if(n[s]===`
21
- `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,c=!1;else{if(this.hires||a||i.has(s)){const u=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?Mm.test(n[s])?c||(this.rawSegments.push(u),c=!0):(this.rawSegments.push(u),c=!1):this.rawSegments.push(u)}o.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(t){if(!t)return;const r=t.split(`
21
+ `)o.line+=1,o.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,a=!0,c=!1;else{if(this.hires||a||i.has(s)){const u=[this.generatedCodeColumn,t,o.line,o.column];this.hires==="boundary"?jm.test(n[s])?c||(this.rawSegments.push(u),c=!0):(this.rawSegments.push(u),c=!1):this.rawSegments.push(u)}o.column+=1,this.generatedCodeColumn+=1,a=!1}s+=1}this.pending=null}advance(t){if(!t)return;const r=t.split(`
22
22
  `);if(r.length>1){for(let n=0;n<r.length-1;n++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}}const jt=`
23
- `,ut={insertLeft:!1,insertRight:!1,storeName:!1};class Ko{constructor(t,r={}){const n=new Vt(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new an},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){const t=new Ko(this.original,{filename:this.filename,offset:this.offset});let r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;const o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new an(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const r=0,n=Object.keys(this.storedNames),o=new Fm(t.hires),i=la(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{const a=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):o.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?Am(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new Rm(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=Tm(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){const n=/^[^\r\n]/gm;if(Im(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};const o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(l=>{for(let d=l[0];d<l[1];d+=1)o[d]=!0});let i=r.indentStart!==!1;const s=u=>i?`${t}${u}`:(i=!0,u);this.intro=this.intro.replace(n,s);let a=0,c=this.firstChunk;for(;c;){const u=c.end;if(c.edited)o[a]||(c.content=c.content.replace(n,s),c.content.length&&(i=c.content[c.content.length-1]===`
23
+ `,ut={insertLeft:!1,insertRight:!1,storeName:!1};class Ko{constructor(t,r={}){const n=new Vt(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:n},lastChunk:{writable:!0,value:n},lastSearchedChunk:{writable:!0,value:n},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new an},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=n,this.byEnd[t.length]=n}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.appendRight(r):this.outro+=r,this}clone(){const t=new Ko(this.original,{filename:this.filename,offset:this.offset});let r=this.firstChunk,n=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[n.start]=n,t.byEnd[n.end]=n;const o=r.next,i=o&&o.clone();i&&(n.next=i,i.previous=n,n=i),r=o}return t.lastChunk=n,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new an(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};const r=0,n=Object.keys(this.storedNames),o=new Pm(t.hires),i=ua(this.original);return this.intro&&o.advance(this.intro),this.firstChunk.eachNext(s=>{const a=i(s.start);s.intro.length&&o.advance(s.intro),s.edited?o.addEdit(r,s.content,a,s.storeName?n.indexOf(s.original):-1):o.addUneditedChunk(r,s,this.original,a,this.sourcemapLocations),s.outro.length&&o.advance(s.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?Sm(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:n,mappings:o.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new _m(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=xm(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(t,r){const n=/^[^\r\n]/gm;if(Cm(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||" "),t==="")return this;r=r||{};const o={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(l=>{for(let d=l[0];d<l[1];d+=1)o[d]=!0});let i=r.indentStart!==!1;const s=u=>i?`${t}${u}`:(i=!0,u);this.intro=this.intro.replace(n,s);let a=0,c=this.firstChunk;for(;c;){const u=c.end;if(c.edited)o[a]||(c.content=c.content.replace(n,s),c.content.length&&(i=c.content[c.content.length-1]===`
24
24
  `));else for(a=c.start;a<u;){if(!o[a]){const l=this.original[a];l===`
25
- `?i=!0:l!=="\r"&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(t))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return ut.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ut.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return ut.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ut.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);const o=this.byStart[t],i=this.byEnd[r],s=o.previous,a=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;const u=c?c.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),u&&(u.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=c||null,u||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(ut.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ut.storeName=!0),o={storeName:!0});const i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){const u=this.original.slice(t,r);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}const a=this.byStart[t],c=this.byEnd[r];if(a){let u=a;for(;u!==c;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}a.edit(n,i,!s)}else{const u=new Vt(t,r,"").edit(n,i);c.next=u,u.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(jt);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(jt),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(jt),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(jt),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(jt),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);const s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);const a=i===o?t-o.start:0,c=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,c),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(t,r){const n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk;const n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){const o=la(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} – "${t.original}")`)}const n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{const o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{const o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,s,i.groups)}function o(i,s){let a;const c=[];for(;a=i.exec(s);)c.push(a);return c}if(t.global)o(t,this.original).forEach(s=>{if(s.index!=null){const a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{const i=this.original.match(t);if(i&&i.index!=null){const s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(t,r){const{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){const{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}}function Go(e,t,r){if(e==="")return;const n=e.length;let o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(e[a]){case t:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,a+1),e.slice(a+1),e.slice(0,s)];break}}function _n(e,t,r,n){if(e===""||(le(n)&&(n=[n]),n.length===0))return;const o=e.length;let i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(const a of n){const c=a.length;if(c&&a===e.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[e.slice(0,s),e.slice(s+c)]}}return[e,""]}function Ut(e,t,r,n="(",o=")"){r=r??10;const i=[];let s=0;for(;e!=="";){if(++s>r)return;const a=_n(e,n,o,t);if(!a)return;const[c,u]=a;i.push(c),e=u}if(i.length>0)return i}const Jo=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],zm=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Lm=["hsl","hwb","lch","oklch"],qm=["shorter","longer","increasing","decreasing"],ol=["%alpha","<alpha-value>"],il=new RegExp(ol.map(e=>Dt(e)).join("|"),"g");function ua(e){return e?zm.some(t=>e.includes(t))||Lm.some(t=>e.includes(t))||qm.some(t=>e.includes(t)):!1}function ht(e=""){const t=Dm(e);if(t==null||t===!1)return;const{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Jo.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function wo(e,t){if(typeof e=="string")return e.replace(il,`${t??1}`);const{components:r}=e;let{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Jo.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Dm(e){if(!e)return;let t=Vm(e);if(t!=null||(t=Um(e),t!=null)||(t=Hm(e),t!=null)||(t=Bm(e),t!=null)||(t=Km(e),t!=null))return t}function Vm(e){const[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{const r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{const r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Um(e){const t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Hm(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,r,n]=t,o=Ut(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}const Wm=new RegExp(`^(${Jo.join("|")})\\((.+)\\)$`,"i");function Bm(e){const t=e.match(Wm);if(!t)return;const[,r,n]=t,o=sl(`${r} ${n}`);if(o){const{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Km(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const r=sl(t[1]);if(r){const{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function sl(e){const t=Ut(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){const i=t.splice(r-2);t.push(i.join(" ")),--r}const n=Ut(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};const o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}const Gm=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Jm(e){return e.includes("theme(")&&e.includes(")")}function Xm(e,t,r=!0){const n=Array.from(e.toString().matchAll(Gm));if(!n.length)return e;const o=new Ko(e);for(const i of n){const s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");const a=Ym(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Ym(e,t,r=!0){const[n,o]=e.split("/");let s=n.trim().split(".").reduce((a,c)=>a?.[c],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){const a=ht(s);a&&(s=wo(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function fa(e){const t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){const n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function Qm(e){const t=function(n){const o=this.__options?.sequence||[];this.__options.sequence=[];for(const i of o){const s=e[i](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(const n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}const al="__pseudo_placeholder__",$t=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${al})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),cl=Object.keys($t),wt=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ll=Object.keys(wt),Zm=["not","is","where","has"],ul=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),ko=Object.entries($t).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),_o=Object.entries(wt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),et=Zm.join("|"),da=Object.keys(ul).sort((e,t)=>t.length-e.length).join("|"),e0=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],pa=Object.entries($t).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ha=Object.entries(wt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function t0(e,t,r,n){const{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${Dt(t)}:)(\\S+)${Dt(r)}\\1`);let a,c,u,l;const d=v=>{const h=i(`${e}-`,v,[]);if(!h)return;const[p,b]=h,f=o.bracket(p);if(f==null)return;const g=b.split(a,1)?.[0]??"",$=`${t}${mt(g)}`;return[g,v.slice(v.length-(b.length-g.length-1)),f.includes("&")?f.replace(/&/g,$):`${$}${f}`]},y=v=>{const h=v.match(c)||v.match(u);if(!h)return;const[p,b,f]=h,g=h[3]??"";let $=$t[f]||wt[f]||`:${f}`;return b&&($=`:${b}(${$})`),[g,v.slice(p.length),`${t}${mt(g)}${$}`,f]},m=v=>{const h=v.match(l);if(!h)return;const[p,b,f]=h,g=h[3]??"",$=`:${b}(${f})`;return[g,v.slice(p.length),`${t}${mt(g)}${$}`]};return{name:`pseudo:${e}`,match(v,h){if(a&&c&&u||(a=new RegExp(`(?:${h.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${et})-)?(${ko}))(?:(/[\\w-]+))?(?:${h.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${et})-)?(${_o}))(?:(/[\\w-]+))?(?:${h.generator.config.separators.filter(w=>w!=="-").join("|")})`),l=new RegExp(`^${e}-(?:(${et})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${h.generator.config.separators.filter(w=>w!=="-").join("|")})`)),!v.startsWith(e))return;const p=d(v)||y(v)||m(v);if(!p)return;const[b,f,g,$=""]=p;return{matcher:f,handle:(w,k)=>k({...w,prefix:`${g}${r}${w.prefix}`.replace(s,"$1$2:"),sort:cl.indexOf($)??ll.indexOf($)})}},multiPass:!0}}function r0(e){const{h:t}=e;let r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${pa})(?:-(\\d+|\\[\\w+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${ha})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));const a=i.match(r)||i.match(n);if(a){let c=$t[a[1]]||wt[a[1]]||`:${a[1]}`;if(a[2]){let l;a[2].startsWith("[")&&a[2].endsWith("]")?l=t.bracket(a[2]):l=a[2],l&&(c=c.replace(al,l))}let u=cl.indexOf(a[1]);return u===-1&&(u=ll.indexOf(a[1])),u===-1&&(u=void 0),{matcher:i.slice(a[0].length),handle:(l,d)=>{const y=c.includes("::")&&!e0.includes(c)?{pseudo:`${l.pseudo}${c}`}:{selector:`${l.selector}${c}`};return d({...l,...y,sort:u,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${pa}|${ha}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${da})(?:${s.generator.config.separators.join("|")})`));const a=i.match(o);if(a)return ul[a[1]].map(u=>({matcher:i.slice(a[0].length),handle:(l,d)=>d({...l,pseudo:`${l.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${da}):`}]}function n0(e){const{getBracket:t,h:r}=e;let n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${et})-(${ko})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${et})-(${_o})(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`),i=new RegExp(`^(${et})-(\\[.+\\])(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`));const c=s.match(n)||s.match(o)||s.match(i);if(c){const u=c[1],d=t(c[2],"[","]")?r.bracket(c[2]):$t[c[2]]||wt[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:y=>`${y}:${u}(${d})`}}},multiPass:!0,autocomplete:`(${et})-(${ko}|${_o}):`}}function o0(e,t){const r=!!e?.attributifyPseudo;let n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";const o=(i,s)=>t0(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}const i0=/(part-\[(.+)\]:)(.+)/;function s0(){return{match(e){const t=e.match(i0);if(t){const r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function Fe(e,t,r={}){let n;return{name:e,match(o,i){n||(n=new RegExp(`^${Dt(e)}(?:${i.generator.config.separators.join("|")})`));const s=o.match(n);if(s){const a=o.slice(s[0].length),c=ae(t).map(u=>({matcher:a,handle:(l,d)=>d({...l,...u(l)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function xe(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${Dt(e)}(?:${o.generator.config.separators.join("|")})`));const i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function Bt(e,t,r){if(t.startsWith(`${e}[`)){const[n,o]=Go(t.slice(e.length),"[","]")??[];if(n&&o){for(const i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function Pe(e,t,r){for(const n of ae(e))if(t.startsWith(n)){const o=Bt(n,t,r);if(o){const[i="",s=o[1]]=Pe("/",o[1],r)??[];return[o[0],s,i]}for(const i of r.filter(s=>s!=="/")){const s=t.indexOf(i,n.length);if(s!==-1){const a=t.indexOf("/",n.length),c=a===-1||s<=a;return[t.slice(n.length,c?s:a),t.slice(s+i.length),c?"":t.slice(a+1,s)]}}}}function ma(e){return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":e.fontFamily?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}const a0=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function c0(e){for(const[t,...r]of a0)if(t===e)return r.length>0?r:[t]}function ga(e){let t="";const{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=e,a=i?.noColonNot||i?.noColonWhere;for(const c in o){const u=o[c],l=`:not(:where(.not-${n},.not-${n} *))`,d=c.split(",").map(y=>{const m=y.match(/:[():\-\w]+$/g);if(m){const v=m[0];return y=y.replace(v,""),r.map(h=>a?`${h} ${y}${v}`:`${h} :where(${y})${l}${v}`).join(",")}return null}).filter(y=>y);d.length?t+=d.join(","):t+=r.map(y=>a?c.split(",").map(m=>`${y} ${m}`).join(","):`${y} :where(${c})${l}`).join(","),t+="{";for(const y in u){const m=u[y];t+=`${y}:${m}${s?" !important":""};`}t+="}"}return t}function l0(e,t){const{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend;let s=Array.from(t.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${t.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),ga(i?{escapedSelector:s,selectorName:n,preflights:mn(ma(e.theme),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:ma(e.theme),compatibility:r,important:o===!0})}const u0=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');const t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:c})=>(t.add(Sc(c)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:c})=>{const u=c.colors?.[a];if(u==null)return;const l=typeof u=="object"?u:{},d={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},y={};for(const m in d){const v=d[m],h=l[v]??u;let p=!1;for(const b of ol)if(h.includes(b)){p=!0,y[`--un-prose-${m}-opacity`]=1,y[`--un-prose-${m}`]=h.replace(b,`var(--un-prose-${m}-opacity)`);break}p||(y[`--un-prose-${m}`]=h)}return y},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:a=>{if(a.startsWith(`${r}-`)){const c=new RegExp(`^${r}-(\\w+)[:-].+$`),u=a.match(c)?.[1];if(u){const l=c0(u);if(l?.length)return{matcher:a.slice(r.length+u.length+2),selector:d=>{const y=`:not(:where(.not-${r},.not-${r} *))`;return s?l.map(v=>`${d} ${v}`).join(","):`${d} :is(:where(${l})${y})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(t.size>0)return l0(a,{escapedSelectors:t,...e,selectorName:r})}}]}};function f0(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function d0(e,t,r,n){for(const o of Array.from(e.matchAll(r)))if(o!=null){const i=o[0],s=`${n}${f0(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function p0(e,t){for(const[r,n]of t.entries())e=e.replaceAll(r,n);return e}const h0=/\/\/#\s*sourceMappingURL=.*\n?/g;function m0(e){return e.includes("sourceMappingURL=")?e.replace(h0,""):e}const g0=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,y0=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,b0=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function v0(e){const t=[];for(const o of e.matchAll(y0))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(const o of e.matchAll(g0))t.push(o[0]);const r=new Map,n="@unocss-skip-arbitrary-brackets";return e=d0(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split(vc).forEach(o=>{o.includes(n)&&(o=p0(o,r)),go(o)&&!b0.test(o)&&t.push(o)}),t}function $0(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return v0(m0(e))}}}const w0="@unocss/preset-wind4",xo="$$mini-no-negative",xn={transparent:"transparent",current:"currentColor",inherit:"inherit"},Ee={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},ya={...Ee,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Wr={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},fl={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},k0=["x","y","z"],ba=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],_e=Object.assign({},...ba.map(e=>({[e.replace(/ /,"-")]:e})),...ba.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),fe=["inherit","initial","revert","revert-layer","unset"],Xo=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,dl=/^(var)\s*\((.+)\)(.*)/,Kt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,_0=/^(-?\d*(?:\.\d+)?)$/,pl=/^(px|[sld]?v[wh])$/i,hl={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Yo=/^\[(color|image|length|size|position|quoted|string|number|family):/i,x0=/,(?![^()]*\))/g,S0=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function Ne(e){return+e.toFixed(10)}function E0(e){const t=e.match(Kt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${Ne(o)}${n}`}function C0(e){if(e==="auto"||e==="a")return"auto"}function j0(e){if(!e)return;if(pl.test(e))return`${hl[e]}${e}`;const t=e.match(Kt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Ne(o)}${n}`:`${Ne(o/4)}rem`}function P0(e){if(pl.test(e))return`${hl[e]}${e}`;const t=e.match(Kt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${Ne(o)}${n}`:`${Ne(o)}px`}function ml(e){if(!_0.test(e))return;const t=Number.parseFloat(e);if(!Number.isNaN(t))return Ne(t)}function O0(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=ml(e);if(t!=null)return`${t}%`}function R0(e){if(!e)return;if(e==="full")return"100%";const[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Ne(n*100)}%`}function st(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n;const o=e.match(Yo);if(!o)r=e.slice(1,-1);else{if(!t)n=o[1];else if(o[1]!==t)return;r=e.slice(o[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){const[s,a]=r.slice(2).split(",");r=`var(--${mt(s)}${a?`, ${a}`:""})`}let i=0;for(const s of r)if(s==="[")i+=1;else if(s==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{const a=[];return s.replace(/var\((--.+?)[,)]/g,(c,u)=>(a.push(u),c.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function T0(e){return st(e)}function A0(e){return st(e,"color")}function N0(e){return st(e,"length")||st(e,"size")}function I0(e){return st(e,"position")}function M0(e){return st(e,"family")}function F0(e){return st(e,"number")}function z0(e){if(e.startsWith("var("))return e;const t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){const[r,n]=t[1].split(",");return`var(--${mt(r)}${n?`, ${n}`:""})`}}function L0(e){const t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${Ne(o)}${n}`:`${Ne(o)}ms`}function q0(e){const t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Ne(o)}${n}`:`${Ne(o)}deg`}function D0(e){if(fe.includes(e))return e}function V0(e){if(e.split(",").every(t=>S0.includes(t)))return e}function U0(e){if(["top","left","right","bottom","center"].includes(e))return e}function H0(e){if(e==="none")return"none"}const W0={__proto__:null,auto:C0,bracket:T0,bracketOfColor:A0,bracketOfFamily:M0,bracketOfLength:N0,bracketOfNumber:F0,bracketOfPosition:I0,cssvar:z0,degree:q0,fraction:R0,global:D0,none:H0,number:ml,numberWithUnit:E0,percent:O0,position:U0,properties:V0,px:P0,rem:j0,time:L0},B0=Qm(W0),C=B0;function Ce(e,t){const r=C.number(e)??t;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function ce(e){function t(n){const o=n.match(Kt);if(o){const[,i,s]=o,a=Number.parseFloat(i);if(!Number.isNaN(a))return[a,s]}return[void 0,void 0]}function r(n){let o,i;if(n.spacing?.DEFAULT){const[s,a]=t(n.spacing.DEFAULT);s!=null&&a!=null&&(o=s,i=a)}return Object.entries(n.spacing??{}).reduce((s,[a,c])=>{const[u,l]=t(c);return u!=null&&l!=null&&l===i?s[a]=u/o:s[a]=c,s},{})}return([n,o,i],{theme:s})=>{if(i!=null&&o!=null){const a=r(s);let c;const u=i.startsWith("-");if(u&&(i=i.slice(1)),c=Ce(i,a[i]),c!=null)return Number.isNaN(c)?(Y("spacing",i),Ee[o].map(l=>[`${e}${l}`,u?`calc(var(--spacing-${i} * -1)`:`var(--spacing-${i})`])):(Y("spacing"),Ee[o].map(l=>[`${e}${l}`,`calc(var(--spacing) * ${u?"-":""}${c})`]));if(c=C.bracket.cssvar.global.auto.fraction.rem(u?`-${i}`:i),c!=null)return Ee[o].map(l=>[`${e}${l}`,c])}}}function Sn(e,t){let r;const[n,...o]=Ut(e,["/",":"],3)??[];if(n!=null){const h=(n.match(Yo)??[])[1];(h==null||h==="color")&&(r=[n,...o])}if(!r)return;let i,[s,a,c]=r;ua(a)||ua(C.bracket(a??""))?c=a:i=a;const u=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[l]=u;if(!l)return;let d=va(t,u);if(!d&&u.length>=2){const h=u.at(-1),p=u.at(-2);if(/^\d+$/.test(h)){const b=u.slice(0,-2).concat([`${p}${h}`]);d=va(t,b)}}let{no:y,keys:m,color:v}=d??{};if(!v){const h=C.bracketOfColor(s),p=h||s;if(C.numberWithUnit(p))return;/^#[\da-f]+$/i.test(p)?v=p:/^hex-[\da-fA-F]+$/.test(p)?v=`#${p.slice(4)}`:s.startsWith("$")&&(v=C.cssvar(s)),v=v||h}return{opacity:i,modifier:c&&C.bracket.cssvar(c)||c,name:l,no:y,color:v??xn[l],alpha:C.bracket.cssvar.percent(i??""),keys:m,get cssColor(){return ht(this.color)}}}function va(e,t){let r,n,o;const i=cn(e,"colors",t);if(typeof i=="object"?"DEFAULT"in i&&(r=i.DEFAULT,n="DEFAULT",o=[...t,n]):typeof i=="string"&&(r=i,o=t,n=t.at(-1)),!!r)return{color:r,no:n,keys:o}}function cn(e,t,r){const n=e[t];function o(i,s){if(!(!i||typeof i!="object")){if(s.length===0)return i;for(let a=s.length;a>0;a--){const c=s.slice(0,a).join("-");if(c in i){const u=i[c];return a===s.length?u:o(u,s.slice(a))}}}}return o(n,r)}function gl(e,t,r,n){if(!e)return;const{color:o,keys:i,alpha:s,modifier:a}=e,c=n?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",u={};if(o){const l=[u];if(Object.values(xn).includes(o))u[t]=o;else{const d=`--un-${r}-opacity`,y=i?ue("colors",i):o;let m=a??(i?"in srgb":"in oklab");!m.startsWith("in ")&&!m.startsWith("var(")&&(m=`in ${m}`),u[t]=`color-mix(${m}, ${y} ${s??`var(${d})`}, transparent)${c}`,l.push(U(d,{syntax:"<percentage>",initialValue:"100%"})),i&&(Y("colors",i),a||l.push({[ve.parent]:"@supports (color: color-mix(in lab, red, red))",[ve.noMerge]:!0,[ve.shortcutsNoMerge]:!0,[t]:`color-mix(in oklab, ${y} ${s??`var(${d})`}, transparent)${c}`})),n?.theme&&Cn(o,n.theme)}return l}}function de(e,t){return([,r],n)=>{const o=Sn(r??"",n.theme);if(o)return gl(o,e,t,n)}}function Qo(e,t){const r=[];e=ae(e);for(let n=0;n<e.length;n++){const o=Ut(e[n]," ",6);if(!o||o.length<3)return e;let i=!1;const s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="";const c=o.at(-1);if(ht(o.at(0))){const u=ht(o.shift());u&&(a=`, ${wo(u)}`)}else if(ht(c)){const u=ht(o.pop());u&&(a=`, ${wo(u)}`)}else c&&dl.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function Ht(e,t){return e!=null&&!!Sn(e,t)?.color}const $a=/[a-z]+/gi,eo=new WeakMap;function En({theme:e,generator:t},r="breakpoint"){const n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(eo.has(e))return eo.get(e);const o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace($a,""))-Number.parseInt(s[1].replace($a,""))).map(([i,s])=>({point:i,size:s}));return eo.set(e,o),o}function Z(e,t){return fe.map(r=>[`${e}-${r}`,{[t??e]:r}])}function U(e,t={}){const{syntax:r="*",inherits:n=!1,initialValue:o}=t,i={[ve.shortcutsNoMerge]:!0,[ve.noMerge]:!0,[ve.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return o!=null&&(i["initial-value"]=o),G0(e,o?String(o):"initial"),i}function Gt(e){return e!=null&&Xo.test(e)}function K0(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Xo.test(e)||Kt.test(e)}function So(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function yl(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const yt=new Set([]);function Y(e,t="DEFAULT"){const r=`${e}:${ae(t).join("-")}`;yt.has(r)||yt.add(r)}function ue(e,t){return`var(--${e}-${ae(t).join("-")})`}function Cn(e,t){if(e.startsWith("var(")){const r=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){const[n,...o]=r.split("-"),i=cn(t,n,o);typeof i=="string"&&(Y(n,o),Cn(i,t))}}}const bt=new Map;function G0(e,t){bt.has(e)||bt.set(e,t)}function J0({important:e}){if(e==null||e===!1)return[];const t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.layer!=="properties"&&r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function X0({variablePrefix:e}){return e!=="un-"?[r=>{r.entries.forEach(n=>{n[0]=n[0].replace(/^--un-/,`--${e}`),typeof n[1]=="string"&&(n[1]=n[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function Y0(e){return[J0,X0].flatMap(t=>t(e))}const Q0={name:"aria",match(e,t){const r=Pe("aria-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function ft(e){return{name:`${e}-aria`,match(t,r){const n=Pe(`${e}-aria-`,t,r.generator.config.separators);if(n){const[o,i,s]=n,a=C.bracket(o)??r.theme.aria?.[o]??"";if(a){const c={group:`&:is(:where(.group${s?`\\/${s}`:""})[aria-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[aria-${a}] ~ *)`,previous:`:where(*[aria-${a}] + &)`,parent:`:where(*[aria-${a}] > &)`,has:`&:has(*[aria-${a}])`,in:`:where(*[aria-${a}]) &`};return{matcher:i,handle:(u,l)=>l({...u,parent:`${u.parent?`${u.parent} $$ `:""}${u.selector}`,selector:c[e]})}}}},multiPass:!0}}const Z0=[ft("group"),ft("peer"),ft("parent"),ft("previous"),ft("has"),ft("in")],wa=/(max|min)-\[([^\]]*)\]:/;function eg(){const e={};return{name:"breakpoints",match(t,r){if(wa.test(t)){const o=t.match(wa);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const n=(En(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(const[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));const a=t.match(e[o]);if(!a)continue;const[,c]=a,u=t.slice(c.length);if(u==="container")continue;const l=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~");let y=3e3;return l?(y-=s+1,{matcher:u,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${fa(i)})`,parentOrder:y})}):(y+=s+1,d&&s<n.length-1?{matcher:u,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${fa(n[s+1][1])})`,parentOrder:y})}:{matcher:u,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:y})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const tg=[Fe("*",e=>({selector:`${e.selector} > *`}),{order:-1}),Fe("**",e=>({selector:`${e.selector} *`}),{order:-1})];function Pt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;const o=n.generator.config.separators;let i=Bt(`${e}-`,r,o);if(!i){for(const a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=C.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}const rg=[Pt("all"," "),Pt("children",">"),Pt("next","+"),Pt("sibling","+"),Pt("siblings","~")],ng=[Fe("svg",e=>({selector:`${e.selector} svg`}))],og={name:"@",match(e,t){if(e.startsWith("@container"))return;const r=Pe("@",e,t.generator.config.separators);if(r){const[n,o,i]=r,s=C.bracket(n);let a;if(s?a=C.numberWithUnit(s):a=t.theme.container?.[n]??"",a){let c=1e3+Object.keys(t.theme.container??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(u,l)=>l({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function ig(e={}){if(e?.dark==="class"||typeof e.dark=="object"){const{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[Fe("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),Fe("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[xe("dark","@media (prefers-color-scheme: dark)"),xe("light","@media (prefers-color-scheme: light)")]}const sg=[Fe(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),Fe(".light",e=>({prefix:`.light $$ ${e.prefix}`})),xe("@dark","@media (prefers-color-scheme: dark)"),xe("@light","@media (prefers-color-scheme: light)"),xe("not-dark","@media not (prefers-color-scheme: dark)")],ag={name:"data",match(e,t){const r=Pe("data-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function dt(e){return{name:`${e}-data`,match(t,r){const n=Pe(`${e}-data-`,t,r.generator.config.separators);if(n){const[o,i,s]=n,a=C.bracket(o)??r.theme.data?.[o]??"";if(a){const c={group:`&:is(:where(.group${s?`\\/${s}`:""})[data-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[data-${a}] ~ *)`,previous:`:where(*[data-${a}] + &)`,parent:`:where(*[data-${a}] > &)`,has:`&:has(*[data-${a}])`,in:`:where(*[data-${a}]) &`};return{matcher:i,handle:(u,l)=>l({...u,parent:`${u.parent?`${u.parent} $$ `:""}${u.selector}`,selector:c[e]})}}}},multiPass:!0}}const cg=[dt("group"),dt("peer"),dt("parent"),dt("previous"),dt("has"),dt("in")],lg=[Fe("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),Fe("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function ug(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n;const o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}const fg=xe("noscript","@media (scripting: none)"),dg={name:"scripting",match(e,t){const r=Pe(["script-","scripting-"],e,t.generator.config.separators);if(r){const[n,o]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},pg=xe("print","@media print"),hg={name:"media",match(e,t){const r=Pe("media-",e,t.generator.config.separators);if(r){const[n,o]=r;let i=C.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},mg=[xe("contrast-more","@media (prefers-contrast: more)"),xe("contrast-less","@media (prefers-contrast: less)")],gg=[xe("motion-reduce","@media (prefers-reduced-motion: reduce)"),xe("motion-safe","@media (prefers-reduced-motion: no-preference)")],yg=[xe("landscape","@media (orientation: landscape)"),xe("portrait","@media (orientation: portrait)")],bg=[xe("forced-colors","@media (forced-colors: active)")],vg={name:"selector",match(e,t){const r=Bt("selector-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},$g={name:"layer",match(e,t){const r=Pe("layer-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},wg={name:"uno-layer",match(e,t){const r=Pe("uno-layer-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},kg={name:"scope",match(e,t){const r=Bt("scope-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},_g={name:"variables",match(e,t){if(!e.startsWith("["))return;const[r,n]=Go(e,"[","]")??[];if(!(r&&n))return;let o;for(const a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;const i=C.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){const u=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...u})}}},multiPass:!0},xg={name:"theme-variables",match(e,t){if(Jm(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Xm(JSON.stringify(r.entries),t.theme))})}}}},Sg=[Fe("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],Eg={name:"implicit-group",match(e,t){const r=Pe("in-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${i})) &`})}}}},bl=/^-?[0-9.]+(?:[a-z]+|%)?$/,vl=/-?[0-9.]+(?:[a-z]+|%)?/,Cg=[/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/];function jg(e){const t=e.match(Xo)||e.match(dl);if(t){const[r,n]=_n(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}const Pg=/\b(hue-rotate)\s*(\(.*)/;function Og(e){const t=e.match(Pg);if(t){const[r,n]=_n(t[2],"(",")"," ")??[];if(r){const o=bl.test(r.slice(1,-1))?r.replace(vl,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}const Rg={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===xo))return;let r=!1;return t.forEach(n=>{if(ae(n[2]).includes(xo))return;const o=n[1]?.toString();if(!o||o==="0"||Cg.some(a=>a.test(n[0])))return;const i=jg(o);if(i){n[1]=i,r=!0;return}const s=Og(o);if(s){n[1]=s,r=!0;return}bl.test(o)&&(n[1]=o.replace(vl,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}},Tg=(e,{theme:t})=>{const r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){const[,n="",o,i]=r;if(Ht(i,t)||Ag(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function Ag(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?C.bracket.percent(t[1])!=null:!1}function Ng(){return r0({h:C})}function Ig(){return n0({getBracket:Go,h:C})}function Mg(e={}){return o0(e,{h:C,variantGetBracket:Bt})}const Fg=s0(),zg={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},Lg={name:"supports",match(e,t){const r=Pe("supports-",e,t.generator.config.separators);if(r){const[n,o]=r;let i=C.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function qg(e){return[Q0,ag,$g,vg,wg,Rg,zg,ug(),Lg,fg,dg,pg,hg,...mg,...gg,...yg,...bg,eg(),...rg,...ng,Tg,...Ng(),Ig(),...Mg(e),Fg,...ig(e),...sg,...lg,kg,...tg,og,_g,...cg,...Z0,xg,...Sg,Eg].flat()}const $l={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values($l).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});const Dg={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},Vg={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},Ug={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Hg={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},Wg={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},Bg={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Kg={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},Gg={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Jg={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Xg={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Yg={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Qg={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},Zg={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},ey={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},ty={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},ry={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},ny={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},oy={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},iy={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},wl={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},sy={...wl},ay={grid:"(display: grid)"},cy={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},ly={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},uy={font:Hg,colors:$l,spacing:Yg,breakpoint:wl,verticalBreakpoint:sy,text:Wg,fontWeight:Bg,tracking:Kg,leading:Gg,textStrokeWidth:Jg,radius:Qg,shadow:Zg,insetShadow:ey,dropShadow:ty,textShadow:ry,ease:cy,animation:Dg,blur:Ug,perspective:ny,property:ly,default:oy,container:iy,aria:Vg,media:Xg,supports:ay},fy=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],dy=/@media \(min-width: (.+)\)/,py=[[/^__container$/,(e,t)=>{const{theme:r,variantHandlers:n}=t,o=r.containers?.padding;let i;le(o)?i=o:i=o?.DEFAULT;const s=r.containers?.maxWidth;let a;for(const u of n){const l=u.handle?.({},d=>d)?.parent;if(le(l)){const d=l.match(dy)?.[1];if(d){const m=(En(t)??[]).find(v=>v.size===d)?.point;s?m&&(a=s?.[m]):a=d,m&&!le(o)&&(i=o?.[m]??i)}}}const c={"max-width":a};return n.length||(c.width="100%"),r.containers?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],hy=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(En(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}const n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]],my=[...hy],ka={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(fe.map(e=>[e,e]))},gy=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":ka[e]??C.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(ka).join("|")})`,"(vertical|align|v)-<percentage>"]}]],_a=["center","left","right","justify","start","end"],yy=[..._a.map(e=>[`text-${e}`,{"text-align":e}]),...[...fe,..._a].map(e=>[`text-align-${e}`,{"text-align":e}])],by=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{const r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{const r=t.animation?.keyframes?.[e];if(r){const n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,s=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...s}]}return{animation:C.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":C.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??C.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??C.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??C.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?fe:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?fe:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":C.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?fe:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...Z("animate","animation")],kl={"gradient-position":U("--un-gradient-position"),"gradient-from":U("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":U("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":U("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":U("--un-gradient-stops"),"gradient-via-stops":U("--un-gradient-via-stops"),"gradient-from-position":U("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":U("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":U("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function xa(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}function vy(){return function*([,e,t],{theme:r}){const n={},o=Sn(t,r);if(o){const{color:i,keys:s,alpha:a}=o;if(i){if(Object.values(xn).includes(i))n[`--un-gradient-${e}`]=i;else{n[`--un-${e}-opacity`]=a;const c=s?ue("colors",s):i;n[`--un-gradient-${e}`]=`color-mix(in oklab, ${c} var(--un-${e}-opacity), transparent)`,yield U(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&Y("colors",s),r&&Cn(i,r)}}else n[`--un-gradient-${e}`]=C.bracket.cssvar(t);if(n[`--un-gradient-${e}`]){switch(e){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(const i of Object.values(kl))yield i}}}function $y(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${C.bracket.cssvar.percent(t)}`};for(const r of Object.values(kl))yield r}}const wy=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,r])=>{let n;if(C.number(t)!=null?n=`from ${C.number(t)}deg ${xa(r)};`:n=C.bracket(t),n)return{"--un-gradient-position":n,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,vy()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:C.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,$y()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,r])=>({"--un-gradient-position":`${t in _e?`to ${_e[t]} `:" "}${xa(r)}`,"background-image":`${e}-gradient(var(--un-gradient-stops))`}),{autocomplete:`bg-gradient-to-(${Object.keys(_e).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...Z("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...fe.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":_e[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...Z("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...Z("bg-origin","background-origin")],Sa=[[/^outline-(?:width-|size-)?(.+)$/,_l,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,ky,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":C.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},U("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[ve.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...fe].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*_l([,e]){const t=C.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield U("--un-outline-style",{initialValue:"solid"}))}function*ky(e,t){if(Gt(C.bracket(e[1])))yield*_l(e);else{const r=de("outline-color","outline")(e,t);if(r)for(const n of r)yield n}}const _y=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function xy(e){const t=C.bracket(e);return t&&C.properties(t)?t:C.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}const Ea=[[/^will-change-(.+)/,([,e])=>({"will-change":xy(e)})]],to={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},Sy=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const r=to[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(to).join("|")})`,`list-(${Object.keys(to).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":C.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...Z("list","list-style-type")],Ey=[[/^accent-(.+)$/,de("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":C.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],Cy=[[/^caret-(.+)$/,de("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":C.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],jy=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],Py=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...Z("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...Z("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...Z("overscroll-y","overscroll-behavior-y")],Oy=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...Z("scroll","scroll-behavior")],tt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...fe],Ry=[[/^(?:border|b)()(?:-(.+))?$/,Te,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Te],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Te],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Te],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Te],[/^(?:border|b)-()(?:width|size)-(.+)$/,Te,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-()(?:color-)?(.+)$/,Ot,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Rt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Tt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Tt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Tt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Tt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Tt],[/^(?:border|b)-(?:style-)?()(.+)$/,At,{autocomplete:["(border|b)-style",`(border|b)-(${tt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${tt.join("|")})`,`(border|b)-<directions>-style-(${tt.join("|")})`,`(border|b)-style-(${tt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,At],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,At],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,At],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,At]];function Ty(e){return([,t],r)=>{const n=Sn(t,r.theme),o=gl(n,`border${e}-color`,`border${e}`,r);if(o){const i=o[0];return n?.color&&!Object.values(xn).includes(n.color)&&!n.alpha&&e&&e!==""&&(i[`--un-border${e}-opacity`]="var(--un-border-opacity)"),o}}}function Te([,e="",t="1"]){const r=C.bracket.cssvar.global.px(t);if(e in Ee&&r!=null)return Ee[e].map(n=>[`border${n}-width`,r])}function Ot([,e="",t],r){if(e in Ee){if(Gt(C.bracket(t)))return Te(["",e,t]);if(Ht(t,r.theme)){const n=Ee[e].map(o=>Ty(o)(["",t],r)).filter(Ur);return[n.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...n.flatMap(o=>o.slice(1))]}}}function Rt([,e="",t]){const r=C.bracket.percent.cssvar(t);if(e in Ee&&r!=null)return Ee[e].map(n=>[`--un-border${n}-opacity`,r])}function Tt([,e="",t="DEFAULT"],{theme:r}){if(e in Wr){if(t==="full")return Wr[e].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);const n=r.radius?.[t]??C.bracket.cssvar.global.fraction.rem(t);if(n!=null){const o=r.radius&&t in r.radius;return o&&Y("radius",t),Wr[e].map(i=>[`border${i}-radius`,o?ue("radius",t):n])}}}function At([,e="",t]){if(tt.includes(t)&&e in Ee)return[["--un-border-style",t],...Ee[e].map(r=>[`border${r}-style`,t])]}const Ay=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:C.bracket.percent.cssvar(e)})]],Ny=/^\[url\(.+\)\]$/,Iy=/^\[(?:length|size):.+\]$/,My=/^\[position:.+\]$/,Fy=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,zy=/^\[image:.+\]$/,Ly=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(Ny.test(t))return{"--un-url":C.bracket(t),"background-image":"var(--un-url)"};if(Iy.test(t)&&C.bracketOfLength(t)!=null)return{"background-size":C.bracketOfLength(t).split(" ").map(r=>C.fraction.auto.px.cssvar(r)??r).join(" ")};if((K0(t)||My.test(t))&&C.bracketOfPosition(t)!=null)return{"background-position":C.bracketOfPosition(t).split(" ").map(r=>C.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Fy.test(t)||zy.test(t)){const r=C.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:C.cssvar(r))??r}}return de("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],qy=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],Dy=[[/^columns-(.+)$/,([,e])=>({columns:C.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...Z("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...Z("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...Z("break-after")],Ca=["solid","double","dotted","dashed","wavy",...fe],Vy=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,xl,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Uy,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":C.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...Ca.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...Ca.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function xl([,e]){return{"text-decoration-thickness":C.bracket.cssvar.global.px(e)}}function Uy(e,t){if(Gt(C.bracket(e[1])))return xl(e);const r=de("text-decoration-color","line")(e,t);if(r){const n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}const Hy=[[/^pa?()-?(.+)$/,ce("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,ce("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,ce("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,ce("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,ce("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,ce("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Wy=[[/^ma?()-?(.+)$/,ce("margin")],[/^m-?xy()()$/,ce("margin")],[/^m-?([xy])(?:-?(.+))?$/,ce("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,ce("margin")],[/^m-(block|inline)(?:-(.+))?$/,ce("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,ce("margin")]],By=[[/^space-([xy])-(.+)$/,Ky,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:rt,[`--un-space-${e}-reverse`]:"1"},yield U(`--un-space-${e}-reverse`,{initialValue:0})}]];function rt(e){const t=">:not(:last-child)";return e.includes(t)?e:`${e}${t}`}function*Ky([,e,t],{theme:r,symbols:n}){let o;const i=Ce(t);if(i!=null?(Y("spacing"),o=`calc(var(--spacing) * ${i})`):o=r.spacing?.[t]??C.bracket.cssvar.auto.fraction.rem(t||"1"),o!=null){const s=Ee[e==="x"?"inline":"block"].map((a,c)=>{const u=`margin${a}`,l=` calc(${o} * ${c===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[u,l]});s&&(yield{[n.selector]:rt,[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(s)},yield U(`--un-space-${e}-reverse`,{initialValue:0}))}}const Gy=[[/^divide-(.+)$/,function*(e,t){const r=de("border-color","divide")(e,t);r&&(yield{[t.symbols.selector]:rt,...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([,e],{symbols:t}){yield{[t.selector]:rt,"--un-divide-opacity":C.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,ja,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,ja],[/^divide-?([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:rt,[`--un-divide-${e}-reverse`]:"1"},yield U(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${tt.join("|")})$`),function*([,e],{symbols:t}){yield{[t.selector]:rt,"border-style":e}},{autocomplete:tt.map(e=>`divide-${e}`)}]];function*ja([,e,t],{symbols:r}){let n=C.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");const i={x:["-left","-right"],y:["-top","-bottom"]}[e].map(s=>{const a=s.endsWith("left")||s.endsWith("top")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${s}-width`,a],[`border${s}-style`,"var(--un-border-style)"]]});i&&(yield{[r.selector]:rt,[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(i.flat())},yield U(`--un-divide-${e}-reverse`,{initialValue:0}),yield U("--un-border-style",{initialValue:"solid"}))}}const Sl=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],Eo=Sl.map(e=>U(`--un-${e}`)),ln=Sl.map(e=>`var(--un-${e},)`).join(" "),El=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Jy=El.map(e=>U(`--un-${e}`)),un=El.map(e=>`var(--un-${e},)`).join(" ");function ro(e){let t=C.bracket.cssvar(e||"");if(t!=null||(t=e?C.percent(e):"100%",t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function De(e,t){return([,r,n],{theme:o})=>{const i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?[{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":un,"backdrop-filter":un},...Jy]:[{[`--un-${e}`]:`${e}(${i})`,filter:ln},...Eo]}}function Xy([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return[{"--un-drop-shadow":`drop-shadow(${Qo(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:ln},...Eo];if(r=C.bracket.cssvar(e)??(e==="none"?"":void 0),r!=null)return[{"--un-drop-shadow":r&&`drop-shadow(${r})`,filter:ln},...Eo]}const Yy=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,De("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||C.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,De("brightness",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,De("contrast",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Xy,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,de("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":C.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,De("grayscale",ro),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,De("hue-rotate",e=>C.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,De("invert",ro),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,De("opacity",e=>C.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,De("saturate",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,De("sepia",ro),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:ln}],["backdrop-filter",{"-webkit-backdrop-filter":un,"backdrop-filter":un}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...fe.map(e=>[`filter-${e}`,{filter:e}]),...fe.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],Qy=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:C.bracket(e)!=null?C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" "):C.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":C.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":C.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{const t=Ce(e);return t!=null?(Y("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":C.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Pa={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function no([,e="",t]){const r=Ce(t);return r!=null?(Y("spacing"),{[`${Pa[e]}gap`]:`calc(var(--spacing) * ${r})`}):{[`${Pa[e]}gap`]:C.bracket.cssvar.global.rem(t)}}const Zy=[[/^(?:flex-|grid-)?gap-?()(.+)$/,no,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,no,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,no,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Me(e){return e.replace("col","column")}function eb(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return C.bracket.cssvar.auto.rem(e)}const tb=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${Me(e)}`]:C.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${Me(e)}`]:"1/-1"};const r=C.bracket.number.cssvar(t);if(r!=null)return{[`grid-${Me(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${Me(e)}-start`]:C.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${Me(e)}-end`]:C.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${Me(e)}`]:eb(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":C.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":Me(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:C.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":C.cssvar(t)??t.split("-").map(r=>`"${C.bracket(r)}"`).join(" ")}:{"grid-area":C.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Lr=["auto","hidden","clip","visible","scroll","overlay",...fe],rb=[[/^(?:overflow|of)-(.+)$/,([,e])=>Lr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Lr.join("|")})`,`(overflow|of)-(x|y)-(${Lr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Lr.includes(t)?{[`overflow-${e}`]:t}:void 0]],nb=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],Co={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},Oa="linear-gradient(#fff, #fff)",ob={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Ra([,e=""]){if(e in Wr)return{"mask-position":e.split("").flatMap(n=>Co[n]).join(" ")};const t=C.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function oo([e,t="",r,n],o){const i={...ob},s=[];if(s.push(...["linear","radial","conic"].map(a=>U(`--un-mask-${a}`,{initialValue:Oa}))),t in Co){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const a of Co[t]){if(i[`--un-mask-${a}`]=`linear-gradient(to ${a}, var(--un-mask-${a}-from-color) var(--un-mask-${a}-from-position), var(--un-mask-${a}-to-color) var(--un-mask-${a}-to-position))`,Ce(n)!=null?(Y("spacing"),i[`--un-mask-${a}-${r}-position`]=`calc(var(--spacing) * ${C.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${a}-${r}-position`]=C.bracket.cssvar.fraction.rem(n),Ht(n,o.theme)){const c=de(`--un-mask-${a}-${r}-color`,So("colors"))([e,n],o);if(c){const[u,...l]=c;Object.assign(i,u),s.push(...l)}}s.push(...["from","to"].flatMap(c=>[U(`--un-mask-${a}-${c}-position`,{syntax:"<length-percentage>",initialValue:c==="from"?"0%":"100%"}),U(`--un-mask-${a}-${c}-color`,{syntax:"<color>",initialValue:c==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(a=>U(`--un-mask-${a}`,{initialValue:Oa})))}else{if(r==null)t==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=C.bracket.cssvar.rem(n)):(i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,i[`--un-mask-${t}-position`]=Ce(n)?`calc(1deg * ${C.bracket.cssvar.number(n)})`:C.bracket.cssvar.fraction(n));else{const a={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${t}-stops`]=`${a[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,Ht(n,o.theme)){const c=de(`--un-mask-${t}-${r}-color`,So("colors"))([e,n],o);if(c){const[u,...l]=c;Object.assign(i,u),s.push(...l)}}else Ce(n)!=null?(Y("spacing"),i[`--un-mask-${t}-${r}-position`]=`calc(var(--spacing) * ${C.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${t}-${r}-position`]=C.bracket.cssvar.fraction.rem(n)}t==="radial"&&s.push(U("--un-mask-radial-shape",{initialValue:"ellipse"}),U("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(a=>[U(`--un-mask-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),U(`--un-mask-${t}-${a}-position`,{syntax:"<length-percentage>",initialValue:a==="from"?"0%":"100%"}),U(`--un-mask-${t}-${a}-color`,{syntax:"<color>",initialValue:a==="from"?"black":"transparent"})]))}return[i,...s]}function ib([,e=""]){const t=C.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}const sb=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,e])=>({"mask-image":C.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,oo,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,oo],[/^mask-([trblxy])-(from|to)-(.*)$/,oo],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,e])=>({"--un-mask-radial-position":_e[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(_e).filter(e=>e.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,Ra],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":_e[e]})],[/^mask-(?:position-|pos-)(.+)$/,Ra],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,ib],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],ab=[[/^\$ placeholder-(.+)$/,de("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":C.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],cb=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>fe.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],Cl=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...Z("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...Z("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...Z("justify-self")],lb=[[/^order-(.+)$/,([,e])=>({order:C.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],jl=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...Z("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...Z("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...Z("self","align-self")],Pl=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...Z("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...Z("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...Z("place-self")],ub=[...Cl,...jl,...Pl].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function jo(e){const t=Ce(e);return t!=null?(Y("spacing"),`calc(var(--spacing) * ${t})`):C.bracket.cssvar.global.auto.fraction.rem(e)}function Nt([,e,t]){const r=jo(t);if(r!=null&&e in ya)return ya[e].map(n=>[n.slice(1),r])}const fb=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:jo(e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Nt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Nt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:jo(t)})]],db=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...Z("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...Z("clear")],pb=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":C.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":C.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],hb=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...Z("box","box-sizing")],mb=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Po={shadow:U("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:U("--un-shadow-color"),insetShadow:U("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:U("--un-inset-shadow-color"),ringColor:U("--un-ring-color"),ringShadow:U("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:U("--un-inset-ring-color"),insetRingShadow:U("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:U("--un-ring-inset"),ringOffsetWidth:U("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:U("--un-ring-offset-color"),ringOffsetShadow:U("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},gb=[[/^shadow(?:-(.+))?$/,Ta("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,Ta("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function Ta(e){return(t,r)=>{const[,n]=t,{theme:o}=r,i=o[e]?.[n||"DEFAULT"],s=n?C.bracket.cssvar(n):void 0,a=So(e);return(i!=null||s!=null)&&!Ht(s,o)?[{[`--un-${a}`]:Qo(i||s,`--un-${a}-color`).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Po)]:de(`--un-${a}-color`,a)(t,r)}}const yb=[[/^ring(?:-(.+))?$/,([,e])=>{const t=C.bracket.px(e||"1");if(t!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Po)]}],[/^ring-(.+)$/,de("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{const t=C.bracket.px(e||"1");if(t!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Po)]}],[/^inset-ring-(.+)$/,de("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{const t=C.bracket.cssvar.px(e||"1");if(t!=null)return{"--un-ring-offset-width":t,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,de("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],bb=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},U("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},U("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,ce("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,ce("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,ce("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,ce("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,ce("scroll-margin")],[/^scroll-pa?()-?(.+)$/,ce("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,ce("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,ce("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,ce("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,ce("scroll-padding")]],vb={h:"height",w:"width",inline:"inline-size",block:"block-size"};function pt(e,t){return`${e||""}${vb[t]}`}function qr(e,t,r){let n;const o=["container","spacing"];for(const i of o)if(e[i]?.[r]){Y(i,r),n=ue(i,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"screen":n=t==="w"?"100vw":"100vh";break}return!n&&C.number(r)!=null&&(Y("spacing"),n=`calc(var(--spacing) * ${C.number(r)})`),n??C.bracket.cssvar.global.auto.none.fraction.rem(r)}const $b=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[pt(e,"w")]:qr(r,"w",t),[pt(e,"h")]:qr(r,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[pt(e,t)]:qr(n,t,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[pt(e,t)]:qr(n,t,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[pt(e,t)]:Aa(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[pt(e,t)]:Aa(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function Aa(e,t,r="breakpoint"){const n=En(e,r);if(n)return n.find(o=>o.point===t)?.size}function wb(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return C.bracket.cssvar.global.auto.number(e)}const kb=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":wb(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],_b=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],io=["size","layout","paint","style"],xb=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:C.bracket.cssvar.global(e)})]],Sb=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...Z("backface","backface-visibility")],Eb=[[/^cursor-(.+)$/,([,e])=>({cursor:C.bracket.cssvar.global(e)})],..._b.map(e=>[`cursor-${e}`,{cursor:e}])],Cb=[[/^contain-(.*)$/,([,e])=>C.bracket(e)!=null?{contain:C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" ")}:io.includes(e)?[{"--un-contain-size":e,contain:io.map(t=>`var(--un-contain-${t})`).join(" ")},...io.map(t=>U(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],jb=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...Z("pointer-events")],Pb=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...Z("resize")],Ob=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...Z("select","user-select")],Rb=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...fe].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],Tb=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":C.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...Z("content-visibility")],Ab=[[/^content-(.+)$/,([,e])=>{if(C.bracket.cssvar(e)!=null)return[{"--un-content":C.bracket.cssvar(e),content:"var(--un-content)"},U("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Nb=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],Ib=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],Mb=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Fb=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...Z("case","text-transform")],zb=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Lb=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],qb=[...["manual","auto","none",...fe].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Db=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...Z("write","writing-mode")],Vb=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...Z("write-orient","text-orientation")],Ub=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Hb=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Wb=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(_e[e])return{"object-position":_e[e]};if(C.bracketOfPosition(e)!=null)return{"object-position":C.bracketOfPosition(e).split(" ").map(t=>C.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(_e).join("|")})`}]],Bb=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...Z("bg-blend","background-blend")],Kb=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...Z("mix-blend")],Gb=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Jb=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],Xb=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Yb=[[/^fill-(.+)$/,de("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Ol],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":C.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":C.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,Qb,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Ol([,e]){return{"stroke-width":C.bracket.cssvar.fraction.px.number(e)}}function Qb(e,t){return Gt(C.bracket(e[1]))?Ol(e):de("stroke","stroke")(e,t)}const Zb=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,e],{theme:t}){const r=Na(e,t);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const n of["x","y"])yield U(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:r}){const n=Na(t,r);if(n!=null){yield{[`--un-border-spacing-${e}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const o of["x","y"])yield U(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function Na(e,t){let r=t.spacing?.[e];if(!r){const n=Ce(e);n!=null?(Y("spacing"),r=`calc(var(--spacing) * ${n})`):r=C.bracket.cssvar.global.auto.fraction.rem(e)}return r}const so="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",ao=["pan-x","pan-y","pinch-zoom"].map(e=>U(`--un-${e}`)),ev=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":so};for(const t of ao)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":so};for(const t of ao)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":so};for(const e of ao)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...Z("touch","touch-action")],Dr=["translate","rotate","scale"],Zo=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),ei=Zo,tv=["translateZ(0)",Zo].join(" "),rv=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":_e[e]??C.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(_e).join("|")})`,`origin-(${Object.keys(_e).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let r;if(t.perspective?.[e]?(Y("perspective",e),r=ue("perspective",e)):r=C.bracket.cssvar.px.numberWithUnit(e),r!=null)return{perspective:r}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{const t=C.bracket.cssvar(e)??(e.length>=3?_e[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Ia],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ia],[/^(?:transform-)?rotate-()(.+)$/,Fa],[/^(?:transform-)?rotate-([xyz])-(.+)$/,Fa],[/^(?:transform-)?skew-()(.+)$/,za],[/^(?:transform-)?skew-([xy])-(.+)$/,za,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Ma],[/^(?:transform-)?scale-([xyz])-(.+)$/,Ma,{autocomplete:[`transform-(${Dr.join("|")})-<percent>`,`transform-(${Dr.join("|")})-(x|y|z)-<percent>`,`(${Dr.join("|")})-<percent>`,`(${Dr.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:ei}],["transform-cpu",{transform:Zo}],["transform-gpu",{transform:tv}],["transform-none",{transform:"none"}],...Z("transform")];function Ia([,e,t]){const r=Ce(t)??C.bracket.cssvar.none.fraction.rem(t);if(r!=null)return r==="none"?{translate:"none"}:(Y("spacing"),[[...ti(e,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${e==="z"?" var(--un-translate-z)":""}`,xo]],...["x","y","z"].map(n=>U(`--un-translate-${n}`,{initialValue:0}))])}function Ma([,e,t]){const r=C.bracket.cssvar.none.fraction.percent(t);if(r!=null)return r==="none"?{scale:"none"}:[[...ti(e,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>U(`--un-scale-${n}`,{initialValue:1}))]}function Fa([,e="",t]){const r=C.bracket.cssvar.none.degree(t);if(r!=null)return r==="none"?{rotate:"none"}:e?[[...ti(e,r.endsWith("deg")?`rotate${e.toUpperCase()}(${r})`:r,"rotate"),["transform",ei]],...["x","y","z"].map(n=>U(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>U(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:C.bracket.cssvar.degree(t)}}function za([,e,t]){const r=C.bracket.cssvar.degree(t),n=fl[e];if(r!=null&&n)return[[...n.map(o=>[`--un-skew${o}`,r.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${r})`:r]),["transform",ei]],...["x","y","z"].map(o=>U(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>U(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function ti(e,t,r){const n=t.split(x0);return e||!e&&n.length===1?fl[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${k0[i]}`,o])}function La(e,t){let r;if(C.cssvar(e)!=null)r=C.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));const n=e.split(",").map(o=>t.property?.[o]??C.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}const nv=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{Y("default",["transition","timingFunction"]),Y("default",["transition","duration"]);const n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${ue("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${ue("default",["transition","duration"])})`};if(!e&&!t)return{...n};if(e!=null){const o=La(e,r);if(o)return{"--un-duration":t&&C.time(t),...n,"transition-property":o}}else if(t!=null)return{"--un-duration":C.time(t),...n}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":C.bracket.cssvar.time(e),"transition-duration":C.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":C.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let r;return t.ease?.[e]?(Y("ease",e),r=ue("ease",e)):r=C.bracket.cssvar(e),[{"--un-ease":r,"transition-timing-function":r},U("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{const r=C.global(e)||La(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...fe].join("|")})`]}],["transition-none",{transition:"none"}],...Z("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],ov=[[/^text-(.+)$/,uv,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Rl,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,fv,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,de("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>fe.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${fe.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let r;return t.fontWeight?.[e]?(Y("fontWeight",e),r=ue("fontWeight",e)):r=C.bracket.cssvar.global.number(e),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>{let r;if(t.leading?.[e]?(Y("leading",e),r=ue("leading",e)):Ce(e)?(Y("spacing"),r=`calc(var(--spacing) * ${Ce(e)})`):r=C.bracket.cssvar.global.rem(e),r!=null)return[{"--un-leading":r,"line-height":r},U("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":C.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let r;return t.tracking?.[e]?(Y("tracking",e),r=ue("tracking",e)):r=C.bracket.cssvar.global.rem(e),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{const r=t.tracking?.[e]?ue("tracking",e):C.bracket.cssvar.global.rem(e);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":C.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{let r;if(t.font?.[e])return Y("font",e),r=ue("font",e),{"font-family":r};if(t.fontWeight?.[e])return Y("fontWeight",e),r=ue("fontWeight",e),{"--un-font-weight":r,"font-weight":r};if(r=C.number(e),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=C.bracketOfFamily(e),r!=null&&C.number(r)==null)return r=C.cssvar(r)??r,{"font-family":r};if(r=C.bracketOfNumber(e),r!=null)return r=C.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=C.bracket(e),r!=null&&C.number(r)!=null){const n=C.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=C.bracket.cssvar.global(e),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],iv=[[/^tab(?:-(.+))?$/,([,e])=>{const t=C.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],sv=[[/^indent-(.+)$/,([,e])=>{let t=Ce(e);if(t!=null)return Y("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=C.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],av=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&Y("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?ue("textStrokeWidth",e):C.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,de("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],qa=/op(?:acity)?-/,cv=[[/^text-shadow(?:-(.+))?$/,(e,t)=>{const[r,n="DEFAULT"]=e,o=t.theme.textShadow?.[n];return o!=null?{"--un-text-shadow":Qo(o,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:qa.test(n)?{"--un-text-shadow-opacity":C.bracket.percent.cssvar(n.replace(qa,""))}:de("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":C.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,de("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],Be=[U("--un-ordinal"),U("--un-slashed-zero"),U("--un-numeric-figure"),U("--un-numeric-spacing"),U("--un-numeric-fraction")],Ke={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},lv=[["ordinal",[{"--un-ordinal":"ordinal",...Ke},...Be]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Ke},...Be]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Ke},...Be]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Ke},...Be]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Ke},...Be]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Ke},...Be]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Ke},...Be]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Ke},...Be]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function uv([,e="base"],{theme:t}){const r=dv(e,"length");if(!r)return;const[n,o]=r,i=t.text?.[n];let s;if(o&&(t.leading?.[o]?(Y("leading",o),s=ue("leading",o)):s=C.bracket.cssvar.global.rem(o)),i)return Y("text",[n,"fontSize"]),Y("text",[n,"lineHeight"]),i.letterSpacing&&Y("text",[n,"letterSpacing"]),{"font-size":ue("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${ue("text",[n,"lineHeight"])})`,"letter-spacing":i.letterSpacing?ue("text",[n,"letterSpacing"]):void 0};const a=C.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":C.bracketOfLength.rem(e)}}function Rl([,e],{theme:t}){if(t.text?.[e]!=null)return Y("text",[e,"fontSize"]),Y("text",[e,"lineHeight"]),{"font-size":ue("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${ue("text",[e,"lineHeight"])})`};{const r=C.bracket.cssvar.global.rem(e);if(r)return{"font-size":r}}}function fv(e,t){return Gt(C.bracket(e[1]))?Rl(e,t):de("color","text")(e,t)}function dv(e,t){const[r,n]=_n(e,"[","]",["/",":"])??[];if(r!=null){const o=(r.match(Yo)??[])[1];if(o==null||o===t)return[r,n]}}const pv={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},hv=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const r=pv[e];if(r)return{[r]:C.cssvar(t)}}]],mv=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;const[r,...n]=t.split(":"),o=n.join(":");if(!yv(t)&&/^[\w-]+$/.test(r)&&gv(o)){const i=C.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function gv(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){const n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function yv(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}const bv=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],vv=[ov,iv,sv,av,cv,Wy,Hy,yy,gy,_y,Sa,Ea,Sy,Ey,Cy,jy,Py,Sa,Oy,Ea,Ry,Ly,Ay,qy,py,fy,Vy,Qy,Zy,tb,$b,kb,xb,Sb,Eb,Cb,jb,Pb,Ob,Rb,Tb,Ab,Nb,Ib,Mb,Fb,zb,Lb,yb,gb,rv,nv,hv,mv,jl,hb,ub,db,fb,Cl,lb,Pl,cb,pb,rb,Yb,by,wy,qb,Db,Vb,Jb,Ub,Hb,Wb,Bb,Kb,Gb,sb,Dy,Yy,nb,ab,bb,Zb,ev,lv,bv,By,Gy,Xb,mb].flat();function $v(){return{getCSS:()=>{if(bt.size>0){const e="@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",t="*, ::before, ::after, ::backdrop",r=Array.from(bt.entries()).map(([n,o])=>`${n}:${o};`).join("");return`${e}{${t}{${r}}}`}},layer:"properties"}}const wv=`
25
+ `?i=!0:l!=="\r"&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(t))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(n,s),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return ut.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),ut.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return ut.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),ut.insertRight=!0),this.prependRight(t,r)}move(t,r,n){if(t=t+this.offset,r=r+this.offset,n=n+this.offset,n>=t&&n<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(n);const o=this.byStart[t],i=this.byEnd[r],s=o.previous,a=i.next,c=this.byStart[n];if(!c&&i===this.lastChunk)return this;const u=c?c.previous:this.lastChunk;return s&&(s.next=a),a&&(a.previous=s),u&&(u.next=o),c&&(c.previous=i),o.previous||(this.firstChunk=i.next),i.next||(this.lastChunk=o.previous,this.lastChunk.next=null),o.previous=u,i.next=c||null,u||(this.firstChunk=o),c||(this.lastChunk=i),this}overwrite(t,r,n,o){return o=o||{},this.update(t,r,n,{...o,overwrite:!o.contentOnly})}update(t,r,n,o){if(t=t+this.offset,r=r+this.offset,typeof n!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(t),this._split(r),o===!0&&(ut.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),ut.storeName=!0),o={storeName:!0});const i=o!==void 0?o.storeName:!1,s=o!==void 0?o.overwrite:!1;if(i){const u=this.original.slice(t,r);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}const a=this.byStart[t],c=this.byEnd[r];if(a){let u=a;for(;u!==c;){if(u.next!==this.byStart[u.end])throw new Error("Cannot overwrite across a split point");u=u.next,u.edit("",!1)}a.edit(n,i,!s)}else{const u=new Vt(t,r,"").edit(n,i);c.next=u,u.previous=c}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byEnd[t];return n?n.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);const n=this.byStart[t];return n?n.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.intro="",n.outro="",n.edit(""),n=r>n.end?this.byStart[n.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let n=this.byStart[t];for(;n;)n.reset(),n=r>n.end?this.byStart[n.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(jt);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,n=this.lastChunk;do{if(n.outro.length>0){if(t=n.outro.lastIndexOf(jt),t!==-1)return n.outro.substr(t+1)+r;r=n.outro+r}if(n.content.length>0){if(t=n.content.lastIndexOf(jt),t!==-1)return n.content.substr(t+1)+r;r=n.content+r}if(n.intro.length>0){if(t=n.intro.lastIndexOf(jt),t!==-1)return n.intro.substr(t+1)+r;r=n.intro+r}}while(n=n.previous);return t=this.intro.lastIndexOf(jt),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let n="",o=this.firstChunk;for(;o&&(o.start>t||o.end<=t);){if(o.start<r&&o.end>=r)return n;o=o.next}if(o&&o.edited&&o.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);const i=o;for(;o;){o.intro&&(i!==o||o.start===t)&&(n+=o.intro);const s=o.start<r&&o.end>=r;if(s&&o.edited&&o.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);const a=i===o?t-o.start:0,c=s?o.content.length+r-o.end:o.content.length;if(n+=o.content.slice(a,c),o.outro&&(!s||o.end===r)&&(n+=o.outro),s)break;o=o.next}return n}snip(t,r){const n=this.clone();return n.remove(0,t),n.remove(r,n.original.length),n}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk;const n=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=n?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){const o=ua(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${o.line}:${o.column} – "${t.original}")`)}const n=t.split(r);return this.byEnd[r]=t,this.byStart[r]=n,this.byEnd[n.end]=n,t===this.lastChunk&&(this.lastChunk=n),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){const r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let n=this.lastChunk;do{const o=n.end,i=n.trimEnd(r);if(n.end!==o&&(this.lastChunk===n&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.previous}while(n);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){const r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let n=this.firstChunk;do{const o=n.end,i=n.trimStart(r);if(n.end!==o&&(n===this.lastChunk&&(this.lastChunk=n.next),this.byEnd[n.end]=n,this.byStart[n.next.start]=n.next,this.byEnd[n.next.end]=n.next),i)return!0;n=n.next}while(n);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function n(i,s){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(a,c)=>c==="$"?"$":c==="&"?i[0]:+c<i.length?i[+c]:`$${c}`):r(...i,i.index,s,i.groups)}function o(i,s){let a;const c=[];for(;a=i.exec(s);)c.push(a);return c}if(t.global)o(t,this.original).forEach(s=>{if(s.index!=null){const a=n(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}});else{const i=this.original.match(t);if(i&&i.index!=null){const s=n(i,this.original);s!==i[0]&&this.overwrite(i.index,i.index+i[0].length,s)}}return this}_replaceString(t,r){const{original:n}=this,o=n.indexOf(t);return o!==-1&&this.overwrite(o,o+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){const{original:n}=this,o=t.length;for(let i=n.indexOf(t);i!==-1;i=n.indexOf(t,i+o))n.slice(i,i+o)!==r&&this.overwrite(i,i+o,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}}function Go(e,t,r){if(e==="")return;const n=e.length;let o=0,i=!1,s=0;for(let a=0;a<n;a++)switch(e[a]){case t:i||(i=!0,s=a),o++;break;case r:if(--o,o<0)return;if(o===0)return[e.slice(s,a+1),e.slice(a+1),e.slice(0,s)];break}}function _n(e,t,r,n){if(e===""||(le(n)&&(n=[n]),n.length===0))return;const o=e.length;let i=0;for(let s=0;s<o;s++)switch(e[s]){case t:i++;break;case r:if(--i<0)return;break;default:for(const a of n){const c=a.length;if(c&&a===e.slice(s,s+c)&&i===0)return s===0||s===o-c?void 0:[e.slice(0,s),e.slice(s+c)]}}return[e,""]}function Ut(e,t,r,n="(",o=")"){r=r??10;const i=[];let s=0;for(;e!=="";){if(++s>r)return;const a=_n(e,n,o,t);if(!a)return;const[c,u]=a;i.push(c),e=u}if(i.length>0)return i}const Jo=["hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Om=["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"],Rm=["hsl","hwb","lch","oklch"],Tm=["shorter","longer","increasing","decreasing"],il=["%alpha","<alpha-value>"],sl=new RegExp(il.map(e=>Dt(e)).join("|"),"g");function fa(e){return e?Om.some(t=>e.includes(t))||Rm.some(t=>e.includes(t))||Tm.some(t=>e.includes(t)):!1}function ht(e=""){const t=Am(e);if(t==null||t===!1)return;const{type:r,components:n,alpha:o}=t,i=r.toLowerCase();if(n.length!==0&&!(Jo.includes(i)&&![1,3].includes(n.length)))return{type:i,components:n.map(s=>typeof s=="string"?s.trim():s),alpha:typeof o=="string"?o.trim():o}}function wo(e,t){if(typeof e=="string")return e.replace(sl,`${t??1}`);const{components:r}=e;let{alpha:n,type:o}=e;return n=t??n,o=o.toLowerCase(),["hsla","rgba"].includes(o)?`${o}(${r.join(", ")}${n==null?"":`, ${n}`})`:(n=n==null?"":` / ${n}`,Jo.includes(o)?`${o}(${r.join(" ")}${n})`:`color(${o} ${r.join(" ")}${n})`)}function Am(e){if(!e)return;let t=Nm(e);if(t!=null||(t=Im(e),t!=null)||(t=Mm(e),t!=null)||(t=zm(e),t!=null)||(t=Lm(e),t!=null))return t}function Nm(e){const[,t]=e.match(/^#([\da-f]+)$/i)||[];if(t)switch(t.length){case 3:case 4:{const r=Array.from(t,n=>Number.parseInt(n,16)).map(n=>n<<4|n);return{type:"rgb",components:r.slice(0,3),alpha:t.length===3?void 0:Math.round(r[3]/255*100)/100}}case 6:case 8:{const r=Number.parseInt(t,16);return{type:"rgb",components:t.length===6?[r>>16&255,r>>8&255,r&255]:[r>>24&255,r>>16&255,r>>8&255],alpha:t.length===6?void 0:Math.round((r&255)/255*100)/100}}}}function Im(e){const t={rebeccapurple:[102,51,153,1]}[e];if(t!=null)return{type:"rgb",components:t.slice(0,3),alpha:t[3]}}function Mm(e){const t=e.match(/^(rgb|rgba|hsl|hsla)\((.+)\)$/i);if(!t)return;const[,r,n]=t,o=Ut(n,",",5);if(o){if([3,4].includes(o.length))return{type:r,components:o.slice(0,3),alpha:o[3]};if(o.length!==1)return!1}}const Fm=new RegExp(`^(${Jo.join("|")})\\((.+)\\)$`,"i");function zm(e){const t=e.match(Fm);if(!t)return;const[,r,n]=t,o=al(`${r} ${n}`);if(o){const{alpha:i,components:[s,...a]}=o;return{type:s,components:a,alpha:i}}}function Lm(e){const t=e.match(/^color\((.+)\)$/);if(!t)return;const r=al(t[1]);if(r){const{alpha:n,components:[o,...i]}=r;return{type:o,components:i,alpha:n}}}function al(e){const t=Ut(e," ");if(!t)return;let r=t.length;if(t[r-2]==="/")return{components:t.slice(0,r-2),alpha:t[r-1]};if(t[r-2]!=null&&(t[r-2].endsWith("/")||t[r-1].startsWith("/"))){const i=t.splice(r-2);t.push(i.join(" ")),--r}const n=Ut(t[r-1],"/",2);if(!n)return;if(n.length===1||n[n.length-1]==="")return{components:t};const o=n.pop();return t[r-1]=n.join("/"),{components:t,alpha:o}}const qm=/theme\(\s*(['"])?(.*?)\1?\s*\)/g;function Dm(e){return e.includes("theme(")&&e.includes(")")}function Vm(e,t,r=!0){const n=Array.from(e.toString().matchAll(qm));if(!n.length)return e;const o=new Ko(e);for(const i of n){const s=i[2];if(!s)throw new Error("theme() expect exact one argument, but got 0");const a=Um(s,t,r);a&&o.overwrite(i.index,i.index+i[0].length,a)}return o.toString()}function Um(e,t,r=!0){const[n,o]=e.split("/");let s=n.trim().split(".").reduce((a,c)=>a?.[c],t);if(typeof s=="object"&&(s=s.DEFAULT),typeof s=="string"){if(o){const a=ht(s);a&&(s=wo(a,o))}return s}else if(r)throw new Error(`theme of "${e}" did not found`)}function da(e){const t=e.match(/^-?\d+\.?\d*/)?.[0]||"",r=e.slice(t.length);if(r==="px"){const n=Number.parseFloat(t)-.1;return Number.isNaN(n)?e:`${n}${r}`}return`calc(${e} - 0.1px)`}function Hm(e){const t=function(n){const o=this.__options?.sequence||[];this.__options.sequence=[];for(const i of o){const s=e[i](n);if(s!=null)return s}};function r(n,o){return n.__options||(n.__options={sequence:[]}),n.__options.sequence.push(o),n}for(const n of Object.keys(e))Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get(){return r(this,n)}});return t}const cl="__pseudo_placeholder__",$t=Object.fromEntries([["first-letter","::first-letter"],["first-line","::first-line"],"any-link","link","visited","target",["open","[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","user-valid","user-invalid","in-range","out-of-range","read-only","read-write","empty","focus-within","hover","focus","focus-visible","active","enabled","disabled","popover-open","root","empty",["even-of-type",":nth-of-type(even)"],["even",":nth-child(even)"],["odd-of-type",":nth-of-type(odd)"],["odd",":nth-child(odd)"],["nth",`:nth-child(${cl})`],"first-of-type",["first",":first-child"],"last-of-type",["last",":last-child"],"only-child","only-of-type",["backdrop-element","::backdrop"],["placeholder","::placeholder"],["before","::before"],["after","::after"],["file","::file-selector-button"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ll=Object.keys($t),wt=Object.fromEntries([["backdrop","::backdrop"]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),ul=Object.keys(wt),Wm=["not","is","where","has"],fl=Object.fromEntries([["selection",["::selection"," *::selection"]],["marker",["::marker"," *::marker"]]]),ko=Object.entries($t).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),_o=Object.entries(wt).filter(([,e])=>!e.startsWith("::")).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),tt=Wm.join("|"),pa=Object.keys(fl).sort((e,t)=>t.length-e.length).join("|"),Bm=["::-webkit-resizer","::-webkit-scrollbar","::-webkit-scrollbar-button","::-webkit-scrollbar-corner","::-webkit-scrollbar-thumb","::-webkit-scrollbar-track","::-webkit-scrollbar-track-piece","::file-selector-button"],ha=Object.entries($t).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|"),ma=Object.entries(wt).map(([e])=>e).sort((e,t)=>t.length-e.length).join("|");function Km(e,t,r,n){const{h:o,variantGetBracket:i}=n,s=new RegExp(`^(${Dt(t)}:)(\\S+)${Dt(r)}\\1`);let a,c,u,l;const d=v=>{const h=i(`${e}-`,v,[]);if(!h)return;const[p,b]=h,f=o.bracket(p);if(f==null)return;const g=b.split(a,1)?.[0]??"",$=`${t}${mt(g)}`;return[g,v.slice(v.length-(b.length-g.length-1)),f.includes("&")?f.replace(/&/g,$):`${$}${f}`]},y=v=>{const h=v.match(c)||v.match(u);if(!h)return;const[p,b,f]=h,g=h[3]??"";let $=$t[f]||wt[f]||`:${f}`;return b&&($=`:${b}(${$})`),[g,v.slice(p.length),`${t}${mt(g)}${$}`,f]},m=v=>{const h=v.match(l);if(!h)return;const[p,b,f]=h,g=h[3]??"",$=`:${b}(${f})`;return[g,v.slice(p.length),`${t}${mt(g)}${$}`]};return{name:`pseudo:${e}`,match(v,h){if(a&&c&&u||(a=new RegExp(`(?:${h.generator.config.separators.join("|")})`),c=new RegExp(`^${e}-(?:(?:(${tt})-)?(${ko}))(?:(/[\\w-]+))?(?:${h.generator.config.separators.join("|")})`),u=new RegExp(`^${e}-(?:(?:(${tt})-)?(${_o}))(?:(/[\\w-]+))?(?:${h.generator.config.separators.filter(w=>w!=="-").join("|")})`),l=new RegExp(`^${e}-(?:(${tt})-)?\\[(.+)\\](?:(/[\\w-]+))?(?:${h.generator.config.separators.filter(w=>w!=="-").join("|")})`)),!v.startsWith(e))return;const p=d(v)||y(v)||m(v);if(!p)return;const[b,f,g,$=""]=p;return{matcher:f,handle:(w,k)=>k({...w,prefix:`${g}${r}${w.prefix}`.replace(s,"$1$2:"),sort:ll.indexOf($)??ul.indexOf($)})}},multiPass:!0}}function Gm(e){const{h:t}=e;let r,n,o;return[{name:"pseudo",match(i,s){r&&n||(r=new RegExp(`^(${ha})(?:-(\\d+|\\[\\w+\\]))?(?:${s.generator.config.separators.join("|")})`),n=new RegExp(`^(${ma})(?:${s.generator.config.separators.filter(c=>c!=="-").join("|")})`));const a=i.match(r)||i.match(n);if(a){let c=$t[a[1]]||wt[a[1]]||`:${a[1]}`;if(a[2]){let l;a[2].startsWith("[")&&a[2].endsWith("]")?l=t.bracket(a[2]):l=a[2],l&&(c=c.replace(cl,l))}let u=ll.indexOf(a[1]);return u===-1&&(u=ul.indexOf(a[1])),u===-1&&(u=void 0),{matcher:i.slice(a[0].length),handle:(l,d)=>{const y=c.includes("::")&&!Bm.includes(c)?{pseudo:`${l.pseudo}${c}`}:{selector:`${l.selector}${c}`};return d({...l,...y,sort:u,noMerge:!0})}}}},multiPass:!0,autocomplete:`(${ha}|${ma}):`},{name:"pseudo:multi",match(i,s){o||(o=new RegExp(`^(${pa})(?:${s.generator.config.separators.join("|")})`));const a=i.match(o);if(a)return fl[a[1]].map(u=>({matcher:i.slice(a[0].length),handle:(l,d)=>d({...l,pseudo:`${l.pseudo}${u}`})}))},multiPass:!1,autocomplete:`(${pa}):`}]}function Jm(e){const{getBracket:t,h:r}=e;let n,o,i;return{match(s,a){n&&o||(n=new RegExp(`^(${tt})-(${ko})(?:${a.generator.config.separators.join("|")})`),o=new RegExp(`^(${tt})-(${_o})(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`),i=new RegExp(`^(${tt})-(\\[.+\\])(?:${a.generator.config.separators.filter(u=>u!=="-").join("|")})`));const c=s.match(n)||s.match(o)||s.match(i);if(c){const u=c[1],d=t(c[2],"[","]")?r.bracket(c[2]):$t[c[2]]||wt[c[2]]||`:${c[2]}`;return{matcher:s.slice(c[0].length),selector:y=>`${y}:${u}(${d})`}}},multiPass:!0,autocomplete:`(${tt})-(${ko}|${_o}):`}}function Xm(e,t){const r=!!e?.attributifyPseudo;let n=e?.prefix??"";n=(Array.isArray(n)?n:[n]).filter(Boolean)[0]??"";const o=(i,s)=>Km(i,r?`[${n}${i}=""]`:`.${n}${i}`,s,t);return[o("group"," "),o("peer","~"),o("parent",">"),o("previous","+")]}const Ym=/(part-\[(.+)\]:)(.+)/;function Qm(){return{match(e){const t=e.match(Ym);if(t){const r=`part(${t[2]})`;return{matcher:e.slice(t[1].length),selector:n=>`${n}::${r}`}}},multiPass:!0}}function ze(e,t,r={}){let n;return{name:e,match(o,i){n||(n=new RegExp(`^${Dt(e)}(?:${i.generator.config.separators.join("|")})`));const s=o.match(n);if(s){const a=o.slice(s[0].length),c=ae(t).map(u=>({matcher:a,handle:(l,d)=>d({...l,...u(l)}),...r}));return c.length===1?c[0]:c}},autocomplete:`${e}:`}}function xe(e,t){let r;return{name:e,match(n,o){r||(r=new RegExp(`^${Dt(e)}(?:${o.generator.config.separators.join("|")})`));const i=n.match(r);if(i)return{matcher:n.slice(i[0].length),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${t}`})}},autocomplete:`${e}:`}}function Bt(e,t,r){if(t.startsWith(`${e}[`)){const[n,o]=Go(t.slice(e.length),"[","]")??[];if(n&&o){for(const i of r)if(o.startsWith(i))return[n,o.slice(i.length),i];return[n,o,""]}}}function Pe(e,t,r){for(const n of ae(e))if(t.startsWith(n)){const o=Bt(n,t,r);if(o){const[i="",s=o[1]]=Pe("/",o[1],r)??[];return[o[0],s,i]}for(const i of r.filter(s=>s!=="/")){const s=t.indexOf(i,n.length);if(s!==-1){const a=t.indexOf("/",n.length),c=a===-1||s<=a;return[t.slice(n.length,c?s:a),t.slice(s+i.length),c?"":t.slice(a+1,s)]}}}}function ga(e){return{"h1,h2,h3,h4,h5,h6":{color:"var(--un-prose-headings)","font-weight":"600","line-height":1.25},a:{color:"var(--un-prose-links)","text-decoration":"underline","font-weight":"500"},"a code":{color:"var(--un-prose-links)"},"p,ul,ol,pre":{margin:"1em 0","line-height":1.75},blockquote:{margin:"1em 0","padding-left":"1em","font-style":"italic","border-left":".25em solid var(--un-prose-borders)"},h1:{margin:"1rem 0","font-size":"2.25em"},h2:{margin:"1.75em 0 .5em","font-size":"1.75em"},h3:{margin:"1.5em 0 .5em","font-size":"1.375em"},h4:{margin:"1em 0","font-size":"1.125em"},"img,video":{"max-width":"100%"},"figure,picture":{margin:"1em 0"},figcaption:{color:"var(--un-prose-captions)","font-size":".875em"},code:{color:"var(--un-prose-code)","font-size":".875em","font-weight":600,"font-family":e.fontFamily?.mono},":not(pre) > code::before,:not(pre) > code::after":{content:'"`"'},pre:{padding:"1.25rem 1.5rem","overflow-x":"auto","border-radius":".375rem"},"pre,code":{"white-space":"pre","word-spacing":"normal","word-break":"normal","word-wrap":"normal","-moz-tab-size":4,"-o-tab-size":4,"tab-size":4,"-webkit-hyphens":"none","-moz-hyphens":"none",hyphens:"none",background:"transparent"},"pre code":{"font-weight":"inherit"},"ol,ul":{"padding-left":"1.25em"},ol:{"list-style-type":"decimal"},'ol[type="A"]':{"list-style-type":"upper-alpha"},'ol[type="a"]':{"list-style-type":"lower-alpha"},'ol[type="A" s]':{"list-style-type":"upper-alpha"},'ol[type="a" s]':{"list-style-type":"lower-alpha"},'ol[type="I"]':{"list-style-type":"upper-roman"},'ol[type="i"]':{"list-style-type":"lower-roman"},'ol[type="I" s]':{"list-style-type":"upper-roman"},'ol[type="i" s]':{"list-style-type":"lower-roman"},'ol[type="1"]':{"list-style-type":"decimal"},ul:{"list-style-type":"disc"},"ol > li::marker,ul > li::marker,summary::marker":{color:"var(--un-prose-lists)"},hr:{margin:"2em 0",border:"1px solid var(--un-prose-hr)"},table:{display:"block",margin:"1em 0","border-collapse":"collapse","overflow-x":"auto"},"tr:nth-child(2n)":{background:"var(--un-prose-bg-soft)"},"td,th":{border:"1px solid var(--un-prose-borders)",padding:".625em 1em"},abbr:{cursor:"help"},kbd:{color:"var(--un-prose-code)",border:"1px solid",padding:".25rem .5rem","font-size":".875em","border-radius":".25rem"},details:{margin:"1em 0",padding:"1.25rem 1.5rem",background:"var(--un-prose-bg-soft)"},summary:{cursor:"pointer","font-weight":"600"}}}const Zm=[["headings","h1","h2","h3","h4","h5","h6","th"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["kbd"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]];function e0(e){for(const[t,...r]of Zm)if(t===e)return r.length>0?r:[t]}function ya(e){let t="";const{escapedSelector:r,selectorName:n,preflights:o,compatibility:i,important:s}=e,a=i?.noColonNot||i?.noColonWhere;for(const c in o){const u=o[c],l=`:not(:where(.not-${n},.not-${n} *))`,d=c.split(",").map(y=>{const m=y.match(/:[():\-\w]+$/g);if(m){const v=m[0];return y=y.replace(v,""),r.map(h=>a?`${h} ${y}${v}`:`${h} :where(${y})${l}${v}`).join(",")}return null}).filter(y=>y);d.length?t+=d.join(","):t+=r.map(y=>a?c.split(",").map(m=>`${y} ${m}`).join(","):`${y} :where(${c})${l}`).join(","),t+="{";for(const y in u){const m=u[y];t+=`${y}:${m}${s?" !important":""};`}t+="}"}return t}function t0(e,t){const{compatibility:r,selectorName:n,important:o=!1}=t,i=typeof t?.cssExtend=="function"?t.cssExtend(e.theme):t?.cssExtend;let s=Array.from(t.escapedSelectors);return!s[s.length-1].startsWith(".")&&!r?.noColonIs&&(s=[`:is(${s[s.length-1]},.${t.selectorName})`]),typeof o=="string"&&(s=s.map(a=>r?.noColonIs?`${o} ${a}`:`:is(${o}) ${a}`)),ya(i?{escapedSelector:s,selectorName:n,preflights:mn(ga(e.theme),i),compatibility:r,important:o===!0}:{escapedSelector:s,selectorName:n,preflights:ga(e.theme),compatibility:r,important:o===!0})}const r0=e=>{e?.className&&console.warn('[unocss:preset-typography] "className" is deprecated. Please use "selectorName" instead.');const t=new Set,r=e?.selectorName||e?.className||"prose",n=new RegExp(`^${r}$`),o=new RegExp(`^${r}-([-\\w]+)$`),i=new RegExp(`^${r}-invert$`),s=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere;return{name:"@unocss/preset-typography",enforce:"post",layers:{typography:-20},rules:[[n,(a,{rawSelector:c})=>(t.add(Ec(c)),{color:"var(--un-prose-body)","max-width":"65ch"}),{layer:"typography"}],[o,([,a],{theme:c})=>{const u=c.colors?.[a];if(u==null)return;const l=typeof u=="object"?u:{},d={body:700,headings:900,links:900,lists:400,hr:200,captions:500,code:900,borders:200,"bg-soft":100,"invert-body":200,"invert-headings":100,"invert-links":100,"invert-lists":500,"invert-hr":700,"invert-captions":400,"invert-code":100,"invert-borders":700,"invert-bg-soft":800},y={};for(const m in d){const v=d[m],h=l[v]??u;let p=!1;for(const b of il)if(h.includes(b)){p=!0,y[`--un-prose-${m}-opacity`]=1,y[`--un-prose-${m}`]=h.replace(b,`var(--un-prose-${m}-opacity)`);break}p||(y[`--un-prose-${m}`]=h)}return y},{layer:"typography"}],[i,()=>({"--un-prose-body":"var(--un-prose-invert-body)","--un-prose-headings":"var(--un-prose-invert-headings)","--un-prose-links":"var(--un-prose-invert-links)","--un-prose-lists":"var(--un-prose-invert-lists)","--un-prose-hr":"var(--un-prose-invert-hr)","--un-prose-captions":"var(--un-prose-invert-captions)","--un-prose-code":"var(--un-prose-invert-code)","--un-prose-borders":"var(--un-prose-invert-borders)","--un-prose-bg-soft":"var(--un-prose-invert-bg-soft)"}),{layer:"typography"}]],variants:[{name:"typography element modifiers",match:a=>{if(a.startsWith(`${r}-`)){const c=new RegExp(`^${r}-(\\w+)[:-].+$`),u=a.match(c)?.[1];if(u){const l=e0(u);if(l?.length)return{matcher:a.slice(r.length+u.length+2),selector:d=>{const y=`:not(:where(.not-${r},.not-${r} *))`;return s?l.map(v=>`${d} ${v}`).join(","):`${d} :is(:where(${l})${y})`}}}}}}],preflights:[{layer:"typography",getCSS:a=>{if(t.size>0)return t0(a,{escapedSelectors:t,...e,selectorName:r})}}]}};function n0(e){let t,r,n=2166136261;for(t=0,r=e.length;t<r;t++)n^=e.charCodeAt(t),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function o0(e,t,r,n){for(const o of Array.from(e.matchAll(r)))if(o!=null){const i=o[0],s=`${n}${n0(i)}`;t.set(s,i),e=e.replace(i,s)}return e}function i0(e,t){for(const[r,n]of t.entries())e=e.replaceAll(r,n);return e}const s0=/\/\/#\s*sourceMappingURL=.*\n?/g;function a0(e){return e.includes("sourceMappingURL=")?e.replace(s0,""):e}const c0=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,l0=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,u0=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function f0(e){const t=[];for(const o of e.matchAll(l0))o.index!==0&&!/^[\s'"`]/.test(e[o.index-1]??"")||t.push(o[0]);for(const o of e.matchAll(c0))t.push(o[0]);const r=new Map,n="@unocss-skip-arbitrary-brackets";return e=o0(e,r,/-\[(?!&.+?;)[^\]]*\]/g,n),e&&e.split($c).forEach(o=>{o.includes(n)&&(o=i0(o,r)),go(o)&&!u0.test(o)&&t.push(o)}),t}function d0(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:e}){return f0(a0(e))}}}const p0="@unocss/preset-wind4",xo="$$mini-no-negative",xn={transparent:"transparent",current:"currentColor",inherit:"inherit"},Ee={l:["-left"],r:["-right"],t:["-top"],b:["-bottom"],s:["-inline-start"],e:["-inline-end"],x:["-inline"],y:["-block"],"":[""],bs:["-block-start"],be:["-block-end"],is:["-inline-start"],ie:["-inline-end"],block:["-block-start","-block-end"],inline:["-inline-start","-inline-end"]},ba={...Ee,x:["-inset-inline"],y:["-inset-block"],s:["-inset-inline-start"],start:["-inset-inline-start"],e:["-inset-inline-end"],end:["-inset-inline-end"],bs:["-inset-block-start"],be:["-inset-block-end"],is:["-inset-inline-start"],ie:["-inset-inline-end"],block:["-inset-block-start","-inset-block-end"],inline:["-inset-inline-start","-inset-inline-end"]},Wr={l:["-top-left","-bottom-left"],r:["-top-right","-bottom-right"],t:["-top-left","-top-right"],b:["-bottom-left","-bottom-right"],tl:["-top-left"],lt:["-top-left"],tr:["-top-right"],rt:["-top-right"],bl:["-bottom-left"],lb:["-bottom-left"],br:["-bottom-right"],rb:["-bottom-right"],"":[""],bs:["-start-start","-start-end"],be:["-end-start","-end-end"],s:["-end-start","-start-start"],is:["-end-start","-start-start"],e:["-start-end","-end-end"],ie:["-start-end","-end-end"],ss:["-start-start"],"bs-is":["-start-start"],"is-bs":["-start-start"],se:["-start-end"],"bs-ie":["-start-end"],"ie-bs":["-start-end"],es:["-end-start"],"be-is":["-end-start"],"is-be":["-end-start"],ee:["-end-end"],"be-ie":["-end-end"],"ie-be":["-end-end"]},dl={x:["-x"],y:["-y"],z:["-z"],"":["-x","-y"]},h0=["x","y","z"],va=["top","top center","top left","top right","bottom","bottom center","bottom left","bottom right","left","left center","left top","left bottom","right","right center","right top","right bottom","center","center top","center bottom","center left","center right","center center"],_e=Object.assign({},...va.map(e=>({[e.replace(/ /,"-")]:e})),...va.map(e=>({[e.replace(/\b(\w)\w+/g,"$1").replace(/ /,"")]:e}))),fe=["inherit","initial","revert","revert-layer","unset"],Xo=/^(calc|clamp|min|max)\s*\((.+)\)(.*)/,pl=/^(var)\s*\((.+)\)(.*)/,Kt=/^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i,m0=/^(-?\d*(?:\.\d+)?)$/,hl=/^(px|[sld]?v[wh])$/i,ml={px:1,vw:100,vh:100,svw:100,svh:100,dvw:100,dvh:100,lvh:100,lvw:100},Yo=/^\[(color|image|length|size|position|quoted|string|number|family):/i,g0=/,(?![^()]*\))/g,y0=["color","border-color","background-color","outline-color","text-decoration-color","flex-grow","flex","flex-shrink","caret-color","font","gap","opacity","visibility","z-index","font-weight","zoom","text-shadow","transform","box-shadow","border","background-position","left","right","top","bottom","object-position","max-height","min-height","max-width","min-width","height","width","border-width","margin","padding","outline-width","outline-offset","font-size","line-height","text-indent","vertical-align","border-spacing","letter-spacing","word-spacing","stroke","filter","backdrop-filter","fill","mask","mask-size","mask-border","clip-path","clip","border-radius"];function Ne(e){return+e.toFixed(10)}function b0(e){const t=e.match(Kt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(n&&!Number.isNaN(o))return`${Ne(o)}${n}`}function v0(e){if(e==="auto"||e==="a")return"auto"}function $0(e){if(!e)return;if(hl.test(e))return`${ml[e]}${e}`;const t=e.match(Kt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Ne(o)}${n}`:`${Ne(o/4)}rem`}function w0(e){if(hl.test(e))return`${ml[e]}${e}`;const t=e.match(Kt);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return n?`${Ne(o)}${n}`:`${Ne(o)}px`}function gl(e){if(!m0.test(e))return;const t=Number.parseFloat(e);if(!Number.isNaN(t))return Ne(t)}function k0(e){e.endsWith("%")&&(e=e.slice(0,-1));const t=gl(e);if(t!=null)return`${t}%`}function _0(e){if(!e)return;if(e==="full")return"100%";const[t,r]=e.split("/"),n=Number.parseFloat(t)/Number.parseFloat(r);if(!Number.isNaN(n))return n===0?"0":`${Ne(n*100)}%`}function st(e,t){if(e&&e.startsWith("[")&&e.endsWith("]")){let r,n;const o=e.match(Yo);if(!o)r=e.slice(1,-1);else{if(!t)n=o[1];else if(o[1]!==t)return;r=e.slice(o[0].length,-1)}if(!r||r==='=""')return;if(r.startsWith("--")){const[s,a]=r.slice(2).split(",");r=`var(--${mt(s)}${a?`, ${a}`:""})`}let i=0;for(const s of r)if(s==="[")i+=1;else if(s==="]"&&(i-=1,i<0))return;if(i)return;switch(n){case"string":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_");case"quoted":return r.replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(["\\])/g,"\\$1").replace(/^(.+)$/,'"$1"')}return r.replace(/(url\(.*?\))/g,s=>s.replace(/_/g,"\\_")).replace(/(^|[^\\])_/g,"$1 ").replace(/\\_/g,"_").replace(/(?:calc|clamp|max|min)\((.*)/g,s=>{const a=[];return s.replace(/var\((--.+?)[,)]/g,(c,u)=>(a.push(u),c.replace(u,"--un-calc"))).replace(/(-?\d*\.?\d(?!-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ").replace(/--un-calc/g,()=>a.shift())})}}function x0(e){return st(e)}function S0(e){return st(e,"color")}function E0(e){return st(e,"length")||st(e,"size")}function C0(e){return st(e,"position")}function j0(e){return st(e,"family")}function P0(e){return st(e,"number")}function O0(e){if(e.startsWith("var("))return e;const t=e.match(/^(?:\$|--)([^\s'"`;{}]+)$/);if(t){const[r,n]=t[1].split(",");return`var(--${mt(r)}${n?`, ${n}`:""})`}}function R0(e){const t=e.match(/^(-?[0-9.]+)(s|ms)?$/i);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0&&!n?"0s":n?`${Ne(o)}${n}`:`${Ne(o)}ms`}function T0(e){const t=e.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);if(!t)return;const[,r,n]=t,o=Number.parseFloat(r);if(!Number.isNaN(o))return o===0?"0":n?`${Ne(o)}${n}`:`${Ne(o)}deg`}function A0(e){if(fe.includes(e))return e}function N0(e){if(e.split(",").every(t=>y0.includes(t)))return e}function I0(e){if(["top","left","right","bottom","center"].includes(e))return e}function M0(e){if(e==="none")return"none"}const F0={__proto__:null,auto:v0,bracket:x0,bracketOfColor:S0,bracketOfFamily:j0,bracketOfLength:E0,bracketOfNumber:P0,bracketOfPosition:C0,cssvar:O0,degree:T0,fraction:_0,global:A0,none:M0,number:gl,numberWithUnit:b0,percent:k0,position:I0,properties:N0,px:w0,rem:$0,time:R0},z0=Hm(F0),C=z0;function Ce(e,t){const r=C.number(e)??t;if(r!=null){let n=Number(r);return String(r).endsWith("%")&&(n=Number(String(r).slice(0,-1))/100),n}}function ce(e){function t(n){const o=n.match(Kt);if(o){const[,i,s]=o,a=Number.parseFloat(i);if(!Number.isNaN(a))return[a,s]}return[void 0,void 0]}function r(n){let o,i;if(n.spacing?.DEFAULT){const[s,a]=t(n.spacing.DEFAULT);s!=null&&a!=null&&(o=s,i=a)}return Object.entries(n.spacing??{}).reduce((s,[a,c])=>{const[u,l]=t(c);return u!=null&&l!=null&&l===i?s[a]=u/o:s[a]=c,s},{})}return([n,o,i],{theme:s})=>{if(i!=null&&o!=null){const a=r(s);let c;const u=i.startsWith("-");if(u&&(i=i.slice(1)),c=Ce(i,a[i]),c!=null)return Number.isNaN(c)?(Y("spacing",i),Ee[o].map(l=>[`${e}${l}`,u?`calc(var(--spacing-${i} * -1)`:`var(--spacing-${i})`])):(Y("spacing"),Ee[o].map(l=>[`${e}${l}`,`calc(var(--spacing) * ${u?"-":""}${c})`]));if(c=C.bracket.cssvar.global.auto.fraction.rem(u?`-${i}`:i),c!=null)return Ee[o].map(l=>[`${e}${l}`,c])}}}function Sn(e,t){let r;const[n,...o]=Ut(e,["/",":"],3)??[];if(n!=null){const h=(n.match(Yo)??[])[1];(h==null||h==="color")&&(r=[n,...o])}if(!r)return;let i,[s,a,c]=r;fa(a)||fa(C.bracket(a??""))?c=a:i=a;const u=s.replace(/([a-z])(\d)(?![-_a-z])/g,"$1-$2").split(/-/g),[l]=u;if(!l)return;let d=$a(t,u);if(!d&&u.length>=2){const h=u.at(-1),p=u.at(-2);if(/^\d+$/.test(h)){const b=u.slice(0,-2).concat([`${p}${h}`]);d=$a(t,b)}}let{no:y,keys:m,color:v}=d??{};if(!v){const h=C.bracketOfColor(s),p=h||s;if(C.numberWithUnit(p))return;/^#[\da-f]+$/i.test(p)?v=p:/^hex-[\da-fA-F]+$/.test(p)?v=`#${p.slice(4)}`:s.startsWith("$")&&(v=C.cssvar(s)),v=v||h}return{opacity:i,modifier:c&&C.bracket.cssvar(c)||c,name:l,no:y,color:v??xn[l],alpha:C.bracket.cssvar.percent(i??""),keys:m,get cssColor(){return ht(this.color)}}}function $a(e,t){let r,n,o;const i=cn(e,"colors",t);if(typeof i=="object"?"DEFAULT"in i&&(r=i.DEFAULT,n="DEFAULT",o=[...t,n]):typeof i=="string"&&(r=i,o=t,n=t.at(-1)),!!r)return{color:r,no:n,keys:o}}function cn(e,t,r){const n=e[t];function o(i,s){if(!(!i||typeof i!="object")){if(s.length===0)return i;for(let a=s.length;a>0;a--){const c=s.slice(0,a).join("-");if(c in i){const u=i[c];return a===s.length?u:o(u,s.slice(a))}}}}return o(n,r)}function yl(e,t,r,n){if(!e)return;const{color:o,keys:i,alpha:s,modifier:a}=e,c=n?.generator.config.envMode==="dev"&&o?` /* ${o} */`:"",u={};if(o){const l=[u];if(Object.values(xn).includes(o))u[t]=o;else{const d=`--un-${r}-opacity`,y=i?ue("colors",i):o;let m=a??(i?"in srgb":"in oklab");!m.startsWith("in ")&&!m.startsWith("var(")&&(m=`in ${m}`),u[t]=`color-mix(${m}, ${y} ${s??`var(${d})`}, transparent)${c}`,l.push(U(d,{syntax:"<percentage>",initialValue:"100%"})),i&&(Y("colors",i),a||l.push({[ve.parent]:"@supports (color: color-mix(in lab, red, red))",[ve.noMerge]:!0,[ve.shortcutsNoMerge]:!0,[t]:`color-mix(in oklab, ${y} ${s??`var(${d})`}, transparent)${c}`})),n?.theme&&Cn(o,n.theme)}return l}}function de(e,t){return([,r],n)=>{const o=Sn(r??"",n.theme);if(o)return yl(o,e,t,n)}}function Qo(e,t){const r=[];e=ae(e);for(let n=0;n<e.length;n++){const o=Ut(e[n]," ",6);if(!o||o.length<3)return e;let i=!1;const s=o.indexOf("inset");s!==-1&&(o.splice(s,1),i=!0);let a="";const c=o.at(-1);if(ht(o.at(0))){const u=ht(o.shift());u&&(a=`, ${wo(u)}`)}else if(ht(c)){const u=ht(o.pop());u&&(a=`, ${wo(u)}`)}else c&&pl.test(c)&&(a=`, ${o.pop()}`);r.push(`${i?"inset ":""}${o.join(" ")} var(${t}${a})`)}return r}function Ht(e,t){return e!=null&&!!Sn(e,t)?.color}const wa=/[a-z]+/gi,eo=new WeakMap;function En({theme:e,generator:t},r="breakpoint"){const n=t?.userConfig?.theme?.[r]||e[r];if(!n)return;if(eo.has(e))return eo.get(e);const o=Object.entries(n).sort((i,s)=>Number.parseInt(i[1].replace(wa,""))-Number.parseInt(s[1].replace(wa,""))).map(([i,s])=>({point:i,size:s}));return eo.set(e,o),o}function Z(e,t){return fe.map(r=>[`${e}-${r}`,{[t??e]:r}])}function U(e,t={}){const{syntax:r="*",inherits:n=!1,initialValue:o}=t,i={[ve.shortcutsNoMerge]:!0,[ve.noMerge]:!0,[ve.variants]:()=>[{parent:"",layer:"properties",selector:()=>`@property ${e}`}],syntax:JSON.stringify(r),inherits:n?"true":"false"};return o!=null&&(i["initial-value"]=o),q0(e,o?String(o):"initial"),i}function Gt(e){return e!=null&&Xo.test(e)}function L0(e){return e[0]==="["&&e.slice(-1)==="]"&&(e=e.slice(1,-1)),Xo.test(e)||Kt.test(e)}function So(e){return e.replace(/(?:^|\B)([A-Z])/g,"-$1").toLowerCase()}function bl(e,t=!1){return t?e.trim():e.trim().replace(/\s+/g," ").replace(/\/\*[\s\S]*?\*\//g,"")}const yt=new Set([]);function Y(e,t="DEFAULT"){const r=`${e}:${ae(t).join("-")}`;yt.has(r)||yt.add(r)}function ue(e,t){return`var(--${e}-${ae(t).join("-")})`}function Cn(e,t){if(e.startsWith("var(")){const r=e.match(/var\(--([\w-]+)(?:,.*)?\)/)?.[1];if(r){const[n,...o]=r.split("-"),i=cn(t,n,o);typeof i=="string"&&(Y(n,o),Cn(i,t))}}}const bt=new Map;function q0(e,t){bt.has(e)||bt.set(e,t)}function D0({important:e}){if(e==null||e===!1)return[];const t=r=>r.startsWith(":is(")&&r.endsWith(")")?r:r.includes("::")?r.replace(/(.*?)((?:\s\*)?::.*)/,":is($1)$2"):`:is(${r})`;return[e===!0?r=>{r.layer!=="properties"&&r.entries.forEach(n=>{n[1]!=null&&!String(n[1]).endsWith("!important")&&(n[1]+=" !important")})}:r=>{r.selector.startsWith(e)||(r.selector=`${e} ${t(r.selector)}`)}]}function V0({variablePrefix:e}){return e!=="un-"?[r=>{r.entries.forEach(n=>{n[0]=n[0].replace(/^--un-/,`--${e}`),typeof n[1]=="string"&&(n[1]=n[1].replace(/var\(--un-/g,`var(--${e}`))})}]:[]}function U0(e){return[D0,V0].flatMap(t=>t(e))}const H0={name:"aria",match(e,t){const r=Pe("aria-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??t.theme.aria?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[aria-${i}]`}}},multiPass:!0,autocomplete:"aria-$aria"};function ft(e){return{name:`${e}-aria`,match(t,r){const n=Pe(`${e}-aria-`,t,r.generator.config.separators);if(n){const[o,i,s]=n,a=C.bracket(o)??r.theme.aria?.[o]??"";if(a){const c={group:`&:is(:where(.group${s?`\\/${s}`:""})[aria-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[aria-${a}] ~ *)`,previous:`:where(*[aria-${a}] + &)`,parent:`:where(*[aria-${a}] > &)`,has:`&:has(*[aria-${a}])`,in:`:where(*[aria-${a}]) &`};return{matcher:i,handle:(u,l)=>l({...u,parent:`${u.parent?`${u.parent} $$ `:""}${u.selector}`,selector:c[e]})}}}},multiPass:!0}}const W0=[ft("group"),ft("peer"),ft("parent"),ft("previous"),ft("has"),ft("in")],ka=/(max|min)-\[([^\]]*)\]:/;function B0(){const e={};return{name:"breakpoints",match(t,r){if(ka.test(t)){const o=t.match(ka);return{matcher:t.replace(o[0],""),handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (${o[1]}-width: ${o[2]})`})}}const n=(En(r)??[]).map(({point:o,size:i},s)=>[o,i,s]);for(const[o,i,s]of n){e[o]||(e[o]=new RegExp(`^((?:([al]t-|[<~]|max-))?${o}(?:${r.generator.config.separators.join("|")}))`));const a=t.match(e[o]);if(!a)continue;const[,c]=a,u=t.slice(c.length);if(u==="container")continue;const l=c.startsWith("lt-")||c.startsWith("<")||c.startsWith("max-"),d=c.startsWith("at-")||c.startsWith("~");let y=3e3;return l?(y-=s+1,{matcher:u,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (max-width: ${da(i)})`,parentOrder:y})}):(y+=s+1,d&&s<n.length-1?{matcher:u,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i}) and (max-width: ${da(n[s+1][1])})`,parentOrder:y})}:{matcher:u,handle:(m,v)=>v({...m,parent:`${m.parent?`${m.parent} $$ `:""}@media (min-width: ${i})`,parentOrder:y})})}},multiPass:!0,autocomplete:"(at-|lt-|max-|)$breakpoint:"}}const K0=[ze("*",e=>({selector:`${e.selector} > *`}),{order:-1}),ze("**",e=>({selector:`${e.selector} *`}),{order:-1})];function Pt(e,t){return{name:`combinator:${e}`,match(r,n){if(!r.startsWith(e))return;const o=n.generator.config.separators;let i=Bt(`${e}-`,r,o);if(!i){for(const a of o)if(r.startsWith(`${e}${a}`)){i=["",r.slice(e.length+a.length)];break}if(!i)return}let s=C.bracket(i[0])??"";return s===""&&(s="*"),{matcher:i[1],selector:a=>`${a}${t}${s}`}},multiPass:!0}}const G0=[Pt("all"," "),Pt("children",">"),Pt("next","+"),Pt("sibling","+"),Pt("siblings","~")],J0=[ze("svg",e=>({selector:`${e.selector} svg`}))],X0={name:"@",match(e,t){if(e.startsWith("@container"))return;const r=Pe("@",e,t.generator.config.separators);if(r){const[n,o,i]=r,s=C.bracket(n);let a;if(s?a=C.numberWithUnit(s):a=t.theme.container?.[n]??"",a){let c=1e3+Object.keys(t.theme.container??{}).indexOf(n);return i&&(c+=1e3),{matcher:o,handle:(u,l)=>l({...u,parent:`${u.parent?`${u.parent} $$ `:""}@container${i?` ${i} `:" "}(min-width: ${a})`,parentOrder:c})}}}},multiPass:!0};function Y0(e={}){if(e?.dark==="class"||typeof e.dark=="object"){const{dark:t=".dark",light:r=".light"}=typeof e.dark=="string"?{}:e.dark;return[ze("dark",n=>({prefix:`${t} $$ ${n.prefix}`})),ze("light",n=>({prefix:`${r} $$ ${n.prefix}`}))]}return[xe("dark","@media (prefers-color-scheme: dark)"),xe("light","@media (prefers-color-scheme: light)")]}const Q0=[ze(".dark",e=>({prefix:`.dark $$ ${e.prefix}`})),ze(".light",e=>({prefix:`.light $$ ${e.prefix}`})),xe("@dark","@media (prefers-color-scheme: dark)"),xe("@light","@media (prefers-color-scheme: light)"),xe("not-dark","@media not (prefers-color-scheme: dark)")],Z0={name:"data",match(e,t){const r=Pe("data-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??t.theme.data?.[n]??"";if(i)return{matcher:o,selector:s=>`${s}[data-${i}]`}}},multiPass:!0};function dt(e){return{name:`${e}-data`,match(t,r){const n=Pe(`${e}-data-`,t,r.generator.config.separators);if(n){const[o,i,s]=n,a=C.bracket(o)??r.theme.data?.[o]??"";if(a){const c={group:`&:is(:where(.group${s?`\\/${s}`:""})[data-${a}] *)`,peer:`&:is(:where(.peer${s?`\\/${s}`:""})[data-${a}] ~ *)`,previous:`:where(*[data-${a}] + &)`,parent:`:where(*[data-${a}] > &)`,has:`&:has(*[data-${a}])`,in:`:where(*[data-${a}]) &`};return{matcher:i,handle:(u,l)=>l({...u,parent:`${u.parent?`${u.parent} $$ `:""}${u.selector}`,selector:c[e]})}}}},multiPass:!0}}const eg=[dt("group"),dt("peer"),dt("parent"),dt("previous"),dt("has"),dt("in")],tg=[ze("rtl",e=>({prefix:`[dir="rtl"] $$ ${e.prefix}`})),ze("ltr",e=>({prefix:`[dir="ltr"] $$ ${e.prefix}`}))];function rg(){let e;return{name:"important",match(t,r){e||(e=new RegExp(`^(important(?:${r.generator.config.separators.join("|")})|!)`));let n;const o=t.match(e);if(o?n=t.slice(o[0].length):t.endsWith("!")&&(n=t.slice(0,-1)),n)return{matcher:n,body:i=>(i.forEach(s=>{s[1]!=null&&(s[1]+=" !important")}),i)}}}}const ng=xe("noscript","@media (scripting: none)"),og={name:"scripting",match(e,t){const r=Pe(["script-","scripting-"],e,t.generator.config.separators);if(r){const[n,o]=r;if(["none","initial-only","enabled"].includes(n))return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media (scripting: ${n})`})}}},multiPass:!0,autocomplete:["(scripting|script)-(none|initial-only|enabled)"]},ig=xe("print","@media print"),sg={name:"media",match(e,t){const r=Pe("media-",e,t.generator.config.separators);if(r){const[n,o]=r;let i=C.bracket(n)??"";if(i===""&&(i=t.theme.media?.[n]??""),i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@media ${i}`})}}},multiPass:!0,autocomplete:"media-$media"},ag=[xe("contrast-more","@media (prefers-contrast: more)"),xe("contrast-less","@media (prefers-contrast: less)")],cg=[xe("motion-reduce","@media (prefers-reduced-motion: reduce)"),xe("motion-safe","@media (prefers-reduced-motion: no-preference)")],lg=[xe("landscape","@media (orientation: landscape)"),xe("portrait","@media (orientation: portrait)")],ug=[xe("forced-colors","@media (forced-colors: active)")],fg={name:"selector",match(e,t){const r=Bt("selector-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n);if(i)return{matcher:o,selector:()=>i}}}},dg={name:"layer",match(e,t){const r=Pe("layer-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@layer ${i}`})}}}},pg={name:"uno-layer",match(e,t){const r=Pe("uno-layer-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??n;if(i)return{matcher:o,layer:i}}}},hg={name:"scope",match(e,t){const r=Bt("scope-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n);if(i)return{matcher:o,selector:s=>`${i} $$ ${s}`}}}},mg={name:"variables",match(e,t){if(!e.startsWith("["))return;const[r,n]=Go(e,"[","]")??[];if(!(r&&n))return;let o;for(const a of t.generator.config.separators)if(n.startsWith(a)){o=n.slice(a.length);break}if(o==null)return;const i=C.bracket(r)??"",s=i.startsWith("@");if(s||i.includes("&"))return{matcher:o,handle(a,c){const u=s?{parent:`${a.parent?`${a.parent} $$ `:""}${i}`}:{selector:i.replace(/&/g,a.selector)};return c({...a,...u})}}},multiPass:!0},gg={name:"theme-variables",match(e,t){if(Dm(e))return{matcher:e,handle(r,n){return n({...r,entries:JSON.parse(Vm(JSON.stringify(r.entries),t.theme))})}}}},yg=[ze("@hover",e=>({parent:`${e.parent?`${e.parent} $$ `:""}@media (hover: hover) and (pointer: fine)`,selector:`${e.selector||""}:hover`}))],bg={name:"implicit-group",match(e,t){const r=Pe("in-",e,t.generator.config.separators);if(r){const[n,o]=r,i=C.bracket(n)??n;if(i)return{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}${s.selector}`,selector:`:where(*:is(${i})) &`})}}}},vl=/^-?[0-9.]+(?:[a-z]+|%)?$/,$l=/-?[0-9.]+(?:[a-z]+|%)?/,vg=[/\b(opacity|color|flex|backdrop-filter|^filter|transform|mask-image)\b/];function $g(e){const t=e.match(Xo)||e.match(pl);if(t){const[r,n]=_n(`(${t[2]})${t[3]}`,"(",")"," ")??[];if(r)return`calc(${t[1]}${r} * -1)${n?` ${n}`:""}`}}const wg=/\b(hue-rotate)\s*(\(.*)/;function kg(e){const t=e.match(wg);if(t){const[r,n]=_n(t[2],"(",")"," ")??[];if(r){const o=vl.test(r.slice(1,-1))?r.replace($l,i=>i.startsWith("-")?i.slice(1):`-${i}`):`(calc(${r} * -1))`;return`${t[1]}${o}${n?` ${n}`:""}`}}}const _g={name:"negative",match(e){if(e.startsWith("-"))return{matcher:e.slice(1),body:t=>{if(t.find(n=>n[0]===xo))return;let r=!1;return t.forEach(n=>{if(ae(n[2]).includes(xo))return;const o=n[1]?.toString();if(!o||o==="0"||vg.some(a=>a.test(n[0])))return;const i=$g(o);if(i){n[1]=i,r=!0;return}const s=kg(o);if(s){n[1]=s,r=!0;return}vl.test(o)&&(n[1]=o.replace($l,a=>a.startsWith("-")?a.slice(1):`-${a}`),r=!0)}),r?t:[]}}}},xg=(e,{theme:t})=>{const r=e.match(/^(.*)\b(placeholder-)(.+)$/);if(r){const[,n="",o,i]=r;if(Ht(i,t)||Sg(i))return{matcher:`${n}placeholder-$ ${o}${i}`}}};function Sg(e){const t=e.match(/^op(?:acity)?-?(.+)$/);return t&&t[1]!=null?C.bracket.percent(t[1])!=null:!1}function Eg(){return Gm({h:C})}function Cg(){return Jm({getBracket:Go,h:C})}function jg(e={}){return Xm(e,{h:C,variantGetBracket:Bt})}const Pg=Qm(),Og={name:"starting",match(e){if(e.startsWith("starting:"))return{matcher:e.slice(9),handle:(t,r)=>r({...t,parent:"@starting-style"})}}},Rg={name:"supports",match(e,t){const r=Pe("supports-",e,t.generator.config.separators);if(r){const[n,o]=r;let i=C.bracket(n)??"";if(i===""&&(i=t.theme.supports?.[n]??""),i)return i.startsWith("(")&&i.endsWith(")")||(i=`(${i})`),{matcher:o,handle:(s,a)=>a({...s,parent:`${s.parent?`${s.parent} $$ `:""}@supports ${i}`})}}},multiPass:!0};function Tg(e){return[H0,Z0,dg,fg,pg,_g,Og,rg(),Rg,ng,og,ig,sg,...ag,...cg,...lg,...ug,B0(),...G0,...J0,xg,...Eg(),Cg(),...jg(e),Pg,...Y0(e),...Q0,...tg,hg,...K0,X0,mg,...eg,...W0,gg,...yg,bg].flat()}const wl={black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"},light:{50:"oklch(99.4% 0 0)",100:"oklch(99.11% 0 0)",200:"oklch(98.51% 0 0)",300:"oklch(98.16% 0.0017 247.84)",400:"oklch(97.31% 0 0)",500:"oklch(96.12% 0 0)",600:"oklch(96.32% 0.0034 247.86)",700:"oklch(94.17% 0.0052 247.88)",800:"oklch(91.09% 0.007 247.9)",900:"oklch(90.72% 0.0051 228.82)",950:"oklch(89.23% 0.006 239.83)"},dark:{50:"oklch(40.91% 0 0)",100:"oklch(35.62% 0 0)",200:"oklch(31.71% 0 0)",300:"oklch(29.72% 0 0)",400:"oklch(25.2% 0 0)",500:"oklch(23.93% 0 0)",600:"oklch(22.73% 0.0038 286.09)",700:"oklch(22.21% 0 0)",800:"oklch(20.9% 0 0)",900:"oklch(16.84% 0 0)",950:"oklch(13.44% 0 0)"}};Object.values(wl).forEach(e=>{typeof e!="string"&&e!==void 0&&(e.DEFAULT=e.DEFAULT||e[400])});const Ag={keyframes:{pulse:"{0%, 100% {opacity:1} 50% {opacity:.5}}",bounce:"{0%, 100% {transform:translateY(-25%);animation-timing-function:cubic-bezier(0.8,0,1,1)} 50% {transform:translateY(0);animation-timing-function:cubic-bezier(0,0,0.2,1)}}",spin:"{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}",ping:"{0%{transform:scale(1);opacity:1}75%,100%{transform:scale(2);opacity:0}}","bounce-alt":"{from,20%,53%,80%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1);transform:translate3d(0,0,0)}40%,43%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-30px,0)}70%{animation-timing-function:cubic-bezier(0.755,0.05,0.855,0.06);transform:translate3d(0,-15px,0)}90%{transform:translate3d(0,-4px,0)}}",flash:"{from,50%,to{opacity:1}25%,75%{opacity:0}}","pulse-alt":"{from{transform:scale3d(1,1,1)}50%{transform:scale3d(1.05,1.05,1.05)}to{transform:scale3d(1,1,1)}}","rubber-band":"{from{transform:scale3d(1,1,1)}30%{transform:scale3d(1.25,0.75,1)}40%{transform:scale3d(0.75,1.25,1)}50%{transform:scale3d(1.15,0.85,1)}65%{transform:scale3d(0.95,1.05,1)}75%{transform:scale3d(1.05,0.95,1)}to{transform:scale3d(1,1,1)}}","shake-x":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(-10px,0,0)}20%,40%,60%,80%{transform:translate3d(10px,0,0)}}","shake-y":"{from,to{transform:translate3d(0,0,0)}10%,30%,50%,70%,90%{transform:translate3d(0,-10px,0)}20%,40%,60%,80%{transform:translate3d(0,10px,0)}}","head-shake":"{0%{transform:translateX(0)}6.5%{transform:translateX(-6px) rotateY(-9deg)}18.5%{transform:translateX(5px) rotateY(7deg)}31.5%{transform:translateX(-3px) rotateY(-5deg)}43.5%{transform:translateX(2px) rotateY(3deg)}50%{transform:translateX(0)}}",swing:"{20%{transform:rotate3d(0,0,1,15deg)}40%{transform:rotate3d(0,0,1,-10deg)}60%{transform:rotate3d(0,0,1,5deg)}80%{transform:rotate3d(0,0,1,-5deg)}to{transform:rotate3d(0,0,1,0deg)}}",tada:"{from{transform:scale3d(1,1,1)}10%,20%{transform:scale3d(0.9,0.9,0.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{transform:scale3d(1,1,1)}}",wobble:"{from{transform:translate3d(0,0,0)}15%{transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{transform:translate3d(0,0,0)}}",jello:"{from,11.1%,to{transform:translate3d(0,0,0)}22.2%{transform:skewX(-12.5deg) skewY(-12.5deg)}33.3%{transform:skewX(6.25deg) skewY(6.25deg)}44.4%{transform:skewX(-3.125deg)skewY(-3.125deg)}55.5%{transform:skewX(1.5625deg) skewY(1.5625deg)}66.6%{transform:skewX(-0.78125deg) skewY(-0.78125deg)}77.7%{transform:skewX(0.390625deg) skewY(0.390625deg)}88.8%{transform:skewX(-0.1953125deg) skewY(-0.1953125deg)}}","heart-beat":"{0%{transform:scale(1)}14%{transform:scale(1.3)}28%{transform:scale(1)}42%{transform:scale(1.3)}70%{transform:scale(1)}}",hinge:"{0%{transform-origin:top left;animation-timing-function:ease-in-out}20%,60%{transform:rotate3d(0,0,1,80deg);transform-origin:top left;animation-timing-function:ease-in-out}40%,80%{transform:rotate3d(0,0,1,60deg);transform-origin:top left;animation-timing-function:ease-in-out}to{transform:translate3d(0,700px,0);opacity:0}}","jack-in-the-box":"{from{opacity:0;transform-origin:center bottom;transform:scale(0.1) rotate(30deg)}50%{transform:rotate(-10deg)}70%{transform:rotate(3deg)}to{transform:scale(1)}}","light-speed-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-in-right":"{from{opacity:0;transform:translate3d(100%,0,0) skewX(-30deg)}60%{opacity:1;transform:skewX(20deg)}80%{transform:skewX(-5deg)}to{transform:translate3d(0,0,0)}}","light-speed-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0) skewX(30deg)}}","light-speed-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) skewX(30deg)}}",flip:"{from{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);animation-timing-function:ease-out}40%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);animation-timing-function:ease-out}50%{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);animation-timing-function:ease-in}80%{transform:perspective(400px) scale3d(0.95,0.95,0.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}to{transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);animation-timing-function:ease-in}}","flip-in-x":"{from{transform:perspective(400px) rotate3d(1,0,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(1,0,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(1,0,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(1,0,0,-5deg)}to{transform:perspective(400px)}}","flip-in-y":"{from{transform:perspective(400px) rotate3d(0,1,0,90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotate3d(0,1,0,-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotate3d(0,1,0,10deg);opacity:1}80%{transform:perspective(400px) rotate3d(0,1,0,-5deg)}to{transform:perspective(400px)}}","flip-out-x":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(1,0,0,-20deg);opacity:1}to{transform:perspective(400px) rotate3d(1,0,0,90deg);opacity:0}}","flip-out-y":"{from{transform:perspective(400px)}30%{transform:perspective(400px) rotate3d(0,1,0,-15deg);opacity:1}to{transform:perspective(400px) rotate3d(0,1,0,90deg);opacity:0}}","rotate-in":"{from{transform-origin:center;transform:rotate3d(0,0,1,-200deg);opacity:0}to{transform-origin:center;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-left":"{from{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}to{transform-origin:left bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-down-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-left":"{from{transform-origin:left top;transform:rotate3d(0,0,1,45deg);opacity:0}to{transform-origin:left top;transform:translate3d(0,0,0);opacity:1}}","rotate-in-up-right":"{from{transform-origin:right bottom;transform:rotate3d(0,0,1,-90deg);opacity:0}to{transform-origin:right bottom;transform:translate3d(0,0,0);opacity:1}}","rotate-out":"{from{transform-origin:center;opacity:1}to{transform-origin:center;transform:rotate3d(0,0,1,200deg);opacity:0}}","rotate-out-down-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,45deg);opacity:0}}","rotate-out-down-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:right bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-left":"{from{transform-origin:left bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,-45deg);opacity:0}}","rotate-out-up-right":"{from{transform-origin:right bottom;opacity:1}to{transform-origin:left bottom;transform:rotate3d(0,0,1,90deg);opacity:0}}","roll-in":"{from{opacity:0;transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;transform:translate3d(0,0,0)}}","roll-out":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}","zoom-in":"{from{opacity:0;transform:scale3d(0.3,0.3,0.3)}50%{opacity:1}}","zoom-in-down":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-left":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(-1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-right":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(1000px,0,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-10px,0,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-in-up":"{from{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,1000px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}60%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out":"{from{opacity:1}50%{opacity:0;transform:scale3d(0.3,0.3,0.3)}to{opacity:0}}","zoom-out-down":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,-60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","zoom-out-left":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(-2000px,0,0);transform-origin:left center}}","zoom-out-right":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(-42px,0,0)}to{opacity:0;transform:scale(0.1) translate3d(2000px,0,0);transform-origin:right center}}","zoom-out-up":"{40%{opacity:1;transform:scale3d(0.475,0.475,0.475) translate3d(0,60px,0);animation-timing-function:cubic-bezier(0.55,0.055,0.675,0.19)}to{opacity:0;transform:scale3d(0.1,0.1,0.1) translate3d(0,-2000px,0);transform-origin:center bottom;animation-timing-function:cubic-bezier(0.175,0.885,0.32,1)}}","bounce-in":"{from,20%,40%,60%,80%,to{animation-timing-function:ease-in-out}0%{opacity:0;transform:scale3d(0.3,0.3,0.3)}20%{transform:scale3d(1.1,1.1,1.1)}40%{transform:scale3d(0.9,0.9,0.9)}60%{transform:scale3d(1.03,1.03,1.03);opacity:1}80%{transform:scale3d(0.97,0.97,0.97)}to{opacity:1;transform:scale3d(1,1,1)}}","bounce-in-down":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:translate3d(0,0,0)}}","bounce-in-left":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-right":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translate3d(0,0,0)}}","bounce-in-up":"{from,60%,75%,90%,to{animation-timing-function:cubic-bezier(0.215,0.61,0.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translate3d(0,0,0)}}","bounce-out":"{20%{transform:scale3d(0.9,0.9,0.9)}50%,55%{opacity:1;transform:scale3d(1.1,1.1,1.1)}to{opacity:0;transform:scale3d(0.3,0.3,0.3)}}","bounce-out-down":"{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}","bounce-out-left":"{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}","bounce-out-right":"{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}","bounce-out-up":"{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}","slide-in-down":"{from{transform:translate3d(0,-100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-left":"{from{transform:translate3d(-100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-right":"{from{transform:translate3d(100%,0,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-in-up":"{from{transform:translate3d(0,100%,0);visibility:visible}to{transform:translate3d(0,0,0)}}","slide-out-down":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,100%,0)}}","slide-out-left":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(-100%,0,0)}}","slide-out-right":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(100%,0,0)}}","slide-out-up":"{from{transform:translate3d(0,0,0)}to{visibility:hidden;transform:translate3d(0,-100%,0)}}","fade-in":"{from{opacity:0}to{opacity:1}}","fade-in-down":"{from{opacity:0;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-down-big":"{from{opacity:0;transform:translate3d(0,-2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left":"{from{opacity:0;transform:translate3d(-100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-left-big":"{from{opacity:0;transform:translate3d(-2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right":"{from{opacity:0;transform:translate3d(100%,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-right-big":"{from{opacity:0;transform:translate3d(2000px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up":"{from{opacity:0;transform:translate3d(0,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-up-big":"{from{opacity:0;transform:translate3d(0,2000px,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-left":"{from{opacity:0;transform:translate3d(-100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-top-right":"{from{opacity:0;transform:translate3d(100%,-100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-left":"{from{opacity:0;transform:translate3d(-100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-in-bottom-right":"{from{opacity:0;transform:translate3d(100%,100%,0)}to{opacity:1;transform:translate3d(0,0,0)}}","fade-out":"{from{opacity:1}to{opacity:0}}","fade-out-down":"{from{opacity:1}to{opacity:0;transform:translate3d(0,100%,0)}}","fade-out-down-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,2000px,0)}}","fade-out-left":"{from{opacity:1}to{opacity:0;transform:translate3d(-100%,0,0)}}","fade-out-left-big":"{from{opacity:1}to{opacity:0;transform:translate3d(-2000px,0,0)}}","fade-out-right":"{from{opacity:1}to{opacity:0;transform:translate3d(100%,0,0)}}","fade-out-right-big":"{from{opacity:1}to{opacity:0;transform:translate3d(2000px,0,0)}}","fade-out-up":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-100%,0)}}","fade-out-up-big":"{from{opacity:1}to{opacity:0;transform:translate3d(0,-2000px,0)}}","fade-out-top-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,-100%,0)}}","fade-out-top-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,-100%,0)}}","fade-out-bottom-left":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(-100%,100%,0)}}","fade-out-bottom-right":"{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:0;transform:translate3d(100%,100%,0)}}","back-in-up":"{0%{opacity:0.7;transform:translateY(1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-down":"{0%{opacity:0.7;transform:translateY(-1200px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-right":"{0%{opacity:0.7;transform:translateX(2000px) scale(0.7)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-in-left":"{0%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}80%{opacity:0.7;transform:translateX(0px) scale(0.7)}100%{opacity:1;transform:scale(1)}}","back-out-up":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}","back-out-down":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateY(700px) scale(0.7)}}","back-out-right":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateY(0px) scale(0.7)}100%{opacity:0.7;transform:translateX(2000px) scale(0.7)}}","back-out-left":"{0%{opacity:1;transform:scale(1)}80%{opacity:0.7;transform:translateX(-2000px) scale(0.7)}100%{opacity:0.7;transform:translateY(-700px) scale(0.7)}}"},durations:{pulse:"2s","heart-beat":"1.3s","bounce-in":"0.75s","bounce-out":"0.75s","flip-out-x":"0.75s","flip-out-y":"0.75s",hinge:"2s"},timingFns:{pulse:"cubic-bezier(0.4,0,.6,1)",ping:"cubic-bezier(0,0,.2,1)","head-shake":"ease-in-out","heart-beat":"ease-in-out","pulse-alt":"ease-in-out","light-speed-in-left":"ease-out","light-speed-in-right":"ease-out","light-speed-out-left":"ease-in","light-speed-out-right":"ease-in"},properties:{"bounce-alt":{"transform-origin":"center bottom"},jello:{"transform-origin":"center"},swing:{"transform-origin":"top center"},flip:{"backface-visibility":"visible"},"flip-in-x":{"backface-visibility":"visible !important"},"flip-in-y":{"backface-visibility":"visible !important"},"flip-out-x":{"backface-visibility":"visible !important"},"flip-out-y":{"backface-visibility":"visible !important"},"rotate-in":{"transform-origin":"center"},"rotate-in-down-left":{"transform-origin":"left bottom"},"rotate-in-down-right":{"transform-origin":"right bottom"},"rotate-in-up-left":{"transform-origin":"left bottom"},"rotate-in-up-right":{"transform-origin":"right bottom"},"rotate-out":{"transform-origin":"center"},"rotate-out-down-left":{"transform-origin":"left bottom"},"rotate-out-down-right":{"transform-origin":"right bottom"},"rotate-out-up-left":{"transform-origin":"left bottom"},"rotate-out-up-right":{"transform-origin":"right bottom"},hinge:{"transform-origin":"top left"},"zoom-out-down":{"transform-origin":"center bottom"},"zoom-out-left":{"transform-origin":"left center"},"zoom-out-right":{"transform-origin":"right center"},"zoom-out-up":{"transform-origin":"center bottom"}},counts:{spin:"infinite",ping:"infinite",pulse:"infinite","pulse-alt":"infinite",bounce:"infinite","bounce-alt":"infinite"},category:{pulse:"Attention Seekers",bounce:"Attention Seekers",spin:"Attention Seekers",ping:"Attention Seekers","bounce-alt":"Attention Seekers",flash:"Attention Seekers","pulse-alt":"Attention Seekers","rubber-band":"Attention Seekers","shake-x":"Attention Seekers","shake-y":"Attention Seekers","head-shake":"Attention Seekers",swing:"Attention Seekers",tada:"Attention Seekers",wobble:"Attention Seekers",jello:"Attention Seekers","heart-beat":"Attention Seekers",hinge:"Specials","jack-in-the-box":"Specials","light-speed-in-left":"Lightspeed","light-speed-in-right":"Lightspeed","light-speed-out-left":"Lightspeed","light-speed-out-right":"Lightspeed",flip:"Flippers","flip-in-x":"Flippers","flip-in-y":"Flippers","flip-out-x":"Flippers","flip-out-y":"Flippers","rotate-in":"Rotating Entrances","rotate-in-down-left":"Rotating Entrances","rotate-in-down-right":"Rotating Entrances","rotate-in-up-left":"Rotating Entrances","rotate-in-up-right":"Rotating Entrances","rotate-out":"Rotating Exits","rotate-out-down-left":"Rotating Exits","rotate-out-down-right":"Rotating Exits","rotate-out-up-left":"Rotating Exits","rotate-out-up-right":"Rotating Exits","roll-in":"Specials","roll-out":"Specials","zoom-in":"Zooming Entrances","zoom-in-down":"Zooming Entrances","zoom-in-left":"Zooming Entrances","zoom-in-right":"Zooming Entrances","zoom-in-up":"Zooming Entrances","zoom-out":"Zooming Exits","zoom-out-down":"Zooming Exits","zoom-out-left":"Zooming Exits","zoom-out-right":"Zooming Exits","zoom-out-up":"Zooming Exits","bounce-in":"Bouncing Entrances","bounce-in-down":"Bouncing Entrances","bounce-in-left":"Bouncing Entrances","bounce-in-right":"Bouncing Entrances","bounce-in-up":"Bouncing Entrances","bounce-out":"Bouncing Exits","bounce-out-down":"Bouncing Exits","bounce-out-left":"Bouncing Exits","bounce-out-right":"Bouncing Exits","bounce-out-up":"Bouncing Exits","slide-in-down":"Sliding Entrances","slide-in-left":"Sliding Entrances","slide-in-right":"Sliding Entrances","slide-in-up":"Sliding Entrances","slide-out-down":"Sliding Exits","slide-out-left":"Sliding Exits","slide-out-right":"Sliding Exits","slide-out-up":"Sliding Exits","fade-in":"Fading Entrances","fade-in-down":"Fading Entrances","fade-in-down-big":"Fading Entrances","fade-in-left":"Fading Entrances","fade-in-left-big":"Fading Entrances","fade-in-right":"Fading Entrances","fade-in-right-big":"Fading Entrances","fade-in-up":"Fading Entrances","fade-in-up-big":"Fading Entrances","fade-in-top-left":"Fading Entrances","fade-in-top-right":"Fading Entrances","fade-in-bottom-left":"Fading Entrances","fade-in-bottom-right":"Fading Entrances","fade-out":"Fading Exits","fade-out-down":"Fading Exits","fade-out-down-big":"Fading Exits","fade-out-left":"Fading Exits","fade-out-left-big":"Fading Exits","fade-out-right":"Fading Exits","fade-out-right-big":"Fading Exits","fade-out-up":"Fading Exits","fade-out-up-big":"Fading Exits","fade-out-top-left":"Fading Exits","fade-out-top-right":"Fading Exits","fade-out-bottom-left":"Fading Exits","fade-out-bottom-right":"Fading Exits","back-in-up":"Back Entrances","back-in-down":"Back Entrances","back-in-right":"Back Entrances","back-in-left":"Back Entrances","back-out-up":"Back Exits","back-out-down":"Back Exits","back-out-right":"Back Exits","back-out-left":"Back Exits"}},Ng={busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},Ig={DEFAULT:"8px",xs:"4px",sm:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},Mg={sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'].join(","),serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"].join(","),mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"].join(",")},Fg={xs:{fontSize:"0.75rem",lineHeight:"1rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},base:{fontSize:"1rem",lineHeight:"1.5rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},xl:{fontSize:"1.25rem",lineHeight:"1.75rem"},"2xl":{fontSize:"1.5rem",lineHeight:"2rem"},"3xl":{fontSize:"1.875rem",lineHeight:"2.25rem"},"4xl":{fontSize:"2.25rem",lineHeight:"2.5rem"},"5xl":{fontSize:"3rem",lineHeight:"1"},"6xl":{fontSize:"3.75rem",lineHeight:"1"},"7xl":{fontSize:"4.5rem",lineHeight:"1"},"8xl":{fontSize:"6rem",lineHeight:"1"},"9xl":{fontSize:"8rem",lineHeight:"1"}},zg={thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},Lg={tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},qg={none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},Dg={DEFAULT:"1.5rem",none:"0",sm:"thin",md:"medium",lg:"thick"},Vg={portrait:"(orientation: portrait)",landscape:"(orientation: landscape)",os_dark:"(prefers-color-scheme: dark)",os_light:"(prefers-color-scheme: light)",motion_ok:"(prefers-reduced-motion: no-preference)",motion_not_ok:"(prefers-reduced-motion: reduce)",high_contrast:"(prefers-contrast: high)",low_contrast:"(prefers-contrast: low)",opacity_ok:"(prefers-reduced-transparency: no-preference)",opacity_not_ok:"(prefers-reduced-transparency: reduce)",use_data_ok:"(prefers-reduced-data: no-preference)",use_data_not_ok:"(prefers-reduced-data: reduce)",touch:"(hover: none) and (pointer: coarse)",stylus:"(hover: none) and (pointer: fine)",pointer:"(hover) and (pointer: coarse)",mouse:"(hover) and (pointer: fine)",hd_color:"(dynamic-range: high)"},Ug={DEFAULT:"0.25rem",xs:"0.75rem",sm:"0.875rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},Hg={DEFAULT:"0.25rem",none:"0",xs:"0.125rem",sm:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","4xl":"2rem"},Wg={DEFAULT:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],"2xs":"0 1px rgb(0 0 0 / 0.05)",xs:"0 1px 2px 0 rgb(0 0 0 / 0.05)",sm:["0 1px 3px 0 rgb(0 0 0 / 0.1)","0 1px 2px -1px rgb(0 0 0 / 0.1)"],md:["0 4px 6px -1px rgb(0 0 0 / 0.1)","0 2px 4px -2px rgb(0 0 0 / 0.1)"],lg:["0 10px 15px -3px rgb(0 0 0 / 0.1)","0 4px 6px -4px rgb(0 0 0 / 0.1)"],xl:["0 20px 25px -5px rgb(0 0 0 / 0.1)","0 8px 10px -6px rgb(0 0 0 / 0.1)"],"2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",none:"0 0 rgb(0 0 0 / 0)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"},Bg={"2xs":"inset 0 1px rgb(0 0 0 / 0.05)",xs:"inset 0 1px 1px rgb(0 0 0 / 0.05)",sm:"inset 0 2px 4px rgb(0 0 0 / 0.05)",none:"0 0 rgb(0 0 0 / 0)"},Kg={DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],xs:"0 1px 1px rgb(0 0 0 / 0.05)",sm:"0 1px 2px rgb(0 0 0 / 0.15)",md:"0 3px 3px rgb(0 0 0 / 0.12)",lg:"0 4px 4px rgb(0 0 0 / 0.15)",xl:"0 9px 7px rgb(0 0 0 / 0.1)","2xl":"0 25px 25px rgb(0 0 0 / 0.15)"},Gg={none:"0 0 rgb(0 0 0 / 0)","2xs":"0 1px 0 rgb(0 0 0 / 0.15)",xs:"0 1px 1px rgb(0 0 0 / 0.2)",sm:["0 1px 0 rgb(0 0 0 / 0.075)","0 1px 1px rgb(0 0 0 / 0.075)","0 2px 2px rgb(0 0 0 / 0.075)"],md:["0 1px 1px rgb(0 0 0 / 0.1)","0 1px 2px rgb(0 0 0 / 0.1)","0 2px 4px rgb(0 0 0 / 0.1)"],lg:["0 1px 2px rgb(0 0 0 / 0.1)","0 3px 2px rgb(0 0 0 / 0.1)","0 4px 8px rgb(0 0 0 / 0.1)"]},Jg={dramatic:"100px",near:"300px",normal:"500px",midrange:"800px",distant:"1200px"},Xg={transition:{duration:"150ms",timingFunction:"cubic-bezier(0.4, 0, 0.2, 1)"},font:{family:"var(--font-sans)",featureSettings:"var(--font-sans--font-feature-settings)",variationSettings:"var(--font-sans--font-variation-settings)"},monoFont:{family:"var(--font-mono)",featureSettings:"var(--font-mono--font-feature-settings)",variationSettings:"var(--font-mono--font-variation-settings)"}},Yg={"3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",prose:"65ch"},kl={sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},Qg={...kl},Zg={grid:"(display: grid)"},ey={linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)",DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)"},ty={none:"none",all:"all",colors:["color","background-color","border-color","text-decoration-color","fill","stroke","--un-gradient-from","--un-gradient-via","--un-gradient-to"].join(","),opacity:"opacity",shadow:"box-shadow",transform:["transform","translate","scale","rotate"].join(","),get DEFAULT(){return[this.colors,this.opacity,this.shadow,this.transform,"filter","-webkit-backdrop-filter","backdrop-filter"].join(",")}},ry={font:Mg,colors:wl,spacing:Ug,breakpoint:kl,verticalBreakpoint:Qg,text:Fg,fontWeight:zg,tracking:Lg,leading:qg,textStrokeWidth:Dg,radius:Hg,shadow:Wg,insetShadow:Bg,dropShadow:Kg,textShadow:Gg,ease:ey,animation:Ag,blur:Ig,perspective:Jg,property:ty,default:Xg,container:Yg,aria:Ng,media:Vg,supports:Zg},ny=[[/^@container(?:\/(\w+))?(?:-(normal))?$/,([,e,t])=>({"container-type":t??"inline-size","container-name":e})]],oy=/@media \(min-width: (.+)\)/,iy=[[/^__container$/,(e,t)=>{const{theme:r,variantHandlers:n}=t,o=r.containers?.padding;let i;le(o)?i=o:i=o?.DEFAULT;const s=r.containers?.maxWidth;let a;for(const u of n){const l=u.handle?.({},d=>d)?.parent;if(le(l)){const d=l.match(oy)?.[1];if(d){const m=(En(t)??[]).find(v=>v.size===d)?.point;s?m&&(a=s?.[m]):a=d,m&&!le(o)&&(i=o?.[m]??i)}}}const c={"max-width":a};return n.length||(c.width="100%"),r.containers?.center&&(c["margin-left"]="auto",c["margin-right"]="auto"),o&&(c["padding-left"]=i,c["padding-right"]=i),c},{internal:!0}]],sy=[[/^(?:(\w+)[:-])?container$/,([,e],t)=>{let r=(En(t)??[]).map(o=>o.point);if(e){if(!r.includes(e))return;r=r.slice(r.indexOf(e))}const n=r.map(o=>`${o}:__container`);return e||n.unshift("__container"),n}]],ay=[...sy],_a={mid:"middle",base:"baseline",btm:"bottom",baseline:"baseline",top:"top",start:"top",middle:"middle",bottom:"bottom",end:"bottom","text-top":"text-top","text-bottom":"text-bottom",sub:"sub",super:"super",...Object.fromEntries(fe.map(e=>[e,e]))},cy=[[/^(?:vertical|align|v)-(.+)$/,([,e])=>({"vertical-align":_a[e]??C.bracket.cssvar.numberWithUnit(e)}),{autocomplete:[`(vertical|align|v)-(${Object.keys(_a).join("|")})`,"(vertical|align|v)-<percentage>"]}]],xa=["center","left","right","justify","start","end"],ly=[...xa.map(e=>[`text-${e}`,{"text-align":e}]),...[...fe,...xa].map(e=>[`text-align-${e}`,{"text-align":e}])],uy=[[/^(?:animate-)?keyframes-(.+)$/,([,e],{theme:t})=>{const r=t.animation?.keyframes?.[e];if(r)return[`@keyframes ${e}${r}`,{animation:e}]},{autocomplete:["animate-keyframes-$animation.keyframes","keyframes-$animation.keyframes"]}],[/^animate-(.+)$/,([,e],{theme:t})=>{const r=t.animation?.keyframes?.[e];if(r){const n=t.animation?.durations?.[e]??"1s",o=t.animation?.timingFns?.[e]??"linear",i=t.animation?.counts?.[e]??1,s=t.animation?.properties?.[e];return[`@keyframes ${e}${r}`,{animation:`${e} ${n} ${o} ${i}`,...s}]}return{animation:C.bracket.cssvar(e)}},{autocomplete:"animate-$animation.keyframes"}],[/^animate-name-(.+)/,([,e])=>({"animation-name":C.bracket.cssvar(e)??e})],[/^animate-duration-(.+)$/,([,e],{theme:t})=>({"animation-duration":t.duration?.[e||"DEFAULT"]??C.bracket.cssvar.time(e)}),{autocomplete:["animate-duration"]}],[/^animate-delay-(.+)$/,([,e],{theme:t})=>({"animation-delay":t.duration?.[e||"DEFAULT"]??C.bracket.cssvar.time(e)}),{autocomplete:["animate-delay"]}],[/^animate-ease(?:-(.+))?$/,([,e],{theme:t})=>({"animation-timing-function":t.ease?.[e||"DEFAULT"]??C.bracket.cssvar(e)}),{autocomplete:["animate-ease","animate-ease-$ease"]}],[/^animate-(fill-mode-|fill-|mode-)?(.+)$/,([,e,t])=>["none","forwards","backwards","both",e?fe:[]].includes(t)?{"animation-fill-mode":t}:void 0,{autocomplete:["animate-(fill|mode|fill-mode)","animate-(fill|mode|fill-mode)-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)","animate-(none|forwards|backwards|both|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(direction-)?(.+)$/,([,e,t])=>["normal","reverse","alternate","alternate-reverse",e?fe:[]].includes(t)?{"animation-direction":t}:void 0,{autocomplete:["animate-direction","animate-direction-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)","animate-(normal|reverse|alternate|alternate-reverse|inherit|initial|revert|revert-layer|unset)"]}],[/^animate-(?:iteration-count-|iteration-|count-)(.+)$/,([,e])=>({"animation-iteration-count":C.bracket.cssvar(e)??e.replace(/-/g,",")}),{autocomplete:["animate-(iteration|count|iteration-count)","animate-(iteration|count|iteration-count)-<num>"]}],[/^animate-(play-state-|play-|state-)?(.+)$/,([,e,t])=>["paused","running",e?fe:[]].includes(t)?{"animation-play-state":t}:void 0,{autocomplete:["animate-(play|state|play-state)","animate-(play|state|play-state)-(paused|running|inherit|initial|revert|revert-layer|unset)","animate-(paused|running|inherit|initial|revert|revert-layer|unset)"]}],["animate-none",{animation:"none"}],...Z("animate","animation")],_l={"gradient-position":U("--un-gradient-position"),"gradient-from":U("--un-gradient-from",{syntax:"<color>",initialValue:"#0000"}),"gradient-via":U("--un-gradient-via",{syntax:"<color>",initialValue:"#0000"}),"gradient-to":U("--un-gradient-to",{syntax:"<color>",initialValue:"#0000"}),"gradient-stops":U("--un-gradient-stops"),"gradient-via-stops":U("--un-gradient-via-stops"),"gradient-from-position":U("--un-gradient-from-position",{syntax:"<length-percentage>",initialValue:"0%"}),"gradient-via-position":U("--un-gradient-via-position",{syntax:"<length-percentage>",initialValue:"50%"}),"gradient-to-position":U("--un-gradient-to-position",{syntax:"<length-percentage>",initialValue:"100%"})};function Sa(e){let t="in oklab";if(e)if(e.startsWith("[")&&e.endsWith("]"))t=e.slice(1,-1);else switch(e){case"longer":case"shorter":case"increasing":case"decreasing":t=`in oklch ${e} hue`;break;default:t=`in ${e}`}return t}function fy(){return function*([,e,t],{theme:r}){const n={},o=Sn(t,r);if(o){const{color:i,keys:s,alpha:a}=o;if(i){if(Object.values(xn).includes(i))n[`--un-gradient-${e}`]=i;else{n[`--un-${e}-opacity`]=a;const c=s?ue("colors",s):i;n[`--un-gradient-${e}`]=`color-mix(in oklab, ${c} var(--un-${e}-opacity), transparent)`,yield U(`--un-${e}-opacity`,{syntax:"<percentage>",initialValue:"100%"})}s&&Y("colors",s),r&&Cn(i,r)}}else n[`--un-gradient-${e}`]=C.bracket.cssvar(t);if(n[`--un-gradient-${e}`]){switch(e){case"from":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"via":yield{...n,"--un-gradient-via-stops":"var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-via) var(--un-gradient-via-position), var(--un-gradient-to) var(--un-gradient-to-position)","--un-gradient-stops":"var(--un-gradient-via-stops)"};break;case"to":yield{...n,"--un-gradient-stops":"var(--un-gradient-via-stops, var(--un-gradient-position), var(--un-gradient-from) var(--un-gradient-from-position), var(--un-gradient-to) var(--un-gradient-to-position))"};break;case"stops":yield{...n};break}for(const i of Object.values(_l))yield i}}}function dy(){return function*([,e,t]){yield{[`--un-gradient-${e}-position`]:`${C.bracket.cssvar.percent(t)}`};for(const r of Object.values(_l))yield r}}const py=[[/^bg-(linear|radial|conic)-([^/]+)(?:\/(.+))?$/,([,e,t,r])=>{let n;if(C.number(t)!=null?n=`from ${C.number(t)}deg ${Sa(r)};`:n=C.bracket(t),n)return{"--un-gradient-position":n,"background-image":`${e}-gradient(var(--un-gradient-stops))`}},{autocomplete:["bg-(linear|radial|conic)","(from|to|via)-$colors","(from|to|via)-(op|opacity)","(from|to|via)-(op|opacity)-<percent>"]}],[/^(from|via|to|stops)-(.+)$/,fy()],[/^(from|via|to)-op(?:acity)?-?(.+)$/,([,e,t])=>({[`--un-${e}-opacity`]:C.bracket.percent(t)})],[/^(from|via|to)-([\d.]+%)$/,dy()],[/^bg-((?:repeating-)?(?:linear|radial|conic))$/,([,e])=>({"background-image":`${e}-gradient(var(--un-gradient, var(--un-gradient-stops, rgb(255 255 255 / 0))))`}),{autocomplete:["bg-gradient-repeating","bg-gradient-(linear|radial|conic)","bg-gradient-repeating-(linear|radial|conic)"]}],[/^bg-(linear|radial|conic)(?:-to-([rltb]{1,2}))?(?:\/(.+))?$/,([,e,t,r])=>({"--un-gradient-position":`${t in _e?`to ${_e[t]} `:" "}${Sa(r)}`,"background-image":`${e}-gradient(var(--un-gradient-stops))`}),{autocomplete:`bg-gradient-to-(${Object.keys(_e).filter(e=>e.length<=2&&Array.from(e).every(t=>"rltb".includes(t))).join("|")})`}],["bg-none",{"background-image":"none"}],["box-decoration-slice",{"box-decoration-break":"slice"}],["box-decoration-clone",{"box-decoration-break":"clone"}],...Z("box-decoration","box-decoration-break"),["bg-auto",{"background-size":"auto"}],["bg-cover",{"background-size":"cover"}],["bg-contain",{"background-size":"contain"}],["bg-fixed",{"background-attachment":"fixed"}],["bg-local",{"background-attachment":"local"}],["bg-scroll",{"background-attachment":"scroll"}],["bg-clip-border",{"-webkit-background-clip":"border-box","background-clip":"border-box"}],["bg-clip-content",{"-webkit-background-clip":"content-box","background-clip":"content-box"}],["bg-clip-padding",{"-webkit-background-clip":"padding-box","background-clip":"padding-box"}],["bg-clip-text",{"-webkit-background-clip":"text","background-clip":"text"}],...fe.map(e=>[`bg-clip-${e}`,{"-webkit-background-clip":e,"background-clip":e}]),[/^bg-([-\w]{3,})$/,([,e])=>({"background-position":_e[e]})],["bg-repeat",{"background-repeat":"repeat"}],["bg-no-repeat",{"background-repeat":"no-repeat"}],["bg-repeat-x",{"background-repeat":"repeat-x"}],["bg-repeat-y",{"background-repeat":"repeat-y"}],["bg-repeat-round",{"background-repeat":"round"}],["bg-repeat-space",{"background-repeat":"space"}],...Z("bg-repeat","background-repeat"),["bg-origin-border",{"background-origin":"border-box"}],["bg-origin-padding",{"background-origin":"padding-box"}],["bg-origin-content",{"background-origin":"content-box"}],...Z("bg-origin","background-origin")],Ea=[[/^outline-(?:width-|size-)?(.+)$/,xl,{autocomplete:"outline-(width|size)-<num>"}],[/^outline-(?:color-)?(.+)$/,hy,{autocomplete:"outline-$colors"}],[/^outline-op(?:acity)?-?(.+)$/,([,e])=>({"--un-outline-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"outline-(op|opacity)-<percent>"}],[/^outline-offset-(.+)$/,([,e])=>({"outline-offset":C.bracket.cssvar.global.px(e)}),{autocomplete:"outline-(offset)-<num>"}],["outline-offset-none",{"outline-offset":"0"}],["outline",[{"outline-style":"var(--un-outline-style)","outline-width":"1px"},U("--un-outline-style",{initialValue:"solid"})]],["outline-hidden",[{"outline-style":"none"},{[ve.parent]:"@media (forced-colors: active)",outline:"2px solid transparent","outline-offset":"2px"}]],["outline-none",{"--un-outline-style":"none","outline-style":"none"}],...["auto","dashed","dotted","double","solid","groove","ridge","inset","outset",...fe].map(e=>[`outline-${e}`,{"--un-outline-style":e,"outline-style":e}])];function*xl([,e]){const t=C.bracket.cssvar.global.px(e);t!=null&&(yield{"outline-style":"var(--un-outline-style)","outline-width":t},yield U("--un-outline-style",{initialValue:"solid"}))}function*hy(e,t){if(Gt(C.bracket(e[1])))yield*xl(e);else{const r=de("outline-color","outline")(e,t);if(r)for(const n of r)yield n}}const my=[["appearance-auto",{"-webkit-appearance":"auto",appearance:"auto"}],["appearance-none",{"-webkit-appearance":"none",appearance:"none"}]];function gy(e){const t=C.bracket(e);return t&&C.properties(t)?t:C.properties.auto.cssvar.global(e)??{contents:"contents",scroll:"scroll-position"}[e]}const Ca=[[/^will-change-(.+)/,([,e])=>({"will-change":gy(e)})]],to={disc:"disc",circle:"circle",square:"square",decimal:"decimal","zero-decimal":"decimal-leading-zero",greek:"lower-greek",roman:"lower-roman","upper-roman":"upper-roman",alpha:"lower-alpha","upper-alpha":"upper-alpha",latin:"lower-latin","upper-latin":"upper-latin"},yy=[[/^list-(.+?)(?:-(outside|inside))?$/,([,e,t])=>{const r=to[e];if(r)return t?{"list-style-position":t,"list-style-type":r}:{"list-style-type":r}},{autocomplete:[`list-(${Object.keys(to).join("|")})`,`list-(${Object.keys(to).join("|")})-(outside|inside)`]}],["list-outside",{"list-style-position":"outside"}],["list-inside",{"list-style-position":"inside"}],["list-none",{"list-style-type":"none"}],[/^list-image-(.+)$/,([,e])=>{if(/^\[url\(.+\)\]$/.test(e))return{"list-style-image":C.bracket(e)}}],["list-image-none",{"list-style-image":"none"}],...Z("list","list-style-type")],by=[[/^accent-(.+)$/,de("accent-color","accent"),{autocomplete:"accent-$colors"}],[/^accent-op(?:acity)?-?(.+)$/,([,e])=>({"--un-accent-opacity":C.bracket.percent(e)}),{autocomplete:["accent-(op|opacity)","accent-(op|opacity)-<percent>"]}]],vy=[[/^caret-(.+)$/,de("caret-color","caret"),{autocomplete:"caret-$colors"}],[/^caret-op(?:acity)?-?(.+)$/,([,e])=>({"--un-caret-opacity":C.bracket.percent(e)}),{autocomplete:["caret-(op|opacity)","caret-(op|opacity)-<percent>"]}]],$y=[["image-render-auto",{"image-rendering":"auto"}],["image-render-edge",{"image-rendering":"crisp-edges"}],["image-render-pixel",[["-ms-interpolation-mode","nearest-neighbor"],["image-rendering","-webkit-optimize-contrast"],["image-rendering","-moz-crisp-edges"],["image-rendering","-o-pixelated"],["image-rendering","pixelated"]]]],wy=[["overscroll-auto",{"overscroll-behavior":"auto"}],["overscroll-contain",{"overscroll-behavior":"contain"}],["overscroll-none",{"overscroll-behavior":"none"}],...Z("overscroll","overscroll-behavior"),["overscroll-x-auto",{"overscroll-behavior-x":"auto"}],["overscroll-x-contain",{"overscroll-behavior-x":"contain"}],["overscroll-x-none",{"overscroll-behavior-x":"none"}],...Z("overscroll-x","overscroll-behavior-x"),["overscroll-y-auto",{"overscroll-behavior-y":"auto"}],["overscroll-y-contain",{"overscroll-behavior-y":"contain"}],["overscroll-y-none",{"overscroll-behavior-y":"none"}],...Z("overscroll-y","overscroll-behavior-y")],ky=[["scroll-auto",{"scroll-behavior":"auto"}],["scroll-smooth",{"scroll-behavior":"smooth"}],...Z("scroll","scroll-behavior")],rt=["solid","dashed","dotted","double","hidden","none","groove","ridge","inset","outset",...fe],_y=[[/^(?:border|b)()(?:-(.+))?$/,Te,{autocomplete:"(border|b)-<directions>"}],[/^(?:border|b)-([xy])(?:-(.+))?$/,Te],[/^(?:border|b)-([rltbse])(?:-(.+))?$/,Te],[/^(?:border|b)-(block|inline)(?:-(.+))?$/,Te],[/^(?:border|b)-([bi][se])(?:-(.+))?$/,Te],[/^(?:border|b)-()(?:width|size)-(.+)$/,Te,{autocomplete:["(border|b)-<num>","(border|b)-<directions>-<num>"]}],[/^(?:border|b)-([xy])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-([rltbse])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-(block|inline)-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-([bi][se])-(?:width|size)-(.+)$/,Te],[/^(?:border|b)-()(?:color-)?(.+)$/,Ot,{autocomplete:["(border|b)-$colors","(border|b)-<directions>-$colors"]}],[/^(?:border|b)-([xy])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-([rltbse])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-(block|inline)-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-([bi][se])-(?:color-)?(.+)$/,Ot],[/^(?:border|b)-()op(?:acity)?-?(.+)$/,Rt,{autocomplete:"(border|b)-(op|opacity)-<percent>"}],[/^(?:border|b)-([xy])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-([rltbse])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-(block|inline)-op(?:acity)?-?(.+)$/,Rt],[/^(?:border|b)-([bi][se])-op(?:acity)?-?(.+)$/,Rt],[/^(?:border-|b-)?(?:rounded|rd)()(?:-(.+))?$/,Tt,{autocomplete:["(border|b)-(rounded|rd)","(border|b)-(rounded|rd)-$radius","(rounded|rd)","(rounded|rd)-$radius"]}],[/^(?:border-|b-)?(?:rounded|rd)-([rltbse])(?:-(.+))?$/,Tt],[/^(?:border-|b-)?(?:rounded|rd)-([rltb]{2})(?:-(.+))?$/,Tt],[/^(?:border-|b-)?(?:rounded|rd)-([bise][se])(?:-(.+))?$/,Tt],[/^(?:border-|b-)?(?:rounded|rd)-([bi][se]-[bi][se])(?:-(.+))?$/,Tt],[/^(?:border|b)-(?:style-)?()(.+)$/,At,{autocomplete:["(border|b)-style",`(border|b)-(${rt.join("|")})`,"(border|b)-<directions>-style",`(border|b)-<directions>-(${rt.join("|")})`,`(border|b)-<directions>-style-(${rt.join("|")})`,`(border|b)-style-(${rt.join("|")})`]}],[/^(?:border|b)-([xy])-(?:style-)?(.+)$/,At],[/^(?:border|b)-([rltbse])-(?:style-)?(.+)$/,At],[/^(?:border|b)-(block|inline)-(?:style-)?(.+)$/,At],[/^(?:border|b)-([bi][se])-(?:style-)?(.+)$/,At]];function xy(e){return([,t],r)=>{const n=Sn(t,r.theme),o=yl(n,`border${e}-color`,`border${e}`,r);if(o){const i=o[0];return n?.color&&!Object.values(xn).includes(n.color)&&!n.alpha&&e&&e!==""&&(i[`--un-border${e}-opacity`]="var(--un-border-opacity)"),o}}}function Te([,e="",t="1"]){const r=C.bracket.cssvar.global.px(t);if(e in Ee&&r!=null)return Ee[e].map(n=>[`border${n}-width`,r])}function Ot([,e="",t],r){if(e in Ee){if(Gt(C.bracket(t)))return Te(["",e,t]);if(Ht(t,r.theme)){const n=Ee[e].map(o=>xy(o)(["",t],r)).filter(Ur);return[n.map(o=>o[0]).reduce((o,i)=>(Object.assign(o,i),o),{}),...n.flatMap(o=>o.slice(1))]}}}function Rt([,e="",t]){const r=C.bracket.percent.cssvar(t);if(e in Ee&&r!=null)return Ee[e].map(n=>[`--un-border${n}-opacity`,r])}function Tt([,e="",t="DEFAULT"],{theme:r}){if(e in Wr){if(t==="full")return Wr[e].map(o=>[`border${o}-radius`,"calc(infinity * 1px)"]);const n=r.radius?.[t]??C.bracket.cssvar.global.fraction.rem(t);if(n!=null){const o=r.radius&&t in r.radius;return o&&Y("radius",t),Wr[e].map(i=>[`border${i}-radius`,o?ue("radius",t):n])}}}function At([,e="",t]){if(rt.includes(t)&&e in Ee)return[["--un-border-style",t],...Ee[e].map(r=>[`border${r}-style`,t])]}const Sy=[[/^op(?:acity)?-?(.+)$/,([,e])=>({opacity:C.bracket.percent.cssvar(e)})]],Ey=/^\[url\(.+\)\]$/,Cy=/^\[(?:length|size):.+\]$/,jy=/^\[position:.+\]$/,Py=/^\[(?:linear|conic|radial)-gradient\(.+\)\]$/,Oy=/^\[image:.+\]$/,Ry=[[/^bg-(.+)$/,(...e)=>{const t=e[0][1];if(Ey.test(t))return{"--un-url":C.bracket(t),"background-image":"var(--un-url)"};if(Cy.test(t)&&C.bracketOfLength(t)!=null)return{"background-size":C.bracketOfLength(t).split(" ").map(r=>C.fraction.auto.px.cssvar(r)??r).join(" ")};if((L0(t)||jy.test(t))&&C.bracketOfPosition(t)!=null)return{"background-position":C.bracketOfPosition(t).split(" ").map(r=>C.position.fraction.auto.px.cssvar(r)??r).join(" ")};if(Py.test(t)||Oy.test(t)){const r=C.bracket(t);if(r)return{"background-image":(r.startsWith("http")?`url(${r})`:C.cssvar(r))??r}}return de("background-color","bg")(...e)},{autocomplete:"bg-$colors"}],[/^bg-op(?:acity)?-?(.+)$/,([,e])=>({"--un-bg-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"bg-(op|opacity)-<percent>"}]],Ty=[[/^(?:color-)?scheme-(.+)$/,([,e])=>({"color-scheme":e.split("-").join(" ")})]],Ay=[[/^columns-(.+)$/,([,e])=>({columns:C.bracket.global.number.auto.numberWithUnit(e)}),{autocomplete:"columns-<num>"}],["break-before-auto",{"break-before":"auto"}],["break-before-avoid",{"break-before":"avoid"}],["break-before-all",{"break-before":"all"}],["break-before-avoid-page",{"break-before":"avoid-page"}],["break-before-page",{"break-before":"page"}],["break-before-left",{"break-before":"left"}],["break-before-right",{"break-before":"right"}],["break-before-column",{"break-before":"column"}],...Z("break-before"),["break-inside-auto",{"break-inside":"auto"}],["break-inside-avoid",{"break-inside":"avoid"}],["break-inside-avoid-page",{"break-inside":"avoid-page"}],["break-inside-avoid-column",{"break-inside":"avoid-column"}],...Z("break-inside"),["break-after-auto",{"break-after":"auto"}],["break-after-avoid",{"break-after":"avoid"}],["break-after-all",{"break-after":"all"}],["break-after-avoid-page",{"break-after":"avoid-page"}],["break-after-page",{"break-after":"page"}],["break-after-left",{"break-after":"left"}],["break-after-right",{"break-after":"right"}],["break-after-column",{"break-after":"column"}],...Z("break-after")],ja=["solid","double","dotted","dashed","wavy",...fe],Ny=[[/^(?:decoration-)?(underline|overline|line-through)$/,([,e])=>({"text-decoration-line":e}),{autocomplete:"decoration-(underline|overline|line-through)"}],[/^(?:underline|decoration)-(?:size-)?(.+)$/,Sl,{autocomplete:"(underline|decoration)-<num>"}],[/^(?:underline|decoration)-(auto|from-font)$/,([,e])=>({"text-decoration-thickness":e}),{autocomplete:"(underline|decoration)-(auto|from-font)"}],[/^(?:underline|decoration)-(.+)$/,Iy,{autocomplete:"(underline|decoration)-$colors"}],[/^(?:underline|decoration)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-line-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"(underline|decoration)-(op|opacity)-<percent>"}],[/^(?:underline|decoration)-offset-(.+)$/,([,e])=>({"text-underline-offset":C.auto.bracket.cssvar.global.px(e)}),{autocomplete:"(underline|decoration)-(offset)-<num>"}],...ja.map(e=>[`underline-${e}`,{"text-decoration-style":e}]),...ja.map(e=>[`decoration-${e}`,{"text-decoration-style":e}]),["no-underline",{"text-decoration":"none"}],["decoration-none",{"text-decoration":"none"}]];function Sl([,e]){return{"text-decoration-thickness":C.bracket.cssvar.global.px(e)}}function Iy(e,t){if(Gt(C.bracket(e[1])))return Sl(e);const r=de("text-decoration-color","line")(e,t);if(r){const n=r[0];return n["-webkit-text-decoration-color"]=n["text-decoration-color"],r}}const My=[[/^pa?()-?(.+)$/,ce("padding"),{autocomplete:["(m|p)<num>","(m|p)-<num>"]}],[/^p-?xy()()$/,ce("padding"),{autocomplete:"(m|p)-(xy)"}],[/^p-?([xy])(?:-?(.+))?$/,ce("padding")],[/^p-?([rltbse])(?:-?(.+))?$/,ce("padding"),{autocomplete:"(m|p)<directions>-<num>"}],[/^p-(block|inline)(?:-(.+))?$/,ce("padding"),{autocomplete:"(m|p)-(block|inline)-<num>"}],[/^p-?([bi][se])(?:-?(.+))?$/,ce("padding"),{autocomplete:"(m|p)-(bs|be|is|ie)-<num>"}]],Fy=[[/^ma?()-?(.+)$/,ce("margin")],[/^m-?xy()()$/,ce("margin")],[/^m-?([xy])(?:-?(.+))?$/,ce("margin")],[/^m-?([rltbse])(?:-?(.+))?$/,ce("margin")],[/^m-(block|inline)(?:-(.+))?$/,ce("margin")],[/^m-?([bi][se])(?:-?(.+))?$/,ce("margin")]],zy=[[/^space-([xy])-(.+)$/,Ly,{autocomplete:["space-(x|y)","space-(x|y)-reverse","space-(x|y)-$spacing"]}],[/^space-([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:nt,[`--un-space-${e}-reverse`]:"1"},yield U(`--un-space-${e}-reverse`,{initialValue:0})}]];function nt(e){const t=">:not(:last-child)";return e.includes(t)?e:`${e}${t}`}function*Ly([,e,t],{theme:r,symbols:n}){let o;const i=Ce(t);if(i!=null?(Y("spacing"),o=`calc(var(--spacing) * ${i})`):o=r.spacing?.[t]??C.bracket.cssvar.auto.fraction.rem(t||"1"),o!=null){const s=Ee[e==="x"?"inline":"block"].map((a,c)=>{const u=`margin${a}`,l=` calc(${o} * ${c===0?`var(--un-space-${e}-reverse)`:`calc(1 - var(--un-space-${e}-reverse))`})`;return[u,l]});s&&(yield{[n.selector]:nt,[`--un-space-${e}-reverse`]:"0",...Object.fromEntries(s)},yield U(`--un-space-${e}-reverse`,{initialValue:0}))}}const qy=[[/^divide-(.+)$/,function*(e,t){const r=de("border-color","divide")(e,t);r&&(yield{[t.symbols.selector]:nt,...r[0]},yield r[1])},{autocomplete:"divide-$colors"}],[/^divide-op(?:acity)?-?(.+)$/,function*([,e],{symbols:t}){yield{[t.selector]:nt,"--un-divide-opacity":C.bracket.percent(e)}},{autocomplete:["divide-(op|opacity)","divide-(op|opacity)-<percent>"]}],[/^divide-?([xy])$/,Pa,{autocomplete:["divide-(x|y)","divide-(x|y)-reverse"]}],[/^divide-?([xy])-?(.+)$/,Pa],[/^divide-?([xy])-reverse$/,function*([,e],{symbols:t}){yield{[t.selector]:nt,[`--un-divide-${e}-reverse`]:"1"},yield U(`--un-divide-${e}-reverse`,{initialValue:0})}],[new RegExp(`^divide-(${rt.join("|")})$`),function*([,e],{symbols:t}){yield{[t.selector]:nt,"border-style":e}},{autocomplete:rt.map(e=>`divide-${e}`)}]];function*Pa([,e,t],{symbols:r}){let n=C.bracket.cssvar.px(t||"1");if(n!=null){n==="0"&&(n="0px");const i={x:["-left","-right"],y:["-top","-bottom"]}[e].map(s=>{const a=s.endsWith("left")||s.endsWith("top")?`calc(${n} * var(--un-divide-${e}-reverse))`:`calc(${n} * calc(1 - var(--un-divide-${e}-reverse)))`;return[[`border${s}-width`,a],[`border${s}-style`,"var(--un-border-style)"]]});i&&(yield{[r.selector]:nt,[`--un-divide-${e}-reverse`]:0,...Object.fromEntries(i.flat())},yield U(`--un-divide-${e}-reverse`,{initialValue:0}),yield U("--un-border-style",{initialValue:"solid"}))}}const El=["blur","brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"],Eo=El.map(e=>U(`--un-${e}`)),ln=El.map(e=>`var(--un-${e},)`).join(" "),Cl=["backdrop-blur","backdrop-brightness","backdrop-contrast","backdrop-grayscale","backdrop-hue-rotate","backdrop-invert","backdrop-opacity","backdrop-saturate","backdrop-sepia"],Dy=Cl.map(e=>U(`--un-${e}`)),un=Cl.map(e=>`var(--un-${e},)`).join(" ");function ro(e){let t=C.bracket.cssvar(e||"");if(t!=null||(t=e?C.percent(e):"100%",t!=null&&Number.parseFloat(t.slice(0,-1))<=100))return t}function Ve(e,t){return([,r,n],{theme:o})=>{const i=t(n,o)??(n==="none"?"0":"");if(i!=="")return r?[{[`--un-${r}${e}`]:`${e}(${i})`,"-webkit-backdrop-filter":un,"backdrop-filter":un},...Dy]:[{[`--un-${e}`]:`${e}(${i})`,filter:ln},...Eo]}}function Vy([,e],{theme:t}){let r=t.dropShadow?.[e||"DEFAULT"];if(r!=null)return[{"--un-drop-shadow":`drop-shadow(${Qo(r,"--un-drop-shadow-color").join(") drop-shadow(")})`,filter:ln},...Eo];if(r=C.bracket.cssvar(e)??(e==="none"?"":void 0),r!=null)return[{"--un-drop-shadow":r&&`drop-shadow(${r})`,filter:ln},...Eo]}const Uy=[[/^(?:(backdrop-)|filter-)?blur(?:-(.+))?$/,Ve("blur",(e,t)=>t.blur?.[e||"DEFAULT"]||C.bracket.cssvar.px(e)),{autocomplete:["(backdrop|filter)-blur-$blur","blur-$blur","filter-blur"]}],[/^(?:(backdrop-)|filter-)?brightness-(.+)$/,Ve("brightness",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-brightness-<percent>","brightness-<percent>"]}],[/^(?:(backdrop-)|filter-)?contrast-(.+)$/,Ve("contrast",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-contrast-<percent>","contrast-<percent>"]}],[/^(?:filter-)?drop-shadow(?:-(.+))?$/,Vy,{autocomplete:["filter-drop","filter-drop-shadow","filter-drop-shadow-color","drop-shadow","drop-shadow-color","filter-drop-shadow-$dropShadow","drop-shadow-$dropShadow","filter-drop-shadow-color-$colors","drop-shadow-color-$colors","filter-drop-shadow-color-(op|opacity)","drop-shadow-color-(op|opacity)","filter-drop-shadow-color-(op|opacity)-<percent>","drop-shadow-color-(op|opacity)-<percent>"]}],[/^(?:filter-)?drop-shadow-color-(.+)$/,de("--un-drop-shadow-color","drop-shadow")],[/^(?:filter-)?drop-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-drop-shadow-opacity":C.bracket.percent(e)})],[/^(?:(backdrop-)|filter-)?grayscale(?:-(.+))?$/,Ve("grayscale",ro),{autocomplete:["(backdrop|filter)-grayscale","(backdrop|filter)-grayscale-<percent>","grayscale-<percent>"]}],[/^(?:(backdrop-)|filter-)?hue-rotate-(.+)$/,Ve("hue-rotate",e=>C.bracket.cssvar.degree(e))],[/^(?:(backdrop-)|filter-)?invert(?:-(.+))?$/,Ve("invert",ro),{autocomplete:["(backdrop|filter)-invert","(backdrop|filter)-invert-<percent>","invert-<percent>"]}],[/^(backdrop-)op(?:acity)?-(.+)$/,Ve("opacity",e=>C.bracket.cssvar.percent(e)),{autocomplete:["backdrop-(op|opacity)","backdrop-(op|opacity)-<percent>"]}],[/^(?:(backdrop-)|filter-)?saturate-(.+)$/,Ve("saturate",e=>C.bracket.cssvar.percent(e)),{autocomplete:["(backdrop|filter)-saturate","(backdrop|filter)-saturate-<percent>","saturate-<percent>"]}],[/^(?:(backdrop-)|filter-)?sepia(?:-(.+))?$/,Ve("sepia",ro),{autocomplete:["(backdrop|filter)-sepia","(backdrop|filter)-sepia-<percent>","sepia-<percent>"]}],["filter",{filter:ln}],["backdrop-filter",{"-webkit-backdrop-filter":un,"backdrop-filter":un}],["filter-none",{filter:"none"}],["backdrop-filter-none",{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}],...fe.map(e=>[`filter-${e}`,{filter:e}]),...fe.map(e=>[`backdrop-filter-${e}`,{"-webkit-backdrop-filter":e,"backdrop-filter":e}])],Hy=[["flex",{display:"flex"}],["inline-flex",{display:"inline-flex"}],["flex-inline",{display:"inline-flex"}],[/^flex-(.*)$/,([,e])=>({flex:C.bracket(e)!=null?C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" "):C.cssvar.fraction(e)})],["flex-1",{flex:"1 1 0%"}],["flex-auto",{flex:"1 1 auto"}],["flex-initial",{flex:"0 1 auto"}],["flex-none",{flex:"none"}],[/^(?:flex-)?shrink(?:-(.*))?$/,([,e=""])=>({"flex-shrink":C.bracket.cssvar.number(e)??1}),{autocomplete:["flex-shrink-<num>","shrink-<num>"]}],[/^(?:flex-)?grow(?:-(.*))?$/,([,e=""])=>({"flex-grow":C.bracket.cssvar.number(e)??1}),{autocomplete:["flex-grow-<num>","grow-<num>"]}],[/^(?:flex-)?basis-(.+)$/,([,e])=>{const t=Ce(e);return t!=null?(Y("spacing"),{"flex-basis":`calc(var(--spacing) * ${t})`}):{"flex-basis":C.bracket.cssvar.auto.fraction.rem(e)}},{autocomplete:["flex-basis-$spacing","basis-$spacing"]}],["flex-row",{"flex-direction":"row"}],["flex-row-reverse",{"flex-direction":"row-reverse"}],["flex-col",{"flex-direction":"column"}],["flex-col-reverse",{"flex-direction":"column-reverse"}],["flex-wrap",{"flex-wrap":"wrap"}],["flex-wrap-reverse",{"flex-wrap":"wrap-reverse"}],["flex-nowrap",{"flex-wrap":"nowrap"}]],Oa={"":"",x:"column-",y:"row-",col:"column-",row:"row-"};function no([,e="",t]){const r=Ce(t);return r!=null?(Y("spacing"),{[`${Oa[e]}gap`]:`calc(var(--spacing) * ${r})`}):{[`${Oa[e]}gap`]:C.bracket.cssvar.global.rem(t)}}const Wy=[[/^(?:flex-|grid-)?gap-?()(.+)$/,no,{autocomplete:["gap-$spacing","gap-<num>"]}],[/^(?:flex-|grid-)?gap-([xy])-?(.+)$/,no,{autocomplete:["gap-(x|y)-$spacing","gap-(x|y)-<num>"]}],[/^(?:flex-|grid-)?gap-(col|row)-?(.+)$/,no,{autocomplete:["gap-(col|row)-$spacing","gap-(col|row)-<num>"]}]];function Me(e){return e.replace("col","column")}function By(e){switch(e){case"min":return"min-content";case"max":return"max-content";case"fr":return"minmax(0,1fr)"}return C.bracket.cssvar.auto.rem(e)}const Ky=[["grid",{display:"grid"}],["inline-grid",{display:"inline-grid"}],[/^(?:grid-)?(row|col)-(.+)$/,([,e,t])=>({[`grid-${Me(e)}`]:C.bracket.number.cssvar.auto(t)})],[/^(?:grid-)?(row|col)-span-(.+)$/,([,e,t])=>{if(t==="full")return{[`grid-${Me(e)}`]:"1/-1"};const r=C.bracket.number.cssvar(t);if(r!=null)return{[`grid-${Me(e)}`]:`span ${r}/span ${r}`}},{autocomplete:"(grid-row|grid-col|row|col)-span-<num>"}],[/^(?:grid-)?(row|col)-start-(.+)$/,([,e,t])=>({[`grid-${Me(e)}-start`]:C.bracket.cssvar(t)??t})],[/^(?:grid-)?(row|col)-end-(.+)$/,([,e,t])=>({[`grid-${Me(e)}-end`]:C.bracket.cssvar(t)??t}),{autocomplete:"(grid-row|grid-col|row|col)-(start|end)-<num>"}],[/^(?:grid-)?auto-(rows|cols)-(.+)$/,([,e,t])=>({[`grid-auto-${Me(e)}`]:By(t)}),{autocomplete:"(grid-auto|auto)-(rows|cols)-<num>"}],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(.+)$/,([,e])=>({"grid-auto-flow":C.bracket.cssvar(e)})],[/^(?:grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)$/,([,e])=>({"grid-auto-flow":Me(e).replace("-"," ")}),{autocomplete:["(grid-auto-flow|auto-flow|grid-flow)-(row|col|dense|row-dense|col-dense)"]}],[/^(?:grid-)?(rows|cols)-(.+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:C.bracket.cssvar(t)})],[/^(?:grid-)?(rows|cols)-minmax-([\w.-]+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:`repeat(auto-fill,minmax(${t},1fr))`})],[/^(?:grid-)?(rows|cols)-(\d+)$/,([,e,t])=>({[`grid-template-${Me(e)}`]:`repeat(${t},minmax(0,1fr))`}),{autocomplete:"(grid-rows|grid-cols|rows|cols)-<num>"}],[/^grid-area(s)?-(.+)$/,([,e,t])=>e!=null?{"grid-template-areas":C.cssvar(t)??t.split("-").map(r=>`"${C.bracket(r)}"`).join(" ")}:{"grid-area":C.bracket.cssvar(t)}],["grid-rows-none",{"grid-template-rows":"none"}],["grid-cols-none",{"grid-template-columns":"none"}],["grid-rows-subgrid",{"grid-template-rows":"subgrid"}],["grid-cols-subgrid",{"grid-template-columns":"subgrid"}]],Lr=["auto","hidden","clip","visible","scroll","overlay",...fe],Gy=[[/^(?:overflow|of)-(.+)$/,([,e])=>Lr.includes(e)?{overflow:e}:void 0,{autocomplete:[`(overflow|of)-(${Lr.join("|")})`,`(overflow|of)-(x|y)-(${Lr.join("|")})`]}],[/^(?:overflow|of)-([xy])-(.+)$/,([,e,t])=>Lr.includes(t)?{[`overflow-${e}`]:t}:void 0]],Jy=[[/^line-clamp-(\d+)$/,([,e])=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":e}),{autocomplete:["line-clamp","line-clamp-(1|2|3|4|5|6|none)"]}],["line-clamp-none",{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"}]],Co={t:["top"],b:["bottom"],l:["left"],r:["right"],x:["left","right"],y:["top","bottom"]},Ra="linear-gradient(#fff, #fff)",Xy={"mask-image":"var(--un-mask-linear), var(--un-mask-radial), var(--un-mask-conic)","mask-composite":"intersect"};function Ta([,e=""]){if(e in Wr)return{"mask-position":e.split("").flatMap(n=>Co[n]).join(" ")};const t=C.bracket.cssvar.global.position(e);if(t!==null)return{"mask-position":t}}function oo([e,t="",r,n],o){const i={...Xy},s=[];if(s.push(...["linear","radial","conic"].map(a=>U(`--un-mask-${a}`,{initialValue:Ra}))),t in Co){i["--un-mask-linear"]="var(--un-mask-left), var(--un-mask-right), var(--un-mask-bottom), var(--un-mask-top)";for(const a of Co[t]){if(i[`--un-mask-${a}`]=`linear-gradient(to ${a}, var(--un-mask-${a}-from-color) var(--un-mask-${a}-from-position), var(--un-mask-${a}-to-color) var(--un-mask-${a}-to-position))`,Ce(n)!=null?(Y("spacing"),i[`--un-mask-${a}-${r}-position`]=`calc(var(--spacing) * ${C.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${a}-${r}-position`]=C.bracket.cssvar.fraction.rem(n),Ht(n,o.theme)){const c=de(`--un-mask-${a}-${r}-color`,So("colors"))([e,n],o);if(c){const[u,...l]=c;Object.assign(i,u),s.push(...l)}}s.push(...["from","to"].flatMap(c=>[U(`--un-mask-${a}-${c}-position`,{syntax:"<length-percentage>",initialValue:c==="from"?"0%":"100%"}),U(`--un-mask-${a}-${c}-color`,{syntax:"<color>",initialValue:c==="from"?"black":"transparent"})]))}s.push(...["top","right","bottom","left"].map(a=>U(`--un-mask-${a}`,{initialValue:Ra})))}else{if(r==null)t==="radial"?(i["--un-mask-radial"]="radial-gradient(var(--un-mask-radial-stops, var(--un-mask-radial-size)))",i["--un-mask-radial-size"]=C.bracket.cssvar.rem(n)):(i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops, var(--un-mask-${t}-position)))`,i[`--un-mask-${t}-position`]=Ce(n)?`calc(1deg * ${C.bracket.cssvar.number(n)})`:C.bracket.cssvar.fraction(n));else{const a={linear:"",radial:"var(--un-mask-radial-shape) var(--un-mask-radial-size) at ",conic:"from "};if(i[`--un-mask-${t}-stops`]=`${a[t]}var(--un-mask-${t}-position), var(--un-mask-${t}-from-color) var(--un-mask-${t}-from-position), var(--un-mask-${t}-to-color) var(--un-mask-${t}-to-position)`,i[`--un-mask-${t}`]=`${t}-gradient(var(--un-mask-${t}-stops))`,Ht(n,o.theme)){const c=de(`--un-mask-${t}-${r}-color`,So("colors"))([e,n],o);if(c){const[u,...l]=c;Object.assign(i,u),s.push(...l)}}else Ce(n)!=null?(Y("spacing"),i[`--un-mask-${t}-${r}-position`]=`calc(var(--spacing) * ${C.bracket.cssvar.fraction.number(n)})`):i[`--un-mask-${t}-${r}-position`]=C.bracket.cssvar.fraction.rem(n)}t==="radial"&&s.push(U("--un-mask-radial-shape",{initialValue:"ellipse"}),U("--un-mask-radial-size",{initialValue:"farthest-corner"})),s.push(...["from","to"].flatMap(a=>[U(`--un-mask-${t}-position`,{initialValue:t==="radial"?"center":"0deg"}),U(`--un-mask-${t}-${a}-position`,{syntax:"<length-percentage>",initialValue:a==="from"?"0%":"100%"}),U(`--un-mask-${t}-${a}-color`,{syntax:"<color>",initialValue:a==="from"?"black":"transparent"})]))}return[i,...s]}function Yy([,e=""]){const t=C.bracket.cssvar.global.fraction.rem(e);if(t!==null)return{"mask-size":t}}const Qy=[["mask-clip-border",{"mask-clip":"border-box"}],["mask-clip-padding",{"mask-clip":"padding-box"}],["mask-clip-content",{"mask-clip":"content-box"}],["mask-clip-fill",{"mask-clip":"fill-box"}],["mask-clip-stroke",{"mask-clip":"stroke-box"}],["mask-clip-view",{"mask-clip":"view-box"}],["mask-no-clip",{"mask-clip":"no-clip"}],["mask-add",{"mask-composite":"add"}],["mask-subtract",{"mask-composite":"subtract"}],["mask-intersect",{"mask-composite":"intersect"}],["mask-exclude",{"mask-composite":"exclude"}],[/^mask-(.+)$/,([,e])=>({"mask-image":C.bracket.cssvar(e)})],[/^mask-(linear|radial|conic|[xytblr])-(from|to)()(?:-(.+))?$/,oo,{autocomplete:["mask-(linear|radial|conic)-(from|to)-$colors","mask-(linear|radial|conic)-(from|to)-<percentage>","mask-(linear|radial|conic)-(from|to)","mask-(linear|radial|conic)-<percent>","mask-(x|y|t|b|l|r)-(from|to)-$colors","mask-(x|y|t|b|l|r)-(from|to)-<percentage>","mask-(x|y|t|b|l|r)-(from|to)","mask-(x|y|t|b|l|r)-<percent>"]}],[/^mask-(linear|radial|conic)-(from|to)?-?(.*)$/,oo],[/^mask-([trblxy])-(from|to)-(.*)$/,oo],["mask-none",{"mask-image":"none"}],["mask-radial-circle",{"--un-mask-radial-shape":"circle"}],["mask-radial-ellipse",{"--un-mask-radial-shape":"ellipse"}],["mask-radial-closest-side",{"--un-mask-radial-size":"closest-side"}],["mask-radial-closest-corner",{"--un-mask-radial-size":"closest-corner"}],["mask-radial-farthest-side",{"--un-mask-radial-size":"farthest-side"}],["mask-radial-farthest-corner",{"--un-mask-radial-size":"farthest-corner"}],[/^mask-radial-at-([-\w]{3,})$/,([,e])=>({"--un-mask-radial-position":_e[e]}),{autocomplete:[`mask-radial-at-(${Object.keys(_e).filter(e=>e.length>2).join("|")})`]}],["mask-alpha",{"mask-mode":"alpha"}],["mask-luminance",{"mask-mode":"luminance"}],["mask-match",{"mask-mode":"match-source"}],["mask-origin-border",{"mask-origin":"border-box"}],["mask-origin-padding",{"mask-origin":"padding-box"}],["mask-origin-content",{"mask-origin":"content-box"}],["mask-origin-fill",{"mask-origin":"fill-box"}],["mask-origin-stroke",{"mask-origin":"stroke-box"}],["mask-origin-view",{"mask-origin":"view-box"}],[/^mask-([rltb]{1,2})$/,Ta],[/^mask-([-\w]{3,})$/,([,e])=>({"mask-position":_e[e]})],[/^mask-(?:position-|pos-)(.+)$/,Ta],["mask-repeat",{"mask-repeat":"repeat"}],["mask-no-repeat",{"mask-repeat":"no-repeat"}],["mask-repeat-x",{"mask-repeat":"repeat-x"}],["mask-repeat-y",{"mask-repeat":"repeat-y"}],["mask-repeat-space",{"mask-repeat":"space"}],["mask-repeat-round",{"mask-repeat":"round"}],["mask-auto",{"mask-size":"auto"}],["mask-cover",{"mask-size":"cover"}],["mask-contain",{"mask-size":"contain"}],[/^mask-size-(.+)$/,Yy],["mask-type-luminance",{"mask-type":"luminance"}],["mask-type-alpha",{"mask-type":"alpha"}]],Zy=[[/^\$ placeholder-(.+)$/,de("color","placeholder"),{autocomplete:"placeholder-$colors"}],[/^\$ placeholder-op(?:acity)?-?(.+)$/,([,e])=>({"--un-placeholder-opacity":C.bracket.percent(e)}),{autocomplete:["placeholder-(op|opacity)","placeholder-(op|opacity)-<percent>"]}]],eb=[[/^(?:position-|pos-)?(relative|absolute|fixed|sticky)$/,([,e])=>({position:e}),{autocomplete:["(position|pos)-<position>","(position|pos)-<globalKeyword>","<position>"]}],[/^(?:position-|pos-)([-\w]+)$/,([,e])=>fe.includes(e)?{position:e}:void 0],[/^(?:position-|pos-)?(static)$/,([,e])=>({position:e})]],jl=[["justify-start",{"justify-content":"flex-start"}],["justify-end",{"justify-content":"flex-end"}],["justify-center",{"justify-content":"center"}],["justify-between",{"justify-content":"space-between"}],["justify-around",{"justify-content":"space-around"}],["justify-evenly",{"justify-content":"space-evenly"}],["justify-stretch",{"justify-content":"stretch"}],["justify-left",{"justify-content":"left"}],["justify-right",{"justify-content":"right"}],["justify-center-safe",{"justify-content":"safe center"}],["justify-end-safe",{"justify-content":"safe flex-end"}],["justify-normal",{"justify-content":"normal"}],...Z("justify","justify-content"),["justify-items-start",{"justify-items":"start"}],["justify-items-end",{"justify-items":"end"}],["justify-items-center",{"justify-items":"center"}],["justify-items-stretch",{"justify-items":"stretch"}],["justify-items-center-safe",{"justify-items":"safe center"}],["justify-items-end-safe",{"justify-items":"safe flex-end"}],...Z("justify-items"),["justify-self-auto",{"justify-self":"auto"}],["justify-self-start",{"justify-self":"start"}],["justify-self-end",{"justify-self":"end"}],["justify-self-center",{"justify-self":"center"}],["justify-self-stretch",{"justify-self":"stretch"}],["justify-self-baseline",{"justify-self":"baseline"}],["justify-self-center-safe",{"justify-self":"safe center"}],["justify-self-end-safe",{"justify-self":"safe flex-end"}],...Z("justify-self")],tb=[[/^order-(.+)$/,([,e])=>({order:C.bracket.cssvar.number(e)})],["order-first",{order:"calc(-infinity)"}],["order-last",{order:"calc(infinity)"}],["order-none",{order:"0"}]],Pl=[["content-center",{"align-content":"center"}],["content-start",{"align-content":"flex-start"}],["content-end",{"align-content":"flex-end"}],["content-between",{"align-content":"space-between"}],["content-around",{"align-content":"space-around"}],["content-evenly",{"align-content":"space-evenly"}],["content-baseline",{"align-content":"baseline"}],["content-center-safe",{"align-content":"safe center"}],["content-end-safe",{"align-content":"safe flex-end"}],["content-stretch",{"align-content":"stretch"}],["content-normal",{"align-content":"normal"}],...Z("content","align-content"),["items-start",{"align-items":"flex-start"}],["items-end",{"align-items":"flex-end"}],["items-center",{"align-items":"center"}],["items-baseline",{"align-items":"baseline"}],["items-stretch",{"align-items":"stretch"}],["items-baseline-last",{"align-items":"last baseline"}],["items-center-safe",{"align-items":"safe center"}],["items-end-safe",{"align-items":"safe flex-end"}],...Z("items","align-items"),["self-auto",{"align-self":"auto"}],["self-start",{"align-self":"flex-start"}],["self-end",{"align-self":"flex-end"}],["self-center",{"align-self":"center"}],["self-stretch",{"align-self":"stretch"}],["self-baseline",{"align-self":"baseline"}],["self-baseline-last",{"align-self":"last baseline"}],["self-center-safe",{"align-self":"safe center"}],["self-end-safe",{"align-self":"safe flex-end"}],...Z("self","align-self")],Ol=[["place-content-center",{"place-content":"center"}],["place-content-start",{"place-content":"start"}],["place-content-end",{"place-content":"end"}],["place-content-between",{"place-content":"space-between"}],["place-content-around",{"place-content":"space-around"}],["place-content-evenly",{"place-content":"space-evenly"}],["place-content-stretch",{"place-content":"stretch"}],["place-content-baseline",{"place-content":"baseline"}],["place-content-center-safe",{"place-content":"safe center"}],["place-content-end-safe",{"place-content":"safe flex-end"}],...Z("place-content"),["place-items-start",{"place-items":"start"}],["place-items-end",{"place-items":"end"}],["place-items-center",{"place-items":"center"}],["place-items-stretch",{"place-items":"stretch"}],["place-items-baseline",{"place-items":"baseline"}],["place-items-center-safe",{"place-items":"safe center"}],["place-items-end-safe",{"place-items":"safe flex-end"}],...Z("place-items"),["place-self-auto",{"place-self":"auto"}],["place-self-start",{"place-self":"start"}],["place-self-end",{"place-self":"end"}],["place-self-center",{"place-self":"center"}],["place-self-stretch",{"place-self":"stretch"}],["place-self-center-safe",{"place-self":"safe center"}],["place-self-end-safe",{"place-self":"safe flex-end"}],...Z("place-self")],rb=[...jl,...Pl,...Ol].flatMap(([e,t])=>[[`flex-${e}`,t],[`grid-${e}`,t]]);function jo(e){const t=Ce(e);return t!=null?(Y("spacing"),`calc(var(--spacing) * ${t})`):C.bracket.cssvar.global.auto.fraction.rem(e)}function Nt([,e,t]){const r=jo(t);if(r!=null&&e in ba)return ba[e].map(n=>[n.slice(1),r])}const nb=[[/^(?:position-|pos-)?inset-(.+)$/,([,e])=>({inset:jo(e)}),{autocomplete:["(position|pos)-inset-<directions>-$spacing","(position|pos)-inset-(block|inline)-$spacing","(position|pos)-inset-(bs|be|is|ie)-$spacing","(position|pos)-(top|left|right|bottom)-$spacing"]}],[/^(?:position-|pos-)?(start|end)-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([xy])-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([rltbse])-(.+)$/,Nt],[/^(?:position-|pos-)?inset-(block|inline)-(.+)$/,Nt],[/^(?:position-|pos-)?inset-([bi][se])-(.+)$/,Nt],[/^(?:position-|pos-)?(top|left|right|bottom)-(.+)$/,([,e,t])=>({[e]:jo(t)})]],ob=[["float-left",{float:"left"}],["float-right",{float:"right"}],["float-start",{float:"inline-start"}],["float-end",{float:"inline-end"}],["float-none",{float:"none"}],...Z("float"),["clear-left",{clear:"left"}],["clear-right",{clear:"right"}],["clear-both",{clear:"both"}],["clear-start",{clear:"inline-start"}],["clear-end",{clear:"inline-end"}],["clear-none",{clear:"none"}],...Z("clear")],ib=[[/^(?:position-|pos-)?z([\d.]+)$/,([,e])=>({"z-index":C.number(e)})],[/^(?:position-|pos-)?z-(.+)$/,([,e])=>({"z-index":C.bracket.cssvar.global.auto.number(e)}),{autocomplete:"z-<num>"}]],sb=[["box-border",{"box-sizing":"border-box"}],["box-content",{"box-sizing":"content-box"}],...Z("box","box-sizing")],ab=[[/^(where|\?)$/,(e,{constructCSS:t,generator:r})=>{if(r.userConfig.envMode==="dev")return`@keyframes __un_qm{0%{box-shadow:inset 4px 4px #ff1e90, inset -4px -4px #ff1e90}100%{box-shadow:inset 8px 8px #3399ff, inset -8px -8px #3399ff}} ${t({animation:"__un_qm 0.5s ease-in-out alternate infinite"})}`}]],Po={shadow:U("--un-shadow",{initialValue:"0 0 #0000"}),shadowColor:U("--un-shadow-color"),insetShadow:U("--un-inset-shadow",{initialValue:"0 0 #0000"}),insetShadowColor:U("--un-inset-shadow-color"),ringColor:U("--un-ring-color"),ringShadow:U("--un-ring-shadow",{initialValue:"0 0 #0000"}),insetRingColor:U("--un-inset-ring-color"),insetRingShadow:U("--un-inset-ring-shadow",{initialValue:"0 0 #0000"}),ringInset:U("--un-ring-inset"),ringOffsetWidth:U("--un-ring-offset-width",{syntax:"<length>",initialValue:"0px"}),ringOffsetColor:U("--un-ring-offset-color"),ringOffsetShadow:U("--un-ring-offset-shadow",{initialValue:"0 0 #0000"})},cb=[[/^shadow(?:-(.+))?$/,Aa("shadow"),{autocomplete:["shadow-$colors","shadow-$shadow"]}],[/^shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}],[/^inset-shadow(?:-(.+))?$/,Aa("insetShadow"),{autocomplete:["inset-shadow-$colors","inset-shadow-$insetShadow"]}],[/^inset-shadow-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"shadow-(op|opacity)-<percent>"}]];function Aa(e){return(t,r)=>{const[,n]=t,{theme:o}=r,i=o[e]?.[n||"DEFAULT"],s=n?C.bracket.cssvar(n):void 0,a=So(e);return(i!=null||s!=null)&&!Ht(s,o)?[{[`--un-${a}`]:Qo(i||s,`--un-${a}-color`).join(","),"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Po)]:de(`--un-${a}-color`,a)(t,r)}}const lb=[[/^ring(?:-(.+))?$/,([,e])=>{const t=C.bracket.px(e||"1");if(t!=null)return[{"--un-ring-shadow":`var(--un-ring-inset,) 0 0 0 calc(${t} + var(--un-ring-offset-width)) var(--un-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Po)]}],[/^ring-(.+)$/,de("--un-ring-color","ring"),{autocomplete:"ring-$colors"}],[/^ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"ring-(op|opacity)-<percent>"}],[/^inset-ring(?:-(.+))?$/,([,e])=>{const t=C.bracket.px(e||"1");if(t!=null)return[{"--un-inset-ring-shadow":`inset 0 0 0 ${t} var(--un-inset-ring-color, currentColor)`,"box-shadow":"var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow)"},...Object.values(Po)]}],[/^inset-ring-(.+)$/,de("--un-inset-ring-color","inset-ring"),{autocomplete:"inset-ring-$colors"}],[/^inset-ring-op(?:acity)?-?(.+)$/,([,e])=>({"--un-inset-ring-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"inset-ring-(op|opacity)-<percent>"}],[/^ring-offset(?:-(?:width-|size-)?(.+))?$/,([,e])=>{const t=C.bracket.cssvar.px(e||"1");if(t!=null)return{"--un-ring-offset-width":t,"--un-ring-offset-shadow":"var(--un-ring-inset,) 0 0 0 var(--un-ring-offset-width) var(--un-ring-offset-color)"}},{autocomplete:"ring-offset-$colors"}],[/^ring-offset-(.+)$/,de("--un-ring-offset-color","ring-offset"),{autocomplete:"ring-offset-$colors"}],[/^ring-offset-op(?:acity)?-?(.+)$/,([,e])=>({"--un-ring-offset-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"ring-offset-(op|opacity)-<percent>"}],["ring-inset",{"--un-ring-inset":"inset"}]],ub=[...["x","y","both"].map(e=>[`snap-${e}`,[{"scroll-snap-type":`${e} var(--un-scroll-snap-strictness)`},U("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),...["mandatory","proximity"].map(e=>[`snap-${e}`,[{"--un-scroll-snap-strictness":e},U("--un-scroll-snap-strictness",{initialValue:"proximity"})]]),["snap-none",{"scroll-snap-type":"none"}],["snap-start",{"scroll-snap-align":"start"}],["snap-end",{"scroll-snap-align":"end"}],["snap-center",{"scroll-snap-align":"center"}],["snap-align-none",{"scroll-snap-align":"none"}],["snap-normal",{"scroll-snap-stop":"normal"}],["snap-always",{"scroll-snap-stop":"always"}],[/^scroll-ma?()-?(.+)$/,ce("scroll-margin"),{autocomplete:["scroll-(m|p|ma|pa|block|inline)","scroll-(m|p|ma|pa|block|inline)-$spacing","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)","scroll-(m|p|ma|pa|block|inline)-(x|y|r|l|t|b|bs|be|is|ie)-$spacing"]}],[/^scroll-m-?([xy])-?(.+)$/,ce("scroll-margin")],[/^scroll-m-?([rltb])-?(.+)$/,ce("scroll-margin")],[/^scroll-m-(block|inline)-(.+)$/,ce("scroll-margin")],[/^scroll-m-?([bi][se])-?(.+)$/,ce("scroll-margin")],[/^scroll-pa?()-?(.+)$/,ce("scroll-padding")],[/^scroll-p-?([xy])-?(.+)$/,ce("scroll-padding")],[/^scroll-p-?([rltb])-?(.+)$/,ce("scroll-padding")],[/^scroll-p-(block|inline)-(.+)$/,ce("scroll-padding")],[/^scroll-p-?([bi][se])-?(.+)$/,ce("scroll-padding")]],fb={h:"height",w:"width",inline:"inline-size",block:"block-size"};function pt(e,t){return`${e||""}${fb[t]}`}function qr(e,t,r){let n;const o=["container","spacing"];for(const i of o)if(e[i]?.[r]){Y(i,r),n=ue(i,r);break}if(!n)switch(r){case"fit":case"max":case"min":n=`${r}-content`;break;case"screen":n=t==="w"?"100vw":"100vh";break}return!n&&C.number(r)!=null&&(Y("spacing"),n=`calc(var(--spacing) * ${C.number(r)})`),n??C.bracket.cssvar.global.auto.none.fraction.rem(r)}const db=[[/^size-(min-|max-)?(.+)$/,([,e,t],{theme:r})=>({[pt(e,"w")]:qr(r,"w",t),[pt(e,"h")]:qr(r,"h",t)})],[/^(?:size-)?(min-|max-)?([wh])-?(.+)$/,([,e,t,r],{theme:n})=>({[pt(e,t)]:qr(n,t,r)})],[/^(?:size-)?(min-|max-)?(block|inline)-(.+)$/,([,e,t,r],{theme:n})=>({[pt(e,t)]:qr(n,t,r)}),{autocomplete:["(w|h)-<num>","(w|h)-(full|screen|fit|max|min)","(max|min)-(w|h)-<num>","(max|min)-(w|h)-(full|screen|fit|max|min)","(block|inline)-<num>","(block|inline)-(full|screen|fit|max|min)","(max|min)-(w|h|block|inline)","(max|min)-(w|h|block|inline)-<num>","(max|min)-(w|h|block|inline)-(full|screen|fit|max|min)"]}],[/^(?:size-)?(min-|max-)?(h)-screen-(.+)$/,([,e,t,r],n)=>({[pt(e,t)]:Na(n,r,"verticalBreakpoint")})],[/^(?:size-)?(min-|max-)?(w)-screen-(.+)$/,([,e,t,r],n)=>({[pt(e,t)]:Na(n,r)}),{autocomplete:["(w|h)-screen","(min|max)-(w|h)-screen","h-screen-$breakpoint","(min|max)-h-screen-$breakpoint","w-screen-$breakpoint","(min|max)-w-screen-$breakpoint"]}]];function Na(e,t,r="breakpoint"){const n=En(e,r);if(n)return n.find(o=>o.point===t)?.size}function pb(e){if(/^\d+\/\d+$/.test(e))return e;switch(e){case"square":return"1/1";case"video":return"16/9"}return C.bracket.cssvar.global.auto.number(e)}const hb=[[/^(?:size-)?aspect-(?:ratio-)?(.+)$/,([,e])=>({"aspect-ratio":pb(e)}),{autocomplete:["aspect-(square|video|ratio)","aspect-ratio-(square|video)"]}]],mb=["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"],io=["size","layout","paint","style"],gb=[["inline",{display:"inline"}],["block",{display:"block"}],["inline-block",{display:"inline-block"}],["contents",{display:"contents"}],["flow-root",{display:"flow-root"}],["list-item",{display:"list-item"}],["hidden",{display:"none"}],[/^display-(.+)$/,([,e])=>({display:C.bracket.cssvar.global(e)})]],yb=[["visible",{visibility:"visible"}],["invisible",{visibility:"hidden"}],["collapse",{visibility:"collapse"}],["backface-visible",{"backface-visibility":"visible"}],["backface-hidden",{"backface-visibility":"hidden"}],...Z("backface","backface-visibility")],bb=[[/^cursor-(.+)$/,([,e])=>({cursor:C.bracket.cssvar.global(e)})],...mb.map(e=>[`cursor-${e}`,{cursor:e}])],vb=[[/^contain-(.*)$/,([,e])=>C.bracket(e)!=null?{contain:C.bracket(e).split(" ").map(t=>C.cssvar.fraction(t)??t).join(" ")}:io.includes(e)?[{"--un-contain-size":e,contain:io.map(t=>`var(--un-contain-${t})`).join(" ")},...io.map(t=>U(`--un-contain-${t}`))]:void 0],["contain-strict",{contain:"strict"}],["contain-content",{contain:"content"}],["contain-none",{contain:"none"}]],$b=[["pointer-events-auto",{"pointer-events":"auto"}],["pointer-events-none",{"pointer-events":"none"}],...Z("pointer-events")],wb=[["resize-x",{resize:"horizontal"}],["resize-y",{resize:"vertical"}],["resize",{resize:"both"}],["resize-none",{resize:"none"}],...Z("resize")],kb=[["select-auto",{"-webkit-user-select":"auto","user-select":"auto"}],["select-all",{"-webkit-user-select":"all","user-select":"all"}],["select-text",{"-webkit-user-select":"text","user-select":"text"}],["select-none",{"-webkit-user-select":"none","user-select":"none"}],...Z("select","user-select")],_b=[[/^(?:whitespace-|ws-)([-\w]+)$/,([,e])=>["normal","nowrap","pre","pre-line","pre-wrap","break-spaces",...fe].includes(e)?{"white-space":e}:void 0,{autocomplete:"(whitespace|ws)-(normal|nowrap|pre|pre-line|pre-wrap|break-spaces)"}]],xb=[[/^intrinsic-size-(.+)$/,([,e])=>({"contain-intrinsic-size":C.bracket.cssvar.global.fraction.rem(e)}),{autocomplete:"intrinsic-size-<num>"}],["content-visibility-visible",{"content-visibility":"visible"}],["content-visibility-hidden",{"content-visibility":"hidden"}],["content-visibility-auto",{"content-visibility":"auto"}],...Z("content-visibility")],Sb=[[/^content-(.+)$/,([,e])=>{if(C.bracket.cssvar(e)!=null)return[{"--un-content":C.bracket.cssvar(e),content:"var(--un-content)"},U("--un-content",{initialValue:'""'})]}],["content-empty",{content:'""'}],["content-none",{content:"none"}]],Eb=[["break-normal",{"overflow-wrap":"normal","word-break":"normal"}],["break-words",{"overflow-wrap":"break-word"}],["break-all",{"word-break":"break-all"}],["break-keep",{"word-break":"keep-all"}],["break-anywhere",{"overflow-wrap":"anywhere"}]],Cb=[["text-wrap",{"text-wrap":"wrap"}],["text-nowrap",{"text-wrap":"nowrap"}],["text-balance",{"text-wrap":"balance"}],["text-pretty",{"text-wrap":"pretty"}]],jb=[["truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-truncate",{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}],["text-ellipsis",{"text-overflow":"ellipsis"}],["text-clip",{"text-overflow":"clip"}]],Pb=[["case-upper",{"text-transform":"uppercase"}],["case-lower",{"text-transform":"lowercase"}],["case-capital",{"text-transform":"capitalize"}],["case-normal",{"text-transform":"none"}],["uppercase",{"text-transform":"uppercase"}],["lowercase",{"text-transform":"lowercase"}],["capitalize",{"text-transform":"capitalize"}],["normal-case",{"text-transform":"none"}],...Z("case","text-transform")],Ob=[["italic",{"font-style":"italic"}],["not-italic",{"font-style":"normal"}],["font-italic",{"font-style":"italic"}],["font-not-italic",{"font-style":"normal"}],["oblique",{"font-style":"oblique"}],["not-oblique",{"font-style":"normal"}],["font-oblique",{"font-style":"oblique"}],["font-not-oblique",{"font-style":"normal"}]],Rb=[["antialiased",{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"}],["subpixel-antialiased",{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}]],Tb=[...["manual","auto","none",...fe].map(e=>[`hyphens-${e}`,{"-webkit-hyphens":e,"-ms-hyphens":e,hyphens:e}])],Ab=[["write-vertical-right",{"writing-mode":"vertical-rl"}],["write-vertical-left",{"writing-mode":"vertical-lr"}],["write-normal",{"writing-mode":"horizontal-tb"}],...Z("write","writing-mode")],Nb=[["write-orient-mixed",{"text-orientation":"mixed"}],["write-orient-sideways",{"text-orientation":"sideways"}],["write-orient-upright",{"text-orientation":"upright"}],...Z("write-orient","text-orientation")],Ib=[["sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":0}],["not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"}]],Mb=[["isolate",{isolation:"isolate"}],["isolate-auto",{isolation:"auto"}],["isolation-auto",{isolation:"auto"}]],Fb=[["object-cover",{"object-fit":"cover"}],["object-contain",{"object-fit":"contain"}],["object-fill",{"object-fit":"fill"}],["object-scale-down",{"object-fit":"scale-down"}],["object-none",{"object-fit":"none"}],[/^object-(.+)$/,([,e])=>{if(_e[e])return{"object-position":_e[e]};if(C.bracketOfPosition(e)!=null)return{"object-position":C.bracketOfPosition(e).split(" ").map(t=>C.position.fraction.auto.px.cssvar(t)??t).join(" ")}},{autocomplete:`object-(${Object.keys(_e).join("|")})`}]],zb=[["bg-blend-multiply",{"background-blend-mode":"multiply"}],["bg-blend-screen",{"background-blend-mode":"screen"}],["bg-blend-overlay",{"background-blend-mode":"overlay"}],["bg-blend-darken",{"background-blend-mode":"darken"}],["bg-blend-lighten",{"background-blend-mode":"lighten"}],["bg-blend-color-dodge",{"background-blend-mode":"color-dodge"}],["bg-blend-color-burn",{"background-blend-mode":"color-burn"}],["bg-blend-hard-light",{"background-blend-mode":"hard-light"}],["bg-blend-soft-light",{"background-blend-mode":"soft-light"}],["bg-blend-difference",{"background-blend-mode":"difference"}],["bg-blend-exclusion",{"background-blend-mode":"exclusion"}],["bg-blend-hue",{"background-blend-mode":"hue"}],["bg-blend-saturation",{"background-blend-mode":"saturation"}],["bg-blend-color",{"background-blend-mode":"color"}],["bg-blend-luminosity",{"background-blend-mode":"luminosity"}],["bg-blend-normal",{"background-blend-mode":"normal"}],...Z("bg-blend","background-blend")],Lb=[["mix-blend-multiply",{"mix-blend-mode":"multiply"}],["mix-blend-screen",{"mix-blend-mode":"screen"}],["mix-blend-overlay",{"mix-blend-mode":"overlay"}],["mix-blend-darken",{"mix-blend-mode":"darken"}],["mix-blend-lighten",{"mix-blend-mode":"lighten"}],["mix-blend-color-dodge",{"mix-blend-mode":"color-dodge"}],["mix-blend-color-burn",{"mix-blend-mode":"color-burn"}],["mix-blend-hard-light",{"mix-blend-mode":"hard-light"}],["mix-blend-soft-light",{"mix-blend-mode":"soft-light"}],["mix-blend-difference",{"mix-blend-mode":"difference"}],["mix-blend-exclusion",{"mix-blend-mode":"exclusion"}],["mix-blend-hue",{"mix-blend-mode":"hue"}],["mix-blend-saturation",{"mix-blend-mode":"saturation"}],["mix-blend-color",{"mix-blend-mode":"color"}],["mix-blend-luminosity",{"mix-blend-mode":"luminosity"}],["mix-blend-plus-lighter",{"mix-blend-mode":"plus-lighter"}],["mix-blend-normal",{"mix-blend-mode":"normal"}],...Z("mix-blend")],qb=[["min-h-dvh",{"min-height":"100dvh"}],["min-h-svh",{"min-height":"100svh"}],["min-h-lvh",{"min-height":"100lvh"}],["h-dvh",{height:"100dvh"}],["h-svh",{height:"100svh"}],["h-lvh",{height:"100lvh"}],["max-h-dvh",{"max-height":"100dvh"}],["max-h-svh",{"max-height":"100svh"}],["max-h-lvh",{"max-height":"100lvh"}]],Db=[["forced-color-adjust-auto",{"forced-color-adjust":"auto"}],["forced-color-adjust-none",{"forced-color-adjust":"none"}]],Vb=[["field-sizing-fixed",{"field-sizing":"fixed"}],["field-sizing-content",{"field-sizing":"content"}]],Ub=[[/^fill-(.+)$/,de("fill","fill"),{autocomplete:"fill-$colors"}],[/^fill-op(?:acity)?-?(.+)$/,([,e])=>({"--un-fill-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"fill-(op|opacity)-<percent>"}],["fill-none",{fill:"none"}],[/^stroke-(?:width-|size-)?(.+)$/,Rl],[/^stroke-dash-(.+)$/,([,e])=>({"stroke-dasharray":C.bracket.cssvar.number(e)}),{autocomplete:"stroke-dash-<num>"}],[/^stroke-offset-(.+)$/,([,e])=>({"stroke-dashoffset":C.bracket.cssvar.px.numberWithUnit(e)})],[/^stroke-(.+)$/,Hb,{autocomplete:"stroke-$colors"}],[/^stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-stroke-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"stroke-(op|opacity)-<percent>"}],["stroke-cap-square",{"stroke-linecap":"square"}],["stroke-cap-round",{"stroke-linecap":"round"}],["stroke-cap-auto",{"stroke-linecap":"butt"}],["stroke-join-arcs",{"stroke-linejoin":"arcs"}],["stroke-join-bevel",{"stroke-linejoin":"bevel"}],["stroke-join-clip",{"stroke-linejoin":"miter-clip"}],["stroke-join-round",{"stroke-linejoin":"round"}],["stroke-join-auto",{"stroke-linejoin":"miter"}],["stroke-none",{stroke:"none"}]];function Rl([,e]){return{"stroke-width":C.bracket.cssvar.fraction.px.number(e)}}function Hb(e,t){return Gt(C.bracket(e[1]))?Rl(e):de("stroke","stroke")(e,t)}const Wb=[["inline-table",{display:"inline-table"}],["table",{display:"table"}],["table-caption",{display:"table-caption"}],["table-cell",{display:"table-cell"}],["table-column",{display:"table-column"}],["table-column-group",{display:"table-column-group"}],["table-footer-group",{display:"table-footer-group"}],["table-header-group",{display:"table-header-group"}],["table-row",{display:"table-row"}],["table-row-group",{display:"table-row-group"}],["border-collapse",{"border-collapse":"collapse"}],["border-separate",{"border-collapse":"separate"}],[/^border-spacing-(.+)$/,function*([,e],{theme:t}){const r=Ia(e,t);if(r!=null){yield{"--un-border-spacing-x":r,"--un-border-spacing-y":r,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const n of["x","y"])yield U(`--un-border-spacing-${n}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing","border-spacing-$spacing"]}],[/^border-spacing-([xy])-(.+)$/,function*([,e,t],{theme:r}){const n=Ia(t,r);if(n!=null){yield{[`--un-border-spacing-${e}`]:n,"border-spacing":"var(--un-border-spacing-x) var(--un-border-spacing-y)"};for(const o of["x","y"])yield U(`--un-border-spacing-${o}`,{syntax:"<length>",initialValue:"0"})}},{autocomplete:["border-spacing-(x|y)","border-spacing-(x|y)-$spacing"]}],["caption-top",{"caption-side":"top"}],["caption-bottom",{"caption-side":"bottom"}],["table-auto",{"table-layout":"auto"}],["table-fixed",{"table-layout":"fixed"}],["table-empty-cells-visible",{"empty-cells":"show"}],["table-empty-cells-hidden",{"empty-cells":"hide"}]];function Ia(e,t){let r=t.spacing?.[e];if(!r){const n=Ce(e);n!=null?(Y("spacing"),r=`calc(var(--spacing) * ${n})`):r=C.bracket.cssvar.global.auto.fraction.rem(e)}return r}const so="var(--un-pan-x) var(--un-pan-y) var(--un-pinch-zoom)",ao=["pan-x","pan-y","pinch-zoom"].map(e=>U(`--un-${e}`)),Bb=[[/^touch-pan-(x|left|right)$/,function*([,e]){yield{"--un-pan-x":`pan-${e}`,"touch-action":so};for(const t of ao)yield t},{autocomplete:["touch-pan","touch-pan-(x|left|right|y|up|down)"]}],[/^touch-pan-(y|up|down)$/,function*([,e]){yield{"--un-pan-y":`pan-${e}`,"touch-action":so};for(const t of ao)yield t}],[/^touch-pinch-zoom$/,function*(){yield{"--un-pinch-zoom":"pinch-zoom","touch-action":so};for(const e of ao)yield e}],["touch-auto",{"touch-action":"auto"}],["touch-manipulation",{"touch-action":"manipulation"}],["touch-none",{"touch-action":"none"}],...Z("touch","touch-action")],Dr=["translate","rotate","scale"],Zo=["var(--un-rotate-x)","var(--un-rotate-y)","var(--un-rotate-z)","var(--un-skew-x)","var(--un-skew-y)"].join(" "),ei=Zo,Kb=["translateZ(0)",Zo].join(" "),Gb=[[/^(?:transform-)?origin-(.+)$/,([,e])=>({"transform-origin":_e[e]??C.bracket.cssvar(e)}),{autocomplete:[`transform-origin-(${Object.keys(_e).join("|")})`,`origin-(${Object.keys(_e).join("|")})`]}],[/^(?:transform-)?perspect(?:ive)?-(.+)$/,([,e],{theme:t})=>{let r;if(t.perspective?.[e]?(Y("perspective",e),r=ue("perspective",e)):r=C.bracket.cssvar.px.numberWithUnit(e),r!=null)return{perspective:r}},{autocomplete:["transform-perspective-<num>","perspective-<num>","perspective-$perspective"]}],[/^(?:transform-)?perspect(?:ive)?-origin-(.+)$/,([,e])=>{const t=C.bracket.cssvar(e)??(e.length>=3?_e[e]:void 0);if(t!=null)return{"perspective-origin":t}}],[/^(?:transform-)?translate-()(.+)$/,Ma],[/^(?:transform-)?translate-([xyz])-(.+)$/,Ma],[/^(?:transform-)?rotate-()(.+)$/,za],[/^(?:transform-)?rotate-([xyz])-(.+)$/,za],[/^(?:transform-)?skew-()(.+)$/,La],[/^(?:transform-)?skew-([xy])-(.+)$/,La,{autocomplete:["transform-skew-(x|y)-<percent>","skew-(x|y)-<percent>"]}],[/^(?:transform-)?scale-()(.+)$/,Fa],[/^(?:transform-)?scale-([xyz])-(.+)$/,Fa,{autocomplete:[`transform-(${Dr.join("|")})-<percent>`,`transform-(${Dr.join("|")})-(x|y|z)-<percent>`,`(${Dr.join("|")})-<percent>`,`(${Dr.join("|")})-(x|y|z)-<percent>`]}],["transform-3d",{"transform-style":"preserve-3d"}],["transform-flat",{"transform-style":"flat"}],[/^transform-(border|content|fill|stroke|view)$/,([,e])=>({"transform-box":`${e}-box`})],["transform",{transform:ei}],["transform-cpu",{transform:Zo}],["transform-gpu",{transform:Kb}],["transform-none",{transform:"none"}],...Z("transform")];function Ma([,e,t]){const r=Ce(t)??C.bracket.cssvar.none.fraction.rem(t);if(r!=null)return r==="none"?{translate:"none"}:(Y("spacing"),[[...ti(e,typeof r=="number"?`calc(var(--spacing) * ${r})`:r,"translate"),["translate",`var(--un-translate-x) var(--un-translate-y)${e==="z"?" var(--un-translate-z)":""}`,xo]],...["x","y","z"].map(n=>U(`--un-translate-${n}`,{initialValue:0}))])}function Fa([,e,t]){const r=C.bracket.cssvar.none.fraction.percent(t);if(r!=null)return r==="none"?{scale:"none"}:[[...ti(e,r,"scale"),["scale",`var(--un-scale-x) var(--un-scale-y)${e==="z"?" var(--un-scale-z)":""}`]],...["x","y","z"].map(n=>U(`--un-scale-${n}`,{initialValue:1}))]}function za([,e="",t]){const r=C.bracket.cssvar.none.degree(t);if(r!=null)return r==="none"?{rotate:"none"}:e?[[...ti(e,r.endsWith("deg")?`rotate${e.toUpperCase()}(${r})`:r,"rotate"),["transform",ei]],...["x","y","z"].map(n=>U(`--un-rotate-${n}`,{initialValue:`rotate${n.toUpperCase()}(0)`})),...["x","y"].map(n=>U(`--un-skew-${n}`,{initialValue:`skew${n.toUpperCase()}(0)`}))]:{rotate:C.bracket.cssvar.degree(t)}}function La([,e,t]){const r=C.bracket.cssvar.degree(t),n=dl[e];if(r!=null&&n)return[[...n.map(o=>[`--un-skew${o}`,r.endsWith("deg")?`skew${o.slice(1).toUpperCase()}(${r})`:r]),["transform",ei]],...["x","y","z"].map(o=>U(`--un-rotate-${o}`,{initialValue:`rotate${o.toUpperCase()}(0)`})),...["x","y"].map(o=>U(`--un-skew-${o}`,{initialValue:`skew${o.toUpperCase()}(0)`}))]}function ti(e,t,r){const n=t.split(g0);return e||!e&&n.length===1?dl[e].map(o=>[`--un-${r}${o}`,t]):n.map((o,i)=>[`--un-${r}-${h0[i]}`,o])}function qa(e,t){let r;if(C.cssvar(e)!=null)r=C.cssvar(e);else{e.startsWith("[")&&e.endsWith("]")&&(e=e.slice(1,-1));const n=e.split(",").map(o=>t.property?.[o]??C.properties(o));n.every(Boolean)&&(r=n.join(","))}return r}const Jb=[[/^transition(?:-(\D+?))?(?:-(\d+))?$/,([,e,t],{theme:r})=>{Y("default",["transition","timingFunction"]),Y("default",["transition","duration"]);const n={"transition-property":r.property?.DEFAULT,"transition-timing-function":`var(--un-ease, ${ue("default",["transition","timingFunction"])})`,"transition-duration":`var(--un-duration, ${ue("default",["transition","duration"])})`};if(!e&&!t)return{...n};if(e!=null){const o=qa(e,r);if(o)return{"--un-duration":t&&C.time(t),...n,"transition-property":o}}else if(t!=null)return{"--un-duration":C.time(t),...n}}],[/^(?:transition-)?duration-(.+)$/,([,e])=>({"--un-duration":C.bracket.cssvar.time(e),"transition-duration":C.bracket.cssvar.time(e)})],[/^(?:transition-)?delay-(.+)$/,([,e])=>({"transition-delay":C.bracket.cssvar.time(e)})],[/^(?:transition-)?ease(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>{let r;return t.ease?.[e]?(Y("ease",e),r=ue("ease",e)):r=C.bracket.cssvar(e),[{"--un-ease":r,"transition-timing-function":r},U("--un-ease")]},{autocomplete:["transition-ease-(linear|in|out|in-out)","ease-(linear|in|out|in-out)"]}],[/^(?:transition-)?property-(.+)$/,([,e],{theme:t})=>{const r=C.global(e)||qa(e,t);if(r)return{"transition-property":r}},{autocomplete:[`transition-property-(${[...fe].join("|")})`]}],["transition-none",{transition:"none"}],...Z("transition"),["transition-discrete",{"transition-behavior":"allow-discrete"}],["transition-normal",{"transition-behavior":"normal"}]],Xb=[[/^text-(.+)$/,rv,{autocomplete:"text-$text"}],[/^(?:text|font)-size-(.+)$/,Tl,{autocomplete:"text-size-$text"}],[/^text-(?:color-)?(.+)$/,nv,{autocomplete:"text-$colors"}],[/^(?:color|c)-(.+)$/,de("color","text")],[/^(?:text|color|c)-(.+)$/,([,e])=>fe.includes(e)?{color:e}:void 0,{autocomplete:`(text|color|c)-(${fe.join("|")})`}],[/^(?:text|color|c)-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"(text|color|c)-(op|opacity)-<percent>"}],[/^fw-?([^-]+)$/,([,e],{theme:t})=>{let r;return t.fontWeight?.[e]?(Y("fontWeight",e),r=ue("fontWeight",e)):r=C.bracket.cssvar.global.number(e),{"--un-font-weight":r,"font-weight":r}},{autocomplete:["(font|fw)-(100|200|300|400|500|600|700|800|900)","(font|fw)-$fontWeight"]}],[/^(?:font-)?(?:leading|lh|line-height)-(.+)$/,([,e],{theme:t})=>{let r;if(t.leading?.[e]?(Y("leading",e),r=ue("leading",e)):Ce(e)?(Y("spacing"),r=`calc(var(--spacing) * ${Ce(e)})`):r=C.bracket.cssvar.global.rem(e),r!=null)return[{"--un-leading":r,"line-height":r},U("--un-leading")]},{autocomplete:"(leading|lh|line-height)-$leading"}],["font-synthesis-weight",{"font-synthesis":"weight"}],["font-synthesis-style",{"font-synthesis":"style"}],["font-synthesis-small-caps",{"font-synthesis":"small-caps"}],["font-synthesis-none",{"font-synthesis":"none"}],[/^font-synthesis-(.+)$/,([,e])=>({"font-synthesis":C.bracket.cssvar.global(e)})],[/^(?:font-)?tracking-(.+)$/,([,e],{theme:t})=>{let r;return t.tracking?.[e]?(Y("tracking",e),r=ue("tracking",e)):r=C.bracket.cssvar.global.rem(e),{"--un-tracking":r,"letter-spacing":r}},{autocomplete:"tracking-$tracking"}],[/^(?:font-)?word-spacing-(.+)$/,([,e],{theme:t})=>{const r=t.tracking?.[e]?ue("tracking",e):C.bracket.cssvar.global.rem(e);return{"--un-word-spacing":r,"word-spacing":r}},{autocomplete:"word-spacing-$spacing"}],["font-stretch-normal",{"font-stretch":"normal"}],["font-stretch-ultra-condensed",{"font-stretch":"ultra-condensed"}],["font-stretch-extra-condensed",{"font-stretch":"extra-condensed"}],["font-stretch-condensed",{"font-stretch":"condensed"}],["font-stretch-semi-condensed",{"font-stretch":"semi-condensed"}],["font-stretch-semi-expanded",{"font-stretch":"semi-expanded"}],["font-stretch-expanded",{"font-stretch":"expanded"}],["font-stretch-extra-expanded",{"font-stretch":"extra-expanded"}],["font-stretch-ultra-expanded",{"font-stretch":"ultra-expanded"}],[/^font-stretch-(.+)$/,([,e])=>({"font-stretch":C.bracket.cssvar.fraction.global(e)}),{autocomplete:"font-stretch-<percentage>"}],[/^font-(.+)$/,([,e],{theme:t})=>{let r;if(t.font?.[e])return Y("font",e),r=ue("font",e),{"font-family":r};if(t.fontWeight?.[e])return Y("fontWeight",e),r=ue("fontWeight",e),{"--un-font-weight":r,"font-weight":r};if(r=C.number(e),r!=null)return{"--un-font-weight":r,"font-weight":r};if(r=C.bracketOfFamily(e),r!=null&&C.number(r)==null)return r=C.cssvar(r)??r,{"font-family":r};if(r=C.bracketOfNumber(e),r!=null)return r=C.cssvar.number(r),{"--un-font-weight":r,"font-weight":r};if(r=C.bracket(e),r!=null&&C.number(r)!=null){const n=C.number(r);return{"--un-font-weight":n,"font-weight":n}}if(r=C.bracket.cssvar.global(e),r!=null)return{"font-family":r}},{autocomplete:["font-$font","font-$fontWeight"]}]],Yb=[[/^tab(?:-(.+))?$/,([,e])=>{const t=C.bracket.cssvar.global.number(e||"4");if(t!=null)return{"-moz-tab-size":t,"-o-tab-size":t,"tab-size":t}}]],Qb=[[/^indent-(.+)$/,([,e])=>{let t=Ce(e);if(t!=null)return Y("spacing"),{"text-indent":`calc(var(--spacing) * ${t})`};if(t=C.bracket.cssvar.auto.global.rem(e),t!=null)return{"text-indent":t}}]],Zb=[[/^text-stroke(?:-(.+))?$/,([,e="DEFAULT"],{theme:t})=>(t.textStrokeWidth?.[e]&&Y("textStrokeWidth",e),{"-webkit-text-stroke-width":t.textStrokeWidth?.[e]?ue("textStrokeWidth",e):C.bracket.cssvar.px(e)}),{autocomplete:"text-stroke-$textStrokeWidth"}],[/^text-stroke-(.+)$/,de("-webkit-text-stroke-color","text-stroke"),{autocomplete:"text-stroke-$colors"}],[/^text-stroke-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-stroke-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"text-stroke-(op|opacity)-<percent>"}]],Da=/op(?:acity)?-/,ev=[[/^text-shadow(?:-(.+))?$/,(e,t)=>{const[r,n="DEFAULT"]=e,o=t.theme.textShadow?.[n];return o!=null?{"--un-text-shadow":Qo(o,"--un-text-shadow-color").join(","),"text-shadow":"var(--un-text-shadow)"}:Da.test(n)?{"--un-text-shadow-opacity":C.bracket.percent.cssvar(n.replace(Da,""))}:de("--un-text-shadow-color","text-shadow")(e,t)??{"text-shadow":C.bracket.cssvar.global(n)}},{autocomplete:["text-shadow-$textShadow","text-shadow(-color)?-$colors","text-shadow(-color)?-(op|opacity)-<percent>"]}],[/^text-shadow-color-(.+)$/,de("--un-text-shadow-color","text-shadow"),{autocomplete:"text-shadow-color-$colors"}],[/^text-shadow-color-op(?:acity)?-?(.+)$/,([,e])=>({"--un-text-shadow-opacity":C.bracket.percent.cssvar(e)}),{autocomplete:"text-shadow-color-(op|opacity)-<percent>"}]],Be=[U("--un-ordinal"),U("--un-slashed-zero"),U("--un-numeric-figure"),U("--un-numeric-spacing"),U("--un-numeric-fraction")],Ke={"font-variant-numeric":"var(--un-ordinal,) var(--un-slashed-zero,) var(--un-numeric-figure,) var(--un-numeric-spacing,) var(--un-numeric-fraction,)"},tv=[["ordinal",[{"--un-ordinal":"ordinal",...Ke},...Be]],["slashed-zero",[{"--un-slashed-zero":"slashed-zero",...Ke},...Be]],["lining-nums",[{"--un-numeric-figure":"lining-nums",...Ke},...Be]],["oldstyle-nums",[{"--un-numeric-figure":"oldstyle-nums",...Ke},...Be]],["proportional-nums",[{"--un-numeric-spacing":"proportional-nums",...Ke},...Be]],["tabular-nums",[{"--un-numeric-spacing":"tabular-nums",...Ke},...Be]],["diagonal-fractions",[{"--un-numeric-fraction":"diagonal-fractions",...Ke},...Be]],["stacked-fractions",[{"--un-numeric-fraction":"stacked-fractions",...Ke},...Be]],["normal-nums",[{"font-variant-numeric":"normal"}]]];function rv([,e="base"],{theme:t}){const r=ov(e,"length");if(!r)return;const[n,o]=r,i=t.text?.[n];let s;if(o&&(t.leading?.[o]?(Y("leading",o),s=ue("leading",o)):s=C.bracket.cssvar.global.rem(o)),i)return Y("text",[n,"fontSize"]),Y("text",[n,"lineHeight"]),i.letterSpacing&&Y("text",[n,"letterSpacing"]),{"font-size":ue("text",[n,"fontSize"]),"line-height":s??`var(--un-leading, ${ue("text",[n,"lineHeight"])})`,"letter-spacing":i.letterSpacing?ue("text",[n,"letterSpacing"]):void 0};const a=C.bracketOfLength.rem(n);return s&&a?{"font-size":a,"line-height":s}:{"font-size":C.bracketOfLength.rem(e)}}function Tl([,e],{theme:t}){if(t.text?.[e]!=null)return Y("text",[e,"fontSize"]),Y("text",[e,"lineHeight"]),{"font-size":ue("text",[e,"fontSize"]),"line-height":`var(--un-leading, ${ue("text",[e,"lineHeight"])})`};{const r=C.bracket.cssvar.global.rem(e);if(r)return{"font-size":r}}}function nv(e,t){return Gt(C.bracket(e[1]))?Tl(e,t):de("color","text")(e,t)}function ov(e,t){const[r,n]=_n(e,"[","]",["/",":"])??[];if(r!=null){const o=(r.match(Yo)??[])[1];if(o==null||o===t)return[r,n]}}const iv={backface:"backface-visibility",break:"word-break",case:"text-transform",content:"align-content",fw:"font-weight",items:"align-items",justify:"justify-content",select:"user-select",self:"align-self",vertical:"vertical-align",visible:"visibility",whitespace:"white-space",ws:"white-space","bg-blend":"background-blend-mode","bg-clip":"-webkit-background-clip","bg-image":"background-image","bg-origin":"background-origin","bg-position":"background-position","bg-repeat":"background-repeat","bg-size":"background-size","mix-blend":"mix-blend-mode",object:"object-fit","object-position":"object-position",write:"writing-mode","write-orient":"text-orientation"},sv=[[/^(.+?)-(\$.+)$/,([,e,t])=>{const r=iv[e];if(r)return{[r]:C.cssvar(t)}}]],av=[[/^\[(.*)\]$/,([e,t])=>{if(!t.includes(":"))return;const[r,...n]=t.split(":"),o=n.join(":");if(!lv(t)&&/^[\w-]+$/.test(r)&&cv(o)){const i=C.bracket(`[${o}]`);if(i)return{[r]:i}}}]];function cv(e){let t=0;function r(n){for(;t<e.length;)if(t+=1,e[t]===n)return!0;return!1}for(t=0;t<e.length;t++){const n=e[t];if("\"`'".includes(n)){if(!r(n))return!1}else if(n==="("){if(!r(")"))return!1}else if("[]{}:".includes(n))return!1}return!0}function lv(e){if(!e.includes("://"))return!1;try{return new URL(e).host!==""}catch{return!1}}const uv=[[/^view-transition-([\w-]+)$/,([,e])=>({"view-transition-name":e})]],fv=[Xb,Yb,Qb,Zb,ev,Fy,My,ly,cy,my,Ea,Ca,yy,by,vy,$y,wy,Ea,ky,Ca,_y,Ry,Sy,Ty,iy,ny,Ny,Hy,Wy,Ky,db,hb,gb,yb,bb,vb,$b,wb,kb,_b,xb,Sb,Eb,Cb,jb,Pb,Ob,Rb,lb,cb,Gb,Jb,sv,av,Pl,sb,rb,ob,nb,jl,tb,Ol,eb,ib,Gy,Ub,uy,py,Tb,Ab,Nb,Db,Ib,Mb,Fb,zb,Lb,qb,Qy,Ay,Uy,Jy,Zy,ub,Wb,Bb,tv,uv,zy,qy,Vb,ab].flat();function dv(){return{getCSS:()=>{if(bt.size>0){const e="@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",t="*, ::before, ::after, ::backdrop",r=Array.from(bt.entries()).map(([n,o])=>`${n}:${o};`).join("");return`${e}{${t}{${r}}}`}},layer:"properties"}}const pv=`
26
26
  /*
27
27
  1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
28
28
  2. Remove default margins and padding
@@ -408,8 +408,8 @@ input:where([type='button'], [type='reset'], [type='submit']),
408
408
  [hidden]:where(:not([hidden='until-found'])) {
409
409
  display: none !important;
410
410
  }
411
- `;function kv(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:t})=>(Y("font","sans"),Y("font","mono"),Y("default",["font","family"]),Y("default",["monoFont","family"]),yl(wv,t.config.envMode==="dev")),layer:"base"}}const _v=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];function xv(e,t){const r=new Map([["--spacing",e.spacing.DEFAULT]]),n=i=>i.replace(il,"1");function o(i,s){for(const a in i)Array.isArray(i[a])?r.set(`--${s}-${a}`,n(i[a].join(","))):typeof i[a]=="object"?o(i[a],`${s}-${a}`):r.set(`--${s}-${a}`,n(i[a]))}for(const i in e)t.includes(i)&&o(e[i],i);return r}function Sv(e){return{layer:"theme",getCSS(t){const{theme:r,generator:n}=t,o=Ae(n.config.safelist.flatMap(u=>typeof u=="function"?u(t):u)),{mode:i,process:s}=e.preflights.theme;if(i===!1)return;if(o.length>0)for(const u of o){const[l,...d]=u.trim().split(":");if(l in r&&d.length<=1){const y=d.length===0?["DEFAULT"]:d[0].split("-"),m=cn(r,l,y);typeof m=="string"&&(Y(l,y),Cn(m,r))}}let a;const c=u=>{if(s)for(const y of u)for(const m of ae(s))m(y,t);const l=u.map(([y,m])=>y&&m?`${y}: ${m};`:void 0).filter(Boolean);if(l.length===0)return;const d=l.join(`
412
- `);return yl(`
411
+ `;function hv(e){if(e.preflights?.reset!==!1)return{getCSS:({generator:t})=>(Y("font","sans"),Y("font","mono"),Y("default",["font","family"]),Y("default",["monoFont","family"]),bl(pv,t.config.envMode==="dev")),layer:"base"}}const mv=["spacing","breakpoint","verticalBreakpoint","shadow","insetShadow","dropShadow","textShadow","animation","property","aria","media","supports"];function gv(e,t){const r=new Map([["--spacing",e.spacing.DEFAULT]]),n=i=>i.replace(sl,"1");function o(i,s){for(const a in i)Array.isArray(i[a])?r.set(`--${s}-${a}`,n(i[a].join(","))):typeof i[a]=="object"?o(i[a],`${s}-${a}`):r.set(`--${s}-${a}`,n(i[a]))}for(const i in e)t.includes(i)&&o(e[i],i);return r}function yv(e){return{layer:"theme",getCSS(t){const{theme:r,generator:n}=t,o=Ae(n.config.safelist.flatMap(u=>typeof u=="function"?u(t):u)),{mode:i,process:s}=e.preflights.theme;if(i===!1)return;if(o.length>0)for(const u of o){const[l,...d]=u.trim().split(":");if(l in r&&d.length<=1){const y=d.length===0?["DEFAULT"]:d[0].split("-"),m=cn(r,l,y);typeof m=="string"&&(Y(l,y),Cn(m,r))}}let a;const c=u=>{if(s)for(const y of u)for(const m of ae(s))m(y,t);const l=u.map(([y,m])=>y&&m?`${y}: ${m};`:void 0).filter(Boolean);if(l.length===0)return;const d=l.join(`
412
+ `);return bl(`
413
413
  :root, :host {
414
414
  ${d}
415
- }`,n.config.envMode==="dev")};if(i==="on-demand"){if(yt.size===0)return;a=Array.from(yt).map(u=>{const[l,d]=u.split(":"),y=cn(r,l,d.split("-"));if(typeof y=="string")return[`--${l}${`${l==="spacing"&&d==="DEFAULT"?"":`-${d}`}`}`,y]}).filter(Boolean)}else{const u=Object.keys(r).filter(l=>!_v.includes(l));a=Array.from(xv(r,u))}return c(a)}}}const Ev=e=>[kv(e),Sv(e),$v()].filter(Boolean),Cv={position:["relative","absolute","fixed","sticky","static"],globalKeyword:fe},jv=(e={})=>{e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return e.preflights={reset:e.preflights?.reset??!0,theme:t},{name:w0,rules:vv,shortcuts:my,theme:uy,layers:{properties:-200,theme:-150,base:-100},preflights:Ev(e),variants:qg(e),prefix:e.prefix,postprocess:Y0(e),extractorDefault:e.arbitraryVariants===!1?void 0:$0(),autocomplete:{shorthands:Cv},options:e,configResolved(){yt.clear(),bt.clear()},meta:{themeDeps:yt,propertyDeps:bt}}},Da={presets:[jv({preflights:{reset:!0}}),u0(),_m({cdn:"https://cdn.jsdelivr.net/npm/"}),Cm(),sh()]},Tl=/^[a-z0-9]+(-[a-z0-9]+)*$/,Jt=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:n,prefix:c,name:a};return t&&!Br(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!Br(a)?null:a}if(r&&n===""){const a={provider:n,prefix:"",name:i};return t&&!Br(a,r)?null:a}return null},Br=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Al=Object.freeze({left:0,top:0,width:16,height:16}),fn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),kt=Object.freeze({...Al,...fn}),Oo=Object.freeze({...kt,body:"",hidden:!1});function Pv(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function Va(e,t){const r=Pv(e,t);for(const n in Oo)n in fn?n in e&&!(n in r)&&(r[n]=fn[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Ov(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return Object.keys(r).concat(Object.keys(n)).forEach(i),o}function Rv(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=Va(n[a]||o[a],i)}return s(t),r.forEach(s),Va(e,i)}function Nl(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=Ov(e);for(const o in n){const i=n[o];i&&(t(o,Rv(e,o,i)),r.push(o))}return r}const Tv={provider:"",aliases:{},not_found:{},...Al};function co(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function Il(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!co(e,Tv))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!co(i,Oo))return null}const n=t.aliases||Object.create(null);for(const o in n){const i=n[o],s=i.parent;if(!o||typeof s!="string"||!r[s]&&!n[s]||!co(i,Oo))return null}return t}const Ua=Object.create(null);function Av(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function vt(e,t){const r=Ua[e]||(Ua[e]=Object.create(null));return r[t]||(r[t]=Av(e,t))}function Ml(e,t){return Il(t)?Nl(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function Nv(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Wt=!1;function Fl(e){return typeof e=="boolean"&&(Wt=e),Wt}function jn(e){const t=typeof e=="string"?Jt(e,!0,Wt):e;if(t){const r=vt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function Iv(e,t){const r=Jt(e,!0,Wt);if(!r)return!1;const n=vt(r.provider,r.prefix);return t?Nv(n,r.name,t):(n.missing.add(r.name),!0)}function Mv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Wt&&!t&&!e.prefix){let o=!1;return Il(e)&&(e.prefix="",Nl(e,(i,s)=>{Iv(i,s)&&(o=!0)})),o}const r=e.prefix;if(!Br({prefix:r,name:"a"}))return!1;const n=vt(t,r);return!!Ml(n,e)}function Fv(e){return!!jn(e)}function zv(e){const t=jn(e);return t&&{...kt,...t}}const zl=Object.freeze({width:null,height:null}),Ll=Object.freeze({...zl,...fn}),Lv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,qv=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ha(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Lv);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=qv.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function Dv(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function Vv(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Uv(e,t,r){const n=Dv(e);return Vv(n.defs,t+n.content+r)}const Hv=e=>e==="unset"||e==="undefined"||e==="none";function Wv(e,t){const r={...kt,...e},n={...Ll,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],b=h.hFlip,f=h.vFlip;let g=h.rotate;b?f?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):f&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let $;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:$=o.height/2+o.top,p.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,p.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}g%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),p.length&&(i=Uv(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,d;s===null?(d=a===null?"1em":a==="auto"?u:a,l=Ha(d,c/u)):(l=s==="auto"?c:s,d=a===null?Ha(l,u/c):a==="auto"?u:a);const y={},m=(h,p)=>{Hv(p)||(y[h]=p.toString())};m("width",l),m("height",d);const v=[o.left,o.top,c,u];return y.viewBox=v.join(" "),{attributes:y,viewBox:v,body:i}}const Bv=/\sid="(\S+)"/g,Kv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Gv=0;function Jv(e,t=Kv){const r=[];let n;for(;n=Bv.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const s=typeof t=="function"?t(i):t+(Gv++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const Ro=Object.create(null);function Xv(e,t){Ro[e]=t}function To(e){return Ro[e]||Ro[""]}function ri(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ni=Object.create(null),It=["https://api.simplesvg.com","https://api.unisvg.com"],Kr=[];for(;It.length>0;)It.length===1||Math.random()>.5?Kr.push(It.shift()):Kr.push(It.pop());ni[""]=ri({resources:["https://api.iconify.design"].concat(Kr)});function Yv(e,t){const r=ri(t);return r===null?!1:(ni[e]=r,!0)}function oi(e){return ni[e]}const Qv=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Wa=Qv();function Zv(e,t){const r=oi(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";n=r.maxURL-o-r.path.length-i.length}return n}function e$(e){return e===404}const t$=(e,t,r)=>{const n=[],o=Zv(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return r.forEach((c,u)=>{a+=c.length+1,a>=o&&u>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),n.push(s),n};function r$(e){if(typeof e=="string"){const t=oi(e);if(t)return t.path}return"/"}const n$=(e,t,r)=>{if(!Wa){r("abort",424);return}let n=r$(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});n+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;n+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;Wa(e+n).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{r(e$(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})},o$={prepare:t$,send:n$};function i$(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const i=o.provider,s=o.prefix,a=o.name,c=r[i]||(r[i]=Object.create(null)),u=c[s]||(c[s]=vt(i,s));let l;a in u.icons?l=t.loaded:s===""||u.missing.has(a)?l=t.missing:l=t.pending;const d={provider:i,prefix:s,name:a};l.push(d)}),t}function ql(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function s$(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])s.loaded.push({provider:n,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:n,prefix:o,name:u});else return r=!0,!0;return!1}),s.pending.length!==a&&(r||ql([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let a$=0;function c$(e,t,r){const n=a$++,o=ql.bind(null,r,n);if(!t.pending.length)return o;const i={id:n,icons:t,callback:e,abort:o};return r.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function l$(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?Jt(o,t,r):o;i&&n.push(i)}),n}var u$={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function f$(e,t,r,n){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let k=e.resources.slice(0);for(s=[];k.length>1;){const _=Math.floor(Math.random()*k.length);s.push(k[_]),k=k.slice(0,_).concat(k.slice(_+1))}s=s.concat(k)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",u=0,l,d=null,y=[],m=[];typeof n=="function"&&m.push(n);function v(){d&&(clearTimeout(d),d=null)}function h(){c==="pending"&&(c="aborted"),v(),y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function p(k,_){_&&(m=[]),typeof k=="function"&&m.push(k)}function b(){return{startTime:a,payload:t,status:c,queriesSent:u,queriesPending:y.length,subscribe:p,abort:h}}function f(){c="failed",m.forEach(k=>{k(void 0,l)})}function g(){y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function $(k,_,E){const P=_!=="success";switch(y=y.filter(M=>M!==k),c){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){l=E,f();return}if(P){l=E,y.length||(s.length?w():f());return}if(v(),g(),!e.random){const M=e.resources.indexOf(k.resource);M!==-1&&M!==e.index&&(e.index=M)}c="completed",m.forEach(M=>{M(E)})}function w(){if(c!=="pending")return;v();const k=s.shift();if(k===void 0){if(y.length){d=setTimeout(()=>{v(),c==="pending"&&(g(),f())},e.timeout);return}f();return}const _={status:"pending",resource:k,callback:(E,P)=>{$(_,E,P)}};y.push(_),u++,d=setTimeout(w,e.rotate),r(k,t,_.callback)}return setTimeout(w),b}function Dl(e){const t={...u$,...e};let r=[];function n(){r=r.filter(a=>a().status==="pending")}function o(a,c,u){const l=f$(t,a,c,(d,y)=>{n(),u&&u(d,y)});return r.push(l),l}function i(a){return r.find(c=>a(c))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function Ba(){}const lo=Object.create(null);function d$(e){if(!lo[e]){const t=oi(e);if(!t)return;const r=Dl(t),n={config:t,redundancy:r};lo[e]=n}return lo[e]}function p$(e,t,r){let n,o;if(typeof e=="string"){const i=To(e);if(!i)return r(void 0,424),Ba;o=i.send;const s=d$(e);s&&(n=s.redundancy)}else{const i=ri(e);if(i){n=Dl(i);const s=e.resources?e.resources[0]:"",a=To(s);a&&(o=a.send)}}return!n||!o?(r(void 0,424),Ba):n.query(t,o,r)().abort}function Ka(){}function h$(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,s$(e)}))}function m$(e){const t=[],r=[];return e.forEach(n=>{(n.match(Tl)?t:r).push(n)}),{valid:t,invalid:r}}function Mt(e,t,r){function n(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(r&&typeof r=="object")try{if(!Ml(e,r).length){n();return}}catch(o){console.error(o)}n(),h$(e)}function Ga(e,t){e instanceof Promise?e.then(r=>{t(r)}).catch(()=>{t(null)}):t(e)}function g$(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){Ga(e.loadIcons(o,n,r),l=>{Mt(e,o,l)});return}if(i){o.forEach(l=>{const d=i(l,n,r);Ga(d,y=>{const m=y?{prefix:n,icons:{[l]:y}}:null;Mt(e,[l],m)})});return}const{valid:s,invalid:a}=m$(o);if(a.length&&Mt(e,a,null),!s.length)return;const c=n.match(Tl)?To(r):null;if(!c){Mt(e,s,null);return}c.prepare(r,n,s).forEach(l=>{p$(r,l,d=>{Mt(e,l.icons,d)})})}))}const Vl=(e,t)=>{const r=l$(e,!0,Fl()),n=i$(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Ka)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===a&&u===s)return;s=u,a=l,i.push(vt(u,l));const d=o[u]||(o[u]=Object.create(null));d[l]||(d[l]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:l,name:d}=c,y=vt(u,l),m=y.pendingIcons||(y.pendingIcons=new Set);m.has(d)||(m.add(d),o[u][l].push(d))}),i.forEach(c=>{const u=o[c.provider][c.prefix];u.length&&g$(c,u)}),t?c$(t,n,i):Ka},y$=e=>new Promise((t,r)=>{const n=typeof e=="string"?Jt(e,!0):e;if(!n){r(e);return}Vl([n||e],o=>{if(o.length&&n){const i=jn(n);if(i){t({...kt,...i});return}}r(e)})});function b$(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in zl?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const v$=/[\s,]+/;function $$(e,t){t.split(v$).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function w$(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?n(i):0)}}return t}function k$(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function _$(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function x$(e){return"data:image/svg+xml,"+_$(e)}function S$(e){return'url("'+x$(e)+'")'}const Ja={...Ll,inline:!1},E$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},C$={display:"inline-block"},Ao={backgroundColor:"currentColor"},Ul={backgroundColor:"transparent"},Xa={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Ya={webkitMask:Ao,mask:Ao,background:Ul};for(const e in Ya){const t=Ya[e];for(const r in Xa)t[e+r]=Xa[r]}const Gr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Gr[e+"-flip"]=t,Gr[e.slice(0,1)+"-flip"]=t,Gr[e+"Flip"]=t});function Qa(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Za=(e,t)=>{const r=b$(Ja,t),n={...E$},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let h in t){const p=t[h];if(p!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":r[h]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&$$(r,p);break;case"color":i.color=p;break;case"rotate":typeof p=="string"?r[h]=w$(p):typeof p=="number"&&(r[h]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete n["aria-hidden"];break;default:{const b=Gr[h];b?(p===!0||p==="true"||p===1)&&(r[b]=!0):Ja[h]===void 0&&(n[h]=p)}}}const c=Wv(e,r),u=c.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...a},Object.assign(n,u);let h=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),n.innerHTML=Jv(c.body,p?()=>p+"ID"+h++:"iconifyVue"),ai("svg",n)}const{body:l,width:d,height:y}=e,m=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),v=k$(l,{...u,width:d+"",height:y+""});return n.style={...i,"--svg":S$(v),width:Qa(u.width),height:Qa(u.height),...C$,...m?Ao:Ul,...a},ai("span",n)};Fl(!0);Xv("",o$);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Mv(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;Yv(r,o)||console.error(n)}catch{console.error(n)}}}}const j$={...kt,body:""};sc((e,{emit:t})=>{const r=Ge(null);function n(){r.value&&(r.value.abort?.(),r.value=null)}const o=Ge(!!e.ssr),i=Ge(""),s=Je(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let l;if(typeof u!="string"||(l=Jt(u,!1,!0))===null)return null;let d=jn(l);if(!d){const v=r.value;return(!v||v.name!==u)&&(d===null?r.value={name:u}:r.value={name:u,abort:Vl([l],c)}),null}n(),i.value!==u&&(i.value=u,Fo(()=>{t("load",u)}));const y=e.customise;if(y){d=Object.assign({},d);const v=y(d.body,l.name,l.prefix,l.provider);typeof v=="string"&&(d.body=v)}const m=["iconify"];return l.prefix!==""&&m.push("iconify--"+l.prefix),l.provider!==""&&m.push("iconify--"+l.provider),{data:d,classes:m}}function c(){const u=a();u?u.data!==s.value?.data&&(s.value=u):s.value=null}return o.value?c():Mo(()=>{o.value=!0,c()}),He(()=>e.icon,c),tu(n),()=>{const u=s.value;if(!u)return Za(j$,e);let l=e;return u.classes&&(l={...e,class:u.classes.join(" ")}),Za({...kt,...u.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const P$=sc({__name:"App",setup(e,{expose:t}){t();const r=cu(),n=pe(()=>rn.value.find(({id:c})=>c===r.name)),o=Ge(""),i=Ge(""),s=pe(()=>n.value?.to&&`${window.location.origin}${n.value.to==="/"?"":n.value.to}`);He(n,async c=>{let u="/favicon.ico";if(c?.icon){const l=Fv(c.icon)?zv(c.icon):await y$(c.icon);if(l){const{body:d,height:y,left:m,top:v,width:h}=l;u=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${m.toString()} ${v.toString()} ${h.toString()} ${y.toString()}">${d}</svg>`}}o.value=u}),yc({link:[[o,"icon","icon"],[s,"canonical"]].map(([c,u,l])=>({href:c,key:l,rel:u})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),Ku({description:pe(()=>n.value?.description),keywords:pe(()=>n.value?.keywords.join()),ogDescription:pe(()=>n.value?.description),ogImage:pe(()=>n.value?.images.filter(({url:c})=>c).map(({alt:c="",url:u})=>({alt:c,url:`${window.location.origin}/${u}`}))??[]),ogTitle:pe(()=>n.value?.title),ogType:pe(()=>n.value?.type),ogUrl:s,title:pe(()=>n.value?.title)}),He(()=>n.value?.jsonld,async c=>{i.value=JSON.stringify(await c)||'{"@context":"https://schema.org"}'});const a={route:r,a:n,favicon:o,jsonld:i,ogUrl:s,get pages(){return rn}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),O$=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};function R$(e,t,r,n,o,i){const s=ru("router-view");return li(),ci(s,null,{default:nu(({Component:a})=>[(li(),ci(ou(a),{id:n.pages[0]?.id},null,8,["id"]))]),_:1})}const T$=O$(P$,[["render",R$],["__file","App.vue"]]);var uo,ec;function A$(){if(ec)return uo;ec=1;function e(s,a){for(;s.length<a;)s="0"+s;return s}function t(s,a){var c,u,l;if(a.length===0)return s;for(c=0,l=a.length;c<l;c++)u=a.charCodeAt(c),s=(s<<5)-s+u,s|=0;return s<0?s*-2:s}function r(s,a,c){return Object.keys(a).sort().reduce(u,s);function u(l,d){return n(l,a[d],d,c)}}function n(s,a,c,u){var l=t(t(t(s,c),o(a)),typeof a);if(a===null)return t(l,"null");if(a===void 0)return t(l,"undefined");if(typeof a=="object"||typeof a=="function"){if(u.indexOf(a)!==-1)return t(l,"[Circular]"+c);u.push(a);var d=r(l,a,u);if(!("valueOf"in a)||typeof a.valueOf!="function")return d;try{return t(d,String(a.valueOf()))}catch(y){return t(d,"[valueOf exception]"+(y.stack||y.message))}}return t(l,a.toString())}function o(s){return Object.prototype.toString.call(s)}function i(s){return e(n(0,s,"",[]).toString(16),8)}return uo=i,uo}var N$=A$();const I$=hn(N$),Jr=async e=>{try{const t=await fetch(e);return t.ok?t:new Response("")}catch{return new Response("")}},Ft=e=>{e.forEach(t=>{console.log(t)})},M$=async(e,{filename:t},{content:r,module:n,scoped:o=!1,src:i})=>{const{code:s,errors:a}=await hu({filename:t,id:e,modules:!!n,scoped:o,source:i?await(await Jr(i)).text():r});Ft(a),ad(s,o?{id:e}:void 0)},tc=e=>nt(()=>import(`data:text/javascript;base64,${btoa(Array.from(new TextEncoder().encode(e),t=>String.fromCodePoint(t)).join(""))}`),[],import.meta.url),F$=async e=>{const{descriptor:t,errors:r}=fu(await(await Jr(e)).text(),{filename:e}),n={expressionPlugins:[]},o=["script","scriptSetup"],i=await Promise.all(o.map(async d=>{const{lang:y="js",src:m}=t[d]??{};return/[jt]sx$/.test(y)&&n.expressionPlugins?.push("jsx"),/tsx?$/.test(y)&&n.expressionPlugins?.push("typescript"),m&&await(await Jr(m)).text()})),s=`data-v-${I$(e)}`,a="preserve",c={},u=t.styles.some(({scoped:d})=>d),{expressionPlugins:l}=n;if(Ft(r),u&&(c.__scopeId=s),t.script||t.scriptSetup){o.forEach((v,h)=>{const p=t[v];p&&i[h]!==void 0&&(p.content=i[h])});const{bindings:d,content:y,warnings:m=[]}=du(t,{id:s});Ft(m),d&&(n.bindingMetadata=d),Object.assign(c,(await tc(l.length?ui(y,{jsxRuntime:a,transforms:l}).code:y)).default)}if(t.template){const{code:d,errors:y,tips:m}=pu({ast:t.template.ast,compilerOptions:n,filename:t.filename,id:s,scoped:u,slotted:t.slotted,source:t.template.src?await(await Jr(t.template.src)).text():t.template.content,vapor:t.vapor});Ft(y),Ft(m),Object.assign(c,await tc(l.length?ui(d,{jsxRuntime:a,transforms:l}).code:d))}return t.styles.forEach(d=>{M$(s,t,d)}),c};let No;const{pathname:z$}=new URL(document.baseURI),rc=Ge(!0),dn=new Map,L$=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}},ot=lu({history:uu(z$),routes:[],scrollBehavior:(e,t,r)=>No&&No(e,t,r)}),nc=Ge(!0),oc=pe(()=>ot.currentRoute.value.path==="/"?yo[ot.currentRoute.value.name]?.$children[0]:yo[ot.currentRoute.value.name]),J$=({id:e=qo()})=>(dn.set(e,L$()),iu(async()=>F$(`./pages/${e}.vue`))),X$=({id:e}={})=>{e&&dn.get(e)?.resolve(void 0)},q$=({extractAll:e,toggleObserver:t})=>{No=async({hash:r,name:n})=>{if(n){rc.value=!0,t(!1);const[{promise:o}={}]=dn.values();await o,await Promise.all([...dn.values()].map(({promise:s})=>s)),await e(),t(!0);const i=nc.value&&{behavior:"smooth",...r||oc.value?.parent?.flat&&oc.value.index?{el:r||`#${String(n)}`}:{left:0,top:0}};return rc.value=!1,nc.value=!0,i}else return!1}};ot.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const pn=su(T$),D$={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};pn.use(Gu());const V$=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();tn.push(t),await Fo(),rn.value.forEach(({id:r,loc:n,path:o},i,s)=>{if(Object.defineProperties(s[i],{jsonld:D$}),o!==void 0){const a=n?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");ot.addRoute({...a&&n?{alias:a}:{undefined:void 0},children:[{component:()=>nt(()=>import("./PageView-B7bgbHgD.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:r,path:""}],component:()=>nt(()=>import("./RootView-fJ3s5rdg.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),pn.provide("pages",yo),ot.addRoute({component:()=>nt(()=>import("./NotFoundView-BqN5m7eA.js"),__vite__mapDeps([4,1,2]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json"),t=Bp(await(e.ok?e:new Response("[]")).json());Da.presets.push(Uf({customFetch:Wp,fonts:t})),await Kf({defaults:Da,ready:async r=>{const{toggleObserver:n}=r;return q$(r),await V$,pn.use(ot),pn.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(Hp);console.info("👊 VueBro","/","runtime ver.:","1.0.3","/","https://github.com/vuebro");export{O$ as _,G$ as a,rc as b,rn as c,Hp as d,yc as e,J$ as m,dn as p,X$ as r,nc as s,oc as t,K$ as u,qo as v};
415
+ }`,n.config.envMode==="dev")};if(i==="on-demand"){if(yt.size===0)return;a=Array.from(yt).map(u=>{const[l,d]=u.split(":"),y=cn(r,l,d.split("-"));if(typeof y=="string")return[`--${l}${`${l==="spacing"&&d==="DEFAULT"?"":`-${d}`}`}`,y]}).filter(Boolean)}else{const u=Object.keys(r).filter(l=>!mv.includes(l));a=Array.from(gv(r,u))}return c(a)}}}const bv=e=>[hv(e),yv(e),dv()].filter(Boolean),vv={position:["relative","absolute","fixed","sticky","static"],globalKeyword:fe},$v=(e={})=>{e.dark=e.dark??"class",e.attributifyPseudo=e.attributifyPseudo??!1,e.variablePrefix=e.variablePrefix??"un-",e.important=e.important??!1;const t=typeof e.preflights?.theme=="boolean"||typeof e.preflights?.theme=="string"?{mode:e.preflights.theme??"on-demand"}:{mode:e.preflights?.theme?.mode??"on-demand",...e.preflights?.theme};return e.preflights={reset:e.preflights?.reset??!0,theme:t},{name:p0,rules:fv,shortcuts:ay,theme:ry,layers:{properties:-200,theme:-150,base:-100},preflights:bv(e),variants:Tg(e),prefix:e.prefix,postprocess:U0(e),extractorDefault:e.arbitraryVariants===!1?void 0:d0(),autocomplete:{shorthands:vv},options:e,configResolved(){yt.clear(),bt.clear()},meta:{themeDeps:yt,propertyDeps:bt}}},Va={presets:[$v({preflights:{reset:!0}}),r0(),mm({cdn:"https://cdn.jsdelivr.net/npm/"}),vm(),Qp()]},Al=/^[a-z0-9]+(-[a-z0-9]+)*$/,Jt=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),c=o.pop(),u={provider:o.length>0?o[0]:n,prefix:c,name:a};return t&&!Br(u)?null:u}const i=o[0],s=i.split("-");if(s.length>1){const a={provider:n,prefix:s.shift(),name:s.join("-")};return t&&!Br(a)?null:a}if(r&&n===""){const a={provider:n,prefix:"",name:i};return t&&!Br(a,r)?null:a}return null},Br=(e,t)=>e?!!((t&&e.prefix===""||e.prefix)&&e.name):!1,Nl=Object.freeze({left:0,top:0,width:16,height:16}),fn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),kt=Object.freeze({...Nl,...fn}),Oo=Object.freeze({...kt,body:"",hidden:!1});function wv(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function Ua(e,t){const r=wv(e,t);for(const n in Oo)n in fn?n in e&&!(n in r)&&(r[n]=fn[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function kv(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function i(s){if(r[s])return o[s]=[];if(!(s in o)){o[s]=null;const a=n[s]&&n[s].parent,c=a&&i(a);c&&(o[s]=[a].concat(c))}return o[s]}return Object.keys(r).concat(Object.keys(n)).forEach(i),o}function _v(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let i={};function s(a){i=Ua(n[a]||o[a],i)}return s(t),r.forEach(s),Ua(e,i)}function Il(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=kv(e);for(const o in n){const i=n[o];i&&(t(o,_v(e,o,i)),r.push(o))}return r}const xv={provider:"",aliases:{},not_found:{},...Nl};function co(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function Ml(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!co(e,xv))return null;const r=t.icons;for(const o in r){const i=r[o];if(!o||typeof i.body!="string"||!co(i,Oo))return null}const n=t.aliases||Object.create(null);for(const o in n){const i=n[o],s=i.parent;if(!o||typeof s!="string"||!r[s]&&!n[s]||!co(i,Oo))return null}return t}const Ha=Object.create(null);function Sv(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function vt(e,t){const r=Ha[e]||(Ha[e]=Object.create(null));return r[t]||(r[t]=Sv(e,t))}function Fl(e,t){return Ml(t)?Il(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function Ev(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Wt=!1;function zl(e){return typeof e=="boolean"&&(Wt=e),Wt}function jn(e){const t=typeof e=="string"?Jt(e,!0,Wt):e;if(t){const r=vt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function Cv(e,t){const r=Jt(e,!0,Wt);if(!r)return!1;const n=vt(r.provider,r.prefix);return t?Ev(n,r.name,t):(n.missing.add(r.name),!0)}function jv(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Wt&&!t&&!e.prefix){let o=!1;return Ml(e)&&(e.prefix="",Il(e,(i,s)=>{Cv(i,s)&&(o=!0)})),o}const r=e.prefix;if(!Br({prefix:r,name:"a"}))return!1;const n=vt(t,r);return!!Fl(n,e)}function Pv(e){return!!jn(e)}function Ov(e){const t=jn(e);return t&&{...kt,...t}}const Ll=Object.freeze({width:null,height:null}),ql=Object.freeze({...Ll,...fn}),Rv=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Tv=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Wa(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Rv);if(n===null||!n.length)return e;const o=[];let i=n.shift(),s=Tv.test(i);for(;;){if(s){const a=parseFloat(i);isNaN(a)?o.push(i):o.push(Math.ceil(a*t*r)/r)}else o.push(i);if(i=n.shift(),i===void 0)return o.join("");s=!s}}function Av(e,t="defs"){let r="";const n=e.indexOf("<"+t);for(;n>=0;){const o=e.indexOf(">",n),i=e.indexOf("</"+t);if(o===-1||i===-1)break;const s=e.indexOf(">",i);if(s===-1)break;r+=e.slice(o+1,i).trim(),e=e.slice(0,n).trim()+e.slice(s+1)}return{defs:r,content:e}}function Nv(e,t){return e?"<defs>"+e+"</defs>"+t:t}function Iv(e,t,r){const n=Av(e);return Nv(n.defs,t+n.content+r)}const Mv=e=>e==="unset"||e==="undefined"||e==="none";function Fv(e,t){const r={...kt,...e},n={...ql,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let i=r.body;[r,n].forEach(h=>{const p=[],b=h.hFlip,f=h.vFlip;let g=h.rotate;b?f?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):f&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let $;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:$=o.height/2+o.top,p.unshift("rotate(90 "+$.toString()+" "+$.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:$=o.width/2+o.left,p.unshift("rotate(-90 "+$.toString()+" "+$.toString()+")");break}g%2===1&&(o.left!==o.top&&($=o.left,o.left=o.top,o.top=$),o.width!==o.height&&($=o.width,o.width=o.height,o.height=$)),p.length&&(i=Iv(i,'<g transform="'+p.join(" ")+'">',"</g>"))});const s=n.width,a=n.height,c=o.width,u=o.height;let l,d;s===null?(d=a===null?"1em":a==="auto"?u:a,l=Wa(d,c/u)):(l=s==="auto"?c:s,d=a===null?Wa(l,u/c):a==="auto"?u:a);const y={},m=(h,p)=>{Mv(p)||(y[h]=p.toString())};m("width",l),m("height",d);const v=[o.left,o.top,c,u];return y.viewBox=v.join(" "),{attributes:y,viewBox:v,body:i}}const zv=/\sid="(\S+)"/g,Lv="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let qv=0;function Dv(e,t=Lv){const r=[];let n;for(;n=zv.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(i=>{const s=typeof t=="function"?t(i):t+(qv++).toString(),a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+a+')([")]|\\.[a-z])',"g"),"$1"+s+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const Ro=Object.create(null);function Vv(e,t){Ro[e]=t}function To(e){return Ro[e]||Ro[""]}function ri(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ni=Object.create(null),It=["https://api.simplesvg.com","https://api.unisvg.com"],Kr=[];for(;It.length>0;)It.length===1||Math.random()>.5?Kr.push(It.shift()):Kr.push(It.pop());ni[""]=ri({resources:["https://api.iconify.design"].concat(Kr)});function Uv(e,t){const r=ri(t);return r===null?!1:(ni[e]=r,!0)}function oi(e){return ni[e]}const Hv=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ba=Hv();function Wv(e,t){const r=oi(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(s=>{o=Math.max(o,s.length)});const i=t+".json?icons=";n=r.maxURL-o-r.path.length-i.length}return n}function Bv(e){return e===404}const Kv=(e,t,r)=>{const n=[],o=Wv(e,t),i="icons";let s={type:i,provider:e,prefix:t,icons:[]},a=0;return r.forEach((c,u)=>{a+=c.length+1,a>=o&&u>0&&(n.push(s),s={type:i,provider:e,prefix:t,icons:[]},a=c.length),s.icons.push(c)}),n.push(s),n};function Gv(e){if(typeof e=="string"){const t=oi(e);if(t)return t.path}return"/"}const Jv=(e,t,r)=>{if(!Ba){r("abort",424);return}let n=Gv(t.provider);switch(t.type){case"icons":{const i=t.prefix,a=t.icons.join(","),c=new URLSearchParams({icons:a});n+=i+".json?"+c.toString();break}case"custom":{const i=t.uri;n+=i.slice(0,1)==="/"?i.slice(1):i;break}default:r("abort",400);return}let o=503;Ba(e+n).then(i=>{const s=i.status;if(s!==200){setTimeout(()=>{r(Bv(s)?"abort":"next",s)});return}return o=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?r("abort",i):r("next",o)});return}setTimeout(()=>{r("success",i)})}).catch(()=>{r("next",o)})},Xv={prepare:Kv,send:Jv};function Yv(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,i)=>o.provider!==i.provider?o.provider.localeCompare(i.provider):o.prefix!==i.prefix?o.prefix.localeCompare(i.prefix):o.name.localeCompare(i.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const i=o.provider,s=o.prefix,a=o.name,c=r[i]||(r[i]=Object.create(null)),u=c[s]||(c[s]=vt(i,s));let l;a in u.icons?l=t.loaded:s===""||u.missing.has(a)?l=t.missing:l=t.pending;const d={provider:i,prefix:s,name:a};l.push(d)}),t}function Dl(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Qv(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(i=>{const s=i.icons,a=s.pending.length;s.pending=s.pending.filter(c=>{if(c.prefix!==o)return!0;const u=c.name;if(e.icons[u])s.loaded.push({provider:n,prefix:o,name:u});else if(e.missing.has(u))s.missing.push({provider:n,prefix:o,name:u});else return r=!0,!0;return!1}),s.pending.length!==a&&(r||Dl([e],i.id),i.callback(s.loaded.slice(0),s.missing.slice(0),s.pending.slice(0),i.abort))})}))}let Zv=0;function e$(e,t,r){const n=Zv++,o=Dl.bind(null,r,n);if(!t.pending.length)return o;const i={id:n,icons:t,callback:e,abort:o};return r.forEach(s=>{(s.loaderCallbacks||(s.loaderCallbacks=[])).push(i)}),o}function t$(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const i=typeof o=="string"?Jt(o,t,r):o;i&&n.push(i)}),n}var r$={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function n$(e,t,r,n){const o=e.resources.length,i=e.random?Math.floor(Math.random()*o):e.index;let s;if(e.random){let k=e.resources.slice(0);for(s=[];k.length>1;){const _=Math.floor(Math.random()*k.length);s.push(k[_]),k=k.slice(0,_).concat(k.slice(_+1))}s=s.concat(k)}else s=e.resources.slice(i).concat(e.resources.slice(0,i));const a=Date.now();let c="pending",u=0,l,d=null,y=[],m=[];typeof n=="function"&&m.push(n);function v(){d&&(clearTimeout(d),d=null)}function h(){c==="pending"&&(c="aborted"),v(),y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function p(k,_){_&&(m=[]),typeof k=="function"&&m.push(k)}function b(){return{startTime:a,payload:t,status:c,queriesSent:u,queriesPending:y.length,subscribe:p,abort:h}}function f(){c="failed",m.forEach(k=>{k(void 0,l)})}function g(){y.forEach(k=>{k.status==="pending"&&(k.status="aborted")}),y=[]}function $(k,_,E){const P=_!=="success";switch(y=y.filter(M=>M!==k),c){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(_==="abort"){l=E,f();return}if(P){l=E,y.length||(s.length?w():f());return}if(v(),g(),!e.random){const M=e.resources.indexOf(k.resource);M!==-1&&M!==e.index&&(e.index=M)}c="completed",m.forEach(M=>{M(E)})}function w(){if(c!=="pending")return;v();const k=s.shift();if(k===void 0){if(y.length){d=setTimeout(()=>{v(),c==="pending"&&(g(),f())},e.timeout);return}f();return}const _={status:"pending",resource:k,callback:(E,P)=>{$(_,E,P)}};y.push(_),u++,d=setTimeout(w,e.rotate),r(k,t,_.callback)}return setTimeout(w),b}function Vl(e){const t={...r$,...e};let r=[];function n(){r=r.filter(a=>a().status==="pending")}function o(a,c,u){const l=n$(t,a,c,(d,y)=>{n(),u&&u(d,y)});return r.push(l),l}function i(a){return r.find(c=>a(c))||null}return{query:o,find:i,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:n}}function Ka(){}const lo=Object.create(null);function o$(e){if(!lo[e]){const t=oi(e);if(!t)return;const r=Vl(t),n={config:t,redundancy:r};lo[e]=n}return lo[e]}function i$(e,t,r){let n,o;if(typeof e=="string"){const i=To(e);if(!i)return r(void 0,424),Ka;o=i.send;const s=o$(e);s&&(n=s.redundancy)}else{const i=ri(e);if(i){n=Vl(i);const s=e.resources?e.resources[0]:"",a=To(s);a&&(o=a.send)}}return!n||!o?(r(void 0,424),Ka):n.query(t,o,r)().abort}function Ga(){}function s$(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Qv(e)}))}function a$(e){const t=[],r=[];return e.forEach(n=>{(n.match(Al)?t:r).push(n)}),{valid:t,invalid:r}}function Mt(e,t,r){function n(){const o=e.pendingIcons;t.forEach(i=>{o&&o.delete(i),e.icons[i]||e.missing.add(i)})}if(r&&typeof r=="object")try{if(!Fl(e,r).length){n();return}}catch(o){console.error(o)}n(),s$(e)}function Ja(e,t){e instanceof Promise?e.then(r=>{t(r)}).catch(()=>{t(null)}):t(e)}function c$(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;if(delete e.iconsToLoad,!o||!o.length)return;const i=e.loadIcon;if(e.loadIcons&&(o.length>1||!i)){Ja(e.loadIcons(o,n,r),l=>{Mt(e,o,l)});return}if(i){o.forEach(l=>{const d=i(l,n,r);Ja(d,y=>{const m=y?{prefix:n,icons:{[l]:y}}:null;Mt(e,[l],m)})});return}const{valid:s,invalid:a}=a$(o);if(a.length&&Mt(e,a,null),!s.length)return;const c=n.match(Al)?To(r):null;if(!c){Mt(e,s,null);return}c.prepare(r,n,s).forEach(l=>{i$(r,l,d=>{Mt(e,l.icons,d)})})}))}const Ul=(e,t)=>{const r=t$(e,!0,zl()),n=Yv(r);if(!n.pending.length){let c=!0;return t&&setTimeout(()=>{c&&t(n.loaded,n.missing,n.pending,Ga)}),()=>{c=!1}}const o=Object.create(null),i=[];let s,a;return n.pending.forEach(c=>{const{provider:u,prefix:l}=c;if(l===a&&u===s)return;s=u,a=l,i.push(vt(u,l));const d=o[u]||(o[u]=Object.create(null));d[l]||(d[l]=[])}),n.pending.forEach(c=>{const{provider:u,prefix:l,name:d}=c,y=vt(u,l),m=y.pendingIcons||(y.pendingIcons=new Set);m.has(d)||(m.add(d),o[u][l].push(d))}),i.forEach(c=>{const u=o[c.provider][c.prefix];u.length&&c$(c,u)}),t?e$(t,n,i):Ga},l$=e=>new Promise((t,r)=>{const n=typeof e=="string"?Jt(e,!0):e;if(!n){r(e);return}Ul([n||e],o=>{if(o.length&&n){const i=jn(n);if(i){t({...kt,...i});return}}r(e)})});function u$(e,t){const r={...e};for(const n in t){const o=t[n],i=typeof o;n in Ll?(o===null||o&&(i==="string"||i==="number"))&&(r[n]=o):i===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const f$=/[\s,]+/;function d$(e,t){t.split(f$).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function p$(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let i=parseFloat(e.slice(0,e.length-r.length));return isNaN(i)?0:(i=i/o,i%1===0?n(i):0)}}return t}function h$(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+r+">"+e+"</svg>"}function m$(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function g$(e){return"data:image/svg+xml,"+m$(e)}function y$(e){return'url("'+g$(e)+'")'}const Xa={...ql,inline:!1},b$={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},v$={display:"inline-block"},Ao={backgroundColor:"currentColor"},Hl={backgroundColor:"transparent"},Ya={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Qa={webkitMask:Ao,mask:Ao,background:Hl};for(const e in Qa){const t=Qa[e];for(const r in Ya)t[e+r]=Ya[r]}const Gr={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Gr[e+"-flip"]=t,Gr[e.slice(0,1)+"-flip"]=t,Gr[e+"Flip"]=t});function Za(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const ec=(e,t)=>{const r=u$(Xa,t),n={...b$},o=t.mode||"svg",i={},s=t.style,a=typeof s=="object"&&!(s instanceof Array)?s:{};for(let h in t){const p=t[h];if(p!==void 0)switch(h){case"icon":case"style":case"onLoad":case"mode":case"ssr":break;case"inline":case"hFlip":case"vFlip":r[h]=p===!0||p==="true"||p===1;break;case"flip":typeof p=="string"&&d$(r,p);break;case"color":i.color=p;break;case"rotate":typeof p=="string"?r[h]=p$(p):typeof p=="number"&&(r[h]=p);break;case"ariaHidden":case"aria-hidden":p!==!0&&p!=="true"&&delete n["aria-hidden"];break;default:{const b=Gr[h];b?(p===!0||p==="true"||p===1)&&(r[b]=!0):Xa[h]===void 0&&(n[h]=p)}}}const c=Fv(e,r),u=c.attributes;if(r.inline&&(i.verticalAlign="-0.125em"),o==="svg"){n.style={...i,...a},Object.assign(n,u);let h=0,p=t.id;return typeof p=="string"&&(p=p.replace(/-/g,"_")),n.innerHTML=Dv(c.body,p?()=>p+"ID"+h++:"iconifyVue"),ai("svg",n)}const{body:l,width:d,height:y}=e,m=o==="mask"||(o==="bg"?!1:l.indexOf("currentColor")!==-1),v=h$(l,{...u,width:d+"",height:y+""});return n.style={...i,"--svg":y$(v),width:Za(u.width),height:Za(u.height),...v$,...m?Ao:Hl,...a},ai("span",n)};zl(!0);Vv("",Xv);if(typeof document<"u"&&typeof window<"u"){const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!jv(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;Uv(r,o)||console.error(n)}catch{console.error(n)}}}}const $$={...kt,body:""};ac((e,{emit:t})=>{const r=Ge(null);function n(){r.value&&(r.value.abort?.(),r.value=null)}const o=Ge(!!e.ssr),i=Ge(""),s=Je(null);function a(){const u=e.icon;if(typeof u=="object"&&u!==null&&typeof u.body=="string")return i.value="",{data:u};let l;if(typeof u!="string"||(l=Jt(u,!1,!0))===null)return null;let d=jn(l);if(!d){const v=r.value;return(!v||v.name!==u)&&(d===null?r.value={name:u}:r.value={name:u,abort:Ul([l],c)}),null}n(),i.value!==u&&(i.value=u,Fo(()=>{t("load",u)}));const y=e.customise;if(y){d=Object.assign({},d);const v=y(d.body,l.name,l.prefix,l.provider);typeof v=="string"&&(d.body=v)}const m=["iconify"];return l.prefix!==""&&m.push("iconify--"+l.prefix),l.provider!==""&&m.push("iconify--"+l.provider),{data:d,classes:m}}function c(){const u=a();u?u.data!==s.value?.data&&(s.value=u):s.value=null}return o.value?c():Mo(()=>{o.value=!0,c()}),Fe(()=>e.icon,c),ru(n),()=>{const u=s.value;if(!u)return ec($$,e);let l=e;return u.classes&&(l={...e,class:u.classes.join(" ")}),ec({...kt,...u.data},l)}},{props:["icon","mode","ssr","width","height","style","color","inline","rotate","hFlip","horizontalFlip","vFlip","verticalFlip","flip","id","ariaHidden","customise","title"],emits:["load"]});const w$=ac({__name:"App",setup(e,{expose:t}){t();const r=lu(),n=pe(()=>rn.value.find(({id:c})=>c===r.name)),o=Ge(""),i=Ge(""),s=pe(()=>n.value?.to&&`${window.location.origin}${n.value.to==="/"?"":n.value.to}`);Fe(n,async c=>{let u="/favicon.ico";if(c?.icon){const l=Pv(c.icon)?Ov(c.icon):await l$(c.icon);if(l){const{body:d,height:y,left:m,top:v,width:h}=l;u=`data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="${m.toString()} ${v.toString()} ${h.toString()} ${y.toString()}">${d}</svg>`}}o.value=u}),bc({link:[[o,"icon","icon"],[s,"canonical"]].map(([c,u,l])=>({href:c,key:l,rel:u})),script:[{id:"application/ld+json",innerHTML:i,type:"application/ld+json"}]}),Gu({description:pe(()=>n.value?.description),keywords:pe(()=>n.value?.keywords.join()),ogDescription:pe(()=>n.value?.description),ogImage:pe(()=>n.value?.images.filter(({url:c})=>c).map(({alt:c="",url:u})=>({alt:c,url:`${window.location.origin}/${u}`}))??[]),ogTitle:pe(()=>n.value?.title),ogType:pe(()=>n.value?.type),ogUrl:s,title:pe(()=>n.value?.title)}),Fe(()=>n.value?.jsonld,async c=>{i.value=JSON.stringify(await c)||'{"@context":"https://schema.org"}'});const a={route:r,a:n,favicon:o,jsonld:i,ogUrl:s,get pages(){return rn}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),k$=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r};function _$(e,t,r,n,o,i){const s=nu("router-view");return li(),ci(s,null,{default:ou(({Component:a})=>[(li(),ci(iu(a),{id:n.pages[0]?.id},null,8,["id"]))]),_:1})}const x$=k$(w$,[["render",_$],["__file","App.vue"]]);var uo,tc;function S$(){if(tc)return uo;tc=1;function e(s,a){for(;s.length<a;)s="0"+s;return s}function t(s,a){var c,u,l;if(a.length===0)return s;for(c=0,l=a.length;c<l;c++)u=a.charCodeAt(c),s=(s<<5)-s+u,s|=0;return s<0?s*-2:s}function r(s,a,c){return Object.keys(a).sort().reduce(u,s);function u(l,d){return n(l,a[d],d,c)}}function n(s,a,c,u){var l=t(t(t(s,c),o(a)),typeof a);if(a===null)return t(l,"null");if(a===void 0)return t(l,"undefined");if(typeof a=="object"||typeof a=="function"){if(u.indexOf(a)!==-1)return t(l,"[Circular]"+c);u.push(a);var d=r(l,a,u);if(!("valueOf"in a)||typeof a.valueOf!="function")return d;try{return t(d,String(a.valueOf()))}catch(y){return t(d,"[valueOf exception]"+(y.stack||y.message))}}return t(l,a.toString())}function o(s){return Object.prototype.toString.call(s)}function i(s){return e(n(0,s,"",[]).toString(16),8)}return uo=i,uo}var E$=S$();const C$=hn(E$),Jr=async e=>{try{const t=await fetch(e);return t.ok?t:new Response("")}catch{return new Response("")}},Ft=e=>{e.forEach(t=>{console.log(t)})},j$=async(e,{filename:t},{content:r,module:n,scoped:o=!1,src:i})=>{const{code:s,errors:a}=await mu({filename:t,id:e,modules:!!n,scoped:o,source:i?await(await Jr(i)).text():r});Ft(a),cd(s,o?{id:e}:void 0)},rc=e=>ot(()=>import(`data:text/javascript;base64,${btoa(Array.from(new TextEncoder().encode(e),t=>String.fromCodePoint(t)).join(""))}`),[],import.meta.url),P$=async e=>{const{descriptor:t,errors:r}=du(await(await Jr(e)).text(),{filename:e}),n={expressionPlugins:[]},o=["script","scriptSetup"],i=await Promise.all(o.map(async d=>{const{lang:y="js",src:m}=t[d]??{};return/[jt]sx$/.test(y)&&n.expressionPlugins?.push("jsx"),/tsx?$/.test(y)&&n.expressionPlugins?.push("typescript"),m&&await(await Jr(m)).text()})),s=`data-v-${C$(e)}`,a="preserve",c={},u=t.styles.some(({scoped:d})=>d),{expressionPlugins:l}=n;if(Ft(r),u&&(c.__scopeId=s),t.script||t.scriptSetup){o.forEach((v,h)=>{const p=t[v];p&&i[h]!==void 0&&(p.content=i[h])});const{bindings:d,content:y,warnings:m=[]}=pu(t,{id:s});Ft(m),d&&(n.bindingMetadata=d),Object.assign(c,(await rc(l.length?ui(y,{jsxRuntime:a,transforms:l}).code:y)).default)}if(t.template){const{code:d,errors:y,tips:m}=hu({ast:t.template.ast,compilerOptions:n,filename:t.filename,id:s,scoped:u,slotted:t.slotted,source:t.template.src?await(await Jr(t.template.src)).text():t.template.content,vapor:t.vapor});Ft(y),Ft(m),Object.assign(c,await rc(l.length?ui(d,{jsxRuntime:a,transforms:l}).code:d))}return t.styles.forEach(d=>{j$(s,t,d)}),c};let No;const{pathname:O$}=new URL(document.baseURI),nc=Ge(!0),dn=new Map,R$=()=>{let e,t;return{promise:new Promise((n,o)=>{e=n,t=o}),reject:t,resolve:e}},it=uu({history:fu(O$),routes:[],scrollBehavior:(e,t,r)=>No&&No(e,t,r)}),oc=Ge(!0),ic=pe(()=>it.currentRoute.value.path==="/"?yo[it.currentRoute.value.name]?.$children[0]:yo[it.currentRoute.value.name]),D$=({id:e=qo()})=>(dn.set(e,R$()),su(async()=>P$(`./pages/${e}.vue`))),V$=({id:e}={})=>{e&&dn.get(e)?.resolve(void 0)},T$=({extractAll:e,toggleObserver:t})=>{No=async({hash:r,name:n})=>{if(n){nc.value=!0,t(!1);const[{promise:o}={}]=dn.values();await o,await Promise.all([...dn.values()].map(({promise:s})=>s)),await e(),t(!0);const i=oc.value&&{behavior:"smooth",...r||ic.value?.parent?.flat&&ic.value.index?{el:r||`#${String(n)}`}:{left:0,top:0}};return nc.value=!1,oc.value=!0,i}else return!1}};it.beforeEach(({path:e})=>e!==decodeURI(e)?decodeURI(e):void 0);const pn=au(x$),A$={async get(){if(this.id)try{const e=await fetch(`./pages/${this.id}.jsonld`);return e.ok?await e.json():void 0}catch{return}}};pn.use(Ju());const N$=(async()=>{const e=await fetch("index.json"),[t={}]=await(e.ok?e:new Response("[]")).json();tn.push(t),await Fo(),rn.value.forEach(({id:r,loc:n,path:o},i,s)=>{if(Object.defineProperties(s[i],{jsonld:A$}),o!==void 0){const a=n?.replaceAll(" ","_").replace(/^\/?/,"/").replace(/\/?$/,"/");it.addRoute({...a&&n?{alias:a}:{undefined:void 0},children:[{component:()=>ot(()=>import("./PageView-Dc4sE-39.js"),__vite__mapDeps([0,1,2]),import.meta.url),name:r,path:""}],component:()=>ot(()=>import("./RootView-CjsO36KD.js"),__vite__mapDeps([3,1,2]),import.meta.url),path:o.replace(/^\/?/,"/").replace(/\/?$/,"/")})}}),pn.provide("pages",yo),it.addRoute({component:()=>ot(()=>import("./NotFoundView-XdHUbcDP.js"),__vite__mapDeps([4,1,2]),import.meta.url),name:"404",path:"/:pathMatch(.*)*"})})();(async()=>{const e=await fetch("fonts.json"),t=Fp(await(e.ok?e:new Response("[]")).json());Va.presets.push(Hf({customFetch:Mp,fonts:t})),await Gf({defaults:Va,ready:async r=>{const{toggleObserver:n}=r;return T$(r),await N$,pn.use(it),pn.mount("#app"),n(!0),!1},rootElement:()=>document.getElementById("app")??void 0})})().catch(Ip);console.info("👊 VueBro","/","runtime ver.:","1.0.4","/","https://github.com/vuebro");export{k$ as _,q$ as a,nc as b,rn as c,Ip as d,bc as e,D$ as m,dn as p,V$ as r,oc as s,ic as t,L$ as u,qo as v};