var SV=window.SV||{}; (function(f,h,k,l){SV.FontSizeChooserForm=XF.extend(XF.OverlayClick,{eventNameSpace:"SVFontSizeChooserFormClick",__backup:{init:"svInit"},options:{allowedSizes:null,buttonText:XF.phrase("close")},init:function(){this.options.allowedSizes?this.svInit():console.error("No allowed sizes have been set.")},getOverlayHtml:function(){return XF.getOverlayHtml({html:this.getSvSettingsBlockHtml(),title:XF.phrase("settings")})},getSvSettingsBlockHtml:function(){return'
'+this.getSvSettingsFieldsHtml()+ '
"},getSvSettingsFieldsHtml:function(){return this.getSvSettingsFieldRowHtml("font_size","font_size","select","1em",{allowedValues:this.options.allowedSizes})},getSvSettingsFieldRowHtml:function(a,b,c,d,e){b=this.getSvSettingsInputElement(b,c,d,e);return'
"+b.prop("outerHTML")+"
"},getSvSettingsInputElement:function(a,b,c,d){var e=null,g=this.getSvInputDefaultValue(a,c);switch(b){case "select":if(!d.allowedValues)return console.error("No allowed values provided for "+XF.htmlspecialchars(a)+" of type ("+XF.htmlspecialchars(b)+")"),!1;e=f("