CKEDITOR.dialog.add("a11yHelp",(function(e){function n(e){for(var n,a,t=[],l=0;l<o.length;l++)a=o[l],1<(n=e/o[l])&&2>=n&&(e-=a,t.push(c[a]));return t.push(c[e]||String.fromCharCode(e)),t.join("+")}function a(a,t){var l=e.getCommandKeystroke(t,!0);return l.length?CKEDITOR.tools.array.map(l,n).join(" / "):a}var t=e.lang.a11yhelp,l=e.lang.common.keyboard,i=CKEDITOR.tools.getNextId(),d=/\$\{(.*?)\}/g,o=[CKEDITOR.ALT,CKEDITOR.SHIFT,CKEDITOR.CTRL],c={8:l[8],9:t.tab,13:l[13],16:l[16],17:l[17],18:l[18],19:t.pause,20:t.capslock,27:t.escape,33:t.pageUp,34:t.pageDown,35:l[35],36:l[36],37:t.leftArrow,38:t.upArrow,39:t.rightArrow,40:t.downArrow,45:t.insert,46:l[46],91:t.leftWindowKey,92:t.rightWindowKey,93:t.selectKey,96:t.numpad0,97:t.numpad1,98:t.numpad2,99:t.numpad3,100:t.numpad4,101:t.numpad5,102:t.numpad6,103:t.numpad7,104:t.numpad8,105:t.numpad9,106:t.multiply,107:t.add,109:t.subtract,110:t.decimalPoint,111:t.divide,112:t.f1,113:t.f2,114:t.f3,115:t.f4,116:t.f5,117:t.f6,118:t.f7,119:t.f8,120:t.f9,121:t.f10,122:t.f11,123:t.f12,144:t.numLock,145:t.scrollLock,186:t.semiColon,187:t.equalSign,188:t.comma,189:t.dash,190:t.period,191:t.forwardSlash,192:t.graveAccent,219:t.openBracket,220:t.backSlash,221:t.closeBracket,222:t.singleQuote};return c[CKEDITOR.ALT]=l[18],c[CKEDITOR.SHIFT]=l[16],c[CKEDITOR.CTRL]=CKEDITOR.env.mac?l[224]:l[17],{title:t.title,minWidth:600,minHeight:400,contents:[{id:"info",label:e.lang.common.generalTab,expand:!0,elements:[{type:"html",id:"legends",style:"white-space:normal;",focus:function(){this.getElement().focus()},html:function(){for(var e='<div class="cke_accessibility_legend" role="document" aria-labelledby="'+i+'_arialbl" tabIndex="-1">%1</div><span id="'+i+'_arialbl" class="cke_voice_label">'+t.contents+" </span>",n=[],l=t.legend,o=l.length,c=0;c<o;c++){for(var r=l[c],s=[],p=r.items,g=p.length,m=0;m<g;m++){var u,h=p[m];(u=(u=CKEDITOR.env.edge&&h.legendEdge?h.legendEdge:h.legend).replace(d,a)).match(d)||s.push("<dt>%1</dt><dd>%2</dd>".replace("%1",h.name).replace("%2",u))}n.push("<h1>%1</h1><dl>%2</dl>".replace("%1",r.name).replace("%2",s.join("")))}return e.replace("%1",n.join(""))}()+'<style type="text/css">.cke_accessibility_legend{width:600px;height:400px;padding-right:5px;overflow-y:auto;overflow-x:hidden;}.cke_browser_quirks .cke_accessibility_legend,{height:390px}.cke_accessibility_legend *{white-space:normal;}.cke_accessibility_legend h1{font-size: 20px;border-bottom: 1px solid #AAA;margin: 5px 0px 15px;}.cke_accessibility_legend dl{margin-left: 5px;}.cke_accessibility_legend dt{font-size: 13px;font-weight: bold;}.cke_accessibility_legend dd{margin:10px}</style>'}]}],buttons:[CKEDITOR.dialog.cancelButton]}}));