archidocs 1.3.2 → 1.3.3-beta.1

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.
@@ -81,7 +81,7 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\
81
81
  `),i.length!=2)throw O(new lv(`Exactly two numbers are expected, `+i.length+` were found.`));try{this.a=oB(xB(i[0])),this.b=oB(xB(i[1]))}catch(e){throw e=xF(e),N(e,131)?(n=e,O(new lv(tmt+n))):O(e)}},Q.Ib=function(){return`(`+this.a+`,`+this.b+`)`},Q.a=0,Q.b=0;var E6=R(OK,`KVector`,8);J(75,65,{3:1,4:1,22:1,31:1,56:1,17:1,65:1,16:1,75:1,429:1},I_,dy,jfe),Q.Pc=function(){return HVe(this)},Q._f=function(e){var t,n,r=jH(e,`,|;|\\(|\\)|\\[|\\]|\\{|\\}| | |
82
82
  `),i,a,o;Mk(this);try{for(n=0,a=0,i=0,o=0;n<r.length;)r[n]!=null&&xB(r[n]).length>0&&(a%2==0?i=oB(r[n]):o=oB(r[n]),a>0&&a%2!=0&&ZE(this,new j(i,o)),++a),++n}catch(e){throw e=xF(e),N(e,131)?(t=e,O(new lv(`The given string does not match the expected format for vectors.`+t))):O(e)}},Q.Ib=function(){for(var e=new yT(`(`),t=TR(this,0),n;t.b!=t.d.c;)n=F(pj(t),8),nw(e,n.a+`,`+n.b),t.b!=t.d.c&&(e.a+=`; `);return(e.a+=`)`,e).a};var vVt=R(OK,`KVectorChain`,75);J(258,23,{3:1,34:1,23:1,258:1},mC);var yVt,D6,O6,k6,A6,j6,bVt=XN(YJ,`Alignment`,258,FX,uNe,u_e),xVt;J(1037,1,pG,rp),Q.ef=function(e){frt(e)};var SVt,CVt,wVt,TVt,EVt,DVt,OVt,kVt,AVt,jVt,MVt,NVt;R(YJ,`BoxLayouterOptions`,1037),J(1038,1,{},hl),Q.pf=function(){return new ll},Q.qf=function(e){},R(YJ,`BoxLayouterOptions/BoxFactory`,1038),J(305,23,{3:1,34:1,23:1,305:1},hC);var M6,PVt,N6,P6,F6,FVt,IVt=XN(YJ,`ContentAlignment`,305,FX,dNe,d_e),LVt;J(715,1,pG,ip),Q.ef=function(e){gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,V_t),``),`Layout Algorithm`),`Select a specific layout algorithm.`),(hB(),w6)),ZX),pL((wR(),h6))))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,H_t),``),`Resolved Layout Algorithm`),`Meta data associated with the selected algorithm.`),C6),uVt),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,jht),``),`Alignment`),`Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm.`),zVt),b6),bVt),pL(m6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,FG),``),`Aspect Ratio`),`The desired aspect ratio of the drawing, that is the quotient of width by height.`),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,U_t),``),`Bend Points`),`A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points.`),C6),vVt),pL(f6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,rJ),``),`Content Alignment`),`Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option.`),WVt),x6),IVt),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,tJ),``),`Debug Mode`),`Whether additional debug information shall be generated.`),(uT(),!1)),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,nJ),``),spt),`Overall direction of edges: horizontal (right / left) or vertical (down / up).`),GVt),b6),C8),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Jq),``),`Edge Routing`),`What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline.`),XVt),b6),dUt),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,z_t),``),`Expand Nodes`),`If active, nodes are expanded to fill the area of their parent.`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,qq),``),`Hierarchy Handling`),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),eHt),b6),DUt),wD(h6,W(A(_6,1),Z,161,0,[m6]))))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,IG),``),`Padding`),`The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately.`),gHt),C6),AEt),wD(h6,W(A(_6,1),Z,161,0,[m6]))))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,XG),``),`Interactive`),`Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible.`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,sJ),``),`interactive Layout`),`Whether the graph should be changeable interactively and by setting constraints`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,$G),``),`Omit Node Micro Layout`),`Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout.`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,ZG),``),`Port Constraints`),`Defines constraints of the position of the ports of a node.`),OHt),b6),IUt),pL(m6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,oJ),``),`Position`),`The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position.`),C6),E6),wD(m6,W(A(_6,1),Z,161,0,[g6,p6]))))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,KG),``),`Priority`),`Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used.`),S6),JX),wD(m6,W(A(_6,1),Z,161,0,[f6]))))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,JG),``),`Randomization Seed`),`Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time).`),S6),JX),pL(h6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,YG),``),`Separate Connected Components`),`Whether each connected component should be processed separately.`),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Hht),``),`Junction Points`),`This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order.`),cHt),C6),vVt),pL(f6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Ght),``),`Comment Box`),`Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related.`),!1),v6),UX),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Kht),``),`Hypernode`),`Whether the node should be handled as a hypernode.`),!1),v6),UX),pL(m6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,W_t),``),`Label Manager`),`Label managers can shorten labels upon a layout algorithm's request.`),C6),UKt),wD(h6,W(A(_6,1),Z,161,0,[p6]))))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,G_t),``),`Softwrapping Fuzziness`),`Determines the amount of fuzziness to be used when performing softwrapping on labels. The value expresses the percent of overhang that is permitted for each line. If the next line would take up less space than this threshold, it is appended to the current line instead of being placed in a new line.`),0),y6),KX),pL(p6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Jht),``),`Margins`),`Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels.`),lHt),C6),OEt),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,kht),``),`No Layout`),`No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node.`),!1),v6),UX),wD(m6,W(A(_6,1),Z,161,0,[f6,g6,p6]))))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,K_t),``),`Scale Factor`),`The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set.`),1),y6),KX),pL(m6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,q_t),``),`Child Area Width`),`The width of the area occupied by the laid out children of a node.`),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,J_t),``),`Child Area Height`),`The height of the area occupied by the laid out children of a node.`),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,aK),``),M_t),`Turns topdown layout on and off. If this option is enabled, hierarchical layout will be computed first for the root node and then for its children recursively. Layouts are then scaled down to fit the area provided by their parents. Graphs must follow a certain structure for topdown layout to work properly. {@link TopdownNodeTypes.PARALLEL_NODE} nodes must have children of type {@link TopdownNodeTypes.HIERARCHICAL_NODE} and must define {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} for their children. Furthermore they need to be laid out using an algorithm that is a {@link TopdownLayoutProvider}. Hierarchical nodes can also be parents of other hierarchical nodes and can optionally use a {@link TopdownSizeApproximator} to dynamically set sizes during topdown layout. In this case {@link topdown.hierarchicalNodeWidth} and {@link topdown.hierarchicalNodeAspectRatio} should be set on the node itself rather than the parent. The values are then used by the size approximator as base values. Hierarchical nodes require the layout option {@link nodeSize.fixedGraphSize} to be true to prevent the algorithm used there from resizing the hierarchical node. This option is not supported if 'Hierarchy Handling' is set to 'INCLUDE_CHILDREN'`),!1),v6),UX),pL(h6)))),ej(e,aK,lK,null),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Y_t),``),`Animate`),`Whether the shift from the old layout to the new computed layout shall be animated.`),!0),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,X_t),``),`Animation Time Factor`),`Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'.`),K(100)),S6),JX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Z_t),``),`Layout Ancestors`),`Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process.`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Q_t),``),`Maximal Animation Time`),`The maximal time for animations, in milliseconds.`),K(4e3)),S6),JX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,$_t),``),`Minimal Animation Time`),`The minimal time for animations, in milliseconds.`),K(400)),S6),JX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,evt),``),`Progress Bar`),`Whether a progress bar shall be displayed during layout computations.`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,tvt),``),`Validate Graph`),`Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user.`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,nvt),``),`Validate Options`),`Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user.`),!0),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,rvt),``),`Zoom to Fit`),`Whether the zoom level shall be set to view the whole diagram after layout.`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,B_t),`box`),`Box Layout Mode`),`Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better.`),HVt),b6),dWt),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,ivt),`json`),`Shape Coords`),`For layouts transferred into JSON graphs, specify the coordinate system to be used for nodes, ports, and labels of nodes and ports.`),sHt),b6),qUt),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,avt),`json`),`Edge Coords`),`For layouts transferred into JSON graphs, specify the coordinate system to be used for edge route points and edge labels.`),aHt),b6),oUt),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,vht),Yq),`Comment Comment Spacing`),`Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing.`),10),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,yht),Yq),`Comment Node Spacing`),`Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing.`),10),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Cpt),Yq),`Components Spacing`),`Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated.`),20),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,bht),Yq),`Edge Spacing`),`Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines.`),10),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Lpt),Yq),`Edge Label Spacing`),`The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option.`),2),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,eJ),Yq),`Edge Node Spacing`),`Spacing to be preserved between nodes and edges.`),10),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,xht),Yq),`Label Spacing`),`Determines the amount of space to be left between two labels of the same graph element.`),0),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,wht),Yq),`Label Node Spacing`),`Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option.`),5),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Sht),Yq),`Horizontal spacing between Label and Port`),`Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option.`),1),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Cht),Yq),`Vertical spacing between Label and Port`),`Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option.`),1),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,qG),Yq),`Node Spacing`),`The minimal distance to be preserved between each two nodes.`),20),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Tht),Yq),`Node Self Loop Spacing`),`Spacing to be preserved between a node and its self loops.`),10),y6),KX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Eht),Yq),`Port Spacing`),`Spacing between pairs of ports of the same node.`),10),y6),KX),wD(h6,W(A(_6,1),Z,161,0,[m6]))))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,Dht),Yq),`Individual Spacing`),`Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent.`),C6),pWt),wD(m6,W(A(_6,1),Z,161,0,[f6,g6,p6]))))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Yht),Yq),`Additional Port Space`),`Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border.`),JHt),C6),OEt),pL(h6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,aJ),pvt),`Layout Partition`),`Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction).`),S6),JX),wD(h6,W(A(_6,1),Z,161,0,[m6]))))),ej(e,aJ,iJ,bHt),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,iJ),pvt),`Layout Partitioning`),`Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle.`),vHt),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Pht),mvt),`Node Label Padding`),`Define padding for node labels that are placed inside of a node.`),dHt),C6),AEt),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,rK),mvt),`Node Label Placement`),`Hints for where node labels are to be placed; if empty, the node label's position is not modified.`),fHt),x6),Y8),wD(m6,W(A(_6,1),Z,161,0,[p6]))))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Lht),ZJ),`Port Alignment`),`Defines the default port distribution for a node. May be overridden for each side individually.`),SHt),b6),$8),pL(m6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,Rht),ZJ),`Port Alignment (North)`),`Defines how ports on the northern side are placed, overriding the node's general port alignment.`),b6),$8),pL(m6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,zht),ZJ),`Port Alignment (South)`),`Defines how ports on the southern side are placed, overriding the node's general port alignment.`),b6),$8),pL(m6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,Bht),ZJ),`Port Alignment (West)`),`Defines how ports on the western side are placed, overriding the node's general port alignment.`),b6),$8),pL(m6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,Vht),ZJ),`Port Alignment (East)`),`Defines how ports on the eastern side are placed, overriding the node's general port alignment.`),b6),$8),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,nK),hvt),`Node Size Constraints`),`What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed.`),pHt),x6),B5),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,tK),hvt),`Node Size Options`),`Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications.`),hHt),x6),ZUt),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,dK),hvt),`Node Size Minimum`),`The minimal size to which a node can be reduced.`),mHt),C6),E6),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,eK),hvt),`Fixed Graph Size`),`By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so.`),!1),v6),UX),pL(h6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Uht),Zq),`Edge Label Placement`),`Gives a hint on where to put edge labels.`),JVt),b6),cUt),pL(p6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,QG),Zq),`Inline Edge Labels`),`If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible.`),!1),v6),UX),pL(p6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,ovt),`font`),`Font Name`),`Font name used for a label.`),w6),ZX),pL(p6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,svt),`font`),`Font Size`),`Font size used for a label.`),S6),JX),pL(p6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,qht),gvt),`Port Anchor Offset`),`The offset to the port position where connections shall be attached.`),C6),E6),pL(g6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,Wht),gvt),`Port Index`),`The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case.`),S6),JX),pL(g6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Aht),gvt),`Port Side`),`The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports.`),NHt),b6),P5),pL(g6)))),gL(e,new mB(ay(iy(oy(ey(ry(ty(ny(new ml,Oht),gvt),`Port Border Offset`),`The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border.`),y6),KX),pL(g6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,iK),_vt),`Port Label Placement`),`Decides on a placement method for port labels; if empty, the node label's position is not modified.`),jHt),x6),f5),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Fht),_vt),`Port Labels Next to Port`),`Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE.`),!1),v6),UX),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Iht),_vt),`Treat Port Labels as Group`),`If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port.`),!0),v6),UX),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,cvt),QJ),`Number of size categories`),`Defines the number of categories to use for the FIXED_INTEGER_RATIO_BOXES size approximator.`),K(3)),S6),JX),pL(h6)))),ej(e,cvt,uvt,tUt),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,lvt),QJ),`Weight of a node containing children for determining the graph size`),`When determining the graph size for the size categorisation, this value determines how many times a node containing children is weighted more than a simple node. For example setting this value to four would result in a graph containing a simple node and a hierarchical node to be counted as having a size of five.`),K(4)),S6),JX),pL(h6)))),ej(e,lvt,cvt,null),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,oK),QJ),`Topdown Scale Factor`),`The scaling factor to be applied to the nodes laid out within the node in recursive topdown layout. The difference to 'Scale Factor' is that the node itself is not scaled. This value has to be set on hierarchical nodes.`),1),y6),KX),pL(h6)))),ej(e,oK,lK,QHt),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,uvt),QJ),`Topdown Size Approximator`),`The size approximator to be used to set sizes of hierarchical nodes during topdown layout. The default value is null, which results in nodes keeping whatever size is defined for them e.g. through parent parallel node or by manually setting the size.`),null),C6),kUt),pL(m6)))),ej(e,uvt,lK,$Ht),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,sK),QJ),`Topdown Hierarchical Node Width`),`The fixed size of a hierarchical node when using topdown layout. If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself.`),150),y6),KX),wD(h6,W(A(_6,1),Z,161,0,[m6]))))),ej(e,sK,lK,null),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,cK),QJ),`Topdown Hierarchical Node Aspect Ratio`),`The fixed aspect ratio of a hierarchical node when using topdown layout. Default is 1/sqrt(2). If this value is set on a parallel node it applies to its children, when set on a hierarchical node it applies to the node itself.`),1.414),y6),KX),wD(h6,W(A(_6,1),Z,161,0,[m6]))))),ej(e,cK,lK,null),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,lK),QJ),`Topdown Node Type`),`The different node types used for topdown layout. If the node type is set to {@link TopdownNodeTypes.PARALLEL_NODE} the algorithm must be set to a {@link TopdownLayoutProvider} such as {@link TopdownPacking}. The {@link nodeSize.fixedGraphSize} option is technically only required for hierarchical nodes.`),null),b6),eWt),pL(m6)))),ej(e,lK,eK,null),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,dvt),QJ),`Topdown Scale Cap`),`Determines the upper limit for the topdown scale factor. The default value is 1.0 which ensures that nested children never end up appearing larger than their parents in terms of unit sizes such as the font size. If the limit is larger, nodes will fully utilize the available space, but it is counteriniuitive for inner nodes to have a larger scale than outer nodes.`),1),y6),KX),pL(h6)))),ej(e,dvt,lK,ZHt),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Mht),vvt),`Activate Inside Self Loops`),`Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports.`),!1),v6),UX),pL(m6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,Nht),vvt),`Inside Self Loop`),`Whether a self loop should be routed inside a node instead of around that node.`),!1),v6),UX),pL(f6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,wpt),`edge`),`Edge Thickness`),`The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it.`),1),y6),KX),pL(f6)))),gL(e,new mB(ay(iy(oy(sy(ey(ry(ty(ny(new ml,fvt),`edge`),`Edge Type`),`The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations.`),QVt),b6),yUt),pL(f6)))),Xb(e,new MA(Zv($v(Qv(new Vc,kK),`Layered`),`The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.`))),Xb(e,new MA(Zv($v(Qv(new Vc,`org.eclipse.elk.orthogonal`),`Orthogonal`),`Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia '86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.`))),Xb(e,new MA(Zv($v(Qv(new Vc,GG),`Force`),`Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984.`))),Xb(e,new MA(Zv($v(Qv(new Vc,`org.eclipse.elk.circle`),`Circle`),`Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph.`))),Xb(e,new MA(Zv($v(Qv(new Vc,Cgt),`Tree`),`Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type.`))),Xb(e,new MA(Zv($v(Qv(new Vc,`org.eclipse.elk.planar`),`Planar`),`Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable.`))),Xb(e,new MA(Zv($v(Qv(new Vc,NJ),`Radial`),`Radial layout algorithms usually position the nodes of the graph on concentric circles.`))),Htt((new hee,e)),frt((new rp,e)),cet((new ap,e))};var I6,RVt,zVt,L6,BVt,VVt,HVt,R6,z6,UVt,B6,WVt,V6,H6,GVt,KVt,qVt,JVt,YVt,XVt,ZVt,QVt,$Vt,U6,eHt,tHt,W6,nHt,G6,rHt,iHt,aHt,oHt,sHt,K6,cHt,q6,lHt,uHt,dHt,J6,fHt,Y6,pHt,X6,Z6,mHt,Q6,hHt,$6,e8,t8,gHt,_Ht,vHt,yHt,bHt,xHt,SHt,CHt,wHt,THt,EHt,DHt,n8,r8,OHt,kHt,AHt,i8,jHt,MHt,a8,NHt,o8,s8,PHt,c8,FHt,IHt,LHt,RHt,zHt,BHt,VHt,HHt,l8,UHt,u8,WHt,GHt,d8,KHt,qHt,JHt,YHt,f8,p8,m8,h8,XHt,ZHt,g8,QHt,_8,$Ht,eUt,tUt,nUt;R(YJ,`CoreOptions`,715),J(88,23,{3:1,34:1,23:1,88:1},gC);var v8,y8,b8,x8,S8,C8=XN(YJ,spt,88,FX,cje,f_e),rUt;J(284,23,{3:1,34:1,23:1,284:1},_C);var w8,T8,iUt,aUt,oUt=XN(YJ,`EdgeCoords`,284,FX,Pke,p_e),sUt;J(285,23,{3:1,34:1,23:1,285:1},vC);var E8,D8,O8,cUt=XN(YJ,`EdgeLabelPlacement`,285,FX,lDe,m_e),lUt;J(224,23,{3:1,34:1,23:1,224:1},yC);var k8,A8,j8,uUt,dUt=XN(YJ,`EdgeRouting`,224,FX,Nke,h_e),fUt;J(331,23,{3:1,34:1,23:1,331:1},bC);var pUt,mUt,hUt,gUt,_Ut,vUt,yUt=XN(YJ,`EdgeType`,331,FX,fNe,g_e),bUt;J(1035,1,pG,hee),Q.ef=function(e){Htt(e)};var xUt,SUt,CUt,wUt,TUt,EUt,M8;R(YJ,`FixedLayouterOptions`,1035),J(1036,1,{},gl),Q.pf=function(){return new yl},Q.qf=function(e){},R(YJ,`FixedLayouterOptions/FixedFactory`,1036),J(358,23,{3:1,34:1,23:1,358:1},xC);var N8,P8,F8,DUt=XN(YJ,`HierarchyHandling`,358,FX,oDe,__e),OUt,kUt=oD(YJ,`ITopdownSizeApproximator`);J(297,23,{3:1,34:1,23:1,297:1},SC);var I8,L8,R8,z8,AUt=XN(YJ,`LabelSide`,297,FX,Ike,v_e),jUt;J(98,23,{3:1,34:1,23:1,98:1},CC);var B8,V8,H8,U8,W8,G8,K8,q8,J8,Y8=XN(YJ,`NodeLabelPlacement`,98,FX,vIe,y_e),MUt;J(259,23,{3:1,34:1,23:1,259:1},wC);var NUt,X8,Z8,PUt,Q8,$8=XN(YJ,`PortAlignment`,259,FX,dje,b_e),FUt;J(106,23,{3:1,34:1,23:1,106:1},TC);var e5,t5,n5,r5,i5,a5,IUt=XN(YJ,`PortConstraints`,106,FX,pNe,x_e),LUt;J(286,23,{3:1,34:1,23:1,286:1},EC);var o5,s5,c5,l5,u5,d5,f5=XN(YJ,`PortLabelPlacement`,286,FX,mNe,S_e),RUt;J(66,23,{3:1,34:1,23:1,66:1},OC);var p5,m5,h5,g5,_5,v5,y5,b5,x5,S5,C5,w5,T5,E5,D5,O5,k5,A5,j5,M5,N5,P5=XN(YJ,`PortSide`,66,FX,lje,C_e),zUt;J(1039,1,pG,ap),Q.ef=function(e){cet(e)};var BUt,VUt,HUt,UUt,WUt;R(YJ,`RandomLayouterOptions`,1039),J(1040,1,{},_l),Q.pf=function(){return new pee},Q.qf=function(e){},R(YJ,`RandomLayouterOptions/RandomFactory`,1040),J(306,23,{3:1,34:1,23:1,306:1},DC);var F5,GUt,KUt,qUt=XN(YJ,`ShapeCoords`,306,FX,sDe,w_e),JUt;J(395,23,{3:1,34:1,23:1,395:1},kC);var I5,L5,R5,z5,B5=XN(YJ,`SizeConstraint`,395,FX,Mke,T_e),YUt;J(270,23,{3:1,34:1,23:1,270:1},AC);var V5,H5,U5,XUt,W5,G5,K5,q5,J5,ZUt=XN(YJ,`SizeOptions`,270,FX,JIe,E_e),QUt;J(287,23,{3:1,34:1,23:1,287:1},jC);var Y5,$Ut,X5,eWt=XN(YJ,`TopdownNodeTypes`,287,FX,cDe,D_e),tWt;J(294,23,tY);var nWt,rWt,iWt,aWt,Z5=XN(YJ,`TopdownSizeApproximator`,294,FX,Fke,O_e);J(1031,294,tY,wye),Q.Rg=function(e){return tJe(e)},XN(YJ,`TopdownSizeApproximator/1`,1031,Z5,null,null),J(1032,294,tY,nxe),Q.Rg=function(e){var t=F(Y(e,(lU(),c8)),148),n,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C=(yy(),m=new F_,m),w,ee,te;for(pV(C,e),w=new Jg,o=new cT((!e.a&&(e.a=new I(p7,e,10,11)),e.a));o.e!=o.i.gc();)i=F(AR(o),28),y=(p=new F_,p),fV(y,C),pV(y,i),te=tJe(i),Dw(y,r.Math.max(i.g,te.a),r.Math.max(i.f,te.b)),wB(w.f,i,y);for(a=new cT((!e.a&&(e.a=new I(p7,e,10,11)),e.a));a.e!=a.i.gc();)for(i=F(AR(a),28),d=new cT((!i.e&&(i.e=new yE(i7,i,7,4)),i.e));d.e!=d.i.gc();)u=F(AR(d),73),x=F(GC(DD(w.f,i)),28),S=F(BO(w,U((!u.c&&(u.c=new yE(r7,u,5,8)),u.c),0)),28),b=(f=new Dl,f),vM((!b.b&&(b.b=new yE(r7,b,4,7)),b.b),x),vM((!b.c&&(b.c=new yE(r7,b,5,8)),b.c),S),lV(b,hA(x)),pV(b,u);g=F(Qk(t.f),194);try{g.of(C,new Cl),kSe(t.f,g)}catch(e){throw e=xF(e),N(e,102)?(h=e,O(h)):O(e)}return fM(C,z6)||fM(C,R6)||Sut(C),l=k(P(Y(C,z6))),c=k(P(Y(C,R6))),s=l/c,n=k(P(Y(C,p8)))*r.Math.sqrt((!C.a&&(C.a=new I(p7,C,10,11)),C.a).i),ee=F(Y(C,t8),105),v=ee.b+ee.c+1,_=ee.d+ee.a+1,new j(r.Math.max(v,n),r.Math.max(_,n/s))},XN(YJ,`TopdownSizeApproximator/2`,1032,Z5,null,null),J(1033,294,tY,lTe),Q.Rg=function(e){var t,n=k(P(Y(e,(lU(),p8)))),r,i,a,o;return t=n/k(P(Y(e,f8))),r=ait(e),a=F(Y(e,t8),105),i=k(P(kR(d8))),hA(e)&&(i=k(P(Y(hA(e),d8)))),o=tT(new j(n,t),r),gE(o,new j(-(a.b+a.c)-i,-(a.d+a.a)-i))},XN(YJ,`TopdownSizeApproximator/3`,1033,Z5,null,null),J(1034,294,tY,rxe),Q.Rg=function(e){for(var t,n,i,a,o,s=new cT((!e.a&&(e.a=new I(p7,e,10,11)),e.a)),c,l,u,d;s.e!=s.i.gc();)o=F(AR(s),28),Y(o,(lU(),_8))!=null&&(!o.a&&(o.a=new I(p7,o,10,11)),o.a)&&(!o.a&&(o.a=new I(p7,o,10,11)),o.a).i>0?(n=F(Y(o,_8),541),d=n.Rg(o),u=F(Y(o,t8),105),Dw(o,r.Math.max(o.g,d.a+u.b+u.c),r.Math.max(o.f,d.b+u.d+u.a))):(!o.a&&(o.a=new I(p7,o,10,11)),o.a).i!=0&&Dw(o,k(P(Y(o,p8))),k(P(Y(o,p8)))/k(P(Y(o,f8))));t=F(Y(e,(lU(),c8)),148),l=F(Qk(t.f),194);try{l.of(e,new Cl),kSe(t.f,l)}catch(e){throw e=xF(e),N(e,102)?(c=e,O(c)):O(e)}return HR(e,I6,$J),$ke(e),Sut(e),a=k(P(Y(e,z6))),i=k(P(Y(e,R6))),new j(a,i)},XN(YJ,`TopdownSizeApproximator/4`,1034,Z5,null,null);var oWt;J(352,1,{884:1},G_),Q.Sg=function(e,t){return _$e(this,e,t)},Q.Tg=function(){u0e(this)},Q.Ug=function(){return this.q},Q.Vg=function(){return this.f?Rk(this.f):null},Q.Wg=function(){return Rk(this.a)},Q.Xg=function(){return this.p},Q.Yg=function(){return!1},Q.Zg=function(){return this.n},Q.$g=function(){return this.p!=null&&!this.b},Q._g=function(e){var t;this.n&&(t=e,pT(this.f,t))},Q.ah=function(e,t){var n,r;this.n&&e&&nOe(this,(n=new Qxe,r=Tnt(n,e),xct(n),r),(ZF(),hWt))},Q.bh=function(e){var t;return this.b?null:(t=FFe(this,this.g),ZE(this.a,t),t.i=this,this.d=e,t)},Q.dh=function(e){e>0&&!this.b&&mLe(this,e)},Q.b=!1,Q.c=0,Q.d=-1,Q.e=null,Q.f=null,Q.g=-1,Q.j=!1,Q.k=!1,Q.n=!1,Q.o=0,Q.q=0,Q.r=0,R(cJ,`BasicProgressMonitor`,352),J(734,194,jG,ll),Q.of=function(e,t){tit(e,t)},R(cJ,`BoxLayoutProvider`,734),J(1027,1,lG,Dne),Q.Ke=function(e,t){return X5e(this,F(e,28),F(t,28))},Q.Fb=function(e){return this===e},Q.Le=function(){return new oh(this)},Q.a=!1,R(cJ,`BoxLayoutProvider/1`,1027),J(167,1,{167:1},TN,epe),Q.Ib=function(){return this.c?btt(this.c):rB(this.b)},R(cJ,`BoxLayoutProvider/Group`,167),J(330,23,{3:1,34:1,23:1,330:1},NC);var sWt,cWt,lWt,uWt,dWt=XN(cJ,`BoxLayoutProvider/PackingMode`,330,FX,jke,k_e),fWt;J(1028,1,lG,cl),Q.Ke=function(e,t){return lwe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Le=function(){return new oh(this)},R(cJ,`BoxLayoutProvider/lambda$0$Type`,1028),J(1029,1,lG,ul),Q.Ke=function(e,t){return WCe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Le=function(){return new oh(this)},R(cJ,`BoxLayoutProvider/lambda$1$Type`,1029),J(1030,1,lG,dl),Q.Ke=function(e,t){return GCe(F(e,167),F(t,167))},Q.Fb=function(e){return this===e},Q.Le=function(){return new oh(this)},R(cJ,`BoxLayoutProvider/lambda$2$Type`,1030),J(1404,1,{857:1},fl),Q.Kg=function(e,t){return Ub(),!N(t,171)||$ae((jF(),F(e,171)),t)},R(cJ,`ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type`,1404),J(1405,1,VU,One),Q.Cd=function(e){YVe(this.a,F(e,153))},R(cJ,`ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type`,1405),J(1406,1,VU,pl),Q.Cd=function(e){F(e,99),Ub()},R(cJ,`ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type`,1406),J(1410,1,VU,kne),Q.Cd=function(e){HLe(this.a,F(e,99))},R(cJ,`ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type`,1410),J(1408,1,rW,PC),Q.Mb=function(e){return qBe(this.a,this.b,F(e,153))},R(cJ,`ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type`,1408),J(1407,1,rW,Yse),Q.Mb=function(e){return bfe(this.a,this.b,F(e,857))},R(cJ,`ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type`,1407),J(1409,1,VU,FC),Q.Cd=function(e){Gbe(this.a,this.b,F(e,153))},R(cJ,`ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type`,1409),J(lW,1,{},vl),Q.Kb=function(e){return vle(e)},Q.Fb=function(e){return this===e},R(cJ,`ElkUtil/lambda$0$Type`,lW),J(1001,1,VU,Xse),Q.Cd=function(e){d3e(this.a,this.b,F(e,73))},Q.a=0,Q.b=0,R(cJ,`ElkUtil/lambda$1$Type`,1001),J(1002,1,VU,Zse),Q.Cd=function(e){Oie(this.a,this.b,F(e,170))},Q.a=0,Q.b=0,R(cJ,`ElkUtil/lambda$2$Type`,1002),J(1003,1,VU,Qse),Q.Cd=function(e){Hle(this.a,this.b,F(e,135))},Q.a=0,Q.b=0,R(cJ,`ElkUtil/lambda$3$Type`,1003),J(1004,1,VU,Ane),Q.Cd=function(e){rye(this.a,F(e,384))},R(cJ,`ElkUtil/lambda$4$Type`,1004),J(334,1,{34:1,334:1},qg),Q.Fd=function(e){return Zue(this,F(e,243))},Q.Fb=function(e){var t;return N(e,334)?(t=F(e,334),this.a==t.a):!1},Q.Hb=function(){return cA(this.a)},Q.Ib=function(){return this.a+` (exclusive)`},Q.a=0,R(cJ,`ExclusiveBounds/ExclusiveLowerBound`,334),J(1129,194,jG,yl),Q.of=function(e,t){var n,i,a,o,s,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,ee,te;for(t.Sg(`Fixed Layout`,1),o=F(Y(e,(lU(),YVt)),224),p=0,m=0,b=new cT((!e.a&&(e.a=new I(p7,e,10,11)),e.a));b.e!=b.i.gc();){for(v=F(AR(b),28),te=F(Y(v,(QF(),M8)),8),te&&(Ow(v,te.a,te.b),F(Y(v,SUt),184).Hc((XL(),I5))&&(h=F(Y(v,wUt),8),h.a>0&&h.b>0&&$H(v,h.a,h.b,!0,!0))),p=r.Math.max(p,v.i+v.g),m=r.Math.max(m,v.j+v.f),d=new cT((!v.n&&(v.n=new I(f7,v,1,7)),v.n));d.e!=d.i.gc();)l=F(AR(d),135),te=F(Y(l,M8),8),te&&Ow(l,te.a,te.b),p=r.Math.max(p,v.i+l.i+l.g),m=r.Math.max(m,v.j+l.j+l.f);for(C=new cT((!v.c&&(v.c=new I(m7,v,9,9)),v.c));C.e!=C.i.gc();)for(S=F(AR(C),121),te=F(Y(S,M8),8),te&&Ow(S,te.a,te.b),w=v.i+S.i,ee=v.j+S.j,p=r.Math.max(p,w+S.g),m=r.Math.max(m,ee+S.f),u=new cT((!S.n&&(S.n=new I(f7,S,1,7)),S.n));u.e!=u.i.gc();)l=F(AR(u),135),te=F(Y(l,M8),8),te&&Ow(l,te.a,te.b),p=r.Math.max(p,w+l.i+l.g),m=r.Math.max(m,ee+l.j+l.f);for(a=new ID(fT(iV(v).a.Kc(),new c));KB(a);)n=F($j(a),73),f=Mlt(n),p=r.Math.max(p,f.a),m=r.Math.max(m,f.b);for(i=new ID(fT(rV(v).a.Kc(),new c));KB(i);)n=F($j(i),73),hA(tB(n))!=e&&(f=Mlt(n),p=r.Math.max(p,f.a),m=r.Math.max(m,f.b))}if(o==(TL(),k8))for(y=new cT((!e.a&&(e.a=new I(p7,e,10,11)),e.a));y.e!=y.i.gc();)for(v=F(AR(y),28),i=new ID(fT(iV(v).a.Kc(),new c));KB(i);)n=F($j(i),73),s=Ert(n),s.b==0?HR(n,K6,null):HR(n,K6,s);gv(iE(Y(e,(QF(),CUt))))||(x=F(Y(e,TUt),105),_=p+x.b+x.c,g=m+x.d+x.a,$H(e,_,g,!0,!0)),t.Tg()},R(cJ,`FixedLayoutProvider`,1129),J(392,142,{3:1,429:1,392:1,99:1,142:1},bl,NPe),Q._f=function(e){var t,n,r,i,a,o,s,c,l;if(e)try{for(c=jH(e,`;,;`),a=c,o=0,s=a.length;o<s;++o){if(i=a[o],n=jH(i,`\\:`),r=Lot(oP(),n[0]),!r)throw O(new lv(`Invalid option id: `+n[0]));if(l=ist(r,n[1]),l==null)throw O(new lv(`Invalid option value: `+n[1]));l==null?(!this.q&&(this.q=new Jg),Xj(this.q,r)):(!this.q&&(this.q=new Jg),ok(this.q,r,l))}}catch(e){throw e=xF(e),N(e,102)?(t=e,O(new zVe(t))):O(e)}},Q.Ib=function(){return aE(Aj(gk((this.q?this.q:(Ak(),Ak(),oZ)).vc().Oc(),new xl),zM(new sve,new Ee,new _e,new ve,W(A(pZ,1),Z,104,0,[]))))};var pWt=R(cJ,`IndividualSpacings`,392);J(1026,1,{},xl),Q.Kb=function(e){return uwe(F(e,48))},R(cJ,`IndividualSpacings/lambda$0$Type`,1026),J(736,1,{},qye),Q.c=0,R(cJ,`InstancePool`,736),J(1884,1,{},Sl),R(cJ,`LoggedGraph`,1884),J(422,23,{3:1,34:1,23:1,422:1},zC);var mWt,hWt,gWt,_Wt,vWt=XN(cJ,`LoggedGraph/Type`,422,FX,Lke,A_e),yWt;J(638,1,{884:1},Cl),Q.Sg=function(e,t){return!1},Q.Tg=function(){},Q.Ug=function(){return 0},Q.Vg=function(){return null},Q.Wg=function(){return null},Q.Xg=function(){return null},Q.Yg=function(){return!1},Q.Zg=function(){return!1},Q.$g=function(){return!1},Q._g=function(e){},Q.ah=function(e,t){},Q.bh=function(e){return this},Q.dh=function(e){},R(cJ,`NullElkProgressMonitor`,638),J(43,1,{22:1,43:1},IC),Q.Jc=function(e){Lj(this,e)},Q.Fb=function(e){var t,n,r;return N(e,43)?(n=F(e,43),t=this.a==null?n.a==null:mL(this.a,n.a),r=this.b==null?n.b==null:mL(this.b,n.b),t&&r):!1},Q.Hb=function(){var e,t,n=this.a==null?0:VF(this.a),r,i,a;return e=n&uW,t=n&-65536,a=this.b==null?0:VF(this.b),r=a&uW,i=a&-65536,e^i>>16&uW|t^r<<16},Q.Kc=function(){return new ug(this)},Q.Ib=function(){return this.a==null&&this.b==null?`pair(null,null)`:this.a==null?`pair(null,`+yL(this.b)+`)`:this.b==null?`pair(`+yL(this.a)+`,null)`:`pair(`+yL(this.a)+`,`+yL(this.b)+`)`},R(cJ,`Pair`,43),J(1041,1,AU,ug),Q.Nb=function(e){sO(this,e)},Q.Ob=function(){return!this.c&&(!this.b&&this.a.a!=null||this.a.b!=null)},Q.Pb=function(){if(!this.c&&!this.b&&this.a.a!=null)return this.b=!0,this.a.a;if(!this.c&&this.a.b!=null)return this.c=!0,this.a.b;throw O(new __)},Q.Qb=function(){throw this.c&&this.a.b!=null?this.a.b=null:this.b&&this.a.a!=null&&(this.a.a=null),O(new p_)},Q.b=!1,Q.c=!1,R(cJ,`Pair/1`,1041),J(463,1,{463:1},LCe),Q.Fb=function(e){return sk(this.a,F(e,463).a)&&sk(this.c,F(e,463).c)&&sk(this.d,F(e,463).d)&&sk(this.b,F(e,463).b)},Q.Hb=function(){return lI(W(A(AX,1),wU,1,5,[this.a,this.c,this.d,this.b]))},Q.Ib=function(){return`(`+this.a+CU+this.c+CU+this.d+CU+this.b+`)`},R(cJ,`Quadruple`,463),J(1118,194,jG,pee),Q.of=function(e,t){var n,r,i,a,o;t.Sg(`Random Layout`,1),(!e.a&&(e.a=new I(p7,e,10,11)),e.a).i==0||(a=F(Y(e,(LGe(),UUt)),14),i=a&&a.a!=0?new Ij(a.a):new lL,n=_v(P(Y(e,BUt))),o=_v(P(Y(e,WUt))),r=F(Y(e,VUt),105),elt(e,i,n,o,r)),t.Tg()},R(cJ,`RandomLayoutProvider`,1118),J(241,1,{241:1},B_e),Q.Fb=function(e){return sk(this.a,F(e,241).a)&&sk(this.b,F(e,241).b)&&sk(this.c,F(e,241).c)},Q.Hb=function(){return lI(W(A(AX,1),wU,1,5,[this.a,this.b,this.c]))},Q.Ib=function(){return`(`+this.a+CU+this.b+CU+this.c+`)`},R(cJ,`Triple`,241);var bWt;J(570,1,{}),Q.If=function(){return new j(this.f.i,this.f.j)},Q.lf=function(e){return Rwe(e,(lU(),n8))?Y(this.f,xWt):Y(this.f,e)},Q.Jf=function(){return new j(this.f.g,this.f.f)},Q.Kf=function(){return this.g},Q.mf=function(e){return fM(this.f,e)},Q.Lf=function(e){LN(this.f,e.a),RN(this.f,e.b)},Q.Mf=function(e){IN(this.f,e.a),FN(this.f,e.b)},Q.Nf=function(e){this.g=e},Q.g=0;var xWt;R(nY,`ElkGraphAdapters/AbstractElkGraphElementAdapter`,570),J(572,1,{864:1},dg),Q.Of=function(){var e,t;if(!this.b)for(this.b=nj(lk(this.a).i),t=new cT(lk(this.a));t.e!=t.i.gc();)e=F(AR(t),135),pT(this.b,new iv(e));return this.b},Q.b=null,R(nY,`ElkGraphAdapters/ElkEdgeAdapter`,572),J(263,570,{},rv),Q.Pf=function(){return wYe(this)},Q.a=null,R(nY,`ElkGraphAdapters/ElkGraphAdapter`,263),J(652,570,{190:1},iv),R(nY,`ElkGraphAdapters/ElkLabelAdapter`,652),J(571,570,{707:1},jT),Q.Of=function(){return SYe(this)},Q.Sf=function(){var e=F(Y(this.f,(lU(),q6)),146);return!e&&(e=new A_),e},Q.Uf=function(){return CYe(this)},Q.Wf=function(e){var t=new Tge(e);HR(this.f,(lU(),q6),t)},Q.Xf=function(e){HR(this.f,(lU(),t8),new Ege(e))},Q.Qf=function(){return this.d},Q.Rf=function(){var e,t;if(!this.a)for(this.a=new D,t=new ID(fT(rV(F(this.f,28)).a.Kc(),new c));KB(t);)e=F($j(t),73),pT(this.a,new dg(e));return this.a},Q.Tf=function(){var e,t;if(!this.c)for(this.c=new D,t=new ID(fT(iV(F(this.f,28)).a.Kc(),new c));KB(t);)e=F($j(t),73),pT(this.c,new dg(e));return this.c},Q.Vf=function(){return Fk(F(this.f,28)).i!=0||gv(iE(F(this.f,28).lf((lU(),W6))))},Q.Yf=function(){RPe(this,(nx(),bWt))},Q.a=null,Q.b=null,Q.c=null,Q.d=null,Q.e=null,R(nY,`ElkGraphAdapters/ElkNodeAdapter`,571),J(1295,570,{863:1},jne),Q.Of=function(){return IYe(this)},Q.Rf=function(){var e,t;if(!this.a)for(this.a=LT(F(this.f,121).fh().i),t=new cT(F(this.f,121).fh());t.e!=t.i.gc();)e=F(AR(t),73),pT(this.a,new dg(e));return this.a},Q.Tf=function(){var e,t;if(!this.c)for(this.c=LT(F(this.f,121).gh().i),t=new cT(F(this.f,121).gh());t.e!=t.i.gc();)e=F(AR(t),73),pT(this.c,new dg(e));return this.c},Q.Zf=function(){return F(F(this.f,121).lf((lU(),a8)),66)},Q.$f=function(){var e,t,n,r=mA(F(this.f,121)),i,a,o,s;for(n=new cT(F(this.f,121).gh());n.e!=n.i.gc();)for(e=F(AR(n),73),s=new cT((!e.c&&(e.c=new yE(r7,e,5,8)),e.c));s.e!=s.i.gc();)if(o=F(AR(s),85),yN(Gz(o),r)||Gz(o)==r&&gv(iE(Y(e,(lU(),nHt)))))return!0;for(t=new cT(F(this.f,121).fh());t.e!=t.i.gc();)for(e=F(AR(t),73),a=new cT((!e.b&&(e.b=new yE(r7,e,4,7)),e.b));a.e!=a.i.gc();)if(i=F(AR(a),85),yN(Gz(i),r))return!0;return!1},Q.a=null,Q.b=null,Q.c=null,R(nY,`ElkGraphAdapters/ElkPortAdapter`,1295),J(1296,1,lG,wl),Q.Ke=function(e,t){return ytt(F(e,121),F(t,121))},Q.Fb=function(e){return this===e},Q.Le=function(){return new oh(this)},R(nY,`ElkGraphAdapters/PortComparator`,1296);var Q5=oD(rY,`EObject`),$5=oD(iY,Svt),e7=oD(iY,Cvt),t7=oD(iY,wvt),n7=oD(iY,`ElkShape`),r7=oD(iY,Tvt),i7=oD(iY,Evt),a7=oD(iY,Dvt),o7=oD(rY,Ovt),s7=oD(rY,`EFactory`),SWt,CWt=oD(rY,kvt),c7=oD(rY,`EPackage`),l7,wWt,TWt,EWt,u7,DWt,OWt,kWt,AWt,d7,jWt,MWt,f7=oD(iY,Avt),p7=oD(iY,jvt),m7=oD(iY,Mvt);J(94,1,Nvt),Q.rh=function(){return this.sh(),null},Q.sh=function(){return null},Q.th=function(){return this.sh(),!1},Q.uh=function(){return!1},Q.vh=function(e){XP(this,e)},R(aY,`BasicNotifierImpl`,94),J(101,94,Rvt),Q.Wh=function(){return ww(this)},Q.wh=function(e,t){return e},Q.xh=function(){throw O(new h_)},Q.yh=function(e){var t=QR(F(pN(this.Bh(),this.Dh()),19));return this.Nh().Rh(this,t.n,t.f,e)},Q.zh=function(e,t){throw O(new h_)},Q.Ah=function(e,t,n){return nH(this,e,t,n)},Q.Bh=function(){var e;return this.xh()&&(e=this.xh().Mk(),e)?e:this.gi()},Q.Ch=function(){return s6e(this)},Q.Dh=function(){throw O(new h_)},Q.Eh=function(){var e,t=this.Yh().Nk();return!t&&this.xh().Sk(t=(ax(),e=_Te(uH(this.Bh())),e==null?AGt:new AT(this,e))),t},Q.Fh=function(e,t){return e},Q.Gh=function(e){return e.ok()?e.Kj():PL(this.Bh(),e)},Q.Hh=function(){var e=this.xh();return e?e.Pk():null},Q.Ih=function(){return this.xh()?this.xh().Mk():null},Q.Jh=function(e,t,n){return WR(this,e,t,n)},Q.Kh=function(e){return xM(this,e)},Q.Lh=function(e,t){return jje(this,e,t)},Q.Mh=function(){var e=this.xh();return!!e&&e.Qk()},Q.Nh=function(){throw O(new h_)},Q.Oh=function(){return lR(this)},Q.Ph=function(e,t,n,r){return VR(this,e,t,r)},Q.Qh=function(e,t,n){return F(pN(this.Bh(),t),69).vk().yk(this,this.fi(),t-this.hi(),e,n)},Q.Rh=function(e,t,n,r){return Zk(this,e,t,r)},Q.Sh=function(e,t,n){return F(pN(this.Bh(),t),69).vk().zk(this,this.fi(),t-this.hi(),e,n)},Q.Th=function(){return!!this.xh()&&!!this.xh().Ok()},Q.Uh=function(e){return OR(this,e)},Q.Vh=function(e){return UTe(this,e)},Q.Xh=function(e){return lct(this,e)},Q.Yh=function(){throw O(new h_)},Q.Zh=function(){return this.xh()?this.xh().Ok():null},Q.$h=function(){return lR(this)},Q._h=function(e,t){P2e(this,e,t)},Q.ai=function(e){this.Yh().Rk(e)},Q.bi=function(e){this.Yh().Uk(e)},Q.ci=function(e){this.Yh().Tk(e)},Q.di=function(e,t){var n,r,i,a=this.Hh();return a&&e&&(t=UR(a.Dl(),this,t),a.Hl(this)),r=this.Nh(),r&&((Ytt(this,this.Nh(),this.Dh()).Bb&qW)==0?(t=(n=this.Dh(),n>=0?this.yh(t):this.Nh().Rh(this,-1-n,null,t)),t=this.Ah(null,-1,t)):(i=r.Oh(),i&&(e?!a&&i.Hl(this):i.Gl(this)))),this.bi(e),t},Q.ei=function(e){var t,n=this.Bh(),r,i,a=PL(n,e),o,s,c;if(t=this.hi(),a>=t)return F(e,69).vk().Ck(this,this.fi(),a-t);if(a<=-1){if(o=VH((_B(),p9),n,e),o){if(cx(),F(o,69).wk()||(o=UA(WM(p9,o))),i=(r=this.Gh(o),F(r>=0?this.Jh(r,!0,!0):RB(this,o,!0),163)),c=o.Hk(),c>1||c==-1)return F(F(i,221).Rl(e,!1),81)}else throw O(new lv(oY+e.ue()+Fvt))}else if(e.Ik())return r=this.Gh(e),F(r>=0?this.Jh(r,!1,!0):RB(this,e,!1),81);return s=new Sce(this,e),s},Q.fi=function(){return MPe(this)},Q.gi=function(){return(zO(),K7).S},Q.hi=function(){return DO(this.gi())},Q.ii=function(e){B0e(this,e)},Q.Ib=function(){return XB(this)},R(lY,`BasicEObjectImpl`,101);var NWt;J(119,101,{110:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1}),Q.ji=function(e){return jPe(this)[e]},Q.ki=function(e,t){NO(jPe(this),e,t)},Q.li=function(e){NO(jPe(this),e,null)},Q.rh=function(){return F(aF(this,4),129)},Q.sh=function(){throw O(new h_)},Q.th=function(){return!!(this.Db&4)},Q.xh=function(){throw O(new h_)},Q.mi=function(e){cR(this,2,e)},Q.zh=function(e,t){this.Db=t<<16|this.Db&255,this.mi(e)},Q.Bh=function(){return qk(this)},Q.Dh=function(){return this.Db>>16},Q.Eh=function(){var e,t;return ax(),t=_Te(uH((e=F(aF(this,16),30),e||this.gi()))),t==null?AGt:new AT(this,t)},Q.uh=function(){return!(this.Db&1)},Q.Hh=function(){return F(aF(this,128),2064)},Q.Ih=function(){return F(aF(this,16),30)},Q.Mh=function(){return!!(this.Db&32)},Q.Nh=function(){return F(aF(this,2),54)},Q.Th=function(){return!!(this.Db&64)},Q.Yh=function(){throw O(new h_)},Q.Zh=function(){return F(aF(this,64),295)},Q.ai=function(e){cR(this,16,e)},Q.bi=function(e){cR(this,128,e)},Q.ci=function(e){cR(this,64,e)},Q.fi=function(){return sR(this)},Q.Db=0,R(lY,`MinimalEObjectImpl`,119),J(120,119,{110:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),Q.mi=function(e){this.Cb=e},Q.Nh=function(){return this.Cb},R(lY,`MinimalEObjectImpl/Container`,120),J(2111,120,{110:1,350:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),Q.Jh=function(e,t,n){return RYe(this,e,t,n)},Q.Sh=function(e,t,n){return A1e(this,e,t,n)},Q.Uh=function(e){return lOe(this,e)},Q._h=function(e,t){cVe(this,e,t)},Q.gi=function(){return rU(),MWt},Q.ii=function(e){dBe(this,e)},Q.kf=function(){return uqe(this)},Q.eh=function(){return!this.o&&(this.o=new pM((rU(),d7),g7,this,0)),this.o},Q.lf=function(e){return Y(this,e)},Q.mf=function(e){return fM(this,e)},Q.nf=function(e,t){return HR(this,e,t)},R(uY,`EMapPropertyHolderImpl`,2111),J(580,120,{110:1,384:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},Tl),Q.Jh=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return WR(this,e,t,n)},Q.Uh=function(e){switch(e){case 0:return this.a!=0;case 1:return this.b!=0}return OR(this,e)},Q._h=function(e,t){switch(e){case 0:WN(this,k(P(t)));return;case 1:BN(this,k(P(t)));return}P2e(this,e,t)},Q.gi=function(){return rU(),wWt},Q.ii=function(e){switch(e){case 0:WN(this,0);return;case 1:BN(this,0);return}B0e(this,e)},Q.Ib=function(){var e;return this.Db&64?XB(this):(e=new vT(XB(this)),e.a+=` (x: `,ky(e,this.a),e.a+=`, y: `,ky(e,this.b),e.a+=`)`,e.a)},Q.a=0,Q.b=0,R(uY,`ElkBendPointImpl`,580),J(751,2111,{110:1,350:1,171:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),Q.Jh=function(e,t,n){return kUe(this,e,t,n)},Q.Qh=function(e,t,n){return O$e(this,e,t,n)},Q.Sh=function(e,t,n){return Lze(this,e,t,n)},Q.Uh=function(e){return gze(this,e)},Q._h=function(e,t){WZe(this,e,t)},Q.gi=function(){return rU(),DWt},Q.ii=function(e){lUe(this,e)},Q.hh=function(){return this.k},Q.ih=function(){return lk(this)},Q.Ib=function(){return rL(this)},Q.k=null,R(uY,`ElkGraphElementImpl`,751),J(752,751,{110:1,350:1,171:1,268:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),Q.Jh=function(e,t,n){return PWe(this,e,t,n)},Q.Uh=function(e){return lGe(this,e)},Q._h=function(e,t){GZe(this,e,t)},Q.gi=function(){return rU(),jWt},Q.ii=function(e){uGe(this,e)},Q.jh=function(){return this.f},Q.kh=function(){return this.g},Q.lh=function(){return this.i},Q.mh=function(){return this.j},Q.nh=function(e,t){Dw(this,e,t)},Q.oh=function(e,t){Ow(this,e,t)},Q.ph=function(e){LN(this,e)},Q.qh=function(e){RN(this,e)},Q.Ib=function(){return K1e(this)},Q.f=0,Q.g=0,Q.i=0,Q.j=0,R(uY,`ElkShapeImpl`,752),J(753,752,{110:1,350:1,85:1,171:1,268:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1}),Q.Jh=function(e,t,n){return hJe(this,e,t,n)},Q.Qh=function(e,t,n){return bZe(this,e,t,n)},Q.Sh=function(e,t,n){return xZe(this,e,t,n)},Q.Uh=function(e){return PBe(this,e)},Q._h=function(e,t){P6e(this,e,t)},Q.gi=function(){return rU(),TWt},Q.ii=function(e){Cqe(this,e)},Q.fh=function(){return!this.d&&(this.d=new yE(i7,this,8,5)),this.d},Q.gh=function(){return!this.e&&(this.e=new yE(i7,this,7,4)),this.e},R(uY,`ElkConnectableShapeImpl`,753),J(262,751,{110:1,350:1,73:1,171:1,262:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},Dl),Q.yh=function(e){return EXe(this,e)},Q.Jh=function(e,t,n){switch(e){case 3:return pA(this);case 4:return!this.b&&(this.b=new yE(r7,this,4,7)),this.b;case 5:return!this.c&&(this.c=new yE(r7,this,5,8)),this.c;case 6:return!this.a&&(this.a=new I(a7,this,6,6)),this.a;case 7:return uT(),!this.b&&(this.b=new yE(r7,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new yE(r7,this,5,8)),this.c.i<=1));case 8:return uT(),!!WB(this);case 9:return uT(),!!FB(this);case 10:return uT(),!this.b&&(this.b=new yE(r7,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new yE(r7,this,5,8)),this.c.i!=0)}return kUe(this,e,t,n)},Q.Qh=function(e,t,n){var r;switch(t){case 3:return this.Cb&&(n=(r=this.Db>>16,r>=0?EXe(this,n):this.Cb.Rh(this,-1-r,null,n))),Epe(this,F(e,28),n);case 4:return!this.b&&(this.b=new yE(r7,this,4,7)),BL(this.b,e,n);case 5:return!this.c&&(this.c=new yE(r7,this,5,8)),BL(this.c,e,n);case 6:return!this.a&&(this.a=new I(a7,this,6,6)),BL(this.a,e,n)}return O$e(this,e,t,n)},Q.Sh=function(e,t,n){switch(t){case 3:return Epe(this,null,n);case 4:return!this.b&&(this.b=new yE(r7,this,4,7)),UR(this.b,e,n);case 5:return!this.c&&(this.c=new yE(r7,this,5,8)),UR(this.c,e,n);case 6:return!this.a&&(this.a=new I(a7,this,6,6)),UR(this.a,e,n)}return Lze(this,e,t,n)},Q.Uh=function(e){switch(e){case 3:return!!pA(this);case 4:return!!this.b&&this.b.i!=0;case 5:return!!this.c&&this.c.i!=0;case 6:return!!this.a&&this.a.i!=0;case 7:return!this.b&&(this.b=new yE(r7,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new yE(r7,this,5,8)),this.c.i<=1));case 8:return WB(this);case 9:return FB(this);case 10:return!this.b&&(this.b=new yE(r7,this,4,7)),this.b.i!=0&&(!this.c&&(this.c=new yE(r7,this,5,8)),this.c.i!=0)}return gze(this,e)},Q._h=function(e,t){switch(e){case 3:lV(this,F(t,28));return;case 4:!this.b&&(this.b=new yE(r7,this,4,7)),LH(this.b),!this.b&&(this.b=new yE(r7,this,4,7)),TO(this.b,F(t,17));return;case 5:!this.c&&(this.c=new yE(r7,this,5,8)),LH(this.c),!this.c&&(this.c=new yE(r7,this,5,8)),TO(this.c,F(t,17));return;case 6:!this.a&&(this.a=new I(a7,this,6,6)),LH(this.a),!this.a&&(this.a=new I(a7,this,6,6)),TO(this.a,F(t,17));return}WZe(this,e,t)},Q.gi=function(){return rU(),EWt},Q.ii=function(e){switch(e){case 3:lV(this,null);return;case 4:!this.b&&(this.b=new yE(r7,this,4,7)),LH(this.b);return;case 5:!this.c&&(this.c=new yE(r7,this,5,8)),LH(this.c);return;case 6:!this.a&&(this.a=new I(a7,this,6,6)),LH(this.a);return}lUe(this,e)},Q.Ib=function(){return vat(this)},R(uY,`ElkEdgeImpl`,262),J(460,2111,{110:1,350:1,170:1,460:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},Ol),Q.yh=function(e){return bXe(this,e)},Q.Jh=function(e,t,n){switch(e){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new rT(e7,this,5)),this.a;case 6:return zTe(this);case 7:return t?rJe(this):this.i;case 8:return t?nJe(this):this.f;case 9:return!this.g&&(this.g=new yE(a7,this,9,10)),this.g;case 10:return!this.e&&(this.e=new yE(a7,this,10,9)),this.e;case 11:return this.d}return RYe(this,e,t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?bXe(this,n):this.Cb.Rh(this,-1-i,null,n))),Dpe(this,F(e,73),n);case 9:return!this.g&&(this.g=new yE(a7,this,9,10)),BL(this.g,e,n);case 10:return!this.e&&(this.e=new yE(a7,this,10,9)),BL(this.e,e,n)}return a=F(pN((r=F(aF(this,16),30),r||(rU(),u7)),t),69),a.vk().yk(this,sR(this),t-DO((rU(),u7)),e,n)},Q.Sh=function(e,t,n){switch(t){case 5:return!this.a&&(this.a=new rT(e7,this,5)),UR(this.a,e,n);case 6:return Dpe(this,null,n);case 9:return!this.g&&(this.g=new yE(a7,this,9,10)),UR(this.g,e,n);case 10:return!this.e&&(this.e=new yE(a7,this,10,9)),UR(this.e,e,n)}return A1e(this,e,t,n)},Q.Uh=function(e){switch(e){case 1:return this.j!=0;case 2:return this.k!=0;case 3:return this.b!=0;case 4:return this.c!=0;case 5:return!!this.a&&this.a.i!=0;case 6:return!!zTe(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&this.g.i!=0;case 10:return!!this.e&&this.e.i!=0;case 11:return this.d!=null}return lOe(this,e)},Q._h=function(e,t){switch(e){case 1:zN(this,k(P(t)));return;case 2:UN(this,k(P(t)));return;case 3:VN(this,k(P(t)));return;case 4:HN(this,k(P(t)));return;case 5:!this.a&&(this.a=new rT(e7,this,5)),LH(this.a),!this.a&&(this.a=new rT(e7,this,5)),TO(this.a,F(t,17));return;case 6:M5e(this,F(t,73));return;case 7:fP(this,F(t,85));return;case 8:dP(this,F(t,85));return;case 9:!this.g&&(this.g=new yE(a7,this,9,10)),LH(this.g),!this.g&&(this.g=new yE(a7,this,9,10)),TO(this.g,F(t,17));return;case 10:!this.e&&(this.e=new yE(a7,this,10,9)),LH(this.e),!this.e&&(this.e=new yE(a7,this,10,9)),TO(this.e,F(t,17));return;case 11:ALe(this,aE(t));return}cVe(this,e,t)},Q.gi=function(){return rU(),u7},Q.ii=function(e){switch(e){case 1:zN(this,0);return;case 2:UN(this,0);return;case 3:VN(this,0);return;case 4:HN(this,0);return;case 5:!this.a&&(this.a=new rT(e7,this,5)),LH(this.a);return;case 6:M5e(this,null);return;case 7:fP(this,null);return;case 8:dP(this,null);return;case 9:!this.g&&(this.g=new yE(a7,this,9,10)),LH(this.g);return;case 10:!this.e&&(this.e=new yE(a7,this,10,9)),LH(this.e);return;case 11:ALe(this,null);return}dBe(this,e)},Q.Ib=function(){return z3e(this)},Q.b=0,Q.c=0,Q.d=null,Q.j=0,Q.k=0,R(uY,`ElkEdgeSectionImpl`,460),J(162,120,{110:1,95:1,94:1,158:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1}),Q.Jh=function(e,t,n){var r;return e==0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab):EM(this,e-DO(this.gi()),pN((r=F(aF(this,16),30),r||this.gi()),e),t,n)},Q.Qh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n)):(i=F(pN((r=F(aF(this,16),30),r||this.gi()),t),69),i.vk().yk(this,sR(this),t-DO(this.gi()),e,n))},Q.Sh=function(e,t,n){var r,i;return t==0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n)):(i=F(pN((r=F(aF(this,16),30),r||this.gi()),t),69),i.vk().zk(this,sR(this),t-DO(this.gi()),e,n))},Q.Uh=function(e){var t;return e==0?!!this.Ab&&this.Ab.i!=0:_j(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q.Xh=function(e){return Elt(this,e)},Q._h=function(e,t){var n;e===0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17))):_L(this,e-DO(this.gi()),pN((n=F(aF(this,16),30),n||this.gi()),e),t)},Q.bi=function(e){cR(this,128,e)},Q.gi=function(){return pU(),yGt},Q.ii=function(e){var t;e===0?(!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab)):NI(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q.ni=function(){this.Bb|=1},Q.oi=function(e){return rH(this,e)},Q.Bb=0,R(lY,`EModelElementImpl`,162),J(738,162,{110:1,95:1,94:1,487:1,158:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1},op),Q.pi=function(e,t){return Ust(this,e,t)},Q.qi=function(e){var t,n,r,i,a;if(this.a!=AN(e)||e.Bb&256)throw O(new lv(Bvt+e.zb+pY));for(r=Kk(e);xj(r.a).i!=0;){if(n=F(WH(r,0,(t=F(U(xj(r.a),0),89),a=t.c,N(a,90)?F(a,30):(pU(),t9))),30),lz(n))return i=AN(n).ui().qi(n),F(i,54).ai(e),i;r=Kk(n)}return(e.D==null?e.B:e.D)==`java.util.Map$Entry`?new cye(e):new Eve(e)},Q.ri=function(e,t){return iU(this,e,t)},Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.a}return EM(this,e-DO((pU(),Q7)),pN((r=F(aF(this,16),30),r||Q7),e),t,n)},Q.Qh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 1:return this.a&&(n=F(this.a,54).Rh(this,4,c7,n)),RHe(this,F(e,242),n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),Q7)),t),69),i.vk().yk(this,sR(this),t-DO((pU(),Q7)),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 1:return RHe(this,null,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),Q7)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),Q7)),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return!!this.a}return _j(this,e-DO((pU(),Q7)),pN((t=F(aF(this,16),30),t||Q7),e))},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:m1e(this,F(t,242));return}_L(this,e-DO((pU(),Q7)),pN((n=F(aF(this,16),30),n||Q7),e),t)},Q.gi=function(){return pU(),Q7},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:m1e(this,null);return}NI(this,e-DO((pU(),Q7)),pN((t=F(aF(this,16),30),t||Q7),e))};var h7,PWt,FWt;R(lY,`EFactoryImpl`,738),J(1082,738,{110:1,2141:1,95:1,94:1,487:1,158:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1},kl),Q.pi=function(e,t){switch(e.gk()){case 12:return F(t,153).Ng();case 13:return yL(t);default:throw O(new lv(fY+e.ue()+pY))}},Q.qi=function(e){var t,n,r,i,a,o,s,c;switch(e.G==-1&&(e.G=(t=AN(e),t?qR(t.ti(),e):-1)),e.G){case 4:return a=new Al,a;case 6:return o=new F_,o;case 7:return s=new Wre,s;case 8:return r=new Dl,r;case 9:return n=new Tl,n;case 10:return i=new Ol,i;case 11:return c=new jl,c;default:throw O(new lv(Bvt+e.zb+pY))}},Q.ri=function(e,t){switch(e.gk()){case 13:case 12:return null;default:throw O(new lv(fY+e.ue()+pY))}},R(uY,`ElkGraphFactoryImpl`,1082),J(456,162,{110:1,95:1,94:1,158:1,200:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1}),Q.Eh=function(){var e,t=(e=F(aF(this,16),30),_Te(uH(e||this.gi())));return t==null?(ax(),ax(),AGt):new Pfe(this,t)},Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.ue()}return EM(this,e-DO(this.gi()),pN((r=F(aF(this,16),30),r||this.gi()),e),t,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null}return _j(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:this.si(aE(t));return}_L(this,e-DO(this.gi()),pN((n=F(aF(this,16),30),n||this.gi()),e),t)},Q.gi=function(){return pU(),bGt},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:this.si(null);return}NI(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q.ue=function(){return this.zb},Q.si=function(e){SP(this,e)},Q.Ib=function(){return TI(this)},Q.zb=null,R(lY,`ENamedElementImpl`,456),J(187,456,{110:1,95:1,94:1,158:1,200:1,57:1,242:1,115:1,54:1,101:1,162:1,187:1,119:1,120:1,702:1},dwe),Q.yh=function(e){return wXe(this,e)},Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new XD(this,F7,this)),this.rb;case 6:return!this.vb&&(this.vb=new vE(c7,this,6,7)),this.vb;case 7:return t?this.Db>>16==7?F(this.Cb,242):null:VTe(this)}return EM(this,e-DO((pU(),r9)),pN((r=F(aF(this,16),30),r||r9),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 4:return this.sb&&(n=F(this.sb,54).Rh(this,1,s7,n)),fUe(this,F(e,487),n);case 5:return!this.rb&&(this.rb=new XD(this,F7,this)),BL(this.rb,e,n);case 6:return!this.vb&&(this.vb=new vE(c7,this,6,7)),BL(this.vb,e,n);case 7:return this.Cb&&(n=(i=this.Db>>16,i>=0?wXe(this,n):this.Cb.Rh(this,-1-i,null,n))),nH(this,e,7,n)}return a=F(pN((r=F(aF(this,16),30),r||(pU(),r9)),t),69),a.vk().yk(this,sR(this),t-DO((pU(),r9)),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 4:return fUe(this,null,n);case 5:return!this.rb&&(this.rb=new XD(this,F7,this)),UR(this.rb,e,n);case 6:return!this.vb&&(this.vb=new vE(c7,this,6,7)),UR(this.vb,e,n);case 7:return nH(this,null,7,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),r9)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),r9)),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.yb!=null;case 3:return this.xb!=null;case 4:return!!this.sb;case 5:return!!this.rb&&this.rb.i!=0;case 6:return!!this.vb&&this.vb.i!=0;case 7:return!!VTe(this)}return _j(this,e-DO((pU(),r9)),pN((t=F(aF(this,16),30),t||r9),e))},Q.Xh=function(e){return p7e(this,e)||Elt(this,e)},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:SP(this,aE(t));return;case 2:EP(this,aE(t));return;case 3:TP(this,aE(t));return;case 4:j1e(this,F(t,487));return;case 5:!this.rb&&(this.rb=new XD(this,F7,this)),LH(this.rb),!this.rb&&(this.rb=new XD(this,F7,this)),TO(this.rb,F(t,17));return;case 6:!this.vb&&(this.vb=new vE(c7,this,6,7)),LH(this.vb),!this.vb&&(this.vb=new vE(c7,this,6,7)),TO(this.vb,F(t,17));return}_L(this,e-DO((pU(),r9)),pN((n=F(aF(this,16),30),n||r9),e),t)},Q.ci=function(e){var t,n;if(e&&this.rb)for(n=new cT(this.rb);n.e!=n.i.gc();)t=AR(n),N(t,371)&&(F(t,371).w=null);cR(this,64,e)},Q.gi=function(){return pU(),r9},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:SP(this,null);return;case 2:EP(this,null);return;case 3:TP(this,null);return;case 4:j1e(this,null);return;case 5:!this.rb&&(this.rb=new XD(this,F7,this)),LH(this.rb);return;case 6:!this.vb&&(this.vb=new vE(c7,this,6,7)),LH(this.vb);return}NI(this,e-DO((pU(),r9)),pN((t=F(aF(this,16),30),t||r9),e))},Q.ni=function(){zYe(this)},Q.ti=function(){return!this.rb&&(this.rb=new XD(this,F7,this)),this.rb},Q.ui=function(){return this.sb},Q.vi=function(){return this.ub},Q.wi=function(){return this.xb},Q.xi=function(){return this.yb},Q.yi=function(e){this.ub=e},Q.Ib=function(){var e;return this.Db&64?TI(this):(e=new vT(TI(this)),e.a+=` (nsURI: `,$C(e,this.yb),e.a+=`, nsPrefix: `,$C(e,this.xb),e.a+=`)`,e.a)},Q.xb=null,Q.yb=null;var IWt;R(lY,`EPackageImpl`,187),J(577,187,{110:1,2144:1,577:1,95:1,94:1,158:1,200:1,57:1,242:1,115:1,54:1,101:1,162:1,187:1,119:1,120:1,702:1},f6e),Q.q=!1,Q.r=!1;var LWt=!1;R(uY,`ElkGraphPackageImpl`,577),J(337,752,{110:1,350:1,171:1,135:1,268:1,337:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},Al),Q.yh=function(e){return xXe(this,e)},Q.Jh=function(e,t,n){switch(e){case 7:return HTe(this);case 8:return this.a}return PWe(this,e,t,n)},Q.Qh=function(e,t,n){var r;return t===7?(this.Cb&&(n=(r=this.Db>>16,r>=0?xXe(this,n):this.Cb.Rh(this,-1-r,null,n))),gbe(this,F(e,171),n)):O$e(this,e,t,n)},Q.Sh=function(e,t,n){return t==7?gbe(this,null,n):Lze(this,e,t,n)},Q.Uh=function(e){switch(e){case 7:return!!HTe(this);case 8:return!xE(``,this.a)}return lGe(this,e)},Q._h=function(e,t){switch(e){case 7:u7e(this,F(t,171));return;case 8:oLe(this,aE(t));return}GZe(this,e,t)},Q.gi=function(){return rU(),OWt},Q.ii=function(e){switch(e){case 7:u7e(this,null);return;case 8:oLe(this,``);return}uGe(this,e)},Q.Ib=function(){return A0e(this)},Q.a=``,R(uY,`ElkLabelImpl`,337),J(196,753,{110:1,350:1,85:1,171:1,28:1,268:1,196:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},F_),Q.yh=function(e){return VXe(this,e)},Q.Jh=function(e,t,n){switch(e){case 9:return!this.c&&(this.c=new I(m7,this,9,9)),this.c;case 10:return!this.a&&(this.a=new I(p7,this,10,11)),this.a;case 11:return hA(this);case 12:return!this.b&&(this.b=new I(i7,this,12,3)),this.b;case 13:return uT(),!this.a&&(this.a=new I(p7,this,10,11)),this.a.i>0}return hJe(this,e,t,n)},Q.Qh=function(e,t,n){var r;switch(t){case 9:return!this.c&&(this.c=new I(m7,this,9,9)),BL(this.c,e,n);case 10:return!this.a&&(this.a=new I(p7,this,10,11)),BL(this.a,e,n);case 11:return this.Cb&&(n=(r=this.Db>>16,r>=0?VXe(this,n):this.Cb.Rh(this,-1-r,null,n))),vme(this,F(e,28),n);case 12:return!this.b&&(this.b=new I(i7,this,12,3)),BL(this.b,e,n)}return bZe(this,e,t,n)},Q.Sh=function(e,t,n){switch(t){case 9:return!this.c&&(this.c=new I(m7,this,9,9)),UR(this.c,e,n);case 10:return!this.a&&(this.a=new I(p7,this,10,11)),UR(this.a,e,n);case 11:return vme(this,null,n);case 12:return!this.b&&(this.b=new I(i7,this,12,3)),UR(this.b,e,n)}return xZe(this,e,t,n)},Q.Uh=function(e){switch(e){case 9:return!!this.c&&this.c.i!=0;case 10:return!!this.a&&this.a.i!=0;case 11:return!!hA(this);case 12:return!!this.b&&this.b.i!=0;case 13:return!this.a&&(this.a=new I(p7,this,10,11)),this.a.i>0}return PBe(this,e)},Q._h=function(e,t){switch(e){case 9:!this.c&&(this.c=new I(m7,this,9,9)),LH(this.c),!this.c&&(this.c=new I(m7,this,9,9)),TO(this.c,F(t,17));return;case 10:!this.a&&(this.a=new I(p7,this,10,11)),LH(this.a),!this.a&&(this.a=new I(p7,this,10,11)),TO(this.a,F(t,17));return;case 11:fV(this,F(t,28));return;case 12:!this.b&&(this.b=new I(i7,this,12,3)),LH(this.b),!this.b&&(this.b=new I(i7,this,12,3)),TO(this.b,F(t,17));return}P6e(this,e,t)},Q.gi=function(){return rU(),kWt},Q.ii=function(e){switch(e){case 9:!this.c&&(this.c=new I(m7,this,9,9)),LH(this.c);return;case 10:!this.a&&(this.a=new I(p7,this,10,11)),LH(this.a);return;case 11:fV(this,null);return;case 12:!this.b&&(this.b=new I(i7,this,12,3)),LH(this.b);return}Cqe(this,e)},Q.Ib=function(){return btt(this)},R(uY,`ElkNodeImpl`,196),J(186,753,{110:1,350:1,85:1,171:1,121:1,268:1,186:1,99:1,95:1,94:1,57:1,115:1,54:1,101:1,119:1,120:1},Wre),Q.yh=function(e){return SXe(this,e)},Q.Jh=function(e,t,n){return e==9?mA(this):hJe(this,e,t,n)},Q.Qh=function(e,t,n){var r;return t===9?(this.Cb&&(n=(r=this.Db>>16,r>=0?SXe(this,n):this.Cb.Rh(this,-1-r,null,n))),Ope(this,F(e,28),n)):bZe(this,e,t,n)},Q.Sh=function(e,t,n){return t==9?Ope(this,null,n):xZe(this,e,t,n)},Q.Uh=function(e){return e==9?!!mA(this):PBe(this,e)},Q._h=function(e,t){e===9?N5e(this,F(t,28)):P6e(this,e,t)},Q.gi=function(){return rU(),AWt},Q.ii=function(e){e===9?N5e(this,null):Cqe(this,e)},Q.Ib=function(){return xtt(this)},R(uY,`ElkPortImpl`,186);var RWt=oD(vY,`BasicEMap/Entry`);J(1132,120,{110:1,48:1,95:1,94:1,141:1,57:1,115:1,54:1,101:1,119:1,120:1},jl),Q.Fb=function(e){return this===e},Q.ld=function(){return this.b},Q.Hb=function(){return wT(this)},Q.Bi=function(e){sLe(this,F(e,153))},Q.Jh=function(e,t,n){switch(e){case 0:return this.b;case 1:return this.c}return WR(this,e,t,n)},Q.Uh=function(e){switch(e){case 0:return!!this.b;case 1:return this.c!=null}return OR(this,e)},Q._h=function(e,t){switch(e){case 0:sLe(this,F(t,153));return;case 1:cLe(this,t);return}P2e(this,e,t)},Q.gi=function(){return rU(),d7},Q.ii=function(e){switch(e){case 0:sLe(this,null);return;case 1:cLe(this,null);return}B0e(this,e)},Q.zi=function(){var e;return this.a==-1&&(e=this.b,this.a=e?VF(e):0),this.a},Q.md=function(){return this.c},Q.Ai=function(e){this.a=e},Q.nd=function(e){var t=this.c;return cLe(this,e),t},Q.Ib=function(){var e;return this.Db&64?XB(this):(e=new zv,nw(nw(nw(e,this.b?this.b.Ng():TU),TK),dT(this.c)),e.a)},Q.a=-1,Q.c=null;var g7=R(uY,`ElkPropertyToValueMapEntryImpl`,1132);J(1042,1,{},Nl),R(bY,`JsonAdapter`,1042),J(217,63,sW,Cv),R(bY,`JsonImportException`,217),J(882,1,{},G3e),R(bY,`JsonImporter`,882),J(954,1,{},$se),Q.Ci=function(e){SZe(this.a,this.b,F(e,145))},R(bY,`JsonImporter/lambda$0$Type`,954),J(955,1,{},ece),Q.Ci=function(e){W4e(this.a,this.b,F(e,145))},R(bY,`JsonImporter/lambda$1$Type`,955),J(963,1,{},fg),Q.Ci=function(e){gCe(this.a,F(e,154))},R(bY,`JsonImporter/lambda$10$Type`,963),J(965,1,{},tce),Q.Ci=function(e){u4e(this.a,this.b,F(e,145))},R(bY,`JsonImporter/lambda$11$Type`,965),J(966,1,{},nce),Q.Ci=function(e){d4e(this.a,this.b,F(e,145))},R(bY,`JsonImporter/lambda$12$Type`,966),J(972,1,{},zCe),Q.Ci=function(e){d0e(this.a,this.b,this.c,this.d,F(e,145))},R(bY,`JsonImporter/lambda$13$Type`,972),J(971,1,{},BCe),Q.Ci=function(e){rrt(this.a,this.b,this.c,this.d,F(e,154))},R(bY,`JsonImporter/lambda$14$Type`,971),J(967,1,{},rce),Q.Ci=function(e){gme(this.a,this.b,aE(e))},R(bY,`JsonImporter/lambda$15$Type`,967),J(968,1,{},ice),Q.Ci=function(e){_me(this.a,this.b,aE(e))},R(bY,`JsonImporter/lambda$16$Type`,968),J(969,1,{},ace),Q.Ci=function(e){eXe(this.b,this.a,F(e,145))},R(bY,`JsonImporter/lambda$17$Type`,969),J(970,1,{},oce),Q.Ci=function(e){tXe(this.b,this.a,F(e,145))},R(bY,`JsonImporter/lambda$18$Type`,970),J(975,1,{},pg),Q.Ci=function(e){N1e(this.a,F(e,154))},R(bY,`JsonImporter/lambda$19$Type`,975),J(956,1,{},mg),Q.Ci=function(e){WXe(this.a,F(e,145))},R(bY,`JsonImporter/lambda$2$Type`,956),J(973,1,{},hg),Q.Ci=function(e){zN(this.a,k(P(e)))},R(bY,`JsonImporter/lambda$20$Type`,973),J(974,1,{},Mne),Q.Ci=function(e){UN(this.a,k(P(e)))},R(bY,`JsonImporter/lambda$21$Type`,974),J(978,1,{},gg),Q.Ci=function(e){M1e(this.a,F(e,154))},R(bY,`JsonImporter/lambda$22$Type`,978),J(976,1,{},_g),Q.Ci=function(e){VN(this.a,k(P(e)))},R(bY,`JsonImporter/lambda$23$Type`,976),J(977,1,{},Nne),Q.Ci=function(e){HN(this.a,k(P(e)))},R(bY,`JsonImporter/lambda$24$Type`,977),J(980,1,{},Pne),Q.Ci=function(e){CQe(this.a,F(e,145))},R(bY,`JsonImporter/lambda$25$Type`,980),J(979,1,{},Fne),Q.Ci=function(e){_Ce(this.a,F(e,154))},R(bY,`JsonImporter/lambda$26$Type`,979),J(981,1,VU,LC),Q.Cd=function(e){wNe(this.b,this.a,aE(e))},R(bY,`JsonImporter/lambda$27$Type`,981),J(982,1,VU,sce),Q.Cd=function(e){TNe(this.b,this.a,aE(e))},R(bY,`JsonImporter/lambda$28$Type`,982),J(983,1,{},cce),Q.Ci=function(e){Y6e(this.a,this.b,F(e,145))},R(bY,`JsonImporter/lambda$29$Type`,983),J(959,1,{},Ine),Q.Ci=function(e){YWe(this.a,F(e,154))},R(bY,`JsonImporter/lambda$3$Type`,959),J(984,1,{},lce),Q.Ci=function(e){y5e(this.a,this.b,F(e,145))},R(bY,`JsonImporter/lambda$30$Type`,984),J(985,1,{},vg),Q.Ci=function(e){PPe(this.a,P(e))},R(bY,`JsonImporter/lambda$31$Type`,985),J(986,1,{},Lne),Q.Ci=function(e){FPe(this.a,P(e))},R(bY,`JsonImporter/lambda$32$Type`,986),J(987,1,{},Rne),Q.Ci=function(e){IPe(this.a,P(e))},R(bY,`JsonImporter/lambda$33$Type`,987),J(988,1,{},yg),Q.Ci=function(e){LPe(this.a,P(e))},R(bY,`JsonImporter/lambda$34$Type`,988),J(989,1,{},zne),Q.Ci=function(e){s1e(this.a,F(e,57))},R(bY,`JsonImporter/lambda$35$Type`,989),J(990,1,{},bg),Q.Ci=function(e){c1e(this.a,F(e,57))},R(bY,`JsonImporter/lambda$36$Type`,990),J(994,1,{},RCe),R(bY,`JsonImporter/lambda$37$Type`,994),J(991,1,VU,F_e),Q.Cd=function(e){gRe(this.a,this.c,this.b,F(e,384))},R(bY,`JsonImporter/lambda$38$Type`,991),J(992,1,VU,uce),Q.Cd=function(e){yce(this.a,this.b,F(e,170))},R(bY,`JsonImporter/lambda$39$Type`,992),J(957,1,{},xg),Q.Ci=function(e){zN(this.a,k(P(e)))},R(bY,`JsonImporter/lambda$4$Type`,957),J(993,1,VU,dce),Q.Cd=function(e){bce(this.a,this.b,F(e,170))},R(bY,`JsonImporter/lambda$40$Type`,993),J(995,1,VU,I_e),Q.Cd=function(e){_Re(this.a,this.b,this.c,F(e,8))},R(bY,`JsonImporter/lambda$41$Type`,995),J(958,1,{},Sg),Q.Ci=function(e){UN(this.a,k(P(e)))},R(bY,`JsonImporter/lambda$5$Type`,958),J(962,1,{},Bne),Q.Ci=function(e){XWe(this.a,F(e,154))},R(bY,`JsonImporter/lambda$6$Type`,962),J(960,1,{},Cg),Q.Ci=function(e){VN(this.a,k(P(e)))},R(bY,`JsonImporter/lambda$7$Type`,960),J(961,1,{},Vne),Q.Ci=function(e){HN(this.a,k(P(e)))},R(bY,`JsonImporter/lambda$8$Type`,961),J(964,1,{},wg),Q.Ci=function(e){wQe(this.a,F(e,145))},R(bY,`JsonImporter/lambda$9$Type`,964),J(1005,1,VU,Hne),Q.Cd=function(e){VO(this.a,new LO(aE(e)))},R(bY,`JsonMetaDataConverter/lambda$0$Type`,1005),J(1006,1,VU,Tg),Q.Cd=function(e){zxe(this.a,F(e,246))},R(bY,`JsonMetaDataConverter/lambda$1$Type`,1006),J(1007,1,VU,Eg),Q.Cd=function(e){AEe(this.a,F(e,148))},R(bY,`JsonMetaDataConverter/lambda$2$Type`,1007),J(1008,1,VU,Dg),Q.Cd=function(e){Bxe(this.a,F(e,161))},R(bY,`JsonMetaDataConverter/lambda$3$Type`,1008),J(246,23,{3:1,34:1,23:1,246:1},RC);var _7,v7,zWt,y7,b7,x7,BWt,VWt,S7=XN(kG,`GraphFeature`,246,FX,MFe,j_e),HWt;J(11,1,{34:1,153:1},Ag,sE,cw,Pw),Q.Fd=function(e){return Xue(this,F(e,153))},Q.Fb=function(e){return Rwe(this,e)},Q.Qg=function(){return kR(this)},Q.Ng=function(){return this.b},Q.Hb=function(){return qF(this.b)},Q.Ib=function(){return this.b},R(kG,`Property`,11),J(679,1,lG,Og),Q.Ke=function(e,t){return eWe(this,F(e,99),F(t,99))},Q.Fb=function(e){return this===e},Q.Le=function(){return new oh(this)},R(kG,`PropertyHolderComparator`,679),J(726,1,AU,kg),Q.Nb=function(e){sO(this,e)},Q.Pb=function(){return kNe(this)},Q.Qb=function(){Rae()},Q.Ob=function(){return!!this.a},R(TY,`ElkGraphUtil/AncestorIterator`,726);var UWt=oD(vY,`EList`);J(71,56,{22:1,31:1,56:1,17:1,16:1,71:1,61:1}),Q.bd=function(e,t){RI(this,e,t)},Q.Fc=function(e){return vM(this,e)},Q.cd=function(e,t){return bBe(this,e,t)},Q.Gc=function(e){return TO(this,e)},Q.Hi=function(){return new NT(this)},Q.Ii=function(){return new MT(this)},Q.Ji=function(e){return nP(this,e)},Q.Ki=function(){return!0},Q.Li=function(e,t){},Q.Mi=function(){},Q.Ni=function(e,t){YMe(this,e,t)},Q.Oi=function(e,t,n){},Q.Pi=function(e,t){},Q.Qi=function(e,t,n){},Q.Fb=function(e){return xet(this,e)},Q.Hb=function(){return nBe(this)},Q.Ri=function(){return!1},Q.Kc=function(){return new cT(this)},Q.ed=function(){return new PT(this)},Q.fd=function(e){var t=this.gc();if(e<0||e>t)throw O(new bE(e,t));return new hO(this,e)},Q.Ti=function(e,t){this.Si(e,this.dd(t))},Q.Mc=function(e){return tN(this,e)},Q.Vi=function(e,t){return t},Q.hd=function(e,t){return JR(this,e,t)},Q.Ib=function(){return KWe(this)},Q.Xi=function(){return!0},Q.Yi=function(e,t){return GF(this,t)},R(vY,`AbstractEList`,71),J(67,71,OY,Pl,CN,IRe),Q.Di=function(e,t){return k$e(this,e,t)},Q.Ei=function(e){return LJe(this,e)},Q.Fi=function(e,t){DI(this,e,t)},Q.Gi=function(e){Gj(this,e)},Q.Zi=function(e){return NNe(this,e)},Q.$b=function(){Kj(this)},Q.Hc=function(e){return Az(this,e)},Q.Xb=function(e){return U(this,e)},Q.$i=function(e){var t,n,r;++this.j,n=this.g==null?0:this.g.length,e>n&&(r=this.g,t=n+(n/2|0)+4,t<e&&(t=e),this.g=this._i(t),r!=null&&cH(r,0,this.g,0,this.i))},Q.dd=function(e){return cXe(this,e)},Q.dc=function(){return this.i==0},Q.Si=function(e,t){return i3e(this,e,t)},Q._i=function(e){return H(AX,wU,1,e,5,1)},Q.Ui=function(e){return this.g[e]},Q.gd=function(e){return gz(this,e)},Q.Wi=function(e,t){return nN(this,e,t)},Q.gc=function(){return this.i},Q.Pc=function(){return Hke(this)},Q.Qc=function(e){return xGe(this,e)},Q.i=0;var WWt=R(vY,`BasicEList`,67),GWt=oD(vY,`TreeIterator`);J(725,67,_yt),Q.Nb=function(e){sO(this,e)},Q.Ob=function(){return this.g==null&&!this.c?GTe(this):this.g==null||this.i!=0&&F(this.g[this.i-1],52).Ob()},Q.Pb=function(){return eV(this)},Q.Qb=function(){if(!this.e)throw O(new uv(`There is no valid object to remove.`));this.e.Qb()},Q.c=!1,R(vY,`AbstractTreeIterator`,725),J(628,725,_yt,Tle),Q.aj=function(e){var t=F(e,57).Eh().Kc();return N(t,293)&&F(t,293).vl(new Fl),t},R(TY,`ElkGraphUtil/PropertiesSkippingTreeIterator`,628),J(1009,1,{},Fl),R(TY,`ElkGraphUtil/PropertiesSkippingTreeIterator/1`,1009);var C7,KWt,w7=R(TY,`ElkReflect`,null);J(946,1,KJ,Il),Q.Pg=function(e){return yA(),wDe(F(e,184))},R(TY,`ElkReflect/lambda$0$Type`,946);var T7;oD(vY,`ResourceLocator`),J(1109,1,{}),R(vY,`DelegatingResourceLocator`,1109),J(1110,1109,{}),R(`org.eclipse.emf.common`,`EMFPlugin`,1110);var qWt=oD(Qyt,`Adapter`),JWt=oD(Qyt,`Notification`);J(1184,1,$yt),Q.bj=function(){return this.d},Q.cj=function(e){},Q.dj=function(e){this.d=e},Q.ej=function(e){this.d==e&&(this.d=null)},Q.d=null,R(aY,`AdapterImpl`,1184),J(2121,71,ebt),Q.Di=function(e,t){return QWe(this,e,t)},Q.Ei=function(e){var t,n,r;if(++this.j,e.dc())return!1;for(t=this.Dj(),r=e.Kc();r.Ob();)n=r.Pb(),this.qj(this.Yi(t,n)),++t;return!0},Q.Fi=function(e,t){kpe(this,e,t)},Q.Gi=function(e){cSe(this,e)},Q.oj=function(){return this.rj()},Q.$b=function(){cE(this,this.Dj(),this.Ej())},Q.Hc=function(e){return this.tj(e)},Q.Ic=function(e){return this.uj(e)},Q.pj=function(e,t){this.Aj().Tm()},Q.qj=function(e){this.Aj().Tm()},Q.rj=function(){return this.Aj()},Q.sj=function(){this.Aj().Tm()},Q.tj=function(e){return this.Aj().Tm()},Q.uj=function(e){return this.Aj().Tm()},Q.vj=function(e){return this.Aj().Tm()},Q.wj=function(e){return this.Aj().Tm()},Q.xj=function(){return this.Aj().Tm()},Q.yj=function(e){return this.Aj().Tm()},Q.zj=function(){return this.Aj().Tm()},Q.Bj=function(e){return this.Aj().Tm()},Q.Cj=function(e,t){return this.Aj().Tm()},Q.Dj=function(){return this.Aj().Tm()},Q.Ej=function(){return this.Aj().Tm()},Q.Fj=function(e){return this.Aj().Tm()},Q.Gj=function(){return this.Aj().Tm()},Q.Fb=function(e){return this.vj(e)},Q.Xb=function(e){return this.Vi(e,this.wj(e))},Q.Hb=function(){return this.xj()},Q.dd=function(e){return this.yj(e)},Q.dc=function(){return this.zj()},Q.Si=function(e,t){return d1e(this,e,t)},Q.Ui=function(e){return this.wj(e)},Q.gd=function(e){return aD(this,e)},Q.Mc=function(e){var t=this.dd(e);return t>=0&&(this.gd(t),!0)},Q.Wi=function(e,t){return this.Cj(e,this.Yi(e,t))},Q.gc=function(){return this.Dj()},Q.Pc=function(){return this.Ej()},Q.Qc=function(e){return this.Fj(e)},Q.Ib=function(){return this.Gj()},R(vY,`DelegatingEList`,2121),J(2122,2121,ebt),Q.Di=function(e,t){return Ort(this,e,t)},Q.Ei=function(e){return this.Di(this.Dj(),e)},Q.Fi=function(e,t){i6e(this,e,t)},Q.Gi=function(e){I3e(this,e)},Q.Ki=function(){return!this.Lj()},Q.$b=function(){RH(this)},Q.Hj=function(e,t,n,r,i){return new Fwe(this,e,t,n,r,i)},Q.Ij=function(e){XP(this.ij(),e)},Q.Jj=function(){return null},Q.Kj=function(){return-1},Q.ij=function(){return null},Q.Lj=function(){return!1},Q.Mj=function(e,t){return t},Q.Nj=function(e,t){return t},Q.Oj=function(){return!1},Q.Pj=function(){return!this.zj()},Q.Si=function(e,t){var n,r;return this.Oj()?(r=this.Pj(),n=d1e(this,e,t),this.Ij(this.Hj(7,K(t),n,e,r)),n):d1e(this,e,t)},Q.gd=function(e){var t,n,r,i;return this.Oj()?(n=null,r=this.Pj(),t=this.Hj(4,i=aD(this,e),null,e,r),this.Lj()&&i&&(n=this.Nj(i,n)),n?(n.mj(t),n.nj()):this.Ij(t),i):(i=aD(this,e),this.Lj()&&i&&(n=this.Nj(i,null),n&&n.nj()),i)},Q.Wi=function(e,t){return krt(this,e,t)},R(aY,`DelegatingNotifyingListImpl`,2122),J(155,1,FY),Q.mj=function(e){return kQe(this,e)},Q.nj=function(){yPe(this)},Q.fj=function(){return this.d},Q.Jj=function(){return null},Q.Qj=function(){return null},Q.gj=function(e){return-1},Q.hj=function(){return h9e(this)},Q.ij=function(){return null},Q.jj=function(){return g9e(this)},Q.kj=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Q.Rj=function(){return!1},Q.lj=function(e){var t,n,r,i,a,o,s,c,l,u,d;switch(this.d){case 1:case 2:switch(i=e.fj(),i){case 1:case 2:if(a=e.ij(),M(a)===M(this.ij())&&this.gj(null)==e.gj(null))return this.g=e.hj(),e.fj()==1&&(this.d=1),!0}case 4:if(i=e.fj(),i===4&&(a=e.ij(),M(a)===M(this.ij())&&this.gj(null)==e.gj(null)))return l=ast(this),c=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,o=e.kj(),this.d=6,d=new CN(2),c<=o?(vM(d,this.n),vM(d,e.jj()),this.g=W(A(q9,1),wW,29,15,[this.o=c,o+1])):(vM(d,e.jj()),vM(d,this.n),this.g=W(A(q9,1),wW,29,15,[this.o=o,c])),this.n=d,l||(this.o=-2-this.o-1),!0;break;case 6:if(i=e.fj(),i===4&&(a=e.ij(),M(a)===M(this.ij())&&this.gj(null)==e.gj(null))){for(l=ast(this),o=e.kj(),u=F(this.g,53),r=H(q9,wW,29,u.length+1,15,1),t=0;t<u.length&&(s=u[t],s<=o);)r[t++]=s,++o;for(n=F(this.n,16),n.bd(t,e.jj()),r[t]=o;++t<r.length;)r[t]=u[t-1];return this.g=r,l||(this.o=-2-r[0]),!0}}return!1},Q.Ib=function(){var e,t,n,r=new vT(Ny(this.Qm)+`@`+(t=VF(this)>>>0,t.toString(16)));switch(r.a+=` (eventType: `,this.d){case 1:r.a+=`SET`;break;case 2:r.a+=`UNSET`;break;case 3:r.a+=`ADD`;break;case 5:r.a+=`ADD_MANY`;break;case 4:r.a+=`REMOVE`;break;case 6:r.a+=`REMOVE_MANY`;break;case 7:r.a+=`MOVE`;break;case 8:r.a+=`REMOVING_ADAPTER`;break;case 9:r.a+=`RESOLVE`;break;default:Ay(r,this.d)}if(Rtt(this)&&(r.a+=`, touch: true`),r.a+=`, position: `,Ay(r,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),r.a+=`, notifier: `,QC(r,this.ij()),r.a+=`, feature: `,QC(r,this.Jj()),r.a+=`, oldValue: `,QC(r,g9e(this)),r.a+=`, newValue: `,this.d==6&&N(this.g,53)){for(n=F(this.g,53),r.a+=`[`,e=0;e<n.length;)r.a+=n[e],++e<n.length&&(r.a+=CU);r.a+=`]`}else QC(r,h9e(this));return r.a+=`, isTouch: `,jy(r,Rtt(this)),r.a+=`, wasSet: `,jy(r,ast(this)),r.a+=`)`,r.a},Q.d=0,Q.e=0,Q.f=0,Q.j=0,Q.k=0,Q.o=0,Q.p=0,R(aY,`NotificationImpl`,155),J(1198,155,FY,Fwe),Q.Jj=function(){return this.a.Jj()},Q.gj=function(e){return this.a.Kj()},Q.ij=function(){return this.a.ij()},R(aY,`DelegatingNotifyingListImpl/1`,1198),J(254,67,OY,Ll,fy),Q.Fc=function(e){return dGe(this,F(e,385))},Q.mj=function(e){return dGe(this,e)},Q.nj=function(){for(var e=0,t,n;e<this.i;++e)t=F(this.g[e],385),n=t.ij(),n!=null&&t.fj()!=-1&&F(n,95).vh(t)},Q._i=function(e){return H(JWt,wU,385,e,0,1)},R(aY,`NotificationChainImpl`,254),J(1551,94,Nvt),Q.sh=function(){return this.e},Q.uh=function(){return!!(this.f&1)},Q.f=1,R(aY,`NotifierImpl`,1551),J(2119,67,OY),Q.Di=function(e,t){return Qrt(this,e,t)},Q.Ei=function(e){return this.Di(this.i,e)},Q.Fi=function(e,t){K3e(this,e,t)},Q.Gi=function(e){r6e(this,e)},Q.Ki=function(){return!this.Lj()},Q.$b=function(){LH(this)},Q.Hj=function(e,t,n,r,i){return new Iwe(this,e,t,n,r,i)},Q.Ij=function(e){XP(this.ij(),e)},Q.Jj=function(){return null},Q.Kj=function(){return-1},Q.ij=function(){return null},Q.Lj=function(){return!1},Q.Sj=function(){return!1},Q.Mj=function(e,t){return t},Q.Nj=function(e,t){return t},Q.Oj=function(){return!1},Q.Pj=function(){return this.i!=0},Q.Si=function(e,t){return WI(this,e,t)},Q.gd=function(e){return kV(this,e)},Q.Wi=function(e,t){return Mit(this,e,t)},Q.Tj=function(e,t){return t},Q.Uj=function(e,t){return t},Q.Vj=function(e,t,n){return n},R(aY,`NotifyingListImpl`,2119),J(1197,155,FY,Iwe),Q.Jj=function(){return this.a.Jj()},Q.gj=function(e){return this.a.Kj()},Q.ij=function(){return this.a.ij()},R(aY,`NotifyingListImpl/1`,1197),J(1010,67,OY,Fpe),Q.Hc=function(e){return this.i>10?(this.b&&this.c.j==this.a||(this.b=new uD(this),this.a=this.j),xb(this.b,e)):Az(this,e)},Q.Xi=function(){return!0},Q.a=0,R(vY,`AbstractEList/1`,1010),J(311,78,VW,bE),R(vY,`AbstractEList/BasicIndexOutOfBoundsException`,311),J(39,1,AU,cT),Q.Nb=function(e){sO(this,e)},Q.Wj=function(){if(this.i.j!=this.f)throw O(new g_)},Q.Xj=function(){return AR(this)},Q.Ob=function(){return this.e!=this.i.gc()},Q.Pb=function(){return this.Xj()},Q.Qb=function(){Pz(this)},Q.e=0,Q.f=0,Q.g=-1,R(vY,`AbstractEList/EIterator`,39),J(292,39,IU,PT,hO),Q.Qb=function(){Pz(this)},Q.Rb=function(e){vGe(this,e)},Q.Yj=function(){var e;try{return e=this.d.Xb(--this.e),this.Wj(),this.g=this.e,e}catch(e){throw e=xF(e),N(e,78)?(this.Wj(),O(new __)):O(e)}},Q.Zj=function(e){qJe(this,e)},Q.Sb=function(){return this.e!=0},Q.Tb=function(){return this.e},Q.Ub=function(){return this.Yj()},Q.Vb=function(){return this.e-1},Q.Wb=function(e){this.Zj(e)},R(vY,`AbstractEList/EListIterator`,292),J(366,39,AU,NT),Q.Xj=function(){return jR(this)},Q.Qb=function(){throw O(new h_)},R(vY,`AbstractEList/NonResolvingEIterator`,366),J(403,292,IU,MT,she),Q.Rb=function(e){throw O(new h_)},Q.Xj=function(){var e;try{return e=this.c.Ui(this.e),this.Wj(),this.g=this.e++,e}catch(e){throw e=xF(e),N(e,78)?(this.Wj(),O(new __)):O(e)}},Q.Yj=function(){var e;try{return e=this.c.Ui(--this.e),this.Wj(),this.g=this.e,e}catch(e){throw e=xF(e),N(e,78)?(this.Wj(),O(new __)):O(e)}},Q.Qb=function(){throw O(new h_)},Q.Wb=function(e){throw O(new h_)},R(vY,`AbstractEList/NonResolvingEListIterator`,403),J(2108,71,nbt),Q.Di=function(e,t){var n,r,i=t.gc(),a,o,s,c,l,u,d,f;if(i!=0){for(l=F(aF(this.a,4),129),u=l==null?0:l.length,f=u+i,r=AVe(this,f),d=u-e,d>0&&cH(l,e,r,e+i,d),c=t.Kc(),o=0;o<i;++o)s=c.Pb(),n=e+o,zle(r,n,GF(this,s));for(PR(this,r),a=0;a<i;++a)s=r[e],this.Li(e,s),++e;return!0}return++this.j,!1},Q.Ei=function(e){var t,n,r=e.gc(),i,a,o,s,c,l;if(r!=0){for(c=(n=F(aF(this.a,4),129),n==null?0:n.length),l=c+r,t=AVe(this,l),s=e.Kc(),a=c;a<l;++a)o=s.Pb(),zle(t,a,GF(this,o));for(PR(this,t),i=c;i<l;++i)o=t[i],this.Li(i,o);return!0}return++this.j,!1},Q.Fi=function(e,t){var n,r=F(aF(this.a,4),129),i=r==null?0:r.length,a;n=AVe(this,i+1),a=GF(this,t),e!=i&&cH(r,e,n,e+1,i-e),NO(n,e,a),PR(this,n),this.Li(e,t)},Q.Gi=function(e){var t,n,r=(n=F(aF(this.a,4),129),n==null?0:n.length);t=AVe(this,r+1),zle(t,r,GF(this,e)),PR(this,t),this.Li(r,e)},Q.Hi=function(){return new hje(this)},Q.Ii=function(){return new $be(this)},Q.Ji=function(e){var t,n=(t=F(aF(this.a,4),129),t==null?0:t.length);if(e<0||e>n)throw O(new bE(e,n));return new VSe(this,e)},Q.$b=function(){var e,t;++this.j,e=F(aF(this.a,4),129),t=e==null?0:e.length,PR(this,null),YMe(this,t,e)},Q.Hc=function(e){var t=F(aF(this.a,4),129),n,r,i,a;if(t!=null){if(e!=null){for(r=t,i=0,a=r.length;i<a;++i)if(n=r[i],mL(e,n))return!0}else for(r=t,i=0,a=r.length;i<a;++i)if(n=r[i],M(n)===M(e))return!0}return!1},Q.Xb=function(e){var t=F(aF(this.a,4),129),n=t==null?0:t.length;if(e>=n)throw O(new bE(e,n));return t[e]},Q.dd=function(e){var t=F(aF(this.a,4),129),n,r;if(t!=null){if(e!=null){for(n=0,r=t.length;n<r;++n)if(mL(e,t[n]))return n}else for(n=0,r=t.length;n<r;++n)if(M(t[n])===M(e))return n}return-1},Q.dc=function(){return F(aF(this.a,4),129)==null},Q.Kc=function(){return new gje(this)},Q.ed=function(){return new Qbe(this)},Q.fd=function(e){var t,n=(t=F(aF(this.a,4),129),t==null?0:t.length);if(e<0||e>n)throw O(new bE(e,n));return new BSe(this,e)},Q.Si=function(e,t){var n=QGe(this),r,i=n==null?0:n.length;if(e>=i)throw O(new ov(hyt+e+DY+i));if(t>=i)throw O(new ov(gyt+t+DY+i));return r=n[t],e!=t&&(e<t?cH(n,e,n,e+1,t-e):cH(n,t+1,n,t,e-t),NO(n,e,r),PR(this,n)),r},Q.Ui=function(e){return F(aF(this.a,4),129)[e]},Q.gd=function(e){return E3e(this,e)},Q.Wi=function(e,t){var n=QGe(this),r=n[e];return zle(n,e,GF(this,t)),PR(this,n),r},Q.gc=function(){var e=F(aF(this.a,4),129);return e==null?0:e.length},Q.Pc=function(){var e=F(aF(this.a,4),129),t,n=e==null?0:e.length;return t=H(qWt,tbt,430,n,0,1),n>0&&cH(e,0,t,0,n),t},Q.Qc=function(e){var t=F(aF(this.a,4),129),n,r=t==null?0:t.length;return r>0&&(e.length<r&&(n=JN(JF(e).c,r),e=n),cH(t,0,e,0,r)),e.length>r&&NO(e,r,null),e};var YWt;R(vY,`ArrayDelegatingEList`,2108),J(1096,39,AU,gje),Q.Wj=function(){if(this.b.j!=this.f||M(F(aF(this.b.a,4),129))!==M(this.a))throw O(new g_)},Q.Qb=function(){Pz(this),this.a=F(aF(this.b.a,4),129)},R(vY,`ArrayDelegatingEList/EIterator`,1096),J(740,292,IU,Qbe,BSe),Q.Wj=function(){if(this.b.j!=this.f||M(F(aF(this.b.a,4),129))!==M(this.a))throw O(new g_)},Q.Zj=function(e){qJe(this,e),this.a=F(aF(this.b.a,4),129)},Q.Qb=function(){Pz(this),this.a=F(aF(this.b.a,4),129)},R(vY,`ArrayDelegatingEList/EListIterator`,740),J(1097,366,AU,hje),Q.Wj=function(){if(this.b.j!=this.f||M(F(aF(this.b.a,4),129))!==M(this.a))throw O(new g_)},R(vY,`ArrayDelegatingEList/NonResolvingEIterator`,1097),J(741,403,IU,$be,VSe),Q.Wj=function(){if(this.b.j!=this.f||M(F(aF(this.b.a,4),129))!==M(this.a))throw O(new g_)},R(vY,`ArrayDelegatingEList/NonResolvingEListIterator`,741),J(629,311,VW,Zce),R(vY,`BasicEList/BasicIndexOutOfBoundsException`,629),J(727,67,OY,pce),Q.bd=function(e,t){throw O(new h_)},Q.Fc=function(e){throw O(new h_)},Q.cd=function(e,t){throw O(new h_)},Q.Gc=function(e){throw O(new h_)},Q.$b=function(){throw O(new h_)},Q.$i=function(e){throw O(new h_)},Q.Kc=function(){return this.Hi()},Q.ed=function(){return this.Ii()},Q.fd=function(e){return this.Ji(e)},Q.Si=function(e,t){throw O(new h_)},Q.Ti=function(e,t){throw O(new h_)},Q.gd=function(e){throw O(new h_)},Q.Mc=function(e){throw O(new h_)},Q.hd=function(e,t){throw O(new h_)},R(vY,`BasicEList/UnmodifiableEList`,727),J(739,1,{3:1,22:1,17:1,16:1,61:1,608:1}),Q.bd=function(e,t){xue(this,e,F(t,48))},Q.Fc=function(e){return Rfe(this,F(e,48))},Q.Jc=function(e){Lj(this,e)},Q.Xb=function(e){return F(U(this.c,e),141)},Q.Si=function(e,t){return F(this.c.Si(e,t),48)},Q.Ti=function(e,t){Sue(this,e,F(t,48))},Q.Lc=function(){return new fD(null,new HA(this,16))},Q.gd=function(e){return F(this.c.gd(e),48)},Q.hd=function(e,t){return Rxe(this,e,F(t,48))},Q.jd=function(e){xP(this,e)},Q.Nc=function(){return new HA(this,16)},Q.Oc=function(){return new fD(null,new HA(this,16))},Q.cd=function(e,t){return this.c.cd(e,t)},Q.Gc=function(e){return this.c.Gc(e)},Q.$b=function(){this.c.$b()},Q.Hc=function(e){return this.c.Hc(e)},Q.Ic=function(e){return bF(this.c,e)},Q.$j=function(){var e,t,n;if(this.d==null){for(this.d=H(WWt,rbt,67,2*this.f+1,0,1),n=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)e=F(t.Xj(),141),$R(this,e);this.e=n}},Q.Fb=function(e){return Yme(this,e)},Q.Hb=function(){return nBe(this.c)},Q.dd=function(e){return this.c.dd(e)},Q._j=function(){this.c=new Une(this)},Q.dc=function(){return this.f==0},Q.Kc=function(){return this.c.Kc()},Q.ed=function(){return this.c.ed()},Q.fd=function(e){return this.c.fd(e)},Q.ak=function(){return dM(this)},Q.bk=function(e,t,n){return new V_e(e,t,n)},Q.ck=function(){return new Ml},Q.Mc=function(e){return VIe(this,e)},Q.gc=function(){return this.f},Q.kd=function(e,t){return new NA(this.c,e,t)},Q.Pc=function(){return this.c.Pc()},Q.Qc=function(e){return this.c.Qc(e)},Q.Ib=function(){return KWe(this.c)},Q.e=0,Q.f=0,R(vY,`BasicEMap`,739),J(1091,67,OY,Une),Q.Li=function(e,t){fre(this,F(t,141))},Q.Oi=function(e,t,n){var r;++(r=this,F(t,141),r).a.e},Q.Pi=function(e,t){pre(this,F(t,141))},Q.Qi=function(e,t,n){$de(this,F(t,141),F(n,141))},Q.Ni=function(e,t){ize(this.a)},R(vY,`BasicEMap/1`,1091),J(1092,67,OY,Ml),Q._i=function(e){return H(XWt,ibt,635,e,0,1)},R(vY,`BasicEMap/2`,1092),J(1093,PU,FU,jg),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){return LL(this.a,e)},Q.Kc=function(){return this.a.f==0?(ZT(),E7.a):new Eae(this.a)},Q.Mc=function(e){var t=this.a.f;return oR(this.a,e),this.a.f!=t},Q.gc=function(){return this.a.f},R(vY,`BasicEMap/3`,1093),J(1094,31,NU,Wne),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){return Cet(this.a,e)},Q.Kc=function(){return this.a.f==0?(ZT(),E7.a):new Dae(this.a)},Q.gc=function(){return this.a.f},R(vY,`BasicEMap/4`,1094),J(1095,PU,FU,Gne),Q.$b=function(){this.a.c.$b()},Q.Hc=function(e){var t,n,r,i,a,o,s,c,l;if(this.a.f>0&&N(e,48)&&(this.a.$j(),c=F(e,48),s=c.ld(),i=s==null?0:VF(s),a=Mpe(this.a,i),t=this.a.d[a],t)){for(n=F(t.g,386),l=t.i,o=0;o<l;++o)if(r=n[o],r.zi()==i&&r.Fb(c))return!0}return!1},Q.Kc=function(){return this.a.f==0?(ZT(),E7.a):new QCe(this.a)},Q.Mc=function(e){return A6e(this,e)},Q.gc=function(){return this.a.f},R(vY,`BasicEMap/5`,1095),J(636,1,AU,QCe),Q.Nb=function(e){sO(this,e)},Q.Ob=function(){return this.b!=-1},Q.Pb=function(){var e;if(this.f.e!=this.c)throw O(new g_);if(this.b==-1)throw O(new __);return this.d=this.a,this.e=this.b,hZe(this),e=F(this.f.d[this.d].g[this.e],141),this.dk(e)},Q.Qb=function(){if(this.f.e!=this.c)throw O(new g_);if(this.e==-1)throw O(new p_);this.f.c.Mc(U(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&this.b!=-1&&--this.b},Q.dk=function(e){return e},Q.a=0,Q.b=-1,Q.c=0,Q.d=0,Q.e=0,R(vY,`BasicEMap/BasicEMapIterator`,636),J(1089,636,AU,Eae),Q.dk=function(e){return e.ld()},R(vY,`BasicEMap/BasicEMapKeyIterator`,1089),J(1090,636,AU,Dae),Q.dk=function(e){return e.md()},R(vY,`BasicEMap/BasicEMapValueIterator`,1090),J(1088,1,MU,Mg),Q.wc=function(e){WP(this,e)},Q.yc=function(e,t,n){return cL(this,e,t,n)},Q.$b=function(){this.a.c.$b()},Q._b=function(e){return hce(this,e)},Q.uc=function(e){return Cet(this.a,e)},Q.vc=function(){return VMe(this.a)},Q.Fb=function(e){return Yme(this.a,e)},Q.xc=function(e){return VL(this.a,e)},Q.Hb=function(){return nBe(this.a.c)},Q.dc=function(){return this.a.f==0},Q.ec=function(){return HMe(this.a)},Q.zc=function(e,t){return kz(this.a,e,t)},Q.Bc=function(e){return oR(this.a,e)},Q.gc=function(){return this.a.f},Q.Ib=function(){return KWe(this.a.c)},Q.Cc=function(){return UMe(this.a)},R(vY,`BasicEMap/DelegatingMap`,1088),J(635,1,{48:1,141:1,635:1},V_e),Q.Fb=function(e){var t;return N(e,48)?(t=F(e,48),(this.b==null?M(this.b)===M(t.ld()):mL(this.b,t.ld()))&&(this.c==null?M(this.c)===M(t.md()):mL(this.c,t.md()))):!1},Q.zi=function(){return this.a},Q.ld=function(){return this.b},Q.md=function(){return this.c},Q.Hb=function(){return this.a^(this.c==null?0:VF(this.c))},Q.Ai=function(e){this.a=e},Q.Bi=function(e){throw O(new c_)},Q.nd=function(e){var t=this.c;return this.c=e,t},Q.Ib=function(){return this.b+`->`+this.c},Q.a=0;var XWt=R(vY,`BasicEMap/EntryImpl`,635);J(555,1,{},Rl),R(vY,`BasicEMap/View`,555);var E7;J(796,1,{}),Q.Fb=function(e){return I6e((Ak(),aZ),e)},Q.Hb=function(){return QBe((Ak(),aZ))},Q.Ib=function(){return rB((Ak(),aZ))},R(vY,`ECollections/BasicEmptyUnmodifiableEList`,796),J(1368,1,IU,zl),Q.Nb=function(e){sO(this,e)},Q.Rb=function(e){throw O(new h_)},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Pb=function(){throw O(new __)},Q.Tb=function(){return 0},Q.Ub=function(){throw O(new __)},Q.Vb=function(){return-1},Q.Qb=function(){throw O(new h_)},Q.Wb=function(e){throw O(new h_)},R(vY,`ECollections/BasicEmptyUnmodifiableEList/1`,1368),J(1366,796,{22:1,17:1,16:1,61:1},Gre),Q.bd=function(e,t){Uae()},Q.Fc=function(e){return Wae()},Q.cd=function(e,t){return Gae()},Q.Gc=function(e){return Kae()},Q.$b=function(){qae()},Q.Hc=function(e){return!1},Q.Ic=function(e){return!1},Q.Jc=function(e){Lj(this,e)},Q.Xb=function(e){return Lce((Ak(),e)),null},Q.dd=function(e){return-1},Q.dc=function(){return!0},Q.Kc=function(){return this.a},Q.ed=function(){return this.a},Q.fd=function(e){return this.a},Q.Si=function(e,t){return Jae()},Q.Ti=function(e,t){Yae()},Q.Lc=function(){return new fD(null,new HA(this,16))},Q.gd=function(e){return Xae()},Q.Mc=function(e){return Zae()},Q.hd=function(e,t){return Qae()},Q.gc=function(){return 0},Q.jd=function(e){xP(this,e)},Q.Nc=function(){return new HA(this,16)},Q.Oc=function(){return new fD(null,new HA(this,16))},Q.kd=function(e,t){return Ak(),new NA(aZ,e,t)},Q.Pc=function(){return Dbe((Ak(),aZ))},Q.Qc=function(e){return Ak(),az(aZ,e)},R(vY,`ECollections/EmptyUnmodifiableEList`,1366),J(1367,796,{22:1,17:1,16:1,61:1,608:1},Kre),Q.bd=function(e,t){Uae()},Q.Fc=function(e){return Wae()},Q.cd=function(e,t){return Gae()},Q.Gc=function(e){return Kae()},Q.$b=function(){qae()},Q.Hc=function(e){return!1},Q.Ic=function(e){return!1},Q.Jc=function(e){Lj(this,e)},Q.Xb=function(e){return Lce((Ak(),e)),null},Q.dd=function(e){return-1},Q.dc=function(){return!0},Q.Kc=function(){return this.a},Q.ed=function(){return this.a},Q.fd=function(e){return this.a},Q.Si=function(e,t){return Jae()},Q.Ti=function(e,t){Yae()},Q.Lc=function(){return new fD(null,new HA(this,16))},Q.gd=function(e){return Xae()},Q.Mc=function(e){return Zae()},Q.hd=function(e,t){return Qae()},Q.gc=function(){return 0},Q.jd=function(e){xP(this,e)},Q.Nc=function(){return new HA(this,16)},Q.Oc=function(){return new fD(null,new HA(this,16))},Q.kd=function(e,t){return Ak(),new NA(aZ,e,t)},Q.Pc=function(){return Dbe((Ak(),aZ))},Q.Qc=function(e){return Ak(),az(aZ,e)},Q.ak=function(){return Ak(),Ak(),oZ},R(vY,`ECollections/EmptyUnmodifiableEMap`,1367);var ZWt=oD(vY,`Enumerator`),D7;J(295,1,{295:1},ket),Q.Fb=function(e){var t;return this===e?!0:N(e,295)?(t=F(e,295),this.f==t.f&&Uye(this.i,t.i)&&Hye(this.a,this.f&256?t.f&256?t.a:null:t.f&256?null:t.a)&&Hye(this.d,t.d)&&Hye(this.g,t.g)&&Hye(this.e,t.e)&&gqe(this,t)):!1},Q.Hb=function(){return this.f},Q.Ib=function(){return Qnt(this)},Q.f=0;var QWt=0,$Wt=0,eGt=0,tGt=0,nGt=0,rGt=0,iGt=0,aGt=0,oGt=0,sGt,O7=0,k7=0,cGt=0,lGt=0,A7,uGt;R(vY,`URI`,295),J(1131,44,eG,qre),Q.zc=function(e,t){return F(CA(this,aE(e),F(t,295)),295)},R(vY,`URI/URICache`,1131),J(511,67,OY,Bl,vD),Q.Ri=function(){return!0},R(vY,`UniqueEList`,511),J(601,63,sW,JM),R(vY,`WrappedException`,601);var j7=oD(rY,sbt),M7=oD(rY,cbt),N7=oD(rY,lbt),P7=oD(rY,ubt),F7=oD(rY,dbt),I7=oD(rY,`EClass`),dGt=oD(rY,`EDataType`),fGt;J(1243,44,eG,L_),Q.xc=function(e){return JC(e)?e==null?GC(DD(this.f,null)):Sx(this.i,e):GC(DD(this.f,e))},R(rY,`EDataType/Internal/ConversionDelegate/Factory/Registry/Impl`,1243);var L7=oD(rY,`EEnum`),R7=oD(rY,fbt),z7=oD(rY,pbt),B7=oD(rY,mbt),V7,H7=oD(rY,hbt),U7=oD(rY,gbt);J(1087,1,{},Vl),Q.Ib=function(){return`NIL`},R(rY,`EStructuralFeature/Internal/DynamicValueHolder/1`,1087);var pGt;J(1086,44,eG,R_),Q.xc=function(e){return JC(e)?e==null?GC(DD(this.f,null)):Sx(this.i,e):GC(DD(this.f,e))},R(rY,`EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl`,1086);var W7=oD(rY,_bt),G7=oD(rY,`EValidator/PatternMatcher`),mGt,hGt,K7,q7,J7,Y7,gGt,_Gt,vGt,X7,Z7,Q7,$7,e9,yGt,bGt,t9,n9,xGt,r9,i9,a9,o9,SGt,CGt,s9,c9=oD(LY,`FeatureMap/Entry`);J(554,1,{77:1},BC),Q.Kk=function(){return this.a},Q.md=function(){return this.b},R(lY,`BasicEObjectImpl/1`,554),J(1085,1,vbt,Sce),Q.Ek=function(e){return jje(this.a,this.b,e)},Q.Pj=function(){return UTe(this.a,this.b)},Q.Wb=function(e){NTe(this.a,this.b,e)},Q.Fk=function(){ASe(this.a,this.b)},R(lY,`BasicEObjectImpl/4`,1085),J(2109,1,{115:1}),Q.Lk=function(e){this.e=e==0?wGt:H(AX,wU,1,e,5,1)},Q.ji=function(e){return this.e[e]},Q.ki=function(e,t){this.e[e]=t},Q.li=function(e){this.e[e]=null},Q.Mk=function(){return this.c},Q.Nk=function(){throw O(new h_)},Q.Ok=function(){throw O(new h_)},Q.Pk=function(){return this.d},Q.Qk=function(){return this.e!=null},Q.Rk=function(e){this.c=e},Q.Sk=function(e){throw O(new h_)},Q.Tk=function(e){throw O(new h_)},Q.Uk=function(e){this.d=e};var wGt;R(lY,`BasicEObjectImpl/EPropertiesHolderBaseImpl`,2109),J(195,2109,{115:1},sp),Q.Nk=function(){return this.a},Q.Ok=function(){return this.b},Q.Sk=function(e){this.a=e},Q.Tk=function(e){this.b=e},R(lY,`BasicEObjectImpl/EPropertiesHolderImpl`,195),J(521,101,Rvt,Hl),Q.sh=function(){return this.f},Q.xh=function(){return this.k},Q.zh=function(e,t){this.g=e,this.i=t},Q.Bh=function(){return this.j&2?this.Yh().Mk():this.gi()},Q.Dh=function(){return this.i},Q.uh=function(){return!!(this.j&1)},Q.Nh=function(){return this.g},Q.Th=function(){return!!(this.j&4)},Q.Yh=function(){return!this.k&&(this.k=new sp),this.k},Q.ai=function(e){this.Yh().Rk(e),e?this.j|=2:this.j&=-3},Q.ci=function(e){this.Yh().Tk(e),e?this.j|=4:this.j&=-5},Q.gi=function(){return(zO(),K7).S},Q.i=0,Q.j=1,R(lY,`EObjectImpl`,521),J(812,521,{110:1,95:1,94:1,57:1,115:1,54:1,101:1},Eve),Q.ji=function(e){return this.e[e]},Q.ki=function(e,t){this.e[e]=t},Q.li=function(e){this.e[e]=null},Q.Bh=function(){return this.d},Q.Gh=function(e){return PL(this.d,e)},Q.Ih=function(){return this.d},Q.Mh=function(){return this.e!=null},Q.Yh=function(){return!this.k&&(this.k=new Ul),this.k},Q.ai=function(e){this.d=e},Q.fi=function(){var e;return this.e??=(e=DO(this.d),e==0?TGt:H(AX,wU,1,e,5,1)),this},Q.hi=function(){return 0};var TGt;R(lY,`DynamicEObjectImpl`,812),J(1549,812,{110:1,48:1,95:1,94:1,141:1,57:1,115:1,54:1,101:1},cye),Q.Fb=function(e){return this===e},Q.Hb=function(){return wT(this)},Q.ai=function(e){this.d=e,this.b=gV(e,`key`),this.c=gV(e,gY)},Q.zi=function(){var e;return this.a==-1&&(e=eN(this,this.b),this.a=e==null?0:VF(e)),this.a},Q.ld=function(){return eN(this,this.b)},Q.md=function(){return eN(this,this.c)},Q.Ai=function(e){this.a=e},Q.Bi=function(e){NTe(this,this.b,e)},Q.nd=function(e){var t=eN(this,this.c);return NTe(this,this.c,e),t},Q.a=0,R(lY,`DynamicEObjectImpl/BasicEMapEntry`,1549),J(1550,1,{115:1},Ul),Q.Lk=function(e){throw O(new h_)},Q.ji=function(e){throw O(new h_)},Q.ki=function(e,t){throw O(new h_)},Q.li=function(e){throw O(new h_)},Q.Mk=function(){throw O(new h_)},Q.Nk=function(){return this.a},Q.Ok=function(){return this.b},Q.Pk=function(){return this.c},Q.Qk=function(){throw O(new h_)},Q.Rk=function(e){throw O(new h_)},Q.Sk=function(e){this.a=e},Q.Tk=function(e){this.b=e},Q.Uk=function(e){this.c=e},R(lY,`DynamicEObjectImpl/DynamicEPropertiesHolderImpl`,1550),J(524,162,{110:1,95:1,94:1,609:1,158:1,57:1,115:1,54:1,101:1,524:1,162:1,119:1,120:1},Wl),Q.yh=function(e){return TXe(this,e)},Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new JT((pU(),o9),d9,this)),this.b):(!this.b&&(this.b=new JT((pU(),o9),d9,this)),dM(this.b));case 3:return ZTe(this);case 4:return!this.a&&(this.a=new rT(Q5,this,4)),this.a;case 5:return!this.c&&(this.c=new oT(Q5,this,5)),this.c}return EM(this,e-DO((pU(),q7)),pN((r=F(aF(this,16),30),r||q7),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 3:return this.Cb&&(n=(i=this.Db>>16,i>=0?TXe(this,n):this.Cb.Rh(this,-1-i,null,n))),_be(this,F(e,158),n)}return a=F(pN((r=F(aF(this,16),30),r||(pU(),q7)),t),69),a.vk().yk(this,sR(this),t-DO((pU(),q7)),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 2:return!this.b&&(this.b=new JT((pU(),o9),d9,this)),SE(this.b,e,n);case 3:return _be(this,null,n);case 4:return!this.a&&(this.a=new rT(Q5,this,4)),UR(this.a,e,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),q7)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),q7)),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.d!=null;case 2:return!!this.b&&this.b.f!=0;case 3:return!!ZTe(this);case 4:return!!this.a&&this.a.i!=0;case 5:return!!this.c&&this.c.i!=0}return _j(this,e-DO((pU(),q7)),pN((t=F(aF(this,16),30),t||q7),e))},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:uye(this,aE(t));return;case 2:!this.b&&(this.b=new JT((pU(),o9),d9,this)),GP(this.b,t);return;case 3:d7e(this,F(t,158));return;case 4:!this.a&&(this.a=new rT(Q5,this,4)),LH(this.a),!this.a&&(this.a=new rT(Q5,this,4)),TO(this.a,F(t,17));return;case 5:!this.c&&(this.c=new oT(Q5,this,5)),LH(this.c),!this.c&&(this.c=new oT(Q5,this,5)),TO(this.c,F(t,17));return}_L(this,e-DO((pU(),q7)),pN((n=F(aF(this,16),30),n||q7),e),t)},Q.gi=function(){return pU(),q7},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:lLe(this,null);return;case 2:!this.b&&(this.b=new JT((pU(),o9),d9,this)),this.b.c.$b();return;case 3:d7e(this,null);return;case 4:!this.a&&(this.a=new rT(Q5,this,4)),LH(this.a);return;case 5:!this.c&&(this.c=new oT(Q5,this,5)),LH(this.c);return}NI(this,e-DO((pU(),q7)),pN((t=F(aF(this,16),30),t||q7),e))},Q.Ib=function(){return CUe(this)},Q.d=null,R(lY,`EAnnotationImpl`,524),J(149,739,ybt,pM),Q.Fi=function(e,t){Vle(this,e,F(t,48))},Q.Vk=function(e,t){return Xme(this,F(e,48),t)},Q.Zi=function(e){return F(F(this.c,72).Zi(e),141)},Q.Hi=function(){return F(this.c,72).Hi()},Q.Ii=function(){return F(this.c,72).Ii()},Q.Ji=function(e){return F(this.c,72).Ji(e)},Q.Wk=function(e,t){return SE(this,e,t)},Q.Ek=function(e){return F(this.c,81).Ek(e)},Q._j=function(){},Q.Pj=function(){return F(this.c,81).Pj()},Q.bk=function(e,t,n){var r=F(AN(this.b).ui().qi(this.b),141);return r.Ai(e),r.Bi(t),r.nd(n),r},Q.ck=function(){return new Gg(this)},Q.Wb=function(e){GP(this,e)},Q.Fk=function(){F(this.c,81).Fk()},R(LY,`EcoreEMap`,149),J(169,149,ybt,JT),Q.$j=function(){var e,t,n,r,i,a;if(this.d==null){for(a=H(WWt,rbt,67,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)t=F(n.Xj(),141),r=t.zi(),i=(r&yU)%a.length,e=a[i],!e&&(e=a[i]=new Gg(this)),e.Fc(t);this.d=a}},R(lY,`EAnnotationImpl/1`,169),J(298,456,{110:1,95:1,94:1,158:1,200:1,57:1,115:1,488:1,54:1,101:1,162:1,298:1,119:1,120:1}),Q.Jh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return uT(),!!(this.Bb&256);case 3:return uT(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return uT(),!!this.Ik();case 7:return uT(),i=this.s,i>=1;case 8:return t?wz(this):this.r;case 9:return this.q}return EM(this,e-DO(this.gi()),pN((r=F(aF(this,16),30),r||this.gi()),e),t,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 9:return EO(this,n)}return i=F(pN((r=F(aF(this,16),30),r||this.gi()),t),69),i.vk().zk(this,sR(this),t-DO(this.gi()),e,n)},Q.Uh=function(e){var t,n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!(this.Bb&256);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Ik();case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&HO(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&HO(this.q).i==0)}return _j(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q._h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:this.si(aE(t));return;case 2:kI(this,gv(iE(t)));return;case 3:AI(this,gv(iE(t)));return;case 4:GN(this,F(t,14).a);return;case 5:this.Yk(F(t,14).a);return;case 8:pI(this,F(t,150));return;case 9:r=qz(this,F(t,89),null),r&&r.nj();return}_L(this,e-DO(this.gi()),pN((n=F(aF(this,16),30),n||this.gi()),e),t)},Q.gi=function(){return pU(),CGt},Q.ii=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:this.si(null);return;case 2:kI(this,!0);return;case 3:AI(this,!0);return;case 4:GN(this,0);return;case 5:this.Yk(1);return;case 8:pI(this,null);return;case 9:n=qz(this,null,null),n&&n.nj();return}NI(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q.ni=function(){wz(this),this.Bb|=1},Q.Gk=function(){return wz(this)},Q.Hk=function(){return this.t},Q.Ik=function(){var e=this.t;return e>1||e==-1},Q.Ri=function(){return!!(this.Bb&512)},Q.Xk=function(e,t){return pUe(this,e,t)},Q.Yk=function(e){KN(this,e)},Q.Ib=function(){return B3e(this)},Q.s=0,Q.t=1,R(lY,`ETypedElementImpl`,298),J(469,298,{110:1,95:1,94:1,158:1,200:1,57:1,182:1,69:1,115:1,488:1,54:1,101:1,162:1,469:1,298:1,119:1,120:1,704:1}),Q.yh=function(e){return qYe(this,e)},Q.Jh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return uT(),!!(this.Bb&256);case 3:return uT(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return uT(),!!this.Ik();case 7:return uT(),i=this.s,i>=1;case 8:return t?wz(this):this.r;case 9:return this.q;case 10:return uT(),(this.Bb&$U)!=0;case 11:return uT(),(this.Bb&RU)!=0;case 12:return uT(),(this.Bb&GW)!=0;case 13:return this.j;case 14:return uV(this);case 15:return uT(),(this.Bb&RY)!=0;case 16:return uT(),(this.Bb&zU)!=0;case 17:return bA(this)}return EM(this,e-DO(this.gi()),pN((r=F(aF(this,16),30),r||this.gi()),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 17:return this.Cb&&(n=(i=this.Db>>16,i>=0?qYe(this,n):this.Cb.Rh(this,-1-i,null,n))),nH(this,e,17,n)}return a=F(pN((r=F(aF(this,16),30),r||this.gi()),t),69),a.vk().yk(this,sR(this),t-DO(this.gi()),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 9:return EO(this,n);case 17:return nH(this,null,17,n)}return i=F(pN((r=F(aF(this,16),30),r||this.gi()),t),69),i.vk().zk(this,sR(this),t-DO(this.gi()),e,n)},Q.Uh=function(e){var t,n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!(this.Bb&256);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return this.Ik();case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&HO(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&HO(this.q).i==0);case 10:return(this.Bb&$U)==0;case 11:return(this.Bb&RU)!=0;case 12:return(this.Bb&GW)!=0;case 13:return this.j!=null;case 14:return uV(this)!=null;case 15:return(this.Bb&RY)!=0;case 16:return(this.Bb&zU)!=0;case 17:return!!bA(this)}return _j(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q._h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:bEe(this,aE(t));return;case 2:kI(this,gv(iE(t)));return;case 3:AI(this,gv(iE(t)));return;case 4:GN(this,F(t,14).a);return;case 5:this.Yk(F(t,14).a);return;case 8:pI(this,F(t,150));return;case 9:r=qz(this,F(t,89),null),r&&r.nj();return;case 10:GI(this,gv(iE(t)));return;case 11:JI(this,gv(iE(t)));return;case 12:KI(this,gv(iE(t)));return;case 13:vce(this,aE(t));return;case 15:qI(this,gv(iE(t)));return;case 16:eL(this,gv(iE(t)));return}_L(this,e-DO(this.gi()),pN((n=F(aF(this,16),30),n||this.gi()),e),t)},Q.gi=function(){return pU(),SGt},Q.ii=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:N(this.Cb,90)&&EB(Hj(F(this.Cb,90)),4),SP(this,null);return;case 2:kI(this,!0);return;case 3:AI(this,!0);return;case 4:GN(this,0);return;case 5:this.Yk(1);return;case 8:pI(this,null);return;case 9:n=qz(this,null,null),n&&n.nj();return;case 10:GI(this,!0);return;case 11:JI(this,!1);return;case 12:KI(this,!1);return;case 13:this.i=null,pP(this,null);return;case 15:qI(this,!1);return;case 16:eL(this,!1);return}NI(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q.ni=function(){uk(WM((_B(),p9),this)),wz(this),this.Bb|=1},Q.ok=function(){return this.f},Q.hk=function(){return uV(this)},Q.pk=function(){return bA(this)},Q.tk=function(){return null},Q.Zk=function(){return this.k},Q.Kj=function(){return this.n},Q.uk=function(){return Lz(this)},Q.vk=function(){var e,t,n,r,i,a,o,s,c;return this.p||(n=bA(this),(n.i??uH(n),n.i).length,r=this.tk(),r&&DO(bA(r)),i=wz(this),o=i.jk(),e=o?o.i&1?o==J9?UX:o==q9?JX:o==Q9?qX:o==Z9?KX:o==Y9?YX:o==$9?XX:o==X9?WX:GX:o:null,t=uV(this),s=i.hk(),vWe(this),(this.Bb&zU)!=0&&((a=CZe((_B(),p9),n))&&a!=this||(a=UA(WM(p9,this))))?this.p=new Tce(this,a):this.Ik()?this._k()?this.p=r?(this.Bb&RY)==0?e?this.al()?new Tk(49,e,this,r):new Tk(7,e,this,r):this.al()?new Dj(48,this,r):new Dj(6,this,r):e?this.al()?new Tk(47,e,this,r):new Tk(5,e,this,r):this.al()?new Dj(46,this,r):new Dj(4,this,r):(this.Bb&RY)==0?e?e==PX?new zE(41,RWt,this):this.al()?new zE(45,e,this):new zE(3,e,this):this.al()?new Wk(44,this):new Wk(2,this):e?e==PX?new zE(50,RWt,this):this.al()?new zE(43,e,this):new zE(1,e,this):this.al()?new Wk(42,this):new Wk(0,this):N(i,159)?this.p=e==c9?new Wk(40,this):this.Bb&512?(this.Bb&RY)==0?e?new zE(11,e,this):new Wk(10,this):e?new zE(9,e,this):new Wk(8,this):(this.Bb&RY)==0?e?new zE(15,e,this):new Wk(14,this):e?new zE(13,e,this):new Wk(12,this):r?(c=r.t,this.p=c>1||c==-1?this.al()?(this.Bb&RY)==0?e?new Tk(27,e,this,r):new Dj(26,this,r):e?new Tk(25,e,this,r):new Dj(24,this,r):(this.Bb&RY)==0?e?new Tk(31,e,this,r):new Dj(30,this,r):e?new Tk(29,e,this,r):new Dj(28,this,r):this.al()?(this.Bb&RY)==0?e?new Tk(35,e,this,r):new Dj(34,this,r):e?new Tk(33,e,this,r):new Dj(32,this,r):(this.Bb&RY)==0?e?new Tk(39,e,this,r):new Dj(38,this,r):e?new Tk(37,e,this,r):new Dj(36,this,r)):this.p=this.al()?(this.Bb&RY)==0?e?new zE(19,e,this):new Wk(18,this):e?new zE(17,e,this):new Wk(16,this):(this.Bb&RY)==0?e?new zE(23,e,this):new Wk(22,this):e?new zE(21,e,this):new Wk(20,this):this.p=this.$k()?this.al()?new H_e(F(i,30),this,r):new bTe(F(i,30),this,r):N(i,159)?e==c9?new Wk(40,this):(this.Bb&RY)==0?e?new bbe(t,s,this,(YL(),o==q9?LGt:o==J9?MGt:o==Y9?RGt:o==Q9?IGt:o==Z9?FGt:o==$9?BGt:o==X9?NGt:o==K9?PGt:zGt)):new HCe(F(i,159),t,s,this):e?new xbe(t,s,this,(YL(),o==q9?LGt:o==J9?MGt:o==Y9?RGt:o==Q9?IGt:o==Z9?FGt:o==$9?BGt:o==X9?NGt:o==K9?PGt:zGt)):new UCe(F(i,159),t,s,this):this._k()?r?(this.Bb&RY)==0?this.al()?new K_e(F(i,30),this,r):new U_e(F(i,30),this,r):this.al()?new J_e(F(i,30),this,r):new q_e(F(i,30),this,r):(this.Bb&RY)==0?this.al()?new Gfe(F(i,30),this):new QT(F(i,30),this):this.al()?new Wfe(F(i,30),this):new Kfe(F(i,30),this):this.al()?r?(this.Bb&RY)==0?new W_e(F(i,30),this,r):new Y_e(F(i,30),this,r):(this.Bb&RY)==0?new qfe(F(i,30),this):new Yfe(F(i,30),this):r?(this.Bb&RY)==0?new G_e(F(i,30),this,r):new X_e(F(i,30),this,r):(this.Bb&RY)==0?new gD(F(i,30),this):new Jfe(F(i,30),this)),this.p},Q.qk=function(){return(this.Bb&$U)!=0},Q.$k=function(){return!1},Q._k=function(){return!1},Q.rk=function(){return(this.Bb&zU)!=0},Q.wk=function(){return zPe(this)},Q.al=function(){return!1},Q.sk=function(){return(this.Bb&RY)!=0},Q.bl=function(e){this.k=e},Q.si=function(e){bEe(this,e)},Q.Ib=function(){return RV(this)},Q.e=!1,Q.n=0,R(lY,`EStructuralFeatureImpl`,469),J(340,469,{110:1,95:1,94:1,38:1,158:1,200:1,57:1,182:1,69:1,115:1,488:1,54:1,101:1,340:1,162:1,469:1,298:1,119:1,120:1,704:1},z_),Q.Jh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return uT(),!!(this.Bb&256);case 3:return uT(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return uT(),!!G4e(this);case 7:return uT(),i=this.s,i>=1;case 8:return t?wz(this):this.r;case 9:return this.q;case 10:return uT(),(this.Bb&$U)!=0;case 11:return uT(),(this.Bb&RU)!=0;case 12:return uT(),(this.Bb&GW)!=0;case 13:return this.j;case 14:return uV(this);case 15:return uT(),(this.Bb&RY)!=0;case 16:return uT(),(this.Bb&zU)!=0;case 17:return bA(this);case 18:return uT(),(this.Bb&cY)!=0;case 19:return t?zze(this):aMe(this)}return EM(this,e-DO((pU(),J7)),pN((r=F(aF(this,16),30),r||J7),e),t,n)},Q.Uh=function(e){var t,n;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!(this.Bb&256);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return G4e(this);case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&HO(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&HO(this.q).i==0);case 10:return(this.Bb&$U)==0;case 11:return(this.Bb&RU)!=0;case 12:return(this.Bb&GW)!=0;case 13:return this.j!=null;case 14:return uV(this)!=null;case 15:return(this.Bb&RY)!=0;case 16:return(this.Bb&zU)!=0;case 17:return!!bA(this);case 18:return(this.Bb&cY)!=0;case 19:return!!aMe(this)}return _j(this,e-DO((pU(),J7)),pN((t=F(aF(this,16),30),t||J7),e))},Q._h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:bEe(this,aE(t));return;case 2:kI(this,gv(iE(t)));return;case 3:AI(this,gv(iE(t)));return;case 4:GN(this,F(t,14).a);return;case 5:my(this,F(t,14).a);return;case 8:pI(this,F(t,150));return;case 9:r=qz(this,F(t,89),null),r&&r.nj();return;case 10:GI(this,gv(iE(t)));return;case 11:JI(this,gv(iE(t)));return;case 12:KI(this,gv(iE(t)));return;case 13:vce(this,aE(t));return;case 15:qI(this,gv(iE(t)));return;case 16:eL(this,gv(iE(t)));return;case 18:tL(this,gv(iE(t)));return}_L(this,e-DO((pU(),J7)),pN((n=F(aF(this,16),30),n||J7),e),t)},Q.gi=function(){return pU(),J7},Q.ii=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:N(this.Cb,90)&&EB(Hj(F(this.Cb,90)),4),SP(this,null);return;case 2:kI(this,!0);return;case 3:AI(this,!0);return;case 4:GN(this,0);return;case 5:this.b=0,KN(this,1);return;case 8:pI(this,null);return;case 9:n=qz(this,null,null),n&&n.nj();return;case 10:GI(this,!0);return;case 11:JI(this,!1);return;case 12:KI(this,!1);return;case 13:this.i=null,pP(this,null);return;case 15:qI(this,!1);return;case 16:eL(this,!1);return;case 18:tL(this,!1);return}NI(this,e-DO((pU(),J7)),pN((t=F(aF(this,16),30),t||J7),e))},Q.ni=function(){zze(this),uk(WM((_B(),p9),this)),wz(this),this.Bb|=1},Q.Ik=function(){return G4e(this)},Q.Xk=function(e,t){return this.b=0,this.a=null,pUe(this,e,t)},Q.Yk=function(e){my(this,e)},Q.Ib=function(){var e;return this.Db&64?RV(this):(e=new vT(RV(this)),e.a+=` (iD: `,jy(e,(this.Bb&cY)!=0),e.a+=`)`,e.a)},Q.b=0,R(lY,`EAttributeImpl`,340),J(371,456,{110:1,95:1,94:1,150:1,158:1,200:1,57:1,115:1,54:1,101:1,371:1,162:1,119:1,120:1,703:1}),Q.cl=function(e){return e.Bh()==this},Q.yh=function(e){return AYe(this,e)},Q.zh=function(e,t){this.w=null,this.Db=t<<16|this.Db&255,this.Cb=e},Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return lz(this);case 4:return this.hk();case 5:return this.F;case 6:return t?AN(this):xA(this);case 7:return!this.A&&(this.A=new aT(W7,this,7)),this.A}return EM(this,e-DO(this.gi()),pN((r=F(aF(this,16),30),r||this.gi()),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?AYe(this,n):this.Cb.Rh(this,-1-i,null,n))),nH(this,e,6,n)}return a=F(pN((r=F(aF(this,16),30),r||this.gi()),t),69),a.vk().yk(this,sR(this),t-DO(this.gi()),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 6:return nH(this,null,6,n);case 7:return!this.A&&(this.A=new aT(W7,this,7)),UR(this.A,e,n)}return i=F(pN((r=F(aF(this,16),30),r||this.gi()),t),69),i.vk().zk(this,sR(this),t-DO(this.gi()),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!lz(this);case 4:return this.hk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!xA(this);case 7:return!!this.A&&this.A.i!=0}return _j(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:jA(this,aE(t));return;case 2:Tw(this,aE(t));return;case 5:qH(this,aE(t));return;case 7:!this.A&&(this.A=new aT(W7,this,7)),LH(this.A),!this.A&&(this.A=new aT(W7,this,7)),TO(this.A,F(t,17));return}_L(this,e-DO(this.gi()),pN((n=F(aF(this,16),30),n||this.gi()),e),t)},Q.gi=function(){return pU(),gGt},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:N(this.Cb,187)&&(F(this.Cb,187).tb=null),SP(this,null);return;case 2:eI(this,null),qN(this,this.D);return;case 5:qH(this,null);return;case 7:!this.A&&(this.A=new aT(W7,this,7)),LH(this.A);return}NI(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q.gk=function(){var e;return this.G==-1&&(this.G=(e=AN(this),e?qR(e.ti(),this):-1)),this.G},Q.hk=function(){return null},Q.ik=function(){return AN(this)},Q.dl=function(){return this.v},Q.jk=function(){return lz(this)},Q.kk=function(){return this.D==null?this.B:this.D},Q.lk=function(){return this.F},Q.ek=function(e){return Urt(this,e)},Q.el=function(e){this.v=e},Q.fl=function(e){nRe(this,e)},Q.gl=function(e){this.C=e},Q.si=function(e){jA(this,e)},Q.Ib=function(){return RL(this)},Q.C=null,Q.D=null,Q.G=-1,R(lY,`EClassifierImpl`,371),J(90,371,{110:1,95:1,94:1,30:1,150:1,158:1,200:1,57:1,115:1,54:1,101:1,90:1,371:1,162:1,489:1,119:1,120:1,703:1},cp),Q.cl=function(e){return hme(this,e.Bh())},Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return lz(this);case 4:return null;case 5:return this.F;case 6:return t?AN(this):xA(this);case 7:return!this.A&&(this.A=new aT(W7,this,7)),this.A;case 8:return uT(),!!(this.Bb&256);case 9:return uT(),!!(this.Bb&512);case 10:return Kk(this);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),this.q;case 12:return CH(this);case 13:return yH(this);case 14:return yH(this),this.r;case 15:return CH(this),this.k;case 16:return p2e(this);case 17:return Lit(this);case 18:return uH(this);case 19:return sV(this);case 20:return CH(this),this.o;case 21:return!this.s&&(this.s=new I(N7,this,21,17)),this.s;case 22:return xj(this);case 23:return met(this)}return EM(this,e-DO((pU(),Y7)),pN((r=F(aF(this,16),30),r||Y7),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?AYe(this,n):this.Cb.Rh(this,-1-i,null,n))),nH(this,e,6,n);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),BL(this.q,e,n);case 21:return!this.s&&(this.s=new I(N7,this,21,17)),BL(this.s,e,n)}return a=F(pN((r=F(aF(this,16),30),r||(pU(),Y7)),t),69),a.vk().yk(this,sR(this),t-DO((pU(),Y7)),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 6:return nH(this,null,6,n);case 7:return!this.A&&(this.A=new aT(W7,this,7)),UR(this.A,e,n);case 11:return!this.q&&(this.q=new I(B7,this,11,10)),UR(this.q,e,n);case 21:return!this.s&&(this.s=new I(N7,this,21,17)),UR(this.s,e,n);case 22:return UR(xj(this),e,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),Y7)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),Y7)),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!lz(this);case 4:return!1;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!xA(this);case 7:return!!this.A&&this.A.i!=0;case 8:return!!(this.Bb&256);case 9:return!!(this.Bb&512);case 10:return!!this.u&&xj(this.u.a).i!=0&&!(this.n&&cJe(this.n));case 11:return!!this.q&&this.q.i!=0;case 12:return CH(this).i!=0;case 13:return yH(this).i!=0;case 14:return yH(this),this.r.i!=0;case 15:return CH(this),this.k.i!=0;case 16:return p2e(this).i!=0;case 17:return Lit(this).i!=0;case 18:return uH(this).i!=0;case 19:return sV(this).i!=0;case 20:return CH(this),!!this.o;case 21:return!!this.s&&this.s.i!=0;case 22:return!!this.n&&cJe(this.n);case 23:return met(this).i!=0}return _j(this,e-DO((pU(),Y7)),pN((t=F(aF(this,16),30),t||Y7),e))},Q.Xh=function(e){return(this.i==null||this.q&&this.q.i!=0?null:gV(this,e))||Elt(this,e)},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:jA(this,aE(t));return;case 2:Tw(this,aE(t));return;case 5:qH(this,aE(t));return;case 7:!this.A&&(this.A=new aT(W7,this,7)),LH(this.A),!this.A&&(this.A=new aT(W7,this,7)),TO(this.A,F(t,17));return;case 8:wUe(this,gv(iE(t)));return;case 9:TUe(this,gv(iE(t)));return;case 10:RH(Kk(this)),TO(Kk(this),F(t,17));return;case 11:!this.q&&(this.q=new I(B7,this,11,10)),LH(this.q),!this.q&&(this.q=new I(B7,this,11,10)),TO(this.q,F(t,17));return;case 21:!this.s&&(this.s=new I(N7,this,21,17)),LH(this.s),!this.s&&(this.s=new I(N7,this,21,17)),TO(this.s,F(t,17));return;case 22:LH(xj(this)),TO(xj(this),F(t,17));return}_L(this,e-DO((pU(),Y7)),pN((n=F(aF(this,16),30),n||Y7),e),t)},Q.gi=function(){return pU(),Y7},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:N(this.Cb,187)&&(F(this.Cb,187).tb=null),SP(this,null);return;case 2:eI(this,null),qN(this,this.D);return;case 5:qH(this,null);return;case 7:!this.A&&(this.A=new aT(W7,this,7)),LH(this.A);return;case 8:wUe(this,!1);return;case 9:TUe(this,!1);return;case 10:this.u&&RH(this.u);return;case 11:!this.q&&(this.q=new I(B7,this,11,10)),LH(this.q);return;case 21:!this.s&&(this.s=new I(N7,this,21,17)),LH(this.s);return;case 22:this.n&&LH(this.n);return}NI(this,e-DO((pU(),Y7)),pN((t=F(aF(this,16),30),t||Y7),e))},Q.ni=function(){var e,t;if(CH(this),yH(this),p2e(this),Lit(this),uH(this),sV(this),met(this),Kj(M_e(Hj(this))),this.s)for(e=0,t=this.s.i;e<t;++e)DT(U(this.s,e));if(this.q)for(e=0,t=this.q.i;e<t;++e)DT(U(this.q,e));EI((_B(),p9),this).ue(),this.Bb|=1},Q.Ib=function(){return fQe(this)},Q.k=null,Q.r=null;var l9,EGt,DGt;R(lY,`EClassImpl`,90),J(2120,2119,Cbt),Q.Di=function(e,t){return Qrt(this,e,t)},Q.Ei=function(e){return Qrt(this,this.i,e)},Q.Fi=function(e,t){K3e(this,e,t)},Q.Gi=function(e){r6e(this,e)},Q.Vk=function(e,t){return BL(this,e,t)},Q.Zi=function(e){return NNe(this,e)},Q.Wk=function(e,t){return UR(this,e,t)},Q.Wi=function(e,t){return Mit(this,e,t)},Q.Hi=function(){return new NT(this)},Q.Ii=function(){return new MT(this)},Q.Ji=function(e){return nP(this,e)},R(LY,`NotifyingInternalEListImpl`,2120),J(645,2120,qY),Q.Hc=function(e){return xot(this,e)},Q.Hj=function(e,t,n,r,i){return SA(this,e,t,n,r,i)},Q.Ij=function(e){y_(this,e)},Q.Ek=function(e){return this},Q.Kk=function(){return pN(this.e.Bh(),this.Kj())},Q.Jj=function(){return this.Kk()},Q.Kj=function(){return PL(this.e.Bh(),this.Kk())},Q.hl=function(){return F(this.Kk().Gk(),30).jk()},Q.il=function(){return QR(F(this.Kk(),19)).n},Q.ij=function(){return this.e},Q.jl=function(){return!0},Q.kl=function(){return!1},Q.ll=function(){return!1},Q.ml=function(){return!1},Q.dd=function(e){return qR(this,e)},Q.Mj=function(e,t){var n=F(e,54);return this.ll()?this.jl()?n.Ph(this.e,this.il(),this.hl(),t):n.Ph(this.e,PL(n.Bh(),QR(F(this.Kk(),19))),null,t):n.Ph(this.e,-1-this.Kj(),null,t)},Q.Nj=function(e,t){var n=F(e,54);return this.ll()?this.jl()?n.Rh(this.e,this.il(),this.hl(),t):n.Rh(this.e,PL(n.Bh(),QR(F(this.Kk(),19))),null,t):n.Rh(this.e,-1-this.Kj(),null,t)},Q._k=function(){return!1},Q.nl=function(){return!0},Q.ek=function(e){return Wke(this.d,e)},Q.Oj=function(){return ww(this.e)},Q.Pj=function(){return this.i!=0},Q._i=function(e){return JN(this.d,e)},Q.Vi=function(e,t){return this.nl()&&this.ml()?UB(this,e,F(t,57)):t},Q.ol=function(e){return e.Th()?bI(this.e,F(e,54)):e},Q.Wb=function(e){bue(this,e)},Q.Pc=function(){return PNe(this)},Q.Qc=function(e){var t;if(this.ml())for(t=this.i-1;t>=0;--t)U(this,t);return xGe(this,e)},Q.Fk=function(){LH(this)},Q.Yi=function(e,t){return OIe(this,e,t)},R(LY,`EcoreEList`,645),J(510,645,qY,YE),Q.Ki=function(){return!1},Q.Kj=function(){return this.c},Q.Lj=function(){return!1},Q.nl=function(){return!0},Q.Ri=function(){return!0},Q.Vi=function(e,t){return t},Q.Xi=function(){return!1},Q.c=0,R(LY,`EObjectEList`,510),J(83,510,qY,rT),Q.Lj=function(){return!0},Q.ll=function(){return!1},Q._k=function(){return!0},R(LY,`EObjectContainmentEList`,83),J(563,83,qY,iT),Q.Mi=function(){this.b=!0},Q.Pj=function(){return this.b},Q.Fk=function(){var e;LH(this),ww(this.e)?(e=this.b,this.b=!1,XP(this.e,new Bj(this.e,2,this.c,e,!1))):this.b=!1},Q.b=!1,R(LY,`EObjectContainmentEList/Unsettable`,563),J(1171,563,qY,vbe),Q.Si=function(e,t){var n=F(WI(this,e,t),89),r;return ww(this.e)&&y_(this,new mM(this.a,7,(pU(),_Gt),K(t),(r=n.c,N(r,90)?F(r,30):t9),e)),n},Q.Tj=function(e,t){return wGe(this,F(e,89),t)},Q.Uj=function(e,t){return TGe(this,F(e,89),t)},Q.Vj=function(e,t,n){return BZe(this,F(e,89),F(t,89),n)},Q.Hj=function(e,t,n,r,i){switch(e){case 3:return SA(this,e,t,n,r,this.i>1);case 5:return SA(this,e,t,n,r,this.i-F(n,16).gc()>0);default:return new oN(this.e,e,this.c,t,n,r,!0)}},Q.Sj=function(){return!0},Q.Pj=function(){return cJe(this)},Q.Fk=function(){LH(this)},R(lY,`EClassImpl/1`,1171),J(1185,1184,$yt),Q.cj=function(e){var t,n=e.fj(),r,i,a,o,s;if(n!=8){if(r=eqe(e),r==0)switch(n){case 1:case 9:s=e.jj(),s!=null&&(t=Hj(F(s,489)),!t.c&&(t.c=new lu),tN(t.c,e.ij())),o=e.hj(),o!=null&&(i=F(o,489),i.Bb&1||(t=Hj(i),!t.c&&(t.c=new lu),vM(t.c,F(e.ij(),30))));break;case 3:o=e.hj(),o!=null&&(i=F(o,489),i.Bb&1||(t=Hj(i),!t.c&&(t.c=new lu),vM(t.c,F(e.ij(),30))));break;case 5:if(o=e.hj(),o!=null)for(a=F(o,17).Kc();a.Ob();)i=F(a.Pb(),489),i.Bb&1||(t=Hj(i),!t.c&&(t.c=new lu),vM(t.c,F(e.ij(),30)));break;case 4:s=e.jj(),s!=null&&(i=F(s,489),i.Bb&1||(t=Hj(i),!t.c&&(t.c=new lu),tN(t.c,e.ij())));break;case 6:if(s=e.jj(),s!=null)for(a=F(s,17).Kc();a.Ob();)i=F(a.Pb(),489),i.Bb&1||(t=Hj(i),!t.c&&(t.c=new lu),tN(t.c,e.ij()))}this.pl(r)}},Q.pl=function(e){Wet(this,e)},Q.b=63,R(lY,`ESuperAdapter`,1185),J(1186,1185,$yt,Ng),Q.pl=function(e){EB(this,e)},R(lY,`EClassImpl/10`,1186),J(1175,727,qY),Q.Di=function(e,t){return k$e(this,e,t)},Q.Ei=function(e){return LJe(this,e)},Q.Fi=function(e,t){DI(this,e,t)},Q.Gi=function(e){Gj(this,e)},Q.Zi=function(e){return NNe(this,e)},Q.Wi=function(e,t){return nN(this,e,t)},Q.Vk=function(e,t){throw O(new h_)},Q.Hi=function(){return new NT(this)},Q.Ii=function(){return new MT(this)},Q.Ji=function(e){return nP(this,e)},Q.Wk=function(e,t){throw O(new h_)},Q.Ek=function(e){return this},Q.Pj=function(){return this.i!=0},Q.Wb=function(e){throw O(new h_)},Q.Fk=function(){throw O(new h_)},R(LY,`EcoreEList/UnmodifiableEList`,1175),J(336,1175,qY,lw),Q.Xi=function(){return!1},R(LY,`EcoreEList/UnmodifiableEList/FastCompare`,336),J(1178,336,qY,sVe),Q.dd=function(e){var t,n,r;if(N(e,182)&&(t=F(e,182),n=t.Kj(),n!=-1)){for(r=this.i;n<r;++n)if(M(this.g[n])===M(e))return n}return-1},R(lY,`EClassImpl/1EAllStructuralFeaturesList`,1178),J(1172,511,OY,Gl),Q._i=function(e){return H(z7,wbt,89,e,0,1)},Q.Xi=function(){return!1},R(lY,`EClassImpl/1EGenericSuperTypeEList`,1172),J(646,511,OY,Kl),Q._i=function(e){return H(N7,KY,182,e,0,1)},Q.Xi=function(){return!1},R(lY,`EClassImpl/1EStructuralFeatureUniqueEList`,646),J(767,511,OY,ql),Q._i=function(e){return H(U7,KY,19,e,0,1)},Q.Xi=function(){return!1},R(lY,`EClassImpl/1ReferenceList`,767),J(1173,511,OY,Kne),Q.Li=function(e,t){Fbe(this,F(t,38))},Q._i=function(e){return H(P7,KY,38,e,0,1)},Q.Xi=function(){return!1},R(lY,`EClassImpl/2`,1173),J(1174,511,OY,Jl),Q._i=function(e){return H(P7,KY,38,e,0,1)},Q.Xi=function(){return!1},R(lY,`EClassImpl/3`,1174),J(1176,336,qY,wve),Q.Fc=function(e){return dAe(this,F(e,38))},Q.Gi=function(e){ioe(this,F(e,38))},R(lY,`EClassImpl/4`,1176),J(1177,336,qY,Tve),Q.Fc=function(e){return fAe(this,F(e,19))},Q.Gi=function(e){aoe(this,F(e,19))},R(lY,`EClassImpl/5`,1177),J(1179,511,OY,Yl),Q._i=function(e){return H(B7,Sbt,62,e,0,1)},Q.Xi=function(){return!1},R(lY,`EClassImpl/6`,1179),J(1180,511,OY,Xl),Q._i=function(e){return H(U7,KY,19,e,0,1)},Q.Xi=function(){return!1},R(lY,`EClassImpl/7`,1180),J(2123,2122,{3:1,4:1,22:1,31:1,56:1,17:1,16:1,71:1,61:1,72:1}),Q.Di=function(e,t){return Ort(this,e,t)},Q.Ei=function(e){return Ort(this,this.Dj(),e)},Q.Fi=function(e,t){i6e(this,e,t)},Q.Gi=function(e){I3e(this,e)},Q.Vk=function(e,t){return RJe(this,e,t)},Q.Wk=function(e,t){return Pqe(this,e,t)},Q.Wi=function(e,t){return krt(this,e,t)},Q.Zi=function(e){return this.wj(e)},Q.Hi=function(){return new NT(this)},Q.oj=function(){return this.rj()},Q.Ii=function(){return new MT(this)},Q.Ji=function(e){return nP(this,e)},R(LY,`DelegatingNotifyingInternalEListImpl`,2123),J(768,2123,Tbt),Q.Ki=function(){var e=pN(qk(this.b),this.Kj()).Gk();return N(e,159)&&!N(e,477)&&!(e.jk().i&1)},Q.Hc=function(e){var t,n,r,i,a,o,s,c;if(this.nl()){if(c=this.Dj(),c>4){if(this.ek(e)){if(this._k()){if(r=F(e,54),n=r.Ch(),s=n==this.b&&(this.ll()?r.wh(r.Dh(),F(pN(qk(this.b),this.Kj()).Gk(),30).jk())==QR(F(pN(qk(this.b),this.Kj()),19)).n:-1-r.Dh()==this.Kj()),this.ml()&&!s&&!n&&r.Hh()){for(i=0;i<c;++i)if(t=axe(this,this.wj(i)),M(t)===M(e))return!0}return s}if(this.ll()&&!this.kl()){if(a=F(e,57).Kh(QR(F(pN(qk(this.b),this.Kj()),19))),M(a)===M(this.b))return!0;if(a==null||!F(a,57).Th())return!1}}else return!1}if(o=this.tj(e),this.ml()&&!o){for(i=0;i<c;++i)if(r=axe(this,this.wj(i)),M(r)===M(e))return!0}return o}return this.tj(e)},Q.Hj=function(e,t,n,r,i){return new oN(this.b,e,this.Kj(),t,n,r,i)},Q.Ij=function(e){XP(this.b,e)},Q.Ek=function(e){return this},Q.Jj=function(){return pN(qk(this.b),this.Kj())},Q.Kj=function(){return PL(qk(this.b),pN(qk(this.b),this.Kj()))},Q.ij=function(){return this.b},Q.jl=function(){return!!pN(qk(this.b),this.Kj()).Gk().jk()},Q.Lj=function(){var e,t=pN(qk(this.b),this.Kj());return N(t,107)?(e=F(t,19),(e.Bb&cY)!=0||!!QR(F(t,19))):!1},Q.kl=function(){var e,t=pN(qk(this.b),this.Kj()),n,r;return N(t,107)?(e=F(t,19),n=QR(e),!!n&&(r=n.t,r>1||r==-1)):!1},Q.ll=function(){var e,t=pN(qk(this.b),this.Kj()),n;return N(t,107)?(e=F(t,19),n=QR(e),!!n):!1},Q.ml=function(){var e,t=pN(qk(this.b),this.Kj());return N(t,107)?(e=F(t,19),(e.Bb&qW)!=0):!1},Q.dd=function(e){var t,n,r=this.yj(e),i;if(r>=0)return r;if(this.nl()){for(n=0,i=this.Dj();n<i;++n)if(t=axe(this,this.wj(n)),M(t)===M(e))return n}return-1},Q.Mj=function(e,t){var n=F(e,54);return this.ll()?this.jl()?n.Ph(this.b,QR(F(pN(qk(this.b),this.Kj()),19)).n,F(pN(qk(this.b),this.Kj()).Gk(),30).jk(),t):n.Ph(this.b,PL(n.Bh(),QR(F(pN(qk(this.b),this.Kj()),19))),null,t):n.Ph(this.b,-1-this.Kj(),null,t)},Q.Nj=function(e,t){var n=F(e,54);return this.ll()?this.jl()?n.Rh(this.b,QR(F(pN(qk(this.b),this.Kj()),19)).n,F(pN(qk(this.b),this.Kj()).Gk(),30).jk(),t):n.Rh(this.b,PL(n.Bh(),QR(F(pN(qk(this.b),this.Kj()),19))),null,t):n.Rh(this.b,-1-this.Kj(),null,t)},Q._k=function(){var e,t=pN(qk(this.b),this.Kj());return N(t,107)?(e=F(t,19),(e.Bb&cY)!=0):!1},Q.nl=function(){return N(pN(qk(this.b),this.Kj()).Gk(),90)},Q.ek=function(e){return pN(qk(this.b),this.Kj()).Gk().ek(e)},Q.Oj=function(){return ww(this.b)},Q.Pj=function(){return!this.zj()},Q.Ri=function(){return pN(qk(this.b),this.Kj()).Ri()},Q.Vi=function(e,t){return WH(this,e,t)},Q.Wb=function(e){RH(this),TO(this,F(e,16))},Q.Pc=function(){var e;if(this.ml())for(e=this.Dj()-1;e>=0;--e)WH(this,e,this.wj(e));return this.Ej()},Q.Qc=function(e){var t;if(this.ml())for(t=this.Dj()-1;t>=0;--t)WH(this,t,this.wj(t));return this.Fj(e)},Q.Fk=function(){RH(this)},Q.Yi=function(e,t){return FNe(this,e,t)},R(LY,`DelegatingEcoreEList`,768),J(1181,768,Tbt,Ipe),Q.pj=function(e,t){Nfe(this,e,F(t,30))},Q.qj=function(e){Ule(this,F(e,30))},Q.wj=function(e){var t=F(U(xj(this.a),e),89).c;return N(t,90)?F(t,30):(pU(),t9)},Q.Bj=function(e){var t=F(kV(xj(this.a),e),89).c;return N(t,90)?F(t,30):(pU(),t9)},Q.Cj=function(e,t){return zJe(this,e,F(t,30))},Q.Ki=function(){return!1},Q.Hj=function(e,t,n,r,i){return null},Q.rj=function(){return new Pg(this)},Q.sj=function(){LH(xj(this.a))},Q.tj=function(e){return DUe(this,e)},Q.uj=function(e){for(var t,n=e.Kc();n.Ob();)if(t=n.Pb(),!DUe(this,t))return!1;return!0},Q.vj=function(e){var t,n,r;if(N(e,16)&&(r=F(e,16),r.gc()==xj(this.a).i)){for(t=r.Kc(),n=new cT(this);t.Ob();)if(M(t.Pb())!==M(AR(n)))return!1;return!0}return!1},Q.xj=function(){var e,t,n=1,r,i;for(t=new cT(xj(this.a));t.e!=t.i.gc();)e=F(AR(t),89),r=(i=e.c,N(i,90)?F(i,30):(pU(),t9)),n=31*n+(r?wT(r):0);return n},Q.yj=function(e){var t,n,r=0,i;for(n=new cT(xj(this.a));n.e!=n.i.gc();){if(t=F(AR(n),89),M(e)===M((i=t.c,N(i,90)?F(i,30):(pU(),t9))))return r;++r}return-1},Q.zj=function(){return xj(this.a).i==0},Q.Aj=function(){return null},Q.Dj=function(){return xj(this.a).i},Q.Ej=function(){var e,t,n,r,i,a=xj(this.a).i;for(i=H(AX,wU,1,a,5,1),n=0,t=new cT(xj(this.a));t.e!=t.i.gc();)e=F(AR(t),89),i[n++]=(r=e.c,N(r,90)?F(r,30):(pU(),t9));return i},Q.Fj=function(e){var t,n,r,i,a,o,s=xj(this.a).i;for(e.length<s&&(i=JN(JF(e).c,s),e=i),e.length>s&&NO(e,s,null),r=0,n=new cT(xj(this.a));n.e!=n.i.gc();)t=F(AR(n),89),a=(o=t.c,N(o,90)?F(o,30):(pU(),t9)),NO(e,r++,a);return e},Q.Gj=function(){var e,t,n,r,i=new Lv;for(i.a+=`[`,e=xj(this.a),t=0,r=xj(this.a).i;t<r;)$C(i,dT((n=F(U(e,t),89).c,N(n,90)?F(n,30):(pU(),t9)))),++t<r&&(i.a+=CU);return i.a+=`]`,i.a},Q.Ij=function(e){},Q.Kj=function(){return 10},Q.jl=function(){return!0},Q.Lj=function(){return!1},Q.kl=function(){return!1},Q.ll=function(){return!1},Q.ml=function(){return!0},Q._k=function(){return!1},Q.nl=function(){return!0},Q.ek=function(e){return N(e,90)},Q.Pj=function(){return cOe(this.a)},Q.Ri=function(){return!0},Q.Xi=function(){return!0},R(lY,`EClassImpl/8`,1181),J(1182,2091,tW,Pg),Q.fd=function(e){return nP(this.a,e)},Q.gc=function(){return xj(this.a.a).i},R(lY,`EClassImpl/8/1`,1182),J(1183,511,OY,Zl),Q._i=function(e){return H(F7,wU,150,e,0,1)},Q.Xi=function(){return!1},R(lY,`EClassImpl/9`,1183),J(1170,47,dft,Jre),R(lY,`EClassImpl/MyHashSet`,1170),J(585,371,{110:1,95:1,94:1,150:1,159:1,859:1,158:1,200:1,57:1,115:1,54:1,101:1,371:1,162:1,119:1,120:1,703:1},k_),Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return lz(this);case 4:return this.hk();case 5:return this.F;case 6:return t?AN(this):xA(this);case 7:return!this.A&&(this.A=new aT(W7,this,7)),this.A;case 8:return uT(),!!(this.Bb&256)}return EM(this,e-DO(this.gi()),pN((r=F(aF(this,16),30),r||this.gi()),e),t,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!lz(this);case 4:return this.hk()!=null;case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!xA(this);case 7:return!!this.A&&this.A.i!=0;case 8:return!(this.Bb&256)}return _j(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:jA(this,aE(t));return;case 2:Tw(this,aE(t));return;case 5:qH(this,aE(t));return;case 7:!this.A&&(this.A=new aT(W7,this,7)),LH(this.A),!this.A&&(this.A=new aT(W7,this,7)),TO(this.A,F(t,17));return;case 8:jI(this,gv(iE(t)));return}_L(this,e-DO(this.gi()),pN((n=F(aF(this,16),30),n||this.gi()),e),t)},Q.gi=function(){return pU(),vGt},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:N(this.Cb,187)&&(F(this.Cb,187).tb=null),SP(this,null);return;case 2:eI(this,null),qN(this,this.D);return;case 5:qH(this,null);return;case 7:!this.A&&(this.A=new aT(W7,this,7)),LH(this.A);return;case 8:jI(this,!0);return}NI(this,e-DO(this.gi()),pN((t=F(aF(this,16),30),t||this.gi()),e))},Q.ni=function(){EI((_B(),p9),this).ue(),this.Bb|=1},Q.nk=function(){var e,t,n;if(!this.c&&(e=E8e(AN(this)),!e.dc()))for(n=e.Kc();n.Ob();)t=aE(n.Pb()),rH(this,t)&&YUe(this);return this.b},Q.hk=function(){var e;if(!this.e){e=null;try{e=lz(this)}catch(e){if(e=xF(e),!N(e,102))throw O(e)}this.d=null,e&&e.i&1&&(this.d=e==J9?(uT(),VX):e==q9?K(0):e==Q9?new Hm(0):e==Z9?0:e==Y9?uR(0):e==$9?SI(0):e==X9?KM(0):sF(0)),this.e=!0}return this.d},Q.mk=function(){return!!(this.Bb&256)},Q.ql=function(e){e&&(this.D=`org.eclipse.emf.common.util.AbstractEnumerator`)},Q.fl=function(e){nRe(this,e),this.ql(e)},Q.gl=function(e){this.C=e,this.e=!1},Q.Ib=function(){var e;return this.Db&64?RL(this):(e=new vT(RL(this)),e.a+=` (serializable: `,jy(e,!!(this.Bb&256)),e.a+=`)`,e.a)},Q.c=!1,Q.d=null,Q.e=!1,R(lY,`EDataTypeImpl`,585),J(477,585,{110:1,95:1,94:1,150:1,159:1,859:1,698:1,158:1,200:1,57:1,115:1,54:1,101:1,371:1,477:1,162:1,119:1,120:1,703:1},Yre),Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.D==null?this.B:this.D;case 3:return lz(this);case 4:return QVe(this);case 5:return this.F;case 6:return t?AN(this):xA(this);case 7:return!this.A&&(this.A=new aT(W7,this,7)),this.A;case 8:return uT(),!!(this.Bb&256);case 9:return!this.a&&(this.a=new I(R7,this,9,5)),this.a}return EM(this,e-DO((pU(),X7)),pN((r=F(aF(this,16),30),r||X7),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 6:return this.Cb&&(n=(i=this.Db>>16,i>=0?AYe(this,n):this.Cb.Rh(this,-1-i,null,n))),nH(this,e,6,n);case 9:return!this.a&&(this.a=new I(R7,this,9,5)),BL(this.a,e,n)}return a=F(pN((r=F(aF(this,16),30),r||(pU(),X7)),t),69),a.vk().yk(this,sR(this),t-DO((pU(),X7)),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 6:return nH(this,null,6,n);case 7:return!this.A&&(this.A=new aT(W7,this,7)),UR(this.A,e,n);case 9:return!this.a&&(this.a=new I(R7,this,9,5)),UR(this.a,e,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),X7)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),X7)),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.D!=null&&this.D==this.F;case 3:return!!lz(this);case 4:return!!QVe(this);case 5:return this.F!=null&&this.F!=this.D&&this.F!=this.B;case 6:return!!xA(this);case 7:return!!this.A&&this.A.i!=0;case 8:return!(this.Bb&256);case 9:return!!this.a&&this.a.i!=0}return _j(this,e-DO((pU(),X7)),pN((t=F(aF(this,16),30),t||X7),e))},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:jA(this,aE(t));return;case 2:Tw(this,aE(t));return;case 5:qH(this,aE(t));return;case 7:!this.A&&(this.A=new aT(W7,this,7)),LH(this.A),!this.A&&(this.A=new aT(W7,this,7)),TO(this.A,F(t,17));return;case 8:jI(this,gv(iE(t)));return;case 9:!this.a&&(this.a=new I(R7,this,9,5)),LH(this.a),!this.a&&(this.a=new I(R7,this,9,5)),TO(this.a,F(t,17));return}_L(this,e-DO((pU(),X7)),pN((n=F(aF(this,16),30),n||X7),e),t)},Q.gi=function(){return pU(),X7},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:N(this.Cb,187)&&(F(this.Cb,187).tb=null),SP(this,null);return;case 2:eI(this,null),qN(this,this.D);return;case 5:qH(this,null);return;case 7:!this.A&&(this.A=new aT(W7,this,7)),LH(this.A);return;case 8:jI(this,!0);return;case 9:!this.a&&(this.a=new I(R7,this,9,5)),LH(this.a);return}NI(this,e-DO((pU(),X7)),pN((t=F(aF(this,16),30),t||X7),e))},Q.ni=function(){var e,t;if(this.a)for(e=0,t=this.a.i;e<t;++e)DT(U(this.a,e));EI((_B(),p9),this).ue(),this.Bb|=1},Q.hk=function(){return QVe(this)},Q.ek=function(e){return e!=null},Q.ql=function(e){},R(lY,`EEnumImpl`,477),J(590,456,{110:1,95:1,94:1,2069:1,706:1,158:1,200:1,57:1,115:1,54:1,101:1,590:1,162:1,119:1,120:1},Qne),Q.ue=function(){return this.zb},Q.yh=function(e){return CXe(this,e)},Q.Jh=function(e,t,n){var r,i;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return K(this.d);case 3:return this.b?this.b:this.a;case 4:return i=this.c,i??this.zb;case 5:return this.Db>>16==5?F(this.Cb,698):null}return EM(this,e-DO((pU(),Z7)),pN((r=F(aF(this,16),30),r||Z7),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 5:return this.Cb&&(n=(i=this.Db>>16,i>=0?CXe(this,n):this.Cb.Rh(this,-1-i,null,n))),nH(this,e,5,n)}return a=F(pN((r=F(aF(this,16),30),r||(pU(),Z7)),t),69),a.vk().yk(this,sR(this),t-DO((pU(),Z7)),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 5:return nH(this,null,5,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),Z7)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),Z7)),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return this.d!=0;case 3:return!!this.b;case 4:return this.c!=null;case 5:return!!(this.Db>>16==5&&F(this.Cb,698))}return _j(this,e-DO((pU(),Z7)),pN((t=F(aF(this,16),30),t||Z7),e))},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:SP(this,aE(t));return;case 2:bIe(this,F(t,14).a);return;case 3:S3e(this,F(t,2069));return;case 4:dLe(this,aE(t));return}_L(this,e-DO((pU(),Z7)),pN((n=F(aF(this,16),30),n||Z7),e),t)},Q.gi=function(){return pU(),Z7},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:SP(this,null);return;case 2:bIe(this,0);return;case 3:S3e(this,null);return;case 4:dLe(this,null);return}NI(this,e-DO((pU(),Z7)),pN((t=F(aF(this,16),30),t||Z7),e))},Q.Ib=function(){return this.c??this.zb},Q.b=null,Q.c=null,Q.d=0,R(lY,`EEnumLiteralImpl`,590);var OGt=oD(lY,`EFactoryImpl/InternalEDateTimeFormat`);J(505,1,{2142:1},Fg),R(lY,`EFactoryImpl/1ClientInternalEDateTimeFormat`,505),J(250,120,{110:1,95:1,94:1,89:1,57:1,115:1,54:1,101:1,250:1,119:1,120:1},t_),Q.Ah=function(e,t,n){var r;return n=nH(this,e,t,n),this.e&&N(e,182)&&(r=oV(this,this.e),r!=this.c&&(n=KH(this,r,n))),n},Q.Jh=function(e,t,n){var r;switch(e){case 0:return this.f;case 1:return!this.d&&(this.d=new rT(z7,this,1)),this.d;case 2:return t?oH(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return t?gJe(this):this.a}return EM(this,e-DO((pU(),$7)),pN((r=F(aF(this,16),30),r||$7),e),t,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return HHe(this,null,n);case 1:return!this.d&&(this.d=new rT(z7,this,1)),UR(this.d,e,n);case 3:return VHe(this,null,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),$7)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),$7)),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.f;case 1:return!!this.d&&this.d.i!=0;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return _j(this,e-DO((pU(),$7)),pN((t=F(aF(this,16),30),t||$7),e))},Q._h=function(e,t){var n;switch(e){case 0:gQe(this,F(t,89));return;case 1:!this.d&&(this.d=new rT(z7,this,1)),LH(this.d),!this.d&&(this.d=new rT(z7,this,1)),TO(this.d,F(t,17));return;case 3:hQe(this,F(t,89));return;case 4:h1e(this,F(t,861));return;case 5:NN(this,F(t,150));return}_L(this,e-DO((pU(),$7)),pN((n=F(aF(this,16),30),n||$7),e),t)},Q.gi=function(){return pU(),$7},Q.ii=function(e){var t;switch(e){case 0:gQe(this,null);return;case 1:!this.d&&(this.d=new rT(z7,this,1)),LH(this.d);return;case 3:hQe(this,null);return;case 4:h1e(this,null);return;case 5:NN(this,null);return}NI(this,e-DO((pU(),$7)),pN((t=F(aF(this,16),30),t||$7),e))},Q.Ib=function(){var e=new yT(XB(this));return e.a+=` (expression: `,Hat(this,e),e.a+=`)`,e.a};var kGt;R(lY,`EGenericTypeImpl`,250),J(2095,2091,ZY),Q.Fi=function(e,t){Ape(this,e,t)},Q.Vk=function(e,t){return Ape(this,this.gc(),e),t},Q.Zi=function(e){return LR(this.oj(),e)},Q.Hi=function(){return this.Ii()},Q.oj=function(){return new Jne(this)},Q.Ii=function(){return this.Ji(0)},Q.Ji=function(e){return this.oj().fd(e)},Q.Wk=function(e,t){return ML(this,e,!0),t},Q.Si=function(e,t){var n,r=dXe(this,t);return n=this.fd(e),n.Rb(r),r},Q.Ti=function(e,t){var n;ML(this,t,!0),n=this.fd(e),n.Rb(t)},R(LY,`AbstractSequentialInternalEList`,2095),J(502,2095,ZY,AT),Q.Zi=function(e){return LR(this.oj(),e)},Q.Hi=function(){return this.b==null?(ox(),ox(),u9):this.rl()},Q.oj=function(){return new Qce(this.a,this.b)},Q.Ii=function(){return this.b==null?(ox(),ox(),u9):this.rl()},Q.Ji=function(e){var t,n;if(this.b==null){if(e<0||e>1)throw O(new ov(IY+e+`, size=0`));return ox(),ox(),u9}for(n=this.rl(),t=0;t<e;++t)oF(n);return n},Q.dc=function(){var e,t,n,r,i,a;if(this.b!=null){for(n=0;n<this.b.length;++n)if(e=this.b[n],!this.ul()||this.a.Vh(e)){if(a=this.a.Lh(e,!1),cx(),F(e,69).wk()){for(t=F(a,163),r=0,i=t.gc();r<i;++r)if(ySe(t.Sl(r))&&t.Tl(r)!=null)return!1}else if(e.Ik()){if(!F(a,17).dc())return!1}else if(a!=null)return!1}}return!0},Q.Kc=function(){return ILe(this)},Q.fd=function(e){var t,n;if(this.b==null){if(e!=0)throw O(new ov(IY+e+`, size=0`));return ox(),ox(),u9}for(n=this.tl()?this.sl():this.rl(),t=0;t<e;++t)oF(n);return n},Q.Si=function(e,t){throw O(new h_)},Q.Ti=function(e,t){throw O(new h_)},Q.rl=function(){return new kT(this.a,this.b)},Q.sl=function(){return new Ffe(this.a,this.b)},Q.tl=function(){return!0},Q.gc=function(){var e,t,n,r,i=0,a,o;if(this.b!=null){for(n=0;n<this.b.length;++n)if(e=this.b[n],!this.ul()||this.a.Vh(e)){if(o=this.a.Lh(e,!1),cx(),F(e,69).wk())for(t=F(o,163),r=0,a=t.gc();r<a;++r)ySe(t.Sl(r))&&t.Tl(r)!=null&&++i;else e.Ik()?i+=F(o,17).gc():o!=null&&++i}}return i},Q.ul=function(){return!0};var AGt;R(LY,`EContentsEList`,502),J(1187,502,ZY,Pfe),Q.rl=function(){return new Lfe(this.a,this.b)},Q.sl=function(){return new Ife(this.a,this.b)},Q.ul=function(){return!1},R(lY,`ENamedElementImpl/1`,1187),J(293,1,QY,kT),Q.Nb=function(e){sO(this,e)},Q.Rb=function(e){throw O(new h_)},Q.vl=function(e){if(this.g!=0||this.e)throw O(new uv(`Iterator already in use or already filtered`));this.e=e},Q.Ob=function(){var e,t,n,r,i,a;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(!this.k||(this.p?!q0e(this,this.p):!D3e(this))){for(;this.d<this.c.length;)if(t=this.c[this.d++],(!this.e||t.ok()!=$5||t.Kj()!=0)&&(!this.ul()||this.b.Vh(t))){if(a=this.b.Lh(t,this.tl()),this.f=(cx(),F(t,69).wk()),this.f||t.Ik()){if(this.tl()?(r=F(a,16),this.k=r):(r=F(a,72),this.k=this.j=r),N(this.k,59)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Ii():this.k.ed(),this.p?q0e(this,this.p):D3e(this))return i=this.p?this.p.Pb():this.j?this.j.Zi(this.n++):this.k.Xb(this.n++),this.f?(e=F(i,77),e.Kk(),n=e.md(),this.i=n):(n=i,this.i=n),this.g=3,!0}else if(a!=null)return this.k=null,this.p=null,n=a,this.i=n,this.g=2,!0}return this.k=null,this.p=null,this.f=!1,this.g=1,!1}return i=this.p?this.p.Pb():this.j?this.j.Zi(this.n++):this.k.Xb(this.n++),this.f?(e=F(i,77),e.Kk(),n=e.md(),this.i=n):(n=i,this.i=n),this.g=3,!0}},Q.Sb=function(){var e,t,n,r,i,a;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(!this.k||(this.p?!J0e(this,this.p):!F2e(this))){for(;this.d>0;)if(t=this.c[--this.d],(!this.e||t.ok()!=$5||t.Kj()!=0)&&(!this.ul()||this.b.Vh(t))){if(a=this.b.Lh(t,this.tl()),this.f=(cx(),F(t,69).wk()),this.f||t.Ik()){if(this.tl()?(r=F(a,16),this.k=r):(r=F(a,72),this.k=this.j=r),N(this.k,59)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Ji(this.k.gc()):this.k.fd(this.k.gc()),this.p?J0e(this,this.p):F2e(this))return i=this.p?this.p.Ub():this.j?this.j.Zi(--this.n):this.k.Xb(--this.n),this.f?(e=F(i,77),e.Kk(),n=e.md(),this.i=n):(n=i,this.i=n),this.g=-3,!0}else if(a!=null)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0}return this.k=null,this.p=null,this.g=-1,!1}return i=this.p?this.p.Ub():this.j?this.j.Zi(--this.n):this.k.Xb(--this.n),this.f?(e=F(i,77),e.Kk(),n=e.md(),this.i=n):(n=i,this.i=n),this.g=-3,!0}},Q.Pb=function(){return oF(this)},Q.Tb=function(){return this.a},Q.Ub=function(){var e;if(this.g<-1||this.Sb())return--this.a,this.g=0,e=this.i,this.Sb(),e;throw O(new __)},Q.Vb=function(){return this.a-1},Q.Qb=function(){throw O(new h_)},Q.tl=function(){return!1},Q.Wb=function(e){throw O(new h_)},Q.ul=function(){return!0},Q.a=0,Q.d=0,Q.f=!1,Q.g=0,Q.n=0,Q.o=0;var u9;R(LY,`EContentsEList/FeatureIteratorImpl`,293),J(728,293,QY,Ffe),Q.tl=function(){return!0},R(LY,`EContentsEList/ResolvingFeatureIteratorImpl`,728),J(1188,728,QY,Ife),Q.ul=function(){return!1},R(lY,`ENamedElementImpl/1/1`,1188),J(1189,293,QY,Lfe),Q.ul=function(){return!1},R(lY,`ENamedElementImpl/1/2`,1189),J(41,155,FY,Ej,gAe,ZD,_Ne,oN,Bj,CIe,WDe,wIe,GDe,_je,KDe,DIe,qDe,vje,JDe,TIe,YDe,QD,mM,zk,EIe,XDe,yje,ZDe),Q.Jj=function(){return xNe(this)},Q.Qj=function(){var e=xNe(this);return e?e.hk():null},Q.gj=function(e){return this.b==-1&&this.a&&(this.b=this.c.Fh(this.a.Kj(),this.a.ok())),this.c.wh(this.b,e)},Q.ij=function(){return this.c},Q.Rj=function(){var e=xNe(this);return e?e.sk():!1},Q.b=-1,R(lY,`ENotificationImpl`,41),J(418,298,{110:1,95:1,94:1,158:1,200:1,57:1,62:1,115:1,488:1,54:1,101:1,162:1,418:1,298:1,119:1,120:1},B_),Q.yh=function(e){return HXe(this,e)},Q.Jh=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return uT(),!!(this.Bb&256);case 3:return uT(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return uT(),a=this.t,a>1||a==-1;case 7:return uT(),i=this.s,i>=1;case 8:return t?wz(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?F(this.Cb,30):null;case 11:return!this.d&&(this.d=new aT(W7,this,11)),this.d;case 12:return!this.c&&(this.c=new I(H7,this,12,10)),this.c;case 13:return!this.a&&(this.a=new lE(this,this)),this.a;case 14:return HM(this)}return EM(this,e-DO((pU(),n9)),pN((r=F(aF(this,16),30),r||n9),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?HXe(this,n):this.Cb.Rh(this,-1-i,null,n))),nH(this,e,10,n);case 12:return!this.c&&(this.c=new I(H7,this,12,10)),BL(this.c,e,n)}return a=F(pN((r=F(aF(this,16),30),r||(pU(),n9)),t),69),a.vk().yk(this,sR(this),t-DO((pU(),n9)),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 9:return EO(this,n);case 10:return nH(this,null,10,n);case 11:return!this.d&&(this.d=new aT(W7,this,11)),UR(this.d,e,n);case 12:return!this.c&&(this.c=new I(H7,this,12,10)),UR(this.c,e,n);case 14:return UR(HM(this),e,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),n9)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),n9)),e,n)},Q.Uh=function(e){var t,n,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!(this.Bb&256);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&HO(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&HO(this.q).i==0);case 10:return!!(this.Db>>16==10&&F(this.Cb,30));case 11:return!!this.d&&this.d.i!=0;case 12:return!!this.c&&this.c.i!=0;case 13:return!!this.a&&HM(this.a.a).i!=0&&!(this.b&&lJe(this.b));case 14:return!!this.b&&lJe(this.b)}return _j(this,e-DO((pU(),n9)),pN((t=F(aF(this,16),30),t||n9),e))},Q._h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:SP(this,aE(t));return;case 2:kI(this,gv(iE(t)));return;case 3:AI(this,gv(iE(t)));return;case 4:GN(this,F(t,14).a);return;case 5:KN(this,F(t,14).a);return;case 8:pI(this,F(t,150));return;case 9:r=qz(this,F(t,89),null),r&&r.nj();return;case 11:!this.d&&(this.d=new aT(W7,this,11)),LH(this.d),!this.d&&(this.d=new aT(W7,this,11)),TO(this.d,F(t,17));return;case 12:!this.c&&(this.c=new I(H7,this,12,10)),LH(this.c),!this.c&&(this.c=new I(H7,this,12,10)),TO(this.c,F(t,17));return;case 13:!this.a&&(this.a=new lE(this,this)),RH(this.a),!this.a&&(this.a=new lE(this,this)),TO(this.a,F(t,17));return;case 14:LH(HM(this)),TO(HM(this),F(t,17));return}_L(this,e-DO((pU(),n9)),pN((n=F(aF(this,16),30),n||n9),e),t)},Q.gi=function(){return pU(),n9},Q.ii=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:SP(this,null);return;case 2:kI(this,!0);return;case 3:AI(this,!0);return;case 4:GN(this,0);return;case 5:KN(this,1);return;case 8:pI(this,null);return;case 9:n=qz(this,null,null),n&&n.nj();return;case 11:!this.d&&(this.d=new aT(W7,this,11)),LH(this.d);return;case 12:!this.c&&(this.c=new I(H7,this,12,10)),LH(this.c);return;case 13:this.a&&RH(this.a);return;case 14:this.b&&LH(this.b);return}NI(this,e-DO((pU(),n9)),pN((t=F(aF(this,16),30),t||n9),e))},Q.ni=function(){var e,t;if(this.c)for(e=0,t=this.c.i;e<t;++e)DT(U(this.c,e));wz(this),this.Bb|=1},R(lY,`EOperationImpl`,418),J(519,768,Tbt,lE),Q.pj=function(e,t){$fe(this,e,F(t,150))},Q.qj=function(e){Wle(this,F(e,150))},Q.wj=function(e){return F(U(HM(this.a),e),89).c||(pU(),e9)},Q.Bj=function(e){return F(kV(HM(this.a),e),89).c||(pU(),e9)},Q.Cj=function(e,t){return CKe(this,e,F(t,150))},Q.Ki=function(){return!1},Q.Hj=function(e,t,n,r,i){return null},Q.rj=function(){return new Ig(this)},Q.sj=function(){LH(HM(this.a))},Q.tj=function(e){return MUe(this,e)},Q.uj=function(e){for(var t,n=e.Kc();n.Ob();)if(t=n.Pb(),!MUe(this,t))return!1;return!0},Q.vj=function(e){var t,n,r;if(N(e,16)&&(r=F(e,16),r.gc()==HM(this.a).i)){for(t=r.Kc(),n=new cT(this);t.Ob();)if(M(t.Pb())!==M(AR(n)))return!1;return!0}return!1},Q.xj=function(){var e,t,n=1,r,i;for(t=new cT(HM(this.a));t.e!=t.i.gc();)e=F(AR(t),89),r=(i=e.c,i||(pU(),e9)),n=31*n+(r?VF(r):0);return n},Q.yj=function(e){var t,n,r=0,i;for(n=new cT(HM(this.a));n.e!=n.i.gc();){if(t=F(AR(n),89),M(e)===M((i=t.c,i||(pU(),e9))))return r;++r}return-1},Q.zj=function(){return HM(this.a).i==0},Q.Aj=function(){return null},Q.Dj=function(){return HM(this.a).i},Q.Ej=function(){var e,t,n,r,i,a=HM(this.a).i;for(i=H(AX,wU,1,a,5,1),n=0,t=new cT(HM(this.a));t.e!=t.i.gc();)e=F(AR(t),89),i[n++]=(r=e.c,r||(pU(),e9));return i},Q.Fj=function(e){var t,n,r,i,a,o,s=HM(this.a).i;for(e.length<s&&(i=JN(JF(e).c,s),e=i),e.length>s&&NO(e,s,null),r=0,n=new cT(HM(this.a));n.e!=n.i.gc();)t=F(AR(n),89),a=(o=t.c,o||(pU(),e9)),NO(e,r++,a);return e},Q.Gj=function(){var e,t,n,r,i=new Lv;for(i.a+=`[`,e=HM(this.a),t=0,r=HM(this.a).i;t<r;)$C(i,dT((n=F(U(e,t),89).c,n||(pU(),e9)))),++t<r&&(i.a+=CU);return i.a+=`]`,i.a},Q.Ij=function(e){},Q.Kj=function(){return 13},Q.jl=function(){return!0},Q.Lj=function(){return!1},Q.kl=function(){return!1},Q.ll=function(){return!1},Q.ml=function(){return!0},Q._k=function(){return!1},Q.nl=function(){return!0},Q.ek=function(e){return N(e,150)},Q.Pj=function(){return sOe(this.a)},Q.Ri=function(){return!0},Q.Xi=function(){return!0},R(lY,`EOperationImpl/1`,519),J(1396,2091,tW,Ig),Q.fd=function(e){return nP(this.a,e)},Q.gc=function(){return HM(this.a.a).i},R(lY,`EOperationImpl/1/1`,1396),J(1397,563,qY,ybe),Q.Si=function(e,t){var n=F(WI(this,e,t),89),r;return ww(this.e)&&y_(this,new mM(this.a,7,(pU(),xGt),K(t),(r=n.c,r||e9),e)),n},Q.Tj=function(e,t){return hUe(this,F(e,89),t)},Q.Uj=function(e,t){return mUe(this,F(e,89),t)},Q.Vj=function(e,t,n){return YKe(this,F(e,89),F(t,89),n)},Q.Hj=function(e,t,n,r,i){switch(e){case 3:return SA(this,e,t,n,r,this.i>1);case 5:return SA(this,e,t,n,r,this.i-F(n,16).gc()>0);default:return new oN(this.e,e,this.c,t,n,r,!0)}},Q.Sj=function(){return!0},Q.Pj=function(){return lJe(this)},Q.Fk=function(){LH(this)},R(lY,`EOperationImpl/2`,1397),J(512,1,{2067:1,512:1},Cce),R(lY,`EPackageImpl/1`,512),J(15,83,qY,I),Q.hl=function(){return this.d},Q.il=function(){return this.b},Q.ll=function(){return!0},Q.b=0,R(LY,`EObjectContainmentWithInverseEList`,15),J(372,15,qY,vE),Q.ml=function(){return!0},Q.Vi=function(e,t){return UB(this,e,F(t,57))},R(LY,`EObjectContainmentWithInverseEList/Resolving`,372),J(316,372,qY,XD),Q.Mi=function(){this.a.tb=null},R(lY,`EPackageImpl/2`,316),J(1288,1,{},Ql),R(lY,`EPackageImpl/3`,1288),J(749,44,eG,Xre),Q._b=function(e){return JC(e)?e==null?!!DD(this.f,null):$ye(this.i,e):!!DD(this.f,e)},R(lY,`EPackageRegistryImpl`,749),J(523,298,{110:1,95:1,94:1,158:1,200:1,57:1,2145:1,115:1,488:1,54:1,101:1,162:1,523:1,298:1,119:1,120:1},V_),Q.yh=function(e){return UXe(this,e)},Q.Jh=function(e,t,n){var r,i,a;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return uT(),!!(this.Bb&256);case 3:return uT(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return uT(),a=this.t,a>1||a==-1;case 7:return uT(),i=this.s,i>=1;case 8:return t?wz(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?F(this.Cb,62):null}return EM(this,e-DO((pU(),i9)),pN((r=F(aF(this,16),30),r||i9),e),t,n)},Q.Qh=function(e,t,n){var r,i,a;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),BL(this.Ab,e,n);case 10:return this.Cb&&(n=(i=this.Db>>16,i>=0?UXe(this,n):this.Cb.Rh(this,-1-i,null,n))),nH(this,e,10,n)}return a=F(pN((r=F(aF(this,16),30),r||(pU(),i9)),t),69),a.vk().yk(this,sR(this),t-DO((pU(),i9)),e,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 9:return EO(this,n);case 10:return nH(this,null,10,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),i9)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),i9)),e,n)},Q.Uh=function(e){var t,n,r;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!(this.Bb&256);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return r=this.t,r>1||r==-1;case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&HO(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&HO(this.q).i==0);case 10:return!!(this.Db>>16==10&&F(this.Cb,62))}return _j(this,e-DO((pU(),i9)),pN((t=F(aF(this,16),30),t||i9),e))},Q.gi=function(){return pU(),i9},R(lY,`EParameterImpl`,523),J(107,469,{110:1,95:1,94:1,158:1,200:1,57:1,19:1,182:1,69:1,115:1,488:1,54:1,101:1,162:1,107:1,469:1,298:1,119:1,120:1,704:1},Ufe),Q.Jh=function(e,t,n){var r,i,a,o;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return uT(),!!(this.Bb&256);case 3:return uT(),!!(this.Bb&512);case 4:return K(this.s);case 5:return K(this.t);case 6:return uT(),o=this.t,o>1||o==-1;case 7:return uT(),i=this.s,i>=1;case 8:return t?wz(this):this.r;case 9:return this.q;case 10:return uT(),(this.Bb&$U)!=0;case 11:return uT(),(this.Bb&RU)!=0;case 12:return uT(),(this.Bb&GW)!=0;case 13:return this.j;case 14:return uV(this);case 15:return uT(),(this.Bb&RY)!=0;case 16:return uT(),(this.Bb&zU)!=0;case 17:return bA(this);case 18:return uT(),(this.Bb&cY)!=0;case 19:return uT(),a=QR(this),!!(a&&(a.Bb&cY)!=0);case 20:return uT(),(this.Bb&qW)!=0;case 21:return t?QR(this):this.b;case 22:return t?jBe(this):Sje(this);case 23:return!this.a&&(this.a=new oT(P7,this,23)),this.a}return EM(this,e-DO((pU(),a9)),pN((r=F(aF(this,16),30),r||a9),e),t,n)},Q.Uh=function(e){var t,n,r,i;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!(this.Bb&256);case 3:return!(this.Bb&512);case 4:return this.s!=0;case 5:return this.t!=1;case 6:return i=this.t,i>1||i==-1;case 7:return n=this.s,n>=1;case 8:return!!this.r&&!this.q.e&&HO(this.q).i==0;case 9:return!!this.q&&!(this.r&&!this.q.e&&HO(this.q).i==0);case 10:return(this.Bb&$U)==0;case 11:return(this.Bb&RU)!=0;case 12:return(this.Bb&GW)!=0;case 13:return this.j!=null;case 14:return uV(this)!=null;case 15:return(this.Bb&RY)!=0;case 16:return(this.Bb&zU)!=0;case 17:return!!bA(this);case 18:return(this.Bb&cY)!=0;case 19:return r=QR(this),!!r&&(r.Bb&cY)!=0;case 20:return(this.Bb&qW)==0;case 21:return!!this.b;case 22:return!!Sje(this);case 23:return!!this.a&&this.a.i!=0}return _j(this,e-DO((pU(),a9)),pN((t=F(aF(this,16),30),t||a9),e))},Q._h=function(e,t){var n,r;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:bEe(this,aE(t));return;case 2:kI(this,gv(iE(t)));return;case 3:AI(this,gv(iE(t)));return;case 4:GN(this,F(t,14).a);return;case 5:KN(this,F(t,14).a);return;case 8:pI(this,F(t,150));return;case 9:r=qz(this,F(t,89),null),r&&r.nj();return;case 10:GI(this,gv(iE(t)));return;case 11:JI(this,gv(iE(t)));return;case 12:KI(this,gv(iE(t)));return;case 13:vce(this,aE(t));return;case 15:qI(this,gv(iE(t)));return;case 16:eL(this,gv(iE(t)));return;case 18:xEe(this,gv(iE(t)));return;case 20:sWe(this,gv(iE(t)));return;case 21:jLe(this,F(t,19));return;case 23:!this.a&&(this.a=new oT(P7,this,23)),LH(this.a),!this.a&&(this.a=new oT(P7,this,23)),TO(this.a,F(t,17));return}_L(this,e-DO((pU(),a9)),pN((n=F(aF(this,16),30),n||a9),e),t)},Q.gi=function(){return pU(),a9},Q.ii=function(e){var t,n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:N(this.Cb,90)&&EB(Hj(F(this.Cb,90)),4),SP(this,null);return;case 2:kI(this,!0);return;case 3:AI(this,!0);return;case 4:GN(this,0);return;case 5:KN(this,1);return;case 8:pI(this,null);return;case 9:n=qz(this,null,null),n&&n.nj();return;case 10:GI(this,!0);return;case 11:JI(this,!1);return;case 12:KI(this,!1);return;case 13:this.i=null,pP(this,null);return;case 15:qI(this,!1);return;case 16:eL(this,!1);return;case 18:oWe(this,!1),N(this.Cb,90)&&EB(Hj(F(this.Cb,90)),2);return;case 20:sWe(this,!0);return;case 21:jLe(this,null);return;case 23:!this.a&&(this.a=new oT(P7,this,23)),LH(this.a);return}NI(this,e-DO((pU(),a9)),pN((t=F(aF(this,16),30),t||a9),e))},Q.ni=function(){jBe(this),uk(WM((_B(),p9),this)),wz(this),this.Bb|=1},Q.tk=function(){return QR(this)},Q.$k=function(){var e=QR(this);return!!e&&(e.Bb&cY)!=0},Q._k=function(){return(this.Bb&cY)!=0},Q.al=function(){return(this.Bb&qW)!=0},Q.Xk=function(e,t){return this.c=null,pUe(this,e,t)},Q.Ib=function(){var e;return this.Db&64?RV(this):(e=new vT(RV(this)),e.a+=` (containment: `,jy(e,(this.Bb&cY)!=0),e.a+=`, resolveProxies: `,jy(e,(this.Bb&qW)!=0),e.a+=`)`,e.a)},R(lY,`EReferenceImpl`,107),J(569,120,{110:1,48:1,95:1,94:1,141:1,57:1,115:1,54:1,101:1,569:1,119:1,120:1},$l),Q.Fb=function(e){return this===e},Q.ld=function(){return this.b},Q.md=function(){return this.c},Q.Hb=function(){return wT(this)},Q.Bi=function(e){dye(this,aE(e))},Q.nd=function(e){return zve(this,aE(e))},Q.Jh=function(e,t,n){var r;switch(e){case 0:return this.b;case 1:return this.c}return EM(this,e-DO((pU(),o9)),pN((r=F(aF(this,16),30),r||o9),e),t,n)},Q.Uh=function(e){var t;switch(e){case 0:return this.b!=null;case 1:return this.c!=null}return _j(this,e-DO((pU(),o9)),pN((t=F(aF(this,16),30),t||o9),e))},Q._h=function(e,t){var n;switch(e){case 0:fye(this,aE(t));return;case 1:pLe(this,aE(t));return}_L(this,e-DO((pU(),o9)),pN((n=F(aF(this,16),30),n||o9),e),t)},Q.gi=function(){return pU(),o9},Q.ii=function(e){var t;switch(e){case 0:fLe(this,null);return;case 1:pLe(this,null);return}NI(this,e-DO((pU(),o9)),pN((t=F(aF(this,16),30),t||o9),e))},Q.zi=function(){var e;return this.a==-1&&(e=this.b,this.a=e==null?0:qF(e)),this.a},Q.Ai=function(e){this.a=e},Q.Ib=function(){var e;return this.Db&64?XB(this):(e=new vT(XB(this)),e.a+=` (key: `,$C(e,this.b),e.a+=`, value: `,$C(e,this.c),e.a+=`)`,e.a)},Q.a=-1,Q.b=null,Q.c=null;var d9=R(lY,`EStringToStringMapEntryImpl`,569),jGt=oD(LY,`FeatureMap/Entry/Internal`);J(584,1,$Y),Q.wl=function(e){return this.xl(F(e,54))},Q.xl=function(e){return this.wl(e)},Q.Fb=function(e){var t,n;return this===e?!0:N(e,77)?(t=F(e,77),t.Kk()==this.c&&(n=this.md(),n==null?t.md()==null:mL(n,t.md()))):!1},Q.Kk=function(){return this.c},Q.Hb=function(){var e=this.md();return VF(this.c)^(e==null?0:VF(e))},Q.Ib=function(){var e=this.c,t=AN(e.pk()).wi();return e.ue(),(t!=null&&t.length!=0?t+`:`+e.ue():e.ue())+`=`+this.md()},R(lY,`EStructuralFeatureImpl/BasicFeatureMapEntry`,584),J(804,584,$Y,Npe),Q.xl=function(e){return new Npe(this.c,e)},Q.md=function(){return this.a},Q.yl=function(e,t,n){return zRe(this,e,this.a,t,n)},Q.zl=function(e,t,n){return BRe(this,e,this.a,t,n)},R(lY,`EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry`,804),J(1370,1,{},Tce),Q.xk=function(e,t,n,r,i){return F(xM(e,this.b),221).Xl(this.a).Ek(r)},Q.yk=function(e,t,n,r,i){return F(xM(e,this.b),221).Ol(this.a,r,i)},Q.zk=function(e,t,n,r,i){return F(xM(e,this.b),221).Pl(this.a,r,i)},Q.Ak=function(e,t,n){return F(xM(e,this.b),221).Xl(this.a).Pj()},Q.Bk=function(e,t,n,r){F(xM(e,this.b),221).Xl(this.a).Wb(r)},Q.Ck=function(e,t,n){return F(xM(e,this.b),221).Xl(this.a)},Q.Dk=function(e,t,n){F(xM(e,this.b),221).Xl(this.a).Fk()},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator`,1370),J(92,1,{},zE,Tk,Wk,Dj),Q.xk=function(e,t,n,r,i){var a=t.ji(n);if(a??t.ki(n,a=cU(this,e)),!i)switch(this.e){case 50:case 41:return F(a,608).ak();case 40:return F(a,221).Ul()}return a},Q.yk=function(e,t,n,r,i){var a,o=t.ji(n);return o??t.ki(n,o=cU(this,e)),a=F(o,72).Vk(r,i),a},Q.zk=function(e,t,n,r,i){var a=t.ji(n);return a!=null&&(i=F(a,72).Wk(r,i)),i},Q.Ak=function(e,t,n){var r=t.ji(n);return r!=null&&F(r,81).Pj()},Q.Bk=function(e,t,n,r){var i=F(t.ji(n),81);!i&&t.ki(n,i=cU(this,e)),i.Wb(r)},Q.Ck=function(e,t,n){var r,i=t.ji(n);return i??t.ki(n,i=cU(this,e)),N(i,81)?F(i,81):(r=F(t.ji(n),16),new Lg(r))},Q.Dk=function(e,t,n){var r=F(t.ji(n),81);!r&&t.ki(n,r=cU(this,e)),r.Fk()},Q.b=0,Q.e=0,R(lY,`EStructuralFeatureImpl/InternalSettingDelegateMany`,92),J(518,1,{}),Q.yk=function(e,t,n,r,i){throw O(new h_)},Q.zk=function(e,t,n,r,i){throw O(new h_)},Q.Ck=function(e,t,n){return new VCe(this,e,t,n)};var f9;R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingle`,518),J(1387,1,vbt,VCe),Q.Ek=function(e){return this.a.xk(this.c,this.d,this.b,e,!0)},Q.Pj=function(){return this.a.Ak(this.c,this.d,this.b)},Q.Wb=function(e){this.a.Bk(this.c,this.d,this.b,e)},Q.Fk=function(){this.a.Dk(this.c,this.d,this.b)},Q.b=0,R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingle/1`,1387),J(797,518,{},bTe),Q.xk=function(e,t,n,r,i){return Ytt(e,e.Nh(),e.Dh())==this.b?this.al()&&r?s6e(e):e.Nh():null},Q.yk=function(e,t,n,r,i){var a,o;return e.Nh()&&(i=(a=e.Dh(),a>=0?e.yh(i):e.Nh().Rh(e,-1-a,null,i))),o=PL(e.Bh(),this.e),e.Ah(r,o,i)},Q.zk=function(e,t,n,r,i){var a=PL(e.Bh(),this.e);return e.Ah(null,a,i)},Q.Ak=function(e,t,n){var r=PL(e.Bh(),this.e);return!!e.Nh()&&e.Dh()==r},Q.Bk=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!Urt(this.a,r))throw O(new cv(eX+(N(r,57)?fQe(F(r,57).Bh()):OFe(JF(r)))+tX+this.a+`'`));if(i=e.Nh(),o=PL(e.Bh(),this.e),M(r)!==M(i)||e.Dh()!=o&&r!=null){if(Sz(e,F(r,57)))throw O(new lv(dY+e.Ib()));c=null,i&&(c=(a=e.Dh(),a>=0?e.yh(c):e.Nh().Rh(e,-1-a,null,c))),s=F(r,54),s&&(c=s.Ph(e,PL(s.Bh(),this.b),null,c)),c=e.Ah(s,o,c),c&&c.nj()}else e.th()&&e.uh()&&XP(e,new ZD(e,1,o,r,r))},Q.Dk=function(e,t,n){var r=e.Nh(),i,a,o;r?(o=(i=e.Dh(),i>=0?e.yh(null):e.Nh().Rh(e,-1-i,null,null)),a=PL(e.Bh(),this.e),o=e.Ah(null,a,o),o&&o.nj()):e.th()&&e.uh()&&XP(e,new QD(e,1,this.e,null,null))},Q.al=function(){return!1},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainer`,797),J(1371,797,{},H_e),Q.al=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving`,1371),J(582,518,{}),Q.xk=function(e,t,n,r,i){var a=t.ji(n);return a==null?this.b:M(a)===M(f9)?null:a},Q.Ak=function(e,t,n){var r=t.ji(n);return r!=null&&(M(r)===M(f9)||!mL(r,this.b))},Q.Bk=function(e,t,n,r){var i,a;e.th()&&e.uh()?(i=(a=t.ji(n),a==null?this.b:M(a)===M(f9)?null:a),r==null?this.c==null?this.b==null?t.ki(n,null):t.ki(n,f9):(t.ki(n,null),r=this.b):(this.Al(r),t.ki(n,r)),XP(e,this.d.Bl(e,1,this.e,i,r))):r==null?this.c==null?this.b==null?t.ki(n,null):t.ki(n,f9):t.ki(n,null):(this.Al(r),t.ki(n,r))},Q.Dk=function(e,t,n){var r,i;e.th()&&e.uh()?(r=(i=t.ji(n),i==null?this.b:M(i)===M(f9)?null:i),t.li(n),XP(e,this.d.Bl(e,1,this.e,r,this.b))):t.li(n)},Q.Al=function(e){throw O(new ore)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData`,582),J(nX,1,{},eu),Q.Bl=function(e,t,n,r,i){return new QD(e,t,n,r,i)},Q.Cl=function(e,t,n,r,i,a){return new zk(e,t,n,r,i,a)};var MGt,NGt,PGt,FGt,IGt,LGt,RGt,zGt,BGt;R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator`,nX),J(1388,nX,{},tu),Q.Bl=function(e,t,n,r,i){return new yje(e,t,n,gv(iE(r)),gv(iE(i)))},Q.Cl=function(e,t,n,r,i,a){return new ZDe(e,t,n,gv(iE(r)),gv(iE(i)),a)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1`,1388),J(1389,nX,{},nu),Q.Bl=function(e,t,n,r,i){return new CIe(e,t,n,F(r,223).a,F(i,223).a)},Q.Cl=function(e,t,n,r,i,a){return new WDe(e,t,n,F(r,223).a,F(i,223).a,a)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2`,1389),J(1390,nX,{},ru),Q.Bl=function(e,t,n,r,i){return new wIe(e,t,n,F(r,183).a,F(i,183).a)},Q.Cl=function(e,t,n,r,i,a){return new GDe(e,t,n,F(r,183).a,F(i,183).a,a)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3`,1390),J(1391,nX,{},iu),Q.Bl=function(e,t,n,r,i){return new _je(e,t,n,k(P(r)),k(P(i)))},Q.Cl=function(e,t,n,r,i,a){return new KDe(e,t,n,k(P(r)),k(P(i)),a)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4`,1391),J(1392,nX,{},au),Q.Bl=function(e,t,n,r,i){return new DIe(e,t,n,F(r,164).a,F(i,164).a)},Q.Cl=function(e,t,n,r,i,a){return new qDe(e,t,n,F(r,164).a,F(i,164).a,a)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5`,1392),J(1393,nX,{},ou),Q.Bl=function(e,t,n,r,i){return new vje(e,t,n,F(r,14).a,F(i,14).a)},Q.Cl=function(e,t,n,r,i,a){return new JDe(e,t,n,F(r,14).a,F(i,14).a,a)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6`,1393),J(1394,nX,{},su),Q.Bl=function(e,t,n,r,i){return new TIe(e,t,n,F(r,173).a,F(i,173).a)},Q.Cl=function(e,t,n,r,i,a){return new YDe(e,t,n,F(r,173).a,F(i,173).a,a)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7`,1394),J(1395,nX,{},cu),Q.Bl=function(e,t,n,r,i){return new EIe(e,t,n,F(r,193).a,F(i,193).a)},Q.Cl=function(e,t,n,r,i,a){return new XDe(e,t,n,F(r,193).a,F(i,193).a,a)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8`,1395),J(1373,582,{},HCe),Q.Al=function(e){if(!this.a.ek(e))throw O(new cv(eX+JF(e)+tX+this.a+`'`))},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic`,1373),J(1374,582,{},bbe),Q.Al=function(e){},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic`,1374),J(798,582,{}),Q.Ak=function(e,t,n){return t.ji(n)!=null},Q.Bk=function(e,t,n,r){var i,a;e.th()&&e.uh()?(i=!0,a=t.ji(n),a==null?(i=!1,a=this.b):M(a)===M(f9)&&(a=null),r==null?this.c==null?t.ki(n,f9):(t.ki(n,null),r=this.b):(this.Al(r),t.ki(n,r)),XP(e,this.d.Cl(e,1,this.e,a,r,!i))):r==null?this.c==null?t.ki(n,f9):t.ki(n,null):(this.Al(r),t.ki(n,r))},Q.Dk=function(e,t,n){var r,i;e.th()&&e.uh()?(r=!0,i=t.ji(n),i==null?(r=!1,i=this.b):M(i)===M(f9)&&(i=null),t.li(n),XP(e,this.d.Cl(e,2,this.e,i,this.b,r))):t.li(n)},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable`,798),J(1375,798,{},UCe),Q.Al=function(e){if(!this.a.ek(e))throw O(new cv(eX+JF(e)+tX+this.a+`'`))},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic`,1375),J(1376,798,{},xbe),Q.Al=function(e){},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic`,1376),J(417,518,{},gD),Q.xk=function(e,t,n,r,i){var a,o,s,c,l=t.ji(n);if(this.sk()&&M(l)===M(f9))return null;if(this.al()&&r&&l!=null){if(s=F(l,54),s.Th()&&(c=bI(e,s),s!=c)){if(!Urt(this.a,c))throw O(new cv(eX+JF(c)+tX+this.a+`'`));t.ki(n,l=c),this._k()&&(a=F(c,54),o=s.Rh(e,this.b?PL(s.Bh(),this.b):-1-PL(e.Bh(),this.e),null,null),!a.Nh()&&(o=a.Ph(e,this.b?PL(a.Bh(),this.b):-1-PL(e.Bh(),this.e),null,o)),o&&o.nj()),e.th()&&e.uh()&&XP(e,new QD(e,9,this.e,s,c))}return l}return l},Q.yk=function(e,t,n,r,i){var a,o=t.ji(n);return M(o)===M(f9)&&(o=null),t.ki(n,r),this.Lj()?M(o)!==M(r)&&o!=null&&(a=F(o,54),i=a.Rh(e,PL(a.Bh(),this.b),null,i)):this._k()&&o!=null&&(i=F(o,54).Rh(e,-1-PL(e.Bh(),this.e),null,i)),e.th()&&e.uh()&&(!i&&(i=new fy(4)),i.mj(new QD(e,1,this.e,o,r))),i},Q.zk=function(e,t,n,r,i){var a=t.ji(n);return M(a)===M(f9)&&(a=null),t.li(n),e.th()&&e.uh()&&(!i&&(i=new fy(4)),this.sk()?i.mj(new QD(e,2,this.e,a,null)):i.mj(new QD(e,1,this.e,a,null))),i},Q.Ak=function(e,t,n){return t.ji(n)!=null},Q.Bk=function(e,t,n,r){var i,a,o,s,c;if(r!=null&&!Urt(this.a,r))throw O(new cv(eX+(N(r,57)?fQe(F(r,57).Bh()):OFe(JF(r)))+tX+this.a+`'`));c=t.ji(n),s=c!=null,this.sk()&&M(c)===M(f9)&&(c=null),o=null,this.Lj()?M(c)!==M(r)&&(c!=null&&(i=F(c,54),o=i.Rh(e,PL(i.Bh(),this.b),null,o)),r!=null&&(i=F(r,54),o=i.Ph(e,PL(i.Bh(),this.b),null,o))):this._k()&&M(c)!==M(r)&&(c!=null&&(o=F(c,54).Rh(e,-1-PL(e.Bh(),this.e),null,o)),r!=null&&(o=F(r,54).Ph(e,-1-PL(e.Bh(),this.e),null,o))),r==null&&this.sk()?t.ki(n,f9):t.ki(n,r),e.th()&&e.uh()?(a=new zk(e,1,this.e,c,r,this.sk()&&!s),o?(o.mj(a),o.nj()):XP(e,a)):o&&o.nj()},Q.Dk=function(e,t,n){var r,i,a,o,s=t.ji(n);o=s!=null,this.sk()&&M(s)===M(f9)&&(s=null),a=null,s!=null&&(this.Lj()?(r=F(s,54),a=r.Rh(e,PL(r.Bh(),this.b),null,a)):this._k()&&(a=F(s,54).Rh(e,-1-PL(e.Bh(),this.e),null,a))),t.li(n),e.th()&&e.uh()?(i=new zk(e,this.sk()?2:1,this.e,s,null,o),a?(a.mj(i),a.nj()):XP(e,i)):a&&a.nj()},Q.Lj=function(){return!1},Q._k=function(){return!1},Q.al=function(){return!1},Q.sk=function(){return!1},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObject`,417),J(583,417,{},QT),Q._k=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment`,583),J(1379,583,{},Gfe),Q.al=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving`,1379),J(800,583,{},Kfe),Q.sk=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable`,800),J(1381,800,{},Wfe),Q.al=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving`,1381),J(662,583,{},U_e),Q.Lj=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse`,662),J(1380,662,{},K_e),Q.al=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving`,1380),J(801,662,{},q_e),Q.sk=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable`,801),J(1382,801,{},J_e),Q.al=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving`,1382),J(663,417,{},qfe),Q.al=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving`,663),J(1383,663,{},Yfe),Q.sk=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable`,1383),J(802,663,{},W_e),Q.Lj=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse`,802),J(1384,802,{},Y_e),Q.sk=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable`,1384),J(1377,417,{},Jfe),Q.sk=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable`,1377),J(799,417,{},G_e),Q.Lj=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse`,799),J(1378,799,{},X_e),Q.sk=function(){return!0},R(lY,`EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable`,1378),J(803,584,$Y,mSe),Q.xl=function(e){return new mSe(this.a,this.c,e)},Q.md=function(){return this.b},Q.yl=function(e,t,n){return KMe(this,e,this.b,n)},Q.zl=function(e,t,n){return GMe(this,e,this.b,n)},R(lY,`EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry`,803),J(1385,1,vbt,Lg),Q.Ek=function(e){return this.a},Q.Pj=function(){return N(this.a,100)?F(this.a,100).Pj():!this.a.dc()},Q.Wb=function(e){this.a.$b(),this.a.Gc(F(e,16))},Q.Fk=function(){N(this.a,100)?F(this.a,100).Fk():this.a.$b()},R(lY,`EStructuralFeatureImpl/SettingMany`,1385),J(1386,584,$Y,bAe),Q.wl=function(e){return new Ppe((HH(),A9),this.b.pi(this.a,e))},Q.md=function(){return null},Q.yl=function(e,t,n){return n},Q.zl=function(e,t,n){return n},R(lY,`EStructuralFeatureImpl/SimpleContentFeatureMapEntry`,1386),J(664,584,$Y,Ppe),Q.wl=function(e){return new Ppe(this.c,e)},Q.md=function(){return this.a},Q.yl=function(e,t,n){return n},Q.zl=function(e,t,n){return n},R(lY,`EStructuralFeatureImpl/SimpleFeatureMapEntry`,664),J(408,511,OY,lu),Q._i=function(e){return H(I7,wU,30,e,0,1)},Q.Xi=function(){return!1},R(lY,`ESuperAdapter/1`,408),J(464,456,{110:1,95:1,94:1,158:1,200:1,57:1,115:1,861:1,54:1,101:1,162:1,464:1,119:1,120:1},uu),Q.Jh=function(e,t,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new CD(this,z7,this)),this.a}return EM(this,e-DO((pU(),s9)),pN((r=F(aF(this,16),30),r||s9),e),t,n)},Q.Sh=function(e,t,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new I(j7,this,0,3)),UR(this.Ab,e,n);case 2:return!this.a&&(this.a=new CD(this,z7,this)),UR(this.a,e,n)}return i=F(pN((r=F(aF(this,16),30),r||(pU(),s9)),t),69),i.vk().zk(this,sR(this),t-DO((pU(),s9)),e,n)},Q.Uh=function(e){var t;switch(e){case 0:return!!this.Ab&&this.Ab.i!=0;case 1:return this.zb!=null;case 2:return!!this.a&&this.a.i!=0}return _j(this,e-DO((pU(),s9)),pN((t=F(aF(this,16),30),t||s9),e))},Q._h=function(e,t){var n;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab),!this.Ab&&(this.Ab=new I(j7,this,0,3)),TO(this.Ab,F(t,17));return;case 1:SP(this,aE(t));return;case 2:!this.a&&(this.a=new CD(this,z7,this)),LH(this.a),!this.a&&(this.a=new CD(this,z7,this)),TO(this.a,F(t,17));return}_L(this,e-DO((pU(),s9)),pN((n=F(aF(this,16),30),n||s9),e),t)},Q.gi=function(){return pU(),s9},Q.ii=function(e){var t;switch(e){case 0:!this.Ab&&(this.Ab=new I(j7,this,0,3)),LH(this.Ab);return;case 1:SP(this,null);return;case 2:!this.a&&(this.a=new CD(this,z7,this)),LH(this.a);return}NI(this,e-DO((pU(),s9)),pN((t=F(aF(this,16),30),t||s9),e))},R(lY,`ETypeParameterImpl`,464),J(465,83,qY,CD),Q.Mj=function(e,t){return b$e(this,F(e,89),t)},Q.Nj=function(e,t){return x$e(this,F(e,89),t)},R(lY,`ETypeParameterImpl/1`,465),J(659,44,eG,H_),Q.ec=function(){return new Rg(this)},R(lY,`ETypeParameterImpl/2`,659),J(578,PU,FU,Rg),Q.Fc=function(e){return xme(this,F(e,89))},Q.Gc=function(e){var t,n,r=!1;for(n=e.Kc();n.Ob();)t=F(n.Pb(),89),ok(this.a,t,``)??(r=!0);return r},Q.$b=function(){eO(this.a)},Q.Hc=function(e){return nO(this.a,e)},Q.Kc=function(){return new zg(new JP(new Bm(this.a).a))},Q.Mc=function(e){return sMe(this,e)},Q.gc=function(){return ub(this.a)},R(lY,`ETypeParameterImpl/2/1`,578),J(579,1,AU,zg),Q.Nb=function(e){sO(this,e)},Q.Pb=function(){return F(_P(this.a).ld(),89)},Q.Ob=function(){return this.a.b},Q.Qb=function(){bPe(this.a)},R(lY,`ETypeParameterImpl/2/1/1`,579),J(1345,44,eG,Zre),Q._b=function(e){return JC(e)?e==null?!!DD(this.f,null):$ye(this.i,e):!!DD(this.f,e)},Q.xc=function(e){var t=JC(e)?e==null?GC(DD(this.f,null)):Sx(this.i,e):GC(DD(this.f,e)),n;return N(t,862)?(n=F(t,862),t=n.Jk(),ok(this,F(e,242),t),t):t??(e==null?(sx(),JGt):null)},R(lY,`EValidatorRegistryImpl`,1345),J(1369,738,{110:1,95:1,94:1,487:1,158:1,57:1,115:1,2070:1,54:1,101:1,162:1,119:1,120:1},du),Q.pi=function(e,t){switch(e.gk()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return t==null?null:yL(t);case 25:return rIe(t);case 27:return HNe(t);case 28:return UNe(t);case 29:return t==null?null:Tue(h7[0],F(t,208));case 41:return t==null?``:Ny(F(t,303));case 42:return yL(t);case 50:return aE(t);default:throw O(new lv(fY+e.ue()+pY))}},Q.qi=function(e){var t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g;switch(e.G==-1&&(e.G=(f=AN(e),f?qR(f.ti(),e):-1)),e.G){case 0:return n=new z_,n;case 1:return t=new Wl,t;case 2:return r=new cp,r;case 4:return i=new k_,i;case 5:return a=new Yre,a;case 6:return o=new Qne,o;case 7:return s=new op,s;case 10:return l=new Hl,l;case 11:return u=new B_,u;case 12:return d=new dwe,d;case 13:return p=new V_,p;case 14:return m=new Ufe,m;case 17:return h=new $l,h;case 18:return c=new t_,c;case 19:return g=new uu,g;default:throw O(new lv(Bvt+e.zb+pY))}},Q.ri=function(e,t){switch(e.gk()){case 20:return t==null?null:new Fy(t);case 21:return t==null?null:new jw(t);case 23:case 22:return t==null?null:lKe(t);case 26:case 24:return t==null?null:KM($V(t,-128,127)<<24>>24);case 25:return h8e(t);case 27:return BYe(t);case 28:return VYe(t);case 29:return t1e(t);case 32:case 31:return t==null?null:oB(t);case 38:case 37:return t==null?null:new kre(t);case 40:case 39:return t==null?null:K($V(t,oW,yU));case 41:return null;case 42:return null;case 44:case 43:return t==null?null:uR(eU(t));case 49:case 48:return t==null?null:SI($V(t,iX,32767)<<16>>16);case 50:return t;default:throw O(new lv(fY+e.ue()+pY))}},R(lY,`EcoreFactoryImpl`,1369),J(568,187,{110:1,95:1,94:1,158:1,200:1,57:1,242:1,115:1,2068:1,54:1,101:1,162:1,187:1,568:1,119:1,120:1,702:1},zSe),Q.gb=!1,Q.hb=!1;var VGt,HGt=!1;R(lY,`EcorePackageImpl`,568),J(1244,1,{862:1},fu),Q.Jk=function(){return Ode(),YGt},R(lY,`EcorePackageImpl/1`,1244),J(1253,1,cX,pu),Q.ek=function(e){return N(e,158)},Q.fk=function(e){return H(o7,wU,158,e,0,1)},R(lY,`EcorePackageImpl/10`,1253),J(1254,1,cX,mu),Q.ek=function(e){return N(e,200)},Q.fk=function(e){return H(CWt,wU,200,e,0,1)},R(lY,`EcorePackageImpl/11`,1254),J(1255,1,cX,hu),Q.ek=function(e){return N(e,57)},Q.fk=function(e){return H(Q5,wU,57,e,0,1)},R(lY,`EcorePackageImpl/12`,1255),J(1256,1,cX,gu),Q.ek=function(e){return N(e,418)},Q.fk=function(e){return H(B7,Sbt,62,e,0,1)},R(lY,`EcorePackageImpl/13`,1256),J(1257,1,cX,_u),Q.ek=function(e){return N(e,242)},Q.fk=function(e){return H(c7,wU,242,e,0,1)},R(lY,`EcorePackageImpl/14`,1257),J(1258,1,cX,vu),Q.ek=function(e){return N(e,523)},Q.fk=function(e){return H(H7,wU,2145,e,0,1)},R(lY,`EcorePackageImpl/15`,1258),J(1259,1,cX,yu),Q.ek=function(e){return N(e,107)},Q.fk=function(e){return H(U7,KY,19,e,0,1)},R(lY,`EcorePackageImpl/16`,1259),J(1260,1,cX,bu),Q.ek=function(e){return N(e,182)},Q.fk=function(e){return H(N7,KY,182,e,0,1)},R(lY,`EcorePackageImpl/17`,1260),J(1261,1,cX,xu),Q.ek=function(e){return N(e,488)},Q.fk=function(e){return H(M7,wU,488,e,0,1)},R(lY,`EcorePackageImpl/18`,1261),J(1262,1,cX,Su),Q.ek=function(e){return N(e,569)},Q.fk=function(e){return H(d9,ibt,569,e,0,1)},R(lY,`EcorePackageImpl/19`,1262),J(1245,1,cX,Cu),Q.ek=function(e){return N(e,340)},Q.fk=function(e){return H(P7,KY,38,e,0,1)},R(lY,`EcorePackageImpl/2`,1245),J(1263,1,cX,wu),Q.ek=function(e){return N(e,250)},Q.fk=function(e){return H(z7,wbt,89,e,0,1)},R(lY,`EcorePackageImpl/20`,1263),J(1264,1,cX,Tu),Q.ek=function(e){return N(e,464)},Q.fk=function(e){return H(W7,wU,861,e,0,1)},R(lY,`EcorePackageImpl/21`,1264),J(1265,1,cX,Eu),Q.ek=function(e){return KC(e)},Q.fk=function(e){return H(UX,LU,492,e,8,1)},R(lY,`EcorePackageImpl/22`,1265),J(1266,1,cX,Du),Q.ek=function(e){return N(e,198)},Q.fk=function(e){return H(X9,LU,198,e,0,2)},R(lY,`EcorePackageImpl/23`,1266),J(1267,1,cX,Ou),Q.ek=function(e){return N(e,223)},Q.fk=function(e){return H(WX,LU,223,e,0,1)},R(lY,`EcorePackageImpl/24`,1267),J(1268,1,cX,ku),Q.ek=function(e){return N(e,183)},Q.fk=function(e){return H(GX,LU,183,e,0,1)},R(lY,`EcorePackageImpl/25`,1268),J(1269,1,cX,Au),Q.ek=function(e){return N(e,208)},Q.fk=function(e){return H(zX,LU,208,e,0,1)},R(lY,`EcorePackageImpl/26`,1269),J(1270,1,cX,ju),Q.ek=function(e){return!1},Q.fk=function(e){return H(WKt,wU,2243,e,0,1)},R(lY,`EcorePackageImpl/27`,1270),J(1271,1,cX,Mu),Q.ek=function(e){return qC(e)},Q.fk=function(e){return H(KX,LU,353,e,7,1)},R(lY,`EcorePackageImpl/28`,1271),J(1272,1,cX,Nu),Q.ek=function(e){return N(e,61)},Q.fk=function(e){return H(UWt,zG,61,e,0,1)},R(lY,`EcorePackageImpl/29`,1272),J(1246,1,cX,Pu),Q.ek=function(e){return N(e,524)},Q.fk=function(e){return H(j7,{3:1,4:1,5:1,2063:1},609,e,0,1)},R(lY,`EcorePackageImpl/3`,1246),J(1273,1,cX,Fu),Q.ek=function(e){return N(e,590)},Q.fk=function(e){return H(ZWt,wU,2069,e,0,1)},R(lY,`EcorePackageImpl/30`,1273),J(1274,1,cX,Iu),Q.ek=function(e){return N(e,163)},Q.fk=function(e){return H(qGt,zG,163,e,0,1)},R(lY,`EcorePackageImpl/31`,1274),J(1275,1,cX,Lu),Q.ek=function(e){return N(e,77)},Q.fk=function(e){return H(c9,Fbt,77,e,0,1)},R(lY,`EcorePackageImpl/32`,1275),J(1276,1,cX,Ru),Q.ek=function(e){return N(e,164)},Q.fk=function(e){return H(qX,LU,164,e,0,1)},R(lY,`EcorePackageImpl/33`,1276),J(1277,1,cX,zu),Q.ek=function(e){return N(e,14)},Q.fk=function(e){return H(JX,LU,14,e,0,1)},R(lY,`EcorePackageImpl/34`,1277),J(1278,1,cX,Bu),Q.ek=function(e){return N(e,303)},Q.fk=function(e){return H(Rxt,wU,303,e,0,1)},R(lY,`EcorePackageImpl/35`,1278),J(1279,1,cX,Vu),Q.ek=function(e){return N(e,173)},Q.fk=function(e){return H(YX,LU,173,e,0,1)},R(lY,`EcorePackageImpl/36`,1279),J(1280,1,cX,Hu),Q.ek=function(e){return N(e,84)},Q.fk=function(e){return H(Vxt,wU,84,e,0,1)},R(lY,`EcorePackageImpl/37`,1280),J(1281,1,cX,Uu),Q.ek=function(e){return N(e,610)},Q.fk=function(e){return H(UGt,wU,610,e,0,1)},R(lY,`EcorePackageImpl/38`,1281),J(1282,1,cX,Wu),Q.ek=function(e){return!1},Q.fk=function(e){return H(GKt,wU,2244,e,0,1)},R(lY,`EcorePackageImpl/39`,1282),J(1247,1,cX,Gu),Q.ek=function(e){return N(e,90)},Q.fk=function(e){return H(I7,wU,30,e,0,1)},R(lY,`EcorePackageImpl/4`,1247),J(1283,1,cX,Ku),Q.ek=function(e){return N(e,193)},Q.fk=function(e){return H(XX,LU,193,e,0,1)},R(lY,`EcorePackageImpl/40`,1283),J(1284,1,cX,qu),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(lY,`EcorePackageImpl/41`,1284),J(1285,1,cX,Ju),Q.ek=function(e){return N(e,607)},Q.fk=function(e){return H(GWt,wU,607,e,0,1)},R(lY,`EcorePackageImpl/42`,1285),J(1286,1,cX,Yu),Q.ek=function(e){return!1},Q.fk=function(e){return H(KKt,LU,2245,e,0,1)},R(lY,`EcorePackageImpl/43`,1286),J(1287,1,cX,Xu),Q.ek=function(e){return N(e,48)},Q.fk=function(e){return H(PX,KU,48,e,0,1)},R(lY,`EcorePackageImpl/44`,1287),J(1248,1,cX,Zu),Q.ek=function(e){return N(e,150)},Q.fk=function(e){return H(F7,wU,150,e,0,1)},R(lY,`EcorePackageImpl/5`,1248),J(1249,1,cX,Qu),Q.ek=function(e){return N(e,159)},Q.fk=function(e){return H(dGt,wU,159,e,0,1)},R(lY,`EcorePackageImpl/6`,1249),J(1250,1,cX,$u),Q.ek=function(e){return N(e,477)},Q.fk=function(e){return H(L7,wU,698,e,0,1)},R(lY,`EcorePackageImpl/7`,1250),J(1251,1,cX,ed),Q.ek=function(e){return N(e,590)},Q.fk=function(e){return H(R7,wU,706,e,0,1)},R(lY,`EcorePackageImpl/8`,1251),J(1252,1,cX,td),Q.ek=function(e){return N(e,487)},Q.fk=function(e){return H(s7,wU,487,e,0,1)},R(lY,`EcorePackageImpl/9`,1252),J(1083,2108,nbt,zie),Q.Li=function(e,t){EUe(this,F(t,430))},Q.Pi=function(e,t){_2e(this,e,F(t,430))},R(lY,`MinimalEObjectImpl/1ArrayDelegatingAdapterList`,1083),J(1084,155,FY,hSe),Q.ij=function(){return this.a.a},R(lY,`MinimalEObjectImpl/1ArrayDelegatingAdapterList/1`,1084),J(1111,1110,{},Xle),R(`org.eclipse.emf.ecore.plugin`,`EcorePlugin`,1111);var UGt=oD(Ibt,`Resource`);J(813,1551,Lbt),Q.Gl=function(e){},Q.Hl=function(e){},Q.Dl=function(){return!this.a&&(this.a=new Bg(this)),this.a},Q.El=function(e){var t,n,r=e.length,i,a;if(r>0){if(RA(0,e.length),e.charCodeAt(0)==47){for(a=new nM(4),i=1,t=1;t<r;++t)RA(t,e.length),e.charCodeAt(t)==47&&(pT(a,i==t?``:(TM(i,t,e.length),e.substr(i,t-i))),i=t+1);return pT(a,(RA(i,e.length+1),e.substr(i))),gZe(this,a)}RA(r-1,e.length),e.charCodeAt(r-1)==63&&(n=cxe(e,Jz(63),r-2),n>0&&(e=(TM(0,n,e.length),e.substr(0,n))))}return M4e(this,e)},Q.Fl=function(){return this.c},Q.Ib=function(){var e;return Ny(this.Qm)+`@`+(e=VF(this)>>>0,e.toString(16))+` uri='`+this.d+`'`},Q.b=!1,R(Rbt,`ResourceImpl`,813),J(1552,813,Lbt,Vg),R(Rbt,`BinaryResourceImpl`,1552),J(1200,725,_yt),Q.aj=function(e){return N(e,57)?Lwe(this,F(e,57)):N(e,610)?new cT(F(e,610).Dl()):M(e)===M(this.f)?F(e,17).Kc():(ZT(),E7.a)},Q.Ob=function(){return y3e(this)},Q.a=!1,R(LY,`EcoreUtil/ContentTreeIterator`,1200),J(1553,1200,_yt,txe),Q.aj=function(e){return M(e)===M(this.f)?F(e,16).Kc():new $Oe(F(e,57))},R(Rbt,`ResourceImpl/5`,1553),J(670,2120,Cbt,Bg),Q.Hc=function(e){return this.i<=4?Az(this,e):N(e,54)&&F(e,54).Hh()==this.a},Q.Li=function(e,t){e==this.i-1&&(this.a.b||(this.a.b=!0))},Q.Ni=function(e,t){e==0?this.a.b||(this.a.b=!0):YMe(this,e,t)},Q.Pi=function(e,t){},Q.Qi=function(e,t,n){},Q.Kj=function(){return 2},Q.ij=function(){return this.a},Q.Lj=function(){return!0},Q.Mj=function(e,t){return t=F(e,54).di(this.a,t),t},Q.Nj=function(e,t){return F(e,54).di(null,t)},Q.Oj=function(){return!1},Q.Ri=function(){return!0},Q._i=function(e){return H(Q5,wU,57,e,0,1)},Q.Xi=function(){return!1},R(Rbt,`ResourceImpl/ContentsEList`,670),J(1014,2091,tW,Jne),Q.fd=function(e){return this.a.Ji(e)},Q.gc=function(){return this.a.gc()},R(LY,`AbstractSequentialInternalEList/1`,1014);var WGt,GGt,p9,KGt;J(647,1,{},Dve);var m9,h9;R(LY,`BasicExtendedMetaData`,647),J(1191,1,{},Ece),Q.Il=function(){return null},Q.Jl=function(){return this.a==-2&&Tm(this,U$e(this.d,this.b)),this.a},Q.Kl=function(){return null},Q.Ll=function(){return Ak(),Ak(),aZ},Q.ue=function(){return this.c==_X&&kee(this,NKe(this.d,this.b)),this.c},Q.Ml=function(){return 0},Q.a=-2,Q.c=_X,R(LY,`BasicExtendedMetaData/EClassExtendedMetaDataImpl`,1191),J(1192,1,{},$De),Q.Il=function(){return this.a==(rM(),m9)&&jee(this,$et(this.f,this.b)),this.a},Q.Jl=function(){return 0},Q.Kl=function(){return this.c==(rM(),m9)&&Aee(this,ett(this.f,this.b)),this.c},Q.Ll=function(){return!this.d&&Om(this,pit(this.f,this.b)),this.d},Q.ue=function(){return this.e==_X&&Am(this,NKe(this.f,this.b)),this.e},Q.Ml=function(){return this.g==-2&&Mm(this,GQe(this.f,this.b)),this.g},Q.e=_X,Q.g=-2,R(LY,`BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl`,1192),J(1190,1,{},Oce),Q.b=!1,Q.c=!1,R(LY,`BasicExtendedMetaData/EPackageExtendedMetaDataImpl`,1190),J(1193,1,{},eOe),Q.c=-2,Q.e=_X,Q.f=_X,R(LY,`BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl`,1193),J(604,645,qY,XE),Q.Kj=function(){return this.c},Q.nl=function(){return!1},Q.Vi=function(e,t){return t},Q.c=0,R(LY,`EDataTypeEList`,604);var qGt=oD(LY,`FeatureMap`);J(79,604,{3:1,4:1,22:1,31:1,56:1,17:1,16:1,59:1,71:1,67:1,61:1,81:1,163:1,221:1,2066:1,72:1,100:1},YP),Q.bd=function(e,t){Q5e(this,e,F(t,77))},Q.Fc=function(e){return n5e(this,F(e,77))},Q.Gi=function(e){Vxe(this,F(e,77))},Q.Mj=function(e,t){return Zme(this,F(e,77),t)},Q.Nj=function(e,t){return Qme(this,F(e,77),t)},Q.Si=function(e,t){return Mnt(this,e,t)},Q.Vi=function(e,t){return pst(this,e,F(t,77))},Q.hd=function(e,t){return s9e(this,e,F(t,77))},Q.Tj=function(e,t){return $me(this,F(e,77),t)},Q.Uj=function(e,t){return ehe(this,F(e,77),t)},Q.Vj=function(e,t,n){return _Qe(this,F(e,77),F(t,77),n)},Q.Yi=function(e,t){return n$e(this,e,F(t,77))},Q.Nl=function(e,t){return lnt(this,e,t)},Q.cd=function(e,t){var n,r,i,a,o,s,c,l=new CN(t.gc()),u;for(i=t.Kc();i.Ob();)if(r=F(i.Pb(),77),a=r.Kk(),TV(this.e,a))a.Ri()&&(Sj(this,a,r.md())||Az(l,r))||vM(l,r);else{for(u=SV(this.e.Bh(),a),n=F(this.g,124),o=!0,s=0;s<this.i;++s)if(c=n[s],u._l(c.Kk())){F(JR(this,s,r),77),o=!1;break}o&&vM(l,r)}return bBe(this,e,l)},Q.Gc=function(e){var t,n,r,i,a,o,s,c=new CN(e.gc()),l;for(r=e.Kc();r.Ob();)if(n=F(r.Pb(),77),i=n.Kk(),TV(this.e,i))i.Ri()&&(Sj(this,i,n.md())||Az(c,n))||vM(c,n);else{for(l=SV(this.e.Bh(),i),t=F(this.g,124),a=!0,o=0;o<this.i;++o)if(s=t[o],l._l(s.Kk())){F(JR(this,o,n),77),a=!1;break}a&&vM(c,n)}return TO(this,c)},Q.Ei=function(e){return this.j=-1,Qrt(this,this.i,e)},Q.Ol=function(e,t,n){return ott(this,e,t,n)},Q.Wk=function(e,t){return YV(this,e,t)},Q.Pl=function(e,t,n){return uat(this,e,t,n)},Q.Ql=function(){return this},Q.Rl=function(e,t){return TH(this,e,t)},Q.Sl=function(e){return F(U(this,e),77).Kk()},Q.Tl=function(e){return F(U(this,e),77).md()},Q.Ul=function(){return this.b},Q.Lj=function(){return!0},Q.Sj=function(){return!0},Q.Vl=function(e){return!IL(this,e)},Q._i=function(e){return H(jGt,Fbt,351,e,0,1)},Q.ol=function(e){return $T(this,e)},Q.Wb=function(e){gO(this,e)},Q.Wl=function(e,t){AH(this,e,t)},Q.Xl=function(e){return NLe(this,e)},Q.Yl=function(e){lYe(this,e)},R(LY,`BasicFeatureMap`,79),J(1990,1,IU),Q.Nb=function(e){sO(this,e)},Q.Rb=function(e){if(this.g==-1)throw O(new p_);FD(this);try{_9e(this.e,this.b,this.a,e),this.d=this.e.j,GR(this)}catch(e){throw e=xF(e),N(e,78)?O(new g_):O(e)}},Q.Ob=function(){return DVe(this)},Q.Sb=function(){return RVe(this)},Q.Pb=function(){return GR(this)},Q.Tb=function(){return this.a},Q.Ub=function(){var e;if(RVe(this))return FD(this),this.g=--this.a,this.tl()&&(e=NB(this.e,this.b,this.c,this.a,this.j),this.j=e),this.i=0,this.j;throw O(new __)},Q.Vb=function(){return this.a-1},Q.Qb=function(){if(this.g==-1)throw O(new p_);FD(this);try{j0e(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(e){throw e=xF(e),N(e,78)?O(new g_):O(e)}},Q.tl=function(){return!1},Q.Wb=function(e){if(this.g==-1)throw O(new p_);FD(this);try{vit(this.e,this.b,this.g,e),this.d=this.e.j}catch(e){throw e=xF(e),N(e,78)?O(new g_):O(e)}},Q.a=0,Q.c=0,Q.d=0,Q.f=!1,Q.g=0,Q.i=0,R(LY,`FeatureMapUtil/BasicFeatureEIterator`,1990),J(427,1990,IU,dF),Q.Zl=function(){var e,t,n=this.e.i;for(e=F(this.e.g,124);this.c<n;){if(t=e[this.c],this.k._l(t.Kk()))return this.j=this.f?t:t.md(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},Q.$l=function(){for(var e=F(this.e.g,124),t;--this.c>=0;)if(t=e[this.c],this.k._l(t.Kk()))return this.j=this.f?t:t.md(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},R(LY,`BasicFeatureMap/FeatureEIterator`,427),J(688,427,IU,uw),Q.tl=function(){return!0},R(LY,`BasicFeatureMap/ResolvingFeatureEIterator`,688),J(1012,502,ZY,Oue),Q.oj=function(){return this},R(LY,`EContentsEList/1`,1012),J(1013,502,ZY,Qce),Q.tl=function(){return!1},R(LY,`EContentsEList/2`,1013),J(1011,293,QY,kue),Q.vl=function(e){},Q.Ob=function(){return!1},Q.Sb=function(){return!1},R(LY,`EContentsEList/FeatureIteratorImpl/1`,1011),J(851,604,qY,sde),Q.Mi=function(){this.a=!0},Q.Pj=function(){return this.a},Q.Fk=function(){var e;LH(this),ww(this.e)?(e=this.a,this.a=!1,XP(this.e,new Bj(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(LY,`EDataTypeEList/Unsettable`,851),J(1988,604,qY,cde),Q.Ri=function(){return!0},R(LY,`EDataTypeUniqueEList`,1988),J(1989,851,qY,ade),Q.Ri=function(){return!0},R(LY,`EDataTypeUniqueEList/Unsettable`,1989),J(151,83,qY,aT),Q.ml=function(){return!0},Q.Vi=function(e,t){return UB(this,e,F(t,57))},R(LY,`EObjectContainmentEList/Resolving`,151),J(1194,563,qY,rde),Q.ml=function(){return!0},Q.Vi=function(e,t){return UB(this,e,F(t,57))},R(LY,`EObjectContainmentEList/Unsettable/Resolving`,1194),J(777,15,qY,Cme),Q.Mi=function(){this.a=!0},Q.Pj=function(){return this.a},Q.Fk=function(){var e;LH(this),ww(this.e)?(e=this.a,this.a=!1,XP(this.e,new Bj(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(LY,`EObjectContainmentWithInverseEList/Unsettable`,777),J(1232,777,qY,wme),Q.ml=function(){return!0},Q.Vi=function(e,t){return UB(this,e,F(t,57))},R(LY,`EObjectContainmentWithInverseEList/Unsettable/Resolving`,1232),J(769,510,qY,ide),Q.Mi=function(){this.a=!0},Q.Pj=function(){return this.a},Q.Fk=function(){var e;LH(this),ww(this.e)?(e=this.a,this.a=!1,XP(this.e,new Bj(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(LY,`EObjectEList/Unsettable`,769),J(346,510,qY,oT),Q.ml=function(){return!0},Q.Vi=function(e,t){return UB(this,e,F(t,57))},R(LY,`EObjectResolvingEList`,346),J(1893,769,qY,ode),Q.ml=function(){return!0},Q.Vi=function(e,t){return UB(this,e,F(t,57))},R(LY,`EObjectResolvingEList/Unsettable`,1893),J(1554,1,{},nd);var JGt;R(LY,`EObjectValidator`,1554),J(567,510,qY,$D),Q.hl=function(){return this.d},Q.il=function(){return this.b},Q.Lj=function(){return!0},Q.ll=function(){return!0},Q.b=0,R(LY,`EObjectWithInverseEList`,567),J(1235,567,qY,Tme),Q.kl=function(){return!0},R(LY,`EObjectWithInverseEList/ManyInverse`,1235),J(648,567,qY,Eme),Q.Mi=function(){this.a=!0},Q.Pj=function(){return this.a},Q.Fk=function(){var e;LH(this),ww(this.e)?(e=this.a,this.a=!1,XP(this.e,new Bj(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(LY,`EObjectWithInverseEList/Unsettable`,648),J(1234,648,qY,Ome),Q.kl=function(){return!0},R(LY,`EObjectWithInverseEList/Unsettable/ManyInverse`,1234),J(778,567,qY,Dme),Q.ml=function(){return!0},Q.Vi=function(e,t){return UB(this,e,F(t,57))},R(LY,`EObjectWithInverseResolvingEList`,778),J(32,778,qY,yE),Q.kl=function(){return!0},R(LY,`EObjectWithInverseResolvingEList/ManyInverse`,32),J(779,648,qY,kme),Q.ml=function(){return!0},Q.Vi=function(e,t){return UB(this,e,F(t,57))},R(LY,`EObjectWithInverseResolvingEList/Unsettable`,779),J(1233,779,qY,Ame),Q.kl=function(){return!0},R(LY,`EObjectWithInverseResolvingEList/Unsettable/ManyInverse`,1233),J(1195,645,qY),Q.Ki=function(){return!(this.b&1792)},Q.Mi=function(){this.b|=1},Q.jl=function(){return!!(this.b&4)},Q.Lj=function(){return!!(this.b&40)},Q.kl=function(){return!!(this.b&16)},Q.ll=function(){return!!(this.b&8)},Q.ml=function(){return(this.b&RU)!=0},Q._k=function(){return!!(this.b&32)},Q.nl=function(){return(this.b&$U)!=0},Q.ek=function(e){return this.d?Wke(this.d,e):this.Kk().Gk().ek(e)},Q.Pj=function(){return this.b&2?!!(this.b&1):this.i!=0},Q.Ri=function(){return!!(this.b&128)},Q.Fk=function(){var e;LH(this),this.b&2&&(ww(this.e)?(e=!!(this.b&1),this.b&=-2,y_(this,new Bj(this.e,2,PL(this.e.Bh(),this.Kk()),e,!1))):this.b&=-2)},Q.Xi=function(){return!(this.b&1536)},Q.b=0,R(LY,`EcoreEList/Generic`,1195),J(1196,1195,qY,Twe),Q.Kk=function(){return this.a},R(LY,`EcoreEList/Dynamic`,1196),J(776,67,OY,Gg),Q._i=function(e){return JN(this.a.a,e)},R(LY,`EcoreEMap/1`,776),J(775,83,qY,exe),Q.Li=function(e,t){$R(this.b,F(t,141))},Q.Ni=function(e,t){ize(this.b)},Q.Oi=function(e,t,n){var r;++(r=this.b,F(t,141),r).e},Q.Pi=function(e,t){UI(this.b,F(t,141))},Q.Qi=function(e,t,n){UI(this.b,F(n,141)),M(n)===M(t)&&F(n,141).Ai(Jle(F(t,141).ld())),$R(this.b,F(t,141))},R(LY,`EcoreEMap/DelegateEObjectContainmentEList`,775),J(1230,149,ybt,gLe),R(LY,`EcoreEMap/Unsettable`,1230),J(1231,775,qY,jme),Q.Mi=function(){this.a=!0},Q.Pj=function(){return this.a},Q.Fk=function(){var e;LH(this),ww(this.e)?(e=this.a,this.a=!1,XP(this.e,new Bj(this.e,2,this.c,e,!1))):this.a=!1},Q.a=!1,R(LY,`EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList`,1231),J(1199,216,eG,Qxe),Q.a=!1,Q.b=!1,R(LY,`EcoreUtil/Copier`,1199),J(770,1,AU,$Oe),Q.Nb=function(e){sO(this,e)},Q.Ob=function(){return zGe(this)},Q.Pb=function(){var e;return zGe(this),e=this.b,this.b=null,e},Q.Qb=function(){this.a.Qb()},R(LY,`EcoreUtil/ProperContentIterator`,770),J(1555,1554,{},lp);var YGt;R(LY,`EcoreValidator`,1555);var XGt;oD(LY,`FeatureMapUtil/Validator`),J(1311,1,{2071:1},rd),Q._l=function(e){return!0},R(LY,`FeatureMapUtil/1`,1311),J(784,1,{2071:1},rlt),Q._l=function(e){var t;return this.c==e||(t=iE(BO(this.a,e)),t==null?utt(this,e)?(Fje(this.a,e,(uT(),HX)),!0):(Fje(this.a,e,(uT(),VX)),!1):t==(uT(),HX))},Q.e=!1;var ZGt;R(LY,`FeatureMapUtil/BasicValidator`,784),J(785,44,eG,Nue),R(LY,`FeatureMapUtil/BasicValidator/Cache`,785),J(514,56,{22:1,31:1,56:1,17:1,16:1,61:1,81:1,72:1,100:1},VC),Q.bd=function(e,t){_9e(this.c,this.b,e,t)},Q.Fc=function(e){return lnt(this.c,this.b,e)},Q.cd=function(e,t){return Mat(this.c,this.b,e,t)},Q.Gc=function(e){return Jw(this,e)},Q.Fi=function(e,t){PFe(this.c,this.b,e,t)},Q.Vk=function(e,t){return ott(this.c,this.b,e,t)},Q.Zi=function(e){return EH(this.c,this.b,e,!1)},Q.Hi=function(){return Ole(this.c,this.b)},Q.Ii=function(){return kle(this.c,this.b)},Q.Ji=function(e){return JMe(this.c,this.b,e)},Q.Wk=function(e,t){return jpe(this,e,t)},Q.$b=function(){b_(this)},Q.Hc=function(e){return Sj(this.c,this.b,e)},Q.Ic=function(e){return NRe(this.c,this.b,e)},Q.Xb=function(e){return EH(this.c,this.b,e,!0)},Q.Ek=function(e){return this},Q.dd=function(e){return iAe(this.c,this.b,e)},Q.dc=function(){return WC(this)},Q.Pj=function(){return!IL(this.c,this.b)},Q.Kc=function(){return YPe(this.c,this.b)},Q.ed=function(){return XPe(this.c,this.b)},Q.fd=function(e){return QUe(this.c,this.b,e)},Q.Si=function(e,t){return Irt(this.c,this.b,e,t)},Q.Ti=function(e,t){hNe(this.c,this.b,e,t)},Q.gd=function(e){return j0e(this.c,this.b,e)},Q.Mc=function(e){return nnt(this.c,this.b,e)},Q.hd=function(e,t){return vit(this.c,this.b,e,t)},Q.Wb=function(e){HB(this.c,this.b),Jw(this,F(e,16))},Q.gc=function(){return $Ue(this.c,this.b)},Q.Pc=function(){return aOe(this.c,this.b)},Q.Qc=function(e){return aAe(this.c,this.b,e)},Q.Ib=function(){var e,t=new Lv;for(t.a+=`[`,e=Ole(this.c,this.b);DVe(e);)$C(t,dT(GR(e))),DVe(e)&&(t.a+=CU);return t.a+=`]`,t.a},Q.Fk=function(){HB(this.c,this.b)},R(LY,`FeatureMapUtil/FeatureEList`,514),J(656,41,FY,_Ae),Q.gj=function(e){return MI(this,e)},Q.lj=function(e){var t,n,r,i,a,o,s;switch(this.d){case 1:case 2:if(a=e.ij(),M(a)===M(this.c)&&MI(this,null)==e.gj(null))return this.g=e.hj(),e.fj()==1&&(this.d=1),!0;break;case 3:if(i=e.fj(),i===3&&(a=e.ij(),M(a)===M(this.c)&&MI(this,null)==e.gj(null)))return this.d=5,t=new CN(2),vM(t,this.g),vM(t,e.hj()),this.g=t,!0;break;case 5:if(i=e.fj(),i===3&&(a=e.ij(),M(a)===M(this.c)&&MI(this,null)==e.gj(null)))return n=F(this.g,17),n.Fc(e.hj()),!0;break;case 4:switch(i=e.fj(),i){case 3:if(a=e.ij(),M(a)===M(this.c)&&MI(this,null)==e.gj(null))return this.d=1,this.g=e.hj(),!0;break;case 4:if(a=e.ij(),M(a)===M(this.c)&&MI(this,null)==e.gj(null))return this.d=6,s=new CN(2),vM(s,this.n),vM(s,e.jj()),this.n=s,o=W(A(q9,1),wW,29,15,[this.o,e.kj()]),this.g=o,!0}break;case 6:if(i=e.fj(),i===4&&(a=e.ij(),M(a)===M(this.c)&&MI(this,null)==e.gj(null)))return n=F(this.n,17),n.Fc(e.jj()),o=F(this.g,53),r=H(q9,wW,29,o.length+1,15,1),cH(o,0,r,0,o.length),r[o.length]=e.kj(),this.g=r,!0}return!1},R(LY,`FeatureMapUtil/FeatureENotificationImpl`,656),J(573,514,{22:1,31:1,56:1,17:1,16:1,61:1,81:1,163:1,221:1,2066:1,72:1,100:1},rD),Q.Nl=function(e,t){return lnt(this.c,e,t)},Q.Ol=function(e,t,n){return ott(this.c,e,t,n)},Q.Pl=function(e,t,n){return uat(this.c,e,t,n)},Q.Ql=function(){return this},Q.Rl=function(e,t){return TH(this.c,e,t)},Q.Sl=function(e){return F(EH(this.c,this.b,e,!1),77).Kk()},Q.Tl=function(e){return F(EH(this.c,this.b,e,!1),77).md()},Q.Ul=function(){return this.a},Q.Vl=function(e){return!IL(this.c,e)},Q.Wl=function(e,t){AH(this.c,e,t)},Q.Xl=function(e){return NLe(this.c,e)},Q.Yl=function(e){lYe(this.c,e)},R(LY,`FeatureMapUtil/FeatureFeatureMap`,573),J(1310,1,vbt,wce),Q.Ek=function(e){return EH(this.b,this.a,-1,e)},Q.Pj=function(){return!IL(this.b,this.a)},Q.Wb=function(e){AH(this.b,this.a,e)},Q.Fk=function(){HB(this.b,this.a)},R(LY,`FeatureMapUtil/FeatureValue`,1310);var g9,QGt,$Gt,_9,eKt,v9=oD(yX,`AnyType`);J(692,63,sW,wv),R(yX,`InvalidDatatypeValueException`,692);var y9=oD(yX,Gbt),b9=oD(yX,Kbt),tKt=oD(yX,qbt),nKt,x9,rKt,S9,iKt,aKt,oKt,sKt,cKt,lKt,uKt,dKt,fKt,pKt,mKt,C9,hKt,w9,T9,gKt,E9,D9,O9,_Kt,k9,A9;J(855,521,{110:1,95:1,94:1,57:1,54:1,101:1,868:1},U_),Q.Jh=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new YP(this,0)),this.c):(!this.c&&(this.c=new YP(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new YP(this,0)),F(FA(this.c,(HH(),S9)),163)):(!this.c&&(this.c=new YP(this,0)),F(F(FA(this.c,(HH(),S9)),163),221)).Ul();case 2:return n?(!this.b&&(this.b=new YP(this,2)),this.b):(!this.b&&(this.b=new YP(this,2)),this.b.b)}return EM(this,e-DO(this.gi()),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():this.gi(),e),t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 0:return!this.c&&(this.c=new YP(this,0)),YV(this.c,e,n);case 1:return(!this.c&&(this.c=new YP(this,0)),F(F(FA(this.c,(HH(),S9)),163),72)).Wk(e,n);case 2:return!this.b&&(this.b=new YP(this,2)),YV(this.b,e,n)}return r=F(pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():this.gi(),t),69),r.vk().zk(this,MPe(this),t-DO(this.gi()),e,n)},Q.Uh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new YP(this,0)),F(FA(this.c,(HH(),S9)),163)).dc();case 2:return!!this.b&&this.b.i!=0}return _j(this,e-DO(this.gi()),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():this.gi(),e))},Q._h=function(e,t){switch(e){case 0:!this.c&&(this.c=new YP(this,0)),gO(this.c,t);return;case 1:(!this.c&&(this.c=new YP(this,0)),F(F(FA(this.c,(HH(),S9)),163),221)).Wb(t);return;case 2:!this.b&&(this.b=new YP(this,2)),gO(this.b,t);return}_L(this,e-DO(this.gi()),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():this.gi(),e),t)},Q.gi=function(){return HH(),rKt},Q.ii=function(e){switch(e){case 0:!this.c&&(this.c=new YP(this,0)),LH(this.c);return;case 1:(!this.c&&(this.c=new YP(this,0)),F(FA(this.c,(HH(),S9)),163)).$b();return;case 2:!this.b&&(this.b=new YP(this,2)),LH(this.b);return}NI(this,e-DO(this.gi()),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():this.gi(),e))},Q.Ib=function(){var e;return this.j&4?XB(this):(e=new vT(XB(this)),e.a+=` (mixed: `,QC(e,this.c),e.a+=`, anyAttribute: `,QC(e,this.b),e.a+=`)`,e.a)},R(bX,`AnyTypeImpl`,855),J(693,521,{110:1,95:1,94:1,57:1,54:1,101:1,2148:1,693:1},hd),Q.Jh=function(e,t,n){switch(e){case 0:return this.a;case 1:return this.b}return EM(this,e-DO((HH(),C9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():C9,e),t,n)},Q.Uh=function(e){switch(e){case 0:return this.a!=null;case 1:return this.b!=null}return _j(this,e-DO((HH(),C9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():C9,e))},Q._h=function(e,t){switch(e){case 0:Pm(this,aE(t));return;case 1:Im(this,aE(t));return}_L(this,e-DO((HH(),C9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():C9,e),t)},Q.gi=function(){return HH(),C9},Q.ii=function(e){switch(e){case 0:this.a=null;return;case 1:this.b=null;return}NI(this,e-DO((HH(),C9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():C9,e))},Q.Ib=function(){var e;return this.j&4?XB(this):(e=new vT(XB(this)),e.a+=` (data: `,$C(e,this.a),e.a+=`, target: `,$C(e,this.b),e.a+=`)`,e.a)},Q.a=null,Q.b=null,R(bX,`ProcessingInstructionImpl`,693),J(694,855,{110:1,95:1,94:1,57:1,54:1,101:1,868:1,2149:1,694:1},Qre),Q.Jh=function(e,t,n){switch(e){case 0:return n?(!this.c&&(this.c=new YP(this,0)),this.c):(!this.c&&(this.c=new YP(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new YP(this,0)),F(FA(this.c,(HH(),S9)),163)):(!this.c&&(this.c=new YP(this,0)),F(F(FA(this.c,(HH(),S9)),163),221)).Ul();case 2:return n?(!this.b&&(this.b=new YP(this,2)),this.b):(!this.b&&(this.b=new YP(this,2)),this.b.b);case 3:return!this.c&&(this.c=new YP(this,0)),aE(TH(this.c,(HH(),T9),!0));case 4:return zme(this.a,(!this.c&&(this.c=new YP(this,0)),aE(TH(this.c,(HH(),T9),!0))));case 5:return this.a}return EM(this,e-DO((HH(),w9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():w9,e),t,n)},Q.Uh=function(e){switch(e){case 0:return!!this.c&&this.c.i!=0;case 1:return!(!this.c&&(this.c=new YP(this,0)),F(FA(this.c,(HH(),S9)),163)).dc();case 2:return!!this.b&&this.b.i!=0;case 3:return!this.c&&(this.c=new YP(this,0)),aE(TH(this.c,(HH(),T9),!0))!=null;case 4:return zme(this.a,(!this.c&&(this.c=new YP(this,0)),aE(TH(this.c,(HH(),T9),!0))))!=null;case 5:return!!this.a}return _j(this,e-DO((HH(),w9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():w9,e))},Q._h=function(e,t){switch(e){case 0:!this.c&&(this.c=new YP(this,0)),gO(this.c,t);return;case 1:(!this.c&&(this.c=new YP(this,0)),F(F(FA(this.c,(HH(),S9)),163),221)).Wb(t);return;case 2:!this.b&&(this.b=new YP(this,2)),gO(this.b,t);return;case 3:tOe(this,aE(t));return;case 4:tOe(this,Rme(this.a,t));return;case 5:Fm(this,F(t,159));return}_L(this,e-DO((HH(),w9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():w9,e),t)},Q.gi=function(){return HH(),w9},Q.ii=function(e){switch(e){case 0:!this.c&&(this.c=new YP(this,0)),LH(this.c);return;case 1:(!this.c&&(this.c=new YP(this,0)),F(FA(this.c,(HH(),S9)),163)).$b();return;case 2:!this.b&&(this.b=new YP(this,2)),LH(this.b);return;case 3:!this.c&&(this.c=new YP(this,0)),AH(this.c,(HH(),T9),null);return;case 4:tOe(this,Rme(this.a,null));return;case 5:this.a=null;return}NI(this,e-DO((HH(),w9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():w9,e))},R(bX,`SimpleAnyTypeImpl`,694),J(695,521,{110:1,95:1,94:1,57:1,54:1,101:1,2150:1,695:1},$re),Q.Jh=function(e,t,n){switch(e){case 0:return n?(!this.a&&(this.a=new YP(this,0)),this.a):(!this.a&&(this.a=new YP(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new pM((pU(),o9),d9,this,1)),this.b):(!this.b&&(this.b=new pM((pU(),o9),d9,this,1)),dM(this.b));case 2:return n?(!this.c&&(this.c=new pM((pU(),o9),d9,this,2)),this.c):(!this.c&&(this.c=new pM((pU(),o9),d9,this,2)),dM(this.c));case 3:return!this.a&&(this.a=new YP(this,0)),FA(this.a,(HH(),D9));case 4:return!this.a&&(this.a=new YP(this,0)),FA(this.a,(HH(),O9));case 5:return!this.a&&(this.a=new YP(this,0)),FA(this.a,(HH(),k9));case 6:return!this.a&&(this.a=new YP(this,0)),FA(this.a,(HH(),A9))}return EM(this,e-DO((HH(),E9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():E9,e),t,n)},Q.Sh=function(e,t,n){var r;switch(t){case 0:return!this.a&&(this.a=new YP(this,0)),YV(this.a,e,n);case 1:return!this.b&&(this.b=new pM((pU(),o9),d9,this,1)),SE(this.b,e,n);case 2:return!this.c&&(this.c=new pM((pU(),o9),d9,this,2)),SE(this.c,e,n);case 5:return!this.a&&(this.a=new YP(this,0)),jpe(FA(this.a,(HH(),k9)),e,n)}return r=F(pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():(HH(),E9),t),69),r.vk().zk(this,MPe(this),t-DO((HH(),E9)),e,n)},Q.Uh=function(e){switch(e){case 0:return!!this.a&&this.a.i!=0;case 1:return!!this.b&&this.b.f!=0;case 2:return!!this.c&&this.c.f!=0;case 3:return!this.a&&(this.a=new YP(this,0)),!WC(FA(this.a,(HH(),D9)));case 4:return!this.a&&(this.a=new YP(this,0)),!WC(FA(this.a,(HH(),O9)));case 5:return!this.a&&(this.a=new YP(this,0)),!WC(FA(this.a,(HH(),k9)));case 6:return!this.a&&(this.a=new YP(this,0)),!WC(FA(this.a,(HH(),A9)))}return _j(this,e-DO((HH(),E9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():E9,e))},Q._h=function(e,t){switch(e){case 0:!this.a&&(this.a=new YP(this,0)),gO(this.a,t);return;case 1:!this.b&&(this.b=new pM((pU(),o9),d9,this,1)),GP(this.b,t);return;case 2:!this.c&&(this.c=new pM((pU(),o9),d9,this,2)),GP(this.c,t);return;case 3:!this.a&&(this.a=new YP(this,0)),b_(FA(this.a,(HH(),D9))),!this.a&&(this.a=new YP(this,0)),Jw(FA(this.a,D9),F(t,17));return;case 4:!this.a&&(this.a=new YP(this,0)),b_(FA(this.a,(HH(),O9))),!this.a&&(this.a=new YP(this,0)),Jw(FA(this.a,O9),F(t,17));return;case 5:!this.a&&(this.a=new YP(this,0)),b_(FA(this.a,(HH(),k9))),!this.a&&(this.a=new YP(this,0)),Jw(FA(this.a,k9),F(t,17));return;case 6:!this.a&&(this.a=new YP(this,0)),b_(FA(this.a,(HH(),A9))),!this.a&&(this.a=new YP(this,0)),Jw(FA(this.a,A9),F(t,17));return}_L(this,e-DO((HH(),E9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():E9,e),t)},Q.gi=function(){return HH(),E9},Q.ii=function(e){switch(e){case 0:!this.a&&(this.a=new YP(this,0)),LH(this.a);return;case 1:!this.b&&(this.b=new pM((pU(),o9),d9,this,1)),this.b.c.$b();return;case 2:!this.c&&(this.c=new pM((pU(),o9),d9,this,2)),this.c.c.$b();return;case 3:!this.a&&(this.a=new YP(this,0)),b_(FA(this.a,(HH(),D9)));return;case 4:!this.a&&(this.a=new YP(this,0)),b_(FA(this.a,(HH(),O9)));return;case 5:!this.a&&(this.a=new YP(this,0)),b_(FA(this.a,(HH(),k9)));return;case 6:!this.a&&(this.a=new YP(this,0)),b_(FA(this.a,(HH(),A9)));return}NI(this,e-DO((HH(),E9)),pN(this.j&2?(!this.k&&(this.k=new sp),this.k).Mk():E9,e))},Q.Ib=function(){var e;return this.j&4?XB(this):(e=new vT(XB(this)),e.a+=` (mixed: `,QC(e,this.a),e.a+=`)`,e.a)},R(bX,`XMLTypeDocumentRootImpl`,695),J(2058,738,{110:1,95:1,94:1,487:1,158:1,57:1,115:1,54:1,101:1,162:1,119:1,120:1,2151:1},id),Q.pi=function(e,t){switch(e.gk()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return t==null?null:yL(t);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return aE(t);case 6:return upe(F(t,198));case 12:case 47:case 49:case 11:return Ust(this,e,t);case 13:return t==null?null:Bat(F(t,249));case 15:case 14:return t==null?null:sCe(k(P(t)));case 17:return vQe((HH(),t));case 18:return vQe(t);case 21:case 20:return t==null?null:cCe(F(t,164).a);case 27:return dpe(F(t,198));case 30:return uYe((HH(),F(t,16)));case 31:return uYe(F(t,16));case 40:return lpe((HH(),t));case 42:return yQe((HH(),t));case 43:return yQe(t);case 59:case 48:return cpe((HH(),t));default:throw O(new lv(fY+e.ue()+pY))}},Q.qi=function(e){var t,n,r,i,a;switch(e.G==-1&&(e.G=(n=AN(e),n?qR(n.ti(),e):-1)),e.G){case 0:return t=new U_,t;case 1:return r=new hd,r;case 2:return i=new Qre,i;case 3:return a=new $re,a;default:throw O(new lv(Bvt+e.zb+pY))}},Q.ri=function(e,t){var n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_;switch(e.gk()){case 5:case 52:case 4:return t;case 6:return xqe(t);case 8:case 7:return t==null?null:jQe(t);case 9:return t==null?null:KM($V((r=OH(t,!0),r.length>0&&(RA(0,r.length),r.charCodeAt(0)==43)?(RA(1,r.length+1),r.substr(1)):r),-128,127)<<24>>24);case 10:return t==null?null:KM($V((i=OH(t,!0),i.length>0&&(RA(0,i.length),i.charCodeAt(0)==43)?(RA(1,i.length+1),i.substr(1)):i),-128,127)<<24>>24);case 11:return aE(iU(this,(HH(),oKt),t));case 12:return aE(iU(this,(HH(),sKt),t));case 13:return t==null?null:new Fy(OH(t,!0));case 15:case 14:return q3e(t);case 16:return aE(iU(this,(HH(),cKt),t));case 17:return $Ge((HH(),t));case 18:return $Ge(t);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return OH(t,!0);case 21:case 20:return p6e(t);case 22:return aE(iU(this,(HH(),lKt),t));case 23:return aE(iU(this,(HH(),uKt),t));case 24:return aE(iU(this,(HH(),dKt),t));case 25:return aE(iU(this,(HH(),fKt),t));case 26:return aE(iU(this,(HH(),pKt),t));case 27:return XKe(t);case 30:return eKe((HH(),t));case 31:return eKe(t);case 32:return t==null?null:K($V((u=OH(t,!0),u.length>0&&(RA(0,u.length),u.charCodeAt(0)==43)?(RA(1,u.length+1),u.substr(1)):u),oW,yU));case 33:return t==null?null:new jw((d=OH(t,!0),d.length>0&&(RA(0,d.length),d.charCodeAt(0)==43)?(RA(1,d.length+1),d.substr(1)):d));case 34:return t==null?null:K($V((f=OH(t,!0),f.length>0&&(RA(0,f.length),f.charCodeAt(0)==43)?(RA(1,f.length+1),f.substr(1)):f),oW,yU));case 36:return t==null?null:uR(eU((p=OH(t,!0),p.length>0&&(RA(0,p.length),p.charCodeAt(0)==43)?(RA(1,p.length+1),p.substr(1)):p)));case 37:return t==null?null:uR(eU((m=OH(t,!0),m.length>0&&(RA(0,m.length),m.charCodeAt(0)==43)?(RA(1,m.length+1),m.substr(1)):m)));case 40:return VJe((HH(),t));case 42:return tKe((HH(),t));case 43:return tKe(t);case 44:return t==null?null:new jw((h=OH(t,!0),h.length>0&&(RA(0,h.length),h.charCodeAt(0)==43)?(RA(1,h.length+1),h.substr(1)):h));case 45:return t==null?null:new jw((g=OH(t,!0),g.length>0&&(RA(0,g.length),g.charCodeAt(0)==43)?(RA(1,g.length+1),g.substr(1)):g));case 46:return OH(t,!1);case 47:return aE(iU(this,(HH(),mKt),t));case 59:case 48:return BJe((HH(),t));case 49:return aE(iU(this,(HH(),hKt),t));case 50:return t==null?null:SI($V((_=OH(t,!0),_.length>0&&(RA(0,_.length),_.charCodeAt(0)==43)?(RA(1,_.length+1),_.substr(1)):_),iX,32767)<<16>>16);case 51:return t==null?null:SI($V((a=OH(t,!0),a.length>0&&(RA(0,a.length),a.charCodeAt(0)==43)?(RA(1,a.length+1),a.substr(1)):a),iX,32767)<<16>>16);case 53:return aE(iU(this,(HH(),gKt),t));case 55:return t==null?null:SI($V((o=OH(t,!0),o.length>0&&(RA(0,o.length),o.charCodeAt(0)==43)?(RA(1,o.length+1),o.substr(1)):o),iX,32767)<<16>>16);case 56:return t==null?null:SI($V((s=OH(t,!0),s.length>0&&(RA(0,s.length),s.charCodeAt(0)==43)?(RA(1,s.length+1),s.substr(1)):s),iX,32767)<<16>>16);case 57:return t==null?null:uR(eU((c=OH(t,!0),c.length>0&&(RA(0,c.length),c.charCodeAt(0)==43)?(RA(1,c.length+1),c.substr(1)):c)));case 58:return t==null?null:uR(eU((l=OH(t,!0),l.length>0&&(RA(0,l.length),l.charCodeAt(0)==43)?(RA(1,l.length+1),l.substr(1)):l)));case 60:return t==null?null:K($V((n=OH(t,!0),n.length>0&&(RA(0,n.length),n.charCodeAt(0)==43)?(RA(1,n.length+1),n.substr(1)):n),oW,yU));case 61:return t==null?null:K($V(OH(t,!0),oW,yU));default:throw O(new lv(fY+e.ue()+pY))}};var vKt,yKt,bKt,xKt;R(bX,`XMLTypeFactoryImpl`,2058),J(605,187,{110:1,95:1,94:1,158:1,200:1,57:1,242:1,115:1,54:1,101:1,162:1,187:1,119:1,120:1,702:1,2074:1,605:1},YSe),Q.N=!1,Q.O=!1;var SKt=!1;R(bX,`XMLTypePackageImpl`,605),J(1991,1,{862:1},ad),Q.Jk=function(){return Nrt(),HKt},R(bX,`XMLTypePackageImpl/1`,1991),J(2e3,1,cX,od),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/10`,2e3),J(2001,1,cX,sd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/11`,2001),J(2002,1,cX,cd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/12`,2002),J(2003,1,cX,ld),Q.ek=function(e){return qC(e)},Q.fk=function(e){return H(KX,LU,353,e,7,1)},R(bX,`XMLTypePackageImpl/13`,2003),J(2004,1,cX,ud),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/14`,2004),J(2005,1,cX,dd),Q.ek=function(e){return N(e,16)},Q.fk=function(e){return H(NX,zG,16,e,0,1)},R(bX,`XMLTypePackageImpl/15`,2005),J(2006,1,cX,fd),Q.ek=function(e){return N(e,16)},Q.fk=function(e){return H(NX,zG,16,e,0,1)},R(bX,`XMLTypePackageImpl/16`,2006),J(2007,1,cX,pd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/17`,2007),J(2008,1,cX,md),Q.ek=function(e){return N(e,164)},Q.fk=function(e){return H(qX,LU,164,e,0,1)},R(bX,`XMLTypePackageImpl/18`,2008),J(2009,1,cX,gd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/19`,2009),J(1992,1,cX,_d),Q.ek=function(e){return N(e,868)},Q.fk=function(e){return H(v9,wU,868,e,0,1)},R(bX,`XMLTypePackageImpl/2`,1992),J(2010,1,cX,vd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/20`,2010),J(2011,1,cX,yd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/21`,2011),J(2012,1,cX,bd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/22`,2012),J(2013,1,cX,xd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/23`,2013),J(2014,1,cX,Sd),Q.ek=function(e){return N(e,198)},Q.fk=function(e){return H(X9,LU,198,e,0,2)},R(bX,`XMLTypePackageImpl/24`,2014),J(2015,1,cX,Cd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/25`,2015),J(2016,1,cX,wd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/26`,2016),J(2017,1,cX,Td),Q.ek=function(e){return N(e,16)},Q.fk=function(e){return H(NX,zG,16,e,0,1)},R(bX,`XMLTypePackageImpl/27`,2017),J(2018,1,cX,Ed),Q.ek=function(e){return N(e,16)},Q.fk=function(e){return H(NX,zG,16,e,0,1)},R(bX,`XMLTypePackageImpl/28`,2018),J(2019,1,cX,Dd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/29`,2019),J(1993,1,cX,Od),Q.ek=function(e){return N(e,693)},Q.fk=function(e){return H(y9,wU,2148,e,0,1)},R(bX,`XMLTypePackageImpl/3`,1993),J(2020,1,cX,kd),Q.ek=function(e){return N(e,14)},Q.fk=function(e){return H(JX,LU,14,e,0,1)},R(bX,`XMLTypePackageImpl/30`,2020),J(2021,1,cX,Ad),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/31`,2021),J(2022,1,cX,jd),Q.ek=function(e){return N(e,173)},Q.fk=function(e){return H(YX,LU,173,e,0,1)},R(bX,`XMLTypePackageImpl/32`,2022),J(2023,1,cX,Md),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/33`,2023),J(2024,1,cX,Nd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/34`,2024),J(2025,1,cX,Pd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/35`,2025),J(2026,1,cX,Fd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/36`,2026),J(2027,1,cX,Id),Q.ek=function(e){return N(e,16)},Q.fk=function(e){return H(NX,zG,16,e,0,1)},R(bX,`XMLTypePackageImpl/37`,2027),J(2028,1,cX,Ld),Q.ek=function(e){return N(e,16)},Q.fk=function(e){return H(NX,zG,16,e,0,1)},R(bX,`XMLTypePackageImpl/38`,2028),J(2029,1,cX,Rd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/39`,2029),J(1994,1,cX,zd),Q.ek=function(e){return N(e,694)},Q.fk=function(e){return H(b9,wU,2149,e,0,1)},R(bX,`XMLTypePackageImpl/4`,1994),J(2030,1,cX,Bd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/40`,2030),J(2031,1,cX,Vd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/41`,2031),J(2032,1,cX,Hd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/42`,2032),J(2033,1,cX,Ud),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/43`,2033),J(2034,1,cX,Wd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/44`,2034),J(2035,1,cX,Gd),Q.ek=function(e){return N(e,193)},Q.fk=function(e){return H(XX,LU,193,e,0,1)},R(bX,`XMLTypePackageImpl/45`,2035),J(2036,1,cX,Kd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/46`,2036),J(2037,1,cX,qd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/47`,2037),J(2038,1,cX,Jd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/48`,2038),J(2039,1,cX,Yd),Q.ek=function(e){return N(e,193)},Q.fk=function(e){return H(XX,LU,193,e,0,1)},R(bX,`XMLTypePackageImpl/49`,2039),J(1995,1,cX,Xd),Q.ek=function(e){return N(e,695)},Q.fk=function(e){return H(tKt,wU,2150,e,0,1)},R(bX,`XMLTypePackageImpl/5`,1995),J(2040,1,cX,Zd),Q.ek=function(e){return N(e,173)},Q.fk=function(e){return H(YX,LU,173,e,0,1)},R(bX,`XMLTypePackageImpl/50`,2040),J(2041,1,cX,Qd),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/51`,2041),J(2042,1,cX,$d),Q.ek=function(e){return N(e,14)},Q.fk=function(e){return H(JX,LU,14,e,0,1)},R(bX,`XMLTypePackageImpl/52`,2042),J(1996,1,cX,ef),Q.ek=function(e){return JC(e)},Q.fk=function(e){return H(ZX,LU,2,e,6,1)},R(bX,`XMLTypePackageImpl/6`,1996),J(1997,1,cX,tf),Q.ek=function(e){return N(e,198)},Q.fk=function(e){return H(X9,LU,198,e,0,2)},R(bX,`XMLTypePackageImpl/7`,1997),J(1998,1,cX,nf),Q.ek=function(e){return KC(e)},Q.fk=function(e){return H(UX,LU,492,e,8,1)},R(bX,`XMLTypePackageImpl/8`,1998),J(1999,1,cX,rf),Q.ek=function(e){return N(e,223)},Q.fk=function(e){return H(WX,LU,223,e,0,1)},R(bX,`XMLTypePackageImpl/9`,1999);var j9,M9,N9,P9,$;J(55,63,sW,Tv),R(wX,`RegEx/ParseException`,55),J(847,1,{},af),Q.am=function(e){return e<this.j&&yk(this.i,e)==63},Q.bm=function(){var e,t,n,r,i;if(this.c!=10)throw O(new Tv(hU((Lw(),AY))));switch(e=this.a,e){case 101:e=27;break;case 102:e=12;break;case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 120:if(aU(this),this.c!=0)throw O(new Tv(hU((Lw(),NY))));if(this.a==123){i=0,n=0;do{if(aU(this),this.c!=0)throw O(new Tv(hU((Lw(),NY))));if((i=rz(this.a))<0)break;if(n>n*16)throw O(new Tv(hU((Lw(),Uyt))));n=n*16+i}while(1);if(this.a!=125)throw O(new Tv(hU((Lw(),Wyt))));if(n>TX)throw O(new Tv(hU((Lw(),Gyt))));e=n}else{if(i=0,this.c!=0||(i=rz(this.a))<0||(n=i,aU(this),this.c!=0||(i=rz(this.a))<0))throw O(new Tv(hU((Lw(),NY))));n=n*16+i,e=n}break;case 117:if(r=0,aU(this),this.c!=0||(r=rz(this.a))<0||(t=r,aU(this),this.c!=0||(r=rz(this.a))<0)||(t=t*16+r,aU(this),this.c!=0||(r=rz(this.a))<0)||(t=t*16+r,aU(this),this.c!=0||(r=rz(this.a))<0))throw O(new Tv(hU((Lw(),NY))));t=t*16+r,e=t;break;case 118:if(aU(this),this.c!=0||(r=rz(this.a))<0||(t=r,aU(this),this.c!=0||(r=rz(this.a))<0)||(t=t*16+r,aU(this),this.c!=0||(r=rz(this.a))<0)||(t=t*16+r,aU(this),this.c!=0||(r=rz(this.a))<0)||(t=t*16+r,aU(this),this.c!=0||(r=rz(this.a))<0)||(t=t*16+r,aU(this),this.c!=0||(r=rz(this.a))<0))throw O(new Tv(hU((Lw(),NY))));if(t=t*16+r,t>TX)throw O(new Tv(hU((Lw(),`parser.descappe.4`))));e=t;break;case 65:case 90:case 122:throw O(new Tv(hU((Lw(),Kyt))))}return e},Q.cm=function(e){var t,n;switch(e){case 100:n=(this.e&32)==32?tU(`Nd`,!0):(dU(),B9);break;case 68:n=(this.e&32)==32?tU(`Nd`,!1):(dU(),jKt);break;case 119:n=(this.e&32)==32?tU(`IsWord`,!0):(dU(),U9);break;case 87:n=(this.e&32)==32?tU(`IsWord`,!1):(dU(),NKt);break;case 115:n=(this.e&32)==32?tU(`IsSpace`,!0):(dU(),H9);break;case 83:n=(this.e&32)==32?tU(`IsSpace`,!1):(dU(),MKt);break;default:throw O(new X_((t=e,hxt+t.toString(16))))}return n},Q.dm=function(e){var t,n,r,i,a,o,s,c,l,u,d,f;for(this.b=1,aU(this),t=null,this.c==0&&this.a==94?(aU(this),e?u=(dU(),dU(),++W9,new VA(5)):(t=(dU(),dU(),++W9,new VA(4)),EV(t,0,TX),u=(++W9,new VA(4)))):u=(dU(),dU(),++W9,new VA(4)),i=!0;(f=this.c)!=1&&(f!=0||this.a!=93||i);){if(i=!1,n=this.a,r=!1,f==10)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:kH(u,this.cm(n)),r=!0;break;case 105:case 73:case 99:case 67:n=this.tm(u,n),n<0&&(r=!0);break;case 112:case 80:if(d=K4e(this,n),!d)throw O(new Tv(hU((Lw(),Nyt))));kH(u,d),r=!0;break;default:n=this.bm()}else if(f==20){if(o=ME(this.i,58,this.d),o<0)throw O(new Tv(hU((Lw(),Pyt))));if(s=!0,yk(this.i,this.d)==94&&(++this.d,s=!1),a=Yk(this.i,this.d,o),c=SNe(a,s,(this.e&512)==512),!c)throw O(new Tv(hU((Lw(),Fyt))));if(kH(u,c),r=!0,o+1>=this.j||yk(this.i,o+1)!=93)throw O(new Tv(hU((Lw(),Pyt))));this.d=o+2}if(aU(this),!r){if(this.c!=0||this.a!=45)EV(u,n,n);else{if(aU(this),(f=this.c)==1)throw O(new Tv(hU((Lw(),MY))));f==0&&this.a==93?(EV(u,n,n),EV(u,45,45)):(l=this.a,f==10&&(l=this.bm()),aU(this),EV(u,n,l))}}(this.e&$U)==$U&&this.c==0&&this.a==44&&aU(this)}if(this.c==1)throw O(new Tv(hU((Lw(),MY))));return t&&(GH(t,u),u=t),YB(u),FH(u),this.b=0,aU(this),u},Q.em=function(){for(var e,t,n=this.dm(!1),r;(r=this.c)!=7;)if(e=this.a,r==0&&(e==45||e==38)||r==4){if(aU(this),this.c!=9)throw O(new Tv(hU((Lw(),Byt))));if(t=this.dm(!1),r==4)kH(n,t);else if(e==45)GH(n,t);else if(e==38)Dst(n,t);else throw O(new X_(`ASSERT`))}else throw O(new Tv(hU((Lw(),Vyt))));return aU(this),n},Q.fm=function(){var e=this.a-48,t=(dU(),dU(),++W9,new nA(12,null,e));return!this.g&&(this.g=new w_),v_(this.g,new Kg(e)),aU(this),t},Q.gm=function(){return aU(this),dU(),FKt},Q.hm=function(){return aU(this),dU(),PKt},Q.im=function(){throw O(new Tv(hU((Lw(),PY))))},Q.jm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.km=function(){return aU(this),vVe()},Q.lm=function(){return aU(this),dU(),LKt},Q.mm=function(){return aU(this),dU(),zKt},Q.nm=function(){var e;if(this.d>=this.j||((e=yk(this.i,this.d++))&65504)!=64)throw O(new Tv(hU((Lw(),kyt))));return aU(this),dU(),dU(),++W9,new _D(0,e-64)},Q.om=function(){return aU(this),rit()},Q.pm=function(){return aU(this),dU(),BKt},Q.qm=function(){var e=(dU(),dU(),++W9,new _D(0,105));return aU(this),e},Q.rm=function(){return aU(this),dU(),RKt},Q.sm=function(){return aU(this),dU(),IKt},Q.tm=function(e,t){return this.bm()},Q.um=function(){return aU(this),dU(),kKt},Q.vm=function(){var e,t,n,r,i;if(this.d+1>=this.j)throw O(new Tv(hU((Lw(),Eyt))));if(r=-1,t=null,e=yk(this.i,this.d),49<=e&&e<=57){if(r=e-48,!this.g&&(this.g=new w_),v_(this.g,new Kg(r)),++this.d,yk(this.i,this.d)!=41)throw O(new Tv(hU((Lw(),jY))));++this.d}else switch(e==63&&--this.d,aU(this),t=Aut(this),t.e){case 20:case 21:case 22:case 23:break;case 8:if(this.c!=7)throw O(new Tv(hU((Lw(),jY))));break;default:throw O(new Tv(hU((Lw(),Dyt))))}if(aU(this),i=aR(this),n=null,i.e==2){if(i.Om()!=2)throw O(new Tv(hU((Lw(),Oyt))));n=i.Km(1),i=i.Km(0)}if(this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),dU(),dU(),++W9,new KPe(r,t,i,n)},Q.wm=function(){return aU(this),dU(),AKt},Q.xm=function(){var e;if(aU(this),e=tO(24,aR(this)),this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),e},Q.ym=function(){var e;if(aU(this),e=tO(20,aR(this)),this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),e},Q.zm=function(){var e;if(aU(this),e=tO(22,aR(this)),this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),e},Q.Am=function(){var e=0,t,n=0,r,i;for(t=-1;this.d<this.j&&(t=yk(this.i,this.d),i=Z3e(t),i!=0);)e|=i,++this.d;if(this.d>=this.j)throw O(new Tv(hU((Lw(),wyt))));if(t==45){for(++this.d;this.d<this.j&&(t=yk(this.i,this.d),i=Z3e(t),i!=0);)n|=i,++this.d;if(this.d>=this.j)throw O(new Tv(hU((Lw(),wyt))))}if(t==58){if(++this.d,aU(this),r=Lxe(aR(this),e,n),this.c!=7)throw O(new Tv(hU((Lw(),jY))));aU(this)}else if(t==41)++this.d,aU(this),r=Lxe(aR(this),e,n);else throw O(new Tv(hU((Lw(),Tyt))));return r},Q.Bm=function(){var e;if(aU(this),e=tO(21,aR(this)),this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),e},Q.Cm=function(){var e;if(aU(this),e=tO(23,aR(this)),this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),e},Q.Dm=function(){var e,t;if(aU(this),e=this.f++,t=ixe(aR(this),e),this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),t},Q.Em=function(){var e;if(aU(this),e=ixe(aR(this),0),this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),e},Q.Fm=function(e){return aU(this),this.c==5?(aU(this),SD(e,(dU(),dU(),++W9,new Tj(9,e)))):SD(e,(dU(),dU(),++W9,new Tj(3,e)))},Q.Gm=function(e){var t;return aU(this),t=(dU(),dU(),++W9,new Fw(2)),this.c==5?(aU(this),IH(t,V9),IH(t,e)):(IH(t,e),IH(t,V9)),t},Q.Hm=function(e){return aU(this),this.c==5?(aU(this),dU(),dU(),++W9,new Tj(9,e)):(dU(),dU(),++W9,new Tj(3,e))},Q.a=0,Q.b=0,Q.c=0,Q.d=0,Q.e=0,Q.f=1,Q.g=null,Q.j=0,R(wX,`RegEx/RegexParser`,847),J(1978,847,{},eie),Q.am=function(e){return!1},Q.bm=function(){return het(this)},Q.cm=function(e){return eH(e)},Q.dm=function(e){return Qut(this)},Q.em=function(){throw O(new Tv(hU((Lw(),PY))))},Q.fm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.gm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.hm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.im=function(){return aU(this),eH(67)},Q.jm=function(){return aU(this),eH(73)},Q.km=function(){throw O(new Tv(hU((Lw(),PY))))},Q.lm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.mm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.nm=function(){return aU(this),eH(99)},Q.om=function(){throw O(new Tv(hU((Lw(),PY))))},Q.pm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.qm=function(){return aU(this),eH(105)},Q.rm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.sm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.tm=function(e,t){return kH(e,eH(t)),-1},Q.um=function(){return aU(this),dU(),dU(),++W9,new _D(0,94)},Q.vm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.wm=function(){return aU(this),dU(),dU(),++W9,new _D(0,36)},Q.xm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.ym=function(){throw O(new Tv(hU((Lw(),PY))))},Q.zm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.Am=function(){throw O(new Tv(hU((Lw(),PY))))},Q.Bm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.Cm=function(){throw O(new Tv(hU((Lw(),PY))))},Q.Dm=function(){var e;if(aU(this),e=ixe(aR(this),0),this.c!=7)throw O(new Tv(hU((Lw(),jY))));return aU(this),e},Q.Em=function(){throw O(new Tv(hU((Lw(),PY))))},Q.Fm=function(e){return aU(this),SD(e,(dU(),dU(),++W9,new Tj(3,e)))},Q.Gm=function(e){var t;return aU(this),t=(dU(),dU(),++W9,new Fw(2)),IH(t,e),IH(t,V9),t},Q.Hm=function(e){return aU(this),dU(),dU(),++W9,new Tj(3,e)};var F9=null,I9=null;R(wX,`RegEx/ParserForXMLSchema`,1978),J(123,1,DX,Wg),Q.Im=function(e){throw O(new X_(`Not supported.`))},Q.Jm=function(){return-1},Q.Km=function(e){return null},Q.Lm=function(){return null},Q.Mm=function(e){},Q.Nm=function(e){},Q.Om=function(){return 0},Q.Ib=function(){return this.Pm(0)},Q.Pm=function(e){return this.e==11?`.`:``},Q.e=0;var CKt,L9,R9,wKt,TKt,z9=null,B9,EKt=null,DKt,V9,OKt=null,kKt,AKt,jKt,MKt,NKt,PKt,H9,FKt,IKt,LKt,RKt,U9,zKt,BKt,W9=0,VKt=R(wX,`RegEx/Token`,123);J(143,123,{3:1,143:1,123:1},VA),Q.Pm=function(e){var t,n,r;if(this.e==4){if(this==DKt)n=`.`;else if(this==B9)n=`\\d`;else if(this==U9)n=`\\w`;else if(this==H9)n=`\\s`;else{for(r=new Lv,r.a+=`[`,t=0;t<this.b.length;t+=2)(e&$U)!=0&&t>0&&(r.a+=`,`),this.b[t]===this.b[t+1]?$C(r,mH(this.b[t])):($C(r,mH(this.b[t])),r.a+=`-`,$C(r,mH(this.b[t+1])));r.a+=`]`,n=r.a}}else if(this==jKt)n=`\\D`;else if(this==NKt)n=`\\W`;else if(this==MKt)n=`\\S`;else{for(r=new Lv,r.a+=`[^`,t=0;t<this.b.length;t+=2)(e&$U)!=0&&t>0&&(r.a+=`,`),this.b[t]===this.b[t+1]?$C(r,mH(this.b[t])):($C(r,mH(this.b[t])),r.a+=`-`,$C(r,mH(this.b[t+1])));r.a+=`]`,n=r.a}return n},Q.a=!1,Q.c=!1,R(wX,`RegEx/RangeToken`,143),J(603,1,{603:1},Kg),Q.a=0,R(wX,`RegEx/RegexParser/ReferencePosition`,603),J(602,1,{3:1,602:1},Ooe),Q.Fb=function(e){var t;return e==null||!N(e,602)?!1:(t=F(e,602),xE(this.b,t.b)&&this.a==t.a)},Q.Hb=function(){return qF(this.b+`/`+M7e(this.a))},Q.Ib=function(){return this.c.Pm(this.a)},Q.a=0,R(wX,`RegEx/RegularExpression`,602),J(229,123,DX,_D),Q.Jm=function(){return this.a},Q.Pm=function(e){var t,n,r;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:r=`\\`+Hpe(this.a&uW);break;case 12:r=`\\f`;break;case 10:r=`\\n`;break;case 13:r=`\\r`;break;case 9:r=`\\t`;break;case 27:r=`\\e`;break;default:this.a>=qW?(n=(t=this.a>>>0,`0`+t.toString(16)),r=`\\v`+Yk(n,n.length-6,n.length)):r=``+Hpe(this.a&uW)}break;case 8:r=this==kKt||this==AKt?``+Hpe(this.a&uW):`\\`+Hpe(this.a&uW);break;default:r=null}return r},Q.a=0,R(wX,`RegEx/Token/CharToken`,229),J(326,123,DX,Tj),Q.Km=function(e){return this.a},Q.Mm=function(e){this.b=e},Q.Nm=function(e){this.c=e},Q.Om=function(){return 1},Q.Pm=function(e){var t;if(this.e==3){if(this.c<0&&this.b<0)t=this.a.Pm(e)+`*`;else if(this.c==this.b)t=this.a.Pm(e)+`{`+this.c+`}`;else if(this.c>=0&&this.b>=0)t=this.a.Pm(e)+`{`+this.c+`,`+this.b+`}`;else if(this.c>=0&&this.b<0)t=this.a.Pm(e)+`{`+this.c+`,}`;else throw O(new X_(`Token#toString(): CLOSURE `+this.c+CU+this.b))}else if(this.c<0&&this.b<0)t=this.a.Pm(e)+`*?`;else if(this.c==this.b)t=this.a.Pm(e)+`{`+this.c+`}?`;else if(this.c>=0&&this.b>=0)t=this.a.Pm(e)+`{`+this.c+`,`+this.b+`}?`;else if(this.c>=0&&this.b<0)t=this.a.Pm(e)+`{`+this.c+`,}?`;else throw O(new X_(`Token#toString(): NONGREEDYCLOSURE `+this.c+CU+this.b));return t},Q.b=0,Q.c=0,R(wX,`RegEx/Token/ClosureToken`,326),J(848,123,DX,Cxe),Q.Km=function(e){return e==0?this.a:this.b},Q.Om=function(){return 2},Q.Pm=function(e){return this.b.e==3&&this.b.Km(0)==this.a?this.a.Pm(e)+`+`:this.b.e==9&&this.b.Km(0)==this.a?this.a.Pm(e)+`+?`:this.a.Pm(e)+(``+this.b.Pm(e))},R(wX,`RegEx/Token/ConcatToken`,848),J(1976,123,DX,KPe),Q.Km=function(e){if(e==0)return this.d;if(e==1)return this.b;throw O(new X_(`Internal Error: `+e))},Q.Om=function(){return this.b?2:1},Q.Pm=function(e){var t=this.c>0?`(?(`+this.c+`)`:this.a.e==8?`(?(`+this.a+`)`:`(?`+this.a;return this.b?t+=this.d+`|`+this.b+`)`:t+=this.d+`)`,t},Q.c=0,R(wX,`RegEx/Token/ConditionToken`,1976),J(1977,123,DX,mDe),Q.Km=function(e){return this.b},Q.Om=function(){return 1},Q.Pm=function(e){return`(?`+(this.a==0?``:M7e(this.a))+(this.c==0?``:M7e(this.c))+`:`+this.b.Pm(e)+`)`},Q.a=0,Q.c=0,R(wX,`RegEx/Token/ModifierToken`,1977),J(849,123,DX,gSe),Q.Km=function(e){return this.a},Q.Om=function(){return 1},Q.Pm=function(e){var t=null;switch(this.e){case 6:t=this.b==0?`(?:`+this.a.Pm(e)+`)`:`(`+this.a.Pm(e)+`)`;break;case 20:t=`(?=`+this.a.Pm(e)+`)`;break;case 21:t=`(?!`+this.a.Pm(e)+`)`;break;case 22:t=`(?<=`+this.a.Pm(e)+`)`;break;case 23:t=`(?<!`+this.a.Pm(e)+`)`;break;case 24:t=`(?>`+this.a.Pm(e)+`)`}return t},Q.b=0,R(wX,`RegEx/Token/ParenToken`,849),J(537,123,{3:1,123:1,537:1},nA),Q.Lm=function(){return this.b},Q.Pm=function(e){return this.e==12?`\\`+this.a:$8e(this.b)},Q.a=0,R(wX,`RegEx/Token/StringToken`,537),J(484,123,DX,Fw),Q.Im=function(e){IH(this,e)},Q.Km=function(e){return F(XO(this.a,e),123)},Q.Om=function(){return this.a?this.a.a.c.length:0},Q.Pm=function(e){var t,n,r,i,a;if(this.e==1){if(this.a.a.c.length==2)t=F(XO(this.a,0),123),n=F(XO(this.a,1),123),i=n.e==3&&n.Km(0)==t?t.Pm(e)+`+`:n.e==9&&n.Km(0)==t?t.Pm(e)+`+?`:t.Pm(e)+(``+n.Pm(e));else{for(a=new Lv,r=0;r<this.a.a.c.length;r++)$C(a,F(XO(this.a,r),123).Pm(e));i=a.a}return i}if(this.a.a.c.length==2&&F(XO(this.a,1),123).e==7)i=F(XO(this.a,0),123).Pm(e)+`?`;else if(this.a.a.c.length==2&&F(XO(this.a,0),123).e==7)i=F(XO(this.a,1),123).Pm(e)+`??`;else{for(a=new Lv,$C(a,F(XO(this.a,0),123).Pm(e)),r=1;r<this.a.a.c.length;r++)a.a+=`|`,$C(a,F(XO(this.a,r),123).Pm(e));i=a.a}return i},R(wX,`RegEx/Token/UnionToken`,484),J(534,1,{611:1},Wy),Q.Ib=function(){return this.a.b},R(Ext,`XMLTypeUtil/PatternMatcherImpl`,534),J(1741,1554,{},of);var HKt;R(Ext,`XMLTypeValidator`,1741),J(277,1,WU,jD),Q.Jc=function(e){Lj(this,e)},Q.Kc=function(){return(this.b-this.a)*this.c<0?G9:new lT(this)},Q.a=0,Q.b=0,Q.c=0;var G9;R(Dxt,`ExclusiveRange`,277),J(1112,1,IU,sf),Q.Rb=function(e){F(e,14),Zle()},Q.Nb=function(e){sO(this,e)},Q.Pb=function(){return woe()},Q.Ub=function(){return Toe()},Q.Wb=function(e){F(e,14),$le()},Q.Ob=function(){return!1},Q.Sb=function(){return!1},Q.Tb=function(){return-1},Q.Vb=function(){return-1},Q.Qb=function(){throw O(new fv(Axt))},R(Dxt,`ExclusiveRange/1`,1112),J(261,1,IU,lT),Q.Rb=function(e){F(e,14),Qle()},Q.Nb=function(e){sO(this,e)},Q.Pb=function(){return OHe(this)},Q.Ub=function(){return ANe(this)},Q.Wb=function(e){F(e,14),eue()},Q.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},Q.Sb=function(){return this.b>0},Q.Tb=function(){return this.b},Q.Vb=function(){return this.b-1},Q.Qb=function(){throw O(new fv(Axt))},Q.a=0,Q.b=0,R(Dxt,`ExclusiveRange/RangeIterator`,261);var K9=tk(BY,`C`),q9=tk(UY,`I`),J9=tk(_U,`Z`),Y9=tk(WY,`J`),X9=tk(zY,`B`),Z9=tk(VY,`D`),Q9=tk(HY,`F`),$9=tk(GY,`S`),UKt=oD(`org.eclipse.elk.core.labels`,`ILabelManager`),WKt=oD(vY,`DiagnosticChain`),GKt=oD(Ibt,`ResourceSet`),KKt=R(vY,`InvocationTargetException`,null),qKt=Ske,JKt=iQe;MIe(lre),rRe(`permProps`,[[[`locale`,`default`],[jxt,`gecko1_8`]],[[`locale`,`default`],[jxt,`safari`]]]),JKt(null,`elk`,null)}).call(this)}).call(this,typeof global<`u`?global:typeof self<`u`?self:typeof window<`u`?window:{})},{}],3:[function(e,t,n){function r(e){"@babel/helpers - typeof";return r=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,o(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e){var t=s(e,`string`);return r(t)==`symbol`?t:t+``}function s(e,t){if(r(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||`default`);if(r(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function c(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function l(e,t,n){return t=p(t),u(e,f()?Reflect.construct(t,n||[],p(e).constructor):t.apply(e,n))}function u(e,t){if(t&&(r(t)==`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return d(e)}function d(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(f=function(){return!!e})()}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function m(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}var g=function(t){function n(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};c(this,n);var r=Object.assign({},t),i=!1;try{e.resolve(`web-worker`),i=!0}catch{}if(t.workerUrl){if(i){var a=e("web-worker");r.workerFactory=function(e){return new a(e)}}else console.warn(`Web worker requested but 'web-worker' package not installed.
83
83
  Consider installing the package or pass your own 'workerFactory' to ELK's constructor.
84
- ... Falling back to non-web worker version.`)}if(!r.workerFactory){var o=e("./elk-worker.min.js").Worker;r.workerFactory=function(e){return new o(e)}}return l(this,n,[r])}return m(n,t),a(n)}(e("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=g,g.default=g},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(e,t,n){t.exports=typeof Worker<`u`?Worker:void 0},{}]},{},[3])(3)})}))();var tne=`Overpass`,nne=2e3,rne=[{weight:400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UAdABoAG8AcgBzACAAKABoAHQAdABwAHMAOgAvAC8AZwBpAHQAaAB1AGIALgBjAG8AbQAvAFIAZQBkAEgAYQB0AE8AZgBmAGkAYwBpAGEAbAAvAE8AdgBlAHIAcABhAHMAcwApAE8AdgBlAHIAcABhAHMAcwBSAGUAZwB1AGwAYQByADQALgAwADAAMAA7AEQARQBMAFYAOwBPAHYAZQByAHAAYQBzAHMALQBSAGUAZwB1AGwAYQByAE8AdgBlAHIAcABhAHMAcwAgAFIAZQBnAHUAbABhAHIAVgBlAHIAcwBpAG8AbgAgADQALgAwADAAMABPAHYAZQByAHAAYQBzAHMALQBSAGUAZwB1AGwAYQByAAMAAAAAAAD/RACoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAB//8ADw==`,advances:{32:470,33:546,34:806,35:1366,36:1176,37:1740,38:1354,39:428,40:686,41:686,42:1066,43:1290,44:450,45:798,46:450,47:980,48:1284,49:746,50:1224,51:1204,52:1242,53:1242,54:1194,55:1044,56:1222,57:1194,58:450,59:450,60:1290,61:1290,62:1290,63:1028,64:1618,65:1358,66:1312,67:1294,68:1364,69:1198,70:1124,71:1376,72:1400,73:566,74:1092,75:1320,76:1118,77:1608,78:1416,79:1460,80:1260,81:1460,82:1330,83:1198,84:1166,85:1378,86:1304,87:1680,88:1206,89:1282,90:1300,91:752,92:980,93:752,94:1290,95:980,96:736,97:1052,98:1124,99:1e3,100:1124,101:1076,102:666,103:1126,104:1126,105:508,106:508,107:1062,108:524,109:1694,110:1126,111:1116,112:1130,113:1126,114:778,115:938,116:756,117:1126,118:1024,119:1430,120:1034,121:1058,122:1010,123:744,124:544,125:744,126:1290,160:470,161:542,162:1030,163:1194,164:1266,165:1132,166:544,167:1066,168:736,169:1718,170:900,171:1030,172:1290,173:798,174:1718,175:736,176:818,177:1290,178:724,179:728,180:736,181:1136,182:1262,183:450,184:736,185:398,186:934,187:1030,188:1364,189:1452,190:1626,191:1028,192:1358,193:1358,194:1358,195:1358,196:1358,197:1358,198:1722,199:1294,200:1198,201:1198,202:1198,203:1198,204:566,205:566,206:566,207:566,208:1364,209:1416,210:1460,211:1460,212:1460,213:1460,214:1460,215:1290,216:1460,217:1378,218:1378,219:1378,220:1378,221:1282,222:1264,223:1124,224:1052,225:1052,226:1052,227:1052,228:1052,229:1052,230:1714,231:1e3,232:1076,233:1076,234:1076,235:1076,236:508,237:508,238:508,239:508,240:1116,241:1126,242:1116,243:1116,244:1116,245:1116,246:1116,247:1290,248:1116,249:1126,250:1126,251:1126,252:1126,253:1058,254:1130,255:1058,8211:1020,8212:1180,8230:1882}},{weight:700,base64:`AAEAAAALAIAAAwAwT1MvMm3EfloAADycAAAAYGNtYXBHskUyAAA8/AAAAcZnYXNwAAAAEAAAQIQAAAAIZ2x5Ztd6c70AAAC8AAA2cmhlYWQyUqYWAAA4+AAAADZoaGVhDdYCrgAAPHgAAAAkaG10eG7yUYsAADkwAAADRmxvY2FAVjNTAAA3UAAAAaZtYXhwAOEAsgAANzAAAAAgbmFtZSLcOn8AAD7EAAABoHBvc3T/RwCoAABAZAAAACAAAgA8AAAFXgV4AAcAEgAAcwEzASEDIQMTIQMuAicOAgc8AhX2Ahf+6W/96W3BAW2MBxAOBQUOEAcFePqIASj+2AIVAXcRKisQECsqEQD//wA8AAAFXgcyBiYAAQAAAAcA0QEsAAD//wA8AAAFXgcyBiYAAQAAAAcAxwD7AXr//wA8AAAFXgciBiYAAQAAAAcA0AD6AAD//wA8AAAFXgcyBiYAAQAAAAcAxQCXAXoAAwA8AAAFXgbUABQAHwArAABzASYmNTQ2NjMyFhYVFAYHASEDIQMTIQMuAicOAgcTMjY1NCYjIgYVFBY8AfEqNkZ1RkV1RzQuAfH+6W/96W3BAW6MBxEOBQQOEQcsITAwISUtLQUUImc7RnNDQ3NGO2kh+u0BKP7YAhUBdxMtLBISLC0TAfcxJCQwMCQkMQD//wA8AAAFXgcjBiYAAQAAAAcAyQD8AXoAAv/WAAAGuAV4AA8AFgAAYwEhFSERIRUhESEVIREhA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KwAlgDPAIQAdQCnAIkAiACKAJUABQACAAMABwAEAAYACAALABIADwAQABEAGgAXABgAGQANACAAJQAiACMAJwAkALkAJgAyAC8AMAAxADcAKQBmAD0AOgA7AD8APAA+AEAAQwBKAEcASABJAFMAUABRAFIARQBZAF4AWwBcAGAAXQC6AF8AbABpAGoAawBxAGIAcgAAAAAABwBaAAMAAQQJAAAAsAAAAAMAAQQJAAEAEACwAAMAAQQJAAIACADAAAMAAQQJAAMAMADIAAMAAQQJAAQAGgD4AAMAAQQJAAUAGgESAAMAAQQJAAYAGgEsAEMAbwBwAHkAcgBpAGcAaAB0ACAAMgAwADIAMQAgAFQAaABlACAATwB2AGUAcgBwAGEAcwBzACAAUAByAG8AagBlAGMAdAAgAEEAdQB0AGgAbwByAHMAIAAoAGgAdAB0AHAAcwA6AC8ALwBnAGkAdABoAHUAYgAuAGMAbwBtAC8AUgBlAGQASABhAHQATwBmAGYAaQBjAGkAYQBsAC8ATwB2AGUAcgBwAGEAcwBzACkATwB2AGUAcgBwAGEAcwBzAEIAbwBsAGQANAAuADAAMAAwADsARABFAEwAVgA7AE8AdgBlAHIAcABhAHMAcwAtAEIAbwBsAGQATwB2AGUAcgBwAGEAcwBzACAAQgBvAGwAZABWAGUAcgBzAGkAbwBuACAANAAuADAAMAAwAE8AdgBlAHIAcABhAHMAcwAtAEIAbwBsAGQAAwAAAAAAAP9EAKgAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP`,advances:{32:500,33:600,34:885,35:1404,36:1207,37:1703,38:1421,39:490,40:745,41:745,42:1104,43:1272,44:498,45:829,46:486,47:1045,48:1315,49:800,50:1223,51:1199,52:1285,53:1222,54:1229,55:1073,56:1258,57:1229,58:486,59:486,60:1272,61:1272,62:1272,63:1021,64:1668,65:1434,66:1380,67:1277,68:1420,69:1248,70:1149,71:1363,72:1442,73:591,74:1115,75:1416,76:1132,77:1619,78:1436,79:1444,80:1277,81:1446,82:1379,83:1227,84:1204,85:1424,86:1364,87:1696,88:1356,89:1367,90:1278,91:786,92:1045,93:786,94:1272,95:992,96:932,97:1114,98:1154,99:1083,100:1154,101:1114,102:724,103:1155,104:1184,105:566,106:566,107:1118,108:582,109:1752,110:1184,111:1133,112:1156,113:1155,114:833,115:985,116:785,117:1184,118:1115,119:1496,120:1154,121:1136,122:1087,123:767,124:602,125:767,126:1272,160:500,161:598,162:1095,163:1207,164:1304,165:1214,166:602,167:1068,168:932,169:1700,170:893,171:1121,172:1272,173:829,174:1700,175:932,176:832,177:1272,178:746,179:724,180:932,181:1194,182:1298,183:486,184:932,185:450,186:933,187:1121,188:1440,189:1518,190:1681,191:1021,192:1434,193:1434,194:1434,195:1434,196:1434,197:1434,198:1814,199:1277,200:1248,201:1248,202:1248,203:1248,204:591,205:591,206:591,207:591,208:1420,209:1436,210:1444,211:1444,212:1444,213:1444,214:1444,215:1272,216:1444,217:1424,218:1424,219:1424,220:1424,221:1367,222:1290,223:1155,224:1114,225:1114,226:1114,227:1114,228:1114,229:1114,230:1712,231:1083,232:1114,233:1114,234:1114,235:1114,236:566,237:566,238:566,239:566,240:1133,241:1184,242:1133,243:1133,244:1133,245:1133,246:1133,247:1272,248:1133,249:1184,250:1184,251:1184,252:1184,253:1136,254:1156,255:1136,8211:1002,8212:1162,8230:2112}}],ine=new Map(rne.map(e=>[e.weight,e.advances]));function tg(e,t,n=400){let r=ine.get(n),i=0;for(let t of e)i+=r[t.codePointAt(0)]??r[77];return i*t/nne}function ane(e,t,n,r=400){if(tg(e,t,r)<=n)return e;let i=[...e];for(;i.length>0&&tg(i.join(``).trimEnd()+`…`,t,r)>n;)i.pop();return i.join(``).trimEnd()+`…`}function one(e,t,n,{size:r,fill:i,anchor:a,weight:o=400}){return`<text x="${ng(e)}" y="${ng(t)}" font-size="${r}"${o===400?``:` font-weight="${o}"`} fill="${i}"${a?` text-anchor="${a}"`:``}>${sne(n)}</text>`}var sne=e=>e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`);function ng(e){let t=Math.round(e*100)/100;return String(Object.is(t,-0)?0:t)}var cne={person:{width:200,height:76},system:{width:230,height:80},service:{width:220,height:72},component:{width:210,height:68},target:{width:240,height:84},deployment:{width:220,height:68}};function lne(){return une(`(prefers-reduced-motion: reduce)`)}function une(e){let[t,n]=(0,v.useState)(()=>window.matchMedia(e).matches);return(0,v.useEffect)(()=>{let t=window.matchMedia(e),r=()=>n(t.matches);return t.addEventListener(`change`,r),()=>t.removeEventListener(`change`,r)},[e]),t}var rg=1.15,ig=50;function ag(){let e=Gp(e=>e.domNode),t=Gp(e=>e.minZoom),n=Gp(e=>e.maxZoom),{getViewport:r,setViewport:i}=Pm();return(0,v.useEffect)(()=>{if(!e)return;let a=a=>{if(!a.ctrlKey||a.deltaMode!==WheelEvent.DOM_DELTA_PIXEL||Math.abs(a.deltaY)<ig)return;a.preventDefault(),a.stopPropagation();let o=e.getBoundingClientRect(),s=a.clientX-o.left,c=a.clientY-o.top,{x:l,y:u,zoom:d}=r(),f=Math.min(n,Math.max(t,d*rg**-Math.sign(a.deltaY)));i({x:s-(s-l)*f/d,y:c-(c-u)*f/d,zoom:f})};return e.addEventListener(`wheel`,a,{capture:!0,passive:!1}),()=>e.removeEventListener(`wheel`,a,{capture:!0})},[e,t,n,r,i]),null}function dne(e,t,n,r,i){let a=e.external?`EXT · `:``;if(e.kind===`deployment`&&i)return i;if(e.kind===`system`)return e.external?`${a}External System`:[`System`,r].filter(Boolean).join(` · `);if(e.kind===`service`||e.kind===`deployment`){let r=t?.kind===`service`&&t.type!==`app`?t.type:cg[e.kind];return a+[`${e.external?`External `:``}${r}`,n].filter(Boolean).join(` · `)}return[cg[e.kind],n].filter(Boolean).join(` · `)}function fne(e,t,n){let r=e.bundle.deployments.find(e=>e.service===n.element&&e.target===n.target&&e.environment===t);return r?.url?r.url.replace(/^https?:\/\//,``).replace(/\/$/,``):n.target===void 0?void 0:e.targets.get(n.target)?.name}var pne={person:`person`,system:`system`,service:`service`,component:`component`,deployment:`deployment`,target:`target`,datastore:`datastore`,broker:`broker`},mne=40,hne={origin:`origin`,upstream:`upstream`,downstream:`downstream`},gne={origin:`origin`,upstream:`up`,downstream:`down`};function _ne(e,t){if(t===void 0)return;let n=e.children(t);if(n.length===0)return;let r=n[0].kind===`service`?`Service`:n[0].kind===`component`?`Component`:`Element`;return`${n.length} ${r}${n.length===1?``:`s`}`}var og=300,vne=.45,yne=.6,sg=32,bne=400,cg={person:`Person`,system:`System`,service:`Service`,component:`Component`,target:`Deployment Target`,deployment:`Deployment`};function xne(e){return(0,T.jsx)(Xh,{children:(0,T.jsx)(Sne,{...e})})}function Sne({workspace:e,laidOut:t,selected:n,open:r,fitKey:i,lensed:a,picks:o,ring:s,onSelect:c,onPick:l,onToggle:u,onOpenView:d,onSettled:f}){let{view:p,layout:m}=t,h=!lne()&&p.nodes.length<=100,g=Gp(e=>e.transform[2]<vne),_=(0,v.useMemo)(()=>new Map(a?.nodes.map(e=>[e.id,e.mark])??[]),[a]),y=(0,v.useMemo)(()=>a?new Map(a.edges.map(e=>[`${e.from}>${e.to}`,e.lit===!0])):void 0,[a]),b=(0,v.useMemo)(()=>{let t=new Map(p.nodes.map(e=>[e.id,e])),i=new Set(p.nodes.map(e=>e.parent).filter(e=>e!==null)),a=e=>{let n=t.get(e)?.parent??null;return n===null?0:1+a(n)};return m.nodes.map(c=>{let l=t.get(c.id),f=e.byId.get(l.element??c.id),m=l.kind===`target`?e.targets.get(c.id):void 0,h=f&&`technology`in f?f.technology:null,g=t=>_ne(e,t),v=p.kind!==`c1`&&p.kind!==`deployment`&&l.collapsed&&(l.kind===`system`||l.kind===`service`);return{id:c.id,type:`box`,position:{x:c.x,y:c.y},width:c.width,height:c.height,style:{width:c.width,height:c.height},measured:{width:c.width,height:c.height},zIndex:a(c.id),selected:c.id===n,draggable:!1,connectable:!1,data:{node:l,type:f?.kind===`service`&&f.type!==`app`?f.type:void 0,sublabel:m?`${cg.target} · ${m.kind}`:dne(l,f,h,i.has(c.id)?void 0:g(f?.id),l.kind===`deployment`?fne(e,p.environment,l):void 0),team:e.teams.get(f?.owner??m?.owner??``),container:i.has(c.id),twoLine:!i.has(c.id)&&c.height>cne[l.kind].height,toggle:v?`expand`:r.includes(c.id)?`collapse`:null,onToggle:u,wayIn:f!==void 0&&e.wayIn(f.id)!==void 0&&e.wayIn(f.id)!==p.id,onOpenView:d,mark:_.get(c.id),ring:s,picked:o.includes(c.id),change:l.change}}})},[p,m,e,n,r,u,d,_,s,o]),x=(0,v.useMemo)(()=>new Map(p.edges.map(e=>[`${e.from}>${e.to}`,e.change])),[p]),S=(0,v.useMemo)(()=>m.edges.map(e=>({id:`${e.from}>${e.to}`,source:e.from,target:e.to,type:`route`,markerEnd:{type:rd.ArrowClosed,width:16,height:16},selectable:!1,data:{points:e.points,faded:n!==null&&e.from!==n&&e.to!==n,lit:y?.get(`${e.from}>${e.to}`),change:x.get(`${e.from}>${e.to}`),from:e.from,to:e.to}})),[m,n,y,x]);return(0,T.jsxs)(Zh,{className:[`arc-flow`,h?`arc-animate`:``,g?`arc-zoomed-out`:``].filter(Boolean).join(` `),nodes:b,edges:S,nodeTypes:dg,edgeTypes:jne,minZoom:.05,maxZoom:2,zoomOnDoubleClick:!1,panOnScroll:!0,panOnScrollSpeed:1,panOnDrag:[0,1],elevateNodesOnSelect:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},onNodeClick:(e,t)=>e.shiftKey?l(t.id):c(t.id),onNodeDoubleClick:(e,t)=>d(t.id),onPaneClick:()=>c(null),children:[(0,T.jsx)(em,{position:`bottom-left`,className:`arc-key-panel`,children:(0,T.jsx)(Cne,{lens:a!==void 0})}),p.nodes.length>mne&&(0,T.jsx)(Zte,{position:`top-right`,className:`arc-minimap`,pannable:!0,zoomable:!0,ariaLabel:`Overview`,nodeStrokeWidth:0}),(0,T.jsx)(Fte,{position:`bottom-right`,showInteractive:!1}),(0,T.jsx)(Ene,{laidOut:t,fitKey:i,selected:n,animate:h,onSettled:f}),(0,T.jsx)(Dne,{selected:n,animate:h,drawingWidth:m.width}),(0,T.jsx)(ag,{})]})}function Cne({lens:e}){let[t,n]=(0,v.useState)(()=>wne());return(0,T.jsxs)(`details`,{className:`arc-key`,open:t,onToggle:e=>{let r=e.currentTarget.open;r!==t&&(n(r),Tne(r))},children:[(0,T.jsx)(`summary`,{children:`Key`}),(0,T.jsxs)(`ul`,{children:[(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-team`,"aria-hidden":`true`,children:(0,T.jsx)(`span`,{children:`COR`})}),`Left edge and code: owning Team`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-way-in`,"aria-hidden":`true`}),`Arrow tile: opens the box's own View`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-external`,"aria-hidden":`true`}),`Dashed: External`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-broker`,"aria-hidden":`true`}),`Striped: broker`]}),e&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-origin`,"aria-hidden":`true`}),`Lens origin`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-up`,"aria-hidden":`true`}),`Upstream`,(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-down`,"aria-hidden":`true`}),`Downstream`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-holds`,"aria-hidden":`true`,children:(0,T.jsx)(`span`,{})}),`Something inside is hit`]})]})]}),(0,T.jsx)(`p`,{className:`arc-key-gestures`,children:`+ shows what is inside, here · the arrow tile (or a double-click) opens a box's own View · Shift-click picks for export · / finds`})]})}function wne(){let e=window.innerWidth>=1200&&window.innerHeight>=760;try{let t=window.localStorage.getItem(`archidocs.key`);return t===null?e:t===`open`}catch{return e}}function Tne(e){try{window.localStorage.setItem(`archidocs.key`,e?`open`:`closed`)}catch{}}function lg(e){return e-340>=e/2?e-340:e}function Ene({laidOut:e,fitKey:t,selected:n,animate:r,onSettled:i}){let{setViewport:a}=Pm(),o=Gp(e=>e.width),s=Gp(e=>e.height),c=(0,v.useRef)(!0),l=o>0&&s>0;return(0,v.useEffect)(()=>{if(!l)return;let{layout:t}=e,u=n===null?o:lg(o),d=Math.min(1,(u-64)/Math.max(t.width,1),(s-64)/Math.max(t.height,1)),f=Math.max(yne,d),p=t.width*f<=u-64?(u-t.width*f)/2:sg,m=t.height*f<=s-64?(s-t.height*f)/2:sg,h=r&&!c.current?og:0;c.current=!1,a({x:p,y:m,zoom:f},{duration:h});let g=0,_=()=>{document.querySelectorAll(`path[data-edge-from]`).length>=t.edges.length?i(e):g=window.requestAnimationFrame(_)},v=window.setTimeout(_,h+(r?og:0)+20);return()=>{window.clearTimeout(v),window.cancelAnimationFrame(g)}},[e,t,l]),null}function Dne({selected:e,animate:t,drawingWidth:n}){let{getInternalNode:r,getViewport:i,setViewport:a}=Pm(),o=Gp(e=>e.width);return(0,v.useEffect)(()=>{if(e===null||o===0)return;let s=window.setTimeout(()=>{let s=r(e);if(!s)return;let{x:c,y:l,zoom:u}=i(),d=s.internals.positionAbsolute.x*u+c,f=d+(s.measured.width??s.width??0)*u,p=lg(o)-sg,m=c+n*u-p;if(m>0&&c-m>=sg/2)return void a({x:c-m,y:l,zoom:u},{duration:t?og:0});if(f<=p)return;let h=Math.min(f-p,Math.max(0,d-sg));h>0&&a({x:c-h,y:l,zoom:u},{duration:t?og:0})},bne);return()=>window.clearTimeout(s)},[e]),null}var One=(0,v.memo)(function({data:e,selected:t}){let{node:n,type:r,sublabel:i,team:a,container:o,twoLine:s,toggle:c,onToggle:l,wayIn:u,onOpenView:d,mark:f,ring:p,picked:m,change:h}=e,g=e=>e.stopPropagation(),_=c&&(0,T.jsx)(`button`,{type:`button`,className:`arc-toggle nodrag nopan`,"aria-label":`${c===`expand`?`Expand`:`Collapse`} ${n.name}`,title:c===`expand`?`Show what is inside ${n.name}, here`:`Close ${n.name}`,onClick:e=>{g(e),l(n.id,c===`expand`)},onDoubleClick:g,children:(0,T.jsx)(di,{name:c===`expand`?`plus`:`minus`})}),v=u&&(0,T.jsx)(`button`,{type:`button`,className:`arc-way-in nodrag nopan`,"aria-label":`Open ${n.name}'s View`,title:`Open ${n.name}'s own View`,onClick:e=>{g(e),d(n.id)},onDoubleClick:g,children:(0,T.jsx)(di,{name:`arrow`})}),y=[`arc-box`,`arc-${n.kind}`,r?`arc-t-${r}`:``,o?`arc-container`:``,s?`arc-two-line`:``,n.external?`arc-external`:``,t?`arc-selected`:``,f?f.hit?`arc-hit`:`arc-dim`:``,f?.hit&&p?`arc-ringed`:``,f?.hit&&f.side&&(!o||n.collapsed)?`arc-side-${f.side}`:``,f?.hit&&n.collapsed?`arc-holds-hit`:``,m?`arc-picked`:``,h?`arc-${h}`:``];return(0,T.jsxs)(`div`,{className:y.filter(Boolean).join(` `),style:a?{"--team":a.color}:void 0,"data-node":n.id,"data-parent":n.parent??``,"data-hit":f?String(f.hit):void 0,"data-distance":f?.distance,"data-picked":m?`true`:void 0,"data-change":h,"aria-selected":t?`true`:`false`,title:h&&h!==`unchanged`?`${n.name}: ${h===`changed`&&n.collapsed?`changed, or something inside changed`:h}`:f?.hit&&n.collapsed?`${n.name}: something inside is hit`:n.name,children:[(0,T.jsx)(sh,{type:`target`,position:id.Left,isConnectable:!1,className:`arc-handle`}),(0,T.jsx)(sh,{type:`source`,position:id.Right,isConnectable:!1,className:`arc-handle`}),(0,T.jsxs)(`div`,{className:`arc-box-head`,children:[_,(0,T.jsx)(di,{name:pne[r??n.kind],className:`arc-kind-glyph`}),(0,T.jsx)(`span`,{className:`arc-name`,"data-testid":`name`,children:n.name}),o&&(0,T.jsx)(`span`,{className:`arc-sublabel arc-csub`,"data-testid":`sublabel`,title:i,children:i}),a&&(0,T.jsx)(`span`,{className:`arc-team`,"data-testid":`team`,title:`Owner: ${a.code}`,children:a.code}),o&&v]}),!o&&(0,T.jsxs)(`div`,{className:`arc-box-foot`,children:[(0,T.jsx)(`div`,{className:`arc-sublabel`,"data-testid":`sublabel`,title:i,children:i}),v]}),f?.distance!==void 0&&!(o&&!n.collapsed)&&(0,T.jsxs)(`span`,{className:`arc-badge arc-badge-${f.side??`distance`}`,children:[f.side&&(0,T.jsx)(di,{name:gne[f.side],className:`arc-badge-icon`}),f.side&&f.side!==`origin`&&`${hne[f.side]} `,f.side===`origin`&&hne.origin,(0,T.jsx)(`span`,{className:f.side===`origin`?`arc-visually-hidden`:void 0,"data-testid":`distance`,"aria-label":`distance ${f.distance}`,children:f.distance})]}),f?.hit&&n.collapsed&&(0,T.jsx)(`span`,{className:`arc-holds`,"aria-hidden":`true`}),h===`added`&&(0,T.jsx)(`span`,{className:`arc-added-mark`,"data-testid":`added`,"aria-label":`added`,children:`+`}),h===`changed`&&(0,T.jsx)(`span`,{className:`arc-changed-mark`,"data-testid":`changed`,"aria-label":`changed`})]})});function kne({data:e,markerEnd:t}){let n=e.points.map((e,t)=>`${t===0?`M`:`L`}${ug(e.x)} ${ug(e.y)}`).join(` `),{faded:r,lit:i,change:a}=e,o=[`arc-edge`,(i===void 0?r:!i)?`arc-faded`:``,i?`arc-lit`:``,a?`arc-${a}`:``],s=(0,T.jsx)(`path`,{className:o.filter(Boolean).join(` `),d:n,markerEnd:t,fill:`none`,"data-edge-from":e.from,"data-edge-to":e.to,"data-lit":i===void 0?void 0:String(i),"data-change":a});if(a!==`added`&&a!==`changed`)return s;let c=Ane(e.points);return(0,T.jsxs)(T.Fragment,{children:[s,a===`added`?(0,T.jsx)(`text`,{className:`arc-edge-added`,x:c.x,y:c.y,dy:`0.35em`,textAnchor:`middle`,"aria-hidden":`true`,children:`+`}):(0,T.jsx)(`circle`,{className:`arc-edge-changed`,cx:c.x,cy:c.y,r:4,"aria-hidden":`true`})]})}function Ane(e){let t=e.slice(1).map((t,n)=>Math.hypot(t.x-e[n].x,t.y-e[n].y)),n=t.reduce((e,t)=>e+t,0)/2;for(let r=0;r<t.length;r++){if(n<=t[r]&&t[r]>0){let i=n/t[r];return{x:e[r].x+i*(e[r+1].x-e[r].x),y:e[r].y+i*(e[r+1].y-e[r].y)}}n-=t[r]}return e[0]??{x:0,y:0}}var ug=e=>Math.round(e*100)/100,dg={box:One},jne={route:kne},fg={header:60,firstRow:34,columnGap:40,labelPad:56,rowHeight:46,lineHeight:16,bar:10,nameSize:13,labelSize:12,subSize:11,headerPad:64,minColumn:116,maxColumn:200,margin:24};function pg(e,{brokers:t=!1}={}){return e.steps.flatMap(e=>{let n={n:e.n,label:e.description,...e.via===void 0?{}:{via:e.via},...e.channel===void 0?{}:{channel:e.channel},...e.note===void 0?{}:{note:e.note},step:e},r=e.kind===`return`?`return`:e.interaction;return!t||e.kind!==`event`||e.via===void 0?[{...n,key:String(e.n),from:e.from,to:e.to,style:r}]:[{...n,key:`${e.n}a`,leg:`a`,from:e.from,to:e.via,style:r},{...n,key:`${e.n}b`,leg:`b`,from:e.via,to:e.to,style:r}]})}function mg(e,{brokers:t=!1}={}){let n=[...e.participants];if(!t)return n;for(let t of e.steps)t.kind!==`event`||t.via===void 0||n.includes(t.via)||n.splice(n.indexOf(t.from)+1,0,t.via);return n}var hg=(e,t)=>e.via===void 0||e.leg!==void 0?void 0:[`via `+t(e.via),...e.channel===void 0?[]:[e.channel]].join(` · `);function Mne(e,t){let n=fg,r=pg(e,t),i=mg(e,t),a=new Map(i.map((e,t)=>[e,t])),o=i.map(e=>Math.min(n.maxColumn,Math.max(n.minColumn,tg(t.name(e),n.nameSize,700)+n.headerPad))),s=r.map(e=>{let r=hg(e,t.name);return Math.max(tg(e.label,n.labelSize),r?tg(r,n.subSize):0,e.note?tg(e.note,n.subSize):0)}),c=i.map(()=>[]);r.forEach((e,t)=>{let[r,i]=[a.get(e.from),a.get(e.to)];r!==i&&c[Math.max(r,i)].push({left:Math.min(r,i),gap:s[t]+n.labelPad})});let l=[];i.forEach((e,t)=>{let r=t===0?n.margin+o[0]/2:l[t-1]+o[t-1]/2+o[t]/2+n.columnGap;for(let e of c[t])r=Math.max(r,l[e.left]+e.gap);l.push(r)});let u=i.map((e,t)=>({id:e,x:l[t],width:o[t]})),d=n.header+n.firstRow,f=r.map(e=>{let r=+!!hg(e,t.name)+ +!!e.note,i={top:d,y:d+26,height:n.rowHeight+r*n.lineHeight};return d+=i.height,i}),p=new Map,m=[],h=new Map;r.forEach((e,t)=>h.set(e.from,f[t].y)),r.forEach((e,t)=>{let n=f[t].y;if(e.style===`return`){let t=p.get(e.from)?.pop();t&&m.push({participant:e.from,top:t.top,bottom:n,depth:t.depth})}else if(e.style===`sync`){let t=p.get(e.to)??[];t.push({top:n,depth:t.length}),p.set(e.to,t)}});for(let[e,t]of p)for(let n of t)m.push({participant:e,top:n.top,bottom:Math.max(n.top+18,h.get(e)??0),depth:n.depth});m.sort((e,t)=>e.top-t.top||e.participant.localeCompare(t.participant));let g=(e,t,r)=>{let i=l[a.get(e)],o=m.filter(n=>n.participant===e&&n.top<=t&&t<=n.bottom);if(o.length===0)return i;let s=Math.max(...o.map(e=>e.depth));return r===`left`?i-n.bar/2:i+n.bar/2+s*n.bar/2},_=r.map((e,t)=>{let{top:n,y:r,height:i}=f[t],o=l[a.get(e.to)]>l[a.get(e.from)];return{...e,top:n,y:r,height:i,x1:g(e.from,r,o?`right`:`left`),x2:g(e.to,r,o?`left`:`right`),labelWidth:s[t]}}),v=u.at(-1);return{columns:u,rows:_,activations:m,width:v?v.x+v.width/2+n.margin:2*n.margin,height:d+30}}var gg="a tag, a commit sha or its first 4 or more characters, or a date (`YYYY-MM-DD`) or time (ISO 8601, UTC unless it gives a zone)",_g=5,Nne=/^(\d{4})-(\d{2})-(\d{2})$/,Pne=/^(\d{4}-\d{2}-\d{2})[Tt ](\d{2}:\d{2})(:\d{2}(?:\.\d+)?)?([Zz]|[+-]\d{2}:?\d{2})?$/,Fne=/^[0-9a-f]{4,64}$/i,Ine=864e5;function vg(e){if(Nne.exec(e)){let t=Date.parse(`${e}T00:00:00Z`);return Number.isNaN(t)||new Date(t).toISOString().slice(0,10)!==e?void 0:{start:t,end:t+Ine}}let t=Pne.exec(e);if(!t)return;let[,n,r,i=`:00`,a=`Z`]=t,o=a.toUpperCase()===`Z`?`Z`:`${a.slice(0,3)}:${a.slice(-2)}`,s=Date.parse(`${n}T${r}${i}${o}`);if(!Number.isNaN(s)&&vg(n))return Lne(s)}var Lne=e=>({start:e,end:e+1});function Rne(e,t){let n=e.find(e=>e.tags.includes(t));if(n)return{ok:!0,revision:n};let r=vg(t);if(r){let t=e.find(e=>Date.parse(e.date)<r.end);return t?{ok:!0,revision:t}:yg(e,e.at(-1))}if(Fne.test(t)){let n=t.toLowerCase(),r=e.filter(e=>e.sha.toLowerCase().startsWith(n));if(r.length===1)return{ok:!0,revision:r[0]};if(r.length>1)return{ok:!1,kind:`ambiguous`,count:r.length,candidates:r.slice(0,_g)}}return yg(e)}function yg(e,t){return{ok:!1,kind:`not_found`,tags:e.flatMap(e=>e.tags).slice(0,_g),...t?{first:t}:{}}}function zne(e,t){return e.filter(e=>t(e.changedIds))}function bg(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function xg(e,t=`|`){return e.map(e=>zg(e)).join(t)}function Sg(e,t){return typeof t==`bigint`?t.toString():t}var Bne=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function Cg(e){return new Bne(e)}function Vne(e){return e==null}function wg(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function Hne(e,t){let n=e/t,r=Math.round(n),i=4*2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function Tg(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Eg(e){let t=Object.getOwnPropertyDescriptor(e,`shape`);return t?.get?t.get.raw:t?.value}function Dg(e){return Eg(e._zod.def)??e._zod.def.shape}function Og(e,t,n){Object.defineProperty(e,t,{get(){let e=n();return Tg(this,t,e),e},enumerable:!0,configurable:!0})}function kg(e,t,n){t in e?Tg(e,t,n):e[t]=n}function Ag(e,t,n,r){let i=Dg(t);for(let a of n){let n=Object.getOwnPropertyDescriptor(i,a);n.enumerable&&(n.get?Og(e,a,()=>{let e=t._zod.def.shape[a];return r?r(e,a):e}):kg(e,a,r?r(n.value,a):n.value))}}function Une(e,t){for(let n of Reflect.ownKeys(t)){let r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?Og(e,n,()=>t[n]):kg(e,n,r.value))}}function jg(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function Wne(e){return JSON.stringify(e)}function Gne(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var Mg=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Ng(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var Kne=Cg(()=>{if(h_.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function Pg(e){if(Ng(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return Ng(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function Fg(e){return Pg(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var qne=new Set([`string`,`number`,`symbol`]);function Ig(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Lg(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function Rg(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function zg(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function Bg(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===`optional`)}var Vg={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Hg={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function Ug(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);let i={};return Ag(i,e,Wg(e,t)),Lg(e,jg(n,{shape:i,checks:[]}))}function Wg(e,t){let n=Dg(e),r=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&r.push(e)}return r}function Jne(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);let i=new Set(Wg(e,t)),a={};return Ag(a,e,Reflect.ownKeys(Dg(e)).filter(e=>!i.has(e))),Lg(e,jg(n,{shape:a,checks:[]}))}function Gg(e,t){if(!Pg(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=Dg(e);for(let e of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Lg(e,jg(e._zod.def,{shape:Kg(e,t)}))}function Kg(e,t){let n={};return Ag(n,e,Reflect.ownKeys(Dg(e))),Une(n,t),n}function qg(e,t){if(!Pg(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Lg(e,jg(e._zod.def,{shape:Kg(e,t)}))}function D(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);let n={};return Ag(n,e,Reflect.ownKeys(Dg(e))),Ag(n,t,Reflect.ownKeys(Dg(t))),Lg(e,jg(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function Jg(e,t,n,r=`partial`){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${r}() cannot be used on object schemas containing refinements`);let a=n?new Set(Wg(t,n)):void 0,o={};return Ag(o,t,Reflect.ownKeys(Dg(t)),e&&((t,n)=>a&&!a.has(n)?t:new e({type:`optional`,innerType:t}))),Lg(t,jg(t._zod.def,{shape:o,checks:[]}))}function Yg(e,t,n){let r=n?new Set(Wg(t,n)):void 0,i={};return Ag(i,t,Reflect.ownKeys(Dg(t)),(t,n)=>r&&!r.has(n)?t:new e({type:`nonoptional`,innerType:t})),Lg(t,jg(t._zod.def,{shape:i}))}function Xg(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Yne(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Zg(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Qg(e){return typeof e==`string`?e:e?.message}function Xne(e){let t=[];for(let n of e??[]){let e=n._zod.def;if(!/_(length|size)$|_equals$/.test(e.check))break;let r=e.maximum??e.length??e.size;r>=0&&t.push([r,n])}return t}function $g(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function O(e,t,n){var r;let i=e.inst?._zod?.traits;i?.has(`$ZodType`)&&(i.has(`$ZodCheck`)?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let a=e.schema===e.inst?void 0:e.schema?._zod.def?.error,o=e.message?e.message:Qg(e.inst?._zod.def?.error?.(e))??Qg(a?.(e))??Qg(t?.error?.(e))??Qg(n.customError?.(e))??Qg(n.localeError?.(e))??`Invalid input`,s={};for(let t of Object.keys(e))t!==`inst`&&t!==`schema`&&t!==`continue`&&t!==`input`&&t!==`__proto__`&&(s[t]=e[t]);return s.path??=[],s.message=o,t?.reportInput&&(s.input=e.input),s}var Zne=/[\uD800-\uDBFF]/;function e_(e){let t=e.length;if(!Zne.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320&&(n--,r++);return n}function t_(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Qne(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function n_(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function $ne(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):nre(e,n,r.value)}}function r_(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function ere(e,t,n){return r_(e,t,n,!1)}function tre(e,t){for(let n in e){let r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return r_(this,n,r(this))},set(e){r_(this,n,e)}})}return t}function nre(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:r_(this,t,n.bind(this))},set(e){r_(this,t,e)}})}function i_(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var a_,o_=!1,rre={configurable:!0,get(){o_=!0}};function s_(e,t,n){let r=Object.getPrototypeOf(e._zod);t in r&&a_!==e._zod?a_=void 0:(a_=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,rre);let e=o_;o_=!1;try{let r=n(this);return o_?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r}),o_||=e,r}catch(n){throw delete this[t],o_||=e,n}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}}))}function ire(e,t,n,r){let i=i_(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,e),e.value=n(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:e})}})}var are=`~constantCatch`;function c_(e){let t=()=>e;return t[are]=!0,t}var l_,u_={value:void 0,enumerable:!1},d_=`captureStackTrace`in Error?Error:null;function ore(e){let t=d_;if(t){let n=t.stackTraceLimit;if(typeof n==`number`){try{t.stackTraceLimit=0}catch{return d_=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function f_(e,t,n,r){let i={};function a(e){this.def=e,this.constr=d,this.traits=new Set}a.prototype=i;let o=n,s=o&&new WeakSet;function c(n,r){if(!n._zod){u_.value=new a(r);try{Object.defineProperty(n,"_zod",u_)}finally{u_.value=void 0}}else if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,r),s){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,r=e;for(;r&&r!==t;)r=Object.getPrototypeOf(r);let i=r??e;s.has(i)||(s.add(i),$ne(i,o))}let i=d.prototype;for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in n||(n[e]=i[e].bind(n)))}let l=r?.Parent??Object;class u extends l{}Object.defineProperty(u,"name",{value:e});function d(e){let t=r?.Parent?ore(u):this;c(t,e);let n=t._zod.deferred;if(n){for(let e of n)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:t=>r?.Parent&&t instanceof r.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var p_=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},m_=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(l_=globalThis).__zod_globalConfig??(l_.__zod_globalConfig={});var h_=globalThis.__zod_globalConfig;function g_(e){return e&&Object.assign(h_,e),h_}function sre(){let e=this._zod;return e.message??=JSON.stringify(e.def,Sg,2),e.message}function __(e){this._zod.message=e}var cre={get:sre,set:__,enumerable:!0,configurable:!0},lre={value:void 0,enumerable:!1},v_=new WeakSet([Object.prototype,Error.prototype]),ure=f_(`$ZodError`,(e,t)=>{e.name=`$ZodError`,lre.value=t,Object.defineProperty(e,"issues",lre),lre.value=void 0,Object.defineProperty(e,"message",cre);let n=Object.getPrototypeOf(e);v_.has(n)||(v_.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let e=()=>this.message;return Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0})}}))});function dre(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===`__proto__`?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function fre(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?dre(n,i.path[0],()=>[]).push(t(i)):r.push(t(i));return{formErrors:r,fieldErrors:n}}function pre(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i],o=i===e.length-1;if(n===`_errors`){o&&r._errors.push(t(a)),i++;continue}Object.prototype.hasOwnProperty.call(r,n)||Object.defineProperty(r,n,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let s=r[n];o&&s._errors.push(t(a)),r=s,i++}}}};return r(e),n}function y_(e,t){return{callee:t?.callee??e,Err:t?.Err}}var b_=e=>{let t=(n,r,i,a)=>{let o=i?{...i,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new p_;if(s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>O(e,o,g_())));throw Mg(n,a?.callee??t),n}return s.value};return t},mre=e=>{let t=async(n,r,i,a)=>{let o=i?{...i,async:!0}:{async:!0},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>O(e,o,g_())));throw Mg(n,a?.callee??t),n}return s.value};return t},x_=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new p_;return a.issues.length?hre(e,a.issues,i):{success:!0,data:a.value}};function hre(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(e=>O(e,n,g_()))),t=void 0,n=void 0),r},set error(e){r=e,t=void 0,n=void 0}}}var S_=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?hre(e,a.issues,i):{success:!0,data:a.value}},gre=Symbol.for(`zod.compile.invalid`),C_=Symbol.for(`zod.compile.fallback`),w_=((e,t,n)=>{let r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==gre)return!0;if(r.definite===!0&&n===void 0)return!1}return T_(e,t,n)});function T_(e,t,n){let r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},i=e._zod.bag.fallbackRun,a;if(i?(r[C_]=!0,a=i({value:t,issues:[]},r)):a=e._zod.run({value:t,issues:[]},r),a instanceof Promise)throw new p_;return a.issues.length===0}var _re=async(e,t,n)=>{let r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},i=e._zod.run({value:t,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length===0},E_=e=>{let t=b_(e),n=(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return t(e,r,o,y_(n,a))};return n},D_=e=>{let t=b_(e),n=(e,r,i,a)=>t(e,r,i,y_(n,a));return n},vre=e=>{let t=mre(e),n=async(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return await t(e,r,o,y_(n,a))};return n},yre=e=>{let t=mre(e),n=async(e,r,i,a)=>await t(e,r,i,y_(n,a));return n},bre=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return x_(e)(t,n,i)},xre=e=>(t,n,r)=>x_(e)(t,n,r),Sre=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return S_(e)(t,n,i)},Cre=e=>async(t,n,r)=>S_(e)(t,n,r),wre=/^[cC][0-9a-z]{6,}$/,Tre=/^[0-9a-z]+$/,Ere=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Dre=/^[0-9a-vA-V]{20}$/,Ore=/^[A-Za-z0-9]{27}$/,kre=/^[a-zA-Z0-9_-]{21}$/;function Are(e){return RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var jre=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Mre=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,O_=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,k_=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Nre=`^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;function Pre(){return new RegExp(Nre,`u`)}var Fre=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ire=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,A_=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,j_=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,M_=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Lre=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,N_=/^https?$/,Rre=/^\+[1-9]\d{6,14}$/,zre=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;function Bre(e){return RegExp(`^${e}$`)}var Vre=Bre(zre);function P_(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Hre(e){return RegExp(`^${P_(e)}$`)}function Ure(e){let t=[`Z`];e.offset&&t.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let n=`${P_({precision:e.precision,seconds:!0})}(?:${t.join(`|`)})`,r=e.local?`${n}|${P_({precision:e.precision})}`:n;return RegExp(`^${zre}T(?:${r})$`)}var F_=/^[\s\S]{0,}$/,Wre=/^-?\d+$/,I_=/^-?\d+(?:\.\d+)?$/,Gre=/^(?:true|false)$/i,Kre=/^[^A-Z]*$/,qre=/^[^a-z]*$/,L_=f_(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),R_=e=>{let t=e.value;return!Vne(t)&&t.length!==void 0},z_={number:`number`,bigint:`bigint`,object:`date`},Jre=f_(`$ZodCheckLessThan`,(e,t)=>{L_.init(e,t);let n=z_[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:z_[typeof r.value]??n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Yre=f_(`$ZodCheckGreaterThan`,(e,t)=>{L_.init(e,t);let n=z_[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:z_[typeof r.value]??n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),B_=f_(`$ZodCheckMultipleOf`,(e,t)=>{L_.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):Hne(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Xre=f_(`$ZodCheckNumberFormat`,(e,t)=>{L_.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=Vg[t.format];e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),V_=f_(`$ZodCheckMaxLength`,(e,t)=>{var n;L_.init(e,t),(n=e._zod.def).when??(n.when=R_),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>t.maximum?e_(r):i)<=t.maximum)return;let a=t_(r);n.issues.push({origin:a,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),H_=f_(`$ZodCheckMinLength`,(e,t)=>{var n;L_.init(e,t),(n=e._zod.def).when??(n.when=R_),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>=t.minimum&&i<t.minimum*2?e_(r):i)>=t.minimum)return;let a=t_(r);n.issues.push({origin:a,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Zre=f_(`$ZodCheckLengthEquals`,(e,t)=>{var n;L_.init(e,t),(n=e._zod.def).when??(n.when=R_),e._zod.check=n=>{let r=n.value,i=r.length,a=typeof r==`string`&&i>=t.length&&i<=t.length*2?e_(r):i;if(a===t.length)return;let o=t_(r),s=a>t.length;n.issues.push({origin:o,...s?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),U_=f_(`$ZodCheckStringFormat`,(e,t)=>{var n,r;L_.init(e,t),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Qre=f_(`$ZodCheckRegex`,(e,t)=>{U_.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),$re=f_(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=Kre,U_.init(e,t)}),eie=f_(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=qre,U_.init(e,t)}),tie=f_(`$ZodCheckIncludes`,(e,t)=>{L_.init(e,t);let n=Ig(t.includes);t.pattern=new RegExp(typeof t.position==`number`?`^.{${t.position},}${n}`:n),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),nie=f_(`$ZodCheckStartsWith`,(e,t)=>{L_.init(e,t);let n=RegExp(`^${Ig(t.prefix)}.*`);t.pattern??=n,e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),rie=f_(`$ZodCheckEndsWith`,(e,t)=>{L_.init(e,t);let n=RegExp(`.*${Ig(t.suffix)}$`);t.pattern??=n,e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),iie=f_(`$ZodCheckOverwrite`,(e,t)=>{L_.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),aie=class{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{--this.indent}}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
84
+ ... Falling back to non-web worker version.`)}if(!r.workerFactory){var o=e("./elk-worker.min.js").Worker;r.workerFactory=function(e){return new o(e)}}return l(this,n,[r])}return m(n,t),a(n)}(e("./elk-api.js").default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=g,g.default=g},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(e,t,n){t.exports=typeof Worker<`u`?Worker:void 0},{}]},{},[3])(3)})}))();var tne=`Overpass`,nne=2e3,rne=[{weight:400,base64:`AAEAAAALAIAAAwAwT1MvMmyYfk0AADx8AAAAYGNtYXBHskUyAAA83AAAAcZnYXNwAAAAEAAAQHwAAAAIZ2x5ZtIhbwYAAAC8AAA2UmhlYWQxmKYVAAA42AAAADZoaGVhDR0CKgAAPFgAAAAkaG10eE5dWhcAADkQAAADRmxvY2E7Wi5hAAA3MAAAAaZtYXhwAOEAsgAANxAAAAAgbmFtZSVxPXwAAD6kAAABuHBvc3T/RwCoAABAXAAAACAAAgBmAAAE6AV4AAcAEgAAcwEzASMDIQMTIQMuAicOAgdmAfCiAfCyeP3UdqoBwrQHERAEBQ8RBwV4+ogBVv6qAfACBhQ1MxISMzUU//8AZgAABOgHMgYmAAEAAAAHANEBdAAA//8AZgAABOgHMgYmAAEAAAAHAMcBNQF6//8AZgAABOgHBAYmAAEAAAAHANABNgAA//8AZgAABOgHMgYmAAEAAAAHAMUAzAF6AAMAZgAABOgGugAUAB8AKwAAcwEmJjU0NjYzMhYWFRQGBwEjAyEDEyEDLgInDgIHEzI2NTQmIyIGFRQWZgHIMUFBbEFAbEJDNQHIsnj91HaqAcK0BxEQBAUPEQcuKjo6Kio6OgUIIGpAQGk/P2lAQGwe+vgBVv6qAfACBhQ1MxISMzUUAXA+Li09PS0uPv//AGYAAAToBxgGJgABAAAABwDJATYBegAC/+QAAAY8BX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AcABAAGAAgACwASAA8AEAARABoAFwAYABkADQAgACUAIgAjACcAJAC5ACYAMgAvADAAMQA3ACkAZgA9ADoAOwA/ADwAPgBAAEMASgBHAEgASQBTAFAAUQBSAEUAWQBeAFsAXABgAF0AugBfAGwAaQBqAGsAcQBiAHIAAAAAAAcAWgADAAEECQAAALAAAAADAAEECQABABAAsAADAAEECQACAA4AwAADAAEECQADADYAzgADAAEECQAEACABBAADAAEECQAFABoBJAADAAEECQAGACABPgBDAG8AcAB5AHIAaQBnAGgAdAAgADIAMAAyADEAIABUAGgAZQAgAE8AdgBlAHIAcABhAHMAcwAgAFAAcgBvAGoAZQBjAHQAIABBAHUAdABoAG8AcgBzACAAKABoAHQAdABwAHMAOgAvAC8AZwBpAHQAaAB1AGIALgBjAG8AbQAvAFIAZQBkAEgAYQB0AE8AZgBmAGkAYwBpAGEAbAAvAE8AdgBlAHIAcABhAHMAcwApAE8AdgBlAHIAcABhAHMAcwBSAGUAZwB1AGwAYQByADQALgAwADAAMAA7AEQARQBMAFYAOwBPAHYAZQByAHAAYQBzAHMALQBSAGUAZwB1AGwAYQByAE8AdgBlAHIAcABhAHMAcwAgAFIAZQBnAHUAbABhAHIAVgBlAHIAcwBpAG8AbgAgADQALgAwADAAMABPAHYAZQByAHAAYQBzAHMALQBSAGUAZwB1AGwAYQByAAMAAAAAAAD/RACoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAB//8ADw==`,advances:{32:470,33:546,34:806,35:1366,36:1176,37:1740,38:1354,39:428,40:686,41:686,42:1066,43:1290,44:450,45:798,46:450,47:980,48:1284,49:746,50:1224,51:1204,52:1242,53:1242,54:1194,55:1044,56:1222,57:1194,58:450,59:450,60:1290,61:1290,62:1290,63:1028,64:1618,65:1358,66:1312,67:1294,68:1364,69:1198,70:1124,71:1376,72:1400,73:566,74:1092,75:1320,76:1118,77:1608,78:1416,79:1460,80:1260,81:1460,82:1330,83:1198,84:1166,85:1378,86:1304,87:1680,88:1206,89:1282,90:1300,91:752,92:980,93:752,94:1290,95:980,96:736,97:1052,98:1124,99:1e3,100:1124,101:1076,102:666,103:1126,104:1126,105:508,106:508,107:1062,108:524,109:1694,110:1126,111:1116,112:1130,113:1126,114:778,115:938,116:756,117:1126,118:1024,119:1430,120:1034,121:1058,122:1010,123:744,124:544,125:744,126:1290,160:470,161:542,162:1030,163:1194,164:1266,165:1132,166:544,167:1066,168:736,169:1718,170:900,171:1030,172:1290,173:798,174:1718,175:736,176:818,177:1290,178:724,179:728,180:736,181:1136,182:1262,183:450,184:736,185:398,186:934,187:1030,188:1364,189:1452,190:1626,191:1028,192:1358,193:1358,194:1358,195:1358,196:1358,197:1358,198:1722,199:1294,200:1198,201:1198,202:1198,203:1198,204:566,205:566,206:566,207:566,208:1364,209:1416,210:1460,211:1460,212:1460,213:1460,214:1460,215:1290,216:1460,217:1378,218:1378,219:1378,220:1378,221:1282,222:1264,223:1124,224:1052,225:1052,226:1052,227:1052,228:1052,229:1052,230:1714,231:1e3,232:1076,233:1076,234:1076,235:1076,236:508,237:508,238:508,239:508,240:1116,241:1126,242:1116,243:1116,244:1116,245:1116,246:1116,247:1290,248:1116,249:1126,250:1126,251:1126,252:1126,253:1058,254:1130,255:1058,8211:1020,8212:1180,8230:1882}},{weight:700,base64:`AAEAAAALAIAAAwAwT1MvMm3EfloAADycAAAAYGNtYXBHskUyAAA8/AAAAcZnYXNwAAAAEAAAQIQAAAAIZ2x5Ztd6c70AAAC8AAA2cmhlYWQyUqYWAAA4+AAAADZoaGVhDdYCrgAAPHgAAAAkaG10eG7yUYsAADkwAAADRmxvY2FAVjNTAAA3UAAAAaZtYXhwAOEAsgAANzAAAAAgbmFtZSLcOn8AAD7EAAABoHBvc3T/RwCoAABAZAAAACAAAgA8AAAFXgV4AAcAEgAAcwEzASEDIQMTIQMuAicOAgc8AhX2Ahf+6W/96W3BAW2MBxAOBQUOEAcFePqIASj+2AIVAXcRKisQECsqEQD//wA8AAAFXgcyBiYAAQAAAAcA0QEsAAD//wA8A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AcwAtAEIAbwBsAGQAAwAAAAAAAP9EAKgAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAP`,advances:{32:500,33:600,34:885,35:1404,36:1207,37:1703,38:1421,39:490,40:745,41:745,42:1104,43:1272,44:498,45:829,46:486,47:1045,48:1315,49:800,50:1223,51:1199,52:1285,53:1222,54:1229,55:1073,56:1258,57:1229,58:486,59:486,60:1272,61:1272,62:1272,63:1021,64:1668,65:1434,66:1380,67:1277,68:1420,69:1248,70:1149,71:1363,72:1442,73:591,74:1115,75:1416,76:1132,77:1619,78:1436,79:1444,80:1277,81:1446,82:1379,83:1227,84:1204,85:1424,86:1364,87:1696,88:1356,89:1367,90:1278,91:786,92:1045,93:786,94:1272,95:992,96:932,97:1114,98:1154,99:1083,100:1154,101:1114,102:724,103:1155,104:1184,105:566,106:566,107:1118,108:582,109:1752,110:1184,111:1133,112:1156,113:1155,114:833,115:985,116:785,117:1184,118:1115,119:1496,120:1154,121:1136,122:1087,123:767,124:602,125:767,126:1272,160:500,161:598,162:1095,163:1207,164:1304,165:1214,166:602,167:1068,168:932,169:1700,170:893,171:1121,172:1272,173:829,174:1700,175:932,176:832,177:1272,178:746,179:724,180:932,181:1194,182:1298,183:486,184:932,185:450,186:933,187:1121,188:1440,189:1518,190:1681,191:1021,192:1434,193:1434,194:1434,195:1434,196:1434,197:1434,198:1814,199:1277,200:1248,201:1248,202:1248,203:1248,204:591,205:591,206:591,207:591,208:1420,209:1436,210:1444,211:1444,212:1444,213:1444,214:1444,215:1272,216:1444,217:1424,218:1424,219:1424,220:1424,221:1367,222:1290,223:1155,224:1114,225:1114,226:1114,227:1114,228:1114,229:1114,230:1712,231:1083,232:1114,233:1114,234:1114,235:1114,236:566,237:566,238:566,239:566,240:1133,241:1184,242:1133,243:1133,244:1133,245:1133,246:1133,247:1272,248:1133,249:1184,250:1184,251:1184,252:1184,253:1136,254:1156,255:1136,8211:1002,8212:1162,8230:2112}}],ine=new Map(rne.map(e=>[e.weight,e.advances]));function tg(e,t,n=400){let r=ine.get(n),i=0;for(let t of e)i+=r[t.codePointAt(0)]??r[77];return i*t/nne}function ane(e,t,n,r=400){if(tg(e,t,r)<=n)return e;let i=[...e];for(;i.length>0&&tg(i.join(``).trimEnd()+`…`,t,r)>n;)i.pop();return i.join(``).trimEnd()+`…`}function one(e,t,n,{size:r,fill:i,anchor:a,weight:o=400}){return`<text x="${ng(e)}" y="${ng(t)}" font-size="${r}"${o===400?``:` font-weight="${o}"`} fill="${i}"${a?` text-anchor="${a}"`:``}>${sne(n)}</text>`}var sne=e=>e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`);function ng(e){let t=Math.round(e*100)/100;return String(Object.is(t,-0)?0:t)}var cne={person:{width:200,height:76},system:{width:230,height:80},service:{width:220,height:72},component:{width:210,height:68},target:{width:240,height:84},deployment:{width:220,height:68}};function lne(){return une(`(prefers-reduced-motion: reduce)`)}function une(e){let[t,n]=(0,v.useState)(()=>window.matchMedia(e).matches);return(0,v.useEffect)(()=>{let t=window.matchMedia(e),r=()=>n(t.matches);return t.addEventListener(`change`,r),()=>t.removeEventListener(`change`,r)},[e]),t}var rg=1.15,ig=50;function ag(){let e=Gp(e=>e.domNode),t=Gp(e=>e.minZoom),n=Gp(e=>e.maxZoom),{getViewport:r,setViewport:i}=Pm();return(0,v.useEffect)(()=>{if(!e)return;let a=a=>{if(!a.ctrlKey||a.deltaMode!==WheelEvent.DOM_DELTA_PIXEL||Math.abs(a.deltaY)<ig)return;a.preventDefault(),a.stopPropagation();let o=e.getBoundingClientRect(),s=a.clientX-o.left,c=a.clientY-o.top,{x:l,y:u,zoom:d}=r(),f=Math.min(n,Math.max(t,d*rg**-Math.sign(a.deltaY)));i({x:s-(s-l)*f/d,y:c-(c-u)*f/d,zoom:f})};return e.addEventListener(`wheel`,a,{capture:!0,passive:!1}),()=>e.removeEventListener(`wheel`,a,{capture:!0})},[e,t,n,r,i]),null}function dne(e,t,n,r,i){let a=e.external?`EXT · `:``;if(e.kind===`deployment`&&i)return i;if(e.kind===`system`)return e.external?`${a}External System`:[`System`,r].filter(Boolean).join(` · `);if(e.kind===`service`||e.kind===`deployment`){let r=t?.kind===`service`&&t.type!==`app`?t.type:cg[e.kind];return a+[`${e.external?`External `:``}${r}`,n].filter(Boolean).join(` · `)}return[cg[e.kind],n].filter(Boolean).join(` · `)}function fne(e,t,n){let r=e.bundle.deployments.find(e=>e.service===n.element&&e.target===n.target&&e.environment===t);return r?.url?r.url.replace(/^https?:\/\//,``).replace(/\/$/,``):n.target===void 0?void 0:e.targets.get(n.target)?.name}var pne={person:`person`,system:`system`,service:`service`,component:`component`,deployment:`deployment`,target:`target`,datastore:`datastore`,broker:`broker`},mne=40,hne={origin:`origin`,upstream:`upstream`,downstream:`downstream`},gne={origin:`origin`,upstream:`up`,downstream:`down`};function _ne(e,t){if(t===void 0)return;let n=e.children(t);if(n.length===0)return;let r=n[0].kind===`service`?`Service`:n[0].kind===`component`?`Component`:`Element`;return`${n.length} ${r}${n.length===1?``:`s`}`}var og=300,vne=.45,yne=.6,sg=32,bne=400,cg={person:`Person`,system:`System`,service:`Service`,component:`Component`,target:`Deployment Target`,deployment:`Deployment`};function xne(e){return(0,T.jsx)(Xh,{children:(0,T.jsx)(Sne,{...e})})}function Sne({workspace:e,laidOut:t,selected:n,open:r,fitKey:i,lensed:a,picks:o,ring:s,onSelect:c,onPick:l,onToggle:u,onOpenView:d,onSettled:f}){let{view:p,layout:m}=t,h=!lne()&&p.nodes.length<=100,g=Gp(e=>e.transform[2]<vne),_=(0,v.useMemo)(()=>new Map(a?.nodes.map(e=>[e.id,e.mark])??[]),[a]),y=(0,v.useMemo)(()=>a?new Map(a.edges.map(e=>[`${e.from}>${e.to}`,e.lit===!0])):void 0,[a]),b=(0,v.useMemo)(()=>{let t=new Map(p.nodes.map(e=>[e.id,e])),i=new Set(p.nodes.map(e=>e.parent).filter(e=>e!==null)),a=e=>{let n=t.get(e)?.parent??null;return n===null?0:1+a(n)};return m.nodes.map(c=>{let l=t.get(c.id),f=e.byId.get(l.element??c.id),m=l.kind===`target`?e.targets.get(c.id):void 0,h=f&&`technology`in f?f.technology:null,g=t=>_ne(e,t),v=p.kind!==`c1`&&p.kind!==`deployment`&&l.collapsed&&(l.kind===`system`||l.kind===`service`);return{id:c.id,type:`box`,position:{x:c.x,y:c.y},width:c.width,height:c.height,style:{width:c.width,height:c.height},measured:{width:c.width,height:c.height},zIndex:a(c.id),selected:c.id===n,draggable:!1,connectable:!1,data:{node:l,type:f?.kind===`service`&&f.type!==`app`?f.type:void 0,sublabel:m?`${cg.target} · ${m.kind}`:dne(l,f,h,i.has(c.id)?void 0:g(f?.id),l.kind===`deployment`?fne(e,p.environment,l):void 0),team:e.teams.get(f?.owner??m?.owner??``),container:i.has(c.id),twoLine:!i.has(c.id)&&c.height>cne[l.kind].height,toggle:v?`expand`:r.includes(c.id)?`collapse`:null,onToggle:u,wayIn:f!==void 0&&e.wayIn(f.id)!==void 0&&e.wayIn(f.id)!==p.id,onOpenView:d,mark:_.get(c.id),ring:s,picked:o.includes(c.id),change:l.change}}})},[p,m,e,n,r,u,d,_,s,o]),x=(0,v.useMemo)(()=>new Map(p.edges.map(e=>[`${e.from}>${e.to}`,e.change])),[p]),S=(0,v.useMemo)(()=>m.edges.map(e=>({id:`${e.from}>${e.to}`,source:e.from,target:e.to,type:`route`,markerEnd:{type:rd.ArrowClosed,width:16,height:16},selectable:!1,data:{points:e.points,faded:n!==null&&e.from!==n&&e.to!==n,lit:y?.get(`${e.from}>${e.to}`),change:x.get(`${e.from}>${e.to}`),from:e.from,to:e.to}})),[m,n,y,x]);return(0,T.jsxs)(Zh,{className:[`arc-flow`,h?`arc-animate`:``,g?`arc-zoomed-out`:``].filter(Boolean).join(` `),nodes:b,edges:S,nodeTypes:dg,edgeTypes:jne,minZoom:.05,maxZoom:2,zoomOnDoubleClick:!1,panOnScroll:!0,panOnScrollSpeed:1,panOnDrag:[0,1],elevateNodesOnSelect:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},onNodeClick:(e,t)=>e.shiftKey?l(t.id):c(t.id),onNodeDoubleClick:(e,t)=>d(t.id),onPaneClick:()=>c(null),children:[(0,T.jsx)(em,{position:`bottom-left`,className:`arc-key-panel`,children:(0,T.jsx)(Cne,{lens:a!==void 0})}),p.nodes.length>mne&&(0,T.jsx)(Zte,{position:`top-right`,className:`arc-minimap`,pannable:!0,zoomable:!0,ariaLabel:`Overview`,nodeStrokeWidth:0}),(0,T.jsx)(Fte,{position:`bottom-right`,showInteractive:!1}),(0,T.jsx)(Ene,{laidOut:t,fitKey:i,selected:n,animate:h,onSettled:f}),(0,T.jsx)(Dne,{selected:n,animate:h,drawingWidth:m.width}),(0,T.jsx)(ag,{})]})}function Cne({lens:e}){let[t,n]=(0,v.useState)(()=>wne());return(0,T.jsxs)(`details`,{className:`arc-key`,open:t,onToggle:e=>{let r=e.currentTarget.open;r!==t&&(n(r),Tne(r))},children:[(0,T.jsx)(`summary`,{children:`Key`}),(0,T.jsxs)(`ul`,{children:[(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-team`,"aria-hidden":`true`,children:(0,T.jsx)(`span`,{children:`COR`})}),`Left edge and code: owning Team`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-way-in`,"aria-hidden":`true`}),`Arrow tile: opens the box's own View`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-external`,"aria-hidden":`true`}),`Dashed: External`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-broker`,"aria-hidden":`true`}),`Striped: broker`]}),e&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-origin`,"aria-hidden":`true`}),`Lens origin`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-up`,"aria-hidden":`true`}),`Upstream`,(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-down`,"aria-hidden":`true`}),`Downstream`]}),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-key-swatch arc-key-holds`,"aria-hidden":`true`,children:(0,T.jsx)(`span`,{})}),`Something inside is hit`]})]})]}),(0,T.jsx)(`p`,{className:`arc-key-gestures`,children:`+ shows what is inside, here · the arrow tile (or a double-click) opens a box's own View · Shift-click picks for export · / finds`})]})}function wne(){let e=window.innerWidth>=1200&&window.innerHeight>=760;try{let t=window.localStorage.getItem(`archidocs.key`);return t===null?e:t===`open`}catch{return e}}function Tne(e){try{window.localStorage.setItem(`archidocs.key`,e?`open`:`closed`)}catch{}}function lg(e){return e-340>=e/2?e-340:e}function Ene({laidOut:e,fitKey:t,selected:n,animate:r,onSettled:i}){let{setViewport:a}=Pm(),o=Gp(e=>e.width),s=Gp(e=>e.height),c=(0,v.useRef)(!0),l=o>0&&s>0;return(0,v.useEffect)(()=>{if(!l)return;let{layout:t}=e,u=n===null?o:lg(o),d=Math.min(1,(u-64)/Math.max(t.width,1),(s-64)/Math.max(t.height,1)),f=Math.max(yne,d),p=t.width*f<=u-64?(u-t.width*f)/2:sg,m=t.height*f<=s-64?(s-t.height*f)/2:sg,h=r&&!c.current?og:0;c.current=!1,a({x:p,y:m,zoom:f},{duration:h});let g=0,_=()=>{document.querySelectorAll(`path[data-edge-from]`).length>=t.edges.length?i(e):g=window.requestAnimationFrame(_)},v=window.setTimeout(_,h+(r?og:0)+20);return()=>{window.clearTimeout(v),window.cancelAnimationFrame(g)}},[e,t,l]),null}function Dne({selected:e,animate:t,drawingWidth:n}){let{getInternalNode:r,getViewport:i,setViewport:a}=Pm(),o=Gp(e=>e.width);return(0,v.useEffect)(()=>{if(e===null||o===0)return;let s=window.setTimeout(()=>{let s=r(e);if(!s)return;let{x:c,y:l,zoom:u}=i(),d=s.internals.positionAbsolute.x*u+c,f=d+(s.measured.width??s.width??0)*u,p=lg(o)-sg,m=c+n*u-p;if(m>0&&c-m>=sg/2)return void a({x:c-m,y:l,zoom:u},{duration:t?og:0});if(f<=p)return;let h=Math.min(f-p,Math.max(0,d-sg));h>0&&a({x:c-h,y:l,zoom:u},{duration:t?og:0})},bne);return()=>window.clearTimeout(s)},[e]),null}var One=(0,v.memo)(function({data:e,selected:t}){let{node:n,type:r,sublabel:i,team:a,container:o,twoLine:s,toggle:c,onToggle:l,wayIn:u,onOpenView:d,mark:f,ring:p,picked:m,change:h}=e,g=e=>e.stopPropagation(),_=c&&(0,T.jsx)(`button`,{type:`button`,className:`arc-toggle nodrag nopan`,"aria-label":`${c===`expand`?`Expand`:`Collapse`} ${n.name}`,title:c===`expand`?`Show what is inside ${n.name}, here`:`Close ${n.name}`,onClick:e=>{g(e),l(n.id,c===`expand`)},onDoubleClick:g,children:(0,T.jsx)(di,{name:c===`expand`?`plus`:`minus`})}),v=u&&(0,T.jsx)(`button`,{type:`button`,className:`arc-way-in nodrag nopan`,"aria-label":`Open ${n.name}'s View`,title:`Open ${n.name}'s own View`,onClick:e=>{g(e),d(n.id)},onDoubleClick:g,children:(0,T.jsx)(di,{name:`arrow`})}),y=[`arc-box`,`arc-${n.kind}`,r?`arc-t-${r}`:``,o?`arc-container`:``,s?`arc-two-line`:``,n.external?`arc-external`:``,t?`arc-selected`:``,f?f.hit?`arc-hit`:`arc-dim`:``,f?.hit&&p?`arc-ringed`:``,f?.hit&&f.side&&(!o||n.collapsed)?`arc-side-${f.side}`:``,f?.hit&&n.collapsed?`arc-holds-hit`:``,m?`arc-picked`:``,h?`arc-${h}`:``];return(0,T.jsxs)(`div`,{className:y.filter(Boolean).join(` `),style:a?{"--team":a.color}:void 0,"data-node":n.id,"data-parent":n.parent??``,"data-hit":f?String(f.hit):void 0,"data-distance":f?.distance,"data-picked":m?`true`:void 0,"data-change":h,"aria-selected":t?`true`:`false`,title:h&&h!==`unchanged`?`${n.name}: ${h===`changed`&&n.collapsed?`changed, or something inside changed`:h}`:f?.hit&&n.collapsed?`${n.name}: something inside is hit`:n.name,children:[(0,T.jsx)(sh,{type:`target`,position:id.Left,isConnectable:!1,className:`arc-handle`}),(0,T.jsx)(sh,{type:`source`,position:id.Right,isConnectable:!1,className:`arc-handle`}),(0,T.jsxs)(`div`,{className:`arc-box-head`,children:[_,(0,T.jsx)(di,{name:pne[r??n.kind],className:`arc-kind-glyph`}),(0,T.jsx)(`span`,{className:`arc-name`,"data-testid":`name`,children:n.name}),o&&(0,T.jsx)(`span`,{className:`arc-sublabel arc-csub`,"data-testid":`sublabel`,title:i,children:i}),a&&(0,T.jsx)(`span`,{className:`arc-team`,"data-testid":`team`,title:`Owner: ${a.code}`,children:a.code}),o&&v]}),!o&&(0,T.jsxs)(`div`,{className:`arc-box-foot`,children:[(0,T.jsx)(`div`,{className:`arc-sublabel`,"data-testid":`sublabel`,title:i,children:i}),v]}),f?.distance!==void 0&&!(o&&!n.collapsed)&&(0,T.jsxs)(`span`,{className:`arc-badge arc-badge-${f.side??`distance`}`,children:[f.side&&(0,T.jsx)(di,{name:gne[f.side],className:`arc-badge-icon`}),f.side&&f.side!==`origin`&&`${hne[f.side]} `,f.side===`origin`&&hne.origin,(0,T.jsx)(`span`,{className:f.side===`origin`?`arc-visually-hidden`:void 0,"data-testid":`distance`,"aria-label":`distance ${f.distance}`,children:f.distance})]}),f?.hit&&n.collapsed&&(0,T.jsx)(`span`,{className:`arc-holds`,"aria-hidden":`true`}),h===`added`&&(0,T.jsx)(`span`,{className:`arc-added-mark`,"data-testid":`added`,"aria-label":`added`,children:`+`}),h===`changed`&&(0,T.jsx)(`span`,{className:`arc-changed-mark`,"data-testid":`changed`,"aria-label":`changed`})]})});function kne({data:e,markerEnd:t}){let n=e.points.map((e,t)=>`${t===0?`M`:`L`}${ug(e.x)} ${ug(e.y)}`).join(` `),{faded:r,lit:i,change:a}=e,o=[`arc-edge`,(i===void 0?r:!i)?`arc-faded`:``,i?`arc-lit`:``,a?`arc-${a}`:``],s=(0,T.jsx)(`path`,{className:o.filter(Boolean).join(` `),d:n,markerEnd:t,fill:`none`,"data-edge-from":e.from,"data-edge-to":e.to,"data-lit":i===void 0?void 0:String(i),"data-change":a});if(a!==`added`&&a!==`changed`)return s;let c=Ane(e.points);return(0,T.jsxs)(T.Fragment,{children:[s,a===`added`?(0,T.jsx)(`text`,{className:`arc-edge-added`,x:c.x,y:c.y,dy:`0.35em`,textAnchor:`middle`,"aria-hidden":`true`,children:`+`}):(0,T.jsx)(`circle`,{className:`arc-edge-changed`,cx:c.x,cy:c.y,r:4,"aria-hidden":`true`})]})}function Ane(e){let t=e.slice(1).map((t,n)=>Math.hypot(t.x-e[n].x,t.y-e[n].y)),n=t.reduce((e,t)=>e+t,0)/2;for(let r=0;r<t.length;r++){if(n<=t[r]&&t[r]>0){let i=n/t[r];return{x:e[r].x+i*(e[r+1].x-e[r].x),y:e[r].y+i*(e[r+1].y-e[r].y)}}n-=t[r]}return e[0]??{x:0,y:0}}var ug=e=>Math.round(e*100)/100,dg={box:One},jne={route:kne},fg={header:60,firstRow:34,columnGap:40,labelPad:56,rowHeight:46,lineHeight:16,bar:10,nameSize:13,labelSize:12,subSize:11,headerPad:88,minColumn:116,margin:24};function pg(e,{brokers:t=!1}={}){return e.steps.flatMap(e=>{let n={n:e.n,label:e.description,...e.via===void 0?{}:{via:e.via},...e.channel===void 0?{}:{channel:e.channel},...e.note===void 0?{}:{note:e.note},step:e},r=e.kind===`return`?`return`:e.interaction;return!t||e.kind!==`event`||e.via===void 0?[{...n,key:String(e.n),from:e.from,to:e.to,style:r}]:[{...n,key:`${e.n}a`,leg:`a`,from:e.from,to:e.via,style:r},{...n,key:`${e.n}b`,leg:`b`,from:e.via,to:e.to,style:r}]})}function mg(e,{brokers:t=!1}={}){let n=[...e.participants];if(!t)return n;for(let t of e.steps)t.kind!==`event`||t.via===void 0||n.includes(t.via)||n.splice(n.indexOf(t.from)+1,0,t.via);return n}var hg=(e,t)=>e.via===void 0||e.leg!==void 0?void 0:[`via `+t(e.via),...e.channel===void 0?[]:[e.channel]].join(` · `);function Mne(e,t){let n=fg,r=pg(e,t),i=mg(e,t),a=new Map(i.map((e,t)=>[e,t])),o=i.map(e=>Math.max(n.minColumn,tg(t.name(e),n.nameSize,700)+n.headerPad)),s=r.map(e=>{let r=hg(e,t.name);return Math.max(tg(e.label,n.labelSize),r?tg(r,n.subSize):0,e.note?tg(e.note,n.subSize):0)}),c=i.map(()=>[]);r.forEach((e,t)=>{let[r,i]=[a.get(e.from),a.get(e.to)];r!==i&&c[Math.max(r,i)].push({left:Math.min(r,i),gap:s[t]+n.labelPad})});let l=[];i.forEach((e,t)=>{let r=t===0?n.margin+o[0]/2:l[t-1]+o[t-1]/2+o[t]/2+n.columnGap;for(let e of c[t])r=Math.max(r,l[e.left]+e.gap);l.push(r)});let u=i.map((e,t)=>({id:e,x:l[t],width:o[t]})),d=n.header+n.firstRow,f=r.map(e=>{let r=+!!hg(e,t.name)+ +!!e.note,i={top:d,y:d+26,height:n.rowHeight+r*n.lineHeight};return d+=i.height,i}),p=new Map,m=[],h=new Map;r.forEach((e,t)=>h.set(e.from,f[t].y)),r.forEach((e,t)=>{let n=f[t].y;if(e.style===`return`){let t=p.get(e.from)?.pop();t&&m.push({participant:e.from,top:t.top,bottom:n,depth:t.depth})}else if(e.style===`sync`){let t=p.get(e.to)??[];t.push({top:n,depth:t.length}),p.set(e.to,t)}});for(let[e,t]of p)for(let n of t)m.push({participant:e,top:n.top,bottom:Math.max(n.top+18,h.get(e)??0),depth:n.depth});m.sort((e,t)=>e.top-t.top||e.participant.localeCompare(t.participant));let g=(e,t,r)=>{let i=l[a.get(e)],o=m.filter(n=>n.participant===e&&n.top<=t&&t<=n.bottom);if(o.length===0)return i;let s=Math.max(...o.map(e=>e.depth));return r===`left`?i-n.bar/2:i+n.bar/2+s*n.bar/2},_=r.map((e,t)=>{let{top:n,y:r,height:i}=f[t],o=l[a.get(e.to)]>l[a.get(e.from)];return{...e,top:n,y:r,height:i,x1:g(e.from,r,o?`right`:`left`),x2:g(e.to,r,o?`left`:`right`),labelWidth:s[t]}}),v=u.at(-1);return{columns:u,rows:_,activations:m,width:v?v.x+v.width/2+n.margin:2*n.margin,height:d+30}}var gg="a tag, a commit sha or its first 4 or more characters, or a date (`YYYY-MM-DD`) or time (ISO 8601, UTC unless it gives a zone)",_g=5,Nne=/^(\d{4})-(\d{2})-(\d{2})$/,Pne=/^(\d{4}-\d{2}-\d{2})[Tt ](\d{2}:\d{2})(:\d{2}(?:\.\d+)?)?([Zz]|[+-]\d{2}:?\d{2})?$/,Fne=/^[0-9a-f]{4,64}$/i,Ine=864e5;function vg(e){if(Nne.exec(e)){let t=Date.parse(`${e}T00:00:00Z`);return Number.isNaN(t)||new Date(t).toISOString().slice(0,10)!==e?void 0:{start:t,end:t+Ine}}let t=Pne.exec(e);if(!t)return;let[,n,r,i=`:00`,a=`Z`]=t,o=a.toUpperCase()===`Z`?`Z`:`${a.slice(0,3)}:${a.slice(-2)}`,s=Date.parse(`${n}T${r}${i}${o}`);if(!Number.isNaN(s)&&vg(n))return Lne(s)}var Lne=e=>({start:e,end:e+1});function Rne(e,t){let n=e.find(e=>e.tags.includes(t));if(n)return{ok:!0,revision:n};let r=vg(t);if(r){let t=e.find(e=>Date.parse(e.date)<r.end);return t?{ok:!0,revision:t}:yg(e,e.at(-1))}if(Fne.test(t)){let n=t.toLowerCase(),r=e.filter(e=>e.sha.toLowerCase().startsWith(n));if(r.length===1)return{ok:!0,revision:r[0]};if(r.length>1)return{ok:!1,kind:`ambiguous`,count:r.length,candidates:r.slice(0,_g)}}return yg(e)}function yg(e,t){return{ok:!1,kind:`not_found`,tags:e.flatMap(e=>e.tags).slice(0,_g),...t?{first:t}:{}}}function zne(e,t){return e.filter(e=>t(e.changedIds))}function bg(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function xg(e,t=`|`){return e.map(e=>zg(e)).join(t)}function Sg(e,t){return typeof t==`bigint`?t.toString():t}var Bne=class{constructor(e){this._getter=e,this._value=void 0}get value(){let e=this._getter;return e!==void 0&&(this._value=e(),this._getter=void 0),this._value}};function Cg(e){return new Bne(e)}function Vne(e){return e==null}function wg(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}function Hne(e,t){let n=e/t,r=Math.round(n),i=4*2**-52*Math.max(Math.abs(n),1);return Math.abs(n-r)<i?0:n-r}function Tg(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Eg(e){let t=Object.getOwnPropertyDescriptor(e,`shape`);return t?.get?t.get.raw:t?.value}function Dg(e){return Eg(e._zod.def)??e._zod.def.shape}function Og(e,t,n){Object.defineProperty(e,t,{get(){let e=n();return Tg(this,t,e),e},enumerable:!0,configurable:!0})}function kg(e,t,n){t in e?Tg(e,t,n):e[t]=n}function Ag(e,t,n,r){let i=Dg(t);for(let a of n){let n=Object.getOwnPropertyDescriptor(i,a);n.enumerable&&(n.get?Og(e,a,()=>{let e=t._zod.def.shape[a];return r?r(e,a):e}):kg(e,a,r?r(n.value,a):n.value))}}function Une(e,t){for(let n of Reflect.ownKeys(t)){let r=Object.getOwnPropertyDescriptor(t,n);r.enumerable&&(r.get?Og(e,n,()=>t[n]):kg(e,n,r.value))}}function jg(...e){let t={};for(let n of e){let e=Object.getOwnPropertyDescriptors(n);Object.assign(t,e)}return Object.defineProperties({},t)}function Wne(e){return JSON.stringify(e)}function Gne(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}var Mg=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Ng(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}var Kne=Cg(()=>{if(h_.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function Pg(e){if(Ng(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return Ng(n)!==!1&&Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)!==!1}function Fg(e){return Pg(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}var qne=new Set([`string`,`number`,`symbol`]);function Ig(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Lg(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function Rg(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function zg(e){return typeof e==`bigint`?e.toString()+`n`:typeof e==`string`?`"${e}"`:`${e}`}function Bg(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===`optional`)}var Vg={safeint:[-(2**53-1),2**53-1],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Hg={int64:[BigInt(`-9223372036854775808`),BigInt(`9223372036854775807`)],uint64:[BigInt(0),BigInt(`18446744073709551615`)]};function Ug(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);let i={};return Ag(i,e,Wg(e,t)),Lg(e,jg(n,{shape:i,checks:[]}))}function Wg(e,t){let n=Dg(e),r=[];for(let e of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,e)?.enumerable)throw Error(`Unrecognized key: "${String(e)}"`);t[e]&&r.push(e)}return r}function Jne(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);let i=new Set(Wg(e,t)),a={};return Ag(a,e,Reflect.ownKeys(Dg(e)).filter(e=>!i.has(e))),Lg(e,jg(n,{shape:a,checks:[]}))}function Gg(e,t){if(!Pg(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=Dg(e);for(let e of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Lg(e,jg(e._zod.def,{shape:Kg(e,t)}))}function Kg(e,t){let n={};return Ag(n,e,Reflect.ownKeys(Dg(e))),Une(n,t),n}function qg(e,t){if(!Pg(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Lg(e,jg(e._zod.def,{shape:Kg(e,t)}))}function D(e,t){if(!t?._zod?.def)throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);let n={};return Ag(n,e,Reflect.ownKeys(Dg(e))),Ag(n,t,Reflect.ownKeys(Dg(t))),Lg(e,jg(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function Jg(e,t,n,r=`partial`){let i=t._zod.def.checks;if(i&&i.length>0)throw Error(`.${r}() cannot be used on object schemas containing refinements`);let a=n?new Set(Wg(t,n)):void 0,o={};return Ag(o,t,Reflect.ownKeys(Dg(t)),e&&((t,n)=>a&&!a.has(n)?t:new e({type:`optional`,innerType:t}))),Lg(t,jg(t._zod.def,{shape:o,checks:[]}))}function Yg(e,t,n){let r=n?new Set(Wg(t,n)):void 0,i={};return Ag(i,t,Reflect.ownKeys(Dg(t)),(t,n)=>r&&!r.has(n)?t:new e({type:`nonoptional`,innerType:t})),Lg(t,jg(t._zod.def,{shape:i}))}function Xg(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Yne(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Zg(e,t){return t.map(t=>{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Qg(e){return typeof e==`string`?e:e?.message}function Xne(e){let t=[];for(let n of e??[]){let e=n._zod.def;if(!/_(length|size)$|_equals$/.test(e.check))break;let r=e.maximum??e.length??e.size;r>=0&&t.push([r,n])}return t}function $g(e,t,n){var r;for(let i=t;i<e.length;i++)(r=e[i]).schema??(r.schema=n)}function O(e,t,n){var r;let i=e.inst?._zod?.traits;i?.has(`$ZodType`)&&(i.has(`$ZodCheck`)?(r=e).schema??(r.schema=e.inst):e.schema=e.inst);let a=e.schema===e.inst?void 0:e.schema?._zod.def?.error,o=e.message?e.message:Qg(e.inst?._zod.def?.error?.(e))??Qg(a?.(e))??Qg(t?.error?.(e))??Qg(n.customError?.(e))??Qg(n.localeError?.(e))??`Invalid input`,s={};for(let t of Object.keys(e))t!==`inst`&&t!==`schema`&&t!==`continue`&&t!==`input`&&t!==`__proto__`&&(s[t]=e[t]);return s.path??=[],s.message=o,t?.reportInput&&(s.input=e.input),s}var Zne=/[\uD800-\uDBFF]/;function e_(e){let t=e.length;if(!Zne.test(e))return t;let n=t;for(let r=0;r<t-1;r++)(e.charCodeAt(r)&64512)==55296&&(e.charCodeAt(r+1)&64512)==56320&&(n--,r++);return n}function t_(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Qne(e){let t=typeof e;switch(t){case`number`:return Number.isNaN(e)?`nan`:`number`;case`object`:{if(e===null)return`null`;if(Array.isArray(e))return`array`;let t=e;if(t&&Object.getPrototypeOf(t)!==Object.prototype&&`constructor`in t&&t.constructor)return t.constructor.name}}return t}function n_(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}function $ne(e,t){for(let n in t){let r=Object.getOwnPropertyDescriptor(t,n);r.get?Object.defineProperty(e,n,{...r,enumerable:!1}):nre(e,n,r.value)}}function r_(e,t,n,r=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:r,value:n}),n}function ere(e,t,n){return r_(e,t,n,!1)}function tre(e,t){for(let n in e){let r=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return r_(this,n,r(this))},set(e){r_(this,n,e)}})}return t}function nre(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:r_(this,t,n.bind(this))},set(e){r_(this,t,e)}})}function i_(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var a_,o_=!1,rre={configurable:!0,get(){o_=!0}};function s_(e,t,n){let r=Object.getPrototypeOf(e._zod);t in r&&a_!==e._zod?a_=void 0:(a_=e._zod,Object.defineProperty(r,t,{configurable:!0,get(){Object.defineProperty(this,t,rre);let e=o_;o_=!1;try{let r=n(this);return o_?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r}),o_||=e,r}catch(n){throw delete this[t],o_||=e,n}},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}}))}function ire(e,t,n,r){let i=i_(e,t);i&&Object.defineProperty(i,t,{configurable:!0,get(){let e={configurable:!0,writable:!0,enumerable:r,value:void 0};return Object.defineProperty(this,t,e),e.value=n(this),Object.defineProperty(this,t,e),e.value},set(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:r,value:e})}})}var are=`~constantCatch`;function c_(e){let t=()=>e;return t[are]=!0,t}var l_,u_={value:void 0,enumerable:!1},d_=`captureStackTrace`in Error?Error:null;function ore(e){let t=d_;if(t){let n=t.stackTraceLimit;if(typeof n==`number`){try{t.stackTraceLimit=0}catch{return d_=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function f_(e,t,n,r){let i={};function a(e){this.def=e,this.constr=d,this.traits=new Set}a.prototype=i;let o=n,s=o&&new WeakSet;function c(n,r){if(!n._zod){u_.value=new a(r);try{Object.defineProperty(n,"_zod",u_)}finally{u_.value=void 0}}else if(n._zod.traits.has(e))return;if(n._zod.traits.add(e),t(n,r),s){let e=Object.getPrototypeOf(n),t=n._zod.constr.prototype,r=e;for(;r&&r!==t;)r=Object.getPrototypeOf(r);let i=r??e;s.has(i)||(s.add(i),$ne(i,o))}let i=d.prototype;for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(e in n||(n[e]=i[e].bind(n)))}let l=r?.Parent??Object;class u extends l{}Object.defineProperty(u,"name",{value:e});function d(e){let t=r?.Parent?ore(u):this;c(t,e);let n=t._zod.deferred;if(n){for(let e of n)e();t._zod.deferred=void 0}let i=globalThis.__zod_globalConfig?.postProcessor;return i&&i(t),t}return Object.defineProperty(d,"init",{value:c}),Object.defineProperty(d,Symbol.hasInstance,{value:t=>r?.Parent&&t instanceof r.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(d,"name",{value:e}),d}var p_=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},m_=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(l_=globalThis).__zod_globalConfig??(l_.__zod_globalConfig={});var h_=globalThis.__zod_globalConfig;function g_(e){return e&&Object.assign(h_,e),h_}function sre(){let e=this._zod;return e.message??=JSON.stringify(e.def,Sg,2),e.message}function __(e){this._zod.message=e}var cre={get:sre,set:__,enumerable:!0,configurable:!0},lre={value:void 0,enumerable:!1},v_=new WeakSet([Object.prototype,Error.prototype]),ure=f_(`$ZodError`,(e,t)=>{e.name=`$ZodError`,lre.value=t,Object.defineProperty(e,"issues",lre),lre.value=void 0,Object.defineProperty(e,"message",cre);let n=Object.getPrototypeOf(e);v_.has(n)||(v_.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let e=()=>this.message;return Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,"toString",{value:e,configurable:!0,writable:!0})}}))});function dre(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===`__proto__`?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function fre(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?dre(n,i.path[0],()=>[]).push(t(i)):r.push(t(i));return{formErrors:r,fieldErrors:n}}function pre(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i<e.length;){let n=e[i],o=i===e.length-1;if(n===`_errors`){o&&r._errors.push(t(a)),i++;continue}Object.prototype.hasOwnProperty.call(r,n)||Object.defineProperty(r,n,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let s=r[n];o&&s._errors.push(t(a)),r=s,i++}}}};return r(e),n}function y_(e,t){return{callee:t?.callee??e,Err:t?.Err}}var b_=e=>{let t=(n,r,i,a)=>{let o=i?{...i,async:!1}:{async:!1},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise)throw new p_;if(s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>O(e,o,g_())));throw Mg(n,a?.callee??t),n}return s.value};return t},mre=e=>{let t=async(n,r,i,a)=>{let o=i?{...i,async:!0}:{async:!0},s=n._zod.run({value:r,issues:[]},o);if(s instanceof Promise&&(s=await s),s.issues.length){let n=new((a?.Err)??e)(s.issues.map(e=>O(e,o,g_())));throw Mg(n,a?.callee??t),n}return s.value};return t},x_=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new p_;return a.issues.length?hre(e,a.issues,i):{success:!0,data:a.value}};function hre(e,t,n){let r;return{success:!1,get error(){return r||(r=new e(t.map(e=>O(e,n,g_()))),t=void 0,n=void 0),r},set error(e){r=e,t=void 0,n=void 0}}}var S_=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?hre(e,a.issues,i):{success:!0,data:a.value}},gre=Symbol.for(`zod.compile.invalid`),C_=Symbol.for(`zod.compile.fallback`),w_=((e,t,n)=>{let r=e._zod.bag.validator;if(r!==void 0){if(r(t)!==gre)return!0;if(r.definite===!0&&n===void 0)return!1}return T_(e,t,n)});function T_(e,t,n){let r=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},i=e._zod.bag.fallbackRun,a;if(i?(r[C_]=!0,a=i({value:t,issues:[]},r)):a=e._zod.run({value:t,issues:[]},r),a instanceof Promise)throw new p_;return a.issues.length===0}var _re=async(e,t,n)=>{let r=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},i=e._zod.run({value:t,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length===0},E_=e=>{let t=b_(e),n=(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return t(e,r,o,y_(n,a))};return n},D_=e=>{let t=b_(e),n=(e,r,i,a)=>t(e,r,i,y_(n,a));return n},vre=e=>{let t=mre(e),n=async(e,r,i,a)=>{let o=i?{...i,direction:`backward`}:{direction:`backward`};return await t(e,r,o,y_(n,a))};return n},yre=e=>{let t=mre(e),n=async(e,r,i,a)=>await t(e,r,i,y_(n,a));return n},bre=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return x_(e)(t,n,i)},xre=e=>(t,n,r)=>x_(e)(t,n,r),Sre=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return S_(e)(t,n,i)},Cre=e=>async(t,n,r)=>S_(e)(t,n,r),wre=/^[cC][0-9a-z]{6,}$/,Tre=/^[0-9a-z]+$/,Ere=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Dre=/^[0-9a-vA-V]{20}$/,Ore=/^[A-Za-z0-9]{27}$/,kre=/^[a-zA-Z0-9_-]{21}$/;function Are(e){return RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var jre=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,Mre=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,O_=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,k_=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,Nre=`^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;function Pre(){return new RegExp(Nre,`u`)}var Fre=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Ire=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([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9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;function Bre(e){return RegExp(`^${e}$`)}var Vre=Bre(zre);function P_(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Hre(e){return RegExp(`^${P_(e)}$`)}function Ure(e){let t=[`Z`];e.offset&&t.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let n=`${P_({precision:e.precision,seconds:!0})}(?:${t.join(`|`)})`,r=e.local?`${n}|${P_({precision:e.precision})}`:n;return RegExp(`^${zre}T(?:${r})$`)}var F_=/^[\s\S]{0,}$/,Wre=/^-?\d+$/,I_=/^-?\d+(?:\.\d+)?$/,Gre=/^(?:true|false)$/i,Kre=/^[^A-Z]*$/,qre=/^[^a-z]*$/,L_=f_(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),R_=e=>{let t=e.value;return!Vne(t)&&t.length!==void 0},z_={number:`number`,bigint:`bigint`,object:`date`},Jre=f_(`$ZodCheckLessThan`,(e,t)=>{L_.init(e,t);let n=z_[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value<=t.value:r.value<t.value)||r.issues.push({origin:z_[typeof r.value]??n,code:`too_big`,maximum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Yre=f_(`$ZodCheckGreaterThan`,(e,t)=>{L_.init(e,t);let n=z_[typeof t.value];e._zod.check=r=>{(t.inclusive?r.value>=t.value:r.value>t.value)||r.issues.push({origin:z_[typeof r.value]??n,code:`too_small`,minimum:typeof t.value==`object`?t.value.getTime():t.value,input:r.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),B_=f_(`$ZodCheckMultipleOf`,(e,t)=>{L_.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw Error(`Cannot mix number and bigint in multiple_of check.`);(typeof n.value==`bigint`?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):Hne(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:`not_multiple_of`,divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Xre=f_(`$ZodCheckNumberFormat`,(e,t)=>{L_.init(e,t),t.format=t.format||`float64`;let n=t.format?.includes(`int`),r=n?`int`:`number`,[i,a]=Vg[t.format];e._zod.check=o=>{let s=o.value;if(n){if(!Number.isInteger(s)){o.issues.push({expected:r,format:t.format,code:`invalid_type`,continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?o.issues.push({input:s,code:`too_big`,maximum:2**53-1,note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort}):o.issues.push({input:s,code:`too_small`,minimum:-(2**53-1),note:`Integers must be within the safe integer range.`,inst:e,origin:r,inclusive:!0,continue:!t.abort});return}}s<i&&o.issues.push({origin:`number`,input:s,code:`too_small`,minimum:i,inclusive:!0,inst:e,continue:!t.abort}),s>a&&o.issues.push({origin:`number`,input:s,code:`too_big`,maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),V_=f_(`$ZodCheckMaxLength`,(e,t)=>{var n;L_.init(e,t),(n=e._zod.def).when??(n.when=R_),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>t.maximum?e_(r):i)<=t.maximum)return;let a=t_(r);n.issues.push({origin:a,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),H_=f_(`$ZodCheckMinLength`,(e,t)=>{var n;L_.init(e,t),(n=e._zod.def).when??(n.when=R_),e._zod.check=n=>{let r=n.value,i=r.length;if((typeof r==`string`&&i>=t.minimum&&i<t.minimum*2?e_(r):i)>=t.minimum)return;let a=t_(r);n.issues.push({origin:a,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Zre=f_(`$ZodCheckLengthEquals`,(e,t)=>{var n;L_.init(e,t),(n=e._zod.def).when??(n.when=R_),e._zod.check=n=>{let r=n.value,i=r.length,a=typeof r==`string`&&i>=t.length&&i<=t.length*2?e_(r):i;if(a===t.length)return;let o=t_(r),s=a>t.length;n.issues.push({origin:o,...s?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),U_=f_(`$ZodCheckStringFormat`,(e,t)=>{var n,r;L_.init(e,t),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Qre=f_(`$ZodCheckRegex`,(e,t)=>{U_.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,t.pattern.test(n.value)||n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),$re=f_(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=Kre,U_.init(e,t)}),eie=f_(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=qre,U_.init(e,t)}),tie=f_(`$ZodCheckIncludes`,(e,t)=>{L_.init(e,t);let n=Ig(t.includes);t.pattern=new RegExp(typeof t.position==`number`?`^.{${t.position},}${n}`:n),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),nie=f_(`$ZodCheckStartsWith`,(e,t)=>{L_.init(e,t);let n=RegExp(`^${Ig(t.prefix)}.*`);t.pattern??=n,e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),rie=f_(`$ZodCheckEndsWith`,(e,t)=>{L_.init(e,t);let n=RegExp(`.*${Ig(t.suffix)}$`);t.pattern??=n,e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),iie=f_(`$ZodCheckOverwrite`,(e,t)=>{L_.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}}),aie=class{constructor(e=[],t={}){this.content=[],this.indent=0,this.args=e,this.closed=t}indented(e){this.indent+=1;try{e(this)}finally{--this.indent}}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(`
85
85
  `).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.content??[``];return new e(...Object.keys(this.closed),`return function (${this.args.join(`, `)}) {\n${t.join(`
86
86
  `)}\n};`)(...Object.values(this.closed))}},oie={major:4,minor:6,patch:7},W_=f_(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=oie;let r=e._zod.def.checks,i=e._zod.traits.has(`$ZodCheck`)?[e,...r??[]]:r?.length?[...r]:[];for(let t of i)for(let n of t._zod.onattach)n(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(t,n,r)=>{if(t.memo)return t;let i=Xg(t),a;for(let o of n){if(o._zod.def.when){if(Yne(t)||!o._zod.def.when(t))continue}else if(i)continue;let n=t.issues.length,s=o._zod.check(t);if(s instanceof Promise&&r?.async===!1)throw new p_;if(a||s instanceof Promise)a=(a??Promise.resolve()).then(async()=>{await s,t.issues.length!==n&&($g(t.issues,n,e),i||=Xg(t,n))});else{if(t.issues.length===n)continue;$g(t.issues,n,e),i||=Xg(t,n)}}return a?a.then(()=>t):t},n=(n,r,a)=>{if(Xg(n))return n.aborted=!0,n;let o=t(r,i,a);if(o instanceof Promise){if(a.async===!1)throw new p_;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(r,a)=>{if(a.skipChecks)return e._zod.parse(r,a);if(a.direction===`backward`){let t=e._zod.parse({value:r.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,r,a)):n(t,r,a)}let o=e._zod.parse(r,a);if(o instanceof Promise){if(a.async===!1)throw new p_;return o.then(e=>t(e,i,a))}return t(o,i,a)}}},{get"~standard"(){return ere(this,`~standard`,K_(this))},set"~standard"(e){r_(this,`~standard`,e)}}),G_=(e,t)=>e.issues.length?{issues:e.issues.map(e=>O(e,t,g_()))}:{value:e.value};async function sie(e,t){let n={async:!0};return G_(await e._zod.run({value:t,issues:[]},n),n)}function K_(e){return{validate:t=>{let n={async:!1};try{let r=e._zod.run({value:t,issues:[]},n);if(!(r instanceof Promise))return G_(r,n)}catch{}return sie(e,t)},vendor:`zod`,version:1}}var q_=f_(`$ZodString`,(e,t)=>{W_.init(e,t),e._zod.pattern=t.pattern??F_,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),J_=f_(`$ZodStringFormat`,(e,t)=>{U_.init(e,t),q_.init(e,t)}),cie=f_(`$ZodGUID`,(e,t)=>{t.pattern??=Mre,J_.init(e,t)}),lie=f_(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=O_(e)}else t.pattern??=O_();J_.init(e,t)}),uie=f_(`$ZodEmail`,(e,t)=>{t.pattern??=k_,J_.init(e,t)});function die(e){try{return typeof URL<`u`&&typeof URL.canParse==`function`?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function fie(e,t){return!(`normalize`in t)&&!(`hostname`in t)&&!(`protocol`in t)?die(e)||2:pie(e,t)}function pie(e,t){if(!t.normalize&&t.protocol?.source===N_.source&&!/^https?:\/\//i.test(e))return 1;try{if(typeof URL<`u`){let t=URL;if(typeof t.parse==`function`)return t.parse(e)??2}return new URL(e)}catch{return 2}}var mie=/[\t\n\r]/g;function hie(e){return e.replace(mie,``)}function gie(e,t){return t.lastIndex=0,t.test(e.hostname)}function _ie(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(`:`)?e.protocol.slice(0,-1):e.protocol)}var vie=f_(`$ZodURL`,(e,t)=>{J_.init(e,t),e._zod.check=n=>{try{let r=n.value.trim(),i=fie(r,t);if(i===1){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}if(i===2){n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort});return}if(i===!0){n.value=hie(r);return}t.hostname&&!gie(i,t.hostname)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!_ie(i,t.protocol)&&n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?i.href:hie(r);return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),yie=f_(`$ZodEmoji`,(e,t)=>{t.pattern??=Pre(),J_.init(e,t)}),bie=f_(`$ZodNanoID`,(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw Error(`Invalid nanoid length: ${t.length}`);t.pattern??=t.length===void 0?kre:Are(t.length),J_.init(e,t)}),xie=f_(`$ZodCUID`,(e,t)=>{t.pattern??=wre,J_.init(e,t)}),Y_=f_(`$ZodCUID2`,(e,t)=>{t.pattern??=Tre,J_.init(e,t)}),Sie=f_(`$ZodULID`,(e,t)=>{t.pattern??=Ere,J_.init(e,t)}),Cie=f_(`$ZodXID`,(e,t)=>{t.pattern??=Dre,J_.init(e,t)}),X_=f_(`$ZodKSUID`,(e,t)=>{t.pattern??=Ore,J_.init(e,t)}),wie=f_(`$ZodISODateTime`,(e,t)=>{t.pattern??=Ure(t),J_.init(e,t)}),Z_=f_(`$ZodISODate`,(e,t)=>{t.pattern??=Vre,J_.init(e,t)}),Q_=f_(`$ZodISOTime`,(e,t)=>{t.pattern??=Hre(t),J_.init(e,t)}),Tie=f_(`$ZodISODuration`,(e,t)=>{t.pattern??=jre,J_.init(e,t)}),Eie=f_(`$ZodIPv4`,(e,t)=>{t.pattern??=Fre,J_.init(e,t)}),Die=/^[0-9a-fA-F:.]+$/;function $_(e){return Die.test(e)?die(`http://[${e}]`):!1}var Oie=f_(`$ZodIPv6`,(e,t)=>{t.pattern??=Ire,J_.init(e,t),e._zod.check=n=>{$_(n.value)||n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}),kie=f_(`$ZodCIDRv4`,(e,t)=>{t.pattern??=A_,J_.init(e,t)});function Aie(e){let t=e.split(`/`);if(t.length!==2)return!1;let[n,r]=t;if(!r)return!1;let i=Number(r);return`${i}`!==r||i<0||i>128?!1:$_(n)}var jie=f_(`$ZodCIDRv6`,(e,t)=>{t.pattern??=j_,J_.init(e,t),e._zod.check=n=>{Aie(n.value)||n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}});function Mie(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}var Nie=/^[0-9a-zA-Z+/]*={0,2}$/,Pie=f_(`$ZodBase64`,(e,t)=>{t.pattern??=Nie,J_.init(e,t),e._zod.check=n=>{Mie(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}}),Fie=/^[A-Za-z0-9_-]*$/;function ev(e){if(!Fie.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return Mie(t.padEnd(Math.ceil(t.length/4)*4,`=`))}var Iie=f_(`$ZodBase64URL`,(e,t)=>{t.pattern??=Fie,J_.init(e,t),e._zod.check=n=>{ev(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),Lie=f_(`$ZodE164`,(e,t)=>{t.pattern??=Rre,J_.init(e,t)});function tv(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}var Rie=f_(`$ZodJWT`,(e,t)=>{J_.init(e,t),e._zod.check=n=>{tv(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),nv=f_(`$ZodNumber`,(e,t)=>{W_.init(e,t),e._zod.pattern=I_,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let i=n.value;if(typeof i==`number`&&!Number.isNaN(i)&&Number.isFinite(i))return n;let a=typeof i==`number`?Number.isNaN(i)?`NaN`:Number.isFinite(i)?void 0:String(i):void 0;return n.issues.push({expected:`number`,code:`invalid_type`,input:i,inst:e,...a?{received:a}:{}}),n}}),zie=f_(`$ZodNumberFormat`,(e,t)=>{Xre.init(e,t),nv.init(e,t)}),rv=f_(`$ZodBoolean`,(e,t)=>{W_.init(e,t),e._zod.pattern=Gre,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),iv=f_(`$ZodUnknown`,(e,t)=>{W_.init(e,t),e._zod.parse=e=>e}),av=f_(`$ZodNever`,(e,t)=>{W_.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function ov(e,t){let n=Xne(e._zod.def.checks);if(!n.length)return;let r=Math.min(...n.map(e=>e[0])),i=e._zod.parse;e._zod.parse=(n,a)=>{let o=t(n.value);if(o>r&&!a?.skipChecks&&a?.direction!==`backward`){for(let[t,r]of Xne(e._zod.def.checks))if(o>t&&r._zod.def.when(n)){let t=n.issues.length;return r._zod.check(n),n.issues[t].continue=!1,$g(n.issues,t,e),n}}return i(n,a)}}var Bie=e=>Array.isArray(e)?e.length:-1;function sv(e,t,n){e.issues.length&&t.issues.push(...Zg(n,e.issues)),t.value[n]=e.value}var cv=f_(`$ZodArray`,(e,t)=>{W_.init(e,t);let n=h_.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({expected:`array`,code:`invalid_type`,input:a,inst:e}),r;r.value=n?n.alloc(e,r,Array(a.length),i):Array(a.length);let o=[],s=i?.abortEarly;for(let e=0;e<a.length;e++){let n=a[e],c=t.element._zod.run({value:n,issues:[]},i);if(c instanceof Promise)o.push(c.then(t=>sv(t,r,e)));else if(sv(c,r,e),s&&c.issues.length!==0&&Xg(c))break}return o.length?Promise.all(o).then(()=>r):r},ov(e,Bie)});function lv(e,t,n,r,i,a){let o=n in r,s=a===`optional`;if(o||!s||i!==`optional`){if(e.issues.length){if(i!==void 0&&s&&!o)return;t.issues.push(...Zg(n,e.issues))}!o&&i===void 0?e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]}):e.value===void 0?(o||i===`defaulted`&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}var uv=[];function Vie(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),r=n.length?n:uv,i=r.length?[...t,...r]:t;for(let t of i)if(!e.shape?.[t]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${String(t)}": expected a Zod schema`);let a=Bg(e.shape);return{...e,allKeys:i,symbolKeys:r,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(a)}}function dv(e,t,n,r,i,a,o){let s=[],c=i.keySet,l=i.catchall._zod,u=l.def.type,d=l.optin,f=l.optout,p=0;for(let i in t){if(o&&n.issues.length!==p){if(Xg(n,p))break;p=n.issues.length}if(c.has(i))continue;if(i===`__proto__`){u===`never`&&s.push(i);continue}if(u===`never`){s.push(i);continue}let a=l.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>lv(e,n,i,t,d,f))):lv(a,n,i,t,d,f)}return s.length&&n.issues.push({code:`unrecognized_keys`,keys:s,input:t,inst:a,continue:!0}),e.length?Promise.all(e).then(()=>n):n}var fv=f_(`$ZodObject`,(e,t)=>{W_.init(e,t);let n=Object.getOwnPropertyDescriptor(t,`shape`),r=n?.get?n.get.raw:t.shape??{};if(r){let e=()=>{let n={...r};return Object.defineProperty(t,"shape",{value:n}),e.raw=n,n};e.raw=r,Object.defineProperty(t,"shape",{get:e})}let i=Cg(()=>Vie(t));s_(e,`propValues`,e=>{let t=e.def.shape,n={};for(let e in t){let r=t[e]._zod;if(r.values){Object.prototype.hasOwnProperty.call(n,e)||Tg(n,e,new Set);for(let t of r.values)n[e].add(t);r.optin!==void 0&&n[e].add(void 0)}}return n});let a=Ng,o=t.catchall,s,c=h_.memoizer;c?.attach(e),e._zod.parse=(t,n)=>{s??=i.value;let r=t.value;if(!a(r))return t.issues.push({expected:`object`,code:`invalid_type`,input:r,inst:e}),t;t.value=c?c.alloc(e,t,{},n):{};let l=[],u=s.shape,d=n?.abortEarly,f=t.issues.length;for(let e of s.allKeys){if(d&&t.issues.length!==f){if(Xg(t,f))break;f=t.issues.length}if(e===`__proto__`)continue;let i=u[e],a=i._zod.optin,o=i._zod.optout,s=i._zod.run({value:r[e],issues:[]},n);s instanceof Promise?l.push(s.then(n=>lv(n,t,e,r,a,o))):lv(s,t,e,r,a,o)}return o?dv(l,r,t,n,i.value,e,d===!0):l.length?Promise.all(l).then(()=>t):t}}),pv=f_(`$ZodObjectJIT`,(e,t)=>{fv.init(e,t);let n=e._zod.parse,r=Cg(()=>Vie(t)),i=h_.memoizer,a=t=>{let n=r.value,a=n.symbolKeys,o=new aie([`payload`,`ctx`],{shape:t,inst:e,memo:i,syms:a}),s=e=>`shape[${e}]._zod.run({ value: input[${e}], issues: [] }, ctx)`,c=(e,t)=>`
87
87
  let ${e}_ab = false;
@@ -135,4 +135,4 @@ Consider installing the package or pass your own 'workerFactory' to ELK's constr
135
135
 
136
136
  `)}return o.write(`payload.value = newResult;`),o.write(`return payload;`),o.compile()},o,s=Ng,c=!h_.jitless,l=c&&Kne.value,u=t.catchall,d;e._zod.parse=(i,f)=>{d??=r.value;let p=i.value;return s(p)?c&&l&&f?.async===!1&&f.jitless!==!0?(o||=a(t.shape),i=o(i,f),u?dv([],p,i,f,d,e,f?.abortEarly===!0):i):n(i,f):(i.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),i)}});function mv(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Xg(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>O(e,r,g_())))}),t)}var hv=f_(`$ZodUnion`,(e,t)=>{W_.init(e,t),s_(e,`optin`,e=>e.def.options.some(e=>e._zod.optin===`defaulted`)?`defaulted`:e.def.options.some(e=>e._zod.optin!==void 0)?`optional`:void 0),s_(e,`optout`,e=>e.def.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),s_(e,`values`,e=>{if(e.def.options.every(e=>e._zod.values))return new Set(e.def.options.flatMap(e=>Array.from(e._zod.values)))}),s_(e,`pattern`,e=>{if(e.def.options.every(e=>e._zod.pattern)){let t=e.def.options.map(e=>e._zod.pattern);return RegExp(`^(${t.map(e=>wg(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>mv(t,r,e,i)):mv(o,r,e,i)}});function gv(e){let t=new Map;for(let n of e.options){let r=n._zod.propValues?.[e.discriminator];if(!r||r.size===0)throw Error(`Invalid discriminated union option at index "${e.options.indexOf(n)}"`);for(let e of r)if(t.has(e)){if(e!==void 0)throw Error(`Duplicate discriminator value "${String(e)}"`);t.set(e,null)}else t.set(e,n)}return t}var k=f_(`$ZodDiscriminatedUnion`,(e,t)=>{t.inclusive=!1,hv.init(e,t);let n=e._zod.parse;s_(e,`propValues`,e=>{let t={},n=0;for(let r of e.def.options){let i=r._zod.propValues;if(!i||Object.keys(i).length===0)throw Error(`Invalid discriminated union option at index "${e.def.options.indexOf(r)}"`);i[e.def.discriminator]?.has(void 0)&&n++;for(let[e,n]of Object.entries(i)){Object.prototype.hasOwnProperty.call(t,e)||Tg(t,e,new Set);for(let r of n)t[e].add(r)}}return!e.def.unionFallback&&n>1&&t[e.def.discriminator]?.delete(void 0),t}),t.options.forEach((e,n)=>{let r=Eg(e._zod.def);if(r&&!Object.prototype.hasOwnProperty.call(r,t.discriminator))throw Error(`Invalid discriminated union option at index "${n}"`)});let r=Cg(()=>gv(t));e._zod.parse=(i,a)=>{let o=i.value;if(!Ng(o))return i.issues.push({code:`invalid_type`,expected:`object`,input:o,inst:e}),i;let s=o?.[t.discriminator],c=r.value.get(s);return c&&(s!==void 0||a.direction!==`backward`)?c._zod.run(i,a):t.unionFallback||a.direction===`backward`?n(i,a):(i.issues.push({code:`invalid_union`,errors:[],note:`No matching discriminator`,discriminator:t.discriminator,options:Array.from(r.value.keys()).filter(e=>r.value.get(e)!==null),input:o,path:[t.discriminator],inst:e}),i)}}),_v=f_(`$ZodIntersection`,(e,t)=>{W_.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Hie(e,t,n)):Hie(e,i,a)}});function vv(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Pg(e)&&Pg(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};Object.prototype.hasOwnProperty.call(i,`__proto__`)&&delete i.__proto__;for(let n of r){if(n===`__proto__`)continue;let r=vv(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=vv(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Hie(e,t,n){let r=new Map,i,a=new Map,o=(e,t)=>{let n;if(e.code===`unrecognized_keys`&&!e.path?.length)i??=e,n=e.keys;else if(e.code===`invalid_key`&&e.origin===`record`&&e.path?.length===1){let t=String(e.path[0]);a.has(t)||a.set(t,e),n=[t]}else return!1;for(let e of n)r.has(e)||r.set(e,{}),r.get(e)[t]=!0;return!0};for(let n of t.issues)o(n,`l`)||e.issues.push(n);for(let t of n.issues)o(t,`r`)||e.issues.push(t);let s=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(s.length){let t=i?s.filter(e=>i.keys.includes(e)):[];t.length&&e.issues.push({...i,keys:t});for(let n of s)!t.includes(n)&&a.has(n)&&e.issues.push(a.get(n))}let c=vv(t.value,n.value);if(!c.valid){if(Xg(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var yv=f_(`$ZodRecord`,(e,t)=>{W_.init(e,t);let n=h_.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Pg(a))return r.issues.push({expected:`record`,code:`invalid_type`,input:a,inst:e}),r;let o=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},i):{};let c=new Set;for(let n of s)if(typeof n==`string`||typeof n==`number`||typeof n==`symbol`){if(c.add(typeof n==`number`?n.toString():n),n===`__proto__`)continue;let s=t.keyType._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(s.issues.length){r.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>O(e,i,g_())),input:n,path:[n],inst:e});continue}let l=s.value;if(l===`__proto__`)continue;let u=t.valueType._zod.run({value:a[n],issues:[]},i);u instanceof Promise?o.push(u.then(e=>{e.issues.length&&r.issues.push(...Zg(n,e.issues)),r.value[l]=e.value})):(u.issues.length&&r.issues.push(...Zg(n,u.issues)),r.value[l]=u.value)}let l;for(let e in a)if(!c.has(e)){if(t.mode===`loose`){if(e===`__proto__`)continue;r.value[e]=a[e]}else l??=[],l.push(e)}l&&l.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:l,continue:!0})}else{r.value=n?n.alloc(e,r,{},i):{};let c;for(let n of Reflect.ownKeys(a)){if(n===`__proto__`||!Object.prototype.propertyIsEnumerable.call(a,n))continue;let l=t.keyType._zod.run({value:n,issues:[]},i);if(l instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof n==`string`&&I_.test(n)&&l.issues.length){let e=t.keyType._zod.run({value:Number(n),issues:[]},i);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(l=e)}if(l.issues.length){t.mode===`loose`?r.value[n]=a[n]:s?(c??=[],c.push(n)):r.issues.push({code:`invalid_key`,origin:`record`,issues:l.issues.map(e=>O(e,i,g_())),input:n,path:[n],inst:e});continue}let u=l.value;if(u===`__proto__`)continue;let d=t.valueType._zod.run({value:a[n],issues:[]},i);d instanceof Promise?o.push(d.then(e=>{e.issues.length&&r.issues.push(...Zg(n,e.issues)),r.value[u]=e.value})):(d.issues.length&&r.issues.push(...Zg(n,d.issues)),r.value[u]=d.value)}c&&c.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:c,continue:!0})}return o.length?Promise.all(o).then(()=>r):r}}),bv=f_(`$ZodEnum`,(e,t)=>{W_.init(e,t);let n=bg(t.entries),r=new Set(n);e._zod.values=r,s_(e,`pattern`,e=>{let t=bg(e.def.entries).filter(e=>qne.has(typeof e));return RegExp(t.length?`^(${t.map(e=>Ig(e.toString())).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Uie=f_(`$ZodLiteral`,(e,t)=>{W_.init(e,t);let n=new Set(t.values);e._zod.values=n,s_(e,`pattern`,e=>{let t=e.def.values;return RegExp(t.length?`^(${t.map(e=>typeof e==`string`?Ig(e):e?Ig(e.toString()):String(e)).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),Wie=f_(`$ZodTransform`,(e,t)=>{W_.init(e,t),e._zod.optin=`optional`,h_.memoizer?.guard(e),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new m_(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new p_;return n.value=i,n}});function xv(e,t){return e.value=t.issues.length?void 0:t.value,e}var Sv=f_(`$ZodOptional`,(e,t)=>{W_.init(e,t),s_(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),e._zod.optout=`optional`,s_(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t,void 0]):void 0}),s_(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${wg(t.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(e.value===void 0){if(t.innerType._zod.optin!==`defaulted`)return e;let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(t=>xv(e,t)):xv(e,r)}return t.innerType._zod.run(e,n)}}),Cv=f_(`$ZodExactOptional`,(e,t)=>{Sv.init(e,t),s_(e,`values`,e=>e.def.innerType._zod.values),s_(e,`pattern`,e=>e.def.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),wv=f_(`$ZodNullable`,(e,t)=>{W_.init(e,t),s_(e,`optin`,e=>e.def.innerType._zod.optin),s_(e,`optout`,e=>e.def.innerType._zod.optout),s_(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${wg(t.source)}|null)$`):void 0}),s_(e,`values`,e=>e.def.innerType._zod.values?new Set([...e.def.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Tv=f_(`$ZodDefault`,(e,t)=>{W_.init(e,t),e._zod.optin=`defaulted`,s_(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>Ev(e,t)):Ev(r,t)}});function Ev(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Dv=f_(`$ZodPrefault`,(e,t)=>{W_.init(e,t),e._zod.optin=`defaulted`,s_(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),Ov=f_(`$ZodNonOptional`,(e,t)=>{W_.init(e,t),s_(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>Gie(t,e)):Gie(i,e)}});function Gie(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function kv(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(e=>O(e,r,g_()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var Kie=f_(`$ZodCatch`,(e,t)=>{W_.init(e,t),s_(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),s_(e,`optout`,e=>e.def.innerType._zod.optout),s_(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(r=>kv(e,r,t,n)):kv(e,r,t,n)}}),qie=f_(`$ZodPipe`,(e,t)=>{W_.init(e,t),s_(e,`values`,e=>e.def.in._zod.values),s_(e,`optin`,e=>e.def.in._zod.optin),s_(e,`optout`,e=>e.def.out._zod.optout),s_(e,`propValues`,e=>e.def.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>Av(e,t.in,n)):Av(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>Av(e,t.out,n)):Av(r,t.out,n)}});function Av(e,t,n){return e.issues.some(e=>e.code!==`unrecognized_keys`)?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Jie=f_(`$ZodReadonly`,(e,t)=>{W_.init(e,t),s_(e,`propValues`,e=>e.def.innerType._zod.propValues),s_(e,`values`,e=>e.def.innerType._zod.values),s_(e,`optin`,e=>e.def.innerType?._zod?.optin),s_(e,`optout`,e=>e.def.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(A):A(r)}});function A(e){return e.memo||(e.value=Object.freeze(e.value)),e}var Yie=f_(`$ZodCustom`,(e,t)=>{L_.init(e,t),W_.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>Xie(t,n,r,e));Xie(i,n,r,e)}});function Xie(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(n_(e))}}var Zie=class extends Error{constructor(){super(`Cannot parse a reference cycle that closes through a transform`),this.name=`ZodCyclicError`}},Qie=`~memo`,jv=[];function Mv(e){return typeof e==`object`&&!!e}function Nv(e){return e.map(e=>e.path?{...e,path:e.path.slice()}:{...e})}var Pv=new WeakMap,Fv=0,Iv=1,Lv=2;function Rv(e,t,n){let r=Pv.get(e);if(r!==void 0)return r?Lv:Fv;if(t.has(e))return Lv;t.add(e);let i=Fv,a=e=>{if(i!==Lv&&e?._zod){let r=Rv(e,t,n);r>i&&(i=r)}},o=(e,r)=>{let i=Fv;for(let a of Reflect.ownKeys(e)){let o=Object.getOwnPropertyDescriptor(e,a);if(r&&!o.enumerable)continue;let s=o.get?Iv:o.value?._zod?Rv(o.value,t,n):Fv;s>i&&(i=s)}return i},s=e=>{e>i&&(i=e)},c=e._zod.def;switch(c.type){case`object`:{let e=Eg(c);s(e?o(e,!0):Iv),a(c.catchall);break}case`array`:a(c.element);break;case`tuple`:for(let e of c.items)a(e);a(c.rest);break;case`record`:case`map`:a(c.keyType),a(c.valueType);break;case`set`:a(c.valueType);break;case`union`:for(let e of c.options)a(e);break;case`intersection`:a(c.left),a(c.right);break;case`optional`:case`nullable`:case`default`:case`prefault`:case`catch`:case`readonly`:case`nonoptional`:case`promise`:case`success`:a(c.innerType);break;case`pipe`:a(c.in),a(c.out);break;case`function`:a(c.input),a(c.output);break;case`lazy`:{let r=c._cachedInner??(n?e._zod.innerType:void 0);s(r?Rv(r,t,!1):Iv);break}case`template_literal`:case`string`:case`number`:case`int`:case`boolean`:case`bigint`:case`symbol`:case`undefined`:case`null`:case`void`:case`never`:case`any`:case`unknown`:case`date`:case`nan`:case`enum`:case`literal`:case`file`:case`transform`:case`custom`:break;default:for(let e in c){let t=Object.getOwnPropertyDescriptor(c,e);if(!t||t.get)continue;let n=t.value;if(n&&typeof n==`object`){if(n._zod)a(n);else if(Array.isArray(n))for(let e of n)a(e)}}}return t.delete(e),zv(e,i)}function zv(e,t){return t!==Iv&&Pv.set(e,t===Lv),t}function Bv(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}var Vv,Hv=[],$ie={alloc(e,t,n){let r=Vv;if(!r)return n;Vv=void 0;let i={value:n,issues:null};return r.set(t.value,i),Hv.push(i),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,n=(e,n)=>{if(n.direction!==`backward`&&tae(n,e.value))throw new Zie;return t(e,n)};e._zod.parse=n,e._zod.run===t&&(e._zod.run=n)})},attach(e){var t;let n,r=!1,i,a;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,o=(s,c)=>{if(n===void 0){let i=Rv(e,new Set,!1);if(i===Fv)return e._zod.parse=t,e._zod.run===o&&(e._zod.run=t),t(s,c);i===Lv||r?n=!0:r=!0}let l=s.value;if(!Mv(l))return t(s,c);let u=c[Qie];u||(u={buckets:new WeakMap,backEdges:void 0},c[Qie]=u);let d;i===c?d=a:(d=Bv(u,e),i=c,a=d);let f=d.get(l);if(f)return s.value=f.value,f.issues?f.issues.length&&s.issues.push(...Nv(f.issues)):(s.memo=!0,u.backEdges??(u.backEdges=new WeakSet),u.backEdges.add(f.value)),s;Vv=d;let p=Hv.length,m=t(s,c);Vv=void 0;let h=Hv.length>p?Hv.pop():void 0;return m instanceof Promise?m.then(e=>(h&&(h.issues=e.issues.length?Nv(e.issues):jv),e)):(h&&(h.issues=m.issues.length?Nv(m.issues):jv),m)};e._zod.parse=o,e._zod.run===t&&(e._zod.run=o)})}};function eae(){return $ie}function tae(e,t){let n=e[Qie]?.backEdges;return n!==void 0&&Mv(t)&&n.has(t)}var nae=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,currency_code:`currency code`,credit_card:`credit card number`,iban:`IBAN`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};function i(e,t){return e===`number`&&typeof t==`number`&&!Number.isFinite(t)?String(t):r[e]??e}return e=>{switch(e.code){case`invalid_type`:return`Invalid input: expected ${i(e.expected)}, received ${i(Qne(e.input),e.input)}`;case`invalid_value`:return e.values.length===1?`Invalid input: expected ${zg(e.values[0])}`:`Invalid option: expected one of ${xg(e.values,`|`)}`;case`too_big`:{let n=e.exact?`exactly `:e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.exact?`exactly `:e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with "${t.prefix}"`:t.format===`ends_with`?`Invalid string: must end with "${t.suffix}"`:t.format===`includes`?`Invalid string: must include "${t.includes}"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${xg(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(e=>`'${e}'`).join(` | `)}`:e.inclusive===!1?`Invalid input: more than one option matched`:`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}};function rae(){return{localeError:nae()}}var iae,aae=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function oae(){return new aae}(iae=globalThis).__zod_globalRegistry??(iae.__zod_globalRegistry=oae());var Uv=globalThis.__zod_globalRegistry;function Wv(e){return e.checks&&=[...e.checks],e}function sae(e,t){return new e(Wv({type:`string`,...Rg(t)}))}function cae(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...Rg(t)})}function lae(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...Rg(t)})}function uae(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...Rg(t)})}function dae(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...Rg(t)})}function Gv(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...Rg(t)})}function fae(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...Rg(t)})}function pae(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...Rg(t)})}function mae(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...Rg(t)})}function hae(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...Rg(t)})}function gae(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...Rg(t)})}function _ae(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...Rg(t)})}function vae(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...Rg(t)})}function yae(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...Rg(t)})}function bae(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...Rg(t)})}function Kv(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...Rg(t)})}function qv(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...Rg(t)})}function Jv(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...Rg(t)})}function Yv(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...Rg(t)})}function Xv(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...Rg(t)})}function xae(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...Rg(t)})}function Zv(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...Rg(t)})}function Qv(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...Rg(t)})}function $v(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...Rg(t)})}function ey(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...Rg(t)})}function ty(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...Rg(t)})}function ny(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...Rg(t)})}function Sae(e,t){return new e(Wv({type:`number`,checks:[],...Rg(t)}))}function ry(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...Rg(t)})}function iy(e,t){return new e({type:`boolean`,...Rg(t)})}function ay(e){return new e({type:`unknown`})}function oy(e,t){return new e({type:`never`,...Rg(t)})}function sy(e,t){return new Jre({check:`less_than`,...Rg(t),value:e,inclusive:!1})}function Cae(e,t){return new Jre({check:`less_than`,...Rg(t),value:e,inclusive:!0})}function wae(e,t){return new Yre({check:`greater_than`,...Rg(t),value:e,inclusive:!1})}function Tae(e,t){return new Yre({check:`greater_than`,...Rg(t),value:e,inclusive:!0})}function cy(e,t){return new B_({check:`multiple_of`,...Rg(t),value:e})}function ly(e,t){return new V_({check:`max_length`,...Rg(t),maximum:e})}function uy(e,t){return new H_({check:`min_length`,...Rg(t),minimum:e})}function dy(e,t){return new Zre({check:`length_equals`,...Rg(t),length:e})}function fy(e,t){return new Qre({check:`string_format`,format:`regex`,...Rg(t),pattern:e})}function Eae(e){return new $re({check:`string_format`,format:`lowercase`,...Rg(e)})}function Dae(e){return new eie({check:`string_format`,format:`uppercase`,...Rg(e)})}function Oae(e,t){return new tie({check:`string_format`,format:`includes`,...Rg(t),includes:e})}function py(e,t){return new nie({check:`string_format`,format:`starts_with`,...Rg(t),prefix:e})}function kae(e,t){return new rie({check:`string_format`,format:`ends_with`,...Rg(t),suffix:e})}function my(e){return new iie({check:`overwrite`,tx:e})}function Aae(e){return my(t=>t.normalize(e))}function jae(){return my(e=>e.trim())}function Mae(){return my(e=>e.toLowerCase())}function Nae(){return my(e=>e.toUpperCase())}function hy(){return my(e=>Gne(e))}function gy(e,t,n){return new e({type:`array`,element:t,...Rg(n)})}function Pae(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...Rg(n)})}function Fae(e,t){let n=Iae(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(n_(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,`input`in r||(r.input=t.value),r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(n_(r))}},e(t.value,t)),t);return n}function Iae(e,t){let n=new L_({check:`custom`,...Rg(t)});return n._zod.check=e,n}function _y(e,...t){for(let n of t)for(let t of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,t)&&Tg(e,t,n[t]);return e}function vy(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??Uv,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,intersections:[],deferred:[],external:e?.external??void 0}}function yy(e,t,n,r,i){let a=typeof t.unrepresentable==`function`?t.unrepresentable({zodSchema:e,path:r.path,message:i}):t.unrepresentable;if(a===`any`)return!1;if(a===void 0||a===`throw`)throw Error(i);return Object.assign(n,a),!0}function by(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,by(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&_y(o.schema,c),t.io===`input`&&Ey(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function xy(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function Sy(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);if(e.external&&e.sharedDefsExtractedFor===e.external)return;let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${xy(a)}`}}let i=`#/${r}/`;if(t[1]===n&&!t[1].schema.id)return{ref:`#`};let a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+xy(a)}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
137
137
 
138
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function Lae(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;Lae(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var Cy=new Set([`type`,`properties`,`required`,`additionalProperties`]),Rae=[`oneOf`,`anyOf`];function zae(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function wy(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!Cy.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??zae(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}Tg(n,r,e.length===1?e[0]:wy(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=zae(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function Bae(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of Cy)if(t in e)return;let n=t.filter(e=>Rae.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=wy(t);else{let e=n[0],i=Rae.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>wy([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,_y(e,r))}function Ty(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):_y(i,s),_y(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())Lae(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])Bae(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}_y(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,Tg(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:Oy(t,`input`,e.processors),output:Oy(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function Ey(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return Ey(r.element,n);if(r.type===`set`)return Ey(r.valueType,n);if(r.type===`lazy`)return Ey(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return Ey(r.innerType,n);if(r.type===`intersection`)return Ey(r.left,n)||Ey(r.right,n);if(r.type===`record`||r.type===`map`)return Ey(r.keyType,n)||Ey(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:Ey(r.in,n)||Ey(r.out,n);if(r.type===`object`){for(let e in r.shape)if(Ey(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(Ey(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(Ey(e,n))return!0;return!!(r.rest&&Ey(r.rest,n))}return!1}var Dy=(e,t={})=>n=>{let r=vy({...n,processors:t});return by(e,r),Sy(r,e),Ty(r,e)},Oy=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=vy({...i??{},target:a,io:t,processors:n});return by(e,o),Sy(o,e),Ty(o,e)},ky=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Ay=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},jy=(e,t)=>{ky(e,`minimum`,t),Ay(e,`maximum`,t)},My=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},Ny=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},Py=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},Fy=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},Iy=(e,t)=>ky(e,`minimum`,t.minimum),Ly=(e,t)=>Ay(e,`maximum`,t.maximum),Ry=e=>(t,n)=>{Fy(t,n.format);let[r,i]=e[n.format];ky(t,`minimum`,r),Ay(t,`maximum`,i)},Vae={greater_than:(e,t)=>ky(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>Ay(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>My(e,t.value),number_format:Ry(Vg),bigint_format:Ry(Hg),min_length:Iy,max_length:Ly,length_equals:(e,t)=>jy(e,t.length),min_size:Iy,max_size:Ly,size_equals:(e,t)=>jy(e,t.size),string_format:(e,t)=>{Fy(e,t.format),t.pattern&&Ny(e,t.pattern),(t.format===`base64`||t.format===`base64url`)&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>Py(e,t.mime)};function zy(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)Vae[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&ky(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&ky(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&Ay(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&Ay(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&My(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&Py(t,i.mime);for(let e of i.patterns??[])Ny(t,e);return t}var Hae={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},Uae=new Map([[Nie,M_],[Fie,Lre]]),Wae=e=>Uae.get(e)??e,Gae=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=zy(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=Hae[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(Wae);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},Kae=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:u}=zy(e);i.type=u?`integer`:`number`;let d=typeof l==`number`&&l>=(a??-1/0),f=typeof c==`number`&&c<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;if(d?p?(i.minimum=l,i.exclusiveMinimum=!0):i.exclusiveMinimum=l:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c:typeof o==`number`&&(i.maximum=o),s){let n=new Set;for(let a of s)Number.isFinite(a)&&a!==0?n.add(Math.abs(a)):yy(e,t,i,r,`A multipleOf divisor of ${a} cannot be represented in JSON Schema`);let[a,...o]=n;a!==void 0&&(i.multipleOf=a),o.length&&(i.allOf=[...i.allOf??[],...o.map(e=>({multipleOf:e}))])}},qae=(e,t,n,r)=>{n.type=`boolean`},Jae=(e,t,n,r)=>{n.not={}},Yae=(e,t,n,r)=>{let i=e._zod.def,a=bg(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},Xae=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(yy(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(yy(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},Zae=(e,t,n,r)=>{yy(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},Qae=(e,t,n,r)=>{yy(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},$ae=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=zy(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=by(a.element,t,{...r,path:[...r.path,`items`]})};function By(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?By(t.out):t.type===`catch`?By(t.innerType):e._zod.optin}var eoe=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&yy(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)Tg(i.properties,e,by(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?By(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=by(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Vy=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>by(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},toe=(e,t,n,r)=>{let i=e._zod.def,a=by(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=by(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)};function Hy(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let r=e.get(t)?.def;if(!r)return t;let i=Hy(e,r,n);return i===r?t:i}for(let r of[`anyOf`,`oneOf`]){let i=t[r];if(!Array.isArray(i))continue;let a=i.map(t=>Hy(e,t,n));a.some((e,t)=>e!==i[t])&&(t={...t,[r]:a})}let r=Array.isArray(t.type)?t.type:[t.type],i=!r.includes(`string`)&&r.some(e=>e===`number`||e===`integer`),a=t.enum??(t.const===void 0?void 0:[t.const]);if(!i&&!a?.some(e=>typeof e==`number`))return t;let{minimum:o,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:u,format:d,id:f,...p}=t;return p.enum?p.enum=p.enum.map(e=>typeof e==`number`?String(e):e):typeof p.const==`number`&&(p.const=String(p.const)),i&&(p.type=`string`,a||(p.pattern=(r.includes(`number`)?I_:Wre).source)),p}var Uy=new WeakMap;function Wy(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let n=new Map;for(let r of Uy.get(e)??[]){let i=e.seen.get(r),a=(i?.def??i?.schema)?.propertyNames;if(!a||a===!0||n.has(a))continue;let o=Hy(t,a,new Set);o!==a&&n.set(a,o)}if(n.size)for(let t of e.seen.values())for(let e of[t.schema,t.def]){let t=e&&n.get(e.propertyNames);t&&(e.propertyNames=t)}}var Gy=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=zy(o).patterns;if(a.mode===`loose`&&s&&s.size>0){let e=by(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)Tg(i.patternProperties,Wae(t).source,e)}else{if(t.target===`draft-07`||t.target===`draft-2020-12`){i.propertyNames=by(a.keyType,t,{...r,path:[...r.path,`propertyNames`]});let n=Uy.get(t);n||(n=[],Uy.set(t,n),t.deferred.push(()=>Wy(t))),n.push(e)}i.additionalProperties=by(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]})}let c=o._zod.values,l=t.io===`input`&&By(a.valueType)!==void 0;if(c&&!a.partial&&!l){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e.map(String))}},Ky=(e,t,n,r)=>{let i=e._zod.def,a=by(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},noe=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},qy=Symbol();function Jy(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(yy(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),qy):JSON.parse(o)}var roe=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=Jy(i.defaultValue,e,t,n,r);o!==qy&&(n.default=o)},ioe=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=Jy(i.defaultValue,e,t,n,r);o!==qy&&(n._prefault=o)},aoe=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{yy(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},Yy=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;by(o,t,r);let s=t.seen.get(e);s.ref=o},Xy=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Zy=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Qy=new WeakSet([Object.prototype,Error.prototype]);function $y(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var eb=f_(`ZodError`,(e,t)=>{ure.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);Qy.has(n)||(Qy.add(n),$y(n,`format`,e=>t=>pre(e,t)),$y(n,`flatten`,e=>t=>fre(e,t)),$y(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,Sg,2)}),$y(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,Sg,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},void 0,{Parent:Error}),ooe=b_(eb),soe=mre(eb),coe=x_(eb),loe=S_(eb),uoe=E_(eb),doe=D_(eb),foe=vre(eb),poe=yre(eb),moe=bre(eb),tb=xre(eb),nb=Sre(eb),rb=Cre(eb);function hoe(){h_.localeError||g_(rae())}function ib(){h_.memoizer||g_({memoizer:eae()})}var ab=f_(`ZodType`,(e,t)=>(hoe(),W_.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(jg(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Lg(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(qoe(e,t))},superRefine(e,t){return this.check(Joe(e,t))},overwrite(e){return this.check(my(e))},optional(){return Vb(this)},exactOptional(){return zoe(this)},nullable(){return Wb(this)},nullish(){return Vb(Wb(this))},nonoptional(e){return Hoe(this,e)},array(){return Eb(this)},or(e){return jb([this,e])},and(e){return Ioe(this,e)},transform(e){return Goe(this,zb(e))},default(e){return Gb(this,e)},prefault(e){return Kb(this,e)},catch(e){return Uoe(this,e)},pipe(e){return Goe(this,e)},readonly(){return Xb(this)},describe(e){let t=this.clone();return Uv.add(t,{description:e}),t},meta(...e){if(e.length===0)return Uv.get(this);let t=this.clone();return Uv.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return ere(this,`~standard`,{...K_(this),jsonSchema:{input:Oy(this,`input`),output:Oy(this,`output`)}})},set"~standard"(e){r_(this,`~standard`,e)},parse:function e(t,n){return ooe(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await soe(this,t,n,{callee:e})},safeParse(e,t){return coe(this,e,t)},async safeParseAsync(e,t){return loe(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){r_(this,`spa`,e)},validate(e,t){return w_(this,e,t)},validateAsync(e,t){return _re(this,e,t)},encode:function e(t,n){return uoe(this,t,n,{callee:e})},decode:function e(t,n){return doe(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await foe(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await poe(this,t,n,{callee:e})},safeEncode(e,t){return moe(this,e,t)},safeDecode(e,t){return tb(this,e,t)},async safeEncodeAsync(e,t){return nb(this,e,t)},async safeDecodeAsync(e,t){return rb(this,e,t)},toJSONSchema(e){return Dy(this,{})(e)},get description(){return Uv.get(this)?.description},get _def(){return this._zod.def}}),goe=f_(`_ZodString`,(e,t)=>{q_.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gae(e,t,n,r)},tre({format:e=>zy(e).format??null,minLength:e=>zy(e).minimum??null,maxLength:e=>zy(e).maximum??null},{regex(...e){return this.check(fy(...e))},includes(...e){return this.check(Oae(...e))},startsWith(...e){return this.check(py(...e))},endsWith(...e){return this.check(kae(...e))},min(...e){return this.check(uy(...e))},max(...e){return this.check(ly(...e))},length(...e){return this.check(dy(...e))},nonempty(...e){return this.check(uy(1,...e))},lowercase(e){return this.check(Eae(e))},uppercase(e){return this.check(Dae(e))},trim(){return this.check(jae())},normalize(...e){return this.check(Aae(...e))},toLowerCase(){return this.check(Mae())},toUpperCase(){return this.check(Nae())},slugify(){return this.check(hy())}})),ob=f_(`ZodString`,(e,t)=>{q_.init(e,t),goe.init(e,t)},{email(e){return this.check(cae(boe,e))},url(e){return this.check(pae(fb,e))},jwt(e){return this.check(Qv(Ooe,e))},emoji(e){return this.check(mae(xoe,e))},guid(e){return this.check(lae(ub,e))},uuid(e){return this.check(uae(db,e))},uuidv4(e){return this.check(dae(db,e))},uuidv6(e){return this.check(Gv(db,e))},uuidv7(e){return this.check(fae(db,e))},nanoid(e){return this.check(hae(Soe,e))},cuid(e){return this.check(gae(Coe,e))},cuid2(e){return this.check(_ae(woe,e))},ulid(e){return this.check(vae(Toe,e))},base64(e){return this.check(Xv(Doe,e))},base64url(e){return this.check(xae(yb,e))},xid(e){return this.check(yae(mb,e))},ksuid(e){return this.check(bae(hb,e))},ipv4(e){return this.check(Kv(gb,e))},ipv6(e){return this.check(qv(_b,e))},cidrv4(e){return this.check(Jv(Eoe,e))},cidrv6(e){return this.check(Yv(vb,e))},e164(e){return this.check(Zv(bb,e))},datetime(e){return this.check($v(_oe,e))},date(e){return this.check(ey(lb,e))},time(e){return this.check(ty(voe,e))},duration(e){return this.check(ny(yoe,e))}});function sb(e){return sae(ob,e)}var cb=f_(`ZodStringFormat`,(e,t)=>{J_.init(e,t),goe.init(e,t)}),_oe=f_(`ZodISODateTime`,(e,t)=>{wie.init(e,t),cb.init(e,t)}),lb=f_(`ZodISODate`,(e,t)=>{Z_.init(e,t),cb.init(e,t)}),voe=f_(`ZodISOTime`,(e,t)=>{Q_.init(e,t),cb.init(e,t)}),yoe=f_(`ZodISODuration`,(e,t)=>{Tie.init(e,t),cb.init(e,t)}),boe=f_(`ZodEmail`,(e,t)=>{uie.init(e,t),cb.init(e,t)}),ub=f_(`ZodGUID`,(e,t)=>{cie.init(e,t),cb.init(e,t)}),db=f_(`ZodUUID`,(e,t)=>{lie.init(e,t),cb.init(e,t)}),fb=f_(`ZodURL`,(e,t)=>{vie.init(e,t),cb.init(e,t)});function pb(e){return pae(fb,e)}var xoe=f_(`ZodEmoji`,(e,t)=>{yie.init(e,t),cb.init(e,t)}),Soe=f_(`ZodNanoID`,(e,t)=>{bie.init(e,t),cb.init(e,t)}),Coe=f_(`ZodCUID`,(e,t)=>{xie.init(e,t),cb.init(e,t)}),woe=f_(`ZodCUID2`,(e,t)=>{Y_.init(e,t),cb.init(e,t)}),Toe=f_(`ZodULID`,(e,t)=>{Sie.init(e,t),cb.init(e,t)}),mb=f_(`ZodXID`,(e,t)=>{Cie.init(e,t),cb.init(e,t)}),hb=f_(`ZodKSUID`,(e,t)=>{X_.init(e,t),cb.init(e,t)}),gb=f_(`ZodIPv4`,(e,t)=>{Eie.init(e,t),cb.init(e,t)}),_b=f_(`ZodIPv6`,(e,t)=>{Oie.init(e,t),cb.init(e,t)}),Eoe=f_(`ZodCIDRv4`,(e,t)=>{kie.init(e,t),cb.init(e,t)}),vb=f_(`ZodCIDRv6`,(e,t)=>{jie.init(e,t),cb.init(e,t)}),Doe=f_(`ZodBase64`,(e,t)=>{Pie.init(e,t),cb.init(e,t)}),yb=f_(`ZodBase64URL`,(e,t)=>{Iie.init(e,t),cb.init(e,t)}),bb=f_(`ZodE164`,(e,t)=>{Lie.init(e,t),cb.init(e,t)}),Ooe=f_(`ZodJWT`,(e,t)=>{Rie.init(e,t),cb.init(e,t)}),xb=f_(`ZodNumber`,(e,t)=>{nv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Kae(e,t,n,r),e.isFinite=!0},tre({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=zy(e);return Math.max(t??-1/0,n??-1/0)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=zy(e);return Math.min(t??1/0,n??1/0)},isInt:e=>{let{isInt:t,multipleOf:n}=zy(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>zy(e).format??null},{gt(e,t){return this.check(wae(e,t))},gte(e,t){return this.check(Tae(e,t))},min(e,t){return this.check(Tae(e,t))},lt(e,t){return this.check(sy(e,t))},lte(e,t){return this.check(Cae(e,t))},max(e,t){return this.check(Cae(e,t))},int(e){return this.check(Aoe(e))},safe(e){return this.check(Aoe(e))},positive(e){return this.check(wae(0,e))},nonnegative(e){return this.check(Tae(0,e))},negative(e){return this.check(sy(0,e))},nonpositive(e){return this.check(Cae(0,e))},multipleOf(e,t){return this.check(cy(e,t))},step(e,t){return this.check(cy(e,t))},finite(){return this}}));function Sb(e){return Sae(xb,e)}var koe=f_(`ZodNumberFormat`,(e,t)=>{zie.init(e,t),xb.init(e,t)});function Aoe(e){return ry(koe,e)}var Cb=f_(`ZodBoolean`,(e,t)=>{rv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>qae(e,t,n,r)});function wb(e){return iy(Cb,e)}var joe=f_(`ZodUnknown`,(e,t)=>{iv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Tb(){return ay(joe)}var Moe=f_(`ZodNever`,(e,t)=>{av.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Jae(e,t,n,r)});function Noe(e){return oy(Moe,e)}var Poe=f_(`ZodArray`,(e,t)=>{ib(),cv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$ae(e,t,n,r),e.element=t.element},{min(e,t){return this.check(uy(e,t))},nonempty(e){return this.check(uy(1,e))},max(e,t){return this.check(ly(e,t))},length(e,t){return this.check(dy(e,t))},unwrap(){return this.element}});function Eb(e,t){return gy(Poe,e,t)}var Db=f_(`ZodObject`,(e,t)=>{ib(),pv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>eoe(e,t,n,r),ire(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return Lb(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(jg(this._zod.def,{catchall:e}))},passthrough(){return this.clone(jg(this._zod.def,{catchall:Tb()}))},loose(){return this.clone(jg(this._zod.def,{catchall:Tb()}))},strict(){return this.clone(jg(this._zod.def,{catchall:Noe()}))},strip(){return this.clone(jg(this._zod.def,{catchall:void 0}))},extend(e){return Gg(this,e)},safeExtend(e){return qg(this,e)},merge(e){return D(this,e)},pick(e){return Ug(this,e)},omit(e){return Jne(this,e)},partial(...e){return Jg(Bb,this,e[0])},exactPartial(...e){return Jg(Hb,this,e[0],`exactPartial`)},required(...e){return Yg(qb,this,e[0])}});function Ob(e,t){return new Db({type:`object`,shape:e??{},...Rg(t)})}function kb(e,t){return new Db({type:`object`,shape:e,catchall:Noe(),...Rg(t)})}var Ab=f_(`ZodUnion`,(e,t)=>{hv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vy(e,t,n,r),e.options=t.options});function jb(e,t){return new Ab({type:`union`,options:e,...Rg(t)})}var Foe=f_(`ZodDiscriminatedUnion`,(e,t)=>{Ab.init(e,t),k.init(e,t)});function Mb(e,t,n){return new Foe({type:`union`,options:t,discriminator:e,...Rg(n)})}var Nb=f_(`ZodIntersection`,(e,t)=>{_v.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>toe(e,t,n,r)});function Ioe(e,t){return new Nb({type:`intersection`,left:e,right:t})}var Pb=f_(`ZodRecord`,(e,t)=>{ib(),yv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gy(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function Fb(e,t,n){return!t||!t._zod?new Pb({type:`record`,keyType:sb(),valueType:e,...Rg(t)}):new Pb({type:`record`,keyType:e,valueType:t,...Rg(n)})}var Ib=f_(`ZodEnum`,(e,t)=>{bv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Yae(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Ib({...t,checks:[],...Rg(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Ib({...t,checks:[],...Rg(r),entries:i})}});function Lb(e,t){return new Ib({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...Rg(t)})}var Loe=f_(`ZodLiteral`,(e,t)=>{Uie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xae(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Rb(e,t){return new Loe({type:`literal`,values:Array.isArray(e)?e:[e],...Rg(t)})}var Roe=f_(`ZodTransform`,(e,t)=>{ib(),Wie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qae(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new m_(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(n_(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(n_(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function zb(e){return new Roe({type:`transform`,transform:e})}var Bb=f_(`ZodOptional`,(e,t)=>{Sv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zy(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Vb(e){return new Bb({type:`optional`,innerType:e})}var Hb=f_(`ZodExactOptional`,(e,t)=>{Cv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zy(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function zoe(e){return new Hb({type:`optional`,innerType:e})}var Ub=f_(`ZodNullable`,(e,t)=>{wv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ky(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Wb(e){return new Ub({type:`nullable`,innerType:e})}var Boe=f_(`ZodDefault`,(e,t)=>{Tv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>roe(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Gb(e,t){return new Boe({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Fg(t)}})}var Voe=f_(`ZodPrefault`,(e,t)=>{Dv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ioe(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Kb(e,t){return new Voe({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Fg(t)}})}var qb=f_(`ZodNonOptional`,(e,t)=>{Ov.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>noe(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Hoe(e,t){return new qb({type:`nonoptional`,innerType:e,...Rg(t)})}var Jb=f_(`ZodCatch`,(e,t)=>{Kie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aoe(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Uoe(e,t){return new Jb({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:c_(t)})}var Woe=f_(`ZodPipe`,(e,t)=>{qie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Yy(e,t,n,r),e.in=t.in,e.out=t.out});function Goe(e,t){return new Woe({type:`pipe`,in:e,out:t})}var Yb=f_(`ZodReadonly`,(e,t)=>{Jie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xy(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Xb(e){return new Yb({type:`readonly`,innerType:e})}var Koe=f_(`ZodCustom`,(e,t)=>{Yie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zae(e,t,n,r)});function qoe(e,t={}){return Pae(Koe,e,t)}function Joe(e,t){return Fae(e,t)}function Yoe(e){return ey(lb,e)}var Zb=sb().regex(/^[a-z0-9][a-z0-9-]*$/,`must be a lowercase slug (a-z, 0-9 and -)`),Qb=kb({label:sb().describe("The text of the link, such as `Runbook`."),url:pb().describe("The page the link opens. A full URL, such as `https://wiki.example.com/runbooks/web`.")}).meta({id:`Link`,title:`Link`,description:`A link to a page about the thing it is declared on, such as a runbook or a dashboard.`}),Xoe=kb({name:sb().describe(`The Team's display name.`),description:sb().optional().describe(`A short description of the Team.`),links:Eb(Qb).optional().describe(`Links to pages about the Team.`)}).describe(`A Team: a group that can own Elements and Deployment Targets. Its key is the Team's id.`),$b=kb({name:sb().describe("The Environment's display name, such as `Production`."),description:sb().optional().describe(`A short description of the Environment.`)}).describe(`An Environment: a named stage that Services run in, such as prod or staging. Its key is the Environment's id.`);kb({teams:Fb(Zb,Xoe).optional().describe("The Teams of the Workspace, keyed by id. Every `owner` in every Project names one of these ids."),environments:Fb(Zb,$b).optional().describe(`The Environments of the Workspace, keyed by id. Every Deployment in every Project names one of these ids.`)}).describe("`workspace.yaml`: the Teams and Environments that every Project in the Workspace shares."),kb({id:Zb.describe("The Project's id, unique in the Workspace. Other Projects write it as the prefix of a Qualified id, such as `payments:ledger`."),name:sb().describe(`The Project's display name.`),owner:Zb.describe("The Team that owns the Project: the id of a Team in `workspace.yaml`. It is the Owner of every Element and Deployment Target in the Project that sets no `owner` of its own.")}).describe("`project.yaml`: marks its folder as a Project.");var ex=sb().regex(/^([a-z0-9][a-z0-9-]*:)?[a-z0-9][a-z0-9-]*$/,"must be an id, or `project:id` for one in another Project").describe("An id in this Project, or `project:id` for one in another Project."),Zoe=kb({to:ex.describe("The provider: the Element this one depends on. An id in this Project, or `project:id` for an Element in another Project. It can't be a Person, this Element itself, or an ancestor or descendant of this Element."),id:Zb.optional().describe(`An id for the Relationship, unique among the Project's Relationships. Needed only when several Relationships connect the same two Elements, so that a Dynamic View Step can name one.`),description:sb().optional().describe("What the consumer uses the provider for, as a verb phrase that reads from consumer to provider, such as `Reads prices from`."),technology:sb().optional().describe("How the consumer reaches the provider: a protocol, a driver or a format, such as `JSON/HTTPS`, `gRPC` or `SQL`."),interaction:Lb([`sync`,`async`]).optional().describe("`sync`: a call that waits for an answer. `async`: an event or message that gets no reply, such as an event through a broker or a webhook. Default: `sync`."),via:ex.optional().describe("For an `async` Relationship only: the broker the events travel through. A Service with `type: broker`, as an id in this Project or `project:id`. Leave it out when there is no broker, as with a webhook."),channel:sb().optional().describe("For an `async` Relationship only: the topic or queue the events travel on, such as `orders.placed`."),tags:Eb(sb()).optional().describe(`Free-form labels for the Relationship.`)}).meta({id:`Relationship`,title:`Relationship`,description:"A Relationship: a dependency of the Element it is declared under (the consumer) on the Element `to` names (the provider). Declare it once, under the consumer."}),tx={name:sb().describe(`The Element's display name.`),description:sb().optional().describe(`What the Element is or does, in a sentence or two.`),owner:Zb.optional().describe("The Team that owns the Element: the id of a Team in `workspace.yaml`. Set it only when it differs from the Project's; nothing is inherited from the parent Element. Default: the Project's `owner`."),tags:Eb(sb()).optional().describe("Free-form labels. A Saved View's `{tag}` selector picks Elements by them."),links:Eb(Qb).optional().describe(`Links to pages about the Element, such as a runbook or a dashboard.`),relationships:Eb(Zoe).optional().describe(`The Relationships this Element is the consumer of: what it depends on. A Relationship is never declared under its provider.`)},Qoe=kb({...tx}).meta({id:`Person`,title:`Person`,description:`A Person: a human or role that uses a System, such as a shopper or a support agent. A Person is only ever the consumer in a Relationship.`}),nx=kb({...tx,technology:sb().optional().describe("What the Component is built with, such as `TypeScript module`. Shown under its name."),in:Zb.optional().describe("The Service this Component belongs to, as an id in this Project. Required for a Component under the top-level `components` key, and not allowed for one nested under a Service's `components`.")}).meta({id:`Component`,title:`Component`,description:`A Component: a part inside a Service that is not deployed on its own.`}),rx=kb({...tx,type:Lb([`app`,`datastore`,`broker`]).optional().describe("What the Service is; each type is drawn differently. `app`: an application, the usual case. `datastore`: a database or other store. `broker`: a message broker that async Relationships run through, named by their `via`. Default: `app`."),technology:sb().optional().describe("What the Service is built with, such as `Go` or `PostgreSQL`. Shown under its name."),external:wb().optional().describe("`true` for a Service run outside the organization, such as a payment provider's API. An External Service can't declare Components. Default: `false`."),in:Zb.optional().describe("The System this Service belongs to, as an id in this Project. Only for a Service under the top-level `services` key, and not allowed for one nested under a System's `services`. Without it, a top-level Service stands outside any System."),components:Fb(Zb,nx).optional().describe(`The Components inside the Service, keyed by id.`)}).meta({id:`Service`,title:`Service`,description:`A Service: a deployable, addressable unit of software; the thing that has a URL and a Deployment.`}),ix=kb({...tx,external:wb().optional().describe("`true` for a System run outside the organization, such as a payment provider. Nothing inside an External System can declare Components. Default: `false`."),services:Fb(Zb,rx).optional().describe(`The Services in the System, keyed by id.`)}).meta({id:`System`,title:`System`,description:`A System: a named grouping of Services that together deliver a business capability. Systems do not nest.`}),ax={name:sb().describe(`The Deployment Target's display name.`),kind:sb().describe("What the Deployment Target is, in a word you choose, such as `region`, `cluster`, `namespace` or `platform`."),description:sb().optional().describe(`What the Deployment Target is, in a sentence or two.`),owner:Zb.optional().describe("The Team that owns the Deployment Target: the id of a Team in `workspace.yaml`. Default: the Project's `owner`."),tags:Eb(sb()).optional().describe(`Free-form labels for the Deployment Target.`),links:Eb(Qb).optional().describe(`Links to pages about the Deployment Target, such as a dashboard.`)},ox=kb({...ax,get targets(){return Fb(Zb,ox).optional().describe(`The Deployment Targets inside this one, keyed by id, such as the clusters in a region.`)}}).meta({id:`Target`,title:`Deployment Target`,description:`A Deployment Target: a place Services run, such as a region, a cluster in it or a platform. Deployment Targets nest to any depth and are not Elements.`}),sx=kb({name:sb().describe("What the endpoint is, such as `health` or `admin`."),url:pb().describe(`The endpoint's address. A full URL.`)}).describe(`A further named URL of the Service in this Environment.`),$oe=kb({service:ex.describe("The Service that runs: an id in this Project, or `project:id`. It must name a Service, not a System or a Component."),environment:Zb.describe("The Environment it runs in: the id of an Environment in `workspace.yaml`."),target:ex.describe("The Deployment Target it runs on: an id in this Project, or `project:id` for one another Project declares."),url:pb().optional().describe("The Service's main URL in this Environment. A full URL, such as `https://cart.example.com`."),endpoints:Eb(sx).optional().describe(`Further named URLs of the Service in this Environment, such as a health check or an admin console.`)}).describe(`A Deployment: one Service running in one Environment on one Deployment Target. The three together name it, so the same three can appear only once.`),cx=jb([Sb().int().min(0),Rb(`all`)],{error:"must be a number of hops, or `all`"}).describe("A number of hops, or `all`."),lx=jb([Rb(`shortest`),Sb().int().min(1)],{error:"must be `shortest`, or a number of hops"}).describe("`shortest`, or n for every path of at most n hops. Default: `shortest`."),ese=kb({element:ex.describe("The Element to start from: an id in this Project, or `project:id`."),with:Lb([`children`,`descendants`]).optional().describe("Also selects what is inside the Element. `children`: the Elements directly inside it. `descendants`: everything inside it, at any depth."),upstream:cx.optional().describe("Also selects the Elements upstream of it, those that depend on it: a number of hops, or `all` for every one of them."),downstream:cx.optional().describe("Also selects the Elements downstream of it, those it depends on: a number of hops, or `all` for every one of them.")}).describe(`One Element, and optionally what is inside it and what is upstream or downstream of it.`),ux=kb({team:Zb.describe("The Team: the id of a Team in `workspace.yaml`.")}).describe(`Every Element a Team owns.`),tse=kb({tag:sb().describe("The tag, as written in the Elements' `tags`.")}).describe(`Every Element that carries a tag.`),dx=kb({from:ex.describe("One end of the paths: an id in this Project, or `project:id`."),to:ex.describe("The other end of the paths: an id in this Project, or `project:id`."),paths:lx.optional().describe("Which paths to take. `shortest`: the shortest paths, however long. A number n: every path of at most n hops. Default: `shortest`.")}).meta({id:`PathSelector`,title:`Path selector`,description:`The paths between two Elements, followed in both directions. As a selector it picks every Element on them; as a Lens it highlights them.`}),nse=jb([ex.describe("One Element, by its id: an id in this Project, or `project:id`."),ese,ux,tse,dx]).meta({id:`Selector`,title:`Selector`,description:"One entry of a Saved View's `include` or `exclude`: an id, or a map that picks several Elements at once."}),fx=jb([kb({impact:ex.describe("The Element whose impact is highlighted: an id in this Project, or `project:id`."),direction:Lb([`upstream`,`downstream`,`both`]).optional().describe("Which side to highlight. `upstream`: what depends on the Element. `downstream`: what it depends on. `both`: both sides. Default: `both`.")}).describe(`The Impact Lens: what is upstream or downstream of one Element, each node marked with how many hops away it is.`),kb({team:Zb.describe("The Team: the id of a Team in `workspace.yaml`.")}).describe(`The Team Lens: what one Team owns.`),kb({path:dx}).describe(`The Path Lens: the paths between two Elements.`)]).meta({id:`Lens`,title:`Lens`,description:`The Lens the View opens with. A Lens highlights nodes and never changes which nodes the View shows.`}),px={title:sb().describe(`The View's display title.`),description:sb().optional().describe(`What the View shows, or the question it answers.`),tags:Eb(sb()).optional().describe(`Free-form labels for the View.`),level:Lb([`c1`,`c2`,`c3`,`deployment`]).describe("The level every selected Element is collapsed to. `c1`: Persons and Systems. `c2`: Services, grouped in their Systems. `c3`: Components, inside their Services. `deployment`: a Deployment View, which places Deployments on their Deployment Targets in one Environment and needs `environment`."),expand:Eb(ex).optional().describe("Elements to open one level deeper than `level`, showing their children. Each is an id in this Project, or `project:id`, and must be a node of the View that has children. A Deployment View ignores it."),collapse:Eb(ex).optional().describe("Elements to close, hiding everything inside them. Each is an id in this Project, or `project:id`, and must be a node of the View that has children. A Deployment View ignores it."),direction:Lb([`TB`,`BT`,`LR`,`RL`]).optional().describe("The way the diagram runs. `TB`: top to bottom. `BT`: bottom to top. `LR`: left to right. `RL`: right to left. Default: `LR`, or `TB` for a Deployment View."),environment:Zb.optional().describe("For a Deployment View (`level: deployment`), which must have it, and for no other View: the Environment shown, as the id of an Environment in `workspace.yaml`."),targets:Eb(ex).optional().describe("For a Deployment View (`level: deployment`) only: shows only the Deployments on these Deployment Targets and on the Targets inside them. Each is an id in this Project, or `project:id`. Default: every Deployment Target.")},rse=kb({...px,include:Eb(nse).optional().describe(`Selectors for the Elements to show. Default: every Element in the Workspace.`),exclude:Eb(nse).optional().describe("Selectors for the Elements to leave out of what `include` picked. An excluded Element takes everything inside it with it."),lens:fx.optional()}).describe("A structural Saved View: the Elements its selectors pick, drawn at one `level`. With `level: deployment` it is a Deployment View. Its key is the View's id, unique among the Project's Saved Views.");kb({...px,include:Eb(Tb()).optional(),exclude:Eb(Tb()).optional(),lens:Tb().optional()});var ise=kb({from:ex.describe("The Element the Step starts at: the consumer of a call, the Publisher of an event, or the sender of a reply. An id in this Project, or `project:id`."),to:ex.describe("The Element the Step reaches: the provider of a call, the Subscriber of an event, or the receiver of a reply. An id in this Project, or `project:id`."),relationship:ex.optional().describe("The `id` of the Relationship the Step takes, as an id in this Project or `project:id`. Needed only when several Relationships match the two Elements."),description:sb().optional().describe("The text on the Step's arrow. Default: the Relationship's `description`, or its `channel` for an event."),note:sb().optional().describe(`A note shown under the Step.`),return:wb().optional().describe("`true` makes the Step the reply to a sync Relationship declared from `to` to `from`. An async Relationship has no reply. Default: `false`.")}).describe("A Step: one interaction of the scenario, which must follow a Relationship in the Model. It is a call from a consumer to its provider, an event from a Publisher to a Subscriber, or with `return: true` a reply."),ase=kb({title:sb().describe(`The View's display title.`),description:sb().optional().describe(`What the scenario is.`),tags:Eb(sb()).optional().describe(`Free-form labels for the View.`),participants:Eb(ex).optional().describe("Elements that take part, in the order to draw them, each as an id in this Project or `project:id`. Participants not listed follow, in the order the Steps first use them. An Element and its own ancestor can't both take part. Default: the order the Steps first use them."),steps:Eb(ise).describe(`The Steps of the scenario, in order.`)}).describe(`A Dynamic View: one scenario as an ordered list of Steps, shown as a sequence chart. Its key is the View's id, unique among the Project's Saved Views.`),ose=kb({structural:Fb(Zb,rse).optional().describe("Structural Views and Deployment Views, keyed by id. Other Projects name a View as `project:id`."),dynamic:Fb(Zb,ase).optional().describe("Dynamic Views, keyed by id. Other Projects name a View as `project:id`.")}).describe("The Project's Saved Views: `structural` ones, which include Deployment Views, and `dynamic` ones.");kb({people:Fb(Zb,Qoe).optional().describe(`Persons, keyed by id. An id is unique in the Project across all its Elements and Deployment Targets.`),systems:Fb(Zb,ix).optional().describe("Systems, keyed by id, each with its Services nested under `services`."),services:Fb(Zb,rx).optional().describe("Services declared at the top level, keyed by id: those outside any System, and those that join a System with `in`."),components:Fb(Zb,nx).optional().describe("Components declared at the top level, keyed by id. Each names its Service with `in`."),targets:Fb(Zb,ox).optional().describe(`Deployment Targets, keyed by id and nested as they nest. Their ids share the Project's ids with its Elements.`),deployments:Eb($oe).optional().describe(`Deployments: which Service runs in which Environment on which Deployment Target, with its URLs.`),views:ose.optional()}).describe("A Project file: any `.yaml` file in a Project folder other than `project.yaml`."),Object.fromEntries(Object.entries({person:`people`,system:`systems`,service:`services`,component:`components`}).map(([e,t])=>[t,e]));var mx=Fb(Zb,Tb()).optional();kb({people:mx,systems:mx,services:mx,components:mx,targets:mx,deployments:Eb(Tb()).optional(),views:kb({structural:mx,dynamic:mx}).optional()}),kb({...ax,targets:mx}),ix.extend({services:mx}),rx.extend({components:mx});var hx=Lb([`proposed`,`accepted`,`rejected`,`deprecated`,`superseded`]),sse=sb().regex(/^([a-z0-9][a-z0-9-]*:)?\d{4}$/,"must be an ADR number (NNNN), or `project:NNNN` for one in another Project").describe("An ADR number in this Project, or `project:NNNN` for one in another Project."),gx=Eb(sb());kb({status:hx.describe("Where the decision stands. `proposed`: awaiting acceptance in a pull request. `accepted`: in force. `rejected`: turned down, and kept for its reasoning. `deprecated`: no longer in force, with no ADR replacing it. `superseded`: never written by hand; it is derived once an accepted ADR lists this one in `supersedes`."),date:Yoe(`must be an ISO date (YYYY-MM-DD)`).describe("The date of the last status change, as `YYYY-MM-DD`."),"decision-makers":gx.optional().describe(`Who made the decision: people's names or Team ids. Not checked.`),consulted:gx.optional().describe(`Who was asked for input: people's names or Team ids. Not checked.`),informed:gx.optional().describe(`Who was told of the decision: people's names or Team ids. Not checked.`),tags:Eb(sb()).optional().describe(`Free-form labels for the ADR.`),elements:Eb(ex).optional().describe("The Elements and Deployment Targets the decision affects, each as an id in this Project or `project:id`."),views:Eb(ex).optional().describe("The Saved Views the decision affects, each as an id in this Project or `project:id`."),supersedes:Eb(sse).optional().describe("The ADRs this one replaces once it is accepted, each as a four-digit number in this Project or `project:NNNN`. Only an accepted or deprecated ADR can be superseded.")}).describe("An ADR's frontmatter. The ADR's title is the first `# ` heading of its body, not a field.");var _x=Ob({file:sb(),line:Sb().int()}),vx=Ob({label:sb(),url:sb()}),yx={id:sb(),parent:sb().nullable(),name:sb(),description:sb().nullable(),owner:sb(),tags:Eb(sb()),links:Eb(vx)},bx=(e,t)=>{let{id:n,...r}=yx;return Ob({id:n,kind:Rb(e),...r,...t,source:_x})},cse=Mb(`kind`,[bx(`person`,{}),bx(`system`,{external:wb()}),bx(`service`,{type:Lb([`app`,`datastore`,`broker`]),technology:sb().nullable(),external:wb()}),bx(`component`,{technology:sb().nullable()})]),lse=Ob({id:sb(),parent:sb().nullable(),name:sb(),kind:sb(),description:sb().nullable(),owner:sb(),tags:Eb(sb()),links:Eb(vx),source:_x}),use=Ob({service:sb(),environment:sb(),target:sb(),url:sb().nullable(),endpoints:Eb(Ob({name:sb(),url:sb()})),owner:sb(),source:_x}),xx=Ob({id:sb().nullable(),from:sb(),to:sb(),description:sb().nullable(),technology:sb().nullable(),interaction:Lb([`sync`,`async`]),via:sb().nullable(),channel:sb().nullable(),tags:Eb(sb()),source:_x}),Sx=sb(),Cx=jb([Sb(),Rb(`all`)]),dse=Ob({from:Sx,to:Sx,paths:jb([Rb(`shortest`),Sb()]).optional()}),wx=jb([Sx,Ob({element:Sx,with:Lb([`children`,`descendants`]).optional(),upstream:Cx.optional(),downstream:Cx.optional()}),Ob({team:sb()}),Ob({tag:sb()}),dse]),Tx=jb([Ob({impact:Sx,direction:Lb([`upstream`,`downstream`,`both`])}),Ob({team:sb()}),Ob({path:dse})]),fse=Ob({id:sb(),project:sb(),kind:Rb(`structural`),title:sb(),description:sb().nullable(),tags:Eb(sb()),level:Lb([`c1`,`c2`,`c3`,`deployment`]),include:Eb(wx).nullable(),exclude:Eb(wx),expand:Eb(sb()),collapse:Eb(sb()),direction:Lb([`TB`,`BT`,`LR`,`RL`]).nullable(),lens:Tx.nullable(),environment:sb().nullable(),targets:Eb(sb()),source:_x}),Ex=Ob({from:sb(),to:sb(),relationship:sb().nullable(),description:sb().nullable(),note:sb().nullable(),return:wb()}),pse=Mb(`kind`,[fse,Ob({id:sb(),project:sb(),kind:Rb(`dynamic`),title:sb(),description:sb().nullable(),tags:Eb(sb()),participants:Eb(sb()).nullable(),steps:Eb(Ex),source:_x})]),mse=Ob({id:sb(),project:sb(),title:sb(),status:hx,effectiveStatus:hx,date:sb(),elements:Eb(sb()),views:Eb(sb()),supersedes:Eb(sb()),supersededBy:Eb(sb()),decisionMakers:Eb(sb()),consulted:Eb(sb()),informed:Eb(sb()),tags:Eb(sb()),body:sb(),source:_x}),hse=Ob({schemaVersion:Rb(1),commit:sb().nullable(),builtAt:sb().nullable(),teams:Eb(Ob({id:sb(),name:sb(),description:sb().nullable(),links:Eb(vx),source:_x})),environments:Eb(Ob({id:sb(),name:sb(),description:sb().nullable(),source:_x})),projects:Eb(Ob({id:sb(),name:sb(),owner:sb(),folder:sb(),source:_x})),elements:Eb(cse),relationships:Eb(xx),targets:Eb(lse),deployments:Eb(use),views:Eb(pse),adrs:Eb(mse)}),Dx={};function Ox(e,t=Dx,n=1){if(typeof e!=`object`||!e||Array.isArray(e))return;let r=e,i=r.schemaVersion;if(typeof i!=`number`||!Number.isInteger(i)||i>n)return;for(;i<n;){let e=t[i];if(!e)return;r={...e(r),schemaVersion:i+1},i++}let a=hse.safeParse(r);return a.success?a.data:void 0}function kx(e,t=Dx){return Ox(e,t)}function Ax(e){if(typeof e!=`object`||!e)return;let{schemaVersion:t,revisions:n,preview:r}=e;if(t===1&&Array.isArray(n))return{schemaVersion:t,revisions:n,...typeof r?.baseSha==`string`?{preview:r}:{}}}function jx(e){let t=e.endsWith(`/`)?e:`${e}/`,n=e=>`${t}${e}`;return{location:n,async read(e,t){let r=n(e),i={accept:`application/json`};t?.etag&&(i[`if-none-match`]=t.etag),t?.lastModified&&(i[`if-modified-since`]=t.lastModified);let a=await fetch(r,{headers:i,cache:`no-store`});if(a.status===304)return{kind:`not_modified`};if(a.status===404)return{kind:`missing`};if(!a.ok)throw Error(`${r} answered ${a.status} ${a.statusText}`.trim());let o=a.headers.get(`etag`),s=a.headers.get(`last-modified`);return{kind:`text`,text:await a.text(),validators:{...o?{etag:o}:{},...s?{lastModified:s}:{}}}}}}var Mx=(e,t)=>({ok:!1,code:`history_unavailable`,reason:e,message:t}),Nx=e=>e instanceof Error?e.message:String(e);function Px(e,t,n,r,i=()=>!0){let a;return async()=>{let o=Date.now();if(a&&o-a.at<n)return a.value;let s=await e.read(t,a?.validators);if(s.kind===`not_modified`){if(!a)throw Error(`${e.location(t)} answered "not modified" to a request with no validators.`);return a={...a,at:o},a.value}let c=r(s.kind===`text`?s.text:void 0);return i(c)&&(a={value:c,at:o,validators:s.kind===`text`?s.validators:{}}),c}}var Fx=e=>{try{return{ok:!0,value:JSON.parse(e)}}catch{return{ok:!1}}};function Ix(e,{recheckMs:t,bundle:n=Lx,migrations:r=Dx}){let i=e.location(n),a=Px(e,n,t,e=>{if(e===void 0)throw Error(`${i} was not found.`);let t=Fx(e);if(!t.ok)throw Error(`${i} is not JSON.`);let n=kx(t.value,r);if(!n)throw Error(`${i} is not a Workspace Bundle this version can read.`);return n}),o=Px(e,Bx,t,t=>{if(t===void 0)return{ok:!0,index:void 0};let n=Fx(t);if(!n.ok)return Mx(`index`,`The site has no readable Revision index (${Bx}): ${e.location(Bx)} is not JSON.`);let r=Ax(n.value);return r?{ok:!0,index:r}:Mx(`index`,`The site's ${Bx} holds no Revisions.`)},e=>e.ok),s=new Map,c=async t=>{let n=t.slice(0,7),i;try{i=await e.read(Vx(t))}catch(e){return Mx(`unreadable`,`The Bundle at ${n} can't be read from the site: ${Nx(e)}`)}if(i.kind!==`text`)return Mx(`missing`,`The Bundle at ${n} can't be read from the site: ${e.location(Vx(t))} was not found.`);let a=Fx(i.text);if(!a.ok)return Mx(`unreadable`,`The Bundle at ${n} can't be read from the site: ${e.location(Vx(t))} is not JSON.`);let o=kx(a.value,r);return o?{ok:!0,bundle:o}:Mx(`unmigratable`,`The Bundle at ${n} has a schema this Archidocs can't read or migrate.`)};return{location:i,latest:a,async index(){try{return await o()}catch(e){return Mx(`index`,`The site has no readable Revision index (${Bx}): ${Nx(e)}`)}},bundle(e){if(e.bundle===!1)return Promise.resolve(Mx(`dropped`,`The Bundle at ${e.sha.slice(0,7)} (${e.date}) was not kept on this site.`));let t=s.get(e.sha);return t||(t=c(e.sha),s.set(e.sha,t),t.then(t=>!t.ok&&s.delete(e.sha))),t}}}var Lx=`workspace.bundle.json`,Rx=`site.json`,zx=`bundles`,Bx=`${zx}/index.json`,Vx=e=>`${zx}/${Hx(e)}`,Hx=e=>`${e}.json`,Ux=[`upstream`,`downstream`,`both`],Wx=[`TB`,`BT`,`LR`,`RL`],Gx=`shortest`,Kx=`graph`,qx=`1`,Jx=e=>{let t=e.map(e=>`\`${e}\``);return t.length<2?t.join(``):`${t.slice(0,-1).join(`, `)} or ${t.at(-1)}`},Yx=`#/view/`,Xx={prefix:Yx,syntax:`${Yx}<view-id>`,does:"Opens the View with this id: `c2`, a Generated View such as `c2/payments:payments` or `deployment/prod`, or a Saved View's qualified id. An empty route opens the Service Landscape, `c2`."};gg.charAt(0).toUpperCase()+gg.slice(1),Jx(Wx),Jx(Ux),`${Jx([Gx])}`,Jx([Kx]),Jx([qx]);var gse=e=>e.startsWith(Xx.prefix),Zx={view:`c2`,open:[],selected:null,direction:null,lens:null,picks:[],step:null,graph:!1,brokers:!1,at:null,vs:null,adr:null},_se=RegExp(`^${Yx}([^?]*)(?:\\?(.*))?$`);function vse(e){let t=_se.exec(e);if(!t)return Zx;let n=new URLSearchParams(t[2]??``),r=e=>n.get(e),i=e=>[...new Set((r(e)??``).split(`,`).filter(Boolean))],a=r(`dir`);return{view:decodeURIComponent(t[1])||Zx.view,open:i(`open`),selected:r(`sel`)||null,direction:a!==null&&Wx.includes(a)?a:null,lens:bse(r),picks:i(`picks`),step:yse(r(`step`)),graph:r(`mode`)===Kx,brokers:r(`brokers`)===qx,at:r(`at`)||null,vs:r(`vs`)||null,adr:r(`adr`)||null}}function yse(e){let t=Number(e);return e!==null&&Number.isInteger(t)&&t>0?t:null}function bse(e){let t=e(`impact`);if(t){let n=e(`way`);return{impact:t,direction:n!==null&&Ux.includes(n)?n:`both`}}let n=e(`team`);if(n)return{team:n};let[r,i]=[e(`from`),e(`to`)];if(r&&i){let t=Number(e(`paths`));return{path:{from:r,to:i,paths:Number.isInteger(t)&&t>0?t:Gx}}}return null}var Qx=(e,t)=>`${e}=${t}`;function xse(e){if(`impact`in e)return[Qx(`impact`,eS(e.impact)),Qx(`way`,e.direction)];if(`team`in e)return[Qx(`team`,eS(e.team))];let{from:t,to:n,paths:r}=e.path;return[Qx(`from`,eS(t)),Qx(`to`,eS(n)),...r!==void 0&&r!==Gx?[Qx(`paths`,r)]:[]]}function $x(e){let t=[];return e.open.length>0&&t.push(Qx(`open`,e.open.map(eS).join(`,`))),e.selected!==null&&t.push(Qx(`sel`,eS(e.selected))),e.direction!==null&&t.push(Qx(`dir`,e.direction)),e.lens!==null&&t.push(...xse(e.lens)),e.picks.length>0&&t.push(Qx(`picks`,e.picks.map(eS).join(`,`))),e.step!==null&&t.push(Qx(`step`,e.step)),e.graph&&t.push(Qx(`mode`,Kx)),e.brokers&&t.push(Qx(`brokers`,qx)),e.at!==null&&t.push(Qx(`at`,eS(e.at))),e.vs!==null&&t.push(Qx(`vs`,eS(e.vs))),e.adr!==null&&t.push(Qx(`adr`,eS(e.adr))),`${Xx.prefix}${eS(e.view)}${t.length>0?`?${t.join(`&`)}`:``}`}var eS=e=>encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%2F/gi,`/`).replace(/%40/gi,`@`),tS=(e,t=null,n=null,r)=>({view:e,open:[],selected:t,direction:null,lens:n,picks:[],step:null,graph:!1,brokers:!1,at:r?.at??null,vs:r?.vs??null,adr:null}),nS=`archidocs:place`;function rS(e){for(let t of[`hashchange`,`popstate`,nS])window.addEventListener(t,e);return()=>{for(let t of[`hashchange`,`popstate`,nS])window.removeEventListener(t,e)}}var iS=()=>(0,v.useSyncExternalStore)(rS,()=>window.location.hash);function aS(){let e=iS();return(0,v.useMemo)(()=>vse(e),[e])}function oS(e,{replace:t=!1}={}){let n=$x(e);n!==window.location.hash&&(t?window.history.replaceState(null,``,n):window.history.pushState(null,``,n),window.dispatchEvent(new Event(nS)))}var sS=10,cS=()=>`archidocs:recent:${window.location.pathname.replace(/index\.html$/,``)}`;function lS(){try{let e=JSON.parse(window.localStorage.getItem(cS())??`[]`);return Array.isArray(e)?e.slice(0,sS):[]}catch{return[]}}function Sse(e,t){let n=`${e.view}?${e.open.join(`,`)}`,r=e.open.length>0?`${t} · ${e.open.length} open`:t,i=[{key:n,hash:$x(e),label:r},...lS().filter(e=>e.key!==n)].slice(0,sS);try{window.localStorage.setItem(cS(),JSON.stringify(i))}catch{}}var uS=class{revisions;preview;constructor(e,t){this.revisions=e,this.preview=t}previewBase(){return this.preview&&this.revisions.find(e=>e.sha===this.preview.baseSha)}compareLabel(e,t){let n=t===void 0||t.sha===this.preview?.headSha;return this.preview&&e.sha===this.preview.baseSha&&n?`${this.preview.base} → PR`:`${dS(e)} → ${t?dS(t):`latest`}`}find(e){return Rne(this.revisions,e)}previous(e){return this.revisions[this.revisions.indexOf(e)+1]}isLatest(e){return this.revisions[0]===e}},dS=e=>e.tags[0]??e.sha.slice(0,7),fS=e=>e.date.slice(0,10),pS=Ix(jx(`./`),{recheckMs:1/0});async function mS(){let e=await pS.index();return e.ok&&e.index?new uS(e.index.revisions,e.index.preview):new uS([])}var hS={dropped:`this site no longer keeps its Bundle`,missing:`its Bundle is missing from this site`,unreadable:`its Bundle can't be read`,unmigratable:`its Bundle is from a schema this viewer can't read`,index:`this site's Revision index can't be read`},gS=class extends Error{code=`history_unavailable`;reason;constructor(e){super(hS[e]),this.reason=e}};async function _S(e){let t=await pS.bundle(e);if(!t.ok)throw new gS(t.reason);return t.bundle}async function vS(e,t,n,r){let i=(e,n)=>{if(e===null)return;let r=t.find(e);return r.ok?r.revision:{kind:`problem`,problem:r.kind===`ambiguous`?{kind:`ambiguous`,point:e,side:n,candidates:r.candidates}:{kind:`unknown`,point:e}}},a=i(n,`at`);if(a&&`kind`in a)return a;let o=i(r,`vs`);if(o&&`kind`in o)return o;let s=async t=>t===void 0?e:_S(t);try{let e=await s(a);try{let t=o===void 0?void 0:await s(o);return{kind:`ready`,times:{current:e,...t?{before:t}:{},...a?{at:a}:{},...o?{vs:o}:{}}}}catch(e){return yS(o,e)}}catch(e){return yS(a,e)}}function yS(e,t){if(!(t instanceof gS))throw t;return{kind:`problem`,problem:{kind:`unavailable`,revision:e,reason:t.message}}}function bS(e,t,n,r){let i=`${n??``}\n${r??``}`,a=n===null&&r===null,[o,s]=(0,v.useState)(),c=(0,v.useMemo)(()=>({kind:`ready`,times:{current:e}}),[e]);return(0,v.useEffect)(()=>{if(a)return;let o=!0;return vS(e,t,n,r).then(e=>{o&&s({key:i,state:e})}),()=>{o=!1}},[e,t,i]),a?{state:c,loading:!1}:o?.key===i?{state:o.state,loading:!1}:{state:o?.state.kind===`ready`?o.state:void 0,loading:!0}}function Cse({problem:e,place:t}){let n=$x({...t,at:null,vs:null,selected:null});if(e.kind===`unknown`)return(0,T.jsxs)(`div`,{className:`arc-unavailable`,role:`alert`,children:[(0,T.jsxs)(`h1`,{children:[`No Revision “`,e.point,`”`]}),(0,T.jsxs)(`p`,{children:[`This site's history has no tag, commit or date called `,e.point,`.`]}),(0,T.jsx)(`a`,{href:n,children:`Back to latest`})]});if(e.kind===`ambiguous`)return(0,T.jsxs)(`div`,{className:`arc-unavailable`,role:`alert`,children:[(0,T.jsxs)(`h1`,{children:[`More than one Revision “`,e.point,`”`]}),(0,T.jsxs)(`p`,{children:[`The shas of these Revisions all start with `,e.point,`. Pick one:`]}),(0,T.jsx)(`ul`,{children:e.candidates.map(n=>(0,T.jsx)(`li`,{children:(0,T.jsxs)(`a`,{href:$x({...t,[e.side]:dS(n)}),children:[(0,T.jsx)(`code`,{children:n.sha.slice(0,7)}),` `,n.subject,` (`,fS(n),`)`]})},n.sha))}),(0,T.jsx)(`a`,{href:n,children:`Back to latest`})]});let{revision:r}=e,i=r.sha.slice(0,7);return(0,T.jsxs)(`div`,{className:`arc-unavailable`,role:`alert`,children:[(0,T.jsx)(`h1`,{children:(0,T.jsx)(`code`,{children:`history_unavailable`})}),(0,T.jsxs)(`p`,{children:[`This site can't show `,dS(r),` “`,r.subject,`” (`,fS(r),`): `,e.reason,`. It keeps full Bundles for the latest Revisions and every tag.`]}),(0,T.jsxs)(`p`,{children:[`On a checkout, run `,(0,T.jsxs)(`code`,{children:[`archidocs diff `,i,` HEAD`]}),`, or ask the MCP server with `,(0,T.jsxs)(`code`,{children:[`at: "`,i,`"`]}),`.`]}),(0,T.jsx)(`a`,{href:n,children:`Back to latest`})]})}function xS({revision:e,place:t}){return(0,T.jsxs)(`p`,{className:`arc-at`,role:`status`,"aria-label":`Past Revision`,children:[(0,T.jsxs)(`span`,{children:[`Viewing `,(0,T.jsx)(`strong`,{children:dS(e)}),` · `,e.subject,` · `,fS(e)]}),(0,T.jsx)(`a`,{href:$x({...t,at:null}),children:`Back to latest`})]})}var SS={team:`Team`,environment:`Environment`,project:`Project`,element:`Element`,relationship:`Relationship`,target:`Deployment Target`,deployment:`Deployment`,view:`View`,adr:`ADR`},CS={added:`+`,removed:`−`,changed:`~`};function wS(e){let t=e.after??e.before;return(typeof t.name==`string`?t.name:typeof t.title==`string`?t.title:null)??e.id}function TS(e){let t=e.after??e.before;if(e.kind===`element`)return{element:e.id};if(e.kind===`relationship`)return{element:t.from};if(e.kind===`deployment`)return{element:t.service};if(e.kind===`adr`&&Array.isArray(t.elements)&&typeof t.elements[0]==`string`)return{element:t.elements[0]};if(e.kind===`view`)return{view:e.id}}function ES({changes:e,label:t,onElement:n,onView:r}){return(0,T.jsxs)(`aside`,{className:`arc-changes`,"aria-label":`Changes`,children:[(0,T.jsx)(`h2`,{children:`Changes`}),(0,T.jsxs)(`p`,{className:`arc-revision-meta`,children:[t,`: `,e.length===0?`nothing changed`:`${e.length} Change${e.length===1?``:`s`}`]}),(0,T.jsx)(`ul`,{children:e.map(e=>{let t=TS(e),i=(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`span`,{className:`arc-change-sign`,"aria-hidden":`true`,children:CS[e.type]}),(0,T.jsxs)(`span`,{children:[wS(e),(0,T.jsx)(`br`,{}),(0,T.jsxs)(`span`,{className:`arc-change-kind`,children:[SS[e.kind],` `,e.type,e.fields.length>0?`: ${e.fields.join(`, `)}`:``]})]})]}),a=`arc-change arc-change-${e.type}`;return(0,T.jsx)(`li`,{children:t?(0,T.jsx)(`button`,{type:`button`,className:a,onClick:()=>`element`in t?n(t.element):r(t.view),children:i}):(0,T.jsx)(`span`,{className:a,children:i})},`${e.kind} ${e.id} ${e.type}`)})})]})}function DS({revision:e}){return(0,T.jsxs)(`span`,{children:[e.tags.map(e=>(0,T.jsx)(`span`,{className:`arc-tag`,children:e},e)),(0,T.jsx)(`code`,{children:e.sha.slice(0,7)}),` `,e.subject,(0,T.jsx)(`br`,{}),(0,T.jsxs)(`span`,{className:`arc-revision-meta`,children:[fS(e),` · `,e.author,` · +`,e.counts.added,` −`,e.counts.removed,` ~`,e.counts.changed,!e.bundle&&(0,T.jsx)(`span`,{className:`arc-dropped`,children:` · not kept`})]})]})}function OS({timeline:e,onAt:t,onVs:n}){let[r,i]=(0,v.useState)(!1),a=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(!r)return;let e=e=>{(e instanceof KeyboardEvent?e.key===`Escape`:!a.current?.contains(e.target))&&i(!1)};return window.addEventListener(`keydown`,e),window.addEventListener(`pointerdown`,e),()=>{window.removeEventListener(`keydown`,e),window.removeEventListener(`pointerdown`,e)}},[r]),e.revisions.length===0?null:(0,T.jsxs)(`div`,{className:`arc-menu-root`,ref:a,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool arc-menu-button`,"aria-haspopup":`menu`,"aria-expanded":r,title:`Revisions`,onClick:()=>i(!r),children:[(0,T.jsx)(di,{name:`revisions`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:`Revisions`})]}),r&&(0,T.jsx)(`div`,{className:`arc-menu arc-timeline`,role:`menu`,"aria-label":`Revisions`,children:(0,T.jsx)(`ol`,{children:e.revisions.map(e=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(DS,{revision:e}),(0,T.jsxs)(`span`,{className:`arc-revision-actions`,children:[(0,T.jsx)(`button`,{type:`button`,disabled:!e.bundle,"aria-label":`Open ${dS(e)}`,onClick:()=>(i(!1),t(e)),children:`Open`}),(0,T.jsx)(`button`,{type:`button`,disabled:!e.bundle,"aria-label":`Compare from ${dS(e)}`,onClick:()=>(i(!1),n(e)),children:`Compare`})]})]},e.sha))})})]})}function kS({workspace:e,place:t,direction:n,compare:r,timeline:i,onCollapse:a,onDirection:o,onLens:s,onPicks:c,onTime:l,onExport:u,onSaveAsView:d}){let f=e.crumbs(t.view),p=une(MS),m=t=>e.byId.get(t)?.name??t;return(0,T.jsxs)(`header`,{className:`arc-location arc-plate`,children:[(0,T.jsxs)(`div`,{className:`arc-where`,children:[(0,T.jsxs)(`span`,{className:`arc-history-buttons`,children:[(0,T.jsx)(`button`,{type:`button`,className:`arc-tool arc-step`,"aria-label":`Back`,title:`Back`,onClick:()=>window.history.back(),children:(0,T.jsx)(di,{name:`back`})}),(0,T.jsx)(`button`,{type:`button`,className:`arc-tool arc-step`,"aria-label":`Forward`,title:`Forward`,onClick:()=>window.history.forward(),children:(0,T.jsx)(di,{name:`forward`})})]}),(0,T.jsx)(`nav`,{"aria-label":`Breadcrumbs`,children:(0,T.jsx)(`ol`,{className:`arc-crumbs`,children:f.map((e,n)=>{let r=n===f.length-1;return(0,T.jsx)(`li`,{"aria-current":r?`page`:void 0,children:r||e.view===void 0?(0,T.jsx)(`span`,{title:e.label,children:e.label}):(0,T.jsx)(`a`,{href:$x(tS(e.view,null,t.lens,t)),title:`Up to ${e.label}`,children:e.label})},`${n}:${e.label}`)})})}),(0,T.jsx)(wse,{workspace:e,place:t})]}),(0,T.jsx)(Ese,{workspace:e,place:t}),(0,T.jsxs)(`div`,{className:`arc-tools`,children:[(0,T.jsx)(OS,{timeline:i,onAt:e=>l({at:i.isLatest(e)?null:dS(e)}),onVs:e=>l({vs:dS(e)})}),(0,T.jsx)(Dse,{}),(0,T.jsxs)(`label`,{className:`arc-direction-label`,children:[(0,T.jsx)(`span`,{className:`arc-visually-hidden`,children:`Layout direction`}),(0,T.jsx)(`select`,{className:`arc-tool arc-direction`,"aria-label":`Direction`,title:`Layout direction: ${AS[n]}`,value:n,onChange:e=>o(e.target.value),children:Wx.map(e=>(0,T.jsx)(`option`,{value:e,children:p?jS[e]:AS[e]},e))})]}),(0,T.jsx)(FS,{}),(0,T.jsx)(NS,{picks:t.picks.length,onExport:u}),(0,T.jsx)(`button`,{type:`button`,className:`arc-tool arc-primary`,onClick:d,children:`Save as View`})]}),(t.open.length>0||r||t.lens||t.picks.length>0)&&(0,T.jsxs)(`div`,{className:`arc-state`,children:[t.open.length>0&&(0,T.jsxs)(`section`,{className:`arc-chips`,role:`region`,"aria-label":`Open boxes`,children:[t.open.map(e=>(0,T.jsxs)(`button`,{type:`button`,className:`arc-chip`,"aria-label":`Close ${m(e)}`,onClick:()=>a([e]),children:[m(e),(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})]},e)),(0,T.jsx)(`button`,{type:`button`,className:`arc-chip arc-chip-all`,onClick:()=>a(t.open),children:`Collapse all`})]}),r&&(0,T.jsx)(`section`,{className:`arc-chips`,role:`region`,"aria-label":`Compare`,children:(0,T.jsxs)(`span`,{className:`arc-chip arc-chip-lens`,children:[(0,T.jsx)(`span`,{className:`arc-lens-kind`,children:`Compare`}),` `,r,(0,T.jsx)(`button`,{type:`button`,className:`arc-chip-clear`,"aria-label":`Clear compare`,onClick:()=>l({vs:null}),children:(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})})]})}),t.lens&&(0,T.jsx)(PS,{workspace:e,lens:t.lens,onLens:s}),t.picks.length>0&&(0,T.jsx)(`section`,{className:`arc-chips`,role:`region`,"aria-label":`Picks`,children:(0,T.jsxs)(`button`,{type:`button`,className:`arc-chip arc-chip-picks`,"aria-label":`Clear ${t.picks.length} picked`,onClick:()=>c([]),children:[t.picks.length,` picked`,(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})]})})]})]})}var AS={LR:`Left → right`,RL:`Right → left`,TB:`Top → bottom`,BT:`Bottom → top`},jS={LR:`→`,RL:`←`,TB:`↓`,BT:`↑`},MS=`(max-width: 1279px)`;function NS({picks:e,onExport:t}){let[n,r]=(0,v.useState)(!1),i=Tse(n,()=>r(!1)),a=[[`View as SVG`,`view`,`svg`],[`View as PNG`,`view`,`png`],...e>0?[[`Picks as SVG`,`picks`,`svg`],[`Picks as PNG`,`picks`,`png`]]:[]];return(0,T.jsxs)(`div`,{className:`arc-menu-root`,ref:i,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool arc-menu-button`,"aria-haspopup":`menu`,"aria-expanded":n,title:`Export`,onClick:()=>r(!n),children:[(0,T.jsx)(di,{name:`export`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:`Export`})]}),n&&(0,T.jsx)(`div`,{className:`arc-menu`,role:`menu`,"aria-label":`Export`,children:a.map(([e,n,i])=>(0,T.jsx)(`button`,{type:`button`,role:`menuitem`,onClick:()=>{r(!1),t(n,i)},children:e},e))})]})}function wse({workspace:e,place:t}){let[n,r]=(0,v.useState)(!1),i=Tse(n,()=>r(!1)),a=e.deeper(t.view);return a.length===0?null:(0,T.jsxs)(`div`,{className:`arc-menu-root arc-deeper`,ref:i,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool arc-menu-button`,"aria-haspopup":`menu`,"aria-expanded":n,title:`Go a level deeper`,onClick:()=>r(!n),children:[(0,T.jsx)(di,{name:`down`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:`Go deeper`})]}),n&&(0,T.jsx)(`div`,{className:`arc-menu arc-menu-start`,role:`menu`,"aria-label":`Go deeper`,children:a.map(e=>(0,T.jsx)(`a`,{role:`menuitem`,href:$x(tS(e.view,null,t.lens,t)),onClick:()=>r(!1),children:e.label},e.view))})]})}function Tse(e,t){let n=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(!e)return;let r=e=>{(e instanceof KeyboardEvent?e.key===`Escape`:!n.current?.contains(e.target))&&t()};return window.addEventListener(`keydown`,r),window.addEventListener(`pointerdown`,r),()=>{window.removeEventListener(`keydown`,r),window.removeEventListener(`pointerdown`,r)}},[e,t]),n}function Ese({workspace:e,place:t}){let n=e.views.flatMap(t=>{let n=_e(t.id);return n?.form===`deployment`?[{view:t.id,label:e.name(n.environment)}]:[]});return n.length===0?null:(0,T.jsxs)(`nav`,{className:`arc-deployments`,"aria-label":`Deployment Views`,children:[(0,T.jsx)(`span`,{className:`arc-deployments-label`,"aria-hidden":`true`,children:`Deployment:`}),n.map(e=>e.view===t.view?(0,T.jsx)(`a`,{href:$x(tS(e.view)),"aria-current":`page`,title:`Deployment View: ${e.label}`,className:`arc-deployment-link arc-current`,children:e.label},e.view):(0,T.jsx)(`a`,{href:$x(tS(e.view,null,t.lens)),title:`Deployment View: ${e.label}`,className:`arc-deployment-link`,children:e.label},e.view))]})}function PS({workspace:e,lens:t,onLens:n}){return(0,T.jsxs)(`section`,{className:`arc-chips arc-lens`,role:`region`,"aria-label":`Lens`,children:[(0,T.jsxs)(`span`,{className:`arc-chip arc-chip-lens`,children:[(0,T.jsx)(`span`,{className:`arc-lens-kind`,children:`impact`in t?`Impact`:`team`in t?`Team`:`Connect`}),Je(e.bundle,t),(0,T.jsx)(`button`,{type:`button`,className:`arc-chip-clear`,"aria-label":`Clear lens`,onClick:()=>n(null),children:(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})})]}),`impact`in t&&(0,T.jsx)(`div`,{className:`arc-segmented`,role:`group`,"aria-label":`Impact direction`,children:[`upstream`,`both`,`downstream`].map(e=>(0,T.jsx)(`button`,{type:`button`,"aria-pressed":t.direction===e,onClick:()=>n({...t,direction:e}),children:e===`both`?`Both`:e===`upstream`?`Upstream`:`Downstream`},e))}),`path`in t&&(0,T.jsx)(`div`,{className:`arc-segmented`,role:`group`,"aria-label":`Paths`,children:[`shortest`,4].map(e=>(0,T.jsx)(`button`,{type:`button`,"aria-pressed":(t.path.paths??`shortest`)===e,onClick:()=>n({path:{...t.path,paths:e}}),children:e===`shortest`?`Shortest`:`All ≤ 4 hops`},e))})]})}function Dse(){let[e,t]=(0,v.useState)(null),n=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(!e)return;let r=e=>{(e instanceof KeyboardEvent?e.key===`Escape`:!n.current?.contains(e.target))&&t(null)};return window.addEventListener(`keydown`,r),window.addEventListener(`pointerdown`,r),()=>{window.removeEventListener(`keydown`,r),window.removeEventListener(`pointerdown`,r)}},[e]),(0,T.jsxs)(`div`,{className:`arc-menu-root`,ref:n,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool arc-menu-button`,"aria-haspopup":`menu`,"aria-expanded":e!==null,title:`Recent`,onClick:()=>t(e?null:lS()),children:[(0,T.jsx)(di,{name:`recent`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:`Recent`})]}),e&&(0,T.jsxs)(`div`,{className:`arc-menu`,role:`menu`,"aria-label":`Recent`,children:[e.length===0&&(0,T.jsx)(`p`,{className:`arc-menu-empty`,children:`Nothing yet`}),e.map(e=>(0,T.jsx)(`a`,{role:`menuitem`,href:e.hash,onClick:()=>t(null),children:e.label},e.key))]})]})}function FS(){let[e,t]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{if(!e)return;let n=window.setTimeout(()=>t(!1),1500);return()=>window.clearTimeout(n)},[e]),(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool`,"aria-label":`Copy link`,title:`Copy link`,onClick:()=>{navigator.clipboard.writeText(window.location.href).then(()=>t(!0))},children:[(0,T.jsx)(di,{name:e?`check`:`copy`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:e?`Copied`:`Copy link`})]})}var IS=.85,LS=44,RS=16,Ose=300;function kse(e){return(0,T.jsx)(Xh,{children:(0,T.jsx)(Ase,{...e})})}function Ase({workspace:e,layout:t,fitKey:n,selected:r,playing:i,reducedMotion:a,onSelect:o,onSettled:s}){let c=(0,v.useMemo)(()=>t.columns.map(e=>({id:e.id,type:`lifeline`,position:{x:e.x-e.width/2,y:0},width:e.width,height:t.height,style:{width:e.width,height:t.height,pointerEvents:`none`},draggable:!1,selectable:!1,connectable:!1,data:{column:e,height:t.height,activations:t.activations.filter(t=>t.participant===e.id)}})),[t]),l=(0,v.useMemo)(()=>t.rows.map(t=>({id:t.key,source:t.from,target:t.to,type:`message`,zIndex:1,selectable:!1,data:{row:t,via:hg(t,t=>e.name(t)),selected:t.n===r,later:i&&r!==null&&t.n>r,onSelect:o}})),[t,e,r,i,o]);return(0,T.jsxs)(Zh,{className:`arc-flow arc-seq`,nodes:c,edges:l,nodeTypes:Nse,edgeTypes:Pse,minZoom:IS,maxZoom:2,panOnScroll:!0,panOnScrollSpeed:1,panOnDrag:[0,1],zoomOnDoubleClick:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},children:[(0,T.jsx)(`svg`,{className:`arc-defs`,"aria-hidden":`true`,children:(0,T.jsxs)(`defs`,{children:[(0,T.jsx)(`marker`,{id:`arc-head-filled`,viewBox:`0 0 10 10`,refX:`10`,refY:`5`,markerWidth:`8`,markerHeight:`8`,orient:`auto-start-reverse`,children:(0,T.jsx)(`path`,{d:`M0,0 L10,5 L0,10 z`,className:`arc-head`})}),(0,T.jsx)(`marker`,{id:`arc-head-open`,viewBox:`0 0 10 10`,refX:`10`,refY:`5`,markerWidth:`8`,markerHeight:`8`,orient:`auto-start-reverse`,children:(0,T.jsx)(`path`,{d:`M0,0 L10,5 L0,10`,className:`arc-head-open`})})]})}),(0,T.jsx)(jse,{workspace:e,layout:t}),(0,T.jsx)(zS,{layout:t,fitKey:n,selected:r,playing:i,reducedMotion:a,onSettled:s}),(0,T.jsx)(ag,{})]})}function zS({layout:e,fitKey:t,selected:n,playing:r,reducedMotion:i,onSettled:a}){let{setViewport:o,getViewport:s}=Pm(),c=Gp(e=>e.width),l=Gp(e=>e.height),u=c>0&&l>0,d=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(!u)return;o(VS(e,c,l)),d.current=t;let n=0,r=()=>{document.querySelectorAll(`[data-step-edge]`).length>=e.rows.length?a(t):n=window.requestAnimationFrame(r)};return n=window.requestAnimationFrame(r),()=>window.cancelAnimationFrame(n)},[t,u]),(0,v.useEffect)(()=>{if(!u||n===null||d.current!==t)return;let a=e.rows.filter(e=>e.n===n);if(a.length===0)return;let f=(a[0].y+a.at(-1).y)/2,p=a.flatMap(e=>[e.x1,e.x2]),m=(Math.min(...p)+Math.max(...p))/2,h=s(),g=BS(i),_=(e,t)=>e*h.zoom+h.x>=0&&e*h.zoom+h.x<=c&&t*h.zoom+h.y>=LS*h.zoom&&t*h.zoom+h.y<=l;if(r)o({x:c/2-m*h.zoom,y:l/2-f*h.zoom,zoom:h.zoom},g);else if(!p.every(e=>_(e,f))){let e=Math.max(...p)-Math.min(...p)<=c/h.zoom;o({x:e?c/2-m*h.zoom:48-Math.min(...p)*h.zoom,y:l/2-f*h.zoom,zoom:h.zoom},g)}},[n,r,t,u]),(0,T.jsx)(`div`,{className:`arc-seq-tools`,children:(0,T.jsx)(`button`,{type:`button`,className:`arc-action`,onClick:()=>void o(VS(e,c,l),BS(i)),children:`Fit whole chart`})})}var BS=e=>({duration:e?0:Ose,interpolate:`linear`});function VS(e,t,n){let r=Math.max(IS,Math.min(1,(t-32)/e.width,(n-RS)/e.height));return{x:e.width*r<=t?(t-e.width*r)/2:RS,y:RS/2,zoom:r}}function jse({workspace:e,layout:t}){let[n,r,i]=Gp(e=>e.transform),a={transform:`translate(${n}px, ${Math.max(r,0)}px) scale(${i})`};return(0,T.jsx)(`div`,{className:`arc-seq-headers`,style:a,children:t.columns.map(t=>{let n=e.byId.get(t.id),r=n?e.teams.get(n.owner):void 0,i=n!==void 0&&`external`in n&&n.external;return(0,T.jsxs)(`div`,{className:i?`arc-seq-header arc-external`:`arc-seq-header`,"data-header":t.id,title:e.name(t.id),style:{left:t.x-t.width/2,width:t.width,height:LS},children:[r&&(0,T.jsx)(`span`,{className:`arc-stripe`,style:{background:r.color}}),(0,T.jsx)(`span`,{className:`arc-seq-name`,children:e.name(t.id)}),r&&(0,T.jsx)(`span`,{className:`arc-team`,children:r.code})]},t.id)})})}var Mse=(0,v.memo)(function({data:e}){let{column:t,height:n,activations:r}=e,i=t.width/2;return(0,T.jsxs)(`div`,{className:`arc-lifeline`,"data-participant":t.id,style:{width:t.width,height:n},children:[(0,T.jsx)(sh,{type:`target`,position:id.Top,isConnectable:!1,className:`arc-handle`}),(0,T.jsx)(sh,{type:`source`,position:id.Top,isConnectable:!1,className:`arc-handle`}),(0,T.jsxs)(`svg`,{width:t.width,height:n,children:[(0,T.jsx)(`line`,{x1:i,y1:LS,x2:i,y2:n-10,className:`arc-lifeline-line`}),r.map(e=>(0,T.jsx)(`rect`,{className:`arc-activation`,x:i-fg.bar/2+e.depth*fg.bar/2,y:e.top-6,width:fg.bar,height:e.bottom-e.top+12},`${e.top}:${e.depth}`))]})]})});function HS({data:e}){let{row:t,via:n,selected:r,later:i,onSelect:a}=e,o=t.x2>=t.x1?1:-1,s=t.x1+o*14,c=t.x1+o*28,l=o>0?`start`:`end`,u=`M${t.x1} ${t.y} L${t.x2} ${t.y}`,d=[n,t.note].filter(e=>e!==void 0),f=[`arc-step`,r?`arc-step-selected`:``,i?`arc-step-later`:``].filter(Boolean).join(` `);return(0,T.jsxs)(`g`,{className:f,"data-step-edge":t.key,"data-step":t.n,"data-selected":r?`true`:`false`,"data-later":i?`true`:void 0,onClick:()=>a(t.n),children:[(0,T.jsx)(`title`,{children:`Step ${t.key}: ${t.label}`}),(0,T.jsx)(`path`,{className:`arc-step-hit`,d:u}),(0,T.jsx)(`path`,{className:`arc-step-line arc-step-${t.style}`,d:u,markerEnd:`url(#arc-head-${t.style===`sync`?`filled`:`open`})`}),(0,T.jsx)(`circle`,{className:`arc-step-badge`,cx:s,cy:t.y,r:9}),(0,T.jsx)(`text`,{className:`arc-step-number`,x:s,y:t.y+3.5,textAnchor:`middle`,children:t.key}),(0,T.jsx)(`text`,{className:`arc-step-label`,x:c,y:t.y-7,textAnchor:l,children:t.label}),d.map((e,n)=>(0,T.jsx)(`text`,{className:`arc-step-sub`,x:c,y:t.y+16+n*fg.lineHeight,textAnchor:l,children:e},n))]})}var Nse={lifeline:Mse},Pse={message:HS},US,Fse=0,WS=new Map;function GS(e,t){US||(US=new Worker(new URL(new URL(`layout.worker-BRHAGJrD.js`,import.meta.url).href,``+import.meta.url),{type:`module`}),US.onmessage=e=>{WS.get(e.data.request)?.(e.data),WS.delete(e.data.request)});let n=++Fse;return new Promise(r=>{WS.set(n,r),US.postMessage({request:n,view:e,direction:t})})}function KS(e,t){let[n,r]=(0,v.useState)({});return(0,v.useEffect)(()=>{if(!e)return;let n=!0;return GS(e,t).then(t=>{n&&r(`layout`in t?{laidOut:{view:e,layout:t.layout}}:{error:t.error})}),()=>{n=!1}},[e,t]),{laidOut:n.laidOut,error:n.error}}function qS(e,t,n){let r=new Map;for(let e of pg(t,{brokers:n})){let[t,n]=e.style===`return`?[e.to,e.from]:[e.from,e.to],i=`${t}>${n}`,a=r.get(i)??{from:t,to:n,messages:[]};a.messages.push(e),r.set(i,a)}let i=mg(t,{brokers:n}).map(t=>{let n=e.byId.get(t);return{id:t,kind:n?.kind??`service`,name:e.name(t),parent:null,collapsed:!1,external:n!==void 0&&`external`in n&&n.external}}),a=[...r.values()].map(e=>({from:e.from,to:e.to,relationships:[...new Set(e.messages.map(e=>e.step.relationship))]}));return{graph:{id:t.id,kind:`c2`,title:t.title,direction:`LR`,nodes:i,edges:a},pairs:[...r.values()]}}function JS(e){return(0,T.jsx)(Xh,{children:(0,T.jsx)(YS,{...e})})}function YS({workspace:e,view:t,brokers:n,fitKey:r,selected:i,onSelect:a,onSettled:o}){let{graph:s,pairs:c}=(0,v.useMemo)(()=>qS(e,t,n),[e,t,n]),{laidOut:l,error:u}=KS(s),d=l?.view===s?l.layout:void 0,f=(0,v.useMemo)(()=>d?.nodes.map(t=>({id:t.id,type:`participant`,position:{x:t.x,y:t.y},width:t.width,height:t.height,style:{width:t.width,height:t.height},draggable:!1,connectable:!1,data:{name:e.name(t.id)}}))??[],[d,e]),p=(0,v.useMemo)(()=>{if(!d)return[];let e=new Map(c.map(e=>[`${e.from}>${e.to}`,e])),t=e=>e.messages[0].n;return d.edges.map(t=>({e:t,pair:e.get(`${t.from}>${t.to}`)})).sort((e,n)=>t(e.pair)-t(n.pair)).map(({e,pair:t})=>({id:`${e.from}>${e.to}`,source:e.from,target:e.to,type:`steps`,selectable:!1,markerEnd:{type:rd.ArrowClosed,width:16,height:16},data:{points:e.points,pair:t,selected:i,onSelect:a}}))},[d,c,i,a]);return u?(0,T.jsxs)(`p`,{className:`arc-error`,children:[`Layout failed: `,u]}):(0,T.jsxs)(Zh,{className:`arc-flow arc-graph`,nodes:f,edges:p,panOnScroll:!0,panOnScrollSpeed:1,panOnDrag:[0,1],nodeTypes:zse,edgeTypes:Bse,minZoom:.05,maxZoom:2,zoomOnDoubleClick:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},children:[(0,T.jsx)(Fte,{showInteractive:!1}),d&&(0,T.jsx)(Ise,{width:d.width,height:d.height,edges:d.edges.length,fitKey:r,onSettled:o}),(0,T.jsx)(ag,{})]})}function Ise({width:e,height:t,edges:n,fitKey:r,onSettled:i}){let{setViewport:a}=Pm(),o=Gp(e=>e.width),s=Gp(e=>e.height);return(0,v.useEffect)(()=>{if(o===0||s===0)return;let c=Math.min(1,(o-64)/Math.max(e,1),(s-64)/Math.max(t,1));a({x:(o-e*c)/2,y:(s-t*c)/2,zoom:c});let l=0,u=()=>{document.querySelectorAll(`path[data-edge-from]`).length>=n?i(r):l=window.requestAnimationFrame(u)};return l=window.requestAnimationFrame(u),()=>window.cancelAnimationFrame(l)},[e,t,r,o>0&&s>0]),null}var Lse=(0,v.memo)(function({id:e,data:t}){return(0,T.jsxs)(`div`,{className:`arc-box arc-graph-node`,"data-graph-node":e,children:[(0,T.jsx)(sh,{type:`target`,position:id.Left,isConnectable:!1,className:`arc-handle`}),(0,T.jsx)(sh,{type:`source`,position:id.Right,isConnectable:!1,className:`arc-handle`}),(0,T.jsx)(`div`,{className:`arc-text`,children:(0,T.jsx)(`div`,{className:`arc-name`,children:t.name})})]})});function Rse({data:e,markerEnd:t}){let{points:n,pair:r,selected:i,onSelect:a}=e,o=n.map((e,t)=>`${t===0?`M`:`L`}${e.x} ${e.y}`).join(` `),s=Math.floor((n.length-1)/2),[c,l]=[n[s],n[s+1]??n[s]],u=r.messages.some(e=>e.n===i);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{className:u?`arc-edge arc-lit`:`arc-edge`,d:o,fill:`none`,markerEnd:t,"data-edge-from":r.from,"data-edge-to":r.to}),(0,T.jsx)(Ste,{children:(0,T.jsx)(`div`,{className:`arc-graph-steps nodrag nopan`,style:{transform:`translate(-50%, -50%) translate(${(c.x+l.x)/2}px, ${(c.y+l.y)/2}px)`},children:r.messages.map(e=>(0,T.jsx)(`button`,{type:`button`,className:`arc-graph-step arc-step-${e.style}`,"data-graph-step":e.key,"aria-pressed":e.n===i,title:e.label,onClick:()=>a(e.n),children:e.key},e.key))})})]})}var zse={participant:Lse},Bse={steps:Rse},Vse=1400,Hse=e=>e.kind===`return`?`return`:e.interaction,Use={sync:`Sync call`,async:`Async`,return:`Return`};function Wse({workspace:e,view:t,place:n,keys:r,onOpenStepView:i,onOpenView:a}){let o=t.steps,s=o.findIndex(e=>e.n===n.step),c=s<0?void 0:o[s],[l,u]=(0,v.useState)(!1),d=lne(),f=(0,v.useCallback)(t=>e.name(t),[e]),p=(0,v.useMemo)(()=>Mne(t,{name:f,brokers:n.brokers}),[t,f,n.brokers]),m=`${t.id}|${n.brokers?`brokers`:`direct`}|${n.graph?`graph`:`sequence`}`,[h,g]=(0,v.useState)(),_=(0,v.useCallback)(e=>oS({...n,step:e},{replace:!0}),[n]),y=(0,v.useCallback)(e=>_(o[Math.max(0,Math.min(o.length-1,e))]?.n??null),[_,o]),b=(0,v.useCallback)(()=>y(s<0?0:s+1),[y,s]),x=(0,v.useCallback)(()=>y(s<0?0:s-1),[y,s]),S=(0,v.useCallback)(()=>{if(l)return u(!1);(s<0||s===o.length-1)&&y(0),u(o.length>1)},[l,s,o.length,y]);(0,v.useEffect)(()=>{if(!l)return;let e=window.setTimeout(()=>{let e=s+1;y(e),e>=o.length-1&&u(!1)},Vse);return()=>window.clearTimeout(e)},[l,s,o.length,y]),(0,v.useEffect)(()=>{if(!r)return;let e=e=>{if(!(e.target instanceof HTMLElement&&(e.target.isContentEditable||[`INPUT`,`TEXTAREA`,`SELECT`].includes(e.target.tagName))||e.metaKey||e.ctrlKey||e.altKey)){if(e.key===` `)S();else if(e.key===`j`||e.key===`ArrowDown`)b();else if(e.key===`k`||e.key===`ArrowUp`)x();else if(e.key===`Escape`)u(!1),_(null);else return;e.preventDefault()}};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r,S,b,x,_]),(0,v.useEffect)(()=>{c&&document.querySelector(`.arc-outline [data-step="${c.n}"]`)?.scrollIntoView({block:`nearest`})},[c]);let C=h===m;return(0,T.jsxs)(`div`,{className:`arc-dynamic`,children:[(0,T.jsxs)(`aside`,{className:`arc-dyn-left`,"aria-label":`Walkthrough`,children:[(0,T.jsxs)(`div`,{className:`arc-transport`,role:`group`,"aria-label":`Transport`,children:[(0,T.jsxs)(`div`,{className:`arc-transport-buttons`,children:[(0,T.jsx)(`button`,{type:`button`,"aria-label":`First Step`,onClick:()=>y(0),children:(0,T.jsx)(di,{name:`first`})}),(0,T.jsx)(`button`,{type:`button`,"aria-label":`Previous Step`,onClick:x,children:(0,T.jsx)(di,{name:`previous`})}),(0,T.jsx)(`button`,{type:`button`,className:`arc-play`,"aria-label":l?`Pause`:`Play`,onClick:S,children:(0,T.jsx)(di,{name:l?`pause`:`play`})}),(0,T.jsx)(`button`,{type:`button`,"aria-label":`Next Step`,onClick:b,children:(0,T.jsx)(di,{name:`next`})})]}),(0,T.jsx)(`p`,{className:`arc-transport-count`,"aria-live":`polite`,children:c?`Step ${c.n} of ${o.length}`:`${o.length} Steps`}),(0,T.jsxs)(`div`,{className:`arc-progress`,role:`group`,"aria-label":`Progress`,children:[(0,T.jsx)(`span`,{className:`arc-progress-fill`,style:{width:`${o.length===0?0:(s+1)/o.length*100}%`}}),o.map(e=>(0,T.jsx)(`button`,{type:`button`,className:`arc-tick`,"aria-label":`Go to Step ${e.n}`,"aria-current":e.n===c?.n?`step`:void 0,onClick:()=>_(e.n)},e.n))]})]}),(0,T.jsx)(`ol`,{className:`arc-outline`,"aria-label":`Steps`,children:o.map(t=>(0,T.jsx)(`li`,{children:(0,T.jsxs)(`button`,{type:`button`,"data-step":t.n,"aria-current":t.n===c?.n?`step`:void 0,onClick:()=>_(t.n),children:[(0,T.jsx)(`span`,{className:`arc-outline-n`,children:t.n}),(0,T.jsxs)(`span`,{className:`arc-outline-text`,children:[(0,T.jsx)(`span`,{className:`arc-outline-label`,children:t.description}),(0,T.jsxs)(`span`,{className:`arc-outline-ends`,children:[e.name(t.from),` `,(0,T.jsx)(XS,{style:Hse(t)}),` `,e.name(t.to)]})]})]})},t.n))})]}),(0,T.jsxs)(`section`,{className:`arc-dyn-main`,"aria-label":`Chart`,children:[(0,T.jsxs)(`header`,{className:`arc-location`,children:[(0,T.jsxs)(`div`,{className:`arc-dyn-title`,children:[(0,T.jsx)(`span`,{className:`arc-panel-kind`,children:`Dynamic View`}),(0,T.jsx)(`h1`,{children:t.title})]}),(0,T.jsxs)(`div`,{className:`arc-tools`,children:[(0,T.jsxs)(`label`,{className:`arc-check`,children:[(0,T.jsx)(`input`,{type:`checkbox`,checked:n.brokers,onChange:e=>oS({...n,brokers:e.target.checked},{replace:!0})}),`Show brokers`]}),(0,T.jsx)(`div`,{className:`arc-segmented`,role:`group`,"aria-label":`Chart`,children:[`Sequence`,`Graph`].map(e=>(0,T.jsx)(`button`,{type:`button`,"aria-pressed":e===`Graph`===n.graph,onClick:()=>oS({...n,graph:e===`Graph`},{replace:!0}),children:e},e))}),(0,T.jsx)(Dse,{}),(0,T.jsx)(FS,{})]})]}),(0,T.jsx)(`div`,{className:`arc-canvas`,"data-canvas":!0,"data-state":C?`ready`:`busy`,children:n.graph?(0,T.jsx)(JS,{workspace:e,view:t,brokers:n.brokers,fitKey:m,selected:c?.n??null,onSelect:_,onSettled:g},m):(0,T.jsx)(kse,{workspace:e,layout:p,fitKey:m,selected:c?.n??null,playing:l,reducedMotion:d,onSelect:_,onSettled:g},m)})]}),(0,T.jsx)(`aside`,{className:`arc-dyn-detail`,"aria-label":`Step detail`,children:c?(0,T.jsx)(Gse,{workspace:e,view:t,step:c,onOpenStepView:i,onOpenView:a}):(0,T.jsx)(QS,{workspace:e,view:t})})]})}function XS({style:e}){return(0,T.jsx)(`span`,{className:`arc-glyph arc-step-${e}`,"aria-label":Use[e],role:`img`})}var ZS={call:`Call`,return:`Return`,event:`Event`};function Gse({workspace:e,view:t,step:n,onOpenStepView:r,onOpenView:i}){let a=n.relationship,o=e.byId.get(a.from)?.owner,s=o?e.teams.get(o):void 0,c=ke(e.bundle,n.relationship).filter(e=>e.id!==t.id);return(0,T.jsxs)(`div`,{className:`arc-panel-body`,children:[(0,T.jsxs)(`h2`,{children:[`Step `,n.n]}),(0,T.jsx)(`p`,{className:`arc-panel-kind`,children:ZS[n.kind]}),(0,T.jsx)(`p`,{className:`arc-description`,children:n.description}),(0,T.jsxs)(`p`,{className:`arc-outline-ends`,children:[e.name(n.from),` `,(0,T.jsx)(XS,{style:Hse(n)}),` `,e.name(n.to)]}),n.note&&(0,T.jsx)(`p`,{className:`arc-note`,children:n.note}),(0,T.jsx)(`h3`,{children:`Relationship`}),(0,T.jsxs)(`dl`,{className:`arc-facts`,children:[(0,T.jsx)(`dt`,{children:`Id`}),(0,T.jsx)(`dd`,{children:(0,T.jsx)(`code`,{children:a.id??`${a.from} → ${a.to}`})}),a.description&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`dt`,{children:`Description`}),(0,T.jsx)(`dd`,{children:a.description})]}),(0,T.jsx)(`dt`,{children:`Interaction`}),(0,T.jsx)(`dd`,{children:a.interaction}),a.technology&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`dt`,{children:`Technology`}),(0,T.jsx)(`dd`,{children:a.technology})]}),a.via&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`dt`,{children:`Via`}),(0,T.jsxs)(`dd`,{children:[e.name(a.via),a.channel&&` · ${a.channel}`]})]}),o&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`dt`,{children:`Owner`}),(0,T.jsxs)(`dd`,{children:[(0,T.jsx)(`span`,{className:`arc-owner-code arc-code-tile`,style:{"--team":s?.color},children:s?.code}),` `,e.name(o)]})]})]}),(0,T.jsx)(`h3`,{id:`arc-open-in`,children:`Open in`}),(0,T.jsx)(`ul`,{className:`arc-view-links`,"aria-labelledby":`arc-open-in`,children:Oe(e.bundle,n).map(t=>(0,T.jsx)(`li`,{children:(0,T.jsx)(`button`,{type:`button`,className:`arc-link`,onClick:()=>r(t,n),children:e.title(t)??t})},t))}),c.length>0&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`h3`,{id:`arc-also-in`,children:`Also in`}),(0,T.jsx)(`ul`,{className:`arc-view-links`,"aria-labelledby":`arc-also-in`,children:c.map(e=>(0,T.jsx)(`li`,{children:(0,T.jsx)(`button`,{type:`button`,className:`arc-link`,onClick:()=>i(e.id),children:e.title})},e.id))})]})]})}function QS({workspace:e,view:t}){let n=e.description(t.id);return(0,T.jsxs)(`div`,{className:`arc-panel-body`,children:[(0,T.jsx)(`h2`,{children:t.title}),(0,T.jsx)(`p`,{className:`arc-panel-kind`,children:`Dynamic View`}),n&&(0,T.jsx)(`p`,{className:`arc-description`,children:n}),(0,T.jsxs)(`p`,{className:`arc-muted`,children:[t.steps.length,` Steps across `,t.participants.length,` participants. Press Space to play, J and K to step, Esc to clear.`]}),(0,T.jsx)(`h3`,{id:`arc-participants`,children:`Participants`}),(0,T.jsx)(`ul`,{"aria-labelledby":`arc-participants`,children:t.participants.map(t=>(0,T.jsx)(`li`,{children:e.name(t)},t))}),(0,T.jsx)(`h3`,{id:`arc-legend`,children:`Legend`}),(0,T.jsxs)(`ul`,{className:`arc-legend`,"aria-labelledby":`arc-legend`,children:[[`sync`,`async`,`return`].map(e=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(XS,{style:e}),` `,Use[e]]},e)),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-legend-bar`,"aria-hidden":`true`}),` Busy with a sync call`]})]})]})}function $S(e,t={}){let n=t.element===void 0?void 0:eC(e,t.element);return e.adrs.flatMap(e=>{if(t.status!==void 0&&e.effectiveStatus!==t.status||t.tag!==void 0&&!e.tags.includes(t.tag))return[];if(!n)return[e];let r=e.elements.filter(e=>n.has(e));return r.length?[{...e,matchedVia:r}]:[]}).sort((e,t)=>nC(t.date,e.date)||nC(tC(t),tC(e))||nC(e.id,t.id))}function eC(e,t){let n=[...e.elements,...e.targets],r=new Set([t]);for(let e=!0;e;){e=!1;for(let t of n)t.parent!==null&&r.has(t.parent)&&!r.has(t.id)&&(e=!!r.add(t.id))}return r}var tC=e=>e.id.slice(e.id.indexOf(`:`)+1),nC=(e,t)=>e<t?-1:+(e>t);function rC(e,t,n){let r=new Map(e.targets.map(e=>[e.id,e]));return e.deployments.filter(e=>e.service===t&&(n===void 0||e.environment===n)).map(e=>({...e,targetPath:Kse(r,e.target)}))}function Kse(e,t){let n=[],r=new Set;for(let i=e.get(t);i&&!r.has(i.id);i=i.parent===null?void 0:e.get(i.parent))r.add(i.id),n.unshift({id:i.id,name:i.name,kind:i.kind});return n}function iC(e,t){if(e.kind===`project`){let t=`${e.id}:`;return n=>n.some(n=>n===e.id||n.startsWith(t))}let n=new Set([e.id]);for(let r of t)if(e.kind===`team`)for(let t of[...r.elements,...r.targets,...r.projects])t.owner===e.id&&n.add(t.id);else{let e=!0;for(;e;){e=!1;for(let t of r.elements)t.parent!==null&&n.has(t.parent)&&!n.has(t.id)&&(n.add(t.id),e=!0)}}return e=>e.some(e=>n.has(e))}var aC=[`Overview`,`URLs`,`ADRs`,`Links`,`History`];function oC({workspace:e,id:t,onLens:n,onConnect:r,onFocus:i,onOpenView:a,onOpenAdr:o,onDeployed:s,timeline:c,comparison:l,onTime:u,onClose:d}){let[f,p]=(0,v.useState)(`Overview`),m=(0,v.useMemo)(()=>({ADRs:$S(e.bundle,{element:t}).length,Links:e.bundle.relationships.filter(e=>e.from===t||e.to===t).length}),[e,t]),h=e.byId.get(t);if(!h)return null;let g=e.teams.get(h.owner),_=`technology`in h?h.technology:null,y=(h.kind===`system`||h.kind===`service`)&&h.external?`External ${h.kind}`:h.kind[0].toUpperCase()+h.kind.slice(1);return(0,T.jsxs)(`aside`,{className:`arc-panel`,"aria-label":`Element`,children:[(0,T.jsxs)(`header`,{className:`arc-panel-head`,children:[(0,T.jsxs)(`div`,{className:`arc-panel-title`,children:[(0,T.jsx)(`h2`,{children:h.name}),(0,T.jsxs)(`p`,{className:`arc-panel-kind`,children:[y,` · `,(0,T.jsx)(`code`,{className:`arc-panel-id`,children:h.id})]}),(0,T.jsxs)(`button`,{type:`button`,className:`arc-owner`,"aria-label":`Team lens: ${e.name(h.owner)}`,style:{"--team":g?.color},onClick:()=>n({team:h.owner}),children:[(0,T.jsx)(`span`,{className:`arc-owner-code`,children:g?.code}),(0,T.jsx)(`span`,{className:`arc-owner-name`,children:e.name(h.owner)})]})]}),d&&(0,T.jsx)(`button`,{type:`button`,className:`arc-flyout-close`,"aria-label":`Close panel`,onClick:d,children:(0,T.jsx)(di,{name:`close`})})]}),(0,T.jsx)(`div`,{className:`arc-tabs`,role:`tablist`,"aria-label":`Element`,children:aC.map(e=>(0,T.jsxs)(`button`,{type:`button`,role:`tab`,"aria-selected":f===e,onClick:()=>p(e),children:[e,m[e]!==void 0&&(0,T.jsxs)(`span`,{className:`arc-tab-count`,children:[` `,m[e]]})]},e))}),(0,T.jsxs)(`div`,{className:`arc-panel-body`,role:`tabpanel`,"aria-label":f,children:[f===`Overview`&&(0,T.jsxs)(T.Fragment,{children:[l&&(0,T.jsx)(fC,{comparison:l,id:t}),(h.description||_)&&(0,T.jsxs)(`p`,{className:`arc-description`,children:[h.description,_&&(0,T.jsxs)(`span`,{className:`arc-technology`,children:[` `,_]})]}),(0,T.jsxs)(`section`,{className:`arc-actions`,"aria-label":`Ask`,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-action`,"aria-label":`Both ways impact`,onClick:()=>n({impact:t,direction:`both`}),children:[(0,T.jsx)(di,{name:`impact`}),`Upstream & downstream`]}),(0,T.jsxs)(`button`,{type:`button`,className:`arc-action`,title:`Lights the paths to the node you pick next, and picks every node on them`,onClick:()=>r(t),children:[(0,T.jsx)(di,{name:`connect`}),`Connect to…`]}),ye(e.bundle,t)!==void 0&&(0,T.jsxs)(`button`,{type:`button`,className:`arc-action`,onClick:()=>a(t),children:[(0,T.jsx)(di,{name:`open`}),`Open its View`]})]}),h.kind===`service`&&(0,T.jsx)(sC,{workspace:e,id:t,onDeployed:s})]}),f===`URLs`&&(0,T.jsx)(cC,{workspace:e,id:t}),f===`ADRs`&&(0,T.jsx)(uC,{workspace:e,id:t,onOpen:o}),f===`Links`&&(0,T.jsx)(dC,{workspace:e,id:t,onFocus:i}),f===`History`&&(0,T.jsx)(pC,{workspace:e,id:t,timeline:c,onTime:u})]})]})}function sC({workspace:e,id:t,onDeployed:n}){let r=(0,v.useMemo)(()=>e.deployedIn(t),[e,t]);return(0,T.jsxs)(`section`,{className:`arc-actions`,role:`region`,"aria-label":`Where is it deployed?`,children:[(0,T.jsx)(`h3`,{children:`Where is it deployed?`}),r.length===0?(0,T.jsx)(`p`,{className:`arc-empty`,children:`Not deployed in any Environment.`}):(0,T.jsx)(`div`,{className:`arc-deployed`,children:r.map(e=>(0,T.jsx)(`button`,{type:`button`,className:`arc-action`,onClick:()=>n(e.view,e.nodes),children:e.label},e.environment))})]})}function cC({workspace:e,id:t}){let n=(0,v.useMemo)(()=>rC(e.bundle,t),[e,t]);if(n.length===0)return(0,T.jsx)(`p`,{className:`arc-empty`,children:`No Deployments.`});let r=e.bundle.environments.filter(e=>n.some(t=>t.environment===e.id));return(0,T.jsx)(T.Fragment,{children:r.map(e=>(0,T.jsxs)(`section`,{className:`arc-env`,role:`region`,"aria-label":e.name,children:[(0,T.jsx)(`h3`,{children:e.name}),(0,T.jsx)(`ul`,{children:n.filter(t=>t.environment===e.id).map(e=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`div`,{className:`arc-target`,children:e.targetPath.map(e=>e.name).join(` › `)||e.target}),e.url?(0,T.jsx)(lC,{url:e.url}):(0,T.jsx)(`p`,{className:`arc-empty`,children:`No URL`}),e.endpoints.map(e=>(0,T.jsx)(lC,{name:e.name,url:e.url},e.name))]},e.target))})]},e.id))})}function lC({name:e,url:t}){let[n,r]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{if(!n)return;let e=window.setTimeout(()=>r(!1),1500);return()=>window.clearTimeout(e)},[n]),(0,T.jsxs)(`div`,{className:`arc-url`,children:[e&&(0,T.jsx)(`span`,{className:`arc-endpoint`,children:e}),(0,T.jsx)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,children:t}),(0,T.jsx)(`button`,{type:`button`,className:`arc-copy`,"aria-label":`Copy ${t}`,onClick:()=>void navigator.clipboard.writeText(t).then(()=>r(!0)),children:n?`Copied`:`Copy`})]})}function uC({workspace:e,id:t,onOpen:n}){let r=(0,v.useMemo)(()=>$S(e.bundle,{element:t}),[e,t]);return r.length===0?(0,T.jsx)(`p`,{className:`arc-empty`,children:`No ADRs link this Element or anything inside it.`}):(0,T.jsx)(`ul`,{className:`arc-adr-list`,children:r.map(e=>(0,T.jsx)(`li`,{"data-superseded":e.effectiveStatus===`superseded`?`true`:void 0,children:(0,T.jsxs)(`button`,{type:`button`,className:`arc-adr-row`,onClick:()=>n(e.id),children:[(0,T.jsx)(`code`,{className:`arc-adr-id`,children:e.id}),(0,T.jsx)(`span`,{className:`arc-adr-title`,children:e.title}),(0,T.jsx)(mi,{status:e.effectiveStatus}),(0,T.jsx)(`time`,{className:`arc-muted`,dateTime:e.date,children:e.date})]})},e.id))})}function dC({workspace:e,id:t,onFocus:n}){let r=(0,v.useMemo)(()=>He(e.bundle,t,`both`),[e,t]),i=e.bundle.relationships.filter(e=>e.from===t||e.to===t),a=t=>(0,T.jsx)(`button`,{type:`button`,className:`arc-link`,onClick:()=>n(t),children:e.name(t)}),o=(e,n)=>(0,T.jsxs)(`li`,{children:[e.from===t?`→ `:`← `,a(e.from===t?e.to:e.from),e.description&&(0,T.jsxs)(`span`,{className:`arc-muted`,children:[` `,e.description]}),e.technology&&(0,T.jsxs)(`span`,{className:`arc-muted`,children:[` · `,e.technology]})]},n),s=(e,t)=>(0,T.jsxs)(`section`,{role:`region`,"aria-label":e,children:[(0,T.jsx)(`h3`,{children:e}),!t?.length&&(0,T.jsx)(`p`,{className:`arc-empty`,children:`Nothing`}),(0,T.jsx)(`ul`,{children:t?.flatMap(e=>e.elements.map(t=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-distance-inline`,children:e.distance}),` `,a(t.id)]},t.id)))})]});return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`section`,{role:`region`,"aria-label":`Relationships`,children:[(0,T.jsx)(`h3`,{children:`Relationships`}),i.length===0&&(0,T.jsx)(`p`,{className:`arc-empty`,children:`None declared here`}),(0,T.jsx)(`ul`,{children:i.map(o)})]}),s(`Downstream`,r.downstream),s(`Upstream`,r.upstream)]})}function fC({comparison:e,id:t}){let n=e.changes.find(e=>e.kind===`element`&&e.id===t);if(!n)return null;let r=e=>e===void 0?`—`:JSON.stringify(e);return(0,T.jsxs)(`section`,{className:`arc-compared`,role:`region`,"aria-label":`Changed in this comparison`,children:[(0,T.jsx)(`h3`,{children:n.type===`changed`?`Changed, ${e.label}`:`${n.type===`added`?`Added`:`Removed`}, ${e.label}`}),n.type===`changed`&&(0,T.jsx)(`dl`,{className:`arc-fields`,children:n.fields.map(e=>(0,T.jsxs)(`div`,{children:[(0,T.jsx)(`dt`,{children:e}),(0,T.jsxs)(`dd`,{children:[r(n.before?.[e]),` → `,r(n.after?.[e])]})]},e))})]})}function pC({workspace:e,id:t,timeline:n,onTime:r}){let i=(0,v.useMemo)(()=>zne(n.revisions,iC({kind:`element`,id:t},[e.bundle])),[e,t,n]);return n.revisions.length===0?(0,T.jsx)(`p`,{className:`arc-empty`,children:`This site has no history.`}):i.length===0?(0,T.jsx)(`p`,{className:`arc-empty`,children:`No Revision changed it.`}):(0,T.jsx)(`ul`,{className:`arc-history-list`,children:i.map(e=>{let t=n.previous(e),i=n.isLatest(e)?null:dS(e);return(0,T.jsxs)(`li`,{children:[(0,T.jsx)(DS,{revision:e}),t?(0,T.jsx)(`button`,{type:`button`,"aria-label":`Compare ${dS(t)} → ${dS(e)}`,onClick:()=>r({at:i,vs:dS(t)}),children:`Compare`}):(0,T.jsx)(`button`,{type:`button`,"aria-label":`Open ${dS(e)}`,onClick:()=>r({at:i,vs:null}),children:`Open`})]},e.sha)})})}var qse=`modulepreload`,Jse=function(e,t){return new URL(e,t).href},j={},mC=function(e){return e.pathname.endsWith(`.css`)},hC=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},gC=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=Jse(t,n);let r=s(t),i=mC(r);return hC(j,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:qse,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{let i=a=>{t.removeEventListener(`load`,i),t.removeEventListener(`error`,i),a.type===`error`?n(Error(`Unable to preload CSS for ${r}`)):e(a)};t.addEventListener(`load`,i),t.addEventListener(`error`,i)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};async function _C(e,t,n,r){let[i,{renderSvg:a}]=await Promise.all([GS(t,n),gC(()=>import(`./svg-DN6lMeZo.js`),[],import.meta.url)]);if(`error`in i)throw Error(i.error);let{bundle:o}=e,s=a({bundle:o,view:t,layout:i.layout,source:{workspace:e.workspaceName,commit:o.commit,date:o.builtAt}});if(r===`svg`)return new Blob([s],{type:`image/svg+xml`});let[{renderPng:c},{default:l}]=await Promise.all([gC(()=>import(`./png-DMwnpRCt.js`),[],import.meta.url),gC(()=>import(`./index_bg-D3t31u3-.js`),[],import.meta.url)]),u=await c(s,fetch(l));return new Blob([u],{type:`image/png`})}var vC=(e,t,n=!1)=>`${e.replace(/[/:]/g,`-`)}${n?`-picks`:``}.${t}`;function yC(e,t){let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=t,document.body.append(r),r.click(),r.remove(),setTimeout(()=>URL.revokeObjectURL(n),1e3)}function bC(e,t,n={}){let r=xC(t),i=new Map;for(let t of e.deployments){let e=i.get(t.service)??[];for(let n of[t.url,...t.endpoints.map(e=>e.url)])n&&e.push({environment:t.environment,target:t.target,url:n});i.set(t.service,e)}let a=new Map(e.teams.map(e=>[e.id,e.name])),o=e=>[...n.fields?.includes(`team`)?[e.owner,a.get(e.owner)??``]:[],...n.fields?.includes(`technology`)&&`technology`in e&&e.technology?[e.technology]:[]],s=[];for(let t of e.elements){if(n.kind&&t.kind!==n.kind)continue;let e=SC(r,t)??(wC(r,o(t).map(e=>e.toLowerCase()))===void 0?void 0:2),a=e===void 0?void 0:{element:t,rank:e};for(let e of i.get(t.id)??[]){let n=CC(r,e.url);n!==void 0&&(a===void 0||n<a.rank)&&(a={element:t,rank:n,deployment:e})}a&&s.push(a)}return s.sort((e,t)=>e.rank-t.rank||(e.element.id<t.element.id?-1:+(e.element.id>t.element.id)))}var xC=e=>e.trim().toLowerCase().replace(/\/+$/,``);function SC(e,t){return wC(e,[t.id,t.id.slice(t.id.indexOf(`:`)+1),t.name].map(e=>e.toLowerCase()))}function CC(e,t){let n=xC(t),r=n.replace(/^[a-z][a-z0-9+.-]*:\/\//,``),i=r.replace(/[/?#].*$/,``);return e===n||e===r||e===i?0:[n,r].some(t=>/^[/?#]/.test(e.slice(t.length))&&e.startsWith(t))?1:wC(e,[n,r])}function wC(e,t){if(t.some(t=>t===e))return 0;if(t.some(t=>t.startsWith(e)))return 1;if(t.some(t=>t.includes(e)))return 2}function TC(e){return new Map(e.teams.map((e,t)=>{let n=e.name.split(/[^\p{L}\p{N}]+/u).filter(Boolean),r=(n.length>1?n.map(e=>e[0]).join(``).slice(0,3):(n[0]??e.id).slice(0,3)).toUpperCase();return[e.id,{code:r,color:EC(.62,.13,(30+t*137.508)%360)}]}))}function EC(e,t,n){let r=n*Math.PI/180,[i,a]=[t*Math.cos(r),t*Math.sin(r)],o=(e+.3963377774*i+.2158037573*a)**3,s=(e-.1055613458*i-.0638541728*a)**3,c=(e-.0894841775*i-1.291485548*a)**3;return`#${[4.0767416621*o-3.3077115913*s+.2309699292*c,-1.2684380046*o+2.6097574011*s-.3413193965*c,-.0041960863*o-.7034186147*s+1.707614701*c].map(e=>{let t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.round(Math.min(1,Math.max(0,t))*255).toString(16).padStart(2,`0`)}).join(``)}`}function DC(e,t,n){let r=tt(e,t,n);return r?.kind===`dynamic`?void 0:r}function OC(e){let t=_e(e);return t?.form===`focused`?t.element:void 0}var kC=(e,t)=>e.name.localeCompare(t.name)||e.id.localeCompare(t.id),AC={person:`◉`,system:`▣`,service:`▭`,component:`◇`},jC=class{bundle;byId;targets;teams;views;childrenOf=new Map;viewIds;workspaceName;constructor(e,t=`Workspace`){this.bundle=e,this.workspaceName=t,this.byId=new Map(e.elements.map(e=>[e.id,e])),this.targets=new Map(e.targets.map(e=>[e.id,e])),this.teams=TC(e),this.views=at(e),this.viewIds=new Set(this.views.map(e=>e.id));for(let t of e.elements){let e=this.childrenOf.get(t.parent)??[];e.push(t),this.childrenOf.set(t.parent,e)}for(let e of this.childrenOf.values())e.sort(kC)}children(e){return this.childrenOf.get(e)??[]}ancestors(e){let t=[];for(let n=this.byId.get(e)?.parent??null;n!==null&&!t.includes(n);n=this.byId.get(n)?.parent??null)t.unshift(n);return t}title(e){return this.views.find(t=>t.id===e)?.title}description(e){return this.bundle.views.find(t=>t.id===e)?.description??null}name(e){return this.byId.get(e)?.name??[...this.bundle.teams,...this.bundle.environments].find(t=>t.id===e)?.name??e}wayIn(e){let t=ye(this.bundle,e);return t!==void 0&&OC(t)===e&&this.viewIds.has(t)?t:void 0}deeper(e){if(e===`c1`)return this.viewIds.has(`c2`)?[{label:`C2 Landscape`,view:`c2`}]:[];let t=_e(e);return(t?.form===`landscape`?this.children(null).filter(e=>e.kind===`system`):t?.form===`focused`&&t.level===`c2`?this.children(t.element):[]).flatMap(e=>{let t=this.wayIn(e.id);return t===void 0?[]:[{label:e.name,view:t}]})}deployedIn(e){return this.bundle.environments.map(e=>({environment:e.id,label:e.name,view:ve({form:`deployment`,environment:e.id})})).map(t=>({...t,nodes:DC(this.bundle,t.view,{lens:`none`})?.nodes.filter(t=>t.kind===`deployment`&&t.element===e).map(e=>e.id)??[]})).filter(e=>e.nodes.length>0)}crumbs(e){let t=this.bundle.views.find(t=>t.id===e);if(t)return[{label:`Saved`},{label:this.bundle.projects.find(e=>e.id===t.project)?.name??t.project},{label:t.title,view:e}];let n=[{label:`C1`,view:`c1`}];if(e===`c1`)return n;let r=_e(e);if(r?.form===`deployment`)return[...n,{label:this.title(e)??e,view:e}];n.push({label:`C2 Landscape`,view:`c2`});let i=r?.form===`focused`?this.byId.get(r.element):void 0;if(!i)return n;let a=[...this.ancestors(i.id),i.id].map(e=>this.byId.get(e)).find(e=>e.kind===`system`);return a&&n.push({label:a.name,view:ve({form:`focused`,level:`c2`,element:a.id})}),r?.form===`focused`&&r.level===`c3`&&n.push({label:i.name,view:e}),n}modelByKind(){let e=this.children(null);return[[`People`,e.filter(e=>e.kind===`person`)],[`Systems`,e.filter(e=>e.kind===`system`&&!e.external)],[`External Systems`,e.filter(e=>e.kind===`system`&&e.external)],[`Services`,e.filter(e=>e.kind===`service`)]].filter(([,e])=>e.length>0).map(([e,t])=>({key:`kind:${e}`,label:e,children:t.map(e=>this.elementRow(e,()=>!0))}))}modelByTeam(){return[...this.bundle.teams].sort(kC).map(e=>{let t=this.bundle.elements.filter(t=>t.owner===e.id&&(t.parent===null||this.byId.get(t.parent)?.owner!==e.id)).sort(kC);return{key:`team:${e.id}`,label:e.name,team:this.teams.get(e.id),children:t.map(t=>this.elementRow(t,t=>t.owner===e.id))}}).filter(e=>e.children.length>0)}elementRow(e,t){return{key:e.id,label:e.name,element:e.id,glyph:AC[e.kind],team:this.teams.get(e.owner),children:this.children(e.id).filter(t).map(e=>this.elementRow(e,t))}}viewsByKind(){return[{key:`views:landscapes`,label:`Landscapes`,children:this.landscapeRows()},...this.systemViewGroup(`Systems`,()=>!0),{key:`views:deployment`,label:`Deployment`,children:this.deploymentRows()},{key:`views:dynamic`,label:`Dynamic Views`,children:this.dynamicRows(()=>!0)},{key:`views:saved`,label:`Saved Views`,children:this.savedByProject()}].filter(e=>e.children.length>0)}viewsByTeam(){let e=[...this.bundle.teams].sort(kC).flatMap(e=>{let[t]=this.systemViewGroup(e.name,t=>t===e.id,e.id);return[{...t,children:[...t.children,...this.dynamicRows(t=>t===e.id,e.id),...this.savedRows(t=>t===e.id,e.id)]}]});return[{key:`views:workspace`,label:`Workspace`,children:[...this.landscapeRows(),...this.deploymentRows()]},...e].filter(e=>e.children.length>0)}landscapeRows(){return this.views.filter(e=>_e(e.id)?.form===`landscape`).map(e=>({key:e.id,label:e.title,view:e.id,children:[]}))}savedByProject(){return[...this.bundle.projects].sort(kC).map(e=>({key:`views:saved:${e.id}`,label:e.name,children:this.savedRows(()=>!0,void 0,e.id)})).filter(e=>e.children.length>0)}savedRows(e,t,n){let r=new Map(this.bundle.projects.map(e=>[e.id,e.owner]));return this.bundle.views.filter(t=>t.kind===`structural`&&(n===void 0||t.project===n)&&e(r.get(t.project)??``)).filter(e=>DC(this.bundle,e.id,{lens:`none`})!==void 0).sort((e,t)=>e.title.localeCompare(t.title)||e.id.localeCompare(t.id)).map(e=>({key:e.id,label:e.title,view:e.id,glyph:`◇`,team:t?this.teams.get(t):void 0,children:[]}))}deploymentRows(){return this.views.filter(e=>_e(e.id)?.form===`deployment`).map(e=>({key:e.id,label:e.title,view:e.id,glyph:`⛁`,children:[]}))}dynamicRows(e,t){let n=new Map(this.bundle.projects.map(e=>[e.id,e.owner]));return this.bundle.views.filter(t=>t.kind===`dynamic`&&e(n.get(t.project)??``)).sort((e,t)=>e.title.localeCompare(t.title)||e.id.localeCompare(t.id)).map(e=>({key:e.id,label:e.title,view:e.id,glyph:`▶`,team:t?this.teams.get(t):void 0,children:[]}))}systemViewGroup(e,t,n){let r=e=>({key:e.id,label:e.title,view:e.id,team:n?this.teams.get(n):void 0,children:[]}),i=e=>this.views.filter(n=>{let r=_e(n.id);return r?.form===`focused`&&r.level===e&&t(this.byId.get(r.element)?.owner??``)}),a=i(`c3`),o=new Set,s=i(`c2`).map(e=>{let t=a.filter(t=>this.ancestors(OC(t.id)).includes(OC(e.id)));for(let e of t)o.add(e.id);return{...r(e),children:t.map(r)}}),c=a.filter(e=>!o.has(e.id)).map(r),l=[...s,...c].sort((e,t)=>e.label.localeCompare(t.label));return[{key:`views:${e}`,label:e,team:n?this.teams.get(n):void 0,children:l}]}},MC={Model:`model`,Teams:`teams`,Views:`views`};function NC({workspace:e,view:t,selected:n,home:r,onPickElement:i,onPickView:a,onPickTeam:o,finding:s,onFind:c,onOpenPanel:l}){let[u,d]=(0,v.useState)(null),[f,p]=(0,v.useState)({Model:`kind`,Views:`kind`}),[m,h]=(0,v.useState)(s);s!==m&&(h(s),s&&d(null)),(0,v.useEffect)(()=>{if(!u)return;let e=e=>e.key===`Escape`&&d(null);return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[u]);let g=(0,v.useMemo)(()=>u===`Model`?f.Model===`kind`?e.modelByKind():e.modelByTeam():u===`Views`?f.Views===`kind`?e.viewsByKind():e.viewsByTeam():[],[u,f,e]),_=e=>u===`Views`?e.view===t:e.element!==void 0&&e.element===(n??OC(t));return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`nav`,{className:`arc-rail`,"aria-label":`Rail`,children:[(0,T.jsx)(`a`,{className:`arc-logo-link`,href:r,"aria-label":`Archidocs home`,title:`Archidocs home`,children:(0,T.jsxs)(`svg`,{className:`arc-logo`,viewBox:`0 0 64 64`,"aria-hidden":`true`,focusable:`false`,children:[(0,T.jsx)(`path`,{className:`arc-logo-tile`,d:`M17 4H47A13 13 0 0 1 60 17V47A13 13 0 0 1 47 60H42V38A10 10 0 0 0 22 38V60H17A13 13 0 0 1 4 47V17A13 13 0 0 1 17 4Z`}),(0,T.jsx)(`path`,{className:`arc-logo-key`,d:`M26.5 12.5H37.5L35.5 21H28.5Z`})]})}),(0,T.jsxs)(`button`,{type:`button`,className:`arc-rail-button`,title:`Find ( / )`,"aria-label":`Find`,"aria-keyshortcuts":`/`,"aria-pressed":s,onClick:()=>(d(null),c()),children:[(0,T.jsx)(di,{name:`find`}),(0,T.jsx)(`span`,{className:`arc-rail-label`,"aria-hidden":`true`,children:`Find`})]}),[`Model`,`Teams`,`Views`].map(e=>(0,T.jsxs)(`button`,{type:`button`,className:`arc-rail-button`,title:e,"aria-label":e,"aria-expanded":u===e,onClick:()=>{u!==e&&l(),d(u===e?null:e)},children:[(0,T.jsx)(di,{name:MC[e]}),(0,T.jsx)(`span`,{className:`arc-rail-label`,"aria-hidden":`true`,children:e})]},e))]}),u===`Teams`&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`arc-scrim`,onClick:()=>d(null)}),(0,T.jsxs)(`section`,{className:`arc-flyout`,role:`dialog`,"aria-label":`Teams`,children:[(0,T.jsxs)(`header`,{className:`arc-flyout-head`,children:[(0,T.jsx)(`h2`,{children:`Teams`}),(0,T.jsx)(PC,{onClose:()=>d(null)})]}),(0,T.jsx)(`ul`,{className:`arc-team-list`,children:[...e.bundle.teams].sort((e,t)=>e.name.localeCompare(t.name)).map(t=>{let n=e.teams.get(t.id);return(0,T.jsx)(`li`,{children:(0,T.jsxs)(`button`,{type:`button`,className:`arc-row-label`,onClick:()=>{d(null),o(t.id)},children:[(0,T.jsx)(`span`,{className:`arc-row-team`,style:{"--team":n?.color},children:n?.code}),` `,t.name]})},t.id)})})]})]}),u&&u!==`Teams`&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`arc-scrim`,onClick:()=>d(null)}),(0,T.jsxs)(`section`,{className:`arc-flyout`,role:`dialog`,"aria-label":u,children:[(0,T.jsxs)(`header`,{className:`arc-flyout-head`,children:[(0,T.jsx)(`h2`,{children:u}),(0,T.jsx)(PC,{onClose:()=>d(null)})]}),(0,T.jsx)(`div`,{className:`arc-flyout-by`,children:(0,T.jsx)(`div`,{className:`arc-segmented`,role:`radiogroup`,"aria-label":`Group`,children:[`kind`,`team`].map(e=>(0,T.jsxs)(`label`,{children:[(0,T.jsx)(`input`,{type:`radio`,name:`group-${u}`,checked:f[u]===e,onChange:()=>p({...f,[u]:e})}),(0,T.jsx)(`span`,{children:e===`kind`?`By kind`:`By Team`})]},e))})}),(0,T.jsx)(Yse,{label:u,rows:g,isCurrent:_,onPick:e=>{d(null),e.view===void 0?e.element!==void 0&&i(e.element):a(e.view)}},`${u}:${f[u]}`)]})]})]})}function PC({onClose:e}){return(0,T.jsx)(`button`,{type:`button`,className:`arc-flyout-close`,"aria-label":`Close`,onClick:e,children:(0,T.jsx)(di,{name:`close`})})}function Yse({label:e,rows:t,isCurrent:n,onPick:r}){let[i,a]=(0,v.useState)(()=>new Set(Xse(t,n))),o=e=>a(t=>{let n=new Set(t);return n.delete(e)||n.add(e),n}),s=(e,t)=>{let a=e.children.length>0?i.has(e.key):void 0,c=e.view!==void 0||e.element!==void 0;return(0,T.jsxs)(`li`,{role:`treeitem`,"aria-level":t,"aria-expanded":a,"aria-label":e.label,"aria-selected":n(e),children:[(0,T.jsxs)(`div`,{className:n(e)?`arc-row arc-current`:`arc-row`,style:{paddingLeft:8+(t-1)*14},children:[e.children.length>0?(0,T.jsx)(`button`,{type:`button`,className:a?`arc-disclosure arc-open`:`arc-disclosure`,"aria-label":`${a?`Collapse`:`Expand`} ${e.label}`,onClick:()=>o(e.key)}):(0,T.jsx)(`span`,{className:`arc-disclosure-space`}),FC(e)&&(0,T.jsx)(`span`,{className:`arc-vtag arc-vtag-${FC(e).toLowerCase()}`,children:FC(e)}),(0,T.jsxs)(`button`,{type:`button`,className:c?`arc-row-label`:`arc-row-label arc-group`,"aria-current":n(e)?`page`:void 0,onClick:()=>c?r(e):o(e.key),children:[e.view===void 0&&e.glyph&&fi[e.glyph]&&(0,T.jsx)(di,{name:fi[e.glyph],className:`arc-row-icon`}),e.label]}),e.children.length>0&&(0,T.jsx)(`span`,{className:`arc-count`,children:e.children.length}),e.team&&(0,T.jsx)(`span`,{className:`arc-row-team`,style:{"--team":e.team.color},children:e.team.code})]}),a&&(0,T.jsx)(`ul`,{role:`group`,children:e.children.map(e=>s(e,t+1))})]},e.key)};return(0,T.jsx)(`ul`,{className:`arc-tree`,role:`tree`,"aria-label":e,children:t.map(e=>s(e,1))})}function FC(e){if(e.view===void 0)return;if(e.glyph===`▶`)return`Dyn`;if(e.glyph===`◇`)return`Saved`;let t=_e(e.view);if(e.glyph===`⛁`||t?.form===`deployment`)return`Env`;if(t?.form===`landscape`||t?.form===`focused`)return t.level.toUpperCase()}function Xse(e,t,n=[]){for(let r of e){if(t(r))return n;let e=Xse(r.children,t,[...n,r.key]);if(e.length>0)return e}return[]}var Zse=30;function Qse({workspace:e,prompt:t,onPick:n,onClose:r}){let[i,a]=(0,v.useState)(``),o=(0,v.useRef)(null),s=(0,v.useMemo)(()=>i.trim()?bC(e.bundle,i,{fields:[`team`,`technology`]}).slice(0,Zse):[],[e,i]);return(0,v.useEffect)(()=>o.current?.focus(),[]),(0,v.useEffect)(()=>{let e=e=>e.key===`Escape`&&r();return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`arc-scrim`,onClick:r}),(0,T.jsxs)(`section`,{className:`arc-flyout arc-find`,role:`dialog`,"aria-label":`Find`,children:[(0,T.jsxs)(`header`,{className:`arc-flyout-head`,children:[(0,T.jsx)(`h2`,{children:`Find`}),t&&(0,T.jsx)(`p`,{className:`arc-muted`,children:t}),(0,T.jsx)(PC,{onClose:r})]}),(0,T.jsx)(`input`,{ref:o,type:`search`,className:`arc-find-input`,placeholder:`Name, id, Team, technology or URL`,"aria-label":`Find`,"aria-controls":`arc-find-results`,value:i,onChange:e=>a(e.target.value),onKeyDown:e=>{e.key===`Enter`&&s[0]&&n(s[0].element.id)}}),(0,T.jsxs)(`ul`,{className:`arc-results`,id:`arc-find-results`,role:`listbox`,"aria-label":`Results`,children:[s.map(({element:t,deployment:r})=>{let i=e.teams.get(t.owner);return(0,T.jsxs)(`li`,{role:`option`,"aria-selected":`false`,tabIndex:-1,onClick:()=>n(t.id),onKeyDown:e=>e.key===`Enter`&&n(t.id),children:[(0,T.jsxs)(`span`,{className:`arc-result-name`,children:[(0,T.jsx)(di,{name:fi[AC[t.kind]],className:`arc-row-icon`}),t.name]}),(0,T.jsx)(`code`,{className:`arc-muted`,children:t.id}),i&&(0,T.jsx)(`span`,{className:`arc-row-team`,style:{"--team":i.color},children:i.code}),r&&(0,T.jsxs)(`span`,{className:`arc-result-url`,children:[e.name(r.environment),` · `,r.url]})]},t.id)}),!i.trim()&&(0,T.jsx)(`li`,{className:`arc-empty`,children:`Start typing to see matching elements.`}),i.trim()&&s.length===0&&(0,T.jsx)(`li`,{className:`arc-empty`,children:`No matches`})]})]})]})}var IC=e=>e.toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)||`view`;function $se({workspace:e,screen:t,title:n,onClose:r}){let i=(0,v.useMemo)(()=>[...e.bundle.projects].sort((e,t)=>e.name.localeCompare(t.name)),[e]),a=e.bundle.views.find(e=>e.id===t.view)?.project,[o,s]=(0,v.useState)(a??i[0]?.id??``),[c,l]=(0,v.useState)(n),[u,d]=(0,v.useState)(IC(n)),f=(0,v.useMemo)(()=>{if(o)try{return aee(e.bundle,t,{project:o,id:u||`view`,title:c||`View`})}catch(e){return{problem:e instanceof Error?e.message:String(e)}}},[e,t,o,u,c]);return(0,v.useEffect)(()=>{let e=e=>e.key===`Escape`&&r();return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`arc-scrim`,onClick:r}),(0,T.jsxs)(`section`,{className:`arc-dialog`,role:`dialog`,"aria-label":`Save as View`,children:[(0,T.jsxs)(`header`,{className:`arc-flyout-head`,children:[(0,T.jsx)(`h2`,{children:`Save as View`}),(0,T.jsx)(`button`,{type:`button`,className:`arc-chip-clear`,"aria-label":`Close`,onClick:r,children:(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})})]}),(0,T.jsxs)(`div`,{className:`arc-form`,children:[(0,T.jsxs)(`label`,{children:[`Project`,(0,T.jsx)(`select`,{value:o,onChange:e=>s(e.target.value),children:i.map(e=>(0,T.jsx)(`option`,{value:e.id,children:e.name},e.id))})]}),(0,T.jsxs)(`label`,{children:[`Id`,(0,T.jsx)(`input`,{value:u,onChange:e=>d(e.target.value),spellCheck:!1})]}),(0,T.jsxs)(`label`,{children:[`Title`,(0,T.jsx)(`input`,{value:c,onChange:e=>l(e.target.value)})]})]}),f&&`problem`in f&&(0,T.jsx)(`p`,{className:`arc-snippet`,role:`alert`,children:f.problem}),f&&!(`problem`in f)&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(ece,{label:`YAML`,hint:`Add to a file in ${e.name(o)}`,text:f.yaml}),(0,T.jsx)(ece,{label:`upsert_view call`,hint:`Or ask an agent to make this MCP call`,text:JSON.stringify(f.call,null,2)})]})]})]})}function ece({label:e,hint:t,text:n}){let[r,i]=(0,v.useState)(!1);return(0,T.jsxs)(`div`,{className:`arc-snippet`,children:[(0,T.jsxs)(`div`,{className:`arc-snippet-head`,children:[(0,T.jsxs)(`span`,{children:[(0,T.jsx)(`strong`,{children:e}),` `,(0,T.jsx)(`span`,{className:`arc-muted`,children:t})]}),(0,T.jsx)(`button`,{type:`button`,className:`arc-tool`,"aria-label":`Copy ${e}`,onClick:()=>void navigator.clipboard.writeText(n).then(()=>i(!0)),children:r?`Copied`:`Copy`})]}),(0,T.jsx)(`pre`,{"aria-label":e,children:n})]})}function tce(){let[e,t]=(0,v.useState)({});return(0,v.useEffect)(()=>{let e=fetch(`./${Rx}`).then(e=>e.ok?e.json():{}).then(e=>e.workspace).catch(()=>void 0);Promise.all([pS.latest(),mS(),e]).then(([e,n,r])=>{nce(n),t({latest:e,timeline:n,name:r})}).catch(e=>t({error:e instanceof Error?e.message:String(e)}))},[]),e}function nce(e){let t=e.previewBase();t&&!gse(window.location.hash)&&oS({...Zx,vs:dS(t)},{replace:!0})}function rce(){let{latest:e,timeline:t,name:n,error:r}=tce();return r?(0,T.jsx)(LC,{title:`Couldn't load the Workspace`,children:r}):!e||!t?(0,T.jsx)(LC,{title:`Loading the Workspace…`}):(0,T.jsx)(ice,{latest:e,timeline:t,name:n})}function ice({latest:e,timeline:t,name:n}){let r=aS(),{state:i,loading:a}=bS(e,t,r.at,r.vs),o=i?.kind===`ready`?i.times:void 0,s=o?.current,c=(0,v.useMemo)(()=>s?new jC(s,n):void 0,[s,n]),l=(0,v.useMemo)(()=>{if(!o?.before)return;let{before:e,current:n,vs:r,at:i}=o;return{before:e,after:n,changes:te(e,n),label:t.compareLabel(r,i)}},[o,t]),u=(0,v.useMemo)(()=>l?new jC(w(l.before,l.after),n):c,[l,c,n]);return i?.kind===`problem`?(0,T.jsx)(Cse,{problem:i.problem,place:r}):!u||!c?(0,T.jsx)(LC,{title:`Loading the Revision…`}):(0,T.jsx)(ace,{workspace:u,plain:c,comparison:l,timeline:t,at:o?.at,loading:a})}function ace({workspace:e,plain:t,comparison:n,timeline:r,at:i,loading:a}){let o=aS(),s=o.open.join(`,`),c=(0,v.useMemo)(()=>n?ct(n.before,n.after,o.view,{expand:o.open,lens:`none`}):DC(e.bundle,o.view,{expand:o.open,lens:`none`}),[e,n,o.view,s]),l=(0,v.useMemo)(()=>{let e=tt(t.bundle,o.view);return e?.kind===`dynamic`?e:void 0},[t,o.view]),u=o.direction??c?.direction,{laidOut:d,error:f}=KS(c,u),[p,m]=(0,v.useState)(),h=!a&&d!==void 0&&p===d&&d.view===c&&d.layout.direction===u,g=e.title(o.view),_=o.lens?JSON.stringify(o.lens):``,y=(0,v.useMemo)(()=>o.lens?DC(e.bundle,o.view,{expand:o.open,lens:o.lens}):void 0,[e,o.view,s,_]),[b,x]=(0,v.useState)(!1),[S,C]=(0,v.useState)(null);(0,v.useEffect)(()=>{document.title=g?`${g} · Archidocs`:`Archidocs`,g&&Sse(o,g)},[$x(o),g]);let w=(0,v.useCallback)(t=>{let n=t&&`path`in t?DC(e.bundle,o.view,{expand:o.open,lens:t})?.nodes.filter(e=>e.mark?.hit).map(e=>e.id)??[]:o.picks;oS({...o,lens:t,picks:n})},[o,e]),ee=(0,v.useCallback)(e=>{let t=S;C(null),e!==t&&w({path:{from:t,to:e,paths:`shortest`}})},[S,w]),te=(0,v.useCallback)(e=>{if(S!==null&&e!==null)return ee(e);oS({...o,selected:e},{replace:!0})},[o,S,ee]),ne=(0,v.useCallback)(e=>oS({...o,picks:o.picks.includes(e)?o.picks.filter(t=>t!==e):[...o.picks,e]},{replace:!0}),[o]);(0,v.useEffect)(()=>{let e=e=>{let t=e.target instanceof HTMLElement&&(e.target.isContentEditable||[`INPUT`,`TEXTAREA`,`SELECT`].includes(e.target.tagName));e.key===`/`&&!t&&!e.metaKey&&!e.ctrlKey&&!e.altKey?(e.preventDefault(),x(!0)):e.key===`Escape`&&!b&&(S===null?o.adr!==null&&oS({...o,adr:null},{replace:!0}):C(null))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[b,S,o]);let re=(0,v.useCallback)(e=>oS({...o,adr:e},{replace:!0}),[o]),ie=(0,v.useCallback)((t,n)=>{if(n)return oS({...o,open:[...o.open,t]});let r=n=>n===t||e.ancestors(n).includes(t);oS({...o,open:o.open.filter(e=>!r(e)),selected:o.selected!==null&&e.ancestors(o.selected).includes(t)?null:o.selected})},[o,e]),ae=(0,v.useCallback)(t=>{let n=n=>t.some(t=>n===t||e.ancestors(n).includes(t)),r=o.selected!==null&&e.ancestors(o.selected).some(e=>t.includes(e));oS({...o,open:o.open.filter(e=>!n(e)),selected:r?null:o.selected})},[o,e]),oe=(0,v.useCallback)(t=>{let n=c?.nodes.find(e=>e.id===t)?.element??t,r=ye(e.bundle,n);r!==void 0&&r!==o.view&&oS(tS(r,null,o.lens,o))},[o,e,c]),se=(0,v.useCallback)(t=>{let n=oce(e,o,t);if(n)return oS({...o,open:n,selected:t,adr:null},{replace:n.length===o.open.length});let r=e.byId.get(t);oS(tS((r?.kind===`component`?ye(e.bundle,r.parent):r?.kind===`person`?`c1`:ye(e.bundle,t))??`c2`,t,o.lens,o))},[o,e]),ce=(0,v.useCallback)(e=>oS({...o,direction:e===c?.direction?null:e}),[o,c]),le=(0,v.useCallback)(t=>oS(tS(t,null,DC(e.bundle,t,{lens:`own`})?.lens??o.lens,o)),[e,o]),[ue,de]=(0,v.useState)(!1),fe=(0,v.useCallback)((t,n)=>{let r=y??c;r&&_C(e,t===`picks`?it(r,o.picks):r,u,n).then(e=>yC(e,vC(o.view,n,t===`picks`)))},[e,y,c,o.picks,o.view,u]),pe=(0,v.useCallback)((t,n)=>{let r=[n.relationship.from,n.relationship.to],i=[];for(let n of r)i=oce(e,{...tS(t),open:i},n)??i;let a=new Set(DC(e.bundle,t,{expand:i,lens:`none`})?.nodes.map(e=>e.id)??[]),s=[r[0],...e.ancestors(r[0]).reverse()].find(e=>a.has(e))??null;oS({...tS(t,null,null,o),open:i,selected:s})},[e,o]),me=(0,T.jsx)(NC,{workspace:e,view:o.view,selected:o.selected,home:$x({...Zx,at:o.at,vs:o.vs}),onPickElement:se,onPickView:le,onPickTeam:e=>w({team:e}),finding:b,onFind:()=>x(!0),onOpenPanel:()=>x(!1)}),he=o.selected===null?void 0:c?.nodes.find(e=>e.id===o.selected)?.element??o.selected,ge=cce(he!==void 0&&e.byId.has(he)?he:void 0);return l?(0,T.jsxs)(`div`,{className:`arc-app`,children:[me,b&&(0,T.jsx)(Qse,{workspace:e,onClose:()=>x(!1),onPick:e=>{x(!1),se(e)}}),(0,T.jsx)(`main`,{className:`arc-main arc-main-dynamic`,children:(0,T.jsx)(Wse,{workspace:t,view:l,place:o,keys:!b,onOpenStepView:pe,onOpenView:e=>oS(tS(e,null,null,o))})})]}):c?(0,T.jsxs)(`div`,{className:`arc-app`,children:[me,b&&(0,T.jsx)(Qse,{workspace:e,prompt:S===null?void 0:`Pick the node to connect ${e.name(S)} to`,onClose:()=>x(!1),onPick:e=>{x(!1),S===null?se(e):ee(e)}}),(0,T.jsxs)(`main`,{className:i?`arc-main arc-has-time`:`arc-main`,children:[(0,T.jsx)(kS,{workspace:e,place:o,direction:o.direction??c.direction,compare:n?.label,timeline:r,onCollapse:ae,onDirection:ce,onLens:w,onPicks:e=>oS({...o,picks:e},{replace:!0}),onExport:fe,onSaveAsView:()=>de(!0),onTime:e=>oS({...o,...e})}),ue&&(0,T.jsx)($se,{workspace:e,screen:{view:o.view,open:o.open,lens:o.lens,picks:o.picks,direction:o.direction},title:g??c.title,onClose:()=>de(!1)}),i&&(0,T.jsx)(xS,{revision:i,place:o}),S!==null&&(0,T.jsxs)(`p`,{className:`arc-banner`,role:`status`,children:[`Pick the node to connect `,e.name(S),` to: click it, or press / to find it. Escape cancels.`]}),(0,T.jsxs)(`div`,{className:`arc-stage`,children:[n&&(0,T.jsx)(ES,{changes:n.changes,label:n.label,onElement:se,onView:e=>oS(tS(e,null,o.lens,o))}),(0,T.jsxs)(`div`,{className:`arc-canvas`,"data-canvas":!0,"data-state":h?`ready`:`busy`,children:[f&&(0,T.jsxs)(`p`,{className:`arc-error`,children:[`Layout failed: `,f]}),d&&(0,T.jsx)(xne,{workspace:e,laidOut:d,selected:o.selected,open:o.open,fitKey:`${o.view}|${u}`,lensed:y,picks:o.picks,ring:o.lens!==null&&`team`in o.lens,onSelect:te,onPick:ne,onToggle:ie,onOpenView:oe,onSettled:m}),ge!==void 0&&(0,T.jsx)(oC,{workspace:e,id:ge,timeline:r,comparison:n,onLens:w,onConnect:C,onFocus:se,onOpenView:oe,onOpenAdr:re,onTime:e=>oS({...o,...e}),onDeployed:(e,t)=>oS({...tS(e,null,null,o),picks:t}),onClose:()=>te(null)}),o.adr!==null&&(0,T.jsx)(hi,{workspace:e,id:o.adr,beside:ge!==void 0,onClose:()=>re(null),onOpenAdr:re,onFocus:se,onOpenView:e=>oS(tS(e,null,o.lens,o))})]})]})]})]}):(0,T.jsx)(LC,{title:`No View ${o.view}`,children:(0,T.jsx)(`a`,{href:$x({...Zx,at:o.at,vs:o.vs}),children:`Open the C2 Landscape`})})}function oce(e,t,n){let r=[...t.open];for(let i of[...e.ancestors(n),n]){let a=DC(e.bundle,t.view,{expand:r,lens:`none`})?.nodes??[];if(a.some(e=>e.id===n))return r;i!==n&&!r.includes(i)&&a.some(e=>e.id===i)&&r.push(i)}}function LC({title:e,children:t}){return(0,T.jsxs)(`div`,{className:`arc-message`,children:[(0,T.jsx)(`h1`,{children:e}),t&&(0,T.jsx)(`p`,{children:t})]})}var sce=250;function cce(e){let[t,n]=(0,v.useState)(e),[r,i]=(0,v.useState)(e);return e!==r&&(i(e),(e===void 0||r!==void 0)&&n(e)),(0,v.useEffect)(()=>{if(e===void 0||t===e)return;let r=window.setTimeout(()=>n(e),sce);return()=>window.clearTimeout(r)},[e,t]),t===e?e:void 0}var lce=class extends v.Component{state={};static getDerivedStateFromError(e){return{error:e}}render(){let{error:e}=this.state;return e?(0,T.jsxs)(`div`,{className:`arc-message`,role:`alert`,children:[(0,T.jsx)(`h1`,{children:`Something went wrong`}),(0,T.jsx)(`pre`,{className:`arc-crash`,children:`${e.stack??e.message}\n\n${navigator.userAgent}`})]}):this.props.children}};(0,y.createRoot)(document.getElementById(`root`)).render((0,T.jsx)(v.StrictMode,{children:(0,T.jsx)(lce,{children:(0,T.jsx)(rce,{})})}));export{tg as a,Je as c,one as i,ane as n,rne as o,ng as r,tne as s,TC as t};
138
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function Lae(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;Lae(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var Cy=new Set([`type`,`properties`,`required`,`additionalProperties`]),Rae=[`oneOf`,`anyOf`];function zae(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function wy(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!Cy.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??zae(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}Tg(n,r,e.length===1?e[0]:wy(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=zae(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function Bae(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of Cy)if(t in e)return;let n=t.filter(e=>Rae.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=wy(t);else{let e=n[0],i=Rae.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>wy([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,_y(e,r))}function Ty(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):_y(i,s),_y(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())Lae(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])Bae(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}_y(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,Tg(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:Oy(t,`input`,e.processors),output:Oy(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function Ey(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return Ey(r.element,n);if(r.type===`set`)return Ey(r.valueType,n);if(r.type===`lazy`)return Ey(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return Ey(r.innerType,n);if(r.type===`intersection`)return Ey(r.left,n)||Ey(r.right,n);if(r.type===`record`||r.type===`map`)return Ey(r.keyType,n)||Ey(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:Ey(r.in,n)||Ey(r.out,n);if(r.type===`object`){for(let e in r.shape)if(Ey(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(Ey(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(Ey(e,n))return!0;return!!(r.rest&&Ey(r.rest,n))}return!1}var Dy=(e,t={})=>n=>{let r=vy({...n,processors:t});return by(e,r),Sy(r,e),Ty(r,e)},Oy=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=vy({...i??{},target:a,io:t,processors:n});return by(e,o),Sy(o,e),Ty(o,e)},ky=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Ay=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},jy=(e,t)=>{ky(e,`minimum`,t),Ay(e,`maximum`,t)},My=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},Ny=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},Py=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},Fy=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},Iy=(e,t)=>ky(e,`minimum`,t.minimum),Ly=(e,t)=>Ay(e,`maximum`,t.maximum),Ry=e=>(t,n)=>{Fy(t,n.format);let[r,i]=e[n.format];ky(t,`minimum`,r),Ay(t,`maximum`,i)},Vae={greater_than:(e,t)=>ky(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>Ay(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>My(e,t.value),number_format:Ry(Vg),bigint_format:Ry(Hg),min_length:Iy,max_length:Ly,length_equals:(e,t)=>jy(e,t.length),min_size:Iy,max_size:Ly,size_equals:(e,t)=>jy(e,t.size),string_format:(e,t)=>{Fy(e,t.format),t.pattern&&Ny(e,t.pattern),(t.format===`base64`||t.format===`base64url`)&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>Py(e,t.mime)};function zy(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)Vae[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&ky(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&ky(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&Ay(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&Ay(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&My(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&Py(t,i.mime);for(let e of i.patterns??[])Ny(t,e);return t}var Hae={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},Uae=new Map([[Nie,M_],[Fie,Lre]]),Wae=e=>Uae.get(e)??e,Gae=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=zy(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=Hae[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(Wae);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},Kae=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:u}=zy(e);i.type=u?`integer`:`number`;let d=typeof l==`number`&&l>=(a??-1/0),f=typeof c==`number`&&c<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;if(d?p?(i.minimum=l,i.exclusiveMinimum=!0):i.exclusiveMinimum=l:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c:typeof o==`number`&&(i.maximum=o),s){let n=new Set;for(let a of s)Number.isFinite(a)&&a!==0?n.add(Math.abs(a)):yy(e,t,i,r,`A multipleOf divisor of ${a} cannot be represented in JSON Schema`);let[a,...o]=n;a!==void 0&&(i.multipleOf=a),o.length&&(i.allOf=[...i.allOf??[],...o.map(e=>({multipleOf:e}))])}},qae=(e,t,n,r)=>{n.type=`boolean`},Jae=(e,t,n,r)=>{n.not={}},Yae=(e,t,n,r)=>{let i=e._zod.def,a=bg(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},Xae=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(yy(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(yy(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},Zae=(e,t,n,r)=>{yy(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},Qae=(e,t,n,r)=>{yy(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},$ae=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=zy(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=by(a.element,t,{...r,path:[...r.path,`items`]})};function By(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?By(t.out):t.type===`catch`?By(t.innerType):e._zod.optin}var eoe=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&yy(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)Tg(i.properties,e,by(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?By(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=by(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Vy=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>by(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},toe=(e,t,n,r)=>{let i=e._zod.def,a=by(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=by(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)};function Hy(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let r=e.get(t)?.def;if(!r)return t;let i=Hy(e,r,n);return i===r?t:i}for(let r of[`anyOf`,`oneOf`]){let i=t[r];if(!Array.isArray(i))continue;let a=i.map(t=>Hy(e,t,n));a.some((e,t)=>e!==i[t])&&(t={...t,[r]:a})}let r=Array.isArray(t.type)?t.type:[t.type],i=!r.includes(`string`)&&r.some(e=>e===`number`||e===`integer`),a=t.enum??(t.const===void 0?void 0:[t.const]);if(!i&&!a?.some(e=>typeof e==`number`))return t;let{minimum:o,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:u,format:d,id:f,...p}=t;return p.enum?p.enum=p.enum.map(e=>typeof e==`number`?String(e):e):typeof p.const==`number`&&(p.const=String(p.const)),i&&(p.type=`string`,a||(p.pattern=(r.includes(`number`)?I_:Wre).source)),p}var Uy=new WeakMap;function Wy(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let n=new Map;for(let r of Uy.get(e)??[]){let i=e.seen.get(r),a=(i?.def??i?.schema)?.propertyNames;if(!a||a===!0||n.has(a))continue;let o=Hy(t,a,new Set);o!==a&&n.set(a,o)}if(n.size)for(let t of e.seen.values())for(let e of[t.schema,t.def]){let t=e&&n.get(e.propertyNames);t&&(e.propertyNames=t)}}var Gy=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=zy(o).patterns;if(a.mode===`loose`&&s&&s.size>0){let e=by(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)Tg(i.patternProperties,Wae(t).source,e)}else{if(t.target===`draft-07`||t.target===`draft-2020-12`){i.propertyNames=by(a.keyType,t,{...r,path:[...r.path,`propertyNames`]});let n=Uy.get(t);n||(n=[],Uy.set(t,n),t.deferred.push(()=>Wy(t))),n.push(e)}i.additionalProperties=by(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]})}let c=o._zod.values,l=t.io===`input`&&By(a.valueType)!==void 0;if(c&&!a.partial&&!l){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e.map(String))}},Ky=(e,t,n,r)=>{let i=e._zod.def,a=by(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},noe=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},qy=Symbol();function Jy(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(yy(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),qy):JSON.parse(o)}var roe=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=Jy(i.defaultValue,e,t,n,r);o!==qy&&(n.default=o)},ioe=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=Jy(i.defaultValue,e,t,n,r);o!==qy&&(n._prefault=o)},aoe=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{yy(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},Yy=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;by(o,t,r);let s=t.seen.get(e);s.ref=o},Xy=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Zy=(e,t,n,r)=>{let i=e._zod.def;by(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Qy=new WeakSet([Object.prototype,Error.prototype]);function $y(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var eb=f_(`ZodError`,(e,t)=>{ure.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);Qy.has(n)||(Qy.add(n),$y(n,`format`,e=>t=>pre(e,t)),$y(n,`flatten`,e=>t=>fre(e,t)),$y(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,Sg,2)}),$y(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,Sg,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},void 0,{Parent:Error}),ooe=b_(eb),soe=mre(eb),coe=x_(eb),loe=S_(eb),uoe=E_(eb),doe=D_(eb),foe=vre(eb),poe=yre(eb),moe=bre(eb),tb=xre(eb),nb=Sre(eb),rb=Cre(eb);function hoe(){h_.localeError||g_(rae())}function ib(){h_.memoizer||g_({memoizer:eae()})}var ab=f_(`ZodType`,(e,t)=>(hoe(),W_.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(jg(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Lg(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(qoe(e,t))},superRefine(e,t){return this.check(Joe(e,t))},overwrite(e){return this.check(my(e))},optional(){return Vb(this)},exactOptional(){return zoe(this)},nullable(){return Wb(this)},nullish(){return Vb(Wb(this))},nonoptional(e){return Hoe(this,e)},array(){return Eb(this)},or(e){return jb([this,e])},and(e){return Ioe(this,e)},transform(e){return Goe(this,zb(e))},default(e){return Gb(this,e)},prefault(e){return Kb(this,e)},catch(e){return Uoe(this,e)},pipe(e){return Goe(this,e)},readonly(){return Xb(this)},describe(e){let t=this.clone();return Uv.add(t,{description:e}),t},meta(...e){if(e.length===0)return Uv.get(this);let t=this.clone();return Uv.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return ere(this,`~standard`,{...K_(this),jsonSchema:{input:Oy(this,`input`),output:Oy(this,`output`)}})},set"~standard"(e){r_(this,`~standard`,e)},parse:function e(t,n){return ooe(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await soe(this,t,n,{callee:e})},safeParse(e,t){return coe(this,e,t)},async safeParseAsync(e,t){return loe(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){r_(this,`spa`,e)},validate(e,t){return w_(this,e,t)},validateAsync(e,t){return _re(this,e,t)},encode:function e(t,n){return uoe(this,t,n,{callee:e})},decode:function e(t,n){return doe(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await foe(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await poe(this,t,n,{callee:e})},safeEncode(e,t){return moe(this,e,t)},safeDecode(e,t){return tb(this,e,t)},async safeEncodeAsync(e,t){return nb(this,e,t)},async safeDecodeAsync(e,t){return rb(this,e,t)},toJSONSchema(e){return Dy(this,{})(e)},get description(){return Uv.get(this)?.description},get _def(){return this._zod.def}}),goe=f_(`_ZodString`,(e,t)=>{q_.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gae(e,t,n,r)},tre({format:e=>zy(e).format??null,minLength:e=>zy(e).minimum??null,maxLength:e=>zy(e).maximum??null},{regex(...e){return this.check(fy(...e))},includes(...e){return this.check(Oae(...e))},startsWith(...e){return this.check(py(...e))},endsWith(...e){return this.check(kae(...e))},min(...e){return this.check(uy(...e))},max(...e){return this.check(ly(...e))},length(...e){return this.check(dy(...e))},nonempty(...e){return this.check(uy(1,...e))},lowercase(e){return this.check(Eae(e))},uppercase(e){return this.check(Dae(e))},trim(){return this.check(jae())},normalize(...e){return this.check(Aae(...e))},toLowerCase(){return this.check(Mae())},toUpperCase(){return this.check(Nae())},slugify(){return this.check(hy())}})),ob=f_(`ZodString`,(e,t)=>{q_.init(e,t),goe.init(e,t)},{email(e){return this.check(cae(boe,e))},url(e){return this.check(pae(fb,e))},jwt(e){return this.check(Qv(Ooe,e))},emoji(e){return this.check(mae(xoe,e))},guid(e){return this.check(lae(ub,e))},uuid(e){return this.check(uae(db,e))},uuidv4(e){return this.check(dae(db,e))},uuidv6(e){return this.check(Gv(db,e))},uuidv7(e){return this.check(fae(db,e))},nanoid(e){return this.check(hae(Soe,e))},cuid(e){return this.check(gae(Coe,e))},cuid2(e){return this.check(_ae(woe,e))},ulid(e){return this.check(vae(Toe,e))},base64(e){return this.check(Xv(Doe,e))},base64url(e){return this.check(xae(yb,e))},xid(e){return this.check(yae(mb,e))},ksuid(e){return this.check(bae(hb,e))},ipv4(e){return this.check(Kv(gb,e))},ipv6(e){return this.check(qv(_b,e))},cidrv4(e){return this.check(Jv(Eoe,e))},cidrv6(e){return this.check(Yv(vb,e))},e164(e){return this.check(Zv(bb,e))},datetime(e){return this.check($v(_oe,e))},date(e){return this.check(ey(lb,e))},time(e){return this.check(ty(voe,e))},duration(e){return this.check(ny(yoe,e))}});function sb(e){return sae(ob,e)}var cb=f_(`ZodStringFormat`,(e,t)=>{J_.init(e,t),goe.init(e,t)}),_oe=f_(`ZodISODateTime`,(e,t)=>{wie.init(e,t),cb.init(e,t)}),lb=f_(`ZodISODate`,(e,t)=>{Z_.init(e,t),cb.init(e,t)}),voe=f_(`ZodISOTime`,(e,t)=>{Q_.init(e,t),cb.init(e,t)}),yoe=f_(`ZodISODuration`,(e,t)=>{Tie.init(e,t),cb.init(e,t)}),boe=f_(`ZodEmail`,(e,t)=>{uie.init(e,t),cb.init(e,t)}),ub=f_(`ZodGUID`,(e,t)=>{cie.init(e,t),cb.init(e,t)}),db=f_(`ZodUUID`,(e,t)=>{lie.init(e,t),cb.init(e,t)}),fb=f_(`ZodURL`,(e,t)=>{vie.init(e,t),cb.init(e,t)});function pb(e){return pae(fb,e)}var xoe=f_(`ZodEmoji`,(e,t)=>{yie.init(e,t),cb.init(e,t)}),Soe=f_(`ZodNanoID`,(e,t)=>{bie.init(e,t),cb.init(e,t)}),Coe=f_(`ZodCUID`,(e,t)=>{xie.init(e,t),cb.init(e,t)}),woe=f_(`ZodCUID2`,(e,t)=>{Y_.init(e,t),cb.init(e,t)}),Toe=f_(`ZodULID`,(e,t)=>{Sie.init(e,t),cb.init(e,t)}),mb=f_(`ZodXID`,(e,t)=>{Cie.init(e,t),cb.init(e,t)}),hb=f_(`ZodKSUID`,(e,t)=>{X_.init(e,t),cb.init(e,t)}),gb=f_(`ZodIPv4`,(e,t)=>{Eie.init(e,t),cb.init(e,t)}),_b=f_(`ZodIPv6`,(e,t)=>{Oie.init(e,t),cb.init(e,t)}),Eoe=f_(`ZodCIDRv4`,(e,t)=>{kie.init(e,t),cb.init(e,t)}),vb=f_(`ZodCIDRv6`,(e,t)=>{jie.init(e,t),cb.init(e,t)}),Doe=f_(`ZodBase64`,(e,t)=>{Pie.init(e,t),cb.init(e,t)}),yb=f_(`ZodBase64URL`,(e,t)=>{Iie.init(e,t),cb.init(e,t)}),bb=f_(`ZodE164`,(e,t)=>{Lie.init(e,t),cb.init(e,t)}),Ooe=f_(`ZodJWT`,(e,t)=>{Rie.init(e,t),cb.init(e,t)}),xb=f_(`ZodNumber`,(e,t)=>{nv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Kae(e,t,n,r),e.isFinite=!0},tre({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=zy(e);return Math.max(t??-1/0,n??-1/0)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=zy(e);return Math.min(t??1/0,n??1/0)},isInt:e=>{let{isInt:t,multipleOf:n}=zy(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>zy(e).format??null},{gt(e,t){return this.check(wae(e,t))},gte(e,t){return this.check(Tae(e,t))},min(e,t){return this.check(Tae(e,t))},lt(e,t){return this.check(sy(e,t))},lte(e,t){return this.check(Cae(e,t))},max(e,t){return this.check(Cae(e,t))},int(e){return this.check(Aoe(e))},safe(e){return this.check(Aoe(e))},positive(e){return this.check(wae(0,e))},nonnegative(e){return this.check(Tae(0,e))},negative(e){return this.check(sy(0,e))},nonpositive(e){return this.check(Cae(0,e))},multipleOf(e,t){return this.check(cy(e,t))},step(e,t){return this.check(cy(e,t))},finite(){return this}}));function Sb(e){return Sae(xb,e)}var koe=f_(`ZodNumberFormat`,(e,t)=>{zie.init(e,t),xb.init(e,t)});function Aoe(e){return ry(koe,e)}var Cb=f_(`ZodBoolean`,(e,t)=>{rv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>qae(e,t,n,r)});function wb(e){return iy(Cb,e)}var joe=f_(`ZodUnknown`,(e,t)=>{iv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Tb(){return ay(joe)}var Moe=f_(`ZodNever`,(e,t)=>{av.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Jae(e,t,n,r)});function Noe(e){return oy(Moe,e)}var Poe=f_(`ZodArray`,(e,t)=>{ib(),cv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$ae(e,t,n,r),e.element=t.element},{min(e,t){return this.check(uy(e,t))},nonempty(e){return this.check(uy(1,e))},max(e,t){return this.check(ly(e,t))},length(e,t){return this.check(dy(e,t))},unwrap(){return this.element}});function Eb(e,t){return gy(Poe,e,t)}var Db=f_(`ZodObject`,(e,t)=>{ib(),pv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>eoe(e,t,n,r),ire(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return Lb(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(jg(this._zod.def,{catchall:e}))},passthrough(){return this.clone(jg(this._zod.def,{catchall:Tb()}))},loose(){return this.clone(jg(this._zod.def,{catchall:Tb()}))},strict(){return this.clone(jg(this._zod.def,{catchall:Noe()}))},strip(){return this.clone(jg(this._zod.def,{catchall:void 0}))},extend(e){return Gg(this,e)},safeExtend(e){return qg(this,e)},merge(e){return D(this,e)},pick(e){return Ug(this,e)},omit(e){return Jne(this,e)},partial(...e){return Jg(Bb,this,e[0])},exactPartial(...e){return Jg(Hb,this,e[0],`exactPartial`)},required(...e){return Yg(qb,this,e[0])}});function Ob(e,t){return new Db({type:`object`,shape:e??{},...Rg(t)})}function kb(e,t){return new Db({type:`object`,shape:e,catchall:Noe(),...Rg(t)})}var Ab=f_(`ZodUnion`,(e,t)=>{hv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Vy(e,t,n,r),e.options=t.options});function jb(e,t){return new Ab({type:`union`,options:e,...Rg(t)})}var Foe=f_(`ZodDiscriminatedUnion`,(e,t)=>{Ab.init(e,t),k.init(e,t)});function Mb(e,t,n){return new Foe({type:`union`,options:t,discriminator:e,...Rg(n)})}var Nb=f_(`ZodIntersection`,(e,t)=>{_v.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>toe(e,t,n,r)});function Ioe(e,t){return new Nb({type:`intersection`,left:e,right:t})}var Pb=f_(`ZodRecord`,(e,t)=>{ib(),yv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gy(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function Fb(e,t,n){return!t||!t._zod?new Pb({type:`record`,keyType:sb(),valueType:e,...Rg(t)}):new Pb({type:`record`,keyType:e,valueType:t,...Rg(n)})}var Ib=f_(`ZodEnum`,(e,t)=>{bv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Yae(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Ib({...t,checks:[],...Rg(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Ib({...t,checks:[],...Rg(r),entries:i})}});function Lb(e,t){return new Ib({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...Rg(t)})}var Loe=f_(`ZodLiteral`,(e,t)=>{Uie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xae(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Rb(e,t){return new Loe({type:`literal`,values:Array.isArray(e)?e:[e],...Rg(t)})}var Roe=f_(`ZodTransform`,(e,t)=>{ib(),Wie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qae(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new m_(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(n_(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(n_(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function zb(e){return new Roe({type:`transform`,transform:e})}var Bb=f_(`ZodOptional`,(e,t)=>{Sv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zy(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Vb(e){return new Bb({type:`optional`,innerType:e})}var Hb=f_(`ZodExactOptional`,(e,t)=>{Cv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zy(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function zoe(e){return new Hb({type:`optional`,innerType:e})}var Ub=f_(`ZodNullable`,(e,t)=>{wv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ky(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Wb(e){return new Ub({type:`nullable`,innerType:e})}var Boe=f_(`ZodDefault`,(e,t)=>{Tv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>roe(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Gb(e,t){return new Boe({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Fg(t)}})}var Voe=f_(`ZodPrefault`,(e,t)=>{Dv.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>ioe(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Kb(e,t){return new Voe({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Fg(t)}})}var qb=f_(`ZodNonOptional`,(e,t)=>{Ov.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>noe(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Hoe(e,t){return new qb({type:`nonoptional`,innerType:e,...Rg(t)})}var Jb=f_(`ZodCatch`,(e,t)=>{Kie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>aoe(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Uoe(e,t){return new Jb({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:c_(t)})}var Woe=f_(`ZodPipe`,(e,t)=>{qie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Yy(e,t,n,r),e.in=t.in,e.out=t.out});function Goe(e,t){return new Woe({type:`pipe`,in:e,out:t})}var Yb=f_(`ZodReadonly`,(e,t)=>{Jie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xy(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Xb(e){return new Yb({type:`readonly`,innerType:e})}var Koe=f_(`ZodCustom`,(e,t)=>{Yie.init(e,t),ab.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zae(e,t,n,r)});function qoe(e,t={}){return Pae(Koe,e,t)}function Joe(e,t){return Fae(e,t)}function Yoe(e){return ey(lb,e)}var Zb=sb().regex(/^[a-z0-9][a-z0-9-]*$/,`must be a lowercase slug (a-z, 0-9 and -)`),Qb=kb({label:sb().describe("The text of the link, such as `Runbook`."),url:pb().describe("The page the link opens. A full URL, such as `https://wiki.example.com/runbooks/web`.")}).meta({id:`Link`,title:`Link`,description:`A link to a page about the thing it is declared on, such as a runbook or a dashboard.`}),Xoe=kb({name:sb().describe(`The Team's display name.`),description:sb().optional().describe(`A short description of the Team.`),links:Eb(Qb).optional().describe(`Links to pages about the Team.`)}).describe(`A Team: a group that can own Elements and Deployment Targets. Its key is the Team's id.`),$b=kb({name:sb().describe("The Environment's display name, such as `Production`."),description:sb().optional().describe(`A short description of the Environment.`)}).describe(`An Environment: a named stage that Services run in, such as prod or staging. Its key is the Environment's id.`);kb({teams:Fb(Zb,Xoe).optional().describe("The Teams of the Workspace, keyed by id. Every `owner` in every Project names one of these ids."),environments:Fb(Zb,$b).optional().describe(`The Environments of the Workspace, keyed by id. Every Deployment in every Project names one of these ids.`)}).describe("`workspace.yaml`: the Teams and Environments that every Project in the Workspace shares."),kb({id:Zb.describe("The Project's id, unique in the Workspace. Other Projects write it as the prefix of a Qualified id, such as `payments:ledger`."),name:sb().describe(`The Project's display name.`),owner:Zb.describe("The Team that owns the Project: the id of a Team in `workspace.yaml`. It is the Owner of every Element and Deployment Target in the Project that sets no `owner` of its own.")}).describe("`project.yaml`: marks its folder as a Project.");var ex=sb().regex(/^([a-z0-9][a-z0-9-]*:)?[a-z0-9][a-z0-9-]*$/,"must be an id, or `project:id` for one in another Project").describe("An id in this Project, or `project:id` for one in another Project."),Zoe=kb({to:ex.describe("The provider: the Element this one depends on. An id in this Project, or `project:id` for an Element in another Project. It can't be a Person, this Element itself, or an ancestor or descendant of this Element."),id:Zb.optional().describe(`An id for the Relationship, unique among the Project's Relationships. Needed only when several Relationships connect the same two Elements, so that a Dynamic View Step can name one.`),description:sb().optional().describe("What the consumer uses the provider for, as a verb phrase that reads from consumer to provider, such as `Reads prices from`."),technology:sb().optional().describe("How the consumer reaches the provider: a protocol, a driver or a format, such as `JSON/HTTPS`, `gRPC` or `SQL`."),interaction:Lb([`sync`,`async`]).optional().describe("`sync`: a call that waits for an answer. `async`: an event or message that gets no reply, such as an event through a broker or a webhook. Default: `sync`."),via:ex.optional().describe("For an `async` Relationship only: the broker the events travel through. A Service with `type: broker`, as an id in this Project or `project:id`. Leave it out when there is no broker, as with a webhook."),channel:sb().optional().describe("For an `async` Relationship only: the topic or queue the events travel on, such as `orders.placed`."),tags:Eb(sb()).optional().describe(`Free-form labels for the Relationship.`)}).meta({id:`Relationship`,title:`Relationship`,description:"A Relationship: a dependency of the Element it is declared under (the consumer) on the Element `to` names (the provider). Declare it once, under the consumer."}),tx={name:sb().describe(`The Element's display name.`),description:sb().optional().describe(`What the Element is or does, in a sentence or two.`),owner:Zb.optional().describe("The Team that owns the Element: the id of a Team in `workspace.yaml`. Set it only when it differs from the Project's; nothing is inherited from the parent Element. Default: the Project's `owner`."),tags:Eb(sb()).optional().describe("Free-form labels. A Saved View's `{tag}` selector picks Elements by them."),links:Eb(Qb).optional().describe(`Links to pages about the Element, such as a runbook or a dashboard.`),relationships:Eb(Zoe).optional().describe(`The Relationships this Element is the consumer of: what it depends on. A Relationship is never declared under its provider.`)},Qoe=kb({...tx}).meta({id:`Person`,title:`Person`,description:`A Person: a human or role that uses a System, such as a shopper or a support agent. A Person is only ever the consumer in a Relationship.`}),nx=kb({...tx,technology:sb().optional().describe("What the Component is built with, such as `TypeScript module`. Shown under its name."),in:Zb.optional().describe("The Service this Component belongs to, as an id in this Project. Required for a Component under the top-level `components` key, and not allowed for one nested under a Service's `components`.")}).meta({id:`Component`,title:`Component`,description:`A Component: a part inside a Service that is not deployed on its own.`}),rx=kb({...tx,type:Lb([`app`,`datastore`,`broker`]).optional().describe("What the Service is; each type is drawn differently. `app`: an application, the usual case. `datastore`: a database or other store. `broker`: a message broker that async Relationships run through, named by their `via`. Default: `app`."),technology:sb().optional().describe("What the Service is built with, such as `Go` or `PostgreSQL`. Shown under its name."),external:wb().optional().describe("`true` for a Service run outside the organization, such as a payment provider's API. An External Service can't declare Components. Default: `false`."),in:Zb.optional().describe("The System this Service belongs to, as an id in this Project. Only for a Service under the top-level `services` key, and not allowed for one nested under a System's `services`. Without it, a top-level Service stands outside any System."),components:Fb(Zb,nx).optional().describe(`The Components inside the Service, keyed by id.`)}).meta({id:`Service`,title:`Service`,description:`A Service: a deployable, addressable unit of software; the thing that has a URL and a Deployment.`}),ix=kb({...tx,external:wb().optional().describe("`true` for a System run outside the organization, such as a payment provider. Nothing inside an External System can declare Components. Default: `false`."),services:Fb(Zb,rx).optional().describe(`The Services in the System, keyed by id.`)}).meta({id:`System`,title:`System`,description:`A System: a named grouping of Services that together deliver a business capability. Systems do not nest.`}),ax={name:sb().describe(`The Deployment Target's display name.`),kind:sb().describe("What the Deployment Target is, in a word you choose, such as `region`, `cluster`, `namespace` or `platform`."),description:sb().optional().describe(`What the Deployment Target is, in a sentence or two.`),owner:Zb.optional().describe("The Team that owns the Deployment Target: the id of a Team in `workspace.yaml`. Default: the Project's `owner`."),tags:Eb(sb()).optional().describe(`Free-form labels for the Deployment Target.`),links:Eb(Qb).optional().describe(`Links to pages about the Deployment Target, such as a dashboard.`)},ox=kb({...ax,get targets(){return Fb(Zb,ox).optional().describe(`The Deployment Targets inside this one, keyed by id, such as the clusters in a region.`)}}).meta({id:`Target`,title:`Deployment Target`,description:`A Deployment Target: a place Services run, such as a region, a cluster in it or a platform. Deployment Targets nest to any depth and are not Elements.`}),sx=kb({name:sb().describe("What the endpoint is, such as `health` or `admin`."),url:pb().describe(`The endpoint's address. A full URL.`)}).describe(`A further named URL of the Service in this Environment.`),$oe=kb({service:ex.describe("The Service that runs: an id in this Project, or `project:id`. It must name a Service, not a System or a Component."),environment:Zb.describe("The Environment it runs in: the id of an Environment in `workspace.yaml`."),target:ex.describe("The Deployment Target it runs on: an id in this Project, or `project:id` for one another Project declares."),url:pb().optional().describe("The Service's main URL in this Environment. A full URL, such as `https://cart.example.com`."),endpoints:Eb(sx).optional().describe(`Further named URLs of the Service in this Environment, such as a health check or an admin console.`)}).describe(`A Deployment: one Service running in one Environment on one Deployment Target. The three together name it, so the same three can appear only once.`),cx=jb([Sb().int().min(0),Rb(`all`)],{error:"must be a number of hops, or `all`"}).describe("A number of hops, or `all`."),lx=jb([Rb(`shortest`),Sb().int().min(1)],{error:"must be `shortest`, or a number of hops"}).describe("`shortest`, or n for every path of at most n hops. Default: `shortest`."),ese=kb({element:ex.describe("The Element to start from: an id in this Project, or `project:id`."),with:Lb([`children`,`descendants`]).optional().describe("Also selects what is inside the Element. `children`: the Elements directly inside it. `descendants`: everything inside it, at any depth."),upstream:cx.optional().describe("Also selects the Elements upstream of it, those that depend on it: a number of hops, or `all` for every one of them."),downstream:cx.optional().describe("Also selects the Elements downstream of it, those it depends on: a number of hops, or `all` for every one of them.")}).describe(`One Element, and optionally what is inside it and what is upstream or downstream of it.`),ux=kb({team:Zb.describe("The Team: the id of a Team in `workspace.yaml`.")}).describe(`Every Element a Team owns.`),tse=kb({tag:sb().describe("The tag, as written in the Elements' `tags`.")}).describe(`Every Element that carries a tag.`),dx=kb({from:ex.describe("One end of the paths: an id in this Project, or `project:id`."),to:ex.describe("The other end of the paths: an id in this Project, or `project:id`."),paths:lx.optional().describe("Which paths to take. `shortest`: the shortest paths, however long. A number n: every path of at most n hops. Default: `shortest`.")}).meta({id:`PathSelector`,title:`Path selector`,description:`The paths between two Elements, followed in both directions. As a selector it picks every Element on them; as a Lens it highlights them.`}),nse=jb([ex.describe("One Element, by its id: an id in this Project, or `project:id`."),ese,ux,tse,dx]).meta({id:`Selector`,title:`Selector`,description:"One entry of a Saved View's `include` or `exclude`: an id, or a map that picks several Elements at once."}),fx=jb([kb({impact:ex.describe("The Element whose impact is highlighted: an id in this Project, or `project:id`."),direction:Lb([`upstream`,`downstream`,`both`]).optional().describe("Which side to highlight. `upstream`: what depends on the Element. `downstream`: what it depends on. `both`: both sides. Default: `both`.")}).describe(`The Impact Lens: what is upstream or downstream of one Element, each node marked with how many hops away it is.`),kb({team:Zb.describe("The Team: the id of a Team in `workspace.yaml`.")}).describe(`The Team Lens: what one Team owns.`),kb({path:dx}).describe(`The Path Lens: the paths between two Elements.`)]).meta({id:`Lens`,title:`Lens`,description:`The Lens the View opens with. A Lens highlights nodes and never changes which nodes the View shows.`}),px={title:sb().describe(`The View's display title.`),description:sb().optional().describe(`What the View shows, or the question it answers.`),tags:Eb(sb()).optional().describe(`Free-form labels for the View.`),level:Lb([`c1`,`c2`,`c3`,`deployment`]).describe("The level every selected Element is collapsed to. `c1`: Persons and Systems. `c2`: Services, grouped in their Systems. `c3`: Components, inside their Services. `deployment`: a Deployment View, which places Deployments on their Deployment Targets in one Environment and needs `environment`."),expand:Eb(ex).optional().describe("Elements to open one level deeper than `level`, showing their children. Each is an id in this Project, or `project:id`, and must be a node of the View that has children. A Deployment View ignores it."),collapse:Eb(ex).optional().describe("Elements to close, hiding everything inside them. Each is an id in this Project, or `project:id`, and must be a node of the View that has children. A Deployment View ignores it."),direction:Lb([`TB`,`BT`,`LR`,`RL`]).optional().describe("The way the diagram runs. `TB`: top to bottom. `BT`: bottom to top. `LR`: left to right. `RL`: right to left. Default: `LR`, or `TB` for a Deployment View."),environment:Zb.optional().describe("For a Deployment View (`level: deployment`), which must have it, and for no other View: the Environment shown, as the id of an Environment in `workspace.yaml`."),targets:Eb(ex).optional().describe("For a Deployment View (`level: deployment`) only: shows only the Deployments on these Deployment Targets and on the Targets inside them. Each is an id in this Project, or `project:id`. Default: every Deployment Target.")},rse=kb({...px,include:Eb(nse).optional().describe(`Selectors for the Elements to show. Default: every Element in the Workspace.`),exclude:Eb(nse).optional().describe("Selectors for the Elements to leave out of what `include` picked. An excluded Element takes everything inside it with it."),lens:fx.optional()}).describe("A structural Saved View: the Elements its selectors pick, drawn at one `level`. With `level: deployment` it is a Deployment View. Its key is the View's id, unique among the Project's Saved Views.");kb({...px,include:Eb(Tb()).optional(),exclude:Eb(Tb()).optional(),lens:Tb().optional()});var ise=kb({from:ex.describe("The Element the Step starts at: the consumer of a call, the Publisher of an event, or the sender of a reply. An id in this Project, or `project:id`."),to:ex.describe("The Element the Step reaches: the provider of a call, the Subscriber of an event, or the receiver of a reply. An id in this Project, or `project:id`."),relationship:ex.optional().describe("The `id` of the Relationship the Step takes, as an id in this Project or `project:id`. Needed only when several Relationships match the two Elements."),description:sb().optional().describe("The text on the Step's arrow. Default: the Relationship's `description`, or its `channel` for an event."),note:sb().optional().describe(`A note shown under the Step.`),return:wb().optional().describe("`true` makes the Step the reply to a sync Relationship declared from `to` to `from`. An async Relationship has no reply. Default: `false`.")}).describe("A Step: one interaction of the scenario, which must follow a Relationship in the Model. It is a call from a consumer to its provider, an event from a Publisher to a Subscriber, or with `return: true` a reply."),ase=kb({title:sb().describe(`The View's display title.`),description:sb().optional().describe(`What the scenario is.`),tags:Eb(sb()).optional().describe(`Free-form labels for the View.`),participants:Eb(ex).optional().describe("Elements that take part, in the order to draw them, each as an id in this Project or `project:id`. Participants not listed follow, in the order the Steps first use them. An Element and its own ancestor can't both take part. Default: the order the Steps first use them."),steps:Eb(ise).describe(`The Steps of the scenario, in order.`)}).describe(`A Dynamic View: one scenario as an ordered list of Steps, shown as a sequence chart. Its key is the View's id, unique among the Project's Saved Views.`),ose=kb({structural:Fb(Zb,rse).optional().describe("Structural Views and Deployment Views, keyed by id. Other Projects name a View as `project:id`."),dynamic:Fb(Zb,ase).optional().describe("Dynamic Views, keyed by id. Other Projects name a View as `project:id`.")}).describe("The Project's Saved Views: `structural` ones, which include Deployment Views, and `dynamic` ones.");kb({people:Fb(Zb,Qoe).optional().describe(`Persons, keyed by id. An id is unique in the Project across all its Elements and Deployment Targets.`),systems:Fb(Zb,ix).optional().describe("Systems, keyed by id, each with its Services nested under `services`."),services:Fb(Zb,rx).optional().describe("Services declared at the top level, keyed by id: those outside any System, and those that join a System with `in`."),components:Fb(Zb,nx).optional().describe("Components declared at the top level, keyed by id. Each names its Service with `in`."),targets:Fb(Zb,ox).optional().describe(`Deployment Targets, keyed by id and nested as they nest. Their ids share the Project's ids with its Elements.`),deployments:Eb($oe).optional().describe(`Deployments: which Service runs in which Environment on which Deployment Target, with its URLs.`),views:ose.optional()}).describe("A Project file: any `.yaml` file in a Project folder other than `project.yaml`."),Object.fromEntries(Object.entries({person:`people`,system:`systems`,service:`services`,component:`components`}).map(([e,t])=>[t,e]));var mx=Fb(Zb,Tb()).optional();kb({people:mx,systems:mx,services:mx,components:mx,targets:mx,deployments:Eb(Tb()).optional(),views:kb({structural:mx,dynamic:mx}).optional()}),kb({...ax,targets:mx}),ix.extend({services:mx}),rx.extend({components:mx});var hx=Lb([`proposed`,`accepted`,`rejected`,`deprecated`,`superseded`]),sse=sb().regex(/^([a-z0-9][a-z0-9-]*:)?\d{4}$/,"must be an ADR number (NNNN), or `project:NNNN` for one in another Project").describe("An ADR number in this Project, or `project:NNNN` for one in another Project."),gx=Eb(sb());kb({status:hx.describe("Where the decision stands. `proposed`: awaiting acceptance in a pull request. `accepted`: in force. `rejected`: turned down, and kept for its reasoning. `deprecated`: no longer in force, with no ADR replacing it. `superseded`: never written by hand; it is derived once an accepted ADR lists this one in `supersedes`."),date:Yoe(`must be an ISO date (YYYY-MM-DD)`).describe("The date of the last status change, as `YYYY-MM-DD`."),"decision-makers":gx.optional().describe(`Who made the decision: people's names or Team ids. Not checked.`),consulted:gx.optional().describe(`Who was asked for input: people's names or Team ids. Not checked.`),informed:gx.optional().describe(`Who was told of the decision: people's names or Team ids. Not checked.`),tags:Eb(sb()).optional().describe(`Free-form labels for the ADR.`),elements:Eb(ex).optional().describe("The Elements and Deployment Targets the decision affects, each as an id in this Project or `project:id`."),views:Eb(ex).optional().describe("The Saved Views the decision affects, each as an id in this Project or `project:id`."),supersedes:Eb(sse).optional().describe("The ADRs this one replaces once it is accepted, each as a four-digit number in this Project or `project:NNNN`. Only an accepted or deprecated ADR can be superseded.")}).describe("An ADR's frontmatter. The ADR's title is the first `# ` heading of its body, not a field.");var _x=Ob({file:sb(),line:Sb().int()}),vx=Ob({label:sb(),url:sb()}),yx={id:sb(),parent:sb().nullable(),name:sb(),description:sb().nullable(),owner:sb(),tags:Eb(sb()),links:Eb(vx)},bx=(e,t)=>{let{id:n,...r}=yx;return Ob({id:n,kind:Rb(e),...r,...t,source:_x})},cse=Mb(`kind`,[bx(`person`,{}),bx(`system`,{external:wb()}),bx(`service`,{type:Lb([`app`,`datastore`,`broker`]),technology:sb().nullable(),external:wb()}),bx(`component`,{technology:sb().nullable()})]),lse=Ob({id:sb(),parent:sb().nullable(),name:sb(),kind:sb(),description:sb().nullable(),owner:sb(),tags:Eb(sb()),links:Eb(vx),source:_x}),use=Ob({service:sb(),environment:sb(),target:sb(),url:sb().nullable(),endpoints:Eb(Ob({name:sb(),url:sb()})),owner:sb(),source:_x}),xx=Ob({id:sb().nullable(),from:sb(),to:sb(),description:sb().nullable(),technology:sb().nullable(),interaction:Lb([`sync`,`async`]),via:sb().nullable(),channel:sb().nullable(),tags:Eb(sb()),source:_x}),Sx=sb(),Cx=jb([Sb(),Rb(`all`)]),dse=Ob({from:Sx,to:Sx,paths:jb([Rb(`shortest`),Sb()]).optional()}),wx=jb([Sx,Ob({element:Sx,with:Lb([`children`,`descendants`]).optional(),upstream:Cx.optional(),downstream:Cx.optional()}),Ob({team:sb()}),Ob({tag:sb()}),dse]),Tx=jb([Ob({impact:Sx,direction:Lb([`upstream`,`downstream`,`both`])}),Ob({team:sb()}),Ob({path:dse})]),fse=Ob({id:sb(),project:sb(),kind:Rb(`structural`),title:sb(),description:sb().nullable(),tags:Eb(sb()),level:Lb([`c1`,`c2`,`c3`,`deployment`]),include:Eb(wx).nullable(),exclude:Eb(wx),expand:Eb(sb()),collapse:Eb(sb()),direction:Lb([`TB`,`BT`,`LR`,`RL`]).nullable(),lens:Tx.nullable(),environment:sb().nullable(),targets:Eb(sb()),source:_x}),Ex=Ob({from:sb(),to:sb(),relationship:sb().nullable(),description:sb().nullable(),note:sb().nullable(),return:wb()}),pse=Mb(`kind`,[fse,Ob({id:sb(),project:sb(),kind:Rb(`dynamic`),title:sb(),description:sb().nullable(),tags:Eb(sb()),participants:Eb(sb()).nullable(),steps:Eb(Ex),source:_x})]),mse=Ob({id:sb(),project:sb(),title:sb(),status:hx,effectiveStatus:hx,date:sb(),elements:Eb(sb()),views:Eb(sb()),supersedes:Eb(sb()),supersededBy:Eb(sb()),decisionMakers:Eb(sb()),consulted:Eb(sb()),informed:Eb(sb()),tags:Eb(sb()),body:sb(),source:_x}),hse=Ob({schemaVersion:Rb(1),commit:sb().nullable(),builtAt:sb().nullable(),teams:Eb(Ob({id:sb(),name:sb(),description:sb().nullable(),links:Eb(vx),source:_x})),environments:Eb(Ob({id:sb(),name:sb(),description:sb().nullable(),source:_x})),projects:Eb(Ob({id:sb(),name:sb(),owner:sb(),folder:sb(),source:_x})),elements:Eb(cse),relationships:Eb(xx),targets:Eb(lse),deployments:Eb(use),views:Eb(pse),adrs:Eb(mse)}),Dx={};function Ox(e,t=Dx,n=1){if(typeof e!=`object`||!e||Array.isArray(e))return;let r=e,i=r.schemaVersion;if(typeof i!=`number`||!Number.isInteger(i)||i>n)return;for(;i<n;){let e=t[i];if(!e)return;r={...e(r),schemaVersion:i+1},i++}let a=hse.safeParse(r);return a.success?a.data:void 0}function kx(e,t=Dx){return Ox(e,t)}function Ax(e){if(typeof e!=`object`||!e)return;let{schemaVersion:t,revisions:n,preview:r}=e;if(t===1&&Array.isArray(n))return{schemaVersion:t,revisions:n,...typeof r?.baseSha==`string`?{preview:r}:{}}}function jx(e){let t=e.endsWith(`/`)?e:`${e}/`,n=e=>`${t}${e}`;return{location:n,async read(e,t){let r=n(e),i={accept:`application/json`};t?.etag&&(i[`if-none-match`]=t.etag),t?.lastModified&&(i[`if-modified-since`]=t.lastModified);let a=await fetch(r,{headers:i,cache:`no-store`});if(a.status===304)return{kind:`not_modified`};if(a.status===404)return{kind:`missing`};if(!a.ok)throw Error(`${r} answered ${a.status} ${a.statusText}`.trim());let o=a.headers.get(`etag`),s=a.headers.get(`last-modified`);return{kind:`text`,text:await a.text(),validators:{...o?{etag:o}:{},...s?{lastModified:s}:{}}}}}}var Mx=(e,t)=>({ok:!1,code:`history_unavailable`,reason:e,message:t}),Nx=e=>e instanceof Error?e.message:String(e);function Px(e,t,n,r,i=()=>!0){let a;return async()=>{let o=Date.now();if(a&&o-a.at<n)return a.value;let s=await e.read(t,a?.validators);if(s.kind===`not_modified`){if(!a)throw Error(`${e.location(t)} answered "not modified" to a request with no validators.`);return a={...a,at:o},a.value}let c=r(s.kind===`text`?s.text:void 0);return i(c)&&(a={value:c,at:o,validators:s.kind===`text`?s.validators:{}}),c}}var Fx=e=>{try{return{ok:!0,value:JSON.parse(e)}}catch{return{ok:!1}}};function Ix(e,{recheckMs:t,bundle:n=Lx,migrations:r=Dx}){let i=e.location(n),a=Px(e,n,t,e=>{if(e===void 0)throw Error(`${i} was not found.`);let t=Fx(e);if(!t.ok)throw Error(`${i} is not JSON.`);let n=kx(t.value,r);if(!n)throw Error(`${i} is not a Workspace Bundle this version can read.`);return n}),o=Px(e,Bx,t,t=>{if(t===void 0)return{ok:!0,index:void 0};let n=Fx(t);if(!n.ok)return Mx(`index`,`The site has no readable Revision index (${Bx}): ${e.location(Bx)} is not JSON.`);let r=Ax(n.value);return r?{ok:!0,index:r}:Mx(`index`,`The site's ${Bx} holds no Revisions.`)},e=>e.ok),s=new Map,c=async t=>{let n=t.slice(0,7),i;try{i=await e.read(Vx(t))}catch(e){return Mx(`unreadable`,`The Bundle at ${n} can't be read from the site: ${Nx(e)}`)}if(i.kind!==`text`)return Mx(`missing`,`The Bundle at ${n} can't be read from the site: ${e.location(Vx(t))} was not found.`);let a=Fx(i.text);if(!a.ok)return Mx(`unreadable`,`The Bundle at ${n} can't be read from the site: ${e.location(Vx(t))} is not JSON.`);let o=kx(a.value,r);return o?{ok:!0,bundle:o}:Mx(`unmigratable`,`The Bundle at ${n} has a schema this Archidocs can't read or migrate.`)};return{location:i,latest:a,async index(){try{return await o()}catch(e){return Mx(`index`,`The site has no readable Revision index (${Bx}): ${Nx(e)}`)}},bundle(e){if(e.bundle===!1)return Promise.resolve(Mx(`dropped`,`The Bundle at ${e.sha.slice(0,7)} (${e.date}) was not kept on this site.`));let t=s.get(e.sha);return t||(t=c(e.sha),s.set(e.sha,t),t.then(t=>!t.ok&&s.delete(e.sha))),t}}}var Lx=`workspace.bundle.json`,Rx=`site.json`,zx=`bundles`,Bx=`${zx}/index.json`,Vx=e=>`${zx}/${Hx(e)}`,Hx=e=>`${e}.json`,Ux=[`upstream`,`downstream`,`both`],Wx=[`TB`,`BT`,`LR`,`RL`],Gx=`shortest`,Kx=`graph`,qx=`1`,Jx=e=>{let t=e.map(e=>`\`${e}\``);return t.length<2?t.join(``):`${t.slice(0,-1).join(`, `)} or ${t.at(-1)}`},Yx=`#/view/`,Xx={prefix:Yx,syntax:`${Yx}<view-id>`,does:"Opens the View with this id: `c2`, a Generated View such as `c2/payments:payments` or `deployment/prod`, or a Saved View's qualified id. An empty route opens the Service Landscape, `c2`."};gg.charAt(0).toUpperCase()+gg.slice(1),Jx(Wx),Jx(Ux),`${Jx([Gx])}`,Jx([Kx]),Jx([qx]);var gse=e=>e.startsWith(Xx.prefix),Zx={view:`c2`,open:[],selected:null,direction:null,lens:null,picks:[],step:null,graph:!1,brokers:!1,at:null,vs:null,adr:null},_se=RegExp(`^${Yx}([^?]*)(?:\\?(.*))?$`);function vse(e){let t=_se.exec(e);if(!t)return Zx;let n=new URLSearchParams(t[2]??``),r=e=>n.get(e),i=e=>[...new Set((r(e)??``).split(`,`).filter(Boolean))],a=r(`dir`);return{view:decodeURIComponent(t[1])||Zx.view,open:i(`open`),selected:r(`sel`)||null,direction:a!==null&&Wx.includes(a)?a:null,lens:bse(r),picks:i(`picks`),step:yse(r(`step`)),graph:r(`mode`)===Kx,brokers:r(`brokers`)===qx,at:r(`at`)||null,vs:r(`vs`)||null,adr:r(`adr`)||null}}function yse(e){let t=Number(e);return e!==null&&Number.isInteger(t)&&t>0?t:null}function bse(e){let t=e(`impact`);if(t){let n=e(`way`);return{impact:t,direction:n!==null&&Ux.includes(n)?n:`both`}}let n=e(`team`);if(n)return{team:n};let[r,i]=[e(`from`),e(`to`)];if(r&&i){let t=Number(e(`paths`));return{path:{from:r,to:i,paths:Number.isInteger(t)&&t>0?t:Gx}}}return null}var Qx=(e,t)=>`${e}=${t}`;function xse(e){if(`impact`in e)return[Qx(`impact`,eS(e.impact)),Qx(`way`,e.direction)];if(`team`in e)return[Qx(`team`,eS(e.team))];let{from:t,to:n,paths:r}=e.path;return[Qx(`from`,eS(t)),Qx(`to`,eS(n)),...r!==void 0&&r!==Gx?[Qx(`paths`,r)]:[]]}function $x(e){let t=[];return e.open.length>0&&t.push(Qx(`open`,e.open.map(eS).join(`,`))),e.selected!==null&&t.push(Qx(`sel`,eS(e.selected))),e.direction!==null&&t.push(Qx(`dir`,e.direction)),e.lens!==null&&t.push(...xse(e.lens)),e.picks.length>0&&t.push(Qx(`picks`,e.picks.map(eS).join(`,`))),e.step!==null&&t.push(Qx(`step`,e.step)),e.graph&&t.push(Qx(`mode`,Kx)),e.brokers&&t.push(Qx(`brokers`,qx)),e.at!==null&&t.push(Qx(`at`,eS(e.at))),e.vs!==null&&t.push(Qx(`vs`,eS(e.vs))),e.adr!==null&&t.push(Qx(`adr`,eS(e.adr))),`${Xx.prefix}${eS(e.view)}${t.length>0?`?${t.join(`&`)}`:``}`}var eS=e=>encodeURIComponent(e).replace(/%3A/gi,`:`).replace(/%2F/gi,`/`).replace(/%40/gi,`@`),tS=(e,t=null,n=null,r)=>({view:e,open:[],selected:t,direction:null,lens:n,picks:[],step:null,graph:!1,brokers:!1,at:r?.at??null,vs:r?.vs??null,adr:null}),nS=`archidocs:place`;function rS(e){for(let t of[`hashchange`,`popstate`,nS])window.addEventListener(t,e);return()=>{for(let t of[`hashchange`,`popstate`,nS])window.removeEventListener(t,e)}}var iS=()=>(0,v.useSyncExternalStore)(rS,()=>window.location.hash);function aS(){let e=iS();return(0,v.useMemo)(()=>vse(e),[e])}function oS(e,{replace:t=!1}={}){let n=$x(e);n!==window.location.hash&&(t?window.history.replaceState(null,``,n):window.history.pushState(null,``,n),window.dispatchEvent(new Event(nS)))}var sS=10,cS=()=>`archidocs:recent:${window.location.pathname.replace(/index\.html$/,``)}`;function lS(){try{let e=JSON.parse(window.localStorage.getItem(cS())??`[]`);return Array.isArray(e)?e.slice(0,sS):[]}catch{return[]}}function Sse(e,t){let n=`${e.view}?${e.open.join(`,`)}`,r=e.open.length>0?`${t} · ${e.open.length} open`:t,i=[{key:n,hash:$x(e),label:r},...lS().filter(e=>e.key!==n)].slice(0,sS);try{window.localStorage.setItem(cS(),JSON.stringify(i))}catch{}}var uS=class{revisions;preview;constructor(e,t){this.revisions=e,this.preview=t}previewBase(){return this.preview&&this.revisions.find(e=>e.sha===this.preview.baseSha)}compareLabel(e,t){let n=t===void 0||t.sha===this.preview?.headSha;return this.preview&&e.sha===this.preview.baseSha&&n?`${this.preview.base} → PR`:`${dS(e)} → ${t?dS(t):`latest`}`}find(e){return Rne(this.revisions,e)}previous(e){return this.revisions[this.revisions.indexOf(e)+1]}isLatest(e){return this.revisions[0]===e}},dS=e=>e.tags[0]??e.sha.slice(0,7),fS=e=>e.date.slice(0,10),pS=Ix(jx(`./`),{recheckMs:1/0});async function mS(){let e=await pS.index();return e.ok&&e.index?new uS(e.index.revisions,e.index.preview):new uS([])}var hS={dropped:`this site no longer keeps its Bundle`,missing:`its Bundle is missing from this site`,unreadable:`its Bundle can't be read`,unmigratable:`its Bundle is from a schema this viewer can't read`,index:`this site's Revision index can't be read`},gS=class extends Error{code=`history_unavailable`;reason;constructor(e){super(hS[e]),this.reason=e}};async function _S(e){let t=await pS.bundle(e);if(!t.ok)throw new gS(t.reason);return t.bundle}async function vS(e,t,n,r){let i=(e,n)=>{if(e===null)return;let r=t.find(e);return r.ok?r.revision:{kind:`problem`,problem:r.kind===`ambiguous`?{kind:`ambiguous`,point:e,side:n,candidates:r.candidates}:{kind:`unknown`,point:e}}},a=i(n,`at`);if(a&&`kind`in a)return a;let o=i(r,`vs`);if(o&&`kind`in o)return o;let s=async t=>t===void 0?e:_S(t);try{let e=await s(a);try{let t=o===void 0?void 0:await s(o);return{kind:`ready`,times:{current:e,...t?{before:t}:{},...a?{at:a}:{},...o?{vs:o}:{}}}}catch(e){return yS(o,e)}}catch(e){return yS(a,e)}}function yS(e,t){if(!(t instanceof gS))throw t;return{kind:`problem`,problem:{kind:`unavailable`,revision:e,reason:t.message}}}function bS(e,t,n,r){let i=`${n??``}\n${r??``}`,a=n===null&&r===null,[o,s]=(0,v.useState)(),c=(0,v.useMemo)(()=>({kind:`ready`,times:{current:e}}),[e]);return(0,v.useEffect)(()=>{if(a)return;let o=!0;return vS(e,t,n,r).then(e=>{o&&s({key:i,state:e})}),()=>{o=!1}},[e,t,i]),a?{state:c,loading:!1}:o?.key===i?{state:o.state,loading:!1}:{state:o?.state.kind===`ready`?o.state:void 0,loading:!0}}function Cse({problem:e,place:t}){let n=$x({...t,at:null,vs:null,selected:null});if(e.kind===`unknown`)return(0,T.jsxs)(`div`,{className:`arc-unavailable`,role:`alert`,children:[(0,T.jsxs)(`h1`,{children:[`No Revision “`,e.point,`”`]}),(0,T.jsxs)(`p`,{children:[`This site's history has no tag, commit or date called `,e.point,`.`]}),(0,T.jsx)(`a`,{href:n,children:`Back to latest`})]});if(e.kind===`ambiguous`)return(0,T.jsxs)(`div`,{className:`arc-unavailable`,role:`alert`,children:[(0,T.jsxs)(`h1`,{children:[`More than one Revision “`,e.point,`”`]}),(0,T.jsxs)(`p`,{children:[`The shas of these Revisions all start with `,e.point,`. Pick one:`]}),(0,T.jsx)(`ul`,{children:e.candidates.map(n=>(0,T.jsx)(`li`,{children:(0,T.jsxs)(`a`,{href:$x({...t,[e.side]:dS(n)}),children:[(0,T.jsx)(`code`,{children:n.sha.slice(0,7)}),` `,n.subject,` (`,fS(n),`)`]})},n.sha))}),(0,T.jsx)(`a`,{href:n,children:`Back to latest`})]});let{revision:r}=e,i=r.sha.slice(0,7);return(0,T.jsxs)(`div`,{className:`arc-unavailable`,role:`alert`,children:[(0,T.jsx)(`h1`,{children:(0,T.jsx)(`code`,{children:`history_unavailable`})}),(0,T.jsxs)(`p`,{children:[`This site can't show `,dS(r),` “`,r.subject,`” (`,fS(r),`): `,e.reason,`. It keeps full Bundles for the latest Revisions and every tag.`]}),(0,T.jsxs)(`p`,{children:[`On a checkout, run `,(0,T.jsxs)(`code`,{children:[`archidocs diff `,i,` HEAD`]}),`, or ask the MCP server with `,(0,T.jsxs)(`code`,{children:[`at: "`,i,`"`]}),`.`]}),(0,T.jsx)(`a`,{href:n,children:`Back to latest`})]})}function xS({revision:e,place:t}){return(0,T.jsxs)(`p`,{className:`arc-at`,role:`status`,"aria-label":`Past Revision`,children:[(0,T.jsxs)(`span`,{children:[`Viewing `,(0,T.jsx)(`strong`,{children:dS(e)}),` · `,e.subject,` · `,fS(e)]}),(0,T.jsx)(`a`,{href:$x({...t,at:null}),children:`Back to latest`})]})}var SS={team:`Team`,environment:`Environment`,project:`Project`,element:`Element`,relationship:`Relationship`,target:`Deployment Target`,deployment:`Deployment`,view:`View`,adr:`ADR`},CS={added:`+`,removed:`−`,changed:`~`};function wS(e){let t=e.after??e.before;return(typeof t.name==`string`?t.name:typeof t.title==`string`?t.title:null)??e.id}function TS(e){let t=e.after??e.before;if(e.kind===`element`)return{element:e.id};if(e.kind===`relationship`)return{element:t.from};if(e.kind===`deployment`)return{element:t.service};if(e.kind===`adr`&&Array.isArray(t.elements)&&typeof t.elements[0]==`string`)return{element:t.elements[0]};if(e.kind===`view`)return{view:e.id}}function ES({changes:e,label:t,onElement:n,onView:r}){return(0,T.jsxs)(`aside`,{className:`arc-changes`,"aria-label":`Changes`,children:[(0,T.jsx)(`h2`,{children:`Changes`}),(0,T.jsxs)(`p`,{className:`arc-revision-meta`,children:[t,`: `,e.length===0?`nothing changed`:`${e.length} Change${e.length===1?``:`s`}`]}),(0,T.jsx)(`ul`,{children:e.map(e=>{let t=TS(e),i=(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`span`,{className:`arc-change-sign`,"aria-hidden":`true`,children:CS[e.type]}),(0,T.jsxs)(`span`,{children:[wS(e),(0,T.jsx)(`br`,{}),(0,T.jsxs)(`span`,{className:`arc-change-kind`,children:[SS[e.kind],` `,e.type,e.fields.length>0?`: ${e.fields.join(`, `)}`:``]})]})]}),a=`arc-change arc-change-${e.type}`;return(0,T.jsx)(`li`,{children:t?(0,T.jsx)(`button`,{type:`button`,className:a,onClick:()=>`element`in t?n(t.element):r(t.view),children:i}):(0,T.jsx)(`span`,{className:a,children:i})},`${e.kind} ${e.id} ${e.type}`)})})]})}function DS({revision:e}){return(0,T.jsxs)(`span`,{children:[e.tags.map(e=>(0,T.jsx)(`span`,{className:`arc-tag`,children:e},e)),(0,T.jsx)(`code`,{children:e.sha.slice(0,7)}),` `,e.subject,(0,T.jsx)(`br`,{}),(0,T.jsxs)(`span`,{className:`arc-revision-meta`,children:[fS(e),` · `,e.author,` · +`,e.counts.added,` −`,e.counts.removed,` ~`,e.counts.changed,!e.bundle&&(0,T.jsx)(`span`,{className:`arc-dropped`,children:` · not kept`})]})]})}function OS({timeline:e,onAt:t,onVs:n}){let[r,i]=(0,v.useState)(!1),a=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(!r)return;let e=e=>{(e instanceof KeyboardEvent?e.key===`Escape`:!a.current?.contains(e.target))&&i(!1)};return window.addEventListener(`keydown`,e),window.addEventListener(`pointerdown`,e),()=>{window.removeEventListener(`keydown`,e),window.removeEventListener(`pointerdown`,e)}},[r]),e.revisions.length===0?null:(0,T.jsxs)(`div`,{className:`arc-menu-root`,ref:a,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool arc-menu-button`,"aria-haspopup":`menu`,"aria-expanded":r,title:`Revisions`,onClick:()=>i(!r),children:[(0,T.jsx)(di,{name:`revisions`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:`Revisions`})]}),r&&(0,T.jsx)(`div`,{className:`arc-menu arc-timeline`,role:`menu`,"aria-label":`Revisions`,children:(0,T.jsx)(`ol`,{children:e.revisions.map(e=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(DS,{revision:e}),(0,T.jsxs)(`span`,{className:`arc-revision-actions`,children:[(0,T.jsx)(`button`,{type:`button`,disabled:!e.bundle,"aria-label":`Open ${dS(e)}`,onClick:()=>(i(!1),t(e)),children:`Open`}),(0,T.jsx)(`button`,{type:`button`,disabled:!e.bundle,"aria-label":`Compare from ${dS(e)}`,onClick:()=>(i(!1),n(e)),children:`Compare`})]})]},e.sha))})})]})}function kS({workspace:e,place:t,direction:n,compare:r,timeline:i,onCollapse:a,onDirection:o,onLens:s,onPicks:c,onTime:l,onExport:u,onSaveAsView:d}){let f=e.crumbs(t.view),p=une(MS),m=t=>e.byId.get(t)?.name??t;return(0,T.jsxs)(`header`,{className:`arc-location arc-plate`,children:[(0,T.jsxs)(`div`,{className:`arc-where`,children:[(0,T.jsxs)(`span`,{className:`arc-history-buttons`,children:[(0,T.jsx)(`button`,{type:`button`,className:`arc-tool arc-step`,"aria-label":`Back`,title:`Back`,onClick:()=>window.history.back(),children:(0,T.jsx)(di,{name:`back`})}),(0,T.jsx)(`button`,{type:`button`,className:`arc-tool arc-step`,"aria-label":`Forward`,title:`Forward`,onClick:()=>window.history.forward(),children:(0,T.jsx)(di,{name:`forward`})})]}),(0,T.jsx)(`nav`,{"aria-label":`Breadcrumbs`,children:(0,T.jsx)(`ol`,{className:`arc-crumbs`,children:f.map((e,n)=>{let r=n===f.length-1;return(0,T.jsx)(`li`,{"aria-current":r?`page`:void 0,children:r||e.view===void 0?(0,T.jsx)(`span`,{title:e.label,children:e.label}):(0,T.jsx)(`a`,{href:$x(tS(e.view,null,t.lens,t)),title:`Up to ${e.label}`,children:e.label})},`${n}:${e.label}`)})})}),(0,T.jsx)(wse,{workspace:e,place:t})]}),(0,T.jsx)(Ese,{workspace:e,place:t}),(0,T.jsxs)(`div`,{className:`arc-tools`,children:[(0,T.jsx)(OS,{timeline:i,onAt:e=>l({at:i.isLatest(e)?null:dS(e)}),onVs:e=>l({vs:dS(e)})}),(0,T.jsx)(Dse,{}),(0,T.jsxs)(`label`,{className:`arc-direction-label`,children:[(0,T.jsx)(`span`,{className:`arc-visually-hidden`,children:`Layout direction`}),(0,T.jsx)(`select`,{className:`arc-tool arc-direction`,"aria-label":`Direction`,title:`Layout direction: ${AS[n]}`,value:n,onChange:e=>o(e.target.value),children:Wx.map(e=>(0,T.jsx)(`option`,{value:e,children:p?jS[e]:AS[e]},e))})]}),(0,T.jsx)(FS,{}),(0,T.jsx)(NS,{picks:t.picks.length,onExport:u}),(0,T.jsx)(`button`,{type:`button`,className:`arc-tool arc-primary`,onClick:d,children:`Save as View`})]}),(t.open.length>0||r||t.lens||t.picks.length>0)&&(0,T.jsxs)(`div`,{className:`arc-state`,children:[t.open.length>0&&(0,T.jsxs)(`section`,{className:`arc-chips`,role:`region`,"aria-label":`Open boxes`,children:[t.open.map(e=>(0,T.jsxs)(`button`,{type:`button`,className:`arc-chip`,"aria-label":`Close ${m(e)}`,onClick:()=>a([e]),children:[m(e),(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})]},e)),(0,T.jsx)(`button`,{type:`button`,className:`arc-chip arc-chip-all`,onClick:()=>a(t.open),children:`Collapse all`})]}),r&&(0,T.jsx)(`section`,{className:`arc-chips`,role:`region`,"aria-label":`Compare`,children:(0,T.jsxs)(`span`,{className:`arc-chip arc-chip-lens`,children:[(0,T.jsx)(`span`,{className:`arc-lens-kind`,children:`Compare`}),` `,r,(0,T.jsx)(`button`,{type:`button`,className:`arc-chip-clear`,"aria-label":`Clear compare`,onClick:()=>l({vs:null}),children:(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})})]})}),t.lens&&(0,T.jsx)(PS,{workspace:e,lens:t.lens,onLens:s}),t.picks.length>0&&(0,T.jsx)(`section`,{className:`arc-chips`,role:`region`,"aria-label":`Picks`,children:(0,T.jsxs)(`button`,{type:`button`,className:`arc-chip arc-chip-picks`,"aria-label":`Clear ${t.picks.length} picked`,onClick:()=>c([]),children:[t.picks.length,` picked`,(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})]})})]})]})}var AS={LR:`Left → right`,RL:`Right → left`,TB:`Top → bottom`,BT:`Bottom → top`},jS={LR:`→`,RL:`←`,TB:`↓`,BT:`↑`},MS=`(max-width: 1279px)`;function NS({picks:e,onExport:t}){let[n,r]=(0,v.useState)(!1),i=Tse(n,()=>r(!1)),a=[[`View as SVG`,`view`,`svg`],[`View as PNG`,`view`,`png`],...e>0?[[`Picks as SVG`,`picks`,`svg`],[`Picks as PNG`,`picks`,`png`]]:[]];return(0,T.jsxs)(`div`,{className:`arc-menu-root`,ref:i,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool arc-menu-button`,"aria-haspopup":`menu`,"aria-expanded":n,title:`Export`,onClick:()=>r(!n),children:[(0,T.jsx)(di,{name:`export`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:`Export`})]}),n&&(0,T.jsx)(`div`,{className:`arc-menu`,role:`menu`,"aria-label":`Export`,children:a.map(([e,n,i])=>(0,T.jsx)(`button`,{type:`button`,role:`menuitem`,onClick:()=>{r(!1),t(n,i)},children:e},e))})]})}function wse({workspace:e,place:t}){let[n,r]=(0,v.useState)(!1),i=Tse(n,()=>r(!1)),a=e.deeper(t.view);return a.length===0?null:(0,T.jsxs)(`div`,{className:`arc-menu-root arc-deeper`,ref:i,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool arc-menu-button`,"aria-haspopup":`menu`,"aria-expanded":n,title:`Go a level deeper`,onClick:()=>r(!n),children:[(0,T.jsx)(di,{name:`down`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:`Go deeper`})]}),n&&(0,T.jsx)(`div`,{className:`arc-menu arc-menu-start`,role:`menu`,"aria-label":`Go deeper`,children:a.map(e=>(0,T.jsx)(`a`,{role:`menuitem`,href:$x(tS(e.view,null,t.lens,t)),onClick:()=>r(!1),children:e.label},e.view))})]})}function Tse(e,t){let n=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(!e)return;let r=e=>{(e instanceof KeyboardEvent?e.key===`Escape`:!n.current?.contains(e.target))&&t()};return window.addEventListener(`keydown`,r),window.addEventListener(`pointerdown`,r),()=>{window.removeEventListener(`keydown`,r),window.removeEventListener(`pointerdown`,r)}},[e,t]),n}function Ese({workspace:e,place:t}){let n=e.views.flatMap(t=>{let n=_e(t.id);return n?.form===`deployment`?[{view:t.id,label:e.name(n.environment)}]:[]});return n.length===0?null:(0,T.jsxs)(`nav`,{className:`arc-deployments`,"aria-label":`Deployment Views`,children:[(0,T.jsx)(`span`,{className:`arc-deployments-label`,"aria-hidden":`true`,children:`Deployment:`}),n.map(e=>e.view===t.view?(0,T.jsx)(`a`,{href:$x(tS(e.view)),"aria-current":`page`,title:`Deployment View: ${e.label}`,className:`arc-deployment-link arc-current`,children:e.label},e.view):(0,T.jsx)(`a`,{href:$x(tS(e.view,null,t.lens)),title:`Deployment View: ${e.label}`,className:`arc-deployment-link`,children:e.label},e.view))]})}function PS({workspace:e,lens:t,onLens:n}){return(0,T.jsxs)(`section`,{className:`arc-chips arc-lens`,role:`region`,"aria-label":`Lens`,children:[(0,T.jsxs)(`span`,{className:`arc-chip arc-chip-lens`,children:[(0,T.jsx)(`span`,{className:`arc-lens-kind`,children:`impact`in t?`Impact`:`team`in t?`Team`:`Connect`}),Je(e.bundle,t),(0,T.jsx)(`button`,{type:`button`,className:`arc-chip-clear`,"aria-label":`Clear lens`,onClick:()=>n(null),children:(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})})]}),`impact`in t&&(0,T.jsx)(`div`,{className:`arc-segmented`,role:`group`,"aria-label":`Impact direction`,children:[`upstream`,`both`,`downstream`].map(e=>(0,T.jsx)(`button`,{type:`button`,"aria-pressed":t.direction===e,onClick:()=>n({...t,direction:e}),children:e===`both`?`Both`:e===`upstream`?`Upstream`:`Downstream`},e))}),`path`in t&&(0,T.jsx)(`div`,{className:`arc-segmented`,role:`group`,"aria-label":`Paths`,children:[`shortest`,4].map(e=>(0,T.jsx)(`button`,{type:`button`,"aria-pressed":(t.path.paths??`shortest`)===e,onClick:()=>n({path:{...t.path,paths:e}}),children:e===`shortest`?`Shortest`:`All ≤ 4 hops`},e))})]})}function Dse(){let[e,t]=(0,v.useState)(null),n=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(!e)return;let r=e=>{(e instanceof KeyboardEvent?e.key===`Escape`:!n.current?.contains(e.target))&&t(null)};return window.addEventListener(`keydown`,r),window.addEventListener(`pointerdown`,r),()=>{window.removeEventListener(`keydown`,r),window.removeEventListener(`pointerdown`,r)}},[e]),(0,T.jsxs)(`div`,{className:`arc-menu-root`,ref:n,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool arc-menu-button`,"aria-haspopup":`menu`,"aria-expanded":e!==null,title:`Recent`,onClick:()=>t(e?null:lS()),children:[(0,T.jsx)(di,{name:`recent`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:`Recent`})]}),e&&(0,T.jsxs)(`div`,{className:`arc-menu`,role:`menu`,"aria-label":`Recent`,children:[e.length===0&&(0,T.jsx)(`p`,{className:`arc-menu-empty`,children:`Nothing yet`}),e.map(e=>(0,T.jsx)(`a`,{role:`menuitem`,href:e.hash,onClick:()=>t(null),children:e.label},e.key))]})]})}function FS(){let[e,t]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{if(!e)return;let n=window.setTimeout(()=>t(!1),1500);return()=>window.clearTimeout(n)},[e]),(0,T.jsxs)(`button`,{type:`button`,className:`arc-tool`,"aria-label":`Copy link`,title:`Copy link`,onClick:()=>{navigator.clipboard.writeText(window.location.href).then(()=>t(!0))},children:[(0,T.jsx)(di,{name:e?`check`:`copy`}),(0,T.jsx)(`span`,{className:`arc-tool-label`,children:e?`Copied`:`Copy link`})]})}var IS=.85,LS=44,RS=16,Ose=300;function kse(e){return(0,T.jsx)(Xh,{children:(0,T.jsx)(Ase,{...e})})}function Ase({workspace:e,layout:t,fitKey:n,selected:r,playing:i,reducedMotion:a,onSelect:o,onSettled:s}){let c=(0,v.useMemo)(()=>t.columns.map(e=>({id:e.id,type:`lifeline`,position:{x:e.x-e.width/2,y:0},width:e.width,height:t.height,style:{width:e.width,height:t.height,pointerEvents:`none`},draggable:!1,selectable:!1,connectable:!1,data:{column:e,height:t.height,activations:t.activations.filter(t=>t.participant===e.id)}})),[t]),l=(0,v.useMemo)(()=>t.rows.map(t=>({id:t.key,source:t.from,target:t.to,type:`message`,zIndex:1,selectable:!1,data:{row:t,via:hg(t,t=>e.name(t)),selected:t.n===r,later:i&&r!==null&&t.n>r,onSelect:o}})),[t,e,r,i,o]);return(0,T.jsxs)(Zh,{className:`arc-flow arc-seq`,nodes:c,edges:l,nodeTypes:Nse,edgeTypes:Pse,minZoom:IS,maxZoom:2,panOnScroll:!0,panOnScrollSpeed:1,panOnDrag:[0,1],zoomOnDoubleClick:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},children:[(0,T.jsx)(`svg`,{className:`arc-defs`,"aria-hidden":`true`,children:(0,T.jsxs)(`defs`,{children:[(0,T.jsx)(`marker`,{id:`arc-head-filled`,viewBox:`0 0 10 10`,refX:`10`,refY:`5`,markerWidth:`8`,markerHeight:`8`,orient:`auto-start-reverse`,children:(0,T.jsx)(`path`,{d:`M0,0 L10,5 L0,10 z`,className:`arc-head`})}),(0,T.jsx)(`marker`,{id:`arc-head-open`,viewBox:`0 0 10 10`,refX:`10`,refY:`5`,markerWidth:`8`,markerHeight:`8`,orient:`auto-start-reverse`,children:(0,T.jsx)(`path`,{d:`M0,0 L10,5 L0,10`,className:`arc-head-open`})})]})}),(0,T.jsx)(jse,{workspace:e,layout:t}),(0,T.jsx)(zS,{layout:t,fitKey:n,selected:r,playing:i,reducedMotion:a,onSettled:s}),(0,T.jsx)(ag,{})]})}function zS({layout:e,fitKey:t,selected:n,playing:r,reducedMotion:i,onSettled:a}){let{setViewport:o,getViewport:s}=Pm(),c=Gp(e=>e.width),l=Gp(e=>e.height),u=c>0&&l>0,d=(0,v.useRef)(null);return(0,v.useEffect)(()=>{if(!u)return;o(VS(e,c,l)),d.current=t;let n=0,r=()=>{document.querySelectorAll(`[data-step-edge]`).length>=e.rows.length?a(t):n=window.requestAnimationFrame(r)};return n=window.requestAnimationFrame(r),()=>window.cancelAnimationFrame(n)},[t,u]),(0,v.useEffect)(()=>{if(!u||n===null||d.current!==t)return;let a=e.rows.filter(e=>e.n===n);if(a.length===0)return;let f=(a[0].y+a.at(-1).y)/2,p=a.flatMap(e=>[e.x1,e.x2]),m=(Math.min(...p)+Math.max(...p))/2,h=s(),g=BS(i),_=(e,t)=>e*h.zoom+h.x>=0&&e*h.zoom+h.x<=c&&t*h.zoom+h.y>=LS*h.zoom&&t*h.zoom+h.y<=l;if(r)o({x:c/2-m*h.zoom,y:l/2-f*h.zoom,zoom:h.zoom},g);else if(!p.every(e=>_(e,f))){let e=Math.max(...p)-Math.min(...p)<=c/h.zoom;o({x:e?c/2-m*h.zoom:48-Math.min(...p)*h.zoom,y:l/2-f*h.zoom,zoom:h.zoom},g)}},[n,r,t,u]),(0,T.jsx)(`div`,{className:`arc-seq-tools`,children:(0,T.jsx)(`button`,{type:`button`,className:`arc-action`,onClick:()=>void o(VS(e,c,l),BS(i)),children:`Fit whole chart`})})}var BS=e=>({duration:e?0:Ose,interpolate:`linear`});function VS(e,t,n){let r=Math.max(IS,Math.min(1,(t-32)/e.width,(n-RS)/e.height));return{x:e.width*r<=t?(t-e.width*r)/2:RS,y:RS/2,zoom:r}}function jse({workspace:e,layout:t}){let[n,r,i]=Gp(e=>e.transform),a={transform:`translate(${n}px, ${Math.max(r,0)}px) scale(${i})`};return(0,T.jsx)(`div`,{className:`arc-seq-headers`,style:a,children:t.columns.map(t=>{let n=e.byId.get(t.id),r=n?e.teams.get(n.owner):void 0,i=n!==void 0&&`external`in n&&n.external;return(0,T.jsxs)(`div`,{className:i?`arc-seq-header arc-external`:`arc-seq-header`,"data-header":t.id,title:e.name(t.id),style:{left:t.x-t.width/2,width:t.width,height:LS},children:[r&&(0,T.jsx)(`span`,{className:`arc-stripe`,style:{background:r.color}}),(0,T.jsx)(`span`,{className:`arc-seq-name`,children:e.name(t.id)}),r&&(0,T.jsx)(`span`,{className:`arc-team`,children:r.code})]},t.id)})})}var Mse=(0,v.memo)(function({data:e}){let{column:t,height:n,activations:r}=e,i=t.width/2;return(0,T.jsxs)(`div`,{className:`arc-lifeline`,"data-participant":t.id,style:{width:t.width,height:n},children:[(0,T.jsx)(sh,{type:`target`,position:id.Top,isConnectable:!1,className:`arc-handle`}),(0,T.jsx)(sh,{type:`source`,position:id.Top,isConnectable:!1,className:`arc-handle`}),(0,T.jsxs)(`svg`,{width:t.width,height:n,children:[(0,T.jsx)(`line`,{x1:i,y1:LS,x2:i,y2:n-10,className:`arc-lifeline-line`}),r.map(e=>(0,T.jsx)(`rect`,{className:`arc-activation`,x:i-fg.bar/2+e.depth*fg.bar/2,y:e.top-6,width:fg.bar,height:e.bottom-e.top+12},`${e.top}:${e.depth}`))]})]})});function HS({data:e}){let{row:t,via:n,selected:r,later:i,onSelect:a}=e,o=t.x2>=t.x1?1:-1,s=t.x1+o*14,c=t.x1+o*28,l=o>0?`start`:`end`,u=`M${t.x1} ${t.y} L${t.x2} ${t.y}`,d=[n,t.note].filter(e=>e!==void 0),f=[`arc-step`,r?`arc-step-selected`:``,i?`arc-step-later`:``].filter(Boolean).join(` `);return(0,T.jsxs)(`g`,{className:f,"data-step-edge":t.key,"data-step":t.n,"data-selected":r?`true`:`false`,"data-later":i?`true`:void 0,onClick:()=>a(t.n),children:[(0,T.jsx)(`title`,{children:`Step ${t.key}: ${t.label}`}),(0,T.jsx)(`path`,{className:`arc-step-hit`,d:u}),(0,T.jsx)(`path`,{className:`arc-step-line arc-step-${t.style}`,d:u,markerEnd:`url(#arc-head-${t.style===`sync`?`filled`:`open`})`}),(0,T.jsx)(`circle`,{className:`arc-step-badge`,cx:s,cy:t.y,r:9}),(0,T.jsx)(`text`,{className:`arc-step-number`,x:s,y:t.y+3.5,textAnchor:`middle`,children:t.key}),(0,T.jsx)(`text`,{className:`arc-step-label`,x:c,y:t.y-7,textAnchor:l,children:t.label}),d.map((e,n)=>(0,T.jsx)(`text`,{className:`arc-step-sub`,x:c,y:t.y+16+n*fg.lineHeight,textAnchor:l,children:e},n))]})}var Nse={lifeline:Mse},Pse={message:HS},US,Fse=0,WS=new Map;function GS(e,t){US||(US=new Worker(new URL(new URL(`layout.worker-BRHAGJrD.js`,import.meta.url).href,``+import.meta.url),{type:`module`}),US.onmessage=e=>{WS.get(e.data.request)?.(e.data),WS.delete(e.data.request)});let n=++Fse;return new Promise(r=>{WS.set(n,r),US.postMessage({request:n,view:e,direction:t})})}function KS(e,t){let[n,r]=(0,v.useState)({});return(0,v.useEffect)(()=>{if(!e)return;let n=!0;return GS(e,t).then(t=>{n&&r(`layout`in t?{laidOut:{view:e,layout:t.layout}}:{error:t.error})}),()=>{n=!1}},[e,t]),{laidOut:n.laidOut,error:n.error}}function qS(e,t,n){let r=new Map;for(let e of pg(t,{brokers:n})){let[t,n]=e.style===`return`?[e.to,e.from]:[e.from,e.to],i=`${t}>${n}`,a=r.get(i)??{from:t,to:n,messages:[]};a.messages.push(e),r.set(i,a)}let i=mg(t,{brokers:n}).map(t=>{let n=e.byId.get(t);return{id:t,kind:n?.kind??`service`,name:e.name(t),parent:null,collapsed:!1,external:n!==void 0&&`external`in n&&n.external}}),a=[...r.values()].map(e=>({from:e.from,to:e.to,relationships:[...new Set(e.messages.map(e=>e.step.relationship))]}));return{graph:{id:t.id,kind:`c2`,title:t.title,direction:`LR`,nodes:i,edges:a},pairs:[...r.values()]}}function JS(e){return(0,T.jsx)(Xh,{children:(0,T.jsx)(YS,{...e})})}function YS({workspace:e,view:t,brokers:n,fitKey:r,selected:i,onSelect:a,onSettled:o}){let{graph:s,pairs:c}=(0,v.useMemo)(()=>qS(e,t,n),[e,t,n]),{laidOut:l,error:u}=KS(s),d=l?.view===s?l.layout:void 0,f=(0,v.useMemo)(()=>d?.nodes.map(t=>({id:t.id,type:`participant`,position:{x:t.x,y:t.y},width:t.width,height:t.height,style:{width:t.width,height:t.height},draggable:!1,connectable:!1,data:{name:e.name(t.id)}}))??[],[d,e]),p=(0,v.useMemo)(()=>{if(!d)return[];let e=new Map(c.map(e=>[`${e.from}>${e.to}`,e])),t=e=>e.messages[0].n;return d.edges.map(t=>({e:t,pair:e.get(`${t.from}>${t.to}`)})).sort((e,n)=>t(e.pair)-t(n.pair)).map(({e,pair:t})=>({id:`${e.from}>${e.to}`,source:e.from,target:e.to,type:`steps`,selectable:!1,markerEnd:{type:rd.ArrowClosed,width:16,height:16},data:{points:e.points,pair:t,selected:i,onSelect:a}}))},[d,c,i,a]);return u?(0,T.jsxs)(`p`,{className:`arc-error`,children:[`Layout failed: `,u]}):(0,T.jsxs)(Zh,{className:`arc-flow arc-graph`,nodes:f,edges:p,panOnScroll:!0,panOnScrollSpeed:1,panOnDrag:[0,1],nodeTypes:zse,edgeTypes:Bse,minZoom:.05,maxZoom:2,zoomOnDoubleClick:!1,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,proOptions:{hideAttribution:!0},children:[(0,T.jsx)(Fte,{showInteractive:!1}),d&&(0,T.jsx)(Ise,{width:d.width,height:d.height,edges:d.edges.length,fitKey:r,onSettled:o}),(0,T.jsx)(ag,{})]})}function Ise({width:e,height:t,edges:n,fitKey:r,onSettled:i}){let{setViewport:a}=Pm(),o=Gp(e=>e.width),s=Gp(e=>e.height);return(0,v.useEffect)(()=>{if(o===0||s===0)return;let c=Math.min(1,(o-64)/Math.max(e,1),(s-64)/Math.max(t,1));a({x:(o-e*c)/2,y:(s-t*c)/2,zoom:c});let l=0,u=()=>{document.querySelectorAll(`path[data-edge-from]`).length>=n?i(r):l=window.requestAnimationFrame(u)};return l=window.requestAnimationFrame(u),()=>window.cancelAnimationFrame(l)},[e,t,r,o>0&&s>0]),null}var Lse=(0,v.memo)(function({id:e,data:t}){return(0,T.jsxs)(`div`,{className:`arc-box arc-graph-node`,"data-graph-node":e,children:[(0,T.jsx)(sh,{type:`target`,position:id.Left,isConnectable:!1,className:`arc-handle`}),(0,T.jsx)(sh,{type:`source`,position:id.Right,isConnectable:!1,className:`arc-handle`}),(0,T.jsx)(`div`,{className:`arc-text`,children:(0,T.jsx)(`div`,{className:`arc-name`,children:t.name})})]})});function Rse({data:e,markerEnd:t}){let{points:n,pair:r,selected:i,onSelect:a}=e,o=n.map((e,t)=>`${t===0?`M`:`L`}${e.x} ${e.y}`).join(` `),s=Math.floor((n.length-1)/2),[c,l]=[n[s],n[s+1]??n[s]],u=r.messages.some(e=>e.n===i);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`path`,{className:u?`arc-edge arc-lit`:`arc-edge`,d:o,fill:`none`,markerEnd:t,"data-edge-from":r.from,"data-edge-to":r.to}),(0,T.jsx)(Ste,{children:(0,T.jsx)(`div`,{className:`arc-graph-steps nodrag nopan`,style:{transform:`translate(-50%, -50%) translate(${(c.x+l.x)/2}px, ${(c.y+l.y)/2}px)`},children:r.messages.map(e=>(0,T.jsx)(`button`,{type:`button`,className:`arc-graph-step arc-step-${e.style}`,"data-graph-step":e.key,"aria-pressed":e.n===i,title:e.label,onClick:()=>a(e.n),children:e.key},e.key))})})]})}var zse={participant:Lse},Bse={steps:Rse},Vse=1400,Hse=e=>e.kind===`return`?`return`:e.interaction,Use={sync:`Sync call`,async:`Async`,return:`Return`};function Wse({workspace:e,view:t,place:n,keys:r,onOpenStepView:i,onOpenView:a}){let o=t.steps,s=o.findIndex(e=>e.n===n.step),c=s<0?void 0:o[s],[l,u]=(0,v.useState)(!1),d=lne(),f=(0,v.useCallback)(t=>e.name(t),[e]),p=(0,v.useMemo)(()=>Mne(t,{name:f,brokers:n.brokers}),[t,f,n.brokers]),m=`${t.id}|${n.brokers?`brokers`:`direct`}|${n.graph?`graph`:`sequence`}`,[h,g]=(0,v.useState)(),_=(0,v.useCallback)(e=>oS({...n,step:e},{replace:!0}),[n]),y=(0,v.useCallback)(e=>_(o[Math.max(0,Math.min(o.length-1,e))]?.n??null),[_,o]),b=(0,v.useCallback)(()=>y(s<0?0:s+1),[y,s]),x=(0,v.useCallback)(()=>y(s<0?0:s-1),[y,s]),S=(0,v.useCallback)(()=>{if(l)return u(!1);(s<0||s===o.length-1)&&y(0),u(o.length>1)},[l,s,o.length,y]);(0,v.useEffect)(()=>{if(!l)return;let e=window.setTimeout(()=>{let e=s+1;y(e),e>=o.length-1&&u(!1)},Vse);return()=>window.clearTimeout(e)},[l,s,o.length,y]),(0,v.useEffect)(()=>{if(!r)return;let e=e=>{if(!(e.target instanceof HTMLElement&&(e.target.isContentEditable||[`INPUT`,`TEXTAREA`,`SELECT`].includes(e.target.tagName))||e.metaKey||e.ctrlKey||e.altKey)){if(e.key===` `)S();else if(e.key===`j`||e.key===`ArrowDown`)b();else if(e.key===`k`||e.key===`ArrowUp`)x();else if(e.key===`Escape`)u(!1),_(null);else return;e.preventDefault()}};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r,S,b,x,_]),(0,v.useEffect)(()=>{c&&document.querySelector(`.arc-outline [data-step="${c.n}"]`)?.scrollIntoView({block:`nearest`})},[c]);let C=h===m;return(0,T.jsxs)(`div`,{className:`arc-dynamic`,children:[(0,T.jsxs)(`aside`,{className:`arc-dyn-left`,"aria-label":`Walkthrough`,children:[(0,T.jsxs)(`div`,{className:`arc-transport`,role:`group`,"aria-label":`Transport`,children:[(0,T.jsxs)(`div`,{className:`arc-transport-buttons`,children:[(0,T.jsx)(`button`,{type:`button`,"aria-label":`First Step`,onClick:()=>y(0),children:(0,T.jsx)(di,{name:`first`})}),(0,T.jsx)(`button`,{type:`button`,"aria-label":`Previous Step`,onClick:x,children:(0,T.jsx)(di,{name:`previous`})}),(0,T.jsx)(`button`,{type:`button`,className:`arc-play`,"aria-label":l?`Pause`:`Play`,onClick:S,children:(0,T.jsx)(di,{name:l?`pause`:`play`})}),(0,T.jsx)(`button`,{type:`button`,"aria-label":`Next Step`,onClick:b,children:(0,T.jsx)(di,{name:`next`})})]}),(0,T.jsx)(`p`,{className:`arc-transport-count`,"aria-live":`polite`,children:c?`Step ${c.n} of ${o.length}`:`${o.length} Steps`}),(0,T.jsxs)(`div`,{className:`arc-progress`,role:`group`,"aria-label":`Progress`,children:[(0,T.jsx)(`span`,{className:`arc-progress-fill`,style:{width:`${o.length===0?0:(s+1)/o.length*100}%`}}),o.map(e=>(0,T.jsx)(`button`,{type:`button`,className:`arc-tick`,"aria-label":`Go to Step ${e.n}`,"aria-current":e.n===c?.n?`step`:void 0,onClick:()=>_(e.n)},e.n))]})]}),(0,T.jsx)(`ol`,{className:`arc-outline`,"aria-label":`Steps`,children:o.map(t=>(0,T.jsx)(`li`,{children:(0,T.jsxs)(`button`,{type:`button`,"data-step":t.n,"aria-current":t.n===c?.n?`step`:void 0,onClick:()=>_(t.n),children:[(0,T.jsx)(`span`,{className:`arc-outline-n`,children:t.n}),(0,T.jsxs)(`span`,{className:`arc-outline-text`,children:[(0,T.jsx)(`span`,{className:`arc-outline-label`,children:t.description}),(0,T.jsxs)(`span`,{className:`arc-outline-ends`,children:[e.name(t.from),` `,(0,T.jsx)(XS,{style:Hse(t)}),` `,e.name(t.to)]})]})]})},t.n))})]}),(0,T.jsxs)(`section`,{className:`arc-dyn-main`,"aria-label":`Chart`,children:[(0,T.jsxs)(`header`,{className:`arc-location`,children:[(0,T.jsxs)(`div`,{className:`arc-dyn-title`,children:[(0,T.jsx)(`span`,{className:`arc-panel-kind`,children:`Dynamic View`}),(0,T.jsx)(`h1`,{children:t.title})]}),(0,T.jsxs)(`div`,{className:`arc-tools`,children:[(0,T.jsxs)(`label`,{className:`arc-check`,children:[(0,T.jsx)(`input`,{type:`checkbox`,checked:n.brokers,onChange:e=>oS({...n,brokers:e.target.checked},{replace:!0})}),`Show brokers`]}),(0,T.jsx)(`div`,{className:`arc-segmented`,role:`group`,"aria-label":`Chart`,children:[`Sequence`,`Graph`].map(e=>(0,T.jsx)(`button`,{type:`button`,"aria-pressed":e===`Graph`===n.graph,onClick:()=>oS({...n,graph:e===`Graph`},{replace:!0}),children:e},e))}),(0,T.jsx)(Dse,{}),(0,T.jsx)(FS,{})]})]}),(0,T.jsx)(`div`,{className:`arc-canvas`,"data-canvas":!0,"data-state":C?`ready`:`busy`,children:n.graph?(0,T.jsx)(JS,{workspace:e,view:t,brokers:n.brokers,fitKey:m,selected:c?.n??null,onSelect:_,onSettled:g},m):(0,T.jsx)(kse,{workspace:e,layout:p,fitKey:m,selected:c?.n??null,playing:l,reducedMotion:d,onSelect:_,onSettled:g},m)})]}),(0,T.jsx)(`aside`,{className:`arc-dyn-detail`,"aria-label":`Step detail`,children:c?(0,T.jsx)(Gse,{workspace:e,view:t,step:c,onOpenStepView:i,onOpenView:a}):(0,T.jsx)(QS,{workspace:e,view:t})})]})}function XS({style:e}){return(0,T.jsx)(`span`,{className:`arc-glyph arc-step-${e}`,"aria-label":Use[e],role:`img`})}var ZS={call:`Call`,return:`Return`,event:`Event`};function Gse({workspace:e,view:t,step:n,onOpenStepView:r,onOpenView:i}){let a=n.relationship,o=e.byId.get(a.from)?.owner,s=o?e.teams.get(o):void 0,c=ke(e.bundle,n.relationship).filter(e=>e.id!==t.id);return(0,T.jsxs)(`div`,{className:`arc-panel-body`,children:[(0,T.jsxs)(`h2`,{children:[`Step `,n.n]}),(0,T.jsx)(`p`,{className:`arc-panel-kind`,children:ZS[n.kind]}),(0,T.jsx)(`p`,{className:`arc-description`,children:n.description}),(0,T.jsxs)(`p`,{className:`arc-outline-ends`,children:[e.name(n.from),` `,(0,T.jsx)(XS,{style:Hse(n)}),` `,e.name(n.to)]}),n.note&&(0,T.jsx)(`p`,{className:`arc-note`,children:n.note}),(0,T.jsx)(`h3`,{children:`Relationship`}),(0,T.jsxs)(`dl`,{className:`arc-facts`,children:[(0,T.jsx)(`dt`,{children:`Id`}),(0,T.jsx)(`dd`,{children:(0,T.jsx)(`code`,{children:a.id??`${a.from} → ${a.to}`})}),a.description&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`dt`,{children:`Description`}),(0,T.jsx)(`dd`,{children:a.description})]}),(0,T.jsx)(`dt`,{children:`Interaction`}),(0,T.jsx)(`dd`,{children:a.interaction}),a.technology&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`dt`,{children:`Technology`}),(0,T.jsx)(`dd`,{children:a.technology})]}),a.via&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`dt`,{children:`Via`}),(0,T.jsxs)(`dd`,{children:[e.name(a.via),a.channel&&` · ${a.channel}`]})]}),o&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`dt`,{children:`Owner`}),(0,T.jsxs)(`dd`,{children:[(0,T.jsx)(`span`,{className:`arc-owner-code arc-code-tile`,style:{"--team":s?.color},children:s?.code}),` `,e.name(o)]})]})]}),(0,T.jsx)(`h3`,{id:`arc-open-in`,children:`Open in`}),(0,T.jsx)(`ul`,{className:`arc-view-links`,"aria-labelledby":`arc-open-in`,children:Oe(e.bundle,n).map(t=>(0,T.jsx)(`li`,{children:(0,T.jsx)(`button`,{type:`button`,className:`arc-link`,onClick:()=>r(t,n),children:e.title(t)??t})},t))}),c.length>0&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`h3`,{id:`arc-also-in`,children:`Also in`}),(0,T.jsx)(`ul`,{className:`arc-view-links`,"aria-labelledby":`arc-also-in`,children:c.map(e=>(0,T.jsx)(`li`,{children:(0,T.jsx)(`button`,{type:`button`,className:`arc-link`,onClick:()=>i(e.id),children:e.title})},e.id))})]})]})}function QS({workspace:e,view:t}){let n=e.description(t.id);return(0,T.jsxs)(`div`,{className:`arc-panel-body`,children:[(0,T.jsx)(`h2`,{children:t.title}),(0,T.jsx)(`p`,{className:`arc-panel-kind`,children:`Dynamic View`}),n&&(0,T.jsx)(`p`,{className:`arc-description`,children:n}),(0,T.jsxs)(`p`,{className:`arc-muted`,children:[t.steps.length,` Steps across `,t.participants.length,` participants. Press Space to play, J and K to step, Esc to clear.`]}),(0,T.jsx)(`h3`,{id:`arc-participants`,children:`Participants`}),(0,T.jsx)(`ul`,{"aria-labelledby":`arc-participants`,children:t.participants.map(t=>(0,T.jsx)(`li`,{children:e.name(t)},t))}),(0,T.jsx)(`h3`,{id:`arc-legend`,children:`Legend`}),(0,T.jsxs)(`ul`,{className:`arc-legend`,"aria-labelledby":`arc-legend`,children:[[`sync`,`async`,`return`].map(e=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(XS,{style:e}),` `,Use[e]]},e)),(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-legend-bar`,"aria-hidden":`true`}),` Busy with a sync call`]})]})]})}function $S(e,t={}){let n=t.element===void 0?void 0:eC(e,t.element);return e.adrs.flatMap(e=>{if(t.status!==void 0&&e.effectiveStatus!==t.status||t.tag!==void 0&&!e.tags.includes(t.tag))return[];if(!n)return[e];let r=e.elements.filter(e=>n.has(e));return r.length?[{...e,matchedVia:r}]:[]}).sort((e,t)=>nC(t.date,e.date)||nC(tC(t),tC(e))||nC(e.id,t.id))}function eC(e,t){let n=[...e.elements,...e.targets],r=new Set([t]);for(let e=!0;e;){e=!1;for(let t of n)t.parent!==null&&r.has(t.parent)&&!r.has(t.id)&&(e=!!r.add(t.id))}return r}var tC=e=>e.id.slice(e.id.indexOf(`:`)+1),nC=(e,t)=>e<t?-1:+(e>t);function rC(e,t,n){let r=new Map(e.targets.map(e=>[e.id,e]));return e.deployments.filter(e=>e.service===t&&(n===void 0||e.environment===n)).map(e=>({...e,targetPath:Kse(r,e.target)}))}function Kse(e,t){let n=[],r=new Set;for(let i=e.get(t);i&&!r.has(i.id);i=i.parent===null?void 0:e.get(i.parent))r.add(i.id),n.unshift({id:i.id,name:i.name,kind:i.kind});return n}function iC(e,t){if(e.kind===`project`){let t=`${e.id}:`;return n=>n.some(n=>n===e.id||n.startsWith(t))}let n=new Set([e.id]);for(let r of t)if(e.kind===`team`)for(let t of[...r.elements,...r.targets,...r.projects])t.owner===e.id&&n.add(t.id);else{let e=!0;for(;e;){e=!1;for(let t of r.elements)t.parent!==null&&n.has(t.parent)&&!n.has(t.id)&&(n.add(t.id),e=!0)}}return e=>e.some(e=>n.has(e))}var aC=[`Overview`,`URLs`,`ADRs`,`Links`,`History`];function oC({workspace:e,id:t,onLens:n,onConnect:r,onFocus:i,onOpenView:a,onOpenAdr:o,onDeployed:s,timeline:c,comparison:l,onTime:u,onClose:d}){let[f,p]=(0,v.useState)(`Overview`),m=(0,v.useMemo)(()=>({ADRs:$S(e.bundle,{element:t}).length,Links:e.bundle.relationships.filter(e=>e.from===t||e.to===t).length}),[e,t]),h=e.byId.get(t);if(!h)return null;let g=e.teams.get(h.owner),_=`technology`in h?h.technology:null,y=(h.kind===`system`||h.kind===`service`)&&h.external?`External ${h.kind}`:h.kind[0].toUpperCase()+h.kind.slice(1);return(0,T.jsxs)(`aside`,{className:`arc-panel`,"aria-label":`Element`,children:[(0,T.jsxs)(`header`,{className:`arc-panel-head`,children:[(0,T.jsxs)(`div`,{className:`arc-panel-title`,children:[(0,T.jsx)(`h2`,{children:h.name}),(0,T.jsxs)(`p`,{className:`arc-panel-kind`,children:[y,` · `,(0,T.jsx)(`code`,{className:`arc-panel-id`,children:h.id})]}),(0,T.jsxs)(`button`,{type:`button`,className:`arc-owner`,"aria-label":`Team lens: ${e.name(h.owner)}`,style:{"--team":g?.color},onClick:()=>n({team:h.owner}),children:[(0,T.jsx)(`span`,{className:`arc-owner-code`,children:g?.code}),(0,T.jsx)(`span`,{className:`arc-owner-name`,children:e.name(h.owner)})]})]}),d&&(0,T.jsx)(`button`,{type:`button`,className:`arc-flyout-close`,"aria-label":`Close panel`,onClick:d,children:(0,T.jsx)(di,{name:`close`})})]}),(0,T.jsx)(`div`,{className:`arc-tabs`,role:`tablist`,"aria-label":`Element`,children:aC.map(e=>(0,T.jsxs)(`button`,{type:`button`,role:`tab`,"aria-selected":f===e,onClick:()=>p(e),children:[e,m[e]!==void 0&&(0,T.jsxs)(`span`,{className:`arc-tab-count`,children:[` `,m[e]]})]},e))}),(0,T.jsxs)(`div`,{className:`arc-panel-body`,role:`tabpanel`,"aria-label":f,children:[f===`Overview`&&(0,T.jsxs)(T.Fragment,{children:[l&&(0,T.jsx)(fC,{comparison:l,id:t}),(h.description||_)&&(0,T.jsxs)(`p`,{className:`arc-description`,children:[h.description,_&&(0,T.jsxs)(`span`,{className:`arc-technology`,children:[` `,_]})]}),(0,T.jsxs)(`section`,{className:`arc-actions`,"aria-label":`Ask`,children:[(0,T.jsxs)(`button`,{type:`button`,className:`arc-action`,"aria-label":`Both ways impact`,onClick:()=>n({impact:t,direction:`both`}),children:[(0,T.jsx)(di,{name:`impact`}),`Upstream & downstream`]}),(0,T.jsxs)(`button`,{type:`button`,className:`arc-action`,title:`Lights the paths to the node you pick next, and picks every node on them`,onClick:()=>r(t),children:[(0,T.jsx)(di,{name:`connect`}),`Connect to…`]}),ye(e.bundle,t)!==void 0&&(0,T.jsxs)(`button`,{type:`button`,className:`arc-action`,onClick:()=>a(t),children:[(0,T.jsx)(di,{name:`open`}),`Open its View`]})]}),h.kind===`service`&&(0,T.jsx)(sC,{workspace:e,id:t,onDeployed:s})]}),f===`URLs`&&(0,T.jsx)(cC,{workspace:e,id:t}),f===`ADRs`&&(0,T.jsx)(uC,{workspace:e,id:t,onOpen:o}),f===`Links`&&(0,T.jsx)(dC,{workspace:e,id:t,onFocus:i}),f===`History`&&(0,T.jsx)(pC,{workspace:e,id:t,timeline:c,onTime:u})]})]})}function sC({workspace:e,id:t,onDeployed:n}){let r=(0,v.useMemo)(()=>e.deployedIn(t),[e,t]);return(0,T.jsxs)(`section`,{className:`arc-actions`,role:`region`,"aria-label":`Where is it deployed?`,children:[(0,T.jsx)(`h3`,{children:`Where is it deployed?`}),r.length===0?(0,T.jsx)(`p`,{className:`arc-empty`,children:`Not deployed in any Environment.`}):(0,T.jsx)(`div`,{className:`arc-deployed`,children:r.map(e=>(0,T.jsx)(`button`,{type:`button`,className:`arc-action`,onClick:()=>n(e.view,e.nodes),children:e.label},e.environment))})]})}function cC({workspace:e,id:t}){let n=(0,v.useMemo)(()=>rC(e.bundle,t),[e,t]);if(n.length===0)return(0,T.jsx)(`p`,{className:`arc-empty`,children:`No Deployments.`});let r=e.bundle.environments.filter(e=>n.some(t=>t.environment===e.id));return(0,T.jsx)(T.Fragment,{children:r.map(e=>(0,T.jsxs)(`section`,{className:`arc-env`,role:`region`,"aria-label":e.name,children:[(0,T.jsx)(`h3`,{children:e.name}),(0,T.jsx)(`ul`,{children:n.filter(t=>t.environment===e.id).map(e=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`div`,{className:`arc-target`,children:e.targetPath.map(e=>e.name).join(` › `)||e.target}),e.url?(0,T.jsx)(lC,{url:e.url}):(0,T.jsx)(`p`,{className:`arc-empty`,children:`No URL`}),e.endpoints.map(e=>(0,T.jsx)(lC,{name:e.name,url:e.url},e.name))]},e.target))})]},e.id))})}function lC({name:e,url:t}){let[n,r]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{if(!n)return;let e=window.setTimeout(()=>r(!1),1500);return()=>window.clearTimeout(e)},[n]),(0,T.jsxs)(`div`,{className:`arc-url`,children:[e&&(0,T.jsx)(`span`,{className:`arc-endpoint`,children:e}),(0,T.jsx)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,children:t}),(0,T.jsx)(`button`,{type:`button`,className:`arc-copy`,"aria-label":`Copy ${t}`,onClick:()=>void navigator.clipboard.writeText(t).then(()=>r(!0)),children:n?`Copied`:`Copy`})]})}function uC({workspace:e,id:t,onOpen:n}){let r=(0,v.useMemo)(()=>$S(e.bundle,{element:t}),[e,t]);return r.length===0?(0,T.jsx)(`p`,{className:`arc-empty`,children:`No ADRs link this Element or anything inside it.`}):(0,T.jsx)(`ul`,{className:`arc-adr-list`,children:r.map(e=>(0,T.jsx)(`li`,{"data-superseded":e.effectiveStatus===`superseded`?`true`:void 0,children:(0,T.jsxs)(`button`,{type:`button`,className:`arc-adr-row`,onClick:()=>n(e.id),children:[(0,T.jsx)(`code`,{className:`arc-adr-id`,children:e.id}),(0,T.jsx)(`span`,{className:`arc-adr-title`,children:e.title}),(0,T.jsx)(mi,{status:e.effectiveStatus}),(0,T.jsx)(`time`,{className:`arc-muted`,dateTime:e.date,children:e.date})]})},e.id))})}function dC({workspace:e,id:t,onFocus:n}){let r=(0,v.useMemo)(()=>He(e.bundle,t,`both`),[e,t]),i=e.bundle.relationships.filter(e=>e.from===t||e.to===t),a=t=>(0,T.jsx)(`button`,{type:`button`,className:`arc-link`,onClick:()=>n(t),children:e.name(t)}),o=(e,n)=>(0,T.jsxs)(`li`,{children:[e.from===t?`→ `:`← `,a(e.from===t?e.to:e.from),e.description&&(0,T.jsxs)(`span`,{className:`arc-muted`,children:[` `,e.description]}),e.technology&&(0,T.jsxs)(`span`,{className:`arc-muted`,children:[` · `,e.technology]})]},n),s=(e,t)=>(0,T.jsxs)(`section`,{role:`region`,"aria-label":e,children:[(0,T.jsx)(`h3`,{children:e}),!t?.length&&(0,T.jsx)(`p`,{className:`arc-empty`,children:`Nothing`}),(0,T.jsx)(`ul`,{children:t?.flatMap(e=>e.elements.map(t=>(0,T.jsxs)(`li`,{children:[(0,T.jsx)(`span`,{className:`arc-distance-inline`,children:e.distance}),` `,a(t.id)]},t.id)))})]});return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`section`,{role:`region`,"aria-label":`Relationships`,children:[(0,T.jsx)(`h3`,{children:`Relationships`}),i.length===0&&(0,T.jsx)(`p`,{className:`arc-empty`,children:`None declared here`}),(0,T.jsx)(`ul`,{children:i.map(o)})]}),s(`Downstream`,r.downstream),s(`Upstream`,r.upstream)]})}function fC({comparison:e,id:t}){let n=e.changes.find(e=>e.kind===`element`&&e.id===t);if(!n)return null;let r=e=>e===void 0?`—`:JSON.stringify(e);return(0,T.jsxs)(`section`,{className:`arc-compared`,role:`region`,"aria-label":`Changed in this comparison`,children:[(0,T.jsx)(`h3`,{children:n.type===`changed`?`Changed, ${e.label}`:`${n.type===`added`?`Added`:`Removed`}, ${e.label}`}),n.type===`changed`&&(0,T.jsx)(`dl`,{className:`arc-fields`,children:n.fields.map(e=>(0,T.jsxs)(`div`,{children:[(0,T.jsx)(`dt`,{children:e}),(0,T.jsxs)(`dd`,{children:[r(n.before?.[e]),` → `,r(n.after?.[e])]})]},e))})]})}function pC({workspace:e,id:t,timeline:n,onTime:r}){let i=(0,v.useMemo)(()=>zne(n.revisions,iC({kind:`element`,id:t},[e.bundle])),[e,t,n]);return n.revisions.length===0?(0,T.jsx)(`p`,{className:`arc-empty`,children:`This site has no history.`}):i.length===0?(0,T.jsx)(`p`,{className:`arc-empty`,children:`No Revision changed it.`}):(0,T.jsx)(`ul`,{className:`arc-history-list`,children:i.map(e=>{let t=n.previous(e),i=n.isLatest(e)?null:dS(e);return(0,T.jsxs)(`li`,{children:[(0,T.jsx)(DS,{revision:e}),t?(0,T.jsx)(`button`,{type:`button`,"aria-label":`Compare ${dS(t)} → ${dS(e)}`,onClick:()=>r({at:i,vs:dS(t)}),children:`Compare`}):(0,T.jsx)(`button`,{type:`button`,"aria-label":`Open ${dS(e)}`,onClick:()=>r({at:i,vs:null}),children:`Open`})]},e.sha)})})}var qse=`modulepreload`,Jse=function(e,t){return new URL(e,t).href},j={},mC=function(e){return e.pathname.endsWith(`.css`)},hC=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},gC=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=Jse(t,n);let r=s(t),i=mC(r);return hC(j,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:qse,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{let i=a=>{t.removeEventListener(`load`,i),t.removeEventListener(`error`,i),a.type===`error`?n(Error(`Unable to preload CSS for ${r}`)):e(a)};t.addEventListener(`load`,i),t.addEventListener(`error`,i)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};async function _C(e,t,n,r){let[i,{renderSvg:a}]=await Promise.all([GS(t,n),gC(()=>import(`./svg-Dcwj-YOe.js`),[],import.meta.url)]);if(`error`in i)throw Error(i.error);let{bundle:o}=e,s=a({bundle:o,view:t,layout:i.layout,source:{workspace:e.workspaceName,commit:o.commit,date:o.builtAt}});if(r===`svg`)return new Blob([s],{type:`image/svg+xml`});let[{renderPng:c},{default:l}]=await Promise.all([gC(()=>import(`./png-hM_9_gGt.js`),[],import.meta.url),gC(()=>import(`./index_bg-D3t31u3-.js`),[],import.meta.url)]),u=await c(s,fetch(l));return new Blob([u],{type:`image/png`})}var vC=(e,t,n=!1)=>`${e.replace(/[/:]/g,`-`)}${n?`-picks`:``}.${t}`;function yC(e,t){let n=URL.createObjectURL(e),r=document.createElement(`a`);r.href=n,r.download=t,document.body.append(r),r.click(),r.remove(),setTimeout(()=>URL.revokeObjectURL(n),1e3)}function bC(e,t,n={}){let r=xC(t),i=new Map;for(let t of e.deployments){let e=i.get(t.service)??[];for(let n of[t.url,...t.endpoints.map(e=>e.url)])n&&e.push({environment:t.environment,target:t.target,url:n});i.set(t.service,e)}let a=new Map(e.teams.map(e=>[e.id,e.name])),o=e=>[...n.fields?.includes(`team`)?[e.owner,a.get(e.owner)??``]:[],...n.fields?.includes(`technology`)&&`technology`in e&&e.technology?[e.technology]:[]],s=[];for(let t of e.elements){if(n.kind&&t.kind!==n.kind)continue;let e=SC(r,t)??(wC(r,o(t).map(e=>e.toLowerCase()))===void 0?void 0:2),a=e===void 0?void 0:{element:t,rank:e};for(let e of i.get(t.id)??[]){let n=CC(r,e.url);n!==void 0&&(a===void 0||n<a.rank)&&(a={element:t,rank:n,deployment:e})}a&&s.push(a)}return s.sort((e,t)=>e.rank-t.rank||(e.element.id<t.element.id?-1:+(e.element.id>t.element.id)))}var xC=e=>e.trim().toLowerCase().replace(/\/+$/,``);function SC(e,t){return wC(e,[t.id,t.id.slice(t.id.indexOf(`:`)+1),t.name].map(e=>e.toLowerCase()))}function CC(e,t){let n=xC(t),r=n.replace(/^[a-z][a-z0-9+.-]*:\/\//,``),i=r.replace(/[/?#].*$/,``);return e===n||e===r||e===i?0:[n,r].some(t=>/^[/?#]/.test(e.slice(t.length))&&e.startsWith(t))?1:wC(e,[n,r])}function wC(e,t){if(t.some(t=>t===e))return 0;if(t.some(t=>t.startsWith(e)))return 1;if(t.some(t=>t.includes(e)))return 2}function TC(e){return new Map(e.teams.map((e,t)=>{let n=e.name.split(/[^\p{L}\p{N}]+/u).filter(Boolean),r=(n.length>1?n.map(e=>e[0]).join(``).slice(0,3):(n[0]??e.id).slice(0,3)).toUpperCase();return[e.id,{code:r,color:EC(.62,.13,(30+t*137.508)%360)}]}))}function EC(e,t,n){let r=n*Math.PI/180,[i,a]=[t*Math.cos(r),t*Math.sin(r)],o=(e+.3963377774*i+.2158037573*a)**3,s=(e-.1055613458*i-.0638541728*a)**3,c=(e-.0894841775*i-1.291485548*a)**3;return`#${[4.0767416621*o-3.3077115913*s+.2309699292*c,-1.2684380046*o+2.6097574011*s-.3413193965*c,-.0041960863*o-.7034186147*s+1.707614701*c].map(e=>{let t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.round(Math.min(1,Math.max(0,t))*255).toString(16).padStart(2,`0`)}).join(``)}`}function DC(e,t,n){let r=tt(e,t,n);return r?.kind===`dynamic`?void 0:r}function OC(e){let t=_e(e);return t?.form===`focused`?t.element:void 0}var kC=(e,t)=>e.name.localeCompare(t.name)||e.id.localeCompare(t.id),AC={person:`◉`,system:`▣`,service:`▭`,component:`◇`},jC=class{bundle;byId;targets;teams;views;childrenOf=new Map;viewIds;workspaceName;constructor(e,t=`Workspace`){this.bundle=e,this.workspaceName=t,this.byId=new Map(e.elements.map(e=>[e.id,e])),this.targets=new Map(e.targets.map(e=>[e.id,e])),this.teams=TC(e),this.views=at(e),this.viewIds=new Set(this.views.map(e=>e.id));for(let t of e.elements){let e=this.childrenOf.get(t.parent)??[];e.push(t),this.childrenOf.set(t.parent,e)}for(let e of this.childrenOf.values())e.sort(kC)}children(e){return this.childrenOf.get(e)??[]}ancestors(e){let t=[];for(let n=this.byId.get(e)?.parent??null;n!==null&&!t.includes(n);n=this.byId.get(n)?.parent??null)t.unshift(n);return t}title(e){return this.views.find(t=>t.id===e)?.title}description(e){return this.bundle.views.find(t=>t.id===e)?.description??null}name(e){return this.byId.get(e)?.name??[...this.bundle.teams,...this.bundle.environments].find(t=>t.id===e)?.name??e}wayIn(e){let t=ye(this.bundle,e);return t!==void 0&&OC(t)===e&&this.viewIds.has(t)?t:void 0}deeper(e){if(e===`c1`)return this.viewIds.has(`c2`)?[{label:`C2 Landscape`,view:`c2`}]:[];let t=_e(e);return(t?.form===`landscape`?this.children(null).filter(e=>e.kind===`system`):t?.form===`focused`&&t.level===`c2`?this.children(t.element):[]).flatMap(e=>{let t=this.wayIn(e.id);return t===void 0?[]:[{label:e.name,view:t}]})}deployedIn(e){return this.bundle.environments.map(e=>({environment:e.id,label:e.name,view:ve({form:`deployment`,environment:e.id})})).map(t=>({...t,nodes:DC(this.bundle,t.view,{lens:`none`})?.nodes.filter(t=>t.kind===`deployment`&&t.element===e).map(e=>e.id)??[]})).filter(e=>e.nodes.length>0)}crumbs(e){let t=this.bundle.views.find(t=>t.id===e);if(t)return[{label:`Saved`},{label:this.bundle.projects.find(e=>e.id===t.project)?.name??t.project},{label:t.title,view:e}];let n=[{label:`C1`,view:`c1`}];if(e===`c1`)return n;let r=_e(e);if(r?.form===`deployment`)return[...n,{label:this.title(e)??e,view:e}];n.push({label:`C2 Landscape`,view:`c2`});let i=r?.form===`focused`?this.byId.get(r.element):void 0;if(!i)return n;let a=[...this.ancestors(i.id),i.id].map(e=>this.byId.get(e)).find(e=>e.kind===`system`);return a&&n.push({label:a.name,view:ve({form:`focused`,level:`c2`,element:a.id})}),r?.form===`focused`&&r.level===`c3`&&n.push({label:i.name,view:e}),n}modelByKind(){let e=this.children(null);return[[`People`,e.filter(e=>e.kind===`person`)],[`Systems`,e.filter(e=>e.kind===`system`&&!e.external)],[`External Systems`,e.filter(e=>e.kind===`system`&&e.external)],[`Services`,e.filter(e=>e.kind===`service`)]].filter(([,e])=>e.length>0).map(([e,t])=>({key:`kind:${e}`,label:e,children:t.map(e=>this.elementRow(e,()=>!0))}))}modelByTeam(){return[...this.bundle.teams].sort(kC).map(e=>{let t=this.bundle.elements.filter(t=>t.owner===e.id&&(t.parent===null||this.byId.get(t.parent)?.owner!==e.id)).sort(kC);return{key:`team:${e.id}`,label:e.name,team:this.teams.get(e.id),children:t.map(t=>this.elementRow(t,t=>t.owner===e.id))}}).filter(e=>e.children.length>0)}elementRow(e,t){return{key:e.id,label:e.name,element:e.id,glyph:AC[e.kind],team:this.teams.get(e.owner),children:this.children(e.id).filter(t).map(e=>this.elementRow(e,t))}}viewsByKind(){return[{key:`views:landscapes`,label:`Landscapes`,children:this.landscapeRows()},...this.systemViewGroup(`Systems`,()=>!0),{key:`views:deployment`,label:`Deployment`,children:this.deploymentRows()},{key:`views:dynamic`,label:`Dynamic Views`,children:this.dynamicRows(()=>!0)},{key:`views:saved`,label:`Saved Views`,children:this.savedByProject()}].filter(e=>e.children.length>0)}viewsByTeam(){let e=[...this.bundle.teams].sort(kC).flatMap(e=>{let[t]=this.systemViewGroup(e.name,t=>t===e.id,e.id);return[{...t,children:[...t.children,...this.dynamicRows(t=>t===e.id,e.id),...this.savedRows(t=>t===e.id,e.id)]}]});return[{key:`views:workspace`,label:`Workspace`,children:[...this.landscapeRows(),...this.deploymentRows()]},...e].filter(e=>e.children.length>0)}landscapeRows(){return this.views.filter(e=>_e(e.id)?.form===`landscape`).map(e=>({key:e.id,label:e.title,view:e.id,children:[]}))}savedByProject(){return[...this.bundle.projects].sort(kC).map(e=>({key:`views:saved:${e.id}`,label:e.name,children:this.savedRows(()=>!0,void 0,e.id)})).filter(e=>e.children.length>0)}savedRows(e,t,n){let r=new Map(this.bundle.projects.map(e=>[e.id,e.owner]));return this.bundle.views.filter(t=>t.kind===`structural`&&(n===void 0||t.project===n)&&e(r.get(t.project)??``)).filter(e=>DC(this.bundle,e.id,{lens:`none`})!==void 0).sort((e,t)=>e.title.localeCompare(t.title)||e.id.localeCompare(t.id)).map(e=>({key:e.id,label:e.title,view:e.id,glyph:`◇`,team:t?this.teams.get(t):void 0,children:[]}))}deploymentRows(){return this.views.filter(e=>_e(e.id)?.form===`deployment`).map(e=>({key:e.id,label:e.title,view:e.id,glyph:`⛁`,children:[]}))}dynamicRows(e,t){let n=new Map(this.bundle.projects.map(e=>[e.id,e.owner]));return this.bundle.views.filter(t=>t.kind===`dynamic`&&e(n.get(t.project)??``)).sort((e,t)=>e.title.localeCompare(t.title)||e.id.localeCompare(t.id)).map(e=>({key:e.id,label:e.title,view:e.id,glyph:`▶`,team:t?this.teams.get(t):void 0,children:[]}))}systemViewGroup(e,t,n){let r=e=>({key:e.id,label:e.title,view:e.id,team:n?this.teams.get(n):void 0,children:[]}),i=e=>this.views.filter(n=>{let r=_e(n.id);return r?.form===`focused`&&r.level===e&&t(this.byId.get(r.element)?.owner??``)}),a=i(`c3`),o=new Set,s=i(`c2`).map(e=>{let t=a.filter(t=>this.ancestors(OC(t.id)).includes(OC(e.id)));for(let e of t)o.add(e.id);return{...r(e),children:t.map(r)}}),c=a.filter(e=>!o.has(e.id)).map(r),l=[...s,...c].sort((e,t)=>e.label.localeCompare(t.label));return[{key:`views:${e}`,label:e,team:n?this.teams.get(n):void 0,children:l}]}},MC={Model:`model`,Teams:`teams`,Views:`views`};function NC({workspace:e,view:t,selected:n,home:r,onPickElement:i,onPickView:a,onPickTeam:o,finding:s,onFind:c,onOpenPanel:l}){let[u,d]=(0,v.useState)(null),[f,p]=(0,v.useState)({Model:`kind`,Views:`kind`}),[m,h]=(0,v.useState)(s);s!==m&&(h(s),s&&d(null)),(0,v.useEffect)(()=>{if(!u)return;let e=e=>e.key===`Escape`&&d(null);return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[u]);let g=(0,v.useMemo)(()=>u===`Model`?f.Model===`kind`?e.modelByKind():e.modelByTeam():u===`Views`?f.Views===`kind`?e.viewsByKind():e.viewsByTeam():[],[u,f,e]),_=e=>u===`Views`?e.view===t:e.element!==void 0&&e.element===(n??OC(t));return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsxs)(`nav`,{className:`arc-rail`,"aria-label":`Rail`,children:[(0,T.jsx)(`a`,{className:`arc-logo-link`,href:r,"aria-label":`Archidocs home`,title:`Archidocs home`,children:(0,T.jsxs)(`svg`,{className:`arc-logo`,viewBox:`0 0 64 64`,"aria-hidden":`true`,focusable:`false`,children:[(0,T.jsx)(`path`,{className:`arc-logo-tile`,d:`M17 4H47A13 13 0 0 1 60 17V47A13 13 0 0 1 47 60H42V38A10 10 0 0 0 22 38V60H17A13 13 0 0 1 4 47V17A13 13 0 0 1 17 4Z`}),(0,T.jsx)(`path`,{className:`arc-logo-key`,d:`M26.5 12.5H37.5L35.5 21H28.5Z`})]})}),(0,T.jsxs)(`button`,{type:`button`,className:`arc-rail-button`,title:`Find ( / )`,"aria-label":`Find`,"aria-keyshortcuts":`/`,"aria-pressed":s,onClick:()=>(d(null),c()),children:[(0,T.jsx)(di,{name:`find`}),(0,T.jsx)(`span`,{className:`arc-rail-label`,"aria-hidden":`true`,children:`Find`})]}),[`Model`,`Teams`,`Views`].map(e=>(0,T.jsxs)(`button`,{type:`button`,className:`arc-rail-button`,title:e,"aria-label":e,"aria-expanded":u===e,onClick:()=>{u!==e&&l(),d(u===e?null:e)},children:[(0,T.jsx)(di,{name:MC[e]}),(0,T.jsx)(`span`,{className:`arc-rail-label`,"aria-hidden":`true`,children:e})]},e))]}),u===`Teams`&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`arc-scrim`,onClick:()=>d(null)}),(0,T.jsxs)(`section`,{className:`arc-flyout`,role:`dialog`,"aria-label":`Teams`,children:[(0,T.jsxs)(`header`,{className:`arc-flyout-head`,children:[(0,T.jsx)(`h2`,{children:`Teams`}),(0,T.jsx)(PC,{onClose:()=>d(null)})]}),(0,T.jsx)(`ul`,{className:`arc-team-list`,children:[...e.bundle.teams].sort((e,t)=>e.name.localeCompare(t.name)).map(t=>{let n=e.teams.get(t.id);return(0,T.jsx)(`li`,{children:(0,T.jsxs)(`button`,{type:`button`,className:`arc-row-label`,onClick:()=>{d(null),o(t.id)},children:[(0,T.jsx)(`span`,{className:`arc-row-team`,style:{"--team":n?.color},children:n?.code}),` `,t.name]})},t.id)})})]})]}),u&&u!==`Teams`&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`arc-scrim`,onClick:()=>d(null)}),(0,T.jsxs)(`section`,{className:`arc-flyout`,role:`dialog`,"aria-label":u,children:[(0,T.jsxs)(`header`,{className:`arc-flyout-head`,children:[(0,T.jsx)(`h2`,{children:u}),(0,T.jsx)(PC,{onClose:()=>d(null)})]}),(0,T.jsx)(`div`,{className:`arc-flyout-by`,children:(0,T.jsx)(`div`,{className:`arc-segmented`,role:`radiogroup`,"aria-label":`Group`,children:[`kind`,`team`].map(e=>(0,T.jsxs)(`label`,{children:[(0,T.jsx)(`input`,{type:`radio`,name:`group-${u}`,checked:f[u]===e,onChange:()=>p({...f,[u]:e})}),(0,T.jsx)(`span`,{children:e===`kind`?`By kind`:`By Team`})]},e))})}),(0,T.jsx)(Yse,{label:u,rows:g,isCurrent:_,onPick:e=>{d(null),e.view===void 0?e.element!==void 0&&i(e.element):a(e.view)}},`${u}:${f[u]}`)]})]})]})}function PC({onClose:e}){return(0,T.jsx)(`button`,{type:`button`,className:`arc-flyout-close`,"aria-label":`Close`,onClick:e,children:(0,T.jsx)(di,{name:`close`})})}function Yse({label:e,rows:t,isCurrent:n,onPick:r}){let[i,a]=(0,v.useState)(()=>new Set(Xse(t,n))),o=e=>a(t=>{let n=new Set(t);return n.delete(e)||n.add(e),n}),s=(e,t)=>{let a=e.children.length>0?i.has(e.key):void 0,c=e.view!==void 0||e.element!==void 0;return(0,T.jsxs)(`li`,{role:`treeitem`,"aria-level":t,"aria-expanded":a,"aria-label":e.label,"aria-selected":n(e),children:[(0,T.jsxs)(`div`,{className:n(e)?`arc-row arc-current`:`arc-row`,style:{paddingLeft:8+(t-1)*14},children:[e.children.length>0?(0,T.jsx)(`button`,{type:`button`,className:a?`arc-disclosure arc-open`:`arc-disclosure`,"aria-label":`${a?`Collapse`:`Expand`} ${e.label}`,onClick:()=>o(e.key)}):(0,T.jsx)(`span`,{className:`arc-disclosure-space`}),FC(e)&&(0,T.jsx)(`span`,{className:`arc-vtag arc-vtag-${FC(e).toLowerCase()}`,children:FC(e)}),(0,T.jsxs)(`button`,{type:`button`,className:c?`arc-row-label`:`arc-row-label arc-group`,"aria-current":n(e)?`page`:void 0,onClick:()=>c?r(e):o(e.key),children:[e.view===void 0&&e.glyph&&fi[e.glyph]&&(0,T.jsx)(di,{name:fi[e.glyph],className:`arc-row-icon`}),e.label]}),e.children.length>0&&(0,T.jsx)(`span`,{className:`arc-count`,children:e.children.length}),e.team&&(0,T.jsx)(`span`,{className:`arc-row-team`,style:{"--team":e.team.color},children:e.team.code})]}),a&&(0,T.jsx)(`ul`,{role:`group`,children:e.children.map(e=>s(e,t+1))})]},e.key)};return(0,T.jsx)(`ul`,{className:`arc-tree`,role:`tree`,"aria-label":e,children:t.map(e=>s(e,1))})}function FC(e){if(e.view===void 0)return;if(e.glyph===`▶`)return`Dyn`;if(e.glyph===`◇`)return`Saved`;let t=_e(e.view);if(e.glyph===`⛁`||t?.form===`deployment`)return`Env`;if(t?.form===`landscape`||t?.form===`focused`)return t.level.toUpperCase()}function Xse(e,t,n=[]){for(let r of e){if(t(r))return n;let e=Xse(r.children,t,[...n,r.key]);if(e.length>0)return e}return[]}var Zse=30;function Qse({workspace:e,prompt:t,onPick:n,onClose:r}){let[i,a]=(0,v.useState)(``),o=(0,v.useRef)(null),s=(0,v.useMemo)(()=>i.trim()?bC(e.bundle,i,{fields:[`team`,`technology`]}).slice(0,Zse):[],[e,i]);return(0,v.useEffect)(()=>o.current?.focus(),[]),(0,v.useEffect)(()=>{let e=e=>e.key===`Escape`&&r();return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`arc-scrim`,onClick:r}),(0,T.jsxs)(`section`,{className:`arc-flyout arc-find`,role:`dialog`,"aria-label":`Find`,children:[(0,T.jsxs)(`header`,{className:`arc-flyout-head`,children:[(0,T.jsx)(`h2`,{children:`Find`}),t&&(0,T.jsx)(`p`,{className:`arc-muted`,children:t}),(0,T.jsx)(PC,{onClose:r})]}),(0,T.jsx)(`input`,{ref:o,type:`search`,className:`arc-find-input`,placeholder:`Name, id, Team, technology or URL`,"aria-label":`Find`,"aria-controls":`arc-find-results`,value:i,onChange:e=>a(e.target.value),onKeyDown:e=>{e.key===`Enter`&&s[0]&&n(s[0].element.id)}}),(0,T.jsxs)(`ul`,{className:`arc-results`,id:`arc-find-results`,role:`listbox`,"aria-label":`Results`,children:[s.map(({element:t,deployment:r})=>{let i=e.teams.get(t.owner);return(0,T.jsxs)(`li`,{role:`option`,"aria-selected":`false`,tabIndex:-1,onClick:()=>n(t.id),onKeyDown:e=>e.key===`Enter`&&n(t.id),children:[(0,T.jsxs)(`span`,{className:`arc-result-name`,children:[(0,T.jsx)(di,{name:fi[AC[t.kind]],className:`arc-row-icon`}),t.name]}),(0,T.jsx)(`code`,{className:`arc-muted`,children:t.id}),i&&(0,T.jsx)(`span`,{className:`arc-row-team`,style:{"--team":i.color},children:i.code}),r&&(0,T.jsxs)(`span`,{className:`arc-result-url`,children:[e.name(r.environment),` · `,r.url]})]},t.id)}),!i.trim()&&(0,T.jsx)(`li`,{className:`arc-empty`,children:`Start typing to see matching elements.`}),i.trim()&&s.length===0&&(0,T.jsx)(`li`,{className:`arc-empty`,children:`No matches`})]})]})]})}var IC=e=>e.toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)||`view`;function $se({workspace:e,screen:t,title:n,onClose:r}){let i=(0,v.useMemo)(()=>[...e.bundle.projects].sort((e,t)=>e.name.localeCompare(t.name)),[e]),a=e.bundle.views.find(e=>e.id===t.view)?.project,[o,s]=(0,v.useState)(a??i[0]?.id??``),[c,l]=(0,v.useState)(n),[u,d]=(0,v.useState)(IC(n)),f=(0,v.useMemo)(()=>{if(o)try{return aee(e.bundle,t,{project:o,id:u||`view`,title:c||`View`})}catch(e){return{problem:e instanceof Error?e.message:String(e)}}},[e,t,o,u,c]);return(0,v.useEffect)(()=>{let e=e=>e.key===`Escape`&&r();return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[r]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(`div`,{className:`arc-scrim`,onClick:r}),(0,T.jsxs)(`section`,{className:`arc-dialog`,role:`dialog`,"aria-label":`Save as View`,children:[(0,T.jsxs)(`header`,{className:`arc-flyout-head`,children:[(0,T.jsx)(`h2`,{children:`Save as View`}),(0,T.jsx)(`button`,{type:`button`,className:`arc-chip-clear`,"aria-label":`Close`,onClick:r,children:(0,T.jsx)(`span`,{className:`arc-chip-x`,"aria-hidden":`true`})})]}),(0,T.jsxs)(`div`,{className:`arc-form`,children:[(0,T.jsxs)(`label`,{children:[`Project`,(0,T.jsx)(`select`,{value:o,onChange:e=>s(e.target.value),children:i.map(e=>(0,T.jsx)(`option`,{value:e.id,children:e.name},e.id))})]}),(0,T.jsxs)(`label`,{children:[`Id`,(0,T.jsx)(`input`,{value:u,onChange:e=>d(e.target.value),spellCheck:!1})]}),(0,T.jsxs)(`label`,{children:[`Title`,(0,T.jsx)(`input`,{value:c,onChange:e=>l(e.target.value)})]})]}),f&&`problem`in f&&(0,T.jsx)(`p`,{className:`arc-snippet`,role:`alert`,children:f.problem}),f&&!(`problem`in f)&&(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(ece,{label:`YAML`,hint:`Add to a file in ${e.name(o)}`,text:f.yaml}),(0,T.jsx)(ece,{label:`upsert_view call`,hint:`Or ask an agent to make this MCP call`,text:JSON.stringify(f.call,null,2)})]})]})]})}function ece({label:e,hint:t,text:n}){let[r,i]=(0,v.useState)(!1);return(0,T.jsxs)(`div`,{className:`arc-snippet`,children:[(0,T.jsxs)(`div`,{className:`arc-snippet-head`,children:[(0,T.jsxs)(`span`,{children:[(0,T.jsx)(`strong`,{children:e}),` `,(0,T.jsx)(`span`,{className:`arc-muted`,children:t})]}),(0,T.jsx)(`button`,{type:`button`,className:`arc-tool`,"aria-label":`Copy ${e}`,onClick:()=>void navigator.clipboard.writeText(n).then(()=>i(!0)),children:r?`Copied`:`Copy`})]}),(0,T.jsx)(`pre`,{"aria-label":e,children:n})]})}function tce(){let[e,t]=(0,v.useState)({});return(0,v.useEffect)(()=>{let e=fetch(`./${Rx}`).then(e=>e.ok?e.json():{}).then(e=>e.workspace).catch(()=>void 0);Promise.all([pS.latest(),mS(),e]).then(([e,n,r])=>{nce(n),t({latest:e,timeline:n,name:r})}).catch(e=>t({error:e instanceof Error?e.message:String(e)}))},[]),e}function nce(e){let t=e.previewBase();t&&!gse(window.location.hash)&&oS({...Zx,vs:dS(t)},{replace:!0})}function rce(){let{latest:e,timeline:t,name:n,error:r}=tce();return r?(0,T.jsx)(LC,{title:`Couldn't load the Workspace`,children:r}):!e||!t?(0,T.jsx)(LC,{title:`Loading the Workspace…`}):(0,T.jsx)(ice,{latest:e,timeline:t,name:n})}function ice({latest:e,timeline:t,name:n}){let r=aS(),{state:i,loading:a}=bS(e,t,r.at,r.vs),o=i?.kind===`ready`?i.times:void 0,s=o?.current,c=(0,v.useMemo)(()=>s?new jC(s,n):void 0,[s,n]),l=(0,v.useMemo)(()=>{if(!o?.before)return;let{before:e,current:n,vs:r,at:i}=o;return{before:e,after:n,changes:te(e,n),label:t.compareLabel(r,i)}},[o,t]),u=(0,v.useMemo)(()=>l?new jC(w(l.before,l.after),n):c,[l,c,n]);return i?.kind===`problem`?(0,T.jsx)(Cse,{problem:i.problem,place:r}):!u||!c?(0,T.jsx)(LC,{title:`Loading the Revision…`}):(0,T.jsx)(ace,{workspace:u,plain:c,comparison:l,timeline:t,at:o?.at,loading:a})}function ace({workspace:e,plain:t,comparison:n,timeline:r,at:i,loading:a}){let o=aS(),s=o.open.join(`,`),c=(0,v.useMemo)(()=>n?ct(n.before,n.after,o.view,{expand:o.open,lens:`none`}):DC(e.bundle,o.view,{expand:o.open,lens:`none`}),[e,n,o.view,s]),l=(0,v.useMemo)(()=>{let e=tt(t.bundle,o.view);return e?.kind===`dynamic`?e:void 0},[t,o.view]),u=o.direction??c?.direction,{laidOut:d,error:f}=KS(c,u),[p,m]=(0,v.useState)(),h=!a&&d!==void 0&&p===d&&d.view===c&&d.layout.direction===u,g=e.title(o.view),_=o.lens?JSON.stringify(o.lens):``,y=(0,v.useMemo)(()=>o.lens?DC(e.bundle,o.view,{expand:o.open,lens:o.lens}):void 0,[e,o.view,s,_]),[b,x]=(0,v.useState)(!1),[S,C]=(0,v.useState)(null);(0,v.useEffect)(()=>{document.title=g?`${g} · Archidocs`:`Archidocs`,g&&Sse(o,g)},[$x(o),g]);let w=(0,v.useCallback)(t=>{let n=t&&`path`in t?DC(e.bundle,o.view,{expand:o.open,lens:t})?.nodes.filter(e=>e.mark?.hit).map(e=>e.id)??[]:o.picks;oS({...o,lens:t,picks:n})},[o,e]),ee=(0,v.useCallback)(e=>{let t=S;C(null),e!==t&&w({path:{from:t,to:e,paths:`shortest`}})},[S,w]),te=(0,v.useCallback)(e=>{if(S!==null&&e!==null)return ee(e);oS({...o,selected:e},{replace:!0})},[o,S,ee]),ne=(0,v.useCallback)(e=>oS({...o,picks:o.picks.includes(e)?o.picks.filter(t=>t!==e):[...o.picks,e]},{replace:!0}),[o]);(0,v.useEffect)(()=>{let e=e=>{let t=e.target instanceof HTMLElement&&(e.target.isContentEditable||[`INPUT`,`TEXTAREA`,`SELECT`].includes(e.target.tagName));e.key===`/`&&!t&&!e.metaKey&&!e.ctrlKey&&!e.altKey?(e.preventDefault(),x(!0)):e.key===`Escape`&&!b&&(S===null?o.adr!==null&&oS({...o,adr:null},{replace:!0}):C(null))};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[b,S,o]);let re=(0,v.useCallback)(e=>oS({...o,adr:e},{replace:!0}),[o]),ie=(0,v.useCallback)((t,n)=>{if(n)return oS({...o,open:[...o.open,t]});let r=n=>n===t||e.ancestors(n).includes(t);oS({...o,open:o.open.filter(e=>!r(e)),selected:o.selected!==null&&e.ancestors(o.selected).includes(t)?null:o.selected})},[o,e]),ae=(0,v.useCallback)(t=>{let n=n=>t.some(t=>n===t||e.ancestors(n).includes(t)),r=o.selected!==null&&e.ancestors(o.selected).some(e=>t.includes(e));oS({...o,open:o.open.filter(e=>!n(e)),selected:r?null:o.selected})},[o,e]),oe=(0,v.useCallback)(t=>{let n=c?.nodes.find(e=>e.id===t)?.element??t,r=ye(e.bundle,n);r!==void 0&&r!==o.view&&oS(tS(r,null,o.lens,o))},[o,e,c]),se=(0,v.useCallback)(t=>{let n=oce(e,o,t);if(n)return oS({...o,open:n,selected:t,adr:null},{replace:n.length===o.open.length});let r=e.byId.get(t);oS(tS((r?.kind===`component`?ye(e.bundle,r.parent):r?.kind===`person`?`c1`:ye(e.bundle,t))??`c2`,t,o.lens,o))},[o,e]),ce=(0,v.useCallback)(e=>oS({...o,direction:e===c?.direction?null:e}),[o,c]),le=(0,v.useCallback)(t=>oS(tS(t,null,DC(e.bundle,t,{lens:`own`})?.lens??o.lens,o)),[e,o]),[ue,de]=(0,v.useState)(!1),fe=(0,v.useCallback)((t,n)=>{let r=y??c;r&&_C(e,t===`picks`?it(r,o.picks):r,u,n).then(e=>yC(e,vC(o.view,n,t===`picks`)))},[e,y,c,o.picks,o.view,u]),pe=(0,v.useCallback)((t,n)=>{let r=[n.relationship.from,n.relationship.to],i=[];for(let n of r)i=oce(e,{...tS(t),open:i},n)??i;let a=new Set(DC(e.bundle,t,{expand:i,lens:`none`})?.nodes.map(e=>e.id)??[]),s=[r[0],...e.ancestors(r[0]).reverse()].find(e=>a.has(e))??null;oS({...tS(t,null,null,o),open:i,selected:s})},[e,o]),me=(0,T.jsx)(NC,{workspace:e,view:o.view,selected:o.selected,home:$x({...Zx,at:o.at,vs:o.vs}),onPickElement:se,onPickView:le,onPickTeam:e=>w({team:e}),finding:b,onFind:()=>x(!0),onOpenPanel:()=>x(!1)}),he=o.selected===null?void 0:c?.nodes.find(e=>e.id===o.selected)?.element??o.selected,ge=cce(he!==void 0&&e.byId.has(he)?he:void 0);return l?(0,T.jsxs)(`div`,{className:`arc-app`,children:[me,b&&(0,T.jsx)(Qse,{workspace:e,onClose:()=>x(!1),onPick:e=>{x(!1),se(e)}}),(0,T.jsx)(`main`,{className:`arc-main arc-main-dynamic`,children:(0,T.jsx)(Wse,{workspace:t,view:l,place:o,keys:!b,onOpenStepView:pe,onOpenView:e=>oS(tS(e,null,null,o))})})]}):c?(0,T.jsxs)(`div`,{className:`arc-app`,children:[me,b&&(0,T.jsx)(Qse,{workspace:e,prompt:S===null?void 0:`Pick the node to connect ${e.name(S)} to`,onClose:()=>x(!1),onPick:e=>{x(!1),S===null?se(e):ee(e)}}),(0,T.jsxs)(`main`,{className:i?`arc-main arc-has-time`:`arc-main`,children:[(0,T.jsx)(kS,{workspace:e,place:o,direction:o.direction??c.direction,compare:n?.label,timeline:r,onCollapse:ae,onDirection:ce,onLens:w,onPicks:e=>oS({...o,picks:e},{replace:!0}),onExport:fe,onSaveAsView:()=>de(!0),onTime:e=>oS({...o,...e})}),ue&&(0,T.jsx)($se,{workspace:e,screen:{view:o.view,open:o.open,lens:o.lens,picks:o.picks,direction:o.direction},title:g??c.title,onClose:()=>de(!1)}),i&&(0,T.jsx)(xS,{revision:i,place:o}),S!==null&&(0,T.jsxs)(`p`,{className:`arc-banner`,role:`status`,children:[`Pick the node to connect `,e.name(S),` to: click it, or press / to find it. Escape cancels.`]}),(0,T.jsxs)(`div`,{className:`arc-stage`,children:[n&&(0,T.jsx)(ES,{changes:n.changes,label:n.label,onElement:se,onView:e=>oS(tS(e,null,o.lens,o))}),(0,T.jsxs)(`div`,{className:`arc-canvas`,"data-canvas":!0,"data-state":h?`ready`:`busy`,children:[f&&(0,T.jsxs)(`p`,{className:`arc-error`,children:[`Layout failed: `,f]}),d&&(0,T.jsx)(xne,{workspace:e,laidOut:d,selected:o.selected,open:o.open,fitKey:`${o.view}|${u}`,lensed:y,picks:o.picks,ring:o.lens!==null&&`team`in o.lens,onSelect:te,onPick:ne,onToggle:ie,onOpenView:oe,onSettled:m}),ge!==void 0&&(0,T.jsx)(oC,{workspace:e,id:ge,timeline:r,comparison:n,onLens:w,onConnect:C,onFocus:se,onOpenView:oe,onOpenAdr:re,onTime:e=>oS({...o,...e}),onDeployed:(e,t)=>oS({...tS(e,null,null,o),picks:t}),onClose:()=>te(null)}),o.adr!==null&&(0,T.jsx)(hi,{workspace:e,id:o.adr,beside:ge!==void 0,onClose:()=>re(null),onOpenAdr:re,onFocus:se,onOpenView:e=>oS(tS(e,null,o.lens,o))})]})]})]})]}):(0,T.jsx)(LC,{title:`No View ${o.view}`,children:(0,T.jsx)(`a`,{href:$x({...Zx,at:o.at,vs:o.vs}),children:`Open the C2 Landscape`})})}function oce(e,t,n){let r=[...t.open];for(let i of[...e.ancestors(n),n]){let a=DC(e.bundle,t.view,{expand:r,lens:`none`})?.nodes??[];if(a.some(e=>e.id===n))return r;i!==n&&!r.includes(i)&&a.some(e=>e.id===i)&&r.push(i)}}function LC({title:e,children:t}){return(0,T.jsxs)(`div`,{className:`arc-message`,children:[(0,T.jsx)(`h1`,{children:e}),t&&(0,T.jsx)(`p`,{children:t})]})}var sce=250;function cce(e){let[t,n]=(0,v.useState)(e),[r,i]=(0,v.useState)(e);return e!==r&&(i(e),(e===void 0||r!==void 0)&&n(e)),(0,v.useEffect)(()=>{if(e===void 0||t===e)return;let r=window.setTimeout(()=>n(e),sce);return()=>window.clearTimeout(r)},[e,t]),t===e?e:void 0}var lce=class extends v.Component{state={};static getDerivedStateFromError(e){return{error:e}}render(){let{error:e}=this.state;return e?(0,T.jsxs)(`div`,{className:`arc-message`,role:`alert`,children:[(0,T.jsx)(`h1`,{children:`Something went wrong`}),(0,T.jsx)(`pre`,{className:`arc-crash`,children:`${e.stack??e.message}\n\n${navigator.userAgent}`})]}):this.props.children}};(0,y.createRoot)(document.getElementById(`root`)).render((0,T.jsx)(v.StrictMode,{children:(0,T.jsx)(lce,{children:(0,T.jsx)(rce,{})})}));export{tg as a,Je as c,one as i,ane as n,rne as o,ng as r,tne as s,TC as t};