diff --git a/database/database.sqlite b/database/database.sqlite index 41eda52..84c5b56 100644 Binary files a/database/database.sqlite and b/database/database.sqlite differ diff --git a/public/docs/_app/immutable/chunks/ArgsList.Df6dyhFf.js b/public/docs/_app/immutable/chunks/ArgsList._Wal39Gh.js similarity index 99% rename from public/docs/_app/immutable/chunks/ArgsList.Df6dyhFf.js rename to public/docs/_app/immutable/chunks/ArgsList._Wal39Gh.js index 88fea53..fae5e46 100644 --- a/public/docs/_app/immutable/chunks/ArgsList.Df6dyhFf.js +++ b/public/docs/_app/immutable/chunks/ArgsList._Wal39Gh.js @@ -1 +1 @@ -import{s as I,q as P,l as k,n as x,d as g,t as E,j as A,o as H,E as ee,v as X,e as q,b as j,f as G,g as J,c as O,k as B,z as y,y as te,m as C,A as R,F as ne,G as le,H as re,r as he,u as ie,a1 as ke,w as ye,x as K,D as ve,a2 as Te,L as Ne,a3 as we}from"./scheduler.Eaj42bxH.js";import{S as M,i as V,t as p,b as d,g as z,e as F,c as v,a as T,m as N,d as w}from"./index.CMSEJhCx.js";import{l as Se,q as oe,r as De,t as Le,v as Ee,u as se,j as ae,w as Ae,x as Pe,_ as Re,y as fe}from"./pages.ChwmMHwd.js";import{T as Y,S as Ce,a as je,b as Oe,c as Ue,C as Be}from"./PreviousNextPage.BXHMl56p.js";import{L as qe}from"./ChevronDown.bal9uoQH.js";function Ge(i){let e=(i[0]??"-")+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=(t[0]??"-")+"")&&H(l,e)},d(t){t&&g(l)}}}function Ie(i){let e=JSON.stringify(i[0],null,2)+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=JSON.stringify(t[0],null,2)+"")&&H(l,e)},d(t){t&&g(l)}}}function Me(i){let e,l,t;return{c(){e=E('"'),l=E(i[0]),t=E('"')},l(n){e=A(n,'"'),l=A(n,i[0]),t=A(n,'"')},m(n,r){k(n,e,r),k(n,l,r),k(n,t,r)},p(n,r){r&1&&H(l,n[0])},d(n){n&&(g(e),g(l),g(t))}}}function Ve(i){let e;function l(r,o){return typeof r[0]=="string"?Me:typeof r[0]=="object"?Ie:Ge}let t=l(i),n=t(i);return{c(){n.c(),e=P()},l(r){n.l(r),e=P()},m(r,o){n.m(r,o),k(r,e,o)},p(r,[o]){t===(t=l(r))&&n?n.p(r,o):(n.d(1),n=t(r),n&&(n.c(),n.m(e.parentNode,e)))},i:x,o:x,d(r){r&&g(e),n.d(r)}}}function Je(i,e,l){let{value:t}=e;return i.$$set=n=>{"value"in n&&l(0,t=n.value)},[t]}class ze extends M{constructor(e){super(),V(this,e,Je,Ve,I,{value:0})}}const Fe=i=>({}),ue=i=>({});function He(i){let e;return{c(){e=E(i[2])},l(l){e=A(l,i[2])},m(l,t){k(l,e,t)},p(l,t){t&4&&H(e,l[2])},d(l){l&&g(e)}}}function Ke(i){let e,l,t,n,r,o,a;const f=i[10].default,c=ee(f,i,i[9],null),D=i[10].tooltip,_=ee(D,i,i[9],ue),$=_||He(i);let S=[i[8]],L={};for(let s=0;sl(0,f=!1),s=()=>l(0,f=!0);function u(b){K.call(this,i,b)}function m(b){K.call(this,i,b)}function h(b){K.call(this,i,b)}function U(b){K.call(this,i,b)}function Q(b){K.call(this,i,b)}const W=({key:b})=>{b==="Escape"&&L()};function be(b){ve[b?"unshift":"push"](()=>{$=b,l(1,$)})}return i.$$set=b=>{e=X(X({},e),ye(b)),l(8,n=ie(e,t)),"tooltipText"in b&&l(2,a=b.tooltipText),"open"in b&&l(0,f=b.open),"align"in b&&l(3,c=b.align),"direction"in b&&l(4,D=b.direction),"id"in b&&l(5,_=b.id),"ref"in b&&l(1,$=b.ref),"$$scope"in b&&l(9,o=b.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&S(f?"open":"close")},[f,$,a,c,D,_,L,s,n,o,r,u,m,h,U,Q,W,be]}class We extends M{constructor(e){super(),V(this,e,Qe,Ke,I,{tooltipText:2,open:0,align:3,direction:4,id:5,ref:1})}}const Xe=We;function ce(i){let e,l;return e=new Y({props:{type:"red",$$slots:{default:[Ze]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function Ye(i){let e;return{c(){e=E("Deprecated")},l(l){e=A(l,"Deprecated")},m(l,t){k(l,e,t)},d(l){l&&g(e)}}}function Ze(i){let e,l;return e=new Xe({props:{tooltipText:i[0],$$slots:{default:[Ye]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.tooltipText=t[0]),n&2&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function xe(i){let e,l,t=i[0]&&ce(i);return{c(){t&&t.c(),e=P()},l(n){t&&t.l(n),e=P()},m(n,r){t&&t.m(n,r),k(n,e,r),l=!0},p(n,[r]){n[0]?t?(t.p(n,r),r&1&&p(t,1)):(t=ce(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(z(),d(t,1,1,()=>{t=null}),F())},i(n){l||(p(t),l=!0)},o(n){d(t),l=!1},d(n){n&&g(e),t&&t.d(n)}}}function et(i,e,l){let{reason:t}=e;return i.$$set=n=>{"reason"in n&&l(0,t=n.reason)},[t]}class tt extends M{constructor(e){super(),V(this,e,et,xe,I,{reason:0})}}function pe(i){let e,l;return e=new Y({props:{type:"purple",$$slots:{default:[nt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function nt(i){let e;return{c(){e=E("Non-null")},l(l){e=A(l,"Non-null")},m(l,t){k(l,e,t)},d(l){l&&g(e)}}}function lt(i){let e=!oe(i[0]),l,t,n=e&&pe(i);return{c(){n&&n.c(),l=P()},l(r){n&&n.l(r),l=P()},m(r,o){n&&n.m(r,o),k(r,l,o),t=!0},p(r,[o]){o&1&&(e=!oe(r[0])),e?n?o&1&&p(n,1):(n=pe(r),n.c(),p(n,1),n.m(l.parentNode,l)):n&&(z(),d(n,1,1,()=>{n=null}),F())},i(r){t||(p(n),t=!0)},o(r){d(n),t=!1},d(r){r&&g(l),n&&n.d(r)}}}function rt(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class it extends M{constructor(e){super(),V(this,e,rt,lt,I,{type:0})}}function ot(i){let e,l;return e=new qe({props:{href:se.joinUrlPaths(ae(),"types",String(i[0].name)),$$slots:{default:[ft]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.href=se.joinUrlPaths(ae(),"types",String(t[0].name))),n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function st(i){let e,l,t;return e=new Z({props:{type:i[0].ofType}}),{c(){v(e.$$.fragment),l=E("!")},l(n){T(e.$$.fragment,n),l=A(n,"!")},m(n,r){N(e,n,r),k(n,l,r),t=!0},p(n,r){const o={};r&1&&(o.type=n[0].ofType),e.$set(o)},i(n){t||(p(e.$$.fragment,n),t=!0)},o(n){d(e.$$.fragment,n),t=!1},d(n){n&&g(l),w(e,n)}}}function at(i){let e,l,t,n;return l=new Z({props:{type:i[0].ofType}}),{c(){e=E("["),v(l.$$.fragment),t=E("]")},l(r){e=A(r,"["),T(l.$$.fragment,r),t=A(r,"]")},m(r,o){k(r,e,o),N(l,r,o),k(r,t,o),n=!0},p(r,o){const a={};o&1&&(a.type=r[0].ofType),l.$set(a)},i(r){n||(p(l.$$.fragment,r),n=!0)},o(r){d(l.$$.fragment,r),n=!1},d(r){r&&(g(e),g(t)),w(l,r)}}}function ft(i){let e=i[0].name+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=t[0].name+"")&&H(l,e)},d(t){t&&g(l)}}}function ut(i){let e,l,t,n,r,o,a;const f=[at,st,ot],c=[];function D(_,$){return $&1&&(e=null),$&1&&(l=null),$&1&&(t=null),e==null&&(e=!!De(_[0])),e?0:(l==null&&(l=!!Le(_[0])),l?1:(t==null&&(t=!!Ee(_[0])),t?2:-1))}return~(n=D(i,-1))&&(r=c[n]=f[n](i)),{c(){r&&r.c(),o=P()},l(_){r&&r.l(_),o=P()},m(_,$){~n&&c[n].m(_,$),k(_,o,$),a=!0},p(_,[$]){let S=n;n=D(_,$),n===S?~n&&c[n].p(_,$):(r&&(z(),d(c[S],1,1,()=>{c[S]=null}),F()),~n?(r=c[n],r?r.p(_,$):(r=c[n]=f[n](_),r.c()),p(r,1),r.m(o.parentNode,o)):r=null)},i(_){a||(p(r),a=!0)},o(_){d(r),a=!1},d(_){_&&g(o),~n&&c[n].d(_)}}}function ct(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class Z extends M{constructor(e){super(),V(this,e,ct,ut,I,{type:0})}}function pt(i){let e,l;return e=new Z({props:{type:i[0]}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.type=t[0]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function _t(i){let e,l;return e=new Y({props:{type:"blue",$$slots:{default:[pt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function mt(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class $t extends M{constructor(e){super(),V(this,e,mt,_t,I,{type:0})}}function _e(i,e,l){const t=i.slice();return t[3]=e[l],t}function me(i){let e,l="=",t,n,r,o;return r=new ze({props:{value:i[3].default}}),{c(){e=q("span"),e.textContent=l,t=j(),n=q("span"),v(r.$$.fragment)},l(a){e=G(a,"SPAN",{"data-svelte-h":!0}),we(e)!=="svelte-u057kv"&&(e.textContent=l),t=O(a),n=G(a,"SPAN",{});var f=J(n);T(r.$$.fragment,f),f.forEach(g)},m(a,f){k(a,e,f),k(a,t,f),k(a,n,f),N(r,n,null),o=!0},p(a,f){const c={};f&1&&(c.value=a[3].default),r.$set(c)},i(a){o||(p(r.$$.fragment,a),o=!0)},o(a){d(r.$$.fragment,a),o=!1},d(a){a&&(g(e),g(t),g(n)),w(r)}}}function $e(i){let e,l;return e=new Be({props:{source:i[3].description}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.source=t[3].description),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function dt(i){let e,l,t=i[3].name+"",n,r,o,a,f,c,D,_,$,S,L,s=i[3].default&&me(i);a=new $t({props:{type:i[3].type}}),c=new tt({props:{reason:i[3].deprecationReason}}),_=new it({props:{type:i[3].type}});let u=i[3].description&&$e(i);return{c(){e=q("p"),l=q("span"),n=E(t),r=j(),s&&s.c(),o=j(),v(a.$$.fragment),f=j(),v(c.$$.fragment),D=j(),v(_.$$.fragment),$=j(),u&&u.c(),S=P(),this.h()},l(m){e=G(m,"P",{class:!0});var h=J(e);l=G(h,"SPAN",{style:!0});var U=J(l);n=A(U,t),U.forEach(g),r=O(h),s&&s.l(h),o=O(h),T(a.$$.fragment,h),f=O(h),T(c.$$.fragment,h),D=O(h),T(_.$$.fragment,h),h.forEach(g),$=O(m),u&&u.l(m),S=P(),this.h()},h(){Ne(l,"font-weight","bold"),B(e,"class","arg-name-section svelte-9cf7d2")},m(m,h){k(m,e,h),C(e,l),C(l,n),C(e,r),s&&s.m(e,null),C(e,o),N(a,e,null),C(e,f),N(c,e,null),C(e,D),N(_,e,null),k(m,$,h),u&&u.m(m,h),k(m,S,h),L=!0},p(m,h){(!L||h&1)&&t!==(t=m[3].name+"")&&H(n,t),m[3].default?s?(s.p(m,h),h&1&&p(s,1)):(s=me(m),s.c(),p(s,1),s.m(e,o)):s&&(z(),d(s,1,1,()=>{s=null}),F());const U={};h&1&&(U.type=m[3].type),a.$set(U);const Q={};h&1&&(Q.reason=m[3].deprecationReason),c.$set(Q);const W={};h&1&&(W.type=m[3].type),_.$set(W),m[3].description?u?(u.p(m,h),h&1&&p(u,1)):(u=$e(m),u.c(),p(u,1),u.m(S.parentNode,S)):u&&(z(),d(u,1,1,()=>{u=null}),F())},i(m){L||(p(s),p(a.$$.fragment,m),p(c.$$.fragment,m),p(_.$$.fragment,m),p(u),L=!0)},o(m){d(s),d(a.$$.fragment,m),d(c.$$.fragment,m),d(_.$$.fragment,m),d(u),L=!1},d(m){m&&(g(e),g($),g(S)),s&&s.d(),w(a),w(c),w(_),u&&u.d(m)}}}function gt(i){let e,l,t;return e=new Ue({props:{$$slots:{default:[dt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment),l=j()},l(n){T(e.$$.fragment,n),l=O(n)},m(n,r){N(e,n,r),k(n,l,r),t=!0},p(n,r){const o={};r&65&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){t||(p(e.$$.fragment,n),t=!0)},o(n){d(e.$$.fragment,n),t=!1},d(n){n&&g(l),w(e,n)}}}function de(i){let e,l;return e=new Oe({props:{$$slots:{default:[gt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&65&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function bt(i){let e,l,t=fe(i[0]),n=[];for(let o=0;od(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o({id:e.name,deprecationReason:e.deprecationReason,name:e.name,description:e.description,default:e.defaultValue,type:e.type}))}function yt(i,e,l){let{data:t}=e;const n=Ae(Pe.ARGUMENTS_SORTING,"default");let r;return i.$$set=o=>{"data"in o&&l(1,t=o.data)},i.$$.update=()=>{i.$$.dirty&2&&(n==="alphabetical"?l(0,r=Re.sortBy(ge(t),o=>o.name)):l(0,r=ge(t)))},[r,t]}class Dt extends M{constructor(e){super(),V(this,e,yt,kt,I,{data:1})}}export{Dt as A,tt as D,it as N,Xe as T,$t as a,Z as b,ze as c}; +import{s as I,q as P,l as k,n as x,d as g,t as E,j as A,o as H,E as ee,v as X,e as q,b as j,f as G,g as J,c as O,k as B,z as y,y as te,m as C,A as R,F as ne,G as le,H as re,r as he,u as ie,a1 as ke,w as ye,x as K,D as ve,a2 as Te,L as Ne,a3 as we}from"./scheduler.Eaj42bxH.js";import{S as M,i as V,t as p,b as d,g as z,e as F,c as v,a as T,m as N,d as w}from"./index.CMSEJhCx.js";import{l as Se,q as oe,r as De,t as Le,v as Ee,u as se,j as ae,w as Ae,x as Pe,_ as Re,y as fe}from"./pages.CneCpNB9.js";import{T as Y,S as Ce,a as je,b as Oe,c as Ue,C as Be}from"./PreviousNextPage.CfYtgLwe.js";import{L as qe}from"./ChevronDown.DqzAHLaF.js";function Ge(i){let e=(i[0]??"-")+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=(t[0]??"-")+"")&&H(l,e)},d(t){t&&g(l)}}}function Ie(i){let e=JSON.stringify(i[0],null,2)+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=JSON.stringify(t[0],null,2)+"")&&H(l,e)},d(t){t&&g(l)}}}function Me(i){let e,l,t;return{c(){e=E('"'),l=E(i[0]),t=E('"')},l(n){e=A(n,'"'),l=A(n,i[0]),t=A(n,'"')},m(n,r){k(n,e,r),k(n,l,r),k(n,t,r)},p(n,r){r&1&&H(l,n[0])},d(n){n&&(g(e),g(l),g(t))}}}function Ve(i){let e;function l(r,o){return typeof r[0]=="string"?Me:typeof r[0]=="object"?Ie:Ge}let t=l(i),n=t(i);return{c(){n.c(),e=P()},l(r){n.l(r),e=P()},m(r,o){n.m(r,o),k(r,e,o)},p(r,[o]){t===(t=l(r))&&n?n.p(r,o):(n.d(1),n=t(r),n&&(n.c(),n.m(e.parentNode,e)))},i:x,o:x,d(r){r&&g(e),n.d(r)}}}function Je(i,e,l){let{value:t}=e;return i.$$set=n=>{"value"in n&&l(0,t=n.value)},[t]}class ze extends M{constructor(e){super(),V(this,e,Je,Ve,I,{value:0})}}const Fe=i=>({}),ue=i=>({});function He(i){let e;return{c(){e=E(i[2])},l(l){e=A(l,i[2])},m(l,t){k(l,e,t)},p(l,t){t&4&&H(e,l[2])},d(l){l&&g(e)}}}function Ke(i){let e,l,t,n,r,o,a;const f=i[10].default,c=ee(f,i,i[9],null),D=i[10].tooltip,_=ee(D,i,i[9],ue),$=_||He(i);let S=[i[8]],L={};for(let s=0;sl(0,f=!1),s=()=>l(0,f=!0);function u(b){K.call(this,i,b)}function m(b){K.call(this,i,b)}function h(b){K.call(this,i,b)}function U(b){K.call(this,i,b)}function Q(b){K.call(this,i,b)}const W=({key:b})=>{b==="Escape"&&L()};function be(b){ve[b?"unshift":"push"](()=>{$=b,l(1,$)})}return i.$$set=b=>{e=X(X({},e),ye(b)),l(8,n=ie(e,t)),"tooltipText"in b&&l(2,a=b.tooltipText),"open"in b&&l(0,f=b.open),"align"in b&&l(3,c=b.align),"direction"in b&&l(4,D=b.direction),"id"in b&&l(5,_=b.id),"ref"in b&&l(1,$=b.ref),"$$scope"in b&&l(9,o=b.$$scope)},i.$$.update=()=>{i.$$.dirty&1&&S(f?"open":"close")},[f,$,a,c,D,_,L,s,n,o,r,u,m,h,U,Q,W,be]}class We extends M{constructor(e){super(),V(this,e,Qe,Ke,I,{tooltipText:2,open:0,align:3,direction:4,id:5,ref:1})}}const Xe=We;function ce(i){let e,l;return e=new Y({props:{type:"red",$$slots:{default:[Ze]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function Ye(i){let e;return{c(){e=E("Deprecated")},l(l){e=A(l,"Deprecated")},m(l,t){k(l,e,t)},d(l){l&&g(e)}}}function Ze(i){let e,l;return e=new Xe({props:{tooltipText:i[0],$$slots:{default:[Ye]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.tooltipText=t[0]),n&2&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function xe(i){let e,l,t=i[0]&&ce(i);return{c(){t&&t.c(),e=P()},l(n){t&&t.l(n),e=P()},m(n,r){t&&t.m(n,r),k(n,e,r),l=!0},p(n,[r]){n[0]?t?(t.p(n,r),r&1&&p(t,1)):(t=ce(n),t.c(),p(t,1),t.m(e.parentNode,e)):t&&(z(),d(t,1,1,()=>{t=null}),F())},i(n){l||(p(t),l=!0)},o(n){d(t),l=!1},d(n){n&&g(e),t&&t.d(n)}}}function et(i,e,l){let{reason:t}=e;return i.$$set=n=>{"reason"in n&&l(0,t=n.reason)},[t]}class tt extends M{constructor(e){super(),V(this,e,et,xe,I,{reason:0})}}function pe(i){let e,l;return e=new Y({props:{type:"purple",$$slots:{default:[nt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function nt(i){let e;return{c(){e=E("Non-null")},l(l){e=A(l,"Non-null")},m(l,t){k(l,e,t)},d(l){l&&g(e)}}}function lt(i){let e=!oe(i[0]),l,t,n=e&&pe(i);return{c(){n&&n.c(),l=P()},l(r){n&&n.l(r),l=P()},m(r,o){n&&n.m(r,o),k(r,l,o),t=!0},p(r,[o]){o&1&&(e=!oe(r[0])),e?n?o&1&&p(n,1):(n=pe(r),n.c(),p(n,1),n.m(l.parentNode,l)):n&&(z(),d(n,1,1,()=>{n=null}),F())},i(r){t||(p(n),t=!0)},o(r){d(n),t=!1},d(r){r&&g(l),n&&n.d(r)}}}function rt(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class it extends M{constructor(e){super(),V(this,e,rt,lt,I,{type:0})}}function ot(i){let e,l;return e=new qe({props:{href:se.joinUrlPaths(ae(),"types",String(i[0].name)),$$slots:{default:[ft]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.href=se.joinUrlPaths(ae(),"types",String(t[0].name))),n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function st(i){let e,l,t;return e=new Z({props:{type:i[0].ofType}}),{c(){v(e.$$.fragment),l=E("!")},l(n){T(e.$$.fragment,n),l=A(n,"!")},m(n,r){N(e,n,r),k(n,l,r),t=!0},p(n,r){const o={};r&1&&(o.type=n[0].ofType),e.$set(o)},i(n){t||(p(e.$$.fragment,n),t=!0)},o(n){d(e.$$.fragment,n),t=!1},d(n){n&&g(l),w(e,n)}}}function at(i){let e,l,t,n;return l=new Z({props:{type:i[0].ofType}}),{c(){e=E("["),v(l.$$.fragment),t=E("]")},l(r){e=A(r,"["),T(l.$$.fragment,r),t=A(r,"]")},m(r,o){k(r,e,o),N(l,r,o),k(r,t,o),n=!0},p(r,o){const a={};o&1&&(a.type=r[0].ofType),l.$set(a)},i(r){n||(p(l.$$.fragment,r),n=!0)},o(r){d(l.$$.fragment,r),n=!1},d(r){r&&(g(e),g(t)),w(l,r)}}}function ft(i){let e=i[0].name+"",l;return{c(){l=E(e)},l(t){l=A(t,e)},m(t,n){k(t,l,n)},p(t,n){n&1&&e!==(e=t[0].name+"")&&H(l,e)},d(t){t&&g(l)}}}function ut(i){let e,l,t,n,r,o,a;const f=[at,st,ot],c=[];function D(_,$){return $&1&&(e=null),$&1&&(l=null),$&1&&(t=null),e==null&&(e=!!De(_[0])),e?0:(l==null&&(l=!!Le(_[0])),l?1:(t==null&&(t=!!Ee(_[0])),t?2:-1))}return~(n=D(i,-1))&&(r=c[n]=f[n](i)),{c(){r&&r.c(),o=P()},l(_){r&&r.l(_),o=P()},m(_,$){~n&&c[n].m(_,$),k(_,o,$),a=!0},p(_,[$]){let S=n;n=D(_,$),n===S?~n&&c[n].p(_,$):(r&&(z(),d(c[S],1,1,()=>{c[S]=null}),F()),~n?(r=c[n],r?r.p(_,$):(r=c[n]=f[n](_),r.c()),p(r,1),r.m(o.parentNode,o)):r=null)},i(_){a||(p(r),a=!0)},o(_){d(r),a=!1},d(_){_&&g(o),~n&&c[n].d(_)}}}function ct(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class Z extends M{constructor(e){super(),V(this,e,ct,ut,I,{type:0})}}function pt(i){let e,l;return e=new Z({props:{type:i[0]}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.type=t[0]),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function _t(i){let e,l;return e=new Y({props:{type:"blue",$$slots:{default:[pt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,[n]){const r={};n&3&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function mt(i,e,l){let{type:t}=e;return i.$$set=n=>{"type"in n&&l(0,t=n.type)},[t]}class $t extends M{constructor(e){super(),V(this,e,mt,_t,I,{type:0})}}function _e(i,e,l){const t=i.slice();return t[3]=e[l],t}function me(i){let e,l="=",t,n,r,o;return r=new ze({props:{value:i[3].default}}),{c(){e=q("span"),e.textContent=l,t=j(),n=q("span"),v(r.$$.fragment)},l(a){e=G(a,"SPAN",{"data-svelte-h":!0}),we(e)!=="svelte-u057kv"&&(e.textContent=l),t=O(a),n=G(a,"SPAN",{});var f=J(n);T(r.$$.fragment,f),f.forEach(g)},m(a,f){k(a,e,f),k(a,t,f),k(a,n,f),N(r,n,null),o=!0},p(a,f){const c={};f&1&&(c.value=a[3].default),r.$set(c)},i(a){o||(p(r.$$.fragment,a),o=!0)},o(a){d(r.$$.fragment,a),o=!1},d(a){a&&(g(e),g(t),g(n)),w(r)}}}function $e(i){let e,l;return e=new Be({props:{source:i[3].description}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&1&&(r.source=t[3].description),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function dt(i){let e,l,t=i[3].name+"",n,r,o,a,f,c,D,_,$,S,L,s=i[3].default&&me(i);a=new $t({props:{type:i[3].type}}),c=new tt({props:{reason:i[3].deprecationReason}}),_=new it({props:{type:i[3].type}});let u=i[3].description&&$e(i);return{c(){e=q("p"),l=q("span"),n=E(t),r=j(),s&&s.c(),o=j(),v(a.$$.fragment),f=j(),v(c.$$.fragment),D=j(),v(_.$$.fragment),$=j(),u&&u.c(),S=P(),this.h()},l(m){e=G(m,"P",{class:!0});var h=J(e);l=G(h,"SPAN",{style:!0});var U=J(l);n=A(U,t),U.forEach(g),r=O(h),s&&s.l(h),o=O(h),T(a.$$.fragment,h),f=O(h),T(c.$$.fragment,h),D=O(h),T(_.$$.fragment,h),h.forEach(g),$=O(m),u&&u.l(m),S=P(),this.h()},h(){Ne(l,"font-weight","bold"),B(e,"class","arg-name-section svelte-9cf7d2")},m(m,h){k(m,e,h),C(e,l),C(l,n),C(e,r),s&&s.m(e,null),C(e,o),N(a,e,null),C(e,f),N(c,e,null),C(e,D),N(_,e,null),k(m,$,h),u&&u.m(m,h),k(m,S,h),L=!0},p(m,h){(!L||h&1)&&t!==(t=m[3].name+"")&&H(n,t),m[3].default?s?(s.p(m,h),h&1&&p(s,1)):(s=me(m),s.c(),p(s,1),s.m(e,o)):s&&(z(),d(s,1,1,()=>{s=null}),F());const U={};h&1&&(U.type=m[3].type),a.$set(U);const Q={};h&1&&(Q.reason=m[3].deprecationReason),c.$set(Q);const W={};h&1&&(W.type=m[3].type),_.$set(W),m[3].description?u?(u.p(m,h),h&1&&p(u,1)):(u=$e(m),u.c(),p(u,1),u.m(S.parentNode,S)):u&&(z(),d(u,1,1,()=>{u=null}),F())},i(m){L||(p(s),p(a.$$.fragment,m),p(c.$$.fragment,m),p(_.$$.fragment,m),p(u),L=!0)},o(m){d(s),d(a.$$.fragment,m),d(c.$$.fragment,m),d(_.$$.fragment,m),d(u),L=!1},d(m){m&&(g(e),g($),g(S)),s&&s.d(),w(a),w(c),w(_),u&&u.d(m)}}}function gt(i){let e,l,t;return e=new Ue({props:{$$slots:{default:[dt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment),l=j()},l(n){T(e.$$.fragment,n),l=O(n)},m(n,r){N(e,n,r),k(n,l,r),t=!0},p(n,r){const o={};r&65&&(o.$$scope={dirty:r,ctx:n}),e.$set(o)},i(n){t||(p(e.$$.fragment,n),t=!0)},o(n){d(e.$$.fragment,n),t=!1},d(n){n&&g(l),w(e,n)}}}function de(i){let e,l;return e=new Oe({props:{$$slots:{default:[gt]},$$scope:{ctx:i}}}),{c(){v(e.$$.fragment)},l(t){T(e.$$.fragment,t)},m(t,n){N(e,t,n),l=!0},p(t,n){const r={};n&65&&(r.$$scope={dirty:n,ctx:t}),e.$set(r)},i(t){l||(p(e.$$.fragment,t),l=!0)},o(t){d(e.$$.fragment,t),l=!1},d(t){w(e,t)}}}function bt(i){let e,l,t=fe(i[0]),n=[];for(let o=0;od(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o({id:e.name,deprecationReason:e.deprecationReason,name:e.name,description:e.description,default:e.defaultValue,type:e.type}))}function yt(i,e,l){let{data:t}=e;const n=Ae(Pe.ARGUMENTS_SORTING,"default");let r;return i.$$set=o=>{"data"in o&&l(1,t=o.data)},i.$$.update=()=>{i.$$.dirty&2&&(n==="alphabetical"?l(0,r=Re.sortBy(ge(t),o=>o.name)):l(0,r=ge(t)))},[r,t]}class Dt extends M{constructor(e){super(),V(this,e,yt,kt,I,{data:1})}}export{Dt as A,tt as D,it as N,Xe as T,$t as a,Z as b,ze as c}; diff --git a/public/docs/_app/immutable/chunks/Button.CYh10Gys.js b/public/docs/_app/immutable/chunks/Button.DKunqQyO.js similarity index 99% rename from public/docs/_app/immutable/chunks/Button.CYh10Gys.js rename to public/docs/_app/immutable/chunks/Button.DKunqQyO.js index 4560e5e..27b1c49 100644 --- a/public/docs/_app/immutable/chunks/Button.CYh10Gys.js +++ b/public/docs/_app/immutable/chunks/Button.DKunqQyO.js @@ -1 +1 @@ -import{s as de,q as j,l as E,n as fe,d as A,u as Y,v as B,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 ue,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.Eaj42bxH.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.CMSEJhCx.js";import{l as N,m as V}from"./pages.ChwmMHwd.js";function Ue(n){let e,o,i,t=[n[2]],l={};for(let r=0;r{e=B(B({},e),me(b)),o(2,t=Y(e,i)),"href"in b&&o(0,l=b.href),"size"in b&&o(1,r=b.size)},[l,r,t,a,c,s,m,d,v,g,D,y,S,u,_]}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}),re=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,r,a,c,s=n[8]&&_e(n);const m=n[21].default,d=J(m,n,n[20],null),v=[tn,nn],g=[];function D(u,_){return u[12].icon?0:u[2]?1:-1}~(t=D(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let u=0;u{g[b]=null}),X()),~t?(l=g[t],l?l.p(u,_):(l=g[t]=v[t](u),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=N(y,[_[0]&512&&u[9]]))},i(u){r||(P(d,u),P(l),r=!0)},o(u){z(d,u),z(l),r=!1},d(u){u&&A(e),s&&s.d(),d&&d.d(u),~t&&g[t].d(),n[41](null),a=!1,$(c)}}}function xe(n){let e,o,i,t,l,r,a,c,s=n[8]&&be(n);const m=n[21].default,d=J(m,n,n[20],null),v=[on,ln],g=[];function D(u,_){return u[12].icon?0:u[2]?1:-1}~(t=D(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let u=0;u{g[b]=null}),X()),~t?(l=g[t],l?l.p(u,_):(l=g[t]=v[t](u),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=N(y,[_[0]&512&&u[9]]))},i(u){r||(P(d,u),P(l),r=!0)},o(u){z(d,u),z(l),r=!1},d(u){u&&A(e),s&&s.d(),d&&d.d(u),~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,r(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?N(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],re);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),re)},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){E(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 r(a,c){let s={};for(let m=0;m{U(s,1)}),X()}l?(e=x(l,r(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?N(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],r=[];function a(c,s){return c[5]?0:c[4]?1:c[7]&&!c[6]?2:3}return e=a(n),o=r[e]=l[e](n),{c(){o.c(),i=j()},l(c){o.l(c),i=j()},m(c,s){r[e].m(c,s),E(c,i,s),t=!0},p(c,s){let m=e;e=a(c),e===m?r[e].p(c,s):(W(),z(r[m],1,1,()=>{r[m]=null}),X(),o=r[e],o?o.p(c,s):(o=r[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),r[e].d(c)}}}function fn(n,e,o){let i,t,l;const r=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let a=Y(e,r),{$$slots:c={},$$scope:s}=e;const m=Me(c);let{kind:d="primary"}=e,{size:v="default"}=e,{expressive:g=!1}=e,{isSelected:D=!1}=e,{icon:y=void 0}=e,{iconDescription:S=void 0}=e,{tooltipAlignment:u="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:C=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 Be(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 Ce(f){h.call(this,n,f)}function je(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){ue[f?"unshift":"push"](()=>{C=f,o(0,C)})}function He(f){ue[f?"unshift":"push"](()=>{C=f,o(0,C)})}return n.$$set=f=>{e=B(B({},e),me(f)),o(11,a=Y(e,r)),"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,D=f.isSelected),"icon"in f&&o(2,y=f.icon),"iconDescription"in f&&o(3,S=f.iconDescription),"tooltipAlignment"in f&&o(16,u=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,C=f.ref),"$$scope"in f&&o(20,s=f.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&1&&se&&C&&se.declareRef(C),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?D: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&&u&&`bx--tooltip--align-${u}`,i&&D&&d==="ghost"&&"bx--btn--selected",a.class].filter(Boolean).join(" ")})},[C,v,y,S,b,oe,G,H,i,l,t,a,m,d,g,D,u,_,ee,ne,s,c,pe,ve,ze,Pe,Ae,Se,ye,Be,De,Ee,Ne,Ce,je,Ie,qe,Oe,Te,Fe,Ge,He]}class un 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])}}const _n=un;export{_n as B}; +import{s as de,q as j,l as E,n as fe,d as A,u as Y,v as B,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 ue,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.Eaj42bxH.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.CMSEJhCx.js";import{l as N,m as V}from"./pages.CneCpNB9.js";function Ue(n){let e,o,i,t=[n[2]],l={};for(let r=0;r{e=B(B({},e),me(b)),o(2,t=Y(e,i)),"href"in b&&o(0,l=b.href),"size"in b&&o(1,r=b.size)},[l,r,t,a,c,s,m,d,v,g,D,y,S,u,_]}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}),re=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,r,a,c,s=n[8]&&_e(n);const m=n[21].default,d=J(m,n,n[20],null),v=[tn,nn],g=[];function D(u,_){return u[12].icon?0:u[2]?1:-1}~(t=D(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let u=0;u{g[b]=null}),X()),~t?(l=g[t],l?l.p(u,_):(l=g[t]=v[t](u),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=N(y,[_[0]&512&&u[9]]))},i(u){r||(P(d,u),P(l),r=!0)},o(u){z(d,u),z(l),r=!1},d(u){u&&A(e),s&&s.d(),d&&d.d(u),~t&&g[t].d(),n[41](null),a=!1,$(c)}}}function xe(n){let e,o,i,t,l,r,a,c,s=n[8]&&be(n);const m=n[21].default,d=J(m,n,n[20],null),v=[on,ln],g=[];function D(u,_){return u[12].icon?0:u[2]?1:-1}~(t=D(n))&&(l=g[t]=v[t](n));let y=[n[9]],S={};for(let u=0;u{g[b]=null}),X()),~t?(l=g[t],l?l.p(u,_):(l=g[t]=v[t](u),l.c()),P(l,1),l.m(e,null)):l=null),I(e,S=N(y,[_[0]&512&&u[9]]))},i(u){r||(P(d,u),P(l),r=!0)},o(u){z(d,u),z(l),r=!1},d(u){u&&A(e),s&&s.d(),d&&d.d(u),~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,r(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?N(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],re);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),re)},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){E(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 r(a,c){let s={};for(let m=0;m{U(s,1)}),X()}l?(e=x(l,r(a,c)),M(e.$$.fragment),P(e.$$.fragment,1),R(e,o.parentNode,o)):e=null}else if(l){const s=c[0]&1280?N(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],r=[];function a(c,s){return c[5]?0:c[4]?1:c[7]&&!c[6]?2:3}return e=a(n),o=r[e]=l[e](n),{c(){o.c(),i=j()},l(c){o.l(c),i=j()},m(c,s){r[e].m(c,s),E(c,i,s),t=!0},p(c,s){let m=e;e=a(c),e===m?r[e].p(c,s):(W(),z(r[m],1,1,()=>{r[m]=null}),X(),o=r[e],o?o.p(c,s):(o=r[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),r[e].d(c)}}}function fn(n,e,o){let i,t,l;const r=["kind","size","expressive","isSelected","icon","iconDescription","tooltipAlignment","tooltipPosition","as","skeleton","disabled","href","tabindex","type","ref"];let a=Y(e,r),{$$slots:c={},$$scope:s}=e;const m=Me(c);let{kind:d="primary"}=e,{size:v="default"}=e,{expressive:g=!1}=e,{isSelected:D=!1}=e,{icon:y=void 0}=e,{iconDescription:S=void 0}=e,{tooltipAlignment:u="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:C=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 Be(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 Ce(f){h.call(this,n,f)}function je(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){ue[f?"unshift":"push"](()=>{C=f,o(0,C)})}function He(f){ue[f?"unshift":"push"](()=>{C=f,o(0,C)})}return n.$$set=f=>{e=B(B({},e),me(f)),o(11,a=Y(e,r)),"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,D=f.isSelected),"icon"in f&&o(2,y=f.icon),"iconDescription"in f&&o(3,S=f.iconDescription),"tooltipAlignment"in f&&o(16,u=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,C=f.ref),"$$scope"in f&&o(20,s=f.$$scope)},n.$$.update=()=>{n.$$.dirty[0]&1&&se&&C&&se.declareRef(C),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?D: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&&u&&`bx--tooltip--align-${u}`,i&&D&&d==="ghost"&&"bx--btn--selected",a.class].filter(Boolean).join(" ")})},[C,v,y,S,b,oe,G,H,i,l,t,a,m,d,g,D,u,_,ee,ne,s,c,pe,ve,ze,Pe,Ae,Se,ye,Be,De,Ee,Ne,Ce,je,Ie,qe,Oe,Te,Fe,Ge,He]}class un 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])}}const _n=un;export{_n as B}; diff --git a/public/docs/_app/immutable/chunks/ChevronDown.bal9uoQH.js b/public/docs/_app/immutable/chunks/ChevronDown.DqzAHLaF.js similarity index 99% rename from public/docs/_app/immutable/chunks/ChevronDown.bal9uoQH.js rename to public/docs/_app/immutable/chunks/ChevronDown.DqzAHLaF.js index 8c42ef2..2f02a11 100644 --- a/public/docs/_app/immutable/chunks/ChevronDown.bal9uoQH.js +++ b/public/docs/_app/immutable/chunks/ChevronDown.DqzAHLaF.js @@ -1,4 +1,4 @@ -import{z as Se,A as Ye,l as oe}from"./pages.ChwmMHwd.js";import{s as _e,v as R,a4 as G,a5 as W,g as D,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 De,q as Z,B as Ve,x as j,D as xe,E as ce,e as fe,b as Ie,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.Eaj42bxH.js";import{S as ye,i as we,g as J,b as P,e as K,t as T,c as le,a as qe,m as se,d as ue}from"./index.CMSEJhCx.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,l as oe}from"./pages.CneCpNB9.js";import{s as _e,v as R,a4 as G,a5 as W,g as D,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 De,q as Z,B as Ve,x as j,D as xe,E as ce,e as fe,b as Ie,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.Eaj42bxH.js";import{S as ye,i as we,g as J,b as P,e as K,t as T,c as le,a as qe,m as se,d as ue}from"./index.CMSEJhCx.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 diff --git a/public/docs/_app/immutable/chunks/DirectiveTag.CatMG0Eh.js b/public/docs/_app/immutable/chunks/DirectiveTag.BPf_LInC.js similarity index 95% rename from public/docs/_app/immutable/chunks/DirectiveTag.CatMG0Eh.js rename to public/docs/_app/immutable/chunks/DirectiveTag.BPf_LInC.js index 4a13f65..792ad1b 100644 --- a/public/docs/_app/immutable/chunks/DirectiveTag.CatMG0Eh.js +++ b/public/docs/_app/immutable/chunks/DirectiveTag.BPf_LInC.js @@ -1 +1 @@ -import{s as b,q as v,l as p,d as m,e as L,f as O,g as U,k as $,t as g,j as h,o as y}from"./scheduler.Eaj42bxH.js";import{S as E,i as V,t as d,b as _,c as D,a as A,m as S,d as j}from"./index.CMSEJhCx.js";import{s as B,i as I,u as T,j as w,k as q,K as l}from"./pages.ChwmMHwd.js";import{T as x}from"./PreviousNextPage.BXHMl56p.js";import{T as C}from"./ArgsList.Df6dyhFf.js";function J(s){let n,a;return n=new x({props:{type:"blue",$$slots:{default:[P]},$$scope:{ctx:s}}}),{c(){D(n.$$.fragment)},l(i){A(n.$$.fragment,i)},m(i,e){S(n,i,e),a=!0},p(i,e){const t={};e&67&&(t.$$scope={dirty:e,ctx:i}),n.$set(t)},i(i){a||(d(n.$$.fragment,i),a=!0)},o(i){_(n.$$.fragment,i),a=!1},d(i){j(n,i)}}}function K(s){let n,a=s[0].name.value+"",i;return{c(){n=g("@"),i=g(a)},l(e){n=h(e,"@"),i=h(e,a)},m(e,t){p(e,n,t),p(e,i,t)},p(e,t){t&1&&a!==(a=e[0].name.value+"")&&y(i,a)},d(e){e&&(m(n),m(i))}}}function P(s){let n,a,i,e;return a=new C({props:{tooltipText:s[1],direction:"top",align:"center",$$slots:{default:[K]},$$scope:{ctx:s}}}),{c(){n=L("a"),D(a.$$.fragment),this.h()},l(t){n=O(t,"A",{href:!0,class:!0});var r=U(n);A(a.$$.fragment,r),r.forEach(m),this.h()},h(){$(n,"href",i=T.joinUrlPaths(w(),`/directives/${s[0].name.value}`)),$(n,"class","override-tooltip-width svelte-a6h330")},m(t,r){p(t,n,r),S(a,n,null),e=!0},p(t,r){const u={};r&2&&(u.tooltipText=t[1]),r&65&&(u.$$scope={dirty:r,ctx:t}),a.$set(u),(!e||r&1&&i!==(i=T.joinUrlPaths(w(),`/directives/${t[0].name.value}`)))&&$(n,"href",i)},i(t){e||(d(a.$$.fragment,t),e=!0)},o(t){_(a.$$.fragment,t),e=!1},d(t){t&&m(n),j(a)}}}function R(s){let n=s[2](),a,i,e=n&&J(s);return{c(){e&&e.c(),a=v()},l(t){e&&e.l(t),a=v()},m(t,r){e&&e.m(t,r),p(t,a,r),i=!0},p(t,[r]){n&&e.p(t,r)},i(t){i||(d(e),i=!0)},o(t){_(e),i=!1},d(t){t&&m(a),e&&e.d(t)}}}function F(s,n,a){let{directive:i}=n,e,t;function r(o){switch(o.kind){case l.INT:case l.BOOLEAN:case l.FLOAT:return String(o.value);case l.STRING:case l.ENUM:return`"${o.value}"`;case l.NULL:return"null";case l.LIST:return`[${o.values.map(r).join(", ")}]`;case l.OBJECT:return`{${o.fields.map(c=>`${c.name.value}: ${r(c.value)}`).join(", ")}}`}}function u(){return!!e&&q(e)}function k(o,c){const f=c.find(N=>N.name.value===o.name);return f?r(f.value):JSON.stringify(o.defaultValue)}return s.$$set=o=>{"directive"in o&&a(0,i=o.directive)},s.$$.update=()=>{if(s.$$.dirty&1&&a(3,e=B.getDirective(i.name.value)),s.$$.dirty&9){let o=`@${i.name.value}`;const c=e?I(e):[];c.length>0&&(o+=`(${c.map(f=>`${f.name}: ${k(f,i.arguments||[])}`).join(", ")})`),a(1,t=o.trim())}},[i,t,u,e]}class W extends E{constructor(n){super(),V(this,n,F,R,b,{directive:0})}}export{W as D}; +import{s as b,q as v,l as p,d as m,e as L,f as O,g as U,k as $,t as g,j as h,o as y}from"./scheduler.Eaj42bxH.js";import{S as E,i as V,t as d,b as _,c as D,a as A,m as S,d as j}from"./index.CMSEJhCx.js";import{s as B,i as I,u as T,j as w,k as q,K as l}from"./pages.CneCpNB9.js";import{T as x}from"./PreviousNextPage.CfYtgLwe.js";import{T as C}from"./ArgsList._Wal39Gh.js";function J(s){let n,a;return n=new x({props:{type:"blue",$$slots:{default:[P]},$$scope:{ctx:s}}}),{c(){D(n.$$.fragment)},l(i){A(n.$$.fragment,i)},m(i,e){S(n,i,e),a=!0},p(i,e){const t={};e&67&&(t.$$scope={dirty:e,ctx:i}),n.$set(t)},i(i){a||(d(n.$$.fragment,i),a=!0)},o(i){_(n.$$.fragment,i),a=!1},d(i){j(n,i)}}}function K(s){let n,a=s[0].name.value+"",i;return{c(){n=g("@"),i=g(a)},l(e){n=h(e,"@"),i=h(e,a)},m(e,t){p(e,n,t),p(e,i,t)},p(e,t){t&1&&a!==(a=e[0].name.value+"")&&y(i,a)},d(e){e&&(m(n),m(i))}}}function P(s){let n,a,i,e;return a=new C({props:{tooltipText:s[1],direction:"top",align:"center",$$slots:{default:[K]},$$scope:{ctx:s}}}),{c(){n=L("a"),D(a.$$.fragment),this.h()},l(t){n=O(t,"A",{href:!0,class:!0});var r=U(n);A(a.$$.fragment,r),r.forEach(m),this.h()},h(){$(n,"href",i=T.joinUrlPaths(w(),`/directives/${s[0].name.value}`)),$(n,"class","override-tooltip-width svelte-a6h330")},m(t,r){p(t,n,r),S(a,n,null),e=!0},p(t,r){const u={};r&2&&(u.tooltipText=t[1]),r&65&&(u.$$scope={dirty:r,ctx:t}),a.$set(u),(!e||r&1&&i!==(i=T.joinUrlPaths(w(),`/directives/${t[0].name.value}`)))&&$(n,"href",i)},i(t){e||(d(a.$$.fragment,t),e=!0)},o(t){_(a.$$.fragment,t),e=!1},d(t){t&&m(n),j(a)}}}function R(s){let n=s[2](),a,i,e=n&&J(s);return{c(){e&&e.c(),a=v()},l(t){e&&e.l(t),a=v()},m(t,r){e&&e.m(t,r),p(t,a,r),i=!0},p(t,[r]){n&&e.p(t,r)},i(t){i||(d(e),i=!0)},o(t){_(e),i=!1},d(t){t&&m(a),e&&e.d(t)}}}function F(s,n,a){let{directive:i}=n,e,t;function r(o){switch(o.kind){case l.INT:case l.BOOLEAN:case l.FLOAT:return String(o.value);case l.STRING:case l.ENUM:return`"${o.value}"`;case l.NULL:return"null";case l.LIST:return`[${o.values.map(r).join(", ")}]`;case l.OBJECT:return`{${o.fields.map(c=>`${c.name.value}: ${r(c.value)}`).join(", ")}}`}}function u(){return!!e&&q(e)}function k(o,c){const f=c.find(N=>N.name.value===o.name);return f?r(f.value):JSON.stringify(o.defaultValue)}return s.$$set=o=>{"directive"in o&&a(0,i=o.directive)},s.$$.update=()=>{if(s.$$.dirty&1&&a(3,e=B.getDirective(i.name.value)),s.$$.dirty&9){let o=`@${i.name.value}`;const c=e?I(e):[];c.length>0&&(o+=`(${c.map(f=>`${f.name}: ${k(f,i.arguments||[])}`).join(", ")})`),a(1,t=o.trim())}},[i,t,u,e]}class W extends E{constructor(n){super(),V(this,n,F,R,b,{directive:0})}}export{W as D}; diff --git a/public/docs/_app/immutable/chunks/FieldDetails.DWhCirQ6.js b/public/docs/_app/immutable/chunks/FieldDetails.DJtFDuFW.js similarity index 99% rename from public/docs/_app/immutable/chunks/FieldDetails.DWhCirQ6.js rename to public/docs/_app/immutable/chunks/FieldDetails.DJtFDuFW.js index 8d6c86b..0bda254 100644 --- a/public/docs/_app/immutable/chunks/FieldDetails.DWhCirQ6.js +++ b/public/docs/_app/immutable/chunks/FieldDetails.DJtFDuFW.js @@ -1,4 +1,4 @@ -var Fu=Object.defineProperty;var gu=(e,t,n)=>t in e?Fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ee=(e,t,n)=>(gu(e,typeof t!="symbol"?t+"":t,n),n);import{a8 as Eu,a9 as yu,X as _t,T as vu,s as ye,v as X,a4 as M,a5 as V,g as $,d as E,k as H,a6 as Fe,l as k,m as I,n as A,u as ge,w as Ee,t as ae,j as se,o as Pe,e as Ge,b as G,f as ze,c as z,p as Vr,q as le,L as Cu,D as bu,a7 as _u,a2 as Au}from"./scheduler.Eaj42bxH.js";import{g as $e,b,e as xe,t as v,S as ve,i as Ce,c as T,a as S,m as B,d as O,f as ku}from"./index.CMSEJhCx.js";import{l as Et,_ as re,M as wu,t as bn,r as Ot,J as Ur,q as qr,F as Nu,E as Tu,N as _n,H as Dn,I as Gr,G as zr,O as Su,x as Bu,y as Gn}from"./pages.ChwmMHwd.js";import{w as Ou}from"./index.Cx9QXIn7.js";import{e as Iu,f as $u,g as Xt,h as Zt,T as xu,I as Lu,C as Kr,A as It}from"./PreviousNextPage.BXHMl56p.js";import"./prism-json.CMKj7kFV.js";import{B as At}from"./Button.CYh10Gys.js";import{A as Ru,b as Pu}from"./ArgsList.Df6dyhFf.js";import{D as ju}from"./DirectiveTag.CatMG0Eh.js";function $t(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&&($e(),b(d,1,1,()=>{t.blocks[D]===d&&(t.blocks[D]=null)}),xe())}):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&&vu()}if(Eu(e)){const i=yu();if(e.then(u=>{_t(i),r(t.then,1,t.value,u),_t(null)},u=>{if(_t(i),r(t.catch,2,t.error,u),_t(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 Yr(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=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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Mu(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class Uu extends ve{constructor(t){super(),Ce(this,t,Vu,Mu,ye,{size:0,title:1})}}function Kn(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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function qu(e){let t,n,r,i=e[1]&&Kn(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class zu extends ve{constructor(t){super(),Ce(this,t,Gu,qu,ye,{size:0,title:1})}}function Yn(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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ku(e){let t,n,r,i=e[1]&&Yn(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class Jn extends ve{constructor(t){super(),Ce(this,t,Yu,Ku,ye,{size:0,title:1})}}function Wn(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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ju(e){let t,n,r,i,u=e[1]&&Wn(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class Hn extends ve{constructor(t){super(),Ce(this,t,Wu,Ju,ye,{size:0,title:1})}}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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Hu(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class Xu extends ve{constructor(t){super(),Ce(this,t,Qu,Hu,ye,{size:0,title:1})}}var Q;(function(e){e.NEVER_NULL="never",e.ALWAYS_NULL="always",e.SOMETIMES_NULL="sometimes"})(Q||(Q={}));class Jr extends Error{constructor(n,r){super(r);ee(this,"type");this.type=n}}var Zu=Object.defineProperty,Wr=(e,t)=>{for(var n in t)Zu(e,n,{get:t[n],enumerable:!0})},Hr={};Wr(Hr,{languages:()=>Ma,options:()=>qa,parsers:()=>ui,printers:()=>ws});var ea=(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)},en=ea,ta="indent",na="group",ra="if-break",An="line",ia="break-parent",ua=()=>{},aa=ua;function te(e){return{type:ta,contents:e}}function oe(e,t={}){return aa(t.expandedStates),{type:na,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function he(e,t="",n={}){return{type:ra,breakContents:e,flatContents:t,groupId:n.groupId}}var sa={type:ia},oa={type:An,hard:!0},it={type:An},x={type:An,soft:!0},R=[oa,sa];function K(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&&at in e?Fu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ee=(e,t,n)=>(gu(e,typeof t!="symbol"?t+"":t,n),n);import{a8 as Eu,a9 as yu,X as _t,T as vu,s as ye,v as X,a4 as M,a5 as V,g as $,d as E,k as H,a6 as Fe,l as k,m as I,n as A,u as ge,w as Ee,t as ae,j as se,o as Pe,e as Ge,b as G,f as ze,c as z,p as Vr,q as le,L as Cu,D as bu,a7 as _u,a2 as Au}from"./scheduler.Eaj42bxH.js";import{g as $e,b,e as xe,t as v,S as ve,i as Ce,c as T,a as S,m as B,d as O,f as ku}from"./index.CMSEJhCx.js";import{l as Et,_ as re,M as wu,t as bn,r as Ot,J as Ur,q as qr,F as Nu,E as Tu,N as _n,H as Dn,I as Gr,G as zr,O as Su,x as Bu,y as Gn}from"./pages.CneCpNB9.js";import{w as Ou}from"./index.Cx9QXIn7.js";import{e as Iu,f as $u,g as Xt,h as Zt,T as xu,I as Lu,C as Kr,A as It}from"./PreviousNextPage.CfYtgLwe.js";import"./prism-json.CMKj7kFV.js";import{B as At}from"./Button.DKunqQyO.js";import{A as Ru,b as Pu}from"./ArgsList._Wal39Gh.js";import{D as ju}from"./DirectiveTag.BPf_LInC.js";function $t(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&&($e(),b(d,1,1,()=>{t.blocks[D]===d&&(t.blocks[D]=null)}),xe())}):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&&vu()}if(Eu(e)){const i=yu();if(e.then(u=>{_t(i),r(t.then,1,t.value,u),_t(null)},u=>{if(_t(i),r(t.catch,2,t.error,u),_t(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 Yr(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=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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Mu(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class Uu extends ve{constructor(t){super(),Ce(this,t,Vu,Mu,ye,{size:0,title:1})}}function Kn(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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function qu(e){let t,n,r,i=e[1]&&Kn(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class zu extends ve{constructor(t){super(),Ce(this,t,Gu,qu,ye,{size:0,title:1})}}function Yn(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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ku(e){let t,n,r,i=e[1]&&Yn(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class Jn extends ve{constructor(t){super(),Ce(this,t,Yu,Ku,ye,{size:0,title:1})}}function Wn(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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Ju(e){let t,n,r,i,u=e[1]&&Wn(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class Hn extends ve{constructor(t){super(),Ce(this,t,Wu,Ju,ye,{size:0,title:1})}}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){k(r,t,i),I(t,n)},p(r,i){i&2&&Pe(n,r[1])},d(r){r&&E(t)}}}function Hu(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=X(X({},t),Ee(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=Ee(t),[s,o,i,a,r]}class Xu extends ve{constructor(t){super(),Ce(this,t,Qu,Hu,ye,{size:0,title:1})}}var Q;(function(e){e.NEVER_NULL="never",e.ALWAYS_NULL="always",e.SOMETIMES_NULL="sometimes"})(Q||(Q={}));class Jr extends Error{constructor(n,r){super(r);ee(this,"type");this.type=n}}var Zu=Object.defineProperty,Wr=(e,t)=>{for(var n in t)Zu(e,n,{get:t[n],enumerable:!0})},Hr={};Wr(Hr,{languages:()=>Ma,options:()=>qa,parsers:()=>ui,printers:()=>ws});var ea=(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)},en=ea,ta="indent",na="group",ra="if-break",An="line",ia="break-parent",ua=()=>{},aa=ua;function te(e){return{type:ta,contents:e}}function oe(e,t={}){return aa(t.expandedStates),{type:na,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function he(e,t="",n={}){return{type:ra,breakContents:e,flatContents:t,groupId:n.groupId}}var sa={type:ia},oa={type:An,hard:!0},it={type:An},x={type:An,soft:!0},R=[oa,sa];function K(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&&ah.classList.remove(w)),c&&(h.classList.add(`language-${c}`),h.classList.add("prism--code")),Fe.highlightElement(h)}function _(h){Ue[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&&Fe&&f(u,t,l)},[r,s,o,a,u,t,l,_]}class yt extends Z{constructor(e){super(),U(this,e,Xt,Qt,W,{language:5,source:6,showLineNumbers:0,showCopyButton:1,minHeight:2,maxHeight:3})}}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 xt(i){let e,n,t=i[1]&&je(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=S(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 el extends Z{constructor(e){super(),U(this,e,$t,xt,W,{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 tl(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=S(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 nl extends Z{constructor(e){super(),U(this,e,ll,tl,W,{size:0,title:1})}}function il(i){let e,n;return e=new yt({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){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 sl(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 rl extends Z{constructor(e){super(),U(this,e,sl,il,W,{showCopyButton:0,showLineNumbers:1,token:2})}}function ol(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 al(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class ul extends Z{constructor(e){super(),U(this,e,al,ol,W,{})}}function fl(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 cl(i){let e,n;return e=new ul({props:{$$slots:{default:[fl]},$$scope:{ctx:i}}}),{c(){F(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 dl(i,e,n){let{token:t}=e;return i.$$set=l=>{"token"in l&&n(0,t=l.token)},[t]}class hl extends Z{constructor(e){super(),U(this,e,dl,cl,W,{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 ml(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=S(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 gl extends Z{constructor(e){super(),U(this,e,_l,ml,W,{size:0,title:1})}}const bl=gl;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 vl(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=S(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 wl extends Z{constructor(e){super(),U(this,e,kl,vl,W,{size:0,title:1})}}const pl=wl;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 El(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=S(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(),U(this,e,Ml,El,W,{size:0,title:1})}}const zl=Cl;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 Bl(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=S(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 Dl extends Z{constructor(e){super(),U(this,e,Al,Bl,W,{size:0,title:1})}}const Nl=Dl;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 Il(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=S(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(),U(this,e,Ll,Il,W,{size:0,title:1})}}const Tl=Pl;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 Hl(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=S(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 Sl extends Z{constructor(e){super(),U(this,e,Rl,Hl,W,{size:0,title:1})}}const Vl=Sl;function Wl(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&&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)),F(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 Zl(i,e,n){let{kind:t="error"}=e,{notificationType:l="toast"}=e,{iconDescription:r}=e;const s={error:pl,"info-square":Nl,info:zl,success:bl,warning:Tl,"warning-alt":Vl};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 Ul extends Z{constructor(e){super(),U(this,e,Zl,Wl,W,{kind:0,notificationType:1,iconDescription:2})}}const Yl=Ul;function Fl(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)),F(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 ql(i,e,n){const t=["notificationType","icon","title","iconDescription"];let l=S(e,t),{notificationType:r="toast"}=e,{icon:s=Tt}=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=S(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 jl extends Z{constructor(e){super(),U(this,e,ql,Fl,W,{notificationType:0,icon:1,title:2,iconDescription:3})}}const Ol=jl,Gl=i=>({}),xe=i=>({}),Jl=i=>({}),$e=i=>({}),Kl=i=>({}),et=i=>({});function tt(i){let e,n,t,l,r,s,o,a,u,f,_,h,c,g;t=new Yl({props:{notificationType:"inline",kind:i[0],iconDescription:i[6]}});const w=i[13].title,R=$(w,i,i[12],et),V=R||Ql(i),I=i[13].subtitle,D=$(I,i,i[12],$e),B=D||Xl(i),K=i[13].default,Q=$(K,i,i[12],null),_e=i[13].actions,H=$(_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(V,v),b(B,v),b(Q,v),b(H,v),b(ne),h=!0)},o(v){k(t.$$.fragment,v),k(V,v),k(B,v),k(Q,v),k(H,v),k(ne),h=!1},d(v){v&&m(e),j(t),V&&V.d(v),B&&B.d(v),Q&&Q.d(v),H&&H.d(v),ne&&ne.d(),c=!1,be(g)}}}function Ql(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 Xl(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 Ol({props:{iconDescription:i[7],notificationType:"inline"}}),e.$on("click",i[9]),{c(){F(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 yl(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 xl(i,e,n){const t=["kind","lowContrast","timeout","role","title","subtitle","hideCloseButton","statusIconDescription","closeButtonDescription"];let l=S(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=Pe();let V=!0,I;function D(H){R("close",{timeout:H===!0},{cancelable:!0})&&n(8,V=!1)}Zt(()=>(u&&(I=setTimeout(()=>D(!0),u)),()=>{clearTimeout(I)}));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)}return i.$$set=H=>{e=C(C({},e),X(H)),n(10,l=S(e,t)),"kind"in H&&n(0,o=H.kind),"lowContrast"in H&&n(1,a=H.lowContrast),"timeout"in H&&n(11,u=H.timeout),"role"in H&&n(2,f=H.role),"title"in H&&n(3,_=H.title),"subtitle"in H&&n(4,h=H.subtitle),"hideCloseButton"in H&&n(5,c=H.hideCloseButton),"statusIconDescription"in H&&n(6,g=H.statusIconDescription),"closeButtonDescription"in H&&n(7,w=H.closeButtonDescription),"$$scope"in H&&n(12,s=H.$$scope)},[o,a,f,_,h,c,g,w,V,D,l,u,s,r,B,K,Q,_e]}class $l extends Z{constructor(e){super(),U(this,e,xl,yl,W,{kind:0,lowContrast:1,timeout:11,role:2,title:3,subtitle:4,hideCloseButton:5,statusIconDescription:6,closeButtonDescription:7})}}function en(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 tn(i){let e,n;return e=new $l({props:{kind:i[0].style,lowContrast:!0,hideCloseButton:!0,$$slots:{default:[en]},$$scope:{ctx:i}}}),{c(){F(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 ln(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(),U(this,e,ln,tn,W,{token:0})}}function nn(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 sn(i){let e,n;return e=new Ht({props:{token:{type:"notification",raw:i[0].raw,style:"info",tokens:i[0].tokens},$$slots:{default:[nn]},$$scope:{ctx:i}}}),{c(){F(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 rn(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 on extends Z{constructor(e){super(),U(this,e,rn,sn,W,{token:0})}}function an(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 un(i){let e,n;return e=new qt({props:{href:nt(i[0].href)?Ze.joinUrlPaths(i[1].baseUrl,i[0].href):i[0].href,title:i[0].title,$$slots:{default:[an]},$$scope:{ctx:i}}}),{c(){F(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=nt(t[0].href)?Ze.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 nt(i){return i.startsWith("/")||i.startsWith("#")}function fn(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 cn extends Z{constructor(e){super(),U(this,e,fn,un,W,{token:0,options:1})}}function dn(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 hn(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(0,l=r.$$scope)},[l,t]}class mn extends Z{constructor(e){super(),U(this,e,hn,dn,W,{})}}function _n(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 V(I){A.call(this,i,I)}return i.$$set=I=>{e=C(C({},e),X(I)),n(4,l=S(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,V]}class bn extends Z{constructor(e){super(),U(this,e,gn,_n,W,{selected:5,condensed:0,flush:1,selection:2})}}function vn(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=S(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class wn extends Z{constructor(e){super(),U(this,e,kn,vn,W,{})}}function pn(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=S(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 Rt extends Z{constructor(e){super(),U(this,e,En,pn,W,{head:0,noWrap:1})}}function Mn(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=S(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class zn extends Z{constructor(e){super(),U(this,e,Cn,Mn,W,{})}}function Bn(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 Nn(i,e,n){const t=["head","label","tabindex"];let l=S(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 V(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=S(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,V,I]}class St extends Z{constructor(e){super(),U(this,e,Nn,Dn,W,{head:0,label:1,tabindex:2})}}function it(i,e,n){const t=i.slice();return t[3]=e[n],t}function st(i,e,n){const t=i.slice();return t[6]=e[n],t}function rt(i,e,n){const t=i.slice();return t[9]=e[n],t}function In(i){let e,n,t;return e=new Ye({props:{tokens:i[9].tokens,options:i[1],renderers:i[2]}}),{c(){F(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 ot(i){let e,n;return e=new Rt({props:{head:!0,$$slots:{default:[In]},$$scope:{ctx:i}}}),{c(){F(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 Ln(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 Zn extends Z{constructor(e){super(),U(this,e,Wn,Vn,W,{token:0,options:1,renderers:2})}}function Un(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=S(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 Fn extends Z{constructor(e){super(),U(this,e,Yn,Un,W,{nested:0,native:1,expressive:2})}}const Vt=Fn;function qn(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=S(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 On extends Z{constructor(e){super(),U(this,e,jn,qn,W,{nested:0,expressive:1})}}const Wt=On;function Gn(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 Jn(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:[Gn]},$$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&&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)),F(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 Kn(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?Vt:Wt)},[r,o,s,t,l]}class Qn extends Z{constructor(e){super(),U(this,e,Kn,Jn,W,{start:0,ordered:2})}}function ft(i,e,n){const t=i.slice();return t[4]=e[n],t}function ct(i){let e,n;return e=new Ot({props:{token:{...i[4]},options:i[1],renderers:i[2]}}),{c(){F(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 Xn(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 $n extends Z{constructor(e){super(),U(this,e,xn,yn,W,{token:0,options:1,renderers:2})}}function ei(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=S(e,t)),"$$scope"in _&&n(1,s=_.$$scope)},[l,s,r,o,a,u,f]}class li extends Z{constructor(e){super(),U(this,e,ti,ei,W,{})}}function ni(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 ii(i){let e,n;return e=new li({props:{class:"markdown-list-item",$$slots:{default:[ni]},$$scope:{ctx:i}}}),{c(){F(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 si(i,e,n){let{$$slots:t={},$$scope:l}=e;return i.$$set=r=>{"$$scope"in r&&n(1,l=r.$$scope)},[t,l]}class ri extends Z{constructor(e){super(),U(this,e,si,ii,W,{})}}function oi(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 ai(i){let e,n,t,l,r,s;const o=i[15].default,a=$(o,i,i[14],null),u=a||oi(i);let f=[{tabindex:"-1"},{role:"presentation"},i[12]],_={};for(let h=0;hn(13,s=v)),Me(i,V,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 H(v){A.call(this,i,v)}function ne(v){Ue[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=S(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,V,D,B,r,s,u,a,K,Q,_e,H,ne,ke,ge]}class fi extends Z{constructor(e){super(),U(this,e,ui,ai,W,{label:1,href:2,disabled:3,tabindex:4,id:5,ref:0})}}const ci=fi;function di(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,V,I=>n(9,u=I)),w({id:c}),i.$$set=I=>{e=C(C({},e),X(I)),n(6,o=S(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,V,o,l,a,u,f,h,_]}class mi extends Z{constructor(e){super(),U(this,e,hi,di,W,{id:0})}}const _i=i=>({}),dt=i=>({});function ht(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 gi(i){let e,n,t,l,r,s,o,a,u,f,_,h,c=i[3]&&ht(i);r=new jt({props:{"aria-hidden":"true",title:i[1]}});const g=i[20].default,w=$(g,i,i[19],null);let R=[{role:"navigation"},i[10]],V={};for(let B=0;Bn(18,u=Y));const B=qe(D,Y=>Y.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{}));Me(i,B,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 H=qe(_e,Y=>Y.reduce((ae,ze)=>({...ae,[ze.id]:ze}),{})),ne=Ne(void 0);let ke=null;Lt("Tabs",{tabs:D,contentById:H,selectedTab:Q,selectedContent:ne,useAutoWidth:K,add:Y=>{D.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 Ut();const He=ke==null?void 0:ke.querySelectorAll("[role='tab']")[v];He==null||He.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){A.call(this,i,Y)}function Ee(Y){A.call(this,i,Y)}const Ae=()=>{n(5,ge=!ge)},De=()=>{n(5,ge=!ge)},Te=()=>{n(5,ge=!ge)};function T(Y){Ue[Y?"unshift":"push"](()=>{ke=Y,n(4,ke)})}return i.$$set=Y=>{n(11,e=C(C({},e),X(Y))),n(10,s=S(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,V=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,V,t,ke,ge,D,B,Q,_e,s,e,c,w,v,l,o,a,u,h,_,pe,Ee,Ae,De,Te,T]}class vi extends Z{constructor(e){super(),U(this,e,bi,gi,W,{selected:12,type:0,autoWidth:13,iconDescription:1,triggerHref:2},null,[-1,-1])}}function mt(i,e,n){const t=i.slice();return t[3]=e[n],t}function _t(i,e,n){const t=i.slice();return t[3]=e[n],t}function gt(i){let e,n;return e=new ci({props:{label:i[3].title}}),{c(){F(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 ki(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 Ci extends Z{constructor(e){super(),U(this,e,Mi,Ei,W,{token:0,options:1,renderers:2})}}function zi(i){let e,n,t,l=[i[1]],r={};for(let s=0;s{e=C(C({},e),X(f)),n(1,l=S(e,t)),"size"in f&&n(0,r=f.size)},[r,l,s,o,a,u]}class Ai extends Z{constructor(e){super(),U(this,e,Bi,zi,W,{size:0})}}const Di=i=>({}),vt=i=>({}),Ni=i=>({}),kt=i=>({}),Ii=i=>({}),wt=i=>({props:{class:"bx--tag__label"}});function Li(i){let e,n,t,l,r,s,o=(i[11].icon||i[7])&&pt(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 Pi(i){let e,n,t,l,r,s,o,a=(i[11].icon||i[7])&&Et(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=Et(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 Ti(i){let e,n,t,l,r,s,o;const a=i[13].default,u=$(a,i,i[12],wt),f=u||Vi(i);l=new Tt({});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&&f.c(),n=ue(),t=L("button"),F(l.$$.fragment),this.h()},l(c){e=P(c,"DIV",{"aria-label":!0,id:!0});var g=p(e);f&&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&&f.m(e,null),N(e,n),N(e,t),q(l,t,null),r=!0,s||(o=[z(t,"click",Ve(i[14])),z(t,"click",Ve(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,Ii):te(c[12]),wt):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),j(l),s=!1,be(o)}}}function Hi(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()),F(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 Et(i){let e,n;const t=i[13].icon,l=$(t,i,i[12],kt),r=l||Si(i);return{c(){e=L("div"),r&&r.c(),this.h()},l(s){e=P(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,Ni):te(s[12]),kt):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 Si(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&&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()),F(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 Vi(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 Wi(i){let e,n,t,l;const r=[Hi,Ti,Pi,Li],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 Zi(i,e,n){const t=["type","size","filter","disabled","interactive","skeleton","title","icon","id"];let l=S(e,t),{$$slots:r={},$$scope:s}=e;const o=Ft(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 V=Pe();function I(T){A.call(this,i,T)}function D(T){A.call(this,i,T)}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)}function H(T){A.call(this,i,T)}function ne(T){A.call(this,i,T)}function ke(T){A.call(this,i,T)}function ge(T){A.call(this,i,T)}function v(T){A.call(this,i,T)}function J(T){A.call(this,i,T)}function pe(T){A.call(this,i,T)}function Ee(T){A.call(this,i,T)}function Ae(T){A.call(this,i,T)}function De(T){A.call(this,i,T)}const Te=()=>{V("close")};return i.$$set=T=>{e=C(C({},e),X(T)),n(10,l=S(e,t)),"type"in T&&n(0,a=T.type),"size"in T&&n(1,u=T.size),"filter"in T&&n(2,f=T.filter),"disabled"in T&&n(3,_=T.disabled),"interactive"in T&&n(4,h=T.interactive),"skeleton"in T&&n(5,c=T.skeleton),"title"in T&&n(6,g=T.title),"icon"in T&&n(7,w=T.icon),"id"in T&&n(8,R=T.id),"$$scope"in T&&n(12,s=T.$$scope)},[a,u,f,_,h,c,g,w,R,V,l,o,s,r,I,D,B,K,Q,_e,H,ne,ke,ge,v,J,pe,Ee,Ae,De,Te]}class Ui extends Z{constructor(e){super(),U(this,e,Zi,Wi,W,{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 Yi(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 Ct(i){let e,n;return e=new Ui({props:{type:i[0].colors[i[3]%i[0].colors.length],$$slots:{default:[Yi]},$$scope:{ctx:i}}}),{c(){F(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 Fi(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 ji extends Z{constructor(e){super(),U(this,e,qi,Fi,W,{token:0})}}function Re(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&&zt(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?W(n,`h${o[1]}`)?(r.d(1),r=Re(o),n=`h${o[1]}`,r.c(),r.m(e,t)):r.p(o,a):(r=Re(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=zt(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 Gi(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 Ji extends Z{constructor(e){super(),U(this,e,Gi,Oi,W,{id:0,depth:1})}}function Ki(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 Qi(i){let e,n;return e=new Ji({props:{id:i[1],depth:i[0].depth,$$slots:{default:[Ki]},$$scope:{ctx:i}}}),{c(){F(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 Xi(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=Ze.generatePathSegment(r.text,s.slugger))},[r,o,s,t,l]}class yi extends Z{constructor(e){super(),U(this,e,Xi,Qi,W,{token:0,options:2})}}function Bt(i){let e,n;return e=new Kt({props:{source:i[0],renderers:{heading:yi,code:rl,codespan:hl,blockquote:on,link:cn,paragraph:mn,table:Zn,list:$n,list_item:ri,tabs:Ci,notification:Ht,tags:ji},options:{baseUrl:i[1]}}}),{c(){F(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 xi(i){let e,n,t=i[0]&&Bt(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=Bt(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 $i(i,e,n){let{source:t}=e;const l=Jt();return i.$$set=r=>{"source"in r&&n(0,t=r.source)},[t,l]}class os extends Z{constructor(e){super(),U(this,e,$i,xi,W,{source:0})}}function At(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&&Dt(i);return o=new el({props:{class:"previous-next-arrow",size:20}}),{c(){e=L("div"),n=L("strong"),t=re(`Previous diff --git a/public/docs/_app/immutable/chunks/control.CMWtusoz.js b/public/docs/_app/immutable/chunks/control.CMWtusoz.js deleted file mode 100644 index 171cd0e..0000000 --- a/public/docs/_app/immutable/chunks/control.CMWtusoz.js +++ /dev/null @@ -1 +0,0 @@ -var r;const o=((r=globalThis.__sveltekit_1uf8adw)==null?void 0:r.base)??"/docs";var a;const c=((a=globalThis.__sveltekit_1uf8adw)==null?void 0:a.assets)??o;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,i){super(i),this.status=t,this.text=s}}export{l as H,h as R,n as S,c as a,o as b}; diff --git a/public/docs/_app/immutable/chunks/control.COmfC0IO.js b/public/docs/_app/immutable/chunks/control.COmfC0IO.js new file mode 100644 index 0000000..df1cb32 --- /dev/null +++ b/public/docs/_app/immutable/chunks/control.COmfC0IO.js @@ -0,0 +1 @@ +var r;const a=((r=globalThis.__sveltekit_1dt4lkq)==null?void 0:r.base)??"/docs";var i;const l=((i=globalThis.__sveltekit_1dt4lkq)==null?void 0:i.assets)??a;class c{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{c as H,h as R,n as S,l as a,a as b}; diff --git a/public/docs/_app/immutable/chunks/entry.Cc-JbSAl.js b/public/docs/_app/immutable/chunks/entry.DE3XoBKF.js similarity index 99% rename from public/docs/_app/immutable/chunks/entry.Cc-JbSAl.js rename to public/docs/_app/immutable/chunks/entry.DE3XoBKF.js index 2439cc4..ed69381 100644 --- a/public/docs/_app/immutable/chunks/entry.Cc-JbSAl.js +++ b/public/docs/_app/immutable/chunks/entry.DE3XoBKF.js @@ -1,3 +1,3 @@ -import{M as ot}from"./scheduler.Eaj42bxH.js";import{w as pe}from"./index.Cx9QXIn7.js";import{a as it,H as ne,S as ge,R as je,b as P}from"./control.CMWtusoz.js";new URL("sveltekit-internal://");function st(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function ct(e){return e.split("%25").map(decodeURI).join("%25")}function lt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ft=["href","pathname","search","toString","toJSON"];function ut(e,n,t){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return i=>(t(i),r[o](i));n();const s=Reflect.get(r,o);return typeof s=="function"?s.bind(r):s}}),enumerable:!0,configurable:!0});for(const r of ft)Object.defineProperty(a,r,{get(){return n(),e[r]},enumerable:!0,configurable:!0});return a}const dt="/__data.json",ht=".html__data.json";function pt(e){return e.endsWith(".html")?e.replace(/\.html$/,ht):e.replace(/\/$/,"")+dt}function gt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let a=t.length;for(;a;)n=n*33^t.charCodeAt(--a)}else if(ArrayBuffer.isView(t)){const a=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function mt(e){const n=atob(e),t=new Uint8Array(n.length);for(let a=0;a((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&M.delete(me(e)),De(e,n));const M=new Map;function _t(e,n){const t=me(e,n),a=document.querySelector(t);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const s=a.getAttribute("data-ttl");return s&&M.set(t,{body:r,init:o,ttl:1e3*Number(s)}),a.getAttribute("data-b64")!==null&&(r=mt(r)),Promise.resolve(new Response(r,o))}return window.fetch(e,n)}function wt(e,n,t){if(M.size>0){const a=me(e,t),r=M.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const s=a.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 u=yt.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?f===1&&s[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function bt(e){return!/^\([^)]+\)$/.test(e)}function Et(e){return e.slice(1).split("/").filter(bt)}function kt(e,n,t){const a={},r=e.slice(1),o=r.filter(i=>i!==void 0);let s=0;for(let i=0;iu).join("/"),s=0),f===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){a[c.name]=f;const u=n[i+1],h=r[i+1];u&&!u.rest&&u.optional&&h&&c.chained&&(s=0),!u&&!h&&Object.keys(a).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return a}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:a}){const r=new Set(n);return Object.entries(t).map(([i,[c,f,u]])=>{const{pattern:h,params:g}=vt(i),d={id:i,exec:_=>{const l=h.exec(_);if(l)return kt(l,g,a)},errors:[1,...u||[]].map(_=>e[_]),layouts:[0,...f||[]].map(s),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[r.has(i),e[i]]}}function $e(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const a=t(n);try{sessionStorage[e]=a}catch{}}const At="1713220636600",Ce="sveltekit:snapshot",Ve="sveltekit:scroll",Fe="sveltekit:states",Rt="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",W={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Me(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 _e(){return{x:pageXOffset,y:pageYOffset}}function O(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...W,"":W.hover};function Ge(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function He(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ge(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,r=!t||!!a||ae(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:r,target:a,download:o}}function z(e){let n=null,t=null,a=null,r=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)a===null&&(a=O(i,"preload-code")),r===null&&(r=O(i,"preload-data")),n===null&&(n=O(i,"keepfocus")),t===null&&(t=O(i,"noscroll")),o===null&&(o=O(i,"reload")),s===null&&(s=O(i,"replacestate")),i=Ge(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[a??"off"],preload_data:Le[r??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(s)}}function Pe(e){const n=pe(e);let t=!0;function a(){t=!0,n.update(s=>s)}function r(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:a,set:r,subscribe:o}}function It(){const{set:e,subscribe:n}=pe(!1);let t;async function a(){clearTimeout(t);try{const r=await fetch(`${it}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const s=(await r.json()).version!==At;return s&&(e(!0),clearTimeout(t)),s}catch{return!1}}return{subscribe:n,check:a}}function ae(e,n){return e.origin!==K||!e.pathname.startsWith(n)}const Lt=-1,Pt=-2,Ut=-3,Tt=-4,xt=-5,Nt=-6;function Ot(e,n){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,a=Array(t.length);function r(o,s=!1){if(o===Lt)return;if(o===Ut)return NaN;if(o===Tt)return 1/0;if(o===xt)return-1/0;if(o===Nt)return-0;if(s)throw new Error("Invalid input");if(o in a)return a[o];const i=t[o];if(!i||typeof i!="object")a[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 a[o]=f(r(i[1]));switch(c){case"Date":a[o]=new Date(i[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}const $t="x-sveltekit-invalidated",Ct="x-sveltekit-trailing-slash";function J(e){return e instanceof ne||e instanceof ge?e.status:500}function Vt(e){return e instanceof ge?e.text:"Internal Error"}const N=$e(Ve)??{},q=$e(Ce)??{},T={url:Pe({}),page:Pe({}),navigating:pe(null),updated:It()};function we(e){N[e]=_e()}function Ft(e,n){let t=e+1;for(;N[t];)delete N[t],t+=1;for(t=n+1;q[t];)delete q[t],t+=1}function C(e){return location.href=e.href,new Promise(()=>{})}function Ue(){}let re,de,X,U,he,V;const Be=[],Z=[];let R=null;const Ke=[],Mt=[];let j=[],w={branch:[],error:null,url:null},ye=!1,Q=!1,Te=!0,B=!1,F=!1,Ye=!1,ve=!1,be,S,L,I,ee;const G=new Set;async function en(e,n,t){var r,o;document.URL!==location.href&&(location.href=location.href),V=e,re=St(e),U=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),t?await zt(he,t):Yt(location.href,{replaceState:!0}),Wt()}function Gt(){Be.length=0,ve=!1}function We(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 ze(e){var n;(n=q[e])==null||n.forEach((t,a)=>{var r,o;(o=(r=Z[a])==null?void 0:r.snapshot)==null||o.restore(t)})}function xe(){we(S),Ie(Ve,N),We(L),Ie(Ce,q)}async function Je(e,n,t,a){return Y({type:"goto",url:Me(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:a,accept:()=>{n.invalidateAll&&(ve=!0)}})}async function Ht(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:Ze({...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=re.find(t=>t.exec(Qe(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function Xe(e,n,t){var o;w=e.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=e.props.page,be=new V.root({target:n,props:{...e.props,stores:T,components:Z},hydrate:t}),ze(L);const r={from:null,to:{params:w.params,route:{id:((o=w.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(s=>s(r)),Q=!0}async function te({url:e,params:n,branch:t,status:a,error:r,route:o,form:s}){let i="never";if(P&&(e.pathname===P||e.pathname===P+"/"))i="always";else for(const d of t)(d==null?void 0:d.slash)!==void 0&&(i=d.slash);e.pathname=st(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:r,route:o},props:{constructors:Dt(t).map(d=>d.node.component),page:I}};s!==void 0&&(c.props.form=s);let f={},u=!I,h=0;for(let d=0;d(i&&(c.route=!0),l[m])}),params:new Proxy(a,{get:(l,m)=>(i&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:ut(t,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={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,...m}):b=l;const A=new URL(b,t);return i&&d(A.href),A.origin===t.origin&&(b=A.href.slice(t.origin.length)),Q?wt(b,A.href,m):_t(b,m)},setHeaders:()=>{},depends:d,parent(){return i&&(c.parent=!0),n()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,_)??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,a,r,o){if(ve)return!0;if(!r)return!1;if(r.parent&&e||r.route&&n||r.url&&t)return!0;for(const s of r.search_params)if(a.has(s))return!0;for(const s of r.params)if(o[s]!==w.params[s])return!0;for(const s of r.dependencies)if(Be.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 qt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const a of t){const r=e.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(s=>o.includes(s))&&o.every(s=>r.includes(s))&&t.delete(a)}return t}function Oe({error:e,url:n,route:t,params:a}){return{type:"loaded",state:{error:e,url:n,route:t,params:a,branch:[]},props:{page:I,constructors:[]}}}async function Ze({id:e,invalidating:n,url:t,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:s,layouts:i,leaf:c}=r,f=[...i,c];s.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=w.url?e!==w.url.pathname+w.url.search:!1,g=w.route?r.id!==w.route.id:!1,d=qt(w.url,t);let _=!1;const l=f.map((p,v)=>{var x;const E=w.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||Ne(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(l.some(Boolean)){try{u=await nt(t,l)}catch(p){const v=await $(p,{url:t,params:a,route:{id:e}});return G.has(o)?Oe({error:v,url:t,params:a,route:r}):oe({status:J(p),error:v,url:t,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=f.map(async(p,v)=>{var ie;if(!p)return;const E=w.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!Ne(b,g,h,d,(ie=E.universal)==null?void 0:ie.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ee({loader:p[1],url:t,params:a,route:r,parent:async()=>{var Re;const Ae={};for(let se=0;se{});const y=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return await te({url:t,params:r,branch:[i,c],status:e,error:n,route:null})}function Se(e,n){if(!e||ae(e,P))return;let t;try{t=V.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const a=Qe(t);for(const r of re){const o=r.exec(a);if(o)return{id:e.pathname+e.search,invalidating:n,route:r,params:lt(o),url:e}}}function Qe(e){return ct(e.slice(P.length)||"/")}function et({url:e,type:n,intent:t,delta:a}){let r=!1;const o=rt(w,t,e,n);a!==void 0&&(o.navigation.delta=a);const s={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return B||Ke.forEach(i=>i(s)),r?null:o}async function Y({type:e,url:n,popped:t,keepfocus:a,noscroll:r,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Ue,block:u=Ue}){const h=Se(n,!1),g=et({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){u();return}const d=S,_=L;f(),B=!0,Q&&T.navigating.set(g.navigation),ee=c;let l=h&&await Ze(h);if(!l){if(ae(n,P))return await C(n);l=await tt(n,{id:null},await $(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 $(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Je(new URL(l.location,n).href,{},i+1,c),!1;else l.props.page.status>=400&&await T.updated.check()&&await C(n);if(Gt(),we(d),We(_),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),s=t?t.state:s,!t){const y=o?0:1,p={[D]:S+=y,[H]:L+=y,[Fe]:s};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Ft(S,L)}if(R=null,l.props.page.state=s,Q){w=l.state,l.props.page&&(l.props.page.url=n);const y=(await Promise.all(Mt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(y.length>0){let p=function(){j=j.filter(v=>!y.includes(v))};y.push(p),j.push(...y)}be.$set(l.props),Ye=!0}else Xe(l,he,!1);const{activeElement:m}=document;await ot();const b=t?t.scroll:r?_e():null;if(Te){const y=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):y?y.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&Jt(),Te=!0,l.props.page&&(I=l.props.page),B=!1,e==="popstate"&&ze(L),g.fulfil(void 0),j.forEach(y=>y(g.navigation)),T.navigating.set(null)}async function tt(e,n,t,a){return e.origin===K&&e.pathname===location.pathname&&!ye?await oe({status:a,error:t,url:e,route:n}):await C(e)}function Kt(){let e;U.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{a(s,2)},20)});function n(o){a(o.composedPath()[0],1)}U.addEventListener("mousedown",n),U.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 a(o,s){const i=He(o,U);if(!i)return;const{url:c,external:f,download:u}=ue(i,P);if(f||u)return;const h=z(i);if(!h.reload)if(s<=h.preload_data){const g=Se(c,!1);g&&Ht(g)}else s<=h.preload_code&&fe(c.pathname)}function r(){t.disconnect();for(const o of U.querySelectorAll("a")){const{url:s,external:i,download:c}=ue(o,P);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))}}j.push(r),r()}function $(e,n){if(e instanceof ne)return e.body;const t=J(e),a=Vt(e);return V.hooks.handleError({error:e,event:n,status:t,message:a})??{message:a}}function Yt(e,n={}){return e=Me(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):Je(e,n,0)}function Wt(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if(xe(),!B){const r=rt(w,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Ke.forEach(s=>s(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&xe()}),(n=navigator.connection)!=null&&n.saveData||Kt(),U.addEventListener("click",t=>{var g;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=He(t.composedPath()[0],U);if(!a)return;const{url:r,external:o,target:s,download:i}=ue(a,P);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=z(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;if(o||c.reload){et({url:r,type:"link"})?B=!0:t.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ce(location)){const[,d]=w.url.href.split("#");if(d===h){t.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(F=!0,we(S),e(r),!c.replace_state)return;F=!1}t.preventDefault(),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),U.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const s=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(ae(s,P))return;const i=t.target,c=z(i);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(i),u=r==null?void 0:r.getAttribute("name");u&&f.append(u,(r==null?void 0:r.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 a;if((a=t.state)!=null&&a[D]){const r=t.state[D];if(ee={},r===S)return;const o=N[r],s=t.state[Fe]??{},i=new URL(t.state[Rt]??location.href),c=t.state[H],f=ce(location)===ce(w.url);if(c===L&&(Ye||f)){e(i),N[S]=_e(),o&&scrollTo(o.x,o.y),s!==I.state&&(I={...I,state:s},be.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!F){const r=new URL(location.href);e(r)}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[D]:++S,[H]: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){w.url=t,T.page.set({...I,url:t}),T.page.notify()}}async function zt(e,{status:n=200,error:t,node_ids:a,params:r,route:o,data:s,form:i}){ye=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Se(c,!1)||{});let f;try{const u=a.map(async(d,_)=>{const l=s[_];return l!=null&&l.uses&&(l.uses=at(l.uses)),Ee({loader:V.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:ke(l)})}),h=await Promise.all(u),g=re.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await De(t.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new ne(a.status,o)}return new Promise(async o=>{var h;const s=new Map,i=a.body.getReader(),c=new TextDecoder;function f(g){return Ot(g,{Promise:d=>new Promise((_,l)=>{s.set(d,{fulfil:_,reject:l})})})}let u="";for(;;){const{done:g,value:d}=await i.read();if(g&&!u)break;for(u+=!d&&u?` +import{M as ot}from"./scheduler.Eaj42bxH.js";import{w as pe}from"./index.Cx9QXIn7.js";import{a as it,H as ne,S as ge,R as je,b as P}from"./control.COmfC0IO.js";new URL("sveltekit-internal://");function st(e,n){return e==="/"||n==="ignore"?e:n==="never"?e.endsWith("/")?e.slice(0,-1):e:n==="always"&&!e.endsWith("/")?e+"/":e}function ct(e){return e.split("%25").map(decodeURI).join("%25")}function lt(e){for(const n in e)e[n]=decodeURIComponent(e[n]);return e}function ce({href:e}){return e.split("#")[0]}const ft=["href","pathname","search","toString","toJSON"];function ut(e,n,t){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(r,o){if(o==="get"||o==="getAll"||o==="has")return i=>(t(i),r[o](i));n();const s=Reflect.get(r,o);return typeof s=="function"?s.bind(r):s}}),enumerable:!0,configurable:!0});for(const r of ft)Object.defineProperty(a,r,{get(){return n(),e[r]},enumerable:!0,configurable:!0});return a}const dt="/__data.json",ht=".html__data.json";function pt(e){return e.endsWith(".html")?e.replace(/\.html$/,ht):e.replace(/\/$/,"")+dt}function gt(...e){let n=5381;for(const t of e)if(typeof t=="string"){let a=t.length;for(;a;)n=n*33^t.charCodeAt(--a)}else if(ArrayBuffer.isView(t)){const a=new Uint8Array(t.buffer,t.byteOffset,t.byteLength);let r=a.length;for(;r;)n=n*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function mt(e){const n=atob(e),t=new Uint8Array(n.length);for(let a=0;a((e instanceof Request?e.method:(n==null?void 0:n.method)||"GET")!=="GET"&&M.delete(me(e)),De(e,n));const M=new Map;function _t(e,n){const t=me(e,n),a=document.querySelector(t);if(a!=null&&a.textContent){let{body:r,...o}=JSON.parse(a.textContent);const s=a.getAttribute("data-ttl");return s&&M.set(t,{body:r,init:o,ttl:1e3*Number(s)}),a.getAttribute("data-b64")!==null&&(r=mt(r)),Promise.resolve(new Response(r,o))}return window.fetch(e,n)}function wt(e,n,t){if(M.size>0){const a=me(e,t),r=M.get(a);if(r){if(performance.now(){const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return n.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const s=a.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 u=yt.exec(c),[,h,g,d,_]=u;return n.push({name:d,matcher:_,optional:!!h,rest:!!g,chained:g?f===1&&s[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return le(c)}).join("")}).join("")}/?$`),params:n}}function bt(e){return!/^\([^)]+\)$/.test(e)}function Et(e){return e.slice(1).split("/").filter(bt)}function kt(e,n,t){const a={},r=e.slice(1),o=r.filter(i=>i!==void 0);let s=0;for(let i=0;iu).join("/"),s=0),f===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||t[c.matcher](f)){a[c.name]=f;const u=n[i+1],h=r[i+1];u&&!u.rest&&u.optional&&h&&c.chained&&(s=0),!u&&!h&&Object.keys(a).length===o.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return a}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:a}){const r=new Set(n);return Object.entries(t).map(([i,[c,f,u]])=>{const{pattern:h,params:g}=vt(i),d={id:i,exec:_=>{const l=h.exec(_);if(l)return kt(l,g,a)},errors:[1,...u||[]].map(_=>e[_]),layouts:[0,...f||[]].map(s),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(i){const c=i<0;return c&&(i=~i),[c,e[i]]}function s(i){return i===void 0?i:[r.has(i),e[i]]}}function $e(e,n=JSON.parse){try{return n(sessionStorage[e])}catch{}}function Ie(e,n,t=JSON.stringify){const a=t(n);try{sessionStorage[e]=a}catch{}}const At="1713222341791",Ce="sveltekit:snapshot",Ve="sveltekit:scroll",Fe="sveltekit:states",Rt="sveltekit:pageurl",D="sveltekit:history",H="sveltekit:navigation",W={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},K=location.origin;function Me(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 _e(){return{x:pageXOffset,y:pageYOffset}}function O(e,n){return e.getAttribute(`data-sveltekit-${n}`)}const Le={...W,"":W.hover};function Ge(e){let n=e.assignedSlot??e.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function He(e,n){for(;e&&e!==n;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ge(e)}}function ue(e,n){let t;try{t=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,r=!t||!!a||ae(t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(t==null?void 0:t.origin)===K&&e.hasAttribute("download");return{url:t,external:r,target:a,download:o}}function z(e){let n=null,t=null,a=null,r=null,o=null,s=null,i=e;for(;i&&i!==document.documentElement;)a===null&&(a=O(i,"preload-code")),r===null&&(r=O(i,"preload-data")),n===null&&(n=O(i,"keepfocus")),t===null&&(t=O(i,"noscroll")),o===null&&(o=O(i,"reload")),s===null&&(s=O(i,"replacestate")),i=Ge(i);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Le[a??"off"],preload_data:Le[r??"off"],keepfocus:c(n),noscroll:c(t),reload:c(o),replace_state:c(s)}}function Pe(e){const n=pe(e);let t=!0;function a(){t=!0,n.update(s=>s)}function r(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:a,set:r,subscribe:o}}function It(){const{set:e,subscribe:n}=pe(!1);let t;async function a(){clearTimeout(t);try{const r=await fetch(`${it}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const s=(await r.json()).version!==At;return s&&(e(!0),clearTimeout(t)),s}catch{return!1}}return{subscribe:n,check:a}}function ae(e,n){return e.origin!==K||!e.pathname.startsWith(n)}const Lt=-1,Pt=-2,Ut=-3,Tt=-4,xt=-5,Nt=-6;function Ot(e,n){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const t=e,a=Array(t.length);function r(o,s=!1){if(o===Lt)return;if(o===Ut)return NaN;if(o===Tt)return 1/0;if(o===xt)return-1/0;if(o===Nt)return-0;if(s)throw new Error("Invalid input");if(o in a)return a[o];const i=t[o];if(!i||typeof i!="object")a[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 a[o]=f(r(i[1]));switch(c){case"Date":a[o]=new Date(i[1]);break;case"Set":const u=new Set;a[o]=u;for(let d=1;dn!=null)}const $t="x-sveltekit-invalidated",Ct="x-sveltekit-trailing-slash";function J(e){return e instanceof ne||e instanceof ge?e.status:500}function Vt(e){return e instanceof ge?e.text:"Internal Error"}const N=$e(Ve)??{},q=$e(Ce)??{},T={url:Pe({}),page:Pe({}),navigating:pe(null),updated:It()};function we(e){N[e]=_e()}function Ft(e,n){let t=e+1;for(;N[t];)delete N[t],t+=1;for(t=n+1;q[t];)delete q[t],t+=1}function C(e){return location.href=e.href,new Promise(()=>{})}function Ue(){}let re,de,X,U,he,V;const Be=[],Z=[];let R=null;const Ke=[],Mt=[];let j=[],w={branch:[],error:null,url:null},ye=!1,Q=!1,Te=!0,B=!1,F=!1,Ye=!1,ve=!1,be,S,L,I,ee;const G=new Set;async function en(e,n,t){var r,o;document.URL!==location.href&&(location.href=location.href),V=e,re=St(e),U=document.documentElement,he=n,de=e.nodes[0],X=e.nodes[1],de(),X(),S=(r=history.state)==null?void 0:r[D],L=(o=history.state)==null?void 0:o[H],S||(S=L=Date.now(),history.replaceState({...history.state,[D]:S,[H]:L},""));const a=N[S];a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y)),t?await zt(he,t):Yt(location.href,{replaceState:!0}),Wt()}function Gt(){Be.length=0,ve=!1}function We(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 ze(e){var n;(n=q[e])==null||n.forEach((t,a)=>{var r,o;(o=(r=Z[a])==null?void 0:r.snapshot)==null||o.restore(t)})}function xe(){we(S),Ie(Ve,N),We(L),Ie(Ce,q)}async function Je(e,n,t,a){return Y({type:"goto",url:Me(e),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:t,nav_token:a,accept:()=>{n.invalidateAll&&(ve=!0)}})}async function Ht(e){if(e.id!==(R==null?void 0:R.id)){const n={};G.add(n),R={id:e.id,token:n,promise:Ze({...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=re.find(t=>t.exec(Qe(e)));n&&await Promise.all([...n.layouts,n.leaf].map(t=>t==null?void 0:t[1]()))}function Xe(e,n,t){var o;w=e.state;const a=document.querySelector("style[data-sveltekit]");a&&a.remove(),I=e.props.page,be=new V.root({target:n,props:{...e.props,stores:T,components:Z},hydrate:t}),ze(L);const r={from:null,to:{params:w.params,route:{id:((o=w.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(s=>s(r)),Q=!0}async function te({url:e,params:n,branch:t,status:a,error:r,route:o,form:s}){let i="never";if(P&&(e.pathname===P||e.pathname===P+"/"))i="always";else for(const d of t)(d==null?void 0:d.slash)!==void 0&&(i=d.slash);e.pathname=st(e.pathname,i),e.search=e.search;const c={type:"loaded",state:{url:e,params:n,branch:t,error:r,route:o},props:{constructors:Dt(t).map(d=>d.node.component),page:I}};s!==void 0&&(c.props.form=s);let f={},u=!I,h=0;for(let d=0;d(i&&(c.route=!0),l[m])}),params:new Proxy(a,{get:(l,m)=>(i&&c.params.add(m),l[m])}),data:(o==null?void 0:o.data)??null,url:ut(t,()=>{i&&(c.url=!0)},l=>{i&&c.search_params.add(l)}),async fetch(l,m){let b;l instanceof Request?(b=l.url,m={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,...m}):b=l;const A=new URL(b,t);return i&&d(A.href),A.origin===t.origin&&(b=A.href.slice(t.origin.length)),Q?wt(b,A.href,m):_t(b,m)},setHeaders:()=>{},depends:d,parent(){return i&&(c.parent=!0),n()},untrack(l){i=!1;try{return l()}finally{i=!0}}};s=await f.universal.load.call(null,_)??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,a,r,o){if(ve)return!0;if(!r)return!1;if(r.parent&&e||r.route&&n||r.url&&t)return!0;for(const s of r.search_params)if(a.has(s))return!0;for(const s of r.params)if(o[s]!==w.params[s])return!0;for(const s of r.dependencies)if(Be.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 qt(e,n){if(!e)return new Set(n.searchParams.keys());const t=new Set([...e.searchParams.keys(),...n.searchParams.keys()]);for(const a of t){const r=e.searchParams.getAll(a),o=n.searchParams.getAll(a);r.every(s=>o.includes(s))&&o.every(s=>r.includes(s))&&t.delete(a)}return t}function Oe({error:e,url:n,route:t,params:a}){return{type:"loaded",state:{error:e,url:n,route:t,params:a,branch:[]},props:{page:I,constructors:[]}}}async function Ze({id:e,invalidating:n,url:t,params:a,route:r,preload:o}){if((R==null?void 0:R.id)===e)return G.delete(R.token),R.promise;const{errors:s,layouts:i,leaf:c}=r,f=[...i,c];s.forEach(p=>p==null?void 0:p().catch(()=>{})),f.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let u=null;const h=w.url?e!==w.url.pathname+w.url.search:!1,g=w.route?r.id!==w.route.id:!1,d=qt(w.url,t);let _=!1;const l=f.map((p,v)=>{var x;const E=w.branch[v],k=!!(p!=null&&p[0])&&((E==null?void 0:E.loader)!==p[1]||Ne(_,g,h,d,(x=E.server)==null?void 0:x.uses,a));return k&&(_=!0),k});if(l.some(Boolean)){try{u=await nt(t,l)}catch(p){const v=await $(p,{url:t,params:a,route:{id:e}});return G.has(o)?Oe({error:v,url:t,params:a,route:r}):oe({status:J(p),error:v,url:t,route:r})}if(u.type==="redirect")return u}const m=u==null?void 0:u.nodes;let b=!1;const A=f.map(async(p,v)=>{var ie;if(!p)return;const E=w.branch[v],k=m==null?void 0:m[v];if((!k||k.type==="skip")&&p[1]===(E==null?void 0:E.loader)&&!Ne(b,g,h,d,(ie=E.universal)==null?void 0:ie.uses,a))return E;if(b=!0,(k==null?void 0:k.type)==="error")throw k;return Ee({loader:p[1],url:t,params:a,route:r,parent:async()=>{var Re;const Ae={};for(let se=0;se{});const y=[];for(let p=0;pPromise.resolve({}),server_data_node:ke(o)}),c={node:await X(),loader:X,universal:null,server:null,data:null};return await te({url:t,params:r,branch:[i,c],status:e,error:n,route:null})}function Se(e,n){if(!e||ae(e,P))return;let t;try{t=V.hooks.reroute({url:new URL(e)})??e.pathname}catch{return}const a=Qe(t);for(const r of re){const o=r.exec(a);if(o)return{id:e.pathname+e.search,invalidating:n,route:r,params:lt(o),url:e}}}function Qe(e){return ct(e.slice(P.length)||"/")}function et({url:e,type:n,intent:t,delta:a}){let r=!1;const o=rt(w,t,e,n);a!==void 0&&(o.navigation.delta=a);const s={...o.navigation,cancel:()=>{r=!0,o.reject(new Error("navigation cancelled"))}};return B||Ke.forEach(i=>i(s)),r?null:o}async function Y({type:e,url:n,popped:t,keepfocus:a,noscroll:r,replace_state:o,state:s={},redirect_count:i=0,nav_token:c={},accept:f=Ue,block:u=Ue}){const h=Se(n,!1),g=et({url:n,type:e,delta:t==null?void 0:t.delta,intent:h});if(!g){u();return}const d=S,_=L;f(),B=!0,Q&&T.navigating.set(g.navigation),ee=c;let l=h&&await Ze(h);if(!l){if(ae(n,P))return await C(n);l=await tt(n,{id:null},await $(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 $(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Je(new URL(l.location,n).href,{},i+1,c),!1;else l.props.page.status>=400&&await T.updated.check()&&await C(n);if(Gt(),we(d),We(_),l.props.page.url.pathname!==n.pathname&&(n.pathname=l.props.page.url.pathname),s=t?t.state:s,!t){const y=o?0:1,p={[D]:S+=y,[H]:L+=y,[Fe]:s};(o?history.replaceState:history.pushState).call(history,p,"",n),o||Ft(S,L)}if(R=null,l.props.page.state=s,Q){w=l.state,l.props.page&&(l.props.page.url=n);const y=(await Promise.all(Mt.map(p=>p(g.navigation)))).filter(p=>typeof p=="function");if(y.length>0){let p=function(){j=j.filter(v=>!y.includes(v))};y.push(p),j.push(...y)}be.$set(l.props),Ye=!0}else Xe(l,he,!1);const{activeElement:m}=document;await ot();const b=t?t.scroll:r?_e():null;if(Te){const y=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));b?scrollTo(b.x,b.y):y?y.scrollIntoView():scrollTo(0,0)}const A=document.activeElement!==m&&document.activeElement!==document.body;!a&&!A&&Jt(),Te=!0,l.props.page&&(I=l.props.page),B=!1,e==="popstate"&&ze(L),g.fulfil(void 0),j.forEach(y=>y(g.navigation)),T.navigating.set(null)}async function tt(e,n,t,a){return e.origin===K&&e.pathname===location.pathname&&!ye?await oe({status:a,error:t,url:e,route:n}):await C(e)}function Kt(){let e;U.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{a(s,2)},20)});function n(o){a(o.composedPath()[0],1)}U.addEventListener("mousedown",n),U.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 a(o,s){const i=He(o,U);if(!i)return;const{url:c,external:f,download:u}=ue(i,P);if(f||u)return;const h=z(i);if(!h.reload)if(s<=h.preload_data){const g=Se(c,!1);g&&Ht(g)}else s<=h.preload_code&&fe(c.pathname)}function r(){t.disconnect();for(const o of U.querySelectorAll("a")){const{url:s,external:i,download:c}=ue(o,P);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))}}j.push(r),r()}function $(e,n){if(e instanceof ne)return e.body;const t=J(e),a=Vt(e);return V.hooks.handleError({error:e,event:n,status:t,message:a})??{message:a}}function Yt(e,n={}){return e=Me(e),e.origin!==K?Promise.reject(new Error("goto: invalid URL")):Je(e,n,0)}function Wt(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let a=!1;if(xe(),!B){const r=rt(w,void 0,null,"leave"),o={...r.navigation,cancel:()=>{a=!0,r.reject(new Error("navigation cancelled"))}};Ke.forEach(s=>s(o))}a?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&xe()}),(n=navigator.connection)!=null&&n.saveData||Kt(),U.addEventListener("click",t=>{var g;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const a=He(t.composedPath()[0],U);if(!a)return;const{url:r,external:o,target:s,download:i}=ue(a,P);if(!r)return;if(s==="_parent"||s==="_top"){if(window.parent!==window)return}else if(s&&s!=="_self")return;const c=z(a);if(!(a instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||i)return;if(o||c.reload){et({url:r,type:"link"})?B=!0:t.preventDefault();return}const[u,h]=r.href.split("#");if(h!==void 0&&u===ce(location)){const[,d]=w.url.href.split("#");if(d===h){t.preventDefault(),h===""||h==="top"&&a.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=a.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(F=!0,we(S),e(r),!c.replace_state)return;F=!1}t.preventDefault(),Y({type:"link",url:r,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??r.href===location.href})}),U.addEventListener("submit",t=>{if(t.defaultPrevented)return;const a=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if(((r==null?void 0:r.formMethod)||a.method)!=="get")return;const s=new URL((r==null?void 0:r.hasAttribute("formaction"))&&(r==null?void 0:r.formAction)||a.action);if(ae(s,P))return;const i=t.target,c=z(i);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(i),u=r==null?void 0:r.getAttribute("name");u&&f.append(u,(r==null?void 0:r.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 a;if((a=t.state)!=null&&a[D]){const r=t.state[D];if(ee={},r===S)return;const o=N[r],s=t.state[Fe]??{},i=new URL(t.state[Rt]??location.href),c=t.state[H],f=ce(location)===ce(w.url);if(c===L&&(Ye||f)){e(i),N[S]=_e(),o&&scrollTo(o.x,o.y),s!==I.state&&(I={...I,state:s},be.$set({page:I})),S=r;return}const h=r-S;await Y({type:"popstate",url:i,popped:{state:s,scroll:o,delta:h},accept:()=>{S=r,L=c},block:()=>{history.go(-h)},nav_token:ee})}else if(!F){const r=new URL(location.href);e(r)}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[D]:++S,[H]: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){w.url=t,T.page.set({...I,url:t}),T.page.notify()}}async function zt(e,{status:n=200,error:t,node_ids:a,params:r,route:o,data:s,form:i}){ye=!0;const c=new URL(location.href);({params:r={},route:o={id:null}}=Se(c,!1)||{});let f;try{const u=a.map(async(d,_)=>{const l=s[_];return l!=null&&l.uses&&(l.uses=at(l.uses)),Ee({loader:V.nodes[d],url:c,params:r,route:o,parent:async()=>{const m={};for(let b=0;b<_;b+=1)Object.assign(m,(await u[b]).data);return m},server_data_node:ke(l)})}),h=await Promise.all(u),g=re.find(({id:d})=>d===o.id);if(g){const d=g.layouts;for(let _=0;_o?"1":"0").join(""));const a=await De(t.href);if(!a.ok){let o;throw(r=a.headers.get("content-type"))!=null&&r.includes("application/json")?o=await a.json():a.status===404?o="Not Found":a.status===500&&(o="Internal Error"),new ne(a.status,o)}return new Promise(async o=>{var h;const s=new Map,i=a.body.getReader(),c=new TextDecoder;function f(g){return Ot(g,{Promise:d=>new Promise((_,l)=>{s.set(d,{fulfil:_,reject:l})})})}let u="";for(;;){const{done:g,value:d}=await i.read();if(g&&!u)break;for(u+=!d&&u?` `:c.decode(d,{stream:!0});;){const _=u.indexOf(` `);if(_===-1)break;const l=JSON.parse(u.slice(0,_));if(u=u.slice(_+1),l.type==="redirect")return o(l);if(l.type==="data")(h=l.nodes)==null||h.forEach(m=>{(m==null?void 0:m.type)==="data"&&(m.uses=at(m.uses),m.data=f(m.data))}),o(l);else if(l.type==="chunk"){const{id:m,data:b,error:A}=l,y=s.get(m);s.delete(m),A?y.reject(f(A)):y.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 Jt(){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 a=getSelection();if(a&&a.type!=="None"){const r=[];for(let o=0;o{if(a.rangeCount===r.length){for(let o=0;o{r=u,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:a,complete:s},fulfil:r,reject:o}}export{en as a,T as s}; diff --git a/public/docs/_app/immutable/chunks/index.CfgE2iAn.js b/public/docs/_app/immutable/chunks/index.CFDPqCvJ.js similarity index 61% rename from public/docs/_app/immutable/chunks/index.CfgE2iAn.js rename to public/docs/_app/immutable/chunks/index.CFDPqCvJ.js index a827335..46cd0ed 100644 --- a/public/docs/_app/immutable/chunks/index.CfgE2iAn.js +++ b/public/docs/_app/immutable/chunks/index.CFDPqCvJ.js @@ -1 +1 @@ -import{H as e,R as o}from"./control.CMWtusoz.js";function i(r,t){throw new e(r,t)}function c(r,t){throw new o(r,t.toString())}new TextEncoder;export{i as e,c as r}; +import{H as e,R as o}from"./control.COmfC0IO.js";function i(r,t){throw new e(r,t)}function c(r,t){throw new o(r,t.toString())}new TextEncoder;export{i as e,c as r}; diff --git a/public/docs/_app/immutable/chunks/pages.ChwmMHwd.js b/public/docs/_app/immutable/chunks/pages.CneCpNB9.js similarity index 84% rename from public/docs/_app/immutable/chunks/pages.ChwmMHwd.js rename to public/docs/_app/immutable/chunks/pages.CneCpNB9.js index 6690472..0d6a4c5 100644 --- a/public/docs/_app/immutable/chunks/pages.ChwmMHwd.js +++ b/public/docs/_app/immutable/chunks/pages.CneCpNB9.js @@ -1,4 +1,4 @@ -var YD=Object.defineProperty;var QD=(r,t,n)=>t in r?YD(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n;var Fe=(r,t,n)=>(QD(r,typeof t!="symbol"?t+"":t,n),n),zD=(r,t,n)=>{if(!t.has(r))throw TypeError("Cannot "+n)};var uu=(r,t,n)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,n)};var us=(r,t,n)=>(zD(r,t,"access private method"),n);import{S as Le,i as Re,t as ee,b as oe,g as wn,e as Nn,c as jn,a as ar,m as qn,d as Wn}from"./index.CMSEJhCx.js";import{s as Ne,q as et,l as _e,d as J,E as Zt,v as of,e as ke,f as Ce,g as Ve,ad as Es,F as Kt,G as en,H as tn,a2 as ai,I as vc,t as Iu,j as wu,o as Nu,n as He,k as ht,m as In,b as bu,c as xu,ah as HD,ai as JD,ak as Tc,K as XD}from"./scheduler.Eaj42bxH.js";import{b as ZD}from"./control.CMWtusoz.js";function an(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}function uf(r,t){const n={},s={},o={$$scope:1};let a=r.length;for(;a--;){const l=r[a],f=t[a];if(f){for(const h in l)h in f||(s[h]=1);for(const h in f)o[h]||(n[h]=f[h],o[h]=1);r[a]=f}else for(const h in l)o[h]=1}for(const l in s)l in n||(n[l]=void 0);return n}function Fy(r){return typeof r=="object"&&r!==null?r:{}}function gu(...r){return"/"+r.flatMap(t=>t.split("/")).filter(t=>!!t).join("/")}function mu(r){return r.startsWith("/")||r.startsWith("#")}function af(r,t){return t.slug(r).replace(/--+/g,"-")}function au(r){let t,n;const s=r[5].default,o=Zt(s,r,r[4],null);let a=[{id:r[1]}],l={};for(let f=0;f{"token"in E&&n(0,a=E.token),"options"in E&&n(2,l=E.options),"$$scope"in E&&n(4,o=E.$$scope)},r.$$.update=()=>{r.$$.dirty&5&&n(1,h=af(a.text,l.slugger))},[a,h,l,f,o,s]}class t_ extends Le{constructor(t){super(),Re(this,t,e_,KD,Ne,{token:0,options:2,renderers:3})}get renderers(){return this.$$.ctx[3]}}function n_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("blockquote"),o&&o.c()},l(a){t=Ce(a,"BLOCKQUOTE",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function r_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class i_ extends Le{constructor(t){super(),Re(this,t,r_,n_,Ne,{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 yc(r,t,n){const s=r.slice();return s[3]=t[n],s}function Ac(r){let t,n,s=an(r[0]),o=[];for(let l=0;loe(o[l],1,1,()=>{o[l]=null});return{c(){for(let l=0;l{s=null}),Nn())},i(o){n||(ee(s),n=!0)},o(o){oe(s),n=!1},d(o){o&&J(t),s&&s.d(o)}}}function o_(r,t,n){let{tokens:s}=t,{renderers:o}=t,{options:a}=t;return r.$$set=l=>{"tokens"in l&&n(0,s=l.tokens),"renderers"in l&&n(1,o=l.renderers),"options"in l&&n(2,a=l.options)},[s,o,a]}class ws extends Le{constructor(t){super(),Re(this,t,o_,s_,Ne,{tokens:0,renderers:1,options:2})}}function Ic(r){let t,n,s;var o=r[1][r[0].type];function a(l,f){return{props:{token:l[0],options:l[2],renderers:l[1],$$slots:{default:[l_]},$$scope:{ctx:l}}}}return o&&(t=vc(o,a(r))),{c(){t&&jn(t.$$.fragment),n=et()},l(l){t&&ar(t.$$.fragment,l),n=et()},m(l,f){t&&qn(t,l,f),_e(l,n,f),s=!0},p(l,f){if(f&3&&o!==(o=l[1][l[0].type])){if(t){wn();const h=t;oe(h.$$.fragment,1,0,()=>{Wn(h,1)}),Nn()}o?(t=vc(o,a(l)),jn(t.$$.fragment),ee(t.$$.fragment,1),qn(t,n.parentNode,n)):t=null}else if(o){const h={};f&1&&(h.token=l[0]),f&4&&(h.options=l[2]),f&2&&(h.renderers=l[1]),f&15&&(h.$$scope={dirty:f,ctx:l}),t.$set(h)}},i(l){s||(t&&ee(t.$$.fragment,l),s=!0)},o(l){t&&oe(t.$$.fragment,l),s=!1},d(l){l&&J(n),t&&Wn(t,l)}}}function u_(r){let t=r[0].raw+"",n;return{c(){n=Iu(t)},l(s){n=wu(s,t)},m(s,o){_e(s,n,o)},p(s,o){o&1&&t!==(t=s[0].raw+"")&&Nu(n,t)},i:He,o:He,d(s){s&&J(n)}}}function a_(r){let t,n;return t=new ws({props:{tokens:r[0].tokens,renderers:r[1],options:r[2]}}),{c(){jn(t.$$.fragment)},l(s){ar(t.$$.fragment,s)},m(s,o){qn(t,s,o),n=!0},p(s,o){const a={};o&1&&(a.tokens=s[0].tokens),o&2&&(a.renderers=s[1]),o&4&&(a.options=s[2]),t.$set(a)},i(s){n||(ee(t.$$.fragment,s),n=!0)},o(s){oe(t.$$.fragment,s),n=!1},d(s){Wn(t,s)}}}function l_(r){let t,n,s,o;const a=[a_,u_],l=[];function f(h,E){return"tokens"in h[0]&&h[0].tokens?0:1}return t=f(r),n=l[t]=a[t](r),{c(){n.c(),s=et()},l(h){n.l(h),s=et()},m(h,E){l[t].m(h,E),_e(h,s,E),o=!0},p(h,E){let D=t;t=f(h),t===D?l[t].p(h,E):(wn(),oe(l[D],1,1,()=>{l[D]=null}),Nn(),n=l[t],n?n.p(h,E):(n=l[t]=a[t](h),n.c()),ee(n,1),n.m(s.parentNode,s))},i(h){o||(ee(n),o=!0)},o(h){oe(n),o=!1},d(h){h&&J(s),l[t].d(h)}}}function c_(r){let t,n,s=r[1][r[0].type]&&Ic(r);return{c(){s&&s.c(),t=et()},l(o){s&&s.l(o),t=et()},m(o,a){s&&s.m(o,a),_e(o,t,a),n=!0},p(o,[a]){o[1][o[0].type]?s?(s.p(o,a),a&3&&ee(s,1)):(s=Ic(o),s.c(),ee(s,1),s.m(t.parentNode,t)):s&&(wn(),oe(s,1,1,()=>{s=null}),Nn())},i(o){n||(ee(s),n=!0)},o(o){oe(s),n=!1},d(o){o&&J(t),s&&s.d(o)}}}function f_(r,t,n){let{token:s}=t,{renderers:o}=t,{options:a}=t;return r.$$set=l=>{"token"in l&&n(0,s=l.token),"renderers"in l&&n(1,o=l.renderers),"options"in l&&n(2,a=l.options)},[s,o,a]}class lf extends Le{constructor(t){super(),Re(this,t,f_,c_,Ne,{token:0,renderers:1,options:2})}}function wc(r,t,n){const s=r.slice();return s[4]=t[n],s}function Nc(r){let t,n;return t=new lf({props:{token:{...r[4]},options:r[1],renderers:r[2]}}),{c(){jn(t.$$.fragment)},l(s){ar(t.$$.fragment,s)},m(s,o){qn(t,s,o),n=!0},p(s,o){const a={};o&1&&(a.token={...s[4]}),o&2&&(a.options=s[1]),o&4&&(a.renderers=s[2]),t.$set(a)},i(s){n||(ee(t.$$.fragment,s),n=!0)},o(s){oe(t.$$.fragment,s),n=!1},d(s){Wn(t,s)}}}function lu(r){let t,n,s,o=an(r[0].items),a=[];for(let E=0;Eoe(a[E],1,1,()=>{a[E]=null});let f=[{start:n=r[0].start||1}],h={};for(let E=0;E{"token"in f&&n(0,s=f.token),"options"in f&&n(1,o=f.options),"renderers"in f&&n(2,a=f.renderers)},r.$$.update=()=>{r.$$.dirty&1&&n(3,l=s.ordered?"ol":"ul")},[s,o,a,l]}class d_ extends Le{constructor(t){super(),Re(this,t,h_,p_,Ne,{token:0,options:1,renderers:2})}}function g_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("li"),o&&o.c()},l(a){t=Ce(a,"LI",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function m_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class E_ extends Le{constructor(t){super(),Re(this,t,m_,g_,Ne,{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 D_(r){let t;return{c(){t=ke("br")},l(n){t=Ce(n,"BR",{})},m(n,s){_e(n,t,s)},p:He,i:He,o:He,d(n){n&&J(t)}}}function __(r,t,n){return[void 0,void 0,void 0]}class v_ extends Le{constructor(t){super(),Re(this,t,__,D_,Ne,{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 T_(r){let t,n,s=r[0].text+"",o,a;return{c(){t=ke("pre"),n=ke("code"),o=Iu(s),this.h()},l(l){t=Ce(l,"PRE",{});var f=Ve(t);n=Ce(f,"CODE",{class:!0});var h=Ve(n);o=wu(h,s),h.forEach(J),f.forEach(J),this.h()},h(){ht(n,"class",a=`lang-${r[0].lang}`)},m(l,f){_e(l,t,f),In(t,n),In(n,o)},p(l,[f]){f&1&&s!==(s=l[0].text+"")&&Nu(o,s),f&1&&a!==(a=`lang-${l[0].lang}`)&&ht(n,"class",a)},i:He,o:He,d(l){l&&J(t)}}}function y_(r,t,n){let{token:s}=t;const o=void 0,a=void 0;return r.$$set=l=>{"token"in l&&n(0,s=l.token)},[s,o,a]}class A_ extends Le{constructor(t){super(),Re(this,t,y_,T_,Ne,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function F_(r){let t,n=r[0].raw.slice(1,r[0].raw.length-1)+"",s;return{c(){t=ke("code"),s=Iu(n)},l(o){t=Ce(o,"CODE",{});var a=Ve(t);s=wu(a,n),a.forEach(J)},m(o,a){_e(o,t,a),In(t,s)},p(o,[a]){a&1&&n!==(n=o[0].raw.slice(1,o[0].raw.length-1)+"")&&Nu(s,n)},i:He,o:He,d(o){o&&J(t)}}}function I_(r,t,n){let{token:s}=t;const o=void 0,a=void 0;return r.$$set=l=>{"token"in l&&n(0,s=l.token)},[s,o,a]}class w_ extends Le{constructor(t){super(),Re(this,t,I_,F_,Ne,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function bc(r,t,n){const s=r.slice();return s[3]=t[n],s}function xc(r,t,n){const s=r.slice();return s[6]=t[n],s}function kc(r,t,n){const s=r.slice();return s[9]=t[n],s}function Cc(r){let t,n,s,o;return n=new ws({props:{tokens:r[9].tokens,options:r[1],renderers:r[2]}}),{c(){t=ke("th"),jn(n.$$.fragment),s=bu(),this.h()},l(a){t=Ce(a,"TH",{scope:!0});var l=Ve(t);ar(n.$$.fragment,l),s=xu(l),l.forEach(J),this.h()},h(){ht(t,"scope","col")},m(a,l){_e(a,t,l),qn(n,t,null),In(t,s),o=!0},p(a,l){const f={};l&1&&(f.tokens=a[9].tokens),l&2&&(f.options=a[1]),l&4&&(f.renderers=a[2]),n.$set(f)},i(a){o||(ee(n.$$.fragment,a),o=!0)},o(a){oe(n.$$.fragment,a),o=!1},d(a){a&&J(t),Wn(n)}}}function Oc(r){let t,n,s;return n=new ws({props:{tokens:r[6].tokens,options:r[1],renderers:r[2]}}),{c(){t=ke("td"),jn(n.$$.fragment)},l(o){t=Ce(o,"TD",{});var a=Ve(t);ar(n.$$.fragment,a),a.forEach(J)},m(o,a){_e(o,t,a),qn(n,t,null),s=!0},p(o,a){const l={};a&1&&(l.tokens=o[6].tokens),a&2&&(l.options=o[1]),a&4&&(l.renderers=o[2]),n.$set(l)},i(o){s||(ee(n.$$.fragment,o),s=!0)},o(o){oe(n.$$.fragment,o),s=!1},d(o){o&&J(t),Wn(n)}}}function Sc(r){let t,n,s,o=an(r[3]),a=[];for(let f=0;foe(a[f],1,1,()=>{a[f]=null});return{c(){t=ke("tr");for(let f=0;foe(h[C],1,1,()=>{h[C]=null});let D=an(r[0].rows),T=[];for(let C=0;Coe(T[C],1,1,()=>{T[C]=null});return{c(){t=ke("table"),n=ke("thead"),s=ke("tr");for(let C=0;C{"token"in l&&n(0,s=l.token),"options"in l&&n(1,o=l.options),"renderers"in l&&n(2,a=l.renderers)},[s,o,a]}class x_ extends Le{constructor(t){super(),Re(this,t,b_,N_,Ne,{token:0,options:1,renderers:2})}}function k_(r){let t,n=r[0].text+"",s;return{c(){t=new HD(!1),s=et(),this.h()},l(o){t=JD(o,!1),s=et(),this.h()},h(){t.a=s},m(o,a){t.m(n,o,a),_e(o,s,a)},p(o,[a]){a&1&&n!==(n=o[0].text+"")&&t.p(n)},i:He,o:He,d(o){o&&(J(s),t.d())}}}function C_(r,t,n){let{token:s}=t;const o=void 0,a=void 0;return r.$$set=l=>{"token"in l&&n(0,s=l.token)},[s,o,a]}class O_ extends Le{constructor(t){super(),Re(this,t,C_,k_,Ne,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function S_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("p"),o&&o.c()},l(a){t=Ce(a,"P",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function L_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class R_ extends Le{constructor(t){super(),Re(this,t,L_,S_,Ne,{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 B_(r){let t,n,s,o;const a=r[4].default,l=Zt(a,r,r[3],null);return{c(){t=ke("a"),l&&l.c(),this.h()},l(f){t=Ce(f,"A",{href:!0,title:!0});var h=Ve(t);l&&l.l(h),h.forEach(J),this.h()},h(){ht(t,"href",n=mu(r[0].href)?gu(r[1].baseUrl,r[0].href):r[0].href),ht(t,"title",s=r[0].title)},m(f,h){_e(f,t,h),l&&l.m(t,null),o=!0},p(f,[h]){l&&l.p&&(!o||h&8)&&Kt(l,a,f,f[3],o?tn(a,f[3],h,null):en(f[3]),null),(!o||h&3&&n!==(n=mu(f[0].href)?gu(f[1].baseUrl,f[0].href):f[0].href))&&ht(t,"href",n),(!o||h&1&&s!==(s=f[0].title))&&ht(t,"title",s)},i(f){o||(ee(l,f),o=!0)},o(f){oe(l,f),o=!1},d(f){f&&J(t),l&&l.d(f)}}}function $_(r,t,n){let{$$slots:s={},$$scope:o}=t,{token:a}=t,{options:l}=t;const f=void 0;return r.$$set=h=>{"token"in h&&n(0,a=h.token),"options"in h&&n(1,l=h.options),"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class P_ extends Le{constructor(t){super(),Re(this,t,$_,B_,Ne,{token:0,options:1,renderers:2})}get renderers(){return this.$$.ctx[2]}}function M_(r){let t;const n=r[4].default,s=Zt(n,r,r[3],null);return{c(){s&&s.c()},l(o){s&&s.l(o)},m(o,a){s&&s.m(o,a),t=!0},p(o,[a]){s&&s.p&&(!t||a&8)&&Kt(s,n,o,o[3],t?tn(n,o[3],a,null):en(o[3]),null)},i(o){t||(ee(s,o),t=!0)},o(o){oe(s,o),t=!1},d(o){s&&s.d(o)}}}function U_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class G_ extends Le{constructor(t){super(),Re(this,t,U_,M_,Ne,{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 V_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("dfn"),o&&o.c()},l(a){t=Ce(a,"DFN",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function j_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class q_ extends Le{constructor(t){super(),Re(this,t,j_,V_,Ne,{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 W_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("del"),o&&o.c()},l(a){t=Ce(a,"DEL",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function Y_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class Q_ extends Le{constructor(t){super(),Re(this,t,Y_,W_,Ne,{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 z_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("em"),o&&o.c()},l(a){t=Ce(a,"EM",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function H_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class J_ extends Le{constructor(t){super(),Re(this,t,H_,z_,Ne,{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 X_(r){let t;return{c(){t=ke("hr")},l(n){t=Ce(n,"HR",{})},m(n,s){_e(n,t,s)},p:He,i:He,o:He,d(n){n&&J(t)}}}function Z_(r,t,n){return[void 0,void 0,void 0]}class K_ extends Le{constructor(t){super(),Re(this,t,Z_,X_,Ne,{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;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("strong"),o&&o.c()},l(a){t=Ce(a,"STRONG",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function tv(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class nv extends Le{constructor(t){super(),Re(this,t,tv,ev,Ne,{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,s,o;return{c(){t=ke("img"),this.h()},l(a){t=Ce(a,"IMG",{src:!0,title:!0,alt:!0,class:!0}),this.h()},h(){Tc(t.src,n=r[0].href)||ht(t,"src",n),ht(t,"title",s=r[0].title),ht(t,"alt",o=r[0].text),ht(t,"class","markdown-image svelte-z38cge")},m(a,l){_e(a,t,l)},p(a,[l]){l&1&&!Tc(t.src,n=a[0].href)&&ht(t,"src",n),l&1&&s!==(s=a[0].title)&&ht(t,"title",s),l&1&&o!==(o=a[0].text)&&ht(t,"alt",o)},i:He,o:He,d(a){a&&J(t)}}}function iv(r,t,n){let{token:s}=t;const o=void 0,a=void 0;return r.$$set=l=>{"token"in l&&n(0,s=l.token)},[s,o,a]}class sv extends Le{constructor(t){super(),Re(this,t,iv,rv,Ne,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function ov(r){let t;const n=r[4].default,s=Zt(n,r,r[3],null);return{c(){s&&s.c()},l(o){s&&s.l(o)},m(o,a){s&&s.m(o,a),t=!0},p(o,[a]){s&&s.p&&(!t||a&8)&&Kt(s,n,o,o[3],t?tn(n,o[3],a,null):en(o[3]),null)},i(o){t||(ee(s,o),t=!0)},o(o){oe(s,o),t=!1},d(o){s&&s.d(o)}}}function uv(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class Lc extends Le{constructor(t){super(),Re(this,t,uv,ov,Ne,{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 ku(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let lr=ku();function cf(r){lr=r}const ff=/[&<>"']/,av=new RegExp(ff.source,"g"),pf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,lv=new RegExp(pf.source,"g"),cv={"&":"&","<":"<",">":">",'"':""","'":"'"},Rc=r=>cv[r];function At(r,t){if(t){if(ff.test(r))return r.replace(av,Rc)}else if(pf.test(r))return r.replace(lv,Rc);return r}const fv=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function pv(r){return r.replace(fv,(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 hv=/(^|[^\[])\^/g;function De(r,t){let n=typeof r=="string"?r:r.source;t=t||"";const s={replace:(o,a)=>{let l=typeof a=="string"?a:a.source;return l=l.replace(hv,"$1"),n=n.replace(o,l),s},getRegex:()=>new RegExp(n,t)};return s}function Bc(r){try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const si={exec:()=>null};function $c(r,t){const n=r.replace(/\|/g,(a,l,f)=>{let h=!1,E=l;for(;--E>=0&&f[E]==="\\";)h=!h;return h?"|":" |"}),s=n.split(/ \|/);let o=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),t)if(s.length>t)s.splice(t);else for(;s.lengtht in r?QD(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n;var Fe=(r,t,n)=>(WD(r,typeof t!="symbol"?t+"":t,n),n),zD=(r,t,n)=>{if(!t.has(r))throw TypeError("Cannot "+n)};var uu=(r,t,n)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,n)};var us=(r,t,n)=>(zD(r,t,"access private method"),n);import{S as Le,i as Re,t as ee,b as oe,g as In,e as Nn,c as jn,a as ar,m as qn,d as Yn}from"./index.CMSEJhCx.js";import{s as Ne,q as et,l as _e,d as J,E as Zt,v as of,e as ke,f as Ce,g as Ve,ad as Es,F as Kt,G as en,H as tn,a2 as ai,I as vc,t as wu,j as Iu,o as Nu,n as He,k as ht,m as wn,b as bu,c as xu,ah as HD,ai as JD,ak as Tc,K as XD}from"./scheduler.Eaj42bxH.js";import{b as ZD}from"./control.COmfC0IO.js";function an(r){return(r==null?void 0:r.length)!==void 0?r:Array.from(r)}function uf(r,t){const n={},s={},o={$$scope:1};let a=r.length;for(;a--;){const l=r[a],f=t[a];if(f){for(const h in l)h in f||(s[h]=1);for(const h in f)o[h]||(n[h]=f[h],o[h]=1);r[a]=f}else for(const h in l)o[h]=1}for(const l in s)l in n||(n[l]=void 0);return n}function Fy(r){return typeof r=="object"&&r!==null?r:{}}function gu(...r){return"/"+r.flatMap(t=>t.split("/")).filter(t=>!!t).join("/")}function mu(r){return r.startsWith("/")||r.startsWith("#")}function af(r,t){return t.slug(r).replace(/--+/g,"-")}function au(r){let t,n;const s=r[5].default,o=Zt(s,r,r[4],null);let a=[{id:r[1]}],l={};for(let f=0;f{"token"in E&&n(0,a=E.token),"options"in E&&n(2,l=E.options),"$$scope"in E&&n(4,o=E.$$scope)},r.$$.update=()=>{r.$$.dirty&5&&n(1,h=af(a.text,l.slugger))},[a,h,l,f,o,s]}class t_ extends Le{constructor(t){super(),Re(this,t,e_,KD,Ne,{token:0,options:2,renderers:3})}get renderers(){return this.$$.ctx[3]}}function n_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("blockquote"),o&&o.c()},l(a){t=Ce(a,"BLOCKQUOTE",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function r_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class i_ extends Le{constructor(t){super(),Re(this,t,r_,n_,Ne,{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 yc(r,t,n){const s=r.slice();return s[3]=t[n],s}function Ac(r){let t,n,s=an(r[0]),o=[];for(let l=0;loe(o[l],1,1,()=>{o[l]=null});return{c(){for(let l=0;l{s=null}),Nn())},i(o){n||(ee(s),n=!0)},o(o){oe(s),n=!1},d(o){o&&J(t),s&&s.d(o)}}}function o_(r,t,n){let{tokens:s}=t,{renderers:o}=t,{options:a}=t;return r.$$set=l=>{"tokens"in l&&n(0,s=l.tokens),"renderers"in l&&n(1,o=l.renderers),"options"in l&&n(2,a=l.options)},[s,o,a]}class Is extends Le{constructor(t){super(),Re(this,t,o_,s_,Ne,{tokens:0,renderers:1,options:2})}}function wc(r){let t,n,s;var o=r[1][r[0].type];function a(l,f){return{props:{token:l[0],options:l[2],renderers:l[1],$$slots:{default:[l_]},$$scope:{ctx:l}}}}return o&&(t=vc(o,a(r))),{c(){t&&jn(t.$$.fragment),n=et()},l(l){t&&ar(t.$$.fragment,l),n=et()},m(l,f){t&&qn(t,l,f),_e(l,n,f),s=!0},p(l,f){if(f&3&&o!==(o=l[1][l[0].type])){if(t){In();const h=t;oe(h.$$.fragment,1,0,()=>{Yn(h,1)}),Nn()}o?(t=vc(o,a(l)),jn(t.$$.fragment),ee(t.$$.fragment,1),qn(t,n.parentNode,n)):t=null}else if(o){const h={};f&1&&(h.token=l[0]),f&4&&(h.options=l[2]),f&2&&(h.renderers=l[1]),f&15&&(h.$$scope={dirty:f,ctx:l}),t.$set(h)}},i(l){s||(t&&ee(t.$$.fragment,l),s=!0)},o(l){t&&oe(t.$$.fragment,l),s=!1},d(l){l&&J(n),t&&Yn(t,l)}}}function u_(r){let t=r[0].raw+"",n;return{c(){n=wu(t)},l(s){n=Iu(s,t)},m(s,o){_e(s,n,o)},p(s,o){o&1&&t!==(t=s[0].raw+"")&&Nu(n,t)},i:He,o:He,d(s){s&&J(n)}}}function a_(r){let t,n;return t=new Is({props:{tokens:r[0].tokens,renderers:r[1],options:r[2]}}),{c(){jn(t.$$.fragment)},l(s){ar(t.$$.fragment,s)},m(s,o){qn(t,s,o),n=!0},p(s,o){const a={};o&1&&(a.tokens=s[0].tokens),o&2&&(a.renderers=s[1]),o&4&&(a.options=s[2]),t.$set(a)},i(s){n||(ee(t.$$.fragment,s),n=!0)},o(s){oe(t.$$.fragment,s),n=!1},d(s){Yn(t,s)}}}function l_(r){let t,n,s,o;const a=[a_,u_],l=[];function f(h,E){return"tokens"in h[0]&&h[0].tokens?0:1}return t=f(r),n=l[t]=a[t](r),{c(){n.c(),s=et()},l(h){n.l(h),s=et()},m(h,E){l[t].m(h,E),_e(h,s,E),o=!0},p(h,E){let D=t;t=f(h),t===D?l[t].p(h,E):(In(),oe(l[D],1,1,()=>{l[D]=null}),Nn(),n=l[t],n?n.p(h,E):(n=l[t]=a[t](h),n.c()),ee(n,1),n.m(s.parentNode,s))},i(h){o||(ee(n),o=!0)},o(h){oe(n),o=!1},d(h){h&&J(s),l[t].d(h)}}}function c_(r){let t,n,s=r[1][r[0].type]&&wc(r);return{c(){s&&s.c(),t=et()},l(o){s&&s.l(o),t=et()},m(o,a){s&&s.m(o,a),_e(o,t,a),n=!0},p(o,[a]){o[1][o[0].type]?s?(s.p(o,a),a&3&&ee(s,1)):(s=wc(o),s.c(),ee(s,1),s.m(t.parentNode,t)):s&&(In(),oe(s,1,1,()=>{s=null}),Nn())},i(o){n||(ee(s),n=!0)},o(o){oe(s),n=!1},d(o){o&&J(t),s&&s.d(o)}}}function f_(r,t,n){let{token:s}=t,{renderers:o}=t,{options:a}=t;return r.$$set=l=>{"token"in l&&n(0,s=l.token),"renderers"in l&&n(1,o=l.renderers),"options"in l&&n(2,a=l.options)},[s,o,a]}class lf extends Le{constructor(t){super(),Re(this,t,f_,c_,Ne,{token:0,renderers:1,options:2})}}function Ic(r,t,n){const s=r.slice();return s[4]=t[n],s}function Nc(r){let t,n;return t=new lf({props:{token:{...r[4]},options:r[1],renderers:r[2]}}),{c(){jn(t.$$.fragment)},l(s){ar(t.$$.fragment,s)},m(s,o){qn(t,s,o),n=!0},p(s,o){const a={};o&1&&(a.token={...s[4]}),o&2&&(a.options=s[1]),o&4&&(a.renderers=s[2]),t.$set(a)},i(s){n||(ee(t.$$.fragment,s),n=!0)},o(s){oe(t.$$.fragment,s),n=!1},d(s){Yn(t,s)}}}function lu(r){let t,n,s,o=an(r[0].items),a=[];for(let E=0;Eoe(a[E],1,1,()=>{a[E]=null});let f=[{start:n=r[0].start||1}],h={};for(let E=0;E{"token"in f&&n(0,s=f.token),"options"in f&&n(1,o=f.options),"renderers"in f&&n(2,a=f.renderers)},r.$$.update=()=>{r.$$.dirty&1&&n(3,l=s.ordered?"ol":"ul")},[s,o,a,l]}class d_ extends Le{constructor(t){super(),Re(this,t,h_,p_,Ne,{token:0,options:1,renderers:2})}}function g_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("li"),o&&o.c()},l(a){t=Ce(a,"LI",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function m_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class E_ extends Le{constructor(t){super(),Re(this,t,m_,g_,Ne,{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 D_(r){let t;return{c(){t=ke("br")},l(n){t=Ce(n,"BR",{})},m(n,s){_e(n,t,s)},p:He,i:He,o:He,d(n){n&&J(t)}}}function __(r,t,n){return[void 0,void 0,void 0]}class v_ extends Le{constructor(t){super(),Re(this,t,__,D_,Ne,{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 T_(r){let t,n,s=r[0].text+"",o,a;return{c(){t=ke("pre"),n=ke("code"),o=wu(s),this.h()},l(l){t=Ce(l,"PRE",{});var f=Ve(t);n=Ce(f,"CODE",{class:!0});var h=Ve(n);o=Iu(h,s),h.forEach(J),f.forEach(J),this.h()},h(){ht(n,"class",a=`lang-${r[0].lang}`)},m(l,f){_e(l,t,f),wn(t,n),wn(n,o)},p(l,[f]){f&1&&s!==(s=l[0].text+"")&&Nu(o,s),f&1&&a!==(a=`lang-${l[0].lang}`)&&ht(n,"class",a)},i:He,o:He,d(l){l&&J(t)}}}function y_(r,t,n){let{token:s}=t;const o=void 0,a=void 0;return r.$$set=l=>{"token"in l&&n(0,s=l.token)},[s,o,a]}class A_ extends Le{constructor(t){super(),Re(this,t,y_,T_,Ne,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function F_(r){let t,n=r[0].raw.slice(1,r[0].raw.length-1)+"",s;return{c(){t=ke("code"),s=wu(n)},l(o){t=Ce(o,"CODE",{});var a=Ve(t);s=Iu(a,n),a.forEach(J)},m(o,a){_e(o,t,a),wn(t,s)},p(o,[a]){a&1&&n!==(n=o[0].raw.slice(1,o[0].raw.length-1)+"")&&Nu(s,n)},i:He,o:He,d(o){o&&J(t)}}}function w_(r,t,n){let{token:s}=t;const o=void 0,a=void 0;return r.$$set=l=>{"token"in l&&n(0,s=l.token)},[s,o,a]}class I_ extends Le{constructor(t){super(),Re(this,t,w_,F_,Ne,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function bc(r,t,n){const s=r.slice();return s[3]=t[n],s}function xc(r,t,n){const s=r.slice();return s[6]=t[n],s}function kc(r,t,n){const s=r.slice();return s[9]=t[n],s}function Cc(r){let t,n,s,o;return n=new Is({props:{tokens:r[9].tokens,options:r[1],renderers:r[2]}}),{c(){t=ke("th"),jn(n.$$.fragment),s=bu(),this.h()},l(a){t=Ce(a,"TH",{scope:!0});var l=Ve(t);ar(n.$$.fragment,l),s=xu(l),l.forEach(J),this.h()},h(){ht(t,"scope","col")},m(a,l){_e(a,t,l),qn(n,t,null),wn(t,s),o=!0},p(a,l){const f={};l&1&&(f.tokens=a[9].tokens),l&2&&(f.options=a[1]),l&4&&(f.renderers=a[2]),n.$set(f)},i(a){o||(ee(n.$$.fragment,a),o=!0)},o(a){oe(n.$$.fragment,a),o=!1},d(a){a&&J(t),Yn(n)}}}function Oc(r){let t,n,s;return n=new Is({props:{tokens:r[6].tokens,options:r[1],renderers:r[2]}}),{c(){t=ke("td"),jn(n.$$.fragment)},l(o){t=Ce(o,"TD",{});var a=Ve(t);ar(n.$$.fragment,a),a.forEach(J)},m(o,a){_e(o,t,a),qn(n,t,null),s=!0},p(o,a){const l={};a&1&&(l.tokens=o[6].tokens),a&2&&(l.options=o[1]),a&4&&(l.renderers=o[2]),n.$set(l)},i(o){s||(ee(n.$$.fragment,o),s=!0)},o(o){oe(n.$$.fragment,o),s=!1},d(o){o&&J(t),Yn(n)}}}function Sc(r){let t,n,s,o=an(r[3]),a=[];for(let f=0;foe(a[f],1,1,()=>{a[f]=null});return{c(){t=ke("tr");for(let f=0;foe(h[C],1,1,()=>{h[C]=null});let D=an(r[0].rows),T=[];for(let C=0;Coe(T[C],1,1,()=>{T[C]=null});return{c(){t=ke("table"),n=ke("thead"),s=ke("tr");for(let C=0;C{"token"in l&&n(0,s=l.token),"options"in l&&n(1,o=l.options),"renderers"in l&&n(2,a=l.renderers)},[s,o,a]}class x_ extends Le{constructor(t){super(),Re(this,t,b_,N_,Ne,{token:0,options:1,renderers:2})}}function k_(r){let t,n=r[0].text+"",s;return{c(){t=new HD(!1),s=et(),this.h()},l(o){t=JD(o,!1),s=et(),this.h()},h(){t.a=s},m(o,a){t.m(n,o,a),_e(o,s,a)},p(o,[a]){a&1&&n!==(n=o[0].text+"")&&t.p(n)},i:He,o:He,d(o){o&&(J(s),t.d())}}}function C_(r,t,n){let{token:s}=t;const o=void 0,a=void 0;return r.$$set=l=>{"token"in l&&n(0,s=l.token)},[s,o,a]}class O_ extends Le{constructor(t){super(),Re(this,t,C_,k_,Ne,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function S_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("p"),o&&o.c()},l(a){t=Ce(a,"P",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function L_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class R_ extends Le{constructor(t){super(),Re(this,t,L_,S_,Ne,{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 B_(r){let t,n,s,o;const a=r[4].default,l=Zt(a,r,r[3],null);return{c(){t=ke("a"),l&&l.c(),this.h()},l(f){t=Ce(f,"A",{href:!0,title:!0});var h=Ve(t);l&&l.l(h),h.forEach(J),this.h()},h(){ht(t,"href",n=mu(r[0].href)?gu(r[1].baseUrl,r[0].href):r[0].href),ht(t,"title",s=r[0].title)},m(f,h){_e(f,t,h),l&&l.m(t,null),o=!0},p(f,[h]){l&&l.p&&(!o||h&8)&&Kt(l,a,f,f[3],o?tn(a,f[3],h,null):en(f[3]),null),(!o||h&3&&n!==(n=mu(f[0].href)?gu(f[1].baseUrl,f[0].href):f[0].href))&&ht(t,"href",n),(!o||h&1&&s!==(s=f[0].title))&&ht(t,"title",s)},i(f){o||(ee(l,f),o=!0)},o(f){oe(l,f),o=!1},d(f){f&&J(t),l&&l.d(f)}}}function $_(r,t,n){let{$$slots:s={},$$scope:o}=t,{token:a}=t,{options:l}=t;const f=void 0;return r.$$set=h=>{"token"in h&&n(0,a=h.token),"options"in h&&n(1,l=h.options),"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class P_ extends Le{constructor(t){super(),Re(this,t,$_,B_,Ne,{token:0,options:1,renderers:2})}get renderers(){return this.$$.ctx[2]}}function M_(r){let t;const n=r[4].default,s=Zt(n,r,r[3],null);return{c(){s&&s.c()},l(o){s&&s.l(o)},m(o,a){s&&s.m(o,a),t=!0},p(o,[a]){s&&s.p&&(!t||a&8)&&Kt(s,n,o,o[3],t?tn(n,o[3],a,null):en(o[3]),null)},i(o){t||(ee(s,o),t=!0)},o(o){oe(s,o),t=!1},d(o){s&&s.d(o)}}}function U_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class G_ extends Le{constructor(t){super(),Re(this,t,U_,M_,Ne,{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 V_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("dfn"),o&&o.c()},l(a){t=Ce(a,"DFN",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function j_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class q_ extends Le{constructor(t){super(),Re(this,t,j_,V_,Ne,{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 Y_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("del"),o&&o.c()},l(a){t=Ce(a,"DEL",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function Q_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class W_ extends Le{constructor(t){super(),Re(this,t,Q_,Y_,Ne,{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 z_(r){let t,n;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("em"),o&&o.c()},l(a){t=Ce(a,"EM",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function H_(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class J_ extends Le{constructor(t){super(),Re(this,t,H_,z_,Ne,{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 X_(r){let t;return{c(){t=ke("hr")},l(n){t=Ce(n,"HR",{})},m(n,s){_e(n,t,s)},p:He,i:He,o:He,d(n){n&&J(t)}}}function Z_(r,t,n){return[void 0,void 0,void 0]}class K_ extends Le{constructor(t){super(),Re(this,t,Z_,X_,Ne,{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;const s=r[4].default,o=Zt(s,r,r[3],null);return{c(){t=ke("strong"),o&&o.c()},l(a){t=Ce(a,"STRONG",{});var l=Ve(t);o&&o.l(l),l.forEach(J)},m(a,l){_e(a,t,l),o&&o.m(t,null),n=!0},p(a,[l]){o&&o.p&&(!n||l&8)&&Kt(o,s,a,a[3],n?tn(s,a[3],l,null):en(a[3]),null)},i(a){n||(ee(o,a),n=!0)},o(a){oe(o,a),n=!1},d(a){a&&J(t),o&&o.d(a)}}}function tv(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class nv extends Le{constructor(t){super(),Re(this,t,tv,ev,Ne,{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,s,o;return{c(){t=ke("img"),this.h()},l(a){t=Ce(a,"IMG",{src:!0,title:!0,alt:!0,class:!0}),this.h()},h(){Tc(t.src,n=r[0].href)||ht(t,"src",n),ht(t,"title",s=r[0].title),ht(t,"alt",o=r[0].text),ht(t,"class","markdown-image svelte-z38cge")},m(a,l){_e(a,t,l)},p(a,[l]){l&1&&!Tc(t.src,n=a[0].href)&&ht(t,"src",n),l&1&&s!==(s=a[0].title)&&ht(t,"title",s),l&1&&o!==(o=a[0].text)&&ht(t,"alt",o)},i:He,o:He,d(a){a&&J(t)}}}function iv(r,t,n){let{token:s}=t;const o=void 0,a=void 0;return r.$$set=l=>{"token"in l&&n(0,s=l.token)},[s,o,a]}class sv extends Le{constructor(t){super(),Re(this,t,iv,rv,Ne,{token:0,options:1,renderers:2})}get options(){return this.$$.ctx[1]}get renderers(){return this.$$.ctx[2]}}function ov(r){let t;const n=r[4].default,s=Zt(n,r,r[3],null);return{c(){s&&s.c()},l(o){s&&s.l(o)},m(o,a){s&&s.m(o,a),t=!0},p(o,[a]){s&&s.p&&(!t||a&8)&&Kt(s,n,o,o[3],t?tn(n,o[3],a,null):en(o[3]),null)},i(o){t||(ee(s,o),t=!0)},o(o){oe(s,o),t=!1},d(o){s&&s.d(o)}}}function uv(r,t,n){let{$$slots:s={},$$scope:o}=t;const a=void 0,l=void 0,f=void 0;return r.$$set=h=>{"$$scope"in h&&n(3,o=h.$$scope)},[a,l,f,o,s]}class Lc extends Le{constructor(t){super(),Re(this,t,uv,ov,Ne,{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 ku(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let lr=ku();function cf(r){lr=r}const ff=/[&<>"']/,av=new RegExp(ff.source,"g"),pf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,lv=new RegExp(pf.source,"g"),cv={"&":"&","<":"<",">":">",'"':""","'":"'"},Rc=r=>cv[r];function At(r,t){if(t){if(ff.test(r))return r.replace(av,Rc)}else if(pf.test(r))return r.replace(lv,Rc);return r}const fv=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function pv(r){return r.replace(fv,(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 hv=/(^|[^\[])\^/g;function De(r,t){let n=typeof r=="string"?r:r.source;t=t||"";const s={replace:(o,a)=>{let l=typeof a=="string"?a:a.source;return l=l.replace(hv,"$1"),n=n.replace(o,l),s},getRegex:()=>new RegExp(n,t)};return s}function Bc(r){try{r=encodeURI(r).replace(/%25/g,"%")}catch{return null}return r}const si={exec:()=>null};function $c(r,t){const n=r.replace(/\|/g,(a,l,f)=>{let h=!1,E=l;for(;--E>=0&&f[E]==="\\";)h=!h;return h?"|":" |"}),s=n.split(/ \|/);let o=0;if(s[0].trim()||s.shift(),s.length>0&&!s[s.length-1].trim()&&s.pop(),t)if(s.length>t)s.splice(t);else for(;s.length{const a=o.match(/^\s+/);if(a===null)return o;const[l]=a;return l.length>=s.length?o.slice(s.length):o}).join(` `)}class Ds{constructor(t){Fe(this,"options");Fe(this,"rules");Fe(this,"lexer");this.options=t||lr}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 s=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?s:as(s,` `)}}}fences(t){const n=this.rules.block.fences.exec(t);if(n){const s=n[0],o=gv(s,n[3]||"");return{type:"code",raw:s,lang:n[2]?n[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):n[2],text:o}}}heading(t){const n=this.rules.block.heading.exec(t);if(n){let s=n[2].trim();if(/#$/.test(s)){const o=as(s,"#");(this.options.pedantic||!o||/ $/.test(o))&&(s=o.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:s,tokens:this.lexer.inline(s)}}}hr(t){const n=this.rules.block.hr.exec(t);if(n)return{type:"hr",raw:n[0]}}blockquote(t){const n=this.rules.block.blockquote.exec(t);if(n){const s=as(n[0].replace(/^ *>[ \t]?/gm,""),` @@ -11,8 +11,8 @@ var YD=Object.defineProperty;var QD=(r,t,n)=>t in r?YD(r,t,{enumerable:!0,config `+b}!L&&!b.trim()&&(L=!0),f+=Oe+` `,t=t.substring(Oe.length+1),T=b.slice(C)}}a.loose||(E?a.loose=!0:/\n *\n *$/.test(f)&&(E=!0));let R=null,H;this.options.gfm&&(R=/^\[[ xX]\] /.exec(h),R&&(H=R[0]!=="[ ] ",h=h.replace(/^\[[ xX]\] +/,""))),a.items.push({type:"list_item",raw:f,task:!!R,checked:H,loose:!1,text:h,tokens:[]}),a.raw+=f}a.items[a.items.length-1].raw=f.trimEnd(),a.items[a.items.length-1].text=h.trimEnd(),a.raw=a.raw.trimEnd();for(let D=0;DC.type==="space"),b=T.length>0&&T.some(C=>/\n.*\n/.test(C.raw));a.loose=b}if(a.loose)for(let D=0;D$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):n[3];return{type:"def",tag:s,raw:n[0],href:o,title:a}}}table(t){const n=this.rules.block.table.exec(t);if(!n||!/[:|]/.test(n[2]))return;const s=$c(n[1]),o=n[2].replace(/^\||\| *$/g,"").split("|"),a=n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(` `):[],l={type:"table",raw:n[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(const f of s)l.header.push({text:f,tokens:this.lexer.inline(f)});for(const f of a)l.rows.push($c(f,l.header.length).map(h=>({text:h,tokens:this.lexer.inline(h)})));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 s=n[1].charAt(n[1].length-1)===` -`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:s,tokens:this.lexer.inline(s)}}}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:At(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 s=n[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const l=as(s.slice(0,-1),"\\");if((s.length-l.length)%2===0)return}else{const l=dv(n[2],"()");if(l>-1){const h=(n[0].indexOf("!")===0?5:4)+n[1].length+l;n[2]=n[2].substring(0,l),n[0]=n[0].substring(0,h).trim(),n[3]=""}}let o=n[2],a="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);l&&(o=l[1],a=l[3])}else a=n[3]?n[3].slice(1,-1):"";return o=o.trim(),/^$/.test(s)?o=o.slice(1):o=o.slice(1,-1)),Pc(n,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let s;if((s=this.rules.inline.reflink.exec(t))||(s=this.rules.inline.nolink.exec(t))){const o=(s[2]||s[1]).replace(/\s+/g," "),a=n[o.toLowerCase()];if(!a){const l=s[0].charAt(0);return{type:"text",raw:l,text:l}}return Pc(s,a,s[0],this.lexer)}}emStrong(t,n,s=""){let o=this.rules.inline.emStrongLDelim.exec(t);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,h,E=l,D=0;const T=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(T.lastIndex=0,n=n.slice(-1*t.length+l);(o=T.exec(n))!=null;){if(f=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!f)continue;if(h=[...f].length,o[3]||o[4]){E+=h;continue}else if((o[5]||o[6])&&l%3&&!((l+h)%3)){D+=h;continue}if(E-=h,E>0)continue;h=Math.min(h,h+E+D);const b=[...o[0]][0].length,C=t.slice(0,l+o.index+b+h);if(Math.min(l,h)%2){const R=C.slice(1,-1);return{type:"em",raw:C,text:R,tokens:this.lexer.inlineTokens(R)}}const L=C.slice(2,-2);return{type:"strong",raw:C,text:L,tokens:this.lexer.inlineTokens(L)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let s=n[2].replace(/\n/g," ");const o=/[^ ]/.test(s),a=/^ /.test(s)&&/ $/.test(s);return o&&a&&(s=s.substring(1,s.length-1)),s=At(s,!0),{type:"codespan",raw:n[0],text:s}}}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 s,o;return n[2]==="@"?(s=At(n[1]),o="mailto:"+s):(s=At(n[1]),o=s),{type:"link",raw:n[0],text:s,href:o,tokens:[{type:"text",raw:s,text:s}]}}}url(t){var s;let n;if(n=this.rules.inline.url.exec(t)){let o,a;if(n[2]==="@")o=At(n[0]),a="mailto:"+o;else{let l;do l=n[0],n[0]=((s=this.rules.inline._backpedal.exec(n[0]))==null?void 0:s[0])??"";while(l!==n[0]);o=At(n[0]),n[1]==="www."?a="http://"+n[0]:a=n[0]}return{type:"link",raw:n[0],text:o,href:a,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let s;return this.lexer.state.inRawBlock?s=n[0]:s=At(n[0]),{type:"text",raw:n[0],text:s}}}}const mv=/^(?: *(?:\n|$))+/,Ev=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Dv=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,fi=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,_v=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hf=/(?:[*+-]|\d{1,9}[.)])/,df=De(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,hf).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(),Cu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,vv=/^[^\n]+/,Ou=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Tv=De(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Ou).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),yv=De(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,hf).getRegex(),Ns="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",Su=/|$))/,Av=De("^ {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",Su).replace("tag",Ns).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),gf=De(Cu).replace("hr",fi).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",Ns).getRegex(),Fv=De(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",gf).getRegex(),Lu={blockquote:Fv,code:Ev,def:Tv,fences:Dv,heading:_v,hr:fi,html:Av,lheading:df,list:yv,newline:mv,paragraph:gf,table:si,text:vv},Mc=De("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",fi).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",Ns).getRegex(),Iv={...Lu,table:Mc,paragraph:De(Cu).replace("hr",fi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Mc).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",Ns).getRegex()},wv={...Lu,html:De(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Su).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:si,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:De(Cu).replace("hr",fi).replace("heading",` *#{1,6} *[^ -]`).replace("lheading",df).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},mf=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Nv=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ef=/^( {2,}|\\)\n(?!\s*$)/,bv=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Cv=De(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,pi).getRegex(),Ov=De("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,pi).getRegex(),Sv=De("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,pi).getRegex(),Lv=De(/\\([punct])/,"gu").replace(/punct/g,pi).getRegex(),Rv=De(/^<(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(),Bv=De(Su).replace("(?:-->|$)","-->").getRegex(),$v=De("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Bv).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_s=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pv=De(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",_s).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Df=De(/^!?\[(label)\]\[(ref)\]/).replace("label",_s).replace("ref",Ou).getRegex(),_f=De(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ou).getRegex(),Mv=De("reflink|nolink(?!\\()","g").replace("reflink",Df).replace("nolink",_f).getRegex(),Ru={_backpedal:si,anyPunctuation:Lv,autolink:Rv,blockSkip:kv,br:Ef,code:Nv,del:si,emStrongLDelim:Cv,emStrongRDelimAst:Ov,emStrongRDelimUnd:Sv,escape:mf,link:Pv,nolink:_f,punctuation:xv,reflink:Df,reflinkSearch:Mv,tag:$v,text:bv,url:si},Uv={...Ru,link:De(/^!?\[(label)\]\((.*?)\)/).replace("label",_s).getRegex(),reflink:De(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_s).getRegex()},Eu={...Ru,escape:De(mf).replace("])","~|])").getRegex(),url:De(/^((?: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]*?(?:(?=[\\/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 s=n[2].trim();if(!this.options.pedantic&&/^$/.test(s))return;const l=as(s.slice(0,-1),"\\");if((s.length-l.length)%2===0)return}else{const l=dv(n[2],"()");if(l>-1){const h=(n[0].indexOf("!")===0?5:4)+n[1].length+l;n[2]=n[2].substring(0,l),n[0]=n[0].substring(0,h).trim(),n[3]=""}}let o=n[2],a="";if(this.options.pedantic){const l=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o);l&&(o=l[1],a=l[3])}else a=n[3]?n[3].slice(1,-1):"";return o=o.trim(),/^$/.test(s)?o=o.slice(1):o=o.slice(1,-1)),Pc(n,{href:o&&o.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},n[0],this.lexer)}}reflink(t,n){let s;if((s=this.rules.inline.reflink.exec(t))||(s=this.rules.inline.nolink.exec(t))){const o=(s[2]||s[1]).replace(/\s+/g," "),a=n[o.toLowerCase()];if(!a){const l=s[0].charAt(0);return{type:"text",raw:l,text:l}}return Pc(s,a,s[0],this.lexer)}}emStrong(t,n,s=""){let o=this.rules.inline.emStrongLDelim.exec(t);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,h,E=l,D=0;const T=o[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(T.lastIndex=0,n=n.slice(-1*t.length+l);(o=T.exec(n))!=null;){if(f=o[1]||o[2]||o[3]||o[4]||o[5]||o[6],!f)continue;if(h=[...f].length,o[3]||o[4]){E+=h;continue}else if((o[5]||o[6])&&l%3&&!((l+h)%3)){D+=h;continue}if(E-=h,E>0)continue;h=Math.min(h,h+E+D);const b=[...o[0]][0].length,C=t.slice(0,l+o.index+b+h);if(Math.min(l,h)%2){const R=C.slice(1,-1);return{type:"em",raw:C,text:R,tokens:this.lexer.inlineTokens(R)}}const L=C.slice(2,-2);return{type:"strong",raw:C,text:L,tokens:this.lexer.inlineTokens(L)}}}}codespan(t){const n=this.rules.inline.code.exec(t);if(n){let s=n[2].replace(/\n/g," ");const o=/[^ ]/.test(s),a=/^ /.test(s)&&/ $/.test(s);return o&&a&&(s=s.substring(1,s.length-1)),s=At(s,!0),{type:"codespan",raw:n[0],text:s}}}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 s,o;return n[2]==="@"?(s=At(n[1]),o="mailto:"+s):(s=At(n[1]),o=s),{type:"link",raw:n[0],text:s,href:o,tokens:[{type:"text",raw:s,text:s}]}}}url(t){var s;let n;if(n=this.rules.inline.url.exec(t)){let o,a;if(n[2]==="@")o=At(n[0]),a="mailto:"+o;else{let l;do l=n[0],n[0]=((s=this.rules.inline._backpedal.exec(n[0]))==null?void 0:s[0])??"";while(l!==n[0]);o=At(n[0]),n[1]==="www."?a="http://"+n[0]:a=n[0]}return{type:"link",raw:n[0],text:o,href:a,tokens:[{type:"text",raw:o,text:o}]}}}inlineText(t){const n=this.rules.inline.text.exec(t);if(n){let s;return this.lexer.state.inRawBlock?s=n[0]:s=At(n[0]),{type:"text",raw:n[0],text:s}}}}const mv=/^(?: *(?:\n|$))+/,Ev=/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,Dv=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,fi=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,_v=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hf=/(?:[*+-]|\d{1,9}[.)])/,df=De(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,hf).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(),Cu=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,vv=/^[^\n]+/,Ou=/(?!\s*\])(?:\\.|[^\[\]\\])+/,Tv=De(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",Ou).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),yv=De(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,hf).getRegex(),Ns="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",Su=/|$))/,Av=De("^ {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",Su).replace("tag",Ns).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),gf=De(Cu).replace("hr",fi).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",Ns).getRegex(),Fv=De(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",gf).getRegex(),Lu={blockquote:Fv,code:Ev,def:Tv,fences:Dv,heading:_v,hr:fi,html:Av,lheading:df,list:yv,newline:mv,paragraph:gf,table:si,text:vv},Mc=De("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",fi).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",Ns).getRegex(),wv={...Lu,table:Mc,paragraph:De(Cu).replace("hr",fi).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Mc).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",Ns).getRegex()},Iv={...Lu,html:De(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Su).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:si,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:De(Cu).replace("hr",fi).replace("heading",` *#{1,6} *[^ +]`).replace("lheading",df).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},mf=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Nv=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ef=/^( {2,}|\\)\n(?!\s*$)/,bv=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\]*?>/g,Cv=De(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,pi).getRegex(),Ov=De("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,pi).getRegex(),Sv=De("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,pi).getRegex(),Lv=De(/\\([punct])/,"gu").replace(/punct/g,pi).getRegex(),Rv=De(/^<(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(),Bv=De(Su).replace("(?:-->|$)","-->").getRegex(),$v=De("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",Bv).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),_s=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Pv=De(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",_s).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Df=De(/^!?\[(label)\]\[(ref)\]/).replace("label",_s).replace("ref",Ou).getRegex(),_f=De(/^!?\[(ref)\](?:\[\])?/).replace("ref",Ou).getRegex(),Mv=De("reflink|nolink(?!\\()","g").replace("reflink",Df).replace("nolink",_f).getRegex(),Ru={_backpedal:si,anyPunctuation:Lv,autolink:Rv,blockSkip:kv,br:Ef,code:Nv,del:si,emStrongLDelim:Cv,emStrongRDelimAst:Ov,emStrongRDelimUnd:Sv,escape:mf,link:Pv,nolink:_f,punctuation:xv,reflink:Df,reflinkSearch:Mv,tag:$v,text:bv,url:si},Uv={...Ru,link:De(/^!?\[(label)\]\((.*?)\)/).replace("label",_s).getRegex(),reflink:De(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",_s).getRegex()},Eu={...Ru,escape:De(mf).replace("])","~|])").getRegex(),url:De(/^((?: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]*?(?:(?=[\\h+" ".repeat(E.length));let s,o,a,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),o=n[n.length-1],o&&(o.type==="paragraph"||o.type==="text")?(o.raw+=` `+s.raw,o.text+=` @@ -41,17 +41,17 @@ ${t} ${t} `}tablecell(t,n){const s=n.header?"th":"td";return(n.align?`<${s} align="${n.align}">`:`<${s}>`)+t+` `}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}`}br(){return"
"}del(t){return`${t}`}link(t,n,s){const o=Bc(t);if(o===null)return s;t=o;let a='
",a}image(t,n,s){const o=Bc(t);if(o===null)return s;t=o;let a=`${s}0&&b.tokens[0].type==="paragraph"?(b.tokens[0].text=H+" "+b.tokens[0].text,b.tokens[0].tokens&&b.tokens[0].tokens.length>0&&b.tokens[0].tokens[0].type==="text"&&(b.tokens[0].tokens[0].text=H+" "+b.tokens[0].tokens[0].text)):b.tokens.unshift({type:"text",text:H+" "}):R+=H+" "}R+=this.parse(b.tokens,E),D+=this.renderer.listitem(R,L,!!C)}s+=this.renderer.list(D,f,h);continue}case"html":{const l=a;s+=this.renderer.html(l.text,l.block);continue}case"paragraph":{const l=a;s+=this.renderer.paragraph(this.parseInline(l.tokens));continue}case"text":{let l=a,f=l.tokens?this.parseInline(l.tokens):l.text;for(;o+1{const E=f[h].flat(1/0);s=s.concat(this.walkTokens(E,n))}):f.tokens&&(s=s.concat(this.walkTokens(f.tokens,n)))}}return s}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(s=>{const o={...s};if(o.async=this.defaults.async||o.async||!1,s.extensions&&(s.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){const l=n.renderers[a.name];l?n.renderers[a.name]=function(...f){let h=a.renderer.apply(this,f);return h===!1&&(h=l.apply(this,f)),h}:n.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const l=n[a.level];l?l.unshift(a.tokenizer):n[a.level]=[a.tokenizer],a.start&&(a.level==="block"?n.startBlock?n.startBlock.push(a.start):n.startBlock=[a.start]:a.level==="inline"&&(n.startInline?n.startInline.push(a.start):n.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(n.childTokens[a.name]=a.childTokens)}),o.extensions=n),s.renderer){const a=this.defaults.renderer||new vs(this.defaults);for(const l in s.renderer){if(!(l in a))throw new Error(`renderer '${l}' does not exist`);if(l==="options")continue;const f=l,h=s.renderer[f],E=a[f];a[f]=(...D)=>{let T=h.apply(a,D);return T===!1&&(T=E.apply(a,D)),T||""}}o.renderer=a}if(s.tokenizer){const a=this.defaults.tokenizer||new Ds(this.defaults);for(const l in s.tokenizer){if(!(l in a))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;const f=l,h=s.tokenizer[f],E=a[f];a[f]=(...D)=>{let T=h.apply(a,D);return T===!1&&(T=E.apply(a,D)),T}}o.tokenizer=a}if(s.hooks){const a=this.defaults.hooks||new oi;for(const l in s.hooks){if(!(l in a))throw new Error(`hook '${l}' does not exist`);if(l==="options")continue;const f=l,h=s.hooks[f],E=a[f];oi.passThroughHooks.has(l)?a[f]=D=>{if(this.defaults.async)return Promise.resolve(h.call(a,D)).then(b=>E.call(a,b));const T=h.call(a,D);return E.call(a,T)}:a[f]=(...D)=>{let T=h.apply(a,D);return T===!1&&(T=E.apply(a,D)),T}}o.hooks=a}if(s.walkTokens){const a=this.defaults.walkTokens,l=s.walkTokens;o.walkTokens=function(f){let h=[];return h.push(l.call(this,f)),a&&(h=h.concat(a.call(this,f))),h}}this.defaults={...this.defaults,...o}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Yt.lex(t,n??this.defaults)}parser(t,n){return ln.parse(t,n??this.defaults)}}ci=new WeakSet,Du=function(t,n){return(s,o)=>{const a={...o},l={...this.defaults,...a};this.defaults.async===!0&&a.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=us(this,Is,vf).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(h=>t(h,l)).then(h=>l.hooks?l.hooks.processAllTokens(h):h).then(h=>l.walkTokens?Promise.all(this.walkTokens(h,l.walkTokens)).then(()=>h):h).then(h=>n(h,l)).then(h=>l.hooks?l.hooks.postprocess(h):h).catch(f);try{l.hooks&&(s=l.hooks.preprocess(s));let h=t(s,l);l.hooks&&(h=l.hooks.processAllTokens(h)),l.walkTokens&&this.walkTokens(h,l.walkTokens);let E=n(h,l);return l.hooks&&(E=l.hooks.postprocess(E)),E}catch(h){return f(h)}}},Is=new WeakSet,vf=function(t,n){return s=>{if(s.message+=` -Please report this to https://github.com/markedjs/marked.`,t){const o="

An error occurred:

"+At(s.message+"",!0)+"
";return n?Promise.resolve(o):o}if(n)return Promise.reject(s);throw s}};const or=new Vv;function Ee(r,t){return or.parse(r,t)}Ee.options=Ee.setOptions=function(r){return or.setOptions(r),Ee.defaults=or.defaults,cf(Ee.defaults),Ee};Ee.getDefaults=ku;Ee.defaults=lr;Ee.use=function(...r){return or.use(...r),Ee.defaults=or.defaults,cf(Ee.defaults),Ee};Ee.walkTokens=function(r,t){return or.walkTokens(r,t)};Ee.parseInline=or.parseInline;Ee.Parser=ln;Ee.parser=ln.parse;Ee.Renderer=vs;Ee.TextRenderer=Bu;Ee.Lexer=Yt;Ee.lexer=Yt.lex;Ee.Tokenizer=Ds;Ee.Hooks=oi;Ee.parse=Ee;Ee.options;Ee.setOptions;Ee.use;Ee.walkTokens;Ee.parseInline;ln.parse;Yt.lex;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 Tf{constructor(){this.occurrences,this.reset()}slug(t,n){const s=this;let o=Wv(t,n===!0);const a=o;for(;qv.call(s.occurrences,o);)s.occurrences[a]++,o=a+"-"+s.occurrences[a];return s.occurrences[o]=0,o}reset(){this.occurrences=Object.create(null)}}function Wv(r,t){return typeof r!="string"?"":(t||(r=r.toLowerCase()),r.replace(jv,"").replace(/ /g,"-"))}function Yv(r){return new Yt().lex(r)}const Qv=()=>({heading:t_,blockquote:i_,list:d_,list_item:E_,br:v_,code:A_,codespan:w_,table:x_,html:O_,paragraph:R_,link:P_,text:G_,def:q_,del:Q_,em:J_,hr:K_,strong:nv,image:sv,space:Lc,escape:Lc}),zv=()=>({baseUrl:"/",slugger:new Tf});function Hv(){const r=console.warn;console.warn=t=>{t.includes("unknown prop")||t.includes("unexpected slot")||r(t)},XD(()=>{console.warn=r})}function Jv(r){let t,n;return t=new ws({props:{tokens:r[0],renderers:r[1],options:r[2]}}),{c(){jn(t.$$.fragment)},l(s){ar(t.$$.fragment,s)},m(s,o){qn(t,s,o),n=!0},p(s,[o]){const a={};o&1&&(a.tokens=s[0]),o&2&&(a.renderers=s[1]),o&4&&(a.options=s[2]),t.$set(a)},i(s){n||(ee(t.$$.fragment,s),n=!0)},o(s){oe(t.$$.fragment,s),n=!1},d(s){Wn(t,s)}}}function Xv(r,t,n){Hv();let{source:s}=t,{options:o={}}=t,{renderers:a={}}=t,l,f,h;return r.$$set=E=>{"source"in E&&n(3,s=E.source),"options"in E&&n(4,o=E.options),"renderers"in E&&n(5,a=E.renderers)},r.$$.update=()=>{r.$$.dirty&56&&(n(0,l=Yv(s)),n(1,f={...Qv(),...a}),n(2,h={...zv(),...o}))},[l,f,h,s,o,a]}class Iy extends Le{constructor(t){super(),Re(this,t,Xv,Jv,Ne,{source:3,options:4,renderers:5})}}const hi={joinUrlPaths:gu,isRelative:mu,generatePathSegment:af};var ti=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zv(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function cs(){return{convert:r=>r==null||r===""?null:String(r),asString:r=>String(r),type:r=>r.string().optional()}}function Uc(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 fs(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 Gc(r){return{convert:t=>t==null||!r.find(n=>n===t)?null:t,asString:t=>String(t),type:t=>t.enum(r).optional()}}function yt(r,t){const n=s=>t.convert(s[r]);return{name:Kv(r),key:r,asEnv:s=>({[r]:t.asString(s)}),zod:{type:t.type},get:n,getOrDefault:(s,o)=>n(s)??o}}function Kv(r){return r.toLowerCase().replace(/([-_][a-z])/gi,t=>t.toUpperCase().replace("-","").replace("_",""))}var bs={APP_LOGO:yt("APP_LOGO",cs()),APP_TITLE:yt("APP_TITLE",cs()),APP_FAVICON:yt("APP_FAVICON",cs()),SITE_ROOT:yt("SITE_ROOT",cs()),SITE_META:yt("SITE_META",Uc(r=>r.string())),CUSTOM_STYLES:yt("CUSTOM_STYLES",fs(r=>r.string())),FIELDS_SORTING:yt("FIELDS_SORTING",Gc(["default","alphabetical"])),ARGUMENTS_SORTING:yt("ARGUMENTS_SORTING",Gc(["default","alphabetical"])),QUERY_GENERATION_FACTORIES:yt("QUERY_GENERATION_FACTORIES",Uc(r=>r.union([r.string(),r.boolean(),r.number(),r.null(),r.record(r.unknown())]))),PAGES:yt("PAGES",fs(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:yt("EXTERNAL_LINKS",fs(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:yt("DIRECTIVES",fs(r=>r.object({name:r.string().min(1),args:r.array(r.string())})))};function eT(){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()}}yt("MAGIDOC_GENERATE",eT());var Ts={exports:{}};/** +`+(l.tokens?this.parseInline(l.tokens):l.text);s+=n?this.renderer.paragraph(f):f;continue}default:{const l='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(l),"";throw new Error(l)}}}return s}parseInline(t,n){n=n||this.renderer;let s="";for(let o=0;o{const E=f[h].flat(1/0);s=s.concat(this.walkTokens(E,n))}):f.tokens&&(s=s.concat(this.walkTokens(f.tokens,n)))}}return s}use(...t){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return t.forEach(s=>{const o={...s};if(o.async=this.defaults.async||o.async||!1,s.extensions&&(s.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){const l=n.renderers[a.name];l?n.renderers[a.name]=function(...f){let h=a.renderer.apply(this,f);return h===!1&&(h=l.apply(this,f)),h}:n.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const l=n[a.level];l?l.unshift(a.tokenizer):n[a.level]=[a.tokenizer],a.start&&(a.level==="block"?n.startBlock?n.startBlock.push(a.start):n.startBlock=[a.start]:a.level==="inline"&&(n.startInline?n.startInline.push(a.start):n.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(n.childTokens[a.name]=a.childTokens)}),o.extensions=n),s.renderer){const a=this.defaults.renderer||new vs(this.defaults);for(const l in s.renderer){if(!(l in a))throw new Error(`renderer '${l}' does not exist`);if(l==="options")continue;const f=l,h=s.renderer[f],E=a[f];a[f]=(...D)=>{let T=h.apply(a,D);return T===!1&&(T=E.apply(a,D)),T||""}}o.renderer=a}if(s.tokenizer){const a=this.defaults.tokenizer||new Ds(this.defaults);for(const l in s.tokenizer){if(!(l in a))throw new Error(`tokenizer '${l}' does not exist`);if(["options","rules","lexer"].includes(l))continue;const f=l,h=s.tokenizer[f],E=a[f];a[f]=(...D)=>{let T=h.apply(a,D);return T===!1&&(T=E.apply(a,D)),T}}o.tokenizer=a}if(s.hooks){const a=this.defaults.hooks||new oi;for(const l in s.hooks){if(!(l in a))throw new Error(`hook '${l}' does not exist`);if(l==="options")continue;const f=l,h=s.hooks[f],E=a[f];oi.passThroughHooks.has(l)?a[f]=D=>{if(this.defaults.async)return Promise.resolve(h.call(a,D)).then(b=>E.call(a,b));const T=h.call(a,D);return E.call(a,T)}:a[f]=(...D)=>{let T=h.apply(a,D);return T===!1&&(T=E.apply(a,D)),T}}o.hooks=a}if(s.walkTokens){const a=this.defaults.walkTokens,l=s.walkTokens;o.walkTokens=function(f){let h=[];return h.push(l.call(this,f)),a&&(h=h.concat(a.call(this,f))),h}}this.defaults={...this.defaults,...o}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,n){return Qt.lex(t,n??this.defaults)}parser(t,n){return ln.parse(t,n??this.defaults)}}ci=new WeakSet,Du=function(t,n){return(s,o)=>{const a={...o},l={...this.defaults,...a};this.defaults.async===!0&&a.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=us(this,ws,vf).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(h=>t(h,l)).then(h=>l.hooks?l.hooks.processAllTokens(h):h).then(h=>l.walkTokens?Promise.all(this.walkTokens(h,l.walkTokens)).then(()=>h):h).then(h=>n(h,l)).then(h=>l.hooks?l.hooks.postprocess(h):h).catch(f);try{l.hooks&&(s=l.hooks.preprocess(s));let h=t(s,l);l.hooks&&(h=l.hooks.processAllTokens(h)),l.walkTokens&&this.walkTokens(h,l.walkTokens);let E=n(h,l);return l.hooks&&(E=l.hooks.postprocess(E)),E}catch(h){return f(h)}}},ws=new WeakSet,vf=function(t,n){return s=>{if(s.message+=` +Please report this to https://github.com/markedjs/marked.`,t){const o="

An error occurred:

"+At(s.message+"",!0)+"
";return n?Promise.resolve(o):o}if(n)return Promise.reject(s);throw s}};const or=new Vv;function Ee(r,t){return or.parse(r,t)}Ee.options=Ee.setOptions=function(r){return or.setOptions(r),Ee.defaults=or.defaults,cf(Ee.defaults),Ee};Ee.getDefaults=ku;Ee.defaults=lr;Ee.use=function(...r){return or.use(...r),Ee.defaults=or.defaults,cf(Ee.defaults),Ee};Ee.walkTokens=function(r,t){return or.walkTokens(r,t)};Ee.parseInline=or.parseInline;Ee.Parser=ln;Ee.parser=ln.parse;Ee.Renderer=vs;Ee.TextRenderer=Bu;Ee.Lexer=Qt;Ee.lexer=Qt.lex;Ee.Tokenizer=Ds;Ee.Hooks=oi;Ee.parse=Ee;Ee.options;Ee.setOptions;Ee.use;Ee.walkTokens;Ee.parseInline;ln.parse;Qt.lex;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 Tf{constructor(){this.occurrences,this.reset()}slug(t,n){const s=this;let o=Yv(t,n===!0);const a=o;for(;qv.call(s.occurrences,o);)s.occurrences[a]++,o=a+"-"+s.occurrences[a];return s.occurrences[o]=0,o}reset(){this.occurrences=Object.create(null)}}function Yv(r,t){return typeof r!="string"?"":(t||(r=r.toLowerCase()),r.replace(jv,"").replace(/ /g,"-"))}function Qv(r){return new Qt().lex(r)}const Wv=()=>({heading:t_,blockquote:i_,list:d_,list_item:E_,br:v_,code:A_,codespan:I_,table:x_,html:O_,paragraph:R_,link:P_,text:G_,def:q_,del:W_,em:J_,hr:K_,strong:nv,image:sv,space:Lc,escape:Lc}),zv=()=>({baseUrl:"/",slugger:new Tf});function Hv(){const r=console.warn;console.warn=t=>{t.includes("unknown prop")||t.includes("unexpected slot")||r(t)},XD(()=>{console.warn=r})}function Jv(r){let t,n;return t=new Is({props:{tokens:r[0],renderers:r[1],options:r[2]}}),{c(){jn(t.$$.fragment)},l(s){ar(t.$$.fragment,s)},m(s,o){qn(t,s,o),n=!0},p(s,[o]){const a={};o&1&&(a.tokens=s[0]),o&2&&(a.renderers=s[1]),o&4&&(a.options=s[2]),t.$set(a)},i(s){n||(ee(t.$$.fragment,s),n=!0)},o(s){oe(t.$$.fragment,s),n=!1},d(s){Yn(t,s)}}}function Xv(r,t,n){Hv();let{source:s}=t,{options:o={}}=t,{renderers:a={}}=t,l,f,h;return r.$$set=E=>{"source"in E&&n(3,s=E.source),"options"in E&&n(4,o=E.options),"renderers"in E&&n(5,a=E.renderers)},r.$$.update=()=>{r.$$.dirty&56&&(n(0,l=Qv(s)),n(1,f={...Wv(),...a}),n(2,h={...zv(),...o}))},[l,f,h,s,o,a]}class wy extends Le{constructor(t){super(),Re(this,t,Xv,Jv,Ne,{source:3,options:4,renderers:5})}}const hi={joinUrlPaths:gu,isRelative:mu,generatePathSegment:af};var ti=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Zv(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function cs(){return{convert:r=>r==null||r===""?null:String(r),asString:r=>String(r),type:r=>r.string().optional()}}function Uc(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 fs(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 Gc(r){return{convert:t=>t==null||!r.find(n=>n===t)?null:t,asString:t=>String(t),type:t=>t.enum(r).optional()}}function yt(r,t){const n=s=>t.convert(s[r]);return{name:Kv(r),key:r,asEnv:s=>({[r]:t.asString(s)}),zod:{type:t.type},get:n,getOrDefault:(s,o)=>n(s)??o}}function Kv(r){return r.toLowerCase().replace(/([-_][a-z])/gi,t=>t.toUpperCase().replace("-","").replace("_",""))}var bs={APP_LOGO:yt("APP_LOGO",cs()),APP_TITLE:yt("APP_TITLE",cs()),APP_FAVICON:yt("APP_FAVICON",cs()),SITE_ROOT:yt("SITE_ROOT",cs()),SITE_META:yt("SITE_META",Uc(r=>r.string())),CUSTOM_STYLES:yt("CUSTOM_STYLES",fs(r=>r.string())),FIELDS_SORTING:yt("FIELDS_SORTING",Gc(["default","alphabetical"])),ARGUMENTS_SORTING:yt("ARGUMENTS_SORTING",Gc(["default","alphabetical"])),QUERY_GENERATION_FACTORIES:yt("QUERY_GENERATION_FACTORIES",Uc(r=>r.union([r.string(),r.boolean(),r.number(),r.null(),r.record(r.unknown())]))),PAGES:yt("PAGES",fs(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:yt("EXTERNAL_LINKS",fs(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:yt("DIRECTIVES",fs(r=>r.object({name:r.string().min(1),args:r.array(r.string())})))};function eT(){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()}}yt("MAGIDOC_GENERATE",eT());var Ts={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 - */Ts.exports;(function(r,t){(function(){var n,s="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",f="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",E=500,D="__lodash_placeholder__",T=1,b=2,C=4,L=1,R=2,H=1,pe=2,Ue=4,ye=8,be=16,Oe=32,tt=64,Je=128,hn=256,O=512,X=30,nt="...",Cn=800,zn=16,mi=1,fr=2,Ei=3,rn=1/0,$t=9007199254740991,pr=17976931348623157e292,Hn=NaN,Ft=4294967295,w=Ft-1,U=Ft>>>1,$=[["ary",Je],["bind",H],["bindKey",pe],["curry",ye],["curryRight",be],["flip",O],["partial",Oe],["partialRight",tt],["rearg",hn]],P="[object Arguments]",he="[object Array]",Be="[object AsyncFunction]",de="[object Boolean]",It="[object Date]",Sr="[object DOMException]",On="[object Error]",Xe="[object Function]",ju="[object GeneratorFunction]",Pt="[object Map]",Lr="[object Number]",lp="[object Null]",dn="[object Object]",qu="[object Promise]",cp="[object Proxy]",Rr="[object RegExp]",Mt="[object Set]",Br="[object String]",Di="[object Symbol]",fp="[object Undefined]",$r="[object WeakMap]",pp="[object WeakSet]",Pr="[object ArrayBuffer]",hr="[object DataView]",Ms="[object Float32Array]",Us="[object Float64Array]",Gs="[object Int8Array]",Vs="[object Int16Array]",js="[object Int32Array]",qs="[object Uint8Array]",Ws="[object Uint8ClampedArray]",Ys="[object Uint16Array]",Qs="[object Uint32Array]",hp=/\b__p \+= '';/g,dp=/\b(__p \+=) '' \+/g,gp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Wu=/&(?:amp|lt|gt|quot|#39);/g,Yu=/[&<>"']/g,mp=RegExp(Wu.source),Ep=RegExp(Yu.source),Dp=/<%-([\s\S]+?)%>/g,_p=/<%([\s\S]+?)%>/g,Qu=/<%=([\s\S]+?)%>/g,vp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tp=/^\w*$/,yp=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zs=/[\\^$.*+?()[\]{}|]/g,Ap=RegExp(zs.source),Hs=/^\s+/,Fp=/\s/,Ip=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,wp=/\{\n\/\* \[wrapped with (.+)\] \*/,Np=/,? & /,bp=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,xp=/[()=,{}\[\]\/\s]/,kp=/\\(\\)?/g,Cp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zu=/\w*$/,Op=/^[-+]0x[0-9a-f]+$/i,Sp=/^0b[01]+$/i,Lp=/^\[object .+?Constructor\]$/,Rp=/^0o[0-7]+$/i,Bp=/^(?:0|[1-9]\d*)$/,$p=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_i=/($^)/,Pp=/['\n\r\u2028\u2029\\]/g,vi="\\ud800-\\udfff",Mp="\\u0300-\\u036f",Up="\\ufe20-\\ufe2f",Gp="\\u20d0-\\u20ff",Hu=Mp+Up+Gp,Ju="\\u2700-\\u27bf",Xu="a-z\\xdf-\\xf6\\xf8-\\xff",Vp="\\xac\\xb1\\xd7\\xf7",jp="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",qp="\\u2000-\\u206f",Wp=" \\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",Zu="A-Z\\xc0-\\xd6\\xd8-\\xde",Ku="\\ufe0e\\ufe0f",ea=Vp+jp+qp+Wp,Js="['’]",Yp="["+vi+"]",ta="["+ea+"]",Ti="["+Hu+"]",na="\\d+",Qp="["+Ju+"]",ra="["+Xu+"]",ia="[^"+vi+ea+na+Ju+Xu+Zu+"]",Xs="\\ud83c[\\udffb-\\udfff]",zp="(?:"+Ti+"|"+Xs+")",sa="[^"+vi+"]",Zs="(?:\\ud83c[\\udde6-\\uddff]){2}",Ks="[\\ud800-\\udbff][\\udc00-\\udfff]",dr="["+Zu+"]",oa="\\u200d",ua="(?:"+ra+"|"+ia+")",Hp="(?:"+dr+"|"+ia+")",aa="(?:"+Js+"(?:d|ll|m|re|s|t|ve))?",la="(?:"+Js+"(?:D|LL|M|RE|S|T|VE))?",ca=zp+"?",fa="["+Ku+"]?",Jp="(?:"+oa+"(?:"+[sa,Zs,Ks].join("|")+")"+fa+ca+")*",Xp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pa=fa+ca+Jp,Kp="(?:"+[Qp,Zs,Ks].join("|")+")"+pa,eh="(?:"+[sa+Ti+"?",Ti,Zs,Ks,Yp].join("|")+")",th=RegExp(Js,"g"),nh=RegExp(Ti,"g"),eo=RegExp(Xs+"(?="+Xs+")|"+eh+pa,"g"),rh=RegExp([dr+"?"+ra+"+"+aa+"(?="+[ta,dr,"$"].join("|")+")",Hp+"+"+la+"(?="+[ta,dr+ua,"$"].join("|")+")",dr+"?"+ua+"+"+aa,dr+"+"+la,Zp,Xp,na,Kp].join("|"),"g"),ih=RegExp("["+oa+vi+Hu+Ku+"]"),sh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,oh=["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"],uh=-1,Ie={};Ie[Ms]=Ie[Us]=Ie[Gs]=Ie[Vs]=Ie[js]=Ie[qs]=Ie[Ws]=Ie[Ys]=Ie[Qs]=!0,Ie[P]=Ie[he]=Ie[Pr]=Ie[de]=Ie[hr]=Ie[It]=Ie[On]=Ie[Xe]=Ie[Pt]=Ie[Lr]=Ie[dn]=Ie[Rr]=Ie[Mt]=Ie[Br]=Ie[$r]=!1;var Ae={};Ae[P]=Ae[he]=Ae[Pr]=Ae[hr]=Ae[de]=Ae[It]=Ae[Ms]=Ae[Us]=Ae[Gs]=Ae[Vs]=Ae[js]=Ae[Pt]=Ae[Lr]=Ae[dn]=Ae[Rr]=Ae[Mt]=Ae[Br]=Ae[Di]=Ae[qs]=Ae[Ws]=Ae[Ys]=Ae[Qs]=!0,Ae[On]=Ae[Xe]=Ae[$r]=!1;var ah={À:"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"},lh={"&":"&","<":"<",">":">",'"':""","'":"'"},ch={"&":"&","<":"<",">":">",""":'"',"'":"'"},fh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ph=parseFloat,hh=parseInt,ha=typeof ti=="object"&&ti&&ti.Object===Object&&ti,dh=typeof self=="object"&&self&&self.Object===Object&&self,Qe=ha||dh||Function("return this")(),to=t&&!t.nodeType&&t,Jn=to&&!0&&r&&!r.nodeType&&r,da=Jn&&Jn.exports===to,no=da&&ha.process,wt=function(){try{var v=Jn&&Jn.require&&Jn.require("util").types;return v||no&&no.binding&&no.binding("util")}catch{}}(),ga=wt&&wt.isArrayBuffer,ma=wt&&wt.isDate,Ea=wt&&wt.isMap,Da=wt&&wt.isRegExp,_a=wt&&wt.isSet,va=wt&&wt.isTypedArray;function mt(v,I,F){switch(F.length){case 0:return v.call(I);case 1:return v.call(I,F[0]);case 2:return v.call(I,F[0],F[1]);case 3:return v.call(I,F[0],F[1],F[2])}return v.apply(I,F)}function gh(v,I,F,M){for(var Z=-1,fe=v==null?0:v.length;++Z-1}function ro(v,I,F){for(var M=-1,Z=v==null?0:v.length;++M-1;);return F}function ba(v,I){for(var F=v.length;F--&&gr(I,v[F],0)>-1;);return F}function Fh(v,I){for(var F=v.length,M=0;F--;)v[F]===I&&++M;return M}var Ih=uo(ah),wh=uo(lh);function Nh(v){return"\\"+fh[v]}function bh(v,I){return v==null?n:v[I]}function mr(v){return ih.test(v)}function xh(v){return sh.test(v)}function kh(v){for(var I,F=[];!(I=v.next()).done;)F.push(I.value);return F}function fo(v){var I=-1,F=Array(v.size);return v.forEach(function(M,Z){F[++I]=[Z,M]}),F}function xa(v,I){return function(F){return v(I(F))}}function Rn(v,I){for(var F=-1,M=v.length,Z=0,fe=[];++F-1}function Ed(e,i){var u=this.__data__,c=Mi(u,e);return c<0?(++this.size,u.push([e,i])):u[c][1]=i,this}gn.prototype.clear=hd,gn.prototype.delete=dd,gn.prototype.get=gd,gn.prototype.has=md,gn.prototype.set=Ed;function mn(e){var i=-1,u=e==null?0:e.length;for(this.clear();++i=i?e:i)),e}function kt(e,i,u,c,p,g){var m,_=i&T,y=i&b,N=i&C;if(u&&(m=p?u(e,c,p,g):u(e)),m!==n)return m;if(!xe(e))return e;var x=K(e);if(x){if(m=T0(e),!_)return lt(e,m)}else{var S=Ke(e),B=S==Xe||S==ju;if(Gn(e))return fl(e,_);if(S==dn||S==P||B&&!p){if(m=y||B?{}:kl(e),!_)return y?c0(e,Sd(m,e)):l0(e,Ga(m,e))}else{if(!Ae[S])return p?e:{};m=y0(e,S,_)}}g||(g=new Gt);var V=g.get(e);if(V)return V;g.set(e,m),sc(e)?e.forEach(function(z){m.add(kt(z,i,u,z,e,g))}):rc(e)&&e.forEach(function(z,ie){m.set(ie,kt(z,i,u,ie,e,g))});var Q=N?y?Po:$o:y?ft:We,ne=x?n:Q(e);return Nt(ne||e,function(z,ie){ne&&(ie=z,z=e[ie]),Wr(m,ie,kt(z,i,u,ie,e,g))}),m}function Ld(e){var i=We(e);return function(u){return Va(u,e,i)}}function Va(e,i,u){var c=u.length;if(e==null)return!c;for(e=ve(e);c--;){var p=u[c],g=i[p],m=e[p];if(m===n&&!(p in e)||!g(m))return!1}return!0}function ja(e,i,u){if(typeof e!="function")throw new bt(l);return Zr(function(){e.apply(n,u)},i)}function Yr(e,i,u,c){var p=-1,g=yi,m=!0,_=e.length,y=[],N=i.length;if(!_)return y;u&&(i=we(i,Et(u))),c?(g=ro,m=!1):i.length>=o&&(g=Mr,m=!1,i=new Kn(i));e:for(;++p<_;){var x=e[p],S=u==null?x:u(x);if(x=c||x!==0?x:0,m&&S===S){for(var B=N;B--;)if(i[B]===S)continue e;y.push(x)}else g(i,S,c)||y.push(x)}return y}var $n=ml(sn),qa=ml(vo,!0);function Rd(e,i){var u=!0;return $n(e,function(c,p,g){return u=!!i(c,p,g),u}),u}function Ui(e,i,u){for(var c=-1,p=e.length;++cp?0:p+u),c=c===n||c>p?p:te(c),c<0&&(c+=p),c=u>c?0:uc(c);u0&&u(_)?i>1?ze(_,i-1,u,c,p):Ln(p,_):c||(p[p.length]=_)}return p}var _o=El(),Ya=El(!0);function sn(e,i){return e&&_o(e,i,We)}function vo(e,i){return e&&Ya(e,i,We)}function Gi(e,i){return Sn(i,function(u){return Tn(e[u])})}function tr(e,i){i=Mn(i,e);for(var u=0,c=i.length;e!=null&&ui}function $d(e,i){return e!=null&&me.call(e,i)}function Pd(e,i){return e!=null&&i in ve(e)}function Md(e,i,u){return e>=Ze(i,u)&&e=120&&x.length>=120)?new Kn(m&&x):n}x=e[0];var S=-1,B=_[0];e:for(;++S-1;)_!==e&&Oi.call(_,y,1),Oi.call(e,y,1);return e}function rl(e,i){for(var u=e?i.length:0,c=u-1;u--;){var p=i[u];if(u==c||p!==g){var g=p;vn(p)?Oi.call(e,p,1):ko(e,p)}}return e}function No(e,i){return e+Ri($a()*(i-e+1))}function Zd(e,i,u,c){for(var p=-1,g=qe(Li((i-e)/(u||1)),0),m=F(g);g--;)m[c?g:++p]=e,e+=u;return m}function bo(e,i){var u="";if(!e||i<1||i>$t)return u;do i%2&&(u+=e),i=Ri(i/2),i&&(e+=e);while(i);return u}function re(e,i){return Wo(Sl(e,i,pt),e+"")}function Kd(e){return Ua(Nr(e))}function e0(e,i){var u=Nr(e);return Zi(u,er(i,0,u.length))}function Hr(e,i,u,c){if(!xe(e))return e;i=Mn(i,e);for(var p=-1,g=i.length,m=g-1,_=e;_!=null&&++pp?0:p+i),u=u>p?p:u,u<0&&(u+=p),p=i>u?0:u-i>>>0,i>>>=0;for(var g=F(p);++c>>1,m=e[g];m!==null&&!_t(m)&&(u?m<=i:m=o){var N=i?null:d0(e);if(N)return Fi(N);m=!1,p=Mr,y=new Kn}else y=i?[]:_;e:for(;++c=c?e:Ct(e,i,u)}var cl=Wh||function(e){return Qe.clearTimeout(e)};function fl(e,i){if(i)return e.slice();var u=e.length,c=Oa?Oa(u):new e.constructor(u);return e.copy(c),c}function Lo(e){var i=new e.constructor(e.byteLength);return new ki(i).set(new ki(e)),i}function s0(e,i){var u=i?Lo(e.buffer):e.buffer;return new e.constructor(u,e.byteOffset,e.byteLength)}function o0(e){var i=new e.constructor(e.source,zu.exec(e));return i.lastIndex=e.lastIndex,i}function u0(e){return qr?ve(qr.call(e)):{}}function pl(e,i){var u=i?Lo(e.buffer):e.buffer;return new e.constructor(u,e.byteOffset,e.length)}function hl(e,i){if(e!==i){var u=e!==n,c=e===null,p=e===e,g=_t(e),m=i!==n,_=i===null,y=i===i,N=_t(i);if(!_&&!N&&!g&&e>i||g&&m&&y&&!_&&!N||c&&m&&y||!u&&y||!p)return 1;if(!c&&!g&&!N&&e=_)return y;var N=u[c];return y*(N=="desc"?-1:1)}}return e.index-i.index}function dl(e,i,u,c){for(var p=-1,g=e.length,m=u.length,_=-1,y=i.length,N=qe(g-m,0),x=F(y+N),S=!c;++_1?u[p-1]:n,m=p>2?u[2]:n;for(g=e.length>3&&typeof g=="function"?(p--,g):n,m&&it(u[0],u[1],m)&&(g=p<3?n:g,p=1),i=ve(i);++c-1?p[g?i[m]:m]:n}}function vl(e){return _n(function(i){var u=i.length,c=u,p=xt.prototype.thru;for(e&&i.reverse();c--;){var g=i[c];if(typeof g!="function")throw new bt(l);if(p&&!m&&Ji(g)=="wrapper")var m=new xt([],!0)}for(c=m?c:u;++c1&&le.reverse(),x&&y_))return!1;var N=g.get(e),x=g.get(i);if(N&&x)return N==i&&x==e;var S=-1,B=!0,V=u&R?new Kn:n;for(g.set(e,i),g.set(i,e);++S<_;){var Q=e[S],ne=i[S];if(c)var z=m?c(ne,Q,S,i,e,g):c(Q,ne,S,e,i,g);if(z!==n){if(z)continue;B=!1;break}if(V){if(!so(i,function(ie,le){if(!Mr(V,le)&&(Q===ie||p(Q,ie,u,c,g)))return V.push(le)})){B=!1;break}}else if(!(Q===ne||p(Q,ne,u,c,g))){B=!1;break}}return g.delete(e),g.delete(i),B}function m0(e,i,u,c,p,g,m){switch(u){case hr:if(e.byteLength!=i.byteLength||e.byteOffset!=i.byteOffset)return!1;e=e.buffer,i=i.buffer;case Pr:return!(e.byteLength!=i.byteLength||!g(new ki(e),new ki(i)));case de:case It:case Lr:return Vt(+e,+i);case On:return e.name==i.name&&e.message==i.message;case Rr:case Br:return e==i+"";case Pt:var _=fo;case Mt:var y=c&L;if(_||(_=Fi),e.size!=i.size&&!y)return!1;var N=m.get(e);if(N)return N==i;c|=R,m.set(e,i);var x=Nl(_(e),_(i),c,p,g,m);return m.delete(e),x;case Di:if(qr)return qr.call(e)==qr.call(i)}return!1}function E0(e,i,u,c,p,g){var m=u&L,_=$o(e),y=_.length,N=$o(i),x=N.length;if(y!=x&&!m)return!1;for(var S=y;S--;){var B=_[S];if(!(m?B in i:me.call(i,B)))return!1}var V=g.get(e),Q=g.get(i);if(V&&Q)return V==i&&Q==e;var ne=!0;g.set(e,i),g.set(i,e);for(var z=m;++S1?"& ":"")+i[c],i=i.join(u>2?", ":" "),e.replace(Ip,`{ + */Ts.exports;(function(r,t){(function(){var n,s="4.17.21",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",f="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",E=500,D="__lodash_placeholder__",T=1,b=2,C=4,L=1,R=2,H=1,pe=2,Ue=4,ye=8,be=16,Oe=32,tt=64,Je=128,hn=256,O=512,X=30,nt="...",Cn=800,zn=16,mi=1,fr=2,Ei=3,rn=1/0,$t=9007199254740991,pr=17976931348623157e292,Hn=NaN,Ft=4294967295,I=Ft-1,U=Ft>>>1,$=[["ary",Je],["bind",H],["bindKey",pe],["curry",ye],["curryRight",be],["flip",O],["partial",Oe],["partialRight",tt],["rearg",hn]],P="[object Arguments]",he="[object Array]",Be="[object AsyncFunction]",de="[object Boolean]",wt="[object Date]",Sr="[object DOMException]",On="[object Error]",Xe="[object Function]",ju="[object GeneratorFunction]",Pt="[object Map]",Lr="[object Number]",lp="[object Null]",dn="[object Object]",qu="[object Promise]",cp="[object Proxy]",Rr="[object RegExp]",Mt="[object Set]",Br="[object String]",Di="[object Symbol]",fp="[object Undefined]",$r="[object WeakMap]",pp="[object WeakSet]",Pr="[object ArrayBuffer]",hr="[object DataView]",Ms="[object Float32Array]",Us="[object Float64Array]",Gs="[object Int8Array]",Vs="[object Int16Array]",js="[object Int32Array]",qs="[object Uint8Array]",Ys="[object Uint8ClampedArray]",Qs="[object Uint16Array]",Ws="[object Uint32Array]",hp=/\b__p \+= '';/g,dp=/\b(__p \+=) '' \+/g,gp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Yu=/&(?:amp|lt|gt|quot|#39);/g,Qu=/[&<>"']/g,mp=RegExp(Yu.source),Ep=RegExp(Qu.source),Dp=/<%-([\s\S]+?)%>/g,_p=/<%([\s\S]+?)%>/g,Wu=/<%=([\s\S]+?)%>/g,vp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tp=/^\w*$/,yp=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zs=/[\\^$.*+?()[\]{}|]/g,Ap=RegExp(zs.source),Hs=/^\s+/,Fp=/\s/,wp=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ip=/\{\n\/\* \[wrapped with (.+)\] \*/,Np=/,? & /,bp=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,xp=/[()=,{}\[\]\/\s]/,kp=/\\(\\)?/g,Cp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zu=/\w*$/,Op=/^[-+]0x[0-9a-f]+$/i,Sp=/^0b[01]+$/i,Lp=/^\[object .+?Constructor\]$/,Rp=/^0o[0-7]+$/i,Bp=/^(?:0|[1-9]\d*)$/,$p=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_i=/($^)/,Pp=/['\n\r\u2028\u2029\\]/g,vi="\\ud800-\\udfff",Mp="\\u0300-\\u036f",Up="\\ufe20-\\ufe2f",Gp="\\u20d0-\\u20ff",Hu=Mp+Up+Gp,Ju="\\u2700-\\u27bf",Xu="a-z\\xdf-\\xf6\\xf8-\\xff",Vp="\\xac\\xb1\\xd7\\xf7",jp="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",qp="\\u2000-\\u206f",Yp=" \\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",Zu="A-Z\\xc0-\\xd6\\xd8-\\xde",Ku="\\ufe0e\\ufe0f",ea=Vp+jp+qp+Yp,Js="['’]",Qp="["+vi+"]",ta="["+ea+"]",Ti="["+Hu+"]",na="\\d+",Wp="["+Ju+"]",ra="["+Xu+"]",ia="[^"+vi+ea+na+Ju+Xu+Zu+"]",Xs="\\ud83c[\\udffb-\\udfff]",zp="(?:"+Ti+"|"+Xs+")",sa="[^"+vi+"]",Zs="(?:\\ud83c[\\udde6-\\uddff]){2}",Ks="[\\ud800-\\udbff][\\udc00-\\udfff]",dr="["+Zu+"]",oa="\\u200d",ua="(?:"+ra+"|"+ia+")",Hp="(?:"+dr+"|"+ia+")",aa="(?:"+Js+"(?:d|ll|m|re|s|t|ve))?",la="(?:"+Js+"(?:D|LL|M|RE|S|T|VE))?",ca=zp+"?",fa="["+Ku+"]?",Jp="(?:"+oa+"(?:"+[sa,Zs,Ks].join("|")+")"+fa+ca+")*",Xp="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Zp="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pa=fa+ca+Jp,Kp="(?:"+[Wp,Zs,Ks].join("|")+")"+pa,eh="(?:"+[sa+Ti+"?",Ti,Zs,Ks,Qp].join("|")+")",th=RegExp(Js,"g"),nh=RegExp(Ti,"g"),eo=RegExp(Xs+"(?="+Xs+")|"+eh+pa,"g"),rh=RegExp([dr+"?"+ra+"+"+aa+"(?="+[ta,dr,"$"].join("|")+")",Hp+"+"+la+"(?="+[ta,dr+ua,"$"].join("|")+")",dr+"?"+ua+"+"+aa,dr+"+"+la,Zp,Xp,na,Kp].join("|"),"g"),ih=RegExp("["+oa+vi+Hu+Ku+"]"),sh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,oh=["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"],uh=-1,we={};we[Ms]=we[Us]=we[Gs]=we[Vs]=we[js]=we[qs]=we[Ys]=we[Qs]=we[Ws]=!0,we[P]=we[he]=we[Pr]=we[de]=we[hr]=we[wt]=we[On]=we[Xe]=we[Pt]=we[Lr]=we[dn]=we[Rr]=we[Mt]=we[Br]=we[$r]=!1;var Ae={};Ae[P]=Ae[he]=Ae[Pr]=Ae[hr]=Ae[de]=Ae[wt]=Ae[Ms]=Ae[Us]=Ae[Gs]=Ae[Vs]=Ae[js]=Ae[Pt]=Ae[Lr]=Ae[dn]=Ae[Rr]=Ae[Mt]=Ae[Br]=Ae[Di]=Ae[qs]=Ae[Ys]=Ae[Qs]=Ae[Ws]=!0,Ae[On]=Ae[Xe]=Ae[$r]=!1;var ah={À:"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"},lh={"&":"&","<":"<",">":">",'"':""","'":"'"},ch={"&":"&","<":"<",">":">",""":'"',"'":"'"},fh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ph=parseFloat,hh=parseInt,ha=typeof ti=="object"&&ti&&ti.Object===Object&&ti,dh=typeof self=="object"&&self&&self.Object===Object&&self,We=ha||dh||Function("return this")(),to=t&&!t.nodeType&&t,Jn=to&&!0&&r&&!r.nodeType&&r,da=Jn&&Jn.exports===to,no=da&&ha.process,It=function(){try{var v=Jn&&Jn.require&&Jn.require("util").types;return v||no&&no.binding&&no.binding("util")}catch{}}(),ga=It&&It.isArrayBuffer,ma=It&&It.isDate,Ea=It&&It.isMap,Da=It&&It.isRegExp,_a=It&&It.isSet,va=It&&It.isTypedArray;function mt(v,w,F){switch(F.length){case 0:return v.call(w);case 1:return v.call(w,F[0]);case 2:return v.call(w,F[0],F[1]);case 3:return v.call(w,F[0],F[1],F[2])}return v.apply(w,F)}function gh(v,w,F,M){for(var Z=-1,fe=v==null?0:v.length;++Z-1}function ro(v,w,F){for(var M=-1,Z=v==null?0:v.length;++M-1;);return F}function ba(v,w){for(var F=v.length;F--&&gr(w,v[F],0)>-1;);return F}function Fh(v,w){for(var F=v.length,M=0;F--;)v[F]===w&&++M;return M}var wh=uo(ah),Ih=uo(lh);function Nh(v){return"\\"+fh[v]}function bh(v,w){return v==null?n:v[w]}function mr(v){return ih.test(v)}function xh(v){return sh.test(v)}function kh(v){for(var w,F=[];!(w=v.next()).done;)F.push(w.value);return F}function fo(v){var w=-1,F=Array(v.size);return v.forEach(function(M,Z){F[++w]=[Z,M]}),F}function xa(v,w){return function(F){return v(w(F))}}function Rn(v,w){for(var F=-1,M=v.length,Z=0,fe=[];++F-1}function Ed(e,i){var u=this.__data__,c=Mi(u,e);return c<0?(++this.size,u.push([e,i])):u[c][1]=i,this}gn.prototype.clear=hd,gn.prototype.delete=dd,gn.prototype.get=gd,gn.prototype.has=md,gn.prototype.set=Ed;function mn(e){var i=-1,u=e==null?0:e.length;for(this.clear();++i=i?e:i)),e}function kt(e,i,u,c,p,g){var m,_=i&T,y=i&b,N=i&C;if(u&&(m=p?u(e,c,p,g):u(e)),m!==n)return m;if(!xe(e))return e;var x=K(e);if(x){if(m=T0(e),!_)return lt(e,m)}else{var S=Ke(e),B=S==Xe||S==ju;if(Gn(e))return fl(e,_);if(S==dn||S==P||B&&!p){if(m=y||B?{}:kl(e),!_)return y?c0(e,Sd(m,e)):l0(e,Ga(m,e))}else{if(!Ae[S])return p?e:{};m=y0(e,S,_)}}g||(g=new Gt);var V=g.get(e);if(V)return V;g.set(e,m),sc(e)?e.forEach(function(z){m.add(kt(z,i,u,z,e,g))}):rc(e)&&e.forEach(function(z,ie){m.set(ie,kt(z,i,u,ie,e,g))});var W=N?y?Po:$o:y?ft:Ye,ne=x?n:W(e);return Nt(ne||e,function(z,ie){ne&&(ie=z,z=e[ie]),Yr(m,ie,kt(z,i,u,ie,e,g))}),m}function Ld(e){var i=Ye(e);return function(u){return Va(u,e,i)}}function Va(e,i,u){var c=u.length;if(e==null)return!c;for(e=ve(e);c--;){var p=u[c],g=i[p],m=e[p];if(m===n&&!(p in e)||!g(m))return!1}return!0}function ja(e,i,u){if(typeof e!="function")throw new bt(l);return Zr(function(){e.apply(n,u)},i)}function Qr(e,i,u,c){var p=-1,g=yi,m=!0,_=e.length,y=[],N=i.length;if(!_)return y;u&&(i=Ie(i,Et(u))),c?(g=ro,m=!1):i.length>=o&&(g=Mr,m=!1,i=new Kn(i));e:for(;++p<_;){var x=e[p],S=u==null?x:u(x);if(x=c||x!==0?x:0,m&&S===S){for(var B=N;B--;)if(i[B]===S)continue e;y.push(x)}else g(i,S,c)||y.push(x)}return y}var $n=ml(sn),qa=ml(vo,!0);function Rd(e,i){var u=!0;return $n(e,function(c,p,g){return u=!!i(c,p,g),u}),u}function Ui(e,i,u){for(var c=-1,p=e.length;++cp?0:p+u),c=c===n||c>p?p:te(c),c<0&&(c+=p),c=u>c?0:uc(c);u0&&u(_)?i>1?ze(_,i-1,u,c,p):Ln(p,_):c||(p[p.length]=_)}return p}var _o=El(),Qa=El(!0);function sn(e,i){return e&&_o(e,i,Ye)}function vo(e,i){return e&&Qa(e,i,Ye)}function Gi(e,i){return Sn(i,function(u){return Tn(e[u])})}function tr(e,i){i=Mn(i,e);for(var u=0,c=i.length;e!=null&&ui}function $d(e,i){return e!=null&&me.call(e,i)}function Pd(e,i){return e!=null&&i in ve(e)}function Md(e,i,u){return e>=Ze(i,u)&&e=120&&x.length>=120)?new Kn(m&&x):n}x=e[0];var S=-1,B=_[0];e:for(;++S-1;)_!==e&&Oi.call(_,y,1),Oi.call(e,y,1);return e}function rl(e,i){for(var u=e?i.length:0,c=u-1;u--;){var p=i[u];if(u==c||p!==g){var g=p;vn(p)?Oi.call(e,p,1):ko(e,p)}}return e}function No(e,i){return e+Ri($a()*(i-e+1))}function Zd(e,i,u,c){for(var p=-1,g=qe(Li((i-e)/(u||1)),0),m=F(g);g--;)m[c?g:++p]=e,e+=u;return m}function bo(e,i){var u="";if(!e||i<1||i>$t)return u;do i%2&&(u+=e),i=Ri(i/2),i&&(e+=e);while(i);return u}function re(e,i){return Yo(Sl(e,i,pt),e+"")}function Kd(e){return Ua(Nr(e))}function e0(e,i){var u=Nr(e);return Zi(u,er(i,0,u.length))}function Hr(e,i,u,c){if(!xe(e))return e;i=Mn(i,e);for(var p=-1,g=i.length,m=g-1,_=e;_!=null&&++pp?0:p+i),u=u>p?p:u,u<0&&(u+=p),p=i>u?0:u-i>>>0,i>>>=0;for(var g=F(p);++c>>1,m=e[g];m!==null&&!_t(m)&&(u?m<=i:m=o){var N=i?null:d0(e);if(N)return Fi(N);m=!1,p=Mr,y=new Kn}else y=i?[]:_;e:for(;++c=c?e:Ct(e,i,u)}var cl=Yh||function(e){return We.clearTimeout(e)};function fl(e,i){if(i)return e.slice();var u=e.length,c=Oa?Oa(u):new e.constructor(u);return e.copy(c),c}function Lo(e){var i=new e.constructor(e.byteLength);return new ki(i).set(new ki(e)),i}function s0(e,i){var u=i?Lo(e.buffer):e.buffer;return new e.constructor(u,e.byteOffset,e.byteLength)}function o0(e){var i=new e.constructor(e.source,zu.exec(e));return i.lastIndex=e.lastIndex,i}function u0(e){return qr?ve(qr.call(e)):{}}function pl(e,i){var u=i?Lo(e.buffer):e.buffer;return new e.constructor(u,e.byteOffset,e.length)}function hl(e,i){if(e!==i){var u=e!==n,c=e===null,p=e===e,g=_t(e),m=i!==n,_=i===null,y=i===i,N=_t(i);if(!_&&!N&&!g&&e>i||g&&m&&y&&!_&&!N||c&&m&&y||!u&&y||!p)return 1;if(!c&&!g&&!N&&e=_)return y;var N=u[c];return y*(N=="desc"?-1:1)}}return e.index-i.index}function dl(e,i,u,c){for(var p=-1,g=e.length,m=u.length,_=-1,y=i.length,N=qe(g-m,0),x=F(y+N),S=!c;++_1?u[p-1]:n,m=p>2?u[2]:n;for(g=e.length>3&&typeof g=="function"?(p--,g):n,m&&it(u[0],u[1],m)&&(g=p<3?n:g,p=1),i=ve(i);++c-1?p[g?i[m]:m]:n}}function vl(e){return _n(function(i){var u=i.length,c=u,p=xt.prototype.thru;for(e&&i.reverse();c--;){var g=i[c];if(typeof g!="function")throw new bt(l);if(p&&!m&&Ji(g)=="wrapper")var m=new xt([],!0)}for(c=m?c:u;++c1&&le.reverse(),x&&y_))return!1;var N=g.get(e),x=g.get(i);if(N&&x)return N==i&&x==e;var S=-1,B=!0,V=u&R?new Kn:n;for(g.set(e,i),g.set(i,e);++S<_;){var W=e[S],ne=i[S];if(c)var z=m?c(ne,W,S,i,e,g):c(W,ne,S,e,i,g);if(z!==n){if(z)continue;B=!1;break}if(V){if(!so(i,function(ie,le){if(!Mr(V,le)&&(W===ie||p(W,ie,u,c,g)))return V.push(le)})){B=!1;break}}else if(!(W===ne||p(W,ne,u,c,g))){B=!1;break}}return g.delete(e),g.delete(i),B}function m0(e,i,u,c,p,g,m){switch(u){case hr:if(e.byteLength!=i.byteLength||e.byteOffset!=i.byteOffset)return!1;e=e.buffer,i=i.buffer;case Pr:return!(e.byteLength!=i.byteLength||!g(new ki(e),new ki(i)));case de:case wt:case Lr:return Vt(+e,+i);case On:return e.name==i.name&&e.message==i.message;case Rr:case Br:return e==i+"";case Pt:var _=fo;case Mt:var y=c&L;if(_||(_=Fi),e.size!=i.size&&!y)return!1;var N=m.get(e);if(N)return N==i;c|=R,m.set(e,i);var x=Nl(_(e),_(i),c,p,g,m);return m.delete(e),x;case Di:if(qr)return qr.call(e)==qr.call(i)}return!1}function E0(e,i,u,c,p,g){var m=u&L,_=$o(e),y=_.length,N=$o(i),x=N.length;if(y!=x&&!m)return!1;for(var S=y;S--;){var B=_[S];if(!(m?B in i:me.call(i,B)))return!1}var V=g.get(e),W=g.get(i);if(V&&W)return V==i&&W==e;var ne=!0;g.set(e,i),g.set(i,e);for(var z=m;++S1?"& ":"")+i[c],i=i.join(u>2?", ":" "),e.replace(wp,`{ /* [wrapped with `+i+`] */ -`)}function F0(e){return K(e)||ir(e)||!!(Ra&&e&&e[Ra])}function vn(e,i){var u=typeof e;return i=i??$t,!!i&&(u=="number"||u!="symbol"&&Bp.test(e))&&e>-1&&e%1==0&&e0){if(++i>=Cn)return arguments[0]}else i=0;return e.apply(n,arguments)}}function Zi(e,i){var u=-1,c=e.length,p=c-1;for(i=i===n?c:i;++u1?e[i-1]:n;return u=typeof u=="function"?(e.pop(),u):n,Wl(e,u)});function Yl(e){var i=d(e);return i.__chain__=!0,i}function Rg(e,i){return i(e),e}function Ki(e,i){return i(e)}var Bg=_n(function(e){var i=e.length,u=i?e[0]:0,c=this.__wrapped__,p=function(g){return Do(g,e)};return i>1||this.__actions__.length||!(c instanceof ue)||!vn(u)?this.thru(p):(c=c.slice(u,+u+(i?1:0)),c.__actions__.push({func:Ki,args:[p],thisArg:n}),new xt(c,this.__chain__).thru(function(g){return i&&!g.length&&g.push(n),g}))});function $g(){return Yl(this)}function Pg(){return new xt(this.value(),this.__chain__)}function Mg(){this.__values__===n&&(this.__values__=oc(this.value()));var e=this.__index__>=this.__values__.length,i=e?n:this.__values__[this.__index__++];return{done:e,value:i}}function Ug(){return this}function Gg(e){for(var i,u=this;u instanceof Pi;){var c=Ml(u);c.__index__=0,c.__values__=n,i?p.__wrapped__=c:i=c;var p=c;u=u.__wrapped__}return p.__wrapped__=e,i}function Vg(){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:Ki,args:[Yo],thisArg:n}),new xt(i,this.__chain__)}return this.thru(Yo)}function jg(){return al(this.__wrapped__,this.__actions__)}var qg=Wi(function(e,i,u){me.call(e,u)?++e[u]:En(e,u,1)});function Wg(e,i,u){var c=K(e)?Ta:Rd;return u&&it(e,i,u)&&(i=n),c(e,Y(i,3))}function Yg(e,i){var u=K(e)?Sn:Wa;return u(e,Y(i,3))}var Qg=_l(Ul),zg=_l(Gl);function Hg(e,i){return ze(es(e,i),1)}function Jg(e,i){return ze(es(e,i),rn)}function Xg(e,i,u){return u=u===n?1:te(u),ze(es(e,i),u)}function Ql(e,i){var u=K(e)?Nt:$n;return u(e,Y(i,3))}function zl(e,i){var u=K(e)?mh:qa;return u(e,Y(i,3))}var Zg=Wi(function(e,i,u){me.call(e,u)?e[u].push(i):En(e,u,[i])});function Kg(e,i,u,c){e=ct(e)?e:Nr(e),u=u&&!c?te(u):0;var p=e.length;return u<0&&(u=qe(p+u,0)),ss(e)?u<=p&&e.indexOf(i,u)>-1:!!p&&gr(e,i,u)>-1}var em=re(function(e,i,u){var c=-1,p=typeof i=="function",g=ct(e)?F(e.length):[];return $n(e,function(m){g[++c]=p?mt(i,m,u):Qr(m,i,u)}),g}),tm=Wi(function(e,i,u){En(e,u,i)});function es(e,i){var u=K(e)?we:Xa;return u(e,Y(i,3))}function nm(e,i,u,c){return e==null?[]:(K(i)||(i=i==null?[]:[i]),u=c?n:u,K(u)||(u=u==null?[]:[u]),tl(e,i,u))}var rm=Wi(function(e,i,u){e[u?0:1].push(i)},function(){return[[],[]]});function im(e,i,u){var c=K(e)?io:Ia,p=arguments.length<3;return c(e,Y(i,4),u,p,$n)}function sm(e,i,u){var c=K(e)?Eh:Ia,p=arguments.length<3;return c(e,Y(i,4),u,p,qa)}function om(e,i){var u=K(e)?Sn:Wa;return u(e,rs(Y(i,3)))}function um(e){var i=K(e)?Ua:Kd;return i(e)}function am(e,i,u){(u?it(e,i,u):i===n)?i=1:i=te(i);var c=K(e)?kd:e0;return c(e,i)}function lm(e){var i=K(e)?Cd:n0;return i(e)}function cm(e){if(e==null)return 0;if(ct(e))return ss(e)?Er(e):e.length;var i=Ke(e);return i==Pt||i==Mt?e.size:Fo(e).length}function fm(e,i,u){var c=K(e)?so:r0;return u&&it(e,i,u)&&(i=n),c(e,Y(i,3))}var pm=re(function(e,i){if(e==null)return[];var u=i.length;return u>1&&it(e,i[0],i[1])?i=[]:u>2&&it(i[0],i[1],i[2])&&(i=[i[0]]),tl(e,ze(i,1),[])}),ts=Yh||function(){return Qe.Date.now()};function hm(e,i){if(typeof i!="function")throw new bt(l);return e=te(e),function(){if(--e<1)return i.apply(this,arguments)}}function Hl(e,i,u){return i=u?n:i,i=e&&i==null?e.length:i,Dn(e,Je,n,n,n,n,i)}function Jl(e,i){var u;if(typeof i!="function")throw new bt(l);return e=te(e),function(){return--e>0&&(u=i.apply(this,arguments)),e<=1&&(i=n),u}}var zo=re(function(e,i,u){var c=H;if(u.length){var p=Rn(u,Ir(zo));c|=Oe}return Dn(e,c,i,u,p)}),Xl=re(function(e,i,u){var c=H|pe;if(u.length){var p=Rn(u,Ir(Xl));c|=Oe}return Dn(i,c,e,u,p)});function Zl(e,i,u){i=u?n:i;var c=Dn(e,ye,n,n,n,n,n,i);return c.placeholder=Zl.placeholder,c}function Kl(e,i,u){i=u?n:i;var c=Dn(e,be,n,n,n,n,n,i);return c.placeholder=Kl.placeholder,c}function ec(e,i,u){var c,p,g,m,_,y,N=0,x=!1,S=!1,B=!0;if(typeof e!="function")throw new bt(l);i=St(i)||0,xe(u)&&(x=!!u.leading,S="maxWait"in u,g=S?qe(St(u.maxWait)||0,i):g,B="trailing"in u?!!u.trailing:B);function V(Pe){var jt=c,An=p;return c=p=n,N=Pe,m=e.apply(An,jt),m}function Q(Pe){return N=Pe,_=Zr(ie,i),x?V(Pe):m}function ne(Pe){var jt=Pe-y,An=Pe-N,_c=i-jt;return S?Ze(_c,g-An):_c}function z(Pe){var jt=Pe-y,An=Pe-N;return y===n||jt>=i||jt<0||S&&An>=g}function ie(){var Pe=ts();if(z(Pe))return le(Pe);_=Zr(ie,ne(Pe))}function le(Pe){return _=n,B&&c?V(Pe):(c=p=n,m)}function vt(){_!==n&&cl(_),N=0,c=y=p=_=n}function st(){return _===n?m:le(ts())}function Tt(){var Pe=ts(),jt=z(Pe);if(c=arguments,p=this,y=Pe,jt){if(_===n)return Q(y);if(S)return cl(_),_=Zr(ie,i),V(y)}return _===n&&(_=Zr(ie,i)),m}return Tt.cancel=vt,Tt.flush=st,Tt}var dm=re(function(e,i){return ja(e,1,i)}),gm=re(function(e,i,u){return ja(e,St(i)||0,u)});function mm(e){return Dn(e,O)}function ns(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new bt(l);var u=function(){var c=arguments,p=i?i.apply(this,c):c[0],g=u.cache;if(g.has(p))return g.get(p);var m=e.apply(this,c);return u.cache=g.set(p,m)||g,m};return u.cache=new(ns.Cache||mn),u}ns.Cache=mn;function rs(e){if(typeof e!="function")throw new bt(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 Em(e){return Jl(2,e)}var Dm=i0(function(e,i){i=i.length==1&&K(i[0])?we(i[0],Et(Y())):we(ze(i,1),Et(Y()));var u=i.length;return re(function(c){for(var p=-1,g=Ze(c.length,u);++p=i}),ir=za(function(){return arguments}())?za:function(e){return Se(e)&&me.call(e,"callee")&&!La.call(e,"callee")},K=F.isArray,Sm=ga?Et(ga):Gd;function ct(e){return e!=null&&is(e.length)&&!Tn(e)}function $e(e){return Se(e)&&ct(e)}function Lm(e){return e===!0||e===!1||Se(e)&&rt(e)==de}var Gn=zh||ou,Rm=ma?Et(ma):Vd;function Bm(e){return Se(e)&&e.nodeType===1&&!Kr(e)}function $m(e){if(e==null)return!0;if(ct(e)&&(K(e)||typeof e=="string"||typeof e.splice=="function"||Gn(e)||wr(e)||ir(e)))return!e.length;var i=Ke(e);if(i==Pt||i==Mt)return!e.size;if(Xr(e))return!Fo(e).length;for(var u in e)if(me.call(e,u))return!1;return!0}function Pm(e,i){return zr(e,i)}function Mm(e,i,u){u=typeof u=="function"?u:n;var c=u?u(e,i):n;return c===n?zr(e,i,n,u):!!c}function Jo(e){if(!Se(e))return!1;var i=rt(e);return i==On||i==Sr||typeof e.message=="string"&&typeof e.name=="string"&&!Kr(e)}function Um(e){return typeof e=="number"&&Ba(e)}function Tn(e){if(!xe(e))return!1;var i=rt(e);return i==Xe||i==ju||i==Be||i==cp}function nc(e){return typeof e=="number"&&e==te(e)}function is(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$t}function xe(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function Se(e){return e!=null&&typeof e=="object"}var rc=Ea?Et(Ea):qd;function Gm(e,i){return e===i||Ao(e,i,Uo(i))}function Vm(e,i,u){return u=typeof u=="function"?u:n,Ao(e,i,Uo(i),u)}function jm(e){return ic(e)&&e!=+e}function qm(e){if(N0(e))throw new Z(a);return Ha(e)}function Wm(e){return e===null}function Ym(e){return e==null}function ic(e){return typeof e=="number"||Se(e)&&rt(e)==Lr}function Kr(e){if(!Se(e)||rt(e)!=dn)return!1;var i=Ci(e);if(i===null)return!0;var u=me.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&Ni.call(u)==Vh}var Xo=Da?Et(Da):Wd;function Qm(e){return nc(e)&&e>=-$t&&e<=$t}var sc=_a?Et(_a):Yd;function ss(e){return typeof e=="string"||!K(e)&&Se(e)&&rt(e)==Br}function _t(e){return typeof e=="symbol"||Se(e)&&rt(e)==Di}var wr=va?Et(va):Qd;function zm(e){return e===n}function Hm(e){return Se(e)&&Ke(e)==$r}function Jm(e){return Se(e)&&rt(e)==pp}var Xm=Hi(Io),Zm=Hi(function(e,i){return e<=i});function oc(e){if(!e)return[];if(ct(e))return ss(e)?Ut(e):lt(e);if(Ur&&e[Ur])return kh(e[Ur]());var i=Ke(e),u=i==Pt?fo:i==Mt?Fi:Nr;return u(e)}function yn(e){if(!e)return e===0?e:0;if(e=St(e),e===rn||e===-rn){var i=e<0?-1:1;return i*pr}return e===e?e:0}function te(e){var i=yn(e),u=i%1;return i===i?u?i-u:i:0}function uc(e){return e?er(te(e),0,Ft):0}function St(e){if(typeof e=="number")return e;if(_t(e))return Hn;if(xe(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=xe(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=wa(e);var u=Sp.test(e);return u||Rp.test(e)?hh(e.slice(2),u?2:8):Op.test(e)?Hn:+e}function ac(e){return on(e,ft(e))}function Km(e){return e?er(te(e),-$t,$t):e===0?e:0}function ge(e){return e==null?"":Dt(e)}var eE=Ar(function(e,i){if(Xr(i)||ct(i)){on(i,We(i),e);return}for(var u in i)me.call(i,u)&&Wr(e,u,i[u])}),lc=Ar(function(e,i){on(i,ft(i),e)}),os=Ar(function(e,i,u,c){on(i,ft(i),e,c)}),tE=Ar(function(e,i,u,c){on(i,We(i),e,c)}),nE=_n(Do);function rE(e,i){var u=yr(e);return i==null?u:Ga(u,i)}var iE=re(function(e,i){e=ve(e);var u=-1,c=i.length,p=c>2?i[2]:n;for(p&&it(i[0],i[1],p)&&(c=1);++u1),g}),on(e,Po(e),u),c&&(u=kt(u,T|b|C,g0));for(var p=i.length;p--;)ko(u,i[p]);return u});function yE(e,i){return fc(e,rs(Y(i)))}var AE=_n(function(e,i){return e==null?{}:Jd(e,i)});function fc(e,i){if(e==null)return{};var u=we(Po(e),function(c){return[c]});return i=Y(i),nl(e,u,function(c,p){return i(c,p[0])})}function FE(e,i,u){i=Mn(i,e);var c=-1,p=i.length;for(p||(p=1,e=n);++ci){var c=e;e=i,i=c}if(u||e%1||i%1){var p=$a();return Ze(e+p*(i-e+ph("1e-"+((p+"").length-1))),i)}return No(e,i)}var RE=Fr(function(e,i,u){return i=i.toLowerCase(),e+(u?dc(i):i)});function dc(e){return eu(ge(e).toLowerCase())}function gc(e){return e=ge(e),e&&e.replace($p,Ih).replace(nh,"")}function BE(e,i,u){e=ge(e),i=Dt(i);var c=e.length;u=u===n?c:er(te(u),0,c);var p=u;return u-=i.length,u>=0&&e.slice(u,p)==i}function $E(e){return e=ge(e),e&&Ep.test(e)?e.replace(Yu,wh):e}function PE(e){return e=ge(e),e&&Ap.test(e)?e.replace(zs,"\\$&"):e}var ME=Fr(function(e,i,u){return e+(u?"-":"")+i.toLowerCase()}),UE=Fr(function(e,i,u){return e+(u?" ":"")+i.toLowerCase()}),GE=Dl("toLowerCase");function VE(e,i,u){e=ge(e),i=te(i);var c=i?Er(e):0;if(!i||c>=i)return e;var p=(i-c)/2;return zi(Ri(p),u)+e+zi(Li(p),u)}function jE(e,i,u){e=ge(e),i=te(i);var c=i?Er(e):0;return i&&c>>0,u?(e=ge(e),e&&(typeof i=="string"||i!=null&&!Xo(i))&&(i=Dt(i),!i&&mr(e))?Un(Ut(e),0,u):e.split(i,u)):[]}var JE=Fr(function(e,i,u){return e+(u?" ":"")+eu(i)});function XE(e,i,u){return e=ge(e),u=u==null?0:er(te(u),0,e.length),i=Dt(i),e.slice(u,u+i.length)==i}function ZE(e,i,u){var c=d.templateSettings;u&&it(e,i,u)&&(i=n),e=ge(e),i=os({},i,c,Il);var p=os({},i.imports,c.imports,Il),g=We(p),m=co(p,g),_,y,N=0,x=i.interpolate||_i,S="__p += '",B=po((i.escape||_i).source+"|"+x.source+"|"+(x===Qu?Cp:_i).source+"|"+(i.evaluate||_i).source+"|$","g"),V="//# sourceURL="+(me.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++uh+"]")+` +`)}function F0(e){return K(e)||ir(e)||!!(Ra&&e&&e[Ra])}function vn(e,i){var u=typeof e;return i=i??$t,!!i&&(u=="number"||u!="symbol"&&Bp.test(e))&&e>-1&&e%1==0&&e0){if(++i>=Cn)return arguments[0]}else i=0;return e.apply(n,arguments)}}function Zi(e,i){var u=-1,c=e.length,p=c-1;for(i=i===n?c:i;++u1?e[i-1]:n;return u=typeof u=="function"?(e.pop(),u):n,Yl(e,u)});function Ql(e){var i=d(e);return i.__chain__=!0,i}function Rg(e,i){return i(e),e}function Ki(e,i){return i(e)}var Bg=_n(function(e){var i=e.length,u=i?e[0]:0,c=this.__wrapped__,p=function(g){return Do(g,e)};return i>1||this.__actions__.length||!(c instanceof ue)||!vn(u)?this.thru(p):(c=c.slice(u,+u+(i?1:0)),c.__actions__.push({func:Ki,args:[p],thisArg:n}),new xt(c,this.__chain__).thru(function(g){return i&&!g.length&&g.push(n),g}))});function $g(){return Ql(this)}function Pg(){return new xt(this.value(),this.__chain__)}function Mg(){this.__values__===n&&(this.__values__=oc(this.value()));var e=this.__index__>=this.__values__.length,i=e?n:this.__values__[this.__index__++];return{done:e,value:i}}function Ug(){return this}function Gg(e){for(var i,u=this;u instanceof Pi;){var c=Ml(u);c.__index__=0,c.__values__=n,i?p.__wrapped__=c:i=c;var p=c;u=u.__wrapped__}return p.__wrapped__=e,i}function Vg(){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:Ki,args:[Qo],thisArg:n}),new xt(i,this.__chain__)}return this.thru(Qo)}function jg(){return al(this.__wrapped__,this.__actions__)}var qg=Yi(function(e,i,u){me.call(e,u)?++e[u]:En(e,u,1)});function Yg(e,i,u){var c=K(e)?Ta:Rd;return u&&it(e,i,u)&&(i=n),c(e,Q(i,3))}function Qg(e,i){var u=K(e)?Sn:Ya;return u(e,Q(i,3))}var Wg=_l(Ul),zg=_l(Gl);function Hg(e,i){return ze(es(e,i),1)}function Jg(e,i){return ze(es(e,i),rn)}function Xg(e,i,u){return u=u===n?1:te(u),ze(es(e,i),u)}function Wl(e,i){var u=K(e)?Nt:$n;return u(e,Q(i,3))}function zl(e,i){var u=K(e)?mh:qa;return u(e,Q(i,3))}var Zg=Yi(function(e,i,u){me.call(e,u)?e[u].push(i):En(e,u,[i])});function Kg(e,i,u,c){e=ct(e)?e:Nr(e),u=u&&!c?te(u):0;var p=e.length;return u<0&&(u=qe(p+u,0)),ss(e)?u<=p&&e.indexOf(i,u)>-1:!!p&&gr(e,i,u)>-1}var em=re(function(e,i,u){var c=-1,p=typeof i=="function",g=ct(e)?F(e.length):[];return $n(e,function(m){g[++c]=p?mt(i,m,u):Wr(m,i,u)}),g}),tm=Yi(function(e,i,u){En(e,u,i)});function es(e,i){var u=K(e)?Ie:Xa;return u(e,Q(i,3))}function nm(e,i,u,c){return e==null?[]:(K(i)||(i=i==null?[]:[i]),u=c?n:u,K(u)||(u=u==null?[]:[u]),tl(e,i,u))}var rm=Yi(function(e,i,u){e[u?0:1].push(i)},function(){return[[],[]]});function im(e,i,u){var c=K(e)?io:wa,p=arguments.length<3;return c(e,Q(i,4),u,p,$n)}function sm(e,i,u){var c=K(e)?Eh:wa,p=arguments.length<3;return c(e,Q(i,4),u,p,qa)}function om(e,i){var u=K(e)?Sn:Ya;return u(e,rs(Q(i,3)))}function um(e){var i=K(e)?Ua:Kd;return i(e)}function am(e,i,u){(u?it(e,i,u):i===n)?i=1:i=te(i);var c=K(e)?kd:e0;return c(e,i)}function lm(e){var i=K(e)?Cd:n0;return i(e)}function cm(e){if(e==null)return 0;if(ct(e))return ss(e)?Er(e):e.length;var i=Ke(e);return i==Pt||i==Mt?e.size:Fo(e).length}function fm(e,i,u){var c=K(e)?so:r0;return u&&it(e,i,u)&&(i=n),c(e,Q(i,3))}var pm=re(function(e,i){if(e==null)return[];var u=i.length;return u>1&&it(e,i[0],i[1])?i=[]:u>2&&it(i[0],i[1],i[2])&&(i=[i[0]]),tl(e,ze(i,1),[])}),ts=Qh||function(){return We.Date.now()};function hm(e,i){if(typeof i!="function")throw new bt(l);return e=te(e),function(){if(--e<1)return i.apply(this,arguments)}}function Hl(e,i,u){return i=u?n:i,i=e&&i==null?e.length:i,Dn(e,Je,n,n,n,n,i)}function Jl(e,i){var u;if(typeof i!="function")throw new bt(l);return e=te(e),function(){return--e>0&&(u=i.apply(this,arguments)),e<=1&&(i=n),u}}var zo=re(function(e,i,u){var c=H;if(u.length){var p=Rn(u,wr(zo));c|=Oe}return Dn(e,c,i,u,p)}),Xl=re(function(e,i,u){var c=H|pe;if(u.length){var p=Rn(u,wr(Xl));c|=Oe}return Dn(i,c,e,u,p)});function Zl(e,i,u){i=u?n:i;var c=Dn(e,ye,n,n,n,n,n,i);return c.placeholder=Zl.placeholder,c}function Kl(e,i,u){i=u?n:i;var c=Dn(e,be,n,n,n,n,n,i);return c.placeholder=Kl.placeholder,c}function ec(e,i,u){var c,p,g,m,_,y,N=0,x=!1,S=!1,B=!0;if(typeof e!="function")throw new bt(l);i=St(i)||0,xe(u)&&(x=!!u.leading,S="maxWait"in u,g=S?qe(St(u.maxWait)||0,i):g,B="trailing"in u?!!u.trailing:B);function V(Pe){var jt=c,An=p;return c=p=n,N=Pe,m=e.apply(An,jt),m}function W(Pe){return N=Pe,_=Zr(ie,i),x?V(Pe):m}function ne(Pe){var jt=Pe-y,An=Pe-N,_c=i-jt;return S?Ze(_c,g-An):_c}function z(Pe){var jt=Pe-y,An=Pe-N;return y===n||jt>=i||jt<0||S&&An>=g}function ie(){var Pe=ts();if(z(Pe))return le(Pe);_=Zr(ie,ne(Pe))}function le(Pe){return _=n,B&&c?V(Pe):(c=p=n,m)}function vt(){_!==n&&cl(_),N=0,c=y=p=_=n}function st(){return _===n?m:le(ts())}function Tt(){var Pe=ts(),jt=z(Pe);if(c=arguments,p=this,y=Pe,jt){if(_===n)return W(y);if(S)return cl(_),_=Zr(ie,i),V(y)}return _===n&&(_=Zr(ie,i)),m}return Tt.cancel=vt,Tt.flush=st,Tt}var dm=re(function(e,i){return ja(e,1,i)}),gm=re(function(e,i,u){return ja(e,St(i)||0,u)});function mm(e){return Dn(e,O)}function ns(e,i){if(typeof e!="function"||i!=null&&typeof i!="function")throw new bt(l);var u=function(){var c=arguments,p=i?i.apply(this,c):c[0],g=u.cache;if(g.has(p))return g.get(p);var m=e.apply(this,c);return u.cache=g.set(p,m)||g,m};return u.cache=new(ns.Cache||mn),u}ns.Cache=mn;function rs(e){if(typeof e!="function")throw new bt(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 Em(e){return Jl(2,e)}var Dm=i0(function(e,i){i=i.length==1&&K(i[0])?Ie(i[0],Et(Q())):Ie(ze(i,1),Et(Q()));var u=i.length;return re(function(c){for(var p=-1,g=Ze(c.length,u);++p=i}),ir=za(function(){return arguments}())?za:function(e){return Se(e)&&me.call(e,"callee")&&!La.call(e,"callee")},K=F.isArray,Sm=ga?Et(ga):Gd;function ct(e){return e!=null&&is(e.length)&&!Tn(e)}function $e(e){return Se(e)&&ct(e)}function Lm(e){return e===!0||e===!1||Se(e)&&rt(e)==de}var Gn=zh||ou,Rm=ma?Et(ma):Vd;function Bm(e){return Se(e)&&e.nodeType===1&&!Kr(e)}function $m(e){if(e==null)return!0;if(ct(e)&&(K(e)||typeof e=="string"||typeof e.splice=="function"||Gn(e)||Ir(e)||ir(e)))return!e.length;var i=Ke(e);if(i==Pt||i==Mt)return!e.size;if(Xr(e))return!Fo(e).length;for(var u in e)if(me.call(e,u))return!1;return!0}function Pm(e,i){return zr(e,i)}function Mm(e,i,u){u=typeof u=="function"?u:n;var c=u?u(e,i):n;return c===n?zr(e,i,n,u):!!c}function Jo(e){if(!Se(e))return!1;var i=rt(e);return i==On||i==Sr||typeof e.message=="string"&&typeof e.name=="string"&&!Kr(e)}function Um(e){return typeof e=="number"&&Ba(e)}function Tn(e){if(!xe(e))return!1;var i=rt(e);return i==Xe||i==ju||i==Be||i==cp}function nc(e){return typeof e=="number"&&e==te(e)}function is(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=$t}function xe(e){var i=typeof e;return e!=null&&(i=="object"||i=="function")}function Se(e){return e!=null&&typeof e=="object"}var rc=Ea?Et(Ea):qd;function Gm(e,i){return e===i||Ao(e,i,Uo(i))}function Vm(e,i,u){return u=typeof u=="function"?u:n,Ao(e,i,Uo(i),u)}function jm(e){return ic(e)&&e!=+e}function qm(e){if(N0(e))throw new Z(a);return Ha(e)}function Ym(e){return e===null}function Qm(e){return e==null}function ic(e){return typeof e=="number"||Se(e)&&rt(e)==Lr}function Kr(e){if(!Se(e)||rt(e)!=dn)return!1;var i=Ci(e);if(i===null)return!0;var u=me.call(i,"constructor")&&i.constructor;return typeof u=="function"&&u instanceof u&&Ni.call(u)==Vh}var Xo=Da?Et(Da):Yd;function Wm(e){return nc(e)&&e>=-$t&&e<=$t}var sc=_a?Et(_a):Qd;function ss(e){return typeof e=="string"||!K(e)&&Se(e)&&rt(e)==Br}function _t(e){return typeof e=="symbol"||Se(e)&&rt(e)==Di}var Ir=va?Et(va):Wd;function zm(e){return e===n}function Hm(e){return Se(e)&&Ke(e)==$r}function Jm(e){return Se(e)&&rt(e)==pp}var Xm=Hi(wo),Zm=Hi(function(e,i){return e<=i});function oc(e){if(!e)return[];if(ct(e))return ss(e)?Ut(e):lt(e);if(Ur&&e[Ur])return kh(e[Ur]());var i=Ke(e),u=i==Pt?fo:i==Mt?Fi:Nr;return u(e)}function yn(e){if(!e)return e===0?e:0;if(e=St(e),e===rn||e===-rn){var i=e<0?-1:1;return i*pr}return e===e?e:0}function te(e){var i=yn(e),u=i%1;return i===i?u?i-u:i:0}function uc(e){return e?er(te(e),0,Ft):0}function St(e){if(typeof e=="number")return e;if(_t(e))return Hn;if(xe(e)){var i=typeof e.valueOf=="function"?e.valueOf():e;e=xe(i)?i+"":i}if(typeof e!="string")return e===0?e:+e;e=Ia(e);var u=Sp.test(e);return u||Rp.test(e)?hh(e.slice(2),u?2:8):Op.test(e)?Hn:+e}function ac(e){return on(e,ft(e))}function Km(e){return e?er(te(e),-$t,$t):e===0?e:0}function ge(e){return e==null?"":Dt(e)}var eE=Ar(function(e,i){if(Xr(i)||ct(i)){on(i,Ye(i),e);return}for(var u in i)me.call(i,u)&&Yr(e,u,i[u])}),lc=Ar(function(e,i){on(i,ft(i),e)}),os=Ar(function(e,i,u,c){on(i,ft(i),e,c)}),tE=Ar(function(e,i,u,c){on(i,Ye(i),e,c)}),nE=_n(Do);function rE(e,i){var u=yr(e);return i==null?u:Ga(u,i)}var iE=re(function(e,i){e=ve(e);var u=-1,c=i.length,p=c>2?i[2]:n;for(p&&it(i[0],i[1],p)&&(c=1);++u1),g}),on(e,Po(e),u),c&&(u=kt(u,T|b|C,g0));for(var p=i.length;p--;)ko(u,i[p]);return u});function yE(e,i){return fc(e,rs(Q(i)))}var AE=_n(function(e,i){return e==null?{}:Jd(e,i)});function fc(e,i){if(e==null)return{};var u=Ie(Po(e),function(c){return[c]});return i=Q(i),nl(e,u,function(c,p){return i(c,p[0])})}function FE(e,i,u){i=Mn(i,e);var c=-1,p=i.length;for(p||(p=1,e=n);++ci){var c=e;e=i,i=c}if(u||e%1||i%1){var p=$a();return Ze(e+p*(i-e+ph("1e-"+((p+"").length-1))),i)}return No(e,i)}var RE=Fr(function(e,i,u){return i=i.toLowerCase(),e+(u?dc(i):i)});function dc(e){return eu(ge(e).toLowerCase())}function gc(e){return e=ge(e),e&&e.replace($p,wh).replace(nh,"")}function BE(e,i,u){e=ge(e),i=Dt(i);var c=e.length;u=u===n?c:er(te(u),0,c);var p=u;return u-=i.length,u>=0&&e.slice(u,p)==i}function $E(e){return e=ge(e),e&&Ep.test(e)?e.replace(Qu,Ih):e}function PE(e){return e=ge(e),e&&Ap.test(e)?e.replace(zs,"\\$&"):e}var ME=Fr(function(e,i,u){return e+(u?"-":"")+i.toLowerCase()}),UE=Fr(function(e,i,u){return e+(u?" ":"")+i.toLowerCase()}),GE=Dl("toLowerCase");function VE(e,i,u){e=ge(e),i=te(i);var c=i?Er(e):0;if(!i||c>=i)return e;var p=(i-c)/2;return zi(Ri(p),u)+e+zi(Li(p),u)}function jE(e,i,u){e=ge(e),i=te(i);var c=i?Er(e):0;return i&&c>>0,u?(e=ge(e),e&&(typeof i=="string"||i!=null&&!Xo(i))&&(i=Dt(i),!i&&mr(e))?Un(Ut(e),0,u):e.split(i,u)):[]}var JE=Fr(function(e,i,u){return e+(u?" ":"")+eu(i)});function XE(e,i,u){return e=ge(e),u=u==null?0:er(te(u),0,e.length),i=Dt(i),e.slice(u,u+i.length)==i}function ZE(e,i,u){var c=d.templateSettings;u&&it(e,i,u)&&(i=n),e=ge(e),i=os({},i,c,wl);var p=os({},i.imports,c.imports,wl),g=Ye(p),m=co(p,g),_,y,N=0,x=i.interpolate||_i,S="__p += '",B=po((i.escape||_i).source+"|"+x.source+"|"+(x===Wu?Cp:_i).source+"|"+(i.evaluate||_i).source+"|$","g"),V="//# sourceURL="+(me.call(i,"sourceURL")?(i.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++uh+"]")+` `;e.replace(B,function(z,ie,le,vt,st,Tt){return le||(le=vt),S+=e.slice(N,Tt).replace(Pp,Nh),ie&&(_=!0,S+=`' + __e(`+ie+`) + '`),st&&(y=!0,S+=`'; @@ -59,26 +59,26 @@ __e(`+ie+`) + __p += '`),le&&(S+=`' + ((__t = (`+le+`)) == null ? '' : __t) + '`),N=Tt+z.length,z}),S+=`'; -`;var Q=me.call(i,"variable")&&i.variable;if(!Q)S=`with (obj) { +`;var W=me.call(i,"variable")&&i.variable;if(!W)S=`with (obj) { `+S+` } -`;else if(xp.test(Q))throw new Z(f);S=(y?S.replace(hp,""):S).replace(dp,"$1").replace(gp,"$1;"),S="function("+(Q||"obj")+`) { -`+(Q?"":`obj || (obj = {}); +`;else if(xp.test(W))throw new Z(f);S=(y?S.replace(hp,""):S).replace(dp,"$1").replace(gp,"$1;"),S="function("+(W||"obj")+`) { +`+(W?"":`obj || (obj = {}); `)+"var __t, __p = ''"+(_?", __e = _.escape":"")+(y?`, __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } `:`; `)+S+`return __p -}`;var ne=Ec(function(){return fe(g,V+"return "+S).apply(n,m)});if(ne.source=S,Jo(ne))throw ne;return ne}function KE(e){return ge(e).toLowerCase()}function eD(e){return ge(e).toUpperCase()}function tD(e,i,u){if(e=ge(e),e&&(u||i===n))return wa(e);if(!e||!(i=Dt(i)))return e;var c=Ut(e),p=Ut(i),g=Na(c,p),m=ba(c,p)+1;return Un(c,g,m).join("")}function nD(e,i,u){if(e=ge(e),e&&(u||i===n))return e.slice(0,ka(e)+1);if(!e||!(i=Dt(i)))return e;var c=Ut(e),p=ba(c,Ut(i))+1;return Un(c,0,p).join("")}function rD(e,i,u){if(e=ge(e),e&&(u||i===n))return e.replace(Hs,"");if(!e||!(i=Dt(i)))return e;var c=Ut(e),p=Na(c,Ut(i));return Un(c,p).join("")}function iD(e,i){var u=X,c=nt;if(xe(i)){var p="separator"in i?i.separator:p;u="length"in i?te(i.length):u,c="omission"in i?Dt(i.omission):c}e=ge(e);var g=e.length;if(mr(e)){var m=Ut(e);g=m.length}if(u>=g)return e;var _=u-Er(c);if(_<1)return c;var y=m?Un(m,0,_).join(""):e.slice(0,_);if(p===n)return y+c;if(m&&(_+=y.length-_),Xo(p)){if(e.slice(_).search(p)){var N,x=y;for(p.global||(p=po(p.source,ge(zu.exec(p))+"g")),p.lastIndex=0;N=p.exec(x);)var S=N.index;y=y.slice(0,S===n?_:S)}}else if(e.indexOf(Dt(p),_)!=_){var B=y.lastIndexOf(p);B>-1&&(y=y.slice(0,B))}return y+c}function sD(e){return e=ge(e),e&&mp.test(e)?e.replace(Wu,Lh):e}var oD=Fr(function(e,i,u){return e+(u?" ":"")+i.toUpperCase()}),eu=Dl("toUpperCase");function mc(e,i,u){return e=ge(e),i=u?n:i,i===n?xh(e)?$h(e):vh(e):e.match(i)||[]}var Ec=re(function(e,i){try{return mt(e,n,i)}catch(u){return Jo(u)?u:new Z(u)}}),uD=_n(function(e,i){return Nt(i,function(u){u=un(u),En(e,u,zo(e[u],e))}),e});function aD(e){var i=e==null?0:e.length,u=Y();return e=i?we(e,function(c){if(typeof c[1]!="function")throw new bt(l);return[u(c[0]),c[1]]}):[],re(function(c){for(var p=-1;++p$t)return[];var u=Ft,c=Ze(e,Ft);i=Y(i),e-=Ft;for(var p=lo(c,i);++u0||i<0)?new ue(u):(e<0?u=u.takeRight(-e):e&&(u=u.drop(e)),i!==n&&(i=te(i),u=i<0?u.dropRight(-i):u.take(i-e)),u)},ue.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ue.prototype.toArray=function(){return this.take(Ft)},sn(ue.prototype,function(e,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),c=/^(?:head|last)$/.test(i),p=d[c?"take"+(i=="last"?"Right":""):i],g=c||/^find/.test(i);p&&(d.prototype[i]=function(){var m=this.__wrapped__,_=c?[1]:arguments,y=m instanceof ue,N=_[0],x=y||K(m),S=function(ie){var le=p.apply(d,Ln([ie],_));return c&&B?le[0]:le};x&&u&&typeof N=="function"&&N.length!=1&&(y=x=!1);var B=this.__chain__,V=!!this.__actions__.length,Q=g&&!B,ne=y&&!V;if(!g&&x){m=ne?m:new ue(this);var z=e.apply(m,_);return z.__actions__.push({func:Ki,args:[S],thisArg:n}),new xt(z,B)}return Q&&ne?e.apply(this,_):(z=this.thru(S),Q?c?z.value()[0]:z.value():z)})}),Nt(["pop","push","shift","sort","splice","unshift"],function(e){var i=Ii[e],u=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",c=/^(?:pop|shift)$/.test(e);d.prototype[e]=function(){var p=arguments;if(c&&!this.__chain__){var g=this.value();return i.apply(K(g)?g:[],p)}return this[u](function(m){return i.apply(K(m)?m:[],p)})}}),sn(ue.prototype,function(e,i){var u=d[i];if(u){var c=u.name+"";me.call(Tr,c)||(Tr[c]=[]),Tr[c].push({name:i,func:u})}}),Tr[Yi(n,pe).name]=[{name:"wrapper",func:n}],ue.prototype.clone=sd,ue.prototype.reverse=od,ue.prototype.value=ud,d.prototype.at=Bg,d.prototype.chain=$g,d.prototype.commit=Pg,d.prototype.next=Mg,d.prototype.plant=Gg,d.prototype.reverse=Vg,d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=jg,d.prototype.first=d.prototype.head,Ur&&(d.prototype[Ur]=Ug),d},Dr=Ph();Jn?((Jn.exports=Dr)._=Dr,to._=Dr):Qe._=Dr}).call(ti)})(Ts,Ts.exports);var tT=Ts.exports;const bn=Zv(tT),nT="/docs",rT="LDOG Stack",iT="https://apiskeletons.com/images/favicon.ico",sT="https://raw.githubusercontent.com/API-Skeletons/ldog/2.0.x/public/ldog.svg",oT='{"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/ldog.svg"}',uT='[{"title":"Introduction","content":[{"title":"Welcome","content":"# LDOG Stack\\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 d2kaSXUbrjTMK7DNv4jft7hEsWetypn0LIPDQ9h3dRki9qhTWRkvICwS17toFQTC\\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\\nTo test OAuth2 security, POST to https://ldog.apiskeletons.dev/oauth/token\\n\\nAdmittedly, configuration of OAuth2 can be extensive. But the ability to include both\\nPassport and [api-skeletongs/doctrine-orm-graphql](https://github.com/API-Skeletons/doctrine-orm-graphql)\\nin the same project is a powerful combination.\\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`. The export path is set to `~/config/doctrine-orm-metadata`.\\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/10.x\\n* Doctrine - https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/index.html\\n* Laravel Doctrine Adapter - https://www.laraveldoctrine.org/\\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\\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"}]}]',aT="true",yf={SITE_ROOT:nT,APP_TITLE:rT,APP_FAVICON:iT,APP_LOGO:sT,SITE_META:oT,PAGES:uT,MAGIDOC_GENERATE:aT};function wy(r){return r.get(yf)}function xs(r,t){return r.getOrDefault(yf,t)}function ks(){return xs(bs.SITE_ROOT,ZD)}function ce(r,t){if(!!!r)throw new Error(t)}function xn(r){return typeof r=="object"&&r!==null}function zt(r,t){if(!!!r)throw new Error(t??"Unexpected invariant triggered.")}const lT=/\r\n|[\n\r]/g;function _u(r,t){let n=0,s=1;for(const o of r.body.matchAll(lT)){if(typeof o.index=="number"||zt(!1),o.index>=t)break;n=o.index+o[0].length,s+=1}return{line:s,column:t+1-n}}function cT(r){return Af(r.source,_u(r.source,r.start))}function Af(r,t){const n=r.locationOffset.column-1,s="".padStart(n)+r.body,o=t.line-1,a=r.locationOffset.line-1,l=t.line+a,f=t.line===1?n:0,h=t.column+f,E=`${r.name}:${l}:${h} +}`;var ne=Ec(function(){return fe(g,V+"return "+S).apply(n,m)});if(ne.source=S,Jo(ne))throw ne;return ne}function KE(e){return ge(e).toLowerCase()}function eD(e){return ge(e).toUpperCase()}function tD(e,i,u){if(e=ge(e),e&&(u||i===n))return Ia(e);if(!e||!(i=Dt(i)))return e;var c=Ut(e),p=Ut(i),g=Na(c,p),m=ba(c,p)+1;return Un(c,g,m).join("")}function nD(e,i,u){if(e=ge(e),e&&(u||i===n))return e.slice(0,ka(e)+1);if(!e||!(i=Dt(i)))return e;var c=Ut(e),p=ba(c,Ut(i))+1;return Un(c,0,p).join("")}function rD(e,i,u){if(e=ge(e),e&&(u||i===n))return e.replace(Hs,"");if(!e||!(i=Dt(i)))return e;var c=Ut(e),p=Na(c,Ut(i));return Un(c,p).join("")}function iD(e,i){var u=X,c=nt;if(xe(i)){var p="separator"in i?i.separator:p;u="length"in i?te(i.length):u,c="omission"in i?Dt(i.omission):c}e=ge(e);var g=e.length;if(mr(e)){var m=Ut(e);g=m.length}if(u>=g)return e;var _=u-Er(c);if(_<1)return c;var y=m?Un(m,0,_).join(""):e.slice(0,_);if(p===n)return y+c;if(m&&(_+=y.length-_),Xo(p)){if(e.slice(_).search(p)){var N,x=y;for(p.global||(p=po(p.source,ge(zu.exec(p))+"g")),p.lastIndex=0;N=p.exec(x);)var S=N.index;y=y.slice(0,S===n?_:S)}}else if(e.indexOf(Dt(p),_)!=_){var B=y.lastIndexOf(p);B>-1&&(y=y.slice(0,B))}return y+c}function sD(e){return e=ge(e),e&&mp.test(e)?e.replace(Yu,Lh):e}var oD=Fr(function(e,i,u){return e+(u?" ":"")+i.toUpperCase()}),eu=Dl("toUpperCase");function mc(e,i,u){return e=ge(e),i=u?n:i,i===n?xh(e)?$h(e):vh(e):e.match(i)||[]}var Ec=re(function(e,i){try{return mt(e,n,i)}catch(u){return Jo(u)?u:new Z(u)}}),uD=_n(function(e,i){return Nt(i,function(u){u=un(u),En(e,u,zo(e[u],e))}),e});function aD(e){var i=e==null?0:e.length,u=Q();return e=i?Ie(e,function(c){if(typeof c[1]!="function")throw new bt(l);return[u(c[0]),c[1]]}):[],re(function(c){for(var p=-1;++p$t)return[];var u=Ft,c=Ze(e,Ft);i=Q(i),e-=Ft;for(var p=lo(c,i);++u0||i<0)?new ue(u):(e<0?u=u.takeRight(-e):e&&(u=u.drop(e)),i!==n&&(i=te(i),u=i<0?u.dropRight(-i):u.take(i-e)),u)},ue.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ue.prototype.toArray=function(){return this.take(Ft)},sn(ue.prototype,function(e,i){var u=/^(?:filter|find|map|reject)|While$/.test(i),c=/^(?:head|last)$/.test(i),p=d[c?"take"+(i=="last"?"Right":""):i],g=c||/^find/.test(i);p&&(d.prototype[i]=function(){var m=this.__wrapped__,_=c?[1]:arguments,y=m instanceof ue,N=_[0],x=y||K(m),S=function(ie){var le=p.apply(d,Ln([ie],_));return c&&B?le[0]:le};x&&u&&typeof N=="function"&&N.length!=1&&(y=x=!1);var B=this.__chain__,V=!!this.__actions__.length,W=g&&!B,ne=y&&!V;if(!g&&x){m=ne?m:new ue(this);var z=e.apply(m,_);return z.__actions__.push({func:Ki,args:[S],thisArg:n}),new xt(z,B)}return W&&ne?e.apply(this,_):(z=this.thru(S),W?c?z.value()[0]:z.value():z)})}),Nt(["pop","push","shift","sort","splice","unshift"],function(e){var i=wi[e],u=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",c=/^(?:pop|shift)$/.test(e);d.prototype[e]=function(){var p=arguments;if(c&&!this.__chain__){var g=this.value();return i.apply(K(g)?g:[],p)}return this[u](function(m){return i.apply(K(m)?m:[],p)})}}),sn(ue.prototype,function(e,i){var u=d[i];if(u){var c=u.name+"";me.call(Tr,c)||(Tr[c]=[]),Tr[c].push({name:i,func:u})}}),Tr[Qi(n,pe).name]=[{name:"wrapper",func:n}],ue.prototype.clone=sd,ue.prototype.reverse=od,ue.prototype.value=ud,d.prototype.at=Bg,d.prototype.chain=$g,d.prototype.commit=Pg,d.prototype.next=Mg,d.prototype.plant=Gg,d.prototype.reverse=Vg,d.prototype.toJSON=d.prototype.valueOf=d.prototype.value=jg,d.prototype.first=d.prototype.head,Ur&&(d.prototype[Ur]=Ug),d},Dr=Ph();Jn?((Jn.exports=Dr)._=Dr,to._=Dr):We._=Dr}).call(ti)})(Ts,Ts.exports);var tT=Ts.exports;const bn=Zv(tT),nT="/docs",rT="LDOG Stack",iT="https://apiskeletons.com/images/favicon.ico",sT="https://raw.githubusercontent.com/API-Skeletons/ldog/2.0.x/public/ldog.svg",oT='{"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/ldog.svg"}',uT='[{"title":"Introduction","content":[{"title":"Welcome","content":"# LDOG Stack\\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\\nTo test OAuth2 security, POST to https://ldog.apiskeletons.dev/oauth/token\\n\\nAdmittedly, configuration of OAuth2 can be extensive. But the ability to include both\\nPassport and [api-skeletongs/doctrine-orm-graphql](https://github.com/API-Skeletons/doctrine-orm-graphql)\\nin the same project is a powerful combination.\\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`. The export path is set to `~/config/doctrine-orm-metadata`.\\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/10.x\\n* Doctrine - https://www.doctrine-project.org/projects/doctrine-orm/en/2.10/index.html\\n* Laravel Doctrine Adapter - https://www.laraveldoctrine.org/\\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\\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"}]}]',aT="true",yf={SITE_ROOT:nT,APP_TITLE:rT,APP_FAVICON:iT,APP_LOGO:sT,SITE_META:oT,PAGES:uT,MAGIDOC_GENERATE:aT};function Iy(r){return r.get(yf)}function xs(r,t){return r.getOrDefault(yf,t)}function ks(){return xs(bs.SITE_ROOT,ZD)}function ce(r,t){if(!!!r)throw new Error(t)}function xn(r){return typeof r=="object"&&r!==null}function zt(r,t){if(!!!r)throw new Error(t??"Unexpected invariant triggered.")}const lT=/\r\n|[\n\r]/g;function _u(r,t){let n=0,s=1;for(const o of r.body.matchAll(lT)){if(typeof o.index=="number"||zt(!1),o.index>=t)break;n=o.index+o[0].length,s+=1}return{line:s,column:t+1-n}}function cT(r){return Af(r.source,_u(r.source,r.start))}function Af(r,t){const n=r.locationOffset.column-1,s="".padStart(n)+r.body,o=t.line-1,a=r.locationOffset.line-1,l=t.line+a,f=t.line===1?n:0,h=t.column+f,E=`${r.name}:${l}:${h} `,D=s.split(/\r\n|[\n\r]/g),T=D[o];if(T.length>120){const b=Math.floor(h/80),C=h%80,L=[];for(let R=0;R["|",R]),["|","^".padStart(C)],["|",L[b+1]]])}return E+Vc([[`${l-1} |`,D[o-1]],[`${l} |`,T],["|","^".padStart(h)],[`${l+1} |`,D[o+1]]])}function Vc(r){const t=r.filter(([s,o])=>o!==void 0),n=Math.max(...t.map(([s])=>s.length));return t.map(([s,o])=>s.padStart(n)+(o?" "+o:"")).join(` `)}function fT(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 j extends Error{constructor(t,...n){var s,o,a;const{nodes:l,source:f,positions:h,path:E,originalError:D,extensions:T}=fT(n);super(t),this.name="GraphQLError",this.path=E??void 0,this.originalError=D??void 0,this.nodes=jc(Array.isArray(l)?l:l?[l]:void 0);const b=jc((s=this.nodes)===null||s===void 0?void 0:s.map(L=>L.loc).filter(L=>L!=null));this.source=f??(b==null||(o=b[0])===null||o===void 0?void 0:o.source),this.positions=h??(b==null?void 0:b.map(L=>L.start)),this.locations=h&&f?h.map(L=>_u(f,L)):b==null?void 0:b.map(L=>_u(L.source,L.start));const C=xn(D==null?void 0:D.extensions)?D==null?void 0:D.extensions:void 0;this.extensions=(a=T??C)!==null&&a!==void 0?a: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}}),D!=null&&D.stack?Object.defineProperty(this,"stack",{value:D.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,j):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+=` `+cT(n.loc));else if(this.source&&this.locations)for(const n of this.locations)t+=` -`+Af(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 jc(r){return r===void 0||r.length===0?void 0:r}function Ye(r,t,n){return new j(`Syntax Error: ${n}`,{source:r,positions:[t]})}class pT{constructor(t,n,s){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=s}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Ff{constructor(t,n,s,o,a,l){this.kind=t,this.start=n,this.end=s,this.line=o,this.column=a,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 If={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(If));function qc(r){const t=r==null?void 0:r.kind;return typeof t=="string"&&hT.has(t)}var Lt;(function(r){r.QUERY="query",r.MUTATION="mutation",r.SUBSCRIPTION="subscription"})(Lt||(Lt={}));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 A;(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"})(A||(A={}));function vu(r){return r===9||r===32}function li(r){return r>=48&&r<=57}function wf(r){return r>=97&&r<=122||r>=65&&r<=90}function $u(r){return wf(r)||r===95}function Nf(r){return wf(r)||li(r)||r===95}function dT(r){var t;let n=Number.MAX_SAFE_INTEGER,s=null,o=-1;for(let l=0;lf===0?l:l.slice(n)).slice((t=s)!==null&&t!==void 0?t:0,o+1)}function gT(r){let t=0;for(;t1&&s.slice(1).every(C=>C.length===0||vu(C.charCodeAt(0))),l=n.endsWith('\\"""'),f=r.endsWith('"')&&!l,h=r.endsWith("\\"),E=f||h,D=!(t!=null&&t.minimize)&&(!o||r.length>70||E||a||l);let T="";const b=o&&vu(r.charCodeAt(0));return(D&&!b||a)&&(T+=` +`+Af(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 jc(r){return r===void 0||r.length===0?void 0:r}function Qe(r,t,n){return new j(`Syntax Error: ${n}`,{source:r,positions:[t]})}class pT{constructor(t,n,s){this.start=t.start,this.end=n.end,this.startToken=t,this.endToken=n,this.source=s}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class Ff{constructor(t,n,s,o,a,l){this.kind=t,this.start=n,this.end=s,this.line=o,this.column=a,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 wf={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(wf));function qc(r){const t=r==null?void 0:r.kind;return typeof t=="string"&&hT.has(t)}var Lt;(function(r){r.QUERY="query",r.MUTATION="mutation",r.SUBSCRIPTION="subscription"})(Lt||(Lt={}));var Y;(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"})(Y||(Y={}));var A;(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"})(A||(A={}));function vu(r){return r===9||r===32}function li(r){return r>=48&&r<=57}function If(r){return r>=97&&r<=122||r>=65&&r<=90}function $u(r){return If(r)||r===95}function Nf(r){return If(r)||li(r)||r===95}function dT(r){var t;let n=Number.MAX_SAFE_INTEGER,s=null,o=-1;for(let l=0;lf===0?l:l.slice(n)).slice((t=s)!==null&&t!==void 0?t:0,o+1)}function gT(r){let t=0;for(;t1&&s.slice(1).every(C=>C.length===0||vu(C.charCodeAt(0))),l=n.endsWith('\\"""'),f=r.endsWith('"')&&!l,h=r.endsWith("\\"),E=f||h,D=!(t!=null&&t.minimize)&&(!o||r.length>70||E||a||l);let T="";const b=o&&vu(r.charCodeAt(0));return(D&&!b||a)&&(T+=` `),T+=n,(D||E)&&(T+=` -`),'"""'+T+'"""'}var k;(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"})(k||(k={}));class ET{constructor(t){const n=new Ff(k.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!==k.EOF)do if(t.next)t=t.next;else{const n=_T(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===k.COMMENT);return t}}function DT(r){return r===k.BANG||r===k.DOLLAR||r===k.AMP||r===k.PAREN_L||r===k.PAREN_R||r===k.SPREAD||r===k.COLON||r===k.EQUALS||r===k.AT||r===k.BRACKET_L||r===k.BRACKET_R||r===k.BRACE_L||r===k.PIPE||r===k.BRACE_R}function Cr(r){return r>=0&&r<=55295||r>=57344&&r<=1114111}function Cs(r,t){return bf(r.charCodeAt(t))&&xf(r.charCodeAt(t+1))}function bf(r){return r>=55296&&r<=56319}function xf(r){return r>=56320&&r<=57343}function ur(r,t){const n=r.source.body.codePointAt(t);if(n===void 0)return k.EOF;if(n>=32&&n<=126){const s=String.fromCodePoint(n);return s==='"'?`'"'`:`"${s}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Ge(r,t,n,s,o){const a=r.line,l=1+n-r.lineStart;return new Ff(t,n,s,a,l,o)}function _T(r,t){const n=r.source.body,s=n.length;let o=t;for(;o=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:-1}function IT(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 Ye(r.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function wT(r,t){const n=r.source.body,s=n.length;let o=r.lineStart,a=t+3,l=a,f="";const h=[];for(;akf?"["+ST(r)+"]":"{ "+n.map(([o,a])=>o+": "+Os(a,t)).join(", ")+" }"}function OT(r,t){if(r.length===0)return"[]";if(t.length>kf)return"[Array]";const n=Math.min(bT,r.length),s=r.length-n,o=[];for(let a=0;a1&&o.push(`... ${s} more items`),"["+o.join(", ")+"]"}function ST(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 pn=globalThis.process?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var s;const o=n.prototype[Symbol.toStringTag],a=Symbol.toStringTag in t?t[Symbol.toStringTag]:(s=t.constructor)===null||s===void 0?void 0:s.name;if(o===a){const l=q(t);throw new Error(`Cannot use ${o} "${l}" from another module or realm. +`),'"""'+T+'"""'}var k;(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"})(k||(k={}));class ET{constructor(t){const n=new Ff(k.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!==k.EOF)do if(t.next)t=t.next;else{const n=_T(this,t.end);t.next=n,n.prev=t,t=n}while(t.kind===k.COMMENT);return t}}function DT(r){return r===k.BANG||r===k.DOLLAR||r===k.AMP||r===k.PAREN_L||r===k.PAREN_R||r===k.SPREAD||r===k.COLON||r===k.EQUALS||r===k.AT||r===k.BRACKET_L||r===k.BRACKET_R||r===k.BRACE_L||r===k.PIPE||r===k.BRACE_R}function Cr(r){return r>=0&&r<=55295||r>=57344&&r<=1114111}function Cs(r,t){return bf(r.charCodeAt(t))&&xf(r.charCodeAt(t+1))}function bf(r){return r>=55296&&r<=56319}function xf(r){return r>=56320&&r<=57343}function ur(r,t){const n=r.source.body.codePointAt(t);if(n===void 0)return k.EOF;if(n>=32&&n<=126){const s=String.fromCodePoint(n);return s==='"'?`'"'`:`"${s}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function Ge(r,t,n,s,o){const a=r.line,l=1+n-r.lineStart;return new Ff(t,n,s,a,l,o)}function _T(r,t){const n=r.source.body,s=n.length;let o=t;for(;o=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:-1}function wT(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 Qe(r.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function IT(r,t){const n=r.source.body,s=n.length;let o=r.lineStart,a=t+3,l=a,f="";const h=[];for(;akf?"["+ST(r)+"]":"{ "+n.map(([o,a])=>o+": "+Os(a,t)).join(", ")+" }"}function OT(r,t){if(r.length===0)return"[]";if(t.length>kf)return"[Array]";const n=Math.min(bT,r.length),s=r.length-n,o=[];for(let a=0;a1&&o.push(`... ${s} more items`),"["+o.join(", ")+"]"}function ST(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 pn=globalThis.process?function(t,n){return t instanceof n}:function(t,n){if(t instanceof n)return!0;if(typeof t=="object"&&t!==null){var s;const o=n.prototype[Symbol.toStringTag],a=Symbol.toStringTag in t?t[Symbol.toStringTag]:(s=t.constructor)===null||s===void 0?void 0:s.name;if(o===a){const l=q(t);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 @@ -89,9 +89,9 @@ 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 Cf{constructor(t,n="GraphQL request",s={line:1,column:1}){typeof t=="string"||ce(!1,`Body must be a string. Received: ${q(t)}.`),this.body=t,this.name=n,this.locationOffset=s,this.locationOffset.line>0||ce(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ce(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function LT(r){return pn(r,Cf)}function RT(r,t){return new Of(r,t).parseDocument()}function BT(r,t){const n=new Of(r,t);n.expectToken(k.SOF);const s=n.parseValueLiteral(!1);return n.expectToken(k.EOF),s}class Of{constructor(t,n={}){const s=LT(t)?t:new Cf(t);this._lexer=new ET(s),this._options=n,this._tokenCounter=0}parseName(){const t=this.expectToken(k.NAME);return this.node(t,{kind:A.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:A.DOCUMENT,definitions:this.many(k.SOF,this.parseDefinition,k.EOF)})}parseDefinition(){if(this.peek(k.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===k.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 Ye(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(k.BRACE_L))return this.node(t,{kind:A.OPERATION_DEFINITION,operation:Lt.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let s;return this.peek(k.NAME)&&(s=this.parseName()),this.node(t,{kind:A.OPERATION_DEFINITION,operation:n,name:s,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(k.NAME);switch(t.value){case"query":return Lt.QUERY;case"mutation":return Lt.MUTATION;case"subscription":return Lt.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(k.PAREN_L,this.parseVariableDefinition,k.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:A.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(k.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(k.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(k.DOLLAR),this.node(t,{kind:A.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:A.SELECTION_SET,selections:this.many(k.BRACE_L,this.parseSelection,k.BRACE_R)})}parseSelection(){return this.peek(k.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let s,o;return this.expectOptionalToken(k.COLON)?(s=n,o=this.parseName()):o=n,this.node(t,{kind:A.FIELD,alias:s,name:o,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(k.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(k.PAREN_L,n,k.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,s=this.parseName();return this.expectToken(k.COLON),this.node(n,{kind:A.ARGUMENT,name:s,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(k.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(k.NAME)?this.node(t,{kind:A.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:A.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:A.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:A.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 k.BRACKET_L:return this.parseList(t);case k.BRACE_L:return this.parseObject(t);case k.INT:return this.advanceLexer(),this.node(n,{kind:A.INT,value:n.value});case k.FLOAT:return this.advanceLexer(),this.node(n,{kind:A.FLOAT,value:n.value});case k.STRING:case k.BLOCK_STRING:return this.parseStringLiteral();case k.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:A.BOOLEAN,value:!0});case"false":return this.node(n,{kind:A.BOOLEAN,value:!1});case"null":return this.node(n,{kind:A.NULL});default:return this.node(n,{kind:A.ENUM,value:n.value})}case k.DOLLAR:if(t)if(this.expectToken(k.DOLLAR),this._lexer.token.kind===k.NAME){const s=this._lexer.token.value;throw Ye(this._lexer.source,n.start,`Unexpected variable "$${s}" 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:A.STRING,value:t.value,block:t.kind===k.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:A.LIST,values:this.any(k.BRACKET_L,n,k.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:A.OBJECT,fields:this.any(k.BRACE_L,n,k.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,s=this.parseName();return this.expectToken(k.COLON),this.node(n,{kind:A.OBJECT_FIELD,name:s,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(k.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(k.AT),this.node(n,{kind:A.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(k.BRACKET_L)){const s=this.parseTypeReference();this.expectToken(k.BRACKET_R),n=this.node(t,{kind:A.LIST_TYPE,type:s})}else n=this.parseNamedType();return this.expectOptionalToken(k.BANG)?this.node(t,{kind:A.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:A.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(k.STRING)||this.peek(k.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const s=this.parseConstDirectives(),o=this.many(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);return this.node(t,{kind:A.SCHEMA_DEFINITION,description:n,directives:s,operationTypes:o})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(k.COLON);const s=this.parseNamedType();return this.node(t,{kind:A.OPERATION_TYPE_DEFINITION,operation:n,type:s})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const s=this.parseName(),o=this.parseConstDirectives();return this.node(t,{kind:A.SCALAR_TYPE_DEFINITION,description:n,name:s,directives:o})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const s=this.parseName(),o=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(t,{kind:A.OBJECT_TYPE_DEFINITION,description:n,name:s,interfaces:o,directives:a,fields:l})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(k.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseFieldDefinition,k.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),s=this.parseName(),o=this.parseArgumentDefs();this.expectToken(k.COLON);const a=this.parseTypeReference(),l=this.parseConstDirectives();return this.node(t,{kind:A.FIELD_DEFINITION,description:n,name:s,arguments:o,type:a,directives:l})}parseArgumentDefs(){return this.optionalMany(k.PAREN_L,this.parseInputValueDef,k.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),s=this.parseName();this.expectToken(k.COLON);const o=this.parseTypeReference();let a;this.expectOptionalToken(k.EQUALS)&&(a=this.parseConstValueLiteral());const l=this.parseConstDirectives();return this.node(t,{kind:A.INPUT_VALUE_DEFINITION,description:n,name:s,type:o,defaultValue:a,directives:l})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const s=this.parseName(),o=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(t,{kind:A.INTERFACE_TYPE_DEFINITION,description:n,name:s,interfaces:o,directives:a,fields:l})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const s=this.parseName(),o=this.parseConstDirectives(),a=this.parseUnionMemberTypes();return this.node(t,{kind:A.UNION_TYPE_DEFINITION,description:n,name:s,directives:o,types:a})}parseUnionMemberTypes(){return this.expectOptionalToken(k.EQUALS)?this.delimitedMany(k.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const s=this.parseName(),o=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();return this.node(t,{kind:A.ENUM_TYPE_DEFINITION,description:n,name:s,directives:o,values:a})}parseEnumValuesDefinition(){return this.optionalMany(k.BRACE_L,this.parseEnumValueDefinition,k.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),s=this.parseEnumValueName(),o=this.parseConstDirectives();return this.node(t,{kind:A.ENUM_VALUE_DEFINITION,description:n,name:s,directives:o})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw Ye(this._lexer.source,this._lexer.token.start,`${ps(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 s=this.parseName(),o=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();return this.node(t,{kind:A.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:s,directives:o,fields:a})}parseInputFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseInputValueDef,k.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===k.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(),s=this.optionalMany(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);if(n.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:A.SCHEMA_EXTENSION,directives:n,operationTypes:s})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),s=this.parseConstDirectives();if(s.length===0)throw this.unexpected();return this.node(t,{kind:A.SCALAR_TYPE_EXTENSION,name:n,directives:s})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(s.length===0&&o.length===0&&a.length===0)throw this.unexpected();return this.node(t,{kind:A.OBJECT_TYPE_EXTENSION,name:n,interfaces:s,directives:o,fields:a})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(s.length===0&&o.length===0&&a.length===0)throw this.unexpected();return this.node(t,{kind:A.INTERFACE_TYPE_EXTENSION,name:n,interfaces:s,directives:o,fields:a})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),s=this.parseConstDirectives(),o=this.parseUnionMemberTypes();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:A.UNION_TYPE_EXTENSION,name:n,directives:s,types:o})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),s=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:A.ENUM_TYPE_EXTENSION,name:n,directives:s,values:o})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),s=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:A.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:s,fields:o})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(k.AT);const s=this.parseName(),o=this.parseArgumentDefs(),a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const l=this.parseDirectiveLocations();return this.node(t,{kind:A.DIRECTIVE_DEFINITION,description:n,name:s,arguments:o,repeatable:a,locations:l})}parseDirectiveLocations(){return this.delimitedMany(k.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 pT(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 Ye(this._lexer.source,n.start,`Expected ${Sf(t)}, found ${ps(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===k.NAME&&n.value===t)this.advanceLexer();else throw Ye(this._lexer.source,n.start,`Expected "${t}", found ${ps(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===k.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return Ye(this._lexer.source,n.start,`Unexpected ${ps(n)}.`)}any(t,n,s){this.expectToken(t);const o=[];for(;!this.expectOptionalToken(s);)o.push(n.call(this));return o}optionalMany(t,n,s){if(this.expectOptionalToken(t)){const o=[];do o.push(n.call(this));while(!this.expectOptionalToken(s));return o}return[]}many(t,n,s){this.expectToken(t);const o=[];do o.push(n.call(this));while(!this.expectOptionalToken(s));return o}delimitedMany(t,n){this.expectOptionalToken(t);const s=[];do s.push(n.call(this));while(this.expectOptionalToken(t));return s}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==k.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw Ye(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function ps(r){const t=r.value;return Sf(r.kind)+(t!=null?` "${t}"`:"")}function Sf(r){return DT(r)?`"${r}"`:r}const $T=5;function Ss(r,t){const[n,s]=t?[r,t]:[void 0,r];let o=" Did you mean ";n&&(o+=n+" ");const a=s.map(h=>`"${h}"`);switch(a.length){case 0:return"";case 1:return o+a[0]+"?";case 2:return o+a[0]+" or "+a[1]+"?"}const l=a.slice(0,$T),f=l.pop();return o+l.join(", ")+", or "+f+"?"}function Yc(r){return r}function xr(r,t){const n=Object.create(null);for(const s of r)n[t(s)]=s;return n}function sr(r,t,n){const s=Object.create(null);for(const o of r)s[t(o)]=n(o);return s}function Fn(r,t){const n=Object.create(null);for(const s of Object.keys(r))n[s]=t(r[s],s);return n}function PT(r,t){let n=0,s=0;for(;n0);let f=0;do++s,f=f*10+a-Tu,a=t.charCodeAt(s);while(hs(a)&&f>0);if(lf)return 1}else{if(oa)return 1;++n,++s}}return r.length-t.length}const Tu=48,MT=57;function hs(r){return!isNaN(r)&&Tu<=r&&r<=MT}function Ls(r,t){const n=Object.create(null),s=new UT(r),o=Math.floor(r.length*.4)+1;for(const a of t){const l=s.measure(a,o);l!==void 0&&(n[a]=l)}return Object.keys(n).sort((a,l)=>{const f=n[a]-n[l];return f!==0?f:PT(a,l)})}class UT{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=Qc(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 s=t.toLowerCase();if(this._inputLowerCase===s)return 1;let o=Qc(s),a=this._inputArray;if(o.lengthn)return;const h=this._rows;for(let D=0;D<=f;D++)h[0][D]=D;for(let D=1;D<=l;D++){const T=h[(D-1)%3],b=h[D%3];let C=b[0]=D;for(let L=1;L<=f;L++){const R=o[D-1]===a[L-1]?0:1;let H=Math.min(T[L]+1,b[L-1]+1,T[L-1]+R);if(D>1&&L>1&&o[D-1]===a[L-2]&&o[D-2]===a[L-1]){const pe=h[(D-2)%3][L-2];H=Math.min(H,pe+1)}Hn)return}const E=h[l%3][f];return E<=n?E:void 0}}function Qc(r){const t=r.length,n=new Array(t);for(let s=0;sr.value},Variable:{leave:r=>"$"+r.name},Document:{leave:r=>G(r.definitions,` +spurious results.`)}}return!1};class Cf{constructor(t,n="GraphQL request",s={line:1,column:1}){typeof t=="string"||ce(!1,`Body must be a string. Received: ${q(t)}.`),this.body=t,this.name=n,this.locationOffset=s,this.locationOffset.line>0||ce(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||ce(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function LT(r){return pn(r,Cf)}function RT(r,t){return new Of(r,t).parseDocument()}function BT(r,t){const n=new Of(r,t);n.expectToken(k.SOF);const s=n.parseValueLiteral(!1);return n.expectToken(k.EOF),s}class Of{constructor(t,n={}){const s=LT(t)?t:new Cf(t);this._lexer=new ET(s),this._options=n,this._tokenCounter=0}parseName(){const t=this.expectToken(k.NAME);return this.node(t,{kind:A.NAME,value:t.value})}parseDocument(){return this.node(this._lexer.token,{kind:A.DOCUMENT,definitions:this.many(k.SOF,this.parseDefinition,k.EOF)})}parseDefinition(){if(this.peek(k.BRACE_L))return this.parseOperationDefinition();const t=this.peekDescription(),n=t?this._lexer.lookahead():this._lexer.token;if(n.kind===k.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 Qe(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(k.BRACE_L))return this.node(t,{kind:A.OPERATION_DEFINITION,operation:Lt.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const n=this.parseOperationType();let s;return this.peek(k.NAME)&&(s=this.parseName()),this.node(t,{kind:A.OPERATION_DEFINITION,operation:n,name:s,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const t=this.expectToken(k.NAME);switch(t.value){case"query":return Lt.QUERY;case"mutation":return Lt.MUTATION;case"subscription":return Lt.SUBSCRIPTION}throw this.unexpected(t)}parseVariableDefinitions(){return this.optionalMany(k.PAREN_L,this.parseVariableDefinition,k.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:A.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(k.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(k.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const t=this._lexer.token;return this.expectToken(k.DOLLAR),this.node(t,{kind:A.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:A.SELECTION_SET,selections:this.many(k.BRACE_L,this.parseSelection,k.BRACE_R)})}parseSelection(){return this.peek(k.SPREAD)?this.parseFragment():this.parseField()}parseField(){const t=this._lexer.token,n=this.parseName();let s,o;return this.expectOptionalToken(k.COLON)?(s=n,o=this.parseName()):o=n,this.node(t,{kind:A.FIELD,alias:s,name:o,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(k.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(t){const n=t?this.parseConstArgument:this.parseArgument;return this.optionalMany(k.PAREN_L,n,k.PAREN_R)}parseArgument(t=!1){const n=this._lexer.token,s=this.parseName();return this.expectToken(k.COLON),this.node(n,{kind:A.ARGUMENT,name:s,value:this.parseValueLiteral(t)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const t=this._lexer.token;this.expectToken(k.SPREAD);const n=this.expectOptionalKeyword("on");return!n&&this.peek(k.NAME)?this.node(t,{kind:A.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(t,{kind:A.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:A.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:A.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 k.BRACKET_L:return this.parseList(t);case k.BRACE_L:return this.parseObject(t);case k.INT:return this.advanceLexer(),this.node(n,{kind:A.INT,value:n.value});case k.FLOAT:return this.advanceLexer(),this.node(n,{kind:A.FLOAT,value:n.value});case k.STRING:case k.BLOCK_STRING:return this.parseStringLiteral();case k.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:A.BOOLEAN,value:!0});case"false":return this.node(n,{kind:A.BOOLEAN,value:!1});case"null":return this.node(n,{kind:A.NULL});default:return this.node(n,{kind:A.ENUM,value:n.value})}case k.DOLLAR:if(t)if(this.expectToken(k.DOLLAR),this._lexer.token.kind===k.NAME){const s=this._lexer.token.value;throw Qe(this._lexer.source,n.start,`Unexpected variable "$${s}" 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:A.STRING,value:t.value,block:t.kind===k.BLOCK_STRING})}parseList(t){const n=()=>this.parseValueLiteral(t);return this.node(this._lexer.token,{kind:A.LIST,values:this.any(k.BRACKET_L,n,k.BRACKET_R)})}parseObject(t){const n=()=>this.parseObjectField(t);return this.node(this._lexer.token,{kind:A.OBJECT,fields:this.any(k.BRACE_L,n,k.BRACE_R)})}parseObjectField(t){const n=this._lexer.token,s=this.parseName();return this.expectToken(k.COLON),this.node(n,{kind:A.OBJECT_FIELD,name:s,value:this.parseValueLiteral(t)})}parseDirectives(t){const n=[];for(;this.peek(k.AT);)n.push(this.parseDirective(t));return n}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(t){const n=this._lexer.token;return this.expectToken(k.AT),this.node(n,{kind:A.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t)})}parseTypeReference(){const t=this._lexer.token;let n;if(this.expectOptionalToken(k.BRACKET_L)){const s=this.parseTypeReference();this.expectToken(k.BRACKET_R),n=this.node(t,{kind:A.LIST_TYPE,type:s})}else n=this.parseNamedType();return this.expectOptionalToken(k.BANG)?this.node(t,{kind:A.NON_NULL_TYPE,type:n}):n}parseNamedType(){return this.node(this._lexer.token,{kind:A.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(k.STRING)||this.peek(k.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("schema");const s=this.parseConstDirectives(),o=this.many(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);return this.node(t,{kind:A.SCHEMA_DEFINITION,description:n,directives:s,operationTypes:o})}parseOperationTypeDefinition(){const t=this._lexer.token,n=this.parseOperationType();this.expectToken(k.COLON);const s=this.parseNamedType();return this.node(t,{kind:A.OPERATION_TYPE_DEFINITION,operation:n,type:s})}parseScalarTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("scalar");const s=this.parseName(),o=this.parseConstDirectives();return this.node(t,{kind:A.SCALAR_TYPE_DEFINITION,description:n,name:s,directives:o})}parseObjectTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("type");const s=this.parseName(),o=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(t,{kind:A.OBJECT_TYPE_DEFINITION,description:n,name:s,interfaces:o,directives:a,fields:l})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(k.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseFieldDefinition,k.BRACE_R)}parseFieldDefinition(){const t=this._lexer.token,n=this.parseDescription(),s=this.parseName(),o=this.parseArgumentDefs();this.expectToken(k.COLON);const a=this.parseTypeReference(),l=this.parseConstDirectives();return this.node(t,{kind:A.FIELD_DEFINITION,description:n,name:s,arguments:o,type:a,directives:l})}parseArgumentDefs(){return this.optionalMany(k.PAREN_L,this.parseInputValueDef,k.PAREN_R)}parseInputValueDef(){const t=this._lexer.token,n=this.parseDescription(),s=this.parseName();this.expectToken(k.COLON);const o=this.parseTypeReference();let a;this.expectOptionalToken(k.EQUALS)&&(a=this.parseConstValueLiteral());const l=this.parseConstDirectives();return this.node(t,{kind:A.INPUT_VALUE_DEFINITION,description:n,name:s,type:o,defaultValue:a,directives:l})}parseInterfaceTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("interface");const s=this.parseName(),o=this.parseImplementsInterfaces(),a=this.parseConstDirectives(),l=this.parseFieldsDefinition();return this.node(t,{kind:A.INTERFACE_TYPE_DEFINITION,description:n,name:s,interfaces:o,directives:a,fields:l})}parseUnionTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("union");const s=this.parseName(),o=this.parseConstDirectives(),a=this.parseUnionMemberTypes();return this.node(t,{kind:A.UNION_TYPE_DEFINITION,description:n,name:s,directives:o,types:a})}parseUnionMemberTypes(){return this.expectOptionalToken(k.EQUALS)?this.delimitedMany(k.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("enum");const s=this.parseName(),o=this.parseConstDirectives(),a=this.parseEnumValuesDefinition();return this.node(t,{kind:A.ENUM_TYPE_DEFINITION,description:n,name:s,directives:o,values:a})}parseEnumValuesDefinition(){return this.optionalMany(k.BRACE_L,this.parseEnumValueDefinition,k.BRACE_R)}parseEnumValueDefinition(){const t=this._lexer.token,n=this.parseDescription(),s=this.parseEnumValueName(),o=this.parseConstDirectives();return this.node(t,{kind:A.ENUM_VALUE_DEFINITION,description:n,name:s,directives:o})}parseEnumValueName(){if(this._lexer.token.value==="true"||this._lexer.token.value==="false"||this._lexer.token.value==="null")throw Qe(this._lexer.source,this._lexer.token.start,`${ps(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 s=this.parseName(),o=this.parseConstDirectives(),a=this.parseInputFieldsDefinition();return this.node(t,{kind:A.INPUT_OBJECT_TYPE_DEFINITION,description:n,name:s,directives:o,fields:a})}parseInputFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseInputValueDef,k.BRACE_R)}parseTypeSystemExtension(){const t=this._lexer.lookahead();if(t.kind===k.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(),s=this.optionalMany(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);if(n.length===0&&s.length===0)throw this.unexpected();return this.node(t,{kind:A.SCHEMA_EXTENSION,directives:n,operationTypes:s})}parseScalarTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const n=this.parseName(),s=this.parseConstDirectives();if(s.length===0)throw this.unexpected();return this.node(t,{kind:A.SCALAR_TYPE_EXTENSION,name:n,directives:s})}parseObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const n=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(s.length===0&&o.length===0&&a.length===0)throw this.unexpected();return this.node(t,{kind:A.OBJECT_TYPE_EXTENSION,name:n,interfaces:s,directives:o,fields:a})}parseInterfaceTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const n=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),a=this.parseFieldsDefinition();if(s.length===0&&o.length===0&&a.length===0)throw this.unexpected();return this.node(t,{kind:A.INTERFACE_TYPE_EXTENSION,name:n,interfaces:s,directives:o,fields:a})}parseUnionTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const n=this.parseName(),s=this.parseConstDirectives(),o=this.parseUnionMemberTypes();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:A.UNION_TYPE_EXTENSION,name:n,directives:s,types:o})}parseEnumTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const n=this.parseName(),s=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:A.ENUM_TYPE_EXTENSION,name:n,directives:s,values:o})}parseInputObjectTypeExtension(){const t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const n=this.parseName(),s=this.parseConstDirectives(),o=this.parseInputFieldsDefinition();if(s.length===0&&o.length===0)throw this.unexpected();return this.node(t,{kind:A.INPUT_OBJECT_TYPE_EXTENSION,name:n,directives:s,fields:o})}parseDirectiveDefinition(){const t=this._lexer.token,n=this.parseDescription();this.expectKeyword("directive"),this.expectToken(k.AT);const s=this.parseName(),o=this.parseArgumentDefs(),a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const l=this.parseDirectiveLocations();return this.node(t,{kind:A.DIRECTIVE_DEFINITION,description:n,name:s,arguments:o,repeatable:a,locations:l})}parseDirectiveLocations(){return this.delimitedMany(k.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const t=this._lexer.token,n=this.parseName();if(Object.prototype.hasOwnProperty.call(Y,n.value))return n;throw this.unexpected(t)}node(t,n){return this._options.noLocation!==!0&&(n.loc=new pT(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 Qe(this._lexer.source,n.start,`Expected ${Sf(t)}, found ${ps(n)}.`)}expectOptionalToken(t){return this._lexer.token.kind===t?(this.advanceLexer(),!0):!1}expectKeyword(t){const n=this._lexer.token;if(n.kind===k.NAME&&n.value===t)this.advanceLexer();else throw Qe(this._lexer.source,n.start,`Expected "${t}", found ${ps(n)}.`)}expectOptionalKeyword(t){const n=this._lexer.token;return n.kind===k.NAME&&n.value===t?(this.advanceLexer(),!0):!1}unexpected(t){const n=t??this._lexer.token;return Qe(this._lexer.source,n.start,`Unexpected ${ps(n)}.`)}any(t,n,s){this.expectToken(t);const o=[];for(;!this.expectOptionalToken(s);)o.push(n.call(this));return o}optionalMany(t,n,s){if(this.expectOptionalToken(t)){const o=[];do o.push(n.call(this));while(!this.expectOptionalToken(s));return o}return[]}many(t,n,s){this.expectToken(t);const o=[];do o.push(n.call(this));while(!this.expectOptionalToken(s));return o}delimitedMany(t,n){this.expectOptionalToken(t);const s=[];do s.push(n.call(this));while(this.expectOptionalToken(t));return s}advanceLexer(){const{maxTokens:t}=this._options,n=this._lexer.advance();if(t!==void 0&&n.kind!==k.EOF&&(++this._tokenCounter,this._tokenCounter>t))throw Qe(this._lexer.source,n.start,`Document contains more that ${t} tokens. Parsing aborted.`)}}function ps(r){const t=r.value;return Sf(r.kind)+(t!=null?` "${t}"`:"")}function Sf(r){return DT(r)?`"${r}"`:r}const $T=5;function Ss(r,t){const[n,s]=t?[r,t]:[void 0,r];let o=" Did you mean ";n&&(o+=n+" ");const a=s.map(h=>`"${h}"`);switch(a.length){case 0:return"";case 1:return o+a[0]+"?";case 2:return o+a[0]+" or "+a[1]+"?"}const l=a.slice(0,$T),f=l.pop();return o+l.join(", ")+", or "+f+"?"}function Qc(r){return r}function xr(r,t){const n=Object.create(null);for(const s of r)n[t(s)]=s;return n}function sr(r,t,n){const s=Object.create(null);for(const o of r)s[t(o)]=n(o);return s}function Fn(r,t){const n=Object.create(null);for(const s of Object.keys(r))n[s]=t(r[s],s);return n}function PT(r,t){let n=0,s=0;for(;n0);let f=0;do++s,f=f*10+a-Tu,a=t.charCodeAt(s);while(hs(a)&&f>0);if(lf)return 1}else{if(oa)return 1;++n,++s}}return r.length-t.length}const Tu=48,MT=57;function hs(r){return!isNaN(r)&&Tu<=r&&r<=MT}function Ls(r,t){const n=Object.create(null),s=new UT(r),o=Math.floor(r.length*.4)+1;for(const a of t){const l=s.measure(a,o);l!==void 0&&(n[a]=l)}return Object.keys(n).sort((a,l)=>{const f=n[a]-n[l];return f!==0?f:PT(a,l)})}class UT{constructor(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=Wc(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 s=t.toLowerCase();if(this._inputLowerCase===s)return 1;let o=Wc(s),a=this._inputArray;if(o.lengthn)return;const h=this._rows;for(let D=0;D<=f;D++)h[0][D]=D;for(let D=1;D<=l;D++){const T=h[(D-1)%3],b=h[D%3];let C=b[0]=D;for(let L=1;L<=f;L++){const R=o[D-1]===a[L-1]?0:1;let H=Math.min(T[L]+1,b[L-1]+1,T[L-1]+R);if(D>1&&L>1&&o[D-1]===a[L-2]&&o[D-2]===a[L-1]){const pe=h[(D-2)%3][L-2];H=Math.min(H,pe+1)}Hn)return}const E=h[l%3][f];return E<=n?E:void 0}}function Wc(r){const t=r.length,n=new Array(t);for(let s=0;sr.value},Variable:{leave:r=>"$"+r.name},Document:{leave:r=>G(r.definitions,` -`)},OperationDefinition:{leave(r){const t=ae("(",G(r.variableDefinitions,", "),")"),n=G([r.operation,G([r.name,t]),G(r.directives," ")]," ");return(n==="query"?"":n+" ")+r.selectionSet}},VariableDefinition:{leave:({variable:r,type:t,defaultValue:n,directives:s})=>r+": "+t+ae(" = ",n)+ae(" ",G(s," "))},SelectionSet:{leave:({selections:r})=>qt(r)},Field:{leave({alias:r,name:t,arguments:n,directives:s,selectionSet:o}){const a=ae("",r,": ")+t;let l=a+ae("(",G(n,", "),")");return l.length>YT&&(l=a+ae(`( +`)},OperationDefinition:{leave(r){const t=ae("(",G(r.variableDefinitions,", "),")"),n=G([r.operation,G([r.name,t]),G(r.directives," ")]," ");return(n==="query"?"":n+" ")+r.selectionSet}},VariableDefinition:{leave:({variable:r,type:t,defaultValue:n,directives:s})=>r+": "+t+ae(" = ",n)+ae(" ",G(s," "))},SelectionSet:{leave:({selections:r})=>qt(r)},Field:{leave({alias:r,name:t,arguments:n,directives:s,selectionSet:o}){const a=ae("",r,": ")+t;let l=a+ae("(",G(n,", "),")");return l.length>QT&&(l=a+ae(`( `,ms(G(n,` `)),` )`)),G([l,G(s," "),o]," ")}},Argument:{leave:({name:r,value:t})=>r+": "+t},FragmentSpread:{leave:({name:r,directives:t})=>"..."+r+ae(" ",G(t," "))},InlineFragment:{leave:({typeCondition:r,directives:t,selectionSet:n})=>G(["...",ae("on ",r),G(t," "),n]," ")},FragmentDefinition:{leave:({name:r,typeCondition:t,variableDefinitions:n,directives:s,selectionSet:o})=>`fragment ${r}${ae("(",G(n,", "),")")} on ${t} ${ae("",G(s," ")," ")}`+o},IntValue:{leave:({value:r})=>r},FloatValue:{leave:({value:r})=>r},StringValue:{leave:({value:r,block:t})=>t?mT(r):GT(r)},BooleanValue:{leave:({value:r})=>r?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:r})=>r},ListValue:{leave:({values:r})=>"["+G(r,", ")+"]"},ObjectValue:{leave:({fields:r})=>"{"+G(r,", ")+"}"},ObjectField:{leave:({name:r,value:t})=>r+": "+t},Directive:{leave:({name:r,arguments:t})=>"@"+r+ae("(",G(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,` @@ -116,11 +116,11 @@ spurious results.`)}}return!1};class Cf{constructor(t,n="GraphQL request",s={lin `)),` }`)}function ae(r,t,n=""){return t!=null&&t!==""?r+t+n:""}function ms(r){return ae(" ",r.replace(/\n/g,` `))}function zc(r){var t;return(t=r==null?void 0:r.some(n=>n.includes(` -`)))!==null&&t!==void 0?t:!1}function yu(r,t){switch(r.kind){case A.NULL:return null;case A.INT:return parseInt(r.value,10);case A.FLOAT:return parseFloat(r.value);case A.STRING:case A.ENUM:case A.BOOLEAN:return r.value;case A.LIST:return r.values.map(n=>yu(n,t));case A.OBJECT:return sr(r.fields,n=>n.name.value,n=>yu(n.value,t));case A.VARIABLE:return t==null?void 0:t[r.name.value]}}function nn(r){if(r!=null||ce(!1,"Must provide name."),typeof r=="string"||ce(!1,"Expected name to be a string."),r.length===0)throw new j("Expected name to be a non-empty string.");for(let t=1;tl(yu(f,h)),this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(a=t.extensionASTNodes)!==null&&a!==void 0?a:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||ce(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${q(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||ce(!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"||ce(!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 fn{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>jf(t),this._interfaces=()=>Vf(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||ce(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${q(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:Wf(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Vf(r){var t;const n=Uf((t=r.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||ce(!1,`${r.name} interfaces must be an Array or a function which returns an Array.`),n}function jf(r){const t=Gf(r.fields);return br(t)||ce(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),Fn(t,(n,s)=>{var o;br(n)||ce(!1,`${r.name}.${s} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||ce(!1,`${r.name}.${s} field resolver must be a function if provided, but got: ${q(n.resolve)}.`);const a=(o=n.args)!==null&&o!==void 0?o:{};return br(a)||ce(!1,`${r.name}.${s} args must be an object with argument names as keys.`),{name:nn(s),description:n.description,type:n.type,args:qf(a),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Bt(n.extensions),astNode:n.astNode}})}function qf(r){return Object.entries(r).map(([t,n])=>({name:nn(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Bt(n.extensions),astNode:n.astNode}))}function br(r){return xn(r)&&!Array.isArray(r)}function Wf(r){return Fn(r,t=>({description:t.description,type:t.type,args:Yf(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function Yf(r){return sr(r,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function e1(r){return ot(r.type)&&r.defaultValue===void 0}class ys{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=jf.bind(void 0,t),this._interfaces=Vf.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||ce(!1,`${this.name} must provide "resolveType" as a function, but got: ${q(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:Wf(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class As{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=t1.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||ce(!1,`${this.name} must provide "resolveType" as a function, but got: ${q(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 t1(r){const t=Uf(r.types);return Array.isArray(t)||ce(!1,`Must provide Array of types or a function which returns such an array for Union ${r.name}.`),t}class kr{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=n1(this.name,t.values),this._valueLookup=new Map(this._values.map(s=>[s.value,s])),this._nameLookup=xr(this._values,s=>s.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(t){return this._nameLookup[t]}serialize(t){const n=this._valueLookup.get(t);if(n===void 0)throw new j(`Enum "${this.name}" cannot represent value: ${q(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const s=q(t);throw new j(`Enum "${this.name}" cannot represent non-string value: ${s}.`+ds(this,s))}const n=this.getValue(t);if(n==null)throw new j(`Value "${t}" does not exist in "${this.name}" enum.`+ds(this,t));return n.value}parseLiteral(t,n){if(t.kind!==A.ENUM){const o=cn(t);throw new j(`Enum "${this.name}" cannot represent non-enum value: ${o}.`+ds(this,o),{nodes:t})}const s=this.getValue(t.value);if(s==null){const o=cn(t);throw new j(`Value "${o}" does not exist in "${this.name}" enum.`+ds(this,o),{nodes:t})}return s.value}toConfig(){const t=sr(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 ds(r,t){const n=r.getValues().map(o=>o.name),s=Ls(t,n);return Ss("the enum value",s)}function n1(r,t){return br(t)||ce(!1,`${r} values must be an object with value names as keys.`),Object.entries(t).map(([n,s])=>(br(s)||ce(!1,`${r}.${n} must refer to an object with a "value" key representing an internal value but got: ${q(s)}.`),{name:zT(n),description:s.description,value:s.value!==void 0?s.value:n,deprecationReason:s.deprecationReason,extensions:Bt(s.extensions),astNode:s.astNode}))}class Fs{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=r1.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=Fn(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}}toString(){return this.name}toJSON(){return this.toString()}}function r1(r){const t=Gf(r.fields);return br(t)||ce(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),Fn(t,(n,s)=>(!("resolve"in n)||ce(!1,`${r.name}.${s} field has a resolve property, but Input Types cannot define resolvers.`),{name:nn(s),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Bt(n.extensions),astNode:n.astNode}))}const fu=2147483647,pu=-2147483648,i1=new kn({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=di(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 j(`Int cannot represent non-integer value: ${q(t)}`);if(n>fu||nfu||rfu||tr.name===t)}function di(r){if(xn(r)){if(typeof r.valueOf=="function"){const t=r.valueOf();if(!xn(t))return t}if(typeof r.toJSON=="function")return r.toJSON()}return r}function u1(r){return pn(r,Yn)}class Yn{constructor(t){var n,s;this.name=nn(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Bt(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||ce(!1,`@${t.name} locations must be an Array.`);const o=(s=t.args)!==null&&s!==void 0?s:{};xn(o)&&!Array.isArray(o)||ce(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=qf(o)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:Yf(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const a1=new Yn({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 se(Rt),description:"Included when true."}}}),l1=new Yn({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 se(Rt),description:"Skipped when true."}}}),c1="No longer supported",zf=new Yn({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:Me,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:c1}}}),Hf=new Yn({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[W.SCALAR],args:{url:{type:new se(Me),description:"The URL that specifies the behavior of this scalar."}}}),Or=Object.freeze([a1,l1,zf,Hf]);function f1(r){return typeof r=="object"&&typeof(r==null?void 0:r[Symbol.iterator])=="function"}function ii(r,t){if(ot(t)){const n=ii(r,t.ofType);return(n==null?void 0:n.kind)===A.NULL?null:n}if(r===null)return{kind:A.NULL};if(r===void 0)return null;if(cr(t)){const n=t.ofType;if(f1(r)){const s=[];for(const o of r){const a=ii(o,n);a!=null&&s.push(a)}return{kind:A.LIST,values:s}}return ii(r,n)}if(Xt(t)){if(!xn(r))return null;const n=[];for(const s of Object.values(t.getFields())){const o=ii(r[s.name],s.type);o&&n.push({kind:A.OBJECT_FIELD,name:{kind:A.NAME,value:s.name},value:o})}return{kind:A.OBJECT,fields:n}}if(Pf(t)){const n=t.serialize(r);if(n==null)return null;if(typeof n=="boolean")return{kind:A.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const s=String(n);return Hc.test(s)?{kind:A.INT,value:s}:{kind:A.FLOAT,value:s}}if(typeof n=="string")return Jt(t)?{kind:A.ENUM,value:n}:t===Qf&&Hc.test(n)?{kind:A.INT,value:n}:{kind:A.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${q(n)}.`)}zt(!1,"Unexpected input type: "+q(t))}const Hc=/^-?(?:0|[1-9][0-9]*)$/,Uu=new fn({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:Me,resolve:r=>r.description},types:{description:"A list of all types supported by this server.",type:new se(new dt(new se(Qt))),resolve(r){return Object.values(r.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new se(Qt),resolve:r=>r.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Qt,resolve:r=>r.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Qt,resolve:r=>r.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new se(new dt(new se(Jf))),resolve:r=>r.getDirectives()}})}),Jf=new fn({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document. +`)))!==null&&t!==void 0?t:!1}function yu(r,t){switch(r.kind){case A.NULL:return null;case A.INT:return parseInt(r.value,10);case A.FLOAT:return parseFloat(r.value);case A.STRING:case A.ENUM:case A.BOOLEAN:return r.value;case A.LIST:return r.values.map(n=>yu(n,t));case A.OBJECT:return sr(r.fields,n=>n.name.value,n=>yu(n.value,t));case A.VARIABLE:return t==null?void 0:t[r.name.value]}}function nn(r){if(r!=null||ce(!1,"Must provide name."),typeof r=="string"||ce(!1,"Expected name to be a string."),r.length===0)throw new j("Expected name to be a non-empty string.");for(let t=1;tl(yu(f,h)),this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(a=t.extensionASTNodes)!==null&&a!==void 0?a:[],t.specifiedByURL==null||typeof t.specifiedByURL=="string"||ce(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${q(t.specifiedByURL)}.`),t.serialize==null||typeof t.serialize=="function"||ce(!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"||ce(!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 fn{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=()=>jf(t),this._interfaces=()=>Vf(t),t.isTypeOf==null||typeof t.isTypeOf=="function"||ce(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${q(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:Yf(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function Vf(r){var t;const n=Uf((t=r.interfaces)!==null&&t!==void 0?t:[]);return Array.isArray(n)||ce(!1,`${r.name} interfaces must be an Array or a function which returns an Array.`),n}function jf(r){const t=Gf(r.fields);return br(t)||ce(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),Fn(t,(n,s)=>{var o;br(n)||ce(!1,`${r.name}.${s} field config must be an object.`),n.resolve==null||typeof n.resolve=="function"||ce(!1,`${r.name}.${s} field resolver must be a function if provided, but got: ${q(n.resolve)}.`);const a=(o=n.args)!==null&&o!==void 0?o:{};return br(a)||ce(!1,`${r.name}.${s} args must be an object with argument names as keys.`),{name:nn(s),description:n.description,type:n.type,args:qf(a),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:Bt(n.extensions),astNode:n.astNode}})}function qf(r){return Object.entries(r).map(([t,n])=>({name:nn(t),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Bt(n.extensions),astNode:n.astNode}))}function br(r){return xn(r)&&!Array.isArray(r)}function Yf(r){return Fn(r,t=>({description:t.description,type:t.type,args:Qf(t.args),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function Qf(r){return sr(r,t=>t.name,t=>({description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions,astNode:t.astNode}))}function e1(r){return ot(r.type)&&r.defaultValue===void 0}class ys{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=jf.bind(void 0,t),this._interfaces=Vf.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||ce(!1,`${this.name} must provide "resolveType" as a function, but got: ${q(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:Yf(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class As{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._types=t1.bind(void 0,t),t.resolveType==null||typeof t.resolveType=="function"||ce(!1,`${this.name} must provide "resolveType" as a function, but got: ${q(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 t1(r){const t=Uf(r.types);return Array.isArray(t)||ce(!1,`Must provide Array of types or a function which returns such an array for Union ${r.name}.`),t}class kr{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._values=n1(this.name,t.values),this._valueLookup=new Map(this._values.map(s=>[s.value,s])),this._nameLookup=xr(this._values,s=>s.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(t){return this._nameLookup[t]}serialize(t){const n=this._valueLookup.get(t);if(n===void 0)throw new j(`Enum "${this.name}" cannot represent value: ${q(t)}`);return n.name}parseValue(t){if(typeof t!="string"){const s=q(t);throw new j(`Enum "${this.name}" cannot represent non-string value: ${s}.`+ds(this,s))}const n=this.getValue(t);if(n==null)throw new j(`Value "${t}" does not exist in "${this.name}" enum.`+ds(this,t));return n.value}parseLiteral(t,n){if(t.kind!==A.ENUM){const o=cn(t);throw new j(`Enum "${this.name}" cannot represent non-enum value: ${o}.`+ds(this,o),{nodes:t})}const s=this.getValue(t.value);if(s==null){const o=cn(t);throw new j(`Value "${o}" does not exist in "${this.name}" enum.`+ds(this,o),{nodes:t})}return s.value}toConfig(){const t=sr(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 ds(r,t){const n=r.getValues().map(o=>o.name),s=Ls(t,n);return Ss("the enum value",s)}function n1(r,t){return br(t)||ce(!1,`${r} values must be an object with value names as keys.`),Object.entries(t).map(([n,s])=>(br(s)||ce(!1,`${r}.${n} must refer to an object with a "value" key representing an internal value but got: ${q(s)}.`),{name:zT(n),description:s.description,value:s.value!==void 0?s.value:n,deprecationReason:s.deprecationReason,extensions:Bt(s.extensions),astNode:s.astNode}))}class Fs{constructor(t){var n;this.name=nn(t.name),this.description=t.description,this.extensions=Bt(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=(n=t.extensionASTNodes)!==null&&n!==void 0?n:[],this._fields=r1.bind(void 0,t)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields}toConfig(){const t=Fn(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}}toString(){return this.name}toJSON(){return this.toString()}}function r1(r){const t=Gf(r.fields);return br(t)||ce(!1,`${r.name} fields must be an object with field names as keys or a function which returns such an object.`),Fn(t,(n,s)=>(!("resolve"in n)||ce(!1,`${r.name}.${s} field has a resolve property, but Input Types cannot define resolvers.`),{name:nn(s),description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:Bt(n.extensions),astNode:n.astNode}))}const fu=2147483647,pu=-2147483648,i1=new kn({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=di(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 j(`Int cannot represent non-integer value: ${q(t)}`);if(n>fu||nfu||rfu||tr.name===t)}function di(r){if(xn(r)){if(typeof r.valueOf=="function"){const t=r.valueOf();if(!xn(t))return t}if(typeof r.toJSON=="function")return r.toJSON()}return r}function u1(r){return pn(r,Qn)}class Qn{constructor(t){var n,s;this.name=nn(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=Bt(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||ce(!1,`@${t.name} locations must be an Array.`);const o=(s=t.args)!==null&&s!==void 0?s:{};xn(o)&&!Array.isArray(o)||ce(!1,`@${t.name} args must be an object with argument names as keys.`),this.args=qf(o)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:Qf(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}const a1=new Qn({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[Y.FIELD,Y.FRAGMENT_SPREAD,Y.INLINE_FRAGMENT],args:{if:{type:new se(Rt),description:"Included when true."}}}),l1=new Qn({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[Y.FIELD,Y.FRAGMENT_SPREAD,Y.INLINE_FRAGMENT],args:{if:{type:new se(Rt),description:"Skipped when true."}}}),c1="No longer supported",zf=new Qn({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[Y.FIELD_DEFINITION,Y.ARGUMENT_DEFINITION,Y.INPUT_FIELD_DEFINITION,Y.ENUM_VALUE],args:{reason:{type:Me,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:c1}}}),Hf=new Qn({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[Y.SCALAR],args:{url:{type:new se(Me),description:"The URL that specifies the behavior of this scalar."}}}),Or=Object.freeze([a1,l1,zf,Hf]);function f1(r){return typeof r=="object"&&typeof(r==null?void 0:r[Symbol.iterator])=="function"}function ii(r,t){if(ot(t)){const n=ii(r,t.ofType);return(n==null?void 0:n.kind)===A.NULL?null:n}if(r===null)return{kind:A.NULL};if(r===void 0)return null;if(cr(t)){const n=t.ofType;if(f1(r)){const s=[];for(const o of r){const a=ii(o,n);a!=null&&s.push(a)}return{kind:A.LIST,values:s}}return ii(r,n)}if(Xt(t)){if(!xn(r))return null;const n=[];for(const s of Object.values(t.getFields())){const o=ii(r[s.name],s.type);o&&n.push({kind:A.OBJECT_FIELD,name:{kind:A.NAME,value:s.name},value:o})}return{kind:A.OBJECT,fields:n}}if(Pf(t)){const n=t.serialize(r);if(n==null)return null;if(typeof n=="boolean")return{kind:A.BOOLEAN,value:n};if(typeof n=="number"&&Number.isFinite(n)){const s=String(n);return Hc.test(s)?{kind:A.INT,value:s}:{kind:A.FLOAT,value:s}}if(typeof n=="string")return Jt(t)?{kind:A.ENUM,value:n}:t===Wf&&Hc.test(n)?{kind:A.INT,value:n}:{kind:A.STRING,value:n};throw new TypeError(`Cannot convert value to AST: ${q(n)}.`)}zt(!1,"Unexpected input type: "+q(t))}const Hc=/^-?(?:0|[1-9][0-9]*)$/,Uu=new fn({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:Me,resolve:r=>r.description},types:{description:"A list of all types supported by this server.",type:new se(new dt(new se(Wt))),resolve(r){return Object.values(r.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new se(Wt),resolve:r=>r.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Wt,resolve:r=>r.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Wt,resolve:r=>r.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new se(new dt(new se(Jf))),resolve:r=>r.getDirectives()}})}),Jf=new fn({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 se(Me),resolve:r=>r.name},description:{type:Me,resolve:r=>r.description},isRepeatable:{type:new se(Rt),resolve:r=>r.isRepeatable},locations:{type:new se(new dt(new se(Xf))),resolve:r=>r.locations},args:{type:new se(new dt(new se(Bs))),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){return t?r.args:r.args.filter(n=>n.deprecationReason==null)}}})}),Xf=new kr({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."}}}),Qt=new fn({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 se(ep),resolve(r){if(Qn(r))return Te.SCALAR;if(gt(r))return Te.OBJECT;if(ut(r))return Te.INTERFACE;if(Ht(r))return Te.UNION;if(Jt(r))return Te.ENUM;if(Xt(r))return Te.INPUT_OBJECT;if(cr(r))return Te.LIST;if(ot(r))return Te.NON_NULL;zt(!1,`Unexpected type: "${q(r)}".`)}},name:{type:Me,resolve:r=>"name"in r?r.name:void 0},description:{type:Me,resolve:r=>"description"in r?r.description:void 0},specifiedByURL:{type:Me,resolve:r=>"specifiedByURL"in r?r.specifiedByURL:void 0},fields:{type:new dt(new se(Zf)),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(gt(r)||ut(r)){const n=Object.values(r.getFields());return t?n:n.filter(s=>s.deprecationReason==null)}}},interfaces:{type:new dt(new se(Qt)),resolve(r){if(gt(r)||ut(r))return r.getInterfaces()}},possibleTypes:{type:new dt(new se(Qt)),resolve(r,t,n,{schema:s}){if(XT(r))return s.getPossibleTypes(r)}},enumValues:{type:new dt(new se(Kf)),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(Jt(r)){const n=r.getValues();return t?n:n.filter(s=>s.deprecationReason==null)}}},inputFields:{type:new dt(new se(Bs)),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(Xt(r)){const n=Object.values(r.getFields());return t?n:n.filter(s=>s.deprecationReason==null)}}},ofType:{type:Qt,resolve:r=>"ofType"in r?r.ofType:void 0}})}),Zf=new fn({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 se(Me),resolve:r=>r.name},description:{type:Me,resolve:r=>r.description},args:{type:new se(new dt(new se(Bs))),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){return t?r.args:r.args.filter(n=>n.deprecationReason==null)}},type:{type:new se(Qt),resolve:r=>r.type},isDeprecated:{type:new se(Rt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Me,resolve:r=>r.deprecationReason}})}),Bs=new fn({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 se(Me),resolve:r=>r.name},description:{type:Me,resolve:r=>r.description},type:{type:new se(Qt),resolve:r=>r.type},defaultValue:{type:Me,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(r){const{type:t,defaultValue:n}=r,s=ii(n,t);return s?cn(s):null}},isDeprecated:{type:new se(Rt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Me,resolve:r=>r.deprecationReason}})}),Kf=new fn({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 se(Me),resolve:r=>r.name},description:{type:Me,resolve:r=>r.description},isDeprecated:{type:new se(Rt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Me,resolve:r=>r.deprecationReason}})});var Te;(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"})(Te||(Te={}));const ep=new kr({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:Te.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:Te.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:Te.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:Te.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:Te.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:Te.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:Te.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:Te.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});new se(Uu);new se(Me);new se(Me);const $s=Object.freeze([Uu,Jf,Xf,Qt,Zf,Bs,Kf,ep]);function p1(r){return $s.some(({name:t})=>r.name===t)}class tp{constructor(t){var n,s;this.__validationErrors=t.assumeValid===!0?[]:void 0,xn(t)||ce(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||ce(!1,`"types" must be Array if provided but got: ${q(t.types)}.`),!t.directives||Array.isArray(t.directives)||ce(!1,`"directives" must be Array if provided but got: ${q(t.directives)}.`),this.description=t.description,this.extensions=Bt(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=(s=t.directives)!==null&&s!==void 0?s:Or;const o=new Set(t.types);if(t.types!=null)for(const a of t.types)o.delete(a),Wt(a,o);this._queryType!=null&&Wt(this._queryType,o),this._mutationType!=null&&Wt(this._mutationType,o),this._subscriptionType!=null&&Wt(this._subscriptionType,o);for(const a of this._directives)if(u1(a))for(const l of a.args)Wt(l.type,o);Wt(Uu,o),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const a of o){if(a==null)continue;const l=a.name;if(l||ce(!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]=a,ut(a)){for(const f of a.getInterfaces())if(ut(f)){let h=this._implementationsMap[f.name];h===void 0&&(h=this._implementationsMap[f.name]={objects:[],interfaces:[]}),h.interfaces.push(a)}}else if(gt(a)){for(const f of a.getInterfaces())if(ut(f)){let h=this._implementationsMap[f.name];h===void 0&&(h=this._implementationsMap[f.name]={objects:[],interfaces:[]}),h.objects.push(a)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case Lt.QUERY:return this.getQueryType();case Lt.MUTATION:return this.getMutationType();case Lt.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return Ht(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){const n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let s=this._subTypeMap[t.name];if(s===void 0){if(s=Object.create(null),Ht(t))for(const o of t.getTypes())s[o.name]=!0;else{const o=this.getImplementations(t);for(const a of o.objects)s[a.name]=!0;for(const a of o.interfaces)s[a.name]=!0}this._subTypeMap[t.name]=s}return s[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 Wt(r,t){const n=KT(r);if(!t.has(n)){if(t.add(n),Ht(n))for(const s of n.getTypes())Wt(s,t);else if(gt(n)||ut(n)){for(const s of n.getInterfaces())Wt(s,t);for(const s of Object.values(n.getFields())){Wt(s.type,t);for(const o of s.args)Wt(o.type,t)}}else if(Xt(n))for(const s of Object.values(n.getFields()))Wt(s.type,t)}return t}function h1(r){return r.kind===A.SCHEMA_DEFINITION||gi(r)||r.kind===A.DIRECTIVE_DEFINITION}function gi(r){return r.kind===A.SCALAR_TYPE_DEFINITION||r.kind===A.OBJECT_TYPE_DEFINITION||r.kind===A.INTERFACE_TYPE_DEFINITION||r.kind===A.UNION_TYPE_DEFINITION||r.kind===A.ENUM_TYPE_DEFINITION||r.kind===A.INPUT_OBJECT_TYPE_DEFINITION}function d1(r){return r.kind===A.SCHEMA_EXTENSION||Gu(r)}function Gu(r){return r.kind===A.SCALAR_TYPE_EXTENSION||r.kind===A.OBJECT_TYPE_EXTENSION||r.kind===A.INTERFACE_TYPE_EXTENSION||r.kind===A.UNION_TYPE_EXTENSION||r.kind===A.ENUM_TYPE_EXTENSION||r.kind===A.INPUT_OBJECT_TYPE_EXTENSION}function g1(r){const t=Object.create(null),n=r.getSchema(),s=n?n.getDirectives():Or;for(const l of s)t[l.name]=l.args.map(f=>f.name);const o=r.getDocument().definitions;for(const l of o)if(l.kind===A.DIRECTIVE_DEFINITION){var a;const f=(a=l.arguments)!==null&&a!==void 0?a:[];t[l.name.value]=f.map(h=>h.name.value)}return{Directive(l){const f=l.name.value,h=t[f];if(l.arguments&&h)for(const E of l.arguments){const D=E.name.value;if(!h.includes(D)){const T=Ls(D,h);r.reportError(new j(`Unknown argument "${D}" on directive "@${f}".`+Ss(T),{nodes:E}))}}return!1}}}function m1(r){const t=Object.create(null),n=r.getSchema(),s=n?n.getDirectives():Or;for(const a of s)t[a.name]=a.locations;const o=r.getDocument().definitions;for(const a of o)a.kind===A.DIRECTIVE_DEFINITION&&(t[a.name.value]=a.locations.map(l=>l.value));return{Directive(a,l,f,h,E){const D=a.name.value,T=t[D];if(!T){r.reportError(new j(`Unknown directive "@${D}".`,{nodes:a}));return}const b=E1(E);b&&!T.includes(b)&&r.reportError(new j(`Directive "@${D}" may not be used on ${b}.`,{nodes:a}))}}}function E1(r){const t=r[r.length-1];switch("kind"in t||zt(!1),t.kind){case A.OPERATION_DEFINITION:return D1(t.operation);case A.FIELD:return W.FIELD;case A.FRAGMENT_SPREAD:return W.FRAGMENT_SPREAD;case A.INLINE_FRAGMENT:return W.INLINE_FRAGMENT;case A.FRAGMENT_DEFINITION:return W.FRAGMENT_DEFINITION;case A.VARIABLE_DEFINITION:return W.VARIABLE_DEFINITION;case A.SCHEMA_DEFINITION:case A.SCHEMA_EXTENSION:return W.SCHEMA;case A.SCALAR_TYPE_DEFINITION:case A.SCALAR_TYPE_EXTENSION:return W.SCALAR;case A.OBJECT_TYPE_DEFINITION:case A.OBJECT_TYPE_EXTENSION:return W.OBJECT;case A.FIELD_DEFINITION:return W.FIELD_DEFINITION;case A.INTERFACE_TYPE_DEFINITION:case A.INTERFACE_TYPE_EXTENSION:return W.INTERFACE;case A.UNION_TYPE_DEFINITION:case A.UNION_TYPE_EXTENSION:return W.UNION;case A.ENUM_TYPE_DEFINITION:case A.ENUM_TYPE_EXTENSION:return W.ENUM;case A.ENUM_VALUE_DEFINITION:return W.ENUM_VALUE;case A.INPUT_OBJECT_TYPE_DEFINITION:case A.INPUT_OBJECT_TYPE_EXTENSION:return W.INPUT_OBJECT;case A.INPUT_VALUE_DEFINITION:{const n=r[r.length-3];return"kind"in n||zt(!1),n.kind===A.INPUT_OBJECT_TYPE_DEFINITION?W.INPUT_FIELD_DEFINITION:W.ARGUMENT_DEFINITION}default:zt(!1,"Unexpected kind: "+q(t.kind))}}function D1(r){switch(r){case Lt.QUERY:return W.QUERY;case Lt.MUTATION:return W.MUTATION;case Lt.SUBSCRIPTION:return W.SUBSCRIPTION}}function _1(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);for(const a of r.getDocument().definitions)gi(a)&&(s[a.name.value]=!0);const o=[...Object.keys(n),...Object.keys(s)];return{NamedType(a,l,f,h,E){const D=a.name.value;if(!n[D]&&!s[D]){var T;const b=(T=E[2])!==null&&T!==void 0?T:f,C=b!=null&&v1(b);if(C&&Jc.includes(D))return;const L=Ls(D,C?Jc.concat(o):o);r.reportError(new j(`Unknown type "${D}".`+Ss(L),{nodes:a}))}}}}const Jc=[...Rs,...$s].map(r=>r.name);function v1(r){return"kind"in r&&(h1(r)||d1(r))}function T1(r){var t,n,s;const o=r.getSchema(),a=(t=(n=(s=o==null?void 0:o.astNode)!==null&&s!==void 0?s:o==null?void 0:o.getQueryType())!==null&&n!==void 0?n:o==null?void 0:o.getMutationType())!==null&&t!==void 0?t:o==null?void 0:o.getSubscriptionType();let l=0;return{SchemaDefinition(f){if(a){r.reportError(new j("Cannot define a new schema within a schema extension.",{nodes:f}));return}l>0&&r.reportError(new j("Must provide only one schema definition.",{nodes:f})),++l}}}function y1(r){const t=r.getSchema(),n=Object.create(null);for(const o of r.getDocument().definitions)gi(o)&&(n[o.name.value]=o);return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(o){const a=o.name.value,l=n[a],f=t==null?void 0:t.getType(a);let h;if(l?h=A1[l.kind]:f&&(h=F1(f)),h){if(h!==o.kind){const E=I1(o.kind);r.reportError(new j(`Cannot extend non-${E} type "${a}".`,{nodes:l?[l,o]:o}))}}else{const E=Object.keys({...n,...t==null?void 0:t.getTypeMap()}),D=Ls(a,E);r.reportError(new j(`Cannot extend type "${a}" because it is not defined.`+Ss(D),{nodes:o.name}))}}}const A1={[A.SCALAR_TYPE_DEFINITION]:A.SCALAR_TYPE_EXTENSION,[A.OBJECT_TYPE_DEFINITION]:A.OBJECT_TYPE_EXTENSION,[A.INTERFACE_TYPE_DEFINITION]:A.INTERFACE_TYPE_EXTENSION,[A.UNION_TYPE_DEFINITION]:A.UNION_TYPE_EXTENSION,[A.ENUM_TYPE_DEFINITION]:A.ENUM_TYPE_EXTENSION,[A.INPUT_OBJECT_TYPE_DEFINITION]:A.INPUT_OBJECT_TYPE_EXTENSION};function F1(r){if(Qn(r))return A.SCALAR_TYPE_EXTENSION;if(gt(r))return A.OBJECT_TYPE_EXTENSION;if(ut(r))return A.INTERFACE_TYPE_EXTENSION;if(Ht(r))return A.UNION_TYPE_EXTENSION;if(Jt(r))return A.ENUM_TYPE_EXTENSION;if(Xt(r))return A.INPUT_OBJECT_TYPE_EXTENSION;zt(!1,"Unexpected type: "+q(r))}function I1(r){switch(r){case A.SCALAR_TYPE_EXTENSION:return"scalar";case A.OBJECT_TYPE_EXTENSION:return"object";case A.INTERFACE_TYPE_EXTENSION:return"interface";case A.UNION_TYPE_EXTENSION:return"union";case A.ENUM_TYPE_EXTENSION:return"enum";case A.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:zt(!1,"Unexpected kind: "+q(r))}}function w1(r){var t;const n=Object.create(null),s=r.getSchema(),o=(t=s==null?void 0:s.getDirectives())!==null&&t!==void 0?t:Or;for(const f of o)n[f.name]=xr(f.args.filter(e1),h=>h.name);const a=r.getDocument().definitions;for(const f of a)if(f.kind===A.DIRECTIVE_DEFINITION){var l;const h=(l=f.arguments)!==null&&l!==void 0?l:[];n[f.name.value]=xr(h.filter(N1),E=>E.name.value)}return{Directive:{leave(f){const h=f.name.value,E=n[h];if(E){var D;const T=(D=f.arguments)!==null&&D!==void 0?D:[],b=new Set(T.map(C=>C.name.value));for(const[C,L]of Object.entries(E))if(!b.has(C)){const R=Pu(L.type)?q(L.type):cn(L.type);r.reportError(new j(`Directive "@${h}" argument "${C}" of type "${R}" is required, but it was not provided.`,{nodes:f}))}}}}}}function N1(r){return r.type.kind===A.NON_NULL_TYPE&&r.defaultValue==null}function Vn(r,t,n){if(r){if(r.kind===A.VARIABLE){const s=r.name.value;if(n==null||n[s]===void 0)return;const o=n[s];return o===null&&ot(t)?void 0:o}if(ot(t))return r.kind===A.NULL?void 0:Vn(r,t.ofType,n);if(r.kind===A.NULL)return null;if(cr(t)){const s=t.ofType;if(r.kind===A.LIST){const a=[];for(const l of r.values)if(Xc(l,n)){if(ot(s))return;a.push(null)}else{const f=Vn(l,s,n);if(f===void 0)return;a.push(f)}return a}const o=Vn(r,s,n);return o===void 0?void 0:[o]}if(Xt(t)){if(r.kind!==A.OBJECT)return;const s=Object.create(null),o=xr(r.fields,a=>a.name.value);for(const a of Object.values(t.getFields())){const l=o[a.name];if(!l||Xc(l.value,n)){if(a.defaultValue!==void 0)s[a.name]=a.defaultValue;else if(ot(a.type))return;continue}const f=Vn(l.value,a.type,n);if(f===void 0)return;s[a.name]=f}return s}if(Pf(t)){let s;try{s=t.parseLiteral(r,n)}catch{return}return s===void 0?void 0:s}zt(!1,"Unexpected input type: "+q(t))}}function Xc(r,t){return r.kind===A.VARIABLE&&(t==null||t[r.name.value]===void 0)}function b1(r,t,n){var s;const o={},a=(s=t.arguments)!==null&&s!==void 0?s:[],l=xr(a,f=>f.name.value);for(const f of r.args){const h=f.name,E=f.type,D=l[h];if(!D){if(f.defaultValue!==void 0)o[h]=f.defaultValue;else if(ot(E))throw new j(`Argument "${h}" of required type "${q(E)}" was not provided.`,{nodes:t});continue}const T=D.value;let b=T.kind===A.NULL;if(T.kind===A.VARIABLE){const L=T.name.value;if(n==null||!x1(n,L)){if(f.defaultValue!==void 0)o[h]=f.defaultValue;else if(ot(E))throw new j(`Argument "${h}" of required type "${q(E)}" was provided the variable "$${L}" which was not provided a runtime value.`,{nodes:T});continue}b=n[L]==null}if(b&&ot(E))throw new j(`Argument "${h}" of non-null type "${q(E)}" must not be null.`,{nodes:T});const C=Vn(T,E,n);if(C===void 0)throw new j(`Argument "${h}" has invalid value ${cn(T)}.`,{nodes:T});o[h]=C}return o}function np(r,t,n){var s;const o=(s=t.directives)===null||s===void 0?void 0:s.find(a=>a.name.value===r.name);if(o)return b1(r,o,n)}function x1(r,t){return Object.prototype.hasOwnProperty.call(r,t)}function rp(r,t){const n=new Map;for(const s of r){const o=t(s),a=n.get(o);a===void 0?n.set(o,[s]):a.push(s)}return n}function k1(r){return{DirectiveDefinition(s){var o;const a=(o=s.arguments)!==null&&o!==void 0?o:[];return n(`@${s.name.value}`,a)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(s){var o;const a=s.name.value,l=(o=s.fields)!==null&&o!==void 0?o:[];for(const h of l){var f;const E=h.name.value,D=(f=h.arguments)!==null&&f!==void 0?f:[];n(`${a}.${E}`,D)}return!1}function n(s,o){const a=rp(o,l=>l.name.value);for(const[l,f]of a)f.length>1&&r.reportError(new j(`Argument "${s}(${l}:)" can only be defined once.`,{nodes:f.map(h=>h.name)}));return!1}}function C1(r){return{Field:t,Directive:t};function t(n){var s;const o=(s=n.arguments)!==null&&s!==void 0?s:[],a=rp(o,l=>l.name.value);for(const[l,f]of a)f.length>1&&r.reportError(new j(`There can be only one argument named "${l}".`,{nodes:f.map(h=>h.name)}))}}function O1(r){const t=Object.create(null),n=r.getSchema();return{DirectiveDefinition(s){const o=s.name.value;if(n!=null&&n.getDirective(o)){r.reportError(new j(`Directive "@${o}" already exists in the schema. It cannot be redefined.`,{nodes:s.name}));return}return t[o]?r.reportError(new j(`There can be only one directive named "@${o}".`,{nodes:[t[o],s.name]})):t[o]=s.name,!1}}}function S1(r){const t=Object.create(null),n=r.getSchema(),s=n?n.getDirectives():Or;for(const f of s)t[f.name]=!f.isRepeatable;const o=r.getDocument().definitions;for(const f of o)f.kind===A.DIRECTIVE_DEFINITION&&(t[f.name.value]=!f.repeatable);const a=Object.create(null),l=Object.create(null);return{enter(f){if(!("directives"in f)||!f.directives)return;let h;if(f.kind===A.SCHEMA_DEFINITION||f.kind===A.SCHEMA_EXTENSION)h=a;else if(gi(f)||Gu(f)){const E=f.name.value;h=l[E],h===void 0&&(l[E]=h=Object.create(null))}else h=Object.create(null);for(const E of f.directives){const D=E.name.value;t[D]&&(h[D]?r.reportError(new j(`The directive "@${D}" can only be used once at this location.`,{nodes:[h[D],E]})):h[D]=E)}}}}function L1(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);return{EnumTypeDefinition:o,EnumTypeExtension:o};function o(a){var l;const f=a.name.value;s[f]||(s[f]=Object.create(null));const h=(l=a.values)!==null&&l!==void 0?l:[],E=s[f];for(const D of h){const T=D.name.value,b=n[f];Jt(b)&&b.getValue(T)?r.reportError(new j(`Enum value "${f}.${T}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:D.name})):E[T]?r.reportError(new j(`Enum value "${f}.${T}" can only be defined once.`,{nodes:[E[T],D.name]})):E[T]=D.name}return!1}}function R1(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(a){var l;const f=a.name.value;s[f]||(s[f]=Object.create(null));const h=(l=a.fields)!==null&&l!==void 0?l:[],E=s[f];for(const D of h){const T=D.name.value;B1(n[f],T)?r.reportError(new j(`Field "${f}.${T}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:D.name})):E[T]?r.reportError(new j(`Field "${f}.${T}" can only be defined once.`,{nodes:[E[T],D.name]})):E[T]=D.name}return!1}}function B1(r,t){return gt(r)||ut(r)||Xt(r)?r.getFields()[t]!=null:!1}function $1(r){const t=[];let n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){const s=t.pop();s||zt(!1),n=s}},ObjectField(s){const o=s.name.value;n[o]?r.reportError(new j(`There can be only one input field named "${o}".`,{nodes:[n[o],s.name]})):n[o]=s.name}}}function P1(r){const t=r.getSchema(),n=Object.create(null),s=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(a){var l;const f=(l=a.operationTypes)!==null&&l!==void 0?l:[];for(const h of f){const E=h.operation,D=n[E];s[E]?r.reportError(new j(`Type for ${E} already defined in the schema. It cannot be redefined.`,{nodes:h})):D?r.reportError(new j(`There can be only one ${E} type in schema.`,{nodes:[D,h]})):n[E]=h}return!1}}function M1(r){const t=Object.create(null),n=r.getSchema();return{ScalarTypeDefinition:s,ObjectTypeDefinition:s,InterfaceTypeDefinition:s,UnionTypeDefinition:s,EnumTypeDefinition:s,InputObjectTypeDefinition:s};function s(o){const a=o.name.value;if(n!=null&&n.getType(a)){r.reportError(new j(`Type "${a}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:o.name}));return}return t[a]?r.reportError(new j(`There can be only one type named "${a}".`,{nodes:[t[a],o.name]})):t[a]=o.name,!1}}const U1=Object.freeze([T1,P1,M1,L1,R1,k1,O1,_1,m1,S1,y1,g1,C1,$1,w1]);class G1{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 s of this.getDocument().definitions)s.kind===A.FRAGMENT_DEFINITION&&(n[s.name.value]=s);this._fragments=n}return n[t]}getFragmentSpreads(t){let n=this._fragmentSpreads.get(t);if(!n){n=[];const s=[t];let o;for(;o=s.pop();)for(const a of o.selections)a.kind===A.FRAGMENT_SPREAD?n.push(a):a.selectionSet&&s.push(a.selectionSet);this._fragmentSpreads.set(t,n)}return n}getRecursivelyReferencedFragments(t){let n=this._recursivelyReferencedFragments.get(t);if(!n){n=[];const s=Object.create(null),o=[t.selectionSet];let a;for(;a=o.pop();)for(const l of this.getFragmentSpreads(a)){const f=l.name.value;if(s[f]!==!0){s[f]=!0;const h=this.getFragment(f);h&&(n.push(h),o.push(h.selectionSet))}}this._recursivelyReferencedFragments.set(t,n)}return n}}class V1 extends G1{constructor(t,n,s){super(t,s),this._schema=n}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}function j1(r,t,n=U1){const s=[],o=new V1(r,t,l=>{s.push(l)}),a=n.map(l=>l(o));return Lf(r,WT(a)),s}function q1(r){const t=j1(r);if(t.length!==0)throw new Error(t.map(n=>n.message).join(` +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 se(Me),resolve:r=>r.name},description:{type:Me,resolve:r=>r.description},isRepeatable:{type:new se(Rt),resolve:r=>r.isRepeatable},locations:{type:new se(new dt(new se(Xf))),resolve:r=>r.locations},args:{type:new se(new dt(new se(Bs))),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){return t?r.args:r.args.filter(n=>n.deprecationReason==null)}}})}),Xf=new kr({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:Y.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Y.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Y.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Y.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Y.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Y.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Y.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Y.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Y.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Y.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Y.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Y.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Y.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Y.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Y.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Y.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Y.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Y.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Y.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Wt=new fn({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 se(ep),resolve(r){if(Wn(r))return Te.SCALAR;if(gt(r))return Te.OBJECT;if(ut(r))return Te.INTERFACE;if(Ht(r))return Te.UNION;if(Jt(r))return Te.ENUM;if(Xt(r))return Te.INPUT_OBJECT;if(cr(r))return Te.LIST;if(ot(r))return Te.NON_NULL;zt(!1,`Unexpected type: "${q(r)}".`)}},name:{type:Me,resolve:r=>"name"in r?r.name:void 0},description:{type:Me,resolve:r=>"description"in r?r.description:void 0},specifiedByURL:{type:Me,resolve:r=>"specifiedByURL"in r?r.specifiedByURL:void 0},fields:{type:new dt(new se(Zf)),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(gt(r)||ut(r)){const n=Object.values(r.getFields());return t?n:n.filter(s=>s.deprecationReason==null)}}},interfaces:{type:new dt(new se(Wt)),resolve(r){if(gt(r)||ut(r))return r.getInterfaces()}},possibleTypes:{type:new dt(new se(Wt)),resolve(r,t,n,{schema:s}){if(XT(r))return s.getPossibleTypes(r)}},enumValues:{type:new dt(new se(Kf)),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(Jt(r)){const n=r.getValues();return t?n:n.filter(s=>s.deprecationReason==null)}}},inputFields:{type:new dt(new se(Bs)),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){if(Xt(r)){const n=Object.values(r.getFields());return t?n:n.filter(s=>s.deprecationReason==null)}}},ofType:{type:Wt,resolve:r=>"ofType"in r?r.ofType:void 0}})}),Zf=new fn({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 se(Me),resolve:r=>r.name},description:{type:Me,resolve:r=>r.description},args:{type:new se(new dt(new se(Bs))),args:{includeDeprecated:{type:Rt,defaultValue:!1}},resolve(r,{includeDeprecated:t}){return t?r.args:r.args.filter(n=>n.deprecationReason==null)}},type:{type:new se(Wt),resolve:r=>r.type},isDeprecated:{type:new se(Rt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Me,resolve:r=>r.deprecationReason}})}),Bs=new fn({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 se(Me),resolve:r=>r.name},description:{type:Me,resolve:r=>r.description},type:{type:new se(Wt),resolve:r=>r.type},defaultValue:{type:Me,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(r){const{type:t,defaultValue:n}=r,s=ii(n,t);return s?cn(s):null}},isDeprecated:{type:new se(Rt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Me,resolve:r=>r.deprecationReason}})}),Kf=new fn({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 se(Me),resolve:r=>r.name},description:{type:Me,resolve:r=>r.description},isDeprecated:{type:new se(Rt),resolve:r=>r.deprecationReason!=null},deprecationReason:{type:Me,resolve:r=>r.deprecationReason}})});var Te;(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"})(Te||(Te={}));const ep=new kr({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:Te.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:Te.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:Te.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:Te.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:Te.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:Te.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:Te.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:Te.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}});new se(Uu);new se(Me);new se(Me);const $s=Object.freeze([Uu,Jf,Xf,Wt,Zf,Bs,Kf,ep]);function p1(r){return $s.some(({name:t})=>r.name===t)}class tp{constructor(t){var n,s;this.__validationErrors=t.assumeValid===!0?[]:void 0,xn(t)||ce(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||ce(!1,`"types" must be Array if provided but got: ${q(t.types)}.`),!t.directives||Array.isArray(t.directives)||ce(!1,`"directives" must be Array if provided but got: ${q(t.directives)}.`),this.description=t.description,this.extensions=Bt(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=(s=t.directives)!==null&&s!==void 0?s:Or;const o=new Set(t.types);if(t.types!=null)for(const a of t.types)o.delete(a),Yt(a,o);this._queryType!=null&&Yt(this._queryType,o),this._mutationType!=null&&Yt(this._mutationType,o),this._subscriptionType!=null&&Yt(this._subscriptionType,o);for(const a of this._directives)if(u1(a))for(const l of a.args)Yt(l.type,o);Yt(Uu,o),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(const a of o){if(a==null)continue;const l=a.name;if(l||ce(!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]=a,ut(a)){for(const f of a.getInterfaces())if(ut(f)){let h=this._implementationsMap[f.name];h===void 0&&(h=this._implementationsMap[f.name]={objects:[],interfaces:[]}),h.interfaces.push(a)}}else if(gt(a)){for(const f of a.getInterfaces())if(ut(f)){let h=this._implementationsMap[f.name];h===void 0&&(h=this._implementationsMap[f.name]={objects:[],interfaces:[]}),h.objects.push(a)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(t){switch(t){case Lt.QUERY:return this.getQueryType();case Lt.MUTATION:return this.getMutationType();case Lt.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(t){return this.getTypeMap()[t]}getPossibleTypes(t){return Ht(t)?t.getTypes():this.getImplementations(t).objects}getImplementations(t){const n=this._implementationsMap[t.name];return n??{objects:[],interfaces:[]}}isSubType(t,n){let s=this._subTypeMap[t.name];if(s===void 0){if(s=Object.create(null),Ht(t))for(const o of t.getTypes())s[o.name]=!0;else{const o=this.getImplementations(t);for(const a of o.objects)s[a.name]=!0;for(const a of o.interfaces)s[a.name]=!0}this._subTypeMap[t.name]=s}return s[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 Yt(r,t){const n=KT(r);if(!t.has(n)){if(t.add(n),Ht(n))for(const s of n.getTypes())Yt(s,t);else if(gt(n)||ut(n)){for(const s of n.getInterfaces())Yt(s,t);for(const s of Object.values(n.getFields())){Yt(s.type,t);for(const o of s.args)Yt(o.type,t)}}else if(Xt(n))for(const s of Object.values(n.getFields()))Yt(s.type,t)}return t}function h1(r){return r.kind===A.SCHEMA_DEFINITION||gi(r)||r.kind===A.DIRECTIVE_DEFINITION}function gi(r){return r.kind===A.SCALAR_TYPE_DEFINITION||r.kind===A.OBJECT_TYPE_DEFINITION||r.kind===A.INTERFACE_TYPE_DEFINITION||r.kind===A.UNION_TYPE_DEFINITION||r.kind===A.ENUM_TYPE_DEFINITION||r.kind===A.INPUT_OBJECT_TYPE_DEFINITION}function d1(r){return r.kind===A.SCHEMA_EXTENSION||Gu(r)}function Gu(r){return r.kind===A.SCALAR_TYPE_EXTENSION||r.kind===A.OBJECT_TYPE_EXTENSION||r.kind===A.INTERFACE_TYPE_EXTENSION||r.kind===A.UNION_TYPE_EXTENSION||r.kind===A.ENUM_TYPE_EXTENSION||r.kind===A.INPUT_OBJECT_TYPE_EXTENSION}function g1(r){const t=Object.create(null),n=r.getSchema(),s=n?n.getDirectives():Or;for(const l of s)t[l.name]=l.args.map(f=>f.name);const o=r.getDocument().definitions;for(const l of o)if(l.kind===A.DIRECTIVE_DEFINITION){var a;const f=(a=l.arguments)!==null&&a!==void 0?a:[];t[l.name.value]=f.map(h=>h.name.value)}return{Directive(l){const f=l.name.value,h=t[f];if(l.arguments&&h)for(const E of l.arguments){const D=E.name.value;if(!h.includes(D)){const T=Ls(D,h);r.reportError(new j(`Unknown argument "${D}" on directive "@${f}".`+Ss(T),{nodes:E}))}}return!1}}}function m1(r){const t=Object.create(null),n=r.getSchema(),s=n?n.getDirectives():Or;for(const a of s)t[a.name]=a.locations;const o=r.getDocument().definitions;for(const a of o)a.kind===A.DIRECTIVE_DEFINITION&&(t[a.name.value]=a.locations.map(l=>l.value));return{Directive(a,l,f,h,E){const D=a.name.value,T=t[D];if(!T){r.reportError(new j(`Unknown directive "@${D}".`,{nodes:a}));return}const b=E1(E);b&&!T.includes(b)&&r.reportError(new j(`Directive "@${D}" may not be used on ${b}.`,{nodes:a}))}}}function E1(r){const t=r[r.length-1];switch("kind"in t||zt(!1),t.kind){case A.OPERATION_DEFINITION:return D1(t.operation);case A.FIELD:return Y.FIELD;case A.FRAGMENT_SPREAD:return Y.FRAGMENT_SPREAD;case A.INLINE_FRAGMENT:return Y.INLINE_FRAGMENT;case A.FRAGMENT_DEFINITION:return Y.FRAGMENT_DEFINITION;case A.VARIABLE_DEFINITION:return Y.VARIABLE_DEFINITION;case A.SCHEMA_DEFINITION:case A.SCHEMA_EXTENSION:return Y.SCHEMA;case A.SCALAR_TYPE_DEFINITION:case A.SCALAR_TYPE_EXTENSION:return Y.SCALAR;case A.OBJECT_TYPE_DEFINITION:case A.OBJECT_TYPE_EXTENSION:return Y.OBJECT;case A.FIELD_DEFINITION:return Y.FIELD_DEFINITION;case A.INTERFACE_TYPE_DEFINITION:case A.INTERFACE_TYPE_EXTENSION:return Y.INTERFACE;case A.UNION_TYPE_DEFINITION:case A.UNION_TYPE_EXTENSION:return Y.UNION;case A.ENUM_TYPE_DEFINITION:case A.ENUM_TYPE_EXTENSION:return Y.ENUM;case A.ENUM_VALUE_DEFINITION:return Y.ENUM_VALUE;case A.INPUT_OBJECT_TYPE_DEFINITION:case A.INPUT_OBJECT_TYPE_EXTENSION:return Y.INPUT_OBJECT;case A.INPUT_VALUE_DEFINITION:{const n=r[r.length-3];return"kind"in n||zt(!1),n.kind===A.INPUT_OBJECT_TYPE_DEFINITION?Y.INPUT_FIELD_DEFINITION:Y.ARGUMENT_DEFINITION}default:zt(!1,"Unexpected kind: "+q(t.kind))}}function D1(r){switch(r){case Lt.QUERY:return Y.QUERY;case Lt.MUTATION:return Y.MUTATION;case Lt.SUBSCRIPTION:return Y.SUBSCRIPTION}}function _1(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);for(const a of r.getDocument().definitions)gi(a)&&(s[a.name.value]=!0);const o=[...Object.keys(n),...Object.keys(s)];return{NamedType(a,l,f,h,E){const D=a.name.value;if(!n[D]&&!s[D]){var T;const b=(T=E[2])!==null&&T!==void 0?T:f,C=b!=null&&v1(b);if(C&&Jc.includes(D))return;const L=Ls(D,C?Jc.concat(o):o);r.reportError(new j(`Unknown type "${D}".`+Ss(L),{nodes:a}))}}}}const Jc=[...Rs,...$s].map(r=>r.name);function v1(r){return"kind"in r&&(h1(r)||d1(r))}function T1(r){var t,n,s;const o=r.getSchema(),a=(t=(n=(s=o==null?void 0:o.astNode)!==null&&s!==void 0?s:o==null?void 0:o.getQueryType())!==null&&n!==void 0?n:o==null?void 0:o.getMutationType())!==null&&t!==void 0?t:o==null?void 0:o.getSubscriptionType();let l=0;return{SchemaDefinition(f){if(a){r.reportError(new j("Cannot define a new schema within a schema extension.",{nodes:f}));return}l>0&&r.reportError(new j("Must provide only one schema definition.",{nodes:f})),++l}}}function y1(r){const t=r.getSchema(),n=Object.create(null);for(const o of r.getDocument().definitions)gi(o)&&(n[o.name.value]=o);return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(o){const a=o.name.value,l=n[a],f=t==null?void 0:t.getType(a);let h;if(l?h=A1[l.kind]:f&&(h=F1(f)),h){if(h!==o.kind){const E=w1(o.kind);r.reportError(new j(`Cannot extend non-${E} type "${a}".`,{nodes:l?[l,o]:o}))}}else{const E=Object.keys({...n,...t==null?void 0:t.getTypeMap()}),D=Ls(a,E);r.reportError(new j(`Cannot extend type "${a}" because it is not defined.`+Ss(D),{nodes:o.name}))}}}const A1={[A.SCALAR_TYPE_DEFINITION]:A.SCALAR_TYPE_EXTENSION,[A.OBJECT_TYPE_DEFINITION]:A.OBJECT_TYPE_EXTENSION,[A.INTERFACE_TYPE_DEFINITION]:A.INTERFACE_TYPE_EXTENSION,[A.UNION_TYPE_DEFINITION]:A.UNION_TYPE_EXTENSION,[A.ENUM_TYPE_DEFINITION]:A.ENUM_TYPE_EXTENSION,[A.INPUT_OBJECT_TYPE_DEFINITION]:A.INPUT_OBJECT_TYPE_EXTENSION};function F1(r){if(Wn(r))return A.SCALAR_TYPE_EXTENSION;if(gt(r))return A.OBJECT_TYPE_EXTENSION;if(ut(r))return A.INTERFACE_TYPE_EXTENSION;if(Ht(r))return A.UNION_TYPE_EXTENSION;if(Jt(r))return A.ENUM_TYPE_EXTENSION;if(Xt(r))return A.INPUT_OBJECT_TYPE_EXTENSION;zt(!1,"Unexpected type: "+q(r))}function w1(r){switch(r){case A.SCALAR_TYPE_EXTENSION:return"scalar";case A.OBJECT_TYPE_EXTENSION:return"object";case A.INTERFACE_TYPE_EXTENSION:return"interface";case A.UNION_TYPE_EXTENSION:return"union";case A.ENUM_TYPE_EXTENSION:return"enum";case A.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:zt(!1,"Unexpected kind: "+q(r))}}function I1(r){var t;const n=Object.create(null),s=r.getSchema(),o=(t=s==null?void 0:s.getDirectives())!==null&&t!==void 0?t:Or;for(const f of o)n[f.name]=xr(f.args.filter(e1),h=>h.name);const a=r.getDocument().definitions;for(const f of a)if(f.kind===A.DIRECTIVE_DEFINITION){var l;const h=(l=f.arguments)!==null&&l!==void 0?l:[];n[f.name.value]=xr(h.filter(N1),E=>E.name.value)}return{Directive:{leave(f){const h=f.name.value,E=n[h];if(E){var D;const T=(D=f.arguments)!==null&&D!==void 0?D:[],b=new Set(T.map(C=>C.name.value));for(const[C,L]of Object.entries(E))if(!b.has(C)){const R=Pu(L.type)?q(L.type):cn(L.type);r.reportError(new j(`Directive "@${h}" argument "${C}" of type "${R}" is required, but it was not provided.`,{nodes:f}))}}}}}}function N1(r){return r.type.kind===A.NON_NULL_TYPE&&r.defaultValue==null}function Vn(r,t,n){if(r){if(r.kind===A.VARIABLE){const s=r.name.value;if(n==null||n[s]===void 0)return;const o=n[s];return o===null&&ot(t)?void 0:o}if(ot(t))return r.kind===A.NULL?void 0:Vn(r,t.ofType,n);if(r.kind===A.NULL)return null;if(cr(t)){const s=t.ofType;if(r.kind===A.LIST){const a=[];for(const l of r.values)if(Xc(l,n)){if(ot(s))return;a.push(null)}else{const f=Vn(l,s,n);if(f===void 0)return;a.push(f)}return a}const o=Vn(r,s,n);return o===void 0?void 0:[o]}if(Xt(t)){if(r.kind!==A.OBJECT)return;const s=Object.create(null),o=xr(r.fields,a=>a.name.value);for(const a of Object.values(t.getFields())){const l=o[a.name];if(!l||Xc(l.value,n)){if(a.defaultValue!==void 0)s[a.name]=a.defaultValue;else if(ot(a.type))return;continue}const f=Vn(l.value,a.type,n);if(f===void 0)return;s[a.name]=f}return s}if(Pf(t)){let s;try{s=t.parseLiteral(r,n)}catch{return}return s===void 0?void 0:s}zt(!1,"Unexpected input type: "+q(t))}}function Xc(r,t){return r.kind===A.VARIABLE&&(t==null||t[r.name.value]===void 0)}function b1(r,t,n){var s;const o={},a=(s=t.arguments)!==null&&s!==void 0?s:[],l=xr(a,f=>f.name.value);for(const f of r.args){const h=f.name,E=f.type,D=l[h];if(!D){if(f.defaultValue!==void 0)o[h]=f.defaultValue;else if(ot(E))throw new j(`Argument "${h}" of required type "${q(E)}" was not provided.`,{nodes:t});continue}const T=D.value;let b=T.kind===A.NULL;if(T.kind===A.VARIABLE){const L=T.name.value;if(n==null||!x1(n,L)){if(f.defaultValue!==void 0)o[h]=f.defaultValue;else if(ot(E))throw new j(`Argument "${h}" of required type "${q(E)}" was provided the variable "$${L}" which was not provided a runtime value.`,{nodes:T});continue}b=n[L]==null}if(b&&ot(E))throw new j(`Argument "${h}" of non-null type "${q(E)}" must not be null.`,{nodes:T});const C=Vn(T,E,n);if(C===void 0)throw new j(`Argument "${h}" has invalid value ${cn(T)}.`,{nodes:T});o[h]=C}return o}function np(r,t,n){var s;const o=(s=t.directives)===null||s===void 0?void 0:s.find(a=>a.name.value===r.name);if(o)return b1(r,o,n)}function x1(r,t){return Object.prototype.hasOwnProperty.call(r,t)}function rp(r,t){const n=new Map;for(const s of r){const o=t(s),a=n.get(o);a===void 0?n.set(o,[s]):a.push(s)}return n}function k1(r){return{DirectiveDefinition(s){var o;const a=(o=s.arguments)!==null&&o!==void 0?o:[];return n(`@${s.name.value}`,a)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(s){var o;const a=s.name.value,l=(o=s.fields)!==null&&o!==void 0?o:[];for(const h of l){var f;const E=h.name.value,D=(f=h.arguments)!==null&&f!==void 0?f:[];n(`${a}.${E}`,D)}return!1}function n(s,o){const a=rp(o,l=>l.name.value);for(const[l,f]of a)f.length>1&&r.reportError(new j(`Argument "${s}(${l}:)" can only be defined once.`,{nodes:f.map(h=>h.name)}));return!1}}function C1(r){return{Field:t,Directive:t};function t(n){var s;const o=(s=n.arguments)!==null&&s!==void 0?s:[],a=rp(o,l=>l.name.value);for(const[l,f]of a)f.length>1&&r.reportError(new j(`There can be only one argument named "${l}".`,{nodes:f.map(h=>h.name)}))}}function O1(r){const t=Object.create(null),n=r.getSchema();return{DirectiveDefinition(s){const o=s.name.value;if(n!=null&&n.getDirective(o)){r.reportError(new j(`Directive "@${o}" already exists in the schema. It cannot be redefined.`,{nodes:s.name}));return}return t[o]?r.reportError(new j(`There can be only one directive named "@${o}".`,{nodes:[t[o],s.name]})):t[o]=s.name,!1}}}function S1(r){const t=Object.create(null),n=r.getSchema(),s=n?n.getDirectives():Or;for(const f of s)t[f.name]=!f.isRepeatable;const o=r.getDocument().definitions;for(const f of o)f.kind===A.DIRECTIVE_DEFINITION&&(t[f.name.value]=!f.repeatable);const a=Object.create(null),l=Object.create(null);return{enter(f){if(!("directives"in f)||!f.directives)return;let h;if(f.kind===A.SCHEMA_DEFINITION||f.kind===A.SCHEMA_EXTENSION)h=a;else if(gi(f)||Gu(f)){const E=f.name.value;h=l[E],h===void 0&&(l[E]=h=Object.create(null))}else h=Object.create(null);for(const E of f.directives){const D=E.name.value;t[D]&&(h[D]?r.reportError(new j(`The directive "@${D}" can only be used once at this location.`,{nodes:[h[D],E]})):h[D]=E)}}}}function L1(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);return{EnumTypeDefinition:o,EnumTypeExtension:o};function o(a){var l;const f=a.name.value;s[f]||(s[f]=Object.create(null));const h=(l=a.values)!==null&&l!==void 0?l:[],E=s[f];for(const D of h){const T=D.name.value,b=n[f];Jt(b)&&b.getValue(T)?r.reportError(new j(`Enum value "${f}.${T}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:D.name})):E[T]?r.reportError(new j(`Enum value "${f}.${T}" can only be defined once.`,{nodes:[E[T],D.name]})):E[T]=D.name}return!1}}function R1(r){const t=r.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);return{InputObjectTypeDefinition:o,InputObjectTypeExtension:o,InterfaceTypeDefinition:o,InterfaceTypeExtension:o,ObjectTypeDefinition:o,ObjectTypeExtension:o};function o(a){var l;const f=a.name.value;s[f]||(s[f]=Object.create(null));const h=(l=a.fields)!==null&&l!==void 0?l:[],E=s[f];for(const D of h){const T=D.name.value;B1(n[f],T)?r.reportError(new j(`Field "${f}.${T}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:D.name})):E[T]?r.reportError(new j(`Field "${f}.${T}" can only be defined once.`,{nodes:[E[T],D.name]})):E[T]=D.name}return!1}}function B1(r,t){return gt(r)||ut(r)||Xt(r)?r.getFields()[t]!=null:!1}function $1(r){const t=[];let n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){const s=t.pop();s||zt(!1),n=s}},ObjectField(s){const o=s.name.value;n[o]?r.reportError(new j(`There can be only one input field named "${o}".`,{nodes:[n[o],s.name]})):n[o]=s.name}}}function P1(r){const t=r.getSchema(),n=Object.create(null),s=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(a){var l;const f=(l=a.operationTypes)!==null&&l!==void 0?l:[];for(const h of f){const E=h.operation,D=n[E];s[E]?r.reportError(new j(`Type for ${E} already defined in the schema. It cannot be redefined.`,{nodes:h})):D?r.reportError(new j(`There can be only one ${E} type in schema.`,{nodes:[D,h]})):n[E]=h}return!1}}function M1(r){const t=Object.create(null),n=r.getSchema();return{ScalarTypeDefinition:s,ObjectTypeDefinition:s,InterfaceTypeDefinition:s,UnionTypeDefinition:s,EnumTypeDefinition:s,InputObjectTypeDefinition:s};function s(o){const a=o.name.value;if(n!=null&&n.getType(a)){r.reportError(new j(`Type "${a}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:o.name}));return}return t[a]?r.reportError(new j(`There can be only one type named "${a}".`,{nodes:[t[a],o.name]})):t[a]=o.name,!1}}const U1=Object.freeze([T1,P1,M1,L1,R1,k1,O1,_1,m1,S1,y1,g1,C1,$1,I1]);class G1{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 s of this.getDocument().definitions)s.kind===A.FRAGMENT_DEFINITION&&(n[s.name.value]=s);this._fragments=n}return n[t]}getFragmentSpreads(t){let n=this._fragmentSpreads.get(t);if(!n){n=[];const s=[t];let o;for(;o=s.pop();)for(const a of o.selections)a.kind===A.FRAGMENT_SPREAD?n.push(a):a.selectionSet&&s.push(a.selectionSet);this._fragmentSpreads.set(t,n)}return n}getRecursivelyReferencedFragments(t){let n=this._recursivelyReferencedFragments.get(t);if(!n){n=[];const s=Object.create(null),o=[t.selectionSet];let a;for(;a=o.pop();)for(const l of this.getFragmentSpreads(a)){const f=l.name.value;if(s[f]!==!0){s[f]=!0;const h=this.getFragment(f);h&&(n.push(h),o.push(h.selectionSet))}}this._recursivelyReferencedFragments.set(t,n)}return n}}class V1 extends G1{constructor(t,n,s){super(t,s),this._schema=n}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}function j1(r,t,n=U1){const s=[],o=new V1(r,t,l=>{s.push(l)}),a=n.map(l=>l(o));return Lf(r,YT(a)),s}function q1(r){const t=j1(r);if(t.length!==0)throw new Error(t.map(n=>n.message).join(` -`))}function W1(r,t){xn(r)&&xn(r.__schema)||ce(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${q(r)}.`);const n=r.__schema,s=sr(n.types,O=>O.name,O=>b(O));for(const O of[...Rs,...$s])s[O.name]&&(s[O.name]=O);const o=n.queryType?D(n.queryType):null,a=n.mutationType?D(n.mutationType):null,l=n.subscriptionType?D(n.subscriptionType):null,f=n.directives?n.directives.map(hn):[];return new tp({description:n.description,query:o,mutation:a,subscription:l,types:Object.values(s),directives:f,assumeValid:t==null?void 0:t.assumeValid});function h(O){if(O.kind===Te.LIST){const X=O.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");return new dt(h(X))}if(O.kind===Te.NON_NULL){const X=O.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");const nt=h(X);return new se(ZT(nt))}return E(O)}function E(O){const X=O.name;if(!X)throw new Error(`Unknown type reference: ${q(O)}.`);const nt=s[X];if(!nt)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 nt}function D(O){return HT(E(O))}function T(O){return JT(E(O))}function b(O){if(O!=null&&O.name!=null&&O.kind!=null)switch(O.kind){case Te.SCALAR:return C(O);case Te.OBJECT:return R(O);case Te.INTERFACE:return H(O);case Te.UNION:return pe(O);case Te.ENUM:return Ue(O);case Te.INPUT_OBJECT:return ye(O)}const X=q(O);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 C(O){return new kn({name:O.name,description:O.description,specifiedByURL:O.specifiedByURL})}function L(O){if(O.interfaces===null&&O.kind===Te.INTERFACE)return[];if(!O.interfaces){const X=q(O);throw new Error(`Introspection result missing interfaces: ${X}.`)}return O.interfaces.map(T)}function R(O){return new fn({name:O.name,description:O.description,interfaces:()=>L(O),fields:()=>be(O)})}function H(O){return new ys({name:O.name,description:O.description,interfaces:()=>L(O),fields:()=>be(O)})}function pe(O){if(!O.possibleTypes){const X=q(O);throw new Error(`Introspection result missing possibleTypes: ${X}.`)}return new As({name:O.name,description:O.description,types:()=>O.possibleTypes.map(D)})}function Ue(O){if(!O.enumValues){const X=q(O);throw new Error(`Introspection result missing enumValues: ${X}.`)}return new kr({name:O.name,description:O.description,values:sr(O.enumValues,X=>X.name,X=>({description:X.description,deprecationReason:X.deprecationReason}))})}function ye(O){if(!O.inputFields){const X=q(O);throw new Error(`Introspection result missing inputFields: ${X}.`)}return new Fs({name:O.name,description:O.description,fields:()=>tt(O.inputFields)})}function be(O){if(!O.fields)throw new Error(`Introspection result missing fields: ${q(O)}.`);return sr(O.fields,X=>X.name,Oe)}function Oe(O){const X=h(O.type);if(!$f(X)){const nt=q(X);throw new Error(`Introspection must provide output type for fields, but received: ${nt}.`)}if(!O.args){const nt=q(O);throw new Error(`Introspection result missing field args: ${nt}.`)}return{description:O.description,deprecationReason:O.deprecationReason,type:X,args:tt(O.args)}}function tt(O){return sr(O,X=>X.name,Je)}function Je(O){const X=h(O.type);if(!Bf(X)){const Cn=q(X);throw new Error(`Introspection must provide input type for arguments, but received: ${Cn}.`)}const nt=O.defaultValue!=null?Vn(BT(O.defaultValue),X):void 0;return{description:O.description,type:X,defaultValue:nt,deprecationReason:O.deprecationReason}}function hn(O){if(!O.args){const X=q(O);throw new Error(`Introspection result missing directive args: ${X}.`)}if(!O.locations){const X=q(O);throw new Error(`Introspection result missing directive locations: ${X}.`)}return new Yn({name:O.name,description:O.description,isRepeatable:O.isRepeatable,locations:O.locations.slice(),args:tt(O.args)})}}function Y1(r,t,n){var s,o,a,l;const f=[],h=Object.create(null),E=[];let D;const T=[];for(const w of t.definitions)if(w.kind===A.SCHEMA_DEFINITION)D=w;else if(w.kind===A.SCHEMA_EXTENSION)T.push(w);else if(gi(w))f.push(w);else if(Gu(w)){const U=w.name.value,$=h[U];h[U]=$?$.concat([w]):[w]}else w.kind===A.DIRECTIVE_DEFINITION&&E.push(w);if(Object.keys(h).length===0&&f.length===0&&E.length===0&&T.length===0&&D==null)return r;const b=Object.create(null);for(const w of r.types)b[w.name]=Ue(w);for(const w of f){var C;const U=w.name.value;b[U]=(C=Zc[U])!==null&&C!==void 0?C:Ft(w)}const L={query:r.query&&H(r.query),mutation:r.mutation&&H(r.mutation),subscription:r.subscription&&H(r.subscription),...D&&nt([D]),...nt(T)};return{description:(s=D)===null||s===void 0||(o=s.description)===null||o===void 0?void 0:o.value,...L,types:Object.values(b),directives:[...r.directives.map(pe),...E.map(mi)],extensions:Object.create(null),astNode:(a=D)!==null&&a!==void 0?a:r.astNode,extensionASTNodes:r.extensionASTNodes.concat(T),assumeValid:(l=n==null?void 0:n.assumeValid)!==null&&l!==void 0?l:!1};function R(w){return cr(w)?new dt(R(w.ofType)):ot(w)?new se(R(w.ofType)):H(w)}function H(w){return b[w.name]}function pe(w){const U=w.toConfig();return new Yn({...U,args:Fn(U.args,X)})}function Ue(w){if(p1(w)||o1(w))return w;if(Qn(w))return Oe(w);if(gt(w))return tt(w);if(ut(w))return Je(w);if(Ht(w))return hn(w);if(Jt(w))return be(w);if(Xt(w))return ye(w);zt(!1,"Unexpected type: "+q(w))}function ye(w){var U;const $=w.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];return new Fs({...$,fields:()=>({...Fn($.fields,he=>({...he,type:R(he.type)})),...rn(P)}),extensionASTNodes:$.extensionASTNodes.concat(P)})}function be(w){var U;const $=w.toConfig(),P=(U=h[w.name])!==null&&U!==void 0?U:[];return new kr({...$,values:{...$.values,...$t(P)},extensionASTNodes:$.extensionASTNodes.concat(P)})}function Oe(w){var U;const $=w.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];let he=$.specifiedByURL;for(const de of P){var Be;he=(Be=Kc(de))!==null&&Be!==void 0?Be:he}return new kn({...$,specifiedByURL:he,extensionASTNodes:$.extensionASTNodes.concat(P)})}function tt(w){var U;const $=w.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];return new fn({...$,interfaces:()=>[...w.getInterfaces().map(H),...pr(P)],fields:()=>({...Fn($.fields,O),...fr(P)}),extensionASTNodes:$.extensionASTNodes.concat(P)})}function Je(w){var U;const $=w.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];return new ys({...$,interfaces:()=>[...w.getInterfaces().map(H),...pr(P)],fields:()=>({...Fn($.fields,O),...fr(P)}),extensionASTNodes:$.extensionASTNodes.concat(P)})}function hn(w){var U;const $=w.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];return new As({...$,types:()=>[...w.getTypes().map(H),...Hn(P)],extensionASTNodes:$.extensionASTNodes.concat(P)})}function O(w){return{...w,type:R(w.type),args:w.args&&Fn(w.args,X)}}function X(w){return{...w,type:R(w.type)}}function nt(w){const U={};for(const P of w){var $;const he=($=P.operationTypes)!==null&&$!==void 0?$:[];for(const Be of he)U[Be.operation]=Cn(Be.type)}return U}function Cn(w){var U;const $=w.name.value,P=(U=Zc[$])!==null&&U!==void 0?U:b[$];if(P===void 0)throw new Error(`Unknown type: "${$}".`);return P}function zn(w){return w.kind===A.LIST_TYPE?new dt(zn(w.type)):w.kind===A.NON_NULL_TYPE?new se(zn(w.type)):Cn(w)}function mi(w){var U;return new Yn({name:w.name.value,description:(U=w.description)===null||U===void 0?void 0:U.value,locations:w.locations.map(({value:$})=>$),isRepeatable:w.repeatable,args:Ei(w.arguments),astNode:w})}function fr(w){const U=Object.create(null);for(const he of w){var $;const Be=($=he.fields)!==null&&$!==void 0?$:[];for(const de of Be){var P;U[de.name.value]={type:zn(de.type),description:(P=de.description)===null||P===void 0?void 0:P.value,args:Ei(de.arguments),deprecationReason:gs(de),astNode:de}}}return U}function Ei(w){const U=w??[],$=Object.create(null);for(const he of U){var P;const Be=zn(he.type);$[he.name.value]={type:Be,description:(P=he.description)===null||P===void 0?void 0:P.value,defaultValue:Vn(he.defaultValue,Be),deprecationReason:gs(he),astNode:he}}return $}function rn(w){const U=Object.create(null);for(const he of w){var $;const Be=($=he.fields)!==null&&$!==void 0?$:[];for(const de of Be){var P;const It=zn(de.type);U[de.name.value]={type:It,description:(P=de.description)===null||P===void 0?void 0:P.value,defaultValue:Vn(de.defaultValue,It),deprecationReason:gs(de),astNode:de}}}return U}function $t(w){const U=Object.create(null);for(const he of w){var $;const Be=($=he.values)!==null&&$!==void 0?$:[];for(const de of Be){var P;U[de.name.value]={description:(P=de.description)===null||P===void 0?void 0:P.value,deprecationReason:gs(de),astNode:de}}}return U}function pr(w){return w.flatMap(U=>{var $,P;return($=(P=U.interfaces)===null||P===void 0?void 0:P.map(Cn))!==null&&$!==void 0?$:[]})}function Hn(w){return w.flatMap(U=>{var $,P;return($=(P=U.types)===null||P===void 0?void 0:P.map(Cn))!==null&&$!==void 0?$:[]})}function Ft(w){var U;const $=w.name.value,P=(U=h[$])!==null&&U!==void 0?U:[];switch(w.kind){case A.OBJECT_TYPE_DEFINITION:{var he;const Xe=[w,...P];return new fn({name:$,description:(he=w.description)===null||he===void 0?void 0:he.value,interfaces:()=>pr(Xe),fields:()=>fr(Xe),astNode:w,extensionASTNodes:P})}case A.INTERFACE_TYPE_DEFINITION:{var Be;const Xe=[w,...P];return new ys({name:$,description:(Be=w.description)===null||Be===void 0?void 0:Be.value,interfaces:()=>pr(Xe),fields:()=>fr(Xe),astNode:w,extensionASTNodes:P})}case A.ENUM_TYPE_DEFINITION:{var de;const Xe=[w,...P];return new kr({name:$,description:(de=w.description)===null||de===void 0?void 0:de.value,values:$t(Xe),astNode:w,extensionASTNodes:P})}case A.UNION_TYPE_DEFINITION:{var It;const Xe=[w,...P];return new As({name:$,description:(It=w.description)===null||It===void 0?void 0:It.value,types:()=>Hn(Xe),astNode:w,extensionASTNodes:P})}case A.SCALAR_TYPE_DEFINITION:{var Sr;return new kn({name:$,description:(Sr=w.description)===null||Sr===void 0?void 0:Sr.value,specifiedByURL:Kc(w),astNode:w,extensionASTNodes:P})}case A.INPUT_OBJECT_TYPE_DEFINITION:{var On;const Xe=[w,...P];return new Fs({name:$,description:(On=w.description)===null||On===void 0?void 0:On.value,fields:()=>rn(Xe),astNode:w,extensionASTNodes:P})}}}}const Zc=xr([...Rs,...$s],r=>r.name);function gs(r){const t=np(zf,r);return t==null?void 0:t.reason}function Kc(r){const t=np(Hf,r);return t==null?void 0:t.url}function Q1(r,t){r!=null&&r.kind===A.DOCUMENT||ce(!1,"Must provide valid Document AST."),(t==null?void 0:t.assumeValid)!==!0&&(t==null?void 0:t.assumeValidSDL)!==!0&&q1(r);const s=Y1({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},r,t);if(s.astNode==null)for(const a of s.types)switch(a.name){case"Query":s.query=a;break;case"Mutation":s.mutation=a;break;case"Subscription":s.subscription=a;break}const o=[...s.directives,...Or.filter(a=>s.directives.every(l=>l.name!==a.name))];return new tp({...s,directives:o})}function z1(r,t){const n=RT(r,{noLocation:t==null?void 0:t.noLocation,allowLegacyFragmentVariables:t==null?void 0:t.allowLegacyFragmentVariables});return Q1(n,{assumeValidSDL:t==null?void 0:t.assumeValidSDL,assumeValid:t==null?void 0:t.assumeValid})}const ef="";class H1{constructor(t){Fe(this,"mapping");this.mapping=t}getFor(t){return this.mapping.get(t.name)}}var ui;(function(r){r.UNION="union",r.ARGUMENT="argument",r.FIELD="field"})(ui||(ui={}));function J1(r){const t=new Map;return X1(r,n=>{gt(n)&&Z1(n,s=>{const o=Au(s.type);hu(t,o).references.push({kind:ui.FIELD,parent:n,by:s}),K1(s,l=>{const f=Au(l.type);hu(t,f).references.push({kind:ui.ARGUMENT,field:s,type:n,by:l})})}),Ht(n)&&n.getTypes().forEach(s=>{hu(t,s).references.push({kind:ui.UNION,by:n})})}),new H1(t)}function X1(r,t){Object.entries(r.getTypeMap()).forEach(([,n])=>{n.name.startsWith("__")||t(n)})}function Z1(r,t){Object.entries(r.getFields()).forEach(([,n])=>{t(n)})}function K1(r,t){Object.entries(r.args).forEach(([,n])=>{t(n)})}function hu(r,t){let n=r.get(t.name);return n||(n={references:[]},r.set(t.name,n)),n}function Au(r){return ot(r)||cr(r)?Au(r.ofType):r}const at=py(),Fu=xs(bs.DIRECTIVES,[]);var nf;const ey=Ps((nf=at.getQueryType())==null?void 0:nf.getFields());var rf;const ty=Ps((rf=at.getMutationType())==null?void 0:rf.getFields());var sf;const ny=Ps((sf=at.getSubscriptionType())==null?void 0:sf.getFields()),Vu=bn.keyBy(sp(),r=>r.name.toLocaleLowerCase()),ry=bn.mapValues(Vu,r=>{const t=Fu.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(s=>s.name===n)).filter(n=>!!n):[]}),iy=Ps(at.getTypeMap()),sy=J1(at);function Ps(r){return bn.mapKeys(r||{},(t,n)=>n.toLocaleLowerCase())}function oy(){return bn.size(at.getTypeMap())<=10}function uy(){return[du("Queries",at.getQueryType()),du("Mutations",at.getMutationType()),du("Subscriptions",at.getSubscriptionType()),hy(),cy()].filter(r=>!!r)}function du(r,t){return ly(r,ay(t))}function ay(r){return bn.sortBy((r==null?void 0:r.getFields())||{},t=>t.name)}function ly(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:hi.joinUrlPaths(ks(),r.toLocaleLowerCase(),n.name)}))}}function cy(){return oy()?null:{type:"menu",title:"Types",children:bn.sortBy(bn.map(at.getTypeMap()),t=>t.name).filter(t=>!t.name.startsWith("__")).map(t=>({type:"page",title:t.name,section:"Types",href:hi.joinUrlPaths(ks(),"types",t.name)}))}}function by(){return!!at.getQueryType()}function xy(r){return ey[r.toLocaleLowerCase()]}function ky(){return!!at.getMutationType()}function Cy(r){return ty[r.toLocaleLowerCase()]}function Oy(){return!!at.getSubscriptionType()}function Sy(r){return ny[r.toLocaleLowerCase()]}function Ly(r){return iy[r.toLocaleLowerCase()]}function fy(r){return Vu[r.toLocaleLowerCase()]}function Ry(r){return fy(r.name)!==void 0}function By(){return bn.size(Vu)>0}function $y(r){return ry[r.name.toLocaleLowerCase()]||[]}function Py(r){if(r)return sy.getFor(r)}function My(r){return bn.flatMap(r.getFields(),t=>({field:t,possibleDescriptions:ip(t,r)}))}function ip(r,t){return r?r.description?[{description:r.description,from:t}]:gt(t)?t.getInterfaces().flatMap(n=>ip(n.getFields()[r.name],n)):[]:[]}function sp(){return Fu.some(r=>(r==null?void 0:r.name)==="*")?at.getDirectives().filter(r=>!["include","skip","deprecated","specifiedBy"].includes(r.name)):Fu.filter(r=>!!(r!=null&&r.name)).map(({name:r})=>r?at.getDirective(r):void 0).filter(r=>!!r)}function py(){return ef.trim().length===0?W1(JSON.parse(JSON.stringify({__schema:{types:[]}}))):z1(ef)}function hy(){const r=sp();return r.length===0?null:{type:"menu",title:"Directives",children:r.map(t=>({type:"page",title:t.name,href:hi.joinUrlPaths(ks(),"directives",t.name),section:"Directives"}))}}const Uy=xs(bs.APP_TITLE,"GraphQL Documentation"),op=gy().concat(uy());Ey(op);const dy=Object.freeze(op),Gy=my();function gy(){return xs(bs.PAGES,_y()).filter(t=>!!t).map(t=>ap([],t))}function my(){const r=Dy();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 Ey(r){function t(s,o){for(const a of s){if(a.type==="page"){o(a);continue}a.type==="menu"&&t(a.children,o)}}let n;t(r,s=>{n&&(n.next={title:s.title,section:s.section,href:s.href},s.previous={title:n.title,section:n.section,href:n.href}),n=s})}function Dy(){return up(()=>!0)}function Vy(r){return up(t=>t.href.toLocaleLowerCase()===r.toLocaleLowerCase())}function up(r){function t(n){for(const s of n){if(s.type==="page"&&r(s))return s;if(s.type==="menu"){const o=t(s.children);if(o)return o}}return null}return t(dy)}function ap(r,t){if(typeof t.content=="string")return{type:"page",title:t.title,content:t.content,href:hi.joinUrlPaths(ks(),...r,tf(t.title))};const n=r.concat([tf(t.title)]);return{type:"menu",title:t.title,children:t.content.map(s=>({...ap(n,s),section:t.title}))}}function tf(r){return hi.generatePathSegment(r,new Tf)}function _y(){return[{title:"Introduction",content:[{title:"Welcome",content:` +`))}function Y1(r,t){xn(r)&&xn(r.__schema)||ce(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${q(r)}.`);const n=r.__schema,s=sr(n.types,O=>O.name,O=>b(O));for(const O of[...Rs,...$s])s[O.name]&&(s[O.name]=O);const o=n.queryType?D(n.queryType):null,a=n.mutationType?D(n.mutationType):null,l=n.subscriptionType?D(n.subscriptionType):null,f=n.directives?n.directives.map(hn):[];return new tp({description:n.description,query:o,mutation:a,subscription:l,types:Object.values(s),directives:f,assumeValid:t==null?void 0:t.assumeValid});function h(O){if(O.kind===Te.LIST){const X=O.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");return new dt(h(X))}if(O.kind===Te.NON_NULL){const X=O.ofType;if(!X)throw new Error("Decorated type deeper than introspection query.");const nt=h(X);return new se(ZT(nt))}return E(O)}function E(O){const X=O.name;if(!X)throw new Error(`Unknown type reference: ${q(O)}.`);const nt=s[X];if(!nt)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 nt}function D(O){return HT(E(O))}function T(O){return JT(E(O))}function b(O){if(O!=null&&O.name!=null&&O.kind!=null)switch(O.kind){case Te.SCALAR:return C(O);case Te.OBJECT:return R(O);case Te.INTERFACE:return H(O);case Te.UNION:return pe(O);case Te.ENUM:return Ue(O);case Te.INPUT_OBJECT:return ye(O)}const X=q(O);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 C(O){return new kn({name:O.name,description:O.description,specifiedByURL:O.specifiedByURL})}function L(O){if(O.interfaces===null&&O.kind===Te.INTERFACE)return[];if(!O.interfaces){const X=q(O);throw new Error(`Introspection result missing interfaces: ${X}.`)}return O.interfaces.map(T)}function R(O){return new fn({name:O.name,description:O.description,interfaces:()=>L(O),fields:()=>be(O)})}function H(O){return new ys({name:O.name,description:O.description,interfaces:()=>L(O),fields:()=>be(O)})}function pe(O){if(!O.possibleTypes){const X=q(O);throw new Error(`Introspection result missing possibleTypes: ${X}.`)}return new As({name:O.name,description:O.description,types:()=>O.possibleTypes.map(D)})}function Ue(O){if(!O.enumValues){const X=q(O);throw new Error(`Introspection result missing enumValues: ${X}.`)}return new kr({name:O.name,description:O.description,values:sr(O.enumValues,X=>X.name,X=>({description:X.description,deprecationReason:X.deprecationReason}))})}function ye(O){if(!O.inputFields){const X=q(O);throw new Error(`Introspection result missing inputFields: ${X}.`)}return new Fs({name:O.name,description:O.description,fields:()=>tt(O.inputFields)})}function be(O){if(!O.fields)throw new Error(`Introspection result missing fields: ${q(O)}.`);return sr(O.fields,X=>X.name,Oe)}function Oe(O){const X=h(O.type);if(!$f(X)){const nt=q(X);throw new Error(`Introspection must provide output type for fields, but received: ${nt}.`)}if(!O.args){const nt=q(O);throw new Error(`Introspection result missing field args: ${nt}.`)}return{description:O.description,deprecationReason:O.deprecationReason,type:X,args:tt(O.args)}}function tt(O){return sr(O,X=>X.name,Je)}function Je(O){const X=h(O.type);if(!Bf(X)){const Cn=q(X);throw new Error(`Introspection must provide input type for arguments, but received: ${Cn}.`)}const nt=O.defaultValue!=null?Vn(BT(O.defaultValue),X):void 0;return{description:O.description,type:X,defaultValue:nt,deprecationReason:O.deprecationReason}}function hn(O){if(!O.args){const X=q(O);throw new Error(`Introspection result missing directive args: ${X}.`)}if(!O.locations){const X=q(O);throw new Error(`Introspection result missing directive locations: ${X}.`)}return new Qn({name:O.name,description:O.description,isRepeatable:O.isRepeatable,locations:O.locations.slice(),args:tt(O.args)})}}function Q1(r,t,n){var s,o,a,l;const f=[],h=Object.create(null),E=[];let D;const T=[];for(const I of t.definitions)if(I.kind===A.SCHEMA_DEFINITION)D=I;else if(I.kind===A.SCHEMA_EXTENSION)T.push(I);else if(gi(I))f.push(I);else if(Gu(I)){const U=I.name.value,$=h[U];h[U]=$?$.concat([I]):[I]}else I.kind===A.DIRECTIVE_DEFINITION&&E.push(I);if(Object.keys(h).length===0&&f.length===0&&E.length===0&&T.length===0&&D==null)return r;const b=Object.create(null);for(const I of r.types)b[I.name]=Ue(I);for(const I of f){var C;const U=I.name.value;b[U]=(C=Zc[U])!==null&&C!==void 0?C:Ft(I)}const L={query:r.query&&H(r.query),mutation:r.mutation&&H(r.mutation),subscription:r.subscription&&H(r.subscription),...D&&nt([D]),...nt(T)};return{description:(s=D)===null||s===void 0||(o=s.description)===null||o===void 0?void 0:o.value,...L,types:Object.values(b),directives:[...r.directives.map(pe),...E.map(mi)],extensions:Object.create(null),astNode:(a=D)!==null&&a!==void 0?a:r.astNode,extensionASTNodes:r.extensionASTNodes.concat(T),assumeValid:(l=n==null?void 0:n.assumeValid)!==null&&l!==void 0?l:!1};function R(I){return cr(I)?new dt(R(I.ofType)):ot(I)?new se(R(I.ofType)):H(I)}function H(I){return b[I.name]}function pe(I){const U=I.toConfig();return new Qn({...U,args:Fn(U.args,X)})}function Ue(I){if(p1(I)||o1(I))return I;if(Wn(I))return Oe(I);if(gt(I))return tt(I);if(ut(I))return Je(I);if(Ht(I))return hn(I);if(Jt(I))return be(I);if(Xt(I))return ye(I);zt(!1,"Unexpected type: "+q(I))}function ye(I){var U;const $=I.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];return new Fs({...$,fields:()=>({...Fn($.fields,he=>({...he,type:R(he.type)})),...rn(P)}),extensionASTNodes:$.extensionASTNodes.concat(P)})}function be(I){var U;const $=I.toConfig(),P=(U=h[I.name])!==null&&U!==void 0?U:[];return new kr({...$,values:{...$.values,...$t(P)},extensionASTNodes:$.extensionASTNodes.concat(P)})}function Oe(I){var U;const $=I.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];let he=$.specifiedByURL;for(const de of P){var Be;he=(Be=Kc(de))!==null&&Be!==void 0?Be:he}return new kn({...$,specifiedByURL:he,extensionASTNodes:$.extensionASTNodes.concat(P)})}function tt(I){var U;const $=I.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];return new fn({...$,interfaces:()=>[...I.getInterfaces().map(H),...pr(P)],fields:()=>({...Fn($.fields,O),...fr(P)}),extensionASTNodes:$.extensionASTNodes.concat(P)})}function Je(I){var U;const $=I.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];return new ys({...$,interfaces:()=>[...I.getInterfaces().map(H),...pr(P)],fields:()=>({...Fn($.fields,O),...fr(P)}),extensionASTNodes:$.extensionASTNodes.concat(P)})}function hn(I){var U;const $=I.toConfig(),P=(U=h[$.name])!==null&&U!==void 0?U:[];return new As({...$,types:()=>[...I.getTypes().map(H),...Hn(P)],extensionASTNodes:$.extensionASTNodes.concat(P)})}function O(I){return{...I,type:R(I.type),args:I.args&&Fn(I.args,X)}}function X(I){return{...I,type:R(I.type)}}function nt(I){const U={};for(const P of I){var $;const he=($=P.operationTypes)!==null&&$!==void 0?$:[];for(const Be of he)U[Be.operation]=Cn(Be.type)}return U}function Cn(I){var U;const $=I.name.value,P=(U=Zc[$])!==null&&U!==void 0?U:b[$];if(P===void 0)throw new Error(`Unknown type: "${$}".`);return P}function zn(I){return I.kind===A.LIST_TYPE?new dt(zn(I.type)):I.kind===A.NON_NULL_TYPE?new se(zn(I.type)):Cn(I)}function mi(I){var U;return new Qn({name:I.name.value,description:(U=I.description)===null||U===void 0?void 0:U.value,locations:I.locations.map(({value:$})=>$),isRepeatable:I.repeatable,args:Ei(I.arguments),astNode:I})}function fr(I){const U=Object.create(null);for(const he of I){var $;const Be=($=he.fields)!==null&&$!==void 0?$:[];for(const de of Be){var P;U[de.name.value]={type:zn(de.type),description:(P=de.description)===null||P===void 0?void 0:P.value,args:Ei(de.arguments),deprecationReason:gs(de),astNode:de}}}return U}function Ei(I){const U=I??[],$=Object.create(null);for(const he of U){var P;const Be=zn(he.type);$[he.name.value]={type:Be,description:(P=he.description)===null||P===void 0?void 0:P.value,defaultValue:Vn(he.defaultValue,Be),deprecationReason:gs(he),astNode:he}}return $}function rn(I){const U=Object.create(null);for(const he of I){var $;const Be=($=he.fields)!==null&&$!==void 0?$:[];for(const de of Be){var P;const wt=zn(de.type);U[de.name.value]={type:wt,description:(P=de.description)===null||P===void 0?void 0:P.value,defaultValue:Vn(de.defaultValue,wt),deprecationReason:gs(de),astNode:de}}}return U}function $t(I){const U=Object.create(null);for(const he of I){var $;const Be=($=he.values)!==null&&$!==void 0?$:[];for(const de of Be){var P;U[de.name.value]={description:(P=de.description)===null||P===void 0?void 0:P.value,deprecationReason:gs(de),astNode:de}}}return U}function pr(I){return I.flatMap(U=>{var $,P;return($=(P=U.interfaces)===null||P===void 0?void 0:P.map(Cn))!==null&&$!==void 0?$:[]})}function Hn(I){return I.flatMap(U=>{var $,P;return($=(P=U.types)===null||P===void 0?void 0:P.map(Cn))!==null&&$!==void 0?$:[]})}function Ft(I){var U;const $=I.name.value,P=(U=h[$])!==null&&U!==void 0?U:[];switch(I.kind){case A.OBJECT_TYPE_DEFINITION:{var he;const Xe=[I,...P];return new fn({name:$,description:(he=I.description)===null||he===void 0?void 0:he.value,interfaces:()=>pr(Xe),fields:()=>fr(Xe),astNode:I,extensionASTNodes:P})}case A.INTERFACE_TYPE_DEFINITION:{var Be;const Xe=[I,...P];return new ys({name:$,description:(Be=I.description)===null||Be===void 0?void 0:Be.value,interfaces:()=>pr(Xe),fields:()=>fr(Xe),astNode:I,extensionASTNodes:P})}case A.ENUM_TYPE_DEFINITION:{var de;const Xe=[I,...P];return new kr({name:$,description:(de=I.description)===null||de===void 0?void 0:de.value,values:$t(Xe),astNode:I,extensionASTNodes:P})}case A.UNION_TYPE_DEFINITION:{var wt;const Xe=[I,...P];return new As({name:$,description:(wt=I.description)===null||wt===void 0?void 0:wt.value,types:()=>Hn(Xe),astNode:I,extensionASTNodes:P})}case A.SCALAR_TYPE_DEFINITION:{var Sr;return new kn({name:$,description:(Sr=I.description)===null||Sr===void 0?void 0:Sr.value,specifiedByURL:Kc(I),astNode:I,extensionASTNodes:P})}case A.INPUT_OBJECT_TYPE_DEFINITION:{var On;const Xe=[I,...P];return new Fs({name:$,description:(On=I.description)===null||On===void 0?void 0:On.value,fields:()=>rn(Xe),astNode:I,extensionASTNodes:P})}}}}const Zc=xr([...Rs,...$s],r=>r.name);function gs(r){const t=np(zf,r);return t==null?void 0:t.reason}function Kc(r){const t=np(Hf,r);return t==null?void 0:t.url}function W1(r,t){r!=null&&r.kind===A.DOCUMENT||ce(!1,"Must provide valid Document AST."),(t==null?void 0:t.assumeValid)!==!0&&(t==null?void 0:t.assumeValidSDL)!==!0&&q1(r);const s=Q1({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},r,t);if(s.astNode==null)for(const a of s.types)switch(a.name){case"Query":s.query=a;break;case"Mutation":s.mutation=a;break;case"Subscription":s.subscription=a;break}const o=[...s.directives,...Or.filter(a=>s.directives.every(l=>l.name!==a.name))];return new tp({...s,directives:o})}function z1(r,t){const n=RT(r,{noLocation:t==null?void 0:t.noLocation,allowLegacyFragmentVariables:t==null?void 0:t.allowLegacyFragmentVariables});return W1(n,{assumeValidSDL:t==null?void 0:t.assumeValidSDL,assumeValid:t==null?void 0:t.assumeValid})}const ef="";class H1{constructor(t){Fe(this,"mapping");this.mapping=t}getFor(t){return this.mapping.get(t.name)}}var ui;(function(r){r.UNION="union",r.ARGUMENT="argument",r.FIELD="field"})(ui||(ui={}));function J1(r){const t=new Map;return X1(r,n=>{gt(n)&&Z1(n,s=>{const o=Au(s.type);hu(t,o).references.push({kind:ui.FIELD,parent:n,by:s}),K1(s,l=>{const f=Au(l.type);hu(t,f).references.push({kind:ui.ARGUMENT,field:s,type:n,by:l})})}),Ht(n)&&n.getTypes().forEach(s=>{hu(t,s).references.push({kind:ui.UNION,by:n})})}),new H1(t)}function X1(r,t){Object.entries(r.getTypeMap()).forEach(([,n])=>{n.name.startsWith("__")||t(n)})}function Z1(r,t){Object.entries(r.getFields()).forEach(([,n])=>{t(n)})}function K1(r,t){Object.entries(r.args).forEach(([,n])=>{t(n)})}function hu(r,t){let n=r.get(t.name);return n||(n={references:[]},r.set(t.name,n)),n}function Au(r){return ot(r)||cr(r)?Au(r.ofType):r}const at=py(),Fu=xs(bs.DIRECTIVES,[]);var nf;const ey=Ps((nf=at.getQueryType())==null?void 0:nf.getFields());var rf;const ty=Ps((rf=at.getMutationType())==null?void 0:rf.getFields());var sf;const ny=Ps((sf=at.getSubscriptionType())==null?void 0:sf.getFields()),Vu=bn.keyBy(sp(),r=>r.name.toLocaleLowerCase()),ry=bn.mapValues(Vu,r=>{const t=Fu.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(s=>s.name===n)).filter(n=>!!n):[]}),iy=Ps(at.getTypeMap()),sy=J1(at);function Ps(r){return bn.mapKeys(r||{},(t,n)=>n.toLocaleLowerCase())}function oy(){return bn.size(at.getTypeMap())<=10}function uy(){return[du("Queries",at.getQueryType()),du("Mutations",at.getMutationType()),du("Subscriptions",at.getSubscriptionType()),hy(),cy()].filter(r=>!!r)}function du(r,t){return ly(r,ay(t))}function ay(r){return bn.sortBy((r==null?void 0:r.getFields())||{},t=>t.name)}function ly(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:hi.joinUrlPaths(ks(),r.toLocaleLowerCase(),n.name)}))}}function cy(){return oy()?null:{type:"menu",title:"Types",children:bn.sortBy(bn.map(at.getTypeMap()),t=>t.name).filter(t=>!t.name.startsWith("__")).map(t=>({type:"page",title:t.name,section:"Types",href:hi.joinUrlPaths(ks(),"types",t.name)}))}}function by(){return!!at.getQueryType()}function xy(r){return ey[r.toLocaleLowerCase()]}function ky(){return!!at.getMutationType()}function Cy(r){return ty[r.toLocaleLowerCase()]}function Oy(){return!!at.getSubscriptionType()}function Sy(r){return ny[r.toLocaleLowerCase()]}function Ly(r){return iy[r.toLocaleLowerCase()]}function fy(r){return Vu[r.toLocaleLowerCase()]}function Ry(r){return fy(r.name)!==void 0}function By(){return bn.size(Vu)>0}function $y(r){return ry[r.name.toLocaleLowerCase()]||[]}function Py(r){if(r)return sy.getFor(r)}function My(r){return bn.flatMap(r.getFields(),t=>({field:t,possibleDescriptions:ip(t,r)}))}function ip(r,t){return r?r.description?[{description:r.description,from:t}]:gt(t)?t.getInterfaces().flatMap(n=>ip(n.getFields()[r.name],n)):[]:[]}function sp(){return Fu.some(r=>(r==null?void 0:r.name)==="*")?at.getDirectives().filter(r=>!["include","skip","deprecated","specifiedBy"].includes(r.name)):Fu.filter(r=>!!(r!=null&&r.name)).map(({name:r})=>r?at.getDirective(r):void 0).filter(r=>!!r)}function py(){return ef.trim().length===0?Y1(JSON.parse(JSON.stringify({__schema:{types:[]}}))):z1(ef)}function hy(){const r=sp();return r.length===0?null:{type:"menu",title:"Directives",children:r.map(t=>({type:"page",title:t.name,href:hi.joinUrlPaths(ks(),"directives",t.name),section:"Directives"}))}}const Uy=xs(bs.APP_TITLE,"GraphQL Documentation"),op=gy().concat(uy());Ey(op);const dy=Object.freeze(op),Gy=my();function gy(){return xs(bs.PAGES,_y()).filter(t=>!!t).map(t=>ap([],t))}function my(){const r=Dy();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 Ey(r){function t(s,o){for(const a of s){if(a.type==="page"){o(a);continue}a.type==="menu"&&t(a.children,o)}}let n;t(r,s=>{n&&(n.next={title:s.title,section:s.section,href:s.href},s.previous={title:n.title,section:n.section,href:n.href}),n=s})}function Dy(){return up(()=>!0)}function Vy(r){return up(t=>t.href.toLocaleLowerCase()===r.toLocaleLowerCase())}function up(r){function t(n){for(const s of n){if(s.type==="page"&&r(s))return s;if(s.type==="menu"){const o=t(s.children);if(o)return o}}return null}return t(dy)}function ap(r,t){if(typeof t.content=="string")return{type:"page",title:t.title,content:t.content,href:hi.joinUrlPaths(ks(),...r,tf(t.title))};const n=r.concat([tf(t.title)]);return{type:"menu",title:t.title,children:t.content.map(s=>({...ap(n,s),section:t.title}))}}function tf(r){return hi.generatePathSegment(r,new Tf)}function _y(){return[{title:"Introduction",content:[{title:"Welcome",content:` # Welcome 🎉 [Congratulations!](https://www.youtube.com/watch?v=1Bix44C1EzY) You have successfully created your first Magidoc website. @@ -129,4 +129,4 @@ In some cases, you need to provide options to alter GraphQL's execution behavior If you wish to remove or modify this page, have a look at the *customPages* configuration. `.split(` `).map(r=>r.trim()).join(` -`)}]}]}export{Zv as A,oy as B,Ly as C,Py as D,Qn as E,Jt as F,ut as G,Ht as H,gt as I,Xt as J,A as K,My as L,KT as M,Pf as N,wy as O,ws as P,lf as Q,ui as R,Iy as S,Tf as T,Ee as U,Yt as V,Uy as W,bn as _,ky as a,by as b,xy as c,Oy as d,Sy as e,Vy as f,Cy as g,Gy as h,$y as i,ks as j,Ry as k,uf as l,Fy as m,By as n,fy as o,dy as p,Mf as q,cr as r,at as s,ot as t,hi as u,Ny as v,xs as w,bs as x,an as y,ti as z}; +`)}]}]}export{Zv as A,oy as B,Ly as C,Py as D,Wn as E,Jt as F,ut as G,Ht as H,gt as I,Xt as J,A as K,My as L,KT as M,Pf as N,Iy as O,Is as P,lf as Q,ui as R,wy as S,Tf as T,Ee as U,Qt as V,Uy as W,bn as _,ky as a,by as b,xy as c,Oy as d,Sy as e,Vy as f,Cy as g,Gy as h,$y as i,ks as j,Ry as k,uf as l,Fy as m,By as n,fy as o,dy as p,Mf as q,cr as r,at as s,ot as t,hi as u,Ny as v,xs as w,bs as x,an as y,ti as z}; diff --git a/public/docs/_app/immutable/chunks/stores.hGXGMU1Q.js b/public/docs/_app/immutable/chunks/stores.DqhhiI_e.js similarity index 72% rename from public/docs/_app/immutable/chunks/stores.hGXGMU1Q.js rename to public/docs/_app/immutable/chunks/stores.DqhhiI_e.js index 9b1b548..e2f0105 100644 --- a/public/docs/_app/immutable/chunks/stores.hGXGMU1Q.js +++ b/public/docs/_app/immutable/chunks/stores.DqhhiI_e.js @@ -1 +1 @@ -import{s as e}from"./entry.Cc-JbSAl.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.DE3XoBKF.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.BJ47m5GV.js b/public/docs/_app/immutable/entry/app.av5Qst_D.js similarity index 81% rename from public/docs/_app/immutable/entry/app.BJ47m5GV.js rename to public/docs/_app/immutable/entry/app.av5Qst_D.js index dd0ec16..62aaba1 100644 --- a/public/docs/_app/immutable/entry/app.BJ47m5GV.js +++ b/public/docs/_app/immutable/entry/app.av5Qst_D.js @@ -1,7 +1,7 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["../nodes/0.UfRZlOHp.js","../chunks/scheduler.Eaj42bxH.js","../chunks/index.CMSEJhCx.js","../chunks/pages.ChwmMHwd.js","../chunks/control.CMWtusoz.js","../assets/pages.BZ7dBxQt.css","../chunks/ChevronDown.bal9uoQH.js","../assets/ChevronDown.DFnX4Nf0.css","../chunks/prism-json.CMKj7kFV.js","../chunks/index.Cx9QXIn7.js","../chunks/Button.CYh10Gys.js","../chunks/stores.hGXGMU1Q.js","../chunks/entry.Cc-JbSAl.js","../assets/0.Dc85tgr_.css","../nodes/1.CK7MLQTj.js","../assets/1.DDNgGNlk.css","../nodes/2.tXrzzUcS.js","../chunks/index.CfgE2iAn.js","../nodes/3.DOppNSEy.js","../chunks/PreviousNextPage.BXHMl56p.js","../assets/PreviousNextPage.CSTXT5K2.css","../nodes/4.doMPB1Nt.js","../chunks/ArgsList.Df6dyhFf.js","../assets/ArgsList.tGPHACmx.css","../nodes/5.Ktttfu3x.js","../chunks/FieldDetails.DWhCirQ6.js","../chunks/DirectiveTag.CatMG0Eh.js","../assets/DirectiveTag.DuCFScKg.css","../assets/FieldDetails.DpqSh-Zn.css","../nodes/6.DMJpO0dF.js","../nodes/7.DgCksJMy.js","../nodes/8.CKLmxN4R.js","../assets/8.lLT_wvMO.css"] + __vite__mapDeps.viteFileDeps = ["../nodes/0.BfIa_Vd2.js","../chunks/scheduler.Eaj42bxH.js","../chunks/index.CMSEJhCx.js","../chunks/pages.CneCpNB9.js","../chunks/control.COmfC0IO.js","../assets/pages.BZ7dBxQt.css","../chunks/ChevronDown.DqzAHLaF.js","../assets/ChevronDown.DFnX4Nf0.css","../chunks/prism-json.CMKj7kFV.js","../chunks/index.Cx9QXIn7.js","../chunks/Button.DKunqQyO.js","../chunks/stores.DqhhiI_e.js","../chunks/entry.DE3XoBKF.js","../assets/0.Dc85tgr_.css","../nodes/1.DUBS8A_F.js","../assets/1.DDNgGNlk.css","../nodes/2.qPA9UT2V.js","../chunks/index.CFDPqCvJ.js","../nodes/3.CpQ34Nnw.js","../chunks/PreviousNextPage.CfYtgLwe.js","../assets/PreviousNextPage.CSTXT5K2.css","../nodes/4.ChJmDpEL.js","../chunks/ArgsList._Wal39Gh.js","../assets/ArgsList.tGPHACmx.css","../nodes/5.D33AaXF2.js","../chunks/FieldDetails.DJtFDuFW.js","../chunks/DirectiveTag.BPf_LInC.js","../assets/DirectiveTag.DuCFScKg.css","../assets/FieldDetails.DpqSh-Zn.css","../nodes/6.ey-rvhhX.js","../nodes/7.BPJBgEQg.js","../nodes/8.BPTYI8c9.js","../assets/8.lLT_wvMO.css"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{s as N,b as B,q as h,c as U,l as v,d as g,J as j,K as J,e as K,f as W,g as z,k as I,L as p,t as F,j as G,o as H,D as O,I as y,M as Q}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.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&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),v(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,_(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 _(t,s){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return r&&(e=y(r,_(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),v(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,_(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 _(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=y(r,_(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),v(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,_(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"),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&&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){v(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,_;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=B(),c&&c.c(),r=h()},l(l){n.l(l),i=U(l),c&&c.l(l),r=h()},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):(D(),w(s[u],1,1,()=>{s[u]=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]?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&&(g(i),g(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;j(i.page.notify);let l=!1,m=!1,u=null;J(()=>{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.UfRZlOHp.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>d(()=>import("../nodes/1.CK7MLQTj.js"),__vite__mapDeps([14,1,2,11,12,9,4,15]),import.meta.url),()=>d(()=>import("../nodes/2.tXrzzUcS.js"),__vite__mapDeps([16,17,4,3,2,1,5]),import.meta.url),()=>d(()=>import("../nodes/3.DOppNSEy.js"),__vite__mapDeps([18,17,4,3,2,1,5,19,6,7,9,20]),import.meta.url),()=>d(()=>import("../nodes/4.doMPB1Nt.js"),__vite__mapDeps([21,3,2,1,4,5,17,19,6,7,9,20,22,23]),import.meta.url),()=>d(()=>import("../nodes/5.Ktttfu3x.js"),__vite__mapDeps([24,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/6.DMJpO0dF.js"),__vite__mapDeps([29,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/7.DgCksJMy.js"),__vite__mapDeps([30,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/8.CKLmxN4R.js"),__vite__mapDeps([31,3,2,1,4,5,17,19,6,7,9,20,22,23,10,26,27,32]),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}; +import{s as N,b as B,q as h,c as U,l as v,d as g,J as j,K as J,e as K,f as W,g as z,k as I,L as p,t as F,j as G,o as H,D as O,I as y,M as Q}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.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&&R(e.$$.fragment),n=h()},l(t){e&&T(e.$$.fragment,t),n=h()},m(t,s){e&&L(e,t,s),v(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,_(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 _(t,s){return{props:{data:t[3],$$slots:{default:[ee]},$$scope:{ctx:t}}}}return r&&(e=y(r,_(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),v(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,_(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 _(t,s){return{props:{data:t[4],form:t[2]}}}return r&&(e=y(r,_(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),v(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,_(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"),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&&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){v(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,_;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=B(),c&&c.c(),r=h()},l(l){n.l(l),i=U(l),c&&c.l(l),r=h()},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):(D(),w(s[u],1,1,()=>{s[u]=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]?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&&(g(i),g(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;j(i.page.notify);let l=!1,m=!1,u=null;J(()=>{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.BfIa_Vd2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),()=>d(()=>import("../nodes/1.DUBS8A_F.js"),__vite__mapDeps([14,1,2,11,12,9,4,15]),import.meta.url),()=>d(()=>import("../nodes/2.qPA9UT2V.js"),__vite__mapDeps([16,17,4,3,2,1,5]),import.meta.url),()=>d(()=>import("../nodes/3.CpQ34Nnw.js"),__vite__mapDeps([18,17,4,3,2,1,5,19,6,7,9,20]),import.meta.url),()=>d(()=>import("../nodes/4.ChJmDpEL.js"),__vite__mapDeps([21,3,2,1,4,5,17,19,6,7,9,20,22,23]),import.meta.url),()=>d(()=>import("../nodes/5.D33AaXF2.js"),__vite__mapDeps([24,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/6.ey-rvhhX.js"),__vite__mapDeps([29,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/7.BPJBgEQg.js"),__vite__mapDeps([30,3,2,1,4,5,17,25,9,19,6,7,20,8,10,22,23,26,27,28]),import.meta.url),()=>d(()=>import("../nodes/8.BPTYI8c9.js"),__vite__mapDeps([31,3,2,1,4,5,17,19,6,7,9,20,22,23,10,26,27,32]),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/start.CMrH9fhR.js b/public/docs/_app/immutable/entry/start.CMrH9fhR.js new file mode 100644 index 0000000..5adb461 --- /dev/null +++ b/public/docs/_app/immutable/entry/start.CMrH9fhR.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.DE3XoBKF.js";export{t as start}; diff --git a/public/docs/_app/immutable/entry/start.hp6JAj51.js b/public/docs/_app/immutable/entry/start.hp6JAj51.js deleted file mode 100644 index ededdcf..0000000 --- a/public/docs/_app/immutable/entry/start.hp6JAj51.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.Cc-JbSAl.js";export{t as start}; diff --git a/public/docs/_app/immutable/nodes/0.UfRZlOHp.js b/public/docs/_app/immutable/nodes/0.BfIa_Vd2.js similarity index 99% rename from public/docs/_app/immutable/nodes/0.UfRZlOHp.js rename to public/docs/_app/immutable/nodes/0.BfIa_Vd2.js index ce41402..67ee2fa 100644 --- a/public/docs/_app/immutable/nodes/0.UfRZlOHp.js +++ b/public/docs/_app/immutable/nodes/0.BfIa_Vd2.js @@ -1,4 +1,4 @@ -import{s as J,E as _e,v as M,e as V,f as U,g as y,d as g,y as ve,z as A,L as je,l as w,F as be,G as pe,H as ke,u as B,p as Ze,w as x,q as Y,a4 as Z,a5 as K,k as L,a6 as ge,m as N,n as X,t as oe,j as ue,o as me,I as Ie,A as se,r as We,x as ce,D as Ae,P as lt,b as ie,c as re,B as Nt,a7 as He,a1 as st,ae as Lt,ac as $i,a2 as Le,K as Ct,af as er,J as tr,ag as _t,ah as nr,ai as ir,aj as fi,h as rr}from"../chunks/scheduler.Eaj42bxH.js";import{S as Q,i as $,t as b,b as k,g as fe,e as de,c as D,a as W,m as P,d as G,f as De,h as Ft}from"../chunks/index.CMSEJhCx.js";import{T as di,U as Bt,l as he,m as at,w as Je,x as xe,_ as bt,y as ye,V as lr,F as sr,I as ar,G as or,E as ur,H as cr,J as fr,p as hi,s as dr,B as hr,u as tt,j as nt,W as pt,O as gr}from"../chunks/pages.ChwmMHwd.js";import{C as Ke,L as mr,a as _r,P as br}from"../chunks/ChevronDown.bal9uoQH.js";import"../chunks/prism-json.CMKj7kFV.js";import{w as $e}from"../chunks/index.Cx9QXIn7.js";import{B as ot}from"../chunks/Button.CYh10Gys.js";import{b as pr}from"../chunks/control.CMWtusoz.js";import{p as gi}from"../chunks/stores.hGXGMU1Q.js";const kr=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function vr(i){return{name:"container",level:"block",start(e){var t;return(t=e.match(/^:::[^:\n\s]/))==null?void 0:t.index},tokenizer(e){const n=/^:::(?[a-z0-9-]+)(?.*)?\n(?(?:.|\n)*)\n:::(?:\n|$)/i.exec(wr(e));if(!n||!n.groups)return null;const r=n.groups.type.toLocaleLowerCase(),s=Er(n.groups.options||""),l=n.groups.content||"",a=i({type:r,content:l,raw:n[0],options:s,lexer:this.lexer});return a&&a.tokens&&this.lexer.blockTokens(l,a.tokens),a}}}function wr(i){if(!i.startsWith(":::"))return;const e=i.split(` +import{s as J,E as _e,v as M,e as V,f as U,g as y,d as g,y as ve,z as A,L as je,l as w,F as be,G as pe,H as ke,u as B,p as Ze,w as x,q as Y,a4 as Z,a5 as K,k as L,a6 as ge,m as N,n as X,t as oe,j as ue,o as me,I as Ie,A as se,r as We,x as ce,D as Ae,P as lt,b as ie,c as re,B as Nt,a7 as He,a1 as st,ae as Lt,ac as $i,a2 as Le,K as Ct,af as er,J as tr,ag as _t,ah as nr,ai as ir,aj as fi,h as rr}from"../chunks/scheduler.Eaj42bxH.js";import{S as Q,i as $,t as b,b as k,g as fe,e as de,c as D,a as W,m as P,d as G,f as De,h as Ft}from"../chunks/index.CMSEJhCx.js";import{T as di,U as Bt,l as he,m as at,w as Je,x as xe,_ as bt,y as ye,V as lr,F as sr,I as ar,G as or,E as ur,H as cr,J as fr,p as hi,s as dr,B as hr,u as tt,j as nt,W as pt,O as gr}from"../chunks/pages.CneCpNB9.js";import{C as Ke,L as mr,a as _r,P as br}from"../chunks/ChevronDown.DqzAHLaF.js";import"../chunks/prism-json.CMKj7kFV.js";import{w as $e}from"../chunks/index.Cx9QXIn7.js";import{B as ot}from"../chunks/Button.DKunqQyO.js";import{b as pr}from"../chunks/control.COmfC0IO.js";import{p as gi}from"../chunks/stores.DqhhiI_e.js";const kr=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;function vr(i){return{name:"container",level:"block",start(e){var t;return(t=e.match(/^:::[^:\n\s]/))==null?void 0:t.index},tokenizer(e){const n=/^:::(?[a-z0-9-]+)(?.*)?\n(?(?:.|\n)*)\n:::(?:\n|$)/i.exec(wr(e));if(!n||!n.groups)return null;const r=n.groups.type.toLocaleLowerCase(),s=Er(n.groups.options||""),l=n.groups.content||"",a=i({type:r,content:l,raw:n[0],options:s,lexer:this.lexer});return a&&a.tokens&&this.lexer.blockTokens(l,a.tokens),a}}}function wr(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 Sr={containerExtension:vr},Ar=["error","success","info","warning"];function yr({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=Ar.some(a=>a===t)?t:"info";return{type:"notification",raw:e,style:n,tokens:[]}}function Mr({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(` diff --git a/public/docs/_app/immutable/nodes/1.CK7MLQTj.js b/public/docs/_app/immutable/nodes/1.DUBS8A_F.js similarity index 94% rename from public/docs/_app/immutable/nodes/1.CK7MLQTj.js rename to public/docs/_app/immutable/nodes/1.DUBS8A_F.js index f32b111..7eb4bbd 100644 --- a/public/docs/_app/immutable/nodes/1.CK7MLQTj.js +++ b/public/docs/_app/immutable/nodes/1.DUBS8A_F.js @@ -1 +1 @@ -import{s as x,b,e as _,t as j,h as y,d as p,c as w,f,g as v,j as S,k as z,l as $,m as d,o as k,n as q,p as A}from"../chunks/scheduler.Eaj42bxH.js";import{S as C,i as D}from"../chunks/index.CMSEJhCx.js";import{p as H}from"../chunks/stores.hGXGMU1Q.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=b(),e=_("div"),r=_("h1"),o=j(s),u=b(),c=_("p"),h=j(a[1]),this.h()},l(t){y("svelte-1wpfhz9",document.head).forEach(p),i=w(t),e=f(t,"DIV",{class:!0});var m=v(e);r=f(m,"H1",{});var E=v(r);o=S(E,s),E.forEach(p),u=w(m),c=f(m,"P",{});var g=v(c);h=S(g,a[1]),g.forEach(p),m.forEach(p),this.h()},h(){z(e,"class","wrapper svelte-1ldjxpt")},m(t,l){$(t,i,l),$(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+"")&&k(o,s),l&2&&k(h,t[1])},i:q,o:q,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}; +import{s as x,b,e as _,t as j,h as y,d as p,c as w,f,g as v,j as S,k as z,l as $,m as d,o as k,n as q,p as A}from"../chunks/scheduler.Eaj42bxH.js";import{S as C,i as D}from"../chunks/index.CMSEJhCx.js";import{p as H}from"../chunks/stores.DqhhiI_e.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=b(),e=_("div"),r=_("h1"),o=j(s),u=b(),c=_("p"),h=j(a[1]),this.h()},l(t){y("svelte-1wpfhz9",document.head).forEach(p),i=w(t),e=f(t,"DIV",{class:!0});var m=v(e);r=f(m,"H1",{});var E=v(r);o=S(E,s),E.forEach(p),u=w(m),c=f(m,"P",{});var g=v(c);h=S(g,a[1]),g.forEach(p),m.forEach(p),this.h()},h(){z(e,"class","wrapper svelte-1ldjxpt")},m(t,l){$(t,i,l),$(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+"")&&k(o,s),l&2&&k(h,t[1])},i:q,o:q,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.tXrzzUcS.js b/public/docs/_app/immutable/nodes/2.qPA9UT2V.js similarity index 53% rename from public/docs/_app/immutable/nodes/2.tXrzzUcS.js rename to public/docs/_app/immutable/nodes/2.qPA9UT2V.js index 50698da..33ae743 100644 --- a/public/docs/_app/immutable/nodes/2.tXrzzUcS.js +++ b/public/docs/_app/immutable/nodes/2.qPA9UT2V.js @@ -1 +1 @@ -import{r as e}from"../chunks/index.CfgE2iAn.js";import{h as r}from"../chunks/pages.ChwmMHwd.js";const o=!0;function t(){throw e(301,r)}const l=Object.freeze(Object.defineProperty({__proto__:null,load:t,prerender:o},Symbol.toStringTag,{value:"Module"}));export{l as universal}; +import{r as e}from"../chunks/index.CFDPqCvJ.js";import{h as r}from"../chunks/pages.CneCpNB9.js";const o=!0;function t(){throw e(301,r)}const l=Object.freeze(Object.defineProperty({__proto__:null,load:t,prerender:o},Symbol.toStringTag,{value:"Module"}));export{l as universal}; diff --git a/public/docs/_app/immutable/nodes/3.DOppNSEy.js b/public/docs/_app/immutable/nodes/3.CpQ34Nnw.js similarity index 88% rename from public/docs/_app/immutable/nodes/3.DOppNSEy.js rename to public/docs/_app/immutable/nodes/3.CpQ34Nnw.js index 679f75a..1193ff8 100644 --- a/public/docs/_app/immutable/nodes/3.DOppNSEy.js +++ b/public/docs/_app/immutable/nodes/3.CpQ34Nnw.js @@ -1,4 +1,4 @@ -import{e as k}from"../chunks/index.CfgE2iAn.js";import{p as y,f as C}from"../chunks/pages.ChwmMHwd.js";import{s as S,b as u,h as j,d as m,c as d,l as _}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.js";import{C as O,P as z}from"../chunks/PreviousNextPage.BXHMl56p.js";const B=y.length>0,E=({url:n})=>{const t=C(n.pathname);if(!t)throw k(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=` +import{e as k}from"../chunks/index.CFDPqCvJ.js";import{p as y,f as C}from"../chunks/pages.CneCpNB9.js";import{s as S,b as u,h as j,d as m,c as d,l as _}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.js";import{C as O,P as z}from"../chunks/PreviousNextPage.CfYtgLwe.js";const B=y.length>0,E=({url:n})=>{const t=C(n.pathname);if(!t)throw k(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+` diff --git a/public/docs/_app/immutable/nodes/4.doMPB1Nt.js b/public/docs/_app/immutable/nodes/4.ChJmDpEL.js similarity index 92% rename from public/docs/_app/immutable/nodes/4.doMPB1Nt.js rename to public/docs/_app/immutable/nodes/4.ChJmDpEL.js index 95d8c4e..d55bbe4 100644 --- a/public/docs/_app/immutable/nodes/4.doMPB1Nt.js +++ b/public/docs/_app/immutable/nodes/4.ChJmDpEL.js @@ -1 +1 @@ -import{n as E,o as N,f as O,i as y}from"../chunks/pages.ChwmMHwd.js";import{e as H}from"../chunks/index.CfgE2iAn.js";import{s as k,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.Eaj42bxH.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.CMSEJhCx.js";import{A as B,C as G,P as J}from"../chunks/PreviousNextPage.BXHMl56p.js";import{A as K}from"../chunks/ArgsList.Df6dyhFf.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 D(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&&D(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=D(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,k,{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,k,{data:0})}}export{oe as component,ie as universal}; +import{n as E,o as N,f as O,i as y}from"../chunks/pages.CneCpNB9.js";import{e as H}from"../chunks/index.CFDPqCvJ.js";import{s as k,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.Eaj42bxH.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.CMSEJhCx.js";import{A as B,C as G,P as J}from"../chunks/PreviousNextPage.CfYtgLwe.js";import{A as K}from"../chunks/ArgsList._Wal39Gh.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 D(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&&D(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=D(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,k,{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,k,{data:0})}}export{oe as component,ie as universal}; diff --git a/public/docs/_app/immutable/nodes/5.Ktttfu3x.js b/public/docs/_app/immutable/nodes/5.D33AaXF2.js similarity index 83% rename from public/docs/_app/immutable/nodes/5.Ktttfu3x.js rename to public/docs/_app/immutable/nodes/5.D33AaXF2.js index dd5b839..656fd88 100644 --- a/public/docs/_app/immutable/nodes/5.Ktttfu3x.js +++ b/public/docs/_app/immutable/nodes/5.D33AaXF2.js @@ -1 +1 @@ -import{a as M,g as P,f as b}from"../chunks/pages.ChwmMHwd.js";import{e as S}from"../chunks/index.CfgE2iAn.js";import{s as T,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.js";import{F as j,Q as B}from"../chunks/FieldDetails.DWhCirQ6.js";import{P as F}from"../chunks/PreviousNextPage.BXHMl56p.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 j({props:{field:n[0].field,type:B.MUTATION}}),i=new F({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}; +import{a as M,g as P,f as b}from"../chunks/pages.CneCpNB9.js";import{e as S}from"../chunks/index.CFDPqCvJ.js";import{s as T,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.js";import{F as j,Q as B}from"../chunks/FieldDetails.DJtFDuFW.js";import{P as F}from"../chunks/PreviousNextPage.CfYtgLwe.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 j({props:{field:n[0].field,type:B.MUTATION}}),i=new F({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.DMJpO0dF.js b/public/docs/_app/immutable/nodes/6.ey-rvhhX.js similarity index 83% rename from public/docs/_app/immutable/nodes/6.DMJpO0dF.js rename to public/docs/_app/immutable/nodes/6.ey-rvhhX.js index f3afdb1..5379545 100644 --- a/public/docs/_app/immutable/nodes/6.DMJpO0dF.js +++ b/public/docs/_app/immutable/nodes/6.ey-rvhhX.js @@ -1 +1 @@ -import{b as Q,c as b,f as P}from"../chunks/pages.ChwmMHwd.js";import{e as S}from"../chunks/index.CfgE2iAn.js";import{s as q,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.js";import{F as E,Q as F}from"../chunks/FieldDetails.DWhCirQ6.js";import{P as N}from"../chunks/PreviousNextPage.BXHMl56p.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 E({props:{field:n[0].field,type:F.QUERY}}),o=new N({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}; +import{b as Q,c as b,f as P}from"../chunks/pages.CneCpNB9.js";import{e as S}from"../chunks/index.CFDPqCvJ.js";import{s as q,b as u,h as w,d as m,c as d,l as c}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.js";import{F as E,Q as F}from"../chunks/FieldDetails.DJtFDuFW.js";import{P as N}from"../chunks/PreviousNextPage.CfYtgLwe.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 E({props:{field:n[0].field,type:F.QUERY}}),o=new N({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/7.DgCksJMy.js b/public/docs/_app/immutable/nodes/7.BPJBgEQg.js similarity index 83% rename from public/docs/_app/immutable/nodes/7.DgCksJMy.js rename to public/docs/_app/immutable/nodes/7.BPJBgEQg.js index 32de460..ed9e973 100644 --- a/public/docs/_app/immutable/nodes/7.DgCksJMy.js +++ b/public/docs/_app/immutable/nodes/7.BPJBgEQg.js @@ -1 +1 @@ -import{d as v,e as y,f as P}from"../chunks/pages.ChwmMHwd.js";import{e as w}from"../chunks/index.CfgE2iAn.js";import{s as B,b as c,h as N,d as p,c as u,l as d}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.js";import{F as j,Q as x}from"../chunks/FieldDetails.DWhCirQ6.js";import{P as C}from"../chunks/PreviousNextPage.BXHMl56p.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 j({props:{field:n[0].field,type:x.SUBSCRIPTION}}),i=new C({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}; +import{d as v,e as y,f as P}from"../chunks/pages.CneCpNB9.js";import{e as w}from"../chunks/index.CFDPqCvJ.js";import{s as B,b as c,h as N,d as p,c as u,l as d}from"../chunks/scheduler.Eaj42bxH.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.CMSEJhCx.js";import{F as j,Q as x}from"../chunks/FieldDetails.DJtFDuFW.js";import{P as C}from"../chunks/PreviousNextPage.CfYtgLwe.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 j({props:{field:n[0].field,type:x.SUBSCRIPTION}}),i=new C({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.CKLmxN4R.js b/public/docs/_app/immutable/nodes/8.BPTYI8c9.js similarity index 99% rename from public/docs/_app/immutable/nodes/8.CKLmxN4R.js rename to public/docs/_app/immutable/nodes/8.BPTYI8c9.js index 8cbd2e2..3164f2d 100644 --- a/public/docs/_app/immutable/nodes/8.CKLmxN4R.js +++ b/public/docs/_app/immutable/nodes/8.BPTYI8c9.js @@ -1,4 +1,4 @@ -import{l as $t,B as Nt,C as St,D as At,f as Bt,E as pt,F as mt,G as _t,H as gt,I as dt,J as ht,y as J,w as Dt,x as Pt,_ as le,s as Ft,L as bt,R as $e}from"../chunks/pages.ChwmMHwd.js";import{e as Rt}from"../chunks/index.CfgE2iAn.js";import{s as H,v as Z,a4 as x,a5 as ee,g as O,d as m,k as ie,a6 as fe,l as d,m as A,n as re,u as se,w as ae,t as B,j as D,o as q,e as U,b as I,f as V,c as N,q as j,a2 as X,L as pe,D as wt,a7 as kt,E as me,F as _e,G as ge,H as de,h as Lt}from"../chunks/scheduler.Eaj42bxH.js";import{S as G,i as Y,c as b,a as w,m as k,t as c,b as $,d as y,g as M,e as z,f as yt}from"../chunks/index.CMSEJhCx.js";import{T as Ot,A as K,C as W,S as he,a as be,b as we,c as ke,L as jt,d as Mt,P as zt}from"../chunks/PreviousNextPage.BXHMl56p.js";import{D as ye,a as vt,N as Tt,A as Ct,b as oe,c as Ut}from"../chunks/ArgsList.Df6dyhFf.js";import{B as Vt}from"../chunks/Button.CYh10Gys.js";import{D as Ht}from"../chunks/DirectiveTag.CatMG0Eh.js";function Ne(a){let e,r;return{c(){e=x("title"),r=B(a[1])},l(t){e=ee(t,"title",{});var n=O(e);r=D(n,a[1]),n.forEach(m)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&q(r,t[1])},d(t){t&&m(e)}}}function Gt(a){let e,r,t=a[1]&&Ne(a),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:a[0]},{height:a[0]},a[2],a[3]],s={};for(let l=0;l{r(5,e=Z(Z({},e),ae(o))),r(3,l=se(e,s)),"size"in o&&r(0,i=o.size),"title"in o&&r(1,f=o.title)},a.$$.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),[i,f,n,l,t]}class Se extends G{constructor(e){super(),Y(this,e,Yt,Gt,H,{size:0,title:1})}}function Ae(a){let e,r;return{c(){e=x("title"),r=B(a[1])},l(t){e=ee(t,"title",{});var n=O(e);r=D(n,a[1]),n.forEach(m)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&q(r,t[1])},d(t){t&&m(e)}}}function qt(a){let e,r,t=a[1]&&Ae(a),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:a[0]},{height:a[0]},a[2],a[3]],s={};for(let l=0;l{r(5,e=Z(Z({},e),ae(o))),r(3,l=se(e,s)),"size"in o&&r(0,i=o.size),"title"in o&&r(1,f=o.title)},a.$$.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),[i,f,n,l,t]}class Be extends G{constructor(e){super(),Y(this,e,Jt,qt,H,{size:0,title:1})}}const Kt=!Nt(),Qt=({params:a,url:e})=>{const r=St(a.type),t=At(r),n=Bt(e.pathname);if(!r||!n)throw Rt(404,`Type ${a.type} not found.`);return{type:r,usages:t,page:n}},qr=Object.freeze(Object.defineProperty({__proto__:null,load:Qt,prerender:Kt},Symbol.toStringTag,{value:"Module"}));function Wt(a){let e=a[0]()+"",r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},p:re,d(t){t&&m(r)}}}function Xt(a){let e,r;return e=new Ot({props:{type:"teal",$$slots:{default:[Wt]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&4&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Zt(a,e,r){let{type:t}=e;function n(){return pt(t)?"Scalar":mt(t)?"Enum":_t(t)?"Interface":gt(t)?"Union":dt(t)?"Object":ht(t)?"Input Object":"Unknown"}return a.$$set=s=>{"type"in s&&r(1,t=s.type)},[n,t]}class te extends G{constructor(e){super(),Y(this,e,Zt,Xt,H,{type:1})}}function xt(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function en(a){let e,r,t,n,s;return r=new K({props:{id:"title",depth:1,$$slots:{default:[xt]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}}),{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment)},l(l){e=V(l,"SECTION",{});var i=O(e);w(r.$$.fragment,i),t=N(i),w(n.$$.fragment,i),i.forEach(m)},m(l,i){d(l,e,i),k(r,e,null),A(e,t),k(n,e,null),s=!0},p(l,[i]){const f={};i&3&&(f.$$scope={dirty:i,ctx:l}),r.$set(f);const o={};i&1&&(o.source=l[0].description),n.$set(o)},i(l){s||(c(r.$$.fragment,l),c(n.$$.fragment,l),s=!0)},o(l){$(r.$$.fragment,l),$(n.$$.fragment,l),s=!1},d(l){l&&m(e),y(r),y(n)}}}function tn(a,e,r){let{type:t}=e;return a.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class nn extends G{constructor(e){super(),Y(this,e,tn,en,H,{type:0})}}function De(a,e,r){const t=a.slice();return t[1]=e[r],t}function rn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function ln(a){let e;return{c(){e=B("Possible Values")},l(r){e=D(r,"Possible Values")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Pe(a){let e,r;return e=new W({props:{source:a[1].description}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.source=t[1].description),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function fn(a){let e,r,t=a[1].name+"",n,s,l,i,f,o;l=new ye({props:{reason:a[1].deprecationReason}});let u=a[1].description&&Pe(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),u&&u.c(),f=j(),this.h()},l(p){e=V(p,"P",{});var _=O(e);r=V(_,"SPAN",{style:!0});var g=O(r);n=D(g,t),g.forEach(m),s=N(_),w(l.$$.fragment,_),_.forEach(m),i=N(p),u&&u.l(p),f=j(),this.h()},h(){pe(r,"font-weight","bold")},m(p,_){d(p,e,_),A(e,r),A(r,n),A(e,s),k(l,e,null),d(p,i,_),u&&u.m(p,_),d(p,f,_),o=!0},p(p,_){(!o||_&1)&&t!==(t=p[1].name+"")&&q(n,t);const g={};_&1&&(g.reason=p[1].deprecationReason),l.$set(g),p[1].description?u?(u.p(p,_),_&1&&c(u,1)):(u=Pe(p),u.c(),c(u,1),u.m(f.parentNode,f)):u&&(M(),$(u,1,1,()=>{u=null}),z())},i(p){o||(c(l.$$.fragment,p),c(u),o=!0)},o(p){$(l.$$.fragment,p),$(u),o=!1},d(p){p&&(m(e),m(i),m(f)),y(l),u&&u.d(p)}}}function sn(a){let e,r,t;return e=new ke({props:{$$slots:{default:[fn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment),r=I()},l(n){w(e.$$.fragment,n),r=N(n)},m(n,s){k(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||(c(e.$$.fragment,n),t=!0)},o(n){$(e.$$.fragment,n),t=!1},d(n){n&&m(r),y(e,n)}}}function Fe(a){let e,r;return e=new we({props:{$$slots:{default:[sn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&17&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function an(a){let e,r,t=J(a[0].getValues()),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"type"in n&&r(0,t=n.type)},[t]}class $n extends G{constructor(e){super(),Y(this,e,cn,un,H,{type:0})}}function pn(a){let e=(a[0]?a[2]:a[3])+` (${a[1]})`,r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},p(t,n){n&15&&e!==(e=(t[0]?t[2]:t[3])+` (${t[1]})`)&&q(r,e)},d(t){t&&m(r)}}}function mn(a){let e,r,t;return r=new Vt({props:{kind:"ghost",size:"small",style:"border-radius: 20px",icon:a[0]?Be:Se,$$slots:{default:[pn]},$$scope:{ctx:a}}}),r.$on("click",a[4]),{c(){e=U("div"),b(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(m),this.h()},h(){ie(e,"class","button-wrapper svelte-8qz4j")},m(n,s){d(n,e,s),k(r,e,null),t=!0},p(n,[s]){const l={};s&1&&(l.icon=n[0]?Be:Se),s&47&&(l.$$scope={dirty:s,ctx:n}),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r)}}}function _n(a,e,r){let{totalItems:t}=e,{expandedText:n}=e,{collapsedText:s}=e,{expanded:l=!1}=e;const i=()=>r(0,l=!l);return a.$$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,i]}class Et extends G{constructor(e){super(),Y(this,e,_n,mn,H,{totalItems:1,expandedText:2,collapsedText:3,expanded:0})}}function gn(a){let e,r,t=a[0].from.name+"",n,s,l,i;return l=new W({props:{source:a[0].description}}),{c(){e=B("By "),r=U("em"),n=B(t),s=I(),b(l.$$.fragment)},l(f){e=D(f,"By "),r=V(f,"EM",{});var o=O(r);n=D(o,t),o.forEach(m),s=N(f),w(l.$$.fragment,f)},m(f,o){d(f,e,o),d(f,r,o),A(r,n),d(f,s,o),k(l,f,o),i=!0},p(f,[o]){(!i||o&1)&&t!==(t=f[0].from.name+"")&&q(n,t);const u={};o&1&&(u.source=f[0].description),l.$set(u)},i(f){i||(c(l.$$.fragment,f),i=!0)},o(f){$(l.$$.fragment,f),i=!1},d(f){f&&(m(e),m(r),m(s)),y(l,f)}}}function dn(a,e,r){let{item:t}=e;return a.$$set=n=>{"item"in n&&r(0,t=n.item)},[t]}class hn extends G{constructor(e){super(),Y(this,e,dn,gn,H,{item:0})}}function Re(a,e,r){const t=a.slice();return t[3]=e[r],t}function Le(a,e,r){const t=a.slice();return t[6]=e[r],t}function Oe(a){let e,r,t=J(a[0].field.astNode.directives),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lyt(r,"expanded",l)),{c(){s&&s.c(),e=I(),b(r.$$.fragment)},l(f){s&&s.l(f),e=N(f),w(r.$$.fragment,f)},m(f,o){s&&s.m(f,o),d(f,e,o),k(r,f,o),n=!0},p(f,o){f[1]?s?(s.p(f,o),o&2&&c(s,1)):(s=Ce(f),s.c(),c(s,1),s.m(e.parentNode,e)):s&&(M(),$(s,1,1,()=>{s=null}),z());const u={};o&1&&(u.totalItems=f[0].field.args.length),!t&&o&2&&(t=!0,u.expanded=f[1],kt(()=>t=!1)),r.$set(u)},i(f){n||(c(s),c(r.$$.fragment,f),n=!0)},o(f){$(s),$(r.$$.fragment,f),n=!1},d(f){f&&m(e),s&&s.d(f),y(r,f)}}}function Ce(a){let e,r,t;return r=new Ct({props:{data:a[0].field.args}}),{c(){e=U("div"),b(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(m),this.h()},h(){ie(e,"class","arguments-list-wrapper svelte-1di407r")},m(n,s){d(n,e,s),k(r,e,null),t=!0},p(n,s){const l={};s&1&&(l.data=n[0].field.args),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r)}}}function kn(a){var ve;let e,r,t=a[0].field.name+"",n,s,l,i,f,o,u,p,_,g,h,T,P,E;l=new vt({props:{type:a[0].field.type}}),f=new ye({props:{reason:a[0].field.deprecationReason}}),u=new Tt({props:{type:a[0].field.type}});let v=((ve=a[0].field.astNode)==null?void 0:ve.directives)&&Oe(a);const S=[wn,bn],R=[];function Q(F,L){return F[0].possibleDescriptions.length===1?0:F[0].possibleDescriptions.length>1?1:-1}~(g=Q(a))&&(h=R[g]=S[g](a));let C=a[0].field.args.length>0&&ze(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),b(f.$$.fragment),o=I(),b(u.$$.fragment),p=I(),v&&v.c(),_=I(),h&&h.c(),T=I(),C&&C.c(),P=j(),this.h()},l(F){e=V(F,"P",{});var L=O(e);r=V(L,"SPAN",{style:!0});var ne=O(r);n=D(ne,t),ne.forEach(m),s=N(L),w(l.$$.fragment,L),i=N(L),w(f.$$.fragment,L),o=N(L),w(u.$$.fragment,L),p=N(L),v&&v.l(L),L.forEach(m),_=N(F),h&&h.l(F),T=N(F),C&&C.l(F),P=j(),this.h()},h(){pe(r,"font-weight","bold")},m(F,L){d(F,e,L),A(e,r),A(r,n),A(e,s),k(l,e,null),A(e,i),k(f,e,null),A(e,o),k(u,e,null),A(e,p),v&&v.m(e,null),d(F,_,L),~g&&R[g].m(F,L),d(F,T,L),C&&C.m(F,L),d(F,P,L),E=!0},p(F,L){var Ie;(!E||L&1)&&t!==(t=F[0].field.name+"")&&q(n,t);const ne={};L&1&&(ne.type=F[0].field.type),l.$set(ne);const Te={};L&1&&(Te.reason=F[0].field.deprecationReason),f.$set(Te);const Ee={};L&1&&(Ee.type=F[0].field.type),u.$set(Ee),(Ie=F[0].field.astNode)!=null&&Ie.directives?v?(v.p(F,L),L&1&&c(v,1)):(v=Oe(F),v.c(),c(v,1),v.m(e,null)):v&&(M(),$(v,1,1,()=>{v=null}),z());let ce=g;g=Q(F),g===ce?~g&&R[g].p(F,L):(h&&(M(),$(R[ce],1,1,()=>{R[ce]=null}),z()),~g?(h=R[g],h?h.p(F,L):(h=R[g]=S[g](F),h.c()),c(h,1),h.m(T.parentNode,T)):h=null),F[0].field.args.length>0?C?(C.p(F,L),L&1&&c(C,1)):(C=ze(F),C.c(),c(C,1),C.m(P.parentNode,P)):C&&(M(),$(C,1,1,()=>{C=null}),z())},i(F){E||(c(l.$$.fragment,F),c(f.$$.fragment,F),c(u.$$.fragment,F),c(v),c(h),c(C),E=!0)},o(F){$(l.$$.fragment,F),$(f.$$.fragment,F),$(u.$$.fragment,F),$(v),$(h),$(C),E=!1},d(F){F&&(m(e),m(_),m(T),m(P)),y(l),y(f),y(u),v&&v.d(),~g&&R[g].d(F),C&&C.d(F)}}}function yn(a){let e,r;return e=new ke({props:{$$slots:{default:[kn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&515&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function vn(a){let e,r;return e=new we({props:{$$slots:{default:[yn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&515&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Tn(a,e,r){let{item:t}=e;var n=!1;function s(l){n=l,r(1,n)}return a.$$set=l=>{"item"in l&&r(0,t=l.item)},[t,n,s]}class En extends G{constructor(e){super(),Y(this,e,Tn,vn,H,{item:0})}}function Ue(a,e,r){const t=a.slice();return t[3]=e[r],t}function Ve(a){let e,r;return e=new En({props:{item:a[3]}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.item=t[3]),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function In(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in l&&r(1,t=l.data)},a.$$.update=()=>{a.$$.dirty&2&&(n==="alphabetical"?r(0,s=le.sortBy(t,l=>l.field.name)):r(0,s=t))},[s,t]}class It extends G{constructor(e){super(),Y(this,e,An,Sn,H,{data:1})}}function He(a,e,r){const t=a.slice();return t[1]=e[r],t[3]=r,t}function Ge(a){let e=", ",r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},d(t){t&&m(r)}}}function Ye(a){let e,r,t;e=new oe({props:{type:a[1]}});let n=a[3]!==a[0].length-1&&Ge();return{c(){b(e.$$.fragment),n&&n.c(),r=j()},l(s){w(e.$$.fragment,s),n&&n.l(s),r=j()},m(s,l){k(e,s,l),n&&n.m(s,l),d(s,r,l),t=!0},p(s,l){const i={};l&1&&(i.type=s[1]),e.$set(i),s[3]!==s[0].length-1?n||(n=Ge(),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i(s){t||(c(e.$$.fragment,s),t=!0)},o(s){$(e.$$.fragment,s),t=!1},d(s){s&&m(r),y(e,s),n&&n.d(s)}}}function Bn(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"types"in n&&r(0,t=n.types)},[t]}class ue extends G{constructor(e){super(),Y(this,e,Dn,Bn,H,{types:0})}}function Pn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function qe(a){let e,r,t,n;return e=new K({props:{id:"fields",depth:2,$$slots:{default:[Fn]},$$scope:{ctx:a}}}),t=new It({props:{data:a[2]}}),{c(){b(e.$$.fragment),r=I(),b(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=N(s),w(t.$$.fragment,s)},m(s,l){k(e,s,l),d(s,r,l),k(t,s,l),n=!0},p(s,l){const i={};l&8&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const f={};l&4&&(f.data=s[2]),t.$set(f)},i(s){n||(c(e.$$.fragment,s),c(t.$$.fragment,s),n=!0)},o(s){$(e.$$.fragment,s),$(t.$$.fragment,s),n=!1},d(s){s&&m(r),y(e,s),y(t,s)}}}function Fn(a){let e;return{c(){e=B("Fields")},l(r){e=D(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Je(a){let e,r,t,n,s;return e=new K({props:{id:"implementations",depth:2,$$slots:{default:[Rn]},$$scope:{ctx:a}}}),t=new ue({props:{types:a[1]}}),{c(){b(e.$$.fragment),r=B(` +import{l as $t,B as Nt,C as St,D as At,f as Bt,E as pt,F as mt,G as _t,H as gt,I as dt,J as ht,y as J,w as Dt,x as Pt,_ as le,s as Ft,L as bt,R as $e}from"../chunks/pages.CneCpNB9.js";import{e as Rt}from"../chunks/index.CFDPqCvJ.js";import{s as H,v as Z,a4 as x,a5 as ee,g as O,d as m,k as ie,a6 as fe,l as d,m as A,n as re,u as se,w as ae,t as B,j as D,o as q,e as U,b as I,f as V,c as N,q as j,a2 as X,L as pe,D as wt,a7 as kt,E as me,F as _e,G as ge,H as de,h as Lt}from"../chunks/scheduler.Eaj42bxH.js";import{S as G,i as Y,c as b,a as w,m as k,t as c,b as $,d as y,g as M,e as z,f as yt}from"../chunks/index.CMSEJhCx.js";import{T as Ot,A as K,C as W,S as he,a as be,b as we,c as ke,L as jt,d as Mt,P as zt}from"../chunks/PreviousNextPage.CfYtgLwe.js";import{D as ye,a as vt,N as Tt,A as Ct,b as oe,c as Ut}from"../chunks/ArgsList._Wal39Gh.js";import{B as Vt}from"../chunks/Button.DKunqQyO.js";import{D as Ht}from"../chunks/DirectiveTag.BPf_LInC.js";function Ne(a){let e,r;return{c(){e=x("title"),r=B(a[1])},l(t){e=ee(t,"title",{});var n=O(e);r=D(n,a[1]),n.forEach(m)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&q(r,t[1])},d(t){t&&m(e)}}}function Gt(a){let e,r,t=a[1]&&Ne(a),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:a[0]},{height:a[0]},a[2],a[3]],s={};for(let l=0;l{r(5,e=Z(Z({},e),ae(o))),r(3,l=se(e,s)),"size"in o&&r(0,i=o.size),"title"in o&&r(1,f=o.title)},a.$$.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),[i,f,n,l,t]}class Se extends G{constructor(e){super(),Y(this,e,Yt,Gt,H,{size:0,title:1})}}function Ae(a){let e,r;return{c(){e=x("title"),r=B(a[1])},l(t){e=ee(t,"title",{});var n=O(e);r=D(n,a[1]),n.forEach(m)},m(t,n){d(t,e,n),A(e,r)},p(t,n){n&2&&q(r,t[1])},d(t){t&&m(e)}}}function qt(a){let e,r,t=a[1]&&Ae(a),n=[{xmlns:"http://www.w3.org/2000/svg"},{viewBox:"0 0 32 32"},{fill:"currentColor"},{preserveAspectRatio:"xMidYMid meet"},{width:a[0]},{height:a[0]},a[2],a[3]],s={};for(let l=0;l{r(5,e=Z(Z({},e),ae(o))),r(3,l=se(e,s)),"size"in o&&r(0,i=o.size),"title"in o&&r(1,f=o.title)},a.$$.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),[i,f,n,l,t]}class Be extends G{constructor(e){super(),Y(this,e,Jt,qt,H,{size:0,title:1})}}const Kt=!Nt(),Qt=({params:a,url:e})=>{const r=St(a.type),t=At(r),n=Bt(e.pathname);if(!r||!n)throw Rt(404,`Type ${a.type} not found.`);return{type:r,usages:t,page:n}},qr=Object.freeze(Object.defineProperty({__proto__:null,load:Qt,prerender:Kt},Symbol.toStringTag,{value:"Module"}));function Wt(a){let e=a[0]()+"",r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},p:re,d(t){t&&m(r)}}}function Xt(a){let e,r;return e=new Ot({props:{type:"teal",$$slots:{default:[Wt]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&4&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Zt(a,e,r){let{type:t}=e;function n(){return pt(t)?"Scalar":mt(t)?"Enum":_t(t)?"Interface":gt(t)?"Union":dt(t)?"Object":ht(t)?"Input Object":"Unknown"}return a.$$set=s=>{"type"in s&&r(1,t=s.type)},[n,t]}class te extends G{constructor(e){super(),Y(this,e,Zt,Xt,H,{type:1})}}function xt(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function en(a){let e,r,t,n,s;return r=new K({props:{id:"title",depth:1,$$slots:{default:[xt]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}}),{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment)},l(l){e=V(l,"SECTION",{});var i=O(e);w(r.$$.fragment,i),t=N(i),w(n.$$.fragment,i),i.forEach(m)},m(l,i){d(l,e,i),k(r,e,null),A(e,t),k(n,e,null),s=!0},p(l,[i]){const f={};i&3&&(f.$$scope={dirty:i,ctx:l}),r.$set(f);const o={};i&1&&(o.source=l[0].description),n.$set(o)},i(l){s||(c(r.$$.fragment,l),c(n.$$.fragment,l),s=!0)},o(l){$(r.$$.fragment,l),$(n.$$.fragment,l),s=!1},d(l){l&&m(e),y(r),y(n)}}}function tn(a,e,r){let{type:t}=e;return a.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class nn extends G{constructor(e){super(),Y(this,e,tn,en,H,{type:0})}}function De(a,e,r){const t=a.slice();return t[1]=e[r],t}function rn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function ln(a){let e;return{c(){e=B("Possible Values")},l(r){e=D(r,"Possible Values")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Pe(a){let e,r;return e=new W({props:{source:a[1].description}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.source=t[1].description),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function fn(a){let e,r,t=a[1].name+"",n,s,l,i,f,o;l=new ye({props:{reason:a[1].deprecationReason}});let u=a[1].description&&Pe(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),u&&u.c(),f=j(),this.h()},l(p){e=V(p,"P",{});var _=O(e);r=V(_,"SPAN",{style:!0});var g=O(r);n=D(g,t),g.forEach(m),s=N(_),w(l.$$.fragment,_),_.forEach(m),i=N(p),u&&u.l(p),f=j(),this.h()},h(){pe(r,"font-weight","bold")},m(p,_){d(p,e,_),A(e,r),A(r,n),A(e,s),k(l,e,null),d(p,i,_),u&&u.m(p,_),d(p,f,_),o=!0},p(p,_){(!o||_&1)&&t!==(t=p[1].name+"")&&q(n,t);const g={};_&1&&(g.reason=p[1].deprecationReason),l.$set(g),p[1].description?u?(u.p(p,_),_&1&&c(u,1)):(u=Pe(p),u.c(),c(u,1),u.m(f.parentNode,f)):u&&(M(),$(u,1,1,()=>{u=null}),z())},i(p){o||(c(l.$$.fragment,p),c(u),o=!0)},o(p){$(l.$$.fragment,p),$(u),o=!1},d(p){p&&(m(e),m(i),m(f)),y(l),u&&u.d(p)}}}function sn(a){let e,r,t;return e=new ke({props:{$$slots:{default:[fn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment),r=I()},l(n){w(e.$$.fragment,n),r=N(n)},m(n,s){k(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||(c(e.$$.fragment,n),t=!0)},o(n){$(e.$$.fragment,n),t=!1},d(n){n&&m(r),y(e,n)}}}function Fe(a){let e,r;return e=new we({props:{$$slots:{default:[sn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&17&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function an(a){let e,r,t=J(a[0].getValues()),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"type"in n&&r(0,t=n.type)},[t]}class $n extends G{constructor(e){super(),Y(this,e,cn,un,H,{type:0})}}function pn(a){let e=(a[0]?a[2]:a[3])+` (${a[1]})`,r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},p(t,n){n&15&&e!==(e=(t[0]?t[2]:t[3])+` (${t[1]})`)&&q(r,e)},d(t){t&&m(r)}}}function mn(a){let e,r,t;return r=new Vt({props:{kind:"ghost",size:"small",style:"border-radius: 20px",icon:a[0]?Be:Se,$$slots:{default:[pn]},$$scope:{ctx:a}}}),r.$on("click",a[4]),{c(){e=U("div"),b(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(m),this.h()},h(){ie(e,"class","button-wrapper svelte-8qz4j")},m(n,s){d(n,e,s),k(r,e,null),t=!0},p(n,[s]){const l={};s&1&&(l.icon=n[0]?Be:Se),s&47&&(l.$$scope={dirty:s,ctx:n}),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r)}}}function _n(a,e,r){let{totalItems:t}=e,{expandedText:n}=e,{collapsedText:s}=e,{expanded:l=!1}=e;const i=()=>r(0,l=!l);return a.$$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,i]}class Et extends G{constructor(e){super(),Y(this,e,_n,mn,H,{totalItems:1,expandedText:2,collapsedText:3,expanded:0})}}function gn(a){let e,r,t=a[0].from.name+"",n,s,l,i;return l=new W({props:{source:a[0].description}}),{c(){e=B("By "),r=U("em"),n=B(t),s=I(),b(l.$$.fragment)},l(f){e=D(f,"By "),r=V(f,"EM",{});var o=O(r);n=D(o,t),o.forEach(m),s=N(f),w(l.$$.fragment,f)},m(f,o){d(f,e,o),d(f,r,o),A(r,n),d(f,s,o),k(l,f,o),i=!0},p(f,[o]){(!i||o&1)&&t!==(t=f[0].from.name+"")&&q(n,t);const u={};o&1&&(u.source=f[0].description),l.$set(u)},i(f){i||(c(l.$$.fragment,f),i=!0)},o(f){$(l.$$.fragment,f),i=!1},d(f){f&&(m(e),m(r),m(s)),y(l,f)}}}function dn(a,e,r){let{item:t}=e;return a.$$set=n=>{"item"in n&&r(0,t=n.item)},[t]}class hn extends G{constructor(e){super(),Y(this,e,dn,gn,H,{item:0})}}function Re(a,e,r){const t=a.slice();return t[3]=e[r],t}function Le(a,e,r){const t=a.slice();return t[6]=e[r],t}function Oe(a){let e,r,t=J(a[0].field.astNode.directives),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lyt(r,"expanded",l)),{c(){s&&s.c(),e=I(),b(r.$$.fragment)},l(f){s&&s.l(f),e=N(f),w(r.$$.fragment,f)},m(f,o){s&&s.m(f,o),d(f,e,o),k(r,f,o),n=!0},p(f,o){f[1]?s?(s.p(f,o),o&2&&c(s,1)):(s=Ce(f),s.c(),c(s,1),s.m(e.parentNode,e)):s&&(M(),$(s,1,1,()=>{s=null}),z());const u={};o&1&&(u.totalItems=f[0].field.args.length),!t&&o&2&&(t=!0,u.expanded=f[1],kt(()=>t=!1)),r.$set(u)},i(f){n||(c(s),c(r.$$.fragment,f),n=!0)},o(f){$(s),$(r.$$.fragment,f),n=!1},d(f){f&&m(e),s&&s.d(f),y(r,f)}}}function Ce(a){let e,r,t;return r=new Ct({props:{data:a[0].field.args}}),{c(){e=U("div"),b(r.$$.fragment),this.h()},l(n){e=V(n,"DIV",{class:!0});var s=O(e);w(r.$$.fragment,s),s.forEach(m),this.h()},h(){ie(e,"class","arguments-list-wrapper svelte-1di407r")},m(n,s){d(n,e,s),k(r,e,null),t=!0},p(n,s){const l={};s&1&&(l.data=n[0].field.args),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r)}}}function kn(a){var ve;let e,r,t=a[0].field.name+"",n,s,l,i,f,o,u,p,_,g,h,T,P,E;l=new vt({props:{type:a[0].field.type}}),f=new ye({props:{reason:a[0].field.deprecationReason}}),u=new Tt({props:{type:a[0].field.type}});let v=((ve=a[0].field.astNode)==null?void 0:ve.directives)&&Oe(a);const S=[wn,bn],R=[];function Q(F,L){return F[0].possibleDescriptions.length===1?0:F[0].possibleDescriptions.length>1?1:-1}~(g=Q(a))&&(h=R[g]=S[g](a));let C=a[0].field.args.length>0&&ze(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),b(f.$$.fragment),o=I(),b(u.$$.fragment),p=I(),v&&v.c(),_=I(),h&&h.c(),T=I(),C&&C.c(),P=j(),this.h()},l(F){e=V(F,"P",{});var L=O(e);r=V(L,"SPAN",{style:!0});var ne=O(r);n=D(ne,t),ne.forEach(m),s=N(L),w(l.$$.fragment,L),i=N(L),w(f.$$.fragment,L),o=N(L),w(u.$$.fragment,L),p=N(L),v&&v.l(L),L.forEach(m),_=N(F),h&&h.l(F),T=N(F),C&&C.l(F),P=j(),this.h()},h(){pe(r,"font-weight","bold")},m(F,L){d(F,e,L),A(e,r),A(r,n),A(e,s),k(l,e,null),A(e,i),k(f,e,null),A(e,o),k(u,e,null),A(e,p),v&&v.m(e,null),d(F,_,L),~g&&R[g].m(F,L),d(F,T,L),C&&C.m(F,L),d(F,P,L),E=!0},p(F,L){var Ie;(!E||L&1)&&t!==(t=F[0].field.name+"")&&q(n,t);const ne={};L&1&&(ne.type=F[0].field.type),l.$set(ne);const Te={};L&1&&(Te.reason=F[0].field.deprecationReason),f.$set(Te);const Ee={};L&1&&(Ee.type=F[0].field.type),u.$set(Ee),(Ie=F[0].field.astNode)!=null&&Ie.directives?v?(v.p(F,L),L&1&&c(v,1)):(v=Oe(F),v.c(),c(v,1),v.m(e,null)):v&&(M(),$(v,1,1,()=>{v=null}),z());let ce=g;g=Q(F),g===ce?~g&&R[g].p(F,L):(h&&(M(),$(R[ce],1,1,()=>{R[ce]=null}),z()),~g?(h=R[g],h?h.p(F,L):(h=R[g]=S[g](F),h.c()),c(h,1),h.m(T.parentNode,T)):h=null),F[0].field.args.length>0?C?(C.p(F,L),L&1&&c(C,1)):(C=ze(F),C.c(),c(C,1),C.m(P.parentNode,P)):C&&(M(),$(C,1,1,()=>{C=null}),z())},i(F){E||(c(l.$$.fragment,F),c(f.$$.fragment,F),c(u.$$.fragment,F),c(v),c(h),c(C),E=!0)},o(F){$(l.$$.fragment,F),$(f.$$.fragment,F),$(u.$$.fragment,F),$(v),$(h),$(C),E=!1},d(F){F&&(m(e),m(_),m(T),m(P)),y(l),y(f),y(u),v&&v.d(),~g&&R[g].d(F),C&&C.d(F)}}}function yn(a){let e,r;return e=new ke({props:{$$slots:{default:[kn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&515&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function vn(a){let e,r;return e=new we({props:{$$slots:{default:[yn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&515&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Tn(a,e,r){let{item:t}=e;var n=!1;function s(l){n=l,r(1,n)}return a.$$set=l=>{"item"in l&&r(0,t=l.item)},[t,n,s]}class En extends G{constructor(e){super(),Y(this,e,Tn,vn,H,{item:0})}}function Ue(a,e,r){const t=a.slice();return t[3]=e[r],t}function Ve(a){let e,r;return e=new En({props:{item:a[3]}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&1&&(s.item=t[3]),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function In(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in l&&r(1,t=l.data)},a.$$.update=()=>{a.$$.dirty&2&&(n==="alphabetical"?r(0,s=le.sortBy(t,l=>l.field.name)):r(0,s=t))},[s,t]}class It extends G{constructor(e){super(),Y(this,e,An,Sn,H,{data:1})}}function He(a,e,r){const t=a.slice();return t[1]=e[r],t[3]=r,t}function Ge(a){let e=", ",r;return{c(){r=B(e)},l(t){r=D(t,e)},m(t,n){d(t,r,n)},d(t){t&&m(r)}}}function Ye(a){let e,r,t;e=new oe({props:{type:a[1]}});let n=a[3]!==a[0].length-1&&Ge();return{c(){b(e.$$.fragment),n&&n.c(),r=j()},l(s){w(e.$$.fragment,s),n&&n.l(s),r=j()},m(s,l){k(e,s,l),n&&n.m(s,l),d(s,r,l),t=!0},p(s,l){const i={};l&1&&(i.type=s[1]),e.$set(i),s[3]!==s[0].length-1?n||(n=Ge(),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i(s){t||(c(e.$$.fragment,s),t=!0)},o(s){$(e.$$.fragment,s),t=!1},d(s){s&&m(r),y(e,s),n&&n.d(s)}}}function Bn(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"types"in n&&r(0,t=n.types)},[t]}class ue extends G{constructor(e){super(),Y(this,e,Dn,Bn,H,{types:0})}}function Pn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function qe(a){let e,r,t,n;return e=new K({props:{id:"fields",depth:2,$$slots:{default:[Fn]},$$scope:{ctx:a}}}),t=new It({props:{data:a[2]}}),{c(){b(e.$$.fragment),r=I(),b(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=N(s),w(t.$$.fragment,s)},m(s,l){k(e,s,l),d(s,r,l),k(t,s,l),n=!0},p(s,l){const i={};l&8&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const f={};l&4&&(f.data=s[2]),t.$set(f)},i(s){n||(c(e.$$.fragment,s),c(t.$$.fragment,s),n=!0)},o(s){$(e.$$.fragment,s),$(t.$$.fragment,s),n=!1},d(s){s&&m(r),y(e,s),y(t,s)}}}function Fn(a){let e;return{c(){e=B("Fields")},l(r){e=D(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Je(a){let e,r,t,n,s;return e=new K({props:{id:"implementations",depth:2,$$slots:{default:[Rn]},$$scope:{ctx:a}}}),t=new ue({props:{types:a[1]}}),{c(){b(e.$$.fragment),r=B(` Implemented by `),b(t.$$.fragment),n=B(".")},l(l){w(e.$$.fragment,l),r=D(l,` Implemented by `),w(t.$$.fragment,l),n=D(l,".")},m(l,i){k(e,l,i),d(l,r,i),k(t,l,i),d(l,n,i),s=!0},p(l,i){const f={};i&8&&(f.$$scope={dirty:i,ctx:l}),e.$set(f);const o={};i&2&&(o.types=l[1]),t.$set(o)},i(l){s||(c(e.$$.fragment,l),c(t.$$.fragment,l),s=!0)},o(l){$(e.$$.fragment,l),$(t.$$.fragment,l),s=!1},d(l){l&&(m(r),m(n)),y(e,l),y(t,l)}}}function Rn(a){let e;return{c(){e=B("Implementations")},l(r){e=D(r,"Implementations")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Ke(a){let e,r,t,n,s,l,i;return e=new K({props:{id:"interfaces",depth:2,$$slots:{default:[Ln]},$$scope:{ctx:a}}}),s=new ue({props:{types:a[0].getInterfaces()}}),{c(){b(e.$$.fragment),r=I(),t=U("p"),n=B("Also implements "),b(s.$$.fragment),l=B(".")},l(f){w(e.$$.fragment,f),r=N(f),t=V(f,"P",{});var o=O(t);n=D(o,"Also implements "),w(s.$$.fragment,o),l=D(o,"."),o.forEach(m)},m(f,o){k(e,f,o),d(f,r,o),d(f,t,o),A(t,n),k(s,t,null),A(t,l),i=!0},p(f,o){const u={};o&8&&(u.$$scope={dirty:o,ctx:f}),e.$set(u);const p={};o&1&&(p.types=f[0].getInterfaces()),s.$set(p)},i(f){i||(c(e.$$.fragment,f),c(s.$$.fragment,f),i=!0)},o(f){$(e.$$.fragment,f),$(s.$$.fragment,f),i=!1},d(f){f&&(m(r),m(t)),y(e,f),y(s)}}}function Ln(a){let e;return{c(){e=B("Interfaces")},l(r){e=D(r,"Interfaces")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function On(a){let e,r,t,n,s,l=Object.keys(a[0].getFields()).length>0,i,f,o=a[0].getInterfaces().length>0,u;r=new K({props:{id:"title",depth:1,$$slots:{default:[Pn]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}});let p=l&&qe(a),_=a[1].length>0&&Je(a),g=o&&Ke(a);return{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment),s=I(),p&&p.c(),i=I(),_&&_.c(),f=I(),g&&g.c()},l(h){e=V(h,"SECTION",{});var T=O(e);w(r.$$.fragment,T),t=N(T),w(n.$$.fragment,T),s=N(T),p&&p.l(T),i=N(T),_&&_.l(T),f=N(T),g&&g.l(T),T.forEach(m)},m(h,T){d(h,e,T),k(r,e,null),A(e,t),k(n,e,null),A(e,s),p&&p.m(e,null),A(e,i),_&&_.m(e,null),A(e,f),g&&g.m(e,null),u=!0},p(h,[T]){const P={};T&9&&(P.$$scope={dirty:T,ctx:h}),r.$set(P);const E={};T&1&&(E.source=h[0].description),n.$set(E),T&1&&(l=Object.keys(h[0].getFields()).length>0),l?p?(p.p(h,T),T&1&&c(p,1)):(p=qe(h),p.c(),c(p,1),p.m(e,i)):p&&(M(),$(p,1,1,()=>{p=null}),z()),h[1].length>0?_?(_.p(h,T),T&2&&c(_,1)):(_=Je(h),_.c(),c(_,1),_.m(e,f)):_&&(M(),$(_,1,1,()=>{_=null}),z()),T&1&&(o=h[0].getInterfaces().length>0),o?g?(g.p(h,T),T&1&&c(g,1)):(g=Ke(h),g.c(),c(g,1),g.m(e,null)):g&&(M(),$(g,1,1,()=>{g=null}),z())},i(h){u||(c(r.$$.fragment,h),c(n.$$.fragment,h),c(p),c(_),c(g),u=!0)},o(h){$(r.$$.fragment,h),$(n.$$.fragment,h),$(p),$(_),$(g),u=!1},d(h){h&&m(e),y(r),y(n),p&&p.d(),_&&_.d(),g&&g.d()}}}function jn(a,e,r){let{type:t}=e,n,s;return a.$$set=l=>{"type"in l&&r(0,t=l.type)},a.$$.update=()=>{a.$$.dirty&1&&r(1,n=Ft.getPossibleTypes(t)),a.$$.dirty&1&&r(2,s=bt(t))},[t,n,s]}class Mn extends G{constructor(e){super(),Y(this,e,jn,On,H,{type:0})}}function zn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function Qe(a){let e,r,t,n;return e=new K({props:{id:"fields",depth:2,$$slots:{default:[Cn]},$$scope:{ctx:a}}}),t=new It({props:{data:a[1]}}),{c(){b(e.$$.fragment),r=I(),b(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=N(s),w(t.$$.fragment,s)},m(s,l){k(e,s,l),d(s,r,l),k(t,s,l),n=!0},p(s,l){const i={};l&4&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const f={};l&2&&(f.data=s[1]),t.$set(f)},i(s){n||(c(e.$$.fragment,s),c(t.$$.fragment,s),n=!0)},o(s){$(e.$$.fragment,s),$(t.$$.fragment,s),n=!1},d(s){s&&m(r),y(e,s),y(t,s)}}}function Cn(a){let e;return{c(){e=B("Fields")},l(r){e=D(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function We(a){let e,r,t,n,s,l,i;return e=new K({props:{id:"interfaces",depth:2,$$slots:{default:[Un]},$$scope:{ctx:a}}}),s=new ue({props:{types:a[0].getInterfaces()}}),{c(){b(e.$$.fragment),r=I(),t=U("p"),n=B("Also implements "),b(s.$$.fragment),l=B(".")},l(f){w(e.$$.fragment,f),r=N(f),t=V(f,"P",{});var o=O(t);n=D(o,"Also implements "),w(s.$$.fragment,o),l=D(o,"."),o.forEach(m)},m(f,o){k(e,f,o),d(f,r,o),d(f,t,o),A(t,n),k(s,t,null),A(t,l),i=!0},p(f,o){const u={};o&4&&(u.$$scope={dirty:o,ctx:f}),e.$set(u);const p={};o&1&&(p.types=f[0].getInterfaces()),s.$set(p)},i(f){i||(c(e.$$.fragment,f),c(s.$$.fragment,f),i=!0)},o(f){$(e.$$.fragment,f),$(s.$$.fragment,f),i=!1},d(f){f&&(m(r),m(t)),y(e,f),y(s)}}}function Un(a){let e;return{c(){e=B("Interfaces")},l(r){e=D(r,"Interfaces")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Vn(a){let e,r,t,n,s,l,i=a[0].getInterfaces().length>0,f;r=new K({props:{id:"title",depth:1,$$slots:{default:[zn]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}});let o=a[1].length>0&&Qe(a),u=i&&We(a);return{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment),s=I(),o&&o.c(),l=I(),u&&u.c()},l(p){e=V(p,"SECTION",{});var _=O(e);w(r.$$.fragment,_),t=N(_),w(n.$$.fragment,_),s=N(_),o&&o.l(_),l=N(_),u&&u.l(_),_.forEach(m)},m(p,_){d(p,e,_),k(r,e,null),A(e,t),k(n,e,null),A(e,s),o&&o.m(e,null),A(e,l),u&&u.m(e,null),f=!0},p(p,[_]){const g={};_&5&&(g.$$scope={dirty:_,ctx:p}),r.$set(g);const h={};_&1&&(h.source=p[0].description),n.$set(h),p[1].length>0?o?(o.p(p,_),_&2&&c(o,1)):(o=Qe(p),o.c(),c(o,1),o.m(e,l)):o&&(M(),$(o,1,1,()=>{o=null}),z()),_&1&&(i=p[0].getInterfaces().length>0),i?u?(u.p(p,_),_&1&&c(u,1)):(u=We(p),u.c(),c(u,1),u.m(e,null)):u&&(M(),$(u,1,1,()=>{u=null}),z())},i(p){f||(c(r.$$.fragment,p),c(n.$$.fragment,p),c(o),c(u),f=!0)},o(p){$(r.$$.fragment,p),$(n.$$.fragment,p),$(o),$(u),f=!1},d(p){p&&m(e),y(r),y(n),o&&o.d(),u&&u.d()}}}function Hn(a,e,r){let{type:t}=e,n;return a.$$set=s=>{"type"in s&&r(0,t=s.type)},a.$$.update=()=>{a.$$.dirty&1&&r(1,n=bt(t))},[t,n]}class Gn extends G{constructor(e){super(),Y(this,e,Hn,Vn,H,{type:0})}}function Yn(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function qn(a){let e;return{c(){e=B("Types")},l(r){e=D(r,"Types")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function Jn(a){let e,r,t,n,s,l,i,f,o,u,p,_;return r=new K({props:{id:"title",depth:1,$$slots:{default:[Yn]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}}),l=new K({props:{id:"types",depth:2,$$slots:{default:[qn]},$$scope:{ctx:a}}}),u=new ue({props:{types:a[0].getTypes()}}),{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment),s=I(),b(l.$$.fragment),i=I(),f=U("p"),o=B("Union of types "),b(u.$$.fragment),p=B(".")},l(g){e=V(g,"SECTION",{});var h=O(e);w(r.$$.fragment,h),t=N(h),w(n.$$.fragment,h),s=N(h),w(l.$$.fragment,h),i=N(h),f=V(h,"P",{});var T=O(f);o=D(T,"Union of types "),w(u.$$.fragment,T),p=D(T,"."),T.forEach(m),h.forEach(m)},m(g,h){d(g,e,h),k(r,e,null),A(e,t),k(n,e,null),A(e,s),k(l,e,null),A(e,i),A(e,f),A(f,o),k(u,f,null),A(f,p),_=!0},p(g,[h]){const T={};h&3&&(T.$$scope={dirty:h,ctx:g}),r.$set(T);const P={};h&1&&(P.source=g[0].description),n.$set(P);const E={};h&2&&(E.$$scope={dirty:h,ctx:g}),l.$set(E);const v={};h&1&&(v.types=g[0].getTypes()),u.$set(v)},i(g){_||(c(r.$$.fragment,g),c(n.$$.fragment,g),c(l.$$.fragment,g),c(u.$$.fragment,g),_=!0)},o(g){$(r.$$.fragment,g),$(n.$$.fragment,g),$(l.$$.fragment,g),$(u.$$.fragment,g),_=!1},d(g){g&&m(e),y(r),y(n),y(l),y(u)}}}function Kn(a,e,r){let{type:t}=e;return a.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class Qn extends G{constructor(e){super(),Y(this,e,Kn,Jn,H,{type:0})}}function Xe(a,e,r){const t=a.slice();return t[2]=e[r],t}function Ze(a){let e,r=a[2].description+"",t;return{c(){e=U("p"),t=B(r)},l(n){e=V(n,"P",{});var s=O(e);t=D(s,r),s.forEach(m)},m(n,s){d(n,e,s),A(e,t)},p(n,s){s&1&&r!==(r=n[2].description+"")&&q(t,r)},d(n){n&&m(e)}}}function xe(a){let e,r,t;return r=new Ut({props:{value:a[2].default}}),{c(){e=B("Default: "),b(r.$$.fragment)},l(n){e=D(n,"Default: "),w(r.$$.fragment,n)},m(n,s){d(n,e,s),k(r,n,s),t=!0},p(n,s){const l={};s&1&&(l.value=n[2].default),r.$set(l)},i(n){t||(c(r.$$.fragment,n),t=!0)},o(n){$(r.$$.fragment,n),t=!1},d(n){n&&m(e),y(r,n)}}}function Wn(a){let e,r,t=a[2].name+"",n,s,l,i,f,o,u,p,_,g,h;l=new vt({props:{type:a[2].type}}),f=new ye({props:{reason:a[2].deprecationReason}}),u=new Tt({props:{type:a[2].type}});let T=a[2].description&&Ze(a),P=a[2].default&&xe(a);return{c(){e=U("p"),r=U("span"),n=B(t),s=I(),b(l.$$.fragment),i=I(),b(f.$$.fragment),o=I(),b(u.$$.fragment),p=I(),T&&T.c(),_=I(),P&&P.c(),g=j(),this.h()},l(E){e=V(E,"P",{});var v=O(e);r=V(v,"SPAN",{style:!0});var S=O(r);n=D(S,t),S.forEach(m),s=N(v),w(l.$$.fragment,v),i=N(v),w(f.$$.fragment,v),o=N(v),w(u.$$.fragment,v),v.forEach(m),p=N(E),T&&T.l(E),_=N(E),P&&P.l(E),g=j(),this.h()},h(){pe(r,"font-weight","bold")},m(E,v){d(E,e,v),A(e,r),A(r,n),A(e,s),k(l,e,null),A(e,i),k(f,e,null),A(e,o),k(u,e,null),d(E,p,v),T&&T.m(E,v),d(E,_,v),P&&P.m(E,v),d(E,g,v),h=!0},p(E,v){(!h||v&1)&&t!==(t=E[2].name+"")&&q(n,t);const S={};v&1&&(S.type=E[2].type),l.$set(S);const R={};v&1&&(R.reason=E[2].deprecationReason),f.$set(R);const Q={};v&1&&(Q.type=E[2].type),u.$set(Q),E[2].description?T?T.p(E,v):(T=Ze(E),T.c(),T.m(_.parentNode,_)):T&&(T.d(1),T=null),E[2].default?P?(P.p(E,v),v&1&&c(P,1)):(P=xe(E),P.c(),c(P,1),P.m(g.parentNode,g)):P&&(M(),$(P,1,1,()=>{P=null}),z())},i(E){h||(c(l.$$.fragment,E),c(f.$$.fragment,E),c(u.$$.fragment,E),c(P),h=!0)},o(E){$(l.$$.fragment,E),$(f.$$.fragment,E),$(u.$$.fragment,E),$(P),h=!1},d(E){E&&(m(e),m(p),m(_),m(g)),y(l),y(f),y(u),T&&T.d(E),P&&P.d(E)}}}function Xn(a){let e,r,t;return e=new ke({props:{$$slots:{default:[Wn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment),r=I()},l(n){w(e.$$.fragment,n),r=N(n)},m(n,s){k(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||(c(e.$$.fragment,n),t=!0)},o(n){$(e.$$.fragment,n),t=!1},d(n){n&&m(r),y(e,n)}}}function et(a){let e,r;return e=new we({props:{$$slots:{default:[Xn]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,n){const s={};n&33&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function Zn(a){let e,r,t=J(a[0]),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l{"data"in s&&r(1,n=s.data)},a.$$.update=()=>{a.$$.dirty&2&&r(0,t=le.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 nr extends G{constructor(e){super(),Y(this,e,tr,er,H,{data:1})}}function rr(a){let e=a[0].name+"",r,t,n,s;return n=new te({props:{type:a[0]}}),{c(){r=B(e),t=I(),b(n.$$.fragment)},l(l){r=D(l,e),t=N(l),w(n.$$.fragment,l)},m(l,i){d(l,r,i),d(l,t,i),k(n,l,i),s=!0},p(l,i){(!s||i&1)&&e!==(e=l[0].name+"")&&q(r,e);const f={};i&1&&(f.type=l[0]),n.$set(f)},i(l){s||(c(n.$$.fragment,l),s=!0)},o(l){$(n.$$.fragment,l),s=!1},d(l){l&&(m(r),m(t)),y(n,l)}}}function tt(a){let e,r,t,n;return e=new K({props:{id:"fields",depth:2,$$slots:{default:[lr]},$$scope:{ctx:a}}}),t=new nr({props:{data:le.map(a[0].getFields(),nt)}}),{c(){b(e.$$.fragment),r=I(),b(t.$$.fragment)},l(s){w(e.$$.fragment,s),r=N(s),w(t.$$.fragment,s)},m(s,l){k(e,s,l),d(s,r,l),k(t,s,l),n=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),e.$set(i);const f={};l&1&&(f.data=le.map(s[0].getFields(),nt)),t.$set(f)},i(s){n||(c(e.$$.fragment,s),c(t.$$.fragment,s),n=!0)},o(s){$(e.$$.fragment,s),$(t.$$.fragment,s),n=!1},d(s){s&&m(r),y(e,s),y(t,s)}}}function lr(a){let e;return{c(){e=B("Fields")},l(r){e=D(r,"Fields")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function fr(a){let e,r,t,n,s,l=Object.keys(a[0].getFields()).length>0,i;r=new K({props:{id:"title",depth:1,$$slots:{default:[rr]},$$scope:{ctx:a}}}),n=new W({props:{source:a[0].description}});let f=l&&tt(a);return{c(){e=U("section"),b(r.$$.fragment),t=I(),b(n.$$.fragment),s=I(),f&&f.c()},l(o){e=V(o,"SECTION",{});var u=O(e);w(r.$$.fragment,u),t=N(u),w(n.$$.fragment,u),s=N(u),f&&f.l(u),u.forEach(m)},m(o,u){d(o,e,u),k(r,e,null),A(e,t),k(n,e,null),A(e,s),f&&f.m(e,null),i=!0},p(o,[u]){const p={};u&3&&(p.$$scope={dirty:u,ctx:o}),r.$set(p);const _={};u&1&&(_.source=o[0].description),n.$set(_),u&1&&(l=Object.keys(o[0].getFields()).length>0),l?f?(f.p(o,u),u&1&&c(f,1)):(f=tt(o),f.c(),c(f,1),f.m(e,null)):f&&(M(),$(f,1,1,()=>{f=null}),z())},i(o){i||(c(r.$$.fragment,o),c(n.$$.fragment,o),c(f),i=!0)},o(o){$(r.$$.fragment,o),$(n.$$.fragment,o),$(f),i=!1},d(o){o&&m(e),y(r),y(n),f&&f.d()}}}const nt=a=>a;function sr(a,e,r){let{type:t}=e;return a.$$set=n=>{"type"in n&&r(0,t=n.type)},[t]}class ar extends G{constructor(e){super(),Y(this,e,sr,fr,H,{type:0})}}function ir(a){let e;const r=a[0].default,t=me(r,a,a[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?de(r,n[1],s,null):ge(n[1]),null)},i(n){e||(c(t,n),e=!0)},o(n){$(t,n),e=!1},d(n){t&&t.d(n)}}}function or(a){let e,r;return e=new jt({props:{class:"markdown-list-item",$$slots:{default:[ir]},$$scope:{ctx:a}}}),{c(){b(e.$$.fragment)},l(t){w(e.$$.fragment,t)},m(t,n){k(e,t,n),r=!0},p(t,[n]){const s={};n&2&&(s.$$scope={dirty:n,ctx:t}),e.$set(s)},i(t){r||(c(e.$$.fragment,t),r=!0)},o(t){$(e.$$.fragment,t),r=!1},d(t){y(e,t)}}}function ur(a,e,r){let{$$slots:t={},$$scope:n}=e;return a.$$set=s=>{"$$scope"in s&&r(1,n=s.$$scope)},[t,n]}class cr extends G{constructor(e){super(),Y(this,e,ur,or,H,{})}}function rt(a,e,r){const t=a.slice();return t[5]=e[r],t[7]=r,t}const $r=a=>({}),lt=a=>({index:a[7]});function ft(a,e,r){const t=a.slice();return t[5]=e[r],t[7]=r,t}const pr=a=>({}),st=a=>({index:a[7]});function mr(a){let e,r,t=J(a[0].slice(0,3)),n=[];for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l$(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;lyt(e,"expanded",n)),{c(){b(e.$$.fragment)},l(l){w(e.$$.fragment,l)},m(l,i){k(e,l,i),t=!0},p(l,i){const f={};i&1&&(f.totalItems=l[0].length),!r&&i&2&&(r=!0,f.expanded=l[1],kt(()=>r=!1)),e.$set(f)},i(l){t||(c(e.$$.fragment,l),t=!0)},o(l){$(e.$$.fragment,l),t=!1},d(l){y(e,l)}}}function gr(a){let e,r,t,n,s;const l=[_r,mr],i=[];function f(u,p){return u[1]?0:1}e=f(a),r=i[e]=l[e](a);let o=a[0].length>3&&ot(a);return{c(){r.c(),t=I(),o&&o.c(),n=j()},l(u){r.l(u),t=N(u),o&&o.l(u),n=j()},m(u,p){i[e].m(u,p),d(u,t,p),o&&o.m(u,p),d(u,n,p),s=!0},p(u,[p]){let _=e;e=f(u),e===_?i[e].p(u,p):(M(),$(i[_],1,1,()=>{i[_]=null}),z(),r=i[e],r?r.p(u,p):(r=i[e]=l[e](u),r.c()),c(r,1),r.m(t.parentNode,t)),u[0].length>3?o?(o.p(u,p),p&1&&c(o,1)):(o=ot(u),o.c(),c(o,1),o.m(n.parentNode,n)):o&&(M(),$(o,1,1,()=>{o=null}),z())},i(u){s||(c(r),c(o),s=!0)},o(u){$(r),$(o),s=!1},d(u){u&&(m(t),m(n)),i[e].d(u),o&&o.d(u)}}}function dr(a,e,r){let{$$slots:t={},$$scope:n}=e,{items:s}=e,l=!1;function i(f){l=f,r(1,l)}return a.$$set=f=>{"items"in f&&r(0,s=f.items),"$$scope"in f&&r(2,n=f.$$scope)},[s,l,n,t,i]}class hr extends G{constructor(e){super(),Y(this,e,dr,gr,H,{items:0})}}function ut(a){const e=a[0].references[a[1]];a[2]=e}function br(a){let e;return{c(){e=B("Usages")},l(r){e=D(r,"Usages")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function wr(a){let e;return{c(){e=B("References")},l(r){e=D(r,"References")},m(r,t){d(r,e,t)},d(r){r&&m(e)}}}function kr(a){let e,r,t=a[2].by.name+"",n,s,l,i=a[2].field.name+"",f,o,u,p;return u=new oe({props:{type:a[2].type}}),{c(){e=B("Argument "),r=U("em"),n=B(t),s=B(" of field "),l=U("em"),f=B(i),o=B(` from type `),b(u.$$.fragment)},l(_){e=D(_,"Argument "),r=V(_,"EM",{});var g=O(r);n=D(g,t),g.forEach(m),s=D(_," of field "),l=V(_,"EM",{});var h=O(l);f=D(h,i),h.forEach(m),o=D(_,` diff --git a/public/docs/_app/version.json b/public/docs/_app/version.json index 1494629..51b0500 100644 --- a/public/docs/_app/version.json +++ b/public/docs/_app/version.json @@ -1 +1 @@ -{"version":"1713220636600"} \ No newline at end of file +{"version":"1713222341791"} \ 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 56bdf4a..a5e54d5 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:

@@ -43,7 +43,7 @@