File manager - Edit - /home/opticamezl/www/newok/django.zip
Back
PK l��\(�=�. . django.jsnu �[��� // CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: https://codemirror.net/5/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed"), require("../../addon/mode/overlay")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror", "../htmlmixed/htmlmixed", "../../addon/mode/overlay"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.defineMode("django:inner", function() { var keywords = ["block", "endblock", "for", "endfor", "true", "false", "filter", "endfilter", "loop", "none", "self", "super", "if", "elif", "endif", "as", "else", "import", "with", "endwith", "without", "context", "ifequal", "endifequal", "ifnotequal", "endifnotequal", "extends", "include", "load", "comment", "endcomment", "empty", "url", "static", "trans", "blocktrans", "endblocktrans", "now", "regroup", "lorem", "ifchanged", "endifchanged", "firstof", "debug", "cycle", "csrf_token", "autoescape", "endautoescape", "spaceless", "endspaceless", "ssi", "templatetag", "verbatim", "endverbatim", "widthratio"], filters = ["add", "addslashes", "capfirst", "center", "cut", "date", "default", "default_if_none", "dictsort", "dictsortreversed", "divisibleby", "escape", "escapejs", "filesizeformat", "first", "floatformat", "force_escape", "get_digit", "iriencode", "join", "last", "length", "length_is", "linebreaks", "linebreaksbr", "linenumbers", "ljust", "lower", "make_list", "phone2numeric", "pluralize", "pprint", "random", "removetags", "rjust", "safe", "safeseq", "slice", "slugify", "stringformat", "striptags", "time", "timesince", "timeuntil", "title", "truncatechars", "truncatechars_html", "truncatewords", "truncatewords_html", "unordered_list", "upper", "urlencode", "urlize", "urlizetrunc", "wordcount", "wordwrap", "yesno"], operators = ["==", "!=", "<", ">", "<=", ">="], wordOperators = ["in", "not", "or", "and"]; keywords = new RegExp("^\\b(" + keywords.join("|") + ")\\b"); filters = new RegExp("^\\b(" + filters.join("|") + ")\\b"); operators = new RegExp("^\\b(" + operators.join("|") + ")\\b"); wordOperators = new RegExp("^\\b(" + wordOperators.join("|") + ")\\b"); // We have to return "null" instead of null, in order to avoid string // styling as the default, when using Django templates inside HTML // element attributes function tokenBase (stream, state) { // Attempt to identify a variable, template or comment tag respectively if (stream.match("{{")) { state.tokenize = inVariable; return "tag"; } else if (stream.match("{%")) { state.tokenize = inTag; return "tag"; } else if (stream.match("{#")) { state.tokenize = inComment; return "comment"; } // Ignore completely any stream series that do not match the // Django template opening tags. while (stream.next() != null && !stream.match(/\{[{%#]/, false)) {} return null; } // A string can be included in either single or double quotes (this is // the delimiter). Mark everything as a string until the start delimiter // occurs again. function inString (delimiter, previousTokenizer) { return function (stream, state) { if (!state.escapeNext && stream.eat(delimiter)) { state.tokenize = previousTokenizer; } else { if (state.escapeNext) { state.escapeNext = false; } var ch = stream.next(); // Take into account the backslash for escaping characters, such as // the string delimiter. if (ch == "\\") { state.escapeNext = true; } } return "string"; }; } // Apply Django template variable syntax highlighting function inVariable (stream, state) { // Attempt to match a dot that precedes a property if (state.waitDot) { state.waitDot = false; if (stream.peek() != ".") { return "null"; } // Dot followed by a non-word character should be considered an error. if (stream.match(/\.\W+/)) { return "error"; } else if (stream.eat(".")) { state.waitProperty = true; return "null"; } else { throw Error ("Unexpected error while waiting for property."); } } // Attempt to match a pipe that precedes a filter if (state.waitPipe) { state.waitPipe = false; if (stream.peek() != "|") { return "null"; } // Pipe followed by a non-word character should be considered an error. if (stream.match(/\.\W+/)) { return "error"; } else if (stream.eat("|")) { state.waitFilter = true; return "null"; } else { throw Error ("Unexpected error while waiting for filter."); } } // Highlight properties if (state.waitProperty) { state.waitProperty = false; if (stream.match(/\b(\w+)\b/)) { state.waitDot = true; // A property can be followed by another property state.waitPipe = true; // A property can be followed by a filter return "property"; } } // Highlight filters if (state.waitFilter) { state.waitFilter = false; if (stream.match(filters)) { return "variable-2"; } } // Ignore all white spaces if (stream.eatSpace()) { state.waitProperty = false; return "null"; } // Identify numbers if (stream.match(/\b\d+(\.\d+)?\b/)) { return "number"; } // Identify strings if (stream.match("'")) { state.tokenize = inString("'", state.tokenize); return "string"; } else if (stream.match('"')) { state.tokenize = inString('"', state.tokenize); return "string"; } // Attempt to find the variable if (stream.match(/\b(\w+)\b/) && !state.foundVariable) { state.waitDot = true; state.waitPipe = true; // A property can be followed by a filter return "variable"; } // If found closing tag reset if (stream.match("}}")) { state.waitProperty = null; state.waitFilter = null; state.waitDot = null; state.waitPipe = null; state.tokenize = tokenBase; return "tag"; } // If nothing was found, advance to the next character stream.next(); return "null"; } function inTag (stream, state) { // Attempt to match a dot that precedes a property if (state.waitDot) { state.waitDot = false; if (stream.peek() != ".") { return "null"; } // Dot followed by a non-word character should be considered an error. if (stream.match(/\.\W+/)) { return "error"; } else if (stream.eat(".")) { state.waitProperty = true; return "null"; } else { throw Error ("Unexpected error while waiting for property."); } } // Attempt to match a pipe that precedes a filter if (state.waitPipe) { state.waitPipe = false; if (stream.peek() != "|") { return "null"; } // Pipe followed by a non-word character should be considered an error. if (stream.match(/\.\W+/)) { return "error"; } else if (stream.eat("|")) { state.waitFilter = true; return "null"; } else { throw Error ("Unexpected error while waiting for filter."); } } // Highlight properties if (state.waitProperty) { state.waitProperty = false; if (stream.match(/\b(\w+)\b/)) { state.waitDot = true; // A property can be followed by another property state.waitPipe = true; // A property can be followed by a filter return "property"; } } // Highlight filters if (state.waitFilter) { state.waitFilter = false; if (stream.match(filters)) { return "variable-2"; } } // Ignore all white spaces if (stream.eatSpace()) { state.waitProperty = false; return "null"; } // Identify numbers if (stream.match(/\b\d+(\.\d+)?\b/)) { return "number"; } // Identify strings if (stream.match("'")) { state.tokenize = inString("'", state.tokenize); return "string"; } else if (stream.match('"')) { state.tokenize = inString('"', state.tokenize); return "string"; } // Attempt to match an operator if (stream.match(operators)) { return "operator"; } // Attempt to match a word operator if (stream.match(wordOperators)) { return "keyword"; } // Attempt to match a keyword var keywordMatch = stream.match(keywords); if (keywordMatch) { if (keywordMatch[0] == "comment") { state.blockCommentTag = true; } return "keyword"; } // Attempt to match a variable if (stream.match(/\b(\w+)\b/)) { state.waitDot = true; state.waitPipe = true; // A property can be followed by a filter return "variable"; } // If found closing tag reset if (stream.match("%}")) { state.waitProperty = null; state.waitFilter = null; state.waitDot = null; state.waitPipe = null; // If the tag that closes is a block comment tag, we want to mark the // following code as comment, until the tag closes. if (state.blockCommentTag) { state.blockCommentTag = false; // Release the "lock" state.tokenize = inBlockComment; } else { state.tokenize = tokenBase; } return "tag"; } // If nothing was found, advance to the next character stream.next(); return "null"; } // Mark everything as comment inside the tag and the tag itself. function inComment (stream, state) { if (stream.match(/^.*?#\}/)) state.tokenize = tokenBase else stream.skipToEnd() return "comment"; } // Mark everything as a comment until the `blockcomment` tag closes. function inBlockComment (stream, state) { if (stream.match(/\{%\s*endcomment\s*%\}/, false)) { state.tokenize = inTag; stream.match("{%"); return "tag"; } else { stream.next(); return "comment"; } } return { startState: function () { return {tokenize: tokenBase}; }, token: function (stream, state) { return state.tokenize(stream, state); }, blockCommentStart: "{% comment %}", blockCommentEnd: "{% endcomment %}" }; }); CodeMirror.defineMode("django", function(config) { var htmlBase = CodeMirror.getMode(config, "text/html"); var djangoInner = CodeMirror.getMode(config, "django:inner"); return CodeMirror.overlayMode(htmlBase, djangoInner); }); CodeMirror.defineMIME("text/x-django", "django"); }); PK l��\�Bg�R R django.min.js.gznu �[��� � �XMs�6���Bތe"f)�G���;���4�8��"�l`@В��w�v趙��C/X<x��d�N�4:��� 4�����c0�{L��MOnD���X��JZ �Q�Pr�H��\Zk,�pؿs���E_{�E.�ы�\�G��?cˆ��Lj"�҆��n�x.�u5��&��!|y��в� �1�zvb�P3�J������F5��F` ��YJ��B� b�Gng:���2���Z����D-ꊳR+W�/�r�:�ueL!h�ɥD�QQ�S���.��%/}�G�9�5���nW�45*LE]��Σ���5d����C-hJ�SU ��y��ՃF^�'��4�t���k�5�x�Z������C��T���b�)�;��~�=��̤-�!an�-�zJ�LK��9�T���2��#�,x� ˆ��,KI�1/w�8M�vÝ�k���,w�m���(r!J��`�O����=���ܡ#�r}�Nfw�2ue��m��#��K!�,�F������ށX���sתG�2��Ʀx�l�� ��~Y���B�7��U�C(�[���ʝ� �Ը�����6��� Z�y_�0f�5��)�ۊ����r�~/��\�D�(���r-L�Oni��6�%ϰ)J|O5%Sߢ��̞�V�Ro;�,'sl�R괭W�I����8g+�r���F��X�ƽ��|n�N�6V�E�JP��PY��_�F���h+RSyQ����r� KM���7���|!|M%_�p���jC� �Z��J���q{}(�-I6\ꈶA �]K� ��M9� G3�h&��#��q՞ӳ,�!����ܥ� �G`̢���a�O��"����|�UL���t��*36X�H��,֕R�Y��H�7��W���� [�U�E^�.�����n#V>Ƴ*��{<��\E�] �zB��K�8v�fL���Ǫ!����>�b��K�6p����t�7��7�� ��"h��y��"��_/����)P{P�4�����@�Ⳬ��s;k��k����̃�;�pFC���2cgE;u���0&2����o���y�����~`P����s�(���&H��,�,[��*�B���x��у;���ȭ��_| K/�;�s�n�!�Z ��K�e�D��dk⸆���.�cu�?���o`�y? ����.��O ����0�L��/M|,^�� N'�TR :h!�����$�.��c���O[�_��Ҷ��);��'���&�+��J1H�N�&�_Z�6�� ?��~1|F��ڋɛ������R���Ý�]�>ѓ�5���Aw��Z���6��ׁ����n��o�~ ;�������hy�x=ě���������i�[�z�*9-�z���Q� ��̵�������yR���&�����c��@�����v��=��[��q������^f�S��iH���O�P�w4���f�� F�Z��>@r9�X8��c�C�_:\l�-:���o/��>�}0�6����1�ͅ� ������<|�2h��[��w�v*� PK l��\�v*� � django.min.jsnu �[��� (function(r){typeof exports=="object"&&typeof module=="object"?r(require("../../lib/codemirror"),require("../htmlmixed/htmlmixed"),require("../../addon/mode/overlay")):typeof define=="function"&&define.amd?define(["../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/overlay"],r):r(CodeMirror)})(function(r){"use strict";r.defineMode("django:inner",function(){var n=["block","endblock","for","endfor","true","false","filter","endfilter","loop","none","self","super","if","elif","endif","as","else","import","with","endwith","without","context","ifequal","endifequal","ifnotequal","endifnotequal","extends","include","load","comment","endcomment","empty","url","static","trans","blocktrans","endblocktrans","now","regroup","lorem","ifchanged","endifchanged","firstof","debug","cycle","csrf_token","autoescape","endautoescape","spaceless","endspaceless","ssi","templatetag","verbatim","endverbatim","widthratio"],t=["add","addslashes","capfirst","center","cut","date","default","default_if_none","dictsort","dictsortreversed","divisibleby","escape","escapejs","filesizeformat","first","floatformat","force_escape","get_digit","iriencode","join","last","length","length_is","linebreaks","linebreaksbr","linenumbers","ljust","lower","make_list","phone2numeric","pluralize","pprint","random","removetags","rjust","safe","safeseq","slice","slugify","stringformat","striptags","time","timesince","timeuntil","title","truncatechars","truncatechars_html","truncatewords","truncatewords_html","unordered_list","upper","urlencode","urlize","urlizetrunc","wordcount","wordwrap","yesno"],o=["==","!=","<",">","<=",">="],a=["in","not","or","and"];n=new RegExp("^\\b("+n.join("|")+")\\b"),t=new RegExp("^\\b("+t.join("|")+")\\b"),o=new RegExp("^\\b("+o.join("|")+")\\b"),a=new RegExp("^\\b("+a.join("|")+")\\b");function f(i,e){if(i.match("{{"))return e.tokenize=p,"tag";if(i.match("{%"))return e.tokenize=d,"tag";if(i.match("{#"))return e.tokenize=w,"comment";for(;i.next()!=null&&!i.match(/\{[{%#]/,!1););return null}function c(i,e){return function(l,u){if(!u.escapeNext&&l.eat(i))u.tokenize=e;else{u.escapeNext&&(u.escapeNext=!1);var m=l.next();m=="\\"&&(u.escapeNext=!0)}return"string"}}function p(i,e){if(e.waitDot){if(e.waitDot=!1,i.peek()!=".")return"null";if(i.match(/\.\W+/))return"error";if(i.eat("."))return e.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(e.waitPipe){if(e.waitPipe=!1,i.peek()!="|")return"null";if(i.match(/\.\W+/))return"error";if(i.eat("|"))return e.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return e.waitProperty&&(e.waitProperty=!1,i.match(/\b(\w+)\b/))?(e.waitDot=!0,e.waitPipe=!0,"property"):e.waitFilter&&(e.waitFilter=!1,i.match(t))?"variable-2":i.eatSpace()?(e.waitProperty=!1,"null"):i.match(/\b\d+(\.\d+)?\b/)?"number":i.match("'")?(e.tokenize=c("'",e.tokenize),"string"):i.match('"')?(e.tokenize=c('"',e.tokenize),"string"):i.match(/\b(\w+)\b/)&&!e.foundVariable?(e.waitDot=!0,e.waitPipe=!0,"variable"):i.match("}}")?(e.waitProperty=null,e.waitFilter=null,e.waitDot=null,e.waitPipe=null,e.tokenize=f,"tag"):(i.next(),"null")}function d(i,e){if(e.waitDot){if(e.waitDot=!1,i.peek()!=".")return"null";if(i.match(/\.\W+/))return"error";if(i.eat("."))return e.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(e.waitPipe){if(e.waitPipe=!1,i.peek()!="|")return"null";if(i.match(/\.\W+/))return"error";if(i.eat("|"))return e.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(e.waitProperty&&(e.waitProperty=!1,i.match(/\b(\w+)\b/)))return e.waitDot=!0,e.waitPipe=!0,"property";if(e.waitFilter&&(e.waitFilter=!1,i.match(t)))return"variable-2";if(i.eatSpace())return e.waitProperty=!1,"null";if(i.match(/\b\d+(\.\d+)?\b/))return"number";if(i.match("'"))return e.tokenize=c("'",e.tokenize),"string";if(i.match('"'))return e.tokenize=c('"',e.tokenize),"string";if(i.match(o))return"operator";if(i.match(a))return"keyword";var l=i.match(n);return l?(l[0]=="comment"&&(e.blockCommentTag=!0),"keyword"):i.match(/\b(\w+)\b/)?(e.waitDot=!0,e.waitPipe=!0,"variable"):i.match("%}")?(e.waitProperty=null,e.waitFilter=null,e.waitDot=null,e.waitPipe=null,e.blockCommentTag?(e.blockCommentTag=!1,e.tokenize=h):e.tokenize=f,"tag"):(i.next(),"null")}function w(i,e){return i.match(/^.*?#\}/)?e.tokenize=f:i.skipToEnd(),"comment"}function h(i,e){return i.match(/\{%\s*endcomment\s*%\}/,!1)?(e.tokenize=d,i.match("{%"),"tag"):(i.next(),"comment")}return{startState:function(){return{tokenize:f}},token:function(i,e){return e.tokenize(i,e)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),r.defineMode("django",function(n){var t=r.getMode(n,"text/html"),o=r.getMode(n,"django:inner");return r.overlayMode(t,o)}),r.defineMIME("text/x-django","django")}); PK l��\(�=�. . django.jsnu �[��� PK l��\�Bg�R R K. django.min.js.gznu �[��� PK l��\�v*� � �4 django.min.jsnu �[��� PK � �G
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Generation time: 0 |
proxy
|
phpinfo
|
Settings