1var ObjectiveJ={}; 2(function(_1,_2){ 3if(!Object.create){ 4Object.create=function(o){ 5if(arguments.length>1){ 6throw new Error("Object.create implementation only accepts the first parameter."); 7} 8function F(){ 9}; 10F.prototype=o; 11return new F(); 12}; 13} 14if(!Object.keys){ 15Object.keys=(function(){ 16var _3=Object.prototype.hasOwnProperty,_4=!{toString:null}.propertyIsEnumerable("toString"),_5=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],_6=_5.length; 17return function(_7){ 18if(typeof _7!=="object"&&typeof _7!=="function"||_7===null){ 19throw new TypeError("Object.keys called on non-object"); 20} 21var _8=[]; 22for(var _9 in _7){ 23if(_3.call(_7,_9)){ 24_8.push(_9); 25} 26} 27if(_4){ 28for(var i=0;i<_6;i++){ 29if(_3.call(_7,_5[i])){ 30_8.push(_5[i]); 31} 32} 33} 34return _8; 35}; 36})(); 37} 38if(!Array.prototype.indexOf){ 39Array.prototype.indexOf=function(_a){ 40"use strict"; 41if(this===null){ 42throw new TypeError(); 43} 44var t=new Object(this),_b=t.length>>>0; 45if(_b===0){ 46return -1; 47} 48var n=0; 49if(arguments.length>1){ 50n=Number(arguments[1]); 51if(n!=n){ 52n=0; 53}else{ 54if(n!==0&&n!=Infinity&&n!=-Infinity){ 55n=(n>0||-1)*Math.floor(Math.abs(n)); 56} 57} 58} 59if(n>=_b){ 60return -1; 61} 62var k=n>=0?n:Math.max(_b-Math.abs(n),0); 63for(;k<_b;k++){ 64if(k in t&&t[k]===_a){ 65return k; 66} 67} 68return -1; 69}; 70} 71if(!String.prototype.startsWith){ 72String.prototype.startsWith=function(_c,_d){ 73_d=_d||0; 74return this.substr(_d,_c.length)===_c; 75}; 76} 77if(!String.prototype.endsWith){ 78String.prototype.endsWith=function(_e,_f){ 79var _10=this.toString(); 80if(typeof _f!=="number"||!isFinite(_f)||Math.floor(_f)!==_f||_f>_10.length){ 81_f=_10.length; 82} 83_f-=_e.length; 84var _11=_10.indexOf(_e,_f); 85return _11!==-1&&_11===_f; 86}; 87} 88if(!this.JSON){ 89JSON={}; 90} 91(function(){ 92function f(n){ 93return n<10?"0"+n:n; 94}; 95if(typeof Date.prototype.toJSON!=="function"){ 96Date.prototype.toJSON=function(key){ 97return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"; 98}; 99String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){ 100return this.valueOf(); 101}; 102} 103var cx=new RegExp("[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"); 104var _12=new RegExp("[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"); 105var gap,_13,_14={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\"":"\\\"","\\":"\\\\"},rep; 106function _15(_16){ 107_12.lastIndex=0; 108return _12.test(_16)?"\""+_16.replace(_12,function(a){ 109var c=_14[a];
110return typeof c==="string"?c:"\\u"+("0000"+(a.charCodeAt(0)).toString(16)).slice(-4); 111})+"\"":"\""+_16+"\""; 112}; 113function str(key,_17){ 114var i,k,v,_18,_19=gap,_1a,_1b=_17[key]; 115if(_1b&&typeof _1b==="object"&&typeof _1b.toJSON==="function"){ 116_1b=_1b.toJSON(key); 117} 118if(typeof rep==="function"){ 119_1b=rep.call(_17,key,_1b); 120} 121switch(typeof _1b){ 122case "string": 123return _15(_1b); 124case "number": 125return isFinite(_1b)?String(_1b):"null"; 126case "boolean": 127case "null": 128return String(_1b); 129case "object": 130if(!_1b){ 131return "null"; 132} 133gap+=_13; 134_1a=[]; 135if(Object.prototype.toString.apply(_1b)==="[object Array]"){ 136_18=_1b.length; 137for(i=0;i<_18;i+=1){ 138_1a[i]=str(i,_1b)||"null"; 139} 140v=_1a.length===0?"[]":gap?"[\n"+gap+_1a.join(",\n"+gap)+"\n"+_19+"]":"["+_1a.join(",")+"]"; 141gap=_19; 142return v; 143} 144if(rep&&typeof rep==="object"){ 145_18=rep.length; 146for(i=0;i<_18;i+=1){ 147k=rep[i]; 148if(typeof k==="string"){ 149v=str(k,_1b); 150if(v){ 151_1a.push(_15(k)+(gap?": ":":")+v); 152} 153} 154} 155}else{ 156for(k in _1b){ 157if(Object.hasOwnProperty.call(_1b,k)){ 158v=str(k,_1b); 159if(v){ 160_1a.push(_15(k)+(gap?": ":":")+v); 161} 162} 163} 164} 165v=_1a.length===0?"{}":gap?"{\n"+gap+_1a.join(",\n"+gap)+"\n"+_19+"}":"{"+_1a.join(",")+"}"; 166gap=_19; 167return v; 168} 169}; 170if(typeof JSON.stringify!=="function"){ 171JSON.stringify=function(_1c,_1d,_1e){ 172var i; 173gap=""; 174_13=""; 175if(typeof _1e==="number"){ 176for(i=0;i<_1e;i+=1){ 177_13+=" "; 178} 179}else{ 180if(typeof _1e==="string"){ 181_13=_1e; 182} 183} 184rep=_1d; 185if(_1d&&typeof _1d!=="function"&&(typeof _1d!=="object"||typeof _1d.length!=="number")){ 186throw new Error("JSON.stringify"); 187} 188return str("",{"":_1c}); 189}; 190} 191if(typeof JSON.parse!=="function"){ 192JSON.parse=function(_1f,_20){ 193var j; 194function _21(_22,key){ 195var k,v,_23=_22[key]; 196if(_23&&typeof _23==="object"){ 197for(k in _23){ 198if(Object.hasOwnProperty.call(_23,k)){ 199v=_21(_23,k); 200if(v!==_32){ 201_23[k]=v; 202}else{ 203delete _23[k]; 204} 205} 206} 207} 208return _20.call(_22,key,_23); 209}; 210cx.lastIndex=0; 211if(cx.test(_1f)){ 212_1f=_1f.replace(cx,function(a){ 213return "\\u"+("0000"+(a.charCodeAt(0)).toString(16)).slice(-4); 214}); 215} 216if(/^[\],:{}\s]*$/.test(((_1f.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@")).replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]")).replace(/(?:^|:|,)(?:\s*\[)+/g,""))){ 217j=eval("("+_1f+")"); 218return typeof _20==="function"?_21({"":j},""):j; 219} 220throw new SyntaxError("JSON.parse"); 221}; 222} 223})(); 224var _24=/([^%]+|%(?:\d+\$)?[\+\-\ \#0]*[0-9\*]*(.[0-9\*]+)?[hlL]?[cbBdieEfgGosuxXpn%@])/g,_25=/(%)(?:(\d+)\$)?([\+\-\ \#0]*)([0-9\*]*)((?:.[0-9\*]+)?)([hlL]?)([cbBdieEfgGosuxXpn%@])/; 225_2.sprintf=function(_26){ 226var _26=arguments[0],_27=_26.match(_24),_28=0,_29="",arg=1; 227for(var i=0;i<_27.length;i++){ 228var t=_27[i]; 229if(_26.substring(_28,_28+t.length)!==t){ 230return _29; 231} 232_28+=t.length; 233if(t.charAt(0)!=="%"){ 234_29+=t; 235}else{ 236if(t==="%%"){ 237_29+="%"; 238}else{ 239var _2a=t.match(_25); 240if(_2a.length!==8||_2a[0]!==t){ 241return _29; 242} 243var _2b=_2a[1],_2c=_2a[2],_2d=_2a[3],_2e=_2a[4],_2f=_2a[5],_30=_2a[6],_31=_2a[7]; 244if(_2c===_32||_2c===null||_2c===""){ 245_2c=arg++; 246}else{ 247_2c=Number(_2c); 248} 249var _33=null; 250if(_2e=="*"){ 251_33=arguments[_2c]; 252}else{ 253if(_2e!==""){ 254_33=Number(_2e); 255} 256} 257var _34=null; 258if(_2f===".*"){ 259_34=arguments[_2c]; 260}else{ 261if(_2f!==""){ 262_34=Number(_2f.substring(1)); 263} 264} 265var _35=_2d.indexOf("-")>=0,_36=_2d.indexOf("0")>=0,_37=""; 266if(/[bBdiufeExXo]/.test(_31)){ 267var num=Number(arguments[_2c]),_38=""; 268if(num<0){ 269_38="-"; 270}else{ 271if(_2d.indexOf("+")>=0){ 272_38="+"; 273}else{ 274if(_2d.indexOf(" ")>=0){ 275_38=" "; 276} 277} 278} 279if(_31==="d"||_31==="i"||_31==="u"){ 280var _39=String(Math.abs(Math.floor(num))); 281_37=_3a(_38,"",_39,"",_33,_35,_36); 282} 283if(_31=="f"){ 284var _39=String(_34!==null?(Math.abs(num)).toFixed(_34):Math.abs(num)),_3b=_2d.indexOf("#")>=0&&_39.indexOf(".")<0?".":""; 285_37=_3a(_38,"",_39,_3b,_33,_35,_36); 286} 287if(_31==="e"||_31==="E"){ 288var _39=String((Math.abs(num)).toExponential(_34!==null?_34:21)),_3b=_2d.indexOf("#")>=0&&_39.indexOf(".")<0?".":""; 289_37=_3a(_38,"",_39,_3b,_33,_35,_36); 290} 291if(_31=="x"||_31=="X"){ 292var _39=String((Math.abs(num)).toString(16)); 293var _3c=_2d.indexOf("#")>=0&&num!=0?"0x":""; 294_37=_3a(_38,_3c,_39,"",_33,_35,_36); 295} 296if(_31=="b"||_31=="B"){ 297var _39=String((Math.abs(num)).toString(2)); 298var _3c=_2d.indexOf("#")>=0&&num!=0?"0b":""; 299_37=_3a(_38,_3c,_39,"",_33,_35,_36); 300} 301if(_31=="o"){ 302var _39=String((Math.abs(num)).toString(8)); 303var _3c=_2d.indexOf("#")>=0&&num!=0?"0":""; 304_37=_3a(_38,_3c,_39,"",_33,_35,_36); 305} 306if(/[A-Z]/.test(_31)){ 307_37=_37.toUpperCase(); 308}else{ 309_37=_37.toLowerCase(); 310} 311}else{ 312var _37=""; 313if(_31==="%"){ 314_37="%"; 315}else{ 316if(_31==="c"){ 317_37=(String(arguments[_2c])).charAt(0); 318}else{ 319if(_31==="s"||_31==="@"){ 320_37=String(arguments[_2c]); 321}else{ 322if(_31==="p"||_31==="n"){ 323_37=""; 324} 325} 326} 327} 328_37=_3a("","",_37,"",_33,_35,false); 329} 330_29+=_37; 331} 332} 333} 334return _29; 335}; 336function _3a(_3d,_3e,_3f,_40,_41,_42,_43){ 337var _44=_3d.length+_3e.length+_3f.length+_40.length; 338if(_42){ 339return _3d+_3e+_3f+_40+pad(_41-_44," "); 340}else{ 341if(_43){ 342return _3d+_3e+pad(_41-_44,"0")+_3f+_40; 343}else{ 344return pad(_41-_44," ")+_3d+_3e+_3f+_40; 345} 346} 347}; 348function pad(n,ch){ 349return (Array(MAX(0,n)+1)).join(ch); 350}; 351CPLogDisable=false; 352var _45="Cappuccino"; 353var _46=["fatal","error","warn","info","debug","trace"]; 354var _47=_46[3]; 355var _48={}; 356for(var i=0;i<_46.length;i++){ 357_48[_46[i]]=i; 358} 359var _49={}; 360CPLogRegister=function(_4a,_4b,_4c){ 361CPLogRegisterRange(_4a,_46[0],_4b||_46[_46.length-1],_4c); 362}; 363CPLogRegisterRange=function(_4d,_4e,_4f,_50){ 364var min=_48[_4e]; 365var max=_48[_4f]; 366if(min!==_32&&max!==_32&&min<=max){ 367for(var i=min;i<=max;i++){ 368CPLogRegisterSingle(_4d,_46[i],_50); 369} 370} 371}; 372CPLogRegisterSingle=function(_51,_52,_53){ 373if(!_49[_52]){ 374_49[_52]=[]; 375} 376for(var i=0;i<_49[_52].length;i++){ 377if(_49[_52][i][0]===_51){ 378_49[_52][i][1]=_53; 379return; 380} 381} 382_49[_52].push([_51,_53]); 383}; 384CPLogUnregister=function(_54){ 385for(var _55 in _49){ 386for(var i=0;i<_49[_55].length;i++){ 387if(_49[_55][i][0]===_54){ 388_49[_55].splice(i--,1); 389} 390} 391} 392}; 393function _56(_57,_58,_59){ 394if(_59==_32){ 395_59=_45; 396} 397if(_58==_32){ 398_58=_47; 399}
400var _5a=typeof _57[0]=="string"&&_57.length>1?_2.sprintf.apply(null,_57):String(_57[0]); 401if(_49[_58]){ 402for(var i=0;i<_49[_58].length;i++){ 403var _5b=_49[_58][i]; 404_5b[0](_5a,_58,_59,_5b[1]); 405} 406} 407}; 408CPLog=function(){ 409_56(arguments); 410}; 411for(var i=0;i<_46.length;i++){ 412CPLog[_46[i]]=(function(_5c){ 413return function(){ 414_56(arguments,_5c); 415}; 416})(_46[i]); 417} 418var _5d=function(_5e,_5f,_60){ 419var now=new Date(),_61; 420if(_5f===null){ 421_5f=""; 422}else{ 423_5f=_5f||"info"; 424_5f="["+CPLogColorize(_5f,_5f)+"]"; 425} 426_60=_60||""; 427if(_60&&_5f){ 428_60+=" "; 429} 430_61=_60+_5f; 431if(_61){ 432_61+=": "; 433} 434if(typeof _2.sprintf=="function"){ 435return _2.sprintf("%4d-%02d-%02d %02d:%02d:%02d.%03d %s%s",now.getFullYear(),now.getMonth()+1,now.getDate(),now.getHours(),now.getMinutes(),now.getSeconds(),now.getMilliseconds(),_61,_5e); 436}else{ 437return now+" "+_61+": "+_5e; 438} 439}; 440CPLogConsole=function(_62,_63,_64,_65){ 441if(typeof console!="undefined"){ 442var _66=(_65||_5d)(_62,_63,_64),_67={"fatal":"error","error":"error","warn":"warn","info":"info","debug":"debug","trace":"debug"}[_63]; 443if(_67&&console[_67]){ 444console[_67](_66); 445}else{ 446if(console.log){ 447console.log(_66); 448} 449} 450} 451}; 452CPLogColorize=function(_68,_69){ 453return _68; 454}; 455CPLogAlert=function(_6a,_6b,_6c,_6d){ 456if(typeof alert!="undefined"&&!CPLogDisable){ 457var _6e=(_6d||_5d)(_6a,_6b,_6c); 458CPLogDisable=!confirm(_6e+"\n\n(Click cancel to stop log alerts)"); 459} 460}; 461var _6f=null; 462CPLogPopup=function(_70,_71,_72,_73){ 463try{ 464if(CPLogDisable||window.open==_32){ 465return; 466} 467if(!_6f||!_6f.document){ 468_6f=window.open("","_blank","width=600,height=400,status=no,resizable=yes,scrollbars=yes"); 469if(!_6f){ 470CPLogDisable=!confirm(_70+"\n\n(Disable pop-up blocking for CPLog window; Click cancel to stop log alerts)"); 471return; 472} 473_74(_6f); 474} 475var _75=_6f.document.createElement("div"); 476_75.setAttribute("class",_71||"fatal"); 477var _76=(_73||_5d)(_70,_73?_71:null,_72); 478_75.appendChild(_6f.document.createTextNode(_76)); 479_6f.log.appendChild(_75); 480if(_6f.focusEnabled.checked){ 481_6f.focus(); 482} 483if(_6f.blockEnabled.checked){ 484_6f.blockEnabled.checked=_6f.confirm(_76+"\nContinue blocking?"); 485} 486if(_6f.scrollEnabled.checked){ 487_6f.scrollToBottom(); 488} 489} 490catch(e){ 491} 492}; 493var _77="<style type=\"text/css\" media=\"screen\"> body{font:10px Monaco,Courier,\"Courier New\",monospace,mono;padding-top:15px;} div > .fatal,div > .error,div > .warn,div > .info,div > .debug,div > .trace{display:none;overflow:hidden;white-space:pre;padding:0px 5px 0px 5px;margin-top:2px;-moz-border-radius:5px;-webkit-border-radius:5px;} div[wrap=\"yes\"] > div{white-space:normal;} .fatal{background-color:#ffb2b3;} .error{background-color:#ffe2b2;} .warn{background-color:#fdffb2;} .info{background-color:#e4ffb2;} .debug{background-color:#a0e5a0;} .trace{background-color:#99b9ff;} .enfatal .fatal,.enerror .error,.enwarn .warn,.eninfo .info,.endebug .debug,.entrace .trace{display:block;} div#header{background-color:rgba(240,240,240,0.82);position:fixed;top:0px;left:0px;width:100%;border-bottom:1px solid rgba(0,0,0,0.33);text-align:center;} ul#enablers{display:inline-block;margin:1px 15px 0 15px;padding:2px 0 2px 0;} ul#enablers li{display:inline;padding:0px 5px 0px 5px;margin-left:4px;-moz-border-radius:5px;-webkit-border-radius:5px;} [enabled=\"no\"]{opacity:0.25;} ul#options{display:inline-block;margin:0 15px 0px 15px;padding:0 0px;} ul#options li{margin:0 0 0 0;padding:0 0 0 0;display:inline;} </style>"; 494function _74(_78){ 495var doc=_78.document; 496doc.writeln("<html><head><title></title>"+_77+"</head><body></body></html>"); 497doc.title=_45+" Run Log"; 498var _79=(doc.getElementsByTagName("head"))[0]; 499var _7a=(doc.getElementsByTagName("body"))[0]; 500var _7b=window.location.protocol+"//"+window.location.host+window.location.pathname; 501_7b=_7b.substring(0,_7b.lastIndexOf("/")+1); 502var div=doc.createElement("div"); 503div.setAttribute("id","header"); 504_7a.appendChild(div); 505var ul=doc.createElement("ul"); 506ul.setAttribute("id","enablers"); 507div.appendChild(ul); 508for(var i=0;i<_46.length;i++){ 509var li=doc.createElement("li"); 510li.setAttribute("id","en"+_46[i]); 511li.setAttribute("class",_46[i]); 512li.setAttribute("onclick","toggle(this);"); 513li.setAttribute("enabled","yes"); 514li.appendChild(doc.createTextNode(_46[i])); 515ul.appendChild(li); 516} 517var ul=doc.createElement("ul"); 518ul.setAttribute("id","options"); 519div.appendChild(ul);
520var _7c={"focus":["Focus",false],"block":["Block",false],"wrap":["Wrap",false],"scroll":["Scroll",true],"close":["Close",true]}; 521for(o in _7c){ 522var li=doc.createElement("li"); 523ul.appendChild(li); 524_78[o+"Enabled"]=doc.createElement("input"); 525_78[o+"Enabled"].setAttribute("id",o); 526_78[o+"Enabled"].setAttribute("type","checkbox"); 527if(_7c[o][1]){ 528_78[o+"Enabled"].setAttribute("checked","checked"); 529} 530li.appendChild(_78[o+"Enabled"]); 531var _7d=doc.createElement("label"); 532_7d.setAttribute("for",o); 533_7d.appendChild(doc.createTextNode(_7c[o][0])); 534li.appendChild(_7d); 535} 536_78.log=doc.createElement("div"); 537_78.log.setAttribute("class","enerror endebug enwarn eninfo enfatal entrace"); 538_7a.appendChild(_78.log); 539_78.toggle=function(_7e){ 540var _7f=_7e.getAttribute("enabled")=="yes"?"no":"yes"; 541_7e.setAttribute("enabled",_7f); 542if(_7f=="yes"){ 543_78.log.className+=" "+_7e.id; 544}else{ 545_78.log.className=_78.log.className.replace(new RegExp("[\\s]*"+_7e.id,"g"),""); 546} 547}; 548_78.scrollToBottom=function(){ 549_78.scrollTo(0,_7a.offsetHeight); 550}; 551_78.wrapEnabled.addEventListener("click",function(){ 552_78.log.setAttribute("wrap",_78.wrapEnabled.checked?"yes":"no"); 553},false); 554_78.addEventListener("keydown",function(e){ 555var e=e||_78.event; 556if(e.keyCode==75&&(e.ctrlKey||e.metaKey)){ 557while(_78.log.firstChild){ 558_78.log.removeChild(_78.log.firstChild); 559} 560e.preventDefault(); 561} 562},"false"); 563window.addEventListener("unload",function(){ 564if(_78&&_78.closeEnabled&&_78.closeEnabled.checked){ 565CPLogDisable=true; 566_78.close(); 567} 568},false); 569_78.addEventListener("unload",function(){ 570if(!CPLogDisable){ 571CPLogDisable=!confirm("Click cancel to stop logging"); 572} 573},false); 574}; 575CPLogDefault=typeof window==="object"&&window.console?CPLogConsole:CPLogPopup; 576var _32; 577if(typeof window!=="undefined"){ 578window.setNativeTimeout=window.setTimeout; 579window.clearNativeTimeout=window.clearTimeout; 580window.setNativeInterval=window.setInterval; 581window.clearNativeInterval=window.clearInterval; 582} 583NO=false; 584YES=true; 585nil=null; 586Nil=null; 587NULL=null; 588ABS=Math.abs; 589ASIN=Math.asin; 590ACOS=Math.acos; 591ATAN=Math.atan; 592ATAN2=Math.atan2; 593SIN=Math.sin; 594COS=Math.cos; 595TAN=Math.tan; 596EXP=Math.exp; 597POW=Math.pow; 598CEIL=Math.ceil; 599FLOOR=Math.floor; 600ROUND=Math.round; 601MIN=Math.min; 602MAX=Math.max; 603RAND=Math.random; 604SQRT=Math.sqrt; 605E=Math.E; 606LN2=Math.LN2; 607LN10=Math.LN10; 608LOG=Math.log; 609LOG2E=Math.LOG2E; 610LOG10E=Math.LOG10E; 611PI=Math.PI; 612PI2=Math.PI*2; 613PI_2=Math.PI/2; 614SQRT1_2=Math.SQRT1_2; 615SQRT2=Math.SQRT2; 616function _80(_81){ 617this._eventListenersForEventNames={}; 618this._owner=_81; 619}; 620_80.prototype.addEventListener=function(_82,_83){ 621var _84=this._eventListenersForEventNames; 622if(!_85.call(_84,_82)){ 623var _86=[]; 624_84[_82]=_86; 625}else{ 626var _86=_84[_82]; 627} 628var _87=_86.length; 629while(_87--){ 630if(_86[_87]===_83){ 631return; 632} 633} 634_86.push(_83); 635}; 636_80.prototype.removeEventListener=function(_88,_89){ 637var _8a=this._eventListenersForEventNames; 638if(!_85.call(_8a,_88)){ 639return; 640} 641var _8b=_8a[_88],_8c=_8b.length; 642while(_8c--){ 643if(_8b[_8c]===_89){ 644return _8b.splice(_8c,1); 645} 646} 647}; 648_80.prototype.dispatchEvent=function(_8d){ 649var _8e=_8d.type,_8f=this._eventListenersForEventNames; 650if(_85.call(_8f,_8e)){ 651var _90=this._eventListenersForEventNames[_8e],_91=0,_92=_90.length; 652for(;_91<_92;++_91){ 653_90[_91](_8d); 654} 655} 656var _93=(this._owner||this)["on"+_8e]; 657if(_93){ 658_93(_8d); 659} 660}; 661var _94=0,_95=null,_96=[]; 662function _97(_98){ 663var _99=_94; 664if(_95===null){ 665window.setNativeTimeout(function(){ 666var _9a=_96,_9b=0,_9c=_96.length; 667++_94; 668_95=null; 669_96=[]; 670for(;_9b<_9c;++_9b){ 671_9a[_9b](); 672} 673},0); 674} 675return function(){ 676var _9d=arguments; 677if(_94>_99){ 678_98.apply(this,_9d); 679}else{ 680_96.push(function(){ 681_98.apply(this,_9d); 682}); 683} 684}; 685}; 686var _9e=null; 687if(window.XMLHttpRequest){ 688_9e=window.XMLHttpRequest; 689}else{ 690if(window.ActiveXObject!==_32){ 691var _9f=["Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP.6.0"],_a0=_9f.length; 692while(_a0--){ 693try{ 694var _a1=_9f[_a0]; 695new ActiveXObject(_a1); 696_9e=function(){ 697return new ActiveXObject(_a1); 698}; 699break; 700} 701catch(anException){ 702} 703} 704} 705} 706CFHTTPRequest=function(){ 707this._isOpen=false; 708this._requestHeaders={}; 709this._mimeType=null; 710this._eventDispatcher=new _80(this); 711this._nativeRequest=new _9e(); 712this._withCredentials=false; 713this._timeout=60000; 714var _a2=this; 715this._stateChangeHandler=function(){ 716_bb(_a2); 717}; 718this._timeoutHandler=function(){ 719_b9(_a2); 720}; 721this._nativeRequest.onreadystatechange=this._stateChangeHandler; 722this._nativeRequest.ontimeout=this._timeoutHandler; 723if(CFHTTPRequest.AuthenticationDelegate!==nil){ 724this._eventDispatcher.addEventListener("HTTP403",function(){ 725CFHTTPRequest.AuthenticationDelegate(_a2); 726}); 727} 728}; 729CFHTTPRequest.UninitializedState=0; 730CFHTTPRequest.LoadingState=1; 731CFHTTPRequest.LoadedState=2; 732CFHTTPRequest.InteractiveState=3; 733CFHTTPRequest.CompleteState=4; 734CFHTTPRequest.AuthenticationDelegate=nil; 735CFHTTPRequest.prototype.status=function(){ 736try{ 737return this._nativeRequest.status||0; 738} 739catch(anException){ 740return 0; 741} 742}; 743CFHTTPRequest.prototype.statusText=function(){ 744try{ 745return this._nativeRequest.statusText||""; 746} 747catch(anException){ 748return ""; 749} 750}; 751CFHTTPRequest.prototype.readyState=function(){ 752return this._nativeRequest.readyState; 753}; 754CFHTTPRequest.prototype.success=function(){ 755var _a3=this.status(); 756if(_a3>=200&&_a3<300){ 757return YES; 758} 759return _a3===0&&this.responseText()&&(this.responseText()).length; 760}; 761CFHTTPRequest.prototype.responseXML=function(){ 762var _a4=this._nativeRequest.responseXML; 763if(_a4&&_9e===window.XMLHttpRequest&&_a4.documentRoot){ 764return _a4; 765} 766return _a5(this.responseText()); 767}; 768CFHTTPRequest.prototype.responsePropertyList=function(){ 769var _a6=this.responseText(); 770if(CFPropertyList.sniffedFormatOfString(_a6)===CFPropertyList.FormatXML_v1_0){
771return CFPropertyList.propertyListFromXML(this.responseXML()); 772} 773return CFPropertyList.propertyListFromString(_a6); 774}; 775CFHTTPRequest.prototype.responseText=function(){ 776return this._nativeRequest.responseText; 777}; 778CFHTTPRequest.prototype.setRequestHeader=function(_a7,_a8){ 779this._requestHeaders[_a7]=_a8; 780}; 781CFHTTPRequest.prototype.getResponseHeader=function(_a9){ 782return this._nativeRequest.getResponseHeader(_a9); 783}; 784CFHTTPRequest.prototype.setTimeout=function(_aa){ 785this._timeout=_aa; 786if(this._isOpen){ 787this._nativeRequest.timeout=_aa; 788} 789}; 790CFHTTPRequest.prototype.getTimeout=function(_ab){ 791return this._timeout; 792}; 793CFHTTPRequest.prototype.getAllResponseHeaders=function(){ 794return this._nativeRequest.getAllResponseHeaders(); 795}; 796CFHTTPRequest.prototype.overrideMimeType=function(_ac){ 797this._mimeType=_ac; 798}; 799CFHTTPRequest.prototype.open=function(_ad,_ae,_af,_b0,_b1){ 800var _b2; 801this._isOpen=true; 802this._URL=_ae; 803this._async=_af; 804this._method=_ad; 805this._user=_b0; 806this._password=_b1; 807requestReturnValue=this._nativeRequest.open(_ad,_ae,_af,_b0,_b1); 808if(this._async){ 809this._nativeRequest.withCredentials=this._withCredentials; 810this._nativeRequest.timeout=this._timeout; 811} 812return requestReturnValue; 813}; 814CFHTTPRequest.prototype.send=function(_b3){ 815if(!this._isOpen){ 816delete this._nativeRequest.onreadystatechange; 817delete this._nativeRequest.ontimeout; 818this._nativeRequest.open(this._method,this._URL,this._async,this._user,this._password); 819this._nativeRequest.ontimeout=this._timeoutHandler; 820this._nativeRequest.onreadystatechange=this._stateChangeHandler; 821} 822for(var i in this._requestHeaders){ 823if(this._requestHeaders.hasOwnProperty(i)){ 824this._nativeRequest.setRequestHeader(i,this._requestHeaders[i]); 825} 826} 827if(this._mimeType&&"overrideMimeType" in this._nativeRequest){ 828this._nativeRequest.overrideMimeType(this._mimeType); 829} 830this._isOpen=false; 831try{ 832return this._nativeRequest.send(_b3); 833} 834catch(anException){ 835this._eventDispatcher.dispatchEvent({type:"failure",request:this}); 836} 837}; 838CFHTTPRequest.prototype.abort=function(){ 839this._isOpen=false; 840return this._nativeRequest.abort(); 841}; 842CFHTTPRequest.prototype.addEventListener=function(_b4,_b5){ 843this._eventDispatcher.addEventListener(_b4,_b5); 844}; 845CFHTTPRequest.prototype.removeEventListener=function(_b6,_b7){ 846this._eventDispatcher.removeEventListener(_b6,_b7); 847}; 848CFHTTPRequest.prototype.setWithCredentials=function(_b8){ 849this._withCredentials=_b8; 850if(this._isOpen&&this._async){ 851this._nativeRequest.withCredentials=_b8; 852} 853}; 854CFHTTPRequest.prototype.withCredentials=function(){ 855return this._withCredentials; 856}; 857CFHTTPRequest.prototype.isTimeoutRequest=function(){ 858return !this.success()&&!this._nativeRequest.response&&!this._nativeRequest.responseText&&!this._nativeRequest.responseType&&!this._nativeRequest.responseURL&&!this._nativeRequest.responseXML; 859}; 860function _b9(_ba){ 861_ba._eventDispatcher.dispatchEvent({type:"timeout",request:_ba}); 862}; 863function _bb(_bc){ 864var _bd=_bc._eventDispatcher,_be=["uninitialized","loading","loaded","interactive","complete"]; 865_bd.dispatchEvent({type:"readystatechange",request:_bc}); 866if(_be[_bc.readyState()]==="complete"){ 867var _bf="HTTP"+_bc.status(); 868_bd.dispatchEvent({type:_bf,request:_bc}); 869var _c0=_bc.success()?"success":"failure"; 870_bd.dispatchEvent({type:_c0,request:_bc}); 871_bd.dispatchEvent({type:_be[_bc.readyState()],request:_bc}); 872}else{ 873_bd.dispatchEvent({type:_be[_bc.readyState()],request:_bc}); 874} 875}; 876function _c1(_c2,_c3,_c4,_c5){ 877var _c6=new CFHTTPRequest(); 878if(_c2.pathExtension()==="plist"){ 879_c6.overrideMimeType("text/xml"); 880} 881var _c7=0,_c8=null; 882function _c9(_ca){ 883_c5(_ca.loaded-_c7); 884_c7=_ca.loaded; 885}; 886function _cb(_cc){ 887if(_c5&&_c8===null){ 888_c5((_cc.request.responseText()).length); 889} 890_c3(_cc); 891}; 892if(_2.asyncLoader){ 893_c6.onsuccess=_97(_cb); 894_c6.onfailure=_97(_c4); 895}else{ 896_c6.onsuccess=_cb; 897_c6.onfailure=_c4; 898} 899if(_c5){ 900var _cd=true; 901if(document.all){ 902_cd=!!window.atob; 903} 904if(_cd){ 905try{ 906_c8=_2.asyncLoader?_97(_c9):_c9; 907_c6._nativeRequest.onprogress=_c8; 908} 909catch(anException){ 910_c8=null; 911} 912} 913} 914_c6.open("GET",_c2.absoluteString(),_2.asyncLoader); 915_c6.send(""); 916}; 917_2.asyncLoader=YES; 918_2.Asynchronous=_97; 919_2.determineAndDispatchHTTPRequestEvents=_bb; 920var _ce=0; 921objj_generateObjectUID=function(){ 922return _ce++; 923}; 924CFPropertyList=function(){ 925this._UID=objj_generateObjectUID(); 926};
927CFPropertyList.DTDRE=/^\s*(?:<\?\s*xml\s+version\s*=\s*\"1.0\"[^>]*\?>\s*)?(?:<\!DOCTYPE[^>]*>\s*)?/i; 928CFPropertyList.XMLRE=/^\s*(?:<\?\s*xml\s+version\s*=\s*\"1.0\"[^>]*\?>\s*)?(?:<\!DOCTYPE[^>]*>\s*)?<\s*plist[^>]*\>/i; 929CFPropertyList.FormatXMLDTD="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">"; 930CFPropertyList.Format280NorthMagicNumber="280NPLIST"; 931(CFPropertyList.FormatOpenStep=1,CFPropertyList.FormatXML_v1_0=100,CFPropertyList.FormatBinary_v1_0=200,CFPropertyList.Format280North_v1_0=-1000); 932CFPropertyList.sniffedFormatOfString=function(_cf){ 933if(_cf.match(CFPropertyList.XMLRE)){ 934return CFPropertyList.FormatXML_v1_0; 935} 936if(_cf.substr(0,CFPropertyList.Format280NorthMagicNumber.length)===CFPropertyList.Format280NorthMagicNumber){ 937return CFPropertyList.Format280North_v1_0; 938} 939return NULL; 940}; 941CFPropertyList.dataFromPropertyList=function(_d0,_d1){ 942var _d2=new CFMutableData(); 943_d2.setRawString(CFPropertyList.stringFromPropertyList(_d0,_d1)); 944return _d2; 945}; 946CFPropertyList.stringFromPropertyList=function(_d3,_d4){ 947if(!_d4){ 948_d4=CFPropertyList.Format280North_v1_0; 949} 950var _d5=_d6[_d4]; 951return _d5["start"]()+_d7(_d3,_d5)+_d5["finish"](); 952}; 953function _d7(_d8,_d9){ 954var _da=typeof _d8,_db=_d8.valueOf(),_dc=typeof _db; 955if(_da!==_dc){ 956_da=_dc; 957_d8=_db; 958} 959if(_d8===YES||_d8===NO){ 960_da="boolean"; 961}else{ 962if(_da==="number"){ 963if(FLOOR(_d8)===_d8&&(""+_d8).indexOf("e")==-1){ 964_da="integer"; 965}else{ 966_da="real"; 967} 968}else{ 969if(_da!=="string"){ 970if(_d8.slice){ 971_da="array"; 972}else{ 973_da="dictionary"; 974} 975} 976} 977} 978return _d9[_da](_d8,_d9); 979}; 980var _d6={}; 981_d6[CFPropertyList.FormatXML_v1_0]={"start":function(){ 982return CFPropertyList.FormatXMLDTD+"<plist version = \"1.0\">"; 983},"finish":function(){ 984return "</plist>"; 985},"string":function(_dd){ 986return "<string>"+_de(_dd)+"</string>"; 987},"boolean":function(_df){ 988return _df?"<true/>":"<false/>"; 989},"integer":function(_e0){ 990return "<integer>"+_e0+"</integer>"; 991},"real":function(_e1){ 992return "<real>"+_e1+"</real>"; 993},"array":function(_e2,_e3){ 994var _e4=0,_e5=_e2.length,_e6="<array>"; 995for(;_e4<_e5;++_e4){ 996_e6+=_d7(_e2[_e4],_e3); 997} 998return _e6+"</array>"; 999},"dictionary":function(_e7,_e8){ 1000var _e9=_e7._keys,_a0=0,_ea=_e9.length,_eb="<dict>"; 1001for(;_a0<_ea;++_a0){ 1002var key=_e9[_a0]; 1003_eb+="<key>"+key+"</key>"; 1004_eb+=_d7(_e7.valueForKey(key),_e8); 1005} 1006return _eb+"</dict>"; 1007}}; 1008var _ec="A",_ed="D",_ee="f",_ef="d",_f0="S",_f1="T",_f2="F",_f3="K",_f4="E"; 1009_d6[CFPropertyList.Format280North_v1_0]={"start":function(){ 1010return CFPropertyList.Format280NorthMagicNumber+";1.0;"; 1011},"finish":function(){ 1012return ""; 1013},"string":function(_f5){ 1014return _f0+";"+_f5.length+";"+_f5; 1015},"boolean":function(_f6){ 1016return (_f6?_f1:_f2)+";"; 1017},"integer":function(_f7){ 1018var _f8=""+_f7; 1019return _ef+";"+_f8.length+";"+_f8; 1020},"real":function(_f9){ 1021var _fa=""+_f9; 1022return _ee+";"+_fa.length+";"+_fa; 1023},"array":function(_fb,_fc){ 1024var _fd=0,_fe=_fb.length,_ff=_ec+";"; 1025for(;_fd<_fe;++_fd){ 1026_ff+=_d7(_fb[_fd],_fc); 1027} 1028return _ff+_f4+";"; 1029},"dictionary":function(_100,_101){ 1030var keys=_100._keys,_a0=0,_102=keys.length,_103=_ed+";"; 1031for(;_a0<_102;++_a0){ 1032var key=keys[_a0]; 1033_103+=_f3+";"+key.length+";"+key; 1034_103+=_d7(_100.valueForKey(key),_101); 1035} 1036return _103+_f4+";"; 1037}}; 1038var _104="xml",_105="#document",_106="plist",_107="key",_108="dict",_109="array",_10a="string",_10b="date",_10c="true",_10d="false",_10e="real",_10f="integer",_110="data"; 1039var _111=function(_112){ 1040var text="",_a0=0,_113=_112.length; 1041for(;_a0<_113;++_a0){ 1042var node=_112[_a0]; 1043if(node.nodeType===3||node.nodeType===4){ 1044text+=node.nodeValue; 1045}else{ 1046if(node.nodeType!==8){ 1047text+=_111(node.childNodes); 1048} 1049} 1050} 1051return text; 1052}; 1053var _114=function(_115,_116,_117){ 1054var node=_115; 1055node=node.firstChild; 1056if(node!=NULL&&(node.nodeType===8||node.nodeType===3||node.nodeType===7)){ 1057while((node=node.nextSibling)&&(node.nodeType===8||node.nodeType===3||node.nodeType===7)){ 1058} 1059} 1060if(node){ 1061return node; 1062} 1063if(String(_115.nodeName)===_109||String(_115.nodeName)===_108){ 1064_117.pop(); 1065}else{ 1066if(node===_116){ 1067return NULL; 1068} 1069node=_115; 1070while((node=node.nextSibling)&&(node.nodeType===8||node.nodeType===3||node.nodeType===7)){ 1071} 1072if(node){ 1073return node; 1074} 1075} 1076node=_115; 1077while(node){ 1078var next=node; 1079while((next=next.nextSibling)&&(next.nodeType===8||next.nodeType===3||next.nodeType===7)){ 1080} 1081if(next){ 1082return next; 1083} 1084var node=node.parentNode; 1085if(_116&&node===_116){ 1086return NULL; 1087} 1088_117.pop(); 1089} 1090return NULL; 1091}; 1092CFPropertyList.propertyListFromData=function(_118,_119){ 1093return CFPropertyList.propertyListFromString(_118.rawString(),_119); 1094}; 1095CFPropertyList.propertyListFromString=function(_11a,_11b){ 1096if(!_11b){ 1097_11b=CFPropertyList.sniffedFormatOfString(_11a); 1098} 1099if(_11b===CFPropertyList.FormatXML_v1_0){
1100return CFPropertyList.propertyListFromXML(_11a); 1101} 1102if(_11b===CFPropertyList.Format280North_v1_0){ 1103return _11c(_11a); 1104} 1105return NULL; 1106}; 1107var _ec="A",_ed="D",_ee="f",_ef="d",_f0="S",_f1="T",_f2="F",_f3="K",_f4="E"; 1108function _11c(_11d){ 1109var _11e=new _11f(_11d),_120=NULL,key="",_121=NULL,_122=NULL,_123=[],_124=NULL; 1110while(_120=_11e.getMarker()){ 1111if(_120===_f4){ 1112_123.pop(); 1113continue; 1114} 1115var _125=_123.length; 1116if(_125){ 1117_124=_123[_125-1]; 1118} 1119if(_120===_f3){ 1120key=_11e.getString(); 1121_120=_11e.getMarker(); 1122} 1123switch(_120){ 1124case _ec: 1125_121=[]; 1126_123.push(_121); 1127break; 1128case _ed: 1129_121=new CFMutableDictionary(); 1130_123.push(_121); 1131break; 1132case _ee: 1133_121=parseFloat(_11e.getString()); 1134break; 1135case _ef: 1136_121=parseInt(_11e.getString(),10); 1137break; 1138case _f0: 1139_121=_11e.getString(); 1140break; 1141case _f1: 1142_121=YES; 1143break; 1144case _f2: 1145_121=NO; 1146break; 1147default: 1148throw new Error("*** "+_120+" marker not recognized in Plist."); 1149} 1150if(!_122){ 1151_122=_121; 1152}else{ 1153if(_124){ 1154if(_124.slice){ 1155_124.push(_121); 1156}else{ 1157_124.setValueForKey(key,_121); 1158} 1159} 1160} 1161} 1162return _122; 1163}; 1164function _de(_126){ 1165return ((((_126.replace(/&/g,"&")).replace(/"/g,""")).replace(/'/g,"'")).replace(/</g,"<")).replace(/>/g,">"); 1166}; 1167function _127(_128){ 1168return ((((_128.replace(/"/g,"\"")).replace(/'/g,"'")).replace(/</g,"<")).replace(/>/g,">")).replace(/&/g,"&"); 1169}; 1170function _a5(_129){ 1171if(window.DOMParser){ 1172return (new window.DOMParser()).parseFromString(_129,"text/xml")&&((new window.DOMParser()).parseFromString(_129,"text/xml")).documentElement; 1173}else{ 1174if(window.ActiveXObject){ 1175XMLNode=new ActiveXObject("Microsoft.XMLDOM"); 1176var _12a=_129.match(CFPropertyList.DTDRE); 1177if(_12a){ 1178_129=_129.substr(_12a[0].length); 1179} 1180XMLNode.loadXML(_129); 1181return XMLNode; 1182} 1183} 1184return NULL; 1185}; 1186CFPropertyList.propertyListFromXML=function(_12b){ 1187var _12c=_12b;
1188if(_12b.valueOf&&typeof _12b.valueOf()==="string"){ 1189_12c=_a5(_12b); 1190} 1191while(_12c&&(String(_12c.nodeName)===_105||String(_12c.nodeName)===_104)){ 1192_12c=_12c.firstChild; 1193if(_12c!=NULL&&(_12c.nodeType===8||_12c.nodeType===3||_12c.nodeType===7)){ 1194while((_12c=_12c.nextSibling)&&(_12c.nodeType===8||_12c.nodeType===3||_12c.nodeType===7)){ 1195} 1196} 1197} 1198if(_12c&&_12c.nodeType===10){ 1199while((_12c=_12c.nextSibling)&&(_12c.nodeType===8||_12c.nodeType===3||_12c.nodeType===7)){ 1200} 1201} 1202if(!_12c||!(String(_12c.nodeName)===_106)){ 1203return NULL; 1204} 1205var key="",_12d=NULL,_12e=NULL,_12f=_12c,_130=[],_131=NULL; 1206while(_12c=_114(_12c,_12f,_130)){ 1207var _132=_130.length; 1208if(_132){ 1209_131=_130[_132-1]; 1210} 1211if(String(_12c.nodeName)===_107){ 1212key=_12c.textContent||_12c.textContent!==""&&_111([_12c]); 1213while((_12c=_12c.nextSibling)&&(_12c.nodeType===8||_12c.nodeType===3||_12c.nodeType===7)){ 1214} 1215} 1216switch(String(String(_12c.nodeName))){ 1217case _109: 1218_12d=[]; 1219_130.push(_12d); 1220break; 1221case _108: 1222_12d=new CFMutableDictionary(); 1223_130.push(_12d); 1224break; 1225case _10e: 1226_12d=parseFloat(_12c.textContent||_12c.textContent!==""&&_111([_12c])); 1227break; 1228case _10f: 1229_12d=parseInt(_12c.textContent||_12c.textContent!==""&&_111([_12c]),10); 1230break; 1231case _10a: 1232if(_12c.getAttribute("type")==="base64"){ 1233_12d=_12c.firstChild?CFData.decodeBase64ToString(_12c.textContent||_12c.textContent!==""&&_111([_12c])):""; 1234}else{ 1235_12d=_127(_12c.firstChild?_12c.textContent||_12c.textContent!==""&&_111([_12c]):""); 1236} 1237break; 1238case _10b: 1239var _133=Date.parseISO8601(_12c.textContent||_12c.textContent!==""&&_111([_12c])); 1240_12d=isNaN(_133)?new Date():new Date(_133); 1241break; 1242case _10c: 1243_12d=YES; 1244break; 1245case _10d: 1246_12d=NO; 1247break; 1248case _110: 1249_12d=new CFMutableData(); 1250var _134=_12c.firstChild?CFData.decodeBase64ToArray(_12c.textContent||_12c.textContent!==""&&_111([_12c]),YES):[]; 1251_12d.setBytes(_134); 1252break; 1253default: 1254throw new Error("*** "+String(_12c.nodeName)+" tag not recognized in Plist."); 1255} 1256if(!_12e){ 1257_12e=_12d; 1258}else{ 1259if(_131){ 1260if(_131.slice){ 1261_131.push(_12d); 1262}else{ 1263_131.setValueForKey(key,_12d); 1264} 1265} 1266} 1267} 1268return _12e; 1269}; 1270kCFPropertyListOpenStepFormat=CFPropertyList.FormatOpenStep; 1271kCFPropertyListXMLFormat_v1_0=CFPropertyList.FormatXML_v1_0; 1272kCFPropertyListBinaryFormat_v1_0=CFPropertyList.FormatBinary_v1_0; 1273kCFPropertyList280NorthFormat_v1_0=CFPropertyList.Format280North_v1_0; 1274CFPropertyListCreate=function(){ 1275return new CFPropertyList(); 1276}; 1277CFPropertyListCreateFromXMLData=function(data){ 1278return CFPropertyList.propertyListFromData(data,CFPropertyList.FormatXML_v1_0); 1279}; 1280CFPropertyListCreateXMLData=function(_135){ 1281return CFPropertyList.dataFromPropertyList(_135,CFPropertyList.FormatXML_v1_0); 1282}; 1283CFPropertyListCreateFrom280NorthData=function(data){ 1284return CFPropertyList.propertyListFromData(data,CFPropertyList.Format280North_v1_0); 1285}; 1286CFPropertyListCreate280NorthData=function(_136){ 1287return CFPropertyList.dataFromPropertyList(_136,CFPropertyList.Format280North_v1_0); 1288}; 1289CPPropertyListCreateFromData=function(data,_137){ 1290return CFPropertyList.propertyListFromData(data,_137); 1291}; 1292CPPropertyListCreateData=function(_138,_139){ 1293return CFPropertyList.dataFromPropertyList(_138,_139); 1294}; 1295CFDictionary=function(_13a){ 1296this._keys=[]; 1297this._count=0; 1298this._buckets={}; 1299this._UID=objj_generateObjectUID(); 1300}; 1301var _13b=Array.prototype.indexOf,_85=Object.prototype.hasOwnProperty; 1302CFDictionary.prototype.copy=function(){ 1303return this; 1304}; 1305CFDictionary.prototype.mutableCopy=function(){ 1306var _13c=new CFMutableDictionary(),keys=this._keys,_13d=this._count; 1307_13c._keys=keys.slice(); 1308_13c._count=_13d; 1309var _13e=0,_13f=this._buckets,_140=_13c._buckets; 1310for(;_13e<_13d;++_13e){ 1311var key=keys[_13e]; 1312_140[key]=_13f[key]; 1313} 1314return _13c; 1315}; 1316CFDictionary.prototype.containsKey=function(aKey){ 1317return _85.apply(this._buckets,[aKey]); 1318}; 1319CFDictionary.prototype.containsValue=function(_141){ 1320var keys=this._keys,_142=this._buckets,_a0=0,_143=keys.length; 1321for(;_a0<_143;++_a0){ 1322if(_142[keys[_a0]]===_141){ 1323return YES; 1324} 1325} 1326return NO; 1327}; 1328CFDictionary.prototype.count=function(){ 1329return this._count; 1330}; 1331CFDictionary.prototype.countOfKey=function(aKey){ 1332return this.containsKey(aKey)?1:0; 1333}; 1334CFDictionary.prototype.countOfValue=function(_144){ 1335var keys=this._keys,_145=this._buckets,_a0=0,_146=keys.length,_147=0; 1336for(;_a0<_146;++_a0){ 1337if(_145[keys[_a0]]===_144){ 1338++_147; 1339} 1340} 1341return _147; 1342}; 1343CFDictionary.prototype.keys=function(){ 1344return this._keys.slice(); 1345}; 1346CFDictionary.prototype.valueForKey=function(aKey){ 1347var _148=this._buckets; 1348if(!_85.apply(_148,[aKey])){ 1349return nil; 1350} 1351return _148[aKey]; 1352}; 1353CFDictionary.prototype.toString=function(){ 1354var _149="{\n",keys=this._keys,_a0=0,_14a=this._count; 1355for(;_a0<_14a;++_a0){ 1356var key=keys[_a0]; 1357_149+="\t"+key+" = \""+((String(this.valueForKey(key))).split("\n")).join("\n\t")+"\"\n"; 1358} 1359return _149+"}"; 1360}; 1361CFMutableDictionary=function(_14b){ 1362CFDictionary.apply(this,[]); 1363}; 1364CFMutableDictionary.prototype=new CFDictionary(); 1365CFMutableDictionary.prototype.copy=function(){ 1366return this.mutableCopy(); 1367}; 1368CFMutableDictionary.prototype.addValueForKey=function(aKey,_14c){ 1369if(this.containsKey(aKey)){ 1370return; 1371} 1372++this._count; 1373this._keys.push(aKey); 1374this._buckets[aKey]=_14c; 1375}; 1376CFMutableDictionary.prototype.removeValueForKey=function(aKey){ 1377var _14d=-1; 1378if(_13b){ 1379_14d=_13b.call(this._keys,aKey); 1380}else{ 1381var keys=this._keys,_a0=0,_14e=keys.length; 1382for(;_a0<_14e;++_a0){ 1383if(keys[_a0]===aKey){ 1384_14d=_a0; 1385break; 1386} 1387} 1388} 1389if(_14d===-1){ 1390return; 1391} 1392--this._count; 1393this._keys.splice(_14d,1); 1394delete this._buckets[aKey]; 1395}; 1396CFMutableDictionary.prototype.removeAllValues=function(){ 1397this._count=0; 1398this._keys=[]; 1399this._buckets={}; 1400}; 1401CFMutableDictionary.prototype.replaceValueForKey=function(aKey,_14f){ 1402if(!this.containsKey(aKey)){ 1403return; 1404} 1405this._buckets[aKey]=_14f; 1406}; 1407CFMutableDictionary.prototype.setValueForKey=function(aKey,_150){ 1408if(_150===nil||_150===_32){ 1409this.removeValueForKey(aKey); 1410}else{ 1411if(this.containsKey(aKey)){ 1412this.replaceValueForKey(aKey,_150); 1413}else{ 1414this.addValueForKey(aKey,_150); 1415} 1416} 1417}; 1418kCFErrorLocalizedDescriptionKey="CPLocalizedDescription"; 1419kCFErrorLocalizedFailureReasonKey="CPLocalizedFailureReason"; 1420kCFErrorLocalizedRecoverySuggestionKey="CPLocalizedRecoverySuggestion"; 1421kCFErrorDescriptionKey="CPDescription"; 1422kCFErrorUnderlyingErrorKey="CPUnderlyingError";
1423kCFErrorURLKey="CPURL"; 1424kCFErrorFilePathKey="CPFilePath"; 1425kCFErrorDomainCappuccino="CPCappuccinoErrorDomain"; 1426kCFErrorDomainCocoa=kCFErrorDomainCappuccino; 1427CFError=function(_151,code,_152){ 1428this._domain=_151||NULL; 1429this._code=code||0; 1430this._userInfo=_152||new CFDictionary(); 1431this._UID=objj_generateObjectUID(); 1432}; 1433CFError.prototype.domain=function(){ 1434return this._domain; 1435}; 1436CFError.prototype.code=function(){ 1437return this._code; 1438}; 1439CFError.prototype.description=function(){ 1440var _153=this._userInfo.valueForKey(kCFErrorLocalizedDescriptionKey); 1441if(_153){ 1442return _153; 1443} 1444var _154=this._userInfo.valueForKey(kCFErrorLocalizedFailureReasonKey); 1445if(_154){ 1446var _155="The operation couldnât be completed. "+_154; 1447return _155; 1448} 1449var _156="",desc=this._userInfo.valueForKey(kCFErrorDescriptionKey); 1450if(desc){ 1451var _156="The operation couldnât be completed. (error "+this._code+" - "+desc+")"; 1452}else{ 1453var _156="The operation couldnât be completed. (error "+this._code+")"; 1454} 1455return _156; 1456}; 1457CFError.prototype.failureReason=function(){ 1458return this._userInfo.valueForKey(kCFErrorLocalizedFailureReasonKey); 1459}; 1460CFError.prototype.recoverySuggestion=function(){ 1461return this._userInfo.valueForKey(kCFErrorLocalizedRecoverySuggestionKey); 1462}; 1463CFError.prototype.userInfo=function(){ 1464return this._userInfo; 1465}; 1466CFErrorCreate=function(_157,code,_158){ 1467return new CFError(_157,code,_158); 1468}; 1469CFErrorCreateWithUserInfoKeysAndValues=function(_159,code,_15a,_15b,_15c){ 1470var _15d=new CFMutableDictionary(); 1471while(_15c--){ 1472_15d.setValueForKey(_15a[_15c],_15b[_15c]); 1473} 1474return new CFError(_159,code,_15d); 1475}; 1476CFErrorGetCode=function(err){ 1477return err.code(); 1478}; 1479CFErrorGetDomain=function(err){ 1480return err.domain(); 1481}; 1482CFErrorCopyDescription=function(err){ 1483return err.description(); 1484}; 1485CFErrorCopyUserInfo=function(err){ 1486return err.userInfo(); 1487}; 1488CFErrorCopyFailureReason=function(err){ 1489return err.failureReason(); 1490}; 1491CFErrorCopyRecoverySuggestion=function(err){ 1492return err.recoverySuggestion(); 1493}; 1494kCFURLErrorUnknown=-998; 1495kCFURLErrorCancelled=-999; 1496kCFURLErrorBadURL=-1000; 1497kCFURLErrorTimedOut=-1001; 1498kCFURLErrorUnsupportedURL=-1002; 1499kCFURLErrorCannotFindHost=-1003; 1500kCFURLErrorCannotConnectToHost=-1004; 1501kCFURLErrorNetworkConnectionLost=-1005; 1502kCFURLErrorDNSLookupFailed=-1006; 1503kCFURLErrorHTTPTooManyRedirects=-1007; 1504kCFURLErrorResourceUnavailable=-1008; 1505kCFURLErrorNotConnectedToInternet=-1009; 1506kCFURLErrorRedirectToNonExistentLocation=-1010; 1507kCFURLErrorBadServerResponse=-1011; 1508kCFURLErrorUserCancelledAuthentication=-1012; 1509kCFURLErrorUserAuthenticationRequired=-1013; 1510kCFURLErrorZeroByteResource=-1014; 1511kCFURLErrorCannotDecodeRawData=-1015; 1512kCFURLErrorCannotDecodeContentData=-1016; 1513kCFURLErrorCannotParseResponse=-1017; 1514kCFURLErrorRequestBodyStreamExhausted=-1021; 1515kCFURLErrorFileDoesNotExist=-1100; 1516kCFURLErrorFileIsDirectory=-1101; 1517kCFURLErrorNoPermissionsToReadFile=-1102; 1518kCFURLErrorDataLengthExceedsMaximum=-1103; 1519CFData=function(){ 1520this._rawString=NULL; 1521this._propertyList=NULL; 1522this._propertyListFormat=NULL; 1523this._JSONObject=NULL; 1524this._bytes=NULL; 1525this._base64=NULL; 1526}; 1527CFData.prototype.propertyList=function(){ 1528if(!this._propertyList){ 1529this._propertyList=CFPropertyList.propertyListFromString(this.rawString()); 1530} 1531return this._propertyList; 1532}; 1533CFData.prototype.JSONObject=function(){ 1534if(!this._JSONObject){ 1535try{ 1536this._JSONObject=JSON.parse(this.rawString()); 1537} 1538catch(anException){ 1539} 1540} 1541return this._JSONObject; 1542}; 1543CFData.prototype.rawString=function(){ 1544if(this._rawString===NULL){ 1545if(this._propertyList){ 1546this._rawString=CFPropertyList.stringFromPropertyList(this._propertyList,this._propertyListFormat); 1547}else{ 1548if(this._JSONObject){ 1549this._rawString=JSON.stringify(this._JSONObject); 1550}else{ 1551if(this._bytes){ 1552this._rawString=CFData.bytesToString(this._bytes); 1553}else{ 1554if(this._base64){ 1555this._rawString=CFData.decodeBase64ToString(this._base64,true); 1556}else{ 1557throw new Error("Can't convert data to string."); 1558} 1559} 1560} 1561} 1562} 1563return this._rawString; 1564}; 1565CFData.prototype.bytes=function(){ 1566if(this._bytes===NULL){ 1567var _15e=CFData.stringToBytes(this.rawString()); 1568this.setBytes(_15e); 1569} 1570return this._bytes; 1571}; 1572CFData.prototype.base64=function(){ 1573if(this._base64===NULL){ 1574var _15f; 1575if(this._bytes){ 1576_15f=CFData.encodeBase64Array(this._bytes); 1577}else{ 1578_15f=CFData.encodeBase64String(this.rawString()); 1579} 1580this.setBase64String(_15f); 1581} 1582return this._base64; 1583}; 1584CFMutableData=function(){ 1585CFData.call(this); 1586}; 1587CFMutableData.prototype=new CFData(); 1588function _160(_161){ 1589this._rawString=NULL; 1590this._propertyList=NULL; 1591this._propertyListFormat=NULL; 1592this._JSONObject=NULL; 1593this._bytes=NULL; 1594this._base64=NULL; 1595}; 1596CFMutableData.prototype.setPropertyList=function(_162,_163){ 1597_160(this); 1598this._propertyList=_162; 1599this._propertyListFormat=_163; 1600}; 1601CFMutableData.prototype.setJSONObject=function(_164){ 1602_160(this); 1603this._JSONObject=_164; 1604}; 1605CFMutableData.prototype.setRawString=function(_165){ 1606_160(this); 1607this._rawString=_165; 1608}; 1609CFMutableData.prototype.setBytes=function(_166){ 1610_160(this); 1611this._bytes=_166; 1612}; 1613CFMutableData.prototype.setBase64String=function(_167){ 1614_160(this); 1615this._base64=_167; 1616}; 1617var _168=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/","="],_169=[]; 1618for(var i=0;i<_168.length;i++){
1619_169[_168[i].charCodeAt(0)]=i; 1620} 1621CFData.decodeBase64ToArray=function(_16a,_16b){ 1622if(_16b){ 1623_16a=_16a.replace(/[^A-Za-z0-9\+\/\=]/g,""); 1624} 1625var pad=(_16a[_16a.length-1]=="="?1:0)+(_16a[_16a.length-2]=="="?1:0),_16c=_16a.length,_16d=[]; 1626var i=0; 1627while(i<_16c){ 1628var bits=_169[_16a.charCodeAt(i++)]<<18|_169[_16a.charCodeAt(i++)]<<12|_169[_16a.charCodeAt(i++)]<<6|_169[_16a.charCodeAt(i++)]; 1629_16d.push((bits&16711680)>>16); 1630_16d.push((bits&65280)>>8); 1631_16d.push(bits&255); 1632} 1633if(pad>0){ 1634return _16d.slice(0,-1*pad); 1635} 1636return _16d; 1637}; 1638CFData.encodeBase64Array=function(_16e){ 1639var pad=(3-_16e.length%3)%3,_16f=_16e.length+pad,_170=[]; 1640if(pad>0){ 1641_16e.push(0); 1642} 1643if(pad>1){ 1644_16e.push(0); 1645} 1646var i=0; 1647while(i<_16f){ 1648var bits=_16e[i++]<<16|_16e[i++]<<8|_16e[i++]; 1649_170.push(_168[(bits&16515072)>>18]); 1650_170.push(_168[(bits&258048)>>12]); 1651_170.push(_168[(bits&4032)>>6]); 1652_170.push(_168[bits&63]); 1653} 1654if(pad>0){ 1655_170[_170.length-1]="="; 1656_16e.pop(); 1657} 1658if(pad>1){ 1659_170[_170.length-2]="="; 1660_16e.pop(); 1661} 1662return _170.join(""); 1663}; 1664CFData.decodeBase64ToString=function(_171,_172){ 1665return CFData.bytesToString(CFData.decodeBase64ToArray(_171,_172)); 1666}; 1667CFData.decodeBase64ToUtf16String=function(_173,_174){ 1668return CFData.bytesToUtf16String(CFData.decodeBase64ToArray(_173,_174)); 1669}; 1670CFData.bytesToString=function(_175){ 1671return String.fromCharCode.apply(NULL,_175); 1672}; 1673CFData.stringToBytes=function(_176){ 1674var temp=[]; 1675for(var i=0;i<_176.length;i++){ 1676temp.push(_176.charCodeAt(i)); 1677} 1678return temp; 1679}; 1680CFData.encodeBase64String=function(_177){ 1681var temp=[]; 1682for(var i=0;i<_177.length;i++){ 1683temp.push(_177.charCodeAt(i)); 1684} 1685return CFData.encodeBase64Array(temp); 1686}; 1687CFData.bytesToUtf16String=function(_178){ 1688var temp=[]; 1689for(var i=0;i<_178.length;i+=2){ 1690temp.push(_178[i+1]<<8|_178[i]); 1691} 1692return String.fromCharCode.apply(NULL,temp); 1693}; 1694CFData.encodeBase64Utf16String=function(_179){ 1695var temp=[]; 1696for(var i=0;i<_179.length;i++){ 1697var c=_179.charCodeAt(i); 1698temp.push(c&255); 1699temp.push((c&65280)>>8); 1700} 1701return CFData.encodeBase64Array(temp); 1702}; 1703var _17a,_17b,_17c=0; 1704function _17d(){ 1705if(++_17c!==1){ 1706return; 1707} 1708_17a={}; 1709_17b={}; 1710}; 1711function _17e(){ 1712_17c=MAX(_17c-1,0); 1713if(_17c!==0){ 1714return; 1715} 1716delete _17a; 1717delete _17b; 1718}; 1719var _17f=new RegExp("^"+"(?:"+"([^:/?#]+):"+")?"+"(?:"+"(//)"+"("+"(?:"+"("+"([^:@]*)"+":?"+"([^:@]*)"+")?"+"@"+")?"+"([^:/?#]*)"+"(?::(\\d*))?"+")"+")?"+"([^?#]*)"+"(?:\\?([^#]*))?"+"(?:#(.*))?"); 1720var _180=["url","scheme","authorityRoot","authority","userInfo","user","password","domain","portNumber","path","queryString","fragment"]; 1721function _181(aURL){ 1722if(aURL._parts){ 1723return aURL._parts; 1724} 1725var _182=aURL.string(),_183=_182.match(/^mhtml:/); 1726if(_183){ 1727_182=_182.substr("mhtml:".length); 1728} 1729if(_17c>0&&_85.call(_17b,_182)){ 1730aURL._parts=_17b[_182]; 1731return aURL._parts; 1732} 1733aURL._parts={}; 1734var _184=aURL._parts,_185=_17f.exec(_182),_a0=_185.length; 1735while(_a0--){ 1736_184[_180[_a0]]=_185[_a0]||NULL; 1737} 1738_184.portNumber=parseInt(_184.portNumber,10); 1739if(isNaN(_184.portNumber)){ 1740_184.portNumber=-1; 1741} 1742_184.pathComponents=[]; 1743if(_184.path){ 1744var _186=_184.path.split("/"),_187=_184.pathComponents,_188=_186.length; 1745for(_a0=0;_a0<_188;++_a0){ 1746var _189=_186[_a0]; 1747if(_189){ 1748_187.push(_189); 1749}else{ 1750if(_a0===0){ 1751_187.push("/"); 1752} 1753} 1754} 1755_184.pathComponents=_187; 1756} 1757if(_183){ 1758_184.url="mhtml:"+_184.url; 1759_184.scheme="mhtml:"+_184.scheme; 1760} 1761if(_17c>0){ 1762_17b[_182]=_184; 1763} 1764return _184; 1765}; 1766CFURL=function(aURL,_18a){ 1767aURL=aURL||""; 1768if(aURL instanceof CFURL){ 1769if(!_18a){ 1770return new CFURL(aURL.absoluteString()); 1771} 1772var _18b=aURL.baseURL(); 1773if(_18b){ 1774_18a=new CFURL(_18b.absoluteURL(),_18a); 1775} 1776aURL=aURL.string(); 1777} 1778if(_17c>0){ 1779var _18c=aURL+" "+(_18a&&_18a.UID()||""); 1780if(_85.call(_17a,_18c)){ 1781return _17a[_18c]; 1782} 1783_17a[_18c]=this; 1784} 1785if(aURL.match(/^data:/)){ 1786var _18d={},_a0=_180.length; 1787while(_a0--){ 1788_18d[_180[_a0]]=""; 1789} 1790_18d.url=aURL; 1791_18d.scheme="data"; 1792_18d.pathComponents=[]; 1793this._parts=_18d; 1794this._standardizedURL=this; 1795this._absoluteURL=this; 1796} 1797this._UID=objj_generateObjectUID(); 1798this._string=aURL; 1799this._baseURL=_18a; 1800}; 1801CFURL.prototype.UID=function(){ 1802return this._UID; 1803}; 1804var _18e={}; 1805CFURL.prototype.mappedURL=function(){ 1806return _18e[this.absoluteString()]||this; 1807}; 1808CFURL.setMappedURLForURL=function(_18f,_190){ 1809_18e[_18f.absoluteString()]=_190; 1810}; 1811CFURL.prototype.schemeAndAuthority=function(){ 1812var _191="",_192=this.scheme(); 1813if(_192){ 1814_191+=_192+":"; 1815} 1816var _193=this.authority(); 1817if(_193){ 1818_191+="//"+_193; 1819} 1820return _191; 1821}; 1822CFURL.prototype.absoluteString=function(){ 1823if(this._absoluteString===_32){ 1824this._absoluteString=(this.absoluteURL()).string(); 1825} 1826return this._absoluteString; 1827}; 1828CFURL.prototype.toString=function(){ 1829return this.absoluteString(); 1830}; 1831function _194(aURL){ 1832aURL=aURL.standardizedURL(); 1833var _195=aURL.baseURL(); 1834if(!_195){ 1835return aURL; 1836} 1837var _196=aURL._parts||_181(aURL),_197,_198=_195.absoluteURL(),_199=_198._parts||_181(_198); 1838if(!_196.scheme&&_196.authorityRoot){ 1839_197=_19a(_196); 1840_197.scheme=_195.scheme(); 1841}else{ 1842if(_196.scheme||_196.authority){ 1843_197=_196; 1844}else{ 1845_197={}; 1846_197.scheme=_199.scheme; 1847_197.authority=_199.authority; 1848_197.userInfo=_199.userInfo; 1849_197.user=_199.user; 1850_197.password=_199.password; 1851_197.domain=_199.domain; 1852_197.portNumber=_199.portNumber; 1853_197.queryString=_196.queryString; 1854_197.fragment=_196.fragment; 1855var _19b=_196.pathComponents; 1856if(_19b.length&&_19b[0]==="/"){ 1857_197.path=_196.path; 1858_197.pathComponents=_19b; 1859}else{ 1860var _19c=_199.pathComponents,_19d=_19c.concat(_19b); 1861if(!_195.hasDirectoryPath()&&_19c.length){ 1862_19d.splice(_19c.length-1,1); 1863} 1864if(_19b.length&&(_19b[0]===".."||_19b[0]===".")){ 1865_19e(_19d,YES); 1866} 1867_197.pathComponents=_19d; 1868_197.path=_19f(_19d,_19b.length<=0||aURL.hasDirectoryPath()); 1869} 1870} 1871} 1872var _1a0=_1a1(_197),_1a2=new CFURL(_1a0); 1873_1a2._parts=_197; 1874_1a2._standardizedURL=_1a2; 1875_1a2._standardizedString=_1a0; 1876_1a2._absoluteURL=_1a2; 1877_1a2._absoluteString=_1a0; 1878return _1a2; 1879}; 1880function _19f(_1a3,_1a4){ 1881var path=_1a3.join("/"); 1882if(path.length&&path.charAt(0)==="/"){ 1883path=path.substr(1); 1884} 1885if(_1a4){ 1886path+="/"; 1887} 1888return path; 1889};
1890function _19e(_1a5,_1a6){ 1891var _1a7=0,_1a8=0,_1a9=_1a5.length,_1aa=_1a6?_1a5:[],_1ab=NO; 1892for(;_1a7<_1a9;++_1a7){ 1893var _1ac=_1a5[_1a7]; 1894if(_1ac===""){ 1895continue; 1896} 1897if(_1ac==="."){ 1898_1ab=_1a8===0; 1899continue; 1900} 1901if(_1ac!==".."||_1a8===0||_1aa[_1a8-1]===".."){ 1902_1aa[_1a8]=_1ac; 1903_1a8++; 1904continue; 1905} 1906if(_1a8>0&&_1aa[_1a8-1]!=="/"){ 1907--_1a8; 1908} 1909} 1910if(_1ab&&_1a8===0){ 1911_1aa[_1a8++]="."; 1912} 1913_1aa.length=_1a8; 1914return _1aa; 1915}; 1916function _1a1(_1ad){ 1917var _1ae="",_1af=_1ad.scheme; 1918if(_1af){ 1919_1ae+=_1af+":"; 1920} 1921var _1b0=_1ad.authority; 1922if(_1b0){ 1923_1ae+="//"+_1b0; 1924} 1925_1ae+=_1ad.path; 1926var _1b1=_1ad.queryString; 1927if(_1b1){ 1928_1ae+="?"+_1b1; 1929} 1930var _1b2=_1ad.fragment; 1931if(_1b2){ 1932_1ae+="#"+_1b2; 1933} 1934return _1ae; 1935}; 1936CFURL.prototype.absoluteURL=function(){ 1937if(this._absoluteURL===_32){ 1938this._absoluteURL=_194(this); 1939} 1940return this._absoluteURL; 1941}; 1942CFURL.prototype.standardizedURL=function(){ 1943if(this._standardizedURL===_32){ 1944var _1b3=this._parts||_181(this),_1b4=_1b3.pathComponents,_1b5=_19e(_1b4,NO); 1945var _1b6=_19f(_1b5,this.hasDirectoryPath()); 1946if(_1b3.path===_1b6){ 1947this._standardizedURL=this; 1948}else{ 1949var _1b7=_19a(_1b3); 1950_1b7.pathComponents=_1b5; 1951_1b7.path=_1b6; 1952var _1b8=new CFURL(_1a1(_1b7),this.baseURL()); 1953_1b8._parts=_1b7; 1954_1b8._standardizedURL=_1b8; 1955this._standardizedURL=_1b8; 1956} 1957} 1958return this._standardizedURL; 1959}; 1960function _19a(_1b9){ 1961var _1ba={},_1bb=_180.length; 1962while(_1bb--){ 1963var _1bc=_180[_1bb]; 1964_1ba[_1bc]=_1b9[_1bc]; 1965} 1966return _1ba; 1967}; 1968CFURL.prototype.string=function(){ 1969return this._string; 1970}; 1971CFURL.prototype.authority=function(){ 1972var _1bd=(this._parts||_181(this)).authority; 1973if(_1bd){ 1974return _1bd; 1975} 1976var _1be=this.baseURL(); 1977return _1be&&_1be.authority()||""; 1978}; 1979CFURL.prototype.hasDirectoryPath=function(){ 1980var _1bf=this._hasDirectoryPath; 1981if(_1bf===_32){ 1982var path=this.path(); 1983if(!path){ 1984return NO; 1985} 1986if(path.charAt(path.length-1)==="/"){ 1987return YES; 1988} 1989var _1c0=this.lastPathComponent(); 1990_1bf=_1c0==="."||_1c0===".."; 1991this._hasDirectoryPath=_1bf; 1992} 1993return _1bf; 1994}; 1995CFURL.prototype.hostName=function(){ 1996return this.authority(); 1997}; 1998CFURL.prototype.fragment=function(){ 1999return (this._parts||_181(this)).fragment; 2000}; 2001CFURL.prototype.lastPathComponent=function(){ 2002if(this._lastPathComponent===_32){ 2003var _1c1=this.pathComponents(),_1c2=_1c1.length; 2004if(!_1c2){ 2005this._lastPathComponent=""; 2006}else{ 2007this._lastPathComponent=_1c1[_1c2-1]; 2008} 2009} 2010return this._lastPathComponent; 2011}; 2012CFURL.prototype.path=function(){ 2013return (this._parts||_181(this)).path; 2014}; 2015CFURL.prototype.createCopyDeletingLastPathComponent=function(){ 2016var _1c3=this._parts||_181(this),_1c4=_19e(_1c3.pathComponents,NO); 2017if(_1c4.length>0){ 2018if(_1c4.length>1||_1c4[0]!=="/"){ 2019_1c4.pop(); 2020} 2021} 2022var _1c5=_1c4.length===1&&_1c4[0]==="/"; 2023_1c3.pathComponents=_1c4; 2024_1c3.path=_1c5?"/":_19f(_1c4,NO); 2025return new CFURL(_1a1(_1c3)); 2026}; 2027CFURL.prototype.pathComponents=function(){ 2028return (this._parts||_181(this)).pathComponents; 2029}; 2030CFURL.prototype.pathExtension=function(){ 2031var _1c6=this.lastPathComponent(); 2032if(!_1c6){ 2033return NULL; 2034} 2035_1c6=_1c6.replace(/^\.*/,""); 2036var _1c7=_1c6.lastIndexOf("."); 2037return _1c7<=0?"":_1c6.substring(_1c7+1); 2038}; 2039CFURL.prototype.queryString=function(){ 2040return (this._parts||_181(this)).queryString; 2041}; 2042CFURL.prototype.scheme=function(){ 2043var _1c8=this._scheme; 2044if(_1c8===_32){ 2045_1c8=(this._parts||_181(this)).scheme; 2046if(!_1c8){ 2047var _1c9=this.baseURL(); 2048_1c8=_1c9&&_1c9.scheme(); 2049} 2050this._scheme=_1c8; 2051} 2052return _1c8; 2053}; 2054CFURL.prototype.user=function(){ 2055return (this._parts||_181(this)).user; 2056}; 2057CFURL.prototype.password=function(){ 2058return (this._parts||_181(this)).password; 2059}; 2060CFURL.prototype.portNumber=function(){ 2061return (this._parts||_181(this)).portNumber; 2062}; 2063CFURL.prototype.domain=function(){ 2064return (this._parts||_181(this)).domain; 2065}; 2066CFURL.prototype.baseURL=function(){ 2067return this._baseURL; 2068}; 2069CFURL.prototype.asDirectoryPathURL=function(){ 2070if(this.hasDirectoryPath()){ 2071return this; 2072} 2073var _1ca=this.lastPathComponent(); 2074if(_1ca!=="/"){ 2075_1ca="./"+_1ca; 2076} 2077return new CFURL(_1ca+"/",this); 2078}; 2079function _1cb(aURL){ 2080if(!aURL._resourcePropertiesForKeys){ 2081aURL._resourcePropertiesForKeys=new CFMutableDictionary(); 2082} 2083return aURL._resourcePropertiesForKeys; 2084}; 2085CFURL.prototype.resourcePropertyForKey=function(aKey){ 2086return (_1cb(this)).valueForKey(aKey); 2087}; 2088CFURL.prototype.setResourcePropertyForKey=function(aKey,_1cc){ 2089(_1cb(this)).setValueForKey(aKey,_1cc); 2090}; 2091CFURL.prototype.staticResourceData=function(){ 2092var data=new CFMutableData(); 2093data.setRawString((_1cd.resourceAtURL(this)).contents()); 2094return data; 2095}; 2096function _11f(_1ce){ 2097this._string=_1ce; 2098var _1cf=_1ce.indexOf(";"); 2099this._magicNumber=_1ce.substr(0,_1cf); 2100this._location=_1ce.indexOf(";",++_1cf); 2101this._version=_1ce.substring(_1cf,this._location++); 2102}; 2103_11f.prototype.magicNumber=function(){ 2104return this._magicNumber; 2105}; 2106_11f.prototype.version=function(){ 2107return this._version; 2108}; 2109_11f.prototype.getMarker=function(){ 2110var _1d0=this._string,_1d1=this._location; 2111if(_1d1>=_1d0.length){ 2112return null; 2113} 2114var next=_1d0.indexOf(";",_1d1); 2115if(next<0){ 2116return null; 2117} 2118var _1d2=_1d0.substring(_1d1,next); 2119if(_1d2==="e"){ 2120return null; 2121} 2122this._location=next+1; 2123return _1d2; 2124}; 2125_11f.prototype.getString=function(){ 2126var _1d3=this._string,_1d4=this._location; 2127if(_1d4>=_1d3.length){ 2128return null; 2129} 2130var next=_1d3.indexOf(";",_1d4); 2131if(next<0){ 2132return null; 2133} 2134var size=parseInt(_1d3.substring(_1d4,next),10),text=_1d3.substr(next+1,size); 2135this._location=next+1+size; 2136return text; 2137};
2138var _1d5=0,_1d6=1<<0,_1d7=1<<1,_1d8=1<<2,_1d9=1<<3,_1da=1<<4,_1db=1<<5; 2139var _1dc={},_1dd={},_1de={},_1df=(new Date()).getTime(),_1e0=0,_1e1=0; 2140var _1e2="CPBundleDefaultBrowserLanguage",_1e3="CPBundleDefaultLanguage"; 2141CFBundle=function(aURL){ 2142aURL=(_1e4(aURL)).asDirectoryPathURL(); 2143var _1e5=aURL.absoluteString(),_1e6=_1dc[_1e5]; 2144if(_1e6){ 2145return _1e6; 2146} 2147_1dc[_1e5]=this; 2148this._bundleURL=aURL; 2149this._resourcesDirectoryURL=new CFURL("Resources/",aURL); 2150this._staticResource=NULL; 2151this._isValid=NO; 2152this._loadStatus=_1d5; 2153this._loadRequests=[]; 2154this._infoDictionary=new CFDictionary(); 2155this._eventDispatcher=new _80(this); 2156this._localizableStrings=[]; 2157this._loadedLanguage=NULL; 2158}; 2159CFBundle.environments=function(){ 2160return ["Browser","ObjJ"]; 2161}; 2162CFBundle.bundleContainingURL=function(aURL){ 2163aURL=new CFURL(".",_1e4(aURL)); 2164var _1e7,_1e8=aURL.absoluteString(); 2165while(!_1e7||_1e7!==_1e8){ 2166var _1e9=_1dc[_1e8]; 2167if(_1e9&&_1e9._isValid){ 2168return _1e9; 2169} 2170aURL=new CFURL("..",aURL); 2171_1e7=_1e8; 2172_1e8=aURL.absoluteString(); 2173} 2174return NULL; 2175}; 2176CFBundle.mainBundle=function(){ 2177return new CFBundle(_1ea); 2178}; 2179function _1eb(_1ec,_1ed){ 2180if(_1ed){ 2181_1dd[_1ec.name]=_1ed; 2182} 2183}; 2184function _1ee(){ 2185_1dc={}; 2186_1dd={}; 2187_1de={}; 2188_1e0=0; 2189_1e1=0; 2190}; 2191CFBundle.bundleForClass=function(_1ef){ 2192return _1dd[_1ef.name]||CFBundle.mainBundle(); 2193}; 2194CFBundle.bundleWithIdentifier=function(_1f0){ 2195return _1de[_1f0]||NULL; 2196}; 2197CFBundle.prototype.bundleURL=function(){ 2198return this._bundleURL.absoluteURL(); 2199}; 2200CFBundle.prototype.resourcesDirectoryURL=function(){ 2201return this._resourcesDirectoryURL; 2202}; 2203CFBundle.prototype.resourceURL=function(_1f1,_1f2,_1f3,_1f4){ 2204if(_1f2){ 2205_1f1=_1f1+"."+_1f2; 2206} 2207if(_1f4){ 2208_1f1=_1f4+_1f1; 2209} 2210if(_1f3){ 2211_1f1=_1f3+"/"+_1f1; 2212} 2213var _1f5=(new CFURL(_1f1,this.resourcesDirectoryURL())).mappedURL(); 2214return _1f5.absoluteURL(); 2215}; 2216CFBundle.prototype.mostEligibleEnvironmentURL=function(){ 2217if(this._mostEligibleEnvironmentURL===_32){ 2218this._mostEligibleEnvironmentURL=new CFURL(this.mostEligibleEnvironment()+".environment/",this.bundleURL()); 2219} 2220return this._mostEligibleEnvironmentURL; 2221}; 2222CFBundle.prototype.executableURL=function(){ 2223if(this._executableURL===_32){ 2224var _1f6=this.valueForInfoDictionaryKey("CPBundleExecutable"); 2225if(!_1f6){ 2226this._executableURL=NULL; 2227}else{ 2228this._executableURL=new CFURL(_1f6,this.mostEligibleEnvironmentURL()); 2229} 2230} 2231return this._executableURL; 2232}; 2233CFBundle.prototype.infoDictionary=function(){ 2234return this._infoDictionary; 2235}; 2236CFBundle.prototype.loadedLanguage=function(){ 2237return this._loadedLanguage; 2238}; 2239CFBundle.prototype.valueForInfoDictionaryKey=function(aKey){ 2240return this._infoDictionary.valueForKey(aKey); 2241}; 2242CFBundle.prototype.identifier=function(){ 2243return this._infoDictionary.valueForKey("CPBundleIdentifier"); 2244}; 2245CFBundle.prototype.hasSpritedImages=function(){ 2246var _1f7=this._infoDictionary.valueForKey("CPBundleEnvironmentsWithImageSprites")||[],_a0=_1f7.length,_1f8=this.mostEligibleEnvironment(); 2247while(_a0--){ 2248if(_1f7[_a0]===_1f8){ 2249return YES; 2250} 2251} 2252return NO; 2253}; 2254CFBundle.prototype.environments=function(){ 2255return this._infoDictionary.valueForKey("CPBundleEnvironments")||["ObjJ"]; 2256}; 2257CFBundle.prototype.mostEligibleEnvironment=function(_1f9){ 2258_1f9=_1f9||this.environments(); 2259var _1fa=CFBundle.environments(),_a0=0,_1fb=_1fa.length,_1fc=_1f9.length; 2260for(;_a0<_1fb;++_a0){ 2261var _1fd=0,_1fe=_1fa[_a0]; 2262for(;_1fd<_1fc;++_1fd){ 2263if(_1fe===_1f9[_1fd]){ 2264return _1fe; 2265} 2266} 2267} 2268return NULL; 2269}; 2270CFBundle.prototype.isLoading=function(){ 2271return this._loadStatus&_1d6; 2272}; 2273CFBundle.prototype.isLoaded=function(){ 2274return !!(this._loadStatus&_1db); 2275}; 2276CFBundle.prototype.load=function(_1ff){ 2277if(this._loadStatus!==_1d5){ 2278return; 2279} 2280this._loadStatus=_1d6|_1d7; 2281var self=this,_200=this.bundleURL(),_201=new CFURL("..",_200); 2282if(_201.absoluteString()===_200.absoluteString()){ 2283_201=_201.schemeAndAuthority(); 2284} 2285_1cd.resolveResourceAtURL(_201,YES,function(_202){ 2286var _203=_200.lastPathComponent(); 2287self._staticResource=_202._children[_203]||new _1cd(_200,_202,YES,NO); 2288function _204(_205){ 2289self._loadStatus&=~_1d7; 2290var _206=_205.request.responsePropertyList(); 2291self._isValid=!!_206||CFBundle.mainBundle()===self; 2292if(_206){ 2293self._infoDictionary=_206; 2294var _207=self._infoDictionary.valueForKey("CPBundleIdentifier"); 2295if(_207){ 2296_1de[_207]=self; 2297} 2298} 2299if(!self._infoDictionary){ 2300_209(self,new Error("Could not load bundle at \""+path+"\"")); 2301return; 2302} 2303if(self===CFBundle.mainBundle()&&self.valueForInfoDictionaryKey("CPAp
2303plicationSize")){ 2304_1e1=(self.valueForInfoDictionaryKey("CPApplicationSize")).valueForKey("executable")||0; 2305} 2306_24a(self); 2307_20d(self,_1ff); 2308}; 2309function _208(){ 2310self._isValid=CFBundle.mainBundle()===self; 2311self._loadStatus=_1d5; 2312_209(self,new Error("Could not load bundle at \""+self.bundleURL()+"\"")); 2313}; 2314new _c1(new CFURL("Info.plist",self.bundleURL()),_204,_208); 2315}); 2316}; 2317function _209(_20a,_20b){ 2318_20c(_20a._staticResource); 2319_20a._eventDispatcher.dispatchEvent({type:"error",error:_20b,bundle:_20a}); 2320}; 2321function _20d(_20e,_20f){ 2322if(!_20e.mostEligibleEnvironment()){ 2323return _210(); 2324} 2325_211(_20e,_212,_210,_213); 2326_214(_20e,_212,_210,_213); 2327_215(_20e,_212,_210,_213); 2328if(_20e._loadStatus===_1d6){ 2329return _212(); 2330} 2331function _210(_216){ 2332var _217=_20e._loadRequests,_218=_217.length; 2333while(_218--){ 2334_217[_218].abort(); 2335} 2336this._loadRequests=[]; 2337_20e._loadStatus=_1d5; 2338_209(_20e,_216||new Error("Could not recognize executable code format in Bundle "+_20e)); 2339}; 2340function _213(_219){ 2341if((typeof CPApp==="undefined"||!CPApp||!CPApp._finishedLaunching)&&typeof OBJJ_PROGRESS_CALLBACK==="function"){ 2342_1e0+=_219; 2343var _21a=_1e1?MAX(MIN(1,_1e0/_1e1),0):0; 2344OBJJ_PROGRESS_CALLBACK(_21a,_1e1,_20e.bundlePath()); 2345} 2346}; 2347function _212(){ 2348if(_20e._loadStatus===_1d6){ 2349_20e._loadStatus=_1db; 2350}else{ 2351return; 2352} 2353_20c(_20e._staticResource); 2354function _21b(){ 2355_20e._eventDispatcher.dispatchEvent({type:"load",bundle:_20e}); 2356}; 2357if(_20f){ 2358_21c(_20e,_21b); 2359}else{ 2360_21b(); 2361} 2362}; 2363}; 2364function _211(_21d,_21e,_21f,_220){ 2365var _221=_21d.executableURL(); 2366if(!_221){ 2367return; 2368} 2369_21d._loadStatus|=_1d8; 2370new _c1(_221,function(_222){ 2371try{ 2372_223(_21d,_222.request.responseText(),_221); 2373_21d._loadStatus&=~_1d8; 2374_21e(); 2375} 2376catch(anException){ 2377_21f(anException); 2378} 2379},_21f,_220); 2380}; 2381function _224(_225){ 2382return "mhtml:"+new CFURL("MHTMLTest.txt",_225.mostEligibleEnvironmentURL()); 2383}; 2384function _226(_227){ 2385if(_228===_229){ 2386return new CFURL("dataURLs.txt",_227.mostEligibleEnvironmentURL()); 2387} 2388if(_228===_22a||_228===_22b){ 2389return new CFURL("MHTMLPaths.txt",_227.mostEligibleEnvironmentURL()); 2390} 2391return NULL; 2392}; 2393function _214(_22c,_22d,_22e,_22f){ 2394if(!_22c.hasSpritedImages()){ 2395return; 2396} 2397_22c._loadStatus|=_1d9; 2398if(!_230()){ 2399return _231(_224(_22c),function(){ 2400_214(_22c,_22d,_22e,_22f); 2401}); 2402} 2403var _232=_226(_22c); 2404if(!_232){ 2405_22c._loadStatus&=~_1d9; 2406return _22d(); 2407} 2408new _c1(_232,function(_233){ 2409try{ 2410_223(_22c,_233.request.responseText(),_232); 2411_22c._loadStatus&=~_1d9; 2412_22d(); 2413} 2414catch(anException){ 2415_22e(anException); 2416} 2417},_22e,_22f); 2418}; 2419function _215(_234,_235,_236,_237){ 2420var _238=_234._loadedLanguage; 2421if(!_238){ 2422return; 2423} 2424var _239=_234.valueForInfoDictionaryKey("CPBundleLocalizableStrings"); 2425if(!_239){ 2426return; 2427} 2428var self=_234,_23a=_239.length,_23b=new CFURL(_238+".lproj/",self.resourcesDirectoryURL()),_23c=0; 2429for(var i=0;i<_23a;i++){ 2430var _23d=_239[i]; 2431function _23e(_23f){ 2432var _240=_23f.request.responseText(),_241=(new CFURL(_23f.request._URL)).lastPathComponent(); 2433try{ 2434_242(self,_240,_241); 2435if(++_23c==_23a){ 2436_234._loadStatus&=~_1da; 2437_235(); 2438} 2439} 2440catch(e){ 2441_236(new Error("Error when parsing the localizable file "+_241)); 2442} 2443}; 2444_234._loadStatus|=_1da; 2445new _c1(new CFURL(_23d,_23b),_23e,_236,_237); 2446} 2447}; 2448function _242(_243,_244,_245){ 2449var _246={},_247=_244.split("\n"),_248; 2450_243._localizableStrings[_245]=_246; 2451for(var i=0;i<_247.length;i++){ 2452var line=_247[i]; 2453if(line[0]=="/"){ 2454_248=(line.substring(2,line.length-2)).trim(); 2455continue; 2456} 2457if(line[0]=="\""){ 2458var _249=line.split("\""); 2459var key=_249[1]; 2460if(!(key in _246)){ 2461_246[key]=_249[3]; 2462} 2463key+=_248; 2464if(!(key in _246)){ 2465_246[key]=_249[3]; 2466} 2467continue; 2468} 2469} 2470}; 2471function _24a(_24b){ 2472if(_24b._loadedLanguage){ 2473return; 2474} 2475var _24c=_24b.valueForInfoDictionaryKey(_1e3); 2476if(_24c!=_1e2&&_24c){ 2477_24b._loadedLanguage=_24c; 2478return; 2479} 2480if(typeof navigator=="undefined"){ 2481return; 2482} 2483var _24d=typeof navigator.language!=="undefined"?navigator.language:navigator.userLanguage; 2484if(!_24d){ 2485return; 2486} 2487_24b._loadedLanguage=_24d.substring(0,2); 2488}; 2489var _24e=[],_228=-1,_24f=0,_229=1,_22a=2,_22b=3; 2490function _230(){ 2491return _228!==-1; 2492}; 2493function _231(_250,_251){ 2494if(_230()){ 2495return; 2496} 2497_24e.push(_251); 2498if(_24e.length>1){ 2499return; 2500} 2501_24e.push(function(){ 2502var size=0,_252=(CFBundle.mainBundle()).valueForInfoDictionaryKey("CPAp
2502plicationSize"); 2503if(!_252){ 2504return; 2505} 2506switch(_228){ 2507case _229: 2508size=_252.valueForKey("data"); 2509break; 2510case _22a: 2511case _22b: 2512size=_252.valueForKey("mhtml"); 2513break; 2514} 2515_1e1+=size; 2516}); 2517_253([_229,"data:image/gif;base64,R0lGODlhAQABAIAAAMc9BQAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",_22a,_250+"!test",_22b,_250+"?"+_1df+"!test"]); 2518}; 2519function _254(){ 2520var _255=_24e.length; 2521while(_255--){ 2522_24e[_255](); 2523} 2524}; 2525function _253(_256){ 2526if(!("Image" in _1)||_256.length<2){ 2527_228=_24f; 2528_254(); 2529return; 2530} 2531var _257=new Image(); 2532_257.onload=function(){ 2533if(_257.width===1&&_257.height===1){ 2534_228=_256[0]; 2535_254(); 2536}else{ 2537_257.onerror(); 2538} 2539}; 2540_257.onerror=function(){ 2541_253(_256.slice(2)); 2542}; 2543_257.src=_256[1]; 2544}; 2545function _21c(_258,_259){ 2546var _25a=[_258._staticResource]; 2547function _25b(_25c){ 2548for(;_25c<_25a.length;++_25c){ 2549var _25d=_25a[_25c]; 2550if(_25d.isNotFound()){ 2551continue; 2552} 2553if(_25d.isFile()){ 2554var _25e=new _979(_25d.URL()); 2555if(_25e.hasLoadedFileDependencies()){ 2556_25e.execute(); 2557}else{ 2558_25e.loadFileDependencies(function(){ 2559_25b(_25c); 2560}); 2561return; 2562} 2563}else{ 2564if((_25d.URL()).absoluteString()===(_258.resourcesDirectoryURL()).absoluteString()){ 2565continue; 2566} 2567var _25f=_25d.children(); 2568for(var name in _25f){ 2569if(_85.call(_25f,name)){ 2570_25a.push(_25f[name]); 2571} 2572} 2573} 2574} 2575_259(); 2576}; 2577_25b(0); 2578}; 2579var _260="@STATIC",_261="p",_262="u",_263="c",_264="t",_265="I",_266="i"; 2580MARKER_SOURCE_MAP="S"; 2581function _223(_267,_268,_269){ 2582var _26a=new _11f(_268); 2583if(_26a.magicNumber()!==_260){ 2584throw new Error("Could not read static file: "+_269); 2585} 2586if(_26a.version()!=="1.0"){ 2587throw new Error("Could not read static file: "+_269); 2588} 2589var _26b,_26c=_267.bundleURL(),file=NULL; 2590while(_26b=_26a.getMarker()){ 2591var text=_26a.getString(); 2592if(_26b===_261){ 2593var _26d=new CFURL(text,_26c),_26e=_1cd.resourceAtURL(new CFURL(".",_26d),YES); 2594file=new _1cd(_26d,_26e,NO,YES); 2595}else{ 2596if(_26b===_262){ 2597var URL=new CFURL(text,_26c),_26f=_26a.getString(); 2598if(_26f.indexOf("mhtml:")===0){ 2599_26f="mhtml:"+new CFURL(_26f.substr("mhtml:".length),_26c); 2600if(_228===_22b){ 2601var _270=_26f.indexOf("!"),_271=_26f.substring(0,_270),_272=_26f.substring(_270); 2602_26f=_271+"?"+_1df+_272; 2603} 2604} 2605CFURL.setMappedURLForURL(URL,new CFURL(_26f)); 2606var _26e=_1cd.resourceAtURL(new CFURL(".",URL),YES); 2607new _1cd(URL,_26e,NO,YES); 2608}else{ 2609if(_26b===_264){ 2610file.write(text); 2611} 2612} 2613} 2614} 2615}; 2616CFBundle.prototype.addEventListener=function(_273,_274){ 2617this._eventDispatcher.addEventListener(_273,_274); 2618}; 2619CFBundle.prototype.removeEventListener=function(_275,_276){ 2620this._eventDispatcher.removeEventListener(_275,_276); 2621}; 2622CFBundle.prototype.onerror=function(_277){ 2623throw _277.error; 2624}; 2625CFBundle.prototype.bundlePath=function(){ 2626return (this.bundleURL()).path(); 2627}; 2628CFBundle.prototype.path=function(){ 2629CPLog.warn("CFBundle.prototype.path is deprecated, use CFBundle.prototype.bundlePath instead."); 2630return this.bundlePath.apply(this,arguments); 2631}; 2632CFBundle.prototype.pathForResource=function(_278,_279,_27a,_27b){ 2633return (this.resourceURL(_278,_279,_27a,_27b)).absoluteString(); 2634}; 2635CFBundleCopyLocalizedString=function(_27c,key,_27d,_27e){ 2636return CFCopyLocalizedStringWithDefaultValue(key,_27e,_27c,_27d,""); 2637}; 2638CFBundleCopyBundleLocalizations=function(_27f){ 2639return [this._loadedLanguage]; 2640}; 2641CFCopyLocalizedString=function(key,_280){ 2642return CFCopyLocalizedStringFromTable(key,"Localizable",_280); 2643}; 2644CFCopyLocalizedStringFromTable=function(key,_281,_282){ 2645return CFCopyLocalizedStringFromTableInBundle(key,_281,CFBundleGetMainBundle(),_282); 2646}; 2647CFCopyLocalizedStringFromTableInBundle=function(key,_283,_284,_285){ 2648return CFCopyLocalizedStringWithDefaultValue(key,_283,_284,null,_285); 2649}; 2650CFCopyLocalizedStringWithDefaultValue=function(key,_286,_287,_288,_289){ 2651var _28a; 2652if(!_286){ 2653_286="Localizable"; 2654} 2655_286+=".strings"; 2656var _28b=_287._localizableStrings[_286]; 2657_28a=_28b?_28b[key+_289]:null; 2658return _28a||(_288||key); 2659}; 2660CFBundleGetMainBundle=function(){ 2661return CFBundle.mainBundle(); 2662}; 2663var _28c={}; 2664function _1cd(aURL,_28d,_28e,_28f,_290){ 2665this._parent=_28d; 2666this._eventDispatcher=new _80(this); 2667var name=(aURL.absoluteURL()).lastPathComponent()||aURL.schemeAndAuthority(); 2668this._name=name; 2669this._URL=aURL; 2670this._isResolved=!!_28f; 2671this._filenameTranslateDictionary=_290; 2672if(_28e){ 2673this._URL=this._URL.asDirectoryPathURL(); 2674} 2675if(!_28d){ 2676_28c[name]=this; 2677} 2678this._isDirectory=!!_28e; 2679this._isNotFound=NO; 2680if(_28d){ 2681_28d._children[name]=this; 2682} 2683if(_28e){ 2684this._children={}; 2685}else{ 2686this._contents=""; 2687} 2688}; 2689_1cd.rootResources=function(){ 2690return _28c; 2691}; 2692function _291(x){ 2693var _292=0; 2694for(var k in x){ 2695if(x.hasOwnProperty(k)){ 2696++_292; 2697} 2698} 2699return _292; 2700}; 2701_1cd.resetRootResources=function(){ 2702_28c={}; 2703}; 2704_1cd.prototype.filenameTranslateDictionary=function(){ 2705return this._filenameTranslateDictionary||{}; 2706}; 2707_2.StaticResource=_1cd; 2708function _20c(_293){ 2709_293._isResolved=YES; 2710_293._eventDispatcher.dispatchEvent({type:"resolve",staticResource:_293}); 2711}; 2712_1cd.prototype.resolve=function(){ 2713if(this.isDirectory()){ 2714var _294=new CFBundle(this.URL()); 2715_294.onerror=function(){ 2716}; 2717_294.load(NO); 2718}else{ 2719var self=this; 2720function _295(_296){ 2721self._contents=_296.request.responseText(); 2722_20c(self); 2723}; 2724function _297(){ 2725self._isNotFound=YES; 2726_20c(self); 2727}; 2728var url=this.URL(),_298=this.filenameTranslateDictionary(); 2729if(_298){ 2730var _299=url.toString(),_29a=url.lastPathComponent(),_29b=_299.substring(0,_299.length-_29a.length),_29c=_298[_29a]; 2731if(_29c&&_299.slice(-_29c.length)!==_29c){ 2732url=new CFURL(_29b+_29c); 2733} 2734} 2735new _c1(url,_295,_297); 2736} 2737}; 2738_1cd.prototype.name=function(){ 2739return this._name; 2740}; 2741_1cd.prototype.URL=function(){ 2742return this._URL; 2743}; 2744_1cd.prototype.contents=function(){ 2745return this._contents; 2746}; 2747_1cd.prototype.children=function(){ 2748return this._children; 2749}; 2750_1cd.prototype.parent=function(){ 2751return this._parent; 2752}; 2753_1cd.prototype.isResolved=function(){ 2754return this._isResolved; 2755}; 2756_1cd.prototype.write=function(_29d){ 2757this._contents+=_29d; 2758}; 2759function _29e(_29f){ 2760var _2a0=_29f.schemeAndAuthority(),_2a1=_28c[_2a0]; 2761if(!_2a1){ 2762_2a1=new _1cd(new CFURL(_2a0),NULL,YES,YES); 2763} 2764return _2a1; 2765}; 2766_1cd.resourceAtURL=function(aURL,_2a2){ 2767aURL=(_1e4(aURL)).absoluteURL(); 2768var _2a3=_29e(aURL),_2a4=aURL.pathComponents(),_a0=0,_2a5=_2a4.length; 2769for(;_a0<_2a5;++_a0){ 2770var name=_2a4[_a0]; 2771if(_85.call(_2a3._children,name)){ 2772_2a3=_2a3._children[name]; 2773}else{ 2774if(_2a2){ 2775if(name!=="/"){ 2776name="./"+name; 2777}
2778_2a3=new _1cd(new CFURL(name,_2a3.URL()),_2a3,YES,YES); 2779}else{ 2780throw new Error("Static Resource at "+aURL+" is not resolved (\""+name+"\")"); 2781} 2782} 2783} 2784return _2a3; 2785}; 2786_1cd.prototype.resourceAtURL=function(aURL,_2a6){ 2787return _1cd.resourceAtURL(new CFURL(aURL,this.URL()),_2a6); 2788}; 2789_1cd.resolveResourcesAtURLs=function(URLs,_2a7){ 2790var _2a8=URLs.length,_2a9={}; 2791for(var i=0,size=_2a8;i<size;i++){ 2792var url=URLs[i]; 2793_1cd.resolveResourceAtURL(url,NO,function(_2aa){ 2794_2a9[url]=_2aa; 2795if(--_2a8===0){ 2796_2a7(_2a9); 2797} 2798}); 2799} 2800}; 2801_1cd.resolveResourceAtURL=function(aURL,_2ab,_2ac,_2ad){ 2802aURL=(_1e4(aURL)).absoluteURL(); 2803_2ae(_29e(aURL),_2ab,aURL.pathComponents(),0,_2ac,_2ad); 2804}; 2805_1cd.prototype.resolveResourceAtURL=function(aURL,_2af,_2b0){ 2806_1cd.resolveResourceAtURL((new CFURL(aURL,this.URL())).absoluteURL(),_2af,_2b0); 2807}; 2808function _2ae(_2b1,_2b2,_2b3,_2b4,_2b5,_2b6){ 2809var _2b7=_2b3.length; 2810for(;_2b4<_2b7;++_2b4){ 2811var name=_2b3[_2b4],_2b8=_85.call(_2b1._children,name)&&_2b1._children[name]; 2812if(!_2b8){ 2813_2b8=new _1cd(new CFURL(name,_2b1.URL()),_2b1,_2b4+1<_2b7||_2b2,NO,_2b6); 2814_2b8.resolve(); 2815} 2816if(!_2b8.isResolved()){ 2817return _2b8.addEventListener("resolve",function(){ 2818_2ae(_2b1,_2b2,_2b3,_2b4,_2b5,_2b6); 2819}); 2820} 2821if(_2b8.isNotFound()){ 2822return _2b5(null,new Error("File not found: "+_2b3.join("/"))); 2823} 2824if(_2b4+1<_2b7&&_2b8.isFile()){ 2825return _2b5(null,new Error("File is not a directory: "+_2b3.join("/"))); 2826} 2827_2b1=_2b8; 2828} 2829_2b5(_2b1); 2830}; 2831function _2b9(aURL,_2ba,_2bb){ 2832var _2bc=_1cd.includeURLs(),_2bd=(new CFURL(aURL,_2bc[_2ba])).absoluteURL(); 2833_1cd.resolveResourceAtURL(_2bd,NO,function(_2be){ 2834if(!_2be){ 2835if(_2ba+1<_2bc.length){ 2836_2b9(aURL,_2ba+1,_2bb); 2837}else{ 2838_2bb(NULL); 2839} 2840return; 2841} 2842_2bb(_2be); 2843}); 2844}; 2845_1cd.resolveResourceAtURLSearchingIncludeURLs=function(aURL,_2bf){ 2846_2b9(aURL,0,_2bf); 2847}; 2848_1cd.prototype.addEventListener=function(_2c0,_2c1){ 2849this._eventDispatcher.addEventListener(_2c0,_2c1); 2850}; 2851_1cd.prototype.removeEventListener=function(_2c2,_2c3){ 2852this._eventDispatcher.removeEventListener(_2c2,_2c3); 2853}; 2854_1cd.prototype.isNotFound=function(){ 2855return this._isNotFound; 2856}; 2857_1cd.prototype.isFile=function(){ 2858return !this._isDirectory; 2859}; 2860_1cd.prototype.isDirectory=function(){ 2861return this._isDirectory; 2862}; 2863_1cd.prototype.toString=function(_2c4){ 2864if(this.isNotFound()){ 2865return "<file not found: "+this.name()+">"; 2866} 2867var _2c5=this.name(); 2868if(this.isDirectory()){ 2869var _2c6=this._children; 2870for(var name in _2c6){ 2871if(_2c6.hasOwnProperty(name)){ 2872var _2c7=_2c6[name]; 2873if(_2c4||!_2c7.isNotFound()){ 2874_2c5+="\n\t"+((_2c6[name].toString(_2c4)).split("\n")).join("\n\t"); 2875} 2876} 2877} 2878} 2879return _2c5; 2880}; 2881var _2c8=NULL; 2882_1cd.includeURLs=function(){ 2883if(_2c8!==NULL){ 2884return _2c8; 2885} 2886_2c8=[]; 2887if(!_1.OBJJ_INCLUDE_PATHS&&!_1.OBJJ_INCLUDE_URLS){ 2888_2c8=["Frameworks","Frameworks/Debug"]; 2889}else{ 2890_2c8=(_1.OBJJ_INCLUDE_PATHS||[]).concat(_1.OBJJ_INCLUDE_URLS||[]); 2891} 2892var _2c9=_2c8.length; 2893while(_2c9--){ 2894_2c8[_2c9]=(new CFURL(_2c8[_2c9])).asDirectoryPathURL(); 2895} 2896return _2c8; 2897}; 2898var _2ca="accessors",_2cb="class",_2cc="end",_2cd="function",_2ce="implementation",_2cf="import",_2d0="each",_2d1="outlet",_2d2="action",_2d3="new",_2d4="selector",_2d5="super",_2d6="var",_2d7="in",_2d8="pragma",_2d9="mark",_2da="=",_2db="+",_2dc="-",_2dd=":",_2de=",",_2df=".",_2e0="*",_2e1=";",_2e2="<",_2e3="{",_2e4="}",_2e5=">",_2e6="[",_2e7="\"",_2e8="@",_2e9="#",_2ea="]",_2eb="?",_2ec="(",_2ed=")",_2ee=/^(?:(?:\s+$)|(?:\/(?:\/|\*)))/,_2ef=/^[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?$/,_2f0=/^[a-zA-Z_$](\w|$)*$/; 2899function _2f1(_2f2){ 2900this._index=-1; 2901this._tokens=(_2f2+"\n").match(/\/\/.*(\r|\n)?|\/\*(?:.|\n|\r)*?\*\/|\w+\b|[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?|"[^"\\]*(\\[\s\S][^"\\]*)*"|'[^'\\]*(\\[\s\S][^'\\]*)*'|\s+|./g); 2902this._context=[]; 2903return this; 2904}; 2905_2f1.prototype.push=function(){ 2906this._context.push(this._index); 2907}; 2908_2f1.prototype.pop=function(){ 2909this._index=this._context.pop(); 2910}; 2911_2f1.prototype.peek=function(_2f3){ 2912if(_2f3){ 2913this.push(); 2914var _2f4=this.skip_whitespace(); 2915this.pop(); 2916return _2f4; 2917} 2918return this._tokens[this._index+1]; 2919}; 2920_2f1.prototype.next=function(){ 2921return this._tokens[++this._index]; 2922}; 2923_2f1.prototype.previous=function(){ 2924return this._tokens[--this._index]; 2925}; 2926_2f1.prototype.last=function(){ 2927if(this._index<0){ 2928return NULL; 2929} 2930return this._tokens[this._index-1]; 2931}; 2932_2f1.prototype.skip_whitespace=function(_2f5){ 2933var _2f6; 2934if(_2f5){ 2935while((_2f6=this.previous())&&_2ee.test(_2f6)){ 2936} 2937}else{ 2938while((_2f6=this.next())&&_2ee.test(_2f6)){ 2939} 2940} 2941return _2f6; 2942}; 2943_2.Lexer=_2f1; 2944function _2f7(){ 2945this.atoms=[]; 2946}; 2947_2f7.prototype.toString=function(){ 2948return this.atoms.join(""); 2949}; 2950_2.preprocess=function(_2f8,aURL,_2f9){ 2951return (new _2fa(_2f8,aURL,_2f9)).executable(); 2952}; 2953_2.eval=function(_2fb){ 2954return eval((_2.preprocess(_2fb)).code()); 2955}; 2956var _2fa=function(_2fc,aURL,_2fd){ 2957this._URL=new CFURL(aURL); 2958_2fc=_2fc.replace(/^#[^\n]+\n/,"\n"); 2959this._currentSelector=""; 2960this._currentClass=""; 2961this._currentSuperClass=""; 2962this._currentSuperMetaClass=""; 2963this._buffer=new _2f7(); 2964this._preprocessed=NULL; 2965this._dependencies=[]; 2966this._tokens=new _2f1(_2fc); 2967this._flags=_2fd; 2968this._classMethod=false; 2969this._executable=NULL; 2970this._classLookupTable={}; 2971this._classVars={}; 2972var _2fe=new objj_class(); 2973for(var i in _2fe){ 2974this._classVars[i]=1; 2975} 2976this.preprocess(this._tokens,this._buffer); 2977}; 2978_2fa.prototype.setClassInfo=function(_2ff,_300,_301){ 2979this._classLookupTable[_2ff]={superClassName:_300,ivars:_301}; 2980}; 2981_2fa.prototype.getClassInfo=function(_302){ 2982return this._classLookupTable[_302]; 2983}; 2984_2fa.prototype.allIvarNamesForClassName=function(_303){ 2985var _304={},_305=this.getClassInfo(_303); 2986while(_305){ 2987for(var i in _305.ivars){ 2988_304[i]=1; 2989} 2990_305=this.getClassInfo(_305.superClassName); 2991} 2992return _304; 2993}; 2994_2.Preprocessor=_2fa; 2995_2fa.Flags={}; 2996_2fa.Flags.IncludeDebugSymbols=1<<0; 2997_2fa.Flags.IncludeTypeSignatures=1<<1; 2998_2fa.prototype.executable=function(){ 2999if(!this._executable){ 3000this._executable=new _306(this._buffer.toString(),this._dependencies,this._URL); 3001} 3002return this._executable; 3003}; 3004_2fa.prototype.accessors=function(_307){ 3005var _308=_307.skip_whitespace(),_309={}; 3006if(_308!=_2ec){ 3007_307.previous(); 3008return _309; 3009} 3010while((_308=_307.skip_whitespace())!=_2ed){ 3011var name=_308,_30a=true; 3012if(!/^ w+$/.test(name)){ 3013throw new SyntaxError(this.error_message("*** @accessors attribute name not valid.")); 3014} 3015if((_308=_307.skip_whitespace())==_2da){ 3016_30a=_307.skip_whitespace(); 3017if(!/^ w+$/.test(_30a)){ 3018throw new SyntaxError(this.error_message("*** @accessors attribute value not valid.")); 3019} 3020if(name=="setter"){ 3021if((_308=_307.next())!=_2dd){ 3022throw new SyntaxError(this.error_message("*** @accessors setter attribute requires argument with \":\" at end of selector name.")); 3023} 3024_30a+=":"; 3025} 3026_308=_307.skip_whitespace(); 3027} 3028_309[name]=_30a; 3029if(_308==_2ed){ 3030break; 3031} 3032if(_308!=_2de){ 3033throw new SyntaxError(this.error_message("*** Expected ',' or ')' in @accessors attribute list.")); 3034} 3035} 3036return _309; 3037}; 3038_2fa.prototype.brackets=function(_30b,_30c){ 3039var _30d=[]; 3040while(this.preprocess(_30b,NULL,NULL,NULL,_30d[_30d.length]=[])){ 3041} 3042if(_30d[0].length===1){ 3043_30c.atoms[_30c.atoms.length]="["; 3044_30c.atoms[_30c.atoms.length]=_30d[0][0]; 3045_30c.atoms[_30c.atoms.length]="]"; 3046}else{ 3047var _30e=new _2f7(); 3048if(_30d[0][0].atoms[0]==_2d5){ 3049_30c.atoms[_30c.atoms.length]="objj_msgSendSuper("; 3050_30c.atoms[_30c.atoms.length]="{ receiver:self, super_class:"+(this._classMethod?this._currentSuperMetaClass:this._currentSuperClass)+" }"; 3051}else{ 3052_30c.atoms[_30c.atoms.length]="objj_msgSend("; 3053_30c.atoms[_30c.atoms.length]=_30d[0][0]; 3054} 3055_30e.atoms[_30e.atoms.length]=_30d[0][1]; 3056var _30f=1,_310=_30d.length,_311=new _2f7(); 3057for(;_30f<_310;++_30f){ 3058var pair=_30d[_30f]; 3059_30e.atoms[_30e.atoms.length]=pair[1]; 3060_311.atoms[_311.atoms.length]=", "+pair[0]; 3061} 3062_30c.atoms[_30c.atoms.length]=", \""; 3063_30c.atoms[_30c.atoms.length]=_30e; 3064_30c.atoms[_30c.atoms.length]="\""; 3065_30c.atoms[_30c.atoms.length]=_311; 3066_30c.atoms[_30c.atoms.length]=")"; 3067} 3068}; 3069_2fa.prototype.directive=function(_312,_313,_314){ 3070var _315=_313?_313:new _2f7(),_316=_312.next(); 3071if(_316.charAt(0)==_2e7){ 3072_315.atoms[_315.atoms.length]=_316; 3073}else{ 3074if(_316===_2cb){ 3075_312.skip_whitespace(); 3076return; 3077}else{ 3078if(_316===_2ce){ 3079this.implementation(_312,_315); 3080}else{ 3081if(_316===_2cf){ 3082this._import(_312); 3083}else{ 3084if(_316===_2d4){ 3085this.selector(_312,_315); 3086} 3087} 3088} 3089} 3090} 3091if(!_313){ 3092return _315; 3093} 3094}; 3095_2fa.prototype.hash=function(_317,_318){ 3096var _319=_318?_318:new _2f7(),_31a=_317.next(); 3097if(_31a===_2d8){ 3098_31a=_317.skip_whitespace(); 3099if(_31a===_2d9){ 3100while((_31a=_317.next()).indexOf("\n")<0){ 3101} 3102} 3103}else{ 3104throw new SyntaxError(this.error_message("*** Expected \"pragma\" to follow # but instead saw \""+_31a+"\".")); 3105} 3106}; 3107_2fa.prototype.implementation=function(_31b,_31c){ 3108var _31d=_31c,_31e="",_31f=NO,_320=_31b.skip_whitespace(),_321="Nil",_322=new _2f7(),_323=new _2f7(); 3109if(!/^\w/.test(_320)){ 3110throw new Error(this.error_message("*** Expected class name, found \""+_320+"\".")); 3111} 3112this._currentSuperClass="objj_getClass(\""+_320+"\").super_class"; 3113this._currentSuperMetaClass="objj_getMetaClass(\""+_320+"\").super_class"; 3114this._currentClass=_320; 3115this._currentSelector=""; 3116if((_31e=_31b.skip_whitespace())==_2ec){ 3117_31e=_31b.skip_whitespace(); 3118if(_31e==_2ed){ 3119throw new SyntaxError(this.error_message("*** Can't Have Empty Category Name for class \""+_320+"\".")); 3120} 3121if(_31b.skip_whitespace()!=_2ed){ 3122throw new SyntaxError(this.error_message("*** Improper Category Definition for class \""+_320+"\".")); 3123} 3124_31d.atoms[_31d.atoms.length]="{\nvar the_class = objj_getClass(\""+_320+"\")\n"; 3125_31d.atoms[_31d.atoms.length]="if(!the_class) throw new SyntaxError(\"**
3125* Could not find definition for class \\\""+_320+"\\\"\");\n"; 3126_31d.atoms[_31d.atoms.length]="var meta_class = the_class.isa;"; 3127}else{ 3128if(_31e==_2dd){ 3129_31e=_31b.skip_whitespace(); 3130if(!_2f0.test(_31e)){ 3131throw new SyntaxError(this.error_message("*** Expected class name, found \""+_31e+"\".")); 3132} 3133_321=_31e; 3134_31e=_31b.skip_whitespace(); 3135} 3136_31d.atoms[_31d.atoms.length]="{var the_class = objj_allocateClassPair("+_321+", \""+_320+"\"),\nmeta_class = the_class.isa;"; 3137if(_31e==_2e3){ 3138var _324={},_325=0,_326=[],_327,_328={},_329=[]; 3139while((_31e=_31b.skip_whitespace())&&_31e!=_2e4){ 3140if(_31e===_2e8){ 3141_31e=_31b.next(); 3142if(_31e===_2ca){ 3143_327=this.accessors(_31b); 3144}else{ 3145if(_31e!==_2d1){ 3146throw new SyntaxError(this.error_message("*** Unexpected '@' token in ivar declaration ('@"+_31e+"').")); 3147}else{ 3148_329.push("@"+_31e); 3149} 3150} 3151}else{ 3152if(_31e==_2e1){ 3153if(_325++===0){ 3154_31d.atoms[_31d.atoms.length]="class_addIvars(the_class, ["; 3155}else{ 3156_31d.atoms[_31d.atoms.length]=", "; 3157} 3158var name=_326[_326.length-1]; 3159if(this._flags&_2fa.Flags.IncludeTypeSignatures){ 3160_31d.atoms[_31d.atoms.length]="new objj_ivar(\""+name+"\", \""+(_329.slice(0,_329.length-1)).join(" ")+"\")"; 3161}else{ 3162_31d.atoms[_31d.atoms.length]="new objj_ivar(\""+name+"\")"; 3163} 3164_324[name]=1; 3165_326=[]; 3166_329=[]; 3167if(_327){ 3168_328[name]=_327; 3169_327=NULL; 3170} 3171}else{ 3172_326.push(_31e); 3173_329.push(_31e); 3174} 3175} 3176} 3177if(_326.length){ 3178throw new SyntaxError(this.error_message("*** Expected ';' in ivar declaration, found '}'.")); 3179} 3180if(_325){ 3181_31d.atoms[_31d.atoms.length]="]);\n"; 3182} 3183if(!_31e){ 3184throw new SyntaxError(this.error_message("*** Expected '}'")); 3185} 3186this.setClassInfo(_320,_321==="Nil"?null:_321,_324); 3187var _324=this.allIvarNamesForClassName(_320); 3188for(ivar_name in _328){ 3189var _32a=_328[ivar_name],_32b=_32a["property"]||ivar_name; 3190var _32c=_32a["getter"]||_32b,_32d="(id)"+_32c+"\n{\nreturn "+ivar_name+";\n}"; 3191if(_322.atoms.length!==0){ 3192_322.atoms[_322.atoms.length]=",\n"; 3193} 3194_322.atoms[_322.atoms.length]=this.method(new _2f1(_32d),_324); 3195if(_32a["readonly"]){ 3196continue; 3197} 3198var _32e=_32a["setter"]; 3199if(!_32e){ 3200var _32f=_32b.charAt(0)=="_"?1:0; 3201_32e=(_32f?"_":"")+"set"+(_32b.substr(_32f,1)).toUpperCase()+_32b.substring(_32f+1)+":"; 3202} 3203var _330="(void)"+_32e+"(id)newValue\n{\n"; 3204if(_32a["copy"]){ 3205_330+="if ("+ivar_name+" !== newValue)\n"+ivar_name+" = [newValue copy];\n}"; 3206}else{ 3207_330+=ivar_name+" = newValue;\n}"; 3208} 3209if(_322.atoms.length!==0){ 3210_322.atoms[_322.atoms.length]=",\n"; 3211} 3212_322.atoms[_322.atoms.length]=this.method(new _2f1(_330),_324); 3213} 3214}else{ 3215_31b.previous(); 3216} 3217_31d.atoms[_31d.atoms.length]="objj_registerClassPair(the_class);\n"; 3218} 3219if(!_324){ 3220var _324=this.allIvarNamesForClassName(_320); 3221} 3222while(_31e=_31b.skip_whitespace()){ 3223if(_31e==_2db){ 3224this._classMethod=true; 3225if(_323.atoms.length!==0){ 3226_323.atoms[_323.atoms.length]=", "; 3227} 3228_323.atoms[_323.atoms.length]=this.method(_31b,this._classVars); 3229}else{ 3230if(_31e==_2dc){ 3231this._classMethod=false; 3232if(_322.atoms.length!==0){ 3233_322.atoms[_322.atoms.length]=", "; 3234} 3235_322.atoms[_322.atoms.length]=this.method(_31b,_324); 3236}else{ 3237if(_31e==_2e9){ 3238this.hash(_31b,_31d); 3239}else{ 3240if(_31e==_2e8){ 3241if((_31e=_31b.next())==_2cc){ 3242break; 3243}else{ 3244throw new SyntaxError(this.error_message("*** Expected \"@end\", found \"@"+_31e+"\".")); 3245} 3246} 3247} 3248} 3249} 3250} 3251if(_322.atoms.length!==0){ 3252_31d.atoms[_31d.atoms.length]="class_addMethods(the_class, ["; 3253_31d.atoms[_31d.atoms.length]=_322; 3254_31d.atoms[_31d.atoms.length]="]);\n"; 3255} 3256if(_323.atoms.length!==0){ 3257_31d.atoms[_31d.atoms.length]="class_addMethods(meta_class, ["; 3258_31d.atoms[_31d.atoms.length]=_323; 3259_31d.atoms[_31d.atoms.length]="]);\n"; 3260} 3261_31d.atoms[_31d.atoms.length]="}"; 3262this._currentClass=""; 3263}; 3264_2fa.prototype._import=function(_331){ 3265var _332="",_333=_331.skip_whitespace(),_334=_333!==_2e2; 3266if(_333===_2e2){ 3267while((_333=_331.next())&&_333!==_2e5){ 3268_332+=_333; 3269} 3270if(!_333){ 3271throw new SyntaxError(this.error_message("*** Unterminated import statement.")); 3272} 3273}else{ 3274if(_333.charAt(0)===_2e7){ 3275_332=_333.substr(1,_333.length-2); 3276}else{ 3277throw new SyntaxError(this.error_message("*** Expecting '<' or '\"', found \""+_333+"\".")); 3278} 3279} 3280this._buffer.atoms[this._buffer.atoms.length]="objj_executeFile(\""; 3281this._buffer.atoms[this._buffer.atoms.length]=_332; 3282this._buffer.atoms[this._buffer.atoms.length]=_334?"\", YES);":"\", NO);"; 3283this._dependencies.push(new _335(new CFURL(_332),_334)); 3284}; 3285_2fa.prototype.method=function(_336,_337){ 3286var _338=new _2f7(),_339,_33a="",_33b=[],_33c=[null]; 3287_337=_337||{}; 3288while((_339=_336.skip_whitespace())&&_339!==_2e3&&_339!==_2e1){ 3289if(_339==_2dd){ 3290var type=""; 3291_33a+=_339; 3292_339=_336.skip_whitespace(); 3293if(_339==_2ec){ 3294while((_339=_336.skip_whitespace())&&_339!=_2ed){ 3295type+=_339; 3296} 3297_339=_336.skip_whitespace(); 3298} 3299_33c[_33b.length+1]=type||null; 3300_33b[_33b.length]=_339; 3301if(_339 in _337){ 3302CPLog.warn(this.error_message("*** Warning: Method ( "+_33a+" ) uses a parameter name that is already in use ( "+_339+" )")); 3303} 3304}else{ 3305if(_339==_2ec){ 3306var type=""; 3307while((_339=_336.skip_whitespace())&&_339!=_2ed){ 3308type+=_339; 3309} 3310_33c[0]=type||null; 3311}else{ 3312if(_339==_2de){ 3313if((_339=_336.skip_whitespace())!=_2df||_336.next()!=_2df||_336.next()!=_2df){ 3314throw new SyntaxError(this.error_message("*** Argument list expected after ','.")); 3315} 3316}else{ 3317_33a+=_339; 3318} 3319} 3320} 3321} 3322if(_339===_2e1){ 3323_339=_336.skip_whitespace(); 3324if(_339!==_2e3){ 3325throw new SyntaxError(this.error_message("Invalid semi-colon in method declaration. "+"Semi-colons are allowed only to terminate the method signature, before the open brace.")); 3326} 3327} 3328var _33d=0,_33e=_33b.length; 3329_338.atoms[_338.atoms.length]="new objj_method(sel_getUid(\""; 3330_338.atoms[_338.atoms.length]=_33a; 3331_338.atoms[_338.atoms.length]="\"), function"; 3332this._currentSelector=_33a; 3333if(this._flags&_2fa.Flags.IncludeDebugSymbols){ 3334_338.atoms[_338.atoms.length]=" $"+this._currentClass+"__"+_33a.replace(/:/g,"_"); 3335} 3336_338.atoms[_338.atoms.length]="(self, _cmd"; 3337for(;_33d<_33e;++_33d){ 3338_338.atoms[_338.atoms.length]=", "; 3339_338.atoms[_338.atoms.length]=_33b[_33d]; 3340} 3341_338.atoms[_338.atoms.length]=")\n{ with(self)\n{"; 3342_338.atoms[_338.atoms.length]=this.preprocess(_336,NULL,_2e4,_2e3); 3343_338.atoms[_338.atoms.length]="}\n}"; 3344if(this._flags&_2fa.Flags.IncludeDebugSymbols){ 3345_338.atoms[_338.atoms.length]=","+JSON.stringify(_33c); 3346} 3347_338.atoms[_338.atoms.length]=")"; 3348this._currentSelector=""; 3349return _338; 3350}; 3351_2fa.prototype.preprocess=function(_33f,_340,_341,_342,_343){ 3352var _344=_340?_340:new _2f7(),_345=0,_346=""; 3353if(_343){ 3354_343[0]=_344; 3355var _347=false,_348=[0,0,0]; 3356}
3357while((_346=_33f.next())&&(_346!==_341||_345)){ 3358if(_343){ 3359if(_346===_2eb){ 3360++_348[2]; 3361}else{ 3362if(_346===_2e3){ 3363++_348[0]; 3364}else{ 3365if(_346===_2e4){ 3366--_348[0]; 3367}else{ 3368if(_346===_2ec){ 3369++_348[1]; 3370}else{ 3371if(_346===_2ed){ 3372--_348[1]; 3373}else{ 3374if((_346===_2dd&&_348[2]--===0||(_347=_346===_2ea))&&_348[0]===0&&_348[1]===0){ 3375_33f.push(); 3376var _349=_347?_33f.skip_whitespace(true):_33f.previous(),_34a=_2ee.test(_349); 3377if(_34a||_2f0.test(_349)&&_2ee.test(_33f.previous())){ 3378_33f.push(); 3379var last=_33f.skip_whitespace(true),_34b=true,_34c=false; 3380if(last==="+"||last==="-"){ 3381if(_33f.previous()!==last){ 3382_34b=false; 3383}else{ 3384last=_33f.skip_whitespace(true); 3385_34c=true; 3386} 3387} 3388_33f.pop(); 3389_33f.pop(); 3390if(_34b&&(!_34c&&last===_2e4||last===_2ed||last===_2ea||last===_2df||_2ef.test(last)||last.charAt(last.length-1)==="\""||last.charAt(last.length-1)==="'"||_2f0.test(last)&&!/^(new|return|case|var)$/.test(last))){ 3391if(_34a){ 3392_343[1]=":"; 3393}else{ 3394_343[1]=_349; 3395if(!_347){ 3396_343[1]+=":"; 3397} 3398var _345=_344.atoms.length; 3399while(_344.atoms[_345--]!==_349){ 3400} 3401_344.atoms.length=_345; 3402} 3403return !_347; 3404} 3405if(_347){ 3406return NO; 3407} 3408} 3409_33f.pop(); 3410if(_347){ 3411return NO; 3412} 3413} 3414} 3415} 3416} 3417} 3418} 3419_348[2]=MAX(_348[2],0); 3420} 3421if(_342){ 3422if(_346===_342){ 3423++_345; 3424}else{ 3425if(_346===_341){ 3426--_345; 3427} 3428} 3429} 3430if(_346===_2cd){ 3431var _34d=""; 3432while((_346=_33f.next())&&_346!==_2ec&&!/^\w/.test(_346)){ 3433_34d+=_346; 3434} 3435if(_346===_2ec){ 3436if(_342===_2ec){ 3437++_345; 3438} 3439_344.atoms[_344.atoms.length]="function"+_34d+"("; 3440if(_343){ 3441++_348[1]; 3442} 3443}else{ 3444_344.atoms[_344.atoms.length]=_346+" = function"; 3445} 3446}else{ 3447if(_346==_2e8){ 3448this.directive(_33f,_344); 3449}else{ 3450if(_346==_2e9){ 3451this.hash(_33f,_344); 3452}else{ 3453if(_346==_2e6){ 3454this.brackets(_33f,_344); 3455}else{ 3456_344.atoms[_344.atoms.length]=_346; 3457} 3458} 3459} 3460} 3461} 3462if(_343){ 3463throw new SyntaxError(this.error_message("*** Expected ']' - Unterminated message send or array.")); 3464} 3465if(!_340){ 3466return _344; 3467} 3468}; 3469_2fa.prototype.selector=function(_34e,_34f){ 3470var _350=_34f?_34f:new _2f7(); 3471_350.atoms[_350.atoms.length]="sel_getUid(\""; 3472if(_34e.skip_whitespace()!=_2ec){ 3473throw new SyntaxError(this.error_message("*** Expected '('")); 3474} 3475var _351=_34e.skip_whitespace(); 3476if(_351==_2ed){ 3477throw new SyntaxError(this.error_message("*** Unexpected ')', can't have empty @selector()")); 3478} 3479_34f.atoms[_34f.atoms.length]=_351; 3480var _352,_353=true; 3481while((_352=_34e.next())&&_352!=_2ed){ 3482if(_353&&/^\d+$/.test(_352)||!/^(\w|$|\:)/.test(_352)){ 3483if(!/\S/.test(_352)){ 3484if(_34e.skip_whitespace()==_2ed){ 3485break; 3486}else{ 3487throw new SyntaxError(this.error_message("*** Unexpected whitespace in @selector().")); 3488} 3489}else{ 3490throw new SyntaxError(this.error_message("*** Illegal character '"+_352+"' in @selector().")); 3491} 3492} 3493_350.atoms[_350.atoms.length]=_352; 3494_353=_352==_2dd; 3495} 3496_350.atoms[_350.atoms.length]="\")"; 3497if(!_34f){ 3498return _350; 3499} 3500}; 3501_2fa.prototype.error_message=function(_354){ 3502return _354+" <Context File: "+this._URL+(this._currentClass?" Class: "+this._currentClass:"")+(this._currentSelector?" Method: "+this._currentSelector:"")+">"; 3503}; 3504(function webpackUniversalModuleDefinition(root,_355){ 3505function _356(_357,_358){ 3506if(_357===nil){ 3507return "nil"; 3508} 3509if(_357===_32){ 3510return "undefined"; 3511} 3512if(_357===window){ 3513return "window"; 3514} 3515if(_358===0){ 3516return "..."; 3517} 3518if(typeof _357!=="object"){ 3519return String(_357); 3520} 3521var _359=[],desc; 3522for(var _35a in _357){ 3523if(_357.hasOwnProperty(_35a)){ 3524_359.push(_35a); 3525} 3526} 3527_359.sort(); 3528desc="{"; 3529for(var i=0;i<_359.length;++i){ 3530if(i===0){ 3531desc+="\n"; 3532} 3533var _35b=_357[_359[i]],_35c=((_356(_35b,_358!==_32?_358-1:_358)).split("\n")).join("\n "); 3534desc+=" "+_359[i]+": "+_35c; 3535if(i<_359.length-1){ 3536desc+=",\n"; 3537}else{ 3538desc+="\n"; 3539} 3540} 3541desc+="}"; 3542return desc; 3543}; 3544if(typeof _2==="object"&&typeof module==="object"){ 3545module.exports=_355(); 3546}else{ 3547if(typeof define==="function"&&define.amd){ 3548define([],_355); 3549}else{ 3550if(typeof _2==="object"){ 3551_2["sourceMap"]=_355(); 3552}else{ 3553root["sourceMap"]=_355(); 3554} 3555} 3556} 3557})(this,function(){ 3558return (function(_35d){ 3559var _35e={}; 3560function _35f(_360){ 3561if(_35e[_360]){ 3562return _35e[_360].exports; 3563} 3564var _361=_35e[_360]={exports:{},id:_360,loaded:false}; 3565_35d[_360].call(_361.exports,_361,_361.exports,_35f); 3566_361.loaded=true; 3567return _361.exports; 3568}; 3569_35f.m=_35d; 3570_35f.c=_35e; 3571_35f.p=""; 3572return _35f(0); 3573})([function(_362,_363,_364){ 3574_363.SourceMapGenerator=(_364(1)).SourceMapGenerator; 3575_363.SourceMapConsumer=(_364(7)).SourceMapConsumer; 3576_363.SourceNode=(_364(10)).SourceNode;
3577},function(_365,_366,_367){ 3578var _368=_367(2); 3579var util=_367(4); 3580var _369=(_367(5)).ArraySet; 3581var _36a=(_367(6)).MappingList; 3582function _36b(_36c){ 3583if(!_36c){ 3584_36c={}; 3585} 3586this._file=util.getArg(_36c,"file",null); 3587this._sourceRoot=util.getArg(_36c,"sourceRoot",null); 3588this._skipValidation=util.getArg(_36c,"skipValidation",false); 3589this._sources=new _369(); 3590this._names=new _369(); 3591this._mappings=new _36a(); 3592this._sourcesContents=null; 3593}; 3594_36b.prototype._version=3; 3595_36b.fromSourceMap=function SourceMapGenerator_fromSourceMap(_36d){ 3596var _36e=_36d.sourceRoot; 3597var _36f=new _36b({file:_36d.file,sourceRoot:_36e}); 3598_36d.eachMapping(function(_370){ 3599var _371={generated:{line:_370.generatedLine,column:_370.generatedColumn}}; 3600if(_370.source!=null){ 3601_371.source=_370.source; 3602if(_36e!=null){ 3603_371.source=util.relative(_36e,_371.source); 3604} 3605_371.original={line:_370.originalLine,column:_370.originalColumn}; 3606if(_370.name!=null){ 3607_371.name=_370.name; 3608} 3609} 3610_36f.addMapping(_371); 3611}); 3612_36d.sources.forEach(function(_372){ 3613var _373=_36d.sourceContentFor(_372); 3614if(_373!=null){ 3615_36f.setSourceContent(_372,_373); 3616} 3617}); 3618return _36f; 3619}; 3620_36b.prototype.addMapping=function SourceMapGenerator_addMapping(_374){ 3621var _375=util.getArg(_374,"generated"); 3622var _376=util.getArg(_374,"original",null); 3623var _377=util.getArg(_374,"source",null); 3624var name=util.getArg(_374,"name",null); 3625if(!this._skipValidation){
vendor: 4,922 bytes, lines 3626-3822
3626this._validateMapping(_375,_376,_377,name); 3627} 3628if(_377!=null){ 3629_377=String(_377); 3630if(!this._sources.has(_377)){ 3631this._sources.add(_377); 3632} 3633} 3634if(name!=null){ 3635name=String(name); 3636if(!this._names.has(name)){ 3637this._names.add(name); 3638} 3639} 3640this._mappings.add({generatedLine:_375.line,generatedColumn:_375.column,originalLine:_376!=null&&_376.line,originalColumn:_376!=null&&_376.column,source:_377,name:name}); 3641}; 3642_36b.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(_378,_379){ 3643var _37a=_378; 3644if(this._sourceRoot!=null){ 3645_37a=util.relative(this._sourceRoot,_37a); 3646} 3647if(_379!=null){ 3648if(!this._sourcesContents){ 3649this._sourcesContents=Object.create(null); 3650} 3651this._sourcesContents[util.toSetString(_37a)]=_379; 3652}else{ 3653if(this._sourcesContents){ 3654delete this._sourcesContents[util.toSetString(_37a)]; 3655if((Object.keys(this._sourcesContents)).length===0){ 3656this._sourcesContents=null; 3657} 3658} 3659} 3660}; 3661_36b.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(_37b,_37c,_37d){ 3662var _37e=_37c; 3663if(_37c==null){ 3664if(_37b.file==null){ 3665throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+"or the source map's \"file\" property. Both were omitted."); 3666} 3667_37e=_37b.file; 3668} 3669var _37f=this._sourceRoot; 3670if(_37f!=null){ 3671_37e=util.relative(_37f,_37e); 3672} 3673var _380=new _369(); 3674var _381=new _369(); 3675this._mappings.unsortedForEach(function(_382){ 3676if(_382.source===_37e&&_382.originalLine!=null){ 3677var _383=_37b.originalPositionFor({line:_382.originalLine,column:_382.originalColumn}); 3678if(_383.source!=null){ 3679_382.source=_383.source; 3680if(_37d!=null){ 3681_382.source=util.join(_37d,_382.source); 3682} 3683if(_37f!=null){ 3684_382.source=util.relative(_37f,_382.source); 3685} 3686_382.originalLine=_383.line; 3687_382.originalColumn=_383.column; 3688if(_383.name!=null){ 3689_382.name=_383.name; 3690} 3691} 3692} 3693var _384=_382.source; 3694if(_384!=null&&!_380.has(_384)){ 3695_380.add(_384); 3696} 3697var name=_382.name; 3698if(name!=null&&!_381.has(name)){ 3699_381.add(name); 3700} 3701},this); 3702this._sources=_380; 3703this._names=_381; 3704_37b.sources.forEach(function(_385){ 3705var _386=_37b.sourceContentFor(_385); 3706if(_386!=null){ 3707if(_37d!=null){ 3708_385=util.join(_37d,_385); 3709} 3710if(_37f!=null){ 3711_385=util.relative(_37f,_385); 3712} 3713this.setSourceContent(_385,_386); 3714} 3715},this); 3716}; 3717_36b.prototype._validateMapping=function SourceMapGenerator_validateMapping(_387,_388,_389,_38a){ 3718if(_387&&"line" in _387&&"column" in _387&&_387.line>0&&_387.column>=0&&!_388&&!_389&&!_38a){ 3719return; 3720}else{ 3721if(_387&&"line" in _387&&"column" in _387&&_388&&"line" in _388&&"column" in _388&&_387.line>0&&_387.column>=0&&_388.line>0&&_388.column>=0&&_389){ 3722return; 3723}else{ 3724throw new Error("Invalid mapping: "+JSON.stringify({generated:_387,source:_389,original:_388,name:_38a})); 3725} 3726} 3727}; 3728_36b.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){ 3729var _38b=0; 3730var _38c=1; 3731var _38d=0; 3732var _38e=0; 3733var _38f=0; 3734var _390=0; 3735var _391=""; 3736var next; 3737var _392; 3738var _393; 3739var _394; 3740var _395=this._mappings.toArray(); 3741for(var i=0,len=_395.length;i<len;i++){ 3742_392=_395[i]; 3743next=""; 3744if(_392.generatedLine!==_38c){ 3745_38b=0; 3746while(_392.generatedLine!==_38c){ 3747next+=";"; 3748_38c++; 3749} 3750}else{ 3751if(i>0){ 3752if(!util.compareByGeneratedPositionsInflated(_392,_395[i-1])){ 3753continue; 3754} 3755next+=","; 3756} 3757} 3758next+=_368.encode(_392.generatedColumn-_38b); 3759_38b=_392.generatedColumn; 3760if(_392.source!=null){ 3761_394=this._sources.indexOf(_392.source); 3762next+=_368.encode(_394-_390); 3763_390=_394; 3764next+=_368.encode(_392.originalLine-1-_38e); 3765_38e=_392.originalLine-1; 3766next+=_368.encode(_392.originalColumn-_38d); 3767_38d=_392.originalColumn; 3768if(_392.name!=null){ 3769_393=this._names.indexOf(_392.name); 3770next+=_368.encode(_393-_38f); 3771_38f=_393; 3772} 3773} 3774_391+=next; 3775} 3776return _391; 3777}; 3778_36b.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(_396,_397){ 3779return _396.map(function(_398){ 3780if(!this._sourcesContents){ 3781return null; 3782} 3783if(_397!=null){ 3784_398=util.relative(_397,_398); 3785} 3786var key=util.toSetString(_398); 3787return Object.prototype.hasOwnProperty.call(this._sourcesContents,key)?this._sourcesContents[key]:null; 3788},this); 3789}; 3790_36b.prototype.toJSON=function SourceMapGenerator_toJSON(){ 3791var map={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()}; 3792if(this._file!=null){ 3793map.file=this._file; 3794} 3795if(this._sourceRoot!=null){ 3796map.sourceRoot=this._sourceRoot; 3797} 3798if(this._sourcesContents){ 3799map.sourcesContent=this._generateSourcesContent(map.sources,map.sourceRoot); 3800} 3801return map; 3802}; 3803_36b.prototype.toString=function SourceMapGenerator_toString(){ 3804return JSON.stringify(this.toJSON()); 3805}; 3806_366.SourceMapGenerator=_36b; 3807},function(_399,_39a,_39b){ 3808var _39c=_39b(3); 3809var _39d=5; 3810var _39e=1<<_39d; 3811var _39f=_39e-1; 3812var _3a0=_39e; 3813function _3a1(_3a2){ 3814return _3a2<0?(-_3a2<<1)+1:(_3a2<<1)+0; 3815}; 3816function _3a3(_3a4){ 3817var _3a5=(_3a4&1)===1; 3818var _3a6=_3a4>>1; 3819return _3a5?-_3a6:_3a6; 3820}; 3821_39a.encode=function base64VLQ_encode(_3a7){ 3822var _3a8="";
3823var _3a9; 3824var vlq=_3a1(_3a7); 3825do{ 3826_3a9=vlq&_39f; 3827vlq>>>=_39d; 3828if(vlq>0){ 3829_3a9|=_3a0; 3830} 3831_3a8+=_39c.encode(_3a9); 3832}while(vlq>0); 3833return _3a8; 3834}; 3835_39a.decode=function base64VLQ_decode(aStr,_3aa,_3ab){ 3836var _3ac=aStr.length; 3837var _3ad=0; 3838var _3ae=0; 3839var _3af,_3b0; 3840do{ 3841if(_3aa>=_3ac){ 3842throw new Error("Expected more digits in base 64 VLQ value."); 3843} 3844_3b0=_39c.decode(aStr.charCodeAt(_3aa++)); 3845if(_3b0===-1){ 3846throw new Error("Invalid base64 digit: "+aStr.charAt(_3aa-1)); 3847} 3848_3af=!!(_3b0&_3a0); 3849_3b0&=_39f; 3850_3ad=_3ad+(_3b0<<_3ae); 3851_3ae+=_39d; 3852}while(_3af); 3853_3ab.value=_3a3(_3ad); 3854_3ab.rest=_3aa; 3855}; 3856},function(_3b1,_3b2){ 3857var _3b3="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""); 3858_3b2.encode=function(_3b4){ 3859if(0<=_3b4&&_3b4<_3b3.length){ 3860return _3b3[_3b4]; 3861} 3862throw new TypeError("Must be between 0 and 63: "+_3b4); 3863}; 3864_3b2.decode=function(_3b5){ 3865var bigA=65; 3866var bigZ=90; 3867var _3b6=97; 3868var _3b7=122; 3869var zero=48; 3870var nine=57; 3871var plus=43; 3872var _3b8=47; 3873var _3b9=26; 3874var _3ba=52; 3875if(bigA<=_3b5&&_3b5<=bigZ){ 3876return _3b5-bigA; 3877} 3878if(_3b6<=_3b5&&_3b5<=_3b7){ 3879return _3b5-_3b6+_3b9; 3880} 3881if(zero<=_3b5&&_3b5<=nine){ 3882return _3b5-zero+_3ba; 3883} 3884if(_3b5==plus){ 3885return 62; 3886} 3887if(_3b5==_3b8){ 3888return 63; 3889} 3890return -1; 3891}; 3892},function(_3bb,_3bc){ 3893function _3bd(_3be,_3bf,_3c0){ 3894if(_3bf in _3be){ 3895return _3be[_3bf]; 3896}else{ 3897if(arguments.length===3){ 3898return _3c0; 3899}else{ 3900throw new Error("\""+_3bf+"\" is a required argument."); 3901} 3902} 3903}; 3904_3bc.getArg=_3bd; 3905var _3c1=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/; 3906var _3c2=/^data:.+\,.+$/; 3907function _3c3(aUrl){ 3908var _3c4=aUrl.match(_3c1); 3909if(!_3c4){ 3910return null; 3911} 3912return {scheme:_3c4[1],auth:_3c4[2],host:_3c4[3],port:_3c4[4],path:_3c4[5]}; 3913}; 3914_3bc.urlParse=_3c3; 3915function _3c5(_3c6){ 3916var url=""; 3917if(_3c6.scheme){ 3918url+=_3c6.scheme+":"; 3919} 3920url+="//"; 3921if(_3c6.auth){ 3922url+=_3c6.auth+"@"; 3923} 3924if(_3c6.host){ 3925url+=_3c6.host; 3926} 3927if(_3c6.port){ 3928url+=":"+_3c6.port; 3929} 3930if(_3c6.path){ 3931url+=_3c6.path; 3932} 3933return url; 3934}; 3935_3bc.urlGenerate=_3c5; 3936function _3c7(_3c8){ 3937var path=_3c8; 3938var url=_3c3(_3c8); 3939if(url){ 3940if(!url.path){ 3941return _3c8; 3942} 3943path=url.path; 3944} 3945var _3c9=_3bc.isAbsolute(path); 3946var _3ca=path.split(/\/+/); 3947for(var part,up=0,i=_3ca.length-1;i>=0;i--){ 3948part=_3ca[i]; 3949if(part==="."){ 3950_3ca.splice(i,1); 3951}else{ 3952if(part===".."){ 3953up++; 3954}else{ 3955if(up>0){ 3956if(part===""){ 3957_3ca.splice(i+1,up); 3958up=0; 3959}else{ 3960_3ca.splice(i,2); 3961up--; 3962} 3963} 3964} 3965} 3966} 3967path=_3ca.join("/"); 3968if(path===""){ 3969path=_3c9?"/":"."; 3970} 3971if(url){ 3972url.path=path; 3973return _3c5(url); 3974} 3975return path; 3976}; 3977_3bc.normalize=_3c7; 3978function join(_3cb,_3cc){ 3979if(_3cb===""){ 3980_3cb="."; 3981} 3982if(_3cc===""){ 3983_3cc="."; 3984} 3985var _3cd=_3c3(_3cc); 3986var _3ce=_3c3(_3cb); 3987if(_3ce){ 3988_3cb=_3ce.path||"/"; 3989} 3990if(_3cd&&!_3cd.scheme){ 3991if(_3ce){ 3992_3cd.scheme=_3ce.scheme; 3993} 3994return _3c5(_3cd); 3995} 3996if(_3cd||_3cc.match(_3c2)){ 3997return _3cc; 3998} 3999if(_3ce&&!_3ce.host&&!_3ce.path){ 4000_3ce.host=_3cc; 4001return _3c5(_3ce); 4002} 4003var _3cf=_3cc.charAt(0)==="/"?_3cc:_3c7(_3cb.replace(/\/+$/,"")+"/"+_3cc); 4004if(_3ce){ 4005_3ce.path=_3cf; 4006return _3c5(_3ce); 4007} 4008return _3cf; 4009}; 4010_3bc.join=join; 4011_3bc.isAbsolute=function(_3d0){ 4012return _3d0.charAt(0)==="/"||!!_3d0.match(_3c1); 4013}; 4014function _3d1(_3d2,_3d3){ 4015if(_3d2===""){ 4016_3d2="."; 4017} 4018_3d2=_3d2.replace(/\/$/,""); 4019var _3d4=0; 4020while(_3d3.indexOf(_3d2+"/")!==0){ 4021var _3d5=_3d2.lastIndexOf("/"); 4022if(_3d5<0){ 4023return _3d3; 4024} 4025_3d2=_3d2.slice(0,_3d5); 4026if(_3d2.match(/^([^\/]+:\/)?\/*$/)){ 4027return _3d3; 4028} 4029++_3d4; 4030} 4031return (Array(_3d4+1)).join("../")+_3d3.substr(_3d2.length+1); 4032}; 4033_3bc.relative=_3d1; 4034var _3d6=(function(){ 4035var obj=Object.create(null); 4036return !("__proto__" in obj); 4037})(); 4038function _3d7(s){ 4039return s; 4040}; 4041function _3d8(aStr){ 4042if(_3d9(aStr)){ 4043return "$"+aStr; 4044} 4045return aStr; 4046}; 4047_3bc.toSetString=_3d6?_3d7:_3d8; 4048function _3da(aStr){ 4049if(_3d9(aStr)){ 4050return aStr.slice(1); 4051} 4052return aStr; 4053}; 4054_3bc.fromSetString=_3d6?_3d7:_3da; 4055function _3d9(s){ 4056if(!s){ 4057return false; 4058} 4059var _3db=s.length; 4060if(_3db<9){ 4061return false; 4062} 4063if(s.charCodeAt(_3db-1)!==95||s.charCodeAt(_3db-2)!==95||s.charCodeAt(_3db-3)!==111||s.charCodeAt(_3db-4)!==116||s.charCodeAt(_3db-5)!==111||s.charCodeAt(_3db-6)!==114||s.charCodeAt(_3db-7)!==112||s.charCo
4063deAt(_3db-8)!==95||s.charCodeAt(_3db-9)!==95){ 4064return false; 4065} 4066for(var i=_3db-10;i>=0;i--){ 4067if(s.charCodeAt(i)!==36){ 4068return false; 4069} 4070} 4071return true; 4072}; 4073function _3dc(_3dd,_3de,_3df){ 4074var cmp=_3dd.source-_3de.source; 4075if(cmp!==0){ 4076return cmp; 4077} 4078cmp=_3dd.originalLine-_3de.originalLine; 4079if(cmp!==0){ 4080return cmp; 4081} 4082cmp=_3dd.originalColumn-_3de.originalColumn; 4083if(cmp!==0||_3df){ 4084return cmp; 4085} 4086cmp=_3dd.generatedColumn-_3de.generatedColumn; 4087if(cmp!==0){ 4088return cmp; 4089} 4090cmp=_3dd.generatedLine-_3de.generatedLine; 4091if(cmp!==0){ 4092return cmp; 4093} 4094return _3dd.name-_3de.name; 4095}; 4096_3bc.compareByOriginalPositions=_3dc; 4097function _3e0(_3e1,_3e2,_3e3){ 4098var cmp=_3e1.generatedLine-_3e2.generatedLine; 4099if(cmp!==0){ 4100return cmp; 4101} 4102cmp=_3e1.generatedColumn-_3e2.generatedColumn; 4103if(cmp!==0||_3e3){ 4104return cmp; 4105} 4106cmp=_3e1.source-_3e2.source; 4107if(cmp!==0){ 4108return cmp; 4109} 4110cmp=_3e1.originalLine-_3e2.originalLine; 4111if(cmp!==0){ 4112return cmp; 4113} 4114cmp=_3e1.originalColumn-_3e2.originalColumn; 4115if(cmp!==0){ 4116return cmp; 4117} 4118return _3e1.name-_3e2.name; 4119}; 4120_3bc.compareByGeneratedPositionsDeflated=_3e0; 4121function _3e4(_3e5,_3e6){ 4122if(_3e5===_3e6){ 4123return 0; 4124} 4125if(_3e5>_3e6){ 4126return 1; 4127} 4128return -1; 4129}; 4130function _3e7(_3e8,_3e9){ 4131var cmp=_3e8.generatedLine-_3e9.generatedLine; 4132if(cmp!==0){ 4133return cmp; 4134} 4135cmp=_3e8.generatedColumn-_3e9.generatedColumn; 4136if(cmp!==0){ 4137return cmp; 4138} 4139cmp=_3e4(_3e8.source,_3e9.source); 4140if(cmp!==0){ 4141return cmp; 4142} 4143cmp=_3e8.originalLine-_3e9.originalLine; 4144if(cmp!==0){ 4145return cmp; 4146} 4147cmp=_3e8.originalColumn-_3e9.originalColumn; 4148if(cmp!==0){ 4149return cmp; 4150} 4151return _3e4(_3e8.name,_3e9.name); 4152};
4153_3bc.compareByGeneratedPositionsInflated=_3e7; 4154},function(_3ea,_3eb,_3ec){ 4155var util=_3ec(4); 4156var has=Object.prototype.hasOwnProperty; 4157function _3ed(){ 4158this._array=[]; 4159this._set=Object.create(null); 4160}; 4161_3ed.fromArray=function ArraySet_fromArray(_3ee,_3ef){ 4162var set=new _3ed(); 4163for(var i=0,len=_3ee.length;i<len;i++){ 4164set.add(_3ee[i],_3ef); 4165} 4166return set; 4167}; 4168_3ed.prototype.size=function ArraySet_size(){ 4169return (Object.getOwnPropertyNames(this._set)).length; 4170}; 4171_3ed.prototype.add=function ArraySet_add(aStr,_3f0){ 4172var sStr=util.toSetString(aStr); 4173var _3f1=has.call(this._set,sStr); 4174var idx=this._array.length; 4175if(!_3f1||_3f0){ 4176this._array.push(aStr); 4177} 4178if(!_3f1){ 4179this._set[sStr]=idx; 4180} 4181}; 4182_3ed.prototype.has=function ArraySet_has(aStr){ 4183var sStr=util.toSetString(aStr); 4184return has.call(this._set,sStr); 4185}; 4186_3ed.prototype.indexOf=function ArraySet_indexOf(aStr){ 4187var sStr=util.toSetString(aStr); 4188if(has.call(this._set,sStr)){ 4189return this._set[sStr]; 4190} 4191throw new Error("\""+aStr+"\" is not in the set."); 4192}; 4193_3ed.prototype.at=function ArraySet_at(aIdx){ 4194if(aIdx>=0&&aIdx<this._array.length){ 4195return this._array[aIdx]; 4196} 4197throw new Error("No element indexed by "+aIdx); 4198}; 4199_3ed.prototype.toArray=function ArraySet_toArray(){ 4200return this._array.slice(); 4201}; 4202_3eb.ArraySet=_3ed; 4203},function(_3f2,_3f3,_3f4){ 4204var util=_3f4(4); 4205function _3f5(_3f6,_3f7){ 4206var _3f8=_3f6.generatedLine; 4207var _3f9=_3f7.generatedLine; 4208var _3fa=_3f6.generatedColumn; 4209var _3fb=_3f7.generatedColumn; 4210return _3f9>_3f8||_3f9==_3f8&&_3fb>=_3fa||util.compareByGeneratedPositionsInflated(_3f6,_3f7)<=0; 4211}; 4212function _3fc(){ 4213this._array=[]; 4214this._sorted=true; 4215this._last={generatedLine:-1,generatedColumn:0}; 4216}; 4217_3fc.prototype.unsortedForEach=function MappingList_forEach(_3fd,_3fe){ 4218this._array.forEach(_3fd,_3fe); 4219}; 4220_3fc.prototype.add=function MappingList_add(_3ff){ 4221if(_3f5(this._last,_3ff)){ 4222this._last=_3ff; 4223this._array.push(_3ff); 4224}else{ 4225this._sorted=false; 4226this._array.push(_3ff); 4227} 4228}; 4229_3fc.prototype.toArray=function MappingList_toArray(){ 4230if(!this._sorted){ 4231this._array.sort(util.compareByGeneratedPositionsInflated); 4232this._sorted=true; 4233} 4234return this._array; 4235}; 4236_3f3.MappingList=_3fc; 4237},function(_400,_401,_402){ 4238var util=_402(4); 4239var _403=_402(8); 4240var _404=(_402(5)).ArraySet; 4241var _405=_402(2); 4242var _406=(_402(9)).quickSort; 4243function _407(_408){ 4244var _409=_408; 4245if(typeof _408==="string"){ 4246_409=JSON.parse(_408.replace(/^\)\]\}'/,"")); 4247} 4248return _409.sections!=null?new _40a(_409):new _40b(_409); 4249}; 4250_407.fromSourceMap=function(_40c){ 4251return _40b.fromSourceMap(_40c); 4252}; 4253_407.prototype._version=3; 4254_407.prototype.__generatedMappings=null; 4255Object.defineProperty(_407.prototype,"_generatedMappings",{get:function(){ 4256if(!this.__generatedMappings){ 4257this._parseMappings(this._mappings,this.sourceRoot); 4258} 4259return this.__generatedMappings; 4260}}); 4261_407.prototype.__originalMappings=null; 4262Object.defineProperty(_407.prototype,"_originalMappings",{get:function(){ 4263if(!this.__originalMappings){ 4264this._parseMappings(this._mappings,this.sourceRoot); 4265} 4266return this.__originalMappings; 4267}}); 4268_407.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(aStr,_40d){ 4269var c=aStr.charAt(_40d); 4270return c===";"||c===","; 4271}; 4272_407.prototype._parseMappings=function SourceMapConsumer_parseMappings(aStr,_40e){ 4273throw new Error("Subclasses must implement _parseMappings"); 4274}; 4275_407.GENERATED_ORDER=1; 4276_407.ORIGINAL_ORDER=2; 4277_407.GREATEST_LOWER_BOUND=1; 4278_407.LEAST_UPPER_BOUND=2; 4279_407.prototype.eachMapping=function SourceMapConsumer_eachMapping(_40f,_410,_411){ 4280var _412=_410||null; 4281var _413=_411||_407.GENERATED_ORDER; 4282var _414; 4283switch(_413){ 4284case _407.GENERATED_ORDER: 4285_414=this._generatedMappings; 4286break; 4287case _407.ORIGINAL_ORDER: 4288_414=this._originalMappings; 4289break; 4290default: 4291throw new Error("Unknown order of iteration."); 4292} 4293var _415=this.sourceRoot; 4294(_414.map(function(_416){ 4295var _417=_416.source===null?null:this._sources.at(_416.source); 4296if(_417!=null&&_415!=null){ 4297_417=util.join(_415,_417); 4298} 4299return {source:_417,generatedLine:_416.generatedLine,generatedColumn:_416.generatedColumn,originalLine:_416.originalLine,originalColumn:_416.originalColumn,name:_416.name===null?null:this._names.at(_416.name)}; 4300}
vendor: 15,396 bytes, lines 4300-4830
4300,this)).forEach(_40f,_412); 4301}; 4302_407.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(_418){ 4303var line=util.getArg(_418,"line"); 4304var _419={source:util.getArg(_418,"source"),originalLine:line,originalColumn:util.getArg(_418,"column",0)}; 4305if(this.sourceRoot!=null){ 4306_419.source=util.relative(this.sourceRoot,_419.source); 4307} 4308if(!this._sources.has(_419.source)){ 4309return []; 4310} 4311_419.source=this._sources.indexOf(_419.source); 4312var _41a=[]; 4313var _41b=this._findMapping(_419,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,_403.LEAST_UPPER_BOUND); 4314if(_41b>=0){ 4315var _41c=this._originalMappings[_41b]; 4316if(_418.column===_32){ 4317var _41d=_41c.originalLine; 4318while(_41c&&_41c.originalLine===_41d){ 4319_41a.push({line:util.getArg(_41c,"generatedLine",null),column:util.getArg(_41c,"generatedColumn",null),lastColumn:util.getArg(_41c,"lastGeneratedColumn",null)}); 4320_41c=this._originalMappings[++_41b]; 4321} 4322}else{ 4323var _41e=_41c.originalColumn; 4324while(_41c&&_41c.originalLine===line&&_41c.originalColumn==_41e){ 4325_41a.push({line:util.getArg(_41c,"generatedLine",null),column:util.getArg(_41c,"generatedColumn",null),lastColumn:util.getArg(_41c,"lastGeneratedColumn",null)}); 4326_41c=this._originalMappings[++_41b]; 4327} 4328} 4329} 4330return _41a; 4331}; 4332_401.SourceMapConsumer=_407; 4333function _40b(_41f){ 4334var _420=_41f; 4335if(typeof _41f==="string"){ 4336_420=JSON.parse(_41f.replace(/^\)\]\}'/,"")); 4337} 4338var _421=util.getArg(_420,"version"); 4339var _422=util.getArg(_420,"sources"); 4340var _423=util.getArg(_420,"names",[]); 4341var _424=util.getArg(_420,"sourceRoot",null); 4342var _425=util.getArg(_420,"sourcesContent",null); 4343var _426=util.getArg(_420,"mappings"); 4344var file=util.getArg(_420,"file",null); 4345if(_421!=this._version){ 4346throw new Error("Unsupported version: "+_421); 4347} 4348_422=((_422.map(String)).map(util.normalize)).map(function(_427){ 4349return _424&&util.isAbsolute(_424)&&util.isAbsolute(_427)?util.relative(_424,_427):_427; 4350}); 4351this._names=_404.fromArray(_423.map(String),true); 4352this._sources=_404.fromArray(_422,true); 4353this.sourceRoot=_424; 4354this.sourcesContent=_425; 4355this._mappings=_426; 4356this.file=file; 4357}; 4358_40b.prototype=Object.create(_407.prototype); 4359_40b.prototype.consumer=_407; 4360_40b.fromSourceMap=function SourceMapConsumer_fromSourceMap(_428){ 4361var smc=Object.create(_40b.prototype); 4362var _429=smc._names=_404.fromArray(_428._names.toArray(),true); 4363var _42a=smc._sources=_404.fromArray(_428._sources.toArray(),true); 4364smc.sourceRoot=_428._sourceRoot; 4365smc.sourcesContent=_428._generateSourcesContent(smc._sources.toArray(),smc.sourceRoot); 4366smc.file=_428._file; 4367var _42b=(_428._mappings.toArray()).slice(); 4368var _42c=smc.__generatedMappings=[]; 4369var _42d=smc.__originalMappings=[]; 4370for(var i=0,_42e=_42b.length;i<_42e;i++){ 4371var _42f=_42b[i]; 4372var _430=new _431(); 4373_430.generatedLine=_42f.generatedLine; 4374_430.generatedColumn=_42f.generatedColumn; 4375if(_42f.source){ 4376_430.source=_42a.indexOf(_42f.source); 4377_430.originalLine=_42f.originalLine; 4378_430.originalColumn=_42f.originalColumn; 4379if(_42f.name){ 4380_430.name=_429.indexOf(_42f.name); 4381} 4382_42d.push(_430); 4383} 4384_42c.push(_430); 4385} 4386_406(smc.__originalMappings,util.compareByOriginalPositions); 4387return smc; 4388}; 4389_40b.prototype._version=3; 4390Object.defineProperty(_40b.prototype,"sources",{get:function(){ 4391return (this._sources.toArray()).map(function(s){ 4392return this.sourceRoot!=null?util.join(this.sourceRoot,s):s; 4393},this); 4394}}); 4395function _431(){ 4396this.generatedLine=0; 4397this.generatedColumn=0; 4398this.source=null; 4399this.originalLine=null; 4400this.originalColumn=null; 4401this.name=null; 4402}; 4403_40b.prototype._parseMappings=function SourceMapConsumer_parseMappings(aStr,_432){ 4404var _433=1; 4405var _434=0; 4406var _435=0; 4407var _436=0; 4408var _437=0; 4409var _438=0; 4410var _439=aStr.length; 4411var _43a=0; 4412var _43b={}; 4413var temp={}; 4414var _43c=[]; 4415var _43d=[]; 4416var _43e,str,_43f,end,_440; 4417while(_43a<_439){ 4418if(aStr.charAt(_43a)===";"){ 4419_433++; 4420_43a++; 4421_434=0; 4422}else{ 4423if(aStr.charAt(_43a)===","){ 4424_43a++; 4425}else{ 4426_43e=new _431(); 4427_43e.generatedLine=_433; 4428for(end=_43a;end<_439;end++){ 4429if(this._charIsMappingSeparator(aStr,end)){ 4430break; 4431} 4432} 4433str=aStr.slice(_43a,end); 4434_43f=_43b[str]; 4435if(_43f){ 4436_43a+=str.length; 4437}else{ 4438_43f=[]; 4439while(_43a<end){ 4440_405.decode(aStr,_43a,temp); 4441_440=temp.value; 4442_43a=temp.rest; 4443_43f.push(_440); 4444} 4445if(_43f.length===2){ 4446throw new Error("Found a source, but no line and column"); 4447} 4448if(_43f.length===3){ 4449throw new Error("Found a source and line, but no column"); 4450} 4451_43b[str]=_43f; 4452} 4453_43e.generatedColumn=_434+_43f[0]; 4454_434=_43e.generatedColumn; 4455if(_43f.length>1){ 4456_43e.source=_437+_43f[1]; 4457_437+=_43f[1]; 4458_43e.originalLine=_435+_43f[2]; 4459_435=_43e.originalLine; 4460_43e.originalLine+=1; 4461_43e.originalColumn=_436+_43f[3]; 4462_436=_43e.originalColumn; 4463if(_43f.length>4){ 4464_43e.name=_438+_43f[4]; 4465_438+=_43f[4]; 4466} 4467} 4468_43d.push(_43e); 4469if(typeof _43e.originalLine==="number"){ 4470_43c.push(_43e); 4471} 4472} 4473} 4474} 4475_406(_43d,util.compareByGeneratedPositionsDeflated); 4476this.__generatedMappings=_43d; 4477_406(_43c,util.compareByOriginalPositions); 4478this.__originalMappings=_43c; 4479}; 4480_40b.prototype._findMapping=function SourceMapConsumer_findMapping(_441,_442,_443,_444,_445,_446){ 4481if(_441[_443]<=0){ 4482throw new TypeError("Line must be greater than or equal to 1, got "+_441[_443]); 4483} 4484if(_441[_444]<0){ 4485throw new TypeError("Column must be greater than or equal to 0, got "+_441[_444]); 4486} 4487return _403.search(_441,_442,_445,_446); 4488}; 4489_40b.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){ 4490for(var _447=0;_447<this._generatedMappings.length;++_447){ 4491var _448=this._generatedMappings[_447]; 4492if(_447+1<this._generatedMappings.length){ 4493var _449=this._generatedMappings[_447+1]; 4494if(_448.generatedLine===_449.generatedLine){ 4495_448.lastGeneratedColumn=_449.generatedColumn-1; 4496continue; 4497} 4498} 4499_448.lastGeneratedColumn=Infinity; 4500} 4501}; 4502_40b.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(_44a){ 4503var _44b={generatedLine:util.getArg(_44a,"line"),generatedColumn:util.getArg(_44a,"column")}; 4504var _44c=this._findMapping(_44b,this._generatedMappings,"generatedLine","generatedColumn",util.compareByGeneratedPositionsDeflated,util.getArg(_44a,"bias",_407.GREATEST_LOWER_BOUND)); 4505if(_44c>=0){ 4506var _44d=this._generatedMappings[_44c]; 4507if(_44d.generatedLine===_44b.generatedLine){ 4508var _44e=util.getArg(_44d,"source",null); 4509if(_44e!==null){ 4510_44e=this._sources.at(_44e); 4511if(this.sourceRoot!=null){ 4512_44e=util.join(this.sourceRoot,_44e); 4513} 4514} 4515var name=util.getArg(_44d,"name",null); 4516if(name!==null){ 4517name=this._names.at(name); 4518} 4519return {source:_44e,line:util.getArg(_44d,"originalLine",null),column:util.getArg(_44d,"originalColumn",null),name:name}; 4520} 4521} 4522return {source:null,line:null,column:null,name:null}; 4523}; 4524_40b.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){ 4525if(!this.sourcesContent){ 4526return false; 4527} 4528return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(sc){ 4529return sc==null; 4530}); 4531}; 4532_40b.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(_44f,_450){ 4533if(!this.sourcesContent){ 4534return null; 4535} 4536if(this.sourceRoot!=null){ 4537_44f=util.relative(this.sourceRoot,_44f); 4538} 4539if(this._sources.has(_44f)){ 4540return this.sourcesContent[this._sources.indexOf(_44f)]; 4541} 4542var url; 4543if(this.sourceRoot!=null&&(url=util.urlParse(this.sourceRoot))){ 4544var _451=_44f.replace(/^file:\/\//,""); 4545if(url.scheme=="file"&&this._sources.has(_451)){ 4546return this.sourcesContent[this._sources.indexOf(_451)]; 4547} 4548if((!url.path||url.path=="/")&&this._sources.has("/"+_44f)){ 4549return this.sourcesContent[this._sources.indexOf("/"+_44f)]; 4550} 4551} 4552if(_450){ 4553return null; 4554}else{ 4555throw new Error("\""+_44f+"\" is not in the SourceMap."); 4556} 4557}; 4558_40b.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(_452){ 4559var _453=util.getArg(_452,"source"); 4560if(this.sourceRoot!=null){ 4561_453=util.relative(this.sourceRoot,_453); 4562} 4563if(!this._sources.has(_453)){ 4564return {line:null,column:null,lastColumn:null}; 4565} 4566_453=this._sources.indexOf(_453); 4567var _454={source:_453,originalLine:util.getArg(_452,"line"),originalColumn:util.getArg(_452,"column")}; 4568var _455=this._findMapping(_454,this._originalMappings,"originalLine","originalColumn",util.compareByOriginalPositions,util.getArg(_452,"bias",_407.GREATEST_LOWER_BOUND)); 4569if(_455>=0){ 4570var _456=this._originalMappings[_455]; 4571if(_456.source===_454.source){ 4572return {line:util.getArg(_456,"generatedLine",null),column:util.getArg(_456,"generatedColumn",null),lastColumn:util.getArg(_456,"lastGeneratedColumn",null)}; 4573} 4574} 4575return {line:null,column:null,lastColumn:null}; 4576}; 4577_401.BasicSourceMapConsumer=_40b; 4578function _40a(_457){ 4579var _458=_457; 4580if(typeof _457==="string"){ 4581_458=JSON.parse(_457.replace(/^\)\]\}'/,"")); 4582} 4583var _459=util.getArg(_458,"version"); 4584var _45a=util.getArg(_458,"sections"); 4585if(_459!=this._version){ 4586throw new Error("Unsupported version: "+_459); 4587} 4588this._sources=new _404(); 4589this._names=new _404(); 4590var _45b={line:-1,column:0}; 4591this._sections=_45a.map(function(s){ 4592if(s.url){ 4593throw new Error("Support for url field in sections not implemented."); 4594} 4595var _45c=util.getArg(s,"offset"); 4596var _45d=util.getArg(_45c,"line"); 4597var _45e=util.getArg(_45c,"column"); 4598if(_45d<_45b.line||_45d===_45b.line&&_45e<_45b.column){ 4599throw new Error("Section offsets must be ordered and non-overlapping."); 4600} 4601_45b=_45c; 4602return {generatedOffset:{generatedLine:_45d+1,generatedColumn:_45e+1},consumer:new _407(util.getArg(s,"map"))}; 4603}); 4604}; 4605_40a.prototype=Object.create(_407.prototype); 4606_40a.prototype.constructor=_407; 4607_40a.prototype._version=3; 4608Object.defineProperty(_40a.prototype,"sources",{get:function(){ 4609var _45f=[]; 4610for(var i=0;i<this._sections.length;i++){ 4611for(var j=0;j<this._sections[i].consumer.sources.length;j++){ 4612_45f.push(this._sections[i].consumer.sources[j]); 4613} 4614} 4615return _45f; 4616}}); 4617_40a.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(_460){ 4618var _461={generatedLine:util.getArg(_460,"line"),generatedColumn:util.getArg(_460,"column")}; 4619var _462=_403.search(_461,this._sections,function(_463,_464){ 4620var cmp=_463.generatedLine-_464.generatedOffset.generatedLine; 4621if(cmp){ 4622return cmp; 4623} 4624return _463.generatedColumn-_464.generatedOffset.generatedColumn; 4625}); 4626var _465=this._sections[_462]; 4627if(!_465){ 4628return {source:null,line:null,column:null,name:null}; 4629} 4630return _465.consumer.originalPositionFor({line:_461.generatedLine-(_465.generatedOffset.generatedLine-1),column:_461.generatedColumn-(_465.generatedOffset.generatedLine===_461.generatedLine?_465.generatedOffset.generatedColumn-1:0),bias:_460.bias}); 4631}; 4632_40a.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){ 4633return this._sections.every(function(s){ 4634return s.consumer.hasContentsOfAllSources(); 4635}); 4636}; 4637_40a.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(_466,_467){ 4638for(var i=0;i<this._sections.length;i++){ 4639var _468=this._sections[i]; 4640var _469=_468.consumer.sourceContentFor(_466,true); 4641if(_469){ 4642return _469; 4643} 4644} 4645if(_467){ 4646return null; 4647}else{ 4648throw new Error("\""+_466+"\" is not in the SourceMap."); 4649} 4650}; 4651_40a.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(_46a){ 4652for(var i=0;i<this._sections.length;i++){ 4653var _46b=this._sections[i]; 4654if(_46b.consumer.sources.indexOf(util.getArg(_46a,"source"))===-1){ 4655continue; 4656} 4657var _46c=_46b.consumer.generatedPositionFor(_46a); 4658if(_46c){ 4659var ret={line:_46c.line+(_46b.generatedOffset.generatedLine-1),column:_46c.column+(_46b.generatedOffset.generatedLine===_46c.line?_46b.generatedOffset.generatedColumn-1:0)}; 4660return ret; 4661} 4662} 4663return {line:null,column:null}; 4664}; 4665_40a.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(aStr,_46d){ 4666this.__generatedMappings=[]; 4667this.__originalMappings=[]; 4668for(var i=0;i<this._sections.length;i++){ 4669var _46e=this._sections[i]; 4670var _46f=_46e.consumer._generatedMappings; 4671for(var j=0;j<_46f.length;j++){ 4672var _470=_46f[j]; 4673var _471=_46e.consumer._sources.at(_470.source); 4674if(_46e.consumer.sourceRoot!==null){ 4675_471=util.join(_46e.consumer.sourceRoot,_471); 4676} 4677this._sources.add(_471); 4678_471=this._sources.indexOf(_471); 4679var name=_46e.consumer._names.at(_470.name); 4680this._names.add(name); 4681name=this._names.indexOf(name); 4682var _472={source:_471,generatedLine:_470.generatedLine+(_46e.generatedOffset.generatedLine-1),generatedColumn:_470.generatedColumn+(_46e.generatedOffset.generatedLine===_470.generatedLine?_46e.generatedOffset.generatedColumn-1:0),originalLine:_470.originalLine,originalColumn:_470.originalColumn,name:name}; 4683this.__generatedMappings.push(_472); 4684if(typeof _472.originalLine==="number"){ 4685this.__originalMappings.push(_472); 4686} 4687} 4688} 4689_406(this.__generatedMappings,util.compareByGeneratedPositionsDeflated); 4690_406(this.__originalMappings,util.compareByOriginalPositions); 4691}; 4692_401.IndexedSourceMapConsumer=_40a; 4693},function(_473,_474){ 4694_474.GREATEST_LOWER_BOUND=1; 4695_474.LEAST_UPPER_BOUND=2; 4696function _475(aLow,_476,_477,_478,_479,_47a){ 4697var mid=Math.floor((_476-aLow)/2)+aLow; 4698var cmp=_479(_477,_478[mid],true); 4699if(cmp===0){ 4700return mid; 4701}else{ 4702if(cmp>0){ 4703if(_476-mid>1){ 4704return _475(mid,_476,_477,_478,_479,_47a); 4705} 4706if(_47a==_474.LEAST_UPPER_BOUND){ 4707return _476<_478.length?_476:-1; 4708}else{ 4709return mid; 4710} 4711}else{ 4712if(mid-aLow>1){ 4713return _475(aLow,mid,_477,_478,_479,_47a); 4714} 4715if(_47a==_474.LEAST_UPPER_BOUND){ 4716return mid; 4717}else{ 4718return aLow<0?-1:aLow; 4719} 4720} 4721} 4722}; 4723_474.search=function search(_47b,_47c,_47d,_47e){ 4724if(_47c.length===0){ 4725return -1; 4726} 4727var _47f=_475(-1,_47c.length,_47b,_47c,_47d,_47e||_474.GREATEST_LOWER_BOUND); 4728if(_47f<0){ 4729return -1; 4730} 4731while(_47f-1>=0){ 4732if(_47d(_47c[_47f],_47c[_47f-1],true)!==0){ 4733break; 4734} 4735--_47f; 4736} 4737return _47f; 4738}; 4739},function(_480,_481){ 4740function swap(ary,x,y){ 4741var temp=ary[x]; 4742ary[x]=ary[y]; 4743ary[y]=temp; 4744}; 4745function _482(low,high){ 4746return Math.round(low+Math.random()*(high-low)); 4747}; 4748function _483(ary,_484,p,r){ 4749if(p<r){ 4750var _485=_482(p,r); 4751var i=p-1; 4752swap(ary,_485,r); 4753var _486=ary[r]; 4754for(var j=p;j<r;j++){ 4755if(_484(ary[j],_486)<=0){ 4756i+=1; 4757swap(ary,i,j); 4758} 4759} 4760swap(ary,i+1,j); 4761var q=i+1; 4762_483(ary,_484,p,q-1); 4763_483(ary,_484,q+1,r); 4764} 4765}; 4766_481.quickSort=function(ary,_487){ 4767_483(ary,_487,0,ary.length-1); 4768}; 4769},function(_488,_489,_48a){ 4770var _48b=(_48a(1)).SourceMapGenerator; 4771var util=_48a(4); 4772var _48c=/(\r?\n)/; 4773var _48d=10; 4774var _48e="$$$isSourceNode$$$"; 4775function _48f(_490,_491,_492,_493,_494){ 4776this.children=[]; 4777this.sourceContents={}; 4778this.line=_490==null?null:_490; 4779this.column=_491==null?null:_491; 4780this.source=_492==null?null:_492; 4781this.name=_494==null?null:_494; 4782this[_48e]=true; 4783if(_493!=null){ 4784this.add(_493); 4785} 4786}; 4787_48f.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(_495,_496,_497){ 4788var node=new _48f(); 4789var _498=_495.split(_48c); 4790var _499=function(){ 4791var _49a=_498.shift(); 4792var _49b=_498.shift()||""; 4793return _49a+_49b; 4794}; 4795var _49c=1,_49d=0; 4796var _49e=null; 4797_496.eachMapping(function(_49f){ 4798if(_49e!==null){ 4799if(_49c<_49f.generatedLine){ 4800_4a0(_49e,_499()); 4801_49c++; 4802_49d=0; 4803}else{ 4804var _4a1=_498[0]; 4805var code=_4a1.substr(0,_49f.generatedColumn-_49d); 4806_498[0]=_4a1.substr(_49f.generatedColumn-_49d); 4807_49d=_49f.generatedColumn; 4808_4a0(_49e,code); 4809_49e=_49f; 4810return; 4811} 4812} 4813while(_49c<_49f.generatedLine){ 4814node.add(_499()); 4815_49c++; 4816} 4817if(_49d<_49f.generatedColumn){ 4818var _4a1=_498[0]; 4819node.add(_4a1.substr(0,_49f.generatedColumn)); 4820_498[0]=_4a1.substr(_49f.generatedColumn); 4821_49d=_49f.generatedColumn; 4822} 4823_49e=_49f; 4824},this); 4825if(_498.length>0){ 4826if(_49e){ 4827_4a0(_49e,_499()); 4828} 4829node.add(_498.join("")); 4830}
4831_496.sources.forEach(function(_4a2){ 4832var _4a3=_496.sourceContentFor(_4a2); 4833if(_4a3!=null){ 4834if(_497!=null){ 4835_4a2=util.join(_497,_4a2); 4836} 4837node.setSourceContent(_4a2,_4a3); 4838} 4839}); 4840return node; 4841function _4a0(_4a4,code){ 4842if(_4a4===null||_4a4.source===_32){ 4843node.add(code); 4844}else{ 4845var _4a5=_497?util.join(_497,_4a4.source):_4a4.source; 4846node.add(new _48f(_4a4.originalLine,_4a4.originalColumn,_4a5,code,_4a4.name)); 4847} 4848}; 4849}; 4850_48f.prototype.add=function SourceNode_add(_4a6){ 4851if(Array.isArray(_4a6)){ 4852_4a6.forEach(function(_4a7){ 4853this.add(_4a7); 4854},this); 4855}else{ 4856if(_4a6[_48e]||typeof _4a6==="string"){ 4857if(_4a6){ 4858this.children.push(_4a6); 4859} 4860}else{ 4861throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+_4a6); 4862} 4863} 4864return this; 4865}; 4866_48f.prototype.prepend=function SourceNode_prepend(_4a8){ 4867if(Array.isArray(_4a8)){ 4868for(var i=_4a8.length-1;i>=0;i--){ 4869this.prepend(_4a8[i]); 4870} 4871}else{ 4872if(_4a8[_48e]||typeof _4a8==="string"){ 4873this.children.unshift(_4a8); 4874}else{ 4875throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+_4a8); 4876} 4877} 4878return this; 4879}; 4880_48f.prototype.walk=function SourceNode_walk(aFn){ 4881var _4a9; 4882for(var i=0,len=this.children.length;i<len;i++){ 4883_4a9=this.children[i]; 4884if(_4a9[_48e]){ 4885_4a9.walk(aFn); 4886}else{ 4887if(_4a9!==""){ 4888aFn(_4a9,{source:this.source,line:this.line,column:this.column,name:this.name}); 4889} 4890} 4891} 4892}; 4893_48f.prototype.join=function SourceNode_join(aSep){ 4894var _4aa; 4895var i; 4896var len=this.children.length; 4897if(len>0){ 4898_4aa=[]; 4899for(i=0;i<len-1;i++){ 4900_4aa.push(this.children[i]); 4901_4aa.push(aSep); 4902} 4903_4aa.push(this.children[i]); 4904this.children=_4aa; 4905} 4906return this; 4907}; 4908_48f.prototype.replaceRight=function SourceNode_replaceRight(_4ab,_4ac){ 4909var _4ad=this.children[this.children.length-1]; 4910if(_4ad[_48e]){ 4911_4ad.replaceRight(_4ab,_4ac); 4912}else{ 4913if(typeof _4ad==="string"){ 4914this.children[this.children.length-1]=_4ad.replace(_4ab,_4ac); 4915}else{ 4916this.children.push("".replace(_4ab,_4ac)); 4917} 4918} 4919return this; 4920}; 4921_48f.prototype.setSourceContent=function SourceNode_setSourceContent(_4ae,_4af){ 4922this.sourceContents[util.toSetString(_4ae)]=_4af; 4923}; 4924_48f.prototype.walkSourceContents=function SourceNode_walkSourceContents(aFn){ 4925for(var i=0,len=this.children.length;i<len;i++){ 4926if(this.children[i][_48e]){ 4927this.children[i].walkSourceContents(aFn); 4928} 4929} 4930var _4b0=Object.keys(this.sourceContents); 4931for(var i=0,len=_4b0.length;i<len;i++){ 4932aFn(util.fromSetString(_4b0[i]),this.sourceContents[_4b0[i]]); 4933} 4934}; 4935_48f.prototype.toString=function SourceNode_toString(){ 4936var str=""; 4937this.walk(function(_4b1){ 4938str+=_4b1; 4939}); 4940return str; 4941}; 4942_48f.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(_4b2){ 4943var _4b3={code:"",line:1,column:0}; 4944var map=new _48b(_4b2); 4945var _4b4=false; 4946var _4b5=null; 4947var _4b6=null; 4948var _4b7=null; 4949var _4b8=null; 4950this.walk(function(_4b9,_4ba){ 4951_4b3.code+=_4b9; 4952if(_4ba.source!==null&&_4ba.line!==null&&_4ba.column!==null){ 4953if(_4b5!==_4ba.source||_4b6!==_4ba.line||_4b7!==_4ba.column||_4b8!==_4ba.name){ 4954map.addMapping({source:_4ba.source,original:{line:_4ba.line,column:_4ba.column},generated:{line:_4b3.line,column:_4b3.column},name:_4ba.name}); 4955} 4956_4b5=_4ba.source; 4957_4b6=_4ba.line; 4958_4b7=_4ba.column; 4959_4b8=_4ba.name; 4960_4b4=true; 4961}else{ 4962if(_4b4){ 4963map.addMapping({generated:{line:_4b3.line,column:_4b3.column}}); 4964_4b5=null; 4965_4b4=false; 4966} 4967} 4968for(var idx=0,_4bb=_4b9.length;idx<_4bb;idx++){ 4969if(_4b9.charCodeAt(idx)===_48d){ 4970_4b3.line++; 4971_4b3.column=0; 4972if(idx+1===_4bb){ 4973_4b5=null; 4974_4b4=false; 4975}else{ 4976if(_4b4){ 4977map.addMapping({source:_4ba.source,original:{line:_4ba.line,column:_4ba.column},generated:{line:_4b3.line,column:_4b3.column},name:_4ba.name}); 4978} 4979} 4980}else{ 4981_4b3.column++; 4982} 4983} 4984}); 4985this.walkSourceContents(function(_4bc,_4bd){ 4986map.setSourceContent(_4bc,_4bd); 4987}); 4988return {code:_4b3.code,map:map}; 4989}; 4990_489.SourceNode=_48f; 4991}]); 4992}); 4993(function(_4be,walk){ 4994"use strict"; 4995_4be.version="0.3.3-objj-3"; 4996var _4bf,_4c0,_4c1,_4c2; 4997_4be.parse=function(inpt,opts){ 4998_4c0=String(inpt); 4999_4c1=_4c0.length; 5000_4c3(opts); 5001_4c4(); 5002if(_4bf.macros){ 5003_4c5(_4bf.macros); 5004} 5005_4c6(); 5006return _4c7(_4bf.program); 5007}; 5008var _4c8=_4be.defaultOptions={ecmaVersion:5,strictSemicolons:false,allowTrailingCommas:true,forbidReserved:false,trackComments:false,trackCommentsIncludeLineBreak:false,trackSpaces:false,locations:false,onComment:null,ranges:false,program:null,sourceFile:null,objj:true,preprocess:true,preprocessGetIncludeFile:_4c9,preprocessAddMacro:_4ca,preprocessGetMacro:_4cb,preprocessUndefineMacro:_4cc,preprocessIsMacro:_4cd,macros:null,lineNoInErrorMessage:true,preIncludeFiles:null}; 5009function _4c3(opts){ 5010_4bf=opts||{}; 5011for(var opt in _4c8){ 5012if(!Object.prototype.hasOwnProperty.call(_4bf,opt)){ 5013_4bf[opt]=_4c8[opt]; 5014} 5015} 5016_4c2=_4bf.sourceFile||null; 5017}; 5018var _4ce; 5019var _4cf; 5020var _4d0=function(name,_4d1,_4d2){ 5021return new _4d3(name,_4d1,null,_4d2-name.length); 5022}; 5023var _4d4={1:function(){ 5024return _4d0("__OBJJ__",_4bf.objj?"1":null,_4d5); 5025}}; 5026_4d4["__"+"BROWSER"+"__"]=function(){ 5027return _4d0("__BROWSER__",typeof window!=="undefined"?"1":null,_4d5); 5028}; 5029_4d4["__"+"LINE"+"__"]=function(){ 5030return _4d0("__LINE__",String(_4bf.locations?_4d6:(_4d7(_4c0,_4d5)).line),_4d5); 5031}; 5032_4d4["__"+"DATE"+"__"]=function(){ 5033var date,day; 5034return _4d0("__DATE__",(date=new Date(),day=String(date.getDate()),["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][date.getMonth()]+(day.length>1?" ":" ")+day+" "+date.getFullYear()),_4d5); 5035}; 5036_4d4["__"+"TIME"+"__"]=function(){ 5037var date; 5038return _4d0("__TIME__",(date=new Date(),("0"+date.getHours()).slice(-2)+":"+("0"+date.getMinutes()).slice(-2)+":"+("0"+date.getSeconds()).slice(-2)),_4d5); 5039}; 5040function _4c9(_4d8){ 5041return {include:"#define FOO(x) x\n",sourceFile:_4d8}; 5042}; 5043function _4ca(_4d9){ 5044_4ce[_4d9.identifier]=_4d9; 5045_4cf=null; 5046}; 5047function _4cb(_4da){ 5048return _4ce[_4da]; 5049}; 5050function _4cc(_4db){ 5051delete _4ce[_4db]; 5052_4cf=null; 5053}; 5054function _4cd(_4dc){ 5055return (_4cf||(_4cf=_4dd(((Object.keys(_4ce)).concat((Object.keys(_4d4)).filter(function(key){ 5056return (this[key]()).macro!=null; 5057},_4d4))).join(" "))))(_4dc); 5058}; 5059function _4de(_4df){ 5060var _4e0=_4d4[_4df]; 5061return _4e0?_4e0():null; 5062}; 5063function _4c5(_4e1){ 5064for(var i=0,size=_4e1.length;i<size;i++){ 5065var _4e2=_4c0; 5066var _4e3=_4e1[i].trim(); 5067var pos=_4e3.indexOf("="); 5068if(pos===0){ 5069_4e4(0,"Invalid macro definition: '"+_4e3+"'"); 5070} 5071var name,body; 5072if(pos>0){ 5073name=_4e3.slice(0,pos); 5074body=_4e3.slice(pos+1); 5075}else{ 5076name=_4e3; 5077} 5078if(_4d4.hasOwnProperty(name)){ 5079_4e4(0,"'"+name+"' is a predefined macro name"); 5080} 5081_4c0=name+(body!=null?" "+body:""); 5082_4c1=_4c0.length; 5083_4c6(); 5084_4e5(); 5085_4c0=_4e2; 5086_4c1=_4c0.length; 5087} 5088}; 5089var _4d7=_4be.getLineInfo=function(_4e6,_4e7){ 5090for(var line=1,cur=0;;){ 5091_4e8.lastIndex=cur; 5092var _4e9=_4e8.exec(_4e6); 5093if(_4e9&&_4e9.index<_4e7){ 5094++line; 5095cur=_4e9.index+_4e9[0].length; 5096}else{ 5097break; 5098} 5099} 5100return {line:line,column:_4e7-cur,lineStart:cur,lineEnd:_4e9?_4e9.index+_4e9[0].length:_4e6.length}; 5101}; 5102_4be.tokenize=function(inpt,opts){ 5103_4c0=String(inpt); 5104_4c1=_4c0.length; 5105_4c3(opts); 5106_4c6(); 5107_4c4(); 5108var t={}; 5109function _4ea(_4eb){ 5110_5c0(_4eb); 5111t.start=_4f3; 5112t.end=_4f4; 5113t.startLoc=_4fb; 5114t.endLoc=_4fc; 5115t.type=_4fd; 5116t.value=_4fe; 5117return t; 5118}; 5119_4ea.jumpTo=function(pos,_4ec){ 5120_4d5=pos; 5121if(_4bf.locations){ 5122_4d6=1; 5123_4ed=_4e8.lastIndex=0; 5124var _4ee; 5125while((_4ee=_4e8.exec(_4c0))&&_4ee.index<pos){ 5126++_4d6; 5127_4ed=_4ee.index+_4ee[0].length; 5128} 5129} 5130_4ef=_4ec; 5131_4f0(); 5132}; 5133return _4ea; 5134}; 5135var _4d5; 5136var _4f1,_4f2,_4f3,_4f4,_4f5,_4f6,_4f7; 5137var _4f8; 5138var _4f9,_4fa; 5139var _4fb,_4fc; 5140var _4fd,_4fe; 5141var _4ff,_500,_501; 5142var _502,_503,_504; 5143var _4ef,_505,_506; 5144var _4d6,_4ed; 5145var _507,_508,_509; 5146var _50a,_50b,_50c; 5147var _50d; 5148var _50e,_50f,_510; 5149var _511,_512,_513,_514,_515; 5150var _516,_517; 5151var _518; 5152var _519; 5153var _51a; 5154var _51b; 5155var _51c; 5156var _51d; 5157var _51e; 5158var _51f; 5159var _520; 5160var _521; 5161var _522; 5162var _523; 5163function _4e4(pos,_524){ 5164if(typeof pos=="number"){ 5165pos=_4d7(_4c0,pos); 5166} 5167if(_4bf.lineNoInErrorMessage){ 5168_524+=" ("+pos.line+":"+pos.column+")"; 5169} 5170var _525=new SyntaxError(_524); 5171_525.messageOnLine=pos.line; 5172_525.messageOnColumn=pos.column; 5173_525.lineStart=pos.lineStart; 5174_525.lineEnd=pos.lineEnd; 5175_525.fileName=_4c2; 5176throw _525; 5177}; 5178var _526=[]; 5179var _527={type:"num"},_528={type:"regexp"},_529={type:"string"}; 5180var _52a={type:"name"},_52b={type:"eof"},_52c={type:"eol"}; 5181var _52d={keyword:"break"},_52e={keyword:"case",beforeExpr:true},_52f={keyword:"catch"}; 5182var _530={keyword:"continue"},_531={keyword:"debugger"},_532={keyword:"default"}; 5183var _533={keyword:"do",isLoop:true},_534={keyword:"else",beforeExpr:true}; 5184var _535={keyword:"finally"},_536={keyword:"for",isLoop:true},_537={keyword:"function"}; 5185var _538={keyword:"if"},_539={keyword:"return",beforeExpr:true}
5185,_53a={keyword:"switch"}; 5186var _53b={keyword:"throw",beforeExpr:true},_53c={keyword:"try"},_53d={keyword:"var"}; 5187var _53e={keyword:"while",isLoop:true},_53f={keyword:"with"},_540={keyword:"new",beforeExpr:true}; 5188var _541={keyword:"this"}; 5189var _542={keyword:"void",prefix:true,beforeExpr:true}; 5190var _543={keyword:"null",atomValue:null},_544={keyword:"true",atomValue:true}; 5191var _545={keyword:"false",atomValue:false}; 5192var _546={keyword:"in",binop:7,beforeExpr:true}; 5193var _547={keyword:"implementation"},_548={keyword:"outlet"},_549={keyword:"accessors"}; 5194var _54a={keyword:"end"},_54b={keyword:"import"}; 5195var _54c={keyword:"action"},_54d={keyword:"selector"},_54e={keyword:"class"},_54f={keyword:"global"}; 5196var _550={keyword:"{"},_551={keyword:"["}; 5197var _552={keyword:"ref"},_553={keyword:"deref"}; 5198var _554={keyword:"protocol"},_555={keyword:"optional"},_556={keyword:"required"}; 5199var _557={keyword:"interface"}; 5200var _558={keyword:"typedef"}; 5201var _559={keyword:"filename"},_55a={keyword:"unsigned",okAsIdent:true},_55b={keyword:"signed",okAsIdent:true}; 5202var _55c={keyword:"byte",okAsIdent:true},_55d={keyword:"char",okAsIdent:true},_55e={keyword:"short",okAsIdent:true}; 5203var _55f={keyword:"int",okAsIdent:true},_560={keyword:"long",okAsIdent:true},_561={keyword:"id",okAsIdent:true}; 5204var _562={keyword:"BOOL",okAsIdent:true},_563={keyword:"SEL",okAsIdent:true},_564={keyword:"float",okAsIdent:true}; 5205var _565={keyword:"double",okAsIdent:true}; 5206var _566={keyword:"#"}; 5207var _567={keyword:"define"}; 5208var _568={keyword:"undef"}; 5209var _569={keyword:"ifdef"}; 5210var _56a={keyword:"ifndef"}; 5211var _56b={keyword:"if"}; 5212var _56c={keyword:"else"}; 5213var _56d={keyword:"endif"}; 5214var _56e={keyword:"elif"}; 5215var _56f={keyword:"elif (True)"}; 5216var _570={keyword:"elif (false)"}; 5217var _571={keyword:"pragma"}; 5218var _572={keyword:"defined"}; 5219var _573={keyword:"\\"}; 5220var _574={keyword:"error"}; 5221var _575={keyword:"warning"}; 5222var _576={type:"preprocessParamItem"}; 5223var _577={type:"skipLine"}; 5224var _578={keyword:"include"}; 5225var _579={"break":_52d,"case":_52e,"catch":_52f,"continue":_530,"debugger":_531,"default":_532,"do":_533,"else":_534,"finally":_535,"for":_536,"function":_537,"if":_538,"return":_539,"switch":_53a,"throw":_53b,"try":_53c,"var":_53d,"while":_53e,"with":_53f,"null":_543,"true":_544,"false":_545,"new":_540,"in":_546,"instanceof":{keyword:"instanceof",binop:7,beforeExpr:true},"this":_541,"typeof":{keyword:"typeof",prefix:true,beforeExpr:true},"void":_542,"delete":{keyword:"delete",prefix:true,beforeExpr:true}}; 5226var _57a={"IBAction":_54c,"IBOutlet":_548,"unsigned":_55a,"signed":_55b,"byte":_55c,"char":_55d,"short":_55e,"int":_55f,"long":_560,"id":_561,"float":_564,"BOOL":_562,"SEL":_563,"double":_565}; 5227var _57b={"implementation":_547,"outlet":_548,"accessors":_549,"end":_54a,"import":_54b,"action":_54c,"selector":_54d,"class":_54e,"global":_54f,"ref":_552,"deref":_553,"protocol":_554,"optional":_555,"required":_556,"interface":_557,"typedef":_558}; 5228var _57c={"define":_567,"pragma":_571,"ifdef":_569,"ifndef":_56a,"undef":_568,"if":_56b,"endif":_56d,"else":_56c,"elif":_56e,"defined":_572,"warning":_575,"error":_574,"include":_578}; 5229var _57d={type:"[",beforeExpr:true},_57e={type:"]"},_57f={type:"{",beforeExpr:true}; 5230var _580={type:"}"},_581={type:"(",beforeExpr:true},_582={type:")"}; 5231var _583={type:",",beforeExpr:true},_584={type:";",beforeExpr:true}; 5232var _585={type:":",beforeExpr:true},_586={type:"."},_587={type:"?",beforeExpr:true}; 5233var _588={type:"@"},_589={type:"..."},_58a={type:"#"}; 5234var _58b={binop:10,beforeExpr:true,preprocess:true},_58c={isAssign:true,beforeExpr:true,preprocess:true}; 5235var _58d={isAssign:true,beforeExpr:true},_58e={binop:9,prefix:true,beforeExpr:true,preprocess:true}; 5236var _58f={postfix:true,prefix:true,isUpdate:true},_590={prefix:true,beforeExpr:true,preprocess:true}; 5237var _591={binop:1,beforeExpr:true,preprocess:true},_592={binop:2,beforeExpr:true,preprocess:true}; 5238var _593={binop:3,beforeExpr:true,preprocess:true},_594={binop:4,beforeExpr:true,preprocess:true}; 5239var _595={binop:5,beforeExpr:true,preprocess:true},_596={binop:6,beforeExpr:true,preprocess:true};
5240var _597={binop:7,beforeExpr:true,preprocess:true},_598={binop:8,beforeExpr:true,preprocess:true}; 5241var _599={binop:10,beforeExpr:true,preprocess:true}; 5242_4be.tokTypes={bracketL:_57d,bracketR:_57e,braceL:_57f,braceR:_580,parenL:_581,parenR:_582,comma:_583,semi:_584,colon:_585,dot:_586,question:_587,slash:_58b,eq:_58c,name:_52a,eof:_52b,num:_527,regexp:_528,string:_529}; 5243for(var kw in _579){ 5244_4be.tokTypes["_"+kw]=_579[kw]; 5245} 5246function _4dd(_59a){ 5247_59a=_59a.split(" "); 5248var f="",cats=[]; 5249out: 5250for(var i=0;i<_59a.length;++i){ 5251for(var j=0;j<cats.length;++j){ 5252if(cats[j][0].length==_59a[i].length){ 5253cats[j].push(_59a[i]); 5254continue out; 5255} 5256} 5257cats.push([_59a[i]]); 5258} 5259function _59b(arr){ 5260if(arr.length==1){ 5261return f+="return str === "+JSON.stringify(arr[0])+";"; 5262} 5263f+="switch(str){"; 5264for(var i=0;i<arr.length;++i){ 5265f+="case "+JSON.stringify(arr[i])+":"; 5266} 5267f+="return true}return false;"; 5268}; 5269if(cats.length>3){ 5270cats.sort(function(a,b){ 5271return b.length-a.length; 5272}); 5273f+="switch(str.length){"; 5274for(var i=0;i<cats.length;++i){ 5275var cat=cats[i]; 5276f+="case "+cat[0].length+":"; 5277_59b(cat); 5278} 5279f+="}"; 5280}else{ 5281_59b(_59a); 5282} 5283return new Function("str",f); 5284}; 5285_4be.makePredicate=_4dd; 5286var _59c=_4dd("abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile"); 5287var _59d=_4dd("class enum extends super const export import"); 5288var _59e=_4dd("implements interface let package private protected public static yield"); 5289var _59f=_4dd("eval arguments"); 5290var _5a0=_4dd("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"); 5291var _5a1=_4dd("IBAction IBOutlet byte char short int long float unsigned signed id BOOL SEL double"); 5292var _5a2=_4dd("define undef pragma if ifdef ifndef else elif endif defined error warning include"); 5293var _5a3=/[\u1680\u180e\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]/; 5294var _5a4=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/; 5295var _5a5="ªµºÃ-ÃÃ-öø-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô§Ô±-ÕÕÕ¡-Ö×-תװ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¢ ࢢ-ࢬà¤-हऽà¥à¥-ॡॱ-ॷॹ-ॿঠ-à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱਠ-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-ੴઠ-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡଠ-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à® -à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à° -à°à°-à°à°-నప-ళవ-హఽà±à±à± ౡಠ-à²à²-à²à²-ನಪ-ಳವ-ಹಽà³à³ ೡೱೲഠ-à´à´-à´à´-ഺഽàµàµ ൡൺ-ൿච-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàºàºàºàºàº-àºàº-àºàº¡-ຣລວສຫàº-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á á-áá-áá-áá-áá-áá -á´á-á¬á¯-á¿á-áá -áªá®-á°á-áá-áá -á±á-áá -á¬á®-á°á-á³ááá -á¡·á¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫá§-á§á¨-á¨á¨ -á©áª§á¬ -ᬳá -áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-ᱽᳩ-ᳬᳮ-ᳱᳵᳶá´-á¶¿á¸-á¼á¼-á¼á¼ -á½ á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-ââ¯-â¹â¼-â¿â -â â â -ââ°-Ⱞⰰ-â±â± -ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·â¸¯ã -ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã -ãã±-ãã -ãºã°-ã¿ã-ä¶µä¸-é¿ê-êê-ê½ê-êê-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-êê-êê -êªê¸-ê ê -ê ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺêª-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮê¯-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿"; 5296var _5a6="Ì-ͯÒ-ÒÖ-Ö½Ö¿×××× ×Ø-ØØ -ÙÙ²-ÛÛ§-Û¨Û»-ۼܰ-Ýà -à à -à £à ¥-à §à ©-à à¡-à¡à£¤-ࣾà¤-à¤à¤º-़ा-à¥à¥-à¥à¥¢-ॣ०-९à¦-à¦à¦¼à¦¾-à§à§à
5296§à§à§-à§ à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à« à«-à«à«-à«à«¢-ૣ૦-૯à¬-à¬à¬¼à¬¾-àààà-àààà-à à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à±-à±à±-à±à±à±à±¢-ౣ౦-౯à²à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢-ೣ೦-೯à´à´àµ-àµàµàµ¢-ൣ൦-൯à¶à¶à·à·-à·à·à·-à·à·²à·³à¸´-ฺà¹-๠à¹-à¹àº´-ູà»-à»à»-à»à¼à¼à¼ -༩༹༵༷à½-à½à½±-à¾à¾-à¾à¾-à¾à¾-ྼà¿á-á©á-áá§-áá±-á´á-áá-áá-áá-áá -á°á-áá²á³á-á²áá -á©á -á á -á ᤠ-ᤫᤰ-᤻á¥-á¥á¦°-á§á§-á§á§-á§á¨-á¨á¨ -á©á© -᩿᩼-áªáª-áªá-áá-áá«-á³á®°-᮹᯦-᯳á°-á°¢á±-á±á±-á±½á³-á³á´-á¶¾á¸-á¼âââ¿âââ-ââ¡â¥-â°â¶-â¶â· -â·¿ã¡-ã¨ããê-êê´-ê½êê°-ê±ê¸-ê ê ê ê £-ê §ê¢-ê¢ê¢´-ê£ê£-ê£ê£³-ꣷê¤-ê¤ê¤¦-ê¤ê¤°-ê¥ ê¦-ê¦ê¦³-ê§ê¨-ꨧê©-ê©ê©-ê©ê©-ê©ê©»ê« -ꫩꫲ-ꫳê¯-ꯡ꯬ê¯ê¯°-ê¯¹ï¬ -ﬨï¸-ï¸ï¸ -︦︳︴ï¹-ï¹ï¼-ï¼ï¼¿"; 5297var _5a7=new RegExp("["+_5a5+"]"); 5298var _5a8=new RegExp("["+_5a5+_5a6+"]"); 5299var _5a9=/[\n\r\u2028\u2029]/; 5300var _4e8=/\r\n|[\n\r\u2028\u2029]/g; 5301var _5aa=_4be.isIdentifierStart=function(code){ 5302if(code<65){ 5303return code===36; 5304} 5305if(code<91){ 5306return true; 5307} 5308if(code<97){ 5309return code===95; 5310} 5311if(code<123){ 5312return true; 5313} 5314return code>=170&&_5a7.test(String.fromCharCode(code)); 5315}; 5316var _5ab=_4be.isIdentifierChar=function(code){ 5317if(code<48){ 5318return code===36; 5319} 5320if(code<58){ 5321return true; 5322} 5323if(code<65){ 5324return false; 5325} 5326if(code<91){ 5327return true; 5328} 5329if(code<97){ 5330return code===95; 5331} 5332if(code<123){ 5333return true; 5334} 5335return code>=170&&_5a8.test(String.fromCharCode(code)); 5336}; 5337function _5ac(){ 5338this.line=_4d6; 5339this.column=_4d5-_4ed; 5340if(_519){ 5341var _5ad=_519.macro; 5342var _5ae=_5ad.locationOffset; 5343if(_5ae){ 5344var _5af=_5ae.line; 5345if(_5af){ 5346this.line+=_5af; 5347} 5348var _5b0=_5ae.column; 5349if(_5b0){ 5350this.column+=_4f6-(_4d6===1?_5b0:0); 5351} 5352} 5353} 5354}; 5355function _5b1(line,_5b2){ 5356this.line=line-1; 5357this.column=_5b2; 5358if(_519){ 5359var _5b3=_519.macro; 5360var _5b4=_5b3.locationOffset; 5361if(_5b4){ 5362var _5b5=_5b4.line; 5363if(_5b5){ 5364this.line+=_5b5; 5365} 5366var _5b6=_5b4.column; 5367if(_5b6){ 5368this.column+=_5b6; 5369} 5370} 5371} 5372}; 5373function _4c6(){ 5374_4d6=1; 5375_4d5=_4ed=_4f7=_4f5=_4f6=0; 5376_4ef=true; 5377_505=null; 5378_506=null; 5379_4f0(); 5380}; 5381function _4c4(){ 5382_4ce=Object.create(null); 5383_4cf=null; 5384_51d=null; 5385_51e=null; 5386_51b=false; 5387_51c=false; 5388_518=[]; 5389_519=null; 5390_51a=null; 5391_520=false; 5392_522=true; 5393_521=false; 5394_523=[]; 5395}; 5396function _5b7(type,val,_5b8){ 5397if(_5b8){ 5398_4f2=_4f4=_5b8; 5399if(_4bf.locations){ 5400_4fc=preprocessOverrideTokLoc; 5401} 5402}else{ 5403_4f2=_4f4=_4d5; 5404if(_4bf.locations){ 5405_4fc=new _5ac(); 5406} 5407} 5408_4fd=type; 5409var ch=_4f0();
5410if(ch===35&&_4bf.preprocess&&_4c0.charCodeAt(_4d5+1)===35){ 5411var val1=val!=null?val:type.keyword||type.type; 5412_4d5+=2; 5413if(val1!=null){ 5414var _5b9=_4bf.locations&&new _5b1(_4d6,_4ed); 5415var _5ba=_507,_5bb=_4f4,_5bc=_4f3,_5bd=_4f3+_4f5,_5be=_519&&_519.macro&&_519.macro.variadicName; 5416_4f0(); 5417if(_5be&&_5be===_4c0.slice(_4d5,_4d5+_5be.length)){ 5418var _5bf=true; 5419} 5420_521=true; 5421_5c0(null,2); 5422_521=false; 5423var val2=_4fe!=null?_4fe:_4fd.keyword||_4fd.type; 5424if(val2!=null){ 5425if(_5bf&&val1===","&&val2===""){ 5426return _5c0(); 5427} 5428var _5c1=""+val1+val2,_5c2=_4f3+_4f6; 5429var _5c3=new _4d3(null,_5c1,null,_5bd,false,null,false,_5b9); 5430var r=_5c4(_5c3,_4f6,_519?_519.parameterDict:null,null,_4d5,next,null); 5431if(_519&&_519.macro===_5c3){ 5432_4fd=type; 5433_4f3=_5bc; 5434_4f4=_5bb; 5435_507=_5ba; 5436_4f6=_5c2-val1.length; 5437if(!_5bf){ 5438console.log("Warning: pasting formed '"+_5c1+"', an invalid preprocessing token"); 5439} 5440}else{ 5441return r; 5442} 5443} 5444} 5445} 5446_4fe=val; 5447_501=_500; 5448_504=_503; 5449_500=_505; 5450_503=_506; 5451_4ef=type.beforeExpr; 5452}; 5453function _5c5(_5c6,_5c7){ 5454var _5c8=_4bf.onComment&&_4bf.locations&&new _5ac(); 5455var _5c9=_4d5,end=_4c0.indexOf("*/",_4d5+=2); 5456if(end===-1){ 5457_4e4(_4d5-2,"Unterminated comment"); 5458} 5459_4d5=end+2; 5460if(_4bf.locations){ 5461_4e8.lastIndex=_5c9; 5462var _5ca; 5463while((_5ca=_4e8.exec(_4c0))&&_5ca.index<_4d5){ 5464++_4d6; 5465_4ed=_5ca.index+_5ca[0].length; 5466} 5467} 5468if(!_5c7){ 5469if(_4bf.onComment){ 5470_4bf.onComment(true,_4c0.slice(_5c9+2,end),_5c9,_4d5,_5c8,_4bf.locations&&new _5ac()); 5471} 5472if(_4bf.trackComments){ 5473(_505||(_505=[])).push(_4c0.slice(_5c6!=null&&_4bf.trackCommentsIncludeLineBreak?_5c6:_5c9,_4d5)); 5474} 5475} 5476}; 5477function _5cb(_5cc,_5cd){ 5478var _5ce=_4d5; 5479var _5cf=_4bf.onComment&&_4bf.locations&&new _5ac(); 5480var ch=_4c0.charCodeAt(_4d5+=2); 5481while(_4d5<_4c1&&ch!==10&&ch!==13&&ch!==8232&&ch!==8233){ 5482++_4d5; 5483ch=_4c0.charCodeAt(_4d5); 5484} 5485if(!_5cd){ 5486if(_4bf.onComment){ 5487_4bf.onComment(false,_4c0.slice(_5ce+2,_4d5),_5ce,_4d5,_5cf,_4bf.locations&&new _5ac()); 5488} 5489if(_4bf.trackComments){ 5490(_505||(_505=[])).push(_4c0.slice(_5cc!=null&&_4bf.trackCommentsIncludeLineBreak?_5cc:_5ce,_4d5)); 5491} 5492} 5493}; 5494function _5d0(){ 5495var ch=_4c0.charCodeAt(_4d5); 5496var last; 5497while(_4d5<_4c1&&(ch!==10&&ch!==13&&ch!==8232&&ch!==8233||last===92)){ 5498if(ch!=32&&ch!=9&&ch!=160&&(ch<5760||!_5a4.test(String.fromCharCode(ch)))){ 5499last=ch; 5500} 5501ch=_4c0.charCodeAt(++_4d5); 5502} 5503}; 5504function _4f0(){ 5505_505=null; 5506_506=null; 5507return _5d1(); 5508}; 5509function _5d1(_5d2,_5d3,_5d4){ 5510var _5d5=_4d5,_5d6,ch; 5511for(;;){ 5512ch=_4c0.charCodeAt(_4d5); 5513if(ch===32){ 5514++_4d5; 5515}else{ 5516if(ch===13){ 5517if(_5d2){ 5518break; 5519} 5520_5d6=_4d5; 5521++_4d5; 5522var next=_4c0.charCodeAt(_4d5); 5523if(next===10){ 5524++_4d5; 5525} 5526if(_4bf.locations){ 5527++_4d6; 5528_4ed=_4d5; 5529} 5530}else{ 5531if(ch===10){ 5532if(_5d2){ 5533break; 5534} 5535_5d6=_4d5; 5536++_4d5; 5537if(_4bf.locations){ 5538++_4d6; 5539_4ed=_4d5; 5540} 5541}else{ 5542if(ch===9){ 5543++_4d5; 5544}else{ 5545if(ch===47){ 5546if(_5d4){ 5547break; 5548} 5549var next=_4c0.charCodeAt(_4d5+1); 5550if(next===42){ 5551if(_4bf.trackSpaces){ 5552(_506||(_506=[])).push(_4c0.slice(_5d5,_4d5)); 5553} 5554_5c5(_5d6); 5555_5d5=_4d5; 5556}else{ 5557if(next===47){ 5558if(_4bf.trackSpaces){ 5559(_506||(_506=[])).push(_4c0.slice(_5d5,_4d5)); 5560} 5561_5cb(_5d6); 5562_5d5=_4d5; 5563}else{ 5564break; 5565} 5566} 5567}else{ 5568if(ch===160||ch===11||ch===12||ch>=5760&&_5a3.test(String.fromCharCode(ch))){ 5569++_4d5; 5570}else{ 5571if(_4d5>=_4c1){ 5572if(_4bf.preprocess){ 5573if(_5d3){ 5574return true; 5575} 5576if(!_518.length){ 5577break; 5578} 5579if(_4f9==null){ 5580_4f9=_4d5; 5581} 5582var _5d7=_518.pop(); 5583var _5d8=_4c0; 5584var _5d9=_4c2; 5585_4d5=_5d7.end; 5586_4c0=_5d7.input; 5587_4c1=_5d7.inputLen; 5588_4d6=_5d7.currentLine; 5589_4ed=_5d7.currentLineStart; 5590_51a=_5d7.onlyTransformArgumentsForLastToken; 5591_51d=_5d7.parameterScope; 5592_4f6=_5d7.macroOffset; 5593_4c2=_5d7.sourceFile; 5594_4f2=_5d7.lastEnd; 5595var _5da=_518.length; 5596_519=_5da?_518[_5da-1]:null; 5597return _5d1(_5d2); 5598}else{ 5599break; 5600} 5601}else{ 5602if(ch===92){ 5603if(!_4bf.preprocess){ 5604break; 5605} 5606var pos=_4d5+1; 5607ch=_4c0.charCodeAt(pos); 5608while(pos<_4c1&&(ch===32||ch===9||ch===11||ch===12||ch>=5760&&_5a4.test(String.fromCharCode(ch)))){ 5609ch=_4c0.charCodeAt(++pos); 5610} 5611_4e8.lastIndex=0; 5612var _5db=_4e8.exec(_4c0.slice(pos,pos+2)); 5613if(_5db&&_5db.index===0){ 5614_4d5=pos+_5db[0].length; 5615if(_4bf.locations){ 5616++_4d6; 5617_4ed=_4d5; 5618} 5619}else{ 5620break; 5621} 5622}else{ 5623break; 5624} 5625} 5626} 5627} 5628} 5629} 5630} 5631} 5632} 5633return ch; 5634}; 5635function _5dc(code,_5dd){ 5636var next=_4c0.charCodeAt(_4d5+1); 5637if(next>=48&&next<=57){ 5638return _5de(String.fromCharCode(code),_5dd); 5639}
5640if(next===46&&_4bf.objj&&_4c0.charCodeAt(_4d5+2)===46){ 5641_4d5+=3; 5642return _5dd(_589); 5643} 5644++_4d5; 5645return _5dd(_586); 5646}; 5647function _5df(_5e0){ 5648var next=_4c0.charCodeAt(_4d5+1); 5649if(_4ef){ 5650++_4d5; 5651return _5e1(); 5652} 5653if(next===61){ 5654return _5e2(_58d,2,_5e0); 5655} 5656return _5e2(_58b,1,_5e0); 5657}; 5658function _5e3(_5e4){ 5659var next=_4c0.charCodeAt(_4d5+1); 5660if(next===61){ 5661return _5e2(_58d,2,_5e4); 5662} 5663return _5e2(_599,1,_5e4); 5664}; 5665function _5e5(code,_5e6){ 5666var next=_4c0.charCodeAt(_4d5+1); 5667if(next===code){ 5668return _5e2(code===124?_591:_592,2,_5e6); 5669} 5670if(next===61){ 5671return _5e2(_58d,2,_5e6); 5672} 5673return _5e2(code===124?_593:_595,1,_5e6); 5674}; 5675function _5e7(_5e8){ 5676var next=_4c0.charCodeAt(_4d5+1); 5677if(next===61){ 5678return _5e2(_58d,2,_5e8); 5679} 5680return _5e2(_594,1,_5e8); 5681}; 5682function _5e9(code,_5ea){ 5683var next=_4c0.charCodeAt(_4d5+1); 5684if(next===code){ 5685return _5e2(_58f,2,_5ea); 5686} 5687if(next===61){ 5688return _5e2(_58d,2,_5ea); 5689} 5690return _5e2(_58e,1,_5ea); 5691}; 5692function _5eb(code,_5ec){ 5693if(code===60&&(_4fd===_54b||_512===_578)&&_4bf.objj){ 5694for(var _5ed=_4d5+1;;){ 5695var ch=_4c0.charCodeAt(++_4d5); 5696if(ch===62){ 5697return _5ec(_559,_4c0.slice(_5ed,_4d5++)); 5698} 5699if(_4d5>=_4c1||ch===13||ch===10||ch===8232||ch===8233){ 5700_4e4(_4f3,"Unterminated import statement"); 5701} 5702} 5703} 5704var next=_4c0.charCodeAt(_4d5+1); 5705var size=1; 5706if(next===code){ 5707size=code===62&&_4c0.charCodeAt(_4d5+2)===62?3:2; 5708if(_4c0.charCodeAt(_4d5+size)===61){ 5709return _5e2(_58d,size+1,_5ec); 5710} 5711return _5e2(_598,size,_5ec); 5712} 5713if(next===61){ 5714size=_4c0.charCodeAt(_4d5+2)===61?3:2; 5715} 5716return _5e2(_597,size,_5ec); 5717}; 5718function _5ee(code,_5ef){ 5719var next=_4c0.charCodeAt(_4d5+1); 5720if(next===61){ 5721return _5e2(_596,_4c0.charCodeAt(_4d5+2)===61?3:2,_5ef); 5722} 5723return _5e2(code===61?_58c:_590,1,_5ef); 5724}; 5725function _5f0(code,_5f1){ 5726var next=_4c0.charCodeAt(++_4d5); 5727if(next===34||next===39){ 5728return _5f2(next,_5f1); 5729} 5730if(next===123){ 5731return _5f1(_550); 5732} 5733if(next===91){ 5734return _5f1(_551); 5735} 5736var word=_5f3(),_5f4=_57b[word]; 5737if(!_5f4){ 5738_4e4(_4f3,"Unrecognized Objective-J keyword '@"+word+"'"); 5739} 5740return _5f1(_5f4); 5741}; 5742function _5f5(_5f6){ 5743++_4d5; 5744_5f7(); 5745_5f8(false,true); 5746switch(_512){ 5747case _567: 5748if(_522){ 5749_4e5(); 5750}else{ 5751return _5f6(_567); 5752} 5753break; 5754case _568: 5755_5f8(); 5756_4bf.preprocessUndefineMacro(_5f9()); 5757break; 5758case _56b: 5759if(_522){ 5760var _5fa=_4ef; 5761_4ef=false; 5762_523.push(_56b); 5763_5f8(false,false,true); 5764var expr=_5fb(true); 5765var test=_5fc(expr); 5766if(!test){ 5767_522=false; 5768_5fd(); 5769} 5770_4ef=_5fa; 5771}else{ 5772return _5f6(_56b); 5773} 5774break; 5775case _569: 5776if(_522){ 5777_523.push(_56b); 5778_5f8(); 5779var _5fe=_5f9(); 5780var test=_4bf.preprocessIsMacro(_5fe); 5781if(!test){ 5782_522=false; 5783_5fd(); 5784} 5785}else{ 5786return _5f6(_569); 5787} 5788break; 5789case _56a: 5790if(_522){ 5791_523.push(_56b); 5792_5f8(); 5793var _5fe=_5f9(); 5794var test=_4bf.preprocessIsMacro(_5fe); 5795if(test){ 5796_522=false; 5797_5fd(); 5798} 5799}else{ 5800return _5f6(_56a); 5801} 5802break; 5803case _56c: 5804if(_523.length){ 5805if(_522){ 5806if(_523[_523.length-1]===_56b){ 5807_523[_523.length-1]=_56c; 5808_522=false; 5809_5f6(_56c); 5810_5f8(); 5811_5fd(true); 5812}else{ 5813_4e4(_514,"#else after #else"); 5814} 5815}else{ 5816_523[_523.length-1]=_56c; 5817return _5f6(_56c); 5818} 5819}else{ 5820_4e4(_514,"#else without #if"); 5821} 5822break; 5823case _56e: 5824if(_523.length){ 5825if(_522){ 5826if(_523[_523.length-1]===_56b){ 5827_522=false; 5828_5f6(_56e); 5829_5f8(); 5830_5fd(true); 5831}else{ 5832_4e4(_514,"#elsif after #else"); 5833} 5834}else{ 5835var _5fa=_4ef; 5836_4ef=false; 5837_522=true; 5838_5f8(false,false,true); 5839var expr=_5fb(true); 5840_522=false; 5841_4ef=_5fa; 5842var test=_5fc(expr); 5843return _5f6(test?_56f:_570); 5844} 5845}else{ 5846_4e4(_514,"#elif without #if"); 5847} 5848break; 5849case _56d: 5850if(_523.length){ 5851if(_522){ 5852_523.pop(); 5853break; 5854} 5855}else{ 5856_4e4(_514,"#endif without #if"); 5857} 5858return _5f6(_56d); 5859break; 5860case _571: 5861_5d0(); 5862break; 5863case _590: 5864_5d0(); 5865break; 5866case _575: 5867_5f8(false,false,true); 5868var expr=_5fb(); 5869console.log("Warning: "+String(_5fc(expr))); 5870break; 5871case _574: 5872var _5ff=_514; 5873_5f8(false,false,true); 5874var expr=_5fb(); 5875_4e4(_5ff,"Error: "+String(_5fc(expr))); 5876break; 5877case _578: 5878if(!_522){ 5879return _5f6(_578); 5880} 5881_5f8(); 5882if(_512===_529){ 5883var _600=true; 5884}else{ 5885if(_512===_559){ 5886var _600=false; 5887}else{ 5888_4e4(_514,"Expected \"FILENAME\" or <FILENAME>: "+(_512.keyword||_512.type)); 5889} 5890} 5891var _601=_513; 5892var _602=_4bf.preprocessGetIncludeFile(_513,_600)||_4e4(_514,"'"+_601+"' file not found"); 5893var _603=_602.include;
5894var _604=new _4d3(null,_603,null,0,false,null,false,null,_602.sourceFile); 5895_605(_566,null,null,true); 5896_606(_604,_604.macro,_4f6,null,null,_4d5,null,true); 5897_4f0(); 5898_5c0(null,null,true); 5899return; 5900break; 5901default: 5902if(_519){ 5903if(_519.parameterDict&&_519.macro.isParameterFunction()(_513)){ 5904var _607=_519.parameterDict[_513]; 5905if(_607){ 5906return _5b7(_529,_607.macro); 5907} 5908} 5909} 5910_4e4(_514,"Invalid preprocessing directive"); 5911_5d0(); 5912return _5f6(_566); 5913} 5914if(_512===_52c&&_4bf.trackSpaces){ 5915if(_506&&_506.length){ 5916_506.push("\n"+_506.pop()); 5917}else{ 5918_506=["\n"]; 5919} 5920} 5921_605(_512,null,null,true); 5922return next(true); 5923}; 5924function _4e5(){ 5925_51c=true; 5926_5f8(); 5927var _608=_515; 5928_520=true; 5929var _609=_4bf.locations&&new _5b1(_4d6,_4ed); 5930var _60a=_5f9(); 5931if(_4c0.charCodeAt(_608)===40){ 5932_60b(_581); 5933var _60c=[]; 5934var _60d=false; 5935var _60e=true; 5936while(!_60f(_582)){ 5937if(_60d){ 5938_4e4(_514,"Variadic parameter must be last"); 5939} 5940if(!_60e){ 5941_60b(_583,"Expected ',' between macro parameters"); 5942}else{ 5943_60e=false; 5944} 5945_60c.push(_60f(_589)?_60d=true&&"__VA_ARGS__":_5f9()); 5946if(_60f(_589)){ 5947_60d=true; 5948} 5949_609=_4bf.locations&&new _5b1(_4d6,_4ed); 5950} 5951} 5952var _610=_514; 5953while(_512!==_52c&&_512!==_52b){ 5954_5f8(); 5955} 5956_520=false; 5957var _611=_508.slice(_610,_514); 5958_611=_611.replace(/\\/g," "); 5959_4bf.preprocessAddMacro(new _4d3(_60a,_611,_60c,_610,false,null,_60d&&_60c[_60c.length-1],_609)); 5960_51c=false; 5961}; 5962function _5fc(expr){ 5963return walk.recursive(expr,{},{LogicalExpression:function(node,st,c){ 5964var left=node.left,_612=node.right; 5965switch(node.operator){ 5966case "||": 5967return c(left,st)||c(_612,st); 5968case "&&": 5969return c(left,st)&&c(_612,st); 5970} 5971},BinaryExpression:function(node,st,c){ 5972var left=node.left,_613=node.right; 5973switch(node.operator){ 5974case "+": 5975return c(left,st)+c(_613,st); 5976case "-": 5977return c(left,st)-c(_613,st); 5978case "*": 5979return c(left,st)*c(_613,st); 5980case "/": 5981return c(left,st)/c(_613,st); 5982case "%": 5983return c(left,st)%c(_613,st); 5984case "<": 5985return c(left,st)<c(_613,st); 5986case ">": 5987return c(left,st)>c(_613,st); 5988case "^": 5989return c(left,st)^c(_613,st); 5990case "&": 5991return c(left,st)&c(_613,st); 5992case "|": 5993return c(left,st)|c(_613,st); 5994case "==": 5995return c(left,st)==c(_613,st); 5996case "===": 5997return c(left,st)===c(_613,st); 5998case "!=": 5999return c(left,st)!=c(_613,st); 6000case "!==": 6001return c(left,st)!==c(_613,st); 6002case "<=": 6003return c(left,st)<=c(_613,st); 6004case ">=": 6005return c(left,st)>=c(_613,st); 6006case ">>": 6007return c(left,st)>>c(_613,st); 6008case ">>>": 6009return c(left,st)>>>c(_613,st); 6010case "<<": 6011return c(left,st)<<c(_613,st); 6012} 6013},UnaryExpression:function(node,st,c){ 6014var arg=node.argument; 6015switch(node.operator){ 6016case "-": 6017return -c(arg,st); 6018case "+": 6019return +c(arg,st); 6020case "!": 6021return !c(arg,st); 6022case "~": 6023return ~c(arg,st); 6024} 6025},Literal:function(node,st,c){ 6026return node.value; 6027},Identifier:function(node,st,c){ 6028return 0; 6029},DefinedExpression:function(node,st,c){ 6030var _614=node.object; 6031if(_614.type==="Identifier"){ 6032var name=_614.name,_615=_4bf.preprocessGetMacro(name)||_4de(name); 6033return _615||0; 6034}else{ 6035return c(_614,st); 6036} 6037}},{}); 6038}; 6039function _616(code,_617,_618){ 6040switch(code){ 6041case 46: 6042return _5dc(code,_617); 6043case 40: 6044++_4d5; 6045return _617(_581); 6046case 41: 6047++_4d5; 6048return _617(_582); 6049case 59: 6050++_4d5; 6051return _617(_584); 6052case 44: 6053++_4d5; 6054return _617(_583); 6055case 91: 6056++_4d5; 6057return _617(_57d); 6058case 93: 6059++_4d5; 6060return _617(_57e); 6061case 123: 6062++_4d5; 6063return _617(_57f); 6064case 125: 6065++_4d5; 6066return _617(_580); 6067case 58: 6068++_4d5; 6069return _617(_585); 6070case 63: 6071++_4d5; 6072return _617(_587); 6073case 48: 6074var next=_4c0.charCodeAt(_4d5+1); 6075if(next===120||next===88){ 6076return _619(_617); 6077} 6078case 49: 6079case 50: 6080case 51: 6081case 52: 6082case 53: 6083case 54: 6084case 55: 6085case 56: 6086case 57: 6087return _5de(false,_617); 6088case 34: 6089case 39: 6090return _5f2(code,_617); 6091case 47: 6092return _5df(_617); 6093case 37: 6094case 42: 6095return _5e3(_617); 6096case 124: 6097case 38: 6098return _5e5(code,_617); 6099case 94: 6100return _5e7(_617); 6101case 43: 6102case 45: 6103return _5e9(code,_617); 6104case 60: 6105case 62: 6106return _5eb(code,_617); 6107case 61: 6108case 33: 6109return _5ee(code,_617); 6110case 126: 6111return _5e2(_590,1,_617); 6112case 64: 6113if(_4bf.objj){ 6114return _5f0(code,_617); 6115} 6116return false; 6117case 35: 6118if(_4bf.preprocess){ 6119if(_51c){ 6120++_4d5; 6121return _617(_566); 6122} 6123_4e8.lastIndex=0; 6124var _61a=_4e8.exec(_4c0.slice(_4f8,_4d5)); 6125if(_50b!==0&&_50b!==_4d5&&!_61a&&(_519&&!_519.isIncludeFile||_4d5!==0)){ 6126if(_519){ 6127return _61b(); 6128}else{ 6129_4e4(_4d5,"Preprocessor directives may only be used at the beginning of a line"); 6130} 6131} 6132return _5f5(_617); 6133} 6134return false;
6135case 92: 6136if(_4bf.preprocess){ 6137return _5e2(_573,1,_617); 6138} 6139return false; 6140} 6141if(_618){ 6142var r; 6143if(code===13||code===10||code===8232||code===8233){ 6144if(_4bf.locations){ 6145++_4d6; 6146_4ed=_4d5; 6147} 6148return _5e2(_52c,code===13&&_4c0.charCodeAt(_4d5+1)===10?2:1,_617); 6149} 6150} 6151return false; 6152}; 6153function _61b(){ 6154var _61c=_518.length,_61d=_519; 6155_4d5++; 6156_521=true; 6157next(false,2); 6158_521=false; 6159var _61e=_4f3+_4f5; 6160var _61f=_4bf.locations&&new _5b1(_4d6,_4ed); 6161var _620; 6162if(_4fd===_529){ 6163var _621=_507.slice(_4f3,_4f3+1); 6164var _622=_621==="\""?"\\\"":"'"; 6165_620=_622; 6166_620+=_623(_4fe); 6167_620+=_622; 6168}else{ 6169_620=_4fe!=null?_4fe:_4fd.keyword||_4fd.type; 6170} 6171while(_518.length>_61c&&_61d===_518[_61c-1]){ 6172_521=true; 6173next(false,2); 6174_521=false; 6175if(_50b!==_4f3){ 6176_620+=" "; 6177} 6178if(_4fd===_529){ 6179var _621=_507.slice(_4f3,_4f3+1); 6180var _622=_621==="\""?"\\\"":"'"; 6181_620+=_622; 6182_620+=_623(_4fe); 6183_620+=_622; 6184}else{ 6185_620+=_4fe!=null?_4fe:_4fd.keyword||_4fd.type; 6186} 6187} 6188var _624=new _4d3(null,"\""+_620+"\"",null,_61e,false,null,false,_61f); 6189return _5c4(_624,_4f6,null,null,_4d5,next); 6190}; 6191function _623(_625){ 6192for(var _626="",pos=0,size=_625.length,ch=_625.charCodeAt(pos);pos<size;ch=_625.charCodeAt(++pos)){ 6193switch(ch){ 6194case 34: 6195_626+="\\\\\\\""; 6196break; 6197case 10: 6198_626+="\\\\n"; 6199break; 6200case 13: 6201_626+="\\\\r"; 6202break; 6203case 9: 6204_626+="\\\\t"; 6205break; 6206case 8: 6207_626+="\\\\b"; 6208break; 6209case 11: 6210_626+="\\\\v"; 6211break; 6212case 160: 6213_626+="\\\\u00A0"; 6214break; 6215case 8232: 6216_626+="\\\\u2028"; 6217break; 6218case 8233: 6219_626+="\\\\u2029"; 6220break; 6221case 92: 6222_626+="\\\\"; 6223break; 6224default: 6225_626+=_625.charAt(pos); 6226break; 6227} 6228} 6229return _626; 6230}; 6231function _5f7(_627,_628){ 6232var ch=_5d1(!_628,false,_627); 6233return ch; 6234}; 6235function _5fd(_629){ 6236var _62a=[]; 6237while(_62a.length>0||_512!==_56d&&(_512!==_56c&&_512!==_56f||_629)){ 6238switch(_512){ 6239case _56b: 6240case _569: 6241case _56a: 6242_62a.push(_56b); 6243break; 6244case _56c: 6245if(_62a[_62a.length-1]!==_56b){ 6246_4e4(_514,"#else after #else"); 6247}else{ 6248_62a[_62a.length-1]=_56c; 6249} 6250break; 6251case _56e: 6252if(_62a[_62a.length-1]!==_56b){ 6253_4e4(_514,"#elif after #else"); 6254} 6255break; 6256case _56d: 6257_62a.pop(); 6258break; 6259case _52b: 6260_522=true; 6261_4e4(_514,"Missing #endif"); 6262} 6263_5f8(true); 6264} 6265_522=true; 6266if(_512===_56d){ 6267_523.pop(); 6268} 6269}; 6270function _5f8(_62b,_62c,_62d,_62e){ 6271_514=_4d5; 6272_508=_4c0; 6273_51e=_51d; 6274if(_4d5>=_4c1){ 6275return _605(_52b); 6276} 6277var code=_4c0.charCodeAt(_4d5); 6278if(!_62c&&!_522&&code!==35){ 6279_5d0(); 6280_605(_577,_4c0.slice(_514,_4d5)); 6281_5f7(true,true); 6282return; 6283}else{ 6284if(_51b&&code!==41&&code!==44){ 6285var _62f=0; 6286while(_4d5<_4c1&&(_62f||code!==41&&code!==44)){ 6287if(code===40){ 6288_62f++; 6289} 6290if(code===41){ 6291_62f--; 6292} 6293if(code===34||code===39){ 6294var _630=code; 6295code=_4c0.charCodeAt(++_4d5); 6296while(_4d5<_4c1&&code!==_630){ 6297if(code===92){ 6298code=_4c0.charCodeAt(++_4d5); 6299if(code!==_630){ 6300continue; 6301} 6302} 6303code=_4c0.charCodeAt(++_4d5); 6304} 6305} 6306code=_4c0.charCodeAt(++_4d5); 6307} 6308return _605(_576,_4c0.slice(_514,_4d5)); 6309} 6310} 6311if(_5aa(code)||code===92&&_4c0.charCodeAt(_4d5+1)===117){ 6312return _631(_62d); 6313} 6314if(_616(code,_62b?_632:_605,true)===false){ 6315var ch=String.fromCharCode(code); 6316if(ch==="\\"||_5a7.test(ch)){ 6317return _631(_62d); 6318} 6319_4e4(_4d5,"Unexpected character '"+ch+"'"); 6320} 6321}; 6322function _631(_633,_634){ 6323var word=_5f3(); 6324var type=_52a; 6325if(_633&&_4bf.preprocess){ 6326var _635=_636(word,_637,_634); 6327if(_635===true){ 6328return true; 6329} 6330} 6331if(!_638&&_5a2(word)){ 6332type=_57c[word]; 6333} 6334_605(type,word,_635,false,_633); 6335}; 6336function _605(type,val,_639,_63a,_63b){ 6337_512=type; 6338_513=val; 6339_515=_639||_4d5; 6340if(type!==_52c){ 6341_4f2=_515; 6342} 6343var ch=_5f7(false,_63a); 6344if(ch===35&&_4bf.preprocess&&!_520&&_4c0.charCodeAt(_4d5+1)===35){ 6345var val1=val!=null?val:type.keyword||type.type; 6346_4d5+=2; 6347if(val1!=null){ 6348var _63c=_4bf.locations&&new _5b1(_4d6,_4ed); 6349var _63d=_507,_63e=_515,_63f=_514,_640=_514+_4f5,_641=_519&&_519.macro&&_519.macro.variadicName; 6350_4f0(); 6351if(_641&&_641===_4c0.slice(_4d5,_4d5+_641.length)){ 6352var _642=true; 6353} 6354_521=true; 6355_5f8(null,null,_63b,2); 6356_521=false; 6357var val2=_513!=null?_513:_512.keyword||_512.type; 6358if(val2!=null){ 6359if(_642&&val1===","&&val2===""){ 6360return _5f8(); 6361} 6362var _643=""+val1+val2,_644=_514+_4f6; 6363var _645=new _4d3(null,_643,null,_640,false,null,false,_63c); 6364var r=_5c4(_645,_4f6,_519?_519.parameterDict:null,null,_4d5,_637,null); 6365if(_519&&_519.macro===_645){ 6366_512=type; 6367_514=_63f; 6368_515=_63e; 6369_507=_63d; 6370_4f6=_644-val1.length; 6371if(!_642){
6372console.log("Warning: pasting formed '"+_643+"', an invalid preprocessing token"); 6373} 6374}else{ 6375return r; 6376} 6377} 6378} 6379} 6380}; 6381function _632(type,val){ 6382_512=type; 6383_513=val; 6384_4f2=_515=_4d5; 6385_5f7(true); 6386}; 6387function _637(_646,_647,_648,_649){ 6388if(!_646){ 6389_516=_514; 6390_517=_515; 6391} 6392_4f8=_4f2; 6393return _5f8(false,false,_649,_647); 6394}; 6395function _60f(type,_64a){ 6396if(_512===type){ 6397_637(false,false,null,_64a); 6398return true; 6399} 6400}; 6401function _60b(type,_64b,_64c){ 6402if(_512===type){ 6403_637(false,_32,null,_64c); 6404}else{ 6405_4e4(_514,_64b||"Unexpected token"); 6406} 6407}; 6408function _64d(){ 6409}; 6410function _5f9(_64e){ 6411var _64f=_512===_52a?_513:(!_4bf.forbidReserved||_512.okAsIdent)&&_512.keyword||_64d(); 6412_637(false,false,null,_64e); 6413return _64f; 6414}; 6415function _650(_651){ 6416var node=_652(); 6417node.name=_5f9(_651); 6418return _653(node,"Identifier"); 6419}; 6420function _5fb(_654){ 6421return _655(_654); 6422}; 6423function _655(_656){ 6424return _657(_658(_656),-1,_656); 6425}; 6426function _657(left,_659,_65a){ 6427var prec=_512.binop; 6428if(prec){ 6429if(!_512.preprocess){ 6430_4e4(_514,"Unsupported macro operator"); 6431} 6432if(prec>_659){ 6433var node=_65b(left); 6434node.left=left; 6435node.operator=_513; 6436_637(false,false,null,_65a); 6437node.right=_657(_658(_65a),prec,_65a); 6438var node=_653(node,/&&|\|\|/.test(node.operator)?"LogicalExpression":"BinaryExpression"); 6439return _657(node,_659,_65a); 6440} 6441} 6442return left; 6443}; 6444function _658(_65c){ 6445if(_512.preprocess&&_512.prefix){ 6446var node=_652(); 6447node.operator=_513; 6448node.prefix=true; 6449_637(false,false,null,_65c); 6450node.argument=_658(_65c); 6451return _653(node,"UnaryExpression"); 6452} 6453return _65d(_65c); 6454}; 6455function _65d(_65e){ 6456switch(_512){ 6457case _52a: 6458return _650(_65e); 6459case _527: 6460case _529: 6461return _65f(_65e); 6462case _581: 6463var _660=_514; 6464_637(false,false,null,_65e); 6465var val=_5fb(_65e); 6466val.start=_660; 6467val.end=_515; 6468_60b(_582,"Expected closing ')' in macro expression",_65e); 6469return val; 6470case _572: 6471var node=_652(); 6472_637(false,false,null,_65e); 6473node.object=_661(_65e); 6474return _653(node,"DefinedExpression"); 6475default: 6476_662(); 6477} 6478}; 6479function _661(_663){ 6480switch(_512){ 6481case _52a: 6482return _650(_663); 6483case _527: 6484case _529: 6485return _65f(_663); 6486case _581: 6487var _664=_514; 6488_637(false,false,null,_663); 6489var val=_661(_663); 6490val.start=_664; 6491val.end=_515; 6492_60b(_582,"Expected closing ')' in macro expression",_663); 6493return val; 6494default: 6495_662(); 6496} 6497}; 6498function _65f(_665){ 6499var node=_652(); 6500node.value=_513; 6501node.raw=_508.slice(_514,_515); 6502_637(false,false,null,_665); 6503return _653(node,"Literal"); 6504}; 6505function _653(node,type){ 6506node.type=type; 6507node.end=_517; 6508return node; 6509}; 6510function _5c0(_666,_667,_668){ 6511_4ff=_505; 6512_502=_506; 6513if(!_666){ 6514_4f3=_4d5; 6515}else{ 6516_4d5=_4f3+1; 6517} 6518if(!_668){ 6519_4f1=_4f3; 6520} 6521_507=_4c0; 6522_4f5=_4f6; 6523_51e=_51d; 6524if(_4bf.locations){ 6525_4fb=new _5ac(); 6526} 6527if(_666){ 6528return _5e1(); 6529} 6530if(_4d5>=_4c1){ 6531return _5b7(_52b); 6532} 6533var code=_4c0.charCodeAt(_4d5); 6534if(_5aa(code)||code===92){ 6535return _669(null,_667,_666); 6536} 6537var tok=_616(code,_5b7); 6538if(tok===false){ 6539var ch=String.fromCharCode(code); 6540if(ch==="\\"||_5a7.test(ch)){ 6541return _669(null,_667,_666); 6542} 6543_4e4(_4d5,"Unexpected character '"+ch+"'"); 6544} 6545return tok; 6546}; 6547function _5e2(type,size,_66a){ 6548var str=_4c0.slice(_4d5,_4d5+size); 6549_4d5+=size; 6550_66a(type,str); 6551}; 6552function _5e1(){ 6553var _66b="",_66c,_66d,_66e=_4d5; 6554for(;;){ 6555if(_4d5>=_4c1){ 6556_4e4(_66e,"Unterminated regular expression"); 6557} 6558var ch=_4c0.charAt(_4d5); 6559if(_5a9.test(ch)){ 6560_4e4(_66e,"Unterminated regular expression"); 6561} 6562if(!_66c){ 6563if(ch==="["){ 6564_66d=true; 6565}else{ 6566if(ch==="]"&&_66d){ 6567_66d=false; 6568}else{ 6569if(ch==="/"&&!_66d){ 6570break; 6571} 6572} 6573} 6574_66c=ch==="\\"; 6575}else{ 6576_66c=false; 6577} 6578++_4d5; 6579} 6580var _66b=_4c0.slice(_66e,_4d5); 6581++_4d5; 6582var mods=_5f3(); 6583if(mods&&!/^[gmsiy]*$/.test(mods)){ 6584_4e4(_66e,"Invalid regexp flag"); 6585} 6586return _5b7(_528,new RegExp(_66b,mods)); 6587}; 6588function _66f(_670,len){ 6589var _671=_4d5,_672=0; 6590for(var i=0,e=len==null?Infinity:len;i<e;++i){ 6591var code=_4c0.charCodeAt(_4d5),val; 6592if(code>=97){ 6593val=code-97+10; 6594}else{ 6595if(code>=65){ 6596val=code-65+10; 6597}else{ 6598if(code>=48&&code<=57){ 6599val=code-48; 6600}else{ 6601val=Infinity; 6602} 6603} 6604} 6605if(val>=_670){ 6606break; 6607} 6608++_4d5; 6609_672=_672*_670+val; 6610} 6611if(_4d5===_671||len!=null&&_4d5-_671!==len){ 6612return null; 6613} 6614return _672; 6615}; 6616function _619(_673){ 6617_4d5+=2; 6618var val=_66f(16); 6619if(val==null){ 6620_4e4(_4f3+2,"Expected hexadecimal number"); 6621} 6622if(_5aa(_4c0.charCodeAt(_4d5))){ 6623_4e4(_4d5,"Identifier directly after number"); 6624} 6625return _673(_527,val); 6626}; 6627function _5de(_674,_675){ 6628var _676=_4d5,_677=false,_678=_4c0.charCodeAt(_4d5)===48; 6629if(!_674&&_66f(10)===null){ 6630_4e4(_676,"Invalid number"); 6631} 6632if(_4c0.charCodeAt(_4d5)===46){ 6633++_4d5; 6634_66f(10); 6635_677=true; 6636} 6637var next=_4c0.charCodeAt(_4d5); 6638if(next===69||next===101){ 6639next=_4c0.charCodeAt(++_4d5); 6640if(next===43||next===45){ 6641++_4d5; 6642} 6643if(_66f(10)===null){ 6644_4e4(_676,"Invalid number"); 6645} 6646_677=true; 6647} 6648if(_5aa(_4c0.charCodeAt(_4d5))){ 6649_4e4(_4d5,"Identifier directly after number"); 6650} 6651var str=_4c0.slice(_676,_4d5),val; 6652if(_677){ 6653val=parseFloat(str); 6654}else{ 6655if(!_678||str.length===1){ 6656val=parseInt(str,10); 6657}else{ 6658if(/[89]/.test(str)||_510){ 6659_4e4(_676,"Invalid number"); 6660}else{ 6661val=parseInt(str,8); 6662} 6663} 6664} 6665return _675(_527,val); 6666}; 6667function _5f2(_679,_67a){ 6668_4d5++; 6669var out=""; 6670for(;;){ 6671if(_4d5>=_4c1){ 6672_4e4(_4f3,"Unterminated string constant"); 6673} 6674var ch=_4c0.charCodeAt(_4d5); 6675if(ch===_679){ 6676++_4d5; 6677return _67a(_529,out); 6678} 6679if(ch===92){ 6680ch=_4c0.charCodeAt(++_4d5); 6681var _67b=/^[0-7]+/.exec(_4c0.slice(_4d5,_4d5+3)); 6682if(_67b){ 6683_67b=_67b[0]; 6684} 6685while(_67b&&parseInt(_67b,8)>255){ 6686_67b=_67b.slice(0,_67b.length-1); 6687} 6688if(_67b==="0"){ 6689_67b=null; 6690} 6691++_4d5; 6692if(_67b){ 6693if(_510){ 6694_4e4(_4d5-2,"Octal literal in strict mode"); 6695} 6696out+=String.fromCharCode(parseInt(_67b,8)); 6697_4d5+=_67b.length-1; 6698}else{ 6699switch(ch){ 6700case 110: 6701out+="\n"; 6702break; 6703case 114: 6704out+="\r"; 6705break; 6706case 120: 6707out+=String.fromCharCode(_67c(2)); 6708break; 6709case 117: 6710out+=String.fromCharCode(_67c(4)); 6711break; 6712case 85: 6713out+=String.fromCharCode(_67c(8)); 6714break; 6715case 116: 6716out+="\t"; 6717break; 6718case 98: 6719out+="\b"; 6720break; 6721case 118: 6722out+="\v"; 6723break; 6724case 102: 6725out+="\f"; 6726break; 6727case 48: 6728out+="\x00"; 6729break; 6730case 13: 6731if(_4c0.charCodeAt(_4d5)===10){ 6732++_4d5; 6733} 6734case 10: 6735if(_4bf.locations){ 6736_4ed=_4d5; 6737++_4d6; 6738} 6739break; 6740default: 6741out+=String.fromCharCode(ch); 6742break; 6743} 6744} 6745}else{ 6746if(ch===13||ch===10||ch===8232||ch===8233){ 6747_4e4(_4f3,"Unterminated string constant"); 6748} 6749out+=String.fromCharCode(ch); 6750++_4d5; 6751} 6752} 6753}; 6754function _67c(len){ 6755var n=_66f(16,len); 6756if(n===null){ 6757_4e4(_4f3,"Bad character escape sequence"); 6758} 6759return n; 6760}; 6761var _638; 6762function _5f3(){ 6763_638=false; 6764var word,_67d=true,_67e=_4d5; 6765for(;;){ 6766var ch=_4c0.charCodeAt(_4d5); 6767if(_5ab(ch)){ 6768if(_638){ 6769word+=_4c0.charAt(_4d5); 6770} 6771++_4d5; 6772}else{ 6773if(ch===92){ 6774if(!_638){ 6775word=_4c0.slice(_67e,_4d5); 6776} 6777_638=true; 6778if(_4c0.charCodeAt(++_4d5)!=117){ 6779_4e4(_4d5,"Expecting Unicode escape sequence \\uXXXX"); 6780} 6781++_4d5; 6782var esc=_67c(4); 6783var _67f=String.fromCharCode(esc); 6784if(!_67f){ 6785_4e4(_4d5-1,"Invalid Unicode escape"); 6786} 6787if(!(_67d?_5aa(esc):_5ab(esc))){ 6788_4e4(_4d5-4,"Invalid Unicode escape"); 6789} 6790word+=_67f; 6791}else{ 6792break; 6793} 6794} 6795_67d=false; 6796} 6797return _638?word:_4c0.slice(_67e,_4d5); 6798}; 6799function _669(_680,_681,_682){ 6800var word=_680||_5f3(); 6801var type=_52a; 6802if(_4bf.preprocess){ 6803var _683=_636(word,next,_681,_682); 6804if(_683===true){ 6805return true; 6806} 6807} 6808if(!_638){ 6809if(_5a0(word)){ 6810type=_579[word]; 6811}else{ 6812if(_4bf.objj&&_5a1(word)){ 6813type=_57a[word]; 6814}else{ 6815if(_4bf.forbidReserved&&(_4bf.ecmaVersion===3?_59c:_59d)(word)||_510&&_59e(word)){ 6816_4e4(_4f3,"The keyword '"+word+"' is reserved"); 6817} 6818} 6819} 6820} 6821return _5b7(type,word,_683); 6822}; 6823function _636(word,_684,_685,_686){ 6824var _687,_688=_519,_689=_51d; 6825if(_688){ 6826var _68a=_51e||_519; 6827if(_68a.parameterDict&&_68a.macro.isParameterFunction()(word)){ 6828_687=_68a.parameterDict[word]; 6829if(!_687&&_68a.macro.variadicName===word){ 6830if(_521){ 6831_5b7(_52a,""); 6832return true; 6833}else{ 6834_5d1(); 6835_684(true,_685,_686,true); 6836} 6837return true; 6838} 6839if(_5d1(true,true)===true){ 6840if(_68b(35,35)){ 6841_685=2; 6842} 6843}else{
6844if(_4c0.charCodeAt(_4d5)===35&&_4c0.charCodeAt(_4d5+1)===35){ 6845_685=2; 6846} 6847} 6848_51d=_687&&_687.parameterScope; 6849_685--; 6850} 6851} 6852if(!_687&&(!_685&&!_51a||_4d5<_4c1)&&_4bf.preprocessIsMacro(word)){ 6853_51d=null; 6854_687=_4bf.preprocessGetMacro(word); 6855if(_687){ 6856if(!_519||!_519.macro.isArgument){ 6857var i=_518.length,_68c; 6858while(i>0){ 6859var item=_518[--i],_68d=item.macro; 6860if(_68d.identifier===word&&!(_68c&&_68c.isArgument)){ 6861_687=null; 6862} 6863_68c=_68d; 6864} 6865} 6866}else{ 6867_687=_4de(word); 6868} 6869} 6870if(_687){ 6871var _68e=_4f3; 6872var _68f; 6873var _690=_687.parameters; 6874var _691; 6875if(_690){ 6876var pos=_4d5; 6877var loc; 6878if(_4bf.locations){ 6879loc=new _5ac(); 6880} 6881if(_5d1(true,true)===true&&_68b(40)||_4c0.charCodeAt(_4d5)===40){ 6882_691=true; 6883}else{ 6884_51f=loc; 6885return pos; 6886} 6887} 6888if(!_690||_691){ 6889var _692=_687.macro; 6890if(_691){ 6891var _693=_687.variadicName; 6892var _694=true; 6893var _695=0; 6894_68f=Object.create(null); 6895_5d1(true); 6896if(_4c0.charCodeAt(_4d5++)!==40){ 6897_4e4(_4d5-1,"Expected '(' before macro prarameters"); 6898} 6899_5d1(true,true,true); 6900var code=_4c0.charCodeAt(_4d5++); 6901while(_4d5<_4c1&&code!==41){ 6902if(_694){ 6903_694=false; 6904}else{ 6905if(code===44){ 6906_5d1(true,true,true); 6907code=_4c0.charCodeAt(_4d5++); 6908}else{ 6909_4e4(_4d5-1,"Expected ',' between macro parameters"); 6910} 6911} 6912var _696=_690[_695++]; 6913var _697=_693&&_690.length===_695; 6914var _698=_4d5-1,_699=0; 6915var _69a=_4bf.locations&&new _5b1(_4d6,_4ed); 6916while(_4d5<_4c1&&(_699||code!==41&&(code!==44||_697))){ 6917if(code===40){ 6918_699++; 6919} 6920if(code===41){ 6921_699--; 6922} 6923if(code===34||code===39){ 6924var _69b=code; 6925code=_4c0.charCodeAt(_4d5++); 6926while(_4d5<_4c1&&code!==_69b){ 6927if(code===92){ 6928code=_4c0.charCodeAt(_4d5++); 6929if(code!==_69b){ 6930continue; 6931} 6932} 6933code=_4c0.charCodeAt(_4d5++); 6934} 6935} 6936code=_4c0.charCodeAt(_4d5++); 6937} 6938var val=_4c0.slice(_698,_4d5-1); 6939_68f[_696]=new _4d3(_696,val,null,_698+_4f5,true,_51e||_519,false,_69a); 6940} 6941if(code!==41){ 6942_4e4(_4d5,"Expected ')' after macro prarameters"); 6943} 6944_5d1(true,true); 6945} 6946return _5c4(_687,_4f6,_68f,_689,_4d5,_684,_685,_686); 6947} 6948} 6949}; 6950function _68b(_69c,_69d){ 6951var i=_518.length; 6952stackloop: 6953while(i-->0){ 6954var _69e=_518[i],_69f=_69e.end,_6a0=_69e.input,_6a1=_69e.inputLen; 6955for(;;){ 6956var ch=_6a0.charCodeAt(_69f); 6957if(ch===32){ 6958++_69f; 6959}else{ 6960if(ch===13){ 6961++_69f; 6962var next=_6a0.charCodeAt(_69f); 6963if(next===10){ 6964++_69f; 6965} 6966}else{ 6967if(ch===10){ 6968++_69f; 6969}else{ 6970if(ch===9){ 6971++_69f; 6972}else{ 6973if(ch===47){ 6974var next=_6a0.charCodeAt(_69f+1); 6975if(next===42){ 6976var end=_6a0.indexOf("*/",_69f+=2); 6977if(end===-1){ 6978_4e4(_69f-2,"Unterminated comment"); 6979} 6980_69f=end+2; 6981}else{ 6982if(next===47){ 6983ch=_6a0.charCodeAt(_69f+=2); 6984while(_69f<_4c1&&ch!==10&&ch!==13&&ch!==8232&&ch!==8233){ 6985++_69f; 6986ch=_6a0.charCodeAt(_69f); 6987} 6988}else{ 6989break stackloop; 6990} 6991} 6992}else{ 6993if(ch===160||ch===11||ch===12||ch>=5760&&_5a3.test(String.fromCharCode(ch))){ 6994++_69f; 6995}else{ 6996if(_69f>=_6a1){ 6997continue stackloop; 6998}else{ 6999if(ch===92){ 7000var pos=_69f+1; 7001ch=_6a0.charCodeAt(pos); 7002while(pos<_6a1&&(ch===32||ch===9||ch===11||ch===12||ch>=5760&&_5a4.test(String.fromCharCode(ch)))){ 7003ch=_6a0.charCodeAt(++pos); 7004} 7005_4e8.lastIndex=0; 7006var _6a2=_4e8.exec(_6a0.slice(pos,pos+2)); 7007if(_6a2&&_6a2.index===0){ 7008_69f=pos+_6a2[0].length; 7009}else{ 7010break stackloop; 7011} 7012}else{ 7013break stackloop; 7014} 7015} 7016} 7017} 7018} 7019} 7020} 7021} 7022} 7023} 7024return _6a0&&_6a0.charCodeAt(_69f)===_69c&&(_69d==null||_6a0.charCodeAt(_69f+1)===_69d); 7025}; 7026function _5c4(_6a3,_6a4,_6a5,_6a6,end,_6a7,_6a8,_6a9){ 7027var _6aa=_6a3.macro; 7028if(!_6aa&&_6a7===_637){ 7029_6aa="1"; 7030} 7031if(_6aa){ 7032_606(_6a3,_6aa,_6a4,_6a5,_6a6,end,_6a8); 7033}else{ 7034if(_521){ 7035(_6a7===next?_5b7:_605)(_52a,""); 7036return true; 7037} 7038} 7039_5d1(); 7040_6a7(true,_6a8,_6a9,true); 7041return true; 7042}; 7043function _606(_6ab,_6ac,_6ad,_6ae,_6af,end,_6b0,_6b1){ 7044_519={macro:_6ab,macroOffset:_6ad,parameterDict:_6ae,end:end,lastEnd:_4f8,inputLen:_4c1,tokStart:_4f3,onlyTransformArgumentsForLastToken:_51a,currentLine:_4d6,currentLineStart:_4ed,sourceFile:_4c2}; 7045if(_6af){ 7046_519.parameterScope=_6af; 7047} 7048if(_6b1){ 7049_519.isIncludeFile=_6b1; 7050} 7051_519.input=_4c0; 7052_518.push(_519); 7053_51a=_6b0; 7054_4c0=_6ac; 7055_4c1=_6ac.length; 7056_4f6=_6ab.start; 7057_4d5=0; 7058_4d6=1; 7059_4ed=0; 7060_4f2=0; 7061_4f8=0; 7062if(_6ab.sourceFile){ 7063_4c2=_6ab.sourceFile; 7064} 7065}; 7066var _4d3=_4be.Macro=function _4d3(_6b2,_6b3,_6b4,_6b5,_6b6,_6b7,_6b8,_6b9,_6ba){ 7067this.identifier=_6b2; 7068if(_6b3!=null){ 7069this.macro=_6b3; 7070} 7071if(_6b4){ 7072this.parameters=_6b4; 7073} 7074if(_6b5!=null){ 7075this.start=_6b5; 7076} 7077if(_6b6){ 7078this.isArgument=true; 7079} 7080if(_6b7){ 7081this.parameterScope=_6b7; 7082} 7083if(_6b8){ 7084this.variadicName=_6b8; 7085} 7086if(_6b9){ 7087this.locationOffset=_6b9; 7088} 7089if(_6ba){ 7090this.sourceFile=_6ba; 7091} 7092}; 7093_4d3.prototype.isParameterFunction=function(){ 7094return this.isParameterFunctionVar||(this.isParameterFunctionVar=_4dd((this.parameters||[]).join(" "))); 7095}; 7096function next(_6bb,_6bc,_6bd){ 7097if(!_6bb){ 7098_50a=_4f3; 7099_50b=_4f4; 7100_509=_507; 7101_4fa=_4f9; 7102_50c=_4fc; 7103_4f7=_4f5; 7104} 7105_4f8=_4f2; 7106_4f9=_50d=null; 7107return _5c0(_6bd,_6bc,_6bb); 7108}; 7109function _6be(_6bf){ 7110_510=_6bf; 7111_4d5=_50b; 7112while(_4d5<_4ed){ 7113_4ed=_4c0.lastIndexOf("\n",_4ed-2)+1; 7114--_4d6; 7115} 7116_4f0(); 7117_5c0(); 7118}; 7119function _6c0(){ 7120this.type=null; 7121this.start=_4f3+_4f5; 7122this.end=null; 7123}; 7124function _6c1(){ 7125this.start=_4fb; 7126this.end=null; 7127if(_4c2!=null){ 7128this.source=_4c2; 7129} 7130}; 7131function _652(){ 7132var node=new _6c0(); 7133if(_4bf.trackComments&&_4ff){ 7134node.commentsBefore=_4ff; 7135_4ff=null; 7136} 7137if(_4bf.trackSpaces&&_502){ 7138node.spacesBefore=_502; 7139_502=null; 7140} 7141if(_4bf.locations){ 7142node.loc=new _6c1(); 7143} 7144if(_4bf.ranges){ 7145node.range=[_4f3,0]; 7146} 7147return node; 7148}; 7149function _65b(_6c2){ 7150var node=new _6c0(); 7151node.start=_6c2.start; 7152if(_6c2.commentsBefore){ 7153node.commentsBefore=_6c2.commentsBefore; 7154delete _6c2.commentsBefore; 7155} 7156if(_6c2.spacesBefore){ 7157node.spacesBefore=_6c2.spacesBefore; 7158delete _6c2.spacesBefore; 7159} 7160if(_4bf.locations){ 7161node.loc=new _6c1(); 7162node.loc.start=_6c2.loc.start; 7163} 7164if(_4bf.ranges){ 7165node.range=[_6c2.range[0],0]; 7166} 7167return node; 7168}; 7169var _6c3; 7170function _6c4(node,type){ 7171var _6c5=_50b+_4f7; 7172node.type=type; 7173node.end=_6c5; 7174if(_4bf.trackComments){ 7175if(_501){ 7176node.commentsAfter=_501; 7177_501=null; 7178}else{ 7179if(_6c3&&_6c3.end===_50b&&_6c3.commentsAfter){ 7180node.commentsAfter=_6c3.commentsAfter; 7181delete _6c3.commentsAfter; 7182} 7183} 7184if(!_4bf.trackSpaces){ 7185_6c3=node; 7186} 7187} 7188if(_4bf.trackSpaces){ 7189if(_504){ 7190node.spacesAfter=_504; 7191_504=null; 7192}else{ 7193if(_6c3&&_6c3.end===_50b&&_6c3.spacesAfter){ 7194node.spacesAfter=_6c3.spacesAfter; 7195delete _6c3.spacesAfter; 7196} 7197} 7198_6c3=node; 7199} 7200if(_4bf.locations){ 7201node.loc.end=_50c; 7202} 7203if(_4bf.ranges){ 7204node.range[1]=_6c5; 7205} 7206return node; 7207}; 7208function _6c6(stmt){ 7209return _4bf.ecmaVersion>=5&&stmt.type==="ExpressionStatement"&&stmt.expression.type==="Literal"&&stmt.expression.value==="use strict"; 7210}; 7211function eat(type){ 7212if(_4fd===type){ 7213next(); 7214return true; 7215} 7216}; 7217function _6c7(){ 7218return !_4bf.strictSemicolons&&(_4fd===_52b||_4fd===_580||_5a9.test(_509.slice(_50b,_4fa||_4f1))||_50d&&_4bf.objj||_4fa!=null); 7219}; 7220function _6c8(){ 7221if(!eat(_584)&&!_6c7()){ 7222_4e4(_4f3,"Expected a semicolon"); 7223} 7224}; 7225function _6c9(type,_6ca){ 7226if(_4fd===type){ 7227next(); 7228}else{ 7229_6ca?_4e4(_4f3,_6ca):_662(); 7230} 7231}; 7232function _662(){ 7233_4e4(_4f3,"Unexpected token"); 7234}; 7235function _6cb(expr){ 7236if(expr.type!=="Identifier"&&expr.type!=="MemberExpression"&&expr.type!=="Dereference"){ 7237_4e4(expr.start,"Assigning to rvalue"); 7238} 7239if(_510&&expr.type==="Identifier"&&_59f(expr.name)){ 7240_4e4(expr.start,"Assigning to "+expr.name+" in strict mode"); 7241} 7242}; 7243function _4c7(_6cc){ 7244_50a=_4f8=_50b=0; 7245if(_4bf.preprocess){ 7246var _6cd=_4bf.preIncludeFiles; 7247if(_6cd&&_6cd.length){ 7248for(var i=_6cd.length-1;i>=0;i--){ 7249var _6ce=_6cd[i];
7250var _6cf=new _4d3(null,_6ce.include,null,0,false,null,false,null,_6ce.sourceFile); 7251_606(_6cf,_6cf.macro,0,null,null,_4d5,null,true); 7252_4f0(); 7253} 7254} 7255} 7256if(_4bf.locations){ 7257_50c=new _5ac(); 7258} 7259_50e=_510=null; 7260_50f=[]; 7261_5c0(); 7262var node=_6cc||_652(),_6d0=true; 7263if(!_6cc){ 7264node.body=[]; 7265} 7266while(_4fd!==_52b){ 7267var stmt=_6d1(); 7268node.body.push(stmt); 7269if(_6d0&&_6c6(stmt)){ 7270_6be(true); 7271} 7272_6d0=false; 7273} 7274return _6c4(node,"Program"); 7275}; 7276var _6d2={kind:"loop"},_6d3={kind:"switch"}; 7277function _6d1(){ 7278if(_4fd===_58b||_4fd===_58d&&_4fe=="/="){ 7279_5c0(true); 7280} 7281var _6d4=_4fd,node=_652(); 7282if(_50d){ 7283node.expression=_6d5(_50d,_50d.object); 7284_6c8(); 7285return _6c4(node,"ExpressionStatement"); 7286} 7287switch(_6d4){ 7288case _52d: 7289case _530: 7290next(); 7291var _6d6=_6d4===_52d; 7292if(eat(_584)||_6c7()){ 7293node.label=null; 7294}else{ 7295if(_4fd!==_52a){ 7296_662(); 7297}else{ 7298node.label=_6d7(); 7299_6c8(); 7300} 7301} 7302for(var i=0;i<_50f.length;++i){ 7303var lab=_50f[i]; 7304if(node.label==null||lab.name===node.label.name){ 7305if(lab.kind!=null&&(_6d6||lab.kind==="loop")){ 7306break; 7307} 7308if(node.label&&_6d6){ 7309break; 7310} 7311} 7312} 7313if(i===_50f.length){ 7314_4e4(node.start,"Unsyntactic "+_6d4.keyword); 7315} 7316return _6c4(node,_6d6?"BreakStatement":"ContinueStatement"); 7317case _531: 7318next(); 7319_6c8(); 7320return _6c4(node,"DebuggerStatement"); 7321case _533: 7322next(); 7323_50f.push(_6d2); 7324node.body=_6d1(); 7325_50f.pop(); 7326_6c9(_53e,"Expected 'while' at end of do statement"); 7327node.test=_6d8(); 7328_6c8(); 7329return _6c4(node,"DoWhileStatement"); 7330case _536: 7331next(); 7332_50f.push(_6d2); 7333_6c9(_581,"Expected '(' after 'for'"); 7334if(_4fd===_584){ 7335return _6d9(node,null); 7336} 7337if(_4fd===_53d){
7338var init=_652(); 7339next(); 7340_6da(init,true); 7341if(init.declarations.length===1&&eat(_546)){ 7342return _6db(node,init); 7343} 7344return _6d9(node,init); 7345} 7346var init=_6dc(false,true); 7347if(eat(_546)){ 7348_6cb(init); 7349return _6db(node,init); 7350} 7351return _6d9(node,init); 7352case _537: 7353next(); 7354return _6dd(node,true); 7355case _538: 7356next(); 7357node.test=_6d8(); 7358node.consequent=_6d1(); 7359node.alternate=eat(_534)?_6d1():null; 7360return _6c4(node,"IfStatement"); 7361case _539: 7362if(!_50e){ 7363_4e4(_4f3,"'return' outside of function"); 7364} 7365next(); 7366if(eat(_584)||_6c7()){ 7367node.argument=null; 7368}else{ 7369node.argument=_6dc(); 7370_6c8(); 7371} 7372return _6c4(node,"ReturnStatement"); 7373case _53a: 7374next(); 7375node.discriminant=_6d8(); 7376node.cases=[]; 7377_6c9(_57f,"Expected '{' in switch statement"); 7378_50f.push(_6d3); 7379for(var cur,_6de;_4fd!=_580;){ 7380if(_4fd===_52e||_4fd===_532){ 7381var _6df=_4fd===_52e; 7382if(cur){ 7383_6c4(cur,"SwitchCase"); 7384} 7385node.cases.push(cur=_652()); 7386cur.consequent=[]; 7387next(); 7388if(_6df){ 7389cur.test=_6dc(); 7390}else{ 7391if(_6de){ 7392_4e4(_50a,"Multiple default clauses"); 7393} 7394_6de=true; 7395cur.test=null; 7396} 7397_6c9(_585,"Expected ':' after case clause"); 7398}else{ 7399if(!cur){ 7400_662(); 7401} 7402cur.consequent.push(_6d1()); 7403} 7404} 7405if(cur){ 7406_6c4(cur,"SwitchCase"); 7407} 7408next(); 7409_50f.pop(); 7410return _6c4(node,"SwitchStatement"); 7411case _53b: 7412next(); 7413if(_5a9.test(_507.slice(_50b,_4f3))){ 7414_4e4(_50b,"Illegal newline after throw"); 7415} 7416node.argument=_6dc(); 7417_6c8(); 7418return _6c4(node,"ThrowStatement"); 7419case _53c: 7420next(); 7421node.block=_6e0(); 7422node.handler=null; 7423if(_4fd===_52f){ 7424var _6e1=_652(); 7425next(); 7426_6c9(_581,"Expected '(' after 'catch'"); 7427_6e1.param=_6d7(); 7428if(_510&&_59f(_6e1.param.name)){ 7429_4e4(_6e1.param.start,"Binding "+_6e1.param.name+" in strict mode"); 7430} 7431_6c9(_582,"Expected closing ')' after catch"); 7432_6e1.guard=null; 7433_6e1.body=_6e0(); 7434node.handler=_6c4(_6e1,"CatchClause"); 7435} 7436node.guardedHandlers=_526; 7437node.finalizer=eat(_535)?_6e0():null; 7438if(!node.handler&&!node.finalizer){ 7439_4e4(node.start,"Missing catch or finally clause"); 7440} 7441return _6c4(node,"TryStatement"); 7442case _53d: 7443next(); 7444node=_6da(node); 7445_6c8(); 7446return node; 7447case _53e: 7448next(); 7449node.test=_6d8(); 7450_50f.push(_6d2); 7451node.body=_6d1(); 7452_50f.pop(); 7453return _6c4(node,"WhileStatement"); 7454case _53f: 7455if(_510){ 7456_4e4(_4f3,"'with' in strict mode"); 7457} 7458next(); 7459node.object=_6d8(); 7460node.body=_6d1(); 7461return _6c4(node,"WithStatement"); 7462case _57f: 7463return _6e0(); 7464case _584: 7465next(); 7466return _6c4(node,"EmptyStatement"); 7467case _557: 7468if(_4bf.objj){ 7469next(); 7470node.classname=_6d7(true); 7471if(eat(_585)){ 7472node.superclassname=_6d7(true); 7473}else{ 7474if(eat(_581)){ 7475node.categoryname=_6d7(true); 7476_6c9(_582,"Expected closing ')' after category name"); 7477} 7478} 7479if(_4fe==="<"){ 7480next(); 7481var _6e2=[],_6e3=true; 7482node.protocols=_6e2; 7483while(_4fe!==">"){ 7484if(!_6e3){ 7485_6c9(_583,"Expected ',' between protocol names"); 7486}else{ 7487_6e3=false; 7488} 7489_6e2.push(_6d7(true)); 7490} 7491next(); 7492} 7493if(eat(_57f)){ 7494node.ivardeclarations=[]; 7495for(;;){ 7496if(eat(_580)){ 7497break; 7498} 7499_6e4(node); 7500} 7501node.endOfIvars=_4f3; 7502} 7503node.body=[]; 7504while(!eat(_54a)){ 7505if(_4fd===_52b){ 7506_4e4(_4d5,"Expected '@end' after '@interface'"); 7507} 7508node.body.push(_6e5()); 7509} 7510return _6c4(node,"InterfaceDeclarationStatement"); 7511} 7512break; 7513case _547: 7514if(_4bf.objj){ 7515next(); 7516node.classname=_6d7(true); 7517if(eat(_585)){ 7518node.superclassname=_6d7(true); 7519}else{ 7520if(eat(_581)){ 7521node.categoryname=_6d7(true); 7522_6c9(_582,"Expected closing ')' after category name"); 7523} 7524} 7525if(_4fe==="<"){ 7526next(); 7527var _6e2=[],_6e3=true; 7528node.protocols=_6e2; 7529while(_4fe!==">"){ 7530if(!_6e3){ 7531_6c9(_583,"Expected ',' between protocol names"); 7532}else{ 7533_6e3=false; 7534} 7535_6e2.push(_6d7(true)); 7536} 7537next(); 7538} 7539if(eat(_57f)){ 7540node.ivardeclarations=[]; 7541for(;;){ 7542if(eat(_580)){ 7543break; 7544} 7545_6e4(node); 7546} 7547node.endOfIvars=_4f3; 7548} 7549node.body=[]; 7550while(!eat(_54a)){ 7551if(_4fd===_52b){ 7552_4e4(_4d5,"Expected '@end' after '@implementation'"); 7553} 7554node.body.push(_6e5()); 7555} 7556return _6c4(node,"ClassDeclarationStatement"); 7557} 7558break; 7559case _554: 7560if(_4bf.objj&&_4c0.charCodeAt(_4d5)!==40){ 7561next(); 7562node.protocolname=_6d7(true); 7563if(_4fe==="<"){ 7564next(); 7565var _6e2=[],_6e3=true; 7566node.protocols=_6e2; 7567while(_4fe!==">"){ 7568if(!_6e3){ 7569_6c9(_583,"Expected ',' between protocol names"); 7570}else{ 7571_6e3=false; 7572} 7573_6e2.push(_6d7(true)); 7574} 7575next(); 7576} 7577while(!eat(_54a)){ 7578if(_4fd===_52b){ 7579_4e4(_4d5,"Expected '@end' after '@protocol'"); 7580} 7581if(eat(_556)){ 7582continue; 7583} 7584if(eat(_555)){ 7585while(!eat(_556)&&_4fd!==_54a){ 7586(node.optional||(node.optional=[])).push(_6e6()); 7587} 7588}else{ 7589(node.required||(node.required=[])).push(_6e6()); 7590} 7591} 7592return _6c4(node,"ProtocolDeclarationStatement"); 7593} 7594break; 7595case _54b: 7596if(_4bf.objj){ 7597next(); 7598if(_4fd===_529){ 7599node.localfilepath=true; 7600}else{ 7601if(_4fd===_559){ 7602node.localfilepath=false; 7603}else{ 7604_662(); 7605} 7606} 7607node.filename=_6e7(); 7608return _6c4(node,"ImportStatement"); 7609} 7610break; 7611case _566: 7612if(_4bf.objj){ 7613next(); 7614return _6c4(node,"PreprocessStatement"); 7615} 7616break; 7617case _54e: 7618if(_4bf.objj){ 7619next(); 7620node.id=_6d7(false); 7621return _6c4(node,"ClassStatement"); 7622} 7623break; 7624case _54f: 7625if(_4bf.objj){ 7626next(); 7627node.id=_6d7(false); 7628return _6c4(node,"GlobalStatement"); 7629} 7630break; 7631case _558: 7632if(_4bf.objj){ 7633next(); 7634node.typedefname=_6d7(true); 7635return _6c4(node,"TypeDefStatement"); 7636} 7637break; 7638} 7639var _6e8=_4fe,expr=_6dc(); 7640if(_6d4===_52a&&expr.type==="Identifier"&&eat(_585)){ 7641for(var i=0;i<_50f.length;++i){ 7642if(_50f[i].name===_6e8){ 7643_4e4(expr.start,"Label '"+_6e8+"' is already declared"); 7644} 7645}
7646var kind=_4fd.isLoop?"loop":_4fd===_53a?"switch":null; 7647_50f.push({name:_6e8,kind:kind}); 7648node.body=_6d1(); 7649_50f.pop(); 7650node.label=expr; 7651return _6c4(node,"LabeledStatement"); 7652}else{ 7653node.expression=expr; 7654_6c8(); 7655return _6c4(node,"ExpressionStatement"); 7656} 7657}; 7658function _6e4(node){ 7659var _6e9; 7660if(eat(_548)){ 7661_6e9=true; 7662} 7663var type=_6ea(); 7664if(_510&&_59f(type.name)){ 7665_4e4(type.start,"Binding "+type.name+" in strict mode"); 7666} 7667for(;;){ 7668var decl=_652(); 7669if(_6e9){ 7670decl.outlet=_6e9; 7671} 7672decl.ivartype=type; 7673decl.id=_6d7(); 7674if(_510&&_59f(decl.id.name)){ 7675_4e4(decl.id.start,"Binding "+decl.id.name+" in strict mode"); 7676} 7677if(eat(_549)){ 7678decl.accessors={}; 7679if(eat(_581)){ 7680if(!eat(_582)){ 7681for(;;){ 7682var _6eb=_6d7(true); 7683switch(_6eb.name){ 7684case "property": 7685case "getter": 7686_6c9(_58c,"Expected '=' after 'getter' accessor attribute"); 7687decl.accessors[_6eb.name]=_6d7(true); 7688break; 7689case "setter": 7690_6c9(_58c,"Expected '=' after 'setter' accessor attribute"); 7691var _6ec=_6d7(true); 7692decl.accessors[_6eb.name]=_6ec; 7693if(eat(_585)){ 7694_6ec.end=_4f3; 7695} 7696_6ec.name+=":"; 7697break; 7698case "readwrite": 7699case "readonly": 7700case "copy": 7701decl.accessors[_6eb.name]=true; 7702break; 7703default: 7704_4e4(_6eb.start,"Unknown accessors attribute '"+_6eb.name+"'"); 7705} 7706if(!eat(_583)){ 7707break; 7708} 7709} 7710_6c9(_582,"Expected closing ')' after accessor attributes"); 7711} 7712} 7713} 7714_6c4(decl,"IvarDeclaration"); 7715node.ivardeclarations.push(decl); 7716if(!eat(_583)){ 7717break; 7718} 7719} 7720_6c8(); 7721}; 7722function _6ed(node){ 7723node.methodtype=_4fe; 7724_6c9(_58e,"Method declaration must start with '+' or '-'"); 7725if(eat(_581)){ 7726var _6ee=_652(); 7727if(eat(_54c)){ 7728node.action=_6c4(_6ee,"ObjectiveJActionType"); 7729_6ee=_652(); 7730} 7731if(!eat(_582)){ 7732node.returntype=_6ea(_6ee); 7733_6c9(_582,"Expected closing ')' after method return type"); 7734} 7735} 7736var _6ef=true,_6f0=[],args=[]; 7737node.selectors=_6f0; 7738node.arguments=args; 7739for(;;){ 7740if(_4fd!==_585){ 7741_6f0.push(_6d7(true)); 7742if(_6ef&&_4fd!==_585){ 7743break; 7744} 7745}else{ 7746_6f0.push(null); 7747} 7748_6c9(_585,"Expected ':' in selector"); 7749var _6f1={}; 7750args.push(_6f1); 7751if(eat(_581)){ 7752_6f1.type=_6ea(); 7753_6c9(_582,"Expected closing ')' after method argument type"); 7754} 7755_6f1.identifier=_6d7(false); 7756if(_4fd===_57f||_4fd===_584){ 7757break; 7758} 7759if(eat(_583)){ 7760_6c9(_589,"Expected '...' after ',' in method declaration"); 7761node.parameters=true; 7762break; 7763} 7764_6ef=false; 7765} 7766}; 7767function _6e5(){ 7768var _6f2=_652(); 7769if(_4fe==="+"||_4fe==="-"){ 7770_6ed(_6f2); 7771eat(_584); 7772_6f2.startOfBody=_50b; 7773var _6f3=_50e,_6f4=_50f; 7774_50e=true; 7775_50f=[]; 7776_6f2.body=_6e0(true); 7777_50e=_6f3; 7778_50f=_6f4; 7779return _6c4(_6f2,"MethodDeclarationStatement"); 7780}else{ 7781return _6d1(); 7782} 7783}; 7784function _6e6(){ 7785var _6f5=_652(); 7786_6ed(_6f5); 7787_6c8(); 7788return _6c4(_6f5,"MethodDeclarationStatement"); 7789}; 7790function _6d8(){ 7791_6c9(_581,"Expected '(' before expression"); 7792var val=_6dc(); 7793_6c9(_582,"Expected closing ')' after expression"); 7794return val; 7795}; 7796function _6e0(_6f6){ 7797var node=_652(),_6f7=true,_510=false,_6f8; 7798node.body=[]; 7799_6c9(_57f,"Expected '{' before block"); 7800while(!eat(_580)){ 7801var stmt=_6d1(); 7802node.body.push(stmt); 7803if(_6f7&&_6f6&&_6c6(stmt)){ 7804_6f8=_510; 7805_6be(_510=true); 7806} 7807_6f7=false; 7808} 7809if(_510&&!_6f8){ 7810_6be(false); 7811} 7812return _6c4(node,"BlockStatement"); 7813}; 7814function _6d9(node,init){ 7815node.init=init; 7816_6c9(_584,"Expected ';' in for statement"); 7817node.test=_4fd===_584?null:_6dc(); 7818_6c9(_584,"Expected ';' in for statement"); 7819node.update=_4fd===_582?null:_6dc(); 7820_6c9(_582,"Expected closing ')' in for statement"); 7821node.body=_6d1(); 7822_50f.pop(); 7823return _6c4(node,"ForStatement"); 7824}; 7825function _6db(node,init){ 7826node.left=init; 7827node.right=_6dc(); 7828_6c9(_582,"Expected closing ')' in for statement"); 7829node.body=_6d1(); 7830_50f.pop(); 7831return _6c4(node,"ForInStatement"); 7832}; 7833function _6da(node,noIn){ 7834node.declarations=[]; 7835node.kind="var"; 7836for(;;){ 7837var decl=_652(); 7838decl.id=_6d7(); 7839if(_510&&_59f(decl.id.name)){ 7840_4e4(decl.id.start,"Binding "+decl.id.name+" in strict mode"); 7841} 7842decl.init=eat(_58c)?_6dc(true,noIn):null; 7843node.declarations.push(_6c4(decl,"VariableDeclarator")); 7844if(!eat(_583)){ 7845break; 7846} 7847} 7848return _6c4(node,"VariableDeclaration"); 7849}; 7850function _6dc(_6f9,noIn){ 7851var expr=_6fa(noIn); 7852if(!_6f9&&_4fd===_583){ 7853var node=_65b(expr); 7854node.expressions=[expr]; 7855while(eat(_583)){ 7856node.expressions.push(_6fa(noIn)); 7857} 7858return _6c4(node,"SequenceExpression"); 7859} 7860return expr; 7861}; 7862function _6fa(noIn){ 7863var left=_6fb(noIn); 7864if(_4fd.isAssign){ 7865var node=_65b(left); 7866node.operator=_4fe; 7867node.left=left;
7868next(); 7869node.right=_6fa(noIn); 7870_6cb(left); 7871return _6c4(node,"AssignmentExpression"); 7872} 7873return left; 7874}; 7875function _6fb(noIn){ 7876var expr=_6fc(noIn); 7877if(eat(_587)){ 7878var node=_65b(expr); 7879node.test=expr; 7880node.consequent=_6dc(true); 7881_6c9(_585,"Expected ':' in conditional expression"); 7882node.alternate=_6dc(true,noIn); 7883return _6c4(node,"ConditionalExpression"); 7884} 7885return expr; 7886}; 7887function _6fc(noIn){ 7888return _6fd(_6fe(),-1,noIn); 7889}; 7890function _6fd(left,_6ff,noIn){ 7891var prec=_4fd.binop; 7892if(prec!=null&&(!noIn||_4fd!==_546)){ 7893if(prec>_6ff){ 7894var node=_65b(left); 7895node.left=left; 7896node.operator=_4fe; 7897next(); 7898node.right=_6fd(_6fe(),prec,noIn); 7899var node=_6c4(node,/&&|\|\|/.test(node.operator)?"LogicalExpression":"BinaryExpression"); 7900return _6fd(node,_6ff,noIn); 7901} 7902} 7903return left; 7904}; 7905function _6fe(){ 7906if(_4fd.prefix){ 7907var node=_652(),_700=_4fd.isUpdate; 7908node.operator=_4fe; 7909node.prefix=true; 7910_4ef=true; 7911next(); 7912node.argument=_6fe(); 7913if(_700){ 7914_6cb(node.argument); 7915}else{ 7916if(_510&&node.operator==="delete"&&node.argument.type==="Identifier"){ 7917_4e4(node.start,"Deleting local variable in strict mode"); 7918} 7919} 7920return _6c4(node,_700?"UpdateExpression":"UnaryExpression"); 7921} 7922var expr=_701(); 7923while(_4fd.postfix&&!_6c7()){ 7924var node=_65b(expr); 7925node.operator=_4fe; 7926node.prefix=false; 7927node.argument=expr; 7928_6cb(expr); 7929next(); 7930expr=_6c4(node,"UpdateExpression"); 7931} 7932return expr; 7933}; 7934function _701(){ 7935return _702(_703()); 7936}; 7937function _702(base,_704){ 7938if(eat(_586)){ 7939var node=_65b(base); 7940node.object=base; 7941node.property=_6d7(true); 7942node.computed=false; 7943return _702(_6c4(node,"MemberExpression"),_704); 7944}else{ 7945if(_4bf.objj){ 7946var _705=_652(); 7947} 7948if(eat(_57d)){ 7949var expr=_6dc(); 7950if(_4bf.objj&&_4fd!==_57e){ 7951_705.object=expr; 7952_50d=_705; 7953return base; 7954} 7955var node=_65b(base); 7956node.object=base; 7957node.property=expr; 7958node.computed=true; 7959_6c9(_57e,"Expected closing ']' in subscript"); 7960return _702(_6c4(node,"MemberExpression"),_704); 7961}else{ 7962if(!_704&&eat(_581)){ 7963var node=_65b(base); 7964node.callee=base; 7965node.arguments=_706(_582,_4fd===_582?null:_6dc(true),false); 7966return _702(_6c4(node,"CallExpression"),_704); 7967} 7968} 7969} 7970return base; 7971}; 7972function _703(){ 7973switch(_4fd){ 7974case _541: 7975var node=_652(); 7976next(); 7977return _6c4(node,"ThisExpression"); 7978case _52a: 7979return _6d7(); 7980case _527: 7981case _529: 7982case _528: 7983return _6e7(); 7984case _543: 7985case _544: 7986case _545: 7987var node=_652(); 7988node.value=_4fd.atomValue; 7989node.raw=_4fd.keyword; 7990next(); 7991return _6c4(node,"Literal"); 7992case _581: 7993var _707=_4fb,_708=_4f5,_709=_4f3+_708; 7994next(); 7995var val=_6dc(); 7996val.start=_709; 7997val.end=_4f4+_708; 7998if(_4bf.locations){ 7999val.loc.start=_707; 8000val.loc.end=_4fc; 8001} 8002if(_4bf.ranges){ 8003val.range=[_709,_4f4+_4f7]; 8004} 8005_6c9(_582,"Expected closing ')' in expression"); 8006return val; 8007case _551: 8008var node=_652(),_70a=null; 8009next(); 8010_6c9(_57d,"Expected '[' at beginning of array literal"); 8011if(_4fd!==_57e){ 8012_70a=_6dc(true,true); 8013} 8014node.elements=_706(_57e,_70a,true,true); 8015return _6c4(node,"ArrayLiteral"); 8016case _57d: 8017var node=_652(),_70a=null; 8018next(); 8019if(_4fd!==_583&&_4fd!==_57e){ 8020_70a=_6dc(true,true); 8021if(_4fd!==_583&&_4fd!==_57e){ 8022return _6d5(node,_70a); 8023} 8024} 8025node.elements=_706(_57e,_70a,true,true); 8026return _6c4(node,"ArrayExpression"); 8027case _550: 8028var node=_652(); 8029next(); 8030var r=_70b(); 8031node.keys=r[0]; 8032node.values=r[1]; 8033return _6c4(node,"DictionaryLiteral"); 8034case _57f: 8035return _70c(); 8036case _537: 8037var node=_652(); 8038next(); 8039return _6dd(node,false); 8040case _540: 8041return _70d(); 8042case _54d: 8043var node=_652(); 8044next(); 8045_6c9(_581,"Expected '(' after '@selector'"); 8046_70e(node,_582); 8047_6c9(_582,"Expected closing ')' after selector"); 8048return _6c4(node,"SelectorLiteralExpression"); 8049case _554: 8050var node=_652(); 8051next(); 8052_6c9(_581,"Expected '(' after '@protocol'"); 8053node.id=_6d7(true); 8054_6c9(_582,"Expected closing ')' after protocol name"); 8055return _6c4(node,"ProtocolLiteralExpression"); 8056case _552: 8057var node=_652(); 8058next(); 8059_6c9(_581,"Expected '(' after '@ref'"); 8060node.element=_6d7(node,_582); 8061_6c9(_582,"Expected closing ')' after ref"); 8062return _6c4(node,"Reference"); 8063case _553: 8064var node=_652(); 8065next(); 8066_6c9(_581,"Expected '(' after '@deref'"); 8067node.expr=_6dc(true,true); 8068_6c9(_582,"Expected closing ')' after deref"); 8069return _6c4(node,"Dereference"); 8070default: 8071if(_4fd.okAsIdent){ 8072return _6d7(); 8073} 8074_662(); 8075} 8076}; 8077function _6d5(node,_70f){ 8078_710(node,_57e); 8079if(_70f.type==="Identifier"&&_70f.name==="super"){ 8080node.superObject=true; 8081}else{ 8082node.object=_70f; 8083} 8084return _6c4(node,"MessageSendExpression"); 8085}; 8086function _70e(node,_711){ 8087var _712=true,_713=[]; 8088for(;;){ 8089if(_4fd!==_585){ 8090_713.push((_6d7(true)).name); 8091if(_712&&_4fd===_711){ 8092break; 8093} 8094} 8095_6c9(_585,"Expected ':' in selector"); 8096_713.push(":"); 8097if(_4fd===_711){ 8098break; 8099} 8100_712=false; 8101} 8102node.selector=_713.join(""); 8103}; 8104function _710(node,_714){ 8105var _715=true,_716=[],args=[],_717=[]; 8106node.selectors=_716; 8107node.arguments=args; 8108for(;;){ 8109if(_4fd!==_585){ 8110_716.push(_6d7(true)); 8111if(_715&&eat(_714)){ 8112break; 8113} 8114}else{ 8115_716.push(null); 8116} 8117_6c9(_585,"Expected ':' in selector"); 8118args.push(_6dc(true,true)); 8119if(eat(_714)){ 8120break; 8121} 8122if(_4fd===_583){ 8123node.parameters=[]; 8124while(eat(_583)){ 8125node.parameters.push(_6dc(true,true)); 8126} 8127eat(_714); 8128break; 8129} 8130_715=false; 8131} 8132}; 8133function _70d(){ 8134var node=_652(); 8135next(); 8136node.callee=_702(_703(false),true); 8137if(eat(_581)){ 8138node.arguments=_706(_582,_4fd===_582?null:_6dc(true),false); 8139}else{ 8140node.arguments=_526; 8141} 8142return _6c4(node,"NewExpression"); 8143}; 8144function _70c(){ 8145var node=_652(),_718=true,_719=false; 8146node.properties=[]; 8147next(); 8148while(!eat(_580)){ 8149if(!_718){ 8150_6c9(_583,"Expected ',' in object literal"); 8151if(_4bf.allowTrailingCommas&&eat(_580)){ 8152break; 8153} 8154}else{ 8155_718=false; 8156} 8157var prop={key:_71a()},_71b=false,kind; 8158if(eat(_585)){ 8159prop.value=_6dc(true); 8160kind=prop.kind="init"; 8161}else{ 8162if(_4bf.ecmaVersion>
8162=5&&prop.key.type==="Identifier"&&(prop.key.name==="get"||prop.key.name==="set")){ 8163_71b=_719=true; 8164kind=prop.kind=prop.key.name; 8165prop.key=_71a(); 8166if(_4fd!==_581){ 8167_662(); 8168} 8169prop.value=_6dd(_652(),false); 8170}else{ 8171_662(); 8172} 8173} 8174if(prop.key.type==="Identifier"&&(_510||_719)){ 8175for(var i=0;i<node.properties.length;++i){ 8176var _71c=node.properties[i]; 8177if(_71c.key.name===prop.key.name){ 8178var _71d=kind==_71c.kind||_71b&&_71c.kind==="init"||kind==="init"&&(_71c.kind==="get"||_71c.kind==="set"); 8179if(_71d&&!_510&&kind==="init"&&_71c.kind==="init"){ 8180_71d=false; 8181} 8182if(_71d){ 8183_4e4(prop.key.start,"Redefinition of property"); 8184} 8185} 8186} 8187} 8188node.properties.push(prop); 8189} 8190return _6c4(node,"ObjectExpression"); 8191}; 8192function _71a(){ 8193if(_4fd===_527||_4fd===_529){ 8194return _703(); 8195} 8196return _6d7(true); 8197}; 8198function _6dd(node,_71e){ 8199if(_4fd===_52a){ 8200node.id=_6d7(); 8201}else{ 8202if(_71e){ 8203_662(); 8204}else{ 8205node.id=null; 8206} 8207} 8208node.params=[]; 8209var _71f=true; 8210_6c9(_581,"Expected '(' before function parameters"); 8211while(!eat(_582)){ 8212if(!_71f){ 8213_6c9(_583,"Expected ',' between function parameters"); 8214}else{ 8215_71f=false; 8216} 8217node.params.push(_6d7()); 8218} 8219var _720=_50e,_721=_50f; 8220_50e=true; 8221_50f=[]; 8222node.body=_6e0(true); 8223_50e=_720; 8224_50f=_721; 8225if(_510||node.body.body.length&&_6c6(node.body.body[0])){ 8226for(var i=node.id?-1:0;i<node.params.length;++i){ 8227var id=i<0?node.id:node.params[i]; 8228if(_59e(id.name)||_59f(id.name)){ 8229_4e4(id.start,"Defining '"+id.name+"' in strict mode"); 8230} 8231if(i>=0){ 8232for(var j=0;j<i;++j){ 8233if(id.name===node.params[j].name){ 8234_4e4(id.start,"Argument name clash in strict mode"); 8235} 8236} 8237} 8238} 8239} 8240return _6c4(node,_71e?"FunctionDeclaration":"FunctionExpression"); 8241}; 8242function _706(_722,_723,_724,_725){ 8243if(_723&&eat(_722)){ 8244return [_723]; 8245} 8246var elts=[],_726=true; 8247while(!eat(_722)){ 8248if(_726){ 8249_726=false; 8250if(_725&&_4fd===_583&&!_723){ 8251elts.push(null); 8252}else{ 8253elts.push(_723); 8254} 8255}else{ 8256_6c9(_583,"Expected ',' between expressions"); 8257if(_724&&_4bf.allowTrailingCommas&&eat(_722)){ 8258break; 8259} 8260if(_725&&_4fd===_583){ 8261elts.push(null); 8262}else{ 8263elts.push(_6dc(true)); 8264} 8265} 8266} 8267return elts; 8268}; 8269function _70b(){ 8270_6c9(_57f,"Expected '{' before dictionary"); 8271var keys=[],_727=[],_728=true; 8272while(!eat(_580)){ 8273if(!_728){ 8274_6c9(_583,"Expected ',' between expressions"); 8275if(_4bf.allowTrailingCommas&&eat(_580)){ 8276break; 8277} 8278} 8279keys.push(_6dc(true,true)); 8280_6c9(_585,"Expected ':' between dictionary key and value"); 8281_727.push(_6dc(true,true)); 8282_728=false; 8283} 8284return [keys,_727]; 8285}; 8286function _6d7(_729){ 8287var node=_652(); 8288node.name=_4fd===_52a?_4fe:(_729&&!_4bf.forbidReserved||_4fd.okAsIdent)&&_4fd.keyword||_662(); 8289_4ef=false; 8290next(); 8291return _6c4(node,"Identifier"); 8292}; 8293function _6e7(){ 8294var node=_652(); 8295node.value=_4fe; 8296node.raw=_507.slice(_4f3,_4f4); 8297next(); 8298return _6c4(node,"Literal"); 8299}; 8300function _6ea(_72a){ 8301var node=_72a?_65b(_72a):_652(),_72b=false; 8302if(_4fd===_52a){ 8303node.name=_4fe; 8304node.typeisclass=true; 8305_72b=true; 8306next(); 8307}else{ 8308node.typeisclass=false; 8309node.name=_4fd.keyword; 8310if(!eat(_542)){ 8311if(eat(_561)){ 8312_72b=true; 8313}else{ 8314var _72c; 8315if(eat(_564)||eat(_562)||eat(_563)||eat(_565)){ 8316_72c=_4fd.keyword; 8317}else{ 8318if(eat(_55b)||eat(_55a)){ 8319_72c=_4fd.keyword||true; 8320} 8321if(eat(_55d)||eat(_55c)||eat(_55e)){ 8322if(_72c){ 8323node.name+=" "+_72c; 8324} 8325_72c=_4fd.keyword||true; 8326}else{ 8327if(eat(_55f)){ 8328if(_72c){ 8329node.name+=" "+_72c; 8330} 8331_72c=_4fd.keyword||true; 8332} 8333if(eat(_560)){ 8334if(_72c){ 8335node.name+=" "+_72c; 8336} 8337_72c=_4fd.keyword||true; 8338if(eat(_560)){ 8339node.name+=" "+_72c; 8340} 8341} 8342} 8343if(!_72c){ 8344node.name=!_4bf.forbidReserved&&_4fd.keyword||_662(); 8345node.typeisclass=true; 8346_72b=true; 8347next(); 8348} 8349} 8350} 8351} 8352} 8353if(_72b){ 8354if(_4fe==="<"){ 8355var _72d=true,_72e=[]; 8356node.protocols=_72e; 8357do{ 8358next(); 8359if(_72d){ 8360_72d=false; 8361}else{ 8362eat(_583); 8363} 8364_72e.push(_6d7(true)); 8365}while(_4fe!==">"); 8366next(); 8367} 8368} 8369return _6c4(node,"ObjectiveJType"); 8370}; 8371})(_2.acorn||(_2.acorn={}),_2.acorn.walk||(_2.acorn.walk=typeof acorn!=="undefined"&&acorn.walk)||(_2.acorn.walk={})); 8372if(!_2.acorn){ 8373_2.acorn={}; 8374_2.acorn.walk={}; 8375} 8376(function(_72f){ 8377"use strict"; 8378_72f.simple=function(node,_730,base,_731){ 8379if(!base){ 8380base=_72f; 8381} 8382function c(node,st,_732){ 8383var type=_732||node.type,_733=_730[type]; 8384if(_733){ 8385_733(node,st); 8386} 8387base[type](node,st,c); 8388}; 8389c(node,_731); 8390}; 8391_72f.recursive=function(node,_734,_735,base){ 8392var _736=_72f.make(_735,base); 8393function c(node,st,_737){ 8394return _736[_737||node.type](node,st,c); 8395}; 8396return c(node,_734); 8397}; 8398_72f.make=function(_738,base){ 8399if(!base){ 8400base=_72f; 8401} 8402var _739={}; 8403for(var type in base){ 8404_739[type]=base[type]; 8405} 8406for(var type in _738){ 8407_739[type]=_738[type]; 8408} 8409return _739; 8410}; 8411function _73a(node,st,c){ 8412c(node,st); 8413}; 8414function _73b(node,st,c){ 8415}; 8416_72f.Program=_72f.BlockStatement=function(node,st,c){ 8417for(var i=0;i<node.body.length;++i){ 8418c(node.body[i],st,"Statement"); 8419} 8420}; 8421_72f.Statement=_73a; 8422_72f.EmptyStatement=_73b; 8423_72f.ExpressionStatement=function(node,st,c){ 8424c(node.expression,st,"Expression"); 8425}; 8426_72f.IfStatement=function(node,st,c){ 8427c(node.test,st,"Expression"); 8428c(node.consequent,st,"Statement"); 8429if(node.alternate){ 8430c(node.alternate,st,"Statement"); 8431} 8432};
8433_72f.LabeledStatement=function(node,st,c){ 8434c(node.body,st,"Statement"); 8435}; 8436_72f.BreakStatement=_72f.ContinueStatement=_73b; 8437_72f.WithStatement=function(node,st,c){ 8438c(node.object,st,"Expression"); 8439c(node.body,st,"Statement"); 8440}; 8441_72f.SwitchStatement=function(node,st,c){ 8442c(node.discriminant,st,"Expression"); 8443for(var i=0;i<node.cases.length;++i){ 8444var cs=node.cases[i]; 8445if(cs.test){ 8446c(cs.test,st,"Expression"); 8447} 8448for(var j=0;j<cs.consequent.length;++j){ 8449c(cs.consequent[j],st,"Statement"); 8450} 8451} 8452}; 8453_72f.ReturnStatement=function(node,st,c){ 8454if(node.argument){ 8455c(node.argument,st,"Expression"); 8456} 8457}; 8458_72f.ThrowStatement=function(node,st,c){ 8459c(node.argument,st,"Expression"); 8460}; 8461_72f.TryStatement=function(node,st,c){ 8462c(node.block,st,"Statement"); 8463if(node.handler){ 8464c(node.handler.body,st,"ScopeBody"); 8465} 8466if(node.finalizer){ 8467c(node.finalizer,st,"Statement"); 8468} 8469}; 8470_72f.WhileStatement=function(node,st,c){ 8471c(node.test,st,"Expression"); 8472c(node.body,st,"Statement"); 8473}; 8474_72f.DoWhileStatement=function(node,st,c){ 8475c(node.body,st,"Statement"); 8476c(node.test,st,"Expression"); 8477}; 8478_72f.ForStatement=function(node,st,c){ 8479if(node.init){ 8480c(node.init,st,"ForInit"); 8481} 8482if(node.test){ 8483c(node.test,st,"Expression"); 8484} 8485if(node.update){ 8486c(node.update,st,"Expression"); 8487} 8488c(node.body,st,"Statement"); 8489}; 8490_72f.ForInStatement=function(node,st,c){ 8491c(node.left,st,"ForInit"); 8492c(node.right,st,"Expression"); 8493c(node.body,st,"Statement"); 8494}; 8495_72f.ForInit=function(node,st,c){ 8496if(node.type=="VariableDeclaration"){ 8497c(node,st); 8498}else{ 8499c(node,st,"Expression"); 8500} 8501}; 8502_72f.DebuggerStatement=_73b; 8503_72f.FunctionDeclaration=function(node,st,c){ 8504c(node,st,"Function"); 8505}; 8506_72f.VariableDeclaration=function(node,st,c){ 8507for(var i=0;i<node.declarations.length;++i){ 8508var decl=node.declarations[i]; 8509if(decl.init){ 8510c(decl.init,st,"Expression"); 8511} 8512} 8513}; 8514_72f.Function=function(node,st,c){ 8515c(node.body,st,"ScopeBody"); 8516}; 8517_72f.ScopeBody=function(node,st,c){ 8518c(node,st,"Statement"); 8519}; 8520_72f.Expression=_73a; 8521_72f.ThisExpression=_73b; 8522_72f.ArrayExpression=_72f.ArrayLiteral=function(node,st,c){ 8523for(var i=0;i<node.elements.length;++i){ 8524var elt=node.elements[i]; 8525if(elt){ 8526c(elt,st,"Expression"); 8527} 8528} 8529}; 8530_72f.DictionaryLiteral=function(node,st,c){ 8531for(var i=0;i<node.keys.length;i++){ 8532var key=node.keys[i]; 8533c(key,st,"Expression"); 8534var _73c=node.values[i]; 8535c(_73c,st,"Expression"); 8536} 8537}; 8538_72f.ObjectExpression=function(node,st,c){ 8539for(var i=0;i<node.properties.length;++i){ 8540c(node.properties[i].value,st,"Expression"); 8541} 8542}; 8543_72f.FunctionExpression=_72f.FunctionDeclaration; 8544_72f.SequenceExpression=function(node,st,c){ 8545for(var i=0;i<node.expressions.length;++i){ 8546c(node.expressions[i],st,"Expression"); 8547} 8548}; 8549_72f.UnaryExpression=_72f.UpdateExpression=function(node,st,c){ 8550c(node.argument,st,"Expression"); 8551}; 8552_72f.BinaryExpression=_72f.AssignmentExpression=_72f.LogicalExpression=function(node,st,c){ 8553c(node.left,st,"Expression"); 8554c(node.right,st,"Expression"); 8555}; 8556_72f.ConditionalExpression=function(node,st,c){ 8557c(node.test,st,"Expression"); 8558c(node.consequent,st,"Expression"); 8559c(node.alternate,st,"Expression"); 8560}; 8561_72f.NewExpression=_72f.CallExpression=function(node,st,c){ 8562c(node.callee,st,"Expression"); 8563if(node.arguments){ 8564for(var i=0;i<node.arguments.length;++i){ 8565c(node.arguments[i],st,"Expression"); 8566} 8567} 8568}; 8569_72f.MemberExpression=function(node,st,c){ 8570c(node.object,st,"Expression"); 8571if(node.computed){ 8572c(node.property,st,"Expression"); 8573} 8574}; 8575_72f.Identifier=_72f.Literal=_73b; 8576_72f.ClassDeclarationStatement=function(node,st,c){ 8577if(node.ivardeclarations){ 8578for(var i=0;i<node.ivardeclarations.length;++i){ 8579c(node.ivardeclarations[i],st,"IvarDeclaration"); 8580} 8581} 8582for(var i=0;i<node.body.length;++i){ 8583c(node.body[i],st,"Statement"); 8584} 8585}; 8586_72f.ImportStatement=_73b; 8587_72f.IvarDeclaration=_73b; 8588_72f.PreprocessStatement=_73b; 8589_72f.ClassStatement=_73b; 8590_72f.GlobalStatement=_73b; 8591_72f.ProtocolDeclarationStatement=function(node,st,c){ 8592if(node.required){ 8593for(var i=0;i<node.required.length;++i){ 8594c(node.required[i],st,"Statement"); 8595} 8596} 8597if(node.optional){ 8598for(var i=0;i<node.optional.length;++i){ 8599c(node.optional[i],st,"Statement"); 8600} 8601} 8602}; 8603_72f.TypeDefStatement=_73b; 8604_72f.MethodDeclarationStatement=function(node,st,c){ 8605var body=node.body; 8606if(body){ 8607c(body,st,"Statement"); 8608} 8609}; 8610_72f.MessageSendExpression=function(node,st,c){ 8611if(!node.superObject){ 8612c(node.object,st,"Expression"); 8613} 8614if(node.arguments){ 8615for(var i=0;i<node.arguments.length;++i){ 8616c(node.arguments[i],st,"Expression"); 8617} 8618} 8619if(node.parameters){ 8620for(var i=0;i<node.parameters.length;++i){ 8621c(node.parameters[i],st,"Expression"); 8622} 8623} 8624}; 8625_72f.SelectorLiteralExpression=_73b; 8626_72f.ProtocolLiteralExpression=_73b; 8627_72f.Reference=function(node,st,c){ 8628c(node.element,st,"Identifier"); 8629}; 8630_72f.Dereference=function(node,st,c){ 8631c(node.expr,st,"Expression"); 8632}; 8633function _73d(prev){ 8634return {vars:Object.create(null),prev:prev}; 8635}; 8636_72f.scopeVisitor=_72f.make({Function:function(node,_73e,c){ 8637var _73f=_73d(_73e); 8638for(var i=0;i<node.params.length;++i){
8639_73f.vars[node.params[i].name]={type:"argument",node:node.params[i]}; 8640} 8641if(node.id){ 8642var decl=node.type=="FunctionDeclaration"; 8643(decl?_73e:_73f).vars[node.id.name]={type:decl?"function":"function name",node:node.id}; 8644} 8645c(node.body,_73f,"ScopeBody"); 8646},TryStatement:function(node,_740,c){ 8647c(node.block,_740,"Statement"); 8648if(node.handler){ 8649var _741=_73d(_740); 8650_741.vars[node.handler.param.name]={type:"catch clause",node:node.handler.param}; 8651c(node.handler.body,_741,"ScopeBody"); 8652} 8653if(node.finalizer){ 8654c(node.finalizer,_740,"Statement"); 8655} 8656},VariableDeclaration:function(node,_742,c){ 8657for(var i=0;i<node.declarations.length;++i){ 8658var decl=node.declarations[i]; 8659_742.vars[decl.id.name]={type:"var",node:decl.id}; 8660if(decl.init){ 8661c(decl.init,_742,"Expression"); 8662} 8663} 8664}}); 8665})(typeof _2=="undefined"?acorn.walk={}:_2.acorn.walk); 8666(function(mod){ 8667mod(_2.ObjJCompiler||(_2.ObjJCompiler={}),_2.acorn||acorn,(_2.acorn||acorn).walk,typeof _2.sourceMap!="undefined"?_2.sourceMap:typeof module!="undefined"&&typeof module.exports==="object"?module.exports:null); 8668})(function(_743,_744,walk,_745){ 8669"use strict"; 8670_743.version="0.3.7"; 8671var _746=function(prev,base){ 8672this.vars=Object.create(null); 8673if(base){ 8674for(var key in base){ 8675this[key]=base[key]; 8676} 8677} 8678this.prev=prev; 8679if(prev){ 8680this.compiler=prev.compiler; 8681this.nodeStack=prev.nodeStack.slice(0); 8682this.nodePriorStack=prev.nodePriorStack.slice(0); 8683this.nodeStackOverrideType=prev.nodeStackOverrideType.slice(0); 8684}else{ 8685this.nodeStack=[]; 8686this.nodePriorStack=[]; 8687this.nodeStackOverrideType=[]; 8688} 8689}; 8690_746.prototype.toString=function(){ 8691return this.ivars?"ivars: "+JSON.stringify(this.ivars):"<No ivars>"; 8692}; 8693_746.prototype.compiler=function(){ 8694return this.compiler; 8695}; 8696_746.prototype.rootScope=function(){ 8697return this.prev?this.prev.rootScope():this; 8698}; 8699_746.prototype.isRootScope=function(){ 8700return !this.prev; 8701}; 8702_746.prototype.currentClassName=function(){ 8703return this.classDef?this.classDef.name:this.prev?this.prev.currentClassName():null; 8704}; 8705_746.prototype.currentProtocolName=function(){ 8706return this.protocolDef?this.protocolDef.name:this.prev?this.prev.currentProtocolName():null; 8707}; 8708_746.prototype.getIvarForCurrentClass=function(_747){ 8709if(this.ivars){ 8710var ivar=this.ivars[_747]; 8711if(ivar){ 8712return ivar; 8713} 8714} 8715var prev=this.prev; 8716if(prev&&!this.classDef){ 8717return prev.getIvarForCurrentClass(_747); 8718} 8719return null; 8720}; 8721_746.prototype.getLvar=function(_748,_749){ 8722if(this.vars){ 8723var lvar=this.vars[_748]; 8724if(lvar){ 8725return lvar; 8726} 8727} 8728var prev=this.prev; 8729if(prev&&(!_749||!this.methodType)){ 8730return prev.getLvar(_748,_749); 8731} 8732return null; 8733}; 8734_746.prototype.currentMethodType=function(){ 8735return this.methodType?this.methodType:this.prev?this.prev.currentMethodType():null; 8736}; 8737_746.prototype.copyAddedSelfToIvarsToParent=function(){ 8738if(this.prev&&this.addedSelfToIvars){ 8739for(var key in this.addedSelfToIvars){ 8740var _74a=this.addedSelfToIvars[key],_74b=(this.prev.addedSelfToIvars||(this.prev.addedSelfToIvars=Object.create(null)))[key]||(this.prev.addedSelfToIvars[key]=[]); 8741_74b.push.apply(_74b,_74a); 8742} 8743} 8744}; 8745_746.prototype.addMaybeWarning=function(_74c){ 8746var _74d=this.rootScope(),_74e=_74d._maybeWarnings; 8747if(!_74e){ 8748_74d._maybeWarnings=_74e=[_74c]; 8749}else{ 8750var _74f=_74e[_74e.length-1]; 8751if(!_74f.isEqualTo(_74c)){ 8752_74e.push(_74c); 8753} 8754} 8755}; 8756_746.prototype.maybeWarnings=function(){ 8757return (this.rootScope())._maybeWarnings; 8758}; 8759_746.prototype.pushNode=function(node,_750){ 8760var _751=this.nodePriorStack,_752=_751.length,_753=_752?_751[_752-1]:null,_754=_752?this.nodeStack[_752-1]:null; 8761if(_753){ 8762if(_754!==node){ 8763_753.push(node); 8764} 8765} 8766_751.push(_754===node?_753:[]); 8767this.nodeStack.push(node); 8768this.nodeStackOverrideType.push(_750); 8769}; 8770_746.prototype.popNode=function(){ 8771this.nodeStackOverrideType.pop(); 8772this.nodePriorStack.pop(); 8773return this.nodeStack.pop(); 8774}; 8775_746.prototype.currentNode=function(){ 8776var _755=this.nodeStack; 8777return _755[_755.length-1]; 8778}; 8779_746.prototype.currentOverrideType=function(){ 8780var _756=this.nodeStackOverrideType; 8781return _756[_756.length-1]; 8782}; 8783_746.prototype.priorNode=function(){ 8784var _757=this.nodePriorStack,_758=_757.length; 8785if(_758>1){ 8786var _759=_757[_758-2],l=_759.length; 8787return _759[l-2]||null; 8788} 8789return null; 8790}; 8791_746.prototype.formatDescription=function(_75a,_75b,_75c){ 8792var _75d=this.nodeStack,_75e=_75d.length; 8793_75a=_75a||0; 8794if(_75a>=_75e){ 8795return null; 8796} 8797var i=_75e-_75a-1; 8798var _75f=_75d[i]; 8799var _760=_75b||this.compiler.formatDescription; 8800var _761=_75b?_75b.parent:_760; 8801var _762; 8802if(_761){ 8803var _763=_75c===_75f?this.nodeStackOverrideType[i]:_75f.type; 8804_762=_761[_763]; 8805if(_75c===_75f&&!_762){ 8806return null; 8807} 8808} 8809if(_762){ 8810return this.formatDescription(_75a+1,_762); 8811}else{ 8812_762=this.formatDescription(_75a+1,_75b,_75f); 8813if(_762){ 8814return _762; 8815}else{ 8816var _764=_760.prior; 8817if(_764){ 8818var _765=this.priorNode(),_766=_764[_765?_765.type:"None"]; 8819if(_766){ 8820return _766; 8821} 8822} 8823return _760; 8824} 8825} 8826}; 8827var _767=function(_768,node,code){ 8828this.message=_769(_768,node,code); 8829this.node=node; 8830}; 8831_767.prototype.checkIfWarning=function(st){ 8832var _76a=this.node.name; 8833return !st.getLvar(_76a)&&typeof _1[_76a]==="undefined"&&(typeof window==="undefined"||typeof window[_76a]==="undefined")&&!st.compiler.getClassDef(_76a); 8834}; 8835_767.prototype.isEqualTo=function(_76b){ 8836if(this.message.message!==_76b.message.message){ 8837return false;
8838} 8839if(this.node.start!==_76b.node.start){ 8840return false; 8841} 8842if(this.node.end!==_76b.node.end){ 8843return false; 8844} 8845return true; 8846}; 8847function _2f7(_76c,file,_76d){ 8848if(_76c){ 8849this.rootNode=new _745.SourceNode(); 8850this.concat=this.concatSourceNode; 8851this.toString=this.toStringSourceNode; 8852this.isEmpty=this.isEmptySourceNode; 8853this.appendStringBuffer=this.appendStringBufferSourceNode; 8854this.length=this.lengthSourceNode; 8855if(file){ 8856var _76e=file.toString(),_76f=_76e.substr(_76e.lastIndexOf("/")+1),_770=_76e.substr(0,_76e.lastIndexOf("/")+1); 8857this.filename=_76f; 8858if(_770.length>0){ 8859this.sourceRoot=_770; 8860} 8861if(_76d!=null){ 8862this.rootNode.setSourceContent(_76f,_76d); 8863} 8864} 8865if(_76d!=null){ 8866this.sourceContent=_76d; 8867} 8868}else{ 8869this.atoms=[]; 8870this.concat=this.concatString; 8871this.toString=this.toStringString; 8872this.isEmpty=this.isEmptyString; 8873this.appendStringBuffer=this.appendStringBufferString; 8874this.length=this.lengthString; 8875} 8876}; 8877_2f7.prototype.toStringString=function(){ 8878return this.atoms.join(""); 8879}; 8880_2f7.prototype.toStringSourceNode=function(){ 8881return this.rootNode.toStringWithSourceMap({file:this.filename+"s",sourceRoot:this.sourceRoot}); 8882}; 8883_2f7.prototype.concatString=function(_771){ 8884this.atoms.push(_771); 8885}; 8886_2f7.prototype.concatSourceNode=function(_772,node,_773){ 8887if(node){ 8888this.rootNode.add(new _745.SourceNode(node.loc.start.line,node.loc.start.column,node.loc.source,_772,_773)); 8889}else{ 8890this.rootNode.add(_772); 8891} 8892if(!this.notEmpty){ 8893this.notEmpty=true; 8894} 8895}; 8896_2f7.prototype.concatFormat=function(_774){ 8897if(!_774){ 8898return; 8899} 8900var _775=_774.split("\n"),size=_775.length; 8901if(size>1){ 8902this.concat(_775[0]); 8903for(var i=1;i<size;i++){ 8904var line=_775[i]; 8905this.concat("\n"); 8906if(line.slice(0,1)==="\\"){ 8907var _776=1; 8908var _777=line.slice(1,1+_776); 8909if(_777==="-"){ 8910_776=2; 8911_777=line.slice(1,1+_776); 8912} 8913var _778=parseInt(_777); 8914if(_778){ 8915this.concat(_778>0?_779+(Array(_778*_77a+1)).join(_77b):_779.substring(_77c*-_778)); 8916} 8917line=line.slice(1+_776); 8918}else{ 8919if(line||i===size-1){ 8920this.concat(_779); 8921} 8922} 8923if(line){ 8924this.concat(line); 8925} 8926} 8927}else{ 8928this.concat(_774); 8929} 8930}; 8931_2f7.prototype.isEmptyString=function(){ 8932return this.atoms.length!==0; 8933}; 8934_2f7.prototype.isEmptySourceNode=function(){ 8935return this.notEmpty; 8936}; 8937_2f7.prototype.appendStringBufferString=function(_77d){ 8938this.atoms.push.apply(this.atoms,_77d.atoms); 8939}; 8940_2f7.prototype.appendStringBufferSourceNode=function(_77e){ 8941this.rootNode.add(_77e.rootNode); 8942}; 8943_2f7.prototype.lengthString=function(){ 8944return this.atoms.length; 8945}; 8946_2f7.prototype.lengthSourceNode=function(){ 8947return this.rootNode.children.length; 8948}; 8949var _77f=function(_780,name,_781,_782,_783,_784,_785){ 8950this.name=name; 8951if(_781){ 8952this.superClass=_781; 8953} 8954if(_782){ 8955this.ivars=_782; 8956} 8957if(_780){ 8958this.instanceMethods=_783||Object.create(null); 8959this.classMethods=_784||Object.create(null); 8960} 8961if(_785){ 8962this.protocols=_785; 8963} 8964}; 8965_77f.prototype.addInstanceMethod=function(_786){ 8966this.instanceMethods[_786.name]=_786; 8967}; 8968_77f.prototype.addClassMethod=function(_787){ 8969this.classMethods[_787.name]=_787; 8970}; 8971_77f.prototype.listOfNotImplementedMethodsForProtocols=function(_788){ 8972var _789=[],_78a=this.getInstanceMethods(),_78b=this.getClassMethods(); 8973for(var i=0,size=_788.length;i<size;i++){ 8974var _78c=_788[i],_78d=_78c.requiredInstanceMethods,_78e=_78c.requiredClassMethods,_78f=_78c.protocols; 8975if(_78d){ 8976for(var _790 in _78d){ 8977var _791=_78d[_790]; 8978if(!_78a[_790]){ 8979_789.push({"methodDef":_791,"protocolDef":_78c}); 8980} 8981} 8982} 8983if(_78e){ 8984for(var _790 in _78e){ 8985var _791=_78e[_790]; 8986if(!_78b[_790]){ 8987_789.push({"methodDef":_791,"protocolDef":_78c}); 8988} 8989} 8990} 8991if(_78f){ 8992_789=_789.concat(this.listOfNotImplementedMethodsForProtocols(_78f)); 8993} 8994} 8995return _789; 8996}; 8997_77f.prototype.getInstanceMethod=function(name){ 8998var _792=this.instanceMethods; 8999if(_792){ 9000var _793=_792[name]; 9001if(_793){ 9002return _793; 9003} 9004} 9005var _794=this.superClass; 9006if(_794){ 9007return _794.getInstanceMethod(name); 9008} 9009return null; 9010}; 9011_77f.prototype.getClassMethod=function(name){ 9012var _795=this.classMethods; 9013if(_795){ 9014var _796=_795[name]; 9015if(_796){ 9016return _796; 9017} 9018} 9019var _797=this.superClass; 9020if(_797){ 9021return _797.getClassMethod(name); 9022} 9023return null; 9024}; 9025_77f.prototype.getInstanceMethods=function(){ 9026var _798=this.instanceMethods; 9027if(_798){ 9028var _799=this.superClass,_79a=Object.create(null); 9029if(_799){ 9030var _79b=_799.getInstanceMethods(); 9031for(var _79c in _79b){ 9032_79a[_79c]=_79b[_79c]; 9033} 9034} 9035for(var _79c in _798){ 9036_79a[_79c]=_798[_79c]; 9037} 9038return _79a; 9039} 9040return []; 9041}; 9042_77f.prototype.getClassMethods=function(){ 9043var _79d=this.classMethods; 9044if(_79d){ 9045var _79e=this.superClass,_79f=Object.create(null); 9046if(_79e){ 9047var _7a0=_79e.getClassMethods(); 9048for(var _7a1 in _7a0){ 9049_79f[_7a1]=_7a0[_7a1]; 9050} 9051} 9052for(var _7a1 in _79d){ 9053_79f[_7a1]=_79d[_7a1]; 9054} 9055return _79f; 9056} 9057return []; 9058}; 9059var _7a2=function(name,_7a3,_7a4,_7a5){ 9060this.name=name; 9061this.protocols=_7a3; 9062if(_7a4){ 9063this.requiredInstanceMethods=_7a4; 9064} 9065if(_7a5){ 9066this.requiredClassMethods=_7a5; 9067} 9068}; 9069_7a2.prototype.addInstanceMethod=function(_7a6){ 9070(this.requiredInstanceMethods||(this.requiredInstanceMethods=Object.create(null)))[_7a6.name]=_7a6; 9071}; 9072_7a2.prototype.addClassMethod=function(_7a7){ 9073(this.requiredClassMethods||(this.requiredClassMethods=Object.create(null)))[_7a7.name]=_7a7; 9074}; 9075_7a2.prototype.getInstanceMethod=function(name){ 9076var _7a8=this.requiredInstanceMethods; 9077if(_7a8){ 9078var _7a9=_7a8[name]; 9079if(_7a9){ 9080return _7a9; 9081} 9082} 9083var _7aa=this.protocols; 9084for(var i=0,size=_7aa.length;i<size;i++){ 9085var _7ab=_7aa[i],_7a9=_7ab.getInstanceMethod(name); 9086if(_7a9){ 9087return _7a9; 9088} 9089} 9090return null; 9091}; 9092_7a2.prototype.getClassMethod=function(name){ 9093var _7ac=this.requiredClassMethods; 9094if(_7ac){ 9095var _7ad=_7ac[name]; 9096if(_7ad){ 9097return _7ad; 9098} 9099} 9100var _7ae=this.protocols; 9101for(var i=0,size=_7ae.length;i<size;i++){ 9102var _7af=_7ae[i],_7ad=_7af.getClassMethod(name); 9103if(_7ad){ 9104return _7ad; 9105} 9106} 9107return null; 9108}; 9109var _7b0=function(name){ 9110this.name=name; 9111}; 9112var _7b1=function(name,_7b2){ 9113this.name=name;
9114this.types=_7b2; 9115}; 9116var _7b3=_744.makePredicate("self _cmd undefined localStorage arguments"); 9117var _7b4=_744.makePredicate("delete in instanceof new typeof void"); 9118var _7b5=_744.makePredicate("LogicalExpression BinaryExpression"); 9119var _7b6=_744.makePredicate("in instanceof"); 9120var _7b7={acornOptions:function(){ 9121return Object.create(null); 9122},sourceMap:false,sourceMapIncludeSource:false,pass:2,classDefs:function(){ 9123return Object.create(null); 9124},protocolDefs:function(){ 9125return Object.create(null); 9126},typeDefs:function(){ 9127return Object.create(null); 9128},generate:true,generateObjJ:false,formatDescription:null,indentationSpaces:4,indentationType:" ",includeComments:false,transformNamedFunctionDeclarationToAssignment:false,includeMethodFunctionNames:true,includeMethodArgumentTypeSignatures:true,includeIvarTypeSignatures:true,inlineMsgSendFunctions:true,macros:null}; 9129function _7b8(opts){ 9130var _7b9=Object.create(null); 9131for(var opt in _7b7){ 9132if(opts&&Object.prototype.hasOwnProperty.call(opts,opt)){ 9133var _7ba=opts[opt]; 9134_7b9[opt]=typeof _7ba==="function"?_7ba():_7ba; 9135}else{ 9136if(_7b7.hasOwnProperty(opt)){ 9137var _7bb=_7b7[opt]; 9138_7b9[opt]=typeof _7bb==="function"?_7bb():_7bb; 9139} 9140} 9141} 9142return _7b9; 9143}; 9144var _7bc=function(_7bd,aURL,_7be){ 9145this.source=_7bd; 9146this.URL=aURL&&aURL.toString(); 9147_7be=_7b8(_7be); 9148this.options=_7be; 9149this.pass=_7be.pass; 9150this.classDefs=_7be.classDefs; 9151this.protocolDefs=_7be.protocolDefs; 9152this.typeDefs=_7be.typeDefs; 9153this.generate=_7be.generate; 9154this.createSourceMap=_7be.sourceMap; 9155this.formatDescription=_7be.formatDescription; 9156this.includeComments=_7be.includeComments; 9157this.transformNamedFunctionDeclarationToAssignment=_7be.transformNamedFunctionDeclarationToAssignment; 9158this.jsBuffer=new _2f7(this.createSourceMap,aURL,_7be.sourceMap&&_7be.sourceMapIncludeSource?this.source:null); 9159this.imBuffer=null; 9160this.cmBuffer=null; 9161this.dependencies=[]; 9162this.warningsAndErrors=[]; 9163this.lastPos=0; 9164var _7bf=_7be.acornOptions; 9165if(_7bf){ 9166if(this.URL){ 9167_7bf.sourceFile=this.URL.substr(this.URL.lastIndexOf("/")+1); 9168} 9169if(_7be.sourceMap&&!_7bf.locations){ 9170_7bf.locations=true; 9171} 9172}else{ 9173_7bf=_7be.acornOptions=this.URL&&{sourceFile:this.URL.substr(this.URL.lastIndexOf("/")+1)}; 9174if(_7be.sourceMap){ 9175_7bf.locations=true; 9176} 9177} 9178if(_7be.macros){ 9179if(_7bf.macros){ 9180_7bf.macros.concat(_7be.macros); 9181}else{ 9182_7bf.macros=_7be.macros; 9183} 9184} 9185try{ 9186this.tokens=_744.parse(_7bd,_7be.acornOptions); 9187(this.pass===2&&(_7be.includeComments||_7be.formatDescription)?_7c0:_7c1)(this.tokens,new _746(null,{compiler:this}),this.pass===2?_7c2:_7c3); 9188} 9189catch(e){ 9190if(e.lineStart!=null){ 9191e.messageForLine=_7bd.substring(e.lineStart,e.lineEnd); 9192} 9193this.addWarning(e); 9194return; 9195} 9196this.setCompiledCode(this.jsBuffer); 9197}; 9198_7bc.prototype.setCompiledCode=function(_7c4){ 9199if(this.createSourceMap){ 9200var s=_7c4.toString(); 9201this.compiledCode=s.code; 9202this.sourceMap=s.map; 9203}else{ 9204this.compiledCode=_7c4.toString(); 9205} 9206}; 9207_743.compileToExecutable=function(_7c5,aURL,_7c6){ 9208_743.currentCompileFile=aURL; 9209return (new _7bc(_7c5,aURL,_7c6)).executable(); 9210}; 9211_743.compileToIMBuffer=function(_7c7,aURL,_7c8){ 9212return (new _7bc(_7c7,aURL,_7c8)).IMBuffer(); 9213}; 9214_743.compile=function(_7c9,aURL,_7ca){ 9215return new _7bc(_7c9,aURL,_7ca); 9216}; 9217_743.compileFileDependencies=function(_7cb,aURL,_7cc){ 9218_743.currentCompileFile=aURL; 9219(_7cc||(_7cc={})).pass=1; 9220return new _7bc(_7cb,aURL,_7cc); 9221}; 9222_743.numberOfLinesAtTopOfFunction=function(){ 9223var f=new Function("x","return x;"); 9224var _7cd=f.toString(); 9225var _7ce=_7cd.indexOf("return x;"); 9226var _7cf=_7cd.substring(0,_7ce); 9227var _7d0=(_7cf.match(/\n/g)||[]).length; 9228_7bc.numberOfLinesAtTopOfFunction=function(){ 9229return _7d0; 9230}; 9231return _7d0; 9232}; 9233_7bc.prototype.compilePass2=function(){ 9234var _7d1=this.options; 9235_743.currentCompileFile=this.URL; 9236this.pass=_7d1.pass=2; 9237this.jsBuffer=new _2f7(this.createSourceMap,this.URL,_7d1.sourceMap&&_7d1.sourceMapIncludeSource?this.source:null); 9238if(this.createSourceMap){ 9239this.jsBuffer.concat("\n\n"); 9240} 9241this.warningsAndErrors=[]; 9242try{ 9243_7c1(this.tokens,new _746(null,{compiler:this}),_7c2); 9244} 9245catch(e){ 9246this.addWarning(e); 9247return null; 9248} 9249this.setCompiledCode(this.jsBuffer); 9250return this.compiledCode; 9251}; 9252_7bc.prototype.addWarning=function(_7d2){ 9253if(_7d2.path==null){ 9254_7d2.path=this.URL; 9255} 9256this.warningsAndErrors.push(_7d2); 9257}; 9258_7bc.prototype.getIvarForClass=function(_7d3,_7d4){ 9259var ivar=_7d4.getIvarForCurrentClass(_7d3); 9260if(ivar){ 9261return ivar; 9262} 9263var c=this.getClassDef(_7d4.currentClassName()); 9264while(c){ 9265var _7d5=c.ivars; 9266if(_7d5){ 9267var _7d6=_7d5[_7d3]; 9268if(_7d6){ 9269return _7d6; 9270} 9271} 9272c=c.superClass; 9273} 9274}; 9275_7bc.prototype.getClassDef=function(_7d7){ 9276if(!_7d7){ 9277return null; 9278} 9279var c=this.classDefs[_7d7]; 9280if(c){ 9281return c; 9282} 9283if(typeof objj_getClass==="function"){ 9284var _7d8=objj_getClass(_7d7); 9285if(_7d8){ 9286var _7d9=class_copyIvarList(_7d8),_7da=_7d9.length,_7db=Object.create(null),_7dc=class_copyProtocolList(_7d8),_7dd=_7dc.length,_7de=Object.create(null),_7df=_7bc.methodDefsFromMethodList(class_copyMethodList(_7d8)),_7e0=_7bc.methodDefsFromMethodList(class_copyMethodList(_7d8.isa)),_7e1=class_getSuperclass(_7d8); 9287for(var i=0;i<_7da;i++){ 9288var ivar=_7d9[i]; 9289_7db[ivar.name]={"type":ivar.type,"name":ivar.name}; 9290} 9291for(var i=0;i<_7dd;i++){ 9292var _7e2=_7dc[i],_7e3=protocol_getName(_7e2),_7e4=this.getProtocolDef(_7e3); 9293_7de[_7e3]=_7e4; 9294}
9295c=new _77f(true,_7d7,_7e1?this.getClassDef(_7e1.name):null,_7db,_7df,_7e0,_7de); 9296this.classDefs[_7d7]=c; 9297return c; 9298} 9299} 9300return null; 9301}; 9302_7bc.prototype.getProtocolDef=function(_7e5){ 9303if(!_7e5){ 9304return null; 9305} 9306var p=this.protocolDefs[_7e5]; 9307if(p){ 9308return p; 9309} 9310if(typeof objj_getProtocol==="function"){ 9311var _7e6=objj_getProtocol(_7e5); 9312if(_7e6){ 9313var _7e7=protocol_getName(_7e6),_7e8=protocol_copyMethodDescriptionList(_7e6,true,true),_7e9=_7bc.methodDefsFromMethodList(_7e8),_7ea=protocol_copyMethodDescriptionList(_7e6,true,false),_7eb=_7bc.methodDefsFromMethodList(_7ea),_7ec=_7e6.protocols,_7ed=[]; 9314if(_7ec){ 9315for(var i=0,size=_7ec.length;i<size;i++){ 9316_7ed.push(compiler.getProtocolDef(_7ec[i].name)); 9317} 9318} 9319p=new _7a2(_7e7,_7ed,_7e9,_7eb); 9320this.protocolDefs[_7e5]=p; 9321return p; 9322} 9323} 9324return null; 9325}; 9326_7bc.prototype.getTypeDef=function(_7ee){ 9327if(!_7ee){ 9328return null; 9329} 9330var t=this.typeDefs[_7ee]; 9331if(t){ 9332return t; 9333} 9334if(typeof objj_getTypeDef==="function"){ 9335var _7ef=objj_getTypeDef(_7ee); 9336if(_7ef){ 9337var _7f0=typeDef_getName(_7ef); 9338t=new _7b0(_7f0); 9339this.typeDefs[_7f0]=t; 9340return t; 9341} 9342} 9343return null; 9344}; 9345_743.parseGccCompilerFlags=function(_7f1){ 9346var args=(_7f1||"").split(" "),_7f2=args.length,_7f3={}; 9347for(var _7f4=0;_7f4<_7f2;++_7f4){ 9348var _7f5=args[_7f4]; 9349if(_7f5.indexOf("-g")===0){ 9350_7f3.includeMethodFunctionNames=true; 9351}else{ 9352if(_7f5.indexOf("-O")===0){ 9353_7f3.compress=true; 9354if(_7f5.length>2){ 9355_7f3.inlineMsgSendFunctions=true; 9356} 9357}else{ 9358if(_7f5.indexOf("-T")===0){ 9359_7f3.includeIvarTypeSignatures=false; 9360_7f3.includeMethodArgumentTypeSignatures=false; 9361}else{ 9362if(_7f5.indexOf("-S")===0){ 9363_7f3.sourceMap=true; 9364_7f3.sourceMapIncludeSource=true; 9365}else{ 9366if(_7f5.indexOf("--include")===0){ 9367var _7f6=args[++_7f4],_7f7=_7f6&&_7f6.charCodeAt(0); 9368if(_7f7===34||_7f7===39){ 9369_7f6=_7f6.substring(1,_7f6.length-1); 9370} 9371(_7f3.includeFiles||(_7f3.includeFiles=[])).push(_7f6); 9372}else{ 9373if(_7f5.indexOf("--inline-msg-send")===0){ 9374_7f3.inlineMsgSendFunctions=true; 9375}else{ 9376if(_7f5.indexOf("-D")===0){ 9377var _7f8=_7f5.substring(2); 9378(_7f3.macros||(_7f3.macros=[])).push(_7f8); 9379} 9380} 9381} 9382} 9383} 9384} 9385} 9386} 9387return _7f3; 9388}; 9389_7bc.methodDefsFromMethodList=function(_7f9){ 9390var _7fa=_7f9.length,_7fb=Object.create(null); 9391for(var i=0;i<_7fa;i++){ 9392var _7fc=_7f9[i],_7fd=method_getName(_7fc); 9393_7fb[_7fd]=new _7b1(_7fd,_7fc.types); 9394} 9395return _7fb; 9396}; 9397_7bc.prototype.executable=function(){ 9398if(!this._executable){ 9399this._executable=new _306(this.jsBuffer?this.jsBuffer.toString():null,this.dependencies,this.URL,null,this); 9400} 9401return this._executable; 9402}; 9403_7bc.prototype.IMBuffer=function(){ 9404return this.imBuffer; 9405}; 9406_7bc.prototype.code=function(){ 9407return this.compiledCode; 9408}; 9409_7bc.prototype.ast=function(){ 9410return JSON.stringify(this.tokens,null,_77a); 9411}; 9412_7bc.prototype.map=function(){ 9413return JSON.stringify(this.sourceMap); 9414}; 9415_7bc.prototype.prettifyMessage=function(_7fe){ 9416var line=_7fe.messageForLine,_7ff="\n"+(line||""); 9417_7ff+=(new Array((_7fe.messageOnColumn||0)+1)).join(" "); 9418if(line){ 9419_7ff+=(new Array(Math.min(1,line.length||1)+1)).join("^")+"\n"; 9420} 9421_7ff+=_7fe.messageType+" line "+_7fe.messageOnLine+" in "+this.URL+": "+_7fe.message; 9422return _7ff; 9423}; 9424_7bc.prototype.error_message=function(_800,node){ 9425var pos=_744.getLineInfo(this.source,node.start),_801=new SyntaxError(_800); 9426_801.messageOnLine=pos.line; 9427_801.messageOnColumn=pos.column; 9428_801.path=this.URL; 9429_801.messageForNode=node; 9430_801.messageType="ERROR"; 9431_801.messageForLine=this.source.substring(pos.lineStart,pos.lineEnd); 9432return _801; 9433}; 9434_7bc.prototype.pushImport=function(url){ 9435if(!_7bc.importStack){ 9436_7bc.importStack=[]; 9437} 9438_7bc.importStack.push(url); 9439}; 9440_7bc.prototype.popImport=function(){ 9441_7bc.importStack.pop(); 9442}; 9443function _769(_802,node,code){ 9444var _803=_744.getLineInfo(code,node.start); 9445_803.message=_802; 9446_803.messageOnLine=_803.line; 9447_803.messageOnColumn=_803.column; 9448_803.messageForNode=node; 9449_803.messageType="WARNING"; 9450_803.messageForLine=code.substring(_803.lineStart,_803.lineEnd); 9451return _803; 9452}; 9453function _7c1(node,_804,_805){ 9454function c(node,st,_806){ 9455_805[_806||node.type](node,st,c); 9456}; 9457c(node,_804); 9458}; 9459function _7c0(node,_807,_808){ 9460var _809,_80a; 9461function c(node,st,_80b){ 9462var _80c=st.compiler,_80d=_80c.includeComments,_80e=st.currentNode(),_80f=_809,_810=_80f===node; 9463_809=node; 9464if(_80d&&!_810&&node.commentsBefore&&node.commentsBefore!==_80a){ 9465for(var i=0;i<node.commentsBefore.length;i++){ 9466_80c.jsBuffer.concat(node.commentsBefore[i]); 9467} 9468} 9469st.pushNode(node,_80b); 9470var _811=st.formatDescription(); 9471if(!_810&&_811&&_811.before){ 9472_80c.jsBuffer.concatFormat(_811.before); 9473}
9474_808[_80b||node.type](node,st,c,_811); 9475if(!_810&&_811&&_811.after){ 9476_80c.jsBuffer.concatFormat(_811.after); 9477} 9478st.popNode(); 9479if(_80d&&!_810&&node.commentsAfter){ 9480for(var i=0;i<node.commentsAfter.length;i++){ 9481_80c.jsBuffer.concat(node.commentsAfter[i]); 9482} 9483_80a=node.commentsAfter; 9484}else{ 9485_80a=null; 9486} 9487}; 9488c(node,_807); 9489}; 9490function _812(node){ 9491switch(node.type){ 9492case "Literal": 9493case "Identifier": 9494return true; 9495case "ArrayExpression": 9496for(var i=0;i<node.elements.length;++i){ 9497if(!_812(node.elements[i])){ 9498return false; 9499} 9500} 9501return true; 9502case "DictionaryLiteral": 9503for(var i=0;i<node.keys.length;++i){ 9504if(!_812(node.keys[i])){ 9505return false; 9506} 9507if(!_812(node.values[i])){ 9508return false; 9509} 9510} 9511return true; 9512case "ObjectExpression": 9513for(var i=0;i<node.properties.length;++i){ 9514if(!_812(node.properties[i].value)){ 9515return false; 9516} 9517} 9518return true; 9519case "FunctionExpression": 9520for(var i=0;i<node.params.length;++i){ 9521if(!_812(node.params[i])){ 9522return false; 9523} 9524} 9525return true; 9526case "SequenceExpression": 9527for(var i=0;i<node.expressions.length;++i){ 9528if(!_812(node.expressions[i])){ 9529return false; 9530} 9531} 9532return true; 9533case "UnaryExpression": 9534return _812(node.argument); 9535case "BinaryExpression": 9536return _812(node.left)&&_812(node.right); 9537case "ConditionalExpression": 9538return _812(node.test)&&_812(node.consequent)&&_812(node.alternate); 9539case "MemberExpression": 9540return _812(node.object)&&(!node.computed||_812(node.property)); 9541case "Dereference": 9542return _812(node.expr); 9543case "Reference": 9544return _812(node.element); 9545default: 9546return false; 9547} 9548}; 9549function _813(st,node){ 9550if(!_812(node)){ 9551throw st.compiler.error_message("Dereference of expression with side effects",node); 9552} 9553}; 9554function _814(c){ 9555return function(node,st,_815,_816){ 9556st.compiler.jsBuffer.concat("("); 9557c(node,st,_815,_816); 9558st.compiler.jsBuffer.concat(")"); 9559}; 9560}; 9561var _817={"*":3,"/":3,"%":3,"+":4,"-":4,"<<":5,">>":5,">>>":5,"<":6,"<=":6,">":6,">=":6,"in":6,"instanceof":6,"==":7,"!=":7,"===":7,"!==":7,"&":8,"^":9,"|":10,"&&":11,"||":12}; 9562var _818={MemberExpression:0,CallExpression:1,NewExpression:2,FunctionExpression:3,UnaryExpression:4,UpdateExpression:4,BinaryExpression:5,LogicalExpression:6,ConditionalExpression:7,AssignmentExpression:8}; 9563function _819(node,_81a,_81b){ 9564var _81c=node.type,_819=_818[_81c]||-1,_81d=_818[_81a.type]||-1,_81e,_81f; 9565return _819<_81d||_819===_81d&&_7b5(_81c)&&((_81e=_817[node.operator])<(_81f=_817[_81a.operator])||_81b&&_81e===_81f); 9566}; 9567var _7c3=walk.make({ImportStatement:function(node,st,c){ 9568var _820=node.filename.value; 9569st.compiler.dependencies.push({url:_820,isLocal:node.localfilepath}); 9570}}); 9571var _77b=" "; 9572var _77a=4; 9573var _77c=_77a*_77b.length; 9574var _821=(Array(_77a+1)).join(_77b); 9575var _779=""; 9576var _7c2=walk.make({Program:function(node,st,c){ 9577var _822=st.compiler,_823=_822.generate; 9578_77b=_822.options.indentationType; 9579_77a=_822.options.indentationSpaces; 9580_77c=_77a*_77b.length; 9581_821=(Array(_77a+1)).join(_77b); 9582_779=""; 9583for(var i=0;i<node.body.length;++i){ 9584c(node.body[i],st,"Statement"); 9585} 9586if(!_823){ 9587_822.jsBuffer.concat(_822.source.substring(_822.lastPos,node.end)); 9588} 9589var _824=st.maybeWarnings(); 9590if(_824){ 9591for(var i=0;i<_824.length;i++){ 9592var _825=_824[i]; 9593if(_825.checkIfWarning(st)){ 9594_822.addWarning(_825.message); 9595} 9596} 9597} 9598},BlockStatement:function(node,st,c,_826){ 9599var _827=st.compiler,_828=_827.generate,_829=st.endOfScopeBody,_82a; 9600if(_829){ 9601delete st.endOfScopeBody; 9602} 9603if(_828){ 9604var _82b=st.skipIndentation; 9605_82a=_827.jsBuffer; 9606if(_826){ 9607_82a.concat("{",node); 9608_82a.concatFormat(_826.afterLeftBrace); 9609}else{ 9610if(_82b){ 9611delete st.skipIndentation; 9612}else{ 9613_82a.concat(_779.substring(_77c)); 9614} 9615_82a.concat("{\n",node); 9616} 9617} 9618for(var i=0;i<node.body.length;++i){ 9619c(node.body[i],st,"Statement"); 9620} 9621if(_828){ 9622var _82c=st.maxReceiverLevel; 9623if(_829&&_82c){ 9624_82a.concat(_779); 9625_82a.concat("var "); 9626for(var i=0;i<_82c;i++){ 9627if(i){ 9628_82a.concat(", "); 9629} 9630_82a.concat("___r"); 9631_82a.concat(i+1+""); 9632} 9633_82a.concat(";\n"); 9634} 9635if(_826){ 9636_82a.concatFormat(_826.beforeRightBrace); 9637_82a.concat("}",node); 9638}else{ 9639_82a.concat(_779.substring(_77c)); 9640_82a.concat("}",node); 9641if(!_82b&&st.isDecl!==false){ 9642_82a.concat("\n"); 9643} 9644st.indentBlockLevel--; 9645} 9646} 9647},ExpressionStatement:function(node,st,c,_82d){ 9648var _82e=st.compiler,_82f=_82e.generate&&!_82d; 9649if(_82f){ 9650_82e.jsBuffer.concat(_779); 9651} 9652c(node.expression,st,"Expression"); 9653if(_82f){ 9654_82e.jsBuffer.concat(";\n",node); 9655} 9656},IfStatement:function(node,st,c,_830){ 9657var _831=st.compiler,_832=_831.generate,_833; 9658if(_832){ 9659_833=_831.jsBuffer; 9660if(_830){ 9661_833.concat("if",node); 9662_833.concatFormat(_830.beforeLeftParenthesis); 9663_833.concat("("); 9664}else{ 9665if(!st.superNodeIsElse){ 9666_833.concat(_779); 9667}else{ 9668delete st.superNodeIsElse; 9669} 9670_833.concat("if (",node); 9671} 9672} 9673c(node.test,st,"Expression"); 9674if(_832){ 9675if(_830){ 9676_833.concat(")",node); 9677_833.concatFormat(_830.afterRightParenthesis); 9678}else{ 9679_833.concat(node.consequent.type==="EmptyStatement"?");\n":")\n",node); 9680} 9681} 9682_779+=_821; 9683c(node.consequent,st,"Statement"); 9684_779=_779.substring(_77c); 9685var _834=node.alternate; 9686if(_834){ 9687var _835=_834.type!=="IfStatement";
9688if(_832){ 9689if(_830){ 9690_833.concatFormat(_830.beforeElse); 9691_833.concat("else",node); 9692_833.concatFormat(_830.afterElse); 9693}else{ 9694var _836=_834.type==="EmptyStatement"; 9695_833.concat(_779); 9696_833.concat(_835?_836?"else;\n":"else\n":"else ",node); 9697} 9698} 9699if(_835){ 9700_779+=_821; 9701}else{ 9702st.superNodeIsElse=true; 9703} 9704c(_834,st,"Statement"); 9705if(_835){ 9706_779=_779.substring(_77c); 9707} 9708} 9709},LabeledStatement:function(node,st,c,_837){ 9710var _838=st.compiler; 9711if(_838.generate){ 9712var _839=_838.jsBuffer; 9713if(!_837){ 9714_839.concat(_779); 9715} 9716c(node.label,st,"IdentifierName"); 9717if(_837){ 9718_839.concat(":",node); 9719_839.concatFormat(_837.afterColon); 9720}else{ 9721_839.concat(": ",node); 9722} 9723} 9724c(node.body,st,"Statement"); 9725},BreakStatement:function(node,st,c,_83a){ 9726var _83b=st.compiler; 9727if(_83b.generate){ 9728var _83c=node.label,_83d=_83b.jsBuffer; 9729if(!_83a){ 9730_83d.concat(_779); 9731} 9732if(_83c){ 9733if(_83a){ 9734_83d.concat("break",node); 9735_83d.concatFormat(_83a.beforeLabel); 9736}else{ 9737_83d.concat("break ",node); 9738} 9739c(_83c,st,"IdentifierName"); 9740if(!_83a){ 9741_83d.concat(";\n"); 9742} 9743}else{ 9744_83d.concat(_83a?"break":"break;\n",node); 9745} 9746} 9747},ContinueStatement:function(node,st,c,_83e){ 9748var _83f=st.compiler; 9749if(_83f.generate){ 9750var _840=node.label,_841=_83f.jsBuffer; 9751if(!_83e){ 9752_841.concat(_779); 9753} 9754if(_840){ 9755if(_83e){ 9756_841.concat("continue",node); 9757_841.concatFormat(_83e.beforeLabel); 9758}else{ 9759_841.concat("continue ",node); 9760} 9761c(_840,st,"IdentifierName"); 9762if(!_83e){ 9763_841.concat(";\n"); 9764} 9765}else{ 9766_841.concat(_83e?"continue":"continue;\n",node); 9767} 9768} 9769},WithStatement:function(node,st,c,_842){ 9770var _843=st.compiler,_844=_843.generate,_845; 9771if(_844){ 9772_845=_843.jsBuffer; 9773if(_842){ 9774_845.concat("with",node); 9775_845.concatFormat(_842.beforeLeftParenthesis); 9776_845.concat("("); 9777}else{ 9778_845.concat(_779); 9779_845.concat("with(",node); 9780} 9781} 9782c(node.object,st,"Expression"); 9783if(_844){ 9784if(_842){ 9785_845.concat(")",node); 9786_845.concatFormat(_842.afterRightParenthesis); 9787}else{ 9788_845.concat(")\n",node); 9789} 9790} 9791_779+=_821; 9792c(node.body,st,"Statement"); 9793_779=_779.substring(_77c); 9794},SwitchStatement:function(node,st,c,_846){ 9795var _847=st.compiler,_848=_847.generate,_849; 9796if(_848){ 9797_849=_847.jsBuffer; 9798if(_846){ 9799_849.concat("switch",node); 9800_849.concatFormat(_846.beforeLeftParenthesis); 9801_849.concat("(",node); 9802}else{ 9803_849.concat(_779); 9804_849.concat("switch(",node); 9805} 9806} 9807c(node.discriminant,st,"Expression"); 9808if(_848){ 9809if(_846){ 9810_849.concat(")"); 9811_849.concatFormat(_846.afterRightParenthesis); 9812_849.concat("{"); 9813_849.concatFormat(_846.afterLeftBrace); 9814}else{ 9815_849.concat(") {\n"); 9816} 9817} 9818_779+=_821; 9819for(var i=0;i<node.cases.length;++i){ 9820var cs=node.cases[i]; 9821if(cs.test){ 9822if(_848){ 9823if(_846){ 9824_849.concatFormat(_846.beforeCase); 9825_849.concat("case",node); 9826_849.concatFormat(_846.afterCase); 9827}else{ 9828_849.concat(_779); 9829_849.concat("case "); 9830} 9831} 9832c(cs.test,st,"Expression"); 9833if(_848){ 9834if(_846){ 9835_849.concat(":"); 9836_849.concatFormat(_846.afterColon); 9837}else{ 9838_849.concat(":\n"); 9839} 9840} 9841}else{ 9842if(_848){ 9843if(_846){ 9844_849.concatFormat(_846.beforeCase); 9845_849.concat("default"); 9846_849.concatFormat(_846.afterCase); 9847_849.concat(":"); 9848_849.concatFormat(_846.afterColon); 9849}else{ 9850_849.concat("default:\n"); 9851} 9852} 9853} 9854_779+=_821; 9855for(var j=0;j<cs.consequent.length;++j){ 9856c(cs.consequent[j],st,"Statement"); 9857} 9858_779=_779.substring(_77c); 9859} 9860_779=_779.substring(_77c); 9861if(_848){ 9862if(_846){ 9863_849.concatFormat(_846.beforeRightBrace); 9864_849.concat("}"); 9865}else{ 9866_849.concat(_779); 9867_849.concat("}\n"); 9868} 9869} 9870},ReturnStatement:function(node,st,c,_84a){ 9871var _84b=st.compiler,_84c=_84b.generate,_84d; 9872if(_84c){ 9873_84d=_84b.jsBuffer; 9874if(!_84a){ 9875_84d.concat(_779); 9876} 9877_84d.concat("return",node); 9878} 9879if(node.argument){ 9880if(_84c){ 9881_84d.concatFormat(_84a?_84a.beforeExpression:" "); 9882} 9883c(node.argument,st,"Expression"); 9884} 9885if(_84c&&!_84a){ 9886_84d.concat(";\n"); 9887} 9888},ThrowStatement:function(node,st,c,_84e){ 9889var _84f=st.compiler,_850=_84f.generate,_851; 9890if(_850){ 9891_851=_84f.jsBuffer; 9892if(!_84e){ 9893_851.concat(_779); 9894} 9895_851.concat("throw",node); 9896_851.concatFormat(_84e?_84e.beforeExpression:" "); 9897} 9898c(node.argument,st,"Expression"); 9899if(_850&&!_84e){ 9900_851.concat(";\n"); 9901} 9902},TryStatement:function(node,st,c,_852){ 9903var _853=st.compiler,_854=_853.generate,_855; 9904if(_854){ 9905_855=_853.jsBuffer; 9906if(!_852){ 9907_855.concat(_779); 9908} 9909_855.concat("try",node); 9910_855.concatFormat(_852?_852.beforeStatement:" "); 9911} 9912_779+=_821; 9913if(!_852){ 9914st.skipIndentation=true; 9915} 9916c(node.block,st,"Statement"); 9917_779=_779.substring(_77c); 9918if(node.handler){ 9919var _856=node.handler,_857=new _746(st),_858=_856.param,name=_858.name; 9920_857.vars[name]={type:"catch clause",node:_858}; 9921if(_854){ 9922if(_852){ 9923_855.concatFormat(_852.beforeCatch); 9924_855.concat("catch"); 9925_855.concatFormat(_852.afterCatch); 9926_855.concat("("); 9927c(_858,st,"IdentifierName"); 9928_855.concat(")"); 9929_855.concatFormat(_852.beforeCatchStatement); 9930}else{ 9931_855.concat("\n"); 9932_855.concat(_779); 9933_855.concat("catch("); 9934_855.concat(name); 9935_855.concat(") "); 9936} 9937} 9938_779+=_821; 9939_857.skipIndentation=true; 9940_857.endOfScopeBody=true; 9941c(_856.body,_857,"ScopeBody"); 9942_779=_779.substring(_77c); 9943_857.copyAddedSelfToIvarsToParent(); 9944} 9945if(node.finalizer){ 9946if(_854){ 9947if(_852){ 9948_855.concatFormat(_852.beforeCatch); 9949_855.concat("finally"); 9950_855.concatFormat(_852.beforeCatchStatement); 9951}else{ 9952_855.concat("\n"); 9953_855.concat(_779); 9954_855.concat("finally "); 9955} 9956} 9957_779+=_821; 9958st.skipIndentation=true; 9959c(node.finalizer,st,"Statement"); 9960_779=_779.substring(_77c); 9961} 9962if(_854&&!_852){ 9963_855.concat("\n"); 9964} 9965},WhileStatement:function(node,st,c,_859){ 9966var _85a=st.compiler,_85b=_85a.generate,body=node.body,_85c; 9967if(_85b){ 9968_85c=_85a.jsBuffer; 9969if(_859){ 9970_85c.concat("while",node); 9971_85c.concatFormat(_859.beforeLeftParenthesis); 9972_85c.concat("("); 9973}else{ 9974_85c.concat(_779); 9975_85c.concat("while (",node); 9976} 9977} 9978c(node.test,st,"Expression"); 9979if(_85b){ 9980if(_859){ 9981_85c.concat(")"); 9982_85c.concatFormat(_859.afterRightParenthesis); 9983}else{ 9984_85c.concat(body.type==="EmptyStatement"?");\n":")\n"); 9985} 9986} 9987_779+=_821; 9988c(body,st,"Statement"); 9989_779=_779.substring(_77c); 9990},DoWhileStatement:function(node,st,c,_85d){ 9991var _85e=st.compiler,_85f=_85e.generate,_860; 9992if(_85f){
9993_860=_85e.jsBuffer; 9994if(_85d){ 9995_860.concat("do",node); 9996_860.concatFormat(_85d.beforeStatement); 9997}else{ 9998_860.concat(_779); 9999_860.concat("do\n",node); 10000} 10001} 10002_779+=_821; 10003c(node.body,st,"Statement"); 10004_779=_779.substring(_77c); 10005if(_85f){ 10006if(_85d){ 10007_860.concat("while"); 10008_860.concatFormat(_85d.beforeLeftParenthesis); 10009_860.concat("("); 10010}else{ 10011_860.concat(_779); 10012_860.concat("while ("); 10013} 10014} 10015c(node.test,st,"Expression"); 10016if(_85f){ 10017_860.concatFormat(_85d?")":");\n"); 10018} 10019},ForStatement:function(node,st,c,_861){ 10020var _862=st.compiler,_863=_862.generate,body=node.body,_864; 10021if(_863){ 10022_864=_862.jsBuffer; 10023if(_861){ 10024_864.concat("for",node); 10025_864.concatFormat(_861.beforeLeftParenthesis); 10026_864.concat("("); 10027}else{ 10028_864.concat(_779); 10029_864.concat("for (",node); 10030} 10031} 10032if(node.init){ 10033c(node.init,st,"ForInit"); 10034} 10035if(_863){ 10036_864.concat(_861?";":"; "); 10037} 10038if(node.test){ 10039c(node.test,st,"Expression"); 10040} 10041if(_863){ 10042_864.concat(_861?";":"; "); 10043} 10044if(node.update){ 10045c(node.update,st,"Expression"); 10046} 10047if(_863){ 10048if(_861){ 10049_864.concat(")"); 10050_864.concatFormat(_861.afterRightParenthesis); 10051}else{ 10052_864.concat(body.type==="EmptyStatement"?");\n":")\n"); 10053} 10054} 10055_779+=_821; 10056c(body,st,"Statement"); 10057_779=_779.substring(_77c); 10058},ForInStatement:function(node,st,c,_865){ 10059var _866=st.compiler,_867=_866.generate,body=node.body,_868; 10060if(_867){ 10061_868=_866.jsBuffer; 10062if(_865){ 10063_868.concat("for",node); 10064_868.concatFormat(_865.beforeLeftParenthesis); 10065_868.concat("("); 10066}else{ 10067_868.concat(_779); 10068_868.concat("for (",node); 10069} 10070} 10071c(node.left,st,"ForInit"); 10072if(_867){ 10073if(_865){ 10074_868.concatFormat(_865.beforeIn); 10075_868.concat("in"); 10076_868.concatFormat(_865.afterIn); 10077}else{ 10078_868.concat(" in "); 10079} 10080} 10081c(node.right,st,"Expression"); 10082if(_867){ 10083if(_865){ 10084_868.concat(")"); 10085_868.concatFormat(_865.afterRightParenthesis); 10086}else{ 10087_868.concat(body.type==="EmptyStatement"?");\n":")\n"); 10088} 10089} 10090_779+=_821; 10091c(body,st,"Statement"); 10092_779=_779.substring(_77c); 10093},ForInit:function(node,st,c){ 10094var _869=st.compiler,_86a=_869.generate; 10095if(node.type==="VariableDeclaration"){ 10096st.isFor=true; 10097c(node,st); 10098delete st.isFor; 10099}else{ 10100c(node,st,"Expression"); 10101} 10102},DebuggerStatement:function(node,st,c,_86b){ 10103var _86c=st.compiler; 10104if(_86c.generate){ 10105var _86d=_86c.jsBuffer; 10106if(_86b){ 10107_86d.concat("debugger",node); 10108}else{ 10109_86d.concat(_779); 10110_86d.concat("debugger;\n",node); 10111} 10112} 10113},Function:function(node,st,c,_86e){ 10114var _86f=st.compiler,_870=_86f.generate,_871=_86f.jsBuffer,_872=new _746(st),decl=node.type=="FunctionDeclaration",id=node.id; 10115_872.isDecl=decl; 10116for(var i=0;i<node.params.length;++i){ 10117_872.vars[node.params[i].name]={type:"argument",node:node.params[i]}; 10118} 10119if(_870&&!_86e){ 10120_871.concat(_779); 10121} 10122if(id){ 10123var name=id.name; 10124(decl?st:_872).vars[name]={type:decl?"function":"function name",node:id}; 10125if(_86f.transformNamedFunctionDeclarationToAssignment){ 10126if(_870){ 10127_871.concat(name); 10128_871.concat(" = "); 10129}else{ 10130_871.concat(_86f.source.substring(_86f.lastPos,node.start)); 10131_871.concat(name); 10132_871.concat(" = function"); 10133_86f.lastPos=id.end; 10134} 10135} 10136} 10137if(_870){ 10138_871.concat("function",node); 10139if(!_86f.transformNamedFunctionDeclarationToAssignment&&id){ 10140if(!_86e){ 10141_871.concat(" "); 10142} 10143c(id,st,"IdentifierName"); 10144} 10145if(_86e){ 10146_871.concatFormat(_86e.beforeLeftParenthesis); 10147} 10148_871.concat("("); 10149for(var i=0;i<node.params.length;++i){ 10150if(i){ 10151_871.concat(_86e?",":", "); 10152} 10153c(node.params[i],st,"IdentifierName"); 10154} 10155if(_86e){ 10156_871.concat(")"); 10157_871.concatFormat(_86e.afterRightParenthesis); 10158}else{ 10159_871.concat(")\n"); 10160} 10161} 10162_779+=_821; 10163_872.endOfScopeBody=true; 10164c(node.body,_872,"ScopeBody"); 10165_779=_779.substring(_77c); 10166_872.copyAddedSelfToIvarsToParent(); 10167},VariableDeclaration:function(node,st,c,_873){ 10168var _874=st.compiler,_875=_874.generate,_876; 10169if(_875){ 10170_876=_874.jsBuffer; 10171if(!st.isFor&&!_873){ 10172_876.concat(_779); 10173} 10174_876.concat(_873?"var":"var ",node); 10175} 10176for(var i=0;i<node.declarations.length;++i){ 10177var decl=node.declarations[i],_877=decl.id.name; 10178if(i){ 10179if(_875){ 10180if(_873){ 10181_876.concat(","); 10182}else{ 10183if(st.isFor){ 10184_876.concat(", "); 10185}else{ 10186_876.concat(",\n"); 10187_876.concat(_779); 10188_876.concat(" "); 10189} 10190} 10191} 10192} 10193st.vars[_877]={type:"var",node:decl.id}; 10194c(decl.id,st,"IdentifierName"); 10195if(decl.init){ 10196if(_875){ 10197if(_873){ 10198_876.concatFormat(_873.beforeEqual); 10199_876.concat("="); 10200_876.concatFormat(_873.afterEqual); 10201}else{ 10202_876.concat(" = "); 10203} 10204} 10205c(decl.init,st,"Expression"); 10206} 10207if(st.addedSelfToIvars){ 10208var _878=st.addedSelfToIvars[_877]; 10209if(_878){ 10210var _879=st.compiler.jsBuffer.atoms; 10211for(var i=0,size=_878.length;i<size;i++){ 10212var dict=_878[i]; 10213_879[dict.index]=""; 10214_874.addWarning(_769("Local declaration of '"+_877+"' hides instance variable",dict.node,_874.source)); 10215} 10216st.addedSelfToIvars[_877]=[]; 10217} 10218} 10219} 10220if(_875&&!_873&&!st.isFor){ 10221_876.concat(";\n",node); 10222} 10223},ThisExpression:function(node,st,c){ 10224var _87a=st.compiler; 10225if(_87a.generate){
10226_87a.jsBuffer.concat("this",node); 10227} 10228},ArrayExpression:function(node,st,c,_87b){ 10229var _87c=st.compiler,_87d=_87c.generate,_87e; 10230if(_87d){ 10231_87e=_87c.jsBuffer; 10232_87e.concat("[",node); 10233} 10234for(var i=0;i<node.elements.length;++i){ 10235var elt=node.elements[i]; 10236if(_87d&&i!==0){ 10237if(_87b){ 10238_87e.concatFormat(_87b.beforeComma); 10239_87e.concat(","); 10240_87e.concatFormat(_87b.afterComma); 10241}else{ 10242_87e.concat(", "); 10243} 10244} 10245if(elt){ 10246c(elt,st,"Expression"); 10247} 10248} 10249if(_87d){ 10250_87e.concat("]"); 10251} 10252},ObjectExpression:function(node,st,c,_87f){ 10253var _880=st.compiler,_881=_880.generate,_882=node.properties,_883=_880.jsBuffer; 10254if(_881){ 10255_883.concat("{",node); 10256} 10257for(var i=0,size=_882.length;i<size;++i){ 10258var prop=_882[i]; 10259if(_881){ 10260if(i){ 10261if(_87f){ 10262_883.concatFormat(_87f.beforeComma); 10263_883.concat(","); 10264_883.concatFormat(_87f.afterComma); 10265}else{ 10266_883.concat(", "); 10267} 10268} 10269st.isPropertyKey=true; 10270c(prop.key,st,"Expression"); 10271delete st.isPropertyKey; 10272if(_87f){ 10273_883.concatFormat(_87f.beforeColon); 10274_883.concat(":"); 10275_883.concatFormat(_87f.afterColon); 10276}else{ 10277_883.concat(": "); 10278} 10279}else{ 10280if(prop.key.raw&&prop.key.raw.charAt(0)==="@"){ 10281_883.concat(_880.source.substring(_880.lastPos,prop.key.start)); 10282_880.lastPos=prop.key.start+1; 10283} 10284} 10285c(prop.value,st,"Expression"); 10286} 10287if(_881){ 10288_883.concat("}"); 10289} 10290},SequenceExpression:function(node,st,c,_884){ 10291var _885=st.compiler,_886=_885.generate,_887; 10292if(_886){ 10293_887=_885.jsBuffer; 10294_887.concat("(",node); 10295} 10296for(var i=0;i<node.expressions.length;++i){ 10297if(_886&&i!==0){ 10298if(_884){ 10299_887.concatFormat(_884.beforeComma); 10300_887.concat(","); 10301_887.concatFormat(_884.afterComma); 10302}else{ 10303_887.concat(", "); 10304} 10305} 10306c(node.expressions[i],st,"Expression"); 10307} 10308if(_886){ 10309_887.concat(")"); 10310} 10311},UnaryExpression:function(node,st,c){ 10312var _888=st.compiler,_889=_888.generate,_88a=node.argument; 10313if(_889){ 10314var _88b=_888.jsBuffer; 10315if(node.prefix){ 10316_88b.concat(node.operator,node); 10317if(_7b4(node.operator)){ 10318_88b.concat(" "); 10319} 10320(_819(node,_88a)?_814(c):c)(_88a,st,"Expression"); 10321}else{ 10322(_819(node,_88a)?_814(c):c)(_88a,st,"Expression"); 10323_88b.concat(node.operator); 10324} 10325}else{ 10326c(_88a,st,"Expression"); 10327} 10328},UpdateExpression:function(node,st,c){ 10329var _88c=st.compiler,_88d=_88c.generate,_88e=_88c.jsBuffer; 10330if(node.argument.type==="Dereference"){ 10331_813(st,node.argument); 10332if(!_88d){ 10333_88e.concat(_88c.source.substring(_88c.lastPos,node.start)); 10334} 10335_88e.concat((node.prefix?"":"(")+"("); 10336if(!_88d){ 10337_88c.lastPos=node.argument.expr.start; 10338} 10339c(node.argument.expr,st,"Expression"); 10340if(!_88d){ 10341_88e.concat(_88c.source.substring(_88c.lastPos,node.argument.expr.end)); 10342} 10343_88e.concat(")("); 10344if(!_88d){ 10345_88c.lastPos=node.argument.start; 10346} 10347c(node.argument,st,"Expression"); 10348if(!_88d){ 10349_88e.concat(_88c.source.substring(_88c.lastPos,node.argument.end)); 10350} 10351_88e.concat(" "+node.operator.substring(0,1)+" 1)"+(node.prefix?"":node.operator=="++"?" - 1)":" + 1)")); 10352if(!_88d){ 10353_88c.lastPos=node.end; 10354} 10355return; 10356} 10357if(node.prefix){ 10358if(_88d){ 10359_88e.concat(node.operator,node); 10360if(_7b4(node.operator)){ 10361_88e.concat(" "); 10362} 10363} 10364(_88d&&_819(node,node.argument)?_814(c):c)(node.argument,st,"Expression"); 10365}else{ 10366(_88d&&_819(node,node.argument)?_814(c):c)(node.argument,st,"Expression"); 10367if(_88d){ 10368_88e.concat(node.operator); 10369} 10370} 10371},BinaryExpression:function(node,st,c,_88f){ 10372var _890=st.compiler,_891=_890.generate,_892=_7b6(node.operator); 10373(_891&&_819(node,node.left)?_814(c):c)(node.left,st,"Expression"); 10374if(_891){ 10375var _893=_890.jsBuffer; 10376_893.concatFormat(_88f?_88f.beforeOperator:" "); 10377_893.concat(node.operator,node); 10378_893.concatFormat(_88f?_88f.afterOperator:" "); 10379} 10380(_891&&_819(node,node.right,true)?_814(c):c)(node.right,st,"Expression"); 10381},LogicalExpression:function(node,st,c,_894){ 10382var _895=st.compiler,_896=_895.generate; 10383(_896&&_819(node,node.left)?_814(c):c)(node.left,st,"Expression"); 10384if(_896){ 10385var _897=_895.jsBuffer; 10386_897.concatFormat(_894?_894.beforeOperator:" "); 10387_897.concat(node.operator); 10388_897.concatFormat(_894?_894.afterOperator:" "); 10389} 10390(_896&&_819(node,node.right,true)?_814(c):c)(node.right,st,"Expression"); 10391},AssignmentExpression:function(node,st,c,_898){ 10392var _899=st.compiler,_89a=_899.generate,_89b=st.assignment,_89c=_899.jsBuffer; 10393if(node.left.type==="Dereference"){
10394_813(st,node.left); 10395if(!_89a){ 10396_89c.concat(_899.source.substring(_899.lastPos,node.start)); 10397} 10398_89c.concat("(",node); 10399if(!_89a){ 10400_899.lastPos=node.left.expr.start; 10401} 10402c(node.left.expr,st,"Expression"); 10403if(!_89a){ 10404_89c.concat(_899.source.substring(_899.lastPos,node.left.expr.end)); 10405} 10406_89c.concat(")("); 10407if(node.operator!=="="){ 10408if(!_89a){ 10409_899.lastPos=node.left.start; 10410} 10411c(node.left,st,"Expression"); 10412if(!_89a){ 10413_89c.concat(_899.source.substring(_899.lastPos,node.left.end)); 10414} 10415_89c.concat(" "+node.operator.substring(0,1)+" "); 10416} 10417if(!_89a){ 10418_899.lastPos=node.right.start; 10419} 10420c(node.right,st,"Expression"); 10421if(!_89a){ 10422_89c.concat(_899.source.substring(_899.lastPos,node.right.end)); 10423} 10424_89c.concat(")"); 10425if(!_89a){ 10426_899.lastPos=node.end; 10427} 10428return; 10429} 10430var _89b=st.assignment,_89d=node.left; 10431st.assignment=true; 10432if(_89d.type==="Identifier"&&_89d.name==="self"){ 10433var lVar=st.getLvar("self",true); 10434if(lVar){ 10435var _89e=lVar.scope; 10436if(_89e){ 10437_89e.assignmentToSelf=true; 10438} 10439} 10440} 10441(_89a&&_819(node,_89d)?_814(c):c)(_89d,st,"Expression"); 10442if(_89a){ 10443_89c.concatFormat(_898?_898.beforeOperator:" "); 10444_89c.concat(node.operator); 10445_89c.concatFormat(_898?_898.afterOperator:" "); 10446} 10447st.assignment=_89b; 10448(_89a&&_819(node,node.right,true)?_814(c):c)(node.right,st,"Expression"); 10449if(st.isRootScope()&&_89d.type==="Identifier"&&!st.getLvar(_89d.name)){ 10450st.vars[_89d.name]={type:"global",node:_89d}; 10451} 10452},ConditionalExpression:function(node,st,c,_89f){ 10453var _8a0=st.compiler,_8a1=_8a0.generate,_8a2; 10454(_8a1&&_819(node,node.test)?_814(c):c)(node.test,st,"Expression"); 10455if(_8a1){ 10456_8a2=_8a0.jsBuffer; 10457if(_89f){ 10458_8a2.concatFormat(_89f.beforeOperator); 10459_8a2.concat("?"); 10460_8a2.concatFormat(_89f.afterOperator); 10461}else{ 10462_8a2.concat(" ? "); 10463} 10464} 10465c(node.consequent,st,"Expression"); 10466if(_8a1){ 10467if(_89f){ 10468_8a2.concatFormat(_89f.beforeOperator); 10469_8a2.concat(":"); 10470_8a2.concatFormat(_89f.afterOperator); 10471}else{ 10472_8a2.concat(" : "); 10473} 10474} 10475c(node.alternate,st,"Expression"); 10476},NewExpression:function(node,st,c,_8a3){ 10477var _8a4=st.compiler,_8a5=node.arguments,_8a6=_8a4.generate,_8a7; 10478if(_8a6){ 10479_8a7=_8a4.jsBuffer; 10480_8a7.concat("new ",node); 10481} 10482(_8a6&&_819(node,node.callee)?_814(c):c)(node.callee,st,"Expression"); 10483if(_8a6){ 10484_8a7.concat("("); 10485} 10486if(_8a5){ 10487for(var i=0,size=_8a5.length;i<size;++i){ 10488if(i&&_8a6){ 10489_8a7.concatFormat(_8a3?",":", "); 10490} 10491c(_8a5[i],st,"Expression"); 10492} 10493} 10494if(_8a6){ 10495_8a7.concat(")"); 10496} 10497},CallExpression:function(node,st,c,_8a8){ 10498var _8a9=st.compiler,_8aa=node.arguments,_8ab=_8a9.generate,_8ac=node.callee,_8ad; 10499if(_8ac.type==="Identifier"&&_8ac.name==="eval"){ 10500var _8ae=st.getLvar("self",true); 10501if(_8ae){ 10502var _8af=_8ae.scope; 10503if(_8af){ 10504_8af.assignmentToSelf=true; 10505} 10506} 10507} 10508(_8ab&&_819(node,_8ac)?_814(c):c)(_8ac,st,"Expression"); 10509if(_8ab){ 10510_8ad=_8a9.jsBuffer; 10511_8ad.concat("("); 10512} 10513if(_8aa){ 10514for(var i=0,size=_8aa.length;i<size;++i){ 10515if(i&&_8ab){ 10516_8ad.concat(_8a8?",":", "); 10517} 10518c(_8aa[i],st,"Expression"); 10519} 10520} 10521if(_8ab){ 10522_8ad.concat(")"); 10523} 10524},MemberExpression:function(node,st,c){ 10525var _8b0=st.compiler,_8b1=_8b0.generate,_8b2=node.computed; 10526(_8b1&&_819(node,node.object)?_814(c):c)(node.object,st,"Expression"); 10527if(_8b1){ 10528_8b0.jsBuffer.concat(_8b2?"[":".",node); 10529} 10530st.secondMemberExpression=!_8b2; 10531(_8b1&&!_8b2&&_819(node,node.property)?_814(c):c)(node.property,st,"Expression"); 10532st.secondMemberExpression=false; 10533if(_8b1&&_8b2){ 10534_8b0.jsBuffer.concat("]"); 10535} 10536},Identifier:function(node,st,c){ 10537var _8b3=st.compiler,_8b4=_8b3.generate,_8b5=node.name; 10538if(st.currentMethodType()==="-"&&!st.secondMemberExpression&&!st.isPropertyKey){ 10539var lvar=st.getLvar(_8b5,true),ivar=_8b3.getIvarForClass(_8b5,st); 10540if(ivar){ 10541if(lvar){ 10542_8b3.addWarning(_769("Local declaration of '"+_8b5+"' hides instance variable",node,_8b3.source)); 10543}else{ 10544var _8b6=node.start; 10545if(!_8b4){ 10546do{ 10547_8b3.jsBuffer.concat(_8b3.source.substring(_8b3.lastPos,_8b6)); 10548_8b3.lastPos=_8b6; 10549}while(_8b3.source.substr(_8b6++,1)==="("); 10550} 10551((st.addedSelfToIvars||(st.addedSelfToIvars=Object.create(null)))[_8b5]||(st.addedSelfToIvars[_8b5]=[])).push({node:node,index:_8b3.jsBuffer.length()}); 10552_8b3.jsBuffer.concat("self.",node); 10553} 10554}else{ 10555if(!_7b3(_8b5)){ 10556var _8b7,_8b8=typeof _1[_8b5]!=="undefined"||typeof window!=="undefined"&&typeof window[_8b5]!=="undefined"||_8b3.getClassDef(_8b5),_8b9=st.getLvar(_8b5); 10557if(_8b8&&(!_8b9||_8b9.type!=="class")){ 10558}else{ 10559if(!_8b9){ 10560if(st.assignment){ 10561_8b7=new _767("Creating global variable inside function or method '"+_8b5+"'",node,_8b3.source); 10562st.vars[_8b5]={type:"remove global warning",node:node}; 10563}else{ 10564_8b7=new _767("Using unknown class or uninitialized global variable '"+_8b5+"'",node,_8b3.source); 10565} 10566} 10567} 10568if(_8b7){ 10569st.addMaybeWarning(_8b7); 10570} 10571} 10572} 10573} 10574if(_8b4){ 10575_8b3.jsBuffer.concat(_8b5,node,_8b5==="self"?"self":null); 10576} 10577},IdentifierName:function(node,st,c){ 10578var _8ba=st.compiler; 10579if(_8ba.generate){ 10580_8ba.jsBuffer.concat(node.name,node); 10581} 10582}
10582,Literal:function(node,st,c){ 10583var _8bb=st.compiler,_8bc=_8bb.generate; 10584if(_8bc){ 10585if(node.raw){ 10586if(node.raw.charAt(0)==="@"){ 10587_8bb.jsBuffer.concat(node.raw.substring(1),node); 10588}else{ 10589_8bb.jsBuffer.concat(node.raw,node); 10590} 10591}else{ 10592var _8bd=node.value,_8be=_8bd.indexOf("\"")!==-1; 10593_8bb.jsBuffer.concat(_8be?"'":"\"",node); 10594_8bb.jsBuffer.concat(_8bd); 10595_8bb.jsBuffer.concat(_8be?"'":"\""); 10596} 10597}else{ 10598if(node.raw.charAt(0)==="@"){ 10599_8bb.jsBuffer.concat(_8bb.source.substring(_8bb.lastPos,node.start)); 10600_8bb.lastPos=node.start+1; 10601} 10602} 10603},ArrayLiteral:function(node,st,c){ 10604var _8bf=st.compiler,_8c0=_8bf.generate,_8c1=_8bf.jsBuffer,_8c2=_8bf.options.generateObjJ,_8c3=node.elements.length; 10605if(!_8c0){ 10606_8c1.concat(_8bf.source.substring(_8bf.lastPos,node.start)); 10607_8bf.lastPos=node.start; 10608} 10609if(!_8c0){ 10610_8c1.concat(" "); 10611} 10612if(!st.receiverLevel){ 10613st.receiverLevel=0; 10614} 10615if(_8c2){ 10616_8c1.concat("@["); 10617}else{ 10618if(!_8c3){ 10619if(_8bf.options.inlineMsgSendFunctions){ 10620_8c1.concat("(___r",node); 10621_8c1.concat(++st.receiverLevel+""); 10622_8c1.concat(" = (CPArray.isa.method_msgSend[\"alloc\"] || _objj_forward)(CPArray, \"alloc\"), ___r"); 10623_8c1.concat(st.receiverLevel+""); 10624_8c1.concat(" == null ? null : (___r"); 10625_8c1.concat(st.receiverLevel+""); 10626_8c1.concat(".isa.method_msgSend[\"init\"] || _objj_forward)(___r"); 10627_8c1.concat(st.receiverLevel+""); 10628_8c1.concat(", \"init\"))"); 10629}else{ 10630_8c1.concat("(___r"); 10631_8c1.concat(++st.receiverLevel+""); 10632_8c1.concat(" = CPArray.isa.objj_msgSend0(CPArray, \"alloc\"), ___r"); 10633_8c1.concat(st.receiverLevel+""); 10634_8c1.concat(" == null ? null : ___r"); 10635_8c1.concat(st.receiverLevel+""); 10636_8c1.concat(".isa.objj_msgSend0(___r"); 10637_8c1.concat(st.receiverLevel+""); 10638_8c1.concat(", \"init\"))"); 10639} 10640if(!(st.maxReceiverLevel>=st.receiverLevel)){ 10641st.maxReceiverLevel=st.receiverLevel; 10642} 10643}else{ 10644if(_8bf.options.inlineMsgSendFunctions){ 10645_8c1.concat("(___r",node); 10646_8c1.concat(++st.receiverLevel+""); 10647_8c1.concat(" = (CPArray.isa.method_msgSend[\"alloc\"] || _objj_forward)(CPArray, \"alloc\"), ___r"); 10648_8c1.concat(st.receiverLevel+""); 10649_8c1.concat(" == null ? null : (___r"); 10650_8c1.concat(st.receiverLevel+""); 10651_8c1.concat(".isa.method_msgSend[\"initWithObjects:count:\"] || _objj_forward)(___r"); 10652_8c1.concat(st.receiverLevel+""); 10653_8c1.concat(", \"initWithObjects:count:\", ["); 10654}else{ 10655_8c1.concat("(___r",node); 10656_8c1.concat(++st.receiverLevel+""); 10657_8c1.concat(" = CPArray.isa.objj_msgSend0(CPArray, \"alloc\"), ___r"); 10658_8c1.concat(st.receiverLevel+""); 10659_8c1.concat(" == null ? null : ___r"); 10660_8c1.concat(st.receiverLevel+""); 10661_8c1.concat(".isa.objj_msgSend2(___r"); 10662_8c1.concat(st.receiverLevel+""); 10663_8c1.concat(", \"initWithObjects:count:\", ["); 10664} 10665if(!(st.maxReceiverLevel>=st.receiverLevel)){ 10666st.maxReceiverLevel=st.receiverLevel; 10667} 10668} 10669} 10670if(_8c3){ 10671for(var i=0;i<_8c3;i++){ 10672var elt=node.elements[i]; 10673if(i){ 10674_8c1.concat(", "); 10675} 10676if(!_8c0){ 10677_8bf.lastPos=elt.start; 10678} 10679c(elt,st,"Expression"); 10680if(!_8c0){ 10681_8c1.concat(_8bf.source.substring(_8bf.lastPos,elt.end)); 10682} 10683} 10684if(!_8c2){ 10685_8c1.concat("], "+_8c3+"))"); 10686} 10687} 10688if(_8c2){ 10689_8c1.concat("]"); 10690}else{ 10691st.receiverLevel--; 10692} 10693if(!_8c0){ 10694_8bf.lastPos=node.end; 10695} 10696},DictionaryLiteral:function(node,st,c){ 10697var _8c4=st.compiler,_8c5=_8c4.generate,_8c6=_8c4.jsBuffer,_8c7=_8c4.options.generateObjJ,_8c8=node.keys.length; 10698if(!_8c5){ 10699_8c6.concat(_8c4.source.substring(_8c4.lastPos,node.start)); 10700_8c4.lastPos=node.start; 10701} 10702if(!_8c5){ 10703_8c6.concat(" "); 10704} 10705if(!st.receiverLevel){ 10706st.receiverLevel=0; 10707} 10708if(_8c7){ 10709_8c6.concat("@{"); 10710for(var i=0;i<_8c8;i++){ 10711if(i!==0){ 10712_8c6.concat(","); 10713} 10714c(node.keys[i],st,"Expression"); 10715_8c6.concat(":"); 10716c(node.values[i],st,"Expression"); 10717} 10718_8c6.concat("}"); 10719}else{ 10720if(!_8c8){ 10721if(_8c4.options.inlineMsgSendFunctions){ 10722_8c6.concat("(___r",node); 10723_8c6.concat(++st.receiverLevel+""); 10724_8c6.concat(" = (CPDictionary.isa.method_msgSend[\"alloc\"] || _objj_forward)(CPDictionary, \"alloc\"), ___r"); 10725_8c6.concat(st.receiverLevel+""); 10726_8c6.concat(" == null ? null : (___r"); 10727_8c6.concat(st.receiverLevel+""); 10728_8c6.concat(".isa.method_msgSend[\"init\"] || _objj_forward)(___r"); 10729_8c6.concat(st.receiverLevel+""); 10730_8c6.concat(", \"init\"))"); 10731}else{ 10732_8c6.concat("(___r"); 10733_8c6.concat(++st.receiverLevel+""); 10734_8c6.concat(" = CPDictionary.isa.objj_msgSend0(CPDictionary, \"alloc\"), ___r"); 10735_8c6.concat(st.receiverLevel+""); 10736_8c6.concat(" == null ? null : ___r"); 10737_8c6.concat(st.receiverLevel+""); 10738_8c6.concat(".isa.objj_msgSend0(___r"); 10739_8c6.concat(st.receiverLevel+""); 10740_8c6.concat(", \"init\"))"); 10741} 10742if(!(st.maxReceiverLevel>=st.receiverLevel)){ 10743st.maxReceiverLevel=st.receiverLevel; 10744} 10745}else{ 10746if(_8c4.options.inlineMsgSendFunctions){ 10747_8c6.concat("(___r",node); 10748_8c6.concat(++st.receiverLevel+""); 10749_8c6.concat(" = (CPDictionary.isa.method_msgSend[\"alloc\"] || _objj_forward)(CPDictionary, \"alloc\"), ___r"); 10750_8c6.concat(st.receiverLevel+""); 10751_8c6.concat(" == null ? null : (___r"); 10752_8c6.concat(st.receiverLevel+""); 10753_8c6.concat(".isa.method_msgSend[\"initWithObjects:forKeys:\"] || _objj_forward)(___r"); 10754_8c6.concat(st.receiverLevel+""); 10755_8c6.concat(", \"initWithObjects:forKeys:\", ["); 10756}else{ 10757_8c6.concat("(___r",node); 10758_8c6.concat(++st.receiverLevel+""); 10759_8c6.concat(" = CPDictionary.isa.objj_msgSend0(CPDictionary, \"alloc\"), ___r"); 10760_8c6.concat(st.receiverLevel+""); 10761_8c6.concat(" == null ? null : ___r"); 10762_8c6.concat(st.receiverLevel+""); 10763_8c6.concat(".isa.objj_msgSend2(___r"); 10764_8c6.concat(st.receiverLevel+""); 10765_8c6.concat(", \"initWithObjects:forKeys:\", ["); 10766} 10767if(!(st.maxReceiverLevel>=st.receiverLevel)){ 10768st.maxReceiverLevel=st.receiverLevel; 10769} 10770for(var i=0;i<_8c8;i++){ 10771var _8c9=node.values[i]; 10772if(i){ 10773_8c6.concat(", "); 10774} 10775if(!_8c5){ 10776_8c4.lastPos=_8c9.start; 10777} 10778c(_8c9,st,"Expression"); 10779if(!_8c5){ 10780_8c6.concat(_8c4.source.substring(_8c4.lastPos,_8c9.end)); 10781} 10782} 10783_8c6.concat("], ["); 10784for(var i=0;i<_8c8;i++){ 10785var key=node.keys[i]; 10786if(i){ 10787_8c6.concat(", "); 10788} 10789if(!_8c5){ 10790_8c4.lastPos=key.start; 10791} 10792c(key,st,"Expression"); 10793if(!_8c5){ 10794_8c6.concat(_8c4.source.substring(_8c4.lastPos,key.end)); 10795} 10796} 10797_8c6.concat("]))"); 10798} 10799} 10800if(!_8c7){ 10801st.receiverLevel--; 10802} 10803if(!_8c5){ 10804_8c4.lastPos=node.end; 10805} 10806},ImportStatement:function(node,st,c){ 10807var _8ca=st.compiler,_8cb=_8ca.generate,_8cc=_8ca.jsBuffer,_8cd=node.localfilepath,_8ce=_8ca.options.generateObjJ; 10808if(!_8cb){ 10809_8cc.concat(_8ca.source.substring(_8ca.lastPos,node.start)); 10810} 10811if(_8ce){ 10812_8cc.concat("@import "); 10813_8cc.concat(_8cd?"\"":"<"); 10814_8cc.concat(node.filename.value); 10815_8cc.concat(_8cd?"\"":">"); 10816}else{ 10817_8cc.concat("objj_executeFile(\"",node); 10818_8cc.concat(node.filename.value); 10819_8cc.concat(_8cd?"\", YES);":"\", NO);"); 10820} 10821if(!_8cb){ 10822_8ca.lastPos=node.end; 10823} 10824},ClassDeclarationStatement:function(node,st,c,_8cf){ 10825var _8d0=st.compiler,_8d1=_8d0.generate,_8d2=_8d0.jsBuffer,_8d3=node.classname.name,_8d4=_8d0.getClassDef(_8d3),_8d5=new _746(st),_8d6=node.type==="InterfaceDeclarationStatement",_8d7=node.protocols,_8d8=_8d0.options,_8d9=_8d8.generateObjJ; 10826_8d0.imBuffer=new _2f7(_8d0.createSourceMap,_8d0.URL,_8d8.sourceMap&&_8d8.sourceMapIncludeSource?_8d0.source:null); 10827_8d0.cmBuffer=new _2f7(_8d0.createSourceMap,_8d0.URL); 10828_8d0.classBodyBuffer=new _2f7(_8d0.createSourceMap,_8d0.URL); 10829if(_8d0.getTypeDef(_8d3)){ 10830throw _8d0.error_message(_8d3+" is already declared as a type",node.classname); 10831} 10832if(!_8d1){ 10833_8d2.concat(_8d0.source.substring(_8d0.lastPos,node.start)); 10834} 10835if(node.superclassname){ 10836if(_8d4&&_8d4.ivars){ 10837throw _8d0.error_message("Duplicate class "+_8d3,node.classname); 10838} 10839if(_8d6&&_8d4&&_8d4.instanceMethods&&_8d4.classMethods){ 10840throw _8d0.error_message("Duplicate interface definition for class "+_8d3,node.classname); 10841} 10842var _8da=_8d0.getClassDef(node.superclassname.name); 10843if(!_8da){ 10844var _8db="Can't find superclass "+node.superclassname.name; 10845if(_7bc.importStack){ 10846for(var i=_7bc.importStack.length;--i>=0;){ 10847_8db+="\n"+(Array((_7bc.importStack.length-i)*2+1)).join(" ")+"Imported by: "+_7bc.importStack[i]; 10848} 10849} 10850throw _8d0.error_message(_8db,node.superclassname); 10851}
10852_8d4=new _77f(!_8d6,_8d3,_8da,Object.create(null)); 10853if(!_8d9){ 10854_8d2.concat("\n{var the_class = objj_allocateClassPair("+node.superclassname.name+", \""+_8d3+"\"),\nmeta_class = the_class.isa;",node); 10855} 10856}else{ 10857if(node.categoryname){ 10858_8d4=_8d0.getClassDef(_8d3); 10859if(!_8d4){ 10860throw _8d0.error_message("Class "+_8d3+" not found ",node.classname); 10861} 10862if(!_8d9){ 10863_8d2.concat("{\nvar the_class = objj_getClass(\""+_8d3+"\")\n",node); 10864_8d2.concat("if(!the_class) throw new SyntaxError(\"*** Could not find definition for class \\\""+_8d3+"\\\"\");\n"); 10865_8d2.concat("var meta_class = the_class.isa;"); 10866} 10867}else{ 10868_8d4=new _77f(!_8d6,_8d3,null,Object.create(null)); 10869if(!_8d9){ 10870_8d2.concat("{var the_class = objj_allocateClassPair(Nil, \""+_8d3+"\"),\nmeta_class = the_class.isa;",node); 10871} 10872} 10873} 10874if(_8d9){ 10875_8d2.concat(_8d6?"@interface ":"@implementation "); 10876_8d2.concat(_8d3); 10877if(node.superclassname){ 10878_8d2.concat(" : "); 10879c(node.superclassname,st,"IdentifierName"); 10880}else{ 10881if(node.categoryname){ 10882_8d2.concat(" ("); 10883c(node.categoryname,st,"IdentifierName"); 10884_8d2.concat(")"); 10885} 10886} 10887} 10888if(_8d7){ 10889for(var i=0,size=_8d7.length;i<size;i++){ 10890if(_8d9){ 10891if(i){ 10892_8d2.concat(", "); 10893}else{ 10894_8d2.concat(" <"); 10895} 10896c(_8d7[i],st,"IdentifierName"); 10897if(i===size-1){ 10898_8d2.concat(">"); 10899} 10900}else{ 10901_8d2.concat("\nvar aProtocol = objj_getProtocol(\""+_8d7[i].name+"\");",_8d7[i]); 10902_8d2.concat("\nif (!aProtocol) throw new SyntaxError(\"*** Could not find definition for protocol \\\""+_8d7[i].name+"\\\"\");"); 10903_8d2.concat("\nclass_addProtocol(the_class, aProtocol);"); 10904} 10905} 10906} 10907_8d5.classDef=_8d4; 10908_8d0.currentSuperClass="objj_getClass(\""+_8d3+"\").super_class"; 10909_8d0.currentSuperMetaClass="objj_getMetaClass(\""+_8d3+"\").super_class"; 10910var _8dc=true,_8dd=_8d4.ivars,_8de=[],_8df=false; 10911if(node.ivardeclarations){ 10912if(_8d9){ 10913_8d2.concat("{"); 10914_779+=_821; 10915} 10916for(var i=0;i<node.ivardeclarations.length;++i){ 10917var _8e0=node.ivardeclarations[i],_8e1=_8e0.ivartype?_8e0.ivartype.name:null,_8e2=_8e0.ivartype?_8e0.ivartype.typeisclass:false,_8e3=_8e0.id,_8e4=_8e3.name,ivar={"type":_8e1,"name":_8e4},_8e5=_8e0.accessors; 10918var _8e6=function(_8e7,_8e8){ 10919if(_8e7.ivars[_8e4]){ 10920throw _8d0.error_message("Instance variable '"+_8e4+"' is already declared for class "+_8d3+(_8e7.name!==_8d3?" in superclass "+_8e7.name:""),_8e0.id); 10921} 10922if(_8e7.superClass){ 10923_8e8(_8e7.superClass,_8e8); 10924} 10925}; 10926_8e6(_8d4,_8e6); 10927var _8e9=!_8e2||typeof _1[_8e1]!=="undefined"||typeof window[_8e1]!=="undefined"||_8d0.getClassDef(_8e1)||_8d0.getTypeDef(_8e1)||_8e1==_8d4.name; 10928if(!_8e9){ 10929_8d0.addWarning(_769("Unknown type '"+_8e1+"' for ivar '"+_8e4+"'",_8e0.ivartype,_8d0.source)); 10930} 10931if(_8d9){ 10932c(_8e0,st,"IvarDeclaration"); 10933}else{ 10934if(_8dc){ 10935_8dc=false; 10936_8d2.concat("class_addIvars(the_class, ["); 10937}else{ 10938_8d2.concat(", "); 10939} 10940if(_8d8.includeIvarTypeSignatures){ 10941_8d2.concat("new objj_ivar(\""+_8e4+"\", \""+_8e1+"\")",node); 10942}else{ 10943_8d2.concat("new objj_ivar(\""+_8e4+"\")",node); 10944} 10945} 10946if(_8e0.outlet){ 10947ivar.outlet=true; 10948} 10949_8de.push(ivar); 10950if(!_8d5.ivars){ 10951_8d5.ivars=Object.create(null); 10952} 10953_8d5.ivars[_8e4]={type:"ivar",name:_8e4,node:_8e3,ivar:ivar}; 10954if(_8e5){ 10955var _8ea=_8e5.property&&_8e5.property.name||_8e4,_8eb=_8e5.getter&&_8e5.getter.name||_8ea; 10956_8d4.addInstanceMethod(new _7b1(_8eb,[_8e1])); 10957if(!_8e5.readonly){ 10958var _8ec=_8e5.setter?_8e5.setter.name:null; 10959if(!_8ec){ 10960var _8ed=_8ea.charAt(0)=="_"?1:0; 10961_8ec=(_8ed?"_":"")+"set"+(_8ea.substr(_8ed,1)).toUpperCase()+_8ea.substring(_8ed+1)+":"; 10962} 10963_8d4.addInstanceMethod(new _7b1(_8ec,["void",_8e1])); 10964} 10965_8df=true; 10966} 10967} 10968} 10969if(_8d9){ 10970_779=_779.substring(_77c); 10971_8d2.concatFormat("\n}"); 10972}else{ 10973if(!_8dc){ 10974_8d2.concat("]);"); 10975} 10976} 10977if(!_8d9&&!_8d6&&_8df){ 10978var _8ee=new _2f7(false); 10979_8ee.concat((_8d0.source.substring(node.start,node.endOfIvars)).replace(/<.*>/g,"")); 10980_8ee.concat("\n"); 10981for(var i=0;i<node.ivardeclarations.length;++i){ 10982var _8e0=node.ivardeclarations[i],_8e1=_8e0.ivartype?_8e0.ivartype.name:null,_8e4=_8e0.id.name,_8e5=_8e0.accessors; 10983if(!_8e5){ 10984continue; 10985} 10986var _8ea=_8e5.property&&_8e5.property.name||_8e4,_8eb=_8e5.getter&&_8e5.getter.name||_8ea,_8ef="- ("+(_8e1?_8e1:"id")+")"+_8eb+"\n{\n return "+_8e4+";\n}\n"; 10987_8ee.concat(_8ef); 10988if(_8e5.readonly){ 10989continue; 10990} 10991var _8ec=_8e5.setter?_8e5.setter.name:null; 10992if(!_8ec){ 10993var _8ed=_8ea.charAt(0)=="_"?1:0; 10994_8ec=(_8ed?"_":"")+"set"+(_8ea.substr(_8ed,1)).toUpperCase()+_8ea.substring(_8ed+1)+":"; 10995} 10996var _8f0="- (void)"+_8ec+"("+(_8e1?_8e1:"id")+")newValue\n{\n "; 10997if(_8e5.copy){ 10998_8f0+="if ("+_8e4+" !== newValue)\n "+_8e4+" = [newValue copy];\n}\n"; 10999}else{ 11000_8f0+=_8e4+" = newValue;\n}\n"; 11001} 11002_8ee.concat(_8f0); 11003} 11004_8ee.concat("\n@end"); 11005var b=(_8ee.toString()).replace(/@accessors(\(.*\))?/g,""); 11006var _8f1=_7b8(_8d8); 11007_8f1.sourceMapIncludeSource=true; 11008var url=_8d0.url; 11009var _8f2=url&&_8d0.URL.substr(_8d0.URL.lastIndexOf("/")+1); 11010var _8f3=_8f2&&_8f2.lastIndexOf("."); 11011var _8f4=_8f2&&_8f2.substr(0,_8f3===-1?_8f2.length:_8f3); 11012var _8f5=_8f2&&_8f2.substr(_8f3===-1?_8f2.length:_8f3); 11013var _8f6=node.categoryname&&node.categoryname.id; 11014var _8f7=_743.compileToIMBuffer(b,_8f4+"_"+_8d3+(_8f6?"_"+_8f6:"")+"_Accessors"+(_8f5||""),_8f1); 11015var _8f8=_8f7.toString(); 11016if(_8d0.createSourceMap){ 11017_8d0.imBuffer.concat(_745.SourceNode.fromStringWithSourceMap(_8f8.code,_745.SourceMapConsumer(_8f8.map.toString()))); 11018}else{ 11019_8d0.imBuffer.concat(_8f8); 11020} 11021} 11022for(var _8f9=_8de.length,i=0;i<_8f9;i++){ 11023var ivar=_8de[i],_8e4=ivar.name; 11024_8dd[_8e4]=ivar; 11025} 11026_8d0.classDefs[_8d3]=_8d4; 11027var _8fa=node.body,_8fb=_8fa.length; 11028if(_8fb>0){ 11029if(!_8d1){ 11030_8d0.lastPos=_8fa[0].start; 11031} 11032for(var i=0;i<_8fb;++i){ 11033var body=_8fa[i]; 11034c(body,_8d5,"Statement"); 11035} 11036if(!_8d1){ 11037_8d2.concat(_8d0.source.substring(_8d0.lastPos,body.end)); 11038} 11039} 11040if(!_8d9&&!_8d6&&!node.categoryname){
11041_8d2.concat("objj_registerClassPair(the_class);\n"); 11042} 11043if(!_8d9&&_8d0.imBuffer.isEmpty()){ 11044_8d2.concat("class_addMethods(the_class, ["); 11045_8d2.appendStringBuffer(_8d0.imBuffer); 11046_8d2.concat("]);\n"); 11047} 11048if(!_8d9&&_8d0.cmBuffer.isEmpty()){ 11049_8d2.concat("class_addMethods(meta_class, ["); 11050_8d2.appendStringBuffer(_8d0.cmBuffer); 11051_8d2.concat("]);\n"); 11052} 11053if(!_8d9){ 11054_8d2.concat("}\n"); 11055} 11056_8d0.jsBuffer=_8d2; 11057if(!_8d1){ 11058_8d0.lastPos=node.end; 11059} 11060if(_8d9){ 11061_8d2.concat("\n@end"); 11062} 11063if(_8d7){ 11064var _8fc=[]; 11065for(var i=0,size=_8d7.length;i<size;i++){ 11066var _8fd=_8d7[i],_8fe=_8d0.getProtocolDef(_8fd.name); 11067if(!_8fe){ 11068throw _8d0.error_message("Cannot find protocol declaration for '"+_8fd.name+"'",_8fd); 11069} 11070_8fc.push(_8fe); 11071} 11072var _8ff=_8d4.listOfNotImplementedMethodsForProtocols(_8fc); 11073if(_8ff&&_8ff.length>0){ 11074for(var j=0,_900=_8ff.length;j<_900;j++){ 11075var _901=_8ff[j],_902=_901.methodDef,_8fe=_901.protocolDef; 11076_8d0.addWarning(_769("Method '"+_902.name+"' in protocol '"+_8fe.name+"' is not implemented",node.classname,_8d0.source)); 11077} 11078} 11079} 11080},ProtocolDeclarationStatement:function(node,st,c){ 11081var _903=st.compiler,_904=_903.generate,_905=_903.jsBuffer,_906=node.protocolname.name,_907=_903.getProtocolDef(_906),_908=node.protocols,_909=new _746(st),_90a=[],_90b=_903.options.generateObjJ; 11082if(_907){ 11083throw _903.error_message("Duplicate protocol "+_906,node.protocolname); 11084} 11085_903.imBuffer=new _2f7(_903.createSourceMap,_903.URL); 11086_903.cmBuffer=new _2f7(_903.createSourceMap,_903.URL); 11087if(!_904){ 11088_905.concat(_903.source.substring(_903.lastPos,node.start)); 11089} 11090if(_90b){ 11091_905.concat("@protocol "); 11092c(node.protocolname,st,"IdentifierName"); 11093}else{ 11094_905.concat("{var the_protocol = objj_allocateProtocol(\""+_906+"\");",node); 11095} 11096if(_908){ 11097if(_90b){ 11098_905.concat(" <"); 11099} 11100for(var i=0,size=_908.length;i<size;i++){ 11101var _90c=_908[i],_90d=_90c.name,_90e=_903.getProtocolDef(_90d); 11102if(!_90e){ 11103throw _903.error_message("Can't find protocol "+_90d,_90c); 11104} 11105if(_90b){ 11106if(i){ 11107_905.concat(", "); 11108} 11109c(_90c,st,"IdentifierName"); 11110}else{ 11111_905.concat("\nvar aProtocol = objj_getProtocol(\""+_90d+"\");",node); 11112_905.concat("\nif (!aProtocol) throw new SyntaxError(\"*** Could not find definition for protocol \\\""+_906+"\\\"\");",node); 11113_905.concat("\nprotocol_addProtocol(the_protocol, aProtocol);",node); 11114} 11115_90a.push(_90e); 11116} 11117if(_90b){ 11118_905.concat(">"); 11119} 11120} 11121_907=new _7a2(_906,_90a); 11122_903.protocolDefs[_906]=_907; 11123_909.protocolDef=_907; 11124var _90f=node.required; 11125if(_90f){ 11126var _910=_90f.length; 11127if(_910>0){ 11128for(var i=0;i<_910;++i){ 11129var _911=_90f[i]; 11130if(!_904){ 11131_903.lastPos=_911.start; 11132} 11133c(_911,_909,"Statement"); 11134} 11135if(!_904){ 11136_905.concat(_903.source.substring(_903.lastPos,_911.end)); 11137} 11138} 11139} 11140if(_90b){ 11141_905.concatFormat("\n@end"); 11142}else{ 11143_905.concat("\nobjj_registerProtocol(the_protocol);\n"); 11144if(_903.imBuffer.isEmpty()){ 11145_905.concat("protocol_addMethodDescriptions(the_protocol, ["); 11146_905.appendStringBuffer(_903.imBuffer); 11147_905.concat("], true, true);\n"); 11148} 11149if(_903.cmBuffer.isEmpty()){ 11150_905.concat("protocol_addMethodDescriptions(the_protocol, ["); 11151_905.appendStringBuffer(_903.cmBuffer); 11152_905.concat("], true, false);\n"); 11153} 11154_905.concat("}"); 11155} 11156_903.jsBuffer=_905; 11157if(!_904){ 11158_903.lastPos=node.end; 11159} 11160},IvarDeclaration:function(node,st,c,_912){ 11161var _913=st.compiler,_914=_913.jsBuffer; 11162if(node.outlet){ 11163_914.concat("@outlet "); 11164} 11165c(node.ivartype,st,"IdentifierName"); 11166_914.concat(" "); 11167c(node.id,st,"IdentifierName"); 11168if(node.accessors){ 11169_914.concat(" @accessors"); 11170} 11171},MethodDeclarationStatement:function(node,st,c){ 11172var _915=st.compiler,_916=_915.generate,_917=_915.jsBuffer,_918=new _746(st),_919=node.methodtype==="-",_91a=node.selectors,_91b=node.arguments,_91c=node.returntype,_91d=[_91c?_91c.name:node.action?"void":"id"],_91e=_91c?_91c.protocols:null,_91f=_91a[0].name,_920=_915.options.generateObjJ; 11173if(_91e){ 11174for(var i=0,size=_91e.length;i<size;i++){ 11175var _921=_91e[i]; 11176if(!_915.getProtocolDef(_921.name)){ 11177_915.addWarning(_769("Cannot find protocol declaration for '"+_921.name+"'",_921,_915.source)); 11178} 11179} 11180} 11181if(!_916){ 11182_917.concat(_915.source.substring(_915.lastPos,node.start)); 11183} 11184if(_920){ 11185_915.jsBuffer.concat(_919?"- (":"+ ("); 11186_915.jsBuffer.concat(_91d[0]); 11187_915.jsBuffer.concat(")"); 11188}else{ 11189_915.jsBuffer=_919?_915.imBuffer:_915.cmBuffer; 11190} 11191var size=_91b.length; 11192if(size>0){ 11193for(var i=0;i<_91b.length;i++){ 11194var _922=_91b[i],_923=_922.type,_924=_923?_923.name:"id",_925=_923?_923.protocols:null; 11195_91d.push(_924); 11196if(i===0){ 11197_91f+=":"; 11198}else{ 11199_91f+=(_91a[i]?_91a[i].name:"")+":"; 11200} 11201if(_925){ 11202for(var j=0,size=_925.length;j<size;j++){ 11203var _926=_925[j]; 11204if(!_915.getProtocolDef(_926.name)){
11205_915.addWarning(_769("Cannot find protocol declaration for '"+_926.name+"'",_926,_915.source)); 11206} 11207} 11208} 11209if(_920){ 11210var _927=_91a[i]; 11211if(i){ 11212_915.jsBuffer.concat(" "); 11213} 11214_915.jsBuffer.concat((_927?_927.name:"")+":"); 11215_915.jsBuffer.concat("("); 11216_915.jsBuffer.concat(_924); 11217if(_925){ 11218_915.jsBuffer.concat(" <"); 11219for(var j=0,size=_925.length;j<size;j++){ 11220var _926=_925[j]; 11221if(j){ 11222_915.jsBuffer.concat(", "); 11223} 11224_915.jsBuffer.concat(_926.name); 11225} 11226_915.jsBuffer.concat(">"); 11227} 11228_915.jsBuffer.concat(")"); 11229c(_922.identifier,st,"IdentifierName"); 11230} 11231} 11232}else{ 11233if(_920){ 11234var _928=_91a[0]; 11235_915.jsBuffer.concat(_928.name,_928); 11236} 11237} 11238if(_920){ 11239if(node.parameters){ 11240_915.jsBuffer.concat(", ..."); 11241} 11242}else{ 11243if(_915.jsBuffer.isEmpty()){ 11244_915.jsBuffer.concat(", "); 11245} 11246_915.jsBuffer.concat("new objj_method(sel_getUid(\"",node); 11247_915.jsBuffer.concat(_91f); 11248_915.jsBuffer.concat("\"), "); 11249} 11250if(node.body){ 11251if(!_920){ 11252_915.jsBuffer.concat("function"); 11253if(_915.options.includeMethodFunctionNames){ 11254_915.jsBuffer.concat(" $"+st.currentClassName()+"__"+_91f.replace(/:/g,"_")); 11255} 11256_915.jsBuffer.concat("(self, _cmd"); 11257} 11258_918.methodType=node.methodtype; 11259_918.vars["self"]={type:"method base",scope:_918}; 11260_918.vars["_cmd"]={type:"method base",scope:_918}; 11261if(_91b){ 11262for(var i=0;i<_91b.length;i++){ 11263var _922=_91b[i],_929=_922.identifier.name; 11264if(!_920){ 11265_915.jsBuffer.concat(", "); 11266_915.jsBuffer.concat(_929,_922.identifier); 11267} 11268_918.vars[_929]={type:"method argument",node:_922}; 11269} 11270} 11271if(!_920){ 11272_915.jsBuffer.concat(")\n"); 11273} 11274if(!_916){ 11275_915.lastPos=node.startOfBody; 11276} 11277_779+=_821; 11278_918.endOfScopeBody=true; 11279c(node.body,_918,"Statement"); 11280_779=_779.substring(_77c); 11281if(!_916){ 11282_915.jsBuffer.concat(_915.source.substring(_915.lastPos,node.body.end)); 11283} 11284if(!_920){ 11285_915.jsBuffer.concat("\n"); 11286} 11287}else{ 11288if(_920){ 11289_915.jsBuffer.concat(";"); 11290}else{ 11291_915.jsBuffer.concat("Nil\n"); 11292} 11293} 11294if(!_920){ 11295if(_915.options.includeMethodArgumentTypeSignatures){ 11296_915.jsBuffer.concat(","+JSON.stringify(_91d)); 11297} 11298_915.jsBuffer.concat(")"); 11299_915.jsBuffer=_917; 11300} 11301if(!_916){ 11302_915.lastPos=node.end; 11303} 11304var def=st.classDef,_92a; 11305if(def){ 11306_92a=_919?def.getInstanceMethod(_91f):def.getClassMethod(_91f); 11307}else{ 11308def=st.protocolDef; 11309} 11310if(!def){ 11311throw "InternalError: MethodDeclaration without ClassDeclaration or ProtocolDeclaration at line: "+(_744.getLineInfo(_915.source,node.start)).line; 11312} 11313if(!_92a){ 11314var _92b=def.protocols; 11315if(_92b){ 11316for(var i=0,size=_92b.length;i<size;i++){ 11317var _92c=_92b[i],_92a=_919?_92c.getInstanceMethod(_91f):_92c.getClassMethod(_91f); 11318if(_92a){ 11319break; 11320} 11321} 11322} 11323} 11324if(_92a){ 11325var _92d=_92a.types; 11326if(_92d){ 11327var _92e=_92d.length; 11328if(_92e>0){ 11329var _92f=_92d[0]; 11330if(_92f!==_91d[0]&&!(_92f==="id"&&_91c&&_91c.typeisclass)){ 11331_915.addWarning(_769("Conflicting return type in implementation of '"+_91f+"': '"+_92f+"' vs '"+_91d[0]+"'",_91c||node.action||_91a[0],_915.source)); 11332} 11333for(var i=1;i<_92e;i++){ 11334var _930=_92d[i]; 11335if(_930!==_91d[i]&&!(_930==="id"&&_91b[i-1].type.typeisclass)){ 11336_915.addWarning(_769("Conflicting parameter types in implementation of '"+_91f+"': '"+_930+"' vs '"+_91d[i]+"'",_91b[i-1].type||_91b[i-1].identifier,_915.source)); 11337} 11338} 11339} 11340} 11341} 11342var _931=new _7b1(_91f,_91d); 11343if(_919){ 11344def.addInstanceMethod(_931); 11345}else{ 11346def.addClassMethod(_931); 11347} 11348},MessageSendExpression:function(node,st,c){ 11349var _932=st.compiler,_933=_932.generate,_934=_932.options.inlineMsgSendFunctions,_935=_932.jsBuffer,_936=node.object,_937=node.selectors,_938=node.arguments,_939=_938.length,_93a=_937[0],_93b=_93a?_93a.name:"",_93c=node.parameters,_93d=_932.options,_93e=_93d.generateObjJ; 11350for(var i=0;i<_939;i++){ 11351if(i!==0){ 11352var _93f=_937[i]; 11353if(_93f){ 11354_93b+=_93f.name; 11355} 11356} 11357_93b+=":"; 11358} 11359if(!_933){ 11360_935.concat(_932.source.substring(_932.lastPos,node.start)); 11361_932.lastPos=_936?_936.start:node.arguments.length?node.arguments[0].start:node.end; 11362}else{ 11363if(!_934){ 11364var _940=_939; 11365if(_93c){ 11366_940+=_93c.length; 11367} 11368} 11369} 11370if(node.superObject){ 11371if(!_933){ 11372_935.concat(" "); 11373} 11374if(_93e){ 11375_935.concat("[super "); 11376}else{ 11377if(_934){ 11378_935.concat("(",node); 11379_935.concat(st.currentMethodType()==="+"?_932.currentSuperMetaClass:_932.currentSuperClass); 11380_935.concat(".method_dtable[\"",node);
11381_935.concat(_93b); 11382_935.concat("\"] || _objj_forward)(self",node); 11383}else{ 11384_935.concat("objj_msgSendSuper",node); 11385if(_940<4){ 11386_935.concat(""+_940); 11387} 11388_935.concat("({ receiver:self, super_class:"+(st.currentMethodType()==="+"?_932.currentSuperMetaClass:_932.currentSuperClass)+" }",node); 11389} 11390} 11391}else{ 11392if(_933){ 11393var _941=_936.type==="Identifier"&&!(st.currentMethodType()==="-"&&_932.getIvarForClass(_936.name,st)&&!st.getLvar(_936.name,true)),_942,_943; 11394if(_941){ 11395var name=_936.name,_942=st.getLvar(name); 11396if(name==="self"){ 11397_943=!_942||!_942.scope||_942.scope.assignmentToSelf; 11398}else{ 11399_943=!!_942||!_932.getClassDef(name); 11400} 11401if(_943){ 11402_935.concat("(",node); 11403c(_936,st,"Expression"); 11404_935.concat(" == null ? null : ",node); 11405} 11406if(_934){ 11407_935.concat("(",node); 11408} 11409c(_936,st,"Expression"); 11410}else{ 11411_943=true; 11412if(!st.receiverLevel){ 11413st.receiverLevel=0; 11414} 11415_935.concat("((___r"+ ++st.receiverLevel,node); 11416_935.concat(" = ",node); 11417c(_936,st,"Expression"); 11418_935.concat(")",node); 11419_935.concat(", ___r"+st.receiverLevel,node); 11420_935.concat(" == null ? null : ",node); 11421if(_934){ 11422_935.concat("(",node); 11423} 11424_935.concat("___r"+st.receiverLevel,node); 11425if(!(st.maxReceiverLevel>=st.receiverLevel)){ 11426st.maxReceiverLevel=st.receiverLevel; 11427} 11428} 11429if(_934){ 11430_935.concat(".isa.method_msgSend[\"",node); 11431_935.concat(_93b,node); 11432_935.concat("\"] || _objj_forward)",node); 11433}else{ 11434_935.concat(".isa.objj_msgSend",node); 11435} 11436}else{ 11437_935.concat(" "); 11438_935.concat("objj_msgSend("); 11439_935.concat(_932.source.substring(_932.lastPos,_936.end)); 11440} 11441} 11442if(_93e){ 11443for(var i=0;i<_939||_939===0&&i===0;i++){ 11444var _93b=_937[i]; 11445_935.concat(" "); 11446_935.concat(_93b?_93b.name:""); 11447if(_939>0){ 11448var _944=_938[i]; 11449_935.concat(":"); 11450c(_944,st,"Expression"); 11451} 11452} 11453if(_93c){ 11454for(var i=0,size=_93c.length;i<size;++i){ 11455var _945=_93c[i]; 11456_935.concat(", "); 11457c(_945,st,"Expression"); 11458} 11459} 11460_935.concat("]"); 11461}else{ 11462var _946; 11463if(_933&&!node.superObject){ 11464if(!_934){ 11465if(_940<4){ 11466_935.concat(""+_940,node); 11467} 11468} 11469if(_941){ 11470_935.concat("(",node); 11471c(_936,st,"Expression"); 11472}else{ 11473_935.concat("(___r"+st.receiverLevel,node); 11474} 11475if(_93d.sourceMap&&_936.type==="Identifier"){ 11476_932.jsBuffer=new _2f7(); 11477c(_936,st,"Expression"); 11478var _947=_932.jsBuffer.toString(); 11479_946=_947+".isa.method_dtable[\""+_93b+"\"]"; 11480_932.jsBuffer=_935; 11481} 11482} 11483_935.concat(", ",node); 11484if(_946){ 11485_935.concat("(",node); 11486for(var i=0;i<_937.length;i++){ 11487var _93f=_937[i]; 11488if(_93f){ 11489_935.concat(_946,_93f); 11490_935.concat(", ",node); 11491} 11492} 11493} 11494_935.concat("\"",node); 11495_935.concat(_93b,node); 11496_935.concat(_946?"\")":"\"",node); 11497if(_938){ 11498for(var i=0;i<_938.length;i++){ 11499var _944=_938[i]; 11500_935.concat(", ",node); 11501if(!_933){ 11502_932.lastPos=_944.start; 11503} 11504c(_944,st,"Expression"); 11505if(!_933){ 11506_935.concat(_932.source.substring(_932.lastPos,_944.end)); 11507_932.lastPos=_944.end; 11508} 11509} 11510} 11511if(_93c){ 11512for(var i=0;i<_93c.length;++i){ 11513var _945=_93c[i]; 11514_935.concat(", ",node); 11515if(!_933){ 11516_932.lastPos=_945.start; 11517} 11518c(_945,st,"Expression"); 11519if(!_933){ 11520_935.concat(_932.source.substring(_932.lastPos,_945.end)); 11521_932.lastPos=_945.end; 11522} 11523} 11524} 11525if(_933&&!node.superObject){ 11526if(_943){ 11527_935.concat(")",node); 11528} 11529if(!_941){ 11530st.receiverLevel--; 11531} 11532} 11533_935.concat(")",node); 11534} 11535if(!_933){ 11536_932.lastPos=node.end; 11537} 11538},SelectorLiteralExpression:function(node,st,c){ 11539var _948=st.compiler,_949=_948.jsBuffer,_94a=_948.generate,_94b=_948.options.generateObjJ; 11540if(!_94a){ 11541_949.concat(_948.source.substring(_948.lastPos,node.start)); 11542_949.concat(" "); 11543} 11544_949.concat(_94b?"@selector(":"sel_getUid(\"",node); 11545_949.concat(node.selector); 11546_949.concat(_94b?")":"\")"); 11547if(!_94a){ 11548_948.lastPos=node.end; 11549} 11550},ProtocolLiteralExpression:function(node,st,c){ 11551var _94c=st.compiler,_94d=_94c.jsBuffer,_94e=_94c.generate,_94f=_94c.options.generateObjJ; 11552if(!_94e){ 11553_94d.concat(_94c.source.substring(_94c.lastPos,node.start)); 11554_94d.concat(" "); 11555} 11556_94d.concat(_94f?"@protocol(":"objj_getProtocol(\"",node); 11557c(node.id,st,"IdentifierName"); 11558_94d.concat(_94f?")":"\")"); 11559if(!_94e){ 11560_94c.lastPos=node.end; 11561} 11562},Reference:function(node,st,c){ 11563var _950=st.compiler,_951=_950.jsBuffer,_952=_950.generate,_953=_950.options.generateObjJ; 11564if(!_952){ 11565_951.concat(_950.source.substring(_950.lastPos,node.start)); 11566_951.concat(" "); 11567} 11568if(_953){ 11569_951.concat("@ref(",node); 11570_951.concat(node.element.name,node.element); 11571_951.concat(")",node); 11572}else{ 11573_951.concat("function(__input) { if (arguments.length) return ",node); 11574c(node.element,st,"Expression"); 11575_951.concat(" = __input; return "); 11576c(node.element,st,"Expression"); 11577_951.concat("; }"); 11578} 11579if(!_952){ 11580_950.lastPos=node.end; 11581} 11582},Dereference:function(node,st,c){ 11583var _954=st.compiler,_955=_954.jsBuffer,_956=_954.generate,_957=_954.options.generateObjJ;
11584_813(st,node.expr); 11585if(!_956){ 11586_955.concat(_954.source.substring(_954.lastPos,node.start)); 11587_954.lastPos=node.expr.start; 11588} 11589if(_957){ 11590_955.concat("@deref("); 11591} 11592c(node.expr,st,"Expression"); 11593if(!_956){ 11594_955.concat(_954.source.substring(_954.lastPos,node.expr.end)); 11595} 11596if(_957){ 11597_955.concat(")"); 11598}else{ 11599_955.concat("()"); 11600} 11601if(!_956){ 11602_954.lastPos=node.end; 11603} 11604},ClassStatement:function(node,st,c){ 11605var _958=st.compiler,_959=_958.jsBuffer,_95a=_958.options.generateObjJ; 11606if(!_958.generate){ 11607_959.concat(_958.source.substring(_958.lastPos,node.start)); 11608_958.lastPos=node.start; 11609_959.concat("//"); 11610} 11611if(_95a){ 11612_959.concat("@class "); 11613c(node.id,st,"IdentifierName"); 11614} 11615var _95b=node.id.name; 11616if(_958.getTypeDef(_95b)){ 11617throw _958.error_message(_95b+" is already declared as a type",node.id); 11618} 11619if(!_958.getClassDef(_95b)){ 11620_958.classDefs[_95b]=new _77f(false,_95b); 11621} 11622st.vars[node.id.name]={type:"class",node:node.id}; 11623},GlobalStatement:function(node,st,c){ 11624var _95c=st.compiler,_95d=_95c.jsBuffer,_95e=_95c.options.generateObjJ; 11625if(!_95c.generate){ 11626_95d.concat(_95c.source.substring(_95c.lastPos,node.start)); 11627_95c.lastPos=node.start; 11628_95d.concat("//"); 11629} 11630if(_95e){ 11631_95d.concat("@global "); 11632c(node.id,st,"IdentifierName"); 11633} 11634(st.rootScope()).vars[node.id.name]={type:"global",node:node.id}; 11635},PreprocessStatement:function(node,st,c){ 11636var _95f=st.compiler; 11637if(!_95f.generate){ 11638_95f.jsBuffer.concat(_95f.source.substring(_95f.lastPos,node.start)); 11639_95f.lastPos=node.start; 11640_95f.jsBuffer.concat("//"); 11641} 11642},TypeDefStatement:function(node,st,c){ 11643var _960=st.compiler,_961=_960.generate,_962=_960.jsBuffer,_963=node.typedefname.name,_964=_960.getTypeDef(_963),_965=new _746(st); 11644if(_964){ 11645throw _960.error_message("Duplicate type definition "+_963,node.typedefname); 11646} 11647if(_960.getClassDef(_963)){ 11648throw _960.error_message(_963+" is already declared as class",node.typedefname); 11649} 11650if(!_961){ 11651_962.concat(_960.source.substring(_960.lastPos,node.start)); 11652} 11653_962.concat("{var the_typedef = objj_allocateTypeDef(\""+_963+"\");",node); 11654_964=new _7b0(_963); 11655_960.typeDefs[_963]=_964; 11656_965.typeDef=_964; 11657_962.concat("\nobjj_registerTypeDef(the_typedef);\n"); 11658_962.concat("}"); 11659if(!_961){ 11660_960.lastPos=node.end; 11661} 11662}}); 11663}); 11664function _335(aURL,_966){ 11665this._URL=aURL; 11666this._isLocal=_966; 11667}; 11668_2.FileDependency=_335; 11669_335.prototype.URL=function(){ 11670return this._URL; 11671}; 11672_335.prototype.isLocal=function(){ 11673return this._isLocal; 11674}; 11675_335.prototype.toMarkedString=function(){ 11676var _967=(this.URL()).absoluteString(); 11677return (this.isLocal()?_266:_265)+";"+_967.length+";"+_967; 11678}; 11679_335.prototype.toString=function(){ 11680return (this.isLocal()?"LOCAL: ":"STD: ")+this.URL(); 11681}; 11682var _968=0,_969=1,_96a=2,_96b=3,_96c=0; 11683function _306(_96d,_96e,aURL,_96f,_970,_971,_972){ 11684if(arguments.length===0){ 11685return this; 11686} 11687this._code=_96d; 11688this._function=_96f||null; 11689this._URL=_1e4(aURL||new CFURL("(Anonymous"+_96c++ +")")); 11690this._compiler=_970||null; 11691this._fileDependencies=_96e; 11692this._filenameTranslateDictionary=_971; 11693if(_972){ 11694this._base64EncodedSourceMap=_972; 11695} 11696if(!_96e){ 11697this._fileDependencyStatus=_96b; 11698this._fileDependencyCallbacks=[]; 11699}else{ 11700if(_96e.length){ 11701this._fileDependencyStatus=_968; 11702this._fileDependencyCallbacks=[]; 11703}else{ 11704this._fileDependencyStatus=_96a; 11705} 11706} 11707if(this._function){ 11708return; 11709} 11710if(!_970){ 11711this.setCode(_96d); 11712} 11713}; 11714_2.Executable=_306; 11715_306.prototype.path=function(){ 11716return (this.URL()).path(); 11717}; 11718_306.prototype.URL=function(){ 11719return this._URL; 11720}; 11721_306.prototype.functionParameters=function(){ 11722var _973=["global","objj_executeFile","objj_importFile"]; 11723return _973; 11724}; 11725_306.prototype.functionArguments=function(){ 11726var _974=[_1,this.fileExecuter(),this.fileImporter()]; 11727return _974; 11728}; 11729_306.prototype.execute=function(){ 11730if(this._compiler){ 11731var _975=this.fileDependencies(),_a0=0,_976=_975.length; 11732this._compiler.pushImport((this.URL()).lastPathComponent()); 11733for(;_a0<_976;++_a0){ 11734var _977=_975[_a0],_978=_977.isLocal(),URL=_977.URL(); 11735this.fileExecuter()(URL,_978); 11736} 11737this._compiler.popImport(); 11738this.setCode(this._compiler.compilePass2(),this._compiler.map()); 11739if(_979.printWarningsAndErrors(this._compiler,_2.messageOutputFormatInXML)){ 11740throw "Compilation error"; 11741} 11742this._compiler=null; 11743} 11744var _97a=_97b; 11745_97b=CFBundle.bundleContainingURL(this.URL()); 11746var _97c=this._function.apply(_1,this.functionArguments()); 11747_97b=_97a; 11748return _97c; 11749}; 11750_306.prototype.code=function(){ 11751return this._code; 11752}; 11753_306.prototype.setCode=function(code,_97d){ 11754this._code=code; 11755var _97e=(this.functionParameters()).join(","); 11756var _97f; 11757this._function=new Function(_97e,code); 11758}; 11759_306.prototype.fileDependencies=function(){ 11760return this._fileDependencies; 11761}; 11762_306.prototype.setFileDependencies=function(_980){ 11763this._fileDependencies=_980; 11764}; 11765_306.prototype.hasLoadedFileDependencies=function(){ 11766return this._fileDependencyStatus===_96a; 11767}; 11768var _981=0,_982=[],_983={}; 11769_306.prototype.loadFileDependencies=function(_984){ 11770var _985=this._fileDependencyStatus; 11771if(_984){ 11772if(_985===_96a){ 11773return _984(); 11774} 11775this._fileDependencyCallbacks.push(_984); 11776} 11777if(_985===_968){ 11778if(_981){ 11779throw "Can't load"; 11780} 11781_986(this); 11782} 11783}; 11784_306.prototype.setExecutableUnloadedFileDependencies=function(){ 11785if(this._fileDependencyStatus===_96b){ 11786this._fileDependencyStatus=_968; 11787} 11788}; 11789_306.prototype.isExecutableCantStartLoadYetFileDependencies=function(){ 11790return this._fileDependencyStatus===_96b; 11791}; 11792function _986(_987){ 11793_982.push(_987); 11794_987._fileDependencyStatus=_969; 11795var _988=_987.fileDependencies(),_a0=0,_989=_988.length,_98a=_987.referenceURL(),_98b=_98a.absoluteString(),_98c=_987.fileExecutableSearcher(); 11796_981+=_989; 11797for(;_a0<_989;++_a0){ 11798var _98d=_988[_a0],_98e=_98d.isLocal(),URL=_98d.URL(),_98f=(_98e&&_98b+" "||"")+URL; 11799if(_983[_98f]){ 11800if(--_981===0){ 11801_990(); 11802} 11803continue; 11804} 11805_983[_98f]=YES; 11806_98c(URL,_98e,_991); 11807} 11808}; 11809function _991(_992){ 11810--_981; 11811if(_992._fileDependencyStatus===_968){ 11812_986(_992); 11813}else{ 11814if(_981===0){ 11815_990(); 11816} 11817} 11818}; 11819function _990(){
11820var _993=_982,_a0=0,_994=_993.length; 11821_982=[]; 11822for(;_a0<_994;++_a0){ 11823_993[_a0]._fileDependencyStatus=_96a; 11824} 11825for(_a0=0;_a0<_994;++_a0){ 11826var _995=_993[_a0],_996=_995._fileDependencyCallbacks,_997=0,_998=_996.length; 11827for(;_997<_998;++_997){ 11828_996[_997](); 11829} 11830_995._fileDependencyCallbacks=[]; 11831} 11832}; 11833_306.prototype.referenceURL=function(){ 11834if(this._referenceURL===_32){ 11835this._referenceURL=new CFURL(".",this.URL()); 11836} 11837return this._referenceURL; 11838}; 11839_306.prototype.fileImporter=function(){ 11840return _306.fileImporterForURL(this.referenceURL()); 11841}; 11842_306.prototype.fileExecuter=function(){ 11843return _306.fileExecuterForURL(this.referenceURL()); 11844}; 11845_306.prototype.fileExecutableSearcher=function(){ 11846return _306.fileExecutableSearcherForURL(this.referenceURL()); 11847}; 11848var _999={}; 11849_306.fileExecuterForURL=function(aURL){ 11850var _99a=_1e4(aURL),_99b=_99a.absoluteString(),_99c=_999[_99b]; 11851if(!_99c){ 11852_99c=function(aURL,_99d,_99e){ 11853_306.fileExecutableSearcherForURL(_99a)(aURL,_99d,function(_99f){ 11854if(!_99f.hasLoadedFileDependencies()){ 11855throw "No executable loaded for file at URL "+aURL; 11856} 11857_99f.execute(_99e); 11858}); 11859}; 11860_999[_99b]=_99c; 11861} 11862return _99c; 11863}; 11864var _9a0={}; 11865_306.fileImporterForURL=function(aURL){ 11866var _9a1=_1e4(aURL),_9a2=_9a1.absoluteString(),_9a3=_9a0[_9a2]; 11867if(!_9a3){ 11868_9a3=function(aURL,_9a4,_9a5){ 11869_17d(); 11870_306.fileExecutableSearcherForURL(_9a1)(aURL,_9a4,function(_9a6){ 11871_9a6.loadFileDependencies(function(){ 11872_9a6.execute(); 11873_17e(); 11874if(_9a5){ 11875_9a5(); 11876} 11877}); 11878}); 11879}; 11880_9a0[_9a2]=_9a3; 11881} 11882return _9a3; 11883}; 11884var _9a7={},_9a8={}; 11885function _291(x){ 11886var _9a9=0; 11887for(var k in x){ 11888if(x.hasOwnProperty(k)){ 11889++_9a9; 11890} 11891} 11892return _9a9; 11893}; 11894_306.resetCachedFileExecutableSearchers=function(){ 11895_9a7={}; 11896_9a8={}; 11897_9a0={}; 11898_999={}; 11899_983={}; 11900}; 11901_306.fileExecutableSearcherForURL=function(_9aa){ 11902var _9ab=_9aa.absoluteString(),_9ac=_9a7[_9ab]; 11903if(!_9ac){ 11904var _9ad=_306.filenameTranslateDictionary?_306.filenameTranslateDictionary():null; 11905_9ac=function(aURL,_9ae,_9af){ 11906var _9b0=(_9ae&&_9aa||"")+aURL,_9b1=_9a8[_9b0]; 11907if(_9b1){ 11908return _9b2(_9b1); 11909} 11910var _9b3=aURL instanceof CFURL&&aURL.scheme(); 11911if(_9ae||_9b3){ 11912if(!_9b3){ 11913aURL=new CFURL(aURL,_9aa); 11914} 11915_1cd.resolveResourceAtURL(aURL,NO,_9b2,_9ad); 11916}else{ 11917_1cd.resolveResourceAtURLSearchingIncludeURLs(aURL,_9b2); 11918} 11919function _9b2(_9b4){ 11920if(!_9b4){ 11921var _9b5=_2.ObjJCompiler?_2.ObjJCompiler.currentCompileFile:null; 11922throw new Error("Could not load file at "+aURL+(_9b5?" when compiling "+_9b5:"")+"\nwith includeURLs: "+_1cd.includeURLs()); 11923} 11924_9a8[_9b0]=_9b4; 11925_9af(new _979(_9b4.URL(),_9ad)); 11926}; 11927}; 11928_9a7[_9ab]=_9ac; 11929} 11930return _9ac; 11931}; 11932var _9b6=55296; 11933var _9b7=56319; 11934var _9b8=56320; 11935var _9b9=57343; 11936var _9ba=65533; 11937var _9bb=[0,192,224,240,248,252]; 11938function _9bc(_9bd){ 11939var _9be=""; 11940var _9bf=0; 11941for(var i=0;i<_9bd.length;i++){ 11942var c=_9bd.charCodeAt(i); 11943if(c<128){ 11944continue; 11945} 11946if(i>_9bf){ 11947_9be+=_9bd.substring(_9bf,i); 11948} 11949if(c>=_9b6&&c<=_9b7){ 11950i++; 11951if(i<_9bd.length){ 11952var c2=_9bd.charCodeAt(i); 11953if(c2>=_9b8&&c2<=_9b9){ 11954c=(c-_9b6<<10)+(c2-_9b8)+65536; 11955}else{ 11956return null; 11957} 11958}else{ 11959return null; 11960} 11961}else{ 11962if(c>=_9b8&&c<=_9b9){ 11963return null; 11964} 11965} 11966_9bf=i+1; 11967enc=[]; 11968var cc=c; 11969if(cc>=1114112){ 11970cc=2048; 11971c=_9ba; 11972} 11973if(cc>=65536){ 11974enc.unshift(String.fromCharCode((c|128)&191)); 11975c>>=6; 11976} 11977if(cc>=2048){ 11978enc.unshift(String.fromCharCode((c|128)&191)); 11979c>>=6; 11980} 11981if(cc>=128){ 11982enc.unshift(String.fromCharCode((c|128)&191)); 11983c>>=6; 11984} 11985enc.unshift(String.fromCharCode(c|_9bb[enc.length])); 11986_9be+=enc.join(""); 11987} 11988if(_9bf===0){ 11989return _9bd; 11990} 11991if(i>_9bf){ 11992_9be+=_9bd.substring(_9bf,i); 11993} 11994return _9be; 11995}; 11996var _9c0={}; 11997var _9c1={}; 11998var _9c2=""; 11999function _979(aURL,_9c3){ 12000aURL=_1e4(aURL); 12001var _9c4=aURL.absoluteString(),_9c5=_9c0[_9c4]; 12002if(_9c5){ 12003return _9c5; 12004} 12005_9c0[_9c4]=this; 12006var _9c6=(_1cd.resourceAtURL(aURL)).contents(),_9c7=NULL,_9c8=(aURL.pathExtension()).toLowerCase(); 12007this._hasExecuted=NO; 12008if(_9c6.match(/^@STATIC;/)){ 12009_9c7=_9c9(_9c6,aURL); 12010}else{ 12011if((_9c8==="j"||!_9c8)&&!_9c6.match(/^{/)){ 12012var _9ca=_9c1||{}; 12013this.cachedIncludeFileSearchResultsContent={}; 12014this.cachedIncludeFileSearchResultsURL={}; 12015_9cb(this,_9c6,aURL,_9ca,_9c3); 12016return; 12017}else{ 12018_9c7=new _306(_9c6,[],aURL); 12019} 12020} 12021_306.apply(this,[_9c7.code(),_9c7.fileDependencies(),aURL,_9c7._function,_9c7._compiler,_9c3]); 12022}; 12023_2.FileExecutable=_979; 12024_979.prototype=new _306(); 12025var _9cb=function(self,_9cc,aURL,_9cd,_9ce){ 12026var _9cf=_9cd.acornOptions||(_9cd.acornOptions={}); 12027_9cf.preprocessGetIncludeFile=function(_9d0,_9d1){ 12028var _9d2=new CFURL(".",aURL),_9d3=new CFURL(_9d0);
12029var _9d4=(_9d1&&_9d2||"")+_9d3,_9d5=self.cachedIncludeFileSearchResultsContent[_9d4]; 12030if(!_9d5){ 12031var _9d6=_9d3 instanceof CFURL&&_9d3.scheme(),_9d7=NO; 12032function _9d8(_9d9){ 12033var _9da=_9d9&&_9d9.contents(),_9db=_9da&&_9da.charCodeAt(_9da.length-1); 12034if(_9da==null){ 12035throw new Error("Can't load file "+_9d3); 12036} 12037if(_9db!==10&&_9db!==13&&_9db!==8232&&_9db!==8233){ 12038_9da+="\n"; 12039} 12040self.cachedIncludeFileSearchResultsContent[_9d4]=_9da; 12041self.cachedIncludeFileSearchResultsURL[_9d4]=_9d9.URL(); 12042if(_9d7){ 12043_9cb(self,_9cc,aURL,_9cd,_9ce); 12044} 12045}; 12046if(_9d1||_9d6){ 12047if(!_9d6){ 12048_9d3=new CFURL(_9d3,new CFURL(_9ce[aURL.lastPathComponent()]||".",_9d2)); 12049} 12050_1cd.resolveResourceAtURL(_9d3,NO,_9d8); 12051}else{ 12052_1cd.resolveResourceAtURLSearchingIncludeURLs(_9d3,_9d8); 12053} 12054_9d5=self.cachedIncludeFileSearchResultsContent[_9d4]; 12055} 12056if(_9d5){ 12057return {include:_9d5,sourceFile:self.cachedIncludeFileSearchResultsURL[_9d4]}; 12058}else{ 12059_9d7=YES; 12060return null; 12061} 12062}; 12063var _9dc=_9c1&&_9c1.includeFiles,_9dd=true; 12064_9cf.preIncludeFiles=[]; 12065if(_9dc){ 12066for(var i=0,size=_9dc.length;i<size;i++){ 12067var _9de=_1e4(_9dc[i]); 12068try{ 12069var _9df=_1cd.resourceAtURL(_1e4(_9de)); 12070} 12071catch(e){ 12072_1cd.resolveResourcesAtURLs(_9dc.map(function(u){ 12073return _1e4(u); 12074}),function(){ 12075_9cb(self,_9cc,aURL,_9cd,_9ce); 12076}); 12077_9dd=false; 12078break; 12079} 12080if(_9df){ 12081if(_9df.isNotFound()){ 12082throw new Error("--include file not found "+includeUrl); 12083} 12084var _9e0=_9df.contents(); 12085var _9e1=_9e0.charCodeAt(_9e0.length-1); 12086if(_9e1!==10&&_9e1!==13&&_9e1!==8232&&_9e1!==8233){ 12087_9e0+="\n"; 12088} 12089_9cf.preIncludeFiles.push({include:_9e0,sourceFile:_9de.toString()}); 12090} 12091} 12092} 12093if(_9dd){ 12094var _9e2=_2.ObjJCompiler.compileFileDependencies(_9cc,aURL,_9cd); 12095var _9e3=_9e2.warningsAndErrors; 12096if(_9e3&&_9e3.length===1&&_9e3[0].message.indexOf("file not found")>-1){ 12097return; 12098} 12099if(_979.printWarningsAndErrors(_9e2,_2.messageOutputFormatInXML)){ 12100throw "Compilation error"; 12101} 12102var _9e4=_9e2.dependencies.map(function(_9e5){ 12103return new _335(new CFURL(_9e5.url),_9e5.isLocal); 12104}); 12105} 12106if(self.isExecutableCantStartLoadYetFileDependencies()){ 12107self.setFileDependencies(_9e4); 12108self.setExecutableUnloadedFileDependencies(); 12109self.loadFileDependencies(); 12110}else{ 12111if(self._fileDependencyStatus==null){ 12112executable=new _306(_9e2&&_9e2.jsBuffer?_9e2.jsBuffer.toString():null,_9e4,aURL,null,_9e2); 12113_306.apply(self,[executable.code(),executable.fileDependencies(),aURL,executable._function,executable._compiler,_9ce]); 12114} 12115} 12116}; 12117_979.resetFileExecutables=function(){ 12118_9c0={}; 12119_9e6={}; 12120}; 12121_979.prototype.execute=function(_9e7){ 12122if(this._hasExecuted&&!_9e7){ 12123return; 12124} 12125this._hasExecuted=YES; 12126_306.prototype.execute.call(this); 12127}; 12128_979.prototype.hasExecuted=function(){ 12129return this._hasExecuted; 12130}; 12131function _9c9(_9e8,aURL){ 12132var _9e9=new _11f(_9e8); 12133var _9ea=NULL,code="",_9eb=[],_9ec; 12134while(_9ea=_9e9.getMarker()){ 12135var text=_9e9.getString(); 12136if(_9ea===_264){ 12137code+=text; 12138}else{ 12139if(_9ea===_265){ 12140_9eb.push(new _335(new CFURL(text),NO)); 12141}else{ 12142if(_9ea===_266){ 12143_9eb.push(new _335(new CFURL(text),YES)); 12144}else{ 12145if(_9ea===MARKER_SOURCE_MAP){ 12146_9ec=text; 12147} 12148} 12149} 12150} 12151} 12152var fn=_979._lookupCachedFunction(aURL); 12153if(fn){ 12154return new _306(code,_9eb,aURL,fn,null,null,_9ec); 12155} 12156return new _306(code,_9eb,aURL,null,null,null,_9ec); 12157}; 12158var _9e6={}; 12159_979._cacheFunction=function(aURL,fn){ 12160aURL=typeof aURL==="string"?aURL:aURL.absoluteString(); 12161_9e6[aURL]=fn; 12162}; 12163_979._lookupCachedFunction=function(aURL){ 12164aURL=typeof aURL==="string"?aURL:aURL.absoluteString(); 12165return _9e6[aURL]; 12166}; 12167_979.setCurrentGccCompilerFlags=function(_9ed){ 12168if(_9c2===_9ed){ 12169return; 12170} 12171_9c2=_9ed; 12172var _9ee=_2.ObjJCompiler.parseGccCompilerFlags(_9ed); 12173_979.setCurrentCompilerFlags(_9ee); 12174}; 12175_979.currentGccCompilerFlags=function(_9ef){ 12176return _9c2; 12177}; 12178_979.setCurrentCompilerFlags=function(_9f0){ 12179_9c1=_9f0; 12180if(_9c1.transformNamedFunctionDeclarationToAssignment==null){ 12181_9c1.transformNamedFunctionDeclarationToAssignment=true; 12182} 12183if(_9c1.sourceMap==null){ 12184_9c1.sourceMap=false; 12185} 12186if(_9c1.inlineMsgSendFunctions==null){ 12187_9c1.inlineMsgSendFunctions=false; 12188} 12189}; 12190_979.currentCompilerFlags=function(_9f1){ 12191return _9c1; 12192}; 12193_979.printWarningsAndErrors=function(_9f2,_9f3){ 12194var _9f4=[],_9f5=false; 12195for(var i=0;i<_9f2.warningsAndErrors.length;i++){ 12196var _9f6=_9f2.warningsAndErrors[i],_9f7=_9f2.prettifyMessage(_9f6); 12197_9f5=_9f5||_9f6.messageType==="ERROR"; 12198console.log(_9f7); 12199} 12200return _9f5; 12201}; 12202_979.setCurrentCompilerFlags({}); 12203var _9f8=1,_9f9=2,_9fa=4,_9fb=8; 12204objj_ivar=function(_9fc,_9fd){ 12205this.name=_9fc; 12206this.type=_9fd; 12207}; 12208objj_method=function(_9fe,_9ff,_a00){ 12209var _a01=_9ff||function(_a02,_a03){ 12210CPException.isa.objj_msgSend2(CPException,"raise:reason:",CPInternalInconsistencyException,_a02.isa.method_msgSend0(self,"className")+" does not have an implementation for selector '"+_a03+"'"); 12211}; 12212_a01.method_name=_9fe; 12213_a01.method_imp=_9ff; 12214_a01.method_types=_a00; 12215return _a01; 12216}; 12217objj_class=function(_a04){ 12218this.isa=NULL; 12219this.version=0; 12220this.super_class=NULL; 12221this.name=NULL; 12222this.info=0; 12223this.ivar_list=[]; 12224this.ivar_store=function(){ 12225}; 12226this.ivar_dtable=this.ivar_store.prototype; 12227this.method_list=[]; 12228this.method_store=function(){ 12229}; 12230this.method_dtable=this.method_store.prototype; 12231this.protocol_list=[]; 12232this.allocator=function(){ 12233}; 12234this._UID=-1; 12235}; 12236objj_protocol=function(_a05){ 12237this.name=_a05; 12238this.instance_methods={}; 12239this.class_methods={}; 12240}; 12241objj_object=function(){ 12242this.isa=NULL; 12243this._UID=-1; 12244}; 12245objj_typeDef=function(_a06){ 12246this.name=_a06; 12247}; 12248class_getName=function(_a07){ 12249if(_a07==Nil){ 12250return ""; 12251} 12252return _a07.name; 12253}; 12254class_isMetaClass=function(_a08){ 12255if(!_a08){ 12256return NO; 12257} 12258return _a08.info&_9f9; 12259}; 12260class_getSuperclass=function(_a09){ 12261if(_a09==Nil){ 12262return Nil; 12263} 12264return _a09.super_class; 12265}; 12266class_setSuperclass=function(_a0a,_a0b){ 12267_a0a.super_class=_a0b; 12268_a0a.isa.super_class=_a0b.isa; 12269}; 12270class_addIvar=function(_a0c,_a0d,_a0e){ 12271var _a0f=_a0c.allocator.prototype; 12272if(typeof _a0f[_a0d]!="undefined"){ 12273return NO; 12274} 12275var ivar=new objj_ivar(_a0d,_a0e); 12276_a0c.ivar_list.push(ivar); 12277_a0c.ivar_dtable[_a0d]=ivar; 12278_a0f[_a0d]=NULL; 12279return YES; 12280}; 12281class_addIvars=function(_a10,_a11){ 12282var _a12=0,_a13=_a11.length,_a14=_a10.allocator.prototype; 12283for(;_a12<_a13;++_a12){ 12284var ivar=_a11[_a12],name=ivar.name; 12285if(typeof _a14[name]==="undefined"){ 12286_a10.ivar_list.push(ivar);
12287_a10.ivar_dtable[name]=ivar; 12288_a14[name]=NULL; 12289} 12290} 12291}; 12292class_copyIvarList=function(_a15){ 12293return _a15.ivar_list.slice(0); 12294}; 12295class_addMethod=function(_a16,_a17,_a18,_a19){ 12296var _a1a=new objj_method(_a17,_a18,_a19); 12297_a16.method_list.push(_a1a); 12298_a16.method_dtable[_a17]=_a1a; 12299if(!(_a16.info&_9f9)&&(_a16.info&_9f9?_a16:_a16.isa).isa===(_a16.info&_9f9?_a16:_a16.isa)){ 12300class_addMethod(_a16.info&_9f9?_a16:_a16.isa,_a17,_a18,_a19); 12301} 12302return YES; 12303}; 12304class_addMethods=function(_a1b,_a1c){ 12305var _a1d=0,_a1e=_a1c.length,_a1f=_a1b.method_list,_a20=_a1b.method_dtable; 12306for(;_a1d<_a1e;++_a1d){ 12307var _a21=_a1c[_a1d]; 12308_a1f.push(_a21); 12309_a20[_a21.method_name]=_a21; 12310} 12311if(!(_a1b.info&_9f9)&&(_a1b.info&_9f9?_a1b:_a1b.isa).isa===(_a1b.info&_9f9?_a1b:_a1b.isa)){ 12312class_addMethods(_a1b.info&_9f9?_a1b:_a1b.isa,_a1c); 12313} 12314}; 12315class_getInstanceMethod=function(_a22,_a23){ 12316if(!_a22||!_a23){ 12317return NULL; 12318} 12319var _a24=_a22.method_dtable[_a23]; 12320return _a24?_a24:NULL; 12321}; 12322class_getInstanceVariable=function(_a25,_a26){ 12323if(!_a25||!_a26){ 12324return NULL; 12325} 12326var _a27=_a25.ivar_dtable[_a26]; 12327return _a27; 12328}; 12329class_getClassMethod=function(_a28,_a29){ 12330if(!_a28||!_a29){ 12331return NULL; 12332} 12333var _a2a=(_a28.info&_9f9?_a28:_a28.isa).method_dtable[_a29]; 12334return _a2a?_a2a:NULL; 12335};
12336class_respondsToSelector=function(_a2b,_a2c){ 12337return class_getClassMethod(_a2b,_a2c)!=NULL; 12338}; 12339class_copyMethodList=function(_a2d){ 12340return _a2d.method_list.slice(0); 12341}; 12342class_getVersion=function(_a2e){ 12343return _a2e.version; 12344}; 12345class_setVersion=function(_a2f,_a30){ 12346_a2f.version=parseInt(_a30,10); 12347}; 12348class_replaceMethod=function(_a31,_a32,_a33){ 12349if(!_a31||!_a32){ 12350return NULL; 12351} 12352var _a34=_a31.method_dtable[_a32],_a35=_a34.method_imp,_a36=new objj_method(_a34.method_name,_a33,_a34.method_types); 12353_a36.displayName=_a34.displayName; 12354_a31.method_dtable[_a32]=_a36; 12355var _a37=_a31.method_list.indexOf(_a34); 12356if(_a37!==-1){ 12357_a31.method_list[_a37]=_a36; 12358}else{ 12359_a31.method_list.push(_a36); 12360} 12361return _a35; 12362}; 12363class_addProtocol=function(_a38,_a39){ 12364if(!_a39||class_conformsToProtocol(_a38,_a39)){ 12365return; 12366} 12367(_a38.protocol_list||(_a38.protocol_list=[])).push(_a39); 12368return true; 12369}; 12370class_conformsToProtocol=function(_a3a,_a3b){ 12371if(!_a3b){ 12372return false; 12373} 12374while(_a3a){ 12375var _a3c=_a3a.protocol_list,size=_a3c?_a3c.length:0; 12376for(var i=0;i<size;i++){ 12377var p=_a3c[i]; 12378if(p.name===_a3b.name){ 12379return true; 12380} 12381if(protocol_conformsToProtocol(p,_a3b)){ 12382return true; 12383} 12384} 12385_a3a=class_getSuperclass(_a3a); 12386} 12387return false; 12388}; 12389class_copyProtocolList=function(_a3d){ 12390var _a3e=_a3d.protocol_list; 12391return _a3e?_a3e.slice(0):[]; 12392}; 12393protocol_conformsToProtocol=function(p1,p2){ 12394if(!p1||!p2){ 12395return false; 12396} 12397if(p1.name===p2.name){ 12398return true; 12399} 12400var _a3f=p1.protocol_list,size=_a3f?_a3f.length:0; 12401for(var i=0;i<size;i++){ 12402var p=_a3f[i]; 12403if(p.name===p2.name){ 12404return true; 12405} 12406if(protocol_conformsToProtocol(p,p2)){ 12407return true; 12408} 12409} 12410return false; 12411}; 12412var _a40=Object.create(null); 12413objj_allocateProtocol=function(_a41){ 12414var _a42=new objj_protocol(_a41); 12415return _a42; 12416}; 12417objj_registerProtocol=function(_a43){ 12418_a40[_a43.name]=_a43; 12419}; 12420protocol_getName=function(_a44){ 12421return _a44.name; 12422}; 12423protocol_addMethodDescription=function(_a45,_a46,_a47,_a48,_a49){ 12424if(!_a45||!_a46){ 12425return; 12426} 12427if(_a48){ 12428(_a49?_a45.instance_methods:_a45.class_methods)[_a46]=new objj_method(_a46,null,_a47); 12429} 12430}; 12431protocol_addMethodDescriptions=function(_a4a,_a4b,_a4c,_a4d){ 12432if(!_a4c){ 12433return; 12434} 12435var _a4e=0,_a4f=_a4b.length,_a50=_a4d?_a4a.instance_methods:_a4a.class_methods; 12436for(;_a4e<_a4f;++_a4e){ 12437var _a51=_a4b[_a4e]; 12438_a50[_a51.method_name]=_a51; 12439} 12440}; 12441protocol_copyMethodDescriptionList=function(_a52,_a53,_a54){ 12442if(!_a53){ 12443return []; 12444} 12445var _a55=_a54?_a52.instance_methods:_a52.class_methods,_a56=[]; 12446for(var _a57 in _a55){ 12447if(_a55.hasOwnProperty(_a57)){ 12448_a56.push(_a55[_a57]); 12449} 12450} 12451return _a56; 12452}; 12453protocol_addProtocol=function(_a58,_a59){ 12454if(!_a58||!_a59){ 12455return; 12456} 12457(_a58.protocol_list||(_a58.protocol_list=[])).push(_a59); 12458}; 12459var _a5a=Object.create(null); 12460objj_allocateTypeDef=function(_a5b){ 12461var _a5c=new objj_typeDef(_a5b); 12462return _a5c; 12463}; 12464objj_registerTypeDef=function(_a5d){ 12465_a5a[_a5d.name]=_a5d; 12466}; 12467typeDef_getName=function(_a5e){ 12468return _a5e.name; 12469}; 12470var _a5f=function(_a60){ 12471var meta=_a60.info&_9f9?_a60:_a60.isa; 12472if(_a60.info&_9f9){ 12473_a60=objj_getClass(_a60.name); 12474} 12475if(_a60.super_class&&!((_a60.super_class.info&_9f9?_a60.super_class:_a60.super_class.isa).info&_9fa)){ 12476_a5f(_a60.super_class); 12477} 12478if(!(meta.info&_9fa)&&!(meta.info&_9fb)){ 12479meta.info=(meta.info|_9fb)&~0; 12480_a60.objj_msgSend=objj_msgSendFast; 12481_a60.objj_msgSend0=objj_msgSendFast0; 12482_a60.objj_msgSend1=objj_msgSendFast1; 12483_a60.objj_msgSend2=objj_msgSendFast2; 12484_a60.objj_msgSend3=objj_msgSendFast3; 12485meta.objj_msgSend=objj_msgSendFast; 12486meta.objj_msgSend0=objj_msgSendFast0; 12487meta.objj_msgSend1=objj_msgSendFast1; 12488meta.objj_msgSend2=objj_msgSendFast2; 12489meta.objj_msgSend3=objj_msgSendFast3; 12490_a60.method_msgSend=_a60.method_dtable; 12491meta.method_msgSend=meta.method_dtable; 12492meta.objj_msgSend0(_a60,"initialize"); 12493meta.info=(meta.info|_9fa)&~_9fb; 12494} 12495}; 12496_objj_forward=function(self,_a61){ 12497var isa=self.isa,meta=isa.info&_9f9?isa:isa.isa; 12498if(!(meta.info&_9fa)&&!(meta.info&_9fb)){ 12499_a5f(isa); 12500} 12501var _a62=isa.method_msgSend[_a61]; 12502if(_a62){ 12503return _a62.apply(isa,arguments); 12504} 12505_a62=isa.method_dtable[_a63]; 12506if(_a62){ 12507var _a64=_a62(self,_a63,_a61); 12508if(_a64&&_a64!==self){ 12509arguments[0]=_a64; 12510return _a64.isa.objj_msgSend.apply(_a64.isa,arguments); 12511} 12512} 12513_a62=isa.method_dtable[_a65]; 12514if(_a62){ 12515var _a66=isa.method_dtable[_a67]; 12516if(_a66){ 12517var _a68=_a62(self,_a65,_a61); 12518if(_a68){ 12519var _a69=objj_lookUpClass("CPInvocation"); 12520if(_a69){ 12521var _a6a=_a69.isa.objj_msgSend1(_a69,_a6b,_a68),_a0=0,_a6c=arguments.length; 12522if(_a6a!=null){ 12523var _a6d=_a6a.isa; 12524for(;_a0<_a6c;++_a0){ 12525_a6d.objj_msgSend2(_a6a,_a6e,arguments[_a0],_a0); 12526} 12527} 12528_a66(self,_a67,_a6a); 12529return _a6a==null?null:_a6d.objj_msgSend0(_a6a,_a6f); 12530} 12531} 12532} 12533} 12534_a62=isa.method_dtable[_a70]; 12535if(_a62){ 12536return _a62(self,_a70,_a61); 12537} 12538throw class_getName(isa)+" does not implement doesNotRecognizeSelector:. Did
12538you forget a superclass for "+class_getName(isa)+"?"; 12539}; 12540class_getMethodImplementation=function(_a71,_a72){ 12541if(!((_a71.info&_9f9?_a71:_a71.isa).info&_9fa)){ 12542_a5f(_a71); 12543} 12544var _a73=_a71.method_dtable[_a72]||_objj_forward; 12545return _a73; 12546}; 12547var _a74=Object.create(null); 12548objj_enumerateClassesUsingBlock=function(_a75){ 12549for(var key in _a74){ 12550_a75(_a74[key]); 12551} 12552}; 12553objj_allocateClassPair=function(_a76,_a77){ 12554var _a78=new objj_class(_a77),_a79=new objj_class(_a77),_a7a=_a78; 12555if(_a76){ 12556_a7a=_a76; 12557while(_a7a.superclass){ 12558_a7a=_a7a.superclass; 12559} 12560_a78.allocator.prototype=new _a76.allocator(); 12561_a78.ivar_dtable=_a78.ivar_store.prototype=new _a76.ivar_store(); 12562_a78.method_dtable=_a78.method_store.prototype=new _a76.method_store(); 12563_a79.method_dtable=_a79.method_store.prototype=new _a76.isa.method_store(); 12564_a78.super_class=_a76; 12565_a79.super_class=_a76.isa; 12566}else{ 12567_a78.allocator.prototype=new objj_object(); 12568} 12569_a78.isa=_a79; 12570_a78.name=_a77; 12571_a78.info=_9f8; 12572_a78._UID=objj_generateObjectUID(); 12573_a78.init=true; 12574_a79.isa=_a7a.isa; 12575_a79.name=_a77; 12576_a79.info=_9f9; 12577_a79._UID=objj_generateObjectUID(); 12578_a79.init=true; 12579return _a78; 12580}; 12581var _97b=nil; 12582objj_registerClassPair=function(_a7b){ 12583_1[_a7b.name]=_a7b; 12584_a74[_a7b.name]=_a7b; 12585_1eb(_a7b,_97b); 12586}; 12587objj_resetRegisterClasses=function(){ 12588for(var key in _a74){ 12589delete _1[key]; 12590} 12591_a74=Object.create(null); 12592_a40=Object.create(null); 12593_a5a=Object.create(null); 12594_1ee(); 12595}; 12596class_createInstance=function(_a7c){ 12597if(!_a7c){ 12598throw new Error("*** Attempting to create object with Nil class."); 12599} 12600var _a7d=new _a7c.allocator(); 12601_a7d.isa=_a7c; 12602_a7d._UID=objj_generateObjectUID(); 12603return _a7d; 12604}; 12605var _a7e=function(){ 12606}; 12607_a7e.prototype.member=false; 12608with(new _a7e()){ 12609member=true; 12610} 12611if((new _a7e()).member){ 12612var _a7f=class_createInstance; 12613class_createInstance=function(_a80){ 12614var _a81=_a7f(_a80); 12615if(_a81){ 12616var _a82=_a81.isa,_a83=_a82; 12617while(_a82){ 12618var _a84=_a82.ivar_list,_a85=_a84.length; 12619while(_a85--){ 12620_a81[_a84[_a85].name]=NULL; 12621} 12622_a82=_a82.super_class; 12623} 12624_a81.isa=_a83; 12625} 12626return _a81; 12627}; 12628} 12629object_getClassName=function(_a86){ 12630if(!_a86){ 12631return ""; 12632} 12633var _a87=_a86.isa; 12634return _a87?class_getName(_a87):""; 12635}; 12636objj_lookUpClass=function(_a88){ 12637var _a89=_a74[_a88]; 12638return _a89?_a89:Nil; 12639}; 12640objj_getClass=function(_a8a){ 12641var _a8b=_a74[_a8a]; 12642if(!_a8b){ 12643} 12644return _a8b?_a8b:Nil; 12645}; 12646objj_getClassList=function(_a8c,_a8d){ 12647for(var _a8e in _a74){ 12648_a8c.push(_a74[_a8e]); 12649if(_a8d&&--_a8d===0){ 12650break; 12651} 12652} 12653return _a8c.length; 12654}; 12655objj_getMetaClass=function(_a8f){ 12656var _a90=objj_getClass(_a8f); 12657return _a90.info&_9f9?_a90:_a90.isa; 12658}; 12659objj_getProtocol=function(_a91){ 12660return _a40[_a91]; 12661}; 12662objj_getTypeDef=function(_a92){ 12663return _a5a[_a92]; 12664}; 12665ivar_getName=function(_a93){ 12666return _a93.name; 12667}; 12668ivar_getTypeEncoding=function(_a94){ 12669return _a94.type; 12670}; 12671objj_msgSend=function(_a95,_a96){ 12672if(_a95==nil){ 12673return nil; 12674} 12675var isa=_a95.isa; 12676if(isa.init){ 12677_a5f(isa); 12678} 12679var _a97=isa.method_dtable[_a96]; 12680var _a98=_a97?_a97.method_imp:_objj_forward; 12681switch(arguments.length){ 12682case 2: 12683return _a98(_a95,_a96); 12684case 3: 12685return _a98(_a95,_a96,arguments[2]); 12686case 4: 12687return _a98(_a95,_a96,arguments[2],arguments[3]); 12688case 5: 12689return _a98(_a95,_a96,arguments[2],arguments[3],arguments[4]); 12690case 6: 12691return _a98(_a95,_a96,arguments[2],arguments[3],arguments[4],arguments[5]); 12692case 7: 12693return _a98(_a95,_a96,arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]); 12694} 12695return _a98.apply(_a95,arguments); 12696}; 12697objj_msgSendSuper=function(_a99,_a9a){ 12698var _a9b=_a99.super_class; 12699arguments[0]=_a99.receiver; 12700if(!((_a9b.info&_9f9?_a9b:_a9b.isa).info&_9fa)){ 12701_a5f(_a9b); 12702} 12703var _a9c=_a9b.method_dtable[_a9a]||_objj_forward; 12704return _a9c.apply(_a99.receiver,arguments); 12705}; 12706objj_msgSendSuper0=function(_a9d,_a9e){ 12707return (_a9d.super_class.method_dtable[_a9e]||_objj_forward)(_a9d.receiver,_a9e); 12708}; 12709objj_msgSendSuper1=function(_a9f,_aa0,arg0){ 12710return (_a9f.super_class.method_dtable[_aa0]||_objj_forward)(_a9f.receiver,_aa0,arg0); 12711}; 12712objj_msgSendSuper2=function(_aa1,_aa2,arg0,arg1){ 12713return (_aa1.super_class.method_dtable[_aa2]||_objj_forward)(_aa1.receiver,_aa2,arg0,arg1); 12714}; 12715objj_msgSendSuper3=function(_aa3,_aa4,arg0,arg1,arg2){ 12716return (_aa3.super_class.method_dtable[_aa4]||_objj_forward)(_aa3.receiver,_aa4,arg0,arg1,arg2); 12717}; 12718objj_msgSendFast=function(_aa5,_aa6){ 12719return (this.method_dtable[_aa6]||_objj_forward).apply(_aa5,arguments); 12720}; 12721var _aa7=function(_aa8,_aa9){ 12722_a5f(this); 12723return this.objj_msgSend.apply(this,arguments); 12724}; 12725objj_msgSendFast0=function(_aaa,_aab){ 12726return (this.method_dtable[_aab]||_objj_forward)(_aaa,_aab); 12727}; 12728var _aac=function(_aad,_aae){ 12729_a5f(this); 12730return this.objj_msgSend0(_aad,_aae); 12731}; 12732objj_msgSendFast1=function(_aaf,_ab0,arg0){ 12733return (this.method_dtable[_ab0]||_objj_forward)(_aaf,_ab0,arg0); 12734}; 12735var _ab1=function(_ab2,_ab3,arg0){ 12736_a5f(this); 12737return this.objj_msgSend1(_ab2,_ab3,arg0); 12738}; 12739objj_msgSendFast2=function(_ab4,_ab5,arg0,arg1){ 12740return (this.method_dtable[_ab5]||_objj_forward)(_ab4,_ab5,arg0,arg1); 12741}; 12742var _ab6=function(_ab7,_ab8,arg0,arg1){ 12743_a5f(this); 12744return this.objj_msgSend2(_ab7,_ab8,arg0,arg1); 12745}; 12746objj_msgSendFast3=function(_ab9,_aba,arg0,arg1,arg2){ 12747return (this.method_dtable[_aba]||_objj_forward)(_ab9,_aba,arg0,arg1,arg2); 12748}; 12749var _abb=function(_abc,_abd,arg0,arg1,arg2){ 12750_a5f(this); 12751return this.objj_msgSend3(_abc,_abd,arg0,arg1,arg2); 12752}; 12753method_getName=function(_abe){ 12754return _abe.method_name; 12755}; 12756method_copyReturnType=function(_abf){ 12757var _ac0=_abf.method_types; 12758if(_ac0){ 12759var _ac1=_ac0[0]; 12760return _ac1!=NULL?_ac1:NULL; 12761}else{ 12762return NULL; 12763} 12764}; 12765method_copyArgumentType=function(_ac2,_ac3){ 12766switch(_ac3){ 12767case 0: 12768return "id"; 12769case 1: 12770return "SEL"; 12771default: 12772var _ac4=_ac2.method_types; 12773if(_ac4){ 12774var _ac5=_ac4[_ac3-1]; 12775return _ac5!=NULL?_ac5:NULL; 12776}else{ 12777return NULL; 12778} 12779} 12780}; 12781method_getNumberOfArguments=function(_ac6){ 12782var _ac7=_ac6.method_types; 12783return _ac7?_ac7.length+1:(_ac6.method_name.match(/:/g)||[]).length+2; 12784}; 12785method_getImplementation=function(_ac8){ 12786return _ac8.method_imp; 12787}; 12788method_setImplementation=function(_ac9,_aca){ 12789var _acb=_ac9.method_imp; 12790_ac9.method_imp=_aca; 12791return _acb; 12792}; 12793method_exchangeImplementations=function(lhs,rhs){ 12794var _acc=method_getImplementation(lhs),_acd=method_getImplementation(rhs); 12795method_setImplementation(lhs,_acd); 12796method_setImplementation(rhs,_acc); 12797}; 12798sel_getName=function(_ace){ 12799return _ace?_ace:"<null selector>"; 12800}; 12801sel_getUid=function(_acf){ 12802return _acf; 12803}; 12804sel_isEqual=function(lhs,rhs){ 12805return lhs===rhs; 12806}; 12807sel_registerName=function(_ad0){ 12808return _ad0; 12809}; 12810objj_class.prototype.toString=objj_object.prototype.toString=function(){ 12811var isa=this.isa; 12812if(class_getInstanceMethod(isa,_ad1)){ 12813return isa.objj_msgSend0(this,_ad1); 12814} 12815if(class_isMetaClass(isa)){ 12816return this.name; 12817} 12818return "["+isa.name+" Object](-description not implemented)"; 12819}; 12820objj_class.prototype.objj_msgSend=_aa7; 12821objj_class.prototype.objj_msgSend0=_aac; 12822objj_class.prototype.objj_msgSend1=_ab1; 12823objj_class.prototype.objj_msgSend2=_ab6; 12824objj_class.prototype.objj_msgSend3=_abb; 12825objj_class.prototype.method_msgSend=Object.create(null); 12826var _ad1=sel_getUid("description"),_a63=sel_getUid("forwardingTargetForSelector:"),_a65=sel_getUid("methodSignatureForSelector:"),_a67=sel_getUid("forwardInvocation:"),_a70=sel_getUid("doesNotRecognizeSelector:"),_a6b=sel_getUid("invocationWithMethodSignature:"),_ad2=sel_getUid("setTarget:"),_ad3=sel_getUid("setSelector:"),_a6e=sel_getUid("setArgument:atIndex:"),_a6f=sel_getUid("returnValue"); 12827objj_eval=function(_ad4){ 12828var url=_2.pageURL; 12829var _ad5=_2.asyncLoader; 12830_2.asyncLoader=NO; 12831var _ad6=_2.preprocess(_ad4,url,0); 12832if(!_ad6.hasLoadedFileDependencies()){ 12833_ad6.loadFileDependencies(); 12834} 12835_1._objj_eval_scope={}; 12836_1._objj_eval_scope.objj_executeFile=_306.fileExecuterForURL(url); 12837_1._objj_eval_scope.objj_importFile=_306.fileImporterForURL(url); 12838var code="with(_objj_eval_scope){"+_ad6._code+"\n//*/\n}"; 12839var _ad7; 12840_ad7=eval(code); 12841_2.asyncLoader=_ad5; 12842return _ad7; 12843}; 12844_2.objj_eval=objj_eval; 12845_17d(); 12846var _ad8=new CFURL(window.location.href),_ad9=document.getElementsByTagName("base"),_ada=_ad9.length; 12847if(_ada>0){ 12848var _adb=_ad9[_ada-1],_adc=_adb&&_adb.getAttribute("href"); 12849if(_adc){ 12850_ad8=new CFURL(_adc,_ad8); 12851} 12852} 12853if(typeof OBJJ_COMPILER_FLAGS!=="undefined"){ 12854var _add={}; 12855for(var i=0;i<OBJJ_COMPILER_FLAGS.length;i++){ 12856switch(OBJJ_COMPILER_FLAGS[i]){ 12857case "IncludeDebugSymbols": 12858_add.includeMethodFunctionNames=true; 12859break; 12860case "IncludeTypeSignatures": 12861_add.includeIvarTypeSignatures=true; 12862_add.includeMethodArgumentTypeSignatures=true; 12863break; 12864case "InlineMsgSend": 12865_add.inlineMsgSendFunctions=true; 12866break; 12867case "SourceMap": 12868_add.sourceMap=true; 12869break; 12870} 12871} 12872_979.setCurrentCompilerFlags(_add); 12873} 12874var _ade=new CFURL(window.OBJJ_MAIN_FILE||"main.j"),_1ea=(new CFURL(".",new CFURL(_ade,_ad8))).absoluteURL(),_adf=(new CFURL("..",_1ea)).absoluteURL(); 12875if(_1ea===_adf){ 12876_adf=new CFURL(_adf.schemeAndAuthority()); 12877} 12878_1cd.resourceAtURL(_adf,YES); 12879_2.pageURL=_ad8; 12880_2.bootstrap=function(){ 12881_ae0(); 12882}; 12883function _ae0(){ 12884_1cd.resolveResourceAtURL(_1ea,YES,function(_ae1){ 12885var _ae2=_1cd.includeURLs(),_a0=0,_ae3=_ae2.length; 12886for(;_a0<_ae3;++_a0){ 12887_ae1.resourceAtURL(_ae2[_a0],YES); 12888} 12889_306.fileImporterForURL(_1ea)(_ade.lastPathComponent(),YES,function(){ 12890_17e(); 12891_ae9(function(){ 12892var _ae4=window.location.hash.substring(1),args=[]; 12893if(_ae4.length){ 12894args=_ae4.split("/"); 12895for(var i=0,_ae3=args.length;i<_ae3;i++){ 12896args[i]=decodeURIComponent(args[i]); 12897} 12898} 12899var _ae5=(window.location.search.substring(1)).split("&"),_ae6=new CFMutableDictionary(); 12900for(var i=0,_ae3=_ae5.length;i<_ae3;i++){ 12901var _ae7=_ae5[i].split("="); 12902if(!_ae7[0]){ 12903continue; 12904} 12905if(_ae7[1]==null){ 12906_ae7[1]=true; 12907} 12908_ae6.setValueForKey(decodeURIComponent(_ae7[0]),decodeURIComponent(_ae7[1])); 12909} 12910main(args,_ae6); 12911}); 12912}); 12913}); 12914}; 12915var _ae8=NO; 12916function _ae9(_aea){ 12917if(_ae8||document.readyState==="complete"){ 12918return _aea(); 12919} 12920if(window.addEventListener){ 12921window.addEventListener("load",_aea,NO); 12922}else{ 12923if(window.attachEvent){ 12924window.attachEvent("onload",_aea); 12925} 12926} 12927}; 12928_ae9(function(){ 12929_ae8=YES; 12930}); 12931if(typeof OBJJ_AUTO_BOOTSTRAP==="undefined"||OBJJ_AUTO_BOOTSTRAP){ 12932_2.bootstrap(); 12933} 12934function _1e4(aURL){ 12935if(aURL instanceof CFURL&&aURL.scheme()){ 12936return aURL; 12937} 12938return new CFURL(aURL,_1ea); 12939}; 12940objj_importFile=_306.fileImporterForURL(_1ea); 12941objj_executeFile=_306.fileExecuterForURL(_1ea); 12942objj_import=function(){ 12943CPLog.warn("objj_import is deprecated, use objj_importFile instead"); 12944objj_importFile.apply(this,arguments); 12945}; 12946})(window,ObjectiveJ);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.