---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
   DestructuredArgument {
    identifier: "options",
    default: None,
   },
  ],
  ellipsis: false,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (6, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "services",
         position: (6, 16),
        },
        Raw {
         content: "prometheus",
         position: (6, 25),
        },
        Raw {
         content: "exporters",
         position: (6, 36),
        },
        Raw {
         content: "flow",
         position: (6, 46),
        },
       ],
      },
      default: None,
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "port",
         position: (8, 3),
        },
       ],
      },
      to: Int {
       value: 9590,
       position: (8, 10),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "extraOpts",
         position: (9, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "brokers",
            position: (10, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (10, 15),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (11, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (11, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listOf",
                   position: (11, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (11, 27),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "str",
                    position: (11, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (12, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (12, 17),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "[ \"kafka.example.org:19092\" ]",
                   position: (12, 37),
                  },
                 ],
                 position: (12, 35),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (13, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "List of Kafka brokers to connect to.",
                 position: (13, 22),
                },
               ],
               position: (13, 21),
              },
             },
            ],
            recursive: false,
            position: (10, 24),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "asn",
            position: (16, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (16, 11),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (17, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (17, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "ints",
                  position: (17, 20),
                 },
                 Raw {
                  content: "positive",
                  position: (17, 25),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (18, 7),
                },
               ],
              },
              to: Int {
               value: 65542,
               position: (18, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (19, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "The ASN being monitored.",
                 position: (19, 22),
                },
               ],
               position: (19, 21),
              },
             },
            ],
            recursive: false,
            position: (16, 20),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "partitions",
            position: (22, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (22, 18),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (23, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (23, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listOf",
                   position: (23, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (23, 27),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "int",
                    position: (23, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (24, 7),
                },
               ],
              },
              to: List {
               elements: [],
               position: (24, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (25, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "The number of the partitions to consume, none means all.\n",
                 position: (26, 1),
                },
               ],
               position: (25, 21),
              },
             },
            ],
            recursive: false,
            position: (22, 27),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "topic",
            position: (30, 5),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (30, 13),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (31, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (31, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "str",
                  position: (31, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (32, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "pmacct.acct",
                 position: (32, 18),
                },
               ],
               position: (32, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (33, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "The Kafka topic to consume from.",
                 position: (33, 22),
                },
               ],
               position: (33, 21),
              },
             },
            ],
            recursive: false,
            position: (30, 22),
           },
          ],
         },
        },
       ],
       recursive: false,
       position: (9, 15),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "serviceOpts",
         position: (37, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "serviceConfig",
            position: (38, 5),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "DynamicUser",
               position: (39, 7),
              },
             ],
            },
            to: Variable {
             identifier: "true",
             position: (39, 21),
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "ExecStart",
               position: (40, 7),
              },
             ],
            },
            to: String {
             parts: [
              Raw {
               content: "",
               position: (41, 1),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (41, 11),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "prometheus-flow-exporter",
                   position: (41, 16),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: "/bin/flow-exporter \\\n  -asn ",
               position: (41, 41),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (42, 18),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (42, 27),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "asn",
                     position: (42, 31),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: " \\\n  -topic ",
               position: (42, 35),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (43, 20),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "topic",
                   position: (43, 24),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: " \\\n  -brokers ",
               position: (43, 30),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "concatStringsSep",
                 position: (44, 22),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: ",",
                    position: (44, 40),
                   },
                  ],
                  position: (44, 39),
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (44, 43),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "brokers",
                     position: (44, 47),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: " \\\n  ",
               position: (44, 55),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "optionalString",
                 position: (45, 13),
                },
                arguments: [
                 Parentheses {
                  expression: BinaryOperation {
                   operator: NotEqualTo,
                   operands: [
                    PropertyAccess {
                     expression: Variable {
                      identifier: "cfg",
                      position: (45, 29),
                     },
                     attribute_path: AttributePath {
                      parts: [
                       Raw {
                        content: "partitions",
                        position: (45, 33),
                       },
                      ],
                     },
                     default: None,
                    },
                    List {
                     elements: [],
                     position: (45, 47),
                    },
                   ],
                   position: (45, 44),
                  },
                  position: (45, 28),
                 },
                 String {
                  parts: [
                   Raw {
                    content: "-partitions ",
                    position: (45, 52),
                   },
                   Expression {
                    expression: FunctionApplication {
                     function: Variable {
                      identifier: "concatStringsSep",
                      position: (45, 66),
                     },
                     arguments: [
                      String {
                       parts: [
                        Raw {
                         content: ",",
                         position: (45, 84),
                        },
                       ],
                       position: (45, 83),
                      },
                      PropertyAccess {
                       expression: Variable {
                        identifier: "cfg",
                        position: (45, 87),
                       },
                       attribute_path: AttributePath {
                        parts: [
                         Raw {
                          content: "partitions",
                          position: (45, 91),
                         },
                        ],
                       },
                       default: None,
                      },
                     ],
                    },
                   },
                  ],
                  position: (45, 51),
                 },
                ],
               },
              },
              Raw {
               content: " \\\n  -addr ",
               position: (45, 104),
              },
              Expression {
               expression: PropertyAccess {
                expression: Variable {
                 identifier: "cfg",
                 position: (46, 19),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listenAddress",
                   position: (46, 23),
                  },
                 ],
                },
                default: None,
               },
              },
              Raw {
               content: ":",
               position: (46, 37),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "toString",
                 position: (46, 40),
                },
                arguments: [
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (46, 49),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "port",
                     position: (46, 53),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: " ",
               position: (46, 58),
              },
              Expression {
               expression: FunctionApplication {
                function: Variable {
                 identifier: "concatStringsSep",
                 position: (46, 61),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: " ",
                    position: (46, 79),
                   },
                  ],
                  position: (46, 78),
                 },
                 PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (46, 82),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "extraFlags",
                     position: (46, 86),
                    },
                   ],
                  },
                  default: None,
                 },
                ],
               },
              },
              Raw {
               content: "\n",
               position: (46, 97),
              },
             ],
             position: (40, 19),
            },
           },
          ],
          recursive: false,
          position: (38, 21),
         },
        },
       ],
       recursive: false,
       position: (37, 17),
      },
     },
    ],
    recursive: false,
    position: (7, 4),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}