(function(){var c,b={};zk.load("zul.lang",function(){c="0123456789"+zk.MINUS+zk.PERCENT+(zk.groupingDenied?"":zk.GROUPING)});zul.inp.NumberInputWidget=zk.$extends(zul.inp.FormatWidget,{$define:{rounding:null,localizedSymbols:[function(a){return a?(a=jq.evalJSON(a),b[a[0]]||(b[a[0]]=a[1]),b[a[0]]):a},function(){var a=this._localizedSymbols;this._allowKeys=a?"0123456789"+a.MINUS+a.PERCENT+(zk.groupingDenied?"":a.GROUPING):null;this.rerender()}]},getAllowedKeys_:function(){return this._allowKeys||c},
doKeyPress_:function(a){a.ctrlKey&&a.altKey&&a.stop();this._shallIgnore(a,this.getAllowedKeys_())||this.$supers("doKeyPress_",arguments)},doPaste_:function(a){a.ctrlKey&&a.altKey&&a.stop();this._shallIgnore(a,this.getAllowedKeys_())||this.$supers("doPaste_",arguments)},getType:function(){return!zk.mobile||this._format||this._locale?this._type:"number"},domAttrs_:function(a){var b=this.$supers("domAttrs_",arguments);a&&a.text||!zk.ios||!zk.ipad?a&&a.text||!zk.android||(b+=' inputmode="numeric"'):b+=
' pattern="[0-9]*"';return b}})})();
