| Server IP : 54.36.91.62 / Your IP : 216.73.217.117 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/plats-individuels/lyon/media/vendor/codemirror/mode/asciiarmor/ |
Upload File : |
(function(n){typeof exports=="object"&&typeof module=="object"?n(require("../../lib/codemirror")):typeof define=="function"&&define.amd?define(["../../lib/codemirror"],n):n(CodeMirror)})(function(n){"use strict";function t(e){var i=e.match(/^\s*\S/);return e.skipToEnd(),i?"error":null}n.defineMode("asciiarmor",function(){return{token:function(e,i){var r;if(i.state=="top")return e.sol()&&(r=e.match(/^-----BEGIN (.*)?-----\s*$/))?(i.state="headers",i.type=r[1],"tag"):t(e);if(i.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return i.state="header","atom";var o=t(e);return o&&(i.state="body"),o}else{if(i.state=="header")return e.skipToEnd(),i.state="headers","string";if(i.state=="body")return e.sol()&&(r=e.match(/^-----END (.*)?-----\s*$/))?r[1]!=i.type?"error":(i.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(i.state=="end")return t(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}}}),n.defineMIME("application/pgp","asciiarmor"),n.defineMIME("application/pgp-encrypted","asciiarmor"),n.defineMIME("application/pgp-keys","asciiarmor"),n.defineMIME("application/pgp-signature","asciiarmor")});