diff --git a/public/assets/erd.png b/public/assets/erd.png deleted file mode 100644 index 7ef3c1c..0000000 Binary files a/public/assets/erd.png and /dev/null differ diff --git a/public/docs/_app/immutable/chunks/ArgsList.C4wfYkcv.js b/public/docs/_app/immutable/chunks/ArgsList.C4wfYkcv.js deleted file mode 100644 index ad45955..0000000 --- a/public/docs/_app/immutable/chunks/ArgsList.C4wfYkcv.js +++ /dev/null @@ -1 +0,0 @@ -import{s as V,d as _,b as W,c as b,l as O,t as P,n as ie,x as E,B as oe,q as ne,r as Se,C as se,D as ae,E as fe,f as R,v as T,u as ue,e as C,w as B,j as G,k as Q,g as U,o as K,m as I,y as ce,a1 as De,z as Ae,A as X,I as Le,a2 as we,a3 as Ee,J as Oe}from"./scheduler.BCDW5bg-.js";import{S as J,i as M,t as m,a as u,d as N,m as S,c as D,b as A,g as z,e as F}from"./index.C97nKj6a.js";import{i as Pe,u as Z,n as x,s as je,m as Be,K as q,o as Ce,q as ee,r as pe,t as Re,v as Ue,w as Ie,x as Ve,y as Je,_ as Me}from"./pages.BKY_3uMO.js";import{T as te,S as qe,a as Ge,b as Ke,c as ze,C as Fe}from"./PreviousNextPage.DkqDVsQt.js";import{L as He}from"./ChevronDown.Bdkldgj9.js";function Qe(i){let t=(i[0]??"-")+"",l;return{c(){l=P(t)},l(e){l=O(e,t)},m(e,n){b(e,l,n)},p(e,n){n&1&&t!==(t=(e[0]??"-")+"")&&W(l,t)},d(e){e&&_(l)}}}function We(i){let t=JSON.stringify(i[0],null,2)+"",l;return{c(){l=P(t)},l(e){l=O(e,t)},m(e,n){b(e,l,n)},p(e,n){n&1&&t!==(t=JSON.stringify(e[0],null,2)+"")&&W(l,t)},d(e){e&&_(l)}}}function Xe(i){let t,l,e;return{c(){t=P('"'),l=P(i[0]),e=P('"')},l(n){t=O(n,'"'),l=O(n,i[0]),e=O(n,'"')},m(n,r){b(n,t,r),b(n,l,r),b(n,e,r)},p(n,r){r&1&&W(l,n[0])},d(n){n&&(_(t),_(l),_(e))}}}function Ye(i){let t;function l(r,o){return typeof r[0]=="string"?Xe:typeof r[0]=="object"?We:Qe}let e=l(i),n=e(i);return{c(){n.c(),t=E()},l(r){n.l(r),t=E()},m(r,o){n.m(r,o),b(r,t,o)},p(r,[o]){e===(e=l(r))&&n?n.p(r,o):(n.d(1),n=e(r),n&&(n.c(),n.m(t.parentNode,t)))},i:ie,o:ie,d(r){r&&_(t),n.d(r)}}}function Ze(i,t,l){let{value:e}=t;return i.$$set=n=>{"value"in n&&l(0,e=n.value)},[e]}class xe extends J{constructor(t){super(),M(this,t,Ze,Ye,V,{value:0})}}const et=i=>({}),me=i=>({});function tt(i){let t;return{c(){t=P(i[2])},l(l){t=O(l,i[2])},m(l,e){b(l,t,e)},p(l,e){e&4&&W(t,l[2])},d(l){l&&_(t)}}}function nt(i){let t,l,e,n,r,o,s;const a=i[10].default,f=oe(a,i,i[9],null),w=i[10].tooltip,p=oe(w,i,i[9],me),$=p||tt(i);let L=[i[8]],j={};for(let c=0;cl(0,a=!1),c=()=>l(0,a=!0);function h(g){X.call(this,i,g)}function k(g){X.call(this,i,g)}function y(g){X.call(this,i,g)}function d(g){X.call(this,i,g)}function v(g){X.call(this,i,g)}const H=({key:g})=>{g==="Escape"&&j()};function Y(g){Le[g?"unshift":"push"](()=>{$=g,l(1,$)})}return i.$$set=g=>{t=ne(ne({},t),Ae(g)),l(8,n=ce(t,e)),"tooltipText"in g&&l(2,s=g.tooltipText),"open"in g&&l(0,a=g.open),"align"in g&&l(3,f=g.align),"direction"in g&&l(4,w=g.direction),"id"in g&&l(5,p=g.id),"ref"in g&&l(1,$=g.ref),"$$scope"in g&&l(9,o=g.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&L(a?"open":"close")},[a,$,s,f,w,p,j,c,n,o,r,h,k,y,d,v,H,Y]}class Ne extends J{constructor(t){super(),M(this,t,lt,nt,V,{tooltipText:2,open:0,align:3,direction:4,id:5,ref:1})}}function rt(i){let t,l;return t=new te({props:{type:"blue",$$slots:{default:[ot]},$$scope:{ctx:i}}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},p(e,n){const r={};n&67&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function it(i){let t,l=i[0].name.value+"",e;return{c(){t=P("@"),e=P(l)},l(n){t=O(n,"@"),e=O(n,l)},m(n,r){b(n,t,r),b(n,e,r)},p(n,r){r&1&&l!==(l=n[0].name.value+"")&&W(e,l)},d(n){n&&(_(t),_(e))}}}function ot(i){let t,l,e,n;return l=new Ne({props:{tooltipText:i[1],direction:"top",align:"center",$$slots:{default:[it]},$$scope:{ctx:i}}}),{c(){t=K("a"),A(l.$$.fragment),this.h()},l(r){t=G(r,"A",{href:!0,class:!0});var o=Q(t);D(l.$$.fragment,o),o.forEach(_),this.h()},h(){R(t,"href",e=Z.joinUrlPaths(x(),`/directives/${i[0].name.value}`)),R(t,"class","override-tooltip-width svelte-a6h330")},m(r,o){b(r,t,o),S(l,t,null),n=!0},p(r,o){const s={};o&2&&(s.tooltipText=r[1]),o&65&&(s.$$scope={dirty:o,ctx:r}),l.$set(s),(!n||o&1&&e!==(e=Z.joinUrlPaths(x(),`/directives/${r[0].name.value}`)))&&R(t,"href",e)},i(r){n||(u(l.$$.fragment,r),n=!0)},o(r){m(l.$$.fragment,r),n=!1},d(r){r&&_(t),N(l)}}}function st(i){let t=i[2](),l,e,n=t&&rt(i);return{c(){n&&n.c(),l=E()},l(r){n&&n.l(r),l=E()},m(r,o){n&&n.m(r,o),b(r,l,o),e=!0},p(r,[o]){t&&n.p(r,o)},i(r){e||(u(n),e=!0)},o(r){m(n),e=!1},d(r){r&&_(l),n&&n.d(r)}}}function at(i,t,l){let{directive:e}=t,n,r;function o(f){switch(f.kind){case q.INT:case q.BOOLEAN:case q.FLOAT:return String(f.value);case q.STRING:case q.ENUM:return`"${f.value}"`;case q.NULL:return"null";case q.LIST:return`[${f.values.map(o).join(", ")}]`;case q.OBJECT:return`{${f.fields.map(w=>`${w.name.value}: ${o(w.value)}`).join(", ")}}`}}function s(){return!!n&&Ce(n)}function a(f,w){const p=w.find($=>$.name.value===f.name);return p?o(p.value):JSON.stringify(f.defaultValue)}return i.$$set=f=>{"directive"in f&&l(0,e=f.directive)},i.$$.update=()=>{if(i.$$.dirty&1&&l(3,n=je.getDirective(e.name.value)),i.$$.dirty&9){let f=`@${e.name.value}`;const w=n?Be(n):[];w.length>0&&(f+=`(${w.map(p=>`${p.name}: ${a(p,e.arguments||[])}`).join(", ")})`),l(1,r=f.trim())}},[e,r,s,n]}class ft extends J{constructor(t){super(),M(this,t,at,st,V,{directive:0})}}function _e(i,t,l){const e=i.slice();return e[1]=t[l],e}function $e(i){let t,l,e=ee(i[0]),n=[];for(let o=0;om(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o{e=null}),F())},i(n){l||(u(e),l=!0)},o(n){m(e),l=!1},d(n){n&&_(t),e&&e.d(n)}}}function ct(i,t,l){let{directives:e}=t;return i.$$set=n=>{"directives"in n&&l(0,e=n.directives)},[e]}class pt extends J{constructor(t){super(),M(this,t,ct,ut,V,{directives:0})}}function ge(i){let t,l;return t=new te({props:{type:"red",$$slots:{default:[_t]},$$scope:{ctx:i}}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},p(e,n){const r={};n&3&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function mt(i){let t;return{c(){t=P("Deprecated")},l(l){t=O(l,"Deprecated")},m(l,e){b(l,t,e)},d(l){l&&_(t)}}}function _t(i){let t,l;return t=new Ne({props:{tooltipText:i[0],$$slots:{default:[mt]},$$scope:{ctx:i}}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},p(e,n){const r={};n&1&&(r.tooltipText=e[0]),n&2&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function $t(i){let t,l,e=i[0]&&ge(i);return{c(){e&&e.c(),t=E()},l(n){e&&e.l(n),t=E()},m(n,r){e&&e.m(n,r),b(n,t,r),l=!0},p(n,[r]){n[0]?e?(e.p(n,r),r&1&&u(e,1)):(e=ge(n),e.c(),u(e,1),e.m(t.parentNode,t)):e&&(z(),m(e,1,1,()=>{e=null}),F())},i(n){l||(u(e),l=!0)},o(n){m(e),l=!1},d(n){n&&_(t),e&&e.d(n)}}}function dt(i,t,l){let{reason:e}=t;return i.$$set=n=>{"reason"in n&&l(0,e=n.reason)},[e]}class gt extends J{constructor(t){super(),M(this,t,dt,$t,V,{reason:0})}}function he(i){let t,l;return t=new te({props:{type:"purple",$$slots:{default:[ht]},$$scope:{ctx:i}}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function ht(i){let t;return{c(){t=P("Non-null")},l(l){t=O(l,"Non-null")},m(l,e){b(l,t,e)},d(l){l&&_(t)}}}function bt(i){let t=!pe(i[0]),l,e,n=t&&he(i);return{c(){n&&n.c(),l=E()},l(r){n&&n.l(r),l=E()},m(r,o){n&&n.m(r,o),b(r,l,o),e=!0},p(r,[o]){o&1&&(t=!pe(r[0])),t?n?o&1&&u(n,1):(n=he(r),n.c(),u(n,1),n.m(l.parentNode,l)):n&&(z(),m(n,1,1,()=>{n=null}),F())},i(r){e||(u(n),e=!0)},o(r){m(n),e=!1},d(r){r&&_(l),n&&n.d(r)}}}function vt(i,t,l){let{type:e}=t;return i.$$set=n=>{"type"in n&&l(0,e=n.type)},[e]}class kt extends J{constructor(t){super(),M(this,t,vt,bt,V,{type:0})}}function yt(i){let t,l;return t=new He({props:{href:Z.joinUrlPaths(x(),"types",String(i[0].name)),$$slots:{default:[Nt]},$$scope:{ctx:i}}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},p(e,n){const r={};n&1&&(r.href=Z.joinUrlPaths(x(),"types",String(e[0].name))),n&3&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function Tt(i){let t,l,e;return t=new le({props:{type:i[0].ofType}}),{c(){A(t.$$.fragment),l=P("!")},l(n){D(t.$$.fragment,n),l=O(n,"!")},m(n,r){S(t,n,r),b(n,l,r),e=!0},p(n,r){const o={};r&1&&(o.type=n[0].ofType),t.$set(o)},i(n){e||(u(t.$$.fragment,n),e=!0)},o(n){m(t.$$.fragment,n),e=!1},d(n){n&&_(l),N(t,n)}}}function wt(i){let t,l,e,n;return l=new le({props:{type:i[0].ofType}}),{c(){t=P("["),A(l.$$.fragment),e=P("]")},l(r){t=O(r,"["),D(l.$$.fragment,r),e=O(r,"]")},m(r,o){b(r,t,o),S(l,r,o),b(r,e,o),n=!0},p(r,o){const s={};o&1&&(s.type=r[0].ofType),l.$set(s)},i(r){n||(u(l.$$.fragment,r),n=!0)},o(r){m(l.$$.fragment,r),n=!1},d(r){r&&(_(t),_(e)),N(l,r)}}}function Nt(i){let t=i[0].name+"",l;return{c(){l=P(t)},l(e){l=O(e,t)},m(e,n){b(e,l,n)},p(e,n){n&1&&t!==(t=e[0].name+"")&&W(l,t)},d(e){e&&_(l)}}}function St(i){let t,l,e,n,r,o,s;const a=[wt,Tt,yt],f=[];function w(p,$){return $&1&&(t=null),$&1&&(l=null),$&1&&(e=null),t==null&&(t=!!Re(p[0])),t?0:(l==null&&(l=!!Ue(p[0])),l?1:(e==null&&(e=!!Ie(p[0])),e?2:-1))}return~(n=w(i,-1))&&(r=f[n]=a[n](i)),{c(){r&&r.c(),o=E()},l(p){r&&r.l(p),o=E()},m(p,$){~n&&f[n].m(p,$),b(p,o,$),s=!0},p(p,[$]){let L=n;n=w(p,$),n===L?~n&&f[n].p(p,$):(r&&(z(),m(f[L],1,1,()=>{f[L]=null}),F()),~n?(r=f[n],r?r.p(p,$):(r=f[n]=a[n](p),r.c()),u(r,1),r.m(o.parentNode,o)):r=null)},i(p){s||(u(r),s=!0)},o(p){m(r),s=!1},d(p){p&&_(o),~n&&f[n].d(p)}}}function Dt(i,t,l){let{type:e}=t;return i.$$set=n=>{"type"in n&&l(0,e=n.type)},[e]}class le extends J{constructor(t){super(),M(this,t,Dt,St,V,{type:0})}}function At(i){let t,l;return t=new le({props:{type:i[0]}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},p(e,n){const r={};n&1&&(r.type=e[0]),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function Lt(i){let t,l;return t=new te({props:{type:"blue",$$slots:{default:[At]},$$scope:{ctx:i}}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},p(e,[n]){const r={};n&3&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function Et(i,t,l){let{type:e}=t;return i.$$set=n=>{"type"in n&&l(0,e=n.type)},[e]}class Ot extends J{constructor(t){super(),M(this,t,Et,Lt,V,{type:0})}}function be(i,t,l){const e=i.slice();return e[3]=t[l],e}function ve(i){let t,l="=",e,n,r,o;return r=new xe({props:{value:i[3].default}}),{c(){t=K("span"),t.textContent=l,e=I(),n=K("span"),A(r.$$.fragment)},l(s){t=G(s,"SPAN",{"data-svelte-h":!0}),Ee(t)!=="svelte-u057kv"&&(t.textContent=l),e=U(s),n=G(s,"SPAN",{});var a=Q(n);D(r.$$.fragment,a),a.forEach(_)},m(s,a){b(s,t,a),b(s,e,a),b(s,n,a),S(r,n,null),o=!0},p(s,a){const f={};a&1&&(f.value=s[3].default),r.$set(f)},i(s){o||(u(r.$$.fragment,s),o=!0)},o(s){m(r.$$.fragment,s),o=!1},d(s){s&&(_(t),_(e),_(n)),N(r)}}}function ke(i){let t,l;return t=new Fe({props:{source:i[3].description}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},p(e,n){const r={};n&1&&(r.source=e[3].description),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function Pt(i){let t,l,e=i[3].name+"",n,r,o,s,a,f,w,p,$,L,j,c,h,k=i[3].default&&ve(i);s=new Ot({props:{type:i[3].type}}),f=new gt({props:{reason:i[3].deprecationReason}}),p=new kt({props:{type:i[3].type}}),L=new pt({props:{directives:i[3].directives}});let y=i[3].description&&ke(i);return{c(){t=K("p"),l=K("span"),n=P(e),r=I(),k&&k.c(),o=I(),A(s.$$.fragment),a=I(),A(f.$$.fragment),w=I(),A(p.$$.fragment),$=I(),A(L.$$.fragment),j=I(),y&&y.c(),c=E(),this.h()},l(d){t=G(d,"P",{class:!0});var v=Q(t);l=G(v,"SPAN",{style:!0});var H=Q(l);n=O(H,e),H.forEach(_),r=U(v),k&&k.l(v),o=U(v),D(s.$$.fragment,v),a=U(v),D(f.$$.fragment,v),w=U(v),D(p.$$.fragment,v),$=U(v),D(L.$$.fragment,v),v.forEach(_),j=U(d),y&&y.l(d),c=E(),this.h()},h(){Oe(l,"font-weight","bold"),R(t,"class","arg-name-section svelte-9cf7d2")},m(d,v){b(d,t,v),C(t,l),C(l,n),C(t,r),k&&k.m(t,null),C(t,o),S(s,t,null),C(t,a),S(f,t,null),C(t,w),S(p,t,null),C(t,$),S(L,t,null),b(d,j,v),y&&y.m(d,v),b(d,c,v),h=!0},p(d,v){(!h||v&1)&&e!==(e=d[3].name+"")&&W(n,e),d[3].default?k?(k.p(d,v),v&1&&u(k,1)):(k=ve(d),k.c(),u(k,1),k.m(t,o)):k&&(z(),m(k,1,1,()=>{k=null}),F());const H={};v&1&&(H.type=d[3].type),s.$set(H);const Y={};v&1&&(Y.reason=d[3].deprecationReason),f.$set(Y);const g={};v&1&&(g.type=d[3].type),p.$set(g);const re={};v&1&&(re.directives=d[3].directives),L.$set(re),d[3].description?y?(y.p(d,v),v&1&&u(y,1)):(y=ke(d),y.c(),u(y,1),y.m(c.parentNode,c)):y&&(z(),m(y,1,1,()=>{y=null}),F())},i(d){h||(u(k),u(s.$$.fragment,d),u(f.$$.fragment,d),u(p.$$.fragment,d),u(L.$$.fragment,d),u(y),h=!0)},o(d){m(k),m(s.$$.fragment,d),m(f.$$.fragment,d),m(p.$$.fragment,d),m(L.$$.fragment,d),m(y),h=!1},d(d){d&&(_(t),_(j),_(c)),k&&k.d(),N(s),N(f),N(p),N(L),y&&y.d(d)}}}function jt(i){let t,l,e;return t=new ze({props:{$$slots:{default:[Pt]},$$scope:{ctx:i}}}),{c(){A(t.$$.fragment),l=I()},l(n){D(t.$$.fragment,n),l=U(n)},m(n,r){S(t,n,r),b(n,l,r),e=!0},p(n,r){const o={};r&65&&(o.$$scope={dirty:r,ctx:n}),t.$set(o)},i(n){e||(u(t.$$.fragment,n),e=!0)},o(n){m(t.$$.fragment,n),e=!1},d(n){n&&_(l),N(t,n)}}}function ye(i){let t,l;return t=new Ke({props:{$$slots:{default:[jt]},$$scope:{ctx:i}}}),{c(){A(t.$$.fragment)},l(e){D(t.$$.fragment,e)},m(e,n){S(t,e,n),l=!0},p(e,n){const r={};n&65&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){N(t,e)}}}function Bt(i){let t,l,e=ee(i[0]),n=[];for(let o=0;om(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o{var l;return{id:t.name,deprecationReason:t.deprecationReason,name:t.name,description:t.description,default:t.defaultValue,type:t.type,directives:((l=t.astNode)==null?void 0:l.directives)||[]}})}function Ut(i,t,l){let{data:e}=t;const n=Ve(Je.ARGUMENTS_SORTING,"default");let r;return i.$$set=o=>{"data"in o&&l(1,e=o.data)},i.$$.update=()=>{i.$$.dirty&2&&(n==="alphabetical"?l(0,r=Me.sortBy(Te(e),o=>o.name)):l(0,r=Te(e)))},[r,e]}class Gt extends J{constructor(t){super(),M(this,t,Ut,Rt,V,{data:1})}}export{Gt as A,pt as D,kt as N,Ot as T,gt as a,xe as b,le as c}; diff --git a/public/docs/_app/immutable/chunks/ArgsList.D6zwwkHp.js b/public/docs/_app/immutable/chunks/ArgsList.D6zwwkHp.js new file mode 100644 index 0000000..e65e5b5 --- /dev/null +++ b/public/docs/_app/immutable/chunks/ArgsList.D6zwwkHp.js @@ -0,0 +1 @@ +import{s as I,q as E,l as h,n as ie,d as _,t as O,j as P,o as W,E as oe,v as ne,e as q,b as C,f as F,g as Q,c as V,k as B,z as T,y as se,m as U,A as R,F as ae,G as fe,H as ue,r as Se,u as ce,a1 as De,w as Le,x as X,D as Ae,a2 as we,L as Ee,a3 as Oe}from"./scheduler.6x_t8-M_.js";import{S as G,i as J,t as u,b as m,c as N,a as S,m as D,d as L,g as K,e as z}from"./index.DNIXW-5M.js";import{i as Pe,s as je,m as Re,u as Z,n as x,o as Ue,K as M,q as ee,r as pe,t as Be,v as Ce,w as Ve,x as Ie,y as Ge,_ as Je}from"./pages.BSRgrbSV.js";import{T as te,S as Me,a as qe,b as Fe,c as Ke,C as ze}from"./PreviousNextPage.CUJbWA2C.js";import{L as He}from"./ChevronDown.CeVNLKJZ.js";function Qe(i){let t=(i[0]??"-")+"",l;return{c(){l=O(t)},l(e){l=P(e,t)},m(e,n){h(e,l,n)},p(e,n){n&1&&t!==(t=(e[0]??"-")+"")&&W(l,t)},d(e){e&&_(l)}}}function We(i){let t=JSON.stringify(i[0],null,2)+"",l;return{c(){l=O(t)},l(e){l=P(e,t)},m(e,n){h(e,l,n)},p(e,n){n&1&&t!==(t=JSON.stringify(e[0],null,2)+"")&&W(l,t)},d(e){e&&_(l)}}}function Xe(i){let t,l,e;return{c(){t=O('"'),l=O(i[0]),e=O('"')},l(n){t=P(n,'"'),l=P(n,i[0]),e=P(n,'"')},m(n,r){h(n,t,r),h(n,l,r),h(n,e,r)},p(n,r){r&1&&W(l,n[0])},d(n){n&&(_(t),_(l),_(e))}}}function Ye(i){let t;function l(r,o){return typeof r[0]=="string"?Xe:typeof r[0]=="object"?We:Qe}let e=l(i),n=e(i);return{c(){n.c(),t=E()},l(r){n.l(r),t=E()},m(r,o){n.m(r,o),h(r,t,o)},p(r,[o]){e===(e=l(r))&&n?n.p(r,o):(n.d(1),n=e(r),n&&(n.c(),n.m(t.parentNode,t)))},i:ie,o:ie,d(r){r&&_(t),n.d(r)}}}function Ze(i,t,l){let{value:e}=t;return i.$$set=n=>{"value"in n&&l(0,e=n.value)},[e]}class xe extends G{constructor(t){super(),J(this,t,Ze,Ye,I,{value:0})}}const et=i=>({}),me=i=>({});function tt(i){let t;return{c(){t=O(i[2])},l(l){t=P(l,i[2])},m(l,e){h(l,t,e)},p(l,e){e&4&&W(t,l[2])},d(l){l&&_(t)}}}function nt(i){let t,l,e,n,r,o,s;const a=i[10].default,f=oe(a,i,i[9],null),w=i[10].tooltip,p=oe(w,i,i[9],me),b=p||tt(i);let A=[i[8]],j={};for(let c=0;cl(0,a=!1),c=()=>l(0,a=!0);function g(d){X.call(this,i,d)}function k(d){X.call(this,i,d)}function y(d){X.call(this,i,d)}function $(d){X.call(this,i,d)}function v(d){X.call(this,i,d)}const H=({key:d})=>{d==="Escape"&&j()};function Y(d){Ae[d?"unshift":"push"](()=>{b=d,l(1,b)})}return i.$$set=d=>{t=ne(ne({},t),Le(d)),l(8,n=ce(t,e)),"tooltipText"in d&&l(2,s=d.tooltipText),"open"in d&&l(0,a=d.open),"align"in d&&l(3,f=d.align),"direction"in d&&l(4,w=d.direction),"id"in d&&l(5,p=d.id),"ref"in d&&l(1,b=d.ref),"$$scope"in d&&l(9,o=d.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&A(a?"open":"close")},[a,b,s,f,w,p,j,c,n,o,r,g,k,y,$,v,H,Y]}class Ne extends G{constructor(t){super(),J(this,t,lt,nt,I,{tooltipText:2,open:0,align:3,direction:4,id:5,ref:1})}}function rt(i){let t,l;return t=new te({props:{type:"blue",$$slots:{default:[ot]},$$scope:{ctx:i}}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},p(e,n){const r={};n&67&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function it(i){let t,l=i[0].name.value+"",e;return{c(){t=O("@"),e=O(l)},l(n){t=P(n,"@"),e=P(n,l)},m(n,r){h(n,t,r),h(n,e,r)},p(n,r){r&1&&l!==(l=n[0].name.value+"")&&W(e,l)},d(n){n&&(_(t),_(e))}}}function ot(i){let t,l,e,n;return l=new Ne({props:{tooltipText:i[1],direction:"top",align:"center",$$slots:{default:[it]},$$scope:{ctx:i}}}),{c(){t=q("a"),N(l.$$.fragment),this.h()},l(r){t=F(r,"A",{href:!0,class:!0});var o=Q(t);S(l.$$.fragment,o),o.forEach(_),this.h()},h(){B(t,"href",e=Z.joinUrlPaths(x(),`/directives/${i[0].name.value}`)),B(t,"class","override-tooltip-width svelte-a6h330")},m(r,o){h(r,t,o),D(l,t,null),n=!0},p(r,o){const s={};o&2&&(s.tooltipText=r[1]),o&65&&(s.$$scope={dirty:o,ctx:r}),l.$set(s),(!n||o&1&&e!==(e=Z.joinUrlPaths(x(),`/directives/${r[0].name.value}`)))&&B(t,"href",e)},i(r){n||(u(l.$$.fragment,r),n=!0)},o(r){m(l.$$.fragment,r),n=!1},d(r){r&&_(t),L(l)}}}function st(i){let t=i[2](),l,e,n=t&&rt(i);return{c(){n&&n.c(),l=E()},l(r){n&&n.l(r),l=E()},m(r,o){n&&n.m(r,o),h(r,l,o),e=!0},p(r,[o]){t&&n.p(r,o)},i(r){e||(u(n),e=!0)},o(r){m(n),e=!1},d(r){r&&_(l),n&&n.d(r)}}}function at(i,t,l){let{directive:e}=t,n,r;function o(f){switch(f.kind){case M.INT:case M.BOOLEAN:case M.FLOAT:return String(f.value);case M.STRING:case M.ENUM:return`"${f.value}"`;case M.NULL:return"null";case M.LIST:return`[${f.values.map(o).join(", ")}]`;case M.OBJECT:return`{${f.fields.map(w=>`${w.name.value}: ${o(w.value)}`).join(", ")}}`}}function s(){return!!n&&Ue(n)}function a(f,w){const p=w.find(b=>b.name.value===f.name);return p?o(p.value):JSON.stringify(f.defaultValue)}return i.$$set=f=>{"directive"in f&&l(0,e=f.directive)},i.$$.update=()=>{if(i.$$.dirty&1&&l(3,n=je.getDirective(e.name.value)),i.$$.dirty&9){let f=`@${e.name.value}`;const w=n?Re(n):[];w.length>0&&(f+=`(${w.map(p=>`${p.name}: ${a(p,e.arguments||[])}`).join(", ")})`),l(1,r=f.trim())}},[e,r,s,n]}class ft extends G{constructor(t){super(),J(this,t,at,st,I,{directive:0})}}function _e(i,t,l){const e=i.slice();return e[1]=t[l],e}function $e(i){let t,l,e=ee(i[0]),n=[];for(let o=0;om(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o{e=null}),z())},i(n){l||(u(e),l=!0)},o(n){m(e),l=!1},d(n){n&&_(t),e&&e.d(n)}}}function ct(i,t,l){let{directives:e}=t;return i.$$set=n=>{"directives"in n&&l(0,e=n.directives)},[e]}class pt extends G{constructor(t){super(),J(this,t,ct,ut,I,{directives:0})}}function ge(i){let t,l;return t=new te({props:{type:"red",$$slots:{default:[_t]},$$scope:{ctx:i}}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},p(e,n){const r={};n&3&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function mt(i){let t;return{c(){t=O("Deprecated")},l(l){t=P(l,"Deprecated")},m(l,e){h(l,t,e)},d(l){l&&_(t)}}}function _t(i){let t,l;return t=new Ne({props:{tooltipText:i[0],$$slots:{default:[mt]},$$scope:{ctx:i}}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},p(e,n){const r={};n&1&&(r.tooltipText=e[0]),n&2&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function $t(i){let t,l,e=i[0]&&ge(i);return{c(){e&&e.c(),t=E()},l(n){e&&e.l(n),t=E()},m(n,r){e&&e.m(n,r),h(n,t,r),l=!0},p(n,[r]){n[0]?e?(e.p(n,r),r&1&&u(e,1)):(e=ge(n),e.c(),u(e,1),e.m(t.parentNode,t)):e&&(K(),m(e,1,1,()=>{e=null}),z())},i(n){l||(u(e),l=!0)},o(n){m(e),l=!1},d(n){n&&_(t),e&&e.d(n)}}}function dt(i,t,l){let{reason:e}=t;return i.$$set=n=>{"reason"in n&&l(0,e=n.reason)},[e]}class gt extends G{constructor(t){super(),J(this,t,dt,$t,I,{reason:0})}}function he(i){let t,l;return t=new te({props:{type:"purple",$$slots:{default:[ht]},$$scope:{ctx:i}}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function ht(i){let t;return{c(){t=O("Non-null")},l(l){t=P(l,"Non-null")},m(l,e){h(l,t,e)},d(l){l&&_(t)}}}function bt(i){let t=!pe(i[0]),l,e,n=t&&he(i);return{c(){n&&n.c(),l=E()},l(r){n&&n.l(r),l=E()},m(r,o){n&&n.m(r,o),h(r,l,o),e=!0},p(r,[o]){o&1&&(t=!pe(r[0])),t?n?o&1&&u(n,1):(n=he(r),n.c(),u(n,1),n.m(l.parentNode,l)):n&&(K(),m(n,1,1,()=>{n=null}),z())},i(r){e||(u(n),e=!0)},o(r){m(n),e=!1},d(r){r&&_(l),n&&n.d(r)}}}function vt(i,t,l){let{type:e}=t;return i.$$set=n=>{"type"in n&&l(0,e=n.type)},[e]}class kt extends G{constructor(t){super(),J(this,t,vt,bt,I,{type:0})}}function yt(i){let t,l;return t=new He({props:{href:Z.joinUrlPaths(x(),"types",String(i[0].name)),$$slots:{default:[Nt]},$$scope:{ctx:i}}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},p(e,n){const r={};n&1&&(r.href=Z.joinUrlPaths(x(),"types",String(e[0].name))),n&3&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function Tt(i){let t,l,e;return t=new le({props:{type:i[0].ofType}}),{c(){N(t.$$.fragment),l=O("!")},l(n){S(t.$$.fragment,n),l=P(n,"!")},m(n,r){D(t,n,r),h(n,l,r),e=!0},p(n,r){const o={};r&1&&(o.type=n[0].ofType),t.$set(o)},i(n){e||(u(t.$$.fragment,n),e=!0)},o(n){m(t.$$.fragment,n),e=!1},d(n){n&&_(l),L(t,n)}}}function wt(i){let t,l,e,n;return l=new le({props:{type:i[0].ofType}}),{c(){t=O("["),N(l.$$.fragment),e=O("]")},l(r){t=P(r,"["),S(l.$$.fragment,r),e=P(r,"]")},m(r,o){h(r,t,o),D(l,r,o),h(r,e,o),n=!0},p(r,o){const s={};o&1&&(s.type=r[0].ofType),l.$set(s)},i(r){n||(u(l.$$.fragment,r),n=!0)},o(r){m(l.$$.fragment,r),n=!1},d(r){r&&(_(t),_(e)),L(l,r)}}}function Nt(i){let t=i[0].name+"",l;return{c(){l=O(t)},l(e){l=P(e,t)},m(e,n){h(e,l,n)},p(e,n){n&1&&t!==(t=e[0].name+"")&&W(l,t)},d(e){e&&_(l)}}}function St(i){let t,l,e,n,r,o,s;const a=[wt,Tt,yt],f=[];function w(p,b){return b&1&&(t=null),b&1&&(l=null),b&1&&(e=null),t==null&&(t=!!Be(p[0])),t?0:(l==null&&(l=!!Ce(p[0])),l?1:(e==null&&(e=!!Ve(p[0])),e?2:-1))}return~(n=w(i,-1))&&(r=f[n]=a[n](i)),{c(){r&&r.c(),o=E()},l(p){r&&r.l(p),o=E()},m(p,b){~n&&f[n].m(p,b),h(p,o,b),s=!0},p(p,[b]){let A=n;n=w(p,b),n===A?~n&&f[n].p(p,b):(r&&(K(),m(f[A],1,1,()=>{f[A]=null}),z()),~n?(r=f[n],r?r.p(p,b):(r=f[n]=a[n](p),r.c()),u(r,1),r.m(o.parentNode,o)):r=null)},i(p){s||(u(r),s=!0)},o(p){m(r),s=!1},d(p){p&&_(o),~n&&f[n].d(p)}}}function Dt(i,t,l){let{type:e}=t;return i.$$set=n=>{"type"in n&&l(0,e=n.type)},[e]}class le extends G{constructor(t){super(),J(this,t,Dt,St,I,{type:0})}}function Lt(i){let t,l;return t=new le({props:{type:i[0]}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},p(e,n){const r={};n&1&&(r.type=e[0]),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function At(i){let t,l;return t=new te({props:{type:"blue",$$slots:{default:[Lt]},$$scope:{ctx:i}}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},p(e,[n]){const r={};n&3&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function Et(i,t,l){let{type:e}=t;return i.$$set=n=>{"type"in n&&l(0,e=n.type)},[e]}class Ot extends G{constructor(t){super(),J(this,t,Et,At,I,{type:0})}}function be(i,t,l){const e=i.slice();return e[3]=t[l],e}function ve(i){let t,l="=",e,n,r,o;return r=new xe({props:{value:i[3].default}}),{c(){t=q("span"),t.textContent=l,e=C(),n=q("span"),N(r.$$.fragment)},l(s){t=F(s,"SPAN",{"data-svelte-h":!0}),Oe(t)!=="svelte-u057kv"&&(t.textContent=l),e=V(s),n=F(s,"SPAN",{});var a=Q(n);S(r.$$.fragment,a),a.forEach(_)},m(s,a){h(s,t,a),h(s,e,a),h(s,n,a),D(r,n,null),o=!0},p(s,a){const f={};a&1&&(f.value=s[3].default),r.$set(f)},i(s){o||(u(r.$$.fragment,s),o=!0)},o(s){m(r.$$.fragment,s),o=!1},d(s){s&&(_(t),_(e),_(n)),L(r)}}}function ke(i){let t,l;return t=new ze({props:{source:i[3].description}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},p(e,n){const r={};n&1&&(r.source=e[3].description),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function Pt(i){let t,l,e=i[3].name+"",n,r,o,s,a,f,w,p,b,A,j,c,g,k=i[3].default&&ve(i);s=new Ot({props:{type:i[3].type}}),f=new gt({props:{reason:i[3].deprecationReason}}),p=new kt({props:{type:i[3].type}}),A=new pt({props:{directives:i[3].directives}});let y=i[3].description&&ke(i);return{c(){t=q("p"),l=q("span"),n=O(e),r=C(),k&&k.c(),o=C(),N(s.$$.fragment),a=C(),N(f.$$.fragment),w=C(),N(p.$$.fragment),b=C(),N(A.$$.fragment),j=C(),y&&y.c(),c=E(),this.h()},l($){t=F($,"P",{class:!0});var v=Q(t);l=F(v,"SPAN",{style:!0});var H=Q(l);n=P(H,e),H.forEach(_),r=V(v),k&&k.l(v),o=V(v),S(s.$$.fragment,v),a=V(v),S(f.$$.fragment,v),w=V(v),S(p.$$.fragment,v),b=V(v),S(A.$$.fragment,v),v.forEach(_),j=V($),y&&y.l($),c=E(),this.h()},h(){Ee(l,"font-weight","bold"),B(t,"class","arg-name-section svelte-9cf7d2")},m($,v){h($,t,v),U(t,l),U(l,n),U(t,r),k&&k.m(t,null),U(t,o),D(s,t,null),U(t,a),D(f,t,null),U(t,w),D(p,t,null),U(t,b),D(A,t,null),h($,j,v),y&&y.m($,v),h($,c,v),g=!0},p($,v){(!g||v&1)&&e!==(e=$[3].name+"")&&W(n,e),$[3].default?k?(k.p($,v),v&1&&u(k,1)):(k=ve($),k.c(),u(k,1),k.m(t,o)):k&&(K(),m(k,1,1,()=>{k=null}),z());const H={};v&1&&(H.type=$[3].type),s.$set(H);const Y={};v&1&&(Y.reason=$[3].deprecationReason),f.$set(Y);const d={};v&1&&(d.type=$[3].type),p.$set(d);const re={};v&1&&(re.directives=$[3].directives),A.$set(re),$[3].description?y?(y.p($,v),v&1&&u(y,1)):(y=ke($),y.c(),u(y,1),y.m(c.parentNode,c)):y&&(K(),m(y,1,1,()=>{y=null}),z())},i($){g||(u(k),u(s.$$.fragment,$),u(f.$$.fragment,$),u(p.$$.fragment,$),u(A.$$.fragment,$),u(y),g=!0)},o($){m(k),m(s.$$.fragment,$),m(f.$$.fragment,$),m(p.$$.fragment,$),m(A.$$.fragment,$),m(y),g=!1},d($){$&&(_(t),_(j),_(c)),k&&k.d(),L(s),L(f),L(p),L(A),y&&y.d($)}}}function jt(i){let t,l,e;return t=new Ke({props:{$$slots:{default:[Pt]},$$scope:{ctx:i}}}),{c(){N(t.$$.fragment),l=C()},l(n){S(t.$$.fragment,n),l=V(n)},m(n,r){D(t,n,r),h(n,l,r),e=!0},p(n,r){const o={};r&65&&(o.$$scope={dirty:r,ctx:n}),t.$set(o)},i(n){e||(u(t.$$.fragment,n),e=!0)},o(n){m(t.$$.fragment,n),e=!1},d(n){n&&_(l),L(t,n)}}}function ye(i){let t,l;return t=new Fe({props:{$$slots:{default:[jt]},$$scope:{ctx:i}}}),{c(){N(t.$$.fragment)},l(e){S(t.$$.fragment,e)},m(e,n){D(t,e,n),l=!0},p(e,n){const r={};n&65&&(r.$$scope={dirty:n,ctx:e}),t.$set(r)},i(e){l||(u(t.$$.fragment,e),l=!0)},o(e){m(t.$$.fragment,e),l=!1},d(e){L(t,e)}}}function Rt(i){let t,l,e=ee(i[0]),n=[];for(let o=0;om(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o{var l;return{id:t.name,deprecationReason:t.deprecationReason,name:t.name,description:t.description,default:t.defaultValue,type:t.type,directives:((l=t.astNode)==null?void 0:l.directives)||[]}})}function Ct(i,t,l){let{data:e}=t;const n=Ie(Ge.ARGUMENTS_SORTING,"default");let r;return i.$$set=o=>{"data"in o&&l(1,e=o.data)},i.$$.update=()=>{i.$$.dirty&2&&(n==="alphabetical"?l(0,r=Je.sortBy(Te(e),o=>o.name)):l(0,r=Te(e)))},[r,e]}class qt extends G{constructor(t){super(),J(this,t,Ct,Bt,I,{data:1})}}export{qt as A,pt as D,kt as N,Ot as T,gt as a,xe as b,le as c}; diff --git a/public/docs/_app/immutable/chunks/Button.Dx_qZ2xb.js b/public/docs/_app/immutable/chunks/Button.CQp1b1PP.js similarity index 80% rename from public/docs/_app/immutable/chunks/Button.Dx_qZ2xb.js rename to public/docs/_app/immutable/chunks/Button.CQp1b1PP.js index 6cd8230..abd710f 100644 --- a/public/docs/_app/immutable/chunks/Button.Dx_qZ2xb.js +++ b/public/docs/_app/immutable/chunks/Button.CQp1b1PP.js @@ -1 +1 @@ -import{s as de,q as D,d as A,r as $,u as C,v as k,c as N,e as q,w as p,j as O,k as T,l as te,o as F,t as le,n as fe,x as I,y as Y,z as me,A as h,B as J,C as K,D as L,E as Q,b as he,F as Z,g as w,m as x,G as Me,H as Re,I as re}from"./scheduler.BCDW5bg-.js";import{S as ge,i as ke,d as M,t as z,a as P,m as R,c as ie,b as U,g as W,e as X}from"./index.C97nKj6a.js";import{i as B,j as V}from"./pages.BKY_3uMO.js";function Ue(n){let e,o,i,t=[n[2]],l={};for(let u=0;u{e=D(D({},e),me(b)),o(2,t=Y(e,i)),"href"in b&&o(0,l=b.href),"size"in b&&o(1,u=b.size)},[l,u,t,a,c,s,m,d,v,g,E,y,S,r,_]}class Le extends ge{constructor(e){super(),ke(this,e,Ke,Je,de,{href:0,size:1})}}const Qe=n=>n[0]&1024,We=n=>({style:n[0]&256}),ue=n=>({style:n[8]?"margin-left: 0":void 0,...n[10]}),Xe=n=>n[0]&1024,Ye=n=>({style:n[0]&256}),ae=n=>({style:n[8]?"margin-left: 0":void 0,...n[10]}),Ze=n=>({props:n[0]&512}),ce=n=>({props:n[9]});function we(n){let e,o,i,t,l,u,a,c,s=n[8]&&_e(n);const m=n[21].default,d=J(m,n,n[20],null),v=[tn,nn],g=[];function E(r,_){return r[12].icon?0:r[2]?1:-1}~(t=E(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let r=0;r{g[b]=null}),X()),~t?(l=g[t],l?l.p(r,_):(l=g[t]=v[t](r),l.c()),P(l,1),l.m(e,null)):l=null),C(e,S=B(y,[_[0]&512&&r[9]]))},i(r){u||(P(d,r),P(l),u=!0)},o(r){z(d,r),z(l),u=!1},d(r){r&&A(e),s&&s.d(),d&&d.d(r),~t&&g[t].d(),n[41](null),a=!1,$(c)}}}function xe(n){let e,o,i,t,l,u,a,c,s=n[8]&&be(n);const m=n[21].default,d=J(m,n,n[20],null),v=[on,ln],g=[];function E(r,_){return r[12].icon?0:r[2]?1:-1}~(t=E(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let r=0;r{g[b]=null}),X()),~t?(l=g[t],l?l.p(r,_):(l=g[t]=v[t](r),l.c()),P(l,1),l.m(e,null)):l=null),C(e,S=B(y,[_[0]&512&&r[9]]))},i(r){u||(P(d,r),P(l),u=!0)},o(r){z(d,r),z(l),u=!1},d(r){r&&A(e),s&&s.d(),d&&d.d(r),~t&&g[t].d(),n[40](null),a=!1,$(c)}}}function $e(n){let e;const o=n[21].default,i=J(o,n,n[20],ce);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049088)&&K(i,o,t,t[20],e?Q(o,t[20],l,Ze):L(t[20]),ce)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function en(n){let e,o;const i=[{href:n[7]},{size:n[1]},n[11],{style:n[8]&&"width: 3rem;"}];let t={};for(let l=0;l{M(s,1)}),X()}l?(e=Z(l,u(a,c)),U(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?B(t,[c[0]&256&&{style:a[8]?"margin-left: 0":void 0},c[0]&1024&&V(a[10])]):{};e.$set(s)}},i(a){i||(e&&P(e.$$.fragment,a),i=!0)},o(a){e&&z(e.$$.fragment,a),i=!1},d(a){a&&A(o),e&&M(e,a)}}}function tn(n){let e;const o=n[21].icon,i=J(o,n,n[20],ue);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049856)&&K(i,o,t,t[20],Qe(l)||!e?L(t[20]):Q(o,t[20],l,We),ue)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function be(n){let e,o;return{c(){e=F("span"),o=le(n[3]),this.h()},l(i){e=O(i,"SPAN",{});var t=T(e);o=te(t,n[3]),t.forEach(A),this.h()},h(){k(e,"bx--assistive-text",!0)},m(i,t){N(i,e,t),q(e,o)},p(i,t){t[0]&8&&he(o,i[3])},d(i){i&&A(e)}}}function ln(n){let e,o,i;const t=[{style:n[8]?"margin-left: 0":void 0},n[10]];var l=n[2];function u(a,c){let s={};for(let m=0;m{M(s,1)}),X()}l?(e=Z(l,u(a,c)),U(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?B(t,[c[0]&256&&{style:a[8]?"margin-left: 0":void 0},c[0]&1024&&V(a[10])]):{};e.$set(s)}},i(a){i||(e&&P(e.$$.fragment,a),i=!0)},o(a){e&&z(e.$$.fragment,a),i=!1},d(a){a&&A(o),e&&M(e,a)}}}function on(n){let e;const o=n[21].icon,i=J(o,n,n[20],ae);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049856)&&K(i,o,t,t[20],Xe(l)||!e?L(t[20]):Q(o,t[20],l,Ye),ae)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function sn(n){let e,o,i,t;const l=[en,$e,xe,we],u=[];function a(c,s){return c[5]?0:c[4]?1:c[7]&&!c[6]?2:3}return e=a(n),o=u[e]=l[e](n),{c(){o.c(),i=I()},l(c){o.l(c),i=I()},m(c,s){u[e].m(c,s),N(c,i,s),t=!0},p(c,s){let m=e;e=a(c),e===m?u[e].p(c,s):(W(),z(u[m],1,1,()=>{u[m]=null}),X(),o=u[e],o?o.p(c,s):(o=u[e]=l[e](c),o.c()),P(o,1),o.m(i.parentNode,i))},i(c){t||(P(o),t=!0)},o(c){z(o),t=!1},d(c){c&&A(i),u[e].d(c)}}}function fn(n,e,o){let i,t,l;const u=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let a=Y(e,u),{$$slots:c={},$$scope:s}=e;const m=Me(c);let{kind:d="primary"}=e,{size:v="default"}=e,{expressive:g=!1}=e,{isSelected:E=!1}=e,{icon:y=void 0}=e,{iconDescription:S=void 0}=e,{tooltipAlignment:r="center"}=e,{tooltipPosition:_="bottom"}=e,{as:b=!1}=e,{skeleton:oe=!1}=e,{disabled:G=!1}=e,{href:H=void 0}=e,{tabindex:ee="0"}=e,{type:ne="button"}=e,{ref:j=null}=e;const se=Re("ComposedModal");function pe(f){h.call(this,n,f)}function ve(f){h.call(this,n,f)}function ze(f){h.call(this,n,f)}function Pe(f){h.call(this,n,f)}function Ae(f){h.call(this,n,f)}function Se(f){h.call(this,n,f)}function ye(f){h.call(this,n,f)}function De(f){h.call(this,n,f)}function Ee(f){h.call(this,n,f)}function Ne(f){h.call(this,n,f)}function Be(f){h.call(this,n,f)}function je(f){h.call(this,n,f)}function Ce(f){h.call(this,n,f)}function Ie(f){h.call(this,n,f)}function qe(f){h.call(this,n,f)}function Oe(f){h.call(this,n,f)}function Te(f){h.call(this,n,f)}function Fe(f){h.call(this,n,f)}function Ge(f){re[f?"unshift":"push"](()=>{j=f,o(0,j)})}function He(f){re[f?"unshift":"push"](()=>{j=f,o(0,j)})}return n.$$set=f=>{e=D(D({},e),me(f)),o(11,a=Y(e,u)),"kind"in f&&o(13,d=f.kind),"size"in f&&o(1,v=f.size),"expressive"in f&&o(14,g=f.expressive),"isSelected"in f&&o(15,E=f.isSelected),"icon"in f&&o(2,y=f.icon),"iconDescription"in f&&o(3,S=f.iconDescription),"tooltipAlignment"in f&&o(16,r=f.tooltipAlignment),"tooltipPosition"in f&&o(17,_=f.tooltipPosition),"as"in f&&o(4,b=f.as),"skeleton"in f&&o(5,oe=f.skeleton),"disabled"in f&&o(6,G=f.disabled),"href"in f&&o(7,H=f.href),"tabindex"in f&&o(18,ee=f.tabindex),"type"in f&&o(19,ne=f.type),"ref"in f&&o(0,j=f.ref),"$$scope"in f&&o(20,s=f.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&1&&se&&j&&se.declareRef(j),n.$$.dirty[0]&4&&o(8,i=(y||m.icon)&&!m.default),n.$$.dirty[0]&8&&o(10,t={"aria-hidden":"true",class:"bx--btn__icon","aria-label":S}),o(9,l={type:H&&!G?void 0:ne,tabindex:ee,disabled:G===!0?!0:void 0,href:H,"aria-pressed":i&&d==="ghost"&&!H?E:void 0,...a,class:["bx--btn",g&&"bx--btn--expressive",(v==="small"&&!g||v==="sm"&&!g||v==="small"&&!g)&&"bx--btn--sm",v==="field"&&!g||v==="md"&&!g&&"bx--btn--md",v==="field"&&"bx--btn--field",v==="small"&&"bx--btn--sm",v==="lg"&&"bx--btn--lg",v==="xl"&&"bx--btn--xl",d&&`bx--btn--${d}`,G&&"bx--btn--disabled",i&&"bx--btn--icon-only",i&&"bx--tooltip__trigger",i&&"bx--tooltip--a11y",i&&_&&`bx--btn--icon-only--${_}`,i&&r&&`bx--tooltip--align-${r}`,i&&E&&d==="ghost"&&"bx--btn--selected",a.class].filter(Boolean).join(" ")})},[j,v,y,S,b,oe,G,H,i,l,t,a,m,d,g,E,r,_,ee,ne,s,c,pe,ve,ze,Pe,Ae,Se,ye,De,Ee,Ne,Be,je,Ce,Ie,qe,Oe,Te,Fe,Ge,He]}class cn extends ge{constructor(e){super(),ke(this,e,fn,sn,de,{kind:13,size:1,expressive:14,isSelected:15,icon:2,iconDescription:3,tooltipAlignment:16,tooltipPosition:17,as:4,skeleton:5,disabled:6,href:7,tabindex:18,type:19,ref:0},null,[-1,-1])}}export{cn as B}; +import{s as de,q as C,l as N,n as fe,d as A,u as Y,v as D,w as me,x as h,e as O,f as T,g as F,y as I,z as k,A as p,r as $,t as te,j as le,m as q,B as Me,C as Re,D as re,E as J,b as Z,c as w,F as K,G as L,H as Q,o as he,I as x}from"./scheduler.6x_t8-M_.js";import{S as ge,i as ke,g as W,b as z,e as X,t as P,c as M,a as ie,m as R,d as U}from"./index.DNIXW-5M.js";import{i as B,j as V}from"./pages.BSRgrbSV.js";function Ue(n){let e,o,i,t=[n[2]],l={};for(let u=0;u{e=D(D({},e),me(b)),o(2,t=Y(e,i)),"href"in b&&o(0,l=b.href),"size"in b&&o(1,u=b.size)},[l,u,t,a,c,s,m,d,v,g,E,y,S,r,_]}class Le extends ge{constructor(e){super(),ke(this,e,Ke,Je,de,{href:0,size:1})}}const Qe=n=>n[0]&1024,We=n=>({style:n[0]&256}),ue=n=>({style:n[8]?"margin-left: 0":void 0,...n[10]}),Xe=n=>n[0]&1024,Ye=n=>({style:n[0]&256}),ae=n=>({style:n[8]?"margin-left: 0":void 0,...n[10]}),Ze=n=>({props:n[0]&512}),ce=n=>({props:n[9]});function we(n){let e,o,i,t,l,u,a,c,s=n[8]&&_e(n);const m=n[21].default,d=J(m,n,n[20],null),v=[tn,nn],g=[];function E(r,_){return r[12].icon?0:r[2]?1:-1}~(t=E(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let r=0;r{g[b]=null}),X()),~t?(l=g[t],l?l.p(r,_):(l=g[t]=v[t](r),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=B(y,[_[0]&512&&r[9]]))},i(r){u||(P(d,r),P(l),u=!0)},o(r){z(d,r),z(l),u=!1},d(r){r&&A(e),s&&s.d(),d&&d.d(r),~t&&g[t].d(),n[41](null),a=!1,$(c)}}}function xe(n){let e,o,i,t,l,u,a,c,s=n[8]&&be(n);const m=n[21].default,d=J(m,n,n[20],null),v=[on,ln],g=[];function E(r,_){return r[12].icon?0:r[2]?1:-1}~(t=E(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let r=0;r{g[b]=null}),X()),~t?(l=g[t],l?l.p(r,_):(l=g[t]=v[t](r),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=B(y,[_[0]&512&&r[9]]))},i(r){u||(P(d,r),P(l),u=!0)},o(r){z(d,r),z(l),u=!1},d(r){r&&A(e),s&&s.d(),d&&d.d(r),~t&&g[t].d(),n[40](null),a=!1,$(c)}}}function $e(n){let e;const o=n[21].default,i=J(o,n,n[20],ce);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049088)&&K(i,o,t,t[20],e?Q(o,t[20],l,Ze):L(t[20]),ce)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function en(n){let e,o;const i=[{href:n[7]},{size:n[1]},n[11],{style:n[8]&&"width: 3rem;"}];let t={};for(let l=0;l{U(s,1)}),X()}l?(e=x(l,u(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?B(t,[c[0]&256&&{style:a[8]?"margin-left: 0":void 0},c[0]&1024&&V(a[10])]):{};e.$set(s)}},i(a){i||(e&&P(e.$$.fragment,a),i=!0)},o(a){e&&z(e.$$.fragment,a),i=!1},d(a){a&&A(o),e&&U(e,a)}}}function tn(n){let e;const o=n[21].icon,i=J(o,n,n[20],ue);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049856)&&K(i,o,t,t[20],Qe(l)||!e?L(t[20]):Q(o,t[20],l,We),ue)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function be(n){let e,o;return{c(){e=O("span"),o=te(n[3]),this.h()},l(i){e=T(i,"SPAN",{});var t=F(e);o=le(t,n[3]),t.forEach(A),this.h()},h(){k(e,"bx--assistive-text",!0)},m(i,t){N(i,e,t),q(e,o)},p(i,t){t[0]&8&&he(o,i[3])},d(i){i&&A(e)}}}function ln(n){let e,o,i;const t=[{style:n[8]?"margin-left: 0":void 0},n[10]];var l=n[2];function u(a,c){let s={};for(let m=0;m{U(s,1)}),X()}l?(e=x(l,u(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?B(t,[c[0]&256&&{style:a[8]?"margin-left: 0":void 0},c[0]&1024&&V(a[10])]):{};e.$set(s)}},i(a){i||(e&&P(e.$$.fragment,a),i=!0)},o(a){e&&z(e.$$.fragment,a),i=!1},d(a){a&&A(o),e&&U(e,a)}}}function on(n){let e;const o=n[21].icon,i=J(o,n,n[20],ae);return{c(){i&&i.c()},l(t){i&&i.l(t)},m(t,l){i&&i.m(t,l),e=!0},p(t,l){i&&i.p&&(!e||l[0]&1049856)&&K(i,o,t,t[20],Xe(l)||!e?L(t[20]):Q(o,t[20],l,Ye),ae)},i(t){e||(P(i,t),e=!0)},o(t){z(i,t),e=!1},d(t){i&&i.d(t)}}}function sn(n){let e,o,i,t;const l=[en,$e,xe,we],u=[];function a(c,s){return c[5]?0:c[4]?1:c[7]&&!c[6]?2:3}return e=a(n),o=u[e]=l[e](n),{c(){o.c(),i=C()},l(c){o.l(c),i=C()},m(c,s){u[e].m(c,s),N(c,i,s),t=!0},p(c,s){let m=e;e=a(c),e===m?u[e].p(c,s):(W(),z(u[m],1,1,()=>{u[m]=null}),X(),o=u[e],o?o.p(c,s):(o=u[e]=l[e](c),o.c()),P(o,1),o.m(i.parentNode,i))},i(c){t||(P(o),t=!0)},o(c){z(o),t=!1},d(c){c&&A(i),u[e].d(c)}}}function fn(n,e,o){let i,t,l;const u=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let a=Y(e,u),{$$slots:c={},$$scope:s}=e;const m=Me(c);let{kind:d="primary"}=e,{size:v="default"}=e,{expressive:g=!1}=e,{isSelected:E=!1}=e,{icon:y=void 0}=e,{iconDescription:S=void 0}=e,{tooltipAlignment:r="center"}=e,{tooltipPosition:_="bottom"}=e,{as:b=!1}=e,{skeleton:oe=!1}=e,{disabled:G=!1}=e,{href:H=void 0}=e,{tabindex:ee="0"}=e,{type:ne="button"}=e,{ref:j=null}=e;const se=Re("ComposedModal");function pe(f){h.call(this,n,f)}function ve(f){h.call(this,n,f)}function ze(f){h.call(this,n,f)}function Pe(f){h.call(this,n,f)}function Ae(f){h.call(this,n,f)}function Se(f){h.call(this,n,f)}function ye(f){h.call(this,n,f)}function De(f){h.call(this,n,f)}function Ee(f){h.call(this,n,f)}function Ne(f){h.call(this,n,f)}function Be(f){h.call(this,n,f)}function je(f){h.call(this,n,f)}function Ce(f){h.call(this,n,f)}function Ie(f){h.call(this,n,f)}function qe(f){h.call(this,n,f)}function Oe(f){h.call(this,n,f)}function Te(f){h.call(this,n,f)}function Fe(f){h.call(this,n,f)}function Ge(f){re[f?"unshift":"push"](()=>{j=f,o(0,j)})}function He(f){re[f?"unshift":"push"](()=>{j=f,o(0,j)})}return n.$$set=f=>{e=D(D({},e),me(f)),o(11,a=Y(e,u)),"kind"in f&&o(13,d=f.kind),"size"in f&&o(1,v=f.size),"expressive"in f&&o(14,g=f.expressive),"isSelected"in f&&o(15,E=f.isSelected),"icon"in f&&o(2,y=f.icon),"iconDescription"in f&&o(3,S=f.iconDescription),"tooltipAlignment"in f&&o(16,r=f.tooltipAlignment),"tooltipPosition"in f&&o(17,_=f.tooltipPosition),"as"in f&&o(4,b=f.as),"skeleton"in f&&o(5,oe=f.skeleton),"disabled"in f&&o(6,G=f.disabled),"href"in f&&o(7,H=f.href),"tabindex"in f&&o(18,ee=f.tabindex),"type"in f&&o(19,ne=f.type),"ref"in f&&o(0,j=f.ref),"$$scope"in f&&o(20,s=f.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&1&&se&&j&&se.declareRef(j),n.$$.dirty[0]&4&&o(8,i=(y||m.icon)&&!m.default),n.$$.dirty[0]&8&&o(10,t={"aria-hidden":"true",class:"bx--btn__icon","aria-label":S}),o(9,l={type:H&&!G?void 0:ne,tabindex:ee,disabled:G===!0?!0:void 0,href:H,"aria-pressed":i&&d==="ghost"&&!H?E:void 0,...a,class:["bx--btn",g&&"bx--btn--expressive",(v==="small"&&!g||v==="sm"&&!g||v==="small"&&!g)&&"bx--btn--sm",v==="field"&&!g||v==="md"&&!g&&"bx--btn--md",v==="field"&&"bx--btn--field",v==="small"&&"bx--btn--sm",v==="lg"&&"bx--btn--lg",v==="xl"&&"bx--btn--xl",d&&`bx--btn--${d}`,G&&"bx--btn--disabled",i&&"bx--btn--icon-only",i&&"bx--tooltip__trigger",i&&"bx--tooltip--a11y",i&&_&&`bx--btn--icon-only--${_}`,i&&r&&`bx--tooltip--align-${r}`,i&&E&&d==="ghost"&&"bx--btn--selected",a.class].filter(Boolean).join(" ")})},[j,v,y,S,b,oe,G,H,i,l,t,a,m,d,g,E,r,_,ee,ne,s,c,pe,ve,ze,Pe,Ae,Se,ye,De,Ee,Ne,Be,je,Ce,Ie,qe,Oe,Te,Fe,Ge,He]}class cn extends ge{constructor(e){super(),ke(this,e,fn,sn,de,{kind:13,size:1,expressive:14,isSelected:15,icon:2,iconDescription:3,tooltipAlignment:16,tooltipPosition:17,as:4,skeleton:5,disabled:6,href:7,tabindex:18,type:19,ref:0},null,[-1,-1])}}export{cn as B}; diff --git a/public/docs/_app/immutable/chunks/ChevronDown.Bdkldgj9.js b/public/docs/_app/immutable/chunks/ChevronDown.CeVNLKJZ.js similarity index 57% rename from public/docs/_app/immutable/chunks/ChevronDown.Bdkldgj9.js rename to public/docs/_app/immutable/chunks/ChevronDown.CeVNLKJZ.js index 657673c..39b6c0c 100644 --- a/public/docs/_app/immutable/chunks/ChevronDown.Bdkldgj9.js +++ b/public/docs/_app/immutable/chunks/ChevronDown.CeVNLKJZ.js @@ -1,9 +1,9 @@ -import{z as Se,A as Ye,i as oe}from"./pages.BKY_3uMO.js";import{s as _e,d as S,b as Me,c as M,e as Y,a4 as G,k as H,l as Re,a5 as W,t as He,q as I,n as ne,a6 as re,f as Ie,y as U,z as X,B as ce,F as ie,x as Z,C as fe,D as de,E as ge,v as E,j as he,o as pe,r as De,u as ae,w as q,g as Be,m as je,G as Ve,A as j,I as xe}from"./scheduler.BCDW5bg-.js";import{S as ye,i as we,d as le,t as P,a as L,g as J,e as K,b as se,m as ue,c as qe}from"./index.C97nKj6a.js";typeof window<"u"&&(window.Prism=window.Prism||{},window.Prism.manual=!0);var Oe={exports:{}};(function(l){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +import{z as Se,A as Ye,i as oe}from"./pages.BSRgrbSV.js";import{s as _e,v as R,a4 as G,a5 as W,g as I,d as S,k as Me,a6 as ne,l as M,m as Y,n as re,u as U,w as X,t as He,j as Re,o as Ie,q as Z,B as Ve,x as j,D as xe,E as ce,e as fe,b as De,f as de,c as Be,y as ie,z as E,A as q,F as ge,G as he,H as pe,r as je,I as ae}from"./scheduler.6x_t8-M_.js";import{S as ye,i as we,g as J,b as P,e as K,t as L,c as le,a as qe,m as se,d as ue}from"./index.DNIXW-5M.js";typeof window<"u"&&(window.Prism=window.Prism||{},window.Prism.manual=!0);var Oe={exports:{}};(function(l){var e=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var r=function(a){var c=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,t={},n={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function u(s){return s instanceof i?new i(s.type,u(s.content),s.alias):Array.isArray(s)?s.map(u):s.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(p){var u=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(p.stack)||[])[1];if(u){var s=document.getElementsByTagName("script");for(var g in s)if(s[g].src==u)return s[g]}return null}},isActive:function(u,s,g){for(var p="no-"+s;u;){var v=u.classList;if(v.contains(s))return!0;if(v.contains(p))return!1;u=u.parentElement}return!!g}},languages:{plain:t,plaintext:t,text:t,txt:t,extend:function(u,s){var g=n.util.clone(n.languages[u]);for(var p in s)g[p]=s[p];return g},insertBefore:function(u,s,g,p){p=p||n.languages;var v=p[u],_={};for(var y in v)if(v.hasOwnProperty(y)){if(y==s)for(var f in g)g.hasOwnProperty(f)&&(_[f]=g[f]);g.hasOwnProperty(y)||(_[y]=v[y])}var F=p[u];return p[u]=_,n.languages.DFS(n.languages,function(z,D){D===F&&z!=u&&(this[z]=_)}),_},DFS:function u(s,g,p,v){v=v||{};var _=n.util.objId;for(var y in s)if(s.hasOwnProperty(y)){g.call(s,y,s[y],p||y);var f=s[y],F=n.util.type(f);F==="Object"&&!v[_(f)]?(v[_(f)]=!0,u(f,g,null,v)):F==="Array"&&!v[_(f)]&&(v[_(f)]=!0,u(f,g,y,v))}}},plugins:{},highlightAll:function(u,s){n.highlightAllUnder(document,u,s)},highlightAllUnder:function(u,s,g){var p={callback:g,container:u,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",p),p.elements=Array.prototype.slice.apply(p.container.querySelectorAll(p.selector)),n.hooks.run("before-all-elements-highlight",p);for(var v=0,_;_=p.elements[v++];)n.highlightElement(_,s===!0,p.callback)},highlightElement:function(u,s,g){var p=n.util.getLanguage(u),v=n.languages[p];n.util.setLanguage(u,p);var _=u.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&n.util.setLanguage(_,p);var y=u.textContent,f={element:u,language:p,grammar:v,code:y};function F(D){f.highlightedCode=D,n.hooks.run("before-insert",f),f.element.innerHTML=f.highlightedCode,n.hooks.run("after-highlight",f),n.hooks.run("complete",f),g&&g.call(f.element)}if(n.hooks.run("before-sanity-check",f),_=f.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!f.code){n.hooks.run("complete",f),g&&g.call(f.element);return}if(n.hooks.run("before-highlight",f),!f.grammar){F(n.util.encode(f.code));return}if(s&&a.Worker){var z=new Worker(n.filename);z.onmessage=function(D){F(D.data)},z.postMessage(JSON.stringify({language:f.language,code:f.code,immediateClose:!0}))}else F(n.highlight(f.code,f.grammar,f.language))},highlight:function(u,s,g){var p={code:u,grammar:s,language:g};if(n.hooks.run("before-tokenize",p),!p.grammar)throw new Error('The language "'+p.language+'" has no grammar.');return p.tokens=n.tokenize(p.code,p.grammar),n.hooks.run("after-tokenize",p),i.stringify(n.util.encode(p.tokens),p.language)},tokenize:function(u,s){var g=s.rest;if(g){for(var p in g)s[p]=g[p];delete s.rest}var v=new h;return m(v,v.head,u),b(u,v,s,v.head,0),C(v)},hooks:{all:{},add:function(u,s){var g=n.hooks.all;g[u]=g[u]||[],g[u].push(s)},run:function(u,s){var g=n.hooks.all[u];if(!(!g||!g.length))for(var p=0,v;v=g[p++];)v(s)}},Token:i};a.Prism=n;function i(u,s,g,p){this.type=u,this.content=s,this.alias=g,this.length=(p||"").length|0}i.stringify=function u(s,g){if(typeof s=="string")return s;if(Array.isArray(s)){var p="";return s.forEach(function(F){p+=u(F,g)}),p}var v={type:s.type,content:u(s.content,g),tag:"span",classes:["token",s.type],attributes:{},language:g},_=s.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(v.classes,_):v.classes.push(_)),n.hooks.run("wrap",v);var y="";for(var f in v.attributes)y+=" "+f+'="'+(v.attributes[f]||"").replace(/"/g,""")+'"';return"<"+v.tag+' class="'+v.classes.join(" ")+'"'+y+">"+v.content+""};function d(u,s,g,p){u.lastIndex=s;var v=u.exec(g);if(v&&p&&v[1]){var _=v[1].length;v.index+=_,v[0]=v[0].slice(_)}return v}function b(u,s,g,p,v,_){for(var y in g)if(!(!g.hasOwnProperty(y)||!g[y])){var f=g[y];f=Array.isArray(f)?f:[f];for(var F=0;F=_.reach);R+=T.value.length,T=T.next){var O=T.value;if(s.length>u.length)return;if(!(O instanceof i)){var Q=1,N;if(Ae){if(N=d(Fe,R,u,ke),!N||N.index>=u.length)break;var $=N.index,Ue=N.index+N[0].length,B=R;for(B+=T.value.length;$>=B;)T=T.next,B+=T.value.length;if(B-=T.value.length,R=B,T.value instanceof i)continue;for(var V=T;V!==s.tail&&(B_.reach&&(_.reach=ve);var te=T.prev;me&&(te=m(s,te,me),R+=me.length),w(s,te,Q);var Ze=new i(y,D?n.tokenize(ee,D):ee,Ge,ee);if(T=m(s,te,Ze),Ee&&m(s,T,Ee),Q>1){var be={cause:y+","+F,reach:ve};b(u,s,g,T.prev,R,be),_&&be.reach>_.reach&&(_.reach=be.reach)}}}}}}function h(){var u={value:null,prev:null,next:null},s={value:null,prev:u,next:null};u.next=s,this.head=u,this.tail=s,this.length=0}function m(u,s,g){var p=s.next,v={value:g,prev:s,next:p};return s.next=v,p.prev=v,u.length++,v}function w(u,s,g){for(var p=s.next,v=0;v/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(c,o){var t={};t["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[o]},t.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:t}};n["language-"+o]={pattern:/[\s\S]+/,inside:r.languages[o]};var i={};i[c]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return c}),"i"),lookbehind:!0,greedy:!0,inside:n},r.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(a,c){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[c,"language-"+c],inside:r.languages[c]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(a){var c=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+c.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+c.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+c.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+c.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:c,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var o=a.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var a="Loading…",c=function(A,k){return"✖ Error "+A+" while fetching file: "+k},o="✖ Error: File does not exist or is empty",t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",i="loading",d="loaded",b="failed",h="pre[data-src]:not(["+n+'="'+d+'"]):not(['+n+'="'+i+'"])';function m(A,k,x){var u=new XMLHttpRequest;u.open("GET",A,!0),u.onreadystatechange=function(){u.readyState==4&&(u.status<400&&u.responseText?k(u.responseText):u.status>=400?x(c(u.status,u.statusText)):x(o))},u.send(null)}function w(A){var k=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(A||"");if(k){var x=Number(k[1]),u=k[2],s=k[3];return u?s?[x,Number(s)]:[x,void 0]:[x,x]}}r.hooks.add("before-highlightall",function(A){A.selector+=", "+h}),r.hooks.add("before-sanity-check",function(A){var k=A.element;if(k.matches(h)){A.code="",k.setAttribute(n,i);var x=k.appendChild(document.createElement("CODE"));x.textContent=a;var u=k.getAttribute("data-src"),s=A.language;if(s==="none"){var g=(/\.(\w+)$/.exec(u)||[,"none"])[1];s=t[g]||g}r.util.setLanguage(x,s),r.util.setLanguage(k,s);var p=r.plugins.autoloader;p&&p.loadLanguages(s),m(u,function(v){k.setAttribute(n,d);var _=w(k.getAttribute("data-range"));if(_){var y=v.split(/\r\n?|\n/g),f=_[0],F=_[1]==null?y.length:_[1];f<0&&(f+=y.length),f=Math.max(0,Math.min(f-1,y.length)),F<0&&(F+=y.length),F=Math.max(0,Math.min(F,y.length)),v=y.slice(f,F).join(` -`),k.hasAttribute("data-start")||k.setAttribute("data-start",String(f+1))}x.textContent=v,r.highlightElement(x)},function(v){k.setAttribute(n,b),x.textContent=v})}}),r.plugins.fileHighlight={highlight:function(k){for(var x=(k||document).querySelectorAll(h),u=0,s;s=x[u++];)r.highlightElement(s)}};var C=!1;r.fileHighlight=function(){C||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),C=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Oe);var Xe=Oe.exports;const ft=Ye(Xe);(function(){if(typeof Prism>"u"||typeof document>"u")return;var l="line-numbers",e=/\n(?!$)/g,r=Prism.plugins.lineNumbers={getLine:function(t,n){if(!(t.tagName!=="PRE"||!t.classList.contains(l))){var i=t.querySelector(".line-numbers-rows");if(i){var d=parseInt(t.getAttribute("data-start"),10)||1,b=d+(i.children.length-1);nb&&(n=b);var h=n-d;return i.children[h]}}},resize:function(t){a([t])},assumeViewportIndependence:!0};function a(t){if(t=t.filter(function(i){var d=c(i),b=d["white-space"];return b==="pre-wrap"||b==="pre-line"}),t.length!=0){var n=t.map(function(i){var d=i.querySelector("code"),b=i.querySelector(".line-numbers-rows");if(!(!d||!b)){var h=i.querySelector(".line-numbers-sizer"),m=d.textContent.split(e);h||(h=document.createElement("span"),h.className="line-numbers-sizer",d.appendChild(h)),h.innerHTML="0",h.style.display="block";var w=h.getBoundingClientRect().height;return h.innerHTML="",{element:i,lines:m,lineHeights:[],oneLinerHeight:w,sizer:h}}}).filter(Boolean);n.forEach(function(i){var d=i.sizer,b=i.lines,h=i.lineHeights,m=i.oneLinerHeight;h[b.length-1]=void 0,b.forEach(function(w,C){if(w&&w.length>1){var A=d.appendChild(document.createElement("span"));A.style.display="block",A.textContent=w}else h[C]=m})}),n.forEach(function(i){for(var d=i.sizer,b=i.lineHeights,h=0,m=0;m");h=document.createElement("span"),h.setAttribute("aria-hidden","true"),h.className="line-numbers-rows",h.innerHTML=m,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),t.element.appendChild(h),a([i]),Prism.hooks.run("line-numbers",t)}}}),Prism.hooks.add("line-numbers",function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0})})();(function(){if(typeof Prism>"u"||typeof document>"u")return;var l=[],e={},r=function(){};Prism.plugins.toolbar={};var a=Prism.plugins.toolbar.registerButton=function(t,n){var i;if(typeof n=="function"?i=n:i=function(d){var b;return typeof n.onClick=="function"?(b=document.createElement("button"),b.type="button",b.addEventListener("click",function(){n.onClick.call(this,d)})):typeof n.url=="string"?(b=document.createElement("a"),b.href=n.url):b=document.createElement("span"),n.className&&b.classList.add(n.className),b.textContent=n.text,b},t in e){console.warn('There is a button with the key "'+t+'" registered already.');return}l.push(e[t]=i)};function c(t){for(;t;){var n=t.getAttribute("data-toolbar-order");if(n!=null)return n=n.trim(),n.length?n.split(/\s*,\s*/g):[];t=t.parentElement}}var o=Prism.plugins.toolbar.hook=function(t){var n=t.element.parentNode;if(!(!n||!/pre/i.test(n.nodeName))&&!n.parentNode.classList.contains("code-toolbar")){var i=document.createElement("div");i.classList.add("code-toolbar"),n.parentNode.insertBefore(i,n),i.appendChild(n);var d=document.createElement("div");d.classList.add("toolbar");var b=l,h=c(t.element);h&&(b=h.map(function(m){return e[m]||r})),b.forEach(function(m){var w=m(t);if(w){var C=document.createElement("div");C.classList.add("toolbar-item"),C.appendChild(w),d.appendChild(C)}}),i.appendChild(d)}};a("label",function(t){var n=t.element.parentNode;if(!(!n||!/pre/i.test(n.nodeName))&&n.hasAttribute("data-label")){var i,d,b=n.getAttribute("data-label");try{d=document.querySelector("template#"+b)}catch{}return d?i=d.content:(n.hasAttribute("data-url")?(i=document.createElement("a"),i.href=n.getAttribute("data-url")):i=document.createElement("span"),i.textContent=b),i}}),Prism.hooks.add("complete",o)})();(function(){if(typeof Prism>"u"||typeof document>"u")return;if(!Prism.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function l(o,t){o.addEventListener("click",function(){r(t)})}function e(o){var t=document.createElement("textarea");t.value=o.getText(),t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{var n=document.execCommand("copy");setTimeout(function(){n?o.success():o.error()},1)}catch(i){setTimeout(function(){o.error(i)},1)}document.body.removeChild(t)}function r(o){navigator.clipboard?navigator.clipboard.writeText(o.getText()).then(o.success,function(){e(o)}):e(o)}function a(o){window.getSelection().selectAllChildren(o)}function c(o){var t={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},n="data-prismjs-";for(var i in t){for(var d=n+i,b=o;b&&!b.hasAttribute(d);)b=b.parentElement;b&&(t[i]=b.getAttribute(d))}return t}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(o){var t=o.element,n=c(t),i=document.createElement("button");i.className="copy-to-clipboard-button",i.setAttribute("type","button");var d=document.createElement("span");return i.appendChild(d),h("copy"),l(i,{getText:function(){return t.textContent},success:function(){h("copy-success"),b()},error:function(){h("copy-error"),setTimeout(function(){a(t)},1),b()}}),i;function b(){setTimeout(function(){h("copy")},n["copy-timeout"])}function h(m){d.textContent=n[m],i.setAttribute("data-copy-state",m)}})})();function Ce(l){let e,r;return{c(){e=W("title"),r=He(l[1])},l(a){e=G(a,"title",{});var c=H(e);r=Re(c,l[1]),c.forEach(S)},m(a,c){M(a,e,c),Y(e,r)},p(a,c){c&2&&Me(r,a[1])},d(a){a&&S(e)}}}function Je(l){let e,r,a=l[1]&&Ce(l),c=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],o={};for(let t=0;t{r(5,e=I(I({},e),X(d))),r(3,t=U(e,o)),"size"in d&&r(0,n=d.size),"title"in d&&r(1,i=d.title)},l.$$.update=()=>{r(4,a=e["aria-label"]||e["aria-labelledby"]||i),r(2,c={"aria-hidden":a?void 0:!0,role:a?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[n,i,c,t,a]}class dt extends ye{constructor(e){super(),we(this,e,Ke,Je,_e,{size:0,title:1})}}const Qe=l=>({}),ze=l=>({}),$e=l=>({}),Te=l=>({});function et(l){let e,r,a,c,o,t;const n=l[10].default,i=ce(n,l,l[9],null);let d=!l[3]&&(l[8].icon||l[4])&&Le(l),b=[{rel:a=l[7].target==="_blank"?"noopener noreferrer":void 0},{href:l[2]},l[7]],h={};for(let m=0;m{d=null}),K()),ae(e,h=oe(b,[(!c||w&128&&a!==(a=m[7].target==="_blank"?"noopener noreferrer":void 0))&&{rel:a},(!c||w&4)&&{href:m[2]},w&128&&m[7]])),E(e,"bx--link",!0),E(e,"bx--link--disabled",m[5]),E(e,"bx--link--inline",m[3]),E(e,"bx--link--visited",m[6]),E(e,"bx--link--sm",m[1]==="sm"),E(e,"bx--link--lg",m[1]==="lg")},i(m){c||(L(i,m),L(d),c=!0)},o(m){P(i,m),P(d),c=!1},d(m){m&&S(e),i&&i.d(m),d&&d.d(),l[20](null),o=!1,De(t)}}}function tt(l){let e,r,a,c,o;const t=l[10].default,n=ce(t,l,l[9],null);let i=!l[3]&&(l[8].icon||l[4])&&Pe(l),d=[{role:"link"},{"aria-disabled":"true"},l[7]],b={};for(let h=0;h{i=null}),K()),ae(e,b=oe(d,[{role:"link"},{"aria-disabled":"true"},m&128&&h[7]])),E(e,"bx--link",!0),E(e,"bx--link--disabled",h[5]),E(e,"bx--link--inline",h[3]),E(e,"bx--link--visited",h[6])},i(h){a||(L(n,h),L(i),a=!0)},o(h){P(n,h),P(i),a=!1},d(h){h&&S(e),n&&n.d(h),i&&i.d(),l[19](null),c=!1,De(o)}}}function Le(l){let e,r;const a=l[10].icon,c=ce(a,l,l[9],ze),o=c||nt(l);return{c(){e=pe("div"),o&&o.c(),this.h()},l(t){e=he(t,"DIV",{});var n=H(e);o&&o.l(n),n.forEach(S),this.h()},h(){E(e,"bx--link__icon",!0)},m(t,n){M(t,e,n),o&&o.m(e,null),r=!0},p(t,n){c?c.p&&(!r||n&512)&&fe(c,a,t,t[9],r?ge(a,t[9],n,Qe):de(t[9]),ze):o&&o.p&&(!r||n&16)&&o.p(t,r?n:-1)},i(t){r||(L(o,t),r=!0)},o(t){P(o,t),r=!1},d(t){t&&S(e),o&&o.d(t)}}}function nt(l){let e,r,a;var c=l[4];function o(t,n){return{}}return c&&(e=ie(c,o())),{c(){e&&se(e.$$.fragment),r=Z()},l(t){e&&qe(e.$$.fragment,t),r=Z()},m(t,n){e&&ue(e,t,n),M(t,r,n),a=!0},p(t,n){if(n&16&&c!==(c=t[4])){if(e){J();const i=e;P(i.$$.fragment,1,0,()=>{le(i,1)}),K()}c?(e=ie(c,o()),se(e.$$.fragment),L(e.$$.fragment,1),ue(e,r.parentNode,r)):e=null}},i(t){a||(e&&L(e.$$.fragment,t),a=!0)},o(t){e&&P(e.$$.fragment,t),a=!1},d(t){t&&S(r),e&&le(e,t)}}}function Pe(l){let e,r;const a=l[10].icon,c=ce(a,l,l[9],Te),o=c||rt(l);return{c(){e=pe("div"),o&&o.c(),this.h()},l(t){e=he(t,"DIV",{});var n=H(e);o&&o.l(n),n.forEach(S),this.h()},h(){E(e,"bx--link__icon",!0)},m(t,n){M(t,e,n),o&&o.m(e,null),r=!0},p(t,n){c?c.p&&(!r||n&512)&&fe(c,a,t,t[9],r?ge(a,t[9],n,$e):de(t[9]),Te):o&&o.p&&(!r||n&16)&&o.p(t,r?n:-1)},i(t){r||(L(o,t),r=!0)},o(t){P(o,t),r=!1},d(t){t&&S(e),o&&o.d(t)}}}function rt(l){let e,r,a;var c=l[4];function o(t,n){return{}}return c&&(e=ie(c,o())),{c(){e&&se(e.$$.fragment),r=Z()},l(t){e&&qe(e.$$.fragment,t),r=Z()},m(t,n){e&&ue(e,t,n),M(t,r,n),a=!0},p(t,n){if(n&16&&c!==(c=t[4])){if(e){J();const i=e;P(i.$$.fragment,1,0,()=>{le(i,1)}),K()}c?(e=ie(c,o()),se(e.$$.fragment),L(e.$$.fragment,1),ue(e,r.parentNode,r)):e=null}},i(t){a||(e&&L(e.$$.fragment,t),a=!0)},o(t){e&&P(e.$$.fragment,t),a=!1},d(t){t&&S(r),e&&le(e,t)}}}function it(l){let e,r,a,c;const o=[tt,et],t=[];function n(i,d){return i[5]?0:1}return e=n(l),r=t[e]=o[e](l),{c(){r.c(),a=Z()},l(i){r.l(i),a=Z()},m(i,d){t[e].m(i,d),M(i,a,d),c=!0},p(i,[d]){let b=e;e=n(i),e===b?t[e].p(i,d):(J(),P(t[b],1,1,()=>{t[b]=null}),K(),r=t[e],r?r.p(i,d):(r=t[e]=o[e](i),r.c()),L(r,1),r.m(a.parentNode,a))},i(i){c||(L(r),c=!0)},o(i){P(r),c=!1},d(i){i&&S(a),t[e].d(i)}}}function at(l,e,r){const a=["size","href","inline","icon","disabled","visited","ref"];let c=U(e,a),{$$slots:o={},$$scope:t}=e;const n=Ve(o);let{size:i=void 0}=e,{href:d=void 0}=e,{inline:b=!1}=e,{icon:h=void 0}=e,{disabled:m=!1}=e,{visited:w=!1}=e,{ref:C=null}=e;function A(f){j.call(this,l,f)}function k(f){j.call(this,l,f)}function x(f){j.call(this,l,f)}function u(f){j.call(this,l,f)}function s(f){j.call(this,l,f)}function g(f){j.call(this,l,f)}function p(f){j.call(this,l,f)}function v(f){j.call(this,l,f)}function _(f){xe[f?"unshift":"push"](()=>{C=f,r(0,C)})}function y(f){xe[f?"unshift":"push"](()=>{C=f,r(0,C)})}return l.$$set=f=>{e=I(I({},e),X(f)),r(7,c=U(e,a)),"size"in f&&r(1,i=f.size),"href"in f&&r(2,d=f.href),"inline"in f&&r(3,b=f.inline),"icon"in f&&r(4,h=f.icon),"disabled"in f&&r(5,m=f.disabled),"visited"in f&&r(6,w=f.visited),"ref"in f&&r(0,C=f.ref),"$$scope"in f&&r(9,t=f.$$scope)},[C,i,d,b,h,m,w,c,n,t,o,A,k,x,u,s,g,p,v,_,y]}class gt extends ye{constructor(e){super(),we(this,e,at,it,_e,{size:1,href:2,inline:3,icon:4,disabled:5,visited:6,ref:0})}}function Ne(l){let e,r;return{c(){e=W("title"),r=He(l[1])},l(a){e=G(a,"title",{});var c=H(e);r=Re(c,l[1]),c.forEach(S)},m(a,c){M(a,e,c),Y(e,r)},p(a,c){c&2&&Me(r,a[1])},d(a){a&&S(e)}}}function lt(l){let e,r,a=l[1]&&Ne(l),c=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],o={};for(let t=0;t{r(5,e=I(I({},e),X(d))),r(3,t=U(e,o)),"size"in d&&r(0,n=d.size),"title"in d&&r(1,i=d.title)},l.$$.update=()=>{r(4,a=e["aria-label"]||e["aria-labelledby"]||i),r(2,c={"aria-hidden":a?void 0:!0,role:a?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[n,i,c,t,a]}class ht extends ye{constructor(e){super(),we(this,e,st,lt,_e,{size:0,title:1})}}export{dt as C,gt as L,ft as P,ht as a}; + */var r=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,d=0,t={},n={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function u(s){return s instanceof i?new i(s.type,u(s.content),s.alias):Array.isArray(s)?s.map(u):s.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(p){var u=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(p.stack)||[])[1];if(u){var s=document.getElementsByTagName("script");for(var g in s)if(s[g].src==u)return s[g]}return null}},isActive:function(u,s,g){for(var p="no-"+s;u;){var v=u.classList;if(v.contains(s))return!0;if(v.contains(p))return!1;u=u.parentElement}return!!g}},languages:{plain:t,plaintext:t,text:t,txt:t,extend:function(u,s){var g=n.util.clone(n.languages[u]);for(var p in s)g[p]=s[p];return g},insertBefore:function(u,s,g,p){p=p||n.languages;var v=p[u],_={};for(var y in v)if(v.hasOwnProperty(y)){if(y==s)for(var c in g)g.hasOwnProperty(c)&&(_[c]=g[c]);g.hasOwnProperty(y)||(_[y]=v[y])}var F=p[u];return p[u]=_,n.languages.DFS(n.languages,function(z,D){D===F&&z!=u&&(this[z]=_)}),_},DFS:function u(s,g,p,v){v=v||{};var _=n.util.objId;for(var y in s)if(s.hasOwnProperty(y)){g.call(s,y,s[y],p||y);var c=s[y],F=n.util.type(c);F==="Object"&&!v[_(c)]?(v[_(c)]=!0,u(c,g,null,v)):F==="Array"&&!v[_(c)]&&(v[_(c)]=!0,u(c,g,y,v))}}},plugins:{},highlightAll:function(u,s){n.highlightAllUnder(document,u,s)},highlightAllUnder:function(u,s,g){var p={callback:g,container:u,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};n.hooks.run("before-highlightall",p),p.elements=Array.prototype.slice.apply(p.container.querySelectorAll(p.selector)),n.hooks.run("before-all-elements-highlight",p);for(var v=0,_;_=p.elements[v++];)n.highlightElement(_,s===!0,p.callback)},highlightElement:function(u,s,g){var p=n.util.getLanguage(u),v=n.languages[p];n.util.setLanguage(u,p);var _=u.parentElement;_&&_.nodeName.toLowerCase()==="pre"&&n.util.setLanguage(_,p);var y=u.textContent,c={element:u,language:p,grammar:v,code:y};function F(D){c.highlightedCode=D,n.hooks.run("before-insert",c),c.element.innerHTML=c.highlightedCode,n.hooks.run("after-highlight",c),n.hooks.run("complete",c),g&&g.call(c.element)}if(n.hooks.run("before-sanity-check",c),_=c.element.parentElement,_&&_.nodeName.toLowerCase()==="pre"&&!_.hasAttribute("tabindex")&&_.setAttribute("tabindex","0"),!c.code){n.hooks.run("complete",c),g&&g.call(c.element);return}if(n.hooks.run("before-highlight",c),!c.grammar){F(n.util.encode(c.code));return}if(s&&a.Worker){var z=new Worker(n.filename);z.onmessage=function(D){F(D.data)},z.postMessage(JSON.stringify({language:c.language,code:c.code,immediateClose:!0}))}else F(n.highlight(c.code,c.grammar,c.language))},highlight:function(u,s,g){var p={code:u,grammar:s,language:g};if(n.hooks.run("before-tokenize",p),!p.grammar)throw new Error('The language "'+p.language+'" has no grammar.');return p.tokens=n.tokenize(p.code,p.grammar),n.hooks.run("after-tokenize",p),i.stringify(n.util.encode(p.tokens),p.language)},tokenize:function(u,s){var g=s.rest;if(g){for(var p in g)s[p]=g[p];delete s.rest}var v=new h;return m(v,v.head,u),b(u,v,s,v.head,0),C(v)},hooks:{all:{},add:function(u,s){var g=n.hooks.all;g[u]=g[u]||[],g[u].push(s)},run:function(u,s){var g=n.hooks.all[u];if(!(!g||!g.length))for(var p=0,v;v=g[p++];)v(s)}},Token:i};a.Prism=n;function i(u,s,g,p){this.type=u,this.content=s,this.alias=g,this.length=(p||"").length|0}i.stringify=function u(s,g){if(typeof s=="string")return s;if(Array.isArray(s)){var p="";return s.forEach(function(F){p+=u(F,g)}),p}var v={type:s.type,content:u(s.content,g),tag:"span",classes:["token",s.type],attributes:{},language:g},_=s.alias;_&&(Array.isArray(_)?Array.prototype.push.apply(v.classes,_):v.classes.push(_)),n.hooks.run("wrap",v);var y="";for(var c in v.attributes)y+=" "+c+'="'+(v.attributes[c]||"").replace(/"/g,""")+'"';return"<"+v.tag+' class="'+v.classes.join(" ")+'"'+y+">"+v.content+""};function f(u,s,g,p){u.lastIndex=s;var v=u.exec(g);if(v&&p&&v[1]){var _=v[1].length;v.index+=_,v[0]=v[0].slice(_)}return v}function b(u,s,g,p,v,_){for(var y in g)if(!(!g.hasOwnProperty(y)||!g[y])){var c=g[y];c=Array.isArray(c)?c:[c];for(var F=0;F=_.reach);H+=T.value.length,T=T.next){var O=T.value;if(s.length>u.length)return;if(!(O instanceof i)){var Q=1,N;if(Ae){if(N=f(Fe,H,u,ke),!N||N.index>=u.length)break;var $=N.index,Ue=N.index+N[0].length,B=H;for(B+=T.value.length;$>=B;)T=T.next,B+=T.value.length;if(B-=T.value.length,H=B,T.value instanceof i)continue;for(var V=T;V!==s.tail&&(B_.reach&&(_.reach=ve);var te=T.prev;me&&(te=m(s,te,me),H+=me.length),w(s,te,Q);var Ze=new i(y,D?n.tokenize(ee,D):ee,Ge,ee);if(T=m(s,te,Ze),Ee&&m(s,T,Ee),Q>1){var be={cause:y+","+F,reach:ve};b(u,s,g,T.prev,H,be),_&&be.reach>_.reach&&(_.reach=be.reach)}}}}}}function h(){var u={value:null,prev:null,next:null},s={value:null,prev:u,next:null};u.next=s,this.head=u,this.tail=s,this.length=0}function m(u,s,g){var p=s.next,v={value:g,prev:s,next:p};return s.next=v,p.prev=v,u.length++,v}function w(u,s,g){for(var p=s.next,v=0;v/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.languages.markup.doctype.inside["internal-subset"].inside=r.languages.markup,r.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.replace(/&/,"&"))}),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(o,d){var t={};t["language-"+d]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[d]},t.cdata=/^$/i;var n={"included-cdata":{pattern://i,inside:t}};n["language-"+d]={pattern:/[\s\S]+/,inside:r.languages[d]};var i={};i[o]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:n},r.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(r.languages.markup.tag,"addAttribute",{value:function(a,o){r.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:r.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.xml=r.languages.extend("markup",{}),r.languages.ssml=r.languages.xml,r.languages.atom=r.languages.xml,r.languages.rss=r.languages.xml,function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+o.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var d=a.languages.markup;d&&(d.tag.addInlined("style","css"),d.tag.addAttribute("style","css"))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:r.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),r.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),r.languages.markup&&(r.languages.markup.tag.addInlined("script","javascript"),r.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),r.languages.js=r.languages.javascript,function(){if(typeof r>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var a="Loading…",o=function(A,k){return"✖ Error "+A+" while fetching file: "+k},d="✖ Error: File does not exist or is empty",t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",i="loading",f="loaded",b="failed",h="pre[data-src]:not(["+n+'="'+f+'"]):not(['+n+'="'+i+'"])';function m(A,k,x){var u=new XMLHttpRequest;u.open("GET",A,!0),u.onreadystatechange=function(){u.readyState==4&&(u.status<400&&u.responseText?k(u.responseText):u.status>=400?x(o(u.status,u.statusText)):x(d))},u.send(null)}function w(A){var k=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(A||"");if(k){var x=Number(k[1]),u=k[2],s=k[3];return u?s?[x,Number(s)]:[x,void 0]:[x,x]}}r.hooks.add("before-highlightall",function(A){A.selector+=", "+h}),r.hooks.add("before-sanity-check",function(A){var k=A.element;if(k.matches(h)){A.code="",k.setAttribute(n,i);var x=k.appendChild(document.createElement("CODE"));x.textContent=a;var u=k.getAttribute("data-src"),s=A.language;if(s==="none"){var g=(/\.(\w+)$/.exec(u)||[,"none"])[1];s=t[g]||g}r.util.setLanguage(x,s),r.util.setLanguage(k,s);var p=r.plugins.autoloader;p&&p.loadLanguages(s),m(u,function(v){k.setAttribute(n,f);var _=w(k.getAttribute("data-range"));if(_){var y=v.split(/\r\n?|\n/g),c=_[0],F=_[1]==null?y.length:_[1];c<0&&(c+=y.length),c=Math.max(0,Math.min(c-1,y.length)),F<0&&(F+=y.length),F=Math.max(0,Math.min(F,y.length)),v=y.slice(c,F).join(` +`),k.hasAttribute("data-start")||k.setAttribute("data-start",String(c+1))}x.textContent=v,r.highlightElement(x)},function(v){k.setAttribute(n,b),x.textContent=v})}}),r.plugins.fileHighlight={highlight:function(k){for(var x=(k||document).querySelectorAll(h),u=0,s;s=x[u++];)r.highlightElement(s)}};var C=!1;r.fileHighlight=function(){C||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),C=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(Oe);var Xe=Oe.exports;const ft=Ye(Xe);(function(){if(typeof Prism>"u"||typeof document>"u")return;var l="line-numbers",e=/\n(?!$)/g,r=Prism.plugins.lineNumbers={getLine:function(t,n){if(!(t.tagName!=="PRE"||!t.classList.contains(l))){var i=t.querySelector(".line-numbers-rows");if(i){var f=parseInt(t.getAttribute("data-start"),10)||1,b=f+(i.children.length-1);nb&&(n=b);var h=n-f;return i.children[h]}}},resize:function(t){a([t])},assumeViewportIndependence:!0};function a(t){if(t=t.filter(function(i){var f=o(i),b=f["white-space"];return b==="pre-wrap"||b==="pre-line"}),t.length!=0){var n=t.map(function(i){var f=i.querySelector("code"),b=i.querySelector(".line-numbers-rows");if(!(!f||!b)){var h=i.querySelector(".line-numbers-sizer"),m=f.textContent.split(e);h||(h=document.createElement("span"),h.className="line-numbers-sizer",f.appendChild(h)),h.innerHTML="0",h.style.display="block";var w=h.getBoundingClientRect().height;return h.innerHTML="",{element:i,lines:m,lineHeights:[],oneLinerHeight:w,sizer:h}}}).filter(Boolean);n.forEach(function(i){var f=i.sizer,b=i.lines,h=i.lineHeights,m=i.oneLinerHeight;h[b.length-1]=void 0,b.forEach(function(w,C){if(w&&w.length>1){var A=f.appendChild(document.createElement("span"));A.style.display="block",A.textContent=w}else h[C]=m})}),n.forEach(function(i){for(var f=i.sizer,b=i.lineHeights,h=0,m=0;m");h=document.createElement("span"),h.setAttribute("aria-hidden","true"),h.className="line-numbers-rows",h.innerHTML=m,i.hasAttribute("data-start")&&(i.style.counterReset="linenumber "+(parseInt(i.getAttribute("data-start"),10)-1)),t.element.appendChild(h),a([i]),Prism.hooks.run("line-numbers",t)}}}),Prism.hooks.add("line-numbers",function(t){t.plugins=t.plugins||{},t.plugins.lineNumbers=!0})})();(function(){if(typeof Prism>"u"||typeof document>"u")return;var l=[],e={},r=function(){};Prism.plugins.toolbar={};var a=Prism.plugins.toolbar.registerButton=function(t,n){var i;if(typeof n=="function"?i=n:i=function(f){var b;return typeof n.onClick=="function"?(b=document.createElement("button"),b.type="button",b.addEventListener("click",function(){n.onClick.call(this,f)})):typeof n.url=="string"?(b=document.createElement("a"),b.href=n.url):b=document.createElement("span"),n.className&&b.classList.add(n.className),b.textContent=n.text,b},t in e){console.warn('There is a button with the key "'+t+'" registered already.');return}l.push(e[t]=i)};function o(t){for(;t;){var n=t.getAttribute("data-toolbar-order");if(n!=null)return n=n.trim(),n.length?n.split(/\s*,\s*/g):[];t=t.parentElement}}var d=Prism.plugins.toolbar.hook=function(t){var n=t.element.parentNode;if(!(!n||!/pre/i.test(n.nodeName))&&!n.parentNode.classList.contains("code-toolbar")){var i=document.createElement("div");i.classList.add("code-toolbar"),n.parentNode.insertBefore(i,n),i.appendChild(n);var f=document.createElement("div");f.classList.add("toolbar");var b=l,h=o(t.element);h&&(b=h.map(function(m){return e[m]||r})),b.forEach(function(m){var w=m(t);if(w){var C=document.createElement("div");C.classList.add("toolbar-item"),C.appendChild(w),f.appendChild(C)}}),i.appendChild(f)}};a("label",function(t){var n=t.element.parentNode;if(!(!n||!/pre/i.test(n.nodeName))&&n.hasAttribute("data-label")){var i,f,b=n.getAttribute("data-label");try{f=document.querySelector("template#"+b)}catch{}return f?i=f.content:(n.hasAttribute("data-url")?(i=document.createElement("a"),i.href=n.getAttribute("data-url")):i=document.createElement("span"),i.textContent=b),i}}),Prism.hooks.add("complete",d)})();(function(){if(typeof Prism>"u"||typeof document>"u")return;if(!Prism.plugins.toolbar){console.warn("Copy to Clipboard plugin loaded before Toolbar plugin.");return}function l(d,t){d.addEventListener("click",function(){r(t)})}function e(d){var t=document.createElement("textarea");t.value=d.getText(),t.style.top="0",t.style.left="0",t.style.position="fixed",document.body.appendChild(t),t.focus(),t.select();try{var n=document.execCommand("copy");setTimeout(function(){n?d.success():d.error()},1)}catch(i){setTimeout(function(){d.error(i)},1)}document.body.removeChild(t)}function r(d){navigator.clipboard?navigator.clipboard.writeText(d.getText()).then(d.success,function(){e(d)}):e(d)}function a(d){window.getSelection().selectAllChildren(d)}function o(d){var t={copy:"Copy","copy-error":"Press Ctrl+C to copy","copy-success":"Copied!","copy-timeout":5e3},n="data-prismjs-";for(var i in t){for(var f=n+i,b=d;b&&!b.hasAttribute(f);)b=b.parentElement;b&&(t[i]=b.getAttribute(f))}return t}Prism.plugins.toolbar.registerButton("copy-to-clipboard",function(d){var t=d.element,n=o(t),i=document.createElement("button");i.className="copy-to-clipboard-button",i.setAttribute("type","button");var f=document.createElement("span");return i.appendChild(f),h("copy"),l(i,{getText:function(){return t.textContent},success:function(){h("copy-success"),b()},error:function(){h("copy-error"),setTimeout(function(){a(t)},1),b()}}),i;function b(){setTimeout(function(){h("copy")},n["copy-timeout"])}function h(m){f.textContent=n[m],i.setAttribute("data-copy-state",m)}})})();function Ce(l){let e,r;return{c(){e=G("title"),r=He(l[1])},l(a){e=W(a,"title",{});var o=I(e);r=Re(o,l[1]),o.forEach(S)},m(a,o){M(a,e,o),Y(e,r)},p(a,o){o&2&&Ie(r,a[1])},d(a){a&&S(e)}}}function Je(l){let e,r,a=l[1]&&Ce(l),o=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],d={};for(let t=0;t{r(5,e=R(R({},e),X(f))),r(3,t=U(e,d)),"size"in f&&r(0,n=f.size),"title"in f&&r(1,i=f.title)},l.$$.update=()=>{r(4,a=e["aria-label"]||e["aria-labelledby"]||i),r(2,o={"aria-hidden":a?void 0:!0,role:a?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[n,i,o,t,a]}class dt extends ye{constructor(e){super(),we(this,e,Ke,Je,_e,{size:0,title:1})}}const Qe=l=>({}),ze=l=>({}),$e=l=>({}),Te=l=>({});function et(l){let e,r,a,o,d,t;const n=l[10].default,i=ce(n,l,l[9],null);let f=!l[3]&&(l[8].icon||l[4])&&Le(l),b=[{rel:a=l[7].target==="_blank"?"noopener noreferrer":void 0},{href:l[2]},l[7]],h={};for(let m=0;m{f=null}),K()),ie(e,h=oe(b,[(!o||w&128&&a!==(a=m[7].target==="_blank"?"noopener noreferrer":void 0))&&{rel:a},(!o||w&4)&&{href:m[2]},w&128&&m[7]])),E(e,"bx--link",!0),E(e,"bx--link--disabled",m[5]),E(e,"bx--link--inline",m[3]),E(e,"bx--link--visited",m[6]),E(e,"bx--link--sm",m[1]==="sm"),E(e,"bx--link--lg",m[1]==="lg")},i(m){o||(L(i,m),L(f),o=!0)},o(m){P(i,m),P(f),o=!1},d(m){m&&S(e),i&&i.d(m),f&&f.d(),l[20](null),d=!1,je(t)}}}function tt(l){let e,r,a,o,d;const t=l[10].default,n=ce(t,l,l[9],null);let i=!l[3]&&(l[8].icon||l[4])&&Pe(l),f=[{role:"link"},{"aria-disabled":"true"},l[7]],b={};for(let h=0;h{i=null}),K()),ie(e,b=oe(f,[{role:"link"},{"aria-disabled":"true"},m&128&&h[7]])),E(e,"bx--link",!0),E(e,"bx--link--disabled",h[5]),E(e,"bx--link--inline",h[3]),E(e,"bx--link--visited",h[6])},i(h){a||(L(n,h),L(i),a=!0)},o(h){P(n,h),P(i),a=!1},d(h){h&&S(e),n&&n.d(h),i&&i.d(),l[19](null),o=!1,je(d)}}}function Le(l){let e,r;const a=l[10].icon,o=ce(a,l,l[9],ze),d=o||nt(l);return{c(){e=fe("div"),d.c(),this.h()},l(t){e=de(t,"DIV",{});var n=I(e);d.l(n),n.forEach(S),this.h()},h(){E(e,"bx--link__icon",!0)},m(t,n){M(t,e,n),d.m(e,null),r=!0},p(t,n){o?o.p&&(!r||n&512)&&ge(o,a,t,t[9],r?pe(a,t[9],n,Qe):he(t[9]),ze):d.p&&(!r||n&16)&&d.p(t,r?n:-1)},i(t){r||(L(d,t),r=!0)},o(t){P(d,t),r=!1},d(t){t&&S(e),d.d(t)}}}function nt(l){let e,r,a;var o=l[4];function d(t,n){return{}}return o&&(e=ae(o,d())),{c(){e&&le(e.$$.fragment),r=Z()},l(t){e&&qe(e.$$.fragment,t),r=Z()},m(t,n){e&&se(e,t,n),M(t,r,n),a=!0},p(t,n){if(n&16&&o!==(o=t[4])){if(e){J();const i=e;P(i.$$.fragment,1,0,()=>{ue(i,1)}),K()}o?(e=ae(o,d()),le(e.$$.fragment),L(e.$$.fragment,1),se(e,r.parentNode,r)):e=null}},i(t){a||(e&&L(e.$$.fragment,t),a=!0)},o(t){e&&P(e.$$.fragment,t),a=!1},d(t){t&&S(r),e&&ue(e,t)}}}function Pe(l){let e,r;const a=l[10].icon,o=ce(a,l,l[9],Te),d=o||rt(l);return{c(){e=fe("div"),d.c(),this.h()},l(t){e=de(t,"DIV",{});var n=I(e);d.l(n),n.forEach(S),this.h()},h(){E(e,"bx--link__icon",!0)},m(t,n){M(t,e,n),d.m(e,null),r=!0},p(t,n){o?o.p&&(!r||n&512)&&ge(o,a,t,t[9],r?pe(a,t[9],n,$e):he(t[9]),Te):d.p&&(!r||n&16)&&d.p(t,r?n:-1)},i(t){r||(L(d,t),r=!0)},o(t){P(d,t),r=!1},d(t){t&&S(e),d.d(t)}}}function rt(l){let e,r,a;var o=l[4];function d(t,n){return{}}return o&&(e=ae(o,d())),{c(){e&&le(e.$$.fragment),r=Z()},l(t){e&&qe(e.$$.fragment,t),r=Z()},m(t,n){e&&se(e,t,n),M(t,r,n),a=!0},p(t,n){if(n&16&&o!==(o=t[4])){if(e){J();const i=e;P(i.$$.fragment,1,0,()=>{ue(i,1)}),K()}o?(e=ae(o,d()),le(e.$$.fragment),L(e.$$.fragment,1),se(e,r.parentNode,r)):e=null}},i(t){a||(e&&L(e.$$.fragment,t),a=!0)},o(t){e&&P(e.$$.fragment,t),a=!1},d(t){t&&S(r),e&&ue(e,t)}}}function it(l){let e,r,a,o;const d=[tt,et],t=[];function n(i,f){return i[5]?0:1}return e=n(l),r=t[e]=d[e](l),{c(){r.c(),a=Z()},l(i){r.l(i),a=Z()},m(i,f){t[e].m(i,f),M(i,a,f),o=!0},p(i,[f]){let b=e;e=n(i),e===b?t[e].p(i,f):(J(),P(t[b],1,1,()=>{t[b]=null}),K(),r=t[e],r?r.p(i,f):(r=t[e]=d[e](i),r.c()),L(r,1),r.m(a.parentNode,a))},i(i){o||(L(r),o=!0)},o(i){P(r),o=!1},d(i){i&&S(a),t[e].d(i)}}}function at(l,e,r){const a=["size","href","inline","icon","disabled","visited","ref"];let o=U(e,a),{$$slots:d={},$$scope:t}=e;const n=Ve(d);let{size:i=void 0}=e,{href:f=void 0}=e,{inline:b=!1}=e,{icon:h=void 0}=e,{disabled:m=!1}=e,{visited:w=!1}=e,{ref:C=null}=e;function A(c){j.call(this,l,c)}function k(c){j.call(this,l,c)}function x(c){j.call(this,l,c)}function u(c){j.call(this,l,c)}function s(c){j.call(this,l,c)}function g(c){j.call(this,l,c)}function p(c){j.call(this,l,c)}function v(c){j.call(this,l,c)}function _(c){xe[c?"unshift":"push"](()=>{C=c,r(0,C)})}function y(c){xe[c?"unshift":"push"](()=>{C=c,r(0,C)})}return l.$$set=c=>{e=R(R({},e),X(c)),r(7,o=U(e,a)),"size"in c&&r(1,i=c.size),"href"in c&&r(2,f=c.href),"inline"in c&&r(3,b=c.inline),"icon"in c&&r(4,h=c.icon),"disabled"in c&&r(5,m=c.disabled),"visited"in c&&r(6,w=c.visited),"ref"in c&&r(0,C=c.ref),"$$scope"in c&&r(9,t=c.$$scope)},[C,i,f,b,h,m,w,o,n,t,d,A,k,x,u,s,g,p,v,_,y]}class gt extends ye{constructor(e){super(),we(this,e,at,it,_e,{size:1,href:2,inline:3,icon:4,disabled:5,visited:6,ref:0})}}function Ne(l){let e,r;return{c(){e=G("title"),r=He(l[1])},l(a){e=W(a,"title",{});var o=I(e);r=Re(o,l[1]),o.forEach(S)},m(a,o){M(a,e,o),Y(e,r)},p(a,o){o&2&&Ie(r,a[1])},d(a){a&&S(e)}}}function lt(l){let e,r,a=l[1]&&Ne(l),o=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:l[0]},{height:l[0]},l[2],l[3]],d={};for(let t=0;t{r(5,e=R(R({},e),X(f))),r(3,t=U(e,d)),"size"in f&&r(0,n=f.size),"title"in f&&r(1,i=f.title)},l.$$.update=()=>{r(4,a=e["aria-label"]||e["aria-labelledby"]||i),r(2,o={"aria-hidden":a?void 0:!0,role:a?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[n,i,o,t,a]}class ht extends ye{constructor(e){super(),we(this,e,st,lt,_e,{size:0,title:1})}}export{dt as C,gt as L,ft as P,ht as a}; diff --git a/public/docs/_app/immutable/chunks/FieldDetails.CPlUAqsp.js b/public/docs/_app/immutable/chunks/FieldDetails.CPlUAqsp.js deleted file mode 100644 index 0f14d9c..0000000 --- a/public/docs/_app/immutable/chunks/FieldDetails.CPlUAqsp.js +++ /dev/null @@ -1,88 +0,0 @@ -var Su=Object.defineProperty;var Bu=(e,t,n)=>t in e?Su(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ee=(e,t,n)=>Bu(e,typeof t!="symbol"?t+"":t,n);import{a8 as $u,a9 as Iu,X as wt,W as Ou,s as Ee,d as E,b as Pe,c as w,e as I,a4 as M,k as O,l as ae,a5 as V,t as se,q as Z,n as k,a6 as me,f as Q,y as Fe,z as ge,j as Ge,o as Ke,x as Le,aa as rn,J as xu,g as z,m as G,p as Yr,I as Lu,a7 as Ru}from"./scheduler.BCDW5bg-.js";import{g as ut,t as _,e as at,a as v,S as ye,i as ve,d as T,m as S,c as B,b as $,f as Pu}from"./index.C97nKj6a.js";import{I as ju,C as Jr,T as Mu,e as Vu,f as Uu,g as un,h as an,A as Lt}from"./PreviousNextPage.DkqDVsQt.js";import{D as qu,A as zu,c as Gu}from"./ArgsList.C4wfYkcv.js";import{i as bt,_ as re,M as Ku,v as Sn,t as Rt,J as Wr,r as Hr,F as Yu,E as Ju,N as Bn,H as Fn,I as Qr,G as Xr,O as Wu,y as Hu}from"./pages.BKY_3uMO.js";import"./prism-json.CMKj7kFV.js";import{B as Tt}from"./Button.Dx_qZ2xb.js";import{w as Qu}from"./index.BN18egRc.js";function Pt(e,t){const n=t.token={};function r(i,u,a,s){if(t.token!==n)return;t.resolved=s;let o=t.ctx;a!==void 0&&(o=o.slice(),o[a]=s);const l=i&&(t.current=i)(o);let c=!1;t.block&&(t.blocks?t.blocks.forEach((d,D)=>{D!==u&&d&&(ut(),_(d,1,1,()=>{t.blocks[D]===d&&(t.blocks[D]=null)}),at())}):t.block.d(1),l.c(),v(l,1),l.m(t.mount(),t.anchor),c=!0),t.block=l,t.blocks&&(t.blocks[u]=l),c&&Ou()}if($u(e)){const i=Iu();if(e.then(u=>{wt(i),r(t.then,1,t.value,u),wt(null)},u=>{if(wt(i),r(t.catch,2,t.error,u),wt(null),!t.hasCatch)throw u}),t.current!==t.pending)return r(t.pending,0),!0}else{if(t.current!==t.then)return r(t.then,1,t.value,e),!0;t.resolved=e}}function Zr(e,t,n){const r=t.slice(),{resolved:i}=e;e.current===e.then&&(r[e.value]=i),e.current===e.catch&&(r[e.error]=i),e.block.p(r,n)}function Zn(e){let t,n;return{c(){t=V("title"),n=se(e[1])},l(r){t=M(r,"title",{});var i=O(t);n=ae(i,e[1]),i.forEach(E)},m(r,i){w(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Xu(e){let t,n,r=e[1]&&Zn(e),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],u={};for(let a=0;a{n(5,t=Z(Z({},t),ge(l))),n(3,a=Fe(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=ge(t),[s,o,i,a,r]}class ea extends ye{constructor(t){super(),ve(this,t,Zu,Xu,Ee,{size:0,title:1})}}function er(e){let t,n;return{c(){t=V("title"),n=se(e[1])},l(r){t=M(r,"title",{});var i=O(t);n=ae(i,e[1]),i.forEach(E)},m(r,i){w(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function ta(e){let t,n,r,i=e[1]&&er(e),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],a={};for(let s=0;s{n(5,t=Z(Z({},t),ge(l))),n(3,a=Fe(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=ge(t),[s,o,i,a,r]}class ra extends ye{constructor(t){super(),ve(this,t,na,ta,Ee,{size:0,title:1})}}function tr(e){let t,n;return{c(){t=V("title"),n=se(e[1])},l(r){t=M(r,"title",{});var i=O(t);n=ae(i,e[1]),i.forEach(E)},m(r,i){w(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function ia(e){let t,n,r,i=e[1]&&tr(e),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],a={};for(let s=0;s{n(5,t=Z(Z({},t),ge(l))),n(3,a=Fe(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=ge(t),[s,o,i,a,r]}class nr extends ye{constructor(t){super(),ve(this,t,ua,ia,Ee,{size:0,title:1})}}function rr(e){let t,n;return{c(){t=V("title"),n=se(e[1])},l(r){t=M(r,"title",{});var i=O(t);n=ae(i,e[1]),i.forEach(E)},m(r,i){w(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function aa(e){let t,n,r,i,u=e[1]&&rr(e),a=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],s={};for(let o=0;o{n(5,t=Z(Z({},t),ge(l))),n(3,a=Fe(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=ge(t),[s,o,i,a,r]}class ir extends ye{constructor(t){super(),ve(this,t,sa,aa,Ee,{size:0,title:1})}}function ur(e){let t,n;return{c(){t=V("title"),n=se(e[1])},l(r){t=M(r,"title",{});var i=O(t);n=ae(i,e[1]),i.forEach(E)},m(r,i){w(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function oa(e){let t,n,r=e[1]&&ur(e),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],u={};for(let a=0;a{n(5,t=Z(Z({},t),ge(l))),n(3,a=Fe(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=ge(t),[s,o,i,a,r]}class ca extends ye{constructor(t){super(),ve(this,t,la,oa,Ee,{size:0,title:1})}}function ar(e){let t,n;return t=new ju({props:{hideCloseButton:!0,lowContrast:!0,kind:"warning",$$slots:{default:[Da]},$$scope:{ctx:e}}}),{c(){$(t.$$.fragment)},l(r){B(t.$$.fragment,r)},m(r,i){S(t,r,i),n=!0},p(r,i){const u={};i&3&&(u.$$scope={dirty:i,ctx:r}),t.$set(u)},i(r){n||(v(t.$$.fragment,r),n=!0)},o(r){_(t.$$.fragment,r),n=!1},d(r){T(t,r)}}}function Da(e){let t,n,r;return n=new Jr({props:{source:`**Deprecated**: ${String(e[0])}`}}),{c(){t=Ke("div"),$(n.$$.fragment)},l(i){t=Ge(i,"DIV",{});var u=O(t);B(n.$$.fragment,u),u.forEach(E)},m(i,u){w(i,t,u),S(n,t,null),r=!0},p(i,u){const a={};u&1&&(a.source=`**Deprecated**: ${String(i[0])}`),n.$set(a)},i(i){r||(v(n.$$.fragment,i),r=!0)},o(i){_(n.$$.fragment,i),r=!1},d(i){i&&E(t),T(n)}}}function fa(e){let t,n,r=e[0]&&ar(e);return{c(){r&&r.c(),t=Le()},l(i){r&&r.l(i),t=Le()},m(i,u){r&&r.m(i,u),w(i,t,u),n=!0},p(i,[u]){i[0]?r?(r.p(i,u),u&1&&v(r,1)):(r=ar(i),r.c(),v(r,1),r.m(t.parentNode,t)):r&&(ut(),_(r,1,1,()=>{r=null}),at())},i(i){n||(v(r),n=!0)},o(i){_(r),n=!1},d(i){i&&E(t),r&&r.d(i)}}}function pa(e,t,n){let{deprecationReason:r}=t;return e.$$set=i=>{"deprecationReason"in i&&n(0,r=i.deprecationReason)},[r]}class da extends ye{constructor(t){super(),ve(this,t,pa,fa,Ee,{deprecationReason:0})}}function ha(e){let t=re.capitalize(e[0].toLowerCase())+"",n;return{c(){n=se(t)},l(r){n=ae(r,t)},m(r,i){w(r,n,i)},p(r,i){i&1&&t!==(t=re.capitalize(r[0].toLowerCase())+"")&&Pe(n,t)},d(r){r&&E(n)}}}function ma(e){let t,n;return t=new Mu({props:{type:"green",$$slots:{default:[ha]},$$scope:{ctx:e}}}),{c(){$(t.$$.fragment)},l(r){B(t.$$.fragment,r)},m(r,i){S(t,r,i),n=!0},p(r,[i]){const u={};i&3&&(u.$$scope={dirty:i,ctx:r}),t.$set(u)},i(r){n||(v(t.$$.fragment,r),n=!0)},o(r){_(t.$$.fragment,r),n=!1},d(r){T(t,r)}}}function Fa(e,t,n){let{type:r}=t;return e.$$set=i=>{"type"in i&&n(0,r=i.type)},[r]}class ga extends ye{constructor(t){super(),ve(this,t,Fa,ma,Ee,{type:0})}}var X;(function(e){e.NEVER_NULL="never",e.ALWAYS_NULL="always",e.SOMETIMES_NULL="sometimes"})(X||(X={}));class ei extends Error{constructor(n,r){super(r);ee(this,"type");this.type=n}}var Ea=Object.defineProperty,ti=(e,t)=>{for(var n in t)Ea(e,n,{get:t[n],enumerable:!0})},ni={};ti(ni,{languages:()=>is,options:()=>ss,parsers:()=>pi,printers:()=>Ks});var ya=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},sn=ya,va="indent",Ca="group",ba="if-break",$n="line",_a="break-parent",ri=()=>{},yt=ri,ii=ri;function te(e){return yt(),{type:va,contents:e}}function oe(e,t={}){return yt(),ii(t.expandedStates),{type:Ca,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function de(e,t="",n={}){return yt(),t!==""&&yt(),{type:ba,breakContents:e,flatContents:t,groupId:n.groupId}}var Aa={type:_a},ka={type:$n,hard:!0},st={type:$n},R={type:$n,soft:!0},P=[ka,Aa];function Y(e,t){yt(),ii();let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:u}=t,a=n;for(;a>=0&&a0}var si=Pa,ja=class extends Error{constructor(n,r,i="type"){super(`Unexpected ${r} node ${i}: ${JSON.stringify(n[i])}.`);ee(this,"name","UnexpectedNodeError");this.node=n}},Ma=ja,pt=null;function mt(e){if(pt!==null&&typeof pt.property){let t=pt;return pt=mt.prototype=null,t}return pt=mt.prototype=e??Object.create(null),new mt}var Va=10;for(let e=0;e<=Va;e++)mt();function Ua(e){return mt(e)}function qa(e,t="type"){Ua(e);function n(r){let i=r[t],u=e[i];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return u}return n}var za=qa,Ga=class{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},oi=class{constructor(t,n,r,i,u,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=u,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},li={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};new Set(Object.keys(li));var Ze;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Ze||(Ze={}));var Ka=za(li,"kind"),Ya=Ka;function ci(e){return e.loc.start}function Di(e){return e.loc.end}function Ja(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u.test(e)}function Wa(e){return`# @format - -`+e}function Ha(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(st):i.push(P),i}var _e=Ha;function Qa(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...Y(P,pe(e,t,n,"definitions")),P];case"OperationDefinition":{let i=t.originalText[ci(r)]!=="{",u=!!r.name;return[i?r.operation:"",i&&u?[" ",n("name")]:"",i&&!u&&si(r.variableDefinitions)?" ":"",sr(e,n),H(e,n,r),!i&&!u?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),sr(e,n)," on ",n("typeCondition"),H(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",te([P,Y(P,pe(e,t,n,"selections"))]),P,"}"];case"Field":return oe([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?oe(["(",te([R,Y([de("",", "),R],pe(e,t,n,"arguments"))]),R,")"]):"",H(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=sn(!1,r.value,'"""',String.raw`\"""`).split(` -`);return i.length===1&&(i[0]=i[0].trim()),i.every(u=>u==="")&&(i.length=0),Y(P,['"""',...i,'"""'])}return['"',sn(!1,sn(!1,r.value,/["\\]/gu,String.raw`\$&`),` -`,String.raw`\n`),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return oe(["[",te([R,Y([de("",", "),R],e.map(n,"values"))]),R,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return oe(["{",i,te([R,Y([de("",", "),R],e.map(n,"fields"))]),R,de("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?oe(["(",te([R,Y([de("",", "),R],pe(e,t,n,"arguments"))]),R,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",H(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,u=[];return i.endsWith("TypeDefinition")?u.push(_e(e,t,n)):u.push("extend "),i.startsWith("ObjectType")?u.push("type"):i.startsWith("InputObjectType")?u.push("input"):u.push("interface"),u.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&u.push(" implements ",...es(e,t,n)),u.push(H(e,n,r)),r.fields.length>0&&u.push([" {",te([P,Y(P,pe(e,t,n,"fields"))]),P,"}"]),u}case"FieldDefinition":return[_e(e,t,n),n("name"),r.arguments.length>0?oe(["(",te([R,Y([de("",", "),R],pe(e,t,n,"arguments"))]),R,")"]):"",": ",n("type"),H(e,n,r)];case"DirectiveDefinition":return[_e(e,t,n),"directive ","@",n("name"),r.arguments.length>0?oe(["(",te([R,Y([de("",", "),R],pe(e,t,n,"arguments"))]),R,")"]):"",r.repeatable?" repeatable":""," on ",...Y(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[_e(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),H(e,n,r),r.values.length>0?[" {",te([P,Y(P,pe(e,t,n,"values"))]),P,"}"]:""];case"EnumValueDefinition":return[_e(e,t,n),n("name"),H(e,n,r)];case"InputValueDefinition":return[_e(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",H(e,n,r)];case"SchemaExtension":return["extend schema",H(e,n,r),...r.operationTypes.length>0?[" {",te([P,Y(P,pe(e,t,n,"operationTypes"))]),P,"}"]:[]];case"SchemaDefinition":return[_e(e,t,n),"schema",H(e,n,r)," {",r.operationTypes.length>0?te([P,Y(P,pe(e,t,n,"operationTypes"))]):"",P,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),H(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",H(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return oe([_e(e,t,n),oe([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),H(e,n,r),r.types.length>0?[" =",de(""," "),te([de([st,"| "]),Y([st,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[_e(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),H(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Ma(r,"Graphql","kind")}}function H(e,t,n){if(n.directives.length===0)return"";let r=Y(st,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?oe([st,r]):[" ",oe(te([R,r]))]}function pe(e,t,n,r){return e.map(({isLast:i,node:u})=>{let a=n();return!i&&Ra(t.originalText,Di(u))?[a,P]:a},r)}function Xa(e){return e.kind!=="Comment"}function Za(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function es(e,t,n){let{node:r}=e,i=[],{interfaces:u}=r,a=e.map(n,"interfaces");for(let s=0;sr.value.trim()==="prettier-ignore")}var ns={print:Qa,massageAstNode:fi,hasPrettierIgnore:ts,insertPragma:Wa,printComment:Za,canAttachComment:Xa,getVisitorKeys:Ya},rs=ns,is=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}],us={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."}},as={bracketSpacing:us.bracketSpacing},ss=as,pi={};ti(pi,{graphql:()=>Gs});function os(e){return typeof e=="object"&&e!==null}function ls(e,t){throw new Error("Unexpected invariant triggered.")}var cs=/\r\n|[\n\r]/g;function gn(e,t){let n=0,r=1;for(let i of e.body.matchAll(cs)){if(typeof i.index=="number"||ls(),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function Ds(e){return di(e.source,gn(e.source,e.start))}function di(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,u=e.locationOffset.line-1,a=t.line+u,s=t.line===1?n:0,o=t.column+s,l=`${e.name}:${a}:${o} -`,c=r.split(/\r\n|[\n\r]/g),d=c[i];if(d.length>120){let D=Math.floor(o/80),p=o%80,f=[];for(let h=0;h["|",h]),["|","^".padStart(p)],["|",f[D+1]]])}return l+or([[`${a-1} |`,c[i-1]],[`${a} |`,d],["|","^".padStart(o)],[`${a+1} |`,c[i+1]]])}function or(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` -`)}function fs(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var ps=class hi extends Error{constructor(t,...n){var r,i,u;let{nodes:a,source:s,positions:o,path:l,originalError:c,extensions:d}=fs(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=c??void 0,this.nodes=lr(Array.isArray(a)?a:a?[a]:void 0);let D=lr((r=this.nodes)===null||r===void 0?void 0:r.map(f=>f.loc).filter(f=>f!=null));this.source=s??(D==null||(i=D[0])===null||i===void 0?void 0:i.source),this.positions=o??(D==null?void 0:D.map(f=>f.start)),this.locations=o&&s?o.map(f=>gn(s,f)):D==null?void 0:D.map(f=>gn(f.source,f.start));let p=os(c==null?void 0:c.extensions)?c==null?void 0:c.extensions:void 0;this.extensions=(u=d??p)!==null&&u!==void 0?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),c!=null&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,hi):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` - -`+Ds(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` - -`+di(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function lr(e){return e===void 0||e.length===0?void 0:e}function q(e,t,n){return new ps(`Syntax Error: ${n}`,{source:e,positions:[t]})}var En;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(En||(En={}));var y;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(y||(y={}));function ds(e){return e===9||e===32}function vt(e){return e>=48&&e<=57}function mi(e){return e>=97&&e<=122||e>=65&&e<=90}function Fi(e){return mi(e)||e===95}function hs(e){return mi(e)||vt(e)||e===95}function ms(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;as===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function Fs(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function zt(e,t){return gi(e.charCodeAt(t))&&Ei(e.charCodeAt(t+1))}function gi(e){return e>=55296&&e<=56319}function Ei(e){return e>=56320&&e<=57343}function Je(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return m.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function j(e,t,n,r,i){let u=e.line,a=1+n-e.lineStart;return new oi(t,n,r,u,a,i)}function ys(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function ks(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` -`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw q(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Ns(e,t){let n=e.source.body,r=n.length,i=e.lineStart,u=t+3,a=u,s="",o=[];for(;u2?"["+Is(e)+"]":"{ "+n.map(([r,i])=>r+": "+Gt(i,t)).join(", ")+" }"}function $s(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let u=0;u1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Is(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var Os=globalThis.process&&!0,xs=Os?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e=="object"&&e!==null){var n;let r=t.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(r===i){let u=yi(e);throw new Error(`Cannot use ${r} "${u}" from another module or realm. - -Ensure that there is only one instance of "graphql" in the node_modules -directory. If different versions of "graphql" are the dependencies of other -relied on modules, use "resolutions" to ensure only one version is installed. - -https://yarnpkg.com/en/docs/selective-version-resolutions - -Duplicate "graphql" modules cannot be used at the same time since different -versions may have different capabilities and behavior. The data from one -version used in the function from another could produce confusing and -spurious results.`)}}return!1},vi=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||ln(!1,`Body must be a string. Received: ${yi(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||ln(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ln(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Ls(e){return xs(e,vi)}function Rs(e,t){return new Ps(e,t).parseDocument()}var Ps=class{constructor(t,n={}){let r=Ls(t)?t:new vi(t);this._lexer=new gs(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(m.NAME);return this.node(t,{kind:y.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF)})}parseDefinition(){if(this.peek(m.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===m.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw q(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(m.BRACE_L))return this.node(t,{kind:y.OPERATION_DEFINITION,operation:Ze.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(m.NAME)&&(r=this.parseName()),this.node(t,{kind:y.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(m.NAME);switch(t.value){case"query":return Ze.QUERY;case"mutation":return Ze.MUTATION;case"subscription":return Ze.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(m.DOLLAR),this.node(t,{kind:y.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R)})}parseSelection(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(m.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:y.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,n,m.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:y.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(m.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(m.NAME)?this.node(t,{kind:y.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:y.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:y.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:y.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case m.BRACKET_L:return this.parseList(t);case m.BRACE_L:return this.parseObject(t);case m.INT:return this.advanceLexer(),this.node(n,{kind:y.INT,value:n.value});case m.FLOAT:return this.advanceLexer(),this.node(n,{kind:y.FLOAT,value:n.value});case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:y.BOOLEAN,value:!0});case"false":return this.node(n,{kind:y.BOOLEAN,value:!1});case"null":return this.node(n,{kind:y.NULL});default:return this.node(n,{kind:y.ENUM,value:n.value})}case m.DOLLAR:if(t)if(this.expectToken(m.DOLLAR),this._lexer.token.kind===m.NAME){let r=this._lexer.token.value;throw q(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:y.STRING,value:t.value,block:t.kind===m.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:y.LIST,values:this.any(m.BRACKET_L,n,m.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:y.OBJECT,fields:this.any(m.BRACE_L,n,m.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:y.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(m.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(m.AT),this.node(n,{kind:y.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(m.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(m.BRACKET_R),n=this.node(t,{kind:y.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(m.BANG)?this.node(t,{kind:y.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:y.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return this.node(t,{kind:y.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(m.COLON);let r=this.parseNamedType();return this.node(t,{kind:y.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:y.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:y.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:u,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(m.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(m.COLON);let u=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:y.FIELD_DEFINITION,description:n,name:r,arguments:i,type:u,directives:a})}parseArgumentDefs(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(m.COLON);let i=this.parseTypeReference(),u;this.expectOptionalToken(m.EQUALS)&&(u=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:y.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:u,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:y.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:u,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseUnionMemberTypes();return this.node(t,{kind:y.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:u})}parseUnionMemberTypes(){return this.expectOptionalToken(m.EQUALS)?this.delimitedMany(m.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseEnumValuesDefinition();return this.node(t,{kind:y.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:u})}parseEnumValuesDefinition(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:y.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw q(this._lexer.source,this._lexer.token.start,`${St(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseInputFieldsDefinition();return this.node(t,{kind:y.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:u})}parseInputFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===m.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:y.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:y.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:y.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:u})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:y.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:u})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:y.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:y.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:y.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(m.AT);let r=this.parseName(),i=this.parseArgumentDefs(),u=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:y.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:u,locations:a})}parseDirectiveLocations(){return this.delimitedMany(m.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(En,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new Ga(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw q(this._lexer.source,n.start,`Expected ${Ci(t)}, found ${St(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===m.NAME&&n.value===t)this.advanceLexer();else throw q(this._lexer.source,n.start,`Expected "${t}", found ${St(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===m.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return q(this._lexer.source,n.start,`Unexpected ${St(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==m.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw q(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function St(e){let t=e.value;return Ci(e.kind)+(t!=null?` "${t}"`:"")}function Ci(e){return Es(e)?`"${e}"`:e}function js(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var Ms=js;function Vs(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var Us={allowLegacyFragmentVariables:!0};function qs(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return Ms(t,{loc:{start:n},cause:e})}return e}function zs(e){let t;try{t=Rs(e,Us)}catch(n){throw qs(n)}return t.comments=Vs(t),t}var Gs={parse:zs,astFormat:"graphql",hasPragma:Ja,locStart:ci,locEnd:Di},Ks={graphql:rs},Ys=ni,Js=Object.create,Kt=Object.defineProperty,Ws=Object.getOwnPropertyDescriptor,Hs=Object.getOwnPropertyNames,Qs=Object.getPrototypeOf,Xs=Object.prototype.hasOwnProperty,bi=e=>{throw TypeError(e)},Zs=(e,t)=>()=>(e&&(t=e(e=0)),t),On=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Yt=(e,t)=>{for(var n in t)Kt(e,n,{get:t[n],enumerable:!0})},_i=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Hs(t))!Xs.call(e,i)&&i!==n&&Kt(e,i,{get:()=>t[i],enumerable:!(r=Ws(t,i))||r.enumerable});return e},Jt=(e,t,n)=>(n=e!=null?Js(Qs(e)):{},_i(Kt(n,"default",{value:e,enumerable:!0}),e)),eo=e=>_i(Kt({},"__esModule",{value:!0}),e),to=(e,t,n)=>t.has(e)||bi("Cannot "+n),no=(e,t,n)=>t.has(e)?bi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),dt=(e,t,n)=>(to(e,t,"access private method"),n),xn=On((e,t)=>{var n=new Proxy(String,{get:()=>n});t.exports=n}),Ai={};Yt(Ai,{default:()=>Ni,shouldHighlight:()=>ki});var ki,Ni,ro=Zs(()=>{ki=()=>!1,Ni=String}),io=On((e,t)=>{var n=String,r=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n}};t.exports=r(),t.exports.createColors=r}),uo=On(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=p,e.default=f;var t=(ro(),eo(Ai)),n=i(io(),!0);function r(h){if(typeof WeakMap!="function")return null;var F=new WeakMap,g=new WeakMap;return(r=function(A){return A?g:F})(h)}function i(h,F){if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var g=r(F);if(g&&g.has(h))return g.get(h);var A={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var C in h)if(C!=="default"&&{}.hasOwnProperty.call(h,C)){var N=b?Object.getOwnPropertyDescriptor(h,C):null;N&&(N.get||N.set)?Object.defineProperty(A,C,N):A[C]=h[C]}return A.default=h,g&&g.set(h,A),A}var u=n.default,a=(h,F)=>g=>h(F(g)),s;function o(h){return h?(s!=null||(s=(0,n.createColors)(!0)),s):u}var l=!1;function c(h){return{gutter:h.gray,marker:a(h.red,h.bold),message:a(h.red,h.bold)}}var d=/\r\n|[\n\r\u2028\u2029]/;function D(h,F,g){let A=Object.assign({column:0,line:-1},h.start),b=Object.assign({},A,h.end),{linesAbove:C=2,linesBelow:N=3}=g||{},L=A.line,x=A.column,K=b.line,ce=b.column,kt=Math.max(L-(C+1),0),ft=Math.min(F.length,K+N);L===-1&&(kt=0),K===-1&&(ft=F.length);let Ie=K-L,W={};if(Ie)for(let De=0;De<=Ie;De++){let fe=De+L;if(!x)W[fe]=!0;else if(De===0){let Ve=F[fe-1].length;W[fe]=[x,Ve-x+1]}else if(De===Ie)W[fe]=[0,ce];else{let Ve=F[fe-De].length;W[fe]=[0,Ve]}}else x===ce?x?W[L]=[x,0]:W[L]=!0:W[L]=[x,ce-x];return{start:kt,end:ft,markerLines:W}}function p(h,F,g={}){let A=(g.highlightCode||g.forceColor)&&(0,t.shouldHighlight)(g),b=o(g.forceColor),C=c(b),N=(W,De)=>A?W(De):De,L=h.split(d),{start:x,end:K,markerLines:ce}=D(F,L,g),kt=F.start&&typeof F.start.column=="number",ft=String(K).length,Ie=(A?(0,t.default)(h,g):h).split(d,K).slice(x,K).map((W,De)=>{let fe=x+1+De,Ve=` ${` ${fe}`.slice(-ft)} |`,Nt=ce[fe],Nu=!ce[fe+1];if(Nt){let nn="";if(Array.isArray(Nt)){let wu=W.slice(0,Math.max(Nt[0]-1,0)).replace(/[^\t]/g," "),Tu=Nt[1]||1;nn=[` - `,N(C.gutter,Ve.replace(/\d/g," "))," ",wu,N(C.marker,"^").repeat(Tu)].join(""),Nu&&g.message&&(nn+=" "+N(C.message,g.message))}return[N(C.marker,">"),N(C.gutter,Ve),W.length>0?` ${W}`:"",nn].join("")}else return` ${N(C.gutter,Ve)}${W.length>0?` ${W}`:""}`}).join(` -`);return g.message&&!kt&&(Ie=`${" ".repeat(ft+1)}${g.message} -${Ie}`),A?b.reset(Ie):Ie}function f(h,F,g,A={}){if(!l){l=!0;let b="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let C=new Error(b);C.name="DeprecationWarning",console.warn(new Error(b))}}return g=Math.max(g,0),p(h,{start:{column:g,line:F}},A)}}),wi={};Yt(wi,{__debug:()=>oD,check:()=>aD,doc:()=>mu,format:()=>Eu,formatWithCursor:()=>gu,getSupportInfo:()=>sD,util:()=>Fu,version:()=>Lc});var ao=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Wt=ao;function je(){}je.prototype={diff:function(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.callback;typeof r=="function"&&(i=r,r={}),this.options=r;var u=this;function a(b){return i?(setTimeout(function(){i(void 0,b)},0),!0):b}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var s=t.length,o=e.length,l=1,c=s+o;r.maxEditLength&&(c=Math.min(c,r.maxEditLength));var d=(n=r.timeout)!==null&&n!==void 0?n:1/0,D=Date.now()+d,p=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(p[0],t,e,0);if(p[0].oldPos+1>=o&&f+1>=s)return a([{value:this.join(t),count:t.length}]);var h=-1/0,F=1/0;function g(){for(var b=Math.max(h,-l);b<=Math.min(F,l);b+=2){var C=void 0,N=p[b-1],L=p[b+1];N&&(p[b-1]=void 0);var x=!1;if(L){var K=L.oldPos-b;x=L&&0<=K&&K=o&&f+1>=s)return a(so(u,C.lastComponent,t,e,u.useLongestToken));p[b]=C,C.oldPos+1>=o&&(F=Math.min(F,b-1)),f+1>=s&&(h=Math.max(h,b+1))}l++}if(i)(function b(){setTimeout(function(){if(l>c||Date.now()>D)return i();g()||b()},0)})();else for(;l<=c&&Date.now()<=D;){var A=g();if(A)return A}},addToPath:function(e,t,n,r){var i=e.lastComponent;return i&&i.added===t&&i.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:i.count+1,added:t,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:i}}},extractCommon:function(e,t,n,r){for(var i=t.length,u=n.length,a=e.oldPos,s=a-r,o=0;s+1h.length?g:h}),d.value=e.join(p)}else d.value=e.join(n.slice(l,l+d.count));l+=d.count,d.added||(c+=d.count)}}var f=u[o-1];return o>1&&typeof f.value=="string"&&(f.added||f.removed)&&e.equals("",f.value)&&(u[o-2].value+=f.value,u.pop()),u}var Dr=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,fr=/\S/,Ti=new je;Ti.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!fr.test(e)&&!fr.test(t)};Ti.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n"u"?n:a}:r;return typeof e=="string"?e:JSON.stringify(yn(e,null,null,i),i," ")};Ct.equals=function(e,t){return je.prototype.equals.call(Ct,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};function yn(e,t,n,r,i){t=t||[],n=n||[],r&&(e=r(i,e));var u;for(u=0;u=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function Ln(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function Bi(e,t){let n;switch(t){case` -`:n=/\n/gu;break;case"\r":n=/\r/gu;break;case`\r -`:n=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(n);return r?r.length:0}function po(e){return Wt(!1,e,/\r\n?/gu,` -`)}var He="string",ke="array",Qe="cursor",Ne="indent",we="align",Te="trim",ie="group",Ce="fill",ue="if-break",Se="indent-if-break",Be="line-suffix",$e="line-suffix-boundary",J="line",be="label",le="break-parent",$i=new Set([Qe,Ne,we,Te,ie,Ce,ue,Se,Be,$e,J,be,le]);function ho(e){if(typeof e=="string")return He;if(Array.isArray(e))return ke;if(!e)return;let{type:t}=e;if($i.has(t))return t}var Xe=ho,mo=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function Fo(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(Xe(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=mo([...$i].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${r}.`}var go=class extends Error{constructor(t){super(Fo(t));ee(this,"name","InvalidDocError");this.doc=t}},ot=go,pr={};function Eo(e,t,n,r){let i=[e];for(;i.length>0;){let u=i.pop();if(u===pr){n(i.pop());continue}n&&i.push(u,pr);let a=Xe(u);if(!a)throw new ot(u);if((t==null?void 0:t(u))!==!1)switch(a){case ke:case Ce:{let s=a===ke?u:u.parts;for(let o=s.length,l=o-1;l>=0;--l)i.push(s[l]);break}case ue:i.push(u.flatContents,u.breakContents);break;case ie:if(r&&u.expandedStates)for(let s=u.expandedStates.length,o=s-1;o>=0;--o)i.push(u.expandedStates[o]);else i.push(u.contents);break;case we:case Ne:case Se:case be:case Be:i.push(u.contents);break;case He:case Qe:case Te:case $e:case J:case le:break;default:throw new ot(u)}}}var Rn=Eo,Ii=()=>{},Ht=Ii,Oi=Ii;function Mt(e){return Ht(),{type:Ne,contents:e}}function lt(e,t){return Ht(),{type:we,contents:t,n:e}}function xi(e,t={}){return Oi(t.expandedStates),{type:ie,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function yo(e){return lt(Number.NEGATIVE_INFINITY,e)}function vo(e){return lt({type:"root"},e)}function Co(e){return lt(-1,e)}function bo(e,t){return xi(e[0],{...t,expandedStates:e})}function Li(e){return Oi(),{type:Ce,parts:e}}function _o(e,t="",n={}){return{type:ue,breakContents:e,flatContents:t,groupId:n.groupId}}function Ao(e,t){return{type:Se,contents:e,groupId:t.groupId,negate:t.negate}}function vn(e){return Ht(),{type:Be,contents:e}}var ko={type:$e},Qt={type:le},No={type:Te},Pn={type:J,hard:!0},Ri={type:J,hard:!0,literal:!0},Pi={type:J},wo={type:J,soft:!0},Ye=[Pn,Qt],ji=[Ri,Qt],Cn={type:Qe};function Mi(e,t){let n=[];for(let r=0;r0){for(let i=0;i0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${r(u.contents)}${d})`}if(u.type===ie){let c=[];u.break&&u.break!=="propagated"&&c.push("shouldBreak: true"),u.id&&c.push(`id: ${i(u.id)}`);let d=c.length>0?`, { ${c.join(", ")} }`:"";return u.expandedStates?`conditionalGroup([${u.expandedStates.map(D=>r(D)).join(",")}]${d})`:`group(${r(u.contents)}${d})`}if(u.type===Ce)return`fill([${u.parts.map(c=>r(c)).join(", ")}])`;if(u.type===Be)return"lineSuffix("+r(u.contents)+")";if(u.type===$e)return"lineSuffixBoundary";if(u.type===be)return`label(${JSON.stringify(u.label)}, ${r(u.contents)})`;throw new Error("Unknown doc type "+u.type)}function i(u){if(typeof u!="symbol")return JSON.stringify(String(u));if(u in t)return t[u];let a=u.description||"symbol";for(let s=0;;s++){let o=a+(s>0?` #${s}`:"");if(!n.has(o))return n.add(o),t[u]=`Symbol.for(${JSON.stringify(o)})`}}}var Bo=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},U=Bo,$o=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Io(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Oo(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var xo=e=>!(Io(e)||Oo(e)),Lo=/[^\x20-\x7F]/u;function Ro(e){if(!e)return 0;if(!Lo.test(e))return e.length;e=e.replace($o()," ");let t=0;for(let n of e){let r=n.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||(t+=xo(r)?1:2)}return t}var jn=Ro;function Xt(e,t){if(typeof e=="string")return t(e);let n=new Map;return r(e);function r(u){if(n.has(u))return n.get(u);let a=i(u);return n.set(u,a),a}function i(u){switch(Xe(u)){case ke:return t(u.map(r));case Ce:return t({...u,parts:u.parts.map(r)});case ue:return t({...u,breakContents:r(u.breakContents),flatContents:r(u.flatContents)});case ie:{let{expandedStates:a,contents:s}=u;return a?(a=a.map(r),s=a[0]):s=r(s),t({...u,contents:s,expandedStates:a})}case we:case Ne:case Se:case be:case Be:return t({...u,contents:r(u.contents)});case He:case Qe:case Te:case $e:case J:case le:return t(u);default:throw new ot(u)}}}function Mn(e,t,n){let r=n,i=!1;function u(a){if(i)return!1;let s=t(a);s!==void 0&&(i=!0,r=s)}return Rn(e,u),r}function Po(e){if(e.type===ie&&e.break||e.type===J&&e.hard||e.type===le)return!0}function jo(e){return Mn(e,Po,!1)}function dr(e){if(e.length>0){let t=U(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Mo(e){let t=new Set,n=[];function r(u){if(u.type===le&&dr(n),u.type===ie){if(n.push(u),t.has(u))return!1;t.add(u)}}function i(u){u.type===ie&&n.pop().break&&dr(n)}Rn(e,r,i,!0)}function Vo(e){return e.type===J&&!e.hard?e.soft?"":" ":e.type===ue?e.flatContents:e}function Uo(e){return Xt(e,Vo)}function hr(e){for(e=[...e];e.length>=2&&U(!1,e,-2).type===J&&U(!1,e,-1).type===le;)e.length-=2;if(e.length>0){let t=Ft(U(!1,e,-1));e[e.length-1]=t}return e}function Ft(e){switch(Xe(e)){case Ne:case Se:case ie:case Be:case be:{let t=Ft(e.contents);return{...e,contents:t}}case ue:return{...e,breakContents:Ft(e.breakContents),flatContents:Ft(e.flatContents)};case Ce:return{...e,parts:hr(e.parts)};case ke:return hr(e);case He:return e.replace(/[\n\r]*$/u,"");case we:case Qe:case Te:case $e:case J:case le:break;default:throw new ot(e)}return e}function Ui(e){return Ft(zo(e))}function qo(e){switch(Xe(e)){case Ce:if(e.parts.every(t=>t===""))return"";break;case ie:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ie&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case we:case Ne:case Se:case Be:if(!e.contents)return"";break;case ue:if(!e.flatContents&&!e.breakContents)return"";break;case ke:{let t=[];for(let n of e){if(!n)continue;let[r,...i]=Array.isArray(n)?n:[n];typeof r=="string"&&typeof U(!1,t,-1)=="string"?t[t.length-1]+=r:t.push(r),t.push(...i)}return t.length===0?"":t.length===1?t[0]:t}case He:case Qe:case Te:case $e:case J:case be:case le:break;default:throw new ot(e)}return e}function zo(e){return Xt(e,t=>qo(t))}function Go(e,t=ji){return Xt(e,n=>typeof n=="string"?Mi(t,n.split(` -`)):n)}function Ko(e){if(e.type===J)return!0}function Yo(e){return Mn(e,Ko,!1)}function qi(e,t){return e.type===be?{...e,contents:t(e.contents)}:t(e)}var ne=Symbol("MODE_BREAK"),he=Symbol("MODE_FLAT"),gt=Symbol("cursor");function zi(){return{value:"",length:0,queue:[]}}function Jo(e,t){return bn(e,{type:"indent"},t)}function Wo(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||zi():t<0?bn(e,{type:"dedent"},n):t?t.type==="root"?{...e,root:e}:bn(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},n):e}function bn(e,t,n){let r=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],i="",u=0,a=0,s=0;for(let f of r)switch(f.type){case"indent":c(),n.useTabs?o(1):l(n.tabWidth);break;case"stringAlign":c(),i+=f.n,u+=f.n.length;break;case"numberAlign":a+=1,s+=f.n;break;default:throw new Error(`Unexpected type '${f.type}'`)}return D(),{...e,value:i,length:u,queue:r};function o(f){i+=" ".repeat(f),u+=n.tabWidth*f}function l(f){i+=" ".repeat(f),u+=f}function c(){n.useTabs?d():D()}function d(){a>0&&o(a),p()}function D(){s>0&&l(s),p()}function p(){a=0,s=0}}function _n(e){let t=0,n=0,r=e.length;e:for(;r--;){let i=e[r];if(i===gt){n++;continue}for(let u=i.length-1;u>=0;u--){let a=i[u];if(a===" "||a===" ")t++;else{e[r]=i.slice(0,u+1);break e}}}if(t>0||n>0)for(e.length=r+1;n-- >0;)e.push(gt);return t}function Bt(e,t,n,r,i,u){if(n===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;n>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:c}=s.pop(),d=Xe(c);switch(d){case He:o.push(c),n-=jn(c);break;case ke:case Ce:{let D=d===ke?c:c.parts;for(let p=D.length-1;p>=0;p--)s.push({mode:l,doc:D[p]});break}case Ne:case we:case Se:case be:s.push({mode:l,doc:c.contents});break;case Te:n+=_n(o);break;case ie:{if(u&&c.break)return!1;let D=c.break?ne:l,p=c.expandedStates&&D===ne?U(!1,c.expandedStates,-1):c.contents;s.push({mode:D,doc:p});break}case ue:{let D=(c.groupId?i[c.groupId]||he:l)===ne?c.breakContents:c.flatContents;D&&s.push({mode:l,doc:D});break}case J:if(l===ne||c.hard)return!0;c.soft||(o.push(" "),n--);break;case Be:r=!0;break;case $e:if(r)return!1;break}}return!1}function Zt(e,t){let n={},r=t.printWidth,i=Ln(t.endOfLine),u=0,a=[{ind:zi(),mode:ne,doc:e}],s=[],o=!1,l=[],c=0;for(Mo(e);a.length>0;){let{ind:D,mode:p,doc:f}=a.pop();switch(Xe(f)){case He:{let h=i!==` -`?Wt(!1,f,` -`,i):f;s.push(h),a.length>0&&(u+=jn(h));break}case ke:for(let h=f.length-1;h>=0;h--)a.push({ind:D,mode:p,doc:f[h]});break;case Qe:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(gt),c++;break;case Ne:a.push({ind:Jo(D,t),mode:p,doc:f.contents});break;case we:a.push({ind:Wo(D,f.n,t),mode:p,doc:f.contents});break;case Te:u-=_n(s);break;case ie:switch(p){case he:if(!o){a.push({ind:D,mode:f.break?ne:he,doc:f.contents});break}case ne:{o=!1;let h={ind:D,mode:he,doc:f.contents},F=r-u,g=l.length>0;if(!f.break&&Bt(h,a,F,g,n))a.push(h);else if(f.expandedStates){let A=U(!1,f.expandedStates,-1);if(f.break){a.push({ind:D,mode:ne,doc:A});break}else for(let b=1;b=f.expandedStates.length){a.push({ind:D,mode:ne,doc:A});break}else{let C=f.expandedStates[b],N={ind:D,mode:he,doc:C};if(Bt(N,a,F,g,n)){a.push(N);break}}}else a.push({ind:D,mode:ne,doc:f.contents});break}}f.id&&(n[f.id]=U(!1,a,-1).mode);break;case Ce:{let h=r-u,{parts:F}=f;if(F.length===0)break;let[g,A]=F,b={ind:D,mode:he,doc:g},C={ind:D,mode:ne,doc:g},N=Bt(b,[],h,l.length>0,n,!0);if(F.length===1){N?a.push(b):a.push(C);break}let L={ind:D,mode:he,doc:A},x={ind:D,mode:ne,doc:A};if(F.length===2){N?a.push(L,b):a.push(x,C);break}F.splice(0,2);let K={ind:D,mode:p,doc:Li(F)},ce=F[0];Bt({ind:D,mode:he,doc:[g,A,ce]},[],h,l.length>0,n,!0)?a.push(K,L,b):N?a.push(K,x,b):a.push(K,x,C);break}case ue:case Se:{let h=f.groupId?n[f.groupId]:p;if(h===ne){let F=f.type===ue?f.breakContents:f.negate?f.contents:Mt(f.contents);F&&a.push({ind:D,mode:p,doc:F})}if(h===he){let F=f.type===ue?f.flatContents:f.negate?Mt(f.contents):f.contents;F&&a.push({ind:D,mode:p,doc:F})}break}case Be:l.push({ind:D,mode:p,doc:f.contents});break;case $e:l.length>0&&a.push({ind:D,mode:p,doc:Pn});break;case J:switch(p){case he:if(f.hard)o=!0;else{f.soft||(s.push(" "),u+=1);break}case ne:if(l.length>0){a.push({ind:D,mode:p,doc:f},...l.reverse()),l.length=0;break}f.literal?D.root?(s.push(i,D.root.value),u=D.root.length):(s.push(i),u=0):(u-=_n(s),s.push(i+D.value),u=D.length);break}break;case be:a.push({ind:D,mode:p,doc:f.contents});break;case le:break;default:throw new ot(f)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let d=s.indexOf(gt);if(d!==-1){let D=s.indexOf(gt,d+1),p=s.slice(0,d).join(""),f=s.slice(d+1,D).join(""),h=s.slice(D+1).join("");return{formatted:p+f+h,cursorNodeStart:p.length,cursorNodeText:f}}return{formatted:s.join("")}}function Ho(e,t,n=0){let r=0;for(let i=n;i1?U(!1,e,-2):null}getValue(){return U(!1,this.stack,-1)}getNode(e=0){let t=dt(this,Ue,An).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:n}=this,{length:r}=n,i=U(!1,n,-1);for(let u of t)i=i[u],n.push(u,i);try{return e(this)}finally{n.length=r}}callParent(e,t=0){let n=dt(this,Ue,An).call(this,t+1),r=this.stack.splice(n+1);try{return e(this)}finally{this.stack.push(...r)}}each(e,...t){let{stack:n}=this,{length:r}=n,i=U(!1,n,-1);for(let u of t)i=i[u],n.push(u,i);try{for(let u=0;u{n[i]=e(r,i,u)},...t),n}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(let i of e){if(r===void 0)return!1;let u=null;if(typeof n=="number"&&(u=n,n=this.stack[t--],r=this.stack[t--]),i&&!i(r,n,u))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}findAncestor(e){for(let t of dt(this,Ue,Ot).call(this))if(e(t))return t}hasAncestor(e){for(let t of dt(this,Ue,Ot).call(this))if(e(t))return!0;return!1}};Ue=new WeakSet,An=function(e){let{stack:t}=this;for(let n=t.length-1;n>=0;n-=2)if(!Array.isArray(t[n])&&--e<0)return n;return-1},Ot=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let n=e[t];Array.isArray(n)||(yield n)}};var Xo=Qo,Gi=new Proxy(()=>{},{get:()=>Gi}),kn=Gi;function Zo(e){return e!==null&&typeof e=="object"}var el=Zo;function*Ki(e,t){let{getVisitorKeys:n,filter:r=()=>!0}=t,i=u=>el(u)&&r(u);for(let u of n(e)){let a=e[u];if(Array.isArray(a))for(let s of a)i(s)&&(yield s);else i(a)&&(yield a)}}function*tl(e,t){let n=[e];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:u}=t,a=n;for(;a>=0&&a0}var al=ul,Wi=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),sl=e=>Object.keys(e).filter(t=>!Wi.has(t));function ol(e){return e?t=>e(t,Wi):sl}var en=ol;function ll(e){let t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}function Un(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=ll(e)}function et(e,t){t.leading=!0,t.trailing=!1,Un(e,t)}function qe(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Un(e,t)}function tt(e,t){t.leading=!1,t.trailing=!0,Un(e,t)}var cn=new WeakMap;function qn(e,t){if(cn.has(e))return cn.get(e);let{printer:{getCommentChildNodes:n,canAttachComment:r,getVisitorKeys:i},locStart:u,locEnd:a}=t;if(!r)return[];let s=((n==null?void 0:n(e,t))??[...Ki(e,{getVisitorKeys:en(i)})]).flatMap(o=>r(o)?[o]:qn(o,t));return s.sort((o,l)=>u(o)-u(l)||a(o)-a(l)),cn.set(e,s),s}function Hi(e,t,n,r){let{locStart:i,locEnd:u}=n,a=i(t),s=u(t),o=qn(e,n),l,c,d=0,D=o.length;for(;d>1,f=o[p],h=i(f),F=u(f);if(h<=a&&s<=F)return Hi(f,t,n,f);if(F<=a){l=f,d=p+1;continue}if(s<=h){c=f,D=p;continue}throw new Error("Comment location overlaps with node location")}if((r==null?void 0:r.type)==="TemplateLiteral"){let{quasis:p}=r,f=fn(p,t,n);l&&fn(p,l,n)!==f&&(l=null),c&&fn(p,c,n)!==f&&(c=null)}return{enclosingNode:r,precedingNode:l,followingNode:c}}var Dn=()=>!1;function cl(e,t){let{comments:n}=e;if(delete e.comments,!al(n)||!t.printer.canAttachComment)return;let r=[],{locStart:i,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:a=!1}={},handleComments:s={}},originalText:o}=t,{ownLine:l=Dn,endOfLine:c=Dn,remaining:d=Dn}=s,D=n.map((p,f)=>({...Hi(e,p,t),comment:p,text:o,options:t,ast:e,isLastComment:n.length-1===f}));for(let[p,f]of D.entries()){let{comment:h,precedingNode:F,enclosingNode:g,followingNode:A,text:b,options:C,ast:N,isLastComment:L}=f;if(C.parser==="json"||C.parser==="json5"||C.parser==="jsonc"||C.parser==="__js_expression"||C.parser==="__ts_expression"||C.parser==="__vue_expression"||C.parser==="__vue_ts_expression"){if(i(h)-i(N)<=0){et(N,h);continue}if(u(h)-u(N)>=0){tt(N,h);continue}}let x;if(a?x=[f]:(h.enclosingNode=g,h.precedingNode=F,h.followingNode=A,x=[h,b,C,N,L]),Dl(b,C,D,p))h.placement="ownLine",l(...x)||(A?et(A,h):F?tt(F,h):qe(g||N,h));else if(fl(b,C,D,p))h.placement="endOfLine",c(...x)||(F?tt(F,h):A?et(A,h):qe(g||N,h));else if(h.placement="remaining",!d(...x))if(F&&A){let K=r.length;K>0&&r[K-1].followingNode!==A&&mr(r,C),r.push(f)}else F?tt(F,h):A?et(A,h):qe(g||N,h)}if(mr(r,t),!a)for(let p of n)delete p.precedingNode,delete p.enclosingNode,delete p.followingNode}var Qi=e=>!/[\S\n\u2028\u2029]/u.test(e);function Dl(e,t,n,r){let{comment:i,precedingNode:u}=n[r],{locStart:a,locEnd:s}=t,o=a(i);if(u)for(let l=r-1;l>=0;l--){let{comment:c,precedingNode:d}=n[l];if(d!==u||!Qi(e.slice(s(c),o)))break;o=a(c)}return xe(e,o,{backwards:!0})}function fl(e,t,n,r){let{comment:i,followingNode:u}=n[r],{locStart:a,locEnd:s}=t,o=s(i);if(u)for(let l=r+1;l0;--o){let{comment:l,precedingNode:c,followingNode:d}=e[o-1];kn.strictEqual(c,u),kn.strictEqual(d,a);let D=t.originalText.slice(t.locEnd(l),s);if(((r=(n=t.printer).isGap)==null?void 0:r.call(n,D,t))??/^[\s(]*$/u.test(D))s=t.locStart(l);else break}for(let[l,{comment:c}]of e.entries())l1&&l.comments.sort((c,d)=>t.locStart(c)-t.locStart(d));e.length=0}function fn(e,t,n){let r=n.locStart(t)-1;for(let i=1;i!r.has(s)).length===0)return{leading:"",trailing:""};let i=[],u=[],a;return e.each(()=>{let s=e.node;if(r!=null&&r.has(s))return;let{leading:o,trailing:l}=s;o?i.push(dl(e,t)):l&&(a=hl(e,t,a),u.push(a.doc))},"comments"),{leading:i,trailing:u}}function Fl(e,t,n){let{leading:r,trailing:i}=ml(e,n);return!r&&!i?t:qi(t,u=>[r,u,i])}function gl(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:n}=e;for(let r of t){if(!r.printed&&!n.has(r))throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}function El(e){return()=>{}}var yl=El,Zi=class extends Error{constructor(){super(...arguments);ee(this,"name","ConfigError")}},Fr=class extends Error{constructor(){super(...arguments);ee(this,"name","UndefinedParserError")}},vl={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function eu({plugins:e=[],showDeprecated:t=!1}={}){let n=e.flatMap(i=>i.languages??[]),r=[];for(let i of bl(Object.assign({},...e.map(({options:u})=>u),vl)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter(u=>!u.deprecated)),i.name==="parser"&&(i.choices=[...i.choices,...Cl(i.choices,n,e)])),i.pluginDefaults=Object.fromEntries(e.filter(u=>{var a;return((a=u.defaultOptions)==null?void 0:a[i.name])!==void 0}).map(u=>[u.name,u.defaultOptions[i.name]])),r.push(i));return{languages:n,options:r}}function*Cl(e,t,n){let r=new Set(e.map(i=>i.value));for(let i of t)if(i.parsers){for(let u of i.parsers)if(!r.has(u)){r.add(u);let a=n.find(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,u)),s=i.name;a!=null&&a.name&&(s+=` (plugin: ${a.name})`),yield{value:u,description:s}}}}function bl(e){let t=[];for(let[n,r]of Object.entries(e)){let i={name:n,...r};Array.isArray(i.default)&&(i.default=U(!1,i.default,-1).value),t.push(i)}return t}var _l=e=>String(e).split(/[/\\]/u).pop();function gr(e,t){if(!t)return;let n=_l(t).toLowerCase();return e.find(({filenames:r})=>r==null?void 0:r.some(i=>i.toLowerCase()===n))??e.find(({extensions:r})=>r==null?void 0:r.some(i=>n.endsWith(i)))}function Al(e,t){if(t)return e.find(({name:n})=>n.toLowerCase()===t)??e.find(({aliases:n})=>n==null?void 0:n.includes(t))??e.find(({extensions:n})=>n==null?void 0:n.includes(`.${t}`))}function kl(e,t){let n=e.plugins.flatMap(i=>i.languages??[]),r=Al(n,t.language)??gr(n,t.physicalFile)??gr(n,t.file)??(t.physicalFile,void 0);return r==null?void 0:r.parsers[0]}var Nl=kl,nt={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(n=>nt.value(n)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(n=>`${nt.key(n)}: ${nt.value(e[n])}`).join(", ")} }`},pair:({key:e,value:t})=>nt.value({[e]:t})},Er=Jt(xn()),wl=(e,t,{descriptor:n})=>{let r=[`${Er.default.yellow(typeof e=="string"?n.key(e):n.pair(e))} is deprecated`];return t&&r.push(`we now treat it as ${Er.default.blue(typeof t=="string"?n.key(t):n.pair(t))}`),r.join("; ")+"."},rt=Jt(xn()),tu=Symbol.for("vnopts.VALUE_NOT_EXIST"),xt=Symbol.for("vnopts.VALUE_UNCHANGED"),yr=" ".repeat(2),Tl=(e,t,n)=>{let{text:r,list:i}=n.normalizeExpectedResult(n.schemas[e].expected(n)),u=[];return r&&u.push(vr(e,t,r,n.descriptor)),i&&u.push([vr(e,t,i.title,n.descriptor)].concat(i.values.map(a=>nu(a,n.loggerPrintWidth))).join(` -`)),ru(u,n.loggerPrintWidth)};function vr(e,t,n,r){return[`Invalid ${rt.default.red(r.key(e))} value.`,`Expected ${rt.default.blue(n)},`,`but received ${t===tu?rt.default.gray("nothing"):rt.default.red(r.value(t))}.`].join(" ")}function nu({text:e,list:t},n){let r=[];return e&&r.push(`- ${rt.default.blue(e)}`),t&&r.push([`- ${rt.default.blue(t.title)}:`].concat(t.values.map(i=>nu(i,n-yr.length).replace(/^|\n/g,`$&${yr}`))).join(` -`)),ru(r,n)}function ru(e,t){if(e.length===1)return e[0];let[n,r]=e,[i,u]=e.map(a=>a.split(` -`,1)[0].length);return i>t&&i>u?r:n}var Cr=Jt(xn()),pn=[],br=[];function Sl(e,t){if(e===t)return 0;let n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let u=0;for(;us?l>s?s+1:l:l>o?o+1:l;return s}var iu=(e,t,{descriptor:n,logger:r,schemas:i})=>{let u=[`Ignored unknown option ${Cr.default.yellow(n.pair({key:e,value:t}))}.`],a=Object.keys(i).sort().find(s=>Sl(e,s)<3);a&&u.push(`Did you mean ${Cr.default.blue(n.key(a))}?`),r.warn(u.join(" "))},Bl=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function $l(e,t){let n=new e(t),r=Object.create(n);for(let i of Bl)i in t&&(r[i]=Il(t[i],n,Me.prototype[i].length));return r}var Me=class{static create(e){return $l(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return xt}};function Il(e,t,n){return typeof e=="function"?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}var Ol=class extends Me{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},xl=class extends Me{expected(){return"anything"}validate(){return!0}},Ll=class extends Me{constructor({valueSchema:e,name:t=e.name,...n}){super({...n,name:t}),this._valueSchema=e}expected(e){let{text:t,list:n}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let i=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);i!==!0&&n.push(i.value)}return n.length===0?!0:{value:n}}deprecated(e,t){let n=[];for(let r of e){let i=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);i!==!1&&n.push(...i.map(({value:u})=>({value:[u]})))}return n}forward(e,t){let n=[];for(let r of e){let i=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...i.map(_r))}return n}redirect(e,t){let n=[],r=[];for(let i of e){let u=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in u&&n.push(u.remain),r.push(...u.redirect.map(_r))}return n.length===0?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}};function _r({from:e,to:t}){return{from:[e],to:t}}var Rl=class extends Me{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function Pl(e,t){let n=Object.create(null);for(let r of e){let i=r[t];if(n[i])throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);n[i]=r}return n}function jl(e,t){let n=new Map;for(let r of e){let i=r[t];if(n.has(i))throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);n.set(i,r)}return n}function Ml(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return e[n]?!0:(e[n]=!0,!1)}}function Vl(e,t){let n=[],r=[];for(let i of e)t(i)?n.push(i):r.push(i);return[n,r]}function Ul(e){return e===Math.floor(e)}function ql(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):n!=="string"?Number(e)-Number(t):e.localeCompare(t)}function zl(e){return(...t)=>{let n=e(...t);return typeof n=="string"?new Error(n):n}}function Ar(e){return e===void 0?{}:e}function uu(e){if(typeof e=="string")return{text:e};let{text:t,list:n}=e;return Gl((t||n)!==void 0,"Unexpected `expected` result, there should be at least one field."),n?{text:t,list:{title:n.title,values:n.values.map(uu)}}:{text:t}}function kr(e,t){return e===!0?!0:e===!1?{value:t}:e}function Nr(e,t,n=!1){return e===!1?!1:e===!0?n?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function wr(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function Nn(e,t){return e===void 0?[]:Array.isArray(e)?e.map(n=>wr(n,t)):[wr(e,t)]}function Tr(e,t){let n=Nn(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return n.length===0?{remain:t,redirect:n}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}function Gl(e,t){if(!e)throw new Error(t)}var Kl=class extends Me{constructor(e){super(e),this._choices=jl(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(({hidden:i})=>!i).map(i=>i.value).sort(ql).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return{text:n.concat(r.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},Yl=class extends Me{expected(){return"a number"}validate(e,t){return typeof e=="number"}},Jl=class extends Yl{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&Ul(e)}},Sr=class extends Me{expected(){return"a string"}validate(e){return typeof e=="string"}},Wl=nt,Hl=iu,Ql=Tl,Xl=wl,Zl=class{constructor(e,t){let{logger:n=console,loggerPrintWidth:r=80,descriptor:i=Wl,unknown:u=Hl,invalid:a=Ql,deprecated:s=Xl,missing:o=()=>!1,required:l=()=>!1,preprocess:c=D=>D,postprocess:d=()=>xt}=t||{};this._utils={descriptor:i,logger:n||{warn:()=>{}},loggerPrintWidth:r,schemas:Pl(e,"name"),normalizeDefaultResult:Ar,normalizeExpectedResult:uu,normalizeDeprecatedResult:Nr,normalizeForwardResult:Nn,normalizeRedirectResult:Tr,normalizeValidateResult:kr},this._unknownHandler=u,this._invalidHandler=zl(a),this._deprecatedHandler=s,this._identifyMissing=(D,p)=>!(D in p)||o(D,p),this._identifyRequired=l,this._preprocess=c,this._postprocess=d,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Ml()}normalize(e){let t={},n=[this._preprocess(e,this._utils)],r=()=>{for(;n.length!==0;){let i=n.shift(),u=this._applyNormalization(i,t);n.push(...u)}};r();for(let i of Object.keys(this._utils.schemas)){let u=this._utils.schemas[i];if(!(i in t)){let a=Ar(u.default(this._utils));"value"in a&&n.push({[i]:a.value})}}r();for(let i of Object.keys(this._utils.schemas)){if(!(i in t))continue;let u=this._utils.schemas[i],a=t[i],s=u.postprocess(a,this._utils);s!==xt&&(this._applyValidation(s,i,u),t[i]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let n=[],{knownKeys:r,unknownKeys:i}=this._partitionOptionKeys(e);for(let u of r){let a=this._utils.schemas[u],s=a.preprocess(e[u],this._utils);this._applyValidation(s,u,a);let o=({from:d,to:D})=>{n.push(typeof D=="string"?{[D]:d}:{[D.key]:D.value})},l=({value:d,redirectTo:D})=>{let p=Nr(a.deprecated(d,this._utils),s,!0);if(p!==!1)if(p===!0)this._hasDeprecationWarned(u)||this._utils.logger.warn(this._deprecatedHandler(u,D,this._utils));else for(let{value:f}of p){let h={key:u,value:f};if(!this._hasDeprecationWarned(h)){let F=typeof D=="string"?{key:D,value:f}:D;this._utils.logger.warn(this._deprecatedHandler(h,F,this._utils))}}};Nn(a.forward(s,this._utils),s).forEach(o);let c=Tr(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let d=c.remain;t[u]=u in t?a.overlap(t[u],d,this._utils):d,l({value:d})}for(let{from:d,to:D}of c.redirect)l({value:d,redirectTo:D})}for(let u of i){let a=e[u];this._applyUnknownHandler(u,a,t,(s,o)=>{n.push({[s]:o})})}return n}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,tu,this._utils)}_partitionOptionKeys(e){let[t,n]=Vl(Object.keys(e).filter(r=>!this._identifyMissing(r,e)),r=>r in this._utils.schemas);return{knownKeys:t,unknownKeys:n}}_applyValidation(e,t,n){let r=kr(n.validate(e,this._utils),e);if(r!==!0)throw this._invalidHandler(t,r.value,this._utils)}_applyUnknownHandler(e,t,n,r){let i=this._unknownHandler(e,t,this._utils);if(i)for(let u of Object.keys(i)){if(this._identifyMissing(u,i))continue;let a=i[u];u in this._utils.schemas?r(u,a):n[u]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==xt){if(t.delete)for(let n of t.delete)delete e[n];if(t.override){let{knownKeys:n,unknownKeys:r}=this._partitionOptionKeys(t.override);for(let i of n){let u=t.override[i];this._applyValidation(u,i,this._utils.schemas[i]),e[i]=u}for(let i of r){let u=t.override[i];this._applyUnknownHandler(i,u,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},dn;function ec(e,t,{logger:n=!1,isCLI:r=!1,passThrough:i=!1,FlagSchema:u,descriptor:a}={}){if(r){if(!u)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=nt;let s=i?Array.isArray(i)?(D,p)=>i.includes(D)?{[D]:p}:void 0:(D,p)=>({[D]:p}):(D,p,f)=>{let{_:h,...F}=f.schemas;return iu(D,p,{...f,schemas:F})},o=tc(t,{isCLI:r,FlagSchema:u}),l=new Zl(o,{logger:n,unknown:s,descriptor:a}),c=n!==!1;c&&dn&&(l._hasDeprecationWarned=dn);let d=l.normalize(e);return c&&(dn=l._hasDeprecationWarned),d}function tc(e,{isCLI:t,FlagSchema:n}){let r=[];t&&r.push(xl.create({name:"_"}));for(let i of e)r.push(nc(i,{isCLI:t,optionInfos:e,FlagSchema:n})),i.alias&&t&&r.push(Ol.create({name:i.alias,sourceName:i.name}));return r}function nc(e,{isCLI:t,optionInfos:n,FlagSchema:r}){let{name:i}=e,u={name:i},a,s={};switch(e.type){case"int":a=Jl,t&&(u.preprocess=Number);break;case"string":a=Sr;break;case"choice":a=Kl,u.choices=e.choices.map(o=>o!=null&&o.redirect?{...o,redirect:{to:{key:e.name,value:o.redirect}}}:o);break;case"boolean":a=Rl;break;case"flag":a=r,u.flags=n.flatMap(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&`no-${o.name}`].filter(Boolean));break;case"path":a=Sr;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(o,l,c)=>e.exception(o)||l.validate(o,c):u.validate=(o,l,c)=>o===void 0||l.validate(o,c),e.redirect&&(s.redirect=o=>o?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let o=u.preprocess||(l=>l);u.preprocess=(l,c,d)=>c.preprocess(o(Array.isArray(l)?U(!1,l,-1):l),d)}return e.array?Ll.create({...t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},...s,valueSchema:a.create(u)}):a.create({...u,...s})}var rc=ec,ic=(e,t,n)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(n);for(let r=t.length-1;r>=0;r--){let i=t[r];if(n(i,r,t))return i}}},au=ic;function su(e,t){if(!t)throw new Error("parserName is required.");let n=au(!1,e,i=>i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,t));if(n)return n;let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Zi(r)}function uc(e,t){if(!t)throw new Error("astFormat is required.");let n=au(!1,e,i=>i.printers&&Object.prototype.hasOwnProperty.call(i.printers,t));if(n)return n;let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Zi(r)}function ou({plugins:e,parser:t}){let n=su(e,t);return lu(n,t)}function lu(e,t){let n=e.parsers[t];return typeof n=="function"?n():n}function ac(e,t){let n=e.printers[t];return typeof n=="function"?n():n}var Br={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function sc(e,t={}){var n;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=Nl(r,{physicalFile:r.filepath}),!r.parser)throw new Fr(`No parser could be inferred for file "${r.filepath}".`)}else throw new Fr("No parser and no file path given, couldn't infer a parser.");let i=eu({plugins:e.plugins,showDeprecated:!0}).options,u={...Br,...Object.fromEntries(i.filter(D=>D.default!==void 0).map(D=>[D.name,D.default]))},a=su(r.plugins,r.parser),s=await lu(a,r.parser);r.astFormat=s.astFormat,r.locEnd=s.locEnd,r.locStart=s.locStart;let o=(n=a.printers)!=null&&n[s.astFormat]?a:uc(r.plugins,s.astFormat),l=await ac(o,s.astFormat);r.printer=l;let c=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,D])=>D!==void 0)):{},d={...u,...c};for(let[D,p]of Object.entries(d))(r[D]===null||r[D]===void 0)&&(r[D]=p);return r.parser==="json"&&(r.trailingComma="none"),rc(r,i,{passThrough:Object.keys(Br),...t})}var Dt=sc,oc=Jt(uo());async function lc(e,t){let n=await ou(t),r=n.preprocess?n.preprocess(e,t):e;t.originalText=r;let i;try{i=await n.parse(r,t,t)}catch(u){cc(u,e)}return{text:r,ast:i}}function cc(e,t){let{loc:n}=e;if(n){let r=(0,oc.codeFrameColumns)(t,n,{highlightCode:!0});throw e.message+=` -`+r,e.codeFrame=r,e}throw e}var At=lc;async function Dc(e,t,n,r,i){let{embeddedLanguageFormatting:u,printer:{embed:a,hasPrettierIgnore:s=()=>!1,getVisitorKeys:o}}=n;if(!a||u!=="auto")return;if(a.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let l=en(a.getVisitorKeys??o),c=[];p();let d=e.stack;for(let{print:f,node:h,pathStack:F}of c)try{e.stack=F;let g=await f(D,t,e,n);g&&i.set(h,g)}catch(g){if(globalThis.PRETTIER_DEBUG)throw g}e.stack=d;function D(f,h){return fc(f,h,n,r)}function p(){let{node:f}=e;if(f===null||typeof f!="object"||s(e))return;for(let F of l(f))Array.isArray(f[F])?e.each(p,F):e.call(p,F);let h=a(e,n);if(h){if(typeof h=="function"){c.push({print:h,node:f,pathStack:[...e.stack]});return}i.set(f,h)}}}async function fc(e,t,n,r){let i=await Dt({...n,...t,parentParser:n.parser,originalText:e},{passThrough:!0}),{ast:u}=await At(e,i),a=await r(u,i);return Ui(a)}function pc(e,t){let{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:u,[Symbol.for("printedComments")]:a}=t,{node:s}=e,o=i(s),l=u(s);for(let c of r)i(c)>=o&&u(c)<=l&&a.add(c);return n.slice(o,l)}var dc=pc;async function tn(e,t){({ast:e}=await cu(e,t));let n=new Map,r=new Xo(e),i=yl(),u=new Map;await Dc(r,s,t,tn,u);let a=await $r(r,t,s,void 0,u);return gl(t),a;function s(l,c){return l===void 0||l===r?o(c):Array.isArray(l)?r.call(()=>o(c),...l):r.call(()=>o(c),l)}function o(l){i(r);let c=r.node;if(c==null)return"";let d=c&&typeof c=="object"&&l===void 0;if(d&&n.has(c))return n.get(c);let D=$r(r,t,s,l,u);return d&&n.set(c,D),D}}function $r(e,t,n,r,i){var u;let{node:a}=e,{printer:s}=t,o;return(u=s.hasPrettierIgnore)!=null&&u.call(s,e)?o=dc(e,t):i.has(a)?o=i.get(a):o=s.print(e,t,n,r),a===t.cursorNode&&(o=qi(o,l=>[Cn,l,Cn])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(o=Fl(e,o,t)),o}async function cu(e,t){let n=e.comments??[];t[Symbol.for("comments")]=n,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,cl(e,t);let{printer:{preprocess:r}}=t;return e=r?await r(e,t):e,{ast:e,comments:n}}function hc(e,t){let{cursorOffset:n,locStart:r,locEnd:i}=t,u=en(t.printer.getVisitorKeys),a=o=>r(o)<=n&&i(o)>=n,s=e;for(let o of tl(e,{getVisitorKeys:u,filter:a}))s=o;return s}var mc=hc;function Fc(e,t){let{printer:{massageAstNode:n,getVisitorKeys:r}}=t;if(!n)return e;let i=en(r),u=n.ignoredProperties??new Set;return a(e);function a(s,o){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(D=>a(D,o)).filter(Boolean);let l={},c=new Set(i(s));for(let D in s)!Object.prototype.hasOwnProperty.call(s,D)||u.has(D)||(c.has(D)?l[D]=a(s[D],s):l[D]=s[D]);let d=n(s,l,o);if(d!==null)return d??l}}var gc=Fc,Ec=(e,t,n)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(n);for(let r=t.length-1;r>=0;r--){let i=t[r];if(n(i,r,t))return r}return-1}},yc=Ec,vc=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";function Cc(e,t){let n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find(i=>Du.has(i.type)&&r.has(i))}function Ir(e){let t=yc(!1,e,n=>n.type!=="Program"&&n.type!=="File");return t===-1?e:e.slice(0,t+1)}function bc(e,t,{locStart:n,locEnd:r}){let i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};let a=n(e.node);for(let o of Ir(t.parentNodes))if(n(o)>=a)u=o;else break;let s=r(t.node);for(let o of Ir(e.parentNodes)){if(r(o)<=s)i=o;else break;if(i===u)break}return{startNode:i,endNode:u}}function wn(e,t,n,r,i=[],u){let{locStart:a,locEnd:s}=n,o=a(e),l=s(e);if(!(t>l||tr);let s=e.slice(r,i).search(/\S/u),o=s===-1;if(!o)for(r+=s;i>r&&!/\S/u.test(e[i-1]);--i);let l=wn(n,r,t,(p,f)=>Or(t,p,f),[],"rangeStart"),c=o?l:wn(n,i,t,p=>Or(t,p),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let d,D;if(vc(t)){let p=Cc(l,c);d=p,D=p}else({startNode:d,endNode:D}=bc(l,c,t));return{rangeStart:Math.min(u(d),u(D)),rangeEnd:Math.max(a(d),a(D))}}var fu="\uFEFF",xr=Symbol("cursor");async function pu(e,t,n=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:i}=await At(e,t);t.cursorOffset>=0&&(t.cursorNode=mc(r,t));let u=await tn(r,t);n>0&&(u=Vi([Ye,u],n,t.tabWidth));let a=Zt(u,t);if(n>0){let o=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(o)),a.formatted=o+Ln(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let o,l,c,d,D;if(t.cursorNode&&a.cursorNodeText?(o=t.locStart(t.cursorNode),l=i.slice(o,t.locEnd(t.cursorNode)),c=t.cursorOffset-o,d=a.cursorNodeStart,D=a.cursorNodeText):(o=0,l=i,c=t.cursorOffset,d=0,D=a.formatted),l===D)return{formatted:a.formatted,cursorOffset:d+c,comments:s};let p=l.split("");p.splice(c,0,xr);let f=D.split(""),h=Do(p,f),F=d;for(let g of h)if(g.removed){if(g.value.includes(xr))break}else F+=g.count;return{formatted:a.formatted,cursorOffset:F,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function Nc(e,t){let{ast:n,text:r}=await At(e,t),{rangeStart:i,rangeEnd:u}=kc(r,t,n),a=r.slice(i,u),s=Math.min(i,r.lastIndexOf(` -`,i)+1),o=r.slice(s,i).match(/^\s*/u)[0],l=Vn(o,t.tabWidth),c=await pu(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=u?t.cursorOffset-i:-1,endOfLine:"lf"},l),d=c.formatted.trimEnd(),{cursorOffset:D}=t;D>u?D+=d.length-a.length:c.cursorOffset>=0&&(D=c.cursorOffset+i);let p=r.slice(0,i)+d+r.slice(u);if(t.endOfLine!=="lf"){let f=Ln(t.endOfLine);D>=0&&f===`\r -`&&(D+=Bi(p.slice(0,D),` -`)),p=Wt(!1,p,` -`,f)}return{formatted:p,cursorOffset:D,comments:c.comments}}function hn(e,t,n){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?n:t}function Lr(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=hn(e,n,-1),r=hn(e,r,0),i=hn(e,i,e.length),{...t,cursorOffset:n,rangeStart:r,rangeEnd:i}}function du(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:u}=Lr(e,t),a=e.charAt(0)===fu;if(a&&(e=e.slice(1),n--,r--,i--),u==="auto"&&(u=fo(e)),e.includes("\r")){let s=o=>Bi(e.slice(0,Math.max(o,0)),`\r -`);n-=s(n),r-=s(r),i-=s(i),e=po(e)}return{hasBOM:a,text:e,options:Lr(e,{...t,cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:u})}}async function Rr(e,t){let n=await ou(t);return!n.hasPragma||n.hasPragma(e)}async function hu(e,t){let{hasBOM:n,text:r,options:i}=du(e,await Dt(t));if(i.rangeStart>=i.rangeEnd&&r!==""||i.requirePragma&&!await Rr(r,i))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let u;return i.rangeStart>0||i.rangeEnd=0&&u.cursorOffset++),u}async function wc(e,t,n){let{text:r,options:i}=du(e,await Dt(t)),u=await At(r,i);return n&&(n.preprocessForPrint&&(u.ast=await cu(u.ast,i)),n.massage&&(u.ast=gc(u.ast,i))),u}async function Tc(e,t){t=await Dt(t);let n=await tn(e,t);return Zt(n,t)}async function Sc(e,t){let n=So(e),{formatted:r}=await hu(n,{...t,parser:"__js_expression"});return r}async function Bc(e,t){t=await Dt(t);let{ast:n}=await At(e,t);return tn(n,t)}async function $c(e,t){return Zt(e,await Dt(t))}var mu={};Yt(mu,{builders:()=>Ic,printer:()=>Oc,utils:()=>xc});var Ic={join:Mi,line:Pi,softline:wo,hardline:Ye,literalline:ji,group:xi,conditionalGroup:bo,fill:Li,lineSuffix:vn,lineSuffixBoundary:ko,cursor:Cn,breakParent:Qt,ifBreak:_o,trim:No,indent:Mt,indentIfBreak:Ao,align:lt,addAlignmentToDoc:Vi,markAsRoot:vo,dedentToRoot:yo,dedent:Co,hardlineWithoutBreakParent:Pn,literallineWithoutBreakParent:Ri,label:To,concat:e=>e},Oc={printDocToString:Zt},xc={willBreak:jo,traverseDoc:Rn,findInDoc:Mn,mapDoc:Xt,removeLines:Uo,stripTrailingHardline:Ui,replaceEndOfLine:Go,canBreak:Yo},Lc="3.3.3",Fu={};Yt(Fu,{addDanglingComment:()=>qe,addLeadingComment:()=>et,addTrailingComment:()=>tt,getAlignmentSize:()=>Vn,getIndentSize:()=>Uc,getMaxContinuousCount:()=>Gc,getNextNonSpaceNonCommentCharacter:()=>Yc,getNextNonSpaceNonCommentCharacterIndex:()=>tD,getStringWidth:()=>jn,hasNewline:()=>xe,hasNewlineInRange:()=>Wc,hasSpaces:()=>Qc,isNextLineEmpty:()=>uD,isNextLineEmptyAfterIndex:()=>Jn,isPreviousLineEmpty:()=>rD,makeString:()=>Zc,skip:()=>_t,skipEverythingButNewLine:()=>Ji,skipInlineComment:()=>Gn,skipNewline:()=>We,skipSpaces:()=>Re,skipToLineEnd:()=>Yi,skipTrailingComment:()=>Kn,skipWhitespace:()=>nl});function Rc(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let n=t+2;nMath.max(r,i.length/t.length),0)}var Gc=zc;function Kc(e,t){let n=Yn(e,t);return n===!1?"":e.charAt(n)}var Yc=Kc;function Jc(e,t,n){for(let r=t;ra===r?a:s===t?"\\"+s:s||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(a)?a:"\\"+a));return t+i+t}var Zc=Xc;function eD(e,t,n){return Yn(e,n(t))}function tD(e,t){return arguments.length===2||typeof t=="number"?Yn(e,t):eD(...arguments)}function nD(e,t,n){return zn(e,n(t))}function rD(e,t){return arguments.length===2||typeof t=="number"?zn(e,t):nD(...arguments)}function iD(e,t,n){return Jn(e,n(t))}function uD(e,t){return arguments.length===2||typeof t=="number"?Jn(e,t):iD(...arguments)}function ze(e,t=1){return async(...n)=>{let r=n[t]??{},i=r.plugins??[];return n[t]={...r,plugins:Array.isArray(i)?i:Object.values(i)},e(...n)}}var gu=ze(hu);async function Eu(e,t){let{formatted:n}=await gu(e,{...t,cursorOffset:-1});return n}async function aD(e,t){return await Eu(e,t)===e}var sD=ze(eu,0),oD={parse:ze(wc),formatAST:ze(Tc),formatDoc:ze(Sc),printToDoc:ze(Bc),printDocToString:ze($c)},lD=wi;function cD(e){return lD.format(e,{parser:"graphql",plugins:[Ys],tabWidth:2})}var Vt;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Vt||(Vt={}));class Et{constructor(t,n,r){ee(this,"name","");ee(this,"type");ee(this,"fields",{});this.name=n,this.type=t,this.fields=r}withInlineFragment(t,n){return this.withField(`... on ${t}`,[],n)}withType(t){return new Et(t,this.name,this.fields)}withName(t){return new Et(this.type,t??"",this.fields)}withField(t,n,r){return new Et(this.type,this.name,{...this.fields,[t.trim()]:{parameters:n,subSelection:r}})}async build(){const t=this.buildSelection(new Set),n=this.generateArgumentPlaceholder(t.variables);return{query:await cD(`${this.type} ${this.name}${n}${t.query}`),variables:re.mapValues(re.keyBy(t.variables,r=>r.variableName),r=>r.value)}}buildSelection(t){if(!this.hasFields())throw new Error("Cannot generate a sub-selection with no fields in it. A minimum of one field must be queried if the sub-selection is defined.");const n=re.mapValues(this.fields,u=>{var a;return{parameters:u.parameters.map(s=>this.asUniquelyNamedParameter(s,t)),subSelection:(a=u.subSelection)==null?void 0:a.buildSelection(t)}}),r=Object.keys(n).map(u=>{var l;const a=n[u],s=a.parameters.map(c=>`${c.name}: $${c.variableName}`).join(", "),o=s.length===0?"":`(${s})`;return`${u}${o}${((l=a.subSelection)==null?void 0:l.query)??""}`}),i=re.flatMap(Object.keys(n).map(u=>{var s;const a=n[u];return[...a.parameters,...((s=a.subSelection)==null?void 0:s.variables)||[]]}));return{query:` - { - ${r.join(" ")} - } - `,variables:i}}generateArgumentPlaceholder(t){const n=t.map(r=>`$${r.variableName}:${r.type}`).join(", ");return n.length===0?"":`(${n})`}asUniquelyNamedParameter(t,n,r=1){const i=r===1?t.name:t.name+r.toString();return n.has(i)?this.asUniquelyNamedParameter(t,n,r+1):(n.add(i),{variableName:i,...t})}hasFields(){return re.size(this.fields)!==0}}function yu(){return new Et(Vt.QUERY,"",{})}function Pr(){return yu()}class DD{constructor(t,n){ee(this,"target");ee(this,"value");this.target=t,this.value=n}build(){return{[this.target.name]:this.value.build()}}}class Wn{constructor(t){ee(this,"fields");this.fields=t}withField(t,n){return new Wn({...this.fields,[t]:n})}build(){return{...re.entries(this.fields).reduce((t,[n,r])=>({...t,[n]:r.build()}),{})}}}class Hn{constructor(t){ee(this,"values");this.values=t}withValue(t){return new Hn([...this.values,t])}build(){return this.values.map(t=>t.build())}}class fD{constructor(t){ee(this,"value");this.value=t}build(){return this.value}}function pD(e,t){return new DD(e,t)}function mn(e){return new fD(e)}function dD(){return new Wn({})}function hD(){return new Hn([])}function Qn(e){return Ku(e)}function Ut(e){return Sn(e)?`${Ut(e.ofType)}!`:Rt(e)?`[${Ut(e.ofType)}]`:e.name}function mD(e){let t="";for(let n=0,r=e.length;n{switch(e.targetName.toLowerCase()){case"email":case"emails":case"mail":case"mails":return"test-email@yourcompany.com";case"fullname":case"fullnames":return"John Doe";case"firstname":case"firstnames":return"John";case"lastname":case"lastnames":return"Doe";case"job":case"jobs":case"jobtitle":case"jobtitles":return"Engineer";case"jobarea":return"Engineering";case"phone":case"phones":return"1+ 418-323-4236";case"country":case"countries":return"Canada";case"address":case"addresses":return"2832 Sesame Street";case"state":case"states":case"province":case"provinces":return"Quebec";case"city":case"cities":case"town":case"towns":return"Montreal";case"zipcode":case"zipcodes":return"G1G 43F";case"company":case"companies":return"Acme Inc";case"department":case"departments":return"Engineering";case"datetime":case"datetimes":case"timestamp":case"timestamps":case"timestampz":case"instant":case"instants":return Mr;case"date":case"dates":return jr;case"price":case"prices":return"$1,234.56";case"color":case"colors":case"paint":case"paints":return"#e10098";case"product":case"products":return"Soup";case"material":case"materials":return"Wood";case"id":case"ids":case"identifier":case"identifiers":case"uuid":case"uuids":return Vr;case"size":case"sizes":return"Large";case"url":case"urls":return Ur;case"name":case"names":return"A name";case"description":case"descriptions":return"A description";default:return e.targetName}},ID:()=>Vr,Boolean:()=>!0,Int:e=>{switch(e.targetName.toLocaleLowerCase()){case"salary":case"salaries":return 7e4;case"age":case"ages":return 36;default:return 42}},Float:()=>FD,Date:()=>jr,DateTime:()=>Mr,URL:()=>Ur,JSON:()=>({})}));function gD(e){return{...re.reduce(e,(t,n,r)=>({...t,[r.toLowerCase()]:n,[r[0].toLowerCase()+r.slice(1)]:n}),{}),...e}}function ED(e){return{...e,Instant:e.DateTime,Id:e.ID,BigInteger:e.Int,BigNumber:e.Int,Long:e.Int,Url:e.URL,_text:e.String,Float8:e.Float,Numeric:e.Int,SmallInt:e.Int,Timestamp:e.DateTime,Timestamptz:e.DateTime,JsonB:e.JSON}}function yD(e,t,n){return e.args.map(r=>CD(r,t,n))}function vD(e,t,n,r){return qt(t,n,{...r,defaultValue:null,generatedInputObjects:new Set,targetName:e})({...r,targetName:e,path:r.path})}function CD(e,t,n){return{name:e.name,type:Ut(e.type),value:Cu(e.type,t,{...n,generatedInputObjects:new Set,path:`${n.path}$`,defaultValue:e.defaultValue,targetName:e.name})}}function Cu(e,t,n){const r=Qn(e),i=vu[r.name];if(Wr(r)){if(n.generatedInputObjects.has(r.name)&&Hr(e))return null;n.generatedInputObjects.add(r.name)}const u=`${n.path}${n.path.endsWith("$")?"":"."}${n.targetName}`,a={targetName:n.targetName,path:u,defaultValue:n.defaultValue,depth:n.depth};return qt(e,t,{...n,path:u})({...a,defaultFactory:i?{provide:()=>i(a)}:void 0,randomFactory:{provide:()=>bu(r,t,n)(a)}})}function qt(e,t,n,r=!0){var o;const{factories:i}=t,u=i[n.path]??i[`${((o=n.parentType)==null?void 0:o.name)||""}.${n.targetName}`]??i[n.targetName]??i[Ut(e)];if(u)return l=>{const c=u(l);return Rt(e)&&!Array.isArray(c)?[c]:c};if(Sn(e))return qt(e.ofType,t,n,!1);if(r&&(t.nullGenerationStrategy===X.ALWAYS_NULL||t.nullGenerationStrategy===X.SOMETIMES_NULL&&Math.random()>.5))return()=>null;if(Rt(e)){const l=qt(e.ofType,t,n);return c=>[l(c)]}const a=Qn(e),s=bD(a.name,t);return s||bu(a,t,n)}function bu(e,t,n){if(Yu(e))return()=>e.getValues()[0].value;if(Ju(e)){const r=vu[e.name];if(r===void 0)throw new ei(e,` -Cannot generate a random value for scalar '${e.name}'. -The random generator is not able to randomly generate a value for non-standard GraphQL scalars. -You have to provide a custom factory by providing this in your config: -{ - '${e.name}': () => generateRandomCustomScalar() -}`);return r}if(Wr(e)){const r=e.getFields()||{};return()=>re.mapValues(r,i=>Cu(i.type,t,{...n,parentType:e,generatedInputObjects:new Set(n.generatedInputObjects),targetName:i.name,defaultValue:i.defaultValue}))}throw new Error(`this portion of the fake generator should be unreachable... if you ever see this error, please open an issue: ${e.toJSON()}`)}function bD(e,t){const n=Object.keys(t.factories).find(r=>mD(r).test(e));if(n)return t.factories[n]}const _u={queryType:Vt.QUERY,queryName:void 0,maxDepth:5,nullGenerationStrategy:X.NEVER_NULL,factories:{}};async function _D(e,t){const n=Object.assign({},_u,t),r=yu(),i=Au(r,e,n,{depth:1,path:e.name});return i===r?null:await i.withType(n.queryType).withName(n.queryName).build()}function AD(e,t){const n=Object.assign({},_u,t),r=Tn(e.name,e.type,n,{depth:1,path:e.name});return r===null?null:pD(e,r).build()}function Au(e,t,n,r){const i=yD(t,n,r),u=Qn(t.type);if(Bn(u))return e.withField(t.name,i);const s=ku(u,n,{...r,depth:r.depth+1});return s===null?e:e.withField(t.name,i,s)}function ku(e,t,n){if(n.depth>t.maxDepth||Bn(e))return null;if(Fn(e)){const r=Pr().withField("__typename",[]),i=e.getTypes();return re.reduce(i,(a,s)=>{const o=ku(s,t,n);return o?a.withInlineFragment(s.name,o):a},r)}if(Qr(e)||Xr(e)){const r=Pr(),i=e.getFields(),u=re.reduce(i,(a,s)=>Au(a,s,t,{depth:n.depth,path:`${n.path}.${s.name}`}),r);return u===r?null:u}throw new Error(`this portion of the query generator should be unreachable... if you ever see this error, please open an issue: ${JSON.stringify(e)}`)}function Tn(e,t,n,r){if(r.depth>n.maxDepth)return null;if(Hr(t)&&n.nullGenerationStrategy===X.ALWAYS_NULL)return mn(null);if(Sn(t)&&(t=t.ofType),Bn(t))return mn(vD(e,t,{...n,nullGenerationStrategy:X.NEVER_NULL},r));if(Rt(t)){const i=Tn(e,t.ofType,n,r);return i?hD().withValue(i):null}if(Fn(t)||Qr(t)||Xr(t)){let i=dD(),u=t;Fn(u)&&(u=u.getTypes()[0],i=i.withField("__typename",mn(u.name)));const a=re.reduce(u.getFields(),(s,o)=>{const l=Tn(o.name,o.type,n,{...r,parentType:u,path:`${r.path}.${o.name}`,depth:r.depth+1});return l===null?s:s.withField(o.name,l)},i);return a===i?null:a}throw new Error(`this portion of the query generator should be unreachable... if you ever see this error, please open an issue: ${JSON.stringify(t)}`)}const kD=8,ND=2,wD=3,Oe=Qu(null),$t=async e=>{const t={queryType:e.type,maxDepth:e.depth,nullGenerationStrategy:e.nullGenerationStrategy,factories:re.reduce(Wu(Hu.QUERY_GENERATION_FACTORIES),(n,r,i)=>({...n,[i]:()=>r}),{})};try{const n=await _D(e.field,t),r=AD(e.field,t);return{value:n??null,response:r,depth:e.depth,field:e.field,type:e.type,nullGenerationStrategy:e.nullGenerationStrategy}}catch(n){throw n instanceof ei?new Error(` -Cannot generate a random value for scalar '${n.type.name}'. -The random generator is not able to randomly generate a value for non-standard GraphQL scalars. -You have to provide a custom factory by providing this in your magidoc config: -{ - website: { - options: { - queryGenerationFactories: { - '${n.type.name}': '' - } - } - } -} - -To learn more about how to generate a custom scalar value, see: https://magidoc.js.org/cli/magidoc-configuration#querygenerationfactories -`):n}},it={subscribe:Oe.subscribe,increaseDepth:async()=>{const e=rn(Oe);if(e&&e.depth{const e=rn(Oe);if(e&&e.depth>ND){const t=await $t({...e,depth:e.depth-1});Oe.set(t)}},toggleNullGenerationStrategy:async()=>{const e=rn(Oe);if(!e)return;const t=await $t({...e,nullGenerationStrategy:e.nullGenerationStrategy===X.NEVER_NULL?X.ALWAYS_NULL:X.NEVER_NULL});Oe.set(t)},setField:async(e,t)=>{const n=await $t({field:e,type:t,depth:wD,nullGenerationStrategy:X.NEVER_NULL});Oe.set(n)}};function TD(e){return{c:k,l:k,m:k,p:k,i:k,o:k,d:k}}function SD(e){let t,n,r=e[9]&&qr(e);return{c(){r&&r.c(),t=Le()},l(i){r&&r.l(i),t=Le()},m(i,u){r&&r.m(i,u),w(i,t,u),n=!0},p(i,u){i[9]?r?(r.p(i,u),u&8&&v(r,1)):(r=qr(i),r.c(),v(r,1),r.m(t.parentNode,t)):r&&(ut(),_(r,1,1,()=>{r=null}),at())},i(i){n||(v(r),n=!0)},o(i){_(r),n=!1},d(i){i&&E(t),r&&r.d(i)}}}function qr(e){let t,n,r,i,u,a,s,o=e[9].depth+"",l,c,d,D;return t=new Tt({props:{kind:"ghost",icon:ra,iconDescription:e[2],tooltipPosition:"left",size:"field"}}),t.$on("click",e[5]),r=new Tt({props:{kind:"ghost",icon:e[9].nullGenerationStrategy===X.NEVER_NULL?ir:nr,iconDescription:e[9].nullGenerationStrategy===X.NEVER_NULL?"Never null fields":"Always null fields",tooltipPosition:"left",size:"field"}}),r.$on("click",e[6]),u=new Tt({props:{kind:"ghost",icon:ea,iconDescription:"Increase query depth",tooltipPosition:"left",size:"field"}}),u.$on("click",e[7]),d=new Tt({props:{kind:"ghost",icon:ca,iconDescription:"Decrease query depth",tooltipPosition:"left",size:"field"}}),d.$on("click",e[8]),{c(){$(t.$$.fragment),n=G(),$(r.$$.fragment),i=G(),$(u.$$.fragment),a=G(),s=Ke("p"),l=se(o),c=G(),$(d.$$.fragment),this.h()},l(p){B(t.$$.fragment,p),n=z(p),B(r.$$.fragment,p),i=z(p),B(u.$$.fragment,p),a=z(p),s=Ge(p,"P",{style:!0});var f=O(s);l=ae(f,o),f.forEach(E),c=z(p),B(d.$$.fragment,p),this.h()},h(){xu(s,"text-align","center")},m(p,f){S(t,p,f),w(p,n,f),S(r,p,f),w(p,i,f),S(u,p,f),w(p,a,f),w(p,s,f),I(s,l),w(p,c,f),S(d,p,f),D=!0},p(p,f){const h={};f&4&&(h.iconDescription=p[2]),t.$set(h);const F={};f&8&&(F.icon=p[9].nullGenerationStrategy===X.NEVER_NULL?ir:nr),f&8&&(F.iconDescription=p[9].nullGenerationStrategy===X.NEVER_NULL?"Never null fields":"Always null fields"),r.$set(F),(!D||f&8)&&o!==(o=p[9].depth+"")&&Pe(l,o)},i(p){D||(v(t.$$.fragment,p),v(r.$$.fragment,p),v(u.$$.fragment,p),v(d.$$.fragment,p),D=!0)},o(p){_(t.$$.fragment,p),_(r.$$.fragment,p),_(u.$$.fragment,p),_(d.$$.fragment,p),D=!1},d(p){p&&(E(n),E(i),E(a),E(s),E(c)),T(t,p),T(r,p),T(u,p),T(d,p)}}}function BD(e){return{c:k,l:k,m:k,p:k,i:k,o:k,d:k}}function $D(e){let t,n,r,i,u,a,s;r=new Vu({props:{source:e[0],language:e[1],maxHeight:"20rem",minHeight:"12rem"}});let o={ctx:e,current:null,token:null,hasCatch:!1,pending:BD,then:SD,catch:TD,value:9,blocks:[,,,]};return Pt(a=e[3],o),{c(){t=Ke("div"),n=Ke("div"),$(r.$$.fragment),i=G(),u=Ke("div"),o.block.c(),this.h()},l(l){t=Ge(l,"DIV",{class:!0});var c=O(t);n=Ge(c,"DIV",{class:!0});var d=O(n);B(r.$$.fragment,d),d.forEach(E),i=z(c),u=Ge(c,"DIV",{class:!0});var D=O(u);o.block.l(D),D.forEach(E),c.forEach(E),this.h()},h(){Q(n,"class","code-section svelte-1gk78cu"),Q(u,"class","button-bar svelte-1gk78cu"),Q(t,"class","wrapper svelte-1gk78cu")},m(l,c){w(l,t,c),I(t,n),S(r,n,null),I(t,i),I(t,u),o.block.m(u,o.anchor=null),o.mount=()=>u,o.anchor=null,s=!0},p(l,[c]){e=l;const d={};c&1&&(d.source=e[0]),c&2&&(d.language=e[1]),r.$set(d),o.ctx=e,c&8&&a!==(a=e[3])&&Pt(a,o)||Zr(o,e,c)},i(l){s||(v(r.$$.fragment,l),v(o.block),s=!0)},o(l){_(r.$$.fragment,l);for(let c=0;c<3;c+=1){const d=o.blocks[c];_(d)}s=!1},d(l){l&&E(t),T(r),o.block.d(),o.token=null,o=null}}}function ID(e,t,n){let r;Yr(e,it,D=>n(3,r=D));let{code:i}=t,{language:u}=t,a="Copy query";const s=async D=>{try{n(2,a="Copied!"),await navigator.clipboard.writeText(D),setTimeout(()=>{n(2,a="Copy query")},1500)}catch(p){console.error(p)}},o=()=>s(i),l=()=>it.toggleNullGenerationStrategy(),c=()=>it.increaseDepth(),d=()=>it.decreaseDepth();return e.$$set=D=>{"code"in D&&n(0,i=D.code),"language"in D&&n(1,u=D.language)},[i,u,a,r,s,o,l,c,d]}class Xn extends ye{constructor(t){super(),ve(this,t,ID,$D,Ee,{code:0,language:1})}}function OD(e){return{c:k,l:k,m:k,p:k,i:k,o:k,d:k}}function xD(e){let t,n,r=e[5]&&zr(e);return{c(){r&&r.c(),t=Le()},l(i){r&&r.l(i),t=Le()},m(i,u){r&&r.m(i,u),w(i,t,u),n=!0},p(i,u){i[5]?r?(r.p(i,u),u&2&&v(r,1)):(r=zr(i),r.c(),v(r,1),r.m(t.parentNode,t)):r&&(ut(),_(r,1,1,()=>{r=null}),at())},i(i){n||(v(r),n=!0)},o(i){_(r),n=!1},d(i){i&&E(t),r&&r.d(i)}}}function zr(e){let t,n,r;function i(a){e[4](a)}let u={autoWidth:!0,$$slots:{content:[MD],default:[LD]},$$scope:{ctx:e}};return e[0]!==void 0&&(u.selected=e[0]),t=new Uu({props:u}),Lu.push(()=>Pu(t,"selected",i)),{c(){$(t.$$.fragment)},l(a){B(t.$$.fragment,a)},m(a,s){S(t,a,s),r=!0},p(a,s){const o={};s&66&&(o.$$scope={dirty:s,ctx:a}),!n&&s&1&&(n=!0,o.selected=a[0],Ru(()=>n=!1)),t.$set(o)},i(a){r||(v(t.$$.fragment,a),r=!0)},o(a){_(t.$$.fragment,a),r=!1},d(a){T(t,a)}}}function LD(e){let t,n,r,i,u,a;return t=new un({props:{label:"Query"}}),r=new un({props:{label:"Variables"}}),u=new un({props:{label:"Response"}}),{c(){$(t.$$.fragment),n=G(),$(r.$$.fragment),i=G(),$(u.$$.fragment)},l(s){B(t.$$.fragment,s),n=z(s),B(r.$$.fragment,s),i=z(s),B(u.$$.fragment,s)},m(s,o){S(t,s,o),w(s,n,o),S(r,s,o),w(s,i,o),S(u,s,o),a=!0},p:k,i(s){a||(v(t.$$.fragment,s),v(r.$$.fragment,s),v(u.$$.fragment,s),a=!0)},o(s){_(t.$$.fragment,s),_(r.$$.fragment,s),_(u.$$.fragment,s),a=!1},d(s){s&&(E(n),E(i)),T(t,s),T(r,s),T(u,s)}}}function RD(e){var r;let t,n;return t=new Xn({props:{code:((r=e[5].value)==null?void 0:r.query)??"# No query generated. Try increasing the depth",language:"graphql"}}),{c(){$(t.$$.fragment)},l(i){B(t.$$.fragment,i)},m(i,u){S(t,i,u),n=!0},p(i,u){var s;const a={};u&2&&(a.code=((s=i[5].value)==null?void 0:s.query)??"# No query generated. Try increasing the depth"),t.$set(a)},i(i){n||(v(t.$$.fragment,i),n=!0)},o(i){_(t.$$.fragment,i),n=!1},d(i){T(t,i)}}}function PD(e){var r,i;let t,n;return t=new Xn({props:{code:(r=e[5].value)!=null&&r.variables?JSON.stringify(((i=e[5].value)==null?void 0:i.variables)||{},null,2):"",language:"json"}}),{c(){$(t.$$.fragment)},l(u){B(t.$$.fragment,u)},m(u,a){S(t,u,a),n=!0},p(u,a){var o,l;const s={};a&2&&(s.code=(o=u[5].value)!=null&&o.variables?JSON.stringify(((l=u[5].value)==null?void 0:l.variables)||{},null,2):""),t.$set(s)},i(u){n||(v(t.$$.fragment,u),n=!0)},o(u){_(t.$$.fragment,u),n=!1},d(u){T(t,u)}}}function jD(e){let t,n;return t=new Xn({props:{code:e[5].response?JSON.stringify(e[5].response||{},null,2):"",language:"json"}}),{c(){$(t.$$.fragment)},l(r){B(t.$$.fragment,r)},m(r,i){S(t,r,i),n=!0},p(r,i){const u={};i&2&&(u.code=r[5].response?JSON.stringify(r[5].response||{},null,2):""),t.$set(u)},i(r){n||(v(t.$$.fragment,r),n=!0)},o(r){_(t.$$.fragment,r),n=!1},d(r){T(t,r)}}}function MD(e){let t,n,r,i,u,a;return t=new an({props:{style:"padding:0",$$slots:{default:[RD]},$$scope:{ctx:e}}}),r=new an({props:{style:"padding:0",$$slots:{default:[PD]},$$scope:{ctx:e}}}),u=new an({props:{id:"third",style:"padding:0",$$slots:{default:[jD]},$$scope:{ctx:e}}}),{c(){$(t.$$.fragment),n=G(),$(r.$$.fragment),i=G(),$(u.$$.fragment)},l(s){B(t.$$.fragment,s),n=z(s),B(r.$$.fragment,s),i=z(s),B(u.$$.fragment,s)},m(s,o){S(t,s,o),w(s,n,o),S(r,s,o),w(s,i,o),S(u,s,o),a=!0},p(s,o){const l={};o&66&&(l.$$scope={dirty:o,ctx:s}),t.$set(l);const c={};o&66&&(c.$$scope={dirty:o,ctx:s}),r.$set(c);const d={};o&66&&(d.$$scope={dirty:o,ctx:s}),u.$set(d)},i(s){a||(v(t.$$.fragment,s),v(r.$$.fragment,s),v(u.$$.fragment,s),a=!0)},o(s){_(t.$$.fragment,s),_(r.$$.fragment,s),_(u.$$.fragment,s),a=!1},d(s){s&&(E(n),E(i)),T(t,s),T(r,s),T(u,s)}}}function VD(e){return{c:k,l:k,m:k,p:k,i:k,o:k,d:k}}function UD(e){let t,n,r,i={ctx:e,current:null,token:null,hasCatch:!1,pending:VD,then:xD,catch:OD,value:5,blocks:[,,,]};return Pt(n=e[1],i),{c(){t=Le(),i.block.c()},l(u){t=Le(),i.block.l(u)},m(u,a){w(u,t,a),i.block.m(u,i.anchor=a),i.mount=()=>t.parentNode,i.anchor=t,r=!0},p(u,[a]){e=u,i.ctx=e,a&2&&n!==(n=e[1])&&Pt(n,i)||Zr(i,e,a)},i(u){r||(v(i.block),r=!0)},o(u){for(let a=0;a<3;a+=1){const s=i.blocks[a];_(s)}r=!1},d(u){u&&E(t),i.block.d(u),i.token=null,i=null}}}function qD(e,t,n){let r;Yr(e,it,o=>n(1,r=o));let{type:i}=t,{field:u}=t,a=0;function s(o){a=o,n(0,a)}return e.$$set=o=>{"type"in o&&n(2,i=o.type),"field"in o&&n(3,u=o.field)},e.$$.update=()=>{e.$$.dirty&12&&it.setField(u,i)},[a,r,i,u,s]}class zD extends ye{constructor(t){super(),ve(this,t,qD,UD,Ee,{type:2,field:3})}}function GD(e){var s;let t=e[1].name+"",n,r,i,u,a;return r=new ga({props:{type:e[0]}}),u=new qu({props:{directives:(s=e[1].astNode)==null?void 0:s.directives}}),{c(){n=se(t),$(r.$$.fragment),i=G(),$(u.$$.fragment)},l(o){n=ae(o,t),B(r.$$.fragment,o),i=z(o),B(u.$$.fragment,o)},m(o,l){w(o,n,l),S(r,o,l),w(o,i,l),S(u,o,l),a=!0},p(o,l){var D;(!a||l&2)&&t!==(t=o[1].name+"")&&Pe(n,t);const c={};l&1&&(c.type=o[0]),r.$set(c);const d={};l&2&&(d.directives=(D=o[1].astNode)==null?void 0:D.directives),u.$set(d)},i(o){a||(v(r.$$.fragment,o),v(u.$$.fragment,o),a=!0)},o(o){_(r.$$.fragment,o),_(u.$$.fragment,o),a=!1},d(o){o&&(E(n),E(i)),T(r,o),T(u,o)}}}function Gr(e){let t,n,r,i;return t=new Lt({props:{id:"arguments",depth:2,$$slots:{default:[KD]},$$scope:{ctx:e}}}),r=new zu({props:{data:e[1].args}}),{c(){$(t.$$.fragment),n=G(),$(r.$$.fragment)},l(u){B(t.$$.fragment,u),n=z(u),B(r.$$.fragment,u)},m(u,a){S(t,u,a),w(u,n,a),S(r,u,a),i=!0},p(u,a){const s={};a&4&&(s.$$scope={dirty:a,ctx:u}),t.$set(s);const o={};a&2&&(o.data=u[1].args),r.$set(o)},i(u){i||(v(t.$$.fragment,u),v(r.$$.fragment,u),i=!0)},o(u){_(t.$$.fragment,u),_(r.$$.fragment,u),i=!1},d(u){u&&E(n),T(t,u),T(r,u)}}}function KD(e){let t;return{c(){t=se("Arguments")},l(n){t=ae(n,"Arguments")},m(n,r){w(n,t,r)},d(n){n&&E(t)}}}function Kr(e){let t,n,r,i,u,a,s;return t=new Lt({props:{id:"response",depth:2,$$slots:{default:[YD]},$$scope:{ctx:e}}}),u=new Gu({props:{type:e[1].type}}),{c(){$(t.$$.fragment),n=G(),r=Ke("p"),i=se("Returns "),$(u.$$.fragment),a=se(".")},l(o){B(t.$$.fragment,o),n=z(o),r=Ge(o,"P",{});var l=O(r);i=ae(l,"Returns "),B(u.$$.fragment,l),a=ae(l,"."),l.forEach(E)},m(o,l){S(t,o,l),w(o,n,l),w(o,r,l),I(r,i),S(u,r,null),I(r,a),s=!0},p(o,l){const c={};l&4&&(c.$$scope={dirty:l,ctx:o}),t.$set(c);const d={};l&2&&(d.type=o[1].type),u.$set(d)},i(o){s||(v(t.$$.fragment,o),v(u.$$.fragment,o),s=!0)},o(o){_(t.$$.fragment,o),_(u.$$.fragment,o),s=!1},d(o){o&&(E(n),E(r)),T(t,o),T(u)}}}function YD(e){let t;return{c(){t=se("Response")},l(n){t=ae(n,"Response")},m(n,r){w(n,t,r)},d(n){n&&E(t)}}}function JD(e){let t;return{c(){t=se("Example")},l(n){t=ae(n,"Example")},m(n,r){w(n,t,r)},d(n){n&&E(t)}}}function WD(e){let t,n,r,i,u,a,s,o,l,c,d,D,p;n=new da({props:{deprecationReason:e[1].deprecationReason}}),i=new Lt({props:{id:"title",depth:1,$$slots:{default:[GD]},$$scope:{ctx:e}}}),a=new Jr({props:{source:e[1].description}});let f=e[1].args.length>0&&Gr(e),h=e[1].type&&Kr(e);return c=new Lt({props:{id:"example",depth:4,$$slots:{default:[JD]},$$scope:{ctx:e}}}),D=new zD({props:{type:e[0],field:e[1]}}),{c(){t=Ke("section"),$(n.$$.fragment),r=G(),$(i.$$.fragment),u=G(),$(a.$$.fragment),s=G(),f&&f.c(),o=G(),h&&h.c(),l=G(),$(c.$$.fragment),d=G(),$(D.$$.fragment)},l(F){t=Ge(F,"SECTION",{});var g=O(t);B(n.$$.fragment,g),r=z(g),B(i.$$.fragment,g),u=z(g),B(a.$$.fragment,g),s=z(g),f&&f.l(g),o=z(g),h&&h.l(g),l=z(g),B(c.$$.fragment,g),d=z(g),B(D.$$.fragment,g),g.forEach(E)},m(F,g){w(F,t,g),S(n,t,null),I(t,r),S(i,t,null),I(t,u),S(a,t,null),I(t,s),f&&f.m(t,null),I(t,o),h&&h.m(t,null),I(t,l),S(c,t,null),I(t,d),S(D,t,null),p=!0},p(F,[g]){const A={};g&2&&(A.deprecationReason=F[1].deprecationReason),n.$set(A);const b={};g&7&&(b.$$scope={dirty:g,ctx:F}),i.$set(b);const C={};g&2&&(C.source=F[1].description),a.$set(C),F[1].args.length>0?f?(f.p(F,g),g&2&&v(f,1)):(f=Gr(F),f.c(),v(f,1),f.m(t,o)):f&&(ut(),_(f,1,1,()=>{f=null}),at()),F[1].type?h?(h.p(F,g),g&2&&v(h,1)):(h=Kr(F),h.c(),v(h,1),h.m(t,l)):h&&(ut(),_(h,1,1,()=>{h=null}),at());const N={};g&4&&(N.$$scope={dirty:g,ctx:F}),c.$set(N);const L={};g&1&&(L.type=F[0]),g&2&&(L.field=F[1]),D.$set(L)},i(F){p||(v(n.$$.fragment,F),v(i.$$.fragment,F),v(a.$$.fragment,F),v(f),v(h),v(c.$$.fragment,F),v(D.$$.fragment,F),p=!0)},o(F){_(n.$$.fragment,F),_(i.$$.fragment,F),_(a.$$.fragment,F),_(f),_(h),_(c.$$.fragment,F),_(D.$$.fragment,F),p=!1},d(F){F&&E(t),T(n),T(i),T(a),f&&f.d(),h&&h.d(),T(c),T(D)}}}function HD(e,t,n){let{type:r}=t,{field:i}=t;return e.$$set=u=>{"type"in u&&n(0,r=u.type),"field"in u&&n(1,i=u.field)},[r,i]}class pf extends ye{constructor(t){super(),ve(this,t,HD,WD,Ee,{type:0,field:1})}}export{pf as F,Vt as Q}; diff --git a/public/docs/_app/immutable/chunks/FieldDetails.apWU_lm9.js b/public/docs/_app/immutable/chunks/FieldDetails.apWU_lm9.js new file mode 100644 index 0000000..1318722 --- /dev/null +++ b/public/docs/_app/immutable/chunks/FieldDetails.apWU_lm9.js @@ -0,0 +1,88 @@ +var _u=Object.defineProperty;var Au=(e,t,n)=>t in e?_u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ee=(e,t,n)=>Au(e,typeof t!="symbol"?t+"":t,n);import{a8 as ku,a9 as wu,X as wt,T as Nu,s as Ee,v as Z,a4 as M,a5 as V,g as $,d as E,k as Q,a6 as me,l as N,m as O,n as k,u as ge,w as Fe,t as ae,j as se,o as Pe,q as Le,e as Ge,f as Ke,aa as tn,b as z,c as G,p as Gr,L as Tu,D as Su,a7 as Bu}from"./scheduler.6x_t8-M_.js";import{g as ut,b as _,e as at,t as C,S as ye,i as Ce,c as T,a as S,m as B,d as I,f as Iu}from"./index.DNIXW-5M.js";import{I as Ou,C as Kr,T as $u,e as xu,f as Lu,g as nn,h as rn,A as xt}from"./PreviousNextPage.CUJbWA2C.js";import{D as Ru,A as Pu,c as ju}from"./ArgsList.D6zwwkHp.js";import{i as vt,_ as re,M as Mu,v as Nn,t as Lt,J as Yr,r as Jr,F as Vu,E as Uu,N as Tn,H as hn,I as Wr,G as Hr,O as qu,y as zu}from"./pages.BSRgrbSV.js";import"./prism-json.CMKj7kFV.js";import{B as Nt}from"./Button.CQp1b1PP.js";import{w as Gu}from"./index.DPdU9_CZ.js";function Rt(e,t){const n=t.token={};function r(i,u,a,s){if(t.token!==n)return;t.resolved=s;let o=t.ctx;a!==void 0&&(o=o.slice(),o[a]=s);const l=i&&(t.current=i)(o);let c=!1;t.block&&(t.blocks?t.blocks.forEach((d,D)=>{D!==u&&d&&(ut(),_(d,1,1,()=>{t.blocks[D]===d&&(t.blocks[D]=null)}),at())}):t.block.d(1),l.c(),C(l,1),l.m(t.mount(),t.anchor),c=!0),t.block=l,t.blocks&&(t.blocks[u]=l),c&&Nu()}if(ku(e)){const i=wu();if(e.then(u=>{wt(i),r(t.then,1,t.value,u),wt(null)},u=>{if(wt(i),r(t.catch,2,t.error,u),wt(null),!t.hasCatch)throw u}),t.current!==t.pending)return r(t.pending,0),!0}else{if(t.current!==t.then)return r(t.then,1,t.value,e),!0;t.resolved=e}}function Qr(e,t,n){const r=t.slice(),{resolved:i}=e;e.current===e.then&&(r[e.value]=i),e.current===e.catch&&(r[e.error]=i),e.block.p(r,n)}function Qn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){N(r,t,i),O(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ku(e){let t,n,r=e[1]&&Qn(e),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],u={};for(let a=0;a{n(5,t=Z(Z({},t),Fe(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Fe(t),[s,o,i,a,r]}class Ju extends ye{constructor(t){super(),Ce(this,t,Yu,Ku,Ee,{size:0,title:1})}}function Xn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){N(r,t,i),O(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Wu(e){let t,n,r,i=e[1]&&Xn(e),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],a={};for(let s=0;s{n(5,t=Z(Z({},t),Fe(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Fe(t),[s,o,i,a,r]}class Qu extends ye{constructor(t){super(),Ce(this,t,Hu,Wu,Ee,{size:0,title:1})}}function Zn(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){N(r,t,i),O(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Xu(e){let t,n,r,i=e[1]&&Zn(e),u=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],a={};for(let s=0;s{n(5,t=Z(Z({},t),Fe(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Fe(t),[s,o,i,a,r]}class er extends ye{constructor(t){super(),Ce(this,t,Zu,Xu,Ee,{size:0,title:1})}}function tr(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){N(r,t,i),O(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function ea(e){let t,n,r,i,u=e[1]&&tr(e),a=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],s={};for(let o=0;o{n(5,t=Z(Z({},t),Fe(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Fe(t),[s,o,i,a,r]}class nr extends ye{constructor(t){super(),Ce(this,t,ta,ea,Ee,{size:0,title:1})}}function rr(e){let t,n;return{c(){t=M("title"),n=ae(e[1])},l(r){t=V(r,"title",{});var i=$(t);n=se(i,e[1]),i.forEach(E)},m(r,i){N(r,t,i),O(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function na(e){let t,n,r=e[1]&&rr(e),i=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:e[0]},{height:e[0]},e[2],e[3]],u={};for(let a=0;a{n(5,t=Z(Z({},t),Fe(l))),n(3,a=ge(t,u)),"size"in l&&n(0,s=l.size),"title"in l&&n(1,o=l.title)},e.$$.update=()=>{n(4,r=t["aria-label"]||t["aria-labelledby"]||o),n(2,i={"aria-hidden":r?void 0:!0,role:r?"img":void 0,focusable:Number(t.tabindex)===0?!0:void 0})},t=Fe(t),[s,o,i,a,r]}class ia extends ye{constructor(t){super(),Ce(this,t,ra,na,Ee,{size:0,title:1})}}function ir(e){let t,n;return t=new Ou({props:{hideCloseButton:!0,lowContrast:!0,kind:"warning",$$slots:{default:[ua]},$$scope:{ctx:e}}}),{c(){T(t.$$.fragment)},l(r){S(t.$$.fragment,r)},m(r,i){B(t,r,i),n=!0},p(r,i){const u={};i&3&&(u.$$scope={dirty:i,ctx:r}),t.$set(u)},i(r){n||(C(t.$$.fragment,r),n=!0)},o(r){_(t.$$.fragment,r),n=!1},d(r){I(t,r)}}}function ua(e){let t,n,r;return n=new Kr({props:{source:`**Deprecated**: ${String(e[0])}`}}),{c(){t=Ge("div"),T(n.$$.fragment)},l(i){t=Ke(i,"DIV",{});var u=$(t);S(n.$$.fragment,u),u.forEach(E)},m(i,u){N(i,t,u),B(n,t,null),r=!0},p(i,u){const a={};u&1&&(a.source=`**Deprecated**: ${String(i[0])}`),n.$set(a)},i(i){r||(C(n.$$.fragment,i),r=!0)},o(i){_(n.$$.fragment,i),r=!1},d(i){i&&E(t),I(n)}}}function aa(e){let t,n,r=e[0]&&ir(e);return{c(){r&&r.c(),t=Le()},l(i){r&&r.l(i),t=Le()},m(i,u){r&&r.m(i,u),N(i,t,u),n=!0},p(i,[u]){i[0]?r?(r.p(i,u),u&1&&C(r,1)):(r=ir(i),r.c(),C(r,1),r.m(t.parentNode,t)):r&&(ut(),_(r,1,1,()=>{r=null}),at())},i(i){n||(C(r),n=!0)},o(i){_(r),n=!1},d(i){i&&E(t),r&&r.d(i)}}}function sa(e,t,n){let{deprecationReason:r}=t;return e.$$set=i=>{"deprecationReason"in i&&n(0,r=i.deprecationReason)},[r]}class oa extends ye{constructor(t){super(),Ce(this,t,sa,aa,Ee,{deprecationReason:0})}}function la(e){let t=re.capitalize(e[0].toLowerCase())+"",n;return{c(){n=ae(t)},l(r){n=se(r,t)},m(r,i){N(r,n,i)},p(r,i){i&1&&t!==(t=re.capitalize(r[0].toLowerCase())+"")&&Pe(n,t)},d(r){r&&E(n)}}}function ca(e){let t,n;return t=new $u({props:{type:"green",$$slots:{default:[la]},$$scope:{ctx:e}}}),{c(){T(t.$$.fragment)},l(r){S(t.$$.fragment,r)},m(r,i){B(t,r,i),n=!0},p(r,[i]){const u={};i&3&&(u.$$scope={dirty:i,ctx:r}),t.$set(u)},i(r){n||(C(t.$$.fragment,r),n=!0)},o(r){_(t.$$.fragment,r),n=!1},d(r){I(t,r)}}}function Da(e,t,n){let{type:r}=t;return e.$$set=i=>{"type"in i&&n(0,r=i.type)},[r]}class fa extends ye{constructor(t){super(),Ce(this,t,Da,ca,Ee,{type:0})}}var X;(function(e){e.NEVER_NULL="never",e.ALWAYS_NULL="always",e.SOMETIMES_NULL="sometimes"})(X||(X={}));class Xr extends Error{constructor(n,r){super(r);ee(this,"type");this.type=n}}var pa=Object.defineProperty,Zr=(e,t)=>{for(var n in t)pa(e,n,{get:t[n],enumerable:!0})},ei={};Zr(ei,{languages:()=>es,options:()=>rs,parsers:()=>li,printers:()=>Us});var da=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},un=da,ha="indent",ma="group",ga="if-break",Sn="line",Fa="break-parent",Ea=()=>{},ya=Ea;function te(e){return{type:ha,contents:e}}function oe(e,t={}){return ya(t.expandedStates),{type:ma,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function de(e,t="",n={}){return{type:ga,breakContents:e,flatContents:t,groupId:n.groupId}}var Ca={type:Fa},va={type:Sn,hard:!0},st={type:Sn},R={type:Sn,soft:!0},P=[va,Ca];function Y(e,t){let n=[];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:u}=t,a=n;for(;a>=0&&a0}var ri=$a,xa=class extends Error{constructor(n,r,i="type"){super(`Unexpected ${r} node ${i}: ${JSON.stringify(n[i])}.`);ee(this,"name","UnexpectedNodeError");this.node=n}},La=xa,pt=null;function mt(e){if(pt!==null&&typeof pt.property){let t=pt;return pt=mt.prototype=null,t}return pt=mt.prototype=e??Object.create(null),new mt}var Ra=10;for(let e=0;e<=Ra;e++)mt();function Pa(e){return mt(e)}function ja(e,t="type"){Pa(e);function n(r){let i=r[t],u=e[i];if(!Array.isArray(u))throw Object.assign(new Error(`Missing visitor keys for '${i}'.`),{node:r});return u}return n}var Ma=ja,Va=class{constructor(t,n,r){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}},ii=class{constructor(t,n,r,i,u,a){this.kind=t,this.start=n,this.end=r,this.line=i,this.column=u,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}},ui={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};new Set(Object.keys(ui));var Ze;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Ze||(Ze={}));var Ua=Ma(ui,"kind"),qa=Ua;function ai(e){return e.loc.start}function si(e){return e.loc.end}function za(e){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/u.test(e)}function Ga(e){return`# @format + +`+e}function Ka(e,t,n){let{node:r}=e;if(!r.description)return"";let i=[n("description")];return r.kind==="InputValueDefinition"&&!r.description.block?i.push(st):i.push(P),i}var _e=Ka;function Ya(e,t,n){let{node:r}=e;switch(r.kind){case"Document":return[...Y(P,pe(e,t,n,"definitions")),P];case"OperationDefinition":{let i=t.originalText[ai(r)]!=="{",u=!!r.name;return[i?r.operation:"",i&&u?[" ",n("name")]:"",i&&!u&&ri(r.variableDefinitions)?" ":"",ur(e,n),H(e,n,r),!i&&!u?"":" ",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),ur(e,n)," on ",n("typeCondition"),H(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",te([P,Y(P,pe(e,t,n,"selections"))]),P,"}"];case"Field":return oe([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?oe(["(",te([R,Y([de("",", "),R],pe(e,t,n,"arguments"))]),R,")"]):"",H(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":if(r.block){let i=un(!1,r.value,'"""',String.raw`\"""`).split(` +`);return i.length===1&&(i[0]=i[0].trim()),i.every(u=>u==="")&&(i.length=0),Y(P,['"""',...i,'"""'])}return['"',un(!1,un(!1,r.value,/["\\]/gu,String.raw`\$&`),` +`,String.raw`\n`),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return oe(["[",te([R,Y([de("",", "),R],e.map(n,"values"))]),R,"]"]);case"ObjectValue":{let i=t.bracketSpacing&&r.fields.length>0?" ":"";return oe(["{",i,te([R,Y([de("",", "),R],e.map(n,"fields"))]),R,de("",i),"}"])}case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?oe(["(",te([R,Y([de("",", "),R],pe(e,t,n,"arguments"))]),R,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",H(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":case"InputObjectTypeExtension":case"InputObjectTypeDefinition":case"InterfaceTypeExtension":case"InterfaceTypeDefinition":{let{kind:i}=r,u=[];return i.endsWith("TypeDefinition")?u.push(_e(e,t,n)):u.push("extend "),i.startsWith("ObjectType")?u.push("type"):i.startsWith("InputObjectType")?u.push("input"):u.push("interface"),u.push(" ",n("name")),!i.startsWith("InputObjectType")&&r.interfaces.length>0&&u.push(" implements ",...Ha(e,t,n)),u.push(H(e,n,r)),r.fields.length>0&&u.push([" {",te([P,Y(P,pe(e,t,n,"fields"))]),P,"}"]),u}case"FieldDefinition":return[_e(e,t,n),n("name"),r.arguments.length>0?oe(["(",te([R,Y([de("",", "),R],pe(e,t,n,"arguments"))]),R,")"]):"",": ",n("type"),H(e,n,r)];case"DirectiveDefinition":return[_e(e,t,n),"directive ","@",n("name"),r.arguments.length>0?oe(["(",te([R,Y([de("",", "),R],pe(e,t,n,"arguments"))]),R,")"]):"",r.repeatable?" repeatable":""," on ",...Y(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[_e(e,t,n),r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),H(e,n,r),r.values.length>0?[" {",te([P,Y(P,pe(e,t,n,"values"))]),P,"}"]:""];case"EnumValueDefinition":return[_e(e,t,n),n("name"),H(e,n,r)];case"InputValueDefinition":return[_e(e,t,n),n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",H(e,n,r)];case"SchemaExtension":return["extend schema",H(e,n,r),...r.operationTypes.length>0?[" {",te([P,Y(P,pe(e,t,n,"operationTypes"))]),P,"}"]:[]];case"SchemaDefinition":return[_e(e,t,n),"schema",H(e,n,r)," {",r.operationTypes.length>0?te([P,Y(P,pe(e,t,n,"operationTypes"))]):"",P,"}"];case"OperationTypeDefinition":return[r.operation,": ",n("type")];case"FragmentSpread":return["...",n("name"),H(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",H(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return oe([_e(e,t,n),oe([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),H(e,n,r),r.types.length>0?[" =",de(""," "),te([de([st,"| "]),Y([st,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[_e(e,t,n),r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),H(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new La(r,"Graphql","kind")}}function H(e,t,n){if(n.directives.length===0)return"";let r=Y(st,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?oe([st,r]):[" ",oe(te([R,r]))]}function pe(e,t,n,r){return e.map(({isLast:i,node:u})=>{let a=n();return!i&&Oa(t.originalText,si(u))?[a,P]:a},r)}function Ja(e){return e.kind!=="Comment"}function Wa(e){let t=e.node;if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function Ha(e,t,n){let{node:r}=e,i=[],{interfaces:u}=r,a=e.map(n,"interfaces");for(let s=0;sr.value.trim()==="prettier-ignore")}var Xa={print:Ya,massageAstNode:oi,hasPrettierIgnore:Qa,insertPragma:Ga,printComment:Wa,canAttachComment:Ja,getVisitorKeys:qa},Za=Xa,es=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",parsers:["graphql"],vscodeLanguageIds:["graphql"]}],ts={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},ns={bracketSpacing:ts.bracketSpacing},rs=ns,li={};Zr(li,{graphql:()=>Vs});function is(e){return typeof e=="object"&&e!==null}function us(e,t){throw new Error("Unexpected invariant triggered.")}var as=/\r\n|[\n\r]/g;function mn(e,t){let n=0,r=1;for(let i of e.body.matchAll(as)){if(typeof i.index=="number"||us(),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function ss(e){return ci(e.source,mn(e.source,e.start))}function ci(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,u=e.locationOffset.line-1,a=t.line+u,s=t.line===1?n:0,o=t.column+s,l=`${e.name}:${a}:${o} +`,c=r.split(/\r\n|[\n\r]/g),d=c[i];if(d.length>120){let D=Math.floor(o/80),p=o%80,f=[];for(let h=0;h["|",h]),["|","^".padStart(p)],["|",f[D+1]]])}return l+ar([[`${a-1} |`,c[i-1]],[`${a} |`,d],["|","^".padStart(o)],[`${a+1} |`,c[i+1]]])}function ar(e){let t=e.filter(([r,i])=>i!==void 0),n=Math.max(...t.map(([r])=>r.length));return t.map(([r,i])=>r.padStart(n)+(i?" "+i:"")).join(` +`)}function os(e){let t=e[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}var ls=class Di extends Error{constructor(t,...n){var r,i,u;let{nodes:a,source:s,positions:o,path:l,originalError:c,extensions:d}=os(n);super(t),this.name="GraphQLError",this.path=l??void 0,this.originalError=c??void 0,this.nodes=sr(Array.isArray(a)?a:a?[a]:void 0);let D=sr((r=this.nodes)===null||r===void 0?void 0:r.map(f=>f.loc).filter(f=>f!=null));this.source=s??(D==null||(i=D[0])===null||i===void 0?void 0:i.source),this.positions=o??(D==null?void 0:D.map(f=>f.start)),this.locations=o&&s?o.map(f=>mn(s,f)):D==null?void 0:D.map(f=>mn(f.source,f.start));let p=is(c==null?void 0:c.extensions)?c==null?void 0:c.extensions:void 0;this.extensions=(u=d??p)!==null&&u!==void 0?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),c!=null&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,Di):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(let n of this.nodes)n.loc&&(t+=` + +`+ss(n.loc));else if(this.source&&this.locations)for(let n of this.locations)t+=` + +`+ci(this.source,n);return t}toJSON(){let t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}};function sr(e){return e===void 0||e.length===0?void 0:e}function q(e,t,n){return new ls(`Syntax Error: ${n}`,{source:e,positions:[t]})}var gn;(function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(gn||(gn={}));var y;(function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(y||(y={}));function cs(e){return e===9||e===32}function yt(e){return e>=48&&e<=57}function fi(e){return e>=97&&e<=122||e>=65&&e<=90}function pi(e){return fi(e)||e===95}function Ds(e){return fi(e)||yt(e)||e===95}function fs(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;as===0?a:a.slice(n)).slice((t=r)!==null&&t!==void 0?t:0,i+1)}function ps(e){let t=0;for(;t=0&&e<=55295||e>=57344&&e<=1114111}function qt(e,t){return di(e.charCodeAt(t))&&hi(e.charCodeAt(t+1))}function di(e){return e>=55296&&e<=56319}function hi(e){return e>=56320&&e<=57343}function Je(e,t){let n=e.source.body.codePointAt(t);if(n===void 0)return m.EOF;if(n>=32&&n<=126){let r=String.fromCodePoint(n);return r==='"'?`'"'`:`"${r}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function j(e,t,n,r,i){let u=e.line,a=1+n-e.lineStart;return new ii(t,n,r,u,a,i)}function ms(e,t){let n=e.source.body,r=n.length,i=t;for(;i=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function vs(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw q(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function bs(e,t){let n=e.source.body,r=n.length,i=e.lineStart,u=t+3,a=u,s="",o=[];for(;u2?"["+Ts(e)+"]":"{ "+n.map(([r,i])=>r+": "+zt(i,t)).join(", ")+" }"}function Ns(e,t){if(e.length===0)return"[]";if(t.length>2)return"[Array]";let n=Math.min(10,e.length),r=e.length-n,i=[];for(let u=0;u1&&i.push(`... ${r} more items`),"["+i.join(", ")+"]"}function Ts(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof e.constructor=="function"){let n=e.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}var Ss=globalThis.process&&!0,Bs=Ss?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if(typeof e=="object"&&e!==null){var n;let r=t.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:(n=e.constructor)===null||n===void 0?void 0:n.name;if(r===i){let u=mi(e);throw new Error(`Cannot use ${r} "${u}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1},gi=class{constructor(t,n="GraphQL request",r={line:1,column:1}){typeof t=="string"||sn(!1,`Body must be a string. Received: ${mi(t)}.`),this.body=t,this.name=n,this.locationOffset=r,this.locationOffset.line>0||sn(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||sn(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}};function Is(e){return Bs(e,gi)}function Os(e,t){return new $s(e,t).parseDocument()}var $s=class{constructor(t,n={}){let r=Is(t)?t:new gi(t);this._lexer=new ds(r),this._options=n,this._tokenCounter=0}parseName(){let t=this.expectToken(m.NAME);return this.node(t,{kind:y.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF)})}parseDefinition(){if(this.peek(m.BRACE_L))return this.parseOperationDefinition();let t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===m.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw q(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let t=this._lexer.token;if(this.peek(m.BRACE_L))return this.node(t,{kind:y.OPERATION_DEFINITION,operation:Ze.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType(),r;return this.peek(m.NAME)&&(r=this.parseName()),this.node(t,{kind:y.OPERATION_DEFINITION,operation:n,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let t=this.expectToken(m.NAME);switch(t.value){case"query":return Ze.QUERY;case"mutation":return Ze.MUTATION;case"subscription":return Ze.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let t=this._lexer.token;return this.expectToken(m.DOLLAR),this.node(t,{kind:y.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R)})}parseSelection(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()}parseField(){let t=this._lexer.token,n=this.parseName(),r,i;return this.expectOptionalToken(m.COLON)?(r=n,i=this.parseName()):i=n,this.node(t,{kind:y.FIELD,alias:r,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){let n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,n,m.PAREN_R)}parseArgument(t=!1){let n=this._lexer.token,r=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:y.ARGUMENT,name:r,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let t=this._lexer.token;this.expectToken(m.SPREAD);let n=this.expectOptionalKeyword("on");return!n&&this.peek(m.NAME)?this.node(t,{kind:y.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:y.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:y.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:y.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){let n=this._lexer.token;switch(n.kind){case m.BRACKET_L:return this.parseList(t);case m.BRACE_L:return this.parseObject(t);case m.INT:return this.advanceLexer(),this.node(n,{kind:y.INT,value:n.value});case m.FLOAT:return this.advanceLexer(),this.node(n,{kind:y.FLOAT,value:n.value});case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:y.BOOLEAN,value:!0});case"false":return this.node(n,{kind:y.BOOLEAN,value:!1});case"null":return this.node(n,{kind:y.NULL});default:return this.node(n,{kind:y.ENUM,value:n.value})}case m.DOLLAR:if(t)if(this.expectToken(m.DOLLAR),this._lexer.token.kind===m.NAME){let r=this._lexer.token.value;throw q(this._lexer.source,n.start,`Unexpected variable "$${r}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:y.STRING,value:t.value,block:t.kind===m.BLOCK_STRING})}parseList(t){let n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:y.LIST,values:this.any(m.BRACKET_L,n,m.BRACKET_R)})}parseObject(t){let n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:y.OBJECT,fields:this.any(m.BRACE_L,n,m.BRACE_R)})}parseObjectField(t){let n=this._lexer.token,r=this.parseName();return this.expectToken(m.COLON),this.node(n,{kind:y.OBJECT_FIELD,name:r,value:this.parseValueLiteral(t)})}parseDirectives(t){let n=[];for(;this.peek(m.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){let n=this._lexer.token;return this.expectToken(m.AT),this.node(n,{kind:y.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){let t=this._lexer.token,n;if(this.expectOptionalToken(m.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(m.BRACKET_R),n=this.node(t,{kind:y.LIST_TYPE,type:r})}else n=this.parseNamedType();return this.expectOptionalToken(m.BANG)?this.node(t,{kind:y.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:y.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return this.node(t,{kind:y.SCHEMA_DEFINITION,description:n,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let t=this._lexer.token,n=this.parseOperationType();this.expectToken(m.COLON);let r=this.parseNamedType();return this.node(t,{kind:y.OPERATION_TYPE_DEFINITION,operation:n,type:r})}parseScalarTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(t,{kind:y.SCALAR_TYPE_DEFINITION,description:n,name:r,directives:i})}parseObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:y.OBJECT_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:u,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(m.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)}parseFieldDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(m.COLON);let u=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(t,{kind:y.FIELD_DEFINITION,description:n,name:r,arguments:i,type:u,directives:a})}parseArgumentDefs(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)}parseInputValueDef(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(m.COLON);let i=this.parseTypeReference(),u;this.expectOptionalToken(m.EQUALS)&&(u=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:y.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:u,directives:a})}parseInterfaceTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(t,{kind:y.INTERFACE_TYPE_DEFINITION,description:n,name:r,interfaces:i,directives:u,fields:a})}parseUnionTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseUnionMemberTypes();return this.node(t,{kind:y.UNION_TYPE_DEFINITION,description:n,name:r,directives:i,types:u})}parseUnionMemberTypes(){return this.expectOptionalToken(m.EQUALS)?this.delimitedMany(m.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseEnumValuesDefinition();return this.node(t,{kind:y.ENUM_TYPE_DEFINITION,description:n,name:r,directives:i,values:u})}parseEnumValuesDefinition(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)}parseEnumValueDefinition(){let t=this._lexer.token,n=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(t,{kind:y.ENUM_VALUE_DEFINITION,description:n,name:r,directives:i})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw q(this._lexer.source,this._lexer.token.start,`${Tt(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),u=this.parseInputFieldsDefinition();return this.node(t,{kind:y.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:r,directives:i,fields:u})}parseInputFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)}parseTypeSystemExtension(){let t=this._lexer.lookahead();if(t.kind===m.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(n.length===0&&r.length===0)throw this.unexpected();return this.node(t,{kind:y.SCHEMA_EXTENSION,directives:n,operationTypes:r})}parseScalarTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();if(r.length===0)throw this.unexpected();return this.node(t,{kind:y.SCALAR_TYPE_EXTENSION,name:n,directives:r})}parseObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:y.OBJECT_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:u})}parseInterfaceTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(r.length===0&&i.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:y.INTERFACE_TYPE_EXTENSION,name:n,interfaces:r,directives:i,fields:u})}parseUnionTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:y.UNION_TYPE_EXTENSION,name:n,directives:r,types:i})}parseEnumTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:y.ENUM_TYPE_EXTENSION,name:n,directives:r,values:i})}parseInputObjectTypeExtension(){let t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(r.length===0&&i.length===0)throw this.unexpected();return this.node(t,{kind:y.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:r,fields:i})}parseDirectiveDefinition(){let t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(m.AT);let r=this.parseName(),i=this.parseArgumentDefs(),u=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(t,{kind:y.DIRECTIVE_DEFINITION,description:n,name:r,arguments:i,repeatable:u,locations:a})}parseDirectiveLocations(){return this.delimitedMany(m.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(gn,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new Va(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){let n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw q(this._lexer.source,n.start,`Expected ${Fi(t)}, found ${Tt(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){let n=this._lexer.token;if(n.kind===m.NAME&&n.value===t)this.advanceLexer();else throw q(this._lexer.source,n.start,`Expected "${t}", found ${Tt(n)}.`)}expectOptionalKeyword(t){let n=this._lexer.token;return n.kind===m.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){let n=t??this._lexer.token;return q(this._lexer.source,n.start,`Unexpected ${Tt(n)}.`)}any(t,n,r){this.expectToken(t);let i=[];for(;!this.expectOptionalToken(r);)i.push(n.call(this));return i}optionalMany(t,n,r){if(this.expectOptionalToken(t)){let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}return[]}many(t,n,r){this.expectToken(t);let i=[];do i.push(n.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(t,n){this.expectOptionalToken(t);let r=[];do r.push(n.call(this));while(this.expectOptionalToken(t));return r}advanceLexer(){let{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==m.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw q(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}};function Tt(e){let t=e.value;return Fi(e.kind)+(t!=null?` "${t}"`:"")}function Fi(e){return hs(e)?`"${e}"`:e}function xs(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var Ls=xs;function Rs(e){let t=[],{startToken:n,endToken:r}=e.loc;for(let i=n;i!==r;i=i.next)i.kind==="Comment"&&t.push({...i,loc:{start:i.start,end:i.end}});return t}var Ps={allowLegacyFragmentVariables:!0};function js(e){if((e==null?void 0:e.name)==="GraphQLError"){let{message:t,locations:[n]}=e;return Ls(t,{loc:{start:n},cause:e})}return e}function Ms(e){let t;try{t=Os(e,Ps)}catch(n){throw js(n)}return t.comments=Rs(t),t}var Vs={parse:Ms,astFormat:"graphql",hasPragma:za,locStart:ai,locEnd:si},Us={graphql:Za},qs=ei,zs=Object.create,Gt=Object.defineProperty,Gs=Object.getOwnPropertyDescriptor,Ks=Object.getOwnPropertyNames,Ys=Object.getPrototypeOf,Js=Object.prototype.hasOwnProperty,Ei=e=>{throw TypeError(e)},Ws=(e,t)=>()=>(e&&(t=e(e=0)),t),In=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kt=(e,t)=>{for(var n in t)Gt(e,n,{get:t[n],enumerable:!0})},yi=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ks(t))!Js.call(e,i)&&i!==n&&Gt(e,i,{get:()=>t[i],enumerable:!(r=Gs(t,i))||r.enumerable});return e},Yt=(e,t,n)=>(n=e!=null?zs(Ys(e)):{},yi(Gt(n,"default",{value:e,enumerable:!0}),e)),Hs=e=>yi(Gt({},"__esModule",{value:!0}),e),Qs=(e,t,n)=>t.has(e)||Ei("Cannot "+n),Xs=(e,t,n)=>t.has(e)?Ei("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),dt=(e,t,n)=>(Qs(e,t,"access private method"),n),On=In((e,t)=>{var n=new Proxy(String,{get:()=>n});t.exports=n}),Ci={};Kt(Ci,{default:()=>bi,shouldHighlight:()=>vi});var vi,bi,Zs=Ws(()=>{vi=()=>!1,bi=String}),eo=In((e,t)=>{var n=String,r=function(){return{isColorSupported:!1,reset:n,bold:n,dim:n,italic:n,underline:n,inverse:n,hidden:n,strikethrough:n,black:n,red:n,green:n,yellow:n,blue:n,magenta:n,cyan:n,white:n,gray:n,bgBlack:n,bgRed:n,bgGreen:n,bgYellow:n,bgBlue:n,bgMagenta:n,bgCyan:n,bgWhite:n}};t.exports=r(),t.exports.createColors=r}),to=In(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=p,e.default=f;var t=(Zs(),Hs(Ci)),n=i(eo(),!0);function r(h){if(typeof WeakMap!="function")return null;var g=new WeakMap,F=new WeakMap;return(r=function(A){return A?F:g})(h)}function i(h,g){if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var F=r(g);if(F&&F.has(h))return F.get(h);var A={__proto__:null},b=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var v in h)if(v!=="default"&&{}.hasOwnProperty.call(h,v)){var w=b?Object.getOwnPropertyDescriptor(h,v):null;w&&(w.get||w.set)?Object.defineProperty(A,v,w):A[v]=h[v]}return A.default=h,F&&F.set(h,A),A}var u=n.default,a=(h,g)=>F=>h(g(F)),s;function o(h){return h?(s!=null||(s=(0,n.createColors)(!0)),s):u}var l=!1;function c(h){return{gutter:h.gray,marker:a(h.red,h.bold),message:a(h.red,h.bold)}}var d=/\r\n|[\n\r\u2028\u2029]/;function D(h,g,F){let A=Object.assign({column:0,line:-1},h.start),b=Object.assign({},A,h.end),{linesAbove:v=2,linesBelow:w=3}=F||{},L=A.line,x=A.column,K=b.line,ce=b.column,At=Math.max(L-(v+1),0),ft=Math.min(g.length,K+w);L===-1&&(At=0),K===-1&&(ft=g.length);let Oe=K-L,W={};if(Oe)for(let De=0;De<=Oe;De++){let fe=De+L;if(!x)W[fe]=!0;else if(De===0){let Ve=g[fe-1].length;W[fe]=[x,Ve-x+1]}else if(De===Oe)W[fe]=[0,ce];else{let Ve=g[fe-De].length;W[fe]=[0,Ve]}}else x===ce?x?W[L]=[x,0]:W[L]=!0:W[L]=[x,ce-x];return{start:At,end:ft,markerLines:W}}function p(h,g,F={}){let A=(F.highlightCode||F.forceColor)&&(0,t.shouldHighlight)(F),b=o(F.forceColor),v=c(b),w=(W,De)=>A?W(De):De,L=h.split(d),{start:x,end:K,markerLines:ce}=D(g,L,F),At=g.start&&typeof g.start.column=="number",ft=String(K).length,Oe=(A?(0,t.default)(h,F):h).split(d,K).slice(x,K).map((W,De)=>{let fe=x+1+De,Ve=` ${` ${fe}`.slice(-ft)} |`,kt=ce[fe],Cu=!ce[fe+1];if(kt){let en="";if(Array.isArray(kt)){let vu=W.slice(0,Math.max(kt[0]-1,0)).replace(/[^\t]/g," "),bu=kt[1]||1;en=[` + `,w(v.gutter,Ve.replace(/\d/g," "))," ",vu,w(v.marker,"^").repeat(bu)].join(""),Cu&&F.message&&(en+=" "+w(v.message,F.message))}return[w(v.marker,">"),w(v.gutter,Ve),W.length>0?` ${W}`:"",en].join("")}else return` ${w(v.gutter,Ve)}${W.length>0?` ${W}`:""}`}).join(` +`);return F.message&&!At&&(Oe=`${" ".repeat(ft+1)}${F.message} +${Oe}`),A?b.reset(Oe):Oe}function f(h,g,F,A={}){if(!l){l=!0;let b="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let v=new Error(b);v.name="DeprecationWarning",console.warn(new Error(b))}}return F=Math.max(F,0),p(h,{start:{column:F,line:g}},A)}}),_i={};Kt(_i,{__debug:()=>iD,check:()=>nD,doc:()=>cu,format:()=>pu,formatWithCursor:()=>fu,getSupportInfo:()=>rD,util:()=>Du,version:()=>Ic});var no=(e,t,n,r)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(n,r):n.global?t.replace(n,r):t.split(n).join(r)},Jt=no;function je(){}je.prototype={diff:function(e,t){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=r.callback;typeof r=="function"&&(i=r,r={}),this.options=r;var u=this;function a(b){return i?(setTimeout(function(){i(void 0,b)},0),!0):b}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var s=t.length,o=e.length,l=1,c=s+o;r.maxEditLength&&(c=Math.min(c,r.maxEditLength));var d=(n=r.timeout)!==null&&n!==void 0?n:1/0,D=Date.now()+d,p=[{oldPos:-1,lastComponent:void 0}],f=this.extractCommon(p[0],t,e,0);if(p[0].oldPos+1>=o&&f+1>=s)return a([{value:this.join(t),count:t.length}]);var h=-1/0,g=1/0;function F(){for(var b=Math.max(h,-l);b<=Math.min(g,l);b+=2){var v=void 0,w=p[b-1],L=p[b+1];w&&(p[b-1]=void 0);var x=!1;if(L){var K=L.oldPos-b;x=L&&0<=K&&K=o&&f+1>=s)return a(ro(u,v.lastComponent,t,e,u.useLongestToken));p[b]=v,v.oldPos+1>=o&&(g=Math.min(g,b-1)),f+1>=s&&(h=Math.max(h,b+1))}l++}if(i)(function b(){setTimeout(function(){if(l>c||Date.now()>D)return i();F()||b()},0)})();else for(;l<=c&&Date.now()<=D;){var A=F();if(A)return A}},addToPath:function(e,t,n,r){var i=e.lastComponent;return i&&i.added===t&&i.removed===n?{oldPos:e.oldPos+r,lastComponent:{count:i.count+1,added:t,removed:n,previousComponent:i.previousComponent}}:{oldPos:e.oldPos+r,lastComponent:{count:1,added:t,removed:n,previousComponent:i}}},extractCommon:function(e,t,n,r){for(var i=t.length,u=n.length,a=e.oldPos,s=a-r,o=0;s+1h.length?F:h}),d.value=e.join(p)}else d.value=e.join(n.slice(l,l+d.count));l+=d.count,d.added||(c+=d.count)}}var f=u[o-1];return o>1&&typeof f.value=="string"&&(f.added||f.removed)&&e.equals("",f.value)&&(u[o-2].value+=f.value,u.pop()),u}var lr=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,cr=/\S/,Ai=new je;Ai.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!cr.test(e)&&!cr.test(t)};Ai.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n"u"?n:a}:r;return typeof e=="string"?e:JSON.stringify(Fn(e,null,null,i),i," ")};Ct.equals=function(e,t){return je.prototype.equals.call(Ct,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))};function Fn(e,t,n,r,i){t=t||[],n=n||[],r&&(e=r(i,e));var u;for(u=0;u=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function $n(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function wi(e,t){let n;switch(t){case` +`:n=/\n/gu;break;case"\r":n=/\r/gu;break;case`\r +`:n=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let r=e.match(n);return r?r.length:0}function lo(e){return Jt(!1,e,/\r\n?/gu,` +`)}var He="string",ke="array",Qe="cursor",we="indent",Ne="align",Te="trim",ie="group",ve="fill",ue="if-break",Se="indent-if-break",Be="line-suffix",Ie="line-suffix-boundary",J="line",be="label",le="break-parent",Ni=new Set([Qe,we,Ne,Te,ie,ve,ue,Se,Be,Ie,J,be,le]);function co(e){if(typeof e=="string")return He;if(Array.isArray(e))return ke;if(!e)return;let{type:t}=e;if(Ni.has(t))return t}var Xe=co,Do=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function fo(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(Xe(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=Do([...Ni].map(i=>`'${i}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${r}.`}var po=class extends Error{constructor(t){super(fo(t));ee(this,"name","InvalidDocError");this.doc=t}},ot=po,Dr={};function ho(e,t,n,r){let i=[e];for(;i.length>0;){let u=i.pop();if(u===Dr){n(i.pop());continue}n&&i.push(u,Dr);let a=Xe(u);if(!a)throw new ot(u);if((t==null?void 0:t(u))!==!1)switch(a){case ke:case ve:{let s=a===ke?u:u.parts;for(let o=s.length,l=o-1;l>=0;--l)i.push(s[l]);break}case ue:i.push(u.flatContents,u.breakContents);break;case ie:if(r&&u.expandedStates)for(let s=u.expandedStates.length,o=s-1;o>=0;--o)i.push(u.expandedStates[o]);else i.push(u.contents);break;case Ne:case we:case Se:case be:case Be:i.push(u.contents);break;case He:case Qe:case Te:case Ie:case J:case le:break;default:throw new ot(u)}}}var xn=ho,mo=()=>{},go=mo;function jt(e){return{type:we,contents:e}}function lt(e,t){return{type:Ne,contents:t,n:e}}function Ti(e,t={}){return go(t.expandedStates),{type:ie,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Fo(e){return lt(Number.NEGATIVE_INFINITY,e)}function Eo(e){return lt({type:"root"},e)}function yo(e){return lt(-1,e)}function Co(e,t){return Ti(e[0],{...t,expandedStates:e})}function Si(e){return{type:ve,parts:e}}function vo(e,t="",n={}){return{type:ue,breakContents:e,flatContents:t,groupId:n.groupId}}function bo(e,t){return{type:Se,contents:e,groupId:t.groupId,negate:t.negate}}function En(e){return{type:Be,contents:e}}var _o={type:Ie},Wt={type:le},Ao={type:Te},Ln={type:J,hard:!0},Bi={type:J,hard:!0,literal:!0},Ii={type:J},ko={type:J,soft:!0},Ye=[Ln,Wt],Oi=[Bi,Wt],yn={type:Qe};function $i(e,t){let n=[];for(let r=0;r0){for(let i=0;i0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${r(u.contents)}${d})`}if(u.type===ie){let c=[];u.break&&u.break!=="propagated"&&c.push("shouldBreak: true"),u.id&&c.push(`id: ${i(u.id)}`);let d=c.length>0?`, { ${c.join(", ")} }`:"";return u.expandedStates?`conditionalGroup([${u.expandedStates.map(D=>r(D)).join(",")}]${d})`:`group(${r(u.contents)}${d})`}if(u.type===ve)return`fill([${u.parts.map(c=>r(c)).join(", ")}])`;if(u.type===Be)return"lineSuffix("+r(u.contents)+")";if(u.type===Ie)return"lineSuffixBoundary";if(u.type===be)return`label(${JSON.stringify(u.label)}, ${r(u.contents)})`;throw new Error("Unknown doc type "+u.type)}function i(u){if(typeof u!="symbol")return JSON.stringify(String(u));if(u in t)return t[u];let a=u.description||"symbol";for(let s=0;;s++){let o=a+(s>0?` #${s}`:"");if(!n.has(o))return n.add(o),t[u]=`Symbol.for(${JSON.stringify(o)})`}}}var To=(e,t,n)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[n<0?t.length+n:n]:t.at(n)},U=To,So=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Bo(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Io(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Oo=e=>!(Bo(e)||Io(e)),$o=/[^\x20-\x7F]/u;function xo(e){if(!e)return 0;if(!$o.test(e))return e.length;e=e.replace(So()," ");let t=0;for(let n of e){let r=n.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||(t+=Oo(r)?1:2)}return t}var Rn=xo;function Ht(e,t){if(typeof e=="string")return t(e);let n=new Map;return r(e);function r(u){if(n.has(u))return n.get(u);let a=i(u);return n.set(u,a),a}function i(u){switch(Xe(u)){case ke:return t(u.map(r));case ve:return t({...u,parts:u.parts.map(r)});case ue:return t({...u,breakContents:r(u.breakContents),flatContents:r(u.flatContents)});case ie:{let{expandedStates:a,contents:s}=u;return a?(a=a.map(r),s=a[0]):s=r(s),t({...u,contents:s,expandedStates:a})}case Ne:case we:case Se:case be:case Be:return t({...u,contents:r(u.contents)});case He:case Qe:case Te:case Ie:case J:case le:return t(u);default:throw new ot(u)}}}function Pn(e,t,n){let r=n,i=!1;function u(a){if(i)return!1;let s=t(a);s!==void 0&&(i=!0,r=s)}return xn(e,u),r}function Lo(e){if(e.type===ie&&e.break||e.type===J&&e.hard||e.type===le)return!0}function Ro(e){return Pn(e,Lo,!1)}function fr(e){if(e.length>0){let t=U(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Po(e){let t=new Set,n=[];function r(u){if(u.type===le&&fr(n),u.type===ie){if(n.push(u),t.has(u))return!1;t.add(u)}}function i(u){u.type===ie&&n.pop().break&&fr(n)}xn(e,r,i,!0)}function jo(e){return e.type===J&&!e.hard?e.soft?"":" ":e.type===ue?e.flatContents:e}function Mo(e){return Ht(e,jo)}function pr(e){for(e=[...e];e.length>=2&&U(!1,e,-2).type===J&&U(!1,e,-1).type===le;)e.length-=2;if(e.length>0){let t=gt(U(!1,e,-1));e[e.length-1]=t}return e}function gt(e){switch(Xe(e)){case we:case Se:case ie:case Be:case be:{let t=gt(e.contents);return{...e,contents:t}}case ue:return{...e,breakContents:gt(e.breakContents),flatContents:gt(e.flatContents)};case ve:return{...e,parts:pr(e.parts)};case ke:return pr(e);case He:return e.replace(/[\n\r]*$/u,"");case Ne:case Qe:case Te:case Ie:case J:case le:break;default:throw new ot(e)}return e}function Li(e){return gt(Uo(e))}function Vo(e){switch(Xe(e)){case ve:if(e.parts.every(t=>t===""))return"";break;case ie:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ie&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Ne:case we:case Se:case Be:if(!e.contents)return"";break;case ue:if(!e.flatContents&&!e.breakContents)return"";break;case ke:{let t=[];for(let n of e){if(!n)continue;let[r,...i]=Array.isArray(n)?n:[n];typeof r=="string"&&typeof U(!1,t,-1)=="string"?t[t.length-1]+=r:t.push(r),t.push(...i)}return t.length===0?"":t.length===1?t[0]:t}case He:case Qe:case Te:case Ie:case J:case be:case le:break;default:throw new ot(e)}return e}function Uo(e){return Ht(e,t=>Vo(t))}function qo(e,t=Oi){return Ht(e,n=>typeof n=="string"?$i(t,n.split(` +`)):n)}function zo(e){if(e.type===J)return!0}function Go(e){return Pn(e,zo,!1)}function Ri(e,t){return e.type===be?{...e,contents:t(e.contents)}:t(e)}var ne=Symbol("MODE_BREAK"),he=Symbol("MODE_FLAT"),Ft=Symbol("cursor");function Pi(){return{value:"",length:0,queue:[]}}function Ko(e,t){return Cn(e,{type:"indent"},t)}function Yo(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||Pi():t<0?Cn(e,{type:"dedent"},n):t?t.type==="root"?{...e,root:e}:Cn(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},n):e}function Cn(e,t,n){let r=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],i="",u=0,a=0,s=0;for(let f of r)switch(f.type){case"indent":c(),n.useTabs?o(1):l(n.tabWidth);break;case"stringAlign":c(),i+=f.n,u+=f.n.length;break;case"numberAlign":a+=1,s+=f.n;break;default:throw new Error(`Unexpected type '${f.type}'`)}return D(),{...e,value:i,length:u,queue:r};function o(f){i+=" ".repeat(f),u+=n.tabWidth*f}function l(f){i+=" ".repeat(f),u+=f}function c(){n.useTabs?d():D()}function d(){a>0&&o(a),p()}function D(){s>0&&l(s),p()}function p(){a=0,s=0}}function vn(e){let t=0,n=0,r=e.length;e:for(;r--;){let i=e[r];if(i===Ft){n++;continue}for(let u=i.length-1;u>=0;u--){let a=i[u];if(a===" "||a===" ")t++;else{e[r]=i.slice(0,u+1);break e}}}if(t>0||n>0)for(e.length=r+1;n-- >0;)e.push(Ft);return t}function St(e,t,n,r,i,u){if(n===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;n>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:c}=s.pop(),d=Xe(c);switch(d){case He:o.push(c),n-=Rn(c);break;case ke:case ve:{let D=d===ke?c:c.parts;for(let p=D.length-1;p>=0;p--)s.push({mode:l,doc:D[p]});break}case we:case Ne:case Se:case be:s.push({mode:l,doc:c.contents});break;case Te:n+=vn(o);break;case ie:{if(u&&c.break)return!1;let D=c.break?ne:l,p=c.expandedStates&&D===ne?U(!1,c.expandedStates,-1):c.contents;s.push({mode:D,doc:p});break}case ue:{let D=(c.groupId?i[c.groupId]||he:l)===ne?c.breakContents:c.flatContents;D&&s.push({mode:l,doc:D});break}case J:if(l===ne||c.hard)return!0;c.soft||(o.push(" "),n--);break;case Be:r=!0;break;case Ie:if(r)return!1;break}}return!1}function Qt(e,t){let n={},r=t.printWidth,i=$n(t.endOfLine),u=0,a=[{ind:Pi(),mode:ne,doc:e}],s=[],o=!1,l=[],c=0;for(Po(e);a.length>0;){let{ind:D,mode:p,doc:f}=a.pop();switch(Xe(f)){case He:{let h=i!==` +`?Jt(!1,f,` +`,i):f;s.push(h),a.length>0&&(u+=Rn(h));break}case ke:for(let h=f.length-1;h>=0;h--)a.push({ind:D,mode:p,doc:f[h]});break;case Qe:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Ft),c++;break;case we:a.push({ind:Ko(D,t),mode:p,doc:f.contents});break;case Ne:a.push({ind:Yo(D,f.n,t),mode:p,doc:f.contents});break;case Te:u-=vn(s);break;case ie:switch(p){case he:if(!o){a.push({ind:D,mode:f.break?ne:he,doc:f.contents});break}case ne:{o=!1;let h={ind:D,mode:he,doc:f.contents},g=r-u,F=l.length>0;if(!f.break&&St(h,a,g,F,n))a.push(h);else if(f.expandedStates){let A=U(!1,f.expandedStates,-1);if(f.break){a.push({ind:D,mode:ne,doc:A});break}else for(let b=1;b=f.expandedStates.length){a.push({ind:D,mode:ne,doc:A});break}else{let v=f.expandedStates[b],w={ind:D,mode:he,doc:v};if(St(w,a,g,F,n)){a.push(w);break}}}else a.push({ind:D,mode:ne,doc:f.contents});break}}f.id&&(n[f.id]=U(!1,a,-1).mode);break;case ve:{let h=r-u,{parts:g}=f;if(g.length===0)break;let[F,A]=g,b={ind:D,mode:he,doc:F},v={ind:D,mode:ne,doc:F},w=St(b,[],h,l.length>0,n,!0);if(g.length===1){w?a.push(b):a.push(v);break}let L={ind:D,mode:he,doc:A},x={ind:D,mode:ne,doc:A};if(g.length===2){w?a.push(L,b):a.push(x,v);break}g.splice(0,2);let K={ind:D,mode:p,doc:Si(g)},ce=g[0];St({ind:D,mode:he,doc:[F,A,ce]},[],h,l.length>0,n,!0)?a.push(K,L,b):w?a.push(K,x,b):a.push(K,x,v);break}case ue:case Se:{let h=f.groupId?n[f.groupId]:p;if(h===ne){let g=f.type===ue?f.breakContents:f.negate?f.contents:jt(f.contents);g&&a.push({ind:D,mode:p,doc:g})}if(h===he){let g=f.type===ue?f.flatContents:f.negate?jt(f.contents):f.contents;g&&a.push({ind:D,mode:p,doc:g})}break}case Be:l.push({ind:D,mode:p,doc:f.contents});break;case Ie:l.length>0&&a.push({ind:D,mode:p,doc:Ln});break;case J:switch(p){case he:if(f.hard)o=!0;else{f.soft||(s.push(" "),u+=1);break}case ne:if(l.length>0){a.push({ind:D,mode:p,doc:f},...l.reverse()),l.length=0;break}f.literal?D.root?(s.push(i,D.root.value),u=D.root.length):(s.push(i),u=0):(u-=vn(s),s.push(i+D.value),u=D.length);break}break;case be:a.push({ind:D,mode:p,doc:f.contents});break;case le:break;default:throw new ot(f)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let d=s.indexOf(Ft);if(d!==-1){let D=s.indexOf(Ft,d+1),p=s.slice(0,d).join(""),f=s.slice(d+1,D).join(""),h=s.slice(D+1).join("");return{formatted:p+f+h,cursorNodeStart:p.length,cursorNodeText:f}}return{formatted:s.join("")}}function Jo(e,t,n=0){let r=0;for(let i=n;i1?U(!1,e,-2):null}getValue(){return U(!1,this.stack,-1)}getNode(e=0){let t=dt(this,Ue,bn).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:n}=this,{length:r}=n,i=U(!1,n,-1);for(let u of t)i=i[u],n.push(u,i);try{return e(this)}finally{n.length=r}}callParent(e,t=0){let n=dt(this,Ue,bn).call(this,t+1),r=this.stack.splice(n+1);try{return e(this)}finally{this.stack.push(...r)}}each(e,...t){let{stack:n}=this,{length:r}=n,i=U(!1,n,-1);for(let u of t)i=i[u],n.push(u,i);try{for(let u=0;u{n[i]=e(r,i,u)},...t),n}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(let i of e){if(r===void 0)return!1;let u=null;if(typeof n=="number"&&(u=n,n=this.stack[t--],r=this.stack[t--]),i&&!i(r,n,u))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}findAncestor(e){for(let t of dt(this,Ue,Ot).call(this))if(e(t))return t}hasAncestor(e){for(let t of dt(this,Ue,Ot).call(this))if(e(t))return!0;return!1}};Ue=new WeakSet,bn=function(e){let{stack:t}=this;for(let n=t.length-1;n>=0;n-=2)if(!Array.isArray(t[n])&&--e<0)return n;return-1},Ot=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let n=e[t];Array.isArray(n)||(yield n)}};var Ho=Wo,ji=new Proxy(()=>{},{get:()=>ji}),_n=ji;function Qo(e){return e!==null&&typeof e=="object"}var Xo=Qo;function*Mi(e,t){let{getVisitorKeys:n,filter:r=()=>!0}=t,i=u=>Xo(u)&&r(u);for(let u of n(e)){let a=e[u];if(Array.isArray(a))for(let s of a)i(s)&&(yield s);else i(a)&&(yield a)}}function*Zo(e,t){let n=[e];for(let r=0;r{let i=!!(r!=null&&r.backwards);if(n===!1)return!1;let{length:u}=t,a=n;for(;a>=0&&a0}var il=rl,qi=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),ul=e=>Object.keys(e).filter(t=>!qi.has(t));function al(e){return e?t=>e(t,qi):ul}var Xt=al;function sl(e){let t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}function Mn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=sl(e)}function et(e,t){t.leading=!0,t.trailing=!1,Mn(e,t)}function qe(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Mn(e,t)}function tt(e,t){t.leading=!1,t.trailing=!0,Mn(e,t)}var on=new WeakMap;function Vn(e,t){if(on.has(e))return on.get(e);let{printer:{getCommentChildNodes:n,canAttachComment:r,getVisitorKeys:i},locStart:u,locEnd:a}=t;if(!r)return[];let s=((n==null?void 0:n(e,t))??[...Mi(e,{getVisitorKeys:Xt(i)})]).flatMap(o=>r(o)?[o]:Vn(o,t));return s.sort((o,l)=>u(o)-u(l)||a(o)-a(l)),on.set(e,s),s}function zi(e,t,n,r){let{locStart:i,locEnd:u}=n,a=i(t),s=u(t),o=Vn(e,n),l,c,d=0,D=o.length;for(;d>1,f=o[p],h=i(f),g=u(f);if(h<=a&&s<=g)return zi(f,t,n,f);if(g<=a){l=f,d=p+1;continue}if(s<=h){c=f,D=p;continue}throw new Error("Comment location overlaps with node location")}if((r==null?void 0:r.type)==="TemplateLiteral"){let{quasis:p}=r,f=cn(p,t,n);l&&cn(p,l,n)!==f&&(l=null),c&&cn(p,c,n)!==f&&(c=null)}return{enclosingNode:r,precedingNode:l,followingNode:c}}var ln=()=>!1;function ol(e,t){let{comments:n}=e;if(delete e.comments,!il(n)||!t.printer.canAttachComment)return;let r=[],{locStart:i,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:a=!1}={},handleComments:s={}},originalText:o}=t,{ownLine:l=ln,endOfLine:c=ln,remaining:d=ln}=s,D=n.map((p,f)=>({...zi(e,p,t),comment:p,text:o,options:t,ast:e,isLastComment:n.length-1===f}));for(let[p,f]of D.entries()){let{comment:h,precedingNode:g,enclosingNode:F,followingNode:A,text:b,options:v,ast:w,isLastComment:L}=f;if(v.parser==="json"||v.parser==="json5"||v.parser==="jsonc"||v.parser==="__js_expression"||v.parser==="__ts_expression"||v.parser==="__vue_expression"||v.parser==="__vue_ts_expression"){if(i(h)-i(w)<=0){et(w,h);continue}if(u(h)-u(w)>=0){tt(w,h);continue}}let x;if(a?x=[f]:(h.enclosingNode=F,h.precedingNode=g,h.followingNode=A,x=[h,b,v,w,L]),ll(b,v,D,p))h.placement="ownLine",l(...x)||(A?et(A,h):g?tt(g,h):qe(F||w,h));else if(cl(b,v,D,p))h.placement="endOfLine",c(...x)||(g?tt(g,h):A?et(A,h):qe(F||w,h));else if(h.placement="remaining",!d(...x))if(g&&A){let K=r.length;K>0&&r[K-1].followingNode!==A&&dr(r,v),r.push(f)}else g?tt(g,h):A?et(A,h):qe(F||w,h)}if(dr(r,t),!a)for(let p of n)delete p.precedingNode,delete p.enclosingNode,delete p.followingNode}var Gi=e=>!/[\S\n\u2028\u2029]/u.test(e);function ll(e,t,n,r){let{comment:i,precedingNode:u}=n[r],{locStart:a,locEnd:s}=t,o=a(i);if(u)for(let l=r-1;l>=0;l--){let{comment:c,precedingNode:d}=n[l];if(d!==u||!Gi(e.slice(s(c),o)))break;o=a(c)}return xe(e,o,{backwards:!0})}function cl(e,t,n,r){let{comment:i,followingNode:u}=n[r],{locStart:a,locEnd:s}=t,o=s(i);if(u)for(let l=r+1;l0;--o){let{comment:l,precedingNode:c,followingNode:d}=e[o-1];_n.strictEqual(c,u),_n.strictEqual(d,a);let D=t.originalText.slice(t.locEnd(l),s);if(((r=(n=t.printer).isGap)==null?void 0:r.call(n,D,t))??/^[\s(]*$/u.test(D))s=t.locStart(l);else break}for(let[l,{comment:c}]of e.entries())l1&&l.comments.sort((c,d)=>t.locStart(c)-t.locStart(d));e.length=0}function cn(e,t,n){let r=n.locStart(t)-1;for(let i=1;i!r.has(s)).length===0)return{leading:"",trailing:""};let i=[],u=[],a;return e.each(()=>{let s=e.node;if(r!=null&&r.has(s))return;let{leading:o,trailing:l}=s;o?i.push(fl(e,t)):l&&(a=pl(e,t,a),u.push(a.doc))},"comments"),{leading:i,trailing:u}}function hl(e,t,n){let{leading:r,trailing:i}=dl(e,n);return!r&&!i?t:Ri(t,u=>[r,u,i])}function ml(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:n}=e;for(let r of t){if(!r.printed&&!n.has(r))throw new Error('Comment "'+r.value.trim()+'" was not printed. Please report this error!');delete r.printed}}var Yi=class extends Error{constructor(){super(...arguments);ee(this,"name","ConfigError")}},hr=class extends Error{constructor(){super(...arguments);ee(this,"name","UndefinedParserError")}},gl={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function Ji({plugins:e=[],showDeprecated:t=!1}={}){let n=e.flatMap(i=>i.languages??[]),r=[];for(let i of El(Object.assign({},...e.map(({options:u})=>u),gl)))!t&&i.deprecated||(Array.isArray(i.choices)&&(t||(i.choices=i.choices.filter(u=>!u.deprecated)),i.name==="parser"&&(i.choices=[...i.choices,...Fl(i.choices,n,e)])),i.pluginDefaults=Object.fromEntries(e.filter(u=>{var a;return((a=u.defaultOptions)==null?void 0:a[i.name])!==void 0}).map(u=>[u.name,u.defaultOptions[i.name]])),r.push(i));return{languages:n,options:r}}function*Fl(e,t,n){let r=new Set(e.map(i=>i.value));for(let i of t)if(i.parsers){for(let u of i.parsers)if(!r.has(u)){r.add(u);let a=n.find(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,u)),s=i.name;a!=null&&a.name&&(s+=` (plugin: ${a.name})`),yield{value:u,description:s}}}}function El(e){let t=[];for(let[n,r]of Object.entries(e)){let i={name:n,...r};Array.isArray(i.default)&&(i.default=U(!1,i.default,-1).value),t.push(i)}return t}var yl=e=>String(e).split(/[/\\]/u).pop();function mr(e,t){if(!t)return;let n=yl(t).toLowerCase();return e.find(({filenames:r})=>r==null?void 0:r.some(i=>i.toLowerCase()===n))??e.find(({extensions:r})=>r==null?void 0:r.some(i=>n.endsWith(i)))}function Cl(e,t){if(t)return e.find(({name:n})=>n.toLowerCase()===t)??e.find(({aliases:n})=>n==null?void 0:n.includes(t))??e.find(({extensions:n})=>n==null?void 0:n.includes(`.${t}`))}function vl(e,t){let n=e.plugins.flatMap(i=>i.languages??[]),r=Cl(n,t.language)??mr(n,t.physicalFile)??mr(n,t.file)??(t.physicalFile,void 0);return r==null?void 0:r.parsers[0]}var bl=vl,nt={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(n=>nt.value(n)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(n=>`${nt.key(n)}: ${nt.value(e[n])}`).join(", ")} }`},pair:({key:e,value:t})=>nt.value({[e]:t})},gr=Yt(On()),_l=(e,t,{descriptor:n})=>{let r=[`${gr.default.yellow(typeof e=="string"?n.key(e):n.pair(e))} is deprecated`];return t&&r.push(`we now treat it as ${gr.default.blue(typeof t=="string"?n.key(t):n.pair(t))}`),r.join("; ")+"."},rt=Yt(On()),Wi=Symbol.for("vnopts.VALUE_NOT_EXIST"),$t=Symbol.for("vnopts.VALUE_UNCHANGED"),Fr=" ".repeat(2),Al=(e,t,n)=>{let{text:r,list:i}=n.normalizeExpectedResult(n.schemas[e].expected(n)),u=[];return r&&u.push(Er(e,t,r,n.descriptor)),i&&u.push([Er(e,t,i.title,n.descriptor)].concat(i.values.map(a=>Hi(a,n.loggerPrintWidth))).join(` +`)),Qi(u,n.loggerPrintWidth)};function Er(e,t,n,r){return[`Invalid ${rt.default.red(r.key(e))} value.`,`Expected ${rt.default.blue(n)},`,`but received ${t===Wi?rt.default.gray("nothing"):rt.default.red(r.value(t))}.`].join(" ")}function Hi({text:e,list:t},n){let r=[];return e&&r.push(`- ${rt.default.blue(e)}`),t&&r.push([`- ${rt.default.blue(t.title)}:`].concat(t.values.map(i=>Hi(i,n-Fr.length).replace(/^|\n/g,`$&${Fr}`))).join(` +`)),Qi(r,n)}function Qi(e,t){if(e.length===1)return e[0];let[n,r]=e,[i,u]=e.map(a=>a.split(` +`,1)[0].length);return i>t&&i>u?r:n}var yr=Yt(On()),Dn=[],Cr=[];function kl(e,t){if(e===t)return 0;let n=e;e.length>t.length&&(e=t,t=n);let r=e.length,i=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-i);)r--,i--;let u=0;for(;us?l>s?s+1:l:l>o?o+1:l;return s}var Xi=(e,t,{descriptor:n,logger:r,schemas:i})=>{let u=[`Ignored unknown option ${yr.default.yellow(n.pair({key:e,value:t}))}.`],a=Object.keys(i).sort().find(s=>kl(e,s)<3);a&&u.push(`Did you mean ${yr.default.blue(n.key(a))}?`),r.warn(u.join(" "))},wl=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function Nl(e,t){let n=new e(t),r=Object.create(n);for(let i of wl)i in t&&(r[i]=Tl(t[i],n,Me.prototype[i].length));return r}var Me=class{static create(e){return Nl(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,n){return e}preprocess(e,t){return e}postprocess(e,t){return $t}};function Tl(e,t,n){return typeof e=="function"?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}var Sl=class extends Me{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},Bl=class extends Me{expected(){return"anything"}validate(){return!0}},Il=class extends Me{constructor({valueSchema:e,name:t=e.name,...n}){super({...n,name:t}),this._valueSchema=e}expected(e){let{text:t,list:n}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(e,t){if(!Array.isArray(e))return!1;let n=[];for(let r of e){let i=t.normalizeValidateResult(this._valueSchema.validate(r,t),r);i!==!0&&n.push(i.value)}return n.length===0?!0:{value:n}}deprecated(e,t){let n=[];for(let r of e){let i=t.normalizeDeprecatedResult(this._valueSchema.deprecated(r,t),r);i!==!1&&n.push(...i.map(({value:u})=>({value:[u]})))}return n}forward(e,t){let n=[];for(let r of e){let i=t.normalizeForwardResult(this._valueSchema.forward(r,t),r);n.push(...i.map(vr))}return n}redirect(e,t){let n=[],r=[];for(let i of e){let u=t.normalizeRedirectResult(this._valueSchema.redirect(i,t),i);"remain"in u&&n.push(u.remain),r.push(...u.redirect.map(vr))}return n.length===0?{redirect:r}:{redirect:r,remain:n}}overlap(e,t){return e.concat(t)}};function vr({from:e,to:t}){return{from:[e],to:t}}var Ol=class extends Me{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function $l(e,t){let n=Object.create(null);for(let r of e){let i=r[t];if(n[i])throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);n[i]=r}return n}function xl(e,t){let n=new Map;for(let r of e){let i=r[t];if(n.has(i))throw new Error(`Duplicate ${t} ${JSON.stringify(i)}`);n.set(i,r)}return n}function Ll(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return e[n]?!0:(e[n]=!0,!1)}}function Rl(e,t){let n=[],r=[];for(let i of e)t(i)?n.push(i):r.push(i);return[n,r]}function Pl(e){return e===Math.floor(e)}function jl(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,i=["undefined","object","boolean","number","string"];return n!==r?i.indexOf(n)-i.indexOf(r):n!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Ml(e){return(...t)=>{let n=e(...t);return typeof n=="string"?new Error(n):n}}function br(e){return e===void 0?{}:e}function Zi(e){if(typeof e=="string")return{text:e};let{text:t,list:n}=e;return Vl((t||n)!==void 0,"Unexpected `expected` result, there should be at least one field."),n?{text:t,list:{title:n.title,values:n.values.map(Zi)}}:{text:t}}function _r(e,t){return e===!0?!0:e===!1?{value:t}:e}function Ar(e,t,n=!1){return e===!1?!1:e===!0?n?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function kr(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function An(e,t){return e===void 0?[]:Array.isArray(e)?e.map(n=>kr(n,t)):[kr(e,t)]}function wr(e,t){let n=An(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return n.length===0?{remain:t,redirect:n}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}}function Vl(e,t){if(!e)throw new Error(t)}var Ul=class extends Me{constructor(e){super(e),this._choices=xl(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(({hidden:i})=>!i).map(i=>i.value).sort(jl).map(e.value),n=t.slice(0,-2),r=t.slice(-2);return{text:n.concat(r.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},ql=class extends Me{expected(){return"a number"}validate(e,t){return typeof e=="number"}},zl=class extends ql{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&Pl(e)}},Nr=class extends Me{expected(){return"a string"}validate(e){return typeof e=="string"}},Gl=nt,Kl=Xi,Yl=Al,Jl=_l,Wl=class{constructor(e,t){let{logger:n=console,loggerPrintWidth:r=80,descriptor:i=Gl,unknown:u=Kl,invalid:a=Yl,deprecated:s=Jl,missing:o=()=>!1,required:l=()=>!1,preprocess:c=D=>D,postprocess:d=()=>$t}=t||{};this._utils={descriptor:i,logger:n||{warn:()=>{}},loggerPrintWidth:r,schemas:$l(e,"name"),normalizeDefaultResult:br,normalizeExpectedResult:Zi,normalizeDeprecatedResult:Ar,normalizeForwardResult:An,normalizeRedirectResult:wr,normalizeValidateResult:_r},this._unknownHandler=u,this._invalidHandler=Ml(a),this._deprecatedHandler=s,this._identifyMissing=(D,p)=>!(D in p)||o(D,p),this._identifyRequired=l,this._preprocess=c,this._postprocess=d,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Ll()}normalize(e){let t={},n=[this._preprocess(e,this._utils)],r=()=>{for(;n.length!==0;){let i=n.shift(),u=this._applyNormalization(i,t);n.push(...u)}};r();for(let i of Object.keys(this._utils.schemas)){let u=this._utils.schemas[i];if(!(i in t)){let a=br(u.default(this._utils));"value"in a&&n.push({[i]:a.value})}}r();for(let i of Object.keys(this._utils.schemas)){if(!(i in t))continue;let u=this._utils.schemas[i],a=t[i],s=u.postprocess(a,this._utils);s!==$t&&(this._applyValidation(s,i,u),t[i]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let n=[],{knownKeys:r,unknownKeys:i}=this._partitionOptionKeys(e);for(let u of r){let a=this._utils.schemas[u],s=a.preprocess(e[u],this._utils);this._applyValidation(s,u,a);let o=({from:d,to:D})=>{n.push(typeof D=="string"?{[D]:d}:{[D.key]:D.value})},l=({value:d,redirectTo:D})=>{let p=Ar(a.deprecated(d,this._utils),s,!0);if(p!==!1)if(p===!0)this._hasDeprecationWarned(u)||this._utils.logger.warn(this._deprecatedHandler(u,D,this._utils));else for(let{value:f}of p){let h={key:u,value:f};if(!this._hasDeprecationWarned(h)){let g=typeof D=="string"?{key:D,value:f}:D;this._utils.logger.warn(this._deprecatedHandler(h,g,this._utils))}}};An(a.forward(s,this._utils),s).forEach(o);let c=wr(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let d=c.remain;t[u]=u in t?a.overlap(t[u],d,this._utils):d,l({value:d})}for(let{from:d,to:D}of c.redirect)l({value:d,redirectTo:D})}for(let u of i){let a=e[u];this._applyUnknownHandler(u,a,t,(s,o)=>{n.push({[s]:o})})}return n}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,Wi,this._utils)}_partitionOptionKeys(e){let[t,n]=Rl(Object.keys(e).filter(r=>!this._identifyMissing(r,e)),r=>r in this._utils.schemas);return{knownKeys:t,unknownKeys:n}}_applyValidation(e,t,n){let r=_r(n.validate(e,this._utils),e);if(r!==!0)throw this._invalidHandler(t,r.value,this._utils)}_applyUnknownHandler(e,t,n,r){let i=this._unknownHandler(e,t,this._utils);if(i)for(let u of Object.keys(i)){if(this._identifyMissing(u,i))continue;let a=i[u];u in this._utils.schemas?r(u,a):n[u]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==$t){if(t.delete)for(let n of t.delete)delete e[n];if(t.override){let{knownKeys:n,unknownKeys:r}=this._partitionOptionKeys(t.override);for(let i of n){let u=t.override[i];this._applyValidation(u,i,this._utils.schemas[i]),e[i]=u}for(let i of r){let u=t.override[i];this._applyUnknownHandler(i,u,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},fn;function Hl(e,t,{logger:n=!1,isCLI:r=!1,passThrough:i=!1,FlagSchema:u,descriptor:a}={}){if(r){if(!u)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=nt;let s=i?Array.isArray(i)?(D,p)=>i.includes(D)?{[D]:p}:void 0:(D,p)=>({[D]:p}):(D,p,f)=>{let{_:h,...g}=f.schemas;return Xi(D,p,{...f,schemas:g})},o=Ql(t,{isCLI:r,FlagSchema:u}),l=new Wl(o,{logger:n,unknown:s,descriptor:a}),c=n!==!1;c&&fn&&(l._hasDeprecationWarned=fn);let d=l.normalize(e);return c&&(fn=l._hasDeprecationWarned),d}function Ql(e,{isCLI:t,FlagSchema:n}){let r=[];t&&r.push(Bl.create({name:"_"}));for(let i of e)r.push(Xl(i,{isCLI:t,optionInfos:e,FlagSchema:n})),i.alias&&t&&r.push(Sl.create({name:i.alias,sourceName:i.name}));return r}function Xl(e,{isCLI:t,optionInfos:n,FlagSchema:r}){let{name:i}=e,u={name:i},a,s={};switch(e.type){case"int":a=zl,t&&(u.preprocess=Number);break;case"string":a=Nr;break;case"choice":a=Ul,u.choices=e.choices.map(o=>o!=null&&o.redirect?{...o,redirect:{to:{key:e.name,value:o.redirect}}}:o);break;case"boolean":a=Ol;break;case"flag":a=r,u.flags=n.flatMap(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&`no-${o.name}`].filter(Boolean));break;case"path":a=Nr;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(o,l,c)=>e.exception(o)||l.validate(o,c):u.validate=(o,l,c)=>o===void 0||l.validate(o,c),e.redirect&&(s.redirect=o=>o?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let o=u.preprocess||(l=>l);u.preprocess=(l,c,d)=>c.preprocess(o(Array.isArray(l)?U(!1,l,-1):l),d)}return e.array?Il.create({...t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},...s,valueSchema:a.create(u)}):a.create({...u,...s})}var Zl=Hl,ec=(e,t,n)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(n);for(let r=t.length-1;r>=0;r--){let i=t[r];if(n(i,r,t))return i}}},eu=ec;function tu(e,t){if(!t)throw new Error("parserName is required.");let n=eu(!1,e,i=>i.parsers&&Object.prototype.hasOwnProperty.call(i.parsers,t));if(n)return n;let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Yi(r)}function tc(e,t){if(!t)throw new Error("astFormat is required.");let n=eu(!1,e,i=>i.printers&&Object.prototype.hasOwnProperty.call(i.printers,t));if(n)return n;let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Yi(r)}function nu({plugins:e,parser:t}){let n=tu(e,t);return ru(n,t)}function ru(e,t){let n=e.parsers[t];return typeof n=="function"?n():n}function nc(e,t){let n=e.printers[t];return typeof n=="function"?n():n}var Tr={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function rc(e,t={}){var n;let r={...e};if(!r.parser)if(r.filepath){if(r.parser=bl(r,{physicalFile:r.filepath}),!r.parser)throw new hr(`No parser could be inferred for file "${r.filepath}".`)}else throw new hr("No parser and no file path given, couldn't infer a parser.");let i=Ji({plugins:e.plugins,showDeprecated:!0}).options,u={...Tr,...Object.fromEntries(i.filter(D=>D.default!==void 0).map(D=>[D.name,D.default]))},a=tu(r.plugins,r.parser),s=await ru(a,r.parser);r.astFormat=s.astFormat,r.locEnd=s.locEnd,r.locStart=s.locStart;let o=(n=a.printers)!=null&&n[s.astFormat]?a:tc(r.plugins,s.astFormat),l=await nc(o,s.astFormat);r.printer=l;let c=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,D])=>D!==void 0)):{},d={...u,...c};for(let[D,p]of Object.entries(d))(r[D]===null||r[D]===void 0)&&(r[D]=p);return r.parser==="json"&&(r.trailingComma="none"),Zl(r,i,{passThrough:Object.keys(Tr),...t})}var Dt=rc,ic=Yt(to());async function uc(e,t){let n=await nu(t),r=n.preprocess?n.preprocess(e,t):e;t.originalText=r;let i;try{i=await n.parse(r,t,t)}catch(u){ac(u,e)}return{text:r,ast:i}}function ac(e,t){let{loc:n}=e;if(n){let r=(0,ic.codeFrameColumns)(t,n,{highlightCode:!0});throw e.message+=` +`+r,e.codeFrame=r,e}throw e}var _t=uc;async function sc(e,t,n,r,i){let{embeddedLanguageFormatting:u,printer:{embed:a,hasPrettierIgnore:s=()=>!1,getVisitorKeys:o}}=n;if(!a||u!=="auto")return;if(a.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let l=Xt(a.getVisitorKeys??o),c=[];p();let d=e.stack;for(let{print:f,node:h,pathStack:g}of c)try{e.stack=g;let F=await f(D,t,e,n);F&&i.set(h,F)}catch(F){if(globalThis.PRETTIER_DEBUG)throw F}e.stack=d;function D(f,h){return oc(f,h,n,r)}function p(){let{node:f}=e;if(f===null||typeof f!="object"||s(e))return;for(let g of l(f))Array.isArray(f[g])?e.each(p,g):e.call(p,g);let h=a(e,n);if(h){if(typeof h=="function"){c.push({print:h,node:f,pathStack:[...e.stack]});return}i.set(f,h)}}}async function oc(e,t,n,r){let i=await Dt({...n,...t,parentParser:n.parser,originalText:e},{passThrough:!0}),{ast:u}=await _t(e,i),a=await r(u,i);return Li(a)}function lc(e,t){let{originalText:n,[Symbol.for("comments")]:r,locStart:i,locEnd:u,[Symbol.for("printedComments")]:a}=t,{node:s}=e,o=i(s),l=u(s);for(let c of r)i(c)>=o&&u(c)<=l&&a.add(c);return n.slice(o,l)}var cc=lc;async function Zt(e,t){({ast:e}=await iu(e,t));let n=new Map,r=new Ho(e),i=new Map;await sc(r,a,t,Zt,i);let u=await Sr(r,t,a,void 0,i);return ml(t),u;function a(o,l){return o===void 0||o===r?s(l):Array.isArray(o)?r.call(()=>s(l),...o):r.call(()=>s(l),o)}function s(o){let l=r.node;if(l==null)return"";let c=l&&typeof l=="object"&&o===void 0;if(c&&n.has(l))return n.get(l);let d=Sr(r,t,a,o,i);return c&&n.set(l,d),d}}function Sr(e,t,n,r,i){var u;let{node:a}=e,{printer:s}=t,o;return(u=s.hasPrettierIgnore)!=null&&u.call(s,e)?o=cc(e,t):i.has(a)?o=i.get(a):o=s.print(e,t,n,r),a===t.cursorNode&&(o=Ri(o,l=>[yn,l,yn])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(o=hl(e,o,t)),o}async function iu(e,t){let n=e.comments??[];t[Symbol.for("comments")]=n,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,ol(e,t);let{printer:{preprocess:r}}=t;return e=r?await r(e,t):e,{ast:e,comments:n}}function Dc(e,t){let{cursorOffset:n,locStart:r,locEnd:i}=t,u=Xt(t.printer.getVisitorKeys),a=o=>r(o)<=n&&i(o)>=n,s=e;for(let o of Zo(e,{getVisitorKeys:u,filter:a}))s=o;return s}var fc=Dc;function pc(e,t){let{printer:{massageAstNode:n,getVisitorKeys:r}}=t;if(!n)return e;let i=Xt(r),u=n.ignoredProperties??new Set;return a(e);function a(s,o){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(D=>a(D,o)).filter(Boolean);let l={},c=new Set(i(s));for(let D in s)!Object.prototype.hasOwnProperty.call(s,D)||u.has(D)||(c.has(D)?l[D]=a(s[D],s):l[D]=s[D]);let d=n(s,l,o);if(d!==null)return d??l}}var dc=pc,hc=(e,t,n)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(n);for(let r=t.length-1;r>=0;r--){let i=t[r];if(n(i,r,t))return r}return-1}},mc=hc,gc=({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify";function Fc(e,t){let n=[e.node,...e.parentNodes],r=new Set([t.node,...t.parentNodes]);return n.find(i=>uu.has(i.type)&&r.has(i))}function Br(e){let t=mc(!1,e,n=>n.type!=="Program"&&n.type!=="File");return t===-1?e:e.slice(0,t+1)}function Ec(e,t,{locStart:n,locEnd:r}){let i=e.node,u=t.node;if(i===u)return{startNode:i,endNode:u};let a=n(e.node);for(let o of Br(t.parentNodes))if(n(o)>=a)u=o;else break;let s=r(t.node);for(let o of Br(e.parentNodes)){if(r(o)<=s)i=o;else break;if(i===u)break}return{startNode:i,endNode:u}}function kn(e,t,n,r,i=[],u){let{locStart:a,locEnd:s}=n,o=a(e),l=s(e);if(!(t>l||tr);let s=e.slice(r,i).search(/\S/u),o=s===-1;if(!o)for(r+=s;i>r&&!/\S/u.test(e[i-1]);--i);let l=kn(n,r,t,(p,f)=>Ir(t,p,f),[],"rangeStart"),c=o?l:kn(n,i,t,p=>Ir(t,p),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let d,D;if(gc(t)){let p=Fc(l,c);d=p,D=p}else({startNode:d,endNode:D}=Ec(l,c,t));return{rangeStart:Math.min(u(d),u(D)),rangeEnd:Math.max(a(d),a(D))}}var au="\uFEFF",Or=Symbol("cursor");async function su(e,t,n=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:i}=await _t(e,t);t.cursorOffset>=0&&(t.cursorNode=fc(r,t));let u=await Zt(r,t);n>0&&(u=xi([Ye,u],n,t.tabWidth));let a=Qt(u,t);if(n>0){let o=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(o)),a.formatted=o+$n(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let o,l,c,d,D;if(t.cursorNode&&a.cursorNodeText?(o=t.locStart(t.cursorNode),l=i.slice(o,t.locEnd(t.cursorNode)),c=t.cursorOffset-o,d=a.cursorNodeStart,D=a.cursorNodeText):(o=0,l=i,c=t.cursorOffset,d=0,D=a.formatted),l===D)return{formatted:a.formatted,cursorOffset:d+c,comments:s};let p=l.split("");p.splice(c,0,Or);let f=D.split(""),h=so(p,f),g=d;for(let F of h)if(F.removed){if(F.value.includes(Or))break}else g+=F.count;return{formatted:a.formatted,cursorOffset:g,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function bc(e,t){let{ast:n,text:r}=await _t(e,t),{rangeStart:i,rangeEnd:u}=vc(r,t,n),a=r.slice(i,u),s=Math.min(i,r.lastIndexOf(` +`,i)+1),o=r.slice(s,i).match(/^\s*/u)[0],l=jn(o,t.tabWidth),c=await su(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>i&&t.cursorOffset<=u?t.cursorOffset-i:-1,endOfLine:"lf"},l),d=c.formatted.trimEnd(),{cursorOffset:D}=t;D>u?D+=d.length-a.length:c.cursorOffset>=0&&(D=c.cursorOffset+i);let p=r.slice(0,i)+d+r.slice(u);if(t.endOfLine!=="lf"){let f=$n(t.endOfLine);D>=0&&f===`\r +`&&(D+=wi(p.slice(0,D),` +`)),p=Jt(!1,p,` +`,f)}return{formatted:p,cursorOffset:D,comments:c.comments}}function pn(e,t,n){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?n:t}function $r(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i}=t;return n=pn(e,n,-1),r=pn(e,r,0),i=pn(e,i,e.length),{...t,cursorOffset:n,rangeStart:r,rangeEnd:i}}function ou(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:u}=$r(e,t),a=e.charAt(0)===au;if(a&&(e=e.slice(1),n--,r--,i--),u==="auto"&&(u=oo(e)),e.includes("\r")){let s=o=>wi(e.slice(0,Math.max(o,0)),`\r +`);n-=s(n),r-=s(r),i-=s(i),e=lo(e)}return{hasBOM:a,text:e,options:$r(e,{...t,cursorOffset:n,rangeStart:r,rangeEnd:i,endOfLine:u})}}async function xr(e,t){let n=await nu(t);return!n.hasPragma||n.hasPragma(e)}async function lu(e,t){let{hasBOM:n,text:r,options:i}=ou(e,await Dt(t));if(i.rangeStart>=i.rangeEnd&&r!==""||i.requirePragma&&!await xr(r,i))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let u;return i.rangeStart>0||i.rangeEnd=0&&u.cursorOffset++),u}async function _c(e,t,n){let{text:r,options:i}=ou(e,await Dt(t)),u=await _t(r,i);return n&&(n.preprocessForPrint&&(u.ast=await iu(u.ast,i)),n.massage&&(u.ast=dc(u.ast,i))),u}async function Ac(e,t){t=await Dt(t);let n=await Zt(e,t);return Qt(n,t)}async function kc(e,t){let n=No(e),{formatted:r}=await lu(n,{...t,parser:"__js_expression"});return r}async function wc(e,t){t=await Dt(t);let{ast:n}=await _t(e,t);return Zt(n,t)}async function Nc(e,t){return Qt(e,await Dt(t))}var cu={};Kt(cu,{builders:()=>Tc,printer:()=>Sc,utils:()=>Bc});var Tc={join:$i,line:Ii,softline:ko,hardline:Ye,literalline:Oi,group:Ti,conditionalGroup:Co,fill:Si,lineSuffix:En,lineSuffixBoundary:_o,cursor:yn,breakParent:Wt,ifBreak:vo,trim:Ao,indent:jt,indentIfBreak:bo,align:lt,addAlignmentToDoc:xi,markAsRoot:Eo,dedentToRoot:Fo,dedent:yo,hardlineWithoutBreakParent:Ln,literallineWithoutBreakParent:Bi,label:wo,concat:e=>e},Sc={printDocToString:Qt},Bc={willBreak:Ro,traverseDoc:xn,findInDoc:Pn,mapDoc:Ht,removeLines:Mo,stripTrailingHardline:Li,replaceEndOfLine:qo,canBreak:Go},Ic="3.3.3",Du={};Kt(Du,{addDanglingComment:()=>qe,addLeadingComment:()=>et,addTrailingComment:()=>tt,getAlignmentSize:()=>jn,getIndentSize:()=>Pc,getMaxContinuousCount:()=>Vc,getNextNonSpaceNonCommentCharacter:()=>qc,getNextNonSpaceNonCommentCharacterIndex:()=>Qc,getStringWidth:()=>Rn,hasNewline:()=>xe,hasNewlineInRange:()=>Gc,hasSpaces:()=>Yc,isNextLineEmpty:()=>tD,isNextLineEmptyAfterIndex:()=>Kn,isPreviousLineEmpty:()=>Zc,makeString:()=>Wc,skip:()=>bt,skipEverythingButNewLine:()=>Ui,skipInlineComment:()=>qn,skipNewline:()=>We,skipSpaces:()=>Re,skipToLineEnd:()=>Vi,skipTrailingComment:()=>zn,skipWhitespace:()=>el});function Oc(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let n=t+2;nMath.max(r,i.length/t.length),0)}var Vc=Mc;function Uc(e,t){let n=Gn(e,t);return n===!1?"":e.charAt(n)}var qc=Uc;function zc(e,t,n){for(let r=t;ra===r?a:s===t?"\\"+s:s||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(a)?a:"\\"+a));return t+i+t}var Wc=Jc;function Hc(e,t,n){return Gn(e,n(t))}function Qc(e,t){return arguments.length===2||typeof t=="number"?Gn(e,t):Hc(...arguments)}function Xc(e,t,n){return Un(e,n(t))}function Zc(e,t){return arguments.length===2||typeof t=="number"?Un(e,t):Xc(...arguments)}function eD(e,t,n){return Kn(e,n(t))}function tD(e,t){return arguments.length===2||typeof t=="number"?Kn(e,t):eD(...arguments)}function ze(e,t=1){return async(...n)=>{let r=n[t]??{},i=r.plugins??[];return n[t]={...r,plugins:Array.isArray(i)?i:Object.values(i)},e(...n)}}var fu=ze(lu);async function pu(e,t){let{formatted:n}=await fu(e,{...t,cursorOffset:-1});return n}async function nD(e,t){return await pu(e,t)===e}var rD=ze(Ji,0),iD={parse:ze(_c),formatAST:ze(Ac),formatDoc:ze(kc),printToDoc:ze(wc),printDocToString:ze(Nc)},uD=_i;function aD(e){return uD.format(e,{parser:"graphql",plugins:[qs],tabWidth:2})}var Mt;(function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"})(Mt||(Mt={}));class Et{constructor(t,n,r){ee(this,"name","");ee(this,"type");ee(this,"fields",{});this.name=n,this.type=t,this.fields=r}withInlineFragment(t,n){return this.withField(`... on ${t}`,[],n)}withType(t){return new Et(t,this.name,this.fields)}withName(t){return new Et(this.type,t??"",this.fields)}withField(t,n,r){return new Et(this.type,this.name,{...this.fields,[t.trim()]:{parameters:n,subSelection:r}})}async build(){const t=this.buildSelection(new Set),n=this.generateArgumentPlaceholder(t.variables);return{query:await aD(`${this.type} ${this.name}${n}${t.query}`),variables:re.mapValues(re.keyBy(t.variables,r=>r.variableName),r=>r.value)}}buildSelection(t){if(!this.hasFields())throw new Error("Cannot generate a sub-selection with no fields in it. A minimum of one field must be queried if the sub-selection is defined.");const n=re.mapValues(this.fields,u=>{var a;return{parameters:u.parameters.map(s=>this.asUniquelyNamedParameter(s,t)),subSelection:(a=u.subSelection)==null?void 0:a.buildSelection(t)}}),r=Object.keys(n).map(u=>{var l;const a=n[u],s=a.parameters.map(c=>`${c.name}: $${c.variableName}`).join(", "),o=s.length===0?"":`(${s})`;return`${u}${o}${((l=a.subSelection)==null?void 0:l.query)??""}`}),i=re.flatMap(Object.keys(n).map(u=>{var s;const a=n[u];return[...a.parameters,...((s=a.subSelection)==null?void 0:s.variables)||[]]}));return{query:` + { + ${r.join(" ")} + } + `,variables:i}}generateArgumentPlaceholder(t){const n=t.map(r=>`$${r.variableName}:${r.type}`).join(", ");return n.length===0?"":`(${n})`}asUniquelyNamedParameter(t,n,r=1){const i=r===1?t.name:t.name+r.toString();return n.has(i)?this.asUniquelyNamedParameter(t,n,r+1):(n.add(i),{variableName:i,...t})}hasFields(){return re.size(this.fields)!==0}}function du(){return new Et(Mt.QUERY,"",{})}function Lr(){return du()}class sD{constructor(t,n){ee(this,"target");ee(this,"value");this.target=t,this.value=n}build(){return{[this.target.name]:this.value.build()}}}class Yn{constructor(t){ee(this,"fields");this.fields=t}withField(t,n){return new Yn({...this.fields,[t]:n})}build(){return{...re.entries(this.fields).reduce((t,[n,r])=>({...t,[n]:r.build()}),{})}}}class Jn{constructor(t){ee(this,"values");this.values=t}withValue(t){return new Jn([...this.values,t])}build(){return this.values.map(t=>t.build())}}class oD{constructor(t){ee(this,"value");this.value=t}build(){return this.value}}function lD(e,t){return new sD(e,t)}function dn(e){return new oD(e)}function cD(){return new Yn({})}function DD(){return new Jn([])}function Wn(e){return Mu(e)}function Vt(e){return Nn(e)?`${Vt(e.ofType)}!`:Lt(e)?`[${Vt(e.ofType)}]`:e.name}function fD(e){let t="";for(let n=0,r=e.length;n{switch(e.targetName.toLowerCase()){case"email":case"emails":case"mail":case"mails":return"test-email@yourcompany.com";case"fullname":case"fullnames":return"John Doe";case"firstname":case"firstnames":return"John";case"lastname":case"lastnames":return"Doe";case"job":case"jobs":case"jobtitle":case"jobtitles":return"Engineer";case"jobarea":return"Engineering";case"phone":case"phones":return"1+ 418-323-4236";case"country":case"countries":return"Canada";case"address":case"addresses":return"2832 Sesame Street";case"state":case"states":case"province":case"provinces":return"Quebec";case"city":case"cities":case"town":case"towns":return"Montreal";case"zipcode":case"zipcodes":return"G1G 43F";case"company":case"companies":return"Acme Inc";case"department":case"departments":return"Engineering";case"datetime":case"datetimes":case"timestamp":case"timestamps":case"timestampz":case"instant":case"instants":return Pr;case"date":case"dates":return Rr;case"price":case"prices":return"$1,234.56";case"color":case"colors":case"paint":case"paints":return"#e10098";case"product":case"products":return"Soup";case"material":case"materials":return"Wood";case"id":case"ids":case"identifier":case"identifiers":case"uuid":case"uuids":return jr;case"size":case"sizes":return"Large";case"url":case"urls":return Mr;case"name":case"names":return"A name";case"description":case"descriptions":return"A description";default:return e.targetName}},ID:()=>jr,Boolean:()=>!0,Int:e=>{switch(e.targetName.toLocaleLowerCase()){case"salary":case"salaries":return 7e4;case"age":case"ages":return 36;default:return 42}},Float:()=>pD,Date:()=>Rr,DateTime:()=>Pr,URL:()=>Mr,JSON:()=>({})}));function dD(e){return{...re.reduce(e,(t,n,r)=>({...t,[r.toLowerCase()]:n,[r[0].toLowerCase()+r.slice(1)]:n}),{}),...e}}function hD(e){return{...e,Instant:e.DateTime,Id:e.ID,BigInteger:e.Int,BigNumber:e.Int,Long:e.Int,Url:e.URL,_text:e.String,Float8:e.Float,Numeric:e.Int,SmallInt:e.Int,Timestamp:e.DateTime,Timestamptz:e.DateTime,JsonB:e.JSON}}function mD(e,t,n){return e.args.map(r=>FD(r,t,n))}function gD(e,t,n,r){return Ut(t,n,{...r,defaultValue:null,generatedInputObjects:new Set,targetName:e})({...r,targetName:e,path:r.path})}function FD(e,t,n){return{name:e.name,type:Vt(e.type),value:mu(e.type,t,{...n,generatedInputObjects:new Set,path:`${n.path}$`,defaultValue:e.defaultValue,targetName:e.name})}}function mu(e,t,n){const r=Wn(e),i=hu[r.name];if(Yr(r)){if(n.generatedInputObjects.has(r.name)&&Jr(e))return null;n.generatedInputObjects.add(r.name)}const u=`${n.path}${n.path.endsWith("$")?"":"."}${n.targetName}`,a={targetName:n.targetName,path:u,defaultValue:n.defaultValue,depth:n.depth};return Ut(e,t,{...n,path:u})({...a,defaultFactory:i?{provide:()=>i(a)}:void 0,randomFactory:{provide:()=>gu(r,t,n)(a)}})}function Ut(e,t,n,r=!0){var o;const{factories:i}=t,u=i[n.path]??i[`${((o=n.parentType)==null?void 0:o.name)||""}.${n.targetName}`]??i[n.targetName]??i[Vt(e)];if(u)return l=>{const c=u(l);return Lt(e)&&!Array.isArray(c)?[c]:c};if(Nn(e))return Ut(e.ofType,t,n,!1);if(r&&(t.nullGenerationStrategy===X.ALWAYS_NULL||t.nullGenerationStrategy===X.SOMETIMES_NULL&&Math.random()>.5))return()=>null;if(Lt(e)){const l=Ut(e.ofType,t,n);return c=>[l(c)]}const a=Wn(e),s=ED(a.name,t);return s||gu(a,t,n)}function gu(e,t,n){if(Vu(e))return()=>e.getValues()[0].value;if(Uu(e)){const r=hu[e.name];if(r===void 0)throw new Xr(e,` +Cannot generate a random value for scalar '${e.name}'. +The random generator is not able to randomly generate a value for non-standard GraphQL scalars. +You have to provide a custom factory by providing this in your config: +{ + '${e.name}': () => generateRandomCustomScalar() +}`);return r}if(Yr(e)){const r=e.getFields()||{};return()=>re.mapValues(r,i=>mu(i.type,t,{...n,parentType:e,generatedInputObjects:new Set(n.generatedInputObjects),targetName:i.name,defaultValue:i.defaultValue}))}throw new Error(`this portion of the fake generator should be unreachable... if you ever see this error, please open an issue: ${e.toJSON()}`)}function ED(e,t){const n=Object.keys(t.factories).find(r=>fD(r).test(e));if(n)return t.factories[n]}const Fu={queryType:Mt.QUERY,queryName:void 0,maxDepth:5,nullGenerationStrategy:X.NEVER_NULL,factories:{}};async function yD(e,t){const n=Object.assign({},Fu,t),r=du(),i=Eu(r,e,n,{depth:1,path:e.name});return i===r?null:await i.withType(n.queryType).withName(n.queryName).build()}function CD(e,t){const n=Object.assign({},Fu,t),r=wn(e.name,e.type,n,{depth:1,path:e.name});return r===null?null:lD(e,r).build()}function Eu(e,t,n,r){const i=mD(t,n,r),u=Wn(t.type);if(Tn(u))return e.withField(t.name,i);const s=yu(u,n,{...r,depth:r.depth+1});return s===null?e:e.withField(t.name,i,s)}function yu(e,t,n){if(n.depth>t.maxDepth||Tn(e))return null;if(hn(e)){const r=Lr().withField("__typename",[]),i=e.getTypes();return re.reduce(i,(a,s)=>{const o=yu(s,t,n);return o?a.withInlineFragment(s.name,o):a},r)}if(Wr(e)||Hr(e)){const r=Lr(),i=e.getFields(),u=re.reduce(i,(a,s)=>Eu(a,s,t,{depth:n.depth,path:`${n.path}.${s.name}`}),r);return u===r?null:u}throw new Error(`this portion of the query generator should be unreachable... if you ever see this error, please open an issue: ${JSON.stringify(e)}`)}function wn(e,t,n,r){if(r.depth>n.maxDepth)return null;if(Jr(t)&&n.nullGenerationStrategy===X.ALWAYS_NULL)return dn(null);if(Nn(t)&&(t=t.ofType),Tn(t))return dn(gD(e,t,{...n,nullGenerationStrategy:X.NEVER_NULL},r));if(Lt(t)){const i=wn(e,t.ofType,n,r);return i?DD().withValue(i):null}if(hn(t)||Wr(t)||Hr(t)){let i=cD(),u=t;hn(u)&&(u=u.getTypes()[0],i=i.withField("__typename",dn(u.name)));const a=re.reduce(u.getFields(),(s,o)=>{const l=wn(o.name,o.type,n,{...r,parentType:u,path:`${r.path}.${o.name}`,depth:r.depth+1});return l===null?s:s.withField(o.name,l)},i);return a===i?null:a}throw new Error(`this portion of the query generator should be unreachable... if you ever see this error, please open an issue: ${JSON.stringify(t)}`)}const vD=8,bD=2,_D=3,$e=Gu(null),Bt=async e=>{const t={queryType:e.type,maxDepth:e.depth,nullGenerationStrategy:e.nullGenerationStrategy,factories:re.reduce(qu(zu.QUERY_GENERATION_FACTORIES),(n,r,i)=>({...n,[i]:()=>r}),{})};try{const n=await yD(e.field,t),r=CD(e.field,t);return{value:n??null,response:r,depth:e.depth,field:e.field,type:e.type,nullGenerationStrategy:e.nullGenerationStrategy}}catch(n){throw n instanceof Xr?new Error(` +Cannot generate a random value for scalar '${n.type.name}'. +The random generator is not able to randomly generate a value for non-standard GraphQL scalars. +You have to provide a custom factory by providing this in your magidoc config: +{ + website: { + options: { + queryGenerationFactories: { + '${n.type.name}': '' + } + } + } +} + +To learn more about how to generate a custom scalar value, see: https://magidoc.js.org/cli/magidoc-configuration#querygenerationfactories +`):n}},it={subscribe:$e.subscribe,increaseDepth:async()=>{const e=tn($e);if(e&&e.depth{const e=tn($e);if(e&&e.depth>bD){const t=await Bt({...e,depth:e.depth-1});$e.set(t)}},toggleNullGenerationStrategy:async()=>{const e=tn($e);if(!e)return;const t=await Bt({...e,nullGenerationStrategy:e.nullGenerationStrategy===X.NEVER_NULL?X.ALWAYS_NULL:X.NEVER_NULL});$e.set(t)},setField:async(e,t)=>{const n=await Bt({field:e,type:t,depth:_D,nullGenerationStrategy:X.NEVER_NULL});$e.set(n)}};function AD(e){return{c:k,l:k,m:k,p:k,i:k,o:k,d:k}}function kD(e){let t,n,r=e[9]&&Vr(e);return{c(){r&&r.c(),t=Le()},l(i){r&&r.l(i),t=Le()},m(i,u){r&&r.m(i,u),N(i,t,u),n=!0},p(i,u){i[9]?r?(r.p(i,u),u&8&&C(r,1)):(r=Vr(i),r.c(),C(r,1),r.m(t.parentNode,t)):r&&(ut(),_(r,1,1,()=>{r=null}),at())},i(i){n||(C(r),n=!0)},o(i){_(r),n=!1},d(i){i&&E(t),r&&r.d(i)}}}function Vr(e){let t,n,r,i,u,a,s,o=e[9].depth+"",l,c,d,D;return t=new Nt({props:{kind:"ghost",icon:Qu,iconDescription:e[2],tooltipPosition:"left",size:"field"}}),t.$on("click",e[5]),r=new Nt({props:{kind:"ghost",icon:e[9].nullGenerationStrategy===X.NEVER_NULL?nr:er,iconDescription:e[9].nullGenerationStrategy===X.NEVER_NULL?"Never null fields":"Always null fields",tooltipPosition:"left",size:"field"}}),r.$on("click",e[6]),u=new Nt({props:{kind:"ghost",icon:Ju,iconDescription:"Increase query depth",tooltipPosition:"left",size:"field"}}),u.$on("click",e[7]),d=new Nt({props:{kind:"ghost",icon:ia,iconDescription:"Decrease query depth",tooltipPosition:"left",size:"field"}}),d.$on("click",e[8]),{c(){T(t.$$.fragment),n=z(),T(r.$$.fragment),i=z(),T(u.$$.fragment),a=z(),s=Ge("p"),l=ae(o),c=z(),T(d.$$.fragment),this.h()},l(p){S(t.$$.fragment,p),n=G(p),S(r.$$.fragment,p),i=G(p),S(u.$$.fragment,p),a=G(p),s=Ke(p,"P",{style:!0});var f=$(s);l=se(f,o),f.forEach(E),c=G(p),S(d.$$.fragment,p),this.h()},h(){Tu(s,"text-align","center")},m(p,f){B(t,p,f),N(p,n,f),B(r,p,f),N(p,i,f),B(u,p,f),N(p,a,f),N(p,s,f),O(s,l),N(p,c,f),B(d,p,f),D=!0},p(p,f){const h={};f&4&&(h.iconDescription=p[2]),t.$set(h);const g={};f&8&&(g.icon=p[9].nullGenerationStrategy===X.NEVER_NULL?nr:er),f&8&&(g.iconDescription=p[9].nullGenerationStrategy===X.NEVER_NULL?"Never null fields":"Always null fields"),r.$set(g),(!D||f&8)&&o!==(o=p[9].depth+"")&&Pe(l,o)},i(p){D||(C(t.$$.fragment,p),C(r.$$.fragment,p),C(u.$$.fragment,p),C(d.$$.fragment,p),D=!0)},o(p){_(t.$$.fragment,p),_(r.$$.fragment,p),_(u.$$.fragment,p),_(d.$$.fragment,p),D=!1},d(p){p&&(E(n),E(i),E(a),E(s),E(c)),I(t,p),I(r,p),I(u,p),I(d,p)}}}function wD(e){return{c:k,l:k,m:k,p:k,i:k,o:k,d:k}}function ND(e){let t,n,r,i,u,a,s;r=new xu({props:{source:e[0],language:e[1],maxHeight:"20rem",minHeight:"12rem"}});let o={ctx:e,current:null,token:null,hasCatch:!1,pending:wD,then:kD,catch:AD,value:9,blocks:[,,,]};return Rt(a=e[3],o),{c(){t=Ge("div"),n=Ge("div"),T(r.$$.fragment),i=z(),u=Ge("div"),o.block.c(),this.h()},l(l){t=Ke(l,"DIV",{class:!0});var c=$(t);n=Ke(c,"DIV",{class:!0});var d=$(n);S(r.$$.fragment,d),d.forEach(E),i=G(c),u=Ke(c,"DIV",{class:!0});var D=$(u);o.block.l(D),D.forEach(E),c.forEach(E),this.h()},h(){Q(n,"class","code-section svelte-1gk78cu"),Q(u,"class","button-bar svelte-1gk78cu"),Q(t,"class","wrapper svelte-1gk78cu")},m(l,c){N(l,t,c),O(t,n),B(r,n,null),O(t,i),O(t,u),o.block.m(u,o.anchor=null),o.mount=()=>u,o.anchor=null,s=!0},p(l,[c]){e=l;const d={};c&1&&(d.source=e[0]),c&2&&(d.language=e[1]),r.$set(d),o.ctx=e,c&8&&a!==(a=e[3])&&Rt(a,o)||Qr(o,e,c)},i(l){s||(C(r.$$.fragment,l),C(o.block),s=!0)},o(l){_(r.$$.fragment,l);for(let c=0;c<3;c+=1){const d=o.blocks[c];_(d)}s=!1},d(l){l&&E(t),I(r),o.block.d(),o.token=null,o=null}}}function TD(e,t,n){let r;Gr(e,it,D=>n(3,r=D));let{code:i}=t,{language:u}=t,a="Copy query";const s=async D=>{try{n(2,a="Copied!"),await navigator.clipboard.writeText(D),setTimeout(()=>{n(2,a="Copy query")},1500)}catch(p){console.error(p)}},o=()=>s(i),l=()=>it.toggleNullGenerationStrategy(),c=()=>it.increaseDepth(),d=()=>it.decreaseDepth();return e.$$set=D=>{"code"in D&&n(0,i=D.code),"language"in D&&n(1,u=D.language)},[i,u,a,r,s,o,l,c,d]}class Hn extends ye{constructor(t){super(),Ce(this,t,TD,ND,Ee,{code:0,language:1})}}function SD(e){return{c:k,l:k,m:k,p:k,i:k,o:k,d:k}}function BD(e){let t,n,r=e[5]&&Ur(e);return{c(){r&&r.c(),t=Le()},l(i){r&&r.l(i),t=Le()},m(i,u){r&&r.m(i,u),N(i,t,u),n=!0},p(i,u){i[5]?r?(r.p(i,u),u&2&&C(r,1)):(r=Ur(i),r.c(),C(r,1),r.m(t.parentNode,t)):r&&(ut(),_(r,1,1,()=>{r=null}),at())},i(i){n||(C(r),n=!0)},o(i){_(r),n=!1},d(i){i&&E(t),r&&r.d(i)}}}function Ur(e){let t,n,r;function i(a){e[4](a)}let u={autoWidth:!0,$$slots:{content:[LD],default:[ID]},$$scope:{ctx:e}};return e[0]!==void 0&&(u.selected=e[0]),t=new Lu({props:u}),Su.push(()=>Iu(t,"selected",i)),{c(){T(t.$$.fragment)},l(a){S(t.$$.fragment,a)},m(a,s){B(t,a,s),r=!0},p(a,s){const o={};s&66&&(o.$$scope={dirty:s,ctx:a}),!n&&s&1&&(n=!0,o.selected=a[0],Bu(()=>n=!1)),t.$set(o)},i(a){r||(C(t.$$.fragment,a),r=!0)},o(a){_(t.$$.fragment,a),r=!1},d(a){I(t,a)}}}function ID(e){let t,n,r,i,u,a;return t=new nn({props:{label:"Query"}}),r=new nn({props:{label:"Variables"}}),u=new nn({props:{label:"Response"}}),{c(){T(t.$$.fragment),n=z(),T(r.$$.fragment),i=z(),T(u.$$.fragment)},l(s){S(t.$$.fragment,s),n=G(s),S(r.$$.fragment,s),i=G(s),S(u.$$.fragment,s)},m(s,o){B(t,s,o),N(s,n,o),B(r,s,o),N(s,i,o),B(u,s,o),a=!0},p:k,i(s){a||(C(t.$$.fragment,s),C(r.$$.fragment,s),C(u.$$.fragment,s),a=!0)},o(s){_(t.$$.fragment,s),_(r.$$.fragment,s),_(u.$$.fragment,s),a=!1},d(s){s&&(E(n),E(i)),I(t,s),I(r,s),I(u,s)}}}function OD(e){var r;let t,n;return t=new Hn({props:{code:((r=e[5].value)==null?void 0:r.query)??"# No query generated. Try increasing the depth",language:"graphql"}}),{c(){T(t.$$.fragment)},l(i){S(t.$$.fragment,i)},m(i,u){B(t,i,u),n=!0},p(i,u){var s;const a={};u&2&&(a.code=((s=i[5].value)==null?void 0:s.query)??"# No query generated. Try increasing the depth"),t.$set(a)},i(i){n||(C(t.$$.fragment,i),n=!0)},o(i){_(t.$$.fragment,i),n=!1},d(i){I(t,i)}}}function $D(e){var r,i;let t,n;return t=new Hn({props:{code:(r=e[5].value)!=null&&r.variables?JSON.stringify(((i=e[5].value)==null?void 0:i.variables)||{},null,2):"",language:"json"}}),{c(){T(t.$$.fragment)},l(u){S(t.$$.fragment,u)},m(u,a){B(t,u,a),n=!0},p(u,a){var o,l;const s={};a&2&&(s.code=(o=u[5].value)!=null&&o.variables?JSON.stringify(((l=u[5].value)==null?void 0:l.variables)||{},null,2):""),t.$set(s)},i(u){n||(C(t.$$.fragment,u),n=!0)},o(u){_(t.$$.fragment,u),n=!1},d(u){I(t,u)}}}function xD(e){let t,n;return t=new Hn({props:{code:e[5].response?JSON.stringify(e[5].response||{},null,2):"",language:"json"}}),{c(){T(t.$$.fragment)},l(r){S(t.$$.fragment,r)},m(r,i){B(t,r,i),n=!0},p(r,i){const u={};i&2&&(u.code=r[5].response?JSON.stringify(r[5].response||{},null,2):""),t.$set(u)},i(r){n||(C(t.$$.fragment,r),n=!0)},o(r){_(t.$$.fragment,r),n=!1},d(r){I(t,r)}}}function LD(e){let t,n,r,i,u,a;return t=new rn({props:{style:"padding:0",$$slots:{default:[OD]},$$scope:{ctx:e}}}),r=new rn({props:{style:"padding:0",$$slots:{default:[$D]},$$scope:{ctx:e}}}),u=new rn({props:{id:"third",style:"padding:0",$$slots:{default:[xD]},$$scope:{ctx:e}}}),{c(){T(t.$$.fragment),n=z(),T(r.$$.fragment),i=z(),T(u.$$.fragment)},l(s){S(t.$$.fragment,s),n=G(s),S(r.$$.fragment,s),i=G(s),S(u.$$.fragment,s)},m(s,o){B(t,s,o),N(s,n,o),B(r,s,o),N(s,i,o),B(u,s,o),a=!0},p(s,o){const l={};o&66&&(l.$$scope={dirty:o,ctx:s}),t.$set(l);const c={};o&66&&(c.$$scope={dirty:o,ctx:s}),r.$set(c);const d={};o&66&&(d.$$scope={dirty:o,ctx:s}),u.$set(d)},i(s){a||(C(t.$$.fragment,s),C(r.$$.fragment,s),C(u.$$.fragment,s),a=!0)},o(s){_(t.$$.fragment,s),_(r.$$.fragment,s),_(u.$$.fragment,s),a=!1},d(s){s&&(E(n),E(i)),I(t,s),I(r,s),I(u,s)}}}function RD(e){return{c:k,l:k,m:k,p:k,i:k,o:k,d:k}}function PD(e){let t,n,r,i={ctx:e,current:null,token:null,hasCatch:!1,pending:RD,then:BD,catch:SD,value:5,blocks:[,,,]};return Rt(n=e[1],i),{c(){t=Le(),i.block.c()},l(u){t=Le(),i.block.l(u)},m(u,a){N(u,t,a),i.block.m(u,i.anchor=a),i.mount=()=>t.parentNode,i.anchor=t,r=!0},p(u,[a]){e=u,i.ctx=e,a&2&&n!==(n=e[1])&&Rt(n,i)||Qr(i,e,a)},i(u){r||(C(i.block),r=!0)},o(u){for(let a=0;a<3;a+=1){const s=i.blocks[a];_(s)}r=!1},d(u){u&&E(t),i.block.d(u),i.token=null,i=null}}}function jD(e,t,n){let r;Gr(e,it,o=>n(1,r=o));let{type:i}=t,{field:u}=t,a=0;function s(o){a=o,n(0,a)}return e.$$set=o=>{"type"in o&&n(2,i=o.type),"field"in o&&n(3,u=o.field)},e.$$.update=()=>{e.$$.dirty&12&&it.setField(u,i)},[a,r,i,u,s]}class MD extends ye{constructor(t){super(),Ce(this,t,jD,PD,Ee,{type:2,field:3})}}function VD(e){var s;let t=e[1].name+"",n,r,i,u,a;return r=new fa({props:{type:e[0]}}),u=new Ru({props:{directives:(s=e[1].astNode)==null?void 0:s.directives}}),{c(){n=ae(t),T(r.$$.fragment),i=z(),T(u.$$.fragment)},l(o){n=se(o,t),S(r.$$.fragment,o),i=G(o),S(u.$$.fragment,o)},m(o,l){N(o,n,l),B(r,o,l),N(o,i,l),B(u,o,l),a=!0},p(o,l){var D;(!a||l&2)&&t!==(t=o[1].name+"")&&Pe(n,t);const c={};l&1&&(c.type=o[0]),r.$set(c);const d={};l&2&&(d.directives=(D=o[1].astNode)==null?void 0:D.directives),u.$set(d)},i(o){a||(C(r.$$.fragment,o),C(u.$$.fragment,o),a=!0)},o(o){_(r.$$.fragment,o),_(u.$$.fragment,o),a=!1},d(o){o&&(E(n),E(i)),I(r,o),I(u,o)}}}function qr(e){let t,n,r,i;return t=new xt({props:{id:"arguments",depth:2,$$slots:{default:[UD]},$$scope:{ctx:e}}}),r=new Pu({props:{data:e[1].args}}),{c(){T(t.$$.fragment),n=z(),T(r.$$.fragment)},l(u){S(t.$$.fragment,u),n=G(u),S(r.$$.fragment,u)},m(u,a){B(t,u,a),N(u,n,a),B(r,u,a),i=!0},p(u,a){const s={};a&4&&(s.$$scope={dirty:a,ctx:u}),t.$set(s);const o={};a&2&&(o.data=u[1].args),r.$set(o)},i(u){i||(C(t.$$.fragment,u),C(r.$$.fragment,u),i=!0)},o(u){_(t.$$.fragment,u),_(r.$$.fragment,u),i=!1},d(u){u&&E(n),I(t,u),I(r,u)}}}function UD(e){let t;return{c(){t=ae("Arguments")},l(n){t=se(n,"Arguments")},m(n,r){N(n,t,r)},d(n){n&&E(t)}}}function zr(e){let t,n,r,i,u,a,s;return t=new xt({props:{id:"response",depth:2,$$slots:{default:[qD]},$$scope:{ctx:e}}}),u=new ju({props:{type:e[1].type}}),{c(){T(t.$$.fragment),n=z(),r=Ge("p"),i=ae("Returns "),T(u.$$.fragment),a=ae(".")},l(o){S(t.$$.fragment,o),n=G(o),r=Ke(o,"P",{});var l=$(r);i=se(l,"Returns "),S(u.$$.fragment,l),a=se(l,"."),l.forEach(E)},m(o,l){B(t,o,l),N(o,n,l),N(o,r,l),O(r,i),B(u,r,null),O(r,a),s=!0},p(o,l){const c={};l&4&&(c.$$scope={dirty:l,ctx:o}),t.$set(c);const d={};l&2&&(d.type=o[1].type),u.$set(d)},i(o){s||(C(t.$$.fragment,o),C(u.$$.fragment,o),s=!0)},o(o){_(t.$$.fragment,o),_(u.$$.fragment,o),s=!1},d(o){o&&(E(n),E(r)),I(t,o),I(u)}}}function qD(e){let t;return{c(){t=ae("Response")},l(n){t=se(n,"Response")},m(n,r){N(n,t,r)},d(n){n&&E(t)}}}function zD(e){let t;return{c(){t=ae("Example")},l(n){t=se(n,"Example")},m(n,r){N(n,t,r)},d(n){n&&E(t)}}}function GD(e){let t,n,r,i,u,a,s,o,l,c,d,D,p;n=new oa({props:{deprecationReason:e[1].deprecationReason}}),i=new xt({props:{id:"title",depth:1,$$slots:{default:[VD]},$$scope:{ctx:e}}}),a=new Kr({props:{source:e[1].description}});let f=e[1].args.length>0&&qr(e),h=e[1].type&&zr(e);return c=new xt({props:{id:"example",depth:4,$$slots:{default:[zD]},$$scope:{ctx:e}}}),D=new MD({props:{type:e[0],field:e[1]}}),{c(){t=Ge("section"),T(n.$$.fragment),r=z(),T(i.$$.fragment),u=z(),T(a.$$.fragment),s=z(),f&&f.c(),o=z(),h&&h.c(),l=z(),T(c.$$.fragment),d=z(),T(D.$$.fragment)},l(g){t=Ke(g,"SECTION",{});var F=$(t);S(n.$$.fragment,F),r=G(F),S(i.$$.fragment,F),u=G(F),S(a.$$.fragment,F),s=G(F),f&&f.l(F),o=G(F),h&&h.l(F),l=G(F),S(c.$$.fragment,F),d=G(F),S(D.$$.fragment,F),F.forEach(E)},m(g,F){N(g,t,F),B(n,t,null),O(t,r),B(i,t,null),O(t,u),B(a,t,null),O(t,s),f&&f.m(t,null),O(t,o),h&&h.m(t,null),O(t,l),B(c,t,null),O(t,d),B(D,t,null),p=!0},p(g,[F]){const A={};F&2&&(A.deprecationReason=g[1].deprecationReason),n.$set(A);const b={};F&7&&(b.$$scope={dirty:F,ctx:g}),i.$set(b);const v={};F&2&&(v.source=g[1].description),a.$set(v),g[1].args.length>0?f?(f.p(g,F),F&2&&C(f,1)):(f=qr(g),f.c(),C(f,1),f.m(t,o)):f&&(ut(),_(f,1,1,()=>{f=null}),at()),g[1].type?h?(h.p(g,F),F&2&&C(h,1)):(h=zr(g),h.c(),C(h,1),h.m(t,l)):h&&(ut(),_(h,1,1,()=>{h=null}),at());const w={};F&4&&(w.$$scope={dirty:F,ctx:g}),c.$set(w);const L={};F&1&&(L.type=g[0]),F&2&&(L.field=g[1]),D.$set(L)},i(g){p||(C(n.$$.fragment,g),C(i.$$.fragment,g),C(a.$$.fragment,g),C(f),C(h),C(c.$$.fragment,g),C(D.$$.fragment,g),p=!0)},o(g){_(n.$$.fragment,g),_(i.$$.fragment,g),_(a.$$.fragment,g),_(f),_(h),_(c.$$.fragment,g),_(D.$$.fragment,g),p=!1},d(g){g&&E(t),I(n),I(i),I(a),f&&f.d(),h&&h.d(),I(c),I(D)}}}function KD(e,t,n){let{type:r}=t,{field:i}=t;return e.$$set=u=>{"type"in u&&n(0,r=u.type),"field"in u&&n(1,i=u.field)},[r,i]}class lf extends ye{constructor(t){super(),Ce(this,t,KD,GD,Ee,{type:0,field:1})}}export{lf as F,Mt as Q}; diff --git a/public/docs/_app/immutable/chunks/PreviousNextPage.CUJbWA2C.js b/public/docs/_app/immutable/chunks/PreviousNextPage.CUJbWA2C.js new file mode 100644 index 0000000..9d6bff9 --- /dev/null +++ b/public/docs/_app/immutable/chunks/PreviousNextPage.CUJbWA2C.js @@ -0,0 +1,9 @@ +import{s as S,e as L,t as re,f as P,g as p,j as oe,d as m,k as M,L as Ie,z as d,l as E,m as N,n as he,D as Ye,v as C,a4 as y,a5 as x,a6 as ve,u as V,w as X,o as me,E as $,F as ee,G as te,H as le,I as Ce,q as ie,y as O,A as z,r as be,x as B,a1 as He,K as Zt,b as ue,c as fe,ab as Pe,C as It,p as Me,ac as Ze,ad as Lt,M as Wt,J as Yt,a2 as Be,B as Ut,ae as We}from"./scheduler.6x_t8-M_.js";import{S as Z,i as W,c as U,a as G,m as q,t as b,b as k,d as j,g as ce,e as de}from"./index.DNIXW-5M.js";import{i as se,q as we,P as Ue,j as qt,Q as jt,u as Le,n as Ft,S as Ot}from"./pages.BSRgrbSV.js";import{P as qe,C as Pt,a as Gt,L as Jt}from"./ChevronDown.CeVNLKJZ.js";import{d as je,w as Ne}from"./index.DPdU9_CZ.js";function Kt(i){let e,n,t,l,r;return{c(){e=L("div"),n=L("pre"),t=re(" "),l=L("code"),r=re(` + `),this.h()},l(s){e=P(s,"DIV",{});var o=p(e);n=P(o,"PRE",{class:!0,style:!0});var a=p(n);t=oe(a," "),l=P(a,"CODE",{}),p(l).forEach(m),r=oe(a,` + `),a.forEach(m),o.forEach(m),this.h()},h(){M(n,"class","prism--code-container"),Ie(n,"--min-height",i[2]),Ie(n,"--max-height",i[3]),d(n,"line-numbers",i[0]),d(e,"prism--show-copy-button",i[1]),d(e,"prism--hide-copy-button",!i[1])},m(s,o){E(s,e,o),N(e,n),N(n,t),N(n,l),i[7](l),N(n,r)},p(s,[o]){o&4&&Ie(n,"--min-height",s[2]),o&8&&Ie(n,"--max-height",s[3]),o&1&&d(n,"line-numbers",s[0]),o&2&&d(e,"prism--show-copy-button",s[1]),o&2&&d(e,"prism--hide-copy-button",!s[1])},i:he,o:he,d(s){s&&m(e),i[7](null)}}}function Qt(i,e,n){let{language:t}=e,{source:l}=e,{showLineNumbers:r=!1}=e,{showCopyButton:s=!1}=e,{minHeight:o=void 0}=e,{maxHeight:a=void 0}=e,u;function f(h,c,g){h.textContent=g,h.classList.forEach(w=>h.classList.remove(w)),c&&(h.classList.add(`language-${c}`),h.classList.add("prism--code")),qe.highlightElement(h)}function _(h){Ye[h?"unshift":"push"](()=>{u=h,n(4,u)})}return i.$$set=h=>{"language"in h&&n(5,t=h.language),"source"in h&&n(6,l=h.source),"showLineNumbers"in h&&n(0,r=h.showLineNumbers),"showCopyButton"in h&&n(1,s=h.showCopyButton),"minHeight"in h&&n(2,o=h.minHeight),"maxHeight"in h&&n(3,a=h.maxHeight)},i.$$.update=()=>{i.$$.dirty&112&&u&&qe&&f(u,t,l)},[r,s,o,a,u,t,l,_]}class Xt extends Z{constructor(e){super(),W(this,e,Qt,Kt,S,{language:5,source:6,showLineNumbers:0,showCopyButton:1,minHeight:2,maxHeight:3})}}function Fe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function yt(i){let e,n,t=i[1]&&Fe(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],r={};for(let s=0;s{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class $t extends Z{constructor(e){super(),W(this,e,xt,yt,S,{size:0,title:1})}}function Oe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function el(i){let e,n,t=i[1]&&Oe(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],r={};for(let s=0;s{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class ll extends Z{constructor(e){super(),W(this,e,tl,el,S,{size:0,title:1})}}function nl(i){let e,n;return e=new Xt({props:{language:i[2].lang||"plain",source:i[2].text,showCopyButton:i[0],showLineNumbers:i[1]}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&4&&(r.language=t[2].lang||"plain"),l&4&&(r.source=t[2].text),l&1&&(r.showCopyButton=t[0]),l&2&&(r.showLineNumbers=t[1]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function il(i,e,n){let{showCopyButton:t=!0}=e,{showLineNumbers:l=!0}=e,{token:r}=e;return i.$$set=s=>{"showCopyButton"in s&&n(0,t=s.showCopyButton),"showLineNumbers"in s&&n(1,l=s.showLineNumbers),"token"in s&&n(2,r=s.token)},[t,l,r]}class sl extends Z{constructor(e){super(),W(this,e,il,nl,S,{showCopyButton:0,showLineNumbers:1,token:2})}}function rl(i){let e,n;const t=i[1].default,l=$(t,i,i[0],null);return{c(){e=L("code"),l&&l.c(),this.h()},l(r){e=P(r,"CODE",{class:!0});var s=p(e);l&&l.l(s),s.forEach(m),this.h()},h(){M(e,"class","code-span svelte-1292o4f")},m(r,s){E(r,e,s),l&&l.m(e,null),n=!0},p(r,[s]){l&&l.p&&(!n||s&1)&&ee(l,t,r,r[0],n?le(t,r[0],s,null):te(r[0]),null)},i(r){n||(b(l,r),n=!0)},o(r){k(l,r),n=!1},d(r){r&&m(e),l&&l.d(r)}}}function ol(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class al extends Z{constructor(e){super(),W(this,e,ol,rl,S,{})}}function ul(i){let e=i[0].raw.slice(1,i[0].raw.length-1)+"",n;return{c(){n=re(e)},l(t){n=oe(t,e)},m(t,l){E(t,n,l)},p(t,l){l&1&&e!==(e=t[0].raw.slice(1,t[0].raw.length-1)+"")&&me(n,e)},d(t){t&&m(n)}}}function fl(i){let e,n;return e=new al({props:{$$slots:{default:[ul]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&3&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function cl(i,e,n){let{token:t}=e;return i.$$set=l=>{"token"in l&&n(0,t=l.token)},[t]}class dl extends Z{constructor(e){super(),W(this,e,cl,fl,S,{token:0})}}function Ge(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function hl(i){let e,n,t,l=i[1]&&Ge(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class _l extends Z{constructor(e){super(),W(this,e,ml,hl,S,{size:0,title:1})}}function Je(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function gl(i){let e,n,t,l=i[1]&&Je(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class vl extends Z{constructor(e){super(),W(this,e,bl,gl,S,{size:0,title:1})}}function Ke(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function kl(i){let e,n,t,l=i[1]&&Ke(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class pl extends Z{constructor(e){super(),W(this,e,wl,kl,S,{size:0,title:1})}}function Qe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function El(i){let e,n,t,l=i[1]&&Qe(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Cl extends Z{constructor(e){super(),W(this,e,Ml,El,S,{size:0,title:1})}}function Xe(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function zl(i){let e,n,t,l=i[1]&&Xe(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Al extends Z{constructor(e){super(),W(this,e,Bl,zl,S,{size:0,title:1})}}function ye(i){let e,n;return{c(){e=y("title"),n=re(i[1])},l(t){e=x(t,"title",{});var l=p(e);n=oe(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function Dl(i){let e,n,t,l,r=i[1]&&ye(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],o={};for(let a=0;a{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Il extends Z{constructor(e){super(),W(this,e,Nl,Dl,S,{size:0,title:1})}}function Ll(i){let e,n,t;var l=i[3][i[0]];function r(s,o){return{props:{size:20,title:s[2],class:(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")}}}return l&&(e=Ce(l,r(i))),{c(){e&&U(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&q(e,s,o),E(s,n,o),t=!0},p(s,[o]){if(o&1&&l!==(l=s[3][s[0]])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(e=Ce(l,r(s)),U(e.$$.fragment),b(e.$$.fragment,1),q(e,n.parentNode,n)):e=null}else if(l){const a={};o&4&&(a.title=s[2]),o&2&&(a.class=(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")),e.$set(a)}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&j(e,s)}}}function Pl(i,e,n){let{kind:t="error"}=e,{notificationType:l="toast"}=e,{iconDescription:r}=e;const s={error:vl,"info-square":Cl,info:pl,success:_l,warning:Al,"warning-alt":Il};return i.$$set=o=>{"kind"in o&&n(0,t=o.kind),"notificationType"in o&&n(1,l=o.notificationType),"iconDescription"in o&&n(2,r=o.iconDescription)},[t,l,r,s]}class Hl extends Z{constructor(e){super(),W(this,e,Pl,Ll,S,{kind:0,notificationType:1,iconDescription:2})}}function Tl(i){let e,n,t,l,r;var s=i[1];function o(f,_){return{props:{size:20,title:f[2],class:(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")}}}s&&(n=Ce(s,o(i)));let a=[{type:"button"},{"aria-label":i[3]},{title:i[3]},i[4]],u={};for(let f=0;f{j(h,1)}),de()}s?(n=Ce(s,o(f)),U(n.$$.fragment),b(n.$$.fragment,1),q(n,e,null)):n=null}else if(s){const h={};_&4&&(h.title=f[2]),_&1&&(h.class=(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")),n.$set(h)}O(e,u=se(a,[{type:"button"},(!t||_&8)&&{"aria-label":f[3]},(!t||_&8)&&{title:f[3]},_&16&&f[4]])),d(e,"bx--toast-notification__close-button",f[0]==="toast"),d(e,"bx--inline-notification__close-button",f[0]==="inline")},i(f){t||(n&&b(n.$$.fragment,f),t=!0)},o(f){n&&k(n.$$.fragment,f),t=!1},d(f){f&&m(e),n&&j(n),l=!1,be(r)}}}function Rl(i,e,n){const t=["notificationType","icon","title","iconDescription"];let l=V(e,t),{notificationType:r="toast"}=e,{icon:s=Pt}=e,{title:o=void 0}=e,{iconDescription:a="Close icon"}=e;function u(c){B.call(this,i,c)}function f(c){B.call(this,i,c)}function _(c){B.call(this,i,c)}function h(c){B.call(this,i,c)}return i.$$set=c=>{e=C(C({},e),X(c)),n(4,l=V(e,t)),"notificationType"in c&&n(0,r=c.notificationType),"icon"in c&&n(1,s=c.icon),"title"in c&&n(2,o=c.title),"iconDescription"in c&&n(3,a=c.iconDescription)},[r,s,o,a,l,u,f,_,h]}class Vl extends Z{constructor(e){super(),W(this,e,Rl,Tl,S,{notificationType:0,icon:1,title:2,iconDescription:3})}}const Sl=i=>({}),xe=i=>({}),Zl=i=>({}),$e=i=>({}),Wl=i=>({}),et=i=>({});function tt(i){let e,n,t,l,r,s,o,a,u,f,_,h,c,g;t=new Hl({props:{notificationType:"inline",kind:i[0],iconDescription:i[6]}});const w=i[13].title,R=$(w,i,i[12],et),F=R||Yl(i),I=i[13].subtitle,A=$(I,i,i[12],$e),D=A||Ul(i),K=i[13].default,Q=$(K,i,i[12],null),_e=i[13].actions,T=$(_e,i,i[12],xe);let ne=!i[5]&<(i),ke=[{role:i[2]},{kind:i[0]},i[10]],ge={};for(let v=0;v{ne=null}),de()):ne?(ne.p(v,J),J&32&&b(ne,1)):(ne=lt(v),ne.c(),b(ne,1),ne.m(e,null)),O(e,ge=se(ke,[(!h||J&4)&&{role:v[2]},(!h||J&1)&&{kind:v[0]},J&1024&&v[10]])),d(e,"bx--inline-notification",!0),d(e,"bx--inline-notification--low-contrast",v[1]),d(e,"bx--inline-notification--hide-close-button",v[5]),d(e,"bx--inline-notification--error",v[0]==="error"),d(e,"bx--inline-notification--info",v[0]==="info"),d(e,"bx--inline-notification--info-square",v[0]==="info-square"),d(e,"bx--inline-notification--success",v[0]==="success"),d(e,"bx--inline-notification--warning",v[0]==="warning"),d(e,"bx--inline-notification--warning-alt",v[0]==="warning-alt")},i(v){h||(b(t.$$.fragment,v),b(F,v),b(D,v),b(Q,v),b(T,v),b(ne),h=!0)},o(v){k(t.$$.fragment,v),k(F,v),k(D,v),k(Q,v),k(T,v),k(ne),h=!1},d(v){v&&m(e),j(t),F.d(v),D.d(v),Q&&Q.d(v),T&&T.d(v),ne&&ne.d(),c=!1,be(g)}}}function Yl(i){let e;return{c(){e=re(i[3])},l(n){e=oe(n,i[3])},m(n,t){E(n,e,t)},p(n,t){t&8&&me(e,n[3])},d(n){n&&m(e)}}}function Ul(i){let e;return{c(){e=re(i[4])},l(n){e=oe(n,i[4])},m(n,t){E(n,e,t)},p(n,t){t&16&&me(e,n[4])},d(n){n&&m(e)}}}function lt(i){let e,n;return e=new Vl({props:{iconDescription:i[7],notificationType:"inline"}}),e.$on("click",i[9]),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&128&&(r.iconDescription=t[7]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function ql(i){let e,n,t=i[8]&&tt(i);return{c(){t&&t.c(),e=ie()},l(l){t&&t.l(l),e=ie()},m(l,r){t&&t.m(l,r),E(l,e,r),n=!0},p(l,[r]){l[8]?t?(t.p(l,r),r&256&&b(t,1)):(t=tt(l),t.c(),b(t,1),t.m(e.parentNode,e)):t&&(ce(),k(t,1,1,()=>{t=null}),de())},i(l){n||(b(t),n=!0)},o(l){k(t),n=!1},d(l){l&&m(e),t&&t.d(l)}}}function jl(i,e,n){const t=["kind","lowContrast","timeout","role","title","subtitle","hideCloseButton","statusIconDescription","closeButtonDescription"];let l=V(e,t),{$$slots:r={},$$scope:s}=e,{kind:o="error"}=e,{lowContrast:a=!1}=e,{timeout:u=0}=e,{role:f="alert"}=e,{title:_=""}=e,{subtitle:h=""}=e,{hideCloseButton:c=!1}=e,{statusIconDescription:g=o+" icon"}=e,{closeButtonDescription:w="Close notification"}=e;const R=He();let F=!0,I;function A(T){R("close",{timeout:T===!0},{cancelable:!0})&&n(8,F=!1)}Zt(()=>(u&&(I=setTimeout(()=>A(!0),u)),()=>{clearTimeout(I)}));function D(T){B.call(this,i,T)}function K(T){B.call(this,i,T)}function Q(T){B.call(this,i,T)}function _e(T){B.call(this,i,T)}return i.$$set=T=>{e=C(C({},e),X(T)),n(10,l=V(e,t)),"kind"in T&&n(0,o=T.kind),"lowContrast"in T&&n(1,a=T.lowContrast),"timeout"in T&&n(11,u=T.timeout),"role"in T&&n(2,f=T.role),"title"in T&&n(3,_=T.title),"subtitle"in T&&n(4,h=T.subtitle),"hideCloseButton"in T&&n(5,c=T.hideCloseButton),"statusIconDescription"in T&&n(6,g=T.statusIconDescription),"closeButtonDescription"in T&&n(7,w=T.closeButtonDescription),"$$scope"in T&&n(12,s=T.$$scope)},[o,a,f,_,h,c,g,w,F,A,l,u,s,r,D,K,Q,_e]}class Fl extends Z{constructor(e){super(),W(this,e,jl,ql,S,{kind:0,lowContrast:1,timeout:11,role:2,title:3,subtitle:4,hideCloseButton:5,statusIconDescription:6,closeButtonDescription:7})}}function Ol(i){let e;const n=i[1].default,t=$(n,i,i[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&ee(t,n,l,l[2],e?le(n,l[2],r,null):te(l[2]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Gl(i){let e,n;return e=new Fl({props:{kind:i[0].style,lowContrast:!0,hideCloseButton:!0,$$slots:{default:[Ol]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&1&&(r.kind=t[0].style),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Jl(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e;return i.$$set=s=>{"token"in s&&n(0,r=s.token),"$$scope"in s&&n(2,l=s.$$scope)},[r,t,l]}class Ht extends Z{constructor(e){super(),W(this,e,Jl,Gl,S,{token:0})}}function Kl(i){let e;return{c(){e=re(i[1])},l(n){e=oe(n,i[1])},m(n,t){E(n,e,t)},p(n,t){t&2&&me(e,n[1])},d(n){n&&m(e)}}}function Ql(i){let e,n,t,l,r,s;const o=i[15].default,a=$(o,i,i[14],null),u=a||Kl(i);let f=[{tabindex:"-1"},{role:"presentation"},i[12]],_={};for(let h=0;hn(13,s=v)),Me(i,F,v=>n(7,o=v)),I({id:g,label:f,disabled:h});function K(v){B.call(this,i,v)}function Q(v){B.call(this,i,v)}function _e(v){B.call(this,i,v)}function T(v){B.call(this,i,v)}function ne(v){Ye[v?"unshift":"push"](()=>{w=v,n(0,w)})}const ke=()=>{h||A(g)},ge=({key:v})=>{h||(v==="ArrowRight"?D(1):v==="ArrowLeft"?D(-1):(v===" "||v==="Enter")&&A(g))};return i.$$set=v=>{e=C(C({},e),X(v)),n(12,r=V(e,l)),"label"in v&&n(1,f=v.label),"href"in v&&n(2,_=v.href),"disabled"in v&&n(3,h=v.disabled),"tabindex"in v&&n(4,c=v.tabindex),"id"in v&&n(5,g=v.id),"ref"in v&&n(0,w=v.ref),"$$scope"in v&&n(14,u=v.$$scope)},i.$$.update=()=>{i.$$.dirty&8224&&n(6,t=s===g)},[w,f,_,h,c,g,t,o,R,F,A,D,r,s,u,a,K,Q,_e,T,ne,ke,ge]}class yl extends Z{constructor(e){super(),W(this,e,Xl,Ql,S,{label:1,href:2,disabled:3,tabindex:4,id:5,ref:0})}}function xl(i){let e,n,t,l;const r=i[12].default,s=$(r,i,i[11],null);let o=[{role:"tabpanel"},{"aria-labelledby":i[1]},{"aria-hidden":n=!i[2]},{hidden:t=i[2]?void 0:""},{id:i[0]},i[6]],a={};for(let u=0;un(10,f=I)),Me(i,R,I=>n(8,a=I)),Me(i,F,I=>n(9,u=I)),w({id:c}),i.$$set=I=>{e=C(C({},e),X(I)),n(6,o=V(e,s)),"id"in I&&n(0,c=I.id),"$$scope"in I&&n(11,h=I.$$scope)},i.$$.update=()=>{i.$$.dirty&1025&&n(2,t=f===c),i.$$.dirty&513&&n(7,l=u[c].index),i.$$.dirty&384&&n(1,r=a[l].id)},[c,r,t,g,R,F,o,l,a,u,f,h,_]}class en extends Z{constructor(e){super(),W(this,e,$l,xl,S,{id:0})}}const tn=i=>({}),nt=i=>({});function it(i){let e=i[3].label+"",n;return{c(){n=re(e)},l(t){n=oe(t,e)},m(t,l){E(t,n,l)},p(t,l){l[0]&8&&e!==(e=t[3].label+"")&&me(n,e)},d(t){t&&m(n)}}}function ln(i){let e,n,t,l,r,s,o,a,u,f,_,h,c=i[3]&&it(i);r=new Gt({props:{"aria-hidden":"true",title:i[1]}});const g=i[20].default,w=$(g,i,i[19],null);let R=[{role:"navigation"},i[10]],F={};for(let D=0;Dn(18,u=Y));const D=je(A,Y=>Y.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{}));Me(i,D,Y=>n(28,f=Y));const K=Ne(w),Q=Ne(void 0);Me(i,Q,Y=>n(16,o=Y));const _e=Ne([]);Me(i,_e,Y=>n(17,a=Y));const T=je(_e,Y=>Y.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{})),ne=Ne(void 0);let ke=null;Lt("Tabs",{tabs:A,contentById:T,selectedTab:Q,selectedContent:ne,useAutoWidth:K,add:Y=>{A.update(ae=>[...ae,{...Y,index:ae.length}])},addContent:Y=>{_e.update(ae=>[...ae,{...Y,index:ae.length}])},update:Y=>{n(14,v=f[Y].index)},change:async Y=>{let ae=v+Y;ae<0?ae=u.length-1:ae>=u.length&&(ae=0);let ze=u[ae].disabled;for(;ze;)ae=ae+Y,ae<0?ae=u.length-1:ae>=u.length&&(ae=0),ze=u[ae].disabled;n(14,v=ae),await Wt();const Re=ke==null?void 0:ke.querySelectorAll("[role='tab']")[v];Re==null||Re.focus()}}),Yt(()=>{n(12,c=v),J>-1&&J!==v&&I("change",v),J=v});let ge=!0,v=c,J=-1;function pe(Y){B.call(this,i,Y)}function Ee(Y){B.call(this,i,Y)}const Ae=()=>{n(5,ge=!ge)},De=()=>{n(5,ge=!ge)},Te=()=>{n(5,ge=!ge)};function H(Y){Ye[Y?"unshift":"push"](()=>{ke=Y,n(4,ke)})}return i.$$set=Y=>{n(11,e=C(C({},e),X(Y))),n(10,s=V(e,r)),"selected"in Y&&n(12,c=Y.selected),"type"in Y&&n(0,g=Y.type),"autoWidth"in Y&&n(13,w=Y.autoWidth),"iconDescription"in Y&&n(1,R=Y.iconDescription),"triggerHref"in Y&&n(2,F=Y.triggerHref),"$$scope"in Y&&n(19,h=Y.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&4096&&n(14,v=c),i.$$.dirty[0]&278528&&n(3,t=u[v]||void 0),i.$$.dirty[0]&147456&&n(15,l=a[v]||void 0),i.$$.dirty[0]&32776&&(t&&Q.set(t.id),l&&ne.set(l.id)),i.$$.dirty[0]&65536&&o&&n(5,ge=!0),i.$$.dirty[0]&8192&&K.set(w)},e=X(e),[g,R,F,t,ke,ge,A,D,Q,_e,s,e,c,w,v,l,o,a,u,h,_,pe,Ee,Ae,De,Te,H]}class sn extends Z{constructor(e){super(),W(this,e,nn,ln,S,{selected:12,type:0,autoWidth:13,iconDescription:1,triggerHref:2},null,[-1,-1])}}function st(i,e,n){const t=i.slice();return t[3]=e[n],t}function rt(i,e,n){const t=i.slice();return t[3]=e[n],t}function ot(i){let e,n;return e=new yl({props:{label:i[3].title}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.label=t[3].title),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function rn(i){let e,n,t=we(i[0].tabs),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},[t,l,r]}class cn extends Z{constructor(e){super(),W(this,e,fn,un,S,{token:0,options:1,renderers:2})}}function dn(i){let e,n,t,l=[i[1]],r={};for(let s=0;s{e=C(C({},e),X(f)),n(1,l=V(e,t)),"size"in f&&n(0,r=f.size)},[r,l,s,o,a,u]}class mn extends Z{constructor(e){super(),W(this,e,hn,dn,S,{size:0})}}const _n=i=>({}),ut=i=>({}),gn=i=>({}),ft=i=>({}),bn=i=>({}),ct=i=>({props:{class:"bx--tag__label"}});function vn(i){let e,n,t,l,r,s,o=(i[11].icon||i[7])&&dt(i);const a=i[13].default,u=$(a,i,i[12],null);let f=[{id:i[8]},i[10]],_={};for(let h=0;h{o=null}),de()),u&&u.p&&(!l||c&4096)&&ee(u,a,h,h[12],l?le(a,h[12],c,null):te(h[12]),null),O(e,_=se(f,[(!l||c&256)&&{id:h[8]},c&1024&&h[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",h[3]),d(e,"bx--tag--sm",h[1]==="sm"),d(e,"bx--tag--red",h[0]==="red"),d(e,"bx--tag--magenta",h[0]==="magenta"),d(e,"bx--tag--purple",h[0]==="purple"),d(e,"bx--tag--blue",h[0]==="blue"),d(e,"bx--tag--cyan",h[0]==="cyan"),d(e,"bx--tag--teal",h[0]==="teal"),d(e,"bx--tag--green",h[0]==="green"),d(e,"bx--tag--gray",h[0]==="gray"),d(e,"bx--tag--cool-gray",h[0]==="cool-gray"),d(e,"bx--tag--warm-gray",h[0]==="warm-gray"),d(e,"bx--tag--high-contrast",h[0]==="high-contrast"),d(e,"bx--tag--outline",h[0]==="outline")},i(h){l||(b(o),b(u,h),l=!0)},o(h){k(o),k(u,h),l=!1},d(h){h&&m(e),o&&o.d(),u&&u.d(h),r=!1,be(s)}}}function kn(i){let e,n,t,l,r,s,o,a=(i[11].icon||i[7])&&ht(i);const u=i[13].default,f=$(u,i,i[12],null);let _=[{type:"button"},{id:i[8]},{disabled:i[3]},{"aria-disabled":i[3]},{tabindex:l=i[3]?"-1":void 0},i[10]],h={};for(let c=0;c<_.length;c+=1)h=C(h,_[c]);return{c(){e=L("button"),a&&a.c(),n=ue(),t=L("span"),f&&f.c(),this.h()},l(c){e=P(c,"BUTTON",{type:!0,id:!0,"aria-disabled":!0,tabindex:!0});var g=p(e);a&&a.l(g),n=fe(g),t=P(g,"SPAN",{});var w=p(t);f&&f.l(w),w.forEach(m),g.forEach(m),this.h()},h(){O(e,h),d(e,"bx--tag",!0),d(e,"bx--tag--interactive",!0),d(e,"bx--tag--disabled",i[3]),d(e,"bx--tag--sm",i[1]==="sm"),d(e,"bx--tag--red",i[0]==="red"),d(e,"bx--tag--magenta",i[0]==="magenta"),d(e,"bx--tag--purple",i[0]==="purple"),d(e,"bx--tag--blue",i[0]==="blue"),d(e,"bx--tag--cyan",i[0]==="cyan"),d(e,"bx--tag--teal",i[0]==="teal"),d(e,"bx--tag--green",i[0]==="green"),d(e,"bx--tag--gray",i[0]==="gray"),d(e,"bx--tag--cool-gray",i[0]==="cool-gray"),d(e,"bx--tag--warm-gray",i[0]==="warm-gray"),d(e,"bx--tag--high-contrast",i[0]==="high-contrast"),d(e,"bx--tag--outline",i[0]==="outline")},m(c,g){E(c,e,g),a&&a.m(e,null),N(e,n),N(e,t),f&&f.m(t,null),e.autofocus&&e.focus(),r=!0,s||(o=[z(e,"click",i[18]),z(e,"mouseover",i[19]),z(e,"mouseenter",i[20]),z(e,"mouseleave",i[21])],s=!0)},p(c,g){c[11].icon||c[7]?a?(a.p(c,g),g&2176&&b(a,1)):(a=ht(c),a.c(),b(a,1),a.m(e,n)):a&&(ce(),k(a,1,1,()=>{a=null}),de()),f&&f.p&&(!r||g&4096)&&ee(f,u,c,c[12],r?le(u,c[12],g,null):te(c[12]),null),O(e,h=se(_,[{type:"button"},(!r||g&256)&&{id:c[8]},(!r||g&8)&&{disabled:c[3]},(!r||g&8)&&{"aria-disabled":c[3]},(!r||g&8&&l!==(l=c[3]?"-1":void 0))&&{tabindex:l},g&1024&&c[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--interactive",!0),d(e,"bx--tag--disabled",c[3]),d(e,"bx--tag--sm",c[1]==="sm"),d(e,"bx--tag--red",c[0]==="red"),d(e,"bx--tag--magenta",c[0]==="magenta"),d(e,"bx--tag--purple",c[0]==="purple"),d(e,"bx--tag--blue",c[0]==="blue"),d(e,"bx--tag--cyan",c[0]==="cyan"),d(e,"bx--tag--teal",c[0]==="teal"),d(e,"bx--tag--green",c[0]==="green"),d(e,"bx--tag--gray",c[0]==="gray"),d(e,"bx--tag--cool-gray",c[0]==="cool-gray"),d(e,"bx--tag--warm-gray",c[0]==="warm-gray"),d(e,"bx--tag--high-contrast",c[0]==="high-contrast"),d(e,"bx--tag--outline",c[0]==="outline")},i(c){r||(b(a),b(f,c),r=!0)},o(c){k(a),k(f,c),r=!1},d(c){c&&m(e),a&&a.d(),f&&f.d(c),s=!1,be(o)}}}function wn(i){let e,n,t,l,r,s,o;const a=i[13].default,u=$(a,i,i[12],ct),f=u||Cn(i);l=new Pt({});let _=[{"aria-label":i[6]},{id:i[8]},i[10]],h={};for(let c=0;c<_.length;c+=1)h=C(h,_[c]);return{c(){e=L("div"),f.c(),n=ue(),t=L("button"),U(l.$$.fragment),this.h()},l(c){e=P(c,"DIV",{"aria-label":!0,id:!0});var g=p(e);f.l(g),n=fe(g),t=P(g,"BUTTON",{type:!0,"aria-labelledby":!0,title:!0});var w=p(t);G(l.$$.fragment,w),w.forEach(m),g.forEach(m),this.h()},h(){M(t,"type","button"),M(t,"aria-labelledby",i[8]),t.disabled=i[3],M(t,"title",i[6]),d(t,"bx--tag__close-icon",!0),O(e,h),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",i[3]),d(e,"bx--tag--filter",i[2]),d(e,"bx--tag--sm",i[1]==="sm"),d(e,"bx--tag--red",i[0]==="red"),d(e,"bx--tag--magenta",i[0]==="magenta"),d(e,"bx--tag--purple",i[0]==="purple"),d(e,"bx--tag--blue",i[0]==="blue"),d(e,"bx--tag--cyan",i[0]==="cyan"),d(e,"bx--tag--teal",i[0]==="teal"),d(e,"bx--tag--green",i[0]==="green"),d(e,"bx--tag--gray",i[0]==="gray"),d(e,"bx--tag--cool-gray",i[0]==="cool-gray"),d(e,"bx--tag--warm-gray",i[0]==="warm-gray"),d(e,"bx--tag--high-contrast",i[0]==="high-contrast"),d(e,"bx--tag--outline",i[0]==="outline")},m(c,g){E(c,e,g),f.m(e,null),N(e,n),N(e,t),q(l,t,null),r=!0,s||(o=[z(t,"click",Ze(i[14])),z(t,"click",Ze(i[30])),z(t,"mouseover",i[15]),z(t,"mouseenter",i[16]),z(t,"mouseleave",i[17])],s=!0)},p(c,g){u?u.p&&(!r||g&4096)&&ee(u,a,c,c[12],r?le(a,c[12],g,bn):te(c[12]),ct):f.p&&(!r||g&1)&&f.p(c,r?g:-1),(!r||g&256)&&M(t,"aria-labelledby",c[8]),(!r||g&8)&&(t.disabled=c[3]),(!r||g&64)&&M(t,"title",c[6]),O(e,h=se(_,[(!r||g&64)&&{"aria-label":c[6]},(!r||g&256)&&{id:c[8]},g&1024&&c[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",c[3]),d(e,"bx--tag--filter",c[2]),d(e,"bx--tag--sm",c[1]==="sm"),d(e,"bx--tag--red",c[0]==="red"),d(e,"bx--tag--magenta",c[0]==="magenta"),d(e,"bx--tag--purple",c[0]==="purple"),d(e,"bx--tag--blue",c[0]==="blue"),d(e,"bx--tag--cyan",c[0]==="cyan"),d(e,"bx--tag--teal",c[0]==="teal"),d(e,"bx--tag--green",c[0]==="green"),d(e,"bx--tag--gray",c[0]==="gray"),d(e,"bx--tag--cool-gray",c[0]==="cool-gray"),d(e,"bx--tag--warm-gray",c[0]==="warm-gray"),d(e,"bx--tag--high-contrast",c[0]==="high-contrast"),d(e,"bx--tag--outline",c[0]==="outline")},i(c){r||(b(f,c),b(l.$$.fragment,c),r=!0)},o(c){k(f,c),k(l.$$.fragment,c),r=!1},d(c){c&&m(e),f.d(c),j(l),s=!1,be(o)}}}function pn(i){let e,n;const t=[{size:i[1]},i[10]];let l={};for(let r=0;r{j(a,1)}),de()}l?(e=Ce(l,r()),U(e.$$.fragment),b(e.$$.fragment,1),q(e,n.parentNode,n)):e=null}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&j(e,s)}}}function ht(i){let e,n;const t=i[13].icon,l=$(t,i,i[12],ft),r=l||Mn(i);return{c(){e=L("div"),r.c(),this.h()},l(s){e=P(s,"DIV",{});var o=p(e);r.l(o),o.forEach(m),this.h()},h(){d(e,"bx--tag__custom-icon",!0)},m(s,o){E(s,e,o),r.m(e,null),n=!0},p(s,o){l?l.p&&(!n||o&4096)&&ee(l,t,s,s[12],n?le(t,s[12],o,gn):te(s[12]),ft):r.p&&(!n||o&128)&&r.p(s,n?o:-1)},i(s){n||(b(r,s),n=!0)},o(s){k(r,s),n=!1},d(s){s&&m(e),r.d(s)}}}function Mn(i){let e,n,t;var l=i[7];function r(s,o){return{}}return l&&(e=Ce(l,r())),{c(){e&&U(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&q(e,s,o),E(s,n,o),t=!0},p(s,o){if(o&128&&l!==(l=s[7])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(e=Ce(l,r()),U(e.$$.fragment),b(e.$$.fragment,1),q(e,n.parentNode,n)):e=null}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&j(e,s)}}}function Cn(i){let e,n;return{c(){e=L("span"),n=re(i[0]),this.h()},l(t){e=P(t,"SPAN",{});var l=p(e);n=oe(l,i[0]),l.forEach(m),this.h()},h(){d(e,"bx--tag__label",!0)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&1&&me(n,t[0])},d(t){t&&m(e)}}}function zn(i){let e,n,t,l;const r=[pn,wn,kn,vn],s=[];function o(a,u){return a[5]?0:a[2]?1:a[4]?2:3}return e=o(i),n=s[e]=r[e](i),{c(){n.c(),t=ie()},l(a){n.l(a),t=ie()},m(a,u){s[e].m(a,u),E(a,t,u),l=!0},p(a,[u]){let f=e;e=o(a),e===f?s[e].p(a,u):(ce(),k(s[f],1,1,()=>{s[f]=null}),de(),n=s[e],n?n.p(a,u):(n=s[e]=r[e](a),n.c()),b(n,1),n.m(t.parentNode,t))},i(a){l||(b(n),l=!0)},o(a){k(n),l=!1},d(a){a&&m(t),s[e].d(a)}}}function Bn(i,e,n){const t=["type","size","filter","disabled","interactive","skeleton","title","icon","id"];let l=V(e,t),{$$slots:r={},$$scope:s}=e;const o=Ut(r);let{type:a=void 0}=e,{size:u="default"}=e,{filter:f=!1}=e,{disabled:_=!1}=e,{interactive:h=!1}=e,{skeleton:c=!1}=e,{title:g="Clear filter"}=e,{icon:w=void 0}=e,{id:R="ccs-"+Math.random().toString(36)}=e;const F=He();function I(H){B.call(this,i,H)}function A(H){B.call(this,i,H)}function D(H){B.call(this,i,H)}function K(H){B.call(this,i,H)}function Q(H){B.call(this,i,H)}function _e(H){B.call(this,i,H)}function T(H){B.call(this,i,H)}function ne(H){B.call(this,i,H)}function ke(H){B.call(this,i,H)}function ge(H){B.call(this,i,H)}function v(H){B.call(this,i,H)}function J(H){B.call(this,i,H)}function pe(H){B.call(this,i,H)}function Ee(H){B.call(this,i,H)}function Ae(H){B.call(this,i,H)}function De(H){B.call(this,i,H)}const Te=()=>{F("close")};return i.$$set=H=>{e=C(C({},e),X(H)),n(10,l=V(e,t)),"type"in H&&n(0,a=H.type),"size"in H&&n(1,u=H.size),"filter"in H&&n(2,f=H.filter),"disabled"in H&&n(3,_=H.disabled),"interactive"in H&&n(4,h=H.interactive),"skeleton"in H&&n(5,c=H.skeleton),"title"in H&&n(6,g=H.title),"icon"in H&&n(7,w=H.icon),"id"in H&&n(8,R=H.id),"$$scope"in H&&n(12,s=H.$$scope)},[a,u,f,_,h,c,g,w,R,F,l,o,s,r,I,A,D,K,Q,_e,T,ne,ke,ge,v,J,pe,Ee,Ae,De,Te]}class An extends Z{constructor(e){super(),W(this,e,Bn,zn,S,{type:0,size:1,filter:2,disabled:3,interactive:4,skeleton:5,title:6,icon:7,id:8})}}function mt(i,e,n){const t=i.slice();return t[1]=e[n],t[3]=n,t}function Dn(i){let e=i[1].name+"",n,t;return{c(){n=re(e),t=ue()},l(l){n=oe(l,e),t=fe(l)},m(l,r){E(l,n,r),E(l,t,r)},p(l,r){r&1&&e!==(e=l[1].name+"")&&me(n,e)},d(l){l&&(m(n),m(t))}}}function _t(i){let e,n;return e=new An({props:{type:i[0].colors[i[3]%i[0].colors.length],$$slots:{default:[Dn]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.type=t[0].colors[t[3]%t[0].colors.length]),l&17&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Nn(i){let e,n,t=we(i[0].tags),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){e=L("div");for(let s=0;s{"token"in l&&n(0,t=l.token)},[t]}class Ln extends Z{constructor(e){super(),W(this,e,In,Nn,S,{token:0})}}function Pn(i){let e,n,t,l;const r=i[5].default,s=$(r,i,i[4],null);let o=[i[3]],a={};for(let u=0;u{e=C(C({},e),X(g)),n(3,l=V(e,t)),"nested"in g&&n(0,o=g.nested),"native"in g&&n(1,a=g.native),"expressive"in g&&n(2,u=g.expressive),"$$scope"in g&&n(4,s=g.$$scope)},[o,a,u,l,s,r,f,_,h,c]}class Tt extends Z{constructor(e){super(),W(this,e,Hn,Pn,S,{nested:0,native:1,expressive:2})}}function Tn(i){let e,n,t,l;const r=i[4].default,s=$(r,i,i[3],null);let o=[i[2]],a={};for(let u=0;u{e=C(C({},e),X(c)),n(2,l=V(e,t)),"nested"in c&&n(0,o=c.nested),"expressive"in c&&n(1,a=c.expressive),"$$scope"in c&&n(3,s=c.$$scope)},[o,a,l,s,r,u,f,_,h]}class Rt extends Z{constructor(e){super(),W(this,e,Rn,Tn,S,{nested:0,expressive:1})}}function Vn(i){let e;const n=i[3].default,t=$(n,i,i[4],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&16)&&ee(t,n,l,l[4],e?le(n,l[4],r,null):te(l[4]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Sn(i){let e,n,t;var l=i[1];function r(s,o){return{props:{class:"markdown-list-style",style:`counter-reset: item ${Number(s[0])-1}`,$$slots:{default:[Vn]},$$scope:{ctx:s}}}}return l&&(e=Ce(l,r(i))),{c(){e&&U(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&q(e,s,o),E(s,n,o),t=!0},p(s,[o]){if(o&2&&l!==(l=s[1])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{j(a,1)}),de()}l?(e=Ce(l,r(s)),U(e.$$.fragment),b(e.$$.fragment,1),q(e,n.parentNode,n)):e=null}else if(l){const a={};o&1&&(a.style=`counter-reset: item ${Number(s[0])-1}`),o&16&&(a.$$scope={dirty:o,ctx:s}),e.$set(a)}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&j(e,s)}}}function Zn(i,e,n){let{$$slots:t={},$$scope:l}=e,{start:r=1}=e,{ordered:s=!1}=e,o;return i.$$set=a=>{"start"in a&&n(0,r=a.start),"ordered"in a&&n(2,s=a.ordered),"$$scope"in a&&n(4,l=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&n(1,o=s?Tt:Rt)},[r,o,s,t,l]}class Wn extends Z{constructor(e){super(),W(this,e,Zn,Sn,S,{start:0,ordered:2})}}function gt(i,e,n){const t=i.slice();return t[4]=e[n],t}function bt(i){let e,n;return e=new jt({props:{token:{...i[4]},options:i[1],renderers:i[2]}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.token={...t[4]}),l&2&&(r.options=t[1]),l&4&&(r.renderers=t[2]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Yn(i){let e,n,t=we(i[0].items),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},i.$$.update=()=>{i.$$.dirty&1&&t.ordered},[t,l,r]}class jn extends Z{constructor(e){super(),W(this,e,qn,Un,S,{token:0,options:1,renderers:2})}}function Fn(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class Gn extends Z{constructor(e){super(),W(this,e,On,Fn,S,{})}}function Jn(i){let e;const n=i[0].default,t=$(n,i,i[1],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&2)&&ee(t,n,l,l[1],e?le(n,l[1],r,null):te(l[1]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Kn(i){let e,n;return e=new Gn({props:{class:"markdown-list-item",$$slots:{default:[Jn]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&2&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Qn(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(1,l=r.$$scope)},[t,l]}class Xn extends Z{constructor(e){super(),W(this,e,Qn,Kn,S,{})}}function yn(i){let e,n,t,l;const r=i[8].default,s=$(r,i,i[7],null);let o=[{role:"table"},i[4]],a={};for(let u=0;un(6,r=I)),Lt("StructuredListWrapper",{selectedValue:c,update:I=>{c.set(I)}});function g(I){B.call(this,i,I)}function w(I){B.call(this,i,I)}function R(I){B.call(this,i,I)}function F(I){B.call(this,i,I)}return i.$$set=I=>{e=C(C({},e),X(I)),n(4,l=V(e,t)),"selected"in I&&n(5,a=I.selected),"condensed"in I&&n(0,u=I.condensed),"flush"in I&&n(1,f=I.flush),"selection"in I&&n(2,_=I.selection),"$$scope"in I&&n(7,o=I.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&n(5,a=r),i.$$.dirty&64&&h("change",r)},[u,f,_,c,l,a,r,o,s,g,w,R,F]}class $n extends Z{constructor(e){super(),W(this,e,xn,yn,S,{selected:5,condensed:0,flush:1,selection:2})}}function ei(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[{role:"rowgroup"},i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class li extends Z{constructor(e){super(),W(this,e,ti,ei,S,{})}}function ni(i){let e,n,t,l,r;const s=i[4].default,o=$(s,i,i[3],null);let a=[{role:n=i[0]?"columnheader":"cell"},i[2]],u={};for(let f=0;f{e=C(C({},e),X(c)),n(2,l=V(e,t)),"head"in c&&n(0,o=c.head),"noWrap"in c&&n(1,a=c.noWrap),"$$scope"in c&&n(3,s=c.$$scope)},[o,a,l,s,r,u,f,_,h]}class Vt extends Z{constructor(e){super(),W(this,e,ii,ni,S,{head:0,noWrap:1})}}function si(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[{role:"rowgroup"},i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class oi extends Z{constructor(e){super(),W(this,e,ri,si,S,{})}}function ai(i){let e,n,t,l;const r=i[5].default,s=$(r,i,i[4],null);let o=[{role:"row"},i[3]],a={};for(let u=0;u{s[f]=null}),de(),n=s[e],n?n.p(a,u):(n=s[e]=r[e](a),n.c()),b(n,1),n.m(t.parentNode,t))},i(a){l||(b(n),l=!0)},o(a){k(n),l=!1},d(a){a&&m(t),s[e].d(a)}}}function ci(i,e,n){const t=["head","label","tabindex"];let l=V(e,t),{$$slots:r={},$$scope:s}=e,{head:o=!1}=e,{label:a=!1}=e,{tabindex:u="0"}=e;function f(A){B.call(this,i,A)}function _(A){B.call(this,i,A)}function h(A){B.call(this,i,A)}function c(A){B.call(this,i,A)}function g(A){B.call(this,i,A)}function w(A){B.call(this,i,A)}function R(A){B.call(this,i,A)}function F(A){B.call(this,i,A)}function I(A){B.call(this,i,A)}return i.$$set=A=>{e=C(C({},e),X(A)),n(3,l=V(e,t)),"head"in A&&n(0,o=A.head),"label"in A&&n(1,a=A.label),"tabindex"in A&&n(2,u=A.tabindex),"$$scope"in A&&n(4,s=A.$$scope)},[o,a,u,l,s,r,f,_,h,c,g,w,R,F,I]}class St extends Z{constructor(e){super(),W(this,e,ci,fi,S,{head:0,label:1,tabindex:2})}}function vt(i,e,n){const t=i.slice();return t[3]=e[n],t}function kt(i,e,n){const t=i.slice();return t[6]=e[n],t}function wt(i,e,n){const t=i.slice();return t[9]=e[n],t}function di(i){let e,n,t;return e=new Ue({props:{tokens:i[9].tokens,options:i[1],renderers:i[2]}}),{c(){U(e.$$.fragment),n=ue()},l(l){G(e.$$.fragment,l),n=fe(l)},m(l,r){q(e,l,r),E(l,n,r),t=!0},p(l,r){const s={};r&1&&(s.tokens=l[9].tokens),r&2&&(s.options=l[1]),r&4&&(s.renderers=l[2]),e.$set(s)},i(l){t||(b(e.$$.fragment,l),t=!0)},o(l){k(e.$$.fragment,l),t=!1},d(l){l&&m(n),j(e,l)}}}function pt(i){let e,n;return e=new Vt({props:{head:!0,$$slots:{default:[di]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&4103&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function hi(i){let e,n,t=we(i[0].header),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},[t,l,r]}class pi extends Z{constructor(e){super(),W(this,e,wi,ki,S,{token:0,options:1,renderers:2})}}function Ei(i){let e;const n=i[1].default,t=$(n,i,i[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&ee(t,n,l,l[2],e?le(n,l[2],r,null):te(l[2]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Mi(i){let e,n;return e=new Ht({props:{token:{type:"notification",raw:i[0].raw,style:"info",tokens:i[0].tokens},$$slots:{default:[Ei]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&1&&(r.token={type:"notification",raw:t[0].raw,style:"info",tokens:t[0].tokens}),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Ci(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e;return i.$$set=s=>{"token"in s&&n(0,r=s.token),"$$scope"in s&&n(2,l=s.$$scope)},[r,t,l]}class zi extends Z{constructor(e){super(),W(this,e,Ci,Mi,S,{token:0})}}function Ve(i){let e,n;const t=i[3].default,l=$(t,i,i[2],null);let r=[{id:i[0]},{class:"header header-base svelte-1jlumb"}],s={};for(let o=0;o1&&Ct(i);return{c(){e=L("div"),r&&r.c(),t=ue(),s&&s.c(),this.h()},l(o){e=P(o,"DIV",{class:!0});var a=p(e);r&&r.l(a),t=fe(a),s&&s.l(a),a.forEach(m),this.h()},h(){M(e,"class","parent svelte-1jlumb")},m(o,a){E(o,e,a),r&&r.m(e,null),N(e,t),s&&s.m(e,null),l=!0},p(o,[a]){`h${o[1]}`?n?S(n,`h${o[1]}`)?(r.d(1),r=Ve(o),n=`h${o[1]}`,r.c(),r.m(e,t)):r.p(o,a):(r=Ve(o),n=`h${o[1]}`,r.c(),r.m(e,t)):n&&(r.d(1),r=null,n=`h${o[1]}`),o[1]>1?s?s.p(o,a):(s=Ct(o),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i(o){l||(b(r,o),l=!0)},o(o){k(r,o),l=!1},d(o){o&&m(e),r&&r.d(o),s&&s.d()}}}function Ai(i,e,n){let{$$slots:t={},$$scope:l}=e,{id:r}=e,{depth:s}=e;return i.$$set=o=>{"id"in o&&n(0,r=o.id),"depth"in o&&n(1,s=o.depth),"$$scope"in o&&n(2,l=o.$$scope)},[r,s,l,t]}class Di extends Z{constructor(e){super(),W(this,e,Ai,Bi,S,{id:0,depth:1})}}function Ni(i){let e;const n=i[3].default,t=$(n,i,i[4],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&16)&&ee(t,n,l,l[4],e?le(n,l[4],r,null):te(l[4]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Ii(i){let e,n;return e=new Di({props:{id:i[1],depth:i[0].depth,$$slots:{default:[Ni]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&2&&(r.id=t[1]),l&1&&(r.depth=t[0].depth),l&16&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Li(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e,{options:s}=e,o;return i.$$set=a=>{"token"in a&&n(0,r=a.token),"options"in a&&n(2,s=a.options),"$$scope"in a&&n(4,l=a.$$scope)},i.$$.update=()=>{i.$$.dirty&5&&n(1,o=Le.generatePathSegment(r.text,s.slugger))},[r,o,s,t,l]}class Pi extends Z{constructor(e){super(),W(this,e,Li,Ii,S,{token:0,options:2})}}function Hi(i){let e;const n=i[2].default,t=$(n,i,i[3],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&8)&&ee(t,n,l,l[3],e?le(n,l[3],r,null):te(l[3]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Ti(i){let e,n;return e=new Jt({props:{href:Le.isRelative(i[0].href)?Le.joinUrlPaths(i[1].baseUrl,i[0].href):i[0].href,title:i[0].title,$$slots:{default:[Hi]},$$scope:{ctx:i}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,[l]){const r={};l&3&&(r.href=Le.isRelative(t[0].href)?Le.joinUrlPaths(t[1].baseUrl,t[0].href):t[0].href),l&1&&(r.title=t[0].title),l&8&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Ri(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e,{options:s}=e;return i.$$set=o=>{"token"in o&&n(0,r=o.token),"options"in o&&n(1,s=o.options),"$$scope"in o&&n(3,l=o.$$scope)},[r,s,t,l]}class Vi extends Z{constructor(e){super(),W(this,e,Ri,Ti,S,{token:0,options:1})}}function Si(i){let e,n;const t=i[1].default,l=$(t,i,i[0],null);return{c(){e=L("p"),l&&l.c(),this.h()},l(r){e=P(r,"P",{class:!0});var s=p(e);l&&l.l(s),s.forEach(m),this.h()},h(){M(e,"class","md-paragraph svelte-uzcm98")},m(r,s){E(r,e,s),l&&l.m(e,null),n=!0},p(r,[s]){l&&l.p&&(!n||s&1)&&ee(l,t,r,r[0],n?le(t,r[0],s,null):te(r[0]),null)},i(r){n||(b(l,r),n=!0)},o(r){k(l,r),n=!1},d(r){r&&m(e),l&&l.d(r)}}}function Zi(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class Wi extends Z{constructor(e){super(),W(this,e,Zi,Si,S,{})}}function zt(i){let e,n;return e=new Ot({props:{source:i[0],renderers:{heading:Pi,code:sl,codespan:dl,blockquote:zi,link:Vi,paragraph:Wi,table:pi,list:jn,list_item:Xn,tabs:cn,notification:Ht,tags:Ln},options:{baseUrl:i[1]}}}),{c(){U(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){q(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.source=t[0]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){j(e,t)}}}function Yi(i){let e,n,t=i[0]&&zt(i);return{c(){t&&t.c(),e=ie()},l(l){t&&t.l(l),e=ie()},m(l,r){t&&t.m(l,r),E(l,e,r),n=!0},p(l,[r]){l[0]?t?(t.p(l,r),r&1&&b(t,1)):(t=zt(l),t.c(),b(t,1),t.m(e.parentNode,e)):t&&(ce(),k(t,1,1,()=>{t=null}),de())},i(l){n||(b(t),n=!0)},o(l){k(t),n=!1},d(l){l&&m(e),t&&t.d(l)}}}function Ui(i,e,n){let{source:t}=e;const l=Ft();return i.$$set=r=>{"source"in r&&n(0,t=r.source)},[t,l]}class Qi extends Z{constructor(e){super(),W(this,e,Ui,Yi,S,{source:0})}}function Bt(i){let e,n,t,l,r,s,o,a,u,f=i[0].previous.title+"",_,h,c,g=i[0].previous.section&&i[0].previous.section!==i[0].section&&At(i);return o=new $t({props:{class:"previous-next-arrow",size:20}}),{c(){e=L("div"),n=L("strong"),t=re(`Previous + + `),g&&g.c(),l=ue(),r=L("a"),s=L("span"),U(o.$$.fragment),a=ue(),u=L("p"),_=re(f),this.h()},l(w){e=P(w,"DIV",{class:!0});var R=p(e);n=P(R,"STRONG",{});var F=p(n);t=oe(F,`Previous + + `),g&&g.l(F),F.forEach(m),R.forEach(m),l=fe(w),r=P(w,"A",{href:!0,class:!0});var I=p(r);s=P(I,"SPAN",{});var A=p(s);G(o.$$.fragment,A),A.forEach(m),a=fe(I),u=P(I,"P",{});var D=p(u);_=oe(D,f),D.forEach(m),I.forEach(m),this.h()},h(){M(e,"class","direction svelte-19tre3a"),M(r,"href",h=i[0].previous.href),M(r,"class","title svelte-19tre3a")},m(w,R){E(w,e,R),N(e,n),N(n,t),g&&g.m(n,null),E(w,l,R),E(w,r,R),N(r,s),q(o,s,null),N(r,a),N(r,u),N(u,_),c=!0},p(w,R){w[0].previous.section&&w[0].previous.section!==w[0].section?g?g.p(w,R):(g=At(w),g.c(),g.m(n,null)):g&&(g.d(1),g=null),(!c||R&1)&&f!==(f=w[0].previous.title+"")&&me(_,f),(!c||R&1&&h!==(h=w[0].previous.href))&&M(r,"href",h)},i(w){c||(b(o.$$.fragment,w),c=!0)},o(w){k(o.$$.fragment,w),c=!1},d(w){w&&(m(e),m(l),m(r)),g&&g.d(),j(o)}}}function At(i){let e,n=i[0].previous.section+"",t;return{c(){e=re("- "),t=re(n)},l(l){e=oe(l,"- "),t=oe(l,n)},m(l,r){E(l,e,r),E(l,t,r)},p(l,r){r&1&&n!==(n=l[0].previous.section+"")&&me(t,n)},d(l){l&&(m(e),m(t))}}}function Dt(i){let e,n,t,l,r,s,o=i[0].next.title+"",a,u,f,_,h,c,g=i[0].next.section&&i[0].next.section!==i[0].section&&Nt(i);return _=new ll({props:{class:"previous-next-arrow",size:20}}),{c(){e=L("div"),n=L("strong"),t=re(`Next + `),g&&g.c(),l=ue(),r=L("a"),s=L("p"),a=re(o),u=ue(),f=L("span"),U(_.$$.fragment),this.h()},l(w){e=P(w,"DIV",{class:!0});var R=p(e);n=P(R,"STRONG",{});var F=p(n);t=oe(F,`Next + `),g&&g.l(F),F.forEach(m),R.forEach(m),l=fe(w),r=P(w,"A",{href:!0,class:!0});var I=p(r);s=P(I,"P",{});var A=p(s);a=oe(A,o),A.forEach(m),u=fe(I),f=P(I,"SPAN",{});var D=p(f);G(_.$$.fragment,D),D.forEach(m),I.forEach(m),this.h()},h(){M(e,"class","direction svelte-19tre3a"),M(r,"href",h=i[0].next.href),M(r,"class","title svelte-19tre3a")},m(w,R){E(w,e,R),N(e,n),N(n,t),g&&g.m(n,null),E(w,l,R),E(w,r,R),N(r,s),N(s,a),N(r,u),N(r,f),q(_,f,null),c=!0},p(w,R){w[0].next.section&&w[0].next.section!==w[0].section?g?g.p(w,R):(g=Nt(w),g.c(),g.m(n,null)):g&&(g.d(1),g=null),(!c||R&1)&&o!==(o=w[0].next.title+"")&&me(a,o),(!c||R&1&&h!==(h=w[0].next.href))&&M(r,"href",h)},i(w){c||(b(_.$$.fragment,w),c=!0)},o(w){k(_.$$.fragment,w),c=!1},d(w){w&&(m(e),m(l),m(r)),g&&g.d(),j(_)}}}function Nt(i){let e,n=i[0].next.section+"",t;return{c(){e=re("- "),t=re(n)},l(l){e=oe(l,"- "),t=oe(l,n)},m(l,r){E(l,e,r),E(l,t,r)},p(l,r){r&1&&n!==(n=l[0].next.section+"")&&me(t,n)},d(l){l&&(m(e),m(t))}}}function qi(i){let e,n,t,l,r,s,o,a=i[0].previous&&Bt(i),u=i[0].next&&Dt(i);return{c(){e=L("hr"),n=ue(),t=L("div"),l=L("div"),a&&a.c(),r=ue(),s=L("div"),u&&u.c(),this.h()},l(f){e=P(f,"HR",{class:!0}),n=fe(f),t=P(f,"DIV",{class:!0});var _=p(t);l=P(_,"DIV",{class:!0});var h=p(l);a&&a.l(h),h.forEach(m),r=fe(_),s=P(_,"DIV",{class:!0});var c=p(s);u&&u.l(c),c.forEach(m),_.forEach(m),this.h()},h(){M(e,"class","footer-hr svelte-19tre3a"),M(l,"class","previous direction-wrapper svelte-19tre3a"),M(s,"class","next direction-wrapper svelte-19tre3a"),M(t,"class","wrapper svelte-19tre3a")},m(f,_){E(f,e,_),E(f,n,_),E(f,t,_),N(t,l),a&&a.m(l,null),N(t,r),N(t,s),u&&u.m(s,null),o=!0},p(f,[_]){f[0].previous?a?(a.p(f,_),_&1&&b(a,1)):(a=Bt(f),a.c(),b(a,1),a.m(l,null)):a&&(ce(),k(a,1,1,()=>{a=null}),de()),f[0].next?u?(u.p(f,_),_&1&&b(u,1)):(u=Dt(f),u.c(),b(u,1),u.m(s,null)):u&&(ce(),k(u,1,1,()=>{u=null}),de())},i(f){o||(b(a),b(u),o=!0)},o(f){k(a),k(u),o=!1},d(f){f&&(m(e),m(n),m(t)),a&&a.d(),u&&u.d()}}}function ji(i,e,n){let{page:t}=e;return i.$$set=l=>{"page"in l&&n(0,t=l.page)},[t]}class Xi extends Z{constructor(e){super(),W(this,e,ji,qi,S,{page:0})}}export{Di as A,Qi as C,Fl as I,Gn as L,Xi as P,$n as S,An as T,li as a,St as b,Vt as c,Wn as d,Xt as e,sn as f,yl as g,en as h}; diff --git a/public/docs/_app/immutable/chunks/PreviousNextPage.DkqDVsQt.js b/public/docs/_app/immutable/chunks/PreviousNextPage.DkqDVsQt.js deleted file mode 100644 index 1f07977..0000000 --- a/public/docs/_app/immutable/chunks/PreviousNextPage.DkqDVsQt.js +++ /dev/null @@ -1,9 +0,0 @@ -import{s as Z,d as m,n as he,J as Ie,v as d,c as E,e as N,f as M,j as L,k as p,l as re,o as P,t as oe,I as Ye,b as me,a4 as y,a5 as x,q as C,a6 as ve,y as V,z as X,B as $,C as ee,D as te,E as le,F as Ce,x as ie,r as be,u as O,w as z,A,g as ue,m as fe,a1 as He,L as Zt,ab as Pe,H as It,p as Me,ac as Ze,ad as Lt,M as Wt,K as Yt,a2 as Be,G as Ut,ae as We}from"./scheduler.BCDW5bg-.js";import{S as W,i as Y,d as q,t as k,a as b,m as j,c as G,b as F,g as ce,e as de}from"./index.C97nKj6a.js";import{i as se,q as we,P as Ue,j as qt,Q as jt,u as Le,S as Ft,n as Ot}from"./pages.BKY_3uMO.js";import{P as qe,C as Pt,a as Gt,L as Jt}from"./ChevronDown.Bdkldgj9.js";import{w as Ne,d as je}from"./index.BN18egRc.js";function Kt(i){let e,n,t,l,r;return{c(){e=P("div"),n=P("pre"),t=oe(" "),l=P("code"),r=oe(` - `),this.h()},l(s){e=L(s,"DIV",{});var o=p(e);n=L(o,"PRE",{class:!0,style:!0});var a=p(n);t=re(a," "),l=L(a,"CODE",{}),p(l).forEach(m),r=re(a,` - `),a.forEach(m),o.forEach(m),this.h()},h(){M(n,"class","prism--code-container"),Ie(n,"--min-height",i[2]),Ie(n,"--max-height",i[3]),d(n,"line-numbers",i[0]),d(e,"prism--show-copy-button",i[1]),d(e,"prism--hide-copy-button",!i[1])},m(s,o){E(s,e,o),N(e,n),N(n,t),N(n,l),i[7](l),N(n,r)},p(s,[o]){o&4&&Ie(n,"--min-height",s[2]),o&8&&Ie(n,"--max-height",s[3]),o&1&&d(n,"line-numbers",s[0]),o&2&&d(e,"prism--show-copy-button",s[1]),o&2&&d(e,"prism--hide-copy-button",!s[1])},i:he,o:he,d(s){s&&m(e),i[7](null)}}}function Qt(i,e,n){let{language:t}=e,{source:l}=e,{showLineNumbers:r=!1}=e,{showCopyButton:s=!1}=e,{minHeight:o=void 0}=e,{maxHeight:a=void 0}=e,u;function f(h,c,g){h.textContent=g,h.classList.forEach(w=>h.classList.remove(w)),c&&(h.classList.add(`language-${c}`),h.classList.add("prism--code")),qe.highlightElement(h)}function _(h){Ye[h?"unshift":"push"](()=>{u=h,n(4,u)})}return i.$$set=h=>{"language"in h&&n(5,t=h.language),"source"in h&&n(6,l=h.source),"showLineNumbers"in h&&n(0,r=h.showLineNumbers),"showCopyButton"in h&&n(1,s=h.showCopyButton),"minHeight"in h&&n(2,o=h.minHeight),"maxHeight"in h&&n(3,a=h.maxHeight)},i.$$.update=()=>{i.$$.dirty&112&&u&&qe&&f(u,t,l)},[r,s,o,a,u,t,l,_]}class Xt extends W{constructor(e){super(),Y(this,e,Qt,Kt,Z,{language:5,source:6,showLineNumbers:0,showCopyButton:1,minHeight:2,maxHeight:3})}}function Fe(i){let e,n;return{c(){e=x("title"),n=oe(i[1])},l(t){e=y(t,"title",{});var l=p(e);n=re(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function yt(i){let e,n,t=i[1]&&Fe(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],r={};for(let s=0;s{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class $t extends W{constructor(e){super(),Y(this,e,xt,yt,Z,{size:0,title:1})}}function Oe(i){let e,n;return{c(){e=x("title"),n=oe(i[1])},l(t){e=y(t,"title",{});var l=p(e);n=re(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function el(i){let e,n,t=i[1]&&Oe(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],r={};for(let s=0;s{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class ll extends W{constructor(e){super(),Y(this,e,tl,el,Z,{size:0,title:1})}}function nl(i){let e,n;return e=new Xt({props:{language:i[2].lang||"plain",source:i[2].text,showCopyButton:i[0],showLineNumbers:i[1]}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&4&&(r.language=t[2].lang||"plain"),l&4&&(r.source=t[2].text),l&1&&(r.showCopyButton=t[0]),l&2&&(r.showLineNumbers=t[1]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function il(i,e,n){let{showCopyButton:t=!0}=e,{showLineNumbers:l=!0}=e,{token:r}=e;return i.$$set=s=>{"showCopyButton"in s&&n(0,t=s.showCopyButton),"showLineNumbers"in s&&n(1,l=s.showLineNumbers),"token"in s&&n(2,r=s.token)},[t,l,r]}class sl extends W{constructor(e){super(),Y(this,e,il,nl,Z,{showCopyButton:0,showLineNumbers:1,token:2})}}function rl(i){let e,n;const t=i[1].default,l=$(t,i,i[0],null);return{c(){e=P("code"),l&&l.c(),this.h()},l(r){e=L(r,"CODE",{class:!0});var s=p(e);l&&l.l(s),s.forEach(m),this.h()},h(){M(e,"class","code-span svelte-1292o4f")},m(r,s){E(r,e,s),l&&l.m(e,null),n=!0},p(r,[s]){l&&l.p&&(!n||s&1)&&ee(l,t,r,r[0],n?le(t,r[0],s,null):te(r[0]),null)},i(r){n||(b(l,r),n=!0)},o(r){k(l,r),n=!1},d(r){r&&m(e),l&&l.d(r)}}}function ol(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class al extends W{constructor(e){super(),Y(this,e,ol,rl,Z,{})}}function ul(i){let e=i[0].raw.slice(1,i[0].raw.length-1)+"",n;return{c(){n=oe(e)},l(t){n=re(t,e)},m(t,l){E(t,n,l)},p(t,l){l&1&&e!==(e=t[0].raw.slice(1,t[0].raw.length-1)+"")&&me(n,e)},d(t){t&&m(n)}}}function fl(i){let e,n;return e=new al({props:{$$slots:{default:[ul]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&3&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function cl(i,e,n){let{token:t}=e;return i.$$set=l=>{"token"in l&&n(0,t=l.token)},[t]}class dl extends W{constructor(e){super(),Y(this,e,cl,fl,Z,{token:0})}}function Ge(i){let e,n;return{c(){e=x("title"),n=oe(i[1])},l(t){e=y(t,"title",{});var l=p(e);n=re(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function hl(i){let e,n,t,l=i[1]&&Ge(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class _l extends W{constructor(e){super(),Y(this,e,ml,hl,Z,{size:0,title:1})}}function Je(i){let e,n;return{c(){e=x("title"),n=oe(i[1])},l(t){e=y(t,"title",{});var l=p(e);n=re(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function gl(i){let e,n,t,l=i[1]&&Je(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class vl extends W{constructor(e){super(),Y(this,e,bl,gl,Z,{size:0,title:1})}}function Ke(i){let e,n;return{c(){e=x("title"),n=oe(i[1])},l(t){e=y(t,"title",{});var l=p(e);n=re(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function kl(i){let e,n,t,l=i[1]&&Ke(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class pl extends W{constructor(e){super(),Y(this,e,wl,kl,Z,{size:0,title:1})}}function Qe(i){let e,n;return{c(){e=x("title"),n=oe(i[1])},l(t){e=y(t,"title",{});var l=p(e);n=re(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function El(i){let e,n,t,l=i[1]&&Qe(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Cl extends W{constructor(e){super(),Y(this,e,Ml,El,Z,{size:0,title:1})}}function Xe(i){let e,n;return{c(){e=x("title"),n=oe(i[1])},l(t){e=y(t,"title",{});var l=p(e);n=re(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function zl(i){let e,n,t,l=i[1]&&Xe(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let o=0;o{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Al extends W{constructor(e){super(),Y(this,e,Bl,zl,Z,{size:0,title:1})}}function ye(i){let e,n;return{c(){e=x("title"),n=oe(i[1])},l(t){e=y(t,"title",{});var l=p(e);n=re(l,i[1]),l.forEach(m)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&2&&me(n,t[1])},d(t){t&&m(e)}}}function Dl(i){let e,n,t,l,r=i[1]&&ye(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],o={};for(let a=0;a{n(5,e=C(C({},e),X(u))),n(3,s=V(e,r)),"size"in u&&n(0,o=u.size),"title"in u&&n(1,a=u.title)},i.$$.update=()=>{n(4,t=e["aria-label"]||e["aria-labelledby"]||a),n(2,l={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=X(e),[o,a,l,s,t]}class Il extends W{constructor(e){super(),Y(this,e,Nl,Dl,Z,{size:0,title:1})}}function Ll(i){let e,n,t;var l=i[3][i[0]];function r(s,o){return{props:{size:20,title:s[2],class:(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")}}}return l&&(e=Ce(l,r(i))),{c(){e&&F(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&j(e,s,o),E(s,n,o),t=!0},p(s,[o]){if(o&1&&l!==(l=s[3][s[0]])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{q(a,1)}),de()}l?(e=Ce(l,r(s)),F(e.$$.fragment),b(e.$$.fragment,1),j(e,n.parentNode,n)):e=null}else if(l){const a={};o&4&&(a.title=s[2]),o&2&&(a.class=(s[1]==="toast"&&"bx--toast-notification__icon")+" "+(s[1]==="inline"&&"bx--inline-notification__icon")),e.$set(a)}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&q(e,s)}}}function Pl(i,e,n){let{kind:t="error"}=e,{notificationType:l="toast"}=e,{iconDescription:r}=e;const s={error:vl,"info-square":Cl,info:pl,success:_l,warning:Al,"warning-alt":Il};return i.$$set=o=>{"kind"in o&&n(0,t=o.kind),"notificationType"in o&&n(1,l=o.notificationType),"iconDescription"in o&&n(2,r=o.iconDescription)},[t,l,r,s]}class Hl extends W{constructor(e){super(),Y(this,e,Pl,Ll,Z,{kind:0,notificationType:1,iconDescription:2})}}function Tl(i){let e,n,t,l,r;var s=i[1];function o(f,_){return{props:{size:20,title:f[2],class:(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")}}}s&&(n=Ce(s,o(i)));let a=[{type:"button"},{"aria-label":i[3]},{title:i[3]},i[4]],u={};for(let f=0;f{q(h,1)}),de()}s?(n=Ce(s,o(f)),F(n.$$.fragment),b(n.$$.fragment,1),j(n,e,null)):n=null}else if(s){const h={};_&4&&(h.title=f[2]),_&1&&(h.class=(f[0]==="toast"&&"bx--toast-notification__close-icon")+" "+(f[0]==="inline"&&"bx--inline-notification__close-icon")),n.$set(h)}O(e,u=se(a,[{type:"button"},(!t||_&8)&&{"aria-label":f[3]},(!t||_&8)&&{title:f[3]},_&16&&f[4]])),d(e,"bx--toast-notification__close-button",f[0]==="toast"),d(e,"bx--inline-notification__close-button",f[0]==="inline")},i(f){t||(n&&b(n.$$.fragment,f),t=!0)},o(f){n&&k(n.$$.fragment,f),t=!1},d(f){f&&m(e),n&&q(n),l=!1,be(r)}}}function Rl(i,e,n){const t=["notificationType","icon","title","iconDescription"];let l=V(e,t),{notificationType:r="toast"}=e,{icon:s=Pt}=e,{title:o=void 0}=e,{iconDescription:a="Close icon"}=e;function u(c){A.call(this,i,c)}function f(c){A.call(this,i,c)}function _(c){A.call(this,i,c)}function h(c){A.call(this,i,c)}return i.$$set=c=>{e=C(C({},e),X(c)),n(4,l=V(e,t)),"notificationType"in c&&n(0,r=c.notificationType),"icon"in c&&n(1,s=c.icon),"title"in c&&n(2,o=c.title),"iconDescription"in c&&n(3,a=c.iconDescription)},[r,s,o,a,l,u,f,_,h]}class Vl extends W{constructor(e){super(),Y(this,e,Rl,Tl,Z,{notificationType:0,icon:1,title:2,iconDescription:3})}}const Sl=i=>({}),xe=i=>({}),Zl=i=>({}),$e=i=>({}),Wl=i=>({}),et=i=>({});function tt(i){let e,n,t,l,r,s,o,a,u,f,_,h,c,g;t=new Hl({props:{notificationType:"inline",kind:i[0],iconDescription:i[6]}});const w=i[13].title,R=$(w,i,i[12],et),S=R||Yl(i),I=i[13].subtitle,D=$(I,i,i[12],$e),B=D||Ul(i),K=i[13].default,Q=$(K,i,i[12],null),_e=i[13].actions,T=$(_e,i,i[12],xe);let ne=!i[5]&<(i),ke=[{role:i[2]},{kind:i[0]},i[10]],ge={};for(let v=0;v{ne=null}),de()):ne?(ne.p(v,J),J&32&&b(ne,1)):(ne=lt(v),ne.c(),b(ne,1),ne.m(e,null)),O(e,ge=se(ke,[(!h||J&4)&&{role:v[2]},(!h||J&1)&&{kind:v[0]},J&1024&&v[10]])),d(e,"bx--inline-notification",!0),d(e,"bx--inline-notification--low-contrast",v[1]),d(e,"bx--inline-notification--hide-close-button",v[5]),d(e,"bx--inline-notification--error",v[0]==="error"),d(e,"bx--inline-notification--info",v[0]==="info"),d(e,"bx--inline-notification--info-square",v[0]==="info-square"),d(e,"bx--inline-notification--success",v[0]==="success"),d(e,"bx--inline-notification--warning",v[0]==="warning"),d(e,"bx--inline-notification--warning-alt",v[0]==="warning-alt")},i(v){h||(b(t.$$.fragment,v),b(S,v),b(B,v),b(Q,v),b(T,v),b(ne),h=!0)},o(v){k(t.$$.fragment,v),k(S,v),k(B,v),k(Q,v),k(T,v),k(ne),h=!1},d(v){v&&m(e),q(t),S&&S.d(v),B&&B.d(v),Q&&Q.d(v),T&&T.d(v),ne&&ne.d(),c=!1,be(g)}}}function Yl(i){let e;return{c(){e=oe(i[3])},l(n){e=re(n,i[3])},m(n,t){E(n,e,t)},p(n,t){t&8&&me(e,n[3])},d(n){n&&m(e)}}}function Ul(i){let e;return{c(){e=oe(i[4])},l(n){e=re(n,i[4])},m(n,t){E(n,e,t)},p(n,t){t&16&&me(e,n[4])},d(n){n&&m(e)}}}function lt(i){let e,n;return e=new Vl({props:{iconDescription:i[7],notificationType:"inline"}}),e.$on("click",i[9]),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&128&&(r.iconDescription=t[7]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function ql(i){let e,n,t=i[8]&&tt(i);return{c(){t&&t.c(),e=ie()},l(l){t&&t.l(l),e=ie()},m(l,r){t&&t.m(l,r),E(l,e,r),n=!0},p(l,[r]){l[8]?t?(t.p(l,r),r&256&&b(t,1)):(t=tt(l),t.c(),b(t,1),t.m(e.parentNode,e)):t&&(ce(),k(t,1,1,()=>{t=null}),de())},i(l){n||(b(t),n=!0)},o(l){k(t),n=!1},d(l){l&&m(e),t&&t.d(l)}}}function jl(i,e,n){const t=["kind","lowContrast","timeout","role","title","subtitle","hideCloseButton","statusIconDescription","closeButtonDescription"];let l=V(e,t),{$$slots:r={},$$scope:s}=e,{kind:o="error"}=e,{lowContrast:a=!1}=e,{timeout:u=0}=e,{role:f="alert"}=e,{title:_=""}=e,{subtitle:h=""}=e,{hideCloseButton:c=!1}=e,{statusIconDescription:g=o+" icon"}=e,{closeButtonDescription:w="Close notification"}=e;const R=He();let S=!0,I;function D(T){R("close",{timeout:T===!0},{cancelable:!0})&&n(8,S=!1)}Zt(()=>(u&&(I=setTimeout(()=>D(!0),u)),()=>{clearTimeout(I)}));function B(T){A.call(this,i,T)}function K(T){A.call(this,i,T)}function Q(T){A.call(this,i,T)}function _e(T){A.call(this,i,T)}return i.$$set=T=>{e=C(C({},e),X(T)),n(10,l=V(e,t)),"kind"in T&&n(0,o=T.kind),"lowContrast"in T&&n(1,a=T.lowContrast),"timeout"in T&&n(11,u=T.timeout),"role"in T&&n(2,f=T.role),"title"in T&&n(3,_=T.title),"subtitle"in T&&n(4,h=T.subtitle),"hideCloseButton"in T&&n(5,c=T.hideCloseButton),"statusIconDescription"in T&&n(6,g=T.statusIconDescription),"closeButtonDescription"in T&&n(7,w=T.closeButtonDescription),"$$scope"in T&&n(12,s=T.$$scope)},[o,a,f,_,h,c,g,w,S,D,l,u,s,r,B,K,Q,_e]}class Fl extends W{constructor(e){super(),Y(this,e,jl,ql,Z,{kind:0,lowContrast:1,timeout:11,role:2,title:3,subtitle:4,hideCloseButton:5,statusIconDescription:6,closeButtonDescription:7})}}function Ol(i){let e;const n=i[1].default,t=$(n,i,i[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&ee(t,n,l,l[2],e?le(n,l[2],r,null):te(l[2]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Gl(i){let e,n;return e=new Fl({props:{kind:i[0].style,lowContrast:!0,hideCloseButton:!0,$$slots:{default:[Ol]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&1&&(r.kind=t[0].style),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function Jl(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e;return i.$$set=s=>{"token"in s&&n(0,r=s.token),"$$scope"in s&&n(2,l=s.$$scope)},[r,t,l]}class Ht extends W{constructor(e){super(),Y(this,e,Jl,Gl,Z,{token:0})}}function Kl(i){let e;return{c(){e=oe(i[1])},l(n){e=re(n,i[1])},m(n,t){E(n,e,t)},p(n,t){t&2&&me(e,n[1])},d(n){n&&m(e)}}}function Ql(i){let e,n,t,l,r,s;const o=i[15].default,a=$(o,i,i[14],null),u=a||Kl(i);let f=[{tabindex:"-1"},{role:"presentation"},i[12]],_={};for(let h=0;hn(13,s=v)),Me(i,S,v=>n(7,o=v)),I({id:g,label:f,disabled:h});function K(v){A.call(this,i,v)}function Q(v){A.call(this,i,v)}function _e(v){A.call(this,i,v)}function T(v){A.call(this,i,v)}function ne(v){Ye[v?"unshift":"push"](()=>{w=v,n(0,w)})}const ke=()=>{h||D(g)},ge=({key:v})=>{h||(v==="ArrowRight"?B(1):v==="ArrowLeft"?B(-1):(v===" "||v==="Enter")&&D(g))};return i.$$set=v=>{e=C(C({},e),X(v)),n(12,r=V(e,l)),"label"in v&&n(1,f=v.label),"href"in v&&n(2,_=v.href),"disabled"in v&&n(3,h=v.disabled),"tabindex"in v&&n(4,c=v.tabindex),"id"in v&&n(5,g=v.id),"ref"in v&&n(0,w=v.ref),"$$scope"in v&&n(14,u=v.$$scope)},i.$$.update=()=>{i.$$.dirty&8224&&n(6,t=s===g)},[w,f,_,h,c,g,t,o,R,S,D,B,r,s,u,a,K,Q,_e,T,ne,ke,ge]}class yl extends W{constructor(e){super(),Y(this,e,Xl,Ql,Z,{label:1,href:2,disabled:3,tabindex:4,id:5,ref:0})}}function xl(i){let e,n,t,l;const r=i[12].default,s=$(r,i,i[11],null);let o=[{role:"tabpanel"},{"aria-labelledby":i[1]},{"aria-hidden":n=!i[2]},{hidden:t=i[2]?void 0:""},{id:i[0]},i[6]],a={};for(let u=0;un(10,f=I)),Me(i,R,I=>n(8,a=I)),Me(i,S,I=>n(9,u=I)),w({id:c}),i.$$set=I=>{e=C(C({},e),X(I)),n(6,o=V(e,s)),"id"in I&&n(0,c=I.id),"$$scope"in I&&n(11,h=I.$$scope)},i.$$.update=()=>{i.$$.dirty&1025&&n(2,t=f===c),i.$$.dirty&513&&n(7,l=u[c].index),i.$$.dirty&384&&n(1,r=a[l].id)},[c,r,t,g,R,S,o,l,a,u,f,h,_]}class en extends W{constructor(e){super(),Y(this,e,$l,xl,Z,{id:0})}}const tn=i=>({}),nt=i=>({});function it(i){let e=i[3].label+"",n;return{c(){n=oe(e)},l(t){n=re(t,e)},m(t,l){E(t,n,l)},p(t,l){l[0]&8&&e!==(e=t[3].label+"")&&me(n,e)},d(t){t&&m(n)}}}function ln(i){let e,n,t,l,r,s,o,a,u,f,_,h,c=i[3]&&it(i);r=new Gt({props:{"aria-hidden":"true",title:i[1]}});const g=i[20].default,w=$(g,i,i[19],null);let R=[{role:"navigation"},i[10]],S={};for(let B=0;Bn(18,u=U));const B=je(D,U=>U.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{}));Me(i,B,U=>n(28,f=U));const K=Ne(w),Q=Ne(void 0);Me(i,Q,U=>n(16,o=U));const _e=Ne([]);Me(i,_e,U=>n(17,a=U));const T=je(_e,U=>U.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{})),ne=Ne(void 0);let ke=null;Lt("Tabs",{tabs:D,contentById:T,selectedTab:Q,selectedContent:ne,useAutoWidth:K,add:U=>{D.update(ae=>[...ae,{...U,index:ae.length}])},addContent:U=>{_e.update(ae=>[...ae,{...U,index:ae.length}])},update:U=>{n(14,v=f[U].index)},change:async U=>{let ae=v+U;ae<0?ae=u.length-1:ae>=u.length&&(ae=0);let ze=u[ae].disabled;for(;ze;)ae=ae+U,ae<0?ae=u.length-1:ae>=u.length&&(ae=0),ze=u[ae].disabled;n(14,v=ae),await Wt();const Re=ke==null?void 0:ke.querySelectorAll("[role='tab']")[v];Re==null||Re.focus()}}),Yt(()=>{n(12,c=v),J>-1&&J!==v&&I("change",v),J=v});let ge=!0,v=c,J=-1;function pe(U){A.call(this,i,U)}function Ee(U){A.call(this,i,U)}const Ae=()=>{n(5,ge=!ge)},De=()=>{n(5,ge=!ge)},Te=()=>{n(5,ge=!ge)};function H(U){Ye[U?"unshift":"push"](()=>{ke=U,n(4,ke)})}return i.$$set=U=>{n(11,e=C(C({},e),X(U))),n(10,s=V(e,r)),"selected"in U&&n(12,c=U.selected),"type"in U&&n(0,g=U.type),"autoWidth"in U&&n(13,w=U.autoWidth),"iconDescription"in U&&n(1,R=U.iconDescription),"triggerHref"in U&&n(2,S=U.triggerHref),"$$scope"in U&&n(19,h=U.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&4096&&n(14,v=c),i.$$.dirty[0]&278528&&n(3,t=u[v]||void 0),i.$$.dirty[0]&147456&&n(15,l=a[v]||void 0),i.$$.dirty[0]&32776&&(t&&Q.set(t.id),l&&ne.set(l.id)),i.$$.dirty[0]&65536&&o&&n(5,ge=!0),i.$$.dirty[0]&8192&&K.set(w)},e=X(e),[g,R,S,t,ke,ge,D,B,Q,_e,s,e,c,w,v,l,o,a,u,h,_,pe,Ee,Ae,De,Te,H]}class sn extends W{constructor(e){super(),Y(this,e,nn,ln,Z,{selected:12,type:0,autoWidth:13,iconDescription:1,triggerHref:2},null,[-1,-1])}}function st(i,e,n){const t=i.slice();return t[3]=e[n],t}function rt(i,e,n){const t=i.slice();return t[3]=e[n],t}function ot(i){let e,n;return e=new yl({props:{label:i[3].title}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.label=t[3].title),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function rn(i){let e,n,t=we(i[0].tabs),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},[t,l,r]}class cn extends W{constructor(e){super(),Y(this,e,fn,un,Z,{token:0,options:1,renderers:2})}}function dn(i){let e,n,t,l=[i[1]],r={};for(let s=0;s{e=C(C({},e),X(f)),n(1,l=V(e,t)),"size"in f&&n(0,r=f.size)},[r,l,s,o,a,u]}class mn extends W{constructor(e){super(),Y(this,e,hn,dn,Z,{size:0})}}const _n=i=>({}),ut=i=>({}),gn=i=>({}),ft=i=>({}),bn=i=>({}),ct=i=>({props:{class:"bx--tag__label"}});function vn(i){let e,n,t,l,r,s,o=(i[11].icon||i[7])&&dt(i);const a=i[13].default,u=$(a,i,i[12],null);let f=[{id:i[8]},i[10]],_={};for(let h=0;h{o=null}),de()),u&&u.p&&(!l||c&4096)&&ee(u,a,h,h[12],l?le(a,h[12],c,null):te(h[12]),null),O(e,_=se(f,[(!l||c&256)&&{id:h[8]},c&1024&&h[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",h[3]),d(e,"bx--tag--sm",h[1]==="sm"),d(e,"bx--tag--red",h[0]==="red"),d(e,"bx--tag--magenta",h[0]==="magenta"),d(e,"bx--tag--purple",h[0]==="purple"),d(e,"bx--tag--blue",h[0]==="blue"),d(e,"bx--tag--cyan",h[0]==="cyan"),d(e,"bx--tag--teal",h[0]==="teal"),d(e,"bx--tag--green",h[0]==="green"),d(e,"bx--tag--gray",h[0]==="gray"),d(e,"bx--tag--cool-gray",h[0]==="cool-gray"),d(e,"bx--tag--warm-gray",h[0]==="warm-gray"),d(e,"bx--tag--high-contrast",h[0]==="high-contrast"),d(e,"bx--tag--outline",h[0]==="outline")},i(h){l||(b(o),b(u,h),l=!0)},o(h){k(o),k(u,h),l=!1},d(h){h&&m(e),o&&o.d(),u&&u.d(h),r=!1,be(s)}}}function kn(i){let e,n,t,l,r,s,o,a=(i[11].icon||i[7])&&ht(i);const u=i[13].default,f=$(u,i,i[12],null);let _=[{type:"button"},{id:i[8]},{disabled:i[3]},{"aria-disabled":i[3]},{tabindex:l=i[3]?"-1":void 0},i[10]],h={};for(let c=0;c<_.length;c+=1)h=C(h,_[c]);return{c(){e=P("button"),a&&a.c(),n=fe(),t=P("span"),f&&f.c(),this.h()},l(c){e=L(c,"BUTTON",{type:!0,id:!0,"aria-disabled":!0,tabindex:!0});var g=p(e);a&&a.l(g),n=ue(g),t=L(g,"SPAN",{});var w=p(t);f&&f.l(w),w.forEach(m),g.forEach(m),this.h()},h(){O(e,h),d(e,"bx--tag",!0),d(e,"bx--tag--interactive",!0),d(e,"bx--tag--disabled",i[3]),d(e,"bx--tag--sm",i[1]==="sm"),d(e,"bx--tag--red",i[0]==="red"),d(e,"bx--tag--magenta",i[0]==="magenta"),d(e,"bx--tag--purple",i[0]==="purple"),d(e,"bx--tag--blue",i[0]==="blue"),d(e,"bx--tag--cyan",i[0]==="cyan"),d(e,"bx--tag--teal",i[0]==="teal"),d(e,"bx--tag--green",i[0]==="green"),d(e,"bx--tag--gray",i[0]==="gray"),d(e,"bx--tag--cool-gray",i[0]==="cool-gray"),d(e,"bx--tag--warm-gray",i[0]==="warm-gray"),d(e,"bx--tag--high-contrast",i[0]==="high-contrast"),d(e,"bx--tag--outline",i[0]==="outline")},m(c,g){E(c,e,g),a&&a.m(e,null),N(e,n),N(e,t),f&&f.m(t,null),e.autofocus&&e.focus(),r=!0,s||(o=[z(e,"click",i[18]),z(e,"mouseover",i[19]),z(e,"mouseenter",i[20]),z(e,"mouseleave",i[21])],s=!0)},p(c,g){c[11].icon||c[7]?a?(a.p(c,g),g&2176&&b(a,1)):(a=ht(c),a.c(),b(a,1),a.m(e,n)):a&&(ce(),k(a,1,1,()=>{a=null}),de()),f&&f.p&&(!r||g&4096)&&ee(f,u,c,c[12],r?le(u,c[12],g,null):te(c[12]),null),O(e,h=se(_,[{type:"button"},(!r||g&256)&&{id:c[8]},(!r||g&8)&&{disabled:c[3]},(!r||g&8)&&{"aria-disabled":c[3]},(!r||g&8&&l!==(l=c[3]?"-1":void 0))&&{tabindex:l},g&1024&&c[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--interactive",!0),d(e,"bx--tag--disabled",c[3]),d(e,"bx--tag--sm",c[1]==="sm"),d(e,"bx--tag--red",c[0]==="red"),d(e,"bx--tag--magenta",c[0]==="magenta"),d(e,"bx--tag--purple",c[0]==="purple"),d(e,"bx--tag--blue",c[0]==="blue"),d(e,"bx--tag--cyan",c[0]==="cyan"),d(e,"bx--tag--teal",c[0]==="teal"),d(e,"bx--tag--green",c[0]==="green"),d(e,"bx--tag--gray",c[0]==="gray"),d(e,"bx--tag--cool-gray",c[0]==="cool-gray"),d(e,"bx--tag--warm-gray",c[0]==="warm-gray"),d(e,"bx--tag--high-contrast",c[0]==="high-contrast"),d(e,"bx--tag--outline",c[0]==="outline")},i(c){r||(b(a),b(f,c),r=!0)},o(c){k(a),k(f,c),r=!1},d(c){c&&m(e),a&&a.d(),f&&f.d(c),s=!1,be(o)}}}function wn(i){let e,n,t,l,r,s,o;const a=i[13].default,u=$(a,i,i[12],ct),f=u||Cn(i);l=new Pt({});let _=[{"aria-label":i[6]},{id:i[8]},i[10]],h={};for(let c=0;c<_.length;c+=1)h=C(h,_[c]);return{c(){e=P("div"),f&&f.c(),n=fe(),t=P("button"),F(l.$$.fragment),this.h()},l(c){e=L(c,"DIV",{"aria-label":!0,id:!0});var g=p(e);f&&f.l(g),n=ue(g),t=L(g,"BUTTON",{type:!0,"aria-labelledby":!0,title:!0});var w=p(t);G(l.$$.fragment,w),w.forEach(m),g.forEach(m),this.h()},h(){M(t,"type","button"),M(t,"aria-labelledby",i[8]),t.disabled=i[3],M(t,"title",i[6]),d(t,"bx--tag__close-icon",!0),O(e,h),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",i[3]),d(e,"bx--tag--filter",i[2]),d(e,"bx--tag--sm",i[1]==="sm"),d(e,"bx--tag--red",i[0]==="red"),d(e,"bx--tag--magenta",i[0]==="magenta"),d(e,"bx--tag--purple",i[0]==="purple"),d(e,"bx--tag--blue",i[0]==="blue"),d(e,"bx--tag--cyan",i[0]==="cyan"),d(e,"bx--tag--teal",i[0]==="teal"),d(e,"bx--tag--green",i[0]==="green"),d(e,"bx--tag--gray",i[0]==="gray"),d(e,"bx--tag--cool-gray",i[0]==="cool-gray"),d(e,"bx--tag--warm-gray",i[0]==="warm-gray"),d(e,"bx--tag--high-contrast",i[0]==="high-contrast"),d(e,"bx--tag--outline",i[0]==="outline")},m(c,g){E(c,e,g),f&&f.m(e,null),N(e,n),N(e,t),j(l,t,null),r=!0,s||(o=[z(t,"click",Ze(i[14])),z(t,"click",Ze(i[30])),z(t,"mouseover",i[15]),z(t,"mouseenter",i[16]),z(t,"mouseleave",i[17])],s=!0)},p(c,g){u?u.p&&(!r||g&4096)&&ee(u,a,c,c[12],r?le(a,c[12],g,bn):te(c[12]),ct):f&&f.p&&(!r||g&1)&&f.p(c,r?g:-1),(!r||g&256)&&M(t,"aria-labelledby",c[8]),(!r||g&8)&&(t.disabled=c[3]),(!r||g&64)&&M(t,"title",c[6]),O(e,h=se(_,[(!r||g&64)&&{"aria-label":c[6]},(!r||g&256)&&{id:c[8]},g&1024&&c[10]])),d(e,"bx--tag",!0),d(e,"bx--tag--disabled",c[3]),d(e,"bx--tag--filter",c[2]),d(e,"bx--tag--sm",c[1]==="sm"),d(e,"bx--tag--red",c[0]==="red"),d(e,"bx--tag--magenta",c[0]==="magenta"),d(e,"bx--tag--purple",c[0]==="purple"),d(e,"bx--tag--blue",c[0]==="blue"),d(e,"bx--tag--cyan",c[0]==="cyan"),d(e,"bx--tag--teal",c[0]==="teal"),d(e,"bx--tag--green",c[0]==="green"),d(e,"bx--tag--gray",c[0]==="gray"),d(e,"bx--tag--cool-gray",c[0]==="cool-gray"),d(e,"bx--tag--warm-gray",c[0]==="warm-gray"),d(e,"bx--tag--high-contrast",c[0]==="high-contrast"),d(e,"bx--tag--outline",c[0]==="outline")},i(c){r||(b(f,c),b(l.$$.fragment,c),r=!0)},o(c){k(f,c),k(l.$$.fragment,c),r=!1},d(c){c&&m(e),f&&f.d(c),q(l),s=!1,be(o)}}}function pn(i){let e,n;const t=[{size:i[1]},i[10]];let l={};for(let r=0;r{q(a,1)}),de()}l?(e=Ce(l,r()),F(e.$$.fragment),b(e.$$.fragment,1),j(e,n.parentNode,n)):e=null}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&q(e,s)}}}function ht(i){let e,n;const t=i[13].icon,l=$(t,i,i[12],ft),r=l||Mn(i);return{c(){e=P("div"),r&&r.c(),this.h()},l(s){e=L(s,"DIV",{});var o=p(e);r&&r.l(o),o.forEach(m),this.h()},h(){d(e,"bx--tag__custom-icon",!0)},m(s,o){E(s,e,o),r&&r.m(e,null),n=!0},p(s,o){l?l.p&&(!n||o&4096)&&ee(l,t,s,s[12],n?le(t,s[12],o,gn):te(s[12]),ft):r&&r.p&&(!n||o&128)&&r.p(s,n?o:-1)},i(s){n||(b(r,s),n=!0)},o(s){k(r,s),n=!1},d(s){s&&m(e),r&&r.d(s)}}}function Mn(i){let e,n,t;var l=i[7];function r(s,o){return{}}return l&&(e=Ce(l,r())),{c(){e&&F(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&j(e,s,o),E(s,n,o),t=!0},p(s,o){if(o&128&&l!==(l=s[7])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{q(a,1)}),de()}l?(e=Ce(l,r()),F(e.$$.fragment),b(e.$$.fragment,1),j(e,n.parentNode,n)):e=null}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&q(e,s)}}}function Cn(i){let e,n;return{c(){e=P("span"),n=oe(i[0]),this.h()},l(t){e=L(t,"SPAN",{});var l=p(e);n=re(l,i[0]),l.forEach(m),this.h()},h(){d(e,"bx--tag__label",!0)},m(t,l){E(t,e,l),N(e,n)},p(t,l){l&1&&me(n,t[0])},d(t){t&&m(e)}}}function zn(i){let e,n,t,l;const r=[pn,wn,kn,vn],s=[];function o(a,u){return a[5]?0:a[2]?1:a[4]?2:3}return e=o(i),n=s[e]=r[e](i),{c(){n.c(),t=ie()},l(a){n.l(a),t=ie()},m(a,u){s[e].m(a,u),E(a,t,u),l=!0},p(a,[u]){let f=e;e=o(a),e===f?s[e].p(a,u):(ce(),k(s[f],1,1,()=>{s[f]=null}),de(),n=s[e],n?n.p(a,u):(n=s[e]=r[e](a),n.c()),b(n,1),n.m(t.parentNode,t))},i(a){l||(b(n),l=!0)},o(a){k(n),l=!1},d(a){a&&m(t),s[e].d(a)}}}function Bn(i,e,n){const t=["type","size","filter","disabled","interactive","skeleton","title","icon","id"];let l=V(e,t),{$$slots:r={},$$scope:s}=e;const o=Ut(r);let{type:a=void 0}=e,{size:u="default"}=e,{filter:f=!1}=e,{disabled:_=!1}=e,{interactive:h=!1}=e,{skeleton:c=!1}=e,{title:g="Clear filter"}=e,{icon:w=void 0}=e,{id:R="ccs-"+Math.random().toString(36)}=e;const S=He();function I(H){A.call(this,i,H)}function D(H){A.call(this,i,H)}function B(H){A.call(this,i,H)}function K(H){A.call(this,i,H)}function Q(H){A.call(this,i,H)}function _e(H){A.call(this,i,H)}function T(H){A.call(this,i,H)}function ne(H){A.call(this,i,H)}function ke(H){A.call(this,i,H)}function ge(H){A.call(this,i,H)}function v(H){A.call(this,i,H)}function J(H){A.call(this,i,H)}function pe(H){A.call(this,i,H)}function Ee(H){A.call(this,i,H)}function Ae(H){A.call(this,i,H)}function De(H){A.call(this,i,H)}const Te=()=>{S("close")};return i.$$set=H=>{e=C(C({},e),X(H)),n(10,l=V(e,t)),"type"in H&&n(0,a=H.type),"size"in H&&n(1,u=H.size),"filter"in H&&n(2,f=H.filter),"disabled"in H&&n(3,_=H.disabled),"interactive"in H&&n(4,h=H.interactive),"skeleton"in H&&n(5,c=H.skeleton),"title"in H&&n(6,g=H.title),"icon"in H&&n(7,w=H.icon),"id"in H&&n(8,R=H.id),"$$scope"in H&&n(12,s=H.$$scope)},[a,u,f,_,h,c,g,w,R,S,l,o,s,r,I,D,B,K,Q,_e,T,ne,ke,ge,v,J,pe,Ee,Ae,De,Te]}class An extends W{constructor(e){super(),Y(this,e,Bn,zn,Z,{type:0,size:1,filter:2,disabled:3,interactive:4,skeleton:5,title:6,icon:7,id:8})}}function mt(i,e,n){const t=i.slice();return t[1]=e[n],t[3]=n,t}function Dn(i){let e=i[1].name+"",n,t;return{c(){n=oe(e),t=fe()},l(l){n=re(l,e),t=ue(l)},m(l,r){E(l,n,r),E(l,t,r)},p(l,r){r&1&&e!==(e=l[1].name+"")&&me(n,e)},d(l){l&&(m(n),m(t))}}}function _t(i){let e,n;return e=new An({props:{type:i[0].colors[i[3]%i[0].colors.length],$$slots:{default:[Dn]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.type=t[0].colors[t[3]%t[0].colors.length]),l&17&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function Nn(i){let e,n,t=we(i[0].tags),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){e=P("div");for(let s=0;s{"token"in l&&n(0,t=l.token)},[t]}class Ln extends W{constructor(e){super(),Y(this,e,In,Nn,Z,{token:0})}}function Pn(i){let e,n,t,l;const r=i[5].default,s=$(r,i,i[4],null);let o=[i[3]],a={};for(let u=0;u{e=C(C({},e),X(g)),n(3,l=V(e,t)),"nested"in g&&n(0,o=g.nested),"native"in g&&n(1,a=g.native),"expressive"in g&&n(2,u=g.expressive),"$$scope"in g&&n(4,s=g.$$scope)},[o,a,u,l,s,r,f,_,h,c]}class Tt extends W{constructor(e){super(),Y(this,e,Hn,Pn,Z,{nested:0,native:1,expressive:2})}}function Tn(i){let e,n,t,l;const r=i[4].default,s=$(r,i,i[3],null);let o=[i[2]],a={};for(let u=0;u{e=C(C({},e),X(c)),n(2,l=V(e,t)),"nested"in c&&n(0,o=c.nested),"expressive"in c&&n(1,a=c.expressive),"$$scope"in c&&n(3,s=c.$$scope)},[o,a,l,s,r,u,f,_,h]}class Rt extends W{constructor(e){super(),Y(this,e,Rn,Tn,Z,{nested:0,expressive:1})}}function Vn(i){let e;const n=i[3].default,t=$(n,i,i[4],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&16)&&ee(t,n,l,l[4],e?le(n,l[4],r,null):te(l[4]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Sn(i){let e,n,t;var l=i[1];function r(s,o){return{props:{class:"markdown-list-style",style:`counter-reset: item ${Number(s[0])-1}`,$$slots:{default:[Vn]},$$scope:{ctx:s}}}}return l&&(e=Ce(l,r(i))),{c(){e&&F(e.$$.fragment),n=ie()},l(s){e&&G(e.$$.fragment,s),n=ie()},m(s,o){e&&j(e,s,o),E(s,n,o),t=!0},p(s,[o]){if(o&2&&l!==(l=s[1])){if(e){ce();const a=e;k(a.$$.fragment,1,0,()=>{q(a,1)}),de()}l?(e=Ce(l,r(s)),F(e.$$.fragment),b(e.$$.fragment,1),j(e,n.parentNode,n)):e=null}else if(l){const a={};o&1&&(a.style=`counter-reset: item ${Number(s[0])-1}`),o&16&&(a.$$scope={dirty:o,ctx:s}),e.$set(a)}},i(s){t||(e&&b(e.$$.fragment,s),t=!0)},o(s){e&&k(e.$$.fragment,s),t=!1},d(s){s&&m(n),e&&q(e,s)}}}function Zn(i,e,n){let{$$slots:t={},$$scope:l}=e,{start:r=1}=e,{ordered:s=!1}=e,o;return i.$$set=a=>{"start"in a&&n(0,r=a.start),"ordered"in a&&n(2,s=a.ordered),"$$scope"in a&&n(4,l=a.$$scope)},i.$$.update=()=>{i.$$.dirty&4&&n(1,o=s?Tt:Rt)},[r,o,s,t,l]}class Wn extends W{constructor(e){super(),Y(this,e,Zn,Sn,Z,{start:0,ordered:2})}}function gt(i,e,n){const t=i.slice();return t[4]=e[n],t}function bt(i){let e,n;return e=new jt({props:{token:{...i[4]},options:i[1],renderers:i[2]}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.token={...t[4]}),l&2&&(r.options=t[1]),l&4&&(r.renderers=t[2]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function Yn(i){let e,n,t=we(i[0].items),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},i.$$.update=()=>{i.$$.dirty&1&&t.ordered},[t,l,r]}class jn extends W{constructor(e){super(),Y(this,e,qn,Un,Z,{token:0,options:1,renderers:2})}}function Fn(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class Gn extends W{constructor(e){super(),Y(this,e,On,Fn,Z,{})}}function Jn(i){let e;const n=i[0].default,t=$(n,i,i[1],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&2)&&ee(t,n,l,l[1],e?le(n,l[1],r,null):te(l[1]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Kn(i){let e,n;return e=new Gn({props:{class:"markdown-list-item",$$slots:{default:[Jn]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&2&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function Qn(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(1,l=r.$$scope)},[t,l]}class Xn extends W{constructor(e){super(),Y(this,e,Qn,Kn,Z,{})}}function yn(i){let e,n,t,l;const r=i[8].default,s=$(r,i,i[7],null);let o=[{role:"table"},i[4]],a={};for(let u=0;un(6,r=I)),Lt("StructuredListWrapper",{selectedValue:c,update:I=>{c.set(I)}});function g(I){A.call(this,i,I)}function w(I){A.call(this,i,I)}function R(I){A.call(this,i,I)}function S(I){A.call(this,i,I)}return i.$$set=I=>{e=C(C({},e),X(I)),n(4,l=V(e,t)),"selected"in I&&n(5,a=I.selected),"condensed"in I&&n(0,u=I.condensed),"flush"in I&&n(1,f=I.flush),"selection"in I&&n(2,_=I.selection),"$$scope"in I&&n(7,o=I.$$scope)},i.$$.update=()=>{i.$$.dirty&64&&n(5,a=r),i.$$.dirty&64&&h("change",r)},[u,f,_,c,l,a,r,o,s,g,w,R,S]}class $n extends W{constructor(e){super(),Y(this,e,xn,yn,Z,{selected:5,condensed:0,flush:1,selection:2})}}function ei(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[{role:"rowgroup"},i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class li extends W{constructor(e){super(),Y(this,e,ti,ei,Z,{})}}function ni(i){let e,n,t,l,r;const s=i[4].default,o=$(s,i,i[3],null);let a=[{role:n=i[0]?"columnheader":"cell"},i[2]],u={};for(let f=0;f{e=C(C({},e),X(c)),n(2,l=V(e,t)),"head"in c&&n(0,o=c.head),"noWrap"in c&&n(1,a=c.noWrap),"$$scope"in c&&n(3,s=c.$$scope)},[o,a,l,s,r,u,f,_,h]}class Vt extends W{constructor(e){super(),Y(this,e,ii,ni,Z,{head:0,noWrap:1})}}function si(i){let e,n,t,l;const r=i[2].default,s=$(r,i,i[1],null);let o=[{role:"rowgroup"},i[0]],a={};for(let u=0;u{e=C(C({},e),X(_)),n(0,l=V(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class oi extends W{constructor(e){super(),Y(this,e,ri,si,Z,{})}}function ai(i){let e,n,t,l;const r=i[5].default,s=$(r,i,i[4],null);let o=[{role:"row"},i[3]],a={};for(let u=0;u{s[f]=null}),de(),n=s[e],n?n.p(a,u):(n=s[e]=r[e](a),n.c()),b(n,1),n.m(t.parentNode,t))},i(a){l||(b(n),l=!0)},o(a){k(n),l=!1},d(a){a&&m(t),s[e].d(a)}}}function ci(i,e,n){const t=["head","label","tabindex"];let l=V(e,t),{$$slots:r={},$$scope:s}=e,{head:o=!1}=e,{label:a=!1}=e,{tabindex:u="0"}=e;function f(D){A.call(this,i,D)}function _(D){A.call(this,i,D)}function h(D){A.call(this,i,D)}function c(D){A.call(this,i,D)}function g(D){A.call(this,i,D)}function w(D){A.call(this,i,D)}function R(D){A.call(this,i,D)}function S(D){A.call(this,i,D)}function I(D){A.call(this,i,D)}return i.$$set=D=>{e=C(C({},e),X(D)),n(3,l=V(e,t)),"head"in D&&n(0,o=D.head),"label"in D&&n(1,a=D.label),"tabindex"in D&&n(2,u=D.tabindex),"$$scope"in D&&n(4,s=D.$$scope)},[o,a,u,l,s,r,f,_,h,c,g,w,R,S,I]}class St extends W{constructor(e){super(),Y(this,e,ci,fi,Z,{head:0,label:1,tabindex:2})}}function vt(i,e,n){const t=i.slice();return t[3]=e[n],t}function kt(i,e,n){const t=i.slice();return t[6]=e[n],t}function wt(i,e,n){const t=i.slice();return t[9]=e[n],t}function di(i){let e,n,t;return e=new Ue({props:{tokens:i[9].tokens,options:i[1],renderers:i[2]}}),{c(){F(e.$$.fragment),n=fe()},l(l){G(e.$$.fragment,l),n=ue(l)},m(l,r){j(e,l,r),E(l,n,r),t=!0},p(l,r){const s={};r&1&&(s.tokens=l[9].tokens),r&2&&(s.options=l[1]),r&4&&(s.renderers=l[2]),e.$set(s)},i(l){t||(b(e.$$.fragment,l),t=!0)},o(l){k(e.$$.fragment,l),t=!1},d(l){l&&m(n),q(e,l)}}}function pt(i){let e,n;return e=new Vt({props:{head:!0,$$slots:{default:[di]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&4103&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function hi(i){let e,n,t=we(i[0].header),l=[];for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;sk(l[s],1,1,()=>{l[s]=null});return{c(){for(let s=0;s{"token"in s&&n(0,t=s.token),"options"in s&&n(1,l=s.options),"renderers"in s&&n(2,r=s.renderers)},[t,l,r]}class pi extends W{constructor(e){super(),Y(this,e,wi,ki,Z,{token:0,options:1,renderers:2})}}function Ei(i){let e;const n=i[1].default,t=$(n,i,i[2],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&4)&&ee(t,n,l,l[2],e?le(n,l[2],r,null):te(l[2]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Mi(i){let e,n;return e=new Ht({props:{token:{type:"notification",raw:i[0].raw,style:"info",tokens:i[0].tokens},$$slots:{default:[Ei]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&1&&(r.token={type:"notification",raw:t[0].raw,style:"info",tokens:t[0].tokens}),l&4&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function Ci(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e;return i.$$set=s=>{"token"in s&&n(0,r=s.token),"$$scope"in s&&n(2,l=s.$$scope)},[r,t,l]}class zi extends W{constructor(e){super(),Y(this,e,Ci,Mi,Z,{token:0})}}function Ve(i){let e,n;const t=i[3].default,l=$(t,i,i[2],null);let r=[{id:i[0]},{class:"header header-base svelte-1jlumb"}],s={};for(let o=0;o1&&Ct(i);return{c(){e=P("div"),r&&r.c(),t=fe(),s&&s.c(),this.h()},l(o){e=L(o,"DIV",{class:!0});var a=p(e);r&&r.l(a),t=ue(a),s&&s.l(a),a.forEach(m),this.h()},h(){M(e,"class","parent svelte-1jlumb")},m(o,a){E(o,e,a),r&&r.m(e,null),N(e,t),s&&s.m(e,null),l=!0},p(o,[a]){`h${o[1]}`?n?Z(n,`h${o[1]}`)?(r.d(1),r=Ve(o),n=`h${o[1]}`,r.c(),r.m(e,t)):r.p(o,a):(r=Ve(o),n=`h${o[1]}`,r.c(),r.m(e,t)):n&&(r.d(1),r=null,n=`h${o[1]}`),o[1]>1?s?s.p(o,a):(s=Ct(o),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i(o){l||(b(r,o),l=!0)},o(o){k(r,o),l=!1},d(o){o&&m(e),r&&r.d(o),s&&s.d()}}}function Ai(i,e,n){let{$$slots:t={},$$scope:l}=e,{id:r}=e,{depth:s}=e;return i.$$set=o=>{"id"in o&&n(0,r=o.id),"depth"in o&&n(1,s=o.depth),"$$scope"in o&&n(2,l=o.$$scope)},[r,s,l,t]}class Di extends W{constructor(e){super(),Y(this,e,Ai,Bi,Z,{id:0,depth:1})}}function Ni(i){let e;const n=i[3].default,t=$(n,i,i[4],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&16)&&ee(t,n,l,l[4],e?le(n,l[4],r,null):te(l[4]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Ii(i){let e,n;return e=new Di({props:{id:i[1],depth:i[0].depth,$$slots:{default:[Ni]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&2&&(r.id=t[1]),l&1&&(r.depth=t[0].depth),l&16&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function Li(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e,{options:s}=e,o;return i.$$set=a=>{"token"in a&&n(0,r=a.token),"options"in a&&n(2,s=a.options),"$$scope"in a&&n(4,l=a.$$scope)},i.$$.update=()=>{i.$$.dirty&5&&n(1,o=Le.generatePathSegment(r.text,s.slugger))},[r,o,s,t,l]}class Pi extends W{constructor(e){super(),Y(this,e,Li,Ii,Z,{token:0,options:2})}}function Hi(i){let e;const n=i[2].default,t=$(n,i,i[3],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,r){t&&t.m(l,r),e=!0},p(l,r){t&&t.p&&(!e||r&8)&&ee(t,n,l,l[3],e?le(n,l[3],r,null):te(l[3]),null)},i(l){e||(b(t,l),e=!0)},o(l){k(t,l),e=!1},d(l){t&&t.d(l)}}}function Ti(i){let e,n;return e=new Jt({props:{href:Le.isRelative(i[0].href)?Le.joinUrlPaths(i[1].baseUrl,i[0].href):i[0].href,title:i[0].title,$$slots:{default:[Hi]},$$scope:{ctx:i}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,[l]){const r={};l&3&&(r.href=Le.isRelative(t[0].href)?Le.joinUrlPaths(t[1].baseUrl,t[0].href):t[0].href),l&1&&(r.title=t[0].title),l&8&&(r.$$scope={dirty:l,ctx:t}),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function Ri(i,e,n){let{$$slots:t={},$$scope:l}=e,{token:r}=e,{options:s}=e;return i.$$set=o=>{"token"in o&&n(0,r=o.token),"options"in o&&n(1,s=o.options),"$$scope"in o&&n(3,l=o.$$scope)},[r,s,t,l]}class Vi extends W{constructor(e){super(),Y(this,e,Ri,Ti,Z,{token:0,options:1})}}function Si(i){let e,n;const t=i[1].default,l=$(t,i,i[0],null);return{c(){e=P("p"),l&&l.c(),this.h()},l(r){e=L(r,"P",{class:!0});var s=p(e);l&&l.l(s),s.forEach(m),this.h()},h(){M(e,"class","md-paragraph svelte-uzcm98")},m(r,s){E(r,e,s),l&&l.m(e,null),n=!0},p(r,[s]){l&&l.p&&(!n||s&1)&&ee(l,t,r,r[0],n?le(t,r[0],s,null):te(r[0]),null)},i(r){n||(b(l,r),n=!0)},o(r){k(l,r),n=!1},d(r){r&&m(e),l&&l.d(r)}}}function Zi(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class Wi extends W{constructor(e){super(),Y(this,e,Zi,Si,Z,{})}}function zt(i){let e,n;return e=new Ft({props:{source:i[0],renderers:{heading:Pi,code:sl,codespan:dl,blockquote:zi,link:Vi,paragraph:Wi,table:pi,list:jn,list_item:Xn,tabs:cn,notification:Ht,tags:Ln},options:{baseUrl:i[1]}}}),{c(){F(e.$$.fragment)},l(t){G(e.$$.fragment,t)},m(t,l){j(e,t,l),n=!0},p(t,l){const r={};l&1&&(r.source=t[0]),e.$set(r)},i(t){n||(b(e.$$.fragment,t),n=!0)},o(t){k(e.$$.fragment,t),n=!1},d(t){q(e,t)}}}function Yi(i){let e,n,t=i[0]&&zt(i);return{c(){t&&t.c(),e=ie()},l(l){t&&t.l(l),e=ie()},m(l,r){t&&t.m(l,r),E(l,e,r),n=!0},p(l,[r]){l[0]?t?(t.p(l,r),r&1&&b(t,1)):(t=zt(l),t.c(),b(t,1),t.m(e.parentNode,e)):t&&(ce(),k(t,1,1,()=>{t=null}),de())},i(l){n||(b(t),n=!0)},o(l){k(t),n=!1},d(l){l&&m(e),t&&t.d(l)}}}function Ui(i,e,n){let{source:t}=e;const l=Ot();return i.$$set=r=>{"source"in r&&n(0,t=r.source)},[t,l]}class Qi extends W{constructor(e){super(),Y(this,e,Ui,Yi,Z,{source:0})}}function Bt(i){let e,n,t,l,r,s,o,a,u,f=i[0].previous.title+"",_,h,c,g=i[0].previous.section&&i[0].previous.section!==i[0].section&&At(i);return o=new $t({props:{class:"previous-next-arrow",size:20}}),{c(){e=P("div"),n=P("strong"),t=oe(`Previous - - `),g&&g.c(),l=fe(),r=P("a"),s=P("span"),F(o.$$.fragment),a=fe(),u=P("p"),_=oe(f),this.h()},l(w){e=L(w,"DIV",{class:!0});var R=p(e);n=L(R,"STRONG",{});var S=p(n);t=re(S,`Previous - - `),g&&g.l(S),S.forEach(m),R.forEach(m),l=ue(w),r=L(w,"A",{href:!0,class:!0});var I=p(r);s=L(I,"SPAN",{});var D=p(s);G(o.$$.fragment,D),D.forEach(m),a=ue(I),u=L(I,"P",{});var B=p(u);_=re(B,f),B.forEach(m),I.forEach(m),this.h()},h(){M(e,"class","direction svelte-19tre3a"),M(r,"href",h=i[0].previous.href),M(r,"class","title svelte-19tre3a")},m(w,R){E(w,e,R),N(e,n),N(n,t),g&&g.m(n,null),E(w,l,R),E(w,r,R),N(r,s),j(o,s,null),N(r,a),N(r,u),N(u,_),c=!0},p(w,R){w[0].previous.section&&w[0].previous.section!==w[0].section?g?g.p(w,R):(g=At(w),g.c(),g.m(n,null)):g&&(g.d(1),g=null),(!c||R&1)&&f!==(f=w[0].previous.title+"")&&me(_,f),(!c||R&1&&h!==(h=w[0].previous.href))&&M(r,"href",h)},i(w){c||(b(o.$$.fragment,w),c=!0)},o(w){k(o.$$.fragment,w),c=!1},d(w){w&&(m(e),m(l),m(r)),g&&g.d(),q(o)}}}function At(i){let e,n=i[0].previous.section+"",t;return{c(){e=oe("- "),t=oe(n)},l(l){e=re(l,"- "),t=re(l,n)},m(l,r){E(l,e,r),E(l,t,r)},p(l,r){r&1&&n!==(n=l[0].previous.section+"")&&me(t,n)},d(l){l&&(m(e),m(t))}}}function Dt(i){let e,n,t,l,r,s,o=i[0].next.title+"",a,u,f,_,h,c,g=i[0].next.section&&i[0].next.section!==i[0].section&&Nt(i);return _=new ll({props:{class:"previous-next-arrow",size:20}}),{c(){e=P("div"),n=P("strong"),t=oe(`Next - `),g&&g.c(),l=fe(),r=P("a"),s=P("p"),a=oe(o),u=fe(),f=P("span"),F(_.$$.fragment),this.h()},l(w){e=L(w,"DIV",{class:!0});var R=p(e);n=L(R,"STRONG",{});var S=p(n);t=re(S,`Next - `),g&&g.l(S),S.forEach(m),R.forEach(m),l=ue(w),r=L(w,"A",{href:!0,class:!0});var I=p(r);s=L(I,"P",{});var D=p(s);a=re(D,o),D.forEach(m),u=ue(I),f=L(I,"SPAN",{});var B=p(f);G(_.$$.fragment,B),B.forEach(m),I.forEach(m),this.h()},h(){M(e,"class","direction svelte-19tre3a"),M(r,"href",h=i[0].next.href),M(r,"class","title svelte-19tre3a")},m(w,R){E(w,e,R),N(e,n),N(n,t),g&&g.m(n,null),E(w,l,R),E(w,r,R),N(r,s),N(s,a),N(r,u),N(r,f),j(_,f,null),c=!0},p(w,R){w[0].next.section&&w[0].next.section!==w[0].section?g?g.p(w,R):(g=Nt(w),g.c(),g.m(n,null)):g&&(g.d(1),g=null),(!c||R&1)&&o!==(o=w[0].next.title+"")&&me(a,o),(!c||R&1&&h!==(h=w[0].next.href))&&M(r,"href",h)},i(w){c||(b(_.$$.fragment,w),c=!0)},o(w){k(_.$$.fragment,w),c=!1},d(w){w&&(m(e),m(l),m(r)),g&&g.d(),q(_)}}}function Nt(i){let e,n=i[0].next.section+"",t;return{c(){e=oe("- "),t=oe(n)},l(l){e=re(l,"- "),t=re(l,n)},m(l,r){E(l,e,r),E(l,t,r)},p(l,r){r&1&&n!==(n=l[0].next.section+"")&&me(t,n)},d(l){l&&(m(e),m(t))}}}function qi(i){let e,n,t,l,r,s,o,a=i[0].previous&&Bt(i),u=i[0].next&&Dt(i);return{c(){e=P("hr"),n=fe(),t=P("div"),l=P("div"),a&&a.c(),r=fe(),s=P("div"),u&&u.c(),this.h()},l(f){e=L(f,"HR",{class:!0}),n=ue(f),t=L(f,"DIV",{class:!0});var _=p(t);l=L(_,"DIV",{class:!0});var h=p(l);a&&a.l(h),h.forEach(m),r=ue(_),s=L(_,"DIV",{class:!0});var c=p(s);u&&u.l(c),c.forEach(m),_.forEach(m),this.h()},h(){M(e,"class","footer-hr svelte-19tre3a"),M(l,"class","previous direction-wrapper svelte-19tre3a"),M(s,"class","next direction-wrapper svelte-19tre3a"),M(t,"class","wrapper svelte-19tre3a")},m(f,_){E(f,e,_),E(f,n,_),E(f,t,_),N(t,l),a&&a.m(l,null),N(t,r),N(t,s),u&&u.m(s,null),o=!0},p(f,[_]){f[0].previous?a?(a.p(f,_),_&1&&b(a,1)):(a=Bt(f),a.c(),b(a,1),a.m(l,null)):a&&(ce(),k(a,1,1,()=>{a=null}),de()),f[0].next?u?(u.p(f,_),_&1&&b(u,1)):(u=Dt(f),u.c(),b(u,1),u.m(s,null)):u&&(ce(),k(u,1,1,()=>{u=null}),de())},i(f){o||(b(a),b(u),o=!0)},o(f){k(a),k(u),o=!1},d(f){f&&(m(e),m(n),m(t)),a&&a.d(),u&&u.d()}}}function ji(i,e,n){let{page:t}=e;return i.$$set=l=>{"page"in l&&n(0,t=l.page)},[t]}class Xi extends W{constructor(e){super(),Y(this,e,ji,qi,Z,{page:0})}}export{Di as A,Qi as C,Fl as I,Gn as L,Xi as P,$n as S,An as T,li as a,St as b,Vt as c,Wn as d,Xt as e,sn as f,yl as g,en as h}; diff --git a/public/docs/_app/immutable/chunks/control.r7Ha6DXD.js b/public/docs/_app/immutable/chunks/control.r7Ha6DXD.js deleted file mode 100644 index bb850bd..0000000 --- a/public/docs/_app/immutable/chunks/control.r7Ha6DXD.js +++ /dev/null @@ -1 +0,0 @@ -var r;const a=((r=globalThis.__sveltekit_bf3shq)==null?void 0:r.base)??"/docs";var i;const c=((i=globalThis.__sveltekit_bf3shq)==null?void 0:i.assets)??a;class h{constructor(t,s){this.status=t,typeof s=="string"?this.body={message:s}:s?this.body=s:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class l{constructor(t,s){this.status=t,this.location=s}}class n extends Error{constructor(t,s,o){super(o),this.status=t,this.text=s}}export{h as H,l as R,n as S,c as a,a as b}; diff --git a/public/docs/_app/immutable/chunks/control.xy6l2DY8.js b/public/docs/_app/immutable/chunks/control.xy6l2DY8.js new file mode 100644 index 0000000..d150c56 --- /dev/null +++ b/public/docs/_app/immutable/chunks/control.xy6l2DY8.js @@ -0,0 +1 @@ +var r;const a=((r=globalThis.__sveltekit_1yz6gym)==null?void 0:r.base)??"/docs";var i;const c=((i=globalThis.__sveltekit_1yz6gym)==null?void 0:i.assets)??a;class l{constructor(t,s){this.status=t,typeof s=="string"?this.body={message:s}:s?this.body=s:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class h{constructor(t,s){this.status=t,this.location=s}}class n extends Error{constructor(t,s,o){super(o),this.status=t,this.text=s}}export{l as H,h as R,n as S,c as a,a as b}; diff --git a/public/docs/_app/immutable/chunks/entry.Cnn_Xnsf.js b/public/docs/_app/immutable/chunks/entry.DflFlOll.js similarity index 90% rename from public/docs/_app/immutable/chunks/entry.Cnn_Xnsf.js rename to public/docs/_app/immutable/chunks/entry.DflFlOll.js index eef6e43..7803302 100644 --- a/public/docs/_app/immutable/chunks/entry.Cnn_Xnsf.js +++ b/public/docs/_app/immutable/chunks/entry.DflFlOll.js @@ -1,3 +1,3 @@ -import{M as it}from"./scheduler.BCDW5bg-.js";import{w as pe}from"./index.BN18egRc.js";import{a as st,H as ne,S as ge,b as U,R as je}from"./control.r7Ha6DXD.js";new URL("sveltekit-internal://");function ct(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function lt(e){return e.split("%25").map(decodeURI).join("%25")}function ft(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ut=["href","pathname","search","toString","toJSON"];function dt(e,n,t){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return i=>(t(i),a[o](i));n();const s=Reflect.get(a,o);return typeof s=="function"?s.bind(a):s}}),enumerable:!0,configurable:!0});for(const a of ut)Object.defineProperty(r,a,{get(){return n(),e[a]},enumerable:!0,configurable:!0});return r}const ht="/__data.json",pt=".html__data.json";function gt(e){return e.endsWith(".html")?e.replace(/\.html$/,pt):e.replace(/\/$/,"")+ht}function mt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let r=t.length;for(;r;)n=n*33^t.charCodeAt(--r)}else if(ArrayBuffer.isView(t)){const r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let a=r.length;for(;a;)n=n*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function yt(e){const n=atob(e),t=new Uint8Array(n.length);for(let r=0;r((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&B.delete(me(e)),De(e,n));const B=new Map;function _t(e,n){const t=me(e,n),r=document.querySelector(t);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const s=r.getAttribute("data-ttl");return s&&B.set(t,{body:a,init:o,ttl:1e3*Number(s)}),r.getAttribute("data-b64")!==null&&(a=yt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,n)}function wt(e,n,t){if(B.size>0){const r=me(e,t),a=B.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return n.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const d=vt.exec(c),[,h,g,u,m]=d;return n.push({name:u,matcher:m,optional:!!h,rest:!!g,chained:g?f===1&&s[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function At(e){return!/^\([^)]+\)$/.test(e)}function kt(e){return e.slice(1).split("/").filter(At)}function Et(e,n,t){const r={},a=e.slice(1),o=a.filter(i=>i!==void 0);let s=0;for(let i=0;id).join("/"),s=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){r[c.name]=f;const d=n[i+1],h=a[i+1];d&&!d.rest&&d.optional&&h&&c.chained&&(s=0),!d&&!h&&Object.keys(r).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function St({nodes:e,server_loads:n,dictionary:t,matchers:r}){const a=new Set(n);return Object.entries(t).map(([i,[c,f,d]])=>{const{pattern:h,params:g}=bt(i),u={id:i,exec:m=>{const l=h.exec(m);if(l)return Et(l,g,r)},errors:[1,...d||[]].map(m=>e[m]),layouts:[0,...f||[]].map(s),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[a.has(i),e[i]]}}function $e(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const r=t(n);try{sessionStorage[e]=r}catch{}}const Rt="1731794395947",Fe="sveltekit:snapshot",Ve="sveltekit:scroll",Be="sveltekit:states",It="sveltekit:pageurl",j="sveltekit:history",M="sveltekit:navigation",W={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Ge(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function ye(){return{x:pageXOffset,y:pageYOffset}}function N(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...W,"":W.hover};function Me(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function qe(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Me(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!t||!!r||re(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:a,target:r,download:o}}function z(e){let n=null,t=null,r=null,a=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)r===null&&(r=N(i,"preload-code")),a===null&&(a=N(i,"preload-data")),n===null&&(n=N(i,"keepfocus")),t===null&&(t=N(i,"noscroll")),o===null&&(o=N(i,"reload")),s===null&&(s=N(i,"replacestate")),i=Me(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[r??"off"],preload_data:Le[a??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(s)}}function Ue(e){const n=pe(e);let t=!0;function r(){t=!0,n.update(s=>s)}function a(s){t=!1,n.set(s)}function o(s){let i;return n.subscribe(c=>{(i===void 0||t&&c!==i)&&s(i=c)})}return{notify:r,set:a,subscribe:o}}function Lt(){const{set:e,subscribe:n}=pe(!1);let t;async function r(){clearTimeout(t);try{const a=await fetch(`${st}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==Rt;return s&&(e(!0),clearTimeout(t)),s}catch{return!1}}return{subscribe:n,check:r}}function re(e,n){return e.origin!==K||!e.pathname.startsWith(n)}function Pe(e){const n=Pt(e),t=new ArrayBuffer(n.length),r=new DataView(t);for(let a=0;a>16),n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255),t=r=0);return r===12?(t>>=4,n+=String.fromCharCode(t)):r===18&&(t>>=2,n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255)),n}const Tt=-1,xt=-2,Ct=-3,Nt=-4,Ot=-5,jt=-6;function Dt(e,n){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,r=Array(t.length);function a(o,s=!1){if(o===Tt)return;if(o===Ct)return NaN;if(o===Nt)return 1/0;if(o===Ot)return-1/0;if(o===jt)return-0;if(s)throw new Error("Invalid input");if(o in r)return r[o];const i=t[o];if(!i||typeof i!="object")r[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],f=n==null?void 0:n[c];if(f)return r[o]=f(a(i[1]));switch(c){case"Date":r[o]=new Date(i[1]);break;case"Set":const d=new Set;r[o]=d;for(let u=1;un!=null)}const Vt="x-sveltekit-invalidated",Bt="x-sveltekit-trailing-slash";function J(e){return e instanceof ne||e instanceof ge?e.status:500}function Gt(e){return e instanceof ge?e.text:"Internal Error"}const C=$e(Ve)??{},q=$e(Fe)??{},T={url:Ue({}),page:Ue({}),navigating:pe(null),updated:Lt()};function _e(e){C[e]=ye()}function Mt(e,n){let t=e+1;for(;C[t];)delete C[t],t+=1;for(t=n+1;q[t];)delete q[t],t+=1}function $(e){return location.href=e.href,new Promise(()=>{})}function Te(){}let ae,de,X,P,he,F;const Ke=[],Z=[];let R=null;const Ye=[],qt=[];let O=[],_={branch:[],error:null,url:null},we=!1,Q=!1,xe=!0,H=!1,V=!1,We=!1,ve=!1,be,E,L,I,ee;const G=new Set;async function rn(e,n,t){var a,o;document.URL!==location.href&&(location.href=location.href),F=e,ae=St(e),P=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),E=(a=history.state)==null?void 0:a[j],L=(o=history.state)==null?void 0:o[M],E||(E=L=Date.now(),history.replaceState({...history.state,[j]:E,[M]:L},""));const r=C[E];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),t?await Zt(he,t):Jt(location.href,{replaceState:!0}),Xt()}function Ht(){Ke.length=0,ve=!1}function ze(e){Z.some(n=>n==null?void 0:n.snapshot)&&(q[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function Je(e){var n;(n=q[e])==null||n.forEach((t,r)=>{var a,o;(o=(a=Z[r])==null?void 0:a.snapshot)==null||o.restore(t)})}function Ce(){_e(E),Ie(Ve,C),ze(L),Ie(Fe,q)}async function Xe(e,n,t,r){return Y({type:"goto",url:Ge(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:r,accept:()=>{n.invalidateAll&&(ve=!0)}})}async function Kt(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:Qe({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=ae.find(t=>t.exec(et(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function Ze(e,n,t){var o;_=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),I=e.props.page,be=new F.root({target:n,props:{...e.props,stores:T,components:Z},hydrate:t}),Je(L);const a={from:null,to:{params:_.params,route:{id:((o=_.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};O.forEach(s=>s(a)),Q=!0}function te({url:e,params:n,branch:t,status:r,error:a,route:o,form:s}){let i="never";if(U&&(e.pathname===U||e.pathname===U+"/"))i="always";else for(const u of t)(u==null?void 0:u.slash)!==void 0&&(i=u.slash);e.pathname=ct(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:a,route:o},props:{constructors:Ft(t).map(u=>u.node.component),page:I}};s!==void 0&&(c.props.form=s);let f={},d=!I,h=0;for(let u=0;u(i&&(c.route=!0),l[y])}),params:new Proxy(r,{get:(l,y)=>(i&&c.params.add(y),l[y])}),data:(o==null?void 0:o.data)??null,url:dt(t,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,y){let b;l instanceof Request?(b=l.url,y={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...y}):b=l;const S=new URL(b,t);return i&&u(S.href),S.origin===t.origin&&(b=S.href.slice(t.origin.length)),Q?wt(b,S.href,y):_t(b,y)},setHeaders:()=>{},depends:u,parent(){return i&&(c.parent=!0),n()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,m)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:s,uses:c}:null,data:s??(o==null?void 0:o.data)??null,slash:((g=f.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Ne(e,n,t,r,a,o){if(ve)return!0;if(!a)return!1;if(a.parent&&e||a.route&&n||a.url&&t)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(o[s]!==_.params[s])return!0;for(const s of a.dependencies)if(Ke.some(i=>i(new URL(s))))return!0;return!1}function ke(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function Yt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const r of t){const a=e.searchParams.getAll(r),o=n.searchParams.getAll(r);a.every(s=>o.includes(s))&&o.every(s=>a.includes(s))&&t.delete(r)}return t}function Oe({error:e,url:n,route:t,params:r}){return{type:"loaded",state:{error:e,url:n,route:t,params:r,branch:[]},props:{page:I,constructors:[]}}}async function Qe({id:e,invalidating:n,url:t,params:r,route:a,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:s,layouts:i,leaf:c}=a,f=[...i,c];s.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let d=null;const h=_.url?e!==_.url.pathname+_.url.search:!1,g=_.route?a.id!==_.route.id:!1,u=Yt(_.url,t);let m=!1;const l=f.map((p,v)=>{var x;const A=_.branch[v],k=!!(p!=null&&p[0])&&((A==null?void 0:A.loader)!==p[1]||Ne(m,g,h,u,(x=A.server)==null?void 0:x.uses,r));return k&&(m=!0),k});if(l.some(Boolean)){try{d=await rt(t,l)}catch(p){const v=await D(p,{url:t,params:r,route:{id:e}});return G.has(o)?Oe({error:v,url:t,params:r,route:a}):oe({status:J(p),error:v,url:t,route:a})}if(d.type==="redirect")return d}const y=d==null?void 0:d.nodes;let b=!1;const S=f.map(async(p,v)=>{var ie;if(!p)return;const A=_.branch[v],k=y==null?void 0:y[v];if((!k||k.type==="skip")&&p[1]===(A==null?void 0:A.loader)&&!Ne(b,g,h,u,(ie=A.universal)==null?void 0:ie.uses,r))return A;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ae({loader:p[1],url:t,params:r,route:a,parent:async()=>{var Re;const Se={};for(let se=0;se{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:t,params:a,branch:[i,c],status:e,error:n,route:null})}function Ee(e,n){if(!e||re(e,U))return;let t;try{t=F.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=et(t);for(const a of ae){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:n,route:a,params:ft(o),url:e}}}function et(e){return lt(e.slice(U.length)||"/")}function tt({url:e,type:n,intent:t,delta:r}){let a=!1;const o=ot(_,t,e,n);r!==void 0&&(o.navigation.delta=r);const s={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return H||Ye.forEach(i=>i(s)),a?null:o}async function Y({type:e,url:n,popped:t,keepfocus:r,noscroll:a,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Te,block:d=Te}){const h=Ee(n,!1),g=tt({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){d();return}const u=E,m=L;f(),H=!0,Q&&T.navigating.set(g.navigation),ee=c;let l=h&&await Qe(h);if(!l){if(re(n,U))return await $(n);l=await nt(n,{id:null},await D(new ge(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return g.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(i>=20)l=await oe({status:500,error:await D(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Xe(new URL(l.location,n).href,{},i+1,c),!1;else l.props.page.status>=400&&await T.updated.check()&&await $(n);if(Ht(),_e(u),ze(m),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),s=t?t.state:s,!t){const w=o?0:1,p={[j]:E+=w,[M]:L+=w,[Be]:s};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Mt(E,L)}if(R=null,l.props.page.state=s,Q){_=l.state,l.props.page&&(l.props.page.url=n);const w=(await Promise.all(qt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){O=O.filter(v=>!w.includes(v))};w.push(p),O.push(...w)}be.$set(l.props),We=!0}else Ze(l,he,!1);const{activeElement:y}=document;await it();const b=t?t.scroll:a?ye():null;if(xe){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):w?w.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==y&&document.activeElement!==document.body;!r&&!S&&Qt(),xe=!0,l.props.page&&(I=l.props.page),H=!1,e==="popstate"&&Je(L),g.fulfil(void 0),O.forEach(w=>w(g.navigation)),T.navigating.set(null)}async function nt(e,n,t,r){return e.origin===K&&e.pathname===location.pathname&&!we?await oe({status:r,error:t,url:e,route:n}):await $(e)}function zt(){let e;P.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{r(s,2)},20)});function n(o){r(o.composedPath()[0],1)}P.addEventListener("mousedown",n),P.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(fe(s.target.href),t.unobserve(s.target))},{threshold:0});function r(o,s){const i=qe(o,P);if(!i)return;const{url:c,external:f,download:d}=ue(i,U);if(f||d)return;const h=z(i);if(!h.reload)if(s<=h.preload_data){const g=Ee(c,!1);g&&Kt(g)}else s<=h.preload_code&&fe(c.pathname)}function a(){t.disconnect();for(const o of P.querySelectorAll("a")){const{url:s,external:i,download:c}=ue(o,U);if(i||c)continue;const f=z(o);f.reload||(f.preload_code===W.viewport&&t.observe(o),f.preload_code===W.eager&&fe(s.pathname))}}O.push(a),a()}function D(e,n){if(e instanceof ne)return e.body;const t=J(e),r=Gt(e);return F.hooks.handleError({error:e,event:n,status:t,message:r})??{message:r}}function Jt(e,n={}){return e=Ge(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):Xe(e,n,0)}function Xt(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ce(),!H){const a=ot(_,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Ye.forEach(s=>s(o))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ce()}),(n=navigator.connection)!=null&&n.saveData||zt(),P.addEventListener("click",async t=>{var g;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=qe(t.composedPath()[0],P);if(!r)return;const{url:a,external:o,target:s,download:i}=ue(r,U);if(!a)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=z(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;if(o||c.reload){tt({url:a,type:"link"})?H=!0:t.preventDefault();return}const[d,h]=a.href.split("#");if(h!==void 0&&d===ce(location)){const[,u]=_.url.href.split("#");if(u===h){t.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=r.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(V=!0,_e(E),e(a),!c.replace_state)return;V=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),Y({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),P.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(re(s,U))return;const i=t.target,c=z(i);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(i),d=a==null?void 0:a.getAttribute("name");d&&f.append(d,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(f).toString(),Y({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href})}),addEventListener("popstate",async t=>{var r;if((r=t.state)!=null&&r[j]){const a=t.state[j];if(ee={},a===E)return;const o=C[a],s=t.state[Be]??{},i=new URL(t.state[It]??location.href),c=t.state[M],f=ce(location)===ce(_.url);if(c===L&&(We||f)){e(i),C[E]=ye(),o&&scrollTo(o.x,o.y),s!==I.state&&(I={...I,state:s},be.$set({page:I})),E=a;return}const h=a-E;await Y({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{E=a,L=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!V){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[j]:++E,[M]:L},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&T.navigating.set(null)});function e(t){_.url=t,T.page.set({...I,url:t}),T.page.notify()}}async function Zt(e,{status:n=200,error:t,node_ids:r,params:a,route:o,data:s,form:i}){we=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Ee(c,!1)||{});let f;try{const d=r.map(async(u,m)=>{const l=s[m];return l!=null&&l.uses&&(l.uses=at(l.uses)),Ae({loader:F.nodes[u],url:c,params:a,route:o,parent:async()=>{const y={};for(let b=0;bu===o.id);if(g){const u=g.layouts;for(let m=0;mo?"1":"0").join(""));const r=await De(t.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new ne(r.status,o)}return new Promise(async o=>{var h;const s=new Map,i=r.body.getReader(),c=new TextDecoder;function f(g){return Dt(g,{Promise:u=>new Promise((m,l)=>{s.set(u,{fulfil:m,reject:l})})})}let d="";for(;;){const{done:g,value:u}=await i.read();if(g&&!d)break;for(d+=!u&&d?` +import{M as it}from"./scheduler.6x_t8-M_.js";import{w as pe}from"./index.DPdU9_CZ.js";import{a as st,H as ne,S as ge,R as je,b as U}from"./control.xy6l2DY8.js";new URL("sveltekit-internal://");function ct(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function lt(e){return e.split("%25").map(decodeURI).join("%25")}function ft(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ut=["href","pathname","search","toString","toJSON"];function dt(e,n,t){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return i=>(t(i),a[o](i));n();const s=Reflect.get(a,o);return typeof s=="function"?s.bind(a):s}}),enumerable:!0,configurable:!0});for(const a of ut)Object.defineProperty(r,a,{get(){return n(),e[a]},enumerable:!0,configurable:!0});return r}const ht="/__data.json",pt=".html__data.json";function gt(e){return e.endsWith(".html")?e.replace(/\.html$/,pt):e.replace(/\/$/,"")+ht}function mt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let r=t.length;for(;r;)n=n*33^t.charCodeAt(--r)}else if(ArrayBuffer.isView(t)){const r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let a=r.length;for(;a;)n=n*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function yt(e){const n=atob(e),t=new Uint8Array(n.length);for(let r=0;r((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&B.delete(me(e)),De(e,n));const B=new Map;function _t(e,n){const t=me(e,n),r=document.querySelector(t);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const s=r.getAttribute("data-ttl");return s&&B.set(t,{body:a,init:o,ttl:1e3*Number(s)}),r.getAttribute("data-b64")!==null&&(a=yt(a)),Promise.resolve(new Response(a,o))}return window.fetch(e,n)}function wt(e,n,t){if(B.size>0){const r=me(e,t),a=B.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return n.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return le(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return le(String.fromCharCode(...c.slice(2).split("-").map(l=>parseInt(l,16))));const d=bt.exec(c),[,h,g,u,m]=d;return n.push({name:u,matcher:m,optional:!!h,rest:!!g,chained:g?f===1&&s[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function At(e){return!/^\([^)]+\)$/.test(e)}function kt(e){return e.slice(1).split("/").filter(At)}function Et(e,n,t){const r={},a=e.slice(1),o=a.filter(i=>i!==void 0);let s=0;for(let i=0;id).join("/"),s=0),f===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){r[c.name]=f;const d=n[i+1],h=a[i+1];d&&!d.rest&&d.optional&&h&&c.chained&&(s=0),!d&&!h&&Object.keys(r).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function le(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function St({nodes:e,server_loads:n,dictionary:t,matchers:r}){const a=new Set(n);return Object.entries(t).map(([i,[c,f,d]])=>{const{pattern:h,params:g}=vt(i),u={id:i,exec:m=>{const l=h.exec(m);if(l)return Et(l,g,r)},errors:[1,...d||[]].map(m=>e[m]),layouts:[0,...f||[]].map(s),leaf:o(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[a.has(i),e[i]]}}function $e(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const r=t(n);try{sessionStorage[e]=r}catch{}}const Rt="1736568877083",Fe="sveltekit:snapshot",Ve="sveltekit:scroll",Be="sveltekit:states",It="sveltekit:pageurl",j="sveltekit:history",M="sveltekit:navigation",W={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Ge(e){if(e instanceof URL)return e;let n=document.baseURI;if(!n){const t=document.getElementsByTagName("base");n=t.length?t[0].href:document.URL}return new URL(e,n)}function ye(){return{x:pageXOffset,y:pageYOffset}}function N(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...W,"":W.hover};function Me(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function qe(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Me(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,a=!t||!!r||re(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:a,target:r,download:o}}function z(e){let n=null,t=null,r=null,a=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)r===null&&(r=N(i,"preload-code")),a===null&&(a=N(i,"preload-data")),n===null&&(n=N(i,"keepfocus")),t===null&&(t=N(i,"noscroll")),o===null&&(o=N(i,"reload")),s===null&&(s=N(i,"replacestate")),i=Me(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[r??"off"],preload_data:Le[a??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(s)}}function Ue(e){const n=pe(e);let t=!0;function r(){t=!0,n.update(s=>s)}function a(s){t=!1,n.set(s)}function o(s){let i;return n.subscribe(c=>{(i===void 0||t&&c!==i)&&s(i=c)})}return{notify:r,set:a,subscribe:o}}function Lt(){const{set:e,subscribe:n}=pe(!1);let t;async function r(){clearTimeout(t);try{const a=await fetch(`${st}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==Rt;return s&&(e(!0),clearTimeout(t)),s}catch{return!1}}return{subscribe:n,check:r}}function re(e,n){return e.origin!==K||!e.pathname.startsWith(n)}function Pe(e){const n=Pt(e),t=new ArrayBuffer(n.length),r=new DataView(t);for(let a=0;a>16),n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255),t=r=0);return r===12?(t>>=4,n+=String.fromCharCode(t)):r===18&&(t>>=2,n+=String.fromCharCode((t&65280)>>8),n+=String.fromCharCode(t&255)),n}const Tt=-1,xt=-2,Ct=-3,Nt=-4,Ot=-5,jt=-6;function Dt(e,n){if(typeof e=="number")return a(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,r=Array(t.length);function a(o,s=!1){if(o===Tt)return;if(o===Ct)return NaN;if(o===Nt)return 1/0;if(o===Ot)return-1/0;if(o===jt)return-0;if(s)throw new Error("Invalid input");if(o in r)return r[o];const i=t[o];if(!i||typeof i!="object")r[o]=i;else if(Array.isArray(i))if(typeof i[0]=="string"){const c=i[0],f=n==null?void 0:n[c];if(f)return r[o]=f(a(i[1]));switch(c){case"Date":r[o]=new Date(i[1]);break;case"Set":const d=new Set;r[o]=d;for(let u=1;un!=null)}const Vt="x-sveltekit-invalidated",Bt="x-sveltekit-trailing-slash";function J(e){return e instanceof ne||e instanceof ge?e.status:500}function Gt(e){return e instanceof ge?e.text:"Internal Error"}const C=$e(Ve)??{},q=$e(Fe)??{},T={url:Ue({}),page:Ue({}),navigating:pe(null),updated:Lt()};function _e(e){C[e]=ye()}function Mt(e,n){let t=e+1;for(;C[t];)delete C[t],t+=1;for(t=n+1;q[t];)delete q[t],t+=1}function $(e){return location.href=e.href,new Promise(()=>{})}function Te(){}let ae,de,X,P,he,F;const Ke=[],Z=[];let R=null;const Ye=[],qt=[];let O=[],_={branch:[],error:null,url:null},we=!1,Q=!1,xe=!0,H=!1,V=!1,We=!1,be=!1,ve,E,L,I,ee;const G=new Set;async function rn(e,n,t){var a,o;document.URL!==location.href&&(location.href=location.href),F=e,ae=St(e),P=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),E=(a=history.state)==null?void 0:a[j],L=(o=history.state)==null?void 0:o[M],E||(E=L=Date.now(),history.replaceState({...history.state,[j]:E,[M]:L},""));const r=C[E];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),t?await Zt(he,t):Jt(location.href,{replaceState:!0}),Xt()}function Ht(){Ke.length=0,be=!1}function ze(e){Z.some(n=>n==null?void 0:n.snapshot)&&(q[e]=Z.map(n=>{var t;return(t=n==null?void 0:n.snapshot)==null?void 0:t.capture()}))}function Je(e){var n;(n=q[e])==null||n.forEach((t,r)=>{var a,o;(o=(a=Z[r])==null?void 0:a.snapshot)==null||o.restore(t)})}function Ce(){_e(E),Ie(Ve,C),ze(L),Ie(Fe,q)}async function Xe(e,n,t,r){return Y({type:"goto",url:Ge(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:r,accept:()=>{n.invalidateAll&&(be=!0)}})}async function Kt(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:Qe({...e,preload:n}).then(t=>(G.delete(n),t.type==="loaded"&&t.state.error&&(R=null),t))}}return R.promise}async function fe(e){const n=ae.find(t=>t.exec(et(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function Ze(e,n,t){var o;_=e.state;const r=document.querySelector("style[data-sveltekit]");r&&r.remove(),I=e.props.page,ve=new F.root({target:n,props:{...e.props,stores:T,components:Z},hydrate:t}),Je(L);const a={from:null,to:{params:_.params,route:{id:((o=_.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};O.forEach(s=>s(a)),Q=!0}function te({url:e,params:n,branch:t,status:r,error:a,route:o,form:s}){let i="never";if(U&&(e.pathname===U||e.pathname===U+"/"))i="always";else for(const u of t)(u==null?void 0:u.slash)!==void 0&&(i=u.slash);e.pathname=ct(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:a,route:o},props:{constructors:Ft(t).map(u=>u.node.component),page:I}};s!==void 0&&(c.props.form=s);let f={},d=!I,h=0;for(let u=0;u(i&&(c.route=!0),l[y])}),params:new Proxy(r,{get:(l,y)=>(i&&c.params.add(y),l[y])}),data:(o==null?void 0:o.data)??null,url:dt(t,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,y){let v;l instanceof Request?(v=l.url,y={body:l.method==="GET"||l.method==="HEAD"?void 0:await l.blob(),cache:l.cache,credentials:l.credentials,headers:l.headers,integrity:l.integrity,keepalive:l.keepalive,method:l.method,mode:l.mode,redirect:l.redirect,referrer:l.referrer,referrerPolicy:l.referrerPolicy,signal:l.signal,...y}):v=l;const S=new URL(v,t);return i&&u(S.href),S.origin===t.origin&&(v=S.href.slice(t.origin.length)),Q?wt(v,S.href,y):_t(v,y)},setHeaders:()=>{},depends:u,parent(){return i&&(c.parent=!0),n()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,m)??null}return{node:f,loader:e,server:o,universal:(h=f.universal)!=null&&h.load?{type:"data",data:s,uses:c}:null,data:s??(o==null?void 0:o.data)??null,slash:((g=f.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Ne(e,n,t,r,a,o){if(be)return!0;if(!a)return!1;if(a.parent&&e||a.route&&n||a.url&&t)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(o[s]!==_.params[s])return!0;for(const s of a.dependencies)if(Ke.some(i=>i(new URL(s))))return!0;return!1}function ke(e,n){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?n??null:null}function Yt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const r of t){const a=e.searchParams.getAll(r),o=n.searchParams.getAll(r);a.every(s=>o.includes(s))&&o.every(s=>a.includes(s))&&t.delete(r)}return t}function Oe({error:e,url:n,route:t,params:r}){return{type:"loaded",state:{error:e,url:n,route:t,params:r,branch:[]},props:{page:I,constructors:[]}}}async function Qe({id:e,invalidating:n,url:t,params:r,route:a,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:s,layouts:i,leaf:c}=a,f=[...i,c];s.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let d=null;const h=_.url?e!==_.url.pathname+_.url.search:!1,g=_.route?a.id!==_.route.id:!1,u=Yt(_.url,t);let m=!1;const l=f.map((p,b)=>{var x;const A=_.branch[b],k=!!(p!=null&&p[0])&&((A==null?void 0:A.loader)!==p[1]||Ne(m,g,h,u,(x=A.server)==null?void 0:x.uses,r));return k&&(m=!0),k});if(l.some(Boolean)){try{d=await rt(t,l)}catch(p){const b=await D(p,{url:t,params:r,route:{id:e}});return G.has(o)?Oe({error:b,url:t,params:r,route:a}):oe({status:J(p),error:b,url:t,route:a})}if(d.type==="redirect")return d}const y=d==null?void 0:d.nodes;let v=!1;const S=f.map(async(p,b)=>{var ie;if(!p)return;const A=_.branch[b],k=y==null?void 0:y[b];if((!k||k.type==="skip")&&p[1]===(A==null?void 0:A.loader)&&!Ne(v,g,h,u,(ie=A.universal)==null?void 0:ie.uses,r))return A;if(v=!0,(k==null?void 0:k.type)==="error")throw k;return Ae({loader:p[1],url:t,params:r,route:a,parent:async()=>{var Re;const Se={};for(let se=0;se{});const w=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return te({url:t,params:a,branch:[i,c],status:e,error:n,route:null})}function Ee(e,n){if(!e||re(e,U))return;let t;try{t=F.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const r=et(t);for(const a of ae){const o=a.exec(r);if(o)return{id:e.pathname+e.search,invalidating:n,route:a,params:ft(o),url:e}}}function et(e){return lt(e.slice(U.length)||"/")}function tt({url:e,type:n,intent:t,delta:r}){let a=!1;const o=ot(_,t,e,n);r!==void 0&&(o.navigation.delta=r);const s={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return H||Ye.forEach(i=>i(s)),a?null:o}async function Y({type:e,url:n,popped:t,keepfocus:r,noscroll:a,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Te,block:d=Te}){const h=Ee(n,!1),g=tt({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){d();return}const u=E,m=L;f(),H=!0,Q&&T.navigating.set(g.navigation),ee=c;let l=h&&await Qe(h);if(!l){if(re(n,U))return await $(n);l=await nt(n,{id:null},await D(new ge(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,ee!==c)return g.reject(new Error("navigation aborted")),!1;if(l.type==="redirect")if(i>=20)l=await oe({status:500,error:await D(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Xe(new URL(l.location,n).href,{},i+1,c),!1;else l.props.page.status>=400&&await T.updated.check()&&await $(n);if(Ht(),_e(u),ze(m),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),s=t?t.state:s,!t){const w=o?0:1,p={[j]:E+=w,[M]:L+=w,[Be]:s};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Mt(E,L)}if(R=null,l.props.page.state=s,Q){_=l.state,l.props.page&&(l.props.page.url=n);const w=(await Promise.all(qt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(w.length>0){let p=function(){O=O.filter(b=>!w.includes(b))};w.push(p),O.push(...w)}ve.$set(l.props),We=!0}else Ze(l,he,!1);const{activeElement:y}=document;await it();const v=t?t.scroll:a?ye():null;if(xe){const w=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));v?scrollTo(v.x,v.y):w?w.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==y&&document.activeElement!==document.body;!r&&!S&&Qt(),xe=!0,l.props.page&&(I=l.props.page),H=!1,e==="popstate"&&Je(L),g.fulfil(void 0),O.forEach(w=>w(g.navigation)),T.navigating.set(null)}async function nt(e,n,t,r){return e.origin===K&&e.pathname===location.pathname&&!we?await oe({status:r,error:t,url:e,route:n}):await $(e)}function zt(){let e;P.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{r(s,2)},20)});function n(o){r(o.composedPath()[0],1)}P.addEventListener("mousedown",n),P.addEventListener("touchstart",n,{passive:!0});const t=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(fe(s.target.href),t.unobserve(s.target))},{threshold:0});function r(o,s){const i=qe(o,P);if(!i)return;const{url:c,external:f,download:d}=ue(i,U);if(f||d)return;const h=z(i);if(!h.reload)if(s<=h.preload_data){const g=Ee(c,!1);g&&Kt(g)}else s<=h.preload_code&&fe(c.pathname)}function a(){t.disconnect();for(const o of P.querySelectorAll("a")){const{url:s,external:i,download:c}=ue(o,U);if(i||c)continue;const f=z(o);f.reload||(f.preload_code===W.viewport&&t.observe(o),f.preload_code===W.eager&&fe(s.pathname))}}O.push(a),a()}function D(e,n){if(e instanceof ne)return e.body;const t=J(e),r=Gt(e);return F.hooks.handleError({error:e,event:n,status:t,message:r})??{message:r}}function Jt(e,n={}){return e=Ge(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):Xe(e,n,0)}function Xt(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ce(),!H){const a=ot(_,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Ye.forEach(s=>s(o))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ce()}),(n=navigator.connection)!=null&&n.saveData||zt(),P.addEventListener("click",async t=>{var g;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=qe(t.composedPath()[0],P);if(!r)return;const{url:a,external:o,target:s,download:i}=ue(r,U);if(!a)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=z(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||i)return;if(o||c.reload){tt({url:a,type:"link"})?H=!0:t.preventDefault();return}const[d,h]=a.href.split("#");if(h!==void 0&&d===ce(location)){const[,u]=_.url.href.split("#");if(u===h){t.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=r.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(V=!0,_e(E),e(a),!c.replace_state)return;V=!1}t.preventDefault(),await new Promise(u=>{requestAnimationFrame(()=>{setTimeout(u,0)}),setTimeout(u,100)}),Y({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),P.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const s=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(re(s,U))return;const i=t.target,c=z(i);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(i),d=a==null?void 0:a.getAttribute("name");d&&f.append(d,(a==null?void 0:a.getAttribute("value"))??""),s.search=new URLSearchParams(f).toString(),Y({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href})}),addEventListener("popstate",async t=>{var r;if((r=t.state)!=null&&r[j]){const a=t.state[j];if(ee={},a===E)return;const o=C[a],s=t.state[Be]??{},i=new URL(t.state[It]??location.href),c=t.state[M],f=ce(location)===ce(_.url);if(c===L&&(We||f)){e(i),C[E]=ye(),o&&scrollTo(o.x,o.y),s!==I.state&&(I={...I,state:s},ve.$set({page:I})),E=a;return}const h=a-E;await Y({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{E=a,L=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!V){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[j]:++E,[M]:L},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&T.navigating.set(null)});function e(t){_.url=t,T.page.set({...I,url:t}),T.page.notify()}}async function Zt(e,{status:n=200,error:t,node_ids:r,params:a,route:o,data:s,form:i}){we=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=Ee(c,!1)||{});let f;try{const d=r.map(async(u,m)=>{const l=s[m];return l!=null&&l.uses&&(l.uses=at(l.uses)),Ae({loader:F.nodes[u],url:c,params:a,route:o,parent:async()=>{const y={};for(let v=0;vu===o.id);if(g){const u=g.layouts;for(let m=0;mo?"1":"0").join(""));const r=await De(t.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new ne(r.status,o)}return new Promise(async o=>{var h;const s=new Map,i=r.body.getReader(),c=new TextDecoder;function f(g){return Dt(g,{Promise:u=>new Promise((m,l)=>{s.set(u,{fulfil:m,reject:l})})})}let d="";for(;;){const{done:g,value:u}=await i.read();if(g&&!d)break;for(d+=!u&&d?` `:c.decode(u,{stream:!0});;){const m=d.indexOf(` -`);if(m===-1)break;const l=JSON.parse(d.slice(0,m));if(d=d.slice(m+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(y=>{(y==null?void 0:y.type)==="data"&&(y.uses=at(y.uses),y.data=f(y.data))}),o(l);else if(l.type==="chunk"){const{id:y,data:b,error:S}=l,w=s.get(y);s.delete(y),S?w.reject(f(S)):w.fulfil(f(b))}}}})}function at(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function Qt(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):n.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o{if(r.rangeCount===a.length){for(let o=0;o{a=d,o=h});return s.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:t&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:t},willUnload:!n,type:r,complete:s},fulfil:a,reject:o}}export{rn as a,T as s}; +`);if(m===-1)break;const l=JSON.parse(d.slice(0,m));if(d=d.slice(m+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(y=>{(y==null?void 0:y.type)==="data"&&(y.uses=at(y.uses),y.data=f(y.data))}),o(l);else if(l.type==="chunk"){const{id:y,data:v,error:S}=l,w=s.get(y);s.delete(y),S?w.reject(f(S)):w.fulfil(f(v))}}}})}function at(e){return{dependencies:new Set((e==null?void 0:e.dependencies)??[]),params:new Set((e==null?void 0:e.params)??[]),parent:!!(e!=null&&e.parent),route:!!(e!=null&&e.route),url:!!(e!=null&&e.url),search_params:new Set((e==null?void 0:e.search_params)??[])}}function Qt(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const n=document.body,t=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),t!==null?n.setAttribute("tabindex",t):n.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o{if(r.rangeCount===a.length){for(let o=0;o{a=d,o=h});return s.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:((c=e.route)==null?void 0:c.id)??null},url:e.url},to:t&&{params:(n==null?void 0:n.params)??null,route:{id:((f=n==null?void 0:n.route)==null?void 0:f.id)??null},url:t},willUnload:!n,type:r,complete:s},fulfil:a,reject:o}}export{rn as a,T as s}; diff --git a/public/docs/_app/immutable/chunks/index.DALO_3yS.js b/public/docs/_app/immutable/chunks/index.DALO_3yS.js deleted file mode 100644 index 71df992..0000000 --- a/public/docs/_app/immutable/chunks/index.DALO_3yS.js +++ /dev/null @@ -1 +0,0 @@ -import{R as e,H as o}from"./control.r7Ha6DXD.js";function i(r,t){throw new o(r,t)}function c(r,t){throw new e(r,t.toString())}new TextEncoder;export{i as e,c as r}; diff --git a/public/docs/_app/immutable/chunks/index.C97nKj6a.js b/public/docs/_app/immutable/chunks/index.DNIXW-5M.js similarity index 59% rename from public/docs/_app/immutable/chunks/index.C97nKj6a.js rename to public/docs/_app/immutable/chunks/index.DNIXW-5M.js index e35a070..f5af7d1 100644 --- a/public/docs/_app/immutable/chunks/index.C97nKj6a.js +++ b/public/docs/_app/immutable/chunks/index.DNIXW-5M.js @@ -1,4 +1,4 @@ -var L=Object.defineProperty;var Q=(t,e,n)=>e in t?L(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var M=(t,e,n)=>Q(t,typeof e!="symbol"?e+"":e,n);import{n as x,d as k,N as T,O as W,r as v,i as z,P as X,Q as j,R as Y,S as Z,T as q,U as G,V as I,k as H,W as J,X as U,Y as K,Z as tt,_ as et,$ as nt,a0 as st}from"./scheduler.BCDW5bg-.js";const B=typeof window<"u";let it=B?()=>window.performance.now():()=>Date.now(),A=B?t=>requestAnimationFrame(t):x;const y=new Set;function D(t){y.forEach(e=>{e.c(t)||(y.delete(e),e.f())}),y.size!==0&&A(D)}function rt(t){let e;return y.size===0&&A(D),{promise:new Promise(n=>{y.add(e={c:t,f:n})}),abort(){y.delete(e)}}}const E=new Map;let O=0;function at(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function ot(t,e){const n={stylesheet:W(e),rules:{}};return E.set(t,n),n}function V(t,e,n,s,c,f,l,i=0){const u=16.666/s;let r=`{ -`;for(let d=0;d<=1;d+=u){const g=e+(n-e)*f(d);r+=d*100+`%{${l(g,1-g)}} +var Q=Object.defineProperty;var T=(t,e,n)=>e in t?Q(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var M=(t,e,n)=>T(t,typeof e!="symbol"?e+"":e,n);import{n as x,N as W,O as X,d as B,r as v,i as z,P as j,Q as Y,R as Z,S as I,g as k,T as q,U as G,V as H,W as J,X as U,Y as K,Z as tt,_ as et,$ as nt,a0 as st}from"./scheduler.6x_t8-M_.js";const D=typeof window<"u";let it=D?()=>window.performance.now():()=>Date.now(),A=D?t=>requestAnimationFrame(t):x;const y=new Set;function F(t){y.forEach(e=>{e.c(t)||(y.delete(e),e.f())}),y.size!==0&&A(F)}function rt(t){let e;return y.size===0&&A(F),{promise:new Promise(n=>{y.add(e={c:t,f:n})}),abort(){y.delete(e)}}}const E=new Map;let O=0;function at(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function ot(t,e){const n={stylesheet:X(e),rules:{}};return E.set(t,n),n}function V(t,e,n,s,c,f,l,i=0){const u=16.666/s;let r=`{ +`;for(let d=0;d<=1;d+=u){const p=e+(n-e)*f(d);r+=d*100+`%{${l(p,1-p)}} `}const $=r+`100% {${l(n,1-n)}} -}`,o=`__svelte_${at($)}_${i}`,m=T(t),{stylesheet:p,rules:a}=E.get(m)||ot(m,t);a[o]||(a[o]=!0,p.insertRule(`@keyframes ${o} ${$}`,p.cssRules.length));const _=t.style.animation||"";return t.style.animation=`${_?`${_}, `:""}${o} ${s}ms linear ${c}ms 1 both`,O+=1,o}function ft(t,e){const n=(t.style.animation||"").split(", "),s=n.filter(e?f=>f.indexOf(e)<0:f=>f.indexOf("__svelte")===-1),c=n.length-s.length;c&&(t.style.animation=s.join(", "),O-=c,O||ut())}function ut(){A(()=>{O||(E.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&k(e)}),E.clear())})}let w;function lt(){return w||(w=Promise.resolve(),w.then(()=>{w=null})),w}function N(t,e,n){t.dispatchEvent(Y(`${e?"intro":"outro"}${n}`))}const S=new Set;let h;function yt(){h={r:0,c:[],p:h}}function wt(){h.r||v(h.c),h=h.p}function ct(t,e){t&&t.i&&(S.delete(t),t.i(e))}function xt(t,e,n,s){if(t&&t.o){if(S.has(t))return;S.add(t),h.c.push(()=>{S.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}else s&&s()}const dt={duration:0};function vt(t,e,n,s){let f=e(t,n,{direction:"both"}),l=s?0:1,i=null,u=null,r=null,$;function o(){r&&ft(t,r)}function m(a,_){const d=a.b-l;return _*=Math.abs(d),{a:l,b:a.b,d,duration:_,start:a.start,end:a.start+_,group:a.group}}function p(a){const{delay:_=0,duration:d=300,easing:g=X,tick:P=x,css:R}=f||dt,C={start:it()+_,b:a};a||(C.group=h,h.r+=1),"inert"in t&&(a?$!==void 0&&(t.inert=$):($=t.inert,t.inert=!0)),i||u?u=C:(R&&(o(),r=V(t,l,a,d,_,g,R)),a&&P(0,1),i=m(C,d),j(()=>N(t,a,"start")),rt(b=>{if(u&&b>u.start&&(i=m(u,d),u=null,N(t,i.b,"start"),R&&(o(),r=V(t,l,i.b,i.duration,0,g,f.css))),i){if(b>=i.end)P(l=i.b,1-l),N(t,i.b,"end"),u||(i.b?o():--i.group.r||v(i.group.c)),i=null;else if(b>=i.start){const F=b-i.start;l=i.a+i.d*g(F/i.duration),P(l,1-l)}}return!!(i||u)}))}return{run(a){z(f)?lt().then(()=>{f=f({direction:a?"in":"out"}),p(a)}):p(a)},end(){o(),i=u=null}}}function bt(t,e,n){const s=t.$$.props[e];s!==void 0&&(t.$$.bound[s]=n,n(t.$$.ctx[s]))}function St(t){t&&t.c()}function Et(t,e){t&&t.l(e)}function _t(t,e,n){const{fragment:s,after_update:c}=t.$$;s&&s.m(e,n),j(()=>{const f=t.$$.on_mount.map(K).filter(z);t.$$.on_destroy?t.$$.on_destroy.push(...f):v(f),t.$$.on_mount=[]}),c.forEach(j)}function $t(t,e){const n=t.$$;n.fragment!==null&&(Z(n.after_update),v(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){t.$$.dirty[0]===-1&&(tt.push(t),et(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const a=p.length?p[0]:m;return r.ctx&&c(r.ctx[o],r.ctx[o]=a)&&(!r.skip_bound&&r.bound[o]&&r.bound[o](a),$&&ht(t,o)),m}):[],r.update(),$=!0,v(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){nt();const o=H(e.target);r.fragment&&r.fragment.l(o),o.forEach(k)}else r.fragment&&r.fragment.c();e.intro&&ct(t.$$.fragment),_t(t,e.target,e.anchor),st(),J()}U(u)}class Pt{constructor(){M(this,"$$");M(this,"$$set")}$destroy(){$t(this,1),this.$destroy=x}$on(e,n){if(!z(n))return x;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const c=s.indexOf(n);c!==-1&&s.splice(c,1)}}$set(e){this.$$set&&!q(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const mt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mt);export{Pt as S,ct as a,St as b,Et as c,$t as d,wt as e,bt as f,yt as g,vt as h,Ot as i,_t as m,xt as t}; +}`,o=`__svelte_${at($)}_${i}`,m=W(t),{stylesheet:g,rules:a}=E.get(m)||ot(m,t);a[o]||(a[o]=!0,g.insertRule(`@keyframes ${o} ${$}`,g.cssRules.length));const _=t.style.animation||"";return t.style.animation=`${_?`${_}, `:""}${o} ${s}ms linear ${c}ms 1 both`,O+=1,o}function ft(t,e){const n=(t.style.animation||"").split(", "),s=n.filter(e?f=>f.indexOf(e)<0:f=>f.indexOf("__svelte")===-1),c=n.length-s.length;c&&(t.style.animation=s.join(", "),O-=c,O||ut())}function ut(){A(()=>{O||(E.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&B(e)}),E.clear())})}let w;function lt(){return w||(w=Promise.resolve(),w.then(()=>{w=null})),w}function N(t,e,n){t.dispatchEvent(Y(`${e?"intro":"outro"}${n}`))}const S=new Set;let h;function yt(){h={r:0,c:[],p:h}}function wt(){h.r||v(h.c),h=h.p}function ct(t,e){t&&t.i&&(S.delete(t),t.i(e))}function xt(t,e,n,s){if(t&&t.o){if(S.has(t))return;S.add(t),h.c.push(()=>{S.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}else s&&s()}const dt={duration:0};function vt(t,e,n,s){let f=e(t,n,{direction:"both"}),l=s?0:1,i=null,u=null,r=null,$;function o(){r&&ft(t,r)}function m(a,_){const d=a.b-l;return _*=Math.abs(d),{a:l,b:a.b,d,duration:_,start:a.start,end:a.start+_,group:a.group}}function g(a){const{delay:_=0,duration:d=300,easing:p=Z,tick:P=x,css:R}=f||dt,C={start:it()+_,b:a};a||(C.group=h,h.r+=1),"inert"in t&&(a?$!==void 0&&(t.inert=$):($=t.inert,t.inert=!0)),i||u?u=C:(R&&(o(),r=V(t,l,a,d,_,p,R)),a&&P(0,1),i=m(C,d),j(()=>N(t,a,"start")),rt(b=>{if(u&&b>u.start&&(i=m(u,d),u=null,N(t,i.b,"start"),R&&(o(),r=V(t,l,i.b,i.duration,0,p,f.css))),i){if(b>=i.end)P(l=i.b,1-l),N(t,i.b,"end"),u||(i.b?o():--i.group.r||v(i.group.c)),i=null;else if(b>=i.start){const L=b-i.start;l=i.a+i.d*p(L/i.duration),P(l,1-l)}}return!!(i||u)}))}return{run(a){z(f)?lt().then(()=>{f=f({direction:a?"in":"out"}),g(a)}):g(a)},end(){o(),i=u=null}}}function bt(t,e,n){const s=t.$$.props[e];s!==void 0&&(t.$$.bound[s]=n,n(t.$$.ctx[s]))}function St(t){t&&t.c()}function Et(t,e){t&&t.l(e)}function _t(t,e,n){const{fragment:s,after_update:c}=t.$$;s&&s.m(e,n),j(()=>{const f=t.$$.on_mount.map(K).filter(z);t.$$.on_destroy?t.$$.on_destroy.push(...f):v(f),t.$$.on_mount=[]}),c.forEach(j)}function $t(t,e){const n=t.$$;n.fragment!==null&&(H(n.after_update),v(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function ht(t,e){t.$$.dirty[0]===-1&&(tt.push(t),et(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const a=g.length?g[0]:m;return r.ctx&&c(r.ctx[o],r.ctx[o]=a)&&(!r.skip_bound&&r.bound[o]&&r.bound[o](a),$&&ht(t,o)),m}):[],r.update(),$=!0,v(r.before_update),r.fragment=s?s(r.ctx):!1,e.target){if(e.hydrate){nt();const o=k(e.target);r.fragment&&r.fragment.l(o),o.forEach(B)}else r.fragment&&r.fragment.c();e.intro&&ct(t.$$.fragment),_t(t,e.target,e.anchor),st(),q()}U(u)}class Pt{constructor(){M(this,"$$");M(this,"$$set")}$destroy(){$t(this,1),this.$destroy=x}$on(e,n){if(!z(n))return x;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const c=s.indexOf(n);c!==-1&&s.splice(c,1)}}$set(e){this.$$set&&!G(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const mt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(mt);export{Pt as S,Et as a,xt as b,St as c,$t as d,wt as e,bt as f,yt as g,vt as h,Ot as i,_t as m,ct as t}; diff --git a/public/docs/_app/immutable/chunks/index.BN18egRc.js b/public/docs/_app/immutable/chunks/index.DPdU9_CZ.js similarity index 86% rename from public/docs/_app/immutable/chunks/index.BN18egRc.js rename to public/docs/_app/immutable/chunks/index.DPdU9_CZ.js index ff56b6f..743d326 100644 --- a/public/docs/_app/immutable/chunks/index.BN18egRc.js +++ b/public/docs/_app/immutable/chunks/index.DPdU9_CZ.js @@ -1 +1 @@ -import{s as w,n as f,a as m,r as q,i as x}from"./scheduler.BCDW5bg-.js";const a=[];function z(e,o){return{subscribe:A(e,o).subscribe}}function A(e,o=f){let r;const n=new Set;function u(t){if(w(e,t)&&(e=t,r)){const i=!a.length;for(const s of n)s[1](),a.push(s,e);if(i){for(let s=0;s{n.delete(s),n.size===0&&r&&(r(),r=null)}}return{set:u,update:l,subscribe:b}}function E(e,o,r){const n=!Array.isArray(e),u=n?[e]:e;if(!u.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=o.length<2;return z(r,(b,t)=>{let i=!1;const s=[];let d=0,p=f;const h=()=>{if(d)return;p();const c=o(n?s[0]:s,b,t);l?b(c):p=x(c)?c:f},y=u.map((c,g)=>m(c,_=>{s[g]=_,d&=~(1<{d|=1<{n.delete(s),n.size===0&&r&&(r(),r=null)}}return{set:u,update:l,subscribe:b}}function E(e,o,r){const n=!Array.isArray(e),u=n?[e]:e;if(!u.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const l=o.length<2;return z(r,(b,t)=>{let i=!1;const s=[];let d=0,p=f;const h=()=>{if(d)return;p();const c=o(n?s[0]:s,b,t);l?b(c):p=x(c)?c:f},y=u.map((c,g)=>m(c,_=>{s[g]=_,d&=~(1<{d|=1<{throw TypeError(r)};var I_=(r,t,n)=>t in r?N_(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n;var ye=(r,t,n)=>I_(r,typeof t!="symbol"?t+"":t,n),k_=(r,t,n)=>t.has(r)||Pc("Cannot "+n);var Mc=(r,t,n)=>t.has(r)?Pc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(r):t.set(r,n);var ai=(r,t,n)=>(k_(r,t,"access private method"),n);import{s as ke,F as Uc,d as J,n as Ke,b as Pu,c as ve,l as Mu,t as Uu,x as it,a2 as _i,B as Kt,q as Of,C as en,D as tn,E as nn,ae as ks,j as Ce,k as qe,o as xe,f as mt,e as Nn,g as Gu,m as Vu,ah as O_,ai as S_,ak as Gc,L as C_}from"./scheduler.BCDW5bg-.js";import{S as $e,i as Be,d as Qn,t as oe,a as ee,m as zn,c as mr,b as Hn,g as In,e as kn}from"./index.C97nKj6a.js";import{b as x_}from"./control.r7Ha6DXD.js";function ln(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}function Sf(r,t){const n={},o={},s={$$scope:1};let u=r.length;for(;u--;){const l=r[u],f=t[u];if(f){for(const p in l)p in f||(o[p]=1);for(const p in f)s[p]||(n[p]=f[p],s[p]=1);r[u]=f}else for(const p in l)s[p]=1}for(const l in o)l in n||(n[l]=void 0);return n}function LA(r){return typeof r=="object"&&r!==null?r:{}}function Vc(r){let t,n,o;var s=r[1][r[0].type];function u(l,f){return{props:{token:l[0],options:l[2],renderers:l[1],$$slots:{default:[$_]},$$scope:{ctx:l}}}}return s&&(t=Uc(s,u(r))),{c(){t&&Hn(t.$$.fragment),n=it()},l(l){t&&mr(t.$$.fragment,l),n=it()},m(l,f){t&&zn(t,l,f),ve(l,n,f),o=!0},p(l,f){if(f&3&&s!==(s=l[1][l[0].type])){if(t){In();const p=t;oe(p.$$.fragment,1,0,()=>{Qn(p,1)}),kn()}s?(t=Uc(s,u(l)),Hn(t.$$.fragment),ee(t.$$.fragment,1),zn(t,n.parentNode,n)):t=null}else if(s){const p={};f&1&&(p.token=l[0]),f&4&&(p.options=l[2]),f&2&&(p.renderers=l[1]),f&15&&(p.$$scope={dirty:f,ctx:l}),t.$set(p)}},i(l){o||(t&&ee(t.$$.fragment,l),o=!0)},o(l){t&&oe(t.$$.fragment,l),o=!1},d(l){l&&J(n),t&&Qn(t,l)}}}function L_(r){let t=r[0].raw+"",n;return{c(){n=Uu(t)},l(o){n=Mu(o,t)},m(o,s){ve(o,n,s)},p(o,s){s&1&&t!==(t=o[0].raw+"")&&Pu(n,t)},i:Ke,o:Ke,d(o){o&&J(n)}}}function R_(r){let t,n;return t=new Us({props:{tokens:r[0].tokens,renderers:r[1],options:r[2]}}),{c(){Hn(t.$$.fragment)},l(o){mr(t.$$.fragment,o)},m(o,s){zn(t,o,s),n=!0},p(o,s){const u={};s&1&&(u.tokens=o[0].tokens),s&2&&(u.renderers=o[1]),s&4&&(u.options=o[2]),t.$set(u)},i(o){n||(ee(t.$$.fragment,o),n=!0)},o(o){oe(t.$$.fragment,o),n=!1},d(o){Qn(t,o)}}}function $_(r){let t,n,o,s;const u=[R_,L_],l=[];function f(p,m){return"tokens"in p[0]&&p[0].tokens?0:1}return t=f(r),n=l[t]=u[t](r),{c(){n.c(),o=it()},l(p){n.l(p),o=it()},m(p,m){l[t].m(p,m),ve(p,o,m),s=!0},p(p,m){let E=t;t=f(p),t===E?l[t].p(p,m):(In(),oe(l[E],1,1,()=>{l[E]=null}),kn(),n=l[t],n?n.p(p,m):(n=l[t]=u[t](p),n.c()),ee(n,1),n.m(o.parentNode,o))},i(p){s||(ee(n),s=!0)},o(p){oe(n),s=!1},d(p){p&&J(o),l[t].d(p)}}}function B_(r){let t,n,o=r[1][r[0].type]&&Vc(r);return{c(){o&&o.c(),t=it()},l(s){o&&o.l(s),t=it()},m(s,u){o&&o.m(s,u),ve(s,t,u),n=!0},p(s,[u]){s[1][s[0].type]?o?(o.p(s,u),u&3&&ee(o,1)):(o=Vc(s),o.c(),ee(o,1),o.m(t.parentNode,t)):o&&(In(),oe(o,1,1,()=>{o=null}),kn())},i(s){n||(ee(o),n=!0)},o(s){oe(o),n=!1},d(s){s&&J(t),o&&o.d(s)}}}function P_(r,t,n){let{token:o}=t,{renderers:s}=t,{options:u}=t;return r.$$set=l=>{"token"in l&&n(0,o=l.token),"renderers"in l&&n(1,s=l.renderers),"options"in l&&n(2,u=l.options)},[o,s,u]}class Cf extends $e{constructor(t){super(),Be(this,t,P_,B_,ke,{token:0,renderers:1,options:2})}}function jc(r,t,n){const o=r.slice();return o[3]=t[n],o}function qc(r){let t,n,o=ln(r[0]),s=[];for(let l=0;loe(s[l],1,1,()=>{s[l]=null});return{c(){for(let l=0;l{o=null}),kn())},i(s){n||(ee(o),n=!0)},o(s){oe(o),n=!1},d(s){s&&J(t),o&&o.d(s)}}}function U_(r,t,n){let{tokens:o}=t,{renderers:s}=t,{options:u}=t;return r.$$set=l=>{"tokens"in l&&n(0,o=l.tokens),"renderers"in l&&n(1,s=l.renderers),"options"in l&&n(2,u=l.options)},[o,s,u]}class Us extends $e{constructor(t){super(),Be(this,t,U_,M_,ke,{tokens:0,renderers:1,options:2})}}function vi(...r){return`/${r.flatMap(t=>t.split("/")).filter(t=>!!t).join("/")}`}function Ti(r){return r.startsWith("/")||r.startsWith("#")}function xf(r,t){return t.slug(r).replace(/--+/g,"-")}function _u(r){let t,n;const o=r[5].default,s=Kt(o,r,r[4],null);let u=[{id:r[1]}],l={};for(let f=0;f{"token"in m&&n(0,u=m.token),"options"in m&&n(2,l=m.options),"$$scope"in m&&n(4,s=m.$$scope)},r.$$.update=()=>{r.$$.dirty&5&&n(1,p=xf(u.text,l.slugger))},[u,p,l,f,s,o]}class j_ extends $e{constructor(t){super(),Be(this,t,V_,G_,ke,{token:0,options:2,renderers:3})}get renderers(){return this.$$.ctx[3]}}function q_(r){let t,n;const o=r[4].default,s=Kt(o,r,r[3],null);return{c(){t=xe("blockquote"),s&&s.c()},l(u){t=Ce(u,"BLOCKQUOTE",{});var l=qe(t);s&&s.l(l),l.forEach(J)},m(u,l){ve(u,t,l),s&&s.m(t,null),n=!0},p(u,[l]){s&&s.p&&(!n||l&8)&&en(s,o,u,u[3],n?nn(o,u[3],l,null):tn(u[3]),null)},i(u){n||(ee(s,u),n=!0)},o(u){oe(s,u),n=!1},d(u){u&&J(t),s&&s.d(u)}}}function Y_(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class W_ extends $e{constructor(t){super(),Be(this,t,Y_,q_,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Wc(r,t,n){const o=r.slice();return o[4]=t[n],o}function Qc(r){let t,n;return t=new Cf({props:{token:{...r[4]},options:r[1],renderers:r[2]}}),{c(){Hn(t.$$.fragment)},l(o){mr(t.$$.fragment,o)},m(o,s){zn(t,o,s),n=!0},p(o,s){const u={};s&1&&(u.token={...o[4]}),s&2&&(u.options=o[1]),s&4&&(u.renderers=o[2]),t.$set(u)},i(o){n||(ee(t.$$.fragment,o),n=!0)},o(o){oe(t.$$.fragment,o),n=!1},d(o){Qn(t,o)}}}function vu(r){let t,n,o,s=ln(r[0].items),u=[];for(let m=0;moe(u[m],1,1,()=>{u[m]=null});let f=[{start:n=r[0].start||1}],p={};for(let m=0;m{"token"in f&&n(0,o=f.token),"options"in f&&n(1,s=f.options),"renderers"in f&&n(2,u=f.renderers)},r.$$.update=()=>{r.$$.dirty&1&&n(3,l=o.ordered?"ol":"ul")},[o,s,u,l]}class H_ extends $e{constructor(t){super(),Be(this,t,z_,Q_,ke,{token:0,options:1,renderers:2})}}function J_(r){let t,n;const o=r[4].default,s=Kt(o,r,r[3],null);return{c(){t=xe("li"),s&&s.c()},l(u){t=Ce(u,"LI",{});var l=qe(t);s&&s.l(l),l.forEach(J)},m(u,l){ve(u,t,l),s&&s.m(t,null),n=!0},p(u,[l]){s&&s.p&&(!n||l&8)&&en(s,o,u,u[3],n?nn(o,u[3],l,null):tn(u[3]),null)},i(u){n||(ee(s,u),n=!0)},o(u){oe(s,u),n=!1},d(u){u&&J(t),s&&s.d(u)}}}function X_(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class Z_ extends $e{constructor(t){super(),Be(this,t,X_,J_,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function K_(r){let t;return{c(){t=xe("br")},l(n){t=Ce(n,"BR",{})},m(n,o){ve(n,t,o)},p:Ke,i:Ke,o:Ke,d(n){n&&J(t)}}}function ev(r,t,n){return[void 0,void 0,void 0]}class tv extends $e{constructor(t){super(),Be(this,t,ev,K_,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function nv(r){let t,n,o=r[0].text+"",s,u;return{c(){t=xe("pre"),n=xe("code"),s=Uu(o),this.h()},l(l){t=Ce(l,"PRE",{});var f=qe(t);n=Ce(f,"CODE",{class:!0});var p=qe(n);s=Mu(p,o),p.forEach(J),f.forEach(J),this.h()},h(){mt(n,"class",u=`lang-${r[0].lang}`)},m(l,f){ve(l,t,f),Nn(t,n),Nn(n,s)},p(l,[f]){f&1&&o!==(o=l[0].text+"")&&Pu(s,o),f&1&&u!==(u=`lang-${l[0].lang}`)&&mt(n,"class",u)},i:Ke,o:Ke,d(l){l&&J(t)}}}function rv(r,t,n){let{token:o}=t;const s=void 0,u=void 0;return r.$$set=l=>{"token"in l&&n(0,o=l.token)},[o,s,u]}class iv extends $e{constructor(t){super(),Be(this,t,rv,nv,ke,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function sv(r){let t,n=r[0].raw.slice(1,r[0].raw.length-1)+"",o;return{c(){t=xe("code"),o=Uu(n)},l(s){t=Ce(s,"CODE",{});var u=qe(t);o=Mu(u,n),u.forEach(J)},m(s,u){ve(s,t,u),Nn(t,o)},p(s,[u]){u&1&&n!==(n=s[0].raw.slice(1,s[0].raw.length-1)+"")&&Pu(o,n)},i:Ke,o:Ke,d(s){s&&J(t)}}}function ov(r,t,n){let{token:o}=t;const s=void 0,u=void 0;return r.$$set=l=>{"token"in l&&n(0,o=l.token)},[o,s,u]}class uv extends $e{constructor(t){super(),Be(this,t,ov,sv,ke,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function zc(r,t,n){const o=r.slice();return o[3]=t[n],o}function Hc(r,t,n){const o=r.slice();return o[6]=t[n],o}function Jc(r,t,n){const o=r.slice();return o[9]=t[n],o}function Xc(r){let t,n,o,s;return n=new Us({props:{tokens:r[9].tokens,options:r[1],renderers:r[2]}}),{c(){t=xe("th"),Hn(n.$$.fragment),o=Vu(),this.h()},l(u){t=Ce(u,"TH",{scope:!0});var l=qe(t);mr(n.$$.fragment,l),o=Gu(l),l.forEach(J),this.h()},h(){mt(t,"scope","col")},m(u,l){ve(u,t,l),zn(n,t,null),Nn(t,o),s=!0},p(u,l){const f={};l&1&&(f.tokens=u[9].tokens),l&2&&(f.options=u[1]),l&4&&(f.renderers=u[2]),n.$set(f)},i(u){s||(ee(n.$$.fragment,u),s=!0)},o(u){oe(n.$$.fragment,u),s=!1},d(u){u&&J(t),Qn(n)}}}function Zc(r){let t,n,o;return n=new Us({props:{tokens:r[6].tokens,options:r[1],renderers:r[2]}}),{c(){t=xe("td"),Hn(n.$$.fragment)},l(s){t=Ce(s,"TD",{});var u=qe(t);mr(n.$$.fragment,u),u.forEach(J)},m(s,u){ve(s,t,u),zn(n,t,null),o=!0},p(s,u){const l={};u&1&&(l.tokens=s[6].tokens),u&2&&(l.options=s[1]),u&4&&(l.renderers=s[2]),n.$set(l)},i(s){o||(ee(n.$$.fragment,s),o=!0)},o(s){oe(n.$$.fragment,s),o=!1},d(s){s&&J(t),Qn(n)}}}function Kc(r){let t,n,o,s=ln(r[3]),u=[];for(let f=0;foe(u[f],1,1,()=>{u[f]=null});return{c(){t=xe("tr");for(let f=0;foe(p[w],1,1,()=>{p[w]=null});let E=ln(r[0].rows),_=[];for(let w=0;woe(_[w],1,1,()=>{_[w]=null});return{c(){t=xe("table"),n=xe("thead"),o=xe("tr");for(let w=0;w{"token"in l&&n(0,o=l.token),"options"in l&&n(1,s=l.options),"renderers"in l&&n(2,u=l.renderers)},[o,s,u]}class cv extends $e{constructor(t){super(),Be(this,t,lv,av,ke,{token:0,options:1,renderers:2})}}function fv(r){let t,n=r[0].text+"",o;return{c(){t=new S_(!1),o=it(),this.h()},l(s){t=O_(s,!1),o=it(),this.h()},h(){t.a=o},m(s,u){t.m(n,s,u),ve(s,o,u)},p(s,[u]){u&1&&n!==(n=s[0].text+"")&&t.p(n)},i:Ke,o:Ke,d(s){s&&(J(o),t.d())}}}function pv(r,t,n){let{token:o}=t;const s=void 0,u=void 0;return r.$$set=l=>{"token"in l&&n(0,o=l.token)},[o,s,u]}class hv extends $e{constructor(t){super(),Be(this,t,pv,fv,ke,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function dv(r){let t,n;const o=r[4].default,s=Kt(o,r,r[3],null);return{c(){t=xe("p"),s&&s.c()},l(u){t=Ce(u,"P",{});var l=qe(t);s&&s.l(l),l.forEach(J)},m(u,l){ve(u,t,l),s&&s.m(t,null),n=!0},p(u,[l]){s&&s.p&&(!n||l&8)&&en(s,o,u,u[3],n?nn(o,u[3],l,null):tn(u[3]),null)},i(u){n||(ee(s,u),n=!0)},o(u){oe(s,u),n=!1},d(u){u&&J(t),s&&s.d(u)}}}function gv(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class mv extends $e{constructor(t){super(),Be(this,t,gv,dv,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Ev(r){let t,n,o,s;const u=r[4].default,l=Kt(u,r,r[3],null);return{c(){t=xe("a"),l&&l.c(),this.h()},l(f){t=Ce(f,"A",{href:!0,title:!0});var p=qe(t);l&&l.l(p),p.forEach(J),this.h()},h(){mt(t,"href",n=Ti(r[0].href)?vi(r[1].baseUrl,r[0].href):r[0].href),mt(t,"title",o=r[0].title)},m(f,p){ve(f,t,p),l&&l.m(t,null),s=!0},p(f,[p]){l&&l.p&&(!s||p&8)&&en(l,u,f,f[3],s?nn(u,f[3],p,null):tn(f[3]),null),(!s||p&3&&n!==(n=Ti(f[0].href)?vi(f[1].baseUrl,f[0].href):f[0].href))&&mt(t,"href",n),(!s||p&1&&o!==(o=f[0].title))&&mt(t,"title",o)},i(f){s||(ee(l,f),s=!0)},o(f){oe(l,f),s=!1},d(f){f&&J(t),l&&l.d(f)}}}function Dv(r,t,n){let{$$slots:o={},$$scope:s}=t,{token:u}=t,{options:l}=t;const f=void 0;return r.$$set=p=>{"token"in p&&n(0,u=p.token),"options"in p&&n(1,l=p.options),"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class _v extends $e{constructor(t){super(),Be(this,t,Dv,Ev,ke,{token:0,options:1,renderers:2})}get renderers(){return this.$$.ctx[2]}}function vv(r){let t;const n=r[4].default,o=Kt(n,r,r[3],null);return{c(){o&&o.c()},l(s){o&&o.l(s)},m(s,u){o&&o.m(s,u),t=!0},p(s,[u]){o&&o.p&&(!t||u&8)&&en(o,n,s,s[3],t?nn(n,s[3],u,null):tn(s[3]),null)},i(s){t||(ee(o,s),t=!0)},o(s){oe(o,s),t=!1},d(s){o&&o.d(s)}}}function Tv(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class yv extends $e{constructor(t){super(),Be(this,t,Tv,vv,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Av(r){let t,n;const o=r[4].default,s=Kt(o,r,r[3],null);return{c(){t=xe("dfn"),s&&s.c()},l(u){t=Ce(u,"DFN",{});var l=qe(t);s&&s.l(l),l.forEach(J)},m(u,l){ve(u,t,l),s&&s.m(t,null),n=!0},p(u,[l]){s&&s.p&&(!n||l&8)&&en(s,o,u,u[3],n?nn(o,u[3],l,null):tn(u[3]),null)},i(u){n||(ee(s,u),n=!0)},o(u){oe(s,u),n=!1},d(u){u&&J(t),s&&s.d(u)}}}function Fv(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class wv extends $e{constructor(t){super(),Be(this,t,Fv,Av,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function bv(r){let t,n;const o=r[4].default,s=Kt(o,r,r[3],null);return{c(){t=xe("del"),s&&s.c()},l(u){t=Ce(u,"DEL",{});var l=qe(t);s&&s.l(l),l.forEach(J)},m(u,l){ve(u,t,l),s&&s.m(t,null),n=!0},p(u,[l]){s&&s.p&&(!n||l&8)&&en(s,o,u,u[3],n?nn(o,u[3],l,null):tn(u[3]),null)},i(u){n||(ee(s,u),n=!0)},o(u){oe(s,u),n=!1},d(u){u&&J(t),s&&s.d(u)}}}function Nv(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class Iv extends $e{constructor(t){super(),Be(this,t,Nv,bv,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function kv(r){let t,n;const o=r[4].default,s=Kt(o,r,r[3],null);return{c(){t=xe("em"),s&&s.c()},l(u){t=Ce(u,"EM",{});var l=qe(t);s&&s.l(l),l.forEach(J)},m(u,l){ve(u,t,l),s&&s.m(t,null),n=!0},p(u,[l]){s&&s.p&&(!n||l&8)&&en(s,o,u,u[3],n?nn(o,u[3],l,null):tn(u[3]),null)},i(u){n||(ee(s,u),n=!0)},o(u){oe(s,u),n=!1},d(u){u&&J(t),s&&s.d(u)}}}function Ov(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class Sv extends $e{constructor(t){super(),Be(this,t,Ov,kv,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Cv(r){let t;return{c(){t=xe("hr")},l(n){t=Ce(n,"HR",{})},m(n,o){ve(n,t,o)},p:Ke,i:Ke,o:Ke,d(n){n&&J(t)}}}function xv(r,t,n){return[void 0,void 0,void 0]}class Lv extends $e{constructor(t){super(),Be(this,t,xv,Cv,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Rv(r){let t,n;const o=r[4].default,s=Kt(o,r,r[3],null);return{c(){t=xe("strong"),s&&s.c()},l(u){t=Ce(u,"STRONG",{});var l=qe(t);s&&s.l(l),l.forEach(J)},m(u,l){ve(u,t,l),s&&s.m(t,null),n=!0},p(u,[l]){s&&s.p&&(!n||l&8)&&en(s,o,u,u[3],n?nn(o,u[3],l,null):tn(u[3]),null)},i(u){n||(ee(s,u),n=!0)},o(u){oe(s,u),n=!1},d(u){u&&J(t),s&&s.d(u)}}}function $v(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class Bv extends $e{constructor(t){super(),Be(this,t,$v,Rv,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Pv(r){let t,n,o,s;return{c(){t=xe("img"),this.h()},l(u){t=Ce(u,"IMG",{src:!0,title:!0,alt:!0,class:!0}),this.h()},h(){Gc(t.src,n=Ti(r[0].href)?vi(r[1].baseUrl,r[0].href):r[0].href)||mt(t,"src",n),mt(t,"title",o=r[0].title),mt(t,"alt",s=r[0].text),mt(t,"class","markdown-image svelte-z38cge")},m(u,l){ve(u,t,l)},p(u,[l]){l&3&&!Gc(t.src,n=Ti(u[0].href)?vi(u[1].baseUrl,u[0].href):u[0].href)&&mt(t,"src",n),l&1&&o!==(o=u[0].title)&&mt(t,"title",o),l&1&&s!==(s=u[0].text)&&mt(t,"alt",s)},i:Ke,o:Ke,d(u){u&&J(t)}}}function Mv(r,t,n){let{token:o}=t,{options:s}=t;const u=void 0;return r.$$set=l=>{"token"in l&&n(0,o=l.token),"options"in l&&n(1,s=l.options)},[o,s,u]}class Uv extends $e{constructor(t){super(),Be(this,t,Mv,Pv,ke,{token:0,options:1,renderers:2})}get renderers(){return this.$$.ctx[2]}}function Gv(r){let t;const n=r[4].default,o=Kt(n,r,r[3],null);return{c(){o&&o.c()},l(s){o&&o.l(s)},m(s,u){o&&o.m(s,u),t=!0},p(s,[u]){o&&o.p&&(!t||u&8)&&en(o,n,s,s[3],t?nn(n,s[3],u,null):tn(s[3]),null)},i(s){t||(ee(o,s),t=!0)},o(s){oe(o,s),t=!1},d(s){o&&o.d(s)}}}function Vv(r,t,n){let{$$slots:o={},$$scope:s}=t;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&n(3,s=p.$$scope)},[u,l,f,s,o]}class ef extends $e{constructor(t){super(),Be(this,t,Vv,Gv,ke,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}const jv=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,qv=Object.hasOwnProperty;class Lf{constructor(){this.occurrences,this.reset()}slug(t,n){const o=this;let s=Yv(t,n===!0);const u=s;for(;qv.call(o.occurrences,s);)o.occurrences[u]++,s=u+"-"+o.occurrences[u];return o.occurrences[s]=0,s}reset(){this.occurrences=Object.create(null)}}function Yv(r,t){return typeof r!="string"?"":(t||(r=r.toLowerCase()),r.replace(jv,"").replace(/ /g,"-"))}function ju(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Er=ju();function Rf(r){Er=r}const $f=/[&<>"']/,Wv=new RegExp($f.source,"g"),Bf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Qv=new RegExp(Bf.source,"g"),zv={"&":"&","<":"<",">":">",'"':""","'":"'"},tf=r=>zv[r];function bt(r,t){if(t){if($f.test(r))return r.replace(Wv,tf)}else if(Bf.test(r))return r.replace(Qv,tf);return r}const Hv=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Jv(r){return r.replace(Hv,(t,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const Xv=/(^|[^\[])\^/g;function _e(r,t){let n=typeof r=="string"?r:r.source;t=t||"";const o={replace:(s,u)=>{let l=typeof u=="string"?u:u.source;return l=l.replace(Xv,"$1"),n=n.replace(s,l),o},getRegex:()=>new RegExp(n,t)};return o}function nf(r){try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const gi={exec:()=>null};function rf(r,t){const n=r.replace(/\|/g,(u,l,f)=>{let p=!1,m=l;for(;--m>=0&&f[m]==="\\";)p=!p;return p?"|":" |"}),o=n.split(/ \|/);let s=0;if(o[0].trim()||o.shift(),o.length>0&&!o[o.length-1].trim()&&o.pop(),t)if(o.length>t)o.splice(t);else for(;o.length{const u=s.match(/^\s+/);if(u===null)return s;const[l]=u;return l.length>=o.length?s.slice(o.length):s}).join(` -`)}class Os{constructor(t){ye(this,"options");ye(this,"rules");ye(this,"lexer");this.options=t||Er}space(t){const n=this.rules.block.newline.exec(t);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(t){const n=this.rules.block.code.exec(t);if(n){const o=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?o:li(o,` -`)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const o=n[0],s=Kv(o,n[3]||"");return{type:"code",raw:o,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:s}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let o=n[2].trim();if(/#$/.test(o)){const s=li(o,"#");(this.options.pedantic||!s||/ $/.test(s))&&(o=s.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:o,tokens:this.lexer.inline(o)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:li(n[0],` -`)}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){let o=li(n[0],` -`).split(` -`),s="",u="";const l=[];for(;o.length>0;){let f=!1;const p=[];let m;for(m=0;m/.test(o[m]))p.push(o[m]),f=!0;else if(!f)p.push(o[m]);else break;o=o.slice(m);const E=p.join(` -`),_=E.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` - $1`).replace(/^ {0,3}>[ \t]?/gm,"");s=s?`${s} -${E}`:E,u=u?`${u} -${_}`:_;const O=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(_,l,!0),this.lexer.state.top=O,o.length===0)break;const w=l[l.length-1];if((w==null?void 0:w.type)==="code")break;if((w==null?void 0:w.type)==="blockquote"){const I=w,$=I.raw+` -`+o.join(` -`),Y=this.blockquote($);l[l.length-1]=Y,s=s.substring(0,s.length-I.raw.length)+Y.raw,u=u.substring(0,u.length-I.text.length)+Y.text;break}else if((w==null?void 0:w.type)==="list"){const I=w,$=I.raw+` -`+o.join(` -`),Y=this.list($);l[l.length-1]=Y,s=s.substring(0,s.length-w.raw.length)+Y.raw,u=u.substring(0,u.length-I.raw.length)+Y.raw,o=$.substring(l[l.length-1].raw.length).split(` -`);continue}}return{type:"blockquote",raw:s,tokens:l,text:u}}}list(t){let n=this.rules.block.list.exec(t);if(n){let o=n[1].trim();const s=o.length>1,u={type:"list",raw:"",ordered:s,start:s?+o.slice(0,-1):"",loose:!1,items:[]};o=s?`\\d{1,9}\\${o.slice(-1)}`:`\\${o}`,this.options.pedantic&&(o=s?o:"[*+-]");const l=new RegExp(`^( {0,3}${o})((?:[ ][^\\n]*)?(?:\\n|$))`);let f=!1;for(;t;){let p=!1,m="",E="";if(!(n=l.exec(t))||this.rules.block.hr.test(t))break;m=n[0],t=t.substring(m.length);let _=n[2].split(` -`,1)[0].replace(/^\t+/,ce=>" ".repeat(3*ce.length)),O=t.split(` -`,1)[0],w=!_.trim(),I=0;if(this.options.pedantic?(I=2,E=_.trimStart()):w?I=n[1].length+1:(I=n[2].search(/[^ ]/),I=I>4?1:I,E=_.slice(I),I+=n[1].length),w&&/^ *$/.test(O)&&(m+=O+` -`,t=t.substring(O.length+1),p=!0),!p){const ce=new RegExp(`^ {0,${Math.min(3,I-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),be=new RegExp(`^ {0,${Math.min(3,I-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),me=new RegExp(`^ {0,${Math.min(3,I-1)}}(?:\`\`\`|~~~)`),Oe=new RegExp(`^ {0,${Math.min(3,I-1)}}#`);for(;t;){const Le=t.split(` -`,1)[0];if(O=Le,this.options.pedantic&&(O=O.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),me.test(O)||Oe.test(O)||ce.test(O)||be.test(t))break;if(O.search(/[^ ]/)>=I||!O.trim())E+=` -`+O.slice(I);else{if(w||_.search(/[^ ]/)>=4||me.test(_)||Oe.test(_)||be.test(_))break;E+=` -`+O}!w&&!O.trim()&&(w=!0),m+=Le+` -`,t=t.substring(Le.length+1),_=O.slice(I)}}u.loose||(f?u.loose=!0:/\n *\n *$/.test(m)&&(f=!0));let $=null,Y;this.options.gfm&&($=/^\[[ xX]\] /.exec(E),$&&(Y=$[0]!=="[ ] ",E=E.replace(/^\[[ xX]\] +/,""))),u.items.push({type:"list_item",raw:m,task:!!$,checked:Y,loose:!1,text:E,tokens:[]}),u.raw+=m}u.items[u.items.length-1].raw=u.items[u.items.length-1].raw.trimEnd(),u.items[u.items.length-1].text=u.items[u.items.length-1].text.trimEnd(),u.raw=u.raw.trimEnd();for(let p=0;p_.type==="space"),E=m.length>0&&m.some(_=>/\n.*\n/.test(_.raw));u.loose=E}if(u.loose)for(let p=0;p$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",u=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:o,raw:n[0],href:s,title:u}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const o=rf(n[1]),s=n[2].replace(/^\||\| *$/g,"").split("|"),u=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` -`):[],l={type:"table",raw:n[0],header:[],align:[],rows:[]};if(o.length===s.length){for(const f of s)/^ *-+: *$/.test(f)?l.align.push("right"):/^ *:-+: *$/.test(f)?l.align.push("center"):/^ *:-+ *$/.test(f)?l.align.push("left"):l.align.push(null);for(let f=0;f({text:p,tokens:this.lexer.inline(p),header:!1,align:l.align[m]})));return l}}lheading(t){const n=this.rules.block.lheading.exec(t);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(t){const n=this.rules.block.paragraph.exec(t);if(n){const o=n[1].charAt(n[1].length-1)===` -`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:o,tokens:this.lexer.inline(o)}}}text(t){const n=this.rules.block.text.exec(t);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(t){const n=this.rules.inline.escape.exec(t);if(n)return{type:"escape",raw:n[0],text:bt(n[1])}}tag(t){const n=this.rules.inline.tag.exec(t);if(n)return!this.lexer.state.inLink&&/^/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(t){const n=this.rules.inline.link.exec(t);if(n){const o=n[2].trim();if(!this.options.pedantic&&/^$/.test(o))return;const l=li(o.slice(0,-1),"\\");if((o.length-l.length)%2===0)return}else{const l=Zv(n[2],"()");if(l>-1){const p=(n[0].indexOf("!")===0?5:4)+n[1].length+l;n[2]=n[2].substring(0,l),n[0]=n[0].substring(0,p).trim(),n[3]=""}}let s=n[2],u="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);l&&(s=l[1],u=l[3])}else u=n[3]?n[3].slice(1,-1):"";return s=s.trim(),/^$/.test(o)?s=s.slice(1):s=s.slice(1,-1)),sf(n,{href:s&&s.replace(this.rules.inline.anyPunctuation,"$1"),title:u&&u.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let o;if((o=this.rules.inline.reflink.exec(t))||(o=this.rules.inline.nolink.exec(t))){const s=(o[2]||o[1]).replace(/\s+/g," "),u=n[s.toLowerCase()];if(!u){const l=o[0].charAt(0);return{type:"text",raw:l,text:l}}return sf(o,u,o[0],this.lexer)}}emStrong(t,n,o=""){let s=this.rules.inline.emStrongLDelim.exec(t);if(!s||s[3]&&o.match(/[\p{L}\p{N}]/u))return;if(!(s[1]||s[2]||"")||!o||this.rules.inline.punctuation.exec(o)){const l=[...s[0]].length-1;let f,p,m=l,E=0;const _=s[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(_.lastIndex=0,n=n.slice(-1*t.length+l);(s=_.exec(n))!=null;){if(f=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!f)continue;if(p=[...f].length,s[3]||s[4]){m+=p;continue}else if((s[5]||s[6])&&l%3&&!((l+p)%3)){E+=p;continue}if(m-=p,m>0)continue;p=Math.min(p,p+m+E);const O=[...s[0]][0].length,w=t.slice(0,l+s.index+O+p);if(Math.min(l,p)%2){const $=w.slice(1,-1);return{type:"em",raw:w,text:$,tokens:this.lexer.inlineTokens($)}}const I=w.slice(2,-2);return{type:"strong",raw:w,text:I,tokens:this.lexer.inlineTokens(I)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let o=n[2].replace(/\n/g," ");const s=/[^ ]/.test(o),u=/^ /.test(o)&&/ $/.test(o);return s&&u&&(o=o.substring(1,o.length-1)),o=bt(o,!0),{type:"codespan",raw:n[0],text:o}}}br(t){const n=this.rules.inline.br.exec(t);if(n)return{type:"br",raw:n[0]}}del(t){const n=this.rules.inline.del.exec(t);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(t){const n=this.rules.inline.autolink.exec(t);if(n){let o,s;return n[2]==="@"?(o=bt(n[1]),s="mailto:"+o):(o=bt(n[1]),s=o),{type:"link",raw:n[0],text:o,href:s,tokens:[{type:"text",raw:o,text:o}]}}}url(t){var o;let n;if(n=this.rules.inline.url.exec(t)){let s,u;if(n[2]==="@")s=bt(n[0]),u="mailto:"+s;else{let l;do l=n[0],n[0]=((o=this.rules.inline._backpedal.exec(n[0]))==null?void 0:o[0])??"";while(l!==n[0]);s=bt(n[0]),n[1]==="www."?u="http://"+n[0]:u=n[0]}return{type:"link",raw:n[0],text:s,href:u,tokens:[{type:"text",raw:s,text:s}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let o;return this.lexer.state.inRawBlock?o=n[0]:o=bt(n[0]),{type:"text",raw:n[0],text:o}}}}const eT=/^(?: *(?:\n|$))+/,tT=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,nT=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,wi=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,rT=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Pf=/(?:[*+-]|\d{1,9}[.)])/,Mf=_e(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Pf).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),qu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,iT=/^[^\n]+/,Yu=/(?!\s*\])(?:\\.|[^\[\]\\])+/,sT=_e(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Yu).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),oT=_e(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Pf).getRegex(),Gs="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Wu=/|$))/,uT=_e("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Wu).replace("tag",Gs).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Uf=_e(qu).replace("hr",wi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex(),aT=_e(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Uf).getRegex(),Qu={blockquote:aT,code:tT,def:sT,fences:nT,heading:rT,hr:wi,html:uT,lheading:Mf,list:oT,newline:eT,paragraph:Uf,table:gi,text:iT},of=_e("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",wi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex(),lT={...Qu,table:of,paragraph:_e(qu).replace("hr",wi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",of).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex()},cT={...Qu,html:_e(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Wu).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:gi,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:_e(qu).replace("hr",wi).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",Mf).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Gf=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,fT=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Vf=/^( {2,}|\\)\n(?!\s*$)/,pT=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,gT=_e(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,bi).getRegex(),mT=_e("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,bi).getRegex(),ET=_e("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,bi).getRegex(),DT=_e(/\\([punct])/,"gu").replace(/punct/g,bi).getRegex(),_T=_e(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),vT=_e(Wu).replace("(?:-->|$)","-->").getRegex(),TT=_e("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",vT).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ss=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,yT=_e(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ss).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),jf=_e(/^!?\[(label)\]\[(ref)\]/).replace("label",Ss).replace("ref",Yu).getRegex(),qf=_e(/^!?\[(ref)\](?:\[\])?/).replace("ref",Yu).getRegex(),AT=_e("reflink|nolink(?!\\()","g").replace("reflink",jf).replace("nolink",qf).getRegex(),zu={_backpedal:gi,anyPunctuation:DT,autolink:_T,blockSkip:dT,br:Vf,code:fT,del:gi,emStrongLDelim:gT,emStrongRDelimAst:mT,emStrongRDelimUnd:ET,escape:Gf,link:yT,nolink:qf,punctuation:hT,reflink:jf,reflinkSearch:AT,tag:TT,text:pT,url:gi},FT={...zu,link:_e(/^!?\[(label)\]\((.*?)\)/).replace("label",Ss).getRegex(),reflink:_e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ss).getRegex()},Nu={...zu,escape:_e(Gf).replace("])","~|])").getRegex(),url:_e(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\p+" ".repeat(m.length));let s,u,l;for(;t;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(f=>(s=f.call({lexer:this},t,n))?(t=t.substring(s.raw.length),n.push(s),!0):!1))){if(s=this.tokenizer.space(t)){t=t.substring(s.raw.length),s.raw.length===1&&n.length>0?n[n.length-1].raw+=` -`:n.push(s);continue}if(s=this.tokenizer.code(t)){t=t.substring(s.raw.length),u=n[n.length-1],u&&(u.type==="paragraph"||u.type==="text")?(u.raw+=` -`+s.raw,u.text+=` -`+s.text,this.inlineQueue[this.inlineQueue.length-1].src=u.text):n.push(s);continue}if(s=this.tokenizer.fences(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.heading(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.hr(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.blockquote(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.list(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.html(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.def(t)){t=t.substring(s.raw.length),u=n[n.length-1],u&&(u.type==="paragraph"||u.type==="text")?(u.raw+=` -`+s.raw,u.text+=` -`+s.raw,this.inlineQueue[this.inlineQueue.length-1].src=u.text):this.tokens.links[s.tag]||(this.tokens.links[s.tag]={href:s.href,title:s.title});continue}if(s=this.tokenizer.table(t)){t=t.substring(s.raw.length),n.push(s);continue}if(s=this.tokenizer.lheading(t)){t=t.substring(s.raw.length),n.push(s);continue}if(l=t,this.options.extensions&&this.options.extensions.startBlock){let f=1/0;const p=t.slice(1);let m;this.options.extensions.startBlock.forEach(E=>{m=E.call({lexer:this},p),typeof m=="number"&&m>=0&&(f=Math.min(f,m))}),f<1/0&&f>=0&&(l=t.substring(0,f+1))}if(this.state.top&&(s=this.tokenizer.paragraph(l))){u=n[n.length-1],o&&(u==null?void 0:u.type)==="paragraph"?(u.raw+=` -`+s.raw,u.text+=` -`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=u.text):n.push(s),o=l.length!==t.length,t=t.substring(s.raw.length);continue}if(s=this.tokenizer.text(t)){t=t.substring(s.raw.length),u=n[n.length-1],u&&u.type==="text"?(u.raw+=` -`+s.raw,u.text+=` -`+s.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=u.text):n.push(s);continue}if(t){const f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let o,s,u,l=t,f,p,m;if(this.tokens.links){const E=Object.keys(this.tokens.links);if(E.length>0)for(;(f=this.tokenizer.rules.inline.reflinkSearch.exec(l))!=null;)E.includes(f[0].slice(f[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,f.index)+"["+"a".repeat(f[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(f=this.tokenizer.rules.inline.blockSkip.exec(l))!=null;)l=l.slice(0,f.index)+"["+"a".repeat(f[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(f=this.tokenizer.rules.inline.anyPunctuation.exec(l))!=null;)l=l.slice(0,f.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;t;)if(p||(m=""),p=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(E=>(o=E.call({lexer:this},t,n))?(t=t.substring(o.raw.length),n.push(o),!0):!1))){if(o=this.tokenizer.escape(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.tag(t)){t=t.substring(o.raw.length),s=n[n.length-1],s&&o.type==="text"&&s.type==="text"?(s.raw+=o.raw,s.text+=o.text):n.push(o);continue}if(o=this.tokenizer.link(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(o.raw.length),s=n[n.length-1],s&&o.type==="text"&&s.type==="text"?(s.raw+=o.raw,s.text+=o.text):n.push(o);continue}if(o=this.tokenizer.emStrong(t,l,m)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.codespan(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.br(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.del(t)){t=t.substring(o.raw.length),n.push(o);continue}if(o=this.tokenizer.autolink(t)){t=t.substring(o.raw.length),n.push(o);continue}if(!this.state.inLink&&(o=this.tokenizer.url(t))){t=t.substring(o.raw.length),n.push(o);continue}if(u=t,this.options.extensions&&this.options.extensions.startInline){let E=1/0;const _=t.slice(1);let O;this.options.extensions.startInline.forEach(w=>{O=w.call({lexer:this},_),typeof O=="number"&&O>=0&&(E=Math.min(E,O))}),E<1/0&&E>=0&&(u=t.substring(0,E+1))}if(o=this.tokenizer.inlineText(u)){t=t.substring(o.raw.length),o.raw.slice(-1)!=="_"&&(m=o.raw.slice(-1)),p=!0,s=n[n.length-1],s&&s.type==="text"?(s.raw+=o.raw,s.text+=o.text):n.push(o);continue}if(t){const E="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(E);break}else throw new Error(E)}}return n}}class Cs{constructor(t){ye(this,"options");ye(this,"parser");this.options=t||Er}space(t){return""}code({text:t,lang:n,escaped:o}){var l;const s=(l=(n||"").match(/^\S*/))==null?void 0:l[0],u=t.replace(/\n$/,"")+` -`;return s?'
'+(o?u:bt(u,!0))+`
-`:"
"+(o?u:bt(u,!0))+`
-`}blockquote({tokens:t}){return`
-${this.parser.parse(t)}
-`}html({text:t}){return t}heading({tokens:t,depth:n}){return`${this.parser.parseInline(t)} -`}hr(t){return`
-`}list(t){const n=t.ordered,o=t.start;let s="";for(let f=0;f -`+s+" -`}listitem(t){let n="";if(t.task){const o=this.checkbox({checked:!!t.checked});t.loose?t.tokens.length>0&&t.tokens[0].type==="paragraph"?(t.tokens[0].text=o+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=o+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",raw:o+" ",text:o+" "}):n+=o+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`
  • ${n}
  • -`}checkbox({checked:t}){return"'}paragraph({tokens:t}){return`

    ${this.parser.parseInline(t)}

    -`}table(t){let n="",o="";for(let u=0;u${s}`),` - -`+n+` -`+s+`
    -`}tablerow({text:t}){return` -${t} -`}tablecell(t){const n=this.parser.parseInline(t.tokens),o=t.header?"th":"td";return(t.align?`<${o} align="${t.align}">`:`<${o}>`)+n+` -`}strong({tokens:t}){return`${this.parser.parseInline(t)}`}em({tokens:t}){return`${this.parser.parseInline(t)}`}codespan({text:t}){return`${t}`}br(t){return"
    "}del({tokens:t}){return`${this.parser.parseInline(t)}`}link({href:t,title:n,tokens:o}){const s=this.parser.parseInline(o),u=nf(t);if(u===null)return s;t=u;let l='
    ",l}image({href:t,title:n,text:o}){const s=nf(t);if(s===null)return o;t=s;let u=`${o}{const m=f[p].flat(1/0);o=o.concat(this.walkTokens(m,n))}):f.tokens&&(o=o.concat(this.walkTokens(f.tokens,n)))}}return o}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(o=>{const s={...o};if(s.async=this.defaults.async||s.async||!1,o.extensions&&(o.extensions.forEach(u=>{if(!u.name)throw new Error("extension name required");if("renderer"in u){const l=n.renderers[u.name];l?n.renderers[u.name]=function(...f){let p=u.renderer.apply(this,f);return p===!1&&(p=l.apply(this,f)),p}:n.renderers[u.name]=u.renderer}if("tokenizer"in u){if(!u.level||u.level!=="block"&&u.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const l=n[u.level];l?l.unshift(u.tokenizer):n[u.level]=[u.tokenizer],u.start&&(u.level==="block"?n.startBlock?n.startBlock.push(u.start):n.startBlock=[u.start]:u.level==="inline"&&(n.startInline?n.startInline.push(u.start):n.startInline=[u.start]))}"childTokens"in u&&u.childTokens&&(n.childTokens[u.name]=u.childTokens)}),s.extensions=n),o.renderer){const u=this.defaults.renderer||new Cs(this.defaults);for(const l in o.renderer){if(!(l in u))throw new Error(`renderer '${l}' does not exist`);if(["options","parser"].includes(l))continue;const f=l;let p=o.renderer[f];o.useNewRenderer||(p=ai(this,Ln,Yf).call(this,p,f,u));const m=u[f];u[f]=(...E)=>{let _=p.apply(u,E);return _===!1&&(_=m.apply(u,E)),_||""}}s.renderer=u}if(o.tokenizer){const u=this.defaults.tokenizer||new Os(this.defaults);for(const l in o.tokenizer){if(!(l in u))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;const f=l,p=o.tokenizer[f],m=u[f];u[f]=(...E)=>{let _=p.apply(u,E);return _===!1&&(_=m.apply(u,E)),_}}s.tokenizer=u}if(o.hooks){const u=this.defaults.hooks||new mi;for(const l in o.hooks){if(!(l in u))throw new Error(`hook '${l}' does not exist`);if(l==="options")continue;const f=l,p=o.hooks[f],m=u[f];mi.passThroughHooks.has(l)?u[f]=E=>{if(this.defaults.async)return Promise.resolve(p.call(u,E)).then(O=>m.call(u,O));const _=p.call(u,E);return m.call(u,_)}:u[f]=(...E)=>{let _=p.apply(u,E);return _===!1&&(_=m.apply(u,E)),_}}s.hooks=u}if(o.walkTokens){const u=this.defaults.walkTokens,l=o.walkTokens;s.walkTokens=function(f){let p=[];return p.push(l.call(this,f)),u&&(p=p.concat(u.call(this,f))),p}}this.defaults={...this.defaults,...s}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Jt.lex(t,n??this.defaults)}parser(t,n){return cn.parse(t,n??this.defaults)}}Ln=new WeakSet,Yf=function(t,n,o){switch(n){case"heading":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,o.parser.parseInline(s.tokens),s.depth,Jv(o.parser.parseInline(s.tokens,o.parser.textRenderer)))};case"code":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,s.text,s.lang,!!s.escaped)};case"table":return function(s){if(!s.type||s.type!==n)return t.apply(this,arguments);let u="",l="";for(let p=0;p0&&E.tokens[0].type==="paragraph"?(E.tokens[0].text=I+" "+E.tokens[0].text,E.tokens[0].tokens&&E.tokens[0].tokens.length>0&&E.tokens[0].tokens[0].type==="text"&&(E.tokens[0].tokens[0].text=I+" "+E.tokens[0].tokens[0].text)):E.tokens.unshift({type:"text",text:I+" "}):w+=I+" "}w+=this.parser.parse(E.tokens,f),p+=this.listitem({type:"list_item",raw:w,text:w,task:O,checked:!!_,loose:f,tokens:E.tokens})}return t.call(this,p,u,l)};case"html":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,s.text,s.block)};case"paragraph":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,this.parser.parseInline(s.tokens))};case"escape":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,s.text)};case"link":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,s.href,s.title,this.parser.parseInline(s.tokens))};case"image":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,s.href,s.title,s.text)};case"strong":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,this.parser.parseInline(s.tokens))};case"em":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,this.parser.parseInline(s.tokens))};case"codespan":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,s.text)};case"del":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,this.parser.parseInline(s.tokens))};case"text":return function(s){return!s.type||s.type!==n?t.apply(this,arguments):t.call(this,s.text)}}return t},Iu=function(t,n){return(o,s)=>{const u={...s},l={...this.defaults,...u};this.defaults.async===!0&&u.async===!1&&(l.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),l.async=!0);const f=ai(this,Ln,Wf).call(this,!!l.silent,!!l.async);if(typeof o>"u"||o===null)return f(new Error("marked(): input parameter is undefined or null"));if(typeof o!="string")return f(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(o)+", string expected"));if(l.hooks&&(l.hooks.options=l),l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(o):o).then(p=>t(p,l)).then(p=>l.hooks?l.hooks.processAllTokens(p):p).then(p=>l.walkTokens?Promise.all(this.walkTokens(p,l.walkTokens)).then(()=>p):p).then(p=>n(p,l)).then(p=>l.hooks?l.hooks.postprocess(p):p).catch(f);try{l.hooks&&(o=l.hooks.preprocess(o));let p=t(o,l);l.hooks&&(p=l.hooks.processAllTokens(p)),l.walkTokens&&this.walkTokens(p,l.walkTokens);let m=n(p,l);return l.hooks&&(m=l.hooks.postprocess(m)),m}catch(p){return f(p)}}},Wf=function(t,n){return o=>{if(o.message+=` -Please report this to https://github.com/markedjs/marked.`,t){const s="

    An error occurred:

    "+bt(o.message+"",!0)+"
    ";return n?Promise.resolve(s):s}if(n)return Promise.reject(o);throw o}};const pr=new bT;function De(r,t){return pr.parse(r,t)}De.options=De.setOptions=function(r){return pr.setOptions(r),De.defaults=pr.defaults,Rf(De.defaults),De};De.getDefaults=ju;De.defaults=Er;De.use=function(...r){return pr.use(...r),De.defaults=pr.defaults,Rf(De.defaults),De};De.walkTokens=function(r,t){return pr.walkTokens(r,t)};De.parseInline=pr.parseInline;De.Parser=cn;De.parser=cn.parse;De.Renderer=Cs;De.TextRenderer=Hu;De.Lexer=Jt;De.lexer=Jt.lex;De.Tokenizer=Os;De.Hooks=mi;De.parse=De;De.options;De.setOptions;De.use;De.walkTokens;De.parseInline;cn.parse;Jt.lex;function NT(r){return new Jt().lex(r)}const IT=()=>({heading:j_,blockquote:W_,list:H_,list_item:Z_,br:tv,code:iv,codespan:uv,table:cv,html:hv,paragraph:mv,link:_v,text:yv,def:wv,del:Iv,em:Sv,hr:Lv,strong:Bv,image:Uv,space:ef,escape:ef}),kT=()=>({baseUrl:"/",slugger:new Lf});function OT(){const r=console.warn;console.warn=t=>{t.includes("unknown prop")||t.includes("unexpected slot")||r(t)},C_(()=>{console.warn=r})}function ST(r){let t,n;return t=new Us({props:{tokens:r[0],renderers:r[1],options:r[2]}}),{c(){Hn(t.$$.fragment)},l(o){mr(t.$$.fragment,o)},m(o,s){zn(t,o,s),n=!0},p(o,[s]){const u={};s&1&&(u.tokens=o[0]),s&2&&(u.renderers=o[1]),s&4&&(u.options=o[2]),t.$set(u)},i(o){n||(ee(t.$$.fragment,o),n=!0)},o(o){oe(t.$$.fragment,o),n=!1},d(o){Qn(t,o)}}}function CT(r,t,n){OT();let{source:o}=t,{options:s={}}=t,{renderers:u={}}=t,l,f,p;return r.$$set=m=>{"source"in m&&n(3,o=m.source),"options"in m&&n(4,s=m.options),"renderers"in m&&n(5,u=m.renderers)},r.$$.update=()=>{r.$$.dirty&56&&(n(0,l=NT(o)),n(1,f={...IT(),...u}),n(2,p={...kT(),...s}))},[l,f,p,o,s,u]}class RA extends $e{constructor(t){super(),Be(this,t,CT,ST,ke,{source:3,options:4,renderers:5})}}const Ni={joinUrlPaths:vi,isRelative:Ti,generatePathSegment:xf};var fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xT(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var xs={exports:{}};/** - * @license - * Lodash - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */xs.exports;(function(r,t){(function(){var n,o="4.17.21",s=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",f="Invalid `variable` option passed into `_.template`",p="__lodash_hash_undefined__",m=500,E="__lodash_placeholder__",_=1,O=2,w=4,I=1,$=2,Y=1,ce=2,be=4,me=8,Oe=16,Le=32,st=64,et=128,gn=256,x=512,X=30,ot="...",Rn=800,Zn=16,Oi=1,_r=2,Si=3,sn=1/0,Gt=9007199254740991,vr=17976931348623157e292,Kn=NaN,It=4294967295,b=It-1,V=It>>>1,P=[["ary",et],["bind",Y],["bindKey",ce],["curry",me],["curryRight",Oe],["flip",x],["partial",Le],["partialRight",st],["rearg",gn]],U="[object Arguments]",he="[object Array]",Pe="[object AsyncFunction]",de="[object Boolean]",kt="[object Date]",Gr="[object DOMException]",$n="[object Error]",tt="[object Function]",ua="[object GeneratorFunction]",Vt="[object Map]",Vr="[object Number]",qp="[object Null]",mn="[object Object]",aa="[object Promise]",Yp="[object Proxy]",jr="[object RegExp]",jt="[object Set]",qr="[object String]",Ci="[object Symbol]",Wp="[object Undefined]",Yr="[object WeakMap]",Qp="[object WeakSet]",Wr="[object ArrayBuffer]",Tr="[object DataView]",Xs="[object Float32Array]",Zs="[object Float64Array]",Ks="[object Int8Array]",eo="[object Int16Array]",to="[object Int32Array]",no="[object Uint8Array]",ro="[object Uint8ClampedArray]",io="[object Uint16Array]",so="[object Uint32Array]",zp=/\b__p \+= '';/g,Hp=/\b(__p \+=) '' \+/g,Jp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,la=/&(?:amp|lt|gt|quot|#39);/g,ca=/[&<>"']/g,Xp=RegExp(la.source),Zp=RegExp(ca.source),Kp=/<%-([\s\S]+?)%>/g,eh=/<%([\s\S]+?)%>/g,fa=/<%=([\s\S]+?)%>/g,th=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nh=/^\w*$/,rh=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oo=/[\\^$.*+?()[\]{}|]/g,ih=RegExp(oo.source),uo=/^\s+/,sh=/\s/,oh=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,uh=/\{\n\/\* \[wrapped with (.+)\] \*/,ah=/,? & /,lh=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ch=/[()=,{}\[\]\/\s]/,fh=/\\(\\)?/g,ph=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pa=/\w*$/,hh=/^[-+]0x[0-9a-f]+$/i,dh=/^0b[01]+$/i,gh=/^\[object .+?Constructor\]$/,mh=/^0o[0-7]+$/i,Eh=/^(?:0|[1-9]\d*)$/,Dh=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xi=/($^)/,_h=/['\n\r\u2028\u2029\\]/g,Li="\\ud800-\\udfff",vh="\\u0300-\\u036f",Th="\\ufe20-\\ufe2f",yh="\\u20d0-\\u20ff",ha=vh+Th+yh,da="\\u2700-\\u27bf",ga="a-z\\xdf-\\xf6\\xf8-\\xff",Ah="\\xac\\xb1\\xd7\\xf7",Fh="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wh="\\u2000-\\u206f",bh=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ma="A-Z\\xc0-\\xd6\\xd8-\\xde",Ea="\\ufe0e\\ufe0f",Da=Ah+Fh+wh+bh,ao="['’]",Nh="["+Li+"]",_a="["+Da+"]",Ri="["+ha+"]",va="\\d+",Ih="["+da+"]",Ta="["+ga+"]",ya="[^"+Li+Da+va+da+ga+ma+"]",lo="\\ud83c[\\udffb-\\udfff]",kh="(?:"+Ri+"|"+lo+")",Aa="[^"+Li+"]",co="(?:\\ud83c[\\udde6-\\uddff]){2}",fo="[\\ud800-\\udbff][\\udc00-\\udfff]",yr="["+ma+"]",Fa="\\u200d",wa="(?:"+Ta+"|"+ya+")",Oh="(?:"+yr+"|"+ya+")",ba="(?:"+ao+"(?:d|ll|m|re|s|t|ve))?",Na="(?:"+ao+"(?:D|LL|M|RE|S|T|VE))?",Ia=kh+"?",ka="["+Ea+"]?",Sh="(?:"+Fa+"(?:"+[Aa,co,fo].join("|")+")"+ka+Ia+")*",Ch="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",xh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Oa=ka+Ia+Sh,Lh="(?:"+[Ih,co,fo].join("|")+")"+Oa,Rh="(?:"+[Aa+Ri+"?",Ri,co,fo,Nh].join("|")+")",$h=RegExp(ao,"g"),Bh=RegExp(Ri,"g"),po=RegExp(lo+"(?="+lo+")|"+Rh+Oa,"g"),Ph=RegExp([yr+"?"+Ta+"+"+ba+"(?="+[_a,yr,"$"].join("|")+")",Oh+"+"+Na+"(?="+[_a,yr+wa,"$"].join("|")+")",yr+"?"+wa+"+"+ba,yr+"+"+Na,xh,Ch,va,Lh].join("|"),"g"),Mh=RegExp("["+Fa+Li+ha+Ea+"]"),Uh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gh=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vh=-1,Ne={};Ne[Xs]=Ne[Zs]=Ne[Ks]=Ne[eo]=Ne[to]=Ne[no]=Ne[ro]=Ne[io]=Ne[so]=!0,Ne[U]=Ne[he]=Ne[Wr]=Ne[de]=Ne[Tr]=Ne[kt]=Ne[$n]=Ne[tt]=Ne[Vt]=Ne[Vr]=Ne[mn]=Ne[jr]=Ne[jt]=Ne[qr]=Ne[Yr]=!1;var Fe={};Fe[U]=Fe[he]=Fe[Wr]=Fe[Tr]=Fe[de]=Fe[kt]=Fe[Xs]=Fe[Zs]=Fe[Ks]=Fe[eo]=Fe[to]=Fe[Vt]=Fe[Vr]=Fe[mn]=Fe[jr]=Fe[jt]=Fe[qr]=Fe[Ci]=Fe[no]=Fe[ro]=Fe[io]=Fe[so]=!0,Fe[$n]=Fe[tt]=Fe[Yr]=!1;var jh={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},qh={"&":"&","<":"<",">":">",'"':""","'":"'"},Yh={"&":"&","<":"<",">":">",""":'"',"'":"'"},Wh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qh=parseFloat,zh=parseInt,Sa=typeof fi=="object"&&fi&&fi.Object===Object&&fi,Hh=typeof self=="object"&&self&&self.Object===Object&&self,Xe=Sa||Hh||Function("return this")(),ho=t&&!t.nodeType&&t,er=ho&&!0&&r&&!r.nodeType&&r,Ca=er&&er.exports===ho,go=Ca&&Sa.process,Ot=function(){try{var y=er&&er.require&&er.require("util").types;return y||go&&go.binding&&go.binding("util")}catch{}}(),xa=Ot&&Ot.isArrayBuffer,La=Ot&&Ot.isDate,Ra=Ot&&Ot.isMap,$a=Ot&&Ot.isRegExp,Ba=Ot&&Ot.isSet,Pa=Ot&&Ot.isTypedArray;function _t(y,N,F){switch(F.length){case 0:return y.call(N);case 1:return y.call(N,F[0]);case 2:return y.call(N,F[0],F[1]);case 3:return y.call(N,F[0],F[1],F[2])}return y.apply(N,F)}function Jh(y,N,F,G){for(var Z=-1,pe=y==null?0:y.length;++Z-1}function mo(y,N,F){for(var G=-1,Z=y==null?0:y.length;++G-1;);return F}function Wa(y,N){for(var F=y.length;F--&&Ar(N,y[F],0)>-1;);return F}function sd(y,N){for(var F=y.length,G=0;F--;)y[F]===N&&++G;return G}var od=vo(jh),ud=vo(qh);function ad(y){return"\\"+Wh[y]}function ld(y,N){return y==null?n:y[N]}function Fr(y){return Mh.test(y)}function cd(y){return Uh.test(y)}function fd(y){for(var N,F=[];!(N=y.next()).done;)F.push(N.value);return F}function Fo(y){var N=-1,F=Array(y.size);return y.forEach(function(G,Z){F[++N]=[Z,G]}),F}function Qa(y,N){return function(F){return y(N(F))}}function Mn(y,N){for(var F=-1,G=y.length,Z=0,pe=[];++F-1}function Zd(e,i){var a=this.__data__,c=Ki(a,e);return c<0?(++this.size,a.push([e,i])):a[c][1]=i,this}En.prototype.clear=zd,En.prototype.delete=Hd,En.prototype.get=Jd,En.prototype.has=Xd,En.prototype.set=Zd;function Dn(e){var i=-1,a=e==null?0:e.length;for(this.clear();++i=i?e:i)),e}function Lt(e,i,a,c,h,g){var D,v=i&_,A=i&O,k=i&w;if(a&&(D=h?a(e,c,h,g):a(e)),D!==n)return D;if(!Se(e))return e;var S=K(e);if(S){if(D=n0(e),!v)return pt(e,D)}else{var L=rt(e),B=L==tt||L==ua;if(Yn(e))return kl(e,v);if(L==mn||L==U||B&&!h){if(D=A||B?{}:zl(e),!v)return A?Yg(e,dg(D,e)):qg(e,sl(D,e))}else{if(!Fe[L])return h?e:{};D=r0(e,L,v)}}g||(g=new Yt);var q=g.get(e);if(q)return q;g.set(e,D),Ac(e)?e.forEach(function(H){D.add(Lt(H,i,a,H,e,g))}):Tc(e)&&e.forEach(function(H,se){D.set(se,Lt(H,i,a,se,e,g))});var z=k?A?Jo:Ho:A?dt:ze,ne=S?n:z(e);return St(ne||e,function(H,se){ne&&(se=H,H=e[se]),Kr(D,se,Lt(H,i,a,se,e,g))}),D}function gg(e){var i=ze(e);return function(a){return ol(a,e,i)}}function ol(e,i,a){var c=a.length;if(e==null)return!c;for(e=Te(e);c--;){var h=a[c],g=i[h],D=e[h];if(D===n&&!(h in e)||!g(D))return!1}return!0}function ul(e,i,a){if(typeof e!="function")throw new Ct(l);return oi(function(){e.apply(n,a)},i)}function ei(e,i,a,c){var h=-1,g=$i,D=!0,v=e.length,A=[],k=i.length;if(!v)return A;a&&(i=Ie(i,vt(a))),c?(g=mo,D=!1):i.length>=s&&(g=Qr,D=!1,i=new rr(i));e:for(;++hh?0:h+a),c=c===n||c>h?h:te(c),c<0&&(c+=h),c=a>c?0:wc(c);a0&&a(v)?i>1?Ze(v,i-1,a,c,h):Pn(h,v):c||(h[h.length]=v)}return h}var So=Rl(),cl=Rl(!0);function on(e,i){return e&&So(e,i,ze)}function Co(e,i){return e&&cl(e,i,ze)}function ts(e,i){return Bn(i,function(a){return An(e[a])})}function sr(e,i){i=jn(i,e);for(var a=0,c=i.length;e!=null&&ai}function Dg(e,i){return e!=null&&Ee.call(e,i)}function _g(e,i){return e!=null&&i in Te(e)}function vg(e,i,a){return e>=nt(i,a)&&e=120&&S.length>=120)?new rr(D&&S):n}S=e[0];var L=-1,B=v[0];e:for(;++L-1;)v!==e&&Wi.call(v,A,1),Wi.call(e,A,1);return e}function Tl(e,i){for(var a=e?i.length:0,c=a-1;a--;){var h=i[a];if(a==c||h!==g){var g=h;yn(h)?Wi.call(e,h,1):Vo(e,h)}}return e}function Mo(e,i){return e+Hi(tl()*(i-e+1))}function xg(e,i,a,c){for(var h=-1,g=Qe(zi((i-e)/(a||1)),0),D=F(g);g--;)D[c?g:++h]=e,e+=a;return D}function Uo(e,i){var a="";if(!e||i<1||i>Gt)return a;do i%2&&(a+=e),i=Hi(i/2),i&&(e+=e);while(i);return a}function re(e,i){return ru(Xl(e,i,gt),e+"")}function Lg(e){return il(Rr(e))}function Rg(e,i){var a=Rr(e);return ps(a,ir(i,0,a.length))}function ri(e,i,a,c){if(!Se(e))return e;i=jn(i,e);for(var h=-1,g=i.length,D=g-1,v=e;v!=null&&++hh?0:h+i),a=a>h?h:a,a<0&&(a+=h),h=i>a?0:a-i>>>0,i>>>=0;for(var g=F(h);++c>>1,D=e[g];D!==null&&!yt(D)&&(a?D<=i:D=s){var k=i?null:Hg(e);if(k)return Pi(k);D=!1,h=Qr,A=new rr}else A=i?[]:v;e:for(;++c=c?e:Rt(e,i,a)}var Il=bd||function(e){return Xe.clearTimeout(e)};function kl(e,i){if(i)return e.slice();var a=e.length,c=Ja?Ja(a):new e.constructor(a);return e.copy(c),c}function Wo(e){var i=new e.constructor(e.byteLength);return new qi(i).set(new qi(e)),i}function Ug(e,i){var a=i?Wo(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}function Gg(e){var i=new e.constructor(e.source,pa.exec(e));return i.lastIndex=e.lastIndex,i}function Vg(e){return Zr?Te(Zr.call(e)):{}}function Ol(e,i){var a=i?Wo(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}function Sl(e,i){if(e!==i){var a=e!==n,c=e===null,h=e===e,g=yt(e),D=i!==n,v=i===null,A=i===i,k=yt(i);if(!v&&!k&&!g&&e>i||g&&D&&A&&!v&&!k||c&&D&&A||!a&&A||!h)return 1;if(!c&&!g&&!k&&e=v)return A;var k=a[c];return A*(k=="desc"?-1:1)}}return e.index-i.index}function Cl(e,i,a,c){for(var h=-1,g=e.length,D=a.length,v=-1,A=i.length,k=Qe(g-D,0),S=F(A+k),L=!c;++v1?a[h-1]:n,D=h>2?a[2]:n;for(g=e.length>3&&typeof g=="function"?(h--,g):n,D&&at(a[0],a[1],D)&&(g=h<3?n:g,h=1),i=Te(i);++c-1?h[g?i[D]:D]:n}}function Pl(e){return Tn(function(i){var a=i.length,c=a,h=xt.prototype.thru;for(e&&i.reverse();c--;){var g=i[c];if(typeof g!="function")throw new Ct(l);if(h&&!D&&cs(g)=="wrapper")var D=new xt([],!0)}for(c=D?c:a;++c1&&le.reverse(),S&&Av))return!1;var k=g.get(e),S=g.get(i);if(k&&S)return k==i&&S==e;var L=-1,B=!0,q=a&$?new rr:n;for(g.set(e,i),g.set(i,e);++L1?"& ":"")+i[c],i=i.join(a>2?", ":" "),e.replace(oh,`{ -/* [wrapped with `+i+`] */ -`)}function s0(e){return K(e)||ar(e)||!!(Ka&&e&&e[Ka])}function yn(e,i){var a=typeof e;return i=i??Gt,!!i&&(a=="number"||a!="symbol"&&Eh.test(e))&&e>-1&&e%1==0&&e0){if(++i>=Rn)return arguments[0]}else i=0;return e.apply(n,arguments)}}function ps(e,i){var a=-1,c=e.length,h=c-1;for(i=i===n?c:i;++a1?e[i-1]:n;return a=typeof a=="function"?(e.pop(),a):n,lc(e,a)});function cc(e){var i=d(e);return i.__chain__=!0,i}function mm(e,i){return i(e),e}function hs(e,i){return i(e)}var Em=Tn(function(e){var i=e.length,a=i?e[0]:0,c=this.__wrapped__,h=function(g){return Oo(g,e)};return i>1||this.__actions__.length||!(c instanceof ue)||!yn(a)?this.thru(h):(c=c.slice(a,+a+(i?1:0)),c.__actions__.push({func:hs,args:[h],thisArg:n}),new xt(c,this.__chain__).thru(function(g){return i&&!g.length&&g.push(n),g}))});function Dm(){return cc(this)}function _m(){return new xt(this.value(),this.__chain__)}function vm(){this.__values__===n&&(this.__values__=Fc(this.value()));var e=this.__index__>=this.__values__.length,i=e?n:this.__values__[this.__index__++];return{done:e,value:i}}function Tm(){return this}function ym(e){for(var i,a=this;a instanceof Zi;){var c=rc(a);c.__index__=0,c.__values__=n,i?h.__wrapped__=c:i=c;var h=c;a=a.__wrapped__}return h.__wrapped__=e,i}function Am(){var e=this.__wrapped__;if(e instanceof ue){var i=e;return this.__actions__.length&&(i=new ue(this)),i=i.reverse(),i.__actions__.push({func:hs,args:[iu],thisArg:n}),new xt(i,this.__chain__)}return this.thru(iu)}function Fm(){return bl(this.__wrapped__,this.__actions__)}var wm=ss(function(e,i,a){Ee.call(e,a)?++e[a]:_n(e,a,1)});function bm(e,i,a){var c=K(e)?Ma:mg;return a&&at(e,i,a)&&(i=n),c(e,Q(i,3))}function Nm(e,i){var a=K(e)?Bn:ll;return a(e,Q(i,3))}var Im=Bl(ic),km=Bl(sc);function Om(e,i){return Ze(ds(e,i),1)}function Sm(e,i){return Ze(ds(e,i),sn)}function Cm(e,i,a){return a=a===n?1:te(a),Ze(ds(e,i),a)}function fc(e,i){var a=K(e)?St:Gn;return a(e,Q(i,3))}function pc(e,i){var a=K(e)?Xh:al;return a(e,Q(i,3))}var xm=ss(function(e,i,a){Ee.call(e,a)?e[a].push(i):_n(e,a,[i])});function Lm(e,i,a,c){e=ht(e)?e:Rr(e),a=a&&!c?te(a):0;var h=e.length;return a<0&&(a=Qe(h+a,0)),_s(e)?a<=h&&e.indexOf(i,a)>-1:!!h&&Ar(e,i,a)>-1}var Rm=re(function(e,i,a){var c=-1,h=typeof i=="function",g=ht(e)?F(e.length):[];return Gn(e,function(D){g[++c]=h?_t(i,D,a):ti(D,i,a)}),g}),$m=ss(function(e,i,a){_n(e,a,i)});function ds(e,i){var a=K(e)?Ie:gl;return a(e,Q(i,3))}function Bm(e,i,a,c){return e==null?[]:(K(i)||(i=i==null?[]:[i]),a=c?n:a,K(a)||(a=a==null?[]:[a]),_l(e,i,a))}var Pm=ss(function(e,i,a){e[a?0:1].push(i)},function(){return[[],[]]});function Mm(e,i,a){var c=K(e)?Eo:ja,h=arguments.length<3;return c(e,Q(i,4),a,h,Gn)}function Um(e,i,a){var c=K(e)?Zh:ja,h=arguments.length<3;return c(e,Q(i,4),a,h,al)}function Gm(e,i){var a=K(e)?Bn:ll;return a(e,Es(Q(i,3)))}function Vm(e){var i=K(e)?il:Lg;return i(e)}function jm(e,i,a){(a?at(e,i,a):i===n)?i=1:i=te(i);var c=K(e)?fg:Rg;return c(e,i)}function qm(e){var i=K(e)?pg:Bg;return i(e)}function Ym(e){if(e==null)return 0;if(ht(e))return _s(e)?wr(e):e.length;var i=rt(e);return i==Vt||i==jt?e.size:$o(e).length}function Wm(e,i,a){var c=K(e)?Do:Pg;return a&&at(e,i,a)&&(i=n),c(e,Q(i,3))}var Qm=re(function(e,i){if(e==null)return[];var a=i.length;return a>1&&at(e,i[0],i[1])?i=[]:a>2&&at(i[0],i[1],i[2])&&(i=[i[0]]),_l(e,Ze(i,1),[])}),gs=Nd||function(){return Xe.Date.now()};function zm(e,i){if(typeof i!="function")throw new Ct(l);return e=te(e),function(){if(--e<1)return i.apply(this,arguments)}}function hc(e,i,a){return i=a?n:i,i=e&&i==null?e.length:i,vn(e,et,n,n,n,n,i)}function dc(e,i){var a;if(typeof i!="function")throw new Ct(l);return e=te(e),function(){return--e>0&&(a=i.apply(this,arguments)),e<=1&&(i=n),a}}var ou=re(function(e,i,a){var c=Y;if(a.length){var h=Mn(a,xr(ou));c|=Le}return vn(e,c,i,a,h)}),gc=re(function(e,i,a){var c=Y|ce;if(a.length){var h=Mn(a,xr(gc));c|=Le}return vn(i,c,e,a,h)});function mc(e,i,a){i=a?n:i;var c=vn(e,me,n,n,n,n,n,i);return c.placeholder=mc.placeholder,c}function Ec(e,i,a){i=a?n:i;var c=vn(e,Oe,n,n,n,n,n,i);return c.placeholder=Ec.placeholder,c}function Dc(e,i,a){var c,h,g,D,v,A,k=0,S=!1,L=!1,B=!0;if(typeof e!="function")throw new Ct(l);i=Bt(i)||0,Se(a)&&(S=!!a.leading,L="maxWait"in a,g=L?Qe(Bt(a.maxWait)||0,i):g,B="trailing"in a?!!a.trailing:B);function q(Ue){var Qt=c,wn=h;return c=h=n,k=Ue,D=e.apply(wn,Qt),D}function z(Ue){return k=Ue,v=oi(se,i),S?q(Ue):D}function ne(Ue){var Qt=Ue-A,wn=Ue-k,Bc=i-Qt;return L?nt(Bc,g-wn):Bc}function H(Ue){var Qt=Ue-A,wn=Ue-k;return A===n||Qt>=i||Qt<0||L&&wn>=g}function se(){var Ue=gs();if(H(Ue))return le(Ue);v=oi(se,ne(Ue))}function le(Ue){return v=n,B&&c?q(Ue):(c=h=n,D)}function At(){v!==n&&Il(v),k=0,c=A=h=v=n}function lt(){return v===n?D:le(gs())}function Ft(){var Ue=gs(),Qt=H(Ue);if(c=arguments,h=this,A=Ue,Qt){if(v===n)return z(A);if(L)return Il(v),v=oi(se,i),q(A)}return v===n&&(v=oi(se,i)),D}return Ft.cancel=At,Ft.flush=lt,Ft}var Hm=re(function(e,i){return ul(e,1,i)}),Jm=re(function(e,i,a){return ul(e,Bt(i)||0,a)});function Xm(e){return vn(e,x)}function ms(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new Ct(l);var a=function(){var c=arguments,h=i?i.apply(this,c):c[0],g=a.cache;if(g.has(h))return g.get(h);var D=e.apply(this,c);return a.cache=g.set(h,D)||g,D};return a.cache=new(ms.Cache||Dn),a}ms.Cache=Dn;function Es(e){if(typeof e!="function")throw new Ct(l);return function(){var i=arguments;switch(i.length){case 0:return!e.call(this);case 1:return!e.call(this,i[0]);case 2:return!e.call(this,i[0],i[1]);case 3:return!e.call(this,i[0],i[1],i[2])}return!e.apply(this,i)}}function Zm(e){return dc(2,e)}var Km=Mg(function(e,i){i=i.length==1&&K(i[0])?Ie(i[0],vt(Q())):Ie(Ze(i,1),vt(Q()));var a=i.length;return re(function(c){for(var h=-1,g=nt(c.length,a);++h=i}),ar=pl(function(){return arguments}())?pl:function(e){return Re(e)&&Ee.call(e,"callee")&&!Za.call(e,"callee")},K=F.isArray,dE=xa?vt(xa):yg;function ht(e){return e!=null&&Ds(e.length)&&!An(e)}function Me(e){return Re(e)&&ht(e)}function gE(e){return e===!0||e===!1||Re(e)&&ut(e)==de}var Yn=kd||Du,mE=La?vt(La):Ag;function EE(e){return Re(e)&&e.nodeType===1&&!ui(e)}function DE(e){if(e==null)return!0;if(ht(e)&&(K(e)||typeof e=="string"||typeof e.splice=="function"||Yn(e)||Lr(e)||ar(e)))return!e.length;var i=rt(e);if(i==Vt||i==jt)return!e.size;if(si(e))return!$o(e).length;for(var a in e)if(Ee.call(e,a))return!1;return!0}function _E(e,i){return ni(e,i)}function vE(e,i,a){a=typeof a=="function"?a:n;var c=a?a(e,i):n;return c===n?ni(e,i,n,a):!!c}function au(e){if(!Re(e))return!1;var i=ut(e);return i==$n||i==Gr||typeof e.message=="string"&&typeof e.name=="string"&&!ui(e)}function TE(e){return typeof e=="number"&&el(e)}function An(e){if(!Se(e))return!1;var i=ut(e);return i==tt||i==ua||i==Pe||i==Yp}function vc(e){return typeof e=="number"&&e==te(e)}function Ds(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Gt}function Se(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function Re(e){return e!=null&&typeof e=="object"}var Tc=Ra?vt(Ra):wg;function yE(e,i){return e===i||Ro(e,i,Zo(i))}function AE(e,i,a){return a=typeof a=="function"?a:n,Ro(e,i,Zo(i),a)}function FE(e){return yc(e)&&e!=+e}function wE(e){if(a0(e))throw new Z(u);return hl(e)}function bE(e){return e===null}function NE(e){return e==null}function yc(e){return typeof e=="number"||Re(e)&&ut(e)==Vr}function ui(e){if(!Re(e)||ut(e)!=mn)return!1;var i=Yi(e);if(i===null)return!0;var a=Ee.call(i,"constructor")&&i.constructor;return typeof a=="function"&&a instanceof a&&Gi.call(a)==Ad}var lu=$a?vt($a):bg;function IE(e){return vc(e)&&e>=-Gt&&e<=Gt}var Ac=Ba?vt(Ba):Ng;function _s(e){return typeof e=="string"||!K(e)&&Re(e)&&ut(e)==qr}function yt(e){return typeof e=="symbol"||Re(e)&&ut(e)==Ci}var Lr=Pa?vt(Pa):Ig;function kE(e){return e===n}function OE(e){return Re(e)&&rt(e)==Yr}function SE(e){return Re(e)&&ut(e)==Qp}var CE=ls(Bo),xE=ls(function(e,i){return e<=i});function Fc(e){if(!e)return[];if(ht(e))return _s(e)?qt(e):pt(e);if(zr&&e[zr])return fd(e[zr]());var i=rt(e),a=i==Vt?Fo:i==jt?Pi:Rr;return a(e)}function Fn(e){if(!e)return e===0?e:0;if(e=Bt(e),e===sn||e===-sn){var i=e<0?-1:1;return i*vr}return e===e?e:0}function te(e){var i=Fn(e),a=i%1;return i===i?a?i-a:i:0}function wc(e){return e?ir(te(e),0,It):0}function Bt(e){if(typeof e=="number")return e;if(yt(e))return Kn;if(Se(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=Se(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=qa(e);var a=dh.test(e);return a||mh.test(e)?zh(e.slice(2),a?2:8):hh.test(e)?Kn:+e}function bc(e){return un(e,dt(e))}function LE(e){return e?ir(te(e),-Gt,Gt):e===0?e:0}function ge(e){return e==null?"":Tt(e)}var RE=Sr(function(e,i){if(si(i)||ht(i)){un(i,ze(i),e);return}for(var a in i)Ee.call(i,a)&&Kr(e,a,i[a])}),Nc=Sr(function(e,i){un(i,dt(i),e)}),vs=Sr(function(e,i,a,c){un(i,dt(i),e,c)}),$E=Sr(function(e,i,a,c){un(i,ze(i),e,c)}),BE=Tn(Oo);function PE(e,i){var a=Or(e);return i==null?a:sl(a,i)}var ME=re(function(e,i){e=Te(e);var a=-1,c=i.length,h=c>2?i[2]:n;for(h&&at(i[0],i[1],h)&&(c=1);++a1),g}),un(e,Jo(e),a),c&&(a=Lt(a,_|O|w,Jg));for(var h=i.length;h--;)Vo(a,i[h]);return a});function rD(e,i){return kc(e,Es(Q(i)))}var iD=Tn(function(e,i){return e==null?{}:Sg(e,i)});function kc(e,i){if(e==null)return{};var a=Ie(Jo(e),function(c){return[c]});return i=Q(i),vl(e,a,function(c,h){return i(c,h[0])})}function sD(e,i,a){i=jn(i,e);var c=-1,h=i.length;for(h||(h=1,e=n);++ci){var c=e;e=i,i=c}if(a||e%1||i%1){var h=tl();return nt(e+h*(i-e+Qh("1e-"+((h+"").length-1))),i)}return Mo(e,i)}var mD=Cr(function(e,i,a){return i=i.toLowerCase(),e+(a?Cc(i):i)});function Cc(e){return pu(ge(e).toLowerCase())}function xc(e){return e=ge(e),e&&e.replace(Dh,od).replace(Bh,"")}function ED(e,i,a){e=ge(e),i=Tt(i);var c=e.length;a=a===n?c:ir(te(a),0,c);var h=a;return a-=i.length,a>=0&&e.slice(a,h)==i}function DD(e){return e=ge(e),e&&Zp.test(e)?e.replace(ca,ud):e}function _D(e){return e=ge(e),e&&ih.test(e)?e.replace(oo,"\\$&"):e}var vD=Cr(function(e,i,a){return e+(a?"-":"")+i.toLowerCase()}),TD=Cr(function(e,i,a){return e+(a?" ":"")+i.toLowerCase()}),yD=$l("toLowerCase");function AD(e,i,a){e=ge(e),i=te(i);var c=i?wr(e):0;if(!i||c>=i)return e;var h=(i-c)/2;return as(Hi(h),a)+e+as(zi(h),a)}function FD(e,i,a){e=ge(e),i=te(i);var c=i?wr(e):0;return i&&c>>0,a?(e=ge(e),e&&(typeof i=="string"||i!=null&&!lu(i))&&(i=Tt(i),!i&&Fr(e))?qn(qt(e),0,a):e.split(i,a)):[]}var SD=Cr(function(e,i,a){return e+(a?" ":"")+pu(i)});function CD(e,i,a){return e=ge(e),a=a==null?0:ir(te(a),0,e.length),i=Tt(i),e.slice(a,a+i.length)==i}function xD(e,i,a){var c=d.templateSettings;a&&at(e,i,a)&&(i=n),e=ge(e),i=vs({},i,c,jl);var h=vs({},i.imports,c.imports,jl),g=ze(h),D=Ao(h,g),v,A,k=0,S=i.interpolate||xi,L="__p += '",B=wo((i.escape||xi).source+"|"+S.source+"|"+(S===fa?ph:xi).source+"|"+(i.evaluate||xi).source+"|$","g"),q="//# sourceURL="+(Ee.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vh+"]")+` -`;e.replace(B,function(H,se,le,At,lt,Ft){return le||(le=At),L+=e.slice(k,Ft).replace(_h,ad),se&&(v=!0,L+=`' + -__e(`+se+`) + -'`),lt&&(A=!0,L+=`'; -`+lt+`; -__p += '`),le&&(L+=`' + -((__t = (`+le+`)) == null ? '' : __t) + -'`),k=Ft+H.length,H}),L+=`'; -`;var z=Ee.call(i,"variable")&&i.variable;if(!z)L=`with (obj) { -`+L+` -} -`;else if(ch.test(z))throw new Z(f);L=(A?L.replace(zp,""):L).replace(Hp,"$1").replace(Jp,"$1;"),L="function("+(z||"obj")+`) { -`+(z?"":`obj || (obj = {}); -`)+"var __t, __p = ''"+(v?", __e = _.escape":"")+(A?`, __j = Array.prototype.join; -function print() { __p += __j.call(arguments, '') } -`:`; -`)+L+`return __p -}`;var ne=Rc(function(){return pe(g,q+"return "+L).apply(n,D)});if(ne.source=L,au(ne))throw ne;return ne}function LD(e){return ge(e).toLowerCase()}function RD(e){return ge(e).toUpperCase()}function $D(e,i,a){if(e=ge(e),e&&(a||i===n))return qa(e);if(!e||!(i=Tt(i)))return e;var c=qt(e),h=qt(i),g=Ya(c,h),D=Wa(c,h)+1;return qn(c,g,D).join("")}function BD(e,i,a){if(e=ge(e),e&&(a||i===n))return e.slice(0,za(e)+1);if(!e||!(i=Tt(i)))return e;var c=qt(e),h=Wa(c,qt(i))+1;return qn(c,0,h).join("")}function PD(e,i,a){if(e=ge(e),e&&(a||i===n))return e.replace(uo,"");if(!e||!(i=Tt(i)))return e;var c=qt(e),h=Ya(c,qt(i));return qn(c,h).join("")}function MD(e,i){var a=X,c=ot;if(Se(i)){var h="separator"in i?i.separator:h;a="length"in i?te(i.length):a,c="omission"in i?Tt(i.omission):c}e=ge(e);var g=e.length;if(Fr(e)){var D=qt(e);g=D.length}if(a>=g)return e;var v=a-wr(c);if(v<1)return c;var A=D?qn(D,0,v).join(""):e.slice(0,v);if(h===n)return A+c;if(D&&(v+=A.length-v),lu(h)){if(e.slice(v).search(h)){var k,S=A;for(h.global||(h=wo(h.source,ge(pa.exec(h))+"g")),h.lastIndex=0;k=h.exec(S);)var L=k.index;A=A.slice(0,L===n?v:L)}}else if(e.indexOf(Tt(h),v)!=v){var B=A.lastIndexOf(h);B>-1&&(A=A.slice(0,B))}return A+c}function UD(e){return e=ge(e),e&&Xp.test(e)?e.replace(la,gd):e}var GD=Cr(function(e,i,a){return e+(a?" ":"")+i.toUpperCase()}),pu=$l("toUpperCase");function Lc(e,i,a){return e=ge(e),i=a?n:i,i===n?cd(e)?Dd(e):td(e):e.match(i)||[]}var Rc=re(function(e,i){try{return _t(e,n,i)}catch(a){return au(a)?a:new Z(a)}}),VD=Tn(function(e,i){return St(i,function(a){a=an(a),_n(e,a,ou(e[a],e))}),e});function jD(e){var i=e==null?0:e.length,a=Q();return e=i?Ie(e,function(c){if(typeof c[1]!="function")throw new Ct(l);return[a(c[0]),c[1]]}):[],re(function(c){for(var h=-1;++hGt)return[];var a=It,c=nt(e,It);i=Q(i),e-=It;for(var h=yo(c,i);++a0||i<0)?new ue(a):(e<0?a=a.takeRight(-e):e&&(a=a.drop(e)),i!==n&&(i=te(i),a=i<0?a.dropRight(-i):a.take(i-e)),a)},ue.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ue.prototype.toArray=function(){return this.take(It)},on(ue.prototype,function(e,i){var a=/^(?:filter|find|map|reject)|While$/.test(i),c=/^(?:head|last)$/.test(i),h=d[c?"take"+(i=="last"?"Right":""):i],g=c||/^find/.test(i);h&&(d.prototype[i]=function(){var D=this.__wrapped__,v=c?[1]:arguments,A=D instanceof ue,k=v[0],S=A||K(D),L=function(se){var le=h.apply(d,Pn([se],v));return c&&B?le[0]:le};S&&a&&typeof k=="function"&&k.length!=1&&(A=S=!1);var B=this.__chain__,q=!!this.__actions__.length,z=g&&!B,ne=A&&!q;if(!g&&S){D=ne?D:new ue(this);var H=e.apply(D,v);return H.__actions__.push({func:hs,args:[L],thisArg:n}),new xt(H,B)}return z&&ne?e.apply(this,v):(H=this.thru(L),z?c?H.value()[0]:H.value():H)})}),St(["pop","push","shift","sort","splice","unshift"],function(e){var i=Mi[e],a=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",c=/^(?:pop|shift)$/.test(e);d.prototype[e]=function(){var h=arguments;if(c&&!this.__chain__){var g=this.value();return i.apply(K(g)?g:[],h)}return this[a](function(D){return i.apply(K(D)?D:[],h)})}}),on(ue.prototype,function(e,i){var a=d[i];if(a){var c=a.name+"";Ee.call(kr,c)||(kr[c]=[]),kr[c].push({name:i,func:a})}}),kr[os(n,ce).name]=[{name:"wrapper",func:n}],ue.prototype.clone=Ud,ue.prototype.reverse=Gd,ue.prototype.value=Vd,d.prototype.at=Em,d.prototype.chain=Dm,d.prototype.commit=_m,d.prototype.next=vm,d.prototype.plant=ym,d.prototype.reverse=Am,d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=Fm,d.prototype.first=d.prototype.head,zr&&(d.prototype[zr]=Tm),d},br=_d();er?((er.exports=br)._=br,ho._=br):Xe._=br}).call(fi)})(xs,xs.exports);var LT=xs.exports;const On=xT(LT);function RT(){return{convert:r=>{if(r===null||r===void 0)return null;switch(typeof r){case"boolean":return r;case"string":{const t=r.toLowerCase().trim();return t==="true"||t==="t"||t==="1"}case"number":return r!==0;default:return null}},asString:r=>String(r),type:r=>r.boolean().optional()}}function wt(r,t){const n=o=>t.convert(o[r]);return{name:$T(r),key:r,asEnv:o=>({[r]:t.asString(o)}),zod:{type:t.type},get:n,getOrDefault:(o,s)=>n(o)??s}}function $T(r){return r.toLowerCase().replace(/([-_][a-z])/gi,t=>t.toUpperCase().replace("-","").replace("_",""))}wt("MAGIDOC_GENERATE",RT());function ys(r){return{convert:t=>{if(Array.isArray(t))return t;if(typeof t=="string"){const n=JSON.parse(t);return Array.isArray(n)?n:null}return null},asString:t=>JSON.stringify(t),type:t=>t.array(r(t)).optional()}}function uf(r){return{convert:t=>{if(typeof t=="object")return t;if(typeof t=="string"){const n=JSON.parse(t);return typeof n!="object"?null:n}return null},asString:t=>JSON.stringify(t),type:t=>t.record(r(t).optional()).optional()}}function As(){return{convert:r=>r==null||r===""?null:String(r),asString:r=>String(r),type:r=>r.string().optional()}}function af(r){return{convert:t=>t==null||!r.find(n=>n===t)?null:t,asString:t=>String(t),type:t=>t.enum(r).optional()}}var Vs={APP_LOGO:wt("APP_LOGO",As()),APP_TITLE:wt("APP_TITLE",As()),APP_FAVICON:wt("APP_FAVICON",As()),SITE_ROOT:wt("SITE_ROOT",As()),SITE_META:wt("SITE_META",uf(r=>r.string())),CUSTOM_STYLES:wt("CUSTOM_STYLES",ys(r=>r.string())),FIELDS_SORTING:wt("FIELDS_SORTING",af(["default","alphabetical"])),ARGUMENTS_SORTING:wt("ARGUMENTS_SORTING",af(["default","alphabetical"])),QUERY_GENERATION_FACTORIES:wt("QUERY_GENERATION_FACTORIES",uf(r=>r.union([r.string(),r.boolean(),r.number(),r.null(),r.record(r.unknown())]))),PAGES:wt("PAGES",ys(r=>{const t=r.lazy(()=>r.object({title:r.string().min(1),content:r.union([r.array(t),r.string().min(1)])}));return t})),EXTERNAL_LINKS:wt("EXTERNAL_LINKS",ys(r=>r.object({label:r.string().min(1),href:r.string().min(1),position:r.union([r.literal("header"),r.literal("navigation")]).optional(),kind:r.string().min(1).optional(),group:r.string().min(1).optional()}))),DIRECTIVES:wt("DIRECTIVES",ys(r=>r.object({name:r.string().min(1),args:r.array(r.string())})))};const BT="/docs",PT="LDOG Stack",MT="https://raw.githubusercontent.com/API-Skeletons/ldog/2.0.x/public/assets/icon.png",UT="https://raw.githubusercontent.com/API-Skeletons/ldog/2.0.x/public/assets/smalllogo.png",GT='{"description":"A PHP Stack with Laravel, Doctrine ORM, and GraphQL.","og:description":"A PHP Stack with Laravel, Doctrine ORM, and GraphQL.","keywords":"laravel,doctrine,orm,graphql","author":"API Skeletons, Inc. ","og:title":"LDOG Stack","og:type":"article","og:image":"https://raw.githubusercontent.com/API-Skeletons/ldog/main/public/assets/share.png"}',VT='[{"title":"Introduction","content":[{"title":"Welcome","content":"\\n\\n# The LDOG Stack for PHP\\n\\n## Laravel, Doctrine ORM, and GraphQL\\n\\nThis is a template application for building GraphQL applications in\\nLaravel with Doctrine ORM. **Known as the LDOG (el-dog) Stack.**\\n\\nTo create a new project run\\n```\\ncomposer create-project api-skeletons/ldog\\n```\\n\\nSource code available at https://github.com/api-skeletons/ldog\\n\\nThis site is the ldog project running on Google Cloud. It includes an example\\nDoctrine ORM schema and database served as GraphQL.\\n\\nYou may explore the GraphQL with [graphiql](https://ldog.apiskeletons.dev/graphiql)\\nor POST to this server\'s GraphQL endpoint at https://ldog.apisketons.dev\\n\\n\\n## Features\\n\\n* Dockerfile suitable to immediate deployment to Cloud Run\\n* docker-compose.yml file - no Laravel Sail integration\\n* Doctrine ORM configured for XML metadata and no database naming strategy\\n* Includes the [api-skeletons/doctrine-orm-graphql](https://github.com/api-skeletons/doctrine-orm-graphql)\\n type driver\\n* The [GraphQLController](https://github.com/API-Skeletons/ldog/blob/main/app/Http/Controllers/GraphQLController.php)\\n is pre-configured with example endpoints for connection, entity, and mutation\\n* The Doctrine [entities](https://github.com/API-Skeletons/ldog/blob/main/app/Doctrine/ORM/Entity/Artist.php)\\n have default configuration for [api-skeletons/doctrine-orm-graphql](https://github.com/API-Skeletons/doctrine-orm-graphql)\\n* Authorization provided by [api-skeletons/laravel-doctrine-apikey](https://github.com/API-Skeletons/laravel-doctrine-apikey)\\n and [laravel/passort](https://laravel.com/docs/10.x/passport)\\n* The Laravel code has been modified so the entire project passes the\\n [Doctrine Coding Standard](https://www.doctrine-project.org/projects/doctrine-coding-standard/en/11.0/reference/index.html)\\n* Code quality tools include parallel-lint, phpcs, psalm, and phpunit\\n* An unit test is included that tests the GraphQL endpoints\\n\\n\\n## Why use this template application?\\n\\nThis template application is based on Laravel 10.x. Nothing has been taken away from that\\ndefault Laravel release but a lot has been added.\\n\\nThere are many GraphQL solutions available including those that integrate with Laravel\\nand Eloquent. But Doctrine ORM is the superior ORM because it is a\\n[data mapper pattern](https://www.thoughtfulcode.com/orm-active-record-vs-data-mapper/).\\n\\nThe [doctrine-orm-graphql](https://github.com/api-skeletons/doctrine-orm-graphql) library\\ncreates the types for your Doctrine entities and has numerous other features.\\n\\nA [Skipper](https://skipper18.com) diagram is included and the example database metadata\\nis exported from it as XML. The advantages of XML metadata over annotations or attributes\\nare many and not needing to edit the XML manually is a big benefit.\\n\\n\\n## Convert an existing database to GraphQL\\n\\nUsing skipper, import a new external model and import your database. Change the\\nExport Data Format to XML and set the path to `~/config/doctrine-orm-metadata`.\\nExport from Skipper and build your entities. Turn on `globalEnable` in the driver\\nand create at least one endpoint.\\n\\n\\n## Support\\n\\nSupport for this template application is available through\\n[API Skeletons](mailto:contact@apiskeletons.com).\\n"},{"title":"Getting Started","content":"# Getting Started\\n\\n* Copy `.env.example` or `.env.dev` to `.env`\\n* Run `docker-compose up -d`\\n* Connect to the docker instance by running `docker ps` to get the instance id,\\n then `docker exec -it {instanceId} bash`\\n* Run `composer install`\\n* Create the database with `php artisan doctrine:schema:create`\\n* Generate the GraphQL documentation with `magidoc generate`\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"},{"title":"Security","content":"Security\\n========\\n\\nThe security of your data is important to us. We have implemented industry standard security\\nmeasures to protect your data.\\n\\nBoth API Key and OAuth2 are supported for authentication.\\n\\nAPI Key\\n-------\\n\\nTo test API Key security, POST to https://ldog.apiskeletons.dev/apikey with the following header:\\n\\n```\\nAuthorization: Bearer HkwFkpby6MXJOnpC5QAb1Z4N1o2QmkSsXQPXOkMi0NgTU6Y6zcAgymm5AWJ7GGCV\\n```\\n\\nAPI Key security is implemented with https://github.com/API-Skeletons/laravel-doctrine-apikey\\nSee the documentation for that package for more information.\\n\\n\\nOAuth2\\n------\\n\\nOAuth2 is not configured by default with this project.\\nIf you want to implement Passport, you must use version 11 of [api-skeletongs/doctrine-orm-graphql](https://github.com/API-Skeletons/doctrine-orm-graphql) \\n\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"Database Quality","content":[{"title":"Doctrine ERD with Skipper","content":"# Doctrine ERD with Skipper\\n\\nIncluded is an ERD you can use to extend your project\'s database. The ERD is created with [Skipper](https://skipper18.com).\\nFind it at `~/ldog.skipper`.\\n\\nThis an an immensely powerful tool and every Doctrine ORM project should use it.\\n\\nThis is the ERD for the entities used in developing the stack.\\n\\n\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"},{"title":"Fixtures","content":"# Fixtures\\n\\nIncluded with LDOG is a Laravel Doctrine fixture library. There are two included fixtures. To rebuild the\\nSQLite database, copy `.env.dev` to `.env`, delete the `~/database/database.sqlite` file, and run\\n\\n```\\nrm database/database.sqlite\\nphp artisan doctrine:schema:create\\nphp artisan doctrine:data-fixture:import faker\\n```\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"Code Quality","content":[{"title":"Composer Tools for Code Quality","content":"# Composer Tools for Code Quality\\n\\nTo ensure code quality, run `composer test` to run the following:\\n\\n* [Parallel Lint](https://github.com/php-parallel-lint/PHP-Parallel-Lint)\\n* [Doctrine Coding Standard](https://www.doctrine-project.org/projects/doctrine-coding-standard/en/11.0/reference/index.html)\\n* [Psalm](https://psalm.dev/docs/)\\n* [PHPUnit](https://docs.phpunit.de/en/10.5/)\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"GraphQL Quality","content":[{"title":"doctrine-orm-graphql","content":"Central to developing GraphQL for your project is the \\n[api-skeletons/doctrine-orm-graphql](https://github.com/api-skeletons/doctrine-orm-graphql) library.\\n\\nDeveloped over 6 years, this tool is the most powerful GraphQL tool for Doctrine ORM. \\n\\n\\n## Documentation\\n\\nhttps://doctrine-orm-graphql.apiskeletons.dev/en/latest/\\n"}]},{"title":"Generate Quality Documentation","content":[{"title":"GraphQL Documentation","content":"# GraphQL Documentation\\n\\nGraphQL documentation is created with `magidoc`. Inside the container and from the root of the project,\\n`/var/www`, run `magidoc generate` to create the documentation.\\n\\nConfiguration is done via the `~/magidoc.mjs` file.\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"Help Resources","content":[{"title":"External Documentation","content":"# Help Resources\\n\\n* Laravel - https://laravel.com/docs/11.x\\n* Doctrine - https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/index.html\\n* Laravel Doctrine ORM - https://github.com/laravel-doctrine/orm\\n* GraphQL Documentation - https://graphql.org/learn/\\n* GraphQL-php - https://webonyx.github.io/graphql-php/\\n* GraphQL Type Driver for Doctrine ORM - https://doctrine-orm-graphql.apiskeletons.dev/en/latest/\\n* API Key - https://github.com/API-Skeletons/laravel-doctrine-apikey\\n* Passport - https://laravel.com/docs/10.x/passport\\n* Skipper - https://www.skipper18.com/help/\\n* magidoc - https://magidoc.js.org/introduction/welcome\\n* migrations - https://laraveldoctrine.org/docs/1.8/migrations\\n* data fixtures - https://github.com/API-Skeletons/laravel-doctrine-data-fixtures/blob/main/README.md\\n* parallel-lint - https://packagist.org/packages/php-parallel-lint/php-parallel-lint\\n* phpcs - https://github.com/PHPCSStandards/PHP_CodeSniffer\\n* psalm - https://psalm.dev/docs/\\n* phpunit -https://docs.phpunit.de/en/10.5/\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"LICENSE","content":[{"title":"LICENSE","content":"The MIT License (MIT)\\n\\nCopyright (c) 2024 API Skeletons, Inc. \\nCopyright (c) Taylor Otwell\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy\\nof this software and associated documentation files (the \\"Software\\"), to deal\\nin the Software without restriction, including without limitation the rights\\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the Software is\\nfurnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all\\ncopies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\nSOFTWARE.\\n"}]}]',jT="true",Qf={SITE_ROOT:BT,APP_TITLE:PT,APP_FAVICON:MT,APP_LOGO:UT,SITE_META:GT,PAGES:VT,MAGIDOC_GENERATE:jT};function $A(r){return r.get(Qf)}function js(r,t){return r.getOrDefault(Qf,t)}function qs(){return js(Vs.SITE_ROOT,x_)}class qT{constructor(t){ye(this,"mapping");this.mapping=t}getFor(t){return this.mapping.get(t.name)}}var Ei;(function(r){r.UNION="union",r.ARGUMENT="argument",r.FIELD="field"})(Ei||(Ei={}));function fe(r,t){if(!!!r)throw new Error(t)}function Sn(r){return typeof r=="object"&&r!==null}function Xt(r,t){if(!!!r)throw new Error(t??"Unexpected invariant triggered.")}const YT=/\r\n|[\n\r]/g;function ku(r,t){let n=0,o=1;for(const s of r.body.matchAll(YT)){if(typeof s.index=="number"||Xt(!1),s.index>=t)break;n=s.index+s[0].length,o+=1}return{line:o,column:t+1-n}}function WT(r){return zf(r.source,ku(r.source,r.start))}function zf(r,t){const n=r.locationOffset.column-1,o="".padStart(n)+r.body,s=t.line-1,u=r.locationOffset.line-1,l=t.line+u,f=t.line===1?n:0,p=t.column+f,m=`${r.name}:${l}:${p} -`,E=o.split(/\r\n|[\n\r]/g),_=E[s];if(_.length>120){const O=Math.floor(p/80),w=p%80,I=[];for(let $=0;$<_.length;$+=80)I.push(_.slice($,$+80));return m+lf([[`${l} |`,I[0]],...I.slice(1,O+1).map($=>["|",$]),["|","^".padStart(w)],["|",I[O+1]]])}return m+lf([[`${l-1} |`,E[s-1]],[`${l} |`,_],["|","^".padStart(p)],[`${l+1} |`,E[s+1]]])}function lf(r){const t=r.filter(([o,s])=>s!==void 0),n=Math.max(...t.map(([o])=>o.length));return t.map(([o,s])=>o.padStart(n)+(s?" "+s:"")).join(` -`)}function QT(r){const t=r[0];return t==null||"kind"in t||"length"in t?{nodes:t,source:r[1],positions:r[2],path:r[3],originalError:r[4],extensions:r[5]}:t}class R extends Error{constructor(t,...n){var o,s,u;const{nodes:l,source:f,positions:p,path:m,originalError:E,extensions:_}=QT(n);super(t),this.name="GraphQLError",this.path=m??void 0,this.originalError=E??void 0,this.nodes=cf(Array.isArray(l)?l:l?[l]:void 0);const O=cf((o=this.nodes)===null||o===void 0?void 0:o.map(I=>I.loc).filter(I=>I!=null));this.source=f??(O==null||(s=O[0])===null||s===void 0?void 0:s.source),this.positions=p??(O==null?void 0:O.map(I=>I.start)),this.locations=p&&f?p.map(I=>ku(f,I)):O==null?void 0:O.map(I=>ku(I.source,I.start));const w=Sn(E==null?void 0:E.extensions)?E==null?void 0:E.extensions:void 0;this.extensions=(u=_??w)!==null&&u!==void 0?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),E!=null&&E.stack?Object.defineProperty(this,"stack",{value:E.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,R):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let t=this.message;if(this.nodes)for(const n of this.nodes)n.loc&&(t+=` - -`+WT(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` - -`+zf(this.source,n);return t}toJSON(){const t={message:this.message};return this.locations!=null&&(t.locations=this.locations),this.path!=null&&(t.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(t.extensions=this.extensions),t}}function cf(r){return r===void 0||r.length===0?void 0:r}function He(r,t,n){return new R(`Syntax Error: ${n}`,{source:r,positions:[t]})}class zT{constructor(t,n,o){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=o}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Hf{constructor(t,n,o,s,u,l){this.kind=t,this.start=n,this.end=o,this.line=s,this.column=u,this.value=l,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Jf={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},HT=new Set(Object.keys(Jf));function ff(r){const t=r==null?void 0:r.kind;return typeof t=="string"&&HT.has(t)}var Pt;(function(r){r.QUERY="query",r.MUTATION="mutation",r.SUBSCRIPTION="subscription"})(Pt||(Pt={}));var W;(function(r){r.QUERY="QUERY",r.MUTATION="MUTATION",r.SUBSCRIPTION="SUBSCRIPTION",r.FIELD="FIELD",r.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",r.FRAGMENT_SPREAD="FRAGMENT_SPREAD",r.INLINE_FRAGMENT="INLINE_FRAGMENT",r.VARIABLE_DEFINITION="VARIABLE_DEFINITION",r.SCHEMA="SCHEMA",r.SCALAR="SCALAR",r.OBJECT="OBJECT",r.FIELD_DEFINITION="FIELD_DEFINITION",r.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.ENUM_VALUE="ENUM_VALUE",r.INPUT_OBJECT="INPUT_OBJECT",r.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(W||(W={}));var T;(function(r){r.NAME="Name",r.DOCUMENT="Document",r.OPERATION_DEFINITION="OperationDefinition",r.VARIABLE_DEFINITION="VariableDefinition",r.SELECTION_SET="SelectionSet",r.FIELD="Field",r.ARGUMENT="Argument",r.FRAGMENT_SPREAD="FragmentSpread",r.INLINE_FRAGMENT="InlineFragment",r.FRAGMENT_DEFINITION="FragmentDefinition",r.VARIABLE="Variable",r.INT="IntValue",r.FLOAT="FloatValue",r.STRING="StringValue",r.BOOLEAN="BooleanValue",r.NULL="NullValue",r.ENUM="EnumValue",r.LIST="ListValue",r.OBJECT="ObjectValue",r.OBJECT_FIELD="ObjectField",r.DIRECTIVE="Directive",r.NAMED_TYPE="NamedType",r.LIST_TYPE="ListType",r.NON_NULL_TYPE="NonNullType",r.SCHEMA_DEFINITION="SchemaDefinition",r.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",r.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",r.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",r.FIELD_DEFINITION="FieldDefinition",r.INPUT_VALUE_DEFINITION="InputValueDefinition",r.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",r.UNION_TYPE_DEFINITION="UnionTypeDefinition",r.ENUM_TYPE_DEFINITION="EnumTypeDefinition",r.ENUM_VALUE_DEFINITION="EnumValueDefinition",r.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",r.DIRECTIVE_DEFINITION="DirectiveDefinition",r.SCHEMA_EXTENSION="SchemaExtension",r.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",r.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",r.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",r.UNION_TYPE_EXTENSION="UnionTypeExtension",r.ENUM_TYPE_EXTENSION="EnumTypeExtension",r.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(T||(T={}));function Ou(r){return r===9||r===32}function yi(r){return r>=48&&r<=57}function Xf(r){return r>=97&&r<=122||r>=65&&r<=90}function Ju(r){return Xf(r)||r===95}function Zf(r){return Xf(r)||yi(r)||r===95}function JT(r){var t;let n=Number.MAX_SAFE_INTEGER,o=null,s=-1;for(let l=0;lf===0?l:l.slice(n)).slice((t=o)!==null&&t!==void 0?t:0,s+1)}function XT(r){let t=0;for(;t1&&o.slice(1).every(w=>w.length===0||Ou(w.charCodeAt(0))),l=n.endsWith('\\"""'),f=r.endsWith('"')&&!l,p=r.endsWith("\\"),m=f||p,E=!s||r.length>70||m||u||l;let _="";const O=s&&Ou(r.charCodeAt(0));return(E&&!O||u)&&(_+=` -`),_+=n,(E||m)&&(_+=` -`),'"""'+_+'"""'}var C;(function(r){r.SOF="",r.EOF="",r.BANG="!",r.DOLLAR="$",r.AMP="&",r.PAREN_L="(",r.PAREN_R=")",r.SPREAD="...",r.COLON=":",r.EQUALS="=",r.AT="@",r.BRACKET_L="[",r.BRACKET_R="]",r.BRACE_L="{",r.PIPE="|",r.BRACE_R="}",r.NAME="Name",r.INT="Int",r.FLOAT="Float",r.STRING="String",r.BLOCK_STRING="BlockString",r.COMMENT="Comment"})(C||(C={}));class KT{constructor(t){const n=new Hf(C.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let t=this.token;if(t.kind!==C.EOF)do if(t.next)t=t.next;else{const n=ty(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===C.COMMENT);return t}}function ey(r){return r===C.BANG||r===C.DOLLAR||r===C.AMP||r===C.PAREN_L||r===C.PAREN_R||r===C.SPREAD||r===C.COLON||r===C.EQUALS||r===C.AT||r===C.BRACKET_L||r===C.BRACKET_R||r===C.BRACE_L||r===C.PIPE||r===C.BRACE_R}function Mr(r){return r>=0&&r<=55295||r>=57344&&r<=1114111}function Ys(r,t){return Kf(r.charCodeAt(t))&&ep(r.charCodeAt(t+1))}function Kf(r){return r>=55296&&r<=56319}function ep(r){return r>=56320&&r<=57343}function hr(r,t){const n=r.source.body.codePointAt(t);if(n===void 0)return C.EOF;if(n>=32&&n<=126){const o=String.fromCodePoint(n);return o==='"'?`'"'`:`"${o}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function je(r,t,n,o,s){const u=r.line,l=1+n-r.lineStart;return new Hf(t,n,o,u,l,s)}function ty(r,t){const n=r.source.body,o=n.length;let s=t;for(;s=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:-1}function uy(r,t){const n=r.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` -`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw He(r.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function ay(r,t){const n=r.source.body,o=n.length;let s=r.lineStart,u=t+3,l=u,f="";const p=[];for(;utp?"["+gy(r)+"]":"{ "+n.map(([s,u])=>s+": "+Ws(u,t)).join(", ")+" }"}function dy(r,t){if(r.length===0)return"[]";if(t.length>tp)return"[Array]";const n=Math.min(cy,r.length),o=r.length-n,s=[];for(let u=0;u1&&s.push(`... ${o} more items`),"["+s.join(", ")+"]"}function gy(r){const t=Object.prototype.toString.call(r).replace(/^\[object /,"").replace(/]$/,"");if(t==="Object"&&typeof r.constructor=="function"){const n=r.constructor.name;if(typeof n=="string"&&n!=="")return n}return t}const my=globalThis.process&&!0,dn=my?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var o;const s=n.prototype[Symbol.toStringTag],u=Symbol.toStringTag in t?t[Symbol.toStringTag]:(o=t.constructor)===null||o===void 0?void 0:o.name;if(s===u){const l=M(t);throw new Error(`Cannot use ${s} "${l}" from another module or realm. - -Ensure that there is only one instance of "graphql" in the node_modules -directory. If different versions of "graphql" are the dependencies of other -relied on modules, use "resolutions" to ensure only one version is installed. - -https://yarnpkg.com/en/docs/selective-version-resolutions - -Duplicate "graphql" modules cannot be used at the same time since different -versions may have different capabilities and behavior. The data from one -version used in the function from another could produce confusing and -spurious results.`)}}return!1};class np{constructor(t,n="GraphQL request",o={line:1,column:1}){typeof t=="string"||fe(!1,`Body must be a string. Received: ${M(t)}.`),this.body=t,this.name=n,this.locationOffset=o,this.locationOffset.line>0||fe(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||fe(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function Ey(r){return dn(r,np)}function Dy(r,t){return new rp(r,t).parseDocument()}function _y(r,t){const n=new rp(r,t);n.expectToken(C.SOF);const o=n.parseValueLiteral(!1);return n.expectToken(C.EOF),o}class rp{constructor(t,n={}){const o=Ey(t)?t:new np(t);this._lexer=new KT(o),this._options=n,this._tokenCounter=0}parseName(){const t=this.expectToken(C.NAME);return this.node(t,{kind:T.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:T.DOCUMENT,definitions:this.many(C.SOF,this.parseDefinition,C.EOF)})}parseDefinition(){if(this.peek(C.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===C.NAME){switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(t)throw He(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){const t=this._lexer.token;if(this.peek(C.BRACE_L))return this.node(t,{kind:T.OPERATION_DEFINITION,operation:Pt.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let o;return this.peek(C.NAME)&&(o=this.parseName()),this.node(t,{kind:T.OPERATION_DEFINITION,operation:n,name:o,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(C.NAME);switch(t.value){case"query":return Pt.QUERY;case"mutation":return Pt.MUTATION;case"subscription":return Pt.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(C.PAREN_L,this.parseVariableDefinition,C.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:T.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(C.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(C.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(C.DOLLAR),this.node(t,{kind:T.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:T.SELECTION_SET,selections:this.many(C.BRACE_L,this.parseSelection,C.BRACE_R)})}parseSelection(){return this.peek(C.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let o,s;return this.expectOptionalToken(C.COLON)?(o=n,s=this.parseName()):s=n,this.node(t,{kind:T.FIELD,alias:o,name:s,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(C.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(C.PAREN_L,n,C.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,o=this.parseName();return this.expectToken(C.COLON),this.node(n,{kind:T.ARGUMENT,name:o,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(C.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(C.NAME)?this.node(t,{kind:T.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:T.INLINE_FRAGMENT,typeCondition:n?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const t=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(t,{kind:T.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(t,{kind:T.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(t){const n=this._lexer.token;switch(n.kind){case C.BRACKET_L:return this.parseList(t);case C.BRACE_L:return this.parseObject(t);case C.INT:return this.advanceLexer(),this.node(n,{kind:T.INT,value:n.value});case C.FLOAT:return this.advanceLexer(),this.node(n,{kind:T.FLOAT,value:n.value});case C.STRING:case C.BLOCK_STRING:return this.parseStringLiteral();case C.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:T.BOOLEAN,value:!0});case"false":return this.node(n,{kind:T.BOOLEAN,value:!1});case"null":return this.node(n,{kind:T.NULL});default:return this.node(n,{kind:T.ENUM,value:n.value})}case C.DOLLAR:if(t)if(this.expectToken(C.DOLLAR),this._lexer.token.kind===C.NAME){const o=this._lexer.token.value;throw He(this._lexer.source,n.start,`Unexpected variable "$${o}" in constant value.`)}else throw this.unexpected(n);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const t=this._lexer.token;return this.advanceLexer(),this.node(t,{kind:T.STRING,value:t.value,block:t.kind===C.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:T.LIST,values:this.any(C.BRACKET_L,n,C.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:T.OBJECT,fields:this.any(C.BRACE_L,n,C.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,o=this.parseName();return this.expectToken(C.COLON),this.node(n,{kind:T.OBJECT_FIELD,name:o,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(C.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(C.AT),this.node(n,{kind:T.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(C.BRACKET_L)){const o=this.parseTypeReference();this.expectToken(C.BRACKET_R),n=this.node(t,{kind:T.LIST_TYPE,type:o})}else n=this.parseNamedType();return this.expectOptionalToken(C.BANG)?this.node(t,{kind:T.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:T.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(C.STRING)||this.peek(C.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const o=this.parseConstDirectives(),s=this.many(C.BRACE_L,this.parseOperationTypeDefinition,C.BRACE_R);return this.node(t,{kind:T.SCHEMA_DEFINITION,description:n,directives:o,operationTypes:s})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(C.COLON);const o=this.parseNamedType();return this.node(t,{kind:T.OPERATION_TYPE_DEFINITION,operation:n,type:o})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const o=this.parseName(),s=this.parseConstDirectives();return this.node(t,{kind:T.SCALAR_TYPE_DEFINITION,description:n,name:o,directives:s})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const o=this.parseName(),s=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(t,{kind:T.OBJECT_TYPE_DEFINITION,description:n,name:o,interfaces:s,directives:u,fields:l})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(C.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(C.BRACE_L,this.parseFieldDefinition,C.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),o=this.parseName(),s=this.parseArgumentDefs();this.expectToken(C.COLON);const u=this.parseTypeReference(),l=this.parseConstDirectives();return this.node(t,{kind:T.FIELD_DEFINITION,description:n,name:o,arguments:s,type:u,directives:l})}parseArgumentDefs(){return this.optionalMany(C.PAREN_L,this.parseInputValueDef,C.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),o=this.parseName();this.expectToken(C.COLON);const s=this.parseTypeReference();let u;this.expectOptionalToken(C.EQUALS)&&(u=this.parseConstValueLiteral());const l=this.parseConstDirectives();return this.node(t,{kind:T.INPUT_VALUE_DEFINITION,description:n,name:o,type:s,defaultValue:u,directives:l})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const o=this.parseName(),s=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(t,{kind:T.INTERFACE_TYPE_DEFINITION,description:n,name:o,interfaces:s,directives:u,fields:l})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const o=this.parseName(),s=this.parseConstDirectives(),u=this.parseUnionMemberTypes();return this.node(t,{kind:T.UNION_TYPE_DEFINITION,description:n,name:o,directives:s,types:u})}parseUnionMemberTypes(){return this.expectOptionalToken(C.EQUALS)?this.delimitedMany(C.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const o=this.parseName(),s=this.parseConstDirectives(),u=this.parseEnumValuesDefinition();return this.node(t,{kind:T.ENUM_TYPE_DEFINITION,description:n,name:o,directives:s,values:u})}parseEnumValuesDefinition(){return this.optionalMany(C.BRACE_L,this.parseEnumValueDefinition,C.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),o=this.parseEnumValueName(),s=this.parseConstDirectives();return this.node(t,{kind:T.ENUM_VALUE_DEFINITION,description:n,name:o,directives:s})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw He(this._lexer.source,this._lexer.token.start,`${Fs(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("input");const o=this.parseName(),s=this.parseConstDirectives(),u=this.parseInputFieldsDefinition();return this.node(t,{kind:T.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:o,directives:s,fields:u})}parseInputFieldsDefinition(){return this.optionalMany(C.BRACE_L,this.parseInputValueDef,C.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===C.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)}parseSchemaExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const n=this.parseConstDirectives(),o=this.optionalMany(C.BRACE_L,this.parseOperationTypeDefinition,C.BRACE_R);if(n.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:T.SCHEMA_EXTENSION,directives:n,operationTypes:o})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),o=this.parseConstDirectives();if(o.length===0)throw this.unexpected();return this.node(t,{kind:T.SCALAR_TYPE_EXTENSION,name:n,directives:o})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),o=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(o.length===0&&s.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:T.OBJECT_TYPE_EXTENSION,name:n,interfaces:o,directives:s,fields:u})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),o=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(o.length===0&&s.length===0&&u.length===0)throw this.unexpected();return this.node(t,{kind:T.INTERFACE_TYPE_EXTENSION,name:n,interfaces:o,directives:s,fields:u})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),o=this.parseConstDirectives(),s=this.parseUnionMemberTypes();if(o.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:T.UNION_TYPE_EXTENSION,name:n,directives:o,types:s})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),o=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();if(o.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:T.ENUM_TYPE_EXTENSION,name:n,directives:o,values:s})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),o=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();if(o.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:T.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:o,fields:s})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(C.AT);const o=this.parseName(),s=this.parseArgumentDefs(),u=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const l=this.parseDirectiveLocations();return this.node(t,{kind:T.DIRECTIVE_DEFINITION,description:n,name:o,arguments:s,repeatable:u,locations:l})}parseDirectiveLocations(){return this.delimitedMany(C.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(W,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new zT(t,this._lexer.lastToken,this._lexer.source)),n}peek(t){return this._lexer.token.kind===t}expectToken(t){const n=this._lexer.token;if(n.kind===t)return this.advanceLexer(),n;throw He(this._lexer.source,n.start,`Expected ${ip(t)}, found ${Fs(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===C.NAME&&n.value===t)this.advanceLexer();else throw He(this._lexer.source,n.start,`Expected "${t}", found ${Fs(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===C.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return He(this._lexer.source,n.start,`Unexpected ${Fs(n)}.`)}any(t,n,o){this.expectToken(t);const s=[];for(;!this.expectOptionalToken(o);)s.push(n.call(this));return s}optionalMany(t,n,o){if(this.expectOptionalToken(t)){const s=[];do s.push(n.call(this));while(!this.expectOptionalToken(o));return s}return[]}many(t,n,o){this.expectToken(t);const s=[];do s.push(n.call(this));while(!this.expectOptionalToken(o));return s}delimitedMany(t,n){this.expectOptionalToken(t);const o=[];do o.push(n.call(this));while(this.expectOptionalToken(t));return o}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==C.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw He(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function Fs(r){const t=r.value;return ip(r.kind)+(t!=null?` "${t}"`:"")}function ip(r){return ey(r)?`"${r}"`:r}const vy=5;function Jn(r,t){const[n,o]=t?[r,t]:[void 0,r];let s=" Did you mean ";n&&(s+=n+" ");const u=o.map(p=>`"${p}"`);switch(u.length){case 0:return"";case 1:return s+u[0]+"?";case 2:return s+u[0]+" or "+u[1]+"?"}const l=u.slice(0,vy),f=l.pop();return s+l.join(", ")+", or "+f+"?"}function hf(r){return r}function dr(r,t){const n=Object.create(null);for(const o of r)n[t(o)]=o;return n}function cr(r,t,n){const o=Object.create(null);for(const s of r)o[t(s)]=n(s);return o}function bn(r,t){const n=Object.create(null);for(const o of Object.keys(r))n[o]=t(r[o],o);return n}function Xu(r,t){let n=0,o=0;for(;n0);let f=0;do++o,f=f*10+u-Su,u=t.charCodeAt(o);while(ws(u)&&f>0);if(lf)return 1}else{if(su)return 1;++n,++o}}return r.length-t.length}const Su=48,Ty=57;function ws(r){return!isNaN(r)&&Su<=r&&r<=Ty}function Dr(r,t){const n=Object.create(null),o=new yy(r),s=Math.floor(r.length*.4)+1;for(const u of t){const l=o.measure(u,s);l!==void 0&&(n[u]=l)}return Object.keys(n).sort((u,l)=>{const f=n[u]-n[l];return f!==0?f:Xu(u,l)})}class yy{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=df(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}measure(t,n){if(this._input===t)return 0;const o=t.toLowerCase();if(this._inputLowerCase===o)return 1;let s=df(o),u=this._inputArray;if(s.lengthn)return;const p=this._rows;for(let E=0;E<=f;E++)p[0][E]=E;for(let E=1;E<=l;E++){const _=p[(E-1)%3],O=p[E%3];let w=O[0]=E;for(let I=1;I<=f;I++){const $=s[E-1]===u[I-1]?0:1;let Y=Math.min(_[I]+1,O[I-1]+1,_[I-1]+$);if(E>1&&I>1&&s[E-1]===u[I-2]&&s[E-2]===u[I-1]){const ce=p[(E-2)%3][I-2];Y=Math.min(Y,ce+1)}Yn)return}const m=p[l%3][f];return m<=n?m:void 0}}function df(r){const t=r.length,n=new Array(t);for(let o=0;or.value},Variable:{leave:r=>"$"+r.name},Document:{leave:r=>j(r.definitions,` - -`)},OperationDefinition:{leave(r){const t=ae("(",j(r.variableDefinitions,", "),")"),n=j([r.operation,j([r.name,t]),j(r.directives," ")]," ");return(n==="query"?"":n+" ")+r.selectionSet}},VariableDefinition:{leave:({variable:r,type:t,defaultValue:n,directives:o})=>r+": "+t+ae(" = ",n)+ae(" ",j(o," "))},SelectionSet:{leave:({selections:r})=>zt(r)},Field:{leave({alias:r,name:t,arguments:n,directives:o,selectionSet:s}){const u=ae("",r,": ")+t;let l=u+ae("(",j(n,", "),")");return l.length>Iy&&(l=u+ae(`( -`,Is(j(n,` -`)),` -)`)),j([l,j(o," "),s]," ")}},Argument:{leave:({name:r,value:t})=>r+": "+t},FragmentSpread:{leave:({name:r,directives:t})=>"..."+r+ae(" ",j(t," "))},InlineFragment:{leave:({typeCondition:r,directives:t,selectionSet:n})=>j(["...",ae("on ",r),j(t," "),n]," ")},FragmentDefinition:{leave:({name:r,typeCondition:t,variableDefinitions:n,directives:o,selectionSet:s})=>`fragment ${r}${ae("(",j(n,", "),")")} on ${t} ${ae("",j(o," ")," ")}`+s},IntValue:{leave:({value:r})=>r},FloatValue:{leave:({value:r})=>r},StringValue:{leave:({value:r,block:t})=>t?ZT(r):Ay(r)},BooleanValue:{leave:({value:r})=>r?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:r})=>r},ListValue:{leave:({values:r})=>"["+j(r,", ")+"]"},ObjectValue:{leave:({fields:r})=>"{"+j(r,", ")+"}"},ObjectField:{leave:({name:r,value:t})=>r+": "+t},Directive:{leave:({name:r,arguments:t})=>"@"+r+ae("(",j(t,", "),")")},NamedType:{leave:({name:r})=>r},ListType:{leave:({type:r})=>"["+r+"]"},NonNullType:{leave:({type:r})=>r+"!"},SchemaDefinition:{leave:({description:r,directives:t,operationTypes:n})=>ae("",r,` -`)+j(["schema",j(t," "),zt(n)]," ")},OperationTypeDefinition:{leave:({operation:r,type:t})=>r+": "+t},ScalarTypeDefinition:{leave:({description:r,name:t,directives:n})=>ae("",r,` -`)+j(["scalar",t,j(n," ")]," ")},ObjectTypeDefinition:{leave:({description:r,name:t,interfaces:n,directives:o,fields:s})=>ae("",r,` -`)+j(["type",t,ae("implements ",j(n," & ")),j(o," "),zt(s)]," ")},FieldDefinition:{leave:({description:r,name:t,arguments:n,type:o,directives:s})=>ae("",r,` -`)+t+(gf(n)?ae(`( -`,Is(j(n,` -`)),` -)`):ae("(",j(n,", "),")"))+": "+o+ae(" ",j(s," "))},InputValueDefinition:{leave:({description:r,name:t,type:n,defaultValue:o,directives:s})=>ae("",r,` -`)+j([t+": "+n,ae("= ",o),j(s," ")]," ")},InterfaceTypeDefinition:{leave:({description:r,name:t,interfaces:n,directives:o,fields:s})=>ae("",r,` -`)+j(["interface",t,ae("implements ",j(n," & ")),j(o," "),zt(s)]," ")},UnionTypeDefinition:{leave:({description:r,name:t,directives:n,types:o})=>ae("",r,` -`)+j(["union",t,j(n," "),ae("= ",j(o," | "))]," ")},EnumTypeDefinition:{leave:({description:r,name:t,directives:n,values:o})=>ae("",r,` -`)+j(["enum",t,j(n," "),zt(o)]," ")},EnumValueDefinition:{leave:({description:r,name:t,directives:n})=>ae("",r,` -`)+j([t,j(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:r,name:t,directives:n,fields:o})=>ae("",r,` -`)+j(["input",t,j(n," "),zt(o)]," ")},DirectiveDefinition:{leave:({description:r,name:t,arguments:n,repeatable:o,locations:s})=>ae("",r,` -`)+"directive @"+t+(gf(n)?ae(`( -`,Is(j(n,` -`)),` -)`):ae("(",j(n,", "),")"))+(o?" repeatable":"")+" on "+j(s," | ")},SchemaExtension:{leave:({directives:r,operationTypes:t})=>j(["extend schema",j(r," "),zt(t)]," ")},ScalarTypeExtension:{leave:({name:r,directives:t})=>j(["extend scalar",r,j(t," ")]," ")},ObjectTypeExtension:{leave:({name:r,interfaces:t,directives:n,fields:o})=>j(["extend type",r,ae("implements ",j(t," & ")),j(n," "),zt(o)]," ")},InterfaceTypeExtension:{leave:({name:r,interfaces:t,directives:n,fields:o})=>j(["extend interface",r,ae("implements ",j(t," & ")),j(n," "),zt(o)]," ")},UnionTypeExtension:{leave:({name:r,directives:t,types:n})=>j(["extend union",r,j(t," "),ae("= ",j(n," | "))]," ")},EnumTypeExtension:{leave:({name:r,directives:t,values:n})=>j(["extend enum",r,j(t," "),zt(n)]," ")},InputObjectTypeExtension:{leave:({name:r,directives:t,fields:n})=>j(["extend input",r,j(t," "),zt(n)]," ")}};function j(r,t=""){var n;return(n=r==null?void 0:r.filter(o=>o).join(t))!==null&&n!==void 0?n:""}function zt(r){return ae(`{ -`,Is(j(r,` -`)),` -}`)}function ae(r,t,n=""){return t!=null&&t!==""?r+t+n:""}function Is(r){return ae(" ",r.replace(/\n/g,` - `))}function gf(r){var t;return(t=r==null?void 0:r.some(n=>n.includes(` -`)))!==null&&t!==void 0?t:!1}function Cu(r,t){switch(r.kind){case T.NULL:return null;case T.INT:return parseInt(r.value,10);case T.FLOAT:return parseFloat(r.value);case T.STRING:case T.ENUM:case T.BOOLEAN:return r.value;case T.LIST:return r.values.map(n=>Cu(n,t));case T.OBJECT:return cr(r.fields,n=>n.name.value,n=>Cu(n.value,t));case T.VARIABLE:return t==null?void 0:t[r.name.value]}}function rn(r){if(r!=null||fe(!1,"Must provide name."),typeof r=="string"||fe(!1,"Expected name to be a string."),r.length===0)throw new R("Expected name to be a non-empty string.");for(let t=1;tl(Cu(f,p)),this.extensions=Ut(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(u=t.extensionASTNodes)!==null&&u!==void 0?u:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||fe(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${M(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||fe(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||fe(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class pn{constructor(t){var n;this.name=rn(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Ut(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>pp(t),this._interfaces=()=>fp(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||fe(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${M(t.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:dp(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function fp(r){var t;const n=lp((t=r.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||fe(!1,`${r.name} interfaces must be an Array or a function which returns an Array.`),n}function pp(r){const t=cp(r.fields);return $r(t)||fe(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),bn(t,(n,o)=>{var s;$r(n)||fe(!1,`${r.name}.${o} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||fe(!1,`${r.name}.${o} field resolver must be a function if provided, but got: ${M(n.resolve)}.`);const u=(s=n.args)!==null&&s!==void 0?s:{};return $r(u)||fe(!1,`${r.name}.${o} args must be an object with argument names as keys.`),{name:rn(o),description:n.description,type:n.type,args:hp(u),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Ut(n.extensions),astNode:n.astNode}})}function hp(r){return Object.entries(r).map(([t,n])=>({name:rn(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Ut(n.extensions),astNode:n.astNode}))}function $r(r){return Sn(r)&&!Array.isArray(r)}function dp(r){return bn(r,t=>({description:t.description,type:t.type,args:gp(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function gp(r){return cr(r,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function mp(r){return we(r.type)&&r.defaultValue===void 0}class Ls{constructor(t){var n;this.name=rn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Ut(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=pp.bind(void 0,t),this._interfaces=fp.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||fe(!1,`${this.name} must provide "resolveType" as a function, but got: ${M(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:dp(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class Rs{constructor(t){var n;this.name=rn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Ut(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=Ry.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||fe(!1,`${this.name} must provide "resolveType" as a function, but got: ${M(t.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Ry(r){const t=lp(r.types);return Array.isArray(t)||fe(!1,`Must provide Array of types or a function which returns such an array for Union ${r.name}.`),t}class Pr{constructor(t){var n;this.name=rn(t.name),this.description=t.description,this.extensions=Ut(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=typeof t.values=="function"?t.values:mf(this.name,t.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=mf(this.name,this._values())),this._values}getValue(t){return this._nameLookup===null&&(this._nameLookup=dr(this.getValues(),n=>n.name)),this._nameLookup[t]}serialize(t){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(o=>[o.value,o])));const n=this._valueLookup.get(t);if(n===void 0)throw new R(`Enum "${this.name}" cannot represent value: ${M(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const o=M(t);throw new R(`Enum "${this.name}" cannot represent non-string value: ${o}.`+bs(this,o))}const n=this.getValue(t);if(n==null)throw new R(`Value "${t}" does not exist in "${this.name}" enum.`+bs(this,t));return n.value}parseLiteral(t,n){if(t.kind!==T.ENUM){const s=Je(t);throw new R(`Enum "${this.name}" cannot represent non-enum value: ${s}.`+bs(this,s),{nodes:t})}const o=this.getValue(t.value);if(o==null){const s=Je(t);throw new R(`Value "${s}" does not exist in "${this.name}" enum.`+bs(this,s),{nodes:t})}return o.value}toConfig(){const t=cr(this.getValues(),n=>n.name,n=>({description:n.description,value:n.value,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function bs(r,t){const n=r.getValues().map(s=>s.name),o=Dr(t,n);return Jn("the enum value",o)}function mf(r,t){return $r(t)||fe(!1,`${r} values must be an object with value names as keys.`),Object.entries(t).map(([n,o])=>($r(o)||fe(!1,`${r}.${n} must refer to an object with a "value" key representing an internal value but got: ${M(o)}.`),{name:Oy(n),description:o.description,value:o.value!==void 0?o.value:n,deprecationReason:o.deprecationReason,extensions:Ut(o.extensions),astNode:o.astNode}))}class $s{constructor(t){var n,o;this.name=rn(t.name),this.description=t.description,this.extensions=Ut(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this.isOneOf=(o=t.isOneOf)!==null&&o!==void 0?o:!1,this._fields=$y.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=bn(this.getFields(),n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function $y(r){const t=cp(r.fields);return $r(t)||fe(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),bn(t,(n,o)=>(!("resolve"in n)||fe(!1,`${r.name}.${o} field has a resolve property, but Input Types cannot define resolvers.`),{name:rn(o),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Ut(n.extensions),astNode:n.astNode}))}function By(r){return we(r.type)&&r.defaultValue===void 0}function Di(r,t,n){return t===n?!0:we(n)?we(t)?Di(r,t.ofType,n.ofType):!1:we(t)?Di(r,t.ofType,n):Dt(n)?Dt(t)?Di(r,t.ofType,n.ofType):!1:Dt(t)?!1:fr(n)&&(Ve(t)||Ye(t))&&r.isSubType(n,t)}function Ef(r,t,n){return t===n?!0:fr(t)?fr(n)?r.getPossibleTypes(t).some(o=>r.isSubType(n,o)):r.isSubType(t,n):fr(n)?r.isSubType(n,t):!1}const yu=2147483647,Au=-2147483648,Py=new Cn({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(r){const t=Ii(r);if(typeof t=="boolean")return t?1:0;let n=t;if(typeof t=="string"&&t!==""&&(n=Number(t)),typeof n!="number"||!Number.isInteger(n))throw new R(`Int cannot represent non-integer value: ${M(t)}`);if(n>yu||nyu||ryu||tr.name===t)}function Ii(r){if(Sn(r)){if(typeof r.valueOf=="function"){const t=r.valueOf();if(!Sn(t))return t}if(typeof r.toJSON=="function")return r.toJSON()}return r}function Gy(r){return dn(r,xn)}class xn{constructor(t){var n,o;this.name=rn(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Ut(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||fe(!1,`@${t.name} locations must be an Array.`);const s=(o=t.args)!==null&&o!==void 0?o:{};Sn(s)&&!Array.isArray(s)||fe(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=hp(s)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:gp(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const Dp=new xn({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[W.FIELD,W.FRAGMENT_SPREAD,W.INLINE_FRAGMENT],args:{if:{type:new ie(Nt),description:"Included when true."}}}),_p=new xn({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[W.FIELD,W.FRAGMENT_SPREAD,W.INLINE_FRAGMENT],args:{if:{type:new ie(Nt),description:"Skipped when true."}}}),Vy="No longer supported",vp=new xn({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[W.FIELD_DEFINITION,W.ARGUMENT_DEFINITION,W.INPUT_FIELD_DEFINITION,W.ENUM_VALUE],args:{reason:{type:Ge,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Vy}}}),Tp=new xn({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[W.SCALAR],args:{url:{type:new ie(Ge),description:"The URL that specifies the behavior of this scalar."}}}),yp=new xn({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[W.INPUT_OBJECT],args:{}}),Ur=Object.freeze([Dp,_p,vp,Tp,yp]);function jy(r){return typeof r=="object"&&typeof(r==null?void 0:r[Symbol.iterator])=="function"}function di(r,t){if(we(t)){const n=di(r,t.ofType);return(n==null?void 0:n.kind)===T.NULL?null:n}if(r===null)return{kind:T.NULL};if(r===void 0)return null;if(Dt(t)){const n=t.ofType;if(jy(r)){const o=[];for(const s of r){const u=di(s,n);u!=null&&o.push(u)}return{kind:T.LIST,values:o}}return di(r,n)}if(Et(t)){if(!Sn(r))return null;const n=[];for(const o of Object.values(t.getFields())){const s=di(r[o.name],o.type);s&&n.push({kind:T.OBJECT_FIELD,name:{kind:T.NAME,value:o.name},value:s})}return{kind:T.OBJECT,fields:n}}if(Br(t)){const n=t.serialize(r);if(n==null)return null;if(typeof n=="boolean")return{kind:T.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const o=String(n);return Df.test(o)?{kind:T.INT,value:o}:{kind:T.FLOAT,value:o}}if(typeof n=="string")return Zt(t)?{kind:T.ENUM,value:n}:t===Ep&&Df.test(n)?{kind:T.INT,value:n}:{kind:T.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${M(n)}.`)}Xt(!1,"Unexpected input type: "+M(t))}const Df=/^-?(?:0|[1-9][0-9]*)$/,ta=new pn({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:Ge,resolve:r=>r.description},types:{description:"A list of all types supported by this server.",type:new ie(new ct(new ie(fn))),resolve(r){return Object.values(r.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new ie(fn),resolve:r=>r.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:fn,resolve:r=>r.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:fn,resolve:r=>r.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new ie(new ct(new ie(Ap))),resolve:r=>r.getDirectives()}})}),Ap=new pn({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. - -In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new ie(Ge),resolve:r=>r.name},description:{type:Ge,resolve:r=>r.description},isRepeatable:{type:new ie(Nt),resolve:r=>r.isRepeatable},locations:{type:new ie(new ct(new ie(Fp))),resolve:r=>r.locations},args:{type:new ie(new ct(new ie(zs))),args:{includeDeprecated:{type:Nt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){return t?r.args:r.args.filter(n=>n.deprecationReason==null)}}})}),Fp=new Pr({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:W.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:W.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:W.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:W.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:W.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:W.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:W.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:W.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:W.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:W.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:W.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:W.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:W.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:W.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:W.UNION,description:"Location adjacent to a union definition."},ENUM:{value:W.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:W.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:W.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:W.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),fn=new pn({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new ie(Np),resolve(r){if(Xn(r))return Ae.SCALAR;if(Ye(r))return Ae.OBJECT;if(Ve(r))return Ae.INTERFACE;if(Mt(r))return Ae.UNION;if(Zt(r))return Ae.ENUM;if(Et(r))return Ae.INPUT_OBJECT;if(Dt(r))return Ae.LIST;if(we(r))return Ae.NON_NULL;Xt(!1,`Unexpected type: "${M(r)}".`)}},name:{type:Ge,resolve:r=>"name"in r?r.name:void 0},description:{type:Ge,resolve:r=>"description"in r?r.description:void 0},specifiedByURL:{type:Ge,resolve:r=>"specifiedByURL"in r?r.specifiedByURL:void 0},fields:{type:new ct(new ie(wp)),args:{includeDeprecated:{type:Nt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(Ye(r)||Ve(r)){const n=Object.values(r.getFields());return t?n:n.filter(o=>o.deprecationReason==null)}}},interfaces:{type:new ct(new ie(fn)),resolve(r){if(Ye(r)||Ve(r))return r.getInterfaces()}},possibleTypes:{type:new ct(new ie(fn)),resolve(r,t,n,{schema:o}){if(fr(r))return o.getPossibleTypes(r)}},enumValues:{type:new ct(new ie(bp)),args:{includeDeprecated:{type:Nt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(Zt(r)){const n=r.getValues();return t?n:n.filter(o=>o.deprecationReason==null)}}},inputFields:{type:new ct(new ie(zs)),args:{includeDeprecated:{type:Nt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(Et(r)){const n=Object.values(r.getFields());return t?n:n.filter(o=>o.deprecationReason==null)}}},ofType:{type:fn,resolve:r=>"ofType"in r?r.ofType:void 0},isOneOf:{type:Nt,resolve:r=>{if(Et(r))return r.isOneOf}}})}),wp=new pn({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new ie(Ge),resolve:r=>r.name},description:{type:Ge,resolve:r=>r.description},args:{type:new ie(new ct(new ie(zs))),args:{includeDeprecated:{type:Nt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){return t?r.args:r.args.filter(n=>n.deprecationReason==null)}},type:{type:new ie(fn),resolve:r=>r.type},isDeprecated:{type:new ie(Nt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Ge,resolve:r=>r.deprecationReason}})}),zs=new pn({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new ie(Ge),resolve:r=>r.name},description:{type:Ge,resolve:r=>r.description},type:{type:new ie(fn),resolve:r=>r.type},defaultValue:{type:Ge,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(r){const{type:t,defaultValue:n}=r,o=di(n,t);return o?Je(o):null}},isDeprecated:{type:new ie(Nt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Ge,resolve:r=>r.deprecationReason}})}),bp=new pn({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new ie(Ge),resolve:r=>r.name},description:{type:Ge,resolve:r=>r.description},isDeprecated:{type:new ie(Nt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Ge,resolve:r=>r.deprecationReason}})});var Ae;(function(r){r.SCALAR="SCALAR",r.OBJECT="OBJECT",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.INPUT_OBJECT="INPUT_OBJECT",r.LIST="LIST",r.NON_NULL="NON_NULL"})(Ae||(Ae={}));const Np=new Pr({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:Ae.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:Ae.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:Ae.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:Ae.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:Ae.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:Ae.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:Ae.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:Ae.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});new ie(ta);new ie(Ge);new ie(Ge);const Hs=Object.freeze([ta,Ap,Fp,fn,wp,zs,bp,Np]);function qy(r){return Hs.some(({name:t})=>r.name===t)}class Ip{constructor(t){var n,o;this.__validationErrors=t.assumeValid===!0?[]:void 0,Sn(t)||fe(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||fe(!1,`"types" must be Array if provided but got: ${M(t.types)}.`),!t.directives||Array.isArray(t.directives)||fe(!1,`"directives" must be Array if provided but got: ${M(t.directives)}.`),this.description=t.description,this.extensions=Ut(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(o=t.directives)!==null&&o!==void 0?o:Ur;const s=new Set(t.types);if(t.types!=null)for(const u of t.types)s.delete(u),Ht(u,s);this._queryType!=null&&Ht(this._queryType,s),this._mutationType!=null&&Ht(this._mutationType,s),this._subscriptionType!=null&&Ht(this._subscriptionType,s);for(const u of this._directives)if(Gy(u))for(const l of u.args)Ht(l.type,s);Ht(ta,s),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const u of s){if(u==null)continue;const l=u.name;if(l||fe(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[l]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${l}".`);if(this._typeMap[l]=u,Ve(u)){for(const f of u.getInterfaces())if(Ve(f)){let p=this._implementationsMap[f.name];p===void 0&&(p=this._implementationsMap[f.name]={objects:[],interfaces:[]}),p.interfaces.push(u)}}else if(Ye(u)){for(const f of u.getInterfaces())if(Ve(f)){let p=this._implementationsMap[f.name];p===void 0&&(p=this._implementationsMap[f.name]={objects:[],interfaces:[]}),p.objects.push(u)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case Pt.QUERY:return this.getQueryType();case Pt.MUTATION:return this.getMutationType();case Pt.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return Mt(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){const n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let o=this._subTypeMap[t.name];if(o===void 0){if(o=Object.create(null),Mt(t))for(const s of t.getTypes())o[s.name]=!0;else{const s=this.getImplementations(t);for(const u of s.objects)o[u.name]=!0;for(const u of s.interfaces)o[u.name]=!0}this._subTypeMap[t.name]=o}return o[n.name]!==void 0}getDirectives(){return this._directives}getDirective(t){return this.getDirectives().find(n=>n.name===t)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function Ht(r,t){const n=gr(r);if(!t.has(n)){if(t.add(n),Mt(n))for(const o of n.getTypes())Ht(o,t);else if(Ye(n)||Ve(n)){for(const o of n.getInterfaces())Ht(o,t);for(const o of Object.values(n.getFields())){Ht(o.type,t);for(const s of o.args)Ht(s.type,t)}}else if(Et(n))for(const o of Object.values(n.getFields()))Ht(o.type,t)}return t}function hn(r,t){switch(t.kind){case T.LIST_TYPE:{const n=hn(r,t.type);return n&&new ct(n)}case T.NON_NULL_TYPE:{const n=hn(r,t.type);return n&&new ie(n)}case T.NAMED_TYPE:return r.getType(t.name.value)}}function Yy(r){return r.kind===T.OPERATION_DEFINITION||r.kind===T.FRAGMENT_DEFINITION}function Wy(r){return r.kind===T.SCHEMA_DEFINITION||ki(r)||r.kind===T.DIRECTIVE_DEFINITION}function ki(r){return r.kind===T.SCALAR_TYPE_DEFINITION||r.kind===T.OBJECT_TYPE_DEFINITION||r.kind===T.INTERFACE_TYPE_DEFINITION||r.kind===T.UNION_TYPE_DEFINITION||r.kind===T.ENUM_TYPE_DEFINITION||r.kind===T.INPUT_OBJECT_TYPE_DEFINITION}function Qy(r){return r.kind===T.SCHEMA_EXTENSION||na(r)}function na(r){return r.kind===T.SCALAR_TYPE_EXTENSION||r.kind===T.OBJECT_TYPE_EXTENSION||r.kind===T.INTERFACE_TYPE_EXTENSION||r.kind===T.UNION_TYPE_EXTENSION||r.kind===T.ENUM_TYPE_EXTENSION||r.kind===T.INPUT_OBJECT_TYPE_EXTENSION}function zy(r){return{Document(t){for(const n of t.definitions)if(!Yy(n)){const o=n.kind===T.SCHEMA_DEFINITION||n.kind===T.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';r.reportError(new R(`The ${o} definition is not executable.`,{nodes:n}))}return!1}}}function Hy(r){return{Field(t){const n=r.getParentType();if(n&&!r.getFieldDef()){const s=r.getSchema(),u=t.name.value;let l=Jn("to use an inline fragment on",Jy(s,n,u));l===""&&(l=Jn(Xy(n,u))),r.reportError(new R(`Cannot query field "${u}" on type "${n.name}".`+l,{nodes:t}))}}}}function Jy(r,t,n){if(!fr(t))return[];const o=new Set,s=Object.create(null);for(const l of r.getPossibleTypes(t))if(l.getFields()[n]){o.add(l),s[l.name]=1;for(const f of l.getInterfaces()){var u;f.getFields()[n]&&(o.add(f),s[f.name]=((u=s[f.name])!==null&&u!==void 0?u:0)+1)}}return[...o].sort((l,f)=>{const p=s[f.name]-s[l.name];return p!==0?p:Ve(l)&&r.isSubType(l,f)?-1:Ve(f)&&r.isSubType(f,l)?1:Xu(l.name,f.name)}).map(l=>l.name)}function Xy(r,t){if(Ye(r)||Ve(r)){const n=Object.keys(r.getFields());return Dr(t,n)}return[]}function Zy(r){return{InlineFragment(t){const n=t.typeCondition;if(n){const o=hn(r.getSchema(),n);if(o&&!Ai(o)){const s=Je(n);r.reportError(new R(`Fragment cannot condition on non composite type "${s}".`,{nodes:n}))}}},FragmentDefinition(t){const n=hn(r.getSchema(),t.typeCondition);if(n&&!Ai(n)){const o=Je(t.typeCondition);r.reportError(new R(`Fragment "${t.name.value}" cannot condition on non composite type "${o}".`,{nodes:t.typeCondition}))}}}}function Ky(r){return{...kp(r),Argument(t){const n=r.getArgument(),o=r.getFieldDef(),s=r.getParentType();if(!n&&o&&s){const u=t.name.value,l=o.args.map(p=>p.name),f=Dr(u,l);r.reportError(new R(`Unknown argument "${u}" on field "${s.name}.${o.name}".`+Jn(f),{nodes:t}))}}}}function kp(r){const t=Object.create(null),n=r.getSchema(),o=n?n.getDirectives():Ur;for(const l of o)t[l.name]=l.args.map(f=>f.name);const s=r.getDocument().definitions;for(const l of s)if(l.kind===T.DIRECTIVE_DEFINITION){var u;const f=(u=l.arguments)!==null&&u!==void 0?u:[];t[l.name.value]=f.map(p=>p.name.value)}return{Directive(l){const f=l.name.value,p=t[f];if(l.arguments&&p)for(const m of l.arguments){const E=m.name.value;if(!p.includes(E)){const _=Dr(E,p);r.reportError(new R(`Unknown argument "${E}" on directive "@${f}".`+Jn(_),{nodes:m}))}}return!1}}}function Op(r){const t=Object.create(null),n=r.getSchema(),o=n?n.getDirectives():Ur;for(const u of o)t[u.name]=u.locations;const s=r.getDocument().definitions;for(const u of s)u.kind===T.DIRECTIVE_DEFINITION&&(t[u.name.value]=u.locations.map(l=>l.value));return{Directive(u,l,f,p,m){const E=u.name.value,_=t[E];if(!_){r.reportError(new R(`Unknown directive "@${E}".`,{nodes:u}));return}const O=e1(m);O&&!_.includes(O)&&r.reportError(new R(`Directive "@${E}" may not be used on ${O}.`,{nodes:u}))}}}function e1(r){const t=r[r.length-1];switch("kind"in t||Xt(!1),t.kind){case T.OPERATION_DEFINITION:return t1(t.operation);case T.FIELD:return W.FIELD;case T.FRAGMENT_SPREAD:return W.FRAGMENT_SPREAD;case T.INLINE_FRAGMENT:return W.INLINE_FRAGMENT;case T.FRAGMENT_DEFINITION:return W.FRAGMENT_DEFINITION;case T.VARIABLE_DEFINITION:return W.VARIABLE_DEFINITION;case T.SCHEMA_DEFINITION:case T.SCHEMA_EXTENSION:return W.SCHEMA;case T.SCALAR_TYPE_DEFINITION:case T.SCALAR_TYPE_EXTENSION:return W.SCALAR;case T.OBJECT_TYPE_DEFINITION:case T.OBJECT_TYPE_EXTENSION:return W.OBJECT;case T.FIELD_DEFINITION:return W.FIELD_DEFINITION;case T.INTERFACE_TYPE_DEFINITION:case T.INTERFACE_TYPE_EXTENSION:return W.INTERFACE;case T.UNION_TYPE_DEFINITION:case T.UNION_TYPE_EXTENSION:return W.UNION;case T.ENUM_TYPE_DEFINITION:case T.ENUM_TYPE_EXTENSION:return W.ENUM;case T.ENUM_VALUE_DEFINITION:return W.ENUM_VALUE;case T.INPUT_OBJECT_TYPE_DEFINITION:case T.INPUT_OBJECT_TYPE_EXTENSION:return W.INPUT_OBJECT;case T.INPUT_VALUE_DEFINITION:{const n=r[r.length-3];return"kind"in n||Xt(!1),n.kind===T.INPUT_OBJECT_TYPE_DEFINITION?W.INPUT_FIELD_DEFINITION:W.ARGUMENT_DEFINITION}default:Xt(!1,"Unexpected kind: "+M(t.kind))}}function t1(r){switch(r){case Pt.QUERY:return W.QUERY;case Pt.MUTATION:return W.MUTATION;case Pt.SUBSCRIPTION:return W.SUBSCRIPTION}}function n1(r){return{FragmentSpread(t){const n=t.name.value;r.getFragment(n)||r.reportError(new R(`Unknown fragment "${n}".`,{nodes:t.name}))}}}function Sp(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);for(const u of r.getDocument().definitions)ki(u)&&(o[u.name.value]=!0);const s=[...Object.keys(n),...Object.keys(o)];return{NamedType(u,l,f,p,m){const E=u.name.value;if(!n[E]&&!o[E]){var _;const O=(_=m[2])!==null&&_!==void 0?_:f,w=O!=null&&r1(O);if(w&&_f.includes(E))return;const I=Dr(E,w?_f.concat(s):s);r.reportError(new R(`Unknown type "${E}".`+Jn(I),{nodes:u}))}}}}const _f=[...Qs,...Hs].map(r=>r.name);function r1(r){return"kind"in r&&(Wy(r)||Qy(r))}function i1(r){let t=0;return{Document(n){t=n.definitions.filter(o=>o.kind===T.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&r.reportError(new R("This anonymous operation must be the only defined operation.",{nodes:n}))}}}function s1(r){var t,n,o;const s=r.getSchema(),u=(t=(n=(o=s==null?void 0:s.astNode)!==null&&o!==void 0?o:s==null?void 0:s.getQueryType())!==null&&n!==void 0?n:s==null?void 0:s.getMutationType())!==null&&t!==void 0?t:s==null?void 0:s.getSubscriptionType();let l=0;return{SchemaDefinition(f){if(u){r.reportError(new R("Cannot define a new schema within a schema extension.",{nodes:f}));return}l>0&&r.reportError(new R("Must provide only one schema definition.",{nodes:f})),++l}}}const o1=3;function u1(r){function t(n,o=Object.create(null),s=0){if(n.kind===T.FRAGMENT_SPREAD){const u=n.name.value;if(o[u]===!0)return!1;const l=r.getFragment(u);if(!l)return!1;try{return o[u]=!0,t(l,o,s)}finally{o[u]=void 0}}if(n.kind===T.FIELD&&(n.name.value==="fields"||n.name.value==="interfaces"||n.name.value==="possibleTypes"||n.name.value==="inputFields")&&(s++,s>=o1))return!0;if("selectionSet"in n&&n.selectionSet){for(const u of n.selectionSet.selections)if(t(u,o,s))return!0}return!1}return{Field(n){if((n.name.value==="__schema"||n.name.value==="__type")&&t(n))return r.reportError(new R("Maximum introspection depth exceeded",{nodes:[n]})),!1}}}function a1(r){const t=Object.create(null),n=[],o=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(u){return s(u),!1}};function s(u){if(t[u.name.value])return;const l=u.name.value;t[l]=!0;const f=r.getFragmentSpreads(u.selectionSet);if(f.length!==0){o[l]=n.length;for(const p of f){const m=p.name.value,E=o[m];if(n.push(p),E===void 0){const _=r.getFragment(m);_&&s(_)}else{const _=n.slice(E),O=_.slice(0,-1).map(w=>'"'+w.name.value+'"').join(", ");r.reportError(new R(`Cannot spread fragment "${m}" within itself`+(O!==""?` via ${O}.`:"."),{nodes:_}))}n.pop()}o[l]=void 0}}}function l1(r){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const o=r.getRecursiveVariableUsages(n);for(const{node:s}of o){const u=s.name.value;t[u]!==!0&&r.reportError(new R(n.name?`Variable "$${u}" is not defined by operation "${n.name.value}".`:`Variable "$${u}" is not defined.`,{nodes:[s,n]}))}}},VariableDefinition(n){t[n.variable.name.value]=!0}}}function c1(r){const t=[],n=[];return{OperationDefinition(o){return t.push(o),!1},FragmentDefinition(o){return n.push(o),!1},Document:{leave(){const o=Object.create(null);for(const s of t)for(const u of r.getRecursivelyReferencedFragments(s))o[u.name.value]=!0;for(const s of n){const u=s.name.value;o[u]!==!0&&r.reportError(new R(`Fragment "${u}" is never used.`,{nodes:s}))}}}}}function f1(r){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){const o=Object.create(null),s=r.getRecursiveVariableUsages(n);for(const{node:u}of s)o[u.name.value]=!0;for(const u of t){const l=u.variable.name.value;o[l]!==!0&&r.reportError(new R(n.name?`Variable "$${l}" is never used in operation "${n.name.value}".`:`Variable "$${l}" is never used.`,{nodes:u}))}}},VariableDefinition(n){t.push(n)}}}function ra(r){switch(r.kind){case T.OBJECT:return{...r,fields:p1(r.fields)};case T.LIST:return{...r,values:r.values.map(ra)};case T.INT:case T.FLOAT:case T.STRING:case T.BOOLEAN:case T.NULL:case T.ENUM:case T.VARIABLE:return r}}function p1(r){return r.map(t=>({...t,value:ra(t.value)})).sort((t,n)=>Xu(t.name.value,n.name.value))}function Cp(r){return Array.isArray(r)?r.map(([t,n])=>`subfields "${t}" conflict because `+Cp(n)).join(" and "):r}function h1(r){const t=new _1,n=new Map;return{SelectionSet(o){const s=d1(r,n,t,r.getParentType(),o);for(const[[u,l],f,p]of s){const m=Cp(l);r.reportError(new R(`Fields "${u}" conflict because ${m}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:f.concat(p)}))}}}}function d1(r,t,n,o,s){const u=[],[l,f]=Ms(r,t,o,s);if(m1(r,u,t,n,l),f.length!==0)for(let p=0;p1)for(let f=0;f[u.value,l]));return n.every(u=>{const l=u.value,f=s.get(u.name.value);return f===void 0?!1:vf(l)===vf(f)})}function vf(r){return Je(ra(r))}function xu(r,t){return Dt(r)?Dt(t)?xu(r.ofType,t.ofType):!0:Dt(t)?!0:we(r)?we(t)?xu(r.ofType,t.ofType):!0:we(t)?!0:Br(r)||Br(t)?r!==t:!1}function Ms(r,t,n,o){const s=t.get(o);if(s)return s;const u=Object.create(null),l=Object.create(null);Lp(r,n,o,u,l);const f=[u,Object.keys(l)];return t.set(o,f),f}function Lu(r,t,n){const o=t.get(n.selectionSet);if(o)return o;const s=hn(r.getSchema(),n.typeCondition);return Ms(r,t,s,n.selectionSet)}function Lp(r,t,n,o,s){for(const u of n.selections)switch(u.kind){case T.FIELD:{const l=u.name.value;let f;(Ye(t)||Ve(t))&&(f=t.getFields()[l]);const p=u.alias?u.alias.value:l;o[p]||(o[p]=[]),o[p].push([t,u,f]);break}case T.FRAGMENT_SPREAD:s[u.name.value]=!0;break;case T.INLINE_FRAGMENT:{const l=u.typeCondition,f=l?hn(r.getSchema(),l):t;Lp(r,f,u.selectionSet,o,s);break}}}function D1(r,t,n,o){if(r.length>0)return[[t,r.map(([s])=>s)],[n,...r.map(([,s])=>s).flat()],[o,...r.map(([,,s])=>s).flat()]]}class _1{constructor(){this._data=new Map}has(t,n,o){var s;const[u,l]=tu.name.value));for(const u of o.args)if(!s.has(u.name)&&mp(u)){const l=M(u.type);r.reportError(new R(`Field "${o.name}" argument "${u.name}" of type "${l}" is required, but it was not provided.`,{nodes:t}))}}}}}function Rp(r){var t;const n=Object.create(null),o=r.getSchema(),s=(t=o==null?void 0:o.getDirectives())!==null&&t!==void 0?t:Ur;for(const f of s)n[f.name]=dr(f.args.filter(mp),p=>p.name);const u=r.getDocument().definitions;for(const f of u)if(f.kind===T.DIRECTIVE_DEFINITION){var l;const p=(l=f.arguments)!==null&&l!==void 0?l:[];n[f.name.value]=dr(p.filter(N1),m=>m.name.value)}return{Directive:{leave(f){const p=f.name.value,m=n[p];if(m){var E;const _=(E=f.arguments)!==null&&E!==void 0?E:[],O=new Set(_.map(w=>w.name.value));for(const[w,I]of Object.entries(m))if(!O.has(w)){const $=Zu(I.type)?M(I.type):Je(I.type);r.reportError(new R(`Directive "@${p}" argument "${w}" of type "${$}" is required, but it was not provided.`,{nodes:f}))}}}}}}function N1(r){return r.type.kind===T.NON_NULL_TYPE&&r.defaultValue==null}function I1(r){return{Field(t){const n=r.getType(),o=t.selectionSet;if(n){if(Br(gr(n))){if(o){const s=t.name.value,u=M(n);r.reportError(new R(`Field "${s}" must not have a selection since type "${u}" has no subfields.`,{nodes:o}))}}else if(!o){const s=t.name.value,u=M(n);r.reportError(new R(`Field "${s}" of type "${u}" must have a selection of subfields. Did you mean "${s} { ... }"?`,{nodes:t}))}}}}}function Wn(r,t,n){if(r){if(r.kind===T.VARIABLE){const o=r.name.value;if(n==null||n[o]===void 0)return;const s=n[o];return s===null&&we(t)?void 0:s}if(we(t))return r.kind===T.NULL?void 0:Wn(r,t.ofType,n);if(r.kind===T.NULL)return null;if(Dt(t)){const o=t.ofType;if(r.kind===T.LIST){const u=[];for(const l of r.values)if(Tf(l,n)){if(we(o))return;u.push(null)}else{const f=Wn(l,o,n);if(f===void 0)return;u.push(f)}return u}const s=Wn(r,o,n);return s===void 0?void 0:[s]}if(Et(t)){if(r.kind!==T.OBJECT)return;const o=Object.create(null),s=dr(r.fields,u=>u.name.value);for(const u of Object.values(t.getFields())){const l=s[u.name];if(!l||Tf(l.value,n)){if(u.defaultValue!==void 0)o[u.name]=u.defaultValue;else if(we(u.type))return;continue}const f=Wn(l.value,u.type,n);if(f===void 0)return;o[u.name]=f}if(t.isOneOf){const u=Object.keys(o);if(u.length!==1||o[u[0]]===null)return}return o}if(Br(t)){let o;try{o=t.parseLiteral(r,n)}catch{return}return o===void 0?void 0:o}Xt(!1,"Unexpected input type: "+M(t))}}function Tf(r,t){return r.kind===T.VARIABLE&&(t==null||t[r.name.value]===void 0)}function k1(r,t,n){var o;const s={},u=(o=t.arguments)!==null&&o!==void 0?o:[],l=dr(u,f=>f.name.value);for(const f of r.args){const p=f.name,m=f.type,E=l[p];if(!E){if(f.defaultValue!==void 0)s[p]=f.defaultValue;else if(we(m))throw new R(`Argument "${p}" of required type "${M(m)}" was not provided.`,{nodes:t});continue}const _=E.value;let O=_.kind===T.NULL;if(_.kind===T.VARIABLE){const I=_.name.value;if(n==null||!O1(n,I)){if(f.defaultValue!==void 0)s[p]=f.defaultValue;else if(we(m))throw new R(`Argument "${p}" of required type "${M(m)}" was provided the variable "$${I}" which was not provided a runtime value.`,{nodes:_});continue}O=n[I]==null}if(O&&we(m))throw new R(`Argument "${p}" of non-null type "${M(m)}" must not be null.`,{nodes:_});const w=Wn(_,m,n);if(w===void 0)throw new R(`Argument "${p}" has invalid value ${Je(_)}.`,{nodes:_});s[p]=w}return s}function Fi(r,t,n){var o;const s=(o=t.directives)===null||o===void 0?void 0:o.find(u=>u.name.value===r.name);if(s)return k1(r,s,n)}function O1(r,t){return Object.prototype.hasOwnProperty.call(r,t)}function S1(r,t,n,o,s){const u=new Map;return Ru(r,t,n,o,s,u,new Set),u}function Ru(r,t,n,o,s,u,l){for(const f of s.selections)switch(f.kind){case T.FIELD:{if(!Fu(n,f))continue;const p=C1(f),m=u.get(p);m!==void 0?m.push(f):u.set(p,[f]);break}case T.INLINE_FRAGMENT:{if(!Fu(n,f)||!yf(r,f,o))continue;Ru(r,t,n,o,f.selectionSet,u,l);break}case T.FRAGMENT_SPREAD:{const p=f.name.value;if(l.has(p)||!Fu(n,f))continue;l.add(p);const m=t[p];if(!m||!yf(r,m,o))continue;Ru(r,t,n,o,m.selectionSet,u,l);break}}}function Fu(r,t){const n=Fi(_p,t,r);if((n==null?void 0:n.if)===!0)return!1;const o=Fi(Dp,t,r);return(o==null?void 0:o.if)!==!1}function yf(r,t,n){const o=t.typeCondition;if(!o)return!0;const s=hn(r,o);return s===n?!0:fr(s)?r.isSubType(s,n):!1}function C1(r){return r.alias?r.alias.value:r.name.value}function x1(r){return{OperationDefinition(t){if(t.operation==="subscription"){const n=r.getSchema(),o=n.getSubscriptionType();if(o){const s=t.name?t.name.value:null,u=Object.create(null),l=r.getDocument(),f=Object.create(null);for(const m of l.definitions)m.kind===T.FRAGMENT_DEFINITION&&(f[m.name.value]=m);const p=S1(n,f,u,o,t.selectionSet);if(p.size>1){const _=[...p.values()].slice(1).flat();r.reportError(new R(s!=null?`Subscription "${s}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:_}))}for(const m of p.values())m[0].name.value.startsWith("__")&&r.reportError(new R(s!=null?`Subscription "${s}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:m}))}}}}}function sa(r,t){const n=new Map;for(const o of r){const s=t(o),u=n.get(s);u===void 0?n.set(s,[o]):u.push(o)}return n}function L1(r){return{DirectiveDefinition(o){var s;const u=(s=o.arguments)!==null&&s!==void 0?s:[];return n(`@${o.name.value}`,u)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(o){var s;const u=o.name.value,l=(s=o.fields)!==null&&s!==void 0?s:[];for(const p of l){var f;const m=p.name.value,E=(f=p.arguments)!==null&&f!==void 0?f:[];n(`${u}.${m}`,E)}return!1}function n(o,s){const u=sa(s,l=>l.name.value);for(const[l,f]of u)f.length>1&&r.reportError(new R(`Argument "${o}(${l}:)" can only be defined once.`,{nodes:f.map(p=>p.name)}));return!1}}function $p(r){return{Field:t,Directive:t};function t(n){var o;const s=(o=n.arguments)!==null&&o!==void 0?o:[],u=sa(s,l=>l.name.value);for(const[l,f]of u)f.length>1&&r.reportError(new R(`There can be only one argument named "${l}".`,{nodes:f.map(p=>p.name)}))}}function R1(r){const t=Object.create(null),n=r.getSchema();return{DirectiveDefinition(o){const s=o.name.value;if(n!=null&&n.getDirective(s)){r.reportError(new R(`Directive "@${s}" already exists in the schema. It cannot be redefined.`,{nodes:o.name}));return}return t[s]?r.reportError(new R(`There can be only one directive named "@${s}".`,{nodes:[t[s],o.name]})):t[s]=o.name,!1}}}function Bp(r){const t=Object.create(null),n=r.getSchema(),o=n?n.getDirectives():Ur;for(const f of o)t[f.name]=!f.isRepeatable;const s=r.getDocument().definitions;for(const f of s)f.kind===T.DIRECTIVE_DEFINITION&&(t[f.name.value]=!f.repeatable);const u=Object.create(null),l=Object.create(null);return{enter(f){if(!("directives"in f)||!f.directives)return;let p;if(f.kind===T.SCHEMA_DEFINITION||f.kind===T.SCHEMA_EXTENSION)p=u;else if(ki(f)||na(f)){const m=f.name.value;p=l[m],p===void 0&&(l[m]=p=Object.create(null))}else p=Object.create(null);for(const m of f.directives){const E=m.name.value;t[E]&&(p[E]?r.reportError(new R(`The directive "@${E}" can only be used once at this location.`,{nodes:[p[E],m]})):p[E]=m)}}}}function $1(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{EnumTypeDefinition:s,EnumTypeExtension:s};function s(u){var l;const f=u.name.value;o[f]||(o[f]=Object.create(null));const p=(l=u.values)!==null&&l!==void 0?l:[],m=o[f];for(const E of p){const _=E.name.value,O=n[f];Zt(O)&&O.getValue(_)?r.reportError(new R(`Enum value "${f}.${_}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:E.name})):m[_]?r.reportError(new R(`Enum value "${f}.${_}" can only be defined once.`,{nodes:[m[_],E.name]})):m[_]=E.name}return!1}}function B1(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{InputObjectTypeDefinition:s,InputObjectTypeExtension:s,InterfaceTypeDefinition:s,InterfaceTypeExtension:s,ObjectTypeDefinition:s,ObjectTypeExtension:s};function s(u){var l;const f=u.name.value;o[f]||(o[f]=Object.create(null));const p=(l=u.fields)!==null&&l!==void 0?l:[],m=o[f];for(const E of p){const _=E.name.value;P1(n[f],_)?r.reportError(new R(`Field "${f}.${_}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:E.name})):m[_]?r.reportError(new R(`Field "${f}.${_}" can only be defined once.`,{nodes:[m[_],E.name]})):m[_]=E.name}return!1}}function P1(r,t){return Ye(r)||Ve(r)||Et(r)?r.getFields()[t]!=null:!1}function M1(r){const t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){const o=n.name.value;return t[o]?r.reportError(new R(`There can be only one fragment named "${o}".`,{nodes:[t[o],n.name]})):t[o]=n.name,!1}}}function Pp(r){const t=[];let n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){const o=t.pop();o||Xt(!1),n=o}},ObjectField(o){const s=o.name.value;n[s]?r.reportError(new R(`There can be only one input field named "${s}".`,{nodes:[n[s],o.name]})):n[s]=o.name}}}function U1(r){const t=Object.create(null);return{OperationDefinition(n){const o=n.name;return o&&(t[o.value]?r.reportError(new R(`There can be only one operation named "${o.value}".`,{nodes:[t[o.value],o]})):t[o.value]=o),!1},FragmentDefinition:()=>!1}}function G1(r){const t=r.getSchema(),n=Object.create(null),o=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:s,SchemaExtension:s};function s(u){var l;const f=(l=u.operationTypes)!==null&&l!==void 0?l:[];for(const p of f){const m=p.operation,E=n[m];o[m]?r.reportError(new R(`Type for ${m} already defined in the schema. It cannot be redefined.`,{nodes:p})):E?r.reportError(new R(`There can be only one ${m} type in schema.`,{nodes:[E,p]})):n[m]=p}return!1}}function V1(r){const t=Object.create(null),n=r.getSchema();return{ScalarTypeDefinition:o,ObjectTypeDefinition:o,InterfaceTypeDefinition:o,UnionTypeDefinition:o,EnumTypeDefinition:o,InputObjectTypeDefinition:o};function o(s){const u=s.name.value;if(n!=null&&n.getType(u)){r.reportError(new R(`Type "${u}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:s.name}));return}return t[u]?r.reportError(new R(`There can be only one type named "${u}".`,{nodes:[t[u],s.name]})):t[u]=s.name,!1}}function j1(r){return{OperationDefinition(t){var n;const o=(n=t.variableDefinitions)!==null&&n!==void 0?n:[],s=sa(o,u=>u.variable.name.value);for(const[u,l]of s)l.length>1&&r.reportError(new R(`There can be only one variable named "$${u}".`,{nodes:l.map(f=>f.variable.name)}))}}}function q1(r){let t={};return{OperationDefinition:{enter(){t={}}},VariableDefinition(n){t[n.variable.name.value]=n},ListValue(n){const o=Ly(r.getParentInputType());if(!Dt(o))return lr(r,n),!1},ObjectValue(n){const o=gr(r.getInputType());if(!Et(o))return lr(r,n),!1;const s=dr(n.fields,u=>u.name.value);for(const u of Object.values(o.getFields()))if(!s[u.name]&&By(u)){const f=M(u.type);r.reportError(new R(`Field "${o.name}.${u.name}" of required type "${f}" was not provided.`,{nodes:n}))}o.isOneOf&&Y1(r,n,o,s,t)},ObjectField(n){const o=gr(r.getParentInputType());if(!r.getInputType()&&Et(o)){const u=Dr(n.name.value,Object.keys(o.getFields()));r.reportError(new R(`Field "${n.name.value}" is not defined by type "${o.name}".`+Jn(u),{nodes:n}))}},NullValue(n){const o=r.getInputType();we(o)&&r.reportError(new R(`Expected value of type "${M(o)}", found ${Je(n)}.`,{nodes:n}))},EnumValue:n=>lr(r,n),IntValue:n=>lr(r,n),FloatValue:n=>lr(r,n),StringValue:n=>lr(r,n),BooleanValue:n=>lr(r,n)}}function lr(r,t){const n=r.getInputType();if(!n)return;const o=gr(n);if(!Br(o)){const s=M(n);r.reportError(new R(`Expected value of type "${s}", found ${Je(t)}.`,{nodes:t}));return}try{if(o.parseLiteral(t,void 0)===void 0){const u=M(n);r.reportError(new R(`Expected value of type "${u}", found ${Je(t)}.`,{nodes:t}))}}catch(s){const u=M(n);s instanceof R?r.reportError(s):r.reportError(new R(`Expected value of type "${u}", found ${Je(t)}; `+s.message,{nodes:t,originalError:s}))}}function Y1(r,t,n,o,s){var u;const l=Object.keys(o);if(l.length!==1){r.reportError(new R(`OneOf Input Object "${n.name}" must specify exactly one key.`,{nodes:[t]}));return}const p=(u=o[l[0]])===null||u===void 0?void 0:u.value,m=!p||p.kind===T.NULL,E=(p==null?void 0:p.kind)===T.VARIABLE;if(m){r.reportError(new R(`Field "${n.name}.${l[0]}" must be non-null.`,{nodes:[t]}));return}if(E){const _=p.name.value;s[_].type.kind!==T.NON_NULL_TYPE&&r.reportError(new R(`Variable "${_}" must be non-nullable to be used for OneOf Input Object "${n.name}".`,{nodes:[t]}))}}function W1(r){return{VariableDefinition(t){const n=hn(r.getSchema(),t.type);if(n!==void 0&&!Ku(n)){const o=t.variable.name.value,s=Je(t.type);r.reportError(new R(`Variable "$${o}" cannot be non-input type "${s}".`,{nodes:t.type}))}}}}function Q1(r){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){const o=r.getRecursiveVariableUsages(n);for(const{node:s,type:u,defaultValue:l}of o){const f=s.name.value,p=t[f];if(p&&u){const m=r.getSchema(),E=hn(m,p.type);if(E&&!z1(m,E,p.defaultValue,u,l)){const _=M(E),O=M(u);r.reportError(new R(`Variable "$${f}" of type "${_}" used in position expecting type "${O}".`,{nodes:[p,s]}))}}}}},VariableDefinition(n){t[n.variable.name.value]=n}}}function z1(r,t,n,o,s){if(we(o)&&!we(t)){if(!(n!=null&&n.kind!==T.NULL)&&!(s!==void 0))return!1;const f=o.ofType;return Di(r,t,f)}return Di(r,t,o)}const H1=Object.freeze([u1]);Object.freeze([zy,U1,i1,x1,Sp,Zy,W1,I1,Hy,M1,n1,c1,v1,a1,j1,l1,f1,Op,Bp,Ky,$p,q1,b1,Q1,h1,Pp,...H1]);const J1=Object.freeze([s1,G1,V1,$1,B1,L1,R1,Sp,Op,Bp,y1,kp,$p,Pp,Rp]);class X1{constructor(t,n){this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=n}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(t){this._onError(t)}getDocument(){return this._ast}getFragment(t){let n;if(this._fragments)n=this._fragments;else{n=Object.create(null);for(const o of this.getDocument().definitions)o.kind===T.FRAGMENT_DEFINITION&&(n[o.name.value]=o);this._fragments=n}return n[t]}getFragmentSpreads(t){let n=this._fragmentSpreads.get(t);if(!n){n=[];const o=[t];let s;for(;s=o.pop();)for(const u of s.selections)u.kind===T.FRAGMENT_SPREAD?n.push(u):u.selectionSet&&o.push(u.selectionSet);this._fragmentSpreads.set(t,n)}return n}getRecursivelyReferencedFragments(t){let n=this._recursivelyReferencedFragments.get(t);if(!n){n=[];const o=Object.create(null),s=[t.selectionSet];let u;for(;u=s.pop();)for(const l of this.getFragmentSpreads(u)){const f=l.name.value;if(o[f]!==!0){o[f]=!0;const p=this.getFragment(f);p&&(n.push(p),s.push(p.selectionSet))}}this._recursivelyReferencedFragments.set(t,n)}return n}}class Z1 extends X1{constructor(t,n,o){super(t,o),this._schema=n}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}function K1(r,t,n=J1){const o=[],s=new Z1(r,t,l=>{o.push(l)}),u=n.map(l=>l(s));return sp(r,Ny(u)),o}function eA(r){const t=K1(r);if(t.length!==0)throw new Error(t.map(n=>n.message).join(` - -`))}function tA(r,t){Sn(r)&&Sn(r.__schema)||fe(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${M(r)}.`);const n=r.__schema,o=cr(n.types,x=>x.name,x=>O(x));for(const x of[...Qs,...Hs])o[x.name]&&(o[x.name]=x);const s=n.queryType?E(n.queryType):null,u=n.mutationType?E(n.mutationType):null,l=n.subscriptionType?E(n.subscriptionType):null,f=n.directives?n.directives.map(gn):[];return new Ip({description:n.description,query:s,mutation:u,subscription:l,types:Object.values(o),directives:f,assumeValid:void 0});function p(x){if(x.kind===Ae.LIST){const X=x.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");return new ct(p(X))}if(x.kind===Ae.NON_NULL){const X=x.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");const ot=p(X);return new ie(xy(ot))}return m(x)}function m(x){const X=x.name;if(!X)throw new Error(`Unknown type reference: ${M(x)}.`);const ot=o[X];if(!ot)throw new Error(`Invalid or incomplete schema, unknown type: ${X}. Ensure that a full introspection query is used in order to build a client schema.`);return ot}function E(x){return Sy(m(x))}function _(x){return Cy(m(x))}function O(x){if(x!=null&&x.name!=null&&x.kind!=null)switch(x.kind){case Ae.SCALAR:return w(x);case Ae.OBJECT:return $(x);case Ae.INTERFACE:return Y(x);case Ae.UNION:return ce(x);case Ae.ENUM:return be(x);case Ae.INPUT_OBJECT:return me(x)}const X=M(x);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${X}.`)}function w(x){return new Cn({name:x.name,description:x.description,specifiedByURL:x.specifiedByURL})}function I(x){if(x.interfaces===null&&x.kind===Ae.INTERFACE)return[];if(!x.interfaces){const X=M(x);throw new Error(`Introspection result missing interfaces: ${X}.`)}return x.interfaces.map(_)}function $(x){return new pn({name:x.name,description:x.description,interfaces:()=>I(x),fields:()=>Oe(x)})}function Y(x){return new Ls({name:x.name,description:x.description,interfaces:()=>I(x),fields:()=>Oe(x)})}function ce(x){if(!x.possibleTypes){const X=M(x);throw new Error(`Introspection result missing possibleTypes: ${X}.`)}return new Rs({name:x.name,description:x.description,types:()=>x.possibleTypes.map(E)})}function be(x){if(!x.enumValues){const X=M(x);throw new Error(`Introspection result missing enumValues: ${X}.`)}return new Pr({name:x.name,description:x.description,values:cr(x.enumValues,X=>X.name,X=>({description:X.description,deprecationReason:X.deprecationReason}))})}function me(x){if(!x.inputFields){const X=M(x);throw new Error(`Introspection result missing inputFields: ${X}.`)}return new $s({name:x.name,description:x.description,fields:()=>st(x.inputFields),isOneOf:x.isOneOf})}function Oe(x){if(!x.fields)throw new Error(`Introspection result missing fields: ${M(x)}.`);return cr(x.fields,X=>X.name,Le)}function Le(x){const X=p(x.type);if(!up(X)){const ot=M(X);throw new Error(`Introspection must provide output type for fields, but received: ${ot}.`)}if(!x.args){const ot=M(x);throw new Error(`Introspection result missing field args: ${ot}.`)}return{description:x.description,deprecationReason:x.deprecationReason,type:X,args:st(x.args)}}function st(x){return cr(x,X=>X.name,et)}function et(x){const X=p(x.type);if(!Ku(X)){const Rn=M(X);throw new Error(`Introspection must provide input type for arguments, but received: ${Rn}.`)}const ot=x.defaultValue!=null?Wn(_y(x.defaultValue),X):void 0;return{description:x.description,type:X,defaultValue:ot,deprecationReason:x.deprecationReason}}function gn(x){if(!x.args){const X=M(x);throw new Error(`Introspection result missing directive args: ${X}.`)}if(!x.locations){const X=M(x);throw new Error(`Introspection result missing directive locations: ${X}.`)}return new xn({name:x.name,description:x.description,isRepeatable:x.isRepeatable,locations:x.locations.slice(),args:st(x.args)})}}function nA(r,t,n){var o,s,u,l;const f=[],p=Object.create(null),m=[];let E;const _=[];for(const b of t.definitions)if(b.kind===T.SCHEMA_DEFINITION)E=b;else if(b.kind===T.SCHEMA_EXTENSION)_.push(b);else if(ki(b))f.push(b);else if(na(b)){const V=b.name.value,P=p[V];p[V]=P?P.concat([b]):[b]}else b.kind===T.DIRECTIVE_DEFINITION&&m.push(b);if(Object.keys(p).length===0&&f.length===0&&m.length===0&&_.length===0&&E==null)return r;const O=Object.create(null);for(const b of r.types)O[b.name]=be(b);for(const b of f){var w;const V=b.name.value;O[V]=(w=Af[V])!==null&&w!==void 0?w:It(b)}const I={query:r.query&&Y(r.query),mutation:r.mutation&&Y(r.mutation),subscription:r.subscription&&Y(r.subscription),...E&&ot([E]),...ot(_)};return{description:(o=E)===null||o===void 0||(s=o.description)===null||s===void 0?void 0:s.value,...I,types:Object.values(O),directives:[...r.directives.map(ce),...m.map(Oi)],extensions:Object.create(null),astNode:(u=E)!==null&&u!==void 0?u:r.astNode,extensionASTNodes:r.extensionASTNodes.concat(_),assumeValid:(l=n==null?void 0:n.assumeValid)!==null&&l!==void 0?l:!1};function $(b){return Dt(b)?new ct($(b.ofType)):we(b)?new ie($(b.ofType)):Y(b)}function Y(b){return O[b.name]}function ce(b){const V=b.toConfig();return new xn({...V,args:bn(V.args,X)})}function be(b){if(qy(b)||Uy(b))return b;if(Xn(b))return Le(b);if(Ye(b))return st(b);if(Ve(b))return et(b);if(Mt(b))return gn(b);if(Zt(b))return Oe(b);if(Et(b))return me(b);Xt(!1,"Unexpected type: "+M(b))}function me(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];return new $s({...P,fields:()=>({...bn(P.fields,he=>({...he,type:$(he.type)})),...sn(U)}),extensionASTNodes:P.extensionASTNodes.concat(U)})}function Oe(b){var V;const P=b.toConfig(),U=(V=p[b.name])!==null&&V!==void 0?V:[];return new Pr({...P,values:{...P.values,...Gt(U)},extensionASTNodes:P.extensionASTNodes.concat(U)})}function Le(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];let he=P.specifiedByURL;for(const de of U){var Pe;he=(Pe=Ff(de))!==null&&Pe!==void 0?Pe:he}return new Cn({...P,specifiedByURL:he,extensionASTNodes:P.extensionASTNodes.concat(U)})}function st(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];return new pn({...P,interfaces:()=>[...b.getInterfaces().map(Y),...vr(U)],fields:()=>({...bn(P.fields,x),..._r(U)}),extensionASTNodes:P.extensionASTNodes.concat(U)})}function et(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];return new Ls({...P,interfaces:()=>[...b.getInterfaces().map(Y),...vr(U)],fields:()=>({...bn(P.fields,x),..._r(U)}),extensionASTNodes:P.extensionASTNodes.concat(U)})}function gn(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];return new Rs({...P,types:()=>[...b.getTypes().map(Y),...Kn(U)],extensionASTNodes:P.extensionASTNodes.concat(U)})}function x(b){return{...b,type:$(b.type),args:b.args&&bn(b.args,X)}}function X(b){return{...b,type:$(b.type)}}function ot(b){const V={};for(const U of b){var P;const he=(P=U.operationTypes)!==null&&P!==void 0?P:[];for(const Pe of he)V[Pe.operation]=Rn(Pe.type)}return V}function Rn(b){var V;const P=b.name.value,U=(V=Af[P])!==null&&V!==void 0?V:O[P];if(U===void 0)throw new Error(`Unknown type: "${P}".`);return U}function Zn(b){return b.kind===T.LIST_TYPE?new ct(Zn(b.type)):b.kind===T.NON_NULL_TYPE?new ie(Zn(b.type)):Rn(b)}function Oi(b){var V;return new xn({name:b.name.value,description:(V=b.description)===null||V===void 0?void 0:V.value,locations:b.locations.map(({value:P})=>P),isRepeatable:b.repeatable,args:Si(b.arguments),astNode:b})}function _r(b){const V=Object.create(null);for(const he of b){var P;const Pe=(P=he.fields)!==null&&P!==void 0?P:[];for(const de of Pe){var U;V[de.name.value]={type:Zn(de.type),description:(U=de.description)===null||U===void 0?void 0:U.value,args:Si(de.arguments),deprecationReason:Ns(de),astNode:de}}}return V}function Si(b){const V=b??[],P=Object.create(null);for(const he of V){var U;const Pe=Zn(he.type);P[he.name.value]={type:Pe,description:(U=he.description)===null||U===void 0?void 0:U.value,defaultValue:Wn(he.defaultValue,Pe),deprecationReason:Ns(he),astNode:he}}return P}function sn(b){const V=Object.create(null);for(const he of b){var P;const Pe=(P=he.fields)!==null&&P!==void 0?P:[];for(const de of Pe){var U;const kt=Zn(de.type);V[de.name.value]={type:kt,description:(U=de.description)===null||U===void 0?void 0:U.value,defaultValue:Wn(de.defaultValue,kt),deprecationReason:Ns(de),astNode:de}}}return V}function Gt(b){const V=Object.create(null);for(const he of b){var P;const Pe=(P=he.values)!==null&&P!==void 0?P:[];for(const de of Pe){var U;V[de.name.value]={description:(U=de.description)===null||U===void 0?void 0:U.value,deprecationReason:Ns(de),astNode:de}}}return V}function vr(b){return b.flatMap(V=>{var P,U;return(P=(U=V.interfaces)===null||U===void 0?void 0:U.map(Rn))!==null&&P!==void 0?P:[]})}function Kn(b){return b.flatMap(V=>{var P,U;return(P=(U=V.types)===null||U===void 0?void 0:U.map(Rn))!==null&&P!==void 0?P:[]})}function It(b){var V;const P=b.name.value,U=(V=p[P])!==null&&V!==void 0?V:[];switch(b.kind){case T.OBJECT_TYPE_DEFINITION:{var he;const tt=[b,...U];return new pn({name:P,description:(he=b.description)===null||he===void 0?void 0:he.value,interfaces:()=>vr(tt),fields:()=>_r(tt),astNode:b,extensionASTNodes:U})}case T.INTERFACE_TYPE_DEFINITION:{var Pe;const tt=[b,...U];return new Ls({name:P,description:(Pe=b.description)===null||Pe===void 0?void 0:Pe.value,interfaces:()=>vr(tt),fields:()=>_r(tt),astNode:b,extensionASTNodes:U})}case T.ENUM_TYPE_DEFINITION:{var de;const tt=[b,...U];return new Pr({name:P,description:(de=b.description)===null||de===void 0?void 0:de.value,values:Gt(tt),astNode:b,extensionASTNodes:U})}case T.UNION_TYPE_DEFINITION:{var kt;const tt=[b,...U];return new Rs({name:P,description:(kt=b.description)===null||kt===void 0?void 0:kt.value,types:()=>Kn(tt),astNode:b,extensionASTNodes:U})}case T.SCALAR_TYPE_DEFINITION:{var Gr;return new Cn({name:P,description:(Gr=b.description)===null||Gr===void 0?void 0:Gr.value,specifiedByURL:Ff(b),astNode:b,extensionASTNodes:U})}case T.INPUT_OBJECT_TYPE_DEFINITION:{var $n;const tt=[b,...U];return new $s({name:P,description:($n=b.description)===null||$n===void 0?void 0:$n.value,fields:()=>sn(tt),astNode:b,extensionASTNodes:U,isOneOf:rA(b)})}}}}const Af=dr([...Qs,...Hs],r=>r.name);function Ns(r){const t=Fi(vp,r);return t==null?void 0:t.reason}function Ff(r){const t=Fi(Tp,r);return t==null?void 0:t.url}function rA(r){return!!Fi(yp,r)}function iA(r,t){r!=null&&r.kind===T.DOCUMENT||fe(!1,"Must provide valid Document AST."),(t==null?void 0:t.assumeValid)!==!0&&(t==null?void 0:t.assumeValidSDL)!==!0&&eA(r);const o=nA({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},r,t);if(o.astNode==null)for(const u of o.types)switch(u.name){case"Query":o.query=u;break;case"Mutation":o.mutation=u;break;case"Subscription":o.subscription=u;break}const s=[...o.directives,...Ur.filter(u=>o.directives.every(l=>l.name!==u.name))];return new Ip({...o,directives:s})}function sA(r,t){const n=Dy(r,{noLocation:void 0,allowLegacyFragmentVariables:void 0});return iA(n,{assumeValidSDL:void 0,assumeValid:void 0})}function oA(r){const t=new Map;return uA(r,n=>{Ye(n)&&aA(n,o=>{const s=$u(o.type);wu(t,s).references.push({kind:Ei.FIELD,parent:n,by:o}),lA(o,l=>{const f=$u(l.type);wu(t,f).references.push({kind:Ei.ARGUMENT,field:o,type:n,by:l})})}),Mt(n)&&n.getTypes().forEach(o=>{wu(t,o).references.push({kind:Ei.UNION,by:n})})}),new qT(t)}function uA(r,t){Object.entries(r.getTypeMap()).forEach(([,n])=>{n.name.startsWith("__")||t(n)})}function aA(r,t){Object.entries(r.getFields()).forEach(([,n])=>{t(n)})}function lA(r,t){Object.entries(r.args).forEach(([,n])=>{t(n)})}function wu(r,t){let n=r.get(t.name);return n||(n={references:[]},r.set(t.name,n)),n}function $u(r){return we(r)||Dt(r)?$u(r.ofType):r}const wf="",ft=yA(),Bu=js(Vs.DIRECTIVES,[]);var Nf;const cA=Js((Nf=ft.getQueryType())==null?void 0:Nf.getFields());var If;const fA=Js((If=ft.getMutationType())==null?void 0:If.getFields());var kf;const pA=Js((kf=ft.getSubscriptionType())==null?void 0:kf.getFields()),oa=On.keyBy(Up(),r=>r.name.toLocaleLowerCase()),hA=On.mapValues(oa,r=>{const t=Bu.find(n=>(n==null?void 0:n.name)===r.name||(n==null?void 0:n.name)==="*");return t?t.args.some(n=>n==="*")?r.args:t.args.map(n=>r.args.find(o=>o.name===n)).filter(n=>!!n):[]}),dA=Js(ft.getTypeMap()),gA=oA(ft);function Js(r){return On.mapKeys(r||{},(t,n)=>n.toLocaleLowerCase())}function mA(){return On.size(ft.getTypeMap())<=10}function EA(){return[bu("Queries",ft.getQueryType()),bu("Mutations",ft.getMutationType()),bu("Subscriptions",ft.getSubscriptionType()),AA(),vA()].filter(r=>!!r)}function bu(r,t){return _A(r,DA(t))}function DA(r){return On.sortBy((r==null?void 0:r.getFields())||{},t=>t.name)}function _A(r,t){return t.length===0?null:{type:"menu",title:r,children:t.map(n=>({type:"page",title:n.name,section:r,deprecated:!!n.deprecationReason,href:Ni.joinUrlPaths(qs(),r.toLocaleLowerCase(),n.name)}))}}function vA(){return mA()?null:{type:"menu",title:"Types",children:On.sortBy(On.map(ft.getTypeMap()),t=>t.name).filter(t=>!t.name.startsWith("__")).map(t=>({type:"page",title:t.name,section:"Types",href:Ni.joinUrlPaths(qs(),"types",t.name)}))}}function PA(){return!!ft.getQueryType()}function MA(r){return cA[r.toLocaleLowerCase()]}function UA(){return!!ft.getMutationType()}function GA(r){return fA[r.toLocaleLowerCase()]}function VA(){return!!ft.getSubscriptionType()}function jA(r){return pA[r.toLocaleLowerCase()]}function qA(r){return dA[r.toLocaleLowerCase()]}function TA(r){return oa[r.toLocaleLowerCase()]}function YA(r){return TA(r.name)!==void 0}function WA(){return On.size(oa)>0}function QA(r){return hA[r.name.toLocaleLowerCase()]||[]}function zA(r){if(r)return gA.getFor(r)}function HA(r){return On.flatMap(r.getFields(),t=>({field:t,possibleDescriptions:Mp(t,r)}))}function Mp(r,t){return r?r.description?[{description:r.description,from:t}]:Ye(t)?t.getInterfaces().flatMap(n=>Mp(n.getFields()[r.name],n)):[]:[]}function Up(){return Bu.some(r=>(r==null?void 0:r.name)==="*")?ft.getDirectives().filter(r=>!["include","skip","deprecated","specifiedBy"].includes(r.name)):Bu.filter(r=>!!(r!=null&&r.name)).map(({name:r})=>r?ft.getDirective(r):void 0).filter(r=>!!r)}function yA(){return wf.trim().length===0?tA(JSON.parse(JSON.stringify({__schema:{types:[]}}))):sA(wf)}function AA(){const r=Up();return r.length===0?null:{type:"menu",title:"Directives",children:r.map(t=>({type:"page",title:t.name,href:Ni.joinUrlPaths(qs(),"directives",t.name),section:"Directives"}))}}const JA=js(Vs.APP_TITLE,"GraphQL Documentation"),Gp=wA().concat(EA());NA(Gp);const FA=Object.freeze(Gp),XA=bA();function wA(){return js(Vs.PAGES,kA()).filter(t=>!!t).map(t=>jp([],t))}function bA(){const r=IA();if(r)return r.href;throw new Error("No custom pages or query available to use as the root application URL. You need to provide at least one custom page or your schema should contain at least one query/mutation/subscription.")}function NA(r){function t(o,s){for(const u of o){if(u.type==="page"){s(u);continue}u.type==="menu"&&t(u.children,s)}}let n;t(r,o=>{n&&(n.next={title:o.title,section:o.section,href:o.href},o.previous={title:n.title,section:n.section,href:n.href}),n=o})}function IA(){return Vp(()=>!0)}function ZA(r){return Vp(t=>t.href.toLocaleLowerCase()===r.toLocaleLowerCase())}function Vp(r){function t(n){for(const o of n){if(o.type==="page"&&r(o))return o;if(o.type==="menu"){const s=t(o.children);if(s)return s}}return null}return t(FA)}function jp(r,t){if(typeof t.content=="string")return{type:"page",title:t.title,content:t.content,href:Ni.joinUrlPaths(qs(),...r,bf(t.title))};const n=r.concat([bf(t.title)]);return{type:"menu",title:t.title,children:t.content.map(o=>({...jp(n,o),section:t.title}))}}function bf(r){return Ni.generatePathSegment(r,new Lf)}function kA(){return[{title:"Introduction",content:[{title:"Welcome",content:` - # Welcome 🎉 - - [Congratulations!](https://www.youtube.com/watch?v=1Bix44C1EzY) You have successfully created your first Magidoc website. - - Now that you are up and running, you can customize this website even further by providing some configuration inside your [magidoc.mjs ⚙️](https://magidoc.js.org/cli/magidoc-configuration). - If you wish to remove or modify this page, have a look at the *customPages* configuration. - `.split(` -`).map(r=>r.trim()).join(` -`)}]}]}export{xT as A,mA as B,qA as C,zA as D,Xn as E,Zt as F,Ve as G,Mt as H,Ye as I,Et as J,T as K,HA as L,gr as M,Br as N,$A as O,Us as P,Cf as Q,Ei as R,RA as S,Lf as T,De as U,Jt as V,JA as W,On as _,UA as a,PA as b,MA as c,VA as d,jA as e,ZA as f,GA as g,XA as h,Sf as i,LA as j,WA as k,TA as l,QA as m,qs as n,YA as o,FA as p,ln as q,ap as r,ft as s,Dt as t,Ni as u,we as v,BA as w,js as x,Vs as y,fi as z}; diff --git a/public/docs/_app/immutable/chunks/pages.BSRgrbSV.js b/public/docs/_app/immutable/chunks/pages.BSRgrbSV.js new file mode 100644 index 0000000..92818d2 --- /dev/null +++ b/public/docs/_app/immutable/chunks/pages.BSRgrbSV.js @@ -0,0 +1,143 @@ +var N_=Object.defineProperty;var Pc=r=>{throw TypeError(r)};var I_=(r,n,t)=>n in r?N_(r,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[n]=t;var ve=(r,n,t)=>I_(r,typeof n!="symbol"?n+"":n,t),O_=(r,n,t)=>n.has(r)||Pc("Cannot "+t);var Mc=(r,n,t)=>n.has(r)?Pc("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(r):n.set(r,t);var ai=(r,n,t)=>(O_(r,n,"access private method"),t);import{s as Oe,q as sn,l as Te,d as J,I as Uc,t as Pu,j as Mu,o as Uu,n as Ke,a2 as _i,E as et,v as kf,e as Se,f as xe,g as qe,ae as Os,F as nt,G as tt,H as rt,k as En,m as bt,b as Gu,c as Vu,ah as k_,ai as S_,ak as Gc,K as x_}from"./scheduler.6x_t8-M_.js";import{S as Le,i as $e,t as ee,g as Nt,b as oe,e as It,c as Wt,a as mr,m as Qt,d as zt}from"./index.DNIXW-5M.js";import{b as C_}from"./control.xy6l2DY8.js";function at(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}function Sf(r,n){const t={},s={},o={$$scope:1};let u=r.length;for(;u--;){const l=r[u],f=n[u];if(f){for(const p in l)p in f||(s[p]=1);for(const p in f)o[p]||(t[p]=f[p],o[p]=1);r[u]=f}else for(const p in l)o[p]=1}for(const l in s)l in t||(t[l]=void 0);return t}function RA(r){return typeof r=="object"&&r!==null?r:{}}function Vc(r){let n,t,s;var o=r[1][r[0].type];function u(l,f){return{props:{token:l[0],options:l[2],renderers:l[1],$$slots:{default:[$_]},$$scope:{ctx:l}}}}return o&&(n=Uc(o,u(r))),{c(){n&&Wt(n.$$.fragment),t=sn()},l(l){n&&mr(n.$$.fragment,l),t=sn()},m(l,f){n&&Qt(n,l,f),Te(l,t,f),s=!0},p(l,f){if(f&3&&o!==(o=l[1][l[0].type])){if(n){Nt();const p=n;oe(p.$$.fragment,1,0,()=>{zt(p,1)}),It()}o?(n=Uc(o,u(l)),Wt(n.$$.fragment),ee(n.$$.fragment,1),Qt(n,t.parentNode,t)):n=null}else if(o){const p={};f&1&&(p.token=l[0]),f&4&&(p.options=l[2]),f&2&&(p.renderers=l[1]),f&15&&(p.$$scope={dirty:f,ctx:l}),n.$set(p)}},i(l){s||(n&&ee(n.$$.fragment,l),s=!0)},o(l){n&&oe(n.$$.fragment,l),s=!1},d(l){l&&J(t),n&&zt(n,l)}}}function R_(r){let n=r[0].raw+"",t;return{c(){t=Pu(n)},l(s){t=Mu(s,n)},m(s,o){Te(s,t,o)},p(s,o){o&1&&n!==(n=s[0].raw+"")&&Uu(t,n)},i:Ke,o:Ke,d(s){s&&J(t)}}}function L_(r){let n,t;return n=new Us({props:{tokens:r[0].tokens,renderers:r[1],options:r[2]}}),{c(){Wt(n.$$.fragment)},l(s){mr(n.$$.fragment,s)},m(s,o){Qt(n,s,o),t=!0},p(s,o){const u={};o&1&&(u.tokens=s[0].tokens),o&2&&(u.renderers=s[1]),o&4&&(u.options=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){oe(n.$$.fragment,s),t=!1},d(s){zt(n,s)}}}function $_(r){let n,t,s,o;const u=[L_,R_],l=[];function f(p,m){return"tokens"in p[0]&&p[0].tokens?0:1}return n=f(r),t=l[n]=u[n](r),{c(){t.c(),s=sn()},l(p){t.l(p),s=sn()},m(p,m){l[n].m(p,m),Te(p,s,m),o=!0},p(p,m){let E=n;n=f(p),n===E?l[n].p(p,m):(Nt(),oe(l[E],1,1,()=>{l[E]=null}),It(),t=l[n],t?t.p(p,m):(t=l[n]=u[n](p),t.c()),ee(t,1),t.m(s.parentNode,s))},i(p){o||(ee(t),o=!0)},o(p){oe(t),o=!1},d(p){p&&J(s),l[n].d(p)}}}function B_(r){let n,t,s=r[1][r[0].type]&&Vc(r);return{c(){s&&s.c(),n=sn()},l(o){s&&s.l(o),n=sn()},m(o,u){s&&s.m(o,u),Te(o,n,u),t=!0},p(o,[u]){o[1][o[0].type]?s?(s.p(o,u),u&3&&ee(s,1)):(s=Vc(o),s.c(),ee(s,1),s.m(n.parentNode,n)):s&&(Nt(),oe(s,1,1,()=>{s=null}),It())},i(o){t||(ee(s),t=!0)},o(o){oe(s),t=!1},d(o){o&&J(n),s&&s.d(o)}}}function P_(r,n,t){let{token:s}=n,{renderers:o}=n,{options:u}=n;return r.$$set=l=>{"token"in l&&t(0,s=l.token),"renderers"in l&&t(1,o=l.renderers),"options"in l&&t(2,u=l.options)},[s,o,u]}class xf extends Le{constructor(n){super(),$e(this,n,P_,B_,Oe,{token:0,renderers:1,options:2})}}function jc(r,n,t){const s=r.slice();return s[3]=n[t],s}function qc(r){let n,t,s=at(r[0]),o=[];for(let l=0;loe(o[l],1,1,()=>{o[l]=null});return{c(){for(let l=0;l{s=null}),It())},i(o){t||(ee(s),t=!0)},o(o){oe(s),t=!1},d(o){o&&J(n),s&&s.d(o)}}}function U_(r,n,t){let{tokens:s}=n,{renderers:o}=n,{options:u}=n;return r.$$set=l=>{"tokens"in l&&t(0,s=l.tokens),"renderers"in l&&t(1,o=l.renderers),"options"in l&&t(2,u=l.options)},[s,o,u]}class Us extends Le{constructor(n){super(),$e(this,n,U_,M_,Oe,{tokens:0,renderers:1,options:2})}}function Ti(...r){return`/${r.flatMap(n=>n.split("/")).filter(n=>!!n).join("/")}`}function yi(r){return r.startsWith("/")||r.startsWith("#")}function Cf(r,n){return n.slug(r).replace(/--+/g,"-")}function _u(r){let n,t;const s=r[5].default,o=et(s,r,r[4],null);let u=[{id:r[1]}],l={};for(let f=0;f{"token"in m&&t(0,u=m.token),"options"in m&&t(2,l=m.options),"$$scope"in m&&t(4,o=m.$$scope)},r.$$.update=()=>{r.$$.dirty&5&&t(1,p=Cf(u.text,l.slugger))},[u,p,l,f,o,s]}class j_ extends Le{constructor(n){super(),$e(this,n,V_,G_,Oe,{token:0,options:2,renderers:3})}get renderers(){return this.$$.ctx[3]}}function q_(r){let n,t;const s=r[4].default,o=et(s,r,r[3],null);return{c(){n=Se("blockquote"),o&&o.c()},l(u){n=xe(u,"BLOCKQUOTE",{});var l=qe(n);o&&o.l(l),l.forEach(J)},m(u,l){Te(u,n,l),o&&o.m(n,null),t=!0},p(u,[l]){o&&o.p&&(!t||l&8)&&nt(o,s,u,u[3],t?rt(s,u[3],l,null):tt(u[3]),null)},i(u){t||(ee(o,u),t=!0)},o(u){oe(o,u),t=!1},d(u){u&&J(n),o&&o.d(u)}}}function Y_(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class W_ extends Le{constructor(n){super(),$e(this,n,Y_,q_,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function Wc(r,n,t){const s=r.slice();return s[4]=n[t],s}function Qc(r){let n,t;return n=new xf({props:{token:{...r[4]},options:r[1],renderers:r[2]}}),{c(){Wt(n.$$.fragment)},l(s){mr(n.$$.fragment,s)},m(s,o){Qt(n,s,o),t=!0},p(s,o){const u={};o&1&&(u.token={...s[4]}),o&2&&(u.options=s[1]),o&4&&(u.renderers=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){oe(n.$$.fragment,s),t=!1},d(s){zt(n,s)}}}function Tu(r){let n,t,s,o=at(r[0].items),u=[];for(let m=0;moe(u[m],1,1,()=>{u[m]=null});let f=[{start:t=r[0].start||1}],p={};for(let m=0;m{"token"in f&&t(0,s=f.token),"options"in f&&t(1,o=f.options),"renderers"in f&&t(2,u=f.renderers)},r.$$.update=()=>{r.$$.dirty&1&&t(3,l=s.ordered?"ol":"ul")},[s,o,u,l]}class H_ extends Le{constructor(n){super(),$e(this,n,z_,Q_,Oe,{token:0,options:1,renderers:2})}}function J_(r){let n,t;const s=r[4].default,o=et(s,r,r[3],null);return{c(){n=Se("li"),o&&o.c()},l(u){n=xe(u,"LI",{});var l=qe(n);o&&o.l(l),l.forEach(J)},m(u,l){Te(u,n,l),o&&o.m(n,null),t=!0},p(u,[l]){o&&o.p&&(!t||l&8)&&nt(o,s,u,u[3],t?rt(s,u[3],l,null):tt(u[3]),null)},i(u){t||(ee(o,u),t=!0)},o(u){oe(o,u),t=!1},d(u){u&&J(n),o&&o.d(u)}}}function X_(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class Z_ extends Le{constructor(n){super(),$e(this,n,X_,J_,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function K_(r){let n;return{c(){n=Se("br")},l(t){n=xe(t,"BR",{})},m(t,s){Te(t,n,s)},p:Ke,i:Ke,o:Ke,d(t){t&&J(n)}}}function eT(r,n,t){return[void 0,void 0,void 0]}class nT extends Le{constructor(n){super(),$e(this,n,eT,K_,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function tT(r){let n,t,s=r[0].text+"",o,u;return{c(){n=Se("pre"),t=Se("code"),o=Pu(s),this.h()},l(l){n=xe(l,"PRE",{});var f=qe(n);t=xe(f,"CODE",{class:!0});var p=qe(t);o=Mu(p,s),p.forEach(J),f.forEach(J),this.h()},h(){En(t,"class",u=`lang-${r[0].lang}`)},m(l,f){Te(l,n,f),bt(n,t),bt(t,o)},p(l,[f]){f&1&&s!==(s=l[0].text+"")&&Uu(o,s),f&1&&u!==(u=`lang-${l[0].lang}`)&&En(t,"class",u)},i:Ke,o:Ke,d(l){l&&J(n)}}}function rT(r,n,t){let{token:s}=n;const o=void 0,u=void 0;return r.$$set=l=>{"token"in l&&t(0,s=l.token)},[s,o,u]}class iT extends Le{constructor(n){super(),$e(this,n,rT,tT,Oe,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function sT(r){let n,t=r[0].raw.slice(1,r[0].raw.length-1)+"",s;return{c(){n=Se("code"),s=Pu(t)},l(o){n=xe(o,"CODE",{});var u=qe(n);s=Mu(u,t),u.forEach(J)},m(o,u){Te(o,n,u),bt(n,s)},p(o,[u]){u&1&&t!==(t=o[0].raw.slice(1,o[0].raw.length-1)+"")&&Uu(s,t)},i:Ke,o:Ke,d(o){o&&J(n)}}}function oT(r,n,t){let{token:s}=n;const o=void 0,u=void 0;return r.$$set=l=>{"token"in l&&t(0,s=l.token)},[s,o,u]}class uT extends Le{constructor(n){super(),$e(this,n,oT,sT,Oe,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function zc(r,n,t){const s=r.slice();return s[3]=n[t],s}function Hc(r,n,t){const s=r.slice();return s[6]=n[t],s}function Jc(r,n,t){const s=r.slice();return s[9]=n[t],s}function Xc(r){let n,t,s,o;return t=new Us({props:{tokens:r[9].tokens,options:r[1],renderers:r[2]}}),{c(){n=Se("th"),Wt(t.$$.fragment),s=Gu(),this.h()},l(u){n=xe(u,"TH",{scope:!0});var l=qe(n);mr(t.$$.fragment,l),s=Vu(l),l.forEach(J),this.h()},h(){En(n,"scope","col")},m(u,l){Te(u,n,l),Qt(t,n,null),bt(n,s),o=!0},p(u,l){const f={};l&1&&(f.tokens=u[9].tokens),l&2&&(f.options=u[1]),l&4&&(f.renderers=u[2]),t.$set(f)},i(u){o||(ee(t.$$.fragment,u),o=!0)},o(u){oe(t.$$.fragment,u),o=!1},d(u){u&&J(n),zt(t)}}}function Zc(r){let n,t,s;return t=new Us({props:{tokens:r[6].tokens,options:r[1],renderers:r[2]}}),{c(){n=Se("td"),Wt(t.$$.fragment)},l(o){n=xe(o,"TD",{});var u=qe(n);mr(t.$$.fragment,u),u.forEach(J)},m(o,u){Te(o,n,u),Qt(t,n,null),s=!0},p(o,u){const l={};u&1&&(l.tokens=o[6].tokens),u&2&&(l.options=o[1]),u&4&&(l.renderers=o[2]),t.$set(l)},i(o){s||(ee(t.$$.fragment,o),s=!0)},o(o){oe(t.$$.fragment,o),s=!1},d(o){o&&J(n),zt(t)}}}function Kc(r){let n,t,s,o=at(r[3]),u=[];for(let f=0;foe(u[f],1,1,()=>{u[f]=null});return{c(){n=Se("tr");for(let f=0;foe(p[w],1,1,()=>{p[w]=null});let E=at(r[0].rows),_=[];for(let w=0;woe(_[w],1,1,()=>{_[w]=null});return{c(){n=Se("table"),t=Se("thead"),s=Se("tr");for(let w=0;w{"token"in l&&t(0,s=l.token),"options"in l&&t(1,o=l.options),"renderers"in l&&t(2,u=l.renderers)},[s,o,u]}class cT extends Le{constructor(n){super(),$e(this,n,lT,aT,Oe,{token:0,options:1,renderers:2})}}function fT(r){let n,t=r[0].text+"",s;return{c(){n=new k_(!1),s=sn(),this.h()},l(o){n=S_(o,!1),s=sn(),this.h()},h(){n.a=s},m(o,u){n.m(t,o,u),Te(o,s,u)},p(o,[u]){u&1&&t!==(t=o[0].text+"")&&n.p(t)},i:Ke,o:Ke,d(o){o&&(J(s),n.d())}}}function pT(r,n,t){let{token:s}=n;const o=void 0,u=void 0;return r.$$set=l=>{"token"in l&&t(0,s=l.token)},[s,o,u]}class dT extends Le{constructor(n){super(),$e(this,n,pT,fT,Oe,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function hT(r){let n,t;const s=r[4].default,o=et(s,r,r[3],null);return{c(){n=Se("p"),o&&o.c()},l(u){n=xe(u,"P",{});var l=qe(n);o&&o.l(l),l.forEach(J)},m(u,l){Te(u,n,l),o&&o.m(n,null),t=!0},p(u,[l]){o&&o.p&&(!t||l&8)&&nt(o,s,u,u[3],t?rt(s,u[3],l,null):tt(u[3]),null)},i(u){t||(ee(o,u),t=!0)},o(u){oe(o,u),t=!1},d(u){u&&J(n),o&&o.d(u)}}}function gT(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class mT extends Le{constructor(n){super(),$e(this,n,gT,hT,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function ET(r){let n,t,s,o;const u=r[4].default,l=et(u,r,r[3],null);return{c(){n=Se("a"),l&&l.c(),this.h()},l(f){n=xe(f,"A",{href:!0,title:!0});var p=qe(n);l&&l.l(p),p.forEach(J),this.h()},h(){En(n,"href",t=yi(r[0].href)?Ti(r[1].baseUrl,r[0].href):r[0].href),En(n,"title",s=r[0].title)},m(f,p){Te(f,n,p),l&&l.m(n,null),o=!0},p(f,[p]){l&&l.p&&(!o||p&8)&&nt(l,u,f,f[3],o?rt(u,f[3],p,null):tt(f[3]),null),(!o||p&3&&t!==(t=yi(f[0].href)?Ti(f[1].baseUrl,f[0].href):f[0].href))&&En(n,"href",t),(!o||p&1&&s!==(s=f[0].title))&&En(n,"title",s)},i(f){o||(ee(l,f),o=!0)},o(f){oe(l,f),o=!1},d(f){f&&J(n),l&&l.d(f)}}}function DT(r,n,t){let{$$slots:s={},$$scope:o}=n,{token:u}=n,{options:l}=n;const f=void 0;return r.$$set=p=>{"token"in p&&t(0,u=p.token),"options"in p&&t(1,l=p.options),"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class _T extends Le{constructor(n){super(),$e(this,n,DT,ET,Oe,{token:0,options:1,renderers:2})}get renderers(){return this.$$.ctx[2]}}function TT(r){let n;const t=r[4].default,s=et(t,r,r[3],null);return{c(){s&&s.c()},l(o){s&&s.l(o)},m(o,u){s&&s.m(o,u),n=!0},p(o,[u]){s&&s.p&&(!n||u&8)&&nt(s,t,o,o[3],n?rt(t,o[3],u,null):tt(o[3]),null)},i(o){n||(ee(s,o),n=!0)},o(o){oe(s,o),n=!1},d(o){s&&s.d(o)}}}function yT(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class vT extends Le{constructor(n){super(),$e(this,n,yT,TT,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function AT(r){let n,t;const s=r[4].default,o=et(s,r,r[3],null);return{c(){n=Se("dfn"),o&&o.c()},l(u){n=xe(u,"DFN",{});var l=qe(n);o&&o.l(l),l.forEach(J)},m(u,l){Te(u,n,l),o&&o.m(n,null),t=!0},p(u,[l]){o&&o.p&&(!t||l&8)&&nt(o,s,u,u[3],t?rt(s,u[3],l,null):tt(u[3]),null)},i(u){t||(ee(o,u),t=!0)},o(u){oe(o,u),t=!1},d(u){u&&J(n),o&&o.d(u)}}}function FT(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class wT extends Le{constructor(n){super(),$e(this,n,FT,AT,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function bT(r){let n,t;const s=r[4].default,o=et(s,r,r[3],null);return{c(){n=Se("del"),o&&o.c()},l(u){n=xe(u,"DEL",{});var l=qe(n);o&&o.l(l),l.forEach(J)},m(u,l){Te(u,n,l),o&&o.m(n,null),t=!0},p(u,[l]){o&&o.p&&(!t||l&8)&&nt(o,s,u,u[3],t?rt(s,u[3],l,null):tt(u[3]),null)},i(u){t||(ee(o,u),t=!0)},o(u){oe(o,u),t=!1},d(u){u&&J(n),o&&o.d(u)}}}function NT(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class IT extends Le{constructor(n){super(),$e(this,n,NT,bT,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function OT(r){let n,t;const s=r[4].default,o=et(s,r,r[3],null);return{c(){n=Se("em"),o&&o.c()},l(u){n=xe(u,"EM",{});var l=qe(n);o&&o.l(l),l.forEach(J)},m(u,l){Te(u,n,l),o&&o.m(n,null),t=!0},p(u,[l]){o&&o.p&&(!t||l&8)&&nt(o,s,u,u[3],t?rt(s,u[3],l,null):tt(u[3]),null)},i(u){t||(ee(o,u),t=!0)},o(u){oe(o,u),t=!1},d(u){u&&J(n),o&&o.d(u)}}}function kT(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class ST extends Le{constructor(n){super(),$e(this,n,kT,OT,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function xT(r){let n;return{c(){n=Se("hr")},l(t){n=xe(t,"HR",{})},m(t,s){Te(t,n,s)},p:Ke,i:Ke,o:Ke,d(t){t&&J(n)}}}function CT(r,n,t){return[void 0,void 0,void 0]}class RT extends Le{constructor(n){super(),$e(this,n,CT,xT,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function LT(r){let n,t;const s=r[4].default,o=et(s,r,r[3],null);return{c(){n=Se("strong"),o&&o.c()},l(u){n=xe(u,"STRONG",{});var l=qe(n);o&&o.l(l),l.forEach(J)},m(u,l){Te(u,n,l),o&&o.m(n,null),t=!0},p(u,[l]){o&&o.p&&(!t||l&8)&&nt(o,s,u,u[3],t?rt(s,u[3],l,null):tt(u[3]),null)},i(u){t||(ee(o,u),t=!0)},o(u){oe(o,u),t=!1},d(u){u&&J(n),o&&o.d(u)}}}function $T(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class BT extends Le{constructor(n){super(),$e(this,n,$T,LT,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function PT(r){let n,t,s,o;return{c(){n=Se("img"),this.h()},l(u){n=xe(u,"IMG",{src:!0,title:!0,alt:!0,class:!0}),this.h()},h(){Gc(n.src,t=yi(r[0].href)?Ti(r[1].baseUrl,r[0].href):r[0].href)||En(n,"src",t),En(n,"title",s=r[0].title),En(n,"alt",o=r[0].text),En(n,"class","markdown-image svelte-z38cge")},m(u,l){Te(u,n,l)},p(u,[l]){l&3&&!Gc(n.src,t=yi(u[0].href)?Ti(u[1].baseUrl,u[0].href):u[0].href)&&En(n,"src",t),l&1&&s!==(s=u[0].title)&&En(n,"title",s),l&1&&o!==(o=u[0].text)&&En(n,"alt",o)},i:Ke,o:Ke,d(u){u&&J(n)}}}function MT(r,n,t){let{token:s}=n,{options:o}=n;const u=void 0;return r.$$set=l=>{"token"in l&&t(0,s=l.token),"options"in l&&t(1,o=l.options)},[s,o,u]}class UT extends Le{constructor(n){super(),$e(this,n,MT,PT,Oe,{token:0,options:1,renderers:2})}get renderers(){return this.$$.ctx[2]}}function GT(r){let n;const t=r[4].default,s=et(t,r,r[3],null);return{c(){s&&s.c()},l(o){s&&s.l(o)},m(o,u){s&&s.m(o,u),n=!0},p(o,[u]){s&&s.p&&(!n||u&8)&&nt(s,t,o,o[3],n?rt(t,o[3],u,null):tt(o[3]),null)},i(o){n||(ee(s,o),n=!0)},o(o){oe(s,o),n=!1},d(o){s&&s.d(o)}}}function VT(r,n,t){let{$$slots:s={},$$scope:o}=n;const u=void 0,l=void 0,f=void 0;return r.$$set=p=>{"$$scope"in p&&t(3,o=p.$$scope)},[u,l,f,o,s]}class ef extends Le{constructor(n){super(),$e(this,n,VT,GT,Oe,{token:0,options:1,renderers:2})}get token(){return this.$$.ctx[0]}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}const jT=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,qT=Object.hasOwnProperty;class Rf{constructor(){this.occurrences,this.reset()}slug(n,t){const s=this;let o=YT(n,t===!0);const u=o;for(;qT.call(s.occurrences,o);)s.occurrences[u]++,o=u+"-"+s.occurrences[u];return s.occurrences[o]=0,o}reset(){this.occurrences=Object.create(null)}}function YT(r,n){return typeof r!="string"?"":(n||(r=r.toLowerCase()),r.replace(jT,"").replace(/ /g,"-"))}function ju(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Er=ju();function Lf(r){Er=r}const $f=/[&<>"']/,WT=new RegExp($f.source,"g"),Bf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,QT=new RegExp(Bf.source,"g"),zT={"&":"&","<":"<",">":">",'"':""","'":"'"},nf=r=>zT[r];function Nn(r,n){if(n){if($f.test(r))return r.replace(WT,nf)}else if(Bf.test(r))return r.replace(QT,nf);return r}const HT=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function JT(r){return r.replace(HT,(n,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const XT=/(^|[^\[])\^/g;function _e(r,n){let t=typeof r=="string"?r:r.source;n=n||"";const s={replace:(o,u)=>{let l=typeof u=="string"?u:u.source;return l=l.replace(XT,"$1"),t=t.replace(o,l),s},getRegex:()=>new RegExp(t,n)};return s}function tf(r){try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const gi={exec:()=>null};function rf(r,n){const t=r.replace(/\|/g,(u,l,f)=>{let p=!1,m=l;for(;--m>=0&&f[m]==="\\";)p=!p;return p?"|":" |"}),s=t.split(/ \|/);let o=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),n)if(s.length>n)s.splice(n);else for(;s.length{const u=o.match(/^\s+/);if(u===null)return o;const[l]=u;return l.length>=s.length?o.slice(s.length):o}).join(` +`)}class ks{constructor(n){ve(this,"options");ve(this,"rules");ve(this,"lexer");this.options=n||Er}space(n){const t=this.rules.block.newline.exec(n);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(n){const t=this.rules.block.code.exec(n);if(t){const s=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?s:li(s,` +`)}}}fences(n){const t=this.rules.block.fences.exec(n);if(t){const s=t[0],o=KT(s,t[3]||"");return{type:"code",raw:s,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:o}}}heading(n){const t=this.rules.block.heading.exec(n);if(t){let s=t[2].trim();if(/#$/.test(s)){const o=li(s,"#");(this.options.pedantic||!o||/ $/.test(o))&&(s=o.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(n){const t=this.rules.block.hr.exec(n);if(t)return{type:"hr",raw:li(t[0],` +`)}}blockquote(n){const t=this.rules.block.blockquote.exec(n);if(t){let s=li(t[0],` +`).split(` +`),o="",u="";const l=[];for(;s.length>0;){let f=!1;const p=[];let m;for(m=0;m/.test(s[m]))p.push(s[m]),f=!0;else if(!f)p.push(s[m]);else break;s=s.slice(m);const E=p.join(` +`),_=E.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,` + $1`).replace(/^ {0,3}>[ \t]?/gm,"");o=o?`${o} +${E}`:E,u=u?`${u} +${_}`:_;const k=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(_,l,!0),this.lexer.state.top=k,s.length===0)break;const w=l[l.length-1];if((w==null?void 0:w.type)==="code")break;if((w==null?void 0:w.type)==="blockquote"){const I=w,$=I.raw+` +`+s.join(` +`),Y=this.blockquote($);l[l.length-1]=Y,o=o.substring(0,o.length-I.raw.length)+Y.raw,u=u.substring(0,u.length-I.text.length)+Y.text;break}else if((w==null?void 0:w.type)==="list"){const I=w,$=I.raw+` +`+s.join(` +`),Y=this.list($);l[l.length-1]=Y,o=o.substring(0,o.length-w.raw.length)+Y.raw,u=u.substring(0,u.length-I.raw.length)+Y.raw,s=$.substring(l[l.length-1].raw.length).split(` +`);continue}}return{type:"blockquote",raw:o,tokens:l,text:u}}}list(n){let t=this.rules.block.list.exec(n);if(t){let s=t[1].trim();const o=s.length>1,u={type:"list",raw:"",ordered:o,start:o?+s.slice(0,-1):"",loose:!1,items:[]};s=o?`\\d{1,9}\\${s.slice(-1)}`:`\\${s}`,this.options.pedantic&&(s=o?s:"[*+-]");const l=new RegExp(`^( {0,3}${s})((?:[ ][^\\n]*)?(?:\\n|$))`);let f=!1;for(;n;){let p=!1,m="",E="";if(!(t=l.exec(n))||this.rules.block.hr.test(n))break;m=t[0],n=n.substring(m.length);let _=t[2].split(` +`,1)[0].replace(/^\t+/,ce=>" ".repeat(3*ce.length)),k=n.split(` +`,1)[0],w=!_.trim(),I=0;if(this.options.pedantic?(I=2,E=_.trimStart()):w?I=t[1].length+1:(I=t[2].search(/[^ ]/),I=I>4?1:I,E=_.slice(I),I+=t[1].length),w&&/^ *$/.test(k)&&(m+=k+` +`,n=n.substring(k.length+1),p=!0),!p){const ce=new RegExp(`^ {0,${Math.min(3,I-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),be=new RegExp(`^ {0,${Math.min(3,I-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),Ee=new RegExp(`^ {0,${Math.min(3,I-1)}}(?:\`\`\`|~~~)`),Ce=new RegExp(`^ {0,${Math.min(3,I-1)}}#`);for(;n;){const Be=n.split(` +`,1)[0];if(k=Be,this.options.pedantic&&(k=k.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),Ee.test(k)||Ce.test(k)||ce.test(k)||be.test(n))break;if(k.search(/[^ ]/)>=I||!k.trim())E+=` +`+k.slice(I);else{if(w||_.search(/[^ ]/)>=4||Ee.test(_)||Ce.test(_)||be.test(_))break;E+=` +`+k}!w&&!k.trim()&&(w=!0),m+=Be+` +`,n=n.substring(Be.length+1),_=k.slice(I)}}u.loose||(f?u.loose=!0:/\n *\n *$/.test(m)&&(f=!0));let $=null,Y;this.options.gfm&&($=/^\[[ xX]\] /.exec(E),$&&(Y=$[0]!=="[ ] ",E=E.replace(/^\[[ xX]\] +/,""))),u.items.push({type:"list_item",raw:m,task:!!$,checked:Y,loose:!1,text:E,tokens:[]}),u.raw+=m}u.items[u.items.length-1].raw=u.items[u.items.length-1].raw.trimEnd(),u.items[u.items.length-1].text=u.items[u.items.length-1].text.trimEnd(),u.raw=u.raw.trimEnd();for(let p=0;p_.type==="space"),E=m.length>0&&m.some(_=>/\n.*\n/.test(_.raw));u.loose=E}if(u.loose)for(let p=0;p$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",u=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:s,raw:t[0],href:o,title:u}}}table(n){const t=this.rules.block.table.exec(n);if(!t||!/[:|]/.test(t[2]))return;const s=rf(t[1]),o=t[2].replace(/^\||\| *$/g,"").split("|"),u=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(` +`):[],l={type:"table",raw:t[0],header:[],align:[],rows:[]};if(s.length===o.length){for(const f of o)/^ *-+: *$/.test(f)?l.align.push("right"):/^ *:-+: *$/.test(f)?l.align.push("center"):/^ *:-+ *$/.test(f)?l.align.push("left"):l.align.push(null);for(let f=0;f({text:p,tokens:this.lexer.inline(p),header:!1,align:l.align[m]})));return l}}lheading(n){const t=this.rules.block.lheading.exec(n);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(n){const t=this.rules.block.paragraph.exec(n);if(t){const s=t[1].charAt(t[1].length-1)===` +`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:s,tokens:this.lexer.inline(s)}}}text(n){const t=this.rules.block.text.exec(n);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(n){const t=this.rules.inline.escape.exec(n);if(t)return{type:"escape",raw:t[0],text:Nn(t[1])}}tag(n){const t=this.rules.inline.tag.exec(n);if(t)return!this.lexer.state.inLink&&/^
    /i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(n){const t=this.rules.inline.link.exec(n);if(t){const s=t[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const l=li(s.slice(0,-1),"\\");if((s.length-l.length)%2===0)return}else{const l=ZT(t[2],"()");if(l>-1){const p=(t[0].indexOf("!")===0?5:4)+t[1].length+l;t[2]=t[2].substring(0,l),t[0]=t[0].substring(0,p).trim(),t[3]=""}}let o=t[2],u="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);l&&(o=l[1],u=l[3])}else u=t[3]?t[3].slice(1,-1):"";return o=o.trim(),/^$/.test(s)?o=o.slice(1):o=o.slice(1,-1)),sf(t,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:u&&u.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer)}}reflink(n,t){let s;if((s=this.rules.inline.reflink.exec(n))||(s=this.rules.inline.nolink.exec(n))){const o=(s[2]||s[1]).replace(/\s+/g," "),u=t[o.toLowerCase()];if(!u){const l=s[0].charAt(0);return{type:"text",raw:l,text:l}}return sf(s,u,s[0],this.lexer)}}emStrong(n,t,s=""){let o=this.rules.inline.emStrongLDelim.exec(n);if(!o||o[3]&&s.match(/[\p{L}\p{N}]/u))return;if(!(o[1]||o[2]||"")||!s||this.rules.inline.punctuation.exec(s)){const l=[...o[0]].length-1;let f,p,m=l,E=0;const _=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(_.lastIndex=0,t=t.slice(-1*n.length+l);(o=_.exec(t))!=null;){if(f=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!f)continue;if(p=[...f].length,o[3]||o[4]){m+=p;continue}else if((o[5]||o[6])&&l%3&&!((l+p)%3)){E+=p;continue}if(m-=p,m>0)continue;p=Math.min(p,p+m+E);const k=[...o[0]][0].length,w=n.slice(0,l+o.index+k+p);if(Math.min(l,p)%2){const $=w.slice(1,-1);return{type:"em",raw:w,text:$,tokens:this.lexer.inlineTokens($)}}const I=w.slice(2,-2);return{type:"strong",raw:w,text:I,tokens:this.lexer.inlineTokens(I)}}}}codespan(n){const t=this.rules.inline.code.exec(n);if(t){let s=t[2].replace(/\n/g," ");const o=/[^ ]/.test(s),u=/^ /.test(s)&&/ $/.test(s);return o&&u&&(s=s.substring(1,s.length-1)),s=Nn(s,!0),{type:"codespan",raw:t[0],text:s}}}br(n){const t=this.rules.inline.br.exec(n);if(t)return{type:"br",raw:t[0]}}del(n){const t=this.rules.inline.del.exec(n);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(n){const t=this.rules.inline.autolink.exec(n);if(t){let s,o;return t[2]==="@"?(s=Nn(t[1]),o="mailto:"+s):(s=Nn(t[1]),o=s),{type:"link",raw:t[0],text:s,href:o,tokens:[{type:"text",raw:s,text:s}]}}}url(n){var s;let t;if(t=this.rules.inline.url.exec(n)){let o,u;if(t[2]==="@")o=Nn(t[0]),u="mailto:"+o;else{let l;do l=t[0],t[0]=((s=this.rules.inline._backpedal.exec(t[0]))==null?void 0:s[0])??"";while(l!==t[0]);o=Nn(t[0]),t[1]==="www."?u="http://"+t[0]:u=t[0]}return{type:"link",raw:t[0],text:o,href:u,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(n){const t=this.rules.inline.text.exec(n);if(t){let s;return this.lexer.state.inRawBlock?s=t[0]:s=Nn(t[0]),{type:"text",raw:t[0],text:s}}}}const ey=/^(?: *(?:\n|$))+/,ny=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,ty=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,wi=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ry=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,Pf=/(?:[*+-]|\d{1,9}[.)])/,Mf=_e(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,Pf).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),qu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,iy=/^[^\n]+/,Yu=/(?!\s*\])(?:\\.|[^\[\]\\])+/,sy=_e(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Yu).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),oy=_e(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,Pf).getRegex(),Gs="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Wu=/|$))/,uy=_e("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",Wu).replace("tag",Gs).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Uf=_e(qu).replace("hr",wi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex(),ay=_e(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Uf).getRegex(),Qu={blockquote:ay,code:ny,def:sy,fences:ty,heading:ry,hr:wi,html:uy,lheading:Mf,list:oy,newline:ey,paragraph:Uf,table:gi,text:iy},of=_e("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",wi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex(),ly={...Qu,table:of,paragraph:_e(qu).replace("hr",wi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",of).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",Gs).getRegex()},cy={...Qu,html:_e(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Wu).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:gi,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:_e(qu).replace("hr",wi).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",Mf).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Gf=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,fy=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Vf=/^( {2,}|\\)\n(?!\s*$)/,py=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,gy=_e(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,bi).getRegex(),my=_e("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,bi).getRegex(),Ey=_e("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,bi).getRegex(),Dy=_e(/\\([punct])/,"gu").replace(/punct/g,bi).getRegex(),_y=_e(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Ty=_e(Wu).replace("(?:-->|$)","-->").getRegex(),yy=_e("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Ty).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ss=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,vy=_e(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ss).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),jf=_e(/^!?\[(label)\]\[(ref)\]/).replace("label",Ss).replace("ref",Yu).getRegex(),qf=_e(/^!?\[(ref)\](?:\[\])?/).replace("ref",Yu).getRegex(),Ay=_e("reflink|nolink(?!\\()","g").replace("reflink",jf).replace("nolink",qf).getRegex(),zu={_backpedal:gi,anyPunctuation:Dy,autolink:_y,blockSkip:hy,br:Vf,code:fy,del:gi,emStrongLDelim:gy,emStrongRDelimAst:my,emStrongRDelimUnd:Ey,escape:Gf,link:vy,nolink:qf,punctuation:dy,reflink:jf,reflinkSearch:Ay,tag:yy,text:py,url:gi},Fy={...zu,link:_e(/^!?\[(label)\]\((.*?)\)/).replace("label",Ss).getRegex(),reflink:_e(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ss).getRegex()},Nu={...zu,escape:_e(Gf).replace("])","~|])").getRegex(),url:_e(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\p+" ".repeat(m.length));let o,u,l;for(;n;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(f=>(o=f.call({lexer:this},n,t))?(n=n.substring(o.raw.length),t.push(o),!0):!1))){if(o=this.tokenizer.space(n)){n=n.substring(o.raw.length),o.raw.length===1&&t.length>0?t[t.length-1].raw+=` +`:t.push(o);continue}if(o=this.tokenizer.code(n)){n=n.substring(o.raw.length),u=t[t.length-1],u&&(u.type==="paragraph"||u.type==="text")?(u.raw+=` +`+o.raw,u.text+=` +`+o.text,this.inlineQueue[this.inlineQueue.length-1].src=u.text):t.push(o);continue}if(o=this.tokenizer.fences(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.heading(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.hr(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.blockquote(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.list(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.html(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.def(n)){n=n.substring(o.raw.length),u=t[t.length-1],u&&(u.type==="paragraph"||u.type==="text")?(u.raw+=` +`+o.raw,u.text+=` +`+o.raw,this.inlineQueue[this.inlineQueue.length-1].src=u.text):this.tokens.links[o.tag]||(this.tokens.links[o.tag]={href:o.href,title:o.title});continue}if(o=this.tokenizer.table(n)){n=n.substring(o.raw.length),t.push(o);continue}if(o=this.tokenizer.lheading(n)){n=n.substring(o.raw.length),t.push(o);continue}if(l=n,this.options.extensions&&this.options.extensions.startBlock){let f=1/0;const p=n.slice(1);let m;this.options.extensions.startBlock.forEach(E=>{m=E.call({lexer:this},p),typeof m=="number"&&m>=0&&(f=Math.min(f,m))}),f<1/0&&f>=0&&(l=n.substring(0,f+1))}if(this.state.top&&(o=this.tokenizer.paragraph(l))){u=t[t.length-1],s&&(u==null?void 0:u.type)==="paragraph"?(u.raw+=` +`+o.raw,u.text+=` +`+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=u.text):t.push(o),s=l.length!==n.length,n=n.substring(o.raw.length);continue}if(o=this.tokenizer.text(n)){n=n.substring(o.raw.length),u=t[t.length-1],u&&u.type==="text"?(u.raw+=` +`+o.raw,u.text+=` +`+o.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=u.text):t.push(o);continue}if(n){const f="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return this.state.top=!0,t}inline(n,t=[]){return this.inlineQueue.push({src:n,tokens:t}),t}inlineTokens(n,t=[]){let s,o,u,l=n,f,p,m;if(this.tokens.links){const E=Object.keys(this.tokens.links);if(E.length>0)for(;(f=this.tokenizer.rules.inline.reflinkSearch.exec(l))!=null;)E.includes(f[0].slice(f[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,f.index)+"["+"a".repeat(f[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(f=this.tokenizer.rules.inline.blockSkip.exec(l))!=null;)l=l.slice(0,f.index)+"["+"a".repeat(f[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(f=this.tokenizer.rules.inline.anyPunctuation.exec(l))!=null;)l=l.slice(0,f.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;n;)if(p||(m=""),p=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(E=>(s=E.call({lexer:this},n,t))?(n=n.substring(s.raw.length),t.push(s),!0):!1))){if(s=this.tokenizer.escape(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.tag(n)){n=n.substring(s.raw.length),o=t[t.length-1],o&&s.type==="text"&&o.type==="text"?(o.raw+=s.raw,o.text+=s.text):t.push(s);continue}if(s=this.tokenizer.link(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.reflink(n,this.tokens.links)){n=n.substring(s.raw.length),o=t[t.length-1],o&&s.type==="text"&&o.type==="text"?(o.raw+=s.raw,o.text+=s.text):t.push(s);continue}if(s=this.tokenizer.emStrong(n,l,m)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.codespan(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.br(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.del(n)){n=n.substring(s.raw.length),t.push(s);continue}if(s=this.tokenizer.autolink(n)){n=n.substring(s.raw.length),t.push(s);continue}if(!this.state.inLink&&(s=this.tokenizer.url(n))){n=n.substring(s.raw.length),t.push(s);continue}if(u=n,this.options.extensions&&this.options.extensions.startInline){let E=1/0;const _=n.slice(1);let k;this.options.extensions.startInline.forEach(w=>{k=w.call({lexer:this},_),typeof k=="number"&&k>=0&&(E=Math.min(E,k))}),E<1/0&&E>=0&&(u=n.substring(0,E+1))}if(s=this.tokenizer.inlineText(u)){n=n.substring(s.raw.length),s.raw.slice(-1)!=="_"&&(m=s.raw.slice(-1)),p=!0,o=t[t.length-1],o&&o.type==="text"?(o.raw+=s.raw,o.text+=s.text):t.push(s);continue}if(n){const E="Infinite loop on byte: "+n.charCodeAt(0);if(this.options.silent){console.error(E);break}else throw new Error(E)}}return t}}class xs{constructor(n){ve(this,"options");ve(this,"parser");this.options=n||Er}space(n){return""}code({text:n,lang:t,escaped:s}){var l;const o=(l=(t||"").match(/^\S*/))==null?void 0:l[0],u=n.replace(/\n$/,"")+` +`;return o?'
    '+(s?u:Nn(u,!0))+`
    +`:"
    "+(s?u:Nn(u,!0))+`
    +`}blockquote({tokens:n}){return`
    +${this.parser.parse(n)}
    +`}html({text:n}){return n}heading({tokens:n,depth:t}){return`${this.parser.parseInline(n)} +`}hr(n){return`
    +`}list(n){const t=n.ordered,s=n.start;let o="";for(let f=0;f +`+o+" +`}listitem(n){let t="";if(n.task){const s=this.checkbox({checked:!!n.checked});n.loose?n.tokens.length>0&&n.tokens[0].type==="paragraph"?(n.tokens[0].text=s+" "+n.tokens[0].text,n.tokens[0].tokens&&n.tokens[0].tokens.length>0&&n.tokens[0].tokens[0].type==="text"&&(n.tokens[0].tokens[0].text=s+" "+n.tokens[0].tokens[0].text)):n.tokens.unshift({type:"text",raw:s+" ",text:s+" "}):t+=s+" "}return t+=this.parser.parse(n.tokens,!!n.loose),`
  • ${t}
  • +`}checkbox({checked:n}){return"'}paragraph({tokens:n}){return`

    ${this.parser.parseInline(n)}

    +`}table(n){let t="",s="";for(let u=0;u${o}`),` + +`+t+` +`+o+`
    +`}tablerow({text:n}){return` +${n} +`}tablecell(n){const t=this.parser.parseInline(n.tokens),s=n.header?"th":"td";return(n.align?`<${s} align="${n.align}">`:`<${s}>`)+t+` +`}strong({tokens:n}){return`${this.parser.parseInline(n)}`}em({tokens:n}){return`${this.parser.parseInline(n)}`}codespan({text:n}){return`${n}`}br(n){return"
    "}del({tokens:n}){return`${this.parser.parseInline(n)}`}link({href:n,title:t,tokens:s}){const o=this.parser.parseInline(s),u=tf(n);if(u===null)return o;n=u;let l='
    ",l}image({href:n,title:t,text:s}){const o=tf(n);if(o===null)return s;n=o;let u=`${s}{const m=f[p].flat(1/0);s=s.concat(this.walkTokens(m,t))}):f.tokens&&(s=s.concat(this.walkTokens(f.tokens,t)))}}return s}use(...n){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return n.forEach(s=>{const o={...s};if(o.async=this.defaults.async||o.async||!1,s.extensions&&(s.extensions.forEach(u=>{if(!u.name)throw new Error("extension name required");if("renderer"in u){const l=t.renderers[u.name];l?t.renderers[u.name]=function(...f){let p=u.renderer.apply(this,f);return p===!1&&(p=l.apply(this,f)),p}:t.renderers[u.name]=u.renderer}if("tokenizer"in u){if(!u.level||u.level!=="block"&&u.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const l=t[u.level];l?l.unshift(u.tokenizer):t[u.level]=[u.tokenizer],u.start&&(u.level==="block"?t.startBlock?t.startBlock.push(u.start):t.startBlock=[u.start]:u.level==="inline"&&(t.startInline?t.startInline.push(u.start):t.startInline=[u.start]))}"childTokens"in u&&u.childTokens&&(t.childTokens[u.name]=u.childTokens)}),o.extensions=t),s.renderer){const u=this.defaults.renderer||new xs(this.defaults);for(const l in s.renderer){if(!(l in u))throw new Error(`renderer '${l}' does not exist`);if(["options","parser"].includes(l))continue;const f=l;let p=s.renderer[f];s.useNewRenderer||(p=ai(this,Ct,Yf).call(this,p,f,u));const m=u[f];u[f]=(...E)=>{let _=p.apply(u,E);return _===!1&&(_=m.apply(u,E)),_||""}}o.renderer=u}if(s.tokenizer){const u=this.defaults.tokenizer||new ks(this.defaults);for(const l in s.tokenizer){if(!(l in u))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;const f=l,p=s.tokenizer[f],m=u[f];u[f]=(...E)=>{let _=p.apply(u,E);return _===!1&&(_=m.apply(u,E)),_}}o.tokenizer=u}if(s.hooks){const u=this.defaults.hooks||new mi;for(const l in s.hooks){if(!(l in u))throw new Error(`hook '${l}' does not exist`);if(l==="options")continue;const f=l,p=s.hooks[f],m=u[f];mi.passThroughHooks.has(l)?u[f]=E=>{if(this.defaults.async)return Promise.resolve(p.call(u,E)).then(k=>m.call(u,k));const _=p.call(u,E);return m.call(u,_)}:u[f]=(...E)=>{let _=p.apply(u,E);return _===!1&&(_=m.apply(u,E)),_}}o.hooks=u}if(s.walkTokens){const u=this.defaults.walkTokens,l=s.walkTokens;o.walkTokens=function(f){let p=[];return p.push(l.call(this,f)),u&&(p=p.concat(u.call(this,f))),p}}this.defaults={...this.defaults,...o}}),this}setOptions(n){return this.defaults={...this.defaults,...n},this}lexer(n,t){return Jn.lex(n,t??this.defaults)}parser(n,t){return lt.parse(n,t??this.defaults)}}Ct=new WeakSet,Yf=function(n,t,s){switch(t){case"heading":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,s.parser.parseInline(o.tokens),o.depth,JT(s.parser.parseInline(o.tokens,s.parser.textRenderer)))};case"code":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,o.text,o.lang,!!o.escaped)};case"table":return function(o){if(!o.type||o.type!==t)return n.apply(this,arguments);let u="",l="";for(let p=0;p0&&E.tokens[0].type==="paragraph"?(E.tokens[0].text=I+" "+E.tokens[0].text,E.tokens[0].tokens&&E.tokens[0].tokens.length>0&&E.tokens[0].tokens[0].type==="text"&&(E.tokens[0].tokens[0].text=I+" "+E.tokens[0].tokens[0].text)):E.tokens.unshift({type:"text",text:I+" "}):w+=I+" "}w+=this.parser.parse(E.tokens,f),p+=this.listitem({type:"list_item",raw:w,text:w,task:k,checked:!!_,loose:f,tokens:E.tokens})}return n.call(this,p,u,l)};case"html":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,o.text,o.block)};case"paragraph":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,this.parser.parseInline(o.tokens))};case"escape":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,o.text)};case"link":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,o.href,o.title,this.parser.parseInline(o.tokens))};case"image":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,o.href,o.title,o.text)};case"strong":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,this.parser.parseInline(o.tokens))};case"em":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,this.parser.parseInline(o.tokens))};case"codespan":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,o.text)};case"del":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,this.parser.parseInline(o.tokens))};case"text":return function(o){return!o.type||o.type!==t?n.apply(this,arguments):n.call(this,o.text)}}return n},Iu=function(n,t){return(s,o)=>{const u={...o},l={...this.defaults,...u};this.defaults.async===!0&&u.async===!1&&(l.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),l.async=!0);const f=ai(this,Ct,Wf).call(this,!!l.silent,!!l.async);if(typeof s>"u"||s===null)return f(new Error("marked(): input parameter is undefined or null"));if(typeof s!="string")return f(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(s)+", string expected"));if(l.hooks&&(l.hooks.options=l),l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(s):s).then(p=>n(p,l)).then(p=>l.hooks?l.hooks.processAllTokens(p):p).then(p=>l.walkTokens?Promise.all(this.walkTokens(p,l.walkTokens)).then(()=>p):p).then(p=>t(p,l)).then(p=>l.hooks?l.hooks.postprocess(p):p).catch(f);try{l.hooks&&(s=l.hooks.preprocess(s));let p=n(s,l);l.hooks&&(p=l.hooks.processAllTokens(p)),l.walkTokens&&this.walkTokens(p,l.walkTokens);let m=t(p,l);return l.hooks&&(m=l.hooks.postprocess(m)),m}catch(p){return f(p)}}},Wf=function(n,t){return s=>{if(s.message+=` +Please report this to https://github.com/markedjs/marked.`,n){const o="

    An error occurred:

    "+Nn(s.message+"",!0)+"
    ";return t?Promise.resolve(o):o}if(t)return Promise.reject(s);throw s}};const pr=new by;function De(r,n){return pr.parse(r,n)}De.options=De.setOptions=function(r){return pr.setOptions(r),De.defaults=pr.defaults,Lf(De.defaults),De};De.getDefaults=ju;De.defaults=Er;De.use=function(...r){return pr.use(...r),De.defaults=pr.defaults,Lf(De.defaults),De};De.walkTokens=function(r,n){return pr.walkTokens(r,n)};De.parseInline=pr.parseInline;De.Parser=lt;De.parser=lt.parse;De.Renderer=xs;De.TextRenderer=Hu;De.Lexer=Jn;De.lexer=Jn.lex;De.Tokenizer=ks;De.Hooks=mi;De.parse=De;De.options;De.setOptions;De.use;De.walkTokens;De.parseInline;lt.parse;Jn.lex;function Ny(r){return new Jn().lex(r)}const Iy=()=>({heading:j_,blockquote:W_,list:H_,list_item:Z_,br:nT,code:iT,codespan:uT,table:cT,html:dT,paragraph:mT,link:_T,text:vT,def:wT,del:IT,em:ST,hr:RT,strong:BT,image:UT,space:ef,escape:ef}),Oy=()=>({baseUrl:"/",slugger:new Rf});function ky(){const r=console.warn;console.warn=n=>{n.includes("unknown prop")||n.includes("unexpected slot")||r(n)},x_(()=>{console.warn=r})}function Sy(r){let n,t;return n=new Us({props:{tokens:r[0],renderers:r[1],options:r[2]}}),{c(){Wt(n.$$.fragment)},l(s){mr(n.$$.fragment,s)},m(s,o){Qt(n,s,o),t=!0},p(s,[o]){const u={};o&1&&(u.tokens=s[0]),o&2&&(u.renderers=s[1]),o&4&&(u.options=s[2]),n.$set(u)},i(s){t||(ee(n.$$.fragment,s),t=!0)},o(s){oe(n.$$.fragment,s),t=!1},d(s){zt(n,s)}}}function xy(r,n,t){ky();let{source:s}=n,{options:o={}}=n,{renderers:u={}}=n,l,f,p;return r.$$set=m=>{"source"in m&&t(3,s=m.source),"options"in m&&t(4,o=m.options),"renderers"in m&&t(5,u=m.renderers)},r.$$.update=()=>{r.$$.dirty&56&&(t(0,l=Ny(s)),t(1,f={...Iy(),...u}),t(2,p={...Oy(),...o}))},[l,f,p,s,o,u]}class LA extends Le{constructor(n){super(),$e(this,n,xy,Sy,Oe,{source:3,options:4,renderers:5})}}const Ni={joinUrlPaths:Ti,isRelative:yi,generatePathSegment:Cf};var fi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Cy(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var Cs={exports:{}};/** + * @license + * Lodash + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */Cs.exports;(function(r,n){(function(){var t,s="4.17.21",o=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",f="Invalid `variable` option passed into `_.template`",p="__lodash_hash_undefined__",m=500,E="__lodash_placeholder__",_=1,k=2,w=4,I=1,$=2,Y=1,ce=2,be=4,Ee=8,Ce=16,Be=32,pn=64,en=128,dt=256,C=512,X=30,on="...",Rt=800,Xt=16,ki=1,_r=2,Si=3,Zt=1/0,ht=9007199254740991,Tr=17976931348623157e292,Kt=NaN,On=4294967295,b=On-1,V=On>>>1,P=[["ary",en],["bind",Y],["bindKey",ce],["curry",Ee],["curryRight",Ce],["flip",C],["partial",Be],["partialRight",pn],["rearg",dt]],U="[object Arguments]",de="[object Array]",Pe="[object AsyncFunction]",he="[object Boolean]",kn="[object Date]",Gr="[object DOMException]",Lt="[object Error]",nn="[object Function]",ua="[object GeneratorFunction]",Vn="[object Map]",Vr="[object Number]",qp="[object Null]",gt="[object Object]",aa="[object Promise]",Yp="[object Proxy]",jr="[object RegExp]",jn="[object Set]",qr="[object String]",xi="[object Symbol]",Wp="[object Undefined]",Yr="[object WeakMap]",Qp="[object WeakSet]",Wr="[object ArrayBuffer]",yr="[object DataView]",Xs="[object Float32Array]",Zs="[object Float64Array]",Ks="[object Int8Array]",eo="[object Int16Array]",no="[object Int32Array]",to="[object Uint8Array]",ro="[object Uint8ClampedArray]",io="[object Uint16Array]",so="[object Uint32Array]",zp=/\b__p \+= '';/g,Hp=/\b(__p \+=) '' \+/g,Jp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,la=/&(?:amp|lt|gt|quot|#39);/g,ca=/[&<>"']/g,Xp=RegExp(la.source),Zp=RegExp(ca.source),Kp=/<%-([\s\S]+?)%>/g,ed=/<%([\s\S]+?)%>/g,fa=/<%=([\s\S]+?)%>/g,nd=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,td=/^\w*$/,rd=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oo=/[\\^$.*+?()[\]{}|]/g,id=RegExp(oo.source),uo=/^\s+/,sd=/\s/,od=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ud=/\{\n\/\* \[wrapped with (.+)\] \*/,ad=/,? & /,ld=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,cd=/[()=,{}\[\]\/\s]/,fd=/\\(\\)?/g,pd=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pa=/\w*$/,dd=/^[-+]0x[0-9a-f]+$/i,hd=/^0b[01]+$/i,gd=/^\[object .+?Constructor\]$/,md=/^0o[0-7]+$/i,Ed=/^(?:0|[1-9]\d*)$/,Dd=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ci=/($^)/,_d=/['\n\r\u2028\u2029\\]/g,Ri="\\ud800-\\udfff",Td="\\u0300-\\u036f",yd="\\ufe20-\\ufe2f",vd="\\u20d0-\\u20ff",da=Td+yd+vd,ha="\\u2700-\\u27bf",ga="a-z\\xdf-\\xf6\\xf8-\\xff",Ad="\\xac\\xb1\\xd7\\xf7",Fd="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",wd="\\u2000-\\u206f",bd=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ma="A-Z\\xc0-\\xd6\\xd8-\\xde",Ea="\\ufe0e\\ufe0f",Da=Ad+Fd+wd+bd,ao="['’]",Nd="["+Ri+"]",_a="["+Da+"]",Li="["+da+"]",Ta="\\d+",Id="["+ha+"]",ya="["+ga+"]",va="[^"+Ri+Da+Ta+ha+ga+ma+"]",lo="\\ud83c[\\udffb-\\udfff]",Od="(?:"+Li+"|"+lo+")",Aa="[^"+Ri+"]",co="(?:\\ud83c[\\udde6-\\uddff]){2}",fo="[\\ud800-\\udbff][\\udc00-\\udfff]",vr="["+ma+"]",Fa="\\u200d",wa="(?:"+ya+"|"+va+")",kd="(?:"+vr+"|"+va+")",ba="(?:"+ao+"(?:d|ll|m|re|s|t|ve))?",Na="(?:"+ao+"(?:D|LL|M|RE|S|T|VE))?",Ia=Od+"?",Oa="["+Ea+"]?",Sd="(?:"+Fa+"(?:"+[Aa,co,fo].join("|")+")"+Oa+Ia+")*",xd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Cd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ka=Oa+Ia+Sd,Rd="(?:"+[Id,co,fo].join("|")+")"+ka,Ld="(?:"+[Aa+Li+"?",Li,co,fo,Nd].join("|")+")",$d=RegExp(ao,"g"),Bd=RegExp(Li,"g"),po=RegExp(lo+"(?="+lo+")|"+Ld+ka,"g"),Pd=RegExp([vr+"?"+ya+"+"+ba+"(?="+[_a,vr,"$"].join("|")+")",kd+"+"+Na+"(?="+[_a,vr+wa,"$"].join("|")+")",vr+"?"+wa+"+"+ba,vr+"+"+Na,Cd,xd,Ta,Rd].join("|"),"g"),Md=RegExp("["+Fa+Ri+da+Ea+"]"),Ud=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gd=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Vd=-1,Ne={};Ne[Xs]=Ne[Zs]=Ne[Ks]=Ne[eo]=Ne[no]=Ne[to]=Ne[ro]=Ne[io]=Ne[so]=!0,Ne[U]=Ne[de]=Ne[Wr]=Ne[he]=Ne[yr]=Ne[kn]=Ne[Lt]=Ne[nn]=Ne[Vn]=Ne[Vr]=Ne[gt]=Ne[jr]=Ne[jn]=Ne[qr]=Ne[Yr]=!1;var Fe={};Fe[U]=Fe[de]=Fe[Wr]=Fe[yr]=Fe[he]=Fe[kn]=Fe[Xs]=Fe[Zs]=Fe[Ks]=Fe[eo]=Fe[no]=Fe[Vn]=Fe[Vr]=Fe[gt]=Fe[jr]=Fe[jn]=Fe[qr]=Fe[xi]=Fe[to]=Fe[ro]=Fe[io]=Fe[so]=!0,Fe[Lt]=Fe[nn]=Fe[Yr]=!1;var jd={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},qd={"&":"&","<":"<",">":">",'"':""","'":"'"},Yd={"&":"&","<":"<",">":">",""":'"',"'":"'"},Wd={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Qd=parseFloat,zd=parseInt,Sa=typeof fi=="object"&&fi&&fi.Object===Object&&fi,Hd=typeof self=="object"&&self&&self.Object===Object&&self,Xe=Sa||Hd||Function("return this")(),ho=n&&!n.nodeType&&n,er=ho&&!0&&r&&!r.nodeType&&r,xa=er&&er.exports===ho,go=xa&&Sa.process,Sn=function(){try{var v=er&&er.require&&er.require("util").types;return v||go&&go.binding&&go.binding("util")}catch{}}(),Ca=Sn&&Sn.isArrayBuffer,Ra=Sn&&Sn.isDate,La=Sn&&Sn.isMap,$a=Sn&&Sn.isRegExp,Ba=Sn&&Sn.isSet,Pa=Sn&&Sn.isTypedArray;function Tn(v,N,F){switch(F.length){case 0:return v.call(N);case 1:return v.call(N,F[0]);case 2:return v.call(N,F[0],F[1]);case 3:return v.call(N,F[0],F[1],F[2])}return v.apply(N,F)}function Jd(v,N,F,G){for(var Z=-1,pe=v==null?0:v.length;++Z-1}function mo(v,N,F){for(var G=-1,Z=v==null?0:v.length;++G-1;);return F}function Wa(v,N){for(var F=v.length;F--&&Ar(N,v[F],0)>-1;);return F}function sh(v,N){for(var F=v.length,G=0;F--;)v[F]===N&&++G;return G}var oh=To(jd),uh=To(qd);function ah(v){return"\\"+Wd[v]}function lh(v,N){return v==null?t:v[N]}function Fr(v){return Md.test(v)}function ch(v){return Ud.test(v)}function fh(v){for(var N,F=[];!(N=v.next()).done;)F.push(N.value);return F}function Fo(v){var N=-1,F=Array(v.size);return v.forEach(function(G,Z){F[++N]=[Z,G]}),F}function Qa(v,N){return function(F){return v(N(F))}}function Pt(v,N){for(var F=-1,G=v.length,Z=0,pe=[];++F-1}function Zh(e,i){var a=this.__data__,c=Ki(a,e);return c<0?(++this.size,a.push([e,i])):a[c][1]=i,this}mt.prototype.clear=zh,mt.prototype.delete=Hh,mt.prototype.get=Jh,mt.prototype.has=Xh,mt.prototype.set=Zh;function Et(e){var i=-1,a=e==null?0:e.length;for(this.clear();++i=i?e:i)),e}function Ln(e,i,a,c,d,g){var D,T=i&_,A=i&k,O=i&w;if(a&&(D=d?a(e,c,d,g):a(e)),D!==t)return D;if(!ke(e))return e;var S=K(e);if(S){if(D=tm(e),!T)return dn(e,D)}else{var R=rn(e),B=R==nn||R==ua;if(qt(e))return Ol(e,T);if(R==gt||R==U||B&&!d){if(D=A||B?{}:zl(e),!T)return A?Yg(e,hg(D,e)):qg(e,sl(D,e))}else{if(!Fe[R])return d?e:{};D=rm(e,R,T)}}g||(g=new Yn);var q=g.get(e);if(q)return q;g.set(e,D),Ac(e)?e.forEach(function(H){D.add(Ln(H,i,a,H,e,g))}):yc(e)&&e.forEach(function(H,se){D.set(se,Ln(H,i,a,se,e,g))});var z=O?A?Jo:Ho:A?gn:ze,te=S?t:z(e);return xn(te||e,function(H,se){te&&(se=H,H=e[se]),Kr(D,se,Ln(H,i,a,se,e,g))}),D}function gg(e){var i=ze(e);return function(a){return ol(a,e,i)}}function ol(e,i,a){var c=a.length;if(e==null)return!c;for(e=ye(e);c--;){var d=a[c],g=i[d],D=e[d];if(D===t&&!(d in e)||!g(D))return!1}return!0}function ul(e,i,a){if(typeof e!="function")throw new Cn(l);return oi(function(){e.apply(t,a)},i)}function ei(e,i,a,c){var d=-1,g=$i,D=!0,T=e.length,A=[],O=i.length;if(!T)return A;a&&(i=Ie(i,yn(a))),c?(g=mo,D=!1):i.length>=o&&(g=Qr,D=!1,i=new rr(i));e:for(;++dd?0:d+a),c=c===t||c>d?d:ne(c),c<0&&(c+=d),c=a>c?0:wc(c);a0&&a(T)?i>1?Ze(T,i-1,a,c,d):Bt(d,T):c||(d[d.length]=T)}return d}var So=Ll(),cl=Ll(!0);function st(e,i){return e&&So(e,i,ze)}function xo(e,i){return e&&cl(e,i,ze)}function ns(e,i){return $t(i,function(a){return vt(e[a])})}function sr(e,i){i=Vt(i,e);for(var a=0,c=i.length;e!=null&&ai}function Dg(e,i){return e!=null&&me.call(e,i)}function _g(e,i){return e!=null&&i in ye(e)}function Tg(e,i,a){return e>=tn(i,a)&&e=120&&S.length>=120)?new rr(D&&S):t}S=e[0];var R=-1,B=T[0];e:for(;++R-1;)T!==e&&Wi.call(T,A,1),Wi.call(e,A,1);return e}function yl(e,i){for(var a=e?i.length:0,c=a-1;a--;){var d=i[a];if(a==c||d!==g){var g=d;yt(d)?Wi.call(e,d,1):Vo(e,d)}}return e}function Mo(e,i){return e+Hi(nl()*(i-e+1))}function Cg(e,i,a,c){for(var d=-1,g=Qe(zi((i-e)/(a||1)),0),D=F(g);g--;)D[c?g:++d]=e,e+=a;return D}function Uo(e,i){var a="";if(!e||i<1||i>ht)return a;do i%2&&(a+=e),i=Hi(i/2),i&&(e+=e);while(i);return a}function re(e,i){return ru(Xl(e,i,mn),e+"")}function Rg(e){return il(Lr(e))}function Lg(e,i){var a=Lr(e);return ps(a,ir(i,0,a.length))}function ri(e,i,a,c){if(!ke(e))return e;i=Vt(i,e);for(var d=-1,g=i.length,D=g-1,T=e;T!=null&&++dd?0:d+i),a=a>d?d:a,a<0&&(a+=d),d=i>a?0:a-i>>>0,i>>>=0;for(var g=F(d);++c>>1,D=e[g];D!==null&&!An(D)&&(a?D<=i:D=o){var O=i?null:Hg(e);if(O)return Pi(O);D=!1,d=Qr,A=new rr}else A=i?[]:T;e:for(;++c=c?e:$n(e,i,a)}var Il=bh||function(e){return Xe.clearTimeout(e)};function Ol(e,i){if(i)return e.slice();var a=e.length,c=Ja?Ja(a):new e.constructor(a);return e.copy(c),c}function Wo(e){var i=new e.constructor(e.byteLength);return new qi(i).set(new qi(e)),i}function Ug(e,i){var a=i?Wo(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.byteLength)}function Gg(e){var i=new e.constructor(e.source,pa.exec(e));return i.lastIndex=e.lastIndex,i}function Vg(e){return Zr?ye(Zr.call(e)):{}}function kl(e,i){var a=i?Wo(e.buffer):e.buffer;return new e.constructor(a,e.byteOffset,e.length)}function Sl(e,i){if(e!==i){var a=e!==t,c=e===null,d=e===e,g=An(e),D=i!==t,T=i===null,A=i===i,O=An(i);if(!T&&!O&&!g&&e>i||g&&D&&A&&!T&&!O||c&&D&&A||!a&&A||!d)return 1;if(!c&&!g&&!O&&e=T)return A;var O=a[c];return A*(O=="desc"?-1:1)}}return e.index-i.index}function xl(e,i,a,c){for(var d=-1,g=e.length,D=a.length,T=-1,A=i.length,O=Qe(g-D,0),S=F(A+O),R=!c;++T1?a[d-1]:t,D=d>2?a[2]:t;for(g=e.length>3&&typeof g=="function"?(d--,g):t,D&&an(a[0],a[1],D)&&(g=d<3?t:g,d=1),i=ye(i);++c-1?d[g?i[D]:D]:t}}function Pl(e){return Tt(function(i){var a=i.length,c=a,d=Rn.prototype.thru;for(e&&i.reverse();c--;){var g=i[c];if(typeof g!="function")throw new Cn(l);if(d&&!D&&cs(g)=="wrapper")var D=new Rn([],!0)}for(c=D?c:a;++c1&&le.reverse(),S&&AT))return!1;var O=g.get(e),S=g.get(i);if(O&&S)return O==i&&S==e;var R=-1,B=!0,q=a&$?new rr:t;for(g.set(e,i),g.set(i,e);++R1?"& ":"")+i[c],i=i.join(a>2?", ":" "),e.replace(od,`{ +/* [wrapped with `+i+`] */ +`)}function sm(e){return K(e)||ar(e)||!!(Ka&&e&&e[Ka])}function yt(e,i){var a=typeof e;return i=i??ht,!!i&&(a=="number"||a!="symbol"&&Ed.test(e))&&e>-1&&e%1==0&&e0){if(++i>=Rt)return arguments[0]}else i=0;return e.apply(t,arguments)}}function ps(e,i){var a=-1,c=e.length,d=c-1;for(i=i===t?c:i;++a1?e[i-1]:t;return a=typeof a=="function"?(e.pop(),a):t,lc(e,a)});function cc(e){var i=h(e);return i.__chain__=!0,i}function m0(e,i){return i(e),e}function ds(e,i){return i(e)}var E0=Tt(function(e){var i=e.length,a=i?e[0]:0,c=this.__wrapped__,d=function(g){return ko(g,e)};return i>1||this.__actions__.length||!(c instanceof ue)||!yt(a)?this.thru(d):(c=c.slice(a,+a+(i?1:0)),c.__actions__.push({func:ds,args:[d],thisArg:t}),new Rn(c,this.__chain__).thru(function(g){return i&&!g.length&&g.push(t),g}))});function D0(){return cc(this)}function _0(){return new Rn(this.value(),this.__chain__)}function T0(){this.__values__===t&&(this.__values__=Fc(this.value()));var e=this.__index__>=this.__values__.length,i=e?t:this.__values__[this.__index__++];return{done:e,value:i}}function y0(){return this}function v0(e){for(var i,a=this;a instanceof Zi;){var c=rc(a);c.__index__=0,c.__values__=t,i?d.__wrapped__=c:i=c;var d=c;a=a.__wrapped__}return d.__wrapped__=e,i}function A0(){var e=this.__wrapped__;if(e instanceof ue){var i=e;return this.__actions__.length&&(i=new ue(this)),i=i.reverse(),i.__actions__.push({func:ds,args:[iu],thisArg:t}),new Rn(i,this.__chain__)}return this.thru(iu)}function F0(){return bl(this.__wrapped__,this.__actions__)}var w0=ss(function(e,i,a){me.call(e,a)?++e[a]:Dt(e,a,1)});function b0(e,i,a){var c=K(e)?Ma:mg;return a&&an(e,i,a)&&(i=t),c(e,Q(i,3))}function N0(e,i){var a=K(e)?$t:ll;return a(e,Q(i,3))}var I0=Bl(ic),O0=Bl(sc);function k0(e,i){return Ze(hs(e,i),1)}function S0(e,i){return Ze(hs(e,i),Zt)}function x0(e,i,a){return a=a===t?1:ne(a),Ze(hs(e,i),a)}function fc(e,i){var a=K(e)?xn:Ut;return a(e,Q(i,3))}function pc(e,i){var a=K(e)?Xd:al;return a(e,Q(i,3))}var C0=ss(function(e,i,a){me.call(e,a)?e[a].push(i):Dt(e,a,[i])});function R0(e,i,a,c){e=hn(e)?e:Lr(e),a=a&&!c?ne(a):0;var d=e.length;return a<0&&(a=Qe(d+a,0)),_s(e)?a<=d&&e.indexOf(i,a)>-1:!!d&&Ar(e,i,a)>-1}var L0=re(function(e,i,a){var c=-1,d=typeof i=="function",g=hn(e)?F(e.length):[];return Ut(e,function(D){g[++c]=d?Tn(i,D,a):ni(D,i,a)}),g}),$0=ss(function(e,i,a){Dt(e,a,i)});function hs(e,i){var a=K(e)?Ie:gl;return a(e,Q(i,3))}function B0(e,i,a,c){return e==null?[]:(K(i)||(i=i==null?[]:[i]),a=c?t:a,K(a)||(a=a==null?[]:[a]),_l(e,i,a))}var P0=ss(function(e,i,a){e[a?0:1].push(i)},function(){return[[],[]]});function M0(e,i,a){var c=K(e)?Eo:ja,d=arguments.length<3;return c(e,Q(i,4),a,d,Ut)}function U0(e,i,a){var c=K(e)?Zd:ja,d=arguments.length<3;return c(e,Q(i,4),a,d,al)}function G0(e,i){var a=K(e)?$t:ll;return a(e,Es(Q(i,3)))}function V0(e){var i=K(e)?il:Rg;return i(e)}function j0(e,i,a){(a?an(e,i,a):i===t)?i=1:i=ne(i);var c=K(e)?fg:Lg;return c(e,i)}function q0(e){var i=K(e)?pg:Bg;return i(e)}function Y0(e){if(e==null)return 0;if(hn(e))return _s(e)?wr(e):e.length;var i=rn(e);return i==Vn||i==jn?e.size:$o(e).length}function W0(e,i,a){var c=K(e)?Do:Pg;return a&&an(e,i,a)&&(i=t),c(e,Q(i,3))}var Q0=re(function(e,i){if(e==null)return[];var a=i.length;return a>1&&an(e,i[0],i[1])?i=[]:a>2&&an(i[0],i[1],i[2])&&(i=[i[0]]),_l(e,Ze(i,1),[])}),gs=Nh||function(){return Xe.Date.now()};function z0(e,i){if(typeof i!="function")throw new Cn(l);return e=ne(e),function(){if(--e<1)return i.apply(this,arguments)}}function dc(e,i,a){return i=a?t:i,i=e&&i==null?e.length:i,_t(e,en,t,t,t,t,i)}function hc(e,i){var a;if(typeof i!="function")throw new Cn(l);return e=ne(e),function(){return--e>0&&(a=i.apply(this,arguments)),e<=1&&(i=t),a}}var ou=re(function(e,i,a){var c=Y;if(a.length){var d=Pt(a,Cr(ou));c|=Be}return _t(e,c,i,a,d)}),gc=re(function(e,i,a){var c=Y|ce;if(a.length){var d=Pt(a,Cr(gc));c|=Be}return _t(i,c,e,a,d)});function mc(e,i,a){i=a?t:i;var c=_t(e,Ee,t,t,t,t,t,i);return c.placeholder=mc.placeholder,c}function Ec(e,i,a){i=a?t:i;var c=_t(e,Ce,t,t,t,t,t,i);return c.placeholder=Ec.placeholder,c}function Dc(e,i,a){var c,d,g,D,T,A,O=0,S=!1,R=!1,B=!0;if(typeof e!="function")throw new Cn(l);i=Pn(i)||0,ke(a)&&(S=!!a.leading,R="maxWait"in a,g=R?Qe(Pn(a.maxWait)||0,i):g,B="trailing"in a?!!a.trailing:B);function q(Ue){var Qn=c,Ft=d;return c=d=t,O=Ue,D=e.apply(Ft,Qn),D}function z(Ue){return O=Ue,T=oi(se,i),S?q(Ue):D}function te(Ue){var Qn=Ue-A,Ft=Ue-O,Bc=i-Qn;return R?tn(Bc,g-Ft):Bc}function H(Ue){var Qn=Ue-A,Ft=Ue-O;return A===t||Qn>=i||Qn<0||R&&Ft>=g}function se(){var Ue=gs();if(H(Ue))return le(Ue);T=oi(se,te(Ue))}function le(Ue){return T=t,B&&c?q(Ue):(c=d=t,D)}function Fn(){T!==t&&Il(T),O=0,c=A=d=T=t}function ln(){return T===t?D:le(gs())}function wn(){var Ue=gs(),Qn=H(Ue);if(c=arguments,d=this,A=Ue,Qn){if(T===t)return z(A);if(R)return Il(T),T=oi(se,i),q(A)}return T===t&&(T=oi(se,i)),D}return wn.cancel=Fn,wn.flush=ln,wn}var H0=re(function(e,i){return ul(e,1,i)}),J0=re(function(e,i,a){return ul(e,Pn(i)||0,a)});function X0(e){return _t(e,C)}function ms(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new Cn(l);var a=function(){var c=arguments,d=i?i.apply(this,c):c[0],g=a.cache;if(g.has(d))return g.get(d);var D=e.apply(this,c);return a.cache=g.set(d,D)||g,D};return a.cache=new(ms.Cache||Et),a}ms.Cache=Et;function Es(e){if(typeof e!="function")throw new Cn(l);return function(){var i=arguments;switch(i.length){case 0:return!e.call(this);case 1:return!e.call(this,i[0]);case 2:return!e.call(this,i[0],i[1]);case 3:return!e.call(this,i[0],i[1],i[2])}return!e.apply(this,i)}}function Z0(e){return hc(2,e)}var K0=Mg(function(e,i){i=i.length==1&&K(i[0])?Ie(i[0],yn(Q())):Ie(Ze(i,1),yn(Q()));var a=i.length;return re(function(c){for(var d=-1,g=tn(c.length,a);++d=i}),ar=pl(function(){return arguments}())?pl:function(e){return Re(e)&&me.call(e,"callee")&&!Za.call(e,"callee")},K=F.isArray,hE=Ca?yn(Ca):vg;function hn(e){return e!=null&&Ds(e.length)&&!vt(e)}function Me(e){return Re(e)&&hn(e)}function gE(e){return e===!0||e===!1||Re(e)&&un(e)==he}var qt=Oh||Du,mE=Ra?yn(Ra):Ag;function EE(e){return Re(e)&&e.nodeType===1&&!ui(e)}function DE(e){if(e==null)return!0;if(hn(e)&&(K(e)||typeof e=="string"||typeof e.splice=="function"||qt(e)||Rr(e)||ar(e)))return!e.length;var i=rn(e);if(i==Vn||i==jn)return!e.size;if(si(e))return!$o(e).length;for(var a in e)if(me.call(e,a))return!1;return!0}function _E(e,i){return ti(e,i)}function TE(e,i,a){a=typeof a=="function"?a:t;var c=a?a(e,i):t;return c===t?ti(e,i,t,a):!!c}function au(e){if(!Re(e))return!1;var i=un(e);return i==Lt||i==Gr||typeof e.message=="string"&&typeof e.name=="string"&&!ui(e)}function yE(e){return typeof e=="number"&&el(e)}function vt(e){if(!ke(e))return!1;var i=un(e);return i==nn||i==ua||i==Pe||i==Yp}function Tc(e){return typeof e=="number"&&e==ne(e)}function Ds(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ht}function ke(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function Re(e){return e!=null&&typeof e=="object"}var yc=La?yn(La):wg;function vE(e,i){return e===i||Lo(e,i,Zo(i))}function AE(e,i,a){return a=typeof a=="function"?a:t,Lo(e,i,Zo(i),a)}function FE(e){return vc(e)&&e!=+e}function wE(e){if(am(e))throw new Z(u);return dl(e)}function bE(e){return e===null}function NE(e){return e==null}function vc(e){return typeof e=="number"||Re(e)&&un(e)==Vr}function ui(e){if(!Re(e)||un(e)!=gt)return!1;var i=Yi(e);if(i===null)return!0;var a=me.call(i,"constructor")&&i.constructor;return typeof a=="function"&&a instanceof a&&Gi.call(a)==Ah}var lu=$a?yn($a):bg;function IE(e){return Tc(e)&&e>=-9007199254740991&&e<=ht}var Ac=Ba?yn(Ba):Ng;function _s(e){return typeof e=="string"||!K(e)&&Re(e)&&un(e)==qr}function An(e){return typeof e=="symbol"||Re(e)&&un(e)==xi}var Rr=Pa?yn(Pa):Ig;function OE(e){return e===t}function kE(e){return Re(e)&&rn(e)==Yr}function SE(e){return Re(e)&&un(e)==Qp}var xE=ls(Bo),CE=ls(function(e,i){return e<=i});function Fc(e){if(!e)return[];if(hn(e))return _s(e)?qn(e):dn(e);if(zr&&e[zr])return fh(e[zr]());var i=rn(e),a=i==Vn?Fo:i==jn?Pi:Lr;return a(e)}function At(e){if(!e)return e===0?e:0;if(e=Pn(e),e===Zt||e===-1/0){var i=e<0?-1:1;return i*Tr}return e===e?e:0}function ne(e){var i=At(e),a=i%1;return i===i?a?i-a:i:0}function wc(e){return e?ir(ne(e),0,On):0}function Pn(e){if(typeof e=="number")return e;if(An(e))return Kt;if(ke(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=ke(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=qa(e);var a=hd.test(e);return a||md.test(e)?zd(e.slice(2),a?2:8):dd.test(e)?Kt:+e}function bc(e){return ot(e,gn(e))}function RE(e){return e?ir(ne(e),-9007199254740991,ht):e===0?e:0}function ge(e){return e==null?"":vn(e)}var LE=Sr(function(e,i){if(si(i)||hn(i)){ot(i,ze(i),e);return}for(var a in i)me.call(i,a)&&Kr(e,a,i[a])}),Nc=Sr(function(e,i){ot(i,gn(i),e)}),Ts=Sr(function(e,i,a,c){ot(i,gn(i),e,c)}),$E=Sr(function(e,i,a,c){ot(i,ze(i),e,c)}),BE=Tt(ko);function PE(e,i){var a=kr(e);return i==null?a:sl(a,i)}var ME=re(function(e,i){e=ye(e);var a=-1,c=i.length,d=c>2?i[2]:t;for(d&&an(i[0],i[1],d)&&(c=1);++a1),g}),ot(e,Jo(e),a),c&&(a=Ln(a,_|k|w,Jg));for(var d=i.length;d--;)Vo(a,i[d]);return a});function rD(e,i){return Oc(e,Es(Q(i)))}var iD=Tt(function(e,i){return e==null?{}:Sg(e,i)});function Oc(e,i){if(e==null)return{};var a=Ie(Jo(e),function(c){return[c]});return i=Q(i),Tl(e,a,function(c,d){return i(c,d[0])})}function sD(e,i,a){i=Vt(i,e);var c=-1,d=i.length;for(d||(d=1,e=t);++ci){var c=e;e=i,i=c}if(a||e%1||i%1){var d=nl();return tn(e+d*(i-e+Qd("1e-"+((d+"").length-1))),i)}return Mo(e,i)}var mD=xr(function(e,i,a){return i=i.toLowerCase(),e+(a?xc(i):i)});function xc(e){return pu(ge(e).toLowerCase())}function Cc(e){return e=ge(e),e&&e.replace(Dd,oh).replace(Bd,"")}function ED(e,i,a){e=ge(e),i=vn(i);var c=e.length;a=a===t?c:ir(ne(a),0,c);var d=a;return a-=i.length,a>=0&&e.slice(a,d)==i}function DD(e){return e=ge(e),e&&Zp.test(e)?e.replace(ca,uh):e}function _D(e){return e=ge(e),e&&id.test(e)?e.replace(oo,"\\$&"):e}var TD=xr(function(e,i,a){return e+(a?"-":"")+i.toLowerCase()}),yD=xr(function(e,i,a){return e+(a?" ":"")+i.toLowerCase()}),vD=$l("toLowerCase");function AD(e,i,a){e=ge(e),i=ne(i);var c=i?wr(e):0;if(!i||c>=i)return e;var d=(i-c)/2;return as(Hi(d),a)+e+as(zi(d),a)}function FD(e,i,a){e=ge(e),i=ne(i);var c=i?wr(e):0;return i&&c>>0,a?(e=ge(e),e&&(typeof i=="string"||i!=null&&!lu(i))&&(i=vn(i),!i&&Fr(e))?jt(qn(e),0,a):e.split(i,a)):[]}var SD=xr(function(e,i,a){return e+(a?" ":"")+pu(i)});function xD(e,i,a){return e=ge(e),a=a==null?0:ir(ne(a),0,e.length),i=vn(i),e.slice(a,a+i.length)==i}function CD(e,i,a){var c=h.templateSettings;a&&an(e,i,a)&&(i=t),e=ge(e),i=Ts({},i,c,jl);var d=Ts({},i.imports,c.imports,jl),g=ze(d),D=Ao(d,g),T,A,O=0,S=i.interpolate||Ci,R="__p += '",B=wo((i.escape||Ci).source+"|"+S.source+"|"+(S===fa?pd:Ci).source+"|"+(i.evaluate||Ci).source+"|$","g"),q="//# sourceURL="+(me.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Vd+"]")+` +`;e.replace(B,function(H,se,le,Fn,ln,wn){return le||(le=Fn),R+=e.slice(O,wn).replace(_d,ah),se&&(T=!0,R+=`' + +__e(`+se+`) + +'`),ln&&(A=!0,R+=`'; +`+ln+`; +__p += '`),le&&(R+=`' + +((__t = (`+le+`)) == null ? '' : __t) + +'`),O=wn+H.length,H}),R+=`'; +`;var z=me.call(i,"variable")&&i.variable;if(!z)R=`with (obj) { +`+R+` +} +`;else if(cd.test(z))throw new Z(f);R=(A?R.replace(zp,""):R).replace(Hp,"$1").replace(Jp,"$1;"),R="function("+(z||"obj")+`) { +`+(z?"":`obj || (obj = {}); +`)+"var __t, __p = ''"+(T?", __e = _.escape":"")+(A?`, __j = Array.prototype.join; +function print() { __p += __j.call(arguments, '') } +`:`; +`)+R+`return __p +}`;var te=Lc(function(){return pe(g,q+"return "+R).apply(t,D)});if(te.source=R,au(te))throw te;return te}function RD(e){return ge(e).toLowerCase()}function LD(e){return ge(e).toUpperCase()}function $D(e,i,a){if(e=ge(e),e&&(a||i===t))return qa(e);if(!e||!(i=vn(i)))return e;var c=qn(e),d=qn(i),g=Ya(c,d),D=Wa(c,d)+1;return jt(c,g,D).join("")}function BD(e,i,a){if(e=ge(e),e&&(a||i===t))return e.slice(0,za(e)+1);if(!e||!(i=vn(i)))return e;var c=qn(e),d=Wa(c,qn(i))+1;return jt(c,0,d).join("")}function PD(e,i,a){if(e=ge(e),e&&(a||i===t))return e.replace(uo,"");if(!e||!(i=vn(i)))return e;var c=qn(e),d=Ya(c,qn(i));return jt(c,d).join("")}function MD(e,i){var a=X,c=on;if(ke(i)){var d="separator"in i?i.separator:d;a="length"in i?ne(i.length):a,c="omission"in i?vn(i.omission):c}e=ge(e);var g=e.length;if(Fr(e)){var D=qn(e);g=D.length}if(a>=g)return e;var T=a-wr(c);if(T<1)return c;var A=D?jt(D,0,T).join(""):e.slice(0,T);if(d===t)return A+c;if(D&&(T+=A.length-T),lu(d)){if(e.slice(T).search(d)){var O,S=A;for(d.global||(d=wo(d.source,ge(pa.exec(d))+"g")),d.lastIndex=0;O=d.exec(S);)var R=O.index;A=A.slice(0,R===t?T:R)}}else if(e.indexOf(vn(d),T)!=T){var B=A.lastIndexOf(d);B>-1&&(A=A.slice(0,B))}return A+c}function UD(e){return e=ge(e),e&&Xp.test(e)?e.replace(la,gh):e}var GD=xr(function(e,i,a){return e+(a?" ":"")+i.toUpperCase()}),pu=$l("toUpperCase");function Rc(e,i,a){return e=ge(e),i=a?t:i,i===t?ch(e)?Dh(e):nh(e):e.match(i)||[]}var Lc=re(function(e,i){try{return Tn(e,t,i)}catch(a){return au(a)?a:new Z(a)}}),VD=Tt(function(e,i){return xn(i,function(a){a=ut(a),Dt(e,a,ou(e[a],e))}),e});function jD(e){var i=e==null?0:e.length,a=Q();return e=i?Ie(e,function(c){if(typeof c[1]!="function")throw new Cn(l);return[a(c[0]),c[1]]}):[],re(function(c){for(var d=-1;++dht)return[];var a=On,c=tn(e,On);i=Q(i),e-=On;for(var d=vo(c,i);++a0||i<0)?new ue(a):(e<0?a=a.takeRight(-e):e&&(a=a.drop(e)),i!==t&&(i=ne(i),a=i<0?a.dropRight(-i):a.take(i-e)),a)},ue.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ue.prototype.toArray=function(){return this.take(On)},st(ue.prototype,function(e,i){var a=/^(?:filter|find|map|reject)|While$/.test(i),c=/^(?:head|last)$/.test(i),d=h[c?"take"+(i=="last"?"Right":""):i],g=c||/^find/.test(i);d&&(h.prototype[i]=function(){var D=this.__wrapped__,T=c?[1]:arguments,A=D instanceof ue,O=T[0],S=A||K(D),R=function(se){var le=d.apply(h,Bt([se],T));return c&&B?le[0]:le};S&&a&&typeof O=="function"&&O.length!=1&&(A=S=!1);var B=this.__chain__,q=!!this.__actions__.length,z=g&&!B,te=A&&!q;if(!g&&S){D=te?D:new ue(this);var H=e.apply(D,T);return H.__actions__.push({func:ds,args:[R],thisArg:t}),new Rn(H,B)}return z&&te?e.apply(this,T):(H=this.thru(R),z?c?H.value()[0]:H.value():H)})}),xn(["pop","push","shift","sort","splice","unshift"],function(e){var i=Mi[e],a=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",c=/^(?:pop|shift)$/.test(e);h.prototype[e]=function(){var d=arguments;if(c&&!this.__chain__){var g=this.value();return i.apply(K(g)?g:[],d)}return this[a](function(D){return i.apply(K(D)?D:[],d)})}}),st(ue.prototype,function(e,i){var a=h[i];if(a){var c=a.name+"";me.call(Or,c)||(Or[c]=[]),Or[c].push({name:i,func:a})}}),Or[os(t,ce).name]=[{name:"wrapper",func:t}],ue.prototype.clone=Uh,ue.prototype.reverse=Gh,ue.prototype.value=Vh,h.prototype.at=E0,h.prototype.chain=D0,h.prototype.commit=_0,h.prototype.next=T0,h.prototype.plant=v0,h.prototype.reverse=A0,h.prototype.toJSON=h.prototype.valueOf=h.prototype.value=F0,h.prototype.first=h.prototype.head,zr&&(h.prototype[zr]=y0),h},br=_h();er?((er.exports=br)._=br,ho._=br):Xe._=br}).call(fi)})(Cs,Cs.exports);var Ry=Cs.exports;const Ot=Cy(Ry);function Ly(){return{convert:r=>{if(r===null||r===void 0)return null;switch(typeof r){case"boolean":return r;case"string":{const n=r.toLowerCase().trim();return n==="true"||n==="t"||n==="1"}case"number":return r!==0;default:return null}},asString:r=>String(r),type:r=>r.boolean().optional()}}function bn(r,n){const t=s=>n.convert(s[r]);return{name:$y(r),key:r,asEnv:s=>({[r]:n.asString(s)}),zod:{type:n.type},get:t,getOrDefault:(s,o)=>t(s)??o}}function $y(r){return r.toLowerCase().replace(/([-_][a-z])/gi,n=>n.toUpperCase().replace("-","").replace("_",""))}bn("MAGIDOC_GENERATE",Ly());function vs(r){return{convert:n=>{if(Array.isArray(n))return n;if(typeof n=="string"){const t=JSON.parse(n);return Array.isArray(t)?t:null}return null},asString:n=>JSON.stringify(n),type:n=>n.array(r(n)).optional()}}function uf(r){return{convert:n=>{if(typeof n=="object")return n;if(typeof n=="string"){const t=JSON.parse(n);return typeof t!="object"?null:t}return null},asString:n=>JSON.stringify(n),type:n=>n.record(r(n).optional()).optional()}}function As(){return{convert:r=>r==null||r===""?null:String(r),asString:r=>String(r),type:r=>r.string().optional()}}function af(r){return{convert:n=>n==null||!r.find(t=>t===n)?null:n,asString:n=>String(n),type:n=>n.enum(r).optional()}}var Vs={APP_LOGO:bn("APP_LOGO",As()),APP_TITLE:bn("APP_TITLE",As()),APP_FAVICON:bn("APP_FAVICON",As()),SITE_ROOT:bn("SITE_ROOT",As()),SITE_META:bn("SITE_META",uf(r=>r.string())),CUSTOM_STYLES:bn("CUSTOM_STYLES",vs(r=>r.string())),FIELDS_SORTING:bn("FIELDS_SORTING",af(["default","alphabetical"])),ARGUMENTS_SORTING:bn("ARGUMENTS_SORTING",af(["default","alphabetical"])),QUERY_GENERATION_FACTORIES:bn("QUERY_GENERATION_FACTORIES",uf(r=>r.union([r.string(),r.boolean(),r.number(),r.null(),r.record(r.unknown())]))),PAGES:bn("PAGES",vs(r=>{const n=r.lazy(()=>r.object({title:r.string().min(1),content:r.union([r.array(n),r.string().min(1)])}));return n})),EXTERNAL_LINKS:bn("EXTERNAL_LINKS",vs(r=>r.object({label:r.string().min(1),href:r.string().min(1),position:r.union([r.literal("header"),r.literal("navigation")]).optional(),kind:r.string().min(1).optional(),group:r.string().min(1).optional()}))),DIRECTIVES:bn("DIRECTIVES",vs(r=>r.object({name:r.string().min(1),args:r.array(r.string())})))};const By="/docs",Py="LDOG Stack",My="https://raw.githubusercontent.com/API-Skeletons/ldog/2.0.x/public/assets/icon.png",Uy="https://raw.githubusercontent.com/API-Skeletons/ldog/2.0.x/public/assets/smalllogo.png",Gy='{"description":"A PHP Stack with Laravel, Doctrine ORM, and GraphQL.","og:description":"A PHP Stack with Laravel, Doctrine ORM, and GraphQL.","keywords":"laravel,doctrine,orm,graphql","author":"API Skeletons, Inc. ","og:title":"LDOG Stack","og:type":"article","og:image":"https://raw.githubusercontent.com/API-Skeletons/ldog/main/public/assets/share.png"}',Vy='[{"title":"Introduction","content":[{"title":"Welcome","content":"\\n\\n# The LDOG Stack for PHP\\n\\n## Laravel, Doctrine ORM, and GraphQL\\n\\nThis is a template application for building GraphQL applications in\\nLaravel with Doctrine ORM. **Known as the LDOG (el-dog) Stack.**\\n\\nTo create a new project run\\n```\\ncomposer create-project api-skeletons/ldog\\n```\\n\\nSource code available at https://github.com/api-skeletons/ldog\\n\\nThis site is the ldog project running on Google Cloud. It includes an example\\nDoctrine ORM schema and database served as GraphQL.\\n\\nYou may explore the GraphQL with [graphiql](https://ldog.apiskeletons.dev/graphiql)\\nor POST to this server\'s GraphQL endpoint at https://ldog.apisketons.dev\\n\\n\\n## Features\\n\\n* Dockerfile suitable to immediate deployment to Cloud Run\\n* docker-compose.yml file - no Laravel Sail integration\\n* Doctrine ORM configured for XML metadata and no database naming strategy\\n* Includes the [api-skeletons/doctrine-orm-graphql](https://github.com/api-skeletons/doctrine-orm-graphql)\\n type driver\\n* The [GraphQLController](https://github.com/API-Skeletons/ldog/blob/4.0.x/app/Http/Controllers/GraphQLController.php)\\n is pre-configured with example endpoints for connection, entity, and mutation\\n* The Doctrine [entities](https://github.com/API-Skeletons/ldog/blob/main/app/Doctrine/ORM/Entity/Artist.php)\\n have default configuration for [api-skeletons/doctrine-orm-graphql](https://github.com/API-Skeletons/doctrine-orm-graphql)\\n* Authorization provided by [api-skeletons/laravel-doctrine-apikey](https://github.com/API-Skeletons/laravel-doctrine-apikey)\\n and [laravel/passort](https://laravel.com/docs/10.x/passport)\\n* The Laravel code has been modified so the entire project passes the\\n [Doctrine Coding Standard](https://www.doctrine-project.org/projects/doctrine-coding-standard/en/11.0/reference/index.html)\\n* Code quality tools include parallel-lint, phpcs, psalm, and phpunit\\n* An unit test is included that tests the GraphQL endpoints\\n\\n\\n## Why use this template application?\\n\\nThis template application is based on Laravel 11.x. Nothing has been taken away from that\\ndefault Laravel release but a lot has been added.\\n\\nThere are many GraphQL solutions available including those that integrate with Laravel\\nand Eloquent. But Doctrine ORM is the superior ORM because it is a\\n[data mapper pattern](https://www.thoughtfulcode.com/orm-active-record-vs-data-mapper/).\\n\\nThe [doctrine-orm-graphql](https://github.com/api-skeletons/doctrine-orm-graphql) library\\ncreates the types for your Doctrine entities and has numerous other features.\\n\\nA [Skipper](https://skipper18.com) diagram is included and the example database metadata\\nis exported from it as XML. The advantages of XML metadata over annotations or attributes\\nare many and not needing to edit the XML manually is a big benefit.\\n\\n\\n## Convert an existing database to GraphQL\\n\\nUsing skipper, import a new external model and import your database. Change the\\nExport Data Format to XML and set the path to `~/config/doctrine-orm-metadata`.\\nExport from Skipper and build your entities. Turn on `globalEnable` in the driver\\nand create at least one endpoint.\\n\\n\\n## Support\\n\\nSupport for this template application is available through\\n[API Skeletons](mailto:contact@apiskeletons.com).\\n"},{"title":"Getting Started","content":"# Getting Started\\n\\n* Copy `.env.example` or `.env.dev` to `.env`\\n* Run `docker-compose up -d`\\n* Connect to the docker instance by running `docker ps` to get the instance id,\\n then `docker exec -it {instanceId} bash`\\n* Run `composer install`\\n* Create the database with `php artisan doctrine:schema:create`\\n* Generate the GraphQL documentation with `magidoc generate`\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"},{"title":"Security","content":"Security\\n========\\n\\nThe security of your data is important to us. We have implemented industry standard security\\nmeasures to protect your data.\\n\\nBoth API Key and OAuth2 are supported for authentication.\\n\\nAPI Key\\n-------\\n\\nTo test API Key security, POST to https://ldog.apiskeletons.dev/apikey with the following header:\\n\\n```\\nAuthorization: Bearer HkwFkpby6MXJOnpC5QAb1Z4N1o2QmkSsXQPXOkMi0NgTU6Y6zcAgymm5AWJ7GGCV\\n```\\n\\nAPI Key security is implemented with https://github.com/API-Skeletons/laravel-doctrine-apikey\\nSee the documentation for that package for more information.\\n\\n\\nOAuth2\\n------\\n\\nOAuth2 is not configured by default with this project.\\nIf you want to implement Passport, you must use version 11 of [api-skeletongs/doctrine-orm-graphql](https://github.com/API-Skeletons/doctrine-orm-graphql) \\n\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"Database Quality","content":[{"title":"Doctrine ERD with Skipper","content":"# Doctrine ERD with Skipper\\n\\nIncluded is an ERD you can use to extend your project\'s database. The ERD is created with [Skipper](https://skipper18.com).\\nFind it at `~/ldog.skipper`.\\n\\nThis an an immensely powerful tool and every Doctrine ORM project should use it.\\n\\nThis is the ERD for the entities used in developing the stack.\\n\\n![Doctrine ERD with Skipper](/erd.png \\"Doctrine ERD with Skipper\\")\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"},{"title":"Fixtures","content":"# Fixtures\\n\\nIncluded with LDOG is a Laravel Doctrine fixture library. There are two included fixtures. To rebuild the\\nSQLite database, copy `.env.dev` to `.env`, delete the `~/database/database.sqlite` file, and run\\n\\n```\\nrm database/database.sqlite\\nphp artisan doctrine:schema:create\\nphp artisan doctrine:data-fixture:import faker\\n```\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"Code Quality","content":[{"title":"Composer Tools for Code Quality","content":"# Composer Tools for Code Quality\\n\\nTo ensure code quality, run `composer test` to run the following:\\n\\n* [Parallel Lint](https://github.com/php-parallel-lint/PHP-Parallel-Lint)\\n* [Doctrine Coding Standard](https://www.doctrine-project.org/projects/doctrine-coding-standard/en/11.0/reference/index.html)\\n* [Psalm](https://psalm.dev/docs/)\\n* [PHPUnit](https://docs.phpunit.de/en/10.5/)\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"GraphQL Quality","content":[{"title":"doctrine-orm-graphql","content":"Central to developing GraphQL for your project is the \\n[api-skeletons/doctrine-orm-graphql](https://github.com/api-skeletons/doctrine-orm-graphql) library.\\n\\nDeveloped over 6 years, this tool is the most powerful GraphQL tool for Doctrine ORM. \\n\\n\\n## Documentation\\n\\nhttps://doctrine-orm-graphql.apiskeletons.dev/en/latest/\\n"}]},{"title":"Generate Quality Documentation","content":[{"title":"GraphQL Documentation","content":"# GraphQL Documentation\\n\\nGraphQL documentation is created with `magidoc`. Inside the container and from the root of the project,\\n`/var/www`, run `magidoc generate` to create the documentation.\\n\\nConfiguration is done via the `~/magidoc.mjs` file.\\n\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"Help Resources","content":[{"title":"External Documentation","content":"# Help Resources\\n\\n* Laravel - https://laravel.com/docs/11.x\\n* Doctrine - https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/index.html\\n* Laravel Doctrine ORM - https://github.com/laravel-doctrine/orm\\n* GraphQL Documentation - https://graphql.org/learn/\\n* GraphQL-php - https://webonyx.github.io/graphql-php/\\n* GraphQL Type Driver for Doctrine ORM - https://doctrine-orm-graphql.apiskeletons.dev/en/latest/\\n* API Key - https://github.com/API-Skeletons/laravel-doctrine-apikey\\n* Passport - https://laravel.com/docs/10.x/passport\\n* Skipper - https://www.skipper18.com/help/\\n* magidoc - https://magidoc.js.org/introduction/welcome\\n* migrations - https://laraveldoctrine.org/docs/1.8/migrations\\n* data fixtures - https://github.com/API-Skeletons/laravel-doctrine-data-fixtures/blob/main/README.md\\n* parallel-lint - https://packagist.org/packages/php-parallel-lint/php-parallel-lint\\n* phpcs - https://github.com/PHPCSStandards/PHP_CodeSniffer\\n* psalm - https://psalm.dev/docs/\\n* phpunit -https://docs.phpunit.de/en/10.5/\\n---\\n\\nA project of [API Skeletons](mailto:contact@apiskeletons.com)\\n* https://github.com/api-skeletons/ldog\\n"}]},{"title":"LICENSE","content":[{"title":"LICENSE","content":"The MIT License (MIT)\\n\\nCopyright (c) 2024 API Skeletons, Inc. \\nCopyright (c) Taylor Otwell\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy\\nof this software and associated documentation files (the \\"Software\\"), to deal\\nin the Software without restriction, including without limitation the rights\\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the Software is\\nfurnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all\\ncopies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\nSOFTWARE.\\n"}]}]',jy="true",Qf={SITE_ROOT:By,APP_TITLE:Py,APP_FAVICON:My,APP_LOGO:Uy,SITE_META:Gy,PAGES:Vy,MAGIDOC_GENERATE:jy};function $A(r){return r.get(Qf)}function js(r,n){return r.getOrDefault(Qf,n)}function qs(){return js(Vs.SITE_ROOT,C_)}class qy{constructor(n){ve(this,"mapping");this.mapping=n}getFor(n){return this.mapping.get(n.name)}}var Ei;(function(r){r.UNION="union",r.ARGUMENT="argument",r.FIELD="field"})(Ei||(Ei={}));function fe(r,n){if(!!!r)throw new Error(n)}function kt(r){return typeof r=="object"&&r!==null}function Zn(r,n){if(!!!r)throw new Error(n??"Unexpected invariant triggered.")}const Yy=/\r\n|[\n\r]/g;function Ou(r,n){let t=0,s=1;for(const o of r.body.matchAll(Yy)){if(typeof o.index=="number"||Zn(!1),o.index>=n)break;t=o.index+o[0].length,s+=1}return{line:s,column:n+1-t}}function Wy(r){return zf(r.source,Ou(r.source,r.start))}function zf(r,n){const t=r.locationOffset.column-1,s="".padStart(t)+r.body,o=n.line-1,u=r.locationOffset.line-1,l=n.line+u,f=n.line===1?t:0,p=n.column+f,m=`${r.name}:${l}:${p} +`,E=s.split(/\r\n|[\n\r]/g),_=E[o];if(_.length>120){const k=Math.floor(p/80),w=p%80,I=[];for(let $=0;$<_.length;$+=80)I.push(_.slice($,$+80));return m+lf([[`${l} |`,I[0]],...I.slice(1,k+1).map($=>["|",$]),["|","^".padStart(w)],["|",I[k+1]]])}return m+lf([[`${l-1} |`,E[o-1]],[`${l} |`,_],["|","^".padStart(p)],[`${l+1} |`,E[o+1]]])}function lf(r){const n=r.filter(([s,o])=>o!==void 0),t=Math.max(...n.map(([s])=>s.length));return n.map(([s,o])=>s.padStart(t)+(o?" "+o:"")).join(` +`)}function Qy(r){const n=r[0];return n==null||"kind"in n||"length"in n?{nodes:n,source:r[1],positions:r[2],path:r[3],originalError:r[4],extensions:r[5]}:n}class L extends Error{constructor(n,...t){var s,o,u;const{nodes:l,source:f,positions:p,path:m,originalError:E,extensions:_}=Qy(t);super(n),this.name="GraphQLError",this.path=m??void 0,this.originalError=E??void 0,this.nodes=cf(Array.isArray(l)?l:l?[l]:void 0);const k=cf((s=this.nodes)===null||s===void 0?void 0:s.map(I=>I.loc).filter(I=>I!=null));this.source=f??(k==null||(o=k[0])===null||o===void 0?void 0:o.source),this.positions=p??(k==null?void 0:k.map(I=>I.start)),this.locations=p&&f?p.map(I=>Ou(f,I)):k==null?void 0:k.map(I=>Ou(I.source,I.start));const w=kt(E==null?void 0:E.extensions)?E==null?void 0:E.extensions:void 0;this.extensions=(u=_??w)!==null&&u!==void 0?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),E!=null&&E.stack?Object.defineProperty(this,"stack",{value:E.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,L):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let n=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(n+=` + +`+Wy(t.loc));else if(this.source&&this.locations)for(const t of this.locations)n+=` + +`+zf(this.source,t);return n}toJSON(){const n={message:this.message};return this.locations!=null&&(n.locations=this.locations),this.path!=null&&(n.path=this.path),this.extensions!=null&&Object.keys(this.extensions).length>0&&(n.extensions=this.extensions),n}}function cf(r){return r===void 0||r.length===0?void 0:r}function He(r,n,t){return new L(`Syntax Error: ${t}`,{source:r,positions:[n]})}class zy{constructor(n,t,s){this.start=n.start,this.end=t.end,this.startToken=n,this.endToken=t,this.source=s}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Hf{constructor(n,t,s,o,u,l){this.kind=n,this.start=t,this.end=s,this.line=o,this.column=u,this.value=l,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const Jf={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Hy=new Set(Object.keys(Jf));function ff(r){const n=r==null?void 0:r.kind;return typeof n=="string"&&Hy.has(n)}var Mn;(function(r){r.QUERY="query",r.MUTATION="mutation",r.SUBSCRIPTION="subscription"})(Mn||(Mn={}));var W;(function(r){r.QUERY="QUERY",r.MUTATION="MUTATION",r.SUBSCRIPTION="SUBSCRIPTION",r.FIELD="FIELD",r.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",r.FRAGMENT_SPREAD="FRAGMENT_SPREAD",r.INLINE_FRAGMENT="INLINE_FRAGMENT",r.VARIABLE_DEFINITION="VARIABLE_DEFINITION",r.SCHEMA="SCHEMA",r.SCALAR="SCALAR",r.OBJECT="OBJECT",r.FIELD_DEFINITION="FIELD_DEFINITION",r.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.ENUM_VALUE="ENUM_VALUE",r.INPUT_OBJECT="INPUT_OBJECT",r.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"})(W||(W={}));var y;(function(r){r.NAME="Name",r.DOCUMENT="Document",r.OPERATION_DEFINITION="OperationDefinition",r.VARIABLE_DEFINITION="VariableDefinition",r.SELECTION_SET="SelectionSet",r.FIELD="Field",r.ARGUMENT="Argument",r.FRAGMENT_SPREAD="FragmentSpread",r.INLINE_FRAGMENT="InlineFragment",r.FRAGMENT_DEFINITION="FragmentDefinition",r.VARIABLE="Variable",r.INT="IntValue",r.FLOAT="FloatValue",r.STRING="StringValue",r.BOOLEAN="BooleanValue",r.NULL="NullValue",r.ENUM="EnumValue",r.LIST="ListValue",r.OBJECT="ObjectValue",r.OBJECT_FIELD="ObjectField",r.DIRECTIVE="Directive",r.NAMED_TYPE="NamedType",r.LIST_TYPE="ListType",r.NON_NULL_TYPE="NonNullType",r.SCHEMA_DEFINITION="SchemaDefinition",r.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",r.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",r.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",r.FIELD_DEFINITION="FieldDefinition",r.INPUT_VALUE_DEFINITION="InputValueDefinition",r.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",r.UNION_TYPE_DEFINITION="UnionTypeDefinition",r.ENUM_TYPE_DEFINITION="EnumTypeDefinition",r.ENUM_VALUE_DEFINITION="EnumValueDefinition",r.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",r.DIRECTIVE_DEFINITION="DirectiveDefinition",r.SCHEMA_EXTENSION="SchemaExtension",r.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",r.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",r.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",r.UNION_TYPE_EXTENSION="UnionTypeExtension",r.ENUM_TYPE_EXTENSION="EnumTypeExtension",r.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"})(y||(y={}));function ku(r){return r===9||r===32}function vi(r){return r>=48&&r<=57}function Xf(r){return r>=97&&r<=122||r>=65&&r<=90}function Ju(r){return Xf(r)||r===95}function Zf(r){return Xf(r)||vi(r)||r===95}function Jy(r){var n;let t=Number.MAX_SAFE_INTEGER,s=null,o=-1;for(let l=0;lf===0?l:l.slice(t)).slice((n=s)!==null&&n!==void 0?n:0,o+1)}function Xy(r){let n=0;for(;n1&&s.slice(1).every(w=>w.length===0||ku(w.charCodeAt(0))),l=t.endsWith('\\"""'),f=r.endsWith('"')&&!l,p=r.endsWith("\\"),m=f||p,E=!o||r.length>70||m||u||l;let _="";const k=o&&ku(r.charCodeAt(0));return(E&&!k||u)&&(_+=` +`),_+=t,(E||m)&&(_+=` +`),'"""'+_+'"""'}var x;(function(r){r.SOF="",r.EOF="",r.BANG="!",r.DOLLAR="$",r.AMP="&",r.PAREN_L="(",r.PAREN_R=")",r.SPREAD="...",r.COLON=":",r.EQUALS="=",r.AT="@",r.BRACKET_L="[",r.BRACKET_R="]",r.BRACE_L="{",r.PIPE="|",r.BRACE_R="}",r.NAME="Name",r.INT="Int",r.FLOAT="Float",r.STRING="String",r.BLOCK_STRING="BlockString",r.COMMENT="Comment"})(x||(x={}));class Ky{constructor(n){const t=new Hf(x.SOF,0,0,0,0);this.source=n,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let n=this.token;if(n.kind!==x.EOF)do if(n.next)n=n.next;else{const t=nv(this,n.end);n.next=t,t.prev=n,n=t}while(n.kind===x.COMMENT);return n}}function ev(r){return r===x.BANG||r===x.DOLLAR||r===x.AMP||r===x.PAREN_L||r===x.PAREN_R||r===x.SPREAD||r===x.COLON||r===x.EQUALS||r===x.AT||r===x.BRACKET_L||r===x.BRACKET_R||r===x.BRACE_L||r===x.PIPE||r===x.BRACE_R}function Mr(r){return r>=0&&r<=55295||r>=57344&&r<=1114111}function Ys(r,n){return Kf(r.charCodeAt(n))&&ep(r.charCodeAt(n+1))}function Kf(r){return r>=55296&&r<=56319}function ep(r){return r>=56320&&r<=57343}function dr(r,n){const t=r.source.body.codePointAt(n);if(t===void 0)return x.EOF;if(t>=32&&t<=126){const s=String.fromCodePoint(t);return s==='"'?`'"'`:`"${s}"`}return"U+"+t.toString(16).toUpperCase().padStart(4,"0")}function je(r,n,t,s,o){const u=r.line,l=1+t-r.lineStart;return new Hf(n,t,s,u,l,o)}function nv(r,n){const t=r.source.body,s=t.length;let o=n;for(;o=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:-1}function uv(r,n){const t=r.source.body;switch(t.charCodeAt(n+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:` +`,size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw He(r.source,n,`Invalid character escape sequence: "${t.slice(n,n+2)}".`)}function av(r,n){const t=r.source.body,s=t.length;let o=r.lineStart,u=n+3,l=u,f="";const p=[];for(;unp?"["+gv(r)+"]":"{ "+t.map(([o,u])=>o+": "+Ws(u,n)).join(", ")+" }"}function hv(r,n){if(r.length===0)return"[]";if(n.length>np)return"[Array]";const t=Math.min(cv,r.length),s=r.length-t,o=[];for(let u=0;u1&&o.push(`... ${s} more items`),"["+o.join(", ")+"]"}function gv(r){const n=Object.prototype.toString.call(r).replace(/^\[object /,"").replace(/]$/,"");if(n==="Object"&&typeof r.constructor=="function"){const t=r.constructor.name;if(typeof t=="string"&&t!=="")return t}return n}const mv=globalThis.process&&!0,pt=mv?function(n,t){return n instanceof t}:function(n,t){if(n instanceof t)return!0;if(typeof n=="object"&&n!==null){var s;const o=t.prototype[Symbol.toStringTag],u=Symbol.toStringTag in n?n[Symbol.toStringTag]:(s=n.constructor)===null||s===void 0?void 0:s.name;if(o===u){const l=M(n);throw new Error(`Cannot use ${o} "${l}" from another module or realm. + +Ensure that there is only one instance of "graphql" in the node_modules +directory. If different versions of "graphql" are the dependencies of other +relied on modules, use "resolutions" to ensure only one version is installed. + +https://yarnpkg.com/en/docs/selective-version-resolutions + +Duplicate "graphql" modules cannot be used at the same time since different +versions may have different capabilities and behavior. The data from one +version used in the function from another could produce confusing and +spurious results.`)}}return!1};class tp{constructor(n,t="GraphQL request",s={line:1,column:1}){typeof n=="string"||fe(!1,`Body must be a string. Received: ${M(n)}.`),this.body=n,this.name=t,this.locationOffset=s,this.locationOffset.line>0||fe(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||fe(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function Ev(r){return pt(r,tp)}function Dv(r,n){return new rp(r,n).parseDocument()}function _v(r,n){const t=new rp(r,n);t.expectToken(x.SOF);const s=t.parseValueLiteral(!1);return t.expectToken(x.EOF),s}class rp{constructor(n,t={}){const s=Ev(n)?n:new tp(n);this._lexer=new Ky(s),this._options=t,this._tokenCounter=0}parseName(){const n=this.expectToken(x.NAME);return this.node(n,{kind:y.NAME,value:n.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.DOCUMENT,definitions:this.many(x.SOF,this.parseDefinition,x.EOF)})}parseDefinition(){if(this.peek(x.BRACE_L))return this.parseOperationDefinition();const n=this.peekDescription(),t=n?this._lexer.lookahead():this._lexer.token;if(t.kind===x.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(n)throw He(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const n=this._lexer.token;if(this.peek(x.BRACE_L))return this.node(n,{kind:y.OPERATION_DEFINITION,operation:Mn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let s;return this.peek(x.NAME)&&(s=this.parseName()),this.node(n,{kind:y.OPERATION_DEFINITION,operation:t,name:s,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const n=this.expectToken(x.NAME);switch(n.value){case"query":return Mn.QUERY;case"mutation":return Mn.MUTATION;case"subscription":return Mn.SUBSCRIPTION}throw this.unexpected(n)}parseVariableDefinitions(){return this.optionalMany(x.PAREN_L,this.parseVariableDefinition,x.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(x.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(x.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const n=this._lexer.token;return this.expectToken(x.DOLLAR),this.node(n,{kind:y.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.SELECTION_SET,selections:this.many(x.BRACE_L,this.parseSelection,x.BRACE_R)})}parseSelection(){return this.peek(x.SPREAD)?this.parseFragment():this.parseField()}parseField(){const n=this._lexer.token,t=this.parseName();let s,o;return this.expectOptionalToken(x.COLON)?(s=t,o=this.parseName()):o=t,this.node(n,{kind:y.FIELD,alias:s,name:o,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(x.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(n){const t=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(x.PAREN_L,t,x.PAREN_R)}parseArgument(n=!1){const t=this._lexer.token,s=this.parseName();return this.expectToken(x.COLON),this.node(t,{kind:y.ARGUMENT,name:s,value:this.parseValueLiteral(n)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const n=this._lexer.token;this.expectToken(x.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(x.NAME)?this.node(n,{kind:y.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(n,{kind:y.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const n=this._lexer.token;return this.expectKeyword("fragment"),this._options.allowLegacyFragmentVariables===!0?this.node(n,{kind:y.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(n,{kind:y.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()}parseValueLiteral(n){const t=this._lexer.token;switch(t.kind){case x.BRACKET_L:return this.parseList(n);case x.BRACE_L:return this.parseObject(n);case x.INT:return this.advanceLexer(),this.node(t,{kind:y.INT,value:t.value});case x.FLOAT:return this.advanceLexer(),this.node(t,{kind:y.FLOAT,value:t.value});case x.STRING:case x.BLOCK_STRING:return this.parseStringLiteral();case x.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:y.BOOLEAN,value:!0});case"false":return this.node(t,{kind:y.BOOLEAN,value:!1});case"null":return this.node(t,{kind:y.NULL});default:return this.node(t,{kind:y.ENUM,value:t.value})}case x.DOLLAR:if(n)if(this.expectToken(x.DOLLAR),this._lexer.token.kind===x.NAME){const s=this._lexer.token.value;throw He(this._lexer.source,t.start,`Unexpected variable "$${s}" in constant value.`)}else throw this.unexpected(t);return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const n=this._lexer.token;return this.advanceLexer(),this.node(n,{kind:y.STRING,value:n.value,block:n.kind===x.BLOCK_STRING})}parseList(n){const t=()=>this.parseValueLiteral(n);return this.node(this._lexer.token,{kind:y.LIST,values:this.any(x.BRACKET_L,t,x.BRACKET_R)})}parseObject(n){const t=()=>this.parseObjectField(n);return this.node(this._lexer.token,{kind:y.OBJECT,fields:this.any(x.BRACE_L,t,x.BRACE_R)})}parseObjectField(n){const t=this._lexer.token,s=this.parseName();return this.expectToken(x.COLON),this.node(t,{kind:y.OBJECT_FIELD,name:s,value:this.parseValueLiteral(n)})}parseDirectives(n){const t=[];for(;this.peek(x.AT);)t.push(this.parseDirective(n));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(n){const t=this._lexer.token;return this.expectToken(x.AT),this.node(t,{kind:y.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n)})}parseTypeReference(){const n=this._lexer.token;let t;if(this.expectOptionalToken(x.BRACKET_L)){const s=this.parseTypeReference();this.expectToken(x.BRACKET_R),t=this.node(n,{kind:y.LIST_TYPE,type:s})}else t=this.parseNamedType();return this.expectOptionalToken(x.BANG)?this.node(n,{kind:y.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:y.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(x.STRING)||this.peek(x.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const s=this.parseConstDirectives(),o=this.many(x.BRACE_L,this.parseOperationTypeDefinition,x.BRACE_R);return this.node(n,{kind:y.SCHEMA_DEFINITION,description:t,directives:s,operationTypes:o})}parseOperationTypeDefinition(){const n=this._lexer.token,t=this.parseOperationType();this.expectToken(x.COLON);const s=this.parseNamedType();return this.node(n,{kind:y.OPERATION_TYPE_DEFINITION,operation:t,type:s})}parseScalarTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const s=this.parseName(),o=this.parseConstDirectives();return this.node(n,{kind:y.SCALAR_TYPE_DEFINITION,description:t,name:s,directives:o})}parseObjectTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const s=this.parseName(),o=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(n,{kind:y.OBJECT_TYPE_DEFINITION,description:t,name:s,interfaces:o,directives:u,fields:l})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(x.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(x.BRACE_L,this.parseFieldDefinition,x.BRACE_R)}parseFieldDefinition(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseName(),o=this.parseArgumentDefs();this.expectToken(x.COLON);const u=this.parseTypeReference(),l=this.parseConstDirectives();return this.node(n,{kind:y.FIELD_DEFINITION,description:t,name:s,arguments:o,type:u,directives:l})}parseArgumentDefs(){return this.optionalMany(x.PAREN_L,this.parseInputValueDef,x.PAREN_R)}parseInputValueDef(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseName();this.expectToken(x.COLON);const o=this.parseTypeReference();let u;this.expectOptionalToken(x.EQUALS)&&(u=this.parseConstValueLiteral());const l=this.parseConstDirectives();return this.node(n,{kind:y.INPUT_VALUE_DEFINITION,description:t,name:s,type:o,defaultValue:u,directives:l})}parseInterfaceTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const s=this.parseName(),o=this.parseImplementsInterfaces(),u=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(n,{kind:y.INTERFACE_TYPE_DEFINITION,description:t,name:s,interfaces:o,directives:u,fields:l})}parseUnionTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const s=this.parseName(),o=this.parseConstDirectives(),u=this.parseUnionMemberTypes();return this.node(n,{kind:y.UNION_TYPE_DEFINITION,description:t,name:s,directives:o,types:u})}parseUnionMemberTypes(){return this.expectOptionalToken(x.EQUALS)?this.delimitedMany(x.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const s=this.parseName(),o=this.parseConstDirectives(),u=this.parseEnumValuesDefinition();return this.node(n,{kind:y.ENUM_TYPE_DEFINITION,description:t,name:s,directives:o,values:u})}parseEnumValuesDefinition(){return this.optionalMany(x.BRACE_L,this.parseEnumValueDefinition,x.BRACE_R)}parseEnumValueDefinition(){const n=this._lexer.token,t=this.parseDescription(),s=this.parseEnumValueName(),o=this.parseConstDirectives();return this.node(n,{kind:y.ENUM_VALUE_DEFINITION,description:t,name:s,directives:o})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw He(this._lexer.source,this._lexer.token.start,`${Fs(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const s=this.parseName(),o=this.parseConstDirectives(),u=this.parseInputFieldsDefinition();return this.node(n,{kind:y.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:s,directives:o,fields:u})}parseInputFieldsDefinition(){return this.optionalMany(x.BRACE_L,this.parseInputValueDef,x.BRACE_R)}parseTypeSystemExtension(){const n=this._lexer.lookahead();if(n.kind===x.NAME)switch(n.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(n)}parseSchemaExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),s=this.optionalMany(x.BRACE_L,this.parseOperationTypeDefinition,x.BRACE_R);if(t.length===0&&s.length===0)throw this.unexpected();return this.node(n,{kind:y.SCHEMA_EXTENSION,directives:t,operationTypes:s})}parseScalarTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),s=this.parseConstDirectives();if(s.length===0)throw this.unexpected();return this.node(n,{kind:y.SCALAR_TYPE_EXTENSION,name:t,directives:s})}parseObjectTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(s.length===0&&o.length===0&&u.length===0)throw this.unexpected();return this.node(n,{kind:y.OBJECT_TYPE_EXTENSION,name:t,interfaces:s,directives:o,fields:u})}parseInterfaceTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),u=this.parseFieldsDefinition();if(s.length===0&&o.length===0&&u.length===0)throw this.unexpected();return this.node(n,{kind:y.INTERFACE_TYPE_EXTENSION,name:t,interfaces:s,directives:o,fields:u})}parseUnionTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),s=this.parseConstDirectives(),o=this.parseUnionMemberTypes();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:y.UNION_TYPE_EXTENSION,name:t,directives:s,types:o})}parseEnumTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),s=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:y.ENUM_TYPE_EXTENSION,name:t,directives:s,values:o})}parseInputObjectTypeExtension(){const n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),s=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(n,{kind:y.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:s,fields:o})}parseDirectiveDefinition(){const n=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(x.AT);const s=this.parseName(),o=this.parseArgumentDefs(),u=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const l=this.parseDirectiveLocations();return this.node(n,{kind:y.DIRECTIVE_DEFINITION,description:t,name:s,arguments:o,repeatable:u,locations:l})}parseDirectiveLocations(){return this.delimitedMany(x.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const n=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(W,t.value))return t;throw this.unexpected(n)}node(n,t){return this._options.noLocation!==!0&&(t.loc=new zy(n,this._lexer.lastToken,this._lexer.source)),t}peek(n){return this._lexer.token.kind===n}expectToken(n){const t=this._lexer.token;if(t.kind===n)return this.advanceLexer(),t;throw He(this._lexer.source,t.start,`Expected ${ip(n)}, found ${Fs(t)}.`)}expectOptionalToken(n){return this._lexer.token.kind===n?(this.advanceLexer(),!0):!1}expectKeyword(n){const t=this._lexer.token;if(t.kind===x.NAME&&t.value===n)this.advanceLexer();else throw He(this._lexer.source,t.start,`Expected "${n}", found ${Fs(t)}.`)}expectOptionalKeyword(n){const t=this._lexer.token;return t.kind===x.NAME&&t.value===n?(this.advanceLexer(),!0):!1}unexpected(n){const t=n??this._lexer.token;return He(this._lexer.source,t.start,`Unexpected ${Fs(t)}.`)}any(n,t,s){this.expectToken(n);const o=[];for(;!this.expectOptionalToken(s);)o.push(t.call(this));return o}optionalMany(n,t,s){if(this.expectOptionalToken(n)){const o=[];do o.push(t.call(this));while(!this.expectOptionalToken(s));return o}return[]}many(n,t,s){this.expectToken(n);const o=[];do o.push(t.call(this));while(!this.expectOptionalToken(s));return o}delimitedMany(n,t){this.expectOptionalToken(n);const s=[];do s.push(t.call(this));while(this.expectOptionalToken(n));return s}advanceLexer(){const{maxTokens:n}=this._options,t=this._lexer.advance();if(n!==void 0&&t.kind!==x.EOF&&(++this._tokenCounter,this._tokenCounter>n))throw He(this._lexer.source,t.start,`Document contains more that ${n} tokens. Parsing aborted.`)}}function Fs(r){const n=r.value;return ip(r.kind)+(n!=null?` "${n}"`:"")}function ip(r){return ev(r)?`"${r}"`:r}const Tv=5;function Ht(r,n){const[t,s]=n?[r,n]:[void 0,r];let o=" Did you mean ";t&&(o+=t+" ");const u=s.map(p=>`"${p}"`);switch(u.length){case 0:return"";case 1:return o+u[0]+"?";case 2:return o+u[0]+" or "+u[1]+"?"}const l=u.slice(0,Tv),f=l.pop();return o+l.join(", ")+", or "+f+"?"}function df(r){return r}function hr(r,n){const t=Object.create(null);for(const s of r)t[n(s)]=s;return t}function cr(r,n,t){const s=Object.create(null);for(const o of r)s[n(o)]=t(o);return s}function wt(r,n){const t=Object.create(null);for(const s of Object.keys(r))t[s]=n(r[s],s);return t}function Xu(r,n){let t=0,s=0;for(;t0);let f=0;do++s,f=f*10+u-Su,u=n.charCodeAt(s);while(ws(u)&&f>0);if(lf)return 1}else{if(ou)return 1;++t,++s}}return r.length-n.length}const Su=48,yv=57;function ws(r){return!isNaN(r)&&Su<=r&&r<=yv}function Dr(r,n){const t=Object.create(null),s=new vv(r),o=Math.floor(r.length*.4)+1;for(const u of n){const l=s.measure(u,o);l!==void 0&&(t[u]=l)}return Object.keys(t).sort((u,l)=>{const f=t[u]-t[l];return f!==0?f:Xu(u,l)})}class vv{constructor(n){this._input=n,this._inputLowerCase=n.toLowerCase(),this._inputArray=hf(this._inputLowerCase),this._rows=[new Array(n.length+1).fill(0),new Array(n.length+1).fill(0),new Array(n.length+1).fill(0)]}measure(n,t){if(this._input===n)return 0;const s=n.toLowerCase();if(this._inputLowerCase===s)return 1;let o=hf(s),u=this._inputArray;if(o.lengtht)return;const p=this._rows;for(let E=0;E<=f;E++)p[0][E]=E;for(let E=1;E<=l;E++){const _=p[(E-1)%3],k=p[E%3];let w=k[0]=E;for(let I=1;I<=f;I++){const $=o[E-1]===u[I-1]?0:1;let Y=Math.min(_[I]+1,k[I-1]+1,_[I-1]+$);if(E>1&&I>1&&o[E-1]===u[I-2]&&o[E-2]===u[I-1]){const ce=p[(E-2)%3][I-2];Y=Math.min(Y,ce+1)}Yt)return}const m=p[l%3][f];return m<=t?m:void 0}}function hf(r){const n=r.length,t=new Array(n);for(let s=0;sr.value},Variable:{leave:r=>"$"+r.name},Document:{leave:r=>j(r.definitions,` + +`)},OperationDefinition:{leave(r){const n=ae("(",j(r.variableDefinitions,", "),")"),t=j([r.operation,j([r.name,n]),j(r.directives," ")]," ");return(t==="query"?"":t+" ")+r.selectionSet}},VariableDefinition:{leave:({variable:r,type:n,defaultValue:t,directives:s})=>r+": "+n+ae(" = ",t)+ae(" ",j(s," "))},SelectionSet:{leave:({selections:r})=>zn(r)},Field:{leave({alias:r,name:n,arguments:t,directives:s,selectionSet:o}){const u=ae("",r,": ")+n;let l=u+ae("(",j(t,", "),")");return l.length>Iv&&(l=u+ae(`( +`,Is(j(t,` +`)),` +)`)),j([l,j(s," "),o]," ")}},Argument:{leave:({name:r,value:n})=>r+": "+n},FragmentSpread:{leave:({name:r,directives:n})=>"..."+r+ae(" ",j(n," "))},InlineFragment:{leave:({typeCondition:r,directives:n,selectionSet:t})=>j(["...",ae("on ",r),j(n," "),t]," ")},FragmentDefinition:{leave:({name:r,typeCondition:n,variableDefinitions:t,directives:s,selectionSet:o})=>`fragment ${r}${ae("(",j(t,", "),")")} on ${n} ${ae("",j(s," ")," ")}`+o},IntValue:{leave:({value:r})=>r},FloatValue:{leave:({value:r})=>r},StringValue:{leave:({value:r,block:n})=>n?Zy(r):Av(r)},BooleanValue:{leave:({value:r})=>r?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:r})=>r},ListValue:{leave:({values:r})=>"["+j(r,", ")+"]"},ObjectValue:{leave:({fields:r})=>"{"+j(r,", ")+"}"},ObjectField:{leave:({name:r,value:n})=>r+": "+n},Directive:{leave:({name:r,arguments:n})=>"@"+r+ae("(",j(n,", "),")")},NamedType:{leave:({name:r})=>r},ListType:{leave:({type:r})=>"["+r+"]"},NonNullType:{leave:({type:r})=>r+"!"},SchemaDefinition:{leave:({description:r,directives:n,operationTypes:t})=>ae("",r,` +`)+j(["schema",j(n," "),zn(t)]," ")},OperationTypeDefinition:{leave:({operation:r,type:n})=>r+": "+n},ScalarTypeDefinition:{leave:({description:r,name:n,directives:t})=>ae("",r,` +`)+j(["scalar",n,j(t," ")]," ")},ObjectTypeDefinition:{leave:({description:r,name:n,interfaces:t,directives:s,fields:o})=>ae("",r,` +`)+j(["type",n,ae("implements ",j(t," & ")),j(s," "),zn(o)]," ")},FieldDefinition:{leave:({description:r,name:n,arguments:t,type:s,directives:o})=>ae("",r,` +`)+n+(gf(t)?ae(`( +`,Is(j(t,` +`)),` +)`):ae("(",j(t,", "),")"))+": "+s+ae(" ",j(o," "))},InputValueDefinition:{leave:({description:r,name:n,type:t,defaultValue:s,directives:o})=>ae("",r,` +`)+j([n+": "+t,ae("= ",s),j(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:r,name:n,interfaces:t,directives:s,fields:o})=>ae("",r,` +`)+j(["interface",n,ae("implements ",j(t," & ")),j(s," "),zn(o)]," ")},UnionTypeDefinition:{leave:({description:r,name:n,directives:t,types:s})=>ae("",r,` +`)+j(["union",n,j(t," "),ae("= ",j(s," | "))]," ")},EnumTypeDefinition:{leave:({description:r,name:n,directives:t,values:s})=>ae("",r,` +`)+j(["enum",n,j(t," "),zn(s)]," ")},EnumValueDefinition:{leave:({description:r,name:n,directives:t})=>ae("",r,` +`)+j([n,j(t," ")]," ")},InputObjectTypeDefinition:{leave:({description:r,name:n,directives:t,fields:s})=>ae("",r,` +`)+j(["input",n,j(t," "),zn(s)]," ")},DirectiveDefinition:{leave:({description:r,name:n,arguments:t,repeatable:s,locations:o})=>ae("",r,` +`)+"directive @"+n+(gf(t)?ae(`( +`,Is(j(t,` +`)),` +)`):ae("(",j(t,", "),")"))+(s?" repeatable":"")+" on "+j(o," | ")},SchemaExtension:{leave:({directives:r,operationTypes:n})=>j(["extend schema",j(r," "),zn(n)]," ")},ScalarTypeExtension:{leave:({name:r,directives:n})=>j(["extend scalar",r,j(n," ")]," ")},ObjectTypeExtension:{leave:({name:r,interfaces:n,directives:t,fields:s})=>j(["extend type",r,ae("implements ",j(n," & ")),j(t," "),zn(s)]," ")},InterfaceTypeExtension:{leave:({name:r,interfaces:n,directives:t,fields:s})=>j(["extend interface",r,ae("implements ",j(n," & ")),j(t," "),zn(s)]," ")},UnionTypeExtension:{leave:({name:r,directives:n,types:t})=>j(["extend union",r,j(n," "),ae("= ",j(t," | "))]," ")},EnumTypeExtension:{leave:({name:r,directives:n,values:t})=>j(["extend enum",r,j(n," "),zn(t)]," ")},InputObjectTypeExtension:{leave:({name:r,directives:n,fields:t})=>j(["extend input",r,j(n," "),zn(t)]," ")}};function j(r,n=""){var t;return(t=r==null?void 0:r.filter(s=>s).join(n))!==null&&t!==void 0?t:""}function zn(r){return ae(`{ +`,Is(j(r,` +`)),` +}`)}function ae(r,n,t=""){return n!=null&&n!==""?r+n+t:""}function Is(r){return ae(" ",r.replace(/\n/g,` + `))}function gf(r){var n;return(n=r==null?void 0:r.some(t=>t.includes(` +`)))!==null&&n!==void 0?n:!1}function xu(r,n){switch(r.kind){case y.NULL:return null;case y.INT:return parseInt(r.value,10);case y.FLOAT:return parseFloat(r.value);case y.STRING:case y.ENUM:case y.BOOLEAN:return r.value;case y.LIST:return r.values.map(t=>xu(t,n));case y.OBJECT:return cr(r.fields,t=>t.name.value,t=>xu(t.value,n));case y.VARIABLE:return n==null?void 0:n[r.name.value]}}function it(r){if(r!=null||fe(!1,"Must provide name."),typeof r=="string"||fe(!1,"Expected name to be a string."),r.length===0)throw new L("Expected name to be a non-empty string.");for(let n=1;nl(xu(f,p)),this.extensions=Gn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(u=n.extensionASTNodes)!==null&&u!==void 0?u:[],n.specifiedByURL==null||typeof n.specifiedByURL=="string"||fe(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${M(n.specifiedByURL)}.`),n.serialize==null||typeof n.serialize=="function"||fe(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),n.parseLiteral&&(typeof n.parseValue=="function"&&typeof n.parseLiteral=="function"||fe(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class ct{constructor(n){var t;this.name=it(n.name),this.description=n.description,this.isTypeOf=n.isTypeOf,this.extensions=Gn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=()=>pp(n),this._interfaces=()=>fp(n),n.isTypeOf==null||typeof n.isTypeOf=="function"||fe(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${M(n.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:hp(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function fp(r){var n;const t=lp((n=r.interfaces)!==null&&n!==void 0?n:[]);return Array.isArray(t)||fe(!1,`${r.name} interfaces must be an Array or a function which returns an Array.`),t}function pp(r){const n=cp(r.fields);return $r(n)||fe(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),wt(n,(t,s)=>{var o;$r(t)||fe(!1,`${r.name}.${s} field config must be an object.`),t.resolve==null||typeof t.resolve=="function"||fe(!1,`${r.name}.${s} field resolver must be a function if provided, but got: ${M(t.resolve)}.`);const u=(o=t.args)!==null&&o!==void 0?o:{};return $r(u)||fe(!1,`${r.name}.${s} args must be an object with argument names as keys.`),{name:it(s),description:t.description,type:t.type,args:dp(u),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:Gn(t.extensions),astNode:t.astNode}})}function dp(r){return Object.entries(r).map(([n,t])=>({name:it(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:Gn(t.extensions),astNode:t.astNode}))}function $r(r){return kt(r)&&!Array.isArray(r)}function hp(r){return wt(r,n=>({description:n.description,type:n.type,args:gp(n.args),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}))}function gp(r){return cr(r,n=>n.name,n=>({description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}))}function mp(r){return we(r.type)&&r.defaultValue===void 0}class Rs{constructor(n){var t;this.name=it(n.name),this.description=n.description,this.resolveType=n.resolveType,this.extensions=Gn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._fields=pp.bind(void 0,n),this._interfaces=fp.bind(void 0,n),n.resolveType==null||typeof n.resolveType=="function"||fe(!1,`${this.name} must provide "resolveType" as a function, but got: ${M(n.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}getInterfaces(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:hp(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class Ls{constructor(n){var t;this.name=it(n.name),this.description=n.description,this.resolveType=n.resolveType,this.extensions=Gn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._types=Lv.bind(void 0,n),n.resolveType==null||typeof n.resolveType=="function"||fe(!1,`${this.name} must provide "resolveType" as a function, but got: ${M(n.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return typeof this._types=="function"&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Lv(r){const n=lp(r.types);return Array.isArray(n)||fe(!1,`Must provide Array of types or a function which returns such an array for Union ${r.name}.`),n}class Pr{constructor(n){var t;this.name=it(n.name),this.description=n.description,this.extensions=Gn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._values=typeof n.values=="function"?n.values:mf(this.name,n.values),this._valueLookup=null,this._nameLookup=null}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return typeof this._values=="function"&&(this._values=mf(this.name,this._values())),this._values}getValue(n){return this._nameLookup===null&&(this._nameLookup=hr(this.getValues(),t=>t.name)),this._nameLookup[n]}serialize(n){this._valueLookup===null&&(this._valueLookup=new Map(this.getValues().map(s=>[s.value,s])));const t=this._valueLookup.get(n);if(t===void 0)throw new L(`Enum "${this.name}" cannot represent value: ${M(n)}`);return t.name}parseValue(n){if(typeof n!="string"){const s=M(n);throw new L(`Enum "${this.name}" cannot represent non-string value: ${s}.`+bs(this,s))}const t=this.getValue(n);if(t==null)throw new L(`Value "${n}" does not exist in "${this.name}" enum.`+bs(this,n));return t.value}parseLiteral(n,t){if(n.kind!==y.ENUM){const o=Je(n);throw new L(`Enum "${this.name}" cannot represent non-enum value: ${o}.`+bs(this,o),{nodes:n})}const s=this.getValue(n.value);if(s==null){const o=Je(n);throw new L(`Value "${o}" does not exist in "${this.name}" enum.`+bs(this,o),{nodes:n})}return s.value}toConfig(){const n=cr(this.getValues(),t=>t.name,t=>({description:t.description,value:t.value,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}));return{name:this.name,description:this.description,values:n,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function bs(r,n){const t=r.getValues().map(o=>o.name),s=Dr(n,t);return Ht("the enum value",s)}function mf(r,n){return $r(n)||fe(!1,`${r} values must be an object with value names as keys.`),Object.entries(n).map(([t,s])=>($r(s)||fe(!1,`${r}.${t} must refer to an object with a "value" key representing an internal value but got: ${M(s)}.`),{name:kv(t),description:s.description,value:s.value!==void 0?s.value:t,deprecationReason:s.deprecationReason,extensions:Gn(s.extensions),astNode:s.astNode}))}class $s{constructor(n){var t,s;this.name=it(n.name),this.description=n.description,this.extensions=Gn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this.isOneOf=(s=n.isOneOf)!==null&&s!==void 0?s:!1,this._fields=$v.bind(void 0,n)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const n=wt(this.getFields(),t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}));return{name:this.name,description:this.description,fields:n,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}toString(){return this.name}toJSON(){return this.toString()}}function $v(r){const n=cp(r.fields);return $r(n)||fe(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),wt(n,(t,s)=>(!("resolve"in t)||fe(!1,`${r.name}.${s} field has a resolve property, but Input Types cannot define resolvers.`),{name:it(s),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:Gn(t.extensions),astNode:t.astNode}))}function Bv(r){return we(r.type)&&r.defaultValue===void 0}function Di(r,n,t){return n===t?!0:we(t)?we(n)?Di(r,n.ofType,t.ofType):!1:we(n)?Di(r,n.ofType,t):_n(t)?_n(n)?Di(r,n.ofType,t.ofType):!1:_n(n)?!1:fr(t)&&(Ve(n)||Ye(n))&&r.isSubType(t,n)}function Ef(r,n,t){return n===t?!0:fr(n)?fr(t)?r.getPossibleTypes(n).some(s=>r.isSubType(t,s)):r.isSubType(n,t):fr(t)?r.isSubType(t,n):!1}const vu=2147483647,Au=-2147483648,Pv=new St({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(r){const n=Ii(r);if(typeof n=="boolean")return n?1:0;let t=n;if(typeof n=="string"&&n!==""&&(t=Number(n)),typeof t!="number"||!Number.isInteger(t))throw new L(`Int cannot represent non-integer value: ${M(n)}`);if(t>vu||tvu||rvu||nr.name===n)}function Ii(r){if(kt(r)){if(typeof r.valueOf=="function"){const n=r.valueOf();if(!kt(n))return n}if(typeof r.toJSON=="function")return r.toJSON()}return r}function Gv(r){return pt(r,xt)}class xt{constructor(n){var t,s;this.name=it(n.name),this.description=n.description,this.locations=n.locations,this.isRepeatable=(t=n.isRepeatable)!==null&&t!==void 0?t:!1,this.extensions=Gn(n.extensions),this.astNode=n.astNode,Array.isArray(n.locations)||fe(!1,`@${n.name} locations must be an Array.`);const o=(s=n.args)!==null&&s!==void 0?s:{};kt(o)&&!Array.isArray(o)||fe(!1,`@${n.name} args must be an object with argument names as keys.`),this.args=dp(o)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:gp(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const Dp=new xt({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[W.FIELD,W.FRAGMENT_SPREAD,W.INLINE_FRAGMENT],args:{if:{type:new ie(In),description:"Included when true."}}}),_p=new xt({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[W.FIELD,W.FRAGMENT_SPREAD,W.INLINE_FRAGMENT],args:{if:{type:new ie(In),description:"Skipped when true."}}}),Vv="No longer supported",Tp=new xt({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[W.FIELD_DEFINITION,W.ARGUMENT_DEFINITION,W.INPUT_FIELD_DEFINITION,W.ENUM_VALUE],args:{reason:{type:Ge,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:Vv}}}),yp=new xt({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[W.SCALAR],args:{url:{type:new ie(Ge),description:"The URL that specifies the behavior of this scalar."}}}),vp=new xt({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[W.INPUT_OBJECT],args:{}}),Ur=Object.freeze([Dp,_p,Tp,yp,vp]);function jv(r){return typeof r=="object"&&typeof(r==null?void 0:r[Symbol.iterator])=="function"}function hi(r,n){if(we(n)){const t=hi(r,n.ofType);return(t==null?void 0:t.kind)===y.NULL?null:t}if(r===null)return{kind:y.NULL};if(r===void 0)return null;if(_n(n)){const t=n.ofType;if(jv(r)){const s=[];for(const o of r){const u=hi(o,t);u!=null&&s.push(u)}return{kind:y.LIST,values:s}}return hi(r,t)}if(Dn(n)){if(!kt(r))return null;const t=[];for(const s of Object.values(n.getFields())){const o=hi(r[s.name],s.type);o&&t.push({kind:y.OBJECT_FIELD,name:{kind:y.NAME,value:s.name},value:o})}return{kind:y.OBJECT,fields:t}}if(Br(n)){const t=n.serialize(r);if(t==null)return null;if(typeof t=="boolean")return{kind:y.BOOLEAN,value:t};if(typeof t=="number"&&Number.isFinite(t)){const s=String(t);return Df.test(s)?{kind:y.INT,value:s}:{kind:y.FLOAT,value:s}}if(typeof t=="string")return Kn(n)?{kind:y.ENUM,value:t}:n===Ep&&Df.test(t)?{kind:y.INT,value:t}:{kind:y.STRING,value:t};throw new TypeError(`Cannot convert value to AST: ${M(t)}.`)}Zn(!1,"Unexpected input type: "+M(n))}const Df=/^-?(?:0|[1-9][0-9]*)$/,na=new ct({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:Ge,resolve:r=>r.description},types:{description:"A list of all types supported by this server.",type:new ie(new cn(new ie(Xn))),resolve(r){return Object.values(r.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new ie(Xn),resolve:r=>r.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Xn,resolve:r=>r.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Xn,resolve:r=>r.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new ie(new cn(new ie(Ap))),resolve:r=>r.getDirectives()}})}),Ap=new ct({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. + +In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:()=>({name:{type:new ie(Ge),resolve:r=>r.name},description:{type:Ge,resolve:r=>r.description},isRepeatable:{type:new ie(In),resolve:r=>r.isRepeatable},locations:{type:new ie(new cn(new ie(Fp))),resolve:r=>r.locations},args:{type:new ie(new cn(new ie(zs))),args:{includeDeprecated:{type:In,defaultValue:!1}},resolve(r,{includeDeprecated:n}){return n?r.args:r.args.filter(t=>t.deprecationReason==null)}}})}),Fp=new Pr({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:W.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:W.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:W.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:W.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:W.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:W.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:W.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:W.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:W.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:W.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:W.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:W.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:W.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:W.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:W.UNION,description:"Location adjacent to a union definition."},ENUM:{value:W.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:W.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:W.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:W.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Xn=new ct({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new ie(Np),resolve(r){if(Jt(r))return Ae.SCALAR;if(Ye(r))return Ae.OBJECT;if(Ve(r))return Ae.INTERFACE;if(Un(r))return Ae.UNION;if(Kn(r))return Ae.ENUM;if(Dn(r))return Ae.INPUT_OBJECT;if(_n(r))return Ae.LIST;if(we(r))return Ae.NON_NULL;Zn(!1,`Unexpected type: "${M(r)}".`)}},name:{type:Ge,resolve:r=>"name"in r?r.name:void 0},description:{type:Ge,resolve:r=>"description"in r?r.description:void 0},specifiedByURL:{type:Ge,resolve:r=>"specifiedByURL"in r?r.specifiedByURL:void 0},fields:{type:new cn(new ie(wp)),args:{includeDeprecated:{type:In,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(Ye(r)||Ve(r)){const t=Object.values(r.getFields());return n?t:t.filter(s=>s.deprecationReason==null)}}},interfaces:{type:new cn(new ie(Xn)),resolve(r){if(Ye(r)||Ve(r))return r.getInterfaces()}},possibleTypes:{type:new cn(new ie(Xn)),resolve(r,n,t,{schema:s}){if(fr(r))return s.getPossibleTypes(r)}},enumValues:{type:new cn(new ie(bp)),args:{includeDeprecated:{type:In,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(Kn(r)){const t=r.getValues();return n?t:t.filter(s=>s.deprecationReason==null)}}},inputFields:{type:new cn(new ie(zs)),args:{includeDeprecated:{type:In,defaultValue:!1}},resolve(r,{includeDeprecated:n}){if(Dn(r)){const t=Object.values(r.getFields());return n?t:t.filter(s=>s.deprecationReason==null)}}},ofType:{type:Xn,resolve:r=>"ofType"in r?r.ofType:void 0},isOneOf:{type:In,resolve:r=>{if(Dn(r))return r.isOneOf}}})}),wp=new ct({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new ie(Ge),resolve:r=>r.name},description:{type:Ge,resolve:r=>r.description},args:{type:new ie(new cn(new ie(zs))),args:{includeDeprecated:{type:In,defaultValue:!1}},resolve(r,{includeDeprecated:n}){return n?r.args:r.args.filter(t=>t.deprecationReason==null)}},type:{type:new ie(Xn),resolve:r=>r.type},isDeprecated:{type:new ie(In),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Ge,resolve:r=>r.deprecationReason}})}),zs=new ct({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new ie(Ge),resolve:r=>r.name},description:{type:Ge,resolve:r=>r.description},type:{type:new ie(Xn),resolve:r=>r.type},defaultValue:{type:Ge,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(r){const{type:n,defaultValue:t}=r,s=hi(t,n);return s?Je(s):null}},isDeprecated:{type:new ie(In),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Ge,resolve:r=>r.deprecationReason}})}),bp=new ct({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new ie(Ge),resolve:r=>r.name},description:{type:Ge,resolve:r=>r.description},isDeprecated:{type:new ie(In),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Ge,resolve:r=>r.deprecationReason}})});var Ae;(function(r){r.SCALAR="SCALAR",r.OBJECT="OBJECT",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.INPUT_OBJECT="INPUT_OBJECT",r.LIST="LIST",r.NON_NULL="NON_NULL"})(Ae||(Ae={}));const Np=new Pr({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:Ae.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:Ae.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:Ae.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:Ae.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:Ae.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:Ae.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:Ae.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:Ae.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});new ie(na);new ie(Ge);new ie(Ge);const Hs=Object.freeze([na,Ap,Fp,Xn,wp,zs,bp,Np]);function qv(r){return Hs.some(({name:n})=>r.name===n)}class Ip{constructor(n){var t,s;this.__validationErrors=n.assumeValid===!0?[]:void 0,kt(n)||fe(!1,"Must provide configuration object."),!n.types||Array.isArray(n.types)||fe(!1,`"types" must be Array if provided but got: ${M(n.types)}.`),!n.directives||Array.isArray(n.directives)||fe(!1,`"directives" must be Array if provided but got: ${M(n.directives)}.`),this.description=n.description,this.extensions=Gn(n.extensions),this.astNode=n.astNode,this.extensionASTNodes=(t=n.extensionASTNodes)!==null&&t!==void 0?t:[],this._queryType=n.query,this._mutationType=n.mutation,this._subscriptionType=n.subscription,this._directives=(s=n.directives)!==null&&s!==void 0?s:Ur;const o=new Set(n.types);if(n.types!=null)for(const u of n.types)o.delete(u),Hn(u,o);this._queryType!=null&&Hn(this._queryType,o),this._mutationType!=null&&Hn(this._mutationType,o),this._subscriptionType!=null&&Hn(this._subscriptionType,o);for(const u of this._directives)if(Gv(u))for(const l of u.args)Hn(l.type,o);Hn(na,o),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const u of o){if(u==null)continue;const l=u.name;if(l||fe(!1,"One of the provided types for building the Schema is missing a name."),this._typeMap[l]!==void 0)throw new Error(`Schema must contain uniquely named types but contains multiple types named "${l}".`);if(this._typeMap[l]=u,Ve(u)){for(const f of u.getInterfaces())if(Ve(f)){let p=this._implementationsMap[f.name];p===void 0&&(p=this._implementationsMap[f.name]={objects:[],interfaces:[]}),p.interfaces.push(u)}}else if(Ye(u)){for(const f of u.getInterfaces())if(Ve(f)){let p=this._implementationsMap[f.name];p===void 0&&(p=this._implementationsMap[f.name]={objects:[],interfaces:[]}),p.objects.push(u)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(n){switch(n){case Mn.QUERY:return this.getQueryType();case Mn.MUTATION:return this.getMutationType();case Mn.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(n){return this.getTypeMap()[n]}getPossibleTypes(n){return Un(n)?n.getTypes():this.getImplementations(n).objects}getImplementations(n){const t=this._implementationsMap[n.name];return t??{objects:[],interfaces:[]}}isSubType(n,t){let s=this._subTypeMap[n.name];if(s===void 0){if(s=Object.create(null),Un(n))for(const o of n.getTypes())s[o.name]=!0;else{const o=this.getImplementations(n);for(const u of o.objects)s[u.name]=!0;for(const u of o.interfaces)s[u.name]=!0}this._subTypeMap[n.name]=s}return s[t.name]!==void 0}getDirectives(){return this._directives}getDirective(n){return this.getDirectives().find(t=>t.name===n)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:this.__validationErrors!==void 0}}}function Hn(r,n){const t=gr(r);if(!n.has(t)){if(n.add(t),Un(t))for(const s of t.getTypes())Hn(s,n);else if(Ye(t)||Ve(t)){for(const s of t.getInterfaces())Hn(s,n);for(const s of Object.values(t.getFields())){Hn(s.type,n);for(const o of s.args)Hn(o.type,n)}}else if(Dn(t))for(const s of Object.values(t.getFields()))Hn(s.type,n)}return n}function ft(r,n){switch(n.kind){case y.LIST_TYPE:{const t=ft(r,n.type);return t&&new cn(t)}case y.NON_NULL_TYPE:{const t=ft(r,n.type);return t&&new ie(t)}case y.NAMED_TYPE:return r.getType(n.name.value)}}function Yv(r){return r.kind===y.OPERATION_DEFINITION||r.kind===y.FRAGMENT_DEFINITION}function Wv(r){return r.kind===y.SCHEMA_DEFINITION||Oi(r)||r.kind===y.DIRECTIVE_DEFINITION}function Oi(r){return r.kind===y.SCALAR_TYPE_DEFINITION||r.kind===y.OBJECT_TYPE_DEFINITION||r.kind===y.INTERFACE_TYPE_DEFINITION||r.kind===y.UNION_TYPE_DEFINITION||r.kind===y.ENUM_TYPE_DEFINITION||r.kind===y.INPUT_OBJECT_TYPE_DEFINITION}function Qv(r){return r.kind===y.SCHEMA_EXTENSION||ta(r)}function ta(r){return r.kind===y.SCALAR_TYPE_EXTENSION||r.kind===y.OBJECT_TYPE_EXTENSION||r.kind===y.INTERFACE_TYPE_EXTENSION||r.kind===y.UNION_TYPE_EXTENSION||r.kind===y.ENUM_TYPE_EXTENSION||r.kind===y.INPUT_OBJECT_TYPE_EXTENSION}function zv(r){return{Document(n){for(const t of n.definitions)if(!Yv(t)){const s=t.kind===y.SCHEMA_DEFINITION||t.kind===y.SCHEMA_EXTENSION?"schema":'"'+t.name.value+'"';r.reportError(new L(`The ${s} definition is not executable.`,{nodes:t}))}return!1}}}function Hv(r){return{Field(n){const t=r.getParentType();if(t&&!r.getFieldDef()){const o=r.getSchema(),u=n.name.value;let l=Ht("to use an inline fragment on",Jv(o,t,u));l===""&&(l=Ht(Xv(t,u))),r.reportError(new L(`Cannot query field "${u}" on type "${t.name}".`+l,{nodes:n}))}}}}function Jv(r,n,t){if(!fr(n))return[];const s=new Set,o=Object.create(null);for(const l of r.getPossibleTypes(n))if(l.getFields()[t]){s.add(l),o[l.name]=1;for(const f of l.getInterfaces()){var u;f.getFields()[t]&&(s.add(f),o[f.name]=((u=o[f.name])!==null&&u!==void 0?u:0)+1)}}return[...s].sort((l,f)=>{const p=o[f.name]-o[l.name];return p!==0?p:Ve(l)&&r.isSubType(l,f)?-1:Ve(f)&&r.isSubType(f,l)?1:Xu(l.name,f.name)}).map(l=>l.name)}function Xv(r,n){if(Ye(r)||Ve(r)){const t=Object.keys(r.getFields());return Dr(n,t)}return[]}function Zv(r){return{InlineFragment(n){const t=n.typeCondition;if(t){const s=ft(r.getSchema(),t);if(s&&!Ai(s)){const o=Je(t);r.reportError(new L(`Fragment cannot condition on non composite type "${o}".`,{nodes:t}))}}},FragmentDefinition(n){const t=ft(r.getSchema(),n.typeCondition);if(t&&!Ai(t)){const s=Je(n.typeCondition);r.reportError(new L(`Fragment "${n.name.value}" cannot condition on non composite type "${s}".`,{nodes:n.typeCondition}))}}}}function Kv(r){return{...Op(r),Argument(n){const t=r.getArgument(),s=r.getFieldDef(),o=r.getParentType();if(!t&&s&&o){const u=n.name.value,l=s.args.map(p=>p.name),f=Dr(u,l);r.reportError(new L(`Unknown argument "${u}" on field "${o.name}.${s.name}".`+Ht(f),{nodes:n}))}}}}function Op(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():Ur;for(const l of s)n[l.name]=l.args.map(f=>f.name);const o=r.getDocument().definitions;for(const l of o)if(l.kind===y.DIRECTIVE_DEFINITION){var u;const f=(u=l.arguments)!==null&&u!==void 0?u:[];n[l.name.value]=f.map(p=>p.name.value)}return{Directive(l){const f=l.name.value,p=n[f];if(l.arguments&&p)for(const m of l.arguments){const E=m.name.value;if(!p.includes(E)){const _=Dr(E,p);r.reportError(new L(`Unknown argument "${E}" on directive "@${f}".`+Ht(_),{nodes:m}))}}return!1}}}function kp(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():Ur;for(const u of s)n[u.name]=u.locations;const o=r.getDocument().definitions;for(const u of o)u.kind===y.DIRECTIVE_DEFINITION&&(n[u.name.value]=u.locations.map(l=>l.value));return{Directive(u,l,f,p,m){const E=u.name.value,_=n[E];if(!_){r.reportError(new L(`Unknown directive "@${E}".`,{nodes:u}));return}const k=e1(m);k&&!_.includes(k)&&r.reportError(new L(`Directive "@${E}" may not be used on ${k}.`,{nodes:u}))}}}function e1(r){const n=r[r.length-1];switch("kind"in n||Zn(!1),n.kind){case y.OPERATION_DEFINITION:return n1(n.operation);case y.FIELD:return W.FIELD;case y.FRAGMENT_SPREAD:return W.FRAGMENT_SPREAD;case y.INLINE_FRAGMENT:return W.INLINE_FRAGMENT;case y.FRAGMENT_DEFINITION:return W.FRAGMENT_DEFINITION;case y.VARIABLE_DEFINITION:return W.VARIABLE_DEFINITION;case y.SCHEMA_DEFINITION:case y.SCHEMA_EXTENSION:return W.SCHEMA;case y.SCALAR_TYPE_DEFINITION:case y.SCALAR_TYPE_EXTENSION:return W.SCALAR;case y.OBJECT_TYPE_DEFINITION:case y.OBJECT_TYPE_EXTENSION:return W.OBJECT;case y.FIELD_DEFINITION:return W.FIELD_DEFINITION;case y.INTERFACE_TYPE_DEFINITION:case y.INTERFACE_TYPE_EXTENSION:return W.INTERFACE;case y.UNION_TYPE_DEFINITION:case y.UNION_TYPE_EXTENSION:return W.UNION;case y.ENUM_TYPE_DEFINITION:case y.ENUM_TYPE_EXTENSION:return W.ENUM;case y.ENUM_VALUE_DEFINITION:return W.ENUM_VALUE;case y.INPUT_OBJECT_TYPE_DEFINITION:case y.INPUT_OBJECT_TYPE_EXTENSION:return W.INPUT_OBJECT;case y.INPUT_VALUE_DEFINITION:{const t=r[r.length-3];return"kind"in t||Zn(!1),t.kind===y.INPUT_OBJECT_TYPE_DEFINITION?W.INPUT_FIELD_DEFINITION:W.ARGUMENT_DEFINITION}default:Zn(!1,"Unexpected kind: "+M(n.kind))}}function n1(r){switch(r){case Mn.QUERY:return W.QUERY;case Mn.MUTATION:return W.MUTATION;case Mn.SUBSCRIPTION:return W.SUBSCRIPTION}}function t1(r){return{FragmentSpread(n){const t=n.name.value;r.getFragment(t)||r.reportError(new L(`Unknown fragment "${t}".`,{nodes:n.name}))}}}function Sp(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);for(const u of r.getDocument().definitions)Oi(u)&&(s[u.name.value]=!0);const o=[...Object.keys(t),...Object.keys(s)];return{NamedType(u,l,f,p,m){const E=u.name.value;if(!t[E]&&!s[E]){var _;const k=(_=m[2])!==null&&_!==void 0?_:f,w=k!=null&&r1(k);if(w&&_f.includes(E))return;const I=Dr(E,w?_f.concat(o):o);r.reportError(new L(`Unknown type "${E}".`+Ht(I),{nodes:u}))}}}}const _f=[...Qs,...Hs].map(r=>r.name);function r1(r){return"kind"in r&&(Wv(r)||Qv(r))}function i1(r){let n=0;return{Document(t){n=t.definitions.filter(s=>s.kind===y.OPERATION_DEFINITION).length},OperationDefinition(t){!t.name&&n>1&&r.reportError(new L("This anonymous operation must be the only defined operation.",{nodes:t}))}}}function s1(r){var n,t,s;const o=r.getSchema(),u=(n=(t=(s=o==null?void 0:o.astNode)!==null&&s!==void 0?s:o==null?void 0:o.getQueryType())!==null&&t!==void 0?t:o==null?void 0:o.getMutationType())!==null&&n!==void 0?n:o==null?void 0:o.getSubscriptionType();let l=0;return{SchemaDefinition(f){if(u){r.reportError(new L("Cannot define a new schema within a schema extension.",{nodes:f}));return}l>0&&r.reportError(new L("Must provide only one schema definition.",{nodes:f})),++l}}}const o1=3;function u1(r){function n(t,s=Object.create(null),o=0){if(t.kind===y.FRAGMENT_SPREAD){const u=t.name.value;if(s[u]===!0)return!1;const l=r.getFragment(u);if(!l)return!1;try{return s[u]=!0,n(l,s,o)}finally{s[u]=void 0}}if(t.kind===y.FIELD&&(t.name.value==="fields"||t.name.value==="interfaces"||t.name.value==="possibleTypes"||t.name.value==="inputFields")&&(o++,o>=o1))return!0;if("selectionSet"in t&&t.selectionSet){for(const u of t.selectionSet.selections)if(n(u,s,o))return!0}return!1}return{Field(t){if((t.name.value==="__schema"||t.name.value==="__type")&&n(t))return r.reportError(new L("Maximum introspection depth exceeded",{nodes:[t]})),!1}}}function a1(r){const n=Object.create(null),t=[],s=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(u){return o(u),!1}};function o(u){if(n[u.name.value])return;const l=u.name.value;n[l]=!0;const f=r.getFragmentSpreads(u.selectionSet);if(f.length!==0){s[l]=t.length;for(const p of f){const m=p.name.value,E=s[m];if(t.push(p),E===void 0){const _=r.getFragment(m);_&&o(_)}else{const _=t.slice(E),k=_.slice(0,-1).map(w=>'"'+w.name.value+'"').join(", ");r.reportError(new L(`Cannot spread fragment "${m}" within itself`+(k!==""?` via ${k}.`:"."),{nodes:_}))}t.pop()}s[l]=void 0}}}function l1(r){let n=Object.create(null);return{OperationDefinition:{enter(){n=Object.create(null)},leave(t){const s=r.getRecursiveVariableUsages(t);for(const{node:o}of s){const u=o.name.value;n[u]!==!0&&r.reportError(new L(t.name?`Variable "$${u}" is not defined by operation "${t.name.value}".`:`Variable "$${u}" is not defined.`,{nodes:[o,t]}))}}},VariableDefinition(t){n[t.variable.name.value]=!0}}}function c1(r){const n=[],t=[];return{OperationDefinition(s){return n.push(s),!1},FragmentDefinition(s){return t.push(s),!1},Document:{leave(){const s=Object.create(null);for(const o of n)for(const u of r.getRecursivelyReferencedFragments(o))s[u.name.value]=!0;for(const o of t){const u=o.name.value;s[u]!==!0&&r.reportError(new L(`Fragment "${u}" is never used.`,{nodes:o}))}}}}}function f1(r){let n=[];return{OperationDefinition:{enter(){n=[]},leave(t){const s=Object.create(null),o=r.getRecursiveVariableUsages(t);for(const{node:u}of o)s[u.name.value]=!0;for(const u of n){const l=u.variable.name.value;s[l]!==!0&&r.reportError(new L(t.name?`Variable "$${l}" is never used in operation "${t.name.value}".`:`Variable "$${l}" is never used.`,{nodes:u}))}}},VariableDefinition(t){n.push(t)}}}function ra(r){switch(r.kind){case y.OBJECT:return{...r,fields:p1(r.fields)};case y.LIST:return{...r,values:r.values.map(ra)};case y.INT:case y.FLOAT:case y.STRING:case y.BOOLEAN:case y.NULL:case y.ENUM:case y.VARIABLE:return r}}function p1(r){return r.map(n=>({...n,value:ra(n.value)})).sort((n,t)=>Xu(n.name.value,t.name.value))}function xp(r){return Array.isArray(r)?r.map(([n,t])=>`subfields "${n}" conflict because `+xp(t)).join(" and "):r}function d1(r){const n=new _1,t=new Map;return{SelectionSet(s){const o=h1(r,t,n,r.getParentType(),s);for(const[[u,l],f,p]of o){const m=xp(l);r.reportError(new L(`Fields "${u}" conflict because ${m}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:f.concat(p)}))}}}}function h1(r,n,t,s,o){const u=[],[l,f]=Ms(r,n,s,o);if(m1(r,u,n,t,l),f.length!==0)for(let p=0;p1)for(let f=0;f[u.value,l]));return t.every(u=>{const l=u.value,f=o.get(u.name.value);return f===void 0?!1:Tf(l)===Tf(f)})}function Tf(r){return Je(ra(r))}function Cu(r,n){return _n(r)?_n(n)?Cu(r.ofType,n.ofType):!0:_n(n)?!0:we(r)?we(n)?Cu(r.ofType,n.ofType):!0:we(n)?!0:Br(r)||Br(n)?r!==n:!1}function Ms(r,n,t,s){const o=n.get(s);if(o)return o;const u=Object.create(null),l=Object.create(null);Rp(r,t,s,u,l);const f=[u,Object.keys(l)];return n.set(s,f),f}function Ru(r,n,t){const s=n.get(t.selectionSet);if(s)return s;const o=ft(r.getSchema(),t.typeCondition);return Ms(r,n,o,t.selectionSet)}function Rp(r,n,t,s,o){for(const u of t.selections)switch(u.kind){case y.FIELD:{const l=u.name.value;let f;(Ye(n)||Ve(n))&&(f=n.getFields()[l]);const p=u.alias?u.alias.value:l;s[p]||(s[p]=[]),s[p].push([n,u,f]);break}case y.FRAGMENT_SPREAD:o[u.name.value]=!0;break;case y.INLINE_FRAGMENT:{const l=u.typeCondition,f=l?ft(r.getSchema(),l):n;Rp(r,f,u.selectionSet,s,o);break}}}function D1(r,n,t,s){if(r.length>0)return[[n,r.map(([o])=>o)],[t,...r.map(([,o])=>o).flat()],[s,...r.map(([,,o])=>o).flat()]]}class _1{constructor(){this._data=new Map}has(n,t,s){var o;const[u,l]=nu.name.value));for(const u of s.args)if(!o.has(u.name)&&mp(u)){const l=M(u.type);r.reportError(new L(`Field "${s.name}" argument "${u.name}" of type "${l}" is required, but it was not provided.`,{nodes:n}))}}}}}function Lp(r){var n;const t=Object.create(null),s=r.getSchema(),o=(n=s==null?void 0:s.getDirectives())!==null&&n!==void 0?n:Ur;for(const f of o)t[f.name]=hr(f.args.filter(mp),p=>p.name);const u=r.getDocument().definitions;for(const f of u)if(f.kind===y.DIRECTIVE_DEFINITION){var l;const p=(l=f.arguments)!==null&&l!==void 0?l:[];t[f.name.value]=hr(p.filter(N1),m=>m.name.value)}return{Directive:{leave(f){const p=f.name.value,m=t[p];if(m){var E;const _=(E=f.arguments)!==null&&E!==void 0?E:[],k=new Set(_.map(w=>w.name.value));for(const[w,I]of Object.entries(m))if(!k.has(w)){const $=Zu(I.type)?M(I.type):Je(I.type);r.reportError(new L(`Directive "@${p}" argument "${w}" of type "${$}" is required, but it was not provided.`,{nodes:f}))}}}}}}function N1(r){return r.type.kind===y.NON_NULL_TYPE&&r.defaultValue==null}function I1(r){return{Field(n){const t=r.getType(),s=n.selectionSet;if(t){if(Br(gr(t))){if(s){const o=n.name.value,u=M(t);r.reportError(new L(`Field "${o}" must not have a selection since type "${u}" has no subfields.`,{nodes:s}))}}else if(!s){const o=n.name.value,u=M(t);r.reportError(new L(`Field "${o}" of type "${u}" must have a selection of subfields. Did you mean "${o} { ... }"?`,{nodes:n}))}}}}}function Yt(r,n,t){if(r){if(r.kind===y.VARIABLE){const s=r.name.value;if(t==null||t[s]===void 0)return;const o=t[s];return o===null&&we(n)?void 0:o}if(we(n))return r.kind===y.NULL?void 0:Yt(r,n.ofType,t);if(r.kind===y.NULL)return null;if(_n(n)){const s=n.ofType;if(r.kind===y.LIST){const u=[];for(const l of r.values)if(yf(l,t)){if(we(s))return;u.push(null)}else{const f=Yt(l,s,t);if(f===void 0)return;u.push(f)}return u}const o=Yt(r,s,t);return o===void 0?void 0:[o]}if(Dn(n)){if(r.kind!==y.OBJECT)return;const s=Object.create(null),o=hr(r.fields,u=>u.name.value);for(const u of Object.values(n.getFields())){const l=o[u.name];if(!l||yf(l.value,t)){if(u.defaultValue!==void 0)s[u.name]=u.defaultValue;else if(we(u.type))return;continue}const f=Yt(l.value,u.type,t);if(f===void 0)return;s[u.name]=f}if(n.isOneOf){const u=Object.keys(s);if(u.length!==1||s[u[0]]===null)return}return s}if(Br(n)){let s;try{s=n.parseLiteral(r,t)}catch{return}return s===void 0?void 0:s}Zn(!1,"Unexpected input type: "+M(n))}}function yf(r,n){return r.kind===y.VARIABLE&&(n==null||n[r.name.value]===void 0)}function O1(r,n,t){var s;const o={},u=(s=n.arguments)!==null&&s!==void 0?s:[],l=hr(u,f=>f.name.value);for(const f of r.args){const p=f.name,m=f.type,E=l[p];if(!E){if(f.defaultValue!==void 0)o[p]=f.defaultValue;else if(we(m))throw new L(`Argument "${p}" of required type "${M(m)}" was not provided.`,{nodes:n});continue}const _=E.value;let k=_.kind===y.NULL;if(_.kind===y.VARIABLE){const I=_.name.value;if(t==null||!k1(t,I)){if(f.defaultValue!==void 0)o[p]=f.defaultValue;else if(we(m))throw new L(`Argument "${p}" of required type "${M(m)}" was provided the variable "$${I}" which was not provided a runtime value.`,{nodes:_});continue}k=t[I]==null}if(k&&we(m))throw new L(`Argument "${p}" of non-null type "${M(m)}" must not be null.`,{nodes:_});const w=Yt(_,m,t);if(w===void 0)throw new L(`Argument "${p}" has invalid value ${Je(_)}.`,{nodes:_});o[p]=w}return o}function Fi(r,n,t){var s;const o=(s=n.directives)===null||s===void 0?void 0:s.find(u=>u.name.value===r.name);if(o)return O1(r,o,t)}function k1(r,n){return Object.prototype.hasOwnProperty.call(r,n)}function S1(r,n,t,s,o){const u=new Map;return Lu(r,n,t,s,o,u,new Set),u}function Lu(r,n,t,s,o,u,l){for(const f of o.selections)switch(f.kind){case y.FIELD:{if(!Fu(t,f))continue;const p=x1(f),m=u.get(p);m!==void 0?m.push(f):u.set(p,[f]);break}case y.INLINE_FRAGMENT:{if(!Fu(t,f)||!vf(r,f,s))continue;Lu(r,n,t,s,f.selectionSet,u,l);break}case y.FRAGMENT_SPREAD:{const p=f.name.value;if(l.has(p)||!Fu(t,f))continue;l.add(p);const m=n[p];if(!m||!vf(r,m,s))continue;Lu(r,n,t,s,m.selectionSet,u,l);break}}}function Fu(r,n){const t=Fi(_p,n,r);if((t==null?void 0:t.if)===!0)return!1;const s=Fi(Dp,n,r);return(s==null?void 0:s.if)!==!1}function vf(r,n,t){const s=n.typeCondition;if(!s)return!0;const o=ft(r,s);return o===t?!0:fr(o)?r.isSubType(o,t):!1}function x1(r){return r.alias?r.alias.value:r.name.value}function C1(r){return{OperationDefinition(n){if(n.operation==="subscription"){const t=r.getSchema(),s=t.getSubscriptionType();if(s){const o=n.name?n.name.value:null,u=Object.create(null),l=r.getDocument(),f=Object.create(null);for(const m of l.definitions)m.kind===y.FRAGMENT_DEFINITION&&(f[m.name.value]=m);const p=S1(t,f,u,s,n.selectionSet);if(p.size>1){const _=[...p.values()].slice(1).flat();r.reportError(new L(o!=null?`Subscription "${o}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:_}))}for(const m of p.values())m[0].name.value.startsWith("__")&&r.reportError(new L(o!=null?`Subscription "${o}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:m}))}}}}}function sa(r,n){const t=new Map;for(const s of r){const o=n(s),u=t.get(o);u===void 0?t.set(o,[s]):u.push(s)}return t}function R1(r){return{DirectiveDefinition(s){var o;const u=(o=s.arguments)!==null&&o!==void 0?o:[];return t(`@${s.name.value}`,u)},InterfaceTypeDefinition:n,InterfaceTypeExtension:n,ObjectTypeDefinition:n,ObjectTypeExtension:n};function n(s){var o;const u=s.name.value,l=(o=s.fields)!==null&&o!==void 0?o:[];for(const p of l){var f;const m=p.name.value,E=(f=p.arguments)!==null&&f!==void 0?f:[];t(`${u}.${m}`,E)}return!1}function t(s,o){const u=sa(o,l=>l.name.value);for(const[l,f]of u)f.length>1&&r.reportError(new L(`Argument "${s}(${l}:)" can only be defined once.`,{nodes:f.map(p=>p.name)}));return!1}}function $p(r){return{Field:n,Directive:n};function n(t){var s;const o=(s=t.arguments)!==null&&s!==void 0?s:[],u=sa(o,l=>l.name.value);for(const[l,f]of u)f.length>1&&r.reportError(new L(`There can be only one argument named "${l}".`,{nodes:f.map(p=>p.name)}))}}function L1(r){const n=Object.create(null),t=r.getSchema();return{DirectiveDefinition(s){const o=s.name.value;if(t!=null&&t.getDirective(o)){r.reportError(new L(`Directive "@${o}" already exists in the schema. It cannot be redefined.`,{nodes:s.name}));return}return n[o]?r.reportError(new L(`There can be only one directive named "@${o}".`,{nodes:[n[o],s.name]})):n[o]=s.name,!1}}}function Bp(r){const n=Object.create(null),t=r.getSchema(),s=t?t.getDirectives():Ur;for(const f of s)n[f.name]=!f.isRepeatable;const o=r.getDocument().definitions;for(const f of o)f.kind===y.DIRECTIVE_DEFINITION&&(n[f.name.value]=!f.repeatable);const u=Object.create(null),l=Object.create(null);return{enter(f){if(!("directives"in f)||!f.directives)return;let p;if(f.kind===y.SCHEMA_DEFINITION||f.kind===y.SCHEMA_EXTENSION)p=u;else if(Oi(f)||ta(f)){const m=f.name.value;p=l[m],p===void 0&&(l[m]=p=Object.create(null))}else p=Object.create(null);for(const m of f.directives){const E=m.name.value;n[E]&&(p[E]?r.reportError(new L(`The directive "@${E}" can only be used once at this location.`,{nodes:[p[E],m]})):p[E]=m)}}}}function $1(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);return{EnumTypeDefinition:o,EnumTypeExtension:o};function o(u){var l;const f=u.name.value;s[f]||(s[f]=Object.create(null));const p=(l=u.values)!==null&&l!==void 0?l:[],m=s[f];for(const E of p){const _=E.name.value,k=t[f];Kn(k)&&k.getValue(_)?r.reportError(new L(`Enum value "${f}.${_}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:E.name})):m[_]?r.reportError(new L(`Enum value "${f}.${_}" can only be defined once.`,{nodes:[m[_],E.name]})):m[_]=E.name}return!1}}function B1(r){const n=r.getSchema(),t=n?n.getTypeMap():Object.create(null),s=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(u){var l;const f=u.name.value;s[f]||(s[f]=Object.create(null));const p=(l=u.fields)!==null&&l!==void 0?l:[],m=s[f];for(const E of p){const _=E.name.value;P1(t[f],_)?r.reportError(new L(`Field "${f}.${_}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:E.name})):m[_]?r.reportError(new L(`Field "${f}.${_}" can only be defined once.`,{nodes:[m[_],E.name]})):m[_]=E.name}return!1}}function P1(r,n){return Ye(r)||Ve(r)||Dn(r)?r.getFields()[n]!=null:!1}function M1(r){const n=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(t){const s=t.name.value;return n[s]?r.reportError(new L(`There can be only one fragment named "${s}".`,{nodes:[n[s],t.name]})):n[s]=t.name,!1}}}function Pp(r){const n=[];let t=Object.create(null);return{ObjectValue:{enter(){n.push(t),t=Object.create(null)},leave(){const s=n.pop();s||Zn(!1),t=s}},ObjectField(s){const o=s.name.value;t[o]?r.reportError(new L(`There can be only one input field named "${o}".`,{nodes:[t[o],s.name]})):t[o]=s.name}}}function U1(r){const n=Object.create(null);return{OperationDefinition(t){const s=t.name;return s&&(n[s.value]?r.reportError(new L(`There can be only one operation named "${s.value}".`,{nodes:[n[s.value],s]})):n[s.value]=s),!1},FragmentDefinition:()=>!1}}function G1(r){const n=r.getSchema(),t=Object.create(null),s=n?{query:n.getQueryType(),mutation:n.getMutationType(),subscription:n.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(u){var l;const f=(l=u.operationTypes)!==null&&l!==void 0?l:[];for(const p of f){const m=p.operation,E=t[m];s[m]?r.reportError(new L(`Type for ${m} already defined in the schema. It cannot be redefined.`,{nodes:p})):E?r.reportError(new L(`There can be only one ${m} type in schema.`,{nodes:[E,p]})):t[m]=p}return!1}}function V1(r){const n=Object.create(null),t=r.getSchema();return{ScalarTypeDefinition:s,ObjectTypeDefinition:s,InterfaceTypeDefinition:s,UnionTypeDefinition:s,EnumTypeDefinition:s,InputObjectTypeDefinition:s};function s(o){const u=o.name.value;if(t!=null&&t.getType(u)){r.reportError(new L(`Type "${u}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:o.name}));return}return n[u]?r.reportError(new L(`There can be only one type named "${u}".`,{nodes:[n[u],o.name]})):n[u]=o.name,!1}}function j1(r){return{OperationDefinition(n){var t;const s=(t=n.variableDefinitions)!==null&&t!==void 0?t:[],o=sa(s,u=>u.variable.name.value);for(const[u,l]of o)l.length>1&&r.reportError(new L(`There can be only one variable named "$${u}".`,{nodes:l.map(f=>f.variable.name)}))}}}function q1(r){let n={};return{OperationDefinition:{enter(){n={}}},VariableDefinition(t){n[t.variable.name.value]=t},ListValue(t){const s=Rv(r.getParentInputType());if(!_n(s))return lr(r,t),!1},ObjectValue(t){const s=gr(r.getInputType());if(!Dn(s))return lr(r,t),!1;const o=hr(t.fields,u=>u.name.value);for(const u of Object.values(s.getFields()))if(!o[u.name]&&Bv(u)){const f=M(u.type);r.reportError(new L(`Field "${s.name}.${u.name}" of required type "${f}" was not provided.`,{nodes:t}))}s.isOneOf&&Y1(r,t,s,o,n)},ObjectField(t){const s=gr(r.getParentInputType());if(!r.getInputType()&&Dn(s)){const u=Dr(t.name.value,Object.keys(s.getFields()));r.reportError(new L(`Field "${t.name.value}" is not defined by type "${s.name}".`+Ht(u),{nodes:t}))}},NullValue(t){const s=r.getInputType();we(s)&&r.reportError(new L(`Expected value of type "${M(s)}", found ${Je(t)}.`,{nodes:t}))},EnumValue:t=>lr(r,t),IntValue:t=>lr(r,t),FloatValue:t=>lr(r,t),StringValue:t=>lr(r,t),BooleanValue:t=>lr(r,t)}}function lr(r,n){const t=r.getInputType();if(!t)return;const s=gr(t);if(!Br(s)){const o=M(t);r.reportError(new L(`Expected value of type "${o}", found ${Je(n)}.`,{nodes:n}));return}try{if(s.parseLiteral(n,void 0)===void 0){const u=M(t);r.reportError(new L(`Expected value of type "${u}", found ${Je(n)}.`,{nodes:n}))}}catch(o){const u=M(t);o instanceof L?r.reportError(o):r.reportError(new L(`Expected value of type "${u}", found ${Je(n)}; `+o.message,{nodes:n,originalError:o}))}}function Y1(r,n,t,s,o){var u;const l=Object.keys(s);if(l.length!==1){r.reportError(new L(`OneOf Input Object "${t.name}" must specify exactly one key.`,{nodes:[n]}));return}const p=(u=s[l[0]])===null||u===void 0?void 0:u.value,m=!p||p.kind===y.NULL,E=(p==null?void 0:p.kind)===y.VARIABLE;if(m){r.reportError(new L(`Field "${t.name}.${l[0]}" must be non-null.`,{nodes:[n]}));return}if(E){const _=p.name.value;o[_].type.kind!==y.NON_NULL_TYPE&&r.reportError(new L(`Variable "${_}" must be non-nullable to be used for OneOf Input Object "${t.name}".`,{nodes:[n]}))}}function W1(r){return{VariableDefinition(n){const t=ft(r.getSchema(),n.type);if(t!==void 0&&!Ku(t)){const s=n.variable.name.value,o=Je(n.type);r.reportError(new L(`Variable "$${s}" cannot be non-input type "${o}".`,{nodes:n.type}))}}}}function Q1(r){let n=Object.create(null);return{OperationDefinition:{enter(){n=Object.create(null)},leave(t){const s=r.getRecursiveVariableUsages(t);for(const{node:o,type:u,defaultValue:l}of s){const f=o.name.value,p=n[f];if(p&&u){const m=r.getSchema(),E=ft(m,p.type);if(E&&!z1(m,E,p.defaultValue,u,l)){const _=M(E),k=M(u);r.reportError(new L(`Variable "$${f}" of type "${_}" used in position expecting type "${k}".`,{nodes:[p,o]}))}}}}},VariableDefinition(t){n[t.variable.name.value]=t}}}function z1(r,n,t,s,o){if(we(s)&&!we(n)){if(!(t!=null&&t.kind!==y.NULL)&&!(o!==void 0))return!1;const f=s.ofType;return Di(r,n,f)}return Di(r,n,s)}const H1=Object.freeze([u1]);Object.freeze([zv,U1,i1,C1,Sp,Zv,W1,I1,Hv,M1,t1,c1,T1,a1,j1,l1,f1,kp,Bp,Kv,$p,q1,b1,Q1,d1,Pp,...H1]);const J1=Object.freeze([s1,G1,V1,$1,B1,R1,L1,Sp,kp,Bp,v1,Op,$p,Pp,Lp]);class X1{constructor(n,t){this._ast=n,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(n){this._onError(n)}getDocument(){return this._ast}getFragment(n){let t;if(this._fragments)t=this._fragments;else{t=Object.create(null);for(const s of this.getDocument().definitions)s.kind===y.FRAGMENT_DEFINITION&&(t[s.name.value]=s);this._fragments=t}return t[n]}getFragmentSpreads(n){let t=this._fragmentSpreads.get(n);if(!t){t=[];const s=[n];let o;for(;o=s.pop();)for(const u of o.selections)u.kind===y.FRAGMENT_SPREAD?t.push(u):u.selectionSet&&s.push(u.selectionSet);this._fragmentSpreads.set(n,t)}return t}getRecursivelyReferencedFragments(n){let t=this._recursivelyReferencedFragments.get(n);if(!t){t=[];const s=Object.create(null),o=[n.selectionSet];let u;for(;u=o.pop();)for(const l of this.getFragmentSpreads(u)){const f=l.name.value;if(s[f]!==!0){s[f]=!0;const p=this.getFragment(f);p&&(t.push(p),o.push(p.selectionSet))}}this._recursivelyReferencedFragments.set(n,t)}return t}}class Z1 extends X1{constructor(n,t,s){super(n,s),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}function K1(r,n,t=J1){const s=[],o=new Z1(r,n,l=>{s.push(l)}),u=t.map(l=>l(o));return sp(r,Nv(u)),s}function eA(r){const n=K1(r);if(n.length!==0)throw new Error(n.map(t=>t.message).join(` + +`))}function nA(r,n){kt(r)&&kt(r.__schema)||fe(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${M(r)}.`);const t=r.__schema,s=cr(t.types,C=>C.name,C=>k(C));for(const C of[...Qs,...Hs])s[C.name]&&(s[C.name]=C);const o=t.queryType?E(t.queryType):null,u=t.mutationType?E(t.mutationType):null,l=t.subscriptionType?E(t.subscriptionType):null,f=t.directives?t.directives.map(dt):[];return new Ip({description:t.description,query:o,mutation:u,subscription:l,types:Object.values(s),directives:f,assumeValid:void 0});function p(C){if(C.kind===Ae.LIST){const X=C.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");return new cn(p(X))}if(C.kind===Ae.NON_NULL){const X=C.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");const on=p(X);return new ie(Cv(on))}return m(C)}function m(C){const X=C.name;if(!X)throw new Error(`Unknown type reference: ${M(C)}.`);const on=s[X];if(!on)throw new Error(`Invalid or incomplete schema, unknown type: ${X}. Ensure that a full introspection query is used in order to build a client schema.`);return on}function E(C){return Sv(m(C))}function _(C){return xv(m(C))}function k(C){if(C!=null&&C.name!=null&&C.kind!=null)switch(C.kind){case Ae.SCALAR:return w(C);case Ae.OBJECT:return $(C);case Ae.INTERFACE:return Y(C);case Ae.UNION:return ce(C);case Ae.ENUM:return be(C);case Ae.INPUT_OBJECT:return Ee(C)}const X=M(C);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${X}.`)}function w(C){return new St({name:C.name,description:C.description,specifiedByURL:C.specifiedByURL})}function I(C){if(C.interfaces===null&&C.kind===Ae.INTERFACE)return[];if(!C.interfaces){const X=M(C);throw new Error(`Introspection result missing interfaces: ${X}.`)}return C.interfaces.map(_)}function $(C){return new ct({name:C.name,description:C.description,interfaces:()=>I(C),fields:()=>Ce(C)})}function Y(C){return new Rs({name:C.name,description:C.description,interfaces:()=>I(C),fields:()=>Ce(C)})}function ce(C){if(!C.possibleTypes){const X=M(C);throw new Error(`Introspection result missing possibleTypes: ${X}.`)}return new Ls({name:C.name,description:C.description,types:()=>C.possibleTypes.map(E)})}function be(C){if(!C.enumValues){const X=M(C);throw new Error(`Introspection result missing enumValues: ${X}.`)}return new Pr({name:C.name,description:C.description,values:cr(C.enumValues,X=>X.name,X=>({description:X.description,deprecationReason:X.deprecationReason}))})}function Ee(C){if(!C.inputFields){const X=M(C);throw new Error(`Introspection result missing inputFields: ${X}.`)}return new $s({name:C.name,description:C.description,fields:()=>pn(C.inputFields),isOneOf:C.isOneOf})}function Ce(C){if(!C.fields)throw new Error(`Introspection result missing fields: ${M(C)}.`);return cr(C.fields,X=>X.name,Be)}function Be(C){const X=p(C.type);if(!up(X)){const on=M(X);throw new Error(`Introspection must provide output type for fields, but received: ${on}.`)}if(!C.args){const on=M(C);throw new Error(`Introspection result missing field args: ${on}.`)}return{description:C.description,deprecationReason:C.deprecationReason,type:X,args:pn(C.args)}}function pn(C){return cr(C,X=>X.name,en)}function en(C){const X=p(C.type);if(!Ku(X)){const Rt=M(X);throw new Error(`Introspection must provide input type for arguments, but received: ${Rt}.`)}const on=C.defaultValue!=null?Yt(_v(C.defaultValue),X):void 0;return{description:C.description,type:X,defaultValue:on,deprecationReason:C.deprecationReason}}function dt(C){if(!C.args){const X=M(C);throw new Error(`Introspection result missing directive args: ${X}.`)}if(!C.locations){const X=M(C);throw new Error(`Introspection result missing directive locations: ${X}.`)}return new xt({name:C.name,description:C.description,isRepeatable:C.isRepeatable,locations:C.locations.slice(),args:pn(C.args)})}}function tA(r,n,t){var s,o,u,l;const f=[],p=Object.create(null),m=[];let E;const _=[];for(const b of n.definitions)if(b.kind===y.SCHEMA_DEFINITION)E=b;else if(b.kind===y.SCHEMA_EXTENSION)_.push(b);else if(Oi(b))f.push(b);else if(ta(b)){const V=b.name.value,P=p[V];p[V]=P?P.concat([b]):[b]}else b.kind===y.DIRECTIVE_DEFINITION&&m.push(b);if(Object.keys(p).length===0&&f.length===0&&m.length===0&&_.length===0&&E==null)return r;const k=Object.create(null);for(const b of r.types)k[b.name]=be(b);for(const b of f){var w;const V=b.name.value;k[V]=(w=Af[V])!==null&&w!==void 0?w:On(b)}const I={query:r.query&&Y(r.query),mutation:r.mutation&&Y(r.mutation),subscription:r.subscription&&Y(r.subscription),...E&&on([E]),...on(_)};return{description:(s=E)===null||s===void 0||(o=s.description)===null||o===void 0?void 0:o.value,...I,types:Object.values(k),directives:[...r.directives.map(ce),...m.map(ki)],extensions:Object.create(null),astNode:(u=E)!==null&&u!==void 0?u:r.astNode,extensionASTNodes:r.extensionASTNodes.concat(_),assumeValid:(l=t==null?void 0:t.assumeValid)!==null&&l!==void 0?l:!1};function $(b){return _n(b)?new cn($(b.ofType)):we(b)?new ie($(b.ofType)):Y(b)}function Y(b){return k[b.name]}function ce(b){const V=b.toConfig();return new xt({...V,args:wt(V.args,X)})}function be(b){if(qv(b)||Uv(b))return b;if(Jt(b))return Be(b);if(Ye(b))return pn(b);if(Ve(b))return en(b);if(Un(b))return dt(b);if(Kn(b))return Ce(b);if(Dn(b))return Ee(b);Zn(!1,"Unexpected type: "+M(b))}function Ee(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];return new $s({...P,fields:()=>({...wt(P.fields,de=>({...de,type:$(de.type)})),...Zt(U)}),extensionASTNodes:P.extensionASTNodes.concat(U)})}function Ce(b){var V;const P=b.toConfig(),U=(V=p[b.name])!==null&&V!==void 0?V:[];return new Pr({...P,values:{...P.values,...ht(U)},extensionASTNodes:P.extensionASTNodes.concat(U)})}function Be(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];let de=P.specifiedByURL;for(const he of U){var Pe;de=(Pe=Ff(he))!==null&&Pe!==void 0?Pe:de}return new St({...P,specifiedByURL:de,extensionASTNodes:P.extensionASTNodes.concat(U)})}function pn(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];return new ct({...P,interfaces:()=>[...b.getInterfaces().map(Y),...Tr(U)],fields:()=>({...wt(P.fields,C),..._r(U)}),extensionASTNodes:P.extensionASTNodes.concat(U)})}function en(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];return new Rs({...P,interfaces:()=>[...b.getInterfaces().map(Y),...Tr(U)],fields:()=>({...wt(P.fields,C),..._r(U)}),extensionASTNodes:P.extensionASTNodes.concat(U)})}function dt(b){var V;const P=b.toConfig(),U=(V=p[P.name])!==null&&V!==void 0?V:[];return new Ls({...P,types:()=>[...b.getTypes().map(Y),...Kt(U)],extensionASTNodes:P.extensionASTNodes.concat(U)})}function C(b){return{...b,type:$(b.type),args:b.args&&wt(b.args,X)}}function X(b){return{...b,type:$(b.type)}}function on(b){const V={};for(const U of b){var P;const de=(P=U.operationTypes)!==null&&P!==void 0?P:[];for(const Pe of de)V[Pe.operation]=Rt(Pe.type)}return V}function Rt(b){var V;const P=b.name.value,U=(V=Af[P])!==null&&V!==void 0?V:k[P];if(U===void 0)throw new Error(`Unknown type: "${P}".`);return U}function Xt(b){return b.kind===y.LIST_TYPE?new cn(Xt(b.type)):b.kind===y.NON_NULL_TYPE?new ie(Xt(b.type)):Rt(b)}function ki(b){var V;return new xt({name:b.name.value,description:(V=b.description)===null||V===void 0?void 0:V.value,locations:b.locations.map(({value:P})=>P),isRepeatable:b.repeatable,args:Si(b.arguments),astNode:b})}function _r(b){const V=Object.create(null);for(const de of b){var P;const Pe=(P=de.fields)!==null&&P!==void 0?P:[];for(const he of Pe){var U;V[he.name.value]={type:Xt(he.type),description:(U=he.description)===null||U===void 0?void 0:U.value,args:Si(he.arguments),deprecationReason:Ns(he),astNode:he}}}return V}function Si(b){const V=b??[],P=Object.create(null);for(const de of V){var U;const Pe=Xt(de.type);P[de.name.value]={type:Pe,description:(U=de.description)===null||U===void 0?void 0:U.value,defaultValue:Yt(de.defaultValue,Pe),deprecationReason:Ns(de),astNode:de}}return P}function Zt(b){const V=Object.create(null);for(const de of b){var P;const Pe=(P=de.fields)!==null&&P!==void 0?P:[];for(const he of Pe){var U;const kn=Xt(he.type);V[he.name.value]={type:kn,description:(U=he.description)===null||U===void 0?void 0:U.value,defaultValue:Yt(he.defaultValue,kn),deprecationReason:Ns(he),astNode:he}}}return V}function ht(b){const V=Object.create(null);for(const de of b){var P;const Pe=(P=de.values)!==null&&P!==void 0?P:[];for(const he of Pe){var U;V[he.name.value]={description:(U=he.description)===null||U===void 0?void 0:U.value,deprecationReason:Ns(he),astNode:he}}}return V}function Tr(b){return b.flatMap(V=>{var P,U;return(P=(U=V.interfaces)===null||U===void 0?void 0:U.map(Rt))!==null&&P!==void 0?P:[]})}function Kt(b){return b.flatMap(V=>{var P,U;return(P=(U=V.types)===null||U===void 0?void 0:U.map(Rt))!==null&&P!==void 0?P:[]})}function On(b){var V;const P=b.name.value,U=(V=p[P])!==null&&V!==void 0?V:[];switch(b.kind){case y.OBJECT_TYPE_DEFINITION:{var de;const nn=[b,...U];return new ct({name:P,description:(de=b.description)===null||de===void 0?void 0:de.value,interfaces:()=>Tr(nn),fields:()=>_r(nn),astNode:b,extensionASTNodes:U})}case y.INTERFACE_TYPE_DEFINITION:{var Pe;const nn=[b,...U];return new Rs({name:P,description:(Pe=b.description)===null||Pe===void 0?void 0:Pe.value,interfaces:()=>Tr(nn),fields:()=>_r(nn),astNode:b,extensionASTNodes:U})}case y.ENUM_TYPE_DEFINITION:{var he;const nn=[b,...U];return new Pr({name:P,description:(he=b.description)===null||he===void 0?void 0:he.value,values:ht(nn),astNode:b,extensionASTNodes:U})}case y.UNION_TYPE_DEFINITION:{var kn;const nn=[b,...U];return new Ls({name:P,description:(kn=b.description)===null||kn===void 0?void 0:kn.value,types:()=>Kt(nn),astNode:b,extensionASTNodes:U})}case y.SCALAR_TYPE_DEFINITION:{var Gr;return new St({name:P,description:(Gr=b.description)===null||Gr===void 0?void 0:Gr.value,specifiedByURL:Ff(b),astNode:b,extensionASTNodes:U})}case y.INPUT_OBJECT_TYPE_DEFINITION:{var Lt;const nn=[b,...U];return new $s({name:P,description:(Lt=b.description)===null||Lt===void 0?void 0:Lt.value,fields:()=>Zt(nn),astNode:b,extensionASTNodes:U,isOneOf:rA(b)})}}}}const Af=hr([...Qs,...Hs],r=>r.name);function Ns(r){const n=Fi(Tp,r);return n==null?void 0:n.reason}function Ff(r){const n=Fi(yp,r);return n==null?void 0:n.url}function rA(r){return!!Fi(vp,r)}function iA(r,n){r!=null&&r.kind===y.DOCUMENT||fe(!1,"Must provide valid Document AST."),(n==null?void 0:n.assumeValid)!==!0&&(n==null?void 0:n.assumeValidSDL)!==!0&&eA(r);const s=tA({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},r,n);if(s.astNode==null)for(const u of s.types)switch(u.name){case"Query":s.query=u;break;case"Mutation":s.mutation=u;break;case"Subscription":s.subscription=u;break}const o=[...s.directives,...Ur.filter(u=>s.directives.every(l=>l.name!==u.name))];return new Ip({...s,directives:o})}function sA(r,n){const t=Dv(r,{noLocation:void 0,allowLegacyFragmentVariables:void 0});return iA(t,{assumeValidSDL:void 0,assumeValid:void 0})}function oA(r){const n=new Map;return uA(r,t=>{Ye(t)&&aA(t,s=>{const o=$u(s.type);wu(n,o).references.push({kind:Ei.FIELD,parent:t,by:s}),lA(s,l=>{const f=$u(l.type);wu(n,f).references.push({kind:Ei.ARGUMENT,field:s,type:t,by:l})})}),Un(t)&&t.getTypes().forEach(s=>{wu(n,s).references.push({kind:Ei.UNION,by:t})})}),new qy(n)}function uA(r,n){Object.entries(r.getTypeMap()).forEach(([,t])=>{t.name.startsWith("__")||n(t)})}function aA(r,n){Object.entries(r.getFields()).forEach(([,t])=>{n(t)})}function lA(r,n){Object.entries(r.args).forEach(([,t])=>{n(t)})}function wu(r,n){let t=r.get(n.name);return t||(t={references:[]},r.set(n.name,t)),t}function $u(r){return we(r)||_n(r)?$u(r.ofType):r}const wf="",fn=vA(),Bu=js(Vs.DIRECTIVES,[]);var Nf;const cA=Js((Nf=fn.getQueryType())==null?void 0:Nf.getFields());var If;const fA=Js((If=fn.getMutationType())==null?void 0:If.getFields());var Of;const pA=Js((Of=fn.getSubscriptionType())==null?void 0:Of.getFields()),oa=Ot.keyBy(Up(),r=>r.name.toLocaleLowerCase()),dA=Ot.mapValues(oa,r=>{const n=Bu.find(t=>(t==null?void 0:t.name)===r.name||(t==null?void 0:t.name)==="*");return n?n.args.some(t=>t==="*")?r.args:n.args.map(t=>r.args.find(s=>s.name===t)).filter(t=>!!t):[]}),hA=Js(fn.getTypeMap()),gA=oA(fn);function Js(r){return Ot.mapKeys(r||{},(n,t)=>t.toLocaleLowerCase())}function mA(){return Ot.size(fn.getTypeMap())<=10}function EA(){return[bu("Queries",fn.getQueryType()),bu("Mutations",fn.getMutationType()),bu("Subscriptions",fn.getSubscriptionType()),AA(),TA()].filter(r=>!!r)}function bu(r,n){return _A(r,DA(n))}function DA(r){return Ot.sortBy((r==null?void 0:r.getFields())||{},n=>n.name)}function _A(r,n){return n.length===0?null:{type:"menu",title:r,children:n.map(t=>({type:"page",title:t.name,section:r,deprecated:!!t.deprecationReason,href:Ni.joinUrlPaths(qs(),r.toLocaleLowerCase(),t.name)}))}}function TA(){return mA()?null:{type:"menu",title:"Types",children:Ot.sortBy(Ot.map(fn.getTypeMap()),n=>n.name).filter(n=>!n.name.startsWith("__")).map(n=>({type:"page",title:n.name,section:"Types",href:Ni.joinUrlPaths(qs(),"types",n.name)}))}}function PA(){return!!fn.getQueryType()}function MA(r){return cA[r.toLocaleLowerCase()]}function UA(){return!!fn.getMutationType()}function GA(r){return fA[r.toLocaleLowerCase()]}function VA(){return!!fn.getSubscriptionType()}function jA(r){return pA[r.toLocaleLowerCase()]}function qA(r){return hA[r.toLocaleLowerCase()]}function yA(r){return oa[r.toLocaleLowerCase()]}function YA(r){return yA(r.name)!==void 0}function WA(){return Ot.size(oa)>0}function QA(r){return dA[r.name.toLocaleLowerCase()]||[]}function zA(r){if(r)return gA.getFor(r)}function HA(r){return Ot.flatMap(r.getFields(),n=>({field:n,possibleDescriptions:Mp(n,r)}))}function Mp(r,n){return r?r.description?[{description:r.description,from:n}]:Ye(n)?n.getInterfaces().flatMap(t=>Mp(t.getFields()[r.name],t)):[]:[]}function Up(){return Bu.some(r=>(r==null?void 0:r.name)==="*")?fn.getDirectives().filter(r=>!["include","skip","deprecated","specifiedBy"].includes(r.name)):Bu.filter(r=>!!(r!=null&&r.name)).map(({name:r})=>r?fn.getDirective(r):void 0).filter(r=>!!r)}function vA(){return wf.trim().length===0?nA(JSON.parse(JSON.stringify({__schema:{types:[]}}))):sA(wf)}function AA(){const r=Up();return r.length===0?null:{type:"menu",title:"Directives",children:r.map(n=>({type:"page",title:n.name,href:Ni.joinUrlPaths(qs(),"directives",n.name),section:"Directives"}))}}const JA=js(Vs.APP_TITLE,"GraphQL Documentation"),Gp=wA().concat(EA());NA(Gp);const FA=Object.freeze(Gp),XA=bA();function wA(){return js(Vs.PAGES,OA()).filter(n=>!!n).map(n=>jp([],n))}function bA(){const r=IA();if(r)return r.href;throw new Error("No custom pages or query available to use as the root application URL. You need to provide at least one custom page or your schema should contain at least one query/mutation/subscription.")}function NA(r){function n(s,o){for(const u of s){if(u.type==="page"){o(u);continue}u.type==="menu"&&n(u.children,o)}}let t;n(r,s=>{t&&(t.next={title:s.title,section:s.section,href:s.href},s.previous={title:t.title,section:t.section,href:t.href}),t=s})}function IA(){return Vp(()=>!0)}function ZA(r){return Vp(n=>n.href.toLocaleLowerCase()===r.toLocaleLowerCase())}function Vp(r){function n(t){for(const s of t){if(s.type==="page"&&r(s))return s;if(s.type==="menu"){const o=n(s.children);if(o)return o}}return null}return n(FA)}function jp(r,n){if(typeof n.content=="string")return{type:"page",title:n.title,content:n.content,href:Ni.joinUrlPaths(qs(),...r,bf(n.title))};const t=r.concat([bf(n.title)]);return{type:"menu",title:n.title,children:n.content.map(s=>({...jp(t,s),section:n.title}))}}function bf(r){return Ni.generatePathSegment(r,new Rf)}function OA(){return[{title:"Introduction",content:[{title:"Welcome",content:` + # Welcome 🎉 + + [Congratulations!](https://www.youtube.com/watch?v=1Bix44C1EzY) You have successfully created your first Magidoc website. + + Now that you are up and running, you can customize this website even further by providing some configuration inside your [magidoc.mjs ⚙️](https://magidoc.js.org/cli/magidoc-configuration). + If you wish to remove or modify this page, have a look at the *customPages* configuration. + `.split(` +`).map(r=>r.trim()).join(` +`)}]}]}export{Cy as A,mA as B,qA as C,zA as D,Jt as E,Kn as F,Ve as G,Un as H,Ye as I,Dn as J,y as K,HA as L,gr as M,Br as N,$A as O,Us as P,xf as Q,Ei as R,LA as S,Rf as T,De as U,Jn as V,JA as W,Ot as _,UA as a,PA as b,MA as c,VA as d,jA as e,ZA as f,GA as g,XA as h,Sf as i,RA as j,WA as k,yA as l,QA as m,qs as n,YA as o,FA as p,at as q,ap as r,fn as s,_n as t,Ni as u,we as v,BA as w,js as x,Vs as y,fi as z}; diff --git a/public/docs/_app/immutable/chunks/scheduler.BCDW5bg-.js b/public/docs/_app/immutable/chunks/scheduler.6x_t8-M_.js similarity index 93% rename from public/docs/_app/immutable/chunks/scheduler.BCDW5bg-.js rename to public/docs/_app/immutable/chunks/scheduler.6x_t8-M_.js index d3dacd7..39d9af2 100644 --- a/public/docs/_app/immutable/chunks/scheduler.BCDW5bg-.js +++ b/public/docs/_app/immutable/chunks/scheduler.6x_t8-M_.js @@ -1 +1 @@ -var R=Object.defineProperty;var G=(t,e,n)=>e in t?R(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var f=(t,e,n)=>G(t,typeof e!="symbol"?e+"":e,n);function z(){}const ft=t=>t;function F(t,e){for(const n in e)t[n]=e[n];return t}function _t(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function I(t){return t()}function ht(){return Object.create(null)}function U(t){t.forEach(I)}function dt(t){return typeof t=="function"}function mt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function pt(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function yt(t){return Object.keys(t).length===0}function H(t,...e){if(t==null){for(const i of e)i(void 0);return z}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function gt(t){let e;return H(t,n=>e=n)(),e}function bt(t,e,n){t.$$.on_destroy.push(H(e,n))}function xt(t,e,n,i){if(t){const s=L(t,e,n,i);return t[0](s)}}function L(t,e,n,i){return t[1]&&i?F(n.ctx.slice(),t[1](i(e))):n.ctx}function Et(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const l=[],c=Math.max(e.dirty.length,s.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function J(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const r=[];for(let a=0;a0&&e[n[s]].claim_order<=a?s+1:W(1,s,B=>e[n[B]].claim_order,a))-1;i[r]=n[u]+1;const j=u+1;n[j]=r,s=Math.max(j,s)}const l=[],c=[];let o=e.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(l.push(e[r-1]);o>=r;o--)c.push(e[o]);o--}for(;o>=0;o--)c.push(e[o]);l.reverse(),c.sort((r,a)=>r.claim_order-a.claim_order);for(let r=0,a=0;r=l[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function St(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ot(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function A(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const $=["width","height"];function tt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&$.indexOf(i)===-1?t[i]=e[i]:A(t,i,e[i])}function qt(t,e){for(const n in e)A(t,n,e[n])}function et(t,e){Object.keys(e).forEach(n=>{nt(t,n,e[n])})}function nt(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:A(t,e,n)}function Bt(t){return/-/.test(t)?et:tt}function Rt(t){return t.dataset.svelteH}function Gt(t){return Array.from(t.childNodes)}function P(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function S(t,e,n,i,s=!1){P(t);const l=(()=>{for(let c=t.claim_info.last_index;c=0;c--){const o=t[c];if(e(o)){const r=n(o);return r===void 0?t.splice(c,1):t[c]=r,s?r===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function O(t,e,n,i){return S(t,s=>s.nodeName===e,s=>{const l=[];for(let c=0;cs.removeAttribute(c))},()=>i(e))}function zt(t,e,n){return O(t,e,n,v)}function Ft(t,e,n){return O(t,e,n,M)}function it(t,e){return S(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>k(e),!0)}function It(t){return it(t," ")}function C(t,e,n){for(let i=n;i0&&n.push(s);return n}class ct{constructor(e=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=M(n.nodeName):this.e=v(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n{const s=t.$$.callbacks[e];if(s){const l=st(e,n,{cancelable:i});return s.slice().forEach(c=>{c.call(t,l)}),!l.defaultPrevented}return!0}}function ee(t,e){return d().$$.context.set(t,e),e}function ne(t){return d().$$.context.get(t)}function ie(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],D=[];let h=[];const T=[],q=Promise.resolve();let N=!1;function rt(){N||(N=!0,q.then(ot))}function se(){return rt(),q}function lt(t){h.push(t)}function ce(t){T.push(t)}const E=new Set;let _=0;function ot(){if(_!==0)return;const t=y;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),h=e}export{jt as $,ie as A,xt as B,wt as C,Tt as D,Et as E,Xt as F,kt as G,ne as H,D as I,Kt as J,Zt as K,Yt as L,se as M,Q as N,Dt as O,ft as P,lt as Q,st as R,re as S,yt as T,y as U,ht as V,ot as W,x as X,I as Y,m as Z,rt as _,H as a,Ct as a0,te as a1,Ht as a2,Rt as a3,Ft as a4,M as a5,qt as a6,ce as a7,_t as a8,d as a9,gt as aa,St as ab,Ot as ac,ee as ad,Bt as ae,Jt as af,At as ag,Ut as ah,b as ai,$t as aj,pt as ak,Wt as b,Z as c,w as d,X as e,A as f,It as g,Vt as h,dt as i,zt as j,Gt as k,it as l,Lt as m,z as n,v as o,bt as p,F as q,U as r,mt as s,k as t,tt as u,Qt as v,Pt as w,Mt as x,vt as y,Nt as z}; +var R=Object.defineProperty;var G=(t,e,n)=>e in t?R(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var f=(t,e,n)=>G(t,typeof e!="symbol"?e+"":e,n);function z(){}const ft=t=>t;function F(t,e){for(const n in e)t[n]=e[n];return t}function _t(t){return!!t&&(typeof t=="object"||typeof t=="function")&&typeof t.then=="function"}function I(t){return t()}function ht(){return Object.create(null)}function U(t){t.forEach(I)}function dt(t){return typeof t=="function"}function mt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let p;function pt(t,e){return t===e?!0:(p||(p=document.createElement("a")),p.href=e,t===p.href)}function yt(t){return Object.keys(t).length===0}function H(t,...e){if(t==null){for(const i of e)i(void 0);return z}const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function gt(t){let e;return H(t,n=>e=n)(),e}function bt(t,e,n){t.$$.on_destroy.push(H(e,n))}function xt(t,e,n,i){if(t){const s=L(t,e,n,i);return t[0](s)}}function L(t,e,n,i){return t[1]&&i?F(n.ctx.slice(),t[1](i(e))):n.ctx}function Et(t,e,n,i){if(t[2]&&i){const s=t[2](i(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const l=[],c=Math.max(e.dirty.length,s.length);for(let o=0;o32){const e=[],n=t.ctx.length/32;for(let i=0;i>1);n(s)<=i?t=s+1:e=s}return t}function J(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const r=[];for(let a=0;a0&&e[n[s]].claim_order<=a?s+1:W(1,s,B=>e[n[B]].claim_order,a))-1;i[r]=n[u]+1;const j=u+1;n[j]=r,s=Math.max(j,s)}const l=[],c=[];let o=e.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(l.push(e[r-1]);o>=r;o--)c.push(e[o]);o--}for(;o>=0;o--)c.push(e[o]);l.reverse(),c.sort((r,a)=>r.claim_order-a.claim_order);for(let r=0,a=0;r=l[a].claim_order;)a++;const u=at.removeEventListener(e,n,i)}function St(t){return function(e){return e.preventDefault(),t.call(this,e)}}function Ot(t){return function(e){return e.stopPropagation(),t.call(this,e)}}function A(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}const $=["width","height"];function tt(t,e){const n=Object.getOwnPropertyDescriptors(t.__proto__);for(const i in e)e[i]==null?t.removeAttribute(i):i==="style"?t.style.cssText=e[i]:i==="__value"?t.value=t[i]=e[i]:n[i]&&n[i].set&&$.indexOf(i)===-1?t[i]=e[i]:A(t,i,e[i])}function qt(t,e){for(const n in e)A(t,n,e[n])}function et(t,e){Object.keys(e).forEach(n=>{nt(t,n,e[n])})}function nt(t,e,n){const i=e.toLowerCase();i in t?t[i]=typeof t[i]=="boolean"&&n===""?!0:n:e in t?t[e]=typeof t[e]=="boolean"&&n===""?!0:n:A(t,e,n)}function Bt(t){return/-/.test(t)?et:tt}function Rt(t){return t.dataset.svelteH}function Gt(t){return Array.from(t.childNodes)}function P(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function S(t,e,n,i,s=!1){P(t);const l=(()=>{for(let c=t.claim_info.last_index;c=0;c--){const o=t[c];if(e(o)){const r=n(o);return r===void 0?t.splice(c,1):t[c]=r,s?r===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,o}}return i()})();return l.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,l}function O(t,e,n,i){return S(t,s=>s.nodeName===e,s=>{const l=[];for(let c=0;cs.removeAttribute(c))},()=>i(e))}function zt(t,e,n){return O(t,e,n,v)}function Ft(t,e,n){return O(t,e,n,M)}function it(t,e){return S(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>k(e),!0)}function It(t){return it(t," ")}function C(t,e,n){for(let i=n;i0&&n.push(s);return n}class ct{constructor(e=!1){f(this,"is_svg",!1);f(this,"e");f(this,"n");f(this,"t");f(this,"a");this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,n,i=null){this.e||(this.is_svg?this.e=M(n.nodeName):this.e=v(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(e){for(let n=0;n{const s=t.$$.callbacks[e];if(s){const l=st(e,n,{cancelable:i});return s.slice().forEach(c=>{c.call(t,l)}),!l.defaultPrevented}return!0}}function ee(t,e){return d().$$.context.set(t,e),e}function ne(t){return d().$$.context.get(t)}function ie(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const m=[],D=[];let h=[];const T=[],q=Promise.resolve();let N=!1;function rt(){N||(N=!0,q.then(ot))}function se(){return rt(),q}function lt(t){h.push(t)}function ce(t){T.push(t)}const E=new Set;let _=0;function ot(){if(_!==0)return;const t=y;do{try{for(;_t.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),h=e}export{jt as $,Pt as A,kt as B,ne as C,D,xt as E,wt as F,Tt as G,Et as H,Xt as I,Zt as J,Yt as K,Kt as L,se as M,Q as N,Dt as O,lt as P,st as Q,ft as R,ht as S,ot as T,yt as U,re as V,y as W,x as X,I as Y,m as Z,rt as _,H as a,Ct as a0,te as a1,Ht as a2,Rt as a3,M as a4,Ft as a5,qt as a6,ce as a7,_t as a8,d as a9,gt as aa,St as ab,Ot as ac,ee as ad,Bt as ae,Jt as af,At as ag,b as ah,Ut as ai,$t as aj,pt as ak,Lt as b,It as c,w as d,v as e,zt as f,Gt as g,Vt as h,dt as i,it as j,A as k,Z as l,X as m,z as n,Wt as o,bt as p,Mt as q,U as r,mt as s,k as t,vt as u,F as v,Nt as w,ie as x,tt as y,Qt as z}; diff --git a/public/docs/_app/immutable/chunks/stores.BfG0pj9y.js b/public/docs/_app/immutable/chunks/stores.B73czLCw.js similarity index 72% rename from public/docs/_app/immutable/chunks/stores.BfG0pj9y.js rename to public/docs/_app/immutable/chunks/stores.B73czLCw.js index b2e32b2..ab9d6a6 100644 --- a/public/docs/_app/immutable/chunks/stores.BfG0pj9y.js +++ b/public/docs/_app/immutable/chunks/stores.B73czLCw.js @@ -1 +1 @@ -import{s as e}from"./entry.Cnn_Xnsf.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{s as e}from"./entry.DflFlOll.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/public/docs/_app/immutable/entry/app.BFZKextD.js b/public/docs/_app/immutable/entry/app.BFZKextD.js deleted file mode 100644 index 3cd6b7e..0000000 --- a/public/docs/_app/immutable/entry/app.BFZKextD.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.Du3Z0ZRN.js","../chunks/scheduler.BCDW5bg-.js","../chunks/index.C97nKj6a.js","../chunks/pages.BKY_3uMO.js","../chunks/control.r7Ha6DXD.js","../assets/pages.BZ7dBxQt.css","../chunks/ChevronDown.Bdkldgj9.js","../assets/ChevronDown.DFnX4Nf0.css","../chunks/prism-json.CMKj7kFV.js","../chunks/stores.BfG0pj9y.js","../chunks/entry.Cnn_Xnsf.js","../chunks/index.BN18egRc.js","../chunks/Button.Dx_qZ2xb.js","../assets/0.8ee780Dv.css","../nodes/1.BvcExTBE.js","../assets/1.DDNgGNlk.css","../nodes/2.Bw8jJ-LK.js","../chunks/index.DALO_3yS.js","../nodes/3.KZXVXXhG.js","../chunks/PreviousNextPage.DkqDVsQt.js","../assets/PreviousNextPage.vx9XYOn3.css","../nodes/4.n2FoGGWl.js","../chunks/ArgsList.C4wfYkcv.js","../assets/ArgsList.BW_tltZ4.css","../nodes/5.BEeVSuan.js","../chunks/FieldDetails.CPlUAqsp.js","../assets/FieldDetails.DpqSh-Zn.css","../nodes/6.DAQ0xyBY.js","../nodes/7.BWC9boYl.js","../nodes/8.DYDZS3Wb.js","../assets/8.lLT_wvMO.css"])))=>i.map(i=>d[i]); -import{s as N,F as y,d as h,c as v,x as g,b as B,l as U,t as j,f as D,J as p,j as F,k as J,o as K,g as W,m as z,K as G,L as H,M as Q,I as O}from"../chunks/scheduler.BCDW5bg-.js";import{S as X,i as Y,d as R,t as w,a as b,g as A,e as I,b as L,m as P,c as T}from"../chunks/index.C97nKj6a.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},V={},d=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){const _=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),s=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));r=Promise.all(n.map(o=>{if(o=M(o,i),o in V)return;V[o]=!0;const c=o.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(!!i)for(let E=_.length-1;E>=0;E--){const k=_[E];if(k.href===o&&(!c||k.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const u=document.createElement("link");if(u.rel=c?"stylesheet":Z,c||(u.as="script",u.crossOrigin=""),u.href=o,s&&u.setAttribute("nonce",s),document.head.appendChild(u),c)return new Promise((E,k)=>{u.addEventListener("load",E),u.addEventListener("error",()=>k(new Error(`Unable to preload CSS for ${o}`)))})}))}return r.then(()=>e()).catch(_=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=_,window.dispatchEvent(t),!t.defaultPrevented)throw _})},se={};function $(a){let e,n,i;var r=a[1][0];function _(t,s){return{props:{data:t[3],form:t[2]}}}return r&&(e=y(r,_(a)),a[12](e)),{c(){e&&L(e.$$.fragment),n=g()},l(t){e&&T(e.$$.fragment,t),n=g()},m(t,s){e&&P(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){A();const o=e;w(o.$$.fragment,1,0,()=>{R(o,1)}),I()}r?(e=y(r,_(t)),t[12](e),L(e.$$.fragment),b(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[12](null),e&&R(e,t)}}}function x(a){let e,n,i;var r=a[1][0];function _(t,s){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return r&&(e=y(r,_(a)),a[11](e)),{c(){e&&L(e.$$.fragment),n=g()},l(t){e&&T(e.$$.fragment,t),n=g()},m(t,s){e&&P(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){A();const o=e;w(o.$$.fragment,1,0,()=>{R(o,1)}),I()}r?(e=y(r,_(t)),t[11](e),L(e.$$.fragment),b(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&8215&&(o.$$scope={dirty:s,ctx:t}),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[11](null),e&&R(e,t)}}}function ee(a){let e,n,i;var r=a[1][1];function _(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=y(r,_(a)),a[10](e)),{c(){e&&L(e.$$.fragment),n=g()},l(t){e&&T(e.$$.fragment,t),n=g()},m(t,s){e&&P(e,t,s),v(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){A();const o=e;w(o.$$.fragment,1,0,()=>{R(o,1)}),I()}r?(e=y(r,_(t)),t[10](e),L(e.$$.fragment),b(e.$$.fragment,1),P(e,n.parentNode,n)):e=null}else if(r){const o={};s&16&&(o.data=t[4]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&h(n),a[10](null),e&&R(e,t)}}}function S(a){let e,n=a[6]&&q(a);return{c(){e=K("div"),n&&n.c(),this.h()},l(i){e=F(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=J(e);n&&n.l(r),r.forEach(h),this.h()},h(){D(e,"id","svelte-announcer"),D(e,"aria-live","assertive"),D(e,"aria-atomic","true"),p(e,"position","absolute"),p(e,"left","0"),p(e,"top","0"),p(e,"clip","rect(0 0 0 0)"),p(e,"clip-path","inset(50%)"),p(e,"overflow","hidden"),p(e,"white-space","nowrap"),p(e,"width","1px"),p(e,"height","1px")},m(i,r){v(i,e,r),n&&n.m(e,null)},p(i,r){i[6]?n?n.p(i,r):(n=q(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&h(e),n&&n.d()}}}function q(a){let e;return{c(){e=j(a[7])},l(n){e=U(n,a[7])},m(n,i){v(n,e,i)},p(n,i){i&128&&B(e,n[7])},d(n){n&&h(e)}}}function te(a){let e,n,i,r,_;const t=[x,$],s=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=s[e]=t[e](a);let c=a[5]&&S(a);return{c(){n.c(),i=z(),c&&c.c(),r=g()},l(l){n.l(l),i=W(l),c&&c.l(l),r=g()},m(l,m){s[e].m(l,m),v(l,i,m),c&&c.m(l,m),v(l,r,m),_=!0},p(l,[m]){let u=e;e=o(l),e===u?s[e].p(l,m):(A(),w(s[u],1,1,()=>{s[u]=null}),I(),n=s[e],n?n.p(l,m):(n=s[e]=t[e](l),n.c()),b(n,1),n.m(i.parentNode,i)),l[5]?c?c.p(l,m):(c=S(l),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null)},i(l){_||(b(n),_=!0)},o(l){w(n),_=!1},d(l){l&&(h(i),h(r)),s[e].d(l),c&&c.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:r}=e,{constructors:_}=e,{components:t=[]}=e,{form:s}=e,{data_0:o=null}=e,{data_1:c=null}=e;G(i.page.notify);let l=!1,m=!1,u=null;H(()=>{const f=i.page.subscribe(()=>{l&&(n(6,m=!0),Q().then(()=>{n(7,u=document.title||"untitled page")}))});return n(5,l=!0),f});function E(f){O[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function k(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function C(f){O[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return a.$$set=f=>{"stores"in f&&n(8,i=f.stores),"page"in f&&n(9,r=f.page),"constructors"in f&&n(1,_=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,s=f.form),"data_0"in f&&n(3,o=f.data_0),"data_1"in f&&n(4,c=f.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(r)},[t,_,s,o,c,l,m,u,i,r,E,k,C]}class oe extends X{constructor(e){super(),Y(this,e,ne,te,N,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>d(()=>import("../nodes/0.Du3Z0ZRN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>d(()=>import("../nodes/1.BvcExTBE.js"),__vite__mapDeps([14,1,2,9,10,11,4,15]),import.meta.url),()=>d(()=>import("../nodes/2.Bw8jJ-LK.js"),__vite__mapDeps([16,3,1,2,4,5,17]),import.meta.url),()=>d(()=>import("../nodes/3.KZXVXXhG.js"),__vite__mapDeps([18,3,1,2,4,5,17,19,6,7,11,20]),import.meta.url),()=>d(()=>import("../nodes/4.n2FoGGWl.js"),__vite__mapDeps([21,3,1,2,4,5,17,19,6,7,11,20,22,23]),import.meta.url),()=>d(()=>import("../nodes/5.BEeVSuan.js"),__vite__mapDeps([24,3,1,2,4,5,17,19,6,7,11,20,25,22,23,8,12,26]),import.meta.url),()=>d(()=>import("../nodes/6.DAQ0xyBY.js"),__vite__mapDeps([27,3,1,2,4,5,17,19,6,7,11,20,25,22,23,8,12,26]),import.meta.url),()=>d(()=>import("../nodes/7.BWC9boYl.js"),__vite__mapDeps([28,3,1,2,4,5,17,19,6,7,11,20,25,22,23,8,12,26]),import.meta.url),()=>d(()=>import("../nodes/8.DYDZS3Wb.js"),__vite__mapDeps([29,3,1,2,4,5,17,19,6,7,11,20,22,23,12,30]),import.meta.url)],le=[],ce={"/":[2],"/directives/[directive]":[4],"/mutations/[mutation]":[5],"/queries/[query]":[6],"/subscriptions/[subscription]":[7],"/types/[type]":[8],"/[...page]":[3]},fe={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{ce as dictionary,fe as hooks,se as matchers,ae as nodes,oe as root,le as server_loads}; diff --git a/public/docs/_app/immutable/entry/app.DBSjldLM.js b/public/docs/_app/immutable/entry/app.DBSjldLM.js new file mode 100644 index 0000000..145eae3 --- /dev/null +++ b/public/docs/_app/immutable/entry/app.DBSjldLM.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CNUx7FVy.js","../chunks/scheduler.6x_t8-M_.js","../chunks/index.DNIXW-5M.js","../chunks/pages.BSRgrbSV.js","../chunks/control.xy6l2DY8.js","../assets/pages.BZ7dBxQt.css","../chunks/ChevronDown.CeVNLKJZ.js","../assets/ChevronDown.DFnX4Nf0.css","../chunks/prism-json.CMKj7kFV.js","../chunks/stores.B73czLCw.js","../chunks/entry.DflFlOll.js","../chunks/index.DPdU9_CZ.js","../chunks/Button.CQp1b1PP.js","../assets/0.8ee780Dv.css","../nodes/1.5vQTDLmh.js","../assets/1.DDNgGNlk.css","../nodes/2.mqp7dTui.js","../chunks/index.DncFbgmw.js","../nodes/3.Djl8xJCw.js","../chunks/PreviousNextPage.CUJbWA2C.js","../assets/PreviousNextPage.vx9XYOn3.css","../nodes/4.Bbn2Qt0L.js","../chunks/ArgsList.D6zwwkHp.js","../assets/ArgsList.BW_tltZ4.css","../nodes/5.Bx1a2jiD.js","../chunks/FieldDetails.apWU_lm9.js","../assets/FieldDetails.DpqSh-Zn.css","../nodes/6.CqYbSltv.js","../nodes/7.BarHK1cy.js","../nodes/8.DAVJ1NAo.js","../assets/8.lLT_wvMO.css"])))=>i.map(i=>d[i]); +import{s as N,b as B,q as h,c as U,l as k,d as g,J as j,K as J,e as K,f as W,g as z,k as I,L as d,t as F,j as G,o as H,D as O,I as y,M as Q}from"../chunks/scheduler.6x_t8-M_.js";import{S as X,i as Y,b as w,e as A,t as b,g as D,c as R,a as T,m as L,d as P}from"../chunks/index.DNIXW-5M.js";const Z="modulepreload",M=function(a,e){return new URL(a,e).href},V={},p=function(e,n,i){let r=Promise.resolve();if(n&&n.length>0){const u=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),s=(t==null?void 0:t.nonce)||(t==null?void 0:t.getAttribute("nonce"));r=Promise.all(n.map(o=>{if(o=M(o,i),o in V)return;V[o]=!0;const f=o.endsWith(".css"),l=f?'[rel="stylesheet"]':"";if(!!i)for(let E=u.length-1;E>=0;E--){const v=u[E];if(v.href===o&&(!f||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${l}`))return;const _=document.createElement("link");if(_.rel=f?"stylesheet":Z,f||(_.as="script",_.crossOrigin=""),_.href=o,s&&_.setAttribute("nonce",s),document.head.appendChild(_),f)return new Promise((E,v)=>{_.addEventListener("load",E),_.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}return r.then(()=>e()).catch(u=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=u,window.dispatchEvent(t),!t.defaultPrevented)throw u})},se={};function $(a){let e,n,i;var r=a[1][0];function u(t,s){return{props:{data:t[3],form:t[2]}}}return r&&(e=y(r,u(a)),a[12](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),k(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,u(t)),t[12](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[12](null),e&&P(e,t)}}}function x(a){let e,n,i;var r=a[1][0];function u(t,s){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return r&&(e=y(r,u(a)),a[11](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),k(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][0])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,u(t)),t[11](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&8&&(o.data=t[3]),s&8215&&(o.$$scope={dirty:s,ctx:t}),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[11](null),e&&P(e,t)}}}function ee(a){let e,n,i;var r=a[1][1];function u(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=y(r,u(a)),a[10](e)),{c(){e&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),k(t,n,s),i=!0},p(t,s){if(s&2&&r!==(r=t[1][1])){if(e){D();const o=e;w(o.$$.fragment,1,0,()=>{P(o,1)}),A()}r?(e=y(r,u(t)),t[10](e),R(e.$$.fragment),b(e.$$.fragment,1),L(e,n.parentNode,n)):e=null}else if(r){const o={};s&16&&(o.data=t[4]),s&4&&(o.form=t[2]),e.$set(o)}},i(t){i||(e&&b(e.$$.fragment,t),i=!0)},o(t){e&&w(e.$$.fragment,t),i=!1},d(t){t&&g(n),a[10](null),e&&P(e,t)}}}function S(a){let e,n=a[6]&&q(a);return{c(){e=K("div"),n&&n.c(),this.h()},l(i){e=W(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=z(e);n&&n.l(r),r.forEach(g),this.h()},h(){I(e,"id","svelte-announcer"),I(e,"aria-live","assertive"),I(e,"aria-atomic","true"),d(e,"position","absolute"),d(e,"left","0"),d(e,"top","0"),d(e,"clip","rect(0 0 0 0)"),d(e,"clip-path","inset(50%)"),d(e,"overflow","hidden"),d(e,"white-space","nowrap"),d(e,"width","1px"),d(e,"height","1px")},m(i,r){k(i,e,r),n&&n.m(e,null)},p(i,r){i[6]?n?n.p(i,r):(n=q(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function q(a){let e;return{c(){e=F(a[7])},l(n){e=G(n,a[7])},m(n,i){k(n,e,i)},p(n,i){i&128&&H(e,n[7])},d(n){n&&g(e)}}}function te(a){let e,n,i,r,u;const t=[x,$],s=[];function o(l,m){return l[1][1]?0:1}e=o(a),n=s[e]=t[e](a);let f=a[5]&&S(a);return{c(){n.c(),i=B(),f&&f.c(),r=h()},l(l){n.l(l),i=U(l),f&&f.l(l),r=h()},m(l,m){s[e].m(l,m),k(l,i,m),f&&f.m(l,m),k(l,r,m),u=!0},p(l,[m]){let _=e;e=o(l),e===_?s[e].p(l,m):(D(),w(s[_],1,1,()=>{s[_]=null}),A(),n=s[e],n?n.p(l,m):(n=s[e]=t[e](l),n.c()),b(n,1),n.m(i.parentNode,i)),l[5]?f?f.p(l,m):(f=S(l),f.c(),f.m(r.parentNode,r)):f&&(f.d(1),f=null)},i(l){u||(b(n),u=!0)},o(l){w(n),u=!1},d(l){l&&(g(i),g(r)),s[e].d(l),f&&f.d(l)}}}function ne(a,e,n){let{stores:i}=e,{page:r}=e,{constructors:u}=e,{components:t=[]}=e,{form:s}=e,{data_0:o=null}=e,{data_1:f=null}=e;j(i.page.notify);let l=!1,m=!1,_=null;J(()=>{const c=i.page.subscribe(()=>{l&&(n(6,m=!0),Q().then(()=>{n(7,_=document.title||"untitled page")}))});return n(5,l=!0),c});function E(c){O[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function v(c){O[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function C(c){O[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(8,i=c.stores),"page"in c&&n(9,r=c.page),"constructors"in c&&n(1,u=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,s=c.form),"data_0"in c&&n(3,o=c.data_0),"data_1"in c&&n(4,f=c.data_1)},a.$$.update=()=>{a.$$.dirty&768&&i.page.set(r)},[t,u,s,o,f,l,m,_,i,r,E,v,C]}class oe extends X{constructor(e){super(),Y(this,e,ne,te,N,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const ae=[()=>p(()=>import("../nodes/0.CNUx7FVy.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>p(()=>import("../nodes/1.5vQTDLmh.js"),__vite__mapDeps([14,1,2,9,10,11,4,15]),import.meta.url),()=>p(()=>import("../nodes/2.mqp7dTui.js"),__vite__mapDeps([16,3,1,2,4,5,17]),import.meta.url),()=>p(()=>import("../nodes/3.Djl8xJCw.js"),__vite__mapDeps([18,3,1,2,4,5,17,19,6,7,11,20]),import.meta.url),()=>p(()=>import("../nodes/4.Bbn2Qt0L.js"),__vite__mapDeps([21,3,1,2,4,5,17,19,6,7,11,20,22,23]),import.meta.url),()=>p(()=>import("../nodes/5.Bx1a2jiD.js"),__vite__mapDeps([24,3,1,2,4,5,17,19,6,7,11,20,25,22,23,8,12,26]),import.meta.url),()=>p(()=>import("../nodes/6.CqYbSltv.js"),__vite__mapDeps([27,3,1,2,4,5,17,19,6,7,11,20,25,22,23,8,12,26]),import.meta.url),()=>p(()=>import("../nodes/7.BarHK1cy.js"),__vite__mapDeps([28,3,1,2,4,5,17,19,6,7,11,20,25,22,23,8,12,26]),import.meta.url),()=>p(()=>import("../nodes/8.DAVJ1NAo.js"),__vite__mapDeps([29,3,1,2,4,5,17,19,6,7,11,20,22,23,12,30]),import.meta.url)],le=[],fe={"/":[2],"/directives/[directive]":[4],"/mutations/[mutation]":[5],"/queries/[query]":[6],"/subscriptions/[subscription]":[7],"/types/[type]":[8],"/[...page]":[3]},ce={handleError:({error:a})=>{console.error(a)},reroute:()=>{}};export{fe as dictionary,ce as hooks,se as matchers,ae as nodes,oe as root,le as server_loads}; diff --git a/public/docs/_app/immutable/entry/start.BbM6RlFt.js b/public/docs/_app/immutable/entry/start.BbM6RlFt.js new file mode 100644 index 0000000..9e2c59a --- /dev/null +++ b/public/docs/_app/immutable/entry/start.BbM6RlFt.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.DflFlOll.js";export{t as start}; diff --git a/public/docs/_app/immutable/entry/start.cMcmx9dY.js b/public/docs/_app/immutable/entry/start.cMcmx9dY.js deleted file mode 100644 index f37055b..0000000 --- a/public/docs/_app/immutable/entry/start.cMcmx9dY.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.Cnn_Xnsf.js";export{t as start}; diff --git a/public/docs/_app/immutable/nodes/0.CNUx7FVy.js b/public/docs/_app/immutable/nodes/0.CNUx7FVy.js new file mode 100644 index 0000000..fc496c5 --- /dev/null +++ b/public/docs/_app/immutable/nodes/0.CNUx7FVy.js @@ -0,0 +1,16 @@ +import{s as X,v as M,e as V,f as U,y as ve,l as v,n as q,d as g,w as x,a4 as Z,a5 as K,g as y,k as L,a6 as ge,m as N,u as B,t as oe,j as ue,o as me,I as Oe,z as A,A as se,r as We,x as ce,D as Ae,P as lt,E as _e,b as ie,c as re,F as be,G as pe,H as ke,p as Ze,B as Ct,a7 as He,q as Y,a1 as st,af as Bt,K as Tt,aa as er,J as tr,ag as bt,a2 as Le,ah as nr,ai as ir,L as je,ac as rr,aj as fi,h as lr}from"../chunks/scheduler.6x_t8-M_.js";import{S as J,i as Q,c as P,a as W,m as D,g as fe,b as k,d as G,e as de,t as _,f as Pe,h as Ht}from"../chunks/index.DNIXW-5M.js";import{T as zt,U as Pt,x as et,u as Xe,n as $e,y as Je,i as he,j as at,V as sr,F as ar,I as or,G as ur,E as cr,H as fr,J as dr,p as di,s as hr,B as gr,q as ye,_ as pt,W as kt,O as mr}from"../chunks/pages.BSRgrbSV.js";import{C as Ke,L as _r,a as br,P as pr}from"../chunks/ChevronDown.CeVNLKJZ.js";import"../chunks/prism-json.CMKj7kFV.js";import{p as hi}from"../chunks/stores.B73czLCw.js";import{b as kr}from"../chunks/control.xy6l2DY8.js";import{w as tt}from"../chunks/index.DPdU9_CZ.js";import{B as ot}from"../chunks/Button.CQp1b1PP.js";const vr=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global,wr=!0,Sr=!0,dc=Object.freeze(Object.defineProperty({__proto__:null,prerender:wr,ssr:Sr},Symbol.toStringTag,{value:"Module"}));function Er(i){return{name:"container",level:"block",start(e){var t;return(t=e.match(/^:::[^:\n]/))==null?void 0:t.index},tokenizer(e){const n=/^:::[\s]?(?[a-z0-9-]+)(?.*)?\n(?(?:.|\n)*)\n:::(?:\n|$)/i.exec(Ar(e));if(!n||!n.groups)return null;const r=n.groups.type.toLocaleLowerCase(),s=yr(n.groups.options||""),l=n.groups.content||"",a=i({type:r,content:l,raw:n[0],options:s,lexer:this.lexer});return a!=null&&a.tokens&&this.lexer.blockTokens(l,a.tokens),a}}}function Ar(i){if(!i.startsWith(":::"))return;const e=i.split(` +`);let t=1,n=1;for(n=1;n[a-z0-9]+)(?:="(?(?:.*?))")?/i.exec(t);if(!l)break;const a=(n=l==null?void 0:l.groups)==null?void 0:n.name;a&&(e[a]=((r=l==null?void 0:l.groups)==null?void 0:r.value)??!0),t=t.slice(l.index+l[0].length)}return e}const Mr={containerExtension:Er};let gi=new zt,mi=[];const Rr=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Or(i){return i.replace(Rr,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}function Ir({prefix:i="",globalSlugs:e=!1}={}){return{headerIds:!1,hooks:{preprocess(t){return e||Nr(),t}},useNewRenderer:!0,renderer:{heading({tokens:t,depth:n}){const r=this.parser.parseInline(t),s=Or(this.parser.parseInline(t,this.parser.textRenderer)).toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,""),l=n,a=`${i}${gi.slug(s)}`,o={level:l,text:r,id:a};return mi.push(o),`${r} +`}}}}function Nr(){mi=[],gi=new zt}const Cr=["error","success","info","warning"];function Tr({options:i,raw:e}){var r,s,l;const t=((l=(s=(r=i.type)==null?void 0:r.toString())==null?void 0:s.toLocaleLowerCase())==null?void 0:l.trim())??"info",n=Cr.some(a=>a===t)?t:"info";return{type:"notification",raw:e,style:n,tokens:[]}}function zr({lexer:i,content:e,raw:t}){const n=e.split(` +`),r=n.map((l,a)=>l.startsWith("---")?a:-1).filter(l=>l!==-1);if(r.length===0)return null;const s=r.map((l,a)=>{const o=n[l].replace("---","").trim(),u=n.slice(l+1,r[a+1]??n.length).join(` +`),f=[];return i.blockTokens(u,f),{title:o,raw:u,tokens:f}});return{type:"tabs",raw:t,tabs:s}}const Lr=["red","magenta","purple","blue","cyan","teal","green","gray","cool-gray","warm-gray","high-contrast","outline"];function Fr({options:i,raw:e,content:t}){const r=(i.colors??i.color??"outline").toString().toLocaleLowerCase().split(",").map(s=>s.trim().toLocaleLowerCase()).filter(s=>Lr.some(l=>s===l));return{type:"tags",raw:e,tags:t.split(",").map(s=>({name:s})),colors:r.length===0?["outline"]:r}}function _i(){Pt.use(Ir()),Pt.use({gfm:!0,breaks:!1,silent:!1,extensions:[Mr.containerExtension(i=>{switch(i.type){case"notification":return Tr(i);case"tags":return Fr(i);case"tabs":return zr(i);default:return null}})]})}(function(i){var e=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");i.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return e}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var e=i.languages.extend("typescript",{});delete e["class-name"],i.languages.typescript["class-name"].inside=e,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),i.languages.ts=i.languages.typescript})(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var t="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+t+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+t),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+t),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby})(Prism);(function(i){var e=/[*&][^\s[\]{},]+/,t=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+t.source+"(?:[ ]+"+e.source+")?|"+e.source+"(?:[ ]+"+t.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(a,o){o=(o||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return a});return RegExp(u,o)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return"(?:"+r+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:e,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(Prism);(function(i){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",t={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:t,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:t}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},t.inside=i.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=n.variable[1].inside,l=0;l>/g,function(Ie,Ge){return"(?:"+Ee[+Ge]+")"})}function t(Se,Ee,Ie){return RegExp(e(Se,Ee),"")}function n(Se,Ee){for(var Ie=0;Ie>/g,function(){return"(?:"+Se+")"});return Se.replace(/<>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(Se){return"\\b(?:"+Se.trim().replace(/ /g,"|")+")\\b"}var l=s(r.typeDeclaration),a=RegExp(s(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),o=s(r.typeDeclaration+" "+r.contextual+" "+r.other),u=s(r.type+" "+r.typeDeclaration+" "+r.other),f=n(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),c=n(/\((?:[^()]|<>)*\)/.source,2),d=/@?\b[A-Za-z_]\w*\b/.source,h=e(/<<0>>(?:\s*<<1>>)?/.source,[d,f]),m=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[o,h]),w=/\[\s*(?:,\s*)*\]/.source,O=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,w]),C=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,c,w]),p=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[C]),E=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[p,m,w]),I={keyword:a,punctuation:/[<>()?,.:[\]]/},b=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,F=/"(?:\\.|[^\\"\r\n])*"/.source,$=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:t(/(^|[^$\\])<<0>>/.source,[$]),lookbehind:!0,greedy:!0},{pattern:t(/(^|[^@$\\])<<0>>/.source,[F]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:t(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:I},{pattern:t(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[d,E]),lookbehind:!0,inside:I},{pattern:t(/(\busing\s+)<<0>>(?=\s*=)/.source,[d]),lookbehind:!0},{pattern:t(/(\b<<0>>\s+)<<1>>/.source,[l,h]),lookbehind:!0,inside:I},{pattern:t(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:I},{pattern:t(/(\bwhere\s+)<<0>>/.source,[d]),lookbehind:!0},{pattern:t(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[O]),lookbehind:!0,inside:I},{pattern:t(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,u,d]),inside:I}],keyword:a,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:t(/([(,]\s*)<<0>>(?=\s*:)/.source,[d]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:t(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[d]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:t(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[c]),lookbehind:!0,alias:"class-name",inside:I},"return-type":{pattern:t(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,m]),inside:I,alias:"class-name"},"constructor-invocation":{pattern:t(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:I,alias:"class-name"},"generic-method":{pattern:t(/<<0>>\s*<<1>>(?=\s*\()/.source,[d,f]),inside:{function:t(/^<<0>>/.source,[d]),generic:{pattern:RegExp(f),alias:"class-name",inside:I}}},"type-list":{pattern:t(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,h,d,E,a.source,c,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:t(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,c]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:a,"class-name":{pattern:RegExp(E),greedy:!0,inside:I},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var R=F+"|"+b,ee=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[R]),S=n(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[ee]),2),j=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ae=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,S]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:t(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[j,ae]),lookbehind:!0,greedy:!0,inside:{target:{pattern:t(/^<<0>>(?=\s*:)/.source,[j]),alias:"keyword"},"attribute-arguments":{pattern:t(/\(<<0>>*\)/.source,[S]),inside:i.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var we=/:[^}\r\n]+/.source,le=n(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[ee]),2),Me=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[le,we]),Re=n(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[R]),2),T=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Re,we]);function te(Se,Ee){return{interpolation:{pattern:t(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Se]),lookbehind:!0,inside:{"format-string":{pattern:t(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Ee,we]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:t(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Me]),lookbehind:!0,greedy:!0,inside:te(Me,le)},{pattern:t(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[T]),lookbehind:!0,greedy:!0,inside:te(T,Re)}],char:{pattern:RegExp(b),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp})(Prism);(function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var e={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:e},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:e},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin})(Prism);(function(i){var e=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,t=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+t+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:e,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+t+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+t+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return e.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);(function(i){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function t(f){return f=f.replace(//g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+s+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+s+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:t(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:t(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(f){["url","bold","italic","strike","code-snippet"].forEach(function(c){f!==c&&(i.languages.markdown[f].inside.content.inside[c]=i.languages.markdown[c])})}),i.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function c(d){if(!(!d||typeof d=="string"))for(var h=0,m=d.length;h",quot:'"'},o=String.fromCodePoint||String.fromCharCode;function u(f){var c=f.replace(l,"");return c=c.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(d,h){if(h=h.toLowerCase(),h[0]==="#"){var m;return h[1]==="x"?m=parseInt(h.slice(2),16):m=Number(h.slice(1)),o(m)}else{var w=a[h];return w||d}}),c}i.languages.md=i.languages.markdown})(Prism);const Dt="(if|else if|await|then|catch|each|html|debug)";Prism.languages.svelte=Prism.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:Prism.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+Dt+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+Dt+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:Prism.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:Prism.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:Prism.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:Prism.languages.javascript}});Prism.languages.svelte.tag.inside["attr-value"].inside.entity=Prism.languages.svelte.entity;Prism.hooks.add("wrap",i=>{i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.svelte.tag,"addInlined",{value:function(e,t){const n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^$/i;const r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};const s={};s[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("svelte","cdata",s)}});Prism.languages.svelte.tag.addInlined("style","css");Prism.languages.svelte.tag.addInlined("script","javascript");const Br="https://raw.githubusercontent.com/magidoc-org/magidoc/main/logo/logo_horizontal.png",gt=et(Je.APP_LOGO,Br),bi=Xe.isRelative(gt)?Xe.joinUrlPaths($e(),gt):gt;function Hr(i){let e,t,n=[{src:t=bi},{alt:"Magidoc"},i[0]],r={};for(let s=0;s{t(0,e=M(M({},e),x(n)))},e=x(e),[e]}class Dr extends J{constructor(e){super(),Q(this,e,Pr,Hr,X,{})}}function Gt(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Gr(i){let e,t,n=i[1]&&Gt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class pi extends J{constructor(e){super(),Q(this,e,jr,Gr,X,{size:0,title:1})}}const vt=tt(!1),wt=tt(!1),St=tt(!1);function Vr(i){let e,t,n,r,s;var l=i[0]?i[4]:i[3];function a(f,c){return{props:{size:20}}}l&&(t=Oe(l,a()));let o=[{type:"button"},{title:i[2]},{"aria-label":i[2]},i[5]],u={};for(let f=0;f{G(d,1)}),de()}l?(t=Oe(l,a()),P(t.$$.fragment),_(t.$$.fragment,1),D(t,e,null)):t=null}ve(e,u=he(o,[{type:"button"},(!n||c&4)&&{title:f[2]},(!n||c&4)&&{"aria-label":f[2]},c&32&&f[5]])),A(e,"bx--header__action",!0),A(e,"bx--header__menu-trigger",!0),A(e,"bx--header__menu-toggle",!0)},i(f){n||(t&&_(t.$$.fragment,f),n=!0)},o(f){t&&k(t.$$.fragment,f),n=!1},d(f){f&&g(e),t&&G(t),i[7](null),r=!1,We(s)}}}function Ur(i,e,t){const n=["ariaLabel","isOpen","iconMenu","iconClose","ref"];let r=B(e,n),{ariaLabel:s=void 0}=e,{isOpen:l=!1}=e,{iconMenu:a=pi}=e,{iconClose:o=Ke}=e,{ref:u=null}=e;function f(h){ce.call(this,i,h)}function c(h){Ae[h?"unshift":"push"](()=>{u=h,t(1,u)})}const d=()=>t(0,l=!l);return i.$$set=h=>{e=M(M({},e),x(h)),t(5,r=B(e,n)),"ariaLabel"in h&&t(2,s=h.ariaLabel),"isOpen"in h&&t(0,l=h.isOpen),"iconMenu"in h&&t(3,a=h.iconMenu),"iconClose"in h&&t(4,o=h.iconClose),"ref"in h&&t(1,u=h.ref)},[l,u,s,a,o,r,f,c,d]}class Yr extends J{constructor(e){super(),Q(this,e,Ur,Vr,X,{ariaLabel:2,isOpen:0,iconMenu:3,iconClose:4,ref:1})}}const Zr=i=>({}),jt=i=>({}),Kr=i=>({}),Vt=i=>({}),Wr=i=>({}),Ut=i=>({});function Yt(i){let e,t,n;function r(l){i[20](l)}let s={iconClose:i[8],iconMenu:i[7]};return i[0]!==void 0&&(s.isOpen=i[0]),e=new Yr({props:s}),Ae.push(()=>Pe(e,"isOpen",r)),{c(){P(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){D(e,l,a),n=!0},p(l,a){const o={};a&256&&(o.iconClose=l[8]),a&128&&(o.iconMenu=l[7]),!t&&a&1&&(t=!0,o.isOpen=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function Zt(i){let e,t;const n=i[17].company,r=_e(n,i,i[16],Vt),s=r||xr(i);return{c(){e=V("span"),s.c(),this.h()},l(l){e=U(l,"SPAN",{});var a=y(e);s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--header__name--prefix",!0)},m(l,a){v(l,e,a),s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a&65536)&&be(r,n,l,l[16],t?ke(n,l[16],a,Kr):pe(l[16]),Vt):s.p&&(!t||a&8)&&s.p(l,t?a:-1)},i(l){t||(_(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s.d(l)}}}function xr(i){let e,t;return{c(){e=oe(i[3]),t=oe(" ")},l(n){e=ue(n,i[3]),t=ue(n," ")},m(n,r){v(n,e,r),v(n,t,r)},p(n,r){r&8&&me(e,n[3])},d(n){n&&(g(e),g(t))}}}function qr(i){let e;return{c(){e=oe(i[4])},l(t){e=ue(t,i[4])},m(t,n){v(t,e,n)},p(t,n){n&16&&me(e,t[4])},d(t){t&&g(e)}}}function Xr(i){let e,t,n,r,s,l,a,o,u;lt(i[19]);const f=i[17]["skip-to-content"],c=_e(f,i,i[16],Ut);let d=(i[11]&&i[9]{d=null}),de()),b[3]||b[13].company?h?(h.p(b,F),F&8200&&_(h,1)):(h=Zt(b),h.c(),_(h,1),h.m(r,s)):h&&(fe(),k(h,1,1,()=>{h=null}),de()),w?w.p&&(!a||F&65536)&&be(w,m,b,b[16],a?ke(m,b[16],F,Zr):pe(b[16]),jt):O.p&&(!a||F&16)&&O.p(b,a?F:-1),ve(r,p=he(C,[(!a||F&4)&&{href:b[2]},F&4096&&b[12]])),A(r,"bx--header__name",!0),I&&I.p&&(!a||F&65536)&&be(I,E,b,b[16],a?ke(E,b[16],F,null):pe(b[16]),null),(!a||F&1024)&&L(e,"aria-label",b[10])},i(b){a||(_(c,b),_(d),_(h),_(O,b),_(I,b),a=!0)},o(b){k(c,b),k(d),k(h),k(O,b),k(I,b),a=!1},d(b){b&&g(e),c&&c.d(b),d&&d.d(),h&&h.d(),O.d(b),i[21](null),I&&I.d(b),o=!1,We(u)}}}function Jr(i,e,t){let n;const r=["expandedByDefault","isSideNavOpen","uiShellAriaLabel","href","company","platformName","persistentHamburgerMenu","expansionBreakpoint","ref","iconMenu","iconClose"];let s=B(e,r),l;Ze(i,vt,S=>t(11,l=S));let{$$slots:a={},$$scope:o}=e;const u=Ct(a);let{expandedByDefault:f=!0}=e,{isSideNavOpen:c=!1}=e,{uiShellAriaLabel:d=void 0}=e,{href:h=void 0}=e,{company:m=void 0}=e,{platformName:w=""}=e,{persistentHamburgerMenu:O=!1}=e,{expansionBreakpoint:C=1056}=e,{ref:p=null}=e,{iconMenu:E=pi}=e,{iconClose:I=Ke}=e,b;function F(S){ce.call(this,i,S)}function $(){t(9,b=window.innerWidth)}function R(S){c=S,t(0,c),t(14,f),t(9,b),t(6,C),t(5,O)}function ee(S){Ae[S?"unshift":"push"](()=>{p=S,t(1,p)})}return i.$$set=S=>{t(22,e=M(M({},e),x(S))),t(12,s=B(e,r)),"expandedByDefault"in S&&t(14,f=S.expandedByDefault),"isSideNavOpen"in S&&t(0,c=S.isSideNavOpen),"uiShellAriaLabel"in S&&t(15,d=S.uiShellAriaLabel),"href"in S&&t(2,h=S.href),"company"in S&&t(3,m=S.company),"platformName"in S&&t(4,w=S.platformName),"persistentHamburgerMenu"in S&&t(5,O=S.persistentHamburgerMenu),"expansionBreakpoint"in S&&t(6,C=S.expansionBreakpoint),"ref"in S&&t(1,p=S.ref),"iconMenu"in S&&t(7,E=S.iconMenu),"iconClose"in S&&t(8,I=S.iconClose),"$$scope"in S&&t(16,o=S.$$scope)},i.$$.update=()=>{i.$$.dirty&16992&&t(0,c=f&&b>=C&&!O),t(10,n=m?`${m} `:""+(d||e["aria-label"]||w))},e=x(e),[c,p,h,m,w,O,C,E,I,b,n,l,s,u,f,d,o,a,F,$,R,ee]}class Qr extends J{constructor(e){super(),Q(this,e,Jr,Xr,X,{expandedByDefault:14,isSideNavOpen:0,uiShellAriaLabel:15,href:2,company:3,platformName:4,persistentHamburgerMenu:5,expansionBreakpoint:6,ref:1,iconMenu:7,iconClose:8})}}function $r(i){let e,t,n;var r=i[1];function s(l,a){return{props:{slot:"icon",size:20}}}return r&&(e=Oe(r,s())),{c(){e&&P(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&D(e,l,a),v(l,t,a),n=!0},p(l,a){if(a&2&&r!==(r=l[1])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Oe(r,s()),P(e.$$.fragment),_(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function el(i){let e,t,n;const r=[i[3],{class:i[2]}];function s(a){i[5](a)}let l={$$slots:{icon:[$r]},$$scope:{ctx:i}};for(let a=0;aPe(e,"ref",s)),e.$on("click",i[6]),{c(){P(e.$$.fragment)},l(a){W(e.$$.fragment,a)},m(a,o){D(e,a,o),n=!0},p(a,[o]){const u=o&12?he(r,[o&8&&at(a[3]),o&4&&{class:a[2]}]):{};o&130&&(u.$$scope={dirty:o,ctx:a}),!t&&o&1&&(t=!0,u.ref=a[0],He(()=>t=!1)),e.$set(u)},i(a){n||(_(e.$$.fragment,a),n=!0)},o(a){k(e.$$.fragment,a),n=!1},d(a){G(e,a)}}}function tl(i,e,t){let n;const r=["isActive","icon","ref"];let s=B(e,r),{isActive:l=!1}=e,{icon:a=void 0}=e,{ref:o=null}=e;function u(c){o=c,t(0,o)}function f(c){ce.call(this,i,c)}return i.$$set=c=>{e=M(M({},e),x(c)),t(3,s=B(e,r)),"isActive"in c&&t(4,l=c.isActive),"icon"in c&&t(1,a=c.icon),"ref"in c&&t(0,o=c.ref)},i.$$.update=()=>{t(2,n=["bx--header__action",l&&" bx--header__action--active",s.class].filter(Boolean).join(" "))},[o,a,n,s,l,u,f]}class ki extends J{constructor(e){super(),Q(this,e,tl,el,X,{isActive:4,icon:1,ref:0})}}function nl(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("div"),r&&r.c(),this.h()},l(s){e=U(s,"DIV",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--header__global",!0)},m(s,l){v(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(_(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function il(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class rl extends J{constructor(e){super(),Q(this,e,il,nl,X,{})}}function Kt(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ll(i){let e,t,n=i[1]&&Kt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class al extends J{constructor(e){super(),Q(this,e,sl,ll,X,{size:0,title:1})}}function ol(i){let e,t,n,r,s,l,a=[i[1]],o={};for(let u=0;u{e=M(M({},e),x(f)),t(1,r=B(e,n)),"size"in f&&t(0,s=f.size)},[s,r,l,a,o,u]}class cl extends J{constructor(e){super(),Q(this,e,ul,ol,X,{size:0})}}const fl=i=>({}),Wt=i=>({});function dl(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m,w,O;var C=i[14];function p(S,j){return{props:{class:"bx--search-magnifier-icon"}}}C&&(n=Oe(C,p()));const E=i[20].labelText,I=_e(E,i,i[19],Wt),b=I||gl(i);let F=[{type:"text"},{role:"searchbox"},{autofocus:u=i[11]===!0?!0:void 0},{autocomplete:i[10]},{disabled:i[7]},{id:i[15]},{placeholder:i[9]},i[18]],$={};for(let S=0;S{G(ae,1)}),de()}C?(n=Oe(C,p()),P(n.$$.fragment),_(n.$$.fragment,1),D(n,t,null)):n=null}if(I?I.p&&(!m||j[0]&524288)&&be(I,E,S,S[19],m?ke(E,S[19],j,fl):pe(S[19]),Wt):b.p&&(!m||j[0]&8192)&&b.p(S,m?j:[-1,-1]),(!m||j[0]&32768&&l!==(l=S[15]+"-search"))&&L(s,"id",l),(!m||j[0]&32768)&&L(s,"for",S[15]),ve(o,$=he(F,[{type:"text"},{role:"searchbox"},(!m||j[0]&2048&&u!==(u=S[11]===!0?!0:void 0))&&{autofocus:u},(!m||j[0]&1024)&&{autocomplete:S[10]},(!m||j[0]&128)&&{disabled:S[7]},(!m||j[0]&32768)&&{id:S[15]},(!m||j[0]&512)&&{placeholder:S[9]},j[0]&262144&&S[18]])),j[0]&4&&o.value!==S[2]&&Bt(o,S[2]),A(o,"bx--search-input",!0),R!==(R=Ke)){if(d){fe();const ae=d;k(ae.$$.fragment,1,0,()=>{G(ae,1)}),de()}R?(d=Oe(R,ee(S)),P(d.$$.fragment),_(d.$$.fragment,1),D(d,c,null)):d=null}else if(R){const ae={};j[0]&8&&(ae.size=S[3]==="xl"?20:16),d.$set(ae)}(!m||j[0]&4096)&&L(c,"aria-label",S[12]),(!m||j[0]&128)&&(c.disabled=S[7]),(!m||j[0]&4)&&A(c,"bx--search-close--hidden",S[2]===""),(!m||j[0]&32768&&h!==(h=S[15]+"-search"))&&L(e,"aria-labelledby",h),(!m||j[0]&16)&&L(e,"class",S[4]),(!m||j[0]&16)&&A(e,"bx--search",!0),(!m||j[0]&80)&&A(e,"bx--search--light",S[6]),(!m||j[0]&144)&&A(e,"bx--search--disabled",S[7]),(!m||j[0]&24)&&A(e,"bx--search--sm",S[3]==="sm"),(!m||j[0]&24)&&A(e,"bx--search--lg",S[3]==="lg"),(!m||j[0]&24)&&A(e,"bx--search--xl",S[3]==="xl"),(!m||j[0]&272)&&A(e,"bx--search--expandable",S[8]),(!m||j[0]&17)&&A(e,"bx--search--expanded",S[0])},i(S){m||(n&&_(n.$$.fragment,S),_(b,S),d&&_(d.$$.fragment,S),m=!0)},o(S){n&&k(n.$$.fragment,S),k(b,S),d&&k(d.$$.fragment,S),m=!1},d(S){S&&g(e),n&&G(n),i[33](null),b.d(S),i[35](null),d&&G(d),w=!1,We(O)}}}function hl(i){let e,t;const n=[{size:i[3]},i[18]];let r={};for(let s=0;s{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),_(t,1),t.m(n.parentNode,n))},i(o){r||(_(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function _l(i,e,t){const n=["value","size","searchClass","skeleton","light","disabled","expandable","expanded","placeholder","autocomplete","autofocus","closeButtonLabelText","labelText","icon","id","ref"];let r=B(e,n),{$$slots:s={},$$scope:l}=e,{value:a=""}=e,{size:o="xl"}=e,{searchClass:u=""}=e,{skeleton:f=!1}=e,{light:c=!1}=e,{disabled:d=!1}=e,{expandable:h=!1}=e,{expanded:m=!1}=e,{placeholder:w="Search..."}=e,{autocomplete:O="off"}=e,{autofocus:C=!1}=e,{closeButtonLabelText:p="Clear search input"}=e,{labelText:E=""}=e,{icon:I=al}=e,{id:b="ccs-"+Math.random().toString(36)}=e,{ref:F=null}=e;const $=st();let R=null;function ee(H){ce.call(this,i,H)}function S(H){ce.call(this,i,H)}function j(H){ce.call(this,i,H)}function ae(H){ce.call(this,i,H)}function we(H){ce.call(this,i,H)}function le(H){ce.call(this,i,H)}function Me(H){ce.call(this,i,H)}function Re(H){ce.call(this,i,H)}function T(H){ce.call(this,i,H)}function te(H){ce.call(this,i,H)}function Se(H){ce.call(this,i,H)}function Ee(H){ce.call(this,i,H)}function Ie(H){Ae[H?"unshift":"push"](()=>{R=H,t(16,R)})}const Ge=()=>{h&&t(0,m=!0)};function qe(H){Ae[H?"unshift":"push"](()=>{F=H,t(1,F)})}function ut(){a=this.value,t(2,a)}const ct=()=>{h&&t(0,m=!0)},ft=()=>{m&&a.trim().length===0&&t(0,m=!1)},dt=({key:H})=>{H==="Escape"&&(t(2,a=""),$("clear"))},ht=()=>{t(2,a=""),F.focus(),$("clear")};return i.$$set=H=>{e=M(M({},e),x(H)),t(18,r=B(e,n)),"value"in H&&t(2,a=H.value),"size"in H&&t(3,o=H.size),"searchClass"in H&&t(4,u=H.searchClass),"skeleton"in H&&t(5,f=H.skeleton),"light"in H&&t(6,c=H.light),"disabled"in H&&t(7,d=H.disabled),"expandable"in H&&t(8,h=H.expandable),"expanded"in H&&t(0,m=H.expanded),"placeholder"in H&&t(9,w=H.placeholder),"autocomplete"in H&&t(10,O=H.autocomplete),"autofocus"in H&&t(11,C=H.autofocus),"closeButtonLabelText"in H&&t(12,p=H.closeButtonLabelText),"labelText"in H&&t(13,E=H.labelText),"icon"in H&&t(14,I=H.icon),"id"in H&&t(15,b=H.id),"ref"in H&&t(1,F=H.ref),"$$scope"in H&&t(19,l=H.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&3&&m&&F&&F.focus(),i.$$.dirty[0]&1&&$(m?"expand":"collapse")},[m,F,a,o,u,f,c,d,h,w,O,C,p,E,I,b,R,$,r,l,s,ee,S,j,ae,we,le,Me,Re,T,te,Se,Ee,Ie,Ge,qe,ut,ct,ft,dt,ht]}let vi=class extends J{constructor(e){super(),Q(this,e,_l,ml,X,{value:2,size:3,searchClass:4,skeleton:5,light:6,disabled:7,expandable:8,expanded:0,placeholder:9,autocomplete:10,autofocus:11,closeButtonLabelText:12,labelText:13,icon:14,id:15,ref:1},null,[-1,-1])}};function xt(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function bl(i){let e,t,n=i[1]&&xt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class kl extends J{constructor(e){super(),Q(this,e,pl,bl,X,{size:0,title:1})}}var Be;(function(i){i.SECTION="section",i.HEADER="header"})(Be||(Be={}));function wi(i,e){return vl(e.lexer.lex(i),e)}function vl(i,e){const t=Si(e.extractors),n=[];let r={type:Be.SECTION,content:"",headers:[]};return i.forEach(s=>{if(s.type==="heading"){const l=s,o={id:e.slugger.slug(l.text),depth:l.depth,text:l.text},u={type:Be.SECTION,content:"",headers:[]},f=r.headers[r.headers.length-1];f?s.depth>f.depth?u.headers=[...r.headers,o]:s.depth<=f.depth&&(u.headers=[...r.headers.filter(c=>c.depth0&&n.push(r),n.push({type:Be.HEADER,path:u.headers,title:l.text}),r=u}else r.content+=t([s])}),r.content.trim().length>0&&n.push(r),n}function Si(i){return e=>e.reduce((t,n)=>{const r=i[n.type];if(!r)throw new Error(`No extractor found for token type: ${n.type}`);return t+r(n,Si(i))},"")}function De(i){return Array.isArray?Array.isArray(i):yi(i)==="[object Array]"}function wl(i){if(typeof i=="string")return i;let e=i+"";return e=="0"&&1/i==-1/0?"-0":e}function Sl(i){return i==null?"":wl(i)}function Fe(i){return typeof i=="string"}function Ei(i){return typeof i=="number"}function El(i){return i===!0||i===!1||Al(i)&&yi(i)=="[object Boolean]"}function Ai(i){return typeof i=="object"}function Al(i){return Ai(i)&&i!==null}function Ce(i){return i!=null}function mt(i){return!i.trim().length}function yi(i){return i==null?i===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(i)}const yl="Incorrect 'index' type",Ml=i=>`Invalid value for key ${i}`,Rl=i=>`Pattern length exceeds max of ${i}.`,Ol=i=>`Missing ${i} property in key`,Il=i=>`Property 'weight' in key '${i}' must be a positive integer`,qt=Object.prototype.hasOwnProperty;class Nl{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(n=>{let r=Mi(n);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(n=>{n.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Mi(i){let e=null,t=null,n=null,r=1,s=null;if(Fe(i)||De(i))n=i,e=Xt(i),t=Et(i);else{if(!qt.call(i,"name"))throw new Error(Ol("name"));const l=i.name;if(n=l,qt.call(i,"weight")&&(r=i.weight,r<=0))throw new Error(Il(l));e=Xt(l),t=Et(l),s=i.getFn}return{path:e,id:t,weight:r,src:n,getFn:s}}function Xt(i){return De(i)?i:i.split(".")}function Et(i){return De(i)?i.join("."):i}function Cl(i,e){let t=[],n=!1;const r=(s,l,a)=>{if(Ce(s))if(!l[a])t.push(s);else{let o=l[a];const u=s[o];if(!Ce(u))return;if(a===l.length-1&&(Fe(u)||Ei(u)||El(u)))t.push(Sl(u));else if(De(u)){n=!0;for(let f=0,c=u.length;fi.score===e.score?i.idx{this._keysMap[t.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Fe(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();Fe(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t{let l=r.getFn?r.getFn(e):this.getFn(e,r.path);if(Ce(l)){if(De(l)){let a=[];const o=[{nestedArrIndex:-1,value:l}];for(;o.length;){const{nestedArrIndex:u,value:f}=o.pop();if(Ce(f))if(Fe(f)&&!mt(f)){let c={v:f,i:u,n:this.norm.get(f)};a.push(c)}else De(f)&&f.forEach((c,d)=>{o.push({nestedArrIndex:d,value:c})})}n.$[s]=a}else if(Fe(l)&&!mt(l)){let a={v:l,n:this.norm.get(l)};n.$[s]=a}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Ri(i,e,{getFn:t=ne.getFn,fieldNormWeight:n=ne.fieldNormWeight}={}){const r=new Lt({getFn:t,fieldNormWeight:n});return r.setKeys(i.map(Mi)),r.setSources(e),r.create(),r}function Pl(i,{getFn:e=ne.getFn,fieldNormWeight:t=ne.fieldNormWeight}={}){const{keys:n,records:r}=i,s=new Lt({getFn:e,fieldNormWeight:t});return s.setKeys(n),s.setIndexRecords(r),s}function it(i,{errors:e=0,currentLocation:t=0,expectedLocation:n=0,distance:r=ne.distance,ignoreLocation:s=ne.ignoreLocation}={}){const l=e/i.length;if(s)return l;const a=Math.abs(n-t);return r?l+a/r:a?1:l}function Dl(i=[],e=ne.minMatchCharLength){let t=[],n=-1,r=-1,s=0;for(let l=i.length;s=e&&t.push([n,r]),n=-1)}return i[s-1]&&s-n>=e&&t.push([n,s-1]),t}const Ye=32;function Gl(i,e,t,{location:n=ne.location,distance:r=ne.distance,threshold:s=ne.threshold,findAllMatches:l=ne.findAllMatches,minMatchCharLength:a=ne.minMatchCharLength,includeMatches:o=ne.includeMatches,ignoreLocation:u=ne.ignoreLocation}={}){if(e.length>Ye)throw new Error(Rl(Ye));const f=e.length,c=i.length,d=Math.max(0,Math.min(n,c));let h=s,m=d;const w=a>1||o,O=w?Array(c):[];let C;for(;(C=i.indexOf(e,m))>-1;){let $=it(e,{currentLocation:C,expectedLocation:d,distance:r,ignoreLocation:u});if(h=Math.min($,h),m=C+f,w){let R=0;for(;R=S;le-=1){let Me=le-1,Re=t[i.charAt(Me)];if(w&&(O[Me]=+!!Re),ae[le]=(ae[le+1]<<1|1)&Re,$&&(ae[le]|=(p[le+1]|p[le])<<1|1|p[le+1]),ae[le]&b&&(E=it(e,{errors:$,currentLocation:Me,expectedLocation:d,distance:r,ignoreLocation:u}),E<=h)){if(h=E,m=Me,m<=d)break;S=Math.max(1,2*d-m)}}if(it(e,{errors:$+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:u})>h)break;p=ae}const F={isMatch:m>=0,score:Math.max(.001,E)};if(w){const $=Dl(O,a);$.length?o&&(F.indices=$):F.isMatch=!1}return F}function jl(i){let e={};for(let t=0,n=i.length;t{this.chunks.push({pattern:d,alphabet:jl(d),startIndex:h})},c=this.pattern.length;if(c>Ye){let d=0;const h=c%Ye,m=c-h;for(;d{const{isMatch:C,score:p,indices:E}=Gl(e,m,w,{location:r+O,distance:s,threshold:l,findAllMatches:a,minMatchCharLength:o,includeMatches:n,ignoreLocation:u});C&&(d=!0),c+=p,C&&E&&(f=[...f,...E])});let h={isMatch:d,score:d?c/this.chunks.length:1};return d&&n&&(h.indices=f),h}}class Ue{constructor(e){this.pattern=e}static isMultiMatch(e){return Jt(e,this.multiRegex)}static isSingleMatch(e){return Jt(e,this.singleRegex)}search(){}}function Jt(i,e){const t=i.match(e);return t?t[1]:null}class Vl extends Ue{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class Ul extends Ue{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const n=e.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Yl extends Ue{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class Zl extends Ue{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class Kl extends Ue{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Wl extends Ue{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class Ii extends Ue{constructor(e,{location:t=ne.location,threshold:n=ne.threshold,distance:r=ne.distance,includeMatches:s=ne.includeMatches,findAllMatches:l=ne.findAllMatches,minMatchCharLength:a=ne.minMatchCharLength,isCaseSensitive:o=ne.isCaseSensitive,ignoreLocation:u=ne.ignoreLocation}={}){super(e),this._bitapSearch=new Oi(e,{location:t,threshold:n,distance:r,includeMatches:s,findAllMatches:l,minMatchCharLength:a,isCaseSensitive:o,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ni extends Ue{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n;const r=[],s=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+s,r.push([n,t-1]);const l=!!r.length;return{isMatch:l,score:l?0:1,indices:r}}}const At=[Vl,Ni,Yl,Zl,Wl,Kl,Ul,Ii],Qt=At.length,xl=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,ql="|";function Xl(i,e={}){return i.split(ql).map(t=>{let n=t.trim().split(xl).filter(s=>s&&!!s.trim()),r=[];for(let s=0,l=n.length;s!!(i[rt.AND]||i[rt.OR]),es=i=>!!i[Rt.PATH],ts=i=>!De(i)&&Ai(i)&&!Ot(i),$t=i=>({[rt.AND]:Object.keys(i).map(e=>({[e]:i[e]}))});function Ci(i,e,{auto:t=!0}={}){const n=r=>{let s=Object.keys(r);const l=es(r);if(!l&&s.length>1&&!Ot(r))return n($t(r));if(ts(r)){const o=l?r[Rt.PATH]:s[0],u=l?r[Rt.PATTERN]:r[o];if(!Fe(u))throw new Error(Ml(o));const f={keyId:Et(o),pattern:u};return t&&(f.searcher=Mt(u,e)),f}let a={children:[],operator:s[0]};return s.forEach(o=>{const u=r[o];De(u)&&u.forEach(f=>{a.children.push(n(f))})}),a};return Ot(i)||(i=$t(i)),n(i)}function ns(i,{ignoreFieldNorm:e=ne.ignoreFieldNorm}){i.forEach(t=>{let n=1;t.matches.forEach(({key:r,norm:s,score:l})=>{const a=r?r.weight:null;n*=Math.pow(l===0&&a?Number.EPSILON:l,(a||1)*(e?1:s))}),t.score=n})}function is(i,e){const t=i.matches;e.matches=[],Ce(t)&&t.forEach(n=>{if(!Ce(n.indices)||!n.indices.length)return;const{indices:r,value:s}=n;let l={indices:r,value:s};n.key&&(l.key=n.key.src),n.idx>-1&&(l.refIndex=n.idx),e.matches.push(l)})}function rs(i,e){e.score=i.score}function ls(i,e,{includeMatches:t=ne.includeMatches,includeScore:n=ne.includeScore}={}){const r=[];return t&&r.push(is),n&&r.push(rs),i.map(s=>{const{idx:l}=s,a={item:e[l],refIndex:l};return r.length&&r.forEach(o=>{o(s,a)}),a})}class xe{constructor(e,t={},n){this.options={...ne,...t},this.options.useExtendedSearch,this._keyStore=new Nl(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Lt))throw new Error(yl);this._myIndex=t||Ri(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ce(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let n=0,r=this._docs.length;n-1&&(o=o.slice(0,t)),ls(o,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=Mt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:s,i:l,n:a})=>{if(!Ce(s))return;const{isMatch:o,score:u,indices:f}=t.searchIn(s);o&&r.push({item:s,idx:l,matches:[{score:u,value:s,norm:a,indices:f}]})}),r}_searchLogical(e){const t=Ci(e,this.options),n=(a,o,u)=>{if(!a.children){const{keyId:c,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(c),value:this._myIndex.getValueForItemAtKeyId(o,c),searcher:d});return h&&h.length?[{idx:u,item:o,matches:h}]:[]}const f=[];for(let c=0,d=a.children.length;c{if(Ce(a)){let u=n(t,a,o);u.length&&(s[o]||(s[o]={idx:o,item:a,matches:[]},l.push(s[o])),u.forEach(({matches:f})=>{s[o].matches.push(...f)}))}}),l}_searchObjectList(e){const t=Mt(e,this.options),{keys:n,records:r}=this._myIndex,s=[];return r.forEach(({$:l,i:a})=>{if(!Ce(l))return;let o=[];n.forEach((u,f)=>{o.push(...this._findMatches({key:u,value:l[f],searcher:t}))}),o.length&&s.push({idx:a,item:l,matches:o})}),s}_findMatches({key:e,value:t,searcher:n}){if(!Ce(t))return[];let r=[];if(De(t))t.forEach(({v:s,i:l,n:a})=>{if(!Ce(s))return;const{isMatch:o,score:u,indices:f}=n.searchIn(s);o&&r.push({score:u,key:e,value:s,idx:l,norm:a,indices:f})});else{const{v:s,n:l}=t,{isMatch:a,score:o,indices:u}=n.searchIn(s);a&&r.push({score:o,key:e,value:s,norm:l,indices:u})}return r}}xe.version="7.0.0";xe.createIndex=Ri;xe.parseIndex=Pl;xe.config=ne;xe.parseQuery=Ci;$l(Ql);function ss(){return{blockquote:Te,codespan:Te,del:Te,em:Te,heading:Te,br:()=>` +`,paragraph:Te,strong:Te,text:Te,link:Te,list:(i,e)=>i.items.reduce((t,n)=>`${t} +${Te(n,e)}`,""),list_item:Te,table:(i,e)=>i.rows.reduce((t,n)=>`${t} +${n.map(r=>Te({...r,type:"table_cell",raw:""},e)).join(" ")}`,""),code:()=>"",image:()=>"",hr:()=>"",def:()=>"",html:()=>"",space:()=>" ",escape:()=>""}}function Te(i,e){if(i.tokens)return e(i.tokens);if(i.type==="text"||i.type==="codespan")return i.text;throw new Error(`Could not extract text for ${i.type}`)}function as(){return new zt}function os(){return new sr}function us(){return{keys:[{name:"part.title",weight:1.5},{name:"part.content",weight:1}],includeScore:!0,includeMatches:!0,threshold:.1,minMatchCharLength:3,ignoreLocation:!0}}function Ti(i){return{lexerFactory:(i==null?void 0:i.lexerFactory)??os,sluggerFactory:(i==null?void 0:i.sluggerFactory)??as,extractors:{...ss(),...i==null?void 0:i.extractors}}}function cs(i,e){const t=(e==null?void 0:e.fuse)??new xe([],us()),n=Ti(e==null?void 0:e.markdown);return i.forEach(r=>{fs(r,t,n)}),t}function fs(i,e,t){wi(i.content,{slugger:t.sluggerFactory(),lexer:t.lexerFactory(),extractors:t.extractors}).forEach(r=>{e.add({data:i.data,part:r})})}function ze({description:i},e){if(i&&i.trim().length!==0)return wi(i,{extractors:e.extractors,lexer:e.lexerFactory(),slugger:e.sluggerFactory()}).map(t=>{switch(t.type){case Be.SECTION:return t.content;case Be.HEADER:return""}}).join(` +`)}function ds(i,e,t){return{type:i,name:e.name,description:ze(e,t),arguments:e.args.map(n=>({name:n.name,description:ze(n,t)}))}}var Ne;(function(i){i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",i.TYPE="type"})(Ne||(Ne={}));var Ve;(function(i){i.ENUM="enum",i.SCALAR="scalar",i.INTERFACE="interface",i.UNION="union",i.OBJECT="object",i.INPUT_OBJECT="input_object"})(Ve||(Ve={}));function hs(i,e){if(ar(i))return bs(i,e);if(or(i))return en(Ve.OBJECT,i,e);if(ur(i))return en(Ve.INTERFACE,i,e);if(cr(i))return _s(i,e);if(fr(i))return ms(i,e);if(dr(i))return gs(i,e);throw new Error("This code block should be unreachable. If you ever receive this exception, it means you have an invalid setup using GraphQL.")}function gs(i,e){return{type:Ne.TYPE,graphqlType:Ve.INPUT_OBJECT,name:i.name,description:ze(i,e),fields:Object.values(i.getFields()).map(t=>({name:t.name,description:ze(t,e)}))}}function ms(i,e){return{type:Ne.TYPE,graphqlType:Ve.UNION,name:i.name,description:ze(i,e)}}function _s(i,e){return{type:Ne.TYPE,graphqlType:Ve.SCALAR,name:i.name,description:ze(i,e)}}function en(i,e,t){return{type:Ne.TYPE,graphqlType:i,name:e.name,description:ze(e,t),fields:Object.values(e.getFields()).map(n=>({name:n.name,description:ze(n,t),arguments:n.args.map(r=>({name:r.name,description:ze(r,t)}))}))}}function bs(i,e){return{name:i.name,description:ze(i,e),graphqlType:Ve.ENUM,type:Ne.TYPE,values:i.getValues().map(t=>({value:t.name,description:ze(t,e)}))}}function ps(){return{keys:[{name:"name",weight:1.5},{name:"description",weight:1},{name:"arguments.name",weight:1.2},{name:"arguments.description",weight:1},{name:"values.value",weight:1.2},{name:"values.description",weight:1},{name:"fields.name",weight:1.2},{name:"fields.description",weight:1},{name:"fields.arguments.name",weight:.9},{name:"fields.arguments.description",weight:.8}],distance:100,minMatchCharLength:3,threshold:.2,includeMatches:!0,includeScore:!0}}function ks(i,e){const t=(e==null?void 0:e.fuse)??new xe([],ps()),n=Ti(e==null?void 0:e.markdown);return _t(Ne.QUERY,i.getQueryType(),t,n),_t(Ne.MUTATION,i.getMutationType(),t,n),_t(Ne.SUBSCRIPTION,i.getSubscriptionType(),t,n),vs(i,t,n),t}function vs(i,e,t){Object.values(i.getTypeMap()).forEach(n=>{n===i.getQueryType()||n===i.getMutationType()||n===i.getSubscriptionType()||n.name.startsWith("__")||e.add(hs(n,t))})}function _t(i,e,t,n){e&&Object.values(e.getFields()).forEach(r=>{t.add(ds(i,r,n))})}_i();const zi={extractors:{tags:()=>"",notification:(i,e)=>e(i.tokens),tabs:(i,e)=>i.tabs.map(n=>e(n.tokens)).join(` +`)}},ws=cs(Li(di).map(i=>({data:{type:"markdown",url:i.href,section:i.section},content:i.content||""})).filter(i=>!!i.content.trim()),{markdown:zi}),Ss=ks(hr,{markdown:zi});function Es(i){const e=ws.search(i).map(n=>({type:"markdown",score:n.score||0,result:n.item,matches:(n.matches||[]).map(r=>({value:r.value||"",location:r.key||"",indices:ys(r.indices)}))}));let t=[];return gr()||(t=Ss.search(i).map(n=>({type:"graphql",score:n.score||0,result:n.item,matches:(n.matches||[]).map(r=>({value:r.value||"",location:r.key||"",indices:r.indices}))}))),As(e,t)}function As(i,e){return[...i,...e].sort((t,n)=>t.score-n.score).slice(0,10)}function ys(i){const e=[];let t=[0,0];const n=new Set(i.map(([o])=>o)),r=new Set(i.map(([,o])=>o)),s=Math.min(...i.map(([o])=>o)),l=Math.max(...i.map(([,o])=>o));let a=!1;for(let o=s;o<=l;o++)n.has(o)&&!a?(a=!0,t=[o,0]):r.has(o)&&a&&(a=!1,t[1]=o,e.push(t));return e}function Li(i){return i.flatMap(e=>e.type==="page"?[e]:e.type==="menu"?Li(e.children):[])}const It=new Set,Fi=tt(0),tn=()=>Fi.set([...It].filter(i=>er(i)).length),Ms=i=>Tt(()=>{It.add(i);const e=i.subscribe(tn);return()=>{e(),It.delete(i),tn()}});Fi.subscribe(i=>{typeof document<"u"&&document.body.classList.toggle("bx--body--with-modal-open",i>0)});function nn(i,e,t){const n=i.slice();return n[55]=e[t],n}const Rs=i=>({}),rn=i=>({}),Os=i=>({}),ln=i=>({});function sn(i){let e,t,n,r,s;return t=new Ke({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=V("button"),P(t.$$.fragment),this.h()},l(l){e=U(l,"BUTTON",{type:!0,"aria-label":!0});var a=y(e);W(t.$$.fragment,a),a.forEach(g),this.h()},h(){L(e,"type","button"),L(e,"aria-label",i[8]),A(e,"bx--modal-close",!0)},m(l,a){v(l,e,a),D(t,e,null),i[37](e),n=!0,r||(s=se(e,"click",i[38]),r=!0)},p(l,a){(!n||a[0]&256)&&L(e,"aria-label",l[8])},i(l){n||(_(t.$$.fragment,l),n=!0)},o(l){k(t.$$.fragment,l),n=!1},d(l){l&&g(e),G(t),i[37](null),r=!1,s()}}}function an(i){let e,t;const n=i[31].label,r=_e(n,i,i[50],ln),s=r||Is(i);return{c(){e=V("h2"),s.c(),this.h()},l(l){e=U(l,"H2",{id:!0});var a=y(e);s.l(a),a.forEach(g),this.h()},h(){L(e,"id",i[25]),A(e,"bx--modal-header__label",!0)},m(l,a){v(l,e,a),s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a[1]&524288)&&be(r,n,l,l[50],t?ke(n,l[50],a,Os):pe(l[50]),ln):s.p&&(!t||a[0]&128)&&s.p(l,t?a:[-1,-1]),(!t||a[0]&33554432)&&L(e,"id",l[25])},i(l){t||(_(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s.d(l)}}}function Is(i){let e;return{c(){e=oe(i[7])},l(t){e=ue(t,i[7])},m(t,n){v(t,e,n)},p(t,n){n[0]&128&&me(e,t[7])},d(t){t&&g(e)}}}function Ns(i){let e;return{c(){e=oe(i[6])},l(t){e=ue(t,i[6])},m(t,n){v(t,e,n)},p(t,n){n[0]&64&&me(e,t[6])},d(t){t&&g(e)}}}function on(i){let e,t,n,r,s;return t=new Ke({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=V("button"),P(t.$$.fragment),this.h()},l(l){e=U(l,"BUTTON",{type:!0,"aria-label":!0});var a=y(e);W(t.$$.fragment,a),a.forEach(g),this.h()},h(){L(e,"type","button"),L(e,"aria-label",i[8]),A(e,"bx--modal-close",!0)},m(l,a){v(l,e,a),D(t,e,null),i[39](e),n=!0,r||(s=se(e,"click",i[40]),r=!0)},p(l,a){(!n||a[0]&256)&&L(e,"aria-label",l[8])},i(l){n||(_(t.$$.fragment,l),n=!0)},o(l){k(t.$$.fragment,l),n=!1},d(l){l&&g(e),G(t),i[39](null),r=!1,s()}}}function un(i){let e;return{c(){e=V("div"),this.h()},l(t){e=U(t,"DIV",{}),y(e).forEach(g),this.h()},h(){A(e,"bx--modal-content--overflow-indicator",!0)},m(t,n){v(t,e,n)},d(t){t&&g(e)}}}function cn(i){let e,t,n,r,s,l;const a=[Ts,Cs],o=[];function u(f,c){return f[16].length>0?0:f[15]?1:-1}return~(t=u(i))&&(n=o[t]=a[t](i)),s=new ot({props:{kind:i[3]?"danger":"primary",disabled:i[12],icon:i[13],$$slots:{default:[Fs]},$$scope:{ctx:i}}}),s.$on("click",i[43]),{c(){e=V("div"),n&&n.c(),r=ie(),P(s.$$.fragment),this.h()},l(f){e=U(f,"DIV",{});var c=y(e);n&&n.l(c),r=re(c),W(s.$$.fragment,c),c.forEach(g),this.h()},h(){A(e,"bx--modal-footer",!0),A(e,"bx--modal-footer--three-button",i[16].length===2)},m(f,c){v(f,e,c),~t&&o[t].m(e,null),N(e,r),D(s,e,null),l=!0},p(f,c){let d=t;t=u(f),t===d?~t&&o[t].p(f,c):(n&&(fe(),k(o[d],1,1,()=>{o[d]=null}),de()),~t?(n=o[t],n?n.p(f,c):(n=o[t]=a[t](f),n.c()),_(n,1),n.m(e,r)):n=null);const h={};c[0]&8&&(h.kind=f[3]?"danger":"primary"),c[0]&4096&&(h.disabled=f[12]),c[0]&8192&&(h.icon=f[13]),c[0]&2048|c[1]&524288&&(h.$$scope={dirty:c,ctx:f}),s.$set(h),(!l||c[0]&65536)&&A(e,"bx--modal-footer--three-button",f[16].length===2)},i(f){l||(_(n),_(s.$$.fragment,f),l=!0)},o(f){k(n),k(s.$$.fragment,f),l=!1},d(f){f&&g(e),~t&&o[t].d(),G(s)}}}function Cs(i){let e,t;return e=new ot({props:{kind:"secondary",$$slots:{default:[zs]},$$scope:{ctx:i}}}),e.$on("click",i[42]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r[0]&32768|r[1]&524288&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Ts(i){let e,t,n=ye(i[16]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l{b=null}),de()),T[7]?F?(F.p(T,te),te[0]&128&&_(F,1)):(F=an(T),F.c(),_(F,1),F.m(n,s)):F&&(fe(),k(F,1,1,()=>{F=null}),de()),R?R.p&&(!p||te[1]&524288)&&be(R,$,T,T[50],p?ke($,T[50],te,Rs):pe(T[50]),rn):ee.p&&(!p||te[0]&64)&&ee.p(T,p?te:[-1,-1]),(!p||te[0]&16777216)&&L(l,"id",T[24]),T[5]?S&&(fe(),k(S,1,1,()=>{S=null}),de()):S?(S.p(T,te),te[0]&32&&_(S,1)):(S=on(T),S.c(),_(S,1),S.m(n,null)),ae&&ae.p&&(!p||te[1]&524288)&&be(ae,j,T,T[50],p?ke(j,T[50],te,null):pe(T[50]),null),(!p||te[0]&8388608)&&L(u,"id",T[23]),(!p||te[0]&1024&&f!==(f=T[10]?"0":void 0))&&L(u,"tabindex",f),(!p||te[0]&1024&&c!==(c=T[10]?"region":void 0))&&L(u,"role",c),(!p||te[0]&4195328&&d!==(d=T[10]?T[22]:void 0))&&L(u,"aria-label",d),(!p||te[0]&50331776&&h!==(h=T[7]?T[25]:T[24]))&&L(u,"aria-labelledby",h),(!p||te[0]&512)&&A(u,"bx--modal-content--with-form",T[9]),(!p||te[0]&1024)&&A(u,"bx--modal-scroll-content",T[10]),T[10]?we||(we=un(),we.c(),we.m(t,w)):we&&(we.d(1),we=null),T[5]?le&&(fe(),k(le,1,1,()=>{le=null}),de()):le?(le.p(T,te),te[0]&32&&_(le,1)):(le=cn(T),le.c(),_(le,1),le.m(t,null)),(!p||te[0]&48&&O!==(O=T[4]?T[5]?"alert":"alertdialog":"dialog"))&&L(t,"role",O),(!p||te[0]&8388656&&C!==(C=T[4]&&!T[5]?T[23]:void 0))&&L(t,"aria-describedby",C),(!p||te[0]&4194304)&&L(t,"aria-label",T[22]),(!p||te[0]&4)&&A(t,"bx--modal-container--xs",T[2]==="xs"),(!p||te[0]&4)&&A(t,"bx--modal-container--sm",T[2]==="sm"),(!p||te[0]&4)&&A(t,"bx--modal-container--lg",T[2]==="lg"),ve(e,Re=he(Me,[{role:"presentation"},(!p||te[0]&262144)&&{id:T[18]},te[0]&268435456&&T[28]])),A(e,"bx--modal",!0),A(e,"bx--modal-tall",!T[5]),A(e,"is-visible",T[0]),A(e,"bx--modal--danger",T[3])},i(T){p||(_(b),_(F),_(ee,T),_(S),_(ae,T),_(le),p=!0)},o(T){k(b),k(F),k(ee,T),k(S),k(ae,T),k(le),p=!1},d(T){T&&g(e),b&&b.d(),F&&F.d(),ee.d(T),S&&S.d(),ae&&ae.d(T),we&&we.d(),le&&le.d(),i[44](null),i[46](null),E=!1,We(I)}}}function Hs(i,e,t){let n,r,s,l;const a=["size","open","danger","alert","passiveModal","modalHeading","modalLabel","modalAriaLabel","iconDescription","hasForm","hasScrollingContent","primaryButtonText","primaryButtonDisabled","primaryButtonIcon","shouldSubmitOnEnter","secondaryButtonText","secondaryButtons","selectorPrimaryFocus","preventCloseOnClickOutside","id","ref"];let o=B(e,a),u,{$$slots:f={},$$scope:c}=e,{size:d=void 0}=e,{open:h=!1}=e,{danger:m=!1}=e,{alert:w=!1}=e,{passiveModal:O=!1}=e,{modalHeading:C=void 0}=e,{modalLabel:p=void 0}=e,{modalAriaLabel:E=void 0}=e,{iconDescription:I="Close the modal"}=e,{hasForm:b=!1}=e,{hasScrollingContent:F=!1}=e,{primaryButtonText:$=""}=e,{primaryButtonDisabled:R=!1}=e,{primaryButtonIcon:ee=void 0}=e,{shouldSubmitOnEnter:S=!0}=e,{secondaryButtonText:j=""}=e,{secondaryButtons:ae=[]}=e,{selectorPrimaryFocus:we="[data-modal-primary-focus]"}=e,{preventCloseOnClickOutside:le=!1}=e,{id:Me="ccs-"+Math.random().toString(36)}=e,{ref:Re=null}=e;const T=st();let te=null,Se=null,Ee=!1,Ie=!1;function Ge(z){(Se.querySelector(we)||te).focus()}const qe=tt(h);Ze(i,qe,z=>t(52,u=z)),Ms(qe),tr(()=>{Ee?h||(Ee=!1,T("close")):h&&(Ee=!0,Ge(),T("open"))});function ut(z){ce.call(this,i,z)}function ct(z){ce.call(this,i,z)}function ft(z){ce.call(this,i,z)}function dt(z){ce.call(this,i,z)}function ht(z){ce.call(this,i,z)}function H(z){Ae[z?"unshift":"push"](()=>{te=z,t(19,te)})}const ji=()=>{t(0,h=!1)};function Vi(z){Ae[z?"unshift":"push"](()=>{te=z,t(19,te)})}const Ui=()=>{t(0,h=!1)},Yi=z=>{T("click:button--secondary",{text:z.text})},Zi=()=>{T("click:button--secondary",{text:j})},Ki=()=>{T("submit"),T("click:button--primary")};function Wi(z){Ae[z?"unshift":"push"](()=>{Se=z,t(20,Se)})}const xi=()=>{t(21,Ie=!0)};function qi(z){Ae[z?"unshift":"push"](()=>{Re=z,t(1,Re)})}const Xi=z=>{if(h)if(z.key==="Escape")t(0,h=!1);else if(z.key==="Tab"){const nt=Array.from(Re.querySelectorAll(` + a[href], area[href], input:not([disabled]):not([tabindex='-1']), + button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), + textarea:not([disabled]):not([tabindex='-1']), + iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true] +`));let Qe=nt.indexOf(document.activeElement);Qe===-1&&z.shiftKey&&(Qe=0),Qe+=nt.length+(z.shiftKey?-1:1),Qe%=nt.length,nt[Qe].focus(),z.preventDefault()}else S&&z.key==="Enter"&&!R&&(T("submit"),T("click:button--primary"))},Ji=()=>{!Ie&&!le&&t(0,h=!1),t(21,Ie=!1)},Qi=z=>{z.propertyName==="transform"&&T("transitionend",{open:h})};return i.$$set=z=>{t(54,e=M(M({},e),x(z))),t(28,o=B(e,a)),"size"in z&&t(2,d=z.size),"open"in z&&t(0,h=z.open),"danger"in z&&t(3,m=z.danger),"alert"in z&&t(4,w=z.alert),"passiveModal"in z&&t(5,O=z.passiveModal),"modalHeading"in z&&t(6,C=z.modalHeading),"modalLabel"in z&&t(7,p=z.modalLabel),"modalAriaLabel"in z&&t(29,E=z.modalAriaLabel),"iconDescription"in z&&t(8,I=z.iconDescription),"hasForm"in z&&t(9,b=z.hasForm),"hasScrollingContent"in z&&t(10,F=z.hasScrollingContent),"primaryButtonText"in z&&t(11,$=z.primaryButtonText),"primaryButtonDisabled"in z&&t(12,R=z.primaryButtonDisabled),"primaryButtonIcon"in z&&t(13,ee=z.primaryButtonIcon),"shouldSubmitOnEnter"in z&&t(14,S=z.shouldSubmitOnEnter),"secondaryButtonText"in z&&t(15,j=z.secondaryButtonText),"secondaryButtons"in z&&t(16,ae=z.secondaryButtons),"selectorPrimaryFocus"in z&&t(30,we=z.selectorPrimaryFocus),"preventCloseOnClickOutside"in z&&t(17,le=z.preventCloseOnClickOutside),"id"in z&&t(18,Me=z.id),"ref"in z&&t(1,Re=z.ref),"$$scope"in z&&t(50,c=z.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&1&&bt(qe,u=h,u),i.$$.dirty[0]&262144&&t(25,n=`bx--modal-header__label--modal-${Me}`),i.$$.dirty[0]&262144&&t(24,r=`bx--modal-header__heading--modal-${Me}`),i.$$.dirty[0]&262144&&t(23,s=`bx--modal-body--${Me}`),t(22,l=p||e["aria-label"]||E||C)},e=x(e),[h,Re,d,m,w,O,C,p,I,b,F,$,R,ee,S,j,ae,le,Me,te,Se,Ie,l,s,r,n,T,qe,o,E,we,f,ut,ct,ft,dt,ht,H,ji,Vi,Ui,Yi,Zi,Ki,Wi,xi,qi,Xi,Ji,Qi,c]}class Ps extends J{constructor(e){super(),Q(this,e,Hs,Bs,X,{size:2,open:0,danger:3,alert:4,passiveModal:5,modalHeading:6,modalLabel:7,modalAriaLabel:29,iconDescription:8,hasForm:9,hasScrollingContent:10,primaryButtonText:11,primaryButtonDisabled:12,primaryButtonIcon:13,shouldSubmitOnEnter:14,secondaryButtonText:15,secondaryButtons:16,selectorPrimaryFocus:30,preventCloseOnClickOutside:17,id:18,ref:1},null,[-1,-1])}}function Ds(i){let e;const t=i[5].default,n=_e(t,i,i[13],null);return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,s){n&&n.m(r,s),e=!0},p(r,s){n&&n.p&&(!e||s&8192)&&be(n,t,r,r[13],e?ke(t,r[13],s,null):pe(r[13]),null)},i(r){e||(_(n,r),e=!0)},o(r){k(n,r),e=!1},d(r){n&&n.d(r)}}}function Gs(i){let e,t;const n=[i[4],{disabled:i[2]},{class:"bx--tile bx--tile--clickable "+(i[0]&&"bx--tile--is-clicked")+" "+(i[1]&&"bx--tile--light")+" "+i[4].class},{href:i[3]}];let r={$$slots:{default:[Ds]},$$scope:{ctx:i}};for(let s=0;s{t(0,a=!a)};function h(p){ce.call(this,i,p)}const m=({key:p})=>{(p===" "||p==="Enter")&&t(0,a=!a)};function w(p){ce.call(this,i,p)}function O(p){ce.call(this,i,p)}function C(p){ce.call(this,i,p)}return i.$$set=p=>{e=M(M({},e),x(p)),t(4,r=B(e,n)),"clicked"in p&&t(0,a=p.clicked),"light"in p&&t(1,o=p.light),"disabled"in p&&t(2,u=p.disabled),"href"in p&&t(3,f=p.href),"$$scope"in p&&t(13,l=p.$$scope)},[a,o,u,f,r,s,c,d,h,m,w,O,C,l]}class Bi extends J{constructor(e){super(),Q(this,e,js,Gs,X,{clicked:0,light:1,disabled:2,href:3})}}function dn(i){let e;return{c(){e=oe("...")},l(t){e=ue(t,"...")},m(t,n){v(t,e,n)},d(t){t&&g(e)}}}function hn(i){let e;return{c(){e=oe("...")},l(t){e=ue(t,"...")},m(t,n){v(t,e,n)},d(t){t&&g(e)}}}function Vs(i){let e,t,n,r,s=i[1]>0&&dn(),l=i[2]0?s||(s=dn(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),o&8&&t.p(a[3]),a[2]{"text"in d&&t(0,a=d.text),"indexes"in d&&t(4,o=d.indexes)},i.$$.update=()=>{if(i.$$.dirty&16&&t(8,n=Math.min(...o.map(d=>d[0]))),i.$$.dirty&16&&t(7,r=Math.max(...o.map(d=>d[1]))),i.$$.dirty&256&&t(1,s=Math.max(n-gn,0)),i.$$.dirty&129&&t(2,l=Math.min(r+gn+1,a.length)),i.$$.dirty&23&&(t(5,u=a.slice(s,l)),t(6,f=o.map(([d,h])=>[d-s,h-s]))),i.$$.dirty&104){const d=new Set(f.map(([w])=>w)),h=new Set(f.map(([,w])=>w));t(3,c="");let m=!1;for(let w=0;w"),t(3,c+=O)):h.has(w)&&m?(m=!1,t(3,c+=O),t(3,c+="")):t(3,c+=O)}}},[a,s,l,c,o,u,f,r,n]}class Ft extends J{constructor(e){super(),Q(this,e,Us,Vs,X,{text:0,indexes:4})}}function mn(i,e,t){const n=i.slice();return n[2]=e[t],n[4]=t,n}function _n(i){let e,t,n,r,s=i[1].length>0&&bn();return{c(){e=V("strong"),t=oe(i[0]),n=ie(),s&&s.c(),r=Y()},l(l){e=U(l,"STRONG",{});var a=y(e);t=ue(a,i[0]),a.forEach(g),n=re(l),s&&s.l(l),r=Y()},m(l,a){v(l,e,a),N(e,t),v(l,n,a),s&&s.m(l,a),v(l,r,a)},p(l,a){a&1&&me(t,l[0]),l[1].length>0?s||(s=bn(),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(l){l&&(g(e),g(n),g(r)),s&&s.d(l)}}}function bn(i){let e=" > ",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){v(n,t,r)},d(n){n&&g(t)}}}function pn(i){let e=" > ",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){v(n,t,r)},d(n){n&&g(t)}}}function kn(i){let e,t=i[2].text+"",n,r,s,l=i[4]{"section"in s&&t(0,n=s.section),"headers"in s&&t(1,r=s.headers)},[n,r]}class Hi extends J{constructor(e){super(),Q(this,e,Zs,Ys,X,{section:0,headers:1})}}function vn(i){let e,t,n,r;return{c(){e=V("strong"),t=oe("("),n=oe(i[3]),r=oe(")")},l(s){e=U(s,"STRONG",{});var l=y(e);t=ue(l,"("),n=ue(l,i[3]),r=ue(l,")"),l.forEach(g)},m(s,l){v(s,e,l),N(e,t),N(e,n),N(e,r)},p(s,l){l&8&&me(n,s[3])},d(s){s&&g(e)}}}function Ks(i){let e,t,n,r,s,l,a;e=new Hi({props:{section:i[2],headers:[{id:i[0].result.name,depth:1,text:i[0].result.name}]}});let o=i[3]&&vn(i);return l=new Ft({props:{text:i[0].matches[0].value,indexes:i[0].matches[0].indices}}),{c(){P(e.$$.fragment),t=ie(),o&&o.c(),n=ie(),r=V("br"),s=ie(),P(l.$$.fragment)},l(u){W(e.$$.fragment,u),t=re(u),o&&o.l(u),n=re(u),r=U(u,"BR",{}),s=re(u),W(l.$$.fragment,u)},m(u,f){D(e,u,f),v(u,t,f),o&&o.m(u,f),v(u,n,f),v(u,r,f),v(u,s,f),D(l,u,f),a=!0},p(u,f){const c={};f&4&&(c.section=u[2]),f&1&&(c.headers=[{id:u[0].result.name,depth:1,text:u[0].result.name}]),e.$set(c),u[3]?o?o.p(u,f):(o=vn(u),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null);const d={};f&1&&(d.text=u[0].matches[0].value),f&1&&(d.indexes=u[0].matches[0].indices),l.$set(d)},i(u){a||(_(e.$$.fragment,u),_(l.$$.fragment,u),a=!0)},o(u){k(e.$$.fragment,u),k(l.$$.fragment,u),a=!1},d(u){u&&(g(t),g(n),g(r),g(s)),G(e,u),o&&o.d(u),G(l,u)}}}function Ws(i){let e,t;return e=new Bi({props:{href:i[1],$$slots:{default:[Ks]},$$scope:{ctx:i}}}),e.$on("click",i[4]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,[r]){const s={};r&2&&(s.href=n[1]),r&45&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function xs(i,e,t){let{item:n}=e,r,s,l;function a(o){ce.call(this,i,o)}return i.$$set=o=>{"item"in o&&t(0,n=o.item)},i.$$.update=()=>{i.$$.dirty&1&&(n.result.type===Ne.QUERY?(t(1,r=Xe.joinUrlPaths($e(),`/queries/${n.result.name}`)),t(2,s="Queries")):n.result.type===Ne.MUTATION?(t(1,r=Xe.joinUrlPaths($e(),`/mutations/${n.result.name}`)),t(2,s="Mutations")):n.result.type===Ne.SUBSCRIPTION?(t(1,r=Xe.joinUrlPaths($e(),`/subscriptions/${n.result.name}`)),t(2,s="Subscriptions")):n.result.type===Ne.TYPE&&(t(1,r=Xe.joinUrlPaths($e(),`/types/${n.result.name}`)),t(2,s="Types"))),i.$$.dirty&1&&(n.matches[0].location.includes("arguments")?t(3,l="argument"):n.matches[0].location.includes("fields")?t(3,l="field"):n.matches[0].location.includes("value")?t(3,l="enum"):n.matches[0].location.includes("name")?t(3,l="name"):n.matches[0].location.includes("description")&&t(3,l="description"))},[n,r,s,l,a]}class qs extends J{constructor(e){super(),Q(this,e,xs,Ws,X,{item:0})}}function Xs(i){let e,t;return e=new Ft({props:{text:i[0].part.content,indexes:i[1]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.text=n[0].part.content),r&2&&(s.indexes=n[1]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Js(i){let e,t;return e=new Ft({props:{text:i[0].part.title,indexes:i[1]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.text=n[0].part.title),r&2&&(s.indexes=n[1]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Qs(i){let e,t,n,r,s,l,a,o;e=new Hi({props:{headers:i[2],section:i[0].data.section}});const u=[Js,Xs],f=[];function c(d,h){return d[0].part.type===Be.HEADER?0:1}return s=c(i),l=f[s]=u[s](i),{c(){P(e.$$.fragment),t=ie(),n=V("br"),r=ie(),l.c(),a=Y()},l(d){W(e.$$.fragment,d),t=re(d),n=U(d,"BR",{}),r=re(d),l.l(d),a=Y()},m(d,h){D(e,d,h),v(d,t,h),v(d,n,h),v(d,r,h),f[s].m(d,h),v(d,a,h),o=!0},p(d,h){const m={};h&4&&(m.headers=d[2]),h&1&&(m.section=d[0].data.section),e.$set(m);let w=s;s=c(d),s===w?f[s].p(d,h):(fe(),k(f[w],1,1,()=>{f[w]=null}),de(),l=f[s],l?l.p(d,h):(l=f[s]=u[s](d),l.c()),_(l,1),l.m(a.parentNode,a))},i(d){o||(_(e.$$.fragment,d),_(l),o=!0)},o(d){k(e.$$.fragment,d),k(l),o=!1},d(d){d&&(g(t),g(n),g(r),g(a)),G(e,d),f[s].d(d)}}}function $s(i){let e,t;return e=new Bi({props:{href:i[3],$$slots:{default:[Qs]},$$scope:{ctx:i}}}),e.$on("click",i[4]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,[r]){const s={};r&8&&(s.href=n[3]),r&39&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ea(i,e,t){let n,{result:r}=e,{indexes:s}=e,l;function a(o){ce.call(this,i,o)}return i.$$set=o=>{"result"in o&&t(0,r=o.result),"indexes"in o&&t(1,s=o.indexes)},i.$$.update=()=>{if(i.$$.dirty&1&&t(2,n=r.part.type===Be.HEADER?r.part.path:r.part.headers),i.$$.dirty&5){const o=n[n.length-1],u=r.data.url;!o||o.depth===1?t(3,l=u):t(3,l=`${u}#${o.id}`)}},[r,s,n,l,a]}class ta extends J{constructor(e){super(),Q(this,e,ea,$s,X,{result:0,indexes:1})}}function na(i){let e,t;return e=new qs({props:{item:i[0]}}),e.$on("click",i[2]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.item=n[0]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ia(i){let e,t;return e=new ta({props:{result:i[0].result,indexes:i[0].matches[0].indices}}),e.$on("click",i[1]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.result=n[0].result),r&1&&(s.indexes=n[0].matches[0].indices),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ra(i){let e,t,n,r;const s=[ia,na],l=[];function a(o,u){return o[0].type==="markdown"?0:o[0].type==="graphql"?1:-1}return~(e=a(i))&&(t=l[e]=s[e](i)),{c(){t&&t.c(),n=Y()},l(o){t&&t.l(o),n=Y()},m(o,u){~e&&l[e].m(o,u),v(o,n,u),r=!0},p(o,[u]){let f=e;e=a(o),e===f?~e&&l[e].p(o,u):(t&&(fe(),k(l[f],1,1,()=>{l[f]=null}),de()),~e?(t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),_(t,1),t.m(n.parentNode,n)):t=null)},i(o){r||(_(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),~e&&l[e].d(o)}}}function la(i,e,t){let{item:n}=e;function r(l){ce.call(this,i,l)}function s(l){ce.call(this,i,l)}return i.$$set=l=>{"item"in l&&t(0,n=l.item)},[n,r,s]}class sa extends J{constructor(e){super(),Q(this,e,la,ra,X,{item:0})}}function wn(i,e,t){const n=i.slice();return n[6]=e[t],n}function Sn(i){let e,t,n;function r(l){i[5](l)}let s={modalHeading:"Search",passiveModal:!0,selectorPrimaryFocus:"#search-bar",hasScrollingContent:!1,$$slots:{default:[aa]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.open=i[0]),e=new Ps({props:s}),Ae.push(()=>Pe(e,"open",r)),{c(){P(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){D(e,l,a),n=!0},p(l,a){const o={};a&519&&(o.$$scope={dirty:a,ctx:l}),!t&&a&1&&(t=!0,o.open=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function En(i){let e,t;return e=new sa({props:{item:i[6]}}),e.$on("click",i[4]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&4&&(s.item=n[6]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function aa(i){let e,t,n,r,s;function l(c){i[3](c)}let a={id:"search-bar"};i[1]!==void 0&&(a.value=i[1]),e=new vi({props:a}),Ae.push(()=>Pe(e,"value",l));let o=ye(i[2]),u=[];for(let c=0;ck(u[c],1,1,()=>{u[c]=null});return{c(){P(e.$$.fragment),n=ie(),r=V("div");for(let c=0;ct=!1)),e.$set(h),d&5){o=ye(c[2]);let m;for(m=0;m{n=null}),de())},i(r){t||(_(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function ua(i,e,t){let{open:n=!1}=e,r="",s;function l(u){r=u,t(1,r)}const a=()=>t(0,n=!1);function o(u){n=u,t(0,n)}return i.$$set=u=>{"open"in u&&t(0,n=u.open)},i.$$.update=()=>{i.$$.dirty&2&&t(2,s=Es(r))},[n,r,s,l,a,o]}class ca extends J{constructor(e){super(),Q(this,e,ua,oa,X,{open:0})}}function An(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function fa(i){let e,t,n=i[1]&&An(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ha extends J{constructor(e){super(),Q(this,e,da,fa,X,{size:0,title:1})}}function yn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ga(i){let e,t,n,r=i[1]&&yn(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],l={};for(let a=0;a{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class _a extends J{constructor(e){super(),Q(this,e,ma,ga,X,{size:0,title:1})}}function Mn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ba(i){let e,t,n,r=i[1]&&Mn(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],l={};for(let a=0;a{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ka extends J{constructor(e){super(),Q(this,e,pa,ba,X,{size:0,title:1})}}function Rn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function va(i){let e,t,n=i[1]&&Rn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Sa extends J{constructor(e){super(),Q(this,e,wa,va,X,{size:0,title:1})}}function On(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ea(i){let e,t,n=i[1]&&On(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ya extends J{constructor(e){super(),Q(this,e,Aa,Ea,X,{size:0,title:1})}}function In(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ma(i){let e,t,n=i[1]&&In(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Oa extends J{constructor(e){super(),Q(this,e,Ra,Ma,X,{size:0,title:1})}}function Nn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ia(i){let e,t,n,r,s=i[1]&&Nn(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],a={};for(let o=0;o{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ca extends J{constructor(e){super(),Q(this,e,Na,Ia,X,{size:0,title:1})}}function Cn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ta(i){let e,t,n=i[1]&&Cn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class La extends J{constructor(e){super(),Q(this,e,za,Ta,X,{size:0,title:1})}}function Tn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Fa(i){let e,t,n=i[1]&&Tn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ha extends J{constructor(e){super(),Q(this,e,Ba,Fa,X,{size:0,title:1})}}function zn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Pa(i){let e,t,n=i[1]&&zn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ga extends J{constructor(e){super(),Q(this,e,Da,Pa,X,{size:0,title:1})}}function Ln(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ja(i){let e,t,n=i[1]&&Ln(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ua extends J{constructor(e){super(),Q(this,e,Va,ja,X,{size:0,title:1})}}function Fn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ya(i){let e,t,n=i[1]&&Fn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ka extends J{constructor(e){super(),Q(this,e,Za,Ya,X,{size:0,title:1})}}function Bn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Wa(i){let e,t,n=i[1]&&Bn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class qa extends J{constructor(e){super(),Q(this,e,xa,Wa,X,{size:0,title:1})}}function Hn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Xa(i){let e,t,n=i[1]&&Hn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Qa extends J{constructor(e){super(),Q(this,e,Ja,Xa,X,{size:0,title:1})}}function Nt(i){var t;const e=((t=i.kind)==null?void 0:t.toLocaleLowerCase())||i.label.toLocaleLowerCase();return e.includes("github")?Oa:e.includes("linkedin")?La:e.includes("twitter")?Ka:e.includes("tumblr")?Ua:e.includes("instagram")?Ca:e.includes("facebook")?ya:e.includes("youtube")?qa:e.includes("discord")?Sa:e.includes("medium")?Ha:e.includes("slack")?Ga:e.includes("article")||e.includes("blog")?ha:e.includes("carbon")?_a:e.includes("playground")||e.includes("graphiql")||e.includes("demo")||e.includes("demonstration")?Qa:ka}function Pn(i,e,t){const n=i.slice();return n[1]=e[t],n}function $a(i){let e,t,n=ye(i[0]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l0&&$a(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),v(r,e,s),t=!0},p(r,[s]){r[0].length>0&&n.p(r,s)},i(r){t||(_(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function to(i){return[et(Je.EXTERNAL_LINKS,[]).filter(t=>(t==null?void 0:t.position)==="header")]}class no extends J{constructor(e){super(),Q(this,e,to,eo,X,{})}}function io(i){const e=i-1;return e*e*e+1}function Gn(i,{delay:e=0,duration:t=400,easing:n=io,axis:r="y"}={}){const s=getComputedStyle(i),l=+s.opacity,a=r==="y"?"height":"width",o=parseFloat(s[a]),u=r==="y"?["top","bottom"]:["left","right"],f=u.map(C=>`${C[0].toUpperCase()}${C.slice(1)}`),c=parseFloat(s[`padding${f[0]}`]),d=parseFloat(s[`padding${f[1]}`]),h=parseFloat(s[`margin${f[0]}`]),m=parseFloat(s[`margin${f[1]}`]),w=parseFloat(s[`border${f[0]}Width`]),O=parseFloat(s[`border${f[1]}Width`]);return{delay:e,duration:t,easing:n,css:C=>`overflow: hidden;opacity: ${Math.min(C*20,1)*l};${a}: ${C*o}px;padding-${u[0]}: ${C*c}px;padding-${u[1]}: ${C*d}px;margin-${u[0]}: ${C*h}px;margin-${u[1]}: ${C*m}px;border-${u[0]}-width: ${C*w}px;border-${u[1]}-width: ${C*O}px;`}}function jn(i){let e,t;return{c(){e=Z("title"),t=oe(i[1])},l(n){e=K(n,"title",{});var r=y(e);t=ue(r,i[1]),r.forEach(g)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ro(i){let e,t,n=i[1]&&jn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class so extends J{constructor(e){super(),Q(this,e,lo,ro,X,{size:0,title:1})}}const ao=i=>({}),Vn=i=>({}),oo=i=>({}),Un=i=>({}),uo=i=>({}),Yn=i=>({});function co(i){let e;const t=i[11].icon,n=_e(t,i,i[10],Un),r=n||ho(i);return{c(){r.c()},l(s){r.l(s)},m(s,l){r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&1024)&&be(n,t,s,s[10],e?ke(t,s[10],l,oo):pe(s[10]),Un):r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(_(r,s),e=!0)},o(s){k(r,s),e=!1},d(s){r.d(s)}}}function fo(i){let e;const t=i[11].closeIcon,n=_e(t,i,i[10],Yn),r=n||go(i);return{c(){r.c()},l(s){r.l(s)},m(s,l){r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&1024)&&be(n,t,s,s[10],e?ke(t,s[10],l,uo):pe(s[10]),Yn):r.p&&(!e||l&8)&&r.p(s,e?l:-1)},i(s){e||(_(r,s),e=!0)},o(s){k(r,s),e=!1},d(s){r.d(s)}}}function ho(i){let e,t,n;var r=i[2];function s(l,a){return{props:{size:20}}}return r&&(e=Oe(r,s())),{c(){e&&P(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&D(e,l,a),v(l,t,a),n=!0},p(l,a){if(a&4&&r!==(r=l[2])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Oe(r,s()),P(e.$$.fragment),_(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function go(i){let e,t,n;var r=i[3];function s(l,a){return{props:{size:20}}}return r&&(e=Oe(r,s())),{c(){e&&P(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&D(e,l,a),v(l,t,a),n=!0},p(l,a){if(a&8&&r!==(r=l[3])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Oe(r,s()),P(e.$$.fragment),_(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function Zn(i){let e,t;return{c(){e=V("span"),t=oe(i[4]),this.h()},l(n){e=U(n,"SPAN",{});var r=y(e);t=ue(r,i[4]),r.forEach(g),this.h()},h(){A(e,"bx--header__action-text",!0)},m(n,r){v(n,e,r),N(e,t)},p(n,r){r&16&&me(t,n[4])},d(n){n&&g(e)}}}function mo(i){let e,t=i[4]&&Zn(i);return{c(){t&&t.c(),e=Y()},l(n){t&&t.l(n),e=Y()},m(n,r){t&&t.m(n,r),v(n,e,r)},p(n,r){n[4]?t?t.p(n,r):(t=Zn(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&g(e),t&&t.d(n)}}}function Kn(i){let e,t,n;const r=i[11].default,s=_e(r,i,i[10],null);return{c(){e=V("div"),s&&s.c(),this.h()},l(l){e=U(l,"DIV",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--header-panel",!0),A(e,"bx--header-panel--expanded",!0)},m(l,a){v(l,e,a),s&&s.m(e,null),i[16](e),n=!0},p(l,a){i=l,s&&s.p&&(!n||a&1024)&&be(s,r,i,i[10],n?ke(r,i[10],a,null):pe(i[10]),null)},i(l){n||(_(s,l),l&<(()=>{n&&(t||(t=Ht(e,Gn,{...i[5],duration:i[5]===!1?0:i[5].duration},!0)),t.run(1))}),n=!0)},o(l){k(s,l),l&&(t||(t=Ht(e,Gn,{...i[5],duration:i[5]===!1?0:i[5].duration},!1)),t.run(0)),n=!1},d(l){l&&g(e),s&&s.d(l),i[16](null),l&&t&&t.end()}}}function _o(i){let e,t,n,r,s,l,a,o,u;const f=[fo,co],c=[];function d(E,I){return E[0]?0:1}t=d(i),n=c[t]=f[t](i);const h=i[11].text,m=_e(h,i,i[10],Vn),w=m||mo(i);let O=[{type:"button"},i[9]],C={};for(let E=0;E{c[b]=null}),de(),n=c[t],n?n.p(E,I):(n=c[t]=f[t](E),n.c()),_(n,1),n.m(e,r)),m?m.p&&(!a||I&1024)&&be(m,h,E,E[10],a?ke(h,E[10],I,ao):pe(E[10]),Vn):w.p&&(!a||I&16)&&w.p(E,a?I:-1),ve(e,C=he(O,[{type:"button"},I&512&&E[9]])),A(e,"bx--header__action",!0),A(e,"bx--header__action--active",E[0]),A(e,"bx--header__action--text",E[4]),E[0]?p?(p.p(E,I),I&1&&_(p,1)):(p=Kn(E),p.c(),_(p,1),p.m(l.parentNode,l)):p&&(fe(),k(p,1,1,()=>{p=null}),de())},i(E){a||(_(n),_(w,E),_(p),a=!0)},o(E){k(n),k(w,E),k(p),a=!1},d(E){E&&(g(e),g(s),g(l)),c[t].d(),w.d(E),i[14](null),p&&p.d(E),o=!1,We(u)}}}function bo(i,e,t){const n=["isOpen","icon","closeIcon","text","ref","transition","preventCloseOnClickOutside"];let r=B(e,n),{$$slots:s={},$$scope:l}=e,{isOpen:a=!1}=e,{icon:o=so}=e,{closeIcon:u=Ke}=e,{text:f=void 0}=e,{ref:c=null}=e,{transition:d={duration:200}}=e,{preventCloseOnClickOutside:h=!1}=e;const m=st();let w=null;function O(b){ce.call(this,i,b)}const C=({target:b})=>{a&&!c.contains(b)&&!w.contains(b)&&!h&&(t(0,a=!1),m("close"))};function p(b){Ae[b?"unshift":"push"](()=>{c=b,t(1,c)})}const E=()=>{t(0,a=!a),m(a?"open":"close")};function I(b){Ae[b?"unshift":"push"](()=>{w=b,t(7,w)})}return i.$$set=b=>{e=M(M({},e),x(b)),t(9,r=B(e,n)),"isOpen"in b&&t(0,a=b.isOpen),"icon"in b&&t(2,o=b.icon),"closeIcon"in b&&t(3,u=b.closeIcon),"text"in b&&t(4,f=b.text),"ref"in b&&t(1,c=b.ref),"transition"in b&&t(5,d=b.transition),"preventCloseOnClickOutside"in b&&t(6,h=b.preventCloseOnClickOutside),"$$scope"in b&&t(10,l=b.$$scope)},[a,c,o,u,f,d,h,w,m,r,l,s,O,C,p,E,I]}class po extends J{constructor(e){super(),Q(this,e,bo,_o,X,{isOpen:0,icon:2,closeIcon:3,text:4,ref:1,transition:5,preventCloseOnClickOutside:6})}}function Wn(i){let e,t;const n=i[2].default,r=_e(n,i,i[1],null);return{c(){e=V("li"),r&&r.c(),this.h()},l(s){e=U(s,"LI",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--header-panel-divider",!0)},m(s,l){v(s,e,l),r&&r.m(e,null),t=!0},p(s,l){r&&r.p&&(!t||l&2)&&be(r,n,s,s[1],t?ke(n,s[1],l,null):pe(s[1]),null)},i(s){t||(_(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function ko(i){let e,t,n,r=i[0].default&&Wn(i);return{c(){r&&r.c(),e=ie(),t=V("hr"),this.h()},l(s){r&&r.l(s),e=re(s),t=U(s,"HR",{}),this.h()},h(){A(t,"bx--switcher__item--divider",!0)},m(s,l){r&&r.m(s,l),v(s,e,l),v(s,t,l),n=!0},p(s,[l]){s[0].default?r?(r.p(s,l),l&1&&_(r,1)):(r=Wn(s),r.c(),_(r,1),r.m(e.parentNode,e)):r&&(fe(),k(r,1,1,()=>{r=null}),de())},i(s){n||(_(r),n=!0)},o(s){k(r),n=!1},d(s){s&&(g(e),g(t)),r&&r.d(s)}}}function vo(i,e,t){let{$$slots:n={},$$scope:r}=e;const s=Ct(n);return i.$$set=l=>{"$$scope"in l&&t(1,r=l.$$scope)},[s,r,n]}class wo extends J{constructor(e){super(),Q(this,e,vo,ko,X,{})}}function So(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("ul"),r&&r.c(),this.h()},l(s){e=U(s,"UL",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--switcher__item",!0)},m(s,l){v(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(_(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function Eo(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class Ao extends J{constructor(e){super(),Q(this,e,Eo,So,X,{})}}function yo(i){let e,t,n,r,s,l;const a=i[4].default,o=_e(a,i,i[3],null);let u=[{href:i[1]},{rel:n=i[2].target==="_blank"?"noopener noreferrer":void 0},i[2]],f={};for(let c=0;c{o=c,t(0,o)})}return i.$$set=c=>{e=M(M({},e),x(c)),t(2,r=B(e,n)),"href"in c&&t(1,a=c.href),"ref"in c&&t(0,o=c.ref),"$$scope"in c&&t(3,l=c.$$scope)},[o,a,r,l,s,u,f]}class Ro extends J{constructor(e){super(),Q(this,e,Mo,yo,X,{href:1,ref:0})}}function Oo(i){let e,t,n,r=i[0].label+"",s,l;var a=Nt(i[0]);function o(u,f){return{props:{size:16,style:"margin-right: 0.3rem"}}}return a&&(t=Oe(a,o())),{c(){e=V("div"),t&&P(t.$$.fragment),n=ie(),s=oe(r),this.h()},l(u){e=U(u,"DIV",{class:!0});var f=y(e);t&&W(t.$$.fragment,f),n=re(f),s=ue(f,r),f.forEach(g),this.h()},h(){L(e,"class","container svelte-1kq8gho")},m(u,f){v(u,e,f),t&&D(t,e,null),N(e,n),N(e,s),l=!0},p(u,f){if(f&1&&a!==(a=Nt(u[0]))){if(t){fe();const c=t;k(c.$$.fragment,1,0,()=>{G(c,1)}),de()}a?(t=Oe(a,o()),P(t.$$.fragment),_(t.$$.fragment,1),D(t,e,n)):t=null}(!l||f&1)&&r!==(r=u[0].label+"")&&me(s,r)},i(u){l||(t&&_(t.$$.fragment,u),l=!0)},o(u){t&&k(t.$$.fragment,u),l=!1},d(u){u&&g(e),t&&G(t)}}}function Io(i){let e,t;return e=new Ro({props:{href:i[0].href,$$slots:{default:[Oo]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,[r]){const s={};r&1&&(s.href=n[0].href),r&3&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function No(i,e,t){let{link:n}=e;return i.$$set=r=>{"link"in r&&t(0,n=r.link)},[n]}class Pi extends J{constructor(e){super(),Q(this,e,No,Io,X,{link:0})}}function xn(i,e,t){const n=i.slice();return n[3]=e[t],n}function qn(i,e,t){const n=i.slice();return n[6]=e[t],n}function Xn(i,e,t){const n=i.slice();return n[3]=e[t],n}function Co(i){let e,t;return e=new po({props:{transition:!1,$$slots:{default:[Lo]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&2048&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Jn(i){let e,t;return e=new Pi({props:{link:i[3]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p:q,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function To(i){let e=i[3].key+"",t;return{c(){t=oe(e)},l(n){t=ue(n,e)},m(n,r){v(n,t,r)},p:q,d(n){n&&g(t)}}}function Qn(i){let e,t;return e=new Pi({props:{link:i[6]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p:q,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function $n(i){let e,t,n,r;e=new wo({props:{$$slots:{default:[To]},$$scope:{ctx:i}}});let s=ye(i[3].value),l=[];for(let o=0;ok(l[o],1,1,()=>{l[o]=null});return{c(){P(e.$$.fragment),t=ie();for(let o=0;ok(s[f],1,1,()=>{s[f]=null});let a=ye(i[2]),o=[];for(let f=0;fk(o[f],1,1,()=>{o[f]=null});return{c(){for(let f=0;f0&&Co(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),v(r,e,s),t=!0},p(r,[s]){r[0].length>0&&n.p(r,s)},i(r){t||(_(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function Bo(i){const e=et(Je.EXTERNAL_LINKS,[]).filter(r=>(r==null?void 0:r.position)==="navigation"||!(r!=null&&r.position)),t=e.filter(r=>!!(r&&!r.group)),n=pt.map(pt.groupBy(e.filter(r=>!!(r!=null&&r.group)),r=>r.group),(r,s)=>({key:s,value:r}));return[e,t,n]}class Ho extends J{constructor(e){super(),Q(this,e,Bo,Fo,X,{})}}function Po(i){let e,t,n;return t=new vi({props:{placeholder:`Search ${kt}... (${i[3]?"⌘":"Ctrl"}+K)`,autocomplete:"off",size:"sm"}}),t.$on("focus",i[5]),{c(){e=V("div"),P(t.$$.fragment),this.h()},l(r){e=U(r,"DIV",{class:!0});var s=y(e);W(t.$$.fragment,s),s.forEach(g),this.h()},h(){L(e,"class","search-bar-wrapper svelte-1n6280p")},m(r,s){v(r,e,s),D(t,e,null),n=!0},p(r,s){const l={};s&8&&(l.placeholder=`Search ${kt}... (${r[3]?"⌘":"Ctrl"}+K)`),t.$set(l)},i(r){n||(_(t.$$.fragment,r),n=!0)},o(r){k(t.$$.fragment,r),n=!1},d(r){r&&g(e),G(t)}}}function Do(i){let e,t;return e=new ki({props:{icon:kl,iconDescription:"Search"}}),e.$on("click",i[4]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p:q,i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Go(i){let e,t,n,r,s,l,a;const o=[Do,Po],u=[];function f(c,d){return c[1]?0:1}return e=f(i),t=u[e]=o[e](i),r=new no({}),l=new Ho({}),{c(){t.c(),n=ie(),P(r.$$.fragment),s=ie(),P(l.$$.fragment)},l(c){t.l(c),n=re(c),W(r.$$.fragment,c),s=re(c),W(l.$$.fragment,c)},m(c,d){u[e].m(c,d),v(c,n,d),D(r,c,d),v(c,s,d),D(l,c,d),a=!0},p(c,d){let h=e;e=f(c),e===h?u[e].p(c,d):(fe(),k(u[h],1,1,()=>{u[h]=null}),de(),t=u[e],t?t.p(c,d):(t=u[e]=o[e](c),t.c()),_(t,1),t.m(n.parentNode,n))},i(c){a||(_(t),_(r.$$.fragment,c),_(l.$$.fragment,c),a=!0)},o(c){k(t),k(r.$$.fragment,c),k(l.$$.fragment,c),a=!1},d(c){c&&(g(n),g(s)),u[e].d(c),G(r,c),G(l,c)}}}function jo(i){let e,t;return e=new rl({props:{$$slots:{default:[Go]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&526&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Vo(i){let e,t,n;return t=new Dr({}),{c(){e=V("div"),P(t.$$.fragment),this.h()},l(r){e=U(r,"DIV",{slot:!0,class:!0});var s=y(e);W(t.$$.fragment,s),s.forEach(g),this.h()},h(){L(e,"slot","platform"),L(e,"class","header-logo-wrapper svelte-1n6280p")},m(r,s){v(r,e,s),D(t,e,null),n=!0},p:q,i(r){n||(_(t.$$.fragment,r),n=!0)},o(r){k(t.$$.fragment,r),n=!1},d(r){r&&g(e),G(t)}}}function Uo(i){let e,t,n,r,s,l;function a(c){i[6](c)}let o={href:kr||"/",expandedByDefault:!0,$$slots:{platform:[Vo],default:[jo]},$$scope:{ctx:i}};i[0]!==void 0&&(o.isSideNavOpen=i[0]),e=new Qr({props:o}),Ae.push(()=>Pe(e,"isSideNavOpen",a));function u(c){i[7](c)}let f={};return i[2]!==void 0&&(f.open=i[2]),r=new ca({props:f}),Ae.push(()=>Pe(r,"open",u)),{c(){P(e.$$.fragment),n=ie(),P(r.$$.fragment)},l(c){W(e.$$.fragment,c),n=re(c),W(r.$$.fragment,c)},m(c,d){D(e,c,d),v(c,n,d),D(r,c,d),l=!0},p(c,[d]){const h={};d&526&&(h.$$scope={dirty:d,ctx:c}),!t&&d&1&&(t=!0,h.isSideNavOpen=c[0],He(()=>t=!1)),e.$set(h);const m={};!s&&d&4&&(s=!0,m.open=c[2],He(()=>s=!1)),r.$set(m)},i(c){l||(_(e.$$.fragment,c),_(r.$$.fragment,c),l=!0)},o(c){k(e.$$.fragment,c),k(r.$$.fragment,c),l=!1},d(c){c&&g(n),G(e,c),G(r,c)}}}function Yo(i,e,t){let{isSideNavOpen:n=!0}=e,{mobile:r=!1}=e,s=!1,l=!1,a=d=>{d.metaKey||d.ctrlKey?d.key==="k"&&(d.preventDefault(),t(2,s=!0)):d.key==="Escape"&&t(2,s=!1)};Tt(()=>{var d,h;t(3,l=((h=(d=navigator==null?void 0:navigator.userAgent)==null?void 0:d.toUpperCase())==null?void 0:h.indexOf("MAC"))>=0),window.addEventListener("keydown",a)}),fi(()=>{window.removeEventListener("keydown",a)});const o=()=>t(2,s=!0),u=()=>t(2,s=!0);function f(d){n=d,t(0,n)}function c(d){s=d,t(2,s)}return i.$$set=d=>{"isSideNavOpen"in d&&t(0,n=d.isSideNavOpen),"mobile"in d&&t(1,r=d.mobile)},[n,r,s,l,o,u,f,c]}class Zo extends J{constructor(e){super(),Q(this,e,Yo,Uo,X,{isSideNavOpen:0,mobile:1})}}function ei(i){let e,t,n;return{c(){e=V("div"),this.h()},l(r){e=U(r,"DIV",{}),y(e).forEach(g),this.h()},h(){A(e,"bx--side-nav__overlay",!0),A(e,"bx--side-nav__overlay-active",i[0]),je(e,"z-index",i[0]?6e3:void 0)},m(r,s){v(r,e,s),t||(n=se(e,"click",i[11]),t=!0)},p(r,s){s&1&&A(e,"bx--side-nav__overlay-active",r[0]),s&1&&je(e,"z-index",r[0]?6e3:void 0)},d(r){r&&g(e),t=!1,n()}}}function Ko(i){let e,t,n,r,s,l;lt(i[10]);let a=!i[1]&&ei(i);const o=i[9].default,u=_e(o,i,i[8],null);let f=[{"aria-hidden":n=!i[0]},{"aria-label":i[3]},i[7]],c={};for(let d=0;d=i[4]?!1:i[0]),A(t,"bx--side-nav--collapsed",!i[0]&&!i[2]),A(t,"bx--side-nav--rail",i[2])},m(d,h){a&&a.m(d,h),v(d,e,h),v(d,t,h),u&&u.m(t,null),r=!0,s||(l=se(window,"resize",i[10]),s=!0)},p(d,[h]){d[1]?a&&(a.d(1),a=null):a?a.p(d,h):(a=ei(d),a.c(),a.m(e.parentNode,e)),u&&u.p&&(!r||h&256)&&be(u,o,d,d[8],r?ke(o,d[8],h,null):pe(d[8]),null),ve(t,c=he(f,[(!r||h&1&&n!==(n=!d[0]))&&{"aria-hidden":n},(!r||h&8)&&{"aria-label":d[3]},h&128&&d[7]])),A(t,"bx--side-nav__navigation",!0),A(t,"bx--side-nav",!0),A(t,"bx--side-nav--ux",!0),A(t,"bx--side-nav--expanded",d[2]&&d[5]>=d[4]?!1:d[0]),A(t,"bx--side-nav--collapsed",!d[0]&&!d[2]),A(t,"bx--side-nav--rail",d[2])},i(d){r||(_(u,d),r=!0)},o(d){k(u,d),r=!1},d(d){d&&(g(e),g(t)),a&&a.d(d),u&&u.d(d),s=!1,l()}}}function Wo(i,e,t){const n=["fixed","rail","ariaLabel","isOpen","expansionBreakpoint"];let r=B(e,n),s,l;Ze(i,St,p=>t(12,s=p)),Ze(i,wt,p=>t(13,l=p));let{$$slots:a={},$$scope:o}=e,{fixed:u=!1}=e,{rail:f=!1}=e,{ariaLabel:c=void 0}=e,{isOpen:d=!1}=e,{expansionBreakpoint:h=1056}=e;const m=st();let w;Tt(()=>(vt.set(!0),()=>vt.set(!1)));function O(){t(5,w=window.innerWidth)}const C=()=>{m("click:overlay"),t(0,d=!1)};return i.$$set=p=>{e=M(M({},e),x(p)),t(7,r=B(e,n)),"fixed"in p&&t(1,u=p.fixed),"rail"in p&&t(2,f=p.rail),"ariaLabel"in p&&t(3,c=p.ariaLabel),"isOpen"in p&&t(0,d=p.isOpen),"expansionBreakpoint"in p&&t(4,h=p.expansionBreakpoint),"$$scope"in p&&t(8,o=p.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&m(d?"open":"close"),i.$$.dirty&1&&bt(wt,l=!d,l),i.$$.dirty&4&&bt(St,s=f,s)},[d,u,f,c,h,w,m,r,o,a,O,C]}class xo extends J{constructor(e){super(),Q(this,e,Wo,Ko,X,{fixed:1,rail:2,ariaLabel:3,isOpen:0,expansionBreakpoint:4})}}function qo(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=V("ul"),r&&r.c(),this.h()},l(s){e=U(s,"UL",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--side-nav__items",!0)},m(s,l){v(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(_(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function Xo(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class Jo extends J{constructor(e){super(),Q(this,e,Xo,qo,X,{})}}const Qo=i=>({}),ti=i=>({});function ni(i){let e,t;const n=i[7].icon,r=_e(n,i,i[6],ti),s=r||$o(i);return{c(){e=V("div"),s.c(),this.h()},l(l){e=U(l,"DIV",{});var a=y(e);s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--side-nav__icon",!0)},m(l,a){v(l,e,a),s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a&64)&&be(r,n,l,l[6],t?ke(n,l[6],a,Qo):pe(l[6]),ti):s.p&&(!t||a&8)&&s.p(l,t?a:-1)},i(l){t||(_(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s.d(l)}}}function $o(i){let e,t,n;var r=i[3];function s(l,a){return{}}return r&&(e=Oe(r,s())),{c(){e&&P(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&D(e,l,a),v(l,t,a),n=!0},p(l,a){if(a&8&&r!==(r=l[3])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{G(o,1)}),de()}r?(e=Oe(r,s()),P(e.$$.fragment),_(e.$$.fragment,1),D(e,t.parentNode,t)):e=null}},i(l){n||(e&&_(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&G(e,l)}}}function eu(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m=(i[5].icon||i[3])&&ni(i);o=new br({});let w=[{type:"button"},{"aria-expanded":i[0]},i[4]],O={};for(let E=0;E{m=null}),de()),(!c||I&4)&&me(s,E[2]),ve(t,O=he(w,[{type:"button"},(!c||I&1)&&{"aria-expanded":E[0]},I&16&&E[4]])),A(t,"bx--side-nav__submenu",!0),p&&p.p&&(!c||I&64)&&be(p,C,E,E[6],c?ke(C,E[6],I,null):pe(E[6]),null),I&1&&je(f,"max-height",E[0]?"none":void 0),(!c||I&8)&&A(e,"bx--side-nav__item--icon",E[3])},i(E){c||(_(m),_(o.$$.fragment,E),_(p,E),c=!0)},o(E){k(m),k(o.$$.fragment,E),k(p,E),c=!1},d(E){E&&g(e),m&&m.d(),G(o),i[9](null),p&&p.d(E),d=!1,We(h)}}}function tu(i,e,t){const n=["expanded","text","icon","ref"];let r=B(e,n),{$$slots:s={},$$scope:l}=e;const a=Ct(s);let{expanded:o=!1}=e,{text:u=void 0}=e,{icon:f=void 0}=e,{ref:c=null}=e;function d(w){ce.call(this,i,w)}function h(w){Ae[w?"unshift":"push"](()=>{c=w,t(1,c)})}const m=()=>{t(0,o=!o)};return i.$$set=w=>{e=M(M({},e),x(w)),t(4,r=B(e,n)),"expanded"in w&&t(0,o=w.expanded),"text"in w&&t(2,u=w.text),"icon"in w&&t(3,f=w.icon),"ref"in w&&t(1,c=w.ref),"$$scope"in w&&t(6,l=w.$$scope)},[o,c,u,f,r,a,l,s,d,h,m]}class nu extends J{constructor(e){super(),Q(this,e,tu,eu,X,{expanded:0,text:2,icon:3,ref:1})}}function iu(i){let e;return{c(){e=oe(i[3])},l(t){e=ue(t,i[3])},m(t,n){v(t,e,n)},p(t,n){n&8&&me(e,t[3])},d(t){t&&g(e)}}}function ru(i){let e,t,n,r,s,l,a;const o=i[6].default,u=_e(o,i,i[5],null),f=u||iu(i);let c=[{"aria-current":r=i[1]?"page":void 0},{href:i[2]},i[4]],d={};for(let h=0;h{f=h,t(0,f)})}return i.$$set=h=>{e=M(M({},e),x(h)),t(4,r=B(e,n)),"isSelected"in h&&t(1,a=h.isSelected),"href"in h&&t(2,o=h.href),"text"in h&&t(3,u=h.text),"ref"in h&&t(0,f=h.ref),"$$scope"in h&&t(5,l=h.$$scope)},[f,a,o,u,r,l,s,c,d]}class su extends J{constructor(e){super(),Q(this,e,lu,ru,X,{isSelected:1,href:2,text:3,ref:0})}}function au(i){let e,t;const n=[{href:i[0]},{text:i[1]},{isSelected:i[2]===i[0]},i[3]];let r={};for(let s=0;s{e=M(M({},e),x(o)),t(3,r=B(e,n)),"href"in o&&t(0,s=o.href),"text"in o&&t(1,l=o.text),"currentRef"in o&&t(2,a=o.currentRef)},[s,l,a,r]}class uu extends J{constructor(e){super(),Q(this,e,ou,au,X,{href:0,text:1,currentRef:2})}}function cu(i){let e,t;return e=new uu({props:{href:i[0].href,text:i[0].title,class:i[0].deprecated?"deprecated":"",currentRef:i[1].url.pathname}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,[r]){const s={};r&1&&(s.href=n[0].href),r&1&&(s.text=n[0].title),r&1&&(s.class=n[0].deprecated?"deprecated":""),r&2&&(s.currentRef=n[1].url.pathname),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function fu(i,e,t){let n;Ze(i,hi,s=>t(1,n=s));let{item:r}=e;return i.$$set=s=>{"item"in s&&t(0,r=s.item)},[r,n]}class Di extends J{constructor(e){super(),Q(this,e,fu,cu,X,{item:0})}}function ii(i,e,t){const n=i.slice();return n[3]=e[t],n}function ri(i,e,t){const n=i.slice();return n[6]=e[t],n}function du(i){let e,t;return e=new nu({props:{text:i[3].title,expanded:!0,$$slots:{default:[gu]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.text=n[3].title),r&514&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function hu(i){let e,t;return e=new Di({props:{item:i[3]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.item=n[3]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function li(i){let e,t;return e=new Di({props:{item:i[6]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.item=n[6]),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function si(i){let e,t,n=i[6].type==="page"&&li(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),v(r,e,s),t=!0},p(r,s){r[6].type==="page"?n?(n.p(r,s),s&2&&_(n,1)):(n=li(r),n.c(),_(n,1),n.m(e.parentNode,e)):n&&(fe(),k(n,1,1,()=>{n=null}),de())},i(r){t||(_(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function gu(i){let e,t,n=ye(i[3].children),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),_(t,1),t.m(n.parentNode,n))},i(o){r||(_(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function mu(i){let e,t,n=ye(i[1]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;lPe(e,"isOpen",r)),{c(){P(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){D(e,l,a),n=!0},p(l,[a]){const o={};a&514&&(o.$$scope={dirty:a,ctx:l}),!t&&a&1&&(t=!0,o.isOpen=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(_(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){G(e,l)}}}function pu(i,e,t){let{isOpen:n=!0}=e,{content:r}=e;function s(l){n=l,t(0,n)}return i.$$set=l=>{"isOpen"in l&&t(0,n=l.isOpen),"content"in l&&t(1,r=l.content)},[n,r,s]}class ku extends J{constructor(e){super(),Q(this,e,pu,bu,X,{isOpen:0,content:1})}}const vu=wu({appTitle:kt,appIcon:bi},et(Je.SITE_META,{}));function wu(i,e){return pt.map({...Su(i),...e||{}},(t,n)=>({name:n,content:t})).filter(t=>!!t.content)}function Su(i){const e=`${i.appTitle}'s GraphQL documentation`;return{keywords:`graphql,api,documentation,${i.appTitle}`,description:e,"og:title":i.appTitle,"og:type":"article","og:image":i.appIcon,"og:site_name":i.appTitle,"og:description":e}}const Eu=et(Je.CUSTOM_STYLES,[]),Au=i=>({props:i&2}),oi=i=>({props:i[1]});function yu(i){let e,t;const n=i[14].default,r=_e(n,i,i[13],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),_(t,1),t.m(n.parentNode,n))},i(o){r||(_(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Ou(i,e,t){let n,r;const s=["as","noGutter","noGutterLeft","noGutterRight","padding","aspectRatio","sm","md","lg","xlg","max"];let l=B(e,s),{$$slots:a={},$$scope:o}=e,{as:u=!1}=e,{noGutter:f=!1}=e,{noGutterLeft:c=!1}=e,{noGutterRight:d=!1}=e,{padding:h=!1}=e,{aspectRatio:m=void 0}=e,{sm:w=void 0}=e,{md:O=void 0}=e,{lg:C=void 0}=e,{xlg:p=void 0}=e,{max:E=void 0}=e;const I=["sm","md","lg","xlg","max"];return i.$$set=b=>{e=M(M({},e),x(b)),t(16,l=B(e,s)),"as"in b&&t(0,u=b.as),"noGutter"in b&&t(2,f=b.noGutter),"noGutterLeft"in b&&t(3,c=b.noGutterLeft),"noGutterRight"in b&&t(4,d=b.noGutterRight),"padding"in b&&t(5,h=b.padding),"aspectRatio"in b&&t(6,m=b.aspectRatio),"sm"in b&&t(7,w=b.sm),"md"in b&&t(8,O=b.md),"lg"in b&&t(9,C=b.lg),"xlg"in b&&t(10,p=b.xlg),"max"in b&&t(11,E=b.max),"$$scope"in b&&t(13,o=b.$$scope)},i.$$.update=()=>{i.$$.dirty&3968&&t(12,n=[w,O,C,p,E].map((b,F)=>{const $=I[F];if(b===!0)return`bx--col-${$}`;if(typeof b=="number")return`bx--col-${$}-${b}`;if(typeof b=="object"){let R=[];return typeof b.span=="number"?R=[...R,`bx--col-${$}-${b.span}`]:b.span===!0&&(R=[...R,`bx--col-${$}`]),typeof b.offset=="number"&&(R=[...R,`bx--offset-${$}-${b.offset}`]),R.join(" ")}}).filter(Boolean).join(" ")),t(1,r={...l,class:[l.class,n,!n&&"bx--col",f&&"bx--no-gutter",c&&"bx--no-gutter--left",d&&"bx--no-gutter--right",m&&`bx--aspect-ratio bx--aspect-ratio--${m}`,h&&"bx--col-padding"].filter(Boolean).join(" ")})},[u,r,f,c,d,h,m,w,O,C,p,E,n,o,a]}class Iu extends J{constructor(e){super(),Q(this,e,Ou,Ru,X,{as:0,noGutter:2,noGutterLeft:3,noGutterRight:4,padding:5,aspectRatio:6,sm:7,md:8,lg:9,xlg:10,max:11})}}function Nu(i){let e,t;const n=i[6].default,r=_e(n,i,i[5],null);let s=[{id:i[0]},i[2]],l={};for(let a=0;at(3,l=c)),Ze(i,wt,c=>t(4,a=c));let{$$slots:o={},$$scope:u}=e,{id:f="main-content"}=e;return i.$$set=c=>{e=M(M({},e),x(c)),t(2,s=B(e,r)),"id"in c&&t(0,f=c.id),"$$scope"in c&&t(5,u=c.$$scope)},i.$$.update=()=>{i.$$.dirty&24&&t(1,n=a&&!l)},[f,n,s,l,a,u,o]}class Tu extends J{constructor(e){super(),Q(this,e,Cu,Nu,X,{id:0})}}const zu=i=>({props:i&2}),ui=i=>({props:i[1]});function Lu(i){let e,t;const n=i[10].default,r=_e(n,i,i[9],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),_(t,1),t.m(n.parentNode,n))},i(o){r||(_(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Hu(i,e,t){let n;const r=["as","condensed","narrow","fullWidth","noGutter","noGutterLeft","noGutterRight","padding"];let s=B(e,r),{$$slots:l={},$$scope:a}=e,{as:o=!1}=e,{condensed:u=!1}=e,{narrow:f=!1}=e,{fullWidth:c=!1}=e,{noGutter:d=!1}=e,{noGutterLeft:h=!1}=e,{noGutterRight:m=!1}=e,{padding:w=!1}=e;return i.$$set=O=>{e=M(M({},e),x(O)),t(11,s=B(e,r)),"as"in O&&t(0,o=O.as),"condensed"in O&&t(2,u=O.condensed),"narrow"in O&&t(3,f=O.narrow),"fullWidth"in O&&t(4,c=O.fullWidth),"noGutter"in O&&t(5,d=O.noGutter),"noGutterLeft"in O&&t(6,h=O.noGutterLeft),"noGutterRight"in O&&t(7,m=O.noGutterRight),"padding"in O&&t(8,w=O.padding),"$$scope"in O&&t(9,a=O.$$scope)},i.$$.update=()=>{t(1,n={...s,class:[s.class,"bx--grid",u&&"bx--grid--condensed",f&&"bx--grid--narrow",c&&"bx--grid--full-width",d&&"bx--no-gutter",h&&"bx--no-gutter--left",m&&"bx--no-gutter--right",w&&"bx--row-padding"].filter(Boolean).join(" ")})},[o,n,u,f,c,d,h,m,w,a,l]}class Pu extends J{constructor(e){super(),Q(this,e,Hu,Bu,X,{as:0,condensed:2,narrow:3,fullWidth:4,noGutter:5,noGutterLeft:6,noGutterRight:7,padding:8})}}const Du=i=>({props:i&2}),ci=i=>({props:i[1]});function Gu(i){let e,t;const n=i[9].default,r=_e(n,i,i[8],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),_(t,1),t.m(n.parentNode,n))},i(o){r||(_(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Uu(i,e,t){let n;const r=["as","condensed","narrow","noGutter","noGutterLeft","noGutterRight","padding"];let s=B(e,r),{$$slots:l={},$$scope:a}=e,{as:o=!1}=e,{condensed:u=!1}=e,{narrow:f=!1}=e,{noGutter:c=!1}=e,{noGutterLeft:d=!1}=e,{noGutterRight:h=!1}=e,{padding:m=!1}=e;return i.$$set=w=>{e=M(M({},e),x(w)),t(10,s=B(e,r)),"as"in w&&t(0,o=w.as),"condensed"in w&&t(2,u=w.condensed),"narrow"in w&&t(3,f=w.narrow),"noGutter"in w&&t(4,c=w.noGutter),"noGutterLeft"in w&&t(5,d=w.noGutterLeft),"noGutterRight"in w&&t(6,h=w.noGutterRight),"padding"in w&&t(7,m=w.padding),"$$scope"in w&&t(8,a=w.$$scope)},i.$$.update=()=>{t(1,n={...s,class:[s.class,"bx--row",u&&"bx--row--condensed",f&&"bx--row--narrow",c&&"bx--no-gutter",d&&"bx--no-gutter--left",h&&"bx--no-gutter--right",m&&"bx--row-padding"].filter(Boolean).join(" ")})},[o,n,u,f,c,d,h,m,a,l]}class Yu extends J{constructor(e){super(),Q(this,e,Uu,Vu,X,{as:0,condensed:2,narrow:3,noGutter:4,noGutterLeft:5,noGutterRight:6,padding:7})}}const{window:Gi}=vr;function Zu(i,e,t){const n=i.slice();return n[10]=e[t],n}function Ku(i,e,t){const n=i.slice();return n[13]=e[t],n}function Wu(i){let e;return{c(){e=V("meta"),this.h()},l(t){e=U(t,"META",{name:!0,content:!0}),this.h()},h(){L(e,"name",i[13].name),L(e,"content",i[13].content)},m(t,n){v(t,e,n)},p:q,d(t){t&&g(e)}}}function xu(i){let e;return{c(){e=V("link"),this.h()},l(t){e=U(t,"LINK",{rel:!0,href:!0}),this.h()},h(){L(e,"rel","stylesheet"),L(e,"href",i[10])},m(t,n){v(t,e,n)},p:q,d(t){t&&g(e)}}}function qu(i){let e;return{c(){e=V("link"),this.h()},l(t){e=U(t,"LINK",{rel:!0,href:!0}),this.h()},h(){L(e,"rel","icon"),L(e,"href",i[3])},m(t,n){v(t,e,n)},p:q,d(t){t&&g(e)}}}function Xu(i){let e;const t=i[4].default,n=_e(t,i,i[8],null);return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,s){n&&n.m(r,s),e=!0},p(r,s){n&&n.p&&(!e||s&256)&&be(n,t,r,r[8],e?ke(t,r[8],s,null):pe(r[8]),null)},i(r){e||(_(n,r),e=!0)},o(r){k(n,r),e=!1},d(r){n&&n.d(r)}}}function Ju(i){let e,t;return e=new Iu({props:{$$slots:{default:[Xu]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function Qu(i){let e,t;return e=new Yu({props:{$$slots:{default:[Ju]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function $u(i){let e,t;return e=new Pu({props:{$$slots:{default:[Qu]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){D(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(_(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){G(e,n)}}}function ec(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m;lt(i[5]);let w=ye(vu),O=[];for(let R=0;RPe(s,"isSideNavOpen",I));function F(R){i[7](R)}let $={content:di};return i[1]!==void 0&&($.isOpen=i[1]),o=new ku({props:$}),Ae.push(()=>Pe(o,"isOpen",F)),c=new Tu({props:{$$slots:{default:[$u]},$$scope:{ctx:i}}}),{c(){for(let R=0;Rl=!1)),s.$set(S);const j={};!u&&ee&2&&(u=!0,j.isOpen=R[1],He(()=>u=!1)),o.$set(j);const ae={};ee&256&&(ae.$$scope={dirty:ee,ctx:R}),c.$set(ae)},i(R){d||(_(s.$$.fragment,R),_(o.$$.fragment,R),_(c.$$.fragment,R),d=!0)},o(R){k(s.$$.fragment,R),k(o.$$.fragment,R),k(c.$$.fragment,R),d=!1},d(R){R&&(g(r),g(a),g(f)),Le(O,R),g(e),Le(p,R),g(t),E&&E.d(R),g(n),G(s,R),G(o,R),G(c,R),h=!1,m()}}}const tc=1056;function nc(i,e,t){let{$$slots:n={},$$scope:r}=e;_i(),pr.languages.insertBefore("shell","function",{keyword:{pattern:/(^\s*)(?:magidoc|pnpm|npm|yarn)(?=\s)/m,lookbehind:!0}});let s=!1,l=-1,a=!1;const o=mr(Je.APP_FAVICON),u=hi.subscribe(()=>{a&&t(1,s=!1)});fi(u);function f(){t(0,l=Gi.innerWidth)}function c(h){s=h,t(1,s)}function d(h){s=h,t(1,s)}return i.$$set=h=>{"$$scope"in h&&t(8,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&t(2,a=l[a-z0-9-]+)(?.*)?\n(?(?:.|\n)*)\n:::(?:\n|$)/i.exec(Ar(e));if(!n||!n.groups)return null;const r=n.groups.type.toLocaleLowerCase(),s=yr(n.groups.options||""),l=n.groups.content||"",a=i({type:r,content:l,raw:n[0],options:s,lexer:this.lexer});return a!=null&&a.tokens&&this.lexer.blockTokens(l,a.tokens),a}}}function Ar(i){if(!i.startsWith(":::"))return;const e=i.split(` -`);let t=1,n=1;for(n=1;n[a-z0-9]+)(?:="(?(?:.*?))")?/i.exec(t);if(!l)break;const a=(n=l==null?void 0:l.groups)==null?void 0:n.name;a&&(e[a]=((r=l==null?void 0:l.groups)==null?void 0:r.value)??!0),t=t.slice(l.index+l[0].length)}return e}const Mr={containerExtension:Sr};let gi=new zt,mi=[];const Rr=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function Ir(i){return i.replace(Rr,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}function Or({prefix:i="",globalSlugs:e=!1}={}){return{headerIds:!1,hooks:{preprocess(t){return e||Nr(),t}},useNewRenderer:!0,renderer:{heading({tokens:t,depth:n}){const r=this.parser.parseInline(t),s=Ir(this.parser.parseInline(t,this.parser.textRenderer)).toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,""),l=n,a=`${i}${gi.slug(s)}`,o={level:l,text:r,id:a};return mi.push(o),`${r} -`}}}}function Nr(){mi=[],gi=new zt}const Cr=["error","success","info","warning"];function Tr({options:i,raw:e}){var r,s,l;const t=((l=(s=(r=i.type)==null?void 0:r.toString())==null?void 0:s.toLocaleLowerCase())==null?void 0:l.trim())??"info",n=Cr.some(a=>a===t)?t:"info";return{type:"notification",raw:e,style:n,tokens:[]}}function zr({lexer:i,content:e,raw:t}){const n=e.split(` -`),r=n.map((l,a)=>l.startsWith("---")?a:-1).filter(l=>l!==-1);if(r.length===0)return null;const s=r.map((l,a)=>{const o=n[l].replace("---","").trim(),u=n.slice(l+1,r[a+1]??n.length).join(` -`),f=[];return i.blockTokens(u,f),{title:o,raw:u,tokens:f}});return{type:"tabs",raw:t,tabs:s}}const Lr=["red","magenta","purple","blue","cyan","teal","green","gray","cool-gray","warm-gray","high-contrast","outline"];function Fr({options:i,raw:e,content:t}){const r=(i.colors??i.color??"outline").toString().toLocaleLowerCase().split(",").map(s=>s.trim().toLocaleLowerCase()).filter(s=>Lr.some(l=>s===l));return{type:"tags",raw:e,tags:t.split(",").map(s=>({name:s})),colors:r.length===0?["outline"]:r}}function _i(){Dt.use(Or()),Dt.use({gfm:!0,breaks:!1,silent:!1,extensions:[Mr.containerExtension(i=>{switch(i.type){case"notification":return Tr(i);case"tags":return Fr(i);case"tabs":return zr(i);default:return null}})]})}(function(i){var e=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");i.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return e}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:i.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},i.languages["sh-session"]=i.languages.shellsession=i.languages["shell-session"]})(Prism);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(i){i.languages.typescript=i.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),i.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete i.languages.typescript.parameter,delete i.languages.typescript["literal-property"];var e=i.languages.extend("typescript",{});delete e["class-name"],i.languages.typescript["class-name"].inside=e,i.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),i.languages.ts=i.languages.typescript})(Prism);Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/};Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python;Prism.languages.py=Prism.languages.python;(function(i){i.languages.ruby=i.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),i.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:i.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete i.languages.ruby.function;var t="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;i.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+t+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),i.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+t),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+t),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete i.languages.ruby.string,i.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),i.languages.rb=i.languages.ruby})(Prism);(function(i){var e=/[*&][^\s[\]{},]+/,t=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+t.source+"(?:[ ]+"+e.source+")?|"+e.source+"(?:[ ]+"+t.source+")?)",r=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function l(a,o){o=(o||"").replace(/m/g,"")+"m";var u=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return a});return RegExp(u,o)}i.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return"(?:"+r+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:t,important:e,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},i.languages.yml=i.languages.yaml})(Prism);(function(i){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",t={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:t,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};i.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:t}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},t.inside=i.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=n.variable[1].inside,l=0;l>/g,function(Oe,Ge){return"(?:"+Se[+Ge]+")"})}function t(Ee,Se,Oe){return RegExp(e(Ee,Se),"")}function n(Ee,Se){for(var Oe=0;Oe>/g,function(){return"(?:"+Ee+")"});return Ee.replace(/<>/g,"[^\\s\\S]")}var r={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(Ee){return"\\b(?:"+Ee.trim().replace(/ /g,"|")+")\\b"}var l=s(r.typeDeclaration),a=RegExp(s(r.type+" "+r.typeDeclaration+" "+r.contextual+" "+r.other)),o=s(r.typeDeclaration+" "+r.contextual+" "+r.other),u=s(r.type+" "+r.typeDeclaration+" "+r.other),f=n(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),c=n(/\((?:[^()]|<>)*\)/.source,2),d=/@?\b[A-Za-z_]\w*\b/.source,h=e(/<<0>>(?:\s*<<1>>)?/.source,[d,f]),m=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[o,h]),v=/\[\s*(?:,\s*)*\]/.source,R=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,v]),C=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,c,v]),p=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[C]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[p,m,v]),O={keyword:a,punctuation:/[<>()?,.:[\]]/},_=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,F=/"(?:\\.|[^\\"\r\n])*"/.source,ee=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;i.languages.csharp=i.languages.extend("clike",{string:[{pattern:t(/(^|[^$\\])<<0>>/.source,[ee]),lookbehind:!0,greedy:!0},{pattern:t(/(^|[^@$\\])<<0>>/.source,[F]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:t(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:O},{pattern:t(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[d,S]),lookbehind:!0,inside:O},{pattern:t(/(\busing\s+)<<0>>(?=\s*=)/.source,[d]),lookbehind:!0},{pattern:t(/(\b<<0>>\s+)<<1>>/.source,[l,h]),lookbehind:!0,inside:O},{pattern:t(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:O},{pattern:t(/(\bwhere\s+)<<0>>/.source,[d]),lookbehind:!0},{pattern:t(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[R]),lookbehind:!0,inside:O},{pattern:t(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,u,d]),inside:O}],keyword:a,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),i.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),i.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:t(/([(,]\s*)<<0>>(?=\s*:)/.source,[d]),lookbehind:!0,alias:"punctuation"}}),i.languages.insertBefore("csharp","class-name",{namespace:{pattern:t(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[d]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:t(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[c]),lookbehind:!0,alias:"class-name",inside:O},"return-type":{pattern:t(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,m]),inside:O,alias:"class-name"},"constructor-invocation":{pattern:t(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:O,alias:"class-name"},"generic-method":{pattern:t(/<<0>>\s*<<1>>(?=\s*\()/.source,[d,f]),inside:{function:t(/^<<0>>/.source,[d]),generic:{pattern:RegExp(f),alias:"class-name",inside:O}}},"type-list":{pattern:t(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,h,d,S,a.source,c,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:t(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,c]),lookbehind:!0,greedy:!0,inside:i.languages.csharp},keyword:a,"class-name":{pattern:RegExp(S),greedy:!0,inside:O},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var I=F+"|"+_,q=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[I]),E=n(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[q]),2),j=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,ae=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,E]);i.languages.insertBefore("csharp","class-name",{attribute:{pattern:t(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[j,ae]),lookbehind:!0,greedy:!0,inside:{target:{pattern:t(/^<<0>>(?=\s*:)/.source,[j]),alias:"keyword"},"attribute-arguments":{pattern:t(/\(<<0>>*\)/.source,[E]),inside:i.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var we=/:[^}\r\n]+/.source,le=n(e(/[^"'/()]|<<0>>|\(<>*\)/.source,[q]),2),Me=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[le,we]),Re=n(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[I]),2),T=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[Re,we]);function te(Ee,Se){return{interpolation:{pattern:t(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[Ee]),lookbehind:!0,inside:{"format-string":{pattern:t(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[Se,we]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:i.languages.csharp}}},string:/[\s\S]+/}}i.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:t(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[Me]),lookbehind:!0,greedy:!0,inside:te(Me,le)},{pattern:t(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[T]),lookbehind:!0,greedy:!0,inside:te(T,Re)}],char:{pattern:RegExp(_),greedy:!0}}),i.languages.dotnet=i.languages.cs=i.languages.csharp})(Prism);(function(i){i.languages.kotlin=i.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete i.languages.kotlin["class-name"];var e={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:i.languages.kotlin}};i.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:e},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:e},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete i.languages.kotlin.string,i.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),i.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),i.languages.kt=i.languages.kotlin,i.languages.kts=i.languages.kotlin})(Prism);(function(i){var e=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,t=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};i.languages.java=i.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+t+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+t+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:e,function:[i.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),i.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),i.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+t+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+t+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return e.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(Prism);(function(i){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function t(f){return f=f.replace(//g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;i.languages.markdown=i.languages.extend("markup",{}),i.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:i.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+s+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+s+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:i.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:i.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:t(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:t(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:t(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:t(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(f){["url","bold","italic","strike","code-snippet"].forEach(function(c){f!==c&&(i.languages.markdown[f].inside.content.inside[c]=i.languages.markdown[c])})}),i.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function c(d){if(!(!d||typeof d=="string"))for(var h=0,m=d.length;h",quot:'"'},o=String.fromCodePoint||String.fromCharCode;function u(f){var c=f.replace(l,"");return c=c.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(d,h){if(h=h.toLowerCase(),h[0]==="#"){var m;return h[1]==="x"?m=parseInt(h.slice(2),16):m=Number(h.slice(1)),o(m)}else{var v=a[h];return v||d}}),c}i.languages.md=i.languages.markdown})(Prism);const Pt="(if|else if|await|then|catch|each|html|debug)";Prism.languages.svelte=Prism.languages.extend("markup",{each:{pattern:new RegExp("{[#/]each(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{"language-javascript":[{pattern:/(as[\s\S]*)\([\s\S]*\)(?=\s*\})/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(as[\s]*)[\s\S]*(?=\s*)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(#each[\s]*)[\s\S]*(?=as)/,lookbehind:!0,inside:Prism.languages.javascript}],keyword:/[#/]each|as/,punctuation:/{|}/}},block:{pattern:new RegExp("{[#:/@]/s"+Pt+"(?:(?:\\{(?:(?:\\{(?:[^{}])*\\})|(?:[^{}]))*\\})|(?:[^{}]))*}"),inside:{punctuation:/^{|}$/,keyword:[new RegExp("[#:/@]"+Pt+"( )*"),/as/,/then/],"language-javascript":{pattern:/[\s\S]*/,inside:Prism.languages.javascript}}},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?:"[^"]*"|'[^']*'|{[\s\S]+?}(?=[\s/>])))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,inside:Prism.languages.javascript},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],"language-javascript":{pattern:/{[\s\S]+}/,inside:Prism.languages.javascript}}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},"language-javascript":{pattern:/\{(?:(?:\{(?:(?:\{(?:[^{}])*\})|(?:[^{}]))*\})|(?:[^{}]))*\}/,lookbehind:!0,inside:Prism.languages.javascript}});Prism.languages.svelte.tag.inside["attr-value"].inside.entity=Prism.languages.svelte.entity;Prism.hooks.add("wrap",i=>{i.type==="entity"&&(i.attributes.title=i.content.replace(/&/,"&"))});Object.defineProperty(Prism.languages.svelte.tag,"addInlined",{value:function(e,t){const n={};n["language-"+t]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^$/i;const r={"included-cdata":{pattern://i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};const s={};s[e]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,e),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("svelte","cdata",s)}});Prism.languages.svelte.tag.addInlined("style","css");Prism.languages.svelte.tag.addInlined("script","javascript");const Br="https://raw.githubusercontent.com/magidoc-org/magidoc/main/logo/logo_horizontal.png",gt=et(Qe.APP_LOGO,Br),bi=Xe.isRelative(gt)?Xe.joinUrlPaths($e(),gt):gt;function Hr(i){let e,t,n=[{src:t=bi},{alt:"Magidoc"},i[0]],r={};for(let s=0;s{t(0,e=M(M({},e),x(n)))},e=x(e),[e]}class Pr extends J{constructor(e){super(),$(this,e,Dr,Hr,Q,{})}}function Gt(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Gr(i){let e,t,n=i[1]&&Gt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class pi extends J{constructor(e){super(),$(this,e,jr,Gr,Q,{size:0,title:1})}}const vt=tt(!1),wt=tt(!1),Et=tt(!1);function Vr(i){let e,t,n,r,s;var l=i[0]?i[4]:i[3];function a(f,c){return{props:{size:20}}}l&&(t=Ie(l,a()));let o=[{type:"button"},{title:i[2]},{"aria-label":i[2]},i[5]],u={};for(let f=0;f{D(d,1)}),de()}l?(t=Ie(l,a()),P(t.$$.fragment),b(t.$$.fragment,1),G(t,e,null)):t=null}ve(e,u=he(o,[{type:"button"},(!n||c&4)&&{title:f[2]},(!n||c&4)&&{"aria-label":f[2]},c&32&&f[5]])),A(e,"bx--header__action",!0),A(e,"bx--header__menu-trigger",!0),A(e,"bx--header__menu-toggle",!0)},i(f){n||(t&&b(t.$$.fragment,f),n=!0)},o(f){t&&k(t.$$.fragment,f),n=!1},d(f){f&&g(e),t&&D(t),i[7](null),r=!1,We(s)}}}function Ur(i,e,t){const n=["ariaLabel","isOpen","iconMenu","iconClose","ref"];let r=B(e,n),{ariaLabel:s=void 0}=e,{isOpen:l=!1}=e,{iconMenu:a=pi}=e,{iconClose:o=Ke}=e,{ref:u=null}=e;function f(h){ce.call(this,i,h)}function c(h){Ae[h?"unshift":"push"](()=>{u=h,t(1,u)})}const d=()=>t(0,l=!l);return i.$$set=h=>{e=M(M({},e),x(h)),t(5,r=B(e,n)),"ariaLabel"in h&&t(2,s=h.ariaLabel),"isOpen"in h&&t(0,l=h.isOpen),"iconMenu"in h&&t(3,a=h.iconMenu),"iconClose"in h&&t(4,o=h.iconClose),"ref"in h&&t(1,u=h.ref)},[l,u,s,a,o,r,f,c,d]}class Yr extends J{constructor(e){super(),$(this,e,Ur,Vr,Q,{ariaLabel:2,isOpen:0,iconMenu:3,iconClose:4,ref:1})}}const Zr=i=>({}),jt=i=>({}),Kr=i=>({}),Vt=i=>({}),Wr=i=>({}),Ut=i=>({});function Yt(i){let e,t,n;function r(l){i[20](l)}let s={iconClose:i[8],iconMenu:i[7]};return i[0]!==void 0&&(s.isOpen=i[0]),e=new Yr({props:s}),Ae.push(()=>De(e,"isOpen",r)),{c(){P(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){G(e,l,a),n=!0},p(l,a){const o={};a&256&&(o.iconClose=l[8]),a&128&&(o.iconMenu=l[7]),!t&&a&1&&(t=!0,o.isOpen=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Zt(i){let e,t;const n=i[17].company,r=_e(n,i,i[16],Vt),s=r||xr(i);return{c(){e=U("span"),s&&s.c(),this.h()},l(l){e=V(l,"SPAN",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--header__name--prefix",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a&65536)&&be(r,n,l,l[16],t?ke(n,l[16],a,Kr):pe(l[16]),Vt):s&&s.p&&(!t||a&8)&&s.p(l,t?a:-1)},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function xr(i){let e,t;return{c(){e=ue(i[3]),t=ue(" ")},l(n){e=oe(n,i[3]),t=oe(n," ")},m(n,r){w(n,e,r),w(n,t,r)},p(n,r){r&8&&me(e,n[3])},d(n){n&&(g(e),g(t))}}}function qr(i){let e;return{c(){e=ue(i[4])},l(t){e=oe(t,i[4])},m(t,n){w(t,e,n)},p(t,n){n&16&&me(e,t[4])},d(t){t&&g(e)}}}function Xr(i){let e,t,n,r,s,l,a,o,u;lt(i[19]);const f=i[17]["skip-to-content"],c=_e(f,i,i[16],Ut);let d=(i[11]&&i[9]{d=null}),de()),_[3]||_[13].company?h?(h.p(_,F),F&8200&&b(h,1)):(h=Zt(_),h.c(),b(h,1),h.m(r,s)):h&&(fe(),k(h,1,1,()=>{h=null}),de()),v?v.p&&(!a||F&65536)&&be(v,m,_,_[16],a?ke(m,_[16],F,Zr):pe(_[16]),jt):R&&R.p&&(!a||F&16)&&R.p(_,a?F:-1),ve(r,p=he(C,[(!a||F&4)&&{href:_[2]},F&4096&&_[12]])),A(r,"bx--header__name",!0),O&&O.p&&(!a||F&65536)&&be(O,S,_,_[16],a?ke(S,_[16],F,null):pe(_[16]),null),(!a||F&1024)&&L(e,"aria-label",_[10])},i(_){a||(b(c,_),b(d),b(h),b(R,_),b(O,_),a=!0)},o(_){k(c,_),k(d),k(h),k(R,_),k(O,_),a=!1},d(_){_&&g(e),c&&c.d(_),d&&d.d(),h&&h.d(),R&&R.d(_),i[21](null),O&&O.d(_),o=!1,We(u)}}}function Qr(i,e,t){let n;const r=["expandedByDefault","isSideNavOpen","uiShellAriaLabel","href","company","platformName","persistentHamburgerMenu","expansionBreakpoint","ref","iconMenu","iconClose"];let s=B(e,r),l;Ze(i,vt,E=>t(11,l=E));let{$$slots:a={},$$scope:o}=e;const u=Ct(a);let{expandedByDefault:f=!0}=e,{isSideNavOpen:c=!1}=e,{uiShellAriaLabel:d=void 0}=e,{href:h=void 0}=e,{company:m=void 0}=e,{platformName:v=""}=e,{persistentHamburgerMenu:R=!1}=e,{expansionBreakpoint:C=1056}=e,{ref:p=null}=e,{iconMenu:S=pi}=e,{iconClose:O=Ke}=e,_;function F(E){ce.call(this,i,E)}function ee(){t(9,_=window.innerWidth)}function I(E){c=E,t(0,c),t(14,f),t(9,_),t(6,C),t(5,R)}function q(E){Ae[E?"unshift":"push"](()=>{p=E,t(1,p)})}return i.$$set=E=>{t(22,e=M(M({},e),x(E))),t(12,s=B(e,r)),"expandedByDefault"in E&&t(14,f=E.expandedByDefault),"isSideNavOpen"in E&&t(0,c=E.isSideNavOpen),"uiShellAriaLabel"in E&&t(15,d=E.uiShellAriaLabel),"href"in E&&t(2,h=E.href),"company"in E&&t(3,m=E.company),"platformName"in E&&t(4,v=E.platformName),"persistentHamburgerMenu"in E&&t(5,R=E.persistentHamburgerMenu),"expansionBreakpoint"in E&&t(6,C=E.expansionBreakpoint),"ref"in E&&t(1,p=E.ref),"iconMenu"in E&&t(7,S=E.iconMenu),"iconClose"in E&&t(8,O=E.iconClose),"$$scope"in E&&t(16,o=E.$$scope)},i.$$.update=()=>{i.$$.dirty&16992&&t(0,c=f&&_>=C&&!R),t(10,n=m?`${m} `:""+(d||e["aria-label"]||v))},e=x(e),[c,p,h,m,v,R,C,S,O,_,n,l,s,u,f,d,o,a,F,ee,I,q]}class Jr extends J{constructor(e){super(),$(this,e,Qr,Xr,Q,{expandedByDefault:14,isSideNavOpen:0,uiShellAriaLabel:15,href:2,company:3,platformName:4,persistentHamburgerMenu:5,expansionBreakpoint:6,ref:1,iconMenu:7,iconClose:8})}}function $r(i){let e,t,n;var r=i[1];function s(l,a){return{props:{slot:"icon",size:20}}}return r&&(e=Ie(r,s())),{c(){e&&P(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&G(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&2&&r!==(r=l[1])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{D(o,1)}),de()}r?(e=Ie(r,s()),P(e.$$.fragment),b(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&D(e,l)}}}function el(i){let e,t,n;const r=[i[3],{class:i[2]}];function s(a){i[5](a)}let l={$$slots:{icon:[$r]},$$scope:{ctx:i}};for(let a=0;aDe(e,"ref",s)),e.$on("click",i[6]),{c(){P(e.$$.fragment)},l(a){W(e.$$.fragment,a)},m(a,o){G(e,a,o),n=!0},p(a,[o]){const u=o&12?he(r,[o&8&&at(a[3]),o&4&&{class:a[2]}]):{};o&130&&(u.$$scope={dirty:o,ctx:a}),!t&&o&1&&(t=!0,u.ref=a[0],He(()=>t=!1)),e.$set(u)},i(a){n||(b(e.$$.fragment,a),n=!0)},o(a){k(e.$$.fragment,a),n=!1},d(a){D(e,a)}}}function tl(i,e,t){let n;const r=["isActive","icon","ref"];let s=B(e,r),{isActive:l=!1}=e,{icon:a=void 0}=e,{ref:o=null}=e;function u(c){o=c,t(0,o)}function f(c){ce.call(this,i,c)}return i.$$set=c=>{e=M(M({},e),x(c)),t(3,s=B(e,r)),"isActive"in c&&t(4,l=c.isActive),"icon"in c&&t(1,a=c.icon),"ref"in c&&t(0,o=c.ref)},i.$$.update=()=>{t(2,n=["bx--header__action",l&&" bx--header__action--active",s.class].filter(Boolean).join(" "))},[o,a,n,s,l,u,f]}class ki extends J{constructor(e){super(),$(this,e,tl,el,Q,{isActive:4,icon:1,ref:0})}}function nl(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=U("div"),r&&r.c(),this.h()},l(s){e=V(s,"DIV",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--header__global",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function il(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class rl extends J{constructor(e){super(),$(this,e,il,nl,Q,{})}}function Kt(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ll(i){let e,t,n=i[1]&&Kt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class al extends J{constructor(e){super(),$(this,e,sl,ll,Q,{size:0,title:1})}}function ol(i){let e,t,n,r,s,l,a=[i[1]],o={};for(let u=0;u{e=M(M({},e),x(f)),t(1,r=B(e,n)),"size"in f&&t(0,s=f.size)},[s,r,l,a,o,u]}class cl extends J{constructor(e){super(),$(this,e,ul,ol,Q,{size:0})}}const fl=i=>({}),Wt=i=>({});function dl(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m,v,R;var C=i[14];function p(E,j){return{props:{class:"bx--search-magnifier-icon"}}}C&&(n=Ie(C,p()));const S=i[20].labelText,O=_e(S,i,i[19],Wt),_=O||gl(i);let F=[{type:"text"},{role:"searchbox"},{autofocus:u=i[11]===!0?!0:void 0},{autocomplete:i[10]},{disabled:i[7]},{id:i[15]},{placeholder:i[9]},i[18]],ee={};for(let E=0;E{D(ae,1)}),de()}C?(n=Ie(C,p()),P(n.$$.fragment),b(n.$$.fragment,1),G(n,t,null)):n=null}if(O?O.p&&(!m||j[0]&524288)&&be(O,S,E,E[19],m?ke(S,E[19],j,fl):pe(E[19]),Wt):_&&_.p&&(!m||j[0]&8192)&&_.p(E,m?j:[-1,-1]),(!m||j[0]&32768&&l!==(l=E[15]+"-search"))&&L(s,"id",l),(!m||j[0]&32768)&&L(s,"for",E[15]),ve(o,ee=he(F,[{type:"text"},{role:"searchbox"},(!m||j[0]&2048&&u!==(u=E[11]===!0?!0:void 0))&&{autofocus:u},(!m||j[0]&1024)&&{autocomplete:E[10]},(!m||j[0]&128)&&{disabled:E[7]},(!m||j[0]&32768)&&{id:E[15]},(!m||j[0]&512)&&{placeholder:E[9]},j[0]&262144&&E[18]])),j[0]&4&&o.value!==E[2]&&Bt(o,E[2]),A(o,"bx--search-input",!0),I!==(I=Ke)){if(d){fe();const ae=d;k(ae.$$.fragment,1,0,()=>{D(ae,1)}),de()}I?(d=Ie(I,q(E)),P(d.$$.fragment),b(d.$$.fragment,1),G(d,c,null)):d=null}else if(I){const ae={};j[0]&8&&(ae.size=E[3]==="xl"?20:16),d.$set(ae)}(!m||j[0]&4096)&&L(c,"aria-label",E[12]),(!m||j[0]&128)&&(c.disabled=E[7]),(!m||j[0]&4)&&A(c,"bx--search-close--hidden",E[2]===""),(!m||j[0]&32768&&h!==(h=E[15]+"-search"))&&L(e,"aria-labelledby",h),(!m||j[0]&16)&&L(e,"class",E[4]),(!m||j[0]&16)&&A(e,"bx--search",!0),(!m||j[0]&80)&&A(e,"bx--search--light",E[6]),(!m||j[0]&144)&&A(e,"bx--search--disabled",E[7]),(!m||j[0]&24)&&A(e,"bx--search--sm",E[3]==="sm"),(!m||j[0]&24)&&A(e,"bx--search--lg",E[3]==="lg"),(!m||j[0]&24)&&A(e,"bx--search--xl",E[3]==="xl"),(!m||j[0]&272)&&A(e,"bx--search--expandable",E[8]),(!m||j[0]&17)&&A(e,"bx--search--expanded",E[0])},i(E){m||(n&&b(n.$$.fragment,E),b(_,E),d&&b(d.$$.fragment,E),m=!0)},o(E){n&&k(n.$$.fragment,E),k(_,E),d&&k(d.$$.fragment,E),m=!1},d(E){E&&g(e),n&&D(n),i[33](null),_&&_.d(E),i[35](null),d&&D(d),v=!1,We(R)}}}function hl(i){let e,t;const n=[{size:i[3]},i[18]];let r={};for(let s=0;s{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function _l(i,e,t){const n=["value","size","searchClass","skeleton","light","disabled","expandable","expanded","placeholder","autocomplete","autofocus","closeButtonLabelText","labelText","icon","id","ref"];let r=B(e,n),{$$slots:s={},$$scope:l}=e,{value:a=""}=e,{size:o="xl"}=e,{searchClass:u=""}=e,{skeleton:f=!1}=e,{light:c=!1}=e,{disabled:d=!1}=e,{expandable:h=!1}=e,{expanded:m=!1}=e,{placeholder:v="Search..."}=e,{autocomplete:R="off"}=e,{autofocus:C=!1}=e,{closeButtonLabelText:p="Clear search input"}=e,{labelText:S=""}=e,{icon:O=al}=e,{id:_="ccs-"+Math.random().toString(36)}=e,{ref:F=null}=e;const ee=st();let I=null;function q(H){ce.call(this,i,H)}function E(H){ce.call(this,i,H)}function j(H){ce.call(this,i,H)}function ae(H){ce.call(this,i,H)}function we(H){ce.call(this,i,H)}function le(H){ce.call(this,i,H)}function Me(H){ce.call(this,i,H)}function Re(H){ce.call(this,i,H)}function T(H){ce.call(this,i,H)}function te(H){ce.call(this,i,H)}function Ee(H){ce.call(this,i,H)}function Se(H){ce.call(this,i,H)}function Oe(H){Ae[H?"unshift":"push"](()=>{I=H,t(16,I)})}const Ge=()=>{h&&t(0,m=!0)};function qe(H){Ae[H?"unshift":"push"](()=>{F=H,t(1,F)})}function ut(){a=this.value,t(2,a)}const ct=()=>{h&&t(0,m=!0)},ft=()=>{m&&a.trim().length===0&&t(0,m=!1)},dt=({key:H})=>{H==="Escape"&&(t(2,a=""),ee("clear"))},ht=()=>{t(2,a=""),F.focus(),ee("clear")};return i.$$set=H=>{e=M(M({},e),x(H)),t(18,r=B(e,n)),"value"in H&&t(2,a=H.value),"size"in H&&t(3,o=H.size),"searchClass"in H&&t(4,u=H.searchClass),"skeleton"in H&&t(5,f=H.skeleton),"light"in H&&t(6,c=H.light),"disabled"in H&&t(7,d=H.disabled),"expandable"in H&&t(8,h=H.expandable),"expanded"in H&&t(0,m=H.expanded),"placeholder"in H&&t(9,v=H.placeholder),"autocomplete"in H&&t(10,R=H.autocomplete),"autofocus"in H&&t(11,C=H.autofocus),"closeButtonLabelText"in H&&t(12,p=H.closeButtonLabelText),"labelText"in H&&t(13,S=H.labelText),"icon"in H&&t(14,O=H.icon),"id"in H&&t(15,_=H.id),"ref"in H&&t(1,F=H.ref),"$$scope"in H&&t(19,l=H.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&3&&m&&F&&F.focus(),i.$$.dirty[0]&1&&ee(m?"expand":"collapse")},[m,F,a,o,u,f,c,d,h,v,R,C,p,S,O,_,I,ee,r,l,s,q,E,j,ae,we,le,Me,Re,T,te,Ee,Se,Oe,Ge,qe,ut,ct,ft,dt,ht]}let vi=class extends J{constructor(e){super(),$(this,e,_l,ml,Q,{value:2,size:3,searchClass:4,skeleton:5,light:6,disabled:7,expandable:8,expanded:0,placeholder:9,autocomplete:10,autofocus:11,closeButtonLabelText:12,labelText:13,icon:14,id:15,ref:1},null,[-1,-1])}};function xt(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function bl(i){let e,t,n=i[1]&&xt(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class kl extends J{constructor(e){super(),$(this,e,pl,bl,Q,{size:0,title:1})}}var Be;(function(i){i.SECTION="section",i.HEADER="header"})(Be||(Be={}));function wi(i,e){return vl(e.lexer.lex(i),e)}function vl(i,e){const t=Ei(e.extractors),n=[];let r={type:Be.SECTION,content:"",headers:[]};return i.forEach(s=>{if(s.type==="heading"){const l=s,o={id:e.slugger.slug(l.text),depth:l.depth,text:l.text},u={type:Be.SECTION,content:"",headers:[]},f=r.headers[r.headers.length-1];f?s.depth>f.depth?u.headers=[...r.headers,o]:s.depth<=f.depth&&(u.headers=[...r.headers.filter(c=>c.depth0&&n.push(r),n.push({type:Be.HEADER,path:u.headers,title:l.text}),r=u}else r.content+=t([s])}),r.content.trim().length>0&&n.push(r),n}function Ei(i){return e=>e.reduce((t,n)=>{const r=i[n.type];if(!r)throw new Error(`No extractor found for token type: ${n.type}`);return t+r(n,Ei(i))},"")}function Pe(i){return Array.isArray?Array.isArray(i):yi(i)==="[object Array]"}const wl=1/0;function El(i){if(typeof i=="string")return i;let e=i+"";return e=="0"&&1/i==-wl?"-0":e}function Sl(i){return i==null?"":El(i)}function Fe(i){return typeof i=="string"}function Si(i){return typeof i=="number"}function Al(i){return i===!0||i===!1||yl(i)&&yi(i)=="[object Boolean]"}function Ai(i){return typeof i=="object"}function yl(i){return Ai(i)&&i!==null}function Ce(i){return i!=null}function mt(i){return!i.trim().length}function yi(i){return i==null?i===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(i)}const Ml="Incorrect 'index' type",Rl=i=>`Invalid value for key ${i}`,Il=i=>`Pattern length exceeds max of ${i}.`,Ol=i=>`Missing ${i} property in key`,Nl=i=>`Property 'weight' in key '${i}' must be a positive integer`,qt=Object.prototype.hasOwnProperty;class Cl{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach(n=>{let r=Mi(n);this._keys.push(r),this._keyMap[r.id]=r,t+=r.weight}),this._keys.forEach(n=>{n.weight/=t})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Mi(i){let e=null,t=null,n=null,r=1,s=null;if(Fe(i)||Pe(i))n=i,e=Xt(i),t=St(i);else{if(!qt.call(i,"name"))throw new Error(Ol("name"));const l=i.name;if(n=l,qt.call(i,"weight")&&(r=i.weight,r<=0))throw new Error(Nl(l));e=Xt(l),t=St(l),s=i.getFn}return{path:e,id:t,weight:r,src:n,getFn:s}}function Xt(i){return Pe(i)?i:i.split(".")}function St(i){return Pe(i)?i.join("."):i}function Tl(i,e){let t=[],n=!1;const r=(s,l,a)=>{if(Ce(s))if(!l[a])t.push(s);else{let o=l[a];const u=s[o];if(!Ce(u))return;if(a===l.length-1&&(Fe(u)||Si(u)||Al(u)))t.push(Sl(u));else if(Pe(u)){n=!0;for(let f=0,c=u.length;fi.score===e.score?i.idx{this._keysMap[t.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Fe(this.docs[0])?this.docs.forEach((e,t)=>{this._addString(e,t)}):this.docs.forEach((e,t)=>{this._addObject(e,t)}),this.norm.clear())}add(e){const t=this.size();Fe(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){this.records.splice(e,1);for(let t=e,n=this.size();t{let l=r.getFn?r.getFn(e):this.getFn(e,r.path);if(Ce(l)){if(Pe(l)){let a=[];const o=[{nestedArrIndex:-1,value:l}];for(;o.length;){const{nestedArrIndex:u,value:f}=o.pop();if(Ce(f))if(Fe(f)&&!mt(f)){let c={v:f,i:u,n:this.norm.get(f)};a.push(c)}else Pe(f)&&f.forEach((c,d)=>{o.push({nestedArrIndex:d,value:c})})}n.$[s]=a}else if(Fe(l)&&!mt(l)){let a={v:l,n:this.norm.get(l)};n.$[s]=a}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Ri(i,e,{getFn:t=ne.getFn,fieldNormWeight:n=ne.fieldNormWeight}={}){const r=new Lt({getFn:t,fieldNormWeight:n});return r.setKeys(i.map(Mi)),r.setSources(e),r.create(),r}function Pl(i,{getFn:e=ne.getFn,fieldNormWeight:t=ne.fieldNormWeight}={}){const{keys:n,records:r}=i,s=new Lt({getFn:e,fieldNormWeight:t});return s.setKeys(n),s.setIndexRecords(r),s}function it(i,{errors:e=0,currentLocation:t=0,expectedLocation:n=0,distance:r=ne.distance,ignoreLocation:s=ne.ignoreLocation}={}){const l=e/i.length;if(s)return l;const a=Math.abs(n-t);return r?l+a/r:a?1:l}function Gl(i=[],e=ne.minMatchCharLength){let t=[],n=-1,r=-1,s=0;for(let l=i.length;s=e&&t.push([n,r]),n=-1)}return i[s-1]&&s-n>=e&&t.push([n,s-1]),t}const Ye=32;function jl(i,e,t,{location:n=ne.location,distance:r=ne.distance,threshold:s=ne.threshold,findAllMatches:l=ne.findAllMatches,minMatchCharLength:a=ne.minMatchCharLength,includeMatches:o=ne.includeMatches,ignoreLocation:u=ne.ignoreLocation}={}){if(e.length>Ye)throw new Error(Il(Ye));const f=e.length,c=i.length,d=Math.max(0,Math.min(n,c));let h=s,m=d;const v=a>1||o,R=v?Array(c):[];let C;for(;(C=i.indexOf(e,m))>-1;){let ee=it(e,{currentLocation:C,expectedLocation:d,distance:r,ignoreLocation:u});if(h=Math.min(ee,h),m=C+f,v){let I=0;for(;I=E;le-=1){let Me=le-1,Re=t[i.charAt(Me)];if(v&&(R[Me]=+!!Re),ae[le]=(ae[le+1]<<1|1)&Re,ee&&(ae[le]|=(p[le+1]|p[le])<<1|1|p[le+1]),ae[le]&_&&(S=it(e,{errors:ee,currentLocation:Me,expectedLocation:d,distance:r,ignoreLocation:u}),S<=h)){if(h=S,m=Me,m<=d)break;E=Math.max(1,2*d-m)}}if(it(e,{errors:ee+1,currentLocation:d,expectedLocation:d,distance:r,ignoreLocation:u})>h)break;p=ae}const F={isMatch:m>=0,score:Math.max(.001,S)};if(v){const ee=Gl(R,a);ee.length?o&&(F.indices=ee):F.isMatch=!1}return F}function Vl(i){let e={};for(let t=0,n=i.length;t{this.chunks.push({pattern:d,alphabet:Vl(d),startIndex:h})},c=this.pattern.length;if(c>Ye){let d=0;const h=c%Ye,m=c-h;for(;d{const{isMatch:C,score:p,indices:S}=jl(e,m,v,{location:r+R,distance:s,threshold:l,findAllMatches:a,minMatchCharLength:o,includeMatches:n,ignoreLocation:u});C&&(d=!0),c+=p,C&&S&&(f=[...f,...S])});let h={isMatch:d,score:d?c/this.chunks.length:1};return d&&n&&(h.indices=f),h}}class Ue{constructor(e){this.pattern=e}static isMultiMatch(e){return Qt(e,this.multiRegex)}static isSingleMatch(e){return Qt(e,this.singleRegex)}search(){}}function Qt(i,e){const t=i.match(e);return t?t[1]:null}class Ul extends Ue{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const t=e===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class Yl extends Ue{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const n=e.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Zl extends Ue{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const t=e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class Kl extends Ue{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const t=!e.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class Wl extends Ue{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const t=e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class xl extends Ue{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const t=!e.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,e.length-1]}}}class Oi extends Ue{constructor(e,{location:t=ne.location,threshold:n=ne.threshold,distance:r=ne.distance,includeMatches:s=ne.includeMatches,findAllMatches:l=ne.findAllMatches,minMatchCharLength:a=ne.minMatchCharLength,isCaseSensitive:o=ne.isCaseSensitive,ignoreLocation:u=ne.ignoreLocation}={}){super(e),this._bitapSearch=new Ii(e,{location:t,threshold:n,distance:r,includeMatches:s,findAllMatches:l,minMatchCharLength:a,isCaseSensitive:o,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Ni extends Ue{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t=0,n;const r=[],s=this.pattern.length;for(;(n=e.indexOf(this.pattern,t))>-1;)t=n+s,r.push([n,t-1]);const l=!!r.length;return{isMatch:l,score:l?0:1,indices:r}}}const At=[Ul,Ni,Zl,Kl,xl,Wl,Yl,Oi],Jt=At.length,ql=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Xl="|";function Ql(i,e={}){return i.split(Xl).map(t=>{let n=t.trim().split(ql).filter(s=>s&&!!s.trim()),r=[];for(let s=0,l=n.length;s!!(i[rt.AND]||i[rt.OR]),ts=i=>!!i[Rt.PATH],ns=i=>!Pe(i)&&Ai(i)&&!It(i),$t=i=>({[rt.AND]:Object.keys(i).map(e=>({[e]:i[e]}))});function Ci(i,e,{auto:t=!0}={}){const n=r=>{let s=Object.keys(r);const l=ts(r);if(!l&&s.length>1&&!It(r))return n($t(r));if(ns(r)){const o=l?r[Rt.PATH]:s[0],u=l?r[Rt.PATTERN]:r[o];if(!Fe(u))throw new Error(Rl(o));const f={keyId:St(o),pattern:u};return t&&(f.searcher=Mt(u,e)),f}let a={children:[],operator:s[0]};return s.forEach(o=>{const u=r[o];Pe(u)&&u.forEach(f=>{a.children.push(n(f))})}),a};return It(i)||(i=$t(i)),n(i)}function is(i,{ignoreFieldNorm:e=ne.ignoreFieldNorm}){i.forEach(t=>{let n=1;t.matches.forEach(({key:r,norm:s,score:l})=>{const a=r?r.weight:null;n*=Math.pow(l===0&&a?Number.EPSILON:l,(a||1)*(e?1:s))}),t.score=n})}function rs(i,e){const t=i.matches;e.matches=[],Ce(t)&&t.forEach(n=>{if(!Ce(n.indices)||!n.indices.length)return;const{indices:r,value:s}=n;let l={indices:r,value:s};n.key&&(l.key=n.key.src),n.idx>-1&&(l.refIndex=n.idx),e.matches.push(l)})}function ls(i,e){e.score=i.score}function ss(i,e,{includeMatches:t=ne.includeMatches,includeScore:n=ne.includeScore}={}){const r=[];return t&&r.push(rs),n&&r.push(ls),i.map(s=>{const{idx:l}=s,a={item:e[l],refIndex:l};return r.length&&r.forEach(o=>{o(s,a)}),a})}class xe{constructor(e,t={},n){this.options={...ne,...t},this.options.useExtendedSearch,this._keyStore=new Cl(this.options.keys),this.setCollection(e,n)}setCollection(e,t){if(this._docs=e,t&&!(t instanceof Lt))throw new Error(Ml);this._myIndex=t||Ri(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Ce(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[];for(let n=0,r=this._docs.length;n-1&&(o=o.slice(0,t)),ss(o,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){const t=Mt(e,this.options),{records:n}=this._myIndex,r=[];return n.forEach(({v:s,i:l,n:a})=>{if(!Ce(s))return;const{isMatch:o,score:u,indices:f}=t.searchIn(s);o&&r.push({item:s,idx:l,matches:[{score:u,value:s,norm:a,indices:f}]})}),r}_searchLogical(e){const t=Ci(e,this.options),n=(a,o,u)=>{if(!a.children){const{keyId:c,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(c),value:this._myIndex.getValueForItemAtKeyId(o,c),searcher:d});return h&&h.length?[{idx:u,item:o,matches:h}]:[]}const f=[];for(let c=0,d=a.children.length;c{if(Ce(a)){let u=n(t,a,o);u.length&&(s[o]||(s[o]={idx:o,item:a,matches:[]},l.push(s[o])),u.forEach(({matches:f})=>{s[o].matches.push(...f)}))}}),l}_searchObjectList(e){const t=Mt(e,this.options),{keys:n,records:r}=this._myIndex,s=[];return r.forEach(({$:l,i:a})=>{if(!Ce(l))return;let o=[];n.forEach((u,f)=>{o.push(...this._findMatches({key:u,value:l[f],searcher:t}))}),o.length&&s.push({idx:a,item:l,matches:o})}),s}_findMatches({key:e,value:t,searcher:n}){if(!Ce(t))return[];let r=[];if(Pe(t))t.forEach(({v:s,i:l,n:a})=>{if(!Ce(s))return;const{isMatch:o,score:u,indices:f}=n.searchIn(s);o&&r.push({score:u,key:e,value:s,idx:l,norm:a,indices:f})});else{const{v:s,n:l}=t,{isMatch:a,score:o,indices:u}=n.searchIn(s);a&&r.push({score:o,key:e,value:s,norm:l,indices:u})}return r}}xe.version="7.0.0";xe.createIndex=Ri;xe.parseIndex=Pl;xe.config=ne;xe.parseQuery=Ci;es($l);function as(){return{blockquote:Te,codespan:Te,del:Te,em:Te,heading:Te,br:()=>` -`,paragraph:Te,strong:Te,text:Te,link:Te,list:(i,e)=>i.items.reduce((t,n)=>`${t} -${Te(n,e)}`,""),list_item:Te,table:(i,e)=>i.rows.reduce((t,n)=>`${t} -${n.map(r=>Te({...r,type:"table_cell"},e)).join(" ")}`,""),code:()=>"",image:()=>"",hr:()=>"",def:()=>"",html:()=>"",space:()=>" ",escape:()=>""}}function Te(i,e){if(i.tokens)return e(i.tokens);if(i.type==="text"||i.type==="codespan")return i.text;throw new Error(`Could not extract text for ${i.type}`)}function os(){return new zt}function us(){return new sr}function cs(){return{keys:[{name:"part.title",weight:1.5},{name:"part.content",weight:1}],includeScore:!0,includeMatches:!0,threshold:.1,minMatchCharLength:3,ignoreLocation:!0}}function Ti(i){return{lexerFactory:(i==null?void 0:i.lexerFactory)??us,sluggerFactory:(i==null?void 0:i.sluggerFactory)??os,extractors:{...as(),...i==null?void 0:i.extractors}}}function fs(i,e){const t=(e==null?void 0:e.fuse)??new xe([],cs()),n=Ti(e==null?void 0:e.markdown);return i.forEach(r=>{ds(r,t,n)}),t}function ds(i,e,t){wi(i.content,{slugger:t.sluggerFactory(),lexer:t.lexerFactory(),extractors:t.extractors}).forEach(r=>{e.add({data:i.data,part:r})})}function ze({description:i},e){if(i&&i.trim().length!==0)return wi(i,{extractors:e.extractors,lexer:e.lexerFactory(),slugger:e.sluggerFactory()}).map(t=>{switch(t.type){case Be.SECTION:return t.content;case Be.HEADER:return""}}).join(` -`)}function hs(i,e,t){return{type:i,name:e.name,description:ze(e,t),arguments:e.args.map(n=>({name:n.name,description:ze(n,t)}))}}var Ne;(function(i){i.QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",i.TYPE="type"})(Ne||(Ne={}));var Ve;(function(i){i.ENUM="enum",i.SCALAR="scalar",i.INTERFACE="interface",i.UNION="union",i.OBJECT="object",i.INPUT_OBJECT="input_object"})(Ve||(Ve={}));function gs(i,e){if(ar(i))return ps(i,e);if(or(i))return en(Ve.OBJECT,i,e);if(ur(i))return en(Ve.INTERFACE,i,e);if(cr(i))return bs(i,e);if(fr(i))return _s(i,e);if(dr(i))return ms(i,e);throw new Error("This code block should be unreachable. If you ever receive this exception, it means you have an invalid setup using GraphQL.")}function ms(i,e){return{type:Ne.TYPE,graphqlType:Ve.INPUT_OBJECT,name:i.name,description:ze(i,e),fields:Object.values(i.getFields()).map(t=>({name:t.name,description:ze(t,e)}))}}function _s(i,e){return{type:Ne.TYPE,graphqlType:Ve.UNION,name:i.name,description:ze(i,e)}}function bs(i,e){return{type:Ne.TYPE,graphqlType:Ve.SCALAR,name:i.name,description:ze(i,e)}}function en(i,e,t){return{type:Ne.TYPE,graphqlType:i,name:e.name,description:ze(e,t),fields:Object.values(e.getFields()).map(n=>({name:n.name,description:ze(n,t),arguments:n.args.map(r=>({name:r.name,description:ze(r,t)}))}))}}function ps(i,e){return{name:i.name,description:ze(i,e),graphqlType:Ve.ENUM,type:Ne.TYPE,values:i.getValues().map(t=>({value:t.name,description:ze(t,e)}))}}function ks(){return{keys:[{name:"name",weight:1.5},{name:"description",weight:1},{name:"arguments.name",weight:1.2},{name:"arguments.description",weight:1},{name:"values.value",weight:1.2},{name:"values.description",weight:1},{name:"fields.name",weight:1.2},{name:"fields.description",weight:1},{name:"fields.arguments.name",weight:.9},{name:"fields.arguments.description",weight:.8}],distance:100,minMatchCharLength:3,threshold:.2,includeMatches:!0,includeScore:!0}}function vs(i,e){const t=(e==null?void 0:e.fuse)??new xe([],ks()),n=Ti(e==null?void 0:e.markdown);return _t(Ne.QUERY,i.getQueryType(),t,n),_t(Ne.MUTATION,i.getMutationType(),t,n),_t(Ne.SUBSCRIPTION,i.getSubscriptionType(),t,n),ws(i,t,n),t}function ws(i,e,t){Object.values(i.getTypeMap()).forEach(n=>{n===i.getQueryType()||n===i.getMutationType()||n===i.getSubscriptionType()||n.name.startsWith("__")||e.add(gs(n,t))})}function _t(i,e,t,n){e&&Object.values(e.getFields()).forEach(r=>{t.add(hs(i,r,n))})}_i();const zi={extractors:{tags:()=>"",notification:(i,e)=>e(i.tokens),tabs:(i,e)=>i.tabs.map(n=>e(n.tokens)).join(` -`)}},Es=fs(Li(di).map(i=>({data:{type:"markdown",url:i.href,section:i.section},content:i.content||""})).filter(i=>!!i.content.trim()),{markdown:zi}),Ss=vs(hr,{markdown:zi});function As(i){const e=Es.search(i).map(n=>({type:"markdown",score:n.score||0,result:n.item,matches:(n.matches||[]).map(r=>({value:r.value||"",location:r.key||"",indices:Ms(r.indices)}))}));let t=[];return gr()||(t=Ss.search(i).map(n=>({type:"graphql",score:n.score||0,result:n.item,matches:(n.matches||[]).map(r=>({value:r.value||"",location:r.key||"",indices:r.indices}))}))),ys(e,t)}function ys(i,e){return[...i,...e].sort((t,n)=>t.score-n.score).slice(0,10)}function Ms(i){const e=[];let t=[0,0];const n=new Set(i.map(([o])=>o)),r=new Set(i.map(([,o])=>o)),s=Math.min(...i.map(([o])=>o)),l=Math.max(...i.map(([,o])=>o));let a=!1;for(let o=s;o<=l;o++)n.has(o)&&!a?(a=!0,t=[o,0]):r.has(o)&&a&&(a=!1,t[1]=o,e.push(t));return e}function Li(i){return i.flatMap(e=>e.type==="page"?[e]:e.type==="menu"?Li(e.children):[])}const Ot=new Set,Fi=tt(0),tn=()=>Fi.set([...Ot].filter(i=>er(i)).length),Rs=i=>Tt(()=>{Ot.add(i);const e=i.subscribe(tn);return()=>{e(),Ot.delete(i),tn()}});Fi.subscribe(i=>{typeof document<"u"&&document.body.classList.toggle("bx--body--with-modal-open",i>0)});function nn(i,e,t){const n=i.slice();return n[55]=e[t],n}const Is=i=>({}),rn=i=>({}),Os=i=>({}),ln=i=>({});function sn(i){let e,t,n,r,s;return t=new Ke({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=U("button"),P(t.$$.fragment),this.h()},l(l){e=V(l,"BUTTON",{type:!0,"aria-label":!0});var a=y(e);W(t.$$.fragment,a),a.forEach(g),this.h()},h(){L(e,"type","button"),L(e,"aria-label",i[8]),A(e,"bx--modal-close",!0)},m(l,a){w(l,e,a),G(t,e,null),i[37](e),n=!0,r||(s=se(e,"click",i[38]),r=!0)},p(l,a){(!n||a[0]&256)&&L(e,"aria-label",l[8])},i(l){n||(b(t.$$.fragment,l),n=!0)},o(l){k(t.$$.fragment,l),n=!1},d(l){l&&g(e),D(t),i[37](null),r=!1,s()}}}function an(i){let e,t;const n=i[31].label,r=_e(n,i,i[50],ln),s=r||Ns(i);return{c(){e=U("h2"),s&&s.c(),this.h()},l(l){e=V(l,"H2",{id:!0});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){L(e,"id",i[25]),A(e,"bx--modal-header__label",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a[1]&524288)&&be(r,n,l,l[50],t?ke(n,l[50],a,Os):pe(l[50]),ln):s&&s.p&&(!t||a[0]&128)&&s.p(l,t?a:[-1,-1]),(!t||a[0]&33554432)&&L(e,"id",l[25])},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function Ns(i){let e;return{c(){e=ue(i[7])},l(t){e=oe(t,i[7])},m(t,n){w(t,e,n)},p(t,n){n[0]&128&&me(e,t[7])},d(t){t&&g(e)}}}function Cs(i){let e;return{c(){e=ue(i[6])},l(t){e=oe(t,i[6])},m(t,n){w(t,e,n)},p(t,n){n[0]&64&&me(e,t[6])},d(t){t&&g(e)}}}function on(i){let e,t,n,r,s;return t=new Ke({props:{size:20,class:"bx--modal-close__icon","aria-hidden":"true"}}),{c(){e=U("button"),P(t.$$.fragment),this.h()},l(l){e=V(l,"BUTTON",{type:!0,"aria-label":!0});var a=y(e);W(t.$$.fragment,a),a.forEach(g),this.h()},h(){L(e,"type","button"),L(e,"aria-label",i[8]),A(e,"bx--modal-close",!0)},m(l,a){w(l,e,a),G(t,e,null),i[39](e),n=!0,r||(s=se(e,"click",i[40]),r=!0)},p(l,a){(!n||a[0]&256)&&L(e,"aria-label",l[8])},i(l){n||(b(t.$$.fragment,l),n=!0)},o(l){k(t.$$.fragment,l),n=!1},d(l){l&&g(e),D(t),i[39](null),r=!1,s()}}}function un(i){let e;return{c(){e=U("div"),this.h()},l(t){e=V(t,"DIV",{}),y(e).forEach(g),this.h()},h(){A(e,"bx--modal-content--overflow-indicator",!0)},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function cn(i){let e,t,n,r,s,l;const a=[zs,Ts],o=[];function u(f,c){return f[16].length>0?0:f[15]?1:-1}return~(t=u(i))&&(n=o[t]=a[t](i)),s=new ot({props:{kind:i[3]?"danger":"primary",disabled:i[12],icon:i[13],$$slots:{default:[Bs]},$$scope:{ctx:i}}}),s.$on("click",i[43]),{c(){e=U("div"),n&&n.c(),r=re(),P(s.$$.fragment),this.h()},l(f){e=V(f,"DIV",{});var c=y(e);n&&n.l(c),r=ie(c),W(s.$$.fragment,c),c.forEach(g),this.h()},h(){A(e,"bx--modal-footer",!0),A(e,"bx--modal-footer--three-button",i[16].length===2)},m(f,c){w(f,e,c),~t&&o[t].m(e,null),N(e,r),G(s,e,null),l=!0},p(f,c){let d=t;t=u(f),t===d?~t&&o[t].p(f,c):(n&&(fe(),k(o[d],1,1,()=>{o[d]=null}),de()),~t?(n=o[t],n?n.p(f,c):(n=o[t]=a[t](f),n.c()),b(n,1),n.m(e,r)):n=null);const h={};c[0]&8&&(h.kind=f[3]?"danger":"primary"),c[0]&4096&&(h.disabled=f[12]),c[0]&8192&&(h.icon=f[13]),c[0]&2048|c[1]&524288&&(h.$$scope={dirty:c,ctx:f}),s.$set(h),(!l||c[0]&65536)&&A(e,"bx--modal-footer--three-button",f[16].length===2)},i(f){l||(b(n),b(s.$$.fragment,f),l=!0)},o(f){k(n),k(s.$$.fragment,f),l=!1},d(f){f&&g(e),~t&&o[t].d(),D(s)}}}function Ts(i){let e,t;return e=new ot({props:{kind:"secondary",$$slots:{default:[Ls]},$$scope:{ctx:i}}}),e.$on("click",i[42]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r[0]&32768|r[1]&524288&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function zs(i){let e,t,n=ye(i[16]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l{_=null}),de()),T[7]?F?(F.p(T,te),te[0]&128&&b(F,1)):(F=an(T),F.c(),b(F,1),F.m(n,s)):F&&(fe(),k(F,1,1,()=>{F=null}),de()),I?I.p&&(!p||te[1]&524288)&&be(I,ee,T,T[50],p?ke(ee,T[50],te,Is):pe(T[50]),rn):q&&q.p&&(!p||te[0]&64)&&q.p(T,p?te:[-1,-1]),(!p||te[0]&16777216)&&L(l,"id",T[24]),T[5]?E&&(fe(),k(E,1,1,()=>{E=null}),de()):E?(E.p(T,te),te[0]&32&&b(E,1)):(E=on(T),E.c(),b(E,1),E.m(n,null)),ae&&ae.p&&(!p||te[1]&524288)&&be(ae,j,T,T[50],p?ke(j,T[50],te,null):pe(T[50]),null),(!p||te[0]&8388608)&&L(u,"id",T[23]),(!p||te[0]&1024&&f!==(f=T[10]?"0":void 0))&&L(u,"tabindex",f),(!p||te[0]&1024&&c!==(c=T[10]?"region":void 0))&&L(u,"role",c),(!p||te[0]&4195328&&d!==(d=T[10]?T[22]:void 0))&&L(u,"aria-label",d),(!p||te[0]&50331776&&h!==(h=T[7]?T[25]:T[24]))&&L(u,"aria-labelledby",h),(!p||te[0]&512)&&A(u,"bx--modal-content--with-form",T[9]),(!p||te[0]&1024)&&A(u,"bx--modal-scroll-content",T[10]),T[10]?we||(we=un(),we.c(),we.m(t,v)):we&&(we.d(1),we=null),T[5]?le&&(fe(),k(le,1,1,()=>{le=null}),de()):le?(le.p(T,te),te[0]&32&&b(le,1)):(le=cn(T),le.c(),b(le,1),le.m(t,null)),(!p||te[0]&48&&R!==(R=T[4]?T[5]?"alert":"alertdialog":"dialog"))&&L(t,"role",R),(!p||te[0]&8388656&&C!==(C=T[4]&&!T[5]?T[23]:void 0))&&L(t,"aria-describedby",C),(!p||te[0]&4194304)&&L(t,"aria-label",T[22]),(!p||te[0]&4)&&A(t,"bx--modal-container--xs",T[2]==="xs"),(!p||te[0]&4)&&A(t,"bx--modal-container--sm",T[2]==="sm"),(!p||te[0]&4)&&A(t,"bx--modal-container--lg",T[2]==="lg"),ve(e,Re=he(Me,[{role:"presentation"},(!p||te[0]&262144)&&{id:T[18]},te[0]&268435456&&T[28]])),A(e,"bx--modal",!0),A(e,"bx--modal-tall",!T[5]),A(e,"is-visible",T[0]),A(e,"bx--modal--danger",T[3])},i(T){p||(b(_),b(F),b(q,T),b(E),b(ae,T),b(le),p=!0)},o(T){k(_),k(F),k(q,T),k(E),k(ae,T),k(le),p=!1},d(T){T&&g(e),_&&_.d(),F&&F.d(),q&&q.d(T),E&&E.d(),ae&&ae.d(T),we&&we.d(),le&&le.d(),i[44](null),i[46](null),S=!1,We(O)}}}function Ds(i,e,t){let n,r,s,l;const a=["size","open","danger","alert","passiveModal","modalHeading","modalLabel","modalAriaLabel","iconDescription","hasForm","hasScrollingContent","primaryButtonText","primaryButtonDisabled","primaryButtonIcon","shouldSubmitOnEnter","secondaryButtonText","secondaryButtons","selectorPrimaryFocus","preventCloseOnClickOutside","id","ref"];let o=B(e,a),u,{$$slots:f={},$$scope:c}=e,{size:d=void 0}=e,{open:h=!1}=e,{danger:m=!1}=e,{alert:v=!1}=e,{passiveModal:R=!1}=e,{modalHeading:C=void 0}=e,{modalLabel:p=void 0}=e,{modalAriaLabel:S=void 0}=e,{iconDescription:O="Close the modal"}=e,{hasForm:_=!1}=e,{hasScrollingContent:F=!1}=e,{primaryButtonText:ee=""}=e,{primaryButtonDisabled:I=!1}=e,{primaryButtonIcon:q=void 0}=e,{shouldSubmitOnEnter:E=!0}=e,{secondaryButtonText:j=""}=e,{secondaryButtons:ae=[]}=e,{selectorPrimaryFocus:we="[data-modal-primary-focus]"}=e,{preventCloseOnClickOutside:le=!1}=e,{id:Me="ccs-"+Math.random().toString(36)}=e,{ref:Re=null}=e;const T=st();let te=null,Ee=null,Se=!1,Oe=!1;function Ge(z){(Ee.querySelector(we)||te).focus()}const qe=tt(h);Ze(i,qe,z=>t(52,u=z)),Rs(qe),tr(()=>{Se?h||(Se=!1,T("close")):h&&(Se=!0,Ge(),T("open"))});function ut(z){ce.call(this,i,z)}function ct(z){ce.call(this,i,z)}function ft(z){ce.call(this,i,z)}function dt(z){ce.call(this,i,z)}function ht(z){ce.call(this,i,z)}function H(z){Ae[z?"unshift":"push"](()=>{te=z,t(19,te)})}const ji=()=>{t(0,h=!1)};function Vi(z){Ae[z?"unshift":"push"](()=>{te=z,t(19,te)})}const Ui=()=>{t(0,h=!1)},Yi=z=>{T("click:button--secondary",{text:z.text})},Zi=()=>{T("click:button--secondary",{text:j})},Ki=()=>{T("submit"),T("click:button--primary")};function Wi(z){Ae[z?"unshift":"push"](()=>{Ee=z,t(20,Ee)})}const xi=()=>{t(21,Oe=!0)};function qi(z){Ae[z?"unshift":"push"](()=>{Re=z,t(1,Re)})}const Xi=z=>{if(h)if(z.key==="Escape")t(0,h=!1);else if(z.key==="Tab"){const nt=Array.from(Re.querySelectorAll(` - a[href], area[href], input:not([disabled]):not([tabindex='-1']), - button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), - textarea:not([disabled]):not([tabindex='-1']), - iframe, object, embed, *[tabindex]:not([tabindex='-1']):not([disabled]), *[contenteditable=true] -`));let Je=nt.indexOf(document.activeElement);Je===-1&&z.shiftKey&&(Je=0),Je+=nt.length+(z.shiftKey?-1:1),Je%=nt.length,nt[Je].focus(),z.preventDefault()}else E&&z.key==="Enter"&&!I&&(T("submit"),T("click:button--primary"))},Qi=()=>{!Oe&&!le&&t(0,h=!1),t(21,Oe=!1)},Ji=z=>{z.propertyName==="transform"&&T("transitionend",{open:h})};return i.$$set=z=>{t(54,e=M(M({},e),x(z))),t(28,o=B(e,a)),"size"in z&&t(2,d=z.size),"open"in z&&t(0,h=z.open),"danger"in z&&t(3,m=z.danger),"alert"in z&&t(4,v=z.alert),"passiveModal"in z&&t(5,R=z.passiveModal),"modalHeading"in z&&t(6,C=z.modalHeading),"modalLabel"in z&&t(7,p=z.modalLabel),"modalAriaLabel"in z&&t(29,S=z.modalAriaLabel),"iconDescription"in z&&t(8,O=z.iconDescription),"hasForm"in z&&t(9,_=z.hasForm),"hasScrollingContent"in z&&t(10,F=z.hasScrollingContent),"primaryButtonText"in z&&t(11,ee=z.primaryButtonText),"primaryButtonDisabled"in z&&t(12,I=z.primaryButtonDisabled),"primaryButtonIcon"in z&&t(13,q=z.primaryButtonIcon),"shouldSubmitOnEnter"in z&&t(14,E=z.shouldSubmitOnEnter),"secondaryButtonText"in z&&t(15,j=z.secondaryButtonText),"secondaryButtons"in z&&t(16,ae=z.secondaryButtons),"selectorPrimaryFocus"in z&&t(30,we=z.selectorPrimaryFocus),"preventCloseOnClickOutside"in z&&t(17,le=z.preventCloseOnClickOutside),"id"in z&&t(18,Me=z.id),"ref"in z&&t(1,Re=z.ref),"$$scope"in z&&t(50,c=z.$$scope)},i.$$.update=()=>{i.$$.dirty[0]&1&&bt(qe,u=h,u),i.$$.dirty[0]&262144&&t(25,n=`bx--modal-header__label--modal-${Me}`),i.$$.dirty[0]&262144&&t(24,r=`bx--modal-header__heading--modal-${Me}`),i.$$.dirty[0]&262144&&t(23,s=`bx--modal-body--${Me}`),t(22,l=p||e["aria-label"]||S||C)},e=x(e),[h,Re,d,m,v,R,C,p,O,_,F,ee,I,q,E,j,ae,le,Me,te,Ee,Oe,l,s,r,n,T,qe,o,S,we,f,ut,ct,ft,dt,ht,H,ji,Vi,Ui,Yi,Zi,Ki,Wi,xi,qi,Xi,Qi,Ji,c]}class Ps extends J{constructor(e){super(),$(this,e,Ds,Hs,Q,{size:2,open:0,danger:3,alert:4,passiveModal:5,modalHeading:6,modalLabel:7,modalAriaLabel:29,iconDescription:8,hasForm:9,hasScrollingContent:10,primaryButtonText:11,primaryButtonDisabled:12,primaryButtonIcon:13,shouldSubmitOnEnter:14,secondaryButtonText:15,secondaryButtons:16,selectorPrimaryFocus:30,preventCloseOnClickOutside:17,id:18,ref:1},null,[-1,-1])}}function Gs(i){let e;const t=i[5].default,n=_e(t,i,i[13],null);return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,s){n&&n.m(r,s),e=!0},p(r,s){n&&n.p&&(!e||s&8192)&&be(n,t,r,r[13],e?ke(t,r[13],s,null):pe(r[13]),null)},i(r){e||(b(n,r),e=!0)},o(r){k(n,r),e=!1},d(r){n&&n.d(r)}}}function js(i){let e,t;const n=[i[4],{disabled:i[2]},{class:"bx--tile bx--tile--clickable "+(i[0]&&"bx--tile--is-clicked")+" "+(i[1]&&"bx--tile--light")+" "+i[4].class},{href:i[3]}];let r={$$slots:{default:[Gs]},$$scope:{ctx:i}};for(let s=0;s{t(0,a=!a)};function h(p){ce.call(this,i,p)}const m=({key:p})=>{(p===" "||p==="Enter")&&t(0,a=!a)};function v(p){ce.call(this,i,p)}function R(p){ce.call(this,i,p)}function C(p){ce.call(this,i,p)}return i.$$set=p=>{e=M(M({},e),x(p)),t(4,r=B(e,n)),"clicked"in p&&t(0,a=p.clicked),"light"in p&&t(1,o=p.light),"disabled"in p&&t(2,u=p.disabled),"href"in p&&t(3,f=p.href),"$$scope"in p&&t(13,l=p.$$scope)},[a,o,u,f,r,s,c,d,h,m,v,R,C,l]}class Bi extends J{constructor(e){super(),$(this,e,Vs,js,Q,{clicked:0,light:1,disabled:2,href:3})}}function dn(i){let e;return{c(){e=ue("...")},l(t){e=oe(t,"...")},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function hn(i){let e;return{c(){e=ue("...")},l(t){e=oe(t,"...")},m(t,n){w(t,e,n)},d(t){t&&g(e)}}}function Us(i){let e,t,n,r,s=i[1]>0&&dn(),l=i[2]0?s||(s=dn(),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null),o&8&&t.p(a[3]),a[2]{"text"in d&&t(0,a=d.text),"indexes"in d&&t(4,o=d.indexes)},i.$$.update=()=>{if(i.$$.dirty&16&&t(8,n=Math.min(...o.map(d=>d[0]))),i.$$.dirty&16&&t(7,r=Math.max(...o.map(d=>d[1]))),i.$$.dirty&256&&t(1,s=Math.max(n-gn,0)),i.$$.dirty&129&&t(2,l=Math.min(r+gn+1,a.length)),i.$$.dirty&23&&(t(5,u=a.slice(s,l)),t(6,f=o.map(([d,h])=>[d-s,h-s]))),i.$$.dirty&104){const d=new Set(f.map(([v])=>v)),h=new Set(f.map(([,v])=>v));t(3,c="");let m=!1;for(let v=0;v"),t(3,c+=R)):h.has(v)&&m?(m=!1,t(3,c+=R),t(3,c+="")):t(3,c+=R)}}},[a,s,l,c,o,u,f,r,n]}class Ft extends J{constructor(e){super(),$(this,e,Ys,Us,Q,{text:0,indexes:4})}}function mn(i,e,t){const n=i.slice();return n[2]=e[t],n[4]=t,n}function _n(i){let e,t,n,r,s=i[1].length>0&&bn();return{c(){e=U("strong"),t=ue(i[0]),n=re(),s&&s.c(),r=Y()},l(l){e=V(l,"STRONG",{});var a=y(e);t=oe(a,i[0]),a.forEach(g),n=ie(l),s&&s.l(l),r=Y()},m(l,a){w(l,e,a),N(e,t),w(l,n,a),s&&s.m(l,a),w(l,r,a)},p(l,a){a&1&&me(t,l[0]),l[1].length>0?s||(s=bn(),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(l){l&&(g(e),g(n),g(r)),s&&s.d(l)}}}function bn(i){let e=" > ",t;return{c(){t=ue(e)},l(n){t=oe(n,e)},m(n,r){w(n,t,r)},d(n){n&&g(t)}}}function pn(i){let e=" > ",t;return{c(){t=ue(e)},l(n){t=oe(n,e)},m(n,r){w(n,t,r)},d(n){n&&g(t)}}}function kn(i){let e,t=i[2].text+"",n,r,s,l=i[4]{"section"in s&&t(0,n=s.section),"headers"in s&&t(1,r=s.headers)},[n,r]}class Hi extends J{constructor(e){super(),$(this,e,Ks,Zs,Q,{section:0,headers:1})}}function vn(i){let e,t,n,r;return{c(){e=U("strong"),t=ue("("),n=ue(i[3]),r=ue(")")},l(s){e=V(s,"STRONG",{});var l=y(e);t=oe(l,"("),n=oe(l,i[3]),r=oe(l,")"),l.forEach(g)},m(s,l){w(s,e,l),N(e,t),N(e,n),N(e,r)},p(s,l){l&8&&me(n,s[3])},d(s){s&&g(e)}}}function Ws(i){let e,t,n,r,s,l,a;e=new Hi({props:{section:i[2],headers:[{id:i[0].result.name,depth:1,text:i[0].result.name}]}});let o=i[3]&&vn(i);return l=new Ft({props:{text:i[0].matches[0].value,indexes:i[0].matches[0].indices}}),{c(){P(e.$$.fragment),t=re(),o&&o.c(),n=re(),r=U("br"),s=re(),P(l.$$.fragment)},l(u){W(e.$$.fragment,u),t=ie(u),o&&o.l(u),n=ie(u),r=V(u,"BR",{}),s=ie(u),W(l.$$.fragment,u)},m(u,f){G(e,u,f),w(u,t,f),o&&o.m(u,f),w(u,n,f),w(u,r,f),w(u,s,f),G(l,u,f),a=!0},p(u,f){const c={};f&4&&(c.section=u[2]),f&1&&(c.headers=[{id:u[0].result.name,depth:1,text:u[0].result.name}]),e.$set(c),u[3]?o?o.p(u,f):(o=vn(u),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null);const d={};f&1&&(d.text=u[0].matches[0].value),f&1&&(d.indexes=u[0].matches[0].indices),l.$set(d)},i(u){a||(b(e.$$.fragment,u),b(l.$$.fragment,u),a=!0)},o(u){k(e.$$.fragment,u),k(l.$$.fragment,u),a=!1},d(u){u&&(g(t),g(n),g(r),g(s)),D(e,u),o&&o.d(u),D(l,u)}}}function xs(i){let e,t;return e=new Bi({props:{href:i[1],$$slots:{default:[Ws]},$$scope:{ctx:i}}}),e.$on("click",i[4]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,[r]){const s={};r&2&&(s.href=n[1]),r&45&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function qs(i,e,t){let{item:n}=e,r,s,l;function a(o){ce.call(this,i,o)}return i.$$set=o=>{"item"in o&&t(0,n=o.item)},i.$$.update=()=>{i.$$.dirty&1&&(n.result.type===Ne.QUERY?(t(1,r=Xe.joinUrlPaths($e(),`/queries/${n.result.name}`)),t(2,s="Queries")):n.result.type===Ne.MUTATION?(t(1,r=Xe.joinUrlPaths($e(),`/mutations/${n.result.name}`)),t(2,s="Mutations")):n.result.type===Ne.SUBSCRIPTION?(t(1,r=Xe.joinUrlPaths($e(),`/subscriptions/${n.result.name}`)),t(2,s="Subscriptions")):n.result.type===Ne.TYPE&&(t(1,r=Xe.joinUrlPaths($e(),`/types/${n.result.name}`)),t(2,s="Types"))),i.$$.dirty&1&&(n.matches[0].location.includes("arguments")?t(3,l="argument"):n.matches[0].location.includes("fields")?t(3,l="field"):n.matches[0].location.includes("value")?t(3,l="enum"):n.matches[0].location.includes("name")?t(3,l="name"):n.matches[0].location.includes("description")&&t(3,l="description"))},[n,r,s,l,a]}class Xs extends J{constructor(e){super(),$(this,e,qs,xs,Q,{item:0})}}function Qs(i){let e,t;return e=new Ft({props:{text:i[0].part.content,indexes:i[1]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.text=n[0].part.content),r&2&&(s.indexes=n[1]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Js(i){let e,t;return e=new Ft({props:{text:i[0].part.title,indexes:i[1]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.text=n[0].part.title),r&2&&(s.indexes=n[1]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $s(i){let e,t,n,r,s,l,a,o;e=new Hi({props:{headers:i[2],section:i[0].data.section}});const u=[Js,Qs],f=[];function c(d,h){return d[0].part.type===Be.HEADER?0:1}return s=c(i),l=f[s]=u[s](i),{c(){P(e.$$.fragment),t=re(),n=U("br"),r=re(),l.c(),a=Y()},l(d){W(e.$$.fragment,d),t=ie(d),n=V(d,"BR",{}),r=ie(d),l.l(d),a=Y()},m(d,h){G(e,d,h),w(d,t,h),w(d,n,h),w(d,r,h),f[s].m(d,h),w(d,a,h),o=!0},p(d,h){const m={};h&4&&(m.headers=d[2]),h&1&&(m.section=d[0].data.section),e.$set(m);let v=s;s=c(d),s===v?f[s].p(d,h):(fe(),k(f[v],1,1,()=>{f[v]=null}),de(),l=f[s],l?l.p(d,h):(l=f[s]=u[s](d),l.c()),b(l,1),l.m(a.parentNode,a))},i(d){o||(b(e.$$.fragment,d),b(l),o=!0)},o(d){k(e.$$.fragment,d),k(l),o=!1},d(d){d&&(g(t),g(n),g(r),g(a)),D(e,d),f[s].d(d)}}}function ea(i){let e,t;return e=new Bi({props:{href:i[3],$$slots:{default:[$s]},$$scope:{ctx:i}}}),e.$on("click",i[4]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,[r]){const s={};r&8&&(s.href=n[3]),r&39&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ta(i,e,t){let n,{result:r}=e,{indexes:s}=e,l;function a(o){ce.call(this,i,o)}return i.$$set=o=>{"result"in o&&t(0,r=o.result),"indexes"in o&&t(1,s=o.indexes)},i.$$.update=()=>{if(i.$$.dirty&1&&t(2,n=r.part.type===Be.HEADER?r.part.path:r.part.headers),i.$$.dirty&5){const o=n[n.length-1],u=r.data.url;!o||o.depth===1?t(3,l=u):t(3,l=`${u}#${o.id}`)}},[r,s,n,l,a]}class na extends J{constructor(e){super(),$(this,e,ta,ea,Q,{result:0,indexes:1})}}function ia(i){let e,t;return e=new Xs({props:{item:i[0]}}),e.$on("click",i[2]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.item=n[0]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ra(i){let e,t;return e=new na({props:{result:i[0].result,indexes:i[0].matches[0].indices}}),e.$on("click",i[1]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&1&&(s.result=n[0].result),r&1&&(s.indexes=n[0].matches[0].indices),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function la(i){let e,t,n,r;const s=[ra,ia],l=[];function a(o,u){return o[0].type==="markdown"?0:o[0].type==="graphql"?1:-1}return~(e=a(i))&&(t=l[e]=s[e](i)),{c(){t&&t.c(),n=Y()},l(o){t&&t.l(o),n=Y()},m(o,u){~e&&l[e].m(o,u),w(o,n,u),r=!0},p(o,[u]){let f=e;e=a(o),e===f?~e&&l[e].p(o,u):(t&&(fe(),k(l[f],1,1,()=>{l[f]=null}),de()),~e?(t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n)):t=null)},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),~e&&l[e].d(o)}}}function sa(i,e,t){let{item:n}=e;function r(l){ce.call(this,i,l)}function s(l){ce.call(this,i,l)}return i.$$set=l=>{"item"in l&&t(0,n=l.item)},[n,r,s]}class aa extends J{constructor(e){super(),$(this,e,sa,la,Q,{item:0})}}function wn(i,e,t){const n=i.slice();return n[6]=e[t],n}function En(i){let e,t,n;function r(l){i[5](l)}let s={modalHeading:"Search",passiveModal:!0,selectorPrimaryFocus:"#search-bar",hasScrollingContent:!1,$$slots:{default:[oa]},$$scope:{ctx:i}};return i[0]!==void 0&&(s.open=i[0]),e=new Ps({props:s}),Ae.push(()=>De(e,"open",r)),{c(){P(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){G(e,l,a),n=!0},p(l,a){const o={};a&519&&(o.$$scope={dirty:a,ctx:l}),!t&&a&1&&(t=!0,o.open=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function Sn(i){let e,t;return e=new aa({props:{item:i[6]}}),e.$on("click",i[4]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&4&&(s.item=n[6]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function oa(i){let e,t,n,r,s;function l(c){i[3](c)}let a={id:"search-bar"};i[1]!==void 0&&(a.value=i[1]),e=new vi({props:a}),Ae.push(()=>De(e,"value",l));let o=ye(i[2]),u=[];for(let c=0;ck(u[c],1,1,()=>{u[c]=null});return{c(){P(e.$$.fragment),n=re(),r=U("div");for(let c=0;ct=!1)),e.$set(h),d&5){o=ye(c[2]);let m;for(m=0;m{n=null}),de())},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function ca(i,e,t){let{open:n=!1}=e,r="",s;function l(u){r=u,t(1,r)}const a=()=>t(0,n=!1);function o(u){n=u,t(0,n)}return i.$$set=u=>{"open"in u&&t(0,n=u.open)},i.$$.update=()=>{i.$$.dirty&2&&t(2,s=As(r))},[n,r,s,l,a,o]}class fa extends J{constructor(e){super(),$(this,e,ca,ua,Q,{open:0})}}function An(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function da(i){let e,t,n=i[1]&&An(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ga extends J{constructor(e){super(),$(this,e,ha,da,Q,{size:0,title:1})}}function yn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function ma(i){let e,t,n,r=i[1]&&yn(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],l={};for(let a=0;a{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ba extends J{constructor(e){super(),$(this,e,_a,ma,Q,{size:0,title:1})}}function Mn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function pa(i){let e,t,n,r=i[1]&&Mn(i),s=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],l={};for(let a=0;a{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class va extends J{constructor(e){super(),$(this,e,ka,pa,Q,{size:0,title:1})}}function Rn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function wa(i){let e,t,n=i[1]&&Rn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Sa extends J{constructor(e){super(),$(this,e,Ea,wa,Q,{size:0,title:1})}}function In(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Aa(i){let e,t,n=i[1]&&In(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ma extends J{constructor(e){super(),$(this,e,ya,Aa,Q,{size:0,title:1})}}function On(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ra(i){let e,t,n=i[1]&&On(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Oa extends J{constructor(e){super(),$(this,e,Ia,Ra,Q,{size:0,title:1})}}function Nn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Na(i){let e,t,n,r,s=i[1]&&Nn(i),l=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],a={};for(let o=0;o{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ta extends J{constructor(e){super(),$(this,e,Ca,Na,Q,{size:0,title:1})}}function Cn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function za(i){let e,t,n=i[1]&&Cn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Fa extends J{constructor(e){super(),$(this,e,La,za,Q,{size:0,title:1})}}function Tn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Ba(i){let e,t,n=i[1]&&Tn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Da extends J{constructor(e){super(),$(this,e,Ha,Ba,Q,{size:0,title:1})}}function zn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Pa(i){let e,t,n=i[1]&&zn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ja extends J{constructor(e){super(),$(this,e,Ga,Pa,Q,{size:0,title:1})}}function Ln(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Va(i){let e,t,n=i[1]&&Ln(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Ya extends J{constructor(e){super(),$(this,e,Ua,Va,Q,{size:0,title:1})}}function Fn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Za(i){let e,t,n=i[1]&&Fn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Wa extends J{constructor(e){super(),$(this,e,Ka,Za,Q,{size:0,title:1})}}function Bn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function xa(i){let e,t,n=i[1]&&Bn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class Xa extends J{constructor(e){super(),$(this,e,qa,xa,Q,{size:0,title:1})}}function Hn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function Qa(i){let e,t,n=i[1]&&Hn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class $a extends J{constructor(e){super(),$(this,e,Ja,Qa,Q,{size:0,title:1})}}function Nt(i){var t;const e=((t=i.kind)==null?void 0:t.toLocaleLowerCase())||i.label.toLocaleLowerCase();return e.includes("github")?Oa:e.includes("linkedin")?Fa:e.includes("twitter")?Wa:e.includes("tumblr")?Ya:e.includes("instagram")?Ta:e.includes("facebook")?Ma:e.includes("youtube")?Xa:e.includes("discord")?Sa:e.includes("medium")?Da:e.includes("slack")?ja:e.includes("article")||e.includes("blog")?ga:e.includes("carbon")?ba:e.includes("playground")||e.includes("graphiql")||e.includes("demo")||e.includes("demonstration")?$a:va}function Dn(i,e,t){const n=i.slice();return n[1]=e[t],n}function eo(i){let e,t,n=ye(i[0]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l0&&eo(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,[s]){r[0].length>0&&n.p(r,s)},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function no(i){return[et(Qe.EXTERNAL_LINKS,[]).filter(t=>(t==null?void 0:t.position)==="header")]}class io extends J{constructor(e){super(),$(this,e,no,to,Q,{})}}function ro(i){const e=i-1;return e*e*e+1}function Gn(i,{delay:e=0,duration:t=400,easing:n=ro,axis:r="y"}={}){const s=getComputedStyle(i),l=+s.opacity,a=r==="y"?"height":"width",o=parseFloat(s[a]),u=r==="y"?["top","bottom"]:["left","right"],f=u.map(C=>`${C[0].toUpperCase()}${C.slice(1)}`),c=parseFloat(s[`padding${f[0]}`]),d=parseFloat(s[`padding${f[1]}`]),h=parseFloat(s[`margin${f[0]}`]),m=parseFloat(s[`margin${f[1]}`]),v=parseFloat(s[`border${f[0]}Width`]),R=parseFloat(s[`border${f[1]}Width`]);return{delay:e,duration:t,easing:n,css:C=>`overflow: hidden;opacity: ${Math.min(C*20,1)*l};${a}: ${C*o}px;padding-${u[0]}: ${C*c}px;padding-${u[1]}: ${C*d}px;margin-${u[0]}: ${C*h}px;margin-${u[1]}: ${C*m}px;border-${u[0]}-width: ${C*v}px;border-${u[1]}-width: ${C*R}px;`}}function jn(i){let e,t;return{c(){e=K("title"),t=ue(i[1])},l(n){e=Z(n,"title",{});var r=y(e);t=oe(r,i[1]),r.forEach(g)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&2&&me(t,n[1])},d(n){n&&g(e)}}}function lo(i){let e,t,n=i[1]&&jn(i),r=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{t(5,e=M(M({},e),x(u))),t(3,l=B(e,s)),"size"in u&&t(0,a=u.size),"title"in u&&t(1,o=u.title)},i.$$.update=()=>{t(4,n=e["aria-label"]||e["aria-labelledby"]||o),t(2,r={"aria-hidden":n?void 0:!0,role:n?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=x(e),[a,o,r,l,n]}class ao extends J{constructor(e){super(),$(this,e,so,lo,Q,{size:0,title:1})}}const oo=i=>({}),Vn=i=>({}),uo=i=>({}),Un=i=>({}),co=i=>({}),Yn=i=>({});function fo(i){let e;const t=i[11].icon,n=_e(t,i,i[10],Un),r=n||go(i);return{c(){r&&r.c()},l(s){r&&r.l(s)},m(s,l){r&&r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&1024)&&be(n,t,s,s[10],e?ke(t,s[10],l,uo):pe(s[10]),Un):r&&r.p&&(!e||l&4)&&r.p(s,e?l:-1)},i(s){e||(b(r,s),e=!0)},o(s){k(r,s),e=!1},d(s){r&&r.d(s)}}}function ho(i){let e;const t=i[11].closeIcon,n=_e(t,i,i[10],Yn),r=n||mo(i);return{c(){r&&r.c()},l(s){r&&r.l(s)},m(s,l){r&&r.m(s,l),e=!0},p(s,l){n?n.p&&(!e||l&1024)&&be(n,t,s,s[10],e?ke(t,s[10],l,co):pe(s[10]),Yn):r&&r.p&&(!e||l&8)&&r.p(s,e?l:-1)},i(s){e||(b(r,s),e=!0)},o(s){k(r,s),e=!1},d(s){r&&r.d(s)}}}function go(i){let e,t,n;var r=i[2];function s(l,a){return{props:{size:20}}}return r&&(e=Ie(r,s())),{c(){e&&P(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&G(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&4&&r!==(r=l[2])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{D(o,1)}),de()}r?(e=Ie(r,s()),P(e.$$.fragment),b(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&D(e,l)}}}function mo(i){let e,t,n;var r=i[3];function s(l,a){return{props:{size:20}}}return r&&(e=Ie(r,s())),{c(){e&&P(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&G(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&8&&r!==(r=l[3])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{D(o,1)}),de()}r?(e=Ie(r,s()),P(e.$$.fragment),b(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&D(e,l)}}}function Zn(i){let e,t;return{c(){e=U("span"),t=ue(i[4]),this.h()},l(n){e=V(n,"SPAN",{});var r=y(e);t=oe(r,i[4]),r.forEach(g),this.h()},h(){A(e,"bx--header__action-text",!0)},m(n,r){w(n,e,r),N(e,t)},p(n,r){r&16&&me(t,n[4])},d(n){n&&g(e)}}}function _o(i){let e,t=i[4]&&Zn(i);return{c(){t&&t.c(),e=Y()},l(n){t&&t.l(n),e=Y()},m(n,r){t&&t.m(n,r),w(n,e,r)},p(n,r){n[4]?t?t.p(n,r):(t=Zn(n),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},d(n){n&&g(e),t&&t.d(n)}}}function Kn(i){let e,t,n;const r=i[11].default,s=_e(r,i,i[10],null);return{c(){e=U("div"),s&&s.c(),this.h()},l(l){e=V(l,"DIV",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--header-panel",!0),A(e,"bx--header-panel--expanded",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),i[16](e),n=!0},p(l,a){i=l,s&&s.p&&(!n||a&1024)&&be(s,r,i,i[10],n?ke(r,i[10],a,null):pe(i[10]),null)},i(l){n||(b(s,l),l&<(()=>{n&&(t||(t=Ht(e,Gn,{...i[5],duration:i[5]===!1?0:i[5].duration},!0)),t.run(1))}),n=!0)},o(l){k(s,l),l&&(t||(t=Ht(e,Gn,{...i[5],duration:i[5]===!1?0:i[5].duration},!1)),t.run(0)),n=!1},d(l){l&&g(e),s&&s.d(l),i[16](null),l&&t&&t.end()}}}function bo(i){let e,t,n,r,s,l,a,o,u;const f=[ho,fo],c=[];function d(S,O){return S[0]?0:1}t=d(i),n=c[t]=f[t](i);const h=i[11].text,m=_e(h,i,i[10],Vn),v=m||_o(i);let R=[{type:"button"},i[9]],C={};for(let S=0;S{c[_]=null}),de(),n=c[t],n?n.p(S,O):(n=c[t]=f[t](S),n.c()),b(n,1),n.m(e,r)),m?m.p&&(!a||O&1024)&&be(m,h,S,S[10],a?ke(h,S[10],O,oo):pe(S[10]),Vn):v&&v.p&&(!a||O&16)&&v.p(S,a?O:-1),ve(e,C=he(R,[{type:"button"},O&512&&S[9]])),A(e,"bx--header__action",!0),A(e,"bx--header__action--active",S[0]),A(e,"bx--header__action--text",S[4]),S[0]?p?(p.p(S,O),O&1&&b(p,1)):(p=Kn(S),p.c(),b(p,1),p.m(l.parentNode,l)):p&&(fe(),k(p,1,1,()=>{p=null}),de())},i(S){a||(b(n),b(v,S),b(p),a=!0)},o(S){k(n),k(v,S),k(p),a=!1},d(S){S&&(g(e),g(s),g(l)),c[t].d(),v&&v.d(S),i[14](null),p&&p.d(S),o=!1,We(u)}}}function po(i,e,t){const n=["isOpen","icon","closeIcon","text","ref","transition","preventCloseOnClickOutside"];let r=B(e,n),{$$slots:s={},$$scope:l}=e,{isOpen:a=!1}=e,{icon:o=ao}=e,{closeIcon:u=Ke}=e,{text:f=void 0}=e,{ref:c=null}=e,{transition:d={duration:200}}=e,{preventCloseOnClickOutside:h=!1}=e;const m=st();let v=null;function R(_){ce.call(this,i,_)}const C=({target:_})=>{a&&!c.contains(_)&&!v.contains(_)&&!h&&(t(0,a=!1),m("close"))};function p(_){Ae[_?"unshift":"push"](()=>{c=_,t(1,c)})}const S=()=>{t(0,a=!a),m(a?"open":"close")};function O(_){Ae[_?"unshift":"push"](()=>{v=_,t(7,v)})}return i.$$set=_=>{e=M(M({},e),x(_)),t(9,r=B(e,n)),"isOpen"in _&&t(0,a=_.isOpen),"icon"in _&&t(2,o=_.icon),"closeIcon"in _&&t(3,u=_.closeIcon),"text"in _&&t(4,f=_.text),"ref"in _&&t(1,c=_.ref),"transition"in _&&t(5,d=_.transition),"preventCloseOnClickOutside"in _&&t(6,h=_.preventCloseOnClickOutside),"$$scope"in _&&t(10,l=_.$$scope)},[a,c,o,u,f,d,h,v,m,r,l,s,R,C,p,S,O]}class ko extends J{constructor(e){super(),$(this,e,po,bo,Q,{isOpen:0,icon:2,closeIcon:3,text:4,ref:1,transition:5,preventCloseOnClickOutside:6})}}function Wn(i){let e,t;const n=i[2].default,r=_e(n,i,i[1],null);return{c(){e=U("li"),r&&r.c(),this.h()},l(s){e=V(s,"LI",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--header-panel-divider",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,l){r&&r.p&&(!t||l&2)&&be(r,n,s,s[1],t?ke(n,s[1],l,null):pe(s[1]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function vo(i){let e,t,n,r=i[0].default&&Wn(i);return{c(){r&&r.c(),e=re(),t=U("hr"),this.h()},l(s){r&&r.l(s),e=ie(s),t=V(s,"HR",{}),this.h()},h(){A(t,"bx--switcher__item--divider",!0)},m(s,l){r&&r.m(s,l),w(s,e,l),w(s,t,l),n=!0},p(s,[l]){s[0].default?r?(r.p(s,l),l&1&&b(r,1)):(r=Wn(s),r.c(),b(r,1),r.m(e.parentNode,e)):r&&(fe(),k(r,1,1,()=>{r=null}),de())},i(s){n||(b(r),n=!0)},o(s){k(r),n=!1},d(s){s&&(g(e),g(t)),r&&r.d(s)}}}function wo(i,e,t){let{$$slots:n={},$$scope:r}=e;const s=Ct(n);return i.$$set=l=>{"$$scope"in l&&t(1,r=l.$$scope)},[s,r,n]}class Eo extends J{constructor(e){super(),$(this,e,wo,vo,Q,{})}}function So(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=U("ul"),r&&r.c(),this.h()},l(s){e=V(s,"UL",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--switcher__item",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function Ao(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class yo extends J{constructor(e){super(),$(this,e,Ao,So,Q,{})}}function Mo(i){let e,t,n,r,s,l;const a=i[4].default,o=_e(a,i,i[3],null);let u=[{href:i[1]},{rel:n=i[2].target==="_blank"?"noopener noreferrer":void 0},i[2]],f={};for(let c=0;c{o=c,t(0,o)})}return i.$$set=c=>{e=M(M({},e),x(c)),t(2,r=B(e,n)),"href"in c&&t(1,a=c.href),"ref"in c&&t(0,o=c.ref),"$$scope"in c&&t(3,l=c.$$scope)},[o,a,r,l,s,u,f]}class Io extends J{constructor(e){super(),$(this,e,Ro,Mo,Q,{href:1,ref:0})}}function Oo(i){let e,t,n,r=i[0].label+"",s,l;var a=Nt(i[0]);function o(u,f){return{props:{size:16,style:"margin-right: 0.3rem"}}}return a&&(t=Ie(a,o())),{c(){e=U("div"),t&&P(t.$$.fragment),n=re(),s=ue(r),this.h()},l(u){e=V(u,"DIV",{class:!0});var f=y(e);t&&W(t.$$.fragment,f),n=ie(f),s=oe(f,r),f.forEach(g),this.h()},h(){L(e,"class","container svelte-1kq8gho")},m(u,f){w(u,e,f),t&&G(t,e,null),N(e,n),N(e,s),l=!0},p(u,f){if(f&1&&a!==(a=Nt(u[0]))){if(t){fe();const c=t;k(c.$$.fragment,1,0,()=>{D(c,1)}),de()}a?(t=Ie(a,o()),P(t.$$.fragment),b(t.$$.fragment,1),G(t,e,n)):t=null}(!l||f&1)&&r!==(r=u[0].label+"")&&me(s,r)},i(u){l||(t&&b(t.$$.fragment,u),l=!0)},o(u){t&&k(t.$$.fragment,u),l=!1},d(u){u&&g(e),t&&D(t)}}}function No(i){let e,t;return e=new Io({props:{href:i[0].href,$$slots:{default:[Oo]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,[r]){const s={};r&1&&(s.href=n[0].href),r&3&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Co(i,e,t){let{link:n}=e;return i.$$set=r=>{"link"in r&&t(0,n=r.link)},[n]}class Di extends J{constructor(e){super(),$(this,e,Co,No,Q,{link:0})}}function xn(i,e,t){const n=i.slice();return n[3]=e[t],n}function qn(i,e,t){const n=i.slice();return n[6]=e[t],n}function Xn(i,e,t){const n=i.slice();return n[3]=e[t],n}function To(i){let e,t;return e=new ko({props:{transition:!1,$$slots:{default:[Fo]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&2048&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Qn(i){let e,t;return e=new Di({props:{link:i[3]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function zo(i){let e=i[3].key+"",t;return{c(){t=ue(e)},l(n){t=oe(n,e)},m(n,r){w(n,t,r)},p:X,d(n){n&&g(t)}}}function Jn(i){let e,t;return e=new Di({props:{link:i[6]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $n(i){let e,t,n,r;e=new Eo({props:{$$slots:{default:[zo]},$$scope:{ctx:i}}});let s=ye(i[3].value),l=[];for(let o=0;ok(l[o],1,1,()=>{l[o]=null});return{c(){P(e.$$.fragment),t=re();for(let o=0;ok(s[f],1,1,()=>{s[f]=null});let a=ye(i[2]),o=[];for(let f=0;fk(o[f],1,1,()=>{o[f]=null});return{c(){for(let f=0;f0&&To(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,[s]){r[0].length>0&&n.p(r,s)},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function Ho(i){const e=et(Qe.EXTERNAL_LINKS,[]).filter(r=>(r==null?void 0:r.position)==="navigation"||!(r!=null&&r.position)),t=e.filter(r=>!!(r&&!r.group)),n=pt.map(pt.groupBy(e.filter(r=>!!(r!=null&&r.group)),r=>r.group),(r,s)=>({key:s,value:r}));return[e,t,n]}class Do extends J{constructor(e){super(),$(this,e,Ho,Bo,Q,{})}}function Po(i){let e,t,n;return t=new vi({props:{placeholder:`Search ${kt}... (${i[3]?"⌘":"Ctrl"}+K)`,autocomplete:"off",size:"sm"}}),t.$on("focus",i[5]),{c(){e=U("div"),P(t.$$.fragment),this.h()},l(r){e=V(r,"DIV",{class:!0});var s=y(e);W(t.$$.fragment,s),s.forEach(g),this.h()},h(){L(e,"class","search-bar-wrapper svelte-1n6280p")},m(r,s){w(r,e,s),G(t,e,null),n=!0},p(r,s){const l={};s&8&&(l.placeholder=`Search ${kt}... (${r[3]?"⌘":"Ctrl"}+K)`),t.$set(l)},i(r){n||(b(t.$$.fragment,r),n=!0)},o(r){k(t.$$.fragment,r),n=!1},d(r){r&&g(e),D(t)}}}function Go(i){let e,t;return e=new ki({props:{icon:kl,iconDescription:"Search"}}),e.$on("click",i[4]),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p:X,i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function jo(i){let e,t,n,r,s,l,a;const o=[Go,Po],u=[];function f(c,d){return c[1]?0:1}return e=f(i),t=u[e]=o[e](i),r=new io({}),l=new Do({}),{c(){t.c(),n=re(),P(r.$$.fragment),s=re(),P(l.$$.fragment)},l(c){t.l(c),n=ie(c),W(r.$$.fragment,c),s=ie(c),W(l.$$.fragment,c)},m(c,d){u[e].m(c,d),w(c,n,d),G(r,c,d),w(c,s,d),G(l,c,d),a=!0},p(c,d){let h=e;e=f(c),e===h?u[e].p(c,d):(fe(),k(u[h],1,1,()=>{u[h]=null}),de(),t=u[e],t?t.p(c,d):(t=u[e]=o[e](c),t.c()),b(t,1),t.m(n.parentNode,n))},i(c){a||(b(t),b(r.$$.fragment,c),b(l.$$.fragment,c),a=!0)},o(c){k(t),k(r.$$.fragment,c),k(l.$$.fragment,c),a=!1},d(c){c&&(g(n),g(s)),u[e].d(c),D(r,c),D(l,c)}}}function Vo(i){let e,t;return e=new rl({props:{$$slots:{default:[jo]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&526&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function Uo(i){let e,t,n;return t=new Pr({}),{c(){e=U("div"),P(t.$$.fragment),this.h()},l(r){e=V(r,"DIV",{slot:!0,class:!0});var s=y(e);W(t.$$.fragment,s),s.forEach(g),this.h()},h(){L(e,"slot","platform"),L(e,"class","header-logo-wrapper svelte-1n6280p")},m(r,s){w(r,e,s),G(t,e,null),n=!0},p:X,i(r){n||(b(t.$$.fragment,r),n=!0)},o(r){k(t.$$.fragment,r),n=!1},d(r){r&&g(e),D(t)}}}function Yo(i){let e,t,n,r,s,l;function a(c){i[6](c)}let o={href:kr||"/",expandedByDefault:!0,$$slots:{platform:[Uo],default:[Vo]},$$scope:{ctx:i}};i[0]!==void 0&&(o.isSideNavOpen=i[0]),e=new Jr({props:o}),Ae.push(()=>De(e,"isSideNavOpen",a));function u(c){i[7](c)}let f={};return i[2]!==void 0&&(f.open=i[2]),r=new fa({props:f}),Ae.push(()=>De(r,"open",u)),{c(){P(e.$$.fragment),n=re(),P(r.$$.fragment)},l(c){W(e.$$.fragment,c),n=ie(c),W(r.$$.fragment,c)},m(c,d){G(e,c,d),w(c,n,d),G(r,c,d),l=!0},p(c,[d]){const h={};d&526&&(h.$$scope={dirty:d,ctx:c}),!t&&d&1&&(t=!0,h.isSideNavOpen=c[0],He(()=>t=!1)),e.$set(h);const m={};!s&&d&4&&(s=!0,m.open=c[2],He(()=>s=!1)),r.$set(m)},i(c){l||(b(e.$$.fragment,c),b(r.$$.fragment,c),l=!0)},o(c){k(e.$$.fragment,c),k(r.$$.fragment,c),l=!1},d(c){c&&g(n),D(e,c),D(r,c)}}}function Zo(i,e,t){let{isSideNavOpen:n=!0}=e,{mobile:r=!1}=e,s=!1,l=!1,a=d=>{d.metaKey||d.ctrlKey?d.key==="k"&&(d.preventDefault(),t(2,s=!0)):d.key==="Escape"&&t(2,s=!1)};Tt(()=>{var d,h;t(3,l=((h=(d=navigator==null?void 0:navigator.userAgent)==null?void 0:d.toUpperCase())==null?void 0:h.indexOf("MAC"))>=0),window.addEventListener("keydown",a)}),fi(()=>{window.removeEventListener("keydown",a)});const o=()=>t(2,s=!0),u=()=>t(2,s=!0);function f(d){n=d,t(0,n)}function c(d){s=d,t(2,s)}return i.$$set=d=>{"isSideNavOpen"in d&&t(0,n=d.isSideNavOpen),"mobile"in d&&t(1,r=d.mobile)},[n,r,s,l,o,u,f,c]}class Ko extends J{constructor(e){super(),$(this,e,Zo,Yo,Q,{isSideNavOpen:0,mobile:1})}}function ei(i){let e,t,n;return{c(){e=U("div"),this.h()},l(r){e=V(r,"DIV",{}),y(e).forEach(g),this.h()},h(){A(e,"bx--side-nav__overlay",!0),A(e,"bx--side-nav__overlay-active",i[0]),je(e,"z-index",i[0]?6e3:void 0)},m(r,s){w(r,e,s),t||(n=se(e,"click",i[11]),t=!0)},p(r,s){s&1&&A(e,"bx--side-nav__overlay-active",r[0]),s&1&&je(e,"z-index",r[0]?6e3:void 0)},d(r){r&&g(e),t=!1,n()}}}function Wo(i){let e,t,n,r,s,l;lt(i[10]);let a=!i[1]&&ei(i);const o=i[9].default,u=_e(o,i,i[8],null);let f=[{"aria-hidden":n=!i[0]},{"aria-label":i[3]},i[7]],c={};for(let d=0;d=i[4]?!1:i[0]),A(t,"bx--side-nav--collapsed",!i[0]&&!i[2]),A(t,"bx--side-nav--rail",i[2])},m(d,h){a&&a.m(d,h),w(d,e,h),w(d,t,h),u&&u.m(t,null),r=!0,s||(l=se(window,"resize",i[10]),s=!0)},p(d,[h]){d[1]?a&&(a.d(1),a=null):a?a.p(d,h):(a=ei(d),a.c(),a.m(e.parentNode,e)),u&&u.p&&(!r||h&256)&&be(u,o,d,d[8],r?ke(o,d[8],h,null):pe(d[8]),null),ve(t,c=he(f,[(!r||h&1&&n!==(n=!d[0]))&&{"aria-hidden":n},(!r||h&8)&&{"aria-label":d[3]},h&128&&d[7]])),A(t,"bx--side-nav__navigation",!0),A(t,"bx--side-nav",!0),A(t,"bx--side-nav--ux",!0),A(t,"bx--side-nav--expanded",d[2]&&d[5]>=d[4]?!1:d[0]),A(t,"bx--side-nav--collapsed",!d[0]&&!d[2]),A(t,"bx--side-nav--rail",d[2])},i(d){r||(b(u,d),r=!0)},o(d){k(u,d),r=!1},d(d){d&&(g(e),g(t)),a&&a.d(d),u&&u.d(d),s=!1,l()}}}function xo(i,e,t){const n=["fixed","rail","ariaLabel","isOpen","expansionBreakpoint"];let r=B(e,n),s,l;Ze(i,Et,p=>t(12,s=p)),Ze(i,wt,p=>t(13,l=p));let{$$slots:a={},$$scope:o}=e,{fixed:u=!1}=e,{rail:f=!1}=e,{ariaLabel:c=void 0}=e,{isOpen:d=!1}=e,{expansionBreakpoint:h=1056}=e;const m=st();let v;Tt(()=>(vt.set(!0),()=>vt.set(!1)));function R(){t(5,v=window.innerWidth)}const C=()=>{m("click:overlay"),t(0,d=!1)};return i.$$set=p=>{e=M(M({},e),x(p)),t(7,r=B(e,n)),"fixed"in p&&t(1,u=p.fixed),"rail"in p&&t(2,f=p.rail),"ariaLabel"in p&&t(3,c=p.ariaLabel),"isOpen"in p&&t(0,d=p.isOpen),"expansionBreakpoint"in p&&t(4,h=p.expansionBreakpoint),"$$scope"in p&&t(8,o=p.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&m(d?"open":"close"),i.$$.dirty&1&&bt(wt,l=!d,l),i.$$.dirty&4&&bt(Et,s=f,s)},[d,u,f,c,h,v,m,r,o,a,R,C]}class qo extends J{constructor(e){super(),$(this,e,xo,Wo,Q,{fixed:1,rail:2,ariaLabel:3,isOpen:0,expansionBreakpoint:4})}}function Xo(i){let e,t;const n=i[1].default,r=_e(n,i,i[0],null);return{c(){e=U("ul"),r&&r.c(),this.h()},l(s){e=V(s,"UL",{});var l=y(e);r&&r.l(l),l.forEach(g),this.h()},h(){A(e,"bx--side-nav__items",!0)},m(s,l){w(s,e,l),r&&r.m(e,null),t=!0},p(s,[l]){r&&r.p&&(!t||l&1)&&be(r,n,s,s[0],t?ke(n,s[0],l,null):pe(s[0]),null)},i(s){t||(b(r,s),t=!0)},o(s){k(r,s),t=!1},d(s){s&&g(e),r&&r.d(s)}}}function Qo(i,e,t){let{$$slots:n={},$$scope:r}=e;return i.$$set=s=>{"$$scope"in s&&t(0,r=s.$$scope)},[r,n]}class Jo extends J{constructor(e){super(),$(this,e,Qo,Xo,Q,{})}}const $o=i=>({}),ti=i=>({});function ni(i){let e,t;const n=i[7].icon,r=_e(n,i,i[6],ti),s=r||eu(i);return{c(){e=U("div"),s&&s.c(),this.h()},l(l){e=V(l,"DIV",{});var a=y(e);s&&s.l(a),a.forEach(g),this.h()},h(){A(e,"bx--side-nav__icon",!0)},m(l,a){w(l,e,a),s&&s.m(e,null),t=!0},p(l,a){r?r.p&&(!t||a&64)&&be(r,n,l,l[6],t?ke(n,l[6],a,$o):pe(l[6]),ti):s&&s.p&&(!t||a&8)&&s.p(l,t?a:-1)},i(l){t||(b(s,l),t=!0)},o(l){k(s,l),t=!1},d(l){l&&g(e),s&&s.d(l)}}}function eu(i){let e,t,n;var r=i[3];function s(l,a){return{}}return r&&(e=Ie(r,s())),{c(){e&&P(e.$$.fragment),t=Y()},l(l){e&&W(e.$$.fragment,l),t=Y()},m(l,a){e&&G(e,l,a),w(l,t,a),n=!0},p(l,a){if(a&8&&r!==(r=l[3])){if(e){fe();const o=e;k(o.$$.fragment,1,0,()=>{D(o,1)}),de()}r?(e=Ie(r,s()),P(e.$$.fragment),b(e.$$.fragment,1),G(e,t.parentNode,t)):e=null}},i(l){n||(e&&b(e.$$.fragment,l),n=!0)},o(l){e&&k(e.$$.fragment,l),n=!1},d(l){l&&g(t),e&&D(e,l)}}}function tu(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m=(i[5].icon||i[3])&&ni(i);o=new br({});let v=[{type:"button"},{"aria-expanded":i[0]},i[4]],R={};for(let S=0;S{m=null}),de()),(!c||O&4)&&me(s,S[2]),ve(t,R=he(v,[{type:"button"},(!c||O&1)&&{"aria-expanded":S[0]},O&16&&S[4]])),A(t,"bx--side-nav__submenu",!0),p&&p.p&&(!c||O&64)&&be(p,C,S,S[6],c?ke(C,S[6],O,null):pe(S[6]),null),O&1&&je(f,"max-height",S[0]?"none":void 0),(!c||O&8)&&A(e,"bx--side-nav__item--icon",S[3])},i(S){c||(b(m),b(o.$$.fragment,S),b(p,S),c=!0)},o(S){k(m),k(o.$$.fragment,S),k(p,S),c=!1},d(S){S&&g(e),m&&m.d(),D(o),i[9](null),p&&p.d(S),d=!1,We(h)}}}function nu(i,e,t){const n=["expanded","text","icon","ref"];let r=B(e,n),{$$slots:s={},$$scope:l}=e;const a=Ct(s);let{expanded:o=!1}=e,{text:u=void 0}=e,{icon:f=void 0}=e,{ref:c=null}=e;function d(v){ce.call(this,i,v)}function h(v){Ae[v?"unshift":"push"](()=>{c=v,t(1,c)})}const m=()=>{t(0,o=!o)};return i.$$set=v=>{e=M(M({},e),x(v)),t(4,r=B(e,n)),"expanded"in v&&t(0,o=v.expanded),"text"in v&&t(2,u=v.text),"icon"in v&&t(3,f=v.icon),"ref"in v&&t(1,c=v.ref),"$$scope"in v&&t(6,l=v.$$scope)},[o,c,u,f,r,a,l,s,d,h,m]}class iu extends J{constructor(e){super(),$(this,e,nu,tu,Q,{expanded:0,text:2,icon:3,ref:1})}}function ru(i){let e;return{c(){e=ue(i[3])},l(t){e=oe(t,i[3])},m(t,n){w(t,e,n)},p(t,n){n&8&&me(e,t[3])},d(t){t&&g(e)}}}function lu(i){let e,t,n,r,s,l,a;const o=i[6].default,u=_e(o,i,i[5],null),f=u||ru(i);let c=[{"aria-current":r=i[1]?"page":void 0},{href:i[2]},i[4]],d={};for(let h=0;h{f=h,t(0,f)})}return i.$$set=h=>{e=M(M({},e),x(h)),t(4,r=B(e,n)),"isSelected"in h&&t(1,a=h.isSelected),"href"in h&&t(2,o=h.href),"text"in h&&t(3,u=h.text),"ref"in h&&t(0,f=h.ref),"$$scope"in h&&t(5,l=h.$$scope)},[f,a,o,u,r,l,s,c,d]}class au extends J{constructor(e){super(),$(this,e,su,lu,Q,{isSelected:1,href:2,text:3,ref:0})}}function ou(i){let e,t;const n=[{href:i[0]},{text:i[1]},{isSelected:i[2]===i[0]},i[3]];let r={};for(let s=0;s{e=M(M({},e),x(o)),t(3,r=B(e,n)),"href"in o&&t(0,s=o.href),"text"in o&&t(1,l=o.text),"currentRef"in o&&t(2,a=o.currentRef)},[s,l,a,r]}class cu extends J{constructor(e){super(),$(this,e,uu,ou,Q,{href:0,text:1,currentRef:2})}}function fu(i){let e,t;return e=new cu({props:{href:i[0].href,text:i[0].title,class:i[0].deprecated?"deprecated":"",currentRef:i[1].url.pathname}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,[r]){const s={};r&1&&(s.href=n[0].href),r&1&&(s.text=n[0].title),r&1&&(s.class=n[0].deprecated?"deprecated":""),r&2&&(s.currentRef=n[1].url.pathname),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function du(i,e,t){let n;Ze(i,hi,s=>t(1,n=s));let{item:r}=e;return i.$$set=s=>{"item"in s&&t(0,r=s.item)},[r,n]}class Pi extends J{constructor(e){super(),$(this,e,du,fu,Q,{item:0})}}function ii(i,e,t){const n=i.slice();return n[3]=e[t],n}function ri(i,e,t){const n=i.slice();return n[6]=e[t],n}function hu(i){let e,t;return e=new iu({props:{text:i[3].title,expanded:!0,$$slots:{default:[mu]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.text=n[3].title),r&514&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function gu(i){let e,t;return e=new Pi({props:{item:i[3]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.item=n[3]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function li(i){let e,t;return e=new Pi({props:{item:i[6]}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&2&&(s.item=n[6]),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function si(i){let e,t,n=i[6].type==="page"&&li(i);return{c(){n&&n.c(),e=Y()},l(r){n&&n.l(r),e=Y()},m(r,s){n&&n.m(r,s),w(r,e,s),t=!0},p(r,s){r[6].type==="page"?n?(n.p(r,s),s&2&&b(n,1)):(n=li(r),n.c(),b(n,1),n.m(e.parentNode,e)):n&&(fe(),k(n,1,1,()=>{n=null}),de())},i(r){t||(b(n),t=!0)},o(r){k(n),t=!1},d(r){r&&g(e),n&&n.d(r)}}}function mu(i){let e,t,n=ye(i[3].children),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function _u(i){let e,t,n=ye(i[1]),r=[];for(let l=0;lk(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;lDe(e,"isOpen",r)),{c(){P(e.$$.fragment)},l(l){W(e.$$.fragment,l)},m(l,a){G(e,l,a),n=!0},p(l,[a]){const o={};a&514&&(o.$$scope={dirty:a,ctx:l}),!t&&a&1&&(t=!0,o.isOpen=l[0],He(()=>t=!1)),e.$set(o)},i(l){n||(b(e.$$.fragment,l),n=!0)},o(l){k(e.$$.fragment,l),n=!1},d(l){D(e,l)}}}function ku(i,e,t){let{isOpen:n=!0}=e,{content:r}=e;function s(l){n=l,t(0,n)}return i.$$set=l=>{"isOpen"in l&&t(0,n=l.isOpen),"content"in l&&t(1,r=l.content)},[n,r,s]}class vu extends J{constructor(e){super(),$(this,e,ku,pu,Q,{isOpen:0,content:1})}}const wu=Eu({appTitle:kt,appIcon:bi},et(Qe.SITE_META,{}));function Eu(i,e){return pt.map({...Su(i),...e||{}},(t,n)=>({name:n,content:t})).filter(t=>!!t.content)}function Su(i){const e=`${i.appTitle}'s GraphQL documentation`;return{keywords:`graphql,api,documentation,${i.appTitle}`,description:e,"og:title":i.appTitle,"og:type":"article","og:image":i.appIcon,"og:site_name":i.appTitle,"og:description":e}}const Au=et(Qe.CUSTOM_STYLES,[]),yu=i=>({props:i&2}),oi=i=>({props:i[1]});function Mu(i){let e,t;const n=i[14].default,r=_e(n,i,i[13],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Ou(i,e,t){let n,r;const s=["as","noGutter","noGutterLeft","noGutterRight","padding","aspectRatio","sm","md","lg","xlg","max"];let l=B(e,s),{$$slots:a={},$$scope:o}=e,{as:u=!1}=e,{noGutter:f=!1}=e,{noGutterLeft:c=!1}=e,{noGutterRight:d=!1}=e,{padding:h=!1}=e,{aspectRatio:m=void 0}=e,{sm:v=void 0}=e,{md:R=void 0}=e,{lg:C=void 0}=e,{xlg:p=void 0}=e,{max:S=void 0}=e;const O=["sm","md","lg","xlg","max"];return i.$$set=_=>{e=M(M({},e),x(_)),t(16,l=B(e,s)),"as"in _&&t(0,u=_.as),"noGutter"in _&&t(2,f=_.noGutter),"noGutterLeft"in _&&t(3,c=_.noGutterLeft),"noGutterRight"in _&&t(4,d=_.noGutterRight),"padding"in _&&t(5,h=_.padding),"aspectRatio"in _&&t(6,m=_.aspectRatio),"sm"in _&&t(7,v=_.sm),"md"in _&&t(8,R=_.md),"lg"in _&&t(9,C=_.lg),"xlg"in _&&t(10,p=_.xlg),"max"in _&&t(11,S=_.max),"$$scope"in _&&t(13,o=_.$$scope)},i.$$.update=()=>{i.$$.dirty&3968&&t(12,n=[v,R,C,p,S].map((_,F)=>{const ee=O[F];if(_===!0)return`bx--col-${ee}`;if(typeof _=="number")return`bx--col-${ee}-${_}`;if(typeof _=="object"){let I=[];return typeof _.span=="number"?I=[...I,`bx--col-${ee}-${_.span}`]:_.span===!0&&(I=[...I,`bx--col-${ee}`]),typeof _.offset=="number"&&(I=[...I,`bx--offset-${ee}-${_.offset}`]),I.join(" ")}}).filter(Boolean).join(" ")),t(1,r={...l,class:[l.class,n,!n&&"bx--col",f&&"bx--no-gutter",c&&"bx--no-gutter--left",d&&"bx--no-gutter--right",m&&`bx--aspect-ratio bx--aspect-ratio--${m}`,h&&"bx--col-padding"].filter(Boolean).join(" ")})},[u,r,f,c,d,h,m,v,R,C,p,S,n,o,a]}class Nu extends J{constructor(e){super(),$(this,e,Ou,Iu,Q,{as:0,noGutter:2,noGutterLeft:3,noGutterRight:4,padding:5,aspectRatio:6,sm:7,md:8,lg:9,xlg:10,max:11})}}function Cu(i){let e,t;const n=i[6].default,r=_e(n,i,i[5],null);let s=[{id:i[0]},i[2]],l={};for(let a=0;at(3,l=c)),Ze(i,wt,c=>t(4,a=c));let{$$slots:o={},$$scope:u}=e,{id:f="main-content"}=e;return i.$$set=c=>{e=M(M({},e),x(c)),t(2,s=B(e,r)),"id"in c&&t(0,f=c.id),"$$scope"in c&&t(5,u=c.$$scope)},i.$$.update=()=>{i.$$.dirty&24&&t(1,n=a&&!l)},[f,n,s,l,a,u,o]}class zu extends J{constructor(e){super(),$(this,e,Tu,Cu,Q,{id:0})}}const Lu=i=>({props:i&2}),ui=i=>({props:i[1]});function Fu(i){let e,t;const n=i[10].default,r=_e(n,i,i[9],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Du(i,e,t){let n;const r=["as","condensed","narrow","fullWidth","noGutter","noGutterLeft","noGutterRight","padding"];let s=B(e,r),{$$slots:l={},$$scope:a}=e,{as:o=!1}=e,{condensed:u=!1}=e,{narrow:f=!1}=e,{fullWidth:c=!1}=e,{noGutter:d=!1}=e,{noGutterLeft:h=!1}=e,{noGutterRight:m=!1}=e,{padding:v=!1}=e;return i.$$set=R=>{e=M(M({},e),x(R)),t(11,s=B(e,r)),"as"in R&&t(0,o=R.as),"condensed"in R&&t(2,u=R.condensed),"narrow"in R&&t(3,f=R.narrow),"fullWidth"in R&&t(4,c=R.fullWidth),"noGutter"in R&&t(5,d=R.noGutter),"noGutterLeft"in R&&t(6,h=R.noGutterLeft),"noGutterRight"in R&&t(7,m=R.noGutterRight),"padding"in R&&t(8,v=R.padding),"$$scope"in R&&t(9,a=R.$$scope)},i.$$.update=()=>{t(1,n={...s,class:[s.class,"bx--grid",u&&"bx--grid--condensed",f&&"bx--grid--narrow",c&&"bx--grid--full-width",d&&"bx--no-gutter",h&&"bx--no-gutter--left",m&&"bx--no-gutter--right",v&&"bx--row-padding"].filter(Boolean).join(" ")})},[o,n,u,f,c,d,h,m,v,a,l]}class Pu extends J{constructor(e){super(),$(this,e,Du,Hu,Q,{as:0,condensed:2,narrow:3,fullWidth:4,noGutter:5,noGutterLeft:6,noGutterRight:7,padding:8})}}const Gu=i=>({props:i&2}),ci=i=>({props:i[1]});function ju(i){let e,t;const n=i[9].default,r=_e(n,i,i[8],null);let s=[i[1]],l={};for(let a=0;a{l[f]=null}),de(),t=l[e],t?t.p(o,u):(t=l[e]=s[e](o),t.c()),b(t,1),t.m(n.parentNode,n))},i(o){r||(b(t),r=!0)},o(o){k(t),r=!1},d(o){o&&g(n),l[e].d(o)}}}function Yu(i,e,t){let n;const r=["as","condensed","narrow","noGutter","noGutterLeft","noGutterRight","padding"];let s=B(e,r),{$$slots:l={},$$scope:a}=e,{as:o=!1}=e,{condensed:u=!1}=e,{narrow:f=!1}=e,{noGutter:c=!1}=e,{noGutterLeft:d=!1}=e,{noGutterRight:h=!1}=e,{padding:m=!1}=e;return i.$$set=v=>{e=M(M({},e),x(v)),t(10,s=B(e,r)),"as"in v&&t(0,o=v.as),"condensed"in v&&t(2,u=v.condensed),"narrow"in v&&t(3,f=v.narrow),"noGutter"in v&&t(4,c=v.noGutter),"noGutterLeft"in v&&t(5,d=v.noGutterLeft),"noGutterRight"in v&&t(6,h=v.noGutterRight),"padding"in v&&t(7,m=v.padding),"$$scope"in v&&t(8,a=v.$$scope)},i.$$.update=()=>{t(1,n={...s,class:[s.class,"bx--row",u&&"bx--row--condensed",f&&"bx--row--narrow",c&&"bx--no-gutter",d&&"bx--no-gutter--left",h&&"bx--no-gutter--right",m&&"bx--row-padding"].filter(Boolean).join(" ")})},[o,n,u,f,c,d,h,m,a,l]}class Zu extends J{constructor(e){super(),$(this,e,Yu,Uu,Q,{as:0,condensed:2,narrow:3,noGutter:4,noGutterLeft:5,noGutterRight:6,padding:7})}}const{window:Gi}=vr;function Ku(i,e,t){const n=i.slice();return n[10]=e[t],n}function Wu(i,e,t){const n=i.slice();return n[13]=e[t],n}function xu(i){let e;return{c(){e=U("meta"),this.h()},l(t){e=V(t,"META",{name:!0,content:!0}),this.h()},h(){L(e,"name",i[13].name),L(e,"content",i[13].content)},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function qu(i){let e;return{c(){e=U("link"),this.h()},l(t){e=V(t,"LINK",{rel:!0,href:!0}),this.h()},h(){L(e,"rel","stylesheet"),L(e,"href",i[10])},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function Xu(i){let e;return{c(){e=U("link"),this.h()},l(t){e=V(t,"LINK",{rel:!0,href:!0}),this.h()},h(){L(e,"rel","icon"),L(e,"href",i[3])},m(t,n){w(t,e,n)},p:X,d(t){t&&g(e)}}}function Qu(i){let e;const t=i[4].default,n=_e(t,i,i[8],null);return{c(){n&&n.c()},l(r){n&&n.l(r)},m(r,s){n&&n.m(r,s),e=!0},p(r,s){n&&n.p&&(!e||s&256)&&be(n,t,r,r[8],e?ke(t,r[8],s,null):pe(r[8]),null)},i(r){e||(b(n,r),e=!0)},o(r){k(n,r),e=!1},d(r){n&&n.d(r)}}}function Ju(i){let e,t;return e=new Nu({props:{$$slots:{default:[Qu]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function $u(i){let e,t;return e=new Zu({props:{$$slots:{default:[Ju]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function ec(i){let e,t;return e=new Pu({props:{$$slots:{default:[$u]},$$scope:{ctx:i}}}),{c(){P(e.$$.fragment)},l(n){W(e.$$.fragment,n)},m(n,r){G(e,n,r),t=!0},p(n,r){const s={};r&256&&(s.$$scope={dirty:r,ctx:n}),e.$set(s)},i(n){t||(b(e.$$.fragment,n),t=!0)},o(n){k(e.$$.fragment,n),t=!1},d(n){D(e,n)}}}function tc(i){let e,t,n,r,s,l,a,o,u,f,c,d,h,m;lt(i[5]);let v=ye(wu),R=[];for(let I=0;IDe(s,"isSideNavOpen",O));function F(I){i[7](I)}let ee={content:di};return i[1]!==void 0&&(ee.isOpen=i[1]),o=new vu({props:ee}),Ae.push(()=>De(o,"isOpen",F)),c=new zu({props:{$$slots:{default:[ec]},$$scope:{ctx:i}}}),{c(){for(let I=0;Il=!1)),s.$set(E);const j={};!u&&q&2&&(u=!0,j.isOpen=I[1],He(()=>u=!1)),o.$set(j);const ae={};q&256&&(ae.$$scope={dirty:q,ctx:I}),c.$set(ae)},i(I){d||(b(s.$$.fragment,I),b(o.$$.fragment,I),b(c.$$.fragment,I),d=!0)},o(I){k(s.$$.fragment,I),k(o.$$.fragment,I),k(c.$$.fragment,I),d=!1},d(I){I&&(g(r),g(a),g(f)),Le(R,I),g(e),Le(p,I),g(t),S&&S.d(I),g(n),D(s,I),D(o,I),D(c,I),h=!1,m()}}}const nc=1056;function ic(i,e,t){let{$$slots:n={},$$scope:r}=e;_i(),pr.languages.insertBefore("shell","function",{keyword:{pattern:/(^\s*)(?:magidoc|pnpm|npm|yarn)(?=\s)/m,lookbehind:!0}});let s=!1,l=-1,a=!1;const o=mr(Qe.APP_FAVICON),u=hi.subscribe(()=>{a&&t(1,s=!1)});fi(u);function f(){t(0,l=Gi.innerWidth)}function c(h){s=h,t(1,s)}function d(h){s=h,t(1,s)}return i.$$set=h=>{"$$scope"in h&&t(8,r=h.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&t(2,a=li(0,e=s));let r;return a.$$.update=()=>{var s;if(a.$$.dirty&1){const o=((s=e.error)==null?void 0:s.message)||"An unexpected error occurred.";i(1,r=o.endsWith(".")?o:`${o}.`)}},[e,r]}class F extends C{constructor(n){super(),D(this,n,P,I,x,{})}}export{F as component}; diff --git a/public/docs/_app/immutable/nodes/1.BvcExTBE.js b/public/docs/_app/immutable/nodes/1.BvcExTBE.js deleted file mode 100644 index b2b5378..0000000 --- a/public/docs/_app/immutable/nodes/1.BvcExTBE.js +++ /dev/null @@ -1 +0,0 @@ -import{s as x,d as p,n as b,b as j,c as w,e as d,f as y,h as z,g as S,j as _,k as f,l as $,m as k,o as v,t as q,p as A}from"../chunks/scheduler.BCDW5bg-.js";import{S as C,i as D}from"../chunks/index.C97nKj6a.js";import{p as H}from"../chunks/stores.BfG0pj9y.js";function I(a){let n,i,e,r,s=a[0].status+"",o,u,c,h;return document.title=n="Error - "+a[0].status,{c(){i=k(),e=v("div"),r=v("h1"),o=q(s),u=k(),c=v("p"),h=q(a[1]),this.h()},l(t){z("svelte-1wpfhz9",document.head).forEach(p),i=S(t),e=_(t,"DIV",{class:!0});var m=f(e);r=_(m,"H1",{});var E=f(r);o=$(E,s),E.forEach(p),u=S(m),c=_(m,"P",{});var g=f(c);h=$(g,a[1]),g.forEach(p),m.forEach(p),this.h()},h(){y(e,"class","wrapper svelte-1ldjxpt")},m(t,l){w(t,i,l),w(t,e,l),d(e,r),d(r,o),d(e,u),d(e,c),d(c,h)},p(t,[l]){l&1&&n!==(n="Error - "+t[0].status)&&(document.title=n),l&1&&s!==(s=t[0].status+"")&&j(o,s),l&2&&j(h,t[1])},i:b,o:b,d(t){t&&(p(i),p(e))}}}function P(a,n,i){let e;A(a,H,s=>i(0,e=s));let r;return a.$$.update=()=>{var s;if(a.$$.dirty&1){const o=((s=e.error)==null?void 0:s.message)||"An unexpected error occurred.";i(1,r=o.endsWith(".")?o:`${o}.`)}},[e,r]}class F extends C{constructor(n){super(),D(this,n,P,I,x,{})}}export{F as component}; diff --git a/public/docs/_app/immutable/nodes/2.Bw8jJ-LK.js b/public/docs/_app/immutable/nodes/2.Bw8jJ-LK.js deleted file mode 100644 index 728e764..0000000 --- a/public/docs/_app/immutable/nodes/2.Bw8jJ-LK.js +++ /dev/null @@ -1 +0,0 @@ -import{h as e}from"../chunks/pages.BKY_3uMO.js";import{r as o}from"../chunks/index.DALO_3yS.js";function r(){throw o(301,e)}const l=Object.freeze(Object.defineProperty({__proto__:null,load:r},Symbol.toStringTag,{value:"Module"}));export{l as universal}; diff --git a/public/docs/_app/immutable/nodes/2.mqp7dTui.js b/public/docs/_app/immutable/nodes/2.mqp7dTui.js new file mode 100644 index 0000000..fcfcf28 --- /dev/null +++ b/public/docs/_app/immutable/nodes/2.mqp7dTui.js @@ -0,0 +1 @@ +import{h as e}from"../chunks/pages.BSRgrbSV.js";import{r as o}from"../chunks/index.DncFbgmw.js";function r(){throw o(301,e)}const l=Object.freeze(Object.defineProperty({__proto__:null,load:r},Symbol.toStringTag,{value:"Module"}));export{l as universal}; diff --git a/public/docs/_app/immutable/nodes/3.Djl8xJCw.js b/public/docs/_app/immutable/nodes/3.Djl8xJCw.js new file mode 100644 index 0000000..3d3266e --- /dev/null +++ b/public/docs/_app/immutable/nodes/3.Djl8xJCw.js @@ -0,0 +1,5 @@ +import{p as k,f as y}from"../chunks/pages.BSRgrbSV.js";import{e as C}from"../chunks/index.DncFbgmw.js";import{s as S,b as u,h as j,d as m,c as d,l as _}from"../chunks/scheduler.6x_t8-M_.js";import{S as q,i as M,c as $,a as h,m as b,t as v,b as w,d as P}from"../chunks/index.DNIXW-5M.js";import{C as O,P as z}from"../chunks/PreviousNextPage.CUJbWA2C.js";const B=k.length>0,E=({url:n})=>{const t=y(n.pathname);if(!t)throw C(404,"Could not find the page you are looking for");return{page:t}},I=Object.freeze(Object.defineProperty({__proto__:null,load:E,prerender:B},Symbol.toStringTag,{value:"Module"}));function H(n){var c;let t,i,a,s,r,p;return document.title=t=` + `+((c=n[0].page)!=null&&c.section?`${n[0].page.section} - `:"")+n[0].page.title+` + `,a=new O({props:{source:n[0].page.content}}),r=new z({props:{page:n[0].page}}),{c(){i=u(),$(a.$$.fragment),s=u(),$(r.$$.fragment)},l(e){j("svelte-sbhnqj",document.head).forEach(m),i=d(e),h(a.$$.fragment,e),s=d(e),h(r.$$.fragment,e)},m(e,o){_(e,i,o),b(a,e,o),_(e,s,o),b(r,e,o),p=!0},p(e,[o]){var l;(!p||o&1)&&t!==(t=` + `+((l=e[0].page)!=null&&l.section?`${e[0].page.section} - `:"")+e[0].page.title+` + `)&&(document.title=t);const f={};o&1&&(f.source=e[0].page.content),a.$set(f);const g={};o&1&&(g.page=e[0].page),r.$set(g)},i(e){p||(v(a.$$.fragment,e),v(r.$$.fragment,e),p=!0)},o(e){w(a.$$.fragment,e),w(r.$$.fragment,e),p=!1},d(e){e&&(m(i),m(s)),P(a,e),P(r,e)}}}function N(n,t,i){let{data:a}=t;return n.$$set=s=>{"data"in s&&i(0,a=s.data)},[a]}class J extends q{constructor(t){super(),M(this,t,N,H,S,{data:0})}}export{J as component,I as universal}; diff --git a/public/docs/_app/immutable/nodes/3.KZXVXXhG.js b/public/docs/_app/immutable/nodes/3.KZXVXXhG.js deleted file mode 100644 index 92fc53a..0000000 --- a/public/docs/_app/immutable/nodes/3.KZXVXXhG.js +++ /dev/null @@ -1,5 +0,0 @@ -import{p as k,f as y}from"../chunks/pages.BKY_3uMO.js";import{e as C}from"../chunks/index.DALO_3yS.js";import{s as S,d as m,c as l,h as j,g as d,m as _}from"../chunks/scheduler.BCDW5bg-.js";import{S as q,i as M,d as $,t as h,a as b,m as v,c as w,b as P}from"../chunks/index.C97nKj6a.js";import{C as O,P as z}from"../chunks/PreviousNextPage.DkqDVsQt.js";const B=k.length>0,E=({url:n})=>{const t=y(n.pathname);if(!t)throw C(404,"Could not find the page you are looking for");return{page:t}},I=Object.freeze(Object.defineProperty({__proto__:null,load:E,prerender:B},Symbol.toStringTag,{value:"Module"}));function H(n){var c;let t,i,a,s,r,p;return document.title=t=` - `+((c=n[0].page)!=null&&c.section?`${n[0].page.section} - `:"")+n[0].page.title+` - `,a=new O({props:{source:n[0].page.content}}),r=new z({props:{page:n[0].page}}),{c(){i=_(),P(a.$$.fragment),s=_(),P(r.$$.fragment)},l(e){j("svelte-sbhnqj",document.head).forEach(m),i=d(e),w(a.$$.fragment,e),s=d(e),w(r.$$.fragment,e)},m(e,o){l(e,i,o),v(a,e,o),l(e,s,o),v(r,e,o),p=!0},p(e,[o]){var u;(!p||o&1)&&t!==(t=` - `+((u=e[0].page)!=null&&u.section?`${e[0].page.section} - `:"")+e[0].page.title+` - `)&&(document.title=t);const f={};o&1&&(f.source=e[0].page.content),a.$set(f);const g={};o&1&&(g.page=e[0].page),r.$set(g)},i(e){p||(b(a.$$.fragment,e),b(r.$$.fragment,e),p=!0)},o(e){h(a.$$.fragment,e),h(r.$$.fragment,e),p=!1},d(e){e&&(m(i),m(s)),$(a,e),$(r,e)}}}function N(n,t,i){let{data:a}=t;return n.$$set=s=>{"data"in s&&i(0,a=s.data)},[a]}class J extends q{constructor(t){super(),M(this,t,N,H,S,{data:0})}}export{J as component,I as universal}; diff --git a/public/docs/_app/immutable/nodes/4.Bbn2Qt0L.js b/public/docs/_app/immutable/nodes/4.Bbn2Qt0L.js new file mode 100644 index 0000000..38d360b --- /dev/null +++ b/public/docs/_app/immutable/nodes/4.Bbn2Qt0L.js @@ -0,0 +1 @@ +import{k as E,l as N,f as O,m as y}from"../chunks/pages.BSRgrbSV.js";import{e as H}from"../chunks/index.DncFbgmw.js";import{s as D,e as M,b as h,f as T,g as q,c as w,d as $,l as u,m as A,t as P,j as S,o as z,h as I}from"../chunks/scheduler.6x_t8-M_.js";import{S as j,i as C,c as d,a as p,m as g,t as l,g as L,b as m,e as F,d as _}from"../chunks/index.DNIXW-5M.js";import{A as B,C as G,P as J}from"../chunks/PreviousNextPage.CUJbWA2C.js";import{A as K}from"../chunks/ArgsList.D6zwwkHp.js";const Q=E(),R=({params:o,url:t})=>{const n=N(o.directive),r=O(t.pathname);if(!n||!r)throw H(404,`Directive ${o.directive} not found.`);return{directive:n,page:r}},ie=Object.freeze(Object.defineProperty({__proto__:null,load:R,prerender:Q},Symbol.toStringTag,{value:"Module"}));function U(o){let t=o[0].name+"",n;return{c(){n=P(t)},l(r){n=S(r,t)},m(r,i){u(r,n,i)},p(r,i){i&1&&t!==(t=r[0].name+"")&&z(n,t)},d(r){r&&$(n)}}}function k(o){let t,n,r,i;return t=new B({props:{id:"arguments",depth:2,$$slots:{default:[V]},$$scope:{ctx:o}}}),r=new K({props:{data:o[1]}}),{c(){d(t.$$.fragment),n=h(),d(r.$$.fragment)},l(a){p(t.$$.fragment,a),n=w(a),p(r.$$.fragment,a)},m(a,c){g(t,a,c),u(a,n,c),g(r,a,c),i=!0},p(a,c){const e={};c&4&&(e.$$scope={dirty:c,ctx:a}),t.$set(e);const s={};c&2&&(s.data=a[1]),r.$set(s)},i(a){i||(l(t.$$.fragment,a),l(r.$$.fragment,a),i=!0)},o(a){m(t.$$.fragment,a),m(r.$$.fragment,a),i=!1},d(a){a&&$(n),_(t,a),_(r,a)}}}function V(o){let t;return{c(){t=P("Arguments")},l(n){t=S(n,"Arguments")},m(n,r){u(n,t,r)},d(n){n&&$(t)}}}function W(o){let t,n,r,i,a,c;n=new B({props:{id:"title",depth:1,$$slots:{default:[U]},$$scope:{ctx:o}}}),i=new G({props:{source:o[0].description}});let e=o[1].length>0&&k(o);return{c(){t=M("section"),d(n.$$.fragment),r=h(),d(i.$$.fragment),a=h(),e&&e.c()},l(s){t=T(s,"SECTION",{});var f=q(t);p(n.$$.fragment,f),r=w(f),p(i.$$.fragment,f),a=w(f),e&&e.l(f),f.forEach($)},m(s,f){u(s,t,f),g(n,t,null),A(t,r),g(i,t,null),A(t,a),e&&e.m(t,null),c=!0},p(s,[f]){const v={};f&5&&(v.$$scope={dirty:f,ctx:s}),n.$set(v);const b={};f&1&&(b.source=s[0].description),i.$set(b),s[1].length>0?e?(e.p(s,f),f&2&&l(e,1)):(e=k(s),e.c(),l(e,1),e.m(t,null)):e&&(L(),m(e,1,1,()=>{e=null}),F())},i(s){c||(l(n.$$.fragment,s),l(i.$$.fragment,s),l(e),c=!0)},o(s){m(n.$$.fragment,s),m(i.$$.fragment,s),m(e),c=!1},d(s){s&&$(t),_(n),_(i),e&&e.d()}}}function X(o,t,n){let{directive:r}=t,i;return o.$$set=a=>{"directive"in a&&n(0,r=a.directive)},o.$$.update=()=>{o.$$.dirty&1&&n(1,i=y(r))},[r,i]}class Y extends j{constructor(t){super(),C(this,t,X,W,D,{directive:0})}}function Z(o){let t,n,r,i,a,c;return document.title=t="Directive - "+o[0].directive.name,r=new Y({props:{directive:o[0].directive}}),a=new J({props:{page:o[0].page}}),{c(){n=h(),d(r.$$.fragment),i=h(),d(a.$$.fragment)},l(e){I("svelte-fycjkl",document.head).forEach($),n=w(e),p(r.$$.fragment,e),i=w(e),p(a.$$.fragment,e)},m(e,s){u(e,n,s),g(r,e,s),u(e,i,s),g(a,e,s),c=!0},p(e,[s]){(!c||s&1)&&t!==(t="Directive - "+e[0].directive.name)&&(document.title=t);const f={};s&1&&(f.directive=e[0].directive),r.$set(f);const v={};s&1&&(v.page=e[0].page),a.$set(v)},i(e){c||(l(r.$$.fragment,e),l(a.$$.fragment,e),c=!0)},o(e){m(r.$$.fragment,e),m(a.$$.fragment,e),c=!1},d(e){e&&($(n),$(i)),_(r,e),_(a,e)}}}function x(o,t,n){let{data:r}=t;return o.$$set=i=>{"data"in i&&n(0,r=i.data)},[r]}class oe extends j{constructor(t){super(),C(this,t,x,Z,D,{data:0})}}export{oe as component,ie as universal}; diff --git a/public/docs/_app/immutable/nodes/4.n2FoGGWl.js b/public/docs/_app/immutable/nodes/4.n2FoGGWl.js deleted file mode 100644 index 0b082e6..0000000 --- a/public/docs/_app/immutable/nodes/4.n2FoGGWl.js +++ /dev/null @@ -1 +0,0 @@ -import{k as E,l as N,f as O,m as y}from"../chunks/pages.BKY_3uMO.js";import{e as H}from"../chunks/index.DALO_3yS.js";import{s as D,d as $,b as M,c as u,l as P,t as S,g as h,m as w,e as A,j as T,k as q,o as z,h as I}from"../chunks/scheduler.BCDW5bg-.js";import{S as j,i as C,d,t as m,a as l,m as p,c as g,b as _,g as L,e as F}from"../chunks/index.C97nKj6a.js";import{A as B,C as G,P as J}from"../chunks/PreviousNextPage.DkqDVsQt.js";import{A as K}from"../chunks/ArgsList.C4wfYkcv.js";const Q=E(),R=({params:o,url:t})=>{const n=N(o.directive),r=O(t.pathname);if(!n||!r)throw H(404,`Directive ${o.directive} not found.`);return{directive:n,page:r}},ie=Object.freeze(Object.defineProperty({__proto__:null,load:R,prerender:Q},Symbol.toStringTag,{value:"Module"}));function U(o){let t=o[0].name+"",n;return{c(){n=S(t)},l(r){n=P(r,t)},m(r,i){u(r,n,i)},p(r,i){i&1&&t!==(t=r[0].name+"")&&M(n,t)},d(r){r&&$(n)}}}function k(o){let t,n,r,i;return t=new B({props:{id:"arguments",depth:2,$$slots:{default:[V]},$$scope:{ctx:o}}}),r=new K({props:{data:o[1]}}),{c(){_(t.$$.fragment),n=w(),_(r.$$.fragment)},l(a){g(t.$$.fragment,a),n=h(a),g(r.$$.fragment,a)},m(a,c){p(t,a,c),u(a,n,c),p(r,a,c),i=!0},p(a,c){const e={};c&4&&(e.$$scope={dirty:c,ctx:a}),t.$set(e);const s={};c&2&&(s.data=a[1]),r.$set(s)},i(a){i||(l(t.$$.fragment,a),l(r.$$.fragment,a),i=!0)},o(a){m(t.$$.fragment,a),m(r.$$.fragment,a),i=!1},d(a){a&&$(n),d(t,a),d(r,a)}}}function V(o){let t;return{c(){t=S("Arguments")},l(n){t=P(n,"Arguments")},m(n,r){u(n,t,r)},d(n){n&&$(t)}}}function W(o){let t,n,r,i,a,c;n=new B({props:{id:"title",depth:1,$$slots:{default:[U]},$$scope:{ctx:o}}}),i=new G({props:{source:o[0].description}});let e=o[1].length>0&&k(o);return{c(){t=z("section"),_(n.$$.fragment),r=w(),_(i.$$.fragment),a=w(),e&&e.c()},l(s){t=T(s,"SECTION",{});var f=q(t);g(n.$$.fragment,f),r=h(f),g(i.$$.fragment,f),a=h(f),e&&e.l(f),f.forEach($)},m(s,f){u(s,t,f),p(n,t,null),A(t,r),p(i,t,null),A(t,a),e&&e.m(t,null),c=!0},p(s,[f]){const v={};f&5&&(v.$$scope={dirty:f,ctx:s}),n.$set(v);const b={};f&1&&(b.source=s[0].description),i.$set(b),s[1].length>0?e?(e.p(s,f),f&2&&l(e,1)):(e=k(s),e.c(),l(e,1),e.m(t,null)):e&&(L(),m(e,1,1,()=>{e=null}),F())},i(s){c||(l(n.$$.fragment,s),l(i.$$.fragment,s),l(e),c=!0)},o(s){m(n.$$.fragment,s),m(i.$$.fragment,s),m(e),c=!1},d(s){s&&$(t),d(n),d(i),e&&e.d()}}}function X(o,t,n){let{directive:r}=t,i;return o.$$set=a=>{"directive"in a&&n(0,r=a.directive)},o.$$.update=()=>{o.$$.dirty&1&&n(1,i=y(r))},[r,i]}class Y extends j{constructor(t){super(),C(this,t,X,W,D,{directive:0})}}function Z(o){let t,n,r,i,a,c;return document.title=t="Directive - "+o[0].directive.name,r=new Y({props:{directive:o[0].directive}}),a=new J({props:{page:o[0].page}}),{c(){n=w(),_(r.$$.fragment),i=w(),_(a.$$.fragment)},l(e){I("svelte-fycjkl",document.head).forEach($),n=h(e),g(r.$$.fragment,e),i=h(e),g(a.$$.fragment,e)},m(e,s){u(e,n,s),p(r,e,s),u(e,i,s),p(a,e,s),c=!0},p(e,[s]){(!c||s&1)&&t!==(t="Directive - "+e[0].directive.name)&&(document.title=t);const f={};s&1&&(f.directive=e[0].directive),r.$set(f);const v={};s&1&&(v.page=e[0].page),a.$set(v)},i(e){c||(l(r.$$.fragment,e),l(a.$$.fragment,e),c=!0)},o(e){m(r.$$.fragment,e),m(a.$$.fragment,e),c=!1},d(e){e&&($(n),$(i)),d(r,e),d(a,e)}}}function x(o,t,n){let{data:r}=t;return o.$$set=i=>{"data"in i&&n(0,r=i.data)},[r]}class oe extends j{constructor(t){super(),C(this,t,x,Z,D,{data:0})}}export{oe as component,ie as universal}; diff --git a/public/docs/_app/immutable/nodes/5.BEeVSuan.js b/public/docs/_app/immutable/nodes/5.BEeVSuan.js deleted file mode 100644 index efe8c9b..0000000 --- a/public/docs/_app/immutable/nodes/5.BEeVSuan.js +++ /dev/null @@ -1 +0,0 @@ -import{a as M,g as P,f as b}from"../chunks/pages.BKY_3uMO.js";import{e as S}from"../chunks/index.DALO_3yS.js";import{s as T,d as m,c as u,h as w,g as d,m as c}from"../chunks/scheduler.BCDW5bg-.js";import{S as N,i as O,d as g,t as _,a as $,m as h,c as v,b as y}from"../chunks/index.C97nKj6a.js";import{P as j}from"../chunks/PreviousNextPage.DkqDVsQt.js";import{F as B,Q as F}from"../chunks/FieldDetails.CPlUAqsp.js";const Q=M(),q=({params:n,url:a})=>{const o=P(n.mutation),t=b(a.pathname);if(!o||!t)throw S(404,`Mutation ${n.mutation} not found.`);return{field:o,page:t}},U=Object.freeze(Object.defineProperty({__proto__:null,load:q,prerender:Q},Symbol.toStringTag,{value:"Module"}));function x(n){let a,o,t,r,i,f;return document.title=a="Mutation - "+n[0].field.name,t=new B({props:{field:n[0].field,type:F.MUTATION}}),i=new j({props:{page:n[0].page}}),{c(){o=c(),y(t.$$.fragment),r=c(),y(i.$$.fragment)},l(e){w("svelte-1ha51ns",document.head).forEach(m),o=d(e),v(t.$$.fragment,e),r=d(e),v(i.$$.fragment,e)},m(e,s){u(e,o,s),h(t,e,s),u(e,r,s),h(i,e,s),f=!0},p(e,[s]){(!f||s&1)&&a!==(a="Mutation - "+e[0].field.name)&&(document.title=a);const l={};s&1&&(l.field=e[0].field),t.$set(l);const p={};s&1&&(p.page=e[0].page),i.$set(p)},i(e){f||($(t.$$.fragment,e),$(i.$$.fragment,e),f=!0)},o(e){_(t.$$.fragment,e),_(i.$$.fragment,e),f=!1},d(e){e&&(m(o),m(r)),g(t,e),g(i,e)}}}function z(n,a,o){let{data:t}=a;return n.$$set=r=>{"data"in r&&o(0,t=r.data)},[t]}class k extends N{constructor(a){super(),O(this,a,z,x,T,{data:0})}}export{k as component,U as universal}; diff --git a/public/docs/_app/immutable/nodes/5.Bx1a2jiD.js b/public/docs/_app/immutable/nodes/5.Bx1a2jiD.js new file mode 100644 index 0000000..a0fec09 --- /dev/null +++ b/public/docs/_app/immutable/nodes/5.Bx1a2jiD.js @@ -0,0 +1 @@ +import{a as M,g as P,f as b}from"../chunks/pages.BSRgrbSV.js";import{e as S}from"../chunks/index.DncFbgmw.js";import{s as T,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.6x_t8-M_.js";import{S as N,i as O,c as _,a as g,m as $,t as h,b as v,d as y}from"../chunks/index.DNIXW-5M.js";import{P as j}from"../chunks/PreviousNextPage.CUJbWA2C.js";import{F as B,Q as F}from"../chunks/FieldDetails.apWU_lm9.js";const Q=M(),q=({params:n,url:a})=>{const o=P(n.mutation),t=b(a.pathname);if(!o||!t)throw S(404,`Mutation ${n.mutation} not found.`);return{field:o,page:t}},U=Object.freeze(Object.defineProperty({__proto__:null,load:q,prerender:Q},Symbol.toStringTag,{value:"Module"}));function x(n){let a,o,t,r,i,f;return document.title=a="Mutation - "+n[0].field.name,t=new B({props:{field:n[0].field,type:F.MUTATION}}),i=new j({props:{page:n[0].page}}),{c(){o=u(),_(t.$$.fragment),r=u(),_(i.$$.fragment)},l(e){w("svelte-1ha51ns",document.head).forEach(m),o=d(e),g(t.$$.fragment,e),r=d(e),g(i.$$.fragment,e)},m(e,s){c(e,o,s),$(t,e,s),c(e,r,s),$(i,e,s),f=!0},p(e,[s]){(!f||s&1)&&a!==(a="Mutation - "+e[0].field.name)&&(document.title=a);const l={};s&1&&(l.field=e[0].field),t.$set(l);const p={};s&1&&(p.page=e[0].page),i.$set(p)},i(e){f||(h(t.$$.fragment,e),h(i.$$.fragment,e),f=!0)},o(e){v(t.$$.fragment,e),v(i.$$.fragment,e),f=!1},d(e){e&&(m(o),m(r)),y(t,e),y(i,e)}}}function z(n,a,o){let{data:t}=a;return n.$$set=r=>{"data"in r&&o(0,t=r.data)},[t]}class k extends N{constructor(a){super(),O(this,a,z,x,T,{data:0})}}export{k as component,U as universal}; diff --git a/public/docs/_app/immutable/nodes/6.CqYbSltv.js b/public/docs/_app/immutable/nodes/6.CqYbSltv.js new file mode 100644 index 0000000..dad5ccd --- /dev/null +++ b/public/docs/_app/immutable/nodes/6.CqYbSltv.js @@ -0,0 +1 @@ +import{b as Q,c as b,f as P}from"../chunks/pages.BSRgrbSV.js";import{e as S}from"../chunks/index.DncFbgmw.js";import{s as q,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.6x_t8-M_.js";import{S as j,i as B,c as _,a as g,m as $,t as y,b as h,d as v}from"../chunks/index.DNIXW-5M.js";import{P as E}from"../chunks/PreviousNextPage.CUJbWA2C.js";import{F,Q as N}from"../chunks/FieldDetails.apWU_lm9.js";const O=Q(),T=({params:n,url:a})=>{const r=b(n.query),t=P(a.pathname);if(!r||!t)throw S(404,`Query ${n.query} not found.`);return{field:r,page:t}},Y=Object.freeze(Object.defineProperty({__proto__:null,load:T,prerender:O},Symbol.toStringTag,{value:"Module"}));function x(n){let a,r,t,i,o,f;return document.title=a="Query - "+n[0].field.name,t=new F({props:{field:n[0].field,type:N.QUERY}}),o=new E({props:{page:n[0].page}}),{c(){r=u(),_(t.$$.fragment),i=u(),_(o.$$.fragment)},l(e){w("svelte-19yffit",document.head).forEach(m),r=d(e),g(t.$$.fragment,e),i=d(e),g(o.$$.fragment,e)},m(e,s){c(e,r,s),$(t,e,s),c(e,i,s),$(o,e,s),f=!0},p(e,[s]){(!f||s&1)&&a!==(a="Query - "+e[0].field.name)&&(document.title=a);const l={};s&1&&(l.field=e[0].field),t.$set(l);const p={};s&1&&(p.page=e[0].page),o.$set(p)},i(e){f||(y(t.$$.fragment,e),y(o.$$.fragment,e),f=!0)},o(e){h(t.$$.fragment,e),h(o.$$.fragment,e),f=!1},d(e){e&&(m(r),m(i)),v(t,e),v(o,e)}}}function z(n,a,r){let{data:t}=a;return n.$$set=i=>{"data"in i&&r(0,t=i.data)},[t]}class k extends j{constructor(a){super(),B(this,a,z,x,q,{data:0})}}export{k as component,Y as universal}; diff --git a/public/docs/_app/immutable/nodes/6.DAQ0xyBY.js b/public/docs/_app/immutable/nodes/6.DAQ0xyBY.js deleted file mode 100644 index acb80f0..0000000 --- a/public/docs/_app/immutable/nodes/6.DAQ0xyBY.js +++ /dev/null @@ -1 +0,0 @@ -import{b as Q,c as P,f as b}from"../chunks/pages.BKY_3uMO.js";import{e as S}from"../chunks/index.DALO_3yS.js";import{s as q,d as m,c as u,h as w,g as d,m as c}from"../chunks/scheduler.BCDW5bg-.js";import{S as j,i as B,d as _,t as g,a as $,m as y,c as h,b as v}from"../chunks/index.C97nKj6a.js";import{P as E}from"../chunks/PreviousNextPage.DkqDVsQt.js";import{F,Q as N}from"../chunks/FieldDetails.CPlUAqsp.js";const O=Q(),T=({params:n,url:a})=>{const r=P(n.query),t=b(a.pathname);if(!r||!t)throw S(404,`Query ${n.query} not found.`);return{field:r,page:t}},Y=Object.freeze(Object.defineProperty({__proto__:null,load:T,prerender:O},Symbol.toStringTag,{value:"Module"}));function x(n){let a,r,t,i,o,f;return document.title=a="Query - "+n[0].field.name,t=new F({props:{field:n[0].field,type:N.QUERY}}),o=new E({props:{page:n[0].page}}),{c(){r=c(),v(t.$$.fragment),i=c(),v(o.$$.fragment)},l(e){w("svelte-19yffit",document.head).forEach(m),r=d(e),h(t.$$.fragment,e),i=d(e),h(o.$$.fragment,e)},m(e,s){u(e,r,s),y(t,e,s),u(e,i,s),y(o,e,s),f=!0},p(e,[s]){(!f||s&1)&&a!==(a="Query - "+e[0].field.name)&&(document.title=a);const l={};s&1&&(l.field=e[0].field),t.$set(l);const p={};s&1&&(p.page=e[0].page),o.$set(p)},i(e){f||($(t.$$.fragment,e),$(o.$$.fragment,e),f=!0)},o(e){g(t.$$.fragment,e),g(o.$$.fragment,e),f=!1},d(e){e&&(m(r),m(i)),_(t,e),_(o,e)}}}function z(n,a,r){let{data:t}=a;return n.$$set=i=>{"data"in i&&r(0,t=i.data)},[t]}class k extends j{constructor(a){super(),B(this,a,z,x,q,{data:0})}}export{k as component,Y as universal}; diff --git a/public/docs/_app/immutable/nodes/7.BWC9boYl.js b/public/docs/_app/immutable/nodes/7.BWC9boYl.js deleted file mode 100644 index 84bd910..0000000 --- a/public/docs/_app/immutable/nodes/7.BWC9boYl.js +++ /dev/null @@ -1 +0,0 @@ -import{d as v,e as y,f as P}from"../chunks/pages.BKY_3uMO.js";import{e as w}from"../chunks/index.DALO_3yS.js";import{s as B,d as m,c,h as N,g as u,m as d}from"../chunks/scheduler.BCDW5bg-.js";import{S as O,i as T,d as g,t as _,a as $,m as b,c as S,b as h}from"../chunks/index.C97nKj6a.js";import{P as j}from"../chunks/PreviousNextPage.DkqDVsQt.js";import{F as x,Q as C}from"../chunks/FieldDetails.CPlUAqsp.js";const F=v(),I=({params:n,url:a})=>{const s=y(n.subscription),t=P(a.pathname);if(!s||!t)throw w(404,`Subscription ${n.subscription} not found.`);return{field:s,page:t}},U=Object.freeze(Object.defineProperty({__proto__:null,load:I,prerender:F},Symbol.toStringTag,{value:"Module"}));function Q(n){let a,s,t,r,i,f;return document.title=a="Subscription - "+n[0].field.name,t=new x({props:{field:n[0].field,type:C.SUBSCRIPTION}}),i=new j({props:{page:n[0].page}}),{c(){s=d(),h(t.$$.fragment),r=d(),h(i.$$.fragment)},l(e){N("svelte-40g4xm",document.head).forEach(m),s=u(e),S(t.$$.fragment,e),r=u(e),S(i.$$.fragment,e)},m(e,o){c(e,s,o),b(t,e,o),c(e,r,o),b(i,e,o),f=!0},p(e,[o]){(!f||o&1)&&a!==(a="Subscription - "+e[0].field.name)&&(document.title=a);const p={};o&1&&(p.field=e[0].field),t.$set(p);const l={};o&1&&(l.page=e[0].page),i.$set(l)},i(e){f||($(t.$$.fragment,e),$(i.$$.fragment,e),f=!0)},o(e){_(t.$$.fragment,e),_(i.$$.fragment,e),f=!1},d(e){e&&(m(s),m(r)),g(t,e),g(i,e)}}}function q(n,a,s){let{data:t}=a;return n.$$set=r=>{"data"in r&&s(0,t=r.data)},[t]}class k extends O{constructor(a){super(),T(this,a,q,Q,B,{data:0})}}export{k as component,U as universal}; diff --git a/public/docs/_app/immutable/nodes/7.BarHK1cy.js b/public/docs/_app/immutable/nodes/7.BarHK1cy.js new file mode 100644 index 0000000..dce9b46 --- /dev/null +++ b/public/docs/_app/immutable/nodes/7.BarHK1cy.js @@ -0,0 +1 @@ +import{d as v,e as y,f as P}from"../chunks/pages.BSRgrbSV.js";import{e as w}from"../chunks/index.DncFbgmw.js";import{s as B,b as c,h as N,d as p,c as u,l as d}from"../chunks/scheduler.6x_t8-M_.js";import{S as O,i as T,c as _,a as g,m as $,t as b,b as S,d as h}from"../chunks/index.DNIXW-5M.js";import{P as j}from"../chunks/PreviousNextPage.CUJbWA2C.js";import{F as x,Q as C}from"../chunks/FieldDetails.apWU_lm9.js";const F=v(),I=({params:n,url:a})=>{const s=y(n.subscription),t=P(a.pathname);if(!s||!t)throw w(404,`Subscription ${n.subscription} not found.`);return{field:s,page:t}},U=Object.freeze(Object.defineProperty({__proto__:null,load:I,prerender:F},Symbol.toStringTag,{value:"Module"}));function Q(n){let a,s,t,r,i,f;return document.title=a="Subscription - "+n[0].field.name,t=new x({props:{field:n[0].field,type:C.SUBSCRIPTION}}),i=new j({props:{page:n[0].page}}),{c(){s=c(),_(t.$$.fragment),r=c(),_(i.$$.fragment)},l(e){N("svelte-40g4xm",document.head).forEach(p),s=u(e),g(t.$$.fragment,e),r=u(e),g(i.$$.fragment,e)},m(e,o){d(e,s,o),$(t,e,o),d(e,r,o),$(i,e,o),f=!0},p(e,[o]){(!f||o&1)&&a!==(a="Subscription - "+e[0].field.name)&&(document.title=a);const m={};o&1&&(m.field=e[0].field),t.$set(m);const l={};o&1&&(l.page=e[0].page),i.$set(l)},i(e){f||(b(t.$$.fragment,e),b(i.$$.fragment,e),f=!0)},o(e){S(t.$$.fragment,e),S(i.$$.fragment,e),f=!1},d(e){e&&(p(s),p(r)),h(t,e),h(i,e)}}}function q(n,a,s){let{data:t}=a;return n.$$set=r=>{"data"in r&&s(0,t=r.data)},[t]}class k extends O{constructor(a){super(),T(this,a,q,Q,B,{data:0})}}export{k as component,U as universal}; diff --git a/public/docs/_app/immutable/nodes/8.DAVJ1NAo.js b/public/docs/_app/immutable/nodes/8.DAVJ1NAo.js new file mode 100644 index 0000000..2e261ec --- /dev/null +++ b/public/docs/_app/immutable/nodes/8.DAVJ1NAo.js @@ -0,0 +1,5 @@ +import{i as $t,B as Et,C as It,D as St,f as At,E as ct,F as pt,G as mt,H as gt,I as _t,J as dt,q as K,_ as se,x as Pt,y as Bt,s as Dt,L as ht,R as pe}from"../chunks/pages.BSRgrbSV.js";import{e as Ft}from"../chunks/index.DncFbgmw.js";import{s as H,v as x,a4 as ee,a5 as te,g as O,d as g,k as oe,a6 as fe,l as d,m as A,n as le,u as ie,w as ae,t as P,j as B,o as Y,e as U,b as T,f as V,c as N,q as j,a2 as X,L as me,D as bt,a7 as wt,E as ge,F as _e,G as de,H as he,h as Lt}from"../chunks/scheduler.6x_t8-M_.js";import{S as q,i as G,c as h,a as b,m as w,t as $,b as p,d as k,g as z,e as C,f as kt}from"../chunks/index.DNIXW-5M.js";import{T as Rt,A as J,C as W,S as be,a as we,b as ke,c as ve,L as Ot,d as jt,P as Mt}from"../chunks/PreviousNextPage.CUJbWA2C.js";import{D as Z,a as ye,T as vt,N as yt,b as zt,A as Ct,c as ue}from"../chunks/ArgsList.D6zwwkHp.js";import{B as Ut}from"../chunks/Button.CQp1b1PP.js";import"../chunks/control.xy6l2DY8.js";function Ae(i){let e,r;return{c(){e=ee("title"),r=P(i[1])},l(t){e=te(t,"title",{});var n=O(e);r=B(n,i[1]),n.forEach(g)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&Y(r,t[1])},d(t){t&&g(e)}}}function Vt(i){let e,r,t=i[1]&&Ae(i),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{r(5,e=x(x({},e),ae(a))),r(3,l=ie(e,s)),"size"in a&&r(0,o=a.size),"title"in a&&r(1,f=a.title)},i.$$.update=()=>{r(4,t=e["aria-label"]||e["aria-labelledby"]||f),r(2,n={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[o,f,n,l,t]}class Pe extends q{constructor(e){super(),G(this,e,Ht,Vt,H,{size:0,title:1})}}function Be(i){let e,r;return{c(){e=ee("title"),r=P(i[1])},l(t){e=te(t,"title",{});var n=O(e);r=B(n,i[1]),n.forEach(g)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&Y(r,t[1])},d(t){t&&g(e)}}}function qt(i){let e,r,t=i[1]&&Be(i),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{r(5,e=x(x({},e),ae(a))),r(3,l=ie(e,s)),"size"in a&&r(0,o=a.size),"title"in a&&r(1,f=a.title)},i.$$.update=()=>{r(4,t=e["aria-label"]||e["aria-labelledby"]||f),r(2,n={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[o,f,n,l,t]}class De extends q{constructor(e){super(),G(this,e,Gt,qt,H,{size:0,title:1})}}const Yt=!Et(),Jt=({params:i,url:e})=>{const r=It(i.type),t=St(r),n=At(e.pathname);if(!r||!n)throw Ft(404,`Type ${i.type} not found.`);return{type:r,usages:t,page:n}},qr=Object.freeze(Object.defineProperty({__proto__:null,load:Jt,prerender:Yt},Symbol.toStringTag,{value:"Module"}));function Kt(i){let e=i[0]()+"",r;return{c(){r=P(e)},l(t){r=B(t,e)},m(t,n){d(t,r,n)},p:le,d(t){t&&g(r)}}}function Qt(i){let e,r;return e=new Rt({props:{type:"teal",$$slots:{default:[Kt]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,[n]){const s={};n&4&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Wt(i,e,r){let{type:t}=e;function n(){return ct(t)?"Scalar":pt(t)?"Enum":mt(t)?"Interface":gt(t)?"Union":_t(t)?"Object":dt(t)?"Input Object":"Unknown"}return i.$$set=s=>{"type"in s&&r(1,t=s.type)},[n,t]}class ne extends q{constructor(e){super(),G(this,e,Wt,Qt,H,{type:1})}}function Fe(i,e,r){const t=i.slice();return t[1]=e[r],t}function Xt(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=T(),h(n.$$.fragment),s=T(),h(l.$$.fragment)},l(a){r=B(a,e),t=N(a),b(n.$$.fragment,a),s=N(a),b(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),w(n,a,u),d(a,s,u),w(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&Y(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),k(n,a),k(l,a)}}}function Zt(i){let e;return{c(){e=P("Possible Values")},l(r){e=B(r,"Possible Values")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function Le(i){let e,r;return e=new W({props:{source:i[1].description}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.source=t[1].description),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function xt(i){let e,r,t=i[1].name+"",n,s,l,o,f,a;l=new ye({props:{reason:i[1].deprecationReason}});let u=i[1].description&&Le(i);return{c(){e=U("p"),r=U("span"),n=P(t),s=T(),h(l.$$.fragment),o=T(),u&&u.c(),f=j(),this.h()},l(c){e=V(c,"P",{});var m=O(e);r=V(m,"SPAN",{style:!0});var _=O(r);n=B(_,t),_.forEach(g),s=N(m),b(l.$$.fragment,m),m.forEach(g),o=N(c),u&&u.l(c),f=j(),this.h()},h(){me(r,"font-weight","bold")},m(c,m){d(c,e,m),A(e,r),A(r,n),A(e,s),w(l,e,null),d(c,o,m),u&&u.m(c,m),d(c,f,m),a=!0},p(c,m){(!a||m&1)&&t!==(t=c[1].name+"")&&Y(n,t);const _={};m&1&&(_.reason=c[1].deprecationReason),l.$set(_),c[1].description?u?(u.p(c,m),m&1&&$(u,1)):(u=Le(c),u.c(),$(u,1),u.m(f.parentNode,f)):u&&(z(),p(u,1,1,()=>{u=null}),C())},i(c){a||($(l.$$.fragment,c),$(u),a=!0)},o(c){p(l.$$.fragment,c),p(u),a=!1},d(c){c&&(g(e),g(o),g(f)),k(l),u&&u.d(c)}}}function en(i){let e,r,t;return e=new ve({props:{$$slots:{default:[xt]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment),r=T()},l(n){b(e.$$.fragment,n),r=N(n)},m(n,s){w(e,n,s),d(n,r,s),t=!0},p(n,s){const l={};s&17&&(l.$$scope={dirty:s,ctx:n}),e.$set(l)},i(n){t||($(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){n&&g(r),k(e,n)}}}function Re(i){let e,r;return e=new ke({props:{$$slots:{default:[en]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&17&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function tn(i){let e,r,t=K(i[0].getValues()),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"type"in n&&r(0,t=n.type)},[t]}class sn extends q{constructor(e){super(),G(this,e,ln,rn,H,{type:0})}}function Oe(i,e,r){const t=i.slice();return t[2]=e[r],t}function je(i){let e,r=i[2].description+"",t;return{c(){e=U("p"),t=P(r)},l(n){e=V(n,"P",{});var s=O(e);t=B(s,r),s.forEach(g)},m(n,s){d(n,e,s),A(e,t)},p(n,s){s&1&&r!==(r=n[2].description+"")&&Y(t,r)},d(n){n&&g(e)}}}function Me(i){let e,r,t;return r=new zt({props:{value:i[2].default}}),{c(){e=P("Default: "),h(r.$$.fragment)},l(n){e=B(n,"Default: "),b(r.$$.fragment,n)},m(n,s){d(n,e,s),w(r,n,s),t=!0},p(n,s){const l={};s&1&&(l.value=n[2].default),r.$set(l)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&g(e),k(r,n)}}}function fn(i){let e,r,t=i[2].name+"",n,s,l,o,f,a,u,c,m,_,v;l=new vt({props:{type:i[2].type}}),f=new ye({props:{reason:i[2].deprecationReason}}),u=new yt({props:{type:i[2].type}});let y=i[2].description&&je(i),D=i[2].default&&Me(i);return{c(){e=U("p"),r=U("span"),n=P(t),s=T(),h(l.$$.fragment),o=T(),h(f.$$.fragment),a=T(),h(u.$$.fragment),c=T(),y&&y.c(),m=T(),D&&D.c(),_=j(),this.h()},l(I){e=V(I,"P",{});var E=O(e);r=V(E,"SPAN",{style:!0});var S=O(r);n=B(S,t),S.forEach(g),s=N(E),b(l.$$.fragment,E),o=N(E),b(f.$$.fragment,E),a=N(E),b(u.$$.fragment,E),E.forEach(g),c=N(I),y&&y.l(I),m=N(I),D&&D.l(I),_=j(),this.h()},h(){me(r,"font-weight","bold")},m(I,E){d(I,e,E),A(e,r),A(r,n),A(e,s),w(l,e,null),A(e,o),w(f,e,null),A(e,a),w(u,e,null),d(I,c,E),y&&y.m(I,E),d(I,m,E),D&&D.m(I,E),d(I,_,E),v=!0},p(I,E){(!v||E&1)&&t!==(t=I[2].name+"")&&Y(n,t);const S={};E&1&&(S.type=I[2].type),l.$set(S);const L={};E&1&&(L.reason=I[2].deprecationReason),f.$set(L);const Q={};E&1&&(Q.type=I[2].type),u.$set(Q),I[2].description?y?y.p(I,E):(y=je(I),y.c(),y.m(m.parentNode,m)):y&&(y.d(1),y=null),I[2].default?D?(D.p(I,E),E&1&&$(D,1)):(D=Me(I),D.c(),$(D,1),D.m(_.parentNode,_)):D&&(z(),p(D,1,1,()=>{D=null}),C())},i(I){v||($(l.$$.fragment,I),$(f.$$.fragment,I),$(u.$$.fragment,I),$(D),v=!0)},o(I){p(l.$$.fragment,I),p(f.$$.fragment,I),p(u.$$.fragment,I),p(D),v=!1},d(I){I&&(g(e),g(c),g(m),g(_)),k(l),k(f),k(u),y&&y.d(I),D&&D.d(I)}}}function an(i){let e,r,t;return e=new ve({props:{$$slots:{default:[fn]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment),r=T()},l(n){b(e.$$.fragment,n),r=N(n)},m(n,s){w(e,n,s),d(n,r,s),t=!0},p(n,s){const l={};s&33&&(l.$$scope={dirty:s,ctx:n}),e.$set(l)},i(n){t||($(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){n&&g(r),k(e,n)}}}function ze(i){let e,r;return e=new ke({props:{$$slots:{default:[an]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&33&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function on(i){let e,r,t=K(i[0]),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in s&&r(1,n=s.data)},i.$$.update=()=>{i.$$.dirty&2&&r(0,t=se.sortBy(n.map(s=>({id:s.name,deprecationReason:s.deprecationReason,name:s.name,type:s.type,description:s.description,default:s.defaultValue})),s=>s.name)||[])},[t,n]}class pn extends q{constructor(e){super(),G(this,e,cn,$n,H,{data:1})}}function mn(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=T(),h(n.$$.fragment),s=T(),h(l.$$.fragment)},l(a){r=B(a,e),t=N(a),b(n.$$.fragment,a),s=N(a),b(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),w(n,a,u),d(a,s,u),w(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&Y(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),k(n,a),k(l,a)}}}function Ce(i){let e,r,t,n;return e=new J({props:{id:"fields",depth:2,$$slots:{default:[gn]},$$scope:{ctx:i}}}),t=new pn({props:{data:se.map(i[0].getFields(),Ue)}}),{c(){h(e.$$.fragment),r=T(),h(t.$$.fragment)},l(s){b(e.$$.fragment,s),r=N(s),b(t.$$.fragment,s)},m(s,l){w(e,s,l),d(s,r,l),w(t,s,l),n=!0},p(s,l){const o={};l&2&&(o.$$scope={dirty:l,ctx:s}),e.$set(o);const f={};l&1&&(f.data=se.map(s[0].getFields(),Ue)),t.$set(f)},i(s){n||($(e.$$.fragment,s),$(t.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),p(t.$$.fragment,s),n=!1},d(s){s&&g(r),k(e,s),k(t,s)}}}function gn(i){let e;return{c(){e=P("Fields")},l(r){e=B(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function _n(i){let e,r,t,n,s,l=Object.keys(i[0].getFields()).length>0,o;r=new J({props:{id:"title",depth:1,$$slots:{default:[mn]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}});let f=l&&Ce(i);return{c(){e=U("section"),h(r.$$.fragment),t=T(),h(n.$$.fragment),s=T(),f&&f.c()},l(a){e=V(a,"SECTION",{});var u=O(e);b(r.$$.fragment,u),t=N(u),b(n.$$.fragment,u),s=N(u),f&&f.l(u),u.forEach(g)},m(a,u){d(a,e,u),w(r,e,null),A(e,t),w(n,e,null),A(e,s),f&&f.m(e,null),o=!0},p(a,[u]){const c={};u&3&&(c.$$scope={dirty:u,ctx:a}),r.$set(c);const m={};u&1&&(m.source=a[0].description),n.$set(m),u&1&&(l=Object.keys(a[0].getFields()).length>0),l?f?(f.p(a,u),u&1&&$(f,1)):(f=Ce(a),f.c(),$(f,1),f.m(e,null)):f&&(z(),p(f,1,1,()=>{f=null}),C())},i(a){o||($(r.$$.fragment,a),$(n.$$.fragment,a),$(f),o=!0)},o(a){p(r.$$.fragment,a),p(n.$$.fragment,a),p(f),o=!1},d(a){a&&g(e),k(r),k(n),f&&f.d()}}}const Ue=i=>i;function dn(i,e,r){let{type:t}=e;return i.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class hn extends q{constructor(e){super(),G(this,e,dn,_n,H,{type:0})}}function bn(i){let e=(i[0]?i[2]:i[3])+` (${i[1]})`,r;return{c(){r=P(e)},l(t){r=B(t,e)},m(t,n){d(t,r,n)},p(t,n){n&15&&e!==(e=(t[0]?t[2]:t[3])+` (${t[1]})`)&&Y(r,e)},d(t){t&&g(r)}}}function wn(i){let e,r,t;return r=new Ut({props:{kind:"ghost",size:"small",style:"border-radius: 20px",icon:i[0]?De:Pe,$$slots:{default:[bn]},$$scope:{ctx:i}}}),r.$on("click",i[4]),{c(){e=U("div"),h(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);b(r.$$.fragment,s),s.forEach(g),this.h()},h(){oe(e,"class","button-wrapper svelte-8qz4j")},m(n,s){d(n,e,s),w(r,e,null),t=!0},p(n,[s]){const l={};s&1&&(l.icon=n[0]?De:Pe),s&47&&(l.$$scope={dirty:s,ctx:n}),r.$set(l)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&g(e),k(r)}}}function kn(i,e,r){let{totalItems:t}=e,{expandedText:n}=e,{collapsedText:s}=e,{expanded:l=!1}=e;const o=()=>r(0,l=!l);return i.$$set=f=>{"totalItems"in f&&r(1,t=f.totalItems),"expandedText"in f&&r(2,n=f.expandedText),"collapsedText"in f&&r(3,s=f.collapsedText),"expanded"in f&&r(0,l=f.expanded)},[l,t,n,s,o]}class Tt extends q{constructor(e){super(),G(this,e,kn,wn,H,{totalItems:1,expandedText:2,collapsedText:3,expanded:0})}}function vn(i){let e,r,t=i[0].from.name+"",n,s,l,o;return l=new W({props:{source:i[0].description}}),{c(){e=P("By "),r=U("em"),n=P(t),s=T(),h(l.$$.fragment)},l(f){e=B(f,"By "),r=V(f,"EM",{});var a=O(r);n=B(a,t),a.forEach(g),s=N(f),b(l.$$.fragment,f)},m(f,a){d(f,e,a),d(f,r,a),A(r,n),d(f,s,a),w(l,f,a),o=!0},p(f,[a]){(!o||a&1)&&t!==(t=f[0].from.name+"")&&Y(n,t);const u={};a&1&&(u.source=f[0].description),l.$set(u)},i(f){o||($(l.$$.fragment,f),o=!0)},o(f){p(l.$$.fragment,f),o=!1},d(f){f&&(g(e),g(r),g(s)),k(l,f)}}}function yn(i,e,r){let{item:t}=e;return i.$$set=n=>{"item"in n&&r(0,t=n.item)},[t]}class Tn extends q{constructor(e){super(),G(this,e,yn,vn,H,{item:0})}}function Ve(i,e,r){const t=i.slice();return t[3]=e[r],t}function Nn(i){let e,r,t=K(i[0].possibleDescriptions),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lkt(r,"expanded",l)),{c(){s&&s.c(),e=T(),h(r.$$.fragment)},l(f){s&&s.l(f),e=N(f),b(r.$$.fragment,f)},m(f,a){s&&s.m(f,a),d(f,e,a),w(r,f,a),n=!0},p(f,a){f[1]?s?(s.p(f,a),a&2&&$(s,1)):(s=Ge(f),s.c(),$(s,1),s.m(e.parentNode,e)):s&&(z(),p(s,1,1,()=>{s=null}),C());const u={};a&1&&(u.totalItems=f[0].field.args.length),!t&&a&2&&(t=!0,u.expanded=f[1],wt(()=>t=!1)),r.$set(u)},i(f){n||($(s),$(r.$$.fragment,f),n=!0)},o(f){p(s),p(r.$$.fragment,f),n=!1},d(f){f&&g(e),s&&s.d(f),k(r,f)}}}function Ge(i){let e,r,t;return r=new Ct({props:{data:i[0].field.args}}),{c(){e=U("div"),h(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);b(r.$$.fragment,s),s.forEach(g),this.h()},h(){oe(e,"class","arguments-list-wrapper svelte-1di407r")},m(n,s){d(n,e,s),w(r,e,null),t=!0},p(n,s){const l={};s&1&&(l.data=n[0].field.args),r.$set(l)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&g(e),k(r)}}}function In(i){var Te;let e,r,t=i[0].field.name+"",n,s,l,o,f,a,u,c,m,_,v,y,D,I,E;l=new vt({props:{type:i[0].field.type}}),f=new ye({props:{reason:i[0].field.deprecationReason}}),u=new yt({props:{type:i[0].field.type}}),m=new Z({props:{directives:(Te=i[0].field.astNode)==null?void 0:Te.directives}});const S=[En,Nn],L=[];function Q(F,R){return F[0].possibleDescriptions.length===1?0:F[0].possibleDescriptions.length>1?1:-1}~(v=Q(i))&&(y=L[v]=S[v](i));let M=i[0].field.args.length>0&&qe(i);return{c(){e=U("p"),r=U("span"),n=P(t),s=T(),h(l.$$.fragment),o=T(),h(f.$$.fragment),a=T(),h(u.$$.fragment),c=T(),h(m.$$.fragment),_=T(),y&&y.c(),D=T(),M&&M.c(),I=j(),this.h()},l(F){e=V(F,"P",{});var R=O(e);r=V(R,"SPAN",{style:!0});var re=O(r);n=B(re,t),re.forEach(g),s=N(R),b(l.$$.fragment,R),o=N(R),b(f.$$.fragment,R),a=N(R),b(u.$$.fragment,R),c=N(R),b(m.$$.fragment,R),R.forEach(g),_=N(F),y&&y.l(F),D=N(F),M&&M.l(F),I=j(),this.h()},h(){me(r,"font-weight","bold")},m(F,R){d(F,e,R),A(e,r),A(r,n),A(e,s),w(l,e,null),A(e,o),w(f,e,null),A(e,a),w(u,e,null),A(e,c),w(m,e,null),d(F,_,R),~v&&L[v].m(F,R),d(F,D,R),M&&M.m(F,R),d(F,I,R),E=!0},p(F,R){var Se;(!E||R&1)&&t!==(t=F[0].field.name+"")&&Y(n,t);const re={};R&1&&(re.type=F[0].field.type),l.$set(re);const Ne={};R&1&&(Ne.reason=F[0].field.deprecationReason),f.$set(Ne);const Ee={};R&1&&(Ee.type=F[0].field.type),u.$set(Ee);const Ie={};R&1&&(Ie.directives=(Se=F[0].field.astNode)==null?void 0:Se.directives),m.$set(Ie);let ce=v;v=Q(F),v===ce?~v&&L[v].p(F,R):(y&&(z(),p(L[ce],1,1,()=>{L[ce]=null}),C()),~v?(y=L[v],y?y.p(F,R):(y=L[v]=S[v](F),y.c()),$(y,1),y.m(D.parentNode,D)):y=null),F[0].field.args.length>0?M?(M.p(F,R),R&1&&$(M,1)):(M=qe(F),M.c(),$(M,1),M.m(I.parentNode,I)):M&&(z(),p(M,1,1,()=>{M=null}),C())},i(F){E||($(l.$$.fragment,F),$(f.$$.fragment,F),$(u.$$.fragment,F),$(m.$$.fragment,F),$(y),$(M),E=!0)},o(F){p(l.$$.fragment,F),p(f.$$.fragment,F),p(u.$$.fragment,F),p(m.$$.fragment,F),p(y),p(M),E=!1},d(F){F&&(g(e),g(_),g(D),g(I)),k(l),k(f),k(u),k(m),~v&&L[v].d(F),M&&M.d(F)}}}function Sn(i){let e,r;return e=new ve({props:{$$slots:{default:[In]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&67&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function An(i){let e,r;return e=new ke({props:{$$slots:{default:[Sn]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,[n]){const s={};n&67&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Pn(i,e,r){let{item:t}=e,n=!1;function s(l){n=l,r(1,n)}return i.$$set=l=>{"item"in l&&r(0,t=l.item)},[t,n,s]}class Bn extends q{constructor(e){super(),G(this,e,Pn,An,H,{item:0})}}function Ye(i,e,r){const t=i.slice();return t[3]=e[r],t}function Je(i){let e,r;return e=new Bn({props:{item:i[3]}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.item=t[3]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Dn(i){let e,r,t=K(i[0]),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in l&&r(1,t=l.data)},i.$$.update=()=>{i.$$.dirty&2&&(n==="alphabetical"?r(0,s=se.sortBy(t,l=>l.field.name)):r(0,s=t))},[s,t]}class Nt extends q{constructor(e){super(),G(this,e,Rn,Ln,H,{data:1})}}function Ke(i,e,r){const t=i.slice();return t[1]=e[r],t[3]=r,t}function Qe(i){let e=", ",r;return{c(){r=P(e)},l(t){r=B(t,e)},m(t,n){d(t,r,n)},d(t){t&&g(r)}}}function We(i){let e,r,t;e=new ue({props:{type:i[1]}});let n=i[3]!==i[0].length-1&&Qe();return{c(){h(e.$$.fragment),n&&n.c(),r=j()},l(s){b(e.$$.fragment,s),n&&n.l(s),r=j()},m(s,l){w(e,s,l),n&&n.m(s,l),d(s,r,l),t=!0},p(s,l){const o={};l&1&&(o.type=s[1]),e.$set(o),s[3]!==s[0].length-1?n||(n=Qe(),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i(s){t||($(e.$$.fragment,s),t=!0)},o(s){p(e.$$.fragment,s),t=!1},d(s){s&&g(r),k(e,s),n&&n.d(s)}}}function On(i){let e,r,t=K(i[0]),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"types"in n&&r(0,t=n.types)},[t]}class $e extends q{constructor(e){super(),G(this,e,jn,On,H,{types:0})}}function Mn(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=T(),h(n.$$.fragment),s=T(),h(l.$$.fragment)},l(a){r=B(a,e),t=N(a),b(n.$$.fragment,a),s=N(a),b(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),w(n,a,u),d(a,s,u),w(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&Y(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),k(n,a),k(l,a)}}}function Xe(i){let e,r,t,n;return e=new J({props:{id:"fields",depth:2,$$slots:{default:[zn]},$$scope:{ctx:i}}}),t=new Nt({props:{data:i[2]}}),{c(){h(e.$$.fragment),r=T(),h(t.$$.fragment)},l(s){b(e.$$.fragment,s),r=N(s),b(t.$$.fragment,s)},m(s,l){w(e,s,l),d(s,r,l),w(t,s,l),n=!0},p(s,l){const o={};l&8&&(o.$$scope={dirty:l,ctx:s}),e.$set(o);const f={};l&4&&(f.data=s[2]),t.$set(f)},i(s){n||($(e.$$.fragment,s),$(t.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),p(t.$$.fragment,s),n=!1},d(s){s&&g(r),k(e,s),k(t,s)}}}function zn(i){let e;return{c(){e=P("Fields")},l(r){e=B(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function Ze(i){let e,r,t,n,s;return e=new J({props:{id:"implementations",depth:2,$$slots:{default:[Cn]},$$scope:{ctx:i}}}),t=new $e({props:{types:i[1]}}),{c(){h(e.$$.fragment),r=P(` + Implemented by `),h(t.$$.fragment),n=P(".")},l(l){b(e.$$.fragment,l),r=B(l,` + Implemented by `),b(t.$$.fragment,l),n=B(l,".")},m(l,o){w(e,l,o),d(l,r,o),w(t,l,o),d(l,n,o),s=!0},p(l,o){const f={};o&8&&(f.$$scope={dirty:o,ctx:l}),e.$set(f);const a={};o&2&&(a.types=l[1]),t.$set(a)},i(l){s||($(e.$$.fragment,l),$(t.$$.fragment,l),s=!0)},o(l){p(e.$$.fragment,l),p(t.$$.fragment,l),s=!1},d(l){l&&(g(r),g(n)),k(e,l),k(t,l)}}}function Cn(i){let e;return{c(){e=P("Implementations")},l(r){e=B(r,"Implementations")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function xe(i){let e,r,t,n,s,l,o;return e=new J({props:{id:"interfaces",depth:2,$$slots:{default:[Un]},$$scope:{ctx:i}}}),s=new $e({props:{types:i[0].getInterfaces()}}),{c(){h(e.$$.fragment),r=T(),t=U("p"),n=P("Also implements "),h(s.$$.fragment),l=P(".")},l(f){b(e.$$.fragment,f),r=N(f),t=V(f,"P",{});var a=O(t);n=B(a,"Also implements "),b(s.$$.fragment,a),l=B(a,"."),a.forEach(g)},m(f,a){w(e,f,a),d(f,r,a),d(f,t,a),A(t,n),w(s,t,null),A(t,l),o=!0},p(f,a){const u={};a&8&&(u.$$scope={dirty:a,ctx:f}),e.$set(u);const c={};a&1&&(c.types=f[0].getInterfaces()),s.$set(c)},i(f){o||($(e.$$.fragment,f),$(s.$$.fragment,f),o=!0)},o(f){p(e.$$.fragment,f),p(s.$$.fragment,f),o=!1},d(f){f&&(g(r),g(t)),k(e,f),k(s)}}}function Un(i){let e;return{c(){e=P("Interfaces")},l(r){e=B(r,"Interfaces")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function Vn(i){let e,r,t,n,s,l=Object.keys(i[0].getFields()).length>0,o,f,a=i[0].getInterfaces().length>0,u;r=new J({props:{id:"title",depth:1,$$slots:{default:[Mn]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}});let c=l&&Xe(i),m=i[1].length>0&&Ze(i),_=a&&xe(i);return{c(){e=U("section"),h(r.$$.fragment),t=T(),h(n.$$.fragment),s=T(),c&&c.c(),o=T(),m&&m.c(),f=T(),_&&_.c()},l(v){e=V(v,"SECTION",{});var y=O(e);b(r.$$.fragment,y),t=N(y),b(n.$$.fragment,y),s=N(y),c&&c.l(y),o=N(y),m&&m.l(y),f=N(y),_&&_.l(y),y.forEach(g)},m(v,y){d(v,e,y),w(r,e,null),A(e,t),w(n,e,null),A(e,s),c&&c.m(e,null),A(e,o),m&&m.m(e,null),A(e,f),_&&_.m(e,null),u=!0},p(v,[y]){const D={};y&9&&(D.$$scope={dirty:y,ctx:v}),r.$set(D);const I={};y&1&&(I.source=v[0].description),n.$set(I),y&1&&(l=Object.keys(v[0].getFields()).length>0),l?c?(c.p(v,y),y&1&&$(c,1)):(c=Xe(v),c.c(),$(c,1),c.m(e,o)):c&&(z(),p(c,1,1,()=>{c=null}),C()),v[1].length>0?m?(m.p(v,y),y&2&&$(m,1)):(m=Ze(v),m.c(),$(m,1),m.m(e,f)):m&&(z(),p(m,1,1,()=>{m=null}),C()),y&1&&(a=v[0].getInterfaces().length>0),a?_?(_.p(v,y),y&1&&$(_,1)):(_=xe(v),_.c(),$(_,1),_.m(e,null)):_&&(z(),p(_,1,1,()=>{_=null}),C())},i(v){u||($(r.$$.fragment,v),$(n.$$.fragment,v),$(c),$(m),$(_),u=!0)},o(v){p(r.$$.fragment,v),p(n.$$.fragment,v),p(c),p(m),p(_),u=!1},d(v){v&&g(e),k(r),k(n),c&&c.d(),m&&m.d(),_&&_.d()}}}function Hn(i,e,r){let{type:t}=e,n,s;return i.$$set=l=>{"type"in l&&r(0,t=l.type)},i.$$.update=()=>{i.$$.dirty&1&&r(1,n=Dt.getPossibleTypes(t)),i.$$.dirty&1&&r(2,s=ht(t))},[t,n,s]}class qn extends q{constructor(e){super(),G(this,e,Hn,Vn,H,{type:0})}}function Gn(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=T(),h(n.$$.fragment),s=T(),h(l.$$.fragment)},l(a){r=B(a,e),t=N(a),b(n.$$.fragment,a),s=N(a),b(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),w(n,a,u),d(a,s,u),w(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&Y(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),k(n,a),k(l,a)}}}function et(i){let e,r,t,n;return e=new J({props:{id:"fields",depth:2,$$slots:{default:[Yn]},$$scope:{ctx:i}}}),t=new Nt({props:{data:i[1]}}),{c(){h(e.$$.fragment),r=T(),h(t.$$.fragment)},l(s){b(e.$$.fragment,s),r=N(s),b(t.$$.fragment,s)},m(s,l){w(e,s,l),d(s,r,l),w(t,s,l),n=!0},p(s,l){const o={};l&4&&(o.$$scope={dirty:l,ctx:s}),e.$set(o);const f={};l&2&&(f.data=s[1]),t.$set(f)},i(s){n||($(e.$$.fragment,s),$(t.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),p(t.$$.fragment,s),n=!1},d(s){s&&g(r),k(e,s),k(t,s)}}}function Yn(i){let e;return{c(){e=P("Fields")},l(r){e=B(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function tt(i){let e,r,t,n,s,l,o;return e=new J({props:{id:"interfaces",depth:2,$$slots:{default:[Jn]},$$scope:{ctx:i}}}),s=new $e({props:{types:i[0].getInterfaces()}}),{c(){h(e.$$.fragment),r=T(),t=U("p"),n=P("Also implements "),h(s.$$.fragment),l=P(".")},l(f){b(e.$$.fragment,f),r=N(f),t=V(f,"P",{});var a=O(t);n=B(a,"Also implements "),b(s.$$.fragment,a),l=B(a,"."),a.forEach(g)},m(f,a){w(e,f,a),d(f,r,a),d(f,t,a),A(t,n),w(s,t,null),A(t,l),o=!0},p(f,a){const u={};a&4&&(u.$$scope={dirty:a,ctx:f}),e.$set(u);const c={};a&1&&(c.types=f[0].getInterfaces()),s.$set(c)},i(f){o||($(e.$$.fragment,f),$(s.$$.fragment,f),o=!0)},o(f){p(e.$$.fragment,f),p(s.$$.fragment,f),o=!1},d(f){f&&(g(r),g(t)),k(e,f),k(s)}}}function Jn(i){let e;return{c(){e=P("Interfaces")},l(r){e=B(r,"Interfaces")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function Kn(i){let e,r,t,n,s,l,o=i[0].getInterfaces().length>0,f;r=new J({props:{id:"title",depth:1,$$slots:{default:[Gn]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}});let a=i[1].length>0&&et(i),u=o&&tt(i);return{c(){e=U("section"),h(r.$$.fragment),t=T(),h(n.$$.fragment),s=T(),a&&a.c(),l=T(),u&&u.c()},l(c){e=V(c,"SECTION",{});var m=O(e);b(r.$$.fragment,m),t=N(m),b(n.$$.fragment,m),s=N(m),a&&a.l(m),l=N(m),u&&u.l(m),m.forEach(g)},m(c,m){d(c,e,m),w(r,e,null),A(e,t),w(n,e,null),A(e,s),a&&a.m(e,null),A(e,l),u&&u.m(e,null),f=!0},p(c,[m]){const _={};m&5&&(_.$$scope={dirty:m,ctx:c}),r.$set(_);const v={};m&1&&(v.source=c[0].description),n.$set(v),c[1].length>0?a?(a.p(c,m),m&2&&$(a,1)):(a=et(c),a.c(),$(a,1),a.m(e,l)):a&&(z(),p(a,1,1,()=>{a=null}),C()),m&1&&(o=c[0].getInterfaces().length>0),o?u?(u.p(c,m),m&1&&$(u,1)):(u=tt(c),u.c(),$(u,1),u.m(e,null)):u&&(z(),p(u,1,1,()=>{u=null}),C())},i(c){f||($(r.$$.fragment,c),$(n.$$.fragment,c),$(a),$(u),f=!0)},o(c){p(r.$$.fragment,c),p(n.$$.fragment,c),p(a),p(u),f=!1},d(c){c&&g(e),k(r),k(n),a&&a.d(),u&&u.d()}}}function Qn(i,e,r){let{type:t}=e,n;return i.$$set=s=>{"type"in s&&r(0,t=s.type)},i.$$.update=()=>{i.$$.dirty&1&&r(1,n=ht(t))},[t,n]}class Wn extends q{constructor(e){super(),G(this,e,Qn,Kn,H,{type:0})}}function Xn(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=T(),h(n.$$.fragment),s=T(),h(l.$$.fragment)},l(a){r=B(a,e),t=N(a),b(n.$$.fragment,a),s=N(a),b(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),w(n,a,u),d(a,s,u),w(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&Y(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),k(n,a),k(l,a)}}}function Zn(i){let e,r,t,n,s;return r=new J({props:{id:"title",depth:1,$$slots:{default:[Xn]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}}),{c(){e=U("section"),h(r.$$.fragment),t=T(),h(n.$$.fragment)},l(l){e=V(l,"SECTION",{});var o=O(e);b(r.$$.fragment,o),t=N(o),b(n.$$.fragment,o),o.forEach(g)},m(l,o){d(l,e,o),w(r,e,null),A(e,t),w(n,e,null),s=!0},p(l,[o]){const f={};o&3&&(f.$$scope={dirty:o,ctx:l}),r.$set(f);const a={};o&1&&(a.source=l[0].description),n.$set(a)},i(l){s||($(r.$$.fragment,l),$(n.$$.fragment,l),s=!0)},o(l){p(r.$$.fragment,l),p(n.$$.fragment,l),s=!1},d(l){l&&g(e),k(r),k(n)}}}function xn(i,e,r){let{type:t}=e;return i.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class er extends q{constructor(e){super(),G(this,e,xn,Zn,H,{type:0})}}function tr(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=T(),h(n.$$.fragment),s=T(),h(l.$$.fragment)},l(a){r=B(a,e),t=N(a),b(n.$$.fragment,a),s=N(a),b(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),w(n,a,u),d(a,s,u),w(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&Y(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),k(n,a),k(l,a)}}}function nr(i){let e;return{c(){e=P("Types")},l(r){e=B(r,"Types")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function rr(i){let e,r,t,n,s,l,o,f,a,u,c,m;return r=new J({props:{id:"title",depth:1,$$slots:{default:[tr]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}}),l=new J({props:{id:"types",depth:2,$$slots:{default:[nr]},$$scope:{ctx:i}}}),u=new $e({props:{types:i[0].getTypes()}}),{c(){e=U("section"),h(r.$$.fragment),t=T(),h(n.$$.fragment),s=T(),h(l.$$.fragment),o=T(),f=U("p"),a=P("Union of types "),h(u.$$.fragment),c=P(".")},l(_){e=V(_,"SECTION",{});var v=O(e);b(r.$$.fragment,v),t=N(v),b(n.$$.fragment,v),s=N(v),b(l.$$.fragment,v),o=N(v),f=V(v,"P",{});var y=O(f);a=B(y,"Union of types "),b(u.$$.fragment,y),c=B(y,"."),y.forEach(g),v.forEach(g)},m(_,v){d(_,e,v),w(r,e,null),A(e,t),w(n,e,null),A(e,s),w(l,e,null),A(e,o),A(e,f),A(f,a),w(u,f,null),A(f,c),m=!0},p(_,[v]){const y={};v&3&&(y.$$scope={dirty:v,ctx:_}),r.$set(y);const D={};v&1&&(D.source=_[0].description),n.$set(D);const I={};v&2&&(I.$$scope={dirty:v,ctx:_}),l.$set(I);const E={};v&1&&(E.types=_[0].getTypes()),u.$set(E)},i(_){m||($(r.$$.fragment,_),$(n.$$.fragment,_),$(l.$$.fragment,_),$(u.$$.fragment,_),m=!0)},o(_){p(r.$$.fragment,_),p(n.$$.fragment,_),p(l.$$.fragment,_),p(u.$$.fragment,_),m=!1},d(_){_&&g(e),k(r),k(n),k(l),k(u)}}}function lr(i,e,r){let{type:t}=e;return i.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class sr extends q{constructor(e){super(),G(this,e,lr,rr,H,{type:0})}}function fr(i){let e;const r=i[0].default,t=ge(r,i,i[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,s){t&&t.m(n,s),e=!0},p(n,s){t&&t.p&&(!e||s&2)&&_e(t,r,n,n[1],e?he(r,n[1],s,null):de(n[1]),null)},i(n){e||($(t,n),e=!0)},o(n){p(t,n),e=!1},d(n){t&&t.d(n)}}}function ir(i){let e,r;return e=new Ot({props:{class:"markdown-list-item",$$slots:{default:[fr]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,[n]){const s={};n&2&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function ar(i,e,r){let{$$slots:t={},$$scope:n}=e;return i.$$set=s=>{"$$scope"in s&&r(1,n=s.$$scope)},[t,n]}class or extends q{constructor(e){super(),G(this,e,ar,ir,H,{})}}function nt(i,e,r){const t=i.slice();return t[5]=e[r],t[7]=r,t}const ur=i=>({}),rt=i=>({index:i[7]});function lt(i,e,r){const t=i.slice();return t[5]=e[r],t[7]=r,t}const $r=i=>({}),st=i=>({index:i[7]});function cr(i){let e,r,t=K(i[0].slice(0,3)),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lkt(e,"expanded",n)),{c(){h(e.$$.fragment)},l(l){b(e.$$.fragment,l)},m(l,o){w(e,l,o),t=!0},p(l,o){const f={};o&1&&(f.totalItems=l[0].length),!r&&o&2&&(r=!0,f.expanded=l[1],wt(()=>r=!1)),e.$set(f)},i(l){t||($(e.$$.fragment,l),t=!0)},o(l){p(e.$$.fragment,l),t=!1},d(l){k(e,l)}}}function mr(i){let e,r,t,n,s;const l=[pr,cr],o=[];function f(u,c){return u[1]?0:1}e=f(i),r=o[e]=l[e](i);let a=i[0].length>3&&at(i);return{c(){r.c(),t=T(),a&&a.c(),n=j()},l(u){r.l(u),t=N(u),a&&a.l(u),n=j()},m(u,c){o[e].m(u,c),d(u,t,c),a&&a.m(u,c),d(u,n,c),s=!0},p(u,[c]){let m=e;e=f(u),e===m?o[e].p(u,c):(z(),p(o[m],1,1,()=>{o[m]=null}),C(),r=o[e],r?r.p(u,c):(r=o[e]=l[e](u),r.c()),$(r,1),r.m(t.parentNode,t)),u[0].length>3?a?(a.p(u,c),c&1&&$(a,1)):(a=at(u),a.c(),$(a,1),a.m(n.parentNode,n)):a&&(z(),p(a,1,1,()=>{a=null}),C())},i(u){s||($(r),$(a),s=!0)},o(u){p(r),p(a),s=!1},d(u){u&&(g(t),g(n)),o[e].d(u),a&&a.d(u)}}}function gr(i,e,r){let{$$slots:t={},$$scope:n}=e,{items:s}=e,l=!1;function o(f){l=f,r(1,l)}return i.$$set=f=>{"items"in f&&r(0,s=f.items),"$$scope"in f&&r(2,n=f.$$scope)},[s,l,n,t,o]}class _r extends q{constructor(e){super(),G(this,e,gr,mr,H,{items:0})}}function ot(i){const e=i[0].references[i[1]];i[2]=e}function dr(i){let e;return{c(){e=P("Usages")},l(r){e=B(r,"Usages")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function hr(i){let e;return{c(){e=P("References")},l(r){e=B(r,"References")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function br(i){let e,r,t=i[2].by.name+"",n,s,l,o=i[2].field.name+"",f,a,u,c;return u=new ue({props:{type:i[2].type}}),{c(){e=P("Argument "),r=U("em"),n=P(t),s=P(" of field "),l=U("em"),f=P(o),a=P(` + from type `),h(u.$$.fragment)},l(m){e=B(m,"Argument "),r=V(m,"EM",{});var _=O(r);n=B(_,t),_.forEach(g),s=B(m," of field "),l=V(m,"EM",{});var v=O(l);f=B(v,o),v.forEach(g),a=B(m,` + from type `),b(u.$$.fragment,m)},m(m,_){d(m,e,_),d(m,r,_),A(r,n),d(m,s,_),d(m,l,_),A(l,f),d(m,a,_),w(u,m,_),c=!0},p(m,_){(!c||_&3)&&t!==(t=m[2].by.name+"")&&Y(n,t),(!c||_&3)&&o!==(o=m[2].field.name+"")&&Y(f,o);const v={};_&3&&(v.type=m[2].type),u.$set(v)},i(m){c||($(u.$$.fragment,m),c=!0)},o(m){p(u.$$.fragment,m),c=!1},d(m){m&&(g(e),g(r),g(s),g(l),g(a)),k(u,m)}}}function wr(i){let e,r,t=i[2].by.name+"",n,s,l,o;return l=new ue({props:{type:i[2].parent}}),{c(){e=P("Field "),r=U("em"),n=P(t),s=P(" from "),h(l.$$.fragment)},l(f){e=B(f,"Field "),r=V(f,"EM",{});var a=O(r);n=B(a,t),a.forEach(g),s=B(f," from "),b(l.$$.fragment,f)},m(f,a){d(f,e,a),d(f,r,a),A(r,n),d(f,s,a),w(l,f,a),o=!0},p(f,a){(!o||a&3)&&t!==(t=f[2].by.name+"")&&Y(n,t);const u={};a&3&&(u.type=f[2].parent),l.$set(u)},i(f){o||($(l.$$.fragment,f),o=!0)},o(f){p(l.$$.fragment,f),o=!1},d(f){f&&(g(e),g(r),g(s)),k(l,f)}}}function kr(i){let e,r,t;return r=new ue({props:{type:i[2].by}}),{c(){e=P("Part of union "),h(r.$$.fragment)},l(n){e=B(n,"Part of union "),b(r.$$.fragment,n)},m(n,s){d(n,e,s),w(r,n,s),t=!0},p(n,s){const l={};s&3&&(l.type=n[2].by),r.$set(l)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&g(e),k(r,n)}}}function vr(i){let e,r,t,n;const s=[kr,wr,br],l=[];function o(f,a){return f[2].kind===pe.UNION&&f[2].by?0:f[2].kind===pe.FIELD?1:f[2].kind===pe.ARGUMENT?2:-1}return~(e=o(i))&&(r=l[e]=s[e](i)),{c(){r&&r.c(),t=j()},l(f){r&&r.l(f),t=j()},m(f,a){~e&&l[e].m(f,a),d(f,t,a),n=!0},p(f,a){let u=e;e=o(f),e===u?~e&&l[e].p(f,a):(r&&(z(),p(l[u],1,1,()=>{l[u]=null}),C()),~e?(r=l[e],r?r.p(f,a):(r=l[e]=s[e](f),r.c()),$(r,1),r.m(t.parentNode,t)):r=null)},i(f){n||($(r),n=!0)},o(f){p(r),n=!1},d(f){f&&g(t),~e&&l[e].d(f)}}}function yr(i){ot(i);let e,r;return e=new or({props:{$$slots:{default:[vr]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){ot(t);const s={};n&11&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Tr(i){let e,r;return e=new jt({props:{$$slots:{default:[yr]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&11&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Nr(i){let e,r,t,n,s,l;return e=new J({props:{id:"usages",depth:2,$$slots:{default:[dr]},$$scope:{ctx:i}}}),t=new J({props:{id:"references",depth:4,$$slots:{default:[hr]},$$scope:{ctx:i}}}),s=new _r({props:{items:i[0].references,$$slots:{default:[Tr,({index:o})=>({1:o}),({index:o})=>o?2:0]},$$scope:{ctx:i}}}),{c(){h(e.$$.fragment),r=T(),h(t.$$.fragment),n=T(),h(s.$$.fragment)},l(o){b(e.$$.fragment,o),r=N(o),b(t.$$.fragment,o),n=N(o),b(s.$$.fragment,o)},m(o,f){w(e,o,f),d(o,r,f),w(t,o,f),d(o,n,f),w(s,o,f),l=!0},p(o,[f]){const a={};f&8&&(a.$$scope={dirty:f,ctx:o}),e.$set(a);const u={};f&8&&(u.$$scope={dirty:f,ctx:o}),t.$set(u);const c={};f&1&&(c.items=o[0].references),f&11&&(c.$$scope={dirty:f,ctx:o}),s.$set(c)},i(o){l||($(e.$$.fragment,o),$(t.$$.fragment,o),$(s.$$.fragment,o),l=!0)},o(o){p(e.$$.fragment,o),p(t.$$.fragment,o),p(s.$$.fragment,o),l=!1},d(o){o&&(g(r),g(n)),k(e,o),k(t,o),k(s,o)}}}function Er(i,e,r){let{usages:t}=e;return i.$$set=n=>{"usages"in n&&r(0,t=n.usages)},[t]}class Ir extends q{constructor(e){super(),G(this,e,Er,Nr,H,{usages:0})}}function Sr(i){let e,r;return e=new hn({props:{type:i[1]}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Ar(i){let e,r;return e=new Wn({props:{type:i[1]}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Pr(i){let e,r;return e=new sr({props:{type:i[1]}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Br(i){let e,r;return e=new qn({props:{type:i[1]}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Dr(i){let e,r;return e=new sn({props:{type:i[1]}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Fr(i){let e,r;return e=new er({props:{type:i[1]}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function ut(i){let e,r;return e=new Ir({props:{usages:i[0].usages}}),{c(){h(e.$$.fragment)},l(t){b(e.$$.fragment,t)},m(t,n){w(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.usages=t[0].usages),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){k(e,t)}}}function Lr(i){let e,r,t,n,s,l,o,f,a,u,c,m,_,v;document.title=e="Type - "+i[1].name;const y=[Fr,Dr,Br,Pr,Ar,Sr],D=[];function I(S,L){return L&2&&(t=null),L&2&&(n=null),L&2&&(s=null),L&2&&(l=null),L&2&&(o=null),L&2&&(f=null),t==null&&(t=!!ct(S[1])),t?0:(n==null&&(n=!!pt(S[1])),n?1:(s==null&&(s=!!mt(S[1])),s?2:(l==null&&(l=!!gt(S[1])),l?3:(o==null&&(o=!!_t(S[1])),o?4:(f==null&&(f=!!dt(S[1])),f?5:-1)))))}~(a=I(i,-1))&&(u=D[a]=y[a](i));let E=i[0].usages&&ut(i);return _=new Mt({props:{page:i[0].page}}),{c(){r=T(),u&&u.c(),c=T(),E&&E.c(),m=T(),h(_.$$.fragment)},l(S){Lt("svelte-31uzcn",document.head).forEach(g),r=N(S),u&&u.l(S),c=N(S),E&&E.l(S),m=N(S),b(_.$$.fragment,S)},m(S,L){d(S,r,L),~a&&D[a].m(S,L),d(S,c,L),E&&E.m(S,L),d(S,m,L),w(_,S,L),v=!0},p(S,[L]){(!v||L&2)&&e!==(e="Type - "+S[1].name)&&(document.title=e);let Q=a;a=I(S,L),a===Q?~a&&D[a].p(S,L):(u&&(z(),p(D[Q],1,1,()=>{D[Q]=null}),C()),~a?(u=D[a],u?u.p(S,L):(u=D[a]=y[a](S),u.c()),$(u,1),u.m(c.parentNode,c)):u=null),S[0].usages?E?(E.p(S,L),L&1&&$(E,1)):(E=ut(S),E.c(),$(E,1),E.m(m.parentNode,m)):E&&(z(),p(E,1,1,()=>{E=null}),C());const M={};L&1&&(M.page=S[0].page),_.$set(M)},i(S){v||($(u),$(E),$(_.$$.fragment,S),v=!0)},o(S){p(u),p(E),p(_.$$.fragment,S),v=!1},d(S){S&&(g(r),g(c),g(m)),~a&&D[a].d(S),E&&E.d(S),k(_,S)}}}function Rr(i,e,r){let{data:t}=e,n;return i.$$set=s=>{"data"in s&&r(0,t=s.data)},i.$$.update=()=>{i.$$.dirty&1&&r(1,n=t.type)},[t,n]}class Gr extends q{constructor(e){super(),G(this,e,Rr,Lr,H,{data:0})}}export{Gr as component,qr as universal}; diff --git a/public/docs/_app/immutable/nodes/8.DYDZS3Wb.js b/public/docs/_app/immutable/nodes/8.DYDZS3Wb.js deleted file mode 100644 index 5bed4f0..0000000 --- a/public/docs/_app/immutable/nodes/8.DYDZS3Wb.js +++ /dev/null @@ -1,5 +0,0 @@ -import{i as $t,B as Et,C as It,D as St,f as At,E as ct,F as pt,G as mt,H as gt,I as _t,J as dt,q as K,_ as se,x as Bt,y as Pt,s as Dt,L as ht,R as pe}from"../chunks/pages.BKY_3uMO.js";import{e as Rt}from"../chunks/index.DALO_3yS.js";import{s as q,d as g,b as G,c as d,e as A,a4 as x,k as O,l as B,a5 as ee,t as P,q as te,n as le,a6 as fe,f as oe,y as ie,z as ae,g as T,m as N,J as me,j as U,x as j,o as V,a2 as X,I as bt,a7 as wt,B as ge,C as _e,D as de,E as he,h as Ft}from"../chunks/scheduler.BCDW5bg-.js";import{S as H,i as Y,d as h,t as p,a as $,m as b,c as w,b as k,g as z,e as C,f as kt}from"../chunks/index.C97nKj6a.js";import{T as Lt,A as J,C as W,S as be,a as we,b as ke,c as ve,L as Ot,d as jt,P as Mt}from"../chunks/PreviousNextPage.DkqDVsQt.js";import{D as Z,a as ye,T as vt,N as yt,b as zt,A as Ct,c as ue}from"../chunks/ArgsList.C4wfYkcv.js";import{B as Ut}from"../chunks/Button.Dx_qZ2xb.js";import"../chunks/control.r7Ha6DXD.js";function Ae(i){let e,r;return{c(){e=ee("title"),r=P(i[1])},l(t){e=x(t,"title",{});var n=O(e);r=B(n,i[1]),n.forEach(g)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&G(r,t[1])},d(t){t&&g(e)}}}function Vt(i){let e,r,t=i[1]&&Ae(i),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{r(5,e=te(te({},e),ae(a))),r(3,l=ie(e,s)),"size"in a&&r(0,o=a.size),"title"in a&&r(1,f=a.title)},i.$$.update=()=>{r(4,t=e["aria-label"]||e["aria-labelledby"]||f),r(2,n={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[o,f,n,l,t]}class Be extends H{constructor(e){super(),Y(this,e,qt,Vt,q,{size:0,title:1})}}function Pe(i){let e,r;return{c(){e=ee("title"),r=P(i[1])},l(t){e=x(t,"title",{});var n=O(e);r=B(n,i[1]),n.forEach(g)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&G(r,t[1])},d(t){t&&g(e)}}}function Ht(i){let e,r,t=i[1]&&Pe(i),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:i[0]},{height:i[0]},i[2],i[3]],s={};for(let l=0;l{r(5,e=te(te({},e),ae(a))),r(3,l=ie(e,s)),"size"in a&&r(0,o=a.size),"title"in a&&r(1,f=a.title)},i.$$.update=()=>{r(4,t=e["aria-label"]||e["aria-labelledby"]||f),r(2,n={"aria-hidden":t?void 0:!0,role:t?"img":void 0,focusable:Number(e.tabindex)===0?!0:void 0})},e=ae(e),[o,f,n,l,t]}class De extends H{constructor(e){super(),Y(this,e,Yt,Ht,q,{size:0,title:1})}}const Gt=!Et(),Jt=({params:i,url:e})=>{const r=It(i.type),t=St(r),n=At(e.pathname);if(!r||!n)throw Rt(404,`Type ${i.type} not found.`);return{type:r,usages:t,page:n}},Hr=Object.freeze(Object.defineProperty({__proto__:null,load:Jt,prerender:Gt},Symbol.toStringTag,{value:"Module"}));function Kt(i){let e=i[0]()+"",r;return{c(){r=P(e)},l(t){r=B(t,e)},m(t,n){d(t,r,n)},p:le,d(t){t&&g(r)}}}function Qt(i){let e,r;return e=new Lt({props:{type:"teal",$$slots:{default:[Kt]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const s={};n&4&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Wt(i,e,r){let{type:t}=e;function n(){return ct(t)?"Scalar":pt(t)?"Enum":mt(t)?"Interface":gt(t)?"Union":_t(t)?"Object":dt(t)?"Input Object":"Unknown"}return i.$$set=s=>{"type"in s&&r(1,t=s.type)},[n,t]}class ne extends H{constructor(e){super(),Y(this,e,Wt,Qt,q,{type:1})}}function Re(i,e,r){const t=i.slice();return t[1]=e[r],t}function Xt(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=N(),k(n.$$.fragment),s=N(),k(l.$$.fragment)},l(a){r=B(a,e),t=T(a),w(n.$$.fragment,a),s=T(a),w(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),b(n,a,u),d(a,s,u),b(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&G(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),h(n,a),h(l,a)}}}function Zt(i){let e;return{c(){e=P("Possible Values")},l(r){e=B(r,"Possible Values")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function Fe(i){let e,r;return e=new W({props:{source:i[1].description}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.source=t[1].description),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function xt(i){let e,r,t=i[1].name+"",n,s,l,o,f,a;l=new ye({props:{reason:i[1].deprecationReason}});let u=i[1].description&&Fe(i);return{c(){e=V("p"),r=V("span"),n=P(t),s=N(),k(l.$$.fragment),o=N(),u&&u.c(),f=j(),this.h()},l(c){e=U(c,"P",{});var m=O(e);r=U(m,"SPAN",{style:!0});var _=O(r);n=B(_,t),_.forEach(g),s=T(m),w(l.$$.fragment,m),m.forEach(g),o=T(c),u&&u.l(c),f=j(),this.h()},h(){me(r,"font-weight","bold")},m(c,m){d(c,e,m),A(e,r),A(r,n),A(e,s),b(l,e,null),d(c,o,m),u&&u.m(c,m),d(c,f,m),a=!0},p(c,m){(!a||m&1)&&t!==(t=c[1].name+"")&&G(n,t);const _={};m&1&&(_.reason=c[1].deprecationReason),l.$set(_),c[1].description?u?(u.p(c,m),m&1&&$(u,1)):(u=Fe(c),u.c(),$(u,1),u.m(f.parentNode,f)):u&&(z(),p(u,1,1,()=>{u=null}),C())},i(c){a||($(l.$$.fragment,c),$(u),a=!0)},o(c){p(l.$$.fragment,c),p(u),a=!1},d(c){c&&(g(e),g(o),g(f)),h(l),u&&u.d(c)}}}function en(i){let e,r,t;return e=new ve({props:{$$slots:{default:[xt]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment),r=N()},l(n){w(e.$$.fragment,n),r=T(n)},m(n,s){b(e,n,s),d(n,r,s),t=!0},p(n,s){const l={};s&17&&(l.$$scope={dirty:s,ctx:n}),e.$set(l)},i(n){t||($(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){n&&g(r),h(e,n)}}}function Le(i){let e,r;return e=new ke({props:{$$slots:{default:[en]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&17&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function tn(i){let e,r,t=K(i[0].getValues()),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"type"in n&&r(0,t=n.type)},[t]}class sn extends H{constructor(e){super(),Y(this,e,ln,rn,q,{type:0})}}function Oe(i,e,r){const t=i.slice();return t[2]=e[r],t}function je(i){let e,r=i[2].description+"",t;return{c(){e=V("p"),t=P(r)},l(n){e=U(n,"P",{});var s=O(e);t=B(s,r),s.forEach(g)},m(n,s){d(n,e,s),A(e,t)},p(n,s){s&1&&r!==(r=n[2].description+"")&&G(t,r)},d(n){n&&g(e)}}}function Me(i){let e,r,t;return r=new zt({props:{value:i[2].default}}),{c(){e=P("Default: "),k(r.$$.fragment)},l(n){e=B(n,"Default: "),w(r.$$.fragment,n)},m(n,s){d(n,e,s),b(r,n,s),t=!0},p(n,s){const l={};s&1&&(l.value=n[2].default),r.$set(l)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&g(e),h(r,n)}}}function fn(i){let e,r,t=i[2].name+"",n,s,l,o,f,a,u,c,m,_,v;l=new vt({props:{type:i[2].type}}),f=new ye({props:{reason:i[2].deprecationReason}}),u=new yt({props:{type:i[2].type}});let y=i[2].description&&je(i),D=i[2].default&&Me(i);return{c(){e=V("p"),r=V("span"),n=P(t),s=N(),k(l.$$.fragment),o=N(),k(f.$$.fragment),a=N(),k(u.$$.fragment),c=N(),y&&y.c(),m=N(),D&&D.c(),_=j(),this.h()},l(I){e=U(I,"P",{});var E=O(e);r=U(E,"SPAN",{style:!0});var S=O(r);n=B(S,t),S.forEach(g),s=T(E),w(l.$$.fragment,E),o=T(E),w(f.$$.fragment,E),a=T(E),w(u.$$.fragment,E),E.forEach(g),c=T(I),y&&y.l(I),m=T(I),D&&D.l(I),_=j(),this.h()},h(){me(r,"font-weight","bold")},m(I,E){d(I,e,E),A(e,r),A(r,n),A(e,s),b(l,e,null),A(e,o),b(f,e,null),A(e,a),b(u,e,null),d(I,c,E),y&&y.m(I,E),d(I,m,E),D&&D.m(I,E),d(I,_,E),v=!0},p(I,E){(!v||E&1)&&t!==(t=I[2].name+"")&&G(n,t);const S={};E&1&&(S.type=I[2].type),l.$set(S);const F={};E&1&&(F.reason=I[2].deprecationReason),f.$set(F);const Q={};E&1&&(Q.type=I[2].type),u.$set(Q),I[2].description?y?y.p(I,E):(y=je(I),y.c(),y.m(m.parentNode,m)):y&&(y.d(1),y=null),I[2].default?D?(D.p(I,E),E&1&&$(D,1)):(D=Me(I),D.c(),$(D,1),D.m(_.parentNode,_)):D&&(z(),p(D,1,1,()=>{D=null}),C())},i(I){v||($(l.$$.fragment,I),$(f.$$.fragment,I),$(u.$$.fragment,I),$(D),v=!0)},o(I){p(l.$$.fragment,I),p(f.$$.fragment,I),p(u.$$.fragment,I),p(D),v=!1},d(I){I&&(g(e),g(c),g(m),g(_)),h(l),h(f),h(u),y&&y.d(I),D&&D.d(I)}}}function an(i){let e,r,t;return e=new ve({props:{$$slots:{default:[fn]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment),r=N()},l(n){w(e.$$.fragment,n),r=T(n)},m(n,s){b(e,n,s),d(n,r,s),t=!0},p(n,s){const l={};s&33&&(l.$$scope={dirty:s,ctx:n}),e.$set(l)},i(n){t||($(e.$$.fragment,n),t=!0)},o(n){p(e.$$.fragment,n),t=!1},d(n){n&&g(r),h(e,n)}}}function ze(i){let e,r;return e=new ke({props:{$$slots:{default:[an]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&33&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function on(i){let e,r,t=K(i[0]),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in s&&r(1,n=s.data)},i.$$.update=()=>{i.$$.dirty&2&&r(0,t=se.sortBy(n.map(s=>({id:s.name,deprecationReason:s.deprecationReason,name:s.name,type:s.type,description:s.description,default:s.defaultValue})),s=>s.name)||[])},[t,n]}class pn extends H{constructor(e){super(),Y(this,e,cn,$n,q,{data:1})}}function mn(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=N(),k(n.$$.fragment),s=N(),k(l.$$.fragment)},l(a){r=B(a,e),t=T(a),w(n.$$.fragment,a),s=T(a),w(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),b(n,a,u),d(a,s,u),b(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&G(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),h(n,a),h(l,a)}}}function Ce(i){let e,r,t,n;return e=new J({props:{id:"fields",depth:2,$$slots:{default:[gn]},$$scope:{ctx:i}}}),t=new pn({props:{data:se.map(i[0].getFields(),Ue)}}),{c(){k(e.$$.fragment),r=N(),k(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=T(s),w(t.$$.fragment,s)},m(s,l){b(e,s,l),d(s,r,l),b(t,s,l),n=!0},p(s,l){const o={};l&2&&(o.$$scope={dirty:l,ctx:s}),e.$set(o);const f={};l&1&&(f.data=se.map(s[0].getFields(),Ue)),t.$set(f)},i(s){n||($(e.$$.fragment,s),$(t.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),p(t.$$.fragment,s),n=!1},d(s){s&&g(r),h(e,s),h(t,s)}}}function gn(i){let e;return{c(){e=P("Fields")},l(r){e=B(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function _n(i){let e,r,t,n,s,l=Object.keys(i[0].getFields()).length>0,o;r=new J({props:{id:"title",depth:1,$$slots:{default:[mn]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}});let f=l&&Ce(i);return{c(){e=V("section"),k(r.$$.fragment),t=N(),k(n.$$.fragment),s=N(),f&&f.c()},l(a){e=U(a,"SECTION",{});var u=O(e);w(r.$$.fragment,u),t=T(u),w(n.$$.fragment,u),s=T(u),f&&f.l(u),u.forEach(g)},m(a,u){d(a,e,u),b(r,e,null),A(e,t),b(n,e,null),A(e,s),f&&f.m(e,null),o=!0},p(a,[u]){const c={};u&3&&(c.$$scope={dirty:u,ctx:a}),r.$set(c);const m={};u&1&&(m.source=a[0].description),n.$set(m),u&1&&(l=Object.keys(a[0].getFields()).length>0),l?f?(f.p(a,u),u&1&&$(f,1)):(f=Ce(a),f.c(),$(f,1),f.m(e,null)):f&&(z(),p(f,1,1,()=>{f=null}),C())},i(a){o||($(r.$$.fragment,a),$(n.$$.fragment,a),$(f),o=!0)},o(a){p(r.$$.fragment,a),p(n.$$.fragment,a),p(f),o=!1},d(a){a&&g(e),h(r),h(n),f&&f.d()}}}const Ue=i=>i;function dn(i,e,r){let{type:t}=e;return i.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class hn extends H{constructor(e){super(),Y(this,e,dn,_n,q,{type:0})}}function bn(i){let e=(i[0]?i[2]:i[3])+` (${i[1]})`,r;return{c(){r=P(e)},l(t){r=B(t,e)},m(t,n){d(t,r,n)},p(t,n){n&15&&e!==(e=(t[0]?t[2]:t[3])+` (${t[1]})`)&&G(r,e)},d(t){t&&g(r)}}}function wn(i){let e,r,t;return r=new Ut({props:{kind:"ghost",size:"small",style:"border-radius: 20px",icon:i[0]?De:Be,$$slots:{default:[bn]},$$scope:{ctx:i}}}),r.$on("click",i[4]),{c(){e=V("div"),k(r.$$.fragment),this.h()},l(n){e=U(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(g),this.h()},h(){oe(e,"class","button-wrapper svelte-8qz4j")},m(n,s){d(n,e,s),b(r,e,null),t=!0},p(n,[s]){const l={};s&1&&(l.icon=n[0]?De:Be),s&47&&(l.$$scope={dirty:s,ctx:n}),r.$set(l)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&g(e),h(r)}}}function kn(i,e,r){let{totalItems:t}=e,{expandedText:n}=e,{collapsedText:s}=e,{expanded:l=!1}=e;const o=()=>r(0,l=!l);return i.$$set=f=>{"totalItems"in f&&r(1,t=f.totalItems),"expandedText"in f&&r(2,n=f.expandedText),"collapsedText"in f&&r(3,s=f.collapsedText),"expanded"in f&&r(0,l=f.expanded)},[l,t,n,s,o]}class Tt extends H{constructor(e){super(),Y(this,e,kn,wn,q,{totalItems:1,expandedText:2,collapsedText:3,expanded:0})}}function vn(i){let e,r,t=i[0].from.name+"",n,s,l,o;return l=new W({props:{source:i[0].description}}),{c(){e=P("By "),r=V("em"),n=P(t),s=N(),k(l.$$.fragment)},l(f){e=B(f,"By "),r=U(f,"EM",{});var a=O(r);n=B(a,t),a.forEach(g),s=T(f),w(l.$$.fragment,f)},m(f,a){d(f,e,a),d(f,r,a),A(r,n),d(f,s,a),b(l,f,a),o=!0},p(f,[a]){(!o||a&1)&&t!==(t=f[0].from.name+"")&&G(n,t);const u={};a&1&&(u.source=f[0].description),l.$set(u)},i(f){o||($(l.$$.fragment,f),o=!0)},o(f){p(l.$$.fragment,f),o=!1},d(f){f&&(g(e),g(r),g(s)),h(l,f)}}}function yn(i,e,r){let{item:t}=e;return i.$$set=n=>{"item"in n&&r(0,t=n.item)},[t]}class Tn extends H{constructor(e){super(),Y(this,e,yn,vn,q,{item:0})}}function Ve(i,e,r){const t=i.slice();return t[3]=e[r],t}function Nn(i){let e,r,t=K(i[0].possibleDescriptions),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lkt(r,"expanded",l)),{c(){s&&s.c(),e=N(),k(r.$$.fragment)},l(f){s&&s.l(f),e=T(f),w(r.$$.fragment,f)},m(f,a){s&&s.m(f,a),d(f,e,a),b(r,f,a),n=!0},p(f,a){f[1]?s?(s.p(f,a),a&2&&$(s,1)):(s=Ye(f),s.c(),$(s,1),s.m(e.parentNode,e)):s&&(z(),p(s,1,1,()=>{s=null}),C());const u={};a&1&&(u.totalItems=f[0].field.args.length),!t&&a&2&&(t=!0,u.expanded=f[1],wt(()=>t=!1)),r.$set(u)},i(f){n||($(s),$(r.$$.fragment,f),n=!0)},o(f){p(s),p(r.$$.fragment,f),n=!1},d(f){f&&g(e),s&&s.d(f),h(r,f)}}}function Ye(i){let e,r,t;return r=new Ct({props:{data:i[0].field.args}}),{c(){e=V("div"),k(r.$$.fragment),this.h()},l(n){e=U(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(g),this.h()},h(){oe(e,"class","arguments-list-wrapper svelte-1di407r")},m(n,s){d(n,e,s),b(r,e,null),t=!0},p(n,s){const l={};s&1&&(l.data=n[0].field.args),r.$set(l)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&g(e),h(r)}}}function In(i){var Te;let e,r,t=i[0].field.name+"",n,s,l,o,f,a,u,c,m,_,v,y,D,I,E;l=new vt({props:{type:i[0].field.type}}),f=new ye({props:{reason:i[0].field.deprecationReason}}),u=new yt({props:{type:i[0].field.type}}),m=new Z({props:{directives:(Te=i[0].field.astNode)==null?void 0:Te.directives}});const S=[En,Nn],F=[];function Q(R,L){return R[0].possibleDescriptions.length===1?0:R[0].possibleDescriptions.length>1?1:-1}~(v=Q(i))&&(y=F[v]=S[v](i));let M=i[0].field.args.length>0&&He(i);return{c(){e=V("p"),r=V("span"),n=P(t),s=N(),k(l.$$.fragment),o=N(),k(f.$$.fragment),a=N(),k(u.$$.fragment),c=N(),k(m.$$.fragment),_=N(),y&&y.c(),D=N(),M&&M.c(),I=j(),this.h()},l(R){e=U(R,"P",{});var L=O(e);r=U(L,"SPAN",{style:!0});var re=O(r);n=B(re,t),re.forEach(g),s=T(L),w(l.$$.fragment,L),o=T(L),w(f.$$.fragment,L),a=T(L),w(u.$$.fragment,L),c=T(L),w(m.$$.fragment,L),L.forEach(g),_=T(R),y&&y.l(R),D=T(R),M&&M.l(R),I=j(),this.h()},h(){me(r,"font-weight","bold")},m(R,L){d(R,e,L),A(e,r),A(r,n),A(e,s),b(l,e,null),A(e,o),b(f,e,null),A(e,a),b(u,e,null),A(e,c),b(m,e,null),d(R,_,L),~v&&F[v].m(R,L),d(R,D,L),M&&M.m(R,L),d(R,I,L),E=!0},p(R,L){var Se;(!E||L&1)&&t!==(t=R[0].field.name+"")&&G(n,t);const re={};L&1&&(re.type=R[0].field.type),l.$set(re);const Ne={};L&1&&(Ne.reason=R[0].field.deprecationReason),f.$set(Ne);const Ee={};L&1&&(Ee.type=R[0].field.type),u.$set(Ee);const Ie={};L&1&&(Ie.directives=(Se=R[0].field.astNode)==null?void 0:Se.directives),m.$set(Ie);let ce=v;v=Q(R),v===ce?~v&&F[v].p(R,L):(y&&(z(),p(F[ce],1,1,()=>{F[ce]=null}),C()),~v?(y=F[v],y?y.p(R,L):(y=F[v]=S[v](R),y.c()),$(y,1),y.m(D.parentNode,D)):y=null),R[0].field.args.length>0?M?(M.p(R,L),L&1&&$(M,1)):(M=He(R),M.c(),$(M,1),M.m(I.parentNode,I)):M&&(z(),p(M,1,1,()=>{M=null}),C())},i(R){E||($(l.$$.fragment,R),$(f.$$.fragment,R),$(u.$$.fragment,R),$(m.$$.fragment,R),$(y),$(M),E=!0)},o(R){p(l.$$.fragment,R),p(f.$$.fragment,R),p(u.$$.fragment,R),p(m.$$.fragment,R),p(y),p(M),E=!1},d(R){R&&(g(e),g(_),g(D),g(I)),h(l),h(f),h(u),h(m),~v&&F[v].d(R),M&&M.d(R)}}}function Sn(i){let e,r;return e=new ve({props:{$$slots:{default:[In]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&67&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function An(i){let e,r;return e=new ke({props:{$$slots:{default:[Sn]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const s={};n&67&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Bn(i,e,r){let{item:t}=e,n=!1;function s(l){n=l,r(1,n)}return i.$$set=l=>{"item"in l&&r(0,t=l.item)},[t,n,s]}class Pn extends H{constructor(e){super(),Y(this,e,Bn,An,q,{item:0})}}function Ge(i,e,r){const t=i.slice();return t[3]=e[r],t}function Je(i){let e,r;return e=new Pn({props:{item:i[3]}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.item=t[3]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Dn(i){let e,r,t=K(i[0]),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in l&&r(1,t=l.data)},i.$$.update=()=>{i.$$.dirty&2&&(n==="alphabetical"?r(0,s=se.sortBy(t,l=>l.field.name)):r(0,s=t))},[s,t]}class Nt extends H{constructor(e){super(),Y(this,e,Ln,Fn,q,{data:1})}}function Ke(i,e,r){const t=i.slice();return t[1]=e[r],t[3]=r,t}function Qe(i){let e=", ",r;return{c(){r=P(e)},l(t){r=B(t,e)},m(t,n){d(t,r,n)},d(t){t&&g(r)}}}function We(i){let e,r,t;e=new ue({props:{type:i[1]}});let n=i[3]!==i[0].length-1&&Qe();return{c(){k(e.$$.fragment),n&&n.c(),r=j()},l(s){w(e.$$.fragment,s),n&&n.l(s),r=j()},m(s,l){b(e,s,l),n&&n.m(s,l),d(s,r,l),t=!0},p(s,l){const o={};l&1&&(o.type=s[1]),e.$set(o),s[3]!==s[0].length-1?n||(n=Qe(),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i(s){t||($(e.$$.fragment,s),t=!0)},o(s){p(e.$$.fragment,s),t=!1},d(s){s&&g(r),h(e,s),n&&n.d(s)}}}function On(i){let e,r,t=K(i[0]),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"types"in n&&r(0,t=n.types)},[t]}class $e extends H{constructor(e){super(),Y(this,e,jn,On,q,{types:0})}}function Mn(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=N(),k(n.$$.fragment),s=N(),k(l.$$.fragment)},l(a){r=B(a,e),t=T(a),w(n.$$.fragment,a),s=T(a),w(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),b(n,a,u),d(a,s,u),b(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&G(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),h(n,a),h(l,a)}}}function Xe(i){let e,r,t,n;return e=new J({props:{id:"fields",depth:2,$$slots:{default:[zn]},$$scope:{ctx:i}}}),t=new Nt({props:{data:i[2]}}),{c(){k(e.$$.fragment),r=N(),k(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=T(s),w(t.$$.fragment,s)},m(s,l){b(e,s,l),d(s,r,l),b(t,s,l),n=!0},p(s,l){const o={};l&8&&(o.$$scope={dirty:l,ctx:s}),e.$set(o);const f={};l&4&&(f.data=s[2]),t.$set(f)},i(s){n||($(e.$$.fragment,s),$(t.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),p(t.$$.fragment,s),n=!1},d(s){s&&g(r),h(e,s),h(t,s)}}}function zn(i){let e;return{c(){e=P("Fields")},l(r){e=B(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function Ze(i){let e,r,t,n,s;return e=new J({props:{id:"implementations",depth:2,$$slots:{default:[Cn]},$$scope:{ctx:i}}}),t=new $e({props:{types:i[1]}}),{c(){k(e.$$.fragment),r=P(` - Implemented by `),k(t.$$.fragment),n=P(".")},l(l){w(e.$$.fragment,l),r=B(l,` - Implemented by `),w(t.$$.fragment,l),n=B(l,".")},m(l,o){b(e,l,o),d(l,r,o),b(t,l,o),d(l,n,o),s=!0},p(l,o){const f={};o&8&&(f.$$scope={dirty:o,ctx:l}),e.$set(f);const a={};o&2&&(a.types=l[1]),t.$set(a)},i(l){s||($(e.$$.fragment,l),$(t.$$.fragment,l),s=!0)},o(l){p(e.$$.fragment,l),p(t.$$.fragment,l),s=!1},d(l){l&&(g(r),g(n)),h(e,l),h(t,l)}}}function Cn(i){let e;return{c(){e=P("Implementations")},l(r){e=B(r,"Implementations")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function xe(i){let e,r,t,n,s,l,o;return e=new J({props:{id:"interfaces",depth:2,$$slots:{default:[Un]},$$scope:{ctx:i}}}),s=new $e({props:{types:i[0].getInterfaces()}}),{c(){k(e.$$.fragment),r=N(),t=V("p"),n=P("Also implements "),k(s.$$.fragment),l=P(".")},l(f){w(e.$$.fragment,f),r=T(f),t=U(f,"P",{});var a=O(t);n=B(a,"Also implements "),w(s.$$.fragment,a),l=B(a,"."),a.forEach(g)},m(f,a){b(e,f,a),d(f,r,a),d(f,t,a),A(t,n),b(s,t,null),A(t,l),o=!0},p(f,a){const u={};a&8&&(u.$$scope={dirty:a,ctx:f}),e.$set(u);const c={};a&1&&(c.types=f[0].getInterfaces()),s.$set(c)},i(f){o||($(e.$$.fragment,f),$(s.$$.fragment,f),o=!0)},o(f){p(e.$$.fragment,f),p(s.$$.fragment,f),o=!1},d(f){f&&(g(r),g(t)),h(e,f),h(s)}}}function Un(i){let e;return{c(){e=P("Interfaces")},l(r){e=B(r,"Interfaces")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function Vn(i){let e,r,t,n,s,l=Object.keys(i[0].getFields()).length>0,o,f,a=i[0].getInterfaces().length>0,u;r=new J({props:{id:"title",depth:1,$$slots:{default:[Mn]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}});let c=l&&Xe(i),m=i[1].length>0&&Ze(i),_=a&&xe(i);return{c(){e=V("section"),k(r.$$.fragment),t=N(),k(n.$$.fragment),s=N(),c&&c.c(),o=N(),m&&m.c(),f=N(),_&&_.c()},l(v){e=U(v,"SECTION",{});var y=O(e);w(r.$$.fragment,y),t=T(y),w(n.$$.fragment,y),s=T(y),c&&c.l(y),o=T(y),m&&m.l(y),f=T(y),_&&_.l(y),y.forEach(g)},m(v,y){d(v,e,y),b(r,e,null),A(e,t),b(n,e,null),A(e,s),c&&c.m(e,null),A(e,o),m&&m.m(e,null),A(e,f),_&&_.m(e,null),u=!0},p(v,[y]){const D={};y&9&&(D.$$scope={dirty:y,ctx:v}),r.$set(D);const I={};y&1&&(I.source=v[0].description),n.$set(I),y&1&&(l=Object.keys(v[0].getFields()).length>0),l?c?(c.p(v,y),y&1&&$(c,1)):(c=Xe(v),c.c(),$(c,1),c.m(e,o)):c&&(z(),p(c,1,1,()=>{c=null}),C()),v[1].length>0?m?(m.p(v,y),y&2&&$(m,1)):(m=Ze(v),m.c(),$(m,1),m.m(e,f)):m&&(z(),p(m,1,1,()=>{m=null}),C()),y&1&&(a=v[0].getInterfaces().length>0),a?_?(_.p(v,y),y&1&&$(_,1)):(_=xe(v),_.c(),$(_,1),_.m(e,null)):_&&(z(),p(_,1,1,()=>{_=null}),C())},i(v){u||($(r.$$.fragment,v),$(n.$$.fragment,v),$(c),$(m),$(_),u=!0)},o(v){p(r.$$.fragment,v),p(n.$$.fragment,v),p(c),p(m),p(_),u=!1},d(v){v&&g(e),h(r),h(n),c&&c.d(),m&&m.d(),_&&_.d()}}}function qn(i,e,r){let{type:t}=e,n,s;return i.$$set=l=>{"type"in l&&r(0,t=l.type)},i.$$.update=()=>{i.$$.dirty&1&&r(1,n=Dt.getPossibleTypes(t)),i.$$.dirty&1&&r(2,s=ht(t))},[t,n,s]}class Hn extends H{constructor(e){super(),Y(this,e,qn,Vn,q,{type:0})}}function Yn(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=N(),k(n.$$.fragment),s=N(),k(l.$$.fragment)},l(a){r=B(a,e),t=T(a),w(n.$$.fragment,a),s=T(a),w(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),b(n,a,u),d(a,s,u),b(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&G(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),h(n,a),h(l,a)}}}function et(i){let e,r,t,n;return e=new J({props:{id:"fields",depth:2,$$slots:{default:[Gn]},$$scope:{ctx:i}}}),t=new Nt({props:{data:i[1]}}),{c(){k(e.$$.fragment),r=N(),k(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=T(s),w(t.$$.fragment,s)},m(s,l){b(e,s,l),d(s,r,l),b(t,s,l),n=!0},p(s,l){const o={};l&4&&(o.$$scope={dirty:l,ctx:s}),e.$set(o);const f={};l&2&&(f.data=s[1]),t.$set(f)},i(s){n||($(e.$$.fragment,s),$(t.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),p(t.$$.fragment,s),n=!1},d(s){s&&g(r),h(e,s),h(t,s)}}}function Gn(i){let e;return{c(){e=P("Fields")},l(r){e=B(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function tt(i){let e,r,t,n,s,l,o;return e=new J({props:{id:"interfaces",depth:2,$$slots:{default:[Jn]},$$scope:{ctx:i}}}),s=new $e({props:{types:i[0].getInterfaces()}}),{c(){k(e.$$.fragment),r=N(),t=V("p"),n=P("Also implements "),k(s.$$.fragment),l=P(".")},l(f){w(e.$$.fragment,f),r=T(f),t=U(f,"P",{});var a=O(t);n=B(a,"Also implements "),w(s.$$.fragment,a),l=B(a,"."),a.forEach(g)},m(f,a){b(e,f,a),d(f,r,a),d(f,t,a),A(t,n),b(s,t,null),A(t,l),o=!0},p(f,a){const u={};a&4&&(u.$$scope={dirty:a,ctx:f}),e.$set(u);const c={};a&1&&(c.types=f[0].getInterfaces()),s.$set(c)},i(f){o||($(e.$$.fragment,f),$(s.$$.fragment,f),o=!0)},o(f){p(e.$$.fragment,f),p(s.$$.fragment,f),o=!1},d(f){f&&(g(r),g(t)),h(e,f),h(s)}}}function Jn(i){let e;return{c(){e=P("Interfaces")},l(r){e=B(r,"Interfaces")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function Kn(i){let e,r,t,n,s,l,o=i[0].getInterfaces().length>0,f;r=new J({props:{id:"title",depth:1,$$slots:{default:[Yn]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}});let a=i[1].length>0&&et(i),u=o&&tt(i);return{c(){e=V("section"),k(r.$$.fragment),t=N(),k(n.$$.fragment),s=N(),a&&a.c(),l=N(),u&&u.c()},l(c){e=U(c,"SECTION",{});var m=O(e);w(r.$$.fragment,m),t=T(m),w(n.$$.fragment,m),s=T(m),a&&a.l(m),l=T(m),u&&u.l(m),m.forEach(g)},m(c,m){d(c,e,m),b(r,e,null),A(e,t),b(n,e,null),A(e,s),a&&a.m(e,null),A(e,l),u&&u.m(e,null),f=!0},p(c,[m]){const _={};m&5&&(_.$$scope={dirty:m,ctx:c}),r.$set(_);const v={};m&1&&(v.source=c[0].description),n.$set(v),c[1].length>0?a?(a.p(c,m),m&2&&$(a,1)):(a=et(c),a.c(),$(a,1),a.m(e,l)):a&&(z(),p(a,1,1,()=>{a=null}),C()),m&1&&(o=c[0].getInterfaces().length>0),o?u?(u.p(c,m),m&1&&$(u,1)):(u=tt(c),u.c(),$(u,1),u.m(e,null)):u&&(z(),p(u,1,1,()=>{u=null}),C())},i(c){f||($(r.$$.fragment,c),$(n.$$.fragment,c),$(a),$(u),f=!0)},o(c){p(r.$$.fragment,c),p(n.$$.fragment,c),p(a),p(u),f=!1},d(c){c&&g(e),h(r),h(n),a&&a.d(),u&&u.d()}}}function Qn(i,e,r){let{type:t}=e,n;return i.$$set=s=>{"type"in s&&r(0,t=s.type)},i.$$.update=()=>{i.$$.dirty&1&&r(1,n=ht(t))},[t,n]}class Wn extends H{constructor(e){super(),Y(this,e,Qn,Kn,q,{type:0})}}function Xn(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=N(),k(n.$$.fragment),s=N(),k(l.$$.fragment)},l(a){r=B(a,e),t=T(a),w(n.$$.fragment,a),s=T(a),w(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),b(n,a,u),d(a,s,u),b(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&G(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),h(n,a),h(l,a)}}}function Zn(i){let e,r,t,n,s;return r=new J({props:{id:"title",depth:1,$$slots:{default:[Xn]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}}),{c(){e=V("section"),k(r.$$.fragment),t=N(),k(n.$$.fragment)},l(l){e=U(l,"SECTION",{});var o=O(e);w(r.$$.fragment,o),t=T(o),w(n.$$.fragment,o),o.forEach(g)},m(l,o){d(l,e,o),b(r,e,null),A(e,t),b(n,e,null),s=!0},p(l,[o]){const f={};o&3&&(f.$$scope={dirty:o,ctx:l}),r.$set(f);const a={};o&1&&(a.source=l[0].description),n.$set(a)},i(l){s||($(r.$$.fragment,l),$(n.$$.fragment,l),s=!0)},o(l){p(r.$$.fragment,l),p(n.$$.fragment,l),s=!1},d(l){l&&g(e),h(r),h(n)}}}function xn(i,e,r){let{type:t}=e;return i.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class er extends H{constructor(e){super(),Y(this,e,xn,Zn,q,{type:0})}}function tr(i){var f;let e=i[0].name+"",r,t,n,s,l,o;return n=new ne({props:{type:i[0]}}),l=new Z({props:{directives:(f=i[0].astNode)==null?void 0:f.directives}}),{c(){r=P(e),t=N(),k(n.$$.fragment),s=N(),k(l.$$.fragment)},l(a){r=B(a,e),t=T(a),w(n.$$.fragment,a),s=T(a),w(l.$$.fragment,a)},m(a,u){d(a,r,u),d(a,t,u),b(n,a,u),d(a,s,u),b(l,a,u),o=!0},p(a,u){var _;(!o||u&1)&&e!==(e=a[0].name+"")&&G(r,e);const c={};u&1&&(c.type=a[0]),n.$set(c);const m={};u&1&&(m.directives=(_=a[0].astNode)==null?void 0:_.directives),l.$set(m)},i(a){o||($(n.$$.fragment,a),$(l.$$.fragment,a),o=!0)},o(a){p(n.$$.fragment,a),p(l.$$.fragment,a),o=!1},d(a){a&&(g(r),g(t),g(s)),h(n,a),h(l,a)}}}function nr(i){let e;return{c(){e=P("Types")},l(r){e=B(r,"Types")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function rr(i){let e,r,t,n,s,l,o,f,a,u,c,m;return r=new J({props:{id:"title",depth:1,$$slots:{default:[tr]},$$scope:{ctx:i}}}),n=new W({props:{source:i[0].description}}),l=new J({props:{id:"types",depth:2,$$slots:{default:[nr]},$$scope:{ctx:i}}}),u=new $e({props:{types:i[0].getTypes()}}),{c(){e=V("section"),k(r.$$.fragment),t=N(),k(n.$$.fragment),s=N(),k(l.$$.fragment),o=N(),f=V("p"),a=P("Union of types "),k(u.$$.fragment),c=P(".")},l(_){e=U(_,"SECTION",{});var v=O(e);w(r.$$.fragment,v),t=T(v),w(n.$$.fragment,v),s=T(v),w(l.$$.fragment,v),o=T(v),f=U(v,"P",{});var y=O(f);a=B(y,"Union of types "),w(u.$$.fragment,y),c=B(y,"."),y.forEach(g),v.forEach(g)},m(_,v){d(_,e,v),b(r,e,null),A(e,t),b(n,e,null),A(e,s),b(l,e,null),A(e,o),A(e,f),A(f,a),b(u,f,null),A(f,c),m=!0},p(_,[v]){const y={};v&3&&(y.$$scope={dirty:v,ctx:_}),r.$set(y);const D={};v&1&&(D.source=_[0].description),n.$set(D);const I={};v&2&&(I.$$scope={dirty:v,ctx:_}),l.$set(I);const E={};v&1&&(E.types=_[0].getTypes()),u.$set(E)},i(_){m||($(r.$$.fragment,_),$(n.$$.fragment,_),$(l.$$.fragment,_),$(u.$$.fragment,_),m=!0)},o(_){p(r.$$.fragment,_),p(n.$$.fragment,_),p(l.$$.fragment,_),p(u.$$.fragment,_),m=!1},d(_){_&&g(e),h(r),h(n),h(l),h(u)}}}function lr(i,e,r){let{type:t}=e;return i.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class sr extends H{constructor(e){super(),Y(this,e,lr,rr,q,{type:0})}}function fr(i){let e;const r=i[0].default,t=ge(r,i,i[1],null);return{c(){t&&t.c()},l(n){t&&t.l(n)},m(n,s){t&&t.m(n,s),e=!0},p(n,s){t&&t.p&&(!e||s&2)&&_e(t,r,n,n[1],e?he(r,n[1],s,null):de(n[1]),null)},i(n){e||($(t,n),e=!0)},o(n){p(t,n),e=!1},d(n){t&&t.d(n)}}}function ir(i){let e,r;return e=new Ot({props:{class:"markdown-list-item",$$slots:{default:[fr]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,[n]){const s={};n&2&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function ar(i,e,r){let{$$slots:t={},$$scope:n}=e;return i.$$set=s=>{"$$scope"in s&&r(1,n=s.$$scope)},[t,n]}class or extends H{constructor(e){super(),Y(this,e,ar,ir,q,{})}}function nt(i,e,r){const t=i.slice();return t[5]=e[r],t[7]=r,t}const ur=i=>({}),rt=i=>({index:i[7]});function lt(i,e,r){const t=i.slice();return t[5]=e[r],t[7]=r,t}const $r=i=>({}),st=i=>({index:i[7]});function cr(i){let e,r,t=K(i[0].slice(0,3)),n=[];for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lp(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lkt(e,"expanded",n)),{c(){k(e.$$.fragment)},l(l){w(e.$$.fragment,l)},m(l,o){b(e,l,o),t=!0},p(l,o){const f={};o&1&&(f.totalItems=l[0].length),!r&&o&2&&(r=!0,f.expanded=l[1],wt(()=>r=!1)),e.$set(f)},i(l){t||($(e.$$.fragment,l),t=!0)},o(l){p(e.$$.fragment,l),t=!1},d(l){h(e,l)}}}function mr(i){let e,r,t,n,s;const l=[pr,cr],o=[];function f(u,c){return u[1]?0:1}e=f(i),r=o[e]=l[e](i);let a=i[0].length>3&&at(i);return{c(){r.c(),t=N(),a&&a.c(),n=j()},l(u){r.l(u),t=T(u),a&&a.l(u),n=j()},m(u,c){o[e].m(u,c),d(u,t,c),a&&a.m(u,c),d(u,n,c),s=!0},p(u,[c]){let m=e;e=f(u),e===m?o[e].p(u,c):(z(),p(o[m],1,1,()=>{o[m]=null}),C(),r=o[e],r?r.p(u,c):(r=o[e]=l[e](u),r.c()),$(r,1),r.m(t.parentNode,t)),u[0].length>3?a?(a.p(u,c),c&1&&$(a,1)):(a=at(u),a.c(),$(a,1),a.m(n.parentNode,n)):a&&(z(),p(a,1,1,()=>{a=null}),C())},i(u){s||($(r),$(a),s=!0)},o(u){p(r),p(a),s=!1},d(u){u&&(g(t),g(n)),o[e].d(u),a&&a.d(u)}}}function gr(i,e,r){let{$$slots:t={},$$scope:n}=e,{items:s}=e,l=!1;function o(f){l=f,r(1,l)}return i.$$set=f=>{"items"in f&&r(0,s=f.items),"$$scope"in f&&r(2,n=f.$$scope)},[s,l,n,t,o]}class _r extends H{constructor(e){super(),Y(this,e,gr,mr,q,{items:0})}}function ot(i){const e=i[0].references[i[1]];i[2]=e}function dr(i){let e;return{c(){e=P("Usages")},l(r){e=B(r,"Usages")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function hr(i){let e;return{c(){e=P("References")},l(r){e=B(r,"References")},m(r,t){d(r,e,t)},d(r){r&&g(e)}}}function br(i){let e,r,t=i[2].by.name+"",n,s,l,o=i[2].field.name+"",f,a,u,c;return u=new ue({props:{type:i[2].type}}),{c(){e=P("Argument "),r=V("em"),n=P(t),s=P(" of field "),l=V("em"),f=P(o),a=P(` - from type `),k(u.$$.fragment)},l(m){e=B(m,"Argument "),r=U(m,"EM",{});var _=O(r);n=B(_,t),_.forEach(g),s=B(m," of field "),l=U(m,"EM",{});var v=O(l);f=B(v,o),v.forEach(g),a=B(m,` - from type `),w(u.$$.fragment,m)},m(m,_){d(m,e,_),d(m,r,_),A(r,n),d(m,s,_),d(m,l,_),A(l,f),d(m,a,_),b(u,m,_),c=!0},p(m,_){(!c||_&3)&&t!==(t=m[2].by.name+"")&&G(n,t),(!c||_&3)&&o!==(o=m[2].field.name+"")&&G(f,o);const v={};_&3&&(v.type=m[2].type),u.$set(v)},i(m){c||($(u.$$.fragment,m),c=!0)},o(m){p(u.$$.fragment,m),c=!1},d(m){m&&(g(e),g(r),g(s),g(l),g(a)),h(u,m)}}}function wr(i){let e,r,t=i[2].by.name+"",n,s,l,o;return l=new ue({props:{type:i[2].parent}}),{c(){e=P("Field "),r=V("em"),n=P(t),s=P(" from "),k(l.$$.fragment)},l(f){e=B(f,"Field "),r=U(f,"EM",{});var a=O(r);n=B(a,t),a.forEach(g),s=B(f," from "),w(l.$$.fragment,f)},m(f,a){d(f,e,a),d(f,r,a),A(r,n),d(f,s,a),b(l,f,a),o=!0},p(f,a){(!o||a&3)&&t!==(t=f[2].by.name+"")&&G(n,t);const u={};a&3&&(u.type=f[2].parent),l.$set(u)},i(f){o||($(l.$$.fragment,f),o=!0)},o(f){p(l.$$.fragment,f),o=!1},d(f){f&&(g(e),g(r),g(s)),h(l,f)}}}function kr(i){let e,r,t;return r=new ue({props:{type:i[2].by}}),{c(){e=P("Part of union "),k(r.$$.fragment)},l(n){e=B(n,"Part of union "),w(r.$$.fragment,n)},m(n,s){d(n,e,s),b(r,n,s),t=!0},p(n,s){const l={};s&3&&(l.type=n[2].by),r.$set(l)},i(n){t||($(r.$$.fragment,n),t=!0)},o(n){p(r.$$.fragment,n),t=!1},d(n){n&&g(e),h(r,n)}}}function vr(i){let e,r,t,n;const s=[kr,wr,br],l=[];function o(f,a){return f[2].kind===pe.UNION&&f[2].by?0:f[2].kind===pe.FIELD?1:f[2].kind===pe.ARGUMENT?2:-1}return~(e=o(i))&&(r=l[e]=s[e](i)),{c(){r&&r.c(),t=j()},l(f){r&&r.l(f),t=j()},m(f,a){~e&&l[e].m(f,a),d(f,t,a),n=!0},p(f,a){let u=e;e=o(f),e===u?~e&&l[e].p(f,a):(r&&(z(),p(l[u],1,1,()=>{l[u]=null}),C()),~e?(r=l[e],r?r.p(f,a):(r=l[e]=s[e](f),r.c()),$(r,1),r.m(t.parentNode,t)):r=null)},i(f){n||($(r),n=!0)},o(f){p(r),n=!1},d(f){f&&g(t),~e&&l[e].d(f)}}}function yr(i){ot(i);let e,r;return e=new or({props:{$$slots:{default:[vr]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){ot(t);const s={};n&11&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Tr(i){let e,r;return e=new jt({props:{$$slots:{default:[yr]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&11&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Nr(i){let e,r,t,n,s,l;return e=new J({props:{id:"usages",depth:2,$$slots:{default:[dr]},$$scope:{ctx:i}}}),t=new J({props:{id:"references",depth:4,$$slots:{default:[hr]},$$scope:{ctx:i}}}),s=new _r({props:{items:i[0].references,$$slots:{default:[Tr,({index:o})=>({1:o}),({index:o})=>o?2:0]},$$scope:{ctx:i}}}),{c(){k(e.$$.fragment),r=N(),k(t.$$.fragment),n=N(),k(s.$$.fragment)},l(o){w(e.$$.fragment,o),r=T(o),w(t.$$.fragment,o),n=T(o),w(s.$$.fragment,o)},m(o,f){b(e,o,f),d(o,r,f),b(t,o,f),d(o,n,f),b(s,o,f),l=!0},p(o,[f]){const a={};f&8&&(a.$$scope={dirty:f,ctx:o}),e.$set(a);const u={};f&8&&(u.$$scope={dirty:f,ctx:o}),t.$set(u);const c={};f&1&&(c.items=o[0].references),f&11&&(c.$$scope={dirty:f,ctx:o}),s.$set(c)},i(o){l||($(e.$$.fragment,o),$(t.$$.fragment,o),$(s.$$.fragment,o),l=!0)},o(o){p(e.$$.fragment,o),p(t.$$.fragment,o),p(s.$$.fragment,o),l=!1},d(o){o&&(g(r),g(n)),h(e,o),h(t,o),h(s,o)}}}function Er(i,e,r){let{usages:t}=e;return i.$$set=n=>{"usages"in n&&r(0,t=n.usages)},[t]}class Ir extends H{constructor(e){super(),Y(this,e,Er,Nr,q,{usages:0})}}function Sr(i){let e,r;return e=new hn({props:{type:i[1]}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Ar(i){let e,r;return e=new Wn({props:{type:i[1]}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Br(i){let e,r;return e=new sr({props:{type:i[1]}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Pr(i){let e,r;return e=new Hn({props:{type:i[1]}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Dr(i){let e,r;return e=new sn({props:{type:i[1]}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Rr(i){let e,r;return e=new er({props:{type:i[1]}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&2&&(s.type=t[1]),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function ut(i){let e,r;return e=new Ir({props:{usages:i[0].usages}}),{c(){k(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){b(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.usages=t[0].usages),e.$set(s)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){p(e.$$.fragment,t),r=!1},d(t){h(e,t)}}}function Fr(i){let e,r,t,n,s,l,o,f,a,u,c,m,_,v;document.title=e="Type - "+i[1].name;const y=[Rr,Dr,Pr,Br,Ar,Sr],D=[];function I(S,F){return F&2&&(t=null),F&2&&(n=null),F&2&&(s=null),F&2&&(l=null),F&2&&(o=null),F&2&&(f=null),t==null&&(t=!!ct(S[1])),t?0:(n==null&&(n=!!pt(S[1])),n?1:(s==null&&(s=!!mt(S[1])),s?2:(l==null&&(l=!!gt(S[1])),l?3:(o==null&&(o=!!_t(S[1])),o?4:(f==null&&(f=!!dt(S[1])),f?5:-1)))))}~(a=I(i,-1))&&(u=D[a]=y[a](i));let E=i[0].usages&&ut(i);return _=new Mt({props:{page:i[0].page}}),{c(){r=N(),u&&u.c(),c=N(),E&&E.c(),m=N(),k(_.$$.fragment)},l(S){Ft("svelte-31uzcn",document.head).forEach(g),r=T(S),u&&u.l(S),c=T(S),E&&E.l(S),m=T(S),w(_.$$.fragment,S)},m(S,F){d(S,r,F),~a&&D[a].m(S,F),d(S,c,F),E&&E.m(S,F),d(S,m,F),b(_,S,F),v=!0},p(S,[F]){(!v||F&2)&&e!==(e="Type - "+S[1].name)&&(document.title=e);let Q=a;a=I(S,F),a===Q?~a&&D[a].p(S,F):(u&&(z(),p(D[Q],1,1,()=>{D[Q]=null}),C()),~a?(u=D[a],u?u.p(S,F):(u=D[a]=y[a](S),u.c()),$(u,1),u.m(c.parentNode,c)):u=null),S[0].usages?E?(E.p(S,F),F&1&&$(E,1)):(E=ut(S),E.c(),$(E,1),E.m(m.parentNode,m)):E&&(z(),p(E,1,1,()=>{E=null}),C());const M={};F&1&&(M.page=S[0].page),_.$set(M)},i(S){v||($(u),$(E),$(_.$$.fragment,S),v=!0)},o(S){p(u),p(E),p(_.$$.fragment,S),v=!1},d(S){S&&(g(r),g(c),g(m)),~a&&D[a].d(S),E&&E.d(S),h(_,S)}}}function Lr(i,e,r){let{data:t}=e,n;return i.$$set=s=>{"data"in s&&r(0,t=s.data)},i.$$.update=()=>{i.$$.dirty&1&&r(1,n=t.type)},[t,n]}class Yr extends H{constructor(e){super(),Y(this,e,Lr,Fr,q,{data:0})}}export{Yr as component,Hr as universal}; diff --git a/public/docs/_app/version.json b/public/docs/_app/version.json index 61fb54a..0209cdf 100644 --- a/public/docs/_app/version.json +++ b/public/docs/_app/version.json @@ -1 +1 @@ -{"version":"1731794395947"} \ No newline at end of file +{"version":"1736568877083"} \ No newline at end of file diff --git a/public/docs/code-quality/composer-tools-for-code-quality.html b/public/docs/code-quality/composer-tools-for-code-quality.html index 9b8ee3d..9cc8bbe 100644 --- a/public/docs/code-quality/composer-tools-for-code-quality.html +++ b/public/docs/code-quality/composer-tools-for-code-quality.html @@ -14,22 +14,22 @@ - - - - - - - - - - + + + + + + + + + + - - - - - Code Quality - Composer Tools for Code Quality + + + + + Code Quality - Composer Tools for Code Quality
    Magidoc

    Composer Tools for Code Quality

    To ensure code quality, run composer test to run the following:

    @@ -45,7 +45,7 @@