@intent-hq/web 2.340.5 → 2.340.6
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/{Daa-imNp.js → 1zzTvnVt.js} +1 -1
- package/web/app/immutable/chunks/{Dea_n_n7.js → 3AB6s4tE.js} +1 -1
- package/web/app/immutable/chunks/{BdjqGQQ7.js → 4ky4SrJc.js} +1 -1
- package/web/app/immutable/chunks/{C7DPlkuW.js → 4pPr0TbX.js} +1 -1
- package/web/app/immutable/chunks/{BfeDdRP9.js → 6LOqOXDu.js} +1 -1
- package/web/app/immutable/chunks/{CChoqmTi.js → 8nZ72cNt.js} +1 -1
- package/web/app/immutable/chunks/{C2L5iiPL.js → B0YUMwLM.js} +1 -1
- package/web/app/immutable/chunks/{B7E1TTSD.js → B1qx8JJ_.js} +1 -1
- package/web/app/immutable/chunks/{CjkUiqmB.js → B3SoCSkY.js} +1 -1
- package/web/app/immutable/chunks/{BVhrkmN7.js → B6-_n61y.js} +6 -6
- package/web/app/immutable/chunks/{Mxi9K9ZC.js → B9O8hRmi.js} +1 -1
- package/web/app/immutable/chunks/{DWzj1mDm.js → BAFq1AFI.js} +1 -1
- package/web/app/immutable/chunks/{CGYTCq4O.js → BBY6C0IK.js} +1 -1
- package/web/app/immutable/chunks/{B7otOkJE.js → BC4m0ek2.js} +1 -1
- package/web/app/immutable/chunks/{Cxo01ygZ.js → BGxwES8N.js} +1 -1
- package/web/app/immutable/chunks/{BAxPObMg.js → BIW9BxTL.js} +1 -1
- package/web/app/immutable/chunks/{DUDDXjfN.js → BMbaoyFH.js} +4 -4
- package/web/app/immutable/chunks/{DarvX7z7.js → BUFX_mPw.js} +3 -3
- package/web/app/immutable/chunks/{C5RQ5PeP.js → BWRv4jYV.js} +1 -1
- package/web/app/immutable/chunks/{DTZcbtOQ.js → BY0E1iP7.js} +1 -1
- package/web/app/immutable/chunks/{DFgCL1V1.js → BYUG1_M-.js} +1 -1
- package/web/app/immutable/chunks/{7TJp7Cqs.js → BcZAt1_H.js} +3 -3
- package/web/app/immutable/chunks/{BiYa5Rkr.js → BgOcyw2D.js} +1 -1
- package/web/app/immutable/chunks/{D4bKontA.js → Biff1vjc.js} +3 -3
- package/web/app/immutable/chunks/{oXtq5ftC.js → BkJEcisi.js} +1 -1
- package/web/app/immutable/chunks/{BuxgaRC7.js → BkhvDlGb.js} +1 -1
- package/web/app/immutable/chunks/{DO5-fj7t.js → Bwp_IhBH.js} +1 -1
- package/web/app/immutable/chunks/{C4ZravQc.js → BxD5AERd.js} +2 -2
- package/web/app/immutable/chunks/{5lbq1luC.js → BxiYmwg2.js} +1 -1
- package/web/app/immutable/chunks/{DcdbFMmX.js → ByV5esjn.js} +1 -1
- package/web/app/immutable/chunks/{u5nN0dSP.js → C1bFKEcb.js} +1 -1
- package/web/app/immutable/chunks/{Dd83nS7z.js → C4C9aEqJ.js} +12 -12
- package/web/app/immutable/chunks/{Dumy7p5B.js → C5VTexpW.js} +1 -1
- package/web/app/immutable/chunks/{DAsj_7vB.js → CAOpOF2d.js} +1 -1
- package/web/app/immutable/chunks/{6Rd3XzmA.js → CH3vrkAm.js} +1 -1
- package/web/app/immutable/chunks/{Cpg6wKLa.js → CHLArQrL.js} +1 -1
- package/web/app/immutable/chunks/{CXyeNBgz.js → CIjJMeHw.js} +1 -1
- package/web/app/immutable/chunks/{B1VS11Sx.js → CKQKk1Ku.js} +1 -1
- package/web/app/immutable/chunks/{DmrAbz-2.js → COrX_n08.js} +1 -1
- package/web/app/immutable/chunks/{3GrOZVuM.js → CU9XHYHQ.js} +1 -1
- package/web/app/immutable/chunks/{Bm-3um5t.js → CULXF2Qp.js} +1 -1
- package/web/app/immutable/chunks/{Bdmue4Ad.js → CV7aDOaJ.js} +1 -1
- package/web/app/immutable/chunks/{B6XNWfj0.js → CVd9x_8V.js} +1 -1
- package/web/app/immutable/chunks/{Bz6o_ny3.js → CVzPOOwl.js} +1 -1
- package/web/app/immutable/chunks/{DdQARX_Y.js → CWLAsMTB.js} +1 -1
- package/web/app/immutable/chunks/{AoW9O1en.js → CZR5ZTNX.js} +1 -1
- package/web/app/immutable/chunks/{C_UVvMtS.js → C_CKJxnP.js} +1 -1
- package/web/app/immutable/chunks/{OWC3VHa4.js → C_p-Kfor.js} +1 -1
- package/web/app/immutable/chunks/{BDTtE2qf.js → C_x1sZu2.js} +1 -1
- package/web/app/immutable/chunks/{djdTC7W0.js → CeTeqcAO.js} +1 -1
- package/web/app/immutable/chunks/{UBbOcatL.js → CexA-t1b.js} +1 -1
- package/web/app/immutable/chunks/{qH41TME9.js → Cj01MC7B.js} +1 -1
- package/web/app/immutable/chunks/{etvDcPKN.js → CjsX479D.js} +1 -1
- package/web/app/immutable/chunks/{D4SAaHiP.js → Cm5DOj9x.js} +1 -1
- package/web/app/immutable/chunks/{DMB4MgAA.js → CnztRGqH.js} +1 -1
- package/web/app/immutable/chunks/{D7I4VA1S.js → Cp6myVhl.js} +1 -1
- package/web/app/immutable/chunks/{Dgr96rlz.js → CqeYZsFI.js} +1 -1
- package/web/app/immutable/chunks/{YIz6OWf_.js → CrbgiVvK.js} +1 -1
- package/web/app/immutable/chunks/{DUv3ERVT.js → CsM0rIyN.js} +1 -1
- package/web/app/immutable/chunks/{Cc-Gk3R8.js → CxfJ9pVE.js} +1 -1
- package/web/app/immutable/chunks/{BNwpscA-.js → CzcNn8BK.js} +1 -1
- package/web/app/immutable/chunks/{BrsvPhtQ.js → D-KeFJd1.js} +1 -1
- package/web/app/immutable/chunks/{t4wtnk-H.js → D-zxUN6t.js} +1 -1
- package/web/app/immutable/chunks/{7GFSQ1mk.js → D0Sca-Fp.js} +3 -3
- package/web/app/immutable/chunks/{D8tZASxu.js → D15H4oRf.js} +1 -1
- package/web/app/immutable/chunks/{B295po1q.js → D5ODnJqN.js} +1 -1
- package/web/app/immutable/chunks/{CJjFfLnl.js → D5kuJ4AR.js} +1 -1
- package/web/app/immutable/chunks/{CACzui8O.js → D6l7oMHI.js} +1 -1
- package/web/app/immutable/chunks/{CNh3OVor.js → D6ufKi8g.js} +1 -1
- package/web/app/immutable/chunks/{BJJOwB8X.js → D8DWZHUq.js} +1 -1
- package/web/app/immutable/chunks/{B9MuPd-q.js → D8GJMKxV.js} +1 -1
- package/web/app/immutable/chunks/{CMDNVB1H.js → DBunkriw.js} +1 -1
- package/web/app/immutable/chunks/{CBh_a5Pc.js → DC6din1b.js} +1 -1
- package/web/app/immutable/chunks/{D3ug-rpn.js → DCuF_YI1.js} +2 -2
- package/web/app/immutable/chunks/{CG30gFvp.js → DFMpUCE8.js} +1 -1
- package/web/app/immutable/chunks/{DyASZoz8.js → DJSbaLBj.js} +1 -1
- package/web/app/immutable/chunks/{D-jh6lXt.js → DKhiTKbW.js} +1 -1
- package/web/app/immutable/chunks/{BNdF1joz.js → DL0xgk9b.js} +1 -1
- package/web/app/immutable/chunks/{C5MLcySE.js → DQkPf_4w.js} +1 -1
- package/web/app/immutable/chunks/{PdCTscxM.js → DTlEKJqy.js} +1 -1
- package/web/app/immutable/chunks/{kt_sRsvF.js → DYlIySpa.js} +1 -1
- package/web/app/immutable/chunks/{BuzEX4kk.js → D__EtvuY.js} +1 -1
- package/web/app/immutable/chunks/{8DfuL71y.js → Dcwc2djA.js} +1 -1
- package/web/app/immutable/chunks/{Cnu3bGXK.js → Df793aTM.js} +2 -2
- package/web/app/immutable/chunks/{BkZ8KMxa.js → DiKVnNpA.js} +4 -4
- package/web/app/immutable/chunks/{DulKxVZF.js → DiTnb1P-.js} +1 -1
- package/web/app/immutable/chunks/{BAnVDdDc.js → Dk9BwVWN.js} +2 -2
- package/web/app/immutable/chunks/{BdH1zUmH.js → DkQ_WhSU.js} +1 -1
- package/web/app/immutable/chunks/{DOfWJbtl.js → Dl0GU3up.js} +4 -4
- package/web/app/immutable/chunks/{DxtL4n5v.js → DnLbLSkh.js} +1 -1
- package/web/app/immutable/chunks/{B6qr1BjX.js → DvhuEIzR.js} +1 -1
- package/web/app/immutable/chunks/{DXBZ8PL2.js → FY5Q7suL.js} +1 -1
- package/web/app/immutable/chunks/{DcHvleTq.js → Ge0uEEo-.js} +1 -1
- package/web/app/immutable/chunks/{IISMFCVN.js → HOnzeXNV.js} +1 -1
- package/web/app/immutable/chunks/{B4MCfVdX.js → HbSy1-Xh.js} +1 -1
- package/web/app/immutable/chunks/{BeSCEwwg.js → HhkQjHUK.js} +1 -1
- package/web/app/immutable/chunks/{qjyldP6M.js → HqU78q0z.js} +2 -2
- package/web/app/immutable/chunks/{BBoA2XIC.js → K0eFxcR7.js} +1 -1
- package/web/app/immutable/chunks/{Cr_-YXT5.js → Kdx_EaUx.js} +2 -2
- package/web/app/immutable/chunks/{CAYbsJtO.js → M1A49W9w.js} +1 -1
- package/web/app/immutable/chunks/{Cpa8jVTb.js → Ns2qHkqi.js} +2 -2
- package/web/app/immutable/chunks/{Ck-ywVoG.js → O-VmbRsR.js} +1 -1
- package/web/app/immutable/chunks/{CeNPD-xB.js → OFHFLNje.js} +2 -2
- package/web/app/immutable/chunks/{DMF8OOZf.js → QkOzjVQc.js} +4 -4
- package/web/app/immutable/chunks/{C_ox9a6h.js → TZGe3OMK.js} +1 -1
- package/web/app/immutable/chunks/{BcyvhLuO.js → YCf9YQ0d.js} +1 -1
- package/web/app/immutable/chunks/{Chrr8yAG.js → YX1522DG.js} +1 -1
- package/web/app/immutable/chunks/{C7dV8yvT.js → _c0b5RiW.js} +1 -1
- package/web/app/immutable/chunks/{xOrPT_-o.js → _zYQ1N4x.js} +1 -1
- package/web/app/immutable/chunks/{COKJtJ2E.js → b1l2x0MA.js} +1 -1
- package/web/app/immutable/chunks/{BYwPzLgn.js → cSOpNTcQ.js} +3 -3
- package/web/app/immutable/chunks/{CkwHpJZh.js → eTOAo4LX.js} +1 -1
- package/web/app/immutable/chunks/{ByP0tOux.js → etHGd3Hq.js} +1 -1
- package/web/app/immutable/chunks/{5AMRxL2p.js → fRLs4n3O.js} +1 -1
- package/web/app/immutable/chunks/{Bd5Ngc3A.js → gNoxwZxZ.js} +1 -1
- package/web/app/immutable/chunks/{BI2wV_th.js → iU77M41Z.js} +2 -2
- package/web/app/immutable/chunks/{CQkcu3KH.js → j4tkFfox.js} +1 -1
- package/web/app/immutable/chunks/{po0FYO9I.js → mNy9r7LX.js} +1 -1
- package/web/app/immutable/chunks/{qgUvzPgY.js → ox9Bg2sp.js} +1 -1
- package/web/app/immutable/chunks/{B4MKAnIM.js → sKfkOhQG.js} +1 -1
- package/web/app/immutable/chunks/{CkdZPR0X.js → t5zcSjIO.js} +1 -1
- package/web/app/immutable/chunks/{LOpIKwMN.js → yzCQdK92.js} +1 -1
- package/web/app/immutable/entry/{app.D8N7ZRZ9.js → app.F2xw-XeW.js} +2 -2
- package/web/app/immutable/entry/start.BYKhwMoZ.js +1 -0
- package/web/app/immutable/nodes/{0.HRpTr_SR.js → 0.BNZhTpvz.js} +1 -1
- package/web/app/immutable/nodes/{1.B46sFnSf.js → 1.D6TO8-ms.js} +1 -1
- package/web/app/immutable/nodes/{10.BgAq-l76.js → 10.BlEex6Ex.js} +1 -1
- package/web/app/immutable/nodes/{14.Bc7NWrzJ.js → 14.-lSIKZBv.js} +1 -1
- package/web/app/immutable/nodes/{17.C_5BCS0Z.js → 17.ffmdCuSw.js} +2 -2
- package/web/app/immutable/nodes/2.Dm8kTJ3J.js +13 -0
- package/web/app/immutable/nodes/{3.B2gkmoMw.js → 3.Ch4CnbVo.js} +1 -1
- package/web/app/immutable/nodes/{4.qWgjdPJ0.js → 4.B1MnBi41.js} +1 -1
- package/web/app/immutable/nodes/{5.B6t6xhOQ.js → 5.CT6EoSVV.js} +1 -1
- package/web/app/immutable/nodes/{6.CT67BHR4.js → 6.DGscet-O.js} +1 -1
- package/web/app/immutable/nodes/{7.BgPhC6Yw.js → 7.BXLXL53Q.js} +1 -1
- package/web/app/immutable/nodes/{8.D1koOYBw.js → 8.C4OalPt9.js} +4 -4
- package/web/app/immutable/nodes/{9.BPcmknvb.js → 9.ClM472Gh.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/entry/start.D45GVHYB.js +0 -1
- package/web/app/immutable/nodes/2.CxyQC8mv.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as fe}from"./
|
|
1
|
+
import{g as fe}from"./ByV5esjn.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./DiKVnNpA.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[_]||_,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(x[0]){case 1:r.push(_),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),_=null,ie=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=u[u.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,ie,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(j.$),t.push(j._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,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:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=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),r.length-1&&(this.yylineno-=r.length-1);var u=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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bp as c,_ as p}from"./Cv-W__h8.js";import{k as I}from"./DTDbZc--.js";import"./DYhIMPy1.js";import"./DPvDLGgX.js";import"./ClsZrb8B.js";import{bx as A}from"./BePtUMMB.js";import"./ChTqQfQN.js";import"./CgCdkhNg.js";import{g as L,Ir as d,uY as g,u_ as y}from"./DBkMUdAo.js";import{a0 as R}from"./B10dK85Q.js";import{l as v}from"./BtpuPEaR.js";const F="intent://local/note/{note-id}",S="intent://local/{workspace-id}/note/{note-id}";function f(){return c.ui_linkHandler_invalidFormat_error({shortFormat:F,longFormat:S})}class u extends Error{constructor(r){super(r),this.name="NotFoundError"}}function W(e){try{const r=new URL(e.replace("intent://","http://")),t=r.hostname,n=r.pathname.replace(/^\/+/,"").split("/").filter(l=>l.length>0),a=e.replace("intent://","").split(/[?#]/)[0].split("/").slice(1);if(!t||n.length<2)return{type:"unknown",orgId:t||"",resourceId:"",valid:!1,error:f()};let o,s,i,_,w;if(a[0]==="workspace"&&(a.length===2||a.length===3&&a[2]==="")){const l=O(a[1]);if(!l)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};o=l,s="workspace",i=l}else if(a[0]==="file")s="file",i=h(a.slice(1));else if(a.length>=3&&k(a[0])&&a[1]==="file")o=a[0],s="file",i=h(a.slice(2));else if(a.length===5&&a[1]==="agent"&&a[3]==="message"&&k(a[0])&&k(a[2])&&k(a[4])&&n.length===5&&n[1]==="agent"&&n[3]==="message")o=n[0],s="message",_=n[2],i=n[4];else if(n[0]==="note"||n[0]==="task")s=n[0],i=n[1];else if(n.length>=3&&(n[1]==="note"||n[1]==="task"))o=n[0],s=n[1],i=n[2];else return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};if(!i||i.trim().length===0)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:c.ui_linkHandler_emptyResourceId_error()};if(s==="note"||s==="task")return{type:s,orgId:t,workspaceId:o,resourceId:i,valid:!0};if(s==="file"){const l=/^#L\d+(?:-\d+|C\d+)?$/.test(r.hash)?r.hash:"",E=a.slice(o?2:1).join("/"),m=A(E+l);return i=h(m.path.split("/")),w=m.line,H(i)?{type:"file",orgId:t,workspaceId:o,resourceId:i,...w!==void 0?{line:w}:{},valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:"",valid:!1,error:c.ui_linkHandler_invalidFilePath_error()}}return s==="workspace"&&o?{type:"workspace",orgId:t,workspaceId:o,resourceId:i,valid:!0}:s==="message"&&o&&_?{type:"message",orgId:t,workspaceId:o,resourceId:i,agentId:_,valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:i,valid:!1,error:c.ui_linkHandler_unknownResourceType_error({type:s})}}catch(r){return{type:"unknown",orgId:"",resourceId:"",valid:!1,error:r instanceof Error?r.message:c.ui_linkHandler_parseFailed_error()}}}function h(e){return e.map(r=>decodeURIComponent(r)).join("/")}function H(e){return/^[A-Za-z]:/.test(e)?!1:e.split(/[\\/]/).every(t=>t.length>0&&t!=="."&&t!=="..")}const j=new Set([L,"new"]);function O(e){if(e===void 0||!k(e))return null;const r=decodeURIComponent(e);return j.has(r)?null:r}function k(e){let r;try{r=decodeURIComponent(e)}catch{return!1}return r.length>0&&r!=="."&&r!==".."&&!/[\\/]/.test(r)}async function T(e,r={}){if(!e.startsWith("intent://"))return!1;const t=W(e);if(!t.valid)return I.error(c.ui_linkHandler_invalidLink_title(),{description:t.error||c.ui_linkHandler_invalidLink_description()}),!0;try{switch(t.type){case"note":case"task":await N(t,r);break;case"file":await b(t,r);break;case"workspace":await C(t.resourceId);break;case"message":{const{openMessage:n}=await p(async()=>{const{openMessage:a}=await import("./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CxfJ9pVE.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/C3BW_tmx.js","/app/immutable/chunks/Cv-W__h8.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/DBkMUdAo.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BZeUwBn0.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/ClsZrb8B.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/GdlMbZRO.js","/app/immutable/chunks/BePtUMMB.js","/app/immutable/chunks/DPvDLGgX.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/D4os-974.js","/app/immutable/chunks/BiLjH_HB.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/ZhmlPELZ.js","/app/immutable/chunks/BahFkvC5.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/Ct5KmixI.js","/app/immutable/chunks/B10dK85Q.js","/app/immutable/chunks/BKpkoMuv.js","/app/immutable/chunks/1o85IiDb.js","/app/immutable/chunks/j0KL2ItM.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DCuF_YI1.js","/app/immutable/chunks/D8GJMKxV.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bp as c,_ as p}from"./Cv-W__h8.js";import{k as I}from"./DTDbZc--.js";import"./DYhIMPy1.js";import"./DPvDLGgX.js";import"./ClsZrb8B.js";import{bx as A}from"./BePtUMMB.js";import"./ChTqQfQN.js";import"./CgCdkhNg.js";import{g as L,Ir as d,uY as g,u_ as y}from"./DBkMUdAo.js";import{a0 as R}from"./B10dK85Q.js";import{l as v}from"./BtpuPEaR.js";const F="intent://local/note/{note-id}",S="intent://local/{workspace-id}/note/{note-id}";function f(){return c.ui_linkHandler_invalidFormat_error({shortFormat:F,longFormat:S})}class u extends Error{constructor(r){super(r),this.name="NotFoundError"}}function W(e){try{const r=new URL(e.replace("intent://","http://")),t=r.hostname,n=r.pathname.replace(/^\/+/,"").split("/").filter(l=>l.length>0),a=e.replace("intent://","").split(/[?#]/)[0].split("/").slice(1);if(!t||n.length<2)return{type:"unknown",orgId:t||"",resourceId:"",valid:!1,error:f()};let o,s,i,_,w;if(a[0]==="workspace"&&(a.length===2||a.length===3&&a[2]==="")){const l=O(a[1]);if(!l)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};o=l,s="workspace",i=l}else if(a[0]==="file")s="file",i=h(a.slice(1));else if(a.length>=3&&k(a[0])&&a[1]==="file")o=a[0],s="file",i=h(a.slice(2));else if(a.length===5&&a[1]==="agent"&&a[3]==="message"&&k(a[0])&&k(a[2])&&k(a[4])&&n.length===5&&n[1]==="agent"&&n[3]==="message")o=n[0],s="message",_=n[2],i=n[4];else if(n[0]==="note"||n[0]==="task")s=n[0],i=n[1];else if(n.length>=3&&(n[1]==="note"||n[1]==="task"))o=n[0],s=n[1],i=n[2];else return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};if(!i||i.trim().length===0)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:c.ui_linkHandler_emptyResourceId_error()};if(s==="note"||s==="task")return{type:s,orgId:t,workspaceId:o,resourceId:i,valid:!0};if(s==="file"){const l=/^#L\d+(?:-\d+|C\d+)?$/.test(r.hash)?r.hash:"",E=a.slice(o?2:1).join("/"),m=A(E+l);return i=h(m.path.split("/")),w=m.line,H(i)?{type:"file",orgId:t,workspaceId:o,resourceId:i,...w!==void 0?{line:w}:{},valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:"",valid:!1,error:c.ui_linkHandler_invalidFilePath_error()}}return s==="workspace"&&o?{type:"workspace",orgId:t,workspaceId:o,resourceId:i,valid:!0}:s==="message"&&o&&_?{type:"message",orgId:t,workspaceId:o,resourceId:i,agentId:_,valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:i,valid:!1,error:c.ui_linkHandler_unknownResourceType_error({type:s})}}catch(r){return{type:"unknown",orgId:"",resourceId:"",valid:!1,error:r instanceof Error?r.message:c.ui_linkHandler_parseFailed_error()}}}function h(e){return e.map(r=>decodeURIComponent(r)).join("/")}function H(e){return/^[A-Za-z]:/.test(e)?!1:e.split(/[\\/]/).every(t=>t.length>0&&t!=="."&&t!=="..")}const j=new Set([L,"new"]);function O(e){if(e===void 0||!k(e))return null;const r=decodeURIComponent(e);return j.has(r)?null:r}function k(e){let r;try{r=decodeURIComponent(e)}catch{return!1}return r.length>0&&r!=="."&&r!==".."&&!/[\\/]/.test(r)}async function T(e,r={}){if(!e.startsWith("intent://"))return!1;const t=W(e);if(!t.valid)return I.error(c.ui_linkHandler_invalidLink_title(),{description:t.error||c.ui_linkHandler_invalidLink_description()}),!0;try{switch(t.type){case"note":case"task":await N(t,r);break;case"file":await b(t,r);break;case"workspace":await C(t.resourceId);break;case"message":{const{openMessage:n}=await p(async()=>{const{openMessage:a}=await import("./CxfJ9pVE.js");return{openMessage:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]),import.meta.url);await n({workspaceId:t.workspaceId,agentId:t.agentId,messageId:t.resourceId});break}default:I.error(c.ui_linkHandler_unsupportedLink_title(),{description:c.ui_linkHandler_unsupportedLink_description({type:t.type})})}}catch(n){n instanceof u?I.error(c.ui_linkHandler_notFound_title(),{description:n.message}):I.error(c.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:c.ui_linkHandler_unknownError_label()})}return!0}function Z(e,r){return R(e,r)}function $(){return async(e,r,t)=>{const a=t.target.closest("a");return a?.href?.startsWith("intent://")?(t.preventDefault(),await T(a.href)):!1}}async function C(e){const{appClient:r}=await p(async()=>{const{appClient:a}=await import("./C3BW_tmx.js").then(o=>o.p);return{appClient:a}},__vite__mapDeps([3,1,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,2,22,23,24,25]),import.meta.url);if(!await r.workspaces.get(e).catch(()=>null))throw new u(c.workspace_loader_notFound_title());const{openAndShowWorkspace:n}=await p(async()=>{const{openAndShowWorkspace:a}=await import("./D8GJMKxV.js").then(o=>o.s);return{openAndShowWorkspace:a}},__vite__mapDeps([32,7,5,6,8,9,10,11,4,12,13,14,31]),import.meta.url);await n(e)}async function N(e,r){const t=r.workspaceId??v.select(d.state)??void 0;if(e.workspaceId){const a=!t||e.workspaceId!==t;if(!await P(e.workspaceId,e.resourceId))throw new u(c.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:e.workspaceId}));if(a){const{openAndShowWorkspace:s}=await p(async()=>{const{openAndShowWorkspace:i}=await import("./D8GJMKxV.js").then(_=>_.s);return{openAndShowWorkspace:i}},__vite__mapDeps([32,7,5,6,8,9,10,11,4,12,13,14,31]),import.meta.url);await s(e.workspaceId,{query:{note:e.resourceId}})}else d.dispatch(y(e.workspaceId,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());if(!await P(t,e.resourceId))throw new u(c.ui_linkHandler_noteNotFoundCurrent_error({noteId:e.resourceId}));d.dispatch(y(t,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function b(e,r){const t=r.workspaceId??v.select(d.state)??void 0;if(e.workspaceId){const n=!t||e.workspaceId!==t;if(n){const{openAndShowWorkspace:a}=await p(async()=>{const{openAndShowWorkspace:o}=await import("./D8GJMKxV.js").then(s=>s.s);return{openAndShowWorkspace:o}},__vite__mapDeps([32,7,5,6,8,9,10,11,4,12,13,14,31]),import.meta.url);if(!await a(e.workspaceId))return}d.dispatch(g(e.workspaceId,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:n?!1:r.openInAdjacentPanel??!1,sourcePanelId:n?void 0:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());d.dispatch(g(t,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:r.openInAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function P(e,r){try{const{backendRequest:t}=await p(async()=>{const{backendRequest:o}=await import("./BePtUMMB.js").then(s=>s.az);return{backendRequest:o}},__vite__mapDeps([15,4,5,11,16,10,17,18,19,14,20,13,21]),import.meta.url),n=await t("note.get",{workspaceId:e,noteId:r}),a=n&&typeof n=="object"&&"note"in n?n.note:n;return a!=null&&typeof a=="object"}catch{return!1}}export{u as NotFoundError,$ as createIntentLinkClickHandler,Z as generateNoteLink,T as handleIntentLink,W as parseIntentLink};
|