├── attachments ├── xss.js ├── xss.svg └── .png ├── vectors.txt ├── README.md ├── rss └── rss.xml ├── vectors.json ├── html ├── css │ └── custom.css ├── js │ ├── content.js │ ├── encoder.js │ ├── jsfuck.js │ └── jquery.min.js ├── index.html ├── encoder.html └── editor.html ├── events.txt ├── events.json └── LICENSE /attachments/xss.js: -------------------------------------------------------------------------------- 1 | alert(1) -------------------------------------------------------------------------------- /attachments/xss.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /attachments/.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devwerks/XSS-Cheatsheet/HEAD/attachments/.png -------------------------------------------------------------------------------- /vectors.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | long paragraph 11 | 12 | 13 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | XSS Cheatsheet 2 | ==== 3 | 4 | [](https://www.codacy.com/app/blubtxt/XSS-Cheatsheet?utm_source=github.com&utm_medium=referral&utm_content=devwerks/XSS-Cheatsheet&utm_campaign=badger) 5 | 6 | Here you will find: 7 | 8 | * A collection of XSS attack vectors 9 | * A set of useful files for XSS testing 10 | * A Live Editor for XSS testing 11 | * Encoder (Hex, Base64, JSFuck) 12 | 13 | Pull requests welcome 14 | 15 | ## Recommendation 16 | 17 | * Use Firefox 18 | 19 | ## Contact 20 | 21 | If you run into issues, feel free to get on touch on Twitter, check the current issues or create a new one. Patches are also welcome. 22 | 23 | http://devwerks.net 24 | -------------------------------------------------------------------------------- /rss/rss.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | devWerks XSS Cheatsheet for RSS 6 | ]]> 7 | en 8 | 000javascript:alert(1)]]> 9 | 10 | http://foo.com/?"onclick=prompt(1)/ 11 | XSS Vectors 12 | data:x,%3cscript%3ealert(/link/)%3c/script%3e 13 | 14 | 15 | javascript:prompt(/title/) 16 | ]]> 17 | data:x,%3cscript%3ealert(/link/)%3c/script%3e 18 | javascript:prompt(/comments/) 19 | ]]> 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /vectors.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id" : "1", 4 | "data" : "" 5 | }, 6 | { 7 | "id" : "2", 8 | "data" : "" 9 | }, 10 | { 11 | "id" : "3", 12 | "data" : "" 13 | }, 14 | { 15 | "id" : "4", 16 | "data" : "" 17 | }, 18 | { 19 | "id" : "5", 20 | "data" : "" 21 | }, 22 | { 23 | "id" : "6", 24 | "data" : "" 25 | }, 26 | { 27 | "id" : "7", 28 | "data" : "" 29 | }, 30 | { 31 | "id" : "8", 32 | "data" : "" 33 | }, 34 | { 35 | "id" : "9", 36 | "data" : "" 37 | }, 38 | { 39 | "id" : "10", 40 | "data" : "long paragraph" 41 | }, 42 | { 43 | "id" : "11", 44 | "data" : "" 45 | }, 46 | { 47 | "id" : "12", 48 | "data" : "" 49 | } 50 | ] 51 | -------------------------------------------------------------------------------- /html/css/custom.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #f5fbff; 3 | font-size: 15px; 4 | line-height: 18px; 5 | font-family: 'Ubuntu Mono', monospace, fixed, sans-serif; 6 | overflow-x: hidden; 7 | } 8 | 9 | h1 { 10 | padding: 10px; 11 | color: #808080; 12 | } 13 | 14 | h2 { 15 | padding: 10px; 16 | color: #808080; 17 | } 18 | 19 | ul li { 20 | list-style: none; 21 | } 22 | 23 | #content { 24 | width: 70%; 25 | } 26 | 27 | #content > ul { 28 | padding: 0 0 0 10px; 29 | } 30 | 31 | #events { 32 | width: 70%; 33 | } 34 | 35 | #events > ul { 36 | padding: 0 0 0 10px; 37 | } 38 | 39 | #sidebar { 40 | width: 25%; 41 | position: fixed; 42 | right: 35px; 43 | top: 78px; 44 | } 45 | 46 | #sidebar a { 47 | font-size: 15px; 48 | color: #68c2ff; 49 | padding: 5px; 50 | text-decoration: none; 51 | display: block; 52 | } 53 | 54 | #sidebar a:hover { 55 | color: #e1e1e1; 56 | } 57 | 58 | #sidebar a:active { 59 | color: #fff; 60 | } 61 | 62 | code { 63 | display: block; 64 | background: #fff; 65 | padding: 20px; 66 | white-space: pre-line; 67 | border: 3px dotted #e1e1e1; 68 | font-family: 'Ubuntu Mono', monospace, fixed, sans-serif; 69 | } 70 | 71 | textarea { 72 | display: block; 73 | height: 200px; 74 | width: 100%; 75 | margin: 1em 0; 76 | max-width: 600px; 77 | } 78 | -------------------------------------------------------------------------------- /html/js/content.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | function sanitize(input){ 3 | var output = input.replace(/&/gm, '&') 4 | .replace(//gm, '>'); 5 | return output; 6 | } 7 | 8 | $(document).ready(function() { 9 | $.ajax({ 10 | url: 'https://raw.githubusercontent.com/devwerks/XSS-Cheatsheet/master/vectors.json', 11 | dataType: 'json', 12 | success: function (data) { 13 | $.each(data, function(index, element) { 14 | $('#content').append('#' + element.id + ' Editor Copy' + sanitize(element.data) + ''); 15 | }); 16 | $('#content li').wrap(''); 17 | } 18 | }); 19 | $.ajax({ 20 | url: 'https://raw.githubusercontent.com/devwerks/XSS-Cheatsheet/master/events.json', 21 | dataType: 'json', 22 | success: function (data) { 23 | $.each(data, function(index, element) { 24 | $('#events').append('#' + element.id + ' Editor Copy' + sanitize(element.data) + ''); 25 | }); 26 | $('#events li').wrap(''); 27 | } 28 | }); 29 | 30 | }); 31 | })(); 32 | 33 | function copy(obj) { 34 | var dummy = document.createElement("textarea"); 35 | document.body.appendChild(dummy); 36 | dummy.value = obj.getAttribute("href").slice(1);; 37 | dummy.select(); 38 | document.execCommand("copy"); 39 | document.body.removeChild(dummy); 40 | } 41 | -------------------------------------------------------------------------------- /html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | XSS Cheatsheet 6 | 7 | 8 | 9 | 10 | 11 | 12 | XSS Cheatsheet 13 | 14 | XSS Locator'';!--"=&{()}Vectors 15 | Events 16 | All XSS vectors tested with latest Firefox. 17 | 18 | 19 | Locator 20 | 21 | 22 | 23 | 24 | Vectors 25 | 26 | 27 | 28 | 29 | Events 30 | 31 | 32 | 33 | 34 | Live Editor 35 | 36 | 37 | 38 | 39 | Encoder (Hex, Base64, JSFuck) 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /html/encoder.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Encoder 5 | 6 | 7 | 8 | 9 | 10 | 11 | XSS Encoder 12 | 13 | 14 | 15 | ASCII Text: 16 | 17 | 18 | 19 | 20 | Hex Value: 21 | 22 | URL: 23 | 24 | HTML: 25 | 26 | 27 | Decimal Value: 28 | 29 | HTML: 30 | 31 | 32 | Base64 Value: 33 | 34 | Base64: 35 | 36 | 37 | JSFuck.com: 38 | 39 | JSFuck: 40 | 41 | 42 | 43 | Eval Source 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /html/editor.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Live HTML Editor 5 | 6 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | -------------------------------------------------------------------------------- /events.txt: -------------------------------------------------------------------------------- 1 | oncut 2 | onblur 3 | oncopy 4 | ondrag 5 | ondrop 6 | onhelp 7 | onload 8 | onplay 9 | onshow 10 | onabort 11 | onclick 12 | onclose 13 | onended 14 | onerror 15 | onfocus 16 | oninput 17 | onkeyup 18 | onpaste 19 | onpause 20 | onreset 21 | onwheel 22 | onbounce 23 | oncancel 24 | onchange 25 | onfinish 26 | ononline 27 | onresize 28 | onscroll 29 | onsearch 30 | onseeked 31 | onselect 32 | onsubmit 33 | ontoggle 34 | onunload 35 | oncanplay 36 | ondragend 37 | onemptied 38 | onfocusin 39 | oninvalid 40 | onkeydown 41 | onmessage 42 | onmouseup 43 | onoffline 44 | onplaying 45 | onseeking 46 | onstalled 47 | onstorage 48 | onsuspend 49 | onwaiting 50 | onactivate 51 | ondblclick 52 | ondragover 53 | onfocusout 54 | onkeypress 55 | onmouseout 56 | onpagehide 57 | onpageshow 58 | onpopstate 59 | onprogress 60 | ontouchend 61 | onbeforecut 62 | oncuechange 63 | ondragenter 64 | ondragleave 65 | ondragstart 66 | onloadstart 67 | onmousedown 68 | onmousemove 69 | onmouseover 70 | ontouchmove 71 | onafterprint 72 | onbeforecopy 73 | ongestureend 74 | onhashchange 75 | onloadeddata 76 | onmouseenter 77 | onmouseleave 78 | onmousewheel 79 | onratechange 80 | ontimeupdate 81 | ontouchstart 82 | onafterupdate 83 | onbeforepaste 84 | onbeforeprint 85 | oncontextmenu 86 | ondevicelight 87 | onmspointerup 88 | ontouchcancel 89 | onanimationend 90 | onautocomplete 91 | onbeforeunload 92 | onbeforeupdate 93 | ondevicemotion 94 | ongesturestart 95 | onmsgestureend 96 | onmsgesturetap 97 | onmspointerout 98 | onvolumechange 99 | oncontrolselect 100 | ongesturechange 101 | onmsgesturehold 102 | onmspointerdown 103 | onmspointermove 104 | onmspointerover 105 | ontransitionend 106 | onuserproximity 107 | onanimationstart 108 | onbeforeactivate 109 | oncanplaythrough 110 | ondurationchange 111 | onlanguagechange 112 | onloadedmetadata 113 | onmsgesturestart 114 | onmsinertiastart 115 | onmspointerenter 116 | onmspointerhover 117 | onmspointerleave 118 | onbeforeeditfocus 119 | ondeviceproximity 120 | onmsgesturechange 121 | onmspointercancel 122 | onbeforedeactivate 123 | onreadystatechange 124 | onautocompleteerror 125 | ondeviceorientation 126 | onorientationchange 127 | onanimationiteration 128 | onmozfullscreenerror 129 | onmsgesturedoubletap 130 | onwebkitanimationend 131 | onwebkitmouseforceup 132 | onmozfullscreenchange 133 | onmozpointerlockerror 134 | onwebkittransitionend 135 | onmozpointerlockchange 136 | onwebkitanimationstart 137 | onwebkitmouseforcedown 138 | onwebkitwillrevealbottom 139 | oncompassneedscalibration 140 | onwebkitmouseforcechanged 141 | onwebkitanimationiteration 142 | onwebkitmouseforcewillbegin 143 | -------------------------------------------------------------------------------- /html/js/encoder.js: -------------------------------------------------------------------------------- 1 | function $(id){ 2 | return document.getElementById(id); 3 | } 4 | 5 | function convertToUnicode(source) { 6 | result = ''; 7 | for (var i=0; i>>=4; 44 | } 45 | return retstr.length == 0 ? "0" : retstr; 46 | } 47 | 48 | var base64Chars = new Array( 49 | 'A','B','C','D','E','F','G','H', 50 | 'I','J','K','L','M','N','O','P', 51 | 'Q','R','S','T','U','V','W','X', 52 | 'Y','Z','a','b','c','d','e','f', 53 | 'g','h','i','j','k','l','m','n', 54 | 'o','p','q','r','s','t','u','v', 55 | 'w','x','y','z','0','1','2','3', 56 | '4','5','6','7','8','9','+','/' 57 | ); 58 | 59 | var reverseBase64Chars = new Array(); 60 | for (var i=0; i < base64Chars.length; i++){ 61 | reverseBase64Chars[base64Chars[i]] = i; 62 | } 63 | 64 | var base64Str; 65 | var base64Count; 66 | function setBase64Str(str){ 67 | base64Str = str; 68 | base64Count = 0; 69 | } 70 | function readBase64(){ 71 | if (!base64Str) return -1; 72 | if (base64Count >= base64Str.length) return -1; 73 | var c = base64Str.charCodeAt(base64Count) & 0xff; 74 | base64Count++; 75 | return c; 76 | } 77 | function encodeBase64(str){ 78 | setBase64Str(str); 79 | var result = ''; 80 | var inBuffer = new Array(3); 81 | var lineCount = 0; 82 | var done = false; 83 | while (!done && (inBuffer[0] = readBase64()) != -1){ 84 | inBuffer[1] = readBase64(); 85 | inBuffer[2] = readBase64(); 86 | result += (base64Chars[ inBuffer[0] >> 2 ]); 87 | if (inBuffer[1] != -1){ 88 | result += (base64Chars [(( inBuffer[0] << 4 ) & 0x30) | (inBuffer[1] >> 4) ]); 89 | if (inBuffer[2] != -1){ 90 | result += (base64Chars [((inBuffer[1] << 2) & 0x3c) | (inBuffer[2] >> 6) ]); 91 | result += (base64Chars [inBuffer[2] & 0x3F]); 92 | } else { 93 | result += (base64Chars [((inBuffer[1] << 2) & 0x3c)]); 94 | result += ('='); 95 | done = true; 96 | } 97 | } else { 98 | result += (base64Chars [(( inBuffer[0] << 4 ) & 0x30)]); 99 | result += ('='); 100 | result += ('='); 101 | done = true; 102 | } 103 | lineCount += 4; 104 | if (lineCount >= 76){ 105 | result += ('\n'); 106 | lineCount = 0; 107 | } 108 | } 109 | return result; 110 | } 111 | 112 | function readReverseBase64(){ 113 | if (!base64Str) return -1; 114 | while (true){ 115 | if (base64Count >= base64Str.length) return -1; 116 | var nextCharacter = base64Str.charAt(base64Count); 117 | base64Count++; 118 | if (reverseBase64Chars[nextCharacter]){ 119 | return reverseBase64Chars[nextCharacter]; 120 | } 121 | if (nextCharacter == 'A') return 0; 122 | } 123 | } 124 | 125 | function ntos(n){ 126 | n=n.toString(16); 127 | if (n.length == 1) n="0"+n; 128 | n="%"+n; 129 | return unescape(n); 130 | } 131 | 132 | function decodeBase64(str){ 133 | setBase64Str(str); 134 | var result = ""; 135 | var inBuffer = new Array(4); 136 | var done = false; 137 | while (!done && (inBuffer[0] = readReverseBase64()) != -1 138 | && (inBuffer[1] = readReverseBase64()) != -1){ 139 | inBuffer[2] = readReverseBase64(); 140 | inBuffer[3] = readReverseBase64(); 141 | result += ntos((((inBuffer[0] << 2) & 0xff)| inBuffer[1] >> 4)); 142 | if (inBuffer[2] != -1){ 143 | result += ntos((((inBuffer[1] << 4) & 0xff)| inBuffer[2] >> 2)); 144 | if (inBuffer[3] != -1){ 145 | result += ntos((((inBuffer[2] << 6) & 0xff) | inBuffer[3])); 146 | } else { 147 | done = true; 148 | } 149 | } else { 150 | done = true; 151 | } 152 | } 153 | return result; 154 | } 155 | 156 | function encode(){ 157 | if(document.XSS.ascii.value != ''){ 158 | var vText = document.XSS.ascii.value; 159 | document.XSS.hex.value = convertToHex(vText); 160 | document.XSS.hexhtml.value = convertToHexHTML(vText); 161 | var vEncoded = convertToUnicode(vText); 162 | document.XSS.unicode.value = vEncoded; 163 | document.XSS.ascii.focus(); 164 | document.XSS.ascii.blur(); 165 | document.XSS.ascii.select(); 166 | document.XSS.base64.value=encodeBase64(document.XSS.ascii.value); 167 | document.XSS.jsfuck.value = JSFuck.encode(vText, $("eval").checked); 168 | } 169 | } 170 | -------------------------------------------------------------------------------- /html/js/jsfuck.js: -------------------------------------------------------------------------------- 1 | /*! JSFuck 0.4.0 - http://jsfuck.com */ 2 | 3 | (function(self){ 4 | 5 | var USE_CHAR_CODE = "USE_CHAR_CODE"; 6 | 7 | var MIN = 32, MAX = 126; 8 | 9 | var SIMPLE = { 10 | 'false': '![]', 11 | 'true': '!![]', 12 | 'undefined': '[][[]]', 13 | 'NaN': '+[![]]', 14 | 'Infinity': '+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]]+[+[]])' // +"1e1000" 15 | }; 16 | 17 | var CONSTRUCTORS = { 18 | 'Array': '[]', 19 | 'Number': '(+[])', 20 | 'String': '([]+[])', 21 | 'Boolean': '(![])', 22 | 'Function': '[]["filter"]', 23 | 'RegExp': 'Function("return/0/")()' 24 | }; 25 | 26 | var MAPPING = { 27 | 'a': '(false+"")[1]', 28 | 'b': '(+(11))["toString"](20)', 29 | 'c': '([]["filter"]+"")[3]', 30 | 'd': '(undefined+"")[2]', 31 | 'e': '(true+"")[3]', 32 | 'f': '(false+"")[0]', 33 | 'g': '(+false+[false]+String)[20]', 34 | 'h': '(+(101))["toString"](21)[1]', 35 | 'i': '([false]+undefined)[10]', 36 | 'j': '(+(40))["toString"](21)[1]', 37 | 'k': '(+(20))["toString"](21)', 38 | 'l': '(false+"")[2]', 39 | 'm': '(Number+"")[11]', 40 | 'n': '(undefined+"")[1]', 41 | 'o': '(true+[]["filter"])[10]', 42 | 'p': '(+(211))["toString"](31)[1]', 43 | 'q': '(+(212))["toString"](31)[1]', 44 | 'r': '(true+"")[1]', 45 | 's': '(false+"")[3]', 46 | 't': '(true+"")[0]', 47 | 'u': '(undefined+"")[0]', 48 | 'v': '(+(31))["toString"](32)', 49 | 'w': '(+(32))["toString"](33)', 50 | 'x': '(+(101))["toString"](34)[1]', 51 | 'y': '(NaN+[Infinity])[10]', 52 | 'z': '(+(35))["toString"](36)', 53 | 54 | 'A': '(+false+Array)[10]', 55 | 'B': '(+false+Boolean)[10]', 56 | 'C': 'Function("return escape")()("<")[2]', 57 | 'D': 'Function("return escape")()("=")[2]', 58 | 'E': '(RegExp+"")[12]', 59 | 'F': '(+false+Function)[10]', 60 | 'G': '(false+Function("return Date")()())[30]', 61 | 'H': USE_CHAR_CODE, 62 | 'I': '(Infinity+"")[0]', 63 | //'J': USE_CHAR_CODE, 64 | 'K': USE_CHAR_CODE, 65 | 'L': USE_CHAR_CODE, 66 | 'M': '(true+Function("return Date")()())[30]', 67 | 'N': '(NaN+"")[0]', 68 | //'O': USE_CHAR_CODE, 69 | 'P': USE_CHAR_CODE, 70 | 'Q': USE_CHAR_CODE, 71 | 'R': '(+false+RegExp)[10]', 72 | 'S': '(+false+String)[10]', 73 | 'T': '(NaN+Function("return Date")()())[30]', 74 | 'U': USE_CHAR_CODE, 75 | 'V': USE_CHAR_CODE, 76 | 'W': USE_CHAR_CODE, 77 | 'X': USE_CHAR_CODE, 78 | 'Y': USE_CHAR_CODE, 79 | 'Z': USE_CHAR_CODE, 80 | 81 | ' ': '(NaN+[]["filter"])[11]', 82 | '!': USE_CHAR_CODE, 83 | '"': '("")["fontcolor"]()[12]', 84 | '#': USE_CHAR_CODE, 85 | '$': USE_CHAR_CODE, 86 | '%': 'Function("return escape")()("<")[0]', 87 | '&': USE_CHAR_CODE, 88 | '\'': USE_CHAR_CODE, 89 | '(': '(false+[]["filter"])[20]', 90 | ')': '(true+[]["filter"])[20]', 91 | '*': USE_CHAR_CODE, 92 | '+': '(+(+!+[]+(!+[]+[])[!+[]+!+[]+!+[]]+[+!+[]]+[+[]]+[+[]])+[])[2]', 93 | ',': '[[]]["concat"]([[]])+""', 94 | '-': '(+(.+[0000000001])+"")[2]', 95 | '.': '(+(+!+[]+[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+[!+[]+!+[]]+[+[]])+[])[+!+[]]', 96 | '/': '(false+[+false])["italics"]()[10]', 97 | ':': '(RegExp()+"")[3]', 98 | ';': USE_CHAR_CODE, 99 | '<': '("")["italics"]()[0]', 100 | '=': '("")["fontcolor"]()[11]', 101 | '>': '("")["italics"]()[2]', 102 | '?': '(RegExp()+"")[2]', 103 | '@': USE_CHAR_CODE, 104 | '[': '(GLOBAL+"")[0]', 105 | '\\': USE_CHAR_CODE, 106 | ']': USE_CHAR_CODE, 107 | '^': USE_CHAR_CODE, 108 | '_': USE_CHAR_CODE, 109 | '`': USE_CHAR_CODE, 110 | '{': '(NaN+[]["filter"])[21]', 111 | '|': USE_CHAR_CODE, 112 | '}': USE_CHAR_CODE, 113 | '~': USE_CHAR_CODE 114 | }; 115 | 116 | var GLOBAL = 'Function("return this")()'; 117 | 118 | function fillMissingChars(){ 119 | for (var key in MAPPING){ 120 | if (MAPPING[key] === USE_CHAR_CODE){ 121 | MAPPING[key] = 'Function("return unescape")()("%"'+ key.charCodeAt(0).toString(16).replace(/(\d+)/g, "+($1)+\"") + '")'; 122 | } 123 | } 124 | } 125 | 126 | function fillMissingDigits(){ 127 | var output, number, i; 128 | 129 | for (number = 0; number < 10; number++){ 130 | 131 | output = "+[]"; 132 | 133 | if (number > 0){ output = "+!" + output; } 134 | for (i = 1; i < number; i++){ output = "+!+[]" + output; } 135 | if (number > 1){ output = output.substr(1); } 136 | 137 | MAPPING[number] = "[" + output + "]"; 138 | } 139 | } 140 | 141 | function replaceMap(){ 142 | var character = "", value, original, i, key; 143 | 144 | function replace(pattern, replacement){ 145 | value = value.replace( 146 | new RegExp(pattern, "gi"), 147 | replacement 148 | ); 149 | } 150 | 151 | function digitReplacer(_,x) { return MAPPING[x]; } 152 | 153 | function numberReplacer(_,y) { 154 | var values = y.split(""); 155 | var head = +(values.shift()); 156 | var output = "+[]"; 157 | 158 | if (head > 0){ output = "+!" + output; } 159 | for (i = 1; i < head; i++){ output = "+!+[]" + output; } 160 | if (head > 1){ output = output.substr(1); } 161 | 162 | return [output].concat(values).join("+").replace(/(\d)/g, digitReplacer); 163 | } 164 | 165 | for (i = MIN; i <= MAX; i++){ 166 | character = String.fromCharCode(i); 167 | value = MAPPING[character]; 168 | if(!value) {continue;} 169 | original = value; 170 | 171 | for (key in CONSTRUCTORS){ 172 | replace("\\b" + key, CONSTRUCTORS[key] + '["constructor"]'); 173 | } 174 | 175 | for (key in SIMPLE){ 176 | replace(key, SIMPLE[key]); 177 | } 178 | 179 | replace('(\\d\\d+)', numberReplacer); 180 | replace('\\((\\d)\\)', digitReplacer); 181 | replace('\\[(\\d)\\]', digitReplacer); 182 | 183 | replace("GLOBAL", GLOBAL); 184 | replace('\\+""', "+[]"); 185 | replace('""', "[]+[]"); 186 | 187 | MAPPING[character] = value; 188 | } 189 | } 190 | 191 | function replaceStrings(){ 192 | var regEx = /[^\[\]\(\)\!\+]{1}/g, 193 | all, value, missing, 194 | count = MAX - MIN; 195 | 196 | function findMissing(){ 197 | var all, value, done = false; 198 | 199 | missing = {}; 200 | 201 | for (all in MAPPING){ 202 | 203 | value = MAPPING[all]; 204 | 205 | if (value.match(regEx)){ 206 | missing[all] = value; 207 | done = true; 208 | } 209 | } 210 | 211 | return done; 212 | } 213 | 214 | function mappingReplacer(a, b) { 215 | return b.split("").join("+"); 216 | } 217 | 218 | function valueReplacer(c) { 219 | return missing[c] ? c : MAPPING[c]; 220 | } 221 | 222 | for (all in MAPPING){ 223 | MAPPING[all] = MAPPING[all].replace(/\"([^\"]+)\"/gi, mappingReplacer); 224 | } 225 | 226 | while (findMissing()){ 227 | for (all in missing){ 228 | value = MAPPING[all]; 229 | value = value.replace(regEx, valueReplacer); 230 | 231 | MAPPING[all] = value; 232 | missing[all] = value; 233 | } 234 | 235 | if (count-- === 0){ 236 | console.error("Could not compile the following chars:", missing); 237 | } 238 | } 239 | } 240 | 241 | function encode(input, wrapWithEval){ 242 | var output = []; 243 | 244 | if (!input){ 245 | return ""; 246 | } 247 | 248 | var r = ""; 249 | for (var i in SIMPLE) { 250 | r += i + "|"; 251 | } 252 | r+="."; 253 | 254 | input.replace(new RegExp(r, 'g'), function(c) { 255 | var replacement = SIMPLE[c]; 256 | if (replacement) { 257 | output.push("[" + replacement + "]+[]"); 258 | } else { 259 | replacement = MAPPING[c]; 260 | if (replacement){ 261 | output.push(replacement); 262 | } else { 263 | if (c === "J") { 264 | replacement = 265 | "([][" + encode("filter") + "]" + 266 | "[" + encode("constructor") + "]" + 267 | "(" + encode("return new Date(200000000)") + ")()+[])[!+[]+!+[]+!+[]+!+[]]"; 268 | 269 | output.push(replacement); 270 | MAPPING[c] = replacement; 271 | } else if (c === "O") { 272 | replacement = 273 | "([][" + encode("filter") + "]" + 274 | "[" + encode("constructor") + "]" + 275 | "(" + encode("return new Date(24000000000)") + ")()+[])[!+[]+!+[]+!+[]+!+[]]"; 276 | 277 | output.push(replacement); 278 | MAPPING[c] = replacement; 279 | } else { 280 | replacement = 281 | "([]+[])[" + encode("constructor") + "]" + 282 | "[" + encode("fromCharCode") + "]" + 283 | "(" + encode(c.charCodeAt(0) + "") + ")"; 284 | 285 | output.push(replacement); 286 | MAPPING[c] = replacement; 287 | } 288 | } 289 | } 290 | }); 291 | 292 | output = output.join("+"); 293 | 294 | if (/^\d$/.test(input)){ 295 | output += "+[]"; 296 | } 297 | 298 | if (wrapWithEval){ 299 | output = "[][" + encode("filter") + "]" + 300 | "[" + encode("constructor") + "]" + 301 | "(" + output + ")()"; 302 | } 303 | 304 | return output; 305 | } 306 | 307 | fillMissingDigits(); 308 | fillMissingChars(); 309 | replaceMap(); 310 | replaceStrings(); 311 | 312 | self.JSFuck = { 313 | encode: encode 314 | }; 315 | })(typeof(exports) === "undefined" ? window : exports); 316 | -------------------------------------------------------------------------------- /events.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "id" : "1", 4 | "data" : "oncut" 5 | }, 6 | { 7 | "id" : "2", 8 | "data" : "onblur" 9 | }, 10 | { 11 | "id" : "3", 12 | "data" : "oncopy" 13 | }, 14 | { 15 | "id" : "4", 16 | "data" : "ondrag" 17 | }, 18 | { 19 | "id" : "5", 20 | "data" : "ondrop" 21 | }, 22 | { 23 | "id" : "6", 24 | "data" : "onhelp" 25 | }, 26 | { 27 | "id" : "7", 28 | "data" : "onload" 29 | }, 30 | { 31 | "id" : "8", 32 | "data" : "onplay" 33 | }, 34 | { 35 | "id" : "9", 36 | "data" : "onshow" 37 | }, 38 | { 39 | "id" : "10", 40 | "data" : "onabort" 41 | }, 42 | { 43 | "id" : "11", 44 | "data" : "onclick" 45 | }, 46 | { 47 | "id" : "12", 48 | "data" : "onclose" 49 | }, 50 | { 51 | "id" : "13", 52 | "data" : "onended" 53 | }, 54 | { 55 | "id" : "14", 56 | "data" : "onerror" 57 | }, 58 | { 59 | "id" : "15", 60 | "data" : "onfocus" 61 | }, 62 | { 63 | "id" : "16", 64 | "data" : "oninput" 65 | }, 66 | { 67 | "id" : "17", 68 | "data" : "onkeyup" 69 | }, 70 | { 71 | "id" : "18", 72 | "data" : "onpaste" 73 | }, 74 | { 75 | "id" : "19", 76 | "data" : "onpause" 77 | }, 78 | { 79 | "id" : "20", 80 | "data" : "onreset" 81 | }, 82 | { 83 | "id" : "21", 84 | "data" : "onwheel" 85 | }, 86 | { 87 | "id" : "22", 88 | "data" : "onbounce" 89 | }, 90 | { 91 | "id" : "23", 92 | "data" : "oncancel" 93 | }, 94 | { 95 | "id" : "24", 96 | "data" : "onchange" 97 | }, 98 | { 99 | "id" : "25", 100 | "data" : "onfinish" 101 | }, 102 | { 103 | "id" : "26", 104 | "data" : "online" 105 | }, 106 | { 107 | "id" : "27", 108 | "data" : "onresize" 109 | }, 110 | { 111 | "id" : "28", 112 | "data" : "onscroll" 113 | }, 114 | { 115 | "id" : "29", 116 | "data" : "onsearch" 117 | }, 118 | { 119 | "id" : "30", 120 | "data" : "onseeked" 121 | }, 122 | { 123 | "id" : "31", 124 | "data" : "onselect" 125 | }, 126 | { 127 | "id" : "32", 128 | "data" : "onsubmit" 129 | }, 130 | { 131 | "id" : "33", 132 | "data" : "ontoggle" 133 | }, 134 | { 135 | "id" : "34", 136 | "data" : "onunload" 137 | }, 138 | { 139 | "id" : "35", 140 | "data" : "oncanplay" 141 | }, 142 | { 143 | "id" : "36", 144 | "data" : "ondragend" 145 | }, 146 | { 147 | "id" : "37", 148 | "data" : "onemptied" 149 | }, 150 | { 151 | "id" : "38", 152 | "data" : "onfocusin" 153 | }, 154 | { 155 | "id" : "39", 156 | "data" : "oninvalid" 157 | }, 158 | { 159 | "id" : "40", 160 | "data" : "onkeydown" 161 | }, 162 | { 163 | "id" : "41", 164 | "data" : "onmessage" 165 | }, 166 | { 167 | "id" : "42", 168 | "data" : "onmouseup" 169 | }, 170 | { 171 | "id" : "43", 172 | "data" : "onoffline" 173 | }, 174 | { 175 | "id" : "44", 176 | "data" : "onplaying" 177 | }, 178 | { 179 | "id" : "45", 180 | "data" : "onseeking" 181 | }, 182 | { 183 | "id" : "46", 184 | "data" : "onstalled" 185 | }, 186 | { 187 | "id" : "47", 188 | "data" : "onstorage" 189 | }, 190 | { 191 | "id" : "48", 192 | "data" : "onsuspend" 193 | }, 194 | { 195 | "id" : "49", 196 | "data" : "onwaiting" 197 | }, 198 | { 199 | "id" : "50", 200 | "data" : "onactivate" 201 | }, 202 | { 203 | "id" : "51", 204 | "data" : "ondblclick" 205 | }, 206 | { 207 | "id" : "52", 208 | "data" : "ondragover" 209 | }, 210 | { 211 | "id" : "53", 212 | "data" : "onfocusout" 213 | }, 214 | { 215 | "id" : "54", 216 | "data" : "onkeypress" 217 | }, 218 | { 219 | "id" : "55", 220 | "data" : "onmouseout" 221 | }, 222 | { 223 | "id" : "56", 224 | "data" : "onpagehide" 225 | }, 226 | { 227 | "id" : "57", 228 | "data" : "onpageshow" 229 | }, 230 | { 231 | "id" : "58", 232 | "data" : "onpopstate" 233 | }, 234 | { 235 | "id" : "59", 236 | "data" : "onprogress" 237 | }, 238 | { 239 | "id" : "60", 240 | "data" : "ontouchend" 241 | }, 242 | { 243 | "id" : "61", 244 | "data" : "onbeforecut" 245 | }, 246 | { 247 | "id" : "62", 248 | "data" : "oncuechange" 249 | }, 250 | { 251 | "id" : "63", 252 | "data" : "ondragenter" 253 | }, 254 | { 255 | "id" : "64", 256 | "data" : "ondragleave" 257 | }, 258 | { 259 | "id" : "65", 260 | "data" : "ondragstart" 261 | }, 262 | { 263 | "id" : "66", 264 | "data" : "onloadstart" 265 | }, 266 | { 267 | "id" : "67", 268 | "data" : "onmousedown" 269 | }, 270 | { 271 | "id" : "68", 272 | "data" : "onmousemove" 273 | }, 274 | { 275 | "id" : "69", 276 | "data" : "onmouseover" 277 | }, 278 | { 279 | "id" : "70", 280 | "data" : "ontouchmove" 281 | }, 282 | { 283 | "id" : "71", 284 | "data" : "onafterprint" 285 | }, 286 | { 287 | "id" : "72", 288 | "data" : "onbeforecopy" 289 | }, 290 | { 291 | "id" : "73", 292 | "data" : "ongestureend" 293 | }, 294 | { 295 | "id" : "74", 296 | "data" : "onhashchange" 297 | }, 298 | { 299 | "id" : "75", 300 | "data" : "onloadeddata" 301 | }, 302 | { 303 | "id" : "76", 304 | "data" : "onmouseenter" 305 | }, 306 | { 307 | "id" : "77", 308 | "data" : "onmouseleave" 309 | }, 310 | { 311 | "id" : "78", 312 | "data" : "onmousewheel" 313 | }, 314 | { 315 | "id" : "79", 316 | "data" : "onratechange" 317 | }, 318 | { 319 | "id" : "80", 320 | "data" : "ontimeupdate" 321 | }, 322 | { 323 | "id" : "81", 324 | "data" : "ontouchstart" 325 | }, 326 | { 327 | "id" : "82", 328 | "data" : "onafterupdate" 329 | }, 330 | { 331 | "id" : "83", 332 | "data" : "onbeforepaste" 333 | }, 334 | { 335 | "id" : "84", 336 | "data" : "onbeforeprint" 337 | }, 338 | { 339 | "id" : "85", 340 | "data" : "contextmenu" 341 | }, 342 | { 343 | "id" : "86", 344 | "data" : "ondevicelight" 345 | }, 346 | { 347 | "id" : "87", 348 | "data" : "onmspointerup" 349 | }, 350 | { 351 | "id" : "88", 352 | "data" : "ontouchcancel" 353 | }, 354 | { 355 | "id" : "89", 356 | "data" : "onanimationend" 357 | }, 358 | { 359 | "id" : "90", 360 | "data" : "onautocomplete" 361 | }, 362 | { 363 | "id" : "91", 364 | "data" : "onbeforeunload" 365 | }, 366 | { 367 | "id" : "92", 368 | "data" : "onbeforeupdate" 369 | }, 370 | { 371 | "id" : "93", 372 | "data" : "ondevicemotion" 373 | }, 374 | { 375 | "id" : "94", 376 | "data" : "ongesturestart" 377 | }, 378 | { 379 | "id" : "95", 380 | "data" : "onmsgestureend" 381 | }, 382 | { 383 | "id" : "96", 384 | "data" : "onmsgesturetap" 385 | }, 386 | { 387 | "id" : "97", 388 | "data" : "onmspointerout" 389 | }, 390 | { 391 | "id" : "98", 392 | "data" : "onvolumechange" 393 | }, 394 | { 395 | "id" : "99", 396 | "data" : "oncontrolselect" 397 | }, 398 | { 399 | "id" : "100", 400 | "data" : "ongesturechange" 401 | }, 402 | { 403 | "id" : "101", 404 | "data" : "onmsgesturehold" 405 | }, 406 | { 407 | "id" : "102", 408 | "data" : "onmspointerdown" 409 | }, 410 | { 411 | "id" : "103", 412 | "data" : "onmspointermove" 413 | }, 414 | { 415 | "id" : "104", 416 | "data" : "onmspointerover" 417 | }, 418 | { 419 | "id" : "105", 420 | "data" : "ontransitionend" 421 | }, 422 | { 423 | "id" : "106", 424 | "data" : "onuserproximity" 425 | }, 426 | { 427 | "id" : "107", 428 | "data" : "onanimationstart" 429 | }, 430 | { 431 | "id" : "108", 432 | "data" : "onbeforeactivate" 433 | }, 434 | { 435 | "id" : "109", 436 | "data" : "oncanplaythrough" 437 | }, 438 | { 439 | "id" : "110", 440 | "data" : "ondurationchange" 441 | }, 442 | { 443 | "id" : "111", 444 | "data" : "onlanguagechange" 445 | }, 446 | { 447 | "id" : "112", 448 | "data" : "onloadedmetadata" 449 | }, 450 | { 451 | "id" : "113", 452 | "data" : "onmsgesturestart" 453 | }, 454 | { 455 | "id" : "114", 456 | "data" : "onmsinertiastart" 457 | }, 458 | { 459 | "id" : "115", 460 | "data" : "onmspointerenter" 461 | }, 462 | { 463 | "id" : "116", 464 | "data" : "onmspointerhover" 465 | }, 466 | { 467 | "id" : "117", 468 | "data" : "onmspointerleave" 469 | }, 470 | { 471 | "id" : "118", 472 | "data" : "onbeforeeditfocus" 473 | }, 474 | { 475 | "id" : "119", 476 | "data" : "ondeviceproximity" 477 | }, 478 | { 479 | "id" : "120", 480 | "data" : "onmsgesturechange" 481 | }, 482 | { 483 | "id" : "121", 484 | "data" : "onmspointercancel" 485 | }, 486 | { 487 | "id" : "122", 488 | "data" : "onbeforedeactivate" 489 | }, 490 | { 491 | "id" : "123", 492 | "data" : "onreadystatechange" 493 | }, 494 | { 495 | "id" : "124", 496 | "data" : "onautocompleteerror" 497 | }, 498 | { 499 | "id" : "125", 500 | "data" : "ondeviceorientation" 501 | }, 502 | { 503 | "id" : "126", 504 | "data" : "onorientationchange" 505 | }, 506 | { 507 | "id" : "127", 508 | "data" : "onanimationiteration" 509 | }, 510 | { 511 | "id" : "128", 512 | "data" : "onmozfullscreenerror" 513 | }, 514 | { 515 | "id" : "129", 516 | "data" : "onmsgesturedoubletap" 517 | }, 518 | { 519 | "id" : "130", 520 | "data" : "onwebkitanimationend" 521 | }, 522 | { 523 | "id" : "131", 524 | "data" : "onwebkitmouseforceup" 525 | }, 526 | { 527 | "id" : "132", 528 | "data" : "onmozfullscreenchange" 529 | }, 530 | { 531 | "id" : "134", 532 | "data" : "onmozpointerlockerror" 533 | }, 534 | { 535 | "id" : "135", 536 | "data" : "onwebkittransitionend" 537 | }, 538 | { 539 | "id" : "136", 540 | "data" : "onmozpointerlockchange" 541 | }, 542 | { 543 | "id" : "137", 544 | "data" : "onwebkitanimationstart" 545 | }, 546 | { 547 | "id" : "138", 548 | "data" : "onwebkitmouseforcedown" 549 | }, 550 | { 551 | "id" : "139", 552 | "data" : "onwebkitwillrevealbottom" 553 | }, 554 | { 555 | "id" : "140", 556 | "data" : "oncompassneedscalibration" 557 | }, 558 | { 559 | "id" : "141", 560 | "data" : "onwebkitmouseforcechanged" 561 | }, 562 | { 563 | "id" : "142", 564 | "data" : "onwebkitanimationiteration" 565 | }, 566 | { 567 | "id" : "143", 568 | "data" : "onwebkitmouseforcewillbegin" 569 | } 570 | ] -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Mozilla Public License Version 2.0 2 | ================================== 3 | 4 | 1. Definitions 5 | -------------- 6 | 7 | 1.1. "Contributor" 8 | means each individual or legal entity that creates, contributes to 9 | the creation of, or owns Covered Software. 10 | 11 | 1.2. "Contributor Version" 12 | means the combination of the Contributions of others (if any) used 13 | by a Contributor and that particular Contributor's Contribution. 14 | 15 | 1.3. "Contribution" 16 | means Covered Software of a particular Contributor. 17 | 18 | 1.4. "Covered Software" 19 | means Source Code Form to which the initial Contributor has attached 20 | the notice in Exhibit A, the Executable Form of such Source Code 21 | Form, and Modifications of such Source Code Form, in each case 22 | including portions thereof. 23 | 24 | 1.5. "Incompatible With Secondary Licenses" 25 | means 26 | 27 | (a) that the initial Contributor has attached the notice described 28 | in Exhibit B to the Covered Software; or 29 | 30 | (b) that the Covered Software was made available under the terms of 31 | version 1.1 or earlier of the License, but not also under the 32 | terms of a Secondary License. 33 | 34 | 1.6. "Executable Form" 35 | means any form of the work other than Source Code Form. 36 | 37 | 1.7. "Larger Work" 38 | means a work that combines Covered Software with other material, in 39 | a separate file or files, that is not Covered Software. 40 | 41 | 1.8. "License" 42 | means this document. 43 | 44 | 1.9. "Licensable" 45 | means having the right to grant, to the maximum extent possible, 46 | whether at the time of the initial grant or subsequently, any and 47 | all of the rights conveyed by this License. 48 | 49 | 1.10. "Modifications" 50 | means any of the following: 51 | 52 | (a) any file in Source Code Form that results from an addition to, 53 | deletion from, or modification of the contents of Covered 54 | Software; or 55 | 56 | (b) any new file in Source Code Form that contains any Covered 57 | Software. 58 | 59 | 1.11. "Patent Claims" of a Contributor 60 | means any patent claim(s), including without limitation, method, 61 | process, and apparatus claims, in any patent Licensable by such 62 | Contributor that would be infringed, but for the grant of the 63 | License, by the making, using, selling, offering for sale, having 64 | made, import, or transfer of either its Contributions or its 65 | Contributor Version. 66 | 67 | 1.12. "Secondary License" 68 | means either the GNU General Public License, Version 2.0, the GNU 69 | Lesser General Public License, Version 2.1, the GNU Affero General 70 | Public License, Version 3.0, or any later versions of those 71 | licenses. 72 | 73 | 1.13. "Source Code Form" 74 | means the form of the work preferred for making modifications. 75 | 76 | 1.14. "You" (or "Your") 77 | means an individual or a legal entity exercising rights under this 78 | License. For legal entities, "You" includes any entity that 79 | controls, is controlled by, or is under common control with You. For 80 | purposes of this definition, "control" means (a) the power, direct 81 | or indirect, to cause the direction or management of such entity, 82 | whether by contract or otherwise, or (b) ownership of more than 83 | fifty percent (50%) of the outstanding shares or beneficial 84 | ownership of such entity. 85 | 86 | 2. License Grants and Conditions 87 | -------------------------------- 88 | 89 | 2.1. Grants 90 | 91 | Each Contributor hereby grants You a world-wide, royalty-free, 92 | non-exclusive license: 93 | 94 | (a) under intellectual property rights (other than patent or trademark) 95 | Licensable by such Contributor to use, reproduce, make available, 96 | modify, display, perform, distribute, and otherwise exploit its 97 | Contributions, either on an unmodified basis, with Modifications, or 98 | as part of a Larger Work; and 99 | 100 | (b) under Patent Claims of such Contributor to make, use, sell, offer 101 | for sale, have made, import, and otherwise transfer either its 102 | Contributions or its Contributor Version. 103 | 104 | 2.2. Effective Date 105 | 106 | The licenses granted in Section 2.1 with respect to any Contribution 107 | become effective for each Contribution on the date the Contributor first 108 | distributes such Contribution. 109 | 110 | 2.3. Limitations on Grant Scope 111 | 112 | The licenses granted in this Section 2 are the only rights granted under 113 | this License. No additional rights or licenses will be implied from the 114 | distribution or licensing of Covered Software under this License. 115 | Notwithstanding Section 2.1(b) above, no patent license is granted by a 116 | Contributor: 117 | 118 | (a) for any code that a Contributor has removed from Covered Software; 119 | or 120 | 121 | (b) for infringements caused by: (i) Your and any other third party's 122 | modifications of Covered Software, or (ii) the combination of its 123 | Contributions with other software (except as part of its Contributor 124 | Version); or 125 | 126 | (c) under Patent Claims infringed by Covered Software in the absence of 127 | its Contributions. 128 | 129 | This License does not grant any rights in the trademarks, service marks, 130 | or logos of any Contributor (except as may be necessary to comply with 131 | the notice requirements in Section 3.4). 132 | 133 | 2.4. Subsequent Licenses 134 | 135 | No Contributor makes additional grants as a result of Your choice to 136 | distribute the Covered Software under a subsequent version of this 137 | License (see Section 10.2) or under the terms of a Secondary License (if 138 | permitted under the terms of Section 3.3). 139 | 140 | 2.5. Representation 141 | 142 | Each Contributor represents that the Contributor believes its 143 | Contributions are its original creation(s) or it has sufficient rights 144 | to grant the rights to its Contributions conveyed by this License. 145 | 146 | 2.6. Fair Use 147 | 148 | This License is not intended to limit any rights You have under 149 | applicable copyright doctrines of fair use, fair dealing, or other 150 | equivalents. 151 | 152 | 2.7. Conditions 153 | 154 | Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted 155 | in Section 2.1. 156 | 157 | 3. Responsibilities 158 | ------------------- 159 | 160 | 3.1. Distribution of Source Form 161 | 162 | All distribution of Covered Software in Source Code Form, including any 163 | Modifications that You create or to which You contribute, must be under 164 | the terms of this License. You must inform recipients that the Source 165 | Code Form of the Covered Software is governed by the terms of this 166 | License, and how they can obtain a copy of this License. You may not 167 | attempt to alter or restrict the recipients' rights in the Source Code 168 | Form. 169 | 170 | 3.2. Distribution of Executable Form 171 | 172 | If You distribute Covered Software in Executable Form then: 173 | 174 | (a) such Covered Software must also be made available in Source Code 175 | Form, as described in Section 3.1, and You must inform recipients of 176 | the Executable Form how they can obtain a copy of such Source Code 177 | Form by reasonable means in a timely manner, at a charge no more 178 | than the cost of distribution to the recipient; and 179 | 180 | (b) You may distribute such Executable Form under the terms of this 181 | License, or sublicense it under different terms, provided that the 182 | license for the Executable Form does not attempt to limit or alter 183 | the recipients' rights in the Source Code Form under this License. 184 | 185 | 3.3. Distribution of a Larger Work 186 | 187 | You may create and distribute a Larger Work under terms of Your choice, 188 | provided that You also comply with the requirements of this License for 189 | the Covered Software. If the Larger Work is a combination of Covered 190 | Software with a work governed by one or more Secondary Licenses, and the 191 | Covered Software is not Incompatible With Secondary Licenses, this 192 | License permits You to additionally distribute such Covered Software 193 | under the terms of such Secondary License(s), so that the recipient of 194 | the Larger Work may, at their option, further distribute the Covered 195 | Software under the terms of either this License or such Secondary 196 | License(s). 197 | 198 | 3.4. Notices 199 | 200 | You may not remove or alter the substance of any license notices 201 | (including copyright notices, patent notices, disclaimers of warranty, 202 | or limitations of liability) contained within the Source Code Form of 203 | the Covered Software, except that You may alter any license notices to 204 | the extent required to remedy known factual inaccuracies. 205 | 206 | 3.5. Application of Additional Terms 207 | 208 | You may choose to offer, and to charge a fee for, warranty, support, 209 | indemnity or liability obligations to one or more recipients of Covered 210 | Software. However, You may do so only on Your own behalf, and not on 211 | behalf of any Contributor. You must make it absolutely clear that any 212 | such warranty, support, indemnity, or liability obligation is offered by 213 | You alone, and You hereby agree to indemnify every Contributor for any 214 | liability incurred by such Contributor as a result of warranty, support, 215 | indemnity or liability terms You offer. You may include additional 216 | disclaimers of warranty and limitations of liability specific to any 217 | jurisdiction. 218 | 219 | 4. Inability to Comply Due to Statute or Regulation 220 | --------------------------------------------------- 221 | 222 | If it is impossible for You to comply with any of the terms of this 223 | License with respect to some or all of the Covered Software due to 224 | statute, judicial order, or regulation then You must: (a) comply with 225 | the terms of this License to the maximum extent possible; and (b) 226 | describe the limitations and the code they affect. Such description must 227 | be placed in a text file included with all distributions of the Covered 228 | Software under this License. Except to the extent prohibited by statute 229 | or regulation, such description must be sufficiently detailed for a 230 | recipient of ordinary skill to be able to understand it. 231 | 232 | 5. Termination 233 | -------------- 234 | 235 | 5.1. The rights granted under this License will terminate automatically 236 | if You fail to comply with any of its terms. However, if You become 237 | compliant, then the rights granted under this License from a particular 238 | Contributor are reinstated (a) provisionally, unless and until such 239 | Contributor explicitly and finally terminates Your grants, and (b) on an 240 | ongoing basis, if such Contributor fails to notify You of the 241 | non-compliance by some reasonable means prior to 60 days after You have 242 | come back into compliance. Moreover, Your grants from a particular 243 | Contributor are reinstated on an ongoing basis if such Contributor 244 | notifies You of the non-compliance by some reasonable means, this is the 245 | first time You have received notice of non-compliance with this License 246 | from such Contributor, and You become compliant prior to 30 days after 247 | Your receipt of the notice. 248 | 249 | 5.2. If You initiate litigation against any entity by asserting a patent 250 | infringement claim (excluding declaratory judgment actions, 251 | counter-claims, and cross-claims) alleging that a Contributor Version 252 | directly or indirectly infringes any patent, then the rights granted to 253 | You by any and all Contributors for the Covered Software under Section 254 | 2.1 of this License shall terminate. 255 | 256 | 5.3. In the event of termination under Sections 5.1 or 5.2 above, all 257 | end user license agreements (excluding distributors and resellers) which 258 | have been validly granted by You or Your distributors under this License 259 | prior to termination shall survive termination. 260 | 261 | ************************************************************************ 262 | * * 263 | * 6. Disclaimer of Warranty * 264 | * ------------------------- * 265 | * * 266 | * Covered Software is provided under this License on an "as is" * 267 | * basis, without warranty of any kind, either expressed, implied, or * 268 | * statutory, including, without limitation, warranties that the * 269 | * Covered Software is free of defects, merchantable, fit for a * 270 | * particular purpose or non-infringing. The entire risk as to the * 271 | * quality and performance of the Covered Software is with You. * 272 | * Should any Covered Software prove defective in any respect, You * 273 | * (not any Contributor) assume the cost of any necessary servicing, * 274 | * repair, or correction. This disclaimer of warranty constitutes an * 275 | * essential part of this License. No use of any Covered Software is * 276 | * authorized under this License except under this disclaimer. * 277 | * * 278 | ************************************************************************ 279 | 280 | ************************************************************************ 281 | * * 282 | * 7. Limitation of Liability * 283 | * -------------------------- * 284 | * * 285 | * Under no circumstances and under no legal theory, whether tort * 286 | * (including negligence), contract, or otherwise, shall any * 287 | * Contributor, or anyone who distributes Covered Software as * 288 | * permitted above, be liable to You for any direct, indirect, * 289 | * special, incidental, or consequential damages of any character * 290 | * including, without limitation, damages for lost profits, loss of * 291 | * goodwill, work stoppage, computer failure or malfunction, or any * 292 | * and all other commercial damages or losses, even if such party * 293 | * shall have been informed of the possibility of such damages. This * 294 | * limitation of liability shall not apply to liability for death or * 295 | * personal injury resulting from such party's negligence to the * 296 | * extent applicable law prohibits such limitation. Some * 297 | * jurisdictions do not allow the exclusion or limitation of * 298 | * incidental or consequential damages, so this exclusion and * 299 | * limitation may not apply to You. * 300 | * * 301 | ************************************************************************ 302 | 303 | 8. Litigation 304 | ------------- 305 | 306 | Any litigation relating to this License may be brought only in the 307 | courts of a jurisdiction where the defendant maintains its principal 308 | place of business and such litigation shall be governed by laws of that 309 | jurisdiction, without reference to its conflict-of-law provisions. 310 | Nothing in this Section shall prevent a party's ability to bring 311 | cross-claims or counter-claims. 312 | 313 | 9. Miscellaneous 314 | ---------------- 315 | 316 | This License represents the complete agreement concerning the subject 317 | matter hereof. If any provision of this License is held to be 318 | unenforceable, such provision shall be reformed only to the extent 319 | necessary to make it enforceable. Any law or regulation which provides 320 | that the language of a contract shall be construed against the drafter 321 | shall not be used to construe this License against a Contributor. 322 | 323 | 10. Versions of the License 324 | --------------------------- 325 | 326 | 10.1. New Versions 327 | 328 | Mozilla Foundation is the license steward. Except as provided in Section 329 | 10.3, no one other than the license steward has the right to modify or 330 | publish new versions of this License. Each version will be given a 331 | distinguishing version number. 332 | 333 | 10.2. Effect of New Versions 334 | 335 | You may distribute the Covered Software under the terms of the version 336 | of the License under which You originally received the Covered Software, 337 | or under the terms of any subsequent version published by the license 338 | steward. 339 | 340 | 10.3. Modified Versions 341 | 342 | If you create software not governed by this License, and you want to 343 | create a new license for such software, you may create and use a 344 | modified version of this License if you rename the license and remove 345 | any references to the name of the license steward (except to note that 346 | such modified license differs from this License). 347 | 348 | 10.4. Distributing Source Code Form that is Incompatible With Secondary 349 | Licenses 350 | 351 | If You choose to distribute Source Code Form that is Incompatible With 352 | Secondary Licenses under the terms of this version of the License, the 353 | notice described in Exhibit B of this License must be attached. 354 | 355 | Exhibit A - Source Code Form License Notice 356 | ------------------------------------------- 357 | 358 | This Source Code Form is subject to the terms of the Mozilla Public 359 | License, v. 2.0. If a copy of the MPL was not distributed with this 360 | file, You can obtain one at http://mozilla.org/MPL/2.0/. 361 | 362 | If it is not possible or desirable to put the notice in a particular 363 | file, then You may include the notice in a location (such as a LICENSE 364 | file in a relevant directory) where a recipient would be likely to look 365 | for such a notice. 366 | 367 | You may add additional accurate notices of copyright ownership. 368 | 369 | Exhibit B - "Incompatible With Secondary Licenses" Notice 370 | --------------------------------------------------------- 371 | 372 | This Source Code Form is "Incompatible With Secondary Licenses", as 373 | defined by the Mozilla Public License, v. 2.0. 374 | -------------------------------------------------------------------------------- /html/js/jquery.min.js: -------------------------------------------------------------------------------- 1 | /*! jQuery v3.1.1 | (c) jQuery Foundation | jquery.org/license */ 2 | !function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){"use strict";var c=[],d=a.document,e=Object.getPrototypeOf,f=c.slice,g=c.concat,h=c.push,i=c.indexOf,j={},k=j.toString,l=j.hasOwnProperty,m=l.toString,n=m.call(Object),o={};function p(a,b){b=b||d;var c=b.createElement("script");c.text=a,b.head.appendChild(c).parentNode.removeChild(c)}var q="3.1.1",r=function(a,b){return new r.fn.init(a,b)},s=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,t=/^-ms-/,u=/-([a-z])/g,v=function(a,b){return b.toUpperCase()};r.fn=r.prototype={jquery:q,constructor:r,length:0,toArray:function(){return f.call(this)},get:function(a){return null==a?f.call(this):a<0?this[a+this.length]:this[a]},pushStack:function(a){var b=r.merge(this.constructor(),a);return b.prevObject=this,b},each:function(a){return r.each(this,a)},map:function(a){return this.pushStack(r.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(f.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(a<0?b:0);return this.pushStack(c>=0&&c0&&b-1 in a)}var x=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ha(),z=ha(),A=ha(),B=function(a,b){return a===b&&(l=!0),0},C={}.hasOwnProperty,D=[],E=D.pop,F=D.push,G=D.push,H=D.slice,I=function(a,b){for(var c=0,d=a.length;c+~]|"+K+")"+K+"*"),S=new RegExp("="+K+"*([^\\]'\"]*?)"+K+"*\\]","g"),T=new RegExp(N),U=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+N),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+K+"*(even|odd|(([+-]|)(\\d*)n|)"+K+"*(?:([+-]|)"+K+"*(\\d+)|))"+K+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+K+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+K+"*((?:-\\d)?\\d*)"+K+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$=/[+~]/,_=new RegExp("\\\\([\\da-f]{1,6}"+K+"?|("+K+")|.)","ig"),aa=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:d<0?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},ba=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ca=function(a,b){return b?"\0"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},da=function(){m()},ea=ta(function(a){return a.disabled===!0&&("form"in a||"label"in a)},{dir:"parentNode",next:"legend"});try{G.apply(D=H.call(v.childNodes),v.childNodes),D[v.childNodes.length].nodeType}catch(fa){G={apply:D.length?function(a,b){F.apply(a,H.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function ga(a,b,d,e){var f,h,j,k,l,o,r,s=b&&b.ownerDocument,w=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==w&&9!==w&&11!==w)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==w&&(l=Z.exec(a)))if(f=l[1]){if(9===w){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(s&&(j=s.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(l[2])return G.apply(d,b.getElementsByTagName(a)),d;if((f=l[3])&&c.getElementsByClassName&&b.getElementsByClassName)return G.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==w)s=b,r=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(ba,ca):b.setAttribute("id",k=u),o=g(a),h=o.length;while(h--)o[h]="#"+k+" "+sa(o[h]);r=o.join(","),s=$.test(a)&&qa(b.parentNode)||b}if(r)try{return G.apply(d,s.querySelectorAll(r)),d}catch(x){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(P,"$1"),b,d,e)}function ha(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ia(a){return a[u]=!0,a}function ja(a){var b=n.createElement("fieldset");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ka(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function la(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function na(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function oa(a){return function(b){return"form"in b?b.parentNode&&b.disabled===!1?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===a:b.isDisabled===a||b.isDisabled!==!a&&ea(b)===a:b.disabled===a:"label"in b&&b.disabled===a}}function pa(a){return ia(function(b){return b=+b,ia(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function qa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=ga.support={},f=ga.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return!!b&&"HTML"!==b.nodeName},m=ga.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),v!==n&&(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ja(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ja(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Y.test(n.getElementsByClassName),c.getById=ja(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){return a.getAttribute("id")===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}}):(d.filter.ID=function(a){var b=a.replace(_,aa);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}},d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c,d,e,f=b.getElementById(a);if(f){if(c=f.getAttributeNode("id"),c&&c.value===a)return[f];e=b.getElementsByName(a),d=0;while(f=e[d++])if(c=f.getAttributeNode("id"),c&&c.value===a)return[f]}return[]}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){if("undefined"!=typeof b.getElementsByClassName&&p)return b.getElementsByClassName(a)},r=[],q=[],(c.qsa=Y.test(n.querySelectorAll))&&(ja(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+K+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+K+"*(?:value|"+J+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ja(function(a){a.innerHTML="";var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+K+"*[*^$|!~]?="),2!==a.querySelectorAll(":enabled").length&&q.push(":enabled",":disabled"),o.appendChild(a).disabled=!0,2!==a.querySelectorAll(":disabled").length&&q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Y.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ja(function(a){c.disconnectedMatch=s.call(a,"*"),s.call(a,"[s!='']:x"),r.push("!=",N)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Y.test(o.compareDocumentPosition),t=b||Y.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?I(k,a)-I(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?I(k,a)-I(k,b):0;if(e===f)return la(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?la(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},ga.matches=function(a,b){return ga(a,null,null,b)},ga.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(S,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return ga(b,n,null,[a]).length>0},ga.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},ga.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&C.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},ga.escape=function(a){return(a+"").replace(ba,ca)},ga.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},ga.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=ga.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=ga.selectors={cacheLength:50,createPseudo:ia,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(_,aa),a[3]=(a[3]||a[4]||a[5]||"").replace(_,aa),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||ga.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&ga.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return V.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&T.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(_,aa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+K+")"+a+"("+K+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=ga.attr(d,a);return null==e?"!="===b:!b||(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(O," ")+" ").indexOf(c)>-1:"|="===b&&(e===c||e.slice(0,c.length+1)===c+"-"))}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||ga.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ia(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=I(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ia(function(a){var b=[],c=[],d=h(a.replace(P,"$1"));return d[u]?ia(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ia(function(a){return function(b){return ga(a,b).length>0}}),contains:ia(function(a){return a=a.replace(_,aa),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ia(function(a){return U.test(a||"")||ga.error("unsupported lang: "+a),a=a.replace(_,aa).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:oa(!1),disabled:oa(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return X.test(a.nodeName)},input:function(a){return W.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:pa(function(){return[0]}),last:pa(function(a,b){return[b-1]}),eq:pa(function(a,b,c){return[c<0?c+b:c]}),even:pa(function(a,b){for(var c=0;c=0;)a.push(d);return a}),gt:pa(function(a,b,c){for(var d=c<0?c+b:c;++d1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function va(a,b,c){for(var d=0,e=b.length;d-1&&(f[j]=!(g[j]=l))}}else r=wa(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):G.apply(g,r)})}function ya(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ta(function(a){return a===b},h,!0),l=ta(function(a){return I(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];i1&&ua(m),i>1&&sa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(P,"$1"),c,i0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=E.call(i));u=wa(u)}G.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&ga.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ia(f):f}return h=ga.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=ya(b[c]),f[u]?d.push(f):e.push(f);f=A(a,za(e,d)),f.selector=a}return f},i=ga.select=function(a,b,c,e){var f,i,j,k,l,m="function"==typeof a&&a,n=!e&&g(a=m.selector||a);if(c=c||[],1===n.length){if(i=n[0]=n[0].slice(0),i.length>2&&"ID"===(j=i[0]).type&&9===b.nodeType&&p&&d.relative[i[1].type]){if(b=(d.find.ID(j.matches[0].replace(_,aa),b)||[])[0],!b)return c;m&&(b=b.parentNode),a=a.slice(i.shift().value.length)}f=V.needsContext.test(a)?0:i.length;while(f--){if(j=i[f],d.relative[k=j.type])break;if((l=d.find[k])&&(e=l(j.matches[0].replace(_,aa),$.test(i[0].type)&&qa(b.parentNode)||b))){if(i.splice(f,1),a=e.length&&sa(i),!a)return G.apply(c,e),c;break}}}return(m||h(a,n))(e,b,!p,c,!b||$.test(a)&&qa(b.parentNode)||b),c},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ja(function(a){return 1&a.compareDocumentPosition(n.createElement("fieldset"))}),ja(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ka("type|href|height|width",function(a,b,c){if(!c)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ja(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ka("value",function(a,b,c){if(!c&&"input"===a.nodeName.toLowerCase())return a.defaultValue}),ja(function(a){return null==a.getAttribute("disabled")})||ka(J,function(a,b,c){var d;if(!c)return a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),ga}(a);r.find=x,r.expr=x.selectors,r.expr[":"]=r.expr.pseudos,r.uniqueSort=r.unique=x.uniqueSort,r.text=x.getText,r.isXMLDoc=x.isXML,r.contains=x.contains,r.escapeSelector=x.escape;var y=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&r(a).is(c))break;d.push(a)}return d},z=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},A=r.expr.match.needsContext,B=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,C=/^.[^:#\[\.,]*$/;function D(a,b,c){return r.isFunction(b)?r.grep(a,function(a,d){return!!b.call(a,d,a)!==c}):b.nodeType?r.grep(a,function(a){return a===b!==c}):"string"!=typeof b?r.grep(a,function(a){return i.call(b,a)>-1!==c}):C.test(b)?r.filter(b,a,c):(b=r.filter(b,a),r.grep(a,function(a){return i.call(b,a)>-1!==c&&1===a.nodeType}))}r.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?r.find.matchesSelector(d,a)?[d]:[]:r.find.matches(a,r.grep(b,function(a){return 1===a.nodeType}))},r.fn.extend({find:function(a){var b,c,d=this.length,e=this;if("string"!=typeof a)return this.pushStack(r(a).filter(function(){for(b=0;b1?r.uniqueSort(c):c},filter:function(a){return this.pushStack(D(this,a||[],!1))},not:function(a){return this.pushStack(D(this,a||[],!0))},is:function(a){return!!D(this,"string"==typeof a&&A.test(a)?r(a):a||[],!1).length}});var E,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,G=r.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||E,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:F.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof r?b[0]:b,r.merge(this,r.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),B.test(e[1])&&r.isPlainObject(b))for(e in b)r.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&(this[0]=f,this.length=1),this}return a.nodeType?(this[0]=a,this.length=1,this):r.isFunction(a)?void 0!==c.ready?c.ready(a):a(r):r.makeArray(a,this)};G.prototype=r.fn,E=r(d);var H=/^(?:parents|prev(?:Until|All))/,I={children:!0,contents:!0,next:!0,prev:!0};r.fn.extend({has:function(a){var b=r(a,this),c=b.length;return this.filter(function(){for(var a=0;a-1:1===c.nodeType&&r.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?r.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?i.call(r(a),this[0]):i.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(r.uniqueSort(r.merge(this.get(),r(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function J(a,b){while((a=a[b])&&1!==a.nodeType);return a}r.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return y(a,"parentNode")},parentsUntil:function(a,b,c){return y(a,"parentNode",c)},next:function(a){return J(a,"nextSibling")},prev:function(a){return J(a,"previousSibling")},nextAll:function(a){return y(a,"nextSibling")},prevAll:function(a){return y(a,"previousSibling")},nextUntil:function(a,b,c){return y(a,"nextSibling",c)},prevUntil:function(a,b,c){return y(a,"previousSibling",c)},siblings:function(a){return z((a.parentNode||{}).firstChild,a)},children:function(a){return z(a.firstChild)},contents:function(a){return a.contentDocument||r.merge([],a.childNodes)}},function(a,b){r.fn[a]=function(c,d){var e=r.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=r.filter(d,e)),this.length>1&&(I[a]||r.uniqueSort(e),H.test(a)&&e.reverse()),this.pushStack(e)}});var K=/[^\x20\t\r\n\f]+/g;function L(a){var b={};return r.each(a.match(K)||[],function(a,c){b[c]=!0}),b}r.Callbacks=function(a){a="string"==typeof a?L(a):r.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),c<=h&&h--}),this},has:function(a){return a?r.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||b||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j};function M(a){return a}function N(a){throw a}function O(a,b,c){var d;try{a&&r.isFunction(d=a.promise)?d.call(a).done(b).fail(c):a&&r.isFunction(d=a.then)?d.call(a,b,c):b.call(void 0,a)}catch(a){c.call(void 0,a)}}r.extend({Deferred:function(b){var c=[["notify","progress",r.Callbacks("memory"),r.Callbacks("memory"),2],["resolve","done",r.Callbacks("once memory"),r.Callbacks("once memory"),0,"resolved"],["reject","fail",r.Callbacks("once memory"),r.Callbacks("once memory"),1,"rejected"]],d="pending",e={state:function(){return d},always:function(){return f.done(arguments).fail(arguments),this},"catch":function(a){return e.then(null,a)},pipe:function(){var a=arguments;return r.Deferred(function(b){r.each(c,function(c,d){var e=r.isFunction(a[d[4]])&&a[d[4]];f[d[1]](function(){var a=e&&e.apply(this,arguments);a&&r.isFunction(a.promise)?a.promise().progress(b.notify).done(b.resolve).fail(b.reject):b[d[0]+"With"](this,e?[a]:arguments)})}),a=null}).promise()},then:function(b,d,e){var f=0;function g(b,c,d,e){return function(){var h=this,i=arguments,j=function(){var a,j;if(!(b=f&&(d!==N&&(h=void 0,i=[a]),c.rejectWith(h,i))}};b?k():(r.Deferred.getStackHook&&(k.stackTrace=r.Deferred.getStackHook()),a.setTimeout(k))}}return r.Deferred(function(a){c[0][3].add(g(0,a,r.isFunction(e)?e:M,a.notifyWith)),c[1][3].add(g(0,a,r.isFunction(b)?b:M)),c[2][3].add(g(0,a,r.isFunction(d)?d:N))}).promise()},promise:function(a){return null!=a?r.extend(a,e):e}},f={};return r.each(c,function(a,b){var g=b[2],h=b[5];e[b[1]]=g.add,h&&g.add(function(){d=h},c[3-a][2].disable,c[0][2].lock),g.add(b[3].fire),f[b[0]]=function(){return f[b[0]+"With"](this===f?void 0:this,arguments),this},f[b[0]+"With"]=g.fireWith}),e.promise(f),b&&b.call(f,f),f},when:function(a){var b=arguments.length,c=b,d=Array(c),e=f.call(arguments),g=r.Deferred(),h=function(a){return function(c){d[a]=this,e[a]=arguments.length>1?f.call(arguments):c,--b||g.resolveWith(d,e)}};if(b<=1&&(O(a,g.done(h(c)).resolve,g.reject),"pending"===g.state()||r.isFunction(e[c]&&e[c].then)))return g.then();while(c--)O(e[c],h(c),g.reject);return g.promise()}});var P=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;r.Deferred.exceptionHook=function(b,c){a.console&&a.console.warn&&b&&P.test(b.name)&&a.console.warn("jQuery.Deferred exception: "+b.message,b.stack,c)},r.readyException=function(b){a.setTimeout(function(){throw b})};var Q=r.Deferred();r.fn.ready=function(a){return Q.then(a)["catch"](function(a){r.readyException(a)}),this},r.extend({isReady:!1,readyWait:1,holdReady:function(a){a?r.readyWait++:r.ready(!0)},ready:function(a){(a===!0?--r.readyWait:r.isReady)||(r.isReady=!0,a!==!0&&--r.readyWait>0||Q.resolveWith(d,[r]))}}),r.ready.then=Q.then;function R(){d.removeEventListener("DOMContentLoaded",R), 3 | a.removeEventListener("load",R),r.ready()}"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(r.ready):(d.addEventListener("DOMContentLoaded",R),a.addEventListener("load",R));var S=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===r.type(c)){e=!0;for(h in c)S(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,r.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(r(a),c)})),b))for(;h1,null,!0)},removeData:function(a){return this.each(function(){W.remove(this,a)})}}),r.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=V.get(a,b),c&&(!d||r.isArray(c)?d=V.access(a,b,r.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=r.queue(a,b),d=c.length,e=c.shift(),f=r._queueHooks(a,b),g=function(){r.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return V.get(a,c)||V.access(a,c,{empty:r.Callbacks("once memory").add(function(){V.remove(a,[b+"queue",c])})})}}),r.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length\x20\t\r\n\f]+)/i,ka=/^$|\/(?:java|ecma)script/i,la={option:[1,"",""],thead:[1,"",""],col:[2,"",""],tr:[2,"",""],td:[3,"",""],_default:[0,"",""]};la.optgroup=la.option,la.tbody=la.tfoot=la.colgroup=la.caption=la.thead,la.th=la.td;function ma(a,b){var c;return c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[],void 0===b||b&&r.nodeName(a,b)?r.merge([a],c):c}function na(a,b){for(var c=0,d=a.length;c-1)e&&e.push(f);else if(j=r.contains(f.ownerDocument,f),g=ma(l.appendChild(f),"script"),j&&na(g),c){k=0;while(f=g[k++])ka.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),o.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="x",o.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var qa=d.documentElement,ra=/^key/,sa=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ta=/^([^.]*)(?:\.(.+)|)/;function ua(){return!0}function va(){return!1}function wa(){try{return d.activeElement}catch(a){}}function xa(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)xa(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=va;else if(!e)return a;return 1===f&&(g=e,e=function(a){return r().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=r.guid++)),a.each(function(){r.event.add(this,b,e,d,c)})}r.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.get(a);if(q){c.handler&&(f=c,c=f.handler,e=f.selector),e&&r.find.matchesSelector(qa,e),c.guid||(c.guid=r.guid++),(i=q.events)||(i=q.events={}),(g=q.handle)||(g=q.handle=function(b){return"undefined"!=typeof r&&r.event.triggered!==b.type?r.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(K)||[""],j=b.length;while(j--)h=ta.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n&&(l=r.event.special[n]||{},n=(e?l.delegateType:l.bindType)||n,l=r.event.special[n]||{},k=r.extend({type:n,origType:p,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&r.expr.match.needsContext.test(e),namespace:o.join(".")},f),(m=i[n])||(m=i[n]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,o,g)!==!1||a.addEventListener&&a.addEventListener(n,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),r.event.global[n]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,n,o,p,q=V.hasData(a)&&V.get(a);if(q&&(i=q.events)){b=(b||"").match(K)||[""],j=b.length;while(j--)if(h=ta.exec(b[j])||[],n=p=h[1],o=(h[2]||"").split(".").sort(),n){l=r.event.special[n]||{},n=(d?l.delegateType:l.bindType)||n,m=i[n]||[],h=h[2]&&new RegExp("(^|\\.)"+o.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&p!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,o,q.handle)!==!1||r.removeEvent(a,n,q.handle),delete i[n])}else for(n in i)r.event.remove(a,n+b[j],c,d,!0);r.isEmptyObject(i)&&V.remove(a,"handle events")}},dispatch:function(a){var b=r.event.fix(a),c,d,e,f,g,h,i=new Array(arguments.length),j=(V.get(this,"events")||{})[b.type]||[],k=r.event.special[b.type]||{};for(i[0]=b,c=1;c=1))for(;j!==this;j=j.parentNode||this)if(1===j.nodeType&&("click"!==a.type||j.disabled!==!0)){for(f=[],g={},c=0;c-1:r.find(e,this,null,[j]).length),g[e]&&f.push(d);f.length&&h.push({elem:j,handlers:f})}return j=this,i\x20\t\r\n\f]*)[^>]*)\/>/gi,za=/
long paragraph
' + sanitize(element.data) + '
'';!--"=&{()}