{
  "type": "Program",
  "start": 0,
  "end": 3436,
  "loc": {
    "start": {
      "line": 1,
      "column": 0
    },
    "end": {
      "line": 89,
      "column": 0
    }
  },
  "sourceType": "module",
  "body": [
    {
      "type": "VariableDeclaration",
      "start": 921,
      "end": 954,
      "loc": {
        "start": {
          "line": 17,
          "column": 0
        },
        "end": {
          "line": 17,
          "column": 33
        }
      },
      "declarations": [
        {
          "type": "VariableDeclarator",
          "start": 927,
          "end": 953,
          "loc": {
            "start": {
              "line": 17,
              "column": 6
            },
            "end": {
              "line": 17,
              "column": 32
            }
          },
          "id": {
            "type": "Identifier",
            "start": 927,
            "end": 933,
            "loc": {
              "start": {
                "line": 17,
                "column": 6
              },
              "end": {
                "line": 17,
                "column": 12
              }
            },
            "name": "Prince",
            "leadingComments": null
          },
          "init": {
            "type": "CallExpression",
            "start": 936,
            "end": 953,
            "loc": {
              "start": {
                "line": 17,
                "column": 15
              },
              "end": {
                "line": 17,
                "column": 32
              }
            },
            "callee": {
              "type": "Identifier",
              "start": 936,
              "end": 943,
              "loc": {
                "start": {
                  "line": 17,
                  "column": 15
                },
                "end": {
                  "line": 17,
                  "column": 22
                }
              },
              "name": "require"
            },
            "arguments": [
              {
                "type": "Literal",
                "start": 944,
                "end": 952,
                "loc": {
                  "start": {
                    "line": 17,
                    "column": 23
                  },
                  "end": {
                    "line": 17,
                    "column": 31
                  }
                },
                "value": "prince",
                "rawValue": "prince",
                "raw": "'prince'"
              }
            ]
          },
          "leadingComments": null
        }
      ],
      "kind": "const",
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Prince PDF exporter\n * @module exporters/pdfExporter\n ",
          "start": 0,
          "end": 63,
          "loc": {
            "start": {
              "line": 1,
              "column": 0
            },
            "end": {
              "line": 4,
              "column": 3
            }
          },
          "range": [
            0,
            63
          ]
        },
        {
          "type": "Block",
          "value": "*\n * This module inputs a specific peritext section, including possibly its children sections\n * and outputs a pdf file ready to display.\n * The converter used is PrinceXML non-commercial version.\n * After endless trials with free software converters such as wkhtmltopdf, weasyprint or phantomjs-pdf,\n * I could not find a way to use a free (gratis & open) tech. to produce & sufficiently reliable and user-customizable pdf output (notably via css3 @paged-media props).\n * For instance, wkhtmltopdf (and webkit-based converters in general) does not support 'float:footnotes' feature which is mandatory for scholarly outputs like peritext's ones\n * Therefore I chose proprietary software PrinceXML, which works wonderfully well. It is used in its free version for now (which is why Prince logo is added on the first page, no commercial use license)\n ",
          "start": 66,
          "end": 919,
          "loc": {
            "start": {
              "line": 7,
              "column": 0
            },
            "end": {
              "line": 15,
              "column": 3
            }
          },
          "range": [
            66,
            919
          ]
        }
      ]
    },
    {
      "type": "ImportDeclaration",
      "start": 955,
      "end": 984,
      "loc": {
        "start": {
          "line": 18,
          "column": 0
        },
        "end": {
          "line": 18,
          "column": 29
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 963,
          "end": 970,
          "loc": {
            "start": {
              "line": 18,
              "column": 8
            },
            "end": {
              "line": 18,
              "column": 15
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 963,
            "end": 970,
            "loc": {
              "start": {
                "line": 18,
                "column": 8
              },
              "end": {
                "line": 18,
                "column": 15
              }
            },
            "name": "resolve"
          },
          "local": {
            "type": "Identifier",
            "start": 963,
            "end": 970,
            "loc": {
              "start": {
                "line": 18,
                "column": 8
              },
              "end": {
                "line": 18,
                "column": 15
              }
            },
            "name": "resolve"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 977,
        "end": 983,
        "loc": {
          "start": {
            "line": 18,
            "column": 22
          },
          "end": {
            "line": 18,
            "column": 28
          }
        },
        "value": "path",
        "rawValue": "path",
        "raw": "'path'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 985,
      "end": 1017,
      "loc": {
        "start": {
          "line": 19,
          "column": 0
        },
        "end": {
          "line": 19,
          "column": 32
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 993,
          "end": 1002,
          "loc": {
            "start": {
              "line": 19,
              "column": 8
            },
            "end": {
              "line": 19,
              "column": 17
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 993,
            "end": 1002,
            "loc": {
              "start": {
                "line": 19,
                "column": 8
              },
              "end": {
                "line": 19,
                "column": 17
              }
            },
            "name": "waterfall"
          },
          "local": {
            "type": "Identifier",
            "start": 993,
            "end": 1002,
            "loc": {
              "start": {
                "line": 19,
                "column": 8
              },
              "end": {
                "line": 19,
                "column": 17
              }
            },
            "name": "waterfall"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 1009,
        "end": 1016,
        "loc": {
          "start": {
            "line": 19,
            "column": 24
          },
          "end": {
            "line": 19,
            "column": 31
          }
        },
        "value": "async",
        "rawValue": "async",
        "raw": "'async'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 1018,
      "end": 1070,
      "loc": {
        "start": {
          "line": 20,
          "column": 0
        },
        "end": {
          "line": 24,
          "column": 12
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 1029,
          "end": 1038,
          "loc": {
            "start": {
              "line": 21,
              "column": 2
            },
            "end": {
              "line": 21,
              "column": 11
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1029,
            "end": 1038,
            "loc": {
              "start": {
                "line": 21,
                "column": 2
              },
              "end": {
                "line": 21,
                "column": 11
              }
            },
            "name": "writeFile"
          },
          "local": {
            "type": "Identifier",
            "start": 1029,
            "end": 1038,
            "loc": {
              "start": {
                "line": 21,
                "column": 2
              },
              "end": {
                "line": 21,
                "column": 11
              }
            },
            "name": "writeFile"
          }
        },
        {
          "type": "ImportSpecifier",
          "start": 1042,
          "end": 1048,
          "loc": {
            "start": {
              "line": 22,
              "column": 2
            },
            "end": {
              "line": 22,
              "column": 8
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1042,
            "end": 1048,
            "loc": {
              "start": {
                "line": 22,
                "column": 2
              },
              "end": {
                "line": 22,
                "column": 8
              }
            },
            "name": "exists"
          },
          "local": {
            "type": "Identifier",
            "start": 1042,
            "end": 1048,
            "loc": {
              "start": {
                "line": 22,
                "column": 2
              },
              "end": {
                "line": 22,
                "column": 8
              }
            },
            "name": "exists"
          }
        },
        {
          "type": "ImportSpecifier",
          "start": 1052,
          "end": 1057,
          "loc": {
            "start": {
              "line": 23,
              "column": 2
            },
            "end": {
              "line": 23,
              "column": 7
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1052,
            "end": 1057,
            "loc": {
              "start": {
                "line": 23,
                "column": 2
              },
              "end": {
                "line": 23,
                "column": 7
              }
            },
            "name": "mkdir"
          },
          "local": {
            "type": "Identifier",
            "start": 1052,
            "end": 1057,
            "loc": {
              "start": {
                "line": 23,
                "column": 2
              },
              "end": {
                "line": 23,
                "column": 7
              }
            },
            "name": "mkdir"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 1065,
        "end": 1069,
        "loc": {
          "start": {
            "line": 24,
            "column": 7
          },
          "end": {
            "line": 24,
            "column": 11
          }
        },
        "value": "fs",
        "rawValue": "fs",
        "raw": "'fs'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 1072,
      "end": 1133,
      "loc": {
        "start": {
          "line": 26,
          "column": 0
        },
        "end": {
          "line": 26,
          "column": 61
        }
      },
      "specifiers": [
        {
          "type": "ImportSpecifier",
          "start": 1080,
          "end": 1092,
          "loc": {
            "start": {
              "line": 26,
              "column": 8
            },
            "end": {
              "line": 26,
              "column": 20
            }
          },
          "imported": {
            "type": "Identifier",
            "start": 1080,
            "end": 1092,
            "loc": {
              "start": {
                "line": 26,
                "column": 8
              },
              "end": {
                "line": 26,
                "column": 20
              }
            },
            "name": "getMetaValue"
          },
          "local": {
            "type": "Identifier",
            "start": 1080,
            "end": 1092,
            "loc": {
              "start": {
                "line": 26,
                "column": 8
              },
              "end": {
                "line": 26,
                "column": 20
              }
            },
            "name": "getMetaValue"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 1099,
        "end": 1132,
        "loc": {
          "start": {
            "line": 26,
            "column": 27
          },
          "end": {
            "line": 26,
            "column": 60
          }
        },
        "value": "./../../core/utils/sectionUtils",
        "rawValue": "./../../core/utils/sectionUtils",
        "raw": "'./../../core/utils/sectionUtils'"
      }
    },
    {
      "type": "ImportDeclaration",
      "start": 1134,
      "end": 1199,
      "loc": {
        "start": {
          "line": 27,
          "column": 0
        },
        "end": {
          "line": 27,
          "column": 65
        }
      },
      "specifiers": [
        {
          "type": "ImportDefaultSpecifier",
          "start": 1141,
          "end": 1154,
          "loc": {
            "start": {
              "line": 27,
              "column": 7
            },
            "end": {
              "line": 27,
              "column": 20
            }
          },
          "local": {
            "type": "Identifier",
            "start": 1141,
            "end": 1154,
            "loc": {
              "start": {
                "line": 27,
                "column": 7
              },
              "end": {
                "line": 27,
                "column": 20
              }
            },
            "name": "renderSection"
          }
        }
      ],
      "importKind": "value",
      "source": {
        "type": "Literal",
        "start": 1160,
        "end": 1198,
        "loc": {
          "start": {
            "line": 27,
            "column": 26
          },
          "end": {
            "line": 27,
            "column": 64
          }
        },
        "value": "./../../renderers/renderToStaticHtml",
        "rawValue": "./../../renderers/renderToStaticHtml",
        "raw": "'./../../renderers/renderToStaticHtml'"
      },
      "trailingComments": [
        {
          "type": "Block",
          "value": "*\n * Exports a section representation to a pdf file\n * @param {Object} params - The params of the export\n * @param {Object} params.section - the (root) section to export\n * @param {array} params.sectionList - the section context (if necessary)\n * @param {Object} params.settings - the specific rendering settings to use in order to produce the output\n * @param {boolean} params.includeChildren - whether to include section's children sections\n * @param {string} params.destinationFolder - where to output the file\n * @params {Object} assetsController - the module to use in order to communicate with assets\n * @param {Object} assetsParams - the assets parameters to use while communicating with assetsController\n * @param {function(err:error)} callback - the possible errors encountered during export\n ",
          "start": 1201,
          "end": 2007,
          "loc": {
            "start": {
              "line": 29,
              "column": 0
            },
            "end": {
              "line": 40,
              "column": 3
            }
          },
          "range": [
            1201,
            2007
          ]
        }
      ]
    },
    {
      "type": "ExportNamedDeclaration",
      "start": 2008,
      "end": 3435,
      "loc": {
        "start": {
          "line": 41,
          "column": 0
        },
        "end": {
          "line": 88,
          "column": 1
        }
      },
      "declaration": {
        "type": "VariableDeclaration",
        "start": 2015,
        "end": 3435,
        "loc": {
          "start": {
            "line": 41,
            "column": 7
          },
          "end": {
            "line": 88,
            "column": 1
          }
        },
        "declarations": [
          {
            "type": "VariableDeclarator",
            "start": 2021,
            "end": 3435,
            "loc": {
              "start": {
                "line": 41,
                "column": 13
              },
              "end": {
                "line": 88,
                "column": 1
              }
            },
            "id": {
              "type": "Identifier",
              "start": 2021,
              "end": 2039,
              "loc": {
                "start": {
                  "line": 41,
                  "column": 13
                },
                "end": {
                  "line": 41,
                  "column": 31
                }
              },
              "name": "exportSectionToPdf",
              "leadingComments": null
            },
            "init": {
              "type": "ArrowFunctionExpression",
              "start": 2042,
              "end": 3435,
              "loc": {
                "start": {
                  "line": 41,
                  "column": 34
                },
                "end": {
                  "line": 88,
                  "column": 1
                }
              },
              "id": null,
              "generator": false,
              "expression": false,
              "async": false,
              "params": [
                {
                  "type": "ObjectPattern",
                  "start": 2043,
                  "end": 2124,
                  "loc": {
                    "start": {
                      "line": 41,
                      "column": 35
                    },
                    "end": {
                      "line": 47,
                      "column": 1
                    }
                  },
                  "properties": [
                    {
                      "type": "Property",
                      "start": 2047,
                      "end": 2054,
                      "loc": {
                        "start": {
                          "line": 42,
                          "column": 2
                        },
                        "end": {
                          "line": 42,
                          "column": 9
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2047,
                        "end": 2054,
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 2
                          },
                          "end": {
                            "line": 42,
                            "column": 9
                          }
                        },
                        "name": "section"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2047,
                        "end": 2054,
                        "loc": {
                          "start": {
                            "line": 42,
                            "column": 2
                          },
                          "end": {
                            "line": 42,
                            "column": 9
                          }
                        },
                        "name": "section"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 2058,
                      "end": 2069,
                      "loc": {
                        "start": {
                          "line": 43,
                          "column": 2
                        },
                        "end": {
                          "line": 43,
                          "column": 13
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2058,
                        "end": 2069,
                        "loc": {
                          "start": {
                            "line": 43,
                            "column": 2
                          },
                          "end": {
                            "line": 43,
                            "column": 13
                          }
                        },
                        "name": "sectionList"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2058,
                        "end": 2069,
                        "loc": {
                          "start": {
                            "line": 43,
                            "column": 2
                          },
                          "end": {
                            "line": 43,
                            "column": 13
                          }
                        },
                        "name": "sectionList"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 2073,
                      "end": 2081,
                      "loc": {
                        "start": {
                          "line": 44,
                          "column": 2
                        },
                        "end": {
                          "line": 44,
                          "column": 10
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2073,
                        "end": 2081,
                        "loc": {
                          "start": {
                            "line": 44,
                            "column": 2
                          },
                          "end": {
                            "line": 44,
                            "column": 10
                          }
                        },
                        "name": "settings"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2073,
                        "end": 2081,
                        "loc": {
                          "start": {
                            "line": 44,
                            "column": 2
                          },
                          "end": {
                            "line": 44,
                            "column": 10
                          }
                        },
                        "name": "settings"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 2085,
                      "end": 2100,
                      "loc": {
                        "start": {
                          "line": 45,
                          "column": 2
                        },
                        "end": {
                          "line": 45,
                          "column": 17
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2085,
                        "end": 2100,
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 2
                          },
                          "end": {
                            "line": 45,
                            "column": 17
                          }
                        },
                        "name": "includeChildren"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2085,
                        "end": 2100,
                        "loc": {
                          "start": {
                            "line": 45,
                            "column": 2
                          },
                          "end": {
                            "line": 45,
                            "column": 17
                          }
                        },
                        "name": "includeChildren"
                      }
                    },
                    {
                      "type": "Property",
                      "start": 2104,
                      "end": 2121,
                      "loc": {
                        "start": {
                          "line": 46,
                          "column": 2
                        },
                        "end": {
                          "line": 46,
                          "column": 19
                        }
                      },
                      "method": false,
                      "shorthand": true,
                      "computed": false,
                      "key": {
                        "type": "Identifier",
                        "start": 2104,
                        "end": 2121,
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 2
                          },
                          "end": {
                            "line": 46,
                            "column": 19
                          }
                        },
                        "name": "destinationFolder"
                      },
                      "kind": "init",
                      "value": {
                        "type": "Identifier",
                        "start": 2104,
                        "end": 2121,
                        "loc": {
                          "start": {
                            "line": 46,
                            "column": 2
                          },
                          "end": {
                            "line": 46,
                            "column": 19
                          }
                        },
                        "name": "destinationFolder"
                      }
                    }
                  ]
                },
                {
                  "type": "Identifier",
                  "start": 2126,
                  "end": 2142,
                  "loc": {
                    "start": {
                      "line": 47,
                      "column": 3
                    },
                    "end": {
                      "line": 47,
                      "column": 19
                    }
                  },
                  "name": "assetsController"
                },
                {
                  "type": "Identifier",
                  "start": 2144,
                  "end": 2156,
                  "loc": {
                    "start": {
                      "line": 47,
                      "column": 21
                    },
                    "end": {
                      "line": 47,
                      "column": 33
                    }
                  },
                  "name": "assetsParams"
                },
                {
                  "type": "Identifier",
                  "start": 2158,
                  "end": 2171,
                  "loc": {
                    "start": {
                      "line": 47,
                      "column": 35
                    },
                    "end": {
                      "line": 47,
                      "column": 48
                    }
                  },
                  "name": "finalCallback"
                }
              ],
              "body": {
                "type": "BlockStatement",
                "start": 2175,
                "end": 3435,
                "loc": {
                  "start": {
                    "line": 47,
                    "column": 52
                  },
                  "end": {
                    "line": 88,
                    "column": 1
                  }
                },
                "body": [
                  {
                    "type": "VariableDeclaration",
                    "start": 2180,
                    "end": 2251,
                    "loc": {
                      "start": {
                        "line": 49,
                        "column": 2
                      },
                      "end": {
                        "line": 49,
                        "column": 73
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 2186,
                        "end": 2250,
                        "loc": {
                          "start": {
                            "line": 49,
                            "column": 8
                          },
                          "end": {
                            "line": 49,
                            "column": 72
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 2186,
                          "end": 2195,
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 8
                            },
                            "end": {
                              "line": 49,
                              "column": 17
                            }
                          },
                          "name": "motherKey"
                        },
                        "init": {
                          "type": "CallExpression",
                          "start": 2198,
                          "end": 2250,
                          "loc": {
                            "start": {
                              "line": 49,
                              "column": 20
                            },
                            "end": {
                              "line": 49,
                              "column": 72
                            }
                          },
                          "callee": {
                            "type": "Identifier",
                            "start": 2198,
                            "end": 2210,
                            "loc": {
                              "start": {
                                "line": 49,
                                "column": 20
                              },
                              "end": {
                                "line": 49,
                                "column": 32
                              }
                            },
                            "name": "getMetaValue"
                          },
                          "arguments": [
                            {
                              "type": "MemberExpression",
                              "start": 2211,
                              "end": 2227,
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 33
                                },
                                "end": {
                                  "line": 49,
                                  "column": 49
                                }
                              },
                              "object": {
                                "type": "Identifier",
                                "start": 2211,
                                "end": 2218,
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 33
                                  },
                                  "end": {
                                    "line": 49,
                                    "column": 40
                                  }
                                },
                                "name": "section"
                              },
                              "property": {
                                "type": "Identifier",
                                "start": 2219,
                                "end": 2227,
                                "loc": {
                                  "start": {
                                    "line": 49,
                                    "column": 41
                                  },
                                  "end": {
                                    "line": 49,
                                    "column": 49
                                  }
                                },
                                "name": "metadata"
                              },
                              "computed": false
                            },
                            {
                              "type": "Literal",
                              "start": 2229,
                              "end": 2238,
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 51
                                },
                                "end": {
                                  "line": 49,
                                  "column": 60
                                }
                              },
                              "value": "general",
                              "rawValue": "general",
                              "raw": "'general'"
                            },
                            {
                              "type": "Literal",
                              "start": 2240,
                              "end": 2249,
                              "loc": {
                                "start": {
                                  "line": 49,
                                  "column": 62
                                },
                                "end": {
                                  "line": 49,
                                  "column": 71
                                }
                              },
                              "value": "citeKey",
                              "rawValue": "citeKey",
                              "raw": "'citeKey'"
                            }
                          ]
                        }
                      }
                    ],
                    "kind": "const"
                  },
                  {
                    "type": "VariableDeclaration",
                    "start": 2254,
                    "end": 2319,
                    "loc": {
                      "start": {
                        "line": 50,
                        "column": 2
                      },
                      "end": {
                        "line": 50,
                        "column": 67
                      }
                    },
                    "declarations": [
                      {
                        "type": "VariableDeclarator",
                        "start": 2260,
                        "end": 2318,
                        "loc": {
                          "start": {
                            "line": 50,
                            "column": 8
                          },
                          "end": {
                            "line": 50,
                            "column": 66
                          }
                        },
                        "id": {
                          "type": "Identifier",
                          "start": 2260,
                          "end": 2264,
                          "loc": {
                            "start": {
                              "line": 50,
                              "column": 8
                            },
                            "end": {
                              "line": 50,
                              "column": 12
                            }
                          },
                          "name": "path"
                        },
                        "init": {
                          "type": "LogicalExpression",
                          "start": 2267,
                          "end": 2318,
                          "loc": {
                            "start": {
                              "line": 50,
                              "column": 15
                            },
                            "end": {
                              "line": 50,
                              "column": 66
                            }
                          },
                          "left": {
                            "type": "Identifier",
                            "start": 2267,
                            "end": 2284,
                            "loc": {
                              "start": {
                                "line": 50,
                                "column": 15
                              },
                              "end": {
                                "line": 50,
                                "column": 32
                              }
                            },
                            "name": "destinationFolder"
                          },
                          "operator": "||",
                          "right": {
                            "type": "CallExpression",
                            "start": 2288,
                            "end": 2318,
                            "loc": {
                              "start": {
                                "line": 50,
                                "column": 36
                              },
                              "end": {
                                "line": 50,
                                "column": 66
                              }
                            },
                            "callee": {
                              "type": "Identifier",
                              "start": 2288,
                              "end": 2295,
                              "loc": {
                                "start": {
                                  "line": 50,
                                  "column": 36
                                },
                                "end": {
                                  "line": 50,
                                  "column": 43
                                }
                              },
                              "name": "resolve"
                            },
                            "arguments": [
                              {
                                "type": "BinaryExpression",
                                "start": 2296,
                                "end": 2317,
                                "loc": {
                                  "start": {
                                    "line": 50,
                                    "column": 44
                                  },
                                  "end": {
                                    "line": 50,
                                    "column": 65
                                  }
                                },
                                "left": {
                                  "type": "Identifier",
                                  "start": 2296,
                                  "end": 2305,
                                  "loc": {
                                    "start": {
                                      "line": 50,
                                      "column": 44
                                    },
                                    "end": {
                                      "line": 50,
                                      "column": 53
                                    }
                                  },
                                  "name": "__dirname"
                                },
                                "operator": "+",
                                "right": {
                                  "type": "Literal",
                                  "start": 2308,
                                  "end": 2317,
                                  "loc": {
                                    "start": {
                                      "line": 50,
                                      "column": 56
                                    },
                                    "end": {
                                      "line": 50,
                                      "column": 65
                                    }
                                  },
                                  "value": "./temp/",
                                  "rawValue": "./temp/",
                                  "raw": "'./temp/'"
                                }
                              }
                            ]
                          }
                        }
                      }
                    ],
                    "kind": "const"
                  },
                  {
                    "type": "ExpressionStatement",
                    "start": 2322,
                    "end": 2348,
                    "loc": {
                      "start": {
                        "line": 51,
                        "column": 2
                      },
                      "end": {
                        "line": 51,
                        "column": 28
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 2322,
                      "end": 2347,
                      "loc": {
                        "start": {
                          "line": 51,
                          "column": 2
                        },
                        "end": {
                          "line": 51,
                          "column": 27
                        }
                      },
                      "callee": {
                        "type": "MemberExpression",
                        "start": 2322,
                        "end": 2333,
                        "loc": {
                          "start": {
                            "line": 51,
                            "column": 2
                          },
                          "end": {
                            "line": 51,
                            "column": 13
                          }
                        },
                        "object": {
                          "type": "Identifier",
                          "start": 2322,
                          "end": 2329,
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 2
                            },
                            "end": {
                              "line": 51,
                              "column": 9
                            }
                          },
                          "name": "console"
                        },
                        "property": {
                          "type": "Identifier",
                          "start": 2330,
                          "end": 2333,
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 10
                            },
                            "end": {
                              "line": 51,
                              "column": 13
                            }
                          },
                          "name": "log"
                        },
                        "computed": false
                      },
                      "arguments": [
                        {
                          "type": "Literal",
                          "start": 2334,
                          "end": 2340,
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 14
                            },
                            "end": {
                              "line": 51,
                              "column": 20
                            }
                          },
                          "value": "path",
                          "rawValue": "path",
                          "raw": "'path'"
                        },
                        {
                          "type": "Identifier",
                          "start": 2342,
                          "end": 2346,
                          "loc": {
                            "start": {
                              "line": 51,
                              "column": 22
                            },
                            "end": {
                              "line": 51,
                              "column": 26
                            }
                          },
                          "name": "path"
                        }
                      ]
                    }
                  },
                  {
                    "type": "ExpressionStatement",
                    "start": 2351,
                    "end": 3433,
                    "loc": {
                      "start": {
                        "line": 52,
                        "column": 2
                      },
                      "end": {
                        "line": 87,
                        "column": 5
                      }
                    },
                    "expression": {
                      "type": "CallExpression",
                      "start": 2351,
                      "end": 3432,
                      "loc": {
                        "start": {
                          "line": 52,
                          "column": 2
                        },
                        "end": {
                          "line": 87,
                          "column": 4
                        }
                      },
                      "callee": {
                        "type": "Identifier",
                        "start": 2351,
                        "end": 2360,
                        "loc": {
                          "start": {
                            "line": 52,
                            "column": 2
                          },
                          "end": {
                            "line": 52,
                            "column": 11
                          }
                        },
                        "name": "waterfall"
                      },
                      "arguments": [
                        {
                          "type": "ArrayExpression",
                          "start": 2361,
                          "end": 2922,
                          "loc": {
                            "start": {
                              "line": 52,
                              "column": 12
                            },
                            "end": {
                              "line": 70,
                              "column": 3
                            }
                          },
                          "elements": [
                            {
                              "type": "ArrowFunctionExpression",
                              "start": 2407,
                              "end": 2575,
                              "loc": {
                                "start": {
                                  "line": 54,
                                  "column": 4
                                },
                                "end": {
                                  "line": 61,
                                  "column": 5
                                }
                              },
                              "id": null,
                              "generator": false,
                              "expression": false,
                              "async": false,
                              "params": [
                                {
                                  "type": "Identifier",
                                  "start": 2408,
                                  "end": 2416,
                                  "loc": {
                                    "start": {
                                      "line": 54,
                                      "column": 5
                                    },
                                    "end": {
                                      "line": 54,
                                      "column": 13
                                    }
                                  },
                                  "name": "existsCb",
                                  "leadingComments": null
                                }
                              ],
                              "body": {
                                "type": "BlockStatement",
                                "start": 2420,
                                "end": 2575,
                                "loc": {
                                  "start": {
                                    "line": 54,
                                    "column": 17
                                  },
                                  "end": {
                                    "line": 61,
                                    "column": 5
                                  }
                                },
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "start": 2428,
                                    "end": 2569,
                                    "loc": {
                                      "start": {
                                        "line": 55,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 60,
                                        "column": 9
                                      }
                                    },
                                    "expression": {
                                      "type": "CallExpression",
                                      "start": 2428,
                                      "end": 2568,
                                      "loc": {
                                        "start": {
                                          "line": 55,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 60,
                                          "column": 8
                                        }
                                      },
                                      "callee": {
                                        "type": "Identifier",
                                        "start": 2428,
                                        "end": 2434,
                                        "loc": {
                                          "start": {
                                            "line": 55,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 55,
                                            "column": 12
                                          }
                                        },
                                        "name": "exists"
                                      },
                                      "arguments": [
                                        {
                                          "type": "Identifier",
                                          "start": 2435,
                                          "end": 2439,
                                          "loc": {
                                            "start": {
                                              "line": 55,
                                              "column": 13
                                            },
                                            "end": {
                                              "line": 55,
                                              "column": 17
                                            }
                                          },
                                          "name": "path"
                                        },
                                        {
                                          "type": "ArrowFunctionExpression",
                                          "start": 2441,
                                          "end": 2567,
                                          "loc": {
                                            "start": {
                                              "line": 55,
                                              "column": 19
                                            },
                                            "end": {
                                              "line": 60,
                                              "column": 7
                                            }
                                          },
                                          "id": null,
                                          "generator": false,
                                          "expression": false,
                                          "async": false,
                                          "params": [
                                            {
                                              "type": "Identifier",
                                              "start": 2442,
                                              "end": 2449,
                                              "loc": {
                                                "start": {
                                                  "line": 55,
                                                  "column": 20
                                                },
                                                "end": {
                                                  "line": 55,
                                                  "column": 27
                                                }
                                              },
                                              "name": "isThere"
                                            }
                                          ],
                                          "body": {
                                            "type": "BlockStatement",
                                            "start": 2453,
                                            "end": 2567,
                                            "loc": {
                                              "start": {
                                                "line": 55,
                                                "column": 31
                                              },
                                              "end": {
                                                "line": 60,
                                                "column": 7
                                              }
                                            },
                                            "body": [
                                              {
                                                "type": "IfStatement",
                                                "start": 2463,
                                                "end": 2528,
                                                "loc": {
                                                  "start": {
                                                    "line": 56,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 58,
                                                    "column": 9
                                                  }
                                                },
                                                "test": {
                                                  "type": "UnaryExpression",
                                                  "start": 2467,
                                                  "end": 2475,
                                                  "loc": {
                                                    "start": {
                                                      "line": 56,
                                                      "column": 12
                                                    },
                                                    "end": {
                                                      "line": 56,
                                                      "column": 20
                                                    }
                                                  },
                                                  "operator": "!",
                                                  "prefix": true,
                                                  "argument": {
                                                    "type": "Identifier",
                                                    "start": 2468,
                                                    "end": 2475,
                                                    "loc": {
                                                      "start": {
                                                        "line": 56,
                                                        "column": 13
                                                      },
                                                      "end": {
                                                        "line": 56,
                                                        "column": 20
                                                      }
                                                    },
                                                    "name": "isThere"
                                                  }
                                                },
                                                "consequent": {
                                                  "type": "BlockStatement",
                                                  "start": 2477,
                                                  "end": 2528,
                                                  "loc": {
                                                    "start": {
                                                      "line": 56,
                                                      "column": 22
                                                    },
                                                    "end": {
                                                      "line": 58,
                                                      "column": 9
                                                    }
                                                  },
                                                  "body": [
                                                    {
                                                      "type": "ReturnStatement",
                                                      "start": 2489,
                                                      "end": 2518,
                                                      "loc": {
                                                        "start": {
                                                          "line": 57,
                                                          "column": 10
                                                        },
                                                        "end": {
                                                          "line": 57,
                                                          "column": 39
                                                        }
                                                      },
                                                      "argument": {
                                                        "type": "CallExpression",
                                                        "start": 2496,
                                                        "end": 2517,
                                                        "loc": {
                                                          "start": {
                                                            "line": 57,
                                                            "column": 17
                                                          },
                                                          "end": {
                                                            "line": 57,
                                                            "column": 38
                                                          }
                                                        },
                                                        "callee": {
                                                          "type": "Identifier",
                                                          "start": 2496,
                                                          "end": 2501,
                                                          "loc": {
                                                            "start": {
                                                              "line": 57,
                                                              "column": 17
                                                            },
                                                            "end": {
                                                              "line": 57,
                                                              "column": 22
                                                            }
                                                          },
                                                          "name": "mkdir"
                                                        },
                                                        "arguments": [
                                                          {
                                                            "type": "Identifier",
                                                            "start": 2502,
                                                            "end": 2506,
                                                            "loc": {
                                                              "start": {
                                                                "line": 57,
                                                                "column": 23
                                                              },
                                                              "end": {
                                                                "line": 57,
                                                                "column": 27
                                                              }
                                                            },
                                                            "name": "path"
                                                          },
                                                          {
                                                            "type": "Identifier",
                                                            "start": 2508,
                                                            "end": 2516,
                                                            "loc": {
                                                              "start": {
                                                                "line": 57,
                                                                "column": 29
                                                              },
                                                              "end": {
                                                                "line": 57,
                                                                "column": 37
                                                              }
                                                            },
                                                            "name": "existsCb"
                                                          }
                                                        ]
                                                      }
                                                    }
                                                  ]
                                                },
                                                "alternate": null
                                              },
                                              {
                                                "type": "ReturnStatement",
                                                "start": 2537,
                                                "end": 2559,
                                                "loc": {
                                                  "start": {
                                                    "line": 59,
                                                    "column": 8
                                                  },
                                                  "end": {
                                                    "line": 59,
                                                    "column": 30
                                                  }
                                                },
                                                "argument": {
                                                  "type": "CallExpression",
                                                  "start": 2544,
                                                  "end": 2558,
                                                  "loc": {
                                                    "start": {
                                                      "line": 59,
                                                      "column": 15
                                                    },
                                                    "end": {
                                                      "line": 59,
                                                      "column": 29
                                                    }
                                                  },
                                                  "callee": {
                                                    "type": "Identifier",
                                                    "start": 2544,
                                                    "end": 2552,
                                                    "loc": {
                                                      "start": {
                                                        "line": 59,
                                                        "column": 15
                                                      },
                                                      "end": {
                                                        "line": 59,
                                                        "column": 23
                                                      }
                                                    },
                                                    "name": "existsCb"
                                                  },
                                                  "arguments": [
                                                    {
                                                      "type": "Literal",
                                                      "start": 2553,
                                                      "end": 2557,
                                                      "loc": {
                                                        "start": {
                                                          "line": 59,
                                                          "column": 24
                                                        },
                                                        "end": {
                                                          "line": 59,
                                                          "column": 28
                                                        }
                                                      },
                                                      "value": null,
                                                      "rawValue": null,
                                                      "raw": "null"
                                                    }
                                                  ]
                                                }
                                              }
                                            ]
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              },
                              "leadingComments": [
                                {
                                  "type": "CommentLine",
                                  "value": " get or create destination folder",
                                  "start": 2367,
                                  "end": 2402,
                                  "loc": {
                                    "start": {
                                      "line": 53,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 53,
                                      "column": 39
                                    }
                                  },
                                  "range": [
                                    2367,
                                    2402
                                  ]
                                }
                              ]
                            },
                            {
                              "type": "ArrowFunctionExpression",
                              "start": 2622,
                              "end": 2765,
                              "loc": {
                                "start": {
                                  "line": 63,
                                  "column": 4
                                },
                                "end": {
                                  "line": 65,
                                  "column": 5
                                }
                              },
                              "id": null,
                              "generator": false,
                              "expression": false,
                              "async": false,
                              "params": [
                                {
                                  "type": "Identifier",
                                  "start": 2623,
                                  "end": 2631,
                                  "loc": {
                                    "start": {
                                      "line": 63,
                                      "column": 5
                                    },
                                    "end": {
                                      "line": 63,
                                      "column": 13
                                    }
                                  },
                                  "name": "renderCb",
                                  "leadingComments": null
                                }
                              ],
                              "body": {
                                "type": "BlockStatement",
                                "start": 2635,
                                "end": 2765,
                                "loc": {
                                  "start": {
                                    "line": 63,
                                    "column": 17
                                  },
                                  "end": {
                                    "line": 65,
                                    "column": 5
                                  }
                                },
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "start": 2643,
                                    "end": 2759,
                                    "loc": {
                                      "start": {
                                        "line": 64,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 64,
                                        "column": 122
                                      }
                                    },
                                    "expression": {
                                      "type": "CallExpression",
                                      "start": 2643,
                                      "end": 2758,
                                      "loc": {
                                        "start": {
                                          "line": 64,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 64,
                                          "column": 121
                                        }
                                      },
                                      "callee": {
                                        "type": "Identifier",
                                        "start": 2643,
                                        "end": 2656,
                                        "loc": {
                                          "start": {
                                            "line": 64,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 64,
                                            "column": 19
                                          }
                                        },
                                        "name": "renderSection"
                                      },
                                      "arguments": [
                                        {
                                          "type": "ObjectExpression",
                                          "start": 2657,
                                          "end": 2715,
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 20
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 78
                                            }
                                          },
                                          "properties": [
                                            {
                                              "type": "Property",
                                              "start": 2658,
                                              "end": 2665,
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 21
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 28
                                                }
                                              },
                                              "method": false,
                                              "shorthand": true,
                                              "computed": false,
                                              "key": {
                                                "type": "Identifier",
                                                "start": 2658,
                                                "end": 2665,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 21
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 28
                                                  }
                                                },
                                                "name": "section"
                                              },
                                              "kind": "init",
                                              "value": {
                                                "type": "Identifier",
                                                "start": 2658,
                                                "end": 2665,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 21
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 28
                                                  }
                                                },
                                                "name": "section"
                                              }
                                            },
                                            {
                                              "type": "Property",
                                              "start": 2667,
                                              "end": 2678,
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 30
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 41
                                                }
                                              },
                                              "method": false,
                                              "shorthand": true,
                                              "computed": false,
                                              "key": {
                                                "type": "Identifier",
                                                "start": 2667,
                                                "end": 2678,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 30
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 41
                                                  }
                                                },
                                                "name": "sectionList"
                                              },
                                              "kind": "init",
                                              "value": {
                                                "type": "Identifier",
                                                "start": 2667,
                                                "end": 2678,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 30
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 41
                                                  }
                                                },
                                                "name": "sectionList"
                                              }
                                            },
                                            {
                                              "type": "Property",
                                              "start": 2680,
                                              "end": 2695,
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 43
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 58
                                                }
                                              },
                                              "method": false,
                                              "shorthand": true,
                                              "computed": false,
                                              "key": {
                                                "type": "Identifier",
                                                "start": 2680,
                                                "end": 2695,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 43
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 58
                                                  }
                                                },
                                                "name": "includeChildren"
                                              },
                                              "kind": "init",
                                              "value": {
                                                "type": "Identifier",
                                                "start": 2680,
                                                "end": 2695,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 43
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 58
                                                  }
                                                },
                                                "name": "includeChildren"
                                              }
                                            },
                                            {
                                              "type": "Property",
                                              "start": 2697,
                                              "end": 2714,
                                              "loc": {
                                                "start": {
                                                  "line": 64,
                                                  "column": 60
                                                },
                                                "end": {
                                                  "line": 64,
                                                  "column": 77
                                                }
                                              },
                                              "method": false,
                                              "shorthand": true,
                                              "computed": false,
                                              "key": {
                                                "type": "Identifier",
                                                "start": 2697,
                                                "end": 2714,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 60
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 77
                                                  }
                                                },
                                                "name": "destinationFolder"
                                              },
                                              "kind": "init",
                                              "value": {
                                                "type": "Identifier",
                                                "start": 2697,
                                                "end": 2714,
                                                "loc": {
                                                  "start": {
                                                    "line": 64,
                                                    "column": 60
                                                  },
                                                  "end": {
                                                    "line": 64,
                                                    "column": 77
                                                  }
                                                },
                                                "name": "destinationFolder"
                                              }
                                            }
                                          ]
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2717,
                                          "end": 2733,
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 80
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 96
                                            }
                                          },
                                          "name": "assetsController"
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2735,
                                          "end": 2747,
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 98
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 110
                                            }
                                          },
                                          "name": "assetsParams"
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2749,
                                          "end": 2757,
                                          "loc": {
                                            "start": {
                                              "line": 64,
                                              "column": 112
                                            },
                                            "end": {
                                              "line": 64,
                                              "column": 120
                                            }
                                          },
                                          "name": "renderCb"
                                        }
                                      ]
                                    }
                                  }
                                ]
                              },
                              "leadingComments": [
                                {
                                  "type": "CommentLine",
                                  "value": " render the section to static html",
                                  "start": 2581,
                                  "end": 2617,
                                  "loc": {
                                    "start": {
                                      "line": 62,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 62,
                                      "column": 40
                                    }
                                  },
                                  "range": [
                                    2581,
                                    2617
                                  ]
                                }
                              ]
                            },
                            {
                              "type": "ArrowFunctionExpression",
                              "start": 2818,
                              "end": 2918,
                              "loc": {
                                "start": {
                                  "line": 67,
                                  "column": 4
                                },
                                "end": {
                                  "line": 69,
                                  "column": 5
                                }
                              },
                              "id": null,
                              "generator": false,
                              "expression": false,
                              "async": false,
                              "params": [
                                {
                                  "type": "Identifier",
                                  "start": 2819,
                                  "end": 2823,
                                  "loc": {
                                    "start": {
                                      "line": 67,
                                      "column": 5
                                    },
                                    "end": {
                                      "line": 67,
                                      "column": 9
                                    }
                                  },
                                  "name": "html",
                                  "leadingComments": null
                                },
                                {
                                  "type": "Identifier",
                                  "start": 2825,
                                  "end": 2832,
                                  "loc": {
                                    "start": {
                                      "line": 67,
                                      "column": 11
                                    },
                                    "end": {
                                      "line": 67,
                                      "column": 18
                                    }
                                  },
                                  "name": "writeCb"
                                }
                              ],
                              "body": {
                                "type": "BlockStatement",
                                "start": 2836,
                                "end": 2918,
                                "loc": {
                                  "start": {
                                    "line": 67,
                                    "column": 22
                                  },
                                  "end": {
                                    "line": 69,
                                    "column": 5
                                  }
                                },
                                "body": [
                                  {
                                    "type": "ExpressionStatement",
                                    "start": 2844,
                                    "end": 2912,
                                    "loc": {
                                      "start": {
                                        "line": 68,
                                        "column": 6
                                      },
                                      "end": {
                                        "line": 68,
                                        "column": 74
                                      }
                                    },
                                    "expression": {
                                      "type": "CallExpression",
                                      "start": 2844,
                                      "end": 2911,
                                      "loc": {
                                        "start": {
                                          "line": 68,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 68,
                                          "column": 73
                                        }
                                      },
                                      "callee": {
                                        "type": "Identifier",
                                        "start": 2844,
                                        "end": 2853,
                                        "loc": {
                                          "start": {
                                            "line": 68,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 68,
                                            "column": 15
                                          }
                                        },
                                        "name": "writeFile"
                                      },
                                      "arguments": [
                                        {
                                          "type": "BinaryExpression",
                                          "start": 2854,
                                          "end": 2886,
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 16
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 48
                                            }
                                          },
                                          "left": {
                                            "type": "BinaryExpression",
                                            "start": 2854,
                                            "end": 2876,
                                            "loc": {
                                              "start": {
                                                "line": 68,
                                                "column": 16
                                              },
                                              "end": {
                                                "line": 68,
                                                "column": 38
                                              }
                                            },
                                            "left": {
                                              "type": "BinaryExpression",
                                              "start": 2854,
                                              "end": 2864,
                                              "loc": {
                                                "start": {
                                                  "line": 68,
                                                  "column": 16
                                                },
                                                "end": {
                                                  "line": 68,
                                                  "column": 26
                                                }
                                              },
                                              "left": {
                                                "type": "Identifier",
                                                "start": 2854,
                                                "end": 2858,
                                                "loc": {
                                                  "start": {
                                                    "line": 68,
                                                    "column": 16
                                                  },
                                                  "end": {
                                                    "line": 68,
                                                    "column": 20
                                                  }
                                                },
                                                "name": "path"
                                              },
                                              "operator": "+",
                                              "right": {
                                                "type": "Literal",
                                                "start": 2861,
                                                "end": 2864,
                                                "loc": {
                                                  "start": {
                                                    "line": 68,
                                                    "column": 23
                                                  },
                                                  "end": {
                                                    "line": 68,
                                                    "column": 26
                                                  }
                                                },
                                                "value": "/",
                                                "rawValue": "/",
                                                "raw": "'/'"
                                              }
                                            },
                                            "operator": "+",
                                            "right": {
                                              "type": "Identifier",
                                              "start": 2867,
                                              "end": 2876,
                                              "loc": {
                                                "start": {
                                                  "line": 68,
                                                  "column": 29
                                                },
                                                "end": {
                                                  "line": 68,
                                                  "column": 38
                                                }
                                              },
                                              "name": "motherKey"
                                            }
                                          },
                                          "operator": "+",
                                          "right": {
                                            "type": "Literal",
                                            "start": 2879,
                                            "end": 2886,
                                            "loc": {
                                              "start": {
                                                "line": 68,
                                                "column": 41
                                              },
                                              "end": {
                                                "line": 68,
                                                "column": 48
                                              }
                                            },
                                            "value": ".html",
                                            "rawValue": ".html",
                                            "raw": "'.html'"
                                          }
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2888,
                                          "end": 2892,
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 50
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 54
                                            }
                                          },
                                          "name": "html"
                                        },
                                        {
                                          "type": "Literal",
                                          "start": 2894,
                                          "end": 2901,
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 56
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 63
                                            }
                                          },
                                          "value": "utf-8",
                                          "rawValue": "utf-8",
                                          "raw": "'utf-8'"
                                        },
                                        {
                                          "type": "Identifier",
                                          "start": 2903,
                                          "end": 2910,
                                          "loc": {
                                            "start": {
                                              "line": 68,
                                              "column": 65
                                            },
                                            "end": {
                                              "line": 68,
                                              "column": 72
                                            }
                                          },
                                          "name": "writeCb"
                                        }
                                      ]
                                    }
                                  }
                                ]
                              },
                              "leadingComments": [
                                {
                                  "type": "CommentLine",
                                  "value": " write the section to a static html file",
                                  "start": 2771,
                                  "end": 2813,
                                  "loc": {
                                    "start": {
                                      "line": 66,
                                      "column": 4
                                    },
                                    "end": {
                                      "line": 66,
                                      "column": 46
                                    }
                                  },
                                  "range": [
                                    2771,
                                    2813
                                  ]
                                }
                              ]
                            }
                          ]
                        },
                        {
                          "type": "ArrowFunctionExpression",
                          "start": 2924,
                          "end": 3431,
                          "loc": {
                            "start": {
                              "line": 70,
                              "column": 5
                            },
                            "end": {
                              "line": 87,
                              "column": 3
                            }
                          },
                          "id": null,
                          "generator": false,
                          "expression": false,
                          "async": false,
                          "params": [
                            {
                              "type": "Identifier",
                              "start": 2925,
                              "end": 2928,
                              "loc": {
                                "start": {
                                  "line": 70,
                                  "column": 6
                                },
                                "end": {
                                  "line": 70,
                                  "column": 9
                                }
                              },
                              "name": "err"
                            }
                          ],
                          "body": {
                            "type": "BlockStatement",
                            "start": 2932,
                            "end": 3431,
                            "loc": {
                              "start": {
                                "line": 70,
                                "column": 13
                              },
                              "end": {
                                "line": 87,
                                "column": 3
                              }
                            },
                            "body": [
                              {
                                "type": "IfStatement",
                                "start": 2938,
                                "end": 3427,
                                "loc": {
                                  "start": {
                                    "line": 71,
                                    "column": 4
                                  },
                                  "end": {
                                    "line": 86,
                                    "column": 5
                                  }
                                },
                                "test": {
                                  "type": "UnaryExpression",
                                  "start": 2942,
                                  "end": 2946,
                                  "loc": {
                                    "start": {
                                      "line": 71,
                                      "column": 8
                                    },
                                    "end": {
                                      "line": 71,
                                      "column": 12
                                    }
                                  },
                                  "operator": "!",
                                  "prefix": true,
                                  "argument": {
                                    "type": "Identifier",
                                    "start": 2943,
                                    "end": 2946,
                                    "loc": {
                                      "start": {
                                        "line": 71,
                                        "column": 9
                                      },
                                      "end": {
                                        "line": 71,
                                        "column": 12
                                      }
                                    },
                                    "name": "err"
                                  }
                                },
                                "consequent": {
                                  "type": "BlockStatement",
                                  "start": 2948,
                                  "end": 3311,
                                  "loc": {
                                    "start": {
                                      "line": 71,
                                      "column": 14
                                    },
                                    "end": {
                                      "line": 83,
                                      "column": 5
                                    }
                                  },
                                  "body": [
                                    {
                                      "type": "ExpressionStatement",
                                      "start": 2956,
                                      "end": 3305,
                                      "loc": {
                                        "start": {
                                          "line": 72,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 82,
                                          "column": 9
                                        }
                                      },
                                      "expression": {
                                        "type": "CallExpression",
                                        "start": 2956,
                                        "end": 3304,
                                        "loc": {
                                          "start": {
                                            "line": 72,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 82,
                                            "column": 8
                                          }
                                        },
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 2956,
                                          "end": 3088,
                                          "loc": {
                                            "start": {
                                              "line": 72,
                                              "column": 6
                                            },
                                            "end": {
                                              "line": 76,
                                              "column": 11
                                            }
                                          },
                                          "object": {
                                            "type": "CallExpression",
                                            "start": 2956,
                                            "end": 3076,
                                            "loc": {
                                              "start": {
                                                "line": 72,
                                                "column": 6
                                              },
                                              "end": {
                                                "line": 75,
                                                "column": 16
                                              }
                                            },
                                            "callee": {
                                              "type": "MemberExpression",
                                              "start": 2956,
                                              "end": 3074,
                                              "loc": {
                                                "start": {
                                                  "line": 72,
                                                  "column": 6
                                                },
                                                "end": {
                                                  "line": 75,
                                                  "column": 14
                                                }
                                              },
                                              "object": {
                                                "type": "CallExpression",
                                                "start": 2956,
                                                "end": 3059,
                                                "loc": {
                                                  "start": {
                                                    "line": 72,
                                                    "column": 6
                                                  },
                                                  "end": {
                                                    "line": 74,
                                                    "column": 46
                                                  }
                                                },
                                                "callee": {
                                                  "type": "MemberExpression",
                                                  "start": 2956,
                                                  "end": 3026,
                                                  "loc": {
                                                    "start": {
                                                      "line": 72,
                                                      "column": 6
                                                    },
                                                    "end": {
                                                      "line": 74,
                                                      "column": 13
                                                    }
                                                  },
                                                  "object": {
                                                    "type": "CallExpression",
                                                    "start": 2956,
                                                    "end": 3012,
                                                    "loc": {
                                                      "start": {
                                                        "line": 72,
                                                        "column": 6
                                                      },
                                                      "end": {
                                                        "line": 73,
                                                        "column": 47
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "MemberExpression",
                                                      "start": 2956,
                                                      "end": 2978,
                                                      "loc": {
                                                        "start": {
                                                          "line": 72,
                                                          "column": 6
                                                        },
                                                        "end": {
                                                          "line": 73,
                                                          "column": 13
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "CallExpression",
                                                        "start": 2956,
                                                        "end": 2964,
                                                        "loc": {
                                                          "start": {
                                                            "line": 72,
                                                            "column": 6
                                                          },
                                                          "end": {
                                                            "line": 72,
                                                            "column": 14
                                                          }
                                                        },
                                                        "callee": {
                                                          "type": "Identifier",
                                                          "start": 2956,
                                                          "end": 2962,
                                                          "loc": {
                                                            "start": {
                                                              "line": 72,
                                                              "column": 6
                                                            },
                                                            "end": {
                                                              "line": 72,
                                                              "column": 12
                                                            }
                                                          },
                                                          "name": "Prince"
                                                        },
                                                        "arguments": []
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 2972,
                                                        "end": 2978,
                                                        "loc": {
                                                          "start": {
                                                            "line": 73,
                                                            "column": 7
                                                          },
                                                          "end": {
                                                            "line": 73,
                                                            "column": 13
                                                          }
                                                        },
                                                        "name": "inputs"
                                                      },
                                                      "computed": false
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "BinaryExpression",
                                                        "start": 2979,
                                                        "end": 3011,
                                                        "loc": {
                                                          "start": {
                                                            "line": 73,
                                                            "column": 14
                                                          },
                                                          "end": {
                                                            "line": 73,
                                                            "column": 46
                                                          }
                                                        },
                                                        "left": {
                                                          "type": "BinaryExpression",
                                                          "start": 2979,
                                                          "end": 3001,
                                                          "loc": {
                                                            "start": {
                                                              "line": 73,
                                                              "column": 14
                                                            },
                                                            "end": {
                                                              "line": 73,
                                                              "column": 36
                                                            }
                                                          },
                                                          "left": {
                                                            "type": "BinaryExpression",
                                                            "start": 2979,
                                                            "end": 2989,
                                                            "loc": {
                                                              "start": {
                                                                "line": 73,
                                                                "column": 14
                                                              },
                                                              "end": {
                                                                "line": 73,
                                                                "column": 24
                                                              }
                                                            },
                                                            "left": {
                                                              "type": "Identifier",
                                                              "start": 2979,
                                                              "end": 2983,
                                                              "loc": {
                                                                "start": {
                                                                  "line": 73,
                                                                  "column": 14
                                                                },
                                                                "end": {
                                                                  "line": 73,
                                                                  "column": 18
                                                                }
                                                              },
                                                              "name": "path"
                                                            },
                                                            "operator": "+",
                                                            "right": {
                                                              "type": "Literal",
                                                              "start": 2986,
                                                              "end": 2989,
                                                              "loc": {
                                                                "start": {
                                                                  "line": 73,
                                                                  "column": 21
                                                                },
                                                                "end": {
                                                                  "line": 73,
                                                                  "column": 24
                                                                }
                                                              },
                                                              "value": "/",
                                                              "rawValue": "/",
                                                              "raw": "'/'"
                                                            }
                                                          },
                                                          "operator": "+",
                                                          "right": {
                                                            "type": "Identifier",
                                                            "start": 2992,
                                                            "end": 3001,
                                                            "loc": {
                                                              "start": {
                                                                "line": 73,
                                                                "column": 27
                                                              },
                                                              "end": {
                                                                "line": 73,
                                                                "column": 36
                                                              }
                                                            },
                                                            "name": "motherKey"
                                                          }
                                                        },
                                                        "operator": "+",
                                                        "right": {
                                                          "type": "Literal",
                                                          "start": 3004,
                                                          "end": 3011,
                                                          "loc": {
                                                            "start": {
                                                              "line": 73,
                                                              "column": 39
                                                            },
                                                            "end": {
                                                              "line": 73,
                                                              "column": 46
                                                            }
                                                          },
                                                          "value": ".html",
                                                          "rawValue": ".html",
                                                          "raw": "'.html'"
                                                        }
                                                      }
                                                    ]
                                                  },
                                                  "property": {
                                                    "type": "Identifier",
                                                    "start": 3020,
                                                    "end": 3026,
                                                    "loc": {
                                                      "start": {
                                                        "line": 74,
                                                        "column": 7
                                                      },
                                                      "end": {
                                                        "line": 74,
                                                        "column": 13
                                                      }
                                                    },
                                                    "name": "output"
                                                  },
                                                  "computed": false
                                                },
                                                "arguments": [
                                                  {
                                                    "type": "BinaryExpression",
                                                    "start": 3027,
                                                    "end": 3058,
                                                    "loc": {
                                                      "start": {
                                                        "line": 74,
                                                        "column": 14
                                                      },
                                                      "end": {
                                                        "line": 74,
                                                        "column": 45
                                                      }
                                                    },
                                                    "left": {
                                                      "type": "BinaryExpression",
                                                      "start": 3027,
                                                      "end": 3049,
                                                      "loc": {
                                                        "start": {
                                                          "line": 74,
                                                          "column": 14
                                                        },
                                                        "end": {
                                                          "line": 74,
                                                          "column": 36
                                                        }
                                                      },
                                                      "left": {
                                                        "type": "BinaryExpression",
                                                        "start": 3027,
                                                        "end": 3037,
                                                        "loc": {
                                                          "start": {
                                                            "line": 74,
                                                            "column": 14
                                                          },
                                                          "end": {
                                                            "line": 74,
                                                            "column": 24
                                                          }
                                                        },
                                                        "left": {
                                                          "type": "Identifier",
                                                          "start": 3027,
                                                          "end": 3031,
                                                          "loc": {
                                                            "start": {
                                                              "line": 74,
                                                              "column": 14
                                                            },
                                                            "end": {
                                                              "line": 74,
                                                              "column": 18
                                                            }
                                                          },
                                                          "name": "path"
                                                        },
                                                        "operator": "+",
                                                        "right": {
                                                          "type": "Literal",
                                                          "start": 3034,
                                                          "end": 3037,
                                                          "loc": {
                                                            "start": {
                                                              "line": 74,
                                                              "column": 21
                                                            },
                                                            "end": {
                                                              "line": 74,
                                                              "column": 24
                                                            }
                                                          },
                                                          "value": "/",
                                                          "rawValue": "/",
                                                          "raw": "'/'"
                                                        }
                                                      },
                                                      "operator": "+",
                                                      "right": {
                                                        "type": "Identifier",
                                                        "start": 3040,
                                                        "end": 3049,
                                                        "loc": {
                                                          "start": {
                                                            "line": 74,
                                                            "column": 27
                                                          },
                                                          "end": {
                                                            "line": 74,
                                                            "column": 36
                                                          }
                                                        },
                                                        "name": "motherKey"
                                                      }
                                                    },
                                                    "operator": "+",
                                                    "right": {
                                                      "type": "Literal",
                                                      "start": 3052,
                                                      "end": 3058,
                                                      "loc": {
                                                        "start": {
                                                          "line": 74,
                                                          "column": 39
                                                        },
                                                        "end": {
                                                          "line": 74,
                                                          "column": 45
                                                        }
                                                      },
                                                      "value": ".pdf",
                                                      "rawValue": ".pdf",
                                                      "raw": "'.pdf'"
                                                    }
                                                  }
                                                ]
                                              },
                                              "property": {
                                                "type": "Identifier",
                                                "start": 3067,
                                                "end": 3074,
                                                "loc": {
                                                  "start": {
                                                    "line": 75,
                                                    "column": 7
                                                  },
                                                  "end": {
                                                    "line": 75,
                                                    "column": 14
                                                  }
                                                },
                                                "name": "execute"
                                              },
                                              "computed": false
                                            },
                                            "arguments": []
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 3084,
                                            "end": 3088,
                                            "loc": {
                                              "start": {
                                                "line": 76,
                                                "column": 7
                                              },
                                              "end": {
                                                "line": 76,
                                                "column": 11
                                              }
                                            },
                                            "name": "then"
                                          },
                                          "computed": false
                                        },
                                        "arguments": [
                                          {
                                            "type": "FunctionExpression",
                                            "start": 3089,
                                            "end": 3193,
                                            "loc": {
                                              "start": {
                                                "line": 76,
                                                "column": 12
                                              },
                                              "end": {
                                                "line": 79,
                                                "column": 7
                                              }
                                            },
                                            "id": null,
                                            "generator": false,
                                            "expression": false,
                                            "async": false,
                                            "params": [],
                                            "body": {
                                              "type": "BlockStatement",
                                              "start": 3100,
                                              "end": 3193,
                                              "loc": {
                                                "start": {
                                                  "line": 76,
                                                  "column": 23
                                                },
                                                "end": {
                                                  "line": 79,
                                                  "column": 7
                                                }
                                              },
                                              "body": [
                                                {
                                                  "type": "ExpressionStatement",
                                                  "start": 3110,
                                                  "end": 3153,
                                                  "loc": {
                                                    "start": {
                                                      "line": 77,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 77,
                                                      "column": 51
                                                    }
                                                  },
                                                  "expression": {
                                                    "type": "CallExpression",
                                                    "start": 3110,
                                                    "end": 3152,
                                                    "loc": {
                                                      "start": {
                                                        "line": 77,
                                                        "column": 8
                                                      },
                                                      "end": {
                                                        "line": 77,
                                                        "column": 50
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "MemberExpression",
                                                      "start": 3110,
                                                      "end": 3121,
                                                      "loc": {
                                                        "start": {
                                                          "line": 77,
                                                          "column": 8
                                                        },
                                                        "end": {
                                                          "line": 77,
                                                          "column": 19
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "Identifier",
                                                        "start": 3110,
                                                        "end": 3117,
                                                        "loc": {
                                                          "start": {
                                                            "line": 77,
                                                            "column": 8
                                                          },
                                                          "end": {
                                                            "line": 77,
                                                            "column": 15
                                                          }
                                                        },
                                                        "name": "console"
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 3118,
                                                        "end": 3121,
                                                        "loc": {
                                                          "start": {
                                                            "line": 77,
                                                            "column": 16
                                                          },
                                                          "end": {
                                                            "line": 77,
                                                            "column": 19
                                                          }
                                                        },
                                                        "name": "log"
                                                      },
                                                      "computed": false
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "Literal",
                                                        "start": 3122,
                                                        "end": 3151,
                                                        "loc": {
                                                          "start": {
                                                            "line": 77,
                                                            "column": 20
                                                          },
                                                          "end": {
                                                            "line": 77,
                                                            "column": 49
                                                          }
                                                        },
                                                        "value": "saved to pdf with PrinceXML",
                                                        "rawValue": "saved to pdf with PrinceXML",
                                                        "raw": "'saved to pdf with PrinceXML'"
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "type": "ReturnStatement",
                                                  "start": 3162,
                                                  "end": 3185,
                                                  "loc": {
                                                    "start": {
                                                      "line": 78,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 78,
                                                      "column": 31
                                                    }
                                                  },
                                                  "argument": {
                                                    "type": "CallExpression",
                                                    "start": 3169,
                                                    "end": 3184,
                                                    "loc": {
                                                      "start": {
                                                        "line": 78,
                                                        "column": 15
                                                      },
                                                      "end": {
                                                        "line": 78,
                                                        "column": 30
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "Identifier",
                                                      "start": 3169,
                                                      "end": 3182,
                                                      "loc": {
                                                        "start": {
                                                          "line": 78,
                                                          "column": 15
                                                        },
                                                        "end": {
                                                          "line": 78,
                                                          "column": 28
                                                        }
                                                      },
                                                      "name": "finalCallback"
                                                    },
                                                    "arguments": []
                                                  }
                                                }
                                              ]
                                            }
                                          },
                                          {
                                            "type": "FunctionExpression",
                                            "start": 3195,
                                            "end": 3303,
                                            "loc": {
                                              "start": {
                                                "line": 79,
                                                "column": 9
                                              },
                                              "end": {
                                                "line": 82,
                                                "column": 7
                                              }
                                            },
                                            "id": null,
                                            "generator": false,
                                            "expression": false,
                                            "async": false,
                                            "params": [
                                              {
                                                "type": "Identifier",
                                                "start": 3204,
                                                "end": 3209,
                                                "loc": {
                                                  "start": {
                                                    "line": 79,
                                                    "column": 18
                                                  },
                                                  "end": {
                                                    "line": 79,
                                                    "column": 23
                                                  }
                                                },
                                                "name": "error"
                                              }
                                            ],
                                            "body": {
                                              "type": "BlockStatement",
                                              "start": 3211,
                                              "end": 3303,
                                              "loc": {
                                                "start": {
                                                  "line": 79,
                                                  "column": 25
                                                },
                                                "end": {
                                                  "line": 82,
                                                  "column": 7
                                                }
                                              },
                                              "body": [
                                                {
                                                  "type": "ExpressionStatement",
                                                  "start": 3221,
                                                  "end": 3258,
                                                  "loc": {
                                                    "start": {
                                                      "line": 80,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 80,
                                                      "column": 45
                                                    }
                                                  },
                                                  "expression": {
                                                    "type": "CallExpression",
                                                    "start": 3221,
                                                    "end": 3257,
                                                    "loc": {
                                                      "start": {
                                                        "line": 80,
                                                        "column": 8
                                                      },
                                                      "end": {
                                                        "line": 80,
                                                        "column": 44
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "MemberExpression",
                                                      "start": 3221,
                                                      "end": 3232,
                                                      "loc": {
                                                        "start": {
                                                          "line": 80,
                                                          "column": 8
                                                        },
                                                        "end": {
                                                          "line": 80,
                                                          "column": 19
                                                        }
                                                      },
                                                      "object": {
                                                        "type": "Identifier",
                                                        "start": 3221,
                                                        "end": 3228,
                                                        "loc": {
                                                          "start": {
                                                            "line": 80,
                                                            "column": 8
                                                          },
                                                          "end": {
                                                            "line": 80,
                                                            "column": 15
                                                          }
                                                        },
                                                        "name": "console"
                                                      },
                                                      "property": {
                                                        "type": "Identifier",
                                                        "start": 3229,
                                                        "end": 3232,
                                                        "loc": {
                                                          "start": {
                                                            "line": 80,
                                                            "column": 16
                                                          },
                                                          "end": {
                                                            "line": 80,
                                                            "column": 19
                                                          }
                                                        },
                                                        "name": "log"
                                                      },
                                                      "computed": false
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "Literal",
                                                        "start": 3233,
                                                        "end": 3249,
                                                        "loc": {
                                                          "start": {
                                                            "line": 80,
                                                            "column": 20
                                                          },
                                                          "end": {
                                                            "line": 80,
                                                            "column": 36
                                                          }
                                                        },
                                                        "value": "Prince ERROR: ",
                                                        "rawValue": "Prince ERROR: ",
                                                        "raw": "'Prince ERROR: '"
                                                      },
                                                      {
                                                        "type": "Identifier",
                                                        "start": 3251,
                                                        "end": 3256,
                                                        "loc": {
                                                          "start": {
                                                            "line": 80,
                                                            "column": 38
                                                          },
                                                          "end": {
                                                            "line": 80,
                                                            "column": 43
                                                          }
                                                        },
                                                        "name": "error"
                                                      }
                                                    ]
                                                  }
                                                },
                                                {
                                                  "type": "ReturnStatement",
                                                  "start": 3267,
                                                  "end": 3295,
                                                  "loc": {
                                                    "start": {
                                                      "line": 81,
                                                      "column": 8
                                                    },
                                                    "end": {
                                                      "line": 81,
                                                      "column": 36
                                                    }
                                                  },
                                                  "argument": {
                                                    "type": "CallExpression",
                                                    "start": 3274,
                                                    "end": 3294,
                                                    "loc": {
                                                      "start": {
                                                        "line": 81,
                                                        "column": 15
                                                      },
                                                      "end": {
                                                        "line": 81,
                                                        "column": 35
                                                      }
                                                    },
                                                    "callee": {
                                                      "type": "Identifier",
                                                      "start": 3274,
                                                      "end": 3287,
                                                      "loc": {
                                                        "start": {
                                                          "line": 81,
                                                          "column": 15
                                                        },
                                                        "end": {
                                                          "line": 81,
                                                          "column": 28
                                                        }
                                                      },
                                                      "name": "finalCallback"
                                                    },
                                                    "arguments": [
                                                      {
                                                        "type": "Identifier",
                                                        "start": 3288,
                                                        "end": 3293,
                                                        "loc": {
                                                          "start": {
                                                            "line": 81,
                                                            "column": 29
                                                          },
                                                          "end": {
                                                            "line": 81,
                                                            "column": 34
                                                          }
                                                        },
                                                        "name": "error"
                                                      }
                                                    ]
                                                  }
                                                }
                                              ]
                                            }
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                },
                                "alternate": {
                                  "type": "BlockStatement",
                                  "start": 3317,
                                  "end": 3427,
                                  "loc": {
                                    "start": {
                                      "line": 83,
                                      "column": 11
                                    },
                                    "end": {
                                      "line": 86,
                                      "column": 5
                                    }
                                  },
                                  "body": [
                                    {
                                      "type": "ExpressionStatement",
                                      "start": 3325,
                                      "end": 3388,
                                      "loc": {
                                        "start": {
                                          "line": 84,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 84,
                                          "column": 69
                                        }
                                      },
                                      "expression": {
                                        "type": "CallExpression",
                                        "start": 3325,
                                        "end": 3387,
                                        "loc": {
                                          "start": {
                                            "line": 84,
                                            "column": 6
                                          },
                                          "end": {
                                            "line": 84,
                                            "column": 68
                                          }
                                        },
                                        "callee": {
                                          "type": "MemberExpression",
                                          "start": 3325,
                                          "end": 3338,
                                          "loc": {
                                            "start": {
                                              "line": 84,
                                              "column": 6
                                            },
                                            "end": {
                                              "line": 84,
                                              "column": 19
                                            }
                                          },
                                          "object": {
                                            "type": "Identifier",
                                            "start": 3325,
                                            "end": 3332,
                                            "loc": {
                                              "start": {
                                                "line": 84,
                                                "column": 6
                                              },
                                              "end": {
                                                "line": 84,
                                                "column": 13
                                              }
                                            },
                                            "name": "console"
                                          },
                                          "property": {
                                            "type": "Identifier",
                                            "start": 3333,
                                            "end": 3338,
                                            "loc": {
                                              "start": {
                                                "line": 84,
                                                "column": 14
                                              },
                                              "end": {
                                                "line": 84,
                                                "column": 19
                                              }
                                            },
                                            "name": "error"
                                          },
                                          "computed": false
                                        },
                                        "arguments": [
                                          {
                                            "type": "Literal",
                                            "start": 3339,
                                            "end": 3381,
                                            "loc": {
                                              "start": {
                                                "line": 84,
                                                "column": 20
                                              },
                                              "end": {
                                                "line": 84,
                                                "column": 62
                                              }
                                            },
                                            "value": "error during rendering to static html : ",
                                            "rawValue": "error during rendering to static html : ",
                                            "raw": "'error during rendering to static html : '"
                                          },
                                          {
                                            "type": "Identifier",
                                            "start": 3383,
                                            "end": 3386,
                                            "loc": {
                                              "start": {
                                                "line": 84,
                                                "column": 64
                                              },
                                              "end": {
                                                "line": 84,
                                                "column": 67
                                              }
                                            },
                                            "name": "err"
                                          }
                                        ]
                                      }
                                    },
                                    {
                                      "type": "ReturnStatement",
                                      "start": 3395,
                                      "end": 3421,
                                      "loc": {
                                        "start": {
                                          "line": 85,
                                          "column": 6
                                        },
                                        "end": {
                                          "line": 85,
                                          "column": 32
                                        }
                                      },
                                      "argument": {
                                        "type": "CallExpression",
                                        "start": 3402,
                                        "end": 3420,
                                        "loc": {
                                          "start": {
                                            "line": 85,
                                            "column": 13
                                          },
                                          "end": {
                                            "line": 85,
                                            "column": 31
                                          }
                                        },
                                        "callee": {
                                          "type": "Identifier",
                                          "start": 3402,
                                          "end": 3415,
                                          "loc": {
                                            "start": {
                                              "line": 85,
                                              "column": 13
                                            },
                                            "end": {
                                              "line": 85,
                                              "column": 26
                                            }
                                          },
                                          "name": "finalCallback"
                                        },
                                        "arguments": [
                                          {
                                            "type": "Identifier",
                                            "start": 3416,
                                            "end": 3419,
                                            "loc": {
                                              "start": {
                                                "line": 85,
                                                "column": 27
                                              },
                                              "end": {
                                                "line": 85,
                                                "column": 30
                                              }
                                            },
                                            "name": "err"
                                          }
                                        ]
                                      }
                                    }
                                  ]
                                }
                              }
                            ]
                          }
                        }
                      ]
                    }
                  }
                ]
              }
            },
            "leadingComments": null
          }
        ],
        "kind": "const",
        "leadingComments": [
          {
            "type": "Block",
            "value": "*\n * Exports a section representation to a pdf file\n * @param {Object} params - The params of the export\n * @param {Object} params.section - the (root) section to export\n * @param {array} params.sectionList - the section context (if necessary)\n * @param {Object} params.settings - the specific rendering settings to use in order to produce the output\n * @param {boolean} params.includeChildren - whether to include section's children sections\n * @param {string} params.destinationFolder - where to output the file\n * @params {Object} assetsController - the module to use in order to communicate with assets\n * @param {Object} assetsParams - the assets parameters to use while communicating with assetsController\n * @param {function(err:error)} callback - the possible errors encountered during export\n ",
            "start": 1201,
            "end": 2007,
            "loc": {
              "start": {
                "line": 29,
                "column": 0
              },
              "end": {
                "line": 40,
                "column": 3
              }
            },
            "range": [
              1201,
              2007
            ]
          }
        ],
        "trailingComments": []
      },
      "specifiers": [],
      "source": null,
      "leadingComments": [
        {
          "type": "Block",
          "value": "*\n * Exports a section representation to a pdf file\n * @param {Object} params - The params of the export\n * @param {Object} params.section - the (root) section to export\n * @param {array} params.sectionList - the section context (if necessary)\n * @param {Object} params.settings - the specific rendering settings to use in order to produce the output\n * @param {boolean} params.includeChildren - whether to include section's children sections\n * @param {string} params.destinationFolder - where to output the file\n * @params {Object} assetsController - the module to use in order to communicate with assets\n * @param {Object} assetsParams - the assets parameters to use while communicating with assetsController\n * @param {function(err:error)} callback - the possible errors encountered during export\n ",
          "start": 1201,
          "end": 2007,
          "loc": {
            "start": {
              "line": 29,
              "column": 0
            },
            "end": {
              "line": 40,
              "column": 3
            }
          },
          "range": [
            1201,
            2007
          ]
        }
      ]
    }
  ]
}