//>>built define("require dojo/_base/array dojo/_base/declare dojo/dom-construct dojo/i18n dojo/_base/lang dojo/string dojo/store/Memory ../../registry ../../_Widget ../../_TemplatedMixin ../../_WidgetsInTemplateMixin ../../form/FilteringSelect ../_Plugin ../range dojo/i18n!../nls/FontChoice".split(" "),function(f,h,l,u,v,m,w,x,y,z,A,B,C,n,p){f=l("dijit._editor.plugins._FontDropDown",[z,A,B],{label:"",plainText:!1,templateString:"\x3cspan style\x3d'white-space: nowrap' class\x3d'dijit dijitReset dijitInline'\x3e\x3clabel class\x3d'dijitLeft dijitInline' for\x3d'${selectId}'\x3e${label}\x3c/label\x3e\x3cinput data-dojo-type\x3d'../../form/FilteringSelect' required\x3d'false' data-dojo-props\x3d'labelType:\"html\", labelAttr:\"label\", searchAttr:\"name\"' class\x3d'${comboClass}' tabIndex\x3d'-1' id\x3d'${selectId}' data-dojo-attach-point\x3d'select' value\x3d''/\x3e\x3c/span\x3e", contextRequire:f,postMixInProperties:function(){this.inherited(arguments);this.strings=v.getLocalization("dijit._editor","FontChoice");this.label=this.strings[this.command];this.id=y.getUniqueId(this.declaredClass.replace(/\./g,"_"));this.selectId=this.id+"_select";this.inherited(arguments)},postCreate:function(){this.select.set("store",new x({idProperty:"value",data:h.map(this.values,function(b){var a=this.strings[b]||b;return{label:this.getLabel(b,a),name:a,value:b}},this)}));this.select.set("value", "",!1);this.disabled=this.select.get("disabled")},_setValueAttr:function(b,a){a=!1!==a;this.select.set("value",0>h.indexOf(this.values,b)?"":b,a);a||(this.select._lastValueReported=null)},_getValueAttr:function(){return this.select.get("value")},focus:function(){this.select.focus()},_setDisabledAttr:function(b){this._set("disabled",b);this.select.set("disabled",b)}});var q=l("dijit._editor.plugins._FontNameDropDown",f,{generic:!1,command:"fontName",comboClass:"dijitFontNameCombo",postMixInProperties:function(){this.values|| (this.values=this.generic?["serif","sans-serif","monospace","cursive","fantasy"]:["Arial","Times New Roman","Comic Sans MS","Courier New"]);this.inherited(arguments)},getLabel:function(b,a){return this.plainText?a:"\x3cdiv style\x3d'font-family: "+b+"'\x3e"+a+"\x3c/div\x3e"},_normalizeFontName:function(b){var a=this.values;if(!b||!a)return b;var d=b.split(",");if(1h.indexOf(this.button.values,c)&&(c="noFormat");else{c=null;var e;(a=p.getSelection(this.editor.window))&&0