Файловый менеджер - Редактировать - /home/lmsyaran/public_html/joomla5/media/com_fabrik/js/dist/encoder.js
Назад
/*! Fabrik */ define([],function(){var r={EncodeType:"entity",isEmpty:function(r){return!r||null===r||0===r.length||/^\s+$/.test(r)},arr1:[" ","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","¬","­","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ",""","&","<",">","Œ","œ","Š","š","Ÿ","ˆ","˜"," "," "," ","‌","‍","‎","‏","–","—","‘","’","‚","“","”","„","†","‡","‰","‹","›","€","ƒ","Α","Β","Γ","Δ","Ε","Ζ","Η","Θ","Ι","Κ","Λ","Μ","Ν","Ξ","Ο","Π","Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω","α","β","γ","δ","ε","ζ","η","θ","ι","κ","λ","μ","ν","ξ","ο","π","ρ","ς","σ","τ","υ","φ","χ","ψ","ω","ϑ","ϒ","ϖ","•","…","′","″","‾","⁄","℘","ℑ","ℜ","™","ℵ","←","↑","→","↓","↔","↵","⇐","⇑","⇒","⇓","⇔","∀","∂","∃","∅","∇","∈","∉","∋","∏","∑","−","∗","√","∝","∞","∠","∧","∨","∩","∪","∫","∴","∼","≅","≈","≠","≡","≤","≥","⊂","⊃","⊄","⊆","⊇","⊕","⊗","⊥","⋅","⌈","⌉","⌊","⌋","⟨","⟩","◊","♠","♣","♥","♦"],arr2:[" ","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","¬","­","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ",""","&","<",">","Œ","œ","Š","š","Ÿ","ˆ","˜"," "," "," ","‌","‍","‎","‏","–","—","‘","’","‚","“","”","„","†","‡","‰","‹","›","€","ƒ","Α","Β","Γ","Δ","Ε","Ζ","Η","Θ","Ι","Κ","Λ","Μ","Ν","Ξ","Ο","Π","Ρ","Σ","Τ","Υ","Φ","Χ","Ψ","Ω","α","β","γ","δ","ε","ζ","η","θ","ι","κ","λ","μ","ν","ξ","ο","π","ρ","ς","σ","τ","υ","φ","χ","ψ","ω","ϑ","ϒ","ϖ","•","…","′","″","‾","⁄","℘","ℑ","ℜ","™","ℵ","←","↑","→","↓","↔","↵","⇐","⇑","⇒","⇓","⇔","∀","∂","∃","∅","∇","∈","∉","∋","∏","∑","−","∗","√","∝","∞","∠","∧","∨","∩","∪","∫","∴","∼","≅","≈","≠","≡","≤","≥","⊂","⊃","⊄","⊆","⊇","⊕","⊗","⊥","⋅","⌈","⌉","⌊","⌋","〈","〉","◊","♠","♣","♥","♦"],HTML2Numerical:function(r){return this.swapArrayVals(r,this.arr1,this.arr2)},NumericalToHTML:function(r){return this.swapArrayVals(r,this.arr2,this.arr1)},numEncode:function(r){if(this.isEmpty(r))return"";for(var e=[],a=r.length,i=0;i<a;i++){var t=r.charAt(i);t<" "||"~"<t?(e.push("&#"),e.push(t.charCodeAt()),e.push(";")):e.push(t)}return e.join("")},htmlDecode:function(r){var e,a,i=r;if(this.isEmpty(i))return"";var t=(i=this.HTML2Numerical(i)).match(/&#[0-9]{1,5};/g);if(null!==t)for(var c=0;c<t.length;c++)i=-32768<=(e=(a=t[c]).substring(2,a.length-1))&&e<=65535?i.replace(a,String.fromCharCode(e)):i.replace(a,"");return i},htmlEncode:function(r,e){return this.isEmpty(r)?"":((e=e||!1)&&(r="numerical"===this.EncodeType?r.replace(/&/g,"&"):r.replace(/&/g,"&")),r=this.XSSEncode(r,!1),"numerical"!==this.EncodeType&&e||(r=this.HTML2Numerical(r)),r=this.numEncode(r),e||(r=r.replace(/&#/g,"##AMPHASH##"),r=(r="numerical"===this.EncodeType?r.replace(/&/g,"&"):r.replace(/&/g,"&")).replace(/##AMPHASH##/g,"&#")),r=r.replace(/&#\d*([^\d;]|$)/g,"$1"),e||(r=this.correctEncoding(r)),"entity"===this.EncodeType?this.NumericalToHTML(r):r)},XSSEncode:function(r,e){return this.isEmpty(r)?"":(e=e||!0)?(r=(r=(r=r.replace(/\'/g,"'")).replace(/\"/g,""")).replace(/</g,"<")).replace(/>/g,">"):(r=(r=(r=r.replace(/\'/g,"'")).replace(/\"/g,""")).replace(/</g,"<")).replace(/>/g,">")},hasEncoded:function(r){return!!/&#[0-9]{1,5};/g.test(r)||!!/&[A-Z]{2,6};/gi.test(r)},stripUnicode:function(r){return r.replace(/[^\x20-\x7E]/g,"")},correctEncoding:function(r){return r.replace(/(&)(amp;)+/,"$1")},swapArrayVals:function(r,e,a){if(this.isEmpty(r))return"";var i;if(e&&a&&e.length===a.length)for(var t=0,c=e.length;t<c;t++)i=new RegExp(e[t],"g"),r=r.replace(i,a[t]);return r},inArray:function(r,e){for(var a=0,i=e.length;a<i;a++)if(e[a]===r)return a;return-1}};return window.Encoder=r});
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка