%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/
Upload File :
Create Path :
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/twig-CzrPtbvb.chunk.mjs.map

{"version":3,"file":"twig-CzrPtbvb.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/twig.js"],"sourcesContent":["/*\nLanguage: Twig\nRequires: xml.js\nAuthor: Luke Holder <lukemh@gmail.com>\nDescription: Twig is a templating language for PHP\nWebsite: https://twig.symfony.com\nCategory: template\n*/\n\nfunction twig(hljs) {\n  const regex = hljs.regex;\n  const FUNCTION_NAMES = [\n    \"absolute_url\",\n    \"asset|0\",\n    \"asset_version\",\n    \"attribute\",\n    \"block\",\n    \"constant\",\n    \"controller|0\",\n    \"country_timezones\",\n    \"csrf_token\",\n    \"cycle\",\n    \"date\",\n    \"dump\",\n    \"expression\",\n    \"form|0\",\n    \"form_end\",\n    \"form_errors\",\n    \"form_help\",\n    \"form_label\",\n    \"form_rest\",\n    \"form_row\",\n    \"form_start\",\n    \"form_widget\",\n    \"html_classes\",\n    \"include\",\n    \"is_granted\",\n    \"logout_path\",\n    \"logout_url\",\n    \"max\",\n    \"min\",\n    \"parent\",\n    \"path|0\",\n    \"random\",\n    \"range\",\n    \"relative_path\",\n    \"render\",\n    \"render_esi\",\n    \"source\",\n    \"template_from_string\",\n    \"url|0\"\n  ];\n\n  const FILTERS = [\n    \"abs\",\n    \"abbr_class\",\n    \"abbr_method\",\n    \"batch\",\n    \"capitalize\",\n    \"column\",\n    \"convert_encoding\",\n    \"country_name\",\n    \"currency_name\",\n    \"currency_symbol\",\n    \"data_uri\",\n    \"date\",\n    \"date_modify\",\n    \"default\",\n    \"escape\",\n    \"file_excerpt\",\n    \"file_link\",\n    \"file_relative\",\n    \"filter\",\n    \"first\",\n    \"format\",\n    \"format_args\",\n    \"format_args_as_text\",\n    \"format_currency\",\n    \"format_date\",\n    \"format_datetime\",\n    \"format_file\",\n    \"format_file_from_text\",\n    \"format_number\",\n    \"format_time\",\n    \"html_to_markdown\",\n    \"humanize\",\n    \"inky_to_html\",\n    \"inline_css\",\n    \"join\",\n    \"json_encode\",\n    \"keys\",\n    \"language_name\",\n    \"last\",\n    \"length\",\n    \"locale_name\",\n    \"lower\",\n    \"map\",\n    \"markdown\",\n    \"markdown_to_html\",\n    \"merge\",\n    \"nl2br\",\n    \"number_format\",\n    \"raw\",\n    \"reduce\",\n    \"replace\",\n    \"reverse\",\n    \"round\",\n    \"slice\",\n    \"slug\",\n    \"sort\",\n    \"spaceless\",\n    \"split\",\n    \"striptags\",\n    \"timezone_name\",\n    \"title\",\n    \"trans\",\n    \"transchoice\",\n    \"trim\",\n    \"u|0\",\n    \"upper\",\n    \"url_encode\",\n    \"yaml_dump\",\n    \"yaml_encode\"\n  ];\n\n  let TAG_NAMES = [\n    \"apply\",\n    \"autoescape\",\n    \"block\",\n    \"cache\",\n    \"deprecated\",\n    \"do\",\n    \"embed\",\n    \"extends\",\n    \"filter\",\n    \"flush\",\n    \"for\",\n    \"form_theme\",\n    \"from\",\n    \"if\",\n    \"import\",\n    \"include\",\n    \"macro\",\n    \"sandbox\",\n    \"set\",\n    \"stopwatch\",\n    \"trans\",\n    \"trans_default_domain\",\n    \"transchoice\",\n    \"use\",\n    \"verbatim\",\n    \"with\"\n  ];\n\n  TAG_NAMES = TAG_NAMES.concat(TAG_NAMES.map(t => `end${t}`));\n\n  const STRING = {\n    scope: 'string',\n    variants: [\n      {\n        begin: /'/,\n        end: /'/\n      },\n      {\n        begin: /\"/,\n        end: /\"/\n      },\n    ]\n  };\n\n  const NUMBER = {\n    scope: \"number\",\n    match: /\\d+/\n  };\n\n  const PARAMS = {\n    begin: /\\(/,\n    end: /\\)/,\n    excludeBegin: true,\n    excludeEnd: true,\n    contains: [\n      STRING,\n      NUMBER\n    ]\n  };\n\n\n  const FUNCTIONS = {\n    beginKeywords: FUNCTION_NAMES.join(\" \"),\n    keywords: { name: FUNCTION_NAMES },\n    relevance: 0,\n    contains: [ PARAMS ]\n  };\n\n  const FILTER = {\n    match: /\\|(?=[A-Za-z_]+:?)/,\n    beginScope: \"punctuation\",\n    relevance: 0,\n    contains: [\n      {\n        match: /[A-Za-z_]+:?/,\n        keywords: FILTERS\n      },\n    ]\n  };\n\n  const tagNamed = (tagnames, { relevance }) => {\n    return {\n      beginScope: {\n        1: 'template-tag',\n        3: 'name'\n      },\n      relevance: relevance || 2,\n      endScope: 'template-tag',\n      begin: [\n        /\\{%/,\n        /\\s*/,\n        regex.either(...tagnames)\n      ],\n      end: /%\\}/,\n      keywords: \"in\",\n      contains: [\n        FILTER,\n        FUNCTIONS,\n        STRING,\n        NUMBER\n      ]\n    };\n  };\n\n  const CUSTOM_TAG_RE = /[a-z_]+/;\n  const TAG = tagNamed(TAG_NAMES, { relevance: 2 });\n  const CUSTOM_TAG = tagNamed([ CUSTOM_TAG_RE ], { relevance: 1 });\n\n  return {\n    name: 'Twig',\n    aliases: [ 'craftcms' ],\n    case_insensitive: true,\n    subLanguage: 'xml',\n    contains: [\n      hljs.COMMENT(/\\{#/, /#\\}/),\n      TAG,\n      CUSTOM_TAG,\n      {\n        className: 'template-variable',\n        begin: /\\{\\{/,\n        end: /\\}\\}/,\n        contains: [\n          'self',\n          FILTER,\n          FUNCTIONS,\n          STRING,\n          NUMBER\n        ]\n      }\n    ]\n  };\n}\n\nmodule.exports = twig;\n"],"names":["twig","hljs","regex","FUNCTION_NAMES","FILTERS","TAG_NAMES","t","STRING","NUMBER","PARAMS","FUNCTIONS","FILTER","tagNamed","tagnames","relevance","CUSTOM_TAG_RE","TAG","CUSTOM_TAG","twig_1"],"mappings":";4YASA,SAASA,EAAKC,EAAM,CAClB,MAAMC,EAAQD,EAAK,MACbE,EAAiB,CACrB,eACA,UACA,gBACA,YACA,QACA,WACA,eACA,oBACA,aACA,QACA,OACA,OACA,aACA,SACA,WACA,cACA,YACA,aACA,YACA,WACA,aACA,cACA,eACA,UACA,aACA,cACA,aACA,MACA,MACA,SACA,SACA,SACA,QACA,gBACA,SACA,aACA,SACA,uBACA,OACJ,EAEQC,EAAU,CACd,MACA,aACA,cACA,QACA,aACA,SACA,mBACA,eACA,gBACA,kBACA,WACA,OACA,cACA,UACA,SACA,eACA,YACA,gBACA,SACA,QACA,SACA,cACA,sBACA,kBACA,cACA,kBACA,cACA,wBACA,gBACA,cACA,mBACA,WACA,eACA,aACA,OACA,cACA,OACA,gBACA,OACA,SACA,cACA,QACA,MACA,WACA,mBACA,QACA,QACA,gBACA,MACA,SACA,UACA,UACA,QACA,QACA,OACA,OACA,YACA,QACA,YACA,gBACA,QACA,QACA,cACA,OACA,MACA,QACA,aACA,YACA,aACJ,EAEE,IAAIC,EAAY,CACd,QACA,aACA,QACA,QACA,aACA,KACA,QACA,UACA,SACA,QACA,MACA,aACA,OACA,KACA,SACA,UACA,QACA,UACA,MACA,YACA,QACA,uBACA,cACA,MACA,WACA,MACJ,EAEEA,EAAYA,EAAU,OAAOA,EAAU,IAAIC,GAAK,MAAMA,SAAG,CAAC,EAE1D,MAAMC,EAAS,CACb,MAAO,SACP,SAAU,CACR,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,IACP,IAAK,GACN,CACF,CACL,EAEQC,EAAS,CACb,MAAO,SACP,MAAO,KACX,EAEQC,EAAS,CACb,MAAO,KACP,IAAK,KACL,aAAc,GACd,WAAY,GACZ,SAAU,CACRF,EACAC,CACD,CACL,EAGQE,EAAY,CAChB,cAAeP,EAAe,KAAK,GAAG,EACtC,SAAU,CAAE,KAAMA,CAAgB,EAClC,UAAW,EACX,SAAU,CAAEM,CAAQ,CACxB,EAEQE,EAAS,CACb,MAAO,qBACP,WAAY,cACZ,UAAW,EACX,SAAU,CACR,CACE,MAAO,eACP,SAAUP,CACX,CACF,CACL,EAEQQ,EAAW,CAACC,EAAU,CAAE,UAAAC,CAAS,KAC9B,CACL,WAAY,CACV,EAAG,eACH,EAAG,MACJ,EACD,UAAWA,GAAa,EAC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