/*!@license
* Infragistics.Web.ClientUI infragistics.encoding_cp437.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*     infragistics.ext_text.js
*     infragistics.encoding.core.js
*/
(function(factory){if(typeof define==="function"&&define.amd){define(["./infragistics.util","./infragistics.ext_core","./infragistics.ext_collections","./infragistics.ext_text","./infragistics.encoding.core"],factory)}else{factory(igRoot)}})(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$at=$$t;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["CodePage437Encoding:a","SingleByteEncoding:b","Encoding:c","Object:d","Type:e","Boolean:f","ValueType:g","Void:h","IConvertible:i","IFormatProvider:j","Number:k","String:l","IComparable:m","Number:n","IComparable$1:o","IEquatable$1:p","Number:q","Number:r","Number:s","NumberStyles:t","Enum:u","Array:v","IList:w","ICollection:x","IEnumerable:y","IEnumerator:z","Error:aa","Error:ab","Number:ac","String:ad","StringComparison:ae","RegExp:af","CultureInfo:ag","DateTimeFormat:ah","Calendar:ai","Date:aj","Number:ak","DayOfWeek:al","DateTimeKind:am","CalendarWeekRule:an","NumberFormatInfo:ao","CompareInfo:ap","CompareOptions:aq","IEnumerable$1:ar","IEnumerator$1:as","IDisposable:at","StringSplitOptions:au","Number:av","Number:aw","Number:ax","Number:ay","Number:az","Number:a0","Assembly:a1","Stream:a2","SeekOrigin:a3","RuntimeTypeHandle:a4","MethodInfo:a5","MethodBase:a6","MemberInfo:a7","ParameterInfo:a8","TypeCode:a9","ConstructorInfo:ba","PropertyInfo:bb","UTF8Encoding:bc","InvalidOperationException:bd","NotImplementedException:be","Script:bf","Decoder:bg","UnicodeEncoding:bh","Math:bi","AsciiEncoding:bj","ArgumentNullException:bk","DefaultDecoder:bl","ArgumentException:bm","IEncoding:bn","Dictionary$2:bo","IDictionary$2:bp","ICollection$1:bq","KeyValuePair$2:br","IDictionary:bs","IEqualityComparer$1:bt","EqualityComparer$1:bu","IEqualityComparer:bv","DefaultEqualityComparer$1:bw","Thread:bx","ThreadStart:by","MulticastDelegate:bz","IntPtr:b0","StringBuilder:b1","Environment:b2","List$1:b3","IList$1:b4","IArray:b5","IArrayList:b6","Array:b7","CompareCallback:b8","Func$3:b9","Action$1:ca","Comparer$1:cb","IComparer:cc","IComparer$1:cd","DefaultComparer$1:ce","Comparison$1:cf","ReadOnlyCollection$1:cg","Predicate$1:ch","RuntimeHelpers:ci","RuntimeFieldHandle:cj","AbstractEnumerable:ck","Func$1:cl","AbstractEnumerator:cm","GenericEnumerable$1:cn","GenericEnumerator$1:co"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t;$c("CodePage437Encoding:a","SingleByteEncoding",{aj:null,ai:null,ac:function(){return this.ai},init:function(){this.aj=function(){var $ret=new $$t.b3($$t.$ad.$type,0);$ret.add("\u2007");$ret.add("\u263a");$ret.add("\u263b");$ret.add("\u2665");$ret.add("\u2666");$ret.add("\u2663");$ret.add("\u2660");$ret.add("\u2022");$ret.add("\u25d8");$ret.add("\u25cb");$ret.add("\u25d9");$ret.add("\u2642");$ret.add("\u2640");$ret.add("\u266a");$ret.add("\u266b");$ret.add("\u263c");$ret.add("\u25ba");$ret.add("\u25c4");$ret.add("\u2195");$ret.add("\u203c");$ret.add("\xb6");$ret.add("\xa7");$ret.add("\u25ac");$ret.add("\u21a8");$ret.add("\u2191");$ret.add("\u2193");$ret.add("\u2192");$ret.add("\u2190");$ret.add("\u221f");$ret.add("\u2194");$ret.add("\u25b2");$ret.add("\u25bc");$ret.add("\u2302");return $ret}();this.ai=["\0","\x01","\x02","\x03","\x04","\x05","\x06","\x07","\b","\t","\n","\x0B","\f","\r","\x0e","\x0f","\x10","\x11","\x12","\x13","\x14","\x15","\x16","\x17","\x18","\x19","\x1a","\x1b","\x1c","\x1d","\x1e","\x1f"," ","!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","\\","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","\x7f","\xc7","\xfc","\xe9","\xe2","\xe4","\xe0","\xe5","\xe7","\xea","\xeb","\xe8","\xef","\xee","\xec","\xc4","\xc5","\xc9","\xe6","\xc6","\xf4","\xf6","\xf2","\xfb","\xf9","\xff","\xd6","\xdc","\xa2","\xa3","\xa5","\u20a7","\u0192","\xe1","\xed","\xf3","\xfa","\xf1","\xd1","\xaa","\xba","\xbf","\u2310","\xac","\xbd","\xbc","\xa1","\xab","\xbb","\u2591","\u2592","\u2593","\u2502","\u2524","\u2561","\u2562","\u2556","\u2555","\u2563","\u2551","\u2557","\u255d","\u255c","\u255b","\u2510","\u2514","\u2534","\u252c","\u251c","\u2500","\u253c","\u255e","\u255f","\u255a","\u2554","\u2569","\u2566","\u2560","\u2550","\u256c","\u2567","\u2568","\u2564","\u2565","\u2559","\u2558","\u2552","\u2553","\u256b","\u256a","\u2518","\u250c","\u2588","\u2584","\u258c","\u2590","\u2580","\u03b1","\xdf","\u0393","\u03c0","\u03a3","\u03c3","\xb5","\u03c4","\u03a6","\u0398","\u03a9","\u03b4","\u221e","\u03c6","\u03b5","\u2229","\u2261","\xb1","\u2265","\u2264","\u2320","\u2321","\xf7","\u2248","\xb0","\u2219","\xb7","\u221a","\u207f","\xb2","\u25a0","\xa0"];$$t.$b.init1.call(this,1,437,"Cp437")},getBytes2:function(a,b,c,d,e){var f=new Array(a.length);for(var g=b;g<b+c;g++){if(this.aj.contains(a[g])){var h=this.aj.indexOf(a[g]);h=h==32?127:h;f[g]=$u(h)}else{f[g]=a[g]}}return $$t.$b.getBytes2.call(this,f,b,c,d,e)},$type:new $.ig.Type("CodePage437Encoding",$$t.$b.$type)},true)});