1/* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16class cl_59 { 17 static var_116: number[] = [(-700)]; 18 static var_159: number = 9; 19 20 static func_42(var_47: number): any { 21 let var_162 = -115; 22 let var_91: number[] = [(-764)]; 23 let var_158: any[][][] = [[[(6), (28), (16), (110), (-80)]], [[(-62), (88), (6), (-98), (-82)], [(-96), (71), (13), (117), (38)]], [[(-11), (-18), (-46), (96), (40)], [(-11), (84), (90), (-46), (62)]], [[(52), (-87), (-128), (117), (-101)], [(116), (-84), (5), (91), (-12)]], [[(-81), (114), (5), (91), (-108)], [(-101), (124), (62), (20), (-88)]], [[(-82), (-45), (76), (89), (23)], [(-116), (-77), (21), (-114), (-94)]]]; 24 if (!(cl_59.var_159 < 75)) { 25 try { 26 let var_103 = 119; 27 try { 28 for (let var_111 = 681; var_111 < 757; var_111 += 19) { 29 var_91[0] = var_47++; 30 } 31 } catch (e) { 32 try { 33 for (let var_113 = 116; var_113 > 108; var_113 -= 4) { 34 var_91[0] = var_103++; 35 } 36 } catch (e) { 37 console.log("hello exception 56 !"); 38 } 39 console.log("hello exception 55 !"); 40 } 41 } catch (e) { 42 if (cl_59.var_116[var_47++]) { 43 // 空块体 44 } 45 console.log("hello exception 57 !"); 46 } 47 } 48 49 return var_158[((-var_162--) & 6)][((cl_59.var_159--) & 4)]; 50 } 51} 52 53class MainClass { 54 var_311: cl_59 = new cl_59(); 55 56 run(): void { 57 for (let var_30 = 316; var_30 > 264; var_30 -= 13) { 58 cl_59.func_42(~(var_30++)); 59 } 60 } 61} 62 63class HtmlTest { 64 mainclass: MainClass = new MainClass(); 65} 66 67function RunTest() { 68 const html1 = new HtmlTest(); 69 html1.mainclass.run(); 70} 71 72RunTest(); 73print(ArkTools.isAOTCompiled(RunTest));