Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
<svg id="my-svg" width="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="flowchart" style="max-width: 2595.44px; background-color: white;" viewBox="0 0 2595.4375 596" role="graphics-document document" aria-roledescription="flowchart-v2"><style>#my-svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;fill:#333;}@keyframes edge-animation-frame{from{stroke-dashoffset:0;}}@keyframes dash{to{stroke-dashoffset:0;}}#my-svg .edge-animation-slow{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 50s linear infinite;stroke-linecap:round;}#my-svg .edge-animation-fast{stroke-dasharray:9,5!important;stroke-dashoffset:900;animation:dash 20s linear infinite;stroke-linecap:round;}#my-svg .error-icon{fill:#552222;}#my-svg .error-text{fill:#552222;stroke:#552222;}#my-svg .edge-thickness-normal{stroke-width:1px;}#my-svg .edge-thickness-thick{stroke-width:3.5px;}#my-svg .edge-pattern-solid{stroke-dasharray:0;}#my-svg .edge-thickness-invisible{stroke-width:0;fill:none;}#my-svg .edge-pattern-dashed{stroke-dasharray:3;}#my-svg .edge-pattern-dotted{stroke-dasharray:2;}#my-svg .marker{fill:#333333;stroke:#333333;}#my-svg .marker.cross{stroke:#333333;}#my-svg svg{font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:16px;}#my-svg p{margin:0;}#my-svg .label{font-family:"trebuchet ms",verdana,arial,sans-serif;color:#333;}#my-svg .cluster-label text{fill:#333;}#my-svg .cluster-label span{color:#333;}#my-svg .cluster-label span p{background-color:transparent;}#my-svg .label text,#my-svg span{fill:#333;color:#333;}#my-svg .node rect,#my-svg .node circle,#my-svg .node ellipse,#my-svg .node polygon,#my-svg .node path{fill:#ECECFF;stroke:#9370DB;stroke-width:1px;}#my-svg .rough-node .label text,#my-svg .node .label text,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-anchor:middle;}#my-svg .node .katex path{fill:#000;stroke:#000;stroke-width:1px;}#my-svg .rough-node .label,#my-svg .node .label,#my-svg .image-shape .label,#my-svg .icon-shape .label{text-align:center;}#my-svg .node.clickable{cursor:pointer;}#my-svg .root .anchor path{fill:#333333!important;stroke-width:0;stroke:#333333;}#my-svg .arrowheadPath{fill:#333333;}#my-svg .edgePath .path{stroke:#333333;stroke-width:1px;}#my-svg .flowchart-link{stroke:#333333;fill:none;}#my-svg .edgeLabel{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .edgeLabel p{background-color:rgba(232,232,232, 0.8);}#my-svg .edgeLabel rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .labelBkg{background-color:rgba(232, 232, 232, 0.5);}#my-svg .cluster rect{fill:#ffffde;stroke:#aaaa33;stroke-width:1px;}#my-svg .cluster text{fill:#333;}#my-svg .cluster span{color:#333;}#my-svg div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:"trebuchet ms",verdana,arial,sans-serif;font-size:12px;background:hsl(80, 100%, 96.2745098039%);border:1px solid #aaaa33;border-radius:2px;pointer-events:none;z-index:100;}#my-svg .flowchartTitleText{text-anchor:middle;font-size:18px;fill:#333;}#my-svg rect.text{fill:none;stroke-width:0;}#my-svg .icon-shape,#my-svg .image-shape{background-color:rgba(232,232,232, 0.8);text-align:center;}#my-svg .icon-shape p,#my-svg .image-shape p{background-color:rgba(232,232,232, 0.8);padding:2px;}#my-svg .icon-shape .label rect,#my-svg .image-shape .label rect{opacity:0.5;background-color:rgba(232,232,232, 0.8);fill:rgba(232,232,232, 0.8);}#my-svg .label-icon{display:inline-block;height:1em;overflow:visible;vertical-align:-0.125em;}#my-svg .node .label-icon path{fill:currentColor;stroke:revert;stroke-width:revert;}#my-svg .node .neo-node{stroke:#9370DB;}#my-svg [data-look="neo"].node rect,#my-svg [data-look="neo"].cluster rect,#my-svg [data-look="neo"].node polygon{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node path{stroke:#9370DB;stroke-width:1px;}#my-svg [data-look="neo"].node .outer-path{filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node .neo-line path{stroke:#9370DB;filter:none;}#my-svg [data-look="neo"].node circle{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].node circle .state-start{fill:#000000;}#my-svg [data-look="neo"].icon-shape .icon{fill:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg [data-look="neo"].icon-shape .icon-neo path{stroke:#9370DB;filter:drop-shadow(1px 2px 2px rgba(185, 185, 185, 1));}#my-svg :root{--mermaid-font-family:"trebuchet ms",verdana,arial,sans-serif;}</style><g><marker id="my-svg_flowchart-v2-pointEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="4.5" refY="5" markerUnits="userSpaceOnUse" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 5 L 10 10 L 10 0 z" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointEnd-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="11.5" refY="7" markerUnits="userSpaceOnUse" markerWidth="10.5" markerHeight="14" orient="auto"><path d="M 0 0 L 11.5 7 L 0 14 z" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-pointStart-margin" class="marker flowchart-v2" viewBox="0 0 11.5 14" refX="1" refY="7" markerUnits="userSpaceOnUse" markerWidth="11.5" markerHeight="14" orient="auto"><polygon points="0,7 11.5,14 11.5,0" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd" class="marker flowchart-v2" viewBox="0 0 10 10" refX="11" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-1" refY="5" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 1; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleEnd-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refY="5" refX="12.25" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-circleStart-margin" class="marker flowchart-v2" viewBox="0 0 10 10" refX="-2" refY="5" markerUnits="userSpaceOnUse" markerWidth="14" markerHeight="14" orient="auto"><circle cx="5" cy="5" r="5" class="arrowMarkerPath" style="stroke-width: 0; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="12" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossStart" class="marker cross flowchart-v2" viewBox="0 0 11 11" refX="-1" refY="5.2" markerUnits="userSpaceOnUse" markerWidth="11" markerHeight="11" orient="auto"><path d="M 1,1 l 9,9 M 10,1 l -9,9" class="arrowMarkerPath" style="stroke-width: 2; stroke-dasharray: 1, 0;"/></marker><marker id="my-svg_flowchart-v2-crossEnd-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="17.7" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5;"/></marker><marker id="my-svg_flowchart-v2-crossStart-margin" class="marker cross flowchart-v2" viewBox="0 0 15 15" refX="-3.5" refY="7.5" markerUnits="userSpaceOnUse" markerWidth="12" markerHeight="12" orient="auto"><path d="M 1,1 L 14,14 M 1,14 L 14,1" class="arrowMarkerPath" style="stroke-width: 2.5; stroke-dasharray: 1, 0;"/></marker><g class="root"><g class="clusters"/><g class="edgePaths"><path d="M190.734,171L194.901,171C199.068,171,207.401,171,215.068,171C222.734,171,229.734,171,233.234,171L236.734,171" id="my-svg-L_Req_Strip_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Req_Strip_0" data-points="W3sieCI6MTkwLjczNDM3NSwieSI6MTcxfSx7IngiOjIxNS43MzQzNzUsInkiOjE3MX0seyJ4IjoyNDAuNzM0Mzc1LCJ5IjoxNzF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M500.734,171L504.901,171C509.068,171,517.401,171,525.068,171C532.734,171,539.734,171,543.234,171L546.734,171" id="my-svg-L_Strip_Classify_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Strip_Classify_0" data-points="W3sieCI6NTAwLjczNDM3NSwieSI6MTcxfSx7IngiOjUyNS43MzQzNzUsInkiOjE3MX0seyJ4Ijo1NTAuNzM0Mzc1LCJ5IjoxNzF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M667.108,144L687.147,127.833C707.187,111.667,747.265,79.333,793.219,63.167C839.172,47,891,47,944.751,47C998.503,47,1054.177,47,1110.445,47C1166.714,47,1223.576,47,1287.74,47C1351.904,47,1423.37,47,1483.75,47C1544.13,47,1593.424,47,1618.072,47L1642.719,47" id="my-svg-L_Classify_PubP_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Classify_PubP_0" data-points="W3sieCI6NjY3LjEwODI0MDkyNzQxOTQsInkiOjE0NH0seyJ4Ijo3ODcuMzQzNzUsInkiOjQ3fSx7IngiOjk0Mi44MjgxMjUsInkiOjQ3fSx7IngiOjExMDkuODUxNTYyNSwieSI6NDd9LHsieCI6MTI4MC40Mzc1LCJ5Ijo0N30seyJ4IjoxNDk0LjgzNTkzNzUsInkiOjQ3fSx7IngiOjE2NDYuNzE4NzUsInkiOjQ3fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M716.547,171L728.346,171C740.146,171,763.745,171,786.677,171C809.609,171,831.875,171,843.008,171L854.141,171" id="my-svg-L_Classify_CliP_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Classify_CliP_0" data-points="W3sieCI6NzE2LjU0Njg3NSwieSI6MTcxfSx7IngiOjc4Ny4zNDM3NSwieSI6MTcxfSx7IngiOjg1OC4xNDA2MjUsInkiOjE3MX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M649.126,198L672.162,238.167C695.198,278.333,741.271,358.667,790.221,398.833C839.172,439,891,439,944.751,439C998.503,439,1054.177,439,1110.445,439C1166.714,439,1223.576,439,1287.74,439C1351.904,439,1423.37,439,1479.461,439C1535.552,439,1576.268,439,1596.626,439L1616.984,439" id="my-svg-L_Classify_MgmtP_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Classify_MgmtP_0" data-points="W3sieCI6NjQ5LjEyNTY0MTMyNDYyNjgsInkiOjE5OH0seyJ4Ijo3ODcuMzQzNzUsInkiOjQzOX0seyJ4Ijo5NDIuODI4MTI1LCJ5Ijo0Mzl9LHsieCI6MTEwOS44NTE1NjI1LCJ5Ijo0Mzl9LHsieCI6MTI4MC40Mzc1LCJ5Ijo0Mzl9LHsieCI6MTQ5NC44MzU5Mzc1LCJ5Ijo0Mzl9LHsieCI6MTYyMC45ODQzNzUsInkiOjQzOX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1855.25,47L1878.529,47C1901.807,47,1948.365,47,2004.656,84.003C2060.947,121.005,2126.971,195.01,2159.983,232.013L2192.996,269.015" id="my-svg-L_PubP_Stamp_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_PubP_Stamp_0" data-points="W3sieCI6MTg1NS4yNSwieSI6NDd9LHsieCI6MTk5NC45MjE4NzUsInkiOjQ3fSx7IngiOjIxOTUuNjU4NzM1Nzk1NDU0NSwieSI6MjcyfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1027.516,171L1041.238,171C1054.961,171,1082.406,171,1109.185,171C1135.964,171,1162.076,171,1175.132,171L1188.188,171" id="my-svg-L_CliP_Validate_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_CliP_Validate_0" data-points="W3sieCI6MTAyNy41MTU2MjUsInkiOjE3MX0seyJ4IjoxMTA5Ljg1MTU2MjUsInkiOjE3MX0seyJ4IjoxMTkyLjE4NzUsInkiOjE3MX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1368.688,155.359L1389.712,151.632C1410.737,147.906,1452.786,140.453,1516.503,136.726C1580.219,133,1665.602,133,1748.949,133C1832.297,133,1913.609,133,1984.388,155.765C2055.167,178.529,2115.412,224.059,2145.534,246.824L2175.657,269.588" id="my-svg-L_Validate_Stamp_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Validate_Stamp_0" data-points="W3sieCI6MTM2OC42ODc1LCJ5IjoxNTUuMzU4NTYxMzgxNzczMTR9LHsieCI6MTQ5NC44MzU5Mzc1LCJ5IjoxMzN9LHsieCI6MTc1MC45ODQzNzUsInkiOjEzM30seyJ4IjoxOTk0LjkyMTg3NSwieSI6MTMzfSx7IngiOjIxNzguODQ3OTYzNDgzMTQ2LCJ5IjoyNzJ9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1368.688,185.818L1389.712,189.349C1410.737,192.879,1452.786,199.939,1501.719,203.47C1550.651,207,1606.466,207,1634.374,207L1662.281,207" id="my-svg-L_Validate_Reject401_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Validate_Reject401_0" data-points="W3sieCI6MTM2OC42ODc1LCJ5IjoxODUuODE4MjA1MDA2NzQxMjR9LHsieCI6MTQ5NC44MzU5Mzc1LCJ5IjoyMDd9LHsieCI6MTY2Ni4yODEyNSwieSI6MjA3fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1321.786,198L1350.627,216.833C1379.469,235.667,1437.153,273.333,1489.528,292.167C1541.904,311,1588.971,311,1612.505,311L1636.039,311" id="my-svg-L_Validate_Anon_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Validate_Anon_0" data-points="W3sieCI6MTMyMS43ODU3NzAwODkyODU3LCJ5IjoxOTh9LHsieCI6MTQ5NC44MzU5Mzc1LCJ5IjozMTF9LHsieCI6MTY0MC4wMzkwNjI1LCJ5IjozMTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1861.93,311L1884.095,311C1906.26,311,1950.591,311,1991.079,311C2031.568,311,2068.214,311,2086.536,311L2104.859,311" id="my-svg-L_Anon_Stamp_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Anon_Stamp_0" data-points="W3sieCI6MTg2MS45Mjk2ODc1LCJ5IjozMTF9LHsieCI6MTk5NC45MjE4NzUsInkiOjMxMX0seyJ4IjoyMTA4Ljg1OTM3NSwieSI6MzExfV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1880.984,401.695L1899.974,396.246C1918.964,390.797,1956.943,379.898,1994.275,369.932C2031.606,359.966,2068.291,350.933,2086.633,346.416L2104.975,341.899" id="my-svg-L_MgmtP_Stamp_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MgmtP_Stamp_0" data-points="W3sieCI6MTg4MC45ODQzNzUsInkiOjQwMS42OTUzNjI1NDE2MzQ2fSx7IngiOjE5OTQuOTIxODc1LCJ5IjozNjl9LHsieCI6MjEwOC44NTkzNzUsInkiOjM0MC45NDI2ODI3NjUwMjU5fV0=" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1880.984,425.144L1899.974,423.12C1918.964,421.096,1956.943,417.048,1999.566,404.789C2042.19,392.53,2089.458,372.06,2113.092,361.825L2136.726,351.59" id="my-svg-L_MgmtP_Stamp_2" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MgmtP_Stamp_2" data-points="W3sieCI6MTg4MC45ODQzNzUsInkiOjQyNS4xNDM5OTE4MDExNzg2fSx7IngiOjE5OTQuOTIxODc1LCJ5Ijo0MTN9LHsieCI6MjE0MC4zOTcwNTg4MjM1MjkzLCJ5IjozNTB9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1880.984,448.593L1899.974,449.994C1918.964,451.395,1956.943,454.198,2000.404,455.599C2043.865,457,2092.807,457,2117.279,457L2141.75,457" id="my-svg-L_MgmtP_Reject403_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MgmtP_Reject403_0" data-points="W3sieCI6MTg4MC45ODQzNzUsInkiOjQ0OC41OTI2MjEwNjA3MjI1NH0seyJ4IjoxOTk0LjkyMTg3NSwieSI6NDU3fSx7IngiOjIxNDUuNzUsInkiOjQ1N31d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M1852.958,490L1876.619,501.833C1900.279,513.667,1947.601,537.333,1995.731,549.167C2043.862,561,2092.802,561,2117.272,561L2141.742,561" id="my-svg-L_MgmtP_Reject401Mgmt_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_MgmtP_Reject401Mgmt_0" data-points="W3sieCI6MTg1Mi45NTgyNDc5NTA4MTk3LCJ5Ijo0OTB9LHsieCI6MTk5NC45MjE4NzUsInkiOjU2MX0seyJ4IjoyMTQ1Ljc0MjE4NzUsInkiOjU2MX1d" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/><path d="M2352.047,311L2356.214,311C2360.38,311,2368.714,311,2376.38,311C2384.047,311,2391.047,311,2394.547,311L2398.047,311" id="my-svg-L_Stamp_Handler_0" class="edge-thickness-normal edge-pattern-solid edge-thickness-normal edge-pattern-solid flowchart-link" style=";" data-edge="true" data-et="edge" data-id="L_Stamp_Handler_0" data-points="W3sieCI6MjM1Mi4wNDY4NzUsInkiOjMxMX0seyJ4IjoyMzc3LjA0Njg3NSwieSI6MzExfSx7IngiOjI0MDIuMDQ2ODc1LCJ5IjozMTF9XQ==" data-look="classic" marker-end="url(#my-svg_flowchart-v2-pointEnd)"/></g><g class="edgeLabels"><g class="edgeLabel"><g class="label" data-id="L_Req_Strip_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Strip_Classify_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1109.8515625, 47)"><g class="label" data-id="L_Classify_PubP_0" transform="translate(-28.8984375, -12)"><foreignObject width="57.796875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>PUBLIC</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(787.34375, 171)"><g class="label" data-id="L_Classify_CliP_0" transform="translate(-45.796875, -12)"><foreignObject width="91.59375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>CLIENT_API</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1109.8515625, 439)"><g class="label" data-id="L_Classify_MgmtP_0" transform="translate(-57.3359375, -12)"><foreignObject width="114.671875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>MANAGEMENT</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1994.921875, 47)"><g class="label" data-id="L_PubP_Stamp_0" transform="translate(-18.234375, -12)"><foreignObject width="36.46875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>allow</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1109.8515625, 171)"><g class="label" data-id="L_CliP_Validate_0" transform="translate(-50.2421875, -12)"><foreignObject width="100.484375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>extract Bearer</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1750.984375, 133)"><g class="label" data-id="L_Validate_Stamp_0" transform="translate(-16.453125, -12)"><foreignObject width="32.90625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>valid</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1494.8359375, 207)"><g class="label" data-id="L_Validate_Reject401_0" transform="translate(-100, -24)"><foreignObject width="200" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>invalid (REQUIRE_API_KEY=true)</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1494.8359375, 311)"><g class="label" data-id="L_Validate_Anon_0" transform="translate(-101.1484375, -24)"><foreignObject width="202.296875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="edgeLabel"><p>absent (REQUIRE_API_KEY=false)</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Anon_Stamp_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1994.34776, 369.16475)"><g class="label" data-id="L_MgmtP_Stamp_0" transform="translate(-37.796875, -12)"><foreignObject width="75.59375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>session ok</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(2015.08622, 404.26756)"><g class="label" data-id="L_MgmtP_Stamp_2" transform="translate(-88.9375, -12)"><foreignObject width="177.875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>Bearer w/ manage scope</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1994.921875, 457)"><g class="label" data-id="L_MgmtP_Reject403_0" transform="translate(-48.9140625, -12)"><foreignObject width="97.828125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>Bearer invalid</p></span></div></foreignObject></g></g><g class="edgeLabel" transform="translate(1994.921875, 561)"><g class="label" data-id="L_MgmtP_Reject401Mgmt_0" transform="translate(-26.6953125, -12)"><foreignObject width="53.390625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"><p>no auth</p></span></div></foreignObject></g></g><g class="edgeLabel"><g class="label" data-id="L_Stamp_Handler_0" transform="translate(0, 0)"><foreignObject width="0" height="0"><div xmlns="http://www.w3.org/1999/xhtml" class="labelBkg" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="edgeLabel"></span></div></foreignObject></g></g></g><g class="nodes"><g class="node default" id="my-svg-flowchart-Req-0" data-look="classic" transform="translate(99.3671875, 171)"><rect class="basic label-container" style="" x="-91.3671875" y="-27" width="182.734375" height="54"/><g class="label" style="" transform="translate(-61.3671875, -12)"><rect/><foreignObject width="122.734375" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Incoming request</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Strip-1" data-look="classic" transform="translate(370.734375, 171)"><rect class="basic label-container" style="" x="-130" y="-51" width="260" height="102"/><g class="label" style="" transform="translate(-100, -36)"><rect/><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>Strip trusted internal headers<br />(x-omniroute-auth-*)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Classify-3" data-look="classic" transform="translate(633.640625, 171)"><rect class="basic label-container" style="" x="-82.90625" y="-27" width="165.8125" height="54"/><g class="label" style="" transform="translate(-52.90625, -12)"><rect/><foreignObject width="105.8125" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>classifyRoute()</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-PubP-5" data-look="classic" transform="translate(1750.984375, 47)"><rect class="basic label-container" style="" x="-104.265625" y="-39" width="208.53125" height="78"/><g class="label" style="" transform="translate(-74.265625, -24)"><rect/><foreignObject width="148.53125" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>publicPolicy<br />(login, health, status)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-CliP-7" data-look="classic" transform="translate(942.828125, 171)"><rect class="basic label-container" style="" x="-84.6875" y="-39" width="169.375" height="78"/><g class="label" style="" transform="translate(-54.6875, -24)"><rect/><foreignObject width="109.375" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>clientApiPolicy<br />(/api/v1/*, /v1/*)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-MgmtP-9" data-look="classic" transform="translate(1750.984375, 439)"><rect class="basic label-container" style="" x="-130" y="-51" width="260" height="102"/><g class="label" style="" transform="translate(-100, -36)"><rect/><foreignObject width="200" height="72"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table; white-space: break-spaces; line-height: 1.5; max-width: 200px; text-align: center; width: 200px;"><span class="nodeLabel"><p>managementPolicy<br />(dashboard, settings, admin)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Stamp-11" data-look="classic" transform="translate(2230.453125, 311)"><rect class="basic label-container" style="" x="-121.59375" y="-39" width="243.1875" height="78"/><g class="label" style="" transform="translate(-91.59375, -24)"><rect/><foreignObject width="183.1875" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Stamp x-omniroute-auth-*<br />(kind / id / label / scopes)</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Validate-13" data-look="classic" transform="translate(1280.4375, 171)"><rect class="basic label-container" style="" x="-88.25" y="-27" width="176.5" height="54"/><g class="label" style="" transform="translate(-58.25, -12)"><rect/><foreignObject width="116.5" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>validateApiKey()</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Reject401-17" data-look="classic" transform="translate(1750.984375, 207)"><rect class="basic label-container" style="" x="-84.703125" y="-27" width="169.40625" height="54"/><g class="label" style="" transform="translate(-54.703125, -12)"><rect/><foreignObject width="109.40625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>401 AUTH_002</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Anon-19" data-look="classic" transform="translate(1750.984375, 311)"><rect class="basic label-container" style="" x="-110.9453125" y="-27" width="221.890625" height="54"/><g class="label" style="" transform="translate(-80.9453125, -12)"><rect/><foreignObject width="161.890625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>anonymous fallthrough</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Reject403-26" data-look="classic" transform="translate(2230.453125, 457)"><rect class="basic label-container" style="" x="-84.703125" y="-27" width="169.40625" height="54"/><g class="label" style="" transform="translate(-54.703125, -12)"><rect/><foreignObject width="109.40625" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>403 AUTH_001</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Reject401Mgmt-28" data-look="classic" transform="translate(2230.453125, 561)"><rect class="basic label-container" style="" x="-84.7109375" y="-27" width="169.421875" height="54"/><g class="label" style="" transform="translate(-54.7109375, -12)"><rect/><foreignObject width="109.421875" height="24"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>401 / 302 /login</p></span></div></foreignObject></g></g><g class="node default" id="my-svg-flowchart-Handler-30" data-look="classic" transform="translate(2494.7421875, 311)"><rect class="basic label-container" style="" x="-92.6953125" y="-39" width="185.390625" height="78"/><g class="label" style="" transform="translate(-62.6953125, -24)"><rect/><foreignObject width="125.390625" height="48"><div xmlns="http://www.w3.org/1999/xhtml" style="display: table-cell; white-space: nowrap; line-height: 1.5; max-width: 200px; text-align: center;"><span class="nodeLabel"><p>Handler<br />(uses assertAuth)</p></span></div></foreignObject></g></g></g></g></g><defs><filter id="my-svg-drop-shadow" height="130%" width="130%"><feDropShadow dx="4" dy="4" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs><defs><filter id="my-svg-drop-shadow-small" height="150%" width="150%"><feDropShadow dx="2" dy="2" stdDeviation="0" flood-opacity="0.06" flood-color="#000000"/></filter></defs></svg>