| Current Path : /home/lejardintz/www/components/com_jce/editor/tiny_mce/plugins/charmap/js/ |
| Current File : /home/lejardintz/www/components/com_jce/editor/tiny_mce/plugins/charmap/js/charmap.js |
/* jce - 2.7.17 | 2019-08-22 | https://www.joomlacontenteditor.net | Copyright (C) 2006 - 2019 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */
function renderCharMapHTML(){var i,charsPerRow=20,html='<ul class="charmap">',cols=-1;for(i=0;i<charmap.length;i++)1==charmap[i][2]&&(cols++,html+='<li><a role="button" onmouseover="previewChar(\''+charmap[i][1].substring(1,charmap[i][1].length)+"','"+charmap[i][0].substring(1,charmap[i][0].length)+"','"+charmap[i][3]+"');\" onfocus=\"previewChar('"+charmap[i][1].substring(1,charmap[i][1].length)+"','"+charmap[i][0].substring(1,charmap[i][0].length)+"','"+charmap[i][3]+'\');" href="javascript:void(0)" onclick="insertChar(\''+charmap[i][1].substring(2,charmap[i][1].length-1)+'\');" onclick="return false;" onmousedown="return false;" title="'+charmap[i][3]+'" aria-label="'+charmap[i][3]+'">'+charmap[i][1]+"</a></li>",(cols+1)%charsPerRow==0&&(html+='</ul><ul class="charmap">'));if(cols%charsPerRow>0)for(var padd=charsPerRow-cols%charsPerRow,i=0;i<padd-1;i++)html+="<li> </li>";return html+="</ul>"}function insertChar(chr){tinyMCEPopup.execCommand("mceInsertContent",!1,"&#"+chr+";"),tinyMCEPopup.isWindow&&window.focus(),tinyMCEPopup.editor.focus(),tinyMCEPopup.close()}function previewChar(codeA,codeB,codeN){var elmA=document.getElementById("codeA"),elmB=document.getElementById("codeB"),elmV=document.getElementById("codeV"),elmN=document.getElementById("codeN");"#160;"==codeA?elmV.innerHTML="__":elmV.innerHTML="&"+codeA,elmB.innerHTML="&"+codeA,elmA.innerHTML="&"+codeB,elmN.innerHTML=codeN}var charmap=[[" "," ",!0,"no-break space"],["&","&",!0,"ampersand"],[""",""",!0,"quotation mark"],["¢","¢",!0,"cent sign"],["€","€",!0,"euro sign"],["£","£",!0,"pound sign"],["¥","¥",!0,"yen sign"],["©","©",!0,"copyright sign"],["®","®",!0,"registered sign"],["™","™",!0,"trade mark sign"],["‰","‰",!0,"per mille sign"],["µ","µ",!0,"micro sign"],["·","·",!0,"middle dot"],["•","•",!0,"bullet"],["…","…",!0,"three dot leader"],["′","′",!0,"minutes / feet"],["″","″",!0,"seconds / inches"],["§","§",!0,"section sign"],["¶","¶",!0,"paragraph sign"],["ß","ß",!0,"sharp s / ess-zed"],["‹","‹",!0,"single left-pointing angle quotation mark"],["›","›",!0,"single right-pointing angle quotation mark"],["«","«",!0,"left pointing guillemet"],["»","»",!0,"right pointing guillemet"],["‘","‘",!0,"left single quotation mark"],["’","’",!0,"right single quotation mark"],["“","“",!0,"left double quotation mark"],["”","”",!0,"right double quotation mark"],["‚","‚",!0,"single low-9 quotation mark"],["„","„",!0,"double low-9 quotation mark"],["<","<",!0,"less-than sign"],[">",">",!0,"greater-than sign"],["≤","≤",!0,"less-than or equal to"],["≥","≥",!0,"greater-than or equal to"],["–","–",!0,"en dash"],["—","—",!0,"em dash"],["¯","¯",!0,"macron"],["‾","‾",!0,"overline"],["¤","¤",!0,"currency sign"],["¦","¦",!0,"broken bar"],["¨","¨",!0,"diaeresis"],["¡","¡",!0,"inverted exclamation mark"],["¿","¿",!0,"turned question mark"],["ˆ","ˆ",!0,"circumflex accent"],["˜","˜",!0,"small tilde"],["°","°",!0,"degree sign"],["−","−",!0,"minus sign"],["±","±",!0,"plus-minus sign"],["÷","÷",!0,"division sign"],["⁄","⁄",!0,"fraction slash"],["×","×",!0,"multiplication sign"],["¹","¹",!0,"superscript one"],["²","²",!0,"superscript two"],["³","³",!0,"superscript three"],["¼","¼",!0,"fraction one quarter"],["½","½",!0,"fraction one half"],["¾","¾",!0,"fraction three quarters"],["ƒ","ƒ",!0,"function / florin"],["∫","∫",!0,"integral"],["∑","∑",!0,"n-ary sumation"],["∞","∞",!0,"infinity"],["√","√",!0,"square root"],["∼","∼",!1,"similar to"],["≅","≅",!1,"approximately equal to"],["≈","≈",!0,"almost equal to"],["≠","≠",!0,"not equal to"],["≡","≡",!0,"identical to"],["∈","∈",!1,"element of"],["∉","∉",!1,"not an element of"],["∋","∋",!1,"contains as member"],["∏","∏",!0,"n-ary product"],["∧","∧",!1,"logical and"],["∨","∨",!1,"logical or"],["¬","¬",!0,"not sign"],["∩","∩",!0,"intersection"],["∪","∪",!1,"union"],["∂","∂",!0,"partial differential"],["∀","∀",!1,"for all"],["∃","∃",!1,"there exists"],["∅","∅",!1,"diameter"],["∇","∇",!1,"backward difference"],["∗","∗",!1,"asterisk operator"],["∝","∝",!1,"proportional to"],["∠","∠",!1,"angle"],["´","´",!0,"acute accent"],["¸","¸",!0,"cedilla"],["ª","ª",!0,"feminine ordinal indicator"],["º","º",!0,"masculine ordinal indicator"],["†","†",!0,"dagger"],["‡","‡",!0,"double dagger"],["À","À",!0,"A - grave"],["Á","Á",!0,"A - acute"],["Â","Â",!0,"A - circumflex"],["Ã","Ã",!0,"A - tilde"],["Ä","Ä",!0,"A - diaeresis"],["Å","Å",!0,"A - ring above"],["Æ","Æ",!0,"ligature AE"],["Ç","Ç",!0,"C - cedilla"],["È","È",!0,"E - grave"],["É","É",!0,"E - acute"],["Ê","Ê",!0,"E - circumflex"],["Ë","Ë",!0,"E - diaeresis"],["Ì","Ì",!0,"I - grave"],["Í","Í",!0,"I - acute"],["Î","Î",!0,"I - circumflex"],["Ï","Ï",!0,"I - diaeresis"],["Ð","Ð",!0,"ETH"],["Ñ","Ñ",!0,"N - tilde"],["Ò","Ò",!0,"O - grave"],["Ó","Ó",!0,"O - acute"],["Ô","Ô",!0,"O - circumflex"],["Õ","Õ",!0,"O - tilde"],["Ö","Ö",!0,"O - diaeresis"],["Ø","Ø",!0,"O - slash"],["Œ","Œ",!0,"ligature OE"],["Š","Š",!0,"S - caron"],["Ù","Ù",!0,"U - grave"],["Ú","Ú",!0,"U - acute"],["Û","Û",!0,"U - circumflex"],["Ü","Ü",!0,"U - diaeresis"],["Ý","Ý",!0,"Y - acute"],["Ÿ","Ÿ",!0,"Y - diaeresis"],["Þ","Þ",!0,"THORN"],["à","à",!0,"a - grave"],["á","á",!0,"a - acute"],["â","â",!0,"a - circumflex"],["ã","ã",!0,"a - tilde"],["ä","ä",!0,"a - diaeresis"],["å","å",!0,"a - ring above"],["æ","æ",!0,"ligature ae"],["ç","ç",!0,"c - cedilla"],["è","è",!0,"e - grave"],["é","é",!0,"e - acute"],["ê","ê",!0,"e - circumflex"],["ë","ë",!0,"e - diaeresis"],["ì","ì",!0,"i - grave"],["í","í",!0,"i - acute"],["î","î",!0,"i - circumflex"],["ï","ï",!0,"i - diaeresis"],["ð","ð",!0,"eth"],["ñ","ñ",!0,"n - tilde"],["ò","ò",!0,"o - grave"],["ó","ó",!0,"o - acute"],["ô","ô",!0,"o - circumflex"],["õ","õ",!0,"o - tilde"],["ö","ö",!0,"o - diaeresis"],["ø","ø",!0,"o slash"],["œ","œ",!0,"ligature oe"],["š","š",!0,"s - caron"],["ù","ù",!0,"u - grave"],["ú","ú",!0,"u - acute"],["û","û",!0,"u - circumflex"],["ü","ü",!0,"u - diaeresis"],["ý","ý",!0,"y - acute"],["þ","þ",!0,"thorn"],["ÿ","ÿ",!0,"y - diaeresis"],["Α","Α",!0,"Alpha"],["Β","Β",!0,"Beta"],["Γ","Γ",!0,"Gamma"],["Δ","Δ",!0,"Delta"],["Ε","Ε",!0,"Epsilon"],["Ζ","Ζ",!0,"Zeta"],["Η","Η",!0,"Eta"],["Θ","Θ",!0,"Theta"],["Ι","Ι",!0,"Iota"],["Κ","Κ",!0,"Kappa"],["Λ","Λ",!0,"Lambda"],["Μ","Μ",!0,"Mu"],["Ν","Ν",!0,"Nu"],["Ξ","Ξ",!0,"Xi"],["Ο","Ο",!0,"Omicron"],["Π","Π",!0,"Pi"],["Ρ","Ρ",!0,"Rho"],["Σ","Σ",!0,"Sigma"],["Τ","Τ",!0,"Tau"],["Υ","Υ",!0,"Upsilon"],["Φ","Φ",!0,"Phi"],["Χ","Χ",!0,"Chi"],["Ψ","Ψ",!0,"Psi"],["Ω","Ω",!0,"Omega"],["α","α",!0,"alpha"],["β","β",!0,"beta"],["γ","γ",!0,"gamma"],["δ","δ",!0,"delta"],["ε","ε",!0,"epsilon"],["ζ","ζ",!0,"zeta"],["η","η",!0,"eta"],["θ","θ",!0,"theta"],["ι","ι",!0,"iota"],["κ","κ",!0,"kappa"],["λ","λ",!0,"lambda"],["μ","μ",!0,"mu"],["ν","ν",!0,"nu"],["ξ","ξ",!0,"xi"],["ο","ο",!0,"omicron"],["π","π",!0,"pi"],["ρ","ρ",!0,"rho"],["ς","ς",!0,"final sigma"],["σ","σ",!0,"sigma"],["τ","τ",!0,"tau"],["υ","υ",!0,"upsilon"],["φ","φ",!0,"phi"],["χ","χ",!0,"chi"],["ψ","ψ",!0,"psi"],["ω","ω",!0,"omega"],["ℵ","ℵ",!1,"alef symbol"],["ϖ","ϖ",!1,"pi symbol"],["ℜ","ℜ",!1,"real part symbol"],["ϑ","ϑ",!1,"theta symbol"],["ϒ","ϒ",!1,"upsilon - hook symbol"],["℘","℘",!1,"Weierstrass p"],["ℑ","ℑ",!1,"imaginary part"],["←","←",!0,"leftwards arrow"],["↑","↑",!0,"upwards arrow"],["→","→",!0,"rightwards arrow"],["↓","↓",!0,"downwards arrow"],["↔","↔",!0,"left right arrow"],["↵","↵",!1,"carriage return"],["⇐","⇐",!1,"leftwards double arrow"],["⇑","⇑",!1,"upwards double arrow"],["⇒","⇒",!1,"rightwards double arrow"],["⇓","⇓",!1,"downwards double arrow"],["⇔","⇔",!1,"left right double arrow"],["∴","∴",!1,"therefore"],["⊂","⊂",!1,"subset of"],["⊃","⊃",!1,"superset of"],["⊄","⊄",!1,"not a subset of"],["⊆","⊆",!1,"subset of or equal to"],["⊇","⊇",!1,"superset of or equal to"],["⊕","⊕",!1,"circled plus"],["⊗","⊗",!1,"circled times"],["⊥","⊥",!1,"perpendicular"],["⋅","⋅",!1,"dot operator"],["⌈","⌈",!1,"left ceiling"],["⌉","⌉",!1,"right ceiling"],["⌊","⌊",!1,"left floor"],["⌋","⌋",!1,"right floor"],["⟨","〈",!1,"left-pointing angle bracket"],["⟩","〉",!1,"right-pointing angle bracket"],["◊","◊",!0,"lozenge"],["♠","♠",!0,"black spade suit"],["♣","♣",!0,"black club suit"],["♥","♥",!0,"black heart suit"],["♦","♦",!0,"black diamond suit"],[" "," ",!1,"en space"],[" "," ",!1,"em space"],[" "," ",!1,"thin space"],["‌","‌",!1,"zero width non-joiner"],["‍","‍",!1,"zero width joiner"],["‎","‎",!1,"left-to-right mark"],["‏","‏",!1,"right-to-left mark"],["­","­",!1,"soft hyphen"]];tinyMCEPopup.onInit.add(function(){tinyMCEPopup.dom.show("jce"),tinyMCEPopup.dom.setHTML("charmapView",renderCharMapHTML())});