@intent-hq/web 2.342.1 → 2.342.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{zBPK5s1-.js → 0x6dqQIa.js} +1 -1
- package/web/app/immutable/chunks/{Cx3mm-QI.js → 1i6_ayQa.js} +1 -1
- package/web/app/immutable/chunks/{pd6ci8R7.js → 8u8SxllG.js} +1 -1
- package/web/app/immutable/chunks/{DIAwHvqh.js → ARTboVs8.js} +1 -1
- package/web/app/immutable/chunks/{B-Eh_eo4.js → B-sO71tc.js} +1 -1
- package/web/app/immutable/chunks/{C9gmZxfY.js → B03x8aVM.js} +1 -1
- package/web/app/immutable/chunks/{D7YcNS-l.js → B1arNP2P.js} +1 -1
- package/web/app/immutable/chunks/{_DgrG-uz.js → B1cHX7Xk.js} +1 -1
- package/web/app/immutable/chunks/{MdBXkHgJ.js → BAKjdnbI.js} +1 -1
- package/web/app/immutable/chunks/{BMcTRN7B.js → BCFyx55K.js} +1 -1
- package/web/app/immutable/chunks/{z4kq6KWc.js → BCQuOTkB.js} +1 -1
- package/web/app/immutable/chunks/{D_sSf0vv.js → BEaoRHTk.js} +1 -1
- package/web/app/immutable/chunks/{DNhsoFiW.js → BG2VczVu.js} +3 -3
- package/web/app/immutable/chunks/{B1eUs-GT.js → BGfE1mTB.js} +1 -1
- package/web/app/immutable/chunks/{BE2e7JDe.js → BHJLFedJ.js} +4 -4
- package/web/app/immutable/chunks/{C3Gh2blV.js → BHUnRRNH.js} +1 -1
- package/web/app/immutable/chunks/{DN4HOaG2.js → BIqvZNBF.js} +1 -1
- package/web/app/immutable/chunks/{B1ZQMY3n.js → BMCPlkQb.js} +1 -1
- package/web/app/immutable/chunks/{B-TrLhSP.js → BNWVLlL9.js} +1 -1
- package/web/app/immutable/chunks/{BuYqXi0L.js → BSOl3D1L.js} +3 -3
- package/web/app/immutable/chunks/{CJDdIkUD.js → BU0CN-Mi.js} +1 -1
- package/web/app/immutable/chunks/{ISabpJyz.js → BV0CWJbU.js} +1 -1
- package/web/app/immutable/chunks/{DzKmanpI.js → BV3VSi1D.js} +2 -2
- package/web/app/immutable/chunks/{uDKsIseI.js → BW_B7BlJ.js} +1 -1
- package/web/app/immutable/chunks/{ClkoN0_7.js → BYD1cpfb.js} +1 -1
- package/web/app/immutable/chunks/{Cr6nDIxG.js → B_D1XvND.js} +1 -1
- package/web/app/immutable/chunks/{BLBVN-SC.js → BawM1GKD.js} +1 -1
- package/web/app/immutable/chunks/{DVtimWsJ.js → Bf8tb4wz.js} +1 -1
- package/web/app/immutable/chunks/{NSeFolqL.js → BiPV5llL.js} +5 -5
- package/web/app/immutable/chunks/{CWkugLNW.js → Bj7GSp-O.js} +1 -1
- package/web/app/immutable/chunks/{bTTOLC6Y.js → BllPddzf.js} +1 -1
- package/web/app/immutable/chunks/{DlOELRPg.js → Bo0nUuSe.js} +1 -1
- package/web/app/immutable/chunks/{Cc2PZs8y.js → Bpcv_J4e.js} +1 -1
- package/web/app/immutable/chunks/{C7sevXRg.js → BquLFLry.js} +2 -2
- package/web/app/immutable/chunks/{DUiZSnMh.js → BrPW9js0.js} +1 -1
- package/web/app/immutable/chunks/{CkzLAxTX.js → Bv_1j8Lx.js} +1 -1
- package/web/app/immutable/chunks/{DqpwsXVv.js → BwFLOTNQ.js} +1 -1
- package/web/app/immutable/chunks/{CJ00qudQ.js → BzjYW7xk.js} +1 -1
- package/web/app/immutable/chunks/{CWY8k4gh.js → C4GpMBeP.js} +1 -1
- package/web/app/immutable/chunks/{YUTOcxSv.js → C4UdVbF_.js} +1 -1
- package/web/app/immutable/chunks/{bqt2f6_K.js → C8ljN5z8.js} +1 -1
- package/web/app/immutable/chunks/{Ceet7yGK.js → CBGE1E0g.js} +1 -1
- package/web/app/immutable/chunks/{DcRC-D9-.js → CD9jD52C.js} +1 -1
- package/web/app/immutable/chunks/{DiJfTLSL.js → CE0Qbu3w.js} +1 -1
- package/web/app/immutable/chunks/{DzM_rrom.js → CGtv3cos.js} +1 -1
- package/web/app/immutable/chunks/{BFQ4zSOP.js → CIwBzQHU.js} +1 -1
- package/web/app/immutable/chunks/{DB0FiVwX.js → CIzDk_zI.js} +1 -1
- package/web/app/immutable/chunks/{DOFEO5SQ.js → CJdFZ1LA.js} +2 -2
- package/web/app/immutable/chunks/{Dy-xIfFO.js → CL9t4ZAe.js} +1 -1
- package/web/app/immutable/chunks/{GP5gU8GB.js → CMzyDAl1.js} +2 -2
- package/web/app/immutable/chunks/{sLhSSNGJ.js → CNuU1B-f.js} +1 -1
- package/web/app/immutable/chunks/{CgpO_ER6.js → CO7_izcq.js} +1 -1
- package/web/app/immutable/chunks/{DBNIVHC3.js → CR0wuNAQ.js} +1 -1
- package/web/app/immutable/chunks/{ao08AFko.js → CSLJ-jez.js} +1 -1
- package/web/app/immutable/chunks/{D0JTb-x1.js → CSQ_fnji.js} +1 -1
- package/web/app/immutable/chunks/{Bxc9qqDR.js → CTg5aOyU.js} +1 -1
- package/web/app/immutable/chunks/{LiN3qoUD.js → CU4q4tsx.js} +1 -1
- package/web/app/immutable/chunks/{99pf2UTc.js → CUftuAIh.js} +1 -1
- package/web/app/immutable/chunks/{DnLdM-QZ.js → CVw1BeiY.js} +1 -1
- package/web/app/immutable/chunks/{CLjY0iIn.js → CWZ7mpOj.js} +1 -1
- package/web/app/immutable/chunks/{CHM8aaKI.js → CXtWfXOk.js} +1 -1
- package/web/app/immutable/chunks/{BUBp-Ovl.js → C_IbqdcR.js} +1 -1
- package/web/app/immutable/chunks/{wkk-WhNm.js → CaxQfH_l.js} +1 -1
- package/web/app/immutable/chunks/{C2UoIc_W.js → CckCknq8.js} +1 -1
- package/web/app/immutable/chunks/{DU2uhw3t.js → CdbkOJyf.js} +1 -1
- package/web/app/immutable/chunks/{B1qL2mIF.js → Cf1W9csW.js} +1 -1
- package/web/app/immutable/chunks/{D6uMWlr5.js → Cl-TOt-H.js} +1 -1
- package/web/app/immutable/chunks/{Cy6EJnAj.js → CmOwZBIE.js} +1 -1
- package/web/app/immutable/chunks/{q04RkU5w.js → CmPCJSSG.js} +1 -1
- package/web/app/immutable/chunks/{DZGJMqUt.js → CnnuzDl4.js} +1 -1
- package/web/app/immutable/chunks/{D4zAmJHw.js → CnysHsqM.js} +3 -3
- package/web/app/immutable/chunks/Coblm6PA.js +175 -0
- package/web/app/immutable/chunks/{Dlqod_D5.js → Cu9fTXDM.js} +1 -1
- package/web/app/immutable/chunks/{CI3AMzpC.js → CvpN2ntt.js} +1 -1
- package/web/app/immutable/chunks/{IUYHwj-Q.js → Cy0flNZe.js} +1 -1
- package/web/app/immutable/chunks/{BRqXLjM4.js → D-rFVAfw.js} +1 -1
- package/web/app/immutable/chunks/{CS4gjpMT.js → D16XyjdQ.js} +1 -1
- package/web/app/immutable/chunks/{BSjdkOXN.js → D3dEuJnw.js} +1 -1
- package/web/app/immutable/chunks/{Bd_hasKp.js → D7hU4nML.js} +1 -1
- package/web/app/immutable/chunks/{CBPH6RMz.js → D9l0jrxc.js} +1 -1
- package/web/app/immutable/chunks/{DryTclNg.js → DAHG8VFe.js} +1 -1
- package/web/app/immutable/chunks/{ChCpmZvV.js → DBAiCEuC.js} +1 -1
- package/web/app/immutable/chunks/{7sX0Tp9W.js → DF2UsCIw.js} +1 -1
- package/web/app/immutable/chunks/{DEyE92PJ.js → DJXGgEUK.js} +2 -2
- package/web/app/immutable/chunks/{CeRfV5NA.js → DKru45dM.js} +2 -2
- package/web/app/immutable/chunks/{Cg13XVA6.js → DNjSjUPQ.js} +1 -1
- package/web/app/immutable/chunks/{EUuCRgBG.js → DOBhNX3p.js} +2 -2
- package/web/app/immutable/chunks/{D4JPXZyy.js → DQQdA4K3.js} +1 -1
- package/web/app/immutable/chunks/{nwJTcqVj.js → DRVWOSo1.js} +1 -1
- package/web/app/immutable/chunks/{CeFwx3XL.js → DRs35PDf.js} +1 -1
- package/web/app/immutable/chunks/{BO7tTahy.js → DVIMjmZu.js} +1 -1
- package/web/app/immutable/chunks/{-Dxv6K1p.js → DXSPB--o.js} +1 -1
- package/web/app/immutable/chunks/{SB0oeZZm.js → DXuzXMqh.js} +1 -1
- package/web/app/immutable/chunks/{Cy1w4EdG.js → DcBQoqUj.js} +4 -4
- package/web/app/immutable/chunks/{Cc3t1-St.js → DeG9fDv0.js} +1 -1
- package/web/app/immutable/chunks/{Cmktqw1t.js → DefhHE22.js} +1 -1
- package/web/app/immutable/chunks/{CpSj3JZp.js → DfB0B1KO.js} +3 -3
- package/web/app/immutable/chunks/{B2YL0V12.js → DfTEJbwY.js} +2 -2
- package/web/app/immutable/chunks/{BKh5-nTu.js → DfpuTCWq.js} +1 -1
- package/web/app/immutable/chunks/{CdFUlmVm.js → DjNKFaGs.js} +1 -1
- package/web/app/immutable/chunks/{Dmx6eQHl.js → DjXa_Id4.js} +1 -1
- package/web/app/immutable/chunks/{BIKajrVX.js → Dl2hKdK8.js} +1 -1
- package/web/app/immutable/chunks/{BlnajRfF.js → DlTU3Vab.js} +1 -1
- package/web/app/immutable/chunks/{wYgRppwI.js → DpcFZgpL.js} +1 -1
- package/web/app/immutable/chunks/{-mR18H9M.js → DrW1ovmd.js} +1 -1
- package/web/app/immutable/chunks/{xB4HOmid.js → DtIYVb7q.js} +1 -1
- package/web/app/immutable/chunks/{DoBxwPW8.js → Du8MDRKf.js} +12 -12
- package/web/app/immutable/chunks/{CdceEfVS.js → DuberDif.js} +1 -1
- package/web/app/immutable/chunks/{CYgBZucw.js → DuqPG5hn.js} +3 -3
- package/web/app/immutable/chunks/{D2MxkB-j.js → Dw7vCIPg.js} +1 -1
- package/web/app/immutable/chunks/{ChGUMi8s.js → DyYampZL.js} +4 -4
- package/web/app/immutable/chunks/{BT9dxP4b.js → LdScknGk.js} +1 -1
- package/web/app/immutable/chunks/{vuPofDJd.js → NjlV1WJd.js} +1 -1
- package/web/app/immutable/chunks/{BAeRDdCp.js → OvxzalpE.js} +1 -1
- package/web/app/immutable/chunks/{DzBwn-Yt.js → Poqpz709.js} +1 -1
- package/web/app/immutable/chunks/{CdG4iBQs.js → SCDnOgXN.js} +1 -1
- package/web/app/immutable/chunks/{BI6d_Sls.js → WWdulpT-.js} +1 -1
- package/web/app/immutable/chunks/{CuuefJC4.js → _pQ-TiLj.js} +1 -1
- package/web/app/immutable/chunks/{vOds2UO6.js → cdv6-ttx.js} +1 -1
- package/web/app/immutable/chunks/{sxD3pQ34.js → cw-D0WSV.js} +1 -1
- package/web/app/immutable/chunks/{B0P-JC2_.js → fPSk9nMW.js} +1 -1
- package/web/app/immutable/chunks/{B4aLuSlK.js → lApOuXc7.js} +1 -1
- package/web/app/immutable/chunks/{DiCe745f.js → wLlGz-Fv.js} +1 -1
- package/web/app/immutable/chunks/{Cc-3_ZEX.js → zCJVgQ0H.js} +1 -1
- package/web/app/immutable/entry/{app.DxHiQ2oX.js → app.C_tZYG_a.js} +2 -2
- package/web/app/immutable/entry/start.Cq4TY_yo.js +1 -0
- package/web/app/immutable/nodes/{0.CN8CENFf.js → 0.CyLJTlGn.js} +1 -1
- package/web/app/immutable/nodes/{1.BA-nuCLe.js → 1.C3ky_JLm.js} +1 -1
- package/web/app/immutable/nodes/{10.CZGA3bGf.js → 10.CiQpynoE.js} +1 -1
- package/web/app/immutable/nodes/{14.BhhKV3d_.js → 14.CHWSdLUD.js} +1 -1
- package/web/app/immutable/nodes/{17.KM-T33gb.js → 17.Bt_3PCle.js} +2 -2
- package/web/app/immutable/nodes/{2.DPjewEhy.js → 2.uiZCQd8c.js} +4 -4
- package/web/app/immutable/nodes/{3.CFq56H2j.js → 3.L51ZJZBh.js} +1 -1
- package/web/app/immutable/nodes/{4.r9Tkg-el.js → 4.DHO0h1Bf.js} +1 -1
- package/web/app/immutable/nodes/{5.DyN42GGq.js → 5.CXlGhIbG.js} +1 -1
- package/web/app/immutable/nodes/{6.CcFwXeH9.js → 6.D3CgeUJf.js} +1 -1
- package/web/app/immutable/nodes/{7.utZT-aFD.js → 7.bpZwTl2d.js} +1 -1
- package/web/app/immutable/nodes/{8.Cj-VG2gq.js → 8.DP5s58EM.js} +4 -4
- package/web/app/immutable/nodes/{9.DAntSadP.js → 9.DWXaoBWu.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/DjQNgs4p.js +0 -175
- package/web/app/immutable/entry/start.BiwGykY4.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BVwzqysu.js","/app/immutable/chunks/D5ej8a-y.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/ppRpwazH.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/Cuqq8bL5.js","/app/immutable/chunks/DXyyWeag.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/DyvrH0mm.js","/app/immutable/chunks/DHQOuksI.js","/app/immutable/chunks/DNBv5HWD.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{t as Yt,br as N,a_ as C,bz as te,bv as z,bt as ee,b as re,bp as n,_ as se}from"./DXyyWeag.js";import{bo as ae,bs as ne,ca as F,bH as Z,c5 as yt,aD as O,bj as ie,a5 as D,bS as p,bA as R,b_ as x,W as f,bn as oe,cd as lt,bV as kt,c9 as G,aA as J,bl as I,bO as h,ay as wt,aB as y}from"./DYhIMPy1.js";import{v as St,w as le,u as ce}from"./CjaOLL1c.js";import{b as ue}from"./BaIAhI85.js";import{b as de}from"./4xlJdO9z.js";import{Iy as m,C8 as pe,B_ as me,BZ as fe,Is as _e,BL as ve,ii as be,iI as ge}from"./D5ej8a-y.js";import{a as xe,T as he,D as ye,L as ke,o as we}from"./BnovDLUv.js";import{F as ct,c_ as Se,c6 as $e,cW as Ae}from"./BTdkHPOB.js";import{f as $t}from"./Bfr1QjPr.js";import{k as rt}from"./DT4bpJWb.js";import"./Cuqq8bL5.js";import"./ChTqQfQN.js";import"./DJkHth-B.js";import{r as Ce}from"./BJneMVAK.js";import{selectScriptById as ut,selectScriptRuntime as Fe,selectScriptOutput as At,selectScriptRetainedOutput as Oe,selectCanDeleteScript as Ct}from"./
|
|
2
|
+
import{t as Yt,br as N,a_ as C,bz as te,bv as z,bt as ee,b as re,bp as n,_ as se}from"./DXyyWeag.js";import{bo as ae,bs as ne,ca as F,bH as Z,c5 as yt,aD as O,bj as ie,a5 as D,bS as p,bA as R,b_ as x,W as f,bn as oe,cd as lt,bV as kt,c9 as G,aA as J,bl as I,bO as h,ay as wt,aB as y}from"./DYhIMPy1.js";import{v as St,w as le,u as ce}from"./CjaOLL1c.js";import{b as ue}from"./BaIAhI85.js";import{b as de}from"./4xlJdO9z.js";import{Iy as m,C8 as pe,B_ as me,BZ as fe,Is as _e,BL as ve,ii as be,iI as ge}from"./D5ej8a-y.js";import{a as xe,T as he,D as ye,L as ke,o as we}from"./BnovDLUv.js";import{F as ct,c_ as Se,c6 as $e,cW as Ae}from"./BTdkHPOB.js";import{f as $t}from"./Bfr1QjPr.js";import{k as rt}from"./DT4bpJWb.js";import"./Cuqq8bL5.js";import"./ChTqQfQN.js";import"./DJkHth-B.js";import{r as Ce}from"./BJneMVAK.js";import{selectScriptById as ut,selectScriptRuntime as Fe,selectScriptOutput as At,selectScriptRetainedOutput as Oe,selectCanDeleteScript as Ct}from"./BCQuOTkB.js";import{g as De}from"./DEYvT_CO.js";import{bS as Re,dL as Ie,dl as Ft}from"./Cg2SHWhQ.js";import"./Co9PgWQA.js";import"./BKnW-cqy.js";import"./Dwmx7Nbz.js";import{c as Le}from"./g8YNVDho.js";import{H as Ot}from"./DtIYVb7q.js";var Dt=y("<!> ",1),Be=y('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Te=y('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Ee=y('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Pe=y('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),We=y('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),qe=y('<code class="text-muted-foreground font-mono text-xs"> </code>'),ze=y('<span class="sr-only"> </span>'),Me=y('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!> <!></div></div>'),je=y('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function Ue(_,c){const j=ae();if(new.target)return Yt({component:Ue,..._});ne(c,!0);const L=()=>z(qt,"$outputAuthority",B),u=()=>z(Bt,"$runtime$",B),v=()=>z(Tt,"$output$",B),S=()=>z(Wt,"$codeFontFamilyCSS",B),M=()=>z(Et,"$retainedOutput$",B),Rt=()=>z(Pt,"$hidesAgentLifecycleActions$",B),dt=()=>z(Lt,"$script$",B),[B,It]=ee();let $=N(c,"scriptId",7),b=N(c,"workspaceId",7),st=N(c,"class",7,""),at=N(c,"runDisabled",7,!1),T=N(c,"runDisabledReason",7,null);const pt=G(()=>at()||T()!==null),E=lt(""),U=lt(""),mt=lt("");let nt=kt(!1);F(()=>E.set(b())),F(()=>U.set($()));let P,i=null,H=null,Q=null,V=null,W=null,X=null;const Lt=ut(E,U),Bt=Fe(E,U),Tt=At(E,U),Et=Oe(E,U,mt),Pt=Re(E),Wt=De(),qt=Ie(E),ft=crypto.randomUUID();F(()=>{const t=b();return $(),()=>{t&&m.dispatch(pe(t,ft))}}),F(()=>{const t=b(),e=$(),a=L(),s=u();if(!a||!t||!e)return;s.status,s.startedAt;const l=crypto.randomUUID();return mt.set(l),Z(nt,yt(()=>v().chunks.length===0),!0),m.dispatch(me(t,e,l)),()=>m.dispatch(fe(t,e,l))});let Y=kt(0);const zt=G(()=>u().status==="exited"&&u().exitCode!=null&&u().exitCode!==0&&u().exitCode<128);function Mt(){if(!P||i)return;V=new he(P);const t=V.getCurrentTheme();i=new ye({allowProposedApi:!0,fontFamily:S(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),i.attachCustomKeyEventHandler(a=>{const s=a.metaKey||a.ctrlKey;return!(s&&a.key==="`"||s&&a.key==="j"||s&&a.key==="k")}),H=new we,i.loadAddon(H);const e=new ke((a,s)=>{try{const l=new URL(s);l.hostname==="localhost"||l.hostname==="127.0.0.1"?Ce(s).then(g=>{se(async()=>{const{getPanelLayoutManager:k}=await import("./BVwzqysu.js").then(A=>A.p);return{getPanelLayoutManager:k}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url).then(({getPanelLayoutManager:k})=>{k(b()).openBrowserPanel(g.url,void 0,void 0,g.requestedUrl)}).catch(()=>{window.open(g.url,"_blank")})}):window.open(s,"_blank")}catch{window.open(s,"_blank")}});i.loadAddon(e),i.open(P),V.applyTheme(i),X=requestAnimationFrame(()=>{X=null,H?.fit()}),Q=new ResizeObserver(()=>{H?.fit()}),Q.observe(P),jt()}function jt(){if(!i)return;const t=At.select(m.state,b(),$());t.chunks.length>0&&i.write(t.chunks.map(e=>e.text).join("")),Z(Y,t.dropped+t.chunks.length)}function _t(){W!==null&&(cancelAnimationFrame(W),W=null),X!==null&&(cancelAnimationFrame(X),X=null),Q?.disconnect(),Q=null,V?.dispose(),V=null;const t=i;i=null,H=null,Z(Y,0),t&&xe(t)}F(()=>{const t=v(),e=yt(()=>O(Y)),a=t.dropped+t.chunks.length;if(!i||a<=e)return;const s=Math.max(e-t.dropped,0);i.write(t.chunks.slice(s).map(l=>l.text).join("")),Z(Y,a)}),F(()=>{const t=S();i&&i.options.fontFamily!==t&&(i.options.fontFamily=t)});function Ut(){O(pt)||m.dispatch(_e(b(),$()))}function Ht(){if(!b()){rt.error(n.terminal_scriptOutput_noWorkspace_error());return}m.dispatch(be(b(),$(),M()?.text,ft))}F(()=>{u().status==="idle"&&v().chunks.length===0&&_t()}),F(()=>{!(u().status==="idle"&&v().chunks.length===0)&&P&&!i&&(W!==null&&cancelAnimationFrame(W),W=requestAnimationFrame(()=>{W=null,Mt()}))}),ie(()=>{_t()});var Vt={get scriptId(){return $()},set scriptId(t){$(t),J()},get workspaceId(){return b()},set workspaceId(t){b(t),J()},get class(){return st()},set class(t=""){st(t),J()},get runDisabled(){return at()},set runDisabled(t=!1){at(t),J()},get runDisabledReason(){return T()},set runDisabledReason(t=null){T(t),J()},$set:te,$on:(t,e)=>re(c,t,e)},tt=je(),vt=D(tt);{var Xt=t=>{var e=Be(),a=D(e),s=D(a),l=D(s);ct(l,{get icon(){return Se},size:"xs"}),R(s);var g=p(s,2),k=I(g,!0);R(a);var A=p(a,2);{var d=r=>{$t(r,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Ht,children:(o,w)=>{var q=Dt(),K=wt(q);ct(K,{get icon(){return Ae},size:"sm",class:"mr-1.5"});var et=p(K);x(ot=>h(et,` ${ot??""}`),[()=>n.terminal_scriptOutput_askAiToFix_label()]),f(o,q)},$$slots:{default:!0}})};C(A,r=>{Rt()||r(d)})}R(e),x(r=>h(k,r),[()=>n.terminal_scriptOutput_buildFailed_label({exitCode:u().exitCode??0})]),f(t,e)};C(vt,t=>{O(zt)&&t(Xt)})}var bt=p(vt,2);{var Kt=t=>{var e=Pe(),a=D(e),s=I(a,!0),l=p(a,2),g=I(l,!0),k=p(l,2);{var A=r=>{var o=Te();let w;var q=I(o,!0);x(()=>{w=le(o,"",w,{"font-family":S()}),h(q,M().text)}),f(r,o)},d=r=>{var o=Ee(),w=I(o,!0);x(q=>h(w,q),[()=>M().status==="loading"?n.terminal_scriptOutput_retainedLoading_label():n.terminal_scriptOutput_retainedUnavailable_label()]),f(r,o)};C(k,r=>{M().status==="available"?r(A):r(d,-1)})}R(e),x((r,o)=>{h(s,r),h(g,o)},[()=>n.terminal_scriptOutput_retained_label(),()=>n.terminal_scriptOutput_retained_description()]),de("open","toggle",e,r=>Z(nt,r),()=>O(nt)),f(t,e)};C(bt,t=>{M()&&t(Kt)})}var gt=p(bt,2);{var Nt=t=>{var e=We(),a=I(e,!0);x(s=>h(a,s),[()=>n.terminal_scriptOutput_live_label()]),f(t,e)};C(gt,t=>{v().chunks.length>0&&M()&&t(Nt)})}var xt=p(gt,2);{var Zt=t=>{var e=Me(),a=D(e),s=p(D(a),2);{var l=d=>{var r=qe(),o=I(r,!0);x(w=>h(o,w),[()=>ve(dt())]),f(d,r)};C(s,d=>{dt()&&d(l)})}var g=p(s,2);{let d=G(()=>T()??void 0),r=G(()=>n.terminal_scriptOutput_run_label()),o=G(()=>T()?j:void 0);$t(g,{variant:"ghost",size:"xs",get disabled(){return O(pt)},get tooltip(){return O(d)},get"aria-label"(){return O(r)},get"aria-describedby"(){return O(o)},onclick:Ut,class:"text-muted-foreground hover:text-foreground",children:(w,q)=>{var K=Dt(),et=wt(K);ct(et,{get icon(){return $e},class:"h-3 w-3 mr-1"});var ot=p(et);x(Qt=>h(ot,` ${Qt??""}`),[()=>n.terminal_scriptOutput_run_label()]),f(w,K)},$$slots:{default:!0}})}var k=p(g,2);{var A=d=>{var r=ze(),o=I(r,!0);x(()=>{ce(r,"id",j),h(o,T())}),f(d,r)};C(k,d=>{T()&&d(A)})}R(a),R(e),f(t,e)};C(xt,t=>{u().status==="idle"&&v().chunks.length===0&&t(Zt)})}var it=p(xt,2);let ht;var Gt=D(it);ue(Gt,t=>P=t,()=>P),R(it),R(tt),x(()=>{St(tt,1,`script-output-viewer ${st()??""}`,"svelte-115p4sl"),ht=St(it,1,"flex-1 relative overflow-hidden",null,ht,{hidden:u().status==="idle"&&v().chunks.length===0})}),f(_,tt);var Jt=oe(Vt);return It(),Jt}async function pr(_,c,j){const L=ut.select(m.state,_,c);if(!L||!j()||!Ct.select(m.state,_,c))return;const u=Ot(L.runtime?.status),v=Ft.select(m.state,_);if(!v){rt.error(n.workspace_client_accessChanged_error());return}if(!await Le({title:n.scripts_delete_title({name:L.name}),description:u?n.scripts_delete_running_description():n.scripts_delete_description(),confirmLabel:n.scripts_delete_label(),destructive:!0}))return;if(v!==Ft.select(m.state,_)){rt.error(n.workspace_client_accessChanged_error());return}const S=ut.select(m.state,_,c);if(!j()||!S||S.createdAt!==L.createdAt||S.name!==L.name||!u&&Ot(S.runtime?.status)||!Ct.select(m.state,_,c)){rt.error(n.scripts_delete_changed_error());return}m.dispatch(ge(_,c,n.terminal_quakeOverlay_deleteScriptFailed_error()))}export{Ue as S,pr as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,aW as o}from"./
|
|
1
|
+
import{b as a,aW as o}from"./DyYampZL.js";var g=a((t,e)=>{let n;return e==="sandbox"&&(n=o("#i"+t)),(e==="sandbox"?o(n.nodes()[0].contentDocument.body):o("body")).select(`[id="${t}"]`)},"getDiagramElement");export{g};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aZ as pi,U as mi,Y as $t,b0 as yi,V as bi,a_ as Ai,b as n,ay as Ut,aX as wi,B as Ci,r as Si,W as Tt,aV as Ri,q as qt,O as _i,a6 as ki,A as Ti,av as Ft}from"./
|
|
1
|
+
import{aZ as pi,U as mi,Y as $t,b0 as yi,V as bi,a_ as Ai,b as n,ay as Ut,aX as wi,B as Ci,r as Si,W as Tt,aV as Ri,q as qt,O as _i,a6 as ki,A as Ti,av as Ft}from"./DyYampZL.js";import{b as Xt,l as Yt}from"./B1cHX7Xk.js";var St=(function(){var e=n(function(O,r,g,u){for(g=g||{},u=O.length;u--;g[O[u]]=r);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],a=[1,5],h=[1,6],c=[1,7],m=[1,5,10,12,14,16,18,19,21,23,36,37,38],f=[1,25],d=[1,26],w=[1,28],k=[1,29],P=[1,30],W=[1,31],F=[1,32],v=[1,33],z=[1,34],b=[1,35],T=[1,36],l=[1,37],I=[1,43],V=[1,42],X=[1,47],Y=[1,50],R=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],A=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],C=[1,65],M=[26,28],_={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:n(function(r,g,u,x,S,o,lt){var p=o.length-1;switch(S){case 5:x.setOrientation(o[p]);break;case 9:x.setDiagramTitle(o[p].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[p]);break;case 13:x.setLineData(o[p-1],o[p]);break;case 14:x.setBarData({text:"",type:"text"},o[p]);break;case 15:x.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:case 30:this.$=[o[p-2],...o[p]];break;case 21:case 31:this.$=[o[p]];break;case 22:this.$={value:Number(o[p-1]),label:o[p]};break;case 23:this.$={value:Number(o[p]),label:""};break;case 24:x.setXAxisTitle(o[p]);break;case 25:x.setXAxisTitle(o[p-1]);break;case 26:x.setXAxisTitle({type:"text",text:""});break;case 27:x.setXAxisBand(o[p]);break;case 28:x.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 29:this.$=o[p-1];break;case 32:x.setYAxisTitle(o[p]);break;case 33:x.setYAxisTitle(o[p-1]);break;case 34:x.setYAxisTitle({type:"text",text:""});break;case 35:x.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 39:this.$={text:o[p],type:"text"};break;case 40:this.$={text:o[p],type:"text"};break;case 41:this.$={text:o[p],type:"markdown"};break;case 42:this.$=o[p];break;case 43:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,36:a,37:h,38:c}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,36:a,37:h,38:c}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:a,37:h,38:c}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,36:a,37:h,38:c}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,36:a,37:h,38:c}),{11:23,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:39,13:38,24:I,29:V,30:f,31:40,32:41,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:45,15:44,29:X,30:f,35:46,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:49,17:48,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:52,17:51,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{20:[1,53]},{22:[1,54]},e(R,[2,18]),{1:[2,2]},e(R,[2,8]),e(R,[2,9]),e(H,[2,39],{41:55,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l}),e(H,[2,40]),e(H,[2,41]),e(A,[2,42]),e(A,[2,44]),e(A,[2,45]),e(A,[2,46]),e(A,[2,47]),e(A,[2,48]),e(A,[2,49]),e(A,[2,50]),e(A,[2,51]),e(A,[2,52]),e(A,[2,53]),e(R,[2,10]),e(R,[2,24],{32:41,31:56,24:I,29:V}),e(R,[2,26]),e(R,[2,27]),{33:[1,57]},{11:59,30:f,34:58,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,11]),e(R,[2,32],{35:60,29:X}),e(R,[2,34]),{33:[1,61]},e(R,[2,12]),{17:62,24:Y},{25:63,27:64,29:C},e(R,[2,14]),{17:66,24:Y},e(R,[2,16]),e(R,[2,17]),e(A,[2,43]),e(R,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(R,[2,33]),{29:[1,70]},e(R,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(M,[2,23],{30:[1,73]}),e(R,[2,15]),e(R,[2,28]),e(R,[2,29]),{11:59,30:f,34:74,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,35]),e(R,[2,19]),{25:75,27:64,29:C},e(M,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:n(function(r,g){if(g.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=g,u}},"parseError"),parse:n(function(r){var g=this,u=[0],x=[],S=[null],o=[],lt=this.table,p="",dt=0,zt=0,ui=2,Vt=1,di=o.slice.call(arguments,1),D=Object.create(this.lexer),$={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&($.yy[bt]=this.yy[bt]);D.setInput(r,$.yy),$.yy.lexer=D,$.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var At=D.yylloc;o.push(At);var xi=D.options&&D.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fi(E){u.length=u.length-2*E,S.length=S.length-E,o.length=o.length-E}n(fi,"popStack");function Ot(){var E;return E=x.pop()||D.lex()||Vt,typeof E!="number"&&(E instanceof Array&&(x=E,E=x.pop()),E=g.symbols_[E]||E),E}n(Ot,"lex");for(var L,U,B,wt,j={},xt,N,Wt,ft;;){if(U=u[u.length-1],this.defaultActions[U]?B=this.defaultActions[U]:((L===null||typeof L>"u")&&(L=Ot()),B=lt[U]&<[U][L]),typeof B>"u"||!B.length||!B[0]){var Ct="";ft=[];for(xt in lt[U])this.terminals_[xt]&&xt>ui&&ft.push("'"+this.terminals_[xt]+"'");D.showPosition?Ct="Parse error on line "+(dt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Ct="Parse error on line "+(dt+1)+": Unexpected "+(L==Vt?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[L]||L,line:D.yylineno,loc:At,expected:ft})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+L);switch(B[0]){case 1:u.push(L),S.push(D.yytext),o.push(D.yylloc),u.push(B[1]),L=null,zt=D.yyleng,p=D.yytext,dt=D.yylineno,At=D.yylloc;break;case 2:if(N=this.productions_[B[1]][1],j.$=S[S.length-N],j._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},xi&&(j._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),wt=this.performAction.apply(j,[p,zt,dt,$.yy,B[1],S,o].concat(di)),typeof wt<"u")return wt;N&&(u=u.slice(0,-1*N*2),S=S.slice(0,-1*N),o=o.slice(0,-1*N)),u.push(this.productions_[B[1]][0]),S.push(j.$),o.push(j._$),Wt=lt[u[u.length-2]][u[u.length-1]],u.push(Wt);break;case 3:return!0}}return!0},"parse")},rt=(function(){var O={EOF:1,parseError:n(function(g,u){if(this.yy.parser)this.yy.parser.parseError(g,u);else throw new Error(g)},"parseError"),setInput:n(function(r,g){return this.yy=g||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var g=r.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var g=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===x.length?this.yylloc.first_column:0)+x[x.length-u.length].length-u[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),g=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ut}from"./Cr6nDIxG.js";import{s as Kt}from"./vOds2UO6.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./ChGUMi8s.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
|
|
1
|
+
import{g as Ut}from"./B_D1XvND.js";import{s as Kt}from"./cdv6-ttx.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./DyYampZL.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":St="Parse error on line "+(lt+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(St,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:mt,expected:ut})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(T[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(T[1]),E=null,Dt=m.yyleng,e=m.yytext,lt=m.yylineno,mt=m.yylloc;break;case 2:if(R=this.productions_[T[1]][1],U.$=_[_.length-R],U._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Et=this.performAction.apply(U,[e,Dt,lt,Y.yy,T[1],_,t].concat(Yt)),typeof Et<"u")return Et;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[T[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),setInput:f(function(n,l){return this.yy=l||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var ut=e=>{throw TypeError(e)};var rn=(e,t,n)=>t.has(e)||ut("Cannot "+n);var k=(e,t,n)=>(rn(e,t,"read from private field"),n?n.call(e):t.get(e)),j=(e,t,n)=>t.has(e)?ut("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n);import{ao as R,cd as We,bk as dt,bV as U,aD as N,bH as C,c0 as Se,bX as on,bP as an,c5 as sn}from"./DYhIMPy1.js";const Pt=!0;class Xe{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Ze{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Ee extends Error{constructor(t,n,o){super(o),this.status=t,this.text=n}}new URL("sveltekit-internal://");function cn(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function ln(e){return e.split("%25").map(decodeURI).join("%25")}function fn(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function Ve({href:e}){return e.split("#")[0]}function q(){}function un(...e){let t=5381;for(const n of e)if(typeof n=="string"){let o=n.length;for(;o;)t=t*33^n.charCodeAt(--o)}else if(ArrayBuffer.isView(n)){const o=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=o.length;for(;r;)t=t*33^o[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function dn(e){const t=atob(e),n=new Uint8Array(t.length);for(let o=0;o<t.length;o++)n[o]=t.charCodeAt(o);return n}let hn=0;const ht=window.fetch;if(R&&Pt){let e=!1;(async()=>{e=new Error().stack.includes("check_stack_trace")})(),window.fetch=(n,o)=>{const r=n instanceof Request?n.url:n.toString(),i=new Error().stack.split(`
|
|
2
2
|
`),a=i.findIndex(g=>g.includes("load@")||g.includes("at load")),s=i.slice(0,a+2).join(`
|
|
3
|
-
`),c=e?s.includes("src/runtime/client/client.js"):hn,f=o?.__sveltekit_fetch__;return c&&!f&&console.warn(`Loading ${r} using \`window.fetch\`. For best results, use the \`fetch\` that is passed to your \`load\` function: https://svelte.dev/docs/kit/load#making-fetch-requests`),(n instanceof Request?n.method:o?.method||"GET")!=="GET"&&Q.delete(Oe(n)),ht(n,o)}}else window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Q.delete(Oe(e)),ht(e,t));const Q=new Map;function pn(e,t){const n=Oe(e,t),o=document.querySelector(n);if(o?.textContent){o.remove();let{body:r,...i}=JSON.parse(o.textContent);o.getAttribute("data-b64")!==null&&(r=dn(r));const s=o.getAttribute("data-ttl");return s&&Q.set(n,{body:r,init:i,ttl:1e3*Number(s)}),Promise.resolve(new Response(r,i))}return R?It(e,t):window.fetch(e,t)}function gn(e,t,n){if(Q.size>0){const o=Oe(e,n),r=Q.get(o);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);Q.delete(o)}}return R?It(t,n):window.fetch(t,n)}function It(e,t){const n={...t};return Object.defineProperty(n,"__sveltekit_fetch__",{value:!0,writable:!0,configurable:!0}),window.fetch(e,n)}function Oe(e,t){let o=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),o+=`[data-hash="${un(...r)}"]`}return o}const _n=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,yn=/^\/\((?:[^)]+)\)$/;function mn(e){const t=[];return{pattern:e==="/"||yn.test(e)?/^\/$/:new RegExp(`^${vn(e).map(o=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(o);if(r)return t.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(o);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!o)return;const a=o.split(/\[(.+?)\](?!\])/);return"/"+a.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return qe(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return qe(String.fromCharCode(...c.slice(2).split("-").map(m=>parseInt(m,16))));const u=_n.exec(c),[,g,d,h,p]=u;return t.push({name:h,matcher:p,optional:!!g,rest:!!d,chained:d?f===1&&a[0]==="":!1}),d?"([^]*?)":g?"([^/]*)?":"([^/]+?)"}return qe(c)}).join("")}).join("")}/?$`),params:t}}function wn(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function vn(e){return e.slice(1).split("/").filter(wn)}function bn(e,t,n){const o={},r=e.slice(1),i=r.filter(s=>s!==void 0);let a=0;for(let s=0;s<t.length;s+=1){const c=t[s];let f=r[s-a];if(c.chained&&c.rest&&a&&(f=r.slice(s-a,s+1).filter(u=>u).join("/"),a=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||n[c.matcher](f)){o[c.name]=f;const u=t[s+1],g=r[s+1];u&&!u.rest&&u.optional&&g&&c.chained&&(a=0),!u&&!g&&Object.keys(o).length===i.length&&(a=0);continue}if(c.optional&&c.chained){a++;continue}return}if(!a)return o}function qe(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function kn({nodes:e,server_loads:t,dictionary:n,matchers:o}){const r=new Set(t);return Object.entries(n).map(([s,[c,f,u]])=>{const{pattern:g,params:d}=mn(s),h={id:s,exec:p=>{const m=g.exec(p);if(m)return bn(m,d,o)},errors:[1,...u||[]].map(p=>e[p]),layouts:[0,...f||[]].map(a),leaf:i(c)};return h.errors.length=h.layouts.length=Math.max(h.errors.length,h.layouts.length),h});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function a(s){return s===void 0?s:[r.has(s),e[s]]}}function xt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function pt(e,t,n=JSON.stringify){const o=n(t);try{sessionStorage[e]=o}catch{}}const I=globalThis.
|
|
4
|
-
`:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return e<" "?`\\u${e.charCodeAt(0).toString(16).padStart(4,"0")}`:""}}function M(e){let t="",n=0;const o=e.length;for(let r=0;r<o;r+=1){const i=e[r],a=Cn(i);a&&(t+=e.slice(n,r)+a,n=r+1)}return`"${n===0?e:t+e.slice(n)}"`}function Dn(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}const Bn=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function vt(e){return Bn.test(e)?"."+e:"["+JSON.stringify(e)+"]"}function Mn(e){return!(!Number.isInteger(e)||e<0||e>In)}function Vn(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n<48||n>57)return!1}return Mn(+e)}function qn(e){for(var t=e.length-1;t>=0&&!Vn(e[t]);t--);return t+1}function
|
|
5
|
-
`);!r||(!r[0].includes("https:")&&!r[0].includes("http:")&&(r=r.slice(1)),r[2]?.includes("node_modules"))||(e=!0,console.warn("Avoid using `history.pushState(...)` and `history.replaceState(...)` as these will conflict with SvelteKit's router. Use the `pushState` and `replaceState` imports from `$app/navigation` instead."))},n=history.pushState;history.pushState=(...r)=>(t(),n.apply(history,r));const o=history.replaceState;history.replaceState=(...r)=>(t(),o.apply(history,r))}const
|
|
3
|
+
`),c=e?s.includes("src/runtime/client/client.js"):hn,f=o?.__sveltekit_fetch__;return c&&!f&&console.warn(`Loading ${r} using \`window.fetch\`. For best results, use the \`fetch\` that is passed to your \`load\` function: https://svelte.dev/docs/kit/load#making-fetch-requests`),(n instanceof Request?n.method:o?.method||"GET")!=="GET"&&Q.delete(Oe(n)),ht(n,o)}}else window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Q.delete(Oe(e)),ht(e,t));const Q=new Map;function pn(e,t){const n=Oe(e,t),o=document.querySelector(n);if(o?.textContent){o.remove();let{body:r,...i}=JSON.parse(o.textContent);o.getAttribute("data-b64")!==null&&(r=dn(r));const s=o.getAttribute("data-ttl");return s&&Q.set(n,{body:r,init:i,ttl:1e3*Number(s)}),Promise.resolve(new Response(r,i))}return R?It(e,t):window.fetch(e,t)}function gn(e,t,n){if(Q.size>0){const o=Oe(e,n),r=Q.get(o);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);Q.delete(o)}}return R?It(t,n):window.fetch(t,n)}function It(e,t){const n={...t};return Object.defineProperty(n,"__sveltekit_fetch__",{value:!0,writable:!0,configurable:!0}),window.fetch(e,n)}function Oe(e,t){let o=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),o+=`[data-hash="${un(...r)}"]`}return o}const _n=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,yn=/^\/\((?:[^)]+)\)$/;function mn(e){const t=[];return{pattern:e==="/"||yn.test(e)?/^\/$/:new RegExp(`^${vn(e).map(o=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(o);if(r)return t.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(o);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!o)return;const a=o.split(/\[(.+?)\](?!\])/);return"/"+a.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return qe(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return qe(String.fromCharCode(...c.slice(2).split("-").map(m=>parseInt(m,16))));const u=_n.exec(c),[,g,d,h,p]=u;return t.push({name:h,matcher:p,optional:!!g,rest:!!d,chained:d?f===1&&a[0]==="":!1}),d?"([^]*?)":g?"([^/]*)?":"([^/]+?)"}return qe(c)}).join("")}).join("")}/?$`),params:t}}function wn(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function vn(e){return e.slice(1).split("/").filter(wn)}function bn(e,t,n){const o={},r=e.slice(1),i=r.filter(s=>s!==void 0);let a=0;for(let s=0;s<t.length;s+=1){const c=t[s];let f=r[s-a];if(c.chained&&c.rest&&a&&(f=r.slice(s-a,s+1).filter(u=>u).join("/"),a=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||n[c.matcher](f)){o[c.name]=f;const u=t[s+1],g=r[s+1];u&&!u.rest&&u.optional&&g&&c.chained&&(a=0),!u&&!g&&Object.keys(o).length===i.length&&(a=0);continue}if(c.optional&&c.chained){a++;continue}return}if(!a)return o}function qe(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function kn({nodes:e,server_loads:t,dictionary:n,matchers:o}){const r=new Set(t);return Object.entries(n).map(([s,[c,f,u]])=>{const{pattern:g,params:d}=mn(s),h={id:s,exec:p=>{const m=g.exec(p);if(m)return bn(m,d,o)},errors:[1,...u||[]].map(p=>e[p]),layouts:[0,...f||[]].map(a),leaf:i(c)};return h.errors.length=h.layouts.length=Math.max(h.errors.length,h.layouts.length),h});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function a(s){return s===void 0?s:[r.has(s),e[s]]}}function xt(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function pt(e,t,n=JSON.stringify){const o=n(t);try{sessionStorage[e]=o}catch{}}const I=globalThis.__sveltekit_slzisf?.base??"",Sn=globalThis.__sveltekit_slzisf?.assets??I??"",En="1794826372847",jt="sveltekit:snapshot",Ut="sveltekit:scroll",Qe="sveltekit:states",Nt="sveltekit:pageurl",G="sveltekit:history",ne="sveltekit:navigation",Y={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},je=location.origin;function Ue(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function J(){return{x:pageXOffset,y:pageYOffset}}const gt=new WeakSet,_t={"preload-code":["","off","false","tap","hover","viewport","eager"],"preload-data":["","off","false","tap","hover"],keepfocus:["","true","off","false"],noscroll:["","true","off","false"],reload:["","true","off","false"],replacestate:["","true","off","false"]};function X(e,t){const n=e.getAttribute(`data-sveltekit-${t}`);return R&&On(e,t,n),n}function On(e,t,n){n!==null&&!gt.has(e)&&!_t[t].includes(n)&&(console.error(`Unexpected value for ${t} — should be one of ${_t[t].map(o=>JSON.stringify(o)).join(", ")}`,e),gt.add(e))}const yt={...Y,"":Y.hover};function Ct(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Dt(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ct(e)}}function He(e,t,n){let o;try{if(o=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&o.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";o.hash=`#${s}${o.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!o||!!r||Ne(o,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=o?.origin===je&&e.hasAttribute("download");return{url:o,external:i,target:r,download:a}}function $e(e){let t=null,n=null,o=null,r=null,i=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=X(s,"preload-code")),r===null&&(r=X(s,"preload-data")),t===null&&(t=X(s,"keepfocus")),n===null&&(n=X(s,"noscroll")),i===null&&(i=X(s,"reload")),a===null&&(a=X(s,"replacestate")),s=Ct(s);function c(f){switch(f){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:yt[o??"off"],preload_data:yt[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function mt(e){const t=We(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&a(s=c)})}return{notify:o,set:r,subscribe:i}}const Bt={v:q};function $n(){const{set:e,subscribe:t}=We(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${Sn}/app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==En;return a&&(e(!0),Bt.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function Ne(e,t,n){return e.origin!==je||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Cr(e){}const Mt=-1,wt=-2,An=-3,Rn=-4,Tn=-5,Vt=-6,Ln=-7,Pn=2**32-1,In=Pn-1;class H extends Error{constructor(t,n,o,r){super(t),this.name="DevalueError",this.path=n.join(""),this.value=o,this.root=r}}const xn=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function jn(e){const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null||Object.getPrototypeOf(t)===null||Object.getOwnPropertyNames(t).sort().join("\0")===xn}function Un(e){return Object.prototype.toString.call(e).slice(8,-1)}function Nn(e){return typeof Buffer<"u"&&Buffer.isBuffer(e)}function Cn(e){switch(e){case'"':return'\\"';case"<":return"\\u003C";case"\\":return"\\\\";case`
|
|
4
|
+
`:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return e<" "?`\\u${e.charCodeAt(0).toString(16).padStart(4,"0")}`:""}}function M(e){let t="",n=0;const o=e.length;for(let r=0;r<o;r+=1){const i=e[r],a=Cn(i);a&&(t+=e.slice(n,r)+a,n=r+1)}return`"${n===0?e:t+e.slice(n)}"`}function Dn(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.getOwnPropertyDescriptor(e,t).enumerable)}const Bn=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/;function vt(e){return Bn.test(e)?"."+e:"["+JSON.stringify(e)+"]"}function Mn(e){return!(!Number.isInteger(e)||e<0||e>In)}function Vn(e){if(e.length===0||e.length>1&&e.charCodeAt(0)===48)return!1;for(let t=0;t<e.length;t++){const n=e.charCodeAt(t);if(n<48||n>57)return!1}return Mn(+e)}function qn(e){for(var t=e.length-1;t>=0&&!Vn(e[t]);t--);return t+1}function zn(e){const t=Object.keys(e);return t.length=qn(t),t}function Fn(e){return new Uint8Array(e).toBase64()}function Hn(e){return Buffer.from(e).toString("base64")}function Yn(e){const t=new Uint8Array(e);let n="";const o=32768;for(let r=0;r<t.length;r+=o){const i=t.subarray(r,r+o);n+=String.fromCharCode.apply(null,i)}return btoa(n)}const Gn=typeof Uint8Array.fromBase64=="function",Kn=typeof process=="object"&&process.versions?.node!==void 0,Jn=Gn?Fn:Kn?Hn:Yn;function Wn(e,t){return e}const Xn=Object.freeze({kind:"not-plain"}),Zn=Object.freeze({kind:"symbol-keys"}),Qn={identify:e=>e,typeOf:e=>e===null?"null":typeof e,toPrimitive:e=>e,tagOf:e=>Un(e),isThenable:e=>typeof e.then=="function",toPromise:e=>Promise.resolve(e),unbox:e=>e.valueOf(),toISOString:e=>isNaN(e.getDate())?"":e.toISOString(),toStringValue:e=>e.toString(),regExpInfo:e=>({source:e.source,flags:e.flags}),valuesOf:e=>e,entriesOf:e=>e,viewInfo:e=>(Nn(e)&&(e=new Uint8Array(e)),{buffer:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength,length:e.length,bufferByteLength:e.buffer.byteLength}),toArrayBuffer:e=>e,lengthOf:e=>e.length,hasOwn:(e,t)=>Object.hasOwn(e,t),indicesOf:e=>zn(e),shapeOf:e=>jn(e)?Dn(e).length>0?Zn:{kind:Object.getPrototypeOf(e)===null?"null-proto":"plain",keys:Object.keys(e)}:Xn,get:(e,t)=>e[t]},er=Object.freeze(Qn);Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get;typeof SharedArrayBuffer>"u"||Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get;function tr(e,t,n){const o=nr(!1,e);return typeof o=="string"?o:`[${o.join(",")}]`}function nr(e,t,n,o){const r=Wn(er),i=[],a=new Map,s=[],c=[];let f=0;function u(d,h){const p=r.typeOf(d);if(p==="undefined")return Mt;let m;if(p==="number"){if(m=r.toPrimitive(d),Number.isNaN(m))return An;if(m===1/0)return Rn;if(m===-1/0)return Tn;if(m===0&&1/m<0)return Vt}const _=r.identify(d);if(a.has(_))return a.get(_);h??=f++,a.set(_,h);for(const{key:b,fn:E}of s){const T=E(d);if(T)return i[h]=`["${b}",${u(T)}]`,h}if(p==="function")throw new H("Cannot stringify a function",c,d,t);if(p==="symbol")throw new H("Cannot stringify a Symbol primitive",c,d,t);let l="";if(p!=="object")l=bt(p==="number"?m:r.toPrimitive(d));else{if(r.isThenable(d))throw new H("Cannot stringify a Promise or thenable — use stringifyAsync instead",c,d,t);{const b=r.tagOf(d);switch(b){case"Number":case"String":case"Boolean":case"BigInt":l=`["Object",${u(r.unbox(d))}]`;break;case"Date":l=`["Date","${r.toISOString(d)}"]`;break;case"URL":l=`["URL",${M(r.toStringValue(d))}]`;break;case"URLSearchParams":l=`["URLSearchParams",${M(r.toStringValue(d))}]`;break;case"RegExp":const{source:E,flags:T}=r.regExpInfo(d);l=T?`["RegExp",${M(E)},"${T}"]`:`["RegExp",${M(E)}]`;break;case"Array":{let y=!1;const $=r.lengthOf(d);l="[";for(let w=0;w<$;w+=1)if(w>0&&(l+=","),r.hasOwn(d,w))c.push(`[${w}]`),l+=u(r.get(d,w)),c.pop();else if(y)l+=wt;else{const x=r.indicesOf(d),W=x.length,B=String($).length,re=($-W)*3,nn=4+B+W*(B+1);if(re>nn){l="["+Ln+","+$;for(let Be=0;Be<x.length;Be++){const Me=x[Be];c.push(`[${Me}]`),l+=","+Me+","+u(r.get(d,Me)),c.pop()}break}else y=!0,l+=wt}l+="]";break}case"Set":l='["Set"';for(const y of r.valuesOf(d))l+=`,${u(y)}`;l+="]";break;case"Map":l='["Map"';for(const[y,$]of r.entriesOf(d)){const w=r.typeOf(y),x=w!=="object"&&w!=="function"&&w!=="symbol";c.push(`.get(${x?bt(r.toPrimitive(y)):"..."})`),l+=`,${u(y)},${u($)}`,c.pop()}l+="]";break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const y=r.viewInfo(d);l='["'+b+'",'+u(y.buffer),y.byteLength!==y.bufferByteLength&&(l+=`,${y.byteOffset},${y.length}`),l+="]";break}case"DataView":{const y=r.viewInfo(d);l='["'+b+'",'+u(y.buffer),y.byteLength!==y.bufferByteLength&&(l+=`,${y.byteOffset},${y.byteLength}`),l+="]";break}case"ArrayBuffer":{l=`["ArrayBuffer","${Jn(r.toArrayBuffer(d))}"]`;break}case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":l=`["${b}",${M(r.toStringValue(d))}]`;break;default:{const y=r.shapeOf(d);if(y.kind==="not-plain")throw new H("Cannot stringify arbitrary non-POJOs",c,d,t);if(y.kind==="symbol-keys")throw new H("Cannot stringify POJOs with symbolic keys",c,d,t);if(y.kind==="null-proto"){l='["null"';for(const $ of y.keys){if($==="__proto__")throw new H("Cannot stringify objects with __proto__ keys",c,d,t);c.push(vt($)),l+=`,${M($)},${u(r.get(d,$))}`,c.pop()}l+="]"}else{l="{";let $=!1;for(const w of y.keys){if(w==="__proto__")throw new H("Cannot stringify objects with __proto__ keys",c,d,t);$&&(l+=","),$=!0,c.push(vt(w)),l+=`${M(w)}:${u(r.get(d,w))}`,c.pop()}l+="}"}}}}}return i[h]=l,h}const g=u(t);return g<0?`${g}`:i}function bt(e){const t=typeof e;return t==="string"?M(e):e===void 0?Mt.toString():e===0&&1/e<0?Vt.toString():t==="bigint"?`["BigInt","${e}"]`:String(e)}function rr(e){function t(n,o){if(n)for(const r in n){if(r[0]==="_"||e.has(r))continue;const i=[...e.values()],a=or(r,o?.slice(o.lastIndexOf(".")))??`valid exports are ${i.join(", ")}, or anything with a '_' prefix`;throw new Error(`Invalid export '${r}'${o?` in ${o}`:""} (${a})`)}}return t}function or(e,t=".js"){const n=[];if(et.has(e)&&n.push(`+layout${t}`),qt.has(e)&&n.push(`+page${t}`),zt.has(e)&&n.push(`+layout.server${t}`),ar.has(e)&&n.push(`+page.server${t}`),sr.has(e)&&n.push(`+server${t}`),n.length>0)return`'${e}' is a valid export in ${n.slice(0,-1).join(", ")}${n.length>1?" or ":""}${n.at(-1)}`}const et=new Set(["load","prerender","csr","ssr","trailingSlash","config"]),qt=new Set([...et,"entries"]),zt=new Set([...et]),ar=new Set([...zt,"actions","entries"]),sr=new Set(["GET","POST","PATCH","PUT","DELETE","OPTIONS","HEAD","fallback","prerender","trailingSlash","config","entries"]),ir=rr(qt);function cr(e){return e.filter(t=>t!=null)}function be(e,t){return e+"/"+t}function tt(e){return e instanceof Xe||e instanceof Ee?e.status:500}function lr(e){return e instanceof Ee?e.text:"Internal Error"}let A,se,ze;const fr=dt.toString().includes("$$")||/function \w+\(\) \{\}/.test(dt.toString()),kt="a:";var ue,de,he,pe,ge,_e,ye,me,Rt,we,Tt,ve,Lt;fr?(A={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(kt)},se={current:null},ze={current:!1}):(A=new(Rt=class{constructor(){j(this,ue,U({}));j(this,de,U(null));j(this,he,U(null));j(this,pe,U({}));j(this,ge,U({id:null}));j(this,_e,U({}));j(this,ye,U(-1));j(this,me,U(new URL(kt)))}get data(){return N(k(this,ue))}set data(t){C(k(this,ue),t)}get form(){return N(k(this,de))}set form(t){C(k(this,de),t)}get error(){return N(k(this,he))}set error(t){C(k(this,he),t)}get params(){return N(k(this,pe))}set params(t){C(k(this,pe),t)}get route(){return N(k(this,ge))}set route(t){C(k(this,ge),t)}get state(){return N(k(this,_e))}set state(t){C(k(this,_e),t)}get status(){return N(k(this,ye))}set status(t){C(k(this,ye),t)}get url(){return N(k(this,me))}set url(t){C(k(this,me),t)}},ue=new WeakMap,de=new WeakMap,he=new WeakMap,pe=new WeakMap,ge=new WeakMap,_e=new WeakMap,ye=new WeakMap,me=new WeakMap,Rt),se=new(Tt=class{constructor(){j(this,we,U(null))}get current(){return N(k(this,we))}set current(t){C(k(this,we),t)}},we=new WeakMap,Tt),ze=new(Lt=class{constructor(){j(this,ve,U(!1))}get current(){return N(k(this,ve))}set current(t){C(k(this,ve),t)}},ve=new WeakMap,Lt),Bt.v=()=>ze.current=!0);function Ft(e){Object.assign(A,e)}const{onMount:ur}=on,dr=sn??(e=>e()),hr=new Set(["icon","shortcut icon","apple-touch-icon"]);let oe=null;const F=xt(Ut)??{},ie=xt(jt)??{};if(R&&Pt){let e=!1;const t=()=>{if(e)return;let r=new Error().stack?.split(`
|
|
5
|
+
`);!r||(!r[0].includes("https:")&&!r[0].includes("http:")&&(r=r.slice(1)),r[2]?.includes("node_modules"))||(e=!0,console.warn("Avoid using `history.pushState(...)` and `history.replaceState(...)` as these will conflict with SvelteKit's router. Use the `pushState` and `replaceState` imports from `$app/navigation` instead."))},n=history.pushState;history.pushState=(...r)=>(t(),n.apply(history,r));const o=history.replaceState;history.replaceState=(...r)=>(t(),o.apply(history,r))}const z={url:mt({}),page:mt({}),navigating:We(null),updated:$n()};function nt(e){F[e]=J()}function pr(e,t){let n=e+1;for(;F[n];)delete F[n],n+=1;for(n=t+1;ie[n];)delete ie[n],n+=1}function ce(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(q)}async function Ht(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(I||"/");e&&await e.update()}}let rt,Ye,Ae,D,Ge,S;const Re=[],Te=[];let P=null;function Le(){P?.fork?.then(e=>e?.discard()),P=null,Z={element:void 0,href:void 0}}const ke=new Map,ot=new Set,gr=new Set,ee=new Set;let v={branch:[],error:null,url:null},Yt=!1,le=!1,St=!0,fe=!1,ae=!1,Gt=!1,at=!1,st,O,L,V;const Pe=new Set,Et=new Map,Ot=new Map;async function Vr(e,t,n){if(R&&t===document.body&&console.warn(`Placing %sveltekit.body% directly inside <body> is not recommended, as your app may break for users who have certain browser extensions installed.
|
|
6
6
|
|
|
7
7
|
Consider wrapping it in an element:
|
|
8
8
|
|
|
9
9
|
<div style="display: contents">
|
|
10
10
|
%sveltekit.body%
|
|
11
|
-
</div>`),globalThis.__sveltekit_9e1k8o.data){const{q:i={},p:a={},l:s={},f:c={}}=globalThis.__sveltekit_9e1k8o.data;for(const f in i)i[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in a)a[f]}document.URL!==location.href&&(location.href=location.href),S=e,await e.hooks.init?.(),rt=kn(e),D=document.documentElement,Ge=t,Ye=e.nodes[0],Ae=e.nodes[1],Ye(),Ae(),O=history.state?.[G],L=history.state?.[ne],O||(O=L=Date.now(),history.replaceState({...history.state,[G]:O,[ne]:L},""));const o=z[O];function r(){o&&(history.scrollRestoration="manual",scrollTo(o.x,o.y))}n?(r(),await Pr(Ge,n)):(await te({type:"enter",url:Ue(S.hash?jr(new URL(location.href)):location.href),replace_state:!0}),r()),Lr()}function _r(){Re.length=0,at=!1}function Kt(e){Te.some(t=>t?.snapshot)&&(ie[e]=Te.map(t=>t?.snapshot?.capture()))}function Jt(e){ie[e]?.forEach((t,n)=>{Te[n]?.snapshot?.restore(t)})}function $t(){nt(O),pt(Ut,z),Kt(L),pt(jt,ie)}async function Wt(e,t,n,o){let r,i;t.invalidateAll&&Le(),await te({type:"goto",url:Ue(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:o,accept:()=>{if(t.invalidateAll){at=!0,r=new Set;for(const[a,s]of Et)for(const[c,f]of s)f.resource?.reset(),r.add(be(a,c));i=new Set;for(const[a,s]of Ot)for(const c of s.keys())i.add(be(a,c))}t.invalidate&&t.invalidate.forEach(Rr)}}),t.invalidateAll&&Se().then(Se).then(()=>{for(const[a,s]of Et)for(const[c,{resource:f}]of s)r?.has(be(a,c))&&f.start();for(const[a,s]of Ot)for(const[c,{resource:f}]of s)i?.has(be(a,c))&&f.reconnect()})}async function At(e){if(e.id!==P?.id){Le();const t={};Pe.add(t),P={id:e.id,token:t,promise:Zt({...e,preload:t}).then(n=>(Pe.delete(t),n.type==="loaded"&&n.state.error&&Le(),n)),fork:null}}return P.promise}async function ze(e){const t=(await Ce(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function Xt(e,t,n){const o={params:v.params,route:{id:v.route?.id??null},url:new URL(location.href)};if(v={...e.state,nav:o},zt(e.props.page),st=new S.root({target:t,props:{...e.props,stores:F,components:Te},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){const r={from:null,to:{...o,scroll:z[O]??J()},willUnload:!1,type:"enter",complete:Promise.resolve()};ee.forEach(i=>i(r))}Jt(L),le=!0}async function Ie({url:e,params:t,branch:n,errors:o,status:r,error:i,route:a,form:s}){let c="never";if(I&&(e.pathname===I||e.pathname===I+"/"))c="always";else for(const p of n)p?.slash!==void 0&&(c=p.slash);e.pathname=cn(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:n,error:i,route:a},props:{constructors:cr(n).map(p=>p.node.component),page:De(A)}};s!==void 0&&(f.props.form=s);let u={},g=!A,d=0;for(let p=0;p<Math.max(n.length,v.branch.length);p+=1){const m=n[p],_=v.branch[p];m?.data!==_?.data&&(g=!0),m&&(u={...u,...m.data},g&&(f.props[`data_${d}`]=u),d+=1)}return(!v.url||e.href!==v.url.href||v.error!==i||s!==void 0&&s!==A.form||g)&&(f.props.page={error:i,params:t,route:{id:a?.id??null},state:{},status:r,url:new URL(e),form:s??null,data:g?u:A.data}),f}async function it({loader:e,parent:t,url:n,params:o,route:r,server_data_node:i}){let a=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(R&&(ir(c.universal),c.universal&&S.hash)){const f=Object.keys(c.universal).filter(u=>u!=="load");if(f.length>0)throw new Error(`Page options are ignored when \`router.type === 'hash'\` (${r.id} has ${f.filter(u=>u!=="load").map(u=>`'${u}'`).join(", ")})`)}return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:a,uses:s}:null,data:a??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function yr(e,t,n){let o=e instanceof Request?e.url:e;const r=new URL(o,n);r.origin===n.origin&&(o=r.href.slice(n.origin.length));const i=le?gn(o,r.href,t):pn(o,t);return{resolved:r,promise:i}}function mr(e,t,n,o,r,i){if(at)return!0;if(!r)return!1;if(r.parent&&e||r.route&&t||r.url&&n)return!0;for(const a of r.search_params)if(o.has(a))return!0;for(const a of r.params)if(i[a]!==v.params[a])return!0;for(const a of r.dependencies)if(Re.some(s=>s(new URL(a))))return!0;return!1}function ct(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function wr(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const o of n){const r=e.searchParams.getAll(o),i=t.searchParams.getAll(o);r.every(a=>i.includes(a))&&i.every(a=>r.includes(a))&&n.delete(o)}return n}function vr({error:e,url:t,route:n,params:o}){return{type:"loaded",state:{error:e,url:t,route:n,params:o,branch:[]},props:{page:De(A),constructors:[]}}}async function Zt({id:e,invalidating:t,url:n,params:o,route:r,preload:i}){if(P?.id===e)return Pe.delete(P.token),P.promise;const{errors:a,layouts:s,leaf:c}=r,f=[...s,c];a.forEach(_=>_?.().catch(q)),f.forEach(_=>_?.[1]().catch(q));const u=v.url?e!==xe(v.url):!1,g=v.route?r.id!==v.route.id:!1,d=wr(v.url,n);let h=!1;const p=f.map(async(_,l)=>{if(!_)return;const b=v.branch[l];return _[1]===b?.loader&&!mr(h,g,u,d,b.universal?.uses,o)?b:(h=!0,it({loader:_[1],url:n,params:o,route:r,parent:async()=>{const T={};for(let y=0;y<l;y+=1)Object.assign(T,(await p[y])?.data);return T},server_data_node:ct(_[0]?{type:"skip"}:null,_[0]?b?.server:void 0)}))});for(const _ of p)_.catch(q);const m=[];for(let _=0;_<f.length;_+=1)if(f[_])try{m.push(await p[_])}catch(l){if(l instanceof Ze)return{type:"redirect",location:l.location};if(i&&Pe.has(i))return vr({error:await K(l,{params:o,url:n,route:{id:r.id}}),url:n,params:o,route:r});let b=tt(l),E;if(l instanceof Xe)E=l.body;else{if(await F.updated.check())return await Ht(),await ce(n);E=await K(l,{params:o,url:n,route:{id:r.id}})}const T=await br(_,m,a);return T?Ie({url:n,params:o,branch:m.slice(0,T.idx).concat(T.node),errors:a,status:b,error:E,route:r}):await Ke(n,{id:r.id},E,b)}else m.push(void 0);return Ie({url:n,params:o,branch:m,errors:a,status:200,error:null,route:r,form:t?void 0:null})}async function br(e,t,n){for(;e--;)if(n[e]){let o=e;for(;!t[o];)o-=1;try{return{idx:o+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function lt({status:e,error:t,url:n,route:o}){const r={};let i=null;try{const a=await it({loader:Ye,url:n,params:r,route:o,parent:()=>Promise.resolve({}),server_data_node:ct(i)}),s={node:await Ae(),loader:Ae,universal:null,server:null,data:null};return Ie({url:n,params:r,branch:[a,s],status:e,error:t,errors:[],route:null})}catch(a){if(a instanceof Ze){await Wt(new URL(a.location,location.href),{},0);return}const s=await S.get_error_template(),c=await K(a,{url:n,params:r,route:o}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),u=s({status:e,message:f}),g=new DOMParser().parseFromString(u,"text/html");throw document.documentElement.replaceChild(document.adoptNode(g.head),document.head),document.documentElement.replaceChild(document.adoptNode(g.body),document.body),a}}async function kr(e){const t=e.href;if(ke.has(t))return ke.get(t);let n;try{const o=(async()=>{let r=await S.hooks.reroute({url:new URL(e),fetch:async(i,a)=>yr(i,a,e).promise})??e;if(typeof r=="string"){const i=new URL(e);S.hash?i.hash=r:i.pathname=r,r=i}return r})();ke.set(t,o),n=await o}catch(o){if(ke.delete(t),R){console.error(o);debugger}return}return n}async function Ce(e,t){if(e&&!Ne(e,I,S.hash)){const n=await kr(e);if(!n)return;const o=Sr(n);for(const r of rt){const i=r.exec(o);if(i)return{id:xe(e),invalidating:t,route:r,params:fn(i),url:e}}}}function Sr(e){return ln(S.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(I.length))||"/"}function xe(e){return(S.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function Qt({url:e,type:t,intent:n,delta:o,event:r,scroll:i}){let a=!1;const s=ft(v,n,e,t,i??null);o!==void 0&&(s.navigation.delta=o),r!==void 0&&(s.navigation.event=r);const c={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return fe||ot.forEach(f=>f(c)),a?null:s}async function te({type:e,url:t,popped:n,keepfocus:o,noscroll:r,replace_state:i,state:a={},redirect_count:s=0,nav_token:c={},accept:f=q,block:u=q,event:g}){const d=V;V=c;const h=await Ce(t,!1),p=e==="enter"?ft(v,h,t,e):Qt({url:t,type:e,delta:n?.delta,intent:h,scroll:n?.scroll,event:g});if(!p){u(),V===c&&(V=d);return}const m=O,_=L;f(),fe=!0,le&&p.navigation.type!=="enter"&&F.navigating.set(se.current=p.navigation);let l=h&&await Zt(h);if(!l)if(Ne(t,I,S.hash))if(R&&S.hash)l=await Ke(t,{id:null},await K(new Ee(404,"Not Found",`Not found: ${t.pathname} (did you forget the hash?)`),{url:t,params:{},route:{id:null}}),404,i);else return await ce(t,i);else l=await Ke(t,{id:null},await K(new Ee(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i);if(t=h?.url||t,V!==c){p.reject(new Error("navigation aborted"));return}if(!l)return;if(l.type==="redirect"){if(s<20){await te({type:e,url:new URL(l.location,t),popped:n,keepfocus:o,noscroll:r,replace_state:i,state:a,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}if(l=await lt({status:500,error:await K(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!l)return}else if(l.props.page.status>=400&&await F.updated.check())return await Ht(),await ce(t,i);if(_r(),nt(m),Kt(_),l.props.page.url.pathname!==t.pathname&&(t.pathname=l.props.page.url.pathname),a=n?n.state:a,!n){const w=i?0:1,x={[G]:O+=w,[ne]:L+=w,[Qe]:a};(i?history.replaceState:history.pushState).call(history,x,"",t),i||pr(O,L)}const b=h&&P?.id===h.id?P.fork:null;P?.fork&&!b?Le():(P=null,Z={element:void 0,href:void 0}),l.props.page.state=a;let E;if(le){const w=(await Promise.all(Array.from(gr,B=>B(p.navigation)))).filter(B=>typeof B=="function");if(w.length>0){let B=function(){w.forEach(re=>{ee.delete(re)})};w.push(B),w.forEach(re=>{ee.add(re)})}const x=p.navigation.to;v={...l.state,nav:{params:x.params,route:x.route,url:x.url}},l.props.page&&(l.props.page.url=t),!o&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const W=b&&await b;W?E=W.commit():(oe=null,st.$set(l.props),oe&&Object.assign(l.props.page,oe),zt(l.props.page),E=an?.()),Gt=!0}else await Xt(l,Ge,!1);const{activeElement:T}=document;if(await E,await Se(),await Se(),V!==c){p.reject(new Error("navigation aborted"));return}l.props.page&&oe&&Object.assign(l.props.page,oe);let y=null;if(St){const w=n?n.scroll:r?J():null;w?scrollTo(w.x,w.y):(y=t.hash&&document.getElementById(tn(t)))?y.scrollIntoView():scrollTo(0,0)}const $=document.activeElement!==T&&document.activeElement!==document.body;!o&&!$&&xr(t,!y),St=!0,fe=!1,p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=J()),ee.forEach(w=>w(p.navigation)),e==="popstate"&&Jt(L),F.navigating.set(se.current=null)}async function Ke(e,t,n,o,r){if(e.origin===je&&e.pathname===location.pathname&&!Yt)return await lt({status:o,error:n,url:e,route:t});if(R&&o!==404){console.error("An error occurred while loading the page. This will cause a full page reload. (This message will only appear during development.)");debugger}return await ce(e,r)}let Z={element:void 0,href:void 0};function Er(){let e,t;D.addEventListener("mousemove",a=>{const s=a.target;clearTimeout(e),e=setTimeout(()=>{r(s,Y.hover)},20)});function n(a){a.defaultPrevented||r(a.composedPath()[0],Y.tap)}D.addEventListener("mousedown",n),D.addEventListener("touchstart",n,{passive:!0});const o=new IntersectionObserver(a=>{for(const s of a)s.isIntersecting&&(ze(new URL(s.target.href)),o.unobserve(s.target))},{threshold:0});async function r(a,s){const c=Dt(a,D),f=c===Z.element&&c?.href===Z.href&&s>=t;if(!c||f)return;const{url:u,external:g,download:d}=He(c,I,S.hash);if(g||d)return;const h=$e(c),p=u&&xe(v.url)===xe(u);if(!(h.reload||p))if(s<=h.preload_data){Z={element:c,href:c.href},t=Y.tap;const m=await Ce(u,!1);if(!m)return;R?At(m).then(_=>{_.type==="loaded"&&_.state.error&&console.warn(`Preloading data for ${m.url.pathname} failed with the following error: ${_.state.error.message}
|
|
12
|
-
If this error is transient, you can ignore it. Otherwise, consider disabling preloading for this route. This route was preloaded due to a data-sveltekit-preload-data attribute. See https://svelte.dev/docs/kit/link-options for more info`)}):At(m)}else s<=h.preload_code&&(Z={element:c,href:c.href},t=s,
|
|
11
|
+
</div>`),globalThis.__sveltekit_slzisf.data){const{q:i={},p:a={},l:s={},f:c={}}=globalThis.__sveltekit_slzisf.data;for(const f in i)i[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in a)a[f]}document.URL!==location.href&&(location.href=location.href),S=e,await e.hooks.init?.(),rt=kn(e),D=document.documentElement,Ge=t,Ye=e.nodes[0],Ae=e.nodes[1],Ye(),Ae(),O=history.state?.[G],L=history.state?.[ne],O||(O=L=Date.now(),history.replaceState({...history.state,[G]:O,[ne]:L},""));const o=F[O];function r(){o&&(history.scrollRestoration="manual",scrollTo(o.x,o.y))}n?(r(),await Pr(Ge,n)):(await te({type:"enter",url:Ue(S.hash?jr(new URL(location.href)):location.href),replace_state:!0}),r()),Lr()}function _r(){Re.length=0,at=!1}function Kt(e){Te.some(t=>t?.snapshot)&&(ie[e]=Te.map(t=>t?.snapshot?.capture()))}function Jt(e){ie[e]?.forEach((t,n)=>{Te[n]?.snapshot?.restore(t)})}function $t(){nt(O),pt(Ut,F),Kt(L),pt(jt,ie)}async function Wt(e,t,n,o){let r,i;t.invalidateAll&&Le(),await te({type:"goto",url:Ue(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:o,accept:()=>{if(t.invalidateAll){at=!0,r=new Set;for(const[a,s]of Et)for(const[c,f]of s)f.resource?.reset(),r.add(be(a,c));i=new Set;for(const[a,s]of Ot)for(const c of s.keys())i.add(be(a,c))}t.invalidate&&t.invalidate.forEach(Rr)}}),t.invalidateAll&&Se().then(Se).then(()=>{for(const[a,s]of Et)for(const[c,{resource:f}]of s)r?.has(be(a,c))&&f.start();for(const[a,s]of Ot)for(const[c,{resource:f}]of s)i?.has(be(a,c))&&f.reconnect()})}async function At(e){if(e.id!==P?.id){Le();const t={};Pe.add(t),P={id:e.id,token:t,promise:Zt({...e,preload:t}).then(n=>(Pe.delete(t),n.type==="loaded"&&n.state.error&&Le(),n)),fork:null}}return P.promise}async function Fe(e){const t=(await Ce(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function Xt(e,t,n){const o={params:v.params,route:{id:v.route?.id??null},url:new URL(location.href)};if(v={...e.state,nav:o},Ft(e.props.page),st=new S.root({target:t,props:{...e.props,stores:z,components:Te},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){const r={from:null,to:{...o,scroll:F[O]??J()},willUnload:!1,type:"enter",complete:Promise.resolve()};ee.forEach(i=>i(r))}Jt(L),le=!0}async function Ie({url:e,params:t,branch:n,errors:o,status:r,error:i,route:a,form:s}){let c="never";if(I&&(e.pathname===I||e.pathname===I+"/"))c="always";else for(const p of n)p?.slash!==void 0&&(c=p.slash);e.pathname=cn(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:n,error:i,route:a},props:{constructors:cr(n).map(p=>p.node.component),page:De(A)}};s!==void 0&&(f.props.form=s);let u={},g=!A,d=0;for(let p=0;p<Math.max(n.length,v.branch.length);p+=1){const m=n[p],_=v.branch[p];m?.data!==_?.data&&(g=!0),m&&(u={...u,...m.data},g&&(f.props[`data_${d}`]=u),d+=1)}return(!v.url||e.href!==v.url.href||v.error!==i||s!==void 0&&s!==A.form||g)&&(f.props.page={error:i,params:t,route:{id:a?.id??null},state:{},status:r,url:new URL(e),form:s??null,data:g?u:A.data}),f}async function it({loader:e,parent:t,url:n,params:o,route:r,server_data_node:i}){let a=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();if(R&&(ir(c.universal),c.universal&&S.hash)){const f=Object.keys(c.universal).filter(u=>u!=="load");if(f.length>0)throw new Error(`Page options are ignored when \`router.type === 'hash'\` (${r.id} has ${f.filter(u=>u!=="load").map(u=>`'${u}'`).join(", ")})`)}return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:a,uses:s}:null,data:a??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function yr(e,t,n){let o=e instanceof Request?e.url:e;const r=new URL(o,n);r.origin===n.origin&&(o=r.href.slice(n.origin.length));const i=le?gn(o,r.href,t):pn(o,t);return{resolved:r,promise:i}}function mr(e,t,n,o,r,i){if(at)return!0;if(!r)return!1;if(r.parent&&e||r.route&&t||r.url&&n)return!0;for(const a of r.search_params)if(o.has(a))return!0;for(const a of r.params)if(i[a]!==v.params[a])return!0;for(const a of r.dependencies)if(Re.some(s=>s(new URL(a))))return!0;return!1}function ct(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function wr(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const o of n){const r=e.searchParams.getAll(o),i=t.searchParams.getAll(o);r.every(a=>i.includes(a))&&i.every(a=>r.includes(a))&&n.delete(o)}return n}function vr({error:e,url:t,route:n,params:o}){return{type:"loaded",state:{error:e,url:t,route:n,params:o,branch:[]},props:{page:De(A),constructors:[]}}}async function Zt({id:e,invalidating:t,url:n,params:o,route:r,preload:i}){if(P?.id===e)return Pe.delete(P.token),P.promise;const{errors:a,layouts:s,leaf:c}=r,f=[...s,c];a.forEach(_=>_?.().catch(q)),f.forEach(_=>_?.[1]().catch(q));const u=v.url?e!==xe(v.url):!1,g=v.route?r.id!==v.route.id:!1,d=wr(v.url,n);let h=!1;const p=f.map(async(_,l)=>{if(!_)return;const b=v.branch[l];return _[1]===b?.loader&&!mr(h,g,u,d,b.universal?.uses,o)?b:(h=!0,it({loader:_[1],url:n,params:o,route:r,parent:async()=>{const T={};for(let y=0;y<l;y+=1)Object.assign(T,(await p[y])?.data);return T},server_data_node:ct(_[0]?{type:"skip"}:null,_[0]?b?.server:void 0)}))});for(const _ of p)_.catch(q);const m=[];for(let _=0;_<f.length;_+=1)if(f[_])try{m.push(await p[_])}catch(l){if(l instanceof Ze)return{type:"redirect",location:l.location};if(i&&Pe.has(i))return vr({error:await K(l,{params:o,url:n,route:{id:r.id}}),url:n,params:o,route:r});let b=tt(l),E;if(l instanceof Xe)E=l.body;else{if(await z.updated.check())return await Ht(),await ce(n);E=await K(l,{params:o,url:n,route:{id:r.id}})}const T=await br(_,m,a);return T?Ie({url:n,params:o,branch:m.slice(0,T.idx).concat(T.node),errors:a,status:b,error:E,route:r}):await Ke(n,{id:r.id},E,b)}else m.push(void 0);return Ie({url:n,params:o,branch:m,errors:a,status:200,error:null,route:r,form:t?void 0:null})}async function br(e,t,n){for(;e--;)if(n[e]){let o=e;for(;!t[o];)o-=1;try{return{idx:o+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function lt({status:e,error:t,url:n,route:o}){const r={};let i=null;try{const a=await it({loader:Ye,url:n,params:r,route:o,parent:()=>Promise.resolve({}),server_data_node:ct(i)}),s={node:await Ae(),loader:Ae,universal:null,server:null,data:null};return Ie({url:n,params:r,branch:[a,s],status:e,error:t,errors:[],route:null})}catch(a){if(a instanceof Ze){await Wt(new URL(a.location,location.href),{},0);return}const s=await S.get_error_template(),c=await K(a,{url:n,params:r,route:o}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),u=s({status:e,message:f}),g=new DOMParser().parseFromString(u,"text/html");throw document.documentElement.replaceChild(document.adoptNode(g.head),document.head),document.documentElement.replaceChild(document.adoptNode(g.body),document.body),a}}async function kr(e){const t=e.href;if(ke.has(t))return ke.get(t);let n;try{const o=(async()=>{let r=await S.hooks.reroute({url:new URL(e),fetch:async(i,a)=>yr(i,a,e).promise})??e;if(typeof r=="string"){const i=new URL(e);S.hash?i.hash=r:i.pathname=r,r=i}return r})();ke.set(t,o),n=await o}catch(o){if(ke.delete(t),R){console.error(o);debugger}return}return n}async function Ce(e,t){if(e&&!Ne(e,I,S.hash)){const n=await kr(e);if(!n)return;const o=Sr(n);for(const r of rt){const i=r.exec(o);if(i)return{id:xe(e),invalidating:t,route:r,params:fn(i),url:e}}}}function Sr(e){return ln(S.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(I.length))||"/"}function xe(e){return(S.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function Qt({url:e,type:t,intent:n,delta:o,event:r,scroll:i}){let a=!1;const s=ft(v,n,e,t,i??null);o!==void 0&&(s.navigation.delta=o),r!==void 0&&(s.navigation.event=r);const c={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation cancelled"))}};return fe||ot.forEach(f=>f(c)),a?null:s}async function te({type:e,url:t,popped:n,keepfocus:o,noscroll:r,replace_state:i,state:a={},redirect_count:s=0,nav_token:c={},accept:f=q,block:u=q,event:g}){const d=V;V=c;const h=await Ce(t,!1),p=e==="enter"?ft(v,h,t,e):Qt({url:t,type:e,delta:n?.delta,intent:h,scroll:n?.scroll,event:g});if(!p){u(),V===c&&(V=d);return}const m=O,_=L;f(),fe=!0,le&&p.navigation.type!=="enter"&&z.navigating.set(se.current=p.navigation);let l=h&&await Zt(h);if(!l)if(Ne(t,I,S.hash))if(R&&S.hash)l=await Ke(t,{id:null},await K(new Ee(404,"Not Found",`Not found: ${t.pathname} (did you forget the hash?)`),{url:t,params:{},route:{id:null}}),404,i);else return await ce(t,i);else l=await Ke(t,{id:null},await K(new Ee(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i);if(t=h?.url||t,V!==c){p.reject(new Error("navigation aborted"));return}if(!l)return;if(l.type==="redirect"){if(s<20){await te({type:e,url:new URL(l.location,t),popped:n,keepfocus:o,noscroll:r,replace_state:i,state:a,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}if(l=await lt({status:500,error:await K(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!l)return}else if(l.props.page.status>=400&&await z.updated.check())return await Ht(),await ce(t,i);if(_r(),nt(m),Kt(_),l.props.page.url.pathname!==t.pathname&&(t.pathname=l.props.page.url.pathname),a=n?n.state:a,!n){const w=i?0:1,x={[G]:O+=w,[ne]:L+=w,[Qe]:a};(i?history.replaceState:history.pushState).call(history,x,"",t),i||pr(O,L)}const b=h&&P?.id===h.id?P.fork:null;P?.fork&&!b?Le():(P=null,Z={element:void 0,href:void 0}),l.props.page.state=a;let E;if(le){const w=(await Promise.all(Array.from(gr,B=>B(p.navigation)))).filter(B=>typeof B=="function");if(w.length>0){let B=function(){w.forEach(re=>{ee.delete(re)})};w.push(B),w.forEach(re=>{ee.add(re)})}const x=p.navigation.to;v={...l.state,nav:{params:x.params,route:x.route,url:x.url}},l.props.page&&(l.props.page.url=t),!o&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const W=b&&await b;W?E=W.commit():(oe=null,st.$set(l.props),oe&&Object.assign(l.props.page,oe),Ft(l.props.page),E=an?.()),Gt=!0}else await Xt(l,Ge,!1);const{activeElement:T}=document;if(await E,await Se(),await Se(),V!==c){p.reject(new Error("navigation aborted"));return}l.props.page&&oe&&Object.assign(l.props.page,oe);let y=null;if(St){const w=n?n.scroll:r?J():null;w?scrollTo(w.x,w.y):(y=t.hash&&document.getElementById(tn(t)))?y.scrollIntoView():scrollTo(0,0)}const $=document.activeElement!==T&&document.activeElement!==document.body;!o&&!$&&xr(t,!y),St=!0,fe=!1,p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=J()),ee.forEach(w=>w(p.navigation)),e==="popstate"&&Jt(L),z.navigating.set(se.current=null)}async function Ke(e,t,n,o,r){if(e.origin===je&&e.pathname===location.pathname&&!Yt)return await lt({status:o,error:n,url:e,route:t});if(R&&o!==404){console.error("An error occurred while loading the page. This will cause a full page reload. (This message will only appear during development.)");debugger}return await ce(e,r)}let Z={element:void 0,href:void 0};function Er(){let e,t;D.addEventListener("mousemove",a=>{const s=a.target;clearTimeout(e),e=setTimeout(()=>{r(s,Y.hover)},20)});function n(a){a.defaultPrevented||r(a.composedPath()[0],Y.tap)}D.addEventListener("mousedown",n),D.addEventListener("touchstart",n,{passive:!0});const o=new IntersectionObserver(a=>{for(const s of a)s.isIntersecting&&(Fe(new URL(s.target.href)),o.unobserve(s.target))},{threshold:0});async function r(a,s){const c=Dt(a,D),f=c===Z.element&&c?.href===Z.href&&s>=t;if(!c||f)return;const{url:u,external:g,download:d}=He(c,I,S.hash);if(g||d)return;const h=$e(c),p=u&&xe(v.url)===xe(u);if(!(h.reload||p))if(s<=h.preload_data){Z={element:c,href:c.href},t=Y.tap;const m=await Ce(u,!1);if(!m)return;R?At(m).then(_=>{_.type==="loaded"&&_.state.error&&console.warn(`Preloading data for ${m.url.pathname} failed with the following error: ${_.state.error.message}
|
|
12
|
+
If this error is transient, you can ignore it. Otherwise, consider disabling preloading for this route. This route was preloaded due to a data-sveltekit-preload-data attribute. See https://svelte.dev/docs/kit/link-options for more info`)}):At(m)}else s<=h.preload_code&&(Z={element:c,href:c.href},t=s,Fe(u))}function i(){o.disconnect();for(const a of D.querySelectorAll("a")){const{url:s,external:c,download:f}=He(a,I,S.hash);if(c||f)continue;const u=$e(a);u.reload||(u.preload_code===Y.viewport&&o.observe(a),u.preload_code===Y.eager&&Fe(s))}}ee.add(i),i()}function K(e,t){if(e instanceof Xe)return e.body;R&&console.warn("The next HMR update will cause the page to reload");const n=tt(e),o=lr(e);return S.hooks.handleError({error:e,event:t,status:n,message:o})??{message:o}}function en(e,t){ur(()=>(e.add(t),()=>{e.delete(t)}))}function Or(e){en(ee,e)}function $r(e){en(ot,e)}function Ar(e,t={}){return e=new URL(Ue(e)),e.origin!==je?Promise.reject(new Error(R?`Cannot use \`goto\` with an external URL. Use \`window.location = "${e}"\` instead`:"goto: invalid URL")):Wt(e,t,0)}function Rr(e){if(typeof e=="function")Re.push(e);else{const{href:t}=new URL(e,location.href);Re.push(n=>n.href===t)}}function Tr(e,t){if(R){if(!le)throw new Error("Cannot call replaceState(...) before router is initialized");try{tr(t)}catch(o){throw new Error(`Could not serialize state${o.path}`,{cause:o})}}const n={[G]:O,[ne]:L,[Nt]:A.url.href,[Qe]:t};history.replaceState(n,"",Ue(e)),A.state=t,st.$set({page:dr(()=>De(A))})}function Lr(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if($t(),!fe){const o=ft(v,void 0,null,"leave"),r={...o.navigation,cancel:()=>{n=!0,o.reject(new Error("navigation cancelled"))}};ot.forEach(i=>i(r))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&$t()}),navigator.connection?.saveData||Er(),D.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Dt(t.composedPath()[0],D);if(!n)return;const{url:o,external:r,target:i,download:a}=He(n,I,S.hash);if(!o)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=$e(n);if(!(n instanceof SVGAElement)&&o.protocol!==location.protocol&&!(o.protocol==="https:"||o.protocol==="http:")||a)return;const[f,u]=(S.hash?o.hash.replace(/^#/,""):o.href).split("#"),g=f===Ve(location);if(r||s.reload&&(!g||!u)){Qt({url:o,type:"link",event:t})?fe=!0:t.preventDefault();return}if(u!==void 0&&g){const[,d]=v.url.href.split("#");if(d===u){if(t.preventDefault(),u===""||u==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const h=n.ownerDocument.getElementById(decodeURIComponent(u));h&&(h.scrollIntoView(),h.focus())}return}if(ae=!0,nt(O),e(o),!s.replace_state)return;ae=!1}t.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),await te({type:"link",url:o,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??o.href===location.href,event:t})}),D.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),o=t.submitter;if((o?.formTarget||n.target)==="_blank"||(o?.formMethod||n.method)!=="get")return;const a=new URL(o?.hasAttribute("formaction")&&o?.formAction||n.action);if(Ne(a,I,!1))return;const s=t.target,c=$e(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,o);a.search=new URLSearchParams(f).toString(),te({type:"form",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Je){if(t.state?.[G]){const n=t.state[G];if(V={},n===O)return;const o=F[n],r=t.state[Qe]??{},i=new URL(t.state[Nt]??location.href),a=t.state[ne],s=v.url?Ve(location)===Ve(v.url):!1;if(a===L&&(Gt||s)){r!==A.state&&(A.state=r),e(i),F[O]=J(),o&&scrollTo(o.x,o.y),O=n;return}const f=n-O;await te({type:"popstate",url:i,popped:{state:r,scroll:o,delta:f},accept:()=>{O=n,L=a},block:()=>{history.go(-f)},nav_token:V,event:t})}else if(!ae){const n=new URL(location.href);e(n),S.hash&&location.reload()}}}),addEventListener("hashchange",()=>{ae&&(ae=!1,history.replaceState({...history.state,[G]:++O,[ne]:L},"",location.href))});for(const t of document.querySelectorAll("link"))hr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&z.navigating.set(se.current=null)});function e(t){v.url=A.url=t,z.page.set(De(A)),z.page.notify()}}async function Pr(e,{status:t=200,error:n,node_ids:o,params:r,route:i,server_route:a,data:s,form:c}){Yt=!0;const f=new URL(location.href);let u;({params:r={},route:i={id:null}}=await Ce(f,!1)||{}),u=rt.find(({id:h})=>h===i.id);let g,d=!0;try{const h=o.map(async(m,_)=>{const l=s[_];return l?.uses&&(l.uses=Ir(l.uses)),it({loader:S.nodes[m],url:f,params:r,route:i,parent:async()=>{const b={};for(let E=0;E<_;E+=1)Object.assign(b,(await h[E]).data);return b},server_data_node:ct(l)})}),p=await Promise.all(h);if(u){const m=u.layouts;for(let _=0;_<m.length;_++)m[_]||p.splice(_,0,void 0)}g=await Ie({url:f,params:r,branch:p,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(h){if(h instanceof Ze)return await ce(new URL(h.location,location.href));g=await lt({status:tt(h),error:await K(h,{url:f,params:r,route:i}),url:f,route:i}),e.textContent="",d=!1}g&&(g.props.page&&(g.props.page.state={}),await Xt(g,e,d))}function Ir(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Je=!1;function xr(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const o=tn(e);if(o&&document.getElementById(o)){const{x:i,y:a}=J();setTimeout(()=>{const s=history.state;Je=!0,location.replace(new URL(`#${o}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(i,a),Je=!1})}else{const i=document.body,a=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),a!==null?i.setAttribute("tabindex",a):i.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const i=[];for(let a=0;a<r.rangeCount;a+=1)i.push(r.getRangeAt(a));setTimeout(()=>{if(r.rangeCount===i.length){for(let a=0;a<r.rangeCount;a+=1){const s=i[a],c=r.getRangeAt(a);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}r.removeAllRanges()}})}}}function ft(e,t,n,o,r=null){let i,a;const s=new Promise((f,u)=>{i=f,a=u});return s.catch(q),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:J()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:r},willUnload:!t,type:o,complete:s},fulfil:i,reject:a}}function De(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function jr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function tn(e){let t;if(S.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}if(R){const e=console.warn;console.warn=function(...n){n.length===1&&/<(Layout|Page|Error)(_[\w$]+)?> was created (with unknown|without expected) prop '(data|form)'/.test(n[0])||e(...n)}}const qr=Object.freeze(Object.defineProperty({__proto__:null,afterNavigate:Or,beforeNavigate:$r,goto:Ar,replaceState:Tr},Symbol.toStringTag,{value:"Module"}));export{Or as a,$r as b,Pt as c,z as d,Ar as g,Cr as l,qr as n,A as p,Tr as r,Vr as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Yt,br as K,bz as Zt,b as Jt,a_ as P,bv as Y,bt as Ie,bp as i}from"./DXyyWeag.js";import{bs as Nt,ay as yt,be as h,b$ as x,b_ as s,bO as o,W as n,bS as l,bl as B,bn as Qt,aA as V,a7 as Se,aD as t,c9 as g,aB as I,bo as we,bV as kt,br as Ge,ca as Bt,bH as q,bk as Le,a5 as E,bA as O}from"./DYhIMPy1.js";import{n as Ae,p as Pe,v as ze,j as De,I as Ht,u as Mt}from"./CjaOLL1c.js";import{c as Te}from"./CnVt0JNG.js";import{f as z}from"./Bfr1QjPr.js";import"./Dwmx7Nbz.js";import{b as Fe}from"./C5oPUaEZ.js";import"./Co9PgWQA.js";import"./BKnW-cqy.js";import{b as Ue}from"./2YGlULfT.js";import{I as qt}from"./ChOlbK8y.js";import{L as Wt}from"./CX_KiszT.js";import"./Cuqq8bL5.js";import{G as Ee,x as Oe}from"./GP5gU8GB.js";import{Iy as W,fm as Kt,z as Be,ec as Vt,qw as He,tX as Me,Ip as qe,od as We,hA as Ke}from"./D5ej8a-y.js";import{aY as jt,aZ as Rt,a_ as Ve,aT as je,aU as Xt,aV as Re,aW as Xe,b2 as Ye}from"./xB4HOmid.js";var Ze=I('<!> <p class="type-body"> </p>',1);function Je(it,m){if(new.target)return Yt({component:Je,...it});Nt(m,!0);let D=K(m,"open",15,!1),H=K(m,"static",7,!1),st=K(m,"title",7),_=K(m,"message",7),k=K(m,"buttons",7),b=K(m,"cancelIndex",7,0),Z=K(m,"onSelect",7);function j(r){D(!1),Z()?.(r)}var vt={get open(){return D()},set open(r=!1){D(r),V()},get static(){return H()},set static(r=!1){H(r),V()},get title(){return st()},set title(r){st(r),V()},get message(){return _()},set message(r){_(r),V()},get buttons(){return k()},set buttons(r){k(r),V()},get cancelIndex(){return b()},set cancelIndex(r=0){b(r),V()},get onSelect(){return Z()},set onSelect(r){Z(r),V()},$set:Zt,$on:(r,M)=>Jt(m,r,M)};return Ue(it,{get static(){return H()},role:"alertdialog",get title(){return st()},dismissOnInteractOutside:!1,focusContent:!0,onSubmit:()=>j(k().length-1),onCancel:()=>j(b()),get open(){return D()},set open(M){D(M)},footer:M=>{var T=Se(),w=yt(T);Ae(w,17,k,Pe,(J,N,R)=>{{let Q=g(()=>R===b()?"ghost":R===k().length-1?"primary":"outline");z(J,{get variant(){return t(Q)},onclick:()=>j(R),children:(ct,pt)=>{h();var ut=x();s(()=>o(ut,t(N))),n(ct,ut)},$$slots:{default:!0}})}}),n(M,T)},children:(M,T)=>{var w=Ze(),J=yt(w);Te(J,()=>Fe,(Q,ct)=>{ct(Q,{class:"sr-only",children:(pt,ut)=>{h();var _t=x();s(()=>o(_t,_())),n(pt,_t)},$$slots:{default:!0}})});var N=l(J,2),R=B(N,!0);s(()=>o(R,_())),n(M,w)},$$slots:{footer:!0,default:!0}}),Qt(vt)}var Ne=I('<p class="text-sm text-subtle" role="status" data-testid="gitlab-instance-update-required"> </p>'),Qe=I('<p class="break-all type-caption text-subtle" data-testid="gitlab-connect-instance"> </p>'),ta=I('<div class="max-w-sm space-y-3" data-testid="gitlab-connect-device-flow"><!> <div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!> <!></div></div>'),ea=I('<div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!></div>'),aa=I('<p class="text-xs text-danger" role="alert"> </p>'),na=I('<div class="max-w-sm space-y-1" data-testid="gitlab-connect-token"><!> <!> <p class="text-xs text-subtle"> <!></p></div> <div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>',1),ra=I('<div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>'),sa=I('<div class="max-w-sm space-y-1"><!> <!> <p class="text-xs text-subtle"> </p> <!></div> <!>',1),oa=I('<p class="text-sm text-subtle" role="status"> </p>'),la=I('<div class="space-y-1"><p class="text-sm text-subtle" role="status"> </p> <!></div>'),ia=I('<p class="text-sm text-danger" role="alert"> </p>'),ca=I('<div data-testid="gitlab-connect-form"><!> <!> <!> <!> <!></div>');function ua(it,m){const D=we();if(new.target)return Yt({component:ua,...it});Nt(m,!0);const H=()=>Y(ct,"$storedInstance$",r),st=()=>Y(ee,"$deviceGrantSupported$",r),_=()=>Y(ne,"$instanceSetupSupported$",r),k=()=>Y(pt,"$isAuthenticating$",r),b=()=>Y(ut,"$isCancelling$",r),Z=()=>Y(te,"$deviceFlow$",r),j=()=>Y(_t,"$cancelOutcome$",r),vt=()=>Y(ae,"$error$",r),[r,M]=Ie();let T=K(m,"compact",7,!1),w=K(m,"onCancel",7);const J=`${D}-host`,N=`${D}-host-help`,R=`${D}-host-error`,Q=`${D}-token`,ct=jt(),pt=Rt(),ut=Ve(),_t=je(),te=Xt(),ee=Re(),ae=Xe(),ne=Ye();let bt=kt(Ge(jt.select(W.state))),St=kt(!1),tt=kt(""),ft=kt(!1);const p=g(()=>Me(t(bt))),wt=g(()=>t(ft)||t(p)===H()&&st()===!1),Ct=g(()=>t(p)?We(t(p)):null),re=g(()=>_()&&t(p)!==null&&t(tt).trim().length>0);Bt(()=>{const c=H();t(St)||q(bt,c,!0)}),Bt(()=>{_()||q(tt,"")}),Le(()=>{const c=()=>{const e=W.state;Rt.select(e)&&Xt.select(e)&&W.dispatch(Kt())};return window.addEventListener("focus",c),()=>window.removeEventListener("focus",c)});function Gt(){!_()||!t(p)||t(p)===H()||k()||b()||W.dispatch(He(t(p)))}function se(){q(St,!0),q(tt,"")}function Lt(){!_()||!t(p)||k()||b()||W.dispatch(qe(t(p)))}function At(){const c=t(tt).trim();!_()||!c||!t(p)||k()||b()||(W.dispatch(Ke(t(p),c)),q(tt,""))}function Pt(){!_()||b()||(k()&&W.dispatch(Vt()),q(ft,!0))}function oe(){q(ft,!1)}function le(){b()||W.dispatch(Vt())}function ie(){t(Ct)&&Oe(t(Ct),{})}function ce(c){c.key==="Enter"&&(c.preventDefault(),Gt(),t(wt)?document.getElementById(Q)?.focus():Lt())}function ue(c){c.key==="Enter"&&(c.preventDefault(),At())}const zt=g(()=>T()?"sm":"xl"),gt=g(()=>T()?"sm":"default");var de={get compact(){return T()},set compact(c=!1){T(c),V()},get onCancel(){return w()},set onCancel(c){w(c),V()},$set:Zt,$on:(c,e)=>Jt(m,c,e)},$t=ca();{const c=e=>{z(e,{variant:"ghost",size:"sm",type:"button",class:"text-muted-foreground hover:text-foreground",get disabled(){return b()},onclick:le,children:(a,u)=>{h();var f=x();s(G=>o(f,G),[()=>b()?i.lib_gitlabConnect_cancelling_label():i.lib_gitlabConnect_cancel_label()]),n(a,f)},$$slots:{default:!0}})};var Dt=E($t);{var ve=e=>{var a=Ne(),u=B(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_updateRequired_description()]),n(e,a)};P(Dt,e=>{_()||e(ve)})}var Tt=l(Dt,2);{var pe=e=>{var a=Qe(),u=B(a,!0);s(()=>o(u,H())),n(e,a)};P(Tt,e=>{(k()||b())&&e(pe)})}var Ft=l(Tt,2);{var _e=e=>{var a=ta(),u=E(a);{let at=g(()=>i.lib_gitlabConnect_openGitlab_label());Ee(u,{get userCode(){return Z().userCode},get verificationUri(){return Z().verificationUri},get openLabel(){return t(at)},get compact(){return T()}})}var f=l(u,2),G=E(f);Ht(G,{size:16,class:"shrink-0"});var S=l(G,2),ot=B(S,!0),et=l(S,2);{let at=g(()=>b()||!_());z(et,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return t(at)},onclick:Pt,children:(It,Et)=>{h();var d=x();s($=>o(d,$),[()=>i.lib_gitlabConnect_useToken_label()]),n(It,d)},$$slots:{default:!0}})}var dt=l(et,2);c(dt),O(f),O(a),s(at=>o(ot,at),[()=>i.lib_gitlabConnect_waitingForAuthorization_label()]),n(e,a)},be=e=>{var a=ea(),u=E(a);Ht(u,{size:16,class:"shrink-0"});var f=l(u,2),G=B(f,!0),S=l(f,2);c(S),O(a),s(ot=>o(G,ot),[()=>i.lib_gitlabConnect_connecting_label()]),n(e,a)},fe=e=>{var a=sa(),u=yt(a),f=E(u);Wt(f,{get for(){return J},children:(d,$)=>{h();var y=x();s(L=>o(y,L),[()=>i.lib_gitlabConnect_host_label()]),n(d,y)},$$slots:{default:!0}});var G=l(f,2);{let d=g(()=>!_()),$=g(()=>!t(p)||void 0),y=g(()=>t(p)?N:`${N} ${R}`);qt(G,{get id(){return J},type:"text",autocomplete:"url",spellcheck:!1,get disabled(){return t(d)},get"aria-invalid"(){return t($)},get"aria-describedby"(){return t(y)},get placeholder(){return Be},oninput:se,onchange:Gt,onkeydown:ce,get value(){return t(bt)},set value(L){q(bt,L,!0)}})}var S=l(G,2),ot=B(S,!0),et=l(S,2);{var dt=d=>{var $=aa(),y=B($,!0);s(L=>{Mt($,"id",R),o(y,L)},[()=>i.lib_gitlabConnect_invalidInstance_error()]),n(d,$)};P(et,d=>{t(p)||d(dt)})}O(u);var at=l(u,2);{var It=d=>{var $=na(),y=yt($),L=E(y);Wt(L,{get for(){return Q},children:(v,U)=>{h();var lt=x();s(C=>o(lt,C),[()=>i.lib_gitlabConnect_token_label()]),n(v,lt)},$$slots:{default:!0}});var mt=l(L,2);{let v=g(()=>!_());qt(mt,{get id(){return Q},type:"password",autocomplete:"off",get disabled(){return t(v)},placeholder:"glpat-...",onkeydown:ue,get value(){return t(tt)},set value(U){q(tt,U,!0)}})}var ht=l(mt,2),F=E(ht),nt=l(F);{var xt=v=>{z(v,{variant:"link",size:"sm",type:"button",class:"h-auto px-0 text-xs",onclick:ie,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_createToken_label({host:t(p)})]),n(U,C)},$$slots:{default:!0}})};P(nt,v=>{t(Ct)&&t(p)&&v(xt)})}O(ht),O(y);var A=l(y,2),X=E(A);{let v=g(()=>!t(re));z(X,{variant:"primary",get size(){return t(zt)},type:"button",onclick:At,get disabled(){return t(v)},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_connect_label()]),n(U,C)},$$slots:{default:!0}})}var Ot=l(X,2);{var ke=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",onclick:oe,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_useDevice_label()]),n(U,C)},$$slots:{default:!0}})};P(Ot,v=>{t(ft)&&!(t(p)===H()&&st()===!1)&&v(ke)})}var ye=l(Ot,2);{var Ce=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_cancel_label()]),n(U,C)},$$slots:{default:!0}})};P(ye,v=>{w()&&v(Ce)})}O(A),s(v=>o(F,`${v??""} `),[()=>i.lib_gitlabConnect_token_description()]),n(d,$)},Et=d=>{var $=ra(),y=E($);{let F=g(()=>!t(p)||!_());z(y,{variant:"primary",get size(){return t(zt)},type:"button",onclick:Lt,get disabled(){return t(F)},children:(nt,xt)=>{h();var A=x();s(X=>o(A,X),[()=>i.lib_gitlabConnect_connect_label()]),n(nt,A)},$$slots:{default:!0}})}var L=l(y,2);{let F=g(()=>!_());z(L,{variant:"ghost",get size(){return t(gt)},type:"button",get disabled(){return t(F)},onclick:Pt,children:(nt,xt)=>{h();var A=x();s(X=>o(A,X),[()=>i.lib_gitlabConnect_useToken_label()]),n(nt,A)},$$slots:{default:!0}})}var mt=l(L,2);{var ht=F=>{z(F,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(nt,xt)=>{h();var A=x();s(X=>o(A,X),[()=>i.lib_gitlabConnect_cancel_label()]),n(nt,A)},$$slots:{default:!0}})};P(mt,F=>{w()&&F(ht)})}O($),n(d,$)};P(at,d=>{t(wt)?d(It):d(Et,-1)})}s(d=>{Mt(S,"id",N),o(ot,d)},[()=>i.lib_gitlabConnect_host_description()]),n(e,a)};P(Ft,e=>{(k()||b())&&Z()?e(_e):k()||b()?e(be,1):e(fe,-1)})}var Ut=l(Ft,2);{var ge=e=>{var a=oa(),u=B(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_cancelled_label()]),n(e,a)},$e=e=>{var a=la(),u=E(a),f=B(u,!0),G=l(u,2);z(G,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return b()},onclick:()=>W.dispatch(Kt()),children:(S,ot)=>{h();var et=x();s(dt=>o(et,dt),[()=>i.lib_gitlabConnect_checkStatus_label()]),n(S,et)},$$slots:{default:!0}}),O(a),s(S=>o(f,S),[()=>j()==="already-started"?i.lib_gitlabConnect_alreadyStarted_description():i.lib_gitlabConnect_cancelFailed_description()]),n(e,a)};P(Ut,e=>{j()==="cancelled"?e(ge):(j()==="already-started"||j()==="failed")&&e($e,1)})}var me=l(Ut,2);{var he=e=>{var a=ia(),u=B(a,!0);s(()=>o(u,vt())),n(e,a)};P(me,e=>{vt()&&e(he)})}O($t)}s(()=>ze($t,1,De(T()?"space-y-2":"space-y-4"))),n(it,$t);var xe=Qt(de);return M(),xe}export{ua as G,Je as M};
|
|
1
|
+
import{t as Yt,br as K,bz as Zt,b as Jt,a_ as P,bv as Y,bt as Ie,bp as i}from"./DXyyWeag.js";import{bs as Nt,ay as yt,be as h,b$ as x,b_ as s,bO as o,W as n,bS as l,bl as B,bn as Qt,aA as V,a7 as Se,aD as t,c9 as g,aB as I,bo as we,bV as kt,br as Ge,ca as Bt,bH as q,bk as Le,a5 as E,bA as O}from"./DYhIMPy1.js";import{n as Ae,p as Pe,v as ze,j as De,I as Ht,u as Mt}from"./CjaOLL1c.js";import{c as Te}from"./CnVt0JNG.js";import{f as z}from"./Bfr1QjPr.js";import"./Dwmx7Nbz.js";import{b as Fe}from"./C5oPUaEZ.js";import"./Co9PgWQA.js";import"./BKnW-cqy.js";import{b as Ue}from"./2YGlULfT.js";import{I as qt}from"./ChOlbK8y.js";import{L as Wt}from"./CX_KiszT.js";import"./Cuqq8bL5.js";import{G as Ee,x as Oe}from"./CMzyDAl1.js";import{Iy as W,fm as Kt,z as Be,ec as Vt,qw as He,tX as Me,Ip as qe,od as We,hA as Ke}from"./D5ej8a-y.js";import{aY as jt,aZ as Rt,a_ as Ve,aT as je,aU as Xt,aV as Re,aW as Xe,b2 as Ye}from"./DtIYVb7q.js";var Ze=I('<!> <p class="type-body"> </p>',1);function Je(it,m){if(new.target)return Yt({component:Je,...it});Nt(m,!0);let D=K(m,"open",15,!1),H=K(m,"static",7,!1),st=K(m,"title",7),_=K(m,"message",7),k=K(m,"buttons",7),b=K(m,"cancelIndex",7,0),Z=K(m,"onSelect",7);function j(r){D(!1),Z()?.(r)}var vt={get open(){return D()},set open(r=!1){D(r),V()},get static(){return H()},set static(r=!1){H(r),V()},get title(){return st()},set title(r){st(r),V()},get message(){return _()},set message(r){_(r),V()},get buttons(){return k()},set buttons(r){k(r),V()},get cancelIndex(){return b()},set cancelIndex(r=0){b(r),V()},get onSelect(){return Z()},set onSelect(r){Z(r),V()},$set:Zt,$on:(r,M)=>Jt(m,r,M)};return Ue(it,{get static(){return H()},role:"alertdialog",get title(){return st()},dismissOnInteractOutside:!1,focusContent:!0,onSubmit:()=>j(k().length-1),onCancel:()=>j(b()),get open(){return D()},set open(M){D(M)},footer:M=>{var T=Se(),w=yt(T);Ae(w,17,k,Pe,(J,N,R)=>{{let Q=g(()=>R===b()?"ghost":R===k().length-1?"primary":"outline");z(J,{get variant(){return t(Q)},onclick:()=>j(R),children:(ct,pt)=>{h();var ut=x();s(()=>o(ut,t(N))),n(ct,ut)},$$slots:{default:!0}})}}),n(M,T)},children:(M,T)=>{var w=Ze(),J=yt(w);Te(J,()=>Fe,(Q,ct)=>{ct(Q,{class:"sr-only",children:(pt,ut)=>{h();var _t=x();s(()=>o(_t,_())),n(pt,_t)},$$slots:{default:!0}})});var N=l(J,2),R=B(N,!0);s(()=>o(R,_())),n(M,w)},$$slots:{footer:!0,default:!0}}),Qt(vt)}var Ne=I('<p class="text-sm text-subtle" role="status" data-testid="gitlab-instance-update-required"> </p>'),Qe=I('<p class="break-all type-caption text-subtle" data-testid="gitlab-connect-instance"> </p>'),ta=I('<div class="max-w-sm space-y-3" data-testid="gitlab-connect-device-flow"><!> <div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!> <!></div></div>'),ea=I('<div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!></div>'),aa=I('<p class="text-xs text-danger" role="alert"> </p>'),na=I('<div class="max-w-sm space-y-1" data-testid="gitlab-connect-token"><!> <!> <p class="text-xs text-subtle"> <!></p></div> <div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>',1),ra=I('<div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>'),sa=I('<div class="max-w-sm space-y-1"><!> <!> <p class="text-xs text-subtle"> </p> <!></div> <!>',1),oa=I('<p class="text-sm text-subtle" role="status"> </p>'),la=I('<div class="space-y-1"><p class="text-sm text-subtle" role="status"> </p> <!></div>'),ia=I('<p class="text-sm text-danger" role="alert"> </p>'),ca=I('<div data-testid="gitlab-connect-form"><!> <!> <!> <!> <!></div>');function ua(it,m){const D=we();if(new.target)return Yt({component:ua,...it});Nt(m,!0);const H=()=>Y(ct,"$storedInstance$",r),st=()=>Y(ee,"$deviceGrantSupported$",r),_=()=>Y(ne,"$instanceSetupSupported$",r),k=()=>Y(pt,"$isAuthenticating$",r),b=()=>Y(ut,"$isCancelling$",r),Z=()=>Y(te,"$deviceFlow$",r),j=()=>Y(_t,"$cancelOutcome$",r),vt=()=>Y(ae,"$error$",r),[r,M]=Ie();let T=K(m,"compact",7,!1),w=K(m,"onCancel",7);const J=`${D}-host`,N=`${D}-host-help`,R=`${D}-host-error`,Q=`${D}-token`,ct=jt(),pt=Rt(),ut=Ve(),_t=je(),te=Xt(),ee=Re(),ae=Xe(),ne=Ye();let bt=kt(Ge(jt.select(W.state))),St=kt(!1),tt=kt(""),ft=kt(!1);const p=g(()=>Me(t(bt))),wt=g(()=>t(ft)||t(p)===H()&&st()===!1),Ct=g(()=>t(p)?We(t(p)):null),re=g(()=>_()&&t(p)!==null&&t(tt).trim().length>0);Bt(()=>{const c=H();t(St)||q(bt,c,!0)}),Bt(()=>{_()||q(tt,"")}),Le(()=>{const c=()=>{const e=W.state;Rt.select(e)&&Xt.select(e)&&W.dispatch(Kt())};return window.addEventListener("focus",c),()=>window.removeEventListener("focus",c)});function Gt(){!_()||!t(p)||t(p)===H()||k()||b()||W.dispatch(He(t(p)))}function se(){q(St,!0),q(tt,"")}function Lt(){!_()||!t(p)||k()||b()||W.dispatch(qe(t(p)))}function At(){const c=t(tt).trim();!_()||!c||!t(p)||k()||b()||(W.dispatch(Ke(t(p),c)),q(tt,""))}function Pt(){!_()||b()||(k()&&W.dispatch(Vt()),q(ft,!0))}function oe(){q(ft,!1)}function le(){b()||W.dispatch(Vt())}function ie(){t(Ct)&&Oe(t(Ct),{})}function ce(c){c.key==="Enter"&&(c.preventDefault(),Gt(),t(wt)?document.getElementById(Q)?.focus():Lt())}function ue(c){c.key==="Enter"&&(c.preventDefault(),At())}const zt=g(()=>T()?"sm":"xl"),gt=g(()=>T()?"sm":"default");var de={get compact(){return T()},set compact(c=!1){T(c),V()},get onCancel(){return w()},set onCancel(c){w(c),V()},$set:Zt,$on:(c,e)=>Jt(m,c,e)},$t=ca();{const c=e=>{z(e,{variant:"ghost",size:"sm",type:"button",class:"text-muted-foreground hover:text-foreground",get disabled(){return b()},onclick:le,children:(a,u)=>{h();var f=x();s(G=>o(f,G),[()=>b()?i.lib_gitlabConnect_cancelling_label():i.lib_gitlabConnect_cancel_label()]),n(a,f)},$$slots:{default:!0}})};var Dt=E($t);{var ve=e=>{var a=Ne(),u=B(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_updateRequired_description()]),n(e,a)};P(Dt,e=>{_()||e(ve)})}var Tt=l(Dt,2);{var pe=e=>{var a=Qe(),u=B(a,!0);s(()=>o(u,H())),n(e,a)};P(Tt,e=>{(k()||b())&&e(pe)})}var Ft=l(Tt,2);{var _e=e=>{var a=ta(),u=E(a);{let at=g(()=>i.lib_gitlabConnect_openGitlab_label());Ee(u,{get userCode(){return Z().userCode},get verificationUri(){return Z().verificationUri},get openLabel(){return t(at)},get compact(){return T()}})}var f=l(u,2),G=E(f);Ht(G,{size:16,class:"shrink-0"});var S=l(G,2),ot=B(S,!0),et=l(S,2);{let at=g(()=>b()||!_());z(et,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return t(at)},onclick:Pt,children:(It,Et)=>{h();var d=x();s($=>o(d,$),[()=>i.lib_gitlabConnect_useToken_label()]),n(It,d)},$$slots:{default:!0}})}var dt=l(et,2);c(dt),O(f),O(a),s(at=>o(ot,at),[()=>i.lib_gitlabConnect_waitingForAuthorization_label()]),n(e,a)},be=e=>{var a=ea(),u=E(a);Ht(u,{size:16,class:"shrink-0"});var f=l(u,2),G=B(f,!0),S=l(f,2);c(S),O(a),s(ot=>o(G,ot),[()=>i.lib_gitlabConnect_connecting_label()]),n(e,a)},fe=e=>{var a=sa(),u=yt(a),f=E(u);Wt(f,{get for(){return J},children:(d,$)=>{h();var y=x();s(L=>o(y,L),[()=>i.lib_gitlabConnect_host_label()]),n(d,y)},$$slots:{default:!0}});var G=l(f,2);{let d=g(()=>!_()),$=g(()=>!t(p)||void 0),y=g(()=>t(p)?N:`${N} ${R}`);qt(G,{get id(){return J},type:"text",autocomplete:"url",spellcheck:!1,get disabled(){return t(d)},get"aria-invalid"(){return t($)},get"aria-describedby"(){return t(y)},get placeholder(){return Be},oninput:se,onchange:Gt,onkeydown:ce,get value(){return t(bt)},set value(L){q(bt,L,!0)}})}var S=l(G,2),ot=B(S,!0),et=l(S,2);{var dt=d=>{var $=aa(),y=B($,!0);s(L=>{Mt($,"id",R),o(y,L)},[()=>i.lib_gitlabConnect_invalidInstance_error()]),n(d,$)};P(et,d=>{t(p)||d(dt)})}O(u);var at=l(u,2);{var It=d=>{var $=na(),y=yt($),L=E(y);Wt(L,{get for(){return Q},children:(v,U)=>{h();var lt=x();s(C=>o(lt,C),[()=>i.lib_gitlabConnect_token_label()]),n(v,lt)},$$slots:{default:!0}});var mt=l(L,2);{let v=g(()=>!_());qt(mt,{get id(){return Q},type:"password",autocomplete:"off",get disabled(){return t(v)},placeholder:"glpat-...",onkeydown:ue,get value(){return t(tt)},set value(U){q(tt,U,!0)}})}var ht=l(mt,2),F=E(ht),nt=l(F);{var xt=v=>{z(v,{variant:"link",size:"sm",type:"button",class:"h-auto px-0 text-xs",onclick:ie,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_createToken_label({host:t(p)})]),n(U,C)},$$slots:{default:!0}})};P(nt,v=>{t(Ct)&&t(p)&&v(xt)})}O(ht),O(y);var A=l(y,2),X=E(A);{let v=g(()=>!t(re));z(X,{variant:"primary",get size(){return t(zt)},type:"button",onclick:At,get disabled(){return t(v)},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_connect_label()]),n(U,C)},$$slots:{default:!0}})}var Ot=l(X,2);{var ke=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",onclick:oe,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_useDevice_label()]),n(U,C)},$$slots:{default:!0}})};P(Ot,v=>{t(ft)&&!(t(p)===H()&&st()===!1)&&v(ke)})}var ye=l(Ot,2);{var Ce=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_cancel_label()]),n(U,C)},$$slots:{default:!0}})};P(ye,v=>{w()&&v(Ce)})}O(A),s(v=>o(F,`${v??""} `),[()=>i.lib_gitlabConnect_token_description()]),n(d,$)},Et=d=>{var $=ra(),y=E($);{let F=g(()=>!t(p)||!_());z(y,{variant:"primary",get size(){return t(zt)},type:"button",onclick:Lt,get disabled(){return t(F)},children:(nt,xt)=>{h();var A=x();s(X=>o(A,X),[()=>i.lib_gitlabConnect_connect_label()]),n(nt,A)},$$slots:{default:!0}})}var L=l(y,2);{let F=g(()=>!_());z(L,{variant:"ghost",get size(){return t(gt)},type:"button",get disabled(){return t(F)},onclick:Pt,children:(nt,xt)=>{h();var A=x();s(X=>o(A,X),[()=>i.lib_gitlabConnect_useToken_label()]),n(nt,A)},$$slots:{default:!0}})}var mt=l(L,2);{var ht=F=>{z(F,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(nt,xt)=>{h();var A=x();s(X=>o(A,X),[()=>i.lib_gitlabConnect_cancel_label()]),n(nt,A)},$$slots:{default:!0}})};P(mt,F=>{w()&&F(ht)})}O($),n(d,$)};P(at,d=>{t(wt)?d(It):d(Et,-1)})}s(d=>{Mt(S,"id",N),o(ot,d)},[()=>i.lib_gitlabConnect_host_description()]),n(e,a)};P(Ft,e=>{(k()||b())&&Z()?e(_e):k()||b()?e(be,1):e(fe,-1)})}var Ut=l(Ft,2);{var ge=e=>{var a=oa(),u=B(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_cancelled_label()]),n(e,a)},$e=e=>{var a=la(),u=E(a),f=B(u,!0),G=l(u,2);z(G,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return b()},onclick:()=>W.dispatch(Kt()),children:(S,ot)=>{h();var et=x();s(dt=>o(et,dt),[()=>i.lib_gitlabConnect_checkStatus_label()]),n(S,et)},$$slots:{default:!0}}),O(a),s(S=>o(f,S),[()=>j()==="already-started"?i.lib_gitlabConnect_alreadyStarted_description():i.lib_gitlabConnect_cancelFailed_description()]),n(e,a)};P(Ut,e=>{j()==="cancelled"?e(ge):(j()==="already-started"||j()==="failed")&&e($e,1)})}var me=l(Ut,2);{var he=e=>{var a=ia(),u=B(a,!0);s(()=>o(u,vt())),n(e,a)};P(me,e=>{vt()&&e(he)})}O($t)}s(()=>ze($t,1,De(T()?"space-y-2":"space-y-4"))),n(it,$t);var xe=Qt(de);return M(),xe}export{ua as G,Je as M};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{U as be,aZ as we,Y as _e,b0 as De,V as Se,a_ as Ce,b as l,X as dt,aW as vt,B as Me,L as U,ay as st,z as Ee,P as Ie,r as $e,bh as Ye}from"./ChGUMi8s.js";import{g as It}from"./BdWqymET.js";import{t as Ae,d as Fe,m as Le,l as Oe,h as We,g as Zt,p as Qt,u as Pe,q as Ve,i as ze,v as Re,x as Ne,w as He,n as Be,e as Kt,j as Jt,k as te,s as ee,a as re}from"./_DgrG-uz.js";function qe(t){return t}var Tt=1,Yt=2,Ft=3,xt=4,se=1e-6;function Ge(t){return"translate("+t+",0)"}function Xe(t){return"translate(0,"+t+")"}function je(t){return e=>+t(e)}function Ue(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),s=>+t(s)+e}function Ze(){return!this.__axis}function de(t,e){var s=[],r=null,i=null,g=6,y=6,b=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===Tt||t===xt?-1:1,_=t===xt||t===Yt?"x":"y",W=t===Tt||t===Ft?Ge:Xe;function w(D){var N=r??(e.ticks?e.ticks.apply(e,s):e.domain()),V=i??(e.tickFormat?e.tickFormat.apply(e,s):qe),k=Math.max(g,0)+b,M=e.range(),P=+M[0]+S,O=+M[M.length-1]+S,B=(e.bandwidth?Ue:je)(e.copy(),S),H=D.selection?D.selection():D,I=H.selectAll(".domain").data([null]),x=H.selectAll(".tick").data(N,e).order(),h=x.exit(),E=x.enter().append("g").attr("class","tick"),f=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),f=f.merge(E.append("line").attr("stroke","currentColor").attr(_+"2",L*g)),T=T.merge(E.append("text").attr("fill","currentColor").attr(_,L*k).attr("dy",t===Tt?"0em":t===Ft?"0.71em":"0.32em")),D!==H&&(I=I.transition(D),x=x.transition(D),f=f.transition(D),T=T.transition(D),h=h.transition(D).attr("opacity",se).attr("transform",function(v){return isFinite(v=B(v))?W(v+S):this.getAttribute("transform")}),E.attr("opacity",se).attr("transform",function(v){var p=this.parentNode.__axis;return W((p&&isFinite(p=p(v))?p:B(v))+S)})),h.remove(),I.attr("d",t===xt||t===Yt?y?"M"+L*y+","+P+"H"+S+"V"+O+"H"+L*y:"M"+S+","+P+"V"+O:y?"M"+P+","+L*y+"V"+S+"H"+O+"V"+L*y:"M"+P+","+S+"H"+O),x.attr("opacity",1).attr("transform",function(v){return W(B(v)+S)}),f.attr(_+"2",L*g),T.attr(_,L*k).text(V),H.filter(Ze).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Yt?"start":t===xt?"end":"middle"),H.each(function(){this.__axis=B})}return w.scale=function(D){return arguments.length?(e=D,w):e},w.ticks=function(){return s=Array.from(arguments),w},w.tickArguments=function(D){return arguments.length?(s=D==null?[]:Array.from(D),w):s.slice()},w.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),w):r&&r.slice()},w.tickFormat=function(D){return arguments.length?(i=D,w):i},w.tickSize=function(D){return arguments.length?(g=y=+D,w):g},w.tickSizeInner=function(D){return arguments.length?(g=+D,w):g},w.tickSizeOuter=function(D){return arguments.length?(y=+D,w):y},w.tickPadding=function(D){return arguments.length?(b=+D,w):b},w.offset=function(D){return arguments.length?(S=+D,w):S},w}function Qe(t){return de(Tt,t)}function Ke(t){return de(Ft,t)}var bt={exports:{}},Je=bt.exports,ne;function tr(){return ne||(ne=1,(function(t,e){(function(s,r){t.exports=r()})(Je,(function(){var s="day";return function(r,i,g){var y=function(L){return L.add(4-L.isoWeekday(),s)},b=i.prototype;b.isoWeekYear=function(){return y(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),s);var _,W,w,D,N=y(this),V=(_=this.isoWeekYear(),W=this.$u,w=(W?g.utc:g)().year(_).startOf("year"),D=4-w.isoWeekday(),w.isoWeekday()>4&&(D+=7),w.add(D,s));return N.diff(V,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var S=b.startOf;b.startOf=function(L,_){var W=this.$utils(),w=!!W.u(_)||_;return W.p(L)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(L,_)}}}))})(bt)),bt.exports}var er=tr();const rr=It(er);var wt={exports:{}},sr=wt.exports,ie;function nr(){return ie||(ie=1,(function(t,e){(function(s,r){t.exports=r()})(sr,(function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,g=/\d\d/,y=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,S={},L=function(k){return(k=+k)+(k>68?1900:2e3)},_=function(k){return function(M){this[k]=+M}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var P=M.match(/([+-]|\d\d)/g),O=60*P[1]+(+P[2]||0);return O===0?0:P[0]==="+"?-O:O})(k)}],w=function(k){var M=S[k];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(k,M){var P,O=S.meridiem;if(O){for(var B=1;B<=24;B+=1)if(k.indexOf(O(B,0,M))>-1){P=B>12;break}}else P=k===(M?"pm":"PM");return P},N={A:[b,function(k){this.afternoon=D(k,!1)}],a:[b,function(k){this.afternoon=D(k,!0)}],Q:[i,function(k){this.month=3*(k-1)+1}],S:[i,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[y,_("seconds")],ss:[y,_("seconds")],m:[y,_("minutes")],mm:[y,_("minutes")],H:[y,_("hours")],h:[y,_("hours")],HH:[y,_("hours")],hh:[y,_("hours")],D:[y,_("day")],DD:[g,_("day")],Do:[b,function(k){var M=S.ordinal,P=k.match(/\d+/);if(this.day=P[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===k&&(this.day=O)}],w:[y,_("week")],ww:[g,_("week")],M:[y,_("month")],MM:[g,_("month")],MMM:[b,function(k){var M=w("months"),P=(w("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(k)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[b,function(k){var M=w("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,_("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,_("year")],Z:W,ZZ:W};function V(k){var M,P;M=k,P=S&&S.formats;for(var O=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(f,T,v){var p=v&&v.toUpperCase();return T||P[v]||s[v]||P[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,m){return d||m.slice(1)}))}))).match(r),B=O.length,H=0;H<B;H+=1){var I=O[H],x=N[I],h=x&&x[0],E=x&&x[1];O[H]=E?{regex:h,parser:E}:I.replace(/^\[|\]$/g,"")}return function(f){for(var T={},v=0,p=0;v<B;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,m=a.parser,u=f.slice(p),C=d.exec(u)[0];m.call(T,C),f=f.replace(C,"")}}return(function(n){var $=n.afternoon;if($!==void 0){var o=n.hours;$?o<12&&(n.hours+=12):o===12&&(n.hours=0),delete n.afternoon}})(T),T}}return function(k,M,P){P.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var O=M.prototype,B=O.parse;O.parse=function(H){var I=H.date,x=H.utc,h=H.args;this.$u=x;var E=h[1];if(typeof E=="string"){var f=h[2]===!0,T=h[3]===!0,v=f||T,p=h[2];T&&(p=h[2]),S=this.$locale(),!f&&p&&(S=P.Ls[p]),this.$d=(function(u,C,n,$){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*u);var o=V(C)(u),G=o.year,c=o.month,Y=o.day,A=o.hours,R=o.minutes,F=o.seconds,q=o.milliseconds,z=o.zone,nt=o.week,at=new Date,yt=Y||(G||c?1:at.getDate()),lt=G||at.getFullYear(),X=0;G&&!c||(X=c>0?c-1:at.getMonth());var K,Z=A||0,ot=R||0,J=F||0,it=q||0;return z?new Date(Date.UTC(lt,X,yt,Z,ot,J,it+60*z.offset*1e3)):n?new Date(Date.UTC(lt,X,yt,Z,ot,J,it)):(K=new Date(lt,X,yt,Z,ot,J,it),nt&&(K=$(K).week(nt).toDate()),K)}catch{return new Date("")}})(I,E,x,P),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),S={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){h[1]=E[d-1];var m=P.apply(this,h);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===a&&(this.$d=new Date(""))}else B.call(this,H)}}}))})(wt)),wt.exports}var ir=nr();const ar=It(ir);var _t={exports:{}},or=_t.exports,ae;function cr(){return ae||(ae=1,(function(t,e){(function(s,r){t.exports=r()})(or,(function(){return function(s,r){var i=r.prototype,g=i.format;i.format=function(y){var b=this,S=this.$locale();if(!this.isValid())return g.bind(this)(y);var L=this.$utils(),_=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(W){switch(W){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return S.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return S.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),W==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),W==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),W==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return W}}));return g.bind(this)(_)}}}))})(_t)),_t.exports}var lr=cr();const ur=It(lr);var Dt={exports:{}},dr=Dt.exports,oe;function fr(){return oe||(oe=1,(function(t,e){(function(s,r){t.exports=r()})(dr,(function(){var s,r,i=1e3,g=6e4,y=36e5,b=864e5,S=31536e6,L=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,W=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,w={years:S,months:L,days:b,hours:y,minutes:g,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof B},N=function(I,x,h){return new B(I,h,x.$l)},V=function(I){return r.p(I)+"s"},k=function(I){return I<0},M=function(I){return k(I)?Math.ceil(I):Math.floor(I)},P=function(I){return Math.abs(I)},O=function(I,x){return I?k(I)?{negative:!0,format:""+P(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},B=(function(){function I(h,E,f){var T=this;if(this.$d={},this.$l=f,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return N(h*w[V(E)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(a){T.$d[V(a)]=h[a]})),this.calMilliseconds(),this;if(typeof h=="string"){var v=h.match(_);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(E,f){return E+(h.$d[f]||0)*w[f]}),0)},x.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/S),h%=S,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/y),h%=y,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/i),h%=i,this.$d.milliseconds=h},x.toISOString=function(){var h=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),f=+this.$d.days||0;this.$d.weeks&&(f+=7*this.$d.weeks);var T=O(f,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),m=h.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",C=(m?"-":"")+"P"+h.format+E.format+T.format+u+v.format+p.format+d.format;return C==="P"||C==="-P"?"P0D":C},x.toJSON=function(){return this.toISOString()},x.format=function(h){var E=h||"YYYY-MM-DDTHH:mm:ss",f={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return E.replace(W,(function(T,v){return v||String(f[T])}))},x.as=function(h){return this.$ms/w[V(h)]},x.get=function(h){var E=this.$ms,f=V(h);return f==="milliseconds"?E%=1e3:E=f==="weeks"?M(E/w[f]):this.$d[f],E||0},x.add=function(h,E,f){var T;return T=E?h*w[V(E)]:D(h)?h.$ms:N(h,this).$ms,N(this.$ms+T*(f?-1:1),this)},x.subtract=function(h,E){return this.add(h,E,!0)},x.locale=function(h){var E=this.clone();return E.$l=h,E},x.clone=function(){return N(this.$ms,this)},x.humanize=function(h){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),H=function(I,x,h){return I.add(x.years()*h,"y").add(x.months()*h,"M").add(x.days()*h,"d").add(x.hours()*h,"h").add(x.minutes()*h,"m").add(x.seconds()*h,"s").add(x.milliseconds()*h,"ms")};return function(I,x,h){s=h,r=h().$utils(),h.duration=function(T,v){var p=h.locale();return N(T,{$l:p},v)},h.isDuration=D;var E=x.prototype.add,f=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?H(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?H(this,T,-1):f.bind(this)(T,v)}}}))})(Dt)),Dt.exports}var hr=fr();const mr=It(hr);var Lt=(function(){var t=l(function(p,a,d,m){for(d=d||{},m=p.length;m--;d[p[m]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],i=[1,28],g=[1,29],y=[1,30],b=[1,31],S=[1,32],L=[1,33],_=[1,34],W=[1,9],w=[1,10],D=[1,11],N=[1,12],V=[1,13],k=[1,14],M=[1,15],P=[1,16],O=[1,19],B=[1,20],H=[1,21],I=[1,22],x=[1,23],h=[1,25],E=[1,35],f={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,m,u,C,n,$){var o=n.length-1;switch(C){case 1:return n[o-1];case 2:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:this.$=n[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[o].substr(18);break;case 19:u.TopAxis(),this.$=n[o].substr(8);break;case 20:u.setAxisFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 21:u.setTickInterval(n[o].substr(13)),this.$=n[o].substr(13);break;case 22:u.setExcludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 23:u.setIncludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 24:u.setTodayMarker(n[o].substr(12)),this.$=n[o].substr(12);break;case 27:u.setDiagramTitle(n[o].substr(6)),this.$=n[o].substr(6);break;case 28:this.$=n[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[o].substr(8)),this.$=n[o].substr(8);break;case 33:u.addTask(n[o-1],n[o]),this.$="task";break;case 34:this.$=n[o-1],u.setClickEvent(n[o-1],n[o],null);break;case 35:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],n[o]);break;case 36:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],null),u.setLink(n[o-2],n[o]);break;case 37:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-2],n[o-1]),u.setLink(n[o-3],n[o]);break;case 38:this.$=n[o-2],u.setClickEvent(n[o-2],n[o],null),u.setLink(n[o-2],n[o-1]);break;case 39:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-1],n[o]),u.setLink(n[o-3],n[o-2]);break;case 40:this.$=n[o-1],u.setLink(n[o-1],n[o]);break;case 41:case 47:this.$=n[o-1]+" "+n[o];break;case 42:case 43:case 45:this.$=n[o-2]+" "+n[o-1]+" "+n[o];break;case 44:case 46:this.$=n[o-3]+" "+n[o-2]+" "+n[o-1]+" "+n[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var m=new Error(a);throw m.hash=d,m}},"parseError"),parse:l(function(a){var d=this,m=[0],u=[],C=[null],n=[],$=this.table,o="",G=0,c=0,Y=2,A=1,R=n.slice.call(arguments,1),F=Object.create(this.lexer),q={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(q.yy[z]=this.yy[z]);F.setInput(a,q.yy),q.yy.lexer=F,q.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var nt=F.yylloc;n.push(nt);var at=F.options&&F.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){m.length=m.length-2*Q,C.length=C.length-Q,n.length=n.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var X,K,Z,ot,J={},it,tt,Ut,pt;;){if(K=m[m.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=lt()),Z=$[K]&&$[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var $t="";pt=[];for(it in $[K])this.terminals_[it]&&it>Y&&pt.push("'"+this.terminals_[it]+"'");F.showPosition?$t="Parse error on line "+(G+1)+`:
|
|
1
|
+
import{U as be,aZ as we,Y as _e,b0 as De,V as Se,a_ as Ce,b as l,X as dt,aW as vt,B as Me,L as U,ay as st,z as Ee,P as Ie,r as $e,bh as Ye}from"./DyYampZL.js";import{g as It}from"./BdWqymET.js";import{t as Ae,d as Fe,m as Le,l as Oe,h as We,g as Zt,p as Qt,u as Pe,q as Ve,i as ze,v as Re,x as Ne,w as He,n as Be,e as Kt,j as Jt,k as te,s as ee,a as re}from"./B1cHX7Xk.js";function qe(t){return t}var Tt=1,Yt=2,Ft=3,xt=4,se=1e-6;function Ge(t){return"translate("+t+",0)"}function Xe(t){return"translate(0,"+t+")"}function je(t){return e=>+t(e)}function Ue(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),s=>+t(s)+e}function Ze(){return!this.__axis}function de(t,e){var s=[],r=null,i=null,g=6,y=6,b=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,L=t===Tt||t===xt?-1:1,_=t===xt||t===Yt?"x":"y",W=t===Tt||t===Ft?Ge:Xe;function w(D){var N=r??(e.ticks?e.ticks.apply(e,s):e.domain()),V=i??(e.tickFormat?e.tickFormat.apply(e,s):qe),k=Math.max(g,0)+b,M=e.range(),P=+M[0]+S,O=+M[M.length-1]+S,B=(e.bandwidth?Ue:je)(e.copy(),S),H=D.selection?D.selection():D,I=H.selectAll(".domain").data([null]),x=H.selectAll(".tick").data(N,e).order(),h=x.exit(),E=x.enter().append("g").attr("class","tick"),f=x.select("line"),T=x.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),x=x.merge(E),f=f.merge(E.append("line").attr("stroke","currentColor").attr(_+"2",L*g)),T=T.merge(E.append("text").attr("fill","currentColor").attr(_,L*k).attr("dy",t===Tt?"0em":t===Ft?"0.71em":"0.32em")),D!==H&&(I=I.transition(D),x=x.transition(D),f=f.transition(D),T=T.transition(D),h=h.transition(D).attr("opacity",se).attr("transform",function(v){return isFinite(v=B(v))?W(v+S):this.getAttribute("transform")}),E.attr("opacity",se).attr("transform",function(v){var p=this.parentNode.__axis;return W((p&&isFinite(p=p(v))?p:B(v))+S)})),h.remove(),I.attr("d",t===xt||t===Yt?y?"M"+L*y+","+P+"H"+S+"V"+O+"H"+L*y:"M"+S+","+P+"V"+O:y?"M"+P+","+L*y+"V"+S+"H"+O+"V"+L*y:"M"+P+","+S+"H"+O),x.attr("opacity",1).attr("transform",function(v){return W(B(v)+S)}),f.attr(_+"2",L*g),T.attr(_,L*k).text(V),H.filter(Ze).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===Yt?"start":t===xt?"end":"middle"),H.each(function(){this.__axis=B})}return w.scale=function(D){return arguments.length?(e=D,w):e},w.ticks=function(){return s=Array.from(arguments),w},w.tickArguments=function(D){return arguments.length?(s=D==null?[]:Array.from(D),w):s.slice()},w.tickValues=function(D){return arguments.length?(r=D==null?null:Array.from(D),w):r&&r.slice()},w.tickFormat=function(D){return arguments.length?(i=D,w):i},w.tickSize=function(D){return arguments.length?(g=y=+D,w):g},w.tickSizeInner=function(D){return arguments.length?(g=+D,w):g},w.tickSizeOuter=function(D){return arguments.length?(y=+D,w):y},w.tickPadding=function(D){return arguments.length?(b=+D,w):b},w.offset=function(D){return arguments.length?(S=+D,w):S},w}function Qe(t){return de(Tt,t)}function Ke(t){return de(Ft,t)}var bt={exports:{}},Je=bt.exports,ne;function tr(){return ne||(ne=1,(function(t,e){(function(s,r){t.exports=r()})(Je,(function(){var s="day";return function(r,i,g){var y=function(L){return L.add(4-L.isoWeekday(),s)},b=i.prototype;b.isoWeekYear=function(){return y(this).year()},b.isoWeek=function(L){if(!this.$utils().u(L))return this.add(7*(L-this.isoWeek()),s);var _,W,w,D,N=y(this),V=(_=this.isoWeekYear(),W=this.$u,w=(W?g.utc:g)().year(_).startOf("year"),D=4-w.isoWeekday(),w.isoWeekday()>4&&(D+=7),w.add(D,s));return N.diff(V,"week")+1},b.isoWeekday=function(L){return this.$utils().u(L)?this.day()||7:this.day(this.day()%7?L:L-7)};var S=b.startOf;b.startOf=function(L,_){var W=this.$utils(),w=!!W.u(_)||_;return W.p(L)==="isoweek"?w?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):S.bind(this)(L,_)}}}))})(bt)),bt.exports}var er=tr();const rr=It(er);var wt={exports:{}},sr=wt.exports,ie;function nr(){return ie||(ie=1,(function(t,e){(function(s,r){t.exports=r()})(sr,(function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,g=/\d\d/,y=/\d\d?/,b=/\d*[^-_:/,()\s\d]+/,S={},L=function(k){return(k=+k)+(k>68?1900:2e3)},_=function(k){return function(M){this[k]=+M}},W=[/[+-]\d\d:?(\d\d)?|Z/,function(k){(this.zone||(this.zone={})).offset=(function(M){if(!M||M==="Z")return 0;var P=M.match(/([+-]|\d\d)/g),O=60*P[1]+(+P[2]||0);return O===0?0:P[0]==="+"?-O:O})(k)}],w=function(k){var M=S[k];return M&&(M.indexOf?M:M.s.concat(M.f))},D=function(k,M){var P,O=S.meridiem;if(O){for(var B=1;B<=24;B+=1)if(k.indexOf(O(B,0,M))>-1){P=B>12;break}}else P=k===(M?"pm":"PM");return P},N={A:[b,function(k){this.afternoon=D(k,!1)}],a:[b,function(k){this.afternoon=D(k,!0)}],Q:[i,function(k){this.month=3*(k-1)+1}],S:[i,function(k){this.milliseconds=100*+k}],SS:[g,function(k){this.milliseconds=10*+k}],SSS:[/\d{3}/,function(k){this.milliseconds=+k}],s:[y,_("seconds")],ss:[y,_("seconds")],m:[y,_("minutes")],mm:[y,_("minutes")],H:[y,_("hours")],h:[y,_("hours")],HH:[y,_("hours")],hh:[y,_("hours")],D:[y,_("day")],DD:[g,_("day")],Do:[b,function(k){var M=S.ordinal,P=k.match(/\d+/);if(this.day=P[0],M)for(var O=1;O<=31;O+=1)M(O).replace(/\[|\]/g,"")===k&&(this.day=O)}],w:[y,_("week")],ww:[g,_("week")],M:[y,_("month")],MM:[g,_("month")],MMM:[b,function(k){var M=w("months"),P=(w("monthsShort")||M.map((function(O){return O.slice(0,3)}))).indexOf(k)+1;if(P<1)throw new Error;this.month=P%12||P}],MMMM:[b,function(k){var M=w("months").indexOf(k)+1;if(M<1)throw new Error;this.month=M%12||M}],Y:[/[+-]?\d+/,_("year")],YY:[g,function(k){this.year=L(k)}],YYYY:[/\d{4}/,_("year")],Z:W,ZZ:W};function V(k){var M,P;M=k,P=S&&S.formats;for(var O=(k=M.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(f,T,v){var p=v&&v.toUpperCase();return T||P[v]||s[v]||P[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(a,d,m){return d||m.slice(1)}))}))).match(r),B=O.length,H=0;H<B;H+=1){var I=O[H],x=N[I],h=x&&x[0],E=x&&x[1];O[H]=E?{regex:h,parser:E}:I.replace(/^\[|\]$/g,"")}return function(f){for(var T={},v=0,p=0;v<B;v+=1){var a=O[v];if(typeof a=="string")p+=a.length;else{var d=a.regex,m=a.parser,u=f.slice(p),C=d.exec(u)[0];m.call(T,C),f=f.replace(C,"")}}return(function(n){var $=n.afternoon;if($!==void 0){var o=n.hours;$?o<12&&(n.hours+=12):o===12&&(n.hours=0),delete n.afternoon}})(T),T}}return function(k,M,P){P.p.customParseFormat=!0,k&&k.parseTwoDigitYear&&(L=k.parseTwoDigitYear);var O=M.prototype,B=O.parse;O.parse=function(H){var I=H.date,x=H.utc,h=H.args;this.$u=x;var E=h[1];if(typeof E=="string"){var f=h[2]===!0,T=h[3]===!0,v=f||T,p=h[2];T&&(p=h[2]),S=this.$locale(),!f&&p&&(S=P.Ls[p]),this.$d=(function(u,C,n,$){try{if(["x","X"].indexOf(C)>-1)return new Date((C==="X"?1e3:1)*u);var o=V(C)(u),G=o.year,c=o.month,Y=o.day,A=o.hours,R=o.minutes,F=o.seconds,q=o.milliseconds,z=o.zone,nt=o.week,at=new Date,yt=Y||(G||c?1:at.getDate()),lt=G||at.getFullYear(),X=0;G&&!c||(X=c>0?c-1:at.getMonth());var K,Z=A||0,ot=R||0,J=F||0,it=q||0;return z?new Date(Date.UTC(lt,X,yt,Z,ot,J,it+60*z.offset*1e3)):n?new Date(Date.UTC(lt,X,yt,Z,ot,J,it)):(K=new Date(lt,X,yt,Z,ot,J,it),nt&&(K=$(K).week(nt).toDate()),K)}catch{return new Date("")}})(I,E,x,P),this.init(),p&&p!==!0&&(this.$L=this.locale(p).$L),v&&I!=this.format(E)&&(this.$d=new Date("")),S={}}else if(E instanceof Array)for(var a=E.length,d=1;d<=a;d+=1){h[1]=E[d-1];var m=P.apply(this,h);if(m.isValid()){this.$d=m.$d,this.$L=m.$L,this.init();break}d===a&&(this.$d=new Date(""))}else B.call(this,H)}}}))})(wt)),wt.exports}var ir=nr();const ar=It(ir);var _t={exports:{}},or=_t.exports,ae;function cr(){return ae||(ae=1,(function(t,e){(function(s,r){t.exports=r()})(or,(function(){return function(s,r){var i=r.prototype,g=i.format;i.format=function(y){var b=this,S=this.$locale();if(!this.isValid())return g.bind(this)(y);var L=this.$utils(),_=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(W){switch(W){case"Q":return Math.ceil((b.$M+1)/3);case"Do":return S.ordinal(b.$D);case"gggg":return b.weekYear();case"GGGG":return b.isoWeekYear();case"wo":return S.ordinal(b.week(),"W");case"w":case"ww":return L.s(b.week(),W==="w"?1:2,"0");case"W":case"WW":return L.s(b.isoWeek(),W==="W"?1:2,"0");case"k":case"kk":return L.s(String(b.$H===0?24:b.$H),W==="k"?1:2,"0");case"X":return Math.floor(b.$d.getTime()/1e3);case"x":return b.$d.getTime();case"z":return"["+b.offsetName()+"]";case"zzz":return"["+b.offsetName("long")+"]";default:return W}}));return g.bind(this)(_)}}}))})(_t)),_t.exports}var lr=cr();const ur=It(lr);var Dt={exports:{}},dr=Dt.exports,oe;function fr(){return oe||(oe=1,(function(t,e){(function(s,r){t.exports=r()})(dr,(function(){var s,r,i=1e3,g=6e4,y=36e5,b=864e5,S=31536e6,L=2628e6,_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,W=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,w={years:S,months:L,days:b,hours:y,minutes:g,seconds:i,milliseconds:1,weeks:6048e5},D=function(I){return I instanceof B},N=function(I,x,h){return new B(I,h,x.$l)},V=function(I){return r.p(I)+"s"},k=function(I){return I<0},M=function(I){return k(I)?Math.ceil(I):Math.floor(I)},P=function(I){return Math.abs(I)},O=function(I,x){return I?k(I)?{negative:!0,format:""+P(I)+x}:{negative:!1,format:""+I+x}:{negative:!1,format:""}},B=(function(){function I(h,E,f){var T=this;if(this.$d={},this.$l=f,h===void 0&&(this.$ms=0,this.parseFromMilliseconds()),E)return N(h*w[V(E)],this);if(typeof h=="number")return this.$ms=h,this.parseFromMilliseconds(),this;if(typeof h=="object")return Object.keys(h).forEach((function(a){T.$d[V(a)]=h[a]})),this.calMilliseconds(),this;if(typeof h=="string"){var v=h.match(_);if(v){var p=v.slice(2).map((function(a){return a!=null?Number(a):0}));return this.$d.years=p[0],this.$d.months=p[1],this.$d.weeks=p[2],this.$d.days=p[3],this.$d.hours=p[4],this.$d.minutes=p[5],this.$d.seconds=p[6],this.calMilliseconds(),this}}return this}var x=I.prototype;return x.calMilliseconds=function(){var h=this;this.$ms=Object.keys(this.$d).reduce((function(E,f){return E+(h.$d[f]||0)*w[f]}),0)},x.parseFromMilliseconds=function(){var h=this.$ms;this.$d.years=M(h/S),h%=S,this.$d.months=M(h/L),h%=L,this.$d.days=M(h/b),h%=b,this.$d.hours=M(h/y),h%=y,this.$d.minutes=M(h/g),h%=g,this.$d.seconds=M(h/i),h%=i,this.$d.milliseconds=h},x.toISOString=function(){var h=O(this.$d.years,"Y"),E=O(this.$d.months,"M"),f=+this.$d.days||0;this.$d.weeks&&(f+=7*this.$d.weeks);var T=O(f,"D"),v=O(this.$d.hours,"H"),p=O(this.$d.minutes,"M"),a=this.$d.seconds||0;this.$d.milliseconds&&(a+=this.$d.milliseconds/1e3,a=Math.round(1e3*a)/1e3);var d=O(a,"S"),m=h.negative||E.negative||T.negative||v.negative||p.negative||d.negative,u=v.format||p.format||d.format?"T":"",C=(m?"-":"")+"P"+h.format+E.format+T.format+u+v.format+p.format+d.format;return C==="P"||C==="-P"?"P0D":C},x.toJSON=function(){return this.toISOString()},x.format=function(h){var E=h||"YYYY-MM-DDTHH:mm:ss",f={Y:this.$d.years,YY:r.s(this.$d.years,2,"0"),YYYY:r.s(this.$d.years,4,"0"),M:this.$d.months,MM:r.s(this.$d.months,2,"0"),D:this.$d.days,DD:r.s(this.$d.days,2,"0"),H:this.$d.hours,HH:r.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:r.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:r.s(this.$d.seconds,2,"0"),SSS:r.s(this.$d.milliseconds,3,"0")};return E.replace(W,(function(T,v){return v||String(f[T])}))},x.as=function(h){return this.$ms/w[V(h)]},x.get=function(h){var E=this.$ms,f=V(h);return f==="milliseconds"?E%=1e3:E=f==="weeks"?M(E/w[f]):this.$d[f],E||0},x.add=function(h,E,f){var T;return T=E?h*w[V(E)]:D(h)?h.$ms:N(h,this).$ms,N(this.$ms+T*(f?-1:1),this)},x.subtract=function(h,E){return this.add(h,E,!0)},x.locale=function(h){var E=this.clone();return E.$l=h,E},x.clone=function(){return N(this.$ms,this)},x.humanize=function(h){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!h)},x.valueOf=function(){return this.asMilliseconds()},x.milliseconds=function(){return this.get("milliseconds")},x.asMilliseconds=function(){return this.as("milliseconds")},x.seconds=function(){return this.get("seconds")},x.asSeconds=function(){return this.as("seconds")},x.minutes=function(){return this.get("minutes")},x.asMinutes=function(){return this.as("minutes")},x.hours=function(){return this.get("hours")},x.asHours=function(){return this.as("hours")},x.days=function(){return this.get("days")},x.asDays=function(){return this.as("days")},x.weeks=function(){return this.get("weeks")},x.asWeeks=function(){return this.as("weeks")},x.months=function(){return this.get("months")},x.asMonths=function(){return this.as("months")},x.years=function(){return this.get("years")},x.asYears=function(){return this.as("years")},I})(),H=function(I,x,h){return I.add(x.years()*h,"y").add(x.months()*h,"M").add(x.days()*h,"d").add(x.hours()*h,"h").add(x.minutes()*h,"m").add(x.seconds()*h,"s").add(x.milliseconds()*h,"ms")};return function(I,x,h){s=h,r=h().$utils(),h.duration=function(T,v){var p=h.locale();return N(T,{$l:p},v)},h.isDuration=D;var E=x.prototype.add,f=x.prototype.subtract;x.prototype.add=function(T,v){return D(T)?H(this,T,1):E.bind(this)(T,v)},x.prototype.subtract=function(T,v){return D(T)?H(this,T,-1):f.bind(this)(T,v)}}}))})(Dt)),Dt.exports}var hr=fr();const mr=It(hr);var Lt=(function(){var t=l(function(p,a,d,m){for(d=d||{},m=p.length;m--;d[p[m]]=a);return d},"o"),e=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],i=[1,28],g=[1,29],y=[1,30],b=[1,31],S=[1,32],L=[1,33],_=[1,34],W=[1,9],w=[1,10],D=[1,11],N=[1,12],V=[1,13],k=[1,14],M=[1,15],P=[1,16],O=[1,19],B=[1,20],H=[1,21],I=[1,22],x=[1,23],h=[1,25],E=[1,35],f={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(a,d,m,u,C,n,$){var o=n.length-1;switch(C){case 1:return n[o-1];case 2:this.$=[];break;case 3:n[o-1].push(n[o]),this.$=n[o-1];break;case 4:case 5:this.$=n[o];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[o].substr(18);break;case 19:u.TopAxis(),this.$=n[o].substr(8);break;case 20:u.setAxisFormat(n[o].substr(11)),this.$=n[o].substr(11);break;case 21:u.setTickInterval(n[o].substr(13)),this.$=n[o].substr(13);break;case 22:u.setExcludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 23:u.setIncludes(n[o].substr(9)),this.$=n[o].substr(9);break;case 24:u.setTodayMarker(n[o].substr(12)),this.$=n[o].substr(12);break;case 27:u.setDiagramTitle(n[o].substr(6)),this.$=n[o].substr(6);break;case 28:this.$=n[o].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[o].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[o].substr(8)),this.$=n[o].substr(8);break;case 33:u.addTask(n[o-1],n[o]),this.$="task";break;case 34:this.$=n[o-1],u.setClickEvent(n[o-1],n[o],null);break;case 35:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],n[o]);break;case 36:this.$=n[o-2],u.setClickEvent(n[o-2],n[o-1],null),u.setLink(n[o-2],n[o]);break;case 37:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-2],n[o-1]),u.setLink(n[o-3],n[o]);break;case 38:this.$=n[o-2],u.setClickEvent(n[o-2],n[o],null),u.setLink(n[o-2],n[o-1]);break;case 39:this.$=n[o-3],u.setClickEvent(n[o-3],n[o-1],n[o]),u.setLink(n[o-3],n[o-2]);break;case 40:this.$=n[o-1],u.setLink(n[o-1],n[o]);break;case 41:case 47:this.$=n[o-1]+" "+n[o];break;case 42:case 43:case 45:this.$=n[o-2]+" "+n[o-1]+" "+n[o];break;case 44:case 46:this.$=n[o-3]+" "+n[o-2]+" "+n[o-1]+" "+n[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:36,11:17,12:s,13:r,14:i,15:g,16:y,17:b,18:S,19:18,20:L,21:_,22:W,23:w,24:D,25:N,26:V,27:k,28:M,29:P,30:O,31:B,33:H,35:I,36:x,37:24,38:h,40:E},t(e,[2,5]),t(e,[2,6]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),t(e,[2,25]),t(e,[2,26]),t(e,[2,27]),{32:[1,37]},{34:[1,38]},t(e,[2,30]),t(e,[2,31]),t(e,[2,32]),{39:[1,39]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),{41:[1,40],43:[1,41]},t(e,[2,4]),t(e,[2,28]),t(e,[2,29]),t(e,[2,33]),t(e,[2,34],{42:[1,42],43:[1,43]}),t(e,[2,40],{41:[1,44]}),t(e,[2,35],{43:[1,45]}),t(e,[2,36]),t(e,[2,38],{42:[1,46]}),t(e,[2,37]),t(e,[2,39])],defaultActions:{},parseError:l(function(a,d){if(d.recoverable)this.trace(a);else{var m=new Error(a);throw m.hash=d,m}},"parseError"),parse:l(function(a){var d=this,m=[0],u=[],C=[null],n=[],$=this.table,o="",G=0,c=0,Y=2,A=1,R=n.slice.call(arguments,1),F=Object.create(this.lexer),q={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(q.yy[z]=this.yy[z]);F.setInput(a,q.yy),q.yy.lexer=F,q.yy.parser=this,typeof F.yylloc>"u"&&(F.yylloc={});var nt=F.yylloc;n.push(nt);var at=F.options&&F.options.ranges;typeof q.yy.parseError=="function"?this.parseError=q.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function yt(Q){m.length=m.length-2*Q,C.length=C.length-Q,n.length=n.length-Q}l(yt,"popStack");function lt(){var Q;return Q=u.pop()||F.lex()||A,typeof Q!="number"&&(Q instanceof Array&&(u=Q,Q=u.pop()),Q=d.symbols_[Q]||Q),Q}l(lt,"lex");for(var X,K,Z,ot,J={},it,tt,Ut,pt;;){if(K=m[m.length-1],this.defaultActions[K]?Z=this.defaultActions[K]:((X===null||typeof X>"u")&&(X=lt()),Z=$[K]&&$[K][X]),typeof Z>"u"||!Z.length||!Z[0]){var $t="";pt=[];for(it in $[K])this.terminals_[it]&&it>Y&&pt.push("'"+this.terminals_[it]+"'");F.showPosition?$t="Parse error on line "+(G+1)+`:
|
|
2
2
|
`+F.showPosition()+`
|
|
3
3
|
Expecting `+pt.join(", ")+", got '"+(this.terminals_[X]||X)+"'":$t="Parse error on line "+(G+1)+": Unexpected "+(X==A?"end of input":"'"+(this.terminals_[X]||X)+"'"),this.parseError($t,{text:F.match,token:this.terminals_[X]||X,line:F.yylineno,loc:nt,expected:pt})}if(Z[0]instanceof Array&&Z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+X);switch(Z[0]){case 1:m.push(X),C.push(F.yytext),n.push(F.yylloc),m.push(Z[1]),X=null,c=F.yyleng,o=F.yytext,G=F.yylineno,nt=F.yylloc;break;case 2:if(tt=this.productions_[Z[1]][1],J.$=C[C.length-tt],J._$={first_line:n[n.length-(tt||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(tt||1)].first_column,last_column:n[n.length-1].last_column},at&&(J._$.range=[n[n.length-(tt||1)].range[0],n[n.length-1].range[1]]),ot=this.performAction.apply(J,[o,c,G,q.yy,Z[1],C,n].concat(R)),typeof ot<"u")return ot;tt&&(m=m.slice(0,-1*tt*2),C=C.slice(0,-1*tt),n=n.slice(0,-1*tt)),m.push(this.productions_[Z[1]][0]),C.push(J.$),n.push(J._$),Ut=$[m[m.length-2]][m[m.length-1]],m.push(Ut);break;case 3:return!0}}return!0},"parse")},T=(function(){var p={EOF:1,parseError:l(function(d,m){if(this.yy.parser)this.yy.parser.parseError(d,m);else throw new Error(d)},"parseError"),setInput:l(function(a,d){return this.yy=d||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:l(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:l(function(a){var d=a.length,m=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===u.length?this.yylloc.first_column:0)+u[u.length-m.length].length-m[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(a){this.unput(this.match.slice(a))},"less"),pastInput:l(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+`
|