Configuration
/**
* Sidecar Config for middleware/platformextractors/dealeron.ts
*/
module.exports = {
title: "dealeron.ts",
description: "Auto-generated draft",
};
---
title: "Route Flow: ssutil/src/middleware/platformextractors/dealeron.ts"
---
flowchart TD
title["Route Flow: ssutil/src/middleware/platformextractors/dealeron.ts"]
style title fill:none,stroke:none,color:#B4976A,font-size:18px
extractDealerOn{{"extractDealerOn"}}
style extractDealerOn fill:#161b22,color:#fff,stroke:#c2a35d
linkStyle default stroke:#c2a35d,stroke-width:2px,color:#fff
classDef default color:#fff
---
title: "AST Structure: ssutil/src/middleware/platformextractors/dealeron.ts"
---
graph TD
n0["SF"]
n1["ID"]
n0 --> n1
n3["ScrapeResult"]
n1 --> n3
n3 --> n2
style n3 stroke-dasharray:5,stroke:#B4976A
n2["../platformscrape"]
style n2 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1
n4["ID"]
n0 --> n4
n6["cleanDealerName"]
n4 --> n6
n6 --> n5
style n6 stroke-dasharray:5,stroke:#B4976A
n7["cleanAddressField"]
n4 --> n7
n7 --> n5
style n7 stroke-dasharray:5,stroke:#B4976A
n5["./utils"]
style n5 fill:#ffffff10,stroke:#ffffff33,color:#a1a1a1
n8["VS"]
n0 --> n8
n11["VD: DEALERON_PATTERNS"]
n8 --> n11
n26["FD: extractDealerOn"]
n0 --> n26
n37["VS"]
n26 --> n37
n39["VD: extracted"]
n37 --> n39
n46["VS"]
n26 --> n46
n48["VD: metadataMatch"]
n46 --> n48
n50["CE: html.match"]
n48 --> n50
n57["IS"]
n26 --> n57
n60["TS"]
n57 --> n60
n62["VS"]
n60 --> n62
n64["VD: jsonData"]
n62 --> n64
n66["CE: JSON.parse"]
n64 --> n66
n67["IS"]
n60 --> n67
n73["BE"]
n67 --> n73
n78["CE: String"]
n73 --> n78
n79["IS"]
n60 --> n79
n85["BE"]
n79 --> n85
n94["VD: e"]
n60 --> n94
n97["VS"]
n26 --> n97
n99["VD: jsonLdPattern"]
n97 --> n99
n101["NE"]
n99 --> n101
n108["BE"]
n101 --> n108
n116["VS"]
n26 --> n116
n118["VD: jsonLdMatch"]
n116 --> n118
n121["BE"]
n26 --> n121
n123["BE"]
n121 --> n123
n126["CE: jsonLdPattern.exec"]
n123 --> n126
n134["TS"]
n26 --> n134
n136["VS"]
n134 --> n136
n138["VD: jsonData"]
n136 --> n138
n140["CE: JSON.parse"]
n138 --> n140
n147["VS"]
n134 --> n147
n149["VD: isDealerType"]
n147 --> n149
n151["BE"]
n149 --> n151
n152["BE"]
n151 --> n152
n154["BE"]
n151 --> n154
n155["IS"]
n134 --> n155
n158["IS"]
n155 --> n158
n159["BE"]
n158 --> n159
n170["BE"]
n158 --> n170
n175["CE: cleanDealerName"]
n170 --> n175
n176["IS"]
n155 --> n176
n177["BE"]
n176 --> n177
n188["BE"]
n176 --> n188
n196["IS"]
n176 --> n196
n197["BE"]
n196 --> n197
n200["BE"]
n196 --> n200
n201["IS"]
n155 --> n201
n202["BE"]
n201 --> n202
n213["BE"]
n201 --> n213
n218["CE: jsonData.telephone.replace"]
n213 --> n218
n219["IS"]
n155 --> n219
n220["BE"]
n219 --> n220
n230["VS"]
n219 --> n230
n232["VD: addr"]
n230 --> n232
n234["BE"]
n219 --> n234
n243["CE: cleanAddressField"]
n234 --> n243
n246["CE: cleanAddressField"]
n234 --> n246
n249["CE: cleanAddressField"]
n234 --> n249
n252["CE: cleanAddressField"]
n234 --> n252
n255["CE: cleanAddressField"]
n234 --> n255
n256["IS"]
n155 --> n256
n257["BE"]
n256 --> n257
n268["BE"]
n256 --> n268
n276["IS"]
n256 --> n276
n277["BE"]
n276 --> n277
n280["BE"]
n276 --> n280
n281["IS"]
n155 --> n281
n282["BE"]
n281 --> n282
n293["BE"]
n281 --> n293
n302["VD: e"]
n134 --> n302
n306["RS"]
n26 --> n306
style n0 fill:#5E377B,color:#fff,stroke:#B4976A
linkStyle default stroke:#c2a35d,stroke-width:1px,opacity:0.6
BE BinaryExpressionCE CallExpressionFD FunctionDeclarationIS IfStatementID ImportDeclarationNE NewExpressionRS ReturnStatementSF SourceFileTS TryStatementVD VariableDeclarationVS VariableStatement