diff --git a/py/test/rsession/webdata/source.js b/py/test/rsession/webdata/source.js index b4f7cd023..fa6e39c51 100644 --- a/py/test/rsession/webdata/source.js +++ b/py/test/rsession/webdata/source.js @@ -386,55 +386,6 @@ function some_strange_function_which_will_never_be_called () { } } -function show_traceback (item_name_1) { - var v28,v29,v30,v31,v32,v33,v34,v35,v36,v37,v38,v39,v40,v41,v42,v43,v44,v45; - var block = 0; - for(;;){ - switch(block){ - case 0: - v29 = ll_dict_getitem__Dict_String__Record_item2__Str_St ( __consts_0.const_tuple,item_name_1 ); - v30 = v29.item0; - v31 = v29.item1; - v32 = v29.item2; - v33 = new StringBuilder(); - v33.ll_append(__consts_0.const_str__2); - v35 = ll_str__StringR_StringConst_String ( undefined,v30 ); - v33.ll_append(v35); - v33.ll_append(__consts_0.const_str__3); - v38 = ll_str__StringR_StringConst_String ( undefined,v31 ); - v33.ll_append(v38); - v33.ll_append(__consts_0.const_str__4); - v41 = ll_str__StringR_StringConst_String ( undefined,v32 ); - v33.ll_append(v41); - v33.ll_append(__consts_0.const_str__5); - v44 = v33.ll_build(); - set_msgbox ( item_name_1,v44 ); - block = 1; - break; - case 1: - return ( v28 ); - } - } -} - -function hide_info () { - var v64,v65,v66,v67,v68; - var block = 0; - for(;;){ - switch(block){ - case 0: - v65 = __consts_0.Document; - v66 = v65.getElementById(__consts_0.const_str__7); - v67 = v66.style; - v67.visibility = __consts_0.const_str__8; - block = 1; - break; - case 1: - return ( v64 ); - } - } -} - function main () { var v14,v15,v16,v17,v18,v19,v20,v21,v22,v23,v24; var block = 0; @@ -448,9 +399,9 @@ function main () { v19 = v18.show_sessid(sessid_comeback); __consts_0.Document.onkeypress = key_pressed; v21 = __consts_0.Document; - v22 = v21.getElementById(__consts_0.const_str__11); + v22 = v21.getElementById(__consts_0.const_str__4); v23 = v22; - v23.setAttribute(__consts_0.const_str__12,__consts_0.const_str__13); + v23.setAttribute(__consts_0.const_str__5,__consts_0.const_str__6); block = 1; break; case 1: @@ -460,34 +411,431 @@ function main () { } function sessid_comeback (id_0) { - var v206,v207,v208,v209; + var v176,v177,v178,v179; var block = 0; for(;;){ switch(block){ case 0: __consts_0.py____test_rsession_webjs_Globals.osessid = id_0; - v208 = __consts_0.ExportedMethods; - v209 = v208.show_all_statuses(id_0,comeback); + v178 = __consts_0.ExportedMethods; + v179 = v178.show_all_statuses(id_0,comeback); block = 1; break; case 1: - return ( v206 ); + return ( v176 ); } } } -function show_skip (item_name_0) { - var v25,v26,v27; +function hide_host () { + var v100,v101,v102,elem_5,v103,v104,v105,v106,v107,v108,v109,elem_6,v110,v111,v112,v113; var block = 0; for(;;){ switch(block){ case 0: - v26 = ll_dict_getitem__Dict_String__String__String ( __consts_0.const_tuple__14,item_name_0 ); - set_msgbox ( item_name_0,v26 ); + v101 = __consts_0.Document; + v102 = v101.getElementById(__consts_0.const_str__7); + elem_5 = v102; block = 1; break; case 1: - return ( v25 ); + v103 = elem_5.childNodes; + v104 = ll_len__List_ExternalType_ ( v103 ); + v105 = !!v104; + if (v105 == true) + { + elem_6 = elem_5; + block = 4; + break; + } + else{ + v106 = elem_5; + block = 2; + break; + } + case 2: + v107 = v106.style; + v107.visibility = __consts_0.const_str__8; + __consts_0.py____test_rsession_webjs_Globals.ohost = __consts_0.const_str__9; + block = 3; + break; + case 3: + return ( v100 ); + case 4: + v110 = elem_6; + v111 = elem_6.childNodes; + v112 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v111,0 ); + v110.removeChild(v112); + elem_5 = elem_6; + block = 1; + break; + } + } +} + +function show_info (data_0) { + var v46,v47,v48,v49,v50,data_1,info_0,v51,v52,v53,info_1,v54,v55,v56,v57,v58,v59,data_2,info_2,v60,v61,v62,v63; + var block = 0; + for(;;){ + switch(block){ + case 0: + v47 = __consts_0.Document; + v48 = v47.getElementById(__consts_0.const_str__10); + v49 = v48.style; + v49.visibility = __consts_0.const_str__11; + data_1 = data_0; + info_0 = v48; + block = 1; + break; + case 1: + v51 = info_0.childNodes; + v52 = ll_len__List_ExternalType_ ( v51 ); + v53 = !!v52; + if (v53 == true) + { + data_2 = data_1; + info_2 = info_0; + block = 4; + break; + } + else{ + info_1 = info_0; + v54 = data_1; + block = 2; + break; + } + case 2: + v55 = create_text_elem ( v54 ); + v56 = info_1; + v56.appendChild(v55); + v58 = info_1.style; + v58.backgroundColor = __consts_0.const_str__12; + block = 3; + break; + case 3: + return ( v46 ); + case 4: + v60 = info_2; + v61 = info_2.childNodes; + v62 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v61,0 ); + v60.removeChild(v62); + data_1 = data_2; + info_0 = info_2; + block = 1; + break; + } + } +} + +function ll_getitem_nonneg__dum_nocheckConst_List_ExternalT (func_0,l_1,index_0) { + var v226,v227,v228,l_2,index_1,v229,v230,v231,v232,index_2,v233,v234,v235; + var block = 0; + for(;;){ + switch(block){ + case 0: + v227 = (index_0>=0); + undefined; + l_2 = l_1; + index_1 = index_0; + block = 1; + break; + case 1: + v229 = l_2; + v230 = v229.length; + v231 = (index_1' ); +} + +inherits(exceptions_Exception,Object); +function exceptions_StandardError () { +} + +exceptions_StandardError.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_StandardError,exceptions_Exception); +function exceptions_LookupError () { +} + +exceptions_LookupError.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_LookupError,exceptions_StandardError); function py____test_rsession_webjs_Globals () { this.odata_empty = false; - this.osessid = __consts_0.const_str__16; - this.ohost = __consts_0.const_str__16; + this.osessid = __consts_0.const_str__9; + this.ohost = __consts_0.const_str__9; this.orsync_dots = 0; this.ofinished = false; - this.ohost_dict = __consts_0.const_tuple__17; + this.ohost_dict = __consts_0.const_tuple__31; this.opending = __consts_0.const_list; this.orsync_done = false; - this.ohost_pending = __consts_0.const_tuple__19; + this.ohost_pending = __consts_0.const_tuple__33; } py____test_rsession_webjs_Globals.prototype.toString = function (){ @@ -540,6 +1089,363 @@ py____test_rsession_webjs_Globals.prototype.toString = function (){ } inherits(py____test_rsession_webjs_Globals,Object); +function ll_len__List_ExternalType_ (l_0) { + var v223,v224,v225; + var block = 0; + for(;;){ + switch(block){ + case 0: + v224 = l_0; + v225 = v224.length; + v223 = v225; + block = 1; + break; + case 1: + return ( v223 ); + } + } +} + +function ll_dict_getitem__Dict_String__List_String___String (d_1,key_4) { + var v281,v282,v283,v284,v285,v286,v287,etype_1,evalue_1,key_5,v288,v289,v290; + var block = 0; + for(;;){ + switch(block){ + case 0: + v282 = d_1; + v283 = (v282[key_4]!=undefined); + v284 = v283; + if (v284 == true) + { + key_5 = key_4; + v288 = d_1; + block = 3; + break; + } + else{ + block = 1; + break; + } + case 1: + v285 = __consts_0.exceptions_KeyError; + v286 = v285.meta; + v287 = v285; + etype_1 = v286; + evalue_1 = v287; + block = 2; + break; + case 2: + throw(evalue_1); + case 3: + v289 = v288; + v290 = v289[key_5]; + v281 = v290; + block = 4; + break; + case 4: + return ( v281 ); + } + } +} + +function create_elem (s_1) { + var v278,v279,v280; + var block = 0; + for(;;){ + switch(block){ + case 0: + v279 = __consts_0.Document; + v280 = v279.createElement(s_1); + v278 = v280; + block = 1; + break; + case 1: + return ( v278 ); + } + } +} + +function ll_newdict__Dict_String__List_String__LlT (DICT_0) { + var v384,v385; + var block = 0; + for(;;){ + switch(block){ + case 0: + v385 = new Object(); + v384 = v385; + block = 1; + break; + case 1: + return ( v384 ); + } + } +} + +function ll_dict_getitem__Dict_String__String__String (d_3,key_6) { + var v340,v341,v342,v343,v344,v345,v346,etype_3,evalue_3,key_7,v347,v348,v349; + var block = 0; + for(;;){ + switch(block){ + case 0: + v341 = d_3; + v342 = (v341[key_6]!=undefined); + v343 = v342; + if (v343 == true) + { + key_7 = key_6; + v347 = d_3; + block = 3; + break; + } + else{ + block = 1; + break; + } + case 1: + v344 = __consts_0.exceptions_KeyError; + v345 = v344.meta; + v346 = v344; + etype_3 = v345; + evalue_3 = v346; + block = 2; + break; + case 2: + throw(evalue_3); + case 3: + v348 = v347; + v349 = v348[key_7]; + v340 = v349; + block = 4; + break; + case 4: + return ( v340 ); + } + } +} + +function show_skip (item_name_0) { + var v25,v26,v27; + var block = 0; + for(;;){ + switch(block){ + case 0: + v26 = ll_dict_getitem__Dict_String__String__String ( __consts_0.const_tuple__34,item_name_0 ); + set_msgbox ( item_name_0,v26 ); + block = 1; + break; + case 1: + return ( v25 ); + } + } +} + +function update_rsync () { + var v350,v351,v352,v353,v354,v355,v356,v357,v358,elem_7,v359,v360,v361,v362,v363,v364,v365,v366,v367,elem_8,v368,v369,v370,v371,v372,v373,v374,v375,v376,v377,v378,text_0,elem_9,v379,v380,v381,v382,v383; + var block = 0; + for(;;){ + switch(block){ + case 0: + v351 = __consts_0.py____test_rsession_webjs_Globals.ofinished; + v352 = v351; + if (v352 == true) + { + block = 4; + break; + } + else{ + block = 1; + break; + } + case 1: + v353 = __consts_0.Document; + v354 = v353.getElementById(__consts_0.const_str__35); + v355 = __consts_0.py____test_rsession_webjs_Globals.orsync_done; + v356 = v355; + v357 = (v356==1); + v358 = v357; + if (v358 == true) + { + v380 = v354; + block = 6; + break; + } + else{ + elem_7 = v354; + block = 2; + break; + } + case 2: + v359 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; + v360 = ll_char_mul__Char_Signed ( '.',v359 ); + v361 = ll_strconcat__String_String ( __consts_0.const_str__36,v360 ); + v362 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; + v363 = (v362+1); + __consts_0.py____test_rsession_webjs_Globals.orsync_dots = v363; + v365 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; + v366 = (v365>5); + v367 = v366; + if (v367 == true) + { + text_0 = v361; + elem_9 = elem_7; + block = 5; + break; + } + else{ + elem_8 = elem_7; + v368 = v361; + block = 3; + break; + } + case 3: + v369 = new StringBuilder(); + v369.ll_append(__consts_0.const_str__37); + v371 = ll_str__StringR_StringConst_String ( undefined,v368 ); + v369.ll_append(v371); + v369.ll_append(__consts_0.const_str__38); + v374 = v369.ll_build(); + v375 = elem_8.childNodes; + v376 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v375,0 ); + v376.nodeValue = v374; + setTimeout ( 'update_rsync()',1000 ); + block = 4; + break; + case 4: + return ( v350 ); + case 5: + __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; + elem_8 = elem_9; + v368 = text_0; + block = 3; + break; + case 6: + v381 = v380.childNodes; + v382 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v381,0 ); + v382.nodeValue = __consts_0.const_str__35; + block = 4; + break; + } + } +} + +function set_msgbox (item_name_2,data_3) { + var v250,v251,item_name_3,data_4,msgbox_0,v252,v253,v254,item_name_4,data_5,msgbox_1,v255,v256,v257,v258,v259,v260,v261,v262,v263,v264,v265,v266,item_name_5,data_6,msgbox_2,v267,v268,v269,v270; + var block = 0; + for(;;){ + switch(block){ + case 0: + v251 = get_elem ( __consts_0.const_str__39 ); + item_name_3 = item_name_2; + data_4 = data_3; + msgbox_0 = v251; + block = 1; + break; + case 1: + v252 = msgbox_0.childNodes; + v253 = ll_len__List_ExternalType_ ( v252 ); + v254 = !!v253; + if (v254 == true) + { + item_name_5 = item_name_3; + data_6 = data_4; + msgbox_2 = msgbox_0; + block = 4; + break; + } + else{ + item_name_4 = item_name_3; + data_5 = data_4; + msgbox_1 = msgbox_0; + block = 2; + break; + } + case 2: + v255 = create_elem ( __consts_0.const_str__40 ); + v256 = ll_strconcat__String_String ( item_name_4,__consts_0.const_str__17 ); + v257 = ll_strconcat__String_String ( v256,data_5 ); + v258 = create_text_elem ( v257 ); + v259 = v255; + v259.appendChild(v258); + v261 = msgbox_1; + v261.appendChild(v255); + v263 = __consts_0.Window.location; + v264 = v263; + v264.assign(__consts_0.const_str__42); + __consts_0.py____test_rsession_webjs_Globals.odata_empty = false; + block = 3; + break; + case 3: + return ( v250 ); + case 4: + v267 = msgbox_2; + v268 = msgbox_2.childNodes; + v269 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v268,0 ); + v267.removeChild(v269); + item_name_3 = item_name_5; + data_4 = data_6; + msgbox_0 = msgbox_2; + block = 1; + break; + } + } +} + +function ll_listnext__Record_index__Signed__iterable (iter_0) { + var v295,v296,v297,v298,v299,v300,v301,iter_1,index_3,l_4,v302,v303,v304,v305,v306,v307,v308,etype_2,evalue_2; + var block = 0; + for(;;){ + switch(block){ + case 0: + v296 = iter_0.iterable; + v297 = iter_0.index; + v298 = v296; + v299 = v298.length; + v300 = (v297>=v299); + v301 = v300; + if (v301 == true) + { + block = 3; + break; + } + else{ + iter_1 = iter_0; + index_3 = v297; + l_4 = v296; + block = 1; + break; + } + case 1: + v302 = (index_3+1); + iter_1.index = v302; + v304 = l_4; + v305 = v304[index_3]; + v295 = v305; + block = 2; + break; + case 2: + return ( v295 ); + case 3: + v306 = __consts_0.exceptions_StopIteration; + v307 = v306.meta; + v308 = v306; + etype_2 = v307; + evalue_2 = v308; + block = 4; + break; + case 4: + throw(evalue_2); + } + } +} + +function exceptions_StopIteration () { +} + +exceptions_StopIteration.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_StopIteration,exceptions_Exception); function hide_messagebox () { var v114,v115,v116,mbox_0,v117,v118,mbox_1,v119,v120,v121,v122; var block = 0; @@ -547,7 +1453,7 @@ function hide_messagebox () { switch(block){ case 0: v115 = __consts_0.Document; - v116 = v115.getElementById(__consts_0.const_str__20); + v116 = v115.getElementById(__consts_0.const_str__39); mbox_0 = v116; block = 1; break; @@ -578,70 +1484,55 @@ function hide_messagebox () { } } -function show_info (data_0) { - var v46,v47,v48,v49,v50,data_1,info_0,v51,v52,v53,info_1,v54,v55,v56,v57,v58,v59,data_2,info_2,v60,v61,v62,v63; +function ll_streq__String_String (s1_0,s2_0) { + var v315,v316,v317,v318,s2_1,v319,v320,v321,v322,v323,v324; var block = 0; for(;;){ switch(block){ case 0: - v47 = __consts_0.Document; - v48 = v47.getElementById(__consts_0.const_str__7); - v49 = v48.style; - v49.visibility = __consts_0.const_str__21; - data_1 = data_0; - info_0 = v48; - block = 1; - break; - case 1: - v51 = info_0.childNodes; - v52 = ll_len__List_ExternalType_ ( v51 ); - v53 = !!v52; - if (v53 == true) + v316 = !!s1_0; + v317 = !v316; + v318 = v317; + if (v318 == true) { - data_2 = data_1; - info_2 = info_0; - block = 4; + v322 = s2_0; + block = 3; break; } else{ - info_1 = info_0; - v54 = data_1; - block = 2; + s2_1 = s2_0; + v319 = s1_0; + block = 1; break; } - case 2: - v55 = create_text_elem ( v54 ); - v56 = info_1; - v56.appendChild(v55); - v58 = info_1.style; - v58.backgroundColor = __consts_0.const_str__22; - block = 3; + case 1: + v320 = v319; + v321 = (v320==s2_1); + v315 = v321; + block = 2; break; + case 2: + return ( v315 ); case 3: - return ( v46 ); - case 4: - v60 = info_2; - v61 = info_2.childNodes; - v62 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v61,0 ); - v60.removeChild(v62); - data_1 = data_2; - info_0 = info_2; - block = 1; + v323 = !!v322; + v324 = !v323; + v315 = v324; + block = 2; break; } } } function comeback (msglist_0) { - var v226,v227,v228,v229,msglist_1,v230,v231,v232,v233,msglist_2,v234,v235,last_exc_value_3,msglist_3,v236,v237,v238,v239,msglist_4,v240,v241,v242,v243,v244,v245,last_exc_value_4,v246,v247,v248,v249,v250,v251,v252; + var v196,v197,v198,v199,msglist_1,v200,v201,v202,v203,msglist_2,v204,v205,last_exc_value_3,msglist_3,v206,v207,v208,v209,msglist_4,v210,v211,v212,v213,v214,v215,last_exc_value_4,v216,v217,v218,v219,v220,v221,v222; var block = 0; for(;;){ switch(block){ case 0: - v227 = ll_len__List_Dict_String__String__ ( msglist_0 ); - v228 = (v227==0); - v229 = v228; - if (v229 == true) + v197 = ll_len__List_Dict_String__String__ ( msglist_0 ); + v198 = (v197==0); + v199 = v198; + if (v199 == true) { block = 4; break; @@ -652,20 +1543,20 @@ function comeback (msglist_0) { break; } case 1: - v230 = __consts_0.py____test_rsession_webjs_Globals.opending; - v231 = 0; - v232 = ll_listslice_startonly__List_Dict_String__String__ ( undefined,v230,v231 ); - v233 = ll_listiter__Record_index__Signed__iterable_List_D ( undefined,v232 ); + v200 = __consts_0.py____test_rsession_webjs_Globals.opending; + v201 = 0; + v202 = ll_listslice_startonly__List_Dict_String__String__ ( undefined,v200,v201 ); + v203 = ll_listiter__Record_index__Signed__iterable_List_D ( undefined,v202 ); msglist_2 = msglist_1; - v234 = v233; + v204 = v203; block = 2; break; case 2: try { - v235 = ll_listnext__Record_index__Signed__iterable ( v234 ); + v205 = ll_listnext__Record_index__Signed__iterable_0 ( v204 ); msglist_3 = msglist_2; - v236 = v234; - v237 = v235; + v206 = v204; + v207 = v205; block = 3; break; } @@ -679,12 +1570,12 @@ function comeback (msglist_0) { throw(exc); } case 3: - v238 = process ( v237 ); - v239 = v238; - if (v239 == true) + v208 = process ( v207 ); + v209 = v208; + if (v209 == true) { msglist_2 = msglist_3; - v234 = v236; + v204 = v206; block = 2; break; } @@ -693,20 +1584,20 @@ function comeback (msglist_0) { break; } case 4: - return ( v226 ); + return ( v196 ); case 5: - v240 = new Array(); - v240.length = 0; - __consts_0.py____test_rsession_webjs_Globals.opending = v240; - v243 = ll_listiter__Record_index__Signed__iterable_List_D ( undefined,msglist_4 ); - v244 = v243; + v210 = new Array(); + v210.length = 0; + __consts_0.py____test_rsession_webjs_Globals.opending = v210; + v213 = ll_listiter__Record_index__Signed__iterable_List_D ( undefined,msglist_4 ); + v214 = v213; block = 6; break; case 6: try { - v245 = ll_listnext__Record_index__Signed__iterable ( v244 ); - v246 = v244; - v247 = v245; + v215 = ll_listnext__Record_index__Signed__iterable_0 ( v214 ); + v216 = v214; + v217 = v215; block = 7; break; } @@ -719,11 +1610,11 @@ function comeback (msglist_0) { throw(exc); } case 7: - v248 = process ( v247 ); - v249 = v248; - if (v249 == true) + v218 = process ( v217 ); + v219 = v218; + if (v219 == true) { - v244 = v246; + v214 = v216; block = 6; break; } @@ -732,184 +1623,289 @@ function comeback (msglist_0) { break; } case 8: - v250 = __consts_0.ExportedMethods; - v251 = __consts_0.py____test_rsession_webjs_Globals.osessid; - v252 = v250.show_all_statuses(v251,comeback); + v220 = __consts_0.ExportedMethods; + v221 = __consts_0.py____test_rsession_webjs_Globals.osessid; + v222 = v220.show_all_statuses(v221,comeback); block = 4; break; } } } -function ll_list_is_true__List_ExternalType_ (l_0) { - var v263,v264,v265,v266,v267,v268,v269; +function ll_dict_kvi__Dict_String__String__List_String_LlT_ (d_2,LIST_0,func_1) { + var v325,v326,v327,v328,v329,v330,i_0,it_0,result_0,v331,v332,v333,i_1,it_1,result_1,v334,v335,v336,v337,it_2,result_2,v338,v339; var block = 0; for(;;){ switch(block){ case 0: - v264 = !!l_0; - v265 = v264; - if (v265 == true) + v326 = d_2; + v327 = get_dict_len ( v326 ); + v328 = ll_newlist__List_String_LlT_Signed ( undefined,v327 ); + v329 = d_2; + v330 = dict_items_iterator ( v329 ); + i_0 = 0; + it_0 = v330; + result_0 = v328; + block = 1; + break; + case 1: + v331 = it_0; + v332 = v331.ll_go_next(); + v333 = v332; + if (v333 == true) { - v266 = l_0; - block = 2; + i_1 = i_0; + it_1 = it_0; + result_1 = result_0; + block = 3; break; } else{ - v263 = v264; + v325 = result_0; + block = 2; + break; + } + case 2: + return ( v325 ); + case 3: + v334 = result_1; + v335 = it_1; + v336 = v335.ll_current_key(); + v334[i_1]=v336; + it_2 = it_1; + result_2 = result_1; + v338 = i_1; + block = 4; + break; + case 4: + v339 = (v338+1); + i_0 = v339; + it_0 = it_2; + result_0 = result_2; + block = 1; + break; + } + } +} + +function exceptions_KeyError () { +} + +exceptions_KeyError.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_KeyError,exceptions_LookupError); +function py____test_rsession_webjs_Options () { + this.oscroll = false; +} + +py____test_rsession_webjs_Options.prototype.toString = function (){ + return ( '' ); +} + +inherits(py____test_rsession_webjs_Options,Object); +function ll_listnext__Record_index__Signed__iterable_0 (iter_2) { + var v429,v430,v431,v432,v433,v434,v435,iter_3,index_4,l_8,v436,v437,v438,v439,v440,v441,v442,etype_4,evalue_4; + var block = 0; + for(;;){ + switch(block){ + case 0: + v430 = iter_2.iterable; + v431 = iter_2.index; + v432 = v430; + v433 = v432.length; + v434 = (v431>=v433); + v435 = v434; + if (v435 == true) + { + block = 3; + break; + } + else{ + iter_3 = iter_2; + index_4 = v431; + l_8 = v430; block = 1; break; } case 1: - return ( v263 ); + v436 = (index_4+1); + iter_3.index = v436; + v438 = l_8; + v439 = v438[index_4]; + v429 = v439; + block = 2; + break; case 2: - v267 = v266; - v268 = v267.length; - v269 = (v268!=0); - v263 = v269; - block = 1; - break; - } - } -} - -function host_init (host_dict_0) { - var v158,v159,v160,v161,v162,v163,host_dict_1,tbody_3,v164,v165,last_exc_value_1,host_dict_2,tbody_4,host_0,v166,v167,v168,v169,v170,v171,v172,v173,v174,v175,v176,v177,v178,v179,v180,v181,v182,v183,v184,v185,v186,v187,v188,v189,v190,v191,v192,host_dict_3,v193,v194,v195,v196,v197,v198,v199,v200,last_exc_value_2,key_2,v201,v202,v203,v204,v205; - var block = 0; - for(;;){ - switch(block){ - case 0: - v159 = __consts_0.Document; - v160 = v159.getElementById(__consts_0.const_str__23); - v161 = host_dict_0; - v162 = ll_dict_kvi__Dict_String__String__List_String_LlT_ ( v161,undefined,undefined ); - v163 = ll_listiter__Record_index__Signed__iterable_List_S ( undefined,v162 ); - host_dict_1 = host_dict_0; - tbody_3 = v160; - v164 = v163; - block = 1; - break; - case 1: - try { - v165 = ll_listnext__Record_index__Signed__iterable_0 ( v164 ); - host_dict_2 = host_dict_1; - tbody_4 = tbody_3; - host_0 = v165; - v166 = v164; - block = 2; - break; - } - catch (exc){ - if (isinstanceof(exc, exceptions_StopIteration)) - { - host_dict_3 = host_dict_1; - block = 3; - break; - } - throw(exc); - } - case 2: - v167 = create_elem ( __consts_0.const_str__24 ); - v168 = tbody_4; - v168.appendChild(v167); - v170 = create_elem ( __consts_0.const_str__25 ); - v171 = v170.style; - v171.background = __consts_0.const_str__26; - v173 = ll_dict_getitem__Dict_String__String__String ( host_dict_2,host_0 ); - v174 = create_text_elem ( v173 ); - v175 = v170; - v175.appendChild(v174); - v170.id = host_0; - v178 = v167; - v178.appendChild(v170); - v180 = v170; - v181 = new StringBuilder(); - v181.ll_append(__consts_0.const_str__27); - v183 = ll_str__StringR_StringConst_String ( undefined,host_0 ); - v181.ll_append(v183); - v181.ll_append(__consts_0.const_str__28); - v186 = v181.ll_build(); - v180.setAttribute(__consts_0.const_str__29,v186); - v188 = v170; - v188.setAttribute(__consts_0.const_str__30,__consts_0.const_str__31); - __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; - __consts_0.py____test_rsession_webjs_Globals.orsync_done = false; - setTimeout ( 'update_rsync()',1000 ); - host_dict_1 = host_dict_2; - tbody_3 = tbody_4; - v164 = v166; - block = 1; - break; + return ( v429 ); case 3: - __consts_0.py____test_rsession_webjs_Globals.ohost_dict = host_dict_3; - v194 = ll_newdict__Dict_String__List_String__LlT ( undefined ); - __consts_0.py____test_rsession_webjs_Globals.ohost_pending = v194; - v196 = host_dict_3; - v197 = ll_dict_kvi__Dict_String__String__List_String_LlT_ ( v196,undefined,undefined ); - v198 = ll_listiter__Record_index__Signed__iterable_List_S ( undefined,v197 ); - v199 = v198; + v440 = __consts_0.exceptions_StopIteration; + v441 = v440.meta; + v442 = v440; + etype_4 = v441; + evalue_4 = v442; block = 4; break; case 4: - try { - v200 = ll_listnext__Record_index__Signed__iterable_0 ( v199 ); - key_2 = v200; - v201 = v199; - block = 5; - break; - } - catch (exc){ - if (isinstanceof(exc, exceptions_StopIteration)) - { - block = 6; - break; - } - throw(exc); - } - case 5: - v202 = new Array(); - v202.length = 0; - v204 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; - v204[key_2]=v202; - v199 = v201; - block = 4; - break; - case 6: - return ( v158 ); + throw(evalue_4); } } } -function ll_listiter__Record_index__Signed__iterable_List_S (ITER_1,lst_1) { - var v531,v532,v533,v534; +function ll_strconcat__String_String (obj_0,arg0_0) { + var v398,v399,v400; var block = 0; for(;;){ switch(block){ case 0: - v532 = new Object(); - v532.iterable = lst_1; - v532.index = 0; - v531 = v532; + v399 = obj_0; + v400 = (v399+arg0_0); + v398 = v400; block = 1; break; case 1: - return ( v531 ); + return ( v398 ); + } + } +} + +function ll_char_mul__Char_Signed (ch_0,times_0) { + var v386,v387,v388,v389,ch_1,times_1,i_2,buf_0,v390,v391,v392,v393,v394,ch_2,times_2,i_3,buf_1,v395,v396,v397; + var block = 0; + for(;;){ + switch(block){ + case 0: + v387 = new StringBuilder(); + v388 = v387; + v388.ll_allocate(times_0); + ch_1 = ch_0; + times_1 = times_0; + i_2 = 0; + buf_0 = v387; + block = 1; + break; + case 1: + v390 = (i_2=v315); - v317 = v316; - if (v317 == true) - { - block = 3; - break; - } - else{ - iter_1 = iter_0; - index_3 = v313; - l_7 = v312; - block = 1; - break; - } - case 1: - v318 = (index_3+1); - iter_1.index = v318; - v320 = l_7; - v321 = v320[index_3]; - v311 = v321; - block = 2; - break; - case 2: - return ( v311 ); - case 3: - v322 = __consts_0.exceptions_StopIteration; - v323 = v322.meta; - v324 = v322; - etype_2 = v323; - evalue_2 = v324; - block = 4; - break; - case 4: - throw(evalue_2); - } - } -} - -function set_msgbox (item_name_2,data_3) { - var v139,v140,item_name_3,data_4,msgbox_0,v141,v142,v143,item_name_4,data_5,msgbox_1,v144,v145,v146,v147,v148,v149,v150,v151,v152,v153,item_name_5,data_6,msgbox_2,v154,v155,v156,v157; - var block = 0; - for(;;){ - switch(block){ - case 0: - v140 = get_elem ( __consts_0.const_str__20 ); - item_name_3 = item_name_2; - data_4 = data_3; - msgbox_0 = v140; - block = 1; - break; - case 1: - v141 = msgbox_0.childNodes; - v142 = ll_len__List_ExternalType_ ( v141 ); - v143 = !!v142; - if (v143 == true) - { - item_name_5 = item_name_3; - data_6 = data_4; - msgbox_2 = msgbox_0; - block = 4; - break; - } - else{ - item_name_4 = item_name_3; - data_5 = data_4; - msgbox_1 = msgbox_0; - block = 2; - break; - } - case 2: - v144 = create_elem ( __consts_0.const_str__70 ); - v145 = ll_strconcat__String_String ( item_name_4,__consts_0.const_str__5 ); - v146 = ll_strconcat__String_String ( v145,data_5 ); - v147 = create_text_elem ( v146 ); - v148 = v144; - v148.appendChild(v147); - v150 = msgbox_1; - v150.appendChild(v144); - __consts_0.Document.location = __consts_0.const_str__71; - __consts_0.py____test_rsession_webjs_Globals.odata_empty = false; - block = 3; - break; - case 3: - return ( v139 ); - case 4: - v154 = msgbox_2; - v155 = msgbox_2.childNodes; - v156 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v155,0 ); - v154.removeChild(v156); - item_name_3 = item_name_5; - data_4 = data_6; - msgbox_0 = msgbox_2; - block = 1; - break; - } - } -} - -function create_elem (s_1) { - var v549,v550,v551; - var block = 0; - for(;;){ - switch(block){ - case 0: - v550 = __consts_0.Document; - v551 = v550.createElement(s_1); - v549 = v551; - block = 1; - break; - case 1: - return ( v549 ); - } - } -} - -function show_crash () { - var v605,v606,v607,v608,v609,v610,v611,v612; +function show_interrupt () { + var v653,v654,v655,v656,v657,v658,v659,v660; var block = 0; for(;;){ switch(block){ case 0: __consts_0.py____test_rsession_webjs_Globals.ofinished = true; - __consts_0.Document.title = __consts_0.const_str__72; - v608 = __consts_0.Document; - v609 = v608.getElementById(__consts_0.const_str__60); - v610 = v609.childNodes; - v611 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v610,0 ); - v611.nodeValue = __consts_0.const_str__73; + __consts_0.Document.title = __consts_0.const_str__75; + v656 = __consts_0.Document; + v657 = v656.getElementById(__consts_0.const_str__35); + v658 = v657.childNodes; + v659 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v658,0 ); + v659.nodeValue = __consts_0.const_str__76; block = 1; break; case 1: - return ( v605 ); - } - } -} - -function exceptions_Exception () { -} - -exceptions_Exception.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_Exception,Object); -function exceptions_StandardError () { -} - -exceptions_StandardError.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_StandardError,exceptions_Exception); -function exceptions_LookupError () { -} - -exceptions_LookupError.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_LookupError,exceptions_StandardError); -function exceptions_KeyError () { -} - -exceptions_KeyError.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_KeyError,exceptions_LookupError); -function ll_dict_getitem__Dict_String__Record_item2__Str_St (d_0,key_0) { - var v128,v129,v130,v131,v132,v133,v134,etype_0,evalue_0,key_1,v135,v136,v137; - var block = 0; - for(;;){ - switch(block){ - case 0: - v129 = d_0; - v130 = (v129[key_0]!=undefined); - v131 = v130; - if (v131 == true) - { - key_1 = key_0; - v135 = d_0; - block = 3; - break; - } - else{ - block = 1; - break; - } - case 1: - v132 = __consts_0.exceptions_KeyError; - v133 = v132.meta; - v134 = v132; - etype_0 = v133; - evalue_0 = v134; - block = 2; - break; - case 2: - throw(evalue_0); - case 3: - v136 = v135; - v137 = v136[key_1]; - v128 = v137; - block = 4; - break; - case 4: - return ( v128 ); - } - } -} - -function ll_len__List_Dict_String__String__ (l_4) { - var v286,v287,v288; - var block = 0; - for(;;){ - switch(block){ - case 0: - v287 = l_4; - v288 = v287.length; - v286 = v288; - block = 1; - break; - case 1: - return ( v286 ); - } - } -} - -function ll_listiter__Record_index__Signed__iterable_List_D (ITER_0,lst_0) { - var v307,v308,v309,v310; - var block = 0; - for(;;){ - switch(block){ - case 0: - v308 = new Object(); - v308.iterable = lst_0; - v308.index = 0; - v307 = v308; - block = 1; - break; - case 1: - return ( v307 ); - } - } -} - -function make_module_box (msg_30) { - var v813,v814,v815,v816,v817,v818,v819,v820,v821,v822,v823,v824,v825,v826,v827,v828,v829,v830,v831,v832,v833,v834,v835,v836,v837,v838,v839,v840,v841,v842,v843,v844,v845,v846,v847,v848,v849,v850,v851,v852,v853,v854,v855,v856,v857,v858,v859,v860,v861,v862,v863,v864,v865,v866,v867,v868,v869,v870,v871,v872; - var block = 0; - for(;;){ - switch(block){ - case 0: - v814 = create_elem ( __consts_0.const_str__24 ); - v815 = create_elem ( __consts_0.const_str__25 ); - v816 = v814; - v816.appendChild(v815); - v818 = v815; - v819 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__74 ); - v820 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__75 ); - v821 = new Object(); - v821.item0 = v819; - v821.item1 = v820; - v824 = v821.item0; - v825 = v821.item1; - v826 = new StringBuilder(); - v827 = ll_str__StringR_StringConst_String ( undefined,v824 ); - v826.ll_append(v827); - v826.ll_append(__consts_0.const_str__76); - v830 = ll_str__StringR_StringConst_String ( undefined,v825 ); - v826.ll_append(v830); - v826.ll_append(__consts_0.const_str__59); - v833 = v826.ll_build(); - v834 = create_text_elem ( v833 ); - v818.appendChild(v834); - v836 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__75 ); - v837 = ll_int__String_Signed ( v836,10 ); - v838 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__45 ); - __consts_0.const_tuple__77[v838]=v837; - v840 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__74 ); - v841 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__45 ); - __consts_0.const_tuple__78[v841]=v840; - v843 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__45 ); - v844 = ll_strconcat__String_String ( __consts_0.const_str__79,v843 ); - v815.id = v844; - v846 = v815; - v847 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__45 ); - v848 = new Object(); - v848.item0 = v847; - v850 = v848.item0; - v851 = new StringBuilder(); - v851.ll_append(__consts_0.const_str__80); - v853 = ll_str__StringR_StringConst_String ( undefined,v850 ); - v851.ll_append(v853); - v851.ll_append(__consts_0.const_str__28); - v856 = v851.ll_build(); - v846.setAttribute(__consts_0.const_str__29,v856); - v858 = v815; - v858.setAttribute(__consts_0.const_str__30,__consts_0.const_str__81); - v860 = create_elem ( __consts_0.const_str__25 ); - v861 = v814; - v861.appendChild(v860); - v863 = create_elem ( __consts_0.const_str__82 ); - v864 = v860; - v864.appendChild(v863); - v866 = create_elem ( __consts_0.const_str__83 ); - v867 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__45 ); - v866.id = v867; - v869 = v863; - v869.appendChild(v866); - v871 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__45 ); - __consts_0.const_tuple__84[v871]=0; - v813 = v814; - block = 1; - break; - case 1: - return ( v813 ); - } - } -} - -function hide_host () { - var v100,v101,v102,elem_5,v103,v104,v105,v106,v107,v108,v109,elem_6,v110,v111,v112,v113; - var block = 0; - for(;;){ - switch(block){ - case 0: - v101 = __consts_0.Document; - v102 = v101.getElementById(__consts_0.const_str__85); - elem_5 = v102; - block = 1; - break; - case 1: - v103 = elem_5.childNodes; - v104 = ll_len__List_ExternalType_ ( v103 ); - v105 = !!v104; - if (v105 == true) - { - elem_6 = elem_5; - block = 4; - break; - } - else{ - v106 = elem_5; - block = 2; - break; - } - case 2: - v107 = v106.style; - v107.visibility = __consts_0.const_str__8; - __consts_0.py____test_rsession_webjs_Globals.ohost = __consts_0.const_str__16; - block = 3; - break; - case 3: - return ( v100 ); - case 4: - v110 = elem_6; - v111 = elem_6.childNodes; - v112 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v111,0 ); - v110.removeChild(v112); - elem_5 = elem_6; - block = 1; - break; - } - } -} - -function ll_dict_getitem__Dict_String__String__String (d_1,key_4) { - var v253,v254,v255,v256,v257,v258,v259,etype_1,evalue_1,key_5,v260,v261,v262; - var block = 0; - for(;;){ - switch(block){ - case 0: - v254 = d_1; - v255 = (v254[key_4]!=undefined); - v256 = v255; - if (v256 == true) - { - key_5 = key_4; - v260 = d_1; - block = 3; - break; - } - else{ - block = 1; - break; - } - case 1: - v257 = __consts_0.exceptions_KeyError; - v258 = v257.meta; - v259 = v257; - etype_1 = v258; - evalue_1 = v259; - block = 2; - break; - case 2: - throw(evalue_1); - case 3: - v261 = v260; - v262 = v261[key_5]; - v253 = v262; - block = 4; - break; - case 4: - return ( v253 ); + return ( v653 ); } } } function ll_prepend__List_String__String (l_10,newitem_1) { - var v792,v793,v794,v795,v796,v797,l_11,newitem_2,dst_0,v798,v799,newitem_3,v800,v801,v802,l_12,newitem_4,dst_1,v803,v804,v805,v806,v807; + var v819,v820,v821,v822,v823,v824,l_11,newitem_2,dst_0,v825,v826,newitem_3,v827,v828,v829,l_12,newitem_4,dst_1,v830,v831,v832,v833,v834; var block = 0; for(;;){ switch(block){ case 0: - v793 = l_10; - v794 = v793.length; - v795 = l_10; - v796 = (v794+1); - v795.length = v796; + v820 = l_10; + v821 = v820.length; + v822 = l_10; + v823 = (v821+1); + v822.length = v823; l_11 = l_10; newitem_2 = newitem_1; - dst_0 = v794; + dst_0 = v821; block = 1; break; case 1: - v798 = (dst_0>0); - v799 = v798; - if (v799 == true) + v825 = (dst_0>0); + v826 = v825; + if (v826 == true) { l_12 = l_11; newitem_4 = newitem_2; @@ -1924,631 +2428,116 @@ function ll_prepend__List_String__String (l_10,newitem_1) { } else{ newitem_3 = newitem_2; - v800 = l_11; + v827 = l_11; block = 2; break; } case 2: - v801 = v800; - v801[0]=newitem_3; + v828 = v827; + v828[0]=newitem_3; block = 3; break; case 3: - return ( v792 ); + return ( v819 ); case 4: - v803 = (dst_1-1); - v804 = l_12; - v805 = l_12; - v806 = v805[v803]; - v804[dst_1]=v806; + v830 = (dst_1-1); + v831 = l_12; + v832 = l_12; + v833 = v832[v830]; + v831[dst_1]=v833; l_11 = l_12; newitem_2 = newitem_4; - dst_0 = v803; + dst_0 = v830; block = 1; break; } } } -function ll_append__List_Dict_String__String___Dict_String_ (l_9,newitem_0) { - var v624,v625,v626,v627,v628,v629,v630,v631; +function make_module_box (msg_30) { + var v840,v841,v842,v843,v844,v845,v846,v847,v848,v849,v850,v851,v852,v853,v854,v855,v856,v857,v858,v859,v860,v861,v862,v863,v864,v865,v866,v867,v868,v869,v870,v871,v872,v873,v874,v875,v876,v877,v878,v879,v880,v881,v882,v883,v884,v885,v886,v887,v888,v889,v890,v891,v892,v893,v894,v895,v896,v897,v898,v899; var block = 0; for(;;){ switch(block){ case 0: - v625 = l_9; - v626 = v625.length; - v627 = l_9; - v628 = (v626+1); - v627.length = v628; - v630 = l_9; - v630[v626]=newitem_0; + v841 = create_elem ( __consts_0.const_str__19 ); + v842 = create_elem ( __consts_0.const_str__20 ); + v843 = v841; + v843.appendChild(v842); + v845 = v842; + v846 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__77 ); + v847 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__78 ); + v848 = new Object(); + v848.item0 = v846; + v848.item1 = v847; + v851 = v848.item0; + v852 = v848.item1; + v853 = new StringBuilder(); + v854 = ll_str__StringR_StringConst_String ( undefined,v851 ); + v853.ll_append(v854); + v853.ll_append(__consts_0.const_str__79); + v857 = ll_str__StringR_StringConst_String ( undefined,v852 ); + v853.ll_append(v857); + v853.ll_append(__consts_0.const_str__38); + v860 = v853.ll_build(); + v861 = create_text_elem ( v860 ); + v845.appendChild(v861); + v863 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__78 ); + v864 = ll_int__String_Signed ( v863,10 ); + v865 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__57 ); + __consts_0.const_tuple__80[v865]=v864; + v867 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__77 ); + v868 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__57 ); + __consts_0.const_tuple__81[v868]=v867; + v870 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__57 ); + v871 = ll_strconcat__String_String ( __consts_0.const_str__82,v870 ); + v842.id = v871; + v873 = v842; + v874 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__57 ); + v875 = new Object(); + v875.item0 = v874; + v877 = v875.item0; + v878 = new StringBuilder(); + v878.ll_append(__consts_0.const_str__83); + v880 = ll_str__StringR_StringConst_String ( undefined,v877 ); + v878.ll_append(v880); + v878.ll_append(__consts_0.const_str__27); + v883 = v878.ll_build(); + v873.setAttribute(__consts_0.const_str__28,v883); + v885 = v842; + v885.setAttribute(__consts_0.const_str__29,__consts_0.const_str__84); + v887 = create_elem ( __consts_0.const_str__20 ); + v888 = v841; + v888.appendChild(v887); + v890 = create_elem ( __consts_0.const_str__85 ); + v891 = v887; + v891.appendChild(v890); + v893 = create_elem ( __consts_0.const_str__18 ); + v894 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__57 ); + v893.id = v894; + v896 = v890; + v896.appendChild(v893); + v898 = ll_dict_getitem__Dict_String__String__String ( msg_30,__consts_0.const_str__57 ); + __consts_0.const_tuple__86[v898]=0; + v840 = v841; block = 1; break; case 1: - return ( v624 ); - } - } -} - -function ll_dict_kvi__Dict_String__String__List_String_LlT_ (d_2,LIST_0,func_1) { - var v516,v517,v518,v519,v520,v521,i_2,it_0,result_0,v522,v523,v524,i_3,it_1,result_1,v525,v526,v527,v528,it_2,result_2,v529,v530; - var block = 0; - for(;;){ - switch(block){ - case 0: - v517 = d_2; - v518 = get_dict_len ( v517 ); - v519 = ll_newlist__List_String_LlT_Signed ( undefined,v518 ); - v520 = d_2; - v521 = dict_items_iterator ( v520 ); - i_2 = 0; - it_0 = v521; - result_0 = v519; - block = 1; - break; - case 1: - v522 = it_0; - v523 = v522.ll_go_next(); - v524 = v523; - if (v524 == true) - { - i_3 = i_2; - it_1 = it_0; - result_1 = result_0; - block = 3; - break; - } - else{ - v516 = result_0; - block = 2; - break; - } - case 2: - return ( v516 ); - case 3: - v525 = result_1; - v526 = it_1; - v527 = v526.ll_current_key(); - v525[i_3]=v527; - it_2 = it_1; - result_2 = result_1; - v529 = i_3; - block = 4; - break; - case 4: - v530 = (v529+1); - i_2 = v530; - it_0 = it_2; - result_0 = result_2; - block = 1; - break; - } - } -} - -function ll_listslice_startonly__List_Dict_String__String__ (RESLIST_0,l1_0,start_0) { - var v289,v290,v291,v292,v293,v294,v295,v296,v297,v298,l1_1,i_0,j_0,l_5,len1_0,v299,v300,l1_2,i_1,j_1,l_6,len1_1,v301,v302,v303,v304,v305,v306; - var block = 0; - for(;;){ - switch(block){ - case 0: - v290 = l1_0; - v291 = v290.length; - v292 = (start_0>=0); - undefined; - v294 = (start_0<=v291); - undefined; - v296 = (v291-start_0); - undefined; - v298 = ll_newlist__List_Dict_String__String__LlT_Signed ( undefined,v296 ); - l1_1 = l1_0; - i_0 = start_0; - j_0 = 0; - l_5 = v298; - len1_0 = v291; - block = 1; - break; - case 1: - v299 = (i_0=0); - undefined; - l_2 = l_1; - index_1 = index_0; - block = 1; - break; - case 1: - v273 = l_2; - v274 = v273.length; - v275 = (index_1' ); -} - -inherits(py____test_rsession_webjs_Options,Object); -function ll_listnext__Record_index__Signed__iterable_0 (iter_2) { - var v535,v536,v537,v538,v539,v540,v541,iter_3,index_4,l_8,v542,v543,v544,v545,v546,v547,v548,etype_3,evalue_3; - var block = 0; - for(;;){ - switch(block){ - case 0: - v536 = iter_2.iterable; - v537 = iter_2.index; - v538 = v536; - v539 = v538.length; - v540 = (v537>=v539); - v541 = v540; - if (v541 == true) - { - block = 3; - break; - } - else{ - iter_3 = iter_2; - index_4 = v537; - l_8 = v536; - block = 1; - break; - } - case 1: - v542 = (index_4+1); - iter_3.index = v542; - v544 = l_8; - v545 = v544[index_4]; - v535 = v545; - block = 2; - break; - case 2: - return ( v535 ); - case 3: - v546 = __consts_0.exceptions_StopIteration; - v547 = v546.meta; - v548 = v546; - etype_3 = v547; - evalue_3 = v548; - block = 4; - break; - case 4: - throw(evalue_3); - } - } -} - -function exceptions_StopIteration () { -} - -exceptions_StopIteration.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_StopIteration,exceptions_Exception); -function ll_newlist__List_Dict_String__String__LlT_Signed (self_1,length_1) { - var v968,v969; - var block = 0; - for(;;){ - switch(block){ - case 0: - v969 = ll_newlist__List_Dict_String__String__LlT_Signed_0 ( undefined,length_1 ); - v968 = v969; - block = 1; - break; - case 1: - return ( v968 ); - } - } -} - -function update_rsync () { - var v552,v553,v554,v555,v556,v557,v558,v559,v560,elem_7,v561,v562,v563,v564,v565,v566,v567,v568,v569,elem_8,v570,v571,v572,v573,v574,v575,v576,v577,v578,v579,v580,text_0,elem_9,v581,v582,v583,v584,v585; - var block = 0; - for(;;){ - switch(block){ - case 0: - v553 = __consts_0.py____test_rsession_webjs_Globals.ofinished; - v554 = v553; - if (v554 == true) - { - block = 4; - break; - } - else{ - block = 1; - break; - } - case 1: - v555 = __consts_0.Document; - v556 = v555.getElementById(__consts_0.const_str__60); - v557 = __consts_0.py____test_rsession_webjs_Globals.orsync_done; - v558 = v557; - v559 = (v558==1); - v560 = v559; - if (v560 == true) - { - v582 = v556; - block = 6; - break; - } - else{ - elem_7 = v556; - block = 2; - break; - } - case 2: - v561 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; - v562 = ll_char_mul__Char_Signed ( '.',v561 ); - v563 = ll_strconcat__String_String ( __consts_0.const_str__87,v562 ); - v564 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; - v565 = (v564+1); - __consts_0.py____test_rsession_webjs_Globals.orsync_dots = v565; - v567 = __consts_0.py____test_rsession_webjs_Globals.orsync_dots; - v568 = (v567>5); - v569 = v568; - if (v569 == true) - { - text_0 = v563; - elem_9 = elem_7; - block = 5; - break; - } - else{ - elem_8 = elem_7; - v570 = v563; - block = 3; - break; - } - case 3: - v571 = new StringBuilder(); - v571.ll_append(__consts_0.const_str__58); - v573 = ll_str__StringR_StringConst_String ( undefined,v570 ); - v571.ll_append(v573); - v571.ll_append(__consts_0.const_str__59); - v576 = v571.ll_build(); - v577 = elem_8.childNodes; - v578 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v577,0 ); - v578.nodeValue = v576; - setTimeout ( 'update_rsync()',1000 ); - block = 4; - break; - case 4: - return ( v552 ); - case 5: - __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; - elem_8 = elem_9; - v570 = text_0; - block = 3; - break; - case 6: - v583 = v582.childNodes; - v584 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v583,0 ); - v584.nodeValue = __consts_0.const_str__60; - block = 4; - break; - } - } -} - -function ll_newdict__Dict_String__List_String__LlT (DICT_0) { - var v586,v587; - var block = 0; - for(;;){ - switch(block){ - case 0: - v587 = new Object(); - v586 = v587; - block = 1; - break; - case 1: - return ( v586 ); - } - } -} - -function ll_streq__String_String (s1_0,s2_0) { - var v588,v589,v590,v591,s2_1,v592,v593,v594,v595,v596,v597; - var block = 0; - for(;;){ - switch(block){ - case 0: - v589 = !!s1_0; - v590 = !v589; - v591 = v590; - if (v591 == true) - { - v595 = s2_0; - block = 3; - break; - } - else{ - s2_1 = s2_0; - v592 = s1_0; - block = 1; - break; - } - case 1: - v593 = v592; - v594 = (v593==s2_1); - v588 = v594; - block = 2; - break; - case 2: - return ( v588 ); - case 3: - v596 = !!v595; - v597 = !v596; - v588 = v597; - block = 2; - break; + return ( v840 ); } } } function add_received_item_outcome (msg_20,module_part_2) { - var v632,v633,v634,v635,msg_21,module_part_3,v636,v637,v638,v639,v640,v641,v642,v643,v644,v645,v646,v647,v648,v649,v650,v651,v652,v653,v654,msg_22,module_part_4,item_name_6,td_0,v655,v656,v657,v658,msg_23,module_part_5,item_name_7,td_1,v659,v660,v661,v662,v663,v664,v665,v666,v667,v668,v669,v670,v671,v672,v673,v674,v675,v676,v677,v678,v679,v680,msg_24,module_part_6,td_2,v681,v682,v683,v684,v685,module_part_7,td_3,v686,v687,v688,v689,v690,v691,v692,v693,v694,v695,v696,v697,v698,v699,v700,v701,v702,v703,v704,v705,v706,v707,v708,v709,v710,v711,v712,v713,v714,v715,v716,v717,v718,v719,v720,msg_25,module_part_8,td_4,v721,v722,v723,msg_26,module_part_9,item_name_8,td_5,v724,v725,v726,v727,msg_27,module_part_10,item_name_9,td_6,v728,v729,v730,v731,v732,v733,v734,v735,v736,v737,v738,v739,v740,v741,v742,v743,v744,v745,v746,v747,msg_28,module_part_11,td_7,v748,v749,v750,msg_29,module_part_12,v751,v752,v753,v754,v755,v756,v757,v758,v759,v760,v761,v762,v763,v764,v765,v766,v767,v768,v769,v770,v771,v772,v773,v774,v775,v776,v777,v778,v779,v780,v781; + var v669,v670,v671,v672,msg_21,module_part_3,v673,v674,v675,v676,v677,v678,v679,v680,v681,v682,v683,v684,v685,v686,v687,v688,v689,v690,v691,msg_22,module_part_4,item_name_6,td_0,v692,v693,v694,v695,msg_23,module_part_5,item_name_7,td_1,v696,v697,v698,v699,v700,v701,v702,v703,v704,v705,v706,v707,v708,v709,v710,v711,v712,v713,v714,v715,v716,v717,msg_24,module_part_6,td_2,v718,v719,v720,v721,v722,module_part_7,td_3,v723,v724,v725,v726,v727,v728,v729,v730,v731,v732,v733,v734,v735,v736,v737,v738,v739,v740,v741,v742,v743,v744,v745,v746,v747,v748,v749,v750,v751,v752,v753,v754,v755,v756,v757,msg_25,module_part_8,td_4,v758,v759,v760,msg_26,module_part_9,item_name_8,td_5,v761,v762,v763,v764,msg_27,module_part_10,item_name_9,td_6,v765,v766,v767,v768,v769,v770,v771,v772,v773,v774,v775,v776,v777,v778,v779,v780,v781,v782,v783,v784,msg_28,module_part_11,td_7,v785,v786,v787,msg_29,module_part_12,v788,v789,v790,v791,v792,v793,v794,v795,v796,v797,v798,v799,v800,v801,v802,v803,v804,v805,v806,v807,v808,v809,v810,v811,v812,v813,v814,v815,v816,v817,v818; var block = 0; for(;;){ switch(block){ case 0: - v633 = ll_dict_getitem__Dict_String__String__String ( msg_20,__consts_0.const_str__62 ); - v634 = ll_strlen__String ( v633 ); - v635 = !!v634; - if (v635 == true) + v670 = ll_dict_getitem__Dict_String__String__String ( msg_20,__consts_0.const_str__71 ); + v671 = ll_strlen__String ( v670 ); + v672 = !!v671; + if (v672 == true) { msg_29 = msg_20; module_part_12 = module_part_2; @@ -2562,47 +2551,47 @@ function add_received_item_outcome (msg_20,module_part_2) { break; } case 1: - v636 = create_elem ( __consts_0.const_str__25 ); - v637 = v636; - v638 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__45 ); - v639 = new Object(); - v639.item0 = v638; - v641 = v639.item0; - v642 = new StringBuilder(); - v642.ll_append(__consts_0.const_str__80); - v644 = ll_str__StringR_StringConst_String ( undefined,v641 ); - v642.ll_append(v644); - v642.ll_append(__consts_0.const_str__28); - v647 = v642.ll_build(); - v637.setAttribute(__consts_0.const_str__29,v647); - v649 = v636; - v649.setAttribute(__consts_0.const_str__30,__consts_0.const_str__81); - v651 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__45 ); - v652 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__88 ); - v653 = ll_streq__String_String ( v652,__consts_0.const_str__13 ); - v654 = v653; - if (v654 == true) + v673 = create_elem ( __consts_0.const_str__20 ); + v674 = v673; + v675 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__57 ); + v676 = new Object(); + v676.item0 = v675; + v678 = v676.item0; + v679 = new StringBuilder(); + v679.ll_append(__consts_0.const_str__83); + v681 = ll_str__StringR_StringConst_String ( undefined,v678 ); + v679.ll_append(v681); + v679.ll_append(__consts_0.const_str__27); + v684 = v679.ll_build(); + v674.setAttribute(__consts_0.const_str__28,v684); + v686 = v673; + v686.setAttribute(__consts_0.const_str__29,__consts_0.const_str__84); + v688 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__57 ); + v689 = ll_dict_getitem__Dict_String__String__String ( msg_21,__consts_0.const_str__87 ); + v690 = ll_streq__String_String ( v689,__consts_0.const_str__6 ); + v691 = v690; + if (v691 == true) { msg_28 = msg_21; module_part_11 = module_part_3; - td_7 = v636; + td_7 = v673; block = 10; break; } else{ msg_22 = msg_21; module_part_4 = module_part_3; - item_name_6 = v651; - td_0 = v636; + item_name_6 = v688; + td_0 = v673; block = 2; break; } case 2: - v655 = ll_dict_getitem__Dict_String__String__String ( msg_22,__consts_0.const_str__89 ); - v656 = ll_streq__String_String ( v655,__consts_0.const_str__90 ); - v657 = !v656; - v658 = v657; - if (v658 == true) + v692 = ll_dict_getitem__Dict_String__String__String ( msg_22,__consts_0.const_str__88 ); + v693 = ll_streq__String_String ( v692,__consts_0.const_str__89 ); + v694 = !v693; + v695 = v694; + if (v695 == true) { msg_26 = msg_22; module_part_9 = module_part_4; @@ -2620,40 +2609,40 @@ function add_received_item_outcome (msg_20,module_part_2) { break; } case 3: - v659 = create_elem ( __consts_0.const_str__91 ); - v660 = v659; - v661 = ll_dict_getitem__Dict_String__String__String ( msg_23,__consts_0.const_str__45 ); - v662 = new Object(); - v662.item0 = v661; - v664 = v662.item0; - v665 = new StringBuilder(); - v665.ll_append(__consts_0.const_str__92); - v667 = ll_str__StringR_StringConst_String ( undefined,v664 ); - v665.ll_append(v667); - v665.ll_append(__consts_0.const_str__28); - v670 = v665.ll_build(); - v660.setAttribute(__consts_0.const_str__93,v670); - v672 = create_text_elem ( __consts_0.const_str__94 ); - v673 = v659; - v673.setAttribute(__consts_0.const_str__95,__consts_0.const_str__96); - v675 = v659; - v675.appendChild(v672); - v677 = td_1; - v677.appendChild(v659); - v679 = __consts_0.ExportedMethods; - v680 = v679.show_fail(item_name_7,fail_come_back); + v696 = create_elem ( __consts_0.const_str__90 ); + v697 = v696; + v698 = ll_dict_getitem__Dict_String__String__String ( msg_23,__consts_0.const_str__57 ); + v699 = new Object(); + v699.item0 = v698; + v701 = v699.item0; + v702 = new StringBuilder(); + v702.ll_append(__consts_0.const_str__91); + v704 = ll_str__StringR_StringConst_String ( undefined,v701 ); + v702.ll_append(v704); + v702.ll_append(__consts_0.const_str__27); + v707 = v702.ll_build(); + v697.setAttribute(__consts_0.const_str__92,v707); + v709 = create_text_elem ( __consts_0.const_str__93 ); + v710 = v696; + v710.setAttribute(__consts_0.const_str__94,__consts_0.const_str__95); + v712 = v696; + v712.appendChild(v709); + v714 = td_1; + v714.appendChild(v696); + v716 = __consts_0.ExportedMethods; + v717 = v716.show_fail(item_name_7,fail_come_back); msg_24 = msg_23; module_part_6 = module_part_5; td_2 = td_1; block = 4; break; case 4: - v681 = ll_dict_getitem__Dict_String__String__String ( msg_24,__consts_0.const_str__61 ); - v682 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__84,v681 ); - v683 = (v682%50); - v684 = (v683==0); - v685 = v684; - if (v685 == true) + v718 = ll_dict_getitem__Dict_String__String__String ( msg_24,__consts_0.const_str__70 ); + v719 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__86,v718 ); + v720 = (v719%50); + v721 = (v720==0); + v722 = v721; + if (v722 == true) { msg_25 = msg_24; module_part_8 = module_part_6; @@ -2664,64 +2653,64 @@ function add_received_item_outcome (msg_20,module_part_2) { else{ module_part_7 = module_part_6; td_3 = td_2; - v686 = msg_24; + v723 = msg_24; block = 5; break; } case 5: - v687 = ll_dict_getitem__Dict_String__String__String ( v686,__consts_0.const_str__61 ); - v688 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__84,v687 ); - v689 = (v688+1); - __consts_0.const_tuple__84[v687]=v689; - v691 = ll_strconcat__String_String ( __consts_0.const_str__79,v687 ); - v692 = get_elem ( v691 ); - v693 = ll_dict_getitem__Dict_String__String__String ( __consts_0.const_tuple__78,v687 ); - v694 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__84,v687 ); - v695 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__77,v687 ); - v696 = new Object(); - v696.item0 = v693; - v696.item1 = v694; - v696.item2 = v695; - v700 = v696.item0; - v701 = v696.item1; - v702 = v696.item2; - v703 = new StringBuilder(); - v704 = ll_str__StringR_StringConst_String ( undefined,v700 ); - v703.ll_append(v704); - v703.ll_append(__consts_0.const_str__65); - v707 = v701.toString(); - v703.ll_append(v707); - v703.ll_append(__consts_0.const_str__97); - v710 = v702.toString(); - v703.ll_append(v710); - v703.ll_append(__consts_0.const_str__59); - v713 = v703.ll_build(); - v714 = v692.childNodes; - v715 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v714,0 ); - v715.nodeValue = v713; - v717 = module_part_7.childNodes; - v718 = ll_getitem__dum_nocheckConst_List_ExternalType__Si ( undefined,v717,-1 ); - v719 = v718; - v719.appendChild(td_3); + v724 = ll_dict_getitem__Dict_String__String__String ( v723,__consts_0.const_str__70 ); + v725 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__86,v724 ); + v726 = (v725+1); + __consts_0.const_tuple__86[v724]=v726; + v728 = ll_strconcat__String_String ( __consts_0.const_str__82,v724 ); + v729 = get_elem ( v728 ); + v730 = ll_dict_getitem__Dict_String__String__String ( __consts_0.const_tuple__81,v724 ); + v731 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__86,v724 ); + v732 = ll_dict_getitem__Dict_String__Signed__String ( __consts_0.const_tuple__80,v724 ); + v733 = new Object(); + v733.item0 = v730; + v733.item1 = v731; + v733.item2 = v732; + v737 = v733.item0; + v738 = v733.item1; + v739 = v733.item2; + v740 = new StringBuilder(); + v741 = ll_str__StringR_StringConst_String ( undefined,v737 ); + v740.ll_append(v741); + v740.ll_append(__consts_0.const_str__74); + v744 = v738.toString(); + v740.ll_append(v744); + v740.ll_append(__consts_0.const_str__96); + v747 = v739.toString(); + v740.ll_append(v747); + v740.ll_append(__consts_0.const_str__38); + v750 = v740.ll_build(); + v751 = v729.childNodes; + v752 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v751,0 ); + v752.nodeValue = v750; + v754 = module_part_7.childNodes; + v755 = ll_getitem__dum_nocheckConst_List_ExternalType__Si ( undefined,v754,-1 ); + v756 = v755; + v756.appendChild(td_3); block = 6; break; case 6: - return ( v632 ); + return ( v669 ); case 7: - v721 = create_elem ( __consts_0.const_str__24 ); - v722 = module_part_8; - v722.appendChild(v721); + v758 = create_elem ( __consts_0.const_str__19 ); + v759 = module_part_8; + v759.appendChild(v758); module_part_7 = module_part_8; td_3 = td_4; - v686 = msg_25; + v723 = msg_25; block = 5; break; case 8: - v724 = ll_dict_getitem__Dict_String__String__String ( msg_26,__consts_0.const_str__89 ); - v725 = ll_streq__String_String ( v724,__consts_0.const_str__98 ); - v726 = !v725; - v727 = v726; - if (v727 == true) + v761 = ll_dict_getitem__Dict_String__String__String ( msg_26,__consts_0.const_str__88 ); + v762 = ll_streq__String_String ( v761,__consts_0.const_str__97 ); + v763 = !v762; + v764 = v763; + if (v764 == true) { msg_27 = msg_26; module_part_10 = module_part_9; @@ -2739,72 +2728,72 @@ function add_received_item_outcome (msg_20,module_part_2) { break; } case 9: - v728 = __consts_0.ExportedMethods; - v729 = v728.show_skip(item_name_9,skip_come_back); - v730 = create_elem ( __consts_0.const_str__91 ); - v731 = v730; - v732 = ll_dict_getitem__Dict_String__String__String ( msg_27,__consts_0.const_str__45 ); - v733 = new Object(); - v733.item0 = v732; - v735 = v733.item0; - v736 = new StringBuilder(); - v736.ll_append(__consts_0.const_str__99); - v738 = ll_str__StringR_StringConst_String ( undefined,v735 ); - v736.ll_append(v738); - v736.ll_append(__consts_0.const_str__28); - v741 = v736.ll_build(); - v731.setAttribute(__consts_0.const_str__93,v741); - v743 = create_text_elem ( __consts_0.const_str__100 ); - v744 = v730; - v744.appendChild(v743); - v746 = td_6; - v746.appendChild(v730); + v765 = __consts_0.ExportedMethods; + v766 = v765.show_skip(item_name_9,skip_come_back); + v767 = create_elem ( __consts_0.const_str__90 ); + v768 = v767; + v769 = ll_dict_getitem__Dict_String__String__String ( msg_27,__consts_0.const_str__57 ); + v770 = new Object(); + v770.item0 = v769; + v772 = v770.item0; + v773 = new StringBuilder(); + v773.ll_append(__consts_0.const_str__98); + v775 = ll_str__StringR_StringConst_String ( undefined,v772 ); + v773.ll_append(v775); + v773.ll_append(__consts_0.const_str__27); + v778 = v773.ll_build(); + v768.setAttribute(__consts_0.const_str__92,v778); + v780 = create_text_elem ( __consts_0.const_str__99 ); + v781 = v767; + v781.appendChild(v780); + v783 = td_6; + v783.appendChild(v767); msg_24 = msg_27; module_part_6 = module_part_10; td_2 = td_6; block = 4; break; case 10: - v748 = create_text_elem ( __consts_0.const_str__101 ); - v749 = td_7; - v749.appendChild(v748); + v785 = create_text_elem ( __consts_0.const_str__100 ); + v786 = td_7; + v786.appendChild(v785); msg_24 = msg_28; module_part_6 = module_part_11; td_2 = td_7; block = 4; break; case 11: - v751 = __consts_0.Document; - v752 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__62 ); - v753 = v751.getElementById(v752); - v754 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; - v755 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__62 ); - v756 = ll_dict_getitem__Dict_String__List_String___String ( v754,v755 ); - v757 = v756; - v758 = ll_pop_default__dum_nocheckConst_List_String_ ( undefined,v757 ); - v759 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; - v760 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__62 ); - v761 = ll_dict_getitem__Dict_String__List_String___String ( v759,v760 ); - v762 = ll_len__List_String_ ( v761 ); - v763 = __consts_0.py____test_rsession_webjs_Globals.ohost_dict; - v764 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__62 ); - v765 = ll_dict_getitem__Dict_String__String__String ( v763,v764 ); - v766 = new Object(); - v766.item0 = v765; - v766.item1 = v762; - v769 = v766.item0; - v770 = v766.item1; - v771 = new StringBuilder(); - v772 = ll_str__StringR_StringConst_String ( undefined,v769 ); - v771.ll_append(v772); - v771.ll_append(__consts_0.const_str__65); - v775 = ll_int_str__IntegerR_SignedConst_Signed ( undefined,v770 ); - v771.ll_append(v775); - v771.ll_append(__consts_0.const_str__59); - v778 = v771.ll_build(); - v779 = v753.childNodes; - v780 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v779,0 ); - v780.nodeValue = v778; + v788 = __consts_0.Document; + v789 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__71 ); + v790 = v788.getElementById(v789); + v791 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; + v792 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__71 ); + v793 = ll_dict_getitem__Dict_String__List_String___String ( v791,v792 ); + v794 = v793; + v795 = ll_pop_default__dum_nocheckConst_List_String_ ( undefined,v794 ); + v796 = __consts_0.py____test_rsession_webjs_Globals.ohost_pending; + v797 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__71 ); + v798 = ll_dict_getitem__Dict_String__List_String___String ( v796,v797 ); + v799 = ll_len__List_String_ ( v798 ); + v800 = __consts_0.py____test_rsession_webjs_Globals.ohost_dict; + v801 = ll_dict_getitem__Dict_String__String__String ( msg_29,__consts_0.const_str__71 ); + v802 = ll_dict_getitem__Dict_String__String__String ( v800,v801 ); + v803 = new Object(); + v803.item0 = v802; + v803.item1 = v799; + v806 = v803.item0; + v807 = v803.item1; + v808 = new StringBuilder(); + v809 = ll_str__StringR_StringConst_String ( undefined,v806 ); + v808.ll_append(v809); + v808.ll_append(__consts_0.const_str__74); + v812 = ll_int_str__IntegerR_SignedConst_Signed ( undefined,v807 ); + v808.ll_append(v812); + v808.ll_append(__consts_0.const_str__38); + v815 = v808.ll_build(); + v816 = v790.childNodes; + v817 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v816,0 ); + v817.nodeValue = v815; msg_21 = msg_29; module_part_3 = module_part_12; block = 1; @@ -2813,106 +2802,15 @@ function add_received_item_outcome (msg_20,module_part_2) { } } -function ll_int_str__IntegerR_SignedConst_Signed (repr_0,i_4) { - var v811,v812; - var block = 0; - for(;;){ - switch(block){ - case 0: - v812 = ll_int2dec__Signed ( i_4 ); - v811 = v812; - block = 1; - break; - case 1: - return ( v811 ); - } - } -} - -function ll_dict_getitem__Dict_String__Signed__String (d_4,key_8) { - var v1005,v1006,v1007,v1008,v1009,v1010,v1011,etype_6,evalue_6,key_9,v1012,v1013,v1014; - var block = 0; - for(;;){ - switch(block){ - case 0: - v1006 = d_4; - v1007 = (v1006[key_8]!=undefined); - v1008 = v1007; - if (v1008 == true) - { - key_9 = key_8; - v1012 = d_4; - block = 3; - break; - } - else{ - block = 1; - break; - } - case 1: - v1009 = __consts_0.exceptions_KeyError; - v1010 = v1009.meta; - v1011 = v1009; - etype_6 = v1010; - evalue_6 = v1011; - block = 2; - break; - case 2: - throw(evalue_6); - case 3: - v1013 = v1012; - v1014 = v1013[key_9]; - v1005 = v1014; - block = 4; - break; - case 4: - return ( v1005 ); - } - } -} - -function ll_int2dec__Signed (i_29) { - var v1045,v1046; - var block = 0; - for(;;){ - switch(block){ - case 0: - v1046 = i_29.toString(); - v1045 = v1046; - block = 1; - break; - case 1: - return ( v1045 ); - } - } -} - -function ll_strconcat__String_String (obj_0,arg0_0) { - var v873,v874,v875; - var block = 0; - for(;;){ - switch(block){ - case 0: - v874 = obj_0; - v875 = (v874+arg0_0); - v873 = v875; - block = 1; - break; - case 1: - return ( v873 ); - } - } -} - function ll_int__String_Signed (s_2,base_0) { - var v876,v877,v878,v879,v880,v881,etype_5,evalue_5,s_3,base_1,v882,s_4,base_2,v883,v884,s_5,base_3,v885,v886,s_6,base_4,i_5,strlen_0,v887,v888,s_7,base_5,i_6,strlen_1,v889,v890,v891,v892,v893,s_8,base_6,i_7,strlen_2,v894,v895,v896,v897,s_9,base_7,i_8,strlen_3,v898,v899,v900,v901,s_10,base_8,val_0,i_9,sign_0,strlen_4,v902,v903,s_11,val_1,i_10,sign_1,strlen_5,v904,v905,val_2,sign_2,v906,v907,v908,v909,v910,v911,v912,v913,v914,v915,s_12,val_3,i_11,sign_3,strlen_6,v916,v917,v918,v919,s_13,val_4,sign_4,strlen_7,v920,v921,s_14,base_9,val_5,i_12,sign_5,strlen_8,v922,v923,v924,v925,v926,s_15,base_10,c_0,val_6,i_13,sign_6,strlen_9,v927,v928,s_16,base_11,c_1,val_7,i_14,sign_7,strlen_10,v929,v930,s_17,base_12,c_2,val_8,i_15,sign_8,strlen_11,v931,s_18,base_13,c_3,val_9,i_16,sign_9,strlen_12,v932,v933,s_19,base_14,val_10,i_17,sign_10,strlen_13,v934,v935,s_20,base_15,val_11,i_18,digit_0,sign_11,strlen_14,v936,v937,s_21,base_16,i_19,digit_1,sign_12,strlen_15,v938,v939,v940,v941,s_22,base_17,c_4,val_12,i_20,sign_13,strlen_16,v942,s_23,base_18,c_5,val_13,i_21,sign_14,strlen_17,v943,v944,s_24,base_19,val_14,i_22,sign_15,strlen_18,v945,v946,v947,s_25,base_20,c_6,val_15,i_23,sign_16,strlen_19,v948,s_26,base_21,c_7,val_16,i_24,sign_17,strlen_20,v949,v950,s_27,base_22,val_17,i_25,sign_18,strlen_21,v951,v952,v953,s_28,base_23,strlen_22,v954,v955,s_29,base_24,strlen_23,v956,v957,s_30,base_25,i_26,strlen_24,v958,v959,v960,v961,s_31,base_26,strlen_25,v962,v963; + var v902,v903,v904,v905,v906,v907,etype_5,evalue_5,s_3,base_1,v908,s_4,base_2,v909,v910,s_5,base_3,v911,v912,s_6,base_4,i_8,strlen_0,v913,v914,s_7,base_5,i_9,strlen_1,v915,v916,v917,v918,v919,s_8,base_6,i_10,strlen_2,v920,v921,v922,v923,s_9,base_7,i_11,strlen_3,v924,v925,v926,v927,s_10,base_8,val_0,i_12,sign_0,strlen_4,v928,v929,s_11,val_1,i_13,sign_1,strlen_5,v930,v931,val_2,sign_2,v932,v933,v934,v935,v936,v937,v938,v939,v940,v941,s_12,val_3,i_14,sign_3,strlen_6,v942,v943,v944,v945,s_13,val_4,sign_4,strlen_7,v946,v947,s_14,base_9,val_5,i_15,sign_5,strlen_8,v948,v949,v950,v951,v952,s_15,base_10,c_0,val_6,i_16,sign_6,strlen_9,v953,v954,s_16,base_11,c_1,val_7,i_17,sign_7,strlen_10,v955,v956,s_17,base_12,c_2,val_8,i_18,sign_8,strlen_11,v957,s_18,base_13,c_3,val_9,i_19,sign_9,strlen_12,v958,v959,s_19,base_14,val_10,i_20,sign_10,strlen_13,v960,v961,s_20,base_15,val_11,i_21,digit_0,sign_11,strlen_14,v962,v963,s_21,base_16,i_22,digit_1,sign_12,strlen_15,v964,v965,v966,v967,s_22,base_17,c_4,val_12,i_23,sign_13,strlen_16,v968,s_23,base_18,c_5,val_13,i_24,sign_14,strlen_17,v969,v970,s_24,base_19,val_14,i_25,sign_15,strlen_18,v971,v972,v973,s_25,base_20,c_6,val_15,i_26,sign_16,strlen_19,v974,s_26,base_21,c_7,val_16,i_27,sign_17,strlen_20,v975,v976,s_27,base_22,val_17,i_28,sign_18,strlen_21,v977,v978,v979,s_28,base_23,strlen_22,v980,v981,s_29,base_24,strlen_23,v982,v983,s_30,base_25,i_29,strlen_24,v984,v985,v986,v987,s_31,base_26,strlen_25,v988,v989; var block = 0; for(;;){ switch(block){ case 0: - v877 = (2<=base_0); - v878 = v877; - if (v878 == true) + v903 = (2<=base_0); + v904 = v903; + if (v904 == true) { s_3 = s_2; base_1 = base_0; @@ -2924,25 +2822,25 @@ function ll_int__String_Signed (s_2,base_0) { break; } case 1: - v879 = __consts_0.exceptions_ValueError; - v880 = v879.meta; - v881 = v879; - etype_5 = v880; - evalue_5 = v881; + v905 = __consts_0.exceptions_ValueError; + v906 = v905.meta; + v907 = v905; + etype_5 = v906; + evalue_5 = v907; block = 2; break; case 2: throw(evalue_5); case 3: - v882 = (base_1<=36); + v908 = (base_1<=36); s_4 = s_3; base_2 = base_1; - v883 = v882; + v909 = v908; block = 4; break; case 4: - v884 = v883; - if (v884 == true) + v910 = v909; + if (v910 == true) { s_5 = s_4; base_3 = base_2; @@ -2954,22 +2852,22 @@ function ll_int__String_Signed (s_2,base_0) { break; } case 5: - v885 = s_5; - v886 = v885.length; + v911 = s_5; + v912 = v911.length; s_6 = s_5; base_4 = base_3; - i_5 = 0; - strlen_0 = v886; + i_8 = 0; + strlen_0 = v912; block = 6; break; case 6: - v887 = (i_5=base_15); - v937 = v936; - if (v937 == true) + v962 = (digit_0>=base_15); + v963 = v962; + if (v963 == true) { s_11 = s_20; val_1 = val_11; - i_10 = i_18; + i_13 = i_21; sign_1 = sign_11; strlen_5 = strlen_14; block = 12; @@ -3298,49 +3196,49 @@ function ll_int__String_Signed (s_2,base_0) { else{ s_21 = s_20; base_16 = base_15; - i_19 = i_18; + i_22 = i_21; digit_1 = digit_0; sign_12 = sign_11; strlen_15 = strlen_14; - v938 = val_11; + v964 = val_11; block = 26; break; } case 26: - v939 = (v938*base_16); - v940 = (v939+digit_1); - v941 = (i_19+1); + v965 = (v964*base_16); + v966 = (v965+digit_1); + v967 = (i_22+1); s_10 = s_21; base_8 = base_16; - val_0 = v940; - i_9 = v941; + val_0 = v966; + i_12 = v967; sign_0 = sign_12; strlen_4 = strlen_15; block = 11; break; case 27: - v942 = (c_4<=90); + v968 = (c_4<=90); s_23 = s_22; base_18 = base_17; c_5 = c_4; val_13 = val_12; - i_21 = i_20; + i_24 = i_23; sign_14 = sign_13; strlen_17 = strlen_16; - v943 = v942; + v969 = v968; block = 28; break; case 28: - v944 = v943; - if (v944 == true) + v970 = v969; + if (v970 == true) { s_24 = s_23; base_19 = base_18; val_14 = val_13; - i_22 = i_21; + i_25 = i_24; sign_15 = sign_14; strlen_18 = strlen_17; - v945 = c_5; + v971 = c_5; block = 29; break; } @@ -3349,47 +3247,47 @@ function ll_int__String_Signed (s_2,base_0) { base_11 = base_18; c_1 = c_5; val_7 = val_13; - i_14 = i_21; + i_17 = i_24; sign_7 = sign_14; strlen_10 = strlen_17; block = 21; break; } case 29: - v946 = (v945-65); - v947 = (v946+10); + v972 = (v971-65); + v973 = (v972+10); s_20 = s_24; base_15 = base_19; val_11 = val_14; - i_18 = i_22; - digit_0 = v947; + i_21 = i_25; + digit_0 = v973; sign_11 = sign_15; strlen_14 = strlen_18; block = 25; break; case 30: - v948 = (c_6<=122); + v974 = (c_6<=122); s_26 = s_25; base_21 = base_20; c_7 = c_6; val_16 = val_15; - i_24 = i_23; + i_27 = i_26; sign_17 = sign_16; strlen_20 = strlen_19; - v949 = v948; + v975 = v974; block = 31; break; case 31: - v950 = v949; - if (v950 == true) + v976 = v975; + if (v976 == true) { s_27 = s_26; base_22 = base_21; val_17 = val_16; - i_25 = i_24; + i_28 = i_27; sign_18 = sign_17; strlen_21 = strlen_20; - v951 = c_7; + v977 = c_7; block = 32; break; } @@ -3398,71 +3296,71 @@ function ll_int__String_Signed (s_2,base_0) { base_10 = base_21; c_0 = c_7; val_6 = val_16; - i_13 = i_24; + i_16 = i_27; sign_6 = sign_17; strlen_9 = strlen_20; block = 20; break; } case 32: - v952 = (v951-97); - v953 = (v952+10); + v978 = (v977-97); + v979 = (v978+10); s_20 = s_27; base_15 = base_22; val_11 = val_17; - i_18 = i_25; - digit_0 = v953; + i_21 = i_28; + digit_0 = v979; sign_11 = sign_18; strlen_14 = strlen_21; block = 25; break; case 33: - v955 = (v954+1); + v981 = (v980+1); s_10 = s_28; base_8 = base_23; val_0 = 0; - i_9 = v955; + i_12 = v981; sign_0 = 1; strlen_4 = strlen_22; block = 11; break; case 34: - v957 = (v956+1); + v983 = (v982+1); s_10 = s_29; base_8 = base_24; val_0 = 0; - i_9 = v957; + i_12 = v983; sign_0 = -1; strlen_4 = strlen_23; block = 11; break; case 35: - v958 = s_30; - v959 = v958.charAt(i_26); - v960 = (v959==' '); - v961 = v960; - if (v961 == true) + v984 = s_30; + v985 = v984.charAt(i_29); + v986 = (v985==' '); + v987 = v986; + if (v987 == true) { s_31 = s_30; base_26 = base_25; strlen_25 = strlen_24; - v962 = i_26; + v988 = i_29; block = 36; break; } else{ s_7 = s_30; base_5 = base_25; - i_6 = i_26; + i_9 = i_29; strlen_1 = strlen_24; block = 7; break; } case 36: - v963 = (v962+1); + v989 = (v988+1); s_6 = s_31; base_4 = base_26; - i_5 = v963; + i_8 = v989; strlen_0 = strlen_25; block = 6; break; @@ -3470,257 +3368,203 @@ function ll_int__String_Signed (s_2,base_0) { } } -function ll_newlist__List_Dict_String__String__LlT_Signed_0 (LIST_2,length_2) { - var v976,v977,v978,v979; +function ll_append__List_Dict_String__String___Dict_String_ (l_9,newitem_0) { + var v661,v662,v663,v664,v665,v666,v667,v668; var block = 0; for(;;){ switch(block){ case 0: - v977 = new Array(); - v978 = v977; - v978.length = length_2; - v976 = v977; + v662 = l_9; + v663 = v662.length; + v664 = l_9; + v665 = (v663+1); + v664.length = v665; + v667 = l_9; + v667[v663]=newitem_0; block = 1; break; case 1: - return ( v976 ); + return ( v661 ); } } } -function ll_newlist__List_String_LlT_Signed (LIST_1,length_0) { - var v964,v965,v966,v967; +function show_crash () { + var v645,v646,v647,v648,v649,v650,v651,v652; var block = 0; for(;;){ switch(block){ case 0: - v965 = new Array(); - v966 = v965; - v966.length = length_0; - v964 = v965; + __consts_0.py____test_rsession_webjs_Globals.ofinished = true; + __consts_0.Document.title = __consts_0.const_str__102; + v648 = __consts_0.Document; + v649 = v648.getElementById(__consts_0.const_str__35); + v650 = v649.childNodes; + v651 = ll_getitem_nonneg__dum_nocheckConst_List_ExternalT ( undefined,v650,0 ); + v651.nodeValue = __consts_0.const_str__103; block = 1; break; case 1: - return ( v964 ); - } - } -} - -function ll_pop_default__dum_nocheckConst_List_String_ (func_3,l_17) { - var v1033,v1034,v1035,l_18,length_5,v1036,v1037,v1038,v1039,v1040,v1041,res_0,newlength_0,v1042,v1043,v1044; - var block = 0; - for(;;){ - switch(block){ - case 0: - v1034 = l_17; - v1035 = v1034.length; - l_18 = l_17; - length_5 = v1035; - block = 1; - break; - case 1: - v1036 = (length_5>0); - undefined; - v1038 = (length_5-1); - v1039 = l_18; - v1040 = v1039[v1038]; - ll_null_item__List_String_ ( l_18 ); - res_0 = v1040; - newlength_0 = v1038; - v1042 = l_18; - block = 2; - break; - case 2: - v1043 = v1042; - v1043.length = newlength_0; - v1033 = res_0; - block = 3; - break; - case 3: - return ( v1033 ); - } - } -} - -function skip_come_back (msg_32) { - var v1029,v1030,v1031,v1032; - var block = 0; - for(;;){ - switch(block){ - case 0: - v1030 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__46 ); - v1031 = ll_dict_getitem__Dict_String__String__String ( msg_32,__consts_0.const_str__103 ); - __consts_0.const_tuple__14[v1031]=v1030; - block = 1; - break; - case 1: - return ( v1029 ); + return ( v645 ); } } } function ll_getitem__dum_nocheckConst_List_ExternalType__Si (func_2,l_14,index_5) { - var v1015,v1016,v1017,v1018,v1019,l_15,index_6,length_3,v1020,v1021,v1022,v1023,index_7,v1024,v1025,v1026,l_16,length_4,v1027,v1028; + var v1013,v1014,v1015,v1016,v1017,l_15,index_6,length_1,v1018,v1019,v1020,v1021,index_7,v1022,v1023,v1024,l_16,length_2,v1025,v1026; var block = 0; for(;;){ switch(block){ case 0: - v1016 = l_14; - v1017 = v1016.length; - v1018 = (index_5<0); - v1019 = v1018; - if (v1019 == true) + v1014 = l_14; + v1015 = v1014.length; + v1016 = (index_5<0); + v1017 = v1016; + if (v1017 == true) { l_16 = l_14; - length_4 = v1017; - v1027 = index_5; + length_2 = v1015; + v1025 = index_5; block = 4; break; } else{ l_15 = l_14; index_6 = index_5; - length_3 = v1017; + length_1 = v1015; block = 1; break; } case 1: - v1020 = (index_6>=0); + v1018 = (index_6>=0); undefined; - v1022 = (index_6=0); + undefined; + v412 = (start_0<=v409); + undefined; + v414 = (v409-start_0); + undefined; + v416 = ll_newlist__List_Dict_String__String__LlT_Signed ( undefined,v414 ); + l1_1 = l1_0; + i_4 = start_0; + j_0 = 0; + l_6 = v416; + len1_0 = v409; + block = 1; + break; + case 1: + v417 = (i_40); + undefined; + v1036 = (length_3-1); + v1037 = l_18; + v1038 = v1037[v1036]; + ll_null_item__List_String_ ( l_18 ); + res_0 = v1038; + newlength_0 = v1036; + v1040 = l_18; + block = 2; + break; + case 2: + v1041 = v1040; + v1041.length = newlength_0; + v1031 = res_0; + block = 3; + break; + case 3: + return ( v1031 ); + } + } +} + +function fail_come_back (msg_31) { + var v993,v994,v995,v996,v997,v998,v999,v1000,v1001,v1002; + var block = 0; + for(;;){ + switch(block){ + case 0: + v994 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__105 ); + v995 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__106 ); + v996 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__107 ); + v997 = new Object(); + v997.item0 = v994; + v997.item1 = v995; + v997.item2 = v996; + v1001 = ll_dict_getitem__Dict_String__String__String ( msg_31,__consts_0.const_str__104 ); + __consts_0.const_tuple[v1001]=v997; + block = 1; + break; + case 1: + return ( v993 ); + } + } +} + +function ll_strlen__String (obj_1) { + var v990,v991,v992; + var block = 0; + for(;;){ + switch(block){ + case 0: + v991 = obj_1; + v992 = v991.length; + v990 = v992; + block = 1; + break; + case 1: + return ( v990 ); + } + } +} + +function ll_null_item__List_String_ (lst_2) { + var v1045,v1046; + var block = 0; + for(;;){ + switch(block){ + case 0: + undefined; + block = 1; + break; + case 1: + return ( v1045 ); + } + } +} + +function ll_newlist__List_Dict_String__String__LlT_Signed (self_1,length_4) { + var v1043,v1044; + var block = 0; + for(;;){ + switch(block){ + case 0: + v1044 = ll_newlist__List_Dict_String__String__LlT_Signed_0 ( undefined,length_4 ); + v1043 = v1044; + block = 1; + break; + case 1: + return ( v1043 ); + } + } +} + +function ll_newlist__List_Dict_String__String__LlT_Signed_0 (LIST_2,length_5) { + var v1047,v1048,v1049,v1050; + var block = 0; + for(;;){ + switch(block){ + case 0: + v1048 = new Array(); + v1049 = v1048; + v1049.length = length_5; + v1047 = v1048; + block = 1; + break; + case 1: + return ( v1047 ); + } + } +} + function Object_meta () { this.class_ = __consts_0.None; } @@ -3745,14 +3747,6 @@ exceptions_Exception_meta.prototype.toString = function (){ } inherits(exceptions_Exception_meta,Object_meta); -function exceptions_StopIteration_meta () { -} - -exceptions_StopIteration_meta.prototype.toString = function (){ - return ( '' ); -} - -inherits(exceptions_StopIteration_meta,exceptions_Exception_meta); function exceptions_StandardError_meta () { } @@ -3785,14 +3779,14 @@ py____test_rsession_webjs_Options_meta.prototype.toString = function (){ } inherits(py____test_rsession_webjs_Options_meta,Object_meta); -function exceptions_ValueError_meta () { +function exceptions_StopIteration_meta () { } -exceptions_ValueError_meta.prototype.toString = function (){ - return ( '' ); +exceptions_StopIteration_meta.prototype.toString = function (){ + return ( '' ); } -inherits(exceptions_ValueError_meta,exceptions_StandardError_meta); +inherits(exceptions_StopIteration_meta,exceptions_Exception_meta); function py____test_rsession_webjs_Globals_meta () { } @@ -3801,142 +3795,151 @@ py____test_rsession_webjs_Globals_meta.prototype.toString = function (){ } inherits(py____test_rsession_webjs_Globals_meta,Object_meta); +function exceptions_ValueError_meta () { +} + +exceptions_ValueError_meta.prototype.toString = function (){ + return ( '' ); +} + +inherits(exceptions_ValueError_meta,exceptions_StandardError_meta); __consts_0 = {}; -__consts_0.const_str__55 = ' failures, '; -__consts_0.const_str__27 = "show_host('"; -__consts_0.const_str__79 = '_txt_'; -__consts_0.const_tuple__84 = {}; -__consts_0.const_str__91 = 'a'; -__consts_0.const_str__95 = 'class'; -__consts_0.const_str__59 = ']'; -__consts_0.const_str__38 = 'ReceivedItemOutcome'; -__consts_0.const_str__80 = "show_info('"; -__consts_0.const_str__47 = '- skipped ('; -__consts_0.const_str__31 = 'hide_host()'; -__consts_0.const_str__81 = 'hide_info()'; -__consts_0.const_str__49 = '- FAILED TO LOAD MODULE'; +__consts_0.const_str__67 = ' failures, '; +__consts_0.const_str__26 = "show_host('"; +__consts_0.const_str__82 = '_txt_'; +__consts_0.const_tuple__80 = {}; +__consts_0.const_str__90 = 'a'; +__consts_0.const_str__94 = 'class'; +__consts_0.const_str__38 = ']'; +__consts_0.const_tuple__33 = undefined; +__consts_0.const_list = undefined; +__consts_0.const_str__50 = 'ReceivedItemOutcome'; +__consts_0.const_str__83 = "show_info('"; +__consts_0.const_str__59 = '- skipped ('; +__consts_0.const_str__30 = 'hide_host()'; +__consts_0.const_str__84 = 'hide_info()'; +__consts_0.const_str__42 = '#message'; __consts_0.ExportedMethods = new ExportedMethods(); -__consts_0.const_str__83 = 'tbody'; -__consts_0.exceptions_StopIteration__110 = exceptions_StopIteration; -__consts_0.exceptions_StopIteration_meta = new exceptions_StopIteration_meta(); -__consts_0.exceptions_StopIteration = new exceptions_StopIteration(); -__consts_0.const_str__48 = ')'; -__consts_0.const_str__33 = 'main_table'; -__consts_0.const_str__68 = 'Tests [interrupted]'; -__consts_0.exceptions_KeyError__112 = exceptions_KeyError; -__consts_0.const_str__28 = "')"; -__consts_0.const_str__42 = 'RsyncFinished'; -__consts_0.const_str__54 = ' run, '; -__consts_0.py____test_rsession_webjs_Options__114 = py____test_rsession_webjs_Options; -__consts_0.py____test_rsession_webjs_Options_meta = new py____test_rsession_webjs_Options_meta(); -__consts_0.py____test_rsession_webjs_Options = new py____test_rsession_webjs_Options(); -__consts_0.const_tuple__77 = {}; -__consts_0.const_str__105 = 'stdout'; -__consts_0.const_str = 'aa'; -__consts_0.const_str__96 = 'error'; -__consts_0.exceptions_ValueError__108 = exceptions_ValueError; +__consts_0.exceptions_ValueError__109 = exceptions_ValueError; __consts_0.exceptions_ValueError_meta = new exceptions_ValueError_meta(); __consts_0.exceptions_ValueError = new exceptions_ValueError(); -__consts_0.const_str__56 = ' skipped'; -__consts_0.const_str__53 = 'FINISHED '; -__consts_0.const_str__87 = 'Rsyncing'; -__consts_0.const_str__7 = 'info'; -__consts_0.const_str__25 = 'td'; -__consts_0.const_str__86 = 'true'; -__consts_0.const_tuple__78 = {}; -__consts_0.const_str__94 = 'F'; -__consts_0.const_str__30 = 'onmouseout'; -__consts_0.const_str__34 = 'type'; -__consts_0.const_str__88 = 'passed'; -__consts_0.const_str__101 = '.'; -__consts_0.const_str__40 = 'FailedTryiter'; -__consts_0.const_str__26 = '#ff0000'; -__consts_0.const_tuple__19 = undefined; -__consts_0.const_str__12 = 'checked'; -__consts_0.const_str__20 = 'messagebox'; -__consts_0.py____test_rsession_webjs_Globals__117 = py____test_rsession_webjs_Globals; +__consts_0.const_str__18 = 'tbody'; +__consts_0.const_str__102 = 'Py.test [crashed]'; +__consts_0.const_str__60 = ')'; +__consts_0.const_str__45 = 'main_table'; +__consts_0.const_str__76 = 'Tests [interrupted]'; +__consts_0.exceptions_KeyError__115 = exceptions_KeyError; +__consts_0.const_str__27 = "')"; +__consts_0.const_str__54 = 'RsyncFinished'; +__consts_0.const_list__117 = []; +__consts_0.Window = window; +__consts_0.py____test_rsession_webjs_Globals__118 = py____test_rsession_webjs_Globals; __consts_0.py____test_rsession_webjs_Globals_meta = new py____test_rsession_webjs_Globals_meta(); -__consts_0.const_str__45 = 'fullitemname'; -__consts_0.const_str__82 = 'table'; -__consts_0.const_str__57 = 'Py.test '; -__consts_0.const_str__52 = 'skips'; -__consts_0.const_str__44 = 'CrashedExecution'; -__consts_0.const_str__5 = '\n'; -__consts_0.const_tuple__14 = {}; -__consts_0.const_str__70 = 'pre'; -__consts_0.const_str__67 = 'Py.test [interrupted]'; -__consts_0.const_str__3 = '\n======== Stdout: ========\n'; -__consts_0.const_str__63 = '#00ff00'; -__consts_0.const_str__22 = 'beige'; -__consts_0.const_str__75 = 'length'; -__consts_0.const_tuple__17 = undefined; -__consts_0.const_list__116 = []; -__consts_0.const_str__16 = ''; -__consts_0.py____test_rsession_webjs_Globals = new py____test_rsession_webjs_Globals(); -__consts_0.const_str__104 = 'traceback'; -__consts_0.const_str__32 = 'testmain'; -__consts_0.const_str__99 = "javascript:show_skip('"; -__consts_0.const_str__65 = '['; -__consts_0.const_str__73 = 'Tests [crashed]'; -__consts_0.const_str__46 = 'reason'; -__consts_0.const_str__92 = "javascript:show_traceback('"; -__consts_0.const_str__60 = 'Tests'; +__consts_0.const_str__66 = ' run, '; +__consts_0.py____test_rsession_webjs_Options__113 = py____test_rsession_webjs_Options; +__consts_0.py____test_rsession_webjs_Options_meta = new py____test_rsession_webjs_Options_meta(); +__consts_0.const_str__106 = 'stdout'; +__consts_0.const_str = 'aa'; +__consts_0.const_str__95 = 'error'; +__consts_0.const_str__68 = ' skipped'; +__consts_0.const_str__65 = 'FINISHED '; +__consts_0.const_str__36 = 'Rsyncing'; +__consts_0.const_str__10 = 'info'; +__consts_0.const_str__20 = 'td'; +__consts_0.const_str__23 = 'true'; +__consts_0.const_tuple__31 = undefined; +__consts_0.const_tuple__81 = {}; +__consts_0.exceptions_StopIteration__111 = exceptions_StopIteration; +__consts_0.exceptions_StopIteration_meta = new exceptions_StopIteration_meta(); +__consts_0.const_str__93 = 'F'; +__consts_0.const_str__29 = 'onmouseout'; +__consts_0.const_str__46 = 'type'; +__consts_0.const_str__87 = 'passed'; +__consts_0.const_str__100 = '.'; +__consts_0.const_str__52 = 'FailedTryiter'; +__consts_0.const_tuple__34 = {}; +__consts_0.const_str__25 = '#ff0000'; +__consts_0.const_str__5 = 'checked'; +__consts_0.const_str__35 = 'Tests'; +__consts_0.const_str__57 = 'fullitemname'; +__consts_0.const_str__85 = 'table'; +__consts_0.const_str__69 = 'Py.test '; +__consts_0.const_str__64 = 'skips'; +__consts_0.const_str__56 = 'CrashedExecution'; +__consts_0.const_str__17 = '\n'; +__consts_0.const_str__40 = 'pre'; +__consts_0.const_str__75 = 'Py.test [interrupted]'; +__consts_0.const_str__15 = '\n======== Stdout: ========\n'; +__consts_0.const_str__72 = '#00ff00'; +__consts_0.const_str__12 = 'beige'; +__consts_0.const_str__78 = 'length'; __consts_0.const_tuple = {}; -__consts_0.const_str__100 = 's'; -__consts_0.const_str__50 = 'run'; -__consts_0.const_str__41 = 'SkippedTryiter'; -__consts_0.const_str__90 = 'None'; -__consts_0.const_str__13 = 'True'; -__consts_0.const_str__97 = '/'; +__consts_0.const_str__105 = 'traceback'; +__consts_0.const_str__44 = 'testmain'; +__consts_0.const_str__98 = "javascript:show_skip('"; +__consts_0.const_str__74 = '['; +__consts_0.const_str__103 = 'Tests [crashed]'; +__consts_0.const_str__58 = 'reason'; +__consts_0.const_str__91 = "javascript:show_traceback('"; +__consts_0.const_str__39 = 'messagebox'; +__consts_0.exceptions_StopIteration = new exceptions_StopIteration(); +__consts_0.const_str__99 = 's'; +__consts_0.const_str__62 = 'run'; +__consts_0.const_str__53 = 'SkippedTryiter'; +__consts_0.const_str__89 = 'None'; +__consts_0.const_str__6 = 'True'; +__consts_0.const_str__96 = '/'; +__consts_0.const_str__71 = 'hostkey'; +__consts_0.const_str__63 = 'fails'; +__consts_0.const_str__47 = 'ItemStart'; +__consts_0.const_str__77 = 'itemname'; +__consts_0.const_str__51 = 'TestFinished'; +__consts_0.const_str__7 = 'jobs'; +__consts_0.const_str__16 = '\n========== Stderr: ==========\n'; +__consts_0.const_tuple__86 = {}; +__consts_0.const_str__107 = 'stderr'; +__consts_0.const_str__92 = 'href'; +__consts_0.const_str__9 = ''; +__consts_0.py____test_rsession_webjs_Globals = new py____test_rsession_webjs_Globals(); +__consts_0.const_str__11 = 'visible'; +__consts_0.const_str__97 = 'False'; +__consts_0.const_str__49 = 'HostRSyncRootReady'; +__consts_0.const_str__28 = 'onmouseover'; +__consts_0.const_str__61 = '- FAILED TO LOAD MODULE'; +__consts_0.const_str__79 = '[0/'; +__consts_0.py____test_rsession_webjs_Options = new py____test_rsession_webjs_Options(); +__consts_0.const_str__48 = 'SendItem'; +__consts_0.const_str__70 = 'fullmodulename'; +__consts_0.const_str__88 = 'skipped'; +__consts_0.const_str__24 = 'hostsbody'; +__consts_0.const_str__73 = '[0]'; +__consts_0.const_str__8 = 'hidden'; +__consts_0.const_str__14 = '====== Traceback: =========\n'; +__consts_0.const_str__19 = 'tr'; +__consts_0.const_str__104 = 'item_name'; +__consts_0.const_str__37 = 'Tests ['; +__consts_0.Document = document; __consts_0.exceptions_KeyError_meta = new exceptions_KeyError_meta(); __consts_0.exceptions_KeyError = new exceptions_KeyError(); -__consts_0.const_str__62 = 'hostkey'; -__consts_0.const_str__51 = 'fails'; -__consts_0.const_str__35 = 'ItemStart'; -__consts_0.const_str__74 = 'itemname'; -__consts_0.const_str__39 = 'TestFinished'; -__consts_0.const_str__85 = 'jobs'; -__consts_0.const_str__4 = '\n========== Stderr: ==========\n'; -__consts_0.const_str__106 = 'stderr'; -__consts_0.const_str__93 = 'href'; -__consts_0.const_str__21 = 'visible'; -__consts_0.const_str__98 = 'False'; -__consts_0.const_str__37 = 'HostRSyncRootReady'; -__consts_0.const_str__29 = 'onmouseover'; -__consts_0.const_str__71 = '#message'; -__consts_0.const_str__76 = '[0/'; -__consts_0.const_list = undefined; -__consts_0.const_str__36 = 'SendItem'; -__consts_0.const_str__61 = 'fullmodulename'; -__consts_0.const_str__89 = 'skipped'; -__consts_0.const_str__23 = 'hostsbody'; -__consts_0.const_str__64 = '[0]'; -__consts_0.const_str__8 = 'hidden'; -__consts_0.const_str__2 = '====== Traceback: =========\n'; -__consts_0.const_str__24 = 'tr'; -__consts_0.const_str__103 = 'item_name'; -__consts_0.const_str__58 = 'Tests ['; -__consts_0.Document = document; -__consts_0.const_str__72 = 'Py.test [crashed]'; -__consts_0.const_str__43 = 'InterruptedExecution'; -__consts_0.const_str__11 = 'opt_scroll'; -__consts_0.exceptions_StopIteration_meta.class_ = __consts_0.exceptions_StopIteration__110; -__consts_0.exceptions_StopIteration.meta = __consts_0.exceptions_StopIteration_meta; -__consts_0.py____test_rsession_webjs_Options_meta.class_ = __consts_0.py____test_rsession_webjs_Options__114; -__consts_0.py____test_rsession_webjs_Options.meta = __consts_0.py____test_rsession_webjs_Options_meta; -__consts_0.py____test_rsession_webjs_Options.oscroll = true; -__consts_0.exceptions_ValueError_meta.class_ = __consts_0.exceptions_ValueError__108; +__consts_0.const_str__55 = 'InterruptedExecution'; +__consts_0.const_str__4 = 'opt_scroll'; +__consts_0.exceptions_ValueError_meta.class_ = __consts_0.exceptions_ValueError__109; __consts_0.exceptions_ValueError.meta = __consts_0.exceptions_ValueError_meta; -__consts_0.py____test_rsession_webjs_Globals_meta.class_ = __consts_0.py____test_rsession_webjs_Globals__117; +__consts_0.py____test_rsession_webjs_Globals_meta.class_ = __consts_0.py____test_rsession_webjs_Globals__118; +__consts_0.py____test_rsession_webjs_Options_meta.class_ = __consts_0.py____test_rsession_webjs_Options__113; +__consts_0.exceptions_StopIteration_meta.class_ = __consts_0.exceptions_StopIteration__111; +__consts_0.exceptions_StopIteration.meta = __consts_0.exceptions_StopIteration_meta; __consts_0.py____test_rsession_webjs_Globals.odata_empty = true; -__consts_0.py____test_rsession_webjs_Globals.osessid = __consts_0.const_str__16; -__consts_0.py____test_rsession_webjs_Globals.ohost = __consts_0.const_str__16; +__consts_0.py____test_rsession_webjs_Globals.osessid = __consts_0.const_str__9; +__consts_0.py____test_rsession_webjs_Globals.ohost = __consts_0.const_str__9; __consts_0.py____test_rsession_webjs_Globals.orsync_dots = 0; __consts_0.py____test_rsession_webjs_Globals.ofinished = false; -__consts_0.py____test_rsession_webjs_Globals.ohost_dict = __consts_0.const_tuple__17; +__consts_0.py____test_rsession_webjs_Globals.ohost_dict = __consts_0.const_tuple__31; __consts_0.py____test_rsession_webjs_Globals.meta = __consts_0.py____test_rsession_webjs_Globals_meta; -__consts_0.py____test_rsession_webjs_Globals.opending = __consts_0.const_list__116; +__consts_0.py____test_rsession_webjs_Globals.opending = __consts_0.const_list__117; __consts_0.py____test_rsession_webjs_Globals.orsync_done = false; -__consts_0.py____test_rsession_webjs_Globals.ohost_pending = __consts_0.const_tuple__19; -__consts_0.exceptions_KeyError_meta.class_ = __consts_0.exceptions_KeyError__112; +__consts_0.py____test_rsession_webjs_Globals.ohost_pending = __consts_0.const_tuple__33; +__consts_0.py____test_rsession_webjs_Options.meta = __consts_0.py____test_rsession_webjs_Options_meta; +__consts_0.py____test_rsession_webjs_Options.oscroll = true; +__consts_0.exceptions_KeyError_meta.class_ = __consts_0.exceptions_KeyError__115; __consts_0.exceptions_KeyError.meta = __consts_0.exceptions_KeyError_meta;