PluralKit/docs/assets/main.d79280e1.js

4 lines
95 KiB
JavaScript
Raw Normal View History

var at=Object.defineProperty;var Te=Object.getOwnPropertySymbols;var pt=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable;var ye=(o,e,n)=>e in o?at(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,Se=(o,e)=>{for(var n in e||(e={}))pt.call(e,n)&&ye(o,n,e[n]);if(Te)for(var n of Te(e))ct.call(e,n)&&ye(o,n,e[n]);return o};var O=(o,e,n)=>(ye(o,typeof e!="symbol"?e+"":e,n),n);import{w as Me,S as V,i as R,s as Y,N as he,e as T,c as d,a as U,b as h,d as _,m as b,t as a,f as m,g as p,h as v,j as _t,k as mt,C as gt,l as I,n as Ie,o as E,p as ze,D as Ce,q as me,r as B,u as H,v as Pe,x as Oe,y as ge,z as le,L as de,A as $e,B as ie,F as dt,M as Ne,E as q,G as Z,H as be,I as qe,J as ae,K as pe,O as ne,P as Le,R as Q,Q as W,T as bt,U as vt,V as x,W as je,X as N,Y as wt,Z as G,_ as K,$ as L,a0 as j,a1 as D,a2 as oe,a3 as fe,a4 as kt,a5 as De,a6 as yt,a7 as St,a8 as It,a9 as ve,aa as At,ab as ce,ac as Et,ad as Ue,ae as Je,af as we,ag as Be,ah as Tt,ai as Mt,aj as He,ak as Fe,al as ht,am as zt,an as Ct,ao as ee}from"./vendor.a3039f12.js";const Pt=function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))t(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const f of r.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&t(f)}).observe(document,{childList:!0,subtree:!0});function n(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerpolicy&&(r.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?r.credentials="include":s.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function t(s){if(s.ep)return;s.ep=!0;const r=n(s);fetch(s.href,r)}};Pt();const ue=Me(!1),te=Me(null);function Ot(o){let e;return{c(){e=E("pk-webs")},m(n,t){_(n,e,t)},d(n){n&&p(e)}}}function Nt(o){let e;return{c(){e=E("Styles")},m(n,t){_(n,e,t)},d(n){n&&p(e)}}}function qt(o){let e;return{c(){e=E("Light")},m(n,t){_(n,e,t)},d(n){n&&p(e)}}}function Lt(o){let e;return{c(){e=E("Dark")},m(n,t){_(n,e,t)},d(n){n&&p(e)}}}function jt(o){let e,n,t,s;return e=new le({props:{$$slots:{default:[qt]},$$scope:{ctx:o}}}),e.$on("click",o[5]),t=new le({props:{$$slots:{default:[Lt]},$$scope:{ctx:o}}}),t.$on("click",o[6]),{c(){d(e.$$.fragment),n=I(),d(t.$$.fragment)},m(r,f){b(e,r,f),_(r,n,f),b(t,r,f),s=!0},p(r,f){const u={};f&128&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&128&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){v(e,r),r&&p(n),v(t,r)}}}function Dt(o){let e,n,t,s;return e=new Pe({props:{color:"transparent",$$slots:{default:[Nt]},$$scope:{ctx:o}}}),t=new Oe({props:{end:!0,$$slots:{default:[jt]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment),n=I(),d(t.$$.fragment)},m(r,f){b(e,r,f),_(r,n,f),b(t,r,f),s=!0},p(r,f){const u={};f&128&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&129&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){v(e,r),r&&p(n),v(t,r)}}}function Xe(o){let e,n;return e=new Ce({props:{nav:!0,inNavbar:!0,$$slots:{default:[Vt]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment)},m(t,s){b(e,t,s),n=!0},p(t,s){const r={};s&128&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){v(e,t)}}}function Ut(o){let e;return{c(){e=E("Dash")},m(n,t){_(n,e,t)},d(n){n&&p(e)}}}function Jt(o){let e;return{c(){e=E("System")},m(n,t){_(n,e,t)},d(n){n&&p(e)}}}function Bt(o){let e,n;return e=new le({props:{$$slots:{default:[Jt]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment)},m(t,s){b(e,t,s),n=!0},p(t,s){const r={};s&128&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){v(e,t)}}}function Ht(o){let e;return{c(){e=E("Members")},m(n,t){_(n,e,t)},d(n){n&&p(e)}}}function Ft(o){let e,n;return e=new le({props:{$$slots:{default:[Ht]},$$scope:{ctx:o}}}),{c(){d(e.$$.fr
`),f&&f.c(),s=W(),h(e,"class","icon d-inline-block")},m(u,l){_(u,e,l),b(n,e,null),_(u,t,l),f&&f.m(u,l),_(u,s,l),r=!0},p(u,l){u[2]?f?l&4&&a(f,1):(f=tt(),f.c(),a(f,1),f.m(s.parentNode,s)):f&&(B(),m(f,1,1,()=>{f=null}),H())},i(u){r||(a(n.$$.fragment,u),a(f),r=!0)},o(u){m(n.$$.fragment,u),m(f),r=!1},d(u){u&&p(e),v(n),u&&p(t),f&&f.d(u),u&&p(s)}}}function er(o){let e,n;return e=new ie({props:{style:"margin-top: 8px; outline: none;",$$slots:{default:[xn]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment)},m(t,s){b(e,t,s),n=!0},p(t,s){const r={};s&132&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){v(e,t)}}}function tr(o){let e,n,t,s;return e=new Q({props:{$$slots:{default:[ur]},$$scope:{ctx:o}}}),t=new x({props:{style:"flex: 0",color:"primary",$$slots:{default:[$r]},$$scope:{ctx:o}}}),t.$on("click",o[6]),{c(){d(e.$$.fragment),n=I(),d(t.$$.fragment)},m(r,f){b(e,r,f),_(r,n,f),b(t,r,f),s=!0},p(r,f){const u={};f&129&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&128&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){v(e,r),r&&p(n),v(t,r)}}}function nr(o){let e,n,t,s,r;function f(i){o[3](i)}function u(i){o[4](i)}function l(i){o[5](i)}let $={};return o[2]!==void 0&&($.loading=o[2]),o[0]!==void 0&&($.user=o[0]),o[1]!==void 0&&($.editMode=o[1]),e=new Wn({props:$}),L.push(()=>j(e,"loading",f)),L.push(()=>j(e,"user",u)),L.push(()=>j(e,"editMode",l)),{c(){d(e.$$.fragment)},m(i,c){b(e,i,c),r=!0},p(i,c){const w={};!n&&c&4&&(n=!0,w.loading=i[2],D(()=>n=!1)),!t&&c&1&&(t=!0,w.user=i[0],D(()=>t=!1)),!s&&c&2&&(s=!0,w.editMode=i[1],D(()=>s=!1)),e.$set(w)},i(i){r||(a(e.$$.fragment,i),r=!0)},o(i){m(e.$$.fragment,i),r=!1},d(i){v(e,i)}}}function rr(o){let e,n,t=o[0].privacy.description_privacy+"",s;return{c(){e=T("b"),e.textContent="Description:",n=I(),s=E(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.description_privacy+"")&&Z(s,t)},d(r){r&&p(e),r&&p(n),r&&p(s)}}}function sr(o){let e,n,t=o[0].privacy.member_list_privacy+"",s;return{c(){e=T("b"),e.textContent="Member list:",n=I(),s=E(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.member_list_privacy+"")&&Z(s,t)},d(r){r&&p(e),r&&p(n),r&&p(s)}}}function lr(o){let e,n,t=o[0].privacy.group_list_privacy+"",s;return{c(){e=T("b"),e.textContent="Group list:",n=I(),s=E(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.group_list_privacy+"")&&Z(s,t)},d(r){r&&p(e),r&&p(n),r&&p(s)}}}function or(o){let e,n,t=o[0].privacy.front_privacy+"",s;return{c(){e=T("b"),e.textContent="Current front:",n=I(),s=E(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.front_privacy+"")&&Z(s,t)},d(r){r&&p(e),r&&p(n),r&&p(s)}}}function fr(o){let e,n,t=o[0].privacy.front_history_privacy+"",s;return{c(){e=T("b"),e.textContent="Front history:",n=I(),s=E(t)},m(r,f){_(r,e,f),_(r,n,f),_(r,s,f)},p(r,f){f&1&&t!==(t=r[0].privacy.front_history_privacy+"")&&Z(s,t)},d(r){r&&p(e),r&&p(n),r&&p(s)}}}function ur(o){let e,n,t,s,r,f,u,l,$,i;return e=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[rr]},$$scope:{ctx:o}}}),t=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[sr]},$$scope:{ctx:o}}}),r=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[lr]},$$scope:{ctx:o}}}),u=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[or]},$$scope:{ctx:o}}}),$=new N({props:{xs:12,lg:4,class:"mb-3",$$slots:{default:[fr]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment),n=I(),d(t.$$.fragment),s=I(),d(r.$$.fragment),f=I(),d(u.$$.fragment),l=I(),d($.$$.fragment)},m(c,w){b(e,c,w),_(c,n,w),b(t,c,w),_(c,s,w),b(r,c,w),_(c,f,w),b(u,c,w),_(c,l,w),b($,c,w),i=!0},p(c,w){const k={};w&129&&(k.$$scope={dirty:w,ctx:c}),e.$set(k);const A={};w&129&&(A.$$scope={dirty:w,ctx:c}),t.$set(A);const y={};w&129&&(y.$$scope={dirty:w,ctx:c}),r.$set(y);const g={};w&129&&(g.$$scope={dirty:w,ctx:c}),u.$set(g);const S={};w&129&&(S.$$scope={dirty:w,ctx:c}),$.$set(S)},i(c){i||(a(e.$$.fragment,c),a(t.$$.fragment,c),a(r.$$.fragment
`),d(s.$$.fragment)},m(f,u){_(f,e,u),_(f,n,u),_(f,t,u),b(s,f,u),r=!0},p(f,u){const l={};u&5&&(l.$$scope={dirty:u,ctx:f}),s.$set(l)},i(f){r||(a(s.$$.fragment,f),r=!0)},o(f){m(s.$$.fragment,f),r=!1},d(f){f&&p(e),f&&p(n),f&&p(t),v(s,f)}}}function xs(o){let e,n,t,s;return e=new $e({props:{$$slots:{default:[Fs]},$$scope:{ctx:o}}}),t=new fe({props:{$$slots:{default:[Ws]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment),n=I(),d(t.$$.fragment)},m(r,f){b(e,r,f),_(r,n,f),b(t,r,f),s=!0},p(r,f){const u={};f&4&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&5&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){v(e,r),r&&p(n),v(t,r)}}}function el(o){let e,n;return e=new oe({props:{$$slots:{default:[xs]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment)},m(t,s){b(e,t,s),n=!0},p(t,s){const r={};s&5&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){v(e,t)}}}function tl(o){let e,n;return e=new N({props:{class:"mx-auto",xs:12,lg:10,$$slots:{default:[el]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment)},m(t,s){b(e,t,s),n=!0},p(t,s){const r={};s&5&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){v(e,t)}}}function nl(o){let e,n;return e=new Q({props:{$$slots:{default:[tl]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment)},m(t,s){b(e,t,s),n=!0},p(t,s){const r={};s&5&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){v(e,t)}}}function rl(o){let e,n;return e=new ce({props:{$$slots:{default:[nl]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment)},m(t,s){b(e,t,s),n=!0},p(t,[s]){const r={};s&5&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){v(e,t)}}}function sl(o,e,n){let t="";function s(r){t=r,n(0,t)}return[t,s]}class ll extends V{constructor(e){super();R(this,e,sl,rl,Y,{})}}function it(o){let e;return{c(){e=T("div"),h(e,"class","banner"),U(e,"background-image","url("+o[1].banner+")")},m(n,t){_(n,e,t)},p(n,t){t&2&&U(e,"background-image","url("+n[1].banner+")")},d(n){n&&p(e)}}}function ol(o){let e,n,t,s;return e=new ve({props:{color:"info",$$slots:{default:[$l]},$$scope:{ctx:o}}}),t=new Je({props:{class:"mt-3",$$slots:{default:[pl]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment),n=I(),d(t.$$.fragment)},m(r,f){b(e,r,f),_(r,n,f),b(t,r,f),s=!0},p(r,f){const u={};f&4096&&(u.$$scope={dirty:f,ctx:r}),e.$set(u);const l={};f&4099&&(l.$$scope={dirty:f,ctx:r}),t.$set(l)},i(r){s||(a(e.$$.fragment,r),a(t.$$.fragment,r),s=!0)},o(r){m(e.$$.fragment,r),m(t.$$.fragment,r),s=!1},d(r){v(e,r),r&&p(n),v(t,r)}}}function fl(o){let e,n;return e=new ve({props:{color:"danger",$$slots:{default:[cl]},$$scope:{ctx:o}}}),{c(){d(e.$$.fragment)},m(t,s){b(e,t,s),n=!0},p(t,s){const r={};s&4100&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)},i(t){n||(a(e.$$.fragment,t),n=!0)},o(t){m(e.$$.fragment,t),n=!1},d(t){v(e,t)}}}function ul(o){let e,n,t;return n=new be({props:{class:"d-inline-block"}}),{c(){e=T("div"),d(n.$$.fragment),h(e,"class","mx-auto text-center")},m(s,r){_(s,e,r),b(n,e,null),t=!0},p:ne,i(s){t||(a(n.$$.fragment,s),t=!0)},o(s){m(n.$$.fragment,s),t=!1},d(s){s&&p(e),v(n)}}}function $l(o){let e,n,t;return{c(){e=E("You are currently "),n=T("b"),n.textContent="viewing",t=E(" a system.")},m(s,r){_(s,e,r),_(s,n,r),_(s,t,r)},d(s){s&&p(e),s&&p(n),s&&p(t)}}}function il(o){let e,n,t,s;function r(l){o[7](l)}function f(l){o[8](l)}let u={};return o[1]!==void 0&&(u.user=o[1]),o[0]!==void 0&&(u.isPublic=o[0]),e=new lt({props:u}),L.push(()=>j(e,"user",r)),L.push(()=>j(e,"isPublic",f)),{c(){d(e.$$.fragment)},m(l,$){b(e,l,$),s=!0},p(l,$){const i={};!n&&$&2&&(n=!0,i.user=l[1],D(()=>n=!1)),!t&&$&1&&(t=!0,i.isPublic=l[0],D(()=>t=!1)),e.$set(i)},i(l){s||(a(e.$$.fragment,l),s=!0)},o(l){m(e.$$.fragment,l),s=!1},d(l){v(e,l)}}}function al(o){let e;return{c(){e=E("alo")},m(n,t){_(n,e,t)},d(n){n&&p(e)}}}function pl(o){let e,n,t,s;return e=new we({props:{tabId:"system",tab:"System",active:!0,$$slot