<commit_before>// @flow

import asciidoctor from "asciidoctor.js";
import deburr from "lodash.deburr";
import kebabCase from "lodash.kebabcase";
import unifiedProcessor from "@phenomic/helpers-transform/lib/unifiedProcessor";
import type { plugin } from "@phenomic/helpers-transform/lib//unifiedProcessor";
import extractMetaFromBodyNode from "@phenomic/helpers-transform/lib/extractMetaFromBodyNode";

import defaultOptions from "./default-options";

// eslint-disable-next-line
const debug = require("debug")("phenomic:plugin:transform-asciidoc");

const adDefaultOptions = {
  safe: "secure",
  attributes: {
    header_footer: "false",
    "linkcss!": "",
    "copycss!": "",
  },
};

const envAttributes = [
  "asciidoctor",
  "asciidoctor-version",
  "backend",
  "basebackend",
  "docdate",
  "docdatetime",
  "docdir",
  "docfile",
  "docfilesuffix",
  "docname",
  "doctime",
  "doctype",<commit_msg>chore: remove unused imports (#1271)<commit_after>// @flow

import asciidoctor from "asciidoctor.js";
import unifiedProcessor from "@phenomic/helpers-transform/lib/unifiedProcessor";
import type { plugin } from "@phenomic/helpers-transform/lib//unifiedProcessor";
import extractMetaFromBodyNode from "@phenomic/helpers-transform/lib/extractMetaFromBodyNode";

import defaultOptions from "./default-options";

// eslint-disable-next-line
const debug = require("debug")("phenomic:plugin:transform-asciidoc");

const adDefaultOptions = {
  safe: "secure",
  attributes: {
    header_footer: "false",
    "linkcss!": "",
    "copycss!": "",
  },
};

const envAttributes = [
  "asciidoctor",
  "asciidoctor-version",
  "backend",
  "basebackend",
  "docdate",
  "docdatetime",
  "docdir",
  "docfile",
  "docfilesuffix",
  "docname",
  "doctime",
  "doctype",
{'fraction_non_alphanumeric': 0.1542824730572887, 'fraction_numerical': 0.0022688598979013048, 'mean_word_length': 5.189473684210526, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5928756', 'n_tokens_mistral': 589, 'n_tokens_neox': 582, 'n_words': 111}