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AAE;IACf,QAAQ,GAAG,CAAC,CAAC,sBAAe,EAAE,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,yBAAyB,CAAC;IACjG,MAAM,CAAA,GAAA,wCAAO,EAAE;IACf,QAAQ,GAAG,CAAC;IACZ,MAAM,CAAA,GAAA,wCAAO,EAAE;AACjB;AACO,SAAS;IACd;AACF;AACO,SAAS;IACd;AACF","sources":["src/index.ts","src/helper/waittime.ts","src/pages/askQuestions.ts","src/main/question.ts","src/pages/cssDownload.ts","src/main/file-downloader.ts","src/main/dir-checker.ts","src/pages/fontsDownload.ts","src/main/font-extractor.ts","src/pages/versionCheck.ts","src/json/fonts.json","src/pages/noticeOfficial.ts"],"sourcesContent":["import waittime from \"./helper/waittime\"\nimport askQuestion from \"./pages/askQuestions\"\nimport cssDownload from \"./pages/cssDownload\"\nimport { downloadFonts, readFonts } from \"./pages/fontsDownload\"\nimport checkVersion from \"./pages/versionCheck\"\nimport unofficialNotice from \"./pages/noticeOfficial\"\n\nasync function startDownloader(): Promise<void> {\n  await waittime(100)\n  console.clear()\n  const { isOk } = await unofficialNotice()\n  if (!isOk) return\n  const { useDir } = await askQuestion()\n  const { fontlist, useVer, baseUrl } = await checkVersion()\n  const cssUrls: string[] = await cssDownload(useVer, useDir, fontlist)\n  const fontUrls: string[] = await readFonts(cssUrls, useDir)\n  await downloadFonts(fontUrls, useDir, baseUrl)\n  await waittime(1000)\n  console.log(\"--------\")\n  await waittime(1000)\n  console.log(`✅ Font Awesome ${useVer.split(\".\")[0]} Pro Plus v${useVer} Downloaded Successfully!`)\n  await waittime(1000)\n  console.log(\"DONE\")\n  await waittime(1000)\n}\nexport function getFontAwesomePro(): void {\n  startDownloader()\n}\nexport function getFapro(): void {\n  startDownloader()\n}\n","export default function waittime(ms: number = 500, n: number = 5): Promise<void> {\n  return new Promise((resolve) => setTimeout(resolve, ms - n))\n}\n","import { question } from \"../main/question\"\nimport waittime from \"../helper/waittime\"\n\nexport default async function askQuestion(): Promise<{ useDir: string }> {\n  console.log(\"--------\")\n  await waittime(1000)\n  console.log(\" \")\n  await waittime(100)\n  console.log(`Set the Download Path!`)\n  await waittime(100)\n  console.log(\"--------\")\n  await waittime(100)\n  console.log(\"Download path can be \" + \"`path/to/your/public/folder`\" + \" or \" + \"`anything`\" + \".\")\n  await waittime(100)\n  console.log(\"--------\")\n  await waittime(100)\n  console.log(\"if the path does not exist, it will be created automatically.\")\n  await waittime(500)\n  console.log(\"--------\")\n  const dir = await question(`Enter download path: (fapro) `)\n  const useDir = dir ? dir : \"fapro\"\n  console.log(`${useDir}${dir ? \"\" : \" (default)\"}`)\n  console.log(\"--------\")\n  await waittime(750)\n  console.log(\" \")\n  console.log(\"Preparing Downloader\")\n  await waittime(2250)\n  console.log(\" \")\n  return { useDir }\n}\n","import readline from \"readline\"\n\nexport function question(text: string): Promise<string> {\n  return new Promise((resolve) => {\n    const rl = readline.createInterface({\n      input: process.stdin,\n      output: process.stdout\n    })\n    rl.question(text, (anwer) => {\n      resolve(anwer)\n      rl.close()\n    })\n  })\n}\n","import { downloadFile, getDownloaded } from \"../main/file-downloader\"\nimport waittime from \"../helper/waittime\"\n\nexport default async function cssDownload(useVer: string, useDir: string, fontlist: string[]): Promise<string[]> {\n  console.log(\"--------\")\n  console.log(`🕗 Downloading All Stylesheets`)\n  await waittime(1000)\n\n  const dir = `${useDir}/css`\n\n  for (let i = 0; i < fontlist.length; i++) {\n    const url = fontlist[i]\n    const progress = `[${i + 1}/${fontlist.length}]`\n    await downloadFile(url, dir, progress)\n  }\n  console.log(\"✅ Stylesheets Downloaded\")\n  await waittime(1000)\n  return getDownloaded()\n}\n","import { Downloader } from \"nodejs-file-downloader\"\nimport { addDir } from \"./dir-checker\"\n\nlet filesDownloaded: string[] = []\n\nexport async function downloadFile(fileurl: string, filedir: string, progress: string | null = null): Promise<void> {\n  await addDir(`${filedir}`)\n  const downloader = new Downloader({\n    url: fileurl,\n    directory: `./${filedir}`,\n    cloneFiles: false\n  })\n  try {\n    await downloader.download()\n    const fileorigin = fileurl.split(\"/\")\n    const filename = fileorigin[fileorigin.length - 1]\n    console.log(`🚀 ${progress ? progress + \" \" : \"\"}${filename}`)\n    filesDownloaded.push(filename)\n  } catch (_error) {\n    throw new Error(\"The version you wanted to download is not available. Please use other release version.\")\n  }\n}\nexport function getDownloaded(): string[] {\n  const files: string[] = [...filesDownloaded]\n  filesDownloaded = []\n  return files\n}\n","import fs from \"fs\"\nimport waittime from \"../helper/waittime\"\n\nexport async function addDir(dirpath: string): Promise<void> {\n  let curpath = \".\"\n  const dirs: string[] = dirpath.split(\"/\")\n\n  for (const dir of dirs) {\n    curpath += `/${dir}`\n    if (!fs.existsSync(curpath)) {\n      fs.mkdirSync(curpath)\n      await waittime(100)\n    }\n  }\n}\n","import { addDir } from \"../main/dir-checker\"\nimport waittime from \"../helper/waittime\"\nimport { extractFont, getFonts } from \"../main/font-extractor\"\nimport { downloadFile } from \"../main/file-downloader\"\n\nexport async function readFonts(sheets: string[], useDir: string): Promise<string[]> {\n  console.log(\"--------\")\n  console.log(\"🕗 Reading Available Webfonts\")\n  const dir = `${useDir}/css`\n  for (const sheet of sheets) {\n    await extractFont(sheet, dir)\n  }\n  const fonts = getFonts()\n  console.log(\"✅ Found \" + fonts.length.toString() + \" Webfonts\")\n  await waittime(1000)\n  return fonts\n}\nexport async function downloadFonts(fonts: string[], filedir: string, baseUrl: string): Promise<void> {\n  const dir = `${filedir}/webfonts`\n  await addDir(dir)\n  const fonturl = baseUrl\n  console.log(\"--------\")\n  console.log(\"🕗 Downloading All Webfonts\")\n  await waittime(1000)\n  for (let i = 0; i < fonts.length; i++) {\n    const font = fonts[i].replace(\"..\", \"\")\n    const url = `${fonturl}${font}`\n    const progress = `[${i + 1}/${fonts.length}]`\n    await downloadFile(url, dir, progress)\n  }\n  console.log(\"✅ Webfonts Downloaded\")\n}\n","import fs from \"fs\"\nimport postcss from \"postcss\"\nimport safeParser from \"postcss-safe-parser\"\n\nlet fontUrls: string[] = []\n\nexport async function extractFont(filename: string, filedir: string): Promise<void> {\n  const css = fs.readFileSync(`./${filedir}/${filename}`, \"utf8\")\n  postcss()\n    .process(css, { parser: safeParser, from: undefined })\n    .then((result) => {\n      result.root.walkAtRules(\"font-face\", (rule) => {\n        rule.walkDecls(\"src\", (decl) => {\n          const matches = decl.value.match(/url\\(([^)]+)\\)/g)\n          if (matches) {\n            matches.forEach((url) => {\n              const cleanUrl = url.replace(/url\\([\"']?/, \"\").replace(/[\"']?\\)/, \"\")\n              fontUrls.push(cleanUrl)\n            })\n          }\n        })\n      })\n    })\n}\n\nexport function getFonts(): string[] {\n  const fixedFonts: string[] = [...fontUrls]\n  fontUrls = []\n  return fixedFonts\n}\n","import { Ver } from \"./fa.types\"\nimport defVer from \"../json/fonts.json\"\nimport waittime from \"../helper/waittime\"\n\nasync function getVersion(): Promise<Ver> {\n  const url = `https://raw.githubusercontent.com/devanka761/webfont-awesome-pro/refs/heads/master/src/json/fonts.json?ts=${Date.now().toString(36)}`\n\n  return await fetch(url, {\n    method: \"GET\"\n  })\n    .then((res) => res.json())\n    .then((res) => {\n      console.log(`✅ Found: v${res.version}`)\n      return res\n    })\n    .catch(() => {\n      console.log(`⛔ Error getting the latest version!`)\n      console.log(`⛔ Forced Using v${defVer.version}`)\n      return defVer\n    })\n}\n\nexport default async function checkVersion(): Promise<{ fontlist: string[]; useVer: string; baseUrl: string }> {\n  console.log(\"--------\")\n  console.log(\"🕗 Checking Latest Version\")\n  await waittime(1000)\n  const curFonts = await getVersion()\n  await waittime(100)\n  console.log(\"--------\")\n  await waittime(1000)\n  console.log(\" \")\n  console.log(`Downloading Version ${curFonts.version} of Font Awesome ${curFonts.version.split(\".\")[0]} Pro Plus`)\n  await waittime(1000)\n  console.log(\" \")\n  console.log(\"--------\")\n  await waittime(100)\n  console.log(\"🕗 Reading Available Stylesheets\")\n  await waittime(500)\n  const fontlist = curFonts.css.map((file) => `${curFonts.root}/css/${file}`)\n  console.log(\"✅ Found \" + fontlist.length.toString() + \" Sytlesheets\")\n  await waittime(1000)\n  return { fontlist, useVer: curFonts.version, baseUrl: curFonts.root }\n}\n","{\n  \"version\": \"7.2.0\",\n  \"root\": \"https://site-assets.fontawesome.com/releases/v7.2.0\",\n  \"css\": [\n    \"fontawesome.css\",\n    \"brands.css\",\n    \"chisel-regular.css\",\n    \"duotone-light.css\",\n    \"duotone-regular.css\",\n    \"duotone-thin.css\",\n    \"duotone.css\",\n    \"etch-solid.css\",\n    \"graphite-thin.css\",\n    \"jelly-duo-regular.css\",\n    \"jelly-fill-regular.css\",\n    \"jelly-regular.css\",\n    \"light.css\",\n    \"notdog-duo-solid.css\",\n    \"notdog-solid.css\",\n    \"regular.css\",\n    \"sharp-duotone-light.css\",\n    \"sharp-duotone-regular.css\",\n    \"sharp-duotone-solid.css\",\n    \"sharp-duotone-thin.css\",\n    \"sharp-light.css\",\n    \"sharp-regular.css\",\n    \"sharp-solid.css\",\n    \"sharp-thin.css\",\n    \"slab-press-regular.css\",\n    \"slab-regular.css\",\n    \"solid.css\",\n    \"thin.css\",\n    \"thumbprint-light.css\",\n    \"utility-duo-semibold.css\",\n    \"utility-fill-semibold.css\",\n    \"utility-semibold.css\",\n    \"whiteboard-semibold.css\"\n  ]\n}","import waittime from \"../helper/waittime\"\nimport { question } from \"../main/question\"\n\nexport default async function unofficialNotice(): Promise<{ isOk: boolean }> {\n  console.log(\"Font Awesome Pro Plus Downloader | Devanka761\")\n  await waittime(500)\n  console.log(\"\")\n  console.log(\"--------\")\n  console.log(`Font Awesome Pro Plus Downloader was made for educational purposes only!`)\n  await waittime(100)\n  console.log(\"--------\")\n  await waittime(100)\n  console.log(`This downloader provides Paid (Pro Plus) Version for the latest Official Package. It is intended for experimental and personal use only. It is licensed for commercial use.`)\n  await waittime(100)\n  console.log(\"--------\")\n  await waittime(100)\n  console.log(`DO NOT use this downloader if you are not a Creator or you have never buy the official product from the official website.`)\n  await waittime(100)\n  console.log(\"--------\")\n  await waittime(100)\n  console.log(`To unlock commercial use for your own projects, and get an official product license, please consider to go to the Font Awesome webiste: https://fontawesome.com/plans`)\n  await waittime(100)\n  console.log(\"--------\")\n  await waittime(500)\n  let agree = await question(`Continue to download? (Y/n) `)\n  agree = agree ? agree.toLowerCase() : \"y\"\n  const notAgrees = [\"no\", \"n\", \"nope\"]\n  const isOk = notAgrees.find((textNo) => textNo === agree) ? false : true\n  console.log(isOk ? \"y\" : \"n\")\n  if (!isOk) {\n    console.log(\"--------\")\n    await waittime(1000)\n    console.log(\"⛔ Font Awesome Pro Plus Downloader Canceled\")\n    await waittime(1000)\n    console.log(\"DONE\")\n  }\n\n  return { isOk }\n}\n"],"names":[],"version":3,"file":"index.cjs.map","sourceRoot":"../"}