pages/assets/app.99998402.js

8 lines
131 KiB
JavaScript
Raw Normal View History

function Es(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const Sr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vr=Es(Sr);function ai(e){return!!e||e===""}function Dn(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=we(s)?Er(s):Dn(s);if(o)for(const i in o)t[i]=o[i]}return t}else{if(we(e))return e;if(ge(e))return e}}const Tr=/;(?![^(]*\))/g,Lr=/:(.+)/;function Er(e){const t={};return e.split(Tr).forEach(n=>{if(n){const s=n.split(Lr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function de(e){let t="";if(we(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=de(e[n]);s&&(t+=s+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ae=e=>we(e)?e:e==null?"":K(e)||ge(e)&&(e.toString===hi||!X(e.toString))?JSON.stringify(e,ui,2):String(e),ui=(e,t)=>t&&t.__v_isRef?ui(e,t.value):Nt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:fi(t)?{[`Set(${t.size})`]:[...t.values()]}:ge(t)&&!K(t)&&!_i(t)?String(t):t,ve={},At=[],Ke=()=>{},Mr=()=>!1,Ir=/^on[^a-z]/,hn=e=>Ir.test(e),Ms=e=>e.startsWith("onUpdate:"),ke=Object.assign,Is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ar=Object.prototype.hasOwnProperty,se=(e,t)=>Ar.call(e,t),K=Array.isArray,Nt=e=>Rn(e)==="[object Map]",fi=e=>Rn(e)==="[object Set]",X=e=>typeof e=="function",we=e=>typeof e=="string",As=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",di=e=>ge(e)&&X(e.then)&&X(e.catch),hi=Object.prototype.toString,Rn=e=>hi.call(e),Nr=e=>Rn(e).slice(8,-1),_i=e=>Rn(e)==="[object Object]",Ns=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=Es(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),zn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Br=/-(\w)/g,et=zn(e=>e.replace(Br,(t,n)=>n?n.toUpperCase():"")),Or=/\B([A-Z])/g,Wt=zn(e=>e.replace(Or,"-$1").toLowerCase()),jn=zn(e=>e.charAt(0).toUpperCase()+e.slice(1)),rs=zn(e=>e?`on${jn(e)}`:""),on=(e,t)=>!Object.is(e,t),ls=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Sn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},pi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ho;const Fr=()=>ho||(ho=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Ae;class Hr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Ae&&(this.parent=Ae,this.index=(Ae.scopes||(Ae.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Ae;try{return Ae=this,t()}finally{Ae=n}}}on(){Ae=this}off(){Ae=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.active=!1}}}function Dr(e,t=Ae){t&&t.active&&t.effects.push(e)}function Rr(){return Ae}function zr(e){Ae&&Ae.cleanups.push(e)}const Bs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},vi=e=>(e.w&ht)>0,mi=e=>(e.n&ht)>0,jr=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ht},Ur=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];vi(o)&&!mi(o)?o.delete(e):t[n++]=o,o.w&=~ht,o.n&=~ht}t.length=n}},ps=new WeakMap;let Xt=0,ht=1;const vs=30;let je;const St=Symbol(""),ms=Symbol("");class Os{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Dr(this,s)}run(){if(!this.active)return this.fn();let t=je,n=ft;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=je,je=this,ft=!0,ht=1<<++Xt,Xt<=vs?jr(this):_o(this),this.fn()}finally{Xt<=vs&&Ur(this),ht=1<<--Xt,je=this.parent,ft=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){je===this?this.deferStop=!0:this.active&&(_o(this),this.onStop&&this.onStop(),this.active=!1)}}function _o(e){
-webkit-transition: none !important;
-moz-transition: none !important;
-o-transition: none !important;
-ms-transition: none !important;
transition: none !important;
}`)),document.head.appendChild($),s.value=y,l[y?"add":"remove"]("dark"),window.getComputedStyle($).opacity,document.head.removeChild($)}return h}return Ze(s,r=>{n.value=r}),(r,l)=>(d(),G(Zu,{class:"VPSwitchAppearance","aria-label":"toggle dark mode","aria-checked":s.value,onClick:_(o)},{default:I(()=>[V(rf,{class:"sun"}),V(df,{class:"moon"})]),_:1},8,["aria-checked","onClick"]))}});const so=A(hf,[["__scopeId","data-v-481098f9"]]),_f={key:0,class:"VPNavBarAppearance"},pf=O({__name:"VPNavBarAppearance",setup(e){const{site:t}=le();return(n,s)=>_(t).appearance?(d(),m("div",_f,[V(so)])):z("",!0)}});const vf=A(pf,[["__scopeId","data-v-a3e7452b"]]),mf={discord:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>',facebook:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path d="M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"/></svg>',github:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg>',instagram:'<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path d="M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.20