diff --git a/simple-tableview delegate/AppController.j b/simple-tableview delegate/AppController.j new file mode 100644 index 0000000..cccec83 --- /dev/null +++ b/simple-tableview delegate/AppController.j @@ -0,0 +1,71 @@ +/* + * AppController.j + * simple-tableview + * + * Created by Stefan Huber on June 5, 2010. + * Copyright 2010, MSNexploder (at) gmail.com All rights reserved. + */ + +@import + +@implementation AppController : CPObject +{ + CPArray _tableContent; +} + +- (id)init +{ + if (self = [super init]) { + _tableContent = [[CPArray alloc] init]; + [_tableContent addObject:@"Cappuccino"]; + [_tableContent addObject:@"Awesome"]; + [_tableContent addObject:@"Stuff"]; + } + return self; +} + +- (void)applicationDidFinishLaunching:(CPNotification)aNotification +{ + var theWindow = [[CPWindow alloc] initWithContentRect:CGRectMakeZero() styleMask:CPBorderlessBridgeWindowMask]; + var contentView = [theWindow contentView]; + + var scrollView = [[CPScrollView alloc] initWithFrame:[contentView bounds]]; + [scrollView setAutoresizingMask:CPViewWidthSizable | CPViewHeightSizable]; + + var tableView = [[CPTableView alloc] initWithFrame:[scrollView bounds]]; + [tableView setDataSource:self]; + [tableView setDelegate:self]; + + var column = [[CPTableColumn alloc] initWithIdentifier:@"Stuff"]; + [[column headerView] setStringValue:@"Stuff"]; + [tableView addTableColumn:column]; + + [scrollView setDocumentView:tableView]; + [contentView addSubview:scrollView]; + + [theWindow orderFront:self]; +} + +- (int)numberOfRowsInTableView:(CPTableView)aTableView +{ + return [_tableContent count]; +} + +- (id)tableView:(CPTableView)aTableView objectValueForTableColumn:(CPTableColumn)aTableColumn row:(int)aRow +{ + return [_tableContent objectAtIndex:aRow]; +} + +- (void)tableViewSelectionDidChange:(CPNotification)aNotification +{ + row = [[[aNotification object] selectedRowIndexes] firstIndex]; + // console.info(row); + if (row == -1) { + console.info(@"Nothing selected"); + } + else { + console.info([CPString stringWithFormat:@"selected: %@", [_tableContent objectAtIndex:row]]); + } +} + +@end diff --git a/simple-tableview delegate/Frameworks/AppKit/Browser.environment/AppKit.sj b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/AppKit.sj new file mode 100644 index 0000000..a15a92f --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/AppKit.sj @@ -0,0 +1,29989 @@ +@STATIC;1.0;p;15;_CPCornerView.jt;1245;@STATIC;1.0;i;8;CPView.jt;1214; +objj_executeFile("CPView.j",YES); +var _1=objj_allocateClassPair(CPView,"_CPCornerView"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("_init"),function(_3,_4){ +with(_3){ +objj_msgSend(_3,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview.png",CGSizeMake(1,23)))); +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_5,_6,_7){ +with(_5){ +if(_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("_CPCornerView").super_class},"initWithFrame:",_7)){ +objj_msgSend(_5,"_init"); +} +return _5; +} +}),new objj_method(sel_getUid("drawRect:"),function(_8,_9,_a){ +with(_8){ +var _b=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetStrokeColor(_b,objj_msgSend(CPColor,"colorWithHexString:","dce0e2")); +var _c=[CGPointMake(_a.origin.x,_a.origin.y+0.5),CGPointMake(_a.origin.x,_a.origin.y+_a.size.height)]; +CGContextStrokeLineSegments(_b,_c,2); +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_d,_e,_f){ +with(_d){ +_d=objj_msgSendSuper({receiver:_d,super_class:objj_getClass("_CPCornerView").super_class},"initWithCoder:",_f); +objj_msgSend(_d,"_init"); +return _d; +} +})]); +p;18;_CPDisplayServer.jt;1144;@STATIC;1.0;t;1125; +var _1=[],_2={},_3=[],_4={},_5=objj_msgSend(CPRunLoop,"mainRunLoop"); +_CPDisplayServerAddDisplayObject=function(_6){ +var _7=objj_msgSend(_6,"UID"); +if(typeof _2[_7]!=="undefined"){ +return; +} +var _8=_1.length; +_2[_7]=_8; +_1[_8]=_6; +}; +_CPDisplayServerAddLayoutObject=function(_9){ +var _a=objj_msgSend(_9,"UID"); +if(typeof _4[_a]!=="undefined"){ +return; +} +var _b=_3.length; +_4[_a]=_b; +_3[_b]=_9; +}; +var _c=objj_allocateClassPair(CPObject,"_CPDisplayServer"),_d=_c.isa; +objj_registerClassPair(_c); +class_addMethods(_d,[new objj_method(sel_getUid("run"),function(_e,_f){ +with(_e){ +while(_3.length||_1.length){ +var _10=0; +for(;_10<_3.length;++_10){ +var _11=_3[_10]; +delete _4[objj_msgSend(_11,"UID")]; +objj_msgSend(_11,"layoutIfNeeded"); +} +_3=[]; +_4={}; +_10=0; +for(;_10<_1.length;++_10){ +if(_3.length){ +break; +} +var _11=_1[_10]; +delete _2[objj_msgSend(_11,"UID")]; +objj_msgSend(_11,"displayIfNeeded"); +} +if(_10===_1.length){ +_1=[]; +_2={}; +}else{ +_1.splice(0,_10); +} +} +objj_msgSend(_5,"performSelector:target:argument:order:modes:",sel_getUid("run"),_e,nil,0,[CPDefaultRunLoopMode]); +} +})]); +objj_msgSend(_CPDisplayServer,"run"); +p;21;_CPImageAndTextView.jt;12848;@STATIC;1.0;I;21;Foundation/CPString.ji;9;CPColor.ji;8;CPFont.ji;9;CPImage.ji;8;CPView.ji;11;CPControl.jt;12736; +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPColor.j",YES); +objj_executeFile("CPFont.j",YES); +objj_executeFile("CPImage.j",YES); +objj_executeFile("CPView.j",YES); +objj_executeFile("CPControl.j",YES); +var _1=1<<0,_2=1<<1,_3=1<<2,_4=1<<3,_5=1<<4,_6=1<<5,_7=1<<6,_8=1<<7,_9=1<<8,_a=1<<9,_b=1<<10; +var _c=3,_d=5; +var _e=objj_allocateClassPair(CPView,"_CPImageAndTextView"),_f=_e.isa; +class_addIvars(_e,[new objj_ivar("_alignment"),new objj_ivar("_verticalAlignment"),new objj_ivar("_lineBreakMode"),new objj_ivar("_textColor"),new objj_ivar("_font"),new objj_ivar("_textShadowColor"),new objj_ivar("_textShadowOffset"),new objj_ivar("_imagePosition"),new objj_ivar("_imageScaling"),new objj_ivar("_image"),new objj_ivar("_text"),new objj_ivar("_textSize"),new objj_ivar("_flags"),new objj_ivar("_DOMImageElement"),new objj_ivar("_DOMTextElement"),new objj_ivar("_DOMTextShadowElement")]); +objj_registerClassPair(_e); +class_addMethods(_e,[new objj_method(sel_getUid("initWithFrame:control:"),function(_10,_11,_12,_13){ +with(_10){ +_10=objj_msgSendSuper({receiver:_10,super_class:objj_getClass("_CPImageAndTextView").super_class},"initWithFrame:",_12); +if(_10){ +_textShadowOffset={width:0,height:0}; +objj_msgSend(_10,"setVerticalAlignment:",CPTopVerticalTextAlignment); +if(_13){ +objj_msgSend(_10,"setLineBreakMode:",objj_msgSend(_13,"lineBreakMode")); +objj_msgSend(_10,"setTextColor:",objj_msgSend(_13,"textColor")); +objj_msgSend(_10,"setAlignment:",objj_msgSend(_13,"alignment")); +objj_msgSend(_10,"setVerticalAlignment:",objj_msgSend(_13,"verticalAlignment")); +objj_msgSend(_10,"setFont:",objj_msgSend(_13,"font")); +objj_msgSend(_10,"setImagePosition:",objj_msgSend(_13,"imagePosition")); +objj_msgSend(_10,"setImageScaling:",objj_msgSend(_13,"imageScaling")); +}else{ +objj_msgSend(_10,"setLineBreakMode:",CPLineBreakByClipping); +objj_msgSend(_10,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_10,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",12)); +objj_msgSend(_10,"setImagePosition:",CPNoImage); +objj_msgSend(_10,"setImageScaling:",CPScaleNone); +} +_textSize=NULL; +} +return _10; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_14,_15,_16){ +with(_14){ +return objj_msgSend(_14,"initWithFrame:control:",_16,nil); +} +}),new objj_method(sel_getUid("setAlignment:"),function(_17,_18,_19){ +with(_17){ +if(_alignment===_19){ +return; +} +_alignment=_19; +switch(_alignment){ +case CPLeftTextAlignment: +_DOMElement.style.textAlign="left"; +break; +case CPRightTextAlignment: +_DOMElement.style.textAlign="right"; +break; +case CPCenterTextAlignment: +_DOMElement.style.textAlign="center"; +break; +case CPJustifiedTextAlignment: +_DOMElement.style.textAlign="justify"; +break; +case CPNaturalTextAlignment: +_DOMElement.style.textAlign=""; +break; +} +} +}),new objj_method(sel_getUid("alignment"),function(_1a,_1b){ +with(_1a){ +return _alignment; +} +}),new objj_method(sel_getUid("setVerticalAlignment:"),function(_1c,_1d,_1e){ +with(_1c){ +if(_verticalAlignment===_1e){ +return; +} +_verticalAlignment=_1e; +_flags|=_5; +objj_msgSend(_1c,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("verticalAlignment"),function(_1f,_20){ +with(_1f){ +return _verticalAlignment; +} +}),new objj_method(sel_getUid("setLineBreakMode:"),function(_21,_22,_23){ +with(_21){ +if(_lineBreakMode===_23){ +return; +} +_lineBreakMode=_23; +_flags|=_6; +objj_msgSend(_21,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("lineBreakMode"),function(_24,_25){ +with(_24){ +return _lineBreakMode; +} +}),new objj_method(sel_getUid("setImagePosition:"),function(_26,_27,_28){ +with(_26){ +if(_imagePosition==_28){ +return; +} +_imagePosition=_28; +_flags|=_a; +objj_msgSend(_26,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("imagePosition"),function(_29,_2a){ +with(_29){ +return _imagePosition; +} +}),new objj_method(sel_getUid("setImageScaling:"),function(_2b,_2c,_2d){ +with(_2b){ +if(_imageScaling==_2d){ +return; +} +_imageScaling=_2d; +_flags|=_b; +objj_msgSend(_2b,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("imageScaling"),function(_2e,_2f){ +with(_2e){ +return _imageScaling; +} +}),new objj_method(sel_getUid("setTextColor:"),function(_30,_31,_32){ +with(_30){ +if(_textColor===_32){ +return; +} +_textColor=_32; +_DOMElement.style.color=objj_msgSend(_textColor,"cssString"); +} +}),new objj_method(sel_getUid("textColor"),function(_33,_34){ +with(_33){ +return _textColor; +} +}),new objj_method(sel_getUid("setFont:"),function(_35,_36,_37){ +with(_35){ +if(_font===_37){ +return; +} +_font=_37; +_flags|=_8; +_textSize=NULL; +objj_msgSend(_35,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("font"),function(_38,_39){ +with(_38){ +return _font; +} +}),new objj_method(sel_getUid("setTextShadowColor:"),function(_3a,_3b,_3c){ +with(_3a){ +if(_textShadowColor===_3c){ +return; +} +_textShadowColor=_3c; +_flags|=_9; +objj_msgSend(_3a,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("textShadowColor"),function(_3d,_3e){ +with(_3d){ +return _textShadowColor; +} +}),new objj_method(sel_getUid("setTextShadowOffset:"),function(_3f,_40,_41){ +with(_3f){ +if((_textShadowOffset.width==_41.width&&_textShadowOffset.height==_41.height)){ +return; +} +_textShadowOffset={width:_41.width,height:_41.height}; +objj_msgSend(_3f,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("textShadowOffset"),function(_42,_43){ +with(_42){ +return _textShadowOffset; +} +}),new objj_method(sel_getUid("setImage:"),function(_44,_45,_46){ +with(_44){ +if(_image==_46){ +return; +} +if(objj_msgSend(_image,"delegate")===_44){ +objj_msgSend(_image,"setDelegate:",nil); +} +_image=_46; +_flags|=_2; +if(objj_msgSend(_image,"loadStatus")!==CPImageLoadStatusCompleted){ +objj_msgSend(_image,"setDelegate:",_44); +} +objj_msgSend(_44,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("imageDidLoad:"),function(_47,_48,_49){ +with(_47){ +if(_49===_image){ +_flags|=_2; +objj_msgSend(_47,"setNeedsLayout"); +} +} +}),new objj_method(sel_getUid("image"),function(_4a,_4b){ +with(_4a){ +return _image; +} +}),new objj_method(sel_getUid("setText:"),function(_4c,_4d,_4e){ +with(_4c){ +if(_text===_4e){ +return; +} +_text=_4e; +_flags|=_3; +_textSize=NULL; +objj_msgSend(_4c,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("text"),function(_4f,_50){ +with(_4f){ +return _text; +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_51,_52){ +with(_51){ +var _53=_imagePosition!==CPImageOnly&&(objj_msgSend(_text,"length")>0),_54=!!_DOMTextElement; +if(_53!==_54){ +if(_54){ +_DOMElement.removeChild(_DOMTextElement); +_DOMTextElement=NULL; +_54=NO; +}else{ +_DOMTextElement=document.createElement("div"); +var _55=_DOMTextElement.style; +_55.position="absolute"; +_55.whiteSpace="pre"; +_55.zIndex=200; +_55.overflow="hidden"; +_DOMElement.appendChild(_DOMTextElement); +_54=YES; +_flags|=_3|_8|_6; +} +} +var _55=_54?_DOMTextElement.style:nil; +var _56=_54&&!!_textShadowColor,_57=!!_DOMTextShadowElement; +if(_56!==_57){ +if(_57){ +_DOMElement.removeChild(_DOMTextShadowElement); +_DOMTextShadowElement=NULL; +_57=NO; +}else{ +_DOMTextShadowElement=document.createElement("div"); +var _58=_DOMTextShadowElement.style; +_58.font=objj_msgSend(_font?_font:objj_msgSend(CPFont,"systemFontOfSize:",12),"cssString"); +_58.position="absolute"; +_58.whiteSpace=_55.whiteSpace; +_58.wordWrap=_55.wordWrap; +_58.color=objj_msgSend(_textShadowColor,"cssString"); +_58.zIndex=150; +_58.textOverflow=_55.textOverflow; +if(document.attachEvent){ +_58.overflow=_55.overflow; +}else{ +_58.overflowX=_55.overflowX; +_58.overflowY=_55.overflowY; +} +_DOMElement.appendChild(_DOMTextShadowElement); +_57=YES; +_flags|=_3; +} +} +var _58=_57?_DOMTextShadowElement.style:nil; +if(_54){ +if(_flags&_3){ +if(CPFeatureIsCompatible(CPJavascriptInnerTextFeature)){ +_DOMTextElement.innerText=_text; +if(_DOMTextShadowElement){ +_DOMTextShadowElement.innerText=_text; +} +}else{ +if(CPFeatureIsCompatible(CPJavascriptTextContentFeature)){ +_DOMTextElement.textContent=_text; +if(_DOMTextShadowElement){ +_DOMTextShadowElement.textContent=_text; +} +} +} +} +if(_flags&_8){ +var _59=objj_msgSend(_font?_font:objj_msgSend(CPFont,"systemFontOfSize:",12),"cssString"); +_55.font=_59; +if(_58){ +_58.font=_59; +} +} +if(_flags&_6){ +switch(_lineBreakMode){ +case CPLineBreakByClipping: +_55.overflow="hidden"; +_55.textOverflow="clip"; +_55.whiteSpace="pre"; +_55.wordWrap="normal"; +break; +case CPLineBreakByTruncatingHead: +case CPLineBreakByTruncatingMiddle: +case CPLineBreakByTruncatingTail: +_55.textOverflow="ellipsis"; +_55.whiteSpace="nowrap"; +_55.overflow="hidden"; +_55.wordWrap="normal"; +break; +case CPLineBreakByCharWrapping: +case CPLineBreakByWordWrapping: +_55.wordWrap="break-word"; +try{ +_55.whiteSpace="pre"; +_55.whiteSpace="-o-pre-wrap"; +_55.whiteSpace="-pre-wrap"; +_55.whiteSpace="-moz-pre-wrap"; +_55.whiteSpace="pre-wrap"; +} +catch(e){ +_55.whiteSpace="pre"; +} +_55.overflow="hidden"; +_55.textOverflow="clip"; +break; +} +if(_58){ +if(document.attachEvent){ +_58.overflow=_55.overflow; +}else{ +_58.overflowX=_55.overflowX; +_58.overflowY=_55.overflowY; +} +_58.wordWrap=_55.wordWrap; +_58.whiteSpace=_55.whiteSpace; +_58.textOverflow=_55.textOverflow; +} +} +} +var _5a=_image!==nil&&_imagePosition!==CPNoImage,_5b=!!_DOMImageElement; +if(_5a!==_5b){ +if(_5b){ +_DOMElement.removeChild(_DOMImageElement); +_DOMImageElement=NULL; +_5b=NO; +}else{ +_DOMImageElement=document.createElement("img"); +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_DOMImageElement.setAttribute("draggable","true"); +_DOMImageElement.style["-khtml-user-drag"]="element"; +} +var _5c=_DOMImageElement.style; +_5c.top="0px"; +_5c.left="0px"; +_5c.position="absolute"; +_5c.zIndex=100; +_DOMElement.appendChild(_DOMImageElement); +_5b=YES; +} +} +var _5d=objj_msgSend(_51,"bounds").size,_5e={origin:{x:0,y:0},size:{width:_5d.width,height:_5d.height}}; +if(_5b){ +if(!_5c){ +var _5c=_DOMImageElement.style; +} +if(_flags&_2){ +_DOMImageElement.src=objj_msgSend(_image,"filename"); +} +var _5f=_5d.width/2,_60=_5d.height/2,_61=objj_msgSend(_image,"size"),_62=_61.width,_63=_61.height; +if(_imageScaling===CPScaleToFit){ +_62=_5d.width; +_63=_5d.height; +}else{ +if(_imageScaling===CPScaleProportionally){ +var _64=MIN(MIN(_5d.width,_62)/_62,MIN(_5d.height,_63)/_63); +_62*=_64; +_63*=_64; +} +} +_DOMImageElement.width=_62; +_DOMImageElement.height=_63; +_5c.width=MAX(_62,0)+"px"; +_5c.height=MAX(_63,0)+"px"; +if(_imagePosition===CPImageBelow){ +_5c.left=FLOOR(_5f-_62/2)+"px"; +_5c.top=FLOOR(_5d.height-_63)+"px"; +_5e.size.height=_5d.height-_63-_d; +}else{ +if(_imagePosition===CPImageAbove){ +if(NULL){ +var _65=_CGPointApplyAffineTransform(CGPointMake(FLOOR(_5f-_62/2),0),NULL); +}else{ +var _65={x:FLOOR(_5f-_62/2),y:0}; +} +_DOMImageElement.style.left=ROUND(_65.x)+"px"; +_DOMImageElement.style.top=ROUND(_65.y)+"px"; +_5e.origin.y+=_63+_d; +_5e.size.height=_5d.height-_63-_d; +}else{ +if(_imagePosition===CPImageLeft){ +_5c.top=FLOOR(_60-_63/2)+"px"; +_5c.left="0px"; +_5e.origin.x=_62+_c; +_5e.size.width-=_62+_c; +}else{ +if(_imagePosition===CPImageRight){ +_5c.top=FLOOR(_60-_63/2)+"px"; +_5c.left=FLOOR(_5d.width-_62)+"px"; +_5e.size.width-=_62+_c; +}else{ +if(_imagePosition===CPImageOnly){ +_5c.top=FLOOR(_60-_63/2)+"px"; +_5c.left=FLOOR(_5f-_62/2)+"px"; +} +} +} +} +} +} +if(_54){ +var _66=(_5e.origin.x),_67=(_5e.origin.y),_68=(_5e.size.width),_69=(_5e.size.height); +if(_verticalAlignment!==CPTopVerticalTextAlignment){ +if(!_textSize){ +if(_lineBreakMode===CPLineBreakByCharWrapping||_lineBreakMode===CPLineBreakByWordWrapping){ +_textSize=objj_msgSend(_text,"sizeWithFont:inWidth:",_font,_68); +}else{ +_textSize=objj_msgSend(_text,"sizeWithFont:",_font); +} +} +if(_verticalAlignment===CPCenterVerticalTextAlignment){ +_67=_67+(_69-_textSize.height)/2; +_69=_textSize.height; +}else{ +_67=_67+_69-_textSize.height; +_69=_textSize.height; +} +} +_55.top=ROUND(_67)+"px"; +_55.left=ROUND(_66)+"px"; +_55.width=MAX(ROUND(_68),0)+"px"; +_55.height=MAX(ROUND(_69),0)+"px"; +if(_58){ +if(_flags&_9){ +_58.color=objj_msgSend(_textShadowColor,"cssString"); +} +_58.top=ROUND(_67+_textShadowOffset.height)+"px"; +_58.left=ROUND(_66+_textShadowOffset.width)+"px"; +_58.width=MAX(ROUND(_68),0)+"px"; +_58.height=MAX(ROUND(_69),0)+"px"; +} +} +_flags=0; +} +}),new objj_method(sel_getUid("sizeToFit"),function(_6a,_6b){ +with(_6a){ +var _6c=CGSizeMakeZero(); +if((_imagePosition!==CPNoImage)&&_image){ +var _6d=objj_msgSend(_image,"size"); +_6c.width+=_6d.width; +_6c.height+=_6d.height; +} +if((_imagePosition!==CPImageOnly)&&objj_msgSend(_text,"length")>0){ +if(!_textSize){ +_textSize=objj_msgSend(_text,"sizeWithFont:",_font?_font:objj_msgSend(CPFont,"systemFontOfSize:",12)); +} +if(_imagePosition===CPImageLeft||_imagePosition===CPImageRight){ +_6c.width+=_textSize.width+_c; +_6c.height=MAX(_6c.height,_textSize.height); +}else{ +if(_imagePosition===CPImageAbove||_imagePosition===CPImageBelow){ +_6c.width=MAX(_6c.width,_textSize.width); +_6c.height+=_textSize.height+_d; +}else{ +_6c.width=MAX(_6c.width,_textSize.width); +_6c.height=MAX(_6c.height,_textSize.height); +} +} +} +objj_msgSend(_6a,"setFrameSize:",_6c); +} +})]); +p;29;_CPToolbarFlexibleSpaceItem.jt;794;@STATIC;1.0;i;15;CPToolbarItem.jt;756; +objj_executeFile("CPToolbarItem.j",YES); +var _1=objj_allocateClassPair(CPToolbarItem,"_CPToolbarFlexibleSpaceItem"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithItemIdentifier:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPToolbarFlexibleSpaceItem").super_class},"initWithItemIdentifier:",CPToolbarFlexibleSpaceItemIdentifier); +if(_3){ +objj_msgSend(_3,"setMinSize:",CGSizeMake(32,32)); +objj_msgSend(_3,"setMaxSize:",CGSizeMake(10000,32)); +} +return _3; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_6,_7,_8){ +with(_6){ +return objj_msgSend(_6,"init"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_9,_a,_b){ +with(_9){ +} +})]); +p;25;_CPToolbarSeparatorItem.jt;780;@STATIC;1.0;i;15;CPToolbarItem.jt;742; +objj_executeFile("CPToolbarItem.j",YES); +var _1=objj_allocateClassPair(CPToolbarItem,"_CPToolbarSeparatorItem"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithItemIdentifier:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPToolbarSeparatorItem").super_class},"initWithItemIdentifier:",CPToolbarSeparatorItemIdentifier); +if(_3){ +objj_msgSend(_3,"setMinSize:",CGSizeMake(2,0)); +objj_msgSend(_3,"setMaxSize:",CGSizeMake(2,100000)); +} +return _3; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_6,_7,_8){ +with(_6){ +return objj_msgSend(_6,"init"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_9,_a,_b){ +with(_9){ +} +})]); +p;26;_CPToolbarShowColorsItem.jt;1230;@STATIC;1.0;i;15;CPToolbarItem.jt;1191; +objj_executeFile("CPToolbarItem.j",YES); +var _1=objj_allocateClassPair(CPToolbarItem,"_CPToolbarShowColorsItem"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithItemIdentifier:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPToolbarShowColorsItem").super_class},"initWithItemIdentifier:",CPToolbarShowColorsItemIdentifier); +if(_3){ +objj_msgSend(_3,"setMinSize:",CGSizeMake(32,32)); +objj_msgSend(_3,"setMaxSize:",CGSizeMake(32,32)); +objj_msgSend(_3,"setLabel:","Colors"); +objj_msgSend(_3,"setPaletteLabel:","Show Colors"); +objj_msgSend(_3,"setTarget:",CPApp); +objj_msgSend(_3,"setAction:",sel_getUid("orderFrontColorPanel:")); +objj_msgSend(_3,"setImage:",objj_msgSend(CPImage,"imageNamed:",CPImageNameColorPanel)); +objj_msgSend(_3,"setAlternateImage:",objj_msgSend(CPImage,"imageNamed:",CPImageNameColorPanelHighlighted)); +objj_msgSend(_3,"setToolTip:","Show the Colors panel."); +} +return _3; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_6,_7,_8){ +with(_6){ +return objj_msgSend(_6,"init"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_9,_a,_b){ +with(_9){ +} +})]); +p;21;_CPToolbarSpaceItem.jt;767;@STATIC;1.0;i;15;CPToolbarItem.jt;729; +objj_executeFile("CPToolbarItem.j",YES); +var _1=objj_allocateClassPair(CPToolbarItem,"_CPToolbarSpaceItem"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithItemIdentifier:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPToolbarSpaceItem").super_class},"initWithItemIdentifier:",CPToolbarSpaceItemIdentifier); +if(_3){ +objj_msgSend(_3,"setMinSize:",CGSizeMake(32,32)); +objj_msgSend(_3,"setMaxSize:",CGSizeMake(32,32)); +} +return _3; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_6,_7,_8){ +with(_6){ +return objj_msgSend(_6,"init"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_9,_a,_b){ +with(_9){ +} +})]); +p;8;AppKit.jt;3749;@STATIC;1.0;i;9;CALayer.ji;9;CPAlert.ji;13;CPAnimation.ji;15;CPApplication.ji;14;CPBezierPath.ji;7;CPBox.ji;10;CPButton.ji;13;CPButtonBar.ji;12;CPCheckBox.ji;7;CPCib.ji;16;CPCibConnector.ji;23;CPCibControlConnector.ji;14;CPCibLoading.ji;22;CPCibOutletConnector.ji;12;CPClipView.ji;22;CPCollectionViewItem.ji;18;CPCollectionView.ji;9;CPColor.ji;14;CPColorPanel.ji;13;CPColorWell.ji;17;CPCompatibility.ji;11;CPControl.ji;10;CPCookie.ji;10;CPCursor.ji;12;CPDocument.ji;22;CPDocumentController.ji;9;CPEvent.ji;14;CPFlashMovie.ji;13;CPFlashView.ji;8;CPFont.ji;15;CPFontManager.ji;12;CPGeometry.ji;9;CPImage.ji;13;CPImageView.ji;8;CPMenu.ji;12;CPMenuItem.ji;13;CPOpenPanel.ji;15;CPOutlineView.ji;9;CPPanel.ji;14;CPPasteboard.ji;15;CPPopUpButton.ji;21;CPProgressIndicator.ji;9;CPRadio.ji;13;CPResponder.ji;15;CPSearchField.ji;14;CPScrollView.ji;12;CPScroller.ji;19;CPSecureTextField.ji;20;CPSegmentedControl.ji;10;CPShadow.ji;10;CPSlider.ji;13;CPSplitView.ji;11;CPTabView.ji;15;CPTableColumn.ji;13;CPTableView.ji;13;CPTextField.ji;11;CPToolbar.ji;15;CPToolbarItem.ji;12;CPTreeNode.ji;8;CPView.ji;17;CPViewAnimation.ji;18;CPViewController.ji;11;CPWebView.ji;10;CPWindow.ji;20;CPWindowController.jt;2554; +objj_executeFile("CALayer.j",YES); +objj_executeFile("CPAlert.j",YES); +objj_executeFile("CPAnimation.j",YES); +objj_executeFile("CPApplication.j",YES); +objj_executeFile("CPBezierPath.j",YES); +objj_executeFile("CPBox.j",YES); +objj_executeFile("CPButton.j",YES); +objj_executeFile("CPButtonBar.j",YES); +objj_executeFile("CPCheckBox.j",YES); +objj_executeFile("CPCib.j",YES); +objj_executeFile("CPCibConnector.j",YES); +objj_executeFile("CPCibControlConnector.j",YES); +objj_executeFile("CPCibLoading.j",YES); +objj_executeFile("CPCibOutletConnector.j",YES); +objj_executeFile("CPClipView.j",YES); +objj_executeFile("CPCollectionViewItem.j",YES); +objj_executeFile("CPCollectionView.j",YES); +objj_executeFile("CPColor.j",YES); +objj_executeFile("CPColorPanel.j",YES); +objj_executeFile("CPColorWell.j",YES); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("CPControl.j",YES); +objj_executeFile("CPCookie.j",YES); +objj_executeFile("CPCursor.j",YES); +objj_executeFile("CPDocument.j",YES); +objj_executeFile("CPDocumentController.j",YES); +objj_executeFile("CPEvent.j",YES); +objj_executeFile("CPFlashMovie.j",YES); +objj_executeFile("CPFlashView.j",YES); +objj_executeFile("CPFont.j",YES); +objj_executeFile("CPFontManager.j",YES); +objj_executeFile("CPGeometry.j",YES); +objj_executeFile("CPImage.j",YES); +objj_executeFile("CPImageView.j",YES); +objj_executeFile("CPMenu.j",YES); +objj_executeFile("CPMenuItem.j",YES); +objj_executeFile("CPOpenPanel.j",YES); +objj_executeFile("CPOutlineView.j",YES); +objj_executeFile("CPPanel.j",YES); +objj_executeFile("CPPasteboard.j",YES); +objj_executeFile("CPPopUpButton.j",YES); +objj_executeFile("CPProgressIndicator.j",YES); +objj_executeFile("CPRadio.j",YES); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPSearchField.j",YES); +objj_executeFile("CPScrollView.j",YES); +objj_executeFile("CPScroller.j",YES); +objj_executeFile("CPSecureTextField.j",YES); +objj_executeFile("CPSegmentedControl.j",YES); +objj_executeFile("CPShadow.j",YES); +objj_executeFile("CPSlider.j",YES); +objj_executeFile("CPSplitView.j",YES); +objj_executeFile("CPTabView.j",YES); +objj_executeFile("CPTableColumn.j",YES); +objj_executeFile("CPTableView.j",YES); +objj_executeFile("CPTextField.j",YES); +objj_executeFile("CPToolbar.j",YES); +objj_executeFile("CPToolbarItem.j",YES); +objj_executeFile("CPTreeNode.j",YES); +objj_executeFile("CPView.j",YES); +objj_executeFile("CPViewAnimation.j",YES); +objj_executeFile("CPViewController.j",YES); +objj_executeFile("CPWebView.j",YES); +objj_executeFile("CPWindow.j",YES); +objj_executeFile("CPWindowController.j",YES); +p;17;CPAccordionView.jt;10946;@STATIC;1.0;I;20;Foundation/CPArray.jI;21;Foundation/CPObject.jI;32;Foundation/CPKeyValueObserving.jI;23;Foundation/CPIndexSet.jI;21;Foundation/CPString.jI;15;AppKit/CPView.jt;10764; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPKeyValueObserving.j",NO); +objj_executeFile("Foundation/CPIndexSet.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("AppKit/CPView.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPAccordionViewItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_identifier"),new objj_ivar("_view"),new objj_ivar("_label")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("identifier"),function(_3,_4){ +with(_3){ +return _identifier; +} +}),new objj_method(sel_getUid("setIdentifier:"),function(_5,_6,_7){ +with(_5){ +_identifier=_7; +} +}),new objj_method(sel_getUid("view"),function(_8,_9){ +with(_8){ +return _view; +} +}),new objj_method(sel_getUid("setView:"),function(_a,_b,_c){ +with(_a){ +_view=_c; +} +}),new objj_method(sel_getUid("label"),function(_d,_e){ +with(_d){ +return _label; +} +}),new objj_method(sel_getUid("setLabel:"),function(_f,_10,_11){ +with(_f){ +_label=_11; +} +}),new objj_method(sel_getUid("init"),function(_12,_13){ +with(_12){ +return objj_msgSend(_12,"initWithIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithIdentifier:"),function(_14,_15,_16){ +with(_14){ +_14=objj_msgSendSuper({receiver:_14,super_class:objj_getClass("CPAccordionViewItem").super_class},"init"); +if(_14){ +objj_msgSend(_14,"setIdentifier:",_16); +} +return _14; +} +})]); +var _1=objj_allocateClassPair(CPView,"CPAccordionView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_dirtyItemIndex"),new objj_ivar("_itemHeaderPrototype"),new objj_ivar("_items"),new objj_ivar("_itemViews"),new objj_ivar("_expandedItemIndexes")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_17,_18,_19){ +with(_17){ +_17=objj_msgSendSuper({receiver:_17,super_class:objj_getClass("CPAccordionView").super_class},"initWithFrame:",_19); +if(_17){ +_items=[]; +_itemViews=[]; +_expandedItemIndexes=objj_msgSend(CPIndexSet,"indexSet"); +objj_msgSend(_17,"setItemHeaderPrototype:",objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:100,height:24}})); +} +return _17; +} +}),new objj_method(sel_getUid("setItemHeaderPrototype:"),function(_1a,_1b,_1c){ +with(_1a){ +_itemHeaderPrototype=_1c; +} +}),new objj_method(sel_getUid("itemHeaderPrototype"),function(_1d,_1e){ +with(_1d){ +return _itemHeaderPrototype; +} +}),new objj_method(sel_getUid("items"),function(_1f,_20){ +with(_1f){ +return _items; +} +}),new objj_method(sel_getUid("addItem:"),function(_21,_22,_23){ +with(_21){ +objj_msgSend(_21,"insertItem:atIndex:",_23,_items.length); +} +}),new objj_method(sel_getUid("insertItem:atIndex:"),function(_24,_25,_26,_27){ +with(_24){ +objj_msgSend(_expandedItemIndexes,"addIndex:",_27); +var _28=objj_msgSend(objj_msgSend(_CPAccordionItemView,"alloc"),"initWithAccordionView:",_24); +objj_msgSend(_28,"setIndex:",_27); +objj_msgSend(_28,"setLabel:",objj_msgSend(_26,"label")); +objj_msgSend(_28,"setContentView:",objj_msgSend(_26,"view")); +objj_msgSend(_24,"addSubview:",_28); +objj_msgSend(_items,"insertObject:atIndex:",_26,_27); +objj_msgSend(_itemViews,"insertObject:atIndex:",_28,_27); +objj_msgSend(_24,"_invalidateItemsStartingAtIndex:",_27); +objj_msgSend(_24,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("removeItem:"),function(_29,_2a,_2b){ +with(_29){ +objj_msgSend(_29,"removeItemAtIndex:",objj_msgSend(_items,"indexOfObjectIdenticalTo:",_2b)); +} +}),new objj_method(sel_getUid("removeItemAtIndex:"),function(_2c,_2d,_2e){ +with(_2c){ +objj_msgSend(_expandedItemIndexes,"removeIndex:",_2e); +objj_msgSend(_itemViews[_2e],"removeFromSuperview"); +objj_msgSend(_items,"removeObjectAtIndex:",_2e); +objj_msgSend(_itemViews,"removeObjectAtIndex:",_2e); +objj_msgSend(_2c,"_invalidateItemsStartingAtIndex:",_2e); +objj_msgSend(_2c,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("removeAllItems"),function(_2f,_30){ +with(_2f){ +var _31=_items.length; +while(_31--){ +objj_msgSend(_2f,"removeItemAtIndex:",_31); +} +} +}),new objj_method(sel_getUid("expandItemAtIndex:"),function(_32,_33,_34){ +with(_32){ +if(!objj_msgSend(_itemViews[_34],"isCollapsed")){ +return; +} +objj_msgSend(_expandedItemIndexes,"addIndex:",_34); +objj_msgSend(_itemViews[_34],"setCollapsed:",NO); +objj_msgSend(_32,"_invalidateItemsStartingAtIndex:",_34); +} +}),new objj_method(sel_getUid("collapseItemAtIndex:"),function(_35,_36,_37){ +with(_35){ +if(objj_msgSend(_itemViews[_37],"isCollapsed")){ +return; +} +objj_msgSend(_expandedItemIndexes,"removeIndex:",_37); +objj_msgSend(_itemViews[_37],"setCollapsed:",YES); +objj_msgSend(_35,"_invalidateItemsStartingAtIndex:",_37); +} +}),new objj_method(sel_getUid("toggleItemAtIndex:"),function(_38,_39,_3a){ +with(_38){ +var _3b=_itemViews[_3a]; +if(objj_msgSend(_3b,"isCollapsed")){ +objj_msgSend(_38,"expandItemAtIndex:",_3a); +}else{ +objj_msgSend(_38,"collapseItemAtIndex:",_3a); +} +} +}),new objj_method(sel_getUid("expandedItemIndexes"),function(_3c,_3d){ +with(_3c){ +return _expandedItemIndexes; +} +}),new objj_method(sel_getUid("collapsedItemIndexes"),function(_3e,_3f){ +with(_3e){ +var _40=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(0,_items.length)); +objj_msgSend(_40,"removeIndexes:",_expandedIndexes); +return _40; +} +}),new objj_method(sel_getUid("setEnabled:forItemAtIndex:"),function(_41,_42,_43,_44){ +with(_41){ +var _45=_itemViews[_44]; +if(!_45){ +return; +} +if(!_43){ +objj_msgSend(_41,"collapseItemAtIndex:",_44); +}else{ +objj_msgSend(_41,"expandItemAtIndex:",_44); +} +objj_msgSend(_45,"setEnabled:",_43); +} +}),new objj_method(sel_getUid("_invalidateItemsStartingAtIndex:"),function(_46,_47,_48){ +with(_46){ +if(_dirtyItemIndex===CPNotFound){ +_dirtyItemIndex=_48; +} +_dirtyItemIndex=MIN(_dirtyItemIndex,_48); +objj_msgSend(_46,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_49,_4a,_4b){ +with(_49){ +var _4c=(objj_msgSend(_49,"frame").size.width); +objj_msgSendSuper({receiver:_49,super_class:objj_getClass("CPAccordionView").super_class},"setFrameSize:",_4b); +if(_4c!==(objj_msgSend(_49,"frame").size.width)){ +objj_msgSend(_49,"_invalidateItemsStartingAtIndex:",0); +} +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_4d,_4e){ +with(_4d){ +if(_items.length<=0){ +return objj_msgSend(_4d,"setFrameSize:",{width:(objj_msgSend(_4d,"frame").size.width),height:0}); +} +if(_dirtyItemIndex===CPNotFound){ +return; +} +_dirtyItemIndex=MIN(_dirtyItemIndex,_items.length-1); +var _4f=_dirtyItemIndex,_50=_itemViews.length,_51=(objj_msgSend(_4d,"bounds").size.width),y=_4f>0?CGRectGetMaxY(objj_msgSend(_itemViews[_4f-1],"frame")):0; +_dirtyItemIndex=CPNotFound; +for(;_4f<_50;++_4f){ +var _52=_itemViews[_4f]; +objj_msgSend(_52,"setFrameY:width:",y,_51); +y=CGRectGetMaxY(objj_msgSend(_52,"frame")); +} +objj_msgSend(_4d,"setFrameSize:",{width:(objj_msgSend(_4d,"frame").size.width),height:y}); +} +})]); +var _1=objj_allocateClassPair(CPView,"_CPAccordionItemView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_accordionView"),new objj_ivar("_isCollapsed"),new objj_ivar("_index"),new objj_ivar("_headerView"),new objj_ivar("_contentView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("isCollapsed"),function(_53,_54){ +with(_53){ +return _isCollapsed; +} +}),new objj_method(sel_getUid("setCollapsed:"),function(_55,_56,_57){ +with(_55){ +_isCollapsed=_57; +} +}),new objj_method(sel_getUid("index"),function(_58,_59){ +with(_58){ +return _index; +} +}),new objj_method(sel_getUid("setIndex:"),function(_5a,_5b,_5c){ +with(_5a){ +_index=_5c; +} +}),new objj_method(sel_getUid("initWithAccordionView:"),function(_5d,_5e,_5f){ +with(_5d){ +_5d=objj_msgSendSuper({receiver:_5d,super_class:objj_getClass("_CPAccordionItemView").super_class},"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +if(_5d){ +_accordionView=_5f; +_isCollapsed=NO; +var _60=objj_msgSend(_5d,"bounds"); +_headerView=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",objj_msgSend(_accordionView,"itemHeaderPrototype"))); +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setTarget:"))&&objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setAction:"))){ +objj_msgSend(_headerView,"setTarget:",_5d); +objj_msgSend(_headerView,"setAction:",sel_getUid("toggle:")); +} +objj_msgSend(_5d,"addSubview:",_headerView); +} +return _5d; +} +}),new objj_method(sel_getUid("toggle:"),function(_61,_62,_63){ +with(_61){ +objj_msgSend(_accordionView,"toggleItemAtIndex:",objj_msgSend(_61,"index")); +} +}),new objj_method(sel_getUid("setLabel:"),function(_64,_65,_66){ +with(_64){ +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setTitle:"))){ +objj_msgSend(_headerView,"setTitle:",_66); +}else{ +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setLabel:"))){ +objj_msgSend(_headerView,"setLabel:",_66); +}else{ +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setStringValue:"))){ +objj_msgSend(_headerView,"setStringValue:",_66); +} +} +} +} +}),new objj_method(sel_getUid("setEnabled:"),function(_67,_68,_69){ +with(_67){ +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setEnabled:"))){ +objj_msgSend(_headerView,"setEnabled:",_69); +} +} +}),new objj_method(sel_getUid("setContentView:"),function(_6a,_6b,_6c){ +with(_6a){ +if(_contentView===_6c){ +return; +} +objj_msgSend(_contentView,"removeObserver:forKeyPath:",_6a,"frame"); +objj_msgSend(_contentView,"removeFromSuperview"); +_contentView=_6c; +objj_msgSend(_contentView,"addObserver:forKeyPath:options:context:",_6a,"frame",CPKeyValueObservingOptionOld|CPKeyValueObservingOptionNew,NULL); +objj_msgSend(_6a,"addSubview:",_contentView); +objj_msgSend(_accordionView,"_invalidateItemsStartingAtIndex:",objj_msgSend(_6a,"index")); +} +}),new objj_method(sel_getUid("setFrameY:width:"),function(_6d,_6e,aY,_6f){ +with(_6d){ +var _70=(objj_msgSend(_headerView,"frame").size.height); +objj_msgSend(_headerView,"setFrameSize:",{width:_6f,height:_70}); +objj_msgSend(_contentView,"setFrameOrigin:",{x:0,y:_70}); +if(objj_msgSend(_6d,"isCollapsed")){ +objj_msgSend(_6d,"setFrame:",{origin:{x:0,y:aY},size:{width:_6f,height:_70}}); +}else{ +var _71=(objj_msgSend(_contentView,"frame").size.height); +objj_msgSend(_contentView,"setFrameSize:",{width:_6f,height:_71}); +objj_msgSend(_6d,"setFrame:",{origin:{x:0,y:aY},size:{width:_6f,height:_71+_70}}); +} +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_72,_73,_74){ +with(_72){ +} +}),new objj_method(sel_getUid("observeValueForKeyPath:ofObject:change:context:"),function(_75,_76,_77,_78,_79,_7a){ +with(_75){ +if(_77==="frame"&&!CGRectEqualToRect(objj_msgSend(_79,"objectForKey:",CPKeyValueChangeOldKey),objj_msgSend(_79,"objectForKey:",CPKeyValueChangeNewKey))){ +objj_msgSend(_accordionView,"_invalidateItemsStartingAtIndex:",objj_msgSend(_75,"index")); +} +} +})]); +p;9;CPAlert.jt;6678;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jI;22;AppKit/CPApplication.jI;17;AppKit/CPButton.jI;16;AppKit/CPColor.jI;15;AppKit/CPFont.jI;16;AppKit/CPImage.jI;20;AppKit/CPImageView.jI;16;AppKit/CPPanel.jI;20;AppKit/CPTextField.jt;6425; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("AppKit/CPApplication.j",NO); +objj_executeFile("AppKit/CPButton.j",NO); +objj_executeFile("AppKit/CPColor.j",NO); +objj_executeFile("AppKit/CPFont.j",NO); +objj_executeFile("AppKit/CPImage.j",NO); +objj_executeFile("AppKit/CPImageView.j",NO); +objj_executeFile("AppKit/CPPanel.j",NO); +objj_executeFile("AppKit/CPTextField.j",NO); +CPWarningAlertStyle=0; +CPInformationalAlertStyle=1; +CPCriticalAlertStyle=2; +var _1,_2,_3; +var _4=objj_allocateClassPair(CPObject,"CPAlert"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_alertPanel"),new objj_ivar("_messageLabel"),new objj_ivar("_alertImageView"),new objj_ivar("_alertStyle"),new objj_ivar("_windowTitle"),new objj_ivar("_windowStyle"),new objj_ivar("_buttonCount"),new objj_ivar("_buttons"),new objj_ivar("_delegate")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("init"),function(_6,_7){ +with(_6){ +if(_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPAlert").super_class},"init")){ +_buttonCount=0; +_buttons=objj_msgSend(CPArray,"array"); +_alertStyle=CPWarningAlertStyle; +objj_msgSend(_6,"setWindowStyle:",nil); +} +return _6; +} +}),new objj_method(sel_getUid("setWindowStyle:"),function(_8,_9,_a){ +with(_8){ +_windowStyle=_a; +_alertPanel=objj_msgSend(objj_msgSend(CPPanel,"alloc"),"initWithContentRect:styleMask:",CGRectMake(0,0,400,110),_a?_a|CPTitledWindowMask:CPTitledWindowMask); +objj_msgSend(_alertPanel,"setFloatingPanel:",YES); +objj_msgSend(_alertPanel,"center"); +objj_msgSend(_messageLabel,"setTextColor:",(_a&CPHUDBackgroundWindowMask)?objj_msgSend(CPColor,"whiteColor"):objj_msgSend(CPColor,"blackColor")); +var _b=objj_msgSend(_buttons,"count"); +for(var i=0;i<_b;i++){ +var _c=_buttons[i]; +objj_msgSend(_c,"setFrameSize:",CGSizeMake(objj_msgSend(_c,"frame").size.width,(_a==CPHUDBackgroundWindowMask)?20:24)); +objj_msgSend(_c,"setTheme:",(_windowStyle===CPHUDBackgroundWindowMask)?objj_msgSend(CPTheme,"themeNamed:","Aristo-HUD"):objj_msgSend(CPTheme,"defaultTheme")); +objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"addSubview:",_c); +} +if(!_messageLabel){ +var _d=objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"bounds"); +_messageLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(57,10,CGRectGetWidth(_d)-73,62)); +objj_msgSend(_messageLabel,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",13)); +objj_msgSend(_messageLabel,"setLineBreakMode:",CPLineBreakByWordWrapping); +objj_msgSend(_messageLabel,"setAlignment:",CPJustifiedTextAlignment); +objj_msgSend(_messageLabel,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_alertImageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(15,12,32,32)); +} +objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"addSubview:",_messageLabel); +objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"addSubview:",_alertImageView); +} +}),new objj_method(sel_getUid("setTitle:"),function(_e,_f,_10){ +with(_e){ +_windowTitle=_10; +} +}),new objj_method(sel_getUid("title"),function(_11,_12){ +with(_11){ +return _windowTitle; +} +}),new objj_method(sel_getUid("windowStyle"),function(_13,_14){ +with(_13){ +return _windowStyle; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_15,_16,_17){ +with(_15){ +_delegate=_17; +} +}),new objj_method(sel_getUid("delegate"),function(_18,_19){ +with(_18){ +return _delegate; +} +}),new objj_method(sel_getUid("setAlertStyle:"),function(_1a,_1b,_1c){ +with(_1a){ +_alertStyle=_1c; +} +}),new objj_method(sel_getUid("alertStyle"),function(_1d,_1e){ +with(_1d){ +return _alertStyle; +} +}),new objj_method(sel_getUid("setMessageText:"),function(_1f,_20,_21){ +with(_1f){ +objj_msgSend(_messageLabel,"setStringValue:",_21); +} +}),new objj_method(sel_getUid("messageText"),function(_22,_23){ +with(_22){ +return objj_msgSend(_messageLabel,"stringValue"); +} +}),new objj_method(sel_getUid("addButtonWithTitle:"),function(_24,_25,_26){ +with(_24){ +var _27=objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"bounds"),_28=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(CGRectGetWidth(_27)-((_buttonCount+1)*90),CGRectGetHeight(_27)-34,80,(_windowStyle==CPHUDBackgroundWindowMask)?20:24)); +objj_msgSend(_28,"setTitle:",_26); +objj_msgSend(_28,"setTarget:",_24); +objj_msgSend(_28,"setTag:",_buttonCount); +objj_msgSend(_28,"setAction:",sel_getUid("_notifyDelegate:")); +objj_msgSend(_28,"setTheme:",(_windowStyle===CPHUDBackgroundWindowMask)?objj_msgSend(CPTheme,"themeNamed:","Aristo-HUD"):objj_msgSend(CPTheme,"defaultTheme")); +objj_msgSend(_28,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin); +objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"addSubview:",_28); +if(_buttonCount==0){ +objj_msgSend(_alertPanel,"setDefaultButton:",_28); +} +_buttonCount++; +objj_msgSend(_buttons,"addObject:",_28); +} +}),new objj_method(sel_getUid("runModal"),function(_29,_2a){ +with(_29){ +var _2b; +switch(_alertStyle){ +case CPWarningAlertStyle: +objj_msgSend(_alertImageView,"setImage:",_1); +_2b="Warning"; +break; +case CPInformationalAlertStyle: +objj_msgSend(_alertImageView,"setImage:",_2); +_2b="Information"; +break; +case CPCriticalAlertStyle: +objj_msgSend(_alertImageView,"setImage:",_3); +_2b="Error"; +break; +} +objj_msgSend(_alertPanel,"setTitle:",_windowTitle?_windowTitle:_2b); +objj_msgSend(CPApp,"runModalForWindow:",_alertPanel); +} +}),new objj_method(sel_getUid("_notifyDelegate:"),function(_2c,_2d,_2e){ +with(_2c){ +objj_msgSend(CPApp,"abortModal"); +objj_msgSend(_alertPanel,"close"); +if(_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("alertDidEnd:returnCode:"))){ +objj_msgSend(_delegate,"alertDidEnd:returnCode:",_2c,objj_msgSend(_2e,"tag")); +} +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("initialize"),function(_2f,_30){ +with(_2f){ +if(_2f!=CPAlert){ +return; +} +var _31=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_2f,"class")); +_1=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_31,"pathForResource:","CPAlert/dialog-warning.png"),CGSizeMake(32,32)); +_2=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_31,"pathForResource:","CPAlert/dialog-information.png"),CGSizeMake(32,32)); +_3=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_31,"pathForResource:","CPAlert/dialog-error.png"),CGSizeMake(32,32)); +} +})]); +p;13;CPAnimation.jt;5490;@STATIC;1.0;I;21;Foundation/CPObject.ji;23;CAMediaTimingFunction.jt;5417; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CAMediaTimingFunction.j",YES); +CPAnimationEaseInOut=0; +CPAnimationEaseIn=1; +CPAnimationEaseOut=2; +CPAnimationLinear=3; +ACTUAL_FRAME_RATE=0; +var _1=objj_allocateClassPair(CPObject,"CPAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_lastTime"),new objj_ivar("_duration"),new objj_ivar("_animationCurve"),new objj_ivar("_timingFunction"),new objj_ivar("_frameRate"),new objj_ivar("_progress"),new objj_ivar("_delegate"),new objj_ivar("_timer")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithDuration:animationCurve:"),function(_3,_4,_5,_6){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPAnimation").super_class},"init"); +if(_3){ +_progress=0; +_duration=MAX(0,_5); +_frameRate=60; +objj_msgSend(_3,"setAnimationCurve:",_6); +} +return _3; +} +}),new objj_method(sel_getUid("setAnimationCurve:"),function(_7,_8,_9){ +with(_7){ +switch(_9){ +case CPAnimationEaseInOut: +timingFunctionName=kCAMediaTimingFunctionEaseInEaseOut; +break; +case CPAnimationEaseIn: +timingFunctionName=kCAMediaTimingFunctionEaseIn; +break; +case CPAnimationEaseOut: +timingFunctionName=kCAMediaTimingFunctionEaseOut; +break; +case CPAnimationLinear: +timingFunctionName=kCAMediaTimingFunctionLinear; +break; +default: +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Invalid value provided for animation curve"); +break; +} +_animationCurve=_9; +_timingFunction=objj_msgSend(CAMediaTimingFunction,"functionWithName:",timingFunctionName); +} +}),new objj_method(sel_getUid("animationCurve"),function(_a,_b){ +with(_a){ +return _animationCurve; +} +}),new objj_method(sel_getUid("setDuration:"),function(_c,_d,_e){ +with(_c){ +if(_e<0){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"aDuration can't be negative"); +} +_duration=_e; +} +}),new objj_method(sel_getUid("duration"),function(_f,_10){ +with(_f){ +return _duration; +} +}),new objj_method(sel_getUid("setFrameRate:"),function(_11,_12,_13){ +with(_11){ +if(_13<0){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"frameRate can't be negative"); +} +_frameRate=_13; +} +}),new objj_method(sel_getUid("frameRate"),function(_14,_15){ +with(_14){ +return _frameRate; +} +}),new objj_method(sel_getUid("delegate"),function(_16,_17){ +with(_16){ +return _delegate; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_18,_19,_1a){ +with(_18){ +_delegate=_1a; +} +}),new objj_method(sel_getUid("startAnimation"),function(_1b,_1c){ +with(_1b){ +if(_timer||_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animationShouldStart:"))&&!objj_msgSend(_delegate,"animationShouldStart:",_1b)){ +return; +} +if(_progress===1){ +_progress=0; +} +ACTUAL_FRAME_RATE=0; +_lastTime=new Date(); +_timer=objj_msgSend(CPTimer,"scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:",0,_1b,sel_getUid("animationTimerDidFire:"),nil,YES); +} +}),new objj_method(sel_getUid("animationTimerDidFire:"),function(_1d,_1e,_1f){ +with(_1d){ +var _20=new Date(),_21=MIN(1,objj_msgSend(_1d,"currentProgress")+(_20-_lastTime)/(_duration*1000)); +_lastTime=_20; +++ACTUAL_FRAME_RATE; +objj_msgSend(_1d,"setCurrentProgress:",_21); +if(_21===1){ +objj_msgSend(_timer,"invalidate"); +_timer=nil; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animationDidEnd:"))){ +objj_msgSend(_delegate,"animationDidEnd:",_1d); +} +} +} +}),new objj_method(sel_getUid("stopAnimation"),function(_22,_23){ +with(_22){ +if(!_timer){ +return; +} +objj_msgSend(_timer,"invalidate"); +_timer=nil; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animationDidStop:"))){ +objj_msgSend(_delegate,"animationDidStop:",_22); +} +} +}),new objj_method(sel_getUid("isAnimating"),function(_24,_25){ +with(_24){ +return _timer; +} +}),new objj_method(sel_getUid("setCurrentProgress:"),function(_26,_27,_28){ +with(_26){ +_progress=_28; +} +}),new objj_method(sel_getUid("currentProgress"),function(_29,_2a){ +with(_29){ +return _progress; +} +}),new objj_method(sel_getUid("currentValue"),function(_2b,_2c){ +with(_2b){ +var t=objj_msgSend(_2b,"currentProgress"); +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animation:valueForProgress:"))){ +return objj_msgSend(_delegate,"animation:valueForProgress:",_2b,t); +} +var c1=[],c2=[]; +objj_msgSend(_timingFunction,"getControlPointAtIndex:values:",1,c1); +objj_msgSend(_timingFunction,"getControlPointAtIndex:values:",2,c2); +return _2d(t,c1[0],c1[1],c2[0],c2[1],_duration); +} +})]); +var _2d=_2d=function(t,p1x,p1y,p2x,p2y,_2e){ +var ax=0,bx=0,cx=0,ay=0,by=0,cy=0; +sampleCurveX=function(t){ +return ((ax*t+bx)*t+cx)*t; +}; +sampleCurveY=function(t){ +return ((ay*t+by)*t+cy)*t; +}; +sampleCurveDerivativeX=function(t){ +return (3*ax*t+2*bx)*t+cx; +}; +solveEpsilon=function(_2f){ +return 1/(200*_2f); +}; +solve=function(x,_30){ +return sampleCurveY(solveCurveX(x,_30)); +}; +solveCurveX=function(x,_31){ +var t0,t1,t2,x2,d2,i; +fabs=function(n){ +if(n>=0){ +return n; +}else{ +return 0-n; +} +}; +for(t2=x,i=0;i<8;i++){ +x2=sampleCurveX(t2)-x; +if(fabs(x2)<_31){ +return t2; +} +d2=sampleCurveDerivativeX(t2); +if(fabs(d2)<0.000001){ +break; +} +t2=t2-x2/d2; +} +t0=0; +t1=1; +t2=x; +if(t2t1){ +return t1; +} +while(t0x2){ +t0=t2; +}else{ +t1=t2; +} +t2=(t1-t0)*0.5+t0; +} +return t2; +}; +cx=3*p1x; +bx=3*(p2x-p1x)-cx; +ax=1-cx-bx; +cy=3*p1y; +by=3*(p2y-p1y)-cy; +ay=1-cy-by; +return solve(t,solveEpsilon(_2e)); +}; +p;15;CPApplication.jt;29641;@STATIC;1.0;I;21;Foundation/CPBundle.ji;17;CPCompatibility.ji;9;CPEvent.ji;8;CPMenu.ji;13;CPResponder.ji;22;CPDocumentController.ji;14;CPThemeBlend.ji;14;CPCibLoading.ji;12;CPPlatform.jt;29448; +objj_executeFile("Foundation/CPBundle.j",NO); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("CPEvent.j",YES); +objj_executeFile("CPMenu.j",YES); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPDocumentController.j",YES); +objj_executeFile("CPThemeBlend.j",YES); +objj_executeFile("CPCibLoading.j",YES); +objj_executeFile("CPPlatform.j",YES); +var _1="CPMainCibFile",_2="Main cib file base name"; +CPApp=nil; +CPApplicationWillFinishLaunchingNotification="CPApplicationWillFinishLaunchingNotification"; +CPApplicationDidFinishLaunchingNotification="CPApplicationDidFinishLaunchingNotification"; +CPApplicationWillTerminateNotification="CPApplicationWillTerminateNotification"; +CPApplicationWillBecomeActiveNotification="CPApplicationWillBecomeActiveNotification"; +CPApplicationDidBecomeActiveNotification="CPApplicationDidBecomeActiveNotification"; +CPApplicationWillResignActiveNotification="CPApplicationWillResignActiveNotification"; +CPApplicationDidResignActiveNotification="CPApplicationDidResignActiveNotification"; +CPTerminateNow=YES; +CPTerminateCancel=NO; +CPTerminateLater=-1; +CPRunStoppedResponse=-1000; +CPRunAbortedResponse=-1001; +CPRunContinuesResponse=-1002; +var _3=objj_allocateClassPair(CPResponder,"CPApplication"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_eventListeners"),new objj_ivar("_currentEvent"),new objj_ivar("_windows"),new objj_ivar("_keyWindow"),new objj_ivar("_mainWindow"),new objj_ivar("_previousKeyWindow"),new objj_ivar("_previousMainWindow"),new objj_ivar("_mainMenu"),new objj_ivar("_documentController"),new objj_ivar("_currentSession"),new objj_ivar("_delegate"),new objj_ivar("_finishedLaunching"),new objj_ivar("_isActive"),new objj_ivar("_namedArgs"),new objj_ivar("_args"),new objj_ivar("_fullArgsString"),new objj_ivar("_applicationIconImage"),new objj_ivar("_aboutPanel")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("init"),function(_5,_6){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPApplication").super_class},"init"); +if(_5){ +_eventListeners=[]; +_windows=[]; +objj_msgSend(_windows,"addObject:",nil); +_mainMenu=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","MainMenu"); +objj_msgSend(_mainMenu,"setAutoenablesItems:",NO); +var _7=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPApplication,"class")),_8=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","New",sel_getUid("newDocument:"),"N"); +objj_msgSend(_8,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/New.png"),CGSizeMake(16,16))); +objj_msgSend(_8,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/NewHighlighted.png"),CGSizeMake(16,16))); +objj_msgSend(_mainMenu,"addItem:",_8); +var _9=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Open",sel_getUid("openDocument:"),"O"); +objj_msgSend(_9,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/Open.png"),CGSizeMake(16,16))); +objj_msgSend(_9,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/OpenHighlighted.png"),CGSizeMake(16,16))); +objj_msgSend(_mainMenu,"addItem:",_9); +var _a=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","Save"),_b=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Save",sel_getUid("saveDocument:"),nil); +objj_msgSend(_b,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/Save.png"),CGSizeMake(16,16))); +objj_msgSend(_b,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/SaveHighlighted.png"),CGSizeMake(16,16))); +objj_msgSend(_a,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Save",sel_getUid("saveDocument:"),"S")); +objj_msgSend(_a,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Save As",sel_getUid("saveDocumentAs:"),nil)); +objj_msgSend(_b,"setSubmenu:",_a); +objj_msgSend(_mainMenu,"addItem:",_b); +var _c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Edit",nil,nil),_d=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","Edit"),_e=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Undo",sel_getUid("undo:"),CPUndoKeyEquivalent),_f=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Redo",sel_getUid("redo:"),CPRedoKeyEquivalent); +objj_msgSend(_e,"setKeyEquivalentModifierMask:",CPUndoKeyEquivalentModifierMask); +objj_msgSend(_f,"setKeyEquivalentModifierMask:",CPRedoKeyEquivalentModifierMask); +objj_msgSend(_d,"addItem:",_e); +objj_msgSend(_d,"addItem:",_f); +objj_msgSend(_d,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Cut",sel_getUid("cut:"),"X")),objj_msgSend(_d,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Copy",sel_getUid("copy:"),"C")),objj_msgSend(_d,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Paste",sel_getUid("paste:"),"V")); +objj_msgSend(_c,"setSubmenu:",_d); +objj_msgSend(_c,"setHidden:",YES); +objj_msgSend(_mainMenu,"addItem:",_c); +objj_msgSend(_mainMenu,"addItem:",objj_msgSend(CPMenuItem,"separatorItem")); +} +return _5; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_10,_11,_12){ +with(_10){ +if(_delegate==_12){ +return; +} +var _13=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_delegate){ +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationWillFinishLaunchingNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationDidFinishLaunchingNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationWillBecomeActiveNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationDidBecomeActiveNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationWillResignActiveNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationDidResignActiveNotification,_10); +} +_delegate=_12; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationWillFinishLaunching:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationWillFinishLaunching:"),CPApplicationWillFinishLaunchingNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationDidFinishLaunching:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationDidFinishLaunching:"),CPApplicationDidFinishLaunchingNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationWillBecomeActive:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationWillBecomeActive:"),CPApplicationWillBecomeActiveNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationDidBecomeActive:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationDidBecomeActive:"),CPApplicationDidBecomeActiveNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationWillResignActive:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationWillResignActive:"),CPApplicationWillResignActiveNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationDidResignActive:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationDidResignActive:"),CPApplicationDidResignActiveNotification,_10); +} +} +}),new objj_method(sel_getUid("delegate"),function(_14,_15){ +with(_14){ +return _delegate; +} +}),new objj_method(sel_getUid("finishLaunching"),function(_16,_17){ +with(_16){ +window.status=" "; +objj_msgSend(objj_msgSend(CPCursor,"arrowCursor"),"set"); +var _18=objj_msgSend(CPBundle,"mainBundle"),_19=objj_msgSend(_18,"objectForInfoDictionaryKey:","CPBundleDocumentTypes"); +if(objj_msgSend(_19,"count")>0){ +_documentController=objj_msgSend(CPDocumentController,"sharedDocumentController"); +} +var _1a=objj_msgSend(_18,"objectForInfoDictionaryKey:","CPApplicationDelegateClass"); +if(_1a){ +var _1b=objj_getClass(_1a); +if(_1b){ +if(objj_msgSend(_documentController,"class")==_1b){ +objj_msgSend(_16,"setDelegate:",_documentController); +}else{ +objj_msgSend(_16,"setDelegate:",objj_msgSend(objj_msgSend(_1b,"alloc"),"init")); +} +} +} +var _1c=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_1c,"postNotificationName:object:",CPApplicationWillFinishLaunchingNotification,_16); +var _1d=!!_documentController,_1e=window.cpOpeningURLStrings&&window.cpOpeningURLStrings(),_1f=0,_20=objj_msgSend(_1e,"count"); +for(;_1f<_20;++_1f){ +_1d=!objj_msgSend(_16,"_openURL:",objj_msgSend(CPURL,"URLWithString:",_1e[_1f]))||_1d; +} +if(_1d&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationShouldOpenUntitledFile:"))){ +_1d=objj_msgSend(_delegate,"applicationShouldOpenUntitledFile:",_16); +} +if(_1d){ +objj_msgSend(_documentController,"newDocument:",_16); +} +objj_msgSend(_documentController,"_updateRecentDocumentsMenu"); +objj_msgSend(_1c,"postNotificationName:object:",CPApplicationDidFinishLaunchingNotification,_16); +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +_finishedLaunching=YES; +} +}),new objj_method(sel_getUid("terminate:"),function(_21,_22,_23){ +with(_21){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(objj_msgSend(CPDocumentController,"sharedDocumentController"),"closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:",_21,sel_getUid("_documentController:didCloseAll:context:"),nil); +}else{ +objj_msgSend(objj_msgSend(objj_msgSend(_21,"keyWindow"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +} +}),new objj_method(sel_getUid("setApplicationIconImage:"),function(_24,_25,_26){ +with(_24){ +_applicationIconImage=_26; +} +}),new objj_method(sel_getUid("applicationIconImage"),function(_27,_28){ +with(_27){ +if(_applicationIconImage){ +return _applicationIconImage; +} +var _29=objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"objectForInfoDictionaryKey:","CPApplicationIcon"); +if(_29){ +_applicationIconImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",_29); +} +return _applicationIconImage; +} +}),new objj_method(sel_getUid("orderFrontStandardAboutPanel:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2a,"orderFrontStandardAboutPanelWithOptions:",nil); +} +}),new objj_method(sel_getUid("orderFrontStandardAboutPanelWithOptions:"),function(_2d,_2e,_2f){ +with(_2d){ +if(!_aboutPanel){ +var _30=objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"infoDictionary"),_31=objj_msgSend(_2f,"objectForKey:","ApplicationName")||objj_msgSend(_30,"objectForKey:","CPBundleName"),_32=objj_msgSend(_2f,"objectForKey:","ApplicationIcon")||objj_msgSend(_2d,"applicationIconImage"),_33=objj_msgSend(_2f,"objectForKey:","Version")||objj_msgSend(_30,"objectForKey:","CPBundleVersion"),_34=objj_msgSend(_2f,"objectForKey:","ApplicationVersion")||objj_msgSend(_30,"objectForKey:","CPBundleShortVersionString"),_35=objj_msgSend(_2f,"objectForKey:","Copyright")||objj_msgSend(_30,"objectForKey:","CPHumanReadableCopyright"); +var _36=objj_msgSend(objj_msgSend(CPWindowController,"alloc"),"initWithWindowCibName:","AboutPanel"),_37=objj_msgSend(_36,"window"),_38=objj_msgSend(_37,"contentView"),_39=objj_msgSend(_38,"viewWithTag:",1),_3a=objj_msgSend(_38,"viewWithTag:",2),_3b=objj_msgSend(_38,"viewWithTag:",3),_3c=objj_msgSend(_38,"viewWithTag:",4),_3d=objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_2d,"class")),"pathForResource:","standardApplicationIcon.png"); +objj_msgSend(_3a,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",14)); +objj_msgSend(_3a,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_3b,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_3c,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_39,"setImage:",_32||objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",_3d,CGSizeMake(256,256))); +objj_msgSend(_3a,"setStringValue:",_31||""); +if(_34&&_33){ +objj_msgSend(_3b,"setStringValue:","Version "+_34+" ("+_33+")"); +}else{ +if(_34||_33){ +objj_msgSend(_3b,"setStringValue:","Version "+(_34||_33)); +}else{ +objj_msgSend(_3b,"setStringValue:",""); +} +} +objj_msgSend(_3c,"setStringValue:",_35||""); +objj_msgSend(_37,"center"); +_aboutPanel=_37; +} +objj_msgSend(_aboutPanel,"orderFront:",_2d); +} +}),new objj_method(sel_getUid("_documentController:didCloseAll:context:"),function(_3e,_3f,_40,_41,_42){ +with(_3e){ +if(_41){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationShouldTerminate:"))){ +objj_msgSend(_3e,"replyToApplicationShouldTerminate:",objj_msgSend(_delegate,"applicationShouldTerminate:",_3e)); +}else{ +objj_msgSend(_3e,"replyToApplicationShouldTerminate:",YES); +} +} +} +}),new objj_method(sel_getUid("replyToApplicationShouldTerminate:"),function(_43,_44,_45){ +with(_43){ +if(_45==CPTerminateNow){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPApplicationWillTerminateNotification,_43); +objj_msgSend(CPPlatform,"terminateApplication"); +} +} +}),new objj_method(sel_getUid("activateIgnoringOtherApps:"),function(_46,_47,_48){ +with(_46){ +objj_msgSend(_46,"_willBecomeActive"); +objj_msgSend(CPPlatform,"activateIgnoringOtherApps:",_48); +_isActive=YES; +objj_msgSend(_46,"_willResignActive"); +} +}),new objj_method(sel_getUid("deactivate"),function(_49,_4a){ +with(_49){ +objj_msgSend(_49,"_willResignActive"); +objj_msgSend(CPPlatform,"deactivate"); +_isActive=NO; +objj_msgSend(_49,"_didResignActive"); +} +}),new objj_method(sel_getUid("isActive"),function(_4b,_4c){ +with(_4b){ +return _isActive; +} +}),new objj_method(sel_getUid("hideOtherApplications:"),function(_4d,_4e,_4f){ +with(_4d){ +objj_msgSend(CPPlatform,"hideOtherApplications:",_4d); +} +}),new objj_method(sel_getUid("run"),function(_50,_51){ +with(_50){ +objj_msgSend(_50,"finishLaunching"); +} +}),new objj_method(sel_getUid("runModalForWindow:"),function(_52,_53,_54){ +with(_52){ +objj_msgSend(_52,"runModalSession:",objj_msgSend(_52,"beginModalSessionForWindow:",_54)); +} +}),new objj_method(sel_getUid("stopModalWithCode:"),function(_55,_56,_57){ +with(_55){ +if(!_currentSession){ +return; +} +_currentSession._state=_57; +_currentSession=_currentSession._previous; +objj_msgSend(_55,"_removeRunModalLoop"); +} +}),new objj_method(sel_getUid("_removeRunModalLoop"),function(_58,_59){ +with(_58){ +var _5a=_eventListeners.length; +while(_5a--){ +if(_eventListeners[_5a]._callback===_5b){ +_eventListeners.splice(_5a,1); +return; +} +} +} +}),new objj_method(sel_getUid("stopModal"),function(_5c,_5d){ +with(_5c){ +objj_msgSend(_5c,"stopModalWithCode:",CPRunStoppedResponse); +} +}),new objj_method(sel_getUid("abortModal"),function(_5e,_5f){ +with(_5e){ +objj_msgSend(_5e,"stopModalWithCode:",CPRunAbortedResponse); +} +}),new objj_method(sel_getUid("beginModalSessionForWindow:"),function(_60,_61,_62){ +with(_60){ +return _63(_62,0); +} +}),new objj_method(sel_getUid("runModalSession:"),function(_64,_65,_66){ +with(_64){ +_66._previous=_currentSession; +_currentSession=_66; +var _67=_66._window; +objj_msgSend(_67,"center"); +objj_msgSend(_67,"makeKeyAndOrderFront:",_64); +objj_msgSend(CPApp,"setCallback:forNextEventMatchingMask:untilDate:inMode:dequeue:",_5b,CPAnyEventMask,nil,0,NO); +} +}),new objj_method(sel_getUid("modalWindow"),function(_68,_69){ +with(_68){ +if(!_currentSession){ +return nil; +} +return _currentSession._window; +} +}),new objj_method(sel_getUid("_handleKeyEquivalent:"),function(_6a,_6b,_6c){ +with(_6a){ +return objj_msgSend(objj_msgSend(_6a,"keyWindow"),"performKeyEquivalent:",_6c)||objj_msgSend(_mainMenu,"performKeyEquivalent:",_6c); +} +}),new objj_method(sel_getUid("sendEvent:"),function(_6d,_6e,_6f){ +with(_6d){ +_currentEvent=_6f; +var _70=objj_msgSend(objj_msgSend(objj_msgSend(_6f,"window"),"platformWindow"),"_willPropagateCurrentDOMEvent"); +objj_msgSend(objj_msgSend(objj_msgSend(_6f,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",NO); +if(objj_msgSend(_6f,"_couldBeKeyEquivalent")&&objj_msgSend(_6d,"_handleKeyEquivalent:",_6f)){ +var _71=objj_msgSend(_6f,"characters"),_72=objj_msgSend(_6f,"modifierFlags"); +if((_71=="c"||_71=="x"||_71=="v")&&(_72&CPPlatformActionKeyMask)){ +objj_msgSend(objj_msgSend(objj_msgSend(_6f,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +return; +} +objj_msgSend(objj_msgSend(objj_msgSend(_6f,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",_70); +if(_eventListeners.length){ +if(_eventListeners[_eventListeners.length-1]._mask&(1<=0){ +var _c8=objj_msgSend(_windows,"objectAtIndex:",_c7); +var _c9=_c8._sheetContext; +if(_c9!=nil&&_c9["sheet"]===_c5){ +_c9["returnCode"]=_c6; +objj_msgSend(_c8,"_detachSheetWindow"); +return; +} +} +} +}),new objj_method(sel_getUid("endSheet:"),function(_ca,_cb,_cc){ +with(_ca){ +objj_msgSend(_ca,"endSheet:returnCode:",_cc,0); +} +}),new objj_method(sel_getUid("arguments"),function(_cd,_ce){ +with(_cd){ +if(_fullArgsString!==window.location.hash){ +objj_msgSend(_cd,"_reloadArguments"); +} +return _args; +} +}),new objj_method(sel_getUid("setArguments:"),function(_cf,_d0,_d1){ +with(_cf){ +if(!_d1||_d1.length==0){ +_args=[]; +window.location.hash="#"; +return; +} +if(objj_msgSend(_d1,"class")!=CPArray){ +_d1=objj_msgSend(CPArray,"arrayWithObject:",_d1); +} +_args=_d1; +var _d2=objj_msgSend(_args,"copy"); +for(var i=0,_d3=_d2.length;i<_d3;i++){ +_d2[i]=encodeURIComponent(_d2[i]); +} +var _d4=objj_msgSend(_d2,"componentsJoinedByString:","/"); +window.location.hash="#"+_d4; +} +}),new objj_method(sel_getUid("_reloadArguments"),function(_d5,_d6){ +with(_d5){ +_fullArgsString=window.location.hash; +if(_fullArgsString.length){ +var _d7=_fullArgsString.substring(1).split("/"); +for(var i=0,_d8=_d7.length;i<_d8;i++){ +_d7[i]=decodeURIComponent(_d7[i]); +} +_args=_d7; +}else{ +_args=[]; +} +} +}),new objj_method(sel_getUid("namedArguments"),function(_d9,_da){ +with(_d9){ +return _namedArgs; +} +}),new objj_method(sel_getUid("_openURL:"),function(_db,_dc,_dd){ +with(_db){ +if(_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("application:openFile:"))){ +CPLog.warn("application:openFile: is deprecated, use application:openURL: instead."); +return objj_msgSend(_delegate,"application:openFile:",_db,objj_msgSend(_dd,"absoluteString")); +} +if(_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("application:openURL:"))){ +return objj_msgSend(_delegate,"application:openURL:",_db,_dd); +} +return !!objj_msgSend(_documentController,"openDocumentWithContentsOfURL:display:error:",_dd,YES,NULL); +} +}),new objj_method(sel_getUid("_willBecomeActive"),function(_de,_df){ +with(_de){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPApplicationWillBecomeActiveNotification,_de,nil); +} +}),new objj_method(sel_getUid("_didBecomeActive"),function(_e0,_e1){ +with(_e0){ +if(!objj_msgSend(_e0,"keyWindow")&&_previousKeyWindow&&objj_msgSend(objj_msgSend(_e0,"windows"),"indexOfObjectIdenticalTo:",_previousKeyWindow)!==CPNotFound){ +objj_msgSend(_previousKeyWindow,"makeKeyWindow"); +} +if(!objj_msgSend(_e0,"mainWindow")&&_previousMainWindow&&objj_msgSend(objj_msgSend(_e0,"windows"),"indexOfObjectIdenticalTo:",_previousMainWindow)!==CPNotFound){ +objj_msgSend(_previousMainWindow,"makeMainWindow"); +} +if(objj_msgSend(_e0,"keyWindow")){ +objj_msgSend(objj_msgSend(_e0,"keyWindow"),"orderFront:",_e0); +}else{ +if(objj_msgSend(_e0,"mainWindow")){ +objj_msgSend(objj_msgSend(_e0,"mainWindow"),"makeKeyAndOrderFront:",_e0); +}else{ +objj_msgSend(objj_msgSend(_e0,"mainMenu")._menuWindow,"makeKeyWindow"); +} +} +_previousKeyWindow=nil; +_previousMainWindow=nil; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPApplicationDidBecomeActiveNotification,_e0,nil); +} +}),new objj_method(sel_getUid("_willResignActive"),function(_e2,_e3){ +with(_e2){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPApplicationWillResignActiveNotification,_e2,nil); +} +}),new objj_method(sel_getUid("_didResignActive"),function(_e4,_e5){ +with(_e4){ +if(_e4._activeMenu){ +objj_msgSend(_e4._activeMenu,"cancelTracking"); +} +if(objj_msgSend(_e4,"keyWindow")){ +_previousKeyWindow=objj_msgSend(_e4,"keyWindow"); +objj_msgSend(_previousKeyWindow,"resignKeyWindow"); +} +if(objj_msgSend(_e4,"mainWindow")){ +_previousMainWindow=objj_msgSend(_e4,"mainWindow"); +objj_msgSend(_previousMainWindow,"resignMainWindow"); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPApplicationDidResignActiveNotification,_e4,nil); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("sharedApplication"),function(_e6,_e7){ +with(_e6){ +if(!CPApp){ +CPApp=objj_msgSend(objj_msgSend(CPApplication,"alloc"),"init"); +} +return CPApp; +} +}),new objj_method(sel_getUid("defaultThemeName"),function(_e8,_e9){ +with(_e8){ +return (objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"objectForInfoDictionaryKey:","CPDefaultTheme")||"Aristo"); +} +})]); +var _63=function(_ea,_eb){ +return {_window:_ea,_state:CPRunContinuesResponse,_previous:nil}; +}; +var _af=function(_ec,_ed){ +return {_mask:_ec,_callback:_ed}; +}; +var _5b=function(_ee){ +objj_msgSend(CPApp,"setCallback:forNextEventMatchingMask:untilDate:inMode:dequeue:",_5b,CPAnyEventMask,nil,0,NO); +var _ef=objj_msgSend(_ee,"window"),_f0=CPApp._currentSession; +if(_ef==_f0._window||objj_msgSend(_ef,"worksWhenModal")){ +objj_msgSend(_ef,"sendEvent:",_ee); +} +}; +CPApplicationMain=function(_f1,_f2){ +var _f3=objj_msgSend(CPBundle,"mainBundle"),_f4=objj_msgSend(_f3,"principalClass"); +if(!_f4){ +_f4=objj_msgSend(CPApplication,"class"); +} +objj_msgSend(_f4,"sharedApplication"); +if(objj_msgSend(_f1,"containsObject:","debug")){ +CPLogRegister(CPLogPopup); +} +CPApp._args=_f1; +CPApp._namedArgs=_f2; +objj_msgSend(_CPAppBootstrapper,"performActions"); +}; +var _f5=nil; +var _3=objj_allocateClassPair(CPObject,"_CPAppBootstrapper"),_4=_3.isa; +objj_registerClassPair(_3); +class_addMethods(_4,[new objj_method(sel_getUid("actions"),function(_f6,_f7){ +with(_f6){ +return [sel_getUid("bootstrapPlatform"),sel_getUid("loadDefaultTheme"),sel_getUid("loadMainCibFile")]; +} +}),new objj_method(sel_getUid("performActions"),function(_f8,_f9){ +with(_f8){ +if(!_f5){ +_f5=objj_msgSend(_f8,"actions"); +} +while(_f5.length){ +var _fa=_f5.shift(); +if(objj_msgSend(_f8,_fa)){ +return; +} +} +objj_msgSend(CPApp,"run"); +} +}),new objj_method(sel_getUid("bootstrapPlatform"),function(_fb,_fc){ +with(_fb){ +return objj_msgSend(CPPlatform,"bootstrap"); +} +}),new objj_method(sel_getUid("loadDefaultTheme"),function(_fd,_fe){ +with(_fd){ +var _ff=objj_msgSend(objj_msgSend(CPThemeBlend,"alloc"),"initWithContentsOfURL:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPApplication,"class")),"pathForResource:",objj_msgSend(CPApplication,"defaultThemeName")+".blend")); +objj_msgSend(_ff,"loadWithDelegate:",_fd); +return YES; +} +}),new objj_method(sel_getUid("blendDidFinishLoading:"),function(self,_100,_101){ +with(self){ +objj_msgSend(CPTheme,"setDefaultTheme:",objj_msgSend(CPTheme,"themeNamed:",objj_msgSend(CPApplication,"defaultThemeName"))); +objj_msgSend(self,"performActions"); +} +}),new objj_method(sel_getUid("loadMainCibFile"),function(self,_102){ +with(self){ +var _103=objj_msgSend(CPBundle,"mainBundle"),_104=objj_msgSend(_103,"objectForInfoDictionaryKey:",_1)||objj_msgSend(_103,"objectForInfoDictionaryKey:",_2); +if(_104){ +objj_msgSend(_103,"loadCibFile:externalNameTable:loadDelegate:",_104,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",CPApp,CPCibOwner),self); +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("cibDidFinishLoading:"),function(self,_105,aCib){ +with(self){ +objj_msgSend(self,"performActions"); +} +}),new objj_method(sel_getUid("cibDidFailToLoad:"),function(self,_106,aCib){ +with(self){ +throw new Error("Could not load main cib file (Did you forget to nib2cib it?)."); +} +}),new objj_method(sel_getUid("reset"),function(self,_107){ +with(self){ +_f5=nil; +} +})]); +p;14;CPBezierPath.jt;4477;@STATIC;1.0;I;26;AppKit/CPGraphicsContext.jI;21;Foundation/CPObject.jt;4401; +objj_executeFile("AppKit/CPGraphicsContext.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +var _1=1; +var _2=objj_allocateClassPair(CPObject,"CPBezierPath"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_path"),new objj_ivar("_lineWidth")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_4,_5){ +with(_4){ +if(_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPBezierPath").super_class},"init")){ +_path=CGPathCreateMutable(); +_lineWidth=objj_msgSend(objj_msgSend(_4,"class"),"defaultLineWidth"); +} +return _4; +} +}),new objj_method(sel_getUid("moveToPoint:"),function(_6,_7,_8){ +with(_6){ +CGPathMoveToPoint(_path,nil,_8.x,_8.y); +} +}),new objj_method(sel_getUid("lineToPoint:"),function(_9,_a,_b){ +with(_9){ +CGPathAddLineToPoint(_path,nil,_b.x,_b.y); +} +}),new objj_method(sel_getUid("curveToPoint:controlPoint1:controlPoint2:"),function(_c,_d,_e,_f,_10){ +with(_c){ +CGPathAddCurveToPoint(_path,nil,_f.x,_f.y,_10.x,_10.y,_e.x,_e.y); +} +}),new objj_method(sel_getUid("closePath"),function(_11,_12){ +with(_11){ +CGPathCloseSubpath(_path); +} +}),new objj_method(sel_getUid("stroke"),function(_13,_14){ +with(_13){ +var ctx=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextBeginPath(ctx); +CGContextAddPath(ctx,_path); +CGContextSetLineWidth(ctx,objj_msgSend(_13,"lineWidth")); +CGContextClosePath(ctx); +CGContextStrokePath(ctx); +} +}),new objj_method(sel_getUid("fill"),function(_15,_16){ +with(_15){ +var ctx=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextBeginPath(ctx); +CGContextAddPath(ctx,_path); +CGContextSetLineWidth(ctx,objj_msgSend(_15,"lineWidth")); +CGContextClosePath(ctx); +CGContextFillPath(ctx); +} +}),new objj_method(sel_getUid("lineWidth"),function(_17,_18){ +with(_17){ +return _lineWidth; +} +}),new objj_method(sel_getUid("setLineWidth:"),function(_19,_1a,_1b){ +with(_19){ +_lineWidth=_1b; +} +}),new objj_method(sel_getUid("elementCount"),function(_1c,_1d){ +with(_1c){ +return _path.count; +} +}),new objj_method(sel_getUid("isEmpty"),function(_1e,_1f){ +with(_1e){ +return CGPathIsEmpty(_path); +} +}),new objj_method(sel_getUid("currentPoint"),function(_20,_21){ +with(_20){ +return CGPathGetCurrentPoint(_path); +} +}),new objj_method(sel_getUid("appendBezierPathWithPoints:count:"),function(_22,_23,_24,_25){ +with(_22){ +CGPathAddLines(_path,nil,_24,_25); +} +}),new objj_method(sel_getUid("appendBezierPathWithRect:"),function(_26,_27,_28){ +with(_26){ +CGPathAddRect(_path,nil,_28); +} +}),new objj_method(sel_getUid("appendBezierPathWithOvalInRect:"),function(_29,_2a,_2b){ +with(_29){ +CGPathAddPath(_path,nil,CGPathWithEllipseInRect(_2b)); +} +}),new objj_method(sel_getUid("appendBezierPathWithRoundedRect:xRadius:yRadius:"),function(_2c,_2d,_2e,_2f,_30){ +with(_2c){ +CGPathAddPath(_path,nil,CGPathWithRoundedRectangleInRect(_2e,_2f,_30,YES,YES,YES,YES)); +} +}),new objj_method(sel_getUid("appendBezierPath:"),function(_31,_32,_33){ +with(_31){ +CGPathAddPath(_path,nil,_33._path); +} +}),new objj_method(sel_getUid("removeAllPoints"),function(_34,_35){ +with(_34){ +_path=CGPathCreateMutable(); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("bezierPath"),function(_36,_37){ +with(_36){ +return objj_msgSend(objj_msgSend(_36,"alloc"),"init"); +} +}),new objj_method(sel_getUid("bezierPathWithOvalInRect:"),function(_38,_39,_3a){ +with(_38){ +var _3b=objj_msgSend(_38,"bezierPath"); +objj_msgSend(_3b,"appendBezierPathWithOvalInRect:",_3a); +return _3b; +} +}),new objj_method(sel_getUid("bezierPathWithRect:"),function(_3c,_3d,_3e){ +with(_3c){ +var _3f=objj_msgSend(_3c,"bezierPath"); +objj_msgSend(_3f,"appendBezierPathWithRect:",_3e); +return _3f; +} +}),new objj_method(sel_getUid("defaultLineWidth"),function(_40,_41){ +with(_40){ +return _1; +} +}),new objj_method(sel_getUid("setDefaultLineWidth:"),function(_42,_43,_44){ +with(_42){ +_1=_44; +} +}),new objj_method(sel_getUid("fillRect:"),function(_45,_46,_47){ +with(_45){ +objj_msgSend(objj_msgSend(_45,"bezierPathWithRect:",_47),"fill"); +} +}),new objj_method(sel_getUid("strokeRect:"),function(_48,_49,_4a){ +with(_48){ +objj_msgSend(objj_msgSend(_48,"bezierPathWithRect:",_4a),"stroke"); +} +}),new objj_method(sel_getUid("strokeLineFromPoint:toPoint:"),function(_4b,_4c,_4d,_4e){ +with(_4b){ +var _4f=objj_msgSend(_4b,"bezierPath"); +objj_msgSend(_4f,"moveToPoint:",_4d); +objj_msgSend(_4f,"lineToPoint:",_4e); +objj_msgSend(_4f,"stroke"); +} +})]); +p;7;CPBox.jt;5932;@STATIC;1.0;i;8;CPView.jt;5901; +objj_executeFile("CPView.j",YES); +CPNoBorder=0; +CPLineBorder=1; +CPBezelBorder=2; +CPGrooveBorder=3; +var _1=objj_allocateClassPair(CPView,"CPBox"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_borderType"),new objj_ivar("_borderColor"),new objj_ivar("_fillColor"),new objj_ivar("_cornerRadius"),new objj_ivar("_borderWidth"),new objj_ivar("_contentMargin"),new objj_ivar("_contentView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPBox").super_class},"initWithFrame:",_5); +if(_3){ +_fillColor=objj_msgSend(CPColor,"clearColor"); +_borderColor=objj_msgSend(CPColor,"blackColor"); +_borderWidth=1; +_contentMargin=CGSizeMake(0,0); +_contentView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",objj_msgSend(_3,"bounds")); +objj_msgSend(_3,"addSubview:",_contentView); +} +return _3; +} +}),new objj_method(sel_getUid("borderRect"),function(_6,_7){ +with(_6){ +return objj_msgSend(_6,"bounds"); +} +}),new objj_method(sel_getUid("borderType"),function(_8,_9){ +with(_8){ +return _borderType; +} +}),new objj_method(sel_getUid("setBorderType:"),function(_a,_b,_c){ +with(_a){ +_borderType=_c; +objj_msgSend(_a,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("borderColor"),function(_d,_e){ +with(_d){ +return _borderColor; +} +}),new objj_method(sel_getUid("setBorderColor:"),function(_f,_10,_11){ +with(_f){ +if(objj_msgSend(_11,"isEqual:",_borderColor)){ +return; +} +_borderColor=_11; +objj_msgSend(_f,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("borderWidth"),function(_12,_13){ +with(_12){ +return _borderWidth; +} +}),new objj_method(sel_getUid("setBorderWidth:"),function(_14,_15,_16){ +with(_14){ +if(_16===_borderWidth){ +return; +} +_borderWidth=_16; +objj_msgSend(_14,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("cornerRadius"),function(_17,_18){ +with(_17){ +return _cornerRadius; +} +}),new objj_method(sel_getUid("setCornerRadius:"),function(_19,_1a,_1b){ +with(_19){ +if(_1b===_cornerRadius){ +return; +} +_cornerRadius=_1b; +objj_msgSend(_19,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("fillColor"),function(_1c,_1d){ +with(_1c){ +return _fillColor; +} +}),new objj_method(sel_getUid("setFillColor:"),function(_1e,_1f,_20){ +with(_1e){ +if(objj_msgSend(_20,"isEqual:",_fillColor)){ +return; +} +_fillColor=_20; +objj_msgSend(_1e,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("contentView"),function(_21,_22){ +with(_21){ +return _contentView; +} +}),new objj_method(sel_getUid("setContentView:"),function(_23,_24,_25){ +with(_23){ +if(_25===_contentView){ +return; +} +objj_msgSend(_25,"setFrame:",CGRectInset(objj_msgSend(_23,"bounds"),_contentMargin.width+_borderWidth,_contentMargin.height+_borderWidth)); +objj_msgSend(_23,"replaceSubview:with:",_contentView,_25); +objj_msgSend(_25,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_contentView=_25; +} +}),new objj_method(sel_getUid("contentViewMargins"),function(_26,_27){ +with(_26){ +return _contentMargin; +} +}),new objj_method(sel_getUid("setContentViewMargins:"),function(_28,_29,_2a){ +with(_28){ +if(_2a.width<0||_2a.height<0){ +objj_msgSend(CPException,"raise:reason:",CPGenericException,"Margins must be positive"); +} +_contentMargin=CGSizeMakeCopy(_2a); +objj_msgSend(_28,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setFrameFromContentFrame:"),function(_2b,_2c,_2d){ +with(_2b){ +objj_msgSend(_2b,"setFrame:",CGRectInset(_2d,-(_contentMargin.width+_borderWidth),-(_contentMargin.height+_borderWidth))); +objj_msgSend(_2b,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("sizeToFit"),function(_2e,_2f){ +with(_2e){ +var _30=objj_msgSend(_contentView,"frame"); +objj_msgSend(_2e,"setFrameSize:",CGSizeMake(_30.size.width+_contentMargin.width*2,_30.size.height+_contentMargin.height*2)); +objj_msgSend(_contentView,"setFrameOrigin:",CGPointMake(_contentMargin.width,_contentMargin.height)); +} +}),new objj_method(sel_getUid("drawRect:"),function(_31,_32,_33){ +with(_31){ +var _34=objj_msgSend(_31,"bounds"),_35=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_36=_borderWidth/2,_37=CGRectMake(_34.origin.x+_36,_34.origin.y+_36,_34.size.width-_borderWidth,_34.size.height-_borderWidth),_38=CGRectMake(_34.origin.x+_36,_34.origin.y+_36,_34.size.width-_borderWidth,_34.size.height-_borderWidth); +CGContextSetFillColor(_35,objj_msgSend(_31,"fillColor")); +CGContextSetStrokeColor(_35,objj_msgSend(_31,"borderColor")); +CGContextSetLineWidth(_35,_borderWidth); +switch(_borderType){ +case CPLineBorder: +CGContextFillRoundedRectangleInRect(_35,_38,_cornerRadius,YES,YES,YES,YES); +CGContextStrokeRoundedRectangleInRect(_35,_37,_cornerRadius,YES,YES,YES,YES); +break; +case CPBezelBorder: +CGContextFillRoundedRectangleInRect(_35,_38,_cornerRadius,YES,YES,YES,YES); +CGContextSetStrokeColor(_35,objj_msgSend(CPColor,"colorWithWhite:alpha:",190/255,1)); +CGContextBeginPath(_35); +CGContextMoveToPoint(_35,_37.origin.x,_37.origin.y); +CGContextAddLineToPoint(_35,CGRectGetMinX(_37),CGRectGetMaxY(_37)),CGContextAddLineToPoint(_35,CGRectGetMaxX(_37),CGRectGetMaxY(_37)),CGContextAddLineToPoint(_35,CGRectGetMaxX(_37),CGRectGetMinY(_37)),CGContextStrokePath(_35); +CGContextSetStrokeColor(_35,objj_msgSend(CPColor,"colorWithWhite:alpha:",142/255,1)); +CGContextBeginPath(_35); +CGContextMoveToPoint(_35,_34.origin.x,_37.origin.y); +CGContextAddLineToPoint(_35,CGRectGetMaxX(_34),CGRectGetMinY(_37)); +CGContextStrokePath(_35); +break; +default: +break; +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("boxEnclosingView:"),function(_39,_3a,_3b){ +with(_39){ +var box=objj_msgSend(objj_msgSend(_39,"alloc"),"initWithFrame:",CGRectMakeZero()),_3c=objj_msgSend(_3b,"superview"); +objj_msgSend(box,"setFrameFromContentFrame:",objj_msgSend(_3b,"frame")); +objj_msgSend(_3c,"replaceSubview:with:",_3b,box); +objj_msgSend(box,"setContentView:",_3b); +return box; +} +})]); +p;10;CPButton.jt;15880;@STATIC;1.0;i;21;_CPImageAndTextView.ji;12;CGGeometry.ji;11;CPControl.ji;17;CPStringDrawing.ji;12;CPCheckBox.ji;9;CPRadio.jt;15749; +objj_executeFile("_CPImageAndTextView.j",YES); +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPControl.j",YES); +objj_executeFile("CPStringDrawing.j",YES); +CPRoundedBezelStyle=1; +CPRegularSquareBezelStyle=2; +CPThickSquareBezelStyle=3; +CPThickerSquareBezelStyle=4; +CPDisclosureBezelStyle=5; +CPShadowlessSquareBezelStyle=6; +CPCircularBezelStyle=7; +CPTexturedSquareBezelStyle=8; +CPHelpButtonBezelStyle=9; +CPSmallSquareBezelStyle=10; +CPTexturedRoundedBezelStyle=11; +CPRoundRectBezelStyle=12; +CPRecessedBezelStyle=13; +CPRoundedDisclosureBezelStyle=14; +CPHUDBezelStyle=-1; +CPMomentaryLightButton=0; +CPPushOnPushOffButton=1; +CPToggleButton=2; +CPSwitchButton=3; +CPRadioButton=4; +CPMomentaryChangeButton=5; +CPOnOffButton=6; +CPMomentaryPushInButton=7; +CPMomentaryPushButton=0; +CPMomentaryLight=7; +CPNoButtonMask=0; +CPContentsButtonMask=1; +CPPushInButtonMask=2; +CPGrayButtonMask=4; +CPBackgroundButtonMask=8; +CPNoCellMask=CPNoButtonMask; +CPContentsCellMask=CPContentsButtonMask; +CPPushInCellMask=CPPushInButtonMask; +CPChangeGrayCellMask=CPGrayButtonMask; +CPChangeBackgroundCellMask=CPBackgroundButtonMask; +CPButtonStateMixed=CPThemeState("mixed"); +var _1=objj_allocateClassPair(CPControl,"CPButton"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_allowsMixedState"),new objj_ivar("_title"),new objj_ivar("_alternateTitle"),new objj_ivar("_image"),new objj_ivar("_alternateImage"),new objj_ivar("_showsStateBy"),new objj_ivar("_highlightsBy"),new objj_ivar("_imageDimsWhenDisabled"),new objj_ivar("_bezelStyle"),new objj_ivar("_controlSize")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPButton").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"setValue:forThemeAttribute:",CPCenterTextAlignment,"alignment"); +objj_msgSend(_3,"setValue:forThemeAttribute:",CPCenterVerticalTextAlignment,"vertical-alignment"); +objj_msgSend(_3,"setValue:forThemeAttribute:",CPImageLeft,"image-position"); +objj_msgSend(_3,"setValue:forThemeAttribute:",CPScaleNone,"image-scaling"); +_controlSize=CPRegularControlSize; +objj_msgSend(_3,"setBordered:",YES); +} +return _3; +} +}),new objj_method(sel_getUid("allowsMixedState"),function(_6,_7){ +with(_6){ +return _allowsMixedState; +} +}),new objj_method(sel_getUid("setAllowsMixedState:"),function(_8,_9,_a){ +with(_8){ +_a=!!_a; +if(_allowsMixedState===_a){ +return; +} +_allowsMixedState=_a; +if(!_allowsMixedState&&objj_msgSend(_8,"state")===CPMixedState){ +objj_msgSend(_8,"setState:",CPOnState); +} +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_b,_c,_d){ +with(_b){ +if(!_d||_d===""||(objj_msgSend(_d,"intValue")===0)){ +_d=CPOffState; +}else{ +if(!objj_msgSend(_d,"isKindOfClass:",objj_msgSend(CPNumber,"class"))){ +_d=CPOnState; +}else{ +if(_d>CPOnState){ +_d=CPOnState; +}else{ +if(_d=0){ +_4e.width=MIN(_4e.width,_51.width); +} +if(_51.height>=0){ +_4e.height=MIN(_4e.height,_51.height); +} +objj_msgSend(_4c,"setFrameSize:",_4e); +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_52,_53,_54){ +with(_52){ +if(_54==="bezel-view"){ +return objj_msgSend(_52,"bezelRectForBounds:",objj_msgSend(_52,"bounds")); +}else{ +if(_54==="content-view"){ +return objj_msgSend(_52,"contentRectForBounds:",objj_msgSend(_52,"bounds")); +} +} +return objj_msgSendSuper({receiver:_52,super_class:objj_getClass("CPButton").super_class},"rectForEphemeralSubviewNamed:",_54); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_55,_56,_57){ +with(_55){ +if(_57==="bezel-view"){ +var _58=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_58,"setHitTests:",NO); +return _58; +}else{ +return objj_msgSend(objj_msgSend(_CPImageAndTextView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +} +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_59,_5a){ +with(_59){ +var _5b=objj_msgSend(_59,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","bezel-view",CPWindowBelow,"content-view"); +objj_msgSend(_5b,"setBackgroundColor:",objj_msgSend(_59,"currentValueForThemeAttribute:","bezel-color")); +var _5c=objj_msgSend(_59,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","content-view",CPWindowAbove,"bezel-view"); +if(_5c){ +objj_msgSend(_5c,"setText:",(objj_msgSend(_59,"hasThemeState:",CPThemeStateHighlighted)&&_alternateTitle)?_alternateTitle:_title); +objj_msgSend(_5c,"setImage:",(objj_msgSend(_59,"hasThemeState:",CPThemeStateHighlighted)&&_alternateImage)?_alternateImage:_image); +objj_msgSend(_5c,"setFont:",objj_msgSend(_59,"currentValueForThemeAttribute:","font")); +objj_msgSend(_5c,"setTextColor:",objj_msgSend(_59,"currentValueForThemeAttribute:","text-color")); +objj_msgSend(_5c,"setAlignment:",objj_msgSend(_59,"currentValueForThemeAttribute:","alignment")); +objj_msgSend(_5c,"setVerticalAlignment:",objj_msgSend(_59,"currentValueForThemeAttribute:","vertical-alignment")); +objj_msgSend(_5c,"setLineBreakMode:",objj_msgSend(_59,"currentValueForThemeAttribute:","line-break-mode")); +objj_msgSend(_5c,"setTextShadowColor:",objj_msgSend(_59,"currentValueForThemeAttribute:","text-shadow-color")); +objj_msgSend(_5c,"setTextShadowOffset:",objj_msgSend(_59,"currentValueForThemeAttribute:","text-shadow-offset")); +objj_msgSend(_5c,"setImagePosition:",objj_msgSend(_59,"currentValueForThemeAttribute:","image-position")); +objj_msgSend(_5c,"setImageScaling:",objj_msgSend(_59,"currentValueForThemeAttribute:","image-scaling")); +} +} +}),new objj_method(sel_getUid("setDefaultButton:"),function(_5d,_5e,_5f){ +with(_5d){ +if(_5f){ +objj_msgSend(_5d,"setThemeState:",CPThemeStateDefault); +}else{ +objj_msgSend(_5d,"unsetThemeState:",CPThemeStateDefault); +} +} +}),new objj_method(sel_getUid("setBordered:"),function(_60,_61,_62){ +with(_60){ +if(_62){ +objj_msgSend(_60,"setThemeState:",CPThemeStateBordered); +}else{ +objj_msgSend(_60,"unsetThemeState:",CPThemeStateBordered); +} +} +}),new objj_method(sel_getUid("isBordered"),function(_63,_64){ +with(_63){ +return objj_msgSend(_63,"hasThemeState:",CPThemeStateBordered); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("buttonWithTitle:"),function(_65,_66,_67){ +with(_65){ +return objj_msgSend(_65,"buttonWithTitle:theme:",_67,objj_msgSend(CPTheme,"defaultTheme")); +} +}),new objj_method(sel_getUid("buttonWithTitle:theme:"),function(_68,_69,_6a,_6b){ +with(_68){ +var _6c=objj_msgSend(objj_msgSend(_68,"alloc"),"init"); +objj_msgSend(_6c,"setTheme:",_6b); +objj_msgSend(_6c,"setTitle:",_6a); +objj_msgSend(_6c,"sizeToFit"); +return _6c; +} +}),new objj_method(sel_getUid("themeClass"),function(_6d,_6e){ +with(_6d){ +return "button"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_6f,_70){ +with(_6f){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[{top:(0),right:(0),bottom:(0),left:(0)},{top:(0),right:(0),bottom:(0),left:(0)},objj_msgSend(CPNull,"null")],["bezel-inset","content-inset","bezel-color"]); +} +})]); +var _1=objj_getClass("CPButton"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPButton\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("setBezelStyle:"),function(_71,_72,_73){ +with(_71){ +} +}),new objj_method(sel_getUid("bezelStyle"),function(_74,_75){ +with(_74){ +} +})]); +var _76="CPButtonImageKey",_77="CPButtonAlternateImageKey",_78="CPButtonTitleKey",_79="CPButtonAlternateTitleKey",_7a="CPButtonIsBorderedKey"; +var _1=objj_getClass("CPButton"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPButton\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_7b,_7c,_7d){ +with(_7b){ +_7b=objj_msgSendSuper({receiver:_7b,super_class:objj_getClass("CPButton").super_class},"initWithCoder:",_7d); +if(_7b){ +_controlSize=CPRegularControlSize; +objj_msgSend(_7b,"setImage:",objj_msgSend(_7d,"decodeObjectForKey:",_76)); +objj_msgSend(_7b,"setAlternateImage:",objj_msgSend(_7d,"decodeObjectForKey:",_77)); +objj_msgSend(_7b,"setTitle:",objj_msgSend(_7d,"decodeObjectForKey:",_78)); +objj_msgSend(_7b,"setAlternateTitle:",objj_msgSend(_7d,"decodeObjectForKey:",_79)); +objj_msgSend(_7b,"setNeedsLayout"); +objj_msgSend(_7b,"setNeedsDisplay:",YES); +} +return _7b; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_7e,_7f,_80){ +with(_7e){ +objj_msgSendSuper({receiver:_7e,super_class:objj_getClass("CPButton").super_class},"encodeWithCoder:",_80); +objj_msgSend(_80,"encodeObject:forKey:",_image,_76); +objj_msgSend(_80,"encodeObject:forKey:",_alternateImage,_77); +objj_msgSend(_80,"encodeObject:forKey:",_title,_78); +objj_msgSend(_80,"encodeObject:forKey:",_alternateTitle,_79); +} +})]); +objj_executeFile("CPCheckBox.j",YES); +objj_executeFile("CPRadio.j",YES); +p;13;CPButtonBar.jt;2014;@STATIC;1.0;I;15;AppKit/CPView.jt;1975; +objj_executeFile("AppKit/CPView.j",NO); +var _1=objj_allocateClassPair(CPControl,"CPButtonBar"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPButtonBar").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"setNeedsLayout"); +} +return _3; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_6,_7,_8){ +with(_6){ +if(_8==="bezel-view"){ +return objj_msgSend(_6,"bounds"); +} +return objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPButtonBar").super_class},"rectForEphemeralSubviewNamed:",_8); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_9,_a,_b){ +with(_9){ +if(_b==="bezel-view"){ +var _c=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_c,"setHitTests:",NO); +return _c; +} +return objj_msgSendSuper({receiver:_9,super_class:objj_getClass("CPButtonBar").super_class},"createEphemeralSubviewNamed:",_b); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_d,_e){ +with(_d){ +var _f=objj_msgSend(_d,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","bezel-view",CPWindowBelow,""); +if(_f){ +objj_msgSend(_f,"setBackgroundColor:",objj_msgSend(_d,"currentValueForThemeAttribute:","bezel-color")); +} +} +}),new objj_method(sel_getUid("addSubview:"),function(_10,_11,_12){ +with(_10){ +objj_msgSendSuper({receiver:_10,super_class:objj_getClass("CPButtonBar").super_class},"addSubview:",_12); +objj_msgSend(_12,"setAutoresizingMask:",CPViewMinXMargin); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("themeClass"),function(_13,_14){ +with(_13){ +return "button-bar"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_15,_16){ +with(_15){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[objj_msgSend(CPNull,"null")],["bezel-color"]); +} +})]); +p;12;CPCheckBox.jt;1047;@STATIC;1.0;i;10;CPButton.jt;1013; +objj_executeFile("CPButton.j",YES); +var _1=objj_allocateClassPair(CPButton,"CPCheckBox"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPCheckBox").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"setHighlightsBy:",CPContentsCellMask); +objj_msgSend(_3,"setShowsStateBy:",CPContentsCellMask); +objj_msgSend(_3,"setImagePosition:",CPImageLeft); +objj_msgSend(_3,"setAlignment:",CPLeftTextAlignment); +objj_msgSend(_3,"setBordered:",YES); +} +return _3; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("checkBoxWithTitle:theme:"),function(_6,_7,_8,_9){ +with(_6){ +return objj_msgSend(_6,"buttonWithTitle:theme:",_8,_9); +} +}),new objj_method(sel_getUid("checkBoxWithTitle:"),function(_a,_b,_c){ +with(_a){ +return objj_msgSend(_a,"buttonWithTitle:",_c); +} +}),new objj_method(sel_getUid("themeClass"),function(_d,_e){ +with(_d){ +return "check-box"; +} +})]); +p;12;CPClipView.jt;4254;@STATIC;1.0;i;8;CPView.jt;4223; +objj_executeFile("CPView.j",YES); +var _1=objj_allocateClassPair(CPView,"CPClipView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_documentView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setDocumentView:"),function(_3,_4,_5){ +with(_3){ +if(_documentView==_5){ +return; +} +var _6=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_documentView){ +objj_msgSend(_6,"removeObserver:name:object:",_3,CPViewFrameDidChangeNotification,_documentView); +objj_msgSend(_6,"removeObserver:name:object:",_3,CPViewBoundsDidChangeNotification,_documentView); +objj_msgSend(_documentView,"removeFromSuperview"); +} +_documentView=_5; +if(_documentView){ +objj_msgSend(_3,"addSubview:",_documentView); +objj_msgSend(_documentView,"setPostsFrameChangedNotifications:",YES); +objj_msgSend(_documentView,"setPostsBoundsChangedNotifications:",YES); +objj_msgSend(_6,"addObserver:selector:name:object:",_3,sel_getUid("viewFrameChanged:"),CPViewFrameDidChangeNotification,_documentView); +objj_msgSend(_6,"addObserver:selector:name:object:",_3,sel_getUid("viewBoundsChanged:"),CPViewBoundsDidChangeNotification,_documentView); +} +} +}),new objj_method(sel_getUid("documentView"),function(_7,_8){ +with(_7){ +return _documentView; +} +}),new objj_method(sel_getUid("constrainScrollPoint:"),function(_9,_a,_b){ +with(_9){ +if(!_documentView){ +return {x:0,y:0}; +} +var _c=objj_msgSend(_documentView,"frame"); +_b.x=MAX(0,MIN(_b.x,MAX((_c.size.width)-(_bounds.size.width),0))); +_b.y=MAX(0,MIN(_b.y,MAX((_c.size.height)-(_bounds.size.height),0))); +return _b; +} +}),new objj_method(sel_getUid("setBoundsOrigin:"),function(_d,_e,_f){ +with(_d){ +if((_bounds.origin.x==_f.x&&_bounds.origin.y==_f.y)){ +return; +} +objj_msgSendSuper({receiver:_d,super_class:objj_getClass("CPClipView").super_class},"setBoundsOrigin:",_f); +var _10=objj_msgSend(_d,"superview"),_11=objj_getClass("CPScrollView"); +if(objj_msgSend(_10,"isKindOfClass:",_11)){ +objj_msgSend(_10,"reflectScrolledClipView:",_d); +} +} +}),new objj_method(sel_getUid("scrollToPoint:"),function(_12,_13,_14){ +with(_12){ +objj_msgSend(_12,"setBoundsOrigin:",objj_msgSend(_12,"constrainScrollPoint:",_14)); +} +}),new objj_method(sel_getUid("viewBoundsChanged:"),function(_15,_16,_17){ +with(_15){ +objj_msgSend(_15,"_constrainScrollPoint"); +} +}),new objj_method(sel_getUid("viewFrameChanged:"),function(_18,_19,_1a){ +with(_18){ +objj_msgSend(_18,"_constrainScrollPoint"); +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_1b,_1c,_1d){ +with(_1b){ +objj_msgSendSuper({receiver:_1b,super_class:objj_getClass("CPClipView").super_class},"resizeSubviewsWithOldSize:",_1d); +objj_msgSend(_1b,"_constrainScrollPoint"); +} +}),new objj_method(sel_getUid("_constrainScrollPoint"),function(_1e,_1f){ +with(_1e){ +var _20=objj_msgSend(_1e,"bounds").origin; +objj_msgSend(_1e,"scrollToPoint:",_20); +if(!CGPointEqualToPoint(_20,objj_msgSend(_1e,"bounds").origin)){ +return; +} +var _21=objj_msgSend(_1e,"superview"),_22=objj_getClass("CPScrollView"); +if(objj_msgSend(_21,"isKindOfClass:",_22)){ +objj_msgSend(_21,"reflectScrolledClipView:",_1e); +} +} +}),new objj_method(sel_getUid("autoscroll:"),function(_23,_24,_25){ +with(_23){ +var _26=objj_msgSend(_23,"bounds"),_27=objj_msgSend(_23,"convertPoint:fromView:",objj_msgSend(_25,"locationInWindow"),nil); +if(CPRectContainsPoint(_26,_27)){ +return NO; +} +var _28=CGRectMakeZero(); +_28.origin=_27; +_28.size=CPSizeMake(10,10); +return objj_msgSend(_documentView,"scrollRectToVisible:",_28); +} +})]); +var _29="CPScrollViewDocumentView"; +var _1=objj_getClass("CPClipView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPClipView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +if(_2a=objj_msgSendSuper({receiver:_2a,super_class:objj_getClass("CPClipView").super_class},"initWithCoder:",_2c)){ +objj_msgSend(_2a,"setDocumentView:",objj_msgSend(_2c,"decodeObjectForKey:",_29)); +} +return _2a; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSendSuper({receiver:_2d,super_class:objj_getClass("CPClipView").super_class},"encodeWithCoder:",_2f); +objj_msgSend(_2f,"encodeObject:forKey:",_documentView,_29); +} +})]); +p;18;CPCollectionView.jt;17959;@STATIC;1.0;I;20;Foundation/CPArray.jI;19;Foundation/CPData.jI;23;Foundation/CPIndexSet.jI;28;Foundation/CPKeyedArchiver.jI;30;Foundation/CPKeyedUnarchiver.ji;8;CPView.ji;22;CPCollectionViewItem.jt;17755; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPData.j",NO); +objj_executeFile("Foundation/CPIndexSet.j",NO); +objj_executeFile("Foundation/CPKeyedArchiver.j",NO); +objj_executeFile("Foundation/CPKeyedUnarchiver.j",NO); +objj_executeFile("CPView.j",YES); +objj_executeFile("CPCollectionViewItem.j",YES); +var _1=objj_allocateClassPair(CPView,"CPCollectionView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_content"),new objj_ivar("_items"),new objj_ivar("_itemData"),new objj_ivar("_itemPrototype"),new objj_ivar("_itemForDragging"),new objj_ivar("_cachedItems"),new objj_ivar("_maxNumberOfRows"),new objj_ivar("_maxNumberOfColumns"),new objj_ivar("_minItemSize"),new objj_ivar("_maxItemSize"),new objj_ivar("_backgroundColors"),new objj_ivar("_tileWidth"),new objj_ivar("_isSelectable"),new objj_ivar("_allowsMultipleSelection"),new objj_ivar("_allowsEmptySelection"),new objj_ivar("_selectionIndexes"),new objj_ivar("_itemSize"),new objj_ivar("_horizontalMargin"),new objj_ivar("_verticalMargin"),new objj_ivar("_numberOfRows"),new objj_ivar("_numberOfColumns"),new objj_ivar("_delegate"),new objj_ivar("_mouseDownEvent")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPCollectionView").super_class},"initWithFrame:",_5); +if(_3){ +_items=[]; +_content=[]; +_cachedItems=[]; +_itemSize=CGSizeMakeZero(); +_minItemSize=CGSizeMakeZero(); +_maxItemSize=CGSizeMakeZero(); +objj_msgSend(_3,"setBackgroundColors:",nil); +_verticalMargin=5; +_tileWidth=-1; +_selectionIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_allowsEmptySelection=YES; +_isSelectable=YES; +} +return _3; +} +}),new objj_method(sel_getUid("setItemPrototype:"),function(_6,_7,_8){ +with(_6){ +_cachedItems=[]; +_itemData=nil; +_itemForDragging=nil; +_itemPrototype=_8; +objj_msgSend(_6,"reloadContent"); +} +}),new objj_method(sel_getUid("itemPrototype"),function(_9,_a){ +with(_9){ +return _itemPrototype; +} +}),new objj_method(sel_getUid("newItemForRepresentedObject:"),function(_b,_c,_d){ +with(_b){ +var _e=nil; +if(_cachedItems.length){ +_e=_cachedItems.pop(); +}else{ +if(!_itemData){ +if(_itemPrototype){ +_itemData=objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_itemPrototype); +} +} +_e=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",_itemData); +} +objj_msgSend(_e,"setRepresentedObject:",_d); +objj_msgSend(objj_msgSend(_e,"view"),"setFrameSize:",_itemSize); +return _e; +} +}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_f,_10){ +with(_f){ +return YES; +} +}),new objj_method(sel_getUid("isFirstResponder"),function(_11,_12){ +with(_11){ +return objj_msgSend(objj_msgSend(_11,"window"),"firstResponder")===_11; +} +}),new objj_method(sel_getUid("setContent:"),function(_13,_14,_15){ +with(_13){ +if(_content==_15){ +return; +} +_content=_15; +objj_msgSend(_13,"reloadContent"); +} +}),new objj_method(sel_getUid("content"),function(_16,_17){ +with(_16){ +return _content; +} +}),new objj_method(sel_getUid("items"),function(_18,_19){ +with(_18){ +return _items; +} +}),new objj_method(sel_getUid("setSelectable:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_isSelectable==_1c){ +return; +} +_isSelectable=_1c; +if(!_isSelectable){ +var _1d=CPNotFound; +while((_1d=objj_msgSend(_selectionIndexes,"indexGreaterThanIndex:",_1d))!=CPNotFound){ +objj_msgSend(_items[_1d],"setSelected:",NO); +} +} +} +}),new objj_method(sel_getUid("isSelectable"),function(_1e,_1f){ +with(_1e){ +return _isSelectable; +} +}),new objj_method(sel_getUid("setAllowsEmptySelection:"),function(_20,_21,_22){ +with(_20){ +_allowsEmptySelection=_22; +} +}),new objj_method(sel_getUid("allowsEmptySelection"),function(_23,_24){ +with(_23){ +return _allowsEmptySelection; +} +}),new objj_method(sel_getUid("setAllowsMultipleSelection:"),function(_25,_26,_27){ +with(_25){ +_allowsMultipleSelection=_27; +} +}),new objj_method(sel_getUid("allowsMultipleSelection"),function(_28,_29){ +with(_28){ +return _allowsMultipleSelection; +} +}),new objj_method(sel_getUid("setSelectionIndexes:"),function(_2a,_2b,_2c){ +with(_2a){ +if(_selectionIndexes==_2c||!_isSelectable){ +return; +} +var _2d=CPNotFound; +while((_2d=objj_msgSend(_selectionIndexes,"indexGreaterThanIndex:",_2d))!=CPNotFound){ +objj_msgSend(_items[_2d],"setSelected:",NO); +} +_selectionIndexes=_2c; +var _2d=CPNotFound; +while((_2d=objj_msgSend(_selectionIndexes,"indexGreaterThanIndex:",_2d))!=CPNotFound){ +objj_msgSend(_items[_2d],"setSelected:",YES); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("collectionViewDidChangeSelection:"))){ +objj_msgSend(_delegate,"collectionViewDidChangeSelection:",_2a); +} +} +}),new objj_method(sel_getUid("selectionIndexes"),function(_2e,_2f){ +with(_2e){ +return objj_msgSend(_selectionIndexes,"copy"); +} +}),new objj_method(sel_getUid("reloadContent"),function(_30,_31){ +with(_30){ +var _32=_items.length; +while(_32--){ +objj_msgSend(objj_msgSend(_items[_32],"view"),"removeFromSuperview"); +objj_msgSend(_items[_32],"setSelected:",NO); +_cachedItems.push(_items[_32]); +} +_items=[]; +if(!_itemPrototype||!_content){ +return; +} +var _33=0; +_32=_content.length; +for(;_33<_32;++_33){ +_items.push(objj_msgSend(_30,"newItemForRepresentedObject:",_content[_33])); +objj_msgSend(_30,"addSubview:",objj_msgSend(_items[_33],"view")); +} +_33=CPNotFound; +while((_33=objj_msgSend(_selectionIndexes,"indexGreaterThanIndex:",_33))!=CPNotFound){ +objj_msgSend(_items[_33],"setSelected:",YES); +} +objj_msgSend(_30,"tile"); +} +}),new objj_method(sel_getUid("tile"),function(_34,_35){ +with(_34){ +var _36=CGRectGetWidth(objj_msgSend(_34,"bounds")); +if(!objj_msgSend(_content,"count")||_36==_tileWidth){ +return; +} +var _37=CGSizeMakeCopy(_minItemSize); +_numberOfColumns=MAX(1,FLOOR(_36/_37.width)); +if(_maxNumberOfColumns>0){ +_numberOfColumns=MIN(_maxNumberOfColumns,_numberOfColumns); +} +var _38=_36-_numberOfColumns*_37.width,_39=NO; +if(_38>0&&_37.width<_maxItemSize.width){ +_37.width=MIN(_maxItemSize.width,_37.width+FLOOR(_38/_numberOfColumns)); +} +if(_maxNumberOfColumns==1&&_37.width<_maxItemSize.width&&_37.width<_36){ +_37.width=MIN(_maxItemSize.width,_36); +} +if(!CGSizeEqualToSize(_itemSize,_37)){ +_itemSize=_37; +_39=YES; +} +var _3a=0,_3b=_items.length; +if(_maxNumberOfColumns>0&&_maxNumberOfRows>0){ +_3b=MIN(_3b,_maxNumberOfColumns*_maxNumberOfRows); +} +_numberOfRows=CEIL(_3b/_numberOfColumns); +_horizontalMargin=FLOOR((_36-_numberOfColumns*_37.width)/(_numberOfColumns+1)); +var x=_horizontalMargin,y=-_37.height; +for(;_3a<_3b;++_3a){ +if(_3a%_numberOfColumns==0){ +x=_horizontalMargin; +y+=_verticalMargin+_37.height; +} +var _3c=objj_msgSend(_items[_3a],"view"); +objj_msgSend(_3c,"setFrameOrigin:",CGPointMake(x,y)); +if(_39){ +objj_msgSend(_3c,"setFrameSize:",_itemSize); +} +x+=_37.width+_horizontalMargin; +} +_tileWidth=_36; +objj_msgSend(_34,"setFrameSize:",CGSizeMake(_36,y+_37.height+_verticalMargin)); +_tileWidth=-1; +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_3d,_3e,_3f){ +with(_3d){ +objj_msgSend(_3d,"tile"); +} +}),new objj_method(sel_getUid("setMaxNumberOfRows:"),function(_40,_41,_42){ +with(_40){ +if(_maxNumberOfRows==_42){ +return; +} +_maxNumberOfRows=_42; +objj_msgSend(_40,"tile"); +} +}),new objj_method(sel_getUid("maxNumberOfRows"),function(_43,_44){ +with(_43){ +return _maxNumberOfRows; +} +}),new objj_method(sel_getUid("setMaxNumberOfColumns:"),function(_45,_46,_47){ +with(_45){ +if(_maxNumberOfColumns==_47){ +return; +} +_maxNumberOfColumns=_47; +objj_msgSend(_45,"tile"); +} +}),new objj_method(sel_getUid("maxNumberOfColumns"),function(_48,_49){ +with(_48){ +return _maxNumberOfColumns; +} +}),new objj_method(sel_getUid("numberOfRows"),function(_4a,_4b){ +with(_4a){ +return _numberOfRows; +} +}),new objj_method(sel_getUid("numberOfColumns"),function(_4c,_4d){ +with(_4c){ +return _numberOfColumns; +} +}),new objj_method(sel_getUid("setMinItemSize:"),function(_4e,_4f,_50){ +with(_4e){ +if(CGSizeEqualToSize(_minItemSize,_50)){ +return; +} +_minItemSize=CGSizeMakeCopy(_50); +objj_msgSend(_4e,"tile"); +} +}),new objj_method(sel_getUid("minItemSize"),function(_51,_52){ +with(_51){ +return _minItemSize; +} +}),new objj_method(sel_getUid("setMaxItemSize:"),function(_53,_54,_55){ +with(_53){ +if(CGSizeEqualToSize(_maxItemSize,_55)){ +return; +} +_maxItemSize=CGSizeMakeCopy(_55); +objj_msgSend(_53,"tile"); +} +}),new objj_method(sel_getUid("maxItemSize"),function(_56,_57){ +with(_56){ +return _maxItemSize; +} +}),new objj_method(sel_getUid("setBackgroundColors:"),function(_58,_59,_5a){ +with(_58){ +if(_backgroundColors===_5a){ +return; +} +_backgroundColors=_5a; +if(!_backgroundColors){ +_backgroundColors=objj_msgSend(CPColor,"whiteColor"); +} +if(objj_msgSend(_backgroundColors,"count")===1){ +objj_msgSend(_58,"setBackgroundColor:",_backgroundColors[0]); +}else{ +objj_msgSend(_58,"setBackgroundColor:",nil); +} +objj_msgSend(_58,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("backgroundColors"),function(_5b,_5c){ +with(_5b){ +return _backgroundColors; +} +}),new objj_method(sel_getUid("mouseUp:"),function(_5d,_5e,_5f){ +with(_5d){ +if(objj_msgSend(_selectionIndexes,"count")&&objj_msgSend(_5f,"clickCount")==2&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("collectionView:didDoubleClickOnItemAtIndex:"))){ +objj_msgSend(_delegate,"collectionView:didDoubleClickOnItemAtIndex:",_5d,objj_msgSend(_selectionIndexes,"firstIndex")); +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_60,_61,_62){ +with(_60){ +_mouseDownEvent=_62; +var _63=objj_msgSend(_60,"convertPoint:fromView:",objj_msgSend(_62,"locationInWindow"),nil),row=FLOOR(_63.y/(_itemSize.height+_verticalMargin)),_64=FLOOR(_63.x/(_itemSize.width+_horizontalMargin)),_65=row*_numberOfColumns+_64; +if(_65>=0&&_65<_items.length){ +objj_msgSend(_60,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_65)); +}else{ +if(_allowsEmptySelection){ +objj_msgSend(_60,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSet")); +} +} +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_66,_67,_68){ +with(_66){ +if(!objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("collectionView:dragTypesForItemsAtIndexes:"))){ +return; +} +if(!objj_msgSend(_selectionIndexes,"count")){ +return; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("collectionView:canDragItemsAtIndexes:withEvent:"))&&!objj_msgSend(_delegate,"collectionView:canDragItemsAtIndexes:withEvent:",_66,_selectionIndexes,_mouseDownEvent)){ +return; +} +var _69=objj_msgSend(_delegate,"collectionView:dragTypesForItemsAtIndexes:",_66,_selectionIndexes); +objj_msgSend(objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard),"declareTypes:owner:",_69,_66); +var _6a=objj_msgSend(_66,"convertPoint:fromView:",objj_msgSend(_68,"locationInWindow"),nil); +if(!_itemForDragging){ +_itemForDragging=objj_msgSend(_66,"newItemForRepresentedObject:",_content[objj_msgSend(_selectionIndexes,"firstIndex")]); +}else{ +objj_msgSend(_itemForDragging,"setRepresentedObject:",_content[objj_msgSend(_selectionIndexes,"firstIndex")]); +} +var _6b=objj_msgSend(_itemForDragging,"view"); +objj_msgSend(_6b,"setFrameSize:",_itemSize); +objj_msgSend(_6b,"setAlphaValue:",0.7); +objj_msgSend(_66,"dragView:at:offset:event:pasteboard:source:slideBack:",_6b,objj_msgSend(objj_msgSend(_items[objj_msgSend(_selectionIndexes,"firstIndex")],"view"),"frame").origin,CGSizeMakeZero(),_mouseDownEvent,nil,_66,YES); +} +}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_6c,_6d,_6e,_6f){ +with(_6c){ +objj_msgSend(_6e,"setData:forType:",objj_msgSend(_delegate,"collectionView:dataForItemsAtIndexes:forType:",_6c,_selectionIndexes,_6f),_6f); +} +}),new objj_method(sel_getUid("setVerticalMargin:"),function(_70,_71,_72){ +with(_70){ +if(_verticalMargin==_72){ +return; +} +_verticalMargin=_72; +objj_msgSend(_70,"tile"); +} +}),new objj_method(sel_getUid("verticalMargin"),function(_73,_74){ +with(_73){ +return _verticalMargin; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_75,_76,_77){ +with(_75){ +_delegate=_77; +} +}),new objj_method(sel_getUid("delegate"),function(_78,_79){ +with(_78){ +return _delegate; +} +}),new objj_method(sel_getUid("itemAtIndex:"),function(_7a,_7b,_7c){ +with(_7a){ +return objj_msgSend(_items,"objectAtIndex:",_7c); +} +}),new objj_method(sel_getUid("frameForItemAtIndex:"),function(_7d,_7e,_7f){ +with(_7d){ +return objj_msgSend(objj_msgSend(objj_msgSend(_7d,"itemAtIndex:",_7f),"view"),"frame"); +} +}),new objj_method(sel_getUid("frameForItemsAtIndexes:"),function(_80,_81,_82){ +with(_80){ +var _83=[],_84=CGRectNull; +objj_msgSend(_82,"getIndexes:maxCount:inIndexRange:",_83,-1,nil); +var _85=0,_86=objj_msgSend(_83,"count"); +for(;_85<_86;++_85){ +_84=CGRectUnion(_84,objj_msgSend(_80,"rectForItemAtIndex:",_83[_85])); +} +return _84; +} +})]); +var _1=objj_getClass("CPCollectionView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPCollectionView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("_scrollToSelection"),function(_87,_88){ +with(_87){ +var _89=objj_msgSend(_87,"frameForItemsAtIndexes:",objj_msgSend(_87,"selectionIndexes")); +if(!CGRectIsNull(_89)){ +objj_msgSend(_87,"scrollRectToVisible:",_89); +} +} +}),new objj_method(sel_getUid("moveLeft:"),function(_8a,_8b,_8c){ +with(_8a){ +var _8d=objj_msgSend(objj_msgSend(_8a,"selectionIndexes"),"firstIndex"); +if(_8d===CPNotFound){ +_8d=objj_msgSend(objj_msgSend(_8a,"items"),"count"); +} +_8d=MAX(_8d-1,0); +objj_msgSend(_8a,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_8d)); +objj_msgSend(_8a,"_scrollToSelection"); +} +}),new objj_method(sel_getUid("moveRight:"),function(_8e,_8f,_90){ +with(_8e){ +var _91=MIN(objj_msgSend(objj_msgSend(_8e,"selectionIndexes"),"firstIndex")+1,objj_msgSend(objj_msgSend(_8e,"items"),"count")-1); +objj_msgSend(_8e,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_91)); +objj_msgSend(_8e,"_scrollToSelection"); +} +}),new objj_method(sel_getUid("moveDown:"),function(_92,_93,_94){ +with(_92){ +var _95=MIN(objj_msgSend(objj_msgSend(_92,"selectionIndexes"),"firstIndex")+objj_msgSend(_92,"numberOfColumns"),objj_msgSend(objj_msgSend(_92,"items"),"count")-1); +objj_msgSend(_92,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_95)); +objj_msgSend(_92,"_scrollToSelection"); +} +}),new objj_method(sel_getUid("moveUp:"),function(_96,_97,_98){ +with(_96){ +var _99=objj_msgSend(objj_msgSend(_96,"selectionIndexes"),"firstIndex"); +if(_99==CPNotFound){ +_99=objj_msgSend(objj_msgSend(_96,"items"),"count"); +} +_99=MAX(0,_99-objj_msgSend(_96,"numberOfColumns")); +objj_msgSend(_96,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_99)); +objj_msgSend(_96,"_scrollToSelection"); +} +}),new objj_method(sel_getUid("deleteBackward:"),function(_9a,_9b,_9c){ +with(_9a){ +if(objj_msgSend(objj_msgSend(_9a,"delegate"),"respondsToSelector:",sel_getUid("collectionView:shouldDeleteItemsAtIndexes:"))){ +objj_msgSend(objj_msgSend(_9a,"delegate"),"collectionView:shouldDeleteItemsAtIndexes:",_9a,objj_msgSend(_9a,"selectionIndexes")); +var _9d=objj_msgSend(objj_msgSend(_9a,"selectionIndexes"),"firstIndex"); +if(_9d>objj_msgSend(objj_msgSend(_9a,"content"),"count")-1){ +objj_msgSend(_9a,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",objj_msgSend(objj_msgSend(_9a,"content"),"count")-1)); +} +objj_msgSend(_9a,"_scrollToSelection"); +objj_msgSend(_9a,"setNeedsDisplay:",YES); +} +} +}),new objj_method(sel_getUid("keyDown:"),function(_9e,_9f,_a0){ +with(_9e){ +objj_msgSend(_9e,"interpretKeyEvents:",[_a0]); +} +})]); +var _1=objj_getClass("CPCollectionView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPCollectionView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("rectForItemAtIndex:"),function(_a1,_a2,_a3){ +with(_a1){ +_CPReportLenientDeprecation(objj_msgSend(_a1,"class"),_a2,sel_getUid("frameForItemAtIndex:")); +return objj_msgSend(_a1,"frameForItemAtIndex:",_a3); +} +}),new objj_method(sel_getUid("rectForItemsAtIndexes:"),function(_a4,_a5,_a6){ +with(_a4){ +_CPReportLenientDeprecation(objj_msgSend(_a4,"class"),_a5,sel_getUid("frameForItemsAtIndexes:")); +return objj_msgSend(_a4,"frameForItemsAtIndexes:",_a6); +} +})]); +var _a7="CPCollectionViewMinItemSizeKey",_a8="CPCollectionViewMaxItemSizeKey",_a9="CPCollectionViewVerticalMarginKey",_aa="CPCollectionViewSelectableKey",_ab="CPCollectionViewBackgroundColorsKey"; +var _1=objj_getClass("CPCollectionView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPCollectionView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_ac,_ad,_ae){ +with(_ac){ +_ac=objj_msgSendSuper({receiver:_ac,super_class:objj_getClass("CPCollectionView").super_class},"initWithCoder:",_ae); +if(_ac){ +_items=[]; +_content=[]; +_cachedItems=[]; +_itemSize=CGSizeMakeZero(); +_minItemSize=objj_msgSend(_ae,"decodeSizeForKey:",_a7)||CGSizeMakeZero(); +_maxItemSize=objj_msgSend(_ae,"decodeSizeForKey:",_a8)||CGSizeMakeZero(); +_verticalMargin=objj_msgSend(_ae,"decodeFloatForKey:",_a9); +_isSelectable=objj_msgSend(_ae,"decodeBoolForKey:",_aa); +objj_msgSend(_ac,"setBackgroundColors:",objj_msgSend(_ae,"decodeObjectForKey:",_ab)); +_tileWidth=-1; +_selectionIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_allowsEmptySelection=YES; +} +return _ac; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_af,_b0,_b1){ +with(_af){ +objj_msgSendSuper({receiver:_af,super_class:objj_getClass("CPCollectionView").super_class},"encodeWithCoder:",_b1); +if(!CGSizeEqualToSize(_minItemSize,CGSizeMakeZero())){ +objj_msgSend(_b1,"encodeSize:forKey:",_minItemSize,_a7); +} +if(!CGSizeEqualToSize(_maxItemSize,CGSizeMakeZero())){ +objj_msgSend(_b1,"encodeSize:forKey:",_maxItemSize,_a8); +} +objj_msgSend(_b1,"encodeBool:forKey:",_isSelectable,_aa); +objj_msgSend(_b1,"encodeFloat:forKey:",_verticalMargin,_a9); +objj_msgSend(_b1,"encodeObject:forKey:",_backgroundColors,_ab); +} +})]); +p;22;CPCollectionViewItem.jt;1188;@STATIC;1.0;i;18;CPViewController.jt;1146; +objj_executeFile("CPViewController.j",YES); +var _1=objj_allocateClassPair(CPViewController,"CPCollectionViewItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_isSelected")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setRepresentedObject:"),function(_3,_4,_5){ +with(_3){ +objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPCollectionViewItem").super_class},"setRepresentedObject:",_5); +var _6=objj_msgSend(_3,"view"); +if(objj_msgSend(_6,"respondsToSelector:",sel_getUid("setRepresentedObject:"))){ +objj_msgSend(_6,"setRepresentedObject:",objj_msgSend(_3,"representedObject")); +} +} +}),new objj_method(sel_getUid("setSelected:"),function(_7,_8,_9){ +with(_7){ +_9=!!_9; +if(_isSelected===_9){ +return; +} +_isSelected=_9; +var _a=objj_msgSend(_7,"view"); +if(objj_msgSend(_a,"respondsToSelector:",sel_getUid("setSelected:"))){ +objj_msgSend(_a,"setSelected:",objj_msgSend(_7,"isSelected")); +} +} +}),new objj_method(sel_getUid("isSelected"),function(_b,_c){ +with(_b){ +return _isSelected; +} +}),new objj_method(sel_getUid("collectionView"),function(_d,_e){ +with(_d){ +return objj_msgSend(_view,"superview"); +} +})]); +p;9;CPColor.jt;14567;@STATIC;1.0;I;21;Foundation/CPObject.ji;9;CGColor.ji;17;CPCompatibility.ji;9;CPImage.jt;14473; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CGColor.j",YES); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("CPImage.j",YES); +var _1=0,_2=1,_3=2,_4=3; +var _5=0,_6=1,_7=2; +var _8,_9,_a,_b,_c,_d,_e,_f,_10,_11,_12,_13,_14,_15,_16,_17; +var _18=objj_allocateClassPair(CPObject,"CPColor"),_19=_18.isa; +class_addIvars(_18,[new objj_ivar("_components"),new objj_ivar("_patternImage"),new objj_ivar("_cssString")]); +objj_registerClassPair(_18); +class_addMethods(_18,[new objj_method(sel_getUid("_initWithCSSString:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_1c.indexOf("rgb")==CPNotFound){ +return nil; +} +_1a=objj_msgSendSuper({receiver:_1a,super_class:objj_getClass("CPColor").super_class},"init"); +var _1d=_1c.indexOf("("); +var _1e=_1c.substring(_1d+1).split(","); +_components=[parseInt(_1e[0],10)/255,parseInt(_1e[1],10)/255,parseInt(_1e[2],10)/255,_1e[3]?parseInt(_1e[3],10)/255:1]; +_cssString=_1c; +return _1a; +} +}),new objj_method(sel_getUid("_initWithRGBA:"),function(_1f,_20,_21){ +with(_1f){ +_1f=objj_msgSendSuper({receiver:_1f,super_class:objj_getClass("CPColor").super_class},"init"); +if(_1f){ +_components=_21; +if(!CPFeatureIsCompatible(CPCSSRGBAFeature)&&_components[3]!=1&&window.Base64&&window.CRC32){ +var _22=[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,1,0,0,0,1,8,3,0,0,0,40,203,52,187,0,0,3,0,80,76,84,69,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23,137,153,85,0,0,0,1,116,82,78,83,0,64,230,216,102,0,0,0,16,73,68,65,84,120,218,98,96,0,0,0,0,255,255,3,0,0,2,0,1,36,127,36,241,0,0,0,0,73,69,78,68,174,66,96,130,255]; +var _23=41; +var _24=42; +var _25=43; +var _26=821; +var _27=809; +var _28=822; +var _29=37; +var _2a=817; +_22[_23]=Math.round(_components[0]*255); +_22[_24]=Math.round(_components[1]*255); +_22[_25]=Math.round(_components[2]*255); +_22[_26]=Math.round(_components[3]*255); +var _2b=_2c(CRC32.getCRC(_22,_29,4+768),4); +var _2d=_2c(CRC32.getCRC(_22,_2a,4+1),4); +for(var i=0;i<4;i++){ +_22[_27+i]=_2b[i]; +_22[_28+i]=_2d[i]; +} +var _2e=Base64.encode(_22); +_cssString="url(\"data:image/png;base64,"+_2e+"\")"; +}else{ +var _2f=CPFeatureIsCompatible(CPCSSRGBAFeature)&&_components[3]!=1; +_cssString=(_2f?"rgba(":"rgb(")+parseInt(_components[0]*255)+", "+parseInt(_components[1]*255)+", "+parseInt(_components[2]*255)+(_2f?(", "+_components[3]):"")+")"; +} +} +return _1f; +} +}),new objj_method(sel_getUid("_initWithPatternImage:"),function(_30,_31,_32){ +with(_30){ +_30=objj_msgSendSuper({receiver:_30,super_class:objj_getClass("CPColor").super_class},"init"); +if(_30){ +_patternImage=_32; +_cssString="url(\""+objj_msgSend(_patternImage,"filename")+"\")"; +} +return _30; +} +}),new objj_method(sel_getUid("patternImage"),function(_33,_34){ +with(_33){ +return _patternImage; +} +}),new objj_method(sel_getUid("alphaComponent"),function(_35,_36){ +with(_35){ +return _components[3]; +} +}),new objj_method(sel_getUid("blueComponent"),function(_37,_38){ +with(_37){ +return _components[2]; +} +}),new objj_method(sel_getUid("greenComponent"),function(_39,_3a){ +with(_39){ +return _components[1]; +} +}),new objj_method(sel_getUid("redComponent"),function(_3b,_3c){ +with(_3b){ +return _components[0]; +} +}),new objj_method(sel_getUid("components"),function(_3d,_3e){ +with(_3d){ +return _components; +} +}),new objj_method(sel_getUid("colorWithAlphaComponent:"),function(_3f,_40,_41){ +with(_3f){ +var _42=_components.slice(); +_42[_42.length-1]=_41; +return objj_msgSend(objj_msgSend(objj_msgSend(_3f,"class"),"alloc"),"_initWithRGBA:",_42); +} +}),new objj_method(sel_getUid("hsbComponents"),function(_43,_44){ +with(_43){ +var red=ROUND(_components[_1]*255),_45=ROUND(_components[_2]*255),_46=ROUND(_components[_3]*255); +var max=MAX(red,_45,_46),min=MIN(red,_45,_46),_47=max-min; +var _48=max/255,_49=(max!=0)?_47/max:0; +var hue; +if(_49==0){ +hue=0; +}else{ +var rr=(max-red)/_47; +var gr=(max-_45)/_47; +var br=(max-_46)/_47; +if(red==max){ +hue=br-gr; +}else{ +if(_45==max){ +hue=2+rr-br; +}else{ +hue=4+gr-rr; +} +} +hue/=6; +if(hue<0){ +hue++; +} +} +return [ROUND(hue*360),ROUND(_49*100),ROUND(_48*100)]; +} +}),new objj_method(sel_getUid("cssString"),function(_4a,_4b){ +with(_4a){ +return _cssString; +} +}),new objj_method(sel_getUid("hexString"),function(_4c,_4d){ +with(_4c){ +return _4e(objj_msgSend(_4c,"redComponent"),objj_msgSend(_4c,"greenComponent"),objj_msgSend(_4c,"blueComponent")); +} +}),new objj_method(sel_getUid("isEqual:"),function(_4f,_50,_51){ +with(_4f){ +if(!_51){ +return NO; +} +if(_51===_4f){ +return YES; +} +return objj_msgSend(_51,"isKindOfClass:",CPColor)&&objj_msgSend(_51,"cssString")===objj_msgSend(_4f,"cssString"); +} +}),new objj_method(sel_getUid("description"),function(_52,_53){ +with(_52){ +return objj_msgSendSuper({receiver:_52,super_class:objj_getClass("CPColor").super_class},"description")+" "+objj_msgSend(_52,"cssString"); +} +})]); +class_addMethods(_19,[new objj_method(sel_getUid("colorWithRed:green:blue:alpha:"),function(_54,_55,red,_56,_57,_58){ +with(_54){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[red,_56,_57,_58]); +} +}),new objj_method(sel_getUid("colorWithCalibratedRed:green:blue:alpha:"),function(_59,_5a,red,_5b,_5c,_5d){ +with(_59){ +return objj_msgSend(_59,"colorWithRed:green:blue:alpha:",red,_5b,_5c,_5d); +} +}),new objj_method(sel_getUid("colorWithWhite:alpha:"),function(_5e,_5f,_60,_61){ +with(_5e){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[_60,_60,_60,_61]); +} +}),new objj_method(sel_getUid("colorWithCalibratedWhite:alpha:"),function(_62,_63,_64,_65){ +with(_62){ +return objj_msgSend(_62,"colorWithWhite:alpha:",_64,_65); +} +}),new objj_method(sel_getUid("colorWithHue:saturation:brightness:"),function(_66,_67,hue,_68,_69){ +with(_66){ +return objj_msgSend(_66,"colorWithHue:saturation:brightness:alpha:",hue,_68,_69,1); +} +}),new objj_method(sel_getUid("colorWithHue:saturation:brightness:alpha:"),function(_6a,_6b,hue,_6c,_6d,_6e){ +with(_6a){ +if(_6c===0){ +return objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",_6d/100,_6e); +} +var f=hue%60,p=(_6d*(100-_6c))/10000,q=(_6d*(6000-_6c*f))/600000,t=(_6d*(6000-_6c*(60-f)))/600000,b=_6d/100; +switch(FLOOR(hue/60)){ +case 0: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",b,t,p,_6e); +case 1: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",q,b,p,_6e); +case 2: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",p,b,t,_6e); +case 3: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",p,q,b,_6e); +case 4: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",t,p,b,_6e); +case 5: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",b,p,q,_6e); +} +} +}),new objj_method(sel_getUid("colorWithHexString:"),function(_6f,_70,hex){ +with(_6f){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",_71(hex)); +} +}),new objj_method(sel_getUid("blackColor"),function(_72,_73){ +with(_72){ +if(!_8){ +_8=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,0,0,1]); +} +return _8; +} +}),new objj_method(sel_getUid("blueColor"),function(_74,_75){ +with(_74){ +if(!_b){ +_b=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,0,1,1]); +} +return _b; +} +}),new objj_method(sel_getUid("darkGrayColor"),function(_76,_77){ +with(_76){ +if(!_f){ +_f=objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",1/3,1); +} +return _f; +} +}),new objj_method(sel_getUid("grayColor"),function(_78,_79){ +with(_78){ +if(!_d){ +_d=objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",0.5,1); +} +return _d; +} +}),new objj_method(sel_getUid("greenColor"),function(_7a,_7b){ +with(_7a){ +if(!_a){ +_a=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,1,0,1]); +} +return _a; +} +}),new objj_method(sel_getUid("lightGrayColor"),function(_7c,_7d){ +with(_7c){ +if(!_e){ +_e=objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",2/3,1); +} +return _e; +} +}),new objj_method(sel_getUid("redColor"),function(_7e,_7f){ +with(_7e){ +if(!_9){ +_9=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,0,0,1]); +} +return _9; +} +}),new objj_method(sel_getUid("whiteColor"),function(_80,_81){ +with(_80){ +if(!_10){ +_10=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,1,1,1]); +} +return _10; +} +}),new objj_method(sel_getUid("yellowColor"),function(_82,_83){ +with(_82){ +if(!_c){ +_c=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,1,0,1]); +} +return _c; +} +}),new objj_method(sel_getUid("brownColor"),function(_84,_85){ +with(_84){ +if(!_11){ +_11=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0.6,0.4,0.2,1]); +} +return _11; +} +}),new objj_method(sel_getUid("cyanColor"),function(_86,_87){ +with(_86){ +if(!_12){ +_12=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,1,1,1]); +} +return _12; +} +}),new objj_method(sel_getUid("magentaColor"),function(_88,_89){ +with(_88){ +if(!_13){ +_13=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,0,1,1]); +} +return _13; +} +}),new objj_method(sel_getUid("orangeColor"),function(_8a,_8b){ +with(_8a){ +if(!_14){ +_14=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,0.5,0,1]); +} +return _14; +} +}),new objj_method(sel_getUid("purpleColor"),function(_8c,_8d){ +with(_8c){ +if(!_15){ +_15=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0.5,0,0.5,1]); +} +return _15; +} +}),new objj_method(sel_getUid("shadowColor"),function(_8e,_8f){ +with(_8e){ +if(!_16){ +_16=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,0,0,1/3]); +} +return _16; +} +}),new objj_method(sel_getUid("clearColor"),function(_90,_91){ +with(_90){ +if(!_17){ +_17=objj_msgSend(_90,"colorWithCalibratedWhite:alpha:",0,0); +} +return _17; +} +}),new objj_method(sel_getUid("alternateSelectedControlColor"),function(_92,_93){ +with(_92){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0.22,0.46,0.84,1]); +} +}),new objj_method(sel_getUid("secondarySelectedControlColor"),function(_94,_95){ +with(_94){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0.83,0.83,0.83,1]); +} +}),new objj_method(sel_getUid("colorWithPatternImage:"),function(_96,_97,_98){ +with(_96){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithPatternImage:",_98); +} +}),new objj_method(sel_getUid("colorWithCSSString:"),function(_99,_9a,_9b){ +with(_99){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithCSSString:",_9b); +} +})]); +var _18=objj_getClass("CPColor"); +if(!_18){ +throw new SyntaxError("*** Could not find definition for class \"CPColor\""); +} +var _19=_18.isa; +class_addMethods(_18,[new objj_method(sel_getUid("set"),function(_9c,_9d){ +with(_9c){ +objj_msgSend(_9c,"setFill"); +objj_msgSend(_9c,"setStroke"); +} +}),new objj_method(sel_getUid("setFill"),function(_9e,_9f){ +with(_9e){ +var ctx=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetFillColor(ctx,_9e); +} +}),new objj_method(sel_getUid("setStroke"),function(_a0,_a1){ +with(_a0){ +var ctx=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetStrokeColor(ctx,_a0); +} +})]); +var _18=objj_getClass("CPColor"); +if(!_18){ +throw new SyntaxError("*** Could not find definition for class \"CPColor\""); +} +var _19=_18.isa; +class_addMethods(_19,[new objj_method(sel_getUid("randomColor"),function(_a2,_a3){ +with(_a2){ +return objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",RAND(),RAND(),RAND(),1); +} +})]); +var _a4="CPColorComponentsKey",_a5="CPColorPatternImageKey"; +var _18=objj_getClass("CPColor"); +if(!_18){ +throw new SyntaxError("*** Could not find definition for class \"CPColor\""); +} +var _19=_18.isa; +class_addMethods(_18,[new objj_method(sel_getUid("initWithCoder:"),function(_a6,_a7,_a8){ +with(_a6){ +if(objj_msgSend(_a8,"containsValueForKey:",_a5)){ +return objj_msgSend(_a6,"_initWithPatternImage:",objj_msgSend(_a8,"decodeObjectForKey:",_a5)); +} +return objj_msgSend(_a6,"_initWithRGBA:",objj_msgSend(_a8,"decodeObjectForKey:",_a4)); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_a9,_aa,_ab){ +with(_a9){ +if(_patternImage){ +objj_msgSend(_ab,"encodeObject:forKey:",_patternImage,_a5); +}else{ +objj_msgSend(_ab,"encodeObject:forKey:",_components,_a4); +} +} +})]); +var _ac="0123456789ABCDEF"; +var _71,_2c,_4e,_ad; +_71=function(hex){ +if(hex.length==3){ +hex=hex.charAt(0)+hex.charAt(0)+hex.charAt(1)+hex.charAt(1)+hex.charAt(2)+hex.charAt(2); +} +if(hex.length!=6){ +return null; +} +hex=hex.toUpperCase(); +for(var i=0;i=0;i--){ +_b2[i]=_b0&255; +_b0=_b0>>8; +} +return _b2; +}; +_4e=function(r,g,b){ +return _ad(r)+_ad(g)+_ad(b); +}; +_ad=function(n){ +if(!n||isNaN(n)){ +return "00"; +} +n=ROUND(MIN(255,MAX(0,256*n))); +return _ac.charAt((n-n%16)/16)+_ac.charAt(n%16); +}; +p;14;CPColorPanel.jt;16850;@STATIC;1.0;i;10;CPButton.ji;10;CPCookie.ji;9;CPPanel.ji;8;CPView.ji;15;CPColorPicker.ji;21;CPSliderColorPicker.jt;16729; +objj_executeFile("CPButton.j",YES); +objj_executeFile("CPCookie.j",YES); +objj_executeFile("CPPanel.j",YES); +objj_executeFile("CPView.j",YES); +CPColorPanelColorDidChangeNotification="CPColorPanelColorDidChangeNotification"; +var _1=20,_2=32,_3=14,_4=32,_5=12; +var _6=nil,_7=[]; +CPWheelColorPickerMode=1; +CPSliderColorPickerMode=2; +CPColorPickerViewWidth=265,CPColorPickerViewHeight=370; +var _8=objj_allocateClassPair(CPPanel,"CPColorPanel"),_9=_8.isa; +class_addIvars(_8,[new objj_ivar("_toolbar"),new objj_ivar("_swatchView"),new objj_ivar("_previewView"),new objj_ivar("_opacitySlider"),new objj_ivar("_colorPickers"),new objj_ivar("_currentView"),new objj_ivar("_activePicker"),new objj_ivar("_color"),new objj_ivar("_target"),new objj_ivar("_action"),new objj_ivar("_mode")]); +objj_registerClassPair(_8); +class_addMethods(_8,[new objj_method(sel_getUid("init"),function(_a,_b){ +with(_a){ +_a=objj_msgSendSuper({receiver:_a,super_class:objj_getClass("CPColorPanel").super_class},"initWithContentRect:styleMask:",CGRectMake(500,50,219,370),(CPTitledWindowMask|CPClosableWindowMask|CPResizableWindowMask)); +if(_a){ +objj_msgSend(objj_msgSend(_a,"contentView"),"setBackgroundColor:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.95,1)); +objj_msgSend(_a,"setTitle:","Color Panel"); +objj_msgSend(_a,"setLevel:",CPFloatingWindowLevel); +objj_msgSend(_a,"setFloatingPanel:",YES); +objj_msgSend(_a,"setBecomesKeyOnlyIfNeeded:",YES); +objj_msgSend(_a,"setMinSize:",CGSizeMake(219,342)); +objj_msgSend(_a,"setMaxSize:",CGSizeMake(323,537)); +} +return _a; +} +}),new objj_method(sel_getUid("setColor:"),function(_c,_d,_e){ +with(_c){ +_color=_e; +objj_msgSend(_previewView,"setBackgroundColor:",_color); +objj_msgSend(CPApp,"sendAction:to:from:",sel_getUid("changeColor:"),nil,_c); +if(_target&&_action){ +objj_msgSend(CPApp,"sendAction:to:from:",_action,_target,_c); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPColorPanelColorDidChangeNotification,_c); +objj_msgSend(_activePicker,"setColor:",_color); +objj_msgSend(_opacitySlider,"setFloatValue:",objj_msgSend(_color,"alphaComponent")); +} +}),new objj_method(sel_getUid("setColor:updatePicker:"),function(_f,_10,_11,_12){ +with(_f){ +objj_msgSend(_f,"setColor:",_11); +if(_12){ +objj_msgSend(_activePicker,"setColor:",_color); +} +} +}),new objj_method(sel_getUid("color"),function(_13,_14){ +with(_13){ +return _color; +} +}),new objj_method(sel_getUid("opacity"),function(_15,_16){ +with(_15){ +return objj_msgSend(_opacitySlider,"floatValue"); +} +}),new objj_method(sel_getUid("setTarget:"),function(_17,_18,_19){ +with(_17){ +_target=_19; +} +}),new objj_method(sel_getUid("target"),function(_1a,_1b){ +with(_1a){ +return _target; +} +}),new objj_method(sel_getUid("setAction:"),function(_1c,_1d,_1e){ +with(_1c){ +_action=_1e; +} +}),new objj_method(sel_getUid("action"),function(_1f,_20){ +with(_1f){ +return _action; +} +}),new objj_method(sel_getUid("setMode:"),function(_21,_22,_23){ +with(_21){ +_mode=_23; +} +}),new objj_method(sel_getUid("_setPicker:"),function(_24,_25,_26){ +with(_24){ +var _27=_colorPickers[objj_msgSend(_26,"tag")],_28=objj_msgSend(_27,"provideNewView:",NO); +if(!_28){ +_28=objj_msgSend(_27,"provideNewView:",YES); +} +if(_28==_currentView){ +return; +} +if(_currentView){ +objj_msgSend(_28,"setFrame:",objj_msgSend(_currentView,"frame")); +}else{ +var _29=(_2+10+_1+5+_3+32),_2a=objj_msgSend(objj_msgSend(_24,"contentView"),"bounds"); +objj_msgSend(_28,"setFrameSize:",CPSizeMake(_2a.size.width-10,_2a.size.height-_29)); +objj_msgSend(_28,"setFrameOrigin:",CPPointMake(5,_29)); +} +objj_msgSend(_currentView,"removeFromSuperview"); +objj_msgSend(objj_msgSend(_24,"contentView"),"addSubview:",_28); +_currentView=_28; +_activePicker=_27; +objj_msgSend(_27,"setColor:",objj_msgSend(_24,"color")); +} +}),new objj_method(sel_getUid("mode"),function(_2b,_2c){ +with(_2b){ +return _mode; +} +}),new objj_method(sel_getUid("orderFront:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSend(_2d,"_loadContentsIfNecessary"); +objj_msgSendSuper({receiver:_2d,super_class:objj_getClass("CPColorPanel").super_class},"orderFront:",_2f); +} +}),new objj_method(sel_getUid("_loadContentsIfNecessary"),function(_30,_31){ +with(_30){ +if(_toolbar){ +return; +} +if(!_color){ +_color=objj_msgSend(CPColor,"whiteColor"); +} +_colorPickers=[]; +var _32=objj_msgSend(_7,"count"); +for(var i=0;i<_32;i++){ +var _33=_7[i],_34=objj_msgSend(objj_msgSend(_33,"alloc"),"initWithPickerMask:colorPanel:",0,_30); +_colorPickers.push(_34); +} +var _35=objj_msgSend(_30,"contentView"),_36=objj_msgSend(_35,"bounds"); +_toolbar=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,6,CGRectGetWidth(_36),_2)); +objj_msgSend(_toolbar,"setAutoresizingMask:",CPViewWidthSizable); +var _37=_32*_4+(_32-1)*_5,_38=(CGRectGetWidth(_36)-_37)/2,_39=nil; +for(var i=0;i<_32;i++){ +var _3a=objj_msgSend(_colorPickers[i],"provideNewButtonImage"),_3b=objj_msgSend(_colorPickers[i],"provideNewAlternateButtonImage"),_3c=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(_38+i*(_4+_5),0,_4,_4)); +objj_msgSend(_3c,"setTag:",i); +objj_msgSend(_3c,"setTarget:",_30); +objj_msgSend(_3c,"setAction:",sel_getUid("_setPicker:")); +objj_msgSend(_3c,"setBordered:",NO); +objj_msgSend(_3c,"setAutoresizingMask:",CPViewMinXMargin|CPViewMaxXMargin); +objj_msgSend(_3c,"setImage:",_3a); +objj_msgSend(_3c,"setAlternateImage:",_3b); +objj_msgSend(_toolbar,"addSubview:",_3c); +if(!_39){ +_39=_3c; +} +} +var _3d=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(76,_2+10,CGRectGetWidth(_36)-86,_1)); +_previewView=objj_msgSend(objj_msgSend(_CPColorPanelPreview,"alloc"),"initWithFrame:",CGRectInset(objj_msgSend(_3d,"bounds"),2,2)); +objj_msgSend(_previewView,"setColorPanel:",_30); +objj_msgSend(_previewView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_3d,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.8,1)); +objj_msgSend(_3d,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_3d,"addSubview:",_previewView); +var _3e=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(10,_2+10,60,15)); +objj_msgSend(_3e,"setStringValue:","Preview:"); +objj_msgSend(_3e,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_3e,"setAlignment:",CPRightTextAlignment); +var _3f=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(76,_2+10+_1+5,CGRectGetWidth(_36)-86,_3+2)); +objj_msgSend(_3f,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.8,1)); +objj_msgSend(_3f,"setAutoresizingMask:",CPViewWidthSizable); +_swatchView=objj_msgSend(objj_msgSend(_CPColorPanelSwatches,"alloc"),"initWithFrame:",CGRectInset(objj_msgSend(_3f,"bounds"),1,1)); +objj_msgSend(_swatchView,"setColorPanel:",_30); +objj_msgSend(_swatchView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_3f,"addSubview:",_swatchView); +var _40=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(10,_2+8+_1+6,60,15)); +objj_msgSend(_40,"setStringValue:","Swatches:"); +objj_msgSend(_40,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_40,"setAlignment:",CPRightTextAlignment); +var _41=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(10,_2+_1+35,60,20)); +objj_msgSend(_41,"setStringValue:","Opacity:"); +objj_msgSend(_41,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_41,"setAlignment:",CPRightTextAlignment); +_opacitySlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CGRectMake(76,_2+_1+34,CGRectGetWidth(_36)-86,20)); +objj_msgSend(_opacitySlider,"setMinValue:",0); +objj_msgSend(_opacitySlider,"setMaxValue:",1); +objj_msgSend(_opacitySlider,"setTarget:",_30); +objj_msgSend(_opacitySlider,"setAction:",sel_getUid("setOpacity:")); +objj_msgSend(_35,"addSubview:",_toolbar); +objj_msgSend(_35,"addSubview:",_3d); +objj_msgSend(_35,"addSubview:",_3e); +objj_msgSend(_35,"addSubview:",_3f); +objj_msgSend(_35,"addSubview:",_40); +objj_msgSend(_35,"addSubview:",_41); +objj_msgSend(_35,"addSubview:",_opacitySlider); +_target=nil; +_action=nil; +_activePicker=nil; +objj_msgSend(_previewView,"setBackgroundColor:",_color); +if(_39){ +objj_msgSend(_30,"_setPicker:",_39); +} +} +}),new objj_method(sel_getUid("setOpacity:"),function(_42,_43,_44){ +with(_42){ +var _45=objj_msgSend(objj_msgSend(_42,"color"),"components"),_46=objj_msgSend(_44,"floatValue"); +objj_msgSend(_42,"setColor:updatePicker:",objj_msgSend(_color,"colorWithAlphaComponent:",_46),YES); +} +})]); +class_addMethods(_9,[new objj_method(sel_getUid("provideColorPickerClass:"),function(_47,_48,_49){ +with(_47){ +_7.push(_49); +} +}),new objj_method(sel_getUid("sharedColorPanel"),function(_4a,_4b){ +with(_4a){ +if(!_6){ +_6=objj_msgSend(objj_msgSend(CPColorPanel,"alloc"),"init"); +} +return _6; +} +}),new objj_method(sel_getUid("setPickerMode:"),function(_4c,_4d,_4e){ +with(_4c){ +var _4f=objj_msgSend(CPColorPanel,"sharedColorPanel"); +objj_msgSend(_4f,"setMode:",_4e); +} +})]); +CPColorDragType="CPColorDragType"; +var _50="CPColorPanelSwatchesCookie"; +var _8=objj_allocateClassPair(CPView,"_CPColorPanelSwatches"),_9=_8.isa; +class_addIvars(_8,[new objj_ivar("_swatches"),new objj_ivar("_dragColor"),new objj_ivar("_colorPanel"),new objj_ivar("_swatchCookie")]); +objj_registerClassPair(_8); +class_addMethods(_8,[new objj_method(sel_getUid("initWithFrame:"),function(_51,_52,_53){ +with(_51){ +_51=objj_msgSendSuper({receiver:_51,super_class:objj_getClass("_CPColorPanelSwatches").super_class},"initWithFrame:",_53); +objj_msgSend(_51,"setBackgroundColor:",objj_msgSend(CPColor,"grayColor")); +objj_msgSend(_51,"registerForDraggedTypes:",objj_msgSend(CPArray,"arrayWithObjects:",CPColorDragType)); +var _54=objj_msgSend(CPColor,"whiteColor"); +_swatchCookie=objj_msgSend(objj_msgSend(CPCookie,"alloc"),"initWithName:",_50); +var _55=objj_msgSend(_51,"startingColorList"); +_swatches=[]; +for(var i=0;i<50;i++){ +var _56=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CPRectMake(13*i+1,1,12,12)),_57=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectInset(objj_msgSend(_56,"bounds"),1,1)); +objj_msgSend(_56,"setBackgroundColor:",_54); +objj_msgSend(_57,"setBackgroundColor:",(i<_55.length)?_55[i]:_54); +objj_msgSend(_56,"addSubview:",_57); +objj_msgSend(_51,"addSubview:",_56); +_swatches.push(_56); +} +return _51; +} +}),new objj_method(sel_getUid("isOpaque"),function(_58,_59){ +with(_58){ +return YES; +} +}),new objj_method(sel_getUid("startingColorList"),function(_5a,_5b){ +with(_5a){ +var _5c=objj_msgSend(_swatchCookie,"value"); +if(_5c==""){ +return [objj_msgSend(CPColor,"blackColor"),objj_msgSend(CPColor,"darkGrayColor"),objj_msgSend(CPColor,"grayColor"),objj_msgSend(CPColor,"lightGrayColor"),objj_msgSend(CPColor,"whiteColor"),objj_msgSend(CPColor,"redColor"),objj_msgSend(CPColor,"greenColor"),objj_msgSend(CPColor,"blueColor"),objj_msgSend(CPColor,"yellowColor")]; +} +var _5c=eval(_5c); +var _5d=[]; +for(var i=0;i<_5c.length;i++){ +_5d.push(objj_msgSend(CPColor,"colorWithHexString:",_5c[i])); +} +return _5d; +} +}),new objj_method(sel_getUid("saveColorList"),function(_5e,_5f){ +with(_5e){ +var _60=[]; +for(var i=0;i<_swatches.length;i++){ +_60.push(objj_msgSend(objj_msgSend(objj_msgSend(_swatches[i],"subviews")[0],"backgroundColor"),"hexString")); +} +var _61=new Date(); +_61.setYear(2019); +objj_msgSend(_swatchCookie,"setValue:expires:domain:",JSON.stringify(_60),_61,nil); +} +}),new objj_method(sel_getUid("setColorPanel:"),function(_62,_63,_64){ +with(_62){ +_colorPanel=_64; +} +}),new objj_method(sel_getUid("colorPanel"),function(_65,_66){ +with(_65){ +return _colorPanel; +} +}),new objj_method(sel_getUid("colorAtIndex:"),function(_67,_68,_69){ +with(_67){ +return objj_msgSend(objj_msgSend(_swatches[_69],"subviews")[0],"backgroundColor"); +} +}),new objj_method(sel_getUid("setColor:atIndex:"),function(_6a,_6b,_6c,_6d){ +with(_6a){ +objj_msgSend(objj_msgSend(_swatches[_6d],"subviews")[0],"setBackgroundColor:",_6c); +objj_msgSend(_6a,"saveColorList"); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_6e,_6f,_70){ +with(_6e){ +var _71=objj_msgSend(_6e,"convertPoint:fromView:",objj_msgSend(_70,"locationInWindow"),nil),_72=objj_msgSend(_6e,"bounds"); +if(!CGRectContainsPoint(_72,_71)||_71.x>objj_msgSend(_6e,"bounds").size.width-1||_71.x<1){ +return NO; +} +objj_msgSend(_colorPanel,"setColor:updatePicker:",objj_msgSend(_6e,"colorAtIndex:",FLOOR(_71.x/13)),YES); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_73,_74,_75){ +with(_73){ +var _76=objj_msgSend(_73,"convertPoint:fromView:",objj_msgSend(_75,"locationInWindow"),nil); +if(_76.x>objj_msgSend(_73,"bounds").size.width-1||_76.x<1){ +return NO; +} +objj_msgSend(objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard),"declareTypes:owner:",objj_msgSend(CPArray,"arrayWithObject:",CPColorDragType),_73); +var _77=_swatches[FLOOR(_76.x/13)]; +_dragColor=objj_msgSend(objj_msgSend(_77,"subviews")[0],"backgroundColor"); +var _78=CPRectCreateCopy(objj_msgSend(_77,"bounds")); +var _79=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",_78); +dragFillView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectInset(_78,1,1)); +objj_msgSend(_79,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(dragFillView,"setBackgroundColor:",_dragColor); +objj_msgSend(_79,"addSubview:",dragFillView); +objj_msgSend(_73,"dragView:at:offset:event:pasteboard:source:slideBack:",_79,CPPointMake(_76.x-_78.size.width/2,_76.y-_78.size.height/2),CPPointMake(0,0),_75,nil,_73,YES); +} +}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_7a,_7b,_7c,_7d){ +with(_7a){ +if(_7d==CPColorDragType){ +objj_msgSend(_7c,"setData:forType:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_dragColor),_7d); +} +} +}),new objj_method(sel_getUid("performDragOperation:"),function(_7e,_7f,_80){ +with(_7e){ +var _81=objj_msgSend(_7e,"convertPoint:fromView:",objj_msgSend(_80,"draggingLocation"),nil),_82=objj_msgSend(_80,"draggingPasteboard"),_83=nil; +if(!objj_msgSend(_82,"availableTypeFromArray:",[CPColorDragType])||_81.x>objj_msgSend(_7e,"bounds").size.width-1||_81.x<1){ +return NO; +} +objj_msgSend(_7e,"setColor:atIndex:",objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(_82,"dataForType:",CPColorDragType)),FLOOR(_81.x/13)); +} +})]); +var _8=objj_allocateClassPair(CPView,"_CPColorPanelPreview"),_9=_8.isa; +class_addIvars(_8,[new objj_ivar("_colorPanel")]); +objj_registerClassPair(_8); +class_addMethods(_8,[new objj_method(sel_getUid("initWithFrame:"),function(_84,_85,_86){ +with(_84){ +_84=objj_msgSendSuper({receiver:_84,super_class:objj_getClass("_CPColorPanelPreview").super_class},"initWithFrame:",_86); +objj_msgSend(_84,"registerForDraggedTypes:",objj_msgSend(CPArray,"arrayWithObjects:",CPColorDragType)); +return _84; +} +}),new objj_method(sel_getUid("setColorPanel:"),function(_87,_88,_89){ +with(_87){ +_colorPanel=_89; +} +}),new objj_method(sel_getUid("colorPanel"),function(_8a,_8b){ +with(_8a){ +return _colorPanel; +} +}),new objj_method(sel_getUid("performDragOperation:"),function(_8c,_8d,_8e){ +with(_8c){ +var _8f=objj_msgSend(_8e,"draggingPasteboard"); +if(!objj_msgSend(_8f,"availableTypeFromArray:",[CPColorDragType])){ +return NO; +} +var _90=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(_8f,"dataForType:",CPColorDragType)); +objj_msgSend(_colorPanel,"setColor:updatePicker:",_90,YES); +} +}),new objj_method(sel_getUid("isOpaque"),function(_91,_92){ +with(_91){ +return YES; +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_93,_94,_95){ +with(_93){ +var _96=objj_msgSend(_93,"convertPoint:fromView:",objj_msgSend(_95,"locationInWindow"),nil); +objj_msgSend(objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard),"declareTypes:owner:",[CPColorDragType],_93); +var _97=CPRectMake(0,0,15,15); +var _98=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",_97); +dragFillView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectInset(_97,1,1)); +objj_msgSend(_98,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(dragFillView,"setBackgroundColor:",objj_msgSend(_93,"backgroundColor")); +objj_msgSend(_98,"addSubview:",dragFillView); +objj_msgSend(_93,"dragView:at:offset:event:pasteboard:source:slideBack:",_98,CPPointMake(_96.x-_97.size.width/2,_96.y-_97.size.height/2),CPPointMake(0,0),_95,nil,_93,YES); +} +}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_99,_9a,_9b,_9c){ +with(_99){ +if(_9c==CPColorDragType){ +objj_msgSend(_9b,"setData:forType:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",objj_msgSend(_99,"backgroundColor")),_9c); +} +} +})]); +objj_executeFile("CPColorPicker.j",YES); +objj_executeFile("CPSliderColorPicker.j",YES); +objj_msgSend(CPColorPanel,"provideColorPickerClass:",CPColorWheelColorPicker); +objj_msgSend(CPColorPanel,"provideColorPickerClass:",CPSliderColorPicker); +p;15;CPColorPicker.jt;10195;@STATIC;1.0;I;21;Foundation/CPObject.ji;14;CPColorPanel.jt;10130; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CPColorPanel.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPColorPicker"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_panel"),new objj_ivar("_mask")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithPickerMask:colorPanel:"),function(_3,_4,_5,_6){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPColorPicker").super_class},"init"); +_panel=_6; +_mask=_5; +return _3; +} +}),new objj_method(sel_getUid("colorPanel"),function(_7,_8){ +with(_7){ +return _panel; +} +}),new objj_method(sel_getUid("provideNewButtonImage"),function(_9,_a){ +with(_9){ +return nil; +} +}),new objj_method(sel_getUid("setMode:"),function(_b,_c,_d){ +with(_b){ +return; +} +}),new objj_method(sel_getUid("setColor:"),function(_e,_f,_10){ +with(_e){ +return; +} +})]); +var _1=objj_allocateClassPair(CPColorPicker,"CPColorWheelColorPicker"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_pickerView"),new objj_ivar("_brightnessSlider"),new objj_ivar("_hueSaturationView"),new objj_ivar("_cachedColor")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithPickerMask:colorPanel:"),function(_11,_12,_13,_14){ +with(_11){ +return objj_msgSendSuper({receiver:_11,super_class:objj_getClass("CPColorWheelColorPicker").super_class},"initWithPickerMask:colorPanel:",_13,_14); +} +}),new objj_method(sel_getUid("initView"),function(_15,_16){ +with(_15){ +aFrame=CPRectMake(0,0,CPColorPickerViewWidth,CPColorPickerViewHeight); +_pickerView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",aFrame); +objj_msgSend(_pickerView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_brightnessSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CGRectMake(0,(aFrame.size.height-34),aFrame.size.width,15)); +objj_msgSend(_brightnessSlider,"setValue:forThemeAttribute:",15,"track-width"); +objj_msgSend(_brightnessSlider,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPColorPicker,"class")),"pathForResource:","brightness_bar.png"))),"track-color"); +objj_msgSend(_brightnessSlider,"setMinValue:",0); +objj_msgSend(_brightnessSlider,"setMaxValue:",100); +objj_msgSend(_brightnessSlider,"setFloatValue:",100); +objj_msgSend(_brightnessSlider,"setTarget:",_15); +objj_msgSend(_brightnessSlider,"setAction:",sel_getUid("brightnessSliderDidChange:")); +objj_msgSend(_brightnessSlider,"setAutoresizingMask:",CPViewWidthSizable|CPViewMinYMargin); +_hueSaturationView=objj_msgSend(objj_msgSend(__CPColorWheel,"alloc"),"initWithFrame:",CPRectMake(0,0,aFrame.size.width,aFrame.size.height-38)); +objj_msgSend(_hueSaturationView,"setDelegate:",_15); +objj_msgSend(_hueSaturationView,"setAutoresizingMask:",(CPViewWidthSizable|CPViewHeightSizable)); +objj_msgSend(_pickerView,"addSubview:",_hueSaturationView); +objj_msgSend(_pickerView,"addSubview:",_brightnessSlider); +} +}),new objj_method(sel_getUid("brightnessSliderDidChange:"),function(_17,_18,_19){ +with(_17){ +objj_msgSend(_17,"updateColor"); +} +}),new objj_method(sel_getUid("colorWheelDidChange:"),function(_1a,_1b,_1c){ +with(_1a){ +objj_msgSend(_1a,"updateColor"); +} +}),new objj_method(sel_getUid("updateColor"),function(_1d,_1e){ +with(_1d){ +var hue=objj_msgSend(_hueSaturationView,"angle"),_1f=objj_msgSend(_hueSaturationView,"distance"),_20=objj_msgSend(_brightnessSlider,"floatValue"); +objj_msgSend(_hueSaturationView,"setWheelBrightness:",_20/100); +objj_msgSend(_brightnessSlider,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHue:saturation:brightness:",hue,_1f,100)); +var _21=objj_msgSend(_1d,"colorPanel"),_22=objj_msgSend(_21,"opacity"); +_cachedColor=objj_msgSend(CPColor,"colorWithHue:saturation:brightness:alpha:",hue,_1f,_20,_22); +objj_msgSend(objj_msgSend(_1d,"colorPanel"),"setColor:",_cachedColor); +} +}),new objj_method(sel_getUid("supportsMode:"),function(_23,_24,_25){ +with(_23){ +return (_25==CPWheelColorPickerMode)?YES:NO; +} +}),new objj_method(sel_getUid("currentMode"),function(_26,_27){ +with(_26){ +return CPWheelColorPickerMode; +} +}),new objj_method(sel_getUid("provideNewView:"),function(_28,_29,_2a){ +with(_28){ +if(_2a){ +objj_msgSend(_28,"initView"); +} +return _pickerView; +} +}),new objj_method(sel_getUid("setColor:"),function(_2b,_2c,_2d){ +with(_2b){ +if(objj_msgSend(_2d,"isEqual:",_cachedColor)){ +return; +} +var hsb=objj_msgSend(_2d,"hsbComponents"); +objj_msgSend(_hueSaturationView,"setPositionToColor:",_2d); +objj_msgSend(_brightnessSlider,"setFloatValue:",hsb[2]); +objj_msgSend(_hueSaturationView,"setWheelBrightness:",hsb[2]/100); +objj_msgSend(_brightnessSlider,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHue:saturation:brightness:",hsb[0],hsb[1],100)); +} +}),new objj_method(sel_getUid("provideNewButtonImage"),function(_2e,_2f){ +with(_2e){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","wheel_button.png"),CGSizeMake(32,32)); +} +}),new objj_method(sel_getUid("provideNewAlternateButtonImage"),function(_30,_31){ +with(_30){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","wheel_button_h.png"),CGSizeMake(32,32)); +} +})]); +var _1=objj_allocateClassPair(CPView,"__CPColorWheel"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_wheelImage"),new objj_ivar("_blackWheelImage"),new objj_ivar("_crosshair"),new objj_ivar("_delegate"),new objj_ivar("_angle"),new objj_ivar("_distance"),new objj_ivar("_radius")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_32,_33,_34){ +with(_32){ +_32=objj_msgSendSuper({receiver:_32,super_class:objj_getClass("__CPColorWheel").super_class},"initWithFrame:",_34); +var _35=objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","wheel.png"); +_wheelImage=new Image(); +_wheelImage.src=_35; +_wheelImage.style.position="absolute"; +_35=objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","wheel_black.png"); +_blackWheelImage=new Image(); +_blackWheelImage.src=_35; +_blackWheelImage.style.opacity="0"; +_blackWheelImage.style.filter="alpha(opacity=0)"; +_blackWheelImage.style.position="absolute"; +_DOMElement.appendChild(_wheelImage); +_DOMElement.appendChild(_blackWheelImage); +objj_msgSend(_32,"setWheelSize:",_34.size); +_crosshair=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CPRectMake(_radius-2,_radius-2,4,4)); +objj_msgSend(_crosshair,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor")); +var _36=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectInset(objj_msgSend(_crosshair,"bounds"),1,1)); +objj_msgSend(_36,"setBackgroundColor:",objj_msgSend(CPColor,"whiteColor")); +objj_msgSend(_crosshair,"addSubview:",_36); +objj_msgSend(_32,"addSubview:",_crosshair); +return _32; +} +}),new objj_method(sel_getUid("setWheelBrightness:"),function(_37,_38,_39){ +with(_37){ +_blackWheelImage.style.opacity=1-_39; +_blackWheelImage.style.filter="alpha(opacity="+(1-_39)*100+")"; +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_3a,_3b,_3c){ +with(_3a){ +objj_msgSendSuper({receiver:_3a,super_class:objj_getClass("__CPColorWheel").super_class},"setFrameSize:",_3c); +objj_msgSend(_3a,"setWheelSize:",_3c); +} +}),new objj_method(sel_getUid("setWheelSize:"),function(_3d,_3e,_3f){ +with(_3d){ +var min=MIN(_3f.width,_3f.height); +_blackWheelImage.style.width=min; +_blackWheelImage.style.height=min; +_blackWheelImage.width=min; +_blackWheelImage.height=min; +_blackWheelImage.style.top=(_3f.height-min)/2+"px"; +_blackWheelImage.style.left=(_3f.width-min)/2+"px"; +_wheelImage.style.width=min; +_wheelImage.style.height=min; +_wheelImage.width=min; +_wheelImage.height=min; +_wheelImage.style.top=(_3f.height-min)/2+"px"; +_wheelImage.style.left=(_3f.width-min)/2+"px"; +_radius=min/2; +objj_msgSend(_3d,"setAngle:distance:",objj_msgSend(_3d,"degreesToRadians:",_angle),(_distance/100)*_radius); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_40,_41,_42){ +with(_40){ +_delegate=_42; +} +}),new objj_method(sel_getUid("delegate"),function(_43,_44){ +with(_43){ +return _delegate; +} +}),new objj_method(sel_getUid("angle"),function(_45,_46){ +with(_45){ +return _angle; +} +}),new objj_method(sel_getUid("distance"),function(_47,_48){ +with(_47){ +return _distance; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_49,_4a,_4b){ +with(_49){ +objj_msgSend(_49,"reposition:",_4b); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_4c,_4d,_4e){ +with(_4c){ +objj_msgSend(_4c,"reposition:",_4e); +} +}),new objj_method(sel_getUid("reposition:"),function(_4f,_50,_51){ +with(_4f){ +var _52=objj_msgSend(_4f,"bounds"),_53=objj_msgSend(_4f,"convertPoint:fromView:",objj_msgSend(_51,"locationInWindow"),nil); +var _54=CGRectGetMidX(_52); +var _55=CGRectGetMidY(_52); +var _56=MIN(SQRT((_53.x-_54)*(_53.x-_54)+(_53.y-_55)*(_53.y-_55)),_radius); +var _57=ATAN2(_53.y-_55,_53.x-_54); +objj_msgSend(_4f,"setAngle:distance:",_57,_56); +objj_msgSend(_delegate,"colorWheelDidChange:",_4f); +} +}),new objj_method(sel_getUid("setAngle:distance:"),function(_58,_59,_5a,_5b){ +with(_58){ +var _5c=objj_msgSend(_58,"bounds"); +var _5d=CGRectGetMidX(_5c); +var _5e=CGRectGetMidY(_5c); +_angle=objj_msgSend(_58,"radiansToDegrees:",_5a); +_distance=(_5b/_radius)*100; +objj_msgSend(_crosshair,"setFrameOrigin:",CPPointMake(COS(_5a)*_5b+_5d-2,SIN(_5a)*_5b+_5e-2)); +} +}),new objj_method(sel_getUid("setPositionToColor:"),function(_5f,_60,_61){ +with(_5f){ +var hsb=objj_msgSend(_61,"hsbComponents"),_62=objj_msgSend(_5f,"bounds"); +var _63=objj_msgSend(_5f,"degreesToRadians:",hsb[0]),_64=(hsb[1]/100)*_radius; +objj_msgSend(_5f,"setAngle:distance:",_63,_64); +} +}),new objj_method(sel_getUid("radiansToDegrees:"),function(_65,_66,_67){ +with(_65){ +return ((-_67/PI)*180+360)%360; +} +}),new objj_method(sel_getUid("degreesToRadians:"),function(_68,_69,_6a){ +with(_68){ +return -(((_6a-360)/180)*PI); +} +})]); +p;13;CPColorWell.jt;6079;@STATIC;1.0;I;21;Foundation/CPString.ji;8;CPView.ji;9;CPColor.ji;14;CPColorPanel.jt;5990; +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPView.j",YES); +objj_executeFile("CPColor.j",YES); +objj_executeFile("CPColorPanel.j",YES); +var _1="_CPColorWellDidBecomeExclusiveNotification"; +var _2=objj_allocateClassPair(CPControl,"CPColorWell"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_active"),new objj_ivar("_bordered"),new objj_ivar("_color"),new objj_ivar("_wellView")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPColorWell").super_class},"initWithFrame:",_6); +if(_4){ +_active=NO; +_bordered=YES; +_color=objj_msgSend(CPColor,"whiteColor"); +objj_msgSend(_4,"drawBezelWithHighlight:",NO); +objj_msgSend(_4,"drawWellInside:",CGRectInset(objj_msgSend(_4,"bounds"),3,3)); +objj_msgSend(_4,"_registerForNotifications"); +} +return _4; +} +}),new objj_method(sel_getUid("_registerForNotifications"),function(_7,_8){ +with(_7){ +var _9=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_9,"addObserver:selector:name:object:",_7,sel_getUid("colorWellDidBecomeExclusive:"),_1,nil); +objj_msgSend(_9,"addObserver:selector:name:object:",_7,sel_getUid("colorPanelWillClose:"),CPWindowWillCloseNotification,objj_msgSend(CPColorPanel,"sharedColorPanel")); +} +}),new objj_method(sel_getUid("isBordered"),function(_a,_b){ +with(_a){ +return _bordered; +} +}),new objj_method(sel_getUid("setBordered:"),function(_c,_d,_e){ +with(_c){ +if(_bordered==_e){ +return; +} +_bordered=_e; +objj_msgSend(_c,"drawWellInside:",CGRectInset(objj_msgSend(_c,"bounds"),3,3)); +} +}),new objj_method(sel_getUid("color"),function(_f,_10){ +with(_f){ +return _color; +} +}),new objj_method(sel_getUid("setColor:"),function(_11,_12,_13){ +with(_11){ +if(_color==_13){ +return; +} +_color=_13; +objj_msgSend(_11,"drawWellInside:",CGRectInset(objj_msgSend(_11,"bounds"),3,3)); +} +}),new objj_method(sel_getUid("takeColorFrom:"),function(_14,_15,_16){ +with(_14){ +objj_msgSend(_14,"setColor:",objj_msgSend(_16,"color")); +} +}),new objj_method(sel_getUid("activate:"),function(_17,_18,_19){ +with(_17){ +if(_19){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",_1,_17); +} +if(objj_msgSend(_17,"isActive")){ +return; +} +_active=YES; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_17,sel_getUid("colorPanelDidChangeColor:"),CPColorPanelColorDidChangeNotification,objj_msgSend(CPColorPanel,"sharedColorPanel")); +} +}),new objj_method(sel_getUid("deactivate"),function(_1a,_1b){ +with(_1a){ +if(!objj_msgSend(_1a,"isActive")){ +return; +} +_active=NO; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_1a,CPColorPanelColorDidChangeNotification,objj_msgSend(CPColorPanel,"sharedColorPanel")); +} +}),new objj_method(sel_getUid("isActive"),function(_1c,_1d){ +with(_1c){ +return _active; +} +}),new objj_method(sel_getUid("drawBezelWithHighlight:"),function(_1e,_1f,_20){ +with(_1e){ +} +}),new objj_method(sel_getUid("drawWellInside:"),function(_21,_22,_23){ +with(_21){ +if(!_wellView){ +_wellView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",_23); +objj_msgSend(_wellView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_21,"addSubview:",_wellView); +}else{ +objj_msgSend(_wellView,"setFrame:",_23); +} +objj_msgSend(_wellView,"setBackgroundColor:",_color); +} +}),new objj_method(sel_getUid("colorPanelDidChangeColor:"),function(_24,_25,_26){ +with(_24){ +objj_msgSend(_24,"takeColorFrom:",objj_msgSend(_26,"object")); +objj_msgSend(_24,"sendAction:to:",objj_msgSend(_24,"action"),objj_msgSend(_24,"target")); +} +}),new objj_method(sel_getUid("colorWellDidBecomeExclusive:"),function(_27,_28,_29){ +with(_27){ +if(_27!=objj_msgSend(_29,"object")){ +objj_msgSend(_27,"deactivate"); +} +} +}),new objj_method(sel_getUid("colorPanelWillClose:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2a,"deactivate"); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSend(_2d,"drawBezelWithHighlight:",YES); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_30,_31,_32){ +with(_30){ +objj_msgSend(_30,"drawBezelWithHighlight:",CGRectContainsPoint(objj_msgSend(_30,"bounds"),objj_msgSend(_30,"convertPoint:fromView:",objj_msgSend(_32,"locationInWindow"),nil))); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_33,_34,_35){ +with(_33){ +objj_msgSend(_33,"drawBezelWithHighlight:",NO); +if(!CGRectContainsPoint(objj_msgSend(_33,"bounds"),objj_msgSend(_33,"convertPoint:fromView:",objj_msgSend(_35,"locationInWindow"),nil))){ +return; +} +objj_msgSend(_33,"activate:",YES); +var _36=objj_msgSend(CPColorPanel,"sharedColorPanel"); +objj_msgSend(_36,"setColor:",_color); +objj_msgSend(_36,"orderFront:",_33); +} +})]); +var _37="CPColorWellColorKey",_38="CPColorWellBorderedKey"; +var _2=objj_getClass("CPColorWell"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPColorWell\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_39,_3a,_3b){ +with(_39){ +_39=objj_msgSendSuper({receiver:_39,super_class:objj_getClass("CPColorWell").super_class},"initWithCoder:",_3b); +if(_39){ +_active=NO; +_bordered=objj_msgSend(_3b,"decodeObjectForKey:",_38); +_color=objj_msgSend(_3b,"decodeObjectForKey:",_37); +objj_msgSend(_39,"drawBezelWithHighlight:",NO); +objj_msgSend(_39,"drawWellInside:",CGRectInset(objj_msgSend(_39,"bounds"),3,3)); +objj_msgSend(_39,"_registerForNotifications"); +} +return _39; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_3c,_3d,_3e){ +with(_3c){ +var _3f=_subviews; +_subviews=objj_msgSend(_subviews,"copy"); +objj_msgSend(_subviews,"removeObjectIdenticalTo:",_wellView); +objj_msgSendSuper({receiver:_3c,super_class:objj_getClass("CPColorWell").super_class},"encodeWithCoder:",_3e); +_subviews=_3f; +objj_msgSend(_3e,"encodeObject:forKey:",_color,_37); +objj_msgSend(_3e,"encodeObject:forKey:",_bordered,_38); +} +})]); +p;17;CPCompatibility.jt;3810;@STATIC;1.0;i;9;CPEvent.ji;12;CPPlatform.jt;3761; +objj_executeFile("CPEvent.j",YES); +objj_executeFile("CPPlatform.j",YES); +CPUnknownBrowserEngine=0; +CPGeckoBrowserEngine=1; +CPInternetExplorerBrowserEngine=2; +CPKHTMLBrowserEngine=3; +CPOperaBrowserEngine=4; +CPWebKitBrowserEngine=5; +CPMacOperatingSystem=0; +CPWindowsOperatingSystem=1; +CPOtherOperatingSystem=2; +CPCSSRGBAFeature=1<<5; +CPHTMLCanvasFeature=1<<6; +CPHTMLContentEditableFeature=1<<7; +CPHTMLDragAndDropFeature=1<<8; +CPJavascriptInnerTextFeature=1<<9; +CPJavascriptTextContentFeature=1<<10; +CPJavascriptClipboardEventsFeature=1<<11; +CPJavascriptClipboardAccessFeature=1<<12; +CPJavaScriptCanvasDrawFeature=1<<13; +CPJavaScriptCanvasTransformFeature=1<<14; +CPVMLFeature=1<<15; +CPJavascriptRemedialKeySupport=1<<16; +CPJavaScriptShadowFeature=1<<20; +CPJavaScriptNegativeMouseWheelValues=1<<22; +CPJavaScriptMouseWheelValues_8_15=1<<23; +CPOpacityRequiresFilterFeature=1<<24; +CPInputTypeCanBeChangedFeature=1<<25; +CPHTML5DragAndDropSourceYOffBy1=1<<26; +var _1="",_2=CPUnknownBrowserEngine,_3=0; +_3|=CPInputTypeCanBeChangedFeature; +if(typeof window!="undfined"&&typeof window.navigator!="undefined"){ +_1=window.navigator.userAgent; +} +if(window.opera){ +_2=CPOperaBrowserEngine; +_3|=CPJavaScriptCanvasDrawFeature; +}else{ +if(window.attachEvent){ +_2=CPInternetExplorerBrowserEngine; +_3|=CPVMLFeature; +_3|=CPJavascriptRemedialKeySupport; +_3|=CPJavaScriptShadowFeature; +_3|=CPOpacityRequiresFilterFeature; +_3&=~CPInputTypeCanBeChangedFeature; +}else{ +if(_1.indexOf("AppleWebKit/")!=-1){ +_2=CPWebKitBrowserEngine; +_3|=CPCSSRGBAFeature; +_3|=CPHTMLContentEditableFeature; +if(_1.indexOf("Chrome")===-1){ +_3|=CPHTMLDragAndDropFeature; +} +_3|=CPJavascriptClipboardEventsFeature; +_3|=CPJavascriptClipboardAccessFeature; +_3|=CPJavaScriptShadowFeature; +var _4=_1.indexOf("AppleWebKit/")+"AppleWebKit/".length,_5=_1.indexOf(" ",_4),_6=_1.substring(_4,_5),_7=_6.indexOf("."),_8=parseInt(_6.substring(0,_7)),_9=parseInt(_6.substr(_7+1)); +if((_1.indexOf("Safari")!==CPNotFound&&(_8>525||(_8===525&&_9>14)))||_1.indexOf("Chrome")!==CPNotFound){ +_3|=CPJavascriptRemedialKeySupport; +} +if(!objj_msgSend(CPPlatform,"isBrowser")){ +_3|=CPJavascriptRemedialKeySupport; +} +if(_8<532||(_8===532&&_9<6)){ +_3|=CPHTML5DragAndDropSourceYOffBy1; +} +}else{ +if(_1.indexOf("KHTML")!=-1){ +_2=CPKHTMLBrowserEngine; +}else{ +if(_1.indexOf("Gecko")!==-1){ +_2=CPGeckoBrowserEngine; +_3|=CPJavaScriptCanvasDrawFeature; +var _a=_1.indexOf("Firefox"),_b=(_a===-1)?2:parseFloat(_1.substring(_a+"Firefox".length+1)); +if(_b>=3){ +_3|=CPCSSRGBAFeature; +} +if(_b<3){ +_3|=CPJavaScriptMouseWheelValues_8_15; +} +} +} +} +} +} +if(typeof document!="undefined"){ +var _c=document.createElement("canvas"); +if(_c&&_c.getContext){ +_3|=CPHTMLCanvasFeature; +var _d=document.createElement("canvas").getContext("2d"); +if(_d&&_d.setTransform&&_d.transform){ +_3|=CPJavaScriptCanvasTransformFeature; +} +} +var _e=document.createElement("div"); +if(_e.innerText!=undefined){ +_3|=CPJavascriptInnerTextFeature; +}else{ +if(_e.textContent!=undefined){ +_3|=CPJavascriptTextContentFeature; +} +} +} +CPFeatureIsCompatible=function(_f){ +return _3&_f; +}; +CPBrowserIsEngine=function(_10){ +return _2===_10; +}; +CPBrowserIsOperatingSystem=function(_11){ +return OPERATING_SYSTEM===_11; +}; +OPERATING_SYSTEM=CPOtherOperatingSystem; +if(_1.indexOf("Mac")!==-1){ +OPERATING_SYSTEM=CPMacOperatingSystem; +CPPlatformActionKeyMask=CPCommandKeyMask; +CPUndoKeyEquivalent="z"; +CPRedoKeyEquivalent="Z"; +CPUndoKeyEquivalentModifierMask=CPCommandKeyMask; +CPRedoKeyEquivalentModifierMask=CPCommandKeyMask; +}else{ +if(_1.indexOf("Windows")!==-1){ +OPERATING_SYSTEM=CPWindowsOperatingSystem; +} +CPPlatformActionKeyMask=CPControlKeyMask; +CPUndoKeyEquivalent="z"; +CPRedoKeyEquivalent="y"; +CPUndoKeyEquivalentModifierMask=CPControlKeyMask; +CPRedoKeyEquivalentModifierMask=CPControlKeyMask; +} +p;11;CPControl.jt;17610;@STATIC;1.0;i;8;CPFont.ji;10;CPShadow.ji;8;CPView.jt;17551; +objj_executeFile("CPFont.j",YES); +objj_executeFile("CPShadow.j",YES); +objj_executeFile("CPView.j",YES); +CPLeftTextAlignment=0; +CPRightTextAlignment=1; +CPCenterTextAlignment=2; +CPJustifiedTextAlignment=3; +CPNaturalTextAlignment=4; +CPRegularControlSize=0; +CPSmallControlSize=1; +CPMiniControlSize=2; +CPLineBreakByWordWrapping=0; +CPLineBreakByCharWrapping=1; +CPLineBreakByClipping=2; +CPLineBreakByTruncatingHead=3; +CPLineBreakByTruncatingTail=4; +CPLineBreakByTruncatingMiddle=5; +CPTopVerticalTextAlignment=1,CPCenterVerticalTextAlignment=2,CPBottomVerticalTextAlignment=3; +CPScaleProportionally=0; +CPScaleToFit=1; +CPScaleNone=2; +CPNoImage=0; +CPImageOnly=1; +CPImageLeft=2; +CPImageRight=3; +CPImageBelow=4; +CPImageAbove=5; +CPImageOverlaps=6; +CPOnState=1; +CPOffState=0; +CPMixedState=-1; +CPControlNormalBackgroundColor="CPControlNormalBackgroundColor"; +CPControlSelectedBackgroundColor="CPControlSelectedBackgroundColor"; +CPControlHighlightedBackgroundColor="CPControlHighlightedBackgroundColor"; +CPControlDisabledBackgroundColor="CPControlDisabledBackgroundColor"; +CPControlTextDidBeginEditingNotification="CPControlTextDidBeginEditingNotification"; +CPControlTextDidChangeNotification="CPControlTextDidChangeNotification"; +CPControlTextDidEndEditingNotification="CPControlTextDidEndEditingNotification"; +var _1=objj_msgSend(CPColor,"blackColor"); +var _2=objj_allocateClassPair(CPView,"CPControl"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_value"),new objj_ivar("_target"),new objj_ivar("_action"),new objj_ivar("_sendActionOn"),new objj_ivar("_sendsActionOnEndEditing"),new objj_ivar("_continuousTracking"),new objj_ivar("_trackingWasWithinFrame"),new objj_ivar("_trackingMouseDownFlags"),new objj_ivar("_previousTrackingLocation"),new objj_ivar("_toolTip")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("sendsActionOnEndEditing"),function(_4,_5){ +with(_4){ +return _sendsActionOnEndEditing; +} +}),new objj_method(sel_getUid("setSendsActionOnEndEditing:"),function(_6,_7,_8){ +with(_6){ +_sendsActionOnEndEditing=_8; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_9,_a,_b){ +with(_9){ +_9=objj_msgSendSuper({receiver:_9,super_class:objj_getClass("CPControl").super_class},"initWithFrame:",_b); +if(_9){ +_sendActionOn=CPLeftMouseUpMask; +_trackingMouseDownFlags=0; +} +return _9; +} +}),new objj_method(sel_getUid("setAction:"),function(_c,_d,_e){ +with(_c){ +_action=_e; +} +}),new objj_method(sel_getUid("action"),function(_f,_10){ +with(_f){ +return _action; +} +}),new objj_method(sel_getUid("setTarget:"),function(_11,_12,_13){ +with(_11){ +_target=_13; +} +}),new objj_method(sel_getUid("target"),function(_14,_15){ +with(_14){ +return _target; +} +}),new objj_method(sel_getUid("sendAction:to:"),function(_16,_17,_18,_19){ +with(_16){ +objj_msgSend(CPApp,"sendAction:to:from:",_18,_19,_16); +} +}),new objj_method(sel_getUid("sendActionOn:"),function(_1a,_1b,_1c){ +with(_1a){ +var _1d=_sendActionOn; +_sendActionOn=_1c; +return _1d; +} +}),new objj_method(sel_getUid("isContinuous"),function(_1e,_1f){ +with(_1e){ +return (_sendActionOn&CPPeriodicMask)!==0; +} +}),new objj_method(sel_getUid("setContinuous:"),function(_20,_21,_22){ +with(_20){ +if(_22){ +_sendActionOn|=CPPeriodicMask; +}else{ +_sendActionOn&=~CPPeriodicMask; +} +} +}),new objj_method(sel_getUid("tracksMouseOutsideOfFrame"),function(_23,_24){ +with(_23){ +return NO; +} +}),new objj_method(sel_getUid("trackMouse:"),function(_25,_26,_27){ +with(_25){ +var _28=objj_msgSend(_27,"type"),_29=objj_msgSend(_25,"convertPoint:fromView:",objj_msgSend(_27,"locationInWindow"),nil); +isWithinFrame=objj_msgSend(_25,"tracksMouseOutsideOfFrame")||CGRectContainsPoint(objj_msgSend(_25,"bounds"),_29); +if(_28===CPLeftMouseUp){ +objj_msgSend(_25,"stopTracking:at:mouseIsUp:",_previousTrackingLocation,_29,YES); +_trackingMouseDownFlags=0; +}else{ +if(_28===CPLeftMouseDown){ +_trackingMouseDownFlags=objj_msgSend(_27,"modifierFlags"); +_continuousTracking=objj_msgSend(_25,"startTrackingAt:",_29); +}else{ +if(_28===CPLeftMouseDragged){ +if(isWithinFrame){ +if(!_trackingWasWithinFrame){ +_continuousTracking=objj_msgSend(_25,"startTrackingAt:",_29); +}else{ +if(_continuousTracking){ +_continuousTracking=objj_msgSend(_25,"continueTracking:at:",_previousTrackingLocation,_29); +} +} +}else{ +objj_msgSend(_25,"stopTracking:at:mouseIsUp:",_previousTrackingLocation,_29,NO); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_25,sel_getUid("trackMouse:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +if((_sendActionOn&(1<<_28))&&isWithinFrame){ +objj_msgSend(_25,"sendAction:to:",_action,_target); +} +_trackingWasWithinFrame=isWithinFrame; +_previousTrackingLocation=_29; +} +}),new objj_method(sel_getUid("setState:"),function(_2a,_2b,_2c){ +with(_2a){ +} +}),new objj_method(sel_getUid("nextState"),function(_2d,_2e){ +with(_2d){ +return 0; +} +}),new objj_method(sel_getUid("performClick:"),function(_2f,_30,_31){ +with(_2f){ +objj_msgSend(_2f,"highlight:",YES); +objj_msgSend(_2f,"setState:",objj_msgSend(_2f,"nextState")); +objj_msgSend(_2f,"sendAction:to:",objj_msgSend(_2f,"action"),objj_msgSend(_2f,"target")); +objj_msgSend(CPTimer,"scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:",0.1,_2f,sel_getUid("unhighlightButtonTimerDidFinish:"),nil,NO); +} +}),new objj_method(sel_getUid("unhighlightButtonTimerDidFinish:"),function(_32,_33,_34){ +with(_32){ +objj_msgSend(_32,"highlight:",NO); +} +}),new objj_method(sel_getUid("mouseDownFlags"),function(_35,_36){ +with(_35){ +return _trackingMouseDownFlags; +} +}),new objj_method(sel_getUid("startTrackingAt:"),function(_37,_38,_39){ +with(_37){ +objj_msgSend(_37,"highlight:",YES); +return (_sendActionOn&CPPeriodicMask)||(_sendActionOn&CPLeftMouseDraggedMask); +} +}),new objj_method(sel_getUid("continueTracking:at:"),function(_3a,_3b,_3c,_3d){ +with(_3a){ +return (_sendActionOn&CPPeriodicMask)||(_sendActionOn&CPLeftMouseDraggedMask); +} +}),new objj_method(sel_getUid("stopTracking:at:mouseIsUp:"),function(_3e,_3f,_40,_41,_42){ +with(_3e){ +objj_msgSend(_3e,"highlight:",NO); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_43,_44,_45){ +with(_43){ +if(!objj_msgSend(_43,"isEnabled")){ +return; +} +objj_msgSend(_43,"trackMouse:",_45); +} +}),new objj_method(sel_getUid("objectValue"),function(_46,_47){ +with(_46){ +return _value; +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_48,_49,_4a){ +with(_48){ +_value=_4a; +objj_msgSend(_48,"setNeedsLayout"); +objj_msgSend(_48,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("floatValue"),function(_4b,_4c){ +with(_4b){ +var _4d=parseFloat(_value,10); +return isNaN(_4d)?0:_4d; +} +}),new objj_method(sel_getUid("setFloatValue:"),function(_4e,_4f,_50){ +with(_4e){ +objj_msgSend(_4e,"setObjectValue:",_50); +} +}),new objj_method(sel_getUid("doubleValue"),function(_51,_52){ +with(_51){ +var _53=parseFloat(_value,10); +return isNaN(_53)?0:_53; +} +}),new objj_method(sel_getUid("setDoubleValue:"),function(_54,_55,_56){ +with(_54){ +objj_msgSend(_54,"setObjectValue:",_56); +} +}),new objj_method(sel_getUid("intValue"),function(_57,_58){ +with(_57){ +var _59=parseInt(_value,10); +return isNaN(_59)?0:_59; +} +}),new objj_method(sel_getUid("setIntValue:"),function(_5a,_5b,_5c){ +with(_5a){ +objj_msgSend(_5a,"setObjectValue:",_5c); +} +}),new objj_method(sel_getUid("integerValue"),function(_5d,_5e){ +with(_5d){ +var _5f=parseInt(_value,10); +return isNaN(_5f)?0:_5f; +} +}),new objj_method(sel_getUid("setIntegerValue:"),function(_60,_61,_62){ +with(_60){ +objj_msgSend(_60,"setObjectValue:",_62); +} +}),new objj_method(sel_getUid("stringValue"),function(_63,_64){ +with(_63){ +return (_value===undefined||_value===nil)?"":String(_value); +} +}),new objj_method(sel_getUid("setStringValue:"),function(_65,_66,_67){ +with(_65){ +objj_msgSend(_65,"setObjectValue:",_67); +} +}),new objj_method(sel_getUid("takeDoubleValueFrom:"),function(_68,_69,_6a){ +with(_68){ +if(objj_msgSend(_6a,"respondsToSelector:",sel_getUid("doubleValue"))){ +objj_msgSend(_68,"setDoubleValue:",objj_msgSend(_6a,"doubleValue")); +} +} +}),new objj_method(sel_getUid("takeFloatValueFrom:"),function(_6b,_6c,_6d){ +with(_6b){ +if(objj_msgSend(_6d,"respondsToSelector:",sel_getUid("floatValue"))){ +objj_msgSend(_6b,"setFloatValue:",objj_msgSend(_6d,"floatValue")); +} +} +}),new objj_method(sel_getUid("takeIntegerValueFrom:"),function(_6e,_6f,_70){ +with(_6e){ +if(objj_msgSend(_70,"respondsToSelector:",sel_getUid("integerValue"))){ +objj_msgSend(_6e,"setIntegerValue:",objj_msgSend(_70,"integerValue")); +} +} +}),new objj_method(sel_getUid("takeIntValueFrom:"),function(_71,_72,_73){ +with(_71){ +if(objj_msgSend(_73,"respondsToSelector:",sel_getUid("intValue"))){ +objj_msgSend(_71,"setIntValue:",objj_msgSend(_73,"intValue")); +} +} +}),new objj_method(sel_getUid("takeObjectValueFrom:"),function(_74,_75,_76){ +with(_74){ +if(objj_msgSend(_76,"respondsToSelector:",sel_getUid("objectValue"))){ +objj_msgSend(_74,"setObjectValue:",objj_msgSend(_76,"objectValue")); +} +} +}),new objj_method(sel_getUid("takeStringValueFrom:"),function(_77,_78,_79){ +with(_77){ +if(objj_msgSend(_79,"respondsToSelector:",sel_getUid("stringValue"))){ +objj_msgSend(_77,"setStringValue:",objj_msgSend(_79,"stringValue")); +} +} +}),new objj_method(sel_getUid("textDidBeginEditing:"),function(_7a,_7b,_7c){ +with(_7a){ +if(objj_msgSend(_7c,"object")!=_7a){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPControlTextDidBeginEditingNotification,_7a,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",objj_msgSend(_7c,"object"),"CPFieldEditor")); +} +}),new objj_method(sel_getUid("textDidChange:"),function(_7d,_7e,_7f){ +with(_7d){ +if(objj_msgSend(_7f,"object")!=_7d){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPControlTextDidChangeNotification,_7d,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",objj_msgSend(_7f,"object"),"CPFieldEditor")); +} +}),new objj_method(sel_getUid("textDidEndEditing:"),function(_80,_81,_82){ +with(_80){ +if(objj_msgSend(_82,"object")!=_80){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPControlTextDidEndEditingNotification,_80,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",objj_msgSend(_82,"object"),"CPFieldEditor")); +} +}),new objj_method(sel_getUid("setAlignment:"),function(_83,_84,_85){ +with(_83){ +objj_msgSend(_83,"setValue:forThemeAttribute:",_85,"alignment"); +} +}),new objj_method(sel_getUid("alignment"),function(_86,_87){ +with(_86){ +return objj_msgSend(_86,"valueForThemeAttribute:","alignment"); +} +}),new objj_method(sel_getUid("setVerticalAlignment:"),function(_88,_89,_8a){ +with(_88){ +objj_msgSend(_88,"setValue:forThemeAttribute:",_8a,"vertical-alignment"); +} +}),new objj_method(sel_getUid("verticalAlignment"),function(_8b,_8c){ +with(_8b){ +return objj_msgSend(_8b,"valueForThemeAttribute:","vertical-alignment"); +} +}),new objj_method(sel_getUid("setLineBreakMode:"),function(_8d,_8e,_8f){ +with(_8d){ +objj_msgSend(_8d,"setValue:forThemeAttribute:",_8f,"line-break-mode"); +} +}),new objj_method(sel_getUid("lineBreakMode"),function(_90,_91){ +with(_90){ +return objj_msgSend(_90,"valueForThemeAttribute:","line-break-mode"); +} +}),new objj_method(sel_getUid("setTextColor:"),function(_92,_93,_94){ +with(_92){ +objj_msgSend(_92,"setValue:forThemeAttribute:",_94,"text-color"); +} +}),new objj_method(sel_getUid("textColor"),function(_95,_96){ +with(_95){ +return objj_msgSend(_95,"valueForThemeAttribute:","text-color"); +} +}),new objj_method(sel_getUid("setFont:"),function(_97,_98,_99){ +with(_97){ +objj_msgSend(_97,"setValue:forThemeAttribute:",_99,"font"); +} +}),new objj_method(sel_getUid("font"),function(_9a,_9b){ +with(_9a){ +return objj_msgSend(_9a,"valueForThemeAttribute:","font"); +} +}),new objj_method(sel_getUid("setTextShadowColor:"),function(_9c,_9d,_9e){ +with(_9c){ +objj_msgSend(_9c,"setValue:forThemeAttribute:",_9e,"text-shadow-color"); +} +}),new objj_method(sel_getUid("textShadowColor"),function(_9f,_a0){ +with(_9f){ +return objj_msgSend(_9f,"valueForThemeAttribute:","text-shadow-color"); +} +}),new objj_method(sel_getUid("setTextShadowOffset:"),function(_a1,_a2,_a3){ +with(_a1){ +objj_msgSend(_a1,"setValue:forThemeAttribute:",_a3,"text-shadow-offset"); +} +}),new objj_method(sel_getUid("textShadowOffset"),function(_a4,_a5){ +with(_a4){ +return objj_msgSend(_a4,"valueForThemeAttribute:","text-shadow-offset"); +} +}),new objj_method(sel_getUid("setImagePosition:"),function(_a6,_a7,_a8){ +with(_a6){ +objj_msgSend(_a6,"setValue:forThemeAttribute:",_a8,"image-position"); +} +}),new objj_method(sel_getUid("imagePosition"),function(_a9,_aa){ +with(_a9){ +return objj_msgSend(_a9,"valueForThemeAttribute:","image-position"); +} +}),new objj_method(sel_getUid("setImageScaling:"),function(_ab,_ac,_ad){ +with(_ab){ +objj_msgSend(_ab,"setValue:forThemeAttribute:",_ad,"image-scaling"); +} +}),new objj_method(sel_getUid("imageScaling"),function(_ae,_af){ +with(_ae){ +return objj_msgSend(_ae,"valueForThemeAttribute:","image-scaling"); +} +}),new objj_method(sel_getUid("setEnabled:"),function(_b0,_b1,_b2){ +with(_b0){ +if(_b2){ +objj_msgSend(_b0,"unsetThemeState:",CPThemeStateDisabled); +}else{ +objj_msgSend(_b0,"setThemeState:",CPThemeStateDisabled); +} +} +}),new objj_method(sel_getUid("isEnabled"),function(_b3,_b4){ +with(_b3){ +return !objj_msgSend(_b3,"hasThemeState:",CPThemeStateDisabled); +} +}),new objj_method(sel_getUid("highlight:"),function(_b5,_b6,_b7){ +with(_b5){ +objj_msgSend(_b5,"setHighlighted:",_b7); +} +}),new objj_method(sel_getUid("setHighlighted:"),function(_b8,_b9,_ba){ +with(_b8){ +if(_ba){ +objj_msgSend(_b8,"setThemeState:",CPThemeStateHighlighted); +}else{ +objj_msgSend(_b8,"unsetThemeState:",CPThemeStateHighlighted); +} +} +}),new objj_method(sel_getUid("isHighlighted"),function(_bb,_bc){ +with(_bb){ +return objj_msgSend(_bb,"hasThemeState:",CPThemeStateHighlighted); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("themeAttributes"),function(_bd,_be){ +with(_bd){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[CPLeftTextAlignment,CPTopVerticalTextAlignment,CPLineBreakByClipping,objj_msgSend(CPColor,"blackColor"),objj_msgSend(CPFont,"systemFontOfSize:",12),objj_msgSend(CPNull,"null"),{width:0,height:0},CPImageLeft,CPScaleToFit,{width:0,height:0},{width:-1,height:-1}],["alignment","vertical-alignment","line-break-mode","text-color","font","text-shadow-color","text-shadow-offset","image-position","image-scaling","min-size","max-size"]); +} +})]); +var _bf="CPControlValueKey",_c0="CPControlControlStateKey",_c1="CPControlIsEnabledKey",_c2="CPControlTargetKey",_c3="CPControlActionKey",_c4="CPControlSendActionOnKey",_c5="CPControlSendsActionOnEndEditingKey"; +var _c6="CPImageViewImageKey"; +var _2=objj_getClass("CPControl"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPControl\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_c7,_c8,_c9){ +with(_c7){ +_c7=objj_msgSendSuper({receiver:_c7,super_class:objj_getClass("CPControl").super_class},"initWithCoder:",_c9); +if(_c7){ +objj_msgSend(_c7,"setObjectValue:",objj_msgSend(_c9,"decodeObjectForKey:",_bf)); +objj_msgSend(_c7,"setTarget:",objj_msgSend(_c9,"decodeObjectForKey:",_c2)); +objj_msgSend(_c7,"setAction:",objj_msgSend(_c9,"decodeObjectForKey:",_c3)); +objj_msgSend(_c7,"sendActionOn:",objj_msgSend(_c9,"decodeIntForKey:",_c4)); +objj_msgSend(_c7,"setSendsActionOnEndEditing:",objj_msgSend(_c9,"decodeBoolForKey:",_c5)); +} +return _c7; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_ca,_cb,_cc){ +with(_ca){ +objj_msgSendSuper({receiver:_ca,super_class:objj_getClass("CPControl").super_class},"encodeWithCoder:",_cc); +if(_sendsActionOnEndEditing){ +objj_msgSend(_cc,"encodeBool:forKey:",_sendsActionOnEndEditing,_c5); +} +if(_value!==nil){ +objj_msgSend(_cc,"encodeObject:forKey:",_value,_bf); +} +if(_target!==nil){ +objj_msgSend(_cc,"encodeConditionalObject:forKey:",_target,_c2); +} +if(_action!==NULL){ +objj_msgSend(_cc,"encodeObject:forKey:",_action,_c3); +} +objj_msgSend(_cc,"encodeInt:forKey:",_sendActionOn,_c4); +} +})]); +var _cd=[],_ce={},_cf={}; +_cd[CPRegularControlSize]="Regular"; +_cd[CPSmallControlSize]="Small"; +_cd[CPMiniControlSize]="Mini"; +_CPControlIdentifierForControlSize=function(_d0){ +return _cd[_d0]; +}; +_CPControlColorWithPatternImage=function(_d1,_d2){ +var _d3=1,_d4=arguments.length,_d5=""; +for(;_d3<_d4;++_d3){ +_d5+=arguments[_d3]; +} +var _d6=_ce[_d5]; +if(!_d6){ +var _d7=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPControl,"class")); +_d6=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d7,"pathForResource:",_d2+"/"+_d5+".png"),_d1[_d5])); +_ce[_d5]=_d6; +} +return _d6; +}; +_CPControlThreePartImagePattern=function(_d8,_d9,_da){ +var _db=2,_dc=arguments.length,_dd=""; +for(;_db<_dc;++_db){ +_dd+=arguments[_db]; +} +var _de=_cf[_dd]; +if(!_de){ +var _df=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPControl,"class")),_e0=_da+"/"+_dd; +_d9=_d9[_dd]; +_de=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_df,"pathForResource:",_e0+"0.png"),_d9[0]),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_df,"pathForResource:",_e0+"1.png"),_d9[1]),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_df,"pathForResource:",_e0+"2.png"),_d9[2])],_d8)); +_cf[_dd]=_de; +} +return _de; +}; +p;10;CPCookie.jt;1483;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jt;1412; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPCookie"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_cookieName"),new objj_ivar("_cookieValue"),new objj_ivar("_expires")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithName:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPCookie").super_class},"init"); +_cookieName=_5; +_cookieValue=objj_msgSend(_3,"_readCookieValue"); +return _3; +} +}),new objj_method(sel_getUid("value"),function(_6,_7){ +with(_6){ +return _cookieValue; +} +}),new objj_method(sel_getUid("name"),function(_8,_9){ +with(_8){ +return _cookieName; +} +}),new objj_method(sel_getUid("expires"),function(_a,_b){ +with(_a){ +return _expires; +} +}),new objj_method(sel_getUid("setValue:expires:domain:"),function(_c,_d,_e,_f,_10){ +with(_c){ +if(_f){ +var _11="; expires="+_f.toGMTString(); +}else{ +var _11=""; +} +if(_10){ +_10="; domain="+_10; +}else{ +_10=""; +} +document.cookie=_cookieName+"="+_e+_11+"; path=/"+_10; +} +}),new objj_method(sel_getUid("_readCookieValue"),function(_12,_13){ +with(_12){ +var _14=_cookieName+"="; +var ca=document.cookie.split(";"); +for(var i=0;i1){ +_2.pop(); +_1=_2[_2.length-1]; +} +} +})]); +p;12;CPDocument.jt;18916;@STATIC;1.0;I;21;Foundation/CPString.jI;20;Foundation/CPArray.ji;13;CPResponder.ji;13;CPSavePanel.ji;18;CPViewController.ji;20;CPWindowController.jt;18761; +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPSavePanel.j",YES); +objj_executeFile("CPViewController.j",YES); +objj_executeFile("CPWindowController.j",YES); +CPSaveOperation=0; +CPSaveAsOperation=1; +CPSaveToOperation=2; +CPAutosaveOperation=3; +CPChangeDone=0; +CPChangeUndone=1; +CPChangeCleared=2; +CPChangeReadOtherContents=3; +CPChangeAutosaved=4; +CPDocumentWillSaveNotification="CPDocumentWillSaveNotification"; +CPDocumentDidSaveNotification="CPDocumentDidSaveNotification"; +CPDocumentDidFailToSaveNotification="CPDocumentDidFailToSaveNotification"; +var _1=0; +var _2=objj_allocateClassPair(CPResponder,"CPDocument"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_window"),new objj_ivar("_view"),new objj_ivar("_viewControllersForWindowControllers"),new objj_ivar("_fileURL"),new objj_ivar("_fileType"),new objj_ivar("_windowControllers"),new objj_ivar("_untitledDocumentIndex"),new objj_ivar("_hasUndoManager"),new objj_ivar("_undoManager"),new objj_ivar("_changeCount"),new objj_ivar("_readConnection"),new objj_ivar("_writeRequest"),new objj_ivar("_canCloseAlert")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_4,_5){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPDocument").super_class},"init"); +if(_4){ +_windowControllers=[]; +_viewControllersForWindowControllers=objj_msgSend(CPDictionary,"dictionary"); +_hasUndoManager=YES; +_changeCount=0; +objj_msgSend(_4,"setNextResponder:",CPApp); +} +return _4; +} +}),new objj_method(sel_getUid("initWithType:error:"),function(_6,_7,_8,_9){ +with(_6){ +_6=objj_msgSend(_6,"init"); +if(_6){ +objj_msgSend(_6,"setFileType:",_8); +} +return _6; +} +}),new objj_method(sel_getUid("initWithContentsOfURL:ofType:delegate:didReadSelector:contextInfo:"),function(_a,_b,_c,_d,_e,_f,_10){ +with(_a){ +_a=objj_msgSend(_a,"init"); +if(_a){ +objj_msgSend(_a,"setFileURL:",_c); +objj_msgSend(_a,"setFileType:",_d); +objj_msgSend(_a,"readFromURL:ofType:delegate:didReadSelector:contextInfo:",_c,_d,_e,_f,_10); +} +return _a; +} +}),new objj_method(sel_getUid("initForURL:withContentsOfURL:ofType:delegate:didReadSelector:contextInfo:"),function(_11,_12,_13,_14,_15,_16,_17,_18){ +with(_11){ +_11=objj_msgSend(_11,"init"); +if(_11){ +objj_msgSend(_11,"setFileURL:",_13); +objj_msgSend(_11,"setFileType:",_15); +objj_msgSend(_11,"readFromURL:ofType:delegate:didReadSelector:contextInfo:",_14,_15,_16,_17,_18); +} +return _11; +} +}),new objj_method(sel_getUid("dataOfType:error:"),function(_19,_1a,_1b,_1c){ +with(_19){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"dataOfType:error: must be overridden by the document subclass."); +} +}),new objj_method(sel_getUid("readFromData:ofType:error:"),function(_1d,_1e,_1f,_20,_21){ +with(_1d){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"readFromData:ofType: must be overridden by the document subclass."); +} +}),new objj_method(sel_getUid("viewControllerWillLoadCib:"),function(_22,_23,_24){ +with(_22){ +} +}),new objj_method(sel_getUid("viewControllerDidLoadCib:"),function(_25,_26,_27){ +with(_25){ +} +}),new objj_method(sel_getUid("firstEligibleExistingWindowController"),function(_28,_29){ +with(_28){ +return nil; +} +}),new objj_method(sel_getUid("makeWindowControllers"),function(_2a,_2b){ +with(_2a){ +objj_msgSend(_2a,"makeViewAndWindowControllers"); +} +}),new objj_method(sel_getUid("makeViewAndWindowControllers"),function(_2c,_2d){ +with(_2c){ +var _2e=objj_msgSend(_2c,"viewCibName"),_2f=nil,_30=nil; +if(objj_msgSend(_2e,"length")){ +_2f=objj_msgSend(objj_msgSend(CPViewController,"alloc"),"initWithCibName:bundle:owner:",_2e,nil,_2c); +} +if(_2f){ +_30=objj_msgSend(_2c,"firstEligibleExistingWindowController"); +} +if(!_30){ +var _31=objj_msgSend(_2c,"windowCibName"); +if(objj_msgSend(_31,"length")){ +_30=objj_msgSend(objj_msgSend(CPWindowController,"alloc"),"initWithWindowCibName:owner:",_31,_2c); +}else{ +if(_2f){ +var _32=objj_msgSend(_2f,"view"),_33=objj_msgSend(_32,"frame"); +_33.origin=CGPointMake(50,50); +var _34=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",_33,CPTitledWindowMask|CPClosableWindowMask|CPMiniaturizableWindowMask|CPResizableWindowMask); +_30=objj_msgSend(objj_msgSend(CPWindowController,"alloc"),"initWithWindow:",_34); +} +} +} +if(_30&&_2f){ +objj_msgSend(_30,"setSupportsMultipleDocuments:",YES); +} +if(_30){ +objj_msgSend(_2c,"addWindowController:",_30); +} +if(_2f){ +objj_msgSend(_2c,"addViewController:forWindowController:",_2f,_30); +} +} +}),new objj_method(sel_getUid("windowControllers"),function(_35,_36){ +with(_35){ +return _windowControllers; +} +}),new objj_method(sel_getUid("addWindowController:"),function(_37,_38,_39){ +with(_37){ +objj_msgSend(_windowControllers,"addObject:",_39); +if(objj_msgSend(_39,"document")!==_37){ +objj_msgSend(_39,"setDocument:",_37); +} +} +}),new objj_method(sel_getUid("removeWindowController:"),function(_3a,_3b,_3c){ +with(_3a){ +if(_3c){ +objj_msgSend(_windowControllers,"removeObject:",_3c); +} +if(objj_msgSend(_3c,"document")===_3a){ +objj_msgSend(_3c,"setDocument:",nil); +} +} +}),new objj_method(sel_getUid("view"),function(_3d,_3e){ +with(_3d){ +return _view; +} +}),new objj_method(sel_getUid("viewControllers"),function(_3f,_40){ +with(_3f){ +return objj_msgSend(_viewControllersForWindowControllers,"allValues"); +} +}),new objj_method(sel_getUid("addViewController:forWindowController:"),function(_41,_42,_43,_44){ +with(_41){ +objj_msgSend(_viewControllersForWindowControllers,"setObject:forKey:",_43,objj_msgSend(_44,"UID")); +if(objj_msgSend(_44,"document")===_41){ +objj_msgSend(_44,"setViewController:",_43); +} +} +}),new objj_method(sel_getUid("removeViewController:"),function(_45,_46,_47){ +with(_45){ +objj_msgSend(_viewControllersForWindowControllers,"removeObject:",_47); +} +}),new objj_method(sel_getUid("viewControllerForWindowController:"),function(_48,_49,_4a){ +with(_48){ +return objj_msgSend(_viewControllersForWindowControllers,"objectForKey:",objj_msgSend(_4a,"UID")); +} +}),new objj_method(sel_getUid("showWindows"),function(_4b,_4c){ +with(_4b){ +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("setDocument:"),_4b); +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("showWindow:"),_4b); +} +}),new objj_method(sel_getUid("displayName"),function(_4d,_4e){ +with(_4d){ +if(_fileURL){ +return objj_msgSend(_fileURL,"lastPathComponent"); +} +if(!_untitledDocumentIndex){ +_untitledDocumentIndex=++_1; +} +if(_untitledDocumentIndex==1){ +return "Untitled"; +} +return "Untitled "+_untitledDocumentIndex; +} +}),new objj_method(sel_getUid("viewCibName"),function(_4f,_50){ +with(_4f){ +return nil; +} +}),new objj_method(sel_getUid("windowCibName"),function(_51,_52){ +with(_51){ +return nil; +} +}),new objj_method(sel_getUid("windowControllerDidLoadCib:"),function(_53,_54,_55){ +with(_53){ +} +}),new objj_method(sel_getUid("windowControllerWillLoadCib:"),function(_56,_57,_58){ +with(_56){ +} +}),new objj_method(sel_getUid("readFromURL:ofType:delegate:didReadSelector:contextInfo:"),function(_59,_5a,_5b,_5c,_5d,_5e,_5f){ +with(_59){ +objj_msgSend(_readConnection,"cancel"); +_readConnection=objj_msgSend(CPURLConnection,"connectionWithRequest:delegate:",objj_msgSend(CPURLRequest,"requestWithURL:",_5b),_59); +_readConnection.session=_60(_5c,_5d,_5e,_5f); +} +}),new objj_method(sel_getUid("fileURL"),function(_61,_62){ +with(_61){ +return _fileURL; +} +}),new objj_method(sel_getUid("setFileURL:"),function(_63,_64,_65){ +with(_63){ +if(_fileURL===_65){ +return; +} +_fileURL=_65; +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:",sel_getUid("synchronizeWindowTitleWithDocumentName")); +} +}),new objj_method(sel_getUid("saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:"),function(_66,_67,_68,_69,_6a,_6b,_6c,_6d){ +with(_66){ +var _6e=objj_msgSend(_66,"dataOfType:error:",objj_msgSend(_66,"fileType"),nil),_6f=_changeCount; +_writeRequest=objj_msgSend(CPURLRequest,"requestWithURL:",_68); +if(objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(_writeRequest,"setHTTPMethod:","POST"); +}else{ +objj_msgSend(_writeRequest,"setHTTPMethod:","PUT"); +} +objj_msgSend(_writeRequest,"setHTTPBody:",objj_msgSend(_6e,"rawString")); +objj_msgSend(_writeRequest,"setValue:forHTTPHeaderField:","close","Connection"); +if(_6a==CPSaveOperation){ +objj_msgSend(_writeRequest,"setValue:forHTTPHeaderField:","true","x-cappuccino-overwrite"); +} +if(_6a!=CPSaveToOperation){ +objj_msgSend(_66,"updateChangeCount:",CPChangeCleared); +} +var _70=objj_msgSend(CPURLConnection,"connectionWithRequest:delegate:",_writeRequest,_66); +_70.session=_71(_68,_6a,_6f,_6b,_6c,_6d,_70); +} +}),new objj_method(sel_getUid("connection:didReceiveResponse:"),function(_72,_73,_74,_75){ +with(_72){ +if(!objj_msgSend(_75,"isKindOfClass:",objj_msgSend(CPHTTPURLResponse,"class"))){ +return; +} +var _76=objj_msgSend(_75,"statusCode"); +if(_76===200){ +return; +} +var _77=_74.session; +if(_74==_readConnection){ +objj_msgSend(_74,"cancel"); +alert("There was an error retrieving the document."); +objj_msgSend(_77.delegate,_77.didReadSelector,_72,NO,_77.contextInfo); +}else{ +if(_76==409){ +objj_msgSend(_74,"cancel"); +if(confirm("There already exists a file with that name, would you like to overwrite it?")){ +objj_msgSend(_writeRequest,"setValue:forHTTPHeaderField:","true","x-cappuccino-overwrite"); +objj_msgSend(_74,"start"); +}else{ +if(_77.saveOperation!=CPSaveToOperation){ +_changeCount+=_77.changeCount; +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("setDocumentEdited:"),objj_msgSend(_72,"isDocumentEdited")); +} +_writeRequest=nil; +objj_msgSend(_77.delegate,_77.didSaveSelector,_72,NO,_77.contextInfo); +objj_msgSend(_72,"_sendDocumentSavedNotification:",NO); +} +} +} +} +}),new objj_method(sel_getUid("connection:didReceiveData:"),function(_78,_79,_7a,_7b){ +with(_78){ +var _7c=_7a.session; +if(_7a==_readConnection){ +objj_msgSend(_78,"readFromData:ofType:error:",objj_msgSend(CPData,"dataWithRawString:",_7b),_7c.fileType,nil); +objj_msgSend(_7c.delegate,_7c.didReadSelector,_78,YES,_7c.contextInfo); +}else{ +if(_7c.saveOperation!=CPSaveToOperation){ +objj_msgSend(_78,"setFileURL:",_7c.absoluteURL); +} +_writeRequest=nil; +objj_msgSend(_7c.delegate,_7c.didSaveSelector,_78,YES,_7c.contextInfo); +objj_msgSend(_78,"_sendDocumentSavedNotification:",YES); +} +} +}),new objj_method(sel_getUid("connection:didFailWithError:"),function(_7d,_7e,_7f,_80){ +with(_7d){ +var _81=_7f.session; +if(_readConnection==_7f){ +objj_msgSend(_81.delegate,_81.didReadSelector,_7d,NO,_81.contextInfo); +}else{ +if(_81.saveOperation!=CPSaveToOperation){ +_changeCount+=_81.changeCount; +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("setDocumentEdited:"),objj_msgSend(_7d,"isDocumentEdited")); +} +_writeRequest=nil; +alert("There was an error saving the document."); +objj_msgSend(_81.delegate,_81.didSaveSelector,_7d,NO,_81.contextInfo); +objj_msgSend(_7d,"_sendDocumentSavedNotification:",NO); +} +} +}),new objj_method(sel_getUid("connectionDidFinishLoading:"),function(_82,_83,_84){ +with(_82){ +if(_readConnection==_84){ +_readConnection=nil; +} +} +}),new objj_method(sel_getUid("isDocumentEdited"),function(_85,_86){ +with(_85){ +return _changeCount!=0; +} +}),new objj_method(sel_getUid("updateChangeCount:"),function(_87,_88,_89){ +with(_87){ +if(_89==CPChangeDone){ +++_changeCount; +}else{ +if(_89==CPChangeUndone){ +--_changeCount; +}else{ +if(_89==CPChangeCleared){ +_changeCount=0; +} +} +} +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("setDocumentEdited:"),objj_msgSend(_87,"isDocumentEdited")); +} +}),new objj_method(sel_getUid("setFileType:"),function(_8a,_8b,_8c){ +with(_8a){ +_fileType=_8c; +} +}),new objj_method(sel_getUid("fileType"),function(_8d,_8e){ +with(_8d){ +return _fileType; +} +}),new objj_method(sel_getUid("hasUndoManager"),function(_8f,_90){ +with(_8f){ +return _hasUndoManager; +} +}),new objj_method(sel_getUid("setHasUndoManager:"),function(_91,_92,_93){ +with(_91){ +if(_hasUndoManager==_93){ +return; +} +_hasUndoManager=_93; +if(!_hasUndoManager){ +objj_msgSend(_91,"setUndoManager:",nil); +} +} +}),new objj_method(sel_getUid("_undoManagerWillCloseGroup:"),function(_94,_95,_96){ +with(_94){ +var _97=objj_msgSend(_96,"object"); +if(objj_msgSend(_97,"isUndoing")||objj_msgSend(_97,"isRedoing")){ +return; +} +objj_msgSend(_94,"updateChangeCount:",CPChangeDone); +} +}),new objj_method(sel_getUid("_undoManagerDidUndoChange:"),function(_98,_99,_9a){ +with(_98){ +objj_msgSend(_98,"updateChangeCount:",CPChangeUndone); +} +}),new objj_method(sel_getUid("_undoManagerDidRedoChange:"),function(_9b,_9c,_9d){ +with(_9b){ +objj_msgSend(_9b,"updateChangeCount:",CPChangeDone); +} +}),new objj_method(sel_getUid("setUndoManager:"),function(_9e,_9f,_a0){ +with(_9e){ +var _a1=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_undoManager){ +objj_msgSend(_a1,"removeObserver:name:object:",_9e,CPUndoManagerDidUndoChangeNotification,_undoManager); +objj_msgSend(_a1,"removeObserver:name:object:",_9e,CPUndoManagerDidRedoChangeNotification,_undoManager); +objj_msgSend(_a1,"removeObserver:name:object:",_9e,CPUndoManagerWillCloseUndoGroupNotification,_undoManager); +} +_undoManager=_a0; +if(_undoManager){ +objj_msgSend(_a1,"addObserver:selector:name:object:",_9e,sel_getUid("_undoManagerDidUndoChange:"),CPUndoManagerDidUndoChangeNotification,_undoManager); +objj_msgSend(_a1,"addObserver:selector:name:object:",_9e,sel_getUid("_undoManagerDidRedoChange:"),CPUndoManagerDidRedoChangeNotification,_undoManager); +objj_msgSend(_a1,"addObserver:selector:name:object:",_9e,sel_getUid("_undoManagerWillCloseGroup:"),CPUndoManagerWillCloseUndoGroupNotification,_undoManager); +} +} +}),new objj_method(sel_getUid("undoManager"),function(_a2,_a3){ +with(_a2){ +if(_hasUndoManager&&!_undoManager){ +objj_msgSend(_a2,"setUndoManager:",objj_msgSend(objj_msgSend(CPUndoManager,"alloc"),"init")); +} +return _undoManager; +} +}),new objj_method(sel_getUid("windowWillReturnUndoManager:"),function(_a4,_a5,_a6){ +with(_a4){ +return objj_msgSend(_a4,"undoManager"); +} +}),new objj_method(sel_getUid("saveDocument:"),function(_a7,_a8,_a9){ +with(_a7){ +objj_msgSend(_a7,"saveDocumentWithDelegate:didSaveSelector:contextInfo:",nil,nil,nil); +} +}),new objj_method(sel_getUid("saveDocumentWithDelegate:didSaveSelector:contextInfo:"),function(_aa,_ab,_ac,_ad,_ae){ +with(_aa){ +if(_fileURL){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPDocumentWillSaveNotification,_aa); +objj_msgSend(_aa,"saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:",_fileURL,objj_msgSend(_aa,"fileType"),CPSaveOperation,_ac,_ad,_ae); +}else{ +objj_msgSend(_aa,"_saveDocumentAsWithDelegate:didSaveSelector:contextInfo:",_ac,_ad,_ae); +} +} +}),new objj_method(sel_getUid("saveDocumentAs:"),function(_af,_b0,_b1){ +with(_af){ +objj_msgSend(_af,"_saveDocumentAsWithDelegate:didSaveSelector:contextInfo:",nil,nil,nil); +} +}),new objj_method(sel_getUid("_saveDocumentAsWithDelegate:didSaveSelector:contextInfo:"),function(_b2,_b3,_b4,_b5,_b6){ +with(_b2){ +var _b7=objj_msgSend(CPSavePanel,"savePanel"),_b8=objj_msgSend(_b7,"runModal"); +if(!_b8){ +return; +} +var _b9=objj_msgSend(_b7,"URL"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPDocumentWillSaveNotification,_b2); +objj_msgSend(_b2,"saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:",_b9,objj_msgSend(_b2,"fileType"),CPSaveAsOperation,_b4,_b5,_b6); +} +}),new objj_method(sel_getUid("_sendDocumentSavedNotification:"),function(_ba,_bb,_bc){ +with(_ba){ +if(_bc){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPDocumentDidSaveNotification,_ba); +}else{ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPDocumentDidFailToSaveNotification,_ba); +} +} +})]); +var _2=objj_getClass("CPDocument"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPDocument\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("close"),function(_bd,_be){ +with(_bd){ +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("removeDocumentAndCloseIfNecessary:"),_bd); +objj_msgSend(objj_msgSend(CPDocumentController,"sharedDocumentController"),"removeDocument:",_bd); +} +}),new objj_method(sel_getUid("shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:"),function(_bf,_c0,_c1,_c2,_c3,_c4){ +with(_bf){ +if(objj_msgSend(_c1,"shouldCloseDocument")||(objj_msgSend(_windowControllers,"count")<2&&objj_msgSend(_windowControllers,"indexOfObject:",_c1)!==CPNotFound)){ +objj_msgSend(_bf,"canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:",_bf,sel_getUid("_document:shouldClose:context:"),{delegate:_c2,selector:_c3,context:_c4}); +}else{ +if(objj_msgSend(_c2,"respondsToSelector:",_c3)){ +objj_msgSend(_c2,_c3,_bf,YES,_c4); +} +} +} +}),new objj_method(sel_getUid("_document:shouldClose:context:"),function(_c5,_c6,_c7,_c8,_c9){ +with(_c5){ +if(_c7===_c5&&_c8){ +objj_msgSend(_c5,"close"); +} +objj_msgSend(_c9.delegate,_c9.selector,_c7,_c8,_c9.context); +} +}),new objj_method(sel_getUid("canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:"),function(_ca,_cb,_cc,_cd,_ce){ +with(_ca){ +if(!objj_msgSend(_ca,"isDocumentEdited")){ +return objj_msgSend(_cc,"respondsToSelector:",_cd)&&objj_msgSend(_cc,_cd,_ca,YES,_ce); +} +_canCloseAlert=objj_msgSend(objj_msgSend(CPAlert,"alloc"),"init"); +objj_msgSend(_canCloseAlert,"setDelegate:",_ca); +objj_msgSend(_canCloseAlert,"setAlertStyle:",CPWarningAlertStyle); +objj_msgSend(_canCloseAlert,"setTitle:","Unsaved Document"); +objj_msgSend(_canCloseAlert,"setMessageText:","Do you want to save the changes you've made to the document \""+(objj_msgSend(_ca,"displayName")||objj_msgSend(_ca,"fileName"))+"\"?"); +objj_msgSend(_canCloseAlert,"addButtonWithTitle:","Save"); +objj_msgSend(_canCloseAlert,"addButtonWithTitle:","Cancel"); +objj_msgSend(_canCloseAlert,"addButtonWithTitle:","Don't Save"); +_canCloseAlert._context={delegate:_cc,selector:_cd,context:_ce}; +objj_msgSend(_canCloseAlert,"runModal"); +} +}),new objj_method(sel_getUid("alertDidEnd:returnCode:"),function(_cf,_d0,_d1,_d2){ +with(_cf){ +if(_d1!==_canCloseAlert){ +return; +} +var _d3=_d1._context.delegate,_d4=_d1._context.selector,_d5=_d1._context.context; +if(_d2===0){ +objj_msgSend(_cf,"saveDocumentWithDelegate:didSaveSelector:contextInfo:",_d3,_d4,_d5); +}else{ +objj_msgSend(_d3,_d4,_cf,_d2===2,_d5); +} +_canCloseAlert=nil; +} +})]); +var _60=function(_d6,_d7,_d8,_d9){ +return {fileType:_d6,delegate:_d7,didReadSelector:_d8,contextInfo:_d9}; +}; +var _71=function(_da,_db,_dc,_dd,_de,_df,_e0){ +return {absoluteURL:_da,saveOperation:_db,changeCount:_dc,delegate:_dd,didSaveSelector:_de,contextInfo:_df,connection:_e0}; +}; +p;22;CPDocumentController.jt;9691;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPBundle.ji;12;CPDocument.ji;13;CPOpenPanel.jt;9585; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPBundle.j",NO); +objj_executeFile("CPDocument.j",YES); +objj_executeFile("CPOpenPanel.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(CPObject,"CPDocumentController"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_documents"),new objj_ivar("_documentTypes")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_4,_5){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPDocumentController").super_class},"init"); +if(_4){ +_documents=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init"); +if(!_1){ +_1=_4; +} +_documentTypes=objj_msgSend(objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"infoDictionary"),"objectForKey:","CPBundleDocumentTypes"); +} +return _4; +} +}),new objj_method(sel_getUid("documentForURL:"),function(_6,_7,_8){ +with(_6){ +var _9=0,_a=objj_msgSend(_documents,"count"); +for(;_9<_a;++_9){ +var _b=_documents[_9]; +if(objj_msgSend(objj_msgSend(_b,"fileURL"),"isEqual:",_8)){ +return _b; +} +} +return nil; +} +}),new objj_method(sel_getUid("openUntitledDocumentOfType:display:"),function(_c,_d,_e,_f){ +with(_c){ +var _10=objj_msgSend(_c,"makeUntitledDocumentOfType:error:",_e,nil); +if(_10){ +objj_msgSend(_c,"addDocument:",_10); +} +if(_f){ +objj_msgSend(_10,"makeWindowControllers"); +objj_msgSend(_10,"showWindows"); +} +return _10; +} +}),new objj_method(sel_getUid("makeUntitledDocumentOfType:error:"),function(_11,_12,_13,_14){ +with(_11){ +return objj_msgSend(objj_msgSend(objj_msgSend(_11,"documentClassForType:",_13),"alloc"),"initWithType:error:",_13,_14); +} +}),new objj_method(sel_getUid("openDocumentWithContentsOfURL:display:error:"),function(_15,_16,_17,_18,_19){ +with(_15){ +var _1a=objj_msgSend(_15,"documentForURL:",_17); +if(!_1a){ +var _1b=objj_msgSend(_15,"typeForContentsOfURL:error:",_17,_19); +_1a=objj_msgSend(_15,"makeDocumentWithContentsOfURL:ofType:delegate:didReadSelector:contextInfo:",_17,_1b,_15,sel_getUid("document:didRead:contextInfo:"),objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_18,"shouldDisplay")); +objj_msgSend(_15,"addDocument:",_1a); +if(_1a){ +objj_msgSend(_15,"noteNewRecentDocument:",_1a); +} +}else{ +if(_18){ +objj_msgSend(_1a,"showWindows"); +} +} +return _1a; +} +}),new objj_method(sel_getUid("reopenDocumentForURL:withContentsOfURL:error:"),function(_1c,_1d,_1e,_1f,_20){ +with(_1c){ +return objj_msgSend(_1c,"makeDocumentForURL:withContentsOfURL:ofType:delegate:didReadSelector:contextInfo:",_1e,_1f,objj_msgSend(objj_msgSend(_documentTypes,"objectAtIndex:",0),"objectForKey:","CPBundleTypeName"),_1c,sel_getUid("document:didRead:contextInfo:"),nil); +} +}),new objj_method(sel_getUid("makeDocumentWithContentsOfURL:ofType:delegate:didReadSelector:contextInfo:"),function(_21,_22,_23,_24,_25,_26,_27){ +with(_21){ +return objj_msgSend(objj_msgSend(objj_msgSend(_21,"documentClassForType:",_24),"alloc"),"initWithContentsOfURL:ofType:delegate:didReadSelector:contextInfo:",_23,_24,_25,_26,_27); +} +}),new objj_method(sel_getUid("makeDocumentForURL:withContentsOfURL:ofType:delegate:didReadSelector:contextInfo:"),function(_28,_29,_2a,_2b,_2c,_2d,_2e,_2f){ +with(_28){ +return objj_msgSend(objj_msgSend(objj_msgSend(_28,"documentClassForType:",_2c),"alloc"),"initForURL:withContentsOfURL:ofType:delegate:didReadSelector:contextInfo:",_2a,_2b,_2c,_2d,_2e,_2f); +} +}),new objj_method(sel_getUid("document:didRead:contextInfo:"),function(_30,_31,_32,_33,_34){ +with(_30){ +if(!_33){ +return; +} +objj_msgSend(_32,"makeWindowControllers"); +if(objj_msgSend(_34,"objectForKey:","shouldDisplay")){ +objj_msgSend(_32,"showWindows"); +} +} +}),new objj_method(sel_getUid("newDocument:"),function(_35,_36,_37){ +with(_35){ +objj_msgSend(_35,"openUntitledDocumentOfType:display:",objj_msgSend(objj_msgSend(_documentTypes,"objectAtIndex:",0),"objectForKey:","CPBundleTypeName"),YES); +} +}),new objj_method(sel_getUid("openDocument:"),function(_38,_39,_3a){ +with(_38){ +var _3b=objj_msgSend(CPOpenPanel,"openPanel"); +objj_msgSend(_3b,"runModal"); +var _3c=objj_msgSend(_3b,"URLs"),_3d=0,_3e=objj_msgSend(_3c,"count"); +for(;_3d<_3e;++_3d){ +objj_msgSend(_38,"openDocumentWithContentsOfURL:display:error:",objj_msgSend(CPURL,"URLWithString:",_3c[_3d]),YES,nil); +} +} +}),new objj_method(sel_getUid("documents"),function(_3f,_40){ +with(_3f){ +return _documents; +} +}),new objj_method(sel_getUid("addDocument:"),function(_41,_42,_43){ +with(_41){ +objj_msgSend(_documents,"addObject:",_43); +} +}),new objj_method(sel_getUid("removeDocument:"),function(_44,_45,_46){ +with(_44){ +objj_msgSend(_documents,"removeObjectIdenticalTo:",_46); +} +}),new objj_method(sel_getUid("defaultType"),function(_47,_48){ +with(_47){ +return objj_msgSend(_documentTypes[0],"objectForKey:","CPBundleTypeName"); +} +}),new objj_method(sel_getUid("typeForContentsOfURL:error:"),function(_49,_4a,_4b,_4c){ +with(_49){ +var _4d=0,_4e=_documentTypes.length,_4f=objj_msgSend(objj_msgSend(_4b,"pathExtension"),"lowercaseString"),_50=nil; +for(;_4d<_4e;++_4d){ +var _51=_documentTypes[_4d],_52=objj_msgSend(_51,"objectForKey:","CFBundleTypeExtensions"),_53=0,_54=_52.length; +for(;_53<_54;++_53){ +var _55=objj_msgSend(_52[_53],"lowercaseString"); +if(_55===_4f){ +return objj_msgSend(_51,"objectForKey:","CPBundleTypeName"); +} +if(_55==="****"){ +_50=objj_msgSend(_51,"objectForKey:","CPBundleTypeName"); +} +} +} +return _50||objj_msgSend(_49,"defaultType"); +} +}),new objj_method(sel_getUid("_infoForType:"),function(_56,_57,_58){ +with(_56){ +var i=0,_59=objj_msgSend(_documentTypes,"count"); +for(;i<_59;++i){ +var _5a=_documentTypes[i]; +if(objj_msgSend(_5a,"objectForKey:","CPBundleTypeName")==_58){ +return _5a; +} +} +return nil; +} +}),new objj_method(sel_getUid("documentClassForType:"),function(_5b,_5c,_5d){ +with(_5b){ +var _5e=objj_msgSend(objj_msgSend(_5b,"_infoForType:",_5d),"objectForKey:","CPDocumentClass"); +return _5e?CPClassFromString(_5e):nil; +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("sharedDocumentController"),function(_5f,_60){ +with(_5f){ +if(!_1){ +objj_msgSend(objj_msgSend(_5f,"alloc"),"init"); +} +return _1; +} +})]); +var _2=objj_getClass("CPDocumentController"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPDocumentController\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:"),function(_61,_62,_63,_64,_65){ +with(_61){ +var _66={delegate:_63,selector:_64,context:_65}; +objj_msgSend(_61,"_closeDocumentsStartingWith:shouldClose:context:",nil,YES,_66); +} +}),new objj_method(sel_getUid("_closeDocumentsStartingWith:shouldClose:context:"),function(_67,_68,_69,_6a,_6b){ +with(_67){ +if(_6a){ +objj_msgSend(_69,"close"); +if(objj_msgSend(objj_msgSend(_67,"documents"),"count")>0){ +objj_msgSend(objj_msgSend(objj_msgSend(_67,"documents"),"lastObject"),"canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:",_67,sel_getUid("_closeDocumentsStartingWith:shouldClose:context:"),_6b); +return; +} +} +if(objj_msgSend(_6b.delegate,"respondsToSelector:",_6b.selector)){ +objj_msgSend(_6b.delegate,_6b.selector,_67,objj_msgSend(objj_msgSend(_67,"documents"),"count")===0,_6b.context); +} +} +})]); +var _2=objj_getClass("CPDocumentController"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPDocumentController\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("recentDocumentURLs"),function(_6c,_6d){ +with(_6c){ +if(typeof window["cpRecentDocumentURLs"]==="function"){ +return window.cpRecentDocumentURLs(); +} +return []; +} +}),new objj_method(sel_getUid("clearRecentDocuments:"),function(_6e,_6f,_70){ +with(_6e){ +if(typeof window["cpClearRecentDocuments"]==="function"){ +window.cpClearRecentDocuments(); +} +objj_msgSend(_6e,"_updateRecentDocumentsMenu"); +} +}),new objj_method(sel_getUid("noteNewRecentDocument:"),function(_71,_72,_73){ +with(_71){ +objj_msgSend(_71,"noteNewRecentDocumentURL:",objj_msgSend(objj_msgSend(_73,"fileURL"),"absoluteString")); +} +}),new objj_method(sel_getUid("noteNewRecentDocumentURL:"),function(_74,_75,_76){ +with(_74){ +if(typeof window["cpNoteNewRecentDocumentPath"]==="function"){ +window.cpNoteNewRecentDocumentPath(_76); +} +objj_msgSend(_74,"_updateRecentDocumentsMenu"); +} +}),new objj_method(sel_getUid("_removeAllRecentDocumentsFromMenu:"),function(_77,_78,_79){ +with(_77){ +var _7a=objj_msgSend(_79,"itemArray"),_7b=objj_msgSend(_7a,"count"); +while(_7b--){ +var _7c=_7a[_7b]; +if(objj_msgSend(_7c,"action")===sel_getUid("_openRecentDocument:")){ +objj_msgSend(_79,"removeItemAtIndex:",_7b); +} +} +} +}),new objj_method(sel_getUid("_updateRecentDocumentsMenu"),function(_7d,_7e){ +with(_7d){ +var _7f=objj_msgSend(objj_msgSend(CPApp,"mainMenu"),"_menuWithName:","_CPRecentDocumentsMenu"),_80=objj_msgSend(_7d,"recentDocumentURLs"),_81=objj_msgSend(_7f,"itemArray"),_82=objj_msgSend(_80,"count"),_83=objj_msgSend(_81,"count"); +objj_msgSend(_7d,"_removeAllRecentDocumentsFromMenu:",_7f); +if(_83){ +if(!_82){ +if(objj_msgSend(_81[0],"isSeparatorItem")){ +objj_msgSend(_7f,"removeItemAtIndex:",0); +} +}else{ +if(!objj_msgSend(_81[0],"isSeparatorItem")){ +objj_msgSend(_7f,"insertItem:atIndex:",objj_msgSend(CPMenuItem,"separatorItem"),0); +} +} +} +while(_82--){ +var _84=_80[_82],_85=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:",objj_msgSend(_84,"lastPathComponent"),sel_getUid("_openRecentDocument:"),nil); +objj_msgSend(_85,"setTag:",_84); +objj_msgSend(_7f,"insertItem:atIndex:",_85,0); +} +} +}),new objj_method(sel_getUid("_openRecentDocument:"),function(_86,_87,_88){ +with(_86){ +objj_msgSend(_86,"openDocumentWithContentsOfURL:display:error:",objj_msgSend(_88,"tag"),YES,nil); +} +})]); +p;14;CPDragServer.jt;12433;@STATIC;1.0;I;15;AppKit/CPView.jI;16;AppKit/CPEvent.jI;21;AppKit/CPPasteboard.jI;20;AppKit/CPImageView.jt;12321; +objj_executeFile("AppKit/CPView.j",NO); +objj_executeFile("AppKit/CPEvent.j",NO); +objj_executeFile("AppKit/CPPasteboard.j",NO); +objj_executeFile("AppKit/CPImageView.j",NO); +CPDragOperationNone=0,CPDragOperationCopy=1<<1,CPDragOperationLink=1<<1,CPDragOperationGeneric=1<<2,CPDragOperationPrivate=1<<3,CPDragOperationMove=1<<4,CPDragOperationDelete=1<<5,CPDragOperationEvery=-1; +var _1=nil,_2=nil; +var _3=nil; +var _4=nil; +var _5=nil; +var _6=objj_allocateClassPair(CPObject,"CPDraggingInfo"),_7=_6.isa; +objj_registerClassPair(_6); +class_addMethods(_6,[new objj_method(sel_getUid("draggingPasteboard"),function(_8,_9){ +with(_8){ +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +return objj_msgSend(_CPDOMDataTransferPasteboard,"DOMDataTransferPasteboard"); +} +return objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingPasteboard"); +} +}),new objj_method(sel_getUid("draggingSource"),function(_a,_b){ +with(_a){ +return objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingSource"); +} +}),new objj_method(sel_getUid("draggingLocation"),function(_c,_d){ +with(_c){ +return objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingLocation"); +} +}),new objj_method(sel_getUid("draggingDestinationWindow"),function(_e,_f){ +with(_e){ +return (objj_msgSend(objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingDestination"),"isKindOfClass:",objj_msgSend(CPWindow,"class"))?objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingDestination"):objj_msgSend(objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingDestination"),"window")); +} +}),new objj_method(sel_getUid("draggedImage"),function(_10,_11){ +with(_10){ +return objj_msgSend(objj_msgSend(_10,"draggedView"),"image"); +} +}),new objj_method(sel_getUid("draggedImageLocation"),function(_12,_13){ +with(_12){ +return objj_msgSend(_12,"draggedViewLocation"); +} +}),new objj_method(sel_getUid("draggedView"),function(_14,_15){ +with(_14){ +return objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggedView"); +} +}),new objj_method(sel_getUid("draggedViewLocation"),function(_16,_17){ +with(_16){ +var _18=objj_msgSend(CPDragServer,"sharedDragServer"); +return objj_msgSend((objj_msgSend(objj_msgSend(_18,"draggingDestination"),"isKindOfClass:",objj_msgSend(CPWindow,"class"))?objj_msgSend(_18,"draggingDestination"):objj_msgSend(objj_msgSend(_18,"draggingDestination"),"window")),"convertPlatformWindowToBase:",objj_msgSend(objj_msgSend(_18,"draggedView"),"frame").origin); +} +})]); +var _19=1<<0,_1a=1<<1,_1b=1<<2,_1c=1<<3; +var _6=objj_allocateClassPair(CPObject,"CPDragServer"),_7=_6.isa; +class_addIvars(_6,[new objj_ivar("_isDragging"),new objj_ivar("_draggedWindow"),new objj_ivar("_draggedView"),new objj_ivar("_imageView"),new objj_ivar("_isDraggingImage"),new objj_ivar("_draggingOffset"),new objj_ivar("_draggingPasteboard"),new objj_ivar("_draggingSource"),new objj_ivar("_implementedDraggingSourceMethods"),new objj_ivar("_draggingLocation"),new objj_ivar("_draggingDestination"),new objj_ivar("_startDragLocation"),new objj_ivar("_shouldSlideBack"),new objj_ivar("_dragOperation")]); +objj_registerClassPair(_6); +class_addMethods(_6,[new objj_method(sel_getUid("isDragging"),function(_1d,_1e){ +with(_1d){ +return _isDragging; +} +}),new objj_method(sel_getUid("draggedWindow"),function(_1f,_20){ +with(_1f){ +return _draggedWindow; +} +}),new objj_method(sel_getUid("draggedView"),function(_21,_22){ +with(_21){ +return _draggedView; +} +}),new objj_method(sel_getUid("draggingOffset"),function(_23,_24){ +with(_23){ +return _draggingOffset; +} +}),new objj_method(sel_getUid("draggingPasteboard"),function(_25,_26){ +with(_25){ +return _draggingPasteboard; +} +}),new objj_method(sel_getUid("draggingSource"),function(_27,_28){ +with(_27){ +return _draggingSource; +} +}),new objj_method(sel_getUid("init"),function(_29,_2a){ +with(_29){ +_29=objj_msgSendSuper({receiver:_29,super_class:objj_getClass("CPDragServer").super_class},"init"); +if(_29){ +_draggedWindow=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",{origin:{x:0,y:0},size:{width:0,height:0}},CPBorderlessWindowMask); +objj_msgSend(_draggedWindow,"setLevel:",CPDraggingWindowLevel); +} +return _29; +} +}),new objj_method(sel_getUid("draggingDestination"),function(_2b,_2c){ +with(_2b){ +return _draggingDestination; +} +}),new objj_method(sel_getUid("draggingLocation"),function(_2d,_2e){ +with(_2d){ +return _draggingLocation; +} +}),new objj_method(sel_getUid("draggingStartedInPlatformWindow:globalLocation:"),function(_2f,_30,_31,_32){ +with(_2f){ +if(_isDraggingImage){ +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedImage:beganAt:"))){ +objj_msgSend(_draggingSource,"draggedImage:beganAt:",objj_msgSend(_draggedView,"image"),_32); +} +}else{ +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedView:beganAt:"))){ +objj_msgSend(_draggingSource,"draggedView:beganAt:",_draggedView,_32); +} +} +if(!objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +objj_msgSend(_draggedWindow,"orderFront:",_2f); +} +} +}),new objj_method(sel_getUid("draggingSourceUpdatedWithGlobalLocation:"),function(_33,_34,_35){ +with(_33){ +if(!objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +objj_msgSend(_draggedWindow,"setFrameOrigin:",{x:_35.x-_draggingOffset.width,y:_35.y-_draggingOffset.height}); +} +if(_implementedDraggingSourceMethods&_19){ +objj_msgSend(_draggingSource,"draggedImage:movedTo:",objj_msgSend(_draggedView,"image"),_35); +}else{ +if(_implementedDraggingSourceMethods&_1b){ +objj_msgSend(_draggingSource,"draggedView:movedTo:",_draggedView,_35); +} +} +} +}),new objj_method(sel_getUid("draggingUpdatedInPlatformWindow:location:"),function(_36,_37,_38,_39){ +with(_36){ +var _3a=CPDragOperationCopy; +var _3b=objj_msgSend(_38,"_dragHitTest:pasteboard:",_39,objj_msgSend(_5,"draggingPasteboard")); +if(_3b){ +_draggingLocation=objj_msgSend((objj_msgSend(_3b,"isKindOfClass:",objj_msgSend(CPWindow,"class"))?_3b:objj_msgSend(_3b,"window")),"convertPlatformWindowToBase:",_39); +} +if(_3b!==_draggingDestination){ +if(_draggingDestination&&objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("draggingExited:"))){ +objj_msgSend(_draggingDestination,"draggingExited:",_5); +} +_draggingDestination=_3b; +if(_draggingDestination&&objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("draggingEntered:"))){ +_3a=objj_msgSend(_draggingDestination,"draggingEntered:",_5); +} +}else{ +if(_draggingDestination&&objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("draggingUpdated:"))){ +_3a=objj_msgSend(_draggingDestination,"draggingUpdated:",_5); +} +} +if(!_draggingDestination){ +_3a=CPDragOperationNone; +} +return _3a; +} +}),new objj_method(sel_getUid("draggingEndedInPlatformWindow:globalLocation:operation:"),function(_3c,_3d,_3e,_3f,_40){ +with(_3c){ +objj_msgSend(_draggedView,"removeFromSuperview"); +if(!objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +objj_msgSend(_draggedWindow,"orderOut:",_3c); +} +if(_implementedDraggingSourceMethods&_1a){ +objj_msgSend(_draggingSource,"draggedImage:endedAt:operation:",objj_msgSend(_draggedView,"image"),_3f,_40); +}else{ +if(_implementedDraggingSourceMethods&_1c){ +objj_msgSend(_draggingSource,"draggedView:endedAt:operation:",_draggedView,_3f,_40); +} +} +_isDragging=NO; +} +}),new objj_method(sel_getUid("performDragOperationInPlatformWindow:"),function(_41,_42,_43){ +with(_41){ +if(_draggingDestination&&(!objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("prepareForDragOperation:"))||objj_msgSend(_draggingDestination,"prepareForDragOperation:",_5))&&(!objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("performDragOperation:"))||objj_msgSend(_draggingDestination,"performDragOperation:",_5))&&objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("concludeDragOperation:"))){ +objj_msgSend(_draggingDestination,"concludeDragOperation:",_5); +} +} +}),new objj_method(sel_getUid("dragView:fromWindow:at:offset:event:pasteboard:source:slideBack:"),function(_44,_45,_46,_47,_48,_49,_4a,_4b,_4c,_4d){ +with(_44){ +_isDragging=YES; +_draggedView=_46; +_draggingPasteboard=_4b||objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard); +_draggingSource=_4c; +_draggingDestination=nil; +_shouldSlideBack=_4d; +var _4e=objj_msgSend(_4a,"window"),_4f=objj_msgSend(_4a,"locationInWindow"); +if(_4f){ +if(_4e){ +_4f=objj_msgSend(_4e,"convertBaseToGlobal:",_4f); +} +_draggingOffset={width:_4f.x-_48.x,height:_4f.y-_48.y}; +}else{ +_draggingOffset={width:0,height:0}; +} +if(objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(_draggedWindow,"setPlatformWindow:",objj_msgSend(_47,"platformWindow")); +} +objj_msgSend(_46,"setFrameOrigin:",{x:0,y:0}); +var _50=objj_msgSend(CPEvent,"mouseLocation"); +_startDragLocation={x:_50.x-_draggingOffset.width,y:_50.y-_draggingOffset.height}; +objj_msgSend(_draggedWindow,"setFrameOrigin:",_startDragLocation); +objj_msgSend(_draggedWindow,"setFrameSize:",objj_msgSend(_46,"frame").size); +objj_msgSend(objj_msgSend(_draggedWindow,"contentView"),"addSubview:",_46); +_implementedDraggingSourceMethods=0; +if(_draggedView===_imageView){ +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedImage:movedTo:"))){ +_implementedDraggingSourceMethods|=_19; +} +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedImage:endAt:operation:"))){ +_implementedDraggingSourceMethods|=_1a; +} +}else{ +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedView:movedTo:"))){ +_implementedDraggingSourceMethods|=_1b; +} +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedView:endedAt:operation:"))){ +_implementedDraggingSourceMethods|=_1c; +} +} +if(!objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +objj_msgSend(_44,"draggingStartedInPlatformWindow:globalLocation:",objj_msgSend(_47,"platformWindow"),_50); +objj_msgSend(_44,"trackDragging:",_4a); +} +} +}),new objj_method(sel_getUid("dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:"),function(_51,_52,_53,_54,_55,_56,_57,_58,_59,_5a){ +with(_51){ +_isDraggingImage=YES; +var _5b=objj_msgSend(_53,"size"); +if(!_imageView){ +_imageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:_5b.width,height:_5b.height}}); +} +objj_msgSend(_imageView,"setImage:",_53); +objj_msgSend(_51,"dragView:fromWindow:at:offset:event:pasteboard:source:slideBack:",_imageView,_54,_55,_56,_57,_58,_59,_5a); +} +}),new objj_method(sel_getUid("trackDragging:"),function(_5c,_5d,_5e){ +with(_5c){ +var _5f=objj_msgSend(_5e,"type"),_60=objj_msgSend(_draggedWindow,"platformWindow"),_61=objj_msgSend(objj_msgSend(_5e,"window"),"convertBaseToPlatformWindow:",objj_msgSend(_5e,"locationInWindow")); +if(_5f===CPLeftMouseUp){ +if(_dragOperation!==CPDragOperationNone){ +objj_msgSend(_5c,"performDragOperationInPlatformWindow:",_60); +} +objj_msgSend(_5c,"draggingEndedInPlatformWindow:globalLocation:operation:",_60,_61,_dragOperation); +return; +} +objj_msgSend(_5c,"draggingSourceUpdatedWithGlobalLocation:",_61); +_dragOperation=objj_msgSend(_5c,"draggingUpdatedInPlatformWindow:location:",_60,_61); +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_5c,sel_getUid("trackDragging:"),CPMouseMovedMask|CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,0,NO); +} +})]); +class_addMethods(_7,[new objj_method(sel_getUid("initialize"),function(_62,_63){ +with(_62){ +if(_62!==objj_msgSend(CPDragServer,"class")){ +return; +} +_5=objj_msgSend(objj_msgSend(CPDraggingInfo,"alloc"),"init"); +} +}),new objj_method(sel_getUid("sharedDragServer"),function(_64,_65){ +with(_64){ +if(!_3){ +_3=objj_msgSend(objj_msgSend(CPDragServer,"alloc"),"init"); +} +return _3; +} +})]); +var _6=objj_getClass("CPWindow"); +if(!_6){ +throw new SyntaxError("*** Could not find definition for class \"CPWindow\""); +} +var _7=_6.isa; +class_addMethods(_6,[new objj_method(sel_getUid("_dragHitTest:pasteboard:"),function(_66,_67,_68,_69){ +with(_66){ +if(!_inclusiveRegisteredDraggedTypes){ +return nil; +} +var _6a=objj_msgSend(_66,"convertPlatformWindowToBase:",_68),_6b=objj_msgSend(_windowView,"hitTest:",_6a); +while(_6b&&!objj_msgSend(_69,"availableTypeFromArray:",objj_msgSend(_6b,"registeredDraggedTypes"))){ +_6b=objj_msgSend(_6b,"superview"); +} +if(_6b){ +return _6b; +} +if(objj_msgSend(_69,"availableTypeFromArray:",objj_msgSend(_66,"registeredDraggedTypes"))){ +return _66; +} +return nil; +} +})]); +p;9;CPEvent.jt;8889;@STATIC;1.0;I;21;Foundation/CPObject.jt;8844; +objj_executeFile("Foundation/CPObject.j",NO); +CPLeftMouseDown=1; +CPLeftMouseUp=2; +CPRightMouseDown=3; +CPRightMouseUp=4; +CPMouseMoved=5; +CPLeftMouseDragged=6; +CPRightMouseDragged=7; +CPMouseEntered=8; +CPMouseExited=9; +CPKeyDown=10; +CPKeyUp=11; +CPFlagsChanged=12; +CPAppKitDefined=13; +CPSystemDefined=14; +CPApplicationDefined=15; +CPPeriodic=16; +CPCursorUpdate=17; +CPScrollWheel=22; +CPOtherMouseDown=25; +CPOtherMouseUp=26; +CPOtherMouseDragged=27; +CPTouchStart=28; +CPTouchMove=29; +CPTouchEnd=30; +CPTouchCancel=31; +CPAlphaShiftKeyMask=1<<16; +CPShiftKeyMask=1<<17; +CPControlKeyMask=1<<18; +CPAlternateKeyMask=1<<19; +CPCommandKeyMask=1<<20; +CPNumericPadKeyMask=1<<21; +CPHelpKeyMask=1<<22; +CPFunctionKeyMask=1<<23; +CPDeviceIndependentModifierFlagsMask=4294901760; +CPLeftMouseDownMask=1<0; +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:"),function(_4f,_50,_51,_52,_53,_54,_55,_56,_57,_58,_59,_5a){ +with(_4f){ +return objj_msgSend(objj_msgSend(_4f,"alloc"),"_initKeyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:",_51,_52,_53,_54,_55,_56,_57,_58,_59,_5a); +} +}),new objj_method(sel_getUid("mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:"),function(_5b,_5c,_5d,_5e,_5f,_60,_61,_62,_63,_64,_65){ +with(_5b){ +return objj_msgSend(objj_msgSend(_5b,"alloc"),"_initMouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",_5d,_5e,_5f,_60,_61,_62,_63,_64,_65); +} +}),new objj_method(sel_getUid("otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:"),function(_66,_67,_68,_69,_6a,_6b,_6c,_6d,_6e,_6f,_70){ +with(_66){ +return objj_msgSend(objj_msgSend(_66,"alloc"),"_initOtherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:",_68,_69,_6a,_6b,_6c,_6d,_6e,_6f,_70); +} +}),new objj_method(sel_getUid("mouseLocation"),function(_71,_72){ +with(_71){ +var _73=objj_msgSend(CPApp,"currentEvent"),_74=objj_msgSend(_73,"window"); +if(_74){ +return objj_msgSend(_74,"convertBaseToGlobal:",objj_msgSend(_73,"locationInWindow")); +} +return objj_msgSend(_73,"locationInWindow"); +} +}),new objj_method(sel_getUid("startPeriodicEventsAfterDelay:withPeriod:"),function(_75,_76,_77,_78){ +with(_75){ +_1=_78; +_2=window.setTimeout(function(){ +_2=window.setInterval(_CPEventFirePeriodEvent,_78*1000); +},_77*1000); +} +}),new objj_method(sel_getUid("stopPeriodicEvents"),function(_79,_7a){ +with(_79){ +if(_2===nil){ +return; +} +window.clearTimeout(_2); +_2=nil; +} +})]); +_CPEventFirePeriodEvent=function(){ +objj_msgSend(CPApp,"sendEvent:",objj_msgSend(CPEvent,"otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:",CPPeriodic,{x:0,y:0},0,0,0,nil,0,0,0)); +}; +var _7b=objj_msgSend(CPEvent,"class"); +_CPEventFromNativeMouseEvent=function(_7c,_7d,_7e,_7f,_80,_81,_82,_83,_84,_85){ +_7c.isa=_7b; +_7c._type=_7d; +_7c._location=_7e; +_7c._modifierFlags=_7f; +_7c._timestamp=_80; +_7c._windowNumber=_81; +_7c._window=nil; +_7c._context=_82; +_7c._eventNumber=_83; +_7c._clickCount=_84; +_7c._pressure=_85; +return _7c; +}; +p;14;CPFlashMovie.jt;1223;@STATIC;1.0;I;21;Foundation/CPObject.jt;1178; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPFlashMovie"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_filename")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFile:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPFlashMovie").super_class},"init"); +if(_3){ +_filename=_5; +} +return _3; +} +}),new objj_method(sel_getUid("filename"),function(_6,_7){ +with(_6){ +return _filename; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("flashMovieWithFile:"),function(_8,_9,_a){ +with(_8){ +return objj_msgSend(objj_msgSend(_8,"alloc"),"initWithFile:",_a); +} +})]); +var _b="CPFlashMovieFilenameKey"; +var _1=objj_getClass("CPFlashMovie"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPFlashMovie\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_c,_d,_e){ +with(_c){ +_filename=objj_msgSend(_e,"decodeObjectForKey:",_b); +return _c; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_f,_10,_11){ +with(_f){ +objj_msgSend(_11,"encodeObject:forKey:",_filename,_b); +} +})]); +p;13;CPFlashView.jt;4784;@STATIC;1.0;i;14;CPFlashMovie.ji;8;CPView.jt;4734; +objj_executeFile("CPFlashMovie.j",YES); +objj_executeFile("CPView.j",YES); +var _1="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"; +var _2=objj_allocateClassPair(CPView,"CPFlashView"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_flashMovie"),new objj_ivar("_params"),new objj_ivar("_paramElements"),new objj_ivar("_DOMParamElement"),new objj_ivar("_DOMObjectElement"),new objj_ivar("_DOMInnerObjectElement")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPFlashView").super_class},"initWithFrame:",_6); +if(_4){ +if(!CPBrowserIsEngine(CPInternetExplorerBrowserEngine)){ +_DOMObjectElement=document.createElement("object"); +_DOMObjectElement.width="100%"; +_DOMObjectElement.height="100%"; +_DOMObjectElement.style.top="0px"; +_DOMObjectElement.style.left="0px"; +_DOMObjectElement.type="application/x-shockwave-flash"; +_DOMObjectElement.setAttribute("classid",_1); +_DOMParamElement=document.createElement("param"); +_DOMParamElement.name="movie"; +_DOMInnerObjectElement=document.createElement("object"); +_DOMInnerObjectElement.width="100%"; +_DOMInnerObjectElement.height="100%"; +_DOMObjectElement.appendChild(_DOMParamElement); +_DOMObjectElement.appendChild(_DOMInnerObjectElement); +_DOMElement.appendChild(_DOMObjectElement); +}else{ +objj_msgSend(_4,"_rebuildIEObjects"); +} +} +return _4; +} +}),new objj_method(sel_getUid("setFlashMovie:"),function(_7,_8,_9){ +with(_7){ +if(_flashMovie==_9){ +return; +} +_flashMovie=_9; +if(!CPBrowserIsEngine(CPInternetExplorerBrowserEngine)){ +_DOMParamElement.value=objj_msgSend(_9,"filename"); +_DOMInnerObjectElement.data=objj_msgSend(_9,"filename"); +}else{ +objj_msgSend(_7,"_rebuildIEObjects"); +} +} +}),new objj_method(sel_getUid("flashMovie"),function(_a,_b){ +with(_a){ +return _flashMovie; +} +}),new objj_method(sel_getUid("setFlashVars:"),function(_c,_d,_e){ +with(_c){ +var _f="",_10=objj_msgSend(_e,"keyEnumerator"); +var key; +while(key=objj_msgSend(_10,"nextObject")){ +_f=objj_msgSend(_f,"stringByAppendingFormat:","&%@=%@",key,objj_msgSend(_e,"objectForKey:",key)); +} +if(!_params){ +_params=objj_msgSend(CPDictionary,"dictionary"); +} +objj_msgSend(_params,"setObject:forKey:",_f,"flashvars"); +objj_msgSend(_c,"setParameters:",_params); +} +}),new objj_method(sel_getUid("flashVars"),function(_11,_12){ +with(_11){ +return objj_msgSend(_params,"objectForKey:","flashvars"); +} +}),new objj_method(sel_getUid("setParameters:"),function(_13,_14,_15){ +with(_13){ +if(_paramElements&&!CPBrowserIsEngine(CPInternetExplorerBrowserEngine)){ +var _16=objj_msgSend(_paramElements,"allValues"),_17=objj_msgSend(_16,"count"); +for(var i=0;i<_17;i++){ +_DOMObjectElement.removeChild(objj_msgSend(_16,"objectAtIndex:",i)); +} +} +_params=_15; +if(!CPBrowserIsEngine(CPInternetExplorerBrowserEngine)){ +_paramElements=objj_msgSend(CPDictionary,"dictionary"); +var _18=objj_msgSend(_params,"keyEnumerator"),key; +while(key=objj_msgSend(_18,"nextObject")&&_DOMObjectElement){ +var _19=document.createElement("param"); +_19.name=key; +_19.value=objj_msgSend(_params,"objectForKey:",key); +_DOMObjectElement.appendChild(_19); +objj_msgSend(_paramElements,"setObject:forKey:",_19,key); +} +}else{ +objj_msgSend(_13,"_rebuildIEObjects"); +} +} +}),new objj_method(sel_getUid("parameters"),function(_1a,_1b){ +with(_1a){ +return _params; +} +}),new objj_method(sel_getUid("_rebuildIEObjects"),function(_1c,_1d){ +with(_1c){ +_DOMElement.innerHTML=""; +if(!objj_msgSend(_flashMovie,"filename")){ +return; +} +var _1e=objj_msgSend(CPString,"stringWithFormat:","",objj_msgSend(_flashMovie,"filename")),_1f=objj_msgSend(_params,"keyEnumerator"),key; +while(key=objj_msgSend(_1f,"nextObject")){ +_1e=objj_msgSend(_1e,"stringByAppendingFormat:","",key,objj_msgSend(_params,"objectForKey:",key)); +} +_DOMObjectElement=document.createElement("object"); +_DOMElement.appendChild(_DOMObjectElement); +_DOMObjectElement.outerHTML=objj_msgSend(CPString,"stringWithFormat:","%@",_1,CGRectGetWidth(objj_msgSend(_1c,"bounds")),CGRectGetHeight(objj_msgSend(_1c,"bounds")),_1e); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_20,_21,_22){ +with(_20){ +objj_msgSend(objj_msgSend(objj_msgSend(_20,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_23,_24,_25){ +with(_23){ +objj_msgSend(objj_msgSend(objj_msgSend(_23,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_26,_27,_28){ +with(_26){ +objj_msgSend(objj_msgSend(objj_msgSend(_26,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +})]); +p;8;CPFont.jt;3326;@STATIC;1.0;t;3307; +var _1={},_2="Arial, sans-serif",_3=new RegExp("\\s*,\\s*","g"); +var _4=objj_allocateClassPair(CPObject,"CPFont"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_name"),new objj_ivar("_size"),new objj_ivar("_isBold"),new objj_ivar("_cssString")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("_initWithName:size:bold:"),function(_6,_7,_8,_9,_a){ +with(_6){ +_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPFont").super_class},"init"); +if(_6){ +_name=_8; +_size=_9; +_isBold=_a; +_cssString=(_isBold?"bold ":"")+ROUND(_size)+"px "+((_name===_2)?_name:("\""+_name.replace(_3,"\", \"")+"\", "+_2)); +_1[_cssString]=_6; +} +return _6; +} +}),new objj_method(sel_getUid("size"),function(_b,_c){ +with(_b){ +return _size; +} +}),new objj_method(sel_getUid("cssString"),function(_d,_e){ +with(_d){ +return _cssString; +} +}),new objj_method(sel_getUid("familyName"),function(_f,_10){ +with(_f){ +return _name; +} +}),new objj_method(sel_getUid("isEqual:"),function(_11,_12,_13){ +with(_11){ +return objj_msgSend(_13,"isKindOfClass:",objj_msgSend(CPFont,"class"))&&objj_msgSend(_13,"cssString")===objj_msgSend(_11,"cssString"); +} +}),new objj_method(sel_getUid("description"),function(_14,_15){ +with(_14){ +return objj_msgSend(CPString,"stringWithFormat:","%@ %@ %f pt.",objj_msgSendSuper({receiver:_14,super_class:objj_getClass("CPFont").super_class},"description"),objj_msgSend(_14,"familyName"),objj_msgSend(_14,"size")); +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("fontWithName:size:"),function(_16,_17,_18,_19){ +with(_16){ +return _1[(NO?"bold ":"")+ROUND(_19)+"px "+((_18===_2)?_18:("\""+_18.replace(_3,"\", \"")+"\", "+_2))]||objj_msgSend(objj_msgSend(CPFont,"alloc"),"_initWithName:size:bold:",_18,_19,NO); +} +}),new objj_method(sel_getUid("boldFontWithName:size:"),function(_1a,_1b,_1c,_1d){ +with(_1a){ +return _1[(YES?"bold ":"")+ROUND(_1d)+"px "+((_1c===_2)?_1c:("\""+_1c.replace(_3,"\", \"")+"\", "+_2))]||objj_msgSend(objj_msgSend(CPFont,"alloc"),"_initWithName:size:bold:",_1c,_1d,YES); +} +}),new objj_method(sel_getUid("systemFontOfSize:"),function(_1e,_1f,_20){ +with(_1e){ +return _1[(NO?"bold ":"")+ROUND(_20)+"px "+((_2===_2)?_2:("\""+_2.replace(_3,"\", \"")+"\", "+_2))]||objj_msgSend(objj_msgSend(CPFont,"alloc"),"_initWithName:size:bold:",_2,_20,NO); +} +}),new objj_method(sel_getUid("boldSystemFontOfSize:"),function(_21,_22,_23){ +with(_21){ +return _1[(YES?"bold ":"")+ROUND(_23)+"px "+((_2===_2)?_2:("\""+_2.replace(_3,"\", \"")+"\", "+_2))]||objj_msgSend(objj_msgSend(CPFont,"alloc"),"_initWithName:size:bold:",_2,_23,YES); +} +})]); +var _24="CPFontNameKey",_25="CPFontSizeKey",_26="CPFontIsBoldKey"; +var _4=objj_getClass("CPFont"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"CPFont\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("initWithCoder:"),function(_27,_28,_29){ +with(_27){ +return objj_msgSend(_27,"_initWithName:size:bold:",objj_msgSend(_29,"decodeObjectForKey:",_24),objj_msgSend(_29,"decodeFloatForKey:",_25),objj_msgSend(_29,"decodeBoolForKey:",_26)); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2c,"encodeObject:forKey:",_name,_24); +objj_msgSend(_2c,"encodeFloat:forKey:",_size,_25); +objj_msgSend(_2c,"encodeBool:forKey:",_isBold,_26); +} +})]); +p;15;CPFontManager.jt;3322;@STATIC;1.0;I;21;Foundation/CPObject.jI;15;AppKit/CPFont.jt;3257; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("AppKit/CPFont.j",NO); +var _1=nil,_2=Nil; +var _3=objj_allocateClassPair(CPObject,"CPFontManager"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_availableFonts")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("availableFonts"),function(_5,_6){ +with(_5){ +if(!_availableFonts){ +_7=document.createElement("span"); +_7.fontSize="24px"; +_7.appendChild(document.createTextNode("mmmmmmmmmml")); +var _8=document.createElement("div"); +_8.style.position="absolute"; +_8.style.top="-1000px"; +_8.appendChild(_7); +document.getElementsByTagName("body")[0].appendChild(_8); +_9=_a(["monospace","serif","sans-serif","cursive"]); +_availableFonts=[]; +for(var i=0;i<_b.length;i++){ +var _c=_d(_b[i]); +if(_c){ +_availableFonts.push(_b[i]); +} +} +} +return _availableFonts; +} +}),new objj_method(sel_getUid("fontWithNameIsAvailable:"),function(_e,_f,_10){ +with(_e){ +return _d(_10); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("sharedFontManager"),function(_11,_12){ +with(_11){ +if(!_1){ +_1=objj_msgSend(objj_msgSend(_2,"alloc"),"init"); +} +return _1; +} +}),new objj_method(sel_getUid("setFontManagerFactory:"),function(_13,_14,_15){ +with(_13){ +_2=_15; +} +})]); +var _7,_9,_b=["American Typewriter","Apple Chancery","Arial","Arial Black","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Big Caslon","Bitstream Vera Sans","Bitstream Vera Sans Mono","Bitstream Vera Serif","Brush Script MT","Cambria","Caslon","Castellar","Cataneo BT","Centaur","Century Gothic","Century Schoolbook","Century Schoolbook L","Comic Sans","Comic Sans MS","Consolas","Constantia","Cooper Black","Copperplate","Copperplate Gothic Bold","Copperplate Gothic Light","Corbel","Courier","Courier New","Futura","Geneva","Georgia","Georgia Ref","Geeza Pro","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Helvetica","Helvetica Narrow","Helvetica Neue","Herculanum","High Tower Text","Highlight LET","Hoefler Text","Impact","Imprint MT Shadow","Lucida","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","Lucida Grande","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Marker Felt","Microsoft Sans Serif","Milano LET","Minion Web","MisterEarl BT","Mistral","Monaco","Monotype Corsiva","Monotype.com","New Century Schoolbook","New York","News Gothic MT","Papyrus","Tahoma","Techno","Tempus Sans ITC","Terminal","Textile","Times","Times New Roman","Tiranti Solid LET","Trebuchet MS","Verdana","Verdana Ref","Zapfino"]; +var _d=function(_16){ +for(var i=0;i<_9.length;i++){ +if(_17(_9[i],_16)){ +return true; +} +} +return false; +}; +var _18={}; +var _17=function(_19,_1a){ +var a; +if(_18[_19]){ +a=_18[_19]; +}else{ +_7.style.fontFamily="\""+_19+"\""; +_18[_19]=a={w:_7.offsetWidth,h:_7.offsetHeight}; +} +_7.style.fontFamily="\""+_1a+"\", \""+_19+"\""; +var _1b=_7.offsetWidth; +var _1c=_7.offsetHeight; +return (a.w!=_1b||a.h!=_1c); +}; +var _a=function(_1d){ +for(var i=0;i<_1d.length;i++){ +for(var j=0;j=CPRectGetMinX(_18)&&_19.y>=CPRectGetMinY(_18)&&_19.x=_36.width&&_35>=_36.height){ +_34=_36.width; +_35=_36.height; +}else{ +var _37=_36.width/_36.height,_38=_34/_35; +if(_38>_37){ +_34=_35*_37; +}else{ +_35=_34/_37; +} +} +_DOMImageElement.width=ROUND(_34); +_DOMImageElement.height=ROUND(_35); +}else{ +_34=_36.width; +_35=_36.height; +} +if(_2f==CPScaleNone){ +_DOMImageElement.width=ROUND(_36.width); +_DOMImageElement.height=ROUND(_36.height); +} +var x=(_32-_34)/2,y=(_33-_35)/2; +if(NULL){ +var _39=_CGPointApplyAffineTransform(CGPointMake(x,y),NULL); +}else{ +var _39={x:x,y:y}; +} +_DOMImageElement.style.left=ROUND(_39.x)+"px"; +_DOMImageElement.style.top=ROUND(_39.y)+"px"; +} +_imageRect={origin:{x:x,y:y},size:{width:_34,height:_35}}; +if(_hasShadow){ +objj_msgSend(_shadowView,"setFrame:",{origin:{x:x-_2,y:y-_4},size:{width:_34+_30,height:_35+_31}}); +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_3a,_3b,_3c){ +with(_3a){ +objj_msgSend(objj_msgSend(_3a,"nextResponder"),"mouseDown:",_3c); +} +}),new objj_method(sel_getUid("setEditable:"),function(_3d,_3e,_3f){ +with(_3d){ +if(_isEditable===_3f){ +return; +} +_isEditable=_3f; +if(_isEditable){ +objj_msgSend(_3d,"registerForDraggedTypes:",[CPImagesPboardType]); +}else{ +var _40=objj_msgSend(_3d,"registeredDraggedTypes"); +objj_msgSend(_3d,"unregisterDraggedTypes"); +objj_msgSend(_40,"removeObjectIdenticalTo:",CPImagesPboardType); +objj_msgSend(_3d,"registerForDraggedTypes:",_40); +} +} +}),new objj_method(sel_getUid("isEditable"),function(_41,_42){ +with(_41){ +return _isEditable; +} +}),new objj_method(sel_getUid("performDragOperation:"),function(_43,_44,_45){ +with(_43){ +var _46=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(objj_msgSend(_45,"draggingPasteboard"),"dataForType:",CPImagesPboardType)); +if(objj_msgSend(_46,"count")){ +objj_msgSend(_43,"setImage:",_46[0]); +} +} +})]); +var _47="CPImageViewImageKey",_48="CPImageViewImageScalingKey",_49="CPImageViewHasShadowKey",_4a="CPImageViewIsEditableKey"; +var _8=objj_getClass("CPImageView"); +if(!_8){ +throw new SyntaxError("*** Could not find definition for class \"CPImageView\""); +} +var _9=_8.isa; +class_addMethods(_8,[new objj_method(sel_getUid("initWithCoder:"),function(_4b,_4c,_4d){ +with(_4b){ +_DOMImageElement=document.createElement("img"); +_DOMImageElement.style.position="absolute"; +_DOMImageElement.style.left="0px"; +_DOMImageElement.style.top="0px"; +_DOMImageElement.style.visibility="hidden"; +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_DOMImageElement.setAttribute("draggable","true"); +_DOMImageElement.style["-khtml-user-drag"]="element"; +} +_4b=objj_msgSendSuper({receiver:_4b,super_class:objj_getClass("CPImageView").super_class},"initWithCoder:",_4d); +if(_4b){ +_DOMElement.appendChild(_DOMImageElement); +objj_msgSend(_4b,"setHasShadow:",objj_msgSend(_4d,"decodeBoolForKey:",_49)); +if(objj_msgSend(_4d,"decodeBoolForKey:",_4a)||NO){ +objj_msgSend(_4b,"setEditable:",YES); +} +objj_msgSend(_4b,"setNeedsLayout"); +objj_msgSend(_4b,"setNeedsDisplay:",YES); +} +return _4b; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_4e,_4f,_50){ +with(_4e){ +if(_shadowView){ +var _51=_subviews; +_subviews=objj_msgSend(_subviews,"copy"); +objj_msgSend(_subviews,"removeObjectIdenticalTo:",_shadowView); +} +objj_msgSendSuper({receiver:_4e,super_class:objj_getClass("CPImageView").super_class},"encodeWithCoder:",_50); +if(_shadowView){ +_subviews=_51; +} +objj_msgSend(_50,"encodeBool:forKey:",_hasShadow,_49); +if(_isEditable){ +objj_msgSend(_50,"encodeBool:forKey:",_isEditable,_4a); +} +} +})]); +p;13;CPOpenPanel.jt;2079;@STATIC;1.0;I;16;AppKit/CPPanel.jt;2039; +objj_executeFile("AppKit/CPPanel.j",NO); +var _1=objj_allocateClassPair(CPPanel,"CPOpenPanel"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_canChooseFiles"),new objj_ivar("_canChooseDirectories"),new objj_ivar("_allowsMultipleSelection"),new objj_ivar("_directoryURL"),new objj_ivar("_URLs")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("canChooseFiles"),function(_3,_4){ +with(_3){ +return _canChooseFiles; +} +}),new objj_method(sel_getUid("setCanChooseFiles:"),function(_5,_6,_7){ +with(_5){ +_canChooseFiles=_7; +} +}),new objj_method(sel_getUid("canChooseDirectories"),function(_8,_9){ +with(_8){ +return _canChooseDirectories; +} +}),new objj_method(sel_getUid("setCanChooseDirectories:"),function(_a,_b,_c){ +with(_a){ +_canChooseDirectories=_c; +} +}),new objj_method(sel_getUid("allowsMultipleSelection"),function(_d,_e){ +with(_d){ +return _allowsMultipleSelection; +} +}),new objj_method(sel_getUid("setAllowsMultipleSelection:"),function(_f,_10,_11){ +with(_f){ +_allowsMultipleSelection=_11; +} +}),new objj_method(sel_getUid("directoryURL"),function(_12,_13){ +with(_12){ +return _directoryURL; +} +}),new objj_method(sel_getUid("setDirectoryURL:"),function(_14,_15,_16){ +with(_14){ +_directoryURL=_16; +} +}),new objj_method(sel_getUid("runModal"),function(_17,_18){ +with(_17){ +if(typeof window["cpOpenPanel"]==="function"){ +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +var _19={directoryURL:objj_msgSend(_17,"directoryURL"),canChooseFiles:objj_msgSend(_17,"canChooseFiles"),canChooseDirectories:objj_msgSend(_17,"canChooseDirectories"),allowsMultipleSelection:objj_msgSend(_17,"allowsMultipleSelection")}; +var _1a=window.cpOpenPanel(_19); +_URLs=_1a.URLs; +return _1a.button; +} +throw "-runModal is unimplemented."; +} +}),new objj_method(sel_getUid("URLs"),function(_1b,_1c){ +with(_1b){ +return _URLs; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("openPanel"),function(_1d,_1e){ +with(_1d){ +return objj_msgSend(objj_msgSend(CPOpenPanel,"alloc"),"init"); +} +})]); +p;15;CPOutlineView.jt;29630;@STATIC;1.0;i;15;CPTableColumn.ji;13;CPTableView.jt;29572; +objj_executeFile("CPTableColumn.j",YES); +objj_executeFile("CPTableView.j",YES); +CPOutlineViewColumnDidMoveNotification="CPOutlineViewColumnDidMoveNotification"; +CPOutlineViewColumnDidResizeNotification="CPOutlineViewColumnDidResizeNotification"; +CPOutlineViewItemDidCollapseNotification="CPOutlineViewItemDidCollapseNotification"; +CPOutlineViewItemDidExpandNotification="CPOutlineViewItemDidExpandNotification"; +CPOutlineViewItemWillCollapseNotification="CPOutlineViewItemWillCollapseNotification"; +CPOutlineViewItemWillExpandNotification="CPOutlineViewItemWillExpandNotification"; +CPOutlineViewSelectionDidChangeNotification="CPOutlineViewSelectionDidChangeNotification"; +CPOutlineViewSelectionIsChangingNotification="CPOutlineViewSelectionIsChangingNotification"; +var _1=1<<1,_2=1<<2,_3=1<<3,_4=1<<4,_5=1<<5,_6=1<<6,_7=1<<7,_8=1<<8,_9=1<<9,_a=1<<10; +var _b=1<<1,_c=1<<2,_d=1<<3,_e=1<<4,_f=1<<5; +CPOutlineViewDropOnItemIndex=-1; +var _10=objj_allocateClassPair(CPTableView,"CPOutlineView"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_outlineViewDataSource"),new objj_ivar("_outlineViewDelegate"),new objj_ivar("_outlineTableColumn"),new objj_ivar("_indentationPerLevel"),new objj_ivar("_indentationMarkerFollowsDataView"),new objj_ivar("_implementedOutlineViewDataSourceMethods"),new objj_ivar("_implementedOutlineViewDelegateMethods"),new objj_ivar("_rootItemInfo"),new objj_ivar("_itemsForRows"),new objj_ivar("_itemInfosForItems"),new objj_ivar("_disclosureControlPrototype"),new objj_ivar("_disclosureControlsForRows"),new objj_ivar("_disclosureControlData"),new objj_ivar("_disclosureControlQueue"),new objj_ivar("_shouldRetargetItem"),new objj_ivar("_retargetedItem"),new objj_ivar("_shouldRetargetChildIndex"),new objj_ivar("_retargedChildIndex")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initWithFrame:"),function(_12,_13,_14){ +with(_12){ +_12=objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPOutlineView").super_class},"initWithFrame:",_14); +if(_12){ +_selectionHighlightStyle=CPTableViewSelectionHighlightStyleSourceList; +_rootItemInfo={isExpanded:YES,isExpandable:NO,level:-1,row:-1,children:[],weight:0}; +_itemsForRows=[]; +_itemInfosForItems={}; +_disclosureControlsForRows=[]; +_retargetedItem=nil; +_shouldRetargetItem=NO; +_retargedChildIndex=nil; +_shouldRetargetChildIndex=NO; +objj_msgSend(_12,"setIndentationPerLevel:",16); +objj_msgSend(_12,"setIndentationMarkerFollowsDataView:",YES); +objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPOutlineView").super_class},"setDataSource:",objj_msgSend(objj_msgSend(_CPOutlineViewTableViewDataSource,"alloc"),"initWithOutlineView:",_12)); +objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPOutlineView").super_class},"setDelegate:",objj_msgSend(objj_msgSend(_CPOutlineViewTableViewDelegate,"alloc"),"initWithOutlineView:",_12)); +objj_msgSend(_12,"setDisclosureControlPrototype:",objj_msgSend(objj_msgSend(CPDisclosureButton,"alloc"),"initWithFrame:",CGRectMake(0,0,10,10))); +} +return _12; +} +}),new objj_method(sel_getUid("setDataSource:"),function(_15,_16,_17){ +with(_15){ +if(_outlineViewDataSource===_17){ +return; +} +if(!objj_msgSend(_17,"respondsToSelector:",sel_getUid("outlineView:child:ofItem:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Data source must implement 'outlineView:child:ofItem:'"); +} +if(!objj_msgSend(_17,"respondsToSelector:",sel_getUid("outlineView:isItemExpandable:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Data source must implement 'outlineView:isItemExpandable:'"); +} +if(!objj_msgSend(_17,"respondsToSelector:",sel_getUid("outlineView:numberOfChildrenOfItem:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Data source must implement 'outlineView:numberOfChildrenOfItem:'"); +} +if(!objj_msgSend(_17,"respondsToSelector:",sel_getUid("outlineView:objectValueForTableColumn:byItem:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Data source must implement 'outlineView:objectValueForTableColumn:byItem:'"); +} +_outlineViewDataSource=_17; +_implementedOutlineViewDataSourceMethods=0; +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:setObjectValue:forTableColumn:byItem:"))){ +_implementedOutlineViewDataSourceMethods|=_1; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:shouldDeferDisplayingChildrenOfItem:"))){ +_implementedOutlineViewDataSourceMethods|=_2; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:acceptDrop:item:childIndex:"))){ +_implementedOutlineViewDataSourceMethods|=_3; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:validateDrop:proposedItem:proposedChildIndex:"))){ +_implementedOutlineViewDataSourceMethods|=_4; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:validateDrop:proposedRow:proposedDropOperation:"))){ +_implementedOutlineViewDataSourceMethods|=_5; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:"))){ +_implementedOutlineViewDataSourceMethods|=_6; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:itemForPersistentObject:"))){ +_implementedOutlineViewDataSourceMethods|=_7; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:persistentObjectForItem:"))){ +_implementedOutlineViewDataSourceMethods|=_8; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:writeItems:toPasteboard:"))){ +_implementedOutlineViewDataSourceMethods|=_9; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:sortDescriptorsDidChange:"))){ +_implementedOutlineViewDataSourceMethods|=_a; +} +objj_msgSend(_15,"reloadData"); +} +}),new objj_method(sel_getUid("dataSource"),function(_18,_19){ +with(_18){ +return _outlineViewDataSource; +} +}),new objj_method(sel_getUid("isExpandable:"),function(_1a,_1b,_1c){ +with(_1a){ +if(!_1c){ +return YES; +} +var _1d=_itemInfosForItems[objj_msgSend(_1c,"UID")]; +if(!_1d){ +return NO; +} +return _1d.isExpandable; +} +}),new objj_method(sel_getUid("isItemExpanded:"),function(_1e,_1f,_20){ +with(_1e){ +if(!_20){ +return YES; +} +var _21=_itemInfosForItems[objj_msgSend(_20,"UID")]; +if(!_21){ +return NO; +} +return _21.isExpanded; +} +}),new objj_method(sel_getUid("expandItem:"),function(_22,_23,_24){ +with(_22){ +objj_msgSend(_22,"expandItem:expandChildren:",_24,NO); +} +}),new objj_method(sel_getUid("expandItem:expandChildren:"),function(_25,_26,_27,_28){ +with(_25){ +var _29=null; +if(!_27){ +_29=_rootItemInfo; +}else{ +_29=_itemInfosForItems[objj_msgSend(_27,"UID")]; +} +if(!_29){ +return; +} +_29.isExpanded=YES; +objj_msgSend(_25,"reloadItem:reloadChildren:",_27,YES); +if(_28){ +var _2a=_29.children,_2b=_2a.length; +while(_2b--){ +objj_msgSend(_25,"expandItem:expandChildren:",_2a[_2b],YES); +} +} +} +}),new objj_method(sel_getUid("collapseItem:"),function(_2c,_2d,_2e){ +with(_2c){ +if(!_2e){ +return; +} +var _2f=_itemInfosForItems[objj_msgSend(_2e,"UID")]; +if(!_2f){ +return; +} +if(!_2f.isExpanded){ +return; +} +_2f.isExpanded=NO; +objj_msgSend(_2c,"reloadItem:reloadChildren:",_2e,YES); +} +}),new objj_method(sel_getUid("reloadItem:"),function(_30,_31,_32){ +with(_30){ +objj_msgSend(_30,"reloadItem:reloadChildren:",_32,NO); +} +}),new objj_method(sel_getUid("reloadItem:reloadChildren:"),function(_33,_34,_35,_36){ +with(_33){ +if(!!_36||!_35){ +_37(_33,_35); +}else{ +_38(_33,_35); +} +objj_msgSendSuper({receiver:_33,super_class:objj_getClass("CPOutlineView").super_class},"reloadData"); +} +}),new objj_method(sel_getUid("itemAtRow:"),function(_39,_3a,_3b){ +with(_39){ +return _itemsForRows[_3b]||nil; +} +}),new objj_method(sel_getUid("rowForItem:"),function(_3c,_3d,_3e){ +with(_3c){ +if(!_3e){ +return _rootItemInfo.row; +} +var _3f=_itemInfosForItems[objj_msgSend(_3e,"UID")]; +if(!_3f){ +return CPNotFound; +} +return _3f.row; +} +}),new objj_method(sel_getUid("setOutlineTableColumn:"),function(_40,_41,_42){ +with(_40){ +if(_outlineTableColumn===_42){ +return; +} +_outlineTableColumn=_42; +objj_msgSend(_40,"reloadData"); +} +}),new objj_method(sel_getUid("outlineTableColumn"),function(_43,_44){ +with(_43){ +return _outlineTableColumn; +} +}),new objj_method(sel_getUid("levelForItem:"),function(_45,_46,_47){ +with(_45){ +if(!_47){ +return _rootItemInfo.level; +} +var _48=_itemInfosForItems[objj_msgSend(_47,"UID")]; +if(!_48){ +return CPNotFound; +} +return _48.level; +} +}),new objj_method(sel_getUid("levelForRow:"),function(_49,_4a,_4b){ +with(_49){ +return objj_msgSend(_49,"levelForItem:",objj_msgSend(_49,"itemAtRow:",_4b)); +} +}),new objj_method(sel_getUid("setIndentationPerLevel:"),function(_4c,_4d,_4e){ +with(_4c){ +if(_indentationPerLevel===_4e){ +return; +} +_indentationPerLevel=_4e; +objj_msgSend(_4c,"reloadData"); +} +}),new objj_method(sel_getUid("indentationPerLevel"),function(_4f,_50){ +with(_4f){ +return _indentationPerLevel; +} +}),new objj_method(sel_getUid("setIndentationMarkerFollowsDataView:"),function(_51,_52,_53){ +with(_51){ +if(_indentationMarkerFollowsDataView===_53){ +return; +} +_indentationMarkerFollowsDataView=_53; +objj_msgSend(_51,"reloadData"); +} +}),new objj_method(sel_getUid("indentationMarkerFollowsDataView"),function(_54,_55){ +with(_54){ +return _indentationMarkerFollowsDataView; +} +}),new objj_method(sel_getUid("parentForItem:"),function(_56,_57,_58){ +with(_56){ +if(!_58){ +return nil; +} +var _59=_itemInfosForItems[objj_msgSend(_58,"UID")]; +if(!_59){ +return nil; +} +var _5a=_59.parent; +if(_59[objj_msgSend(_5a,"UID")]===_rootItemInfo){ +_5a=nil; +} +return _5a; +} +}),new objj_method(sel_getUid("frameOfOutlineDataViewAtColumn:row:"),function(_5b,_5c,_5d,_5e){ +with(_5b){ +var _5f=objj_msgSendSuper({receiver:_5b,super_class:objj_getClass("CPOutlineView").super_class},"frameOfDataViewAtColumn:row:",_5d,_5e),_60=(objj_msgSend(_5b,"levelForRow:",_5e)+1)*objj_msgSend(_5b,"indentationPerLevel"); +_5f.origin.x+=_60; +_5f.size.width-=_60; +return _5f; +} +}),new objj_method(sel_getUid("selectRowIndexes:byExtendingSelection:"),function(_61,_62,_63,_64){ +with(_61){ +var _65=[]; +objj_msgSend(objj_msgSend(_61,"selectedRowIndexes"),"getIndexes:maxCount:inIndexRange:",_65,-1,nil); +var _66=objj_msgSend(_65,"count"); +while(_66--){ +var _67=_65[_66],_68=objj_msgSend(_61,"itemAtRow:",_67); +if(!objj_msgSend(_61,"isExpandable:",_68)){ +continue; +} +var _69=_disclosureControlsForRows[_67]; +objj_msgSend(_69,"setHighlighted:",NO); +} +objj_msgSendSuper({receiver:_61,super_class:objj_getClass("CPOutlineView").super_class},"selectRowIndexes:byExtendingSelection:",_63,_64); +var _6a=[]; +objj_msgSend(_63,"getIndexes:maxCount:inIndexRange:",_6a,-1,nil); +var _66=objj_msgSend(_6a,"count"); +while(_66--){ +var _67=_6a[_66],_68=objj_msgSend(_61,"itemAtRow:",_67); +if(!objj_msgSend(_61,"isExpandable:",_68)){ +continue; +} +var _69=_disclosureControlsForRows[_67]; +objj_msgSend(_69,"setHighlighted:",YES); +} +} +}),new objj_method(sel_getUid("setDelegate:"),function(_6b,_6c,_6d){ +with(_6b){ +if(_outlineViewDelegate===_6d){ +return; +} +var _6e=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_outlineViewDelegate){ +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewColumnDidMove:"))){ +objj_msgSend(_6e,"removeObserver:name:object:",_outlineViewDelegate,CPOutlineViewColumnDidMoveNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewColumnDidResize:"))){ +objj_msgSend(_6e,"removeObserver:name:object:",_outlineViewDelegate,CPOutlineViewColumnDidResizeNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewSelectionDidChange:"))){ +objj_msgSend(_6e,"removeObserver:name:object:",_outlineViewDelegate,CPOutlineViewSelectionDidChangeNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewSelectionIsChanging:"))){ +objj_msgSend(_6e,"removeObserver:name:object:",_outlineViewDelegate,CPOutlineViewSelectionIsChangingNotification,_6b); +} +} +_outlineViewDelegate=_6d; +_implementedOutlineViewDelegateMethods=0; +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:dataViewForTableColumn:item:"))){ +_implementedOutlineViewDelegateMethods|=_b; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:shouldSelectItem:"))){ +_implementedOutlineViewDelegateMethods|=_c; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:heightOfRowByItem:"))){ +_implementedOutlineViewDelegateMethods|=_d; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:willDisplayView:forTableColumn:item:"))){ +_implementedOutlineViewDelegateMethods|=_e; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:isGroupItem:"))){ +_implementedOutlineViewDelegateMethods|=_f; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewColumnDidMove:"))){ +objj_msgSend(_6e,"addObserver:selector:name:object:",_outlineViewDelegate,sel_getUid("outlineViewColumnDidMove:"),CPOutlineViewColumnDidMoveNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewColumnDidResize:"))){ +objj_msgSend(_6e,"addObserver:selector:name:object:",_outlineViewDelegate,sel_getUid("outlineViewColumnDidMove:"),CPOutlineViewColumnDidResizeNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewSelectionDidChange:"))){ +objj_msgSend(_6e,"addObserver:selector:name:object:",_outlineViewDelegate,sel_getUid("outlineViewSelectionDidChange:"),CPOutlineViewSelectionDidChangeNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewSelectionIsChanging:"))){ +objj_msgSend(_6e,"addObserver:selector:name:object:",_outlineViewDelegate,sel_getUid("outlineViewSelectionIsChanging:"),CPOutlineViewSelectionIsChangingNotification,_6b); +} +} +}),new objj_method(sel_getUid("delegate"),function(_6f,_70){ +with(_6f){ +return _outlineViewDelegate; +} +}),new objj_method(sel_getUid("setDisclosureControlPrototype:"),function(_71,_72,_73){ +with(_71){ +_disclosureControlPrototype=_73; +_disclosureControlData=nil; +_disclosureControlQueue=[]; +objj_msgSend(_71,"reloadData"); +} +}),new objj_method(sel_getUid("reloadData"),function(_74,_75){ +with(_74){ +objj_msgSend(_74,"reloadItem:reloadChildren:",nil,YES); +} +}),new objj_method(sel_getUid("frameOfDataViewAtColumn:row:"),function(_76,_77,_78,_79){ +with(_76){ +var _7a=objj_msgSend(_76,"tableColumns")[_78]; +if(_7a===_outlineTableColumn){ +return objj_msgSend(_76,"frameOfOutlineDataViewAtColumn:row:",_78,_79); +} +return objj_msgSendSuper({receiver:_76,super_class:objj_getClass("CPOutlineView").super_class},"frameOfDataViewAtColumn:row:",_78,_79); +} +}),new objj_method(sel_getUid("setDropItem:dropChildIndex:"),function(_7b,_7c,_7d,_7e){ +with(_7b){ +_retargetedItem=_7d; +_shouldRetargetItem=YES; +_retargedChildIndex=_7e; +_shouldRetargetChildIndex=YES; +} +}),new objj_method(sel_getUid("_parentItemForUpperRow:andLowerRow:atMouseOffset:"),function(_7f,_80,_81,_82,_83){ +with(_7f){ +if(_shouldRetargetItem){ +return _retargetedItem; +} +var _84=objj_msgSend(_7f,"levelForRow:",_82); +upperItem=objj_msgSend(_7f,"itemAtRow:",_81); +upperLevel=objj_msgSend(_7f,"levelForItem:",upperItem); +while(upperLevel>_84){ +upperLevel=objj_msgSend(_7f,"levelForItem:",upperItem); +if(_83.x>(upperLevel+1)*objj_msgSend(_7f,"indentationPerLevel")){ +return objj_msgSend(_7f,"parentForItem:",upperItem); +} +upperItem=objj_msgSend(_7f,"parentForItem:",upperItem); +} +return objj_msgSend(_7f,"parentForItem:",objj_msgSend(_7f,"itemAtRow:",_82)); +} +}),new objj_method(sel_getUid("_rectForDropHighlightViewBetweenUpperRow:andLowerRow:offset:"),function(_85,_86,_87,_88,_89){ +with(_85){ +var _8a=objj_msgSendSuper({receiver:_85,super_class:objj_getClass("CPOutlineView").super_class},"_rectForDropHighlightViewBetweenUpperRow:andLowerRow:offset:",_87,_88,_89),_8b=objj_msgSend(_85,"_parentItemForUpperRow:andLowerRow:atMouseOffset:",_87,_88,_89),_8c=objj_msgSend(_85,"levelForItem:",_8b); +_8a.origin.x=(_8c+1)*objj_msgSend(_85,"indentationPerLevel"); +_8a.size.width-=_8a.origin.x; +return _8a; +} +}),new objj_method(sel_getUid("_loadDataViewsInRows:columns:"),function(_8d,_8e,_8f,_90){ +with(_8d){ +objj_msgSendSuper({receiver:_8d,super_class:objj_getClass("CPOutlineView").super_class},"_loadDataViewsInRows:columns:",_8f,_90); +var _91=objj_msgSend(objj_msgSend(_8d,"tableColumns"),"indexOfObjectIdenticalTo:",objj_msgSend(_8d,"outlineTableColumn")); +if(!objj_msgSend(_90,"containsIndex:",_91)){ +return; +} +var _92=[]; +objj_msgSend(_8f,"getIndexes:maxCount:inIndexRange:",_92,-1,nil); +var _93=0,_94=_92.length; +for(;_93<_94;++_93){ +var row=_92[_93],_95=_itemsForRows[row],_96=objj_msgSend(_8d,"isExpandable:",_95); +if(!_96){ +continue; +} +var _97=objj_msgSend(_8d,"_dequeueDisclosureControl"),_98=objj_msgSend(_97,"frame"),_99=objj_msgSend(_8d,"frameOfDataViewAtColumn:row:",_91,row); +_98.origin.x=_indentationMarkerFollowsDataView?(_99.origin.x)-(_98.size.width):0; +_98.origin.y=(_99.origin.y); +_98.size.height=(_99.size.height); +_disclosureControlsForRows[row]=_97; +objj_msgSend(_97,"setState:",objj_msgSend(_8d,"isItemExpanded:",_95)?CPOnState:CPOffState); +objj_msgSend(_97,"setFrame:",_98); +objj_msgSend(_8d,"addSubview:",_97); +} +} +}),new objj_method(sel_getUid("_unloadDataViewsInRows:columns:"),function(_9a,_9b,_9c,_9d){ +with(_9a){ +objj_msgSendSuper({receiver:_9a,super_class:objj_getClass("CPOutlineView").super_class},"_unloadDataViewsInRows:columns:",_9c,_9d); +var _9e=objj_msgSend(objj_msgSend(_9a,"tableColumns"),"indexOfObjectIdenticalTo:",objj_msgSend(_9a,"outlineTableColumn")); +if(!objj_msgSend(_9d,"containsIndex:",_9e)){ +return; +} +var _9f=[]; +objj_msgSend(_9c,"getIndexes:maxCount:inIndexRange:",_9f,-1,nil); +var _a0=0,_a1=_9f.length; +for(;_a0<_a1;++_a0){ +var row=_9f[_a0],_a2=_disclosureControlsForRows[row]; +if(!_a2){ +continue; +} +objj_msgSend(_a2,"removeFromSuperview"); +objj_msgSend(_9a,"_enqueueDisclosureControl:",_a2); +_disclosureControlsForRows[row]=nil; +} +} +}),new objj_method(sel_getUid("_toggleFromDisclosureControl:"),function(_a3,_a4,_a5){ +with(_a3){ +var _a6=objj_msgSend(_a5,"frame"),_a7=objj_msgSend(_a3,"itemAtRow:",objj_msgSend(_a3,"rowAtPoint:",{x:(_a6.origin.x),y:(_a6.origin.y+(_a6.size.height)/2)})); +if(objj_msgSend(_a3,"isItemExpanded:",_a7)){ +objj_msgSend(_a3,"collapseItem:",_a7); +}else{ +objj_msgSend(_a3,"expandItem:",_a7); +} +} +}),new objj_method(sel_getUid("_enqueueDisclosureControl:"),function(_a8,_a9,_aa){ +with(_a8){ +_disclosureControlQueue.push(_aa); +} +}),new objj_method(sel_getUid("_dequeueDisclosureControl"),function(_ab,_ac){ +with(_ab){ +if(_disclosureControlQueue.length){ +return _disclosureControlQueue.pop(); +} +if(!_disclosureControlData){ +if(!_disclosureControlPrototype){ +return nil; +}else{ +_disclosureControlData=objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_disclosureControlPrototype); +} +} +var _ad=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",_disclosureControlData); +objj_msgSend(_ad,"setTarget:",_ab); +objj_msgSend(_ad,"setAction:",sel_getUid("_toggleFromDisclosureControl:")); +return _ad; +} +}),new objj_method(sel_getUid("_noteSelectionIsChanging"),function(_ae,_af){ +with(_ae){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPOutlineViewSelectionIsChangingNotification,_ae,nil); +} +}),new objj_method(sel_getUid("_noteSelectionDidChange"),function(_b0,_b1){ +with(_b0){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPOutlineViewSelectionDidChangeNotification,_b0,nil); +} +})]); +var _38=function(_b2,_b3){ +if(!_b3){ +return; +} +with(_b2){ +var _b4=_itemInfosForItems,_b5=_outlineViewDataSource,_b6=objj_msgSend(_b3,"UID"),_b7=_b4[_b6]; +if(!_b7){ +return []; +} +var _b8=_b7.parent,_b9=_b8?_b4[objj_msgSend(_b8,"UID")]:_rootItemInfo,_ba=_b9.children,_bb=objj_msgSend(_ba,"indexOfObjectIdenticalTo:",_b3),_bc=objj_msgSend(_b5,"outlineView:child:ofItem:",_b2,_bb,_b8); +if(_b3!==_bc){ +_b4[objj_msgSend(_b3,"UID")]=nil; +_b4[objj_msgSend(_bc,"UID")]=_b7; +_ba[_bb]=_bc; +_itemsForRows[_b7.row]=_bc; +} +_b7.isExpandable=objj_msgSend(_b5,"outlineView:isItemExpandable:",_b2,_bc); +_b7.isExpanded=_b7.isExpandable&&_b7.isExpanded; +} +}; +var _37=function(_bd,_be,_bf){ +with(_bd){ +var _c0=_itemInfosForItems,_c1=_outlineViewDataSource; +if(!_be){ +var _c2=_rootItemInfo; +}else{ +var _c3=objj_msgSend(_be,"UID"),_c2=_c0[_c3]; +if(!_c2){ +return []; +} +_c2.isExpandable=objj_msgSend(_c1,"outlineView:isItemExpandable:",_bd,_be); +if(!_c2.isExpandable&&_c2.isExpanded){ +_c2.isExpanded=NO; +_c2.children=[]; +} +} +var _c4=_c2.weight,_c5=_be?[_be]:[]; +if(_c2.isExpanded&&(!(_implementedOutlineViewDataSourceMethods&_2)||!objj_msgSend(_c1,"outlineView:shouldDeferDisplayingChildrenOfItem:",_bd,_be))){ +var _c6=0,_c7=objj_msgSend(_c1,"outlineView:numberOfChildrenOfItem:",_bd,_be),_c8=_c2.level+1; +_c2.children=[]; +for(;_c6<_c7;++_c6){ +var _c9=objj_msgSend(_c1,"outlineView:child:ofItem:",_bd,_c6,_be),_ca=_c0[objj_msgSend(_c9,"UID")]; +if(!_ca){ +_ca={isExpanded:NO,isExpandable:NO,children:[],weight:1}; +_c0[objj_msgSend(_c9,"UID")]=_ca; +} +_c2.children[_c6]=_c9; +var _cb=_37(_bd,_c9,YES); +_ca.parent=_be; +_ca.level=_c8; +_c5=_c5.concat(_cb); +} +} +_c2.weight=_c5.length; +if(!_bf){ +var _c6=MAX(_c2.row,0),_cc=_itemsForRows; +_c5.unshift(_c6,_c4); +_cc.splice.apply(_cc,_c5); +var _c7=_cc.length; +for(;_c6<_c7;++_c6){ +_c0[objj_msgSend(_cc[_c6],"UID")].row=_c6; +} +var _cd=_c2.weight-_c4; +if(_cd!==0){ +var _ce=_c2.parent; +while(_ce){ +var _cf=_c0[objj_msgSend(_ce,"UID")]; +_cf.weight+=_cd; +_ce=_cf.parent; +} +if(_be){ +_rootItemInfo.weight+=_cd; +} +} +} +} +return _c5; +}; +var _10=objj_allocateClassPair(CPObject,"_CPOutlineViewTableViewDataSource"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_outlineView")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initWithOutlineView:"),function(_d0,_d1,_d2){ +with(_d0){ +_d0=objj_msgSendSuper({receiver:_d0,super_class:objj_getClass("_CPOutlineViewTableViewDataSource").super_class},"init"); +if(_d0){ +_outlineView=_d2; +} +return _d0; +} +}),new objj_method(sel_getUid("numberOfRowsInTableView:"),function(_d3,_d4,_d5){ +with(_d3){ +return _outlineView._itemsForRows.length; +} +}),new objj_method(sel_getUid("tableView:objectValueForTableColumn:row:"),function(_d6,_d7,_d8,_d9,_da){ +with(_d6){ +return objj_msgSend(_outlineView._outlineViewDataSource,"outlineView:objectValueForTableColumn:byItem:",_outlineView,_d9,_outlineView._itemsForRows[_da]); +} +}),new objj_method(sel_getUid("tableView:writeRowsWithIndexes:toPasteboard:"),function(_db,_dc,_dd,_de,_df){ +with(_db){ +if(!(_outlineView._implementedOutlineViewDataSourceMethods&_9)){ +return NO; +} +var _e0=[]; +objj_msgSend(_de,"getIndexes:maxCount:inIndexRange:",_e0,objj_msgSend(_de,"count"),nil); +var _e1=objj_msgSend(_e0,"count"),_e2=[]; +while(_e1--){ +objj_msgSend(_e2,"addObject:",objj_msgSend(_outlineView,"itemAtRow:",objj_msgSend(_e0,"objectAtIndex:",_e1))); +} +return objj_msgSend(_outlineView._outlineViewDataSource,"outlineView:writeItems:toPasteboard:",_outlineView,_e2,_df); +} +}),new objj_method(sel_getUid("_childIndexForDropOperation:row:offset:"),function(_e3,_e4,_e5,_e6,_e7){ +with(_e3){ +if(_outlineView._shouldRetargetChildIndex){ +return _outlineView._retargedChildIndex; +} +var _e8=CPNotFound; +if(_e5===CPTableViewDropAbove){ +var _e9=objj_msgSend(_outlineView,"_parentItemForUpperRow:andLowerRow:atMouseOffset:",_e6-1,_e6,_e7),_ea=(_e9!==nil)?_outlineView._itemInfosForItems[objj_msgSend(_e9,"UID")]:_outlineView._rootItemInfo,_eb=_ea.children; +_e8=objj_msgSend(_eb,"indexOfObject:",objj_msgSend(_outlineView,"itemAtRow:",_e6)); +if(_e8===CPNotFound){ +_e8=_eb.length; +} +}else{ +if(_e5===CPTableViewDropOn){ +_e8=-1; +} +} +return _e8; +} +}),new objj_method(sel_getUid("_parentItemForDropOperation:row:offset:"),function(_ec,_ed,_ee,_ef,_f0){ +with(_ec){ +if(_ee===CPTableViewDropAbove){ +return objj_msgSend(_outlineView,"_parentItemForUpperRow:andLowerRow:atMouseOffset:",_ef-1,_ef,_f0); +} +return objj_msgSend(_outlineView,"itemAtRow:",_ef); +} +}),new objj_method(sel_getUid("tableView:validateDrop:proposedRow:proposedDropOperation:"),function(_f1,_f2,_f3,_f4,_f5,_f6){ +with(_f1){ +if(!(_outlineView._implementedOutlineViewDataSourceMethods&_4)){ +return CPDragOperationNone; +} +_outlineView._retargetedItem=nil; +_outlineView._shouldRetargetItem=NO; +_outlineView._retargedChildIndex=nil; +_outlineView._shouldRetargetChildIndex=NO; +var _f7=objj_msgSend(_outlineView,"convertPoint:fromView:",objj_msgSend(_f4,"draggingLocation"),nil),_f8=objj_msgSend(_f1,"_parentItemForDropOperation:row:offset:",_f6,_f5,_f7); +childIndex=objj_msgSend(_f1,"_childIndexForDropOperation:row:offset:",_f6,_f5,_f7); +return objj_msgSend(_outlineView._outlineViewDataSource,"outlineView:validateDrop:proposedItem:proposedChildIndex:",_outlineView,_f4,_f8,childIndex); +} +}),new objj_method(sel_getUid("tableView:acceptDrop:row:dropOperation:"),function(_f9,_fa,_fb,_fc,_fd,_fe){ +with(_f9){ +if(!(_outlineView._implementedOutlineViewDataSourceMethods&_3)){ +return NO; +} +var _ff=objj_msgSend(_outlineView,"convertPoint:fromView:",objj_msgSend(_fc,"draggingLocation"),nil),_100=objj_msgSend(_f9,"_parentItemForDropOperation:row:offset:",_fe,_fd,_ff); +childIndex=objj_msgSend(_f9,"_childIndexForDropOperation:row:offset:",_fe,_fd,_ff); +_outlineView._retargetedItem=nil; +_outlineView._shouldRetargetItem=NO; +_outlineView._retargedChildIndex=nil; +_outlineView._shouldRetargetChildIndex=NO; +return objj_msgSend(_outlineView._outlineViewDataSource,"outlineView:acceptDrop:item:childIndex:",_outlineView,_fc,_100,childIndex); +} +})]); +var _10=objj_allocateClassPair(CPObject,"_CPOutlineViewTableViewDelegate"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_outlineView")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initWithOutlineView:"),function(self,_101,_102){ +with(self){ +self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("_CPOutlineViewTableViewDelegate").super_class},"init"); +if(self){ +_outlineView=_102; +} +return self; +} +}),new objj_method(sel_getUid("tableView:dataViewForTableColumn:row:"),function(self,_103,_104,_105,_106){ +with(self){ +var _107=nil; +if((_outlineView._implementedOutlineViewDelegateMethods&_b)){ +_107=objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:dataViewForTableColumn:item:",_outlineView,_105,objj_msgSend(_outlineView,"itemAtRow:",_106)); +} +if(!_107){ +_107=objj_msgSend(_105,"dataViewForRow:",_106); +} +return _107; +} +}),new objj_method(sel_getUid("tableView:shouldSelectRow:"),function(self,_108,_109,_10a){ +with(self){ +if((_outlineView._implementedOutlineViewDelegateMethods&_c)){ +return objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:shouldSelectItem:",_outlineView,objj_msgSend(_outlineView,"itemAtRow:",_10a)); +} +return YES; +} +}),new objj_method(sel_getUid("tableView:heightOfRow:"),function(self,_10b,_10c,_10d){ +with(self){ +if((_outlineView._implementedOutlineViewDelegateMethods&_d)){ +return objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:heightOfRowByItem:",_outlineView,objj_msgSend(_outlineView,"itemAtRow:",_10d)); +} +return objj_msgSend(_10c,"rowHeight"); +} +}),new objj_method(sel_getUid("tableView:willDisplayView:forTableColumn:row:"),function(self,_10e,_10f,_110,_111,_112){ +with(self){ +if((_outlineView._implementedOutlineViewDelegateMethods&_e)){ +var item=objj_msgSend(_outlineView,"itemAtRow:",_112); +objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:willDisplayView:forTableColumn:item:",_outlineView,_110,_111,item); +} +} +}),new objj_method(sel_getUid("tableView:isGroupRow:"),function(self,_113,_114,row){ +with(self){ +if((_outlineView._implementedOutlineViewDelegateMethods&_f)){ +return objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:isGroupItem:",_outlineView,objj_msgSend(_outlineView,"itemAtRow:",theRow)); +} +return NO; +} +})]); +var _10=objj_allocateClassPair(CPButton,"CPDisclosureButton"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_angle")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initWithFrame:"),function(self,_115,_116){ +with(self){ +self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPDisclosureButton").super_class},"initWithFrame:",_116); +if(self){ +objj_msgSend(self,"setBordered:",NO); +} +return self; +} +}),new objj_method(sel_getUid("setState:"),function(self,_117,_118){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPDisclosureButton").super_class},"setState:",_118); +if(objj_msgSend(self,"state")===CPOnState){ +_angle=0; +}else{ +_angle=-PI_2; +} +} +}),new objj_method(sel_getUid("drawRect:"),function(self,_119,_11a){ +with(self){ +var _11b=objj_msgSend(self,"bounds"),_11c=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextBeginPath(_11c); +CGContextTranslateCTM(_11c,(_11b.size.width)/2,(_11b.size.height)/2); +CGContextRotateCTM(_11c,_angle); +CGContextTranslateCTM(_11c,-(_11b.size.width)/2,-(_11b.size.height)/2); +CGContextTranslateCTM(_11c,FLOOR(((_11b.size.width)-9)/2),FLOOR(((_11b.size.height)-8)/2)); +CGContextMoveToPoint(_11c,0,0); +CGContextAddLineToPoint(_11c,9,0); +CGContextAddLineToPoint(_11c,4.5,8); +CGContextAddLineToPoint(_11c,0,0); +CGContextClosePath(_11c); +CGContextSetFillColor(_11c,objj_msgSend(self,"isHighlighted")?objj_msgSend(CPColor,"whiteColor"):objj_msgSend(CPColor,"grayColor")); +CGContextFillPath(_11c); +} +})]); +p;9;CPPanel.jt;1172;@STATIC;1.0;i;10;CPWindow.jt;1138; +objj_executeFile("CPWindow.j",YES); +CPOKButton=1; +CPCancelButton=0; +CPDocModalWindowMask=1<<6; +var _1=objj_allocateClassPair(CPWindow,"CPPanel"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_becomesKeyOnlyIfNeeded"),new objj_ivar("_worksWhenModal")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("isFloatingPanel"),function(_3,_4){ +with(_3){ +return objj_msgSend(_3,"level")==CPFloatingWindowLevel; +} +}),new objj_method(sel_getUid("setFloatingPanel:"),function(_5,_6,_7){ +with(_5){ +objj_msgSend(_5,"setLevel:",_7?CPFloatingWindowLevel:CPNormalWindowLevel); +} +}),new objj_method(sel_getUid("becomesKeyOnlyIfNeeded"),function(_8,_9){ +with(_8){ +return _becomesKeyOnlyIfNeeded; +} +}),new objj_method(sel_getUid("setBecomesKeyOnlyIfNeeded:"),function(_a,_b,_c){ +with(_a){ +_becomesKeyOnlyIfNeeded=_c; +} +}),new objj_method(sel_getUid("worksWhenModal"),function(_d,_e){ +with(_d){ +return _worksWhenModal; +} +}),new objj_method(sel_getUid("setWorksWhenModal:"),function(_f,_10,_11){ +with(_f){ +_worksWhenModal=_11; +} +}),new objj_method(sel_getUid("canBecomeMainWindow"),function(_12,_13){ +with(_12){ +return NO; +} +})]); +p;14;CPPasteboard.jt;8393;@STATIC;1.0;I;21;Foundation/CPObject.jI;20;Foundation/CPArray.jI;25;Foundation/CPDictionary.jI;40;Foundation/CPPropertyListSerialization.jt;8248; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPPropertyListSerialization.j",NO); +CPGeneralPboard="CPGeneralPboard"; +CPFontPboard="CPFontPboard"; +CPRulerPboard="CPRulerPboard"; +CPFindPboard="CPFindPboard"; +CPDragPboard="CPDragPboard"; +CPColorPboardType="CPColorPboardType"; +CPFilenamesPboardType="CPFilenamesPboardType"; +CPFontPboardType="CPFontPboardType"; +CPHTMLPboardType="CPHTMLPboardType"; +CPStringPboardType="CPStringPboardType"; +CPURLPboardType="CPURLPboardType"; +CPImagesPboardType="CPImagesPboardType"; +CPVideosPboardType="CPVideosPboardType"; +UTF8PboardType="public.utf8-plain-text"; +CPImagePboardType="CPImagePboardType"; +var _1=nil,_2=NO; +var _3=objj_allocateClassPair(CPObject,"CPPasteboard"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_types"),new objj_ivar("_owners"),new objj_ivar("_provided"),new objj_ivar("_changeCount"),new objj_ivar("_stateUID"),new objj_ivar("_nativePasteboard")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("_initWithName:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPPasteboard").super_class},"init"); +if(_5){ +_name=_7; +_types=[]; +_owners=objj_msgSend(CPDictionary,"dictionary"); +_provided=objj_msgSend(CPDictionary,"dictionary"); +_changeCount=0; +if(_2){ +_nativePasteboard=window.cpPasteboardWithName(_7); +objj_msgSend(_5,"_synchronizePasteboard"); +} +} +return _5; +} +}),new objj_method(sel_getUid("addTypes:owner:"),function(_8,_9,_a,_b){ +with(_8){ +var i=0,_c=_a.length; +for(;i<_c;++i){ +var _d=_a[i]; +if(!objj_msgSend(_owners,"objectForKey:",_d)){ +objj_msgSend(_types,"addObject:",_d); +objj_msgSend(_provided,"removeObjectForKey:",_d); +} +objj_msgSend(_owners,"setObject:forKey:",_b,_d); +} +if(_nativePasteboard){ +var _e=objj_msgSend(_a,"copy"); +if(objj_msgSend(_a,"containsObject:",CPStringPboardType)){ +_e.push(UTF8PboardType); +} +_nativePasteboard.addTypes_(_e); +} +return ++_changeCount; +} +}),new objj_method(sel_getUid("declareTypes:owner:"),function(_f,_10,_11,_12){ +with(_f){ +objj_msgSend(_f,"_declareTypes:owner:updateNativePasteboard:",_11,_12,YES); +} +}),new objj_method(sel_getUid("_declareTypes:owner:updateNativePasteboard:"),function(_13,_14,_15,_16,_17){ +with(_13){ +objj_msgSend(_types,"setArray:",_15); +_owners=objj_msgSend(CPDictionary,"dictionary"); +_provided=objj_msgSend(CPDictionary,"dictionary"); +var _18=_types.length; +while(_18--){ +objj_msgSend(_owners,"setObject:forKey:",_16,_types[_18]); +} +if(_nativePasteboard&&_17){ +var _19=objj_msgSend(_15,"copy"); +if(objj_msgSend(_15,"containsObject:",CPStringPboardType)){ +_19.push(UTF8PboardType); +} +_nativePasteboard.declareTypes_(_19); +_changeCount=_nativePasteboard.changeCount(); +} +return ++_changeCount; +} +}),new objj_method(sel_getUid("setData:forType:"),function(_1a,_1b,_1c,_1d){ +with(_1a){ +objj_msgSend(_provided,"setObject:forKey:",_1c,_1d); +if(_1d===CPStringPboardType){ +objj_msgSend(_1a,"setData:forType:",_1c,UTF8PboardType); +} +return YES; +} +}),new objj_method(sel_getUid("setPropertyList:forType:"),function(_1e,_1f,_20,_21){ +with(_1e){ +return objj_msgSend(_1e,"setData:forType:",objj_msgSend(CPPropertyListSerialization,"dataFromPropertyList:format:",_20,CPPropertyList280NorthFormat_v1_0),_21); +} +}),new objj_method(sel_getUid("setString:forType:"),function(_22,_23,_24,_25){ +with(_22){ +objj_msgSend(_22,"setPropertyList:forType:",_24,_25); +} +}),new objj_method(sel_getUid("availableTypeFromArray:"),function(_26,_27,_28){ +with(_26){ +return objj_msgSend(objj_msgSend(_26,"types"),"firstObjectCommonWithArray:",_28); +} +}),new objj_method(sel_getUid("types"),function(_29,_2a){ +with(_29){ +objj_msgSend(_29,"_synchronizePasteboard"); +return _types; +} +}),new objj_method(sel_getUid("changeCount"),function(_2b,_2c){ +with(_2b){ +return _changeCount; +} +}),new objj_method(sel_getUid("dataForType:"),function(_2d,_2e,_2f){ +with(_2d){ +var _30=objj_msgSend(_provided,"objectForKey:",_2f); +if(_30){ +return _30; +} +var _31=objj_msgSend(_owners,"objectForKey:",_2f); +if(_31){ +objj_msgSend(_31,"pasteboard:provideDataForType:",_2d,_2f); +return objj_msgSend(_provided,"objectForKey:",_2f); +} +if(_2f===CPStringPboardType){ +return objj_msgSend(_2d,"dataForType:",UTF8PboardType); +} +return nil; +} +}),new objj_method(sel_getUid("_synchronizePasteboard"),function(_32,_33){ +with(_32){ +if(_nativePasteboard&&_nativePasteboard.changeCount()>_changeCount){ +var _34=objj_msgSend(_nativePasteboard.types(),"copy"); +if(objj_msgSend(_34,"containsObject:",UTF8PboardType)){ +_34.push(CPStringPboardType); +} +objj_msgSend(_32,"_declareTypes:owner:updateNativePasteboard:",_34,_32,NO); +_changeCount=_nativePasteboard.changeCount(); +} +} +}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_35,_36,_37,_38){ +with(_35){ +if(_38===CPStringPboardType){ +var _39=_nativePasteboard.stringForType_(UTF8PboardType); +objj_msgSend(_35,"setString:forType:",_39,CPStringPboardType); +objj_msgSend(_35,"setString:forType:",_39,UTF8PboardType); +}else{ +objj_msgSend(_35,"setString:forType:",_nativePasteboard.stringForType_(_38),_38); +} +} +}),new objj_method(sel_getUid("propertyListForType:"),function(_3a,_3b,_3c){ +with(_3a){ +var _3d=objj_msgSend(_3a,"dataForType:",_3c); +if(_3d){ +return objj_msgSend(CPPropertyListSerialization,"propertyListFromData:format:",_3d,CPPropertyList280NorthFormat_v1_0); +} +return nil; +} +}),new objj_method(sel_getUid("stringForType:"),function(_3e,_3f,_40){ +with(_3e){ +return objj_msgSend(_3e,"propertyListForType:",_40); +} +}),new objj_method(sel_getUid("_generateStateUID"),function(_41,_42){ +with(_41){ +var _43=32; +_stateUID=""; +while(_43--){ +_stateUID+=FLOOR(RAND()*16).toString(16).toUpperCase(); +} +return _stateUID; +} +}),new objj_method(sel_getUid("_stateUID"),function(_44,_45){ +with(_44){ +return _stateUID; +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("initialize"),function(_46,_47){ +with(_46){ +if(_46!=objj_msgSend(CPPasteboard,"class")){ +return; +} +objj_msgSend(_46,"setVersion:",1); +_1=objj_msgSend(CPDictionary,"dictionary"); +if(typeof window.cpPasteboardWithName!=="undefined"){ +_2=YES; +} +} +}),new objj_method(sel_getUid("generalPasteboard"),function(_48,_49){ +with(_48){ +return objj_msgSend(CPPasteboard,"pasteboardWithName:",CPGeneralPboard); +} +}),new objj_method(sel_getUid("pasteboardWithName:"),function(_4a,_4b,_4c){ +with(_4a){ +var _4d=objj_msgSend(_1,"objectForKey:",_4c); +if(_4d){ +return _4d; +} +_4d=objj_msgSend(objj_msgSend(CPPasteboard,"alloc"),"_initWithName:",_4c); +objj_msgSend(_1,"setObject:forKey:",_4d,_4c); +return _4d; +} +})]); +var _4e=nil; +var _3=objj_allocateClassPair(CPPasteboard,"_CPDOMDataTransferPasteboard"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_dataTransfer")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("_setDataTransfer:"),function(_4f,_50,_51){ +with(_4f){ +_dataTransfer=_51; +} +}),new objj_method(sel_getUid("_setPasteboard:"),function(_52,_53,_54){ +with(_52){ +_dataTransfer.clearData(); +var _55=objj_msgSend(_54,"types"),_56=_55.length; +while(_56--){ +var _57=_55[_56]; +if(_57===CPStringPboardType){ +_dataTransfer.setData(_57,objj_msgSend(_54,"stringForType:",_57)); +}else{ +_dataTransfer.setData(_57,objj_msgSend(objj_msgSend(_54,"dataForType:",_57),"rawString")); +} +} +} +}),new objj_method(sel_getUid("types"),function(_58,_59){ +with(_58){ +return Array.prototype.slice.apply(_dataTransfer.types); +} +}),new objj_method(sel_getUid("dataForType:"),function(_5a,_5b,_5c){ +with(_5a){ +var _5d=_dataTransfer.getData(_5c); +if(_5c===CPStringPboardType){ +return objj_msgSend(CPData,"dataFromPropertyList:format:",_5d,kCFPropertyList280NorthFormat_v1_0); +} +return objj_msgSend(CPData,"dataWithRawString:",_5d); +} +}),new objj_method(sel_getUid("propertyListForType:"),function(_5e,_5f,_60){ +with(_5e){ +if(_60===CPStringPboardType){ +return _dataTransfer.getData(_60); +} +return objj_msgSend(CPPropertyListSerialization,"propertyListFromData:format:",objj_msgSend(_5e,"dataForType:",_60),CPPropertyListUnknownFormat); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("DOMDataTransferPasteboard"),function(_61,_62){ +with(_61){ +if(!_4e){ +_4e=objj_msgSend(objj_msgSend(_CPDOMDataTransferPasteboard,"alloc"),"init"); +} +return _4e; +} +})]); +p;15;CPPopUpButton.jt;13015;@STATIC;1.0;i;10;CPButton.ji;12;CPGeometry.ji;8;CPMenu.ji;12;CPMenuItem.jt;12934; +objj_executeFile("CPButton.j",YES); +objj_executeFile("CPGeometry.j",YES); +objj_executeFile("CPMenu.j",YES); +objj_executeFile("CPMenuItem.j",YES); +var _1=7; +CPPopUpButtonStatePullsDown=CPThemeState("pulls-down"); +var _2=objj_allocateClassPair(CPButton,"CPPopUpButton"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_selectedIndex"),new objj_ivar("_preferredEdge"),new objj_ivar("_menu")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:pullsDown:"),function(_4,_5,_6,_7){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPPopUpButton").super_class},"initWithFrame:",_6); +if(_4){ +_selectedIndex=CPNotFound; +_preferredEdge=CPMaxYEdge; +objj_msgSend(_4,"setValue:forThemeAttribute:",CPImageLeft,"image-position"); +objj_msgSend(_4,"setValue:forThemeAttribute:",CPLeftTextAlignment,"alignment"); +objj_msgSend(_4,"setValue:forThemeAttribute:",CPLineBreakByTruncatingTail,"line-break-mode"); +objj_msgSend(_4,"setMenu:",objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","")); +objj_msgSend(_4,"setPullsDown:",_7); +} +return _4; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_8,_9,_a){ +with(_8){ +return objj_msgSend(_8,"initWithFrame:pullsDown:",_a,NO); +} +}),new objj_method(sel_getUid("setPullsDown:"),function(_b,_c,_d){ +with(_b){ +if(_d){ +var _e=objj_msgSend(_b,"setThemeState:",CPPopUpButtonStatePullsDown); +}else{ +var _e=objj_msgSend(_b,"unsetThemeState:",CPPopUpButtonStatePullsDown); +} +if(!_e){ +return; +} +var _f=objj_msgSend(_menu,"itemArray"); +if(objj_msgSend(_f,"count")<=0){ +return; +} +objj_msgSend(_f[0],"setHidden:",objj_msgSend(_b,"pullsDown")); +objj_msgSend(_b,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("pullsDown"),function(_10,_11){ +with(_10){ +return objj_msgSend(_10,"hasThemeState:",CPPopUpButtonStatePullsDown); +} +}),new objj_method(sel_getUid("addItem:"),function(_12,_13,_14){ +with(_12){ +objj_msgSend(_menu,"addItem:",_14); +} +}),new objj_method(sel_getUid("addItemWithTitle:"),function(_15,_16,_17){ +with(_15){ +objj_msgSend(_menu,"addItemWithTitle:action:keyEquivalent:",_17,NULL,nil); +} +}),new objj_method(sel_getUid("addItemsWithTitles:"),function(_18,_19,_1a){ +with(_18){ +var _1b=0,_1c=objj_msgSend(_1a,"count"); +for(;_1b<_1c;++_1b){ +objj_msgSend(_18,"addItemWithTitle:",_1a[_1b]); +} +} +}),new objj_method(sel_getUid("insertItemWithTitle:atIndex:"),function(_1d,_1e,_1f,_20){ +with(_1d){ +var _21=objj_msgSend(_1d,"itemArray"),_22=objj_msgSend(_21,"count"); +while(_22--){ +if(objj_msgSend(_21[_22],"title")==_1f){ +objj_msgSend(_1d,"removeItemAtIndex:",_22); +} +} +objj_msgSend(_menu,"insertItemWithTitle:action:keyEquivalent:atIndex:",_1f,NULL,nil,_20); +} +}),new objj_method(sel_getUid("removeAllItems"),function(_23,_24){ +with(_23){ +var _25=objj_msgSend(_menu,"numberOfItems"); +while(_25--){ +objj_msgSend(_menu,"removeItemAtIndex:",0); +} +} +}),new objj_method(sel_getUid("removeItemWithTitle:"),function(_26,_27,_28){ +with(_26){ +objj_msgSend(_26,"removeItemAtIndex:",objj_msgSend(_26,"indexOfItemWithTitle:",_28)); +objj_msgSend(_26,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("removeItemAtIndex:"),function(_29,_2a,_2b){ +with(_29){ +objj_msgSend(_menu,"removeItemAtIndex:",_2b); +objj_msgSend(_29,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("selectedItem"),function(_2c,_2d){ +with(_2c){ +if(_selectedIndex<0||_selectedIndex>objj_msgSend(_2c,"numberOfItems")-1){ +return nil; +} +return objj_msgSend(_menu,"itemAtIndex:",_selectedIndex); +} +}),new objj_method(sel_getUid("titleOfSelectedItem"),function(_2e,_2f){ +with(_2e){ +return objj_msgSend(objj_msgSend(_2e,"selectedItem"),"title"); +} +}),new objj_method(sel_getUid("indexOfSelectedItem"),function(_30,_31){ +with(_30){ +return _selectedIndex; +} +}),new objj_method(sel_getUid("objectValue"),function(_32,_33){ +with(_32){ +return _selectedIndex; +} +}),new objj_method(sel_getUid("selectItem:"),function(_34,_35,_36){ +with(_34){ +objj_msgSend(_34,"selectItemAtIndex:",objj_msgSend(_34,"indexOfItem:",_36)); +} +}),new objj_method(sel_getUid("selectItemAtIndex:"),function(_37,_38,_39){ +with(_37){ +if(_selectedIndex==_39){ +return; +} +if(_selectedIndex>=0&&!objj_msgSend(_37,"pullsDown")){ +objj_msgSend(objj_msgSend(_37,"selectedItem"),"setState:",CPOffState); +} +_selectedIndex=_39; +if(_selectedIndex>=0&&!objj_msgSend(_37,"pullsDown")){ +objj_msgSend(objj_msgSend(_37,"selectedItem"),"setState:",CPOnState); +} +objj_msgSend(_37,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("selectItemWithTag:"),function(_3a,_3b,_3c){ +with(_3a){ +objj_msgSend(_3a,"selectItemAtIndex:",objj_msgSend(_3a,"indexOfItemWithTag:",_3c)); +} +}),new objj_method(sel_getUid("selectItemWithTitle:"),function(_3d,_3e,_3f){ +with(_3d){ +objj_msgSend(_3d,"selectItemAtIndex:",objj_msgSend(_3d,"indexOfItemWithTitle:",_3f)); +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_40,_41,_42){ +with(_40){ +objj_msgSend(_40,"selectItemAtIndex:",objj_msgSend(_42,"intValue")); +} +}),new objj_method(sel_getUid("menu"),function(_43,_44){ +with(_43){ +return _menu; +} +}),new objj_method(sel_getUid("setMenu:"),function(_45,_46,_47){ +with(_45){ +if(_menu===_47){ +return; +} +var _48=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_menu){ +objj_msgSend(_48,"removeObserver:name:object:",_45,CPMenuDidAddItemNotification,_menu); +objj_msgSend(_48,"removeObserver:name:object:",_45,CPMenuDidChangeItemNotification,_menu); +objj_msgSend(_48,"removeObserver:name:object:",_45,CPMenuDidRemoveItemNotification,_menu); +} +_menu=_47; +if(_menu){ +objj_msgSend(_48,"addObserver:selector:name:object:",_45,sel_getUid("menuDidAddItem:"),CPMenuDidAddItemNotification,_menu); +objj_msgSend(_48,"addObserver:selector:name:object:",_45,sel_getUid("menuDidChangeItem:"),CPMenuDidChangeItemNotification,_menu); +objj_msgSend(_48,"addObserver:selector:name:object:",_45,sel_getUid("menuDidRemoveItem:"),CPMenuDidRemoveItemNotification,_menu); +} +objj_msgSend(_45,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("numberOfItems"),function(_49,_4a){ +with(_49){ +return objj_msgSend(_menu,"numberOfItems"); +} +}),new objj_method(sel_getUid("itemArray"),function(_4b,_4c){ +with(_4b){ +return objj_msgSend(_menu,"itemArray"); +} +}),new objj_method(sel_getUid("itemAtIndex:"),function(_4d,_4e,_4f){ +with(_4d){ +return objj_msgSend(_menu,"itemAtIndex:",_4f); +} +}),new objj_method(sel_getUid("itemTitleAtIndex:"),function(_50,_51,_52){ +with(_50){ +return objj_msgSend(objj_msgSend(_menu,"itemAtIndex:",_52),"title"); +} +}),new objj_method(sel_getUid("itemTitles"),function(_53,_54){ +with(_53){ +var _55=[],_56=objj_msgSend(_53,"itemArray"),_57=0,_58=objj_msgSend(_56,"count"); +for(;_57<_58;++_57){ +_56.push(objj_msgSend(_56[_57],"title")); +} +} +}),new objj_method(sel_getUid("itemWithTitle:"),function(_59,_5a,_5b){ +with(_59){ +return objj_msgSend(_menu,"itemAtIndex:",objj_msgSend(_menu,"indexOfItemWithTitle:",_5b)); +} +}),new objj_method(sel_getUid("lastItem"),function(_5c,_5d){ +with(_5c){ +return objj_msgSend(objj_msgSend(_menu,"itemArray"),"lastObject"); +} +}),new objj_method(sel_getUid("indexOfItem:"),function(_5e,_5f,_60){ +with(_5e){ +return objj_msgSend(_menu,"indexOfItem:",_60); +} +}),new objj_method(sel_getUid("indexOfItemWithTag:"),function(_61,_62,_63){ +with(_61){ +return objj_msgSend(_menu,"indexOfItemWithTag:",_63); +} +}),new objj_method(sel_getUid("indexOfItemWithTitle:"),function(_64,_65,_66){ +with(_64){ +return objj_msgSend(_menu,"indexOfItemWithTitle:",_66); +} +}),new objj_method(sel_getUid("indexOfItemWithRepresentedObject:"),function(_67,_68,_69){ +with(_67){ +return objj_msgSend(_menu,"indexOfItemWithRepresentedObject:",_69); +} +}),new objj_method(sel_getUid("indexOfItemWithTarget:action:"),function(_6a,_6b,_6c,_6d){ +with(_6a){ +return objj_msgSend(_menu,"indexOfItemWithTarget:action:",_6c,_6d); +} +}),new objj_method(sel_getUid("preferredEdge"),function(_6e,_6f){ +with(_6e){ +return _preferredEdge; +} +}),new objj_method(sel_getUid("setPreferredEdge:"),function(_70,_71,_72){ +with(_70){ +_preferredEdge=_72; +} +}),new objj_method(sel_getUid("setTitle:"),function(_73,_74,_75){ +with(_73){ +if(objj_msgSend(_73,"title")===_75){ +return; +} +if(objj_msgSend(_73,"pullsDown")){ +var _76=objj_msgSend(_menu,"itemArray"); +if(objj_msgSend(_76,"count")<=0){ +objj_msgSend(_73,"addItemWithTitle:",_75); +}else{ +objj_msgSend(_76[0],"setTitle:",_75); +objj_msgSend(_73,"synchronizeTitleAndSelectedItem"); +} +}else{ +var _77=objj_msgSend(_73,"indexOfItemWithTitle:",_75); +if(_77<0){ +objj_msgSend(_73,"addItemWithTitle:",_75); +_77=objj_msgSend(_73,"numberOfItems")-1; +} +objj_msgSend(_73,"selectItemAtIndex:",_77); +} +} +}),new objj_method(sel_getUid("setImage:"),function(_78,_79,_7a){ +with(_78){ +} +}),new objj_method(sel_getUid("synchronizeTitleAndSelectedItem"),function(_7b,_7c){ +with(_7b){ +var _7d=nil; +if(objj_msgSend(_7b,"pullsDown")){ +var _7e=objj_msgSend(_menu,"itemArray"); +if(objj_msgSend(_7e,"count")>0){ +_7d=_7e[0]; +} +}else{ +_7d=objj_msgSend(_7b,"selectedItem"); +} +objj_msgSendSuper({receiver:_7b,super_class:objj_getClass("CPPopUpButton").super_class},"setImage:",objj_msgSend(_7d,"image")); +objj_msgSendSuper({receiver:_7b,super_class:objj_getClass("CPPopUpButton").super_class},"setTitle:",objj_msgSend(_7d,"title")); +} +}),new objj_method(sel_getUid("menuDidAddItem:"),function(_7f,_80,_81){ +with(_7f){ +var _82=objj_msgSend(objj_msgSend(_81,"userInfo"),"objectForKey:","CPMenuItemIndex"); +if(_selectedIndex<0){ +objj_msgSend(_7f,"selectItemAtIndex:",0); +}else{ +if(_82==_selectedIndex){ +objj_msgSend(_7f,"synchronizeTitleAndSelectedItem"); +}else{ +if(_82<_selectedIndex){ +++_selectedIndex; +} +} +} +if(_82==0&&objj_msgSend(_7f,"pullsDown")){ +var _83=objj_msgSend(_menu,"itemArray"); +objj_msgSend(_83[0],"setHidden:",YES); +if(_83.length>0){ +objj_msgSend(_83[1],"setHidden:",NO); +} +} +var _84=objj_msgSend(_menu,"itemArray")[_82],_85=objj_msgSend(_84,"action"); +if(!_85||(_85===sel_getUid("_popUpItemAction:"))){ +objj_msgSend(_84,"setTarget:",_7f); +objj_msgSend(_84,"setAction:",sel_getUid("_popUpItemAction:")); +} +} +}),new objj_method(sel_getUid("menuDidChangeItem:"),function(_86,_87,_88){ +with(_86){ +var _89=objj_msgSend(objj_msgSend(_88,"userInfo"),"objectForKey:","CPMenuItemIndex"); +if(objj_msgSend(_86,"pullsDown")&&_89!=0){ +return; +} +if(!objj_msgSend(_86,"pullsDown")&&_89!=_selectedIndex){ +return; +} +objj_msgSend(_86,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("menuDidRemoveItem:"),function(_8a,_8b,_8c){ +with(_8a){ +var _8d=objj_msgSend(_8a,"numberOfItems"); +if(_8d<=_selectedIndex&&_8d>0){ +objj_msgSend(_8a,"selectItemAtIndex:",_8d-1); +}else{ +objj_msgSend(_8a,"synchronizeTitleAndSelectedItem"); +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_8e,_8f,_90){ +with(_8e){ +if(!objj_msgSend(_8e,"isEnabled")||!objj_msgSend(_8e,"numberOfItems")){ +return; +} +objj_msgSend(_8e,"highlight:",YES); +var _91=objj_msgSend(_8e,"menu"),_92=objj_msgSend(_8e,"bounds"),_93=CGRectGetWidth(_92); +objj_msgSend(_91,"setFont:",objj_msgSend(_8e,"font")); +if(objj_msgSend(_8e,"pullsDown")){ +var _94=nil,_95=CGPointMake(0,CGRectGetMaxY(_92)); +}else{ +var _96=objj_msgSend(_8e,"contentRectForBounds:",_92),_94=objj_msgSend(_8e,"selectedItem"),_97=objj_msgSend(_CPMenuWindow,"_standardLeftMargin")+objj_msgSend(_CPMenuItemStandardView,"_standardLeftMargin"),_95=CGPointMake(CGRectGetMinX(_96)-_97,0); +_93+=_97; +} +objj_msgSend(_91,"setMinimumWidth:",_93); +objj_msgSend(_91,"_popUpMenuPositioningItem:atLocation:topY:bottomY:inView:callback:",_94,_95,CGRectGetMinY(_92),CGRectGetMaxY(_92),_8e,function(_98){ +objj_msgSend(_8e,"highlight:",NO); +var _99=objj_msgSend(_98,"highlightedItem"); +if(objj_msgSend(_99,"_isSelectable")){ +objj_msgSend(_8e,"selectItem:",_99); +} +}); +} +}),new objj_method(sel_getUid("_popUpItemAction:"),function(_9a,_9b,_9c){ +with(_9a){ +objj_msgSend(_9a,"sendAction:to:",objj_msgSend(_9a,"action"),objj_msgSend(_9a,"target")); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("themeClass"),function(_9d,_9e){ +with(_9d){ +return "popup-button"; +} +})]); +var _9f="CPPopUpButtonMenuKey",_a0="CPPopUpButtonSelectedIndexKey",_a1="CPPopUpButtonPullsDownKey"; +var _2=objj_getClass("CPPopUpButton"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPPopUpButton\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_a2,_a3,_a4){ +with(_a2){ +_a2=objj_msgSendSuper({receiver:_a2,super_class:objj_getClass("CPPopUpButton").super_class},"initWithCoder:",_a4); +if(_a2){ +_selectedIndex=-1; +objj_msgSend(_a2,"setMenu:",objj_msgSend(_a4,"decodeObjectForKey:",_9f)); +objj_msgSend(_a2,"selectItemAtIndex:",objj_msgSend(_a4,"decodeObjectForKey:",_a0)); +} +return _a2; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_a5,_a6,_a7){ +with(_a5){ +objj_msgSendSuper({receiver:_a5,super_class:objj_getClass("CPPopUpButton").super_class},"encodeWithCoder:",_a7); +objj_msgSend(_a7,"encodeObject:forKey:",_menu,_9f); +objj_msgSend(_a7,"encodeInt:forKey:",_selectedIndex,_a0); +} +})]); +p;21;CPProgressIndicator.jt;8302;@STATIC;1.0;I;19;AppKit/CGGeometry.jI;20;AppKit/CPImageView.jI;15;AppKit/CPView.jt;8214; +objj_executeFile("AppKit/CGGeometry.j",NO); +objj_executeFile("AppKit/CPImageView.j",NO); +objj_executeFile("AppKit/CPView.j",NO); +CPProgressIndicatorBarStyle=0; +CPProgressIndicatorSpinningStyle=1; +CPProgressIndicatorHUDBarStyle=2; +var _1=nil,_2=nil,_3=nil,_4=nil; +var _5=objj_allocateClassPair(CPView,"CPProgressIndicator"),_6=_5.isa; +class_addIvars(_5,[new objj_ivar("_minValue"),new objj_ivar("_maxValue"),new objj_ivar("_doubleValue"),new objj_ivar("_controlSize"),new objj_ivar("_isIndeterminate"),new objj_ivar("_style"),new objj_ivar("_isAnimating"),new objj_ivar("_isDisplayedWhenStoppedSet"),new objj_ivar("_isDisplayedWhenStopped"),new objj_ivar("_barView")]); +objj_registerClassPair(_5); +class_addMethods(_5,[new objj_method(sel_getUid("initWithFrame:"),function(_7,_8,_9){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPProgressIndicator").super_class},"initWithFrame:",_9); +if(_7){ +_minValue=0; +_maxValue=100; +_doubleValue=0; +_style=CPProgressIndicatorBarStyle; +_isDisplayedWhenStoppedSet=NO; +_controlSize=CPRegularControlSize; +objj_msgSend(_7,"updateBackgroundColor"); +objj_msgSend(_7,"drawBar"); +} +return _7; +} +}),new objj_method(sel_getUid("setUsesThreadedAnimation:"),function(_a,_b,_c){ +with(_a){ +} +}),new objj_method(sel_getUid("startAnimation:"),function(_d,_e,_f){ +with(_d){ +_isAnimating=YES; +objj_msgSend(_d,"_hideOrDisplay"); +} +}),new objj_method(sel_getUid("stopAnimation:"),function(_10,_11,_12){ +with(_10){ +_isAnimating=NO; +objj_msgSend(_10,"_hideOrDisplay"); +} +}),new objj_method(sel_getUid("usesThreadedAnimation"),function(_13,_14){ +with(_13){ +return NO; +} +}),new objj_method(sel_getUid("incrementBy:"),function(_15,_16,_17){ +with(_15){ +objj_msgSend(_15,"setDoubleValue:",_doubleValue+_17); +} +}),new objj_method(sel_getUid("setDoubleValue:"),function(_18,_19,_1a){ +with(_18){ +_doubleValue=MIN(MAX(_1a,_minValue),_maxValue); +objj_msgSend(_18,"drawBar"); +} +}),new objj_method(sel_getUid("doubleValue"),function(_1b,_1c){ +with(_1b){ +return _doubleValue; +} +}),new objj_method(sel_getUid("setMinValue:"),function(_1d,_1e,_1f){ +with(_1d){ +_minValue=_1f; +} +}),new objj_method(sel_getUid("minValue"),function(_20,_21){ +with(_20){ +return _minValue; +} +}),new objj_method(sel_getUid("setMaxValue:"),function(_22,_23,_24){ +with(_22){ +_maxValue=_24; +} +}),new objj_method(sel_getUid("maxValue"),function(_25,_26){ +with(_25){ +return _maxValue; +} +}),new objj_method(sel_getUid("setControlSize:"),function(_27,_28,_29){ +with(_27){ +if(_controlSize==_29){ +return; +} +_controlSize=_29; +objj_msgSend(_27,"updateBackgroundColor"); +} +}),new objj_method(sel_getUid("controlSize"),function(_2a,_2b){ +with(_2a){ +return _controlSize; +} +}),new objj_method(sel_getUid("setControlTint:"),function(_2c,_2d,_2e){ +with(_2c){ +} +}),new objj_method(sel_getUid("controlTint"),function(_2f,_30){ +with(_2f){ +return 0; +} +}),new objj_method(sel_getUid("setBezeled:"),function(_31,_32,_33){ +with(_31){ +} +}),new objj_method(sel_getUid("isBezeled"),function(_34,_35){ +with(_34){ +return YES; +} +}),new objj_method(sel_getUid("setIndeterminate:"),function(_36,_37,_38){ +with(_36){ +if(_isIndeterminate==_38){ +return; +} +_isIndeterminate=_38; +objj_msgSend(_36,"updateBackgroundColor"); +} +}),new objj_method(sel_getUid("isIndeterminate"),function(_39,_3a){ +with(_39){ +return _isIndeterminate; +} +}),new objj_method(sel_getUid("setStyle:"),function(_3b,_3c,_3d){ +with(_3b){ +if(_style==_3d){ +return; +} +_style=_3d; +objj_msgSend(_3b,"updateBackgroundColor"); +} +}),new objj_method(sel_getUid("sizeToFit"),function(_3e,_3f){ +with(_3e){ +if(_style==CPProgressIndicatorSpinningStyle){ +objj_msgSend(_3e,"setFrameSize:",objj_msgSend(objj_msgSend(_1[_controlSize],"patternImage"),"size")); +}else{ +objj_msgSend(_3e,"setFrameSize:",CGSizeMake(CGRectGetWidth(objj_msgSend(_3e,"frame")),_4[_2+"BezelBorder"+_3[CPProgressIndicatorBarStyle]+_CPControlIdentifierForControlSize(_controlSize)][0].height)); +} +} +}),new objj_method(sel_getUid("setDisplayedWhenStopped:"),function(_40,_41,_42){ +with(_40){ +if(_isDisplayedWhenStoppedSet&&_isDisplayedWhenStopped==_42){ +return; +} +_isDisplayedWhenStoppedSet=YES; +_isDisplayedWhenStopped=_42; +objj_msgSend(_40,"_hideOrDisplay"); +} +}),new objj_method(sel_getUid("isDisplayedWhenStopped"),function(_43,_44){ +with(_43){ +if(_isDisplayedWhenStoppedSet){ +return _isDisplayedWhenStopped; +} +if(_style==CPProgressIndicatorBarStyle||_style==CPProgressIndicatorHUDBarStyle){ +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("_hideOrDisplay"),function(_45,_46){ +with(_45){ +objj_msgSend(_45,"setHidden:",!_isAnimating&&!objj_msgSend(_45,"isDisplayedWhenStopped")); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_47,_48,_49){ +with(_47){ +objj_msgSendSuper({receiver:_47,super_class:objj_getClass("CPProgressIndicator").super_class},"setFrameSize:",_49); +objj_msgSend(_47,"drawBar"); +} +}),new objj_method(sel_getUid("drawBar"),function(_4a,_4b){ +with(_4a){ +if(_style==CPProgressIndicatorSpinningStyle){ +return; +} +if(!_barView){ +_barView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,0,16)); +objj_msgSend(_4a,"addSubview:",_barView); +} +objj_msgSend(_barView,"setBackgroundColor:",_CPControlThreePartImagePattern(NO,_4,_2,"Bar",_3[_style],_CPControlIdentifierForControlSize(_controlSize))); +var _4c=CGRectGetWidth(objj_msgSend(_4a,"bounds")),_4d=_4c*((_doubleValue-_minValue)/(_maxValue-_minValue)); +if(_4d>0&&_4d<4){ +_4d=4; +} +objj_msgSend(_barView,"setFrameSize:",CGSizeMake(_4d,16)); +} +}),new objj_method(sel_getUid("updateBackgroundColor"),function(_4e,_4f){ +with(_4e){ +if(YES){ +if(_style==CPProgressIndicatorSpinningStyle){ +objj_msgSend(_barView,"removeFromSuperview"); +_barView=nil; +objj_msgSend(_4e,"setBackgroundColor:",_1[_controlSize]); +}else{ +objj_msgSend(_4e,"setBackgroundColor:",_CPControlThreePartImagePattern(NO,_4,_2,"BezelBorder",_3[_style],_CPControlIdentifierForControlSize(_controlSize))); +objj_msgSend(_4e,"drawBar"); +} +}else{ +objj_msgSend(_4e,"setBackgroundColor:",nil); +} +} +})]); +class_addMethods(_6,[new objj_method(sel_getUid("initialize"),function(_50,_51){ +with(_50){ +if(_50!=objj_msgSend(CPProgressIndicator,"class")){ +return; +} +var _52=objj_msgSend(CPBundle,"bundleForClass:",_50); +_1=[]; +_1[CPMiniControlSize]=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_52,"pathForResource:","CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif"),CGSizeMake(64,64))); +_1[CPSmallControlSize]=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_52,"pathForResource:","CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif"),CGSizeMake(64,64))); +_1[CPRegularControlSize]=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_52,"pathForResource:","CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif"),CGSizeMake(64,64))); +CPProgressIndicatorBezelBorderViewPool=[]; +var _53=CPProgressIndicatorBarStyle,end=CPProgressIndicatorHUDBarStyle; +for(;_53<=end;++_53){ +CPProgressIndicatorBezelBorderViewPool[_53]=[]; +CPProgressIndicatorBezelBorderViewPool[_53][CPMiniControlSize]=[]; +CPProgressIndicatorBezelBorderViewPool[_53][CPSmallControlSize]=[]; +CPProgressIndicatorBezelBorderViewPool[_53][CPRegularControlSize]=[]; +} +_2=objj_msgSend(_50,"className"); +_3=[]; +_3[CPProgressIndicatorBarStyle]="Bar"; +_3[CPProgressIndicatorSpinningStyle]="Spinny"; +_3[CPProgressIndicatorHUDBarStyle]="HUDBar"; +var _54=_CPControlIdentifierForControlSize(CPRegularControlSize),_55=_CPControlIdentifierForControlSize(CPSmallControlSize),_56=_CPControlIdentifierForControlSize(CPMiniControlSize); +_4=[]; +var _57=[_2+"BezelBorder"+_3[CPProgressIndicatorBarStyle],_2+"Bar"+_3[CPProgressIndicatorBarStyle],_2+"BezelBorder"+_3[CPProgressIndicatorHUDBarStyle],_2+"Bar"+_3[CPProgressIndicatorHUDBarStyle]]; +for(var i=0,_58=_57.length;i<_58;i++){ +var _59=_57[i]; +_4[_59+_54]=[{width:3,height:16},{width:1,height:16},{width:3,height:16}]; +_4[_59+_55]=[{width:3,height:16},{width:1,height:16},{width:3,height:16}]; +_4[_59+_56]=[{width:3,height:16},{width:1,height:16},{width:3,height:16}]; +} +} +})]); +p;9;CPRadio.jt;5542;@STATIC;1.0;I;21;Foundation/CPObject.jI;18;Foundation/CPSet.ji;10;CPButton.jt;5459; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPSet.j",NO); +objj_executeFile("CPButton.j",YES); +var _1=objj_allocateClassPair(CPButton,"CPRadio"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_radioGroup")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:radioGroup:"),function(_3,_4,_5,_6){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPRadio").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"setRadioGroup:",_6); +objj_msgSend(_3,"setHighlightsBy:",CPContentsCellMask); +objj_msgSend(_3,"setShowsStateBy:",CPContentsCellMask); +objj_msgSend(_3,"setImagePosition:",CPImageLeft); +objj_msgSend(_3,"setAlignment:",CPLeftTextAlignment); +objj_msgSend(_3,"setBordered:",YES); +} +return _3; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_7,_8,_9){ +with(_7){ +return objj_msgSend(_7,"initWithFrame:radioGroup:",_9,objj_msgSend(CPRadioGroup,"new")); +} +}),new objj_method(sel_getUid("nextState"),function(_a,_b){ +with(_a){ +return CPOnState; +} +}),new objj_method(sel_getUid("setRadioGroup:"),function(_c,_d,_e){ +with(_c){ +if(_radioGroup===_e){ +return; +} +objj_msgSend(_radioGroup,"_removeRadio:",_c); +_radioGroup=_e; +objj_msgSend(_radioGroup,"_addRadio:",_c); +} +}),new objj_method(sel_getUid("radioGroup"),function(_f,_10){ +with(_f){ +return _radioGroup; +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_11,_12,_13){ +with(_11){ +objj_msgSendSuper({receiver:_11,super_class:objj_getClass("CPRadio").super_class},"setObjectValue:",_13); +if(objj_msgSend(_11,"state")===CPOnState){ +objj_msgSend(_radioGroup,"_setSelectedRadio:",_11); +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("radioWithTitle:theme:"),function(_14,_15,_16,_17){ +with(_14){ +return objj_msgSend(_14,"buttonWithTitle:theme:",_16,_17); +} +}),new objj_method(sel_getUid("radioWithTitle:"),function(_18,_19,_1a){ +with(_18){ +return objj_msgSend(_18,"buttonWithTitle:",_1a); +} +}),new objj_method(sel_getUid("standardButtonWithTitle:"),function(_1b,_1c,_1d){ +with(_1b){ +var _1e=objj_msgSend(objj_msgSend(CPRadio,"alloc"),"init"); +objj_msgSend(_1e,"setTitle:",_1d); +return _1e; +} +}),new objj_method(sel_getUid("themeClass"),function(_1f,_20){ +with(_1f){ +return "radio"; +} +})]); +var _21="CPRadioRadioGroupKey"; +var _1=objj_getClass("CPRadio"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPRadio\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_22,_23,_24){ +with(_22){ +_22=objj_msgSendSuper({receiver:_22,super_class:objj_getClass("CPRadio").super_class},"initWithCoder:",_24); +if(_22){ +_radioGroup=objj_msgSend(_24,"decodeObjectForKey:",_21); +} +return _22; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_25,_26,_27){ +with(_25){ +objj_msgSendSuper({receiver:_25,super_class:objj_getClass("CPRadio").super_class},"encodeWithCoder:",_27); +objj_msgSend(_27,"encodeObject:forKey:",_radioGroup,_21); +} +})]); +var _1=objj_allocateClassPair(CPObject,"CPRadioGroup"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_radios"),new objj_ivar("_selectedRadio"),new objj_ivar("_target"),new objj_ivar("_action")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("target"),function(_28,_29){ +with(_28){ +return _target; +} +}),new objj_method(sel_getUid("setTarget:"),function(_2a,_2b,_2c){ +with(_2a){ +_target=_2c; +} +}),new objj_method(sel_getUid("action"),function(_2d,_2e){ +with(_2d){ +return _action; +} +}),new objj_method(sel_getUid("setAction:"),function(_2f,_30,_31){ +with(_2f){ +_action=_31; +} +}),new objj_method(sel_getUid("init"),function(_32,_33){ +with(_32){ +_32=objj_msgSendSuper({receiver:_32,super_class:objj_getClass("CPRadioGroup").super_class},"init"); +if(_32){ +_radios=objj_msgSend(CPSet,"set"); +_selectedRadio=nil; +} +return _32; +} +}),new objj_method(sel_getUid("_addRadio:"),function(_34,_35,_36){ +with(_34){ +objj_msgSend(_radios,"addObject:",_36); +if(objj_msgSend(_36,"state")===CPOnState){ +objj_msgSend(_34,"_setSelectedRadio:",_36); +} +} +}),new objj_method(sel_getUid("_removeRadio:"),function(_37,_38,_39){ +with(_37){ +if(_selectedRadio===_39){ +_selectedRadio=nil; +} +objj_msgSend(_radios,"removeObject:",_39); +} +}),new objj_method(sel_getUid("_setSelectedRadio:"),function(_3a,_3b,_3c){ +with(_3a){ +if(_selectedRadio===_3c){ +return; +} +objj_msgSend(_selectedRadio,"setState:",CPOffState); +_selectedRadio=_3c; +objj_msgSend(CPApp,"sendAction:to:from:",_action,_target,_3a); +} +}),new objj_method(sel_getUid("selectedRadio"),function(_3d,_3e){ +with(_3d){ +return _selectedRadio; +} +}),new objj_method(sel_getUid("radios"),function(_3f,_40){ +with(_3f){ +return objj_msgSend(_radios,"allObjects"); +} +})]); +var _41="CPRadioGroupRadiosKey",_42="CPRadioGroupSelectedRadioKey"; +var _1=objj_getClass("CPRadioGroup"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPRadioGroup\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_43,_44,_45){ +with(_43){ +_43=objj_msgSendSuper({receiver:_43,super_class:objj_getClass("CPRadioGroup").super_class},"init"); +if(_43){ +_radios=objj_msgSend(_45,"decodeObjectForKey:",_41); +_selectedRadio=objj_msgSend(_45,"decodeObjectForKey:",_42); +} +return _43; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_46,_47,_48){ +with(_46){ +objj_msgSend(_48,"encodeObject:forKey:",_radios,_41); +objj_msgSend(_48,"encodeObject:forKey:",_selectedRadio,_42); +} +})]); +p;13;CPResponder.jt;6011;@STATIC;1.0;I;21;Foundation/CPObject.jt;5966; +objj_executeFile("Foundation/CPObject.j",NO); +CPDeleteKeyCode=8; +CPTabKeyCode=9; +CPReturnKeyCode=13; +CPEscapeKeyCode=27; +CPSpaceKeyCode=32; +CPPageUpKeyCode=33; +CPPageDownKeyCode=34; +CPLeftArrowKeyCode=37; +CPUpArrowKeyCode=38; +CPRightArrowKeyCode=39; +CPDownArrowKeyCode=40; +var _1=objj_allocateClassPair(CPObject,"CPResponder"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_menu"),new objj_ivar("_nextResponder")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("acceptsFirstResponder"),function(_3,_4){ +with(_3){ +return NO; +} +}),new objj_method(sel_getUid("becomeFirstResponder"),function(_5,_6){ +with(_5){ +return YES; +} +}),new objj_method(sel_getUid("resignFirstResponder"),function(_7,_8){ +with(_7){ +return YES; +} +}),new objj_method(sel_getUid("setNextResponder:"),function(_9,_a,_b){ +with(_9){ +_nextResponder=_b; +} +}),new objj_method(sel_getUid("nextResponder"),function(_c,_d){ +with(_c){ +return _nextResponder; +} +}),new objj_method(sel_getUid("interpretKeyEvents:"),function(_e,_f,_10){ +with(_e){ +var _11=0,_12=objj_msgSend(_10,"count"); +for(;_11<_12;++_11){ +var _13=_10[_11]; +switch(objj_msgSend(_13,"keyCode")){ +case CPPageUpKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("pageUp:")); +break; +case CPPageDownKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("pageDown:")); +break; +case CPLeftArrowKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("moveLeft:")); +break; +case CPRightArrowKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("moveRight:")); +break; +case CPUpArrowKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("moveUp:")); +break; +case CPDownArrowKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("moveDown:")); +break; +case CPDeleteKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("deleteBackward:")); +break; +case CPReturnKeyCode: +case 3: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("insertLineBreak:")); +break; +case CPEscapeKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("cancel:")); +break; +case CPTabKeyCode: +var _14=objj_msgSend(_13,"modifierFlags")&CPShiftKeyMask; +if(!_14){ +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("insertTab:")); +}else{ +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("insertBackTab:")); +} +break; +default: +objj_msgSend(_e,"insertText:",objj_msgSend(_13,"characters")); +} +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_15,_16,_17){ +with(_15){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_16,_17); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_18,_19,_1a){ +with(_18){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_19,_1a); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_1b,_1c,_1d){ +with(_1b){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_1c,_1d); +} +}),new objj_method(sel_getUid("mouseMoved:"),function(_1e,_1f,_20){ +with(_1e){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_1f,_20); +} +}),new objj_method(sel_getUid("mouseEntered:"),function(_21,_22,_23){ +with(_21){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_22,_23); +} +}),new objj_method(sel_getUid("mouseExited:"),function(_24,_25,_26){ +with(_24){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_25,_26); +} +}),new objj_method(sel_getUid("scrollWheel:"),function(_27,_28,_29){ +with(_27){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_28,_29); +} +}),new objj_method(sel_getUid("keyDown:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_2b,_2c); +} +}),new objj_method(sel_getUid("keyUp:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_2e,_2f); +} +}),new objj_method(sel_getUid("performKeyEquivalent:"),function(_30,_31,_32){ +with(_30){ +return NO; +} +}),new objj_method(sel_getUid("insertLineBreak:"),function(_33,_34,_35){ +with(_33){ +objj_msgSend(_33,"insertNewline:",_35); +} +}),new objj_method(sel_getUid("insertNewline:"),function(_36,_37,_38){ +with(_36){ +objj_msgSend(objj_msgSend(_36,"nextResponder"),"insertNewline:",_38); +} +}),new objj_method(sel_getUid("cancel:"),function(_39,_3a,_3b){ +with(_39){ +} +}),new objj_method(sel_getUid("insertTab:"),function(_3c,_3d,_3e){ +with(_3c){ +} +}),new objj_method(sel_getUid("insertBackTab:"),function(_3f,_40,_41){ +with(_3f){ +} +}),new objj_method(sel_getUid("insertText:"),function(_42,_43,_44){ +with(_42){ +} +}),new objj_method(sel_getUid("doCommandBySelector:"),function(_45,_46,_47){ +with(_45){ +if(objj_msgSend(_45,"respondsToSelector:",_47)){ +objj_msgSend(_45,"performSelector:",_47); +}else{ +objj_msgSend(_nextResponder,"doCommandBySelector:",_47); +} +} +}),new objj_method(sel_getUid("tryToPerform:with:"),function(_48,_49,_4a,_4b){ +with(_48){ +if(objj_msgSend(_48,"respondsToSelector:",_4a)){ +objj_msgSend(_48,"performSelector:withObject:",_4a,_4b); +return YES; +} +return objj_msgSend(_nextResponder,"tryToPerform:with:",_4a,_4b); +} +}),new objj_method(sel_getUid("setMenu:"),function(_4c,_4d,_4e){ +with(_4c){ +_menu=_4e; +} +}),new objj_method(sel_getUid("menu"),function(_4f,_50){ +with(_4f){ +return _menu; +} +}),new objj_method(sel_getUid("undoManager"),function(_51,_52){ +with(_51){ +return objj_msgSend(_nextResponder,"performSelector:",_52); +} +}),new objj_method(sel_getUid("noResponderFor:"),function(_53,_54,_55){ +with(_53){ +} +})]); +var _56="CPResponderNextResponderKey"; +var _1=objj_getClass("CPResponder"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPResponder\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_57,_58,_59){ +with(_57){ +_57=objj_msgSendSuper({receiver:_57,super_class:objj_getClass("CPResponder").super_class},"init"); +if(_57){ +_nextResponder=objj_msgSend(_59,"decodeObjectForKey:",_56); +} +return _57; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_5a,_5b,_5c){ +with(_5a){ +if(_nextResponder!==nil){ +objj_msgSend(_5c,"encodeConditionalObject:forKey:",_nextResponder,_56); +} +} +})]); +p;13;CPSavePanel.jt;2744;@STATIC;1.0;I;16;AppKit/CPPanel.jt;2704; +objj_executeFile("AppKit/CPPanel.j",NO); +var _1=objj_allocateClassPair(CPPanel,"CPSavePanel"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_URL"),new objj_ivar("_isExtensionHidden"),new objj_ivar("_canSelectHiddenExtension"),new objj_ivar("_allowsOtherFileTypes"),new objj_ivar("_canCreateDirectories"),new objj_ivar("_allowedFileTypes")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("isExtensionHidden"),function(_3,_4){ +with(_3){ +return _isExtensionHidden; +} +}),new objj_method(sel_getUid("setExtensionHidden:"),function(_5,_6,_7){ +with(_5){ +_isExtensionHidden=_7; +} +}),new objj_method(sel_getUid("canSelectHiddenExtension"),function(_8,_9){ +with(_8){ +return _canSelectHiddenExtension; +} +}),new objj_method(sel_getUid("setCanSelectHiddenExtension:"),function(_a,_b,_c){ +with(_a){ +_canSelectHiddenExtension=_c; +} +}),new objj_method(sel_getUid("allowsOtherFileTypes"),function(_d,_e){ +with(_d){ +return _allowsOtherFileTypes; +} +}),new objj_method(sel_getUid("setAllowsOtherFileTypes:"),function(_f,_10,_11){ +with(_f){ +_allowsOtherFileTypes=_11; +} +}),new objj_method(sel_getUid("canCreateDirectories"),function(_12,_13){ +with(_12){ +return _canCreateDirectories; +} +}),new objj_method(sel_getUid("setCanCreateDirectories:"),function(_14,_15,_16){ +with(_14){ +_canCreateDirectories=_16; +} +}),new objj_method(sel_getUid("allowedFileTypes"),function(_17,_18){ +with(_17){ +return _allowedFileTypes; +} +}),new objj_method(sel_getUid("setAllowedFileTypes:"),function(_19,_1a,_1b){ +with(_19){ +_allowedFileTypes=_1b; +} +}),new objj_method(sel_getUid("init"),function(_1c,_1d){ +with(_1c){ +if(_1c=objj_msgSendSuper({receiver:_1c,super_class:objj_getClass("CPSavePanel").super_class},"init")){ +_canCreateDirectories=YES; +} +return _1c; +} +}),new objj_method(sel_getUid("runModal"),function(_1e,_1f){ +with(_1e){ +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +if(typeof window["cpSavePanel"]==="function"){ +var _20=window.cpSavePanel({isExtensionHidden:_isExtensionHidden,canSelectHiddenExtension:_canSelectHiddenExtension,allowsOtherFileTypes:_allowsOtherFileTypes,canCreateDirectories:_canCreateDirectories,allowedFileTypes:_allowedFileTypes}),_21=_20.button; +_URL=_21?objj_msgSend(CPURL,"URLWithString:",_20.URL):nil; +}else{ +var _22=window.prompt("Document Name:"),_21=_22!==null; +_URL=_21?objj_msgSend(objj_msgSend(_1e,"class"),"proposedFileURLWithDocumentName:",_22):nil; +} +return _21; +} +}),new objj_method(sel_getUid("URL"),function(_23,_24){ +with(_23){ +return _URL; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("savePanel"),function(_25,_26){ +with(_25){ +return objj_msgSend(objj_msgSend(CPSavePanel,"alloc"),"init"); +} +})]); +p;10;CPScreen.jt;421;@STATIC;1.0;I;21;Foundation/CPObject.jt;377; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPScreen"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("visibleFrame"),function(_3,_4){ +with(_3){ +return {origin:{x:window.screen.availLeft,y:window.screen.availTop},size:{width:window.screen.availWidth,height:window.screen.availHeight}}; +} +})]); +p;12;CPScroller.jt;16331;@STATIC;1.0;i;11;CPControl.jt;16295; +objj_executeFile("CPControl.j",YES); +CPScrollerNoPart=0; +CPScrollerDecrementPage=1; +CPScrollerKnob=2; +CPScrollerIncrementPage=3; +CPScrollerDecrementLine=4; +CPScrollerIncrementLine=5; +CPScrollerKnobSlot=6; +CPScrollerIncrementArrow=0; +CPScrollerDecrementArrow=1; +CPNoScrollerParts=0; +CPOnlyScrollerArrows=1; +CPAllScrollerParts=2; +var _1=[CPScrollerKnobSlot,CPScrollerDecrementLine,CPScrollerIncrementLine,CPScrollerKnob],_2={},_3={}; +_2[CPScrollerDecrementLine]="decrement-line"; +_2[CPScrollerIncrementLine]="increment-line"; +_2[CPScrollerKnobSlot]="knob-slot"; +_2[CPScrollerKnob]="knob"; +var _4=objj_allocateClassPair(CPControl,"CPScroller"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_controlSize"),new objj_ivar("_usableParts"),new objj_ivar("_partRects"),new objj_ivar("_isVertical"),new objj_ivar("_knobProportion"),new objj_ivar("_hitPart"),new objj_ivar("_trackingPart"),new objj_ivar("_trackingFloatValue"),new objj_ivar("_trackingStartPoint")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("isVertical"),function(_6,_7){ +with(_6){ +return _isVertical; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_8,_9,_a){ +with(_8){ +_8=objj_msgSendSuper({receiver:_8,super_class:objj_getClass("CPScroller").super_class},"initWithFrame:",_a); +if(_8){ +_controlSize=CPRegularControlSize; +_partRects=[]; +objj_msgSend(_8,"setFloatValue:",0); +objj_msgSend(_8,"setKnobProportion:",1); +_hitPart=CPScrollerNoPart; +objj_msgSend(_8,"_calculateIsVertical"); +} +return _8; +} +}),new objj_method(sel_getUid("setControlSize:"),function(_b,_c,_d){ +with(_b){ +if(_controlSize==_d){ +return; +} +_controlSize=_d; +objj_msgSend(_b,"setNeedsLayout"); +objj_msgSend(_b,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("controlSize"),function(_e,_f){ +with(_e){ +return _controlSize; +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_10,_11,_12){ +with(_10){ +objj_msgSendSuper({receiver:_10,super_class:objj_getClass("CPScroller").super_class},"setObjectValue:",MIN(1,MAX(0,+_12))); +} +}),new objj_method(sel_getUid("setKnobProportion:"),function(_13,_14,_15){ +with(_13){ +_knobProportion=MIN(1,MAX(0.0001,_15)); +objj_msgSend(_13,"setNeedsDisplay:",YES); +objj_msgSend(_13,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("knobProportion"),function(_16,_17){ +with(_16){ +return _knobProportion; +} +}),new objj_method(sel_getUid("currentValueForThemeAttribute:"),function(_18,_19,_1a){ +with(_18){ +var _1b=_themeState; +if(_2[_hitPart]+"-color"!==_1a){ +_1b&=~CPThemeStateHighlighted; +} +return objj_msgSend(_18,"valueForThemeAttribute:inState:",_1a,_1b); +} +}),new objj_method(sel_getUid("rectForPart:"),function(_1c,_1d,_1e){ +with(_1c){ +if(_1e==CPScrollerNoPart){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +return _partRects[_1e]; +} +}),new objj_method(sel_getUid("testPart:"),function(_1f,_20,_21){ +with(_1f){ +_21=objj_msgSend(_1f,"convertPoint:fromView:",_21,nil); +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerKnob),_21)){ +return CPScrollerKnob; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerDecrementPage),_21)){ +return CPScrollerDecrementPage; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerIncrementPage),_21)){ +return CPScrollerIncrementPage; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerDecrementLine),_21)){ +return CPScrollerDecrementLine; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerIncrementLine),_21)){ +return CPScrollerIncrementLine; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerKnobSlot),_21)){ +return CPScrollerKnobSlot; +} +return CPScrollerNoPart; +} +}),new objj_method(sel_getUid("checkSpaceForParts"),function(_22,_23){ +with(_22){ +var _24=objj_msgSend(_22,"bounds"); +if(_knobProportion===1){ +_usableParts=CPNoScrollerParts; +_partRects[CPScrollerDecrementPage]=CGRectMakeZero(); +_partRects[CPScrollerKnob]=CGRectMakeZero(); +_partRects[CPScrollerIncrementPage]=CGRectMakeZero(); +_partRects[CPScrollerDecrementLine]=CGRectMakeZero(); +_partRects[CPScrollerIncrementLine]=CGRectMakeZero(); +_partRects[CPScrollerKnobSlot]=CGRectMakeCopy(_24); +return; +} +_usableParts=CPAllScrollerParts; +var _25=objj_msgSend(_22,"currentValueForThemeAttribute:","knob-inset"),_26=objj_msgSend(_22,"currentValueForThemeAttribute:","track-inset"),_27=(_24.size.width),_28=(_24.size.height); +if(objj_msgSend(_22,"isVertical")){ +var _29=objj_msgSend(_22,"currentValueForThemeAttribute:","decrement-line-size"),_2a=objj_msgSend(_22,"currentValueForThemeAttribute:","increment-line-size"),_2b=_29.height+_26.top,_2c=_2a.height+_26.bottom,_2d=_28-_2b-_2c,_2e=objj_msgSend(_22,"currentValueForThemeAttribute:","minimum-knob-length"),_2f=_27-_25.left-_25.right,_30=MAX(_2e,(_2d*_knobProportion)),_31=_2b+(_2d-_30)*objj_msgSend(_22,"floatValue"); +_partRects[CPScrollerDecrementPage]={origin:{x:0,y:_2b},size:{width:_27,height:_31-_2b}}; +_partRects[CPScrollerKnob]={origin:{x:_25.left,y:_31},size:{width:_2f,height:_30}}; +_partRects[CPScrollerIncrementPage]={origin:{x:0,y:_31+_30},size:{width:_27,height:_28-(_31+_30)-_2c}}; +_partRects[CPScrollerKnobSlot]={origin:{x:_26.left,y:_2b},size:{width:_27-_26.left-_26.right,height:_2d}}; +_partRects[CPScrollerDecrementLine]={origin:{x:0,y:0},size:{width:_29.width,height:_29.height}}; +_partRects[CPScrollerIncrementLine]={origin:{x:0,y:_28-_2a.height},size:{width:_2a.width,height:_2a.height}}; +if(_28<_30+_29.height+_2a.height+_26.top+_26.bottom){ +_partRects[CPScrollerKnob]={origin:{x:0,y:0},size:{width:0,height:0}}; +} +if(_28<_29.height+_2a.height-2){ +_partRects[CPScrollerIncrementLine]={origin:{x:0,y:0},size:{width:0,height:0}}; +_partRects[CPScrollerDecrementLine]={origin:{x:0,y:0},size:{width:0,height:0}}; +_partRects[CPScrollerKnobSlot]={origin:{x:_26.left,y:0},size:{width:_27-_26.left-_26.right,height:_28}}; +} +}else{ +var _29=objj_msgSend(_22,"currentValueForThemeAttribute:","decrement-line-size"),_2a=objj_msgSend(_22,"currentValueForThemeAttribute:","increment-line-size"),_32=_29.width+_26.left,_33=_2a.width+_26.right; +slotWidth=_27-_32-_33,_2e=objj_msgSend(_22,"currentValueForThemeAttribute:","minimum-knob-length"),_2f=MAX(_2e,(slotWidth*_knobProportion)),_30=_28-_25.top-_25.bottom,_31=_32+(slotWidth-_2f)*objj_msgSend(_22,"floatValue"); +_partRects[CPScrollerDecrementPage]={origin:{x:_32,y:0},size:{width:_31-_32,height:_28}}; +_partRects[CPScrollerKnob]={origin:{x:_31,y:_25.top},size:{width:_2f,height:_30}}; +_partRects[CPScrollerIncrementPage]={origin:{x:_31+_2f,y:0},size:{width:_27-(_31+_2f)-_33,height:_28}}; +_partRects[CPScrollerKnobSlot]={origin:{x:_32,y:_26.top},size:{width:slotWidth,height:_28-_26.top-_26.bottom}}; +_partRects[CPScrollerDecrementLine]={origin:{x:0,y:0},size:{width:_29.width,height:_29.height}}; +_partRects[CPScrollerIncrementLine]={origin:{x:_27-_2a.width,y:0},size:{width:_2a.width,height:_2a.height}}; +if(_27<_2f+_29.width+_2a.width+_26.left+_26.right){ +_partRects[CPScrollerKnob]={origin:{x:0,y:0},size:{width:0,height:0}}; +} +if(_27<_29.width+_2a.width-2){ +_partRects[CPScrollerIncrementLine]={origin:{x:0,y:0},size:{width:0,height:0}}; +_partRects[CPScrollerDecrementLine]={origin:{x:0,y:0},size:{width:0,height:0}}; +_partRects[CPScrollerKnobSlot]={origin:{x:0,y:0},size:{width:_27,height:_2d}}; +} +} +} +}),new objj_method(sel_getUid("usableParts"),function(_34,_35){ +with(_34){ +return _usableParts; +} +}),new objj_method(sel_getUid("drawArrow:highlight:"),function(_36,_37,_38,_39){ +with(_36){ +} +}),new objj_method(sel_getUid("drawKnob"),function(_3a,_3b){ +with(_3a){ +} +}),new objj_method(sel_getUid("drawKnobSlot"),function(_3c,_3d){ +with(_3c){ +} +}),new objj_method(sel_getUid("createViewForPart:"),function(_3e,_3f,_40){ +with(_3e){ +var _41=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_41,"setHitTests:",NO); +return _41; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_42,_43,_44){ +with(_42){ +return _partRects[_44]; +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_45,_46,_47){ +with(_45){ +var _48=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_48,"setHitTests:",NO); +return _48; +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_49,_4a){ +with(_49){ +objj_msgSend(_49,"checkSpaceForParts"); +var _4b=0,_4c=_1.length; +for(;_4b<_4c;++_4b){ +var _4d=_1[_4b]; +if(_4b===0){ +view=objj_msgSend(_49,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:",_4d,CPWindowBelow,_1[_4b+1]); +}else{ +view=objj_msgSend(_49,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:",_4d,CPWindowAbove,_1[_4b-1]); +} +if(view){ +objj_msgSend(view,"setBackgroundColor:",objj_msgSend(_49,"currentValueForThemeAttribute:",_2[_4d]+"-color")); +} +} +} +}),new objj_method(sel_getUid("drawParts"),function(_4e,_4f){ +with(_4e){ +objj_msgSend(_4e,"drawKnobSlot"); +objj_msgSend(_4e,"drawKnob"); +objj_msgSend(_4e,"drawArrow:highlight:",CPScrollerDecrementArrow,NO); +objj_msgSend(_4e,"drawArrow:highlight:",CPScrollerIncrementArrow,NO); +} +}),new objj_method(sel_getUid("hitPart"),function(_50,_51){ +with(_50){ +return _hitPart; +} +}),new objj_method(sel_getUid("trackKnob:"),function(_52,_53,_54){ +with(_52){ +var _55=objj_msgSend(_54,"type"); +if(_55===CPLeftMouseUp){ +_hitPart=CPScrollerNoPart; +return; +} +if(_55===CPLeftMouseDown){ +_trackingFloatValue=objj_msgSend(_52,"floatValue"); +_trackingStartPoint=objj_msgSend(_52,"convertPoint:fromView:",objj_msgSend(_54,"locationInWindow"),nil); +}else{ +if(_55===CPLeftMouseDragged){ +var _56=objj_msgSend(_52,"rectForPart:",CPScrollerKnob),_57=objj_msgSend(_52,"rectForPart:",CPScrollerKnobSlot),_58=!objj_msgSend(_52,"isVertical")?((_57.size.width)-(_56.size.width)):((_57.size.height)-(_56.size.height)); +if(_58<=0){ +objj_msgSend(_52,"setFloatValue:",0); +}else{ +var _59=objj_msgSend(_52,"convertPoint:fromView:",objj_msgSend(_54,"locationInWindow"),nil); +delta=!objj_msgSend(_52,"isVertical")?_59.x-_trackingStartPoint.x:_59.y-_trackingStartPoint.y; +objj_msgSend(_52,"setFloatValue:",_trackingFloatValue+delta/_58); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_52,sel_getUid("trackKnob:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +objj_msgSend(_52,"sendAction:to:",objj_msgSend(_52,"action"),objj_msgSend(_52,"target")); +} +}),new objj_method(sel_getUid("trackScrollButtons:"),function(_5a,_5b,_5c){ +with(_5a){ +var _5d=objj_msgSend(_5c,"type"); +if(_5d===CPLeftMouseUp){ +objj_msgSend(_5a,"highlight:",NO); +objj_msgSend(CPEvent,"stopPeriodicEvents"); +_hitPart=CPScrollerNoPart; +return; +} +if(_5d===CPLeftMouseDown){ +_trackingPart=objj_msgSend(_5a,"hitPart"); +_trackingStartPoint=objj_msgSend(_5a,"convertPoint:fromView:",objj_msgSend(_5c,"locationInWindow"),nil); +if(objj_msgSend(_5c,"modifierFlags")&CPAlternateKeyMask){ +if(_trackingPart==CPScrollerDecrementLine){ +_hitPart=CPScrollerDecrementPage; +}else{ +if(_trackingPart==CPScrollerIncrementLine){ +_hitPart=CPScrollerIncrementPage; +}else{ +if(_trackingPart==CPScrollerDecrementPage||_trackingPart==CPScrollerIncrementPage){ +var _5e=objj_msgSend(_5a,"rectForPart:",CPScrollerKnob),_5f=!objj_msgSend(_5a,"isVertical")?(_5e.size.width):(_5e.size.height),_60=objj_msgSend(_5a,"rectForPart:",CPScrollerKnobSlot),_61=(!objj_msgSend(_5a,"isVertical")?(_60.size.width):(_60.size.height))-_5f; +objj_msgSend(_5a,"setFloatValue:",((!objj_msgSend(_5a,"isVertical")?_trackingStartPoint.x-(_60.origin.x):_trackingStartPoint.y-(_60.origin.y))-_5f/2)/_61); +_hitPart=CPScrollerKnob; +objj_msgSend(_5a,"sendAction:to:",objj_msgSend(_5a,"action"),objj_msgSend(_5a,"target")); +return objj_msgSend(_5a,"trackKnob:",_5c); +} +} +} +} +objj_msgSend(_5a,"highlight:",YES); +objj_msgSend(_5a,"sendAction:to:",objj_msgSend(_5a,"action"),objj_msgSend(_5a,"target")); +objj_msgSend(CPEvent,"startPeriodicEventsAfterDelay:withPeriod:",0.5,0.04); +}else{ +if(_5d===CPLeftMouseDragged){ +_trackingStartPoint=objj_msgSend(_5a,"convertPoint:fromView:",objj_msgSend(_5c,"locationInWindow"),nil); +if(_trackingPart==CPScrollerDecrementPage||_trackingPart==CPScrollerIncrementPage){ +var _62=objj_msgSend(_5a,"testPart:",objj_msgSend(_5c,"locationInWindow")); +if(_62==CPScrollerDecrementPage||_62==CPScrollerIncrementPage){ +_trackingPart=_62; +_hitPart=_62; +} +} +objj_msgSend(_5a,"highlight:",CGRectContainsPoint(objj_msgSend(_5a,"rectForPart:",_trackingPart),_trackingStartPoint)); +}else{ +if(_5d==CPPeriodic&&CGRectContainsPoint(objj_msgSend(_5a,"rectForPart:",_trackingPart),_trackingStartPoint)){ +objj_msgSend(_5a,"sendAction:to:",objj_msgSend(_5a,"action"),objj_msgSend(_5a,"target")); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_5a,sel_getUid("trackScrollButtons:"),CPPeriodicMask|CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("_calculateIsVertical"),function(_63,_64){ +with(_63){ +var _65=objj_msgSend(_63,"bounds"),_66=(_65.size.width),_67=(_65.size.height); +_isVertical=_66<_67?1:(_66>_67?0:-1); +if(_isVertical===1){ +objj_msgSend(_63,"setThemeState:",CPThemeStateVertical); +}else{ +if(_isVertical===0){ +objj_msgSend(_63,"unsetThemeState:",CPThemeStateVertical); +} +} +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_68,_69,_6a){ +with(_68){ +objj_msgSendSuper({receiver:_68,super_class:objj_getClass("CPScroller").super_class},"setFrameSize:",_6a); +objj_msgSend(_68,"checkSpaceForParts"); +objj_msgSend(_68,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_6b,_6c,_6d){ +with(_6b){ +if(!objj_msgSend(_6b,"isEnabled")){ +return; +} +_hitPart=objj_msgSend(_6b,"testPart:",objj_msgSend(_6d,"locationInWindow")); +switch(_hitPart){ +case CPScrollerKnob: +return objj_msgSend(_6b,"trackKnob:",_6d); +case CPScrollerDecrementLine: +case CPScrollerIncrementLine: +case CPScrollerDecrementPage: +case CPScrollerIncrementPage: +return objj_msgSend(_6b,"trackScrollButtons:",_6d); +} +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("themeClass"),function(_6e,_6f){ +with(_6e){ +return "scroller"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_70,_71){ +with(_70){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),{width:0,height:0},{width:0,height:0},{top:(0),right:(0),bottom:(0),left:(0)},{top:(0),right:(0),bottom:(0),left:(0)},{width:0,height:0}],["knob-slot-color","decrement-line-color","increment-line-color","knob-color","decrement-line-size","increment-line-size","track-inset","knob-inset","minimum-knob-length"]); +} +}),new objj_method(sel_getUid("scrollerWidth"),function(_72,_73){ +with(_72){ +return 15; +} +}),new objj_method(sel_getUid("scrollerWidthForControlSize:"),function(_74,_75,_76){ +with(_74){ +return 15; +} +})]); +var _77="CPScrollerControlSize",_78="CPScrollerKnobProportion"; +var _4=objj_getClass("CPScroller"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"CPScroller\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("initWithCoder:"),function(_79,_7a,_7b){ +with(_79){ +if(_79=objj_msgSendSuper({receiver:_79,super_class:objj_getClass("CPScroller").super_class},"initWithCoder:",_7b)){ +_controlSize=CPRegularControlSize; +if(objj_msgSend(_7b,"containsValueForKey:",_77)){ +_controlSize=objj_msgSend(_7b,"decodeIntForKey:",_77); +} +_knobProportion=1; +if(objj_msgSend(_7b,"containsValueForKey:",_78)){ +_knobProportion=objj_msgSend(_7b,"decodeFloatForKey:",_78); +} +_partRects=[]; +_hitPart=CPScrollerNoPart; +objj_msgSend(_79,"_calculateIsVertical"); +} +return _79; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_7c,_7d,_7e){ +with(_7c){ +objj_msgSendSuper({receiver:_7c,super_class:objj_getClass("CPScroller").super_class},"encodeWithCoder:",_7e); +objj_msgSend(_7e,"encodeInt:forKey:",_controlSize,_77); +objj_msgSend(_7e,"encodeFloat:forKey:",_knobProportion,_78); +} +})]); +var _4=objj_getClass("CPScroller"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"CPScroller\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("setFloatValue:knobProportion:"),function(_7f,_80,_81,_82){ +with(_7f){ +objj_msgSend(_7f,"setFloatValue:",_81); +objj_msgSend(_7f,"setKnobProportion:",_82); +} +})]); +p;14;CPScrollView.jt;18459;@STATIC;1.0;i;8;CPView.ji;12;CPClipView.ji;12;CPScroller.jt;18393; +objj_executeFile("CPView.j",YES); +objj_executeFile("CPClipView.j",YES); +objj_executeFile("CPScroller.j",YES); +var _1=objj_allocateClassPair(CPView,"CPScrollView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_contentView"),new objj_ivar("_headerClipView"),new objj_ivar("_cornerView"),new objj_ivar("_hasVerticalScroller"),new objj_ivar("_hasHorizontalScroller"),new objj_ivar("_autohidesScrollers"),new objj_ivar("_verticalScroller"),new objj_ivar("_horizontalScroller"),new objj_ivar("_recursionCount"),new objj_ivar("_verticalLineScroll"),new objj_ivar("_verticalPageScroll"),new objj_ivar("_horizontalLineScroll"),new objj_ivar("_horizontalPageScroll")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPScrollView").super_class},"initWithFrame:",_5); +if(_3){ +_verticalLineScroll=10; +_verticalPageScroll=10; +_horizontalLineScroll=10; +_horizontalPageScroll=10; +_contentView=objj_msgSend(objj_msgSend(CPClipView,"alloc"),"initWithFrame:",objj_msgSend(_3,"bounds")); +objj_msgSend(_3,"addSubview:",_contentView); +_headerClipView=objj_msgSend(objj_msgSend(CPClipView,"alloc"),"init"); +objj_msgSend(_3,"addSubview:",_headerClipView); +objj_msgSend(_3,"setHasVerticalScroller:",YES); +objj_msgSend(_3,"setHasHorizontalScroller:",YES); +} +return _3; +} +}),new objj_method(sel_getUid("contentSize"),function(_6,_7){ +with(_6){ +return objj_msgSend(_contentView,"frame").size; +} +}),new objj_method(sel_getUid("documentView"),function(_8,_9){ +with(_8){ +return objj_msgSend(_contentView,"documentView"); +} +}),new objj_method(sel_getUid("setContentView:"),function(_a,_b,_c){ +with(_a){ +if(_contentView!==_c||!_c){ +return; +} +var _d=objj_msgSend(_c,"documentView"); +if(_d){ +objj_msgSend(_d,"removeFromSuperview"); +} +objj_msgSend(_contentView,"removeFromSuperview"); +_contentView=_c; +objj_msgSend(_contentView,"setDocumentView:",_d); +objj_msgSend(_a,"addSubview:",_contentView); +objj_msgSend(_a,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("contentView"),function(_e,_f){ +with(_e){ +return _contentView; +} +}),new objj_method(sel_getUid("setDocumentView:"),function(_10,_11,_12){ +with(_10){ +objj_msgSend(_contentView,"setDocumentView:",_12); +objj_msgSend(_10,"_updateCornerAndHeaderView"); +objj_msgSend(_10,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("reflectScrolledClipView:"),function(_13,_14,_15){ +with(_13){ +if(_contentView!==_15){ +return; +} +if(_recursionCount>5){ +return; +} +++_recursionCount; +var _16=objj_msgSend(_13,"documentView"); +if(!_16){ +if(_autohidesScrollers){ +objj_msgSend(_verticalScroller,"setHidden:",YES); +objj_msgSend(_horizontalScroller,"setHidden:",YES); +}else{ +} +objj_msgSend(_contentView,"setFrame:",objj_msgSend(_13,"bounds")); +objj_msgSend(_headerClipView,"setFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +--_recursionCount; +return; +} +var _17=objj_msgSend(_16,"frame"),_18=objj_msgSend(_13,"bounds"),_19=objj_msgSend(_13,"_headerClipViewFrame"),_1a=(_19.size.height); +_18.origin.y+=_1a; +_18.size.height-=_1a; +var _1b={width:(_17.size.width)-(_18.size.width),height:(_17.size.height)-(_18.size.height)},_1c=(objj_msgSend(_verticalScroller,"frame").size.width),_1d=(objj_msgSend(_horizontalScroller,"frame").size.height),_1e=_1b.height>0,_1f=_1b.width>0,_20=_hasVerticalScroller&&(!_autohidesScrollers||_1e),_21=_hasHorizontalScroller&&(!_autohidesScrollers||_1f); +if(_20){ +_1b.width+=_1c; +_1f=_1b.width>0; +_21=_hasHorizontalScroller&&(!_autohidesScrollers||_1f); +} +if(_21){ +_1b.height+=_1d; +_1e=_1b.height>0; +_20=_hasVerticalScroller&&(!_autohidesScrollers||_1e); +} +objj_msgSend(_verticalScroller,"setHidden:",!_20); +objj_msgSend(_verticalScroller,"setEnabled:",_1e); +objj_msgSend(_horizontalScroller,"setHidden:",!_21); +objj_msgSend(_horizontalScroller,"setEnabled:",_1f); +if(_20){ +_18.size.width-=_1c; +} +if(_21){ +_18.size.height-=_1d; +} +var _22=objj_msgSend(_contentView,"bounds").origin,_23=!objj_msgSend(_verticalScroller,"isHidden"),_24=!objj_msgSend(_horizontalScroller,"isHidden"); +if(_20){ +var _25=MAX((objj_msgSend(_13,"_cornerViewFrame").size.height),_1a),_26=(objj_msgSend(_13,"bounds").size.height)-_25; +if(_21){ +_26-=_1d; +} +objj_msgSend(_verticalScroller,"setFloatValue:",(_1b.height<=0)?0:_22.y/_1b.height); +objj_msgSend(_verticalScroller,"setKnobProportion:",(_18.size.height)/(_17.size.height)); +objj_msgSend(_verticalScroller,"setFrame:",{origin:{x:(_18.origin.x+_18.size.width),y:_25},size:{width:_1c,height:_26}}); +}else{ +if(_23){ +objj_msgSend(_verticalScroller,"setFloatValue:",0); +objj_msgSend(_verticalScroller,"setKnobProportion:",1); +} +} +if(_21){ +objj_msgSend(_horizontalScroller,"setFloatValue:",(_1b.width<=0)?0:_22.x/_1b.width); +objj_msgSend(_horizontalScroller,"setKnobProportion:",(_18.size.width)/(_17.size.width)); +objj_msgSend(_horizontalScroller,"setFrame:",{origin:{x:0,y:(_18.origin.y+_18.size.height)},size:{width:(_18.size.width),height:_1d}}); +}else{ +if(_24){ +objj_msgSend(_horizontalScroller,"setFloatValue:",0); +objj_msgSend(_horizontalScroller,"setKnobProportion:",1); +} +} +objj_msgSend(_contentView,"setFrame:",_18); +objj_msgSend(_headerClipView,"setFrame:",_19); +objj_msgSend(_cornerView,"setFrame:",objj_msgSend(_13,"_cornerViewFrame")); +--_recursionCount; +} +}),new objj_method(sel_getUid("setHorizontalScroller:"),function(_27,_28,_29){ +with(_27){ +if(_horizontalScroller===_29){ +return; +} +objj_msgSend(_horizontalScroller,"removeFromSuperview"); +objj_msgSend(_horizontalScroller,"setTarget:",nil); +objj_msgSend(_horizontalScroller,"setAction:",nil); +_horizontalScroller=_29; +objj_msgSend(_horizontalScroller,"setTarget:",_27); +objj_msgSend(_horizontalScroller,"setAction:",sel_getUid("_horizontalScrollerDidScroll:")); +objj_msgSend(_27,"addSubview:",_horizontalScroller); +objj_msgSend(_27,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("horizontalScroller"),function(_2a,_2b){ +with(_2a){ +return _horizontalScroller; +} +}),new objj_method(sel_getUid("setHasHorizontalScroller:"),function(_2c,_2d,_2e){ +with(_2c){ +if(_hasHorizontalScroller===_2e){ +return; +} +_hasHorizontalScroller=_2e; +if(_hasHorizontalScroller&&!_horizontalScroller){ +objj_msgSend(_2c,"setHorizontalScroller:",objj_msgSend(objj_msgSend(CPScroller,"alloc"),"initWithFrame:",CGRectMake(0,0,MAX((objj_msgSend(_2c,"bounds").size.width),objj_msgSend(CPScroller,"scrollerWidth")+1),objj_msgSend(CPScroller,"scrollerWidth")))); +objj_msgSend(objj_msgSend(_2c,"horizontalScroller"),"setFrameSize:",CGSizeMake((objj_msgSend(_2c,"bounds").size.width),objj_msgSend(CPScroller,"scrollerWidth"))); +} +objj_msgSend(_2c,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("hasHorizontalScroller"),function(_2f,_30){ +with(_2f){ +return _hasHorizontalScroller; +} +}),new objj_method(sel_getUid("setVerticalScroller:"),function(_31,_32,_33){ +with(_31){ +if(_verticalScroller===_33){ +return; +} +objj_msgSend(_verticalScroller,"removeFromSuperview"); +objj_msgSend(_verticalScroller,"setTarget:",nil); +objj_msgSend(_verticalScroller,"setAction:",nil); +_verticalScroller=_33; +objj_msgSend(_verticalScroller,"setTarget:",_31); +objj_msgSend(_verticalScroller,"setAction:",sel_getUid("_verticalScrollerDidScroll:")); +objj_msgSend(_31,"addSubview:",_verticalScroller); +objj_msgSend(_31,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("verticalScroller"),function(_34,_35){ +with(_34){ +return _verticalScroller; +} +}),new objj_method(sel_getUid("setHasVerticalScroller:"),function(_36,_37,_38){ +with(_36){ +if(_hasVerticalScroller===_38){ +return; +} +_hasVerticalScroller=_38; +if(_hasVerticalScroller&&!_verticalScroller){ +objj_msgSend(_36,"setVerticalScroller:",objj_msgSend(objj_msgSend(CPScroller,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:objj_msgSend(CPScroller,"scrollerWidth"),height:MAX((objj_msgSend(_36,"bounds").size.height),objj_msgSend(CPScroller,"scrollerWidth")+1)}})); +objj_msgSend(objj_msgSend(_36,"verticalScroller"),"setFrameSize:",CGSizeMake(objj_msgSend(CPScroller,"scrollerWidth"),(objj_msgSend(_36,"bounds").size.height))); +} +objj_msgSend(_36,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("hasVerticalScroller"),function(_39,_3a){ +with(_39){ +return _hasVerticalScroller; +} +}),new objj_method(sel_getUid("setAutohidesScrollers:"),function(_3b,_3c,_3d){ +with(_3b){ +if(_autohidesScrollers==_3d){ +return; +} +_autohidesScrollers=_3d; +objj_msgSend(_3b,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("autohidesScrollers"),function(_3e,_3f){ +with(_3e){ +return _autohidesScrollers; +} +}),new objj_method(sel_getUid("_updateCornerAndHeaderView"),function(_40,_41){ +with(_40){ +var _42=objj_msgSend(_40,"documentView"),_43=objj_msgSend(_40,"_headerView"),_44=objj_msgSend(_42,"respondsToSelector:",sel_getUid("headerView"))?objj_msgSend(_42,"headerView"):nil; +if(_43!==_44){ +objj_msgSend(_43,"removeFromSuperview"); +objj_msgSend(_headerClipView,"setDocumentView:",_44); +} +var _45=objj_msgSend(_42,"respondsToSelector:",sel_getUid("cornerView"))?objj_msgSend(_42,"cornerView"):nil; +if(_cornerView!==_45){ +objj_msgSend(_cornerView,"removeFromSuperview"); +_cornerView=_45; +if(_cornerView){ +objj_msgSend(_40,"addSubview:",_cornerView); +} +} +objj_msgSend(_40,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("_headerView"),function(_46,_47){ +with(_46){ +var _48=objj_msgSend(_headerClipView,"subviews"); +return objj_msgSend(_48,"count")?_48[0]:nil; +} +}),new objj_method(sel_getUid("_cornerViewFrame"),function(_49,_4a){ +with(_49){ +if(!_cornerView){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +var _4b=objj_msgSend(_49,"bounds"),_4c=objj_msgSend(_cornerView,"frame"); +_4c.origin.x=(_4b.origin.x+_4b.size.width)-(_4c.size.width); +_4c.origin.y=0; +return _4c; +} +}),new objj_method(sel_getUid("_headerClipViewFrame"),function(_4d,_4e){ +with(_4d){ +var _4f=objj_msgSend(_4d,"_headerView"); +if(!_4f){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +var _50=objj_msgSend(_4d,"bounds"); +_50.size.height=(objj_msgSend(_4f,"frame").size.height); +_50.size.width-=(objj_msgSend(_4d,"_cornerViewFrame").size.width); +return _50; +} +}),new objj_method(sel_getUid("_verticalScrollerDidScroll:"),function(_51,_52,_53){ +with(_51){ +var _54=objj_msgSend(_53,"floatValue"),_55=objj_msgSend(objj_msgSend(_contentView,"documentView"),"frame"); +contentBounds=objj_msgSend(_contentView,"bounds"); +switch(objj_msgSend(_verticalScroller,"hitPart")){ +case CPScrollerDecrementLine: +contentBounds.origin.y-=_verticalLineScroll; +break; +case CPScrollerIncrementLine: +contentBounds.origin.y+=_verticalLineScroll; +break; +case CPScrollerDecrementPage: +contentBounds.origin.y-=(contentBounds.size.height)-_verticalPageScroll; +break; +case CPScrollerIncrementPage: +contentBounds.origin.y+=(contentBounds.size.height)-_verticalPageScroll; +break; +case CPScrollerKnobSlot: +case CPScrollerKnob: +default: +contentBounds.origin.y=ROUND(_54*((_55.size.height)-(contentBounds.size.height))); +} +objj_msgSend(_contentView,"scrollToPoint:",contentBounds.origin); +} +}),new objj_method(sel_getUid("_horizontalScrollerDidScroll:"),function(_56,_57,_58){ +with(_56){ +var _59=objj_msgSend(_58,"floatValue"),_5a=objj_msgSend(objj_msgSend(_56,"documentView"),"frame"),_5b=objj_msgSend(_contentView,"bounds"); +switch(objj_msgSend(_horizontalScroller,"hitPart")){ +case CPScrollerDecrementLine: +_5b.origin.x-=_horizontalLineScroll; +break; +case CPScrollerIncrementLine: +_5b.origin.x+=_horizontalLineScroll; +break; +case CPScrollerDecrementPage: +_5b.origin.x-=(_5b.size.width)-_horizontalPageScroll; +break; +case CPScrollerIncrementPage: +_5b.origin.x+=(_5b.size.width)-_horizontalPageScroll; +break; +case CPScrollerKnobSlot: +case CPScrollerKnob: +default: +_5b.origin.x=ROUND(_59*((_5a.size.width)-(_5b.size.width))); +} +objj_msgSend(_contentView,"scrollToPoint:",_5b.origin); +objj_msgSend(_headerClipView,"scrollToPoint:",CGPointMake(_5b.origin.x,0)); +} +}),new objj_method(sel_getUid("tile"),function(_5c,_5d){ +with(_5c){ +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_5e,_5f,_60){ +with(_5e){ +objj_msgSend(_5e,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("setLineScroll:"),function(_61,_62,_63){ +with(_61){ +objj_msgSend(_61,"setHorizonalLineScroll:",_63); +objj_msgSend(_61,"setVerticalLineScroll:",_63); +} +}),new objj_method(sel_getUid("lineScroll"),function(_64,_65){ +with(_64){ +return objj_msgSend(_64,"horizontalLineScroll"); +} +}),new objj_method(sel_getUid("setHorizontalLineScroll:"),function(_66,_67,_68){ +with(_66){ +_horizontalLineScroll=_68; +} +}),new objj_method(sel_getUid("horizontalLineScroll"),function(_69,_6a){ +with(_69){ +return _horizontalLineScroll; +} +}),new objj_method(sel_getUid("setVerticalLineScroll:"),function(_6b,_6c,_6d){ +with(_6b){ +_verticalLineScroll=_6d; +} +}),new objj_method(sel_getUid("verticalLineScroll"),function(_6e,_6f){ +with(_6e){ +return _verticalLineScroll; +} +}),new objj_method(sel_getUid("setPageScroll:"),function(_70,_71,_72){ +with(_70){ +objj_msgSend(_70,"setHorizontalPageScroll:",_72); +objj_msgSend(_70,"setVerticalPageScroll:",_72); +} +}),new objj_method(sel_getUid("pageScroll"),function(_73,_74){ +with(_73){ +return objj_msgSend(_73,"horizontalPageScroll"); +} +}),new objj_method(sel_getUid("setHorizontalPageScroll:"),function(_75,_76,_77){ +with(_75){ +_horizontalPageScroll=_77; +} +}),new objj_method(sel_getUid("horizontalPageScroll"),function(_78,_79){ +with(_78){ +return _horizontalPageScroll; +} +}),new objj_method(sel_getUid("setVerticalPageScroll:"),function(_7a,_7b,_7c){ +with(_7a){ +_verticalPageScroll=_7c; +} +}),new objj_method(sel_getUid("verticalPageScroll"),function(_7d,_7e){ +with(_7d){ +return _verticalPageScroll; +} +}),new objj_method(sel_getUid("scrollWheel:"),function(_7f,_80,_81){ +with(_7f){ +var _82=objj_msgSend(objj_msgSend(_7f,"documentView"),"frame"),_83=objj_msgSend(_contentView,"bounds"); +_83.origin.x=ROUND(_83.origin.x+objj_msgSend(_81,"deltaX")*_horizontalLineScroll); +_83.origin.y=ROUND(_83.origin.y+objj_msgSend(_81,"deltaY")*_verticalLineScroll); +objj_msgSend(_contentView,"scrollToPoint:",_83.origin); +objj_msgSend(_headerClipView,"scrollToPoint:",CGPointMake(_83.origin.x,0)); +} +}),new objj_method(sel_getUid("keyDown:"),function(_84,_85,_86){ +with(_84){ +objj_msgSend(_84,"interpretKeyEvents:",[_86]); +} +}),new objj_method(sel_getUid("pageUp:"),function(_87,_88,_89){ +with(_87){ +var _8a=objj_msgSend(_contentView,"bounds"); +objj_msgSend(_87,"moveByOffset:",CGSizeMake(0,-((_8a.size.height)-_verticalPageScroll))); +} +}),new objj_method(sel_getUid("pageDown:"),function(_8b,_8c,_8d){ +with(_8b){ +var _8e=objj_msgSend(_contentView,"bounds"); +objj_msgSend(_8b,"moveByOffset:",CGSizeMake(0,(_8e.size.height)-_verticalPageScroll)); +} +}),new objj_method(sel_getUid("moveLeft:"),function(_8f,_90,_91){ +with(_8f){ +objj_msgSend(_8f,"moveByOffset:",CGSizeMake(-_horizontalLineScroll,0)); +} +}),new objj_method(sel_getUid("moveRight:"),function(_92,_93,_94){ +with(_92){ +objj_msgSend(_92,"moveByOffset:",CGSizeMake(_horizontalLineScroll,0)); +} +}),new objj_method(sel_getUid("moveUp:"),function(_95,_96,_97){ +with(_95){ +objj_msgSend(_95,"moveByOffset:",CGSizeMake(0,-_verticalLineScroll)); +} +}),new objj_method(sel_getUid("moveDown:"),function(_98,_99,_9a){ +with(_98){ +objj_msgSend(_98,"moveByOffset:",CGSizeMake(0,_verticalLineScroll)); +} +}),new objj_method(sel_getUid("moveByOffset:"),function(_9b,_9c,_9d){ +with(_9b){ +var _9e=objj_msgSend(objj_msgSend(_9b,"documentView"),"frame"),_9f=objj_msgSend(_contentView,"bounds"); +_9f.origin.x+=_9d.width; +_9f.origin.y+=_9d.height; +objj_msgSend(_contentView,"scrollToPoint:",_9f.origin); +objj_msgSend(_headerClipView,"scrollToPoint:",CGPointMake(_9f.origin,0)); +} +})]); +var _a0="CPScrollViewContentView",_a1="CPScrollViewHeaderClipViewKey",_a2="CPScrollViewVLineScroll",_a3="CPScrollViewHLineScroll",_a4="CPScrollViewVPageScroll",_a5="CPScrollViewHPageScroll",_a6="CPScrollViewHasVScroller",_a7="CPScrollViewHasHScroller",_a8="CPScrollViewVScroller",_a9="CPScrollViewHScroller",_aa="CPScrollViewAutohidesScroller",_ab="CPScrollViewCornerViewKey"; +var _1=objj_getClass("CPScrollView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPScrollView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_ac,_ad,_ae){ +with(_ac){ +if(_ac=objj_msgSendSuper({receiver:_ac,super_class:objj_getClass("CPScrollView").super_class},"initWithCoder:",_ae)){ +_verticalLineScroll=objj_msgSend(_ae,"decodeFloatForKey:",_a2); +_verticalPageScroll=objj_msgSend(_ae,"decodeFloatForKey:",_a4); +_horizontalLineScroll=objj_msgSend(_ae,"decodeFloatForKey:",_a3); +_horizontalPageScroll=objj_msgSend(_ae,"decodeFloatForKey:",_a5); +_contentView=objj_msgSend(_ae,"decodeObjectForKey:",_a0); +_headerClipView=objj_msgSend(_ae,"decodeObjectForKey:",_a1); +_verticalScroller=objj_msgSend(_ae,"decodeObjectForKey:",_a8); +_horizontalScroller=objj_msgSend(_ae,"decodeObjectForKey:",_a9); +_hasVerticalScroller=objj_msgSend(_ae,"decodeBoolForKey:",_a6); +_hasHorizontalScroller=objj_msgSend(_ae,"decodeBoolForKey:",_a7); +_autohidesScrollers=objj_msgSend(_ae,"decodeBoolForKey:",_aa); +_cornerView=objj_msgSend(_ae,"decodeObjectForKey:",_ab); +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"performSelector:target:argument:order:modes:",sel_getUid("reflectScrolledClipView:"),_ac,_contentView,0,[CPDefaultRunLoopMode]); +} +return _ac; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_af,_b0,_b1){ +with(_af){ +objj_msgSendSuper({receiver:_af,super_class:objj_getClass("CPScrollView").super_class},"encodeWithCoder:",_b1); +objj_msgSend(_b1,"encodeObject:forKey:",_contentView,_a0); +objj_msgSend(_b1,"encodeObject:forKey:",_headerClipView,_a1); +objj_msgSend(_b1,"encodeObject:forKey:",_verticalScroller,_a8); +objj_msgSend(_b1,"encodeObject:forKey:",_horizontalScroller,_a9); +objj_msgSend(_b1,"encodeFloat:forKey:",_verticalLineScroll,_a2); +objj_msgSend(_b1,"encodeFloat:forKey:",_verticalPageScroll,_a4); +objj_msgSend(_b1,"encodeFloat:forKey:",_horizontalLineScroll,_a3); +objj_msgSend(_b1,"encodeFloat:forKey:",_horizontalPageScroll,_a5); +objj_msgSend(_b1,"encodeBool:forKey:",_hasVerticalScroller,_a6); +objj_msgSend(_b1,"encodeBool:forKey:",_hasHorizontalScroller,_a7); +objj_msgSend(_b1,"encodeBool:forKey:",_autohidesScrollers,_aa); +objj_msgSend(_b1,"encodeObject:forKey:",_cornerView,_ab); +} +})]); +p;15;CPSearchField.jt;18810;@STATIC;1.0;i;13;CPTextField.jt;18772; +objj_executeFile("CPTextField.j",YES); +CPSearchFieldRecentsTitleMenuItemTag=1000; +CPSearchFieldRecentsMenuItemTag=1001; +CPSearchFieldClearRecentsMenuItemTag=1002; +CPSearchFieldNoRecentsMenuItemTag=1003; +var _1=nil,_2=nil,_3=nil,_4=nil; +var _5=objj_allocateClassPair(CPTextField,"CPSearchField"),_6=_5.isa; +class_addIvars(_5,[new objj_ivar("_searchButton"),new objj_ivar("_cancelButton"),new objj_ivar("_searchMenuTemplate"),new objj_ivar("_searchMenu"),new objj_ivar("_recentsAutosaveName"),new objj_ivar("_recentSearches"),new objj_ivar("_maximumRecents"),new objj_ivar("_sendsWholeSearchString"),new objj_ivar("_sendsSearchStringImmediately"),new objj_ivar("_partialStringTimer")]); +objj_registerClassPair(_5); +class_addMethods(_5,[new objj_method(sel_getUid("initWithFrame:"),function(_7,_8,_9){ +with(_7){ +if(_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPSearchField").super_class},"initWithFrame:",_9)){ +_recentSearches=objj_msgSend(CPArray,"array"); +_maximumRecents=10; +_sendsWholeSearchString=NO; +_sendsSearchStringImmediately=NO; +_recentsAutosaveName=nil; +objj_msgSend(_7,"_initWithFrame:",_9); +_cancelButton._DOMElement.style.cursor="default"; +_searchButton._DOMElement.style.cursor="default"; +} +return _7; +} +}),new objj_method(sel_getUid("_initWithFrame:"),function(_a,_b,_c){ +with(_a){ +objj_msgSend(_a,"setBezeled:",YES); +objj_msgSend(_a,"setBezelStyle:",CPTextFieldRoundedBezel); +objj_msgSend(_a,"setBordered:",YES); +objj_msgSend(_a,"setEditable:",YES); +objj_msgSend(_a,"setDelegate:",_a); +_cancelButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CPMakeRect(_c.size.width-27,(_c.size.height-22)/2,22,22)); +objj_msgSend(_a,"resetCancelButton"); +objj_msgSend(_cancelButton,"setHidden:",YES); +objj_msgSend(_cancelButton,"setAutoresizingMask:",CPViewMinXMargin); +objj_msgSend(_a,"addSubview:",_cancelButton); +_searchButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CPMakeRect(5,(_c.size.height-25)/2,25,25)); +objj_msgSend(_a,"resetSearchButton"); +objj_msgSend(_a,"addSubview:",_searchButton); +} +}),new objj_method(sel_getUid("setSearchButton:"),function(_d,_e,_f){ +with(_d){ +_searchButton=_f; +} +}),new objj_method(sel_getUid("searchButton"),function(_10,_11){ +with(_10){ +return _searchButton; +} +}),new objj_method(sel_getUid("resetSearchButton"),function(_12,_13){ +with(_12){ +var _14,_15,_16,_17=objj_msgSend(_12,"searchButton"); +if(_searchMenuTemplate===nil){ +_14=_1; +_15=sel_getUid("_sendAction:"); +_16=_12; +}else{ +_14=_2; +_15=sel_getUid("_showMenu:"); +_16=_12; +} +objj_msgSend(_17,"setBordered:",NO); +objj_msgSend(_17,"setImageScaling:",CPScaleToFit); +objj_msgSend(_17,"setImage:",_14); +objj_msgSend(_17,"setAutoresizingMask:",CPViewMaxXMargin); +objj_msgSend(_17,"setTarget:",_16); +objj_msgSend(_17,"setAction:",_15); +} +}),new objj_method(sel_getUid("setCancelButton:"),function(_18,_19,_1a){ +with(_18){ +_cancelButton=_1a; +} +}),new objj_method(sel_getUid("cancelButton"),function(_1b,_1c){ +with(_1b){ +return _cancelButton; +} +}),new objj_method(sel_getUid("resetCancelButton"),function(_1d,_1e){ +with(_1d){ +var _1f=objj_msgSend(_1d,"cancelButton"); +objj_msgSend(_1f,"setBordered:",NO); +objj_msgSend(_1f,"setImageScaling:",CPScaleToFit); +objj_msgSend(_1f,"setImage:",_3); +objj_msgSend(_1f,"setAlternateImage:",_4); +objj_msgSend(_1f,"setAutoresizingMask:",CPViewMinXMargin); +objj_msgSend(_1f,"setTarget:",_1d); +objj_msgSend(_1f,"setAction:",sel_getUid("_searchFieldCancel:")); +} +}),new objj_method(sel_getUid("searchTextRectForBounds:"),function(_20,_21,_22){ +with(_20){ +var _23=0,_24=_22.size.width; +if(_searchButton){ +var _25=objj_msgSend(_searchButton,"frame"); +_23=_25.origin.x+_25.size.width; +} +if(_cancelButton){ +var _26=objj_msgSend(_cancelButton,"frame"); +_24=_26.origin.x-_23; +} +return CPMakeRect(_23,_22.origin.y,_24,_22.size.height); +} +}),new objj_method(sel_getUid("searchButtonRectForBounds:"),function(_27,_28,_29){ +with(_27){ +return objj_msgSend(_searchButton,"frame"); +} +}),new objj_method(sel_getUid("cancelButtonRectForBounds:"),function(_2a,_2b,_2c){ +with(_2a){ +return objj_msgSend(_cancelButton,"frame"); +} +}),new objj_method(sel_getUid("searchMenuTemplate"),function(_2d,_2e){ +with(_2d){ +return _searchMenuTemplate; +} +}),new objj_method(sel_getUid("setSearchMenuTemplate:"),function(_2f,_30,_31){ +with(_2f){ +_searchMenuTemplate=_31; +objj_msgSend(_2f,"resetSearchButton"); +objj_msgSend(_2f,"_loadRecentSearchList"); +objj_msgSend(_2f,"_updateSearchMenu"); +} +}),new objj_method(sel_getUid("sendsWholeSearchString"),function(_32,_33){ +with(_32){ +return _sendsWholeSearchString; +} +}),new objj_method(sel_getUid("setSendsWholeSearchString:"),function(_34,_35,_36){ +with(_34){ +_sendsWholeSearchString=_36; +} +}),new objj_method(sel_getUid("sendsSearchStringImmediately"),function(_37,_38){ +with(_37){ +return _sendsSearchStringImmediately; +} +}),new objj_method(sel_getUid("setSendsSearchStringImmediately:"),function(_39,_3a,_3b){ +with(_39){ +_sendsSearchStringImmediately=_3b; +} +}),new objj_method(sel_getUid("maximumRecents"),function(_3c,_3d){ +with(_3c){ +return _maximumRecents; +} +}),new objj_method(sel_getUid("setMaximumRecents:"),function(_3e,_3f,max){ +with(_3e){ +if(max>254){ +max=254; +}else{ +if(max<0){ +max=10; +} +} +_maximumRecents=max; +} +}),new objj_method(sel_getUid("recentSearches"),function(_40,_41){ +with(_40){ +return _recentSearches; +} +}),new objj_method(sel_getUid("setRecentSearches:"),function(_42,_43,_44){ +with(_42){ +var max=MIN(objj_msgSend(_42,"maximumRecents"),objj_msgSend(_44,"count")),_44=objj_msgSend(_44,"subarrayWithRange:",CPMakeRange(0,max)); +_recentSearches=_44; +objj_msgSend(_42,"_autosaveRecentSearchList"); +} +}),new objj_method(sel_getUid("recentsAutosaveName"),function(_45,_46){ +with(_45){ +return _recentsAutosaveName; +} +}),new objj_method(sel_getUid("setRecentsAutosaveName:"),function(_47,_48,_49){ +with(_47){ +if(_recentsAutosaveName!=nil){ +objj_msgSend(_47,"_deregisterForAutosaveNotification"); +} +_recentsAutosaveName=_49; +if(_recentsAutosaveName!=nil){ +objj_msgSend(_47,"_registerForAutosaveNotification"); +} +} +}),new objj_method(sel_getUid("contentRectForBounds:"),function(_4a,_4b,_4c){ +with(_4a){ +var _4d=objj_msgSendSuper({receiver:_4a,super_class:objj_getClass("CPSearchField").super_class},"contentRectForBounds:",_4c); +return objj_msgSend(_4a,"searchTextRectForBounds:",_4d); +} +}),new objj_method(sel_getUid("menu"),function(_4e,_4f){ +with(_4e){ +return _searchMenu; +} +}),new objj_method(sel_getUid("isOpaque"),function(_50,_51){ +with(_50){ +return objj_msgSendSuper({receiver:_50,super_class:objj_getClass("CPSearchField").super_class},"isOpaque")&&objj_msgSend(_cancelButton,"isOpaque")&&objj_msgSend(_searchButton,"isOpaque"); +} +}),new objj_method(sel_getUid("_updateCancelButtonVisibility"),function(_52,_53){ +with(_52){ +objj_msgSend(_cancelButton,"setHidden:",(objj_msgSend(objj_msgSend(_52,"stringValue"),"length")===0)); +} +}),new objj_method(sel_getUid("controlTextDidChange:"),function(_54,_55,_56){ +with(_54){ +if(!objj_msgSend(_54,"sendsWholeSearchString")){ +if(objj_msgSend(_54,"sendsSearchStringImmediately")){ +objj_msgSend(_54,"_sendPartialString"); +}else{ +objj_msgSend(_partialStringTimer,"invalidate"); +var _57=objj_msgSend(CPSearchField,"_keyboardDelayForPartialSearchString:",objj_msgSend(_54,"stringValue")); +_partialStringTimer=objj_msgSend(CPTimer,"scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:",_57,_54,sel_getUid("_sendPartialString"),nil,NO); +} +} +objj_msgSend(_54,"_updateCancelButtonVisibility"); +} +}),new objj_method(sel_getUid("_sendAction:"),function(_58,_59,_5a){ +with(_58){ +objj_msgSend(_58,"sendAction:to:",objj_msgSend(_58,"action"),objj_msgSend(_58,"target")); +} +}),new objj_method(sel_getUid("sendAction:to:"),function(_5b,_5c,_5d,_5e){ +with(_5b){ +objj_msgSendSuper({receiver:_5b,super_class:objj_getClass("CPSearchField").super_class},"sendAction:to:",_5d,_5e); +objj_msgSend(_partialStringTimer,"invalidate"); +objj_msgSend(_5b,"_addStringToRecentSearches:",objj_msgSend(_5b,"stringValue")); +objj_msgSend(_5b,"_updateCancelButtonVisibility"); +} +}),new objj_method(sel_getUid("_addStringToRecentSearches:"),function(_5f,_60,_61){ +with(_5f){ +if(_61===nil||_61===""||objj_msgSend(_recentSearches,"containsObject:",_61)){ +return; +} +var _62=objj_msgSend(CPMutableArray,"arrayWithArray:",_recentSearches); +objj_msgSend(_62,"addObject:",_61); +objj_msgSend(_5f,"setRecentSearches:",_62); +objj_msgSend(_5f,"_updateSearchMenu"); +} +}),new objj_method(sel_getUid("trackMouse:"),function(_63,_64,_65){ +with(_63){ +var _66,_67,_68=objj_msgSend(_65,"locationInWindow"); +_67=objj_msgSend(_63,"convertPoint:fromView:",_68,nil); +_66=objj_msgSend(_63,"searchButtonRectForBounds:",objj_msgSend(_63,"frame")); +if(CPRectContainsPoint(_66,_67)){ +return objj_msgSend(objj_msgSend(_63,"searchButton"),"trackMouse:",_65); +} +_66=objj_msgSend(_63,"cancelButtonRectForBounds:",objj_msgSend(_63,"frame")); +if(CPRectContainsPoint(_66,_67)){ +return objj_msgSend(objj_msgSend(_63,"cancelButton"),"trackMouse:",_65); +} +return objj_msgSendSuper({receiver:_63,super_class:objj_getClass("CPSearchField").super_class},"trackMouse:",_65); +} +}),new objj_method(sel_getUid("_defaultSearchMenuTemplate"),function(_69,_6a){ +with(_69){ +var _6b,_6c; +_6b=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"init"); +_6c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Recent searches",NULL,""); +objj_msgSend(_6c,"setTag:",CPSearchFieldRecentsTitleMenuItemTag); +objj_msgSend(_6c,"setEnabled:",NO); +objj_msgSend(_6b,"addItem:",_6c); +_6c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Recent search item",sel_getUid("_searchFieldSearch:"),""); +objj_msgSend(_6c,"setTag:",CPSearchFieldRecentsMenuItemTag); +objj_msgSend(_6c,"setTarget:",_69); +objj_msgSend(_6b,"addItem:",_6c); +_6c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Clear recent searches",sel_getUid("_searchFieldClearRecents:"),""); +objj_msgSend(_6c,"setTag:",CPSearchFieldClearRecentsMenuItemTag); +objj_msgSend(_6c,"setTarget:",_69); +objj_msgSend(_6b,"addItem:",_6c); +_6c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","No recent searches",NULL,""); +objj_msgSend(_6c,"setTag:",CPSearchFieldNoRecentsMenuItemTag); +objj_msgSend(_6c,"setEnabled:",NO); +objj_msgSend(_6b,"addItem:",_6c); +return _6b; +} +}),new objj_method(sel_getUid("_updateSearchMenu"),function(_6d,_6e){ +with(_6d){ +if(_searchMenuTemplate===nil){ +return; +} +var i,_6f=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"init"),_70=objj_msgSend(_recentSearches,"count"),_71=objj_msgSend(_searchMenuTemplate,"numberOfItems"); +for(i=0;i<_71;i++){ +var _72=objj_msgSend(_searchMenuTemplate,"itemAtIndex:",i),tag=objj_msgSend(_72,"tag"); +if(!(tag===CPSearchFieldRecentsTitleMenuItemTag&&_70===0)&&!(tag===CPSearchFieldClearRecentsMenuItemTag&&_70===0)&&!(tag===CPSearchFieldNoRecentsMenuItemTag&&_70!=0)&&!(tag===CPSearchFieldRecentsMenuItemTag)){ +var _73,_74; +switch(tag){ +case CPSearchFieldRecentsTitleMenuItemTag: +_73=NULL; +_74=NULL; +break; +case CPSearchFieldClearRecentsMenuItemTag: +_73=sel_getUid("_searchFieldClearRecents:"); +_74=_6d; +break; +case CPSearchFieldNoRecentsMenuItemTag: +_73=NULL; +_74=NULL; +break; +default: +_73=objj_msgSend(_72,"action"); +_74=objj_msgSend(_72,"target"); +break; +} +if(tag===CPSearchFieldClearRecentsMenuItemTag||tag===CPSearchFieldRecentsTitleMenuItemTag){ +var _75=objj_msgSend(CPMenuItem,"separatorItem"); +objj_msgSend(_75,"setEnabled:",NO); +objj_msgSend(_6f,"addItem:",_75); +} +var _76=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:",objj_msgSend(_72,"title"),_73,objj_msgSend(_72,"keyEquivalent")); +objj_msgSend(_76,"setTarget:",_74); +objj_msgSend(_76,"setEnabled:",(objj_msgSend(_72,"isEnabled")&&_73!=NULL)); +objj_msgSend(_76,"setTag:",tag); +objj_msgSend(_6f,"addItem:",_76); +}else{ +if(tag===CPSearchFieldRecentsMenuItemTag){ +var j; +for(j=0;j<_70;j++){ +var _77=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:",objj_msgSend(_recentSearches,"objectAtIndex:",j),sel_getUid("_searchFieldSearch:"),objj_msgSend(_72,"keyEquivalent")); +objj_msgSend(_77,"setTarget:",_6d); +objj_msgSend(_6f,"addItem:",_77); +} +} +} +} +_searchMenu=_6f; +} +}),new objj_method(sel_getUid("_showMenu:"),function(_78,_79,_7a){ +with(_78){ +if(_searchMenu===nil||objj_msgSend(_searchMenu,"numberOfItems")===0||!objj_msgSend(_78,"isEnabled")){ +return; +} +var _7b=objj_msgSend(objj_msgSend(_78,"superview"),"convertRect:toView:",objj_msgSend(_78,"frame"),nil),_7c=CPMakePoint(_7b.origin.x+10,_7b.origin.y+_7b.size.height-4); +var _7d=objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPRightMouseDown,_7c,0,objj_msgSend(objj_msgSend(CPApp,"currentEvent"),"timestamp"),objj_msgSend(objj_msgSend(_78,"window"),"windowNumber"),nil,1,1,0); +objj_msgSend(CPMenu,"popUpContextMenu:withEvent:forView:",_searchMenu,_7d,_7a); +} +}),new objj_method(sel_getUid("_sendPartialString"),function(_7e,_7f){ +with(_7e){ +objj_msgSend(objj_msgSend(_7e,"target"),"performSelector:withObject:",objj_msgSend(_7e,"action"),_7e); +} +}),new objj_method(sel_getUid("_searchFieldCancel:"),function(_80,_81,_82){ +with(_80){ +objj_msgSend(_80,"setObjectValue:",""); +objj_msgSend(_80,"_sendPartialString"); +objj_msgSend(_80,"_updateCancelButtonVisibility"); +} +}),new objj_method(sel_getUid("_searchFieldSearch:"),function(_83,_84,_85){ +with(_83){ +var _86=objj_msgSend(_85,"title"); +if(objj_msgSend(_85,"tag")!=CPSearchFieldRecentsMenuItemTag){ +objj_msgSend(_83,"_addStringToRecentSearches:",_86); +} +objj_msgSend(_83,"setObjectValue:",_86); +objj_msgSend(_83,"_sendPartialString"); +objj_msgSend(_83,"_updateCancelButtonVisibility"); +} +}),new objj_method(sel_getUid("_searchFieldClearRecents:"),function(_87,_88,_89){ +with(_87){ +objj_msgSend(_87,"setRecentSearches:",objj_msgSend(CPArray,"array")); +objj_msgSend(_87,"_updateSearchMenu"); +} +}),new objj_method(sel_getUid("_registerForAutosaveNotification"),function(_8a,_8b){ +with(_8a){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_8a,sel_getUid("_updateAutosavedRecents:"),"CPAutosavedRecentsChangedNotification",nil); +} +}),new objj_method(sel_getUid("_deregisterForAutosaveNotification"),function(_8c,_8d){ +with(_8c){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_8c,"CPAutosavedRecentsChangedNotification",nil); +} +}),new objj_method(sel_getUid("_autosaveRecentSearchList"),function(_8e,_8f){ +with(_8e){ +if(_recentsAutosaveName!=nil){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:","CPAutosavedRecentsChangedNotification",_recentsAutosaveName); +} +} +}),new objj_method(sel_getUid("_updateAutosavedRecents:"),function(_90,_91,_92){ +with(_90){ +var _93=objj_msgSend(_90,"recentSearches"),_94=objj_msgSend(_92,"object"),_95=objj_msgSend(objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"infoDictionary"),"objectForKey:","CPBundleName"),_96=objj_msgSend(_95,"lowercaseString")+"."+objj_msgSend(_92,"object"),_97=objj_msgSend(objj_msgSend(CPCookie,"alloc"),"initWithName:",_96),_98=objj_msgSend(_93,"componentsJoinedByString:",","); +objj_msgSend(_97,"setValue:expires:domain:",_98,objj_msgSend(objj_msgSend(CPDate,"alloc"),"initWithTimeIntervalSinceNow:",3600*24*365),(window.location.href.hostname)); +} +}),new objj_method(sel_getUid("_loadRecentSearchList"),function(_99,_9a){ +with(_99){ +var _9b,_9c=objj_msgSend(_99,"recentsAutosaveName"); +if(_9c===nil){ +return; +} +var _9d=objj_msgSend(objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"infoDictionary"),"objectForKey:","CPBundleName"),_9e=objj_msgSend(_9d,"lowercaseString")+"."+_9c,_9f=objj_msgSend(objj_msgSend(CPCookie,"alloc"),"initWithName:",_9e); +if(_9f!=nil){ +var _a0=objj_msgSend(_9f,"value"); +_9b=(_a0!="")?objj_msgSend(_a0,"componentsSeparatedByString:",","):objj_msgSend(CPArray,"array"); +_recentSearches=_9b; +} +} +})]); +class_addMethods(_6,[new objj_method(sel_getUid("initialize"),function(_a1,_a2){ +with(_a1){ +if(_a1!=objj_msgSend(CPSearchField,"class")){ +return; +} +var _a3=objj_msgSend(CPBundle,"bundleForClass:",_a1); +_1=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(_a3,"pathForResource:","CPSearchField/CPSearchFieldSearch.png")); +_2=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(_a3,"pathForResource:","CPSearchField/CPSearchFieldFind.png")); +_3=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(_a3,"pathForResource:","CPSearchField/CPSearchFieldCancel.png")); +_4=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(_a3,"pathForResource:","CPSearchField/CPSearchFieldCancelPressed.png")); +} +}),new objj_method(sel_getUid("_keyboardDelayForPartialSearchString:"),function(_a4,_a5,_a6){ +with(_a4){ +return (6-MIN(objj_msgSend(_a6,"length"),4))/10; +} +})]); +var _a7="CPSearchButtonKey",_a8="CPCancelButtonKey",_a9="CPRecentsAutosaveNameKey",_aa="CPSendsWholeSearchStringKey",_ab="CPSendsSearchStringImmediatelyKey",_ac="CPMaximumRecentsKey",_ad="CPSearchMenuTemplateKey"; +var _5=objj_getClass("CPSearchField"); +if(!_5){ +throw new SyntaxError("*** Could not find definition for class \"CPSearchField\""); +} +var _6=_5.isa; +class_addMethods(_5,[new objj_method(sel_getUid("encodeWithCoder:"),function(_ae,_af,_b0){ +with(_ae){ +objj_msgSendSuper({receiver:_ae,super_class:objj_getClass("CPSearchField").super_class},"encodeWithCoder:",_b0); +objj_msgSend(_b0,"encodeObject:forKey:",_searchButton,_a7); +objj_msgSend(_b0,"encodeObject:forKey:",_cancelButton,_a8); +objj_msgSend(_b0,"encodeBool:forKey:",_sendsWholeSearchString,_aa); +objj_msgSend(_b0,"encodeBool:forKey:",_sendsSearchStringImmediately,_ab); +objj_msgSend(_b0,"encodeInt:forKey:",_maximumRecents,_ac); +if(_recentsAutosaveName){ +objj_msgSend(_b0,"encodeObject:forKey:",_recentsAutosaveName,_a9); +} +if(_searchMenuTemplate){ +objj_msgSend(_b0,"encodeObject:forKey:",_searchMenuTemplate,_ad); +} +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_b1,_b2,_b3){ +with(_b1){ +if(_b1=objj_msgSendSuper({receiver:_b1,super_class:objj_getClass("CPSearchField").super_class},"initWithCoder:",_b3)){ +_searchButton=objj_msgSend(_b3,"decodeObjectForKey:",_a7); +_cancelButton=objj_msgSend(_b3,"decodeObjectForKey:",_a8); +_recentsAutosaveName=objj_msgSend(_b3,"decodeObjectForKey:",_a9); +_sendsWholeSearchString=objj_msgSend(_b3,"decodeBoolForKey:",_aa); +_sendsSearchStringImmediately=objj_msgSend(_b3,"decodeBoolForKey:",_ab); +_maximumRecents=objj_msgSend(_b3,"decodeIntForKey:",_ac); +var _b4=objj_msgSend(_b3,"decodeObjectForKey:",_ad); +if(_b4){ +objj_msgSend(_b1,"setSearchMenuTemplate:",_b4); +} +objj_msgSend(_b1,"setDelegate:",_b1); +} +return _b1; +} +})]); +p;19;CPSecureTextField.jt;285;@STATIC;1.0;i;13;CPTextField.jt;249; +objj_executeFile("CPTextField.j",YES); +var _1=objj_allocateClassPair(CPTextField,"CPSecureTextField"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("isSecure"),function(_3,_4){ +with(_3){ +return YES; +} +})]); +p;20;CPSegmentedControl.jt;21022;@STATIC;1.0;I;20;Foundation/CPArray.ji;11;CPControl.jt;20961; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("CPControl.j",YES); +CPSegmentSwitchTrackingSelectOne=0; +CPSegmentSwitchTrackingSelectAny=1; +CPSegmentSwitchTrackingMomentary=2; +var _1=objj_allocateClassPair(CPControl,"CPSegmentedControl"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_segments"),new objj_ivar("_themeStates"),new objj_ivar("_selectedSegment"),new objj_ivar("_segmentStyle"),new objj_ivar("_trackingMode"),new objj_ivar("_trackingSegment"),new objj_ivar("_trackingHighlighted")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_segments=[]; +_themeStates=[]; +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPSegmentedControl").super_class},"initWithFrame:",_5); +if(_3){ +_selectedSegment=-1; +_trackingMode=CPSegmentSwitchTrackingSelectOne; +} +return _3; +} +}),new objj_method(sel_getUid("selectedTag"),function(_6,_7){ +with(_6){ +return _segments[_selectedSegment].tag; +} +}),new objj_method(sel_getUid("setSegmentCount:"),function(_8,_9,_a){ +with(_8){ +if(_segments.length==_a){ +return; +} +var _b=CGRectGetHeight(objj_msgSend(_8,"bounds")); +if(_segments.length<_a){ +for(var _c=_segments.length;_c<_a;++_c){ +_segments[_c]=objj_msgSend(objj_msgSend(_CPSegmentItem,"alloc"),"init"); +_themeStates[_c]=CPThemeStateNormal; +} +}else{ +if(_a<_segments.length){ +_segments.length=_a; +_themeStates.length=_a; +} +} +if(_selectedSegment>=_segments.length){ +_selectedSegment=-1; +} +objj_msgSend(_8,"tileWithChangedSegment:",0); +} +}),new objj_method(sel_getUid("segmentCount"),function(_d,_e){ +with(_d){ +return _segments.length; +} +}),new objj_method(sel_getUid("setSelectedSegment:"),function(_f,_10,_11){ +with(_f){ +objj_msgSend(_f,"setSelected:forSegment:",YES,_11); +} +}),new objj_method(sel_getUid("selectedSegment"),function(_12,_13){ +with(_12){ +return _selectedSegment; +} +}),new objj_method(sel_getUid("selectSegmentWithTag:"),function(_14,_15,_16){ +with(_14){ +var _17=0; +for(;_17<_segments.length;++_17){ +if(_segments[_17].tag==_16){ +objj_msgSend(_14,"setSelectedSegment:",_17); +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("isTracking"),function(_18,_19){ +with(_18){ +} +}),new objj_method(sel_getUid("setTrackingMode:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_trackingMode==_1c){ +return; +} +_trackingMode=_1c; +if(_trackingMode==CPSegmentSwitchTrackingSelectOne){ +var _1d=0,_1e=NO; +for(;_1d<_segments.length;++_1d){ +if(_segments[_1d].selected){ +if(_1e){ +objj_msgSend(_1a,"setSelected:forSegment:",NO,_1d); +}else{ +_1e=YES; +} +} +} +}else{ +if(_trackingMode==CPSegmentSwitchTrackingMomentary){ +var _1d=0; +for(;_1d<_segments.length;++_1d){ +if(_segments[_1d].selected){ +objj_msgSend(_1a,"setSelected:forSegment:",NO,_1d); +} +} +} +} +} +}),new objj_method(sel_getUid("trackingMode"),function(_1f,_20){ +with(_1f){ +return _trackingMode; +} +}),new objj_method(sel_getUid("setWidth:forSegment:"),function(_21,_22,_23,_24){ +with(_21){ +_segments[_24].width=_23; +objj_msgSend(_21,"tileWithChangedSegment:",_24); +} +}),new objj_method(sel_getUid("widthForSegment:"),function(_25,_26,_27){ +with(_25){ +return _segments[_27].width; +} +}),new objj_method(sel_getUid("setImage:forSegment:"),function(_28,_29,_2a,_2b){ +with(_28){ +var _2c=_segments[_2b]; +_2c.image=_2a; +objj_msgSend(_28,"tileWithChangedSegment:",_2b); +} +}),new objj_method(sel_getUid("imageForSegment:"),function(_2d,_2e,_2f){ +with(_2d){ +return _segments[_2f].image; +} +}),new objj_method(sel_getUid("setLabel:forSegment:"),function(_30,_31,_32,_33){ +with(_30){ +var _34=_segments[_33]; +_segments[_33].label=_32; +objj_msgSend(_30,"tileWithChangedSegment:",_33); +} +}),new objj_method(sel_getUid("labelForSegment:"),function(_35,_36,_37){ +with(_35){ +return _segments[_37].label; +} +}),new objj_method(sel_getUid("setMenu:forSegment:"),function(_38,_39,_3a,_3b){ +with(_38){ +_segments[_3b].menu=_3a; +} +}),new objj_method(sel_getUid("menuForSegment:"),function(_3c,_3d,_3e){ +with(_3c){ +return _segments[_3e].menu; +} +}),new objj_method(sel_getUid("setSelected:forSegment:"),function(_3f,_40,_41,_42){ +with(_3f){ +var _43=_segments[_42]; +if(_43.selected==_41){ +return; +} +_43.selected=_41; +_themeStates[_42]=_41?CPThemeStateSelected:CPThemeStateNormal; +if(_41){ +var _44=_selectedSegment; +_selectedSegment=_42; +if(_trackingMode==CPSegmentSwitchTrackingSelectOne&&_44!=_42&&_44!=-1){ +_segments[_44].selected=NO; +_themeStates[_44]=CPThemeStateNormal; +objj_msgSend(_3f,"drawSegmentBezel:highlight:",_44,NO); +} +} +if(_trackingMode!=CPSegmentSwitchTrackingMomentary){ +objj_msgSend(_3f,"drawSegmentBezel:highlight:",_42,NO); +} +objj_msgSend(_3f,"setNeedsLayout"); +objj_msgSend(_3f,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("isSelectedForSegment:"),function(_45,_46,_47){ +with(_45){ +return _segments[_47].selected; +} +}),new objj_method(sel_getUid("setEnabled:forSegment:"),function(_48,_49,_4a,_4b){ +with(_48){ +if(_4a){ +_themeStates[_4b]&=~CPThemeStateDisabled; +}else{ +_themeStates[_4b]|=CPThemeStateDisabled; +} +objj_msgSend(_48,"setNeedsLayout"); +objj_msgSend(_48,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("isEnabledForSegment:"),function(_4c,_4d,_4e){ +with(_4c){ +return !(_themeStates[_4e]&CPThemeStateDisabled); +} +}),new objj_method(sel_getUid("setTag:forSegment:"),function(_4f,_50,_51,_52){ +with(_4f){ +_segments[_52].tag=_51; +} +}),new objj_method(sel_getUid("tagForSegment:"),function(_53,_54,_55){ +with(_53){ +return _segments[_55].tag; +} +}),new objj_method(sel_getUid("drawSegmentBezel:highlight:"),function(_56,_57,_58,_59){ +with(_56){ +if(_59){ +_themeStates[_58]|=CPThemeStateHighlighted; +}else{ +_themeStates[_58]&=~CPThemeStateHighlighted; +} +objj_msgSend(_56,"setNeedsLayout"); +objj_msgSend(_56,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("_leftOffsetForSegment:"),function(_5a,_5b,_5c){ +with(_5a){ +var _5d=objj_msgSend(_5a,"currentValueForThemeAttribute:","bezel-inset"); +if(_5c==0){ +return _5d.left; +} +var _5e=objj_msgSend(_5a,"currentValueForThemeAttribute:","divider-thickness"); +return objj_msgSend(_5a,"_leftOffsetForSegment:",_5c-1)+objj_msgSend(_5a,"widthForSegment:",_5c-1)+_5e; +} +}),new objj_method(sel_getUid("_indexOfLastSegment"),function(_5f,_60){ +with(_5f){ +var _61=objj_msgSend(_segments,"count")-1; +if(_61<0){ +_61=0; +} +return _61; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_62,_63,_64){ +with(_62){ +var _65=objj_msgSend(_62,"currentValueForThemeAttribute:","default-height"),_66=objj_msgSend(_62,"currentValueForThemeAttribute:","content-inset"),_67=objj_msgSend(_62,"currentValueForThemeAttribute:","bezel-inset"),_68=objj_msgSend(_62,"bounds"); +if(_64==="left-segment-bezel"){ +return CGRectMake(_67.left,_67.top,_66.left,_65); +}else{ +if(_64==="right-segment-bezel"){ +return CPRectMake(CGRectGetWidth(objj_msgSend(_62,"bounds"))-_66.right,_67.top,_66.right,_65); +}else{ +if(_64.indexOf("segment-bezel")===0){ +var _69=parseInt(_64.substring("segment-bezel-".length),10),_6a=CGRectCreateCopy(_segments[_69].frame); +if(_69===0){ +_6a.origin.x+=_66.left; +_6a.size.width-=_66.left; +} +if(_69===_segments.length-1){ +_6a.size.width=CGRectGetWidth(objj_msgSend(_62,"bounds"))-_66.right-_6a.origin.x; +} +return _6a; +}else{ +if(_64.indexOf("divider-bezel")===0){ +var _69=parseInt(_64.substring("divider-bezel-".length),10),_6b=objj_msgSend(_62,"widthForSegment:",_69),_6c=objj_msgSend(_62,"_leftOffsetForSegment:",_69),_6d=objj_msgSend(_62,"currentValueForThemeAttribute:","divider-thickness"); +return CGRectMake(_6c+_6b,_67.top,_6d,_65); +}else{ +if(_64.indexOf("segment-content")===0){ +var _69=parseInt(_64.substring("segment-content-".length),10); +return objj_msgSend(_62,"contentFrameForSegment:",_69); +} +} +} +} +} +return objj_msgSendSuper({receiver:_62,super_class:objj_getClass("CPSegmentedControl").super_class},"rectForEphemeralSubviewNamed:",_64); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_6e,_6f,_70){ +with(_6e){ +if(_70.substring(0,"segment-content".length)=="segment-content"){ +return objj_msgSend(objj_msgSend(_CPImageAndTextView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +} +return objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_71,_72){ +with(_71){ +if(_segments.length<=0){ +return; +} +var _73=_themeStates[0]; +_73|=_themeState&CPThemeStateDisabled; +var _74=objj_msgSend(_71,"valueForThemeAttribute:inState:","left-segment-bezel-color",_73); +var _75=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","left-segment-bezel",CPWindowBelow,nil); +objj_msgSend(_75,"setBackgroundColor:",_74); +var _73=_themeStates[_themeStates.length-1]; +_73|=_themeState&CPThemeStateDisabled; +var _76=objj_msgSend(_71,"valueForThemeAttribute:inState:","right-segment-bezel-color",_73); +var _77=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","right-segment-bezel",CPWindowBelow,nil); +objj_msgSend(_77,"setBackgroundColor:",_76); +for(var i=0,_78=_themeStates.length;i<_78;i++){ +var _73=_themeStates[i]; +_73|=_themeState&CPThemeStateDisabled; +var _79=objj_msgSend(_71,"valueForThemeAttribute:inState:","center-segment-bezel-color",_73); +var _7a=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","segment-bezel-"+i,CPWindowBelow,nil); +objj_msgSend(_7a,"setBackgroundColor:",_79); +var _7b=_segments[i]; +var _7c=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","segment-content-"+i,CPWindowAbove,"segment-bezel-"+i); +objj_msgSend(_7c,"setText:",_7b.label); +objj_msgSend(_7c,"setImage:",_7b.image); +objj_msgSend(_7c,"setFont:",objj_msgSend(_71,"valueForThemeAttribute:inState:","font",_73)); +objj_msgSend(_7c,"setTextColor:",objj_msgSend(_71,"valueForThemeAttribute:inState:","text-color",_73)); +objj_msgSend(_7c,"setAlignment:",objj_msgSend(_71,"valueForThemeAttribute:inState:","alignment",_73)); +objj_msgSend(_7c,"setVerticalAlignment:",objj_msgSend(_71,"valueForThemeAttribute:inState:","vertical-alignment",_73)); +objj_msgSend(_7c,"setLineBreakMode:",objj_msgSend(_71,"valueForThemeAttribute:inState:","line-break-mode",_73)); +objj_msgSend(_7c,"setTextShadowColor:",objj_msgSend(_71,"valueForThemeAttribute:inState:","text-shadow-color",_73)); +objj_msgSend(_7c,"setTextShadowOffset:",objj_msgSend(_71,"valueForThemeAttribute:inState:","text-shadow-offset",_73)); +objj_msgSend(_7c,"setImageScaling:",objj_msgSend(_71,"valueForThemeAttribute:inState:","image-scaling",_73)); +if(_7b.image&&_7b.label){ +objj_msgSend(_7c,"setImagePosition:",objj_msgSend(_71,"valueForThemeAttribute:inState:","image-position",_73)); +}else{ +if(_7b.image){ +objj_msgSend(_7c,"setImagePosition:",CPImageOnly); +} +} +if(i==_78-1){ +continue; +} +var _7d=_themeStates[i]|_themeStates[i+1]; +_7d=(_7d&CPThemeStateSelected&~CPThemeStateHighlighted)?CPThemeStateSelected:CPThemeStateNormal; +_7d|=_themeState&CPThemeStateDisabled; +var _7e=objj_msgSend(_71,"valueForThemeAttribute:inState:","divider-bezel-color",_7d); +var _7f=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","divider-bezel-"+i,CPWindowBelow,nil); +objj_msgSend(_7f,"setBackgroundColor:",_7e); +} +} +}),new objj_method(sel_getUid("drawSegment:highlight:"),function(_80,_81,_82,_83){ +with(_80){ +} +}),new objj_method(sel_getUid("tileWithChangedSegment:"),function(_84,_85,_86){ +with(_84){ +if(_86>=_segments.length){ +return; +} +var _87=_segments[_86],_88=_87.width,_89=_themeStates[_86]|(_themeState&CPThemeStateDisabled),_8a=objj_msgSend(_84,"valueForThemeAttribute:inState:","content-inset",_89),_8b=objj_msgSend(_84,"valueForThemeAttribute:inState:","font",_89); +if(!_88){ +if(_87.image&&_87.label){ +_88=objj_msgSend(_87.label,"sizeWithFont:",_8b).width+objj_msgSend(_87.image,"size").width+_8a.left+_8a.right; +}else{ +if(_87.image){ +_88=objj_msgSend(_87.image,"size").width+_8a.left+_8a.right; +}else{ +if(_87.label){ +_88=objj_msgSend(_87.label,"sizeWithFont:",_8b).width+_8a.left+_8a.right; +}else{ +_88=0; +} +} +} +} +var _8c=_88-CGRectGetWidth(_87.frame); +if(!_8c){ +return; +} +var _8d=objj_msgSend(_84,"frame"); +objj_msgSend(_84,"setFrameSize:",CGSizeMake(CGRectGetWidth(_8d)+_8c,CGRectGetHeight(_8d))); +_87.width=_88; +_87.frame=objj_msgSend(_84,"frameForSegment:",_86); +var _8e=_86+1; +for(;_8e<_segments.length;++_8e){ +_segments[_8e].frame.origin.x+=_8c; +objj_msgSend(_84,"drawSegmentBezel:highlight:",_8e,NO); +objj_msgSend(_84,"drawSegment:highlight:",_8e,NO); +} +objj_msgSend(_84,"drawSegmentBezel:highlight:",_86,NO); +objj_msgSend(_84,"drawSegment:highlight:",_86,NO); +objj_msgSend(_84,"setNeedsLayout"); +objj_msgSend(_84,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("frameForSegment:"),function(_8f,_90,_91){ +with(_8f){ +return objj_msgSend(_8f,"bezelFrameForSegment:",_91); +} +}),new objj_method(sel_getUid("bezelFrameForSegment:"),function(_92,_93,_94){ +with(_92){ +var _95=objj_msgSend(_92,"currentValueForThemeAttribute:","default-height"),_96=objj_msgSend(_92,"currentValueForThemeAttribute:","bezel-inset"),_97=objj_msgSend(_92,"widthForSegment:",_94),_98=objj_msgSend(_92,"_leftOffsetForSegment:",_94); +return CGRectMake(_98,_96.top,_97,_95); +} +}),new objj_method(sel_getUid("contentFrameForSegment:"),function(_99,_9a,_9b){ +with(_99){ +var _9c=objj_msgSend(_99,"currentValueForThemeAttribute:","default-height"),_9d=objj_msgSend(_99,"currentValueForThemeAttribute:","content-inset"),_9e=objj_msgSend(_99,"widthForSegment:",_9b),_9f=objj_msgSend(_99,"_leftOffsetForSegment:",_9b); +return CGRectMake(_9f+_9d.left,_9d.top,_9e-_9d.left-_9d.right,_9c-_9d.top-_9d.bottom); +} +}),new objj_method(sel_getUid("testSegment:"),function(_a0,_a1,_a2){ +with(_a0){ +var _a3=objj_msgSend(_a0,"convertPoint:fromView:",_a2,nil),_a4=_segments.length; +while(_a4--){ +if(CGRectContainsPoint(_segments[_a4].frame,_a2)){ +return _a4; +} +} +if(_segments.length){ +var _a5=CGRectCreateCopy(_segments[_segments.length-1].frame); +_a5.size.width=CGRectGetWidth(objj_msgSend(_a0,"bounds"))-_a5.origin.x; +if(CGRectContainsPoint(_a5,_a2)){ +return _segments.length-1; +} +} +return -1; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_a6,_a7,_a8){ +with(_a6){ +if(!objj_msgSend(_a6,"isEnabled")){ +return; +} +objj_msgSend(_a6,"trackSegment:",_a8); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_a9,_aa,_ab){ +with(_a9){ +} +}),new objj_method(sel_getUid("trackSegment:"),function(_ac,_ad,_ae){ +with(_ac){ +var _af=objj_msgSend(_ae,"type"),_b0=objj_msgSend(_ac,"convertPoint:fromView:",objj_msgSend(_ae,"locationInWindow"),nil); +if(_af==CPLeftMouseUp){ +if(_trackingSegment==-1){ +return; +} +if(_trackingSegment===objj_msgSend(_ac,"testSegment:",_b0)){ +if(_trackingMode==CPSegmentSwitchTrackingSelectAny){ +objj_msgSend(_ac,"setSelected:forSegment:",!objj_msgSend(_ac,"isSelectedForSegment:",_trackingSegment),_trackingSegment); +_selectedSegment=_trackingSegment; +}else{ +objj_msgSend(_ac,"setSelected:forSegment:",YES,_trackingSegment); +} +objj_msgSend(_ac,"sendAction:to:",objj_msgSend(_ac,"action"),objj_msgSend(_ac,"target")); +if(_trackingMode==CPSegmentSwitchTrackingMomentary){ +objj_msgSend(_ac,"setSelected:forSegment:",NO,_trackingSegment); +_selectedSegment=-1; +} +} +objj_msgSend(_ac,"drawSegmentBezel:highlight:",_trackingSegment,NO); +_trackingSegment=-1; +return; +} +if(_af==CPLeftMouseDown){ +var _b1=objj_msgSend(_ac,"testSegment:",_b0); +if(_b1>-1&&objj_msgSend(_ac,"isEnabledForSegment:",_b1)){ +_trackingHighlighted=YES; +_trackingSegment=_b1; +objj_msgSend(_ac,"drawSegmentBezel:highlight:",_trackingSegment,YES); +} +}else{ +if(_af==CPLeftMouseDragged){ +if(_trackingSegment==-1){ +return; +} +var _b2=objj_msgSend(_ac,"testSegment:",_b0)===_trackingSegment; +if(_b2!=_trackingHighlighted){ +_trackingHighlighted=_b2; +objj_msgSend(_ac,"drawSegmentBezel:highlight:",_trackingSegment,_trackingHighlighted); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_ac,sel_getUid("trackSegment:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("setFont:"),function(_b3,_b4,_b5){ +with(_b3){ +objj_msgSendSuper({receiver:_b3,super_class:objj_getClass("CPSegmentedControl").super_class},"setFont:",_b5); +objj_msgSend(_b3,"tileWithChangedSegment:",0); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("themeClass"),function(_b6,_b7){ +with(_b6){ +return "segmented-control"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_b8,_b9){ +with(_b8){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[CPCenterTextAlignment,CPCenterVerticalTextAlignment,CPImageLeft,CPScaleNone,{top:(0),right:(0),bottom:(0),left:(0)},{top:(0),right:(0),bottom:(0),left:(0)},objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),1,24],["alignment","vertical-alignment","image-position","image-scaling","bezel-inset","content-inset","left-segment-bezel-color","right-segment-bezel-color","center-segment-bezel-color","divider-bezel-color","divider-thickness","default-height"]); +} +})]); +var _ba="CPSegmentedControlSegmentsKey",_bb="CPSegmentedControlSelectedKey",_bc="CPSegmentedControlSegmentStyleKey",_bd="CPSegmentedControlTrackingModeKey"; +var _1=objj_getClass("CPSegmentedControl"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPSegmentedControl\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_be,_bf,_c0){ +with(_be){ +_be=objj_msgSendSuper({receiver:_be,super_class:objj_getClass("CPSegmentedControl").super_class},"initWithCoder:",_c0); +if(_be){ +var _c1=objj_msgSend(_be,"frame"),_c2=_c1.size.width; +_c1.size.width=0; +objj_msgSend(_be,"setFrame:",_c1); +_segments=objj_msgSend(_c0,"decodeObjectForKey:",_ba); +_segmentStyle=objj_msgSend(_c0,"decodeIntForKey:",_bc); +_themeStates=[]; +if(objj_msgSend(_c0,"containsValueForKey:",_bb)){ +_selectedSegment=objj_msgSend(_c0,"decodeIntForKey:",_bb); +}else{ +_selectedSegment=-1; +} +if(objj_msgSend(_c0,"containsValueForKey:",_bd)){ +_trackingMode=objj_msgSend(_c0,"decodeIntForKey:",_bd); +}else{ +_trackingMode=CPSegmentSwitchTrackingSelectOne; +} +for(var i=0;i<_segments.length;i++){ +_themeStates[i]=_segments[i].selected?CPThemeStateSelected:CPThemeStateNormal; +objj_msgSend(_be,"tileWithChangedSegment:",i); +} +var _c3=MAX(_c2-objj_msgSend(_be,"frame").size.width,0),_c4=FLOOR(_c3/_segments.length); +for(var i=0;i<_segments.length;i++){ +objj_msgSend(_be,"setWidth:forSegment:",_segments[i].width+_c4,i); +} +objj_msgSend(_be,"tileWithChangedSegment:",0); +} +return _be; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_c5,_c6,_c7){ +with(_c5){ +objj_msgSendSuper({receiver:_c5,super_class:objj_getClass("CPSegmentedControl").super_class},"encodeWithCoder:",_c7); +objj_msgSend(_c7,"encodeObject:forKey:",_segments,_ba); +objj_msgSend(_c7,"encodeInt:forKey:",_selectedSegment,_bb); +objj_msgSend(_c7,"encodeInt:forKey:",_segmentStyle,_bc); +objj_msgSend(_c7,"encodeInt:forKey:",_trackingMode,_bd); +} +})]); +var _1=objj_allocateClassPair(CPObject,"_CPSegmentItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("image"),new objj_ivar("label"),new objj_ivar("menu"),new objj_ivar("selected"),new objj_ivar("enabled"),new objj_ivar("tag"),new objj_ivar("width"),new objj_ivar("frame")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_c8,_c9){ +with(_c8){ +if(_c8=objj_msgSendSuper({receiver:_c8,super_class:objj_getClass("_CPSegmentItem").super_class},"init")){ +image=nil; +label=""; +menu=nil; +selected=NO; +enabled=NO; +tag=0; +width=0; +frame=CGRectMakeZero(); +} +return _c8; +} +})]); +var _ca="CPSegmentItemImageKey",_cb="CPSegmentItemLabelKey",_cc="CPSegmentItemMenuKey",_cd="CPSegmentItemSelectedKey",_ce="CPSegmentItemEnabledKey",_cf="CPSegmentItemTagKey",_d0="CPSegmentItemWidthKey"; +var _1=objj_getClass("_CPSegmentItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPSegmentItem\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_d1,_d2,_d3){ +with(_d1){ +_d1=objj_msgSendSuper({receiver:_d1,super_class:objj_getClass("_CPSegmentItem").super_class},"init"); +if(_d1){ +image=objj_msgSend(_d3,"decodeObjectForKey:",_ca); +label=objj_msgSend(_d3,"decodeObjectForKey:",_cb); +menu=objj_msgSend(_d3,"decodeObjectForKey:",_cc); +selected=objj_msgSend(_d3,"decodeBoolForKey:",_cd); +enabled=objj_msgSend(_d3,"decodeBoolForKey:",_ce); +tag=objj_msgSend(_d3,"decodeIntForKey:",_cf); +width=objj_msgSend(_d3,"decodeFloatForKey:",_d0); +frame=CGRectMakeZero(); +} +return _d1; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_d4,_d5,_d6){ +with(_d4){ +objj_msgSend(_d6,"encodeObject:forKey:",image,_ca); +objj_msgSend(_d6,"encodeObject:forKey:",label,_cb); +objj_msgSend(_d6,"encodeObject:forKey:",menu,_cc); +objj_msgSend(_d6,"encodeBool:forKey:",selected,_cd); +objj_msgSend(_d6,"encodeBool:forKey:",enabled,_ce); +objj_msgSend(_d6,"encodeInt:forKey:",tag,_cf); +objj_msgSend(_d6,"encodeFloat:forKey:",width,_d0); +} +})]); +p;10;CPShadow.jt;1333;@STATIC;1.0;I;21;Foundation/CPObject.jt;1288; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPShadow"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_offset"),new objj_ivar("_blurRadius"),new objj_ivar("_color"),new objj_ivar("_cssString")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("_initWithOffset:blurRadius:color:"),function(_3,_4,_5,_6,_7){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPShadow").super_class},"init"); +if(_3){ +_offset=_5; +_blurRadius=_6; +_color=_7; +_cssString=objj_msgSend(_color,"cssString")+" "+Math.round(_5.width)+"px "+Math.round(_5.height)+"px "+Math.round(_blurRadius)+"px"; +} +return _3; +} +}),new objj_method(sel_getUid("shadowOffset"),function(_8,_9){ +with(_8){ +return _offset; +} +}),new objj_method(sel_getUid("shadowBlurRadius"),function(_a,_b){ +with(_a){ +return _blurRadius; +} +}),new objj_method(sel_getUid("shadowColor"),function(_c,_d){ +with(_c){ +return _color; +} +}),new objj_method(sel_getUid("cssString"),function(_e,_f){ +with(_e){ +return _cssString; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("shadowWithOffset:blurRadius:color:"),function(_10,_11,_12,_13,_14){ +with(_10){ +return objj_msgSend(objj_msgSend(CPShadow,"alloc"),"_initWithOffset:blurRadius:color:",_12,_13,_14); +} +})]); +p;14;CPShadowView.jt;5802;@STATIC;1.0;I;21;Foundation/CPBundle.ji;12;CGGeometry.ji;9;CPImage.ji;13;CPImageView.ji;8;CPView.jt;5697; +objj_executeFile("Foundation/CPBundle.j",NO); +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPImage.j",YES); +objj_executeFile("CPImageView.j",YES); +objj_executeFile("CPView.j",YES); +CPLightShadow=0; +CPHeavyShadow=1; +var _1=nil,_2=nil; +var _3=3,_4=3,_5=3,_6=5,_7=7,_8=7,_9=5,_a=5; +var _b=objj_allocateClassPair(CPView,"CPShadowView"),_c=_b.isa; +class_addIvars(_b,[new objj_ivar("_weight")]); +objj_registerClassPair(_b); +class_addMethods(_b,[new objj_method(sel_getUid("initWithFrame:"),function(_d,_e,_f){ +with(_d){ +_d=objj_msgSendSuper({receiver:_d,super_class:objj_getClass("CPShadowView").super_class},"initWithFrame:",_f); +if(_d){ +_weight=CPLightShadow; +objj_msgSend(_d,"setBackgroundColor:",_1); +objj_msgSend(_d,"setHitTests:",NO); +} +return _d; +} +}),new objj_method(sel_getUid("setWeight:"),function(_10,_11,_12){ +with(_10){ +if(_weight==_12){ +return; +} +_weight=_12; +if(_weight==CPLightShadow){ +objj_msgSend(_10,"setBackgroundColor:",_1); +}else{ +objj_msgSend(_10,"setBackgroundColor:",_2); +} +} +}),new objj_method(sel_getUid("leftInset"),function(_13,_14){ +with(_13){ +return _weight==CPLightShadow?_3:_7; +} +}),new objj_method(sel_getUid("rightInset"),function(_15,_16){ +with(_15){ +return _weight==CPLightShadow?_4:_8; +} +}),new objj_method(sel_getUid("topInset"),function(_17,_18){ +with(_17){ +return _weight==CPLightShadow?_5:_9; +} +}),new objj_method(sel_getUid("bottomInset"),function(_19,_1a){ +with(_19){ +return _weight==CPLightShadow?_6:_a; +} +}),new objj_method(sel_getUid("horizontalInset"),function(_1b,_1c){ +with(_1b){ +if(_weight==CPLightShadow){ +return _3+_4; +} +return _7+_8; +} +}),new objj_method(sel_getUid("verticalInset"),function(_1d,_1e){ +with(_1d){ +if(_weight==CPLightShadow){ +return _5+_6; +} +return _9+_a; +} +}),new objj_method(sel_getUid("frameForContentFrame:"),function(_1f,_20,_21){ +with(_1f){ +return objj_msgSend(objj_msgSend(_1f,"class"),"frameForContentFrame:withWeight:",_21,_weight); +} +}),new objj_method(sel_getUid("setFrameForContentFrame:"),function(_22,_23,_24){ +with(_22){ +objj_msgSend(_22,"setFrame:",objj_msgSend(_22,"frameForContentFrame:",_24)); +} +})]); +class_addMethods(_c,[new objj_method(sel_getUid("initialize"),function(_25,_26){ +with(_25){ +if(_25!=objj_msgSend(CPShadowView,"class")){ +return; +} +var _27=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_25,"class")); +_1=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightTopLeft.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightTop.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightTopRight.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightLeft.png"),CGSizeMake(9,1)),nil,objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightRight.png"),CGSizeMake(9,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightBottomLeft.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightBottom.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightBottomRight.png"),CGSizeMake(9,9))])); +_2=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyTopLeft.png"),CGSizeMake(17,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyTop.png"),CGSizeMake(1,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyTopRight.png"),CGSizeMake(17,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyLeft.png"),CGSizeMake(17,1)),nil,objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyRight.png"),CGSizeMake(17,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyBottomLeft.png"),CGSizeMake(17,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyBottom.png"),CGSizeMake(1,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyBottomRight.png"),CGSizeMake(17,17))])); +} +}),new objj_method(sel_getUid("frameForContentFrame:withWeight:"),function(_28,_29,_2a,_2b){ +with(_28){ +if(_2b==CPLightShadow){ +return CGRectMake((_2a.origin.x)-_3,(_2a.origin.y)-_5,(_2a.size.width)+_3+_4,(_2a.size.height)+_5+_6); +}else{ +return CGRectMake((_2a.origin.x)-_7,(_2a.origin.y)-_9,(_2a.size.width)+_7+_8,(_2a.size.height)+_9+_a); +} +} +})]); +p;10;CPSlider.jt;11397;@STATIC;1.0;i;11;CPControl.jt;11361; +objj_executeFile("CPControl.j",YES); +CPLinearSlider=0; +CPCircularSlider=1; +var _1=objj_allocateClassPair(CPControl,"CPSlider"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_minValue"),new objj_ivar("_maxValue"),new objj_ivar("_altIncrementValue"),new objj_ivar("_isVertical")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPSlider").super_class},"initWithFrame:",_5); +if(_3){ +_minValue=0; +_maxValue=100; +objj_msgSend(_3,"setObjectValue:",50); +objj_msgSend(_3,"setContinuous:",YES); +objj_msgSend(_3,"_recalculateIsVertical"); +} +return _3; +} +}),new objj_method(sel_getUid("setMinValue:"),function(_6,_7,_8){ +with(_6){ +if(_minValue===_8){ +return; +} +_minValue=_8; +var _9=objj_msgSend(_6,"doubleValue"); +if(_9<_minValue){ +objj_msgSend(_6,"setDoubleValue:",_minValue); +} +objj_msgSend(_6,"setNeedsLayout"); +objj_msgSend(_6,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("minValue"),function(_a,_b){ +with(_a){ +return _minValue; +} +}),new objj_method(sel_getUid("setMaxValue:"),function(_c,_d,_e){ +with(_c){ +if(_maxValue===_e){ +return; +} +_maxValue=_e; +var _f=objj_msgSend(_c,"doubleValue"); +if(_f>_maxValue){ +objj_msgSend(_c,"setDoubleValue:",_maxValue); +} +objj_msgSend(_c,"setNeedsLayout"); +objj_msgSend(_c,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("maxValue"),function(_10,_11){ +with(_10){ +return _maxValue; +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_12,_13,_14){ +with(_12){ +objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPSlider").super_class},"setObjectValue:",MIN(MAX(_14,_minValue),_maxValue)); +objj_msgSend(_12,"setNeedsLayout"); +objj_msgSend(_12,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setSliderType:"),function(_15,_16,_17){ +with(_15){ +if(_17===CPCircularSlider){ +objj_msgSend(_15,"setThemeState:",CPThemeStateCircular); +}else{ +objj_msgSend(_15,"unsetThemeState:",CPThemeStateCircular); +} +} +}),new objj_method(sel_getUid("sliderType"),function(_18,_19){ +with(_18){ +return objj_msgSend(_18,"hasThemeState:",CPThemeStateCircular)?CPCircularSlider:CPLinearSlider; +} +}),new objj_method(sel_getUid("trackRectForBounds:"),function(_1a,_1b,_1c){ +with(_1a){ +if(objj_msgSend(_1a,"hasThemeState:",CPThemeStateCircular)){ +var _1d=CGRectCreateCopy(_1c); +_1c.size.width=MIN(_1c.size.width,_1c.size.height); +_1c.size.height=_1c.size.width; +if(_1c.size.width<_1d.size.width){ +_1c.origin.x+=(_1d.size.width-_1c.size.width)/2; +}else{ +_1c.origin.y+=(_1d.size.height-_1c.size.height)/2; +} +}else{ +var _1e=objj_msgSend(_1a,"currentValueForThemeAttribute:","track-width"); +if(_1e<=0){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +if(objj_msgSend(_1a,"isVertical")){ +_1c.origin.x=((_1c.size.width)-_1e)/2; +_1c.size.width=_1e; +}else{ +_1c.origin.y=((_1c.size.height)-_1e)/2; +_1c.size.height=_1e; +} +} +return _1c; +} +}),new objj_method(sel_getUid("knobRectForBounds:"),function(_1f,_20,_21){ +with(_1f){ +var _22=objj_msgSend(_1f,"currentValueForThemeAttribute:","knob-size"); +if(_22.width<=0||_22.height<=0){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +var _23={origin:{x:0,y:0},size:{width:_22.width,height:_22.height}},_24=objj_msgSend(_1f,"trackRectForBounds:",_21); +if(!_24||(_24.size.width<=0||_24.size.height<=0)){ +_24=_21; +} +if(objj_msgSend(_1f,"hasThemeState:",CPThemeStateCircular)){ +var _25=3*PI_2-(1-objj_msgSend(_1f,"doubleValue")-_minValue)/(_maxValue-_minValue)*PI2,_26=CGRectGetWidth(_24)/2-8; +_23.origin.x=_26*COS(_25)+CGRectGetMidX(_24)-3; +_23.origin.y=_26*SIN(_25)+CGRectGetMidY(_24)-2; +}else{ +if(objj_msgSend(_1f,"isVertical")){ +_23.origin.x=(_24.origin.x+(_24.size.width)/2)-_22.width/2; +_23.origin.y=((objj_msgSend(_1f,"doubleValue")-_minValue)/(_maxValue-_minValue))*((_24.size.height)-_22.height); +}else{ +_23.origin.x=((objj_msgSend(_1f,"doubleValue")-_minValue)/(_maxValue-_minValue))*((_24.size.width)-_22.width); +_23.origin.y=(_24.origin.y+(_24.size.height)/2)-_22.height/2; +} +} +return _23; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_27,_28,_29){ +with(_27){ +if(_29==="track-view"){ +return objj_msgSend(_27,"trackRectForBounds:",objj_msgSend(_27,"bounds")); +}else{ +if(_29==="knob-view"){ +return objj_msgSend(_27,"knobRectForBounds:",objj_msgSend(_27,"bounds")); +} +} +return objj_msgSendSuper({receiver:_27,super_class:objj_getClass("CPSlider").super_class},"rectForEphemeralSubviewNamed:",_29); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_2a,_2b,_2c){ +with(_2a){ +if(_2c==="track-view"||_2c==="knob-view"){ +var _2d=objj_msgSend(objj_msgSend(CPView,"alloc"),"init"); +objj_msgSend(_2d,"setHitTests:",NO); +return _2d; +} +return objj_msgSendSuper({receiver:_2a,super_class:objj_getClass("CPSlider").super_class},"createEphemeralSubviewNamed:",_2c); +} +}),new objj_method(sel_getUid("setAltIncrementValue:"),function(_2e,_2f,_30){ +with(_2e){ +_altIncrementValue=_30; +} +}),new objj_method(sel_getUid("altIncrementValue"),function(_31,_32){ +with(_31){ +return _altIncrementValue; +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_33,_34,_35){ +with(_33){ +objj_msgSendSuper({receiver:_33,super_class:objj_getClass("CPSlider").super_class},"setFrameSize:",_35); +objj_msgSend(_33,"_recalculateIsVertical"); +} +}),new objj_method(sel_getUid("_recalculateIsVertical"),function(_36,_37){ +with(_36){ +var _38=objj_msgSend(_36,"bounds"),_39=(_38.size.width),_3a=(_38.size.height); +_isVertical=_39<_3a?1:(_39>_3a?0:-1); +if(_isVertical===1){ +objj_msgSend(_36,"setThemeState:",CPThemeStateVertical); +}else{ +if(_isVertical===0){ +objj_msgSend(_36,"unsetThemeState:",CPThemeStateVertical); +} +} +} +}),new objj_method(sel_getUid("isVertical"),function(_3b,_3c){ +with(_3b){ +return _isVertical; +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_3d,_3e){ +with(_3d){ +var _3f=objj_msgSend(_3d,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","track-view",CPWindowBelow,"knob-view"); +if(_3f){ +objj_msgSend(_3f,"setBackgroundColor:",objj_msgSend(_3d,"currentValueForThemeAttribute:","track-color")); +} +var _40=objj_msgSend(_3d,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","knob-view",CPWindowAbove,"track-view"); +if(_40){ +objj_msgSend(_40,"setBackgroundColor:",objj_msgSend(_3d,"currentValueForThemeAttribute:","knob-color")); +} +} +}),new objj_method(sel_getUid("tracksMouseOutsideOfFrame"),function(_41,_42){ +with(_41){ +return YES; +} +}),new objj_method(sel_getUid("_valueAtPoint:"),function(_43,_44,_45){ +with(_43){ +var _46=objj_msgSend(_43,"bounds"),_47=objj_msgSend(_43,"knobRectForBounds:",_46),_48=objj_msgSend(_43,"trackRectForBounds:",_46); +if(objj_msgSend(_43,"hasThemeState:",CPThemeStateCircular)){ +var _49=(_47.size.width); +_48.origin.x+=_49/2; +_48.size.width-=_49; +var _4a=objj_msgSend(_43,"minValue"),dx=_45.x-(_48.origin.x+(_48.size.width)/2),dy=_45.y-(_48.origin.y+(_48.size.height)/2); +return MAX(0,MIN(1,1-(3*PI_2-ATAN2(dy,dx))%PI2/PI2))*(objj_msgSend(_43,"maxValue")-_4a)+_4a; +}else{ +if(objj_msgSend(_43,"isVertical")){ +var _4b=(_47.size.height); +_48.origin.y+=_4b/2; +_48.size.height-=_4b; +var _4a=objj_msgSend(_43,"minValue"); +return MAX(0,MIN(1,(_45.y-(_48.origin.y))/(_48.size.height)))*(objj_msgSend(_43,"maxValue")-_4a)+_4a; +}else{ +var _49=(_47.size.width); +_48.origin.x+=_49/2; +_48.size.width-=_49; +var _4a=objj_msgSend(_43,"minValue"); +return MAX(0,MIN(1,(_45.x-(_48.origin.x))/(_48.size.width)))*(objj_msgSend(_43,"maxValue")-_4a)+_4a; +} +} +} +}),new objj_method(sel_getUid("startTrackingAt:"),function(_4c,_4d,_4e){ +with(_4c){ +var _4f=objj_msgSend(_4c,"bounds"),_50=objj_msgSend(_4c,"knobRectForBounds:",{origin:{x:_4f.origin.x,y:_4f.origin.y},size:{width:_4f.size.width,height:_4f.size.height}}); +if((_4e.x>=(_50.origin.x)&&_4e.y>=(_50.origin.y)&&_4e.x<(_50.origin.x+_50.size.width)&&_4e.y<(_50.origin.y+_50.size.height))){ +_dragOffset={width:(_50.origin.x+(_50.size.width)/2)-_4e.x,height:(_50.origin.y+(_50.size.height)/2)-_4e.y}; +}else{ +var _51=objj_msgSend(_4c,"trackRectForBounds:",_4f); +if(_51&&(_4e.x>=(_51.origin.x)&&_4e.y>=(_51.origin.y)&&_4e.x<(_51.origin.x+_51.size.width)&&_4e.y<(_51.origin.y+_51.size.height))){ +_dragOffset={width:0,height:0}; +objj_msgSend(_4c,"setObjectValue:",objj_msgSend(_4c,"_valueAtPoint:",_4e)); +}else{ +return NO; +} +} +objj_msgSend(_4c,"setHighlighted:",YES); +objj_msgSend(_4c,"setNeedsLayout"); +objj_msgSend(_4c,"setNeedsDisplay:",YES); +return YES; +} +}),new objj_method(sel_getUid("continueTracking:at:"),function(_52,_53,_54,_55){ +with(_52){ +objj_msgSend(_52,"setObjectValue:",objj_msgSend(_52,"_valueAtPoint:",{x:_55.x+_dragOffset.width,y:_55.y+_dragOffset.height})); +return YES; +} +}),new objj_method(sel_getUid("stopTracking:at:mouseIsUp:"),function(_56,_57,_58,_59,_5a){ +with(_56){ +objj_msgSend(_56,"setHighlighted:",NO); +if(objj_msgSend(_target,"respondsToSelector:",sel_getUid("sliderDidFinish:"))){ +objj_msgSend(_target,"sliderDidFinish:",_56); +} +objj_msgSend(_56,"setNeedsLayout"); +objj_msgSend(_56,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setContinuous:"),function(_5b,_5c,_5d){ +with(_5b){ +if(_5d){ +_sendActionOn|=CPLeftMouseDraggedMask; +}else{ +_sendActionOn&=~CPLeftMouseDraggedMask; +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("themeClass"),function(_5e,_5f){ +with(_5e){ +return "slider"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_60,_61){ +with(_60){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[objj_msgSend(CPNull,"null"),{width:0,height:0},0,objj_msgSend(CPNull,"null")],["knob-color","knob-size","track-width","track-color"]); +} +})]); +var _62="CPSliderMinValueKey",_63="CPSliderMaxValueKey",_64="CPSliderAltIncrValueKey"; +var _1=objj_getClass("CPSlider"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPSlider\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_65,_66,_67){ +with(_65){ +_minValue=objj_msgSend(_67,"decodeDoubleForKey:",_62); +_maxValue=objj_msgSend(_67,"decodeDoubleForKey:",_63); +_65=objj_msgSendSuper({receiver:_65,super_class:objj_getClass("CPSlider").super_class},"initWithCoder:",_67); +if(_65){ +_altIncrementValue=objj_msgSend(_67,"decodeDoubleForKey:",_64); +objj_msgSend(_65,"setContinuous:",YES); +objj_msgSend(_65,"_recalculateIsVertical"); +objj_msgSend(_65,"setNeedsLayout"); +objj_msgSend(_65,"setNeedsDisplay:",YES); +} +return _65; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_68,_69,_6a){ +with(_68){ +objj_msgSendSuper({receiver:_68,super_class:objj_getClass("CPSlider").super_class},"encodeWithCoder:",_6a); +objj_msgSend(_6a,"encodeDouble:forKey:",_minValue,_62); +objj_msgSend(_6a,"encodeDouble:forKey:",_maxValue,_63); +objj_msgSend(_6a,"encodeDouble:forKey:",_altIncrementValue,_64); +} +})]); +var _1=objj_getClass("CPSlider"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPSlider\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("value"),function(_6b,_6c){ +with(_6b){ +CPLog.warn("[CPSlider value] is deprecated, use doubleValue or objectValue instead."); +return objj_msgSend(_6b,"doubleValue"); +} +}),new objj_method(sel_getUid("setValue:"),function(_6d,_6e,_6f){ +with(_6d){ +CPLog.warn("[CPSlider setValue:] is deprecated, use setDoubleValue: or setObjectValue: instead."); +objj_msgSend(_6d,"setObjectValue:",_6f); +} +})]); +p;21;CPSliderColorPicker.jt;9407;@STATIC;1.0;i;15;CPColorPicker.jt;9368; +objj_executeFile("CPColorPicker.j",YES); +var _1=objj_allocateClassPair(CPColorPicker,"CPSliderColorPicker"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_contentView"),new objj_ivar("_redSlider"),new objj_ivar("_greenSlider"),new objj_ivar("_blueSlider"),new objj_ivar("_hueSlider"),new objj_ivar("_saturationSlider"),new objj_ivar("_brightnessSlider"),new objj_ivar("_rgbLabel"),new objj_ivar("_hsbLabel"),new objj_ivar("_redLabel"),new objj_ivar("_greenLabel"),new objj_ivar("_blueLabel"),new objj_ivar("_hueLabel"),new objj_ivar("_saturationLabel"),new objj_ivar("_brightnessLabel"),new objj_ivar("_hexLabel")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithPickerMask:colorPanel:"),function(_3,_4,_5,_6){ +with(_3){ +return objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPSliderColorPicker").super_class},"initWithPickerMask:colorPanel:",_5,_6); +} +}),new objj_method(sel_getUid("initView"),function(_7,_8){ +with(_7){ +aFrame=CPRectMake(0,0,CPColorPickerViewWidth,CPColorPickerViewHeight); +_contentView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",aFrame); +objj_msgSend(_contentView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_rgbLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,10,100,20)); +objj_msgSend(_rgbLabel,"setStringValue:","Red, Green, Blue"); +objj_msgSend(_rgbLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_redLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,35,15,20)); +objj_msgSend(_redLabel,"setStringValue:","R"); +objj_msgSend(_redLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_redSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,35,aFrame.size.width-70,20)); +objj_msgSend(_redSlider,"setMaxValue:",1); +objj_msgSend(_redSlider,"setMinValue:",0); +objj_msgSend(_redSlider,"setTarget:",_7); +objj_msgSend(_redSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_redSlider,"setAutoresizingMask:",CPViewWidthSizable); +_greenLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,58,15,20)); +objj_msgSend(_greenLabel,"setStringValue:","G"); +objj_msgSend(_greenLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_greenSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,58,aFrame.size.width-70,20)); +objj_msgSend(_greenSlider,"setMaxValue:",1); +objj_msgSend(_greenSlider,"setMinValue:",0); +objj_msgSend(_greenSlider,"setTarget:",_7); +objj_msgSend(_greenSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_greenSlider,"setAutoresizingMask:",CPViewWidthSizable); +_blueLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,81,15,20)); +objj_msgSend(_blueLabel,"setStringValue:","B"); +objj_msgSend(_blueLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_blueSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,81,aFrame.size.width-70,20)); +objj_msgSend(_blueSlider,"setMaxValue:",1); +objj_msgSend(_blueSlider,"setMinValue:",0); +objj_msgSend(_blueSlider,"setTarget:",_7); +objj_msgSend(_blueSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_blueSlider,"setAutoresizingMask:",CPViewWidthSizable); +_hsbLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,120,190,20)); +objj_msgSend(_hsbLabel,"setStringValue:","Hue, Saturation, Brightness"); +objj_msgSend(_hsbLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_hueLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,145,15,20)); +objj_msgSend(_hueLabel,"setStringValue:","H"); +objj_msgSend(_hueLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_hueSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,145,aFrame.size.width-70,20)); +objj_msgSend(_hueSlider,"setMaxValue:",359); +objj_msgSend(_hueSlider,"setMinValue:",0); +objj_msgSend(_hueSlider,"setTarget:",_7); +objj_msgSend(_hueSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_hueSlider,"setAutoresizingMask:",CPViewWidthSizable); +_saturationLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,168,15,20)); +objj_msgSend(_saturationLabel,"setStringValue:","S"); +objj_msgSend(_saturationLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_saturationSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,168,aFrame.size.width-70,20)); +objj_msgSend(_saturationSlider,"setMaxValue:",100); +objj_msgSend(_saturationSlider,"setMinValue:",0); +objj_msgSend(_saturationSlider,"setTarget:",_7); +objj_msgSend(_saturationSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_saturationSlider,"setAutoresizingMask:",CPViewWidthSizable); +_brightnessLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,191,15,20)); +objj_msgSend(_brightnessLabel,"setStringValue:","B"); +objj_msgSend(_brightnessLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_brightnessSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,191,aFrame.size.width-70,20)); +objj_msgSend(_brightnessSlider,"setMaxValue:",100); +objj_msgSend(_brightnessSlider,"setMinValue:",0); +objj_msgSend(_brightnessSlider,"setTarget:",_7); +objj_msgSend(_brightnessSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_brightnessSlider,"setAutoresizingMask:",CPViewWidthSizable); +_hexLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,230,30,20)); +objj_msgSend(_hexLabel,"setStringValue:","Hex"); +objj_msgSend(_hexLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_contentView,"addSubview:",_rgbLabel); +objj_msgSend(_contentView,"addSubview:",_redLabel); +objj_msgSend(_contentView,"addSubview:",_greenLabel); +objj_msgSend(_contentView,"addSubview:",_blueLabel); +objj_msgSend(_contentView,"addSubview:",_redSlider); +objj_msgSend(_contentView,"addSubview:",_greenSlider); +objj_msgSend(_contentView,"addSubview:",_blueSlider); +objj_msgSend(_contentView,"addSubview:",_hsbLabel); +objj_msgSend(_contentView,"addSubview:",_hueLabel); +objj_msgSend(_contentView,"addSubview:",_saturationLabel); +objj_msgSend(_contentView,"addSubview:",_brightnessLabel); +objj_msgSend(_contentView,"addSubview:",_hueSlider); +objj_msgSend(_contentView,"addSubview:",_saturationSlider); +objj_msgSend(_contentView,"addSubview:",_brightnessSlider); +objj_msgSend(_contentView,"addSubview:",_hexLabel); +} +}),new objj_method(sel_getUid("provideNewView:"),function(_9,_a,_b){ +with(_9){ +if(_b){ +objj_msgSend(_9,"initView"); +} +return _contentView; +} +}),new objj_method(sel_getUid("currentMode"),function(_c,_d){ +with(_c){ +return CPSliderColorPickerMode; +} +}),new objj_method(sel_getUid("supportsMode:"),function(_e,_f,_10){ +with(_e){ +return (_10==CPSliderColorPickerMode)?YES:NO; +} +}),new objj_method(sel_getUid("sliderChanged:"),function(_11,_12,_13){ +with(_11){ +var _14,_15=objj_msgSend(_11,"colorPanel"),_16=objj_msgSend(_15,"opacity"); +switch(_13){ +case _hueSlider: +case _saturationSlider: +case _brightnessSlider: +_14=objj_msgSend(CPColor,"colorWithHue:saturation:brightness:alpha:",objj_msgSend(_hueSlider,"floatValue"),objj_msgSend(_saturationSlider,"floatValue"),objj_msgSend(_brightnessSlider,"floatValue"),_16); +objj_msgSend(_11,"updateRGBSliders:",_14); +break; +case _redSlider: +case _greenSlider: +case _blueSlider: +_14=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",objj_msgSend(_redSlider,"floatValue"),objj_msgSend(_greenSlider,"floatValue"),objj_msgSend(_blueSlider,"floatValue"),_16); +objj_msgSend(_11,"updateHSBSliders:",_14); +break; +} +objj_msgSend(_11,"updateLabels"); +objj_msgSend(_11,"updateHex:",_14); +objj_msgSend(_15,"setColor:",_14); +} +}),new objj_method(sel_getUid("setColor:"),function(_17,_18,_19){ +with(_17){ +objj_msgSend(_17,"updateRGBSliders:",_19); +objj_msgSend(_17,"updateHSBSliders:",_19); +objj_msgSend(_17,"updateHex:",_19); +objj_msgSend(_17,"updateLabels"); +} +}),new objj_method(sel_getUid("updateHSBSliders:"),function(_1a,_1b,_1c){ +with(_1a){ +var hsb=objj_msgSend(_1c,"hsbComponents"); +objj_msgSend(_hueSlider,"setFloatValue:",hsb[0]); +objj_msgSend(_saturationSlider,"setFloatValue:",hsb[1]); +objj_msgSend(_brightnessSlider,"setFloatValue:",hsb[2]); +} +}),new objj_method(sel_getUid("updateHex:"),function(_1d,_1e,_1f){ +with(_1d){ +} +}),new objj_method(sel_getUid("updateRGBSliders:"),function(_20,_21,_22){ +with(_20){ +var rgb=objj_msgSend(_22,"components"); +objj_msgSend(_redSlider,"setFloatValue:",rgb[0]); +objj_msgSend(_greenSlider,"setFloatValue:",rgb[1]); +objj_msgSend(_blueSlider,"setFloatValue:",rgb[2]); +} +}),new objj_method(sel_getUid("updateLabels"),function(_23,_24){ +with(_23){ +} +}),new objj_method(sel_getUid("provideNewButtonImage"),function(_25,_26){ +with(_25){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","slider_button.png"),CGSizeMake(32,32)); +} +}),new objj_method(sel_getUid("provideNewAlternateButtonImage"),function(_27,_28){ +with(_27){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","slider_button_h.png"),CGSizeMake(32,32)); +} +})]); +p;13;CPSplitView.jt;17936;@STATIC;1.0;i;9;CPImage.ji;8;CPView.jt;17891; +objj_executeFile("CPImage.j",YES); +objj_executeFile("CPView.j",YES); +CPSplitViewDidResizeSubviewsNotification="CPSplitViewDidResizeSubviewsNotification"; +CPSplitViewWillResizeSubviewsNotification="CPSplitViewWillResizeSubviewsNotification"; +var _1=nil,_2=nil; +var _3=objj_allocateClassPair(CPView,"CPSplitView"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_delegate"),new objj_ivar("_isVertical"),new objj_ivar("_isPaneSplitter"),new objj_ivar("_currentDivider"),new objj_ivar("_initialOffset"),new objj_ivar("_originComponent"),new objj_ivar("_sizeComponent"),new objj_ivar("_DOMDividerElements"),new objj_ivar("_dividerImagePath"),new objj_ivar("_drawingDivider"),new objj_ivar("_needsResizeSubviews")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initWithFrame:"),function(_5,_6,_7){ +with(_5){ +if(_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPSplitView").super_class},"initWithFrame:",_7)){ +_currentDivider=CPNotFound; +_DOMDividerElements=[]; +objj_msgSend(_5,"_setVertical:",YES); +} +return _5; +} +}),new objj_method(sel_getUid("dividerThickness"),function(_8,_9){ +with(_8){ +return _isPaneSplitter?1:10; +} +}),new objj_method(sel_getUid("isVertical"),function(_a,_b){ +with(_a){ +return _isVertical; +} +}),new objj_method(sel_getUid("setVertical:"),function(_c,_d,_e){ +with(_c){ +if(!objj_msgSend(_c,"_setVertical:",_e)){ +return; +} +var _f=objj_msgSend(_c,"frame"),_10=objj_msgSend(_c,"dividerThickness"); +objj_msgSend(_c,"_postNotificationWillResize"); +var _11=ROUND((_f.size[_sizeComponent]-_10*(_subviews.length-1))/_subviews.length),_12=0,_13=_subviews.length; +if(objj_msgSend(_c,"isVertical")){ +for(;_12<_13;++_12){ +objj_msgSend(_subviews[_12],"setFrame:",CGRectMake(ROUND((_11+_10)*_12),0,_11,_f.size.height)); +} +}else{ +for(;_12<_13;++_12){ +objj_msgSend(_subviews[_12],"setFrame:",CGRectMake(0,ROUND((_11+_10)*_12),_f.size.width,_11)); +} +} +objj_msgSend(_c,"setNeedsDisplay:",YES); +objj_msgSend(_c,"_postNotificationDidResize"); +} +}),new objj_method(sel_getUid("_setVertical:"),function(_14,_15,_16){ +with(_14){ +var _17=(_isVertical!=_16); +_isVertical=_16; +_originComponent=objj_msgSend(_14,"isVertical")?"x":"y"; +_sizeComponent=objj_msgSend(_14,"isVertical")?"width":"height"; +_dividerImagePath=objj_msgSend(_14,"isVertical")?objj_msgSend(_2,"filename"):objj_msgSend(_1,"filename"); +return _17; +} +}),new objj_method(sel_getUid("isPaneSplitter"),function(_18,_19){ +with(_18){ +return _isPaneSplitter; +} +}),new objj_method(sel_getUid("setIsPaneSplitter:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_isPaneSplitter==_1c){ +return; +} +_isPaneSplitter=_1c; +if(_DOMDividerElements[_drawingDivider]){ +objj_msgSend(_1a,"_setupDOMDivider"); +} +_needsResizeSubviews=YES; +objj_msgSend(_1a,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("didAddSubview:"),function(_1d,_1e,_1f){ +with(_1d){ +_needsResizeSubviews=YES; +} +}),new objj_method(sel_getUid("isSubviewCollapsed:"),function(_20,_21,_22){ +with(_20){ +return objj_msgSend(_22,"frame").size[_sizeComponent]<1?YES:NO; +} +}),new objj_method(sel_getUid("rectOfDividerAtIndex:"),function(_23,_24,_25){ +with(_23){ +var _26=objj_msgSend(_subviews[_25],"frame"),_27=CGRectMakeZero(); +_27.size=objj_msgSend(_23,"frame").size; +_27.size[_sizeComponent]=objj_msgSend(_23,"dividerThickness"); +_27.origin[_originComponent]=_26.origin[_originComponent]+_26.size[_sizeComponent]; +return _27; +} +}),new objj_method(sel_getUid("effectiveRectOfDividerAtIndex:"),function(_28,_29,_2a){ +with(_28){ +var _2b=objj_msgSend(_28,"rectOfDividerAtIndex:",_2a); +var _2c=2; +_2b.size[_sizeComponent]+=_2c*2; +_2b.origin[_originComponent]-=_2c; +return _2b; +} +}),new objj_method(sel_getUid("drawRect:"),function(_2d,_2e,_2f){ +with(_2d){ +var _30=objj_msgSend(_subviews,"count")-1; +while((_30--)>0){ +_drawingDivider=_30; +objj_msgSend(_2d,"drawDividerInRect:",objj_msgSend(_2d,"rectOfDividerAtIndex:",_30)); +} +} +}),new objj_method(sel_getUid("drawDividerInRect:"),function(_31,_32,_33){ +with(_31){ +if(!_DOMDividerElements[_drawingDivider]){ +_DOMDividerElements[_drawingDivider]=document.createElement("div"); +if(_isVertical){ +_DOMDividerElements[_drawingDivider].style.cursor=objj_msgSend(objj_msgSend(CPCursor,"resizeLeftRightCursor"),"_cssString"); +}else{ +_DOMDividerElements[_drawingDivider].style.cursor=objj_msgSend(objj_msgSend(CPCursor,"resizeUpDownCursor"),"_cssString"); +} +_DOMDividerElements[_drawingDivider].style.position="absolute"; +_DOMDividerElements[_drawingDivider].style.backgroundRepeat="repeat"; +_DOMElement.appendChild(_DOMDividerElements[_drawingDivider]); +objj_msgSend(_31,"_setupDOMDivider"); +} +if(NULL){ +var _34=_CGPointApplyAffineTransform(CGPointMake((_33.origin.x),(_33.origin.y)),NULL); +}else{ +var _34={x:(_33.origin.x),y:(_33.origin.y)}; +} +_DOMDividerElements[_drawingDivider].style.left=ROUND(_34.x)+"px"; +_DOMDividerElements[_drawingDivider].style.top=ROUND(_34.y)+"px"; +_DOMDividerElements[_drawingDivider].style.width=MAX(0,ROUND((_33.size.width)))+"px"; +_DOMDividerElements[_drawingDivider].style.height=MAX(0,ROUND((_33.size.height)))+"px"; +} +}),new objj_method(sel_getUid("_setupDOMDivider"),function(_35,_36){ +with(_35){ +if(_isPaneSplitter){ +_DOMDividerElements[_drawingDivider].style.backgroundColor="#A5A5A5"; +_DOMDividerElements[_drawingDivider].style.backgroundImage=""; +}else{ +_DOMDividerElements[_drawingDivider].style.backgroundColor=""; +_DOMDividerElements[_drawingDivider].style.backgroundImage="url('"+_dividerImagePath+"')"; +} +} +}),new objj_method(sel_getUid("viewWillDraw"),function(_37,_38){ +with(_37){ +objj_msgSend(_37,"_adjustSubviewsWithCalculatedSize"); +} +}),new objj_method(sel_getUid("_adjustSubviewsWithCalculatedSize"),function(_39,_3a){ +with(_39){ +if(!_needsResizeSubviews){ +return; +} +_needsResizeSubviews=NO; +var _3b=objj_msgSend(_39,"subviews"),_3c=_3b.length,_3d=CGSizeMakeZero(); +if(objj_msgSend(_39,"isVertical")){ +_3d.width+=objj_msgSend(_39,"dividerThickness")*(_3c-1); +_3d.height=CGRectGetHeight(objj_msgSend(_39,"frame")); +}else{ +_3d.width=CGRectGetWidth(objj_msgSend(_39,"frame")); +_3d.height+=objj_msgSend(_39,"dividerThickness")*(_3c-1); +} +while(_3c--){ +_3d[_sizeComponent]+=objj_msgSend(_3b[_3c],"frame").size[_sizeComponent]; +} +objj_msgSend(_39,"resizeSubviewsWithOldSize:",_3d); +} +}),new objj_method(sel_getUid("cursorAtPoint:hitDividerAtIndex:"),function(_3e,_3f,_40,_41){ +with(_3e){ +var _42=objj_msgSend(_subviews[_41],"frame"),_43=_42.origin[_originComponent]+_42.size[_sizeComponent],_44=objj_msgSend(_3e,"effectiveRectOfDividerAtIndex:",_41),_45=null; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:effectiveRect:forDrawnRect:ofDividerAtIndex:"))){ +_44=objj_msgSend(_delegate,"splitView:effectiveRect:forDrawnRect:ofDividerAtIndex:",_3e,_44,_44,_41); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:additionalEffectiveRectOfDividerAtIndex:"))){ +_45=objj_msgSend(_delegate,"splitView:additionalEffectiveRectOfDividerAtIndex:",_3e,_41); +} +return CGRectContainsPoint(_44,_40)||(_45&&CGRectContainsPoint(_45,_40)); +} +}),new objj_method(sel_getUid("hitTest:"),function(_46,_47,_48){ +with(_46){ +if(objj_msgSend(_46,"isHidden")||!objj_msgSend(_46,"hitTests")||!CGRectContainsPoint(objj_msgSend(_46,"frame"),_48)){ +return nil; +} +var _49=objj_msgSend(_46,"convertPoint:fromView:",_48,objj_msgSend(_46,"superview")); +var _4a=objj_msgSend(_subviews,"count")-1; +for(var i=0;i<_4a;i++){ +if(objj_msgSend(_46,"cursorAtPoint:hitDividerAtIndex:",_49,i)){ +return _46; +} +} +return objj_msgSendSuper({receiver:_46,super_class:objj_getClass("CPSplitView").super_class},"hitTest:",_48); +} +}),new objj_method(sel_getUid("trackDivider:"),function(_4b,_4c,_4d){ +with(_4b){ +var _4e=objj_msgSend(_4d,"type"); +if(_4e==CPLeftMouseUp){ +if(_currentDivider!=CPNotFound){ +_currentDivider=CPNotFound; +objj_msgSend(_4b,"_postNotificationDidResize"); +} +return; +} +if(_4e==CPLeftMouseDown){ +var _4f=objj_msgSend(_4b,"convertPoint:fromView:",objj_msgSend(_4d,"locationInWindow"),nil); +_currentDivider=CPNotFound; +var _50=objj_msgSend(_subviews,"count")-1; +for(var i=0;i<_50;i++){ +var _51=objj_msgSend(_subviews[i],"frame"),_52=_51.origin[_originComponent]+_51.size[_sizeComponent]; +if(objj_msgSend(_4b,"cursorAtPoint:hitDividerAtIndex:",_4f,i)){ +if(objj_msgSend(_4d,"clickCount")==2&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:canCollapseSubview:"))&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:shouldCollapseSubview:forDoubleClickOnDividerAtIndex:"))){ +var _53=objj_msgSend(_4b,"minPossiblePositionOfDividerAtIndex:",i),_54=objj_msgSend(_4b,"maxPossiblePositionOfDividerAtIndex:",i); +if(objj_msgSend(_delegate,"splitView:canCollapseSubview:",_4b,_subviews[i])&&objj_msgSend(_delegate,"splitView:shouldCollapseSubview:forDoubleClickOnDividerAtIndex:",_4b,_subviews[i],i)){ +if(objj_msgSend(_4b,"isSubviewCollapsed:",_subviews[i])){ +objj_msgSend(_4b,"setPosition:ofDividerAtIndex:",(_53+(_54-_53)/2),i); +}else{ +objj_msgSend(_4b,"setPosition:ofDividerAtIndex:",_53,i); +} +}else{ +if(objj_msgSend(_delegate,"splitView:canCollapseSubview:",_4b,_subviews[i+1])&&objj_msgSend(_delegate,"splitView:shouldCollapseSubview:forDoubleClickOnDividerAtIndex:",_4b,_subviews[i+1],i)){ +if(objj_msgSend(_4b,"isSubviewCollapsed:",_subviews[i+1])){ +objj_msgSend(_4b,"setPosition:ofDividerAtIndex:",(_53+(_54-_53)/2),i); +}else{ +objj_msgSend(_4b,"setPosition:ofDividerAtIndex:",_54,i); +} +} +} +}else{ +_currentDivider=i; +_initialOffset=_52-_4f[_originComponent]; +objj_msgSend(_4b,"_postNotificationWillResize"); +} +} +} +if(_currentDivider===CPNotFound){ +return; +} +}else{ +if(_4e==CPLeftMouseDragged&&_currentDivider!=CPNotFound){ +var _4f=objj_msgSend(_4b,"convertPoint:fromView:",objj_msgSend(_4d,"locationInWindow"),nil); +objj_msgSend(_4b,"setPosition:ofDividerAtIndex:",(_4f[_originComponent]+_initialOffset),_currentDivider); +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_4b,sel_getUid("trackDivider:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_55,_56,_57){ +with(_55){ +objj_msgSend(_55,"trackDivider:",_57); +} +}),new objj_method(sel_getUid("maxPossiblePositionOfDividerAtIndex:"),function(_58,_59,_5a){ +with(_58){ +var _5b=objj_msgSend(_subviews[_5a+1],"frame"); +if(_5a+10){ +var _5f=objj_msgSend(_subviews[_5e-1],"frame"); +return _5f.origin[_originComponent]+_5f.size[_sizeComponent]+objj_msgSend(_5c,"dividerThickness"); +}else{ +return 0; +} +} +}),new objj_method(sel_getUid("setPosition:ofDividerAtIndex:"),function(_60,_61,_62,_63){ +with(_60){ +objj_msgSend(_60,"_adjustSubviewsWithCalculatedSize"); +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:constrainSplitPosition:ofSubviewAt:"))){ +_62=objj_msgSend(_delegate,"splitView:constrainSplitPosition:ofSubviewAt:",_60,_62,_63); +} +var _64=objj_msgSend(_60,"maxPossiblePositionOfDividerAtIndex:",_63),_65=objj_msgSend(_60,"minPossiblePositionOfDividerAtIndex:",_63),_66=_64,_67=_65; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:constrainMinCoordinate:ofSubviewAt:"))){ +_67=objj_msgSend(_delegate,"splitView:constrainMinCoordinate:ofSubviewAt:",_60,_65,_63); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:constrainMaxCoordinate:ofSubviewAt:"))){ +_66=objj_msgSend(_delegate,"splitView:constrainMaxCoordinate:ofSubviewAt:",_60,_64,_63); +} +var _68=objj_msgSend(_60,"frame"),_69=_subviews[_63],_6a=objj_msgSend(_69,"frame"),_6b=_subviews[_63+1],_6c=objj_msgSend(_6b,"frame"); +var _6d=MAX(MIN(_62,_66),_67); +if(_62<_65+(_67-_65)/2){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:canCollapseSubview:"))){ +if(objj_msgSend(_delegate,"splitView:canCollapseSubview:",_60,_69)){ +_6d=_65; +} +} +} +_6a.size[_sizeComponent]=_6d-_6a.origin[_originComponent]; +objj_msgSend(_subviews[_63],"setFrame:",_6a); +_6c.size[_sizeComponent]=_6c.origin[_originComponent]+_6c.size[_sizeComponent]-_6d-objj_msgSend(_60,"dividerThickness"); +_6c.origin[_originComponent]=_6d+objj_msgSend(_60,"dividerThickness"); +objj_msgSend(_subviews[_63+1],"setFrame:",_6c); +objj_msgSend(_60,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_6e,_6f,_70){ +with(_6e){ +objj_msgSend(_6e,"_adjustSubviewsWithCalculatedSize"); +objj_msgSendSuper({receiver:_6e,super_class:objj_getClass("CPSplitView").super_class},"setFrameSize:",_70); +objj_msgSend(_6e,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_71,_72,_73){ +with(_71){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:resizeSubviewsWithOldSize:"))){ +objj_msgSend(_delegate,"splitView:resizeSubviewsWithOldSize:",_71,_73); +return; +} +objj_msgSend(_71,"_postNotificationWillResize"); +var _74=0,_75=objj_msgSend(_subviews,"count"),_76=objj_msgSend(_71,"bounds"),_77=objj_msgSend(_71,"dividerThickness"),_78=_75-1,_79=0,_7a=0,_7b=-1,_7c=0,_7d=objj_msgSend(_71,"isVertical"); +for(_74=0;_74<_75;++_74){ +var _7e=_subviews[_74],_7f=_7d?objj_msgSend(_7e,"autoresizingMask")&CPViewWidthSizable:objj_msgSend(_7e,"autoresizingMask")&CPViewHeightSizable; +if(_7f){ +_79+=objj_msgSend(_7e,"frame").size[_sizeComponent]; +_7b=_74; +_7c++; +} +} +if(_7c===_75){ +_79=0; +} +var _7a=_79?_76.size[_sizeComponent]-_79:0,_80=_76.size[_sizeComponent]-_73[_sizeComponent],_81=(_73[_sizeComponent]-_78*_77-_7a),_82=_81<=0?0:(_76.size[_sizeComponent]-_78*_77-_7a)/_81; +for(_74=0;_74<_75;++_74){ +var _7e=_subviews[_74],_83=CGRectMakeCopy(_76),_7f=_7d?objj_msgSend(_7e,"autoresizingMask")&CPViewWidthSizable:objj_msgSend(_7e,"autoresizingMask")&CPViewHeightSizable; +if(_74+1==_75){ +_83.size[_sizeComponent]=_76.size[_sizeComponent]-_83.origin[_originComponent]; +}else{ +if(_79&&_7f&&_7b===_74){ +_83.size[_sizeComponent]=MAX(0,ROUND(objj_msgSend(_7e,"frame").size[_sizeComponent]+_80)); +}else{ +if(_7f||!_79){ +_83.size[_sizeComponent]=MAX(0,ROUND(_82*objj_msgSend(_7e,"frame").size[_sizeComponent])); +_80-=(_83.size[_sizeComponent]-objj_msgSend(_7e,"frame").size[_sizeComponent]); +}else{ +if(_79&&!_7f){ +_83.size[_sizeComponent]=objj_msgSend(_7e,"frame").size[_sizeComponent]; +} +} +} +} +_76.origin[_originComponent]+=_83.size[_sizeComponent]+_77; +objj_msgSend(_7e,"setFrame:",_83); +} +objj_msgSend(_71,"_postNotificationDidResize"); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_84,_85,_86){ +with(_84){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitViewDidResizeSubviews:"))){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_delegate,CPSplitViewDidResizeSubviewsNotification,_84); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitViewWillResizeSubviews:"))){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_delegate,CPSplitViewWillResizeSubviewsNotification,_84); +} +_delegate=_86; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitViewDidResizeSubviews:"))){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_delegate,sel_getUid("splitViewDidResizeSubviews:"),CPSplitViewDidResizeSubviewsNotification,_84); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitViewWillResizeSubviews:"))){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_delegate,sel_getUid("splitViewWillResizeSubviews:"),CPSplitViewWillResizeSubviewsNotification,_84); +} +} +}),new objj_method(sel_getUid("_postNotificationWillResize"),function(_87,_88){ +with(_87){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPSplitViewWillResizeSubviewsNotification,_87); +} +}),new objj_method(sel_getUid("_postNotificationDidResize"),function(_89,_8a){ +with(_89){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPSplitViewDidResizeSubviewsNotification,_89); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("initialize"),function(_8b,_8c){ +with(_8b){ +if(_8b!=objj_msgSend(CPSplitView,"class")){ +return; +} +var _8d=objj_msgSend(CPBundle,"bundleForClass:",_8b); +_1=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8d,"pathForResource:","CPSplitView/CPSplitViewHorizontal.png"),CPSizeMake(5,10)); +_2=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8d,"pathForResource:","CPSplitView/CPSplitViewVertical.png"),CPSizeMake(10,5)); +} +})]); +var _8e="CPSplitViewDelegateKey",_8f="CPSplitViewIsVerticalKey",_90="CPSplitViewIsPaneSplitterKey"; +var _3=objj_getClass("CPSplitView"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPSplitView\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_91,_92,_93){ +with(_91){ +_91=objj_msgSendSuper({receiver:_91,super_class:objj_getClass("CPSplitView").super_class},"initWithCoder:",_93); +if(_91){ +_currentDivider=CPNotFound; +_DOMDividerElements=[]; +_delegate=objj_msgSend(_93,"decodeObjectForKey:",_8e); +_isPaneSplitter=objj_msgSend(_93,"decodeBoolForKey:",_90); +objj_msgSend(_91,"_setVertical:",objj_msgSend(_93,"decodeBoolForKey:",_8f)); +} +return _91; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_94,_95,_96){ +with(_94){ +objj_msgSendSuper({receiver:_94,super_class:objj_getClass("CPSplitView").super_class},"encodeWithCoder:",_96); +objj_msgSend(_96,"encodeConditionalObject:forKey:",_delegate,_8e); +objj_msgSend(_96,"encodeBool:forKey:",_isVertical,_8f); +objj_msgSend(_96,"encodeBool:forKey:",_isPaneSplitter,_90); +} +})]); +p;17;CPStringDrawing.jt;712;@STATIC;1.0;I;21;Foundation/CPString.ji;18;CPPlatformString.jt;645; +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPPlatformString.j",YES); +var _1=objj_getClass("CPString"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPString\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("cssString"),function(_3,_4){ +with(_3){ +return _3; +} +}),new objj_method(sel_getUid("sizeWithFont:"),function(_5,_6,_7){ +with(_5){ +return objj_msgSend(_5,"sizeWithFont:inWidth:",_7,NULL); +} +}),new objj_method(sel_getUid("sizeWithFont:inWidth:"),function(_8,_9,_a,_b){ +with(_8){ +return objj_msgSend(CPPlatformString,"sizeOfString:withFont:forWidth:",_8,_a,_b); +} +})]); +p;15;CPTableColumn.jt;10806;@STATIC;1.0;I;25;Foundation/CPDictionary.jI;21;Foundation/CPObject.jI;29;Foundation/CPSortDescriptor.jI;21;Foundation/CPString.ji;19;CPTableHeaderView.jt;10646; +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPSortDescriptor.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPTableHeaderView.j",YES); +CPTableColumnNoResizing=0; +CPTableColumnAutoresizingMask=1<<0; +CPTableColumnUserResizingMask=1<<1; +var _1=objj_allocateClassPair(CPObject,"CPTableColumn"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_tableView"),new objj_ivar("_headerView"),new objj_ivar("_dataView"),new objj_ivar("_dataViewData"),new objj_ivar("_width"),new objj_ivar("_minWidth"),new objj_ivar("_maxWidth"),new objj_ivar("_resizingMask"),new objj_ivar("_identifier"),new objj_ivar("_isEditable"),new objj_ivar("_sortDescriptorPrototype"),new objj_ivar("_isHidden"),new objj_ivar("_headerToolTip"),new objj_ivar("_disableResizingPosting")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("disableResizingPosting"),function(_3,_4){ +with(_3){ +return _disableResizingPosting; +} +}),new objj_method(sel_getUid("setDisableResizingPosting:"),function(_5,_6,_7){ +with(_5){ +_disableResizingPosting=_7; +} +}),new objj_method(sel_getUid("init"),function(_8,_9){ +with(_8){ +return objj_msgSend(_8,"initWithIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithIdentifier:"),function(_a,_b,_c){ +with(_a){ +_a=objj_msgSendSuper({receiver:_a,super_class:objj_getClass("CPTableColumn").super_class},"init"); +if(_a){ +_dataViewData={}; +_width=100; +_minWidth=10; +_maxWidth=1000000; +_resizingMask=CPTableColumnAutoresizingMask|CPTableColumnUserResizingMask; +_disableResizingPosting=NO; +objj_msgSend(_a,"setIdentifier:",_c); +var _d=objj_msgSend(objj_msgSend(_CPTableColumnHeaderView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_a,"setHeaderView:",_d); +var _e=objj_msgSend(CPTextField,"new"); +objj_msgSend(_e,"setLineBreakMode:",CPLineBreakByTruncatingTail); +objj_msgSend(_e,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","333333"),"text-color"); +objj_msgSend(_e,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"whiteColor"),"text-color",CPThemeStateSelected); +objj_msgSend(_e,"setValue:forThemeAttribute:inState:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12),"font",CPThemeStateSelected); +objj_msgSend(_e,"setValue:forThemeAttribute:",CPCenterVerticalTextAlignment,"vertical-alignment"); +objj_msgSend(_a,"setDataView:",_e); +} +return _a; +} +}),new objj_method(sel_getUid("setTableView:"),function(_f,_10,_11){ +with(_f){ +_tableView=_11; +} +}),new objj_method(sel_getUid("tableView"),function(_12,_13){ +with(_12){ +return _tableView; +} +}),new objj_method(sel_getUid("setWidth:"),function(_14,_15,_16){ +with(_14){ +_16=+_16; +if(_width===_16){ +return; +} +var _17=MIN(MAX(_16,objj_msgSend(_14,"minWidth")),objj_msgSend(_14,"maxWidth")); +if(_width===_17){ +return; +} +var _18=_width; +_width=_17; +var _19=objj_msgSend(_14,"tableView"); +if(_19){ +var _1a=objj_msgSend(objj_msgSend(_19,"tableColumns"),"indexOfObjectIdenticalTo:",_14),_1b=_19._dirtyTableColumnRangeIndex; +if(_1b<0){ +_19._dirtyTableColumnRangeIndex=_1a; +}else{ +_19._dirtyTableColumnRangeIndex=MIN(_1a,_19._dirtyTableColumnRangeIndex); +} +var _1c=_19._exposedRows,_1d=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(_1a,objj_msgSend(_19._exposedColumns,"lastIndex")-_1a+1)); +objj_msgSend(_19,"_layoutDataViewsInRows:columns:",_1c,_1d); +objj_msgSend(_19,"tile"); +if(!_disableResizingPosting){ +objj_msgSend(_14,"_postDidResizeNotificationWithOldWidth:",_18); +} +} +} +}),new objj_method(sel_getUid("width"),function(_1e,_1f){ +with(_1e){ +return _width; +} +}),new objj_method(sel_getUid("setMinWidth:"),function(_20,_21,_22){ +with(_20){ +_22=+_22; +if(_minWidth===_22){ +return; +} +_minWidth=_22; +var _23=objj_msgSend(_20,"width"),_24=MAX(_23,objj_msgSend(_20,"minWidth")); +if(_23!==_24){ +objj_msgSend(_20,"setWidth:",_24); +} +} +}),new objj_method(sel_getUid("minWidth"),function(_25,_26){ +with(_25){ +return _minWidth; +} +}),new objj_method(sel_getUid("setMaxWidth:"),function(_27,_28,_29){ +with(_27){ +_29=+_29; +if(_maxWidth===_29){ +return; +} +_maxWidth=_29; +var _2a=objj_msgSend(_27,"width"),_2b=MIN(_2a,objj_msgSend(_27,"maxWidth")); +if(_2a!==_2b){ +objj_msgSend(_27,"setWidth:",_2b); +} +} +}),new objj_method(sel_getUid("maxWidth"),function(_2c,_2d){ +with(_2c){ +return _maxWidth; +} +}),new objj_method(sel_getUid("setResizingMask:"),function(_2e,_2f,_30){ +with(_2e){ +_resizingMask=_30; +} +}),new objj_method(sel_getUid("resizingMask"),function(_31,_32){ +with(_31){ +return _resizingMask; +} +}),new objj_method(sel_getUid("sizeToFit"),function(_33,_34){ +with(_33){ +var _35=(objj_msgSend(_headerView,"frame").size.width); +if(_35objj_msgSend(_33,"maxWidth")){ +objj_msgSend(_33,"setMaxWidth:",_35); +} +} +if(_width!==_35){ +objj_msgSend(_33,"setWidth:",_35); +} +} +}),new objj_method(sel_getUid("setHeaderView:"),function(_36,_37,_38){ +with(_36){ +if(!_38){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Attempt to set nil header view on "+objj_msgSend(_36,"description")); +} +_headerView=_38; +var _39=objj_msgSend(_tableView,"headerView"); +objj_msgSend(_39,"setNeedsLayout"); +objj_msgSend(_39,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("headerView"),function(_3a,_3b){ +with(_3a){ +return _headerView; +} +}),new objj_method(sel_getUid("setDataView:"),function(_3c,_3d,_3e){ +with(_3c){ +if(_dataView===_3e){ +return; +} +if(_dataView){ +_dataViewData[objj_msgSend(_dataView,"UID")]=nil; +} +_dataView=_3e; +_dataViewData[objj_msgSend(_3e,"UID")]=objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_3e); +} +}),new objj_method(sel_getUid("dataView"),function(_3f,_40){ +with(_3f){ +return _dataView; +} +}),new objj_method(sel_getUid("dataViewForRow:"),function(_41,_42,_43){ +with(_41){ +return objj_msgSend(_41,"dataView"); +} +}),new objj_method(sel_getUid("_newDataViewForRow:"),function(_44,_45,_46){ +with(_44){ +var _47=objj_msgSend(_44,"dataViewForRow:",_46),_48=objj_msgSend(_47,"UID"); +var x=objj_msgSend(_44,"tableView")._cachedDataViews[_48]; +if(x&&x.length){ +return x.pop(); +} +if(!_dataViewData[_48]){ +_dataViewData[_48]=objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_47); +} +var _49=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",_dataViewData[_48]); +_49.identifier=_48; +return _49; +} +}),new objj_method(sel_getUid("setIdentifier:"),function(_4a,_4b,_4c){ +with(_4a){ +_identifier=_4c; +} +}),new objj_method(sel_getUid("identifier"),function(_4d,_4e){ +with(_4d){ +return _identifier; +} +}),new objj_method(sel_getUid("setEditable:"),function(_4f,_50,_51){ +with(_4f){ +_isEditable=_51; +} +}),new objj_method(sel_getUid("isEditable"),function(_52,_53){ +with(_52){ +return _isEditable; +} +}),new objj_method(sel_getUid("setSortDescriptorPrototype:"),function(_54,_55,_56){ +with(_54){ +_sortDescriptorPrototype=_56; +} +}),new objj_method(sel_getUid("sortDescriptorPrototype"),function(_57,_58){ +with(_57){ +return _sortDescriptorPrototype; +} +}),new objj_method(sel_getUid("setHidden:"),function(_59,_5a,_5b){ +with(_59){ +_isHidden=_5b; +} +}),new objj_method(sel_getUid("isHidden"),function(_5c,_5d){ +with(_5c){ +return _isHidden; +} +}),new objj_method(sel_getUid("setHeaderToolTip:"),function(_5e,_5f,_60){ +with(_5e){ +_headerToolTip=_60; +} +}),new objj_method(sel_getUid("headerToolTip"),function(_61,_62){ +with(_61){ +return _headerToolTip; +} +}),new objj_method(sel_getUid("_postDidResizeNotificationWithOldWidth:"),function(_63,_64,_65){ +with(_63){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPTableViewColumnDidResizeNotification,objj_msgSend(_63,"tableView"),objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[_63,_65],["CPTableColumn","CPOldWidth"])); +} +})]); +var _66="CPTableColumnIdentifierKey",_67="CPTableColumnHeaderViewKey",_68="CPTableColumnDataViewKey",_69="CPTableColumnWidthKey",_6a="CPTableColumnMinWidthKey",_6b="CPTableColumnMaxWidthKey",_6c="CPTableColumnResizingMaskKey"; +var _1=objj_getClass("CPTableColumn"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTableColumn\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_6d,_6e,_6f){ +with(_6d){ +_6d=objj_msgSendSuper({receiver:_6d,super_class:objj_getClass("CPTableColumn").super_class},"init"); +if(_6d){ +_dataViewData={}; +_width=objj_msgSend(_6f,"decodeFloatForKey:",_69); +_minWidth=objj_msgSend(_6f,"decodeFloatForKey:",_6a); +_maxWidth=objj_msgSend(_6f,"decodeFloatForKey:",_6b); +objj_msgSend(_6d,"setIdentifier:",objj_msgSend(_6f,"decodeObjectForKey:",_66)); +objj_msgSend(_6d,"setHeaderView:",objj_msgSend(_6f,"decodeObjectForKey:",_67)); +objj_msgSend(_6d,"setDataView:",objj_msgSend(_6f,"decodeObjectForKey:",_68)); +objj_msgSend(_6d,"setHeaderView:",objj_msgSend(_6f,"decodeObjectForKey:",_67)); +_resizingMask=objj_msgSend(_6f,"decodeBoolForKey:",_6c); +} +return _6d; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_70,_71,_72){ +with(_70){ +objj_msgSend(_72,"encodeObject:forKey:",_identifier,_66); +objj_msgSend(_72,"encodeObject:forKey:",_width,_69); +objj_msgSend(_72,"encodeObject:forKey:",_minWidth,_6a); +objj_msgSend(_72,"encodeObject:forKey:",_maxWidth,_6b); +objj_msgSend(_72,"encodeObject:forKey:",_headerView,_67); +objj_msgSend(_72,"encodeObject:forKey:",_dataView,_68); +objj_msgSend(_72,"encodeObject:forKey:",_resizingMask,_6c); +} +})]); +var _1=objj_getClass("CPTableColumn"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTableColumn\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("setHeaderCell:"),function(_73,_74,_75){ +with(_73){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"setHeaderCell: is not supported. -setHeaderCell:aView instead."); +} +}),new objj_method(sel_getUid("headerCell"),function(_76,_77){ +with(_76){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"headCell is not supported. -headerView instead."); +} +}),new objj_method(sel_getUid("setDataCell:"),function(_78,_79,_7a){ +with(_78){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"setDataCell: is not supported. Use -setHeaderCell:aView instead."); +} +}),new objj_method(sel_getUid("dataCell"),function(_7b,_7c){ +with(_7b){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"dataCell is not supported. Use -dataCell instead."); +} +}),new objj_method(sel_getUid("dataCellForRow:"),function(_7d,_7e,row){ +with(_7d){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"dataCellForRow: is not supported. Use -dataViewForRow:row instead."); +} +})]); +p;19;CPTableHeaderView.jt;14359;@STATIC;1.0;i;15;CPTableColumn.ji;13;CPTableView.ji;8;CPView.jt;14289; +objj_executeFile("CPTableColumn.j",YES); +objj_executeFile("CPTableView.j",YES); +objj_executeFile("CPView.j",YES); +var _1=objj_allocateClassPair(CPView,"_CPTableColumnHeaderView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_textField")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPTableColumnHeaderView").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"_init"); +} +return _3; +} +}),new objj_method(sel_getUid("_init"),function(_6,_7){ +with(_6){ +_textField=objj_msgSend(objj_msgSend(_CPImageAndTextView,"alloc"),"initWithFrame:",CGRectMake(5,1,CGRectGetWidth(objj_msgSend(_6,"bounds"))-10,CGRectGetHeight(objj_msgSend(_6,"bounds"))-1)); +objj_msgSend(_textField,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_textField,"setLineBreakMode:",CPLineBreakByTruncatingTail); +objj_msgSend(_textField,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","333333")); +objj_msgSend(_textField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12)); +objj_msgSend(_textField,"setAlignment:",CPLeftTextAlignment); +objj_msgSend(_textField,"setVerticalAlignment:",CPCenterVerticalTextAlignment); +objj_msgSend(_textField,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor")); +objj_msgSend(_textField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_6,"addSubview:",_textField); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_8,_9){ +with(_8){ +var _a=objj_msgSend(_8,"themeState"); +if(_a&CPThemeStateSelected&&_a&CPThemeStateHighlighted){ +objj_msgSend(_8,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview-highlighted-pressed.png",CGSizeMake(1,22)))); +}else{ +if(_a&CPThemeStateSelected){ +objj_msgSend(_8,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview-highlighted.png",CGSizeMake(1,22)))); +}else{ +if(_a&CPThemeStateHighlighted){ +objj_msgSend(_8,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview-pressed.png",CGSizeMake(1,22)))); +}else{ +objj_msgSend(_8,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview.png",CGSizeMake(1,22)))); +} +} +} +} +}),new objj_method(sel_getUid("setStringValue:"),function(_b,_c,_d){ +with(_b){ +objj_msgSend(_textField,"setText:",_d); +} +}),new objj_method(sel_getUid("stringValue"),function(_e,_f){ +with(_e){ +return objj_msgSend(_textField,"text"); +} +}),new objj_method(sel_getUid("textField"),function(_10,_11){ +with(_10){ +return _textField; +} +}),new objj_method(sel_getUid("sizeToFit"),function(_12,_13){ +with(_12){ +objj_msgSend(_textField,"sizeToFit"); +} +}),new objj_method(sel_getUid("setFont:"),function(_14,_15,_16){ +with(_14){ +objj_msgSend(_textField,"setFont:",_16); +} +}),new objj_method(sel_getUid("setValue:forThemeAttribute:"),function(_17,_18,_19,_1a){ +with(_17){ +objj_msgSend(_textField,"setValue:forThemeAttribute:",_19,_1a); +} +}),new objj_method(sel_getUid("_setIndicatorImage:"),function(_1b,_1c,_1d){ +with(_1b){ +if(_1d){ +objj_msgSend(_textField,"setImage:",_1d); +objj_msgSend(_textField,"setImagePosition:",CPImageRight); +}else{ +objj_msgSend(_textField,"setImagePosition:",CPNoImage); +} +} +})]); +var _1e="_CPTableColumnHeaderViewStringValueKey",_1f="_CPTableColumnHeaderViewFontKey",_20="_CPTableColumnHeaderViewImageKey"; +var _1=objj_getClass("_CPTableColumnHeaderView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPTableColumnHeaderView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_21,_22,_23){ +with(_21){ +if(_21=objj_msgSendSuper({receiver:_21,super_class:objj_getClass("_CPTableColumnHeaderView").super_class},"initWithCoder:",_23)){ +objj_msgSend(_21,"_init"); +objj_msgSend(_21,"_setIndicatorImage:",objj_msgSend(_23,"decodeObjectForKey:",_20)); +objj_msgSend(_21,"setStringValue:",objj_msgSend(_23,"decodeObjectForKey:",_1e)); +objj_msgSend(_21,"setFont:",objj_msgSend(_23,"decodeObjectForKey:",_1f)); +} +return _21; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_24,_25,_26){ +with(_24){ +objj_msgSendSuper({receiver:_24,super_class:objj_getClass("_CPTableColumnHeaderView").super_class},"encodeWithCoder:",_26); +objj_msgSend(_26,"encodeObject:forKey:",objj_msgSend(_textField,"text"),_1e); +objj_msgSend(_26,"encodeObject:forKey:",objj_msgSend(_textField,"image"),_20); +objj_msgSend(_26,"encodeObject:forKey:",objj_msgSend(_textField,"font"),_1f); +} +})]); +var _1=objj_allocateClassPair(CPView,"CPTableHeaderView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_resizedColumn"),new objj_ivar("_draggedColumn"),new objj_ivar("_pressedColumn"),new objj_ivar("_draggedDistance"),new objj_ivar("_lastLocation"),new objj_ivar("_columnOldWidth"),new objj_ivar("_tableView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("resizedColumn"),function(_27,_28){ +with(_27){ +return _resizedColumn; +} +}),new objj_method(sel_getUid("draggedColumn"),function(_29,_2a){ +with(_29){ +return _draggedColumn; +} +}),new objj_method(sel_getUid("pressedColumn"),function(_2b,_2c){ +with(_2b){ +return _pressedColumn; +} +}),new objj_method(sel_getUid("draggedDistance"),function(_2d,_2e){ +with(_2d){ +return _draggedDistance; +} +}),new objj_method(sel_getUid("tableView"),function(_2f,_30){ +with(_2f){ +return _tableView; +} +}),new objj_method(sel_getUid("setTableView:"),function(_31,_32,_33){ +with(_31){ +_tableView=_33; +} +}),new objj_method(sel_getUid("_init"),function(_34,_35){ +with(_34){ +_resizedColumn=-1; +_draggedColumn=-1; +_pressedColumn=-1; +_draggedDistance=0; +_lastLocation=nil; +_columnOldWidth=nil; +objj_msgSend(_34,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview.png",CGSizeMake(1,22)))); +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_36,_37,_38){ +with(_36){ +_36=objj_msgSendSuper({receiver:_36,super_class:objj_getClass("CPTableHeaderView").super_class},"initWithFrame:",_38); +if(_36){ +objj_msgSend(_36,"_init"); +} +return _36; +} +}),new objj_method(sel_getUid("columnAtPoint:"),function(_39,_3a,_3b){ +with(_39){ +return objj_msgSend(_tableView,"columnAtPoint:",CGPointMake(_3b.x,0)); +} +}),new objj_method(sel_getUid("headerRectOfColumn:"),function(_3c,_3d,_3e){ +with(_3c){ +var _3f=objj_msgSend(_tableView,"tableColumns"); +if(_3e<0||_3e>objj_msgSend(_3f,"count")){ +objj_msgSend(CPException,"raise:reason:","invalid","tried to get headerRectOfColumn: on invalid column"); +} +var _40=_tableView._tableColumnRanges[_3e],_41=objj_msgSend(_3c,"bounds"); +var _42=ROUND(_40.location); +_41.origin.x=_42; +_41.size.width=FLOOR(_40.length+_40.location-_42); +return _41; +} +}),new objj_method(sel_getUid("_cursorRectForColumn:"),function(_43,_44,_45){ +with(_43){ +if(_45==-1||!(objj_msgSend(_tableView._tableColumns[_45],"resizingMask")&CPTableColumnUserResizingMask)){ +return CGRectMakeZero(); +} +var _46=objj_msgSend(_43,"headerRectOfColumn:",_45); +_46.origin.x=CGRectGetMaxX(_46)-5; +_46.size.width=20; +return _46; +} +}),new objj_method(sel_getUid("_setPressedColumn:"),function(_47,_48,_49){ +with(_47){ +if(_pressedColumn!=-1){ +var _4a=objj_msgSend(_tableView._tableColumns[_pressedColumn],"headerView"); +objj_msgSend(_4a,"unsetThemeState:",CPThemeStateHighlighted); +} +if(_49!=-1){ +var _4a=objj_msgSend(_tableView._tableColumns[_49],"headerView"); +objj_msgSend(_4a,"setThemeState:",CPThemeStateHighlighted); +} +_pressedColumn=_49; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_4b,_4c,_4d){ +with(_4b){ +var _4e=objj_msgSend(_4b,"convertPoint:fromView:",objj_msgSend(_4d,"locationInWindow"),nil),_4f=objj_msgSend(_4b,"columnAtPoint:",_4e); +objj_msgSend(_tableView,"_sendDelegateDidMouseDownInHeader:",_4f); +var _50=CGPointMake(_4e.x-5,_4e.y),_51=objj_msgSend(_4b,"columnAtPoint:",_50); +if(_51==-1){ +return; +} +if(objj_msgSend(_tableView,"allowsColumnResizing")&&CGRectContainsPoint(objj_msgSend(_4b,"_cursorRectForColumn:",_51),_4e)){ +_resizedColumn=_51; +objj_msgSend(_tableView._tableColumns[_resizedColumn],"setDisableResizingPosting:",YES); +objj_msgSend(_tableView,"setDisableAutomaticResizing:",YES); +objj_msgSend(_4b,"trackResizeWithEvent:",_4d); +}else{ +objj_msgSend(_4b,"_setPressedColumn:",_4f); +objj_msgSend(_4b,"trackMouseWithEvent:",_4d); +} +} +}),new objj_method(sel_getUid("trackMouseWithEvent:"),function(_52,_53,_54){ +with(_52){ +var _55=objj_msgSend(_54,"type"); +if(_55==CPLeftMouseUp){ +var _56=objj_msgSend(_52,"convertPoint:fromView:",objj_msgSend(_54,"locationInWindow"),nil),_57=objj_msgSend(_52,"columnAtPoint:",_56); +objj_msgSend(_52,"_setPressedColumn:",-1); +if(_57!=-1){ +objj_msgSend(_tableView,"_didClickTableColumn:modifierFlags:",_57,objj_msgSend(_54,"modifierFlags")); +} +return; +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_52,sel_getUid("trackMouseWithEvent:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask|CPLeftMouseDownMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("trackResizeWithEvent:"),function(_58,_59,_5a){ +with(_58){ +var _5b=objj_msgSend(_58,"convertPoint:fromView:",objj_msgSend(_5a,"locationInWindow"),nil),_5c=objj_msgSend(objj_msgSend(_tableView,"tableColumns"),"objectAtIndex:",_resizedColumn),_5d=objj_msgSend(_5a,"type"); +if(_lastLocation==nil){ +_lastLocation=_5b; +} +if(_columnOldWidth==nil){ +_columnOldWidth=objj_msgSend(_5c,"width"); +} +if(_5d===CPLeftMouseUp){ +objj_msgSend(_58,"_updateResizeCursor:",_5a); +objj_msgSend(_5c,"_postDidResizeNotificationWithOldWidth:",_columnOldWidth); +objj_msgSend(_5c,"setDisableResizingPosting:",NO); +objj_msgSend(_tableView,"setDisableAutomaticResizing:",NO); +_resizedColumn=-1; +_lastLocation=nil; +_columnOldWidth=nil; +return; +}else{ +if(_5d===CPLeftMouseDragged){ +var _5e=objj_msgSend(_5c,"width")+_5b.x-_lastLocation.x; +if(_5eobjj_msgSend(_5c,"maxWidth")){ +objj_msgSend(objj_msgSend(CPCursor,"resizeLeftCursor"),"set"); +}else{ +_tableView._lastColumnShouldSnap=NO; +objj_msgSend(_5c,"setWidth:",_5e); +_lastLocation=_5b; +objj_msgSend(objj_msgSend(CPCursor,"resizeLeftRightCursor"),"set"); +objj_msgSend(_58,"setNeedsLayout"); +objj_msgSend(_58,"setNeedsDisplay:",YES); +} +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_58,sel_getUid("trackResizeWithEvent:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("_updateResizeCursor:"),function(_5f,_60,_61){ +with(_5f){ +if(!objj_msgSend(_tableView,"allowsColumnResizing")||(objj_msgSend(_61,"type")===CPLeftMouseUp&&!objj_msgSend(objj_msgSend(_5f,"window"),"acceptsMouseMovedEvents"))){ +objj_msgSend(objj_msgSend(CPCursor,"arrowCursor"),"set"); +return; +} +var _62=objj_msgSend(_5f,"convertPoint:fromView:",objj_msgSend(_61,"locationInWindow"),nil),_63=CGPointMake(_62.x-5,_62.y),_64=objj_msgSend(_5f,"columnAtPoint:",_63); +if(_64>=0&&CGRectContainsPoint(objj_msgSend(_5f,"_cursorRectForColumn:",_64),_62)){ +var _65=objj_msgSend(objj_msgSend(_tableView,"tableColumns"),"objectAtIndex:",_64),_66=objj_msgSend(_65,"width"); +if(_66==objj_msgSend(_65,"minWidth")){ +objj_msgSend(objj_msgSend(CPCursor,"resizeRightCursor"),"set"); +}else{ +if(_66==objj_msgSend(_65,"maxWidth")){ +objj_msgSend(objj_msgSend(CPCursor,"resizeLeftCursor"),"set"); +}else{ +objj_msgSend(objj_msgSend(CPCursor,"resizeLeftRightCursor"),"set"); +} +} +}else{ +objj_msgSend(objj_msgSend(CPCursor,"arrowCursor"),"set"); +} +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_67,_68){ +with(_67){ +} +}),new objj_method(sel_getUid("mouseEntered:"),function(_69,_6a,_6b){ +with(_69){ +objj_msgSend(_69,"_updateResizeCursor:",_6b); +} +}),new objj_method(sel_getUid("mouseMoved:"),function(_6c,_6d,_6e){ +with(_6c){ +objj_msgSend(_6c,"_updateResizeCursor:",_6e); +} +}),new objj_method(sel_getUid("mouseExited:"),function(_6f,_70,_71){ +with(_6f){ +objj_msgSend(objj_msgSend(CPCursor,"arrowCursor"),"set"); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_72,_73){ +with(_72){ +var _74=objj_msgSend(_tableView,"tableColumns"),_75=objj_msgSend(_74,"count"); +for(var i=0;i<_75;i++){ +var _76=objj_msgSend(_74,"objectAtIndex:",i),_77=objj_msgSend(_76,"headerView"); +var _78=objj_msgSend(_72,"headerRectOfColumn:",i); +_78.size.height-=0.5; +if(i>0){ +_78.origin.x+=0.5; +_78.size.width-=1; +} +objj_msgSend(_77,"setFrame:",_78); +if(objj_msgSend(_77,"superview")!=_72){ +objj_msgSend(_72,"addSubview:",_77); +} +} +} +}),new objj_method(sel_getUid("drawRect:"),function(_79,_7a,_7b){ +with(_79){ +if(!_tableView){ +return; +} +var _7c=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_7d=objj_msgSend(_tableView,"columnIndexesInRect:",_7b),_7e=[],_7f=objj_msgSend(_tableView,"tableColumns"),_80=_tableView._exposedColumns,_81=objj_msgSend(_80,"firstIndex"),_82=CPMakeRange(_81,objj_msgSend(_80,"lastIndex")-_81+1); +CGContextSetLineWidth(_7c,1); +CGContextSetStrokeColor(_7c,objj_msgSend(_tableView,"gridColor")); +objj_msgSend(_7d,"getIndexes:maxCount:inIndexRange:",_7e,-1,_82); +var _83=0,_84=_7e.length,_85; +CGContextBeginPath(_7c); +for(;_83<_84;_83++){ +var _86=_7e[_83],_87=objj_msgSend(_79,"headerRectOfColumn:",_86); +_85=CGRectGetMaxX(_87); +CGContextMoveToPoint(_7c,ROUND(_85)+0.5,ROUND(CGRectGetMinY(_87))); +CGContextAddLineToPoint(_7c,ROUND(_85)+0.5,ROUND(CGRectGetMaxY(_87))); +} +CGContextClosePath(_7c); +CGContextStrokePath(_7c); +} +})]); +var _88="CPTableHeaderViewTableViewKey"; +var _1=objj_getClass("CPTableHeaderView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTableHeaderView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_89,_8a,_8b){ +with(_89){ +if(_89=objj_msgSendSuper({receiver:_89,super_class:objj_getClass("CPTableHeaderView").super_class},"initWithCoder:",_8b)){ +objj_msgSend(_89,"_init"); +_tableView=objj_msgSend(_8b,"decodeObjectForKey:",_88); +} +return _89; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_8c,_8d,_8e){ +with(_8c){ +objj_msgSendSuper({receiver:_8c,super_class:objj_getClass("CPTableHeaderView").super_class},"encodeWithCoder:",_8e); +objj_msgSend(_8e,"encodeObject:forKey:",_tableView,_88); +} +})]); +p;13;CPTableView.jt;85667;@STATIC;1.0;I;20;Foundation/CPArray.jI;19;AppKit/CGGradient.ji;11;CPControl.ji;15;CPTableColumn.ji;15;_CPCornerView.ji;12;CPScroller.jt;85525; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("AppKit/CGGradient.j",NO); +objj_executeFile("CPControl.j",YES); +objj_executeFile("CPTableColumn.j",YES); +objj_executeFile("_CPCornerView.j",YES); +objj_executeFile("CPScroller.j",YES); +CPTableViewColumnDidMoveNotification="CPTableViewColumnDidMoveNotification"; +CPTableViewColumnDidResizeNotification="CPTableViewColumnDidResizeNotification"; +CPTableViewSelectionDidChangeNotification="CPTableViewSelectionDidChangeNotification"; +CPTableViewSelectionIsChangingNotification="CPTableViewSelectionIsChangingNotification"; +var _1=1<<2,_2=1<<3,_3=1<<4,_4=1<<5,_5=1<<6,_6=1<<7; +var _7=1<<0,_8=1<<1,_9=1<<2,_a=1<<3,_b=1<<4,_c=1<<5,_d=1<<6,_e=1<<7,_f=1<<8,_10=1<<9,_11=1<<10,_12=1<<11,_13=1<<12,_14=1<<13,_15=1<<14,_16=1<<15,_17=1<<16,_18=1<<17,_19=1<<18,_1a=1<<19; +CPTableViewDraggingDestinationFeedbackStyleNone=-1; +CPTableViewDraggingDestinationFeedbackStyleRegular=0; +CPTableViewDraggingDestinationFeedbackStyleSourceList=1; +CPTableViewDropOn=0; +CPTableViewDropAbove=1; +CPTableViewSelectionHighlightStyleNone=-1; +CPTableViewSelectionHighlightStyleRegular=0; +CPTableViewSelectionHighlightStyleSourceList=1; +CPTableViewGridNone=0; +CPTableViewSolidVerticalGridLineMask=1<<0; +CPTableViewSolidHorizontalGridLineMask=1<<1; +CPTableViewNoColumnAutoresizing=0; +CPTableViewUniformColumnAutoresizingStyle=1; +CPTableViewSequentialColumnAutoresizingStyle=2; +CPTableViewReverseSequentialColumnAutoresizingStyle=3; +CPTableViewLastColumnOnlyAutoresizingStyle=4; +CPTableViewFirstColumnOnlyAutoresizingStyle=5; +var _1b=objj_allocateClassPair(CPView,"_CPTableDrawView"),_1c=_1b.isa; +class_addIvars(_1b,[new objj_ivar("_tableView")]); +objj_registerClassPair(_1b); +class_addMethods(_1b,[new objj_method(sel_getUid("initWithTableView:"),function(_1d,_1e,_1f){ +with(_1d){ +_1d=objj_msgSendSuper({receiver:_1d,super_class:objj_getClass("_CPTableDrawView").super_class},"init"); +if(_1d){ +_tableView=_1f; +} +return _1d; +} +}),new objj_method(sel_getUid("drawRect:"),function(_20,_21,_22){ +with(_20){ +var _23=objj_msgSend(_20,"frame"),_24=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextTranslateCTM(_24,-(_23.origin.x),-(_23.origin.y)); +objj_msgSend(_tableView,"_drawRect:",_22); +} +})]); +var _1b=objj_allocateClassPair(CPControl,"CPTableView"),_1c=_1b.isa; +class_addIvars(_1b,[new objj_ivar("_dataSource"),new objj_ivar("_implementedDataSourceMethods"),new objj_ivar("_delegate"),new objj_ivar("_implementedDelegateMethods"),new objj_ivar("_tableColumns"),new objj_ivar("_tableColumnRanges"),new objj_ivar("_dirtyTableColumnRangeIndex"),new objj_ivar("_numberOfHiddenColumns"),new objj_ivar("_reloadAllRows"),new objj_ivar("_objectValues"),new objj_ivar("_exposedRows"),new objj_ivar("_exposedColumns"),new objj_ivar("_dataViewsForTableColumns"),new objj_ivar("_cachedDataViews"),new objj_ivar("_allowsColumnReordering"),new objj_ivar("_allowsColumnResizing"),new objj_ivar("_allowsColumnSelection"),new objj_ivar("_allowsMultipleSelection"),new objj_ivar("_allowsEmptySelection"),new objj_ivar("_sortDescriptors"),new objj_ivar("_intercellSpacing"),new objj_ivar("_rowHeight"),new objj_ivar("_usesAlternatingRowBackgroundColors"),new objj_ivar("_alternatingRowBackgroundColors"),new objj_ivar("_selectionHighlightStyle"),new objj_ivar("_currentHighlightedTableColumn"),new objj_ivar("_gridStyleMask"),new objj_ivar("_gridColor"),new objj_ivar("_numberOfRows"),new objj_ivar("_headerView"),new objj_ivar("_cornerView"),new objj_ivar("_selectedColumnIndexes"),new objj_ivar("_selectedRowIndexes"),new objj_ivar("_selectionAnchorRow"),new objj_ivar("_lastSelectedRow"),new objj_ivar("_previouslySelectedRowIndexes"),new objj_ivar("_startTrackingPoint"),new objj_ivar("_startTrackingTimestamp"),new objj_ivar("_trackingPointMovedOutOfClickSlop"),new objj_ivar("_editingCellIndex"),new objj_ivar("_tableDrawView"),new objj_ivar("_doubleAction"),new objj_ivar("_columnAutoResizingStyle"),new objj_ivar("_originalMouseDownPoint"),new objj_ivar("_verticalMotionCanDrag"),new objj_ivar("_destinationDragStyle"),new objj_ivar("_isSelectingSession"),new objj_ivar("_draggedRowIndexes"),new objj_ivar("_dropOperationFeedbackView"),new objj_ivar("_dragOperationDefaultMask"),new objj_ivar("_retargetedDropRow"),new objj_ivar("_retargetedDropOperation"),new objj_ivar("_disableAutomaticResizing"),new objj_ivar("_lastColumnShouldSnap"),new objj_ivar("_sourceListActiveGradient"),new objj_ivar("_sourceListActiveTopLineColor"),new objj_ivar("_sourceListActiveBottomLineColor")]); +objj_registerClassPair(_1b); +class_addMethods(_1b,[new objj_method(sel_getUid("disableAutomaticResizing"),function(_25,_26){ +with(_25){ +return _disableAutomaticResizing; +} +}),new objj_method(sel_getUid("setDisableAutomaticResizing:"),function(_27,_28,_29){ +with(_27){ +_disableAutomaticResizing=_29; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_2a,_2b,_2c){ +with(_2a){ +_2a=objj_msgSendSuper({receiver:_2a,super_class:objj_getClass("CPTableView").super_class},"initWithFrame:",_2c); +if(_2a){ +_allowsColumnReordering=YES; +_allowsColumnResizing=YES; +_allowsMultipleSelection=NO; +_allowsEmptySelection=YES; +_allowsColumnSelection=NO; +_disableAutomaticResizing=NO; +_tableViewFlags=0; +_selectionHighlightStyle=CPTableViewSelectionHighlightStyleRegular; +objj_msgSend(_2a,"setUsesAlternatingRowBackgroundColors:",NO); +objj_msgSend(_2a,"setAlternatingRowBackgroundColors:",[objj_msgSend(CPColor,"whiteColor"),objj_msgSend(CPColor,"colorWithHexString:","f5f9fc")]); +_tableColumns=[]; +_tableColumnRanges=[]; +_dirtyTableColumnRangeIndex=CPNotFound; +_numberOfHiddenColumns=0; +_objectValues={}; +_dataViewsForTableColumns={}; +_dataViews=[]; +_numberOfRows=0; +_exposedRows=objj_msgSend(CPIndexSet,"indexSet"); +_exposedColumns=objj_msgSend(CPIndexSet,"indexSet"); +_cachedDataViews={}; +_intercellSpacing={width:0,height:0}; +_rowHeight=23; +objj_msgSend(_2a,"setGridColor:",objj_msgSend(CPColor,"colorWithHexString:","dce0e2")); +objj_msgSend(_2a,"setGridStyleMask:",CPTableViewGridNone); +_headerView=objj_msgSend(objj_msgSend(CPTableHeaderView,"alloc"),"initWithFrame:",CGRectMake(0,0,objj_msgSend(_2a,"bounds").size.width,_rowHeight)); +objj_msgSend(_headerView,"setTableView:",_2a); +_cornerView=objj_msgSend(objj_msgSend(_CPCornerView,"alloc"),"initWithFrame:",CGRectMake(0,0,objj_msgSend(CPScroller,"scrollerWidth"),CGRectGetHeight(objj_msgSend(_headerView,"frame")))); +_lastSelectedRow=-1; +_selectedColumnIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_selectedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_currentHighlightedTableColumn=nil; +_sortDescriptors=objj_msgSend(CPArray,"array"); +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_verticalMotionCanDrag=YES; +_isSelectingSession=NO; +_retargetedDropRow=nil; +_retargetedDropOperation=nil; +_dragOperationDefaultMask=nil; +_destinationDragStyle=CPTableViewDraggingDestinationFeedbackStyleRegular; +_tableDrawView=objj_msgSend(objj_msgSend(_CPTableDrawView,"alloc"),"initWithTableView:",_2a); +objj_msgSend(_tableDrawView,"setBackgroundColor:",objj_msgSend(CPColor,"clearColor")); +objj_msgSend(_2a,"addSubview:",_tableDrawView); +objj_msgSend(_2a,"_init"); +} +return _2a; +} +}),new objj_method(sel_getUid("_init"),function(_2d,_2e){ +with(_2d){ +_dropOperationFeedbackView=objj_msgSend(objj_msgSend(_dropOperationDrawingView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_dropOperationFeedbackView,"setTableView:",_2d); +_lastColumnShouldSnap=NO; +_backgroundColor=objj_msgSend(CPColor,"whiteColor"); +_sourceListActiveGradient=CGGradientCreateWithColorComponents(CGColorSpaceCreateDeviceRGB(),[89/255,153/255,209/255,1,33/255,94/255,208/255,1],[0,1],2); +_sourceListActiveTopLineColor=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",(61/255),(123/255),(218/255),1); +_sourceListActiveBottomLineColor=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",(31/255),(92/255),(207/255),1); +} +}),new objj_method(sel_getUid("setDataSource:"),function(_2f,_30,_31){ +with(_2f){ +if(_dataSource===_31){ +return; +} +_dataSource=_31; +_implementedDataSourceMethods=0; +if(!_dataSource){ +return; +} +if(!objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("numberOfRowsInTableView:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,objj_msgSend(_31,"description")+" does not implement numberOfRowsInTableView:."); +} +if(!objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:objectValueForTableColumn:row:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,objj_msgSend(_31,"description")+" does not implement tableView:objectValueForTableColumn:row:"); +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:setObjectValue:forTableColumn:row:"))){ +_implementedDataSourceMethods|=_1; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:acceptDrop:row:dropOperation:"))){ +_implementedDataSourceMethods|=_2; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:"))){ +_implementedDataSourceMethods|=_3; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:validateDrop:proposedRow:proposedDropOperation:"))){ +_implementedDataSourceMethods|=_4; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:writeRowsWithIndexes:toPasteboard:"))){ +_implementedDataSourceMethods|=_5; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:sortDescriptorsDidChange:"))){ +_implementedDataSourceMethods|=_6; +} +objj_msgSend(_2f,"reloadData"); +} +}),new objj_method(sel_getUid("dataSource"),function(_32,_33){ +with(_32){ +return _dataSource; +} +}),new objj_method(sel_getUid("reloadDataForRowIndexes:columnIndexes:"),function(_34,_35,_36,_37){ +with(_34){ +objj_msgSend(_34,"reloadData"); +} +}),new objj_method(sel_getUid("reloadData"),function(_38,_39){ +with(_38){ +if(!_dataSource){ +return; +} +_reloadAllRows=YES; +_objectValues={}; +objj_msgSend(_38,"noteNumberOfRowsChanged"); +objj_msgSend(_38,"setNeedsLayout"); +objj_msgSend(_38,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setDoubleAction:"),function(_3a,_3b,_3c){ +with(_3a){ +_doubleAction=_3c; +} +}),new objj_method(sel_getUid("doubleAction"),function(_3d,_3e){ +with(_3d){ +return _doubleAction; +} +}),new objj_method(sel_getUid("setAllowsColumnReordering:"),function(_3f,_40,_41){ +with(_3f){ +_allowsColumnReordering=!!_41; +} +}),new objj_method(sel_getUid("allowsColumnReordering"),function(_42,_43){ +with(_42){ +return _allowsColumnReordering; +} +}),new objj_method(sel_getUid("setAllowsColumnResizing:"),function(_44,_45,_46){ +with(_44){ +_allowsColumnResizing=!!_46; +} +}),new objj_method(sel_getUid("allowsColumnResizing"),function(_47,_48){ +with(_47){ +return _allowsColumnResizing; +} +}),new objj_method(sel_getUid("setAllowsMultipleSelection:"),function(_49,_4a,_4b){ +with(_49){ +_allowsMultipleSelection=!!_4b; +} +}),new objj_method(sel_getUid("allowsMultipleSelection"),function(_4c,_4d){ +with(_4c){ +return _allowsMultipleSelection; +} +}),new objj_method(sel_getUid("setAllowsEmptySelection:"),function(_4e,_4f,_50){ +with(_4e){ +_allowsEmptySelection=!!_50; +} +}),new objj_method(sel_getUid("allowsEmptySelection"),function(_51,_52){ +with(_51){ +return _allowsEmptySelection; +} +}),new objj_method(sel_getUid("setAllowsColumnSelection:"),function(_53,_54,_55){ +with(_53){ +_allowsColumnSelection=!!_55; +} +}),new objj_method(sel_getUid("allowsColumnSelection"),function(_56,_57){ +with(_56){ +return _allowsColumnSelection; +} +}),new objj_method(sel_getUid("setIntercellSpacing:"),function(_58,_59,_5a){ +with(_58){ +if((_intercellSpacing.width==_5a.width&&_intercellSpacing.height==_5a.height)){ +return; +} +_intercellSpacing={width:_5a.width,height:_5a.height}; +objj_msgSend(_58,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("setThemeState:"),function(_5b,_5c,_5d){ +with(_5b){ +} +}),new objj_method(sel_getUid("intercellSpacing"),function(_5e,_5f){ +with(_5e){ +return {width:_intercellSpacing.width,height:_intercellSpacing.height}; +} +}),new objj_method(sel_getUid("setRowHeight:"),function(_60,_61,_62){ +with(_60){ +_62=+_62; +if(_rowHeight===_62){ +return; +} +_rowHeight=MAX(0,_62); +objj_msgSend(_60,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("rowHeight"),function(_63,_64){ +with(_63){ +return _rowHeight; +} +}),new objj_method(sel_getUid("setUsesAlternatingRowBackgroundColors:"),function(_65,_66,_67){ +with(_65){ +_usesAlternatingRowBackgroundColors=_67; +} +}),new objj_method(sel_getUid("usesAlternatingRowBackgroundColors"),function(_68,_69){ +with(_68){ +return _usesAlternatingRowBackgroundColors; +} +}),new objj_method(sel_getUid("setAlternatingRowBackgroundColors:"),function(_6a,_6b,_6c){ +with(_6a){ +if(objj_msgSend(_alternatingRowBackgroundColors,"isEqual:",_6c)){ +return; +} +_alternatingRowBackgroundColors=_6c; +objj_msgSend(_6a,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("alternatingRowBackgroundColors"),function(_6d,_6e){ +with(_6d){ +return _alternatingRowBackgroundColors; +} +}),new objj_method(sel_getUid("selectionHighlightStyle"),function(_6f,_70){ +with(_6f){ +return _selectionHighlightStyle; +} +}),new objj_method(sel_getUid("setSelectionHighlightStyle:"),function(_71,_72,_73){ +with(_71){ +if(_73==CPTableViewSelectionHighlightStyleSourceList&&!CPFeatureIsCompatible(CPHTMLCanvasFeature)){ +return; +} +_selectionHighlightStyle=_73; +if(_73===CPTableViewSelectionHighlightStyleSourceList){ +_destinationDragStyle=CPTableViewDraggingDestinationFeedbackStyleSourceList; +}else{ +_destinationDragStyle=CPTableViewDraggingDestinationFeedbackStyleRegular; +} +} +}),new objj_method(sel_getUid("setGridColor:"),function(_74,_75,_76){ +with(_74){ +if(_gridColor===_76){ +return; +} +_gridColor=_76; +objj_msgSend(_74,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("gridColor"),function(_77,_78){ +with(_77){ +return _gridColor; +} +}),new objj_method(sel_getUid("setGridStyleMask:"),function(_79,_7a,_7b){ +with(_79){ +if(_gridStyleMask===_7b){ +return; +} +_gridStyleMask=_7b; +objj_msgSend(_79,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("gridStyleMask"),function(_7c,_7d){ +with(_7c){ +return _gridStyleMask; +} +}),new objj_method(sel_getUid("addTableColumn:"),function(_7e,_7f,_80){ +with(_7e){ +objj_msgSend(_tableColumns,"addObject:",_80); +objj_msgSend(_80,"setTableView:",_7e); +if(_dirtyTableColumnRangeIndex<0){ +_dirtyTableColumnRangeIndex=(_tableColumns.length)-1; +}else{ +_dirtyTableColumnRangeIndex=MIN((_tableColumns.length)-1,_dirtyTableColumnRangeIndex); +} +objj_msgSend(_7e,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("removeTableColumn:"),function(_81,_82,_83){ +with(_81){ +if(objj_msgSend(_83,"tableView")!==_81){ +return; +} +var _84=objj_msgSend(_tableColumns,"indexOfObjectIdenticalTo:",_83); +if(_84===CPNotFound){ +return; +} +objj_msgSend(_83,"setTableView:",nil); +objj_msgSend(_tableColumns,"removeObjectAtIndex:",_84); +var _85=objj_msgSend(_83,"UID"); +if(_objectValues[_85]){ +_objectValues[_85]=nil; +} +if(_dirtyTableColumnRangeIndex<0){ +_dirtyTableColumnRangeIndex=_84; +}else{ +_dirtyTableColumnRangeIndex=MIN(_84,_dirtyTableColumnRangeIndex); +} +objj_msgSend(_81,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("moveColumn:toColumn:"),function(_86,_87,_88,_89){ +with(_86){ +_88=+_88; +_89=+_89; +if(_88===_89){ +return; +} +if(_dirtyTableColumnRangeIndex<0){ +_dirtyTableColumnRangeIndex=MIN(_88,_89); +}else{ +_dirtyTableColumnRangeIndex=MIN(_88,_89,_dirtyTableColumnRangeIndex); +} +if(_89>_88){ +--_89; +} +var _8a=_tableColumns[_88]; +objj_msgSend(_tableColumns,"removeObjectAtIndex:",_88); +objj_msgSend(_tableColumns,"insertObject:atIndex:",_8a,_89); +objj_msgSend(_86,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("tableColumns"),function(_8b,_8c){ +with(_8b){ +return _tableColumns; +} +}),new objj_method(sel_getUid("columnWithIdentifier:"),function(_8d,_8e,_8f){ +with(_8d){ +var _90=0,_91=(_tableColumns.length); +for(;_90<_91;++_90){ +if(objj_msgSend(_tableColumns[_90],"identifier")===_8f){ +return _90; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("tableColumnWithIdentifier:"),function(_92,_93,_94){ +with(_92){ +var _95=objj_msgSend(_92,"columnWithIdentifier:",_94); +if(_95===CPNotFound){ +return nil; +} +return _tableColumns[_95]; +} +}),new objj_method(sel_getUid("selectColumnIndexes:byExtendingSelection:"),function(_96,_97,_98,_99){ +with(_96){ +if((objj_msgSend(_98,"firstIndex")!=CPNotFound&&objj_msgSend(_98,"firstIndex")<0)||objj_msgSend(_98,"lastIndex")>=objj_msgSend(_96,"numberOfColumns")){ +return; +} +if(objj_msgSend(_selectedRowIndexes,"count")>0){ +objj_msgSend(_96,"_updateHighlightWithOldRows:newRows:",_selectedRowIndexes,objj_msgSend(CPIndexSet,"indexSet")); +_selectedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +} +var _9a=objj_msgSend(_selectedColumnIndexes,"copy"); +if(_99){ +objj_msgSend(_selectedColumnIndexes,"addIndexes:",_98); +}else{ +_selectedColumnIndexes=objj_msgSend(_98,"copy"); +} +objj_msgSend(_96,"_updateHighlightWithOldColumns:newColumns:",_9a,_selectedColumnIndexes); +objj_msgSend(_tableDrawView,"display"); +if(_headerView){ +objj_msgSend(_headerView,"setNeedsDisplay:",YES); +} +objj_msgSend(_96,"_noteSelectionDidChange"); +} +}),new objj_method(sel_getUid("selectRowIndexes:byExtendingSelection:"),function(_9b,_9c,_9d,_9e){ +with(_9b){ +if(objj_msgSend(_9d,"isEqualToIndexSet:",_selectedRowIndexes)||((objj_msgSend(_9d,"firstIndex")!=CPNotFound&&objj_msgSend(_9d,"firstIndex")<0)||objj_msgSend(_9d,"lastIndex")>=objj_msgSend(_9b,"numberOfRows"))){ +return; +} +if(objj_msgSend(_selectedColumnIndexes,"count")>0){ +objj_msgSend(_9b,"_updateHighlightWithOldColumns:newColumns:",_selectedColumnIndexes,objj_msgSend(CPIndexSet,"indexSet")); +_selectedColumnIndexes=objj_msgSend(CPIndexSet,"indexSet"); +if(_headerView){ +objj_msgSend(_headerView,"setNeedsDisplay:",YES); +} +} +var _9f=objj_msgSend(_selectedRowIndexes,"copy"); +if(_9e){ +objj_msgSend(_selectedRowIndexes,"addIndexes:",_9d); +}else{ +_selectedRowIndexes=objj_msgSend(_9d,"copy"); +} +objj_msgSend(_9b,"_updateHighlightWithOldRows:newRows:",_9f,_selectedRowIndexes); +objj_msgSend(_tableDrawView,"display"); +objj_msgSend(_9b,"_noteSelectionDidChange"); +} +}),new objj_method(sel_getUid("_updateHighlightWithOldRows:newRows:"),function(_a0,_a1,_a2,_a3){ +with(_a0){ +var _a4=objj_msgSend(_exposedRows,"firstIndex"),_a5=objj_msgSend(_exposedRows,"lastIndex")-_a4+1,_a6=[],_a7=[],_a8=objj_msgSend(_a2,"copy"),_a9=objj_msgSend(_a3,"copy"); +objj_msgSend(_a8,"removeMatches:",_a9); +objj_msgSend(_a8,"getIndexes:maxCount:inIndexRange:",_a6,-1,CPMakeRange(_a4,_a5)); +objj_msgSend(_a9,"getIndexes:maxCount:inIndexRange:",_a7,-1,CPMakeRange(_a4,_a5)); +for(var _aa in _dataViewsForTableColumns){ +var _ab=_dataViewsForTableColumns[_aa]; +var _ac=_a6.length; +while(_ac--){ +var _ad=_a6[_ac]; +var _ae=_ab[_ad]; +objj_msgSend(_ae,"unsetThemeState:",CPThemeStateSelected); +} +_ac=_a7.length; +while(_ac--){ +var _ad=_a7[_ac]; +var _ae=_ab[_ad]; +objj_msgSend(_ae,"setThemeState:",CPThemeStateSelected); +} +} +} +}),new objj_method(sel_getUid("_updateHighlightWithOldColumns:newColumns:"),function(_af,_b0,_b1,_b2){ +with(_af){ +var _b3=objj_msgSend(_exposedColumns,"firstIndex"),_b4=objj_msgSend(_exposedColumns,"lastIndex")-_b3+1,_b5=[],_b6=[],_b7=objj_msgSend(_b1,"copy"),_b8=objj_msgSend(_b2,"copy"),_b9=[]; +objj_msgSend(_b7,"removeMatches:",_b8); +objj_msgSend(_b7,"getIndexes:maxCount:inIndexRange:",_b5,-1,CPMakeRange(_b3,_b4)); +objj_msgSend(_b8,"getIndexes:maxCount:inIndexRange:",_b6,-1,CPMakeRange(_b3,_b4)); +objj_msgSend(_exposedRows,"getIndexes:maxCount:inIndexRange:",_b9,-1,nil); +var _ba=_b9.length,_bb=_b5.length; +while(_bb--){ +var _bc=_b5[_bb],_bd=objj_msgSend(_tableColumns[_bc],"UID"),_be=_dataViewsForTableColumns[_bd]; +for(var i=0;i<_ba;i++){ +var _bf=_b9[i],_c0=_be[_bf]; +objj_msgSend(_c0,"unsetThemeState:",CPThemeStateSelected); +} +if(_headerView){ +var _c1=objj_msgSend(_tableColumns[_bc],"headerView"); +objj_msgSend(_c1,"unsetThemeState:",CPThemeStateSelected); +} +} +_bb=_b6.length; +while(_bb--){ +var _bc=_b6[_bb],_bd=objj_msgSend(_tableColumns[_bc],"UID"),_be=_dataViewsForTableColumns[_bd]; +for(var i=0;i<_ba;i++){ +var _bf=_b9[i],_c0=_be[_bf]; +objj_msgSend(_c0,"setThemeState:",CPThemeStateSelected); +} +if(_headerView){ +var _c1=objj_msgSend(_tableColumns[_bc],"headerView"); +objj_msgSend(_c1,"setThemeState:",CPThemeStateSelected); +} +} +} +}),new objj_method(sel_getUid("selectedColumn"),function(_c2,_c3){ +with(_c2){ +objj_msgSend(_selectedColumnIndexes,"lastIndex"); +} +}),new objj_method(sel_getUid("selectedColumnIndexes"),function(_c4,_c5){ +with(_c4){ +return _selectedColumnIndexes; +} +}),new objj_method(sel_getUid("selectedRow"),function(_c6,_c7){ +with(_c6){ +return objj_msgSend(_selectedRowIndexes,"lastIndex"); +} +}),new objj_method(sel_getUid("selectedRowIndexes"),function(_c8,_c9){ +with(_c8){ +return _selectedRowIndexes; +} +}),new objj_method(sel_getUid("deselectColumn:"),function(_ca,_cb,_cc){ +with(_ca){ +var _cd=objj_msgSend(_selectedColumnIndexes,"copy"); +objj_msgSend(_cd,"removeIndex:",_cc); +objj_msgSend(_ca,"selectColumnIndexes:byExtendingSelection:",_cd,NO); +objj_msgSend(_ca,"_noteSelectionDidChange"); +} +}),new objj_method(sel_getUid("deselectRow:"),function(_ce,_cf,_d0){ +with(_ce){ +var _d1=objj_msgSend(_selectedRowIndexes,"copy"); +objj_msgSend(_d1,"removeIndex:",_d0); +objj_msgSend(_ce,"selectRowIndexes:byExtendingSelection:",_d1,NO); +objj_msgSend(_ce,"_noteSelectionDidChange"); +} +}),new objj_method(sel_getUid("numberOfSelectedColumns"),function(_d2,_d3){ +with(_d2){ +return objj_msgSend(_selectedColumnIndexes,"count"); +} +}),new objj_method(sel_getUid("numberOfSelectedRows"),function(_d4,_d5){ +with(_d4){ +return objj_msgSend(_selectedRowIndexes,"count"); +} +}),new objj_method(sel_getUid("isColumnSelected:"),function(_d6,_d7,_d8){ +with(_d6){ +return objj_msgSend(_selectedColumnIndexes,"containsIndex:",_d8); +} +}),new objj_method(sel_getUid("isRowSelected:"),function(_d9,_da,_db){ +with(_d9){ +return objj_msgSend(_selectedRowIndexes,"containsIndex:",_db); +} +}),new objj_method(sel_getUid("deselectAll"),function(_dc,_dd){ +with(_dc){ +objj_msgSend(_dc,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSet"),NO); +objj_msgSend(_dc,"selectColumnIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSet"),NO); +} +}),new objj_method(sel_getUid("numberOfColumns"),function(_de,_df){ +with(_de){ +return (_tableColumns.length); +} +}),new objj_method(sel_getUid("numberOfRows"),function(_e0,_e1){ +with(_e0){ +if(!_dataSource){ +return 0; +} +return objj_msgSend(_dataSource,"numberOfRowsInTableView:",_e0); +} +}),new objj_method(sel_getUid("cornerView"),function(_e2,_e3){ +with(_e2){ +return _cornerView; +} +}),new objj_method(sel_getUid("setCornerView:"),function(_e4,_e5,_e6){ +with(_e4){ +if(_cornerView===_e6){ +return; +} +_cornerView=_e6; +var _e7=objj_msgSend(objj_msgSend(_e4,"superview"),"superview"); +if(objj_msgSend(_e7,"isKindOfClass:",objj_msgSend(CPScrollView,"class"))&&objj_msgSend(_e7,"documentView")===_e4){ +objj_msgSend(_e7,"_updateCornerAndHeaderView"); +} +} +}),new objj_method(sel_getUid("headerView"),function(_e8,_e9){ +with(_e8){ +return _headerView; +} +}),new objj_method(sel_getUid("setHeaderView:"),function(_ea,_eb,_ec){ +with(_ea){ +if(_headerView===_ec){ +return; +} +objj_msgSend(_headerView,"setTableView:",nil); +_headerView=_ec; +if(_headerView){ +objj_msgSend(_headerView,"setTableView:",_ea); +objj_msgSend(_headerView,"setFrameSize:",{width:(objj_msgSend(_ea,"frame").size.width),height:(objj_msgSend(_headerView,"frame").size.height)}); +} +var _ed=objj_msgSend(objj_msgSend(_ea,"superview"),"superview"); +if(objj_msgSend(_ed,"isKindOfClass:",objj_msgSend(CPScrollView,"class"))&&objj_msgSend(_ed,"documentView")===_ea){ +objj_msgSend(_ed,"_updateCornerAndHeaderView"); +} +} +}),new objj_method(sel_getUid("_recalculateTableColumnRanges"),function(_ee,_ef){ +with(_ee){ +if(_dirtyTableColumnRangeIndex<0){ +return; +} +var _f0=_dirtyTableColumnRangeIndex,_f1=(_tableColumns.length),x=_f0===0?0:CPMaxRange(_tableColumnRanges[_f0-1]); +for(;_f0<_f1;++_f0){ +var _f2=_tableColumns[_f0]; +if(objj_msgSend(_f2,"isHidden")){ +_tableColumnRanges[_f0]=CPMakeRange(x,0); +}else{ +var _f3=objj_msgSend(_tableColumns[_f0],"width"); +_tableColumnRanges[_f0]=CPMakeRange(x,_f3); +x+=_f3; +} +} +_tableColumnRanges.length=_f1; +_dirtyTableColumnRangeIndex=CPNotFound; +} +}),new objj_method(sel_getUid("rectOfColumn:"),function(_f4,_f5,_f6){ +with(_f4){ +_f6=+_f6; +if(_f6<0||_f6>=(_tableColumns.length)){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(_f4,"_recalculateTableColumnRanges"); +} +var _f7=_tableColumnRanges[_f6]; +return {origin:{x:_f7.location,y:0},size:{width:_f7.length,height:CGRectGetHeight(objj_msgSend(_f4,"bounds"))}}; +} +}),new objj_method(sel_getUid("rectOfRow:"),function(_f8,_f9,_fa){ +with(_f8){ +if(NO){ +return NULL; +} +return {origin:{x:0,y:(_fa*(_rowHeight+_intercellSpacing.height))},size:{width:(objj_msgSend(_f8,"bounds").size.width),height:_rowHeight}}; +} +}),new objj_method(sel_getUid("rowsInRect:"),function(_fb,_fc,_fd){ +with(_fb){ +if(_numberOfRows<=0){ +return CPMakeRange(0,0); +} +var _fe=objj_msgSend(_fb,"bounds"); +if(!CGRectIntersectsRect(_fd,_fe)){ +return CPMakeRange(0,0); +} +var _ff=objj_msgSend(_fb,"rowAtPoint:",_fd.origin); +if(_ff<0){ +_ff=0; +} +var _100=objj_msgSend(_fb,"rowAtPoint:",{x:0,y:(_fd.origin.y+_fd.size.height)}); +if(_100<0){ +_100=_numberOfRows-1; +} +return CPMakeRange(_ff,_100-_ff+1); +} +}),new objj_method(sel_getUid("columnIndexesInRect:"),function(self,_101,_102){ +with(self){ +var _103=MAX(0,objj_msgSend(self,"columnAtPoint:",{x:_102.origin.x,y:0})),_104=objj_msgSend(self,"columnAtPoint:",{x:(_102.origin.x+_102.size.width),y:0}); +if(_104===CPNotFound){ +_104=(_tableColumns.length)-1; +} +if(_numberOfHiddenColumns<=0){ +return objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(_103,_104-_103+1)); +} +var _105=objj_msgSend(CPIndexSet,"indexSet"); +for(;_103<=_104;++_103){ +var _106=_tableColumns[_103]; +if(!objj_msgSend(_106,"isHidden")){ +objj_msgSend(_105,"addIndex:",_103); +} +} +return _105; +} +}),new objj_method(sel_getUid("columnAtPoint:"),function(self,_107,_108){ +with(self){ +var _109=objj_msgSend(self,"bounds"); +if(!(_108.x>=(_109.origin.x)&&_108.y>=(_109.origin.y)&&_108.x<(_109.origin.x+_109.size.width)&&_108.y<(_109.origin.y+_109.size.height))){ +return CPNotFound; +} +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var x=_108.x,low=0,high=_tableColumnRanges.length-1; +while(low<=high){ +var _10a=FLOOR(low+(high-low)/2),_10b=_tableColumnRanges[_10a]; +if(x<_10b.location){ +high=_10a-1; +}else{ +if(x>=CPMaxRange(_10b)){ +low=_10a+1; +}else{ +var _10c=_tableColumnRanges.length; +while(_10a<_10c&&objj_msgSend(_tableColumns[_10a],"isHidden")){ +++_10a; +} +if(_10a<_10c){ +return _10a; +} +return CPNotFound; +} +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("rowAtPoint:"),function(self,_10d,_10e){ +with(self){ +var y=_10e.y; +var row=FLOOR(y/(_rowHeight+_intercellSpacing.height)); +if(row>=_numberOfRows){ +return -1; +} +return row; +} +}),new objj_method(sel_getUid("frameOfDataViewAtColumn:row:"),function(self,_10f,_110,aRow){ +with(self){ +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _111=_tableColumnRanges[_110],_112=objj_msgSend(self,"rectOfRow:",aRow); +return {origin:{x:_111.location,y:(_112.origin.y)},size:{width:_111.length,height:(_112.size.height)}}; +} +}),new objj_method(sel_getUid("resizeWithOldSuperviewSize:"),function(self,_113,_114){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"resizeWithOldSuperviewSize:",_114); +if(_disableAutomaticResizing){ +return; +} +var mask=_columnAutoResizingStyle; +if(mask===CPTableViewUniformColumnAutoresizingStyle){ +objj_msgSend(self,"_resizeAllColumnUniformlyWithOldSize:",_114); +} +if(mask===CPTableViewLastColumnOnlyAutoresizingStyle){ +objj_msgSend(self,"sizeLastColumnToFit"); +} +if(mask===CPTableViewFirstColumnOnlyAutoresizingStyle){ +var _115=objj_msgSend(self,"superview"); +if(!_115){ +return; +} +var _116=objj_msgSend(_115,"bounds").size; +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _117=(_tableColumns.length); +var _118=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init"); +var _119=0; +for(var i=0;i<_117;i++){ +if(!objj_msgSend(_tableColumns[i],"isHidden")){ +objj_msgSend(_118,"addObject:",i); +_119+=objj_msgSend(_tableColumns[i],"width"); +} +} +_117=objj_msgSend(_118,"count"); +if(_117>0){ +var _11a=_tableColumns[_118[0]]; +var _11b=_116.width-_119; +_11b+=objj_msgSend(_11a,"width"); +_11b=(_11bobjj_msgSend(_11a,"maxWidth"))?objj_msgSend(_11a,"maxWidth"):_11b; +objj_msgSend(_11a,"setWidth:",FLOOR(_11b)); +} +objj_msgSend(self,"setNeedsLayout"); +} +} +}),new objj_method(sel_getUid("_resizeAllColumnUniformlyWithOldSize:"),function(self,_11c,_11d){ +with(self){ +var _11e=objj_msgSend(self,"superview"); +if(!_11e){ +return; +} +var _11f=objj_msgSend(_11e,"bounds").size; +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _120=_tableColumns.length,_121=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init"),_122=0; +for(var i=0;i<_120;i++){ +var _123=_tableColumns[i]; +if(!objj_msgSend(_123,"isHidden")&&(objj_msgSend(_123,"resizingMask")&CPTableColumnAutoresizingMask)){ +objj_msgSend(_121,"addObject:",i); +} +} +_120=objj_msgSend(_121,"count"); +if(_120>0){ +var _124=CGRectGetMaxX(objj_msgSend(self,"rectOfColumn:",_121[_120-1])); +if(!_lastColumnShouldSnap&&(_124>=_11f.width&&_124<=_11d.width||_124<=_11f.width&&_124>=_11d.width)){ +_lastColumnShouldSnap=YES; +objj_msgSend(self,"_resizeAllColumnUniformlyWithOldSize:",CGSizeMake(_124,0)); +} +if(!_lastColumnShouldSnap){ +return; +} +for(var i=0;i<_120;i++){ +var _125=_121[i]; +columnToResize=_tableColumns[_125],currentBuffer=_122/(_120-i),realNewWidth=(objj_msgSend(columnToResize,"width")/_11d.width*objj_msgSend(_11e,"bounds").size.width)+currentBuffer,newWidth=MAX(objj_msgSend(columnToResize,"minWidth"),realNewWidth); +newWidth=MIN(objj_msgSend(columnToResize,"maxWidth"),realNewWidth); +_122-=currentBuffer; +_122+=realNewWidth-newWidth; +objj_msgSend(columnToResize,"setWidth:",newWidth); +} +if(_122!==0){ +_lastColumnShouldSnap=NO; +} +} +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("setColumnAutoresizingStyle:"),function(self,_126,_127){ +with(self){ +_columnAutoResizingStyle=_127; +} +}),new objj_method(sel_getUid("columnAutoresizingStyle"),function(self,_128){ +with(self){ +return _columnAutoResizingStyle; +} +}),new objj_method(sel_getUid("sizeLastColumnToFit"),function(self,_129){ +with(self){ +var _12a=objj_msgSend(self,"superview"); +if(!_12a){ +return; +} +var _12b=objj_msgSend(_12a,"bounds").size; +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _12c=(_tableColumns.length); +while(_12c--&&objj_msgSend(_tableColumns[_12c],"isHidden")){ +} +if(_12c>=0){ +var _12d=_tableColumns[_12c]; +var _12e=MAX(0,_12b.width-CGRectGetMinX(objj_msgSend(self,"rectOfColumn:",_12c))); +if(_12e>0){ +_12e=MAX(objj_msgSend(_12d,"minWidth"),_12e); +_12e=MIN(objj_msgSend(_12d,"maxWidth"),_12e); +objj_msgSend(_12d,"setWidth:",_12e); +} +} +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("noteNumberOfRowsChanged"),function(self,_12f){ +with(self){ +_numberOfRows=objj_msgSend(_dataSource,"numberOfRowsInTableView:",self); +objj_msgSend(self,"tile"); +} +}),new objj_method(sel_getUid("tile"),function(self,_130){ +with(self){ +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _131=_tableColumnRanges.length>0?CPMaxRange(objj_msgSend(_tableColumnRanges,"lastObject")):0,_132=(_rowHeight+_intercellSpacing.height)*_numberOfRows,_133=objj_msgSend(self,"superview"); +if(objj_msgSend(_133,"isKindOfClass:",objj_msgSend(CPClipView,"class"))){ +var _134=objj_msgSend(_133,"bounds").size; +_131=MAX(_134.width,_131); +_132=MAX(_134.height,_132); +} +objj_msgSend(self,"setFrameSize:",{width:_131,height:_132}); +objj_msgSend(self,"setNeedsLayout"); +objj_msgSend(self,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("scrollRowToVisible:"),function(self,_135,_136){ +with(self){ +objj_msgSend(self,"scrollRectToVisible:",objj_msgSend(self,"rectOfRow:",_136)); +} +}),new objj_method(sel_getUid("scrollColumnToVisible:"),function(self,_137,_138){ +with(self){ +objj_msgSend(self,"scrollRectToVisible:",objj_msgSend(self,"rectOfColumn:",_138)); +} +}),new objj_method(sel_getUid("setDelegate:"),function(self,_139,_13a){ +with(self){ +if(_delegate===_13a){ +return; +} +var _13b=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_delegate){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewColumnDidMove:"))){ +objj_msgSend(_13b,"removeObserver:name:object:",_delegate,CPTableViewColumnDidMoveNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewColumnDidResize:"))){ +objj_msgSend(_13b,"removeObserver:name:object:",_delegate,CPTableViewColumnDidResizeNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewSelectionDidChange:"))){ +objj_msgSend(_13b,"removeObserver:name:object:",_delegate,CPTableViewSelectionDidChangeNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewSelectionIsChanging:"))){ +objj_msgSend(_13b,"removeObserver:name:object:",_delegate,CPTableViewSelectionIsChangingNotification,self); +} +} +_delegate=_13a; +_implementedDelegateMethods=0; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("selectionShouldChangeInTableView:"))){ +_implementedDelegateMethods|=_7; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:dataViewForTableColumn:row:"))){ +_implementedDelegateMethods|=_8; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:didClickTableColumn:"))){ +_implementedDelegateMethods|=_9; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:didDragTableColumn:"))){ +_implementedDelegateMethods|=_a; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:heightOfRow:"))){ +_implementedDelegateMethods|=_b; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:isGroupRow:"))){ +_implementedDelegateMethods|=_c; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:mouseDownInHeaderOfTableColumn:"))){ +_implementedDelegateMethods|=_d; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:nextTypeSelectMatchFromRow:toRow:forString:"))){ +_implementedDelegateMethods|=_e; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:selectionIndexesForProposedSelection:"))){ +_implementedDelegateMethods|=_f; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldEditTableColumn:row:"))){ +_implementedDelegateMethods|=_10; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldSelectRow:"))){ +_implementedDelegateMethods|=_11; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldSelectTableColumn:"))){ +_implementedDelegateMethods|=_12; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldShowViewExpansionForTableColumn:row:"))){ +_implementedDelegateMethods|=_13; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldTrackView:forTableColumn:row:"))){ +_implementedDelegateMethods|=_14; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldTypeSelectForEvent:withCurrentSearchString:"))){ +_implementedDelegateMethods|=_15; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:toolTipForView:rect:tableColumn:row:mouseLocation:"))){ +_implementedDelegateMethods|=_16; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:typeSelectStringForTableColumn:row:"))){ +_implementedDelegateMethods|=_17; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:willDisplayView:forTableColumn:row:"))){ +_implementedDelegateMethods|=_18; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewColumnDidMove:"))){ +objj_msgSend(_13b,"addObserver:selector:name:object:",_delegate,sel_getUid("tableViewColumnDidMove:"),CPTableViewColumnDidMoveNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewColumnDidResize:"))){ +objj_msgSend(_13b,"addObserver:selector:name:object:",_delegate,sel_getUid("tableViewColumnDidResize:"),CPTableViewColumnDidResizeNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewSelectionDidChange:"))){ +objj_msgSend(_13b,"addObserver:selector:name:object:",_delegate,sel_getUid("tableViewSelectionDidChange:"),CPTableViewSelectionDidChangeNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewSelectionIsChanging:"))){ +objj_msgSend(_13b,"addObserver:selector:name:object:",_delegate,sel_getUid("tableViewSelectionIsChanging:"),CPTableViewSelectionIsChangingNotification,self); +} +} +}),new objj_method(sel_getUid("delegate"),function(self,_13c){ +with(self){ +return _delegate; +} +}),new objj_method(sel_getUid("_sendDelegateDidClickColumn:"),function(self,_13d,_13e){ +with(self){ +if(_implementedDelegateMethods&_9){ +objj_msgSend(_delegate,"tableView:didClickTableColumn:",self,_tableColumns[_13e]); +} +} +}),new objj_method(sel_getUid("_sendDelegateDidDragColumn:"),function(self,_13f,_140){ +with(self){ +if(_implementedDelegateMethods&_a){ +objj_msgSend(_delegate,"tableView:didDragTableColumn:",self,_tableColumns[_140]); +} +} +}),new objj_method(sel_getUid("_sendDelegateDidMouseDownInHeader:"),function(self,_141,_142){ +with(self){ +if(_implementedDelegateMethods&_d){ +objj_msgSend(_delegate,"tableView:mouseDownInHeaderOfTableColumn:",self,_tableColumns[_142]); +} +} +}),new objj_method(sel_getUid("_sendDataSourceSortDescriptorsDidChange:"),function(self,_143,_144){ +with(self){ +if(_implementedDataSourceMethods&_6){ +objj_msgSend(_dataSource,"tableView:sortDescriptorsDidChange:",self,_144); +} +} +}),new objj_method(sel_getUid("_didClickTableColumn:modifierFlags:"),function(self,_145,_146,_147){ +with(self){ +objj_msgSend(self,"_sendDelegateDidClickColumn:",_146); +if(_allowsColumnSelection){ +if(_147&CPCommandKeyMask){ +if(objj_msgSend(self,"isColumnSelected:",_146)){ +objj_msgSend(self,"deselectColumn:",_146); +}else{ +if(objj_msgSend(self,"allowsMultipleSelection")==YES){ +objj_msgSend(self,"selectColumnIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_146),YES); +} +} +return; +}else{ +if(_147&CPShiftKeyMask){ +var _148=MIN(_146,objj_msgSend(_selectedColumnIndexes,"lastIndex")),_149=MAX(_146,objj_msgSend(_selectedColumnIndexes,"firstIndex")); +objj_msgSend(self,"selectColumnIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(_148,_149-_148+1)),YES); +return; +}else{ +objj_msgSend(self,"selectColumnIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_146),NO); +} +} +} +objj_msgSend(self,"_changeSortDescriptorsForClickOnColumn:",_146); +} +}),new objj_method(sel_getUid("_changeSortDescriptorsForClickOnColumn:"),function(self,_14a,_14b){ +with(self){ +var _14c=objj_msgSend(_tableColumns,"objectAtIndex:",_14b),_14d=objj_msgSend(_14c,"sortDescriptorPrototype"); +if(!_14d){ +return; +} +var _14e=nil,_14f=objj_msgSend(self,"sortDescriptors"),_150=objj_msgSend(CPArray,"arrayWithArray:",_14f),e=objj_msgSend(_150,"objectEnumerator"),_151=nil,_152=objj_msgSend(CPArray,"array"); +if(objj_msgSend(_sortDescriptors,"count")>0){ +_14e=objj_msgSend(objj_msgSend(self,"sortDescriptors"),"objectAtIndex:",0); +} +while((_151=objj_msgSend(e,"nextObject"))!=nil){ +if(objj_msgSend(objj_msgSend(_151,"key"),"isEqual:",objj_msgSend(_14d,"key"))){ +objj_msgSend(_152,"addObject:",_151); +} +} +if(objj_msgSend(objj_msgSend(_14d,"key"),"isEqual:",objj_msgSend(_14e,"key"))){ +_14d=objj_msgSend(_14e,"reversedSortDescriptor"); +} +objj_msgSend(_150,"removeObjectsInArray:",_152); +objj_msgSend(_150,"insertObject:atIndex:",_14d,0); +var _153=objj_msgSend(_14d,"ascending")?objj_msgSend(CPTableView,"_defaultTableHeaderSortImage"):objj_msgSend(CPTableView,"_defaultTableHeaderReverseSortImage"); +objj_msgSend(self,"setIndicatorImage:inTableColumn:",nil,_currentHighlightedTableColumn); +objj_msgSend(self,"setIndicatorImage:inTableColumn:",_153,_14c); +objj_msgSend(self,"setHighlightedTableColumn:",_14c); +objj_msgSend(self,"setSortDescriptors:",_150); +} +}),new objj_method(sel_getUid("setIndicatorImage:inTableColumn:"),function(self,_154,_155,_156){ +with(self){ +if(_156){ +objj_msgSend(objj_msgSend(_156,"headerView"),"_setIndicatorImage:",_155); +} +} +}),new objj_method(sel_getUid("highlightedTableColumn"),function(self,_157){ +with(self){ +return _currentHighlightedTableColumn; +} +}),new objj_method(sel_getUid("setHighlightedTableColumn:"),function(self,_158,_159){ +with(self){ +if(_currentHighlightedTableColumn==_159){ +return; +} +if(_headerView){ +if(_currentHighlightedTableColumn!=nil){ +objj_msgSend(objj_msgSend(_currentHighlightedTableColumn,"headerView"),"unsetThemeState:",CPThemeStateSelected); +} +if(_159!=nil){ +objj_msgSend(objj_msgSend(_159,"headerView"),"setThemeState:",CPThemeStateSelected); +} +} +_currentHighlightedTableColumn=_159; +} +}),new objj_method(sel_getUid("canDragRowsWithIndexes:atPoint:"),function(self,_15a,_15b,_15c){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("dragImageForRowsWithIndexes:tableColumns:event:offset:"),function(self,_15d,_15e,_15f,_160,_161){ +with(self){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:","Frameworks/AppKit/Resources/GenericFile.png",CGSizeMake(32,32)); +} +}),new objj_method(sel_getUid("dragViewForRowsWithIndexes:tableColumns:event:offset:"),function(self,_162,_163,_164,_165,_166){ +with(self){ +var _167=objj_msgSend(self,"bounds"),view=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",_167); +objj_msgSend(view,"setAlphaValue:",0.7); +var _168=objj_msgSend(_exposedColumns,"firstIndex"),_169=objj_msgSend(_exposedRows,"firstIndex"),_16a=objj_msgSend(_exposedColumns,"lastIndex")-_168+1,_16b=objj_msgSend(_exposedRows,"lastIndex")-_169+1,_16c=[],rows=[]; +objj_msgSend(_exposedColumns,"getIndexes:maxCount:inIndexRange:",_16c,-1,CPMakeRange(_168,_16a)); +objj_msgSend(_163,"getIndexes:maxCount:inIndexRange:",rows,-1,CPMakeRange(_169,_16b)); +var _16d=objj_msgSend(_16c,"count"); +while(_16d--){ +var _16e=_16c[_16d],_16f=objj_msgSend(_tableColumns,"objectAtIndex:",_16e),_170=objj_msgSend(rows,"count"); +while(_170--){ +var row=rows[_170]; +var _171=objj_msgSend(self,"_newDataViewForRow:tableColumn:",row,_16f); +objj_msgSend(_171,"setFrame:",objj_msgSend(self,"frameOfDataViewAtColumn:row:",_16e,row)); +objj_msgSend(_171,"setObjectValue:",objj_msgSend(self,"_objectValueForTableColumn:row:",_16f,row)); +objj_msgSend(view,"addSubview:",_171); +} +} +var _172=objj_msgSend(self,"convertPoint:fromView:",objj_msgSend(_165,"locationInWindow"),nil); +_166.x=CGRectGetWidth(_167)/2-_172.x; +_166.y=CGRectGetHeight(_167)/2-_172.y; +return view; +} +}),new objj_method(sel_getUid("setDraggingSourceOperationMask:forLocal:"),function(self,_173,mask,_174){ +with(self){ +_dragOperationDefaultMask=mask; +} +}),new objj_method(sel_getUid("setDropRow:dropOperation:"),function(self,_175,row,_176){ +with(self){ +if(row>objj_msgSend(self,"numberOfRows")&&_176===CPTableViewDropOn){ +var _177=objj_msgSend(self,"numberOfRows")+1; +var _178="Attempt to set dropRow="+row+" dropOperation=CPTableViewDropOn when [0 - "+_177+"] is valid range of rows."; +objj_msgSend(objj_msgSend(CPException,"exceptionWithName:reason:userInfo:","Error",_178,nil),"raise"); +} +_retargetedDropRow=row; +_retargetedDropOperation=_176; +} +}),new objj_method(sel_getUid("setDraggingDestinationFeedbackStyle:"),function(self,_179,_17a){ +with(self){ +_destinationDragStyle=_17a; +} +}),new objj_method(sel_getUid("draggingDestinationFeedbackStyle"),function(self,_17b){ +with(self){ +return _destinationDragStyle; +} +}),new objj_method(sel_getUid("setVerticalMotionCanBeginDrag:"),function(self,_17c,_17d){ +with(self){ +_verticalMotionCanDrag=_17d; +} +}),new objj_method(sel_getUid("verticalMotionCanBeginDrag"),function(self,_17e){ +with(self){ +return _verticalMotionCanDrag; +} +}),new objj_method(sel_getUid("setSortDescriptors:"),function(self,_17f,_180){ +with(self){ +var _181=objj_msgSend(self,"sortDescriptors"),_182=nil; +if(_180==nil){ +_182=objj_msgSend(CPArray,"array"); +}else{ +_182=objj_msgSend(CPArray,"arrayWithArray:",_180); +} +if(objj_msgSend(_182,"isEqual:",_181)){ +return; +} +_sortDescriptors=_182; +objj_msgSend(self,"_sendDataSourceSortDescriptorsDidChange:",_181); +} +}),new objj_method(sel_getUid("sortDescriptors"),function(self,_183){ +with(self){ +return _sortDescriptors; +} +}),new objj_method(sel_getUid("_objectValueForTableColumn:row:"),function(self,_184,_185,_186){ +with(self){ +var _187=objj_msgSend(_185,"UID"),_188=_objectValues[_187]; +if(!_188){ +_188=[]; +_objectValues[_187]=_188; +} +var _189=_188[_186]; +if(_189===undefined){ +_189=objj_msgSend(_dataSource,"tableView:objectValueForTableColumn:row:",self,_185,_186); +_188[_186]=_189; +} +return _189; +} +}),new objj_method(sel_getUid("_exposedRect"),function(self,_18a){ +with(self){ +var _18b=objj_msgSend(self,"superview"); +if(!objj_msgSend(_18b,"isKindOfClass:",objj_msgSend(CPClipView,"class"))){ +return objj_msgSend(self,"bounds"); +} +return objj_msgSend(self,"convertRect:fromView:",CGRectIntersection(objj_msgSend(_18b,"bounds"),objj_msgSend(self,"frame")),_18b); +} +}),new objj_method(sel_getUid("load"),function(self,_18c){ +with(self){ +if(_reloadAllRows){ +objj_msgSend(self,"_unloadDataViewsInRows:columns:",_exposedRows,_exposedColumns); +_exposedRows=objj_msgSend(CPIndexSet,"indexSet"); +_exposedColumns=objj_msgSend(CPIndexSet,"indexSet"); +_reloadAllRows=NO; +} +var _18d=objj_msgSend(self,"_exposedRect"),_18e=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",objj_msgSend(self,"rowsInRect:",_18d)),_18f=objj_msgSend(self,"columnIndexesInRect:",_18d),_190=objj_msgSend(_exposedRows,"copy"),_191=objj_msgSend(_exposedColumns,"copy"); +objj_msgSend(_190,"removeIndexes:",_18e); +objj_msgSend(_191,"removeIndexes:",_18f); +var _192=objj_msgSend(_18e,"copy"),_193=objj_msgSend(_18f,"copy"); +objj_msgSend(_192,"removeIndexes:",_exposedRows); +objj_msgSend(_193,"removeIndexes:",_exposedColumns); +var _194=objj_msgSend(_18e,"copy"),_195=objj_msgSend(_18f,"copy"); +objj_msgSend(_194,"removeIndexes:",_192); +objj_msgSend(_195,"removeIndexes:",_193); +objj_msgSend(self,"_unloadDataViewsInRows:columns:",_194,_191); +objj_msgSend(self,"_unloadDataViewsInRows:columns:",_190,_195); +objj_msgSend(self,"_unloadDataViewsInRows:columns:",_190,_191); +objj_msgSend(self,"_loadDataViewsInRows:columns:",_194,_193); +objj_msgSend(self,"_loadDataViewsInRows:columns:",_192,_195); +objj_msgSend(self,"_loadDataViewsInRows:columns:",_192,_193); +_exposedRows=_18e; +_exposedColumns=_18f; +objj_msgSend(_tableDrawView,"setFrame:",_18d); +objj_msgSend(_tableDrawView,"display"); +for(var _196 in _cachedDataViews){ +var _197=_cachedDataViews[_196],_198=_197.length; +while(_198--){ +objj_msgSend(_197[_198],"removeFromSuperview"); +} +} +} +}),new objj_method(sel_getUid("_unloadDataViewsInRows:columns:"),function(self,_199,rows,_19a){ +with(self){ +if(!objj_msgSend(rows,"count")||!objj_msgSend(_19a,"count")){ +return; +} +var _19b=[],_19c=[]; +objj_msgSend(rows,"getIndexes:maxCount:inIndexRange:",_19b,-1,nil); +objj_msgSend(_19a,"getIndexes:maxCount:inIndexRange:",_19c,-1,nil); +var _19d=0,_19e=_19c.length; +for(;_19d<_19e;++_19d){ +var _19f=_19c[_19d],_1a0=_tableColumns[_19f],_1a1=objj_msgSend(_1a0,"UID"); +var _1a2=0,_1a3=_19b.length; +for(;_1a2<_1a3;++_1a2){ +var row=_19b[_1a2],_1a4=_dataViewsForTableColumns[_1a1][row]; +_dataViewsForTableColumns[_1a1][row]=nil; +objj_msgSend(self,"_enqueueReusableDataView:",_1a4); +} +} +} +}),new objj_method(sel_getUid("_loadDataViewsInRows:columns:"),function(self,_1a5,rows,_1a6){ +with(self){ +if(!objj_msgSend(rows,"count")||!objj_msgSend(_1a6,"count")){ +return; +} +var _1a7=[],_1a8=[],_1a9=[]; +objj_msgSend(rows,"getIndexes:maxCount:inIndexRange:",_1a7,-1,nil); +objj_msgSend(_1a6,"getIndexes:maxCount:inIndexRange:",_1a9,-1,nil); +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _1aa=0,_1ab=_1a9.length; +for(;_1aa<_1ab;++_1aa){ +var _1ac=_1a9[_1aa],_1ad=_tableColumns[_1ac],_1ae=objj_msgSend(_1ad,"UID"); +if(!_dataViewsForTableColumns[_1ae]){ +_dataViewsForTableColumns[_1ae]=[]; +} +var _1af=0,_1b0=_1a7.length; +var _1b1=objj_msgSend(_selectedColumnIndexes,"containsIndex:",_1ac); +for(;_1af<_1b0;++_1af){ +var row=_1a7[_1af],_1b2=objj_msgSend(self,"_newDataViewForRow:tableColumn:",row,_1ad),_1b3=objj_msgSend(_1b2,"isKindOfClass:",objj_msgSend(CPButton,"class")),_1b4=objj_msgSend(_1b2,"isKindOfClass:",objj_msgSend(CPTextField,"class")); +objj_msgSend(_1b2,"setFrame:",objj_msgSend(self,"frameOfDataViewAtColumn:row:",_1ac,row)); +objj_msgSend(_1b2,"setObjectValue:",objj_msgSend(self,"_objectValueForTableColumn:row:",_1ad,row)); +if(_1b1||objj_msgSend(self,"isRowSelected:",row)){ +objj_msgSend(_1b2,"setThemeState:",CPThemeStateSelected); +}else{ +objj_msgSend(_1b2,"unsetThemeState:",CPThemeStateSelected); +} +if(_implementedDelegateMethods&_18){ +objj_msgSend(_delegate,"tableView:willDisplayView:forTableColumn:row:",self,_1b2,_1ad,row); +} +if(objj_msgSend(_1b2,"superview")!==self){ +objj_msgSend(self,"addSubview:",_1b2); +} +_dataViewsForTableColumns[_1ae][row]=_1b2; +if(_1b3||(_editingCellIndex&&_editingCellIndex.x===_1ac&&_editingCellIndex.y===row)){ +if(!_1b3){ +_editingCellIndex=undefined; +} +if(_1b4){ +objj_msgSend(_1b2,"setEditable:",YES); +objj_msgSend(_1b2,"setSendsActionOnEndEditing:",YES); +objj_msgSend(_1b2,"setSelectable:",YES); +objj_msgSend(_1b2,"selectText:",nil); +} +objj_msgSend(_1b2,"setTarget:",self); +objj_msgSend(_1b2,"setAction:",sel_getUid("_commitDataViewObjectValue:")); +_1b2.tableViewEditedColumnObj=_1ad; +_1b2.tableViewEditedRowIndex=row; +}else{ +if(_1b4){ +objj_msgSend(_1b2,"setEditable:",NO); +objj_msgSend(_1b2,"setSelectable:",NO); +} +} +} +} +} +}),new objj_method(sel_getUid("_layoutDataViewsInRows:columns:"),function(self,_1b5,rows,_1b6){ +with(self){ +var _1b7=[],_1b8=[]; +objj_msgSend(rows,"getIndexes:maxCount:inIndexRange:",_1b7,-1,nil); +objj_msgSend(_1b6,"getIndexes:maxCount:inIndexRange:",_1b8,-1,nil); +var _1b9=0,_1ba=_1b8.length; +for(;_1b9<_1ba;++_1b9){ +var _1bb=_1b8[_1b9],_1bc=_tableColumns[_1bb],_1bd=objj_msgSend(_1bc,"UID"),_1be=_dataViewsForTableColumns[_1bd],_1bf=_tableColumnRanges[_1bb]; +var _1c0=0,_1c1=_1b7.length; +for(;_1c0<_1c1;++_1c0){ +var row=_1b7[_1c0],_1c2=_1be[row]; +objj_msgSend(_1c2,"setFrame:",objj_msgSend(self,"frameOfDataViewAtColumn:row:",_1bb,row)); +} +} +} +}),new objj_method(sel_getUid("_commitDataViewObjectValue:"),function(self,_1c3,_1c4){ +with(self){ +objj_msgSend(_dataSource,"tableView:setObjectValue:forTableColumn:row:",self,objj_msgSend(_1c4,"objectValue"),_1c4.tableViewEditedColumnObj,_1c4.tableViewEditedRowIndex); +if(objj_msgSend(_1c4,"respondsToSelector:",sel_getUid("setEditable:"))){ +objj_msgSend(_1c4,"setEditable:",NO); +} +} +}),new objj_method(sel_getUid("_newDataViewForRow:tableColumn:"),function(self,_1c5,aRow,_1c6){ +with(self){ +if((_implementedDelegateMethods&_8)){ +var _1c7=objj_msgSend(_delegate,"tableView:dataViewForTableColumn:row:",self,_1c6,aRow); +objj_msgSend(_1c6,"setDataView:",_1c7); +} +return objj_msgSend(_1c6,"_newDataViewForRow:",aRow); +} +}),new objj_method(sel_getUid("_enqueueReusableDataView:"),function(self,_1c8,_1c9){ +with(self){ +var _1ca=_1c9.identifier; +if(!_cachedDataViews[_1ca]){ +_cachedDataViews[_1ca]=[_1c9]; +}else{ +_cachedDataViews[_1ca].push(_1c9); +} +} +}),new objj_method(sel_getUid("setFrameSize:"),function(self,_1cb,_1cc){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"setFrameSize:",_1cc); +if(_headerView){ +objj_msgSend(_headerView,"setFrameSize:",{width:(objj_msgSend(self,"frame").size.width),height:(objj_msgSend(_headerView,"frame").size.height)}); +} +} +}),new objj_method(sel_getUid("exposedClipRect"),function(self,_1cd){ +with(self){ +var _1ce=objj_msgSend(self,"superview"); +if(!objj_msgSend(_1ce,"isKindOfClass:",objj_msgSend(CPClipView,"class"))){ +return objj_msgSend(self,"bounds"); +} +return objj_msgSend(self,"convertRect:fromView:",CGRectIntersection(objj_msgSend(_1ce,"bounds"),objj_msgSend(self,"frame")),_1ce); +} +}),new objj_method(sel_getUid("_drawRect:"),function(self,_1cf,_1d0){ +with(self){ +var _1d1=objj_msgSend(self,"_exposedRect"); +objj_msgSend(self,"drawBackgroundInClipRect:",_1d1); +objj_msgSend(self,"drawGridInClipRect:",_1d1); +objj_msgSend(self,"highlightSelectionInClipRect:",_1d1); +} +}),new objj_method(sel_getUid("drawBackgroundInClipRect:"),function(self,_1d2,_1d3){ +with(self){ +if(!_usesAlternatingRowBackgroundColors){ +var _1d4=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetFillColor(_1d4,_backgroundColor); +CGContextFillRect(_1d4,_1d3); +return; +} +var _1d5=objj_msgSend(self,"alternatingRowBackgroundColors"),_1d6=objj_msgSend(_1d5,"count"); +if(_1d6===0){ +return; +} +var _1d4=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +if(_1d6===1){ +CGContextSetFillColor(_1d4,_1d5[0]); +CGContextFillRect(_1d4,_1d3); +return; +} +var _1d7=objj_msgSend(self,"rowsInRect:",_1d3),_1d8=_1d7.location,_1d9=CPMaxRange(_1d7)-1,_1da=MIN(_1d7.length,_1d6),_1db=0; +while(_1da--){ +var row=_1d8-_1d8%_1d6+_1da,_1dc=nil; +CGContextBeginPath(_1d4); +for(;row<=_1d9;row+=_1d6){ +if(row>=_1d8){ +CGContextAddRect(_1d4,CGRectIntersection(_1d3,_1dc=objj_msgSend(self,"rectOfRow:",row))); +} +} +if(row-_1d6===_1d9){ +_1db=(_1dc.origin.y+_1dc.size.height); +} +CGContextClosePath(_1d4); +CGContextSetFillColor(_1d4,_1d5[_1da]); +CGContextFillPath(_1d4); +} +var _1dd=(_1d3.origin.y+_1d3.size.height); +if(_1db>=_1dd||_rowHeight<=0){ +return; +} +var _1de=_rowHeight+_intercellSpacing.height,_1dc={origin:{x:(_1d3.origin.x),y:(_1d3.origin.y)+_1db},size:{width:(_1d3.size.width),height:_1de}}; +for(row=_1d9+1;_1db<_1dd;++row){ +CGContextSetFillColor(_1d4,_1d5[row%_1d6]); +CGContextFillRect(_1d4,_1dc); +_1db+=_1de; +_1dc.origin.y+=_1de; +} +} +}),new objj_method(sel_getUid("drawGridInClipRect:"),function(self,_1df,_1e0){ +with(self){ +var _1e1=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_1e2=objj_msgSend(self,"gridStyleMask"); +if(!(_1e2&(CPTableViewSolidHorizontalGridLineMask|CPTableViewSolidVerticalGridLineMask))){ +return; +} +CGContextBeginPath(_1e1); +if(_1e2&CPTableViewSolidHorizontalGridLineMask){ +var _1e3=objj_msgSend(self,"rowsInRect:",_1e0); +row=_1e3.location,lastRow=CPMaxRange(_1e3)-1,rowY=0,minX=(_1e0.origin.x),maxX=(_1e0.origin.x+_1e0.size.width); +for(;row<=lastRow;++row){ +var _1e4=objj_msgSend(self,"rectOfRow:",row),rowY=(_1e4.origin.y+_1e4.size.height)-0.5; +CGContextMoveToPoint(_1e1,minX,rowY); +CGContextAddLineToPoint(_1e1,maxX,rowY); +} +if(_rowHeight>0){ +var _1e5=_rowHeight+_intercellSpacing.height,_1e6=(_1e0.origin.y+_1e0.size.height); +while(rowY<_1e6){ +rowY+=_1e5; +CGContextMoveToPoint(_1e1,minX,rowY); +CGContextAddLineToPoint(_1e1,maxX,rowY); +} +} +} +if(_1e2&CPTableViewSolidVerticalGridLineMask){ +var _1e7=objj_msgSend(self,"columnIndexesInRect:",_1e0),_1e8=[]; +objj_msgSend(_1e7,"getIndexes:maxCount:inIndexRange:",_1e8,-1,nil); +var _1e9=0,_1ea=_1e8.length,minY=(_1e0.origin.y),maxY=(_1e0.origin.y+_1e0.size.height); +for(;_1e9<_1ea;++_1e9){ +var _1eb=objj_msgSend(self,"rectOfColumn:",_1e8[_1e9]),_1ec=(_1eb.origin.x+_1eb.size.width)+0.5; +CGContextMoveToPoint(_1e1,_1ec,minY); +CGContextAddLineToPoint(_1e1,_1ec,maxY); +} +} +CGContextClosePath(_1e1); +CGContextSetStrokeColor(_1e1,_gridColor); +CGContextStrokePath(_1e1); +} +}),new objj_method(sel_getUid("highlightSelectionInClipRect:"),function(self,_1ed,_1ee){ +with(self){ +var _1ef=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_1f0=[],_1f1=sel_getUid("rectOfRow:"); +if(objj_msgSend(_selectedRowIndexes,"count")>=1){ +var _1f2=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",objj_msgSend(self,"rowsInRect:",_1ee)),_1f3=objj_msgSend(_1f2,"firstIndex"),_1f4=CPMakeRange(_1f3,objj_msgSend(_1f2,"lastIndex")-_1f3+1); +objj_msgSend(_selectedRowIndexes,"getIndexes:maxCount:inIndexRange:",_1f0,-1,_1f4); +}else{ +if(objj_msgSend(_selectedColumnIndexes,"count")>=1){ +_1f1=sel_getUid("rectOfColumn:"); +var _1f5=objj_msgSend(self,"columnIndexesInRect:",_1ee),_1f6=objj_msgSend(_1f5,"firstIndex"),_1f4=CPMakeRange(_1f6,objj_msgSend(_1f5,"lastIndex")-_1f6+1); +objj_msgSend(_selectedColumnIndexes,"getIndexes:maxCount:inIndexRange:",_1f0,-1,_1f4); +} +} +var _1f7=count2=objj_msgSend(_1f0,"count"); +if(!_1f7){ +return; +} +var _1f8=(_selectionHighlightStyle===CPTableViewSelectionHighlightStyleSourceList&&objj_msgSend(_selectedRowIndexes,"count")>=1); +var _1f9=0.5*(_gridStyleMask&CPTableViewSolidHorizontalGridLineMask); +CGContextBeginPath(_1ef); +while(_1f7--){ +var _1fa=CGRectIntersection(objj_msgSend(self,_1f1,_1f0[_1f7]),_1ee); +CGContextAddRect(_1ef,_1fa); +if(_1f8){ +var minX=(_1fa.origin.x),minY=(_1fa.origin.y),maxX=(_1fa.origin.x+_1fa.size.width),maxY=(_1fa.origin.y+_1fa.size.height)-_1f9; +CGContextDrawLinearGradient(_1ef,_sourceListActiveGradient,_1fa.origin,CGPointMake(minX,maxY),0); +CGContextClosePath(_1ef); +CGContextBeginPath(_1ef); +CGContextMoveToPoint(_1ef,minX,minY); +CGContextAddLineToPoint(_1ef,maxX,minY); +CGContextClosePath(_1ef); +CGContextSetStrokeColor(_1ef,_sourceListActiveTopLineColor); +CGContextStrokePath(_1ef); +CGContextBeginPath(_1ef); +CGContextMoveToPoint(_1ef,minX,maxY); +CGContextAddLineToPoint(_1ef,maxX,maxY-1); +CGContextClosePath(_1ef); +CGContextSetStrokeColor(_1ef,_sourceListActiveBottomLineColor); +CGContextStrokePath(_1ef); +} +} +CGContextClosePath(_1ef); +if(!_1f8){ +objj_msgSend(objj_msgSend(CPColor,"selectionColor"),"setFill"); +CGContextFillPath(_1ef); +} +CGContextBeginPath(_1ef); +gridStyleMask=objj_msgSend(self,"gridStyleMask"); +for(var i=0;i=1&&gridStyleMask&CPTableViewSolidVerticalGridLineMask){ +var _1f5=objj_msgSend(self,"columnIndexesInRect:",_1ee),_1fb=[],_1fc=objj_msgSend(_1f5,"firstIndex"),_1f4=CPMakeRange(_1fc,objj_msgSend(_1f5,"lastIndex")-_1fc+1); +objj_msgSend(_1f5,"getIndexes:maxCount:inIndexRange:",_1fb,-1,_1f4); +var _1fd=objj_msgSend(_1fb,"count"); +for(var c=_1fc;c<_1fd;c++){ +var _1fe=objj_msgSend(self,"rectOfColumn:",_1fb[c]),colX=CGRectGetMaxX(_1fe)+0.5; +CGContextMoveToPoint(_1ef,colX,minY); +CGContextAddLineToPoint(_1ef,colX,maxY); +} +} +if(objj_msgSend(_1f0,"containsObject:",_1f0[i]+1)){ +CGContextMoveToPoint(_1ef,minX,maxY); +CGContextAddLineToPoint(_1ef,maxX,maxY); +} +} +CGContextClosePath(_1ef); +CGContextSetStrokeColor(_1ef,objj_msgSend(CPColor,"colorWithHexString:","e5e5e5")); +CGContextStrokePath(_1ef); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(self,_1ff){ +with(self){ +objj_msgSend(self,"load"); +} +}),new objj_method(sel_getUid("viewWillMoveToSuperview:"),function(self,_200,_201){ +with(self){ +var _202=objj_msgSend(self,"superview"),_203=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_202){ +objj_msgSend(_203,"removeObserver:name:object:",self,CPViewFrameDidChangeNotification,_202); +objj_msgSend(_203,"removeObserver:name:object:",self,CPViewBoundsDidChangeNotification,_202); +} +if(_201){ +objj_msgSend(_201,"setPostsFrameChangedNotifications:",YES); +objj_msgSend(_201,"setPostsBoundsChangedNotifications:",YES); +objj_msgSend(_203,"addObserver:selector:name:object:",self,sel_getUid("superviewFrameChanged:"),CPViewFrameDidChangeNotification,_201); +objj_msgSend(_203,"addObserver:selector:name:object:",self,sel_getUid("superviewBoundsChanged:"),CPViewBoundsDidChangeNotification,_201); +} +} +}),new objj_method(sel_getUid("superviewBoundsChanged:"),function(self,_204,_205){ +with(self){ +objj_msgSend(self,"setNeedsDisplay:",YES); +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("superviewFrameChanged:"),function(self,_206,_207){ +with(self){ +objj_msgSend(self,"tile"); +} +}),new objj_method(sel_getUid("tracksMouseOutsideOfFrame"),function(self,_208){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("startTrackingAt:"),function(self,_209,_20a){ +with(self){ +var row=objj_msgSend(self,"rowAtPoint:",_20a); +if(row<0&&_allowsEmptySelection){ +objj_msgSend(self,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSet"),NO); +} +objj_msgSend(self,"_noteSelectionIsChanging"); +if(objj_msgSend(self,"mouseDownFlags")&CPShiftKeyMask){ +_selectionAnchorRow=(ABS(objj_msgSend(_selectedRowIndexes,"firstIndex")-row)=0&&!(_implementedDataSourceMethods&_5)){ +objj_msgSend(self,"_updateSelectionWithMouseAtRow:",row); +} +objj_msgSend(objj_msgSend(self,"window"),"makeFirstResponder:",self); +return YES; +} +}),new objj_method(sel_getUid("trackMouse:"),function(self,_20b,_20c){ +with(self){ +if(!objj_msgSend(_draggedRowIndexes,"count")){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"trackMouse:",_20c); +}else{ +objj_msgSend(CPApp,"sendEvent:",_20c); +} +} +}),new objj_method(sel_getUid("continueTracking:at:"),function(self,_20d,_20e,_20f){ +with(self){ +var row=objj_msgSend(self,"rowAtPoint:",_20f); +if(!_isSelectingSession&&_implementedDataSourceMethods&_5){ +if(row>=0&&(ABS(_startTrackingPoint.x-_20f.x)>3||(_verticalMotionCanDrag&&ABS(_startTrackingPoint.y-_20f.y)>3))||(objj_msgSend(_selectedRowIndexes,"containsIndex:",row))){ +if(objj_msgSend(_selectedRowIndexes,"containsIndex:",row)){ +_draggedRowIndexes=objj_msgSend(objj_msgSend(CPIndexSet,"alloc"),"initWithIndexSet:",_selectedRowIndexes); +}else{ +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSetWithIndex:",row); +} +var _210=objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard); +if(objj_msgSend(self,"canDragRowsWithIndexes:atPoint:",_draggedRowIndexes,_20f)&&objj_msgSend(_dataSource,"tableView:writeRowsWithIndexes:toPasteboard:",self,_draggedRowIndexes,_210)){ +var _211=objj_msgSend(CPApp,"currentEvent"),_212=CPPointMakeZero(),_213=objj_msgSend(_tableColumns,"objectsAtIndexes:",_exposedColumns); +var view=objj_msgSend(self,"dragViewForRowsWithIndexes:tableColumns:event:offset:",_draggedRowIndexes,_213,_211,_212); +if(!view){ +var _214=objj_msgSend(self,"dragImageForRowsWithIndexes:tableColumns:event:offset:",_draggedRowIndexes,_213,_211,_212); +view=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CPMakeRect(0,0,objj_msgSend(_214,"size").width,objj_msgSend(_214,"size").height)); +objj_msgSend(view,"setImage:",_214); +} +var _215=objj_msgSend(view,"bounds"); +var _216=CPPointMake(_20f.x-CGRectGetWidth(_215)/2+_212.x,_20f.y-CGRectGetHeight(_215)/2+_212.y); +objj_msgSend(self,"dragView:at:offset:event:pasteboard:source:slideBack:",view,_216,CPPointMakeZero(),objj_msgSend(CPApp,"currentEvent"),_210,self,YES); +_startTrackingPoint=nil; +return NO; +} +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +}else{ +if(ABS(_startTrackingPoint.x-_20f.x)<5&&ABS(_startTrackingPoint.y-_20f.y)<5){ +return YES; +} +} +} +_isSelectingSession=YES; +if(row>=0){ +objj_msgSend(self,"_updateSelectionWithMouseAtRow:",row); +} +if((_implementedDataSourceMethods&_1)&&!_trackingPointMovedOutOfClickSlop){ +var _217=5; +if(ABS(_20f.x-_startTrackingPoint.x)>_217||ABS(_20f.y-_startTrackingPoint.y)>_217){ +_trackingPointMovedOutOfClickSlop=YES; +} +} +return YES; +} +}),new objj_method(sel_getUid("stopTracking:at:mouseIsUp:"),function(self,_218,_219,_21a,_21b){ +with(self){ +_isSelectingSession=NO; +var _21c=1000,_21d,_21e,_21f,_220=YES; +if(_implementedDataSourceMethods&_5){ +_21f=objj_msgSend(self,"rowAtPoint:",_21a); +if(_21f!==-1){ +if(objj_msgSend(_draggedRowIndexes,"count")>0){ +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +return; +} +_previouslySelectedRowIndexes=objj_msgSend(_selectedRowIndexes,"copy"); +objj_msgSend(self,"_updateSelectionWithMouseAtRow:",_21f); +} +} +if(_21b&&(_implementedDataSourceMethods&_1)&&!_trackingPointMovedOutOfClickSlop&&(objj_msgSend(objj_msgSend(CPApp,"currentEvent"),"clickCount")>1)){ +_21d=objj_msgSend(self,"columnAtPoint:",_219); +if(_21d!==-1){ +_21e=_tableColumns[_21d]; +if(objj_msgSend(_21e,"isEditable")){ +_21f=objj_msgSend(self,"rowAtPoint:",_21a); +if(_21f!==-1){ +if(_implementedDelegateMethods&_10){ +_220=objj_msgSend(_delegate,"tableView:shouldEditTableColumn:row:",self,_21e,_21f); +} +if(_220){ +_editingCellIndex=CGPointMake(_21d,_21f); +objj_msgSend(self,"reloadDataForRowIndexes:columnIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_21f),objj_msgSend(CPIndexSet,"indexSetWithIndex:",_21d)); +return; +} +} +} +} +} +if(objj_msgSend(objj_msgSend(CPApp,"currentEvent"),"clickCount")===2&&_doubleAction&&_target){ +objj_msgSend(self,"sendAction:to:",_doubleAction,_target); +} +} +}),new objj_method(sel_getUid("draggingEntered:"),function(self,_221,_222){ +with(self){ +var _223=objj_msgSend(self,"convertPoint:fromView:",objj_msgSend(_222,"draggingLocation"),nil),_224=objj_msgSend(self,"_proposedDropOperationAtPoint:",_223),row=objj_msgSend(self,"_proposedRowAtPoint:",_223); +if(_retargetedDropRow!==nil){ +row=_retargetedDropRow; +} +var _225=objj_msgSend(self,"registeredDraggedTypes"),_226=objj_msgSend(_225,"count"),i=0; +for(;i<_226;i++){ +if(objj_msgSend(objj_msgSend(objj_msgSend(_222,"draggingPasteboard"),"types"),"containsObject:",objj_msgSend(_225,"objectAtIndex:",i))){ +return objj_msgSend(self,"_validateDrop:proposedRow:proposedDropOperation:",_222,row,_224); +} +} +return CPDragOperationNone; +} +}),new objj_method(sel_getUid("draggingExited:"),function(self,_227,_228){ +with(self){ +objj_msgSend(_dropOperationFeedbackView,"removeFromSuperview"); +} +}),new objj_method(sel_getUid("draggingEnded:"),function(self,_229,_22a){ +with(self){ +objj_msgSend(self,"_draggingEnded"); +} +}),new objj_method(sel_getUid("_draggingEnded"),function(self,_22b){ +with(self){ +_retargetedDropOperation=nil; +_retargetedDropRow=nil; +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +objj_msgSend(_dropOperationFeedbackView,"removeFromSuperview"); +} +}),new objj_method(sel_getUid("wantsPeriodicDraggingUpdates"),function(self,_22c){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("_proposedDropOperationAtPoint:"),function(self,_22d,_22e){ +with(self){ +if(_retargetedDropOperation!==nil){ +return _retargetedDropOperation; +} +var row=objj_msgSend(self,"_proposedRowAtPoint:",_22e),_22f=objj_msgSend(self,"rectOfRow:",row); +if(objj_msgSend(self,"intercellSpacing").height<5){ +_22f=CPRectInset(_22f,0,5-objj_msgSend(self,"intercellSpacing").height); +} +if(CGRectContainsPoint(_22f,_22e)&&row<_numberOfRows){ +return CPTableViewDropOn; +} +return CPTableViewDropAbove; +} +}),new objj_method(sel_getUid("_proposedRowAtPoint:"),function(self,_230,_231){ +with(self){ +var row=FLOOR(_231.y/(_rowHeight+_intercellSpacing.height)); +var _232=row+1,rect=objj_msgSend(self,"rectOfRow:",row),_233=objj_msgSend(self,"rectOfRow:",_232); +if(ABS(CPRectGetMinY(_233)-_231.y)=objj_msgSend(self,"numberOfRows")){ +row=objj_msgSend(self,"numberOfRows"); +} +return row; +} +}),new objj_method(sel_getUid("_validateDrop:proposedRow:proposedDropOperation:"),function(self,_234,info,row,_235){ +with(self){ +if(_implementedDataSourceMethods&_4){ +return objj_msgSend(_dataSource,"tableView:validateDrop:proposedRow:proposedDropOperation:",self,info,row,_235); +} +return CPDragOperationNone; +} +}),new objj_method(sel_getUid("_rectForDropHighlightViewOnRow:"),function(self,_236,_237){ +with(self){ +if(_237>=objj_msgSend(self,"numberOfRows")){ +_237=objj_msgSend(self,"numberOfRows")-1; +} +return objj_msgSend(self,"rectOfRow:",_237); +} +}),new objj_method(sel_getUid("_rectForDropHighlightViewBetweenUpperRow:andLowerRow:offset:"),function(self,_238,_239,_23a,_23b){ +with(self){ +if(_23a>objj_msgSend(self,"numberOfRows")){ +_23a=objj_msgSend(self,"numberOfRows"); +} +return objj_msgSend(self,"rectOfRow:",_23a); +} +}),new objj_method(sel_getUid("draggingUpdated:"),function(self,_23c,_23d){ +with(self){ +var _23e=objj_msgSend(self,"convertPoint:fromView:",objj_msgSend(_23d,"draggingLocation"),nil),_23f=objj_msgSend(self,"_proposedDropOperationAtPoint:",_23e),_240=objj_msgSend(self,"numberOfRows"); +var row=objj_msgSend(self,"_proposedRowAtPoint:",_23e),_241=objj_msgSend(self,"_validateDrop:proposedRow:proposedDropOperation:",_23d,row,_23f); +exposedClipRect=objj_msgSend(self,"exposedClipRect"); +if(_retargetedDropRow!==nil){ +row=_retargetedDropRow; +} +if(_23f===CPTableViewDropOn&&row>=objj_msgSend(self,"numberOfRows")){ +row=objj_msgSend(self,"numberOfRows")-1; +} +var rect=CPRectMakeZero(); +if(row===-1){ +rect=exposedClipRect; +}else{ +if(_23f===CPTableViewDropAbove){ +rect=objj_msgSend(self,"_rectForDropHighlightViewBetweenUpperRow:andLowerRow:offset:",row-1,row,_23e); +}else{ +rect=objj_msgSend(self,"_rectForDropHighlightViewOnRow:",row); +} +} +objj_msgSend(_dropOperationFeedbackView,"setDropOperation:",row!==-1?_23f:CPDragOperationNone); +objj_msgSend(_dropOperationFeedbackView,"setHidden:",(_241==CPDragOperationNone)); +objj_msgSend(_dropOperationFeedbackView,"setFrame:",rect); +objj_msgSend(_dropOperationFeedbackView,"setCurrentRow:",row); +objj_msgSend(self,"addSubview:",_dropOperationFeedbackView); +if(row>0&&_23e.y-CGRectGetMinY(exposedClipRect)<_rowHeight){ +objj_msgSend(self,"scrollRowToVisible:",row-1); +}else{ +if(row<_240&&CGRectGetMaxY(exposedClipRect)-_23e.y<_rowHeight){ +objj_msgSend(self,"scrollRowToVisible:",row+1); +} +} +return _241; +} +}),new objj_method(sel_getUid("prepareForDragOperation:"),function(self,_242,_243){ +with(self){ +objj_msgSend(_dropOperationFeedbackView,"removeFromSuperview"); +return (_implementedDataSourceMethods&_4); +} +}),new objj_method(sel_getUid("performDragOperation:"),function(self,_244,_245){ +with(self){ +var _246=objj_msgSend(self,"convertPoint:fromView:",objj_msgSend(_245,"draggingLocation"),nil); +operation=objj_msgSend(self,"_proposedDropOperationAtPoint:",_246),row=_retargetedDropRow; +if(row===nil){ +var row=objj_msgSend(self,"_proposedRowAtPoint:",_246); +} +return objj_msgSend(_dataSource,"tableView:acceptDrop:row:dropOperation:",self,_245,row,operation); +} +}),new objj_method(sel_getUid("concludeDragOperation:"),function(self,_247,_248){ +with(self){ +objj_msgSend(self,"reloadData"); +} +}),new objj_method(sel_getUid("draggedImage:endedAt:operation:"),function(self,_249,_24a,_24b,_24c){ +with(self){ +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:didEndDraggedImage:atPosition:operation:"))){ +objj_msgSend(_dataSource,"tableView:didEndDraggedImage:atPosition:operation:",self,_24a,_24b,_24c); +} +} +}),new objj_method(sel_getUid("draggedView:endedAt:operation:"),function(self,_24d,_24e,_24f,_250){ +with(self){ +objj_msgSend(self,"_draggingEnded"); +objj_msgSend(self,"draggedImage:endedAt:operation:",_24e,_24f,_250); +} +}),new objj_method(sel_getUid("_updateSelectionWithMouseAtRow:"),function(self,_251,aRow){ +with(self){ +if(aRow<0){ +return; +} +var _252,_253=NO; +if(objj_msgSend(self,"mouseDownFlags")&(CPCommandKeyMask|CPControlKeyMask|CPAlternateKeyMask)){ +if(objj_msgSend(_selectedRowIndexes,"containsIndex:",aRow)){ +_252=objj_msgSend(_selectedRowIndexes,"copy"); +objj_msgSend(_252,"removeIndex:",aRow); +}else{ +if(_allowsMultipleSelection){ +_252=objj_msgSend(_selectedRowIndexes,"copy"); +objj_msgSend(_252,"addIndex:",aRow); +}else{ +_252=objj_msgSend(CPIndexSet,"indexSetWithIndex:",aRow); +} +} +}else{ +if(_allowsMultipleSelection){ +_252=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(MIN(aRow,_selectionAnchorRow),ABS(aRow-_selectionAnchorRow)+1)); +_253=objj_msgSend(self,"mouseDownFlags")&CPShiftKeyMask&&((_lastSelectedRow==objj_msgSend(_selectedRowIndexes,"lastIndex")&&aRow>_lastSelectedRow)||(_lastSelectedRow==objj_msgSend(_selectedRowIndexes,"firstIndex")&&aRow<_lastSelectedRow)); +}else{ +if(aRow>=0&&aRow<_numberOfRows){ +_252=objj_msgSend(CPIndexSet,"indexSetWithIndex:",aRow); +}else{ +_252=objj_msgSend(CPIndexSet,"indexSet"); +} +} +} +if(objj_msgSend(_252,"isEqualToIndexSet:",_selectedRowIndexes)){ +return; +} +if(_implementedDelegateMethods&_7&&!objj_msgSend(_delegate,"selectionShouldChangeInTableView:",self)){ +return; +} +if(_implementedDelegateMethods&_f){ +_252=objj_msgSend(_delegate,"tableView:selectionIndexesForProposedSelection:",self,_252); +} +if(_implementedDelegateMethods&_11){ +var _254=[]; +objj_msgSend(_252,"getIndexes:maxCount:inIndexRange:",_254,-1,nil); +var _255=_254.length; +while(_255--){ +var _256=_254[_255]; +if(!objj_msgSend(_delegate,"tableView:shouldSelectRow:",self,_256)){ +objj_msgSend(_252,"removeIndex:",_256); +} +} +} +_lastSelectedRow=(objj_msgSend(_252,"count")>0)?aRow:-1; +if(!_allowsEmptySelection&&objj_msgSend(_252,"count")===0){ +return; +} +if(objj_msgSend(_252,"isEqualToIndexSet:",_selectedRowIndexes)){ +return; +} +objj_msgSend(self,"selectRowIndexes:byExtendingSelection:",_252,_253); +} +}),new objj_method(sel_getUid("_noteSelectionIsChanging"),function(self,_257){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPTableViewSelectionIsChangingNotification,self,nil); +} +}),new objj_method(sel_getUid("_noteSelectionDidChange"),function(self,_258){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPTableViewSelectionDidChangeNotification,self,nil); +} +}),new objj_method(sel_getUid("becomeFirstResponder"),function(self,_259){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("acceptsFirstResponder"),function(self,_25a){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("keyDown:"),function(self,_25b,_25c){ +with(self){ +objj_msgSend(self,"interpretKeyEvents:",objj_msgSend(CPArray,"arrayWithObject:",_25c)); +} +}),new objj_method(sel_getUid("moveDown:"),function(self,_25d,_25e){ +with(self){ +if(_implementedDelegateMethods&_7&&!objj_msgSend(_delegate,"selectionShouldChangeInTableView:",self)){ +return; +} +var _25f=objj_msgSend(CPApp,"currentEvent"); +if(objj_msgSend(objj_msgSend(self,"selectedRowIndexes"),"count")>0){ +var _260=NO; +if((objj_msgSend(_25f,"modifierFlags")&CPShiftKeyMask)&&_allowsMultipleSelection){ +_260=YES; +} +var i=objj_msgSend(objj_msgSend(self,"selectedRowIndexes"),"lastIndex"); +if(i0){ +var i=0; +} +} +if(_implementedDelegateMethods&_11){ +while((!objj_msgSend(_delegate,"tableView:shouldSelectRow:",self,i))&&i=0){ +objj_msgSend(self,"scrollRowToVisible:",i); +} +} +}),new objj_method(sel_getUid("moveUp:"),function(self,_261,_262){ +with(self){ +if(_implementedDelegateMethods&_7&&!objj_msgSend(_delegate,"selectionShouldChangeInTableView:",self)){ +return; +} +var _263=objj_msgSend(CPApp,"currentEvent"); +if(objj_msgSend(objj_msgSend(self,"selectedRowIndexes"),"count")>0){ +var _264=NO; +if((objj_msgSend(_263,"modifierFlags")&CPShiftKeyMask)&&_allowsMultipleSelection){ +_264=YES; +} +var i=objj_msgSend(objj_msgSend(self,"selectedRowIndexes"),"firstIndex"); +if(i>0){ +i--; +} +}else{ +var _264=NO; +if(objj_msgSend(self,"numberOfRows")>0){ +var i=objj_msgSend(self,"numberOfRows")-1; +} +} +if(_implementedDelegateMethods&_11){ +while((!objj_msgSend(_delegate,"tableView:shouldSelectRow:",self,i))&&i>0){ +i--; +} +if(!objj_msgSend(_delegate,"tableView:shouldSelectRow:",self,i)){ +return; +} +} +objj_msgSend(self,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",i),_264); +if(i>=0){ +objj_msgSend(self,"scrollRowToVisible:",i); +} +} +}),new objj_method(sel_getUid("deleteBackward:"),function(self,_265,_266){ +with(self){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewDeleteKeyPressed:"))){ +objj_msgSend(_delegate,"tableViewDeleteKeyPressed:",self); +} +} +})]); +class_addMethods(_1c,[new objj_method(sel_getUid("_defaultTableHeaderSortImage"),function(self,_267){ +with(self){ +return CPAppKitImage("tableview-headerview-ascending.png",CGSizeMake(9,8)); +} +}),new objj_method(sel_getUid("_defaultTableHeaderReverseSortImage"),function(self,_268){ +with(self){ +return CPAppKitImage("tableview-headerview-descending.png",CGSizeMake(9,8)); +} +})]); +var _269="CPTableViewDataSourceKey",_26a="CPTableViewDelegateKey",_26b="CPTableViewHeaderViewKey",_26c="CPTableViewTableColumnsKey",_26d="CPTableViewRowHeightKey",_26e="CPTableViewIntercellSpacingKey",_26f="CPTableViewMultipleSelectionKey",_270="CPTableViewEmptySelectionKey",_271="CPTableViewColumnReorderingKey",_272="CPTableViewColumnResizingKey",_273="CPTableViewColumnSelectionKey",_274="CPTableViewGridColorKey",_275="CPTableViewGridStyleMaskKey",_276="CPTableViewUsesAlternatingBackgroundKey",_277="CPTableViewAlternatingRowColorsKey",_26b="CPTableViewHeaderViewKey",_278="CPTableViewCornerViewKey"; +var _1b=objj_getClass("CPTableView"); +if(!_1b){ +throw new SyntaxError("*** Could not find definition for class \"CPTableView\""); +} +var _1c=_1b.isa; +class_addMethods(_1b,[new objj_method(sel_getUid("initWithCoder:"),function(self,_279,_27a){ +with(self){ +self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"initWithCoder:",_27a); +if(self){ +_allowsColumnReordering=objj_msgSend(_27a,"decodeBoolForKey:",_271); +_allowsColumnResizing=objj_msgSend(_27a,"decodeBoolForKey:",_272); +_allowsMultipleSelection=objj_msgSend(_27a,"decodeBoolForKey:",_26f); +_allowsEmptySelection=objj_msgSend(_27a,"decodeBoolForKey:",_270); +_allowsColumnSelection=objj_msgSend(_27a,"decodeBoolForKey:",_273); +_tableViewFlags=0; +_selectionHighlightStyle=CPTableViewSelectionHighlightStyleRegular; +_usesAlternatingRowBackgroundColors=objj_msgSend(_27a,"decodeBoolForKey:",_276); +objj_msgSend(self,"setAlternatingRowBackgroundColors:",[objj_msgSend(CPColor,"whiteColor"),objj_msgSend(CPColor,"colorWithHexString:","e4e7ff")]); +_tableColumns=objj_msgSend(_27a,"decodeObjectForKey:",_26c); +objj_msgSend(_tableColumns,"makeObjectsPerformSelector:withObject:",sel_getUid("setTableView:"),self); +_tableColumnRanges=[]; +_dirtyTableColumnRangeIndex=0; +_numberOfHiddenColumns=0; +_objectValues={}; +_dataViewsForTableColumns={}; +_dataViews=[]; +_numberOfRows=0; +_exposedRows=objj_msgSend(CPIndexSet,"indexSet"); +_exposedColumns=objj_msgSend(CPIndexSet,"indexSet"); +_cachedDataViews={}; +_rowHeight=objj_msgSend(_27a,"decodeFloatForKey:",_26d); +if(objj_msgSend(_27a,"containsValueForKey:",_26e)){ +_intercellSpacing=objj_msgSend(_27a,"decodeSizeForKey:",_26e); +}else{ +_intercellSpacing={width:0,height:0}; +} +_gridColor=objj_msgSend(_27a,"decodeObjectForKey:",_274)||objj_msgSend(CPColor,"grayColor"); +_gridStyleMask=objj_msgSend(_27a,"decodeIntForKey:",_275)||CPTableViewGridNone; +_alternatingRowBackgroundColors=objj_msgSend(_27a,"decodeObjectForKey:",_277); +_usesAlternatingRowBackgroundColors=objj_msgSend(_27a,"decodeObjectForKey:",_276); +_headerView=objj_msgSend(_27a,"decodeObjectForKey:",_26b); +_cornerView=objj_msgSend(_27a,"decodeObjectForKey:",_278); +_selectedColumnIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_selectedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_dataSource=objj_msgSend(_27a,"decodeObjectForKey:",_269); +_delegate=objj_msgSend(_27a,"decodeObjectForKey:",_26a); +_tableDrawView=objj_msgSend(objj_msgSend(_CPTableDrawView,"alloc"),"initWithTableView:",self); +objj_msgSend(_tableDrawView,"setBackgroundColor:",objj_msgSend(CPColor,"clearColor")); +objj_msgSend(self,"addSubview:",_tableDrawView); +objj_msgSend(self,"_init"); +objj_msgSend(self,"viewWillMoveToSuperview:",objj_msgSend(self,"superview")); +} +return self; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(self,_27b,_27c){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"encodeWithCoder:",_27c); +objj_msgSend(_27c,"encodeObject:forKey:",_dataSource,_269); +objj_msgSend(_27c,"encodeObject:forKey:",_delegate,_26a); +objj_msgSend(_27c,"encodeFloat:forKey:",_rowHeight,_26d); +objj_msgSend(_27c,"encodeSize:forKey:",_intercellSpacing,_26e); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsMultipleSelection,_26f); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsEmptySelection,_270); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsColumnReordering,_271); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsColumnResizing,_272); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsColumnSelection,_273); +objj_msgSend(_27c,"encodeObject:forKey:",_tableColumns,_26c); +objj_msgSend(_27c,"encodeObject:forKey:",_gridColor,_274); +objj_msgSend(_27c,"encodeInt:forKey:",_gridStyleMask,_275); +objj_msgSend(_27c,"encodeBool:forKey:",_usesAlternatingRowBackgroundColors,_276); +objj_msgSend(_27c,"encodeObject:forKey:",_alternatingRowBackgroundColors,_277); +objj_msgSend(_27c,"encodeObject:forKey:",_cornerView,_278); +objj_msgSend(_27c,"encodeObject:forKey:",_headerView,_26b); +} +})]); +var _1b=objj_getClass("CPColor"); +if(!_1b){ +throw new SyntaxError("*** Could not find definition for class \"CPColor\""); +} +var _1c=_1b.isa; +class_addMethods(_1c,[new objj_method(sel_getUid("selectionColor"),function(self,_27d){ +with(self){ +return objj_msgSend(CPColor,"colorWithHexString:","5f83b9"); +} +}),new objj_method(sel_getUid("selectionColorSourceView"),function(self,_27e){ +with(self){ +return objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:","Resources/tableviewselection.png",CGSizeMake(6,22))); +} +})]); +var _1b=objj_getClass("CPIndexSet"); +if(!_1b){ +throw new SyntaxError("*** Could not find definition for class \"CPIndexSet\""); +} +var _1c=_1b.isa; +class_addMethods(_1b,[new objj_method(sel_getUid("removeMatches:"),function(self,_27f,_280){ +with(self){ +var _281=objj_msgSend(self,"firstIndex"); +var _282=MIN(_281,objj_msgSend(_280,"firstIndex")); +var _283=(_282==_281); +while(_282!=CPNotFound){ +var _284=(_283)?_280:self; +otherIndex=objj_msgSend(_284,"indexGreaterThanOrEqualToIndex:",_282); +if(otherIndex==_282){ +objj_msgSend(self,"removeIndex:",_282); +objj_msgSend(_280,"removeIndex:",_282); +} +_282=otherIndex; +_283=!_283; +} +} +})]); +var _1b=objj_allocateClassPair(CPView,"_dropOperationDrawingView"),_1c=_1b.isa; +class_addIvars(_1b,[new objj_ivar("dropOperation"),new objj_ivar("tableView"),new objj_ivar("currentRow")]); +objj_registerClassPair(_1b); +class_addMethods(_1b,[new objj_method(sel_getUid("dropOperation"),function(self,_285){ +with(self){ +return dropOperation; +} +}),new objj_method(sel_getUid("setDropOperation:"),function(self,_286,_287){ +with(self){ +dropOperation=_287; +} +}),new objj_method(sel_getUid("tableView"),function(self,_288){ +with(self){ +return tableView; +} +}),new objj_method(sel_getUid("setTableView:"),function(self,_289,_28a){ +with(self){ +tableView=_28a; +} +}),new objj_method(sel_getUid("currentRow"),function(self,_28b){ +with(self){ +return currentRow; +} +}),new objj_method(sel_getUid("setCurrentRow:"),function(self,_28c,_28d){ +with(self){ +currentRow=_28d; +} +}),new objj_method(sel_getUid("drawRect:"),function(self,_28e,_28f){ +with(self){ +if(tableView._destinationDragStyle===CPTableViewDraggingDestinationFeedbackStyleNone){ +return; +} +var _290=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetStrokeColor(_290,objj_msgSend(CPColor,"colorWithHexString:","4886ca")); +CGContextSetLineWidth(_290,3); +if(currentRow===-1){ +CGContextStrokeRect(_290,objj_msgSend(self,"bounds")); +}else{ +if(dropOperation===CPTableViewDropOn){ +var _291=objj_msgSend(tableView,"selectedRowIndexes"),_292={origin:{x:_28f.origin.x+2,y:_28f.origin.y+2},size:{width:_28f.size.width-4,height:_28f.size.height-5}}; +if(objj_msgSend(_291,"containsIndex:",currentRow)){ +CGContextSetLineWidth(_290,2); +CGContextSetStrokeColor(_290,objj_msgSend(CPColor,"whiteColor")); +}else{ +CGContextSetFillColor(_290,objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",72/255,134/255,202/255,0.25)); +CGContextFillRoundedRectangleInRect(_290,_292,8,YES,YES,YES,YES); +} +CGContextStrokeRoundedRectangleInRect(_290,_292,8,YES,YES,YES,YES); +}else{ +if(dropOperation===CPTableViewDropAbove){ +objj_msgSend(self,"setFrameOrigin:",CGPointMake(_frame.origin.x,_frame.origin.y-8)); +var _291=objj_msgSend(tableView,"selectedRowIndexes"); +if(objj_msgSend(_291,"containsIndex:",currentRow-1)||objj_msgSend(_291,"containsIndex:",currentRow)){ +CGContextSetStrokeColor(_290,objj_msgSend(CPColor,"whiteColor")); +CGContextSetLineWidth(_290,4); +CGContextStrokeEllipseInRect(_290,{origin:{x:_28f.origin.x+4,y:_28f.origin.y+4},size:{width:8,height:8}}); +CGContextBeginPath(_290); +CGContextMoveToPoint(_290,10,_28f.origin.y+8); +CGContextAddLineToPoint(_290,_28f.size.width-_28f.origin.y-8,_28f.origin.y+8); +CGContextClosePath(_290); +CGContextStrokePath(_290); +CGContextSetStrokeColor(_290,objj_msgSend(CPColor,"colorWithHexString:","4886ca")); +CGContextSetLineWidth(_290,3); +} +CGContextStrokeEllipseInRect(_290,{origin:{x:_28f.origin.x+4,y:_28f.origin.y+4},size:{width:8,height:8}}); +CGContextBeginPath(_290); +CGContextMoveToPoint(_290,10,_28f.origin.y+8); +CGContextAddLineToPoint(_290,_28f.size.width-_28f.origin.y-8,_28f.origin.y+8); +CGContextClosePath(_290); +CGContextStrokePath(_290); +} +} +} +} +})]); +p;11;CPTabView.jt;18789;@STATIC;1.0;i;13;CPImageView.ji;15;CPTabViewItem.ji;8;CPView.jt;18719; +objj_executeFile("CPImageView.j",YES); +objj_executeFile("CPTabViewItem.j",YES); +objj_executeFile("CPView.j",YES); +CPTopTabsBezelBorder=0; +CPNoTabsBezelBorder=4; +CPNoTabsLineBorder=5; +CPNoTabsNoBorder=6; +var _1=nil,_2=nil,_3=nil,_4=nil,_5=nil; +var _6=7,_7=7; +var _8=1,_9=2,_a=4,_b=8; +var _c=objj_allocateClassPair(CPView,"CPTabView"),_d=_c.isa; +class_addIvars(_c,[new objj_ivar("_labelsView"),new objj_ivar("_backgroundView"),new objj_ivar("_separatorView"),new objj_ivar("_auxiliaryView"),new objj_ivar("_contentView"),new objj_ivar("_tabViewItems"),new objj_ivar("_selectedTabViewItem"),new objj_ivar("_tabViewType"),new objj_ivar("_delegate"),new objj_ivar("_delegateSelectors")]); +objj_registerClassPair(_c); +class_addMethods(_c,[new objj_method(sel_getUid("initWithFrame:"),function(_e,_f,_10){ +with(_e){ +_e=objj_msgSendSuper({receiver:_e,super_class:objj_getClass("CPTabView").super_class},"initWithFrame:",_10); +if(_e){ +_tabViewType=CPTopTabsBezelBorder; +_tabViewItems=[]; +} +return _e; +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_11,_12){ +with(_11){ +if(_tabViewType!=CPTopTabsBezelBorder||_labelsView){ +return; +} +objj_msgSend(_11,"_createBezelBorder"); +objj_msgSend(_11,"layoutSubviews"); +} +}),new objj_method(sel_getUid("_createBezelBorder"),function(_13,_14){ +with(_13){ +var _15=objj_msgSend(_13,"bounds"); +_labelsView=objj_msgSend(objj_msgSend(_CPTabLabelsView,"alloc"),"initWithFrame:",CGRectMake(0,0,CGRectGetWidth(_15),0)); +objj_msgSend(_labelsView,"setTabView:",_13); +objj_msgSend(_labelsView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_13,"addSubview:",_labelsView); +_backgroundView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_backgroundView,"setBackgroundColor:",_5); +objj_msgSend(_backgroundView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_13,"addSubview:",_backgroundView); +_separatorView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_separatorView,"setBackgroundColor:",objj_msgSend(objj_msgSend(_13,"class"),"bezelBorderColor")); +objj_msgSend(_separatorView,"setAutoresizingMask:",CPViewWidthSizable|CPViewMaxYMargin); +objj_msgSend(_13,"addSubview:",_separatorView); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_16,_17){ +with(_16){ +if(_tabViewType==CPTopTabsBezelBorder){ +var _18=objj_msgSend(_16,"bounds"),_19=objj_msgSend(_CPTabLabelsView,"height"); +_18.origin.y+=_19; +_18.size.height-=_19; +objj_msgSend(_backgroundView,"setFrame:",_18); +var _1a=5; +if(_auxiliaryView){ +_1a=CGRectGetHeight(objj_msgSend(_auxiliaryView,"frame")); +objj_msgSend(_auxiliaryView,"setFrame:",CGRectMake(_6,_19,CGRectGetWidth(_18)-_6-_7,_1a)); +} +objj_msgSend(_separatorView,"setFrame:",CGRectMake(_6,_19+_1a,CGRectGetWidth(_18)-_6-_7,1)); +} +objj_msgSend(_contentView,"setFrame:",objj_msgSend(_16,"contentRect")); +} +}),new objj_method(sel_getUid("addTabViewItem:"),function(_1b,_1c,_1d){ +with(_1b){ +objj_msgSend(_1b,"insertTabViewItem:atIndex:",_1d,objj_msgSend(_tabViewItems,"count")); +} +}),new objj_method(sel_getUid("insertTabViewItem:atIndex:"),function(_1e,_1f,_20,_21){ +with(_1e){ +if(!_labelsView&&_tabViewType==CPTopTabsBezelBorder){ +objj_msgSend(_1e,"_createBezelBorder"); +} +objj_msgSend(_tabViewItems,"insertObject:atIndex:",_20,_21); +objj_msgSend(_labelsView,"tabView:didAddTabViewItem:",_1e,_20); +objj_msgSend(_20,"_setTabView:",_1e); +if(objj_msgSend(_tabViewItems,"count")==1){ +objj_msgSend(_1e,"selectFirstTabViewItem:",_1e); +} +if(_delegateSelectors&_b){ +objj_msgSend(_delegate,"tabViewDidChangeNumberOfTabViewItems:",_1e); +} +} +}),new objj_method(sel_getUid("removeTabViewItem:"),function(_22,_23,_24){ +with(_22){ +var _25=objj_msgSend(_22,"indexOfTabViewItem:",_24); +objj_msgSend(_tabViewItems,"removeObjectIdenticalTo:",_24); +objj_msgSend(_labelsView,"tabView:didRemoveTabViewItemAtIndex:",_22,_25); +objj_msgSend(_24,"_setTabView:",nil); +if(_delegateSelectors&_b){ +objj_msgSend(_delegate,"tabViewDidChangeNumberOfTabViewItems:",_22); +} +} +}),new objj_method(sel_getUid("indexOfTabViewItem:"),function(_26,_27,_28){ +with(_26){ +return objj_msgSend(_tabViewItems,"indexOfObjectIdenticalTo:",_28); +} +}),new objj_method(sel_getUid("indexOfTabViewItemWithIdentifier:"),function(_29,_2a,_2b){ +with(_29){ +var _2c=0,_2d=objj_msgSend(_tabViewItems,"count"); +for(;_2c<_2d;++_2c){ +if(objj_msgSend(objj_msgSend(_tabViewItems[_2c],"identifier"),"isEqual:",_2b)){ +return _2c; +} +} +return _2c; +} +}),new objj_method(sel_getUid("numberOfTabViewItems"),function(_2e,_2f){ +with(_2e){ +return objj_msgSend(_tabViewItems,"count"); +} +}),new objj_method(sel_getUid("tabViewItemAtIndex:"),function(_30,_31,_32){ +with(_30){ +return _tabViewItems[_32]; +} +}),new objj_method(sel_getUid("tabViewItems"),function(_33,_34){ +with(_33){ +return _tabViewItems; +} +}),new objj_method(sel_getUid("selectFirstTabViewItem:"),function(_35,_36,_37){ +with(_35){ +var _38=objj_msgSend(_tabViewItems,"count"); +if(_38){ +objj_msgSend(_35,"selectTabViewItemAtIndex:",0); +} +} +}),new objj_method(sel_getUid("selectLastTabViewItem:"),function(_39,_3a,_3b){ +with(_39){ +var _3c=objj_msgSend(_tabViewItems,"count"); +if(_3c){ +objj_msgSend(_39,"selectTabViewItemAtIndex:",_3c-1); +} +} +}),new objj_method(sel_getUid("selectNextTabViewItem:"),function(_3d,_3e,_3f){ +with(_3d){ +if(!_selectedTabViewItem){ +return; +} +var _40=objj_msgSend(_3d,"indexOfTabViewItem:",_selectedTabViewItem),_41=objj_msgSend(_tabViewItems,"count"); +objj_msgSend(_3d,"selectTabViewItemAtIndex:",_40+1%_41); +} +}),new objj_method(sel_getUid("selectPreviousTabViewItem:"),function(_42,_43,_44){ +with(_42){ +if(!_selectedTabViewItem){ +return; +} +var _45=objj_msgSend(_42,"indexOfTabViewItem:",_selectedTabViewItem),_46=objj_msgSend(_tabViewItems,"count"); +objj_msgSend(_42,"selectTabViewItemAtIndex:",_45==0?_46:_45-1); +} +}),new objj_method(sel_getUid("selectTabViewItem:"),function(_47,_48,_49){ +with(_47){ +if((_delegateSelectors&_9)&&!objj_msgSend(_delegate,"tabView:shouldSelectTabViewItem:",_47,_49)){ +return; +} +if(_delegateSelectors&_a){ +objj_msgSend(_delegate,"tabView:willSelectTabViewItem:",_47,_49); +} +if(_selectedTabViewItem){ +_selectedTabViewItem._tabState=CPBackgroundTab; +objj_msgSend(_labelsView,"tabView:didChangeStateOfTabViewItem:",_47,_selectedTabViewItem); +objj_msgSend(_contentView,"removeFromSuperview"); +objj_msgSend(_auxiliaryView,"removeFromSuperview"); +} +_selectedTabViewItem=_49; +_selectedTabViewItem._tabState=CPSelectedTab; +_contentView=objj_msgSend(_selectedTabViewItem,"view"); +objj_msgSend(_contentView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_auxiliaryView=objj_msgSend(_selectedTabViewItem,"auxiliaryView"); +objj_msgSend(_auxiliaryView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_47,"addSubview:",_contentView); +if(_auxiliaryView){ +objj_msgSend(_47,"addSubview:",_auxiliaryView); +} +objj_msgSend(_labelsView,"tabView:didChangeStateOfTabViewItem:",_47,_selectedTabViewItem); +objj_msgSend(_47,"layoutSubviews"); +if(_delegateSelectors&_8){ +objj_msgSend(_delegate,"tabView:didSelectTabViewItem:",_47,_49); +} +} +}),new objj_method(sel_getUid("selectTabViewItemAtIndex:"),function(_4a,_4b,_4c){ +with(_4a){ +objj_msgSend(_4a,"selectTabViewItem:",_tabViewItems[_4c]); +} +}),new objj_method(sel_getUid("selectedTabViewItem"),function(_4d,_4e){ +with(_4d){ +return _selectedTabViewItem; +} +}),new objj_method(sel_getUid("setTabViewType:"),function(_4f,_50,_51){ +with(_4f){ +if(_tabViewType==_51){ +return; +} +_tabViewType=_51; +if(_tabViewType==CPNoTabsBezelBorder||_tabViewType==CPNoTabsLineBorder||_tabViewType==CPNoTabsNoBorder){ +objj_msgSend(_labelsView,"removeFromSuperview"); +}else{ +if(!objj_msgSend(_labelsView,"superview")){ +objj_msgSend(_4f,"addSubview:",_labelsView); +} +} +if(_tabViewType==CPNoTabsLineBorder||_tabViewType==CPNoTabsNoBorder){ +objj_msgSend(_backgroundView,"removeFromSuperview"); +}else{ +if(!objj_msgSend(_backgroundView,"superview")){ +objj_msgSend(_4f,"addSubview:",_backgroundView); +} +} +objj_msgSend(_4f,"layoutSubviews"); +} +}),new objj_method(sel_getUid("tabViewType"),function(_52,_53){ +with(_52){ +return _tabViewType; +} +}),new objj_method(sel_getUid("contentRect"),function(_54,_55){ +with(_54){ +var _56=CGRectMakeCopy(objj_msgSend(_54,"bounds")); +if(_tabViewType==CPTopTabsBezelBorder){ +var _57=objj_msgSend(_CPTabLabelsView,"height"),_58=_auxiliaryView?CGRectGetHeight(objj_msgSend(_auxiliaryView,"frame")):5,_59=1; +_56.origin.y+=_57+_58+_59; +_56.size.height-=_57+_58+_59*2; +_56.origin.x+=_6; +_56.size.width-=_6+_7; +} +return _56; +} +}),new objj_method(sel_getUid("delegate"),function(_5a,_5b){ +with(_5a){ +return _delegate; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_5c,_5d,_5e){ +with(_5c){ +if(_delegate==_5e){ +return; +} +_delegate=_5e; +_delegateSelectors=0; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tabView:shouldSelectTabViewItem:"))){ +_delegateSelectors|=_9; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tabView:willSelectTabViewItem:"))){ +_delegateSelectors|=_a; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tabView:didSelectTabViewItem:"))){ +_delegateSelectors|=_8; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tabViewDidChangeNumberOfTabViewItems:"))){ +_delegateSelectors|=_b; +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_5f,_60,_61){ +with(_5f){ +var _62=objj_msgSend(_labelsView,"convertPoint:fromView:",objj_msgSend(_61,"locationInWindow"),nil),_63=objj_msgSend(_labelsView,"representedTabViewItemAtPoint:",_62); +if(_63){ +objj_msgSend(_5f,"selectTabViewItem:",_63); +} +} +})]); +class_addMethods(_d,[new objj_method(sel_getUid("initialize"),function(_64,_65){ +with(_64){ +if(_64!=CPTabView){ +return; +} +var _66=objj_msgSend(CPBundle,"bundleForClass:",_64),_67=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:","",CGSizeMake(7,0)),_68=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_66,"pathForResource:","CPTabView/CPTabViewBezelBackgroundCenter.png"),CGSizeMake(1,1)),_69=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_66,"pathForResource:","CPTabView/CPTabViewBezelBorderLeft.png"),CGSizeMake(7,1)),_6a=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_66,"pathForResource:","CPTabView/CPTabViewBezelBorder.png"),CGSizeMake(1,1)),_6b=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_66,"pathForResource:","CPTabView/CPTabViewBezelBorderRight.png"),CGSizeMake(7,1)); +_5=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[_67,_67,_67,_69,_68,_6b,_69,_6a,_6b])); +_4=objj_msgSend(CPColor,"colorWithPatternImage:",_6a); +} +}),new objj_method(sel_getUid("bezelBorderColor"),function(_6c,_6d){ +with(_6c){ +return _4; +} +})]); +var _6e="CPTabViewItemsKey",_6f="CPTabViewSelectedItemKey",_70="CPTabViewTypeKey",_71="CPTabViewDelegateKey"; +var _c=objj_getClass("CPTabView"); +if(!_c){ +throw new SyntaxError("*** Could not find definition for class \"CPTabView\""); +} +var _d=_c.isa; +class_addMethods(_c,[new objj_method(sel_getUid("initWithCoder:"),function(_72,_73,_74){ +with(_72){ +if(_72=objj_msgSendSuper({receiver:_72,super_class:objj_getClass("CPTabView").super_class},"initWithCoder:",_74)){ +_tabViewType=objj_msgSend(_74,"decodeIntForKey:",_70); +_tabViewItems=[]; +objj_msgSend(_72,"_createBezelBorder"); +var _75=objj_msgSend(_74,"decodeObjectForKey:",_6e); +for(var i=0;_75&&i<_75.length;i++){ +objj_msgSend(_72,"insertTabViewItem:atIndex:",_75[i],i); +} +var _76=objj_msgSend(_74,"decodeObjectForKey:",_6f); +if(_76){ +objj_msgSend(_72,"selectTabViewItem:",_76); +} +objj_msgSend(_72,"setDelegate:",objj_msgSend(_74,"decodeObjectForKey:",_71)); +} +return _72; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_77,_78,_79){ +with(_77){ +var _7a=_subviews; +_subviews=[]; +objj_msgSendSuper({receiver:_77,super_class:objj_getClass("CPTabView").super_class},"encodeWithCoder:",_79); +_subviews=_7a; +objj_msgSend(_79,"encodeObject:forKey:",_tabViewItems,_6e); +objj_msgSend(_79,"encodeObject:forKey:",_selectedTabViewItem,_6f); +objj_msgSend(_79,"encodeInt:forKey:",_tabViewType,_70); +objj_msgSend(_79,"encodeConditionalObject:forKey:",_delegate,_71); +} +})]); +var _7b=nil,_7c=10,_7d=15; +var _c=objj_allocateClassPair(CPView,"_CPTabLabelsView"),_d=_c.isa; +class_addIvars(_c,[new objj_ivar("_tabView"),new objj_ivar("_tabLabels")]); +objj_registerClassPair(_c); +class_addMethods(_c,[new objj_method(sel_getUid("initWithFrame:"),function(_7e,_7f,_80){ +with(_7e){ +_7e=objj_msgSendSuper({receiver:_7e,super_class:objj_getClass("_CPTabLabelsView").super_class},"initWithFrame:",_80); +if(_7e){ +_tabLabels=[]; +objj_msgSend(_7e,"setBackgroundColor:",_7b); +objj_msgSend(_7e,"setFrameSize:",CGSizeMake(CGRectGetWidth(_80),26)); +} +return _7e; +} +}),new objj_method(sel_getUid("setTabView:"),function(_81,_82,_83){ +with(_81){ +_tabView=_83; +} +}),new objj_method(sel_getUid("tabView"),function(_84,_85){ +with(_84){ +return _tabView; +} +}),new objj_method(sel_getUid("tabView:didAddTabViewItem:"),function(_86,_87,_88,_89){ +with(_86){ +var _8a=objj_msgSend(objj_msgSend(_CPTabLabel,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_8a,"setTabViewItem:",_89); +_tabLabels.push(_8a); +objj_msgSend(_86,"addSubview:",_8a); +objj_msgSend(_86,"layoutSubviews"); +} +}),new objj_method(sel_getUid("tabView:didRemoveTabViewItemAtIndex:"),function(_8b,_8c,_8d,_8e){ +with(_8b){ +var _8f=_tabLabels[_8e]; +objj_msgSend(_tabLabels,"removeObjectAtIndex:",_8e); +objj_msgSend(_8f,"removeFromSuperview"); +objj_msgSend(_8b,"layoutSubviews"); +} +}),new objj_method(sel_getUid("tabView:didChangeStateOfTabViewItem:"),function(_90,_91,_92,_93){ +with(_90){ +objj_msgSend(_tabLabels[objj_msgSend(_92,"indexOfTabViewItem:",_93)],"setTabState:",objj_msgSend(_93,"tabState")); +} +}),new objj_method(sel_getUid("representedTabViewItemAtPoint:"),function(_94,_95,_96){ +with(_94){ +var _97=0,_98=_tabLabels.length; +for(;_97<_98;++_97){ +var _99=_tabLabels[_97]; +if(CGRectContainsPoint(objj_msgSend(_99,"frame"),_96)){ +return objj_msgSend(_99,"tabViewItem"); +} +} +return nil; +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_9a,_9b){ +with(_9a){ +var _9c=0,_9d=_tabLabels.length,_9e=((objj_msgSend(_9a,"bounds").size.width)-(_9d-1)*_7c-2*_7d)/_9d,x=_7d; +for(;_9c<_9d;++_9c){ +var _9f=_tabLabels[_9c],_a0={origin:{x:x,y:8},size:{width:_9e,height:18}}; +objj_msgSend(_9f,"setFrame:",_a0); +x=(_a0.origin.x+_a0.size.width)+_7c; +} +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_a1,_a2,_a3){ +with(_a1){ +if(CGSizeEqualToSize(objj_msgSend(_a1,"frame").size,_a3)){ +return; +} +objj_msgSendSuper({receiver:_a1,super_class:objj_getClass("_CPTabLabelsView").super_class},"setFrameSize:",_a3); +objj_msgSend(_a1,"layoutSubviews"); +} +})]); +class_addMethods(_d,[new objj_method(sel_getUid("initialize"),function(_a4,_a5){ +with(_a4){ +if(_a4!=objj_msgSend(_CPTabLabelsView,"class")){ +return; +} +var _a6=objj_msgSend(CPBundle,"bundleForClass:",_a4); +_7b=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_a6,"pathForResource:","CPTabView/_CPTabLabelsViewLeft.png"),CGSizeMake(12,26)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_a6,"pathForResource:","CPTabView/_CPTabLabelsViewCenter.png"),CGSizeMake(1,26)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_a6,"pathForResource:","CPTabView/_CPTabLabelsViewRight.png"),CGSizeMake(12,26))],NO)); +} +}),new objj_method(sel_getUid("height"),function(_a7,_a8){ +with(_a7){ +return 26; +} +})]); +var _a9=nil,_aa=nil; +var _c=objj_allocateClassPair(CPView,"_CPTabLabel"),_d=_c.isa; +class_addIvars(_c,[new objj_ivar("_tabViewItem"),new objj_ivar("_labelField")]); +objj_registerClassPair(_c); +class_addMethods(_c,[new objj_method(sel_getUid("initWithFrame:"),function(_ab,_ac,_ad){ +with(_ab){ +_ab=objj_msgSendSuper({receiver:_ab,super_class:objj_getClass("_CPTabLabel").super_class},"initWithFrame:",_ad); +if(_ab){ +_labelField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_labelField,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_labelField,"setFrame:",CGRectMake(5,0,CGRectGetWidth(_ad)-10,20)); +objj_msgSend(_labelField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_labelField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",11)); +objj_msgSend(_ab,"addSubview:",_labelField); +objj_msgSend(_ab,"setTabState:",CPBackgroundTab); +} +return _ab; +} +}),new objj_method(sel_getUid("setTabState:"),function(_ae,_af,_b0){ +with(_ae){ +objj_msgSend(_ae,"setBackgroundColor:",_b0==CPSelectedTab?_aa:_a9); +} +}),new objj_method(sel_getUid("setTabViewItem:"),function(_b1,_b2,_b3){ +with(_b1){ +_tabViewItem=_b3; +objj_msgSend(_b1,"update"); +} +}),new objj_method(sel_getUid("tabViewItem"),function(_b4,_b5){ +with(_b4){ +return _tabViewItem; +} +}),new objj_method(sel_getUid("update"),function(_b6,_b7){ +with(_b6){ +objj_msgSend(_labelField,"setStringValue:",objj_msgSend(_tabViewItem,"label")); +} +})]); +class_addMethods(_d,[new objj_method(sel_getUid("initialize"),function(_b8,_b9){ +with(_b8){ +if(_b8!=objj_msgSend(_CPTabLabel,"class")){ +return; +} +var _ba=objj_msgSend(CPBundle,"bundleForClass:",_b8); +_a9=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelBackgroundLeft.png"),CGSizeMake(6,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelBackgroundCenter.png"),CGSizeMake(1,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelBackgroundRight.png"),CGSizeMake(6,18))],NO)); +_aa=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelSelectedLeft.png"),CGSizeMake(3,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelSelectedCenter.png"),CGSizeMake(1,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelSelectedRight.png"),CGSizeMake(3,18))],NO)); +} +})]); +p;15;CPTabViewItem.jt;2872;@STATIC;1.0;I;21;Foundation/CPObject.jI;15;AppKit/CPView.jt;2807; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("AppKit/CPView.j",NO); +CPSelectedTab=0; +CPBackgroundTab=1; +CPPressedTab=2; +var _1=objj_allocateClassPair(CPObject,"CPTabViewItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_identifier"),new objj_ivar("_label"),new objj_ivar("_view"),new objj_ivar("_auxiliaryView"),new objj_ivar("_tabView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +return objj_msgSend(_3,"initWithIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithIdentifier:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPTabViewItem").super_class},"init"); +if(_5){ +_identifier=_7; +} +return _5; +} +}),new objj_method(sel_getUid("setLabel:"),function(_8,_9,_a){ +with(_8){ +_label=_a; +} +}),new objj_method(sel_getUid("label"),function(_b,_c){ +with(_b){ +return _label; +} +}),new objj_method(sel_getUid("tabState"),function(_d,_e){ +with(_d){ +return _tabState; +} +}),new objj_method(sel_getUid("setIdentifier:"),function(_f,_10,_11){ +with(_f){ +_identifier=_11; +} +}),new objj_method(sel_getUid("identifier"),function(_12,_13){ +with(_12){ +return _identifier; +} +}),new objj_method(sel_getUid("setView:"),function(_14,_15,_16){ +with(_14){ +_view=_16; +} +}),new objj_method(sel_getUid("view"),function(_17,_18){ +with(_17){ +return _view; +} +}),new objj_method(sel_getUid("setAuxiliaryView:"),function(_19,_1a,_1b){ +with(_19){ +_auxiliaryView=_1b; +} +}),new objj_method(sel_getUid("auxiliaryView"),function(_1c,_1d){ +with(_1c){ +return _auxiliaryView; +} +}),new objj_method(sel_getUid("tabView"),function(_1e,_1f){ +with(_1e){ +return _tabView; +} +}),new objj_method(sel_getUid("_setTabView:"),function(_20,_21,_22){ +with(_20){ +_tabView=_22; +} +})]); +var _23="CPTabViewItemIdentifierKey",_24="CPTabViewItemLabelKey",_25="CPTabViewItemViewKey",_26="CPTabViewItemAuxViewKey"; +var _1=objj_getClass("CPTabViewItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTabViewItem\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_27,_28,_29){ +with(_27){ +_27=objj_msgSendSuper({receiver:_27,super_class:objj_getClass("CPTabViewItem").super_class},"init"); +if(_27){ +_identifier=objj_msgSend(_29,"decodeObjectForKey:",_23); +_label=objj_msgSend(_29,"decodeObjectForKey:",_24); +_view=objj_msgSend(_29,"decodeObjectForKey:",_25); +_auxiliaryView=objj_msgSend(_29,"decodeObjectForKey:",_26); +} +return _27; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2c,"encodeObject:forKey:",_identifier,_23); +objj_msgSend(_2c,"encodeObject:forKey:",_label,_24); +objj_msgSend(_2c,"encodeObject:forKey:",_view,_25); +objj_msgSend(_2c,"encodeObject:forKey:",_auxiliaryView,_26); +} +})]); +p;13;CPTextField.jt;27290;@STATIC;1.0;i;11;CPControl.ji;17;CPStringDrawing.ji;17;CPCompatibility.ji;21;_CPImageAndTextView.jt;27184; +objj_executeFile("CPControl.j",YES); +objj_executeFile("CPStringDrawing.j",YES); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("_CPImageAndTextView.j",YES); +CPTextFieldSquareBezel=0; +CPTextFieldRoundedBezel=1; +CPTextFieldDidFocusNotification="CPTextFieldDidFocusNotification"; +CPTextFieldDidBlurNotification="CPTextFieldDidBlurNotification"; +var _1=nil,_2=nil,_3=nil,_4=nil,_5=nil,_6=NO,_7=NO,_8=NO,_9=nil,_a=nil,_b=nil; +var _c="•"; +var _d=objj_getClass("CPString"); +if(!_d){ +throw new SyntaxError("*** Could not find definition for class \"CPString\""); +} +var _e=_d.isa; +class_addMethods(_d,[new objj_method(sel_getUid("string"),function(_f,_10){ +with(_f){ +return _f; +} +})]); +CPTextFieldStateRounded=CPThemeState("rounded"); +CPTextFieldStatePlaceholder=CPThemeState("placeholder"); +var _d=objj_allocateClassPair(CPControl,"CPTextField"),_e=_d.isa; +class_addIvars(_d,[new objj_ivar("_isEditing"),new objj_ivar("_isEditable"),new objj_ivar("_isSelectable"),new objj_ivar("_isSecure"),new objj_ivar("_drawsBackground"),new objj_ivar("_textFieldBackgroundColor"),new objj_ivar("_placeholderString"),new objj_ivar("_delegate"),new objj_ivar("_textDidChangeValue"),new objj_ivar("_bezelStyle"),new objj_ivar("_isBordered"),new objj_ivar("_controlSize")]); +objj_registerClassPair(_d); +class_addMethods(_d,[new objj_method(sel_getUid("_inputElement"),function(_11,_12){ +with(_11){ +if(!_1){ +_1=document.createElement("input"); +_1.style.position="absolute"; +_1.style.border="0px"; +_1.style.padding="0px"; +_1.style.margin="0px"; +_1.style.whiteSpace="pre"; +_1.style.background="transparent"; +_1.style.outline="none"; +_b=function(_13){ +if(_4&&_4._DOMElement!=_1.parentNode){ +return; +} +if(!_6){ +objj_msgSend(objj_msgSend(_4,"window"),"makeFirstResponder:",nil); +return; +} +CPTextFieldHandleBlur(_13,_1); +_7=YES; +return true; +}; +CPTextFieldHandleBlur=function(_14){ +_4=nil; +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +}; +_1.onblur=_b; +_3=_1; +} +if(CPFeatureIsCompatible(CPInputTypeCanBeChangedFeature)){ +if(objj_msgSend(_11,"isSecure")){ +_1.type="password"; +}else{ +_1.type="text"; +} +return _1; +} +if(objj_msgSend(_11,"isSecure")){ +if(!_2){ +_2=document.createElement("input"); +_2.style.position="absolute"; +_2.style.border="0px"; +_2.style.padding="0px"; +_2.style.margin="0px"; +_2.style.whiteSpace="pre"; +_2.style.background="transparent"; +_2.style.outline="none"; +_2.type="password"; +_2.onblur=_b; +} +_1=_2; +}else{ +_1=_3; +} +return _1; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_15,_16,_17){ +with(_15){ +_15=objj_msgSendSuper({receiver:_15,super_class:objj_getClass("CPTextField").super_class},"initWithFrame:",_17); +if(_15){ +objj_msgSend(_15,"setStringValue:",""); +objj_msgSend(_15,"setPlaceholderString:",""); +_sendActionOn=CPKeyUpMask|CPKeyDownMask; +objj_msgSend(_15,"setValue:forThemeAttribute:",CPLeftTextAlignment,"alignment"); +} +return _15; +} +}),new objj_method(sel_getUid("setEditable:"),function(_18,_19,_1a){ +with(_18){ +_isEditable=_1a; +} +}),new objj_method(sel_getUid("isEditable"),function(_1b,_1c){ +with(_1b){ +return _isEditable; +} +}),new objj_method(sel_getUid("setSelectable:"),function(_1d,_1e,_1f){ +with(_1d){ +_isSelectable=_1f; +} +}),new objj_method(sel_getUid("isSelectable"),function(_20,_21){ +with(_20){ +return _isSelectable; +} +}),new objj_method(sel_getUid("setSecure:"),function(_22,_23,_24){ +with(_22){ +_isSecure=_24; +} +}),new objj_method(sel_getUid("isSecure"),function(_25,_26){ +with(_25){ +return _isSecure; +} +}),new objj_method(sel_getUid("setBezeled:"),function(_27,_28,_29){ +with(_27){ +if(_29){ +objj_msgSend(_27,"setThemeState:",CPThemeStateBezeled); +}else{ +objj_msgSend(_27,"unsetThemeState:",CPThemeStateBezeled); +} +} +}),new objj_method(sel_getUid("isBezeled"),function(_2a,_2b){ +with(_2a){ +return objj_msgSend(_2a,"hasThemeState:",CPThemeStateBezeled); +} +}),new objj_method(sel_getUid("setBezelStyle:"),function(_2c,_2d,_2e){ +with(_2c){ +var _2f=_2e===CPTextFieldRoundedBezel; +if(_2f){ +objj_msgSend(_2c,"setThemeState:",CPTextFieldStateRounded); +}else{ +objj_msgSend(_2c,"unsetThemeState:",CPTextFieldStateRounded); +} +} +}),new objj_method(sel_getUid("bezelStyle"),function(_30,_31){ +with(_30){ +if(objj_msgSend(_30,"hasThemeState:",CPTextFieldStateRounded)){ +return CPTextFieldRoundedBezel; +} +return CPTextFieldSquareBezel; +} +}),new objj_method(sel_getUid("setBordered:"),function(_32,_33,_34){ +with(_32){ +if(_34){ +objj_msgSend(_32,"setThemeState:",CPThemeStateBordered); +}else{ +objj_msgSend(_32,"unsetThemeState:",CPThemeStateBordered); +} +} +}),new objj_method(sel_getUid("isBordered"),function(_35,_36){ +with(_35){ +return objj_msgSend(_35,"hasThemeState:",CPThemeStateBordered); +} +}),new objj_method(sel_getUid("setDrawsBackground:"),function(_37,_38,_39){ +with(_37){ +if(_drawsBackground==_39){ +return; +} +_drawsBackground=_39; +objj_msgSend(_37,"setNeedsLayout"); +objj_msgSend(_37,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("drawsBackground"),function(_3a,_3b){ +with(_3a){ +return _drawsBackground; +} +}),new objj_method(sel_getUid("setTextFieldBackgroundColor:"),function(_3c,_3d,_3e){ +with(_3c){ +if(_textFieldBackgroundColor==_3e){ +return; +} +_textFieldBackgroundColor=_3e; +objj_msgSend(_3c,"setNeedsLayout"); +objj_msgSend(_3c,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("textFieldBackgroundColor"),function(_3f,_40){ +with(_3f){ +return _textFieldBackgroundColor; +} +}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_41,_42){ +with(_41){ +return objj_msgSend(_41,"isEditable")&&objj_msgSend(_41,"isEnabled"); +} +}),new objj_method(sel_getUid("becomeFirstResponder"),function(_43,_44){ +with(_43){ +if(_4&&objj_msgSend(_4,"window")!==objj_msgSend(_43,"window")){ +objj_msgSend(objj_msgSend(_4,"window"),"makeFirstResponder:",nil); +} +objj_msgSend(_43,"setThemeState:",CPThemeStateEditing); +objj_msgSend(_43,"_updatePlaceholderState"); +objj_msgSend(_43,"setNeedsLayout"); +_isEditing=NO; +var _45=objj_msgSend(_43,"stringValue"),_46=objj_msgSend(_43,"_inputElement"); +_46.value=_45; +_46.style.color=objj_msgSend(objj_msgSend(_43,"currentValueForThemeAttribute:","text-color"),"cssString"); +_46.style.font=objj_msgSend(objj_msgSend(_43,"currentValueForThemeAttribute:","font"),"cssString"); +_46.style.zIndex=1000; +switch(objj_msgSend(_43,"alignment")){ +case CPCenterTextAlignment: +_46.style.textAlign="center"; +break; +case CPRightTextAlignment: +_46.style.textAlign="right"; +break; +default: +_46.style.textAlign="left"; +} +var _47=objj_msgSend(_43,"contentRectForBounds:",objj_msgSend(_43,"bounds")); +_46.style.top=(_47.origin.y)+"px"; +_46.style.left=((_47.origin.x)-1)+"px"; +_46.style.width=(_47.size.width)+"px"; +_46.style.height=(_47.size.height)+"px"; +_DOMElement.appendChild(_46); +window.setTimeout(function(){ +_46.focus(); +objj_msgSend(_43,"textDidFocus:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPTextFieldDidFocusNotification,_43,nil)); +_4=_43; +},0); +_46.value=objj_msgSend(_43,"stringValue"); +objj_msgSend(objj_msgSend(objj_msgSend(_43,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +_8=YES; +if(document.attachEvent){ +_9=objj_msgSend(objj_msgSend(_43,"window"),"platformWindow")._DOMBodyElement.onselectstart; +_a=objj_msgSend(objj_msgSend(_43,"window"),"platformWindow")._DOMBodyElement.ondrag; +objj_msgSend(objj_msgSend(_43,"window"),"platformWindow")._DOMBodyElement.ondrag=function(){ +}; +objj_msgSend(objj_msgSend(_43,"window"),"platformWindow")._DOMBodyElement.onselectstart=function(){ +}; +} +return YES; +} +}),new objj_method(sel_getUid("resignFirstResponder"),function(_48,_49){ +with(_48){ +objj_msgSend(_48,"unsetThemeState:",CPThemeStateEditing); +objj_msgSend(_48,"_updatePlaceholderState"); +objj_msgSend(_48,"setNeedsLayout"); +var _4a=objj_msgSend(_48,"_inputElement"); +objj_msgSend(_48,"setObjectValue:",_4a.value); +_6=YES; +_4a.blur(); +if(!_7){ +_b(); +} +_7=NO; +_6=NO; +if(_4a.parentNode==_DOMElement){ +_4a.parentNode.removeChild(_4a); +} +_8=NO; +if(document.attachEvent){ +_9=nil; +_a=nil; +objj_msgSend(objj_msgSend(_48,"window"),"platformWindow")._DOMBodyElement.ondrag=_a; +objj_msgSend(objj_msgSend(_48,"window"),"platformWindow")._DOMBodyElement.onselectstart=_9; +} +if(_isEditing){ +_isEditing=NO; +objj_msgSend(_48,"textDidEndEditing:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidEndEditingNotification,_48,nil)); +if(objj_msgSend(_48,"sendsActionOnEndEditing")){ +objj_msgSend(_48,"sendAction:to:",objj_msgSend(_48,"action"),objj_msgSend(_48,"target")); +} +} +objj_msgSend(_48,"textDidBlur:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPTextFieldDidBlurNotification,_48,nil)); +return YES; +} +}),new objj_method(sel_getUid("needsPanelToBecomeKey"),function(_4b,_4c){ +with(_4b){ +return YES; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_4d,_4e,_4f){ +with(_4d){ +if(objj_msgSend(_4d,"isEditable")&&objj_msgSend(_4d,"isEnabled")){ +return objj_msgSend(objj_msgSend(_4d,"window"),"makeFirstResponder:",_4d); +}else{ +return objj_msgSend(objj_msgSend(_4d,"nextResponder"),"mouseDown:",_4f); +} +} +}),new objj_method(sel_getUid("mouseUp:"),function(_50,_51,_52){ +with(_50){ +if(!objj_msgSend(_50,"isEditable")||!objj_msgSend(_50,"isEnabled")){ +objj_msgSend(objj_msgSend(_50,"nextResponder"),"mouseUp:",_52); +} +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_53,_54,_55){ +with(_53){ +if(!objj_msgSend(_53,"isEditable")||!objj_msgSend(_53,"isEnabled")){ +objj_msgSend(objj_msgSend(_53,"nextResponder"),"mouseDragged:",_55); +} +} +}),new objj_method(sel_getUid("keyUp:"),function(_56,_57,_58){ +with(_56){ +var _59=objj_msgSend(_56,"stringValue"); +objj_msgSend(_56,"_setStringValue:",objj_msgSend(_56,"_inputElement").value); +if(_59!==objj_msgSend(_56,"stringValue")){ +if(!_isEditing){ +_isEditing=YES; +objj_msgSend(_56,"textDidBeginEditing:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidBeginEditingNotification,_56,nil)); +} +objj_msgSend(_56,"textDidChange:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidChangeNotification,_56,nil)); +} +objj_msgSend(objj_msgSend(objj_msgSend(_56,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +}),new objj_method(sel_getUid("keyDown:"),function(_5a,_5b,_5c){ +with(_5a){ +if(objj_msgSend(_5c,"keyCode")===CPReturnKeyCode){ +if(_isEditing){ +_isEditing=NO; +objj_msgSend(_5a,"textDidEndEditing:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidEndEditingNotification,_5a,nil)); +} +objj_msgSend(_5a,"sendAction:to:",objj_msgSend(_5a,"action"),objj_msgSend(_5a,"target")); +objj_msgSend(_5a,"selectText:",nil); +objj_msgSend(objj_msgSend(objj_msgSend(_5a,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",NO); +}else{ +if(objj_msgSend(_5c,"keyCode")===CPTabKeyCode){ +if(objj_msgSend(_5c,"modifierFlags")&CPShiftKeyMask){ +objj_msgSend(objj_msgSend(_5a,"window"),"selectPreviousKeyView:",_5a); +}else{ +objj_msgSend(objj_msgSend(_5a,"window"),"selectNextKeyView:",_5a); +} +if(objj_msgSend(objj_msgSend(objj_msgSend(_5a,"window"),"firstResponder"),"respondsToSelector:",sel_getUid("selectText:"))){ +objj_msgSend(objj_msgSend(objj_msgSend(_5a,"window"),"firstResponder"),"selectText:",_5a); +} +objj_msgSend(objj_msgSend(objj_msgSend(_5a,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",NO); +}else{ +objj_msgSend(objj_msgSend(objj_msgSend(_5a,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("textDidBlur:"),function(_5d,_5e,_5f){ +with(_5d){ +if(objj_msgSend(_5f,"object")!=_5d){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotification:",_5f); +} +}),new objj_method(sel_getUid("textDidFocus:"),function(_60,_61,_62){ +with(_60){ +if(objj_msgSend(_62,"object")!=_60){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotification:",_62); +} +}),new objj_method(sel_getUid("objectValue"),function(_63,_64){ +with(_63){ +return objj_msgSendSuper({receiver:_63,super_class:objj_getClass("CPTextField").super_class},"objectValue"); +} +}),new objj_method(sel_getUid("_setStringValue:"),function(_65,_66,_67){ +with(_65){ +objj_msgSend(_65,"willChangeValueForKey:","objectValue"); +objj_msgSendSuper({receiver:_65,super_class:objj_getClass("CPTextField").super_class},"setObjectValue:",String(_67)); +objj_msgSend(_65,"_updatePlaceholderState"); +objj_msgSend(_65,"didChangeValueForKey:","objectValue"); +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_68,_69,_6a){ +with(_68){ +objj_msgSendSuper({receiver:_68,super_class:objj_getClass("CPTextField").super_class},"setObjectValue:",_6a); +if(_4===_68||objj_msgSend(objj_msgSend(_68,"window"),"firstResponder")===_68){ +objj_msgSend(_68,"_inputElement").value=_6a; +} +objj_msgSend(_68,"_updatePlaceholderState"); +} +}),new objj_method(sel_getUid("_updatePlaceholderState"),function(_6b,_6c){ +with(_6b){ +var _6d=objj_msgSend(_6b,"stringValue"); +if((!_6d||_6d.length===0)&&!objj_msgSend(_6b,"hasThemeState:",CPThemeStateEditing)){ +objj_msgSend(_6b,"setThemeState:",CPTextFieldStatePlaceholder); +}else{ +objj_msgSend(_6b,"unsetThemeState:",CPTextFieldStatePlaceholder); +} +} +}),new objj_method(sel_getUid("setPlaceholderString:"),function(_6e,_6f,_70){ +with(_6e){ +if(_placeholderString===_70){ +return; +} +_placeholderString=_70; +if(objj_msgSend(_6e,"hasThemeState:",CPTextFieldStatePlaceholder)){ +objj_msgSend(_6e,"setNeedsLayout"); +objj_msgSend(_6e,"setNeedsDisplay:",YES); +} +} +}),new objj_method(sel_getUid("placeholderString"),function(_71,_72){ +with(_71){ +return _placeholderString; +} +}),new objj_method(sel_getUid("sizeToFit"),function(_73,_74){ +with(_73){ +var _75=objj_msgSend((objj_msgSend(_73,"stringValue")||" "),"sizeWithFont:",objj_msgSend(_73,"currentValueForThemeAttribute:","font")),_76=objj_msgSend(_73,"currentValueForThemeAttribute:","content-inset"),_77=objj_msgSend(_73,"currentValueForThemeAttribute:","min-size"),_78=objj_msgSend(_73,"currentValueForThemeAttribute:","max-size"); +_75.width=MAX(_75.width+_76.left+_76.right,_77.width); +_75.height=MAX(_75.height+_76.top+_76.bottom,_77.height); +if(_78.width>=0){ +_75.width=MIN(_75.width,_78.width); +} +if(_78.height>=0){ +_75.height=MIN(_75.height,_78.height); +} +if(objj_msgSend(_73,"isEditable")){ +_75.width=CGRectGetWidth(objj_msgSend(_73,"frame")); +} +objj_msgSend(_73,"setFrameSize:",_75); +} +}),new objj_method(sel_getUid("selectText:"),function(_79,_7a,_7b){ +with(_79){ +var _7c=objj_msgSend(_79,"_inputElement"); +if((objj_msgSend(_79,"isEditable")||objj_msgSend(_79,"isSelectable"))){ +if(objj_msgSend(objj_msgSend(_79,"window"),"firstResponder")===_79){ +window.setTimeout(function(){ +_7c.select(); +},0); +}else{ +objj_msgSend(objj_msgSend(_79,"window"),"makeFirstResponder:",_79); +window.setTimeout(function(){ +objj_msgSend(_79,"selectText:",_7b); +},0); +} +} +} +}),new objj_method(sel_getUid("copy:"),function(_7d,_7e,_7f){ +with(_7d){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +var _80=objj_msgSend(_7d,"selectedRange"); +if(_80.length<1){ +return; +} +var _81=objj_msgSend(CPPasteboard,"generalPasteboard"),_82=objj_msgSend(_7d,"stringValue"),_83=objj_msgSend(_82,"substringWithRange:",_80); +objj_msgSend(_81,"declareTypes:owner:",[CPStringPboardType],nil); +objj_msgSend(_81,"setString:forType:",_83,CPStringPboardType); +} +} +}),new objj_method(sel_getUid("cut:"),function(_84,_85,_86){ +with(_84){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(_84,"copy:",_86); +objj_msgSend(_84,"deleteBackward:",_86); +} +} +}),new objj_method(sel_getUid("paste:"),function(_87,_88,_89){ +with(_87){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +var _8a=objj_msgSend(CPPasteboard,"generalPasteboard"); +if(!objj_msgSend(objj_msgSend(_8a,"types"),"containsObject:",CPStringPboardType)){ +return; +} +objj_msgSend(_87,"deleteBackward:",_89); +var _8b=objj_msgSend(_87,"selectedRange"),_8c=objj_msgSend(_87,"stringValue"),_8d=objj_msgSend(_8a,"stringForType:",CPStringPboardType),_8e=objj_msgSend(_8c,"stringByReplacingCharactersInRange:withString:",_8b,_8d); +objj_msgSend(_87,"setStringValue:",_8e); +objj_msgSend(_87,"setSelectedRange:",CPMakeRange(_8b.location+_8d.length,0)); +} +} +}),new objj_method(sel_getUid("selectedRange"),function(_8f,_90){ +with(_8f){ +if(objj_msgSend(objj_msgSend(_8f,"window"),"firstResponder")!==_8f){ +return CPMakeRange(0,0); +} +try{ +var _91=objj_msgSend(_8f,"_inputElement"),_92=_91.selectionStart,_93=_91.selectionEnd; +if(objj_msgSend(_92,"isKindOfClass:",CPNumber)){ +return CPMakeRange(_92,_93-_92); +} +var _94=_91.ownerDocument||_91.document,_95=_94.selection.createRange(),_96=_91.createTextRange(); +if(_96.inRange(_95)){ +_96.setEndPoint("EndToStart",_95); +return CPMakeRange(_96.text.length,_95.text.length); +} +} +catch(e){ +} +return CGMakeRange(0,0); +} +}),new objj_method(sel_getUid("setSelectedRange:"),function(_97,_98,_99){ +with(_97){ +if(!objj_msgSend(objj_msgSend(_97,"window"),"firstResponder")===_97){ +return; +} +var _9a=objj_msgSend(_97,"_inputElement"); +try{ +if(objj_msgSend(_9a.selectionStart,"isKindOfClass:",CPNumber)){ +_9a.selectionStart=_99.location; +_9a.selectionEnd=CPMaxRange(_99); +}else{ +var _9b=_9a.ownerDocument||_9a.document,_9c=_9b.selection.createRange(),_9d=_9a.createTextRange(); +if(_9d.inRange(_9c)){ +_9d.collapse(true); +_9d.move("character",_99.location); +_9d.moveEnd("character",_99.length); +_9d.select(); +} +} +} +catch(e){ +} +} +}),new objj_method(sel_getUid("selectAll:"),function(_9e,_9f,_a0){ +with(_9e){ +objj_msgSend(_9e,"selectText:",_a0); +} +}),new objj_method(sel_getUid("deleteBackward:"),function(_a1,_a2,_a3){ +with(_a1){ +var _a4=objj_msgSend(_a1,"selectedRange"),_a5=objj_msgSend(_a1,"stringValue"),_a6=objj_msgSend(_a5,"stringByReplacingCharactersInRange:withString:",_a4,""); +objj_msgSend(_a1,"setStringValue:",_a6); +objj_msgSend(_a1,"setSelectedRange:",CPMakeRange(_a4.location,0)); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_a7,_a8,_a9){ +with(_a7){ +var _aa=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_delegate){ +objj_msgSend(_aa,"removeObserver:name:object:",_delegate,CPControlTextDidBeginEditingNotification,_a7); +objj_msgSend(_aa,"removeObserver:name:object:",_delegate,CPControlTextDidChangeNotification,_a7); +objj_msgSend(_aa,"removeObserver:name:object:",_delegate,CPControlTextDidEndEditingNotification,_a7); +objj_msgSend(_aa,"removeObserver:name:object:",_delegate,CPTextFieldDidFocusNotification,_a7); +objj_msgSend(_aa,"removeObserver:name:object:",_delegate,CPTextFieldDidBlurNotification,_a7); +} +_delegate=_a9; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidBeginEditing:"))){ +objj_msgSend(_aa,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidBeginEditing:"),CPControlTextDidBeginEditingNotification,_a7); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidChange:"))){ +objj_msgSend(_aa,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidChange:"),CPControlTextDidChangeNotification,_a7); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidEndEditing:"))){ +objj_msgSend(_aa,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidEndEditing:"),CPControlTextDidEndEditingNotification,_a7); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidFocus:"))){ +objj_msgSend(_aa,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidFocus:"),CPTextFieldDidFocusNotification,_a7); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidBlur:"))){ +objj_msgSend(_aa,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidBlur:"),CPTextFieldDidBlurNotification,_a7); +} +} +}),new objj_method(sel_getUid("delegate"),function(_ab,_ac){ +with(_ab){ +return _delegate; +} +}),new objj_method(sel_getUid("contentRectForBounds:"),function(_ad,_ae,_af){ +with(_ad){ +var _b0=objj_msgSend(_ad,"currentValueForThemeAttribute:","content-inset"); +if(!_b0){ +return _af; +} +_af.origin.x+=_b0.left; +_af.origin.y+=_b0.top; +_af.size.width-=_b0.left+_b0.right; +_af.size.height-=_b0.top+_b0.bottom; +return _af; +} +}),new objj_method(sel_getUid("bezelRectForBounds:"),function(_b1,_b2,_b3){ +with(_b1){ +var _b4=objj_msgSend(_b1,"currentValueForThemeAttribute:","bezel-inset"); +if(((_b4).top===0&&(_b4).right===0&&(_b4).bottom===0&&(_b4).left===0)){ +return _b3; +} +_b3.origin.x+=_b4.left; +_b3.origin.y+=_b4.top; +_b3.size.width-=_b4.left+_b4.right; +_b3.size.height-=_b4.top+_b4.bottom; +return _b3; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_b5,_b6,_b7){ +with(_b5){ +if(_b7==="bezel-view"){ +return objj_msgSend(_b5,"bezelRectForBounds:",objj_msgSend(_b5,"bounds")); +}else{ +if(_b7==="content-view"){ +return objj_msgSend(_b5,"contentRectForBounds:",objj_msgSend(_b5,"bounds")); +} +} +return objj_msgSendSuper({receiver:_b5,super_class:objj_getClass("CPTextField").super_class},"rectForEphemeralSubviewNamed:",_b7); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_b8,_b9,_ba){ +with(_b8){ +if(_ba==="bezel-view"){ +var _bb=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_bb,"setHitTests:",NO); +return _bb; +}else{ +var _bb=objj_msgSend(objj_msgSend(_CPImageAndTextView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_bb,"setHitTests:",NO); +return _bb; +} +return objj_msgSendSuper({receiver:_b8,super_class:objj_getClass("CPTextField").super_class},"createEphemeralSubviewNamed:",_ba); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_bc,_bd){ +with(_bc){ +var _be=objj_msgSend(_bc,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","bezel-view",CPWindowBelow,"content-view"); +if(_be){ +objj_msgSend(_be,"setBackgroundColor:",objj_msgSend(_bc,"currentValueForThemeAttribute:","bezel-color")); +} +var _bf=objj_msgSend(_bc,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","content-view",CPWindowAbove,"bezel-view"); +if(_bf){ +objj_msgSend(_bf,"setHidden:",objj_msgSend(_bc,"hasThemeState:",CPThemeStateEditing)); +var _c0=""; +if(objj_msgSend(_bc,"hasThemeState:",CPTextFieldStatePlaceholder)){ +_c0=objj_msgSend(_bc,"placeholderString"); +}else{ +_c0=objj_msgSend(_bc,"stringValue"); +if(objj_msgSend(_bc,"isSecure")){ +_c0=_c1(_c0); +} +} +objj_msgSend(_bf,"setText:",_c0); +objj_msgSend(_bf,"setTextColor:",objj_msgSend(_bc,"currentValueForThemeAttribute:","text-color")); +objj_msgSend(_bf,"setFont:",objj_msgSend(_bc,"currentValueForThemeAttribute:","font")); +objj_msgSend(_bf,"setAlignment:",objj_msgSend(_bc,"currentValueForThemeAttribute:","alignment")); +objj_msgSend(_bf,"setVerticalAlignment:",objj_msgSend(_bc,"currentValueForThemeAttribute:","vertical-alignment")); +objj_msgSend(_bf,"setLineBreakMode:",objj_msgSend(_bc,"currentValueForThemeAttribute:","line-break-mode")); +objj_msgSend(_bf,"setTextShadowColor:",objj_msgSend(_bc,"currentValueForThemeAttribute:","text-shadow-color")); +objj_msgSend(_bf,"setTextShadowOffset:",objj_msgSend(_bc,"currentValueForThemeAttribute:","text-shadow-offset")); +} +} +})]); +class_addMethods(_e,[new objj_method(sel_getUid("textFieldWithStringValue:placeholder:width:"),function(_c2,_c3,_c4,_c5,_c6){ +with(_c2){ +return objj_msgSend(_c2,"textFieldWithStringValue:placeholder:width:theme:",_c4,_c5,_c6,objj_msgSend(CPTheme,"defaultTheme")); +} +}),new objj_method(sel_getUid("textFieldWithStringValue:placeholder:width:theme:"),function(_c7,_c8,_c9,_ca,_cb,_cc){ +with(_c7){ +var _cd=objj_msgSend(objj_msgSend(_c7,"alloc"),"initWithFrame:",CGRectMake(0,0,_cb,29)); +objj_msgSend(_cd,"setTheme:",_cc); +objj_msgSend(_cd,"setStringValue:",_c9); +objj_msgSend(_cd,"setPlaceholderString:",_ca); +objj_msgSend(_cd,"setBordered:",YES); +objj_msgSend(_cd,"setBezeled:",YES); +objj_msgSend(_cd,"setEditable:",YES); +objj_msgSend(_cd,"sizeToFit"); +return _cd; +} +}),new objj_method(sel_getUid("roundedTextFieldWithStringValue:placeholder:width:"),function(_ce,_cf,_d0,_d1,_d2){ +with(_ce){ +return objj_msgSend(_ce,"roundedTextFieldWithStringValue:placeholder:width:theme:",_d0,_d1,_d2,objj_msgSend(CPTheme,"defaultTheme")); +} +}),new objj_method(sel_getUid("roundedTextFieldWithStringValue:placeholder:width:theme:"),function(_d3,_d4,_d5,_d6,_d7,_d8){ +with(_d3){ +var _d9=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(0,0,_d7,29)); +objj_msgSend(_d9,"setTheme:",_d8); +objj_msgSend(_d9,"setStringValue:",_d5); +objj_msgSend(_d9,"setPlaceholderString:",_d6); +objj_msgSend(_d9,"setBezelStyle:",CPTextFieldRoundedBezel); +objj_msgSend(_d9,"setBordered:",YES); +objj_msgSend(_d9,"setBezeled:",YES); +objj_msgSend(_d9,"setEditable:",YES); +objj_msgSend(_d9,"sizeToFit"); +return _d9; +} +}),new objj_method(sel_getUid("labelWithTitle:"),function(_da,_db,_dc){ +with(_da){ +return objj_msgSend(_da,"labelWithTitle:theme:",_dc,objj_msgSend(CPTheme,"defaultTheme")); +} +}),new objj_method(sel_getUid("labelWithTitle:theme:"),function(_dd,_de,_df,_e0){ +with(_dd){ +var _e1=objj_msgSend(objj_msgSend(_dd,"alloc"),"init"); +objj_msgSend(_e1,"setStringValue:",_df); +objj_msgSend(_e1,"sizeToFit"); +return _e1; +} +}),new objj_method(sel_getUid("themeClass"),function(_e2,_e3){ +with(_e2){ +return "textfield"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_e4,_e5){ +with(_e4){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[{top:(0),right:(0),bottom:(0),left:(0)},{top:(2),right:(2),bottom:(2),left:(2)},objj_msgSend(CPNull,"null")],["bezel-inset","content-inset","bezel-color"]); +} +})]); +var _c1=function(_e6){ +if(!_e6){ +return ""; +} +return Array(_e6.length+1).join(_c); +}; +var _e7="CPTextFieldIsEditableKey",_e8="CPTextFieldIsSelectableKey",_e9="CPTextFieldIsBorderedKey",_ea="CPTextFieldIsBezeledKey",_eb="CPTextFieldBezelStyleKey",_ec="CPTextFieldDrawsBackgroundKey",_ed="CPTextFieldLineBreakModeKey",_ee="CPTextFieldBackgroundColorKey",_ef="CPTextFieldPlaceholderStringKey"; +var _d=objj_getClass("CPTextField"); +if(!_d){ +throw new SyntaxError("*** Could not find definition for class \"CPTextField\""); +} +var _e=_d.isa; +class_addMethods(_d,[new objj_method(sel_getUid("initWithCoder:"),function(_f0,_f1,_f2){ +with(_f0){ +_f0=objj_msgSendSuper({receiver:_f0,super_class:objj_getClass("CPTextField").super_class},"initWithCoder:",_f2); +if(_f0){ +objj_msgSend(_f0,"setEditable:",objj_msgSend(_f2,"decodeBoolForKey:",_e7)); +objj_msgSend(_f0,"setSelectable:",objj_msgSend(_f2,"decodeBoolForKey:",_e8)); +objj_msgSend(_f0,"setDrawsBackground:",objj_msgSend(_f2,"decodeBoolForKey:",_ec)); +objj_msgSend(_f0,"setTextFieldBackgroundColor:",objj_msgSend(_f2,"decodeObjectForKey:",_ee)); +objj_msgSend(_f0,"setPlaceholderString:",objj_msgSend(_f2,"decodeObjectForKey:",_ef)); +} +return _f0; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_f3,_f4,_f5){ +with(_f3){ +objj_msgSendSuper({receiver:_f3,super_class:objj_getClass("CPTextField").super_class},"encodeWithCoder:",_f5); +objj_msgSend(_f5,"encodeBool:forKey:",_isEditable,_e7); +objj_msgSend(_f5,"encodeBool:forKey:",_isSelectable,_e8); +objj_msgSend(_f5,"encodeBool:forKey:",_drawsBackground,_ec); +objj_msgSend(_f5,"encodeObject:forKey:",_textFieldBackgroundColor,_ee); +objj_msgSend(_f5,"encodeObject:forKey:",_placeholderString,_ef); +} +})]); +p;9;CPTheme.jt;10900;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jI;30;Foundation/CPKeyedUnarchiver.jt;10793; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("Foundation/CPKeyedUnarchiver.j",NO); +var _1={},_2=nil; +var _3=objj_allocateClassPair(CPObject,"CPTheme"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_name"),new objj_ivar("_attributes")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initWithName:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPTheme").super_class},"init"); +if(_5){ +_name=_7; +_attributes=objj_msgSend(CPDictionary,"dictionary"); +_1[_name]=_5; +} +return _5; +} +}),new objj_method(sel_getUid("name"),function(_8,_9){ +with(_8){ +return _name; +} +}),new objj_method(sel_getUid("_attributeWithName:forClass:"),function(_a,_b,_c,_d){ +with(_a){ +var _e=objj_msgSend(_attributes,"objectForKey:",_d); +if(!_e){ +return nil; +} +return objj_msgSend(_e,"objectForKey:",_c); +} +}),new objj_method(sel_getUid("takeThemeFromObject:"),function(_f,_10,_11){ +with(_f){ +var _12=objj_msgSend(_11,"_themeAttributeDictionary"),_13=nil,_14=objj_msgSend(_12,"keyEnumerator"),_15=objj_msgSend(objj_msgSend(_11,"class"),"themeClass"); +while(_13=objj_msgSend(_14,"nextObject")){ +objj_msgSend(_f,"_recordAttribute:forClass:",objj_msgSend(_12,"objectForKey:",_13),_15); +} +} +}),new objj_method(sel_getUid("_recordAttribute:forClass:"),function(_16,_17,_18,_19){ +with(_16){ +if(!objj_msgSend(_18,"hasValues")){ +return; +} +var _1a=objj_msgSend(_attributes,"objectForKey:",_19); +if(!_1a){ +_1a=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_attributes,"setObject:forKey:",_1a,_19); +} +var _1b=objj_msgSend(_18,"name"),_1c=objj_msgSend(_1a,"objectForKey:",_1b); +if(_1c){ +objj_msgSend(_1a,"setObject:forKey:",objj_msgSend(_1c,"attributeMergedWithAttribute:",_18),_1b); +}else{ +objj_msgSend(_1a,"setObject:forKey:",_18,_1b); +} +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("setDefaultTheme:"),function(_1d,_1e,_1f){ +with(_1d){ +_2=_1f; +} +}),new objj_method(sel_getUid("defaultTheme"),function(_20,_21){ +with(_20){ +return _2; +} +}),new objj_method(sel_getUid("themeNamed:"),function(_22,_23,_24){ +with(_22){ +return _1[_24]; +} +})]); +var _25="CPThemeNameKey",_26="CPThemeAttributesKey"; +var _3=objj_getClass("CPTheme"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPTheme\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_27,_28,_29){ +with(_27){ +_27=objj_msgSendSuper({receiver:_27,super_class:objj_getClass("CPTheme").super_class},"init"); +if(_27){ +_name=objj_msgSend(_29,"decodeObjectForKey:",_25); +_attributes=objj_msgSend(_29,"decodeObjectForKey:",_26); +_1[_name]=_27; +} +return _27; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2c,"encodeObject:forKey:",_name,_25); +objj_msgSend(_2c,"encodeObject:forKey:",_attributes,_26); +} +})]); +var _3=objj_allocateClassPair(CPKeyedUnarchiver,"_CPThemeKeyedUnarchiver"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_bundle")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initForReadingWithData:bundle:"),function(_2d,_2e,_2f,_30){ +with(_2d){ +_2d=objj_msgSendSuper({receiver:_2d,super_class:objj_getClass("_CPThemeKeyedUnarchiver").super_class},"initForReadingWithData:",_2f); +if(_2d){ +_bundle=_30; +} +return _2d; +} +}),new objj_method(sel_getUid("bundle"),function(_31,_32){ +with(_31){ +return _bundle; +} +}),new objj_method(sel_getUid("awakenCustomResources"),function(_33,_34){ +with(_33){ +return YES; +} +})]); +var _35={},_36={},_37=0; +CPThemeState=function(_38){ +var _39=_35[_38]; +if(_39===undefined){ +if(_38.indexOf("+")===-1){ +_39=1<<_37++; +}else{ +var _39=0,_3a=_38.split("+"),_3b=_3a.length; +while(_3b--){ +var _3c=_3a[_3b],_3d=_35[_3c]; +if(_3d===undefined){ +_3d=1<<_37++; +_35[_3c]=_3d; +_36[_3d]=_3c; +} +_39|=_3d; +} +} +_35[_38]=_39; +_36[_39]=_38; +} +return _39; +}; +CPThemeStateName=function(_3e){ +var _3f=_36[_3e]; +if(_3f!==undefined){ +return _3f; +} +if(!(_3e&(_3e-1))){ +return ""; +} +var _40=1,_3f=""; +for(;_40<_3e;_40<<=1){ +if(_3e&_40){ +_3f+=(_3f.length===0?"":"+")+_36[_40]; +} +} +_36[_3e]=_3f; +return _3f; +}; +_36[0]="normal"; +CPThemeStateNormal=_35["normal"]=0; +CPThemeStateDisabled=CPThemeState("disabled"); +CPThemeStateHighlighted=CPThemeState("highlighted"); +CPThemeStateSelected=CPThemeState("selected"); +CPThemeStateBezeled=CPThemeState("bezeled"); +CPThemeStateBordered=CPThemeState("bordered"); +CPThemeStateEditable=CPThemeState("editable"); +CPThemeStateEditing=CPThemeState("editing"); +CPThemeStateVertical=CPThemeState("vertical"); +CPThemeStateDefault=CPThemeState("default"); +CPThemeStateCircular=CPThemeState("circular"); +var _3=objj_allocateClassPair(CPObject,"_CPThemeAttribute"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_name"),new objj_ivar("_defaultValue"),new objj_ivar("_values"),new objj_ivar("_cache"),new objj_ivar("_parentAttribute")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initWithName:defaultValue:"),function(_41,_42,_43,_44){ +with(_41){ +_41=objj_msgSendSuper({receiver:_41,super_class:objj_getClass("_CPThemeAttribute").super_class},"init"); +if(_41){ +_cache={}; +_name=_43; +_defaultValue=_44; +_values=objj_msgSend(CPDictionary,"dictionary"); +} +return _41; +} +}),new objj_method(sel_getUid("name"),function(_45,_46){ +with(_45){ +return _name; +} +}),new objj_method(sel_getUid("defaultValue"),function(_47,_48){ +with(_47){ +return _defaultValue; +} +}),new objj_method(sel_getUid("hasValues"),function(_49,_4a){ +with(_49){ +return objj_msgSend(_values,"count")>0; +} +}),new objj_method(sel_getUid("isTrivial"),function(_4b,_4c){ +with(_4b){ +return (objj_msgSend(_values,"count")===1)&&(Number(objj_msgSend(_values,"allKeys")[0])===CPThemeStateNormal); +} +}),new objj_method(sel_getUid("setValue:"),function(_4d,_4e,_4f){ +with(_4d){ +_cache={}; +if(_4f===undefined||_4f===nil){ +_values=objj_msgSend(CPDictionary,"dictionary"); +}else{ +_values=objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_4f,String(CPThemeStateNormal)); +} +} +}),new objj_method(sel_getUid("setValue:forState:"),function(_50,_51,_52,_53){ +with(_50){ +_cache={}; +if((_52===undefined)||(_52===nil)){ +objj_msgSend(_values,"removeObjectForKey:",String(_53)); +}else{ +objj_msgSend(_values,"setObject:forKey:",_52,String(_53)); +} +} +}),new objj_method(sel_getUid("value"),function(_54,_55){ +with(_54){ +return objj_msgSend(_54,"valueForState:",CPThemeStateNormal); +} +}),new objj_method(sel_getUid("valueForState:"),function(_56,_57,_58){ +with(_56){ +var _59=_cache[_58]; +if(_59!==undefined){ +return _59; +} +_59=objj_msgSend(_values,"objectForKey:",String(_58)); +if((_59===undefined||_59===nil)&&_58!==CPThemeStateNormal){ +if(_58&(_58-1)){ +var _5a=0,_5b=objj_msgSend(_values,"allKeys"),_5c=_5b.length; +while(_5c--){ +var _5d=Number(_5b[_5c]); +if((_5d&_58)===_5d){ +var _5e=_5f[_5d]; +if(_5e===undefined){ +_5e=_60(_5d); +} +if(_5e>_5a){ +_5a=_5e; +_59=objj_msgSend(_values,"objectForKey:",String(_5d)); +} +} +} +} +if(_59===undefined||_59===nil){ +_59=objj_msgSend(_values,"objectForKey:",String(CPThemeStateNormal)); +} +} +if(_59===undefined||_59===nil){ +_59=objj_msgSend(_parentAttribute,"valueForState:",_58); +} +if(_59===undefined||_59===nil){ +_59=_defaultValue; +} +_cache[_58]=_59; +return _59; +} +}),new objj_method(sel_getUid("setParentAttribute:"),function(_61,_62,_63){ +with(_61){ +if(_parentAttribute===_63){ +return; +} +_cache={}; +_parentAttribute=_63; +} +}),new objj_method(sel_getUid("attributeMergedWithAttribute:"),function(_64,_65,_66){ +with(_64){ +var _67=objj_msgSend(objj_msgSend(_CPThemeAttribute,"alloc"),"initWithName:defaultValue:",_name,_defaultValue); +_67._values=objj_msgSend(_values,"copy"); +objj_msgSend(_67._values,"addEntriesFromDictionary:",_66._values); +return _67; +} +})]); +var _3=objj_getClass("_CPThemeAttribute"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"_CPThemeAttribute\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_68,_69,_6a){ +with(_68){ +_68=objj_msgSendSuper({receiver:_68,super_class:objj_getClass("_CPThemeAttribute").super_class},"init"); +if(_68){ +_cache={}; +_name=objj_msgSend(_6a,"decodeObjectForKey:","name"); +_values=objj_msgSend(CPDictionary,"dictionary"); +if(objj_msgSend(_6a,"containsValueForKey:","value")){ +var _6b=CPThemeStateNormal; +if(objj_msgSend(_6a,"containsValueForKey:","state")){ +_6b=CPThemeState(objj_msgSend(_6a,"decodeObjectForKey:","state")); +} +objj_msgSend(_values,"setObject:forKey:",objj_msgSend(_6a,"decodeObjectForKey:","value"),_6b); +}else{ +var _6c=objj_msgSend(_6a,"decodeObjectForKey:","values"),_6d=objj_msgSend(_6c,"allKeys"),_6e=_6d.length; +while(_6e--){ +var key=_6d[_6e]; +objj_msgSend(_values,"setObject:forKey:",objj_msgSend(_6c,"objectForKey:",key),CPThemeState(key)); +} +} +} +return _68; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_6f,_70,_71){ +with(_6f){ +objj_msgSend(_71,"encodeObject:forKey:",_name,"name"); +var _72=objj_msgSend(_values,"allKeys"),_73=_72.length; +if(_73===1){ +var _74=_72[0]; +if(Number(_74)!==CPThemeStateNormal){ +objj_msgSend(_71,"encodeObject:forKey:",CPThemeStateName(Number(_74)),"state"); +} +objj_msgSend(_71,"encodeObject:forKey:",objj_msgSend(_values,"objectForKey:",_74),"value"); +}else{ +var _75=objj_msgSend(CPDictionary,"dictionary"); +while(_73--){ +var key=_72[_73]; +objj_msgSend(_75,"setObject:forKey:",objj_msgSend(_values,"objectForKey:",key),CPThemeStateName(Number(key))); +} +objj_msgSend(_71,"encodeObject:forKey:",_75,"values"); +} +} +})]); +var _5f=[0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6]; +var _60=function(_76){ +var _77=0,_78=_76; +while(_76){ +++_77; +_76&=(_76-1); +} +_5f[_78]=_77; +return _77; +}; +_60.displayName="numberOfOnes"; +CPThemeAttributeEncode=function(_79,_7a){ +var _7b=_7a._values,_7c=objj_msgSend(_7b,"count"),key="$a"+objj_msgSend(_7a,"name"); +if(_7c===1){ +var _7d=objj_msgSend(_7b,"allKeys")[0]; +if(Number(_7d)===0){ +objj_msgSend(_79,"encodeObject:forKey:",objj_msgSend(_7b,"objectForKey:",_7d),key); +return YES; +} +} +if(_7c>=1){ +objj_msgSend(_79,"encodeObject:forKey:",_7a,key); +return YES; +} +return NO; +}; +CPThemeAttributeDecode=function(_7e,_7f,_80,_81,_82){ +var key="$a"+_7f; +if(!objj_msgSend(_7e,"containsValueForKey:",key)){ +var _83=objj_msgSend(objj_msgSend(_CPThemeAttribute,"alloc"),"initWithName:defaultValue:",_7f,_80); +}else{ +var _83=objj_msgSend(_7e,"decodeObjectForKey:",key); +if(!_83.isa||!objj_msgSend(_83,"isKindOfClass:",objj_msgSend(_CPThemeAttribute,"class"))){ +var _84=objj_msgSend(objj_msgSend(_CPThemeAttribute,"alloc"),"initWithName:defaultValue:",_7f,_80); +objj_msgSend(_84,"setValue:",_83); +_83=_84; +} +} +if(_81&&_82){ +objj_msgSend(_83,"setParentAttribute:",objj_msgSend(_81,"_attributeWithName:forClass:",_7f,_82)); +} +return _83; +}; +p;14;CPThemeBlend.jt;1632;@STATIC;1.0;I;21;Foundation/CPObject.jI;16;AppKit/CPTheme.jI;29;AppKit/_CPCibCustomResource.jI;30;AppKit/_CPCibKeyedUnarchiver.jt;1497; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("AppKit/CPTheme.j",NO); +objj_executeFile("AppKit/_CPCibCustomResource.j",NO); +objj_executeFile("AppKit/_CPCibKeyedUnarchiver.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPThemeBlend"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_bundle"),new objj_ivar("_themes"),new objj_ivar("_loadDelegate")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("themes"),function(_3,_4){ +with(_3){ +return _themes; +} +}),new objj_method(sel_getUid("initWithContentsOfURL:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPThemeBlend").super_class},"init"); +if(_5){ +_bundle=objj_msgSend(objj_msgSend(CPBundle,"alloc"),"initWithPath:",_7); +} +return _5; +} +}),new objj_method(sel_getUid("loadWithDelegate:"),function(_8,_9,_a){ +with(_8){ +_loadDelegate=_a; +objj_msgSend(_bundle,"loadWithDelegate:",_8); +} +}),new objj_method(sel_getUid("bundleDidFinishLoading:"),function(_b,_c,_d){ +with(_b){ +var _e=objj_msgSend(_bundle,"objectForInfoDictionaryKey:","CPKeyedThemes"),_f=_e.length; +while(_f--){ +var _10=objj_msgSend(_d,"pathForResource:",_e[_f]),_11=objj_msgSend(objj_msgSend(_CPThemeKeyedUnarchiver,"alloc"),"initForReadingWithData:bundle:",objj_msgSend(objj_msgSend(CPURL,"URLWithString:",_10),"staticResourceData"),_bundle); +objj_msgSend(_11,"decodeObjectForKey:","root"); +objj_msgSend(_11,"finishDecoding"); +} +objj_msgSend(_loadDelegate,"blendDidFinishLoading:",_b); +} +})]); +p;11;CPToolbar.jt;24284;@STATIC;1.0;I;21;Foundation/CPObject.ji;15;CPPopUpButton.ji;15;CPToolbarItem.jt;24198; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CPPopUpButton.j",YES); +objj_executeFile("CPToolbarItem.j",YES); +CPToolbarDisplayModeDefault=0; +CPToolbarDisplayModeIconAndLabel=1; +CPToolbarDisplayModeIconOnly=2; +CPToolbarDisplayModeLabelOnly=3; +var _1=nil; +var _2=nil; +var _3=objj_allocateClassPair(CPObject,"CPToolbar"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_identifier"),new objj_ivar("_displayMode"),new objj_ivar("_showsBaselineSeparator"),new objj_ivar("_allowsUserCustomization"),new objj_ivar("_isVisible"),new objj_ivar("_delegate"),new objj_ivar("_itemIdentifiers"),new objj_ivar("_identifiedItems"),new objj_ivar("_defaultItems"),new objj_ivar("_allowedItems"),new objj_ivar("_selectableItems"),new objj_ivar("_items"),new objj_ivar("_itemsSortedByVisibilityPriority"),new objj_ivar("_toolbarView"),new objj_ivar("_window")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("init"),function(_5,_6){ +with(_5){ +return objj_msgSend(_5,"initWithIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithIdentifier:"),function(_7,_8,_9){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPToolbar").super_class},"init"); +if(_7){ +_items=[]; +_identifier=_9; +_isVisible=YES; +objj_msgSend(CPToolbar,"_addToolbar:forIdentifier:",_7,_identifier); +} +return _7; +} +}),new objj_method(sel_getUid("setDisplayMode:"),function(_a,_b,_c){ +with(_a){ +} +}),new objj_method(sel_getUid("identifier"),function(_d,_e){ +with(_d){ +return _identifier; +} +}),new objj_method(sel_getUid("delegate"),function(_f,_10){ +with(_f){ +return _delegate; +} +}),new objj_method(sel_getUid("isVisible"),function(_11,_12){ +with(_11){ +return _isVisible; +} +}),new objj_method(sel_getUid("setVisible:"),function(_13,_14,_15){ +with(_13){ +if(_isVisible===_15){ +return; +} +_isVisible=_15; +objj_msgSend(_window,"_noteToolbarChanged"); +} +}),new objj_method(sel_getUid("_window"),function(_16,_17){ +with(_16){ +return _window; +} +}),new objj_method(sel_getUid("_setWindow:"),function(_18,_19,_1a){ +with(_18){ +_window=_1a; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_1b,_1c,_1d){ +with(_1b){ +if(_delegate===_1d){ +return; +} +_delegate=_1d; +objj_msgSend(_1b,"_reloadToolbarItems"); +} +}),new objj_method(sel_getUid("_loadConfiguration"),function(_1e,_1f){ +with(_1e){ +} +}),new objj_method(sel_getUid("_toolbarView"),function(_20,_21){ +with(_20){ +if(!_toolbarView){ +_toolbarView=objj_msgSend(objj_msgSend(_CPToolbarView,"alloc"),"initWithFrame:",CPRectMake(0,0,1200,59)); +objj_msgSend(_toolbarView,"setToolbar:",_20); +objj_msgSend(_toolbarView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_toolbarView,"reloadToolbarItems"); +} +return _toolbarView; +} +}),new objj_method(sel_getUid("_reloadToolbarItems"),function(_22,_23){ +with(_22){ +_itemIdentifiers=objj_msgSend(_defaultItems,"valueForKey:","itemIdentifier")||[]; +if(_delegate){ +var _24=objj_msgSend(objj_msgSend(_delegate,"toolbarDefaultItemIdentifiers:",_22),"mutableCopy"); +if(_24){ +_itemIdentifiers=objj_msgSend(_itemIdentifiers,"arrayByAddingObjectsFromArray:",_24); +} +} +var _25=0,_26=objj_msgSend(_itemIdentifiers,"count"); +_items=[]; +for(;_25<_26;++_25){ +var _27=_itemIdentifiers[_25],_28=objj_msgSend(CPToolbarItem,"_standardItemWithItemIdentifier:",_27); +if(!_28){ +_28=objj_msgSend(_identifiedItems,"objectForKey:",_27); +} +if(!_28&&_delegate){ +_28=objj_msgSend(_delegate,"toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:",_22,_27,YES); +} +_28=objj_msgSend(_28,"copy"); +if(_28===nil){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Toolbar delegate "+_delegate+" returned nil toolbar item for identifier \""+_27+"\""); +} +_28._toolbar=_22; +objj_msgSend(_items,"addObject:",_28); +} +_itemsSortedByVisibilityPriority=objj_msgSend(_items,"sortedArrayUsingFunction:context:",_29,NULL); +objj_msgSend(_toolbarView,"reloadToolbarItems"); +} +}),new objj_method(sel_getUid("items"),function(_2a,_2b){ +with(_2a){ +return _items; +} +}),new objj_method(sel_getUid("visibleItems"),function(_2c,_2d){ +with(_2c){ +return objj_msgSend(_toolbarView,"visibleItems"); +} +}),new objj_method(sel_getUid("itemsSortedByVisibilityPriority"),function(_2e,_2f){ +with(_2e){ +return _itemsSortedByVisibilityPriority; +} +}),new objj_method(sel_getUid("validateVisibleToolbarItems"),function(_30,_31){ +with(_30){ +var _32=objj_msgSend(_30,"visibleItems"),_33=objj_msgSend(_32,"count"); +while(_33--){ +objj_msgSend(_32[_33],"validate"); +} +} +}),new objj_method(sel_getUid("_itemForItemIdentifier:willBeInsertedIntoToolbar:"),function(_34,_35,_36,_37){ +with(_34){ +var _38=objj_msgSend(_identifiedItems,"objectForKey:",_36); +if(!_38){ +_38=objj_msgSend(CPToolbarItem,"_standardItemWithItemIdentifier:",_36); +if(_delegate&&!_38){ +_38=objj_msgSend(objj_msgSend(_delegate,"toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:",_34,_36,_37),"copy"); +if(!_38){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Toolbar delegate "+_delegate+" returned nil toolbar item for identifier "+_36); +} +} +objj_msgSend(_identifiedItems,"setObject:forKey:",_38,_36); +} +return _38; +} +}),new objj_method(sel_getUid("_itemsWithIdentifiers:"),function(_39,_3a,_3b){ +with(_39){ +var _3c=[]; +for(var i=0;i<_3b.length;i++){ +objj_msgSend(_3c,"addObject:",objj_msgSend(_39,"_itemForItemIdentifier:willBeInsertedIntoToolbar:",_3b[i],NO)); +} +return _3c; +} +}),new objj_method(sel_getUid("_defaultToolbarItems"),function(_3d,_3e){ +with(_3d){ +if(!_defaultItems&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("toolbarDefaultItemIdentifiers:"))){ +_defaultItems=[]; +var _3f=objj_msgSend(_delegate,"toolbarDefaultItemIdentifiers:",_3d),_40=0,_41=objj_msgSend(_3f,"count"); +for(;_40<_41;++_40){ +objj_msgSend(_defaultItems,"addObject:",objj_msgSend(_3d,"_itemForItemIdentifier:willBeInsertedIntoToolbar:",_3f[_40],NO)); +} +} +return _defaultItems; +} +}),new objj_method(sel_getUid("toolbarItemDidChange:"),function(_42,_43,_44){ +with(_42){ +if(objj_msgSend(_identifiedItems,"objectForKey:",objj_msgSend(_44,"itemIdentifier"))){ +objj_msgSend(_identifiedItems,"setObject:forKey:",_44,objj_msgSend(_44,"itemIdentifier")); +} +var _45=0,_46=objj_msgSend(_items,"count"); +for(;_45<=_46;++_45){ +var _47=_items[_45]; +if(objj_msgSend(_47,"itemIdentifier")===objj_msgSend(_44,"itemIdentifier")){ +_items[_45]=_44; +_itemsSortedByVisibilityPriority=objj_msgSend(_items,"sortedArrayUsingFunction:context:",_29,NULL); +objj_msgSend(_toolbarView,"reloadToolbarItems"); +} +} +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("initialize"),function(_48,_49){ +with(_48){ +if(_48!=objj_msgSend(CPToolbar,"class")){ +return; +} +_1=objj_msgSend(CPDictionary,"dictionary"); +_2=objj_msgSend(CPDictionary,"dictionary"); +} +}),new objj_method(sel_getUid("_addToolbar:forIdentifier:"),function(_4a,_4b,_4c,_4d){ +with(_4a){ +var _4e=objj_msgSend(_1,"objectForKey:",_4d); +if(!_4e){ +_4e=[]; +objj_msgSend(_1,"setObject:forKey:",_4e,_4d); +} +objj_msgSend(_4e,"addObject:",_4c); +} +})]); +var _4f="CPToolbarIdentifierKey",_50="CPToolbarDisplayModeKey",_51="CPToolbarShowsBaselineSeparatorKey",_52="CPToolbarAllowsUserCustomizationKey",_53="CPToolbarIsVisibleKey",_54="CPToolbarDelegateKey",_55="CPToolbarIdentifiedItemsKey",_56="CPToolbarDefaultItemsKey",_57="CPToolbarAllowedItemsKey",_58="CPToolbarSelectableItemsKey"; +var _3=objj_getClass("CPToolbar"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPToolbar\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_59,_5a,_5b){ +with(_59){ +_59=objj_msgSendSuper({receiver:_59,super_class:objj_getClass("CPToolbar").super_class},"init"); +if(_59){ +_identifier=objj_msgSend(_5b,"decodeObjectForKey:",_4f); +_displayMode=objj_msgSend(_5b,"decodeIntForKey:",_50); +_showsBaselineSeparator=objj_msgSend(_5b,"decodeBoolForKey:",_51); +_allowsUserCustomization=objj_msgSend(_5b,"decodeBoolForKey:",_52); +_isVisible=objj_msgSend(_5b,"decodeBoolForKey:",_53); +_identifiedItems=objj_msgSend(_5b,"decodeObjectForKey:",_55); +_defaultItems=objj_msgSend(_5b,"decodeObjectForKey:",_56); +_allowedItems=objj_msgSend(_5b,"decodeObjectForKey:",_57); +_selectableItems=objj_msgSend(_5b,"decodeObjectForKey:",_58); +objj_msgSend(objj_msgSend(_identifiedItems,"allValues"),"makeObjectsPerformSelector:withObject:",sel_getUid("_setToolbar:"),_59); +_items=[]; +objj_msgSend(CPToolbar,"_addToolbar:forIdentifier:",_59,_identifier); +objj_msgSend(_59,"setDelegate:",objj_msgSend(_5b,"decodeObjectForKey:",_54)); +objj_msgSend(_59,"_reloadToolbarItems"); +} +return _59; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_5c,_5d,_5e){ +with(_5c){ +objj_msgSend(_5e,"encodeObject:forKey:",_identifier,_4f); +objj_msgSend(_5e,"encodeInt:forKey:",_displayMode,_50); +objj_msgSend(_5e,"encodeBool:forKey:",_showsBaselineSeparator,_51); +objj_msgSend(_5e,"encodeBool:forKey:",_allowsUserCustomization,_52); +objj_msgSend(_5e,"encodeBool:forKey:",_isVisible,_53); +objj_msgSend(_5e,"encodeObject:forKey:",_identifiedItems,_55); +objj_msgSend(_5e,"encodeObject:forKey:",_defaultItems,_56); +objj_msgSend(_5e,"encodeObject:forKey:",_allowedItems,_57); +objj_msgSend(_5e,"encodeObject:forKey:",_selectableItems,_58); +objj_msgSend(_5e,"encodeConditionalObject:forKey:",_delegate,_54); +} +})]); +var _5f=nil,_60=nil,_61=nil; +var _62=5,_63=10,_64=20; +var _65=function(_66,_67,_68,_69){ +return {index:_66,view:_67,label:_68,minWidth:_69}; +}; +var _3=objj_allocateClassPair(CPView,"_CPToolbarView"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_toolbar"),new objj_ivar("_flexibleWidthIndexes"),new objj_ivar("_visibleFlexibleWidthIndexes"),new objj_ivar("_itemInfos"),new objj_ivar("_viewsForToolbarItems"),new objj_ivar("_visibleItems"),new objj_ivar("_invisibleItems"),new objj_ivar("_additionalItemsButton"),new objj_ivar("_labelColor"),new objj_ivar("_labelShadowColor"),new objj_ivar("_minWidth"),new objj_ivar("_FIXME_isHUD")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("visibleItems"),function(_6a,_6b){ +with(_6a){ +return _visibleItems; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_6c,_6d,_6e){ +with(_6c){ +_6c=objj_msgSendSuper({receiver:_6c,super_class:objj_getClass("_CPToolbarView").super_class},"initWithFrame:",_6e); +if(_6c){ +_minWidth=0; +_labelColor=objj_msgSend(CPColor,"blackColor"); +_labelShadowColor=objj_msgSend(CPColor,"colorWithWhite:alpha:",1,0.75); +_additionalItemsButton=objj_msgSend(objj_msgSend(CPPopUpButton,"alloc"),"initWithFrame:pullsDown:",CGRectMake(0,0,10,15),YES); +objj_msgSend(_additionalItemsButton,"setBordered:",NO); +objj_msgSend(_additionalItemsButton,"setImagePosition:",CPImageOnly); +objj_msgSend(objj_msgSend(_additionalItemsButton,"menu"),"setShowsStateColumn:",NO); +objj_msgSend(_additionalItemsButton,"setAlternateImage:",_61); +} +return _6c; +} +}),new objj_method(sel_getUid("setToolbar:"),function(_6f,_70,_71){ +with(_6f){ +_toolbar=_71; +} +}),new objj_method(sel_getUid("toolbar"),function(_72,_73){ +with(_72){ +return _toolbar; +} +}),new objj_method(sel_getUid("FIXME_setIsHUD:"),function(_74,_75,_76){ +with(_74){ +if(_FIXME_isHUD===_76){ +return; +} +_FIXME_isHUD=_76; +var _77=objj_msgSend(_toolbar,"items"),_78=objj_msgSend(_77,"count"); +while(_78--){ +objj_msgSend(objj_msgSend(_74,"viewForItem:",_77[_78]),"FIXME_setIsHUD:",_76); +} +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_79,_7a,_7b){ +with(_79){ +objj_msgSend(_79,"tile"); +} +}),new objj_method(sel_getUid("viewForItem:"),function(_7c,_7d,_7e){ +with(_7c){ +return _viewsForToolbarItems[objj_msgSend(_7e,"UID")]||nil; +} +}),new objj_method(sel_getUid("tile"),function(_7f,_80){ +with(_7f){ +var _81=objj_msgSend(_toolbar,"items"),_82=CGRectGetWidth(objj_msgSend(_7f,"bounds")),_83=_minWidth,_84=[]; +_visibleItems=_81; +if(_82<_83){ +_82-=_64; +_visibleItems=objj_msgSend(_visibleItems,"copy"); +var _85=objj_msgSend(_toolbar,"itemsSortedByVisibilityPriority"),_86=_85.length; +while(_83>_82&&_86){ +var _87=_85[--_86],_88=objj_msgSend(_7f,"viewForItem:",_87); +_83-=objj_msgSend(_88,"minSize").width+_63; +objj_msgSend(_visibleItems,"removeObjectIdenticalTo:",_87); +objj_msgSend(_84,"addObject:",_87); +objj_msgSend(_88,"setHidden:",YES); +objj_msgSend(_88,"FIXME_setIsHUD:",_FIXME_isHUD); +} +} +var _86=objj_msgSend(_81,"count"),_89=0; +while(_86--){ +var _88=objj_msgSend(_7f,"viewForItem:",_81[_86]),_8a=objj_msgSend(_88,"minSize"); +if(_89<_8a.height){ +_89=_8a.height; +} +} +var _86=_visibleItems.length; +flexibleItemIndexes=objj_msgSend(CPIndexSet,"indexSet"); +while(_86--){ +var _87=_visibleItems[_86],_88=objj_msgSend(_7f,"viewForItem:",_87),_8a=objj_msgSend(_88,"minSize"); +if(_8a.width!==objj_msgSend(_88,"maxSize").width){ +objj_msgSend(flexibleItemIndexes,"addIndex:",_86); +}else{ +objj_msgSend(_88,"setFrameSize:",CGSizeMake(_8a.width,_89)); +} +objj_msgSend(_88,"setHidden:",NO); +} +var _8b=_82-_83,_8c=0; +while(_8b&&objj_msgSend(flexibleItemIndexes,"count")){ +_8c+=_8b/objj_msgSend(flexibleItemIndexes,"count"); +_8b=0; +var _8d=CPNotFound; +while((_8d=objj_msgSend(flexibleItemIndexes,"indexGreaterThanIndex:",_8d))!==CPNotFound){ +var _87=_visibleItems[_8d],_88=objj_msgSend(_7f,"viewForItem:",_87),_8e=objj_msgSend(_88,"minSize").width+_8c,_8f=MIN(_8e,objj_msgSend(_88,"maxSize").width); +if(_8f<_8e){ +objj_msgSend(flexibleItemIndexes,"removeIndex:",_8d); +_8b+=_8e-_8f; +} +objj_msgSend(_88,"setFrameSize:",CGSizeMake(_8f,_89)); +} +} +var _8d=0,_86=_visibleItems.length,x=_63; +for(;_8d<_86;++_8d){ +var _88=objj_msgSend(_7f,"viewForItem:",_visibleItems[_8d]),_90=CGRectGetWidth(objj_msgSend(_88,"frame")); +objj_msgSend(_88,"setFrame:",CGRectMake(x,0,_90,_89)); +x+=_90+_63; +} +var _91=NO; +if(objj_msgSend(_84,"count")){ +var _8d=0,_86=objj_msgSend(_81,"count"); +_invisibleItems=[]; +for(;_8d<_86;++_8d){ +var _87=_81[_8d]; +if(objj_msgSend(_84,"indexOfObjectIdenticalTo:",_87)!==CPNotFound){ +objj_msgSend(_invisibleItems,"addObject:",_87); +var _92=objj_msgSend(_87,"itemIdentifier"); +if(_92!==CPToolbarSpaceItemIdentifier&&_92!==CPToolbarFlexibleSpaceItemIdentifier&&_92!==CPToolbarSeparatorItemIdentifier){ +_91=YES; +} +} +} +} +if(_91){ +objj_msgSend(_additionalItemsButton,"setFrameOrigin:",CGPointMake(_82+5,(CGRectGetHeight(objj_msgSend(_7f,"bounds"))-CGRectGetHeight(objj_msgSend(_additionalItemsButton,"frame")))/2)); +objj_msgSend(_7f,"addSubview:",_additionalItemsButton); +objj_msgSend(_additionalItemsButton,"removeAllItems"); +objj_msgSend(_additionalItemsButton,"addItemWithTitle:","Additional Items"); +objj_msgSend(objj_msgSend(_additionalItemsButton,"itemArray")[0],"setImage:",_60); +var _8d=0,_86=objj_msgSend(_invisibleItems,"count"),_93=NO; +for(;_8d<_86;++_8d){ +var _87=_invisibleItems[_8d],_92=objj_msgSend(_87,"itemIdentifier"); +if(_92===CPToolbarSpaceItemIdentifier||_92===CPToolbarFlexibleSpaceItemIdentifier){ +continue; +} +if(_92===CPToolbarSeparatorItemIdentifier){ +if(_93){ +objj_msgSend(_additionalItemsButton,"addItem:",objj_msgSend(CPMenuItem,"separatorItem")); +} +continue; +} +_93=YES; +objj_msgSend(_additionalItemsButton,"addItemWithTitle:",objj_msgSend(_87,"label")); +var _94=objj_msgSend(_additionalItemsButton,"itemArray")[_8d+1]; +objj_msgSend(_94,"setImage:",objj_msgSend(_87,"image")); +objj_msgSend(_94,"setTarget:",objj_msgSend(_87,"target")); +objj_msgSend(_94,"setAction:",objj_msgSend(_87,"action")); +} +}else{ +objj_msgSend(_additionalItemsButton,"removeFromSuperview"); +} +} +}),new objj_method(sel_getUid("reloadToolbarItems"),function(_95,_96){ +with(_95){ +var _97=objj_msgSend(_95,"subviews"),_98=_97.length; +while(_98--){ +objj_msgSend(_97[_98],"removeFromSuperview"); +} +var _99=objj_msgSend(_toolbar,"items"),_9a=0; +_98=_99.length; +_minWidth=_63; +_viewsForToolbarItems={}; +for(;_9a<_98;++_9a){ +var _9b=_99[_9a],_9c=objj_msgSend(objj_msgSend(_CPToolbarItemView,"alloc"),"initWithToolbarItem:toolbar:",_9b,_95); +_viewsForToolbarItems[objj_msgSend(_9b,"UID")]=_9c; +objj_msgSend(_95,"addSubview:",_9c); +_minWidth+=objj_msgSend(_9c,"minSize").width+_63; +} +objj_msgSend(_95,"tile"); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("initialize"),function(_9d,_9e){ +with(_9d){ +if(_9d!==objj_msgSend(_CPToolbarView,"class")){ +return; +} +var _9f=objj_msgSend(CPBundle,"bundleForClass:",_9d); +_60=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_9f,"pathForResource:","_CPToolbarView/_CPToolbarViewExtraItemsImage.png"),CPSizeMake(10,15)); +_61=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_9f,"pathForResource:","_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png"),CGSizeMake(10,15)); +} +})]); +var _29=function(lhs,rhs){ +var _a0=objj_msgSend(lhs,"visibilityPriority"),_a1=objj_msgSend(rhs,"visibilityPriority"); +if(_a0==_a1){ +return CPOrderedSame; +} +if(_a0>_a1){ +return CPOrderedAscending; +} +return CPOrderedDescending; +}; +var _a2=5,_a3=2; +var _3=objj_allocateClassPair(CPControl,"_CPToolbarItemView"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_minSize"),new objj_ivar("_maxSize"),new objj_ivar("_labelSize"),new objj_ivar("_toolbarItem"),new objj_ivar("_toolbar"),new objj_ivar("_imageView"),new objj_ivar("_view"),new objj_ivar("_labelField"),new objj_ivar("_FIXME_isHUD")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("minSize"),function(_a4,_a5){ +with(_a4){ +return _minSize; +} +}),new objj_method(sel_getUid("maxSize"),function(_a6,_a7){ +with(_a6){ +return _maxSize; +} +}),new objj_method(sel_getUid("initWithToolbarItem:toolbar:"),function(_a8,_a9,_aa,_ab){ +with(_a8){ +_a8=objj_msgSendSuper({receiver:_a8,super_class:objj_getClass("_CPToolbarItemView").super_class},"init"); +if(_a8){ +_toolbarItem=_aa; +_labelField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_labelField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",11)); +objj_msgSend(_labelField,"setTextColor:",objj_msgSend(_a8,"FIXME_labelColor")); +objj_msgSend(_labelField,"setTextShadowColor:",objj_msgSend(_a8,"FIXME_labelShadowColor")); +objj_msgSend(_labelField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_labelField,"setAutoresizingMask:",CPViewWidthSizable|CPViewMinXMargin); +objj_msgSend(_a8,"addSubview:",_labelField); +objj_msgSend(_a8,"updateFromItem"); +_toolbar=_ab; +var _ac=["label","image","alternateImage","minSize","maxSize","target","action","enabled"],_ad=0,_ae=objj_msgSend(_ac,"count"); +for(;_ad<_ae;++_ad){ +objj_msgSend(_toolbarItem,"addObserver:forKeyPath:options:context:",_a8,_ac[_ad],0,NULL); +} +} +return _a8; +} +}),new objj_method(sel_getUid("FIXME_setIsHUD:"),function(_af,_b0,_b1){ +with(_af){ +_FIXME_isHUD=_b1; +objj_msgSend(_labelField,"setTextColor:",objj_msgSend(_af,"FIXME_labelColor")); +objj_msgSend(_labelField,"setTextShadowColor:",objj_msgSend(_af,"FIXME_labelShadowColor")); +} +}),new objj_method(sel_getUid("updateFromItem"),function(_b2,_b3){ +with(_b2){ +var _b4=objj_msgSend(_toolbarItem,"itemIdentifier"); +if(_b4===CPToolbarSpaceItemIdentifier||_b4===CPToolbarFlexibleSpaceItemIdentifier||_b4===CPToolbarSeparatorItemIdentifier){ +objj_msgSend(_view,"removeFromSuperview"); +objj_msgSend(_imageView,"removeFromSuperview"); +_minSize=objj_msgSend(_toolbarItem,"minSize"); +_maxSize=objj_msgSend(_toolbarItem,"maxSize"); +if(_b4===CPToolbarSeparatorItemIdentifier){ +_view=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,2,32)); +sizes={}; +sizes["CPToolbarItemSeparator"]=[CGSizeMake(2,26),CGSizeMake(2,1),CGSizeMake(2,26)]; +objj_msgSend(_view,"setBackgroundColor:",_CPControlThreePartImagePattern(YES,sizes,"CPToolbarItem","Separator")); +objj_msgSend(_b2,"addSubview:",_view); +} +return; +} +objj_msgSend(_b2,"setTarget:",objj_msgSend(_toolbarItem,"target")); +objj_msgSend(_b2,"setAction:",objj_msgSend(_toolbarItem,"action")); +var _b5=objj_msgSend(_toolbarItem,"view")||nil; +if(_b5!==_view){ +if(!_b5){ +objj_msgSend(_view,"removeFromSuperview"); +}else{ +objj_msgSend(_b2,"addSubview:",_b5); +objj_msgSend(_imageView,"removeFromSuperview"); +} +_view=_b5; +} +if(!_view){ +if(!_imageView){ +_imageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",objj_msgSend(_b2,"bounds")); +objj_msgSend(_imageView,"setImageScaling:",CPScaleNone); +objj_msgSend(_b2,"addSubview:",_imageView); +} +objj_msgSend(_imageView,"setImage:",objj_msgSend(_toolbarItem,"image")); +} +var _b6=objj_msgSend(_toolbarItem,"minSize"),_b7=objj_msgSend(_toolbarItem,"maxSize"); +objj_msgSend(_labelField,"setStringValue:",objj_msgSend(_toolbarItem,"label")); +objj_msgSend(_labelField,"sizeToFit"); +objj_msgSend(_b2,"setEnabled:",objj_msgSend(_toolbarItem,"isEnabled")); +_labelSize=objj_msgSend(_labelField,"frame").size; +_minSize=CGSizeMake(MAX(_labelSize.width,_b6.width),_labelSize.height+_b6.height+_a3+_a2); +_maxSize=CGSizeMake(MAX(_labelSize.width,_b6.width),100000000); +objj_msgSend(_toolbar,"tile"); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_b8,_b9){ +with(_b8){ +var _ba=objj_msgSend(_toolbarItem,"itemIdentifier"); +if(_ba===CPToolbarSpaceItemIdentifier||_ba===CPToolbarFlexibleSpaceItemIdentifier){ +return; +} +var _bb=objj_msgSend(_b8,"bounds"),_bc=(_bb.size.width); +if(_ba===CPToolbarSeparatorItemIdentifier){ +return objj_msgSend(_view,"setFrame:",CGRectMake(ROUND((_bc-2)/2),0,2,(_bb.size.height))); +} +var _bd=_view||_imageView,_be=objj_msgSend(_toolbarItem,"maxSize"),_bf=(_bb.size.height)-_labelSize.height-_a3-_a2,_c0=MIN(_be.width,_bc),_c1=MIN(_be.height,_bf); +objj_msgSend(_bd,"setFrame:",CGRectMake(ROUND((_bc-_c0)/2),_a2+ROUND((_bf-_c1)/2),_c0,_c1)); +objj_msgSend(_labelField,"setFrameOrigin:",CGPointMake(ROUND((_bc-_labelSize.width)/2),_a2+_bf+_a3)); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_c2,_c3,_c4){ +with(_c2){ +if(objj_msgSend(_toolbarItem,"view")){ +return objj_msgSend(objj_msgSend(_c2,"nextResponder"),"mouseDown:",_c4); +} +var _c5=objj_msgSend(_toolbarItem,"itemIdentifier"); +if(_c5===CPToolbarSpaceItemIdentifier||_c5===CPToolbarFlexibleSpaceItemIdentifier||_c5===CPToolbarSeparatorItemIdentifier){ +return objj_msgSend(objj_msgSend(_c2,"nextResponder"),"mouseDown:",_c4); +} +objj_msgSendSuper({receiver:_c2,super_class:objj_getClass("_CPToolbarItemView").super_class},"mouseDown:",_c4); +} +}),new objj_method(sel_getUid("setEnabled:"),function(_c6,_c7,_c8){ +with(_c6){ +objj_msgSendSuper({receiver:_c6,super_class:objj_getClass("_CPToolbarItemView").super_class},"setEnabled:",_c8); +if(_c8){ +objj_msgSend(_imageView,"setAlphaValue:",1); +objj_msgSend(_labelField,"setAlphaValue:",1); +}else{ +objj_msgSend(_imageView,"setAlphaValue:",0.5); +objj_msgSend(_labelField,"setAlphaValue:",0.5); +} +} +}),new objj_method(sel_getUid("FIXME_labelColor"),function(_c9,_ca){ +with(_c9){ +if(_FIXME_isHUD){ +return objj_msgSend(CPColor,"whiteColor"); +} +return objj_msgSend(CPColor,"blackColor"); +} +}),new objj_method(sel_getUid("FIXME_labelShadowColor"),function(_cb,_cc){ +with(_cb){ +if(_FIXME_isHUD){ +return objj_msgSend(_cb,"isHighlighted")?objj_msgSend(CPColor,"colorWithWhite:alpha:",1,0.5):objj_msgSend(CPColor,"clearColor"); +} +return objj_msgSend(_cb,"isHighlighted")?objj_msgSend(CPColor,"colorWithWhite:alpha:",0,0.3):objj_msgSend(CPColor,"colorWithWhite:alpha:",1,0.75); +} +}),new objj_method(sel_getUid("setHighlighted:"),function(_cd,_ce,_cf){ +with(_cd){ +objj_msgSendSuper({receiver:_cd,super_class:objj_getClass("_CPToolbarItemView").super_class},"setHighlighted:",_cf); +if(_cf){ +var _d0=objj_msgSend(_toolbarItem,"alternateImage"); +if(_d0){ +objj_msgSend(_imageView,"setImage:",_d0); +} +objj_msgSend(_labelField,"setTextShadowOffset:",CGSizeMakeZero()); +}else{ +var _d1=objj_msgSend(_toolbarItem,"image"); +if(_d1){ +objj_msgSend(_imageView,"setImage:",_d1); +} +objj_msgSend(_labelField,"setTextShadowOffset:",CGSizeMake(0,1)); +} +objj_msgSend(_labelField,"setTextShadowColor:",objj_msgSend(_cd,"FIXME_labelShadowColor")); +} +}),new objj_method(sel_getUid("sendAction:to:"),function(_d2,_d3,_d4,_d5){ +with(_d2){ +objj_msgSend(CPApp,"sendAction:to:from:",_d4,_d5,_toolbarItem); +} +}),new objj_method(sel_getUid("observeValueForKeyPath:ofObject:change:context:"),function(_d6,_d7,_d8,_d9,_da,_db){ +with(_d6){ +if(_d8==="enabled"){ +objj_msgSend(_d6,"setEnabled:",objj_msgSend(_d9,"isEnabled")); +}else{ +if(_d8==="target"){ +objj_msgSend(_d6,"setTarget:",objj_msgSend(_d9,"target")); +}else{ +if(_d8==="action"){ +objj_msgSend(_d6,"setAction:",objj_msgSend(_d9,"action")); +}else{ +objj_msgSend(_d6,"updateFromItem"); +} +} +} +} +})]); +p;15;CPToolbarItem.jt;13731;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jI;16;AppKit/CPImage.jI;15;AppKit/CPView.ji;29;_CPToolbarFlexibleSpaceItem.ji;26;_CPToolbarShowColorsItem.ji;25;_CPToolbarSeparatorItem.ji;21;_CPToolbarSpaceItem.jt;13497; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("AppKit/CPImage.j",NO); +objj_executeFile("AppKit/CPView.j",NO); +CPToolbarItemVisibilityPriorityStandard=0; +CPToolbarItemVisibilityPriorityLow=-1000; +CPToolbarItemVisibilityPriorityHigh=1000; +CPToolbarItemVisibilityPriorityUser=2000; +CPToolbarSeparatorItemIdentifier="CPToolbarSeparatorItem"; +CPToolbarSpaceItemIdentifier="CPToolbarSpaceItem"; +CPToolbarFlexibleSpaceItemIdentifier="CPToolbarFlexibleSpaceItem"; +CPToolbarShowColorsItemIdentifier="CPToolbarShowColorsItem"; +CPToolbarShowFontsItemIdentifier="CPToolbarShowFontsItem"; +CPToolbarCustomizeToolbarItemIdentifier="CPToolbarCustomizeToolbarItem"; +CPToolbarPrintItemIdentifier="CPToolbarPrintItem"; +var _1=objj_allocateClassPair(CPObject,"CPToolbarItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_itemIdentifier"),new objj_ivar("_toolbar"),new objj_ivar("_label"),new objj_ivar("_paletteLabel"),new objj_ivar("_toolTip"),new objj_ivar("_tag"),new objj_ivar("_target"),new objj_ivar("_action"),new objj_ivar("_isEnabled"),new objj_ivar("_image"),new objj_ivar("_alternateImage"),new objj_ivar("_view"),new objj_ivar("_minSize"),new objj_ivar("_maxSize"),new objj_ivar("_visibilityPriority"),new objj_ivar("_autovalidates")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +return objj_msgSend(_3,"initWithItemIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithItemIdentifier:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPToolbarItem").super_class},"init"); +if(_5){ +_itemIdentifier=_7; +_tag=0; +_isEnabled=YES; +_minSize=CGSizeMakeZero(); +_maxSize=CGSizeMakeZero(); +_visibilityPriority=CPToolbarItemVisibilityPriorityStandard; +_autovalidates=YES; +} +return _5; +} +}),new objj_method(sel_getUid("itemIdentifier"),function(_8,_9){ +with(_8){ +return _itemIdentifier; +} +}),new objj_method(sel_getUid("toolbar"),function(_a,_b){ +with(_a){ +return _toolbar; +} +}),new objj_method(sel_getUid("_setToolbar:"),function(_c,_d,_e){ +with(_c){ +_toolbar=_e; +} +}),new objj_method(sel_getUid("label"),function(_f,_10){ +with(_f){ +return _label; +} +}),new objj_method(sel_getUid("setLabel:"),function(_11,_12,_13){ +with(_11){ +_label=_13; +} +}),new objj_method(sel_getUid("paletteLabel"),function(_14,_15){ +with(_14){ +return _paletteLabel; +} +}),new objj_method(sel_getUid("setPaletteLabel:"),function(_16,_17,_18){ +with(_16){ +_paletteLabel=_18; +} +}),new objj_method(sel_getUid("toolTip"),function(_19,_1a){ +with(_19){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("toolTip"))){ +return objj_msgSend(_view,"toolTip"); +} +return _toolTip; +} +}),new objj_method(sel_getUid("setToolTip:"),function(_1b,_1c,_1d){ +with(_1b){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setToolTip:"))){ +objj_msgSend(_view,"setToolTip:",_1d); +} +_toolTip=_1d; +} +}),new objj_method(sel_getUid("tag"),function(_1e,_1f){ +with(_1e){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("tag"))){ +return objj_msgSend(_view,"tag"); +} +return _tag; +} +}),new objj_method(sel_getUid("setTag:"),function(_20,_21,_22){ +with(_20){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setTag:"))){ +objj_msgSend(_view,"setTag:",_22); +} +_tag=_22; +} +}),new objj_method(sel_getUid("target"),function(_23,_24){ +with(_23){ +if(_view){ +return objj_msgSend(_view,"respondsToSelector:",sel_getUid("target"))?objj_msgSend(_view,"target"):nil; +} +return _target; +} +}),new objj_method(sel_getUid("setTarget:"),function(_25,_26,_27){ +with(_25){ +if(!_view){ +_target=_27; +}else{ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setTarget:"))){ +objj_msgSend(_view,"setTarget:",_27); +} +} +} +}),new objj_method(sel_getUid("action"),function(_28,_29){ +with(_28){ +if(_view){ +return objj_msgSend(_view,"respondsToSelector:",sel_getUid("action"))?objj_msgSend(_view,"action"):nil; +} +return _action; +} +}),new objj_method(sel_getUid("setAction:"),function(_2a,_2b,_2c){ +with(_2a){ +if(!_view){ +_action=_2c; +}else{ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setAction:"))){ +objj_msgSend(_view,"setAction:",_2c); +} +} +} +}),new objj_method(sel_getUid("isEnabled"),function(_2d,_2e){ +with(_2d){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("isEnabled"))){ +return objj_msgSend(_view,"isEnabled"); +} +return _isEnabled; +} +}),new objj_method(sel_getUid("setEnabled:"),function(_2f,_30,_31){ +with(_2f){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setEnabled:"))){ +objj_msgSend(_view,"setEnabled:",_31); +} +_isEnabled=_31; +} +}),new objj_method(sel_getUid("image"),function(_32,_33){ +with(_32){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("image"))){ +return objj_msgSend(_view,"image"); +} +return _image; +} +}),new objj_method(sel_getUid("setImage:"),function(_34,_35,_36){ +with(_34){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setImage:"))){ +objj_msgSend(_view,"setImage:",_36); +} +_image=_36; +if(!_image){ +return; +} +if(_minSize.width===0&&_minSize.height===0&&_maxSize.width===0&&_maxSize.height===0){ +var _37=objj_msgSend(_image,"size"); +if(_37.width>0||_37.height>0){ +objj_msgSend(_34,"setMinSize:",_37); +objj_msgSend(_34,"setMaxSize:",_37); +} +} +} +}),new objj_method(sel_getUid("setAlternateImage:"),function(_38,_39,_3a){ +with(_38){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setAlternateImage:"))){ +objj_msgSend(_view,"setAlternateImage:",_3a); +} +_alternateImage=_3a; +} +}),new objj_method(sel_getUid("alternateImage"),function(_3b,_3c){ +with(_3b){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("alternateIamge"))){ +return objj_msgSend(_view,"alternateImage"); +} +return _alternateImage; +} +}),new objj_method(sel_getUid("view"),function(_3d,_3e){ +with(_3d){ +return _view; +} +}),new objj_method(sel_getUid("setView:"),function(_3f,_40,_41){ +with(_3f){ +if(_view==_41){ +return; +} +_view=_41; +if(_view){ +if(_tag!==0&&objj_msgSend(_view,"respondsToSelector:",sel_getUid("setTag:"))){ +objj_msgSend(_view,"setTag:",_tag); +} +_target=nil; +_action=nil; +} +} +}),new objj_method(sel_getUid("minSize"),function(_42,_43){ +with(_42){ +return _minSize; +} +}),new objj_method(sel_getUid("setMinSize:"),function(_44,_45,_46){ +with(_44){ +if(!_46.height||!_46.width){ +return; +} +_minSize=CGSizeMakeCopy(_46); +_maxSize=CGSizeMake(MAX(_minSize.width,_maxSize.width),MAX(_minSize.height,_maxSize.height)); +} +}),new objj_method(sel_getUid("maxSize"),function(_47,_48){ +with(_47){ +return _maxSize; +} +}),new objj_method(sel_getUid("setMaxSize:"),function(_49,_4a,_4b){ +with(_49){ +if(!_4b.height||!_4b.width){ +return; +} +_maxSize=CGSizeMakeCopy(_4b); +_minSize=CGSizeMake(MIN(_minSize.width,_maxSize.width),MIN(_minSize.height,_maxSize.height)); +} +}),new objj_method(sel_getUid("visibilityPriority"),function(_4c,_4d){ +with(_4c){ +return _visibilityPriority; +} +}),new objj_method(sel_getUid("setVisibilityPriority:"),function(_4e,_4f,_50){ +with(_4e){ +_visibilityPriority=_50; +} +}),new objj_method(sel_getUid("validate"),function(_51,_52){ +with(_51){ +if(_view){ +if(objj_msgSend(_53,"respondsToSelector:",sel_getUid("validateToolbarItem:"))){ +objj_msgSend(_51,"setEnabled:",objj_msgSend(_53,"validateToolbarItem:",_51)); +} +return; +} +var _54=objj_msgSend(_51,"action"); +if(!_54){ +return objj_msgSend(_51,"setEnabled:",NO); +} +var _53=objj_msgSend(_51,"target"); +if(_53&&!objj_msgSend(_53,"respondsToSelector:",_54)){ +return objj_msgSend(_51,"setEnabled:",NO); +} +_53=objj_msgSend(CPApp,"targetForAction:to:from:",_54,_53,_51); +if(!_53){ +return objj_msgSend(_51,"setEnabled:",NO); +} +if(objj_msgSend(_53,"respondsToSelector:",sel_getUid("validateToolbarItem:"))){ +objj_msgSend(_51,"setEnabled:",objj_msgSend(_53,"validateToolbarItem:",_51)); +}else{ +objj_msgSend(_51,"setEnabled:",YES); +} +} +}),new objj_method(sel_getUid("autovalidates"),function(_55,_56){ +with(_55){ +return _autovalidates; +} +}),new objj_method(sel_getUid("setAutovalidates:"),function(_57,_58,_59){ +with(_57){ +_autovalidates=!!_59; +} +})]); +var _5a="CPToolbarItemItemIdentifierKey",_5b="CPToolbarItemLabelKey",_5c="CPToolbarItemPaletteLabelKey",_5d="CPToolbarItemToolTipKey",_5e="CPToolbarItemTagKey",_5f="CPToolbarItemTargetKey",_60="CPToolbarItemActionKey",_61="CPToolbarItemEnabledKey",_62="CPToolbarItemImageKey",_63="CPToolbarItemAlternateImageKey",_64="CPToolbarItemViewKey",_65="CPToolbarItemMinSizeKey",_66="CPToolbarItemMaxSizeKey",_67="CPToolbarItemVisibilityPriorityKey",_68="CPToolbarItemAutovalidatesKey"; +var _1=objj_getClass("CPToolbarItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPToolbarItem\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_69,_6a,_6b){ +with(_69){ +_69=objj_msgSendSuper({receiver:_69,super_class:objj_getClass("CPToolbarItem").super_class},"init"); +if(_69){ +_itemIdentifier=objj_msgSend(_6b,"decodeObjectForKey:",_5a); +_minSize=objj_msgSend(_6b,"decodeSizeForKey:",_65); +_maxSize=objj_msgSend(_6b,"decodeSizeForKey:",_66); +objj_msgSend(_69,"setLabel:",objj_msgSend(_6b,"decodeObjectForKey:",_5b)); +objj_msgSend(_69,"setPaletteLabel:",objj_msgSend(_6b,"decodeObjectForKey:",_5c)); +objj_msgSend(_69,"setToolTip:",objj_msgSend(_6b,"decodeObjectForKey:",_5d)); +objj_msgSend(_69,"setTag:",objj_msgSend(_6b,"decodeObjectForKey:",_5e)); +objj_msgSend(_69,"setTarget:",objj_msgSend(_6b,"decodeObjectForKey:",_5f)); +objj_msgSend(_69,"setAction:",CPSelectorFromString(objj_msgSend(_6b,"decodeObjectForKey:",_60))); +objj_msgSend(_69,"setEnabled:",objj_msgSend(_6b,"decodeBoolForKey:",_61)); +objj_msgSend(_69,"setImage:",objj_msgSend(_6b,"decodeObjectForKey:",_62)); +objj_msgSend(_69,"setAlternateImage:",objj_msgSend(_6b,"decodeObjectForKey:",_63)); +objj_msgSend(_69,"setView:",objj_msgSend(_6b,"decodeObjectForKey:",_64)); +objj_msgSend(_69,"setVisibilityPriority:",objj_msgSend(_6b,"decodeIntForKey:",_67)); +objj_msgSend(_69,"setAutovalidates:",objj_msgSend(_6b,"decodeBoolForKey:",_68)); +} +return _69; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_6c,_6d,_6e){ +with(_6c){ +objj_msgSend(_6e,"encodeObject:forKey:",_itemIdentifier,_5a); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"label"),_5b); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"paletteLabel"),_5c); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"toolTip"),_5d); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"tag"),_5e); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"target"),_5f); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"action"),_60); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"isEnabled"),_61); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"image"),_62); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"alternateImage"),_63); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"view"),_64); +objj_msgSend(_6e,"encodeSize:forKey:",objj_msgSend(_6c,"minSize"),_65); +objj_msgSend(_6e,"encodeSize:forKey:",objj_msgSend(_6c,"maxSize"),_66); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"visibilityPriority"),_67); +objj_msgSend(_6e,"encodeBool:forKey:",objj_msgSend(_6c,"autovalidates"),_68); +} +})]); +var _1=objj_getClass("CPToolbarItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPToolbarItem\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("copy"),function(_6f,_70){ +with(_6f){ +var _71=objj_msgSend(objj_msgSend(objj_msgSend(_6f,"class"),"alloc"),"initWithItemIdentifier:",_itemIdentifier); +if(_view){ +objj_msgSend(_71,"setView:",objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_view))); +} +objj_msgSend(_71,"_setToolbar:",_toolbar); +objj_msgSend(_71,"setLabel:",_label); +objj_msgSend(_71,"setPaletteLabel:",_paletteLabel); +objj_msgSend(_71,"setToolTip:",objj_msgSend(_6f,"toolTip")); +objj_msgSend(_71,"setTag:",objj_msgSend(_6f,"tag")); +objj_msgSend(_71,"setTarget:",objj_msgSend(_6f,"target")); +objj_msgSend(_71,"setAction:",objj_msgSend(_6f,"action")); +objj_msgSend(_71,"setEnabled:",objj_msgSend(_6f,"isEnabled")); +objj_msgSend(_71,"setImage:",objj_msgSend(_6f,"image")); +objj_msgSend(_71,"setAlternateImage:",objj_msgSend(_6f,"alternateImage")); +objj_msgSend(_71,"setMinSize:",_minSize); +objj_msgSend(_71,"setMaxSize:",_maxSize); +objj_msgSend(_71,"setVisibilityPriority:",objj_msgSend(_6f,"visibilityPriority")); +objj_msgSend(_71,"setAutovalidates:",objj_msgSend(_6f,"autovalidates")); +return _71; +} +})]); +var _1=objj_getClass("CPToolbarItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPToolbarItem\""); +} +var _2=_1.isa; +class_addMethods(_2,[new objj_method(sel_getUid("_standardItemWithItemIdentifier:"),function(_72,_73,_74){ +with(_72){ +switch(_74){ +case CPToolbarSeparatorItemIdentifier: +return objj_msgSend(_CPToolbarSeparatorItem,"new"); +case CPToolbarSpaceItemIdentifier: +return objj_msgSend(_CPToolbarSpaceItem,"new"); +case CPToolbarFlexibleSpaceItemIdentifier: +return objj_msgSend(_CPToolbarFlexibleSpaceItem,"new"); +case CPToolbarShowColorsItemIdentifier: +return objj_msgSend(_CPToolbarShowColorsItem,"new"); +case CPToolbarShowFontsItemIdentifier: +return nil; +case CPToolbarCustomizeToolbarItemIdentifier: +return nil; +case CPToolbarPrintItemIdentifier: +return nil; +} +return nil; +} +})]); +objj_executeFile("_CPToolbarFlexibleSpaceItem.j",YES); +objj_executeFile("_CPToolbarShowColorsItem.j",YES); +objj_executeFile("_CPToolbarSeparatorItem.j",YES); +objj_executeFile("_CPToolbarSpaceItem.j",YES); +p;12;CPTreeNode.jt;3517;@STATIC;1.0;I;21;Foundation/CPObject.jt;3472; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPTreeNode"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_representedObject"),new objj_ivar("_parentNode"),new objj_ivar("_childNodes")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("representedObject"),function(_3,_4){ +with(_3){ +return _representedObject; +} +}),new objj_method(sel_getUid("parentNode"),function(_5,_6){ +with(_5){ +return _parentNode; +} +}),new objj_method(sel_getUid("initWithRepresentedObject:"),function(_7,_8,_9){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPTreeNode").super_class},"init"); +if(_7){ +_representedObject=_9; +_childNodes=[]; +} +return _7; +} +}),new objj_method(sel_getUid("isLeaf"),function(_a,_b){ +with(_a){ +return objj_msgSend(_childNodes,"count")<=0; +} +}),new objj_method(sel_getUid("childNodes"),function(_c,_d){ +with(_c){ +return objj_msgSend(_childNodes,"copy"); +} +}),new objj_method(sel_getUid("mutableChildNodes"),function(_e,_f){ +with(_e){ +return objj_msgSend(_e,"mutableArrayValueForKey:","childNodes"); +} +}),new objj_method(sel_getUid("insertObject:inChildNodesAtIndex:"),function(_10,_11,_12,_13){ +with(_10){ +objj_msgSend(objj_msgSend(_12._parentNode,"mutableChildNodes"),"removeObjectIdenticalTo:",_12); +_12._parentNode=_10; +objj_msgSend(_childNodes,"insertObject:atIndex:",_12,_13); +} +}),new objj_method(sel_getUid("removeObjectFromChildNodesAtIndex:"),function(_14,_15,_16){ +with(_14){ +objj_msgSend(_childNodes,"objectAtIndex:",_16)._parentNode=nil; +objj_msgSend(_childNodes,"removeObjectAtIndex:",_16); +} +}),new objj_method(sel_getUid("replaceObjectFromChildNodesAtIndex:withObject:"),function(_17,_18,_19,_1a){ +with(_17){ +var _1b=objj_msgSend(_childNodes,"objectAtIndex:",_19); +_1b._parentNode=nil; +_1a._parentNode=_17; +objj_msgSend(_childNodes,"replaceObjectAtIndex:withObject:",_19,_1a); +} +}),new objj_method(sel_getUid("objectInChildNodesAtIndex:"),function(_1c,_1d,_1e){ +with(_1c){ +return _childNodes[_1e]; +} +}),new objj_method(sel_getUid("sortWithSortDescriptors:recursively:"),function(_1f,_20,_21,_22){ +with(_1f){ +objj_msgSend(_childNodes,"sortUsingDescriptors:",_21); +if(!_22){ +return; +} +var _23=objj_msgSend(_childNodes,"count"); +while(_23--){ +objj_msgSend(_childNodes[_23],"sortWithSortDescriptors:recursively:",_21,YES); +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("treeNodeWithRepresentedObject:"),function(_24,_25,_26){ +with(_24){ +return objj_msgSend(objj_msgSend(_24,"alloc"),"initWithRepresentedObject:",_26); +} +})]); +var _27="CPTreeNodeRepresentedObjectKey",_28="CPTreeNodeParentNodeKey",_29="CPTreeNodeChildNodesKey"; +var _1=objj_getClass("CPTreeNode"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTreeNode\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +_2a=objj_msgSendSuper({receiver:_2a,super_class:objj_getClass("CPTreeNode").super_class},"init"); +if(_2a){ +_representedObject=objj_msgSend(_2c,"decodeObjectForKey:",_27); +_parentNode=objj_msgSend(_2c,"decodeObjectForKey:",_28); +_childNodes=objj_msgSend(_2c,"decodeObjectForKey:",_29); +} +return _2a; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSend(_2f,"encodeObject:forKey:",_representedObject,_27); +objj_msgSend(_2f,"encodeConditionalObject:forKey:",_parentNode,_28); +objj_msgSend(_2f,"encodeObject:forKey:",_childNodes,_29); +} +})]); +p;8;CPView.jt;58088;@STATIC;1.0;I;20;Foundation/CPArray.jI;26;Foundation/CPObjJRuntime.ji;19;CGAffineTransform.ji;12;CGGeometry.ji;9;CPColor.ji;12;CPGeometry.ji;19;CPGraphicsContext.ji;13;CPResponder.ji;9;CPTheme.ji;18;_CPDisplayServer.jt;57863; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPObjJRuntime.j",NO); +objj_executeFile("CGAffineTransform.j",YES); +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPColor.j",YES); +objj_executeFile("CPGeometry.j",YES); +objj_executeFile("CPGraphicsContext.j",YES); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPTheme.j",YES); +objj_executeFile("_CPDisplayServer.j",YES); +CPViewNotSizable=0; +CPViewMinXMargin=1; +CPViewWidthSizable=2; +CPViewMaxXMargin=4; +CPViewMinYMargin=8; +CPViewHeightSizable=16; +CPViewMaxYMargin=32; +CPViewBoundsDidChangeNotification="CPViewBoundsDidChangeNotification"; +CPViewFrameDidChangeNotification="CPViewFrameDidChangeNotification"; +var _1=nil,_2=nil; +var _3=nil,_4=0,_5=1,_6=2,_7=3; +var _8={},_9=1<<0,_a=1<<1; +var _b=objj_allocateClassPair(CPResponder,"CPView"),_c=_b.isa; +class_addIvars(_b,[new objj_ivar("_window"),new objj_ivar("_superview"),new objj_ivar("_subviews"),new objj_ivar("_graphicsContext"),new objj_ivar("_tag"),new objj_ivar("_frame"),new objj_ivar("_bounds"),new objj_ivar("_boundsTransform"),new objj_ivar("_inverseBoundsTransform"),new objj_ivar("_registeredDraggedTypes"),new objj_ivar("_registeredDraggedTypesArray"),new objj_ivar("_isHidden"),new objj_ivar("_hitTests"),new objj_ivar("_postsFrameChangedNotifications"),new objj_ivar("_postsBoundsChangedNotifications"),new objj_ivar("_inhibitFrameAndBoundsChangedNotifications"),new objj_ivar("_DOMElement"),new objj_ivar("_DOMContentsElement"),new objj_ivar("_DOMImageParts"),new objj_ivar("_DOMImageSizes"),new objj_ivar("_backgroundType"),new objj_ivar("_dirtyRect"),new objj_ivar("_opacity"),new objj_ivar("_backgroundColor"),new objj_ivar("_autoresizesSubviews"),new objj_ivar("_autoresizingMask"),new objj_ivar("_layer"),new objj_ivar("_wantsLayer"),new objj_ivar("_isInFullScreenMode"),new objj_ivar("_fullScreenModeState"),new objj_ivar("_needsLayout"),new objj_ivar("_ephemeralSubviews"),new objj_ivar("_theme"),new objj_ivar("_themeAttributes"),new objj_ivar("_themeState"),new objj_ivar("_ephemeralSubviewsForNames"),new objj_ivar("_ephereralSubviews"),new objj_ivar("_nextKeyView"),new objj_ivar("_previousKeyView"),new objj_ivar("_viewClassFlags")]); +objj_registerClassPair(_b); +class_addMethods(_b,[new objj_method(sel_getUid("setupViewFlags"),function(_d,_e){ +with(_d){ +var _f=objj_msgSend(_d,"class"),_10=objj_msgSend(_f,"UID"); +if(_8[_10]===undefined){ +var _11=0; +if(objj_msgSend(_f,"instanceMethodForSelector:",sel_getUid("drawRect:"))!==objj_msgSend(CPView,"instanceMethodForSelector:",sel_getUid("drawRect:"))){ +_11|=_9; +} +if(objj_msgSend(_f,"instanceMethodForSelector:",sel_getUid("layoutSubviews"))!==objj_msgSend(CPView,"instanceMethodForSelector:",sel_getUid("layoutSubviews"))){ +_11|=_a; +} +_8[_10]=_11; +} +_viewClassFlags=_8[_10]; +} +}),new objj_method(sel_getUid("init"),function(_12,_13){ +with(_12){ +return objj_msgSend(_12,"initWithFrame:",CGRectMakeZero()); +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_14,_15,_16){ +with(_14){ +_14=objj_msgSendSuper({receiver:_14,super_class:objj_getClass("CPView").super_class},"init"); +if(_14){ +var _17=(_16.size.width),_18=(_16.size.height); +_subviews=[]; +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +_tag=-1; +_frame={origin:{x:_16.origin.x,y:_16.origin.y},size:{width:_16.size.width,height:_16.size.height}}; +_bounds={origin:{x:0,y:0},size:{width:_17,height:_18}}; +_autoresizingMask=CPViewNotSizable; +_autoresizesSubviews=YES; +_opacity=1; +_isHidden=NO; +_hitTests=YES; +_DOMElement=_3.cloneNode(false); +if(NULL){ +var _19={x:CGPointMake((_16.origin.x),(_16.origin.y)).x*NULL.a+CGPointMake((_16.origin.x),(_16.origin.y)).y*NULL.c+NULL.tx,y:CGPointMake((_16.origin.x),(_16.origin.y)).x*NULL.b+CGPointMake((_16.origin.x),(_16.origin.y)).y*NULL.d+NULL.ty}; +}else{ +var _19={x:(_16.origin.x),y:(_16.origin.y)}; +} +_DOMElement.style.left=ROUND(_19.x)+"px"; +_DOMElement.style.top=ROUND(_19.y)+"px"; +_DOMElement.style.width=MAX(0,ROUND(_17))+"px"; +_DOMElement.style.height=MAX(0,ROUND(_18))+"px"; +_DOMImageParts=[]; +_DOMImageSizes=[]; +_theme=objj_msgSend(CPTheme,"defaultTheme"); +_themeState=CPThemeStateNormal; +objj_msgSend(_14,"setupViewFlags"); +objj_msgSend(_14,"_loadThemeAttributes"); +} +return _14; +} +}),new objj_method(sel_getUid("superview"),function(_1a,_1b){ +with(_1a){ +return _superview; +} +}),new objj_method(sel_getUid("subviews"),function(_1c,_1d){ +with(_1c){ +return objj_msgSend(_subviews,"copy"); +} +}),new objj_method(sel_getUid("window"),function(_1e,_1f){ +with(_1e){ +return _window; +} +}),new objj_method(sel_getUid("addSubview:"),function(_20,_21,_22){ +with(_20){ +objj_msgSend(_20,"_insertSubview:atIndex:",_22,CPNotFound); +} +}),new objj_method(sel_getUid("addSubview:positioned:relativeTo:"),function(_23,_24,_25,_26,_27){ +with(_23){ +var _28=_27?objj_msgSend(_subviews,"indexOfObjectIdenticalTo:",_27):CPNotFound; +if(_28===CPNotFound){ +_28=(_26===CPWindowAbove)?objj_msgSend(_subviews,"count"):0; +}else{ +if(_26===CPWindowAbove){ +++_28; +} +} +objj_msgSend(_23,"_insertSubview:atIndex:",_25,_28); +} +}),new objj_method(sel_getUid("_insertSubview:atIndex:"),function(_29,_2a,_2b,_2c){ +with(_29){ +var _2d=_subviews.length; +objj_msgSend(objj_msgSend(_29,"window"),"_dirtyKeyViewLoop"); +if(_2b._superview==_29){ +var _2e=objj_msgSend(_subviews,"indexOfObjectIdenticalTo:",_2b); +if(_2e===_2c||_2e===_2d-1&&_2c===_2d){ +return; +} +objj_msgSend(_subviews,"removeObjectAtIndex:",_2e); +_DOMElement.removeChild(_2b._DOMElement); +if(_2c>_2e){ +--_2c; +} +--_2d; +}else{ +objj_msgSend(_2b,"removeFromSuperview"); +objj_msgSend(_2b,"_setWindow:",_window); +objj_msgSend(_2b,"viewWillMoveToSuperview:",_29); +_2b._superview=_29; +} +if(_2c===CPNotFound||_2c>=_2d){ +_subviews.push(_2b); +_DOMElement.appendChild(_2b._DOMElement); +}else{ +_subviews.splice(_2c,0,_2b); +_DOMElement.insertBefore(_2b._DOMElement,_subviews[_2c+1]._DOMElement); +} +objj_msgSend(_2b,"setNextResponder:",_29); +objj_msgSend(_2b,"viewDidMoveToSuperview"); +objj_msgSend(_29,"didAddSubview:",_2b); +} +}),new objj_method(sel_getUid("didAddSubview:"),function(_2f,_30,_31){ +with(_2f){ +} +}),new objj_method(sel_getUid("removeFromSuperview"),function(_32,_33){ +with(_32){ +if(!_superview){ +return; +} +objj_msgSend(objj_msgSend(_32,"window"),"_dirtyKeyViewLoop"); +objj_msgSend(_superview,"willRemoveSubview:",_32); +objj_msgSend(_superview._subviews,"removeObject:",_32); +_superview._DOMElement.removeChild(_DOMElement); +_superview=nil; +objj_msgSend(_32,"_setWindow:",nil); +} +}),new objj_method(sel_getUid("replaceSubview:with:"),function(_34,_35,_36,_37){ +with(_34){ +if(_36._superview!=_34){ +return; +} +var _38=objj_msgSend(_subviews,"indexOfObjectIdenticalTo:",_36); +objj_msgSend(_36,"removeFromSuperview"); +objj_msgSend(_34,"_insertSubview:atIndex:",_37,_38); +} +}),new objj_method(sel_getUid("setSubviews:"),function(_39,_3a,_3b){ +with(_39){ +if(!_3b){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"newSubviews cannot be nil in -[CPView setSubviews:]"); +} +if(objj_msgSend(_subviews,"isEqual:",_3b)){ +return; +} +if(objj_msgSend(_subviews,"count")===0){ +var _3c=0,_3d=objj_msgSend(_3b,"count"); +for(;_3c<_3d;++_3c){ +objj_msgSend(_39,"addSubview:",_3b[_3c]); +} +return; +} +if(objj_msgSend(_3b,"count")===0){ +var _3d=objj_msgSend(_subviews,"count"); +while(_3d--){ +objj_msgSend(_subviews[_3d],"removeFromSuperview"); +} +return; +} +var _3e=objj_msgSend(CPMutableSet,"setWithArray:",_subviews); +objj_msgSend(_3e,"removeObjectsInArray:",_3b); +objj_msgSend(_3e,"makeObjectsPerformSelector:",sel_getUid("removeFromSuperview")); +var _3f=objj_msgSend(CPMutableSet,"setWithArray:",_3b); +objj_msgSend(_3f,"removeObjectsInArray:",_subviews); +var _40=nil,_41=objj_msgSend(_3f,"objectEnumerator"); +while(_40=objj_msgSend(_41,"nextObject")){ +objj_msgSend(_39,"addSubview:",_40); +} +if(objj_msgSend(_subviews,"isEqual:",_3b)){ +return; +} +_subviews=objj_msgSend(_3b,"copy"); +var _3c=0,_3d=objj_msgSend(_subviews,"count"); +for(;_3c<_3d;++_3c){ +var _42=_subviews[_3c]; +_DOMElement.removeChild(_42._DOMElement); +_DOMElement.appendChild(_42._DOMElement); +} +} +}),new objj_method(sel_getUid("_setWindow:"),function(_43,_44,_45){ +with(_43){ +if(_window===_45){ +return; +} +objj_msgSend(objj_msgSend(_43,"window"),"_dirtyKeyViewLoop"); +if(objj_msgSend(_window,"firstResponder")===_43){ +objj_msgSend(_window,"makeFirstResponder:",nil); +} +objj_msgSend(_43,"viewWillMoveToWindow:",_45); +if(_registeredDraggedTypes){ +objj_msgSend(_window,"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +objj_msgSend(_45,"_noteRegisteredDraggedTypes:",_registeredDraggedTypes); +} +_window=_45; +var _46=objj_msgSend(_subviews,"count"); +while(_46--){ +objj_msgSend(_subviews[_46],"_setWindow:",_45); +} +objj_msgSend(_43,"viewDidMoveToWindow"); +objj_msgSend(objj_msgSend(_43,"window"),"_dirtyKeyViewLoop"); +} +}),new objj_method(sel_getUid("isDescendantOf:"),function(_47,_48,_49){ +with(_47){ +var _4a=_47; +do{ +if(_4a==_49){ +return YES; +} +}while(_4a=objj_msgSend(_4a,"superview")); +return NO; +} +}),new objj_method(sel_getUid("viewDidMoveToSuperview"),function(_4b,_4c){ +with(_4b){ +objj_msgSend(_4b,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_4d,_4e){ +with(_4d){ +} +}),new objj_method(sel_getUid("viewWillMoveToSuperview:"),function(_4f,_50,_51){ +with(_4f){ +} +}),new objj_method(sel_getUid("viewWillMoveToWindow:"),function(_52,_53,_54){ +with(_52){ +} +}),new objj_method(sel_getUid("willRemoveSubview:"),function(_55,_56,_57){ +with(_55){ +} +}),new objj_method(sel_getUid("enclosingMenuItem"),function(_58,_59){ +with(_58){ +var _5a=_58; +while(_5a&&!objj_msgSend(_5a,"isKindOfClass:",objj_msgSend(_CPMenuItemView,"class"))){ +_5a=objj_msgSend(_5a,"superview"); +} +if(_5a){ +return _5a._menuItem; +} +return nil; +} +}),new objj_method(sel_getUid("setTag:"),function(_5b,_5c,_5d){ +with(_5b){ +_tag=_5d; +} +}),new objj_method(sel_getUid("tag"),function(_5e,_5f){ +with(_5e){ +return _tag; +} +}),new objj_method(sel_getUid("viewWithTag:"),function(_60,_61,_62){ +with(_60){ +if(objj_msgSend(_60,"tag")==_62){ +return _60; +} +var _63=0,_64=_subviews.length; +for(;_63<_64;++_63){ +var _65=objj_msgSend(_subviews[_63],"viewWithTag:",_62); +if(_65){ +return _65; +} +} +return nil; +} +}),new objj_method(sel_getUid("isFlipped"),function(_66,_67){ +with(_66){ +return YES; +} +}),new objj_method(sel_getUid("setFrame:"),function(_68,_69,_6a){ +with(_68){ +if(((_frame.origin.x==_6a.origin.x&&_frame.origin.y==_6a.origin.y)&&(_frame.size.width==_6a.size.width&&_frame.size.height==_6a.size.height))){ +return; +} +_inhibitFrameAndBoundsChangedNotifications=YES; +objj_msgSend(_68,"setFrameOrigin:",_6a.origin); +objj_msgSend(_68,"setFrameSize:",_6a.size); +_inhibitFrameAndBoundsChangedNotifications=NO; +if(_postsFrameChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewFrameDidChangeNotification,_68); +} +} +}),new objj_method(sel_getUid("frame"),function(_6b,_6c){ +with(_6b){ +return {origin:{x:_frame.origin.x,y:_frame.origin.y},size:{width:_frame.size.width,height:_frame.size.height}}; +} +}),new objj_method(sel_getUid("frameOrigin"),function(_6d,_6e){ +with(_6d){ +return {x:_frame.origin.x,y:_frame.origin.y}; +} +}),new objj_method(sel_getUid("frameSize"),function(_6f,_70){ +with(_6f){ +return {width:_frame.size.width,height:_frame.size.height}; +} +}),new objj_method(sel_getUid("setCenter:"),function(_71,_72,_73){ +with(_71){ +objj_msgSend(_71,"setFrameOrigin:",CGPointMake(_73.x-_frame.size.width/2,_73.y-_frame.size.height/2)); +} +}),new objj_method(sel_getUid("center"),function(_74,_75){ +with(_74){ +return CGPointMake(_frame.size.width/2+_frame.origin.x,_frame.size.height/2+_frame.origin.y); +} +}),new objj_method(sel_getUid("setFrameOrigin:"),function(_76,_77,_78){ +with(_76){ +var _79=_frame.origin; +if(!_78||(_79.x==_78.x&&_79.y==_78.y)){ +return; +} +_79.x=_78.x; +_79.y=_78.y; +if(_postsFrameChangedNotifications&&!_inhibitFrameAndBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewFrameDidChangeNotification,_76); +} +var _7a=_superview?_superview._boundsTransform:NULL; +if(_7a){ +var _7b={x:CGPointMake(_79.x,_79.y).x*_7a.a+CGPointMake(_79.x,_79.y).y*_7a.c+_7a.tx,y:CGPointMake(_79.x,_79.y).x*_7a.b+CGPointMake(_79.x,_79.y).y*_7a.d+_7a.ty}; +}else{ +var _7b={x:_79.x,y:_79.y}; +} +_DOMElement.style.left=ROUND(_7b.x)+"px"; +_DOMElement.style.top=ROUND(_7b.y)+"px"; +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_7c,_7d,_7e){ +with(_7c){ +var _7f=_frame.size; +if(!_7e||(_7f.width==_7e.width&&_7f.height==_7e.height)){ +return; +} +var _80={width:_7f.width,height:_7f.height}; +_7f.width=_7e.width; +_7f.height=_7e.height; +if(YES){ +_bounds.size.width=_7e.width; +_bounds.size.height=_7e.height; +} +if(_layer){ +objj_msgSend(_layer,"_owningViewBoundsChanged"); +} +if(_autoresizesSubviews){ +objj_msgSend(_7c,"resizeSubviewsWithOldSize:",_80); +} +objj_msgSend(_7c,"setNeedsLayout"); +objj_msgSend(_7c,"setNeedsDisplay:",YES); +_DOMElement.style.width=MAX(0,ROUND(_7f.width))+"px"; +_DOMElement.style.height=MAX(0,ROUND(_7f.height))+"px"; +if(_DOMContentsElement){ +_DOMContentsElement.width=MAX(0,ROUND(_7f.width)); +_DOMContentsElement.height=MAX(0,ROUND(_7f.height)); +_DOMContentsElement.style.width=MAX(0,ROUND(_7f.width))+"px"; +_DOMContentsElement.style.height=MAX(0,ROUND(_7f.height))+"px"; +} +if(_backgroundType!==_4){ +var _81=objj_msgSend(objj_msgSend(_backgroundColor,"patternImage"),"imageSlices"); +if(_backgroundType===_5){ +_DOMImageParts[1].style.width=MAX(0,ROUND(_7f.width))+"px"; +_DOMImageParts[1].style.height=MAX(0,ROUND(_7f.height-_DOMImageSizes[0].height-_DOMImageSizes[2].height))+"px"; +}else{ +if(_backgroundType===_6){ +_DOMImageParts[1].style.width=MAX(0,ROUND(_7f.width-_DOMImageSizes[0].width-_DOMImageSizes[2].width))+"px"; +_DOMImageParts[1].style.height=MAX(0,ROUND(_7f.height))+"px"; +}else{ +if(_backgroundType===_7){ +var _82=_7f.width-_DOMImageSizes[0].width-_DOMImageSizes[2].width,_83=_7f.height-_DOMImageSizes[0].height-_DOMImageSizes[6].height; +_DOMImageParts[1].style.width=MAX(0,ROUND(_82))+"px"; +_DOMImageParts[1].style.height=MAX(0,ROUND(_DOMImageSizes[0].height))+"px"; +_DOMImageParts[3].style.width=MAX(0,ROUND(_DOMImageSizes[3].width))+"px"; +_DOMImageParts[3].style.height=MAX(0,ROUND(_83))+"px"; +_DOMImageParts[4].style.width=MAX(0,ROUND(_82))+"px"; +_DOMImageParts[4].style.height=MAX(0,ROUND(_83))+"px"; +_DOMImageParts[5].style.width=MAX(0,ROUND(_DOMImageSizes[5].width))+"px"; +_DOMImageParts[5].style.height=MAX(0,ROUND(_83))+"px"; +_DOMImageParts[7].style.width=MAX(0,ROUND(_82))+"px"; +_DOMImageParts[7].style.height=MAX(0,ROUND(_DOMImageSizes[7].height))+"px"; +} +} +} +} +if(_postsFrameChangedNotifications&&!_inhibitFrameAndBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewFrameDidChangeNotification,_7c); +} +} +}),new objj_method(sel_getUid("setBounds:"),function(_84,_85,_86){ +with(_84){ +if(((_bounds.origin.x==_86.origin.x&&_bounds.origin.y==_86.origin.y)&&(_bounds.size.width==_86.size.width&&_bounds.size.height==_86.size.height))){ +return; +} +_inhibitFrameAndBoundsChangedNotifications=YES; +objj_msgSend(_84,"setBoundsOrigin:",_86.origin); +objj_msgSend(_84,"setBoundsSize:",_86.size); +_inhibitFrameAndBoundsChangedNotifications=NO; +if(_postsBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewBoundsDidChangeNotification,_84); +} +} +}),new objj_method(sel_getUid("bounds"),function(_87,_88){ +with(_87){ +return {origin:{x:_bounds.origin.x,y:_bounds.origin.y},size:{width:_bounds.size.width,height:_bounds.size.height}}; +} +}),new objj_method(sel_getUid("boundsOrigin"),function(_89,_8a){ +with(_89){ +return {x:_bounds.origin.x,y:_bounds.origin.y}; +} +}),new objj_method(sel_getUid("boundsSize"),function(_8b,_8c){ +with(_8b){ +return {width:_bounds.size.width,height:_bounds.size.height}; +} +}),new objj_method(sel_getUid("setBoundsOrigin:"),function(_8d,_8e,_8f){ +with(_8d){ +var _90=_bounds.origin; +if((_90.x==_8f.x&&_90.y==_8f.y)){ +return; +} +_90.x=_8f.x; +_90.y=_8f.y; +if(_90.x!=0||_90.y!=0){ +_boundsTransform={a:1,b:0,c:0,d:1,tx:-_90.x,ty:-_90.y}; +_inverseBoundsTransform=CGAffineTransformInvert(_boundsTransform); +}else{ +_boundsTransform=nil; +_inverseBoundsTransform=nil; +} +var _91=_subviews.length; +while(_91--){ +var _92=_subviews[_91],_90=_92._frame.origin; +if(_boundsTransform){ +var _93={x:CGPointMake(_90.x,_90.y).x*_boundsTransform.a+CGPointMake(_90.x,_90.y).y*_boundsTransform.c+_boundsTransform.tx,y:CGPointMake(_90.x,_90.y).x*_boundsTransform.b+CGPointMake(_90.x,_90.y).y*_boundsTransform.d+_boundsTransform.ty}; +}else{ +var _93={x:_90.x,y:_90.y}; +} +_92._DOMElement.style.left=ROUND(_93.x)+"px"; +_92._DOMElement.style.top=ROUND(_93.y)+"px"; +} +if(_postsBoundsChangedNotifications&&!_inhibitFrameAndBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewBoundsDidChangeNotification,_8d); +} +} +}),new objj_method(sel_getUid("setBoundsSize:"),function(_94,_95,_96){ +with(_94){ +var _97=_bounds.size; +if((_97.width==_96.width&&_97.height==_96.height)){ +return; +} +var _98=_frame.size; +if(!(_97.width==_98.width&&_97.height==_98.height)){ +var _99=_bounds.origin; +_99.x/=_97.width/_98.width; +_99.y/=_97.height/_98.height; +} +_97.width=_96.width; +_97.height=_96.height; +if(!(_97.width==_98.width&&_97.height==_98.height)){ +var _99=_bounds.origin; +_99.x*=_97.width/_98.width; +_99.y*=_97.height/_98.height; +} +if(_postsBoundsChangedNotifications&&!_inhibitFrameAndBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewBoundsDidChangeNotification,_94); +} +} +}),new objj_method(sel_getUid("resizeWithOldSuperviewSize:"),function(_9a,_9b,_9c){ +with(_9a){ +var _9d=objj_msgSend(_9a,"autoresizingMask"); +if(_9d==CPViewNotSizable){ +return; +} +var _9e=_superview._frame,_9f={origin:{x:_frame.origin.x,y:_frame.origin.y},size:{width:_frame.size.width,height:_frame.size.height}},dX=((_9e.size.width)-_9c.width)/(((_9d&CPViewMinXMargin)?1:0)+(_9d&CPViewWidthSizable?1:0)+(_9d&CPViewMaxXMargin?1:0)),dY=((_9e.size.height)-_9c.height)/((_9d&CPViewMinYMargin?1:0)+(_9d&CPViewHeightSizable?1:0)+(_9d&CPViewMaxYMargin?1:0)); +if(_9d&CPViewMinXMargin){ +_9f.origin.x+=dX; +} +if(_9d&CPViewWidthSizable){ +_9f.size.width+=dX; +} +if(_9d&CPViewMinYMargin){ +_9f.origin.y+=dY; +} +if(_9d&CPViewHeightSizable){ +_9f.size.height+=dY; +} +objj_msgSend(_9a,"setFrame:",_9f); +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_a0,_a1,_a2){ +with(_a0){ +var _a3=_subviews.length; +while(_a3--){ +objj_msgSend(_subviews[_a3],"resizeWithOldSuperviewSize:",_a2); +} +} +}),new objj_method(sel_getUid("setAutoresizesSubviews:"),function(_a4,_a5,_a6){ +with(_a4){ +_autoresizesSubviews=!!_a6; +} +}),new objj_method(sel_getUid("autoresizesSubviews"),function(_a7,_a8){ +with(_a7){ +return _autoresizesSubviews; +} +}),new objj_method(sel_getUid("setAutoresizingMask:"),function(_a9,_aa,_ab){ +with(_a9){ +_autoresizingMask=_ab; +} +}),new objj_method(sel_getUid("autoresizingMask"),function(_ac,_ad){ +with(_ac){ +return _autoresizingMask; +} +}),new objj_method(sel_getUid("enterFullScreenMode"),function(_ae,_af){ +with(_ae){ +return objj_msgSend(_ae,"enterFullScreenMode:withOptions:",nil,nil); +} +}),new objj_method(sel_getUid("enterFullScreenMode:withOptions:"),function(_b0,_b1,_b2,_b3){ +with(_b0){ +_fullScreenModeState=_b4(_b0); +var _b5=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"contentBounds"),CPBorderlessWindowMask); +objj_msgSend(_b5,"setLevel:",CPScreenSaverWindowLevel); +objj_msgSend(_b5,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +var _b6=objj_msgSend(_b5,"contentView"); +objj_msgSend(_b6,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_b6,"addSubview:",_b0); +objj_msgSend(_b0,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_b0,"setFrame:",CGRectMakeCopy(objj_msgSend(_b6,"bounds"))); +objj_msgSend(_b5,"makeKeyAndOrderFront:",_b0); +objj_msgSend(_b5,"makeFirstResponder:",_b0); +_isInFullScreenMode=YES; +return YES; +} +}),new objj_method(sel_getUid("exitFullScreenMode"),function(_b7,_b8){ +with(_b7){ +objj_msgSend(_b7,"exitFullScreenModeWithOptions:",nil); +} +}),new objj_method(sel_getUid("exitFullScreenModeWithOptions:"),function(_b9,_ba,_bb){ +with(_b9){ +if(!_isInFullScreenMode){ +return; +} +_isInFullScreenMode=NO; +objj_msgSend(_b9,"setFrame:",_fullScreenModeState.frame); +objj_msgSend(_b9,"setAutoresizingMask:",_fullScreenModeState.autoresizingMask); +objj_msgSend(_fullScreenModeState.superview,"_insertSubview:atIndex:",_b9,_fullScreenModeState.index); +objj_msgSend(objj_msgSend(_b9,"window"),"orderOut:",_b9); +} +}),new objj_method(sel_getUid("isInFullScreenMode"),function(_bc,_bd){ +with(_bc){ +return _isInFullScreenMode; +} +}),new objj_method(sel_getUid("setHidden:"),function(_be,_bf,_c0){ +with(_be){ +_c0=!!_c0; +if(_isHidden===_c0){ +return; +} +_isHidden=_c0; +_DOMElement.style.display=_isHidden?"none":"block"; +if(_c0){ +var _c1=objj_msgSend(_window,"firstResponder"); +if(objj_msgSend(_c1,"isKindOfClass:",objj_msgSend(CPView,"class"))){ +do{ +if(_be==_c1){ +objj_msgSend(_window,"makeFirstResponder:",objj_msgSend(_be,"nextValidKeyView")); +break; +} +}while(_c1=objj_msgSend(_c1,"superview")); +} +} +} +}),new objj_method(sel_getUid("isHidden"),function(_c2,_c3){ +with(_c2){ +return _isHidden; +} +}),new objj_method(sel_getUid("setAlphaValue:"),function(_c4,_c5,_c6){ +with(_c4){ +if(_opacity==_c6){ +return; +} +_opacity=_c6; +if(CPFeatureIsCompatible(CPOpacityRequiresFilterFeature)){ +if(_c6==1){ +try{ +_DOMElement.style.removeAttribute("filter"); +} +catch(anException){ +} +}else{ +_DOMElement.style.filter="alpha(opacity="+_c6*100+")"; +} +}else{ +_DOMElement.style.opacity=_c6; +} +} +}),new objj_method(sel_getUid("alphaValue"),function(_c7,_c8){ +with(_c7){ +return _opacity; +} +}),new objj_method(sel_getUid("isHiddenOrHasHiddenAncestor"),function(_c9,_ca){ +with(_c9){ +var _cb=_c9; +while(_cb&&!objj_msgSend(_cb,"isHidden")){ +_cb=objj_msgSend(_cb,"superview"); +} +return _cb!==nil; +} +}),new objj_method(sel_getUid("acceptsFirstMouse:"),function(_cc,_cd,_ce){ +with(_cc){ +return YES; +} +}),new objj_method(sel_getUid("hitTests"),function(_cf,_d0){ +with(_cf){ +return _hitTests; +} +}),new objj_method(sel_getUid("setHitTests:"),function(_d1,_d2,_d3){ +with(_d1){ +_hitTests=!!_d3; +} +}),new objj_method(sel_getUid("hitTest:"),function(_d4,_d5,_d6){ +with(_d4){ +if(_isHidden||!_hitTests||!CPRectContainsPoint(_frame,_d6)){ +return nil; +} +var _d7=nil,i=_subviews.length,_d8={x:_d6.x-(_frame.origin.x),y:_d6.y-(_frame.origin.y)}; +if(_inverseBoundsTransform){ +_d8={x:_d8.x*_inverseBoundsTransform.a+_d8.y*_inverseBoundsTransform.c+_inverseBoundsTransform.tx,y:_d8.x*_inverseBoundsTransform.b+_d8.y*_inverseBoundsTransform.d+_inverseBoundsTransform.ty}; +} +while(i--){ +if(_d7=objj_msgSend(_subviews[i],"hitTest:",_d8)){ +return _d7; +} +} +return _d4; +} +}),new objj_method(sel_getUid("needsPanelToBecomeKey"),function(_d9,_da){ +with(_d9){ +return NO; +} +}),new objj_method(sel_getUid("mouseDownCanMoveWindow"),function(_db,_dc){ +with(_db){ +return !objj_msgSend(_db,"isOpaque"); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_dd,_de,_df){ +with(_dd){ +if(objj_msgSend(_dd,"mouseDownCanMoveWindow")){ +objj_msgSendSuper({receiver:_dd,super_class:objj_getClass("CPView").super_class},"mouseDown:",_df); +} +} +}),new objj_method(sel_getUid("setBackgroundColor:"),function(_e0,_e1,_e2){ +with(_e0){ +if(_backgroundColor==_e2){ +return; +} +_backgroundColor=_e2; +var _e3=objj_msgSend(_backgroundColor,"patternImage"),_e4=0; +if(objj_msgSend(_e3,"isThreePartImage")){ +_backgroundType=objj_msgSend(_e3,"isVertical")?_5:_6; +_e4=3-_DOMImageParts.length; +}else{ +if(objj_msgSend(_e3,"isNinePartImage")){ +_backgroundType=_7; +_e4=9-_DOMImageParts.length; +}else{ +_backgroundType=_4; +_e4=0-_DOMImageParts.length; +} +} +if(_e4>0){ +while(_e4--){ +var _e5=_3.cloneNode(false); +_e5.style.zIndex=-1000; +_DOMImageParts.push(_e5); +_DOMElement.appendChild(_e5); +} +}else{ +_e4=-_e4; +while(_e4--){ +_DOMElement.removeChild(_DOMImageParts.pop()); +} +} +if(_backgroundType==_4){ +_DOMElement.style.background=_backgroundColor?objj_msgSend(_backgroundColor,"cssString"):""; +}else{ +var _e6=objj_msgSend(_e3,"imageSlices"),_e7=MIN(_DOMImageParts.length,_e6.length),_e8=_frame.size; +while(_e7--){ +var _e9=_e6[_e7],_ea=_DOMImageSizes[_e7]=_e9?objj_msgSend(_e9,"size"):{width:0,height:0}; +_DOMImageParts[_e7].style.width=MAX(0,ROUND(_ea.width))+"px"; +_DOMImageParts[_e7].style.height=MAX(0,ROUND(_ea.height))+"px"; +_DOMImageParts[_e7].style.background=_e9?"url(\""+objj_msgSend(_e9,"filename")+"\")":""; +} +if(_backgroundType==_7){ +var _eb=_e8.width-_DOMImageSizes[0].width-_DOMImageSizes[2].width,_ec=_e8.height-_DOMImageSizes[0].height-_DOMImageSizes[6].height; +_DOMImageParts[1].style.width=MAX(0,ROUND(_eb))+"px"; +_DOMImageParts[1].style.height=MAX(0,ROUND(_DOMImageSizes[0].height))+"px"; +_DOMImageParts[3].style.width=MAX(0,ROUND(_DOMImageSizes[3].width))+"px"; +_DOMImageParts[3].style.height=MAX(0,ROUND(_ec))+"px"; +_DOMImageParts[4].style.width=MAX(0,ROUND(_eb))+"px"; +_DOMImageParts[4].style.height=MAX(0,ROUND(_ec))+"px"; +_DOMImageParts[5].style.width=MAX(0,ROUND(_DOMImageSizes[5].width))+"px"; +_DOMImageParts[5].style.height=MAX(0,ROUND(_ec))+"px"; +_DOMImageParts[7].style.width=MAX(0,ROUND(_eb))+"px"; +_DOMImageParts[7].style.height=MAX(0,ROUND(_DOMImageSizes[7].height))+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,0).x*NULL.a+CGPointMake(0,0).y*NULL.c+NULL.tx,y:CGPointMake(0,0).x*NULL.b+CGPointMake(0,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:0}; +} +_DOMImageParts[0].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[0].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(_DOMImageSizes[0].width,0).x*NULL.a+CGPointMake(_DOMImageSizes[0].width,0).y*NULL.c+NULL.tx,y:CGPointMake(_DOMImageSizes[0].width,0).x*NULL.b+CGPointMake(_DOMImageSizes[0].width,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:_DOMImageSizes[0].width,y:0}; +} +_DOMImageParts[1].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[1].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,0).x*NULL.a+CGPointMake(0,0).y*NULL.c+NULL.tx,y:CGPointMake(0,0).x*NULL.b+CGPointMake(0,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:0}; +} +_DOMImageParts[2].style.right=ROUND(_ed.x)+"px"; +_DOMImageParts[2].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,_DOMImageSizes[1].height).x*NULL.a+CGPointMake(0,_DOMImageSizes[1].height).y*NULL.c+NULL.tx,y:CGPointMake(0,_DOMImageSizes[1].height).x*NULL.b+CGPointMake(0,_DOMImageSizes[1].height).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:_DOMImageSizes[1].height}; +} +_DOMImageParts[3].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[3].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(_DOMImageSizes[0].width,_DOMImageSizes[0].height).x*NULL.a+CGPointMake(_DOMImageSizes[0].width,_DOMImageSizes[0].height).y*NULL.c+NULL.tx,y:CGPointMake(_DOMImageSizes[0].width,_DOMImageSizes[0].height).x*NULL.b+CGPointMake(_DOMImageSizes[0].width,_DOMImageSizes[0].height).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:_DOMImageSizes[0].width,y:_DOMImageSizes[0].height}; +} +_DOMImageParts[4].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[4].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,_DOMImageSizes[1].height).x*NULL.a+CGPointMake(0,_DOMImageSizes[1].height).y*NULL.c+NULL.tx,y:CGPointMake(0,_DOMImageSizes[1].height).x*NULL.b+CGPointMake(0,_DOMImageSizes[1].height).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:_DOMImageSizes[1].height}; +} +_DOMImageParts[5].style.right=ROUND(_ed.x)+"px"; +_DOMImageParts[5].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,0).x*NULL.a+CGPointMake(0,0).y*NULL.c+NULL.tx,y:CGPointMake(0,0).x*NULL.b+CGPointMake(0,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:0}; +} +_DOMImageParts[6].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[6].style.bottom=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(_DOMImageSizes[6].width,0).x*NULL.a+CGPointMake(_DOMImageSizes[6].width,0).y*NULL.c+NULL.tx,y:CGPointMake(_DOMImageSizes[6].width,0).x*NULL.b+CGPointMake(_DOMImageSizes[6].width,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:_DOMImageSizes[6].width,y:0}; +} +_DOMImageParts[7].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[7].style.bottom=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,0).x*NULL.a+CGPointMake(0,0).y*NULL.c+NULL.tx,y:CGPointMake(0,0).x*NULL.b+CGPointMake(0,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:0}; +} +_DOMImageParts[8].style.right=ROUND(_ed.x)+"px"; +_DOMImageParts[8].style.bottom=ROUND(_ed.y)+"px"; +}else{ +if(_backgroundType==_5){ +_DOMImageParts[1].style.width=MAX(0,ROUND(_e8.width))+"px"; +_DOMImageParts[1].style.height=MAX(0,ROUND(_e8.height-_DOMImageSizes[0].height-_DOMImageSizes[2].height))+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,0).x*NULL.a+CGPointMake(0,0).y*NULL.c+NULL.tx,y:CGPointMake(0,0).x*NULL.b+CGPointMake(0,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:0}; +} +_DOMImageParts[0].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[0].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,_DOMImageSizes[0].height).x*NULL.a+CGPointMake(0,_DOMImageSizes[0].height).y*NULL.c+NULL.tx,y:CGPointMake(0,_DOMImageSizes[0].height).x*NULL.b+CGPointMake(0,_DOMImageSizes[0].height).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:_DOMImageSizes[0].height}; +} +_DOMImageParts[1].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[1].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,0).x*NULL.a+CGPointMake(0,0).y*NULL.c+NULL.tx,y:CGPointMake(0,0).x*NULL.b+CGPointMake(0,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:0}; +} +_DOMImageParts[2].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[2].style.bottom=ROUND(_ed.y)+"px"; +}else{ +if(_backgroundType==_6){ +_DOMImageParts[1].style.width=MAX(0,ROUND(_e8.width-_DOMImageSizes[0].width-_DOMImageSizes[2].width))+"px"; +_DOMImageParts[1].style.height=MAX(0,ROUND(_e8.height))+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,0).x*NULL.a+CGPointMake(0,0).y*NULL.c+NULL.tx,y:CGPointMake(0,0).x*NULL.b+CGPointMake(0,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:0}; +} +_DOMImageParts[0].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[0].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(_DOMImageSizes[0].width,0).x*NULL.a+CGPointMake(_DOMImageSizes[0].width,0).y*NULL.c+NULL.tx,y:CGPointMake(_DOMImageSizes[0].width,0).x*NULL.b+CGPointMake(_DOMImageSizes[0].width,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:_DOMImageSizes[0].width,y:0}; +} +_DOMImageParts[1].style.left=ROUND(_ed.x)+"px"; +_DOMImageParts[1].style.top=ROUND(_ed.y)+"px"; +if(NULL){ +var _ed={x:CGPointMake(0,0).x*NULL.a+CGPointMake(0,0).y*NULL.c+NULL.tx,y:CGPointMake(0,0).x*NULL.b+CGPointMake(0,0).y*NULL.d+NULL.ty}; +}else{ +var _ed={x:0,y:0}; +} +_DOMImageParts[2].style.right=ROUND(_ed.x)+"px"; +_DOMImageParts[2].style.top=ROUND(_ed.y)+"px"; +} +} +} +} +} +}),new objj_method(sel_getUid("backgroundColor"),function(_ee,_ef){ +with(_ee){ +return _backgroundColor; +} +}),new objj_method(sel_getUid("convertPoint:fromView:"),function(_f0,_f1,_f2,_f3){ +with(_f0){ +return CGPointApplyAffineTransform(_f2,_f4(_f3,_f0)); +} +}),new objj_method(sel_getUid("convertPoint:toView:"),function(_f5,_f6,_f7,_f8){ +with(_f5){ +return CGPointApplyAffineTransform(_f7,_f4(_f5,_f8)); +} +}),new objj_method(sel_getUid("convertSize:fromView:"),function(_f9,_fa,_fb,_fc){ +with(_f9){ +return CGSizeApplyAffineTransform(_fb,_f4(_fc,_f9)); +} +}),new objj_method(sel_getUid("convertSize:toView:"),function(_fd,_fe,_ff,_100){ +with(_fd){ +return CGSizeApplyAffineTransform(_ff,_f4(_fd,_100)); +} +}),new objj_method(sel_getUid("convertRect:fromView:"),function(self,_101,_102,_103){ +with(self){ +return CGRectApplyAffineTransform(_102,_f4(_103,self)); +} +}),new objj_method(sel_getUid("convertRect:toView:"),function(self,_104,_105,_106){ +with(self){ +return CGRectApplyAffineTransform(_105,_f4(self,_106)); +} +}),new objj_method(sel_getUid("setPostsFrameChangedNotifications:"),function(self,_107,_108){ +with(self){ +_108=!!_108; +if(_postsFrameChangedNotifications===_108){ +return; +} +_postsFrameChangedNotifications=_108; +if(_postsFrameChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewFrameDidChangeNotification,self); +} +} +}),new objj_method(sel_getUid("postsFrameChangedNotifications"),function(self,_109){ +with(self){ +return _postsFrameChangedNotifications; +} +}),new objj_method(sel_getUid("setPostsBoundsChangedNotifications:"),function(self,_10a,_10b){ +with(self){ +_10b=!!_10b; +if(_postsBoundsChangedNotifications===_10b){ +return; +} +_postsBoundsChangedNotifications=_10b; +if(_postsBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewBoundsDidChangeNotification,self); +} +} +}),new objj_method(sel_getUid("postsBoundsChangedNotifications"),function(self,_10c){ +with(self){ +return _postsBoundsChangedNotifications; +} +}),new objj_method(sel_getUid("dragImage:at:offset:event:pasteboard:source:slideBack:"),function(self,_10d,_10e,_10f,_110,_111,_112,_113,_114){ +with(self){ +objj_msgSend(_window,"dragImage:at:offset:event:pasteboard:source:slideBack:",_10e,objj_msgSend(self,"convertPoint:toView:",_10f,nil),_110,_111,_112,_113,_114); +} +}),new objj_method(sel_getUid("dragView:at:offset:event:pasteboard:source:slideBack:"),function(self,_115,_116,_117,_118,_119,_11a,_11b,_11c){ +with(self){ +objj_msgSend(_window,"dragView:at:offset:event:pasteboard:source:slideBack:",_116,objj_msgSend(self,"convertPoint:toView:",_117,nil),_118,_119,_11a,_11b,_11c); +} +}),new objj_method(sel_getUid("registerForDraggedTypes:"),function(self,_11d,_11e){ +with(self){ +if(!_11e||!objj_msgSend(_11e,"count")){ +return; +} +var _11f=objj_msgSend(self,"window"); +objj_msgSend(_11f,"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +objj_msgSend(_registeredDraggedTypes,"addObjectsFromArray:",_11e); +objj_msgSend(_11f,"_noteRegisteredDraggedTypes:",_registeredDraggedTypes); +_registeredDraggedTypesArray=nil; +} +}),new objj_method(sel_getUid("registeredDraggedTypes"),function(self,_120){ +with(self){ +if(!_registeredDraggedTypesArray){ +_registeredDraggedTypesArray=objj_msgSend(_registeredDraggedTypes,"allObjects"); +} +return _registeredDraggedTypesArray; +} +}),new objj_method(sel_getUid("unregisterDraggedTypes"),function(self,_121){ +with(self){ +objj_msgSend(objj_msgSend(self,"window"),"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +} +}),new objj_method(sel_getUid("drawRect:"),function(self,_122,_123){ +with(self){ +} +}),new objj_method(sel_getUid("setNeedsDisplay:"),function(self,_124,_125){ +with(self){ +if(_125){ +objj_msgSend(self,"setNeedsDisplayInRect:",objj_msgSend(self,"bounds")); +} +} +}),new objj_method(sel_getUid("setNeedsDisplayInRect:"),function(self,_126,_127){ +with(self){ +if(!(_viewClassFlags&_9)){ +return; +} +if((_127.size.width<=0||_127.size.height<=0)){ +return; +} +if(_dirtyRect&&!(_dirtyRect.size.width<=0||_dirtyRect.size.height<=0)){ +_dirtyRect=CGRectUnion(_127,_dirtyRect); +}else{ +_dirtyRect={origin:{x:_127.origin.x,y:_127.origin.y},size:{width:_127.size.width,height:_127.size.height}}; +} +_CPDisplayServerAddDisplayObject(self); +} +}),new objj_method(sel_getUid("needsDisplay"),function(self,_128){ +with(self){ +return _dirtyRect&&!(_dirtyRect.size.width<=0||_dirtyRect.size.height<=0); +} +}),new objj_method(sel_getUid("displayIfNeeded"),function(self,_129){ +with(self){ +if(objj_msgSend(self,"needsDisplay")){ +objj_msgSend(self,"displayRect:",_dirtyRect); +} +} +}),new objj_method(sel_getUid("display"),function(self,_12a){ +with(self){ +objj_msgSend(self,"displayRect:",objj_msgSend(self,"visibleRect")); +} +}),new objj_method(sel_getUid("displayIfNeededInRect:"),function(self,_12b,_12c){ +with(self){ +if(objj_msgSend(self,"needsDisplay")){ +objj_msgSend(self,"displayRect:",_12c); +} +} +}),new objj_method(sel_getUid("displayRect:"),function(self,_12d,_12e){ +with(self){ +objj_msgSend(self,"viewWillDraw"); +objj_msgSend(self,"displayRectIgnoringOpacity:inContext:",_12e,nil); +_dirtyRect=NULL; +} +}),new objj_method(sel_getUid("displayRectIgnoringOpacity:inContext:"),function(self,_12f,_130,_131){ +with(self){ +objj_msgSend(self,"lockFocus"); +CGContextClearRect(objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_130); +objj_msgSend(self,"drawRect:",_130); +objj_msgSend(self,"unlockFocus"); +} +}),new objj_method(sel_getUid("viewWillDraw"),function(self,_132){ +with(self){ +} +}),new objj_method(sel_getUid("lockFocus"),function(self,_133){ +with(self){ +if(!_graphicsContext){ +var _134=CGBitmapGraphicsContextCreate(); +_DOMContentsElement=_134.DOMElement; +_DOMContentsElement.style.zIndex=-100; +_DOMContentsElement.style.overflow="hidden"; +_DOMContentsElement.style.position="absolute"; +_DOMContentsElement.style.visibility="visible"; +_DOMContentsElement.width=ROUND((_frame.size.width)); +_DOMContentsElement.height=ROUND((_frame.size.height)); +_DOMContentsElement.style.top="0px"; +_DOMContentsElement.style.left="0px"; +_DOMContentsElement.style.width=ROUND((_frame.size.width))+"px"; +_DOMContentsElement.style.height=ROUND((_frame.size.height))+"px"; +_DOMElement.appendChild(_DOMContentsElement); +_graphicsContext=objj_msgSend(CPGraphicsContext,"graphicsContextWithGraphicsPort:flipped:",_134,YES); +} +objj_msgSend(CPGraphicsContext,"setCurrentContext:",_graphicsContext); +CGContextSaveGState(objj_msgSend(_graphicsContext,"graphicsPort")); +} +}),new objj_method(sel_getUid("unlockFocus"),function(self,_135){ +with(self){ +CGContextRestoreGState(objj_msgSend(_graphicsContext,"graphicsPort")); +objj_msgSend(CPGraphicsContext,"setCurrentContext:",nil); +} +}),new objj_method(sel_getUid("setNeedsLayout"),function(self,_136){ +with(self){ +if(!(_viewClassFlags&_a)){ +return; +} +_needsLayout=YES; +_CPDisplayServerAddLayoutObject(self); +} +}),new objj_method(sel_getUid("layoutIfNeeded"),function(self,_137){ +with(self){ +if(_needsLayout){ +_needsLayout=NO; +objj_msgSend(self,"layoutSubviews"); +} +} +}),new objj_method(sel_getUid("layoutSubviews"),function(self,_138){ +with(self){ +} +}),new objj_method(sel_getUid("isOpaque"),function(self,_139){ +with(self){ +return NO; +} +}),new objj_method(sel_getUid("visibleRect"),function(self,_13a){ +with(self){ +if(!_superview){ +return _bounds; +} +return CGRectIntersection(objj_msgSend(self,"convertRect:fromView:",objj_msgSend(_superview,"visibleRect"),_superview),_bounds); +} +}),new objj_method(sel_getUid("_enclosingClipView"),function(self,_13b){ +with(self){ +var _13c=_superview,_13d=objj_msgSend(CPClipView,"class"); +while(_13c&&!objj_msgSend(_13c,"isKindOfClass:",_13d)){ +_13c=_13c._superview; +} +return _13c; +} +}),new objj_method(sel_getUid("scrollPoint:"),function(self,_13e,_13f){ +with(self){ +var _140=objj_msgSend(self,"_enclosingClipView"); +if(!_140){ +return; +} +objj_msgSend(_140,"scrollToPoint:",objj_msgSend(self,"convertPoint:toView:",_13f,_140)); +} +}),new objj_method(sel_getUid("scrollRectToVisible:"),function(self,_141,_142){ +with(self){ +var _143=objj_msgSend(self,"visibleRect"); +_142=CGRectIntersection(_142,_bounds); +if((_142.size.width<=0||_142.size.height<=0)||CGRectContainsRect(_143,_142)){ +return NO; +} +var _144=objj_msgSend(self,"_enclosingClipView"); +if(!_144){ +return NO; +} +var _145={x:_143.origin.x,y:_143.origin.y}; +if((_142.origin.x)<=(_143.origin.x)){ +_145.x=(_142.origin.x); +}else{ +if((_142.origin.x+_142.size.width)>(_143.origin.x+_143.size.width)){ +_145.x+=(_142.origin.x+_142.size.width)-(_143.origin.x+_143.size.width); +} +} +if((_142.origin.y)<=(_143.origin.y)){ +_145.y=CGRectGetMinY(_142); +}else{ +if((_142.origin.y+_142.size.height)>(_143.origin.y+_143.size.height)){ +_145.y+=(_142.origin.y+_142.size.height)-(_143.origin.y+_143.size.height); +} +} +objj_msgSend(_144,"scrollToPoint:",CGPointMake(_145.x,_145.y)); +return YES; +} +}),new objj_method(sel_getUid("autoscroll:"),function(self,_146,_147){ +with(self){ +return objj_msgSend(objj_msgSend(self,"superview"),"autoscroll:",_147); +} +}),new objj_method(sel_getUid("adjustScroll:"),function(self,_148,_149){ +with(self){ +return _149; +} +}),new objj_method(sel_getUid("scrollRect:by:"),function(self,_14a,_14b,_14c){ +with(self){ +} +}),new objj_method(sel_getUid("enclosingScrollView"),function(self,_14d){ +with(self){ +var _14e=_superview,_14f=objj_msgSend(CPScrollView,"class"); +while(_14e&&!objj_msgSend(_14e,"isKindOfClass:",_14f)){ +_14e=_14e._superview; +} +return _14e; +} +}),new objj_method(sel_getUid("scrollClipView:toPoint:"),function(self,_150,_151,_152){ +with(self){ +objj_msgSend(_151,"scrollToPoint:",_152); +} +}),new objj_method(sel_getUid("reflectScrolledClipView:"),function(self,_153,_154){ +with(self){ +} +})]); +class_addMethods(_c,[new objj_method(sel_getUid("initialize"),function(self,_155){ +with(self){ +if(self!==objj_msgSend(CPView,"class")){ +return; +} +_3=document.createElement("div"); +var _156=_3.style; +_156.overflow="hidden"; +_156.position="absolute"; +_156.visibility="visible"; +_156.zIndex=0; +_1=objj_msgSend(CPNotificationCenter,"defaultCenter"); +} +}),new objj_method(sel_getUid("keyPathsForValuesAffectingFrame"),function(self,_157){ +with(self){ +return objj_msgSend(CPSet,"setWithObjects:","frameOrigin","frameSize"); +} +}),new objj_method(sel_getUid("keyPathsForValuesAffectingBounds"),function(self,_158){ +with(self){ +return objj_msgSend(CPSet,"setWithObjects:","boundsOrigin","boundsSize"); +} +})]); +var _b=objj_getClass("CPView"); +if(!_b){ +throw new SyntaxError("*** Could not find definition for class \"CPView\""); +} +var _c=_b.isa; +class_addMethods(_b,[new objj_method(sel_getUid("performKeyEquivalent:"),function(self,_159,_15a){ +with(self){ +var _15b=objj_msgSend(_subviews,"count"); +while(_15b--){ +if(objj_msgSend(_subviews[_15b],"performKeyEquivalent:",_15a)){ +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("canBecomeKeyView"),function(self,_15c){ +with(self){ +return objj_msgSend(self,"acceptsFirstResponder")&&!objj_msgSend(self,"isHiddenOrHasHiddenAncestor"); +} +}),new objj_method(sel_getUid("nextKeyView"),function(self,_15d){ +with(self){ +return _nextKeyView; +} +}),new objj_method(sel_getUid("nextValidKeyView"),function(self,_15e){ +with(self){ +var _15f=objj_msgSend(self,"nextKeyView"); +while(_15f&&!objj_msgSend(_15f,"canBecomeKeyView")){ +_15f=objj_msgSend(_15f,"nextKeyView"); +} +return _15f; +} +}),new objj_method(sel_getUid("previousKeyView"),function(self,_160){ +with(self){ +return _previousKeyView; +} +}),new objj_method(sel_getUid("previousValidKeyView"),function(self,_161){ +with(self){ +var _162=objj_msgSend(self,"previousKeyView"); +while(_162&&!objj_msgSend(_162,"canBecomeKeyView")){ +_162=objj_msgSend(_162,"previousKeyView"); +} +return _162; +} +}),new objj_method(sel_getUid("_setPreviousKeyView:"),function(self,_163,_164){ +with(self){ +_previousKeyView=_164; +} +}),new objj_method(sel_getUid("setNextKeyView:"),function(self,_165,next){ +with(self){ +_nextKeyView=next; +objj_msgSend(_nextKeyView,"_setPreviousKeyView:",self); +} +})]); +var _b=objj_getClass("CPView"); +if(!_b){ +throw new SyntaxError("*** Could not find definition for class \"CPView\""); +} +var _c=_b.isa; +class_addMethods(_b,[new objj_method(sel_getUid("setLayer:"),function(self,_166,_167){ +with(self){ +if(_layer==_167){ +return; +} +if(_layer){ +_layer._owningView=nil; +_DOMElement.removeChild(_layer._DOMElement); +} +_layer=_167; +if(_layer){ +var _168=CGRectMakeCopy(objj_msgSend(self,"bounds")); +objj_msgSend(_layer,"_setOwningView:",self); +_layer._DOMElement.style.zIndex=100; +_DOMElement.appendChild(_layer._DOMElement); +} +} +}),new objj_method(sel_getUid("layer"),function(self,_169){ +with(self){ +return _layer; +} +}),new objj_method(sel_getUid("setWantsLayer:"),function(self,_16a,_16b){ +with(self){ +_wantsLayer=!!_16b; +} +}),new objj_method(sel_getUid("wantsLayer"),function(self,_16c){ +with(self){ +return _wantsLayer; +} +})]); +var _b=objj_getClass("CPView"); +if(!_b){ +throw new SyntaxError("*** Could not find definition for class \"CPView\""); +} +var _c=_b.isa; +class_addMethods(_b,[new objj_method(sel_getUid("themeState"),function(self,_16d){ +with(self){ +return _themeState; +} +}),new objj_method(sel_getUid("hasThemeState:"),function(self,_16e,_16f){ +with(self){ +return !!(_themeState&((typeof _16f==="string")?CPThemeState(_16f):_16f)); +} +}),new objj_method(sel_getUid("setThemeState:"),function(self,_170,_171){ +with(self){ +var _172=(typeof _171==="string")?CPThemeState(_171):_171; +if(_themeState&_172){ +return NO; +} +_themeState|=_172; +objj_msgSend(self,"setNeedsLayout"); +objj_msgSend(self,"setNeedsDisplay:",YES); +return YES; +} +}),new objj_method(sel_getUid("unsetThemeState:"),function(self,_173,_174){ +with(self){ +var _175=((typeof _174==="string")?CPThemeState(_174):_174); +if(!(_themeState&_175)){ +return NO; +} +_themeState&=~_175; +objj_msgSend(self,"setNeedsLayout"); +objj_msgSend(self,"setNeedsDisplay:",YES); +return YES; +} +}),new objj_method(sel_getUid("_loadThemeAttributes"),function(self,_176){ +with(self){ +var _177=objj_msgSend(self,"class"),_178=objj_msgSend(_177,"_themeAttributes"),_179=_178.length; +if(!_179){ +return; +} +var _17a=objj_msgSend(self,"theme"),_17b=objj_msgSend(_177,"themeClass"); +_themeAttributes={}; +while(_179--){ +var _17c=_178[_179--],_17d=objj_msgSend(objj_msgSend(_CPThemeAttribute,"alloc"),"initWithName:defaultValue:",_17c,_178[_179]); +objj_msgSend(_17d,"setParentAttribute:",objj_msgSend(_17a,"_attributeWithName:forClass:",_17c,_17b)); +_themeAttributes[_17c]=_17d; +} +} +}),new objj_method(sel_getUid("setTheme:"),function(self,_17e,_17f){ +with(self){ +if(_theme===_17f){ +return; +} +_theme=_17f; +objj_msgSend(self,"viewDidChangeTheme"); +} +}),new objj_method(sel_getUid("theme"),function(self,_180){ +with(self){ +return _theme; +} +}),new objj_method(sel_getUid("viewDidChangeTheme"),function(self,_181){ +with(self){ +if(!_themeAttributes){ +return; +} +var _182=objj_msgSend(self,"theme"),_183=objj_msgSend(objj_msgSend(self,"class"),"themeClass"); +for(var _184 in _themeAttributes){ +if(_themeAttributes.hasOwnProperty(_184)){ +objj_msgSend(_themeAttributes[_184],"setParentAttribute:",objj_msgSend(_182,"_attributeWithName:forClass:",_184,_183)); +} +} +objj_msgSend(self,"setNeedsLayout"); +objj_msgSend(self,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("_themeAttributeDictionary"),function(self,_185){ +with(self){ +var _186=objj_msgSend(CPDictionary,"dictionary"); +if(_themeAttributes){ +var _187=objj_msgSend(self,"theme"); +for(var _188 in _themeAttributes){ +if(_themeAttributes.hasOwnProperty(_188)){ +objj_msgSend(_186,"setObject:forKey:",_themeAttributes[_188],_188); +} +} +} +return _186; +} +}),new objj_method(sel_getUid("setValue:forThemeAttribute:inState:"),function(self,_189,_18a,_18b,_18c){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_18b]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_18b+"'"); +} +var _18d=objj_msgSend(self,"currentValueForThemeAttribute:",_18b); +objj_msgSend(_themeAttributes[_18b],"setValue:forState:",_18a,_18c); +if(objj_msgSend(self,"currentValueForThemeAttribute:",_18b)===_18d){ +return; +} +objj_msgSend(self,"setNeedsDisplay:",YES); +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("setValue:forThemeAttribute:"),function(self,_18e,_18f,_190){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_190]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_190+"'"); +} +var _191=objj_msgSend(self,"currentValueForThemeAttribute:",_190); +objj_msgSend(_themeAttributes[_190],"setValue:",_18f); +if(objj_msgSend(self,"currentValueForThemeAttribute:",_190)===_191){ +return; +} +objj_msgSend(self,"setNeedsDisplay:",YES); +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("valueForThemeAttribute:inState:"),function(self,_192,_193,_194){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_193]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_193+"'"); +} +return objj_msgSend(_themeAttributes[_193],"valueForState:",_194); +} +}),new objj_method(sel_getUid("valueForThemeAttribute:"),function(self,_195,_196){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_196]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_196+"'"); +} +return objj_msgSend(_themeAttributes[_196],"value"); +} +}),new objj_method(sel_getUid("currentValueForThemeAttribute:"),function(self,_197,_198){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_198]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_198+"'"); +} +return objj_msgSend(_themeAttributes[_198],"valueForState:",_themeState); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(self,_199,_19a){ +with(self){ +return nil; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(self,_19b,_19c){ +with(self){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +}),new objj_method(sel_getUid("layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:"),function(self,_19d,_19e,_19f,_1a0){ +with(self){ +if(!_ephemeralSubviewsForNames){ +_ephemeralSubviewsForNames={}; +_ephemeralSubviews=objj_msgSend(CPSet,"set"); +} +var _1a1=objj_msgSend(self,"rectForEphemeralSubviewNamed:",_19e); +if(_1a1&&!(_1a1.size.width<=0||_1a1.size.height<=0)){ +if(!_ephemeralSubviewsForNames[_19e]){ +_ephemeralSubviewsForNames[_19e]=objj_msgSend(self,"createEphemeralSubviewNamed:",_19e); +objj_msgSend(_ephemeralSubviews,"addObject:",_ephemeralSubviewsForNames[_19e]); +if(_ephemeralSubviewsForNames[_19e]){ +objj_msgSend(self,"addSubview:positioned:relativeTo:",_ephemeralSubviewsForNames[_19e],_19f,_ephemeralSubviewsForNames[_1a0]); +} +} +if(_ephemeralSubviewsForNames[_19e]){ +objj_msgSend(_ephemeralSubviewsForNames[_19e],"setFrame:",_1a1); +} +}else{ +if(_ephemeralSubviewsForNames[_19e]){ +objj_msgSend(_ephemeralSubviewsForNames[_19e],"removeFromSuperview"); +objj_msgSend(_ephemeralSubviews,"removeObject:",_ephemeralSubviewsForNames[_19e]); +delete _ephemeralSubviewsForNames[_19e]; +} +} +return _ephemeralSubviewsForNames[_19e]; +} +})]); +class_addMethods(_c,[new objj_method(sel_getUid("themeClass"),function(self,_1a2){ +with(self){ +return nil; +} +}),new objj_method(sel_getUid("themeAttributes"),function(self,_1a3){ +with(self){ +return nil; +} +}),new objj_method(sel_getUid("_themeAttributes"),function(self,_1a4){ +with(self){ +if(!_2){ +_2={}; +} +var _1a5=objj_msgSend(self,"class"),_1a6=objj_msgSend(CPView,"class"),_1a7=[],_1a8=objj_msgSend(CPNull,"null"); +for(;_1a5&&_1a5!==_1a6;_1a5=objj_msgSend(_1a5,"superclass")){ +var _1a9=_2[class_getName(_1a5)]; +if(_1a9){ +_1a7=_1a7.length?_1a7.concat(_1a9):_1a7; +_2[objj_msgSend(self,"className")]=_1a7; +break; +} +var _1aa=objj_msgSend(_1a5,"themeAttributes"); +if(!_1aa){ +continue; +} +var _1ab=objj_msgSend(_1aa,"allKeys"),_1ac=_1ab.length; +while(_1ac--){ +var _1ad=_1ab[_1ac],_1ae=objj_msgSend(_1aa,"objectForKey:",_1ad); +_1a7.push(_1ae===_1a8?nil:_1ae); +_1a7.push(_1ad); +} +} +return _1a7; +} +})]); +var _1af="CPViewAutoresizingMask",_1b0="CPViewAutoresizesSubviews",_1b1="CPViewBackgroundColor",_1b2="CPViewBoundsKey",_1b3="CPViewFrameKey",_1b4="CPViewHitTestsKey",_1b5="CPViewIsHiddenKey",_1b6="CPViewOpacityKey",_1b7="CPViewSubviewsKey",_1b8="CPViewSuperviewKey",_1b9="CPViewTagKey",_1ba="CPViewThemeStateKey",_1bb="CPViewWindowKey",_1bc="CPViewNextKeyViewKey",_1bd="CPViewPreviousKeyViewKey"; +var _b=objj_getClass("CPView"); +if(!_b){ +throw new SyntaxError("*** Could not find definition for class \"CPView\""); +} +var _c=_b.isa; +class_addMethods(_b,[new objj_method(sel_getUid("initWithCoder:"),function(self,_1be,_1bf){ +with(self){ +_DOMElement=_3.cloneNode(false); +_frame=objj_msgSend(_1bf,"decodeRectForKey:",_1b3); +_bounds=objj_msgSend(_1bf,"decodeRectForKey:",_1b2); +self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPView").super_class},"initWithCoder:",_1bf); +if(self){ +_tag=objj_msgSend(_1bf,"containsValueForKey:",_1b9)?objj_msgSend(_1bf,"decodeIntForKey:",_1b9):-1; +_window=objj_msgSend(_1bf,"decodeObjectForKey:",_1bb); +_subviews=objj_msgSend(_1bf,"decodeObjectForKey:",_1b7)||[]; +_superview=objj_msgSend(_1bf,"decodeObjectForKey:",_1b8); +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +_autoresizingMask=objj_msgSend(_1bf,"decodeIntForKey:",_1af)||CPViewNotSizable; +_autoresizesSubviews=!objj_msgSend(_1bf,"containsValueForKey:",_1b0)||objj_msgSend(_1bf,"decodeBoolForKey:",_1b0); +_hitTests=!objj_msgSend(_1bf,"containsValueForKey:",_1b4)||objj_msgSend(_1bf,"decodeObjectForKey:",_1b4); +_DOMImageParts=[]; +_DOMImageSizes=[]; +if(NULL){ +var _1c0={x:CGPointMake((_frame.origin.x),(_frame.origin.y)).x*NULL.a+CGPointMake((_frame.origin.x),(_frame.origin.y)).y*NULL.c+NULL.tx,y:CGPointMake((_frame.origin.x),(_frame.origin.y)).x*NULL.b+CGPointMake((_frame.origin.x),(_frame.origin.y)).y*NULL.d+NULL.ty}; +}else{ +var _1c0={x:(_frame.origin.x),y:(_frame.origin.y)}; +} +_DOMElement.style.left=ROUND(_1c0.x)+"px"; +_DOMElement.style.top=ROUND(_1c0.y)+"px"; +_DOMElement.style.width=MAX(0,ROUND((_frame.size.width)))+"px"; +_DOMElement.style.height=MAX(0,ROUND((_frame.size.height)))+"px"; +var _1c1=0,_1c2=_subviews.length; +for(;_1c1<_1c2;++_1c1){ +_DOMElement.appendChild(_subviews[_1c1]._DOMElement); +} +if(objj_msgSend(_1bf,"containsValueForKey:",_1b5)){ +objj_msgSend(self,"setHidden:",objj_msgSend(_1bf,"decodeBoolForKey:",_1b5)); +}else{ +_isHidden=NO; +} +if(objj_msgSend(_1bf,"containsValueForKey:",_1b6)){ +objj_msgSend(self,"setAlphaValue:",objj_msgSend(_1bf,"decodeIntForKey:",_1b6)); +}else{ +_opacity=1; +} +objj_msgSend(self,"setBackgroundColor:",objj_msgSend(_1bf,"decodeObjectForKey:",_1b1)); +objj_msgSend(self,"setupViewFlags"); +_theme=objj_msgSend(CPTheme,"defaultTheme"); +_themeState=CPThemeState(objj_msgSend(_1bf,"decodeIntForKey:",_1ba)); +_themeAttributes={}; +var _1c3=objj_msgSend(self,"class"),_1c4=objj_msgSend(_1c3,"themeClass"),_1c5=objj_msgSend(_1c3,"_themeAttributes"),_1c2=_1c5.length; +while(_1c2--){ +var _1c6=_1c5[_1c2--]; +_themeAttributes[_1c6]=CPThemeAttributeDecode(_1bf,_1c6,_1c5[_1c2],_theme,_1c4); +} +objj_msgSend(self,"setNeedsDisplay:",YES); +objj_msgSend(self,"setNeedsLayout"); +} +return self; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(self,_1c7,_1c8){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPView").super_class},"encodeWithCoder:",_1c8); +if(_tag!==-1){ +objj_msgSend(_1c8,"encodeInt:forKey:",_tag,_1b9); +} +objj_msgSend(_1c8,"encodeRect:forKey:",_frame,_1b3); +objj_msgSend(_1c8,"encodeRect:forKey:",_bounds,_1b2); +if(_window!==nil){ +objj_msgSend(_1c8,"encodeConditionalObject:forKey:",_window,_1bb); +} +var _1c9=objj_msgSend(_subviews,"count"),_1ca=_subviews; +if(_1c9>0&&objj_msgSend(_ephemeralSubviews,"count")>0){ +_1ca=objj_msgSend(_1ca,"copy"); +while(_1c9--){ +if(objj_msgSend(_ephemeralSubviews,"containsObject:",_1ca[_1c9])){ +_1ca.splice(_1c9,1); +} +} +} +if(_1ca.length>0){ +objj_msgSend(_1c8,"encodeObject:forKey:",_1ca,_1b7); +} +if(_superview!==nil){ +objj_msgSend(_1c8,"encodeConditionalObject:forKey:",_superview,_1b8); +} +if(_autoresizingMask!==CPViewNotSizable){ +objj_msgSend(_1c8,"encodeInt:forKey:",_autoresizingMask,_1af); +} +if(!_autoresizesSubviews){ +objj_msgSend(_1c8,"encodeBool:forKey:",_autoresizesSubviews,_1b0); +} +if(_backgroundColor!==nil){ +objj_msgSend(_1c8,"encodeObject:forKey:",_backgroundColor,_1b1); +} +if(_hitTests!==YES){ +objj_msgSend(_1c8,"encodeBool:forKey:",_hitTests,_1b4); +} +if(_opacity!==1){ +objj_msgSend(_1c8,"encodeFloat:forKey:",_opacity,_1b6); +} +if(_isHidden){ +objj_msgSend(_1c8,"encodeBool:forKey:",_isHidden,_1b5); +} +var _1cb=objj_msgSend(self,"nextKeyView"); +if(_1cb!==nil){ +objj_msgSend(_1c8,"encodeConditionalObject:forKey:",_1cb,_1bc); +} +var _1cc=objj_msgSend(self,"previousKeyView"); +if(_1cc!==nil){ +objj_msgSend(_1c8,"encodeConditionalObject:forKey:",_1cc,_1bd); +} +objj_msgSend(_1c8,"encodeInt:forKey:",CPThemeStateName(_themeState),_1ba); +for(var _1cd in _themeAttributes){ +if(_themeAttributes.hasOwnProperty(_1cd)){ +CPThemeAttributeEncode(_1c8,_themeAttributes[_1cd]); +} +} +} +})]); +var _b4=function(_1ce){ +var _1cf=_1ce._superview; +return {autoresizingMask:_1ce._autoresizingMask,frame:CGRectMakeCopy(_1ce._frame),index:(_1cf?objj_msgSend(_1cf._subviews,"indexOfObjectIdenticalTo:",_1ce):0),superview:_1cf}; +}; +var _f4=function(_1d0,_1d1){ +var _1d2=CGAffineTransformMakeIdentity(),_1d3=YES,_1d4=nil,_1d5=nil; +if(_1d0){ +var view=_1d0; +while(view&&view!=_1d1){ +var _1d6=view._frame; +_1d2.tx+=(_1d6.origin.x); +_1d2.ty+=(_1d6.origin.y); +if(view._boundsTransform){ +var tx=_1d2.tx*view._boundsTransform.a+_1d2.ty*view._boundsTransform.c+view._boundsTransform.tx; +_1d2.ty=_1d2.tx*view._boundsTransform.b+_1d2.ty*view._boundsTransform.d+view._boundsTransform.ty; +_1d2.tx=tx; +var a=_1d2.a*view._boundsTransform.a+_1d2.b*view._boundsTransform.c,b=_1d2.a*view._boundsTransform.b+_1d2.b*view._boundsTransform.d,c=_1d2.c*view._boundsTransform.a+_1d2.d*view._boundsTransform.c; +_1d2.d=_1d2.c*view._boundsTransform.b+_1d2.d*view._boundsTransform.d; +_1d2.a=a; +_1d2.b=b; +_1d2.c=c; +} +view=view._superview; +} +if(view===_1d1){ +return _1d2; +}else{ +if(_1d0&&_1d1){ +_1d4=objj_msgSend(_1d0,"window"); +_1d5=objj_msgSend(_1d1,"window"); +if(_1d4&&_1d5&&_1d4!==_1d5){ +_1d3=NO; +var _1d6=objj_msgSend(_1d4,"frame"); +_1d2.tx+=(_1d6.origin.x); +_1d2.ty+=(_1d6.origin.y); +} +} +} +} +var view=_1d1; +while(view){ +var _1d6=view._frame; +_1d2.tx-=(_1d6.origin.x); +_1d2.ty-=(_1d6.origin.y); +if(view._boundsTransform){ +var tx=_1d2.tx*view._inverseBoundsTransform.a+_1d2.ty*view._inverseBoundsTransform.c+view._inverseBoundsTransform.tx; +_1d2.ty=_1d2.tx*view._inverseBoundsTransform.b+_1d2.ty*view._inverseBoundsTransform.d+view._inverseBoundsTransform.ty; +_1d2.tx=tx; +var a=_1d2.a*view._inverseBoundsTransform.a+_1d2.b*view._inverseBoundsTransform.c,b=_1d2.a*view._inverseBoundsTransform.b+_1d2.b*view._inverseBoundsTransform.d,c=_1d2.c*view._inverseBoundsTransform.a+_1d2.d*view._inverseBoundsTransform.c; +_1d2.d=_1d2.c*view._inverseBoundsTransform.b+_1d2.d*view._inverseBoundsTransform.d; +_1d2.a=a; +_1d2.b=b; +_1d2.c=c; +} +view=view._superview; +} +if(!_1d3){ +var _1d6=objj_msgSend(_1d5,"frame"); +_1d2.tx-=(_1d6.origin.x); +_1d2.ty-=(_1d6.origin.y); +} +return _1d2; +}; +p;17;CPViewAnimation.jt;4962;@STATIC;1.0;I;20;AppKit/CPAnimation.jt;4918; +objj_executeFile("AppKit/CPAnimation.j",NO); +CPViewAnimationTargetKey="CPViewAnimationTarget"; +CPViewAnimationStartFrameKey="CPViewAnimationStartFrame"; +CPViewAnimationEndFrameKey="CPViewAnimationEndFrame"; +CPViewAnimationEffectKey="CPViewAnimationEffect"; +CPViewAnimationFadeInEffect="CPViewAnimationFadeIn"; +CPViewAnimationFadeOutEffect="CPViewAnimationFadeOut"; +var _1=objj_allocateClassPair(CPAnimation,"CPViewAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_viewAnimations")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithViewAnimations:"),function(_3,_4,_5){ +with(_3){ +if(_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPViewAnimation").super_class},"initWithDuration:animationCurve:",0.5,CPAnimationLinear)){ +objj_msgSend(_3,"setViewAnimations:",_5); +} +return _3; +} +}),new objj_method(sel_getUid("startAnimation"),function(_6,_7){ +with(_6){ +var _8=objj_msgSend(_viewAnimations,"count"); +while(_8--){ +var _9=objj_msgSend(_viewAnimations,"objectAtIndex:",_8),_a=objj_msgSend(_6,"_targetView:",_9),_b=objj_msgSend(_6,"_startFrame:",_9); +objj_msgSend(_a,"setFrame:",_b); +var _c=objj_msgSend(_6,"_effect:",_9); +if(_c===CPViewAnimationFadeInEffect){ +objj_msgSend(_a,"setAlphaValue:",0); +objj_msgSend(_a,"setHidden:",NO); +}else{ +if(_c===CPViewAnimationFadeOutEffect){ +objj_msgSend(_a,"setAlphaValue:",1); +} +} +} +objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPViewAnimation").super_class},"startAnimation"); +} +}),new objj_method(sel_getUid("setCurrentProgress:"),function(_d,_e,_f){ +with(_d){ +objj_msgSendSuper({receiver:_d,super_class:objj_getClass("CPViewAnimation").super_class},"setCurrentProgress:",_f); +var _10=objj_msgSend(_viewAnimations,"count"); +while(_10--){ +var _11=objj_msgSend(_viewAnimations,"objectAtIndex:",_10),_12=objj_msgSend(_d,"_targetView:",_11); +startFrame=objj_msgSend(_d,"_startFrame:",_11); +endFrame=objj_msgSend(_d,"_endFrame:",_11); +differenceFrame=CPRectMakeZero(); +differenceFrame.origin.x=endFrame.origin.x-startFrame.origin.x; +differenceFrame.origin.y=endFrame.origin.y-startFrame.origin.y; +differenceFrame.size.width=endFrame.size.width-startFrame.size.width; +differenceFrame.size.height=endFrame.size.height-startFrame.size.height; +var _13=CPRectMakeZero(); +_13.origin.x=startFrame.origin.x+differenceFrame.origin.x*_f; +_13.origin.y=startFrame.origin.y+differenceFrame.origin.y*_f; +_13.size.width=startFrame.size.width+differenceFrame.size.width*_f; +_13.size.height=startFrame.size.height+differenceFrame.size.height*_f; +objj_msgSend(_12,"setFrame:",_13); +var _14=objj_msgSend(_d,"_effect:",_11); +if(_14===CPViewAnimationFadeInEffect){ +objj_msgSend(_12,"setAlphaValue:",1*_f); +}else{ +if(_14===CPViewAnimationFadeOutEffect){ +objj_msgSend(_12,"setAlphaValue:",1+(0-1)*_f); +} +} +if(_f===1){ +objj_msgSend(_12,"setHidden:",CPRectIsNull(endFrame)||objj_msgSend(_12,"alphaValue")===0); +} +} +} +}),new objj_method(sel_getUid("stopAnimation"),function(_15,_16){ +with(_15){ +var _17=objj_msgSend(_viewAnimations,"count"); +while(_17--){ +var _18=objj_msgSend(_viewAnimations,"objectAtIndex:",_17),_19=objj_msgSend(_15,"_targetView:",_18),_1a=objj_msgSend(_15,"_endFrame:",_18); +objj_msgSend(_19,"setFrame:",_1a); +var _1b=objj_msgSend(_15,"_effect:",_18); +if(_1b===CPViewAnimationFadeInEffect){ +objj_msgSend(_19,"setAlphaValue:",1); +}else{ +if(_1b===CPViewAnimationFadeOutEffect){ +objj_msgSend(_19,"setAlphaValue:",0); +} +} +objj_msgSend(_19,"setHidden:",CPRectIsNull(_1a)||objj_msgSend(_19,"alphaValue")===0); +} +objj_msgSendSuper({receiver:_15,super_class:objj_getClass("CPViewAnimation").super_class},"stopAnimation"); +} +}),new objj_method(sel_getUid("_targetView:"),function(_1c,_1d,_1e){ +with(_1c){ +var _1f=objj_msgSend(_1e,"valueForKey:",CPViewAnimationTargetKey); +if(!_1f){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,objj_msgSend(CPString,"stringWithFormat:","view animation: %@ does not have a target view",objj_msgSend(_1e,"description"))); +} +return _1f; +} +}),new objj_method(sel_getUid("_startFrame:"),function(_20,_21,_22){ +with(_20){ +var _23=objj_msgSend(_22,"valueForKey:",CPViewAnimationStartFrameKey); +if(!_23){ +return objj_msgSend(objj_msgSend(_20,"_targetView:",_22),"frame"); +} +return _23; +} +}),new objj_method(sel_getUid("_endFrame:"),function(_24,_25,_26){ +with(_24){ +var _27=objj_msgSend(_26,"valueForKey:",CPViewAnimationEndFrameKey); +if(!_27){ +return objj_msgSend(objj_msgSend(_24,"_targetView:",_26),"frame"); +} +return _27; +} +}),new objj_method(sel_getUid("_effect:"),function(_28,_29,_2a){ +with(_28){ +return objj_msgSend(_2a,"valueForKey:",CPViewAnimationEffectKey); +} +}),new objj_method(sel_getUid("viewAnimations"),function(_2b,_2c){ +with(_2b){ +return _viewAnimations; +} +}),new objj_method(sel_getUid("setViewAnimations:"),function(_2d,_2e,_2f){ +with(_2d){ +if(_2f!=_viewAnimations){ +objj_msgSend(_2d,"stopAnimation"); +_viewAnimations=objj_msgSend(_2f,"copy"); +} +} +})]); +p;18;CPViewController.jt;5159;@STATIC;1.0;I;20;AppKit/CPResponder.jt;5115; +objj_executeFile("AppKit/CPResponder.j",NO); +var _1; +var _2=objj_allocateClassPair(CPResponder,"CPViewController"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_view"),new objj_ivar("_representedObject"),new objj_ivar("_title"),new objj_ivar("_cibName"),new objj_ivar("_cibBundle"),new objj_ivar("_cibExternalNameTable")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("representedObject"),function(_4,_5){ +with(_4){ +return _representedObject; +} +}),new objj_method(sel_getUid("setRepresentedObject:"),function(_6,_7,_8){ +with(_6){ +_representedObject=_8; +} +}),new objj_method(sel_getUid("title"),function(_9,_a){ +with(_9){ +return _title; +} +}),new objj_method(sel_getUid("setTitle:"),function(_b,_c,_d){ +with(_b){ +_title=_d; +} +}),new objj_method(sel_getUid("cibName"),function(_e,_f){ +with(_e){ +return _cibName; +} +}),new objj_method(sel_getUid("cibBundle"),function(_10,_11){ +with(_10){ +return _cibBundle; +} +}),new objj_method(sel_getUid("cibExternalNameTable"),function(_12,_13){ +with(_12){ +return _cibExternalNameTable; +} +}),new objj_method(sel_getUid("init"),function(_14,_15){ +with(_14){ +return objj_msgSend(_14,"initWithCibName:bundle:",nil,nil); +} +}),new objj_method(sel_getUid("initWithCibName:bundle:"),function(_16,_17,_18,_19){ +with(_16){ +return objj_msgSend(_16,"initWithCibName:bundle:externalNameTable:",_18,_19,nil); +} +}),new objj_method(sel_getUid("initWithCibName:bundle:owner:"),function(_1a,_1b,_1c,_1d,_1e){ +with(_1a){ +return objj_msgSend(_1a,"initWithCibName:bundle:externalNameTable:",_1c,_1d,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_1e,CPCibOwner)); +} +}),new objj_method(sel_getUid("initWithCibName:bundle:externalNameTable:"),function(_1f,_20,_21,_22,_23){ +with(_1f){ +_1f=objj_msgSendSuper({receiver:_1f,super_class:objj_getClass("CPViewController").super_class},"init"); +if(_1f){ +_cibName=_21; +_cibBundle=_22||objj_msgSend(CPBundle,"mainBundle"); +_cibExternalNameTable=_23||objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_1f,CPCibOwner); +} +return _1f; +} +}),new objj_method(sel_getUid("loadView"),function(_24,_25){ +with(_24){ +if(_view){ +return; +} +var cib=objj_msgSend(_1,"objectForKey:",_cibName); +if(!cib){ +cib=objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithContentsOfURL:",objj_msgSend(_cibBundle,"pathForResource:",_cibName+".cib")); +objj_msgSend(_1,"setObject:forKey:",cib,_cibName); +} +objj_msgSend(cib,"instantiateCibWithExternalNameTable:",_cibExternalNameTable); +} +}),new objj_method(sel_getUid("view"),function(_26,_27){ +with(_26){ +if(!_view){ +var _28=objj_msgSend(_cibExternalNameTable,"objectForKey:",CPCibOwner); +if(objj_msgSend(_28,"respondsToSelector:",sel_getUid("viewControllerWillLoadCib:"))){ +objj_msgSend(_28,"viewControllerWillLoadCib:",_26); +} +objj_msgSend(_26,"loadView"); +if(_view===nil&&objj_msgSend(_28,"isKindOfClass:",objj_msgSend(CPDocument,"class"))){ +objj_msgSend(_26,"setView:",objj_msgSend(_28,"valueForKey:","view")); +} +if(!_view){ +var _29=objj_msgSend(CPString,"stringWithFormat:","View for %@ could not be loaded from Cib or no view specified. Override loadView to load the view manually.",_26); +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,_29); +} +if(objj_msgSend(_28,"respondsToSelector:",sel_getUid("viewControllerDidLoadCib:"))){ +objj_msgSend(_28,"viewControllerDidLoadCib:",_26); +} +objj_msgSend(_26,"viewDidLoad"); +} +return _view; +} +}),new objj_method(sel_getUid("viewDidLoad"),function(_2a,_2b){ +with(_2a){ +} +}),new objj_method(sel_getUid("setView:"),function(_2c,_2d,_2e){ +with(_2c){ +_view=_2e; +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("initialize"),function(_2f,_30){ +with(_2f){ +if(_2f===CPViewController){ +_1=objj_msgSend(CPDictionary,"dictionary"); +} +} +})]); +var _31="CPViewControllerViewKey",_32="CPViewControllerTitleKey",_33="CPViewControllerCibNameKey",_34="CPViewControllerBundleKey"; +var _2=objj_getClass("CPViewController"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPViewController\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_35,_36,_37){ +with(_35){ +_35=objj_msgSendSuper({receiver:_35,super_class:objj_getClass("CPViewController").super_class},"initWithCoder:",_37); +if(_35){ +_view=objj_msgSend(_37,"decodeObjectForKey:",_31); +_title=objj_msgSend(_37,"decodeObjectForKey:",_32); +_cibName=objj_msgSend(_37,"decodeObjectForKey:",_33); +var _38=objj_msgSend(_37,"decodeObjectForKey:",_34); +_cibBundle=_38?objj_msgSend(CPBundle,"bundleWithPath:",_38):objj_msgSend(CPBundle,"mainBundle"); +_cibExternalNameTable=objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_35,CPCibOwner); +} +return _35; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_39,_3a,_3b){ +with(_39){ +objj_msgSendSuper({receiver:_39,super_class:objj_getClass("CPViewController").super_class},"encodeWithCoder:",_3b); +objj_msgSend(_3b,"encodeObject:forKey:",_view,_31); +objj_msgSend(_3b,"encodeObject:forKey:",_title,_32); +objj_msgSend(_3b,"encodeObject:forKey:",_cibName,_33); +objj_msgSend(_3b,"encodeObject:forKey:",objj_msgSend(_cibBundle,"bundlePath"),_34); +} +})]); +p;11;CPWebView.jt;13231;@STATIC;1.0;I;15;AppKit/CPView.jt;13191; +objj_executeFile("AppKit/CPView.j",NO); +CPWebViewProgressStartedNotification="CPWebViewProgressStartedNotification"; +CPWebViewProgressFinishedNotification="CPWebViewProgressFinishedNotification"; +CPWebViewScrollAppKit=1; +CPWebViewScrollNative=2; +var _1=objj_allocateClassPair(CPView,"CPWebView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_scrollView"),new objj_ivar("_frameView"),new objj_ivar("_iframe"),new objj_ivar("_mainFrameURL"),new objj_ivar("_backwardStack"),new objj_ivar("_forwardStack"),new objj_ivar("_ignoreLoadStart"),new objj_ivar("_ignoreLoadEnd"),new objj_ivar("_downloadDelegate"),new objj_ivar("_frameLoadDelegate"),new objj_ivar("_policyDelegate"),new objj_ivar("_resourceLoadDelegate"),new objj_ivar("_UIDelegate"),new objj_ivar("_wso"),new objj_ivar("_url"),new objj_ivar("_html"),new objj_ivar("_loadCallback"),new objj_ivar("_scrollMode"),new objj_ivar("_scrollSize")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:frameName:groupName:"),function(_3,_4,_5,_6,_7){ +with(_3){ +if(_3=objj_msgSend(_3,"initWithFrame:",_5)){ +_iframe.name=_6; +} +return _3; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_8,_9,_a){ +with(_8){ +if(_8=objj_msgSendSuper({receiver:_8,super_class:objj_getClass("CPWebView").super_class},"initWithFrame:",_a)){ +_mainFrameURL=nil; +_backwardStack=[]; +_forwardStack=[]; +_scrollMode=CPWebViewScrollNative; +objj_msgSend(_8,"_initDOMWithFrame:",_a); +} +return _8; +} +}),new objj_method(sel_getUid("_initDOMWithFrame:"),function(_b,_c,_d){ +with(_b){ +_ignoreLoadStart=YES; +_ignoreLoadEnd=YES; +_iframe=document.createElement("iframe"); +_iframe.name="iframe_"+Math.floor(Math.random()*10000); +_iframe.style.width="100%"; +_iframe.style.height="100%"; +_iframe.style.borderWidth="0px"; +objj_msgSend(_b,"setDrawsBackground:",YES); +_loadCallback=function(){ +if(!_ignoreLoadStart){ +objj_msgSend(_b,"_startedLoading"); +if(_mainFrameURL){ +objj_msgSend(_backwardStack,"addObject:",_mainFrameURL); +} +_mainFrameURL=_iframe.src; +_mainFrameURL=_iframe.src; +objj_msgSend(_forwardStack,"removeAllObjects"); +}else{ +_ignoreLoadStart=NO; +} +if(!_ignoreLoadEnd){ +objj_msgSend(_b,"_finishedLoading"); +}else{ +_ignoreLoadEnd=NO; +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +}; +if(_iframe.addEventListener){ +_iframe.addEventListener("load",_loadCallback,false); +}else{ +if(_iframe.attachEvent){ +_iframe.attachEvent("onload",_loadCallback); +} +} +_frameView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",objj_msgSend(_b,"bounds")); +objj_msgSend(_frameView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_scrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",objj_msgSend(_b,"bounds")); +objj_msgSend(_scrollView,"setAutohidesScrollers:",YES); +objj_msgSend(_scrollView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_scrollView,"setDocumentView:",_frameView); +_frameView._DOMElement.appendChild(_iframe); +objj_msgSend(_b,"_setScrollMode:",_scrollMode); +objj_msgSend(_b,"addSubview:",_scrollView); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_e,_f,_10){ +with(_e){ +objj_msgSendSuper({receiver:_e,super_class:objj_getClass("CPWebView").super_class},"setFrameSize:",_10); +objj_msgSend(_e,"_resizeWebFrame"); +} +}),new objj_method(sel_getUid("_resizeWebFrame"),function(_11,_12){ +with(_11){ +if(_scrollMode===CPWebViewScrollAppKit){ +if(_scrollSize){ +objj_msgSend(_frameView,"setFrameSize:",_scrollSize); +}else{ +objj_msgSend(_frameView,"setFrameSize:",objj_msgSend(_scrollView,"contentSize")); +var win=null; +try{ +win=objj_msgSend(_11,"DOMWindow"); +} +catch(e){ +} +if(win&&win.document){ +var _13=win.document.body.scrollWidth,_14=win.document.body.scrollHeight; +_iframe.setAttribute("width",_13); +_iframe.setAttribute("height",_14); +objj_msgSend(_frameView,"setFrameSize:",CGSizeMake(_13,_14)); +}else{ +CPLog.warn("using default size 800*1600"); +objj_msgSend(_frameView,"setFrameSize:",CGSizeMake(800,1600)); +} +} +} +} +}),new objj_method(sel_getUid("setScrollMode:"),function(_15,_16,_17){ +with(_15){ +if(_scrollMode==_17){ +return; +} +objj_msgSend(_15,"_setScrollMode:",_17); +} +}),new objj_method(sel_getUid("_setScrollMode:"),function(_18,_19,_1a){ +with(_18){ +_scrollMode=_1a; +_ignoreLoadStart=YES; +_ignoreLoadEnd=YES; +var _1b=_iframe.parentNode; +_1b.removeChild(_iframe); +if(_scrollMode===CPWebViewScrollAppKit){ +objj_msgSend(_scrollView,"setHasHorizontalScroller:",YES); +objj_msgSend(_scrollView,"setHasVerticalScroller:",YES); +_iframe.setAttribute("scrolling","no"); +}else{ +objj_msgSend(_scrollView,"setHasHorizontalScroller:",NO); +objj_msgSend(_scrollView,"setHasVerticalScroller:",NO); +_iframe.setAttribute("scrolling","auto"); +objj_msgSend(_frameView,"setFrameSize:",objj_msgSend(_scrollView,"bounds").size); +} +_1b.appendChild(_iframe); +} +}),new objj_method(sel_getUid("loadHTMLString:"),function(_1c,_1d,_1e){ +with(_1c){ +objj_msgSend(_1c,"loadHTMLString:baseURL:",_1e,nil); +} +}),new objj_method(sel_getUid("loadHTMLString:baseURL:"),function(_1f,_20,_21,URL){ +with(_1f){ +objj_msgSend(_1f,"_setScrollMode:",CPWebViewScrollAppKit); +objj_msgSend(_1f,"_startedLoading"); +_ignoreLoadStart=YES; +_ignoreLoadEnd=NO; +_url=null; +_html=_21; +objj_msgSend(_1f,"_load"); +} +}),new objj_method(sel_getUid("_loadMainFrameURL"),function(_22,_23){ +with(_22){ +objj_msgSend(_22,"_setScrollMode:",CPWebViewScrollNative); +objj_msgSend(_22,"_startedLoading"); +_ignoreLoadStart=YES; +_ignoreLoadEnd=NO; +_url=_mainFrameURL; +_html=null; +objj_msgSend(_22,"_load"); +} +}),new objj_method(sel_getUid("_load"),function(_24,_25){ +with(_24){ +if(_url){ +_iframe.src=_url; +}else{ +if(_html){ +_iframe.src=""; +window.setTimeout(function(){ +var win=objj_msgSend(_24,"DOMWindow"); +win.document.write(_html); +window.setTimeout(_loadCallback,1); +},0); +} +} +} +}),new objj_method(sel_getUid("_startedLoading"),function(_26,_27){ +with(_26){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWebViewProgressStartedNotification,_26); +if(objj_msgSend(_frameLoadDelegate,"respondsToSelector:",sel_getUid("webView:didStartProvisionalLoadForFrame:"))){ +objj_msgSend(_frameLoadDelegate,"webView:didStartProvisionalLoadForFrame:",_26,nil); +} +} +}),new objj_method(sel_getUid("_finishedLoading"),function(_28,_29){ +with(_28){ +objj_msgSend(_28,"_resizeWebFrame"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWebViewProgressFinishedNotification,_28); +if(objj_msgSend(_frameLoadDelegate,"respondsToSelector:",sel_getUid("webView:didFinishLoadForFrame:"))){ +objj_msgSend(_frameLoadDelegate,"webView:didFinishLoadForFrame:",_28,nil); +} +} +}),new objj_method(sel_getUid("mainFrameURL"),function(_2a,_2b){ +with(_2a){ +return _mainFrameURL; +} +}),new objj_method(sel_getUid("setMainFrameURL:"),function(_2c,_2d,_2e){ +with(_2c){ +if(_mainFrameURL){ +objj_msgSend(_backwardStack,"addObject:",_mainFrameURL); +} +_mainFrameURL=_2e; +objj_msgSend(_forwardStack,"removeAllObjects"); +objj_msgSend(_2c,"_loadMainFrameURL"); +} +}),new objj_method(sel_getUid("goBack"),function(_2f,_30){ +with(_2f){ +if(_backwardStack.length>0){ +if(_mainFrameURL){ +objj_msgSend(_forwardStack,"addObject:",_mainFrameURL); +} +_mainFrameURL=objj_msgSend(_backwardStack,"lastObject"); +objj_msgSend(_backwardStack,"removeLastObject"); +objj_msgSend(_2f,"_loadMainFrameURL"); +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("goForward"),function(_31,_32){ +with(_31){ +if(_forwardStack.length>0){ +if(_mainFrameURL){ +objj_msgSend(_backwardStack,"addObject:",_mainFrameURL); +} +_mainFrameURL=objj_msgSend(_forwardStack,"lastObject"); +objj_msgSend(_forwardStack,"removeLastObject"); +objj_msgSend(_31,"_loadMainFrameURL"); +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("canGoBack"),function(_33,_34){ +with(_33){ +return (_backwardStack.length>0); +} +}),new objj_method(sel_getUid("canGoForward"),function(_35,_36){ +with(_35){ +return (_forwardStack.length>0); +} +}),new objj_method(sel_getUid("backForwardList"),function(_37,_38){ +with(_37){ +return {back:_backwardStack,forward:_forwardStack}; +} +}),new objj_method(sel_getUid("close"),function(_39,_3a){ +with(_39){ +_iframe.parentNode.removeChild(_iframe); +} +}),new objj_method(sel_getUid("DOMWindow"),function(_3b,_3c){ +with(_3b){ +return (_iframe.contentDocument&&_iframe.contentDocument.defaultView)||_iframe.contentWindow; +} +}),new objj_method(sel_getUid("windowScriptObject"),function(_3d,_3e){ +with(_3d){ +var win=objj_msgSend(_3d,"DOMWindow"); +if(!_wso||win!=objj_msgSend(_wso,"window")){ +if(win){ +_wso=objj_msgSend(objj_msgSend(CPWebScriptObject,"alloc"),"initWithWindow:",win); +}else{ +_wso=nil; +} +} +return _wso; +} +}),new objj_method(sel_getUid("stringByEvaluatingJavaScriptFromString:"),function(_3f,_40,_41){ +with(_3f){ +var _42=objj_msgSend(_3f,"objectByEvaluatingJavaScriptFromString:",_41); +return _42?String(_42):nil; +} +}),new objj_method(sel_getUid("objectByEvaluatingJavaScriptFromString:"),function(_43,_44,_45){ +with(_43){ +return objj_msgSend(objj_msgSend(_43,"windowScriptObject"),"evaluateWebScript:",_45); +} +}),new objj_method(sel_getUid("computedStyleForElement:pseudoElement:"),function(_46,_47,_48,_49){ +with(_46){ +var win=objj_msgSend(objj_msgSend(_46,"windowScriptObject"),"window"); +if(win){ +return win.document.defaultView.getComputedStyle(_48,_49); +} +return nil; +} +}),new objj_method(sel_getUid("drawsBackground"),function(_4a,_4b){ +with(_4a){ +return _iframe.style.backgroundColor!=""; +} +}),new objj_method(sel_getUid("setDrawsBackground:"),function(_4c,_4d,_4e){ +with(_4c){ +_iframe.style.backgroundColor=_4e?"white":""; +} +}),new objj_method(sel_getUid("takeStringURLFrom:"),function(_4f,_50,_51){ +with(_4f){ +objj_msgSend(_4f,"setMainFrameURL:",objj_msgSend(_51,"stringValue")); +} +}),new objj_method(sel_getUid("goBack:"),function(_52,_53,_54){ +with(_52){ +objj_msgSend(_52,"goBack"); +} +}),new objj_method(sel_getUid("goForward:"),function(_55,_56,_57){ +with(_55){ +objj_msgSend(_55,"goForward"); +} +}),new objj_method(sel_getUid("stopLoading:"),function(_58,_59,_5a){ +with(_58){ +} +}),new objj_method(sel_getUid("reload:"),function(_5b,_5c,_5d){ +with(_5b){ +objj_msgSend(_5b,"_loadMainFrameURL"); +} +}),new objj_method(sel_getUid("print:"),function(_5e,_5f,_60){ +with(_5e){ +try{ +objj_msgSend(_5e,"DOMWindow").print(); +} +catch(e){ +alert("Please click the webpage and select \"Print\" from the \"File\" menu"); +} +} +}),new objj_method(sel_getUid("downloadDelegate"),function(_61,_62){ +with(_61){ +return _downloadDelegate; +} +}),new objj_method(sel_getUid("setDownloadDelegate:"),function(_63,_64,_65){ +with(_63){ +_downloadDelegate=_65; +} +}),new objj_method(sel_getUid("frameLoadDelegate"),function(_66,_67){ +with(_66){ +return _frameLoadDelegate; +} +}),new objj_method(sel_getUid("setFrameLoadDelegate:"),function(_68,_69,_6a){ +with(_68){ +_frameLoadDelegate=_6a; +} +}),new objj_method(sel_getUid("policyDelegate"),function(_6b,_6c){ +with(_6b){ +return _policyDelegate; +} +}),new objj_method(sel_getUid("setPolicyDelegate:"),function(_6d,_6e,_6f){ +with(_6d){ +_policyDelegate=_6f; +} +}),new objj_method(sel_getUid("resourceLoadDelegate"),function(_70,_71){ +with(_70){ +return _resourceLoadDelegate; +} +}),new objj_method(sel_getUid("setResourceLoadDelegate:"),function(_72,_73,_74){ +with(_72){ +_resourceLoadDelegate=_74; +} +}),new objj_method(sel_getUid("UIDelegate"),function(_75,_76){ +with(_75){ +return _UIDelegate; +} +}),new objj_method(sel_getUid("setUIDelegate:"),function(_77,_78,_79){ +with(_77){ +_UIDelegate=_79; +} +})]); +var _1=objj_allocateClassPair(CPObject,"CPWebScriptObject"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_window")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithWindow:"),function(_7a,_7b,_7c){ +with(_7a){ +if(_7a=objj_msgSendSuper({receiver:_7a,super_class:objj_getClass("CPWebScriptObject").super_class},"init")){ +_window=_7c; +} +return _7a; +} +}),new objj_method(sel_getUid("callWebScriptMethod:withArguments:"),function(_7d,_7e,_7f,_80){ +with(_7d){ +if(typeof _window[_7f]=="function"){ +try{ +return _window[_7f].apply(_80); +} +catch(e){ +} +} +return undefined; +} +}),new objj_method(sel_getUid("evaluateWebScript:"),function(_81,_82,_83){ +with(_81){ +try{ +return _window.eval(_83); +} +catch(e){ +} +return undefined; +} +}),new objj_method(sel_getUid("window"),function(_84,_85){ +with(_84){ +return _window; +} +})]); +var _1=objj_getClass("CPWebView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPWebView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_86,_87,_88){ +with(_86){ +_86=objj_msgSendSuper({receiver:_86,super_class:objj_getClass("CPWebView").super_class},"initWithCoder:",_88); +if(_86){ +_mainFrameURL=nil; +_backwardStack=[]; +_forwardStack=[]; +_scrollMode=CPWebViewScrollNative; +objj_msgSend(_86,"_initDOMWithFrame:",objj_msgSend(_86,"frame")); +objj_msgSend(_86,"setBackgroundColor:",objj_msgSend(CPColor,"whiteColor")); +} +return _86; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_89,_8a,_8b){ +with(_89){ +var _8c=_subviews; +_subviews=[]; +objj_msgSendSuper({receiver:_89,super_class:objj_getClass("CPWebView").super_class},"encodeWithCoder:",_8b); +_subviews=_8c; +} +})]); +p;20;CPWindowController.jt;9250;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.ji;13;CPResponder.ji;10;CPWindow.ji;12;CPDocument.jt;9129; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPWindow.j",YES); +objj_executeFile("CPDocument.j",YES); +var _1=objj_allocateClassPair(CPResponder,"CPWindowController"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_window"),new objj_ivar("_documents"),new objj_ivar("_document"),new objj_ivar("_shouldCloseDocument"),new objj_ivar("_supportsMultipleDocuments"),new objj_ivar("_cibOwner"),new objj_ivar("_windowCibName"),new objj_ivar("_windowCibPath"),new objj_ivar("_viewController"),new objj_ivar("_viewControllerContainerView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +return objj_msgSend(_3,"initWithWindow:",nil); +} +}),new objj_method(sel_getUid("initWithWindow:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPWindowController").super_class},"init"); +if(_5){ +objj_msgSend(_5,"setWindow:",_7); +objj_msgSend(_5,"setShouldCloseDocument:",NO); +objj_msgSend(_5,"setNextResponder:",CPApp); +_documents=[]; +} +return _5; +} +}),new objj_method(sel_getUid("initWithWindowCibName:"),function(_8,_9,_a){ +with(_8){ +return objj_msgSend(_8,"initWithWindowCibName:owner:",_a,_8); +} +}),new objj_method(sel_getUid("initWithWindowCibName:owner:"),function(_b,_c,_d,_e){ +with(_b){ +_b=objj_msgSend(_b,"initWithWindow:",nil); +if(_b){ +_cibOwner=_e; +_windowCibName=_d; +} +return _b; +} +}),new objj_method(sel_getUid("initWithWindowCibPath:owner:"),function(_f,_10,_11,_12){ +with(_f){ +_f=objj_msgSend(_f,"initWithWindow:",nil); +if(_f){ +_cibOwner=_12; +_windowCibPath=_11; +} +return _f; +} +}),new objj_method(sel_getUid("loadWindow"),function(_13,_14){ +with(_13){ +if(_window){ +return; +} +objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_cibOwner,"class")),"loadCibFile:externalNameTable:",objj_msgSend(_13,"windowCibPath"),objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_cibOwner,CPCibOwner)); +} +}),new objj_method(sel_getUid("showWindow:"),function(_15,_16,_17){ +with(_15){ +var _18=objj_msgSend(_15,"window"); +if(objj_msgSend(_18,"respondsToSelector:",sel_getUid("becomesKeyOnlyIfNeeded"))&&objj_msgSend(_18,"becomesKeyOnlyIfNeeded")){ +objj_msgSend(_18,"orderFront:",_17); +}else{ +objj_msgSend(_18,"makeKeyAndOrderFront:",_17); +} +} +}),new objj_method(sel_getUid("isWindowLoaded"),function(_19,_1a){ +with(_19){ +return _window!==nil; +} +}),new objj_method(sel_getUid("window"),function(_1b,_1c){ +with(_1b){ +if(!_window){ +objj_msgSend(_1b,"windowWillLoad"); +objj_msgSend(_document,"windowControllerWillLoadCib:",_1b); +objj_msgSend(_1b,"loadWindow"); +if(_window===nil&&objj_msgSend(_cibOwner,"isKindOfClass:",objj_msgSend(CPDocument,"class"))){ +objj_msgSend(_1b,"setWindow:",objj_msgSend(_cibOwner,"valueForKey:","window")); +} +if(!_window){ +var _1d=objj_msgSend(CPString,"stringWithFormat:","Window for %@ could not be loaded from Cib or no window specified. Override loadWindow to load the window manually.",_1b); +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,_1d); +} +objj_msgSend(_1b,"windowDidLoad"); +objj_msgSend(_document,"windowControllerDidLoadCib:",_1b); +objj_msgSend(_1b,"synchronizeWindowTitleWithDocumentName"); +} +return _window; +} +}),new objj_method(sel_getUid("setWindow:"),function(_1e,_1f,_20){ +with(_1e){ +objj_msgSend(_window,"setWindowController:",nil); +_window=_20; +objj_msgSend(_window,"setWindowController:",_1e); +objj_msgSend(_window,"setNextResponder:",_1e); +} +}),new objj_method(sel_getUid("windowDidLoad"),function(_21,_22){ +with(_21){ +} +}),new objj_method(sel_getUid("windowWillLoad"),function(_23,_24){ +with(_23){ +} +}),new objj_method(sel_getUid("setDocument:"),function(_25,_26,_27){ +with(_25){ +if(_document===_27){ +return; +} +var _28=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_document){ +if(!objj_msgSend(_25,"supportsMultipleDocuments")){ +objj_msgSend(_25,"removeDocument:",_document); +} +objj_msgSend(_28,"removeObserver:name:object:",_25,CPDocumentWillSaveNotification,_document); +objj_msgSend(_28,"removeObserver:name:object:",_25,CPDocumentDidSaveNotification,_document); +objj_msgSend(_28,"removeObserver:name:object:",_25,CPDocumentDidFailToSaveNotification,_document); +} +_document=_27; +if(_document){ +objj_msgSend(_25,"addDocument:",_document); +objj_msgSend(_28,"addObserver:selector:name:object:",_25,sel_getUid("_documentWillSave:"),CPDocumentWillSaveNotification,_document); +objj_msgSend(_28,"addObserver:selector:name:object:",_25,sel_getUid("_documentDidSave:"),CPDocumentDidSaveNotification,_document); +objj_msgSend(_28,"addObserver:selector:name:object:",_25,sel_getUid("_documentDidFailToSave:"),CPDocumentDidFailToSaveNotification,_document); +objj_msgSend(_25,"setDocumentEdited:",objj_msgSend(_document,"isDocumentEdited")); +} +var _29=objj_msgSend(_document,"viewControllerForWindowController:",_25); +if(_29){ +objj_msgSend(_25,"setViewController:",_29); +} +objj_msgSend(_25,"synchronizeWindowTitleWithDocumentName"); +} +}),new objj_method(sel_getUid("setSupportsMultipleDocuments:"),function(_2a,_2b,_2c){ +with(_2a){ +_supportsMultipleDocuments=_2c; +} +}),new objj_method(sel_getUid("supportsMultipleDocuments"),function(_2d,_2e){ +with(_2d){ +return _supportsMultipleDocuments; +} +}),new objj_method(sel_getUid("addDocument:"),function(_2f,_30,_31){ +with(_2f){ +if(_31&&!objj_msgSend(_documents,"containsObject:",_31)){ +objj_msgSend(_documents,"addObject:",_31); +} +} +}),new objj_method(sel_getUid("removeDocument:"),function(_32,_33,_34){ +with(_32){ +var _35=objj_msgSend(_documents,"indexOfObjectIdenticalTo:",_34); +if(_35===CPNotFound){ +return; +} +objj_msgSend(_documents,"removeObjectAtIndex:",_35); +if(_document===_34&&objj_msgSend(_documents,"count")){ +objj_msgSend(_32,"setDocument:",objj_msgSend(_documents,"objectAtIndex:",MIN(_35,objj_msgSend(_documents,"count")-1))); +} +} +}),new objj_method(sel_getUid("removeDocumentAndCloseIfNecessary:"),function(_36,_37,_38){ +with(_36){ +objj_msgSend(_36,"removeDocument:",_38); +if(!objj_msgSend(_documents,"count")){ +objj_msgSend(_36,"close"); +} +} +}),new objj_method(sel_getUid("documents"),function(_39,_3a){ +with(_39){ +return _documents; +} +}),new objj_method(sel_getUid("setViewControllerContainerView:"),function(_3b,_3c,_3d){ +with(_3b){ +_viewControllerContainerView=_3d; +} +}),new objj_method(sel_getUid("viewControllerContainerView"),function(_3e,_3f){ +with(_3e){ +return _viewControllerContainerView; +} +}),new objj_method(sel_getUid("setViewController:"),function(_40,_41,_42){ +with(_40){ +var _43=objj_msgSend(_40,"viewControllerContainerView")||objj_msgSend(objj_msgSend(_40,"window"),"contentView"),_44=objj_msgSend(_viewController,"view"),_45=_44?objj_msgSend(_44,"frame"):objj_msgSend(_43,"bounds"); +objj_msgSend(_44,"removeFromSuperview"); +_viewController=_42; +_44=objj_msgSend(_viewController,"view"); +if(_44){ +objj_msgSend(_44,"setFrame:",_45); +objj_msgSend(_43,"addSubview:",_44); +} +} +}),new objj_method(sel_getUid("viewController"),function(_46,_47){ +with(_46){ +return _viewController; +} +}),new objj_method(sel_getUid("_documentWillSave:"),function(_48,_49,_4a){ +with(_48){ +objj_msgSend(objj_msgSend(_48,"window"),"setDocumentSaving:",YES); +} +}),new objj_method(sel_getUid("_documentDidSave:"),function(_4b,_4c,_4d){ +with(_4b){ +objj_msgSend(objj_msgSend(_4b,"window"),"setDocumentSaving:",NO); +} +}),new objj_method(sel_getUid("_documentDidFailToSave:"),function(_4e,_4f,_50){ +with(_4e){ +objj_msgSend(objj_msgSend(_4e,"window"),"setDocumentSaving:",NO); +} +}),new objj_method(sel_getUid("document"),function(_51,_52){ +with(_51){ +return _document; +} +}),new objj_method(sel_getUid("setDocumentEdited:"),function(_53,_54,_55){ +with(_53){ +objj_msgSend(objj_msgSend(_53,"window"),"setDocumentEdited:",_55); +} +}),new objj_method(sel_getUid("close"),function(_56,_57){ +with(_56){ +objj_msgSend(objj_msgSend(_56,"window"),"close"); +} +}),new objj_method(sel_getUid("setShouldCloseDocument:"),function(_58,_59,_5a){ +with(_58){ +_shouldCloseDocument=_5a; +} +}),new objj_method(sel_getUid("shouldCloseDocument"),function(_5b,_5c){ +with(_5b){ +return _shouldCloseDocument; +} +}),new objj_method(sel_getUid("owner"),function(_5d,_5e){ +with(_5d){ +return _cibOwner; +} +}),new objj_method(sel_getUid("windowCibName"),function(_5f,_60){ +with(_5f){ +if(_windowCibName){ +return _windowCibName; +} +return objj_msgSend(objj_msgSend(_windowCibPath,"lastPathComponent"),"stringByDeletingPathExtension"); +} +}),new objj_method(sel_getUid("windowCibPath"),function(_61,_62){ +with(_61){ +if(_windowCibPath){ +return _windowCibPath; +} +return objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_cibOwner,"class")),"pathForResource:",_windowCibName+".cib"); +} +}),new objj_method(sel_getUid("synchronizeWindowTitleWithDocumentName"),function(_63,_64){ +with(_63){ +if(!_document||!_window){ +return; +} +objj_msgSend(_window,"setTitle:",objj_msgSend(_63,"windowTitleForDocumentDisplayName:",objj_msgSend(_document,"displayName"))); +} +}),new objj_method(sel_getUid("windowTitleForDocumentDisplayName:"),function(_65,_66,_67){ +with(_65){ +return _67; +} +})]); +p;20;_CPCibClassSwapper.jt;1345;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jt;1274; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +var _1="_CPCibClassSwapperClassNameKey",_2="_CPCibClassSwapperOriginalClassNameKey"; +var _3=objj_allocateClassPair(CPObject,"_CPCibClassSwapper"),_4=_3.isa; +objj_registerClassPair(_3); +class_addMethods(_4,[new objj_method(sel_getUid("allocObjectWithCoder:className:"),function(_5,_6,_7,_8){ +with(_5){ +var _9=objj_msgSend(_7,"classForClassName:",_8); +if(!_9){ +_9=objj_lookUpClass(_8); +if(!_9){ +return nil; +} +} +return objj_msgSend(_9,"alloc"); +} +}),new objj_method(sel_getUid("allocWithCoder:"),function(_a,_b,_c){ +with(_a){ +if(objj_msgSend(_c,"respondsToSelector:",sel_getUid("usesOriginalClasses"))&&objj_msgSend(_c,"usesOriginalClasses")){ +var _d=objj_msgSend(_c,"decodeObjectForKey:",_2),_e=objj_msgSend(_a,"allocObjectWithCoder:className:",_c,_d); +}else{ +var _d=objj_msgSend(_c,"decodeObjectForKey:",_1),_e=objj_msgSend(_a,"allocObjectWithCoder:className:",_c,_d); +if(!_e){ +CPLog.error("Unable to find class "+_d+" in cib file."); +_e=objj_msgSend(_a,"allocObjectWithCoder:className:",_c,objj_msgSend(_c,"decodeObjectForKey:",_2)); +} +} +if(!_e){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Unable to find class "+_d+" in cib file."); +} +return _e; +} +})]); +p;20;_CPCibCustomObject.jt;1717;@STATIC;1.0;I;21;Foundation/CPObject.jt;1672; +objj_executeFile("Foundation/CPObject.j",NO); +var _1="_CPCibCustomObjectClassName"; +var _2=objj_allocateClassPair(CPObject,"_CPCibCustomObject"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_className")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("customClassName"),function(_4,_5){ +with(_4){ +return _className; +} +}),new objj_method(sel_getUid("setCustomClassName:"),function(_6,_7,_8){ +with(_6){ +_className=_8; +} +}),new objj_method(sel_getUid("description"),function(_9,_a){ +with(_9){ +return objj_msgSendSuper({receiver:_9,super_class:objj_getClass("_CPCibCustomObject").super_class},"description")+" ("+objj_msgSend(_9,"customClassName")+")"; +} +})]); +var _2=objj_getClass("_CPCibCustomObject"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibCustomObject\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_b,_c,_d){ +with(_b){ +_b=objj_msgSendSuper({receiver:_b,super_class:objj_getClass("_CPCibCustomObject").super_class},"init"); +if(_b){ +_className=objj_msgSend(_d,"decodeObjectForKey:",_1); +} +return _b; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_e,_f,_10){ +with(_e){ +objj_msgSend(_10,"encodeObject:forKey:",_className,_1); +} +}),new objj_method(sel_getUid("_cibInstantiate"),function(_11,_12){ +with(_11){ +var _13=CPClassFromString(_className); +if(_13===objj_msgSend(_11,"class")){ +_className="CPObject"; +return _11; +} +if(!_13){ +_13=objj_msgSend(CPObject,"class"); +} +if(_13===objj_msgSend(CPApplication,"class")){ +return objj_msgSend(CPApplication,"sharedApplication"); +} +return objj_msgSend(objj_msgSend(_13,"alloc"),"init"); +} +})]); +p;22;_CPCibCustomResource.jt;2919;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jt;2848; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +var _1="_CPCibCustomResourceClassNameKey",_2="_CPCibCustomResourceResourceNameKey",_3="_CPCibCustomResourcePropertiesKey"; +var _4=objj_allocateClassPair(CPObject,"_CPCibCustomResource"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_className"),new objj_ivar("_resourceName"),new objj_ivar("_properties")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("initWithClassName:resourceName:properties:"),function(_6,_7,_8,_9,_a){ +with(_6){ +_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("_CPCibCustomResource").super_class},"init"); +if(_6){ +_className=_8; +_resourceName=_9; +_properties=_a; +} +return _6; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_b,_c,_d){ +with(_b){ +_b=objj_msgSendSuper({receiver:_b,super_class:objj_getClass("_CPCibCustomResource").super_class},"init"); +if(_b){ +_className=objj_msgSend(_d,"decodeObjectForKey:",_1); +_resourceName=objj_msgSend(_d,"decodeObjectForKey:",_2); +_properties=objj_msgSend(_d,"decodeObjectForKey:",_3); +} +return _b; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_e,_f,_10){ +with(_e){ +objj_msgSend(_10,"encodeObject:forKey:",_className,_1); +objj_msgSend(_10,"encodeObject:forKey:",_resourceName,_2); +objj_msgSend(_10,"encodeObject:forKey:",_properties,_3); +} +}),new objj_method(sel_getUid("awakeAfterUsingCoder:"),function(_11,_12,_13){ +with(_11){ +if(objj_msgSend(_13,"respondsToSelector:",sel_getUid("bundle"))&&(!objj_msgSend(_13,"respondsToSelector:",sel_getUid("awakenCustomResources"))||objj_msgSend(_13,"awakenCustomResources"))){ +if(_className==="CPImage"){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(_13,"bundle"),"pathForResource:",_resourceName),_properties.valueForKey("size")); +} +} +return _11; +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("imageResourceWithName:size:"),function(_14,_15,_16,_17){ +with(_14){ +return objj_msgSend(objj_msgSend(_14,"alloc"),"initWithClassName:resourceName:properties:","CPImage",_16,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_17,"size")); +} +})]); +var _4=objj_getClass("_CPCibCustomResource"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibCustomResource\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("filename"),function(_18,_19){ +with(_18){ +return objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:",_resourceName); +} +}),new objj_method(sel_getUid("size"),function(_1a,_1b){ +with(_1a){ +return objj_msgSend(_properties,"objectForKey:","size"); +} +}),new objj_method(sel_getUid("isThreePartImage"),function(_1c,_1d){ +with(_1c){ +return NO; +} +}),new objj_method(sel_getUid("isNinePartImage"),function(_1e,_1f){ +with(_1e){ +return NO; +} +})]); +p;18;_CPCibCustomView.jt;2402;@STATIC;1.0;i;8;CPView.jt;2371; +objj_executeFile("CPView.j",YES); +var _1=objj_allocateClassPair(CPView,"_CPCibCustomView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_className")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("customClassName"),function(_3,_4){ +with(_3){ +return _className; +} +}),new objj_method(sel_getUid("setCustomClassName:"),function(_5,_6,_7){ +with(_5){ +if(_className===_7){ +return; +} +_className=_7; +objj_msgSend(_5,"setNeedsDisplay:",YES); +objj_msgSend(_5,"setNeedsLayout"); +} +})]); +var _8="_CPCibCustomViewClassNameKey"; +var _1=objj_getClass("_CPCibCustomView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibCustomView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_9,_a,_b){ +with(_9){ +_9=objj_msgSendSuper({receiver:_9,super_class:objj_getClass("_CPCibCustomView").super_class},"initWithCoder:",_b); +if(_9){ +_className=objj_msgSend(_b,"decodeObjectForKey:",_8); +} +return _9; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_c,_d,_e){ +with(_c){ +objj_msgSendSuper({receiver:_c,super_class:objj_getClass("_CPCibCustomView").super_class},"encodeWithCoder:",_e); +objj_msgSend(_e,"encodeObject:forKey:",_className,_8); +} +}),new objj_method(sel_getUid("customClassName"),function(_f,_10){ +with(_f){ +return _className; +} +}),new objj_method(sel_getUid("_cibInstantiate"),function(_11,_12){ +with(_11){ +var _13=CPClassFromString(_className); +if(!_13){ +_13=objj_msgSend(CPView,"class"); +} +if(_13===objj_msgSend(_11,"class")){ +_className="CPView"; +return _11; +} +var _14=objj_msgSend(objj_msgSend(_13,"alloc"),"initWithFrame:",objj_msgSend(_11,"frame")); +if(_14){ +objj_msgSend(_14,"setBounds:",objj_msgSend(_11,"bounds")); +var _15=objj_msgSend(_11,"subviews"),_16=0,_17=_15.length; +for(;_16<_17;++_16){ +objj_msgSend(_14,"addSubview:",_15[_16]); +} +objj_msgSend(_14,"setAutoresizingMask:",objj_msgSend(_11,"autoresizingMask")); +objj_msgSend(_14,"setAutoresizesSubviews:",objj_msgSend(_11,"autoresizesSubviews")); +objj_msgSend(_14,"setHitTests:",objj_msgSend(_11,"hitTests")); +objj_msgSend(_14,"setHidden:",objj_msgSend(_11,"isHidden")); +objj_msgSend(_14,"setAlphaValue:",objj_msgSend(_11,"alphaValue")); +objj_msgSend(_superview,"replaceSubview:with:",_11,_14); +objj_msgSend(_14,"setBackgroundColor:",objj_msgSend(_11,"backgroundColor")); +} +return _14; +} +})]); +p;23;_CPCibKeyedUnarchiver.jt;1485;@STATIC;1.0;I;30;Foundation/CPKeyedUnarchiver.jt;1431; +objj_executeFile("Foundation/CPKeyedUnarchiver.j",NO); +var _1=objj_allocateClassPair(CPKeyedUnarchiver,"_CPCibKeyedUnarchiver"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_bundle"),new objj_ivar("_awakenCustomResources"),new objj_ivar("_externalObjectsForProxyIdentifiers")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initForReadingWithData:bundle:awakenCustomResources:"),function(_3,_4,_5,_6,_7){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPCibKeyedUnarchiver").super_class},"initForReadingWithData:",_5); +if(_3){ +_bundle=_6; +_awakenCustomResources=_7; +objj_msgSend(_3,"setDelegate:",_3); +} +return _3; +} +}),new objj_method(sel_getUid("bundle"),function(_8,_9){ +with(_8){ +return _bundle; +} +}),new objj_method(sel_getUid("awakenCustomResources"),function(_a,_b){ +with(_a){ +return _awakenCustomResources; +} +}),new objj_method(sel_getUid("setExternalObjectsForProxyIdentifiers:"),function(_c,_d,_e){ +with(_c){ +_externalObjectsForProxyIdentifiers=_e; +} +}),new objj_method(sel_getUid("externalObjectForProxyIdentifier:"),function(_f,_10,_11){ +with(_f){ +return objj_msgSend(_externalObjectsForProxyIdentifiers,"objectForKey:",_11); +} +}),new objj_method(sel_getUid("replaceObjectAtUID:withObject:"),function(_12,_13,_14,_15){ +with(_12){ +_objects[_14]=_15; +} +}),new objj_method(sel_getUid("objectAtUID:"),function(_16,_17,_18){ +with(_16){ +return _objects[_18]; +} +})]); +p;18;_CPCibObjectData.jt;6216;@STATIC;1.0;I;20;Foundation/CPArray.jI;21;Foundation/CPObject.jI;21;Foundation/CPString.ji;7;CPCib.ji;16;CPCibConnector.ji;23;CPCibControlConnector.ji;22;CPCibOutletConnector.jt;6033; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPCib.j",YES); +objj_executeFile("CPCibConnector.j",YES); +objj_executeFile("CPCibControlConnector.j",YES); +objj_executeFile("CPCibOutletConnector.j",YES); +var _1=objj_allocateClassPair(CPObject,"_CPCibObjectData"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_namesKeys"),new objj_ivar("_namesValues"),new objj_ivar("_accessibilityConnectors"),new objj_ivar("_accessibilityOidsKeys"),new objj_ivar("_accessibilityOidsValues"),new objj_ivar("_classesKeys"),new objj_ivar("_classesValues"),new objj_ivar("_connections"),new objj_ivar("_fontManager"),new objj_ivar("_framework"),new objj_ivar("_nextOid"),new objj_ivar("_objectsKeys"),new objj_ivar("_objectsValues"),new objj_ivar("_oidKeys"),new objj_ivar("_oidValues"),new objj_ivar("_fileOwner"),new objj_ivar("_visibleWindows"),new objj_ivar("_replacementObjects")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPCibObjectData").super_class},"init"); +if(_3){ +_namesKeys=[]; +_namesValues=[]; +_classesKeys=[]; +_classesValues=[]; +_connections=[]; +_framework=""; +_nextOid=[]; +_objectsKeys=[]; +_objectsValues=[]; +_oidKeys=[]; +_oidValues=[]; +_fileOwner=nil; +_visibleWindows=objj_msgSend(CPSet,"set"); +} +return _3; +} +}),new objj_method(sel_getUid("displayVisibleWindows"),function(_5,_6){ +with(_5){ +var _7=nil,_8=objj_msgSend(_visibleWindows,"objectEnumerator"); +while(_7=objj_msgSend(_8,"nextObject")){ +objj_msgSend(_replacementObjects[objj_msgSend(_7,"UID")],"makeKeyAndOrderFront:",_5); +} +} +})]); +var _9="_CPCibObjectDataNamesKeysKey",_a="_CPCibObjectDataNamesValuesKey",_b="_CPCibObjectDataAccessibilityConnectors",_c="_CPCibObjectDataAccessibilityOidsKeys",_d="_CPCibObjectDataAccessibilityOidsValues",_e="_CPCibObjectDataClassesKeysKey",_f="_CPCibObjectDataClassesValuesKey",_10="_CPCibObjectDataConnectionsKey",_11="_CPCibObjectDataFontManagerKey",_12="_CPCibObjectDataFrameworkKey",_13="_CPCibObjectDataNextOidKey",_14="_CPCibObjectDataObjectsKeysKey",_15="_CPCibObjectDataObjectsValuesKey",_16="_CPCibObjectDataOidKeysKey",_17="_CPCibObjectDataOidValuesKey",_18="_CPCibObjectDataFileOwnerKey",_19="_CPCibObjectDataVisibleWindowsKey"; +var _1=objj_getClass("_CPCibObjectData"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibObjectData\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_1a,_1b,_1c){ +with(_1a){ +_1a=objj_msgSendSuper({receiver:_1a,super_class:objj_getClass("_CPCibObjectData").super_class},"init"); +if(_1a){ +_replacementObjects={}; +_namesKeys=objj_msgSend(_1c,"decodeObjectForKey:",_9); +_namesValues=objj_msgSend(_1c,"decodeObjectForKey:",_a); +_classesKeys=objj_msgSend(_1c,"decodeObjectForKey:",_e); +_classesValues=objj_msgSend(_1c,"decodeObjectForKey:",_f); +_connections=objj_msgSend(_1c,"decodeObjectForKey:",_10); +_framework=objj_msgSend(_1c,"decodeObjectForKey:",_12); +_nextOid=objj_msgSend(_1c,"decodeIntForKey:",_13); +_objectsKeys=objj_msgSend(_1c,"decodeObjectForKey:",_14); +_objectsValues=objj_msgSend(_1c,"decodeObjectForKey:",_15); +_oidKeys=objj_msgSend(_1c,"decodeObjectForKey:",_16); +_oidValues=objj_msgSend(_1c,"decodeObjectForKey:",_17); +_fileOwner=objj_msgSend(_1c,"decodeObjectForKey:",_18); +_visibleWindows=objj_msgSend(_1c,"decodeObjectForKey:",_19); +} +return _1a; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_1d,_1e,_1f){ +with(_1d){ +objj_msgSend(_1f,"encodeObject:forKey:",_namesKeys,_9); +objj_msgSend(_1f,"encodeObject:forKey:",_namesValues,_a); +objj_msgSend(_1f,"encodeObject:forKey:",_classesKeys,_e); +objj_msgSend(_1f,"encodeObject:forKey:",_classesValues,_f); +objj_msgSend(_1f,"encodeObject:forKey:",_connections,_10); +objj_msgSend(_1f,"encodeObject:forKey:",_framework,_12); +objj_msgSend(_1f,"encodeInt:forKey:",_nextOid,_13); +objj_msgSend(_1f,"encodeObject:forKey:",_objectsKeys,_14); +objj_msgSend(_1f,"encodeObject:forKey:",_objectsValues,_15); +objj_msgSend(_1f,"encodeObject:forKey:",_oidKeys,_16); +objj_msgSend(_1f,"encodeObject:forKey:",_oidValues,_17); +objj_msgSend(_1f,"encodeObject:forKey:",_fileOwner,_18); +objj_msgSend(_1f,"encodeObject:forKey:",_visibleWindows,_19); +} +}),new objj_method(sel_getUid("instantiateWithOwner:topLevelObjects:"),function(_20,_21,_22,_23){ +with(_20){ +var _24=objj_msgSend(_objectsKeys,"count"); +while(_24--){ +var _25=_objectsKeys[_24],_26=_objectsValues[_24],_27=_25; +if(objj_msgSend(_25,"respondsToSelector:",sel_getUid("_cibInstantiate"))){ +var _27=objj_msgSend(_25,"_cibInstantiate"); +if(_27!==_25){ +_replacementObjects[objj_msgSend(_25,"UID")]=_27; +if(objj_msgSend(_27,"isKindOfClass:",objj_msgSend(CPView,"class"))){ +var _28=objj_msgSend(_27,"superview"); +if(objj_msgSend(_28,"isKindOfClass:",objj_msgSend(CPClipView,"class"))){ +var _29=objj_msgSend(_28,"superview"); +if(objj_msgSend(_29,"isKindOfClass:",objj_msgSend(CPScrollView,"class"))){ +objj_msgSend(_29,"setDocumentView:",_27); +} +} +} +} +} +if(_23&&_26===_fileOwner&&_25!==_fileOwner){ +_23.push(_27); +} +} +} +}),new objj_method(sel_getUid("establishConnectionsWithOwner:topLevelObjects:"),function(_2a,_2b,_2c,_2d){ +with(_2a){ +_replacementObjects[objj_msgSend(_fileOwner,"UID")]=_2c; +var _2e=0,_2f=_connections.length; +for(;_2e<_2f;++_2e){ +var _30=_connections[_2e]; +objj_msgSend(_30,"replaceObjects:",_replacementObjects); +objj_msgSend(_30,"establishConnection"); +} +} +}),new objj_method(sel_getUid("awakeWithOwner:topLevelObjects:"),function(_31,_32,_33,_34){ +with(_31){ +var _35=objj_msgSend(_objectsKeys,"count"); +while(_35--){ +var _36=_objectsKeys[_35],_37=_replacementObjects[objj_msgSend(_36,"UID")]; +if(_37){ +_36=_37; +} +if(_36!==_33&&objj_msgSend(_36,"respondsToSelector:",sel_getUid("awakeFromCib"))){ +objj_msgSend(_36,"awakeFromCib"); +} +} +if(objj_msgSend(_33,"respondsToSelector:",sel_getUid("awakeFromCib"))){ +objj_msgSend(_33,"awakeFromCib"); +} +} +})]); +p;19;_CPCibProxyObject.jt;1009;@STATIC;1.0;I;21;Foundation/CPObject.jt;965; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"_CPCibProxyObject"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_identifier")]); +objj_registerClassPair(_1); +var _3="CPIdentifier"; +var _1=objj_getClass("_CPCibProxyObject"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibProxyObject\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("_CPCibProxyObject").super_class},"init"); +if(_4){ +_identifier=objj_msgSend(_6,"decodeObjectForKey:",_3); +} +if(objj_msgSend(_6,"respondsToSelector:",sel_getUid("externalObjectForProxyIdentifier:"))){ +return objj_msgSend(_6,"externalObjectForProxyIdentifier:",_identifier); +} +return _4; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_7,_8,_9){ +with(_7){ +objj_msgSend(_9,"encodeObject:forKey:",_identifier,_3); +} +})]); +p;22;_CPCibWindowTemplate.jt;4518;@STATIC;1.0;I;21;Foundation/CPObject.jt;4473; +objj_executeFile("Foundation/CPObject.j",NO); +var _1="_CPCibWindowTemplateMinSizeKey",_2="_CPCibWindowTemplateMaxSizeKey",_3="_CPCibWindowTemplateViewClassKey",_4="_CPCibWindowTemplateWindowClassKey",_5="_CPCibWindowTemplateWindowRectKey",_6="_CPCibWindowTempatStyleMaskKey",_7="_CPCibWindowTemplateWindowTitleKey",_8="_CPCibWindowTemplateWindowViewKey",_9="_CPCibWindowTemplateWindowAutorecalculatesKeyViewLoop"; +_CPCibWindowTemplateWindowIsFullPlatformWindowKey="_CPCibWindowTemplateWindowIsFullPlatformWindowKey"; +var _a=objj_allocateClassPair(CPObject,"_CPCibWindowTemplate"),_b=_a.isa; +class_addIvars(_a,[new objj_ivar("_minSize"),new objj_ivar("_maxSize"),new objj_ivar("_viewClass"),new objj_ivar("_windowClass"),new objj_ivar("_windowRect"),new objj_ivar("_windowStyleMask"),new objj_ivar("_windowTitle"),new objj_ivar("_windowView"),new objj_ivar("_windowAutorecalculatesKeyViewLoop"),new objj_ivar("_windowIsFullPlatformWindow")]); +objj_registerClassPair(_a); +class_addMethods(_a,[new objj_method(sel_getUid("init"),function(_c,_d){ +with(_c){ +_c=objj_msgSendSuper({receiver:_c,super_class:objj_getClass("_CPCibWindowTemplate").super_class},"init"); +if(_c){ +_windowClass="CPWindow"; +_windowRect=CGRectMake(0,0,400,200); +_windowStyleMask=CPTitledWindowMask|CPClosableWindowMask|CPMiniaturizableWindowMask|CPResizableWindowMask; +_windowTitle="Window"; +_windowView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,400,200)); +_windowIsFullPlatformWindow=NO; +} +return _c; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_e,_f,_10){ +with(_e){ +_e=objj_msgSendSuper({receiver:_e,super_class:objj_getClass("_CPCibWindowTemplate").super_class},"init"); +if(_e){ +if(objj_msgSend(_10,"containsValueForKey:",_1)){ +_minSize=objj_msgSend(_10,"decodeSizeForKey:",_1); +} +if(objj_msgSend(_10,"containsValueForKey:",_2)){ +_maxSize=objj_msgSend(_10,"decodeSizeForKey:",_2); +} +_viewClass=objj_msgSend(_10,"decodeObjectForKey:",_3); +_windowClass=objj_msgSend(_10,"decodeObjectForKey:",_4); +_windowRect=objj_msgSend(_10,"decodeRectForKey:",_5); +_windowStyleMask=objj_msgSend(_10,"decodeIntForKey:",_6); +_windowTitle=objj_msgSend(_10,"decodeObjectForKey:",_7); +_windowView=objj_msgSend(_10,"decodeObjectForKey:",_8); +_windowAutorecalculatesKeyViewLoop=!!objj_msgSend(_10,"decodeObjectForKey:",_9); +_windowIsFullPlatformWindow=!!objj_msgSend(_10,"decodeObjectForKey:",_CPCibWindowTemplateWindowIsFullPlatformWindowKey); +} +return _e; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_11,_12,_13){ +with(_11){ +if(_minSize){ +objj_msgSend(_13,"encodeSize:forKey:",_minSize,_1); +} +if(_maxSize){ +objj_msgSend(_13,"encodeSize:forKey:",_maxSize,_2); +} +objj_msgSend(_13,"encodeObject:forKey:",_viewClass,_3); +objj_msgSend(_13,"encodeObject:forKey:",_windowClass,_4); +objj_msgSend(_13,"encodeRect:forKey:",_windowRect,_5); +objj_msgSend(_13,"encodeInt:forKey:",_windowStyleMask,_6); +objj_msgSend(_13,"encodeObject:forKey:",_windowTitle,_7); +objj_msgSend(_13,"encodeObject:forKey:",_windowView,_8); +if(_windowAutorecalculatesKeyViewLoop){ +objj_msgSend(_13,"encodeObject:forKey:",_windowAutorecalculatesKeyViewLoop,_9); +} +if(_windowIsFullPlatformWindow){ +objj_msgSend(_13,"encodeObject:forKey:",_windowIsFullPlatformWindow,_CPCibWindowTemplateWindowIsFullPlatformWindowKey); +} +} +}),new objj_method(sel_getUid("customClassName"),function(_14,_15){ +with(_14){ +return _windowClass; +} +}),new objj_method(sel_getUid("setCustomClassName:"),function(_16,_17,_18){ +with(_16){ +_windowClass=_18; +} +}),new objj_method(sel_getUid("windowClass"),function(_19,_1a){ +with(_19){ +return _windowClass; +} +}),new objj_method(sel_getUid("_cibInstantiate"),function(_1b,_1c){ +with(_1b){ +var _1d=CPClassFromString(objj_msgSend(_1b,"windowClass")); +var _1e=objj_msgSend(objj_msgSend(_1d,"alloc"),"initWithContentRect:styleMask:",_windowRect,_windowStyleMask); +if(_minSize){ +objj_msgSend(_1e,"setMinSize:",_minSize); +} +if(_maxSize){ +objj_msgSend(_1e,"setMaxSize:",_maxSize); +} +objj_msgSend(_1e,"setTitle:",_windowTitle); +objj_msgSend(_windowView,"setAutoresizesSubviews:",NO); +objj_msgSend(_1e,"setContentView:",_windowView); +objj_msgSend(_windowView,"setAutoresizesSubviews:",YES); +if(objj_msgSend(_viewClass,"isKindOfClass:",objj_msgSend(CPToolbar,"class"))){ +objj_msgSend(_1e,"setToolbar:",_viewClass); +} +objj_msgSend(_1e,"setAutorecalculatesKeyViewLoop:",_windowAutorecalculatesKeyViewLoop); +objj_msgSend(_1e,"setFullBridge:",_windowIsFullPlatformWindow); +return _1e; +} +})]); +p;7;CPCib.jt;5447;@STATIC;1.0;I;21;Foundation/CPObject.jI;28;Foundation/CPURLConnection.jI;25;Foundation/CPURLRequest.ji;20;_CPCibClassSwapper.ji;20;_CPCibCustomObject.ji;22;_CPCibCustomResource.ji;18;_CPCibCustomView.ji;23;_CPCibKeyedUnarchiver.ji;18;_CPCibObjectData.ji;19;_CPCibProxyObject.ji;22;_CPCibWindowTemplate.jt;5137; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPURLConnection.j",NO); +objj_executeFile("Foundation/CPURLRequest.j",NO); +objj_executeFile("_CPCibClassSwapper.j",YES); +objj_executeFile("_CPCibCustomObject.j",YES); +objj_executeFile("_CPCibCustomResource.j",YES); +objj_executeFile("_CPCibCustomView.j",YES); +objj_executeFile("_CPCibKeyedUnarchiver.j",YES); +objj_executeFile("_CPCibObjectData.j",YES); +objj_executeFile("_CPCibProxyObject.j",YES); +objj_executeFile("_CPCibWindowTemplate.j",YES); +CPCibOwner="CPCibOwner",CPCibTopLevelObjects="CPCibTopLevelObjects",CPCibReplacementClasses="CPCibReplacementClasses",CPCibExternalObjects="CPCibExternalObjects"; +var _1="CPCibObjectDataKey"; +var _2=objj_allocateClassPair(CPObject,"CPCib"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_data"),new objj_ivar("_bundle"),new objj_ivar("_awakenCustomResources"),new objj_ivar("_loadDelegate")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithContentsOfURL:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPCib").super_class},"init"); +if(_4){ +_data=objj_msgSend(CPURLConnection,"sendSynchronousRequest:returningResponse:",objj_msgSend(CPURLRequest,"requestWithURL:",_6),nil); +_awakenCustomResources=YES; +} +return _4; +} +}),new objj_method(sel_getUid("initWithContentsOfURL:loadDelegate:"),function(_7,_8,_9,_a){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPCib").super_class},"init"); +if(_7){ +objj_msgSend(CPURLConnection,"connectionWithRequest:delegate:",objj_msgSend(CPURLRequest,"requestWithURL:",_9),_7); +_awakenCustomResources=YES; +_loadDelegate=_a; +} +return _7; +} +}),new objj_method(sel_getUid("initWithCibNamed:bundle:"),function(_b,_c,_d,_e){ +with(_b){ +if(!objj_msgSend(_d,"hasSuffix:",".cib")){ +_d=objj_msgSend(_d,"stringByAppendingString:",".cib"); +} +_b=objj_msgSend(_b,"initWithContentsOfURL:",objj_msgSend(_e||objj_msgSend(CPBundle,"mainBundle"),"pathForResource:",_d)); +if(_b){ +_bundle=_e; +} +return _b; +} +}),new objj_method(sel_getUid("initWithCibNamed:bundle:loadDelegate:"),function(_f,_10,_11,_12,_13){ +with(_f){ +if(!objj_msgSend(_11,"hasSuffix:",".cib")){ +_11=objj_msgSend(_11,"stringByAppendingString:",".cib"); +} +_f=objj_msgSend(_f,"initWithContentsOfURL:loadDelegate:",objj_msgSend(_12||objj_msgSend(CPBundle,"mainBundle"),"pathForResource:",_11),_13); +if(_f){ +_bundle=_12; +} +return _f; +} +}),new objj_method(sel_getUid("_setAwakenCustomResources:"),function(_14,_15,_16){ +with(_14){ +_awakenCustomResources=_16; +} +}),new objj_method(sel_getUid("_awakenCustomResources"),function(_17,_18){ +with(_17){ +return _awakenCustomResources; +} +}),new objj_method(sel_getUid("instantiateCibWithExternalNameTable:"),function(_19,_1a,_1b){ +with(_19){ +var _1c=_bundle,_1d=objj_msgSend(_1b,"objectForKey:",CPCibOwner); +if(!_1c&&_1d){ +_1c=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_1d,"class")); +} +var _1e=objj_msgSend(objj_msgSend(_CPCibKeyedUnarchiver,"alloc"),"initForReadingWithData:bundle:awakenCustomResources:",_data,_1c,_awakenCustomResources),_1f=objj_msgSend(_1b,"objectForKey:",CPCibReplacementClasses); +if(_1f){ +var key=nil,_20=objj_msgSend(_1f,"keyEnumerator"); +while(key=objj_msgSend(_20,"nextObject")){ +objj_msgSend(_1e,"setClass:forClassName:",objj_msgSend(_1f,"objectForKey:",key),key); +} +} +objj_msgSend(_1e,"setExternalObjectsForProxyIdentifiers:",objj_msgSend(_1b,"objectForKey:",CPCibExternalObjects)); +var _21=objj_msgSend(_1e,"decodeObjectForKey:",_1); +if(!_21||!objj_msgSend(_21,"isKindOfClass:",objj_msgSend(_CPCibObjectData,"class"))){ +return NO; +} +var _22=objj_msgSend(_1b,"objectForKey:",CPCibTopLevelObjects); +objj_msgSend(_21,"instantiateWithOwner:topLevelObjects:",_1d,_22); +objj_msgSend(_21,"establishConnectionsWithOwner:topLevelObjects:",_1d,_22); +objj_msgSend(_21,"awakeWithOwner:topLevelObjects:",_1d,_22); +objj_msgSend(_21,"displayVisibleWindows"); +return YES; +} +}),new objj_method(sel_getUid("instantiateCibWithOwner:topLevelObjects:"),function(_23,_24,_25,_26){ +with(_23){ +return objj_msgSend(_23,"instantiateCibWithExternalNameTable:",objj_msgSend(CPDictionary,"dictionaryWithObjectsAndKeys:",_25,CPCibOwner,_26,CPCibTopLevelObjects)); +} +})]); +var _2=objj_getClass("CPCib"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPCib\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("connection:didReceiveData:"),function(_27,_28,_29,_2a){ +with(_27){ +if(!_2a){ +return objj_msgSend(_27,"connection:didFailWithError:",_29,nil); +} +_data=objj_msgSend(CPData,"dataWithRawString:",_2a); +} +}),new objj_method(sel_getUid("connection:didFailWithError:"),function(_2b,_2c,_2d,_2e){ +with(_2b){ +if(objj_msgSend(_loadDelegate,"respondsToSelector:",sel_getUid("cibDidFailToLoad:"))){ +objj_msgSend(_loadDelegate,"cibDidFailToLoad:",_2b); +} +_loadDelegate=nil; +} +}),new objj_method(sel_getUid("connectionDidFinishLoading:"),function(_2f,_30,_31){ +with(_2f){ +if(objj_msgSend(_loadDelegate,"respondsToSelector:",sel_getUid("cibDidFinishLoading:"))){ +objj_msgSend(_loadDelegate,"cibDidFinishLoading:",_2f); +} +_loadDelegate=nil; +} +})]); +p;16;CPCibConnector.jt;2363;@STATIC;1.0;I;21;Foundation/CPObject.jI;29;Foundation/CPKeyValueCoding.jt;2284; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPKeyValueCoding.j",NO); +var _1="_CPCibConnectorSourceKey",_2="_CPCibConnectorDestinationKey",_3="_CPCibConnectorLabelKey"; +var _4=objj_allocateClassPair(CPObject,"CPCibConnector"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_source"),new objj_ivar("_destination"),new objj_ivar("_label")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("source"),function(_6,_7){ +with(_6){ +return _source; +} +}),new objj_method(sel_getUid("setSource:"),function(_8,_9,_a){ +with(_8){ +_source=_a; +} +}),new objj_method(sel_getUid("destination"),function(_b,_c){ +with(_b){ +return _destination; +} +}),new objj_method(sel_getUid("setDestination:"),function(_d,_e,_f){ +with(_d){ +_destination=_f; +} +}),new objj_method(sel_getUid("label"),function(_10,_11){ +with(_10){ +return _label; +} +}),new objj_method(sel_getUid("setLabel:"),function(_12,_13,_14){ +with(_12){ +_label=_14; +} +}),new objj_method(sel_getUid("replaceObject:withObject:"),function(_15,_16,_17,_18){ +with(_15){ +if(_source===_17){ +_source=_18; +} +if(_destination===_17){ +_destination=_18; +} +} +}),new objj_method(sel_getUid("replaceObjects:"),function(_19,_1a,_1b){ +with(_19){ +var _1c=_1b[objj_msgSend(_source,"UID")]; +if(_1c!==undefined){ +_source=_1c; +} +_1c=_1b[objj_msgSend(_destination,"UID")]; +if(_1c!==undefined){ +_destination=_1c; +} +} +})]); +var _4=objj_getClass("CPCibConnector"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"CPCibConnector\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("initWithCoder:"),function(_1d,_1e,_1f){ +with(_1d){ +_1d=objj_msgSendSuper({receiver:_1d,super_class:objj_getClass("CPCibConnector").super_class},"init"); +if(_1d){ +_source=objj_msgSend(_1f,"decodeObjectForKey:",_1); +_destination=objj_msgSend(_1f,"decodeObjectForKey:",_2); +_label=objj_msgSend(_1f,"decodeObjectForKey:",_3); +} +return _1d; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_20,_21,_22){ +with(_20){ +objj_msgSend(_22,"encodeObject:forKey:",_source,_1); +objj_msgSend(_22,"encodeObject:forKey:",_destination,_2); +objj_msgSend(_22,"encodeObject:forKey:",_label,_3); +} +})]); +var _4=objj_allocateClassPair(CPCibConnector,"_CPCibConnector"),_5=_4.isa; +objj_registerClassPair(_4); +p;23;CPCibControlConnector.jt;1534;@STATIC;1.0;i;16;CPCibConnector.jt;1494; +objj_executeFile("CPCibConnector.j",YES); +var _1=objj_allocateClassPair(CPCibConnector,"CPCibControlConnector"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("establishConnection"),function(_3,_4){ +with(_3){ +var _5=_label,_6=objj_msgSend(_5,"length"); +if(_6&&_5.charAt(_6-1)!==":"){ +_5+=":"; +} +var _7=CPSelectorFromString(_5); +if(!_7){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"-["+objj_msgSend(_3,"className")+" "+_4+"] selector "+_5+" does not exist."); +} +if(_destination&&!objj_msgSend(_destination,"respondsToSelector:",_7)){ +CPLog.warn("Could not connect the action "+_7+" to target of class "+objj_msgSend(_destination,"className")); +return; +} +if(objj_msgSend(_source,"respondsToSelector:",sel_getUid("setAction:"))){ +objj_msgSend(_source,sel_getUid("setAction:"),_7); +}else{ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"-["+objj_msgSend(_3,"className")+" "+_4+"] "+objj_msgSend(_source,"description")+" does not respond to setAction:"); +} +if(objj_msgSend(_source,"respondsToSelector:",sel_getUid("setTarget:"))){ +objj_msgSend(_source,sel_getUid("setTarget:"),_destination); +}else{ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"-["+objj_msgSend(_3,"className")+" "+_4+"] "+objj_msgSend(_source,"description")+" does not respond to setTarget:"); +} +} +})]); +var _1=objj_allocateClassPair(CPCibControlConnector,"_CPCibControlConnector"),_2=_1.isa; +objj_registerClassPair(_1); +p;14;CPCibLoading.jt;3540;@STATIC;1.0;I;21;Foundation/CPBundle.jI;25;Foundation/CPDictionary.jI;21;Foundation/CPString.jt;3439; +objj_executeFile("Foundation/CPBundle.j",NO); +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +var _1="CPCibOwner"; +var _2=objj_getClass("CPObject"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPObject\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("awakeFromCib"),function(_4,_5){ +with(_4){ +} +})]); +var _2=objj_getClass("CPBundle"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPBundle\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("loadCibFile:externalNameTable:"),function(_6,_7,_8,_9){ +with(_6){ +objj_msgSend(objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithContentsOfURL:",_8),"instantiateCibWithExternalNameTable:",_9); +} +}),new objj_method(sel_getUid("loadCibFile:externalNameTable:loadDelegate:"),function(_a,_b,_c,_d,_e){ +with(_a){ +objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithCibNamed:bundle:loadDelegate:",_c,_a,objj_msgSend(objj_msgSend(_CPCibLoadDelegate,"alloc"),"initWithLoadDelegate:externalNameTable:",_e,_d)); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("loadCibFile:externalNameTable:"),function(_f,_10,_11,_12){ +with(_f){ +objj_msgSend(objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithContentsOfURL:",_11),"instantiateCibWithExternalNameTable:",_12); +} +}),new objj_method(sel_getUid("loadCibNamed:owner:"),function(_13,_14,_15,_16){ +with(_13){ +if(!objj_msgSend(_15,"hasSuffix:",".cib")){ +_15=objj_msgSend(_15,"stringByAppendingString:",".cib"); +} +var _17=_16?objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_16,"class")):objj_msgSend(CPBundle,"mainBundle"),_18=objj_msgSend(_17,"pathForResource:",_15); +objj_msgSend(_13,"loadCibFile:externalNameTable:",_18,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_16,_1)); +} +}),new objj_method(sel_getUid("loadCibFile:externalNameTable:loadDelegate:"),function(_19,_1a,_1b,_1c,_1d){ +with(_19){ +objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithContentsOfURL:loadDelegate:",_1b,objj_msgSend(objj_msgSend(_CPCibLoadDelegate,"alloc"),"initWithLoadDelegate:externalNameTable:",_1d,_1c)); +} +}),new objj_method(sel_getUid("loadCibNamed:owner:loadDelegate:"),function(_1e,_1f,_20,_21,_22){ +with(_1e){ +if(!objj_msgSend(_20,"hasSuffix:",".cib")){ +_20=objj_msgSend(_20,"stringByAppendingString:",".cib"); +} +var _23=_21?objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_21,"class")):objj_msgSend(CPBundle,"mainBundle"),_24=objj_msgSend(_23,"pathForResource:",_20); +objj_msgSend(_1e,"loadCibFile:externalNameTable:loadDelegate:",_24,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_21,_1),_22); +} +})]); +var _2=objj_allocateClassPair(CPObject,"_CPCibLoadDelegate"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_loadDelegate"),new objj_ivar("_externalNameTable")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithLoadDelegate:externalNameTable:"),function(_25,_26,_27,_28){ +with(_25){ +_25=objj_msgSend(_25,"init"); +if(_25){ +_loadDelegate=_27; +_externalNameTable=_28; +} +return _25; +} +}),new objj_method(sel_getUid("cibDidFinishLoading:"),function(_29,_2a,_2b){ +with(_29){ +objj_msgSend(_2b,"instantiateCibWithExternalNameTable:",_externalNameTable); +objj_msgSend(_loadDelegate,"cibDidFinishLoading:",_2b); +} +}),new objj_method(sel_getUid("cibDidFailToLoad:"),function(_2c,_2d,_2e){ +with(_2c){ +objj_msgSend(_loadDelegate,"cibDidFailToLoad:",_2e); +} +})]); +p;22;CPCibOutletConnector.jt;703;@STATIC;1.0;i;16;CPCibConnector.jt;664; +objj_executeFile("CPCibConnector.j",YES); +var _1=objj_allocateClassPair(CPCibConnector,"CPCibOutletConnector"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("establishConnection"),function(_3,_4){ +with(_3){ +try{ +objj_msgSend(_source,"setValue:forKey:",_destination,_label); +} +catch(anException){ +if(objj_msgSend(anException,"name")===CPUndefinedKeyException){ +CPLog.warn("Could not connect the outlet "+_label+" of target of class "+objj_msgSend(_source,"className")); +}else{ +throw anException; +} +} +} +})]); +var _1=objj_allocateClassPair(CPCibOutletConnector,"_CPCibOutletConnector"),_2=_1.isa; +objj_registerClassPair(_1); +p;13;CAAnimation.jt;3814;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.ji;23;CAMediaTimingFunction.jt;3715; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CAMediaTimingFunction.j",YES); +var _1=objj_allocateClassPair(CPObject,"CAAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_isRemovedOnCompletion"),new objj_ivar("_delegate")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CAAnimation").super_class},"init"); +if(_3){ +_isRemovedOnCompletion=YES; +} +return _3; +} +}),new objj_method(sel_getUid("shouldArchiveValueForKey:"),function(_5,_6,_7){ +with(_5){ +return YES; +} +}),new objj_method(sel_getUid("setRemovedOnCompletion:"),function(_8,_9,_a){ +with(_8){ +_isRemovedOnCompletion=_a; +} +}),new objj_method(sel_getUid("removedOnCompletion"),function(_b,_c){ +with(_b){ +return _isRemovedOnCompletion; +} +}),new objj_method(sel_getUid("isRemovedOnCompletion"),function(_d,_e){ +with(_d){ +return _isRemovedOnCompletion; +} +}),new objj_method(sel_getUid("timingFunction"),function(_f,_10){ +with(_f){ +return nil; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_11,_12,_13){ +with(_11){ +_delegate=_13; +} +}),new objj_method(sel_getUid("delegate"),function(_14,_15){ +with(_14){ +return _delegate; +} +}),new objj_method(sel_getUid("runActionForKey:object:arguments:"),function(_16,_17,_18,_19,_1a){ +with(_16){ +objj_msgSend(_19,"addAnimation:forKey:",_16,_18); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("animation"),function(_1b,_1c){ +with(_1b){ +return objj_msgSend(objj_msgSend(_1b,"alloc"),"init"); +} +}),new objj_method(sel_getUid("defaultValueForKey:"),function(_1d,_1e,_1f){ +with(_1d){ +return nil; +} +})]); +var _1=objj_allocateClassPair(CAAnimation,"CAPropertyAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_keyPath"),new objj_ivar("_isCumulative"),new objj_ivar("_isAdditive")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setKeyPath:"),function(_20,_21,_22){ +with(_20){ +_keyPath=_22; +} +}),new objj_method(sel_getUid("keyPath"),function(_23,_24){ +with(_23){ +return _keyPath; +} +}),new objj_method(sel_getUid("setCumulative:"),function(_25,_26,_27){ +with(_25){ +_isCumulative=_27; +} +}),new objj_method(sel_getUid("cumulative"),function(_28,_29){ +with(_28){ +return _isCumulative; +} +}),new objj_method(sel_getUid("isCumulative"),function(_2a,_2b){ +with(_2a){ +return _isCumulative; +} +}),new objj_method(sel_getUid("setAdditive:"),function(_2c,_2d,_2e){ +with(_2c){ +_isAdditive=_2e; +} +}),new objj_method(sel_getUid("additive"),function(_2f,_30){ +with(_2f){ +return _isAdditive; +} +}),new objj_method(sel_getUid("isAdditive"),function(_31,_32){ +with(_31){ +return _isAdditive; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("animationWithKeyPath:"),function(_33,_34,_35){ +with(_33){ +var _36=objj_msgSend(_33,"animation"); +objj_msgSend(_36,"setKeyPath:",_35); +return _36; +} +})]); +var _1=objj_allocateClassPair(CAPropertyAnimation,"CABasicAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_fromValue"),new objj_ivar("_toValue"),new objj_ivar("_byValue")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setFromValue:"),function(_37,_38,_39){ +with(_37){ +_fromValue=_39; +} +}),new objj_method(sel_getUid("fromValue"),function(_3a,_3b){ +with(_3a){ +return _fromValue; +} +}),new objj_method(sel_getUid("setToValue:"),function(_3c,_3d,_3e){ +with(_3c){ +_toValue=_3e; +} +}),new objj_method(sel_getUid("toValue"),function(_3f,_40){ +with(_3f){ +return _toValue; +} +}),new objj_method(sel_getUid("setByValue:"),function(_41,_42,_43){ +with(_41){ +_byValue=_43; +} +}),new objj_method(sel_getUid("byValue"),function(_44,_45){ +with(_44){ +return _byValue; +} +})]); +p;16;CABackingStore.jt;737;@STATIC;1.0;i;12;CGGeometry.ji;17;CPCompatibility.jt;680; +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPCompatibility.j",YES); +CABackingStoreGetContext=function(_1){ +return _1.context; +}; +if(CPFeatureIsCompatible(CPHTMLCanvasFeature)){ +CABackingStoreCreate=function(){ +var _2=document.createElement("canvas"); +_2.style.position="absolute"; +return {context:_2.getContext("2d"),buffer:_2,_image:_2}; +}; +CABackingStoreSetSize=function(_3,_4){ +var _5=_3.buffer; +_5.width=_4.width; +_5.height=_4.height; +_5.style.width=_4.width+"px"; +_5.style.height=_4.height+"px"; +}; +}else{ +CABackingStoreCreate=function(){ +var _6=CGBitmapGraphicsContextCreate(); +_6.buffer=""; +return {context:_6}; +}; +CABackingStoreSetSize=function(_7,_8){ +}; +} +p;14;CAFlashLayer.jt;851;@STATIC;1.0;i;9;CALayer.ji;14;CPFlashMovie.jt;801; +objj_executeFile("CALayer.j",YES); +objj_executeFile("CPFlashMovie.j",YES); +var _1=objj_allocateClassPair(CALayer,"CAFlashLayer"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_flashMovie")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setFlashMovie:"),function(_3,_4,_5){ +with(_3){ +if(_flashMovie==_5){ +return; +} +_flashMovie=_5; +_DOMElement.innerHTML=""; +} +}),new objj_method(sel_getUid("flashMovie"),function(_6,_7){ +with(_6){ +return _flashMovie; +} +})]); +p;9;CALayer.jt;24760;@STATIC;1.0;I;21;Foundation/CPObject.jI;23;AppKit/CABackingStore.jI;18;AppKit/CGContext.jI;19;AppKit/CGGeometry.ji;12;CGGeometry.jt;24622; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("AppKit/CABackingStore.j",NO); +objj_executeFile("AppKit/CGContext.j",NO); +objj_executeFile("AppKit/CGGeometry.j",NO); +objj_executeFile("CGGeometry.j",YES); +CGAffineTransformMake=function(a,b,c,d,tx,ty){ +return {a:a,b:b,c:c,d:d,tx:tx,ty:ty}; +}; +CGAffineTransformMakeIdentity=function(){ +return {a:1,b:0,c:0,d:1,tx:0,ty:0}; +}; +CGAffineTransformMakeCopy=function(_1){ +return {a:_1.a,b:_1.b,c:_1.c,d:_1.d,tx:_1.tx,ty:_1.ty}; +}; +CGAffineTransformMakeScale=function(sx,sy){ +return {a:sx,b:0,c:0,d:sy,tx:0,ty:0}; +}; +CGAffineTransformMakeTranslation=function(tx,ty){ +return {a:1,b:0,c:0,d:1,tx:tx,ty:ty}; +}; +CGAffineTransformTranslate=function(_2,tx,ty){ +return {a:_2.a,b:_2.b,c:_2.c,d:_2.d,tx:_2.tx+_2.a*tx+_2.c*ty,ty:_2.ty+_2.b*tx+_2.d*ty}; +}; +CGAffineTransformScale=function(_3,sx,sy){ +return {a:_3.a*sx,b:_3.b*sx,c:_3.c*sy,d:_3.d*sy,tx:_3.tx,ty:_3.ty}; +}; +CGAffineTransformConcat=function(_4,_5){ +return {a:_4.a*_5.a+_4.b*_5.c,b:_4.a*_5.b+_4.b*_5.d,c:_4.c*_5.a+_4.d*_5.c,d:_4.c*_5.b+_4.d*_5.d,tx:_4.tx*_5.a+_4.ty*_5.c+_5.tx,ty:_4.tx*_5.b+_4.ty*_5.d+_5.ty}; +}; +CGPointApplyAffineTransform=function(_6,_7){ +return {x:_6.x*_7.a+_6.y*_7.c+_7.tx,y:_6.x*_7.b+_6.y*_7.d+_7.ty}; +}; +CGSizeApplyAffineTransform=function(_8,_9){ +return {width:_8.width*_9.a+_8.height*_9.c,height:_8.width*_9.b+_8.height*_9.d}; +}; +CGAffineTransformIsIdentity=function(_a){ +return (_a.a==1&&_a.b==0&&_a.c==0&&_a.d==1&&_a.tx==0&&_a.ty==0); +}; +CGAffineTransformEqualToTransform=function(_b,_c){ +return (_b.a==_c.a&&_b.b==_c.b&&_b.c==_c.c&&_b.d==_c.d&&_b.tx==_c.tx&&_b.ty==_c.ty); +}; +CGStringCreateWithCGAffineTransform=function(_d){ +return (" [[ "+_d.a+", "+_d.b+", 0 ], [ "+_d.c+", "+_d.d+", 0 ], [ "+_d.tx+", "+_d.ty+", 1]]"); +}; +CGAffineTransformCreateCopy=function(_e){ +return {a:_e.a,b:_e.b,c:_e.c,d:_e.d,tx:_e.tx,ty:_e.ty}; +}; +CGAffineTransformMakeRotation=function(_f){ +var sin=SIN(_f),cos=COS(_f); +return {a:cos,b:sin,c:-sin,d:cos,tx:0,ty:0}; +}; +CGAffineTransformRotate=function(_10,_11){ +var sin=SIN(_11),cos=COS(_11); +return {a:_10.a*cos+_10.c*sin,b:_10.b*cos+_10.d*sin,c:_10.c*cos-_10.a*sin,d:_10.d*cos-_10.b*sin,tx:_10.tx,ty:_10.ty}; +}; +CGAffineTransformInvert=function(_12){ +var _13=1/(_12.a*_12.d-_12.b*_12.c); +return {a:_13*_12.d,b:-_13*_12.b,c:-_13*_12.c,d:_13*_12.a,tx:_13*(_12.c*_12.ty-_12.d*_12.tx),ty:_13*(_12.b*_12.tx-_12.a*_12.ty)}; +}; +CGRectApplyAffineTransform=function(_14,_15){ +var top=(_14.origin.y),_16=(_14.origin.x),_17=(_14.origin.x+_14.size.width),_18=(_14.origin.y+_14.size.height),_19=CGPointApplyAffineTransform({x:_16,y:top},_15),_1a=CGPointApplyAffineTransform({x:_17,y:top},_15),_1b=CGPointApplyAffineTransform({x:_16,y:_18},_15),_1c=CGPointApplyAffineTransform({x:_17,y:_18},_15),_1d=MIN(_19.x,_1a.x,_1b.x,_1c.x),_1e=MAX(_19.x,_1a.x,_1b.x,_1c.x),_1f=MIN(_19.y,_1a.y,_1b.y,_1c.y),_20=MAX(_19.y,_1a.y,_1b.y,_1c.y); +return {origin:{x:_1d,y:_1f},size:{width:(_1e-_1d),height:(_20-_1f)}}; +}; +CPStringFromCGAffineTransform=function(_21){ +return "{"+_21.a+", "+_21.b+", "+_21.c+", "+_21.d+", "+_21.tx+", "+_21.ty+"}"; +}; +var _22=1,_23=2,_24=4,_25=8,_26=16; +var _27=NO; +var _28=1,_29=2,_2a=4,_2b=8,_2c=16,_2d=_2a|_28|_29; +var _2e=nil; +var _2f=objj_allocateClassPair(CPObject,"CALayer"),_30=_2f.isa; +class_addIvars(_2f,[new objj_ivar("_frame"),new objj_ivar("_bounds"),new objj_ivar("_position"),new objj_ivar("_zPosition"),new objj_ivar("_anchorPoint"),new objj_ivar("_affineTransform"),new objj_ivar("_sublayerTransform"),new objj_ivar("_sublayerTransformForSublayers"),new objj_ivar("_backingStoreFrame"),new objj_ivar("_standardBackingStoreFrame"),new objj_ivar("_hasSublayerTransform"),new objj_ivar("_hasCustomBackingStoreFrame"),new objj_ivar("_opacity"),new objj_ivar("_isHidden"),new objj_ivar("_backgroundColor"),new objj_ivar("_superlayer"),new objj_ivar("_sublayers"),new objj_ivar("_runLoopUpdateMask"),new objj_ivar("_needsDisplayOnBoundsChange"),new objj_ivar("_delegate"),new objj_ivar("_delegateRespondsToDisplayLayerSelector"),new objj_ivar("_delegateRespondsToDrawLayerInContextSelector"),new objj_ivar("_DOMElement"),new objj_ivar("_DOMContentsElement"),new objj_ivar("_contents"),new objj_ivar("_context"),new objj_ivar("_owningView"),new objj_ivar("_transformToLayer"),new objj_ivar("_transformFromLayer")]); +objj_registerClassPair(_2f); +class_addMethods(_2f,[new objj_method(sel_getUid("init"),function(_31,_32){ +with(_31){ +_31=objj_msgSendSuper({receiver:_31,super_class:objj_getClass("CALayer").super_class},"init"); +if(_31){ +_frame=CGRectMakeZero(); +_backingStoreFrame=CGRectMakeZero(); +_standardBackingStoreFrame=CGRectMakeZero(); +_bounds=CGRectMakeZero(); +_position=CGPointMakeZero(); +_zPosition=0; +_anchorPoint=CGPointMake(0.5,0.5); +_affineTransform=CGAffineTransformMakeIdentity(); +_sublayerTransform=CGAffineTransformMakeIdentity(); +_transformToLayer=CGAffineTransformMakeIdentity(); +_transformFromLayer=CGAffineTransformMakeIdentity(); +_opacity=1; +_isHidden=NO; +_masksToBounds=NO; +_sublayers=[]; +_DOMElement=document.createElement("div"); +_DOMElement.style.overflow="visible"; +_DOMElement.style.position="absolute"; +_DOMElement.style.visibility="visible"; +_DOMElement.style.top="0px"; +_DOMElement.style.left="0px"; +_DOMElement.style.zIndex=0; +_DOMElement.style.width="0px"; +_DOMElement.style.height="0px"; +} +return _31; +} +}),new objj_method(sel_getUid("setBounds:"),function(_33,_34,_35){ +with(_33){ +if(CGRectEqualToRect(_bounds,_35)){ +return; +} +var _36=_bounds.origin; +_bounds={origin:{x:_35.origin.x,y:_35.origin.y},size:{width:_35.size.width,height:_35.size.height}}; +if(_hasSublayerTransform){ +_CALayerUpdateSublayerTransformForSublayers(_33); +} +_CALayerRecalculateGeometry(_33,_22); +} +}),new objj_method(sel_getUid("bounds"),function(_37,_38){ +with(_37){ +return _bounds; +} +}),new objj_method(sel_getUid("setPosition:"),function(_39,_3a,_3b){ +with(_39){ +if(CGPointEqualToPoint(_position,_3b)){ +return; +} +_position={x:_3b.x,y:_3b.y}; +_CALayerRecalculateGeometry(_39,_23); +} +}),new objj_method(sel_getUid("position"),function(_3c,_3d){ +with(_3c){ +return _position; +} +}),new objj_method(sel_getUid("setZPosition:"),function(_3e,_3f,_40){ +with(_3e){ +if(_zPosition==_40){ +return; +} +_zPosition=_40; +objj_msgSend(_3e,"registerRunLoopUpdateWithMask:",_2a); +} +}),new objj_method(sel_getUid("setAnchorPoint:"),function(_41,_42,_43){ +with(_41){ +_43={x:_43.x,y:_43.y}; +_43.x=MIN(1,MAX(0,_43.x)); +_43.y=MIN(1,MAX(0,_43.y)); +if(CGPointEqualToPoint(_anchorPoint,_43)){ +return; +} +_anchorPoint=_43; +if(_hasSublayerTransform){ +_CALayerUpdateSublayerTransformForSublayers(_41); +} +if(_owningView){ +_position=CGPointMake((_bounds.size.width)*_anchorPoint.x,(_bounds.size.height)*_anchorPoint.y); +} +_CALayerRecalculateGeometry(_41,_24); +} +}),new objj_method(sel_getUid("anchorPoint"),function(_44,_45){ +with(_44){ +return _anchorPoint; +} +}),new objj_method(sel_getUid("setAffineTransform:"),function(_46,_47,_48){ +with(_46){ +if(CGAffineTransformEqualToTransform(_affineTransform,_48)){ +return; +} +_affineTransform={a:_48.a,b:_48.b,c:_48.c,d:_48.d,tx:_48.tx,ty:_48.ty}; +_CALayerRecalculateGeometry(_46,_25); +} +}),new objj_method(sel_getUid("affineTransform"),function(_49,_4a){ +with(_49){ +return _affineTransform; +} +}),new objj_method(sel_getUid("setSublayerTransform:"),function(_4b,_4c,_4d){ +with(_4b){ +if(CGAffineTransformEqualToTransform(_sublayerTransform,_4d)){ +return; +} +var _4e=_hasSublayerTransform; +_sublayerTransform={a:_4d.a,b:_4d.b,c:_4d.c,d:_4d.d,tx:_4d.tx,ty:_4d.ty}; +_hasSublayerTransform=!(_sublayerTransform.a==1&&_sublayerTransform.b==0&&_sublayerTransform.c==0&&_sublayerTransform.d==1&&_sublayerTransform.tx==0&&_sublayerTransform.ty==0); +if(_hasSublayerTransform){ +_CALayerUpdateSublayerTransformForSublayers(_4b); +var _4f=_sublayers.length; +while(_4f--){ +_CALayerRecalculateGeometry(_sublayers[_4f],_26); +} +} +} +}),new objj_method(sel_getUid("sublayerTransform"),function(_50,_51){ +with(_50){ +return _sublayerTransform; +} +}),new objj_method(sel_getUid("transformToLayer"),function(_52,_53){ +with(_52){ +return _transformToLayer; +} +}),new objj_method(sel_getUid("setFrame:"),function(_54,_55,_56){ +with(_54){ +alert("FIXME IMPLEMENT"); +} +}),new objj_method(sel_getUid("frame"),function(_57,_58){ +with(_57){ +if(!_frame){ +_frame=objj_msgSend(_57,"convertRect:toLayer:",_bounds,_superlayer); +} +return _frame; +} +}),new objj_method(sel_getUid("backingStoreFrame"),function(_59,_5a){ +with(_59){ +return _backingStoreFrame; +} +}),new objj_method(sel_getUid("setBackingStoreFrame:"),function(_5b,_5c,_5d){ +with(_5b){ +_hasCustomBackingStoreFrame=(_5d!=nil); +if(_5d==nil){ +_5d=CGRectMakeCopy(_standardBackingStoreFrame); +}else{ +if(_superlayer){ +_5d=objj_msgSend(_superlayer,"convertRect:toLayer:",_5d,nil); +var _5e=objj_msgSend(_superlayer,"bounds"),_5f=objj_msgSend(_superlayer,"convertRect:toLayer:",_5e,nil); +_5d.origin.x-=(_5f.origin.x); +_5d.origin.y-=(_5f.origin.y); +}else{ +_5d=CGRectMakeCopy(_5d); +} +} +if(!CGPointEqualToPoint(_backingStoreFrame.origin,_5d.origin)){ +objj_msgSend(_5b,"registerRunLoopUpdateWithMask:",_28); +} +if(!CGSizeEqualToSize(_backingStoreFrame.size,_5d.size)){ +objj_msgSend(_5b,"registerRunLoopUpdateWithMask:",_29); +} +_backingStoreFrame=_5d; +} +}),new objj_method(sel_getUid("contents"),function(_60,_61){ +with(_60){ +return _contents; +} +}),new objj_method(sel_getUid("setContents:"),function(_62,_63,_64){ +with(_62){ +if(_contents==_64){ +return; +} +_contents=_64; +objj_msgSend(_62,"composite"); +} +}),new objj_method(sel_getUid("composite"),function(_65,_66){ +with(_65){ +if(_27&&!_contents||!_context){ +return; +} +CGContextClearRect(_context,{origin:{x:0,y:0},size:{width:(_backingStoreFrame.size.width),height:(_backingStoreFrame.size.height)}}); +var _67=_transformFromLayer; +if(_superlayer){ +var _68=_CALayerGetTransform(_superlayer,nil),_69=CGPointApplyAffineTransform(_superlayer._bounds.origin,_68); +_67=CGAffineTransformConcat(_67,_68); +_67.tx-=_69.x; +_67.ty-=_69.y; +} +_67.tx-=(_backingStoreFrame.origin.x); +_67.ty-=(_backingStoreFrame.origin.y); +CGContextSaveGState(_context); +CGContextConcatCTM(_context,_67); +if(_27){ +_context.drawImage(_contents.buffer,(_bounds.origin.x),(_bounds.origin.y)); +}else{ +objj_msgSend(_65,"drawInContext:",_context); +} +CGContextRestoreGState(_context); +} +}),new objj_method(sel_getUid("display"),function(_6a,_6b){ +with(_6a){ +if(!_context){ +_context=CGBitmapGraphicsContextCreate(); +_DOMContentsElement=_context.DOMElement; +_DOMContentsElement.style.zIndex=-100; +_DOMContentsElement.style.overflow="hidden"; +_DOMContentsElement.style.position="absolute"; +_DOMContentsElement.style.visibility="visible"; +_DOMContentsElement.width=ROUND((_backingStoreFrame.size.width)); +_DOMContentsElement.height=ROUND((_backingStoreFrame.size.height)); +_DOMContentsElement.style.top="0px"; +_DOMContentsElement.style.left="0px"; +_DOMContentsElement.style.width=ROUND((_backingStoreFrame.size.width))+"px"; +_DOMContentsElement.style.height=ROUND((_backingStoreFrame.size.height))+"px"; +_DOMElement.appendChild(_DOMContentsElement); +} +if(_27){ +if(_delegateRespondsToDisplayLayerSelector){ +return objj_msgSend(_delegate,"displayInLayer:",_6a); +} +if((_backingStoreFrame.size.width)==0||(_backingStoreFrame.size.height)==0){ +return; +} +if(!_contents){ +_contents=CABackingStoreCreate(); +} +CABackingStoreSetSize(_contents,_bounds.size); +objj_msgSend(_6a,"drawInContext:",CABackingStoreGetContext(_contents)); +} +objj_msgSend(_6a,"composite"); +} +}),new objj_method(sel_getUid("drawInContext:"),function(_6c,_6d,_6e){ +with(_6c){ +if(_backgroundColor){ +CGContextSetFillColor(_6e,_backgroundColor); +CGContextFillRect(_6e,_bounds); +} +if(_delegateRespondsToDrawLayerInContextSelector){ +objj_msgSend(_delegate,"drawLayer:inContext:",_6c,_6e); +} +} +}),new objj_method(sel_getUid("opacity"),function(_6f,_70){ +with(_6f){ +return _opacity; +} +}),new objj_method(sel_getUid("setOpacity:"),function(_71,_72,_73){ +with(_71){ +if(_opacity==_73){ +return; +} +_opacity=_73; +_DOMElement.style.opacity=_73; +_DOMElement.style.filter="alpha(opacity="+_73*100+")"; +} +}),new objj_method(sel_getUid("setHidden:"),function(_74,_75,_76){ +with(_74){ +_isHidden=_76; +_DOMElement.style.display=_76?"none":"block"; +} +}),new objj_method(sel_getUid("hidden"),function(_77,_78){ +with(_77){ +return _isHidden; +} +}),new objj_method(sel_getUid("isHidden"),function(_79,_7a){ +with(_79){ +return _isHidden; +} +}),new objj_method(sel_getUid("setMasksToBounds:"),function(_7b,_7c,_7d){ +with(_7b){ +if(_masksToBounds==_7d){ +return; +} +_masksToBounds=_7d; +_DOMElement.style.overflow=_masksToBounds?"hidden":"visible"; +} +}),new objj_method(sel_getUid("setBackgroundColor:"),function(_7e,_7f,_80){ +with(_7e){ +_backgroundColor=_80; +objj_msgSend(_7e,"setNeedsDisplay"); +} +}),new objj_method(sel_getUid("backgroundColor"),function(_81,_82){ +with(_81){ +return _backgroundColor; +} +}),new objj_method(sel_getUid("sublayers"),function(_83,_84){ +with(_83){ +return _sublayers; +} +}),new objj_method(sel_getUid("superlayer"),function(_85,_86){ +with(_85){ +return _superlayer; +} +}),new objj_method(sel_getUid("addSublayer:"),function(_87,_88,_89){ +with(_87){ +objj_msgSend(_87,"insertSublayer:atIndex:",_89,_sublayers.length); +return; +if(_DOMContentsElement&&_89._zPosition>_DOMContentsElement.style.zIndex){ +_DOMContentsElement.style.zIndex-=100; +} +objj_msgSend(_sublayers,"addObject:",_89); +_DOMElement.appendChild(_89._DOMElement); +} +}),new objj_method(sel_getUid("removeFromSuperlayer"),function(_8a,_8b){ +with(_8a){ +if(_owningView){ +objj_msgSend(_owningView,"setLayer:",nil); +} +if(!_superlayer){ +return; +} +_superlayer._DOMElement.removeChild(_DOMElement); +objj_msgSend(_superlayer._sublayers,"removeObject:",_8a); +_superlayer=nil; +} +}),new objj_method(sel_getUid("insertSublayer:atIndex:"),function(_8c,_8d,_8e,_8f){ +with(_8c){ +if(!_8e){ +return; +} +var _90=objj_msgSend(_8e,"superlayer"); +if(_90==_8c){ +var _91=objj_msgSend(_sublayers,"indexOfObjectIdenticalTo:",_8e); +if(_91==_8f){ +return; +} +objj_msgSend(_sublayers,"removeObjectAtIndex:",_91); +if(_91<_8f){ +--_8f; +} +}else{ +if(_90!=nil){ +objj_msgSend(_8e,"removeFromSuperlayer"); +} +} +if(_DOMContentsElement&&_8e._zPosition>_DOMContentsElement.style.zIndex){ +_DOMContentsElement.style.zIndex-=100; +} +objj_msgSend(_sublayers,"insertObject:atIndex:",_8e,_8f); +if(_8f>=_sublayers.length-1){ +_DOMElement.appendChild(_8e._DOMElement); +}else{ +_DOMElement.insertBefore(_8e._DOMElement,_sublayers[_8f+1]._DOMElement); +} +_8e._superlayer=_8c; +if(_8c!=_90){ +_CALayerRecalculateGeometry(_8e,268435455); +} +} +}),new objj_method(sel_getUid("insertSublayer:below:"),function(_92,_93,_94,_95){ +with(_92){ +var _96=_95?objj_msgSend(_sublayers,"indexOfObjectIdenticalTo:",_95):0; +objj_msgSend(_92,"insertSublayer:atIndex:",_94,_96==CPNotFound?_sublayers.length:_96); +} +}),new objj_method(sel_getUid("insertSublayer:above:"),function(_97,_98,_99,_9a){ +with(_97){ +var _9b=_9a?objj_msgSend(_sublayers,"indexOfObjectIdenticalTo:",_9a):_sublayers.length; +if(_9b==CPNotFound){ +objj_msgSend(CPException,"raise:reason:","CALayerNotFoundException","aSublayer is not a sublayer of this layer"); +} +objj_msgSend(_sublayers,"insertObject:atIndex:",_99,_9b==CPNotFound?_sublayers.length:_9b+1); +} +}),new objj_method(sel_getUid("replaceSublayer:with:"),function(_9c,_9d,_9e,_9f){ +with(_9c){ +if(_9e==_9f){ +return; +} +if(_9e._superlayer!=_9c){ +alert("EXCEPTION"); +return; +} +if(_DOMContentsElement&&_9f._zPosition>_DOMContentsElement.style.zIndex){ +_DOMContentsElement.style.zIndex-=100; +} +objj_msgSend(_sublayers,"replaceObjectAtIndex:withObject:",objj_msgSend(_sublayers,"indexOfObjectIdenticalTo:",_9e),_9f); +_DOMElement.replaceChild(_9e._DOMElement,_9f._DOMElement); +} +}),new objj_method(sel_getUid("registerRunLoopUpdateWithMask:"),function(_a0,_a1,_a2){ +with(_a0){ +if(_2e==nil){ +_2e={}; +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"performSelector:target:argument:order:modes:",sel_getUid("runLoopUpdateLayers"),CALayer,nil,0,[CPDefaultRunLoopMode]); +} +_runLoopUpdateMask|=_a2; +_2e[objj_msgSend(_a0,"UID")]=_a0; +} +}),new objj_method(sel_getUid("setNeedsComposite"),function(_a3,_a4){ +with(_a3){ +objj_msgSend(_a3,"registerRunLoopUpdateWithMask:",_2c); +} +}),new objj_method(sel_getUid("setNeedsDisplay"),function(_a5,_a6){ +with(_a5){ +objj_msgSend(_a5,"registerRunLoopUpdateWithMask:",_2b); +} +}),new objj_method(sel_getUid("setNeedsDisplayOnBoundsChange:"),function(_a7,_a8,_a9){ +with(_a7){ +_needsDisplayOnBoundsChange=_a9; +} +}),new objj_method(sel_getUid("needsDisplayOnBoundsChange"),function(_aa,_ab){ +with(_aa){ +return _needsDisplayOnBoundsChange; +} +}),new objj_method(sel_getUid("setNeedsDisplayInRect:"),function(_ac,_ad,_ae){ +with(_ac){ +_dirtyRect=_ae; +objj_msgSend(_ac,"display"); +} +}),new objj_method(sel_getUid("convertPoint:fromLayer:"),function(_af,_b0,_b1,_b2){ +with(_af){ +return CGPointApplyAffineTransform(_b1,_CALayerGetTransform(_b2,_af)); +} +}),new objj_method(sel_getUid("convertPoint:toLayer:"),function(_b3,_b4,_b5,_b6){ +with(_b3){ +return CGPointApplyAffineTransform(_b5,_CALayerGetTransform(_b3,_b6)); +} +}),new objj_method(sel_getUid("convertRect:fromLayer:"),function(_b7,_b8,_b9,_ba){ +with(_b7){ +return CGRectApplyAffineTransform(_b9,_CALayerGetTransform(_ba,_b7)); +} +}),new objj_method(sel_getUid("convertRect:toLayer:"),function(_bb,_bc,_bd,_be){ +with(_bb){ +return CGRectApplyAffineTransform(_bd,_CALayerGetTransform(_bb,_be)); +} +}),new objj_method(sel_getUid("containsPoint:"),function(_bf,_c0,_c1){ +with(_bf){ +return (_c1.x>=(_bounds.origin.x)&&_c1.y>=(_bounds.origin.y)&&_c1.x<(_bounds.origin.x+_bounds.size.width)&&_c1.y<(_bounds.origin.y+_bounds.size.height)); +} +}),new objj_method(sel_getUid("hitTest:"),function(_c2,_c3,_c4){ +with(_c2){ +if(_isHidden){ +return nil; +} +var _c5=CGPointApplyAffineTransform(_c4,_transformToLayer); +if(!(_c5.x>=(_bounds.origin.x)&&_c5.y>=(_bounds.origin.y)&&_c5.x<(_bounds.origin.x+_bounds.size.width)&&_c5.y<(_bounds.origin.y+_bounds.size.height))){ +return nil; +} +var _c6=nil,_c7=_sublayers.length; +while(_c7--){ +if(_c6=objj_msgSend(_sublayers[_c7],"hitTest:",_c5)){ +return _c6; +} +} +return _c2; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_c8,_c9,_ca){ +with(_c8){ +if(_delegate==_ca){ +return; +} +_delegate=_ca; +_delegateRespondsToDisplayLayerSelector=objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("displayLayer:")); +_delegateRespondsToDrawLayerInContextSelector=objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("drawLayer:inContext:")); +if(_delegateRespondsToDisplayLayerSelector||_delegateRespondsToDrawLayerInContextSelector){ +objj_msgSend(_c8,"setNeedsDisplay"); +} +} +}),new objj_method(sel_getUid("delegate"),function(_cb,_cc){ +with(_cb){ +return _delegate; +} +}),new objj_method(sel_getUid("_setOwningView:"),function(_cd,_ce,_cf){ +with(_cd){ +_owningView=_cf; +if(_owningView){ +_owningView=_cf; +_bounds.size=CGSizeMakeCopy(objj_msgSend(_owningView,"bounds").size); +_position=CGPointMake((_bounds.size.width)*_anchorPoint.x,(_bounds.size.height)*_anchorPoint.y); +} +_CALayerRecalculateGeometry(_cd,_23|_22); +} +}),new objj_method(sel_getUid("_owningViewBoundsChanged"),function(_d0,_d1){ +with(_d0){ +_bounds.size=CGSizeMakeCopy(objj_msgSend(_owningView,"bounds").size); +_position=CGPointMake((_bounds.size.width)*_anchorPoint.x,(_bounds.size.height)*_anchorPoint.y); +_CALayerRecalculateGeometry(_d0,_23|_22); +} +}),new objj_method(sel_getUid("_update"),function(_d2,_d3){ +with(_d2){ +window.loop=true; +var _d4=_runLoopUpdateMask; +if(_d4&_2d){ +_CALayerUpdateDOM(_d2,_d4); +} +if(_d4&_2b){ +objj_msgSend(_d2,"display"); +}else{ +if(_d4&_29||_d4&_2c){ +objj_msgSend(_d2,"composite"); +} +} +_runLoopUpdateMask=0; +window.loop=false; +} +})]); +class_addMethods(_30,[new objj_method(sel_getUid("layer"),function(_d5,_d6){ +with(_d5){ +return objj_msgSend(objj_msgSend(objj_msgSend(_d5,"class"),"alloc"),"init"); +} +}),new objj_method(sel_getUid("runLoopUpdateLayers"),function(_d7,_d8){ +with(_d7){ +for(UID in _2e){ +var _d9=_2e[UID],_da=_d9._runLoopUpdateMask; +if(_da&_2d){ +_CALayerUpdateDOM(_d9,_da); +} +if(_da&_2b){ +objj_msgSend(_d9,"display"); +}else{ +if(_da&_29||_da&_2c){ +objj_msgSend(_d9,"composite"); +} +} +_d9._runLoopUpdateMask=0; +} +window.loop=false; +_2e=nil; +} +})]); +_CALayerUpdateSublayerTransformForSublayers=function(_db){ +var _dc=_db._bounds,_dd=_db._anchorPoint,_de=(_dc.size.width)*_dd.x,_df=(_dc.size.height)*_dd.y; +_db._sublayerTransformForSublayers=CGAffineTransformConcat(CGAffineTransformMakeTranslation(-_de,-_df),CGAffineTransformConcat(_db._sublayerTransform,CGAffineTransformMakeTranslation(_de,_df))); +}; +_CALayerUpdateDOM=function(_e0,_e1){ +var _e2=_e0._DOMElement.style; +if(_e1&_2a){ +_e2.zIndex=_e0._zPosition; +} +var _e3=_e0._backingStoreFrame; +if(_e1&_28){ +_e2.top=ROUND((_e3.origin.y))+"px"; +_e2.left=ROUND((_e3.origin.x))+"px"; +} +if(_e1&_29){ +var _e4=MAX(0,ROUND((_e3.size.width))),_e5=MAX(0,ROUND((_e3.size.height))),_e6=_e0._DOMContentsElement; +_e2.width=_e4+"px"; +_e2.height=_e5+"px"; +if(_e6){ +_e6.width=_e4; +_e6.height=_e5; +_e6.style.width=_e4+"px"; +_e6.style.height=_e5+"px"; +} +} +}; +_CALayerRecalculateGeometry=function(_e7,_e8){ +var _e9=_e7._bounds,_ea=_e7._superlayer,_eb=(_e9.size.width),_ec=(_e9.size.height),_ed=_e7._position,_ee=_e7._anchorPoint,_ef=_e7._affineTransform,_f0={width:_e7._backingStoreFrame.width,height:_e7._backingStoreFrame.height},_f1=_e7._hasCustomBackingStoreFrame; +_e7._transformFromLayer=CGAffineTransformConcat(CGAffineTransformMakeTranslation(-_eb*_ee.x-(_e7._bounds.origin.x),-_ec*_ee.y-(_e7._bounds.origin.y)),CGAffineTransformConcat(_ef,CGAffineTransformMakeTranslation(_ed.x,_ed.y))); +if(_ea&&_ea._hasSublayerTransform){ +var tx=_e7._transformFromLayer.tx*_ea._sublayerTransformForSublayers.a+_e7._transformFromLayer.ty*_ea._sublayerTransformForSublayers.c+_ea._sublayerTransformForSublayers.tx; +_e7._transformFromLayer.ty=_e7._transformFromLayer.tx*_ea._sublayerTransformForSublayers.b+_e7._transformFromLayer.ty*_ea._sublayerTransformForSublayers.d+_ea._sublayerTransformForSublayers.ty; +_e7._transformFromLayer.tx=tx; +var a=_e7._transformFromLayer.a*_ea._sublayerTransformForSublayers.a+_e7._transformFromLayer.b*_ea._sublayerTransformForSublayers.c,b=_e7._transformFromLayer.a*_ea._sublayerTransformForSublayers.b+_e7._transformFromLayer.b*_ea._sublayerTransformForSublayers.d,c=_e7._transformFromLayer.c*_ea._sublayerTransformForSublayers.a+_e7._transformFromLayer.d*_ea._sublayerTransformForSublayers.c; +_e7._transformFromLayer.d=_e7._transformFromLayer.c*_ea._sublayerTransformForSublayers.b+_e7._transformFromLayer.d*_ea._sublayerTransformForSublayers.d; +_e7._transformFromLayer.a=a; +_e7._transformFromLayer.b=b; +_e7._transformFromLayer.c=c; +} +_e7._transformToLayer=CGAffineTransformInvert(_e7._transformFromLayer); +_e7._frame=nil; +_e7._standardBackingStoreFrame=objj_msgSend(_e7,"convertRect:toLayer:",_e9,nil); +if(_ea){ +var _e9=objj_msgSend(_ea,"bounds"),_f2=objj_msgSend(_ea,"convertRect:toLayer:",_e9,nil); +_e7._standardBackingStoreFrame.origin.x-=(_f2.origin.x); +_e7._standardBackingStoreFrame.origin.y-=(_f2.origin.y); +} +var _f3=_e7._standardBackingStoreFrame.origin,_f4=_e7._standardBackingStoreFrame.size; +_f3.x=FLOOR(_f3.x); +_f3.y=FLOOR(_f3.y); +_f4.width=CEIL(_f4.width)+1; +_f4.height=CEIL(_f4.height)+1; +if(!_f1){ +var _f5=CGRectMakeCopy(_e7._standardBackingStoreFrame); +if(ROUND((_f5.origin.x))!=ROUND((_e7._backingStoreFrame.origin.x))||ROUND((_f5.origin.y))!=ROUND((_e7._backingStoreFrame.origin.y))){ +objj_msgSend(_e7,"registerRunLoopUpdateWithMask:",_28); +} +if(((_f5.size.width)!=ROUND((_e7._backingStoreFrame.size.width))||(_f5.size.height)!=ROUND((_e7._backingStoreFrame.size.height)))){ +objj_msgSend(_e7,"registerRunLoopUpdateWithMask:",_29); +} +_e7._backingStoreFrame=_f5; +} +if(_e8&_22&&_e7._needsDisplayOnBoundsChange){ +objj_msgSend(_e7,"setNeedsDisplay"); +}else{ +if(_f1||(_e8&~(_23|_24))){ +objj_msgSend(_e7,"setNeedsComposite"); +} +} +var _f6=_e7._sublayers,_f7=0,_f8=_f6.length; +for(;_f7<_f8;++_f7){ +_CALayerRecalculateGeometry(_f6[_f7],_e8); +} +}; +_CALayerGetTransform=function(_f9,_fa){ +var _fb=CGAffineTransformMakeIdentity(); +if(_f9){ +var _fc=_f9; +while(_fc&&_fc!=_fa){ +var _fd=_fc._transformFromLayer; +var tx=_fb.tx*_fd.a+_fb.ty*_fd.c+_fd.tx; +_fb.ty=_fb.tx*_fd.b+_fb.ty*_fd.d+_fd.ty; +_fb.tx=tx; +var a=_fb.a*_fd.a+_fb.b*_fd.c,b=_fb.a*_fd.b+_fb.b*_fd.d,c=_fb.c*_fd.a+_fb.d*_fd.c; +_fb.d=_fb.c*_fd.b+_fb.d*_fd.d; +_fb.a=a; +_fb.b=b; +_fb.c=c; +_fc=_fc._superlayer; +} +if(_fc==_fa){ +return _fb; +} +} +var _fe=[],_fc=_fa; +while(_fc){ +_fe.push(_fc); +_fc=_fc._superlayer; +} +var _ff=_fe.length; +while(_ff--){ +var _100=_fe[_ff]._transformToLayer; +var tx=_fb.tx*_100.a+_fb.ty*_100.c+_100.tx; +_fb.ty=_fb.tx*_100.b+_fb.ty*_100.d+_100.ty; +_fb.tx=tx; +var a=_fb.a*_100.a+_fb.b*_100.c,b=_fb.a*_100.b+_fb.b*_100.d,c=_fb.c*_100.a+_fb.d*_100.c; +_fb.d=_fb.c*_100.b+_fb.d*_100.d; +_fb.a=a; +_fb.b=b; +_fb.c=c; +} +return _fb; +}; +p;23;CAMediaTimingFunction.jt;2263;@STATIC;1.0;I;21;Foundation/CPObject.jI;25;Foundation/CPDictionary.jI;21;Foundation/CPString.jt;2162; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +kCAMediaTimingFunctionLinear="kCAMediaTimingFunctionLinear"; +kCAMediaTimingFunctionEaseIn="kCAMediaTimingFunctionEaseIn"; +kCAMediaTimingFunctionEaseOut="kCAMediaTimingFunctionEaseOut"; +kCAMediaTimingFunctionEaseInEaseOut="kCAMediaTimingFunctionEaseInEaseOut"; +var _1=nil; +var _2=objj_allocateClassPair(CPObject,"CAMediaTimingFunction"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_c1x"),new objj_ivar("_c1y"),new objj_ivar("_c2x"),new objj_ivar("_c2y")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithControlPoints::::"),function(_4,_5,_6,_7,_8,_9){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CAMediaTimingFunction").super_class},"init"); +if(_4){ +_c1x=_6; +_c1y=_7; +_c2x=_8; +_c2y=_9; +} +return _4; +} +}),new objj_method(sel_getUid("getControlPointAtIndex:values:"),function(_a,_b,_c,_d){ +with(_a){ +if(_c==0){ +_d[0]=0; +_d[1]=0; +}else{ +if(_c==1){ +_d[0]=_c1x; +_d[1]=_c1y; +}else{ +if(_c==2){ +_d[0]=_c2x; +_d[1]=_c2y; +}else{ +_d[0]=1; +_d[1]=1; +} +} +} +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("functionWithName:"),function(_e,_f,_10){ +with(_e){ +if(!_1){ +_1=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_1,"setObject:forKey:",objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0,0,1,1),kCAMediaTimingFunctionLinear); +objj_msgSend(_1,"setObject:forKey:",objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0.42,0,1,1),kCAMediaTimingFunctionEaseIn); +objj_msgSend(_1,"setObject:forKey:",objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0,0,0.58,1),kCAMediaTimingFunctionEaseOut); +objj_msgSend(_1,"setObject:forKey:",objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0.42,0,0.58,1),kCAMediaTimingFunctionEaseInEaseOut); +} +return objj_msgSend(_1,"objectForKey:",_10); +} +}),new objj_method(sel_getUid("functionWithControlPoints::::"),function(_11,_12,c1x,c1y,c2x,c2y){ +with(_11){ +return objj_msgSend(objj_msgSend(_11,"alloc"),"initWithControlPoints::::",c1x,c1y,c2x,c2y); +} +})]); +p;19;CGAffineTransform.jt;2936;@STATIC;1.0;i;12;CGGeometry.jt;2900; +objj_executeFile("CGGeometry.j",YES); +CGAffineTransformMake=function(a,b,c,d,tx,ty){ +return {a:a,b:b,c:c,d:d,tx:tx,ty:ty}; +}; +CGAffineTransformMakeIdentity=function(){ +return {a:1,b:0,c:0,d:1,tx:0,ty:0}; +}; +CGAffineTransformMakeCopy=function(_1){ +return {a:_1.a,b:_1.b,c:_1.c,d:_1.d,tx:_1.tx,ty:_1.ty}; +}; +CGAffineTransformMakeScale=function(sx,sy){ +return {a:sx,b:0,c:0,d:sy,tx:0,ty:0}; +}; +CGAffineTransformMakeTranslation=function(tx,ty){ +return {a:1,b:0,c:0,d:1,tx:tx,ty:ty}; +}; +CGAffineTransformTranslate=function(_2,tx,ty){ +return {a:_2.a,b:_2.b,c:_2.c,d:_2.d,tx:_2.tx+_2.a*tx+_2.c*ty,ty:_2.ty+_2.b*tx+_2.d*ty}; +}; +CGAffineTransformScale=function(_3,sx,sy){ +return {a:_3.a*sx,b:_3.b*sx,c:_3.c*sy,d:_3.d*sy,tx:_3.tx,ty:_3.ty}; +}; +CGAffineTransformConcat=function(_4,_5){ +return {a:_4.a*_5.a+_4.b*_5.c,b:_4.a*_5.b+_4.b*_5.d,c:_4.c*_5.a+_4.d*_5.c,d:_4.c*_5.b+_4.d*_5.d,tx:_4.tx*_5.a+_4.ty*_5.c+_5.tx,ty:_4.tx*_5.b+_4.ty*_5.d+_5.ty}; +}; +CGPointApplyAffineTransform=function(_6,_7){ +return {x:_6.x*_7.a+_6.y*_7.c+_7.tx,y:_6.x*_7.b+_6.y*_7.d+_7.ty}; +}; +CGSizeApplyAffineTransform=function(_8,_9){ +return {width:_8.width*_9.a+_8.height*_9.c,height:_8.width*_9.b+_8.height*_9.d}; +}; +CGAffineTransformIsIdentity=function(_a){ +return (_a.a==1&&_a.b==0&&_a.c==0&&_a.d==1&&_a.tx==0&&_a.ty==0); +}; +CGAffineTransformEqualToTransform=function(_b,_c){ +return (_b.a==_c.a&&_b.b==_c.b&&_b.c==_c.c&&_b.d==_c.d&&_b.tx==_c.tx&&_b.ty==_c.ty); +}; +CGStringCreateWithCGAffineTransform=function(_d){ +return (" [[ "+_d.a+", "+_d.b+", 0 ], [ "+_d.c+", "+_d.d+", 0 ], [ "+_d.tx+", "+_d.ty+", 1]]"); +}; +CGAffineTransformCreateCopy=function(_e){ +return {a:_e.a,b:_e.b,c:_e.c,d:_e.d,tx:_e.tx,ty:_e.ty}; +}; +CGAffineTransformMakeRotation=function(_f){ +var sin=SIN(_f),cos=COS(_f); +return {a:cos,b:sin,c:-sin,d:cos,tx:0,ty:0}; +}; +CGAffineTransformRotate=function(_10,_11){ +var sin=SIN(_11),cos=COS(_11); +return {a:_10.a*cos+_10.c*sin,b:_10.b*cos+_10.d*sin,c:_10.c*cos-_10.a*sin,d:_10.d*cos-_10.b*sin,tx:_10.tx,ty:_10.ty}; +}; +CGAffineTransformInvert=function(_12){ +var _13=1/(_12.a*_12.d-_12.b*_12.c); +return {a:_13*_12.d,b:-_13*_12.b,c:-_13*_12.c,d:_13*_12.a,tx:_13*(_12.c*_12.ty-_12.d*_12.tx),ty:_13*(_12.b*_12.tx-_12.a*_12.ty)}; +}; +CGRectApplyAffineTransform=function(_14,_15){ +var top=(_14.origin.y),_16=(_14.origin.x),_17=(_14.origin.x+_14.size.width),_18=(_14.origin.y+_14.size.height),_19=CGPointApplyAffineTransform({x:_16,y:top},_15),_1a=CGPointApplyAffineTransform({x:_17,y:top},_15),_1b=CGPointApplyAffineTransform({x:_16,y:_18},_15),_1c=CGPointApplyAffineTransform({x:_17,y:_18},_15),_1d=MIN(_19.x,_1a.x,_1b.x,_1c.x),_1e=MAX(_19.x,_1a.x,_1b.x,_1c.x),_1f=MIN(_19.y,_1a.y,_1b.y,_1c.y),_20=MAX(_19.y,_1a.y,_1b.y,_1c.y); +return {origin:{x:_1d,y:_1f},size:{width:(_1e-_1d),height:(_20-_1f)}}; +}; +CPStringFromCGAffineTransform=function(_21){ +return "{"+_21.a+", "+_21.b+", "+_21.c+", "+_21.d+", "+_21.tx+", "+_21.ty+"}"; +}; +p;9;CGColor.jt;2143;@STATIC;1.0;i;14;CGColorSpace.jt;2105; +objj_executeFile("CGColorSpace.j",YES); +var _1=0; +CFHashCode=function(_2){ +if(!_2.hash){ +_2.hash=++_1; +} +return _2; +}; +kCGColorWhite="kCGColorWhite"; +kCGColorBlack="kCGColorBlack"; +kCGColorClear="kCGColorClear"; +var _3={}; +CGColorGetConstantColor=function(_4){ +alert("FIX ME"); +}; +CGColorRetain=function(_5){ +return _5; +}; +CGColorRelease=function(){ +}; +CGColorCreate=function(_6,_7){ +if(!_6||!_7){ +return NULL; +} +var _7=_7.slice(); +CGColorSpaceStandardizeComponents(_6,_7); +var _8=CFHashCode(_6)+_7.join(""); +if(_3[_8]){ +return _3[_8]; +} +return _3[_8]={colorspace:_6,pattern:NULL,components:_7}; +}; +CGColorCreateCopy=function(_9){ +return _9; +}; +CGColorCreateGenericGray=function(_a,_b){ +return CGColorCreate(0,[_a,_b]); +}; +CGColorCreateGenericRGB=function(_c,_d,_e,_f){ +return CGColorCreate(0,[_c,_d,_e,_f]); +}; +CGColorCreateGenericCMYK=function(_10,_11,_12,_13,_14){ +return CGColorCreate(0,[_10,_11,_12,_13,_14]); +}; +CGColorCreateCopyWithAlpha=function(_15,_16){ +var _17=_15.components; +if(!_15||_16==_17[_17.length-1]){ +return _15; +} +if(_15.pattern){ +var _18=CGColorCreateWithPattern(_15.colorspace,_15.pattern,_17); +}else{ +var _18=CGColorCreate(_15.colorspace,_17); +} +_18.components[_17.length-1]=_16; +return _18; +}; +CGColorCreateWithPattern=function(_19,_1a,_1b){ +if(!_19||!_1a||!_1b){ +return NULL; +} +return {colorspace:_19,pattern:_1a,components:_1b.slice()}; +}; +CGColorEqualToColor=function(lhs,rhs){ +if(lhs==rhs){ +return true; +} +if(!lhs||!rhs){ +return false; +} +var _1c=lhs.components,_1d=rhs.components,_1e=_1c.length; +if(_1e!=_1d.length){ +return false; +} +while(_1e--){ +if(_1c[_1e]!=_1d[_1e]){ +return false; +} +} +if(lhs.pattern!=rhs.pattern){ +return false; +} +if(CGColorSpaceEqualToColorSpace(lhs.colorspace,rhs.colorspace)){ +return false; +} +return true; +}; +CGColorGetAlpha=function(_1f){ +var _20=_1f.components; +return _20[_20.length-1]; +}; +CGColorGetColorSpace=function(_21){ +return _21.colorspace; +}; +CGColorGetComponents=function(_22){ +return _22.components; +}; +CGColorGetNumberOfComponents=function(_23){ +return _23.components.length; +}; +CGColorGetPattern=function(_24){ +return _24.pattern; +}; +p;14;CGColorSpace.jt;3521;@STATIC;1.0;t;3502; +kCGColorSpaceModelUnknown=-1; +kCGColorSpaceModelMonochrome=0; +kCGColorSpaceModelRGB=1; +kCGColorSpaceModelCMYK=2; +kCGColorSpaceModelLab=3; +kCGColorSpaceModelDeviceN=4; +kCGColorSpaceModelIndexed=5; +kCGColorSpaceModelPattern=6; +kCGColorSpaceGenericGray="CGColorSpaceGenericGray"; +kCGColorSpaceGenericRGB="CGColorSpaceGenericRGB"; +kCGColorSpaceGenericCMYK="CGColorSpaceGenericCMYK"; +kCGColorSpaceGenericRGBLinear="CGColorSpaceGenericRGBLinear"; +kCGColorSpaceGenericRGBHDR="CGColorSpaceGenericRGBHDR"; +kCGColorSpaceAdobeRGB1998="CGColorSpaceAdobeRGB1998"; +kCGColorSpaceSRGB="CGColorSpaceSRGB"; +var _1={}; +CGColorSpaceCreateCalibratedGray=function(_2,_3,_4){ +return {model:kCGColorSpaceModelMonochrome,count:1,base:NULL}; +}; +CGColorSpaceCreateCalibratedRGB=function(_5,_6,_7){ +return {model:kCGColorSpaceModelRGB,count:1,base:NULL}; +}; +CGColorSpaceCreateICCBased=function(_8,_9,_a,_b){ +return NULL; +}; +CGColorSpaceCreateLab=function(_c,_d,_e){ +return NULL; +}; +CGColorSpaceCreateDeviceCMYK=function(){ +return CGColorSpaceCreateWithName(kCGColorSpaceGenericCMYK); +}; +CGColorSpaceCreateDeviceGray=function(){ +return CGColorSpaceCreateWithName(kCGColorSpaceGenericGray); +}; +CGColorSpaceCreateDeviceRGB=function(){ +return CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); +}; +CGColorSpaceCreateWithPlatformColorSpace=function(){ +return NULL; +}; +CGColorSpaceCreateIndexed=function(_f,_10,_11){ +return NULL; +}; +CGColorSpaceCreatePattern=function(_12){ +if(_12){ +return {model:kCGColorSpaceModelPattern,count:_12.count,base:_12}; +} +return {model:kCGColorSpaceModelPattern,count:0,base:NULL}; +}; +CGColorSpaceCreateWithName=function(_13){ +var _14=_1[_13]; +if(_14){ +return _14; +} +switch(_13){ +case kCGColorSpaceGenericGray: +return _1[_13]={model:kCGColorSpaceModelMonochrome,count:1,base:NULL}; +case kCGColorSpaceGenericRGB: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +case kCGColorSpaceGenericCMYK: +return _1[_13]={model:kCGColorSpaceModelCMYK,count:4,base:NULL}; +case kCGColorSpaceGenericRGBLinear: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +case kCGColorSpaceGenericRGBHDR: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +case kCGColorSpaceAdobeRGB1998: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +case kCGColorSpaceSRGB: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +} +return NULL; +}; +CGColorSpaceCopyICCProfile=function(_15){ +return NULL; +}; +CGColorSpaceGetNumberOfComponents=function(_16){ +return _16.count; +}; +CGColorSpaceGetTypeID=function(_17){ +}; +CGColorSpaceGetModel=function(_18){ +return _18.model; +}; +CGColorSpaceGetBaseColorSpace=function(_19){ +}; +CGColorSpaceGetColorTableCount=function(_1a){ +}; +CGColorSpaceGetColorTable=function(_1b){ +}; +CGColorSpaceRelease=function(_1c){ +}; +CGColorSpaceRetain=function(_1d){ +return _1d; +}; +CGColorSpaceStandardizeComponents=function(_1e,_1f){ +var _20=_1e.count; +if(_20>_1f.length){ +_1f[_20]=1; +return; +} +var _21=_1f[_20]; +if(_21<0){ +_1f[_20]=0; +}else{ +if(_21>1){ +_1f[_20]=1; +}else{ +_1f[_20]=ROUND(_21*1000)/1000; +} +} +if(_1e.base){ +_1e=_1e.base; +} +switch(_1e.model){ +case kCGColorSpaceModelMonochrome: +case kCGColorSpaceModelRGB: +case kCGColorSpaceModelCMYK: +case kCGColorSpaceModelDeviceN: +while(_20--){ +if(_20>_1f.length){ +_1f[_20]=1; +return; +} +var _21=_1f[_20]; +if(_21<0){ +_1f[_20]=0; +}else{ +if(_21>1){ +_1f[_20]=1; +}else{ +_1f[_20]=ROUND(_21*255)/255; +} +} +} +break; +case kCGColorSpaceModelIndexed: +case kCGColorSpaceModelLab: +case kCGColorSpaceModelPattern: +break; +} +}; +p;11;CGContext.jt;20418;@STATIC;1.0;i;12;CGGeometry.ji;19;CGAffineTransform.ji;8;CGPath.jt;20345; +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CGAffineTransform.j",YES); +objj_executeFile("CGPath.j",YES); +kCGLineCapButt=0; +kCGLineCapRound=1; +kCGLineCapSquare=2; +kCGLineJoinMiter=0; +kCGLineJoinRound=1; +kCGLineJoinBevel=2; +kCGPathFill=0; +kCGPathEOFill=1; +kCGPathStroke=2; +kCGPathFillStroke=3; +kCGPathEOFillStroke=4; +kCGBlendModeNormal=0; +kCGBlendModeMultiply=1; +kCGBlendModeScreen=2; +kCGBlendModeOverlay=3; +kCGBlendModeDarken=4; +kCGBlendModeLighten=5; +kCGBlendModeColorDodge=6; +kCGBlendModeColorBurn=7; +kCGBlendModeSoftLight=8; +kCGBlendModeHardLight=9; +kCGBlendModeDifference=10; +kCGBlendModeExclusion=11; +kCGBlendModeHue=12; +kCGBlendModeSaturation=13; +kCGBlendModeColor=14; +kCGBlendModeLuminosity=15; +kCGBlendModeClear=16; +kCGBlendModeCopy=17; +kCGBlendModeSourceIn=18; +kCGBlendModeSourceOut=19; +kCGBlendModeSourceAtop=20; +kCGBlendModeDestinationOver=21; +kCGBlendModeDestinationIn=22; +kCGBlendModeDestinationOut=23; +kCGBlendModeDestinationAtop=24; +kCGBlendModeXOR=25; +kCGBlendModePlusDarker=26; +kCGBlendModePlusLighter=27; +CGContextRelease=function(){ +}; +CGContextRetain=function(_1){ +return _1; +}; +if(!CPFeatureIsCompatible(CPHTMLCanvasFeature)){ +CGGStateCreate=function(){ +return {alpha:1,strokeStyle:"#000",fillStyle:"#ccc",lineWidth:1,lineJoin:kCGLineJoinMiter,lineCap:kCGLineCapButt,miterLimit:10,globalAlpha:1,blendMode:kCGBlendModeNormal,shadowOffset:{width:0,height:0},shadowBlur:0,shadowColor:NULL,CTM:{a:1,b:0,c:0,d:1,tx:0,ty:0}}; +}; +CGGStateCreateCopy=function(_2){ +return {alpha:_2.alpha,strokeStyle:_2.strokeStyle,fillStyle:_2.fillStyle,lineWidth:_2.lineWidth,lineJoin:_2.lineJoin,lineCap:_2.lineCap,miterLimit:_2.miterLimit,globalAlpha:_2.globalAlpha,blendMode:_2.blendMode,shadowOffset:_2.shadowOffset,shadowBlur:_2.shadowBlur,shadowColor:_2.shadowColor,CTM:{a:_2.CTM.a,b:_2.CTM.b,c:_2.CTM.c,d:_2.CTM.d,tx:_2.CTM.tx,ty:_2.CTM.ty}}; +}; +CGBitmapGraphicsContextCreate=function(){ +return {DOMElement:document.createElement("div"),path:NULL,gState:CGGStateCreate(),gStateStack:[]}; +}; +CGContextSaveGState=function(_3){ +_3.gStateStack.push(CGGStateCreateCopy(_3.gState)); +}; +CGContextRestoreGState=function(_4){ +_4.gState=_4.gStateStack.pop(); +}; +CGContextSetLineCap=function(_5,_6){ +_5.gState.lineCap=_6; +}; +CGContextSetLineJoin=function(_7,_8){ +_7.gState.lineJoin=_8; +}; +CGContextSetLineWidth=function(_9,_a){ +_9.gState.lineWidth=_a; +}; +CGContextSetMiterLimit=function(_b,_c){ +_b.gState.miterLimit=_c; +}; +CGContextSetBlendMode=function(_d,_e){ +_d.gState.blendMode=_e; +}; +CGContextAddArc=function(_f,x,y,_10,_11,_12,_13){ +CGPathAddArc(_f.path,_f.gState.CTM,x,y,_10,_11,_12,_13); +}; +CGContextAddArcToPoint=function(_14,x1,y1,x2,y2,_15){ +CGPathAddArcToPoint(_14.path,_14.gState.CTM,x1,y1,x2,y2,_15); +}; +CGContextAddCurveToPoint=function(_16,_17,_18,_19,_1a,x,y){ +CGPathAddCurveToPoint(_16.path,_16.gState.CTM,_17,_18,_19,_1a,x,y); +}; +CGContextAddLines=function(_1b,_1c,_1d){ +CGPathAddLines(_1b.path,_1b.gState.CTM,_1c,_1d); +}; +CGContextAddLineToPoint=function(_1e,x,y){ +CGPathAddLineToPoint(_1e.path,_1e.gState.CTM,x,y); +}; +CGContextAddPath=function(_1f,_20){ +if(!_1f||CGPathIsEmpty(_20)){ +return; +} +if(!_1f.path){ +_1f.path=CGPathCreateMutable(); +} +CGPathAddPath(_1f.path,_1f.gState.CTM,_20); +}; +CGContextAddQuadCurveToPoint=function(_21,cpx,cpy,x,y){ +CGPathAddQuadCurveToPoint(_21.path,_21.gState.CTM,cpx,cpy,x,y); +}; +CGContextAddRect=function(_22,_23){ +CGPathAddRect(_22.path,_22.gState.CTM,_23); +}; +CGContextAddRects=function(_24,_25,_26){ +CGPathAddRects(_24.path,_24.gState.CTM,_25,_26); +}; +CGContextBeginPath=function(_27){ +_27.path=CGPathCreateMutable(); +}; +CGContextClosePath=function(_28){ +CGPathCloseSubpath(_28.path); +}; +CGContextMoveToPoint=function(_29,x,y){ +if(!_29.path){ +_29.path=CGPathCreateMutable(); +} +CGPathMoveToPoint(_29.path,_29.gState.CTM,x,y); +}; +CGContextFillRect=function(_2a,_2b){ +CGContextFillRects(_2a,[_2b],1); +}; +CGContextFillRects=function(_2c,_2d,_2e){ +if(arguments[2]===undefined){ +var _2e=_2d.length; +} +CGContextBeginPath(_2c); +CGContextAddRects(_2c,_2d,_2e); +CGContextClosePath(_2c); +CGContextDrawPath(_2c,kCGPathFill); +}; +CGContextStrokeRect=function(_2f,_30){ +CGContextBeginPath(_2f); +CGContextAddRect(_2f,_30); +CGContextClosePath(_2f); +CGContextDrawPath(_2f,kCGPathStroke); +}; +CGContextStrokeRectWithWidth=function(_31,_32,_33){ +CGContextSaveGState(_31); +CGContextSetLineWidth(_31,_33); +CGContextStrokeRect(_31,_32); +CGContextRestoreGState(_31); +}; +CGContextConcatCTM=function(_34,_35){ +var CTM=_34.gState.CTM; +var tx=CTM.tx*_35.a+CTM.ty*_35.c+_35.tx; +CTM.ty=CTM.tx*_35.b+CTM.ty*_35.d+_35.ty; +CTM.tx=tx; +var a=CTM.a*_35.a+CTM.b*_35.c,b=CTM.a*_35.b+CTM.b*_35.d,c=CTM.c*_35.a+CTM.d*_35.c; +CTM.d=CTM.c*_35.b+CTM.d*_35.d; +CTM.a=a; +CTM.b=b; +CTM.c=c; +}; +CGContextGetCTM=function(_36){ +return _36.gState.CTM; +}; +CGContextRotateCTM=function(_37,_38){ +var _39=_37.gState; +_39.CTM=CGAffineTransformRotate(_39.CTM,_38); +}; +CGContextScaleCTM=function(_3a,sx,sy){ +var _3b=_3a.gState; +_3b.CTM={a:_3b.CTM.a*sx,b:_3b.CTM.b*sx,c:_3b.CTM.c*sy,d:_3b.CTM.d*sy,tx:_3b.CTM.tx,ty:_3b.CTM.ty}; +}; +CGContextTranslateCTM=function(_3c,tx,ty){ +var _3d=_3c.gState; +_3d.CTM={a:_3d.CTM.a,b:_3d.CTM.b,c:_3d.CTM.c,d:_3d.CTM.d,tx:_3d.CTM.tx+_3d.CTM.a*tx+_3d.CTM.c*ty,ty:_3d.CTM.ty+_3d.CTM.b*tx+_3d.CTM.d*ty}; +}; +CGContextSetShadow=function(_3e,_3f,_40){ +var _41=_3e.gState; +_41.shadowOffset={width:_3f.width,height:_3f.height}; +_41.shadowBlur=_40; +_41.shadowColor=objj_msgSend(CPColor,"shadowColor"); +}; +CGContextSetShadowWithColor=function(_42,_43,_44,_45){ +var _46=_42.gState; +_46.shadowOffset={width:_43.width,height:_43.height}; +_46.shadowBlur=_44; +_46.shadowColor=_45; +}; +CGContextSetAlpha=function(_47,_48){ +_47.gState.alpha=MAX(MIN(_48,1),0); +}; +} +CGContextEOFillPath=function(_49){ +CGContextDrawPath(_49,kCGPathEOFill); +}; +CGContextFillPath=function(_4a){ +CGContextDrawPath(_4a,kCGPathFill); +}; +var _4b=4*((SQRT2-1)/3); +CGContextAddEllipseInRect=function(_4c,_4d){ +CGContextBeginPath(_4c); +CGContextAddPath(_4c,CGPathWithEllipseInRect(_4d)); +CGContextClosePath(_4c); +}; +CGContextFillEllipseInRect=function(_4e,_4f){ +CGContextBeginPath(_4e); +CGContextAddEllipseInRect(_4e,_4f); +CGContextClosePath(_4e); +CGContextFillPath(_4e); +}; +CGContextStrokeEllipseInRect=function(_50,_51){ +CGContextBeginPath(_50); +CGContextAddEllipseInRect(_50,_51); +CGContextClosePath(_50); +CGContextStrokePath(_50); +}; +CGContextStrokePath=function(_52){ +CGContextDrawPath(_52,kCGPathStroke); +}; +CGContextStrokeLineSegments=function(_53,_54,_55){ +var i=0; +if(arguments["count"]==NULL){ +var _55=_54.length; +} +CGContextBeginPath(_53); +for(;i<_55;i+=2){ +CGContextMoveToPoint(_53,_54[i].x,_54[i].y); +CGContextAddLineToPoint(_53,_54[i+1].x,_54[i+1].y); +} +CGContextStrokePath(_53); +}; +CGContextSetFillColor=function(_56,_57){ +if(_57){ +_56.gState.fillStyle=objj_msgSend(_57,"cssString"); +} +}; +CGContextSetStrokeColor=function(_58,_59){ +if(_59){ +_58.gState.strokeStyle=objj_msgSend(_59,"cssString"); +} +}; +CGContextFillRoundedRectangleInRect=function(_5a,_5b,_5c,ne,se,sw,nw){ +CGContextBeginPath(_5a); +CGContextAddPath(_5a,CGPathWithRoundedRectangleInRect(_5b,_5c,_5c,ne,se,sw,nw)); +CGContextClosePath(_5a); +CGContextFillPath(_5a); +}; +CGContextStrokeRoundedRectangleInRect=function(_5d,_5e,_5f,ne,se,sw,nw){ +CGContextBeginPath(_5d); +CGContextAddPath(_5d,CGPathWithRoundedRectangleInRect(_5e,_5f,_5f,ne,se,sw,nw)); +CGContextClosePath(_5d); +CGContextStrokePath(_5d); +}; +if(CPFeatureIsCompatible(CPHTMLCanvasFeature)){ +var _60=["butt","round","square"],_61=["miter","round","bevel"],_62=["source-over","source-over","source-over","source-over","darker","lighter","source-over","source-over","source-over","source-over","source-over","source-over","source-over","source-over","source-over","source-over","source-over","copy","source-in","source-out","source-atop","destination-over","destination-in","destination-out","destination-atop","xor","source-over","source-over"]; +CGContextSaveGState=function(_63){ +_63.save(); +}; +CGContextRestoreGState=function(_64){ +_64.restore(); +}; +CGContextSetLineCap=function(_65,_66){ +_65.lineCap=_60[_66]; +}; +CGContextSetLineJoin=function(_67,_68){ +_67.lineJoin=_61[_68]; +}; +CGContextSetLineWidth=function(_69,_6a){ +_69.lineWidth=_6a; +}; +CGContextSetMiterLimit=function(_6b,_6c){ +_6b.miterLimit=_6c; +}; +CGContextSetBlendMode=function(_6d,_6e){ +_6d.globalCompositeOperation=_62[_6e]; +}; +CGContextAddArc=function(_6f,x,y,_70,_71,_72,_73){ +_6f.arc(x,y,_70,_71,_72,!_73); +}; +CGContextAddArcToPoint=function(_74,x1,y1,x2,y2,_75){ +_74.arcTo(x1,y1,x2,y2,_75); +}; +CGContextAddCurveToPoint=function(_76,_77,_78,_79,_7a,x,y){ +_76.bezierCurveTo(_77,_78,_79,_7a,x,y); +}; +CGContextAddLineToPoint=function(_7b,x,y){ +_7b.lineTo(x,y); +}; +CGContextAddPath=function(_7c,_7d){ +if(!_7c||CGPathIsEmpty(_7d)){ +return; +} +var _7e=_7d.elements,i=0,_7f=_7d.count; +for(;i<_7f;++i){ +var _80=_7e[i],_81=_80.type; +switch(_81){ +case kCGPathElementMoveToPoint: +_7c.moveTo(_80.x,_80.y); +break; +case kCGPathElementAddLineToPoint: +_7c.lineTo(_80.x,_80.y); +break; +case kCGPathElementAddQuadCurveToPoint: +_7c.quadraticCurveTo(_80.cpx,_80.cpy,_80.x,_80.y); +break; +case kCGPathElementAddCurveToPoint: +_7c.bezierCurveTo(_80.cp1x,_80.cp1y,_80.cp2x,_80.cp2y,_80.x,_80.y); +break; +case kCGPathElementCloseSubpath: +_7c.closePath(); +break; +case kCGPathElementAddArc: +_7c.arc(_80.x,_80.y,_80.radius,_80.startAngle,_80.endAngle,_80.clockwise); +break; +case kCGPathElementAddArcTo: +break; +} +} +}; +CGContextAddRect=function(_82,_83){ +_82.rect((_83.origin.x),(_83.origin.y),(_83.size.width),(_83.size.height)); +}; +CGContextAddRects=function(_84,_85,_86){ +var i=0; +if(arguments["count"]==NULL){ +var _86=_85.length; +} +for(;i<_86;++i){ +var _87=_85[i]; +_84.rect((_87.origin.x),(_87.origin.y),(_87.size.width),(_87.size.height)); +} +}; +CGContextBeginPath=function(_88){ +_88.beginPath(); +}; +CGContextClosePath=function(_89){ +_89.closePath(); +}; +CGContextMoveToPoint=function(_8a,x,y){ +_8a.moveTo(x,y); +}; +CGContextClearRect=function(_8b,_8c){ +_8b.clearRect((_8c.origin.x),(_8c.origin.y),(_8c.size.width),(_8c.size.height)); +}; +CGContextDrawPath=function(_8d,_8e){ +if(_8e==kCGPathFill||_8e==kCGPathFillStroke){ +_8d.fill(); +}else{ +if(_8e==kCGPathEOFill||_8e==kCGPathEOFillStroke){ +alert("not implemented!!!"); +} +} +if(_8e==kCGPathStroke||_8e==kCGPathFillStroke||_8e==kCGPathEOFillStroke){ +_8d.stroke(); +} +}; +CGContextFillRect=function(_8f,_90){ +_8f.fillRect((_90.origin.x),(_90.origin.y),(_90.size.width),(_90.size.height)); +}; +CGContextFillRects=function(_91,_92,_93){ +var i=0; +if(arguments["count"]==NULL){ +var _93=_92.length; +} +for(;i<_93;++i){ +var _94=_92[i]; +_91.fillRect((_94.origin.x),(_94.origin.y),(_94.size.width),(_94.size.height)); +} +}; +CGContextStrokeRect=function(_95,_96){ +_95.strokeRect((_96.origin.x),(_96.origin.y),(_96.size.width),(_96.size.height)); +}; +CGContextClip=function(_97){ +_97.clip(); +}; +CGContextClipToRect=function(_98,_99){ +_98.beginPath(); +_98.rect((_99.origin.x),(_99.origin.y),(_99.size.width),(_99.size.height)); +_98.closePath(); +_98.clip(); +}; +CGContextClipToRects=function(_9a,_9b,_9c){ +if(arguments["count"]==NULL){ +var _9c=_9b.length; +} +_9a.beginPath(); +CGContextAddRects(_9a,_9b,_9c); +_9a.clip(); +}; +CGContextSetAlpha=function(_9d,_9e){ +_9d.globalAlpha=_9e; +}; +CGContextSetFillColor=function(_9f,_a0){ +_9f.fillStyle=objj_msgSend(_a0,"cssString"); +}; +CGContextSetStrokeColor=function(_a1,_a2){ +_a1.strokeStyle=objj_msgSend(_a2,"cssString"); +}; +CGContextSetShadow=function(_a3,_a4,_a5){ +_a3.shadowOffsetX=_a4.width; +_a3.shadowOffsetY=_a4.height; +_a3.shadowBlur=_a5; +}; +CGContextSetShadowWithColor=function(_a6,_a7,_a8,_a9){ +_a6.shadowOffsetX=_a7.width; +_a6.shadowOffsetY=_a7.height; +_a6.shadowBlur=_a8; +_a6.shadowColor=objj_msgSend(_a9,"cssString"); +}; +CGContextRotateCTM=function(_aa,_ab){ +_aa.rotate(_ab); +}; +CGContextScaleCTM=function(_ac,sx,sy){ +_ac.scale(sx,sy); +}; +CGContextTranslateCTM=function(_ad,tx,ty){ +_ad.translate(tx,ty); +}; +eigen=function(_ae){ +alert("IMPLEMENT ME!"); +}; +if(CPFeatureIsCompatible(CPJavaScriptCanvasTransformFeature)){ +CGContextConcatCTM=function(_af,_b0){ +_af.transform(_b0.a,_b0.b,_b0.c,_b0.d,_b0.tx,_b0.ty); +}; +}else{ +CGContextConcatCTM=function(_b1,_b2){ +var a=_b2.a,b=_b2.b,c=_b2.c,d=_b2.d,tx=_b2.tx,ty=_b2.ty,sx=1,sy=1,a1=0,a2=0; +if(b==0&&c==0){ +sx=a; +sy=d; +}else{ +if(a*b==-c*d){ +var _b3=(a*d<0||b*c>0)?-1:1,a2=(ATAN2(b,d)+ATAN2(-_b3*c,_b3*a))/2,cos=COS(a2),sin=SIN(a2); +if(cos==0){ +sx=-c/sin; +sy=b/sin; +}else{ +if(sin==0){ +sx=a/cos; +sy=d/cos; +}else{ +abs_cos=ABS(cos); +abs_sin=ABS(sin); +sx=(abs_cos*a/cos+abs_sin*-c/sin)/(abs_cos+abs_sin); +sy=(abs_cos*d/cos+abs_sin*b/sin)/(abs_cos+abs_sin); +} +} +}else{ +if(a*c==-b*d){ +var _b3=(a*d<0||b*c>0)?-1:1; +a1=(Math.atan2(_b3*b,_b3*a)+Math.atan2(-c,d))/2,cos=COS(a1),sin=SIN(a1); +if(cos==0){ +sx=b/sin; +sy=-c/sin; +}else{ +if(sin==0){ +sx=a/cos; +sy=d/cos; +}else{ +abs_cos=ABS(cos); +abs_sin=ABS(sin); +sx=(abs_cos*a/cos+abs_sin*b/sin)/(abs_cos+abs_sin); +sy=(abs_cos*d/cos+abs_sin*-c/sin)/(abs_cos+abs_sin); +} +} +}else{ +var _b4=CGAffineTransformMake(a,c,b,d,0,0),u=eigen(CGAffineTransformConcat(_b2,_b4)),v=eigen(CGAffineTransformConcat(_b4,_b2)),U=CGAffineTransformMake(u.vector_1.x,u.vector_2.x,u.vector_1.y,u.vector_2.y,0,0),VT=CGAffineTransformMake(v.vector_1.x,v.vector_1.y,v.vector_2.x,v.vector_2.y,0,0),S=CGAffineTransformConcat(CGAffineTransformConcat(CGAffineTransformInvert(U),_b2),CGAffineTransformInvert(VT)); +a=VT.a; +b=VT.b; +c=VT.c; +d=VT.d; +var _b3=(a*d<0||b*c>0)?-1:1,a2=(ATAN2(b,d)+ATAN2(-_b3*c,_b3*a))/2,cos=COS(a2),sin=SIN(a2); +if(cos==0){ +sx=-c/sin; +sy=b/sin; +}else{ +if(sin==0){ +sx=a/cos; +sy=d/cos; +}else{ +abs_cos=ABS(cos); +abs_sin=ABS(sin); +sx=(abs_cos*a/cos+abs_sin*-c/sin)/(abs_cos+abs_sin); +sy=(abs_cos*d/cos+abs_sin*b/sin)/(abs_cos+abs_sin); +} +} +S.a*=sx; +S.d*=sy; +a=U.a; +b=U.b; +c=U.c; +d=U.d; +var _b3=(a*d<0||b*c>0)?-1:1; +a1=(Math.atan2(_b3*b,_b3*a)+Math.atan2(-c,d))/2,cos=COS(a1),sin=SIN(a1); +if(cos==0){ +sx=b/sin; +sy=-c/sin; +}else{ +if(sin==0){ +sx=a/cos; +sy=d/cos; +}else{ +abs_cos=ABS(cos); +abs_sin=ABS(sin); +sx=(abs_cos*a/cos+abs_sin*b/sin)/(abs_cos+abs_sin); +sy=(abs_cos*d/cos+abs_sin*-c/sin)/(abs_cos+abs_sin); +} +} +sx=S.a*sx; +sy=S.d*sy; +} +} +} +if(tx!=0||ty!=0){ +CGContextTranslateCTM(_b1,tx,ty); +} +if(a1!=0){ +CGContextRotateCTM(_b1,a1); +} +if(sx!=1||sy!=1){ +CGContextScaleCTM(_b1,sx,sy); +} +if(a2!=0){ +CGContextRotateCTM(_b1,a2); +} +}; +} +CGContextDrawImage=function(_b5,_b6,_b7){ +_b5.drawImage(_b7._image,(_b6.origin.x),(_b6.origin.y),(_b6.size.width),(_b6.size.height)); +}; +to_string=function(_b8){ +return "rgba("+ROUND(_b8.components[0]*255)+", "+ROUND(_b8.components[1]*255)+", "+ROUND(255*_b8.components[2])+", "+_b8.components[3]+")"; +}; +CGContextDrawLinearGradient=function(_b9,_ba,_bb,_bc,_bd){ +var _be=_ba.colors,_bf=_be.length,_c0=_b9.createLinearGradient(_bb.x,_bb.y,_bc.x,_bc.y); +while(_bf--){ +_c0.addColorStop(_ba.locations[_bf],to_string(_be[_bf])); +} +_b9.fillStyle=_c0; +_b9.fill(); +}; +CGBitmapGraphicsContextCreate=function(){ +var _c1=document.createElement("canvas"),_c2=_c1.getContext("2d"); +_c2.DOMElement=_c1; +return _c2; +}; +}else{ +if(CPFeatureIsCompatible(CPVMLFeature)){ +var _c3=["f","t"],_c4=["flat","round","square"],_c5=["miter","round","bevel"],_c6=[" m "," l ","qb"," c "," x ",[" at "," wa "]]; +var _c7=CGBitmapGraphicsContextCreate; +CGBitmapGraphicsContextCreate=function(){ +document.namespaces.add("cg_vml_","urn:schemas-microsoft-com:vml"); +document.createStyleSheet().cssText="cg_vml_\\:*{behavior:url(#default#VML)}"; +CGBitmapGraphicsContextCreate=_c7; +return _c7(); +}; +CGContextClearRect=function(_c8,_c9){ +if(_c8.buffer!=nil){ +_c8.buffer=""; +}else{ +_c8.DOMElement.innerHTML=""; +} +_c8.path=NULL; +}; +var W=10,H=10,Z=10,Z_2=Z/2; +CGContextDrawImage=function(_ca,_cb,_cc){ +var _cd=""; +if(_cc.buffer!=nil){ +_cd=_cc.buffer; +}else{ +var ctm=_ca.gState.CTM,_ce=CGPointApplyAffineTransform(_cb.origin,ctm),_cf=ctm.a==ctm.d&&ctm.b==-ctm.c,vml=[""); +_cd=vml.join(""); +} +if(_ca.buffer!=nil){ +_ca.buffer+=_cd; +}else{ +_ca.DOMElement.insertAdjacentHTML("BeforeEnd",_cd); +} +}; +CGContextDrawPath=function(_d1,_d2){ +if(!_d1||CGPathIsEmpty(_d1.path)){ +return; +} +var _d3=_d1.path.elements,i=0,_d4=_d1.path.count,_d5=_d1.gState,_d6=(_d2==kCGPathFill||_d2==kCGPathFillStroke)?1:0,_d7=(_d2==kCGPathStroke||_d2==kCGPathFillStroke)?1:0,_d8=_d5.alpha,vml=["=x){ +if(_df.y"); +if(_d5.gradient){ +vml.push(_d5.gradient); +}else{ +if(_d6){ +vml.push(""); +} +} +if(_d7){ +vml.push(""); +} +var _e0=_d5.shadowColor; +if(_e0){ +var _e1=_d5.shadowOffset; +vml.push(""); +} +vml.push(""); +_d1.path=NULL; +if(_d1.buffer!=nil){ +_d1.buffer+=vml.join(""); +}else{ +_d1.DOMElement.insertAdjacentHTML("BeforeEnd",vml.join("")); +} +}; +to_string=function(_e2){ +return "rgb("+ROUND(_e2.components[0]*255)+", "+ROUND(_e2.components[1]*255)+", "+ROUND(255*_e2.components[2])+")"; +}; +CGContextDrawLinearGradient=function(_e3,_e4,_e5,_e6,_e7){ +if(!_e3||!_e4){ +return; +} +var vml=nil; +if(_e4.vml_gradient){ +var _e8=objj_msgSend(objj_msgSend(_e4.vml_gradient,"stops"),"sortedArrayUsingSelector:",sel_getUid("comparePosition:")),_e9=objj_msgSend(_e8,"count"); +vml=[""); +}else{ +var _ea=_e4.colors,_e9=_ea.length; +vml=[""); +} +_e3.gState.gradient=vml.join(""); +}; +} +} +p;12;CGGeometry.jt;5891;@STATIC;1.0;t;5872; +CGPointMake=function(x,y){ +return {x:x,y:y}; +}; +CGPointMakeZero=function(){ +return {x:0,y:0}; +}; +CGPointMakeCopy=function(_1){ +return {x:_1.x,y:_1.y}; +}; +CGPointCreateCopy=function(_2){ +return {x:_2.x,y:_2.y}; +}; +CGPointEqualToPoint=function(_3,_4){ +return (_3.x==_4.x&&_3.y==_4.y); +}; +CGStringFromPoint=function(_5){ +return ("{"+_5.x+", "+_5.y+"}"); +}; +CGSizeMake=function(_6,_7){ +return {width:_6,height:_7}; +}; +CGSizeMakeZero=function(){ +return {width:0,height:0}; +}; +CGSizeMakeCopy=function(_8){ +return {width:_8.width,height:_8.height}; +}; +CGSizeCreateCopy=function(_9){ +return {width:_9.width,height:_9.height}; +}; +CGSizeEqualToSize=function(_a,_b){ +return (_a.width==_b.width&&_a.height==_b.height); +}; +CGStringFromSize=function(_c){ +return ("{"+_c.width+", "+_c.height+"}"); +}; +CGRectMake=function(x,y,_d,_e){ +return {origin:{x:x,y:y},size:{width:_d,height:_e}}; +}; +CGRectMakeZero=function(){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +}; +CGRectMakeCopy=function(_f){ +return {origin:{x:_f.origin.x,y:_f.origin.y},size:{width:_f.size.width,height:_f.size.height}}; +}; +CGRectCreateCopy=function(_10){ +return {origin:{x:_10.origin.x,y:_10.origin.y},size:{width:_10.size.width,height:_10.size.height}}; +}; +CGRectEqualToRect=function(_11,_12){ +return ((_11.origin.x==_12.origin.x&&_11.origin.y==_12.origin.y)&&(_11.size.width==_12.size.width&&_11.size.height==_12.size.height)); +}; +CGStringFromRect=function(_13){ +return ("{"+("{"+_13.origin.x+", "+_13.origin.y+"}")+", "+("{"+_13.size.width+", "+_13.size.height+"}")+"}"); +}; +CGRectOffset=function(_14,dX,dY){ +return {origin:{x:_14.origin.x+dX,y:_14.origin.y+dY},size:{width:_14.size.width,height:_14.size.height}}; +}; +CGRectInset=function(_15,dX,dY){ +return {origin:{x:_15.origin.x+dX,y:_15.origin.y+dY},size:{width:_15.size.width-2*dX,height:_15.size.height-2*dY}}; +}; +CGRectGetHeight=function(_16){ +return (_16.size.height); +}; +CGRectGetMaxX=function(_17){ +return (_17.origin.x+_17.size.width); +}; +CGRectGetMaxY=function(_18){ +return (_18.origin.y+_18.size.height); +}; +CGRectGetMidX=function(_19){ +return (_19.origin.x+(_19.size.width)/2); +}; +CGRectGetMidY=function(_1a){ +return (_1a.origin.y+(_1a.size.height)/2); +}; +CGRectGetMinX=function(_1b){ +return (_1b.origin.x); +}; +CGRectGetMinY=function(_1c){ +return (_1c.origin.y); +}; +CGRectGetWidth=function(_1d){ +return (_1d.size.width); +}; +CGRectIsEmpty=function(_1e){ +return (_1e.size.width<=0||_1e.size.height<=0); +}; +CGRectIsNull=function(_1f){ +return (_1f.size.width<=0||_1f.size.height<=0); +}; +CGRectContainsPoint=function(_20,_21){ +return (_21.x>=(_20.origin.x)&&_21.y>=(_20.origin.y)&&_21.x<(_20.origin.x+_20.size.width)&&_21.y<(_20.origin.y+_20.size.height)); +}; +CGInsetMake=function(top,_22,_23,_24){ +return {top:(top),right:(_22),bottom:(_23),left:(_24)}; +}; +CGInsetMakeZero=function(){ +return {top:(0),right:(0),bottom:(0),left:(0)}; +}; +CGInsetMakeCopy=function(_25){ +return {top:(_25.top),right:(_25.right),bottom:(_25.bottom),left:(_25.left)}; +}; +CGInsetIsEmpty=function(_26){ +return ((_26).top===0&&(_26).right===0&&(_26).bottom===0&&(_26).left===0); +}; +CGRectNull={origin:{x:Infinity,y:Infinity},size:{width:0,height:0}}; +CGRectContainsRect=function(_27,_28){ +var _29=CGRectUnion(_27,_28); +return ((_29.origin.x==_27.origin.x&&_29.origin.y==_27.origin.y)&&(_29.size.width==_27.size.width&&_29.size.height==_27.size.height)); +}; +CGRectIntersectsRect=function(_2a,_2b){ +var _2c=CGRectIntersection(_2a,_2b); +return !(_2c.size.width<=0||_2c.size.height<=0); +}; +CGRectIntegral=function(_2d){ +_2d=CGRectStandardize(_2d); +var x=FLOOR((_2d.origin.x)),y=FLOOR((_2d.origin.y)); +_2d.size.width=CEIL((_2d.origin.x+_2d.size.width))-x; +_2d.size.height=CEIL((_2d.origin.y+_2d.size.height))-y; +_2d.origin.x=x; +_2d.origin.y=y; +return _2d; +}; +CGRectIntersection=function(_2e,_2f){ +var _30={origin:{x:MAX((_2e.origin.x),(_2f.origin.x)),y:MAX((_2e.origin.y),(_2f.origin.y))},size:{width:0,height:0}}; +_30.size.width=MIN((_2e.origin.x+_2e.size.width),(_2f.origin.x+_2f.size.width))-(_30.origin.x); +_30.size.height=MIN((_2e.origin.y+_2e.size.height),(_2f.origin.y+_2f.size.height))-(_30.origin.y); +return (_30.size.width<=0||_30.size.height<=0)?{origin:{x:0,y:0},size:{width:0,height:0}}:_30; +}; +CGRectStandardize=function(_31){ +var _32=(_31.size.width),_33=(_31.size.height),_34={origin:{x:_31.origin.x,y:_31.origin.y},size:{width:_31.size.width,height:_31.size.height}}; +if(_32<0){ +_34.origin.x+=_32; +_34.size.width=-_32; +} +if(_33<0){ +_34.origin.y+=_33; +_34.size.height=-_33; +} +return _34; +}; +CGRectUnion=function(_35,_36){ +var _37=!_35||_35===CGRectNull,_38=!_36||_36===CGRectNull; +if(_37){ +return _38?CGRectNull:_36; +} +if(_38){ +return _37?CGRectNull:_35; +} +var _39=MIN((_35.origin.x),(_36.origin.x)),_3a=MIN((_35.origin.y),(_36.origin.y)),_3b=MAX((_35.origin.x+_35.size.width),(_36.origin.x+_36.size.width)),_3c=MAX((_35.origin.y+_35.size.height),(_36.origin.y+_36.size.height)); +return {origin:{x:_39,y:_3a},size:{width:_3b-_39,height:_3c-_3a}}; +}; +CGPointFromString=function(_3d){ +var _3e=_3d.indexOf(","); +return {x:parseInt(_3d.substr(1,_3e-1)),y:parseInt(_3d.substring(_3e+1,_3d.length))}; +}; +CGSizeFromString=function(_3f){ +var _40=_3f.indexOf(","); +return {width:parseInt(_3f.substr(1,_40-1)),height:parseInt(_3f.substring(_40+1,_3f.length))}; +}; +CGRectFromString=function(_41){ +var _42=_41.indexOf(",",_41.indexOf(",")+1); +return {origin:CGPointFromString(_41.substr(1,_42-1)),size:CGSizeFromString(_41.substring(_42+2,_41.length))}; +}; +CGPointFromEvent=function(_43){ +return {x:_43.clientX,y:_43.clientY}; +}; +CGInsetFromString=function(_44){ +var _45=_44.substr(1,_44.length-2).split(","); +return {top:(parseFloat(_45[0])),right:(parseFloat(_45[1])),bottom:(parseFloat(_45[2])),left:(parseFloat(_45[3]))}; +}; +CGInsetFromCPString=CGInsetFromString; +CPStringFromCGInset=function(_46){ +return "{"+_46.top+", "+_46.left+", "+_46.bottom+", "+_46.right+"}"; +}; +p;12;CGGradient.jt;622;@STATIC;1.0;i;9;CGColor.ji;14;CGColorSpace.jt;572; +objj_executeFile("CGColor.j",YES); +objj_executeFile("CGColorSpace.j",YES); +kCGGradientDrawsBeforeStartLocation=1<<0; +kCGGradientDrawsAfterEndLocation=1<<1; +CGGradientCreateWithColorComponents=function(_1,_2,_3,_4){ +if(arguments["count"]==NULL){ +var _4=_3.length; +} +var _5=[]; +while(_4--){ +var _6=_4*4; +_5[_4]=CGColorCreate(_1,_2.slice(_6,_6+4)); +} +return CGGradientCreateWithColors(_1,_5,_3); +}; +CGGradientCreateWithColors=function(_7,_8,_9){ +return {colorspace:_7,colors:_8,locations:_9}; +}; +CGGradientRelease=function(){ +}; +CGGradientRetain=function(_a){ +return _a; +}; +p;8;CGPath.jt;7466;@STATIC;1.0;i;12;CGGeometry.ji;19;CGAffineTransform.jt;7406; +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CGAffineTransform.j",YES); +kCGPathElementMoveToPoint=0; +kCGPathElementAddLineToPoint=1; +kCGPathElementAddQuadCurveToPoint=2; +kCGPathElementAddCurveToPoint=3; +kCGPathElementCloseSubpath=4; +kCGPathElementAddArc=5; +kCGPathElementAddArcToPoint=6; +CGPathCreateMutable=function(){ +return {count:0,start:NULL,current:NULL,elements:[]}; +}; +CGPathCreateMutableCopy=function(_1){ +var _2=CGPathCreateMutable(); +CGPathAddPath(_2,_1); +return _2; +}; +CGPathCreateCopy=function(_3){ +return CGPathCreateMutableCopy(_3); +}; +CGPathRelease=function(_4){ +}; +CGPathRetain=function(_5){ +return _5; +}; +CGPathAddArc=function(_6,_7,x,y,_8,_9,_a,_b){ +if(_7&&!(_7.a==1&&_7.b==0&&_7.c==0&&_7.d==1&&_7.tx==0&&_7.ty==0)){ +var _c={x:x,y:y},_d={x:COS(_a),y:SIN(_a)},_e={x:COS(_9),y:SIN(_9)}; +_d={x:_d.x*_7.a+_d.y*_7.c+_7.tx,y:_d.x*_7.b+_d.y*_7.d+_7.ty}; +_e={x:_e.x*_7.a+_e.y*_7.c+_7.tx,y:_e.x*_7.b+_e.y*_7.d+_7.ty}; +_c={x:_c.x*_7.a+_c.y*_7.c+_7.tx,y:_c.x*_7.b+_c.y*_7.d+_7.ty}; +x=_c.x; +y=_c.y; +var _f=_a,_10=_9; +_a=ATAN2(_d.y-_7.ty,_d.x-_7.tx); +_9=ATAN2(_e.y-_7.ty,_e.x-_7.tx); +if(_a==_9&&_f!=_10){ +if(_10>_f){ +_a=_a-PI2; +}else{ +_9=_9-PI2; +} +} +_8={width:_8,height:0}; +_8={width:_8.width*_7.a+_8.height*_7.c,height:_8.width*_7.b+_8.height*_7.d}; +_8=SQRT(_8.width*_8.width+_8.height*_8.height); +} +_6.current={x:x+_8*COS(_a),y:y+_8*SIN(_a)}; +_6.elements[_6.count++]={type:kCGPathElementAddArc,x:x,y:y,radius:_8,startAngle:_9,endAngle:_a}; +}; +CGPathAddArcToPoint=function(_11,_12,x1,y1,x2,y2,_13){ +}; +CGPathAddCurveToPoint=function(_14,_15,_16,_17,_18,_19,x,y){ +var cp1={x:_16,y:_17},cp2={x:_18,y:_19},end={x:x,y:y}; +if(_15){ +cp1={x:cp1.x*_15.a+cp1.y*_15.c+_15.tx,y:cp1.x*_15.b+cp1.y*_15.d+_15.ty}; +cp2={x:cp2.x*_15.a+cp2.y*_15.c+_15.tx,y:cp2.x*_15.b+cp2.y*_15.d+_15.ty}; +end={x:end.x*_15.a+end.y*_15.c+_15.tx,y:end.x*_15.b+end.y*_15.d+_15.ty}; +} +_14.current=end; +_14.elements[_14.count++]={type:kCGPathElementAddCurveToPoint,cp1x:cp1.x,cp1y:cp1.y,cp2x:cp2.x,cp2y:cp2.y,x:end.x,y:end.y}; +}; +CGPathAddLines=function(_1a,_1b,_1c,_1d){ +var i=1; +if(arguments["count"]==NULL){ +var _1d=_1c.length; +} +if(!_1a||_1d<2){ +return; +} +CGPathMoveToPoint(_1a,_1b,_1c[0].x,_1c[0].y); +for(;i<_1d;++i){ +CGPathAddLineToPoint(_1a,_1b,_1c[i].x,_1c[i].y); +} +}; +CGPathAddLineToPoint=function(_1e,_1f,x,y){ +var _20={x:x,y:y}; +if(_1f!=NULL){ +_20={x:_20.x*_1f.a+_20.y*_1f.c+_1f.tx,y:_20.x*_1f.b+_20.y*_1f.d+_1f.ty}; +} +_1e.elements[_1e.count++]={type:kCGPathElementAddLineToPoint,x:_20.x,y:_20.y}; +_1e.current=_20; +}; +CGPathAddPath=function(_21,_22,_23){ +for(var i=0,_24=_23.count;i<_24;++i){ +var _25=_23.elements[i]; +switch(_25.type){ +case kCGPathElementAddLineToPoint: +CGPathAddLineToPoint(_21,_22,_25.x,_25.y); +break; +case kCGPathElementAddCurveToPoint: +CGPathAddCurveToPoint(_21,_22,_25.cp1x,_25.cp1y,_25.cp2x,_25.cp2y,_25.x,_25.y); +break; +case kCGPathElementAddArc: +CGPathAddArc(_21,_22,_25.x,_25.y,_25.radius,_25.startAngle,_25.endAngle,_25.isClockwise); +break; +case kCGPathElementAddQuadCurveToPoint: +CGPathAddQuadCurveToPoint(_21,_22,_25.cpx,_25.cpy,_25.x,_25.y); +break; +case kCGPathElementMoveToPoint: +CGPathMoveToPoint(_21,_22,_25.x,_25.y); +break; +case kCGPathElementCloseSubpath: +CGPathCloseSubpath(_21); +break; +} +} +}; +CGPathAddQuadCurveToPoint=function(_26,_27,cpx,cpy,x,y){ +var cp={x:cpx,y:cpy},end={x:x,y:y}; +if(_27){ +cp={x:cp.x*_27.a+cp.y*_27.c+_27.tx,y:cp.x*_27.b+cp.y*_27.d+_27.ty}; +end={x:end.x*_27.a+end.y*_27.c+_27.tx,y:end.x*_27.b+end.y*_27.d+_27.ty}; +} +_26.elements[_26.count++]={type:kCGPathElementAddQuadCurveToPoint,cpx:cp.x,cpy:cp.y,x:end.x,y:end.y}; +_26.current=end; +}; +CGPathAddRect=function(_28,_29,_2a){ +CGPathAddRects(_28,_29,[_2a],1); +}; +CGPathAddRects=function(_2b,_2c,_2d,_2e){ +var i=0; +if(arguments["count"]==NULL){ +var _2e=_2d.length; +} +for(;i<_2e;++i){ +var _2f=_2d[i]; +CGPathMoveToPoint(_2b,_2c,(_2f.origin.x),(_2f.origin.y)); +CGPathAddLineToPoint(_2b,_2c,(_2f.origin.x+_2f.size.width),(_2f.origin.y)); +CGPathAddLineToPoint(_2b,_2c,(_2f.origin.x+_2f.size.width),(_2f.origin.y+_2f.size.height)); +CGPathAddLineToPoint(_2b,_2c,(_2f.origin.x),(_2f.origin.y+_2f.size.height)); +CGPathCloseSubpath(_2b); +} +}; +CGPathMoveToPoint=function(_30,_31,x,y){ +var _32={x:x,y:y},_33=_30.count; +if(_31!=NULL){ +_32={x:_32.x*_31.a+_32.y*_31.c+_31.tx,y:_32.x*_31.b+_32.y*_31.d+_31.ty}; +} +_30.start=_32; +_30.current=_32; +var _34=_30.elements[_33-1]; +if(_33!=0&&_34.type==kCGPathElementMoveToPoint){ +_34.x=_32.x; +_34.y=_32.y; +}else{ +_30.elements[_30.count++]={type:kCGPathElementMoveToPoint,x:_32.x,y:_32.y}; +} +}; +var _35=4*((SQRT2-1)/3); +CGPathWithEllipseInRect=function(_36){ +var _37=CGPathCreateMutable(); +if((_36.size.width)==(_36.size.height)){ +CGPathAddArc(_37,nil,(_36.origin.x+(_36.size.width)/2),(_36.origin.y+(_36.size.height)/2),(_36.size.width)/2,0,2*PI,YES); +}else{ +var _38={width:(_36.size.width)/2,height:(_36.size.height)/2},_39={x:(_36.origin.x)+_38.width,y:(_36.origin.y)+_38.height}; +CGPathMoveToPoint(_37,nil,_39.x,_39.y-_38.height); +CGPathAddCurveToPoint(_37,nil,_39.x+(_35*_38.width),_39.y-_38.height,_39.x+_38.width,_39.y-(_35*_38.height),_39.x+_38.width,_39.y); +CGPathAddCurveToPoint(_37,nil,_39.x+_38.width,_39.y+(_35*_38.height),_39.x+(_35*_38.width),_39.y+_38.height,_39.x,_39.y+_38.height); +CGPathAddCurveToPoint(_37,nil,_39.x-(_35*_38.width),_39.y+_38.height,_39.x-_38.width,_39.y+(_35*_38.height),_39.x-_38.width,_39.y); +CGPathAddCurveToPoint(_37,nil,_39.x-_38.width,_39.y-(_35*_38.height),_39.x-(_35*_38.width),_39.y-_38.height,_39.x,_39.y-_38.height); +} +CGPathCloseSubpath(_37); +return _37; +}; +CGPathWithRoundedRectangleInRect=function(_3a,_3b,_3c,ne,se,sw,nw){ +var _3d=CGPathCreateMutable(),_3e=(_3a.origin.x),_3f=(_3a.origin.x+_3a.size.width),_40=(_3a.origin.y),_41=(_3a.origin.y+_3a.size.height); +CGPathMoveToPoint(_3d,nil,_3e+_3b,_40); +if(ne){ +CGPathAddLineToPoint(_3d,nil,_3f-_3b,_40); +CGPathAddCurveToPoint(_3d,nil,_3f-_3b,_40,_3f,_40,_3f,_40+_3b); +}else{ +CGPathAddLineToPoint(_3d,nil,_3f,_40); +} +if(se){ +CGPathAddLineToPoint(_3d,nil,_3f,_41-_3b); +CGPathAddCurveToPoint(_3d,nil,_3f,_41-_3b,_3f,_41,_3f-_3b,_41); +}else{ +CGPathAddLineToPoint(_3d,nil,_3f,_41); +} +if(sw){ +CGPathAddLineToPoint(_3d,nil,_3e+_3b,_41); +CGPathAddCurveToPoint(_3d,nil,_3e+_3b,_41,_3e,_41,_3e,_41-_3b); +}else{ +CGPathAddLineToPoint(_3d,nil,_3e,_41); +} +if(nw){ +CGPathAddLineToPoint(_3d,nil,_3e,_40+_3b); +CGPathAddCurveToPoint(_3d,nil,_3e,_40+_3b,_3e,_40,_3e+_3b,_40); +}else{ +CGPathAddLineToPoint(_3d,nil,_3e,_40); +} +CGPathCloseSubpath(_3d); +return _3d; +}; +CGPathCloseSubpath=function(_42){ +var _43=_42.count; +if(_43==0||_42.elements[_43-1].type==kCGPathElementCloseSubpath){ +return; +} +_42.elements[_42.count++]={type:kCGPathElementCloseSubpath,points:[_42.start]}; +}; +CGPathEqualToPath=function(_44,_45){ +if(_44==_45){ +return YES; +} +if(_44.count!=_45.count||!(_44.start.x==_45.start.x&&_44.start.y==_45.start.y)||!(_44.current.x==_45.current.x&&_44.current.y==_45.current.y)){ +return NO; +} +var i=0,_46=_44.count; +for(;i<_46;++i){ +var _47=_44[i],_48=_45[i]; +if(_47.type!=_48.type){ +return NO; +} +if((_47.type==kCGPathElementAddArc||_47.type==kCGPathElementAddArcToPoint)&&_47.radius!=_48.radius){ +return NO; +} +var j=_47.points.length; +while(j--){ +if(!(_47.points[j].x==_48.points[j].x&&_47.points[j].y==_48.points[j].y)){ +return NO; +} +} +} +return YES; +}; +CGPathGetCurrentPoint=function(_49){ +return {x:_49.current.x,y:_49.current.y}; +}; +CGPathIsEmpty=function(_4a){ +return !_4a||_4a.count==0; +}; +p;18;_CPMenuBarWindow.jt;13231;@STATIC;1.0;i;15;_CPMenuWindow.jt;13191; +objj_executeFile("_CPMenuWindow.j",YES); +var _1=28,_2=10,_3=10,_4=10; +var _5=nil,_6=nil; +var _7=objj_allocateClassPair(CPPanel,"_CPMenuBarWindow"),_8=_7.isa; +class_addIvars(_7,[new objj_ivar("_menu"),new objj_ivar("_highlightView"),new objj_ivar("_menuItemViews"),new objj_ivar("_trackingMenuItem"),new objj_ivar("_iconImageView"),new objj_ivar("_titleField"),new objj_ivar("_textColor"),new objj_ivar("_titleColor"),new objj_ivar("_textShadowColor"),new objj_ivar("_titleShadowColor"),new objj_ivar("_highlightColor"),new objj_ivar("_highlightTextColor"),new objj_ivar("_highlightTextShadowColor")]); +objj_registerClassPair(_7); +class_addMethods(_7,[new objj_method(sel_getUid("init"),function(_9,_a){ +with(_9){ +var _b=objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"contentBounds"); +_b.size.height=_1; +_9=objj_msgSendSuper({receiver:_9,super_class:objj_getClass("_CPMenuBarWindow").super_class},"initWithContentRect:styleMask:",_b,CPBorderlessWindowMask); +if(_9){ +objj_msgSend(_9,"setLevel:",CPMainMenuWindowLevel); +objj_msgSend(_9,"setAutoresizingMask:",CPWindowWidthSizable); +var _c=objj_msgSend(_9,"contentView"); +objj_msgSend(_c,"setAutoresizesSubviews:",NO); +objj_msgSend(_9,"setBecomesKeyOnlyIfNeeded:",YES); +_iconImageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(0,0,16,16)); +objj_msgSend(_c,"addSubview:",_iconImageView); +_titleField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_titleField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",13)); +objj_msgSend(_titleField,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_titleField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_c,"addSubview:",_titleField); +} +return _9; +} +}),new objj_method(sel_getUid("setTitle:"),function(_d,_e,_f){ +with(_d){ +var _10=objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"objectForInfoDictionaryKey:","CPBundleName"); +if(!objj_msgSend(_10,"length")){ +document.title=_f; +}else{ +if(objj_msgSend(_f,"length")){ +document.title=_f+" - "+_10; +}else{ +document.title=_10; +} +} +objj_msgSend(_titleField,"setStringValue:",_f); +objj_msgSend(_titleField,"sizeToFit"); +objj_msgSend(_d,"tile"); +} +}),new objj_method(sel_getUid("setIconImage:"),function(_11,_12,_13){ +with(_11){ +objj_msgSend(_iconImageView,"setImage:",_13); +objj_msgSend(_iconImageView,"setHidden:",_13==nil); +objj_msgSend(_11,"tile"); +} +}),new objj_method(sel_getUid("setIconImageAlphaValue:"),function(_14,_15,_16){ +with(_14){ +objj_msgSend(_iconImageView,"setAlphaValue:",_16); +} +}),new objj_method(sel_getUid("setColor:"),function(_17,_18,_19){ +with(_17){ +if(!_19){ +if(!_5){ +_5=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_CPMenuBarWindow,"class")),"pathForResource:","_CPMenuBarWindow/_CPMenuBarWindowBackground.png"),CGSizeMake(1,28))); +} +objj_msgSend(objj_msgSend(_17,"contentView"),"setBackgroundColor:",_5); +}else{ +objj_msgSend(objj_msgSend(_17,"contentView"),"setBackgroundColor:",_19); +} +} +}),new objj_method(sel_getUid("setTextColor:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_textColor==_1c){ +return; +} +_textColor=_1c; +objj_msgSend(_menuItemViews,"makeObjectsPerformSelector:withObject:",sel_getUid("setTextColor:"),_textColor); +} +}),new objj_method(sel_getUid("setTitleColor:"),function(_1d,_1e,_1f){ +with(_1d){ +if(_titleColor==_1f){ +return; +} +_titleColor=_1f; +objj_msgSend(_titleField,"setTextColor:",_1f?_1f:objj_msgSend(CPColor,"blackColor")); +} +}),new objj_method(sel_getUid("setTextShadowColor:"),function(_20,_21,_22){ +with(_20){ +if(_textShadowColor==_22){ +return; +} +_textShadowColor=_22; +objj_msgSend(_menuItemViews,"makeObjectsPerformSelector:withObject:",sel_getUid("setTextShadowColor:"),_textShadowColor); +} +}),new objj_method(sel_getUid("setTitleShadowColor:"),function(_23,_24,_25){ +with(_23){ +if(_titleShadowColor==_25){ +return; +} +_titleShadowColor=_25; +objj_msgSend(_titleField,"setTextShadowColor:",_25?_25:objj_msgSend(CPColor,"whiteColor")); +} +}),new objj_method(sel_getUid("setHighlightColor:"),function(_26,_27,_28){ +with(_26){ +if(_highlightColor==_28){ +return; +} +_highlightColor=_28; +} +}),new objj_method(sel_getUid("setHighlightTextColor:"),function(_29,_2a,_2b){ +with(_29){ +if(_highlightTextColor==_2b){ +return; +} +_highlightTextColor=_2b; +} +}),new objj_method(sel_getUid("setHighlightTextShadowColor:"),function(_2c,_2d,_2e){ +with(_2c){ +if(_highlightTextShadowColor==_2e){ +return; +} +_highlightTextShadowColor=_2e; +} +}),new objj_method(sel_getUid("setMenu:"),function(_2f,_30,_31){ +with(_2f){ +if(_menu==_31){ +return; +} +var _32=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_menu){ +objj_msgSend(_32,"removeObserver:name:object:",_2f,CPMenuDidAddItemNotification,_menu); +objj_msgSend(_32,"removeObserver:name:object:",_2f,CPMenuDidChangeItemNotification,_menu); +objj_msgSend(_32,"removeObserver:name:object:",_2f,CPMenuDidRemoveItemNotification,_menu); +var _33=objj_msgSend(_menu,"itemArray"),_34=_33.length; +while(_34--){ +objj_msgSend(objj_msgSend(_33[_34],"_menuItemView"),"removeFromSuperview"); +} +} +_menu=_31; +if(_menu){ +objj_msgSend(_32,"addObserver:selector:name:object:",_2f,sel_getUid("menuDidAddItem:"),CPMenuDidAddItemNotification,_menu); +objj_msgSend(_32,"addObserver:selector:name:object:",_2f,sel_getUid("menuDidChangeItem:"),CPMenuDidChangeItemNotification,_menu); +objj_msgSend(_32,"addObserver:selector:name:object:",_2f,sel_getUid("menuDidRemoveItem:"),CPMenuDidRemoveItemNotification,_menu); +} +_menuItemViews=[]; +var _35=objj_msgSend(_2f,"contentView"),_33=objj_msgSend(_menu,"itemArray"),_34=_33.length; +for(index=0;index<_34;++index){ +var _36=_33[index],_37=objj_msgSend(_36,"_menuItemView"); +_menuItemViews.push(_37); +objj_msgSend(_37,"setTextColor:",_textColor); +objj_msgSend(_37,"setHidden:",objj_msgSend(_36,"isHidden")); +objj_msgSend(_37,"synchronizeWithMenuItem"); +objj_msgSend(_35,"addSubview:",_37); +} +objj_msgSend(_2f,"tile"); +} +}),new objj_method(sel_getUid("menuDidChangeItem:"),function(_38,_39,_3a){ +with(_38){ +var _3b=objj_msgSend(_menu,"itemAtIndex:",objj_msgSend(objj_msgSend(_3a,"userInfo"),"objectForKey:","CPMenuItemIndex")),_3c=objj_msgSend(_3b,"_menuItemView"); +objj_msgSend(_3c,"setHidden:",objj_msgSend(_3b,"isHidden")); +objj_msgSend(_3c,"synchronizeWithMenuItem"); +objj_msgSend(_38,"tile"); +} +}),new objj_method(sel_getUid("menuDidAddItem:"),function(_3d,_3e,_3f){ +with(_3d){ +var _40=objj_msgSend(objj_msgSend(_3f,"userInfo"),"objectForKey:","CPMenuItemIndex"),_41=objj_msgSend(_menu,"itemAtIndex:",_40),_42=objj_msgSend(_41,"_menuItemView"); +objj_msgSend(_menuItemViews,"insertObject:atIndex:",_42,_40); +objj_msgSend(_42,"setTextColor:",_textColor); +objj_msgSend(_42,"setHidden:",objj_msgSend(_41,"isHidden")); +objj_msgSend(_42,"synchronizeWithMenuItem"); +objj_msgSend(objj_msgSend(_3d,"contentView"),"addSubview:",_42); +objj_msgSend(_3d,"tile"); +} +}),new objj_method(sel_getUid("menuDidRemoveItem:"),function(_43,_44,_45){ +with(_43){ +var _46=objj_msgSend(objj_msgSend(_45,"userInfo"),"objectForKey:","CPMenuItemIndex"),_47=objj_msgSend(_menuItemViews,"objectAtIndex:",_46); +objj_msgSend(_menuItemViews,"removeObjectAtIndex:",_46); +objj_msgSend(_47,"removeFromSuperview"); +objj_msgSend(_43,"tile"); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_48,_49,_4a){ +with(_48){ +var _4b=CGRectInset(objj_msgSend(objj_msgSend(_48,"platformWindow"),"visibleFrame"),5,0); +_4b.size.height-=5; +objj_msgSend(objj_msgSend(_CPMenuManager,"sharedMenuManager"),"beginTracking:menuContainer:constraintRect:callback:",_4a,_48,_4b,function(_4c,_4d){ +objj_msgSend(_4d,"_performActionOfHighlightedItemChain"); +objj_msgSend(_4d,"_highlightItemAtIndex:",CPNotFound); +}); +} +}),new objj_method(sel_getUid("font"),function(_4e,_4f){ +with(_4e){ +objj_msgSend(CPFont,"systemFontOfSize:",12); +} +}),new objj_method(sel_getUid("tile"),function(_50,_51){ +with(_50){ +var _52=objj_msgSend(_menu,"itemArray"),_53=0,_54=_52.length,x=_3,y=0,_55=YES; +for(;_53<_54;++_53){ +var _56=_52[_53]; +if(objj_msgSend(_56,"isSeparatorItem")){ +x=CGRectGetWidth(objj_msgSend(_50,"frame"))-_4; +_55=NO; +continue; +} +if(objj_msgSend(_56,"isHidden")){ +continue; +} +var _57=objj_msgSend(_56,"_menuItemView"),_58=objj_msgSend(_57,"frame"); +if(_55){ +objj_msgSend(_57,"setFrame:",CGRectMake(x,0,CGRectGetWidth(_58),_1)); +x+=CGRectGetWidth(objj_msgSend(_57,"frame")); +}else{ +objj_msgSend(_57,"setFrame:",CGRectMake(x-CGRectGetWidth(_58),0,CGRectGetWidth(_58),_1)); +x=CGRectGetMinX(objj_msgSend(_57,"frame")); +} +} +var _59=objj_msgSend(objj_msgSend(_50,"contentView"),"bounds"),_5a=objj_msgSend(_titleField,"frame"); +if(objj_msgSend(_iconImageView,"isHidden")){ +objj_msgSend(_titleField,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_59)-CGRectGetWidth(_5a))/2,(CGRectGetHeight(_59)-CGRectGetHeight(_5a))/2)); +}else{ +var _5b=objj_msgSend(_iconImageView,"frame"),_5c=CGRectGetWidth(_5b),_5d=_5c+CGRectGetWidth(_5a); +objj_msgSend(_iconImageView,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_59)-_5d)/2,(CGRectGetHeight(_59)-CGRectGetHeight(_5b))/2)); +objj_msgSend(_titleField,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_59)-_5d)/2+_5c,(CGRectGetHeight(_59)-CGRectGetHeight(_5a))/2)); +} +} +}),new objj_method(sel_getUid("setFrame:display:animate:"),function(_5e,_5f,_60,_61,_62){ +with(_5e){ +var _63=objj_msgSend(_5e,"frame").size; +objj_msgSendSuper({receiver:_5e,super_class:objj_getClass("_CPMenuBarWindow").super_class},"setFrame:display:animate:",_60,_61,_62); +if(!(_63.width==_60.size.width&&_63.height==_60.size.height)){ +objj_msgSend(_5e,"tile"); +} +} +})]); +class_addMethods(_8,[new objj_method(sel_getUid("initialize"),function(_64,_65){ +with(_64){ +if(_64!=objj_msgSend(_CPMenuBarWindow,"class")){ +return; +} +var _66=objj_msgSend(CPBundle,"bundleForClass:",_64); +_6=objj_msgSend(CPFont,"boldSystemFontOfSize:",12); +} +}),new objj_method(sel_getUid("font"),function(_67,_68){ +with(_67){ +return _6; +} +})]); +var _7=objj_getClass("_CPMenuBarWindow"); +if(!_7){ +throw new SyntaxError("*** Could not find definition for class \"_CPMenuBarWindow\""); +} +var _8=_7.isa; +class_addMethods(_7,[new objj_method(sel_getUid("isMenuBar"),function(_69,_6a){ +with(_69){ +return YES; +} +}),new objj_method(sel_getUid("globalFrame"),function(_6b,_6c){ +with(_6b){ +return objj_msgSend(_6b,"frame"); +} +}),new objj_method(sel_getUid("scrollingStateForPoint:"),function(_6d,_6e,_6f){ +with(_6d){ +return _CPMenuManagerScrollingStateNone; +} +}),new objj_method(sel_getUid("itemIndexAtPoint:"),function(_70,_71,_72){ +with(_70){ +var _73=objj_msgSend(_menu,"itemArray"),_74=_73.length; +while(_74--){ +var _75=_73[_74]; +if(objj_msgSend(_75,"isHidden")||objj_msgSend(_75,"isSeparatorItem")){ +continue; +} +if(CGRectContainsPoint(objj_msgSend(_70,"rectForItemAtIndex:",_74),_72)){ +return _74; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("rectForItemAtIndex:"),function(_76,_77,_78){ +with(_76){ +var _79=objj_msgSend(_menu,"itemAtIndex:",_78===CPNotFound?0:_78); +return objj_msgSend(objj_msgSend(_79,"_menuItemView"),"frame"); +} +})]); +var _7=objj_allocateClassPair(_CPMenuView,"_CPMenuBarView"),_8=_7.isa; +objj_registerClassPair(_7); +class_addMethods(_7,[new objj_method(sel_getUid("rectForItemAtIndex:"),function(_7a,_7b,_7c){ +with(_7a){ +return objj_msgSend(_menuItemViews[_7c===CPNotFound?0:_7c],"frame"); +} +}),new objj_method(sel_getUid("itemIndexAtPoint:"),function(_7d,_7e,_7f){ +with(_7d){ +var _80=objj_msgSend(_7d,"bounds"); +if(!CGRectContainsPoint(_80,_7f)){ +return CPNotFound; +} +var x=_7f.x,low=0,_81=_visibleMenuItemInfos.length-1; +while(low<=_81){ +var _82=FLOOR(low+(_81-low)/2),_83=_visibleMenuItemInfos[_82],_84=objj_msgSend(_83.view,"frame"); +if(xCGRectGetMaxX(_84)){ +low=_82+1; +}else{ +return _83.index; +} +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("tile"),function(_85,_86){ +with(_85){ +var _87=objj_msgSend(_menu,"itemArray"),_88=0,_89=_87.length,x=_3,y=0,_8a=YES; +for(;_88<_89;++_88){ +var _8b=_87[_88]; +if(objj_msgSend(_8b,"isSeparatorItem")){ +x=CGRectGetWidth(objj_msgSend(_85,"frame"))-_4; +_8a=NO; +continue; +} +if(objj_msgSend(_8b,"isHidden")){ +continue; +} +var _8c=objj_msgSend(_8b,"_menuItemView"),_8d=objj_msgSend(_8c,"frame"); +if(_8a){ +objj_msgSend(_8c,"setFrameOrigin:",CGPointMake(x,(_1-1-CGRectGetHeight(_8d))/2)); +x+=CGRectGetWidth(objj_msgSend(_8c,"frame"))+_2; +}else{ +objj_msgSend(_8c,"setFrameOrigin:",CGPointMake(x-CGRectGetWidth(_8d),(_1-1-CGRectGetHeight(_8d))/2)); +x=CGRectGetMinX(objj_msgSend(_8c,"frame"))-_2; +} +} +var _8e=objj_msgSend(objj_msgSend(_85,"contentView"),"bounds"),_8f=objj_msgSend(_titleField,"frame"); +if(objj_msgSend(_iconImageView,"isHidden")){ +objj_msgSend(_titleField,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_8e)-CGRectGetWidth(_8f))/2,(CGRectGetHeight(_8e)-CGRectGetHeight(_8f))/2)); +}else{ +var _90=objj_msgSend(_iconImageView,"frame"),_91=CGRectGetWidth(_90),_92=_91+CGRectGetWidth(_8f); +objj_msgSend(_iconImageView,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_8e)-_92)/2,(CGRectGetHeight(_8e)-CGRectGetHeight(_90))/2)); +objj_msgSend(_titleField,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_8e)-_92)/2+_91,(CGRectGetHeight(_8e)-CGRectGetHeight(_8f))/2)); +} +} +})]); +p;16;_CPMenuManager.jt;8469;@STATIC;1.0;I;21;Foundation/CPObject.jt;8424; +objj_executeFile("Foundation/CPObject.j",NO); +_CPMenuManagerScrollingStateUp=-1,_CPMenuManagerScrollingStateDown=1,_CPMenuManagerScrollingStateNone=0; +var _1=500; +var _2=nil; +var _3=objj_allocateClassPair(CPObject,"_CPMenuManager"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_startTime"),new objj_ivar("_scrollingState"),new objj_ivar("_lastGlobalLocation"),new objj_ivar("_lastMouseOverMenuView"),new objj_ivar("_constraintRect"),new objj_ivar("_menuContainerStack"),new objj_ivar("_trackingCallback")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("init"),function(_5,_6){ +with(_5){ +if(_2){ +return _2; +} +return objj_msgSendSuper({receiver:_5,super_class:objj_getClass("_CPMenuManager").super_class},"init"); +} +}),new objj_method(sel_getUid("trackingMenuContainer"),function(_7,_8){ +with(_7){ +return _menuContainerStack[0]; +} +}),new objj_method(sel_getUid("trackingMenu"),function(_9,_a){ +with(_9){ +return objj_msgSend(objj_msgSend(_9,"trackingMenuContainer"),"menu"); +} +}),new objj_method(sel_getUid("beginTracking:menuContainer:constraintRect:callback:"),function(_b,_c,_d,_e,_f,_10){ +with(_b){ +var _11=objj_msgSend(_e,"menu"); +CPApp._activeMenu=_11; +_startTime=objj_msgSend(_d,"timestamp"); +_scrollingState=_CPMenuManagerScrollingStateNone; +_constraintRect=_f; +_menuContainerStack=[_e]; +_trackingCallback=_10; +if(_11===objj_msgSend(CPApp,"mainMenu")){ +var _12=objj_msgSend(_d,"globalLocation"); +var _13=objj_msgSend(_e,"convertGlobalToBase:",_12); +var _14=objj_msgSend(_e,"itemIndexAtPoint:",_13),_15=_14!==CPNotFound?objj_msgSend(_11,"itemAtIndex:",_14):nil; +_menuBarButtonItemIndex=_14; +_menuBarButtonMenuContainer=_e; +if(objj_msgSend(_15,"_isMenuBarButton")){ +return objj_msgSend(_b,"trackMenuBarButtonEvent:",_d); +} +} +objj_msgSend(_b,"trackEvent:",_d); +} +}),new objj_method(sel_getUid("trackEvent:"),function(_16,_17,_18){ +with(_16){ +var _19=objj_msgSend(_18,"type"),_1a=objj_msgSend(_16,"trackingMenu"); +if(_19===CPAppKitDefined){ +return objj_msgSend(_16,"completeTracking"); +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_16,sel_getUid("trackEvent:"),CPPeriodicMask|CPMouseMovedMask|CPLeftMouseDraggedMask|CPLeftMouseUpMask|CPAppKitDefinedMask,nil,nil,YES); +var _1b=_19===CPPeriodic?_lastGlobalLocation:objj_msgSend(_18,"globalLocation"); +_lastGlobalLocation=_1b; +var _1c=objj_msgSend(_16,"menuContainerForPoint:",_1b),_1d=objj_msgSend(_1c,"menu"),_1e=objj_msgSend(_1c,"convertGlobalToBase:",_1b); +var _1f=_1c?objj_msgSend(_1c,"itemIndexAtPoint:",_1e):CPNotFound,_20=_1f!==CPNotFound?objj_msgSend(_1d,"itemAtIndex:",_1f):nil; +if(!objj_msgSend(_20,"isEnabled")||objj_msgSend(_20,"_isMenuBarButton")){ +_1f=CPNotFound; +_20=nil; +} +var _21=objj_msgSend(_20,"view"); +if(_19===CPPeriodic){ +if(_scrollingState===_CPMenuManagerScrollingStateUp){ +objj_msgSend(_1c,"scrollUp"); +}else{ +if(_scrollingState===_CPMenuManagerScrollingStateDown){ +objj_msgSend(_1c,"scrollDown"); +} +} +} +if(_21){ +if(!_lastMouseOverMenuView){ +objj_msgSend(_1d,"_highlightItemAtIndex:",CPNotFound); +} +if(_lastMouseOverMenuView!=_21){ +objj_msgSend(_21,"mouseExited:",_18); +objj_msgSend(_lastMouseOverMenuView,"mouseEntered:",_18); +_lastMouseOverMenuView=_21; +} +var _22=_1c; +if(!objj_msgSend(_22,"isKindOfClass:",objj_msgSend(CPWindow,"class"))){ +_22=objj_msgSend(_22,"window"); +} +objj_msgSend(_22,"sendEvent:",objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",_19,_1e,objj_msgSend(_18,"modifierFlags"),objj_msgSend(_18,"timestamp"),_22,nil,0,objj_msgSend(_18,"clickCount"),objj_msgSend(_18,"pressure"))); +}else{ +if(_lastMouseOverMenuView){ +objj_msgSend(_lastMouseOverMenuView,"mouseExited:",_18); +_lastMouseOverMenuView=nil; +} +objj_msgSend(_1d,"_highlightItemAtIndex:",_1f); +if(_19===CPMouseMoved||_19===CPLeftMouseDragged||_19===CPLeftMouseDown){ +var _23=_scrollingState; +_scrollingState=objj_msgSend(_1c,"scrollingStateForPoint:",_1b); +if(_scrollingState!==_23){ +if(_scrollingState===_CPMenuManagerScrollingStateNone){ +objj_msgSend(CPEvent,"stopPeriodicEvents"); +}else{ +if(_23===_CPMenuManagerScrollingStateNone){ +objj_msgSend(CPEvent,"startPeriodicEventsAfterDelay:withPeriod:",0,0.04); +} +} +} +}else{ +if(_19===CPLeftMouseUp&&(objj_msgSend(_18,"timestamp")-_startTime>_1)){ +objj_msgSend(_1a,"cancelTracking"); +} +} +} +if(objj_msgSend(_20,"hasSubmenu")){ +var _24=objj_msgSend(_1c,"rectForItemAtIndex:",_1f); +if(objj_msgSend(_1c,"isMenuBar")){ +var _25=CGPointMake(CGRectGetMinX(_24),CGRectGetMaxY(_24)); +}else{ +var _25=CGPointMake(CGRectGetMaxX(_24),CGRectGetMinY(_24)); +} +_25=objj_msgSend(_1c,"convertBaseToGlobal:",_25); +objj_msgSend(_16,"showMenu:fromMenu:atPoint:",objj_msgSend(_20,"submenu"),objj_msgSend(_20,"menu"),_25); +}else{ +objj_msgSend(_16,"showMenu:fromMenu:atPoint:",nil,_1d,CGPointMakeZero()); +} +} +}),new objj_method(sel_getUid("trackMenuBarButtonEvent:"),function(_26,_27,_28){ +with(_26){ +var _29=objj_msgSend(_28,"type"); +if(_29===CPAppKitDefined){ +return objj_msgSend(_26,"completeTracking"); +} +var _2a=objj_msgSend(_28,"globalLocation"); +var _2b=objj_msgSend(_26,"trackingMenu"),_2c=objj_msgSend(_26,"trackingMenuContainer"),_2d=objj_msgSend(_2c,"convertGlobalToBase:",_2a); +if(objj_msgSend(_2c,"itemIndexAtPoint:",_2d)===_menuBarButtonItemIndex){ +objj_msgSend(_2b,"_highlightItemAtIndex:",_menuBarButtonItemIndex); +}else{ +objj_msgSend(_2b,"_highlightItemAtIndex:",CPNotFound); +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_26,sel_getUid("trackMenuBarButtonEvent:"),CPPeriodicMask|CPMouseMovedMask|CPLeftMouseDraggedMask|CPLeftMouseUpMask|CPAppKitDefinedMask,nil,nil,YES); +if(_29===CPLeftMouseUp){ +objj_msgSend(_2b,"cancelTracking"); +} +} +}),new objj_method(sel_getUid("completeTracking"),function(_2e,_2f){ +with(_2e){ +var _30=objj_msgSend(_2e,"trackingMenu"); +objj_msgSend(CPEvent,"stopPeriodicEvents"); +var _31=objj_msgSend(_30,"highlightedItem"); +objj_msgSend(_2e,"showMenu:fromMenu:atPoint:",nil,_30,nil); +var _32=objj_msgSend(_30,"delegate"); +if(objj_msgSend(_32,"respondsToSelector:",sel_getUid("menuDidClose:"))){ +objj_msgSend(_32,"menuDidClose:",_30); +} +if(_trackingCallback){ +_trackingCallback(objj_msgSend(_2e,"trackingMenuContainer"),_30); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPMenuDidEndTrackingNotification,_30); +CPApp._activeMenu=nil; +} +}),new objj_method(sel_getUid("menuContainerForPoint:"),function(_33,_34,_35){ +with(_33){ +var _36=objj_msgSend(_menuContainerStack,"count"),_37=_menuContainerStack[0]; +if(_36===1){ +return _37; +} +var _38=0,_39=_36-1; +if(objj_msgSend(_37,"isMenuBar")){ +if(CGRectContainsPoint(objj_msgSend(_37,"globalFrame"),_35)){ +return _37; +} +_38=1; +} +var _3a=_36,x=_35.x,_3b=Infinity,_3c=nil; +while(_3a-->_38){ +var _3d=_menuContainerStack[_3a],_3e=objj_msgSend(_3d,"globalFrame"),_3f=(_3e.origin.x),_40=(_3e.origin.x+_3e.size.width); +if(x<_40&&x>=_3f){ +return _3d; +} +if(_3a===_38||_3a===_39){ +var _41=ABS(x<_3f?_3f-x:_40-x); +if(_41<_3b){ +_3c=_3d; +_3b=_41; +} +} +} +return _3c; +} +}),new objj_method(sel_getUid("showMenu:fromMenu:atPoint:"),function(_42,_43,_44,_45,_46){ +with(_42){ +var _47=_menuContainerStack.length,_48=_47; +while(_48--){ +var _49=_menuContainerStack[_48],_4a=objj_msgSend(_49,"menu"); +if(_4a===_45){ +break; +} +if(_4a===_44){ +return objj_msgSend(_44,"_highlightItemAtIndex:",CPNotFound); +} +objj_msgSend(_49,"orderOut:",_42); +objj_msgSend(_49,"setMenu:",nil); +objj_msgSend(_CPMenuWindow,"poolMenuWindow:",_49); +objj_msgSend(_menuContainerStack,"removeObjectAtIndex:",_48); +} +if(!_44){ +return; +} +objj_msgSend(_44,"_highlightItemAtIndex:",CPNotFound); +var _4b=objj_msgSend(_CPMenuWindow,"menuWindowWithMenu:font:",_44,objj_msgSend(_menuContainerStack[0],"font")); +objj_msgSend(_menuContainerStack,"addObject:",_4b); +objj_msgSend(_4b,"setConstraintRect:",_constraintRect); +if(_45===objj_msgSend(_42,"trackingMenu")&&objj_msgSend(objj_msgSend(_42,"trackingMenuContainer"),"isMenuBar")){ +objj_msgSend(_4b,"setBackgroundStyle:",_CPMenuWindowMenuBarBackgroundStyle); +}else{ +objj_msgSend(_4b,"setBackgroundStyle:",_CPMenuWindowPopUpBackgroundStyle); +} +objj_msgSend(_4b,"setFrameOrigin:",_46); +objj_msgSend(_4b,"orderFront:",_42); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("sharedMenuManager"),function(_4c,_4d){ +with(_4c){ +if(!_2){ +_2=objj_msgSend(objj_msgSend(_CPMenuManager,"alloc"),"init"); +} +return _2; +} +})]); +p;15;_CPMenuWindow.jt;17126;@STATIC;1.0;t;17106; +var _1=[],_2=5,_3=[]; +_CPMenuWindowMenuBarBackgroundStyle=0; +_CPMenuWindowPopUpBackgroundStyle=1; +_CPMenuWindowAttachedMenuBackgroundStyle=2; +var _4=500,_5=5,_6=1,_7=1,_8=5,_9=16; +var _a=objj_allocateClassPair(CPWindow,"_CPMenuWindow"),_b=_a.isa; +class_addIvars(_a,[new objj_ivar("_menuView"),new objj_ivar("_menuClipView"),new objj_ivar("_moreAboveView"),new objj_ivar("_moreBelowView"),new objj_ivar("_unconstrainedFrame"),new objj_ivar("_constraintRect")]); +objj_registerClassPair(_a); +class_addMethods(_a,[new objj_method(sel_getUid("initWithContentRect:styleMask:"),function(_c,_d,_e,_f){ +with(_c){ +_constraintRect={origin:{x:0,y:0},size:{width:0,height:0}}; +_unconstrainedFrame={origin:{x:0,y:0},size:{width:0,height:0}}; +_c=objj_msgSendSuper({receiver:_c,super_class:objj_getClass("_CPMenuWindow").super_class},"initWithContentRect:styleMask:",_e,CPBorderlessWindowMask); +if(_c){ +objj_msgSend(_c,"setLevel:",CPPopUpMenuWindowLevel); +objj_msgSend(_c,"setHasShadow:",YES); +objj_msgSend(_c,"setShadowStyle:",CPMenuWindowShadowStyle); +objj_msgSend(_c,"setAcceptsMouseMovedEvents:",YES); +var _10=objj_msgSend(_c,"contentView"); +_menuView=objj_msgSend(objj_msgSend(_CPMenuView,"alloc"),"initWithFrame:",CGRectMakeZero()); +_menuClipView=objj_msgSend(objj_msgSend(CPClipView,"alloc"),"initWithFrame:",CGRectMake(_6,_5,0,0)); +objj_msgSend(_menuClipView,"setDocumentView:",_menuView); +objj_msgSend(_10,"addSubview:",_menuClipView); +_moreAboveView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_moreAboveView,"setImage:",_CPMenuWindowMoreAboveImage); +objj_msgSend(_moreAboveView,"setFrameSize:",objj_msgSend(_CPMenuWindowMoreAboveImage,"size")); +objj_msgSend(_10,"addSubview:",_moreAboveView); +_moreBelowView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_moreBelowView,"setImage:",_CPMenuWindowMoreBelowImage); +objj_msgSend(_moreBelowView,"setFrameSize:",objj_msgSend(_CPMenuWindowMoreBelowImage,"size")); +objj_msgSend(_10,"addSubview:",_moreBelowView); +objj_msgSend(_c,"setShadowStyle:",CPWindowShadowStyleMenu); +} +return _c; +} +}),new objj_method(sel_getUid("setFont:"),function(_11,_12,_13){ +with(_11){ +objj_msgSend(_menuView,"setFont:",_13); +} +}),new objj_method(sel_getUid("font"),function(_14,_15){ +with(_14){ +return objj_msgSend(_menuView,"font"); +} +}),new objj_method(sel_getUid("setBackgroundStyle:"),function(_16,_17,_18){ +with(_16){ +objj_msgSend(_16,"setBackgroundColor:",objj_msgSend(objj_msgSend(_16,"class"),"backgroundColorForBackgroundStyle:",_18)); +} +}),new objj_method(sel_getUid("setMenu:"),function(_19,_1a,_1b){ +with(_19){ +objj_msgSend(_1b,"_setMenuWindow:",_19); +objj_msgSend(_menuView,"setMenu:",_1b); +var _1c=objj_msgSend(_menuView,"frame").size; +objj_msgSend(_19,"setFrameSize:",CGSizeMake(_6+_1c.width+_7,_5+_1c.height+_8)); +objj_msgSend(_menuView,"scrollPoint:",CGPointMake(0,0)); +objj_msgSend(_menuClipView,"setFrame:",CGRectMake(_6,_5,_1c.width,_1c.height)); +} +}),new objj_method(sel_getUid("setMinWidth:"),function(_1d,_1e,_1f){ +with(_1d){ +var _20=objj_msgSend(_1d,"unconstrainedFrame").size; +objj_msgSend(_1d,"setFrameSize:",CGSizeMake(MAX(_20.width,_1f),_20.height)); +} +}),new objj_method(sel_getUid("menu"),function(_21,_22){ +with(_21){ +return objj_msgSend(_menuView,"menu"); +} +}),new objj_method(sel_getUid("orderFront:"),function(_23,_24,_25){ +with(_23){ +objj_msgSend(_23,"setFrame:",_unconstrainedFrame); +objj_msgSendSuper({receiver:_23,super_class:objj_getClass("_CPMenuWindow").super_class},"orderFront:",_25); +} +}),new objj_method(sel_getUid("setConstraintRect:"),function(_26,_27,_28){ +with(_26){ +_constraintRect=_28; +objj_msgSend(_26,"setFrame:",_unconstrainedFrame); +} +}),new objj_method(sel_getUid("unconstrainedFrame"),function(_29,_2a){ +with(_29){ +return {origin:{x:_unconstrainedFrame.origin.x,y:_unconstrainedFrame.origin.y},size:{width:_unconstrainedFrame.size.width,height:_unconstrainedFrame.size.height}}; +} +}),new objj_method(sel_getUid("setFrameOrigin:"),function(_2b,_2c,_2d){ +with(_2b){ +objj_msgSendSuper({receiver:_2b,super_class:objj_getClass("_CPMenuWindow").super_class},"setFrame:",{origin:{x:_2d.x,y:_2d.y},size:{width:(_unconstrainedFrame.size.width),height:(_unconstrainedFrame.size.height)}}); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_2e,_2f,_30){ +with(_2e){ +objj_msgSendSuper({receiver:_2e,super_class:objj_getClass("_CPMenuWindow").super_class},"setFrame:",{origin:{x:(_unconstrainedFrame.origin.x),y:(_unconstrainedFrame.origin.y)},size:{width:_30.width,height:_30.height}}); +} +}),new objj_method(sel_getUid("setFrame:display:animate:"),function(_31,_32,_33,_34,_35){ +with(_31){ +_unconstrainedFrame={origin:{x:_33.origin.x,y:_33.origin.y},size:{width:_33.size.width,height:_33.size.height}}; +var _36=CGRectIntersection(_unconstrainedFrame,_constraintRect); +_36.origin.x=CGRectGetMinX(_unconstrainedFrame); +_36.size.width=CGRectGetWidth(_unconstrainedFrame); +if(CGRectGetWidth(_36)>CGRectGetWidth(_constraintRect)){ +_36.size.width=CGRectGetWidth(_constraintRect); +} +if(CGRectGetMaxX(_36)>CGRectGetMaxX(_constraintRect)){ +_36.origin.x-=CGRectGetMaxX(_36)-CGRectGetMaxX(_constraintRect); +} +if(CGRectGetMinX(_36)CGRectGetMaxY(_36)-_8,_3a=_5,_3b=_8,_3c=objj_msgSend(_31,"contentView"),_3d=objj_msgSend(_3c,"bounds"); +if(_38){ +_3a+=_9; +var _3e=objj_msgSend(_moreAboveView,"frame"); +objj_msgSend(_moreAboveView,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_3d)-CGRectGetWidth(_3e))/2,(_5+_9-CGRectGetHeight(_3e))/2)); +} +objj_msgSend(_moreAboveView,"setHidden:",!_38); +if(_39){ +_3b+=_9; +objj_msgSend(_moreBelowView,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_3d)-CGRectGetWidth(objj_msgSend(_moreBelowView,"frame")))/2,CGRectGetHeight(_3d)-_9-_8)); +} +objj_msgSend(_moreBelowView,"setHidden:",!_39); +var _3f=CGRectMake(_6,_3a,CGRectGetWidth(_36)-_6-_7,CGRectGetHeight(_36)-_3a-_3b); +objj_msgSend(_menuClipView,"setFrame:",_3f); +objj_msgSend(_menuView,"setFrameSize:",CGSizeMake(CGRectGetWidth(_3f),CGRectGetHeight(objj_msgSend(_menuView,"frame")))); +objj_msgSend(_menuView,"scrollPoint:",CGPointMake(0,objj_msgSend(_31,"convertBaseToGlobal:",_3f.origin).y-_37.y)); +} +}),new objj_method(sel_getUid("hasMinimumNumberOfVisibleItems"),function(_40,_41){ +with(_40){ +var _42=objj_msgSend(_menuView,"visibleRect"); +if(CGRectIsEmpty(_42)){ +return NO; +} +var _43=objj_msgSend(_menuView,"numberOfUnhiddenItems"),_44=MIN(_43,3),_45=0,_46=objj_msgSend(_menuView,"itemIndexAtPoint:",objj_msgSend(_menuView,"convertPoint:fromView:",objj_msgSend(_menuClipView,"frame").origin,nil)); +for(;_46<_43&&_45<_44;++_46){ +var _47=objj_msgSend(_menuView,"rectForUnhiddenItemAtIndex:",_46),_48=CGRectIntersection(_42,_47); +if(CGRectIsEmpty(_48)){ +break; +} +if(CGRectEqualToRect(_48,_47)){ +++_45; +} +} +return _45>=_44; +} +}),new objj_method(sel_getUid("canScrollUp"),function(_49,_4a){ +with(_49){ +return !objj_msgSend(_moreAboveView,"isHidden"); +} +}),new objj_method(sel_getUid("canScrollDown"),function(_4b,_4c){ +with(_4b){ +return !objj_msgSend(_moreBelowView,"isHidden"); +} +}),new objj_method(sel_getUid("canScroll"),function(_4d,_4e){ +with(_4d){ +return objj_msgSend(_4d,"canScrollUp")||objj_msgSend(_4d,"canScrollDown"); +} +}),new objj_method(sel_getUid("scrollUp"),function(_4f,_50){ +with(_4f){ +if(CGRectGetMinY(_unconstrainedFrame)>=CGRectGetMinY(_constraintRect)){ +return; +} +_unconstrainedFrame.origin.y+=10; +objj_msgSend(_4f,"setFrame:",_unconstrainedFrame); +} +}),new objj_method(sel_getUid("scrollDown"),function(_51,_52){ +with(_51){ +if(CGRectGetMaxY(_unconstrainedFrame)<=CGRectGetHeight(_constraintRect)){ +return; +} +_unconstrainedFrame.origin.y-=10; +objj_msgSend(_51,"setFrame:",_unconstrainedFrame); +} +})]); +class_addMethods(_b,[new objj_method(sel_getUid("menuWindowWithMenu:font:"),function(_53,_54,_55,_56){ +with(_53){ +var _57=nil; +if(_1.length){ +_57=_1.pop(); +objj_msgSend(_57,"setFrameOrigin:",CGPointMakeZero()); +}else{ +_57=objj_msgSend(objj_msgSend(_CPMenuWindow,"alloc"),"init"); +} +objj_msgSend(_57,"setFont:",_56); +objj_msgSend(_57,"setMenu:",_55); +objj_msgSend(_57,"setMinWidth:",objj_msgSend(_55,"minimumWidth")); +return _57; +} +}),new objj_method(sel_getUid("poolMenuWindow:"),function(_58,_59,_5a){ +with(_58){ +if(!_5a||_1.length>=_2){ +return; +} +_1.push(_5a); +} +}),new objj_method(sel_getUid("initialize"),function(_5b,_5c){ +with(_5b){ +if(_5b!=objj_msgSend(_CPMenuWindow,"class")){ +return; +} +var _5d=objj_msgSend(CPBundle,"bundleForClass:",_5b); +_CPMenuWindowMoreAboveImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_5d,"pathForResource:","_CPMenuWindow/_CPMenuWindowMoreAbove.png"),CGSizeMake(38,18)); +_CPMenuWindowMoreBelowImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_5d,"pathForResource:","_CPMenuWindow/_CPMenuWindowMoreBelow.png"),CGSizeMake(38,18)); +} +}),new objj_method(sel_getUid("_standardLeftMargin"),function(_5e,_5f){ +with(_5e){ +return _6; +} +}),new objj_method(sel_getUid("backgroundColorForBackgroundStyle:"),function(_60,_61,_62){ +with(_60){ +var _63=_3[_62]; +if(!_63){ +var _64=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_60,"class")); +if(_62==_CPMenuWindowPopUpBackgroundStyle){ +_63=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded0.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow1.png"),CGSizeMake(1,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded2.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow3.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow5.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded6.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow7.png"),CGSizeMake(1,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded8.png"),CGSizeMake(4,4))])); +}else{ +if(_62==_CPMenuWindowMenuBarBackgroundStyle){ +_63=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow3.png"),CGSizeMake(4,0)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow4.png"),CGSizeMake(1,0)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow5.png"),CGSizeMake(4,0)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow3.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow5.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded6.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow7.png"),CGSizeMake(1,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded8.png"),CGSizeMake(4,4))])); +} +} +_3[_62]=_63; +} +return _63; +} +})]); +var _a=objj_getClass("_CPMenuWindow"); +if(!_a){ +throw new SyntaxError("*** Could not find definition for class \"_CPMenuWindow\""); +} +var _b=_a.isa; +class_addMethods(_a,[new objj_method(sel_getUid("globalFrame"),function(_65,_66){ +with(_65){ +return objj_msgSend(_65,"frame"); +} +}),new objj_method(sel_getUid("isMenuBar"),function(_67,_68){ +with(_67){ +return NO; +} +}),new objj_method(sel_getUid("scrollingStateForPoint:"),function(_69,_6a,_6b){ +with(_69){ +var _6c=objj_msgSend(_69,"frame"); +if(!objj_msgSend(_69,"canScroll")){ +return _CPMenuManagerScrollingStateNone; +} +if(_6b.yCGRectGetMaxY(_6c)-_8-_9){ +return _CPMenuManagerScrollingStateDown; +} +return _CPMenuManagerScrollingStateNone; +} +}),new objj_method(sel_getUid("deltaYForItemAtIndex:"),function(_6d,_6e,_6f){ +with(_6d){ +return _5+CGRectGetMinY(objj_msgSend(_menuView,"rectForItemAtIndex:",_6f)); +} +}),new objj_method(sel_getUid("rectForItemAtIndex:"),function(_70,_71,_72){ +with(_70){ +return objj_msgSend(_menuView,"convertRect:toView:",objj_msgSend(_menuView,"rectForItemAtIndex:",_72),nil); +} +}),new objj_method(sel_getUid("itemIndexAtPoint:"),function(_73,_74,_75){ +with(_73){ +if(!CGRectContainsPoint(objj_msgSend(_menuClipView,"bounds"),objj_msgSend(_menuClipView,"convertPoint:fromView:",_75,nil))){ +return NO; +} +return objj_msgSend(_menuView,"itemIndexAtPoint:",objj_msgSend(_menuView,"convertPoint:fromView:",_75,nil)); +} +})]); +var _a=objj_allocateClassPair(CPView,"_CPMenuView"),_b=_a.isa; +class_addIvars(_a,[new objj_ivar("_menuItemViews"),new objj_ivar("_visibleMenuItemInfos"),new objj_ivar("_font")]); +objj_registerClassPair(_a); +class_addMethods(_a,[new objj_method(sel_getUid("font"),function(_76,_77){ +with(_76){ +return _font; +} +}),new objj_method(sel_getUid("setFont:"),function(_78,_79,_7a){ +with(_78){ +_font=_7a; +} +}),new objj_method(sel_getUid("numberOfUnhiddenItems"),function(_7b,_7c){ +with(_7b){ +return _visibleMenuItemInfos.length; +} +}),new objj_method(sel_getUid("rectForUnhiddenItemAtIndex:"),function(_7d,_7e,_7f){ +with(_7d){ +return objj_msgSend(_7d,"rectForItemAtIndex:",_visibleMenuItemInfos[_7f].index); +} +}),new objj_method(sel_getUid("rectForItemAtIndex:"),function(_80,_81,_82){ +with(_80){ +return objj_msgSend(_menuItemViews[_82===CPNotFound?0:_82],"frame"); +} +}),new objj_method(sel_getUid("itemIndexAtPoint:"),function(_83,_84,_85){ +with(_83){ +var x=_85.x,_86=objj_msgSend(_83,"bounds"); +if(xCGRectGetMaxX(_86)){ +return CPNotFound; +} +var y=_85.y,low=0,_87=_visibleMenuItemInfos.length-1; +while(low<=_87){ +var _88=FLOOR(low+(_87-low)/2),_89=_visibleMenuItemInfos[_88]; +frame=objj_msgSend(_89.view,"frame"); +if(yCGRectGetMaxY(frame)){ +low=_88+1; +}else{ +return _89.index; +} +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("tile"),function(_8a,_8b){ +with(_8a){ +objj_msgSend(_menuItemViews,"makeObjectsPerformSelector:",sel_getUid("removeFromSuperview")); +_menuItemViews=[]; +_visibleMenuItemInfos=[]; +var _8c=objj_msgSend(_8a,"menu"); +if(!_8c){ +return; +} +var _8d=objj_msgSend(_8c,"itemArray"),_8e=0,_8f=objj_msgSend(_8d,"count"),_90=0,y=0,_91=objj_msgSend(_8c,"showsStateColumn"); +for(;_8e<_8f;++_8e){ +var _92=_8d[_8e],_93=objj_msgSend(_92,"_menuItemView"); +_menuItemViews.push(_93); +if(objj_msgSend(_92,"isHidden")){ +continue; +} +_visibleMenuItemInfos.push({view:_93,index:_8e}); +objj_msgSend(_93,"setFont:",_font); +objj_msgSend(_93,"setShowsStateColumn:",_91); +objj_msgSend(_93,"synchronizeWithMenuItem"); +objj_msgSend(_93,"setFrameOrigin:",CGPointMake(0,y)); +objj_msgSend(_8a,"addSubview:",_93); +var _94=objj_msgSend(_93,"minSize"),_95=_94.width; +if(_90<_95){ +_90=_95; +} +y+=_94.height; +} +for(_8e=0;_8e<_8f;++_8e){ +var _93=_menuItemViews[_8e]; +objj_msgSend(_93,"setFrameSize:",CGSizeMake(_90,CGRectGetHeight(objj_msgSend(_93,"frame")))); +} +objj_msgSend(_8a,"setAutoresizesSubviews:",NO); +objj_msgSend(_8a,"setFrameSize:",CGSizeMake(_90,y)); +objj_msgSend(_8a,"setAutoresizesSubviews:",YES); +} +}),new objj_method(sel_getUid("setMenu:"),function(_96,_97,_98){ +with(_96){ +objj_msgSendSuper({receiver:_96,super_class:objj_getClass("_CPMenuView").super_class},"setMenu:",_98); +objj_msgSend(_96,"tile"); +} +})]); +p;8;CPMenu.jt;23326;@STATIC;1.0;I;20;Foundation/CPArray.jI;25;Foundation/CPDictionary.jI;33;Foundation/CPNotificationCenter.jI;21;Foundation/CPString.ji;16;_CPMenuManager.ji;15;CPApplication.ji;12;CPClipView.ji;12;CPMenuItem.ji;9;CPPanel.ji;18;_CPMenuBarWindow.ji;15;_CPMenuWindow.jt;23056; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPNotificationCenter.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("_CPMenuManager.j",YES); +objj_executeFile("CPApplication.j",YES); +objj_executeFile("CPClipView.j",YES); +objj_executeFile("CPMenuItem.j",YES); +objj_executeFile("CPPanel.j",YES); +CPMenuDidAddItemNotification="CPMenuDidAddItemNotification"; +CPMenuDidChangeItemNotification="CPMenuDidChangeItemNotification"; +CPMenuDidRemoveItemNotification="CPMenuDidRemoveItemNotification"; +CPMenuDidEndTrackingNotification="CPMenuDidEndTrackingNotification"; +var _1=28; +var _2=NO,_3="",_4=nil,_5=1,_6=nil,_7=nil; +var _8=objj_allocateClassPair(CPObject,"CPMenu"),_9=_8.isa; +class_addIvars(_8,[new objj_ivar("_supermenu"),new objj_ivar("_title"),new objj_ivar("_name"),new objj_ivar("_font"),new objj_ivar("_minimumWidth"),new objj_ivar("_items"),new objj_ivar("_autoenablesItems"),new objj_ivar("_showsStateColumn"),new objj_ivar("_delegate"),new objj_ivar("_highlightedIndex"),new objj_ivar("_menuWindow")]); +objj_registerClassPair(_8); +class_addMethods(_8,[new objj_method(sel_getUid("menuBarHeight"),function(_a,_b){ +with(_a){ +if(_a===objj_msgSend(CPApp,"mainMenu")){ +return _1; +} +return 0; +} +}),new objj_method(sel_getUid("initWithTitle:"),function(_c,_d,_e){ +with(_c){ +_c=objj_msgSendSuper({receiver:_c,super_class:objj_getClass("CPMenu").super_class},"init"); +if(_c){ +_title=_e; +_items=[]; +_autoenablesItems=YES; +_showsStateColumn=YES; +objj_msgSend(_c,"setMinimumWidth:",0); +} +return _c; +} +}),new objj_method(sel_getUid("init"),function(_f,_10){ +with(_f){ +return objj_msgSend(_f,"initWithTitle:",""); +} +}),new objj_method(sel_getUid("insertItem:atIndex:"),function(_11,_12,_13,_14){ +with(_11){ +var _15=objj_msgSend(_13,"menu"); +if(_15){ +if(_15!==_11){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Attempted to insert item into menu that was already in another menu."); +}else{ +return; +} +} +objj_msgSend(_13,"setMenu:",_11); +objj_msgSend(_items,"insertObject:atIndex:",_13,_14); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPMenuDidAddItemNotification,_11,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_14,"CPMenuItemIndex")); +} +}),new objj_method(sel_getUid("insertItemWithTitle:action:keyEquivalent:atIndex:"),function(_16,_17,_18,_19,_1a,_1b){ +with(_16){ +var _1c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:",_18,_19,_1a); +objj_msgSend(_16,"insertItem:atIndex:",_1c,_1b); +return _1c; +} +}),new objj_method(sel_getUid("addItem:"),function(_1d,_1e,_1f){ +with(_1d){ +objj_msgSend(_1d,"insertItem:atIndex:",_1f,objj_msgSend(_items,"count")); +} +}),new objj_method(sel_getUid("addItemWithTitle:action:keyEquivalent:"),function(_20,_21,_22,_23,_24){ +with(_20){ +return objj_msgSend(_20,"insertItemWithTitle:action:keyEquivalent:atIndex:",_22,_23,_24,objj_msgSend(_items,"count")); +} +}),new objj_method(sel_getUid("removeItem:"),function(_25,_26,_27){ +with(_25){ +objj_msgSend(_25,"removeItemAtIndex:",objj_msgSend(_items,"indexOfObjectIdenticalTo:",_27)); +} +}),new objj_method(sel_getUid("removeItemAtIndex:"),function(_28,_29,_2a){ +with(_28){ +if(_2a<0||_2a>=_items.length){ +return; +} +objj_msgSend(_items[_2a],"setMenu:",nil); +objj_msgSend(_items,"removeObjectAtIndex:",_2a); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPMenuDidRemoveItemNotification,_28,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_2a,"CPMenuItemIndex")); +} +}),new objj_method(sel_getUid("itemChanged:"),function(_2b,_2c,_2d){ +with(_2b){ +if(objj_msgSend(_2d,"menu")!=_2b){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPMenuDidChangeItemNotification,_2b,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",objj_msgSend(_items,"indexOfObjectIdenticalTo:",_2d),"CPMenuItemIndex")); +} +}),new objj_method(sel_getUid("itemWithTag:"),function(_2e,_2f,_30){ +with(_2e){ +var _31=objj_msgSend(_2e,"indexOfItemWithTag:",_30); +if(_31==CPNotFound){ +return nil; +} +return _items[_31]; +} +}),new objj_method(sel_getUid("itemWithTitle:"),function(_32,_33,_34){ +with(_32){ +var _35=objj_msgSend(_32,"indexOfItemWithTitle:",_34); +if(_35==CPNotFound){ +return nil; +} +return _items[_35]; +} +}),new objj_method(sel_getUid("itemAtIndex:"),function(_36,_37,_38){ +with(_36){ +return objj_msgSend(_items,"objectAtIndex:",_38); +} +}),new objj_method(sel_getUid("numberOfItems"),function(_39,_3a){ +with(_39){ +return objj_msgSend(_items,"count"); +} +}),new objj_method(sel_getUid("itemArray"),function(_3b,_3c){ +with(_3b){ +return _items; +} +}),new objj_method(sel_getUid("indexOfItem:"),function(_3d,_3e,_3f){ +with(_3d){ +if(objj_msgSend(_3f,"menu")!==_3d){ +return CPNotFound; +} +return objj_msgSend(_items,"indexOfObjectIdenticalTo:",_3f); +} +}),new objj_method(sel_getUid("indexOfItemWithTitle:"),function(_40,_41,_42){ +with(_40){ +var _43=0,_44=_items.length; +for(;_43<_44;++_43){ +if(objj_msgSend(_items[_43],"title")===_42){ +return _43; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfItemWithTag:"),function(_45,_46,_47){ +with(_45){ +var _48=0,_49=_items.length; +for(;_48<_49;++_48){ +if(objj_msgSend(_items[_48],"tag")==_47){ +return _48; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfItemWithTarget:andAction:"),function(_4a,_4b,_4c,_4d){ +with(_4a){ +var _4e=0,_4f=_items.length; +for(;_4e<_4f;++_4e){ +var _50=_items[_4e]; +if(objj_msgSend(_50,"target")==_4c&&(!_4d||objj_msgSend(_50,"action")==_4d)){ +return _4e; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfItemWithRepresentedObject:"),function(_51,_52,_53){ +with(_51){ +var _54=0,_55=_items.length; +for(;_54<_55;++_54){ +if(objj_msgSend(objj_msgSend(_items[_54],"representedObject"),"isEqual:",_53)){ +return _54; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfItemWithSubmenu:"),function(_56,_57,_58){ +with(_56){ +var _59=0,_5a=_items.length; +for(;_59<_5a;++_59){ +if(objj_msgSend(_items[_59],"submenu")==_58){ +return _59; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("setSubmenu:forItem:"),function(_5b,_5c,_5d,_5e){ +with(_5b){ +objj_msgSend(_5e,"setTarget:",_5e); +objj_msgSend(_5e,"setAction:",sel_getUid("submenuAction:")); +objj_msgSend(_5e,"setSubmenu:",_5d); +} +}),new objj_method(sel_getUid("submenuAction:"),function(_5f,_60,_61){ +with(_5f){ +} +}),new objj_method(sel_getUid("supermenu"),function(_62,_63){ +with(_62){ +return _supermenu; +} +}),new objj_method(sel_getUid("setSupermenu:"),function(_64,_65,_66){ +with(_64){ +_supermenu=_66; +} +}),new objj_method(sel_getUid("isTornOff"),function(_67,_68){ +with(_67){ +return !_supermenu||_67==objj_msgSend(CPApp,"mainMenu"); +} +}),new objj_method(sel_getUid("setAutoenablesItems:"),function(_69,_6a,_6b){ +with(_69){ +_autoenablesItems=_6b; +} +}),new objj_method(sel_getUid("autoenablesItems"),function(_6c,_6d){ +with(_6c){ +return _autoenablesItems; +} +}),new objj_method(sel_getUid("update"),function(_6e,_6f){ +with(_6e){ +} +}),new objj_method(sel_getUid("setTitle:"),function(_70,_71,_72){ +with(_70){ +_title=_72; +} +}),new objj_method(sel_getUid("title"),function(_73,_74){ +with(_73){ +return _title; +} +}),new objj_method(sel_getUid("setMinimumWidth:"),function(_75,_76,_77){ +with(_75){ +_minimumWidth=_77; +} +}),new objj_method(sel_getUid("minimumWidth"),function(_78,_79){ +with(_78){ +return _minimumWidth; +} +}),new objj_method(sel_getUid("_performActionOfHighlightedItemChain"),function(_7a,_7b){ +with(_7a){ +var _7c=objj_msgSend(_7a,"highlightedItem"); +while(objj_msgSend(_7c,"submenu")&&objj_msgSend(_7c,"action")===sel_getUid("submenuAction:")){ +_7c=objj_msgSend(objj_msgSend(_7c,"submenu"),"highlightedItem"); +} +if(_7c&&objj_msgSend(_7c,"isEnabled")){ +objj_msgSend(CPApp,"sendAction:to:from:",objj_msgSend(_7c,"action"),objj_msgSend(_7c,"target"),_7c); +} +} +}),new objj_method(sel_getUid("popUpMenuPositioningItem:atLocation:inView:callback:"),function(_7d,_7e,_7f,_80,_81,_82){ +with(_7d){ +objj_msgSend(_7d,"_popUpMenuPositioningItem:atLocation:topY:bottomY:inView:callback:",_7f,_80,_80.y,_80.y,_81,_82); +} +}),new objj_method(sel_getUid("_popUpMenuPositioningItem:atLocation:topY:bottomY:inView:callback:"),function(_83,_84,_85,_86,_87,_88,_89,_8a){ +with(_83){ +var _8b=0; +if(_85){ +_8b=objj_msgSend(_83,"indexOfItem:",_85); +if(_8b===CPNotFound){ +throw "In call to popUpMenuPositioningItem:atLocation:inView:callback:, menu item "+_85+" is not present in menu "+_83; +} +} +var _8c=objj_msgSend(_89,"window"); +if(_89&&!_8c){ +throw "In call to popUpMenuPositioningItem:atLocation:inView:callback:, view is not in any window."; +} +var _8d=objj_msgSend(_83,"delegate"); +if(objj_msgSend(_8d,"respondsToSelector:",sel_getUid("menuWillOpen:"))){ +objj_msgSend(_8d,"menuWillOpen:",aMenu); +} +if(_89){ +_86=objj_msgSend(_8c,"convertBaseToGlobal:",objj_msgSend(_89,"convertPoint:toView:",_86,nil)); +} +var _8e=objj_msgSend(_CPMenuWindow,"menuWindowWithMenu:font:",_83,objj_msgSend(_83,"font")); +objj_msgSend(_8e,"setBackgroundStyle:",_CPMenuWindowPopUpBackgroundStyle); +if(_85){ +_86.y-=objj_msgSend(_8e,"deltaYForItemAtIndex:",_8b); +} +var _8f=objj_msgSend(CPMenu,"_constraintRectForView:",_89); +objj_msgSend(_8e,"setFrameOrigin:",_86); +objj_msgSend(_8e,"setConstraintRect:",_8f); +if(!objj_msgSend(_8e,"hasMinimumNumberOfVisibleItems")){ +var _90=objj_msgSend(_8e,"unconstrainedFrame"),_91=CGRectGetMinY(_90); +if(_91>=CGRectGetMaxY(_8f)||objj_msgSend(_8e,"canScrollDown")){ +if(_89){ +_87=objj_msgSend(_8c,"convertBaseToGlobal:",objj_msgSend(_89,"convertPoint:toView:",CGPointMake(0,_87),nil)).y; +} +_90.origin.y=MIN(CGRectGetMaxY(_8f),_87)-CGRectGetHeight(_90); +}else{ +if(_91=0?_items[_highlightedIndex]:nil; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_99,_9a,_9b){ +with(_99){ +_delegate=_9b; +} +}),new objj_method(sel_getUid("delegate"),function(_9c,_9d){ +with(_9c){ +return _delegate; +} +}),new objj_method(sel_getUid("cancelTracking"),function(_9e,_9f){ +with(_9e){ +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"performSelector:target:argument:order:modes:",sel_getUid("_fireCancelTrackingEvent"),_9e,nil,0,[CPDefaultRunLoopMode]); +} +}),new objj_method(sel_getUid("_fireCancelTrackingEvent"),function(_a0,_a1){ +with(_a0){ +objj_msgSend(CPApp,"sendEvent:",objj_msgSend(CPEvent,"otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:",CPAppKitDefined,{x:0,y:0},0,0,0,0,0,0,0)); +objj_msgSend(_CPDisplayServer,"run"); +} +}),new objj_method(sel_getUid("_setMenuWindow:"),function(_a2,_a3,_a4){ +with(_a2){ +_menuWindow=_a4; +} +}),new objj_method(sel_getUid("setFont:"),function(_a5,_a6,_a7){ +with(_a5){ +_font=_a7; +} +}),new objj_method(sel_getUid("font"),function(_a8,_a9){ +with(_a8){ +return _font; +} +}),new objj_method(sel_getUid("performKeyEquivalent:"),function(_aa,_ab,_ac){ +with(_aa){ +if(_autoenablesItems){ +objj_msgSend(_aa,"update"); +} +var _ad=0,_ae=_items.length,_af=objj_msgSend(_ac,"charactersIgnoringModifiers"),_b0=objj_msgSend(_ac,"modifierFlags"); +for(;_ad<_ae;++_ad){ +var _b1=_items[_ad],_b2=objj_msgSend(_b1,"keyEquivalentModifierMask"); +if(objj_msgSend(_b1,"keyEquivalent")===objj_msgSend(objj_msgSend(_b1,"keyEquivalent"),"uppercaseString")){ +_b2|=CPShiftKeyMask; +} +if(CPBrowserIsOperatingSystem(CPWindowsOperatingSystem)&&(_b2&CPCommandKeyMask)){ +_b2|=CPControlKeyMask; +_b2&=~CPCommandKeyMask; +} +if((_b0&(CPShiftKeyMask|CPAlternateKeyMask|CPCommandKeyMask|CPControlKeyMask))==_b2&&objj_msgSend(_af,"caseInsensitiveCompare:",objj_msgSend(_b1,"keyEquivalent"))==CPOrderedSame){ +if(objj_msgSend(_b1,"isEnabled")){ +objj_msgSend(_aa,"performActionForItemAtIndex:",_ad); +}else{ +} +return YES; +} +if(objj_msgSend(objj_msgSend(_b1,"submenu"),"performKeyEquivalent:",_ac)){ +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("performActionForItemAtIndex:"),function(_b3,_b4,_b5){ +with(_b3){ +var _b6=_items[_b5]; +objj_msgSend(CPApp,"sendAction:to:from:",objj_msgSend(_b6,"action"),objj_msgSend(_b6,"target"),_b6); +} +}),new objj_method(sel_getUid("_itemIsHighlighted:"),function(_b7,_b8,_b9){ +with(_b7){ +return _items[_highlightedIndex]==_b9; +} +}),new objj_method(sel_getUid("_highlightItemAtIndex:"),function(_ba,_bb,_bc){ +with(_ba){ +if(_highlightedIndex===_bc){ +return; +} +if(_highlightedIndex!==CPNotFound){ +objj_msgSend(objj_msgSend(_items[_highlightedIndex],"_menuItemView"),"highlight:",NO); +} +_highlightedIndex=_bc; +if(_highlightedIndex!==CPNotFound){ +objj_msgSend(objj_msgSend(_items[_highlightedIndex],"_menuItemView"),"highlight:",YES); +} +} +}),new objj_method(sel_getUid("_setMenuName:"),function(_bd,_be,_bf){ +with(_bd){ +if(_name===_bf){ +return; +} +_name=_bf; +if(_name==="CPMainMenu"){ +objj_msgSend(CPApp,"setMainMenu:",_bd); +} +} +}),new objj_method(sel_getUid("_menuName"),function(_c0,_c1){ +with(_c0){ +return _name; +} +}),new objj_method(sel_getUid("awakeFromCib"),function(_c2,_c3){ +with(_c2){ +if(_name==="_CPMainMenu"){ +objj_msgSend(_c2,"_setMenuName:","CPMainMenu"); +objj_msgSend(CPMenu,"setMenuBarVisible:",YES); +} +} +}),new objj_method(sel_getUid("_menuWithName:"),function(_c4,_c5,_c6){ +with(_c4){ +if(_c6===_name){ +return _c4; +} +for(var i=0,_c7=objj_msgSend(_items,"count");i<_c7;i++){ +var _c8=objj_msgSend(objj_msgSend(_items[i],"submenu"),"_menuWithName:",_c6); +if(_c8){ +return _c8; +} +} +return nil; +} +})]); +class_addMethods(_9,[new objj_method(sel_getUid("initialize"),function(_c9,_ca){ +with(_c9){ +objj_msgSend(objj_msgSend(_c9,"class"),"setMenuBarAttributes:",objj_msgSend(CPDictionary,"dictionary")); +} +}),new objj_method(sel_getUid("menuBarVisible"),function(_cb,_cc){ +with(_cb){ +return _2; +} +}),new objj_method(sel_getUid("setMenuBarVisible:"),function(_cd,_ce,_cf){ +with(_cd){ +if(_2===_cf){ +return; +} +_2=_cf; +if(objj_msgSend(CPPlatform,"supportsNativeMainMenu")){ +return; +} +if(_cf){ +if(!_7){ +_7=objj_msgSend(objj_msgSend(_CPMenuBarWindow,"alloc"),"init"); +} +objj_msgSend(_7,"setMenu:",objj_msgSend(CPApp,"mainMenu")); +objj_msgSend(_7,"setTitle:",_3); +objj_msgSend(_7,"setIconImage:",_4); +objj_msgSend(_7,"setIconImageAlphaValue:",_5); +objj_msgSend(_7,"setColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarBackgroundColor")); +objj_msgSend(_7,"setTextColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTextColor")); +objj_msgSend(_7,"setTitleColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTitleColor")); +objj_msgSend(_7,"setTextShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTextShadowColor")); +objj_msgSend(_7,"setTitleShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTitleShadowColor")); +objj_msgSend(_7,"setHighlightColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightColor")); +objj_msgSend(_7,"setHighlightTextColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightTextColor")); +objj_msgSend(_7,"setHighlightTextShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightTextShadowColor")); +objj_msgSend(_7,"orderFront:",_cd); +}else{ +objj_msgSend(_7,"orderOut:",_cd); +} +objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"resizeEvent:",nil); +} +}),new objj_method(sel_getUid("setMenuBarTitle:"),function(_d0,_d1,_d2){ +with(_d0){ +_3=_d2; +objj_msgSend(_7,"setTitle:",_3); +} +}),new objj_method(sel_getUid("menuBarTitle"),function(_d3,_d4){ +with(_d3){ +return _3; +} +}),new objj_method(sel_getUid("setMenuBarIconImage:"),function(_d5,_d6,_d7){ +with(_d5){ +_CPMenuBarImage=_d7; +objj_msgSend(_7,"setIconImage:",_d7); +} +}),new objj_method(sel_getUid("menuBarIconImage"),function(_d8,_d9){ +with(_d8){ +return _CPMenuBarImage; +} +}),new objj_method(sel_getUid("setMenuBarAttributes:"),function(_da,_db,_dc){ +with(_da){ +if(_6==_dc){ +return; +} +_6=objj_msgSend(_dc,"copy"); +var _dd=objj_msgSend(_dc,"objectForKey:","CPMenuBarTextColor"),_de=objj_msgSend(_dc,"objectForKey:","CPMenuBarTitleColor"),_df=objj_msgSend(_dc,"objectForKey:","CPMenuBarTextShadowColor"),_e0=objj_msgSend(_dc,"objectForKey:","CPMenuBarTitleShadowColor"),_e1=objj_msgSend(_dc,"objectForKey:","CPMenuBarHighlightColor"),_e2=objj_msgSend(_dc,"objectForKey:","CPMenuBarHighlightTextColor"),_e3=objj_msgSend(_dc,"objectForKey:","CPMenuBarHighlightTextShadowColor"); +if(!_dd&&_de){ +objj_msgSend(_6,"setObject:forKey:",_de,"CPMenuBarTextColor"); +}else{ +if(_dd&&!_de){ +objj_msgSend(_6,"setObject:forKey:",_dd,"CPMenuBarTitleColor"); +}else{ +if(!_dd&&!_de){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",0.051,0.2,0.275,1),"CPMenuBarTextColor"); +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",0.051,0.2,0.275,1),"CPMenuBarTitleColor"); +} +} +} +if(!_df&&_e0){ +objj_msgSend(_6,"setObject:forKey:",_e0,"CPMenuBarTextShadowColor"); +}else{ +if(_df&&!_e0){ +objj_msgSend(_6,"setObject:forKey:",_df,"CPMenuBarTitleShadowColor"); +}else{ +if(!_df&&!_e0){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"whiteColor"),"CPMenuBarTextShadowColor"); +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"whiteColor"),"CPMenuBarTitleShadowColor"); +} +} +} +if(!_e1){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",94/255,130/255,186/255,1),"CPMenuBarHighlightColor"); +} +if(!_e2){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"whiteColor"),"CPMenuBarHighlightTextColor"); +} +if(!_e3){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"blackColor"),"CPMenuBarHighlightTextShadowColor"); +} +if(_7){ +objj_msgSend(_7,"setColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarBackgroundColor")); +objj_msgSend(_7,"setTextColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTextColor")); +objj_msgSend(_7,"setTitleColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTitleColor")); +objj_msgSend(_7,"setTextShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTextShadowColor")); +objj_msgSend(_7,"setTitleShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTitleShadowColor")); +objj_msgSend(_7,"setHighlightColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightColor")); +objj_msgSend(_7,"setHighlightTextColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightTextColor")); +objj_msgSend(_7,"setHighlightTextShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightTextShadowColor")); +} +} +}),new objj_method(sel_getUid("menuBarAttributes"),function(_e4,_e5){ +with(_e4){ +return _6; +} +}),new objj_method(sel_getUid("_setMenuBarIconImageAlphaValue:"),function(_e6,_e7,_e8){ +with(_e6){ +_5=_e8; +objj_msgSend(_7,"setIconImageAlphaValue:",_e8); +} +}),new objj_method(sel_getUid("menuBarHeight"),function(_e9,_ea){ +with(_e9){ +return _1; +} +}),new objj_method(sel_getUid("_constraintRectForView:"),function(_eb,_ec,_ed){ +with(_eb){ +if(objj_msgSend(CPPlatform,"isBrowser")){ +return CGRectInset(objj_msgSend(objj_msgSend(objj_msgSend(_ed,"window"),"platformWindow"),"contentBounds"),5,5); +} +return CGRectInset(objj_msgSend(objj_msgSend(objj_msgSend(_ed,"window"),"screen"),"visibleFrame"),5,5); +} +}),new objj_method(sel_getUid("trackingCallbackWithCallback:"),function(_ee,_ef,_f0){ +with(_ee){ +return function(_f1,_f2){ +objj_msgSend(_f1,"setMenu:",nil); +objj_msgSend(_f1,"orderOut:",_ee); +objj_msgSend(_CPMenuWindow,"poolMenuWindow:",_f1); +if(_f0){ +_f0(_f2); +} +objj_msgSend(_f2,"_performActionOfHighlightedItemChain"); +}; +} +}),new objj_method(sel_getUid("popUpContextMenu:withEvent:forView:"),function(_f3,_f4,_f5,_f6,_f7){ +with(_f3){ +objj_msgSend(_f3,"popUpContextMenu:withEvent:forView:withFont:",_f5,_f6,_f7,nil); +} +}),new objj_method(sel_getUid("popUpContextMenu:withEvent:forView:withFont:"),function(_f8,_f9,_fa,_fb,_fc,_fd){ +with(_f8){ +var _fe=objj_msgSend(_fa,"delegate"); +if(objj_msgSend(_fe,"respondsToSelector:",sel_getUid("menuWillOpen:"))){ +objj_msgSend(_fe,"menuWillOpen:",_fa); +} +if(!_fd){ +_fd=objj_msgSend(CPFont,"systemFontOfSize:",12); +} +var _ff=objj_msgSend(_fc,"window"),_100=objj_msgSend(_CPMenuWindow,"menuWindowWithMenu:font:",_fa,_fd); +objj_msgSend(_100,"setBackgroundStyle:",_CPMenuWindowPopUpBackgroundStyle); +var _101=objj_msgSend(CPMenu,"_constraintRectForView:",_fc),_102=objj_msgSend(objj_msgSend(_fb,"window"),"convertBaseToGlobal:",objj_msgSend(_fb,"locationInWindow")); +objj_msgSend(_100,"setConstraintRect:",_101); +objj_msgSend(_100,"setFrameOrigin:",_102); +if(!objj_msgSend(_100,"hasMinimumNumberOfVisibleItems")){ +var _103=objj_msgSend(_100,"unconstrainedFrame"),_104=CGRectGetMinY(_103); +if(_104>=CGRectGetMaxY(_101)||objj_msgSend(_100,"canScrollDown")){ +_103.origin.y=MIN(CGRectGetMaxY(_101),_102.y)-CGRectGetHeight(_103); +}else{ +if(_1040){ +objj_msgSend(_b3,"encodeInt:forKey:",_indentationLevel,_ab); +} +if((_representedObject)!==(nil)){ +objj_msgSend(_b3,"encodeObject:forKey:",(_representedObject),(_ac)); +} +if((_view)!==(nil)){ +objj_msgSend(_b3,"encodeObject:forKey:",(_view),(_ad)); +} +} +})]); +p;31;_CPBorderlessBridgeWindowView.jt;2040;@STATIC;1.0;i;15;_CPWindowView.jt;2001; +objj_executeFile("_CPWindowView.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(_CPWindowView,"_CPBorderlessBridgeWindowView"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_toolbarBackgroundView")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("setShowsResizeIndicator:"),function(_4,_5,_6){ +with(_4){ +} +}),new objj_method(sel_getUid("tile"),function(_7,_8){ +with(_7){ +objj_msgSendSuper({receiver:_7,super_class:objj_getClass("_CPBorderlessBridgeWindowView").super_class},"tile"); +var _9=objj_msgSend(_7,"window"),_a=objj_msgSend(_7,"bounds"); +objj_msgSend(objj_msgSend(_9,"contentView"),"setFrame:",CGRectMake(0,objj_msgSend(_7,"toolbarMaxY"),CGRectGetWidth(_a),CGRectGetHeight(_a)-objj_msgSend(_7,"toolbarMaxY"))); +if(!objj_msgSend(objj_msgSend(_9,"toolbar"),"isVisible")){ +objj_msgSend(_toolbarBackgroundView,"removeFromSuperview"); +_toolbarBackgroundView=nil; +return; +} +if(!_toolbarBackgroundView){ +_toolbarBackgroundView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_toolbarBackgroundView,"setBackgroundColor:",objj_msgSend(objj_msgSend(_7,"class"),"toolbarBackgroundColor")); +objj_msgSend(_toolbarBackgroundView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_7,"addSubview:positioned:relativeTo:",_toolbarBackgroundView,CPWindowBelow,nil); +} +var _b=CGRectMakeZero(),_c=objj_msgSend(_7,"toolbarOffset"); +_b.origin=CGPointMake(_c.width,_c.height); +_b.size=objj_msgSend(_toolbarView,"frame").size; +objj_msgSend(_toolbarBackgroundView,"setFrame:",_b); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("toolbarBackgroundColor"),function(_d,_e){ +with(_d){ +if(!_1){ +_1=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_CPBorderlessBridgeWindowView,"class")),"pathForResource:","_CPToolbarView/_CPToolbarViewBackground.png"),CGSizeMake(1,59))); +} +return _1; +} +})]); +p;25;_CPBorderlessWindowView.jt;190;@STATIC;1.0;i;15;_CPWindowView.jt;152; +objj_executeFile("_CPWindowView.j",YES); +var _1=objj_allocateClassPair(_CPWindowView,"_CPBorderlessWindowView"),_2=_1.isa; +objj_registerClassPair(_1); +p;23;_CPDocModalWindowView.jt;1359;@STATIC;1.0;i;15;_CPWindowView.jt;1320; +objj_executeFile("_CPWindowView.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(_CPWindowView,"_CPDocModalWindowView"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_bodyView")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:styleMask:"),function(_4,_5,_6,_7){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("_CPDocModalWindowView").super_class},"initWithFrame:styleMask:",_6,_7); +if(_4){ +var _8=objj_msgSend(_4,"class"),_9=objj_msgSend(_4,"bounds"); +_bodyView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,CGRectGetWidth(_9),CGRectGetHeight(_9))); +objj_msgSend(_bodyView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_bodyView,"setBackgroundColor:",objj_msgSend(_8,"bodyBackgroundColor")); +objj_msgSend(_bodyView,"setHitTests:",NO); +objj_msgSend(_4,"addSubview:",_bodyView); +} +return _4; +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_a,_b,_c){ +with(_a){ +return _c; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_d,_e,_f){ +with(_d){ +return _f; +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("bodyBackgroundColor"),function(_10,_11){ +with(_10){ +if(!_1){ +_1=objj_msgSend(CPColor,"colorWithWhite:alpha:",0.96,0.9); +} +return _1; +} +})]); +p;18;_CPHUDWindowView.jt;6961;@STATIC;1.0;t;6942; +var _1=nil,_2=nil; +var _3=26; +var _4=objj_allocateClassPair(_CPWindowView,"_CPHUDWindowView"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_toolbarView"),new objj_ivar("_titleField"),new objj_ivar("_closeButton")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("contentRectForFrameRect:"),function(_6,_7,_8){ +with(_6){ +var _9=objj_msgSend(objj_msgSend(_6,"class"),"contentRectForFrameRect:",_8); +if(objj_msgSend(objj_msgSend(objj_msgSend(_6,"window"),"toolbar"),"isVisible")){ +toolbarHeight=CGRectGetHeight(objj_msgSend(objj_msgSend(_6,"toolbarView"),"frame")); +_9.origin.y+=toolbarHeight; +_9.size.height-=toolbarHeight; +} +return _9; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_a,_b,_c){ +with(_a){ +var _d=objj_msgSend(objj_msgSend(_a,"class"),"frameRectForContentRect:",_c); +if(objj_msgSend(objj_msgSend(objj_msgSend(_a,"window"),"toolbar"),"isVisible")){ +toolbarHeight=CGRectGetHeight(objj_msgSend(objj_msgSend(_a,"toolbarView"),"frame")); +_d.origin.y-=toolbarHeight; +_d.size.height+=toolbarHeight; +} +return _d; +} +}),new objj_method(sel_getUid("initWithFrame:styleMask:"),function(_e,_f,_10,_11){ +with(_e){ +_e=objj_msgSendSuper({receiver:_e,super_class:objj_getClass("_CPHUDWindowView").super_class},"initWithFrame:styleMask:",_10,_11); +if(_e){ +var _12=objj_msgSend(_e,"bounds"); +objj_msgSend(_e,"setBackgroundColor:",_1); +_titleField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_titleField,"setHitTests:",NO); +objj_msgSend(_titleField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",11)); +objj_msgSend(_titleField,"setTextColor:",objj_msgSend(CPColor,"whiteColor")); +objj_msgSend(_titleField,"setTextShadowColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_titleField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_titleField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_titleField,"setLineBreakMode:",CPLineBreakByTruncatingTail); +objj_msgSend(_titleField,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_titleField,"setStringValue:","Untitled"); +objj_msgSend(_titleField,"sizeToFit"); +objj_msgSend(_titleField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_titleField,"setStringValue:",""); +objj_msgSend(_titleField,"setFrame:",CGRectMake(20,3,CGRectGetWidth(objj_msgSend(_e,"bounds"))-40,CGRectGetHeight(objj_msgSend(_titleField,"frame")))); +objj_msgSend(_e,"addSubview:",_titleField); +if(_styleMask&CPClosableWindowMask){ +var _13=objj_msgSend(_CPHUDWindowViewCloseImage,"size"); +_closeButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(4,4,_13.width,_13.height)); +objj_msgSend(_closeButton,"setBordered:",NO); +objj_msgSend(_closeButton,"setImage:",_CPHUDWindowViewCloseImage); +objj_msgSend(_closeButton,"setAlternateImage:",_CPHUDWindowViewCloseActiveImage); +objj_msgSend(_e,"addSubview:",_closeButton); +} +objj_msgSend(_e,"setResizeIndicatorOffset:",CGSizeMake(5,5)); +} +return _e; +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_14,_15){ +with(_14){ +objj_msgSend(_closeButton,"setTarget:",objj_msgSend(_14,"window")); +objj_msgSend(_closeButton,"setAction:",sel_getUid("performClose:")); +} +}),new objj_method(sel_getUid("setTitle:"),function(_16,_17,_18){ +with(_16){ +objj_msgSend(_titleField,"setStringValue:",_18); +} +}),new objj_method(sel_getUid("toolbarView"),function(_19,_1a){ +with(_19){ +return _toolbarView; +} +}),new objj_method(sel_getUid("toolbarLabelColor"),function(_1b,_1c){ +with(_1b){ +return objj_msgSend(CPColor,"whiteColor"); +} +}),new objj_method(sel_getUid("toolbarLabelShadowColor"),function(_1d,_1e){ +with(_1d){ +return objj_msgSend(CPColor,"blackColor"); +} +}),new objj_method(sel_getUid("toolbarOffset"),function(_1f,_20){ +with(_1f){ +return CGSizeMake(0,_3); +} +}),new objj_method(sel_getUid("tile"),function(_21,_22){ +with(_21){ +objj_msgSendSuper({receiver:_21,super_class:objj_getClass("_CPHUDWindowView").super_class},"tile"); +var _23=objj_msgSend(_21,"window"),_24=objj_msgSend(_21,"bounds"),_25=CGRectGetWidth(_24); +objj_msgSend(_titleField,"setFrame:",CGRectMake(20,3,_25-40,CGRectGetHeight(objj_msgSend(_titleField,"frame")))); +var _26=objj_msgSend(_21,"toolbarMaxY"); +objj_msgSend(objj_msgSend(_23,"contentView"),"setFrameOrigin:",CGPointMake(0,_26,_25,CGRectGetHeight(_24)-_26)); +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("initialize"),function(_27,_28){ +with(_27){ +if(_27!=objj_msgSend(_CPHUDWindowView,"class")){ +return; +} +var _29=objj_msgSend(CPBundle,"bundleForClass:",_27); +_1=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground0.png"),CPSizeMake(6,78)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground1.png"),CPSizeMake(1,78)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground2.png"),CPSizeMake(6,78)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground3.png"),CPSizeMake(6,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground4.png"),CPSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground5.png"),CPSizeMake(6,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground6.png"),CPSizeMake(6,6)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground7.png"),CPSizeMake(6,6)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground8.png"),CPSizeMake(6,6))])); +_CPHUDWindowViewCloseImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","HUDTheme/WindowClose.png"),CPSizeMake(20,20)); +_CPHUDWindowViewCloseActiveImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","HUDTheme/WindowCloseActive.png"),CPSizeMake(20,20)); +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_2a,_2b,_2c){ +with(_2a){ +var _2d=CGRectMakeCopy(_2c),_2e=_3; +_2d.origin.y+=_2e; +_2d.size.height-=_2e; +return _2d; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_2f,_30,_31){ +with(_2f){ +var _32=CGRectMakeCopy(_31),_33=_3; +_32.origin.y-=_33; +_32.size.height+=_33; +return _32; +} +})]); +p;23;_CPStandardWindowView.jt;11862;@STATIC;1.0;i;15;_CPWindowView.jt;11822; +objj_executeFile("_CPWindowView.j",YES); +var _1=41; +var _2=nil,_3=nil; +var _4=objj_allocateClassPair(CPView,"_CPTexturedWindowHeadView"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_gradientView"),new objj_ivar("_solidView"),new objj_ivar("_dividerView")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("initWithFrame:"),function(_6,_7,_8){ +with(_6){ +_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("_CPTexturedWindowHeadView").super_class},"initWithFrame:",_8); +if(_6){ +var _9=objj_msgSend(_6,"class"),_a=objj_msgSend(_6,"bounds"); +_gradientView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,CGRectGetWidth(_a),_1)); +objj_msgSend(_gradientView,"setBackgroundColor:",objj_msgSend(_9,"gradientColor")); +objj_msgSend(_6,"addSubview:",_gradientView); +_solidView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,_1,CGRectGetWidth(_a),CGRectGetHeight(_a)-_1)); +objj_msgSend(_solidView,"setBackgroundColor:",objj_msgSend(_9,"solidColor")); +objj_msgSend(_6,"addSubview:",_solidView); +} +return _6; +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_b,_c,_d){ +with(_b){ +var _e=objj_msgSend(_b,"bounds"); +objj_msgSend(_gradientView,"setFrameSize:",CGSizeMake(CGRectGetWidth(_e),_1)); +objj_msgSend(_solidView,"setFrameSize:",CGSizeMake(CGRectGetWidth(_e),CGRectGetHeight(_e)-_1)); +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("gradientColor"),function(_f,_10){ +with(_f){ +if(!_2){ +var _11=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_CPWindowView,"class")); +_2=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_11,"pathForResource:","CPWindow/Standard/CPWindowStandardTop0.png"),CGSizeMake(6,41)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_11,"pathForResource:","CPWindow/Standard/CPWindowStandardTop1.png"),CGSizeMake(1,41)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_11,"pathForResource:","CPWindow/Standard/CPWindowStandardTop2.png"),CGSizeMake(6,41))],NO)); +} +return _2; +} +}),new objj_method(sel_getUid("solidColor"),function(_12,_13){ +with(_12){ +if(!_3){ +_3=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",195/255,195/255,195/255,1); +} +return _3; +} +})]); +var _14=nil,_15=nil,_16=nil,_17=nil,_18=nil,_19=nil,_1a=nil,_1b=nil,_1c=nil; +var _1d=41; +STANDARD_TITLEBAR_HEIGHT=25; +var _4=objj_allocateClassPair(_CPWindowView,"_CPStandardWindowView"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_headView"),new objj_ivar("_dividerView"),new objj_ivar("_bodyView"),new objj_ivar("_toolbarView"),new objj_ivar("_titleField"),new objj_ivar("_closeButton"),new objj_ivar("_minimizeButton"),new objj_ivar("_isDocumentEdited")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("contentRectForFrameRect:"),function(_1e,_1f,_20){ +with(_1e){ +var _21=objj_msgSend(objj_msgSend(_1e,"class"),"contentRectForFrameRect:",_20),_22=objj_msgSend(objj_msgSend(_1e,"window"),"toolbar"); +if(objj_msgSend(_22,"isVisible")){ +toolbarHeight=CGRectGetHeight(objj_msgSend(objj_msgSend(_22,"_toolbarView"),"frame")); +_21.origin.y+=toolbarHeight; +_21.size.height-=toolbarHeight; +} +return _21; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_23,_24,_25){ +with(_23){ +var _26=objj_msgSend(objj_msgSend(_23,"class"),"frameRectForContentRect:",_25),_27=objj_msgSend(objj_msgSend(_23,"window"),"toolbar"); +if(objj_msgSend(_27,"isVisible")){ +toolbarHeight=CGRectGetHeight(objj_msgSend(objj_msgSend(_27,"_toolbarView"),"frame")); +_26.origin.y-=toolbarHeight; +_26.size.height+=toolbarHeight; +} +return _26; +} +}),new objj_method(sel_getUid("initWithFrame:styleMask:"),function(_28,_29,_2a,_2b){ +with(_28){ +_28=objj_msgSendSuper({receiver:_28,super_class:objj_getClass("_CPStandardWindowView").super_class},"initWithFrame:styleMask:",_2a,_2b); +if(_28){ +var _2c=objj_msgSend(_28,"class"),_2d=objj_msgSend(_28,"bounds"); +_headView=objj_msgSend(objj_msgSend(_CPTexturedWindowHeadView,"alloc"),"initWithFrame:",CGRectMake(0,0,CGRectGetWidth(_2d),objj_msgSend(objj_msgSend(_28,"class"),"titleBarHeight"))); +objj_msgSend(_headView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_headView,"setHitTests:",NO); +objj_msgSend(_28,"addSubview:",_headView); +_dividerView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,CGRectGetMaxY(objj_msgSend(_headView,"frame")),CGRectGetWidth(_2d),1)); +objj_msgSend(_dividerView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_dividerView,"setBackgroundColor:",objj_msgSend(_2c,"dividerBackgroundColor")); +objj_msgSend(_dividerView,"setHitTests:",NO); +objj_msgSend(_28,"addSubview:",_dividerView); +var y=CGRectGetMaxY(objj_msgSend(_dividerView,"frame")); +_bodyView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,y,CGRectGetWidth(_2d),CGRectGetHeight(_2d)-y)); +objj_msgSend(_bodyView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_bodyView,"setBackgroundColor:",objj_msgSend(_2c,"bodyBackgroundColor")); +objj_msgSend(_bodyView,"setHitTests:",NO); +objj_msgSend(_28,"addSubview:",_bodyView); +objj_msgSend(_28,"setResizeIndicatorOffset:",CGSizeMake(2,2)); +_titleField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_titleField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12)); +objj_msgSend(_titleField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_titleField,"setLineBreakMode:",CPLineBreakByTruncatingTail); +objj_msgSend(_titleField,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_titleField,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor")); +objj_msgSend(_titleField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_titleField,"setStringValue:","Untitled"); +objj_msgSend(_titleField,"sizeToFit"); +objj_msgSend(_titleField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_titleField,"setStringValue:",""); +objj_msgSend(_28,"addSubview:",_titleField); +if(_styleMask&CPClosableWindowMask){ +if(!_17){ +var _2e=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")); +_17=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardCloseButton.png"),CGSizeMake(16,16)); +_18=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png"),CGSizeMake(16,16)); +_19=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png"),CGSizeMake(16,16)); +_1a=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png"),CGSizeMake(16,16)); +} +_closeButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(8,7,16,16)); +objj_msgSend(_closeButton,"setBordered:",NO); +objj_msgSend(_28,"_updateCloseButton"); +objj_msgSend(_28,"addSubview:",_closeButton); +} +if(_styleMask&CPMiniaturizableWindowMask&&!objj_msgSend(CPPlatform,"isBrowser")){ +if(!_1b){ +var _2e=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")); +_1b=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardMinimizeButton.png"),CGSizeMake(16,16)); +_1c=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png"),CGSizeMake(16,16)); +} +_minimizeButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(27,7,16,16)); +objj_msgSend(_minimizeButton,"setBordered:",NO); +objj_msgSend(_minimizeButton,"setImage:",_1b); +objj_msgSend(_minimizeButton,"setAlternateImage:",_1c); +objj_msgSend(_28,"addSubview:",_minimizeButton); +} +objj_msgSend(_28,"tile"); +} +return _28; +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_2f,_30){ +with(_2f){ +objj_msgSend(_closeButton,"setTarget:",objj_msgSend(_2f,"window")); +objj_msgSend(_closeButton,"setAction:",sel_getUid("performClose:")); +objj_msgSend(_minimizeButton,"setTarget:",objj_msgSend(_2f,"window")); +objj_msgSend(_minimizeButton,"setAction:",sel_getUid("performMiniaturize:")); +} +}),new objj_method(sel_getUid("toolbarOffset"),function(_31,_32){ +with(_31){ +return CGSizeMake(0,objj_msgSend(objj_msgSend(_31,"class"),"titleBarHeight")); +} +}),new objj_method(sel_getUid("tile"),function(_33,_34){ +with(_33){ +objj_msgSendSuper({receiver:_33,super_class:objj_getClass("_CPStandardWindowView").super_class},"tile"); +var _35=objj_msgSend(_33,"window"),_36=objj_msgSend(_33,"bounds"),_37=CGRectGetWidth(_36); +objj_msgSend(_headView,"setFrameSize:",CGSizeMake(_37,objj_msgSend(_33,"toolbarMaxY"))); +objj_msgSend(_dividerView,"setFrame:",CGRectMake(0,CGRectGetMaxY(objj_msgSend(_headView,"frame")),_37,1)); +var _38=CGRectGetMaxY(objj_msgSend(_dividerView,"frame")); +objj_msgSend(_bodyView,"setFrame:",CGRectMake(0,_38,_37,CGRectGetHeight(_36)-_38)); +var _39=8; +if(_closeButton){ +_39+=19; +} +if(_minimizeButton){ +_39+=19; +} +objj_msgSend(_titleField,"setFrame:",CGRectMake(_39,5,_37-_39*2,CGRectGetHeight(objj_msgSend(_titleField,"frame")))); +objj_msgSend(objj_msgSend(_35,"contentView"),"setFrameOrigin:",CGPointMake(0,CGRectGetMaxY(objj_msgSend(_dividerView,"frame")))); +} +}),new objj_method(sel_getUid("_updateCloseButton"),function(_3a,_3b){ +with(_3a){ +if(_isDocumentEdited){ +objj_msgSend(_closeButton,"setImage:",_19); +objj_msgSend(_closeButton,"setAlternateImage:",_1a); +}else{ +objj_msgSend(_closeButton,"setImage:",_17); +objj_msgSend(_closeButton,"setAlternateImage:",_18); +} +} +}),new objj_method(sel_getUid("setDocumentEdited:"),function(_3c,_3d,_3e){ +with(_3c){ +_isDocumentEdited=_3e; +objj_msgSend(_3c,"_updateCloseButton"); +} +}),new objj_method(sel_getUid("setTitle:"),function(_3f,_40,_41){ +with(_3f){ +objj_msgSend(_titleField,"setStringValue:",_41); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_42,_43,_44){ +with(_42){ +if(CGRectContainsPoint(objj_msgSend(_headView,"frame"),objj_msgSend(_42,"convertPoint:fromView:",objj_msgSend(_44,"locationInWindow"),nil))){ +return objj_msgSend(_42,"trackMoveWithEvent:",_44); +} +objj_msgSendSuper({receiver:_42,super_class:objj_getClass("_CPStandardWindowView").super_class},"mouseDown:",_44); +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("bodyBackgroundColor"),function(_45,_46){ +with(_45){ +if(!_14){ +_14=objj_msgSend(CPColor,"colorWithWhite:alpha:",0.96,1); +} +return _14; +} +}),new objj_method(sel_getUid("dividerBackgroundColor"),function(_47,_48){ +with(_47){ +if(!_15){ +_15=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",125/255,125/255,125/255,1); +} +return _15; +} +}),new objj_method(sel_getUid("titleColor"),function(_49,_4a){ +with(_49){ +if(!_16){ +_16=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",44/255,44/255,44/255,1); +} +return _16; +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_4b,_4c,_4d){ +with(_4b){ +var _4e=CGRectMakeCopy(_4d),_4f=objj_msgSend(_4b,"titleBarHeight")+1; +_4e.origin.y+=_4f; +_4e.size.height-=_4f; +return _4e; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_50,_51,_52){ +with(_50){ +var _53=CGRectMakeCopy(_52),_54=objj_msgSend(_50,"titleBarHeight")+1; +_53.origin.y-=_54; +_53.size.height+=_54; +return _53; +} +}),new objj_method(sel_getUid("titleBarHeight"),function(_55,_56){ +with(_55){ +return STANDARD_TITLEBAR_HEIGHT; +} +})]); +p;15;_CPWindowView.jt;9275;@STATIC;1.0;i;8;CPView.ji;13;CPImageView.jt;9226; +objj_executeFile("CPView.j",YES); +objj_executeFile("CPImageView.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(CPView,"_CPWindowView"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_styleMask"),new objj_ivar("_resizeIndicator"),new objj_ivar("_resizeIndicatorOffset"),new objj_ivar("_toolbarView"),new objj_ivar("_toolbarOffset"),new objj_ivar("_resizeFrame"),new objj_ivar("_mouseDraggedPoint"),new objj_ivar("_cachedScreenFrame")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("contentRectForFrameRect:"),function(_4,_5,_6){ +with(_4){ +return objj_msgSend(objj_msgSend(_4,"class"),"contentRectForFrameRect:",_6); +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_7,_8,_9){ +with(_7){ +return objj_msgSend(objj_msgSend(_7,"class"),"frameRectForContentRect:",_9); +} +}),new objj_method(sel_getUid("initWithFrame:styleMask:"),function(_a,_b,_c,_d){ +with(_a){ +_a=objj_msgSendSuper({receiver:_a,super_class:objj_getClass("_CPWindowView").super_class},"initWithFrame:",_c); +if(_a){ +_styleMask=_d; +_resizeIndicatorOffset=CGSizeMakeZero(); +_toolbarOffset=CGSizeMakeZero(); +} +return _a; +} +}),new objj_method(sel_getUid("setDocumentEdited:"),function(_e,_f,_10){ +with(_e){ +} +}),new objj_method(sel_getUid("setTitle:"),function(_11,_12,_13){ +with(_11){ +} +}),new objj_method(sel_getUid("acceptsFirstMouse:"),function(_14,_15,_16){ +with(_14){ +return YES; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_17,_18,_19){ +with(_17){ +var _1a=objj_msgSend(_17,"window"); +if((_styleMask&CPResizableWindowMask)&&_resizeIndicator){ +var _1b=objj_msgSend(_resizeIndicator,"frame"); +if(CGRectContainsPoint(_1b,objj_msgSend(_17,"convertPoint:fromView:",objj_msgSend(_19,"locationInWindow"),nil))){ +return objj_msgSend(_17,"trackResizeWithEvent:",_19); +} +} +if(objj_msgSend(_1a,"isMovableByWindowBackground")){ +objj_msgSend(_17,"trackMoveWithEvent:",_19); +}else{ +objj_msgSendSuper({receiver:_17,super_class:objj_getClass("_CPWindowView").super_class},"mouseDown:",_19); +} +} +}),new objj_method(sel_getUid("trackResizeWithEvent:"),function(_1c,_1d,_1e){ +with(_1c){ +var _1f=objj_msgSend(_1e,"locationInWindow"),_20=objj_msgSend(_1e,"type"); +if(_20===CPLeftMouseUp){ +return; +} +var _21=objj_msgSend(_1c,"window"); +if(_20===CPLeftMouseDown){ +var _22=objj_msgSend(_21,"frame"); +_resizeFrame=CGRectMake(_1f.x,_1f.y,CGRectGetWidth(_22),CGRectGetHeight(_22)); +}else{ +if(_20===CPLeftMouseDragged){ +var _23=CGSizeMake(CGRectGetWidth(_resizeFrame)+_1f.x-CGRectGetMinX(_resizeFrame),CGRectGetHeight(_resizeFrame)+_1f.y-CGRectGetMinY(_resizeFrame)); +if(_21._isSheet&&_21._parentView&&(_21._frame.size.width!==_23.width)){ +objj_msgSend(_21._parentView,"_setAttachedSheetFrameOrigin"); +} +objj_msgSend(_21,"setFrameSize:",_23); +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_1c,sel_getUid("trackResizeWithEvent:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("_pointWithinScreenFrame:"),function(_24,_25,_26){ +with(_24){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +return _26; +} +var _27=_cachedScreenFrame; +if(!_27){ +_27=objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"visibleFrame"); +} +var _28=0; +if(objj_msgSend(CPMenu,"menuBarVisible")){ +_28=objj_msgSend(objj_msgSend(CPApp,"mainMenu"),"menuBarHeight"); +} +var _29=CGPointMake(0,0); +_29.x=MIN(MAX(_26.x,-_frame.size.width+4),CGRectGetMaxX(_27)-4); +_29.y=MIN(MAX(_26.y,_28),CGRectGetMaxY(_27)-8); +return _29; +} +}),new objj_method(sel_getUid("trackMoveWithEvent:"),function(_2a,_2b,_2c){ +with(_2a){ +var _2d=objj_msgSend(_2c,"type"); +if(_2d===CPLeftMouseUp){ +_cachedScreenFrame=nil; +return; +}else{ +if(_2d===CPLeftMouseDown){ +_mouseDraggedPoint=objj_msgSend(objj_msgSend(_2a,"window"),"convertBaseToGlobal:",objj_msgSend(_2c,"locationInWindow")); +_cachedScreenFrame=objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"visibleFrame"); +}else{ +if(_2d===CPLeftMouseDragged){ +var _2e=objj_msgSend(_2a,"window"),_2f=objj_msgSend(_2e,"frame"),_30=objj_msgSend(_2e,"convertBaseToGlobal:",objj_msgSend(_2c,"locationInWindow")),_31=objj_msgSend(_2a,"_pointWithinScreenFrame:",CGPointMake((_2f.origin.x)+(_30.x-_mouseDraggedPoint.x),(_2f.origin.y)+(_30.y-_mouseDraggedPoint.y))); +objj_msgSend(_2e,"setFrameOrigin:",_31); +_mouseDraggedPoint=objj_msgSend(_2a,"_pointWithinScreenFrame:",_30); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_2a,sel_getUid("trackMoveWithEvent:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("setShowsResizeIndicator:"),function(_32,_33,_34){ +with(_32){ +if(_34){ +var _35=objj_msgSend(_1,"size"),_36=objj_msgSend(_32,"frame").size; +_resizeIndicator=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(_36.width-_35.width-_resizeIndicatorOffset.width,_36.height-_35.height-_resizeIndicatorOffset.height,_35.width,_35.height)); +objj_msgSend(_resizeIndicator,"setImage:",_1); +objj_msgSend(_resizeIndicator,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin); +objj_msgSend(_32,"addSubview:",_resizeIndicator); +}else{ +objj_msgSend(_resizeIndicator,"removeFromSuperview"); +_resizeIndicator=nil; +} +} +}),new objj_method(sel_getUid("showsResizeIndicator"),function(_37,_38){ +with(_37){ +return _resizeIndicator!==nil; +} +}),new objj_method(sel_getUid("setResizeIndicatorOffset:"),function(_39,_3a,_3b){ +with(_39){ +if(CGSizeEqualToSize(_resizeIndicatorOffset,_3b)){ +return; +} +_resizeIndicatorOffset=_3b; +if(!_resizeIndicator){ +return; +} +var _3c=objj_msgSend(_resizeIndicator,"frame").size,_3d=objj_msgSend(_39,"frame").size; +objj_msgSend(_resizeIndicator,"setFrameOrigin:",CGPointMake(_3d.width-_3c.width-_3b.width,_3d.height-_3c.height-_3b.height)); +} +}),new objj_method(sel_getUid("resizeIndicatorOffset"),function(_3e,_3f){ +with(_3e){ +return _resizeIndicatorOffset; +} +}),new objj_method(sel_getUid("windowDidChangeDocumentEdited"),function(_40,_41){ +with(_40){ +} +}),new objj_method(sel_getUid("windowDidChangeDocumentSaving"),function(_42,_43){ +with(_42){ +} +}),new objj_method(sel_getUid("showsToolbar"),function(_44,_45){ +with(_44){ +return YES; +} +}),new objj_method(sel_getUid("toolbarOffset"),function(_46,_47){ +with(_46){ +return _toolbarOffset; +} +}),new objj_method(sel_getUid("toolbarLabelColor"),function(_48,_49){ +with(_48){ +return objj_msgSend(CPColor,"blackColor"); +} +}),new objj_method(sel_getUid("toolbarMaxY"),function(_4a,_4b){ +with(_4a){ +if(!_toolbarView||objj_msgSend(_toolbarView,"isHidden")){ +return objj_msgSend(_4a,"toolbarOffset").height; +} +return CGRectGetMaxY(objj_msgSend(_toolbarView,"frame")); +} +}),new objj_method(sel_getUid("toolbarView"),function(_4c,_4d){ +with(_4c){ +return _toolbarView; +} +}),new objj_method(sel_getUid("tile"),function(_4e,_4f){ +with(_4e){ +var _50=objj_msgSend(_4e,"window"),_51=objj_msgSend(_4e,"bounds"),_52=CGRectGetWidth(_51); +if(objj_msgSend(objj_msgSend(_50,"toolbar"),"isVisible")){ +var _53=objj_msgSend(_4e,"toolbarView"),_54=objj_msgSend(_4e,"toolbarOffset"); +objj_msgSend(_53,"setFrame:",CGRectMake(_54.width,_54.height,_52,CGRectGetHeight(objj_msgSend(_53,"frame")))); +} +if(objj_msgSend(_4e,"showsResizeIndicator")){ +var _55=objj_msgSend(_resizeIndicator,"frame").size,_56=objj_msgSend(_4e,"bounds").size; +objj_msgSend(_resizeIndicator,"setFrameOrigin:",CGPointMake(_56.width-_55.width-_resizeIndicatorOffset.width,_56.height-_55.height-_resizeIndicatorOffset.height)); +} +} +}),new objj_method(sel_getUid("noteToolbarChanged"),function(_57,_58){ +with(_57){ +var _59=objj_msgSend(_57,"window"),_5a=objj_msgSend(_59,"toolbar"),_5b=objj_msgSend(_5a,"_toolbarView"); +if(_toolbarView!==_5b){ +objj_msgSend(_toolbarView,"removeFromSuperview"); +if(_5b){ +objj_msgSend(_5b,"removeFromSuperview"); +objj_msgSend(_5b,"FIXME_setIsHUD:",_styleMask&CPHUDBackgroundWindowMask); +objj_msgSend(_57,"addSubview:",_5b); +} +_toolbarView=_5b; +} +objj_msgSend(_5b,"setHidden:",!objj_msgSend(_57,"showsToolbar")||!objj_msgSend(_5a,"isVisible")); +if(_59){ +var _5c=objj_msgSend(_57,"convertRect:toView:",objj_msgSend(objj_msgSend(_59,"contentView"),"frame"),nil); +_5c.origin=objj_msgSend(_59,"convertBaseToGlobal:",_5c.origin); +objj_msgSend(_57,"setAutoresizesSubviews:",NO); +objj_msgSend(_59,"setFrame:",objj_msgSend(_59,"frameRectForContentRect:",_5c)); +objj_msgSend(_57,"setAutoresizesSubviews:",YES); +} +objj_msgSend(_57,"tile"); +} +}),new objj_method(sel_getUid("didAddSubview:"),function(_5d,_5e,_5f){ +with(_5d){ +if(!_resizeIndicator||_5f===_resizeIndicator){ +return; +} +objj_msgSend(_5d,"addSubview:",_resizeIndicator); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("initialize"),function(_60,_61){ +with(_60){ +if(_60!=objj_msgSend(_CPWindowView,"class")){ +return; +} +_1=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")),"pathForResource:","_CPWindowView/_CPWindowViewResizeIndicator.png"),CGSizeMake(12,12)); +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_62,_63,_64){ +with(_62){ +return CGRectMakeCopy(_64); +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_65,_66,_67){ +with(_65){ +return CGRectMakeCopy(_67); +} +})]); +p;10;CPWindow.jt;59241;@STATIC;1.0;I;25;Foundation/CPCountedSet.jI;33;Foundation/CPNotificationCenter.jI;26;Foundation/CPUndoManager.ji;12;CGGeometry.ji;13;CPAnimation.ji;13;CPResponder.ji;10;CPScreen.ji;18;CPPlatformWindow.ji;15;_CPWindowView.ji;23;_CPStandardWindowView.ji;23;_CPDocModalWindowView.ji;18;_CPHUDWindowView.ji;25;_CPBorderlessWindowView.ji;31;_CPBorderlessBridgeWindowView.ji;14;CPDragServer.ji;8;CPView.jt;58835; +objj_executeFile("Foundation/CPCountedSet.j",NO); +objj_executeFile("Foundation/CPNotificationCenter.j",NO); +objj_executeFile("Foundation/CPUndoManager.j",NO); +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPAnimation.j",YES); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPScreen.j",YES); +objj_executeFile("CPPlatformWindow.j",YES); +CPBorderlessWindowMask=0; +CPTitledWindowMask=1<<0; +CPClosableWindowMask=1<<1; +CPMiniaturizableWindowMask=1<<2; +CPResizableWindowMask=1<<3; +CPTexturedBackgroundWindowMask=1<<8; +CPBorderlessBridgeWindowMask=1<<20; +CPHUDBackgroundWindowMask=1<<21; +CPWindowNotSizable=0; +CPWindowMinXMargin=1; +CPWindowWidthSizable=2; +CPWindowMaxXMargin=4; +CPWindowMinYMargin=8; +CPWindowHeightSizable=16; +CPWindowMaxYMargin=32; +CPBackgroundWindowLevel=-1; +CPNormalWindowLevel=0; +CPFloatingWindowLevel=3; +CPSubmenuWindowLevel=3; +CPTornOffMenuWindowLevel=3; +CPMainMenuWindowLevel=24; +CPStatusWindowLevel=25; +CPModalPanelWindowLevel=8; +CPPopUpMenuWindowLevel=101; +CPDraggingWindowLevel=500; +CPScreenSaverWindowLevel=1000; +CPWindowOut=0; +CPWindowAbove=1; +CPWindowBelow=2; +CPWindowWillCloseNotification="CPWindowWillCloseNotification"; +CPWindowDidBecomeMainNotification="CPWindowDidBecomeMainNotification"; +CPWindowDidResignMainNotification="CPWindowDidResignMainNotification"; +CPWindowDidBecomeKeyNotification="CPWindowDidBecomeKeyNotification"; +CPWindowDidResignKeyNotification="CPWindowDidResignKeyNotification"; +CPWindowDidResizeNotification="CPWindowDidResizeNotification"; +CPWindowDidMoveNotification="CPWindowDidMoveNotification"; +CPWindowWillBeginSheetNotification="CPWindowWillBeginSheetNotification"; +CPWindowDidEndSheetNotification="CPWindowDidEndSheetNotification"; +CPWindowDidMiniaturizeNotification="CPWindowDidMiniaturizeNotification"; +CPWindowWillMiniaturizeNotification="CPWindowWillMiniaturizeNotification"; +CPWindowDidDeminiaturizeNotification="CPWindowDidDeminiaturizeNotification"; +CPWindowShadowStyleStandard=0; +CPWindowShadowStyleMenu=1; +CPWindowShadowStylePanel=2; +var _1=20,_2=19,_3=10,_4=10,_5=5,_6=nil; +var _7=nil,_8=nil; +var _9=objj_allocateClassPair(CPResponder,"CPWindow"),_a=_9.isa; +class_addIvars(_9,[new objj_ivar("_platformWindow"),new objj_ivar("_windowNumber"),new objj_ivar("_styleMask"),new objj_ivar("_frame"),new objj_ivar("_level"),new objj_ivar("_isVisible"),new objj_ivar("_isMiniaturized"),new objj_ivar("_isAnimating"),new objj_ivar("_hasShadow"),new objj_ivar("_isMovableByWindowBackground"),new objj_ivar("_shadowStyle"),new objj_ivar("_showsResizeIndicator"),new objj_ivar("_isDocumentEdited"),new objj_ivar("_isDocumentSaving"),new objj_ivar("_shadowView"),new objj_ivar("_windowView"),new objj_ivar("_contentView"),new objj_ivar("_toolbarView"),new objj_ivar("_mouseEnteredStack"),new objj_ivar("_leftMouseDownView"),new objj_ivar("_rightMouseDownView"),new objj_ivar("_toolbar"),new objj_ivar("_firstResponder"),new objj_ivar("_initialFirstResponder"),new objj_ivar("_delegate"),new objj_ivar("_title"),new objj_ivar("_acceptsMouseMovedEvents"),new objj_ivar("_ignoresMouseEvents"),new objj_ivar("_windowController"),new objj_ivar("_minSize"),new objj_ivar("_maxSize"),new objj_ivar("_undoManager"),new objj_ivar("_representedURL"),new objj_ivar("_registeredDraggedTypes"),new objj_ivar("_registeredDraggedTypesArray"),new objj_ivar("_inclusiveRegisteredDraggedTypes"),new objj_ivar("_defaultButton"),new objj_ivar("_defaultButtonEnabled"),new objj_ivar("_autorecalculatesKeyViewLoop"),new objj_ivar("_keyViewLoopIsDirty"),new objj_ivar("_sharesChromeWithPlatformWindow"),new objj_ivar("_DOMElement"),new objj_ivar("_autoresizingMask"),new objj_ivar("_delegateRespondsToWindowWillReturnUndoManagerSelector"),new objj_ivar("_isFullPlatformWindow"),new objj_ivar("_fullPlatformWindowSession"),new objj_ivar("_sheetContext"),new objj_ivar("_parentView"),new objj_ivar("_isSheet")]); +objj_registerClassPair(_9); +class_addMethods(_9,[new objj_method(sel_getUid("init"),function(_b,_c){ +with(_b){ +return objj_msgSend(_b,"initWithContentRect:styleMask:",{origin:{x:0,y:0},size:{width:0,height:0}},CPTitledWindowMask); +} +}),new objj_method(sel_getUid("initWithContentRect:styleMask:"),function(_d,_e,_f,_10){ +with(_d){ +_d=objj_msgSendSuper({receiver:_d,super_class:objj_getClass("CPWindow").super_class},"init"); +if(_d){ +var _11=objj_msgSend(objj_msgSend(_d,"class"),"_windowViewClassForStyleMask:",_10); +_frame=objj_msgSend(_11,"frameRectForContentRect:",_f); +objj_msgSend(_d,"_setSharesChromeWithPlatformWindow:",!objj_msgSend(CPPlatform,"isBrowser")); +if(objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(_d,"setPlatformWindow:",objj_msgSend(CPPlatformWindow,"primaryPlatformWindow")); +}else{ +objj_msgSend(_d,"setPlatformWindow:",objj_msgSend(objj_msgSend(CPPlatformWindow,"alloc"),"initWithContentRect:",_frame)); +objj_msgSend(_d,"platformWindow")._only=_d; +} +_isFullPlatformWindow=NO; +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +_isSheet=NO; +_windowNumber=objj_msgSend(CPApp._windows,"count"); +CPApp._windows[_windowNumber]=_d; +_styleMask=_10; +objj_msgSend(_d,"setLevel:",CPNormalWindowLevel); +_minSize=CGSizeMake(0,0); +_maxSize=CGSizeMake(1000000,1000000); +_windowView=objj_msgSend(objj_msgSend(_11,"alloc"),"initWithFrame:styleMask:",CGRectMake(0,0,CGRectGetWidth(_frame),CGRectGetHeight(_frame)),_10); +objj_msgSend(_windowView,"_setWindow:",_d); +objj_msgSend(_windowView,"setNextResponder:",_d); +objj_msgSend(_d,"setMovableByWindowBackground:",_10&CPHUDBackgroundWindowMask); +objj_msgSend(_d,"setContentView:",objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero())); +_firstResponder=_d; +_DOMElement=document.createElement("div"); +_DOMElement.style.position="absolute"; +_DOMElement.style.visibility="visible"; +_DOMElement.style.zIndex=0; +if(!objj_msgSend(_d,"_sharesChromeWithPlatformWindow")){ +if(NULL){ +var _12=_CGPointApplyAffineTransform(CGPointMake((_frame.origin.x),(_frame.origin.y)),NULL); +}else{ +var _12={x:(_frame.origin.x),y:(_frame.origin.y)}; +} +_DOMElement.style.left=ROUND(_12.x)+"px"; +_DOMElement.style.top=ROUND(_12.y)+"px"; +} +_DOMElement.style.width=MAX(0,ROUND(1))+"px"; +_DOMElement.style.height=MAX(0,ROUND(1))+"px"; +_DOMElement.appendChild(_windowView._DOMElement); +objj_msgSend(_d,"setNextResponder:",CPApp); +objj_msgSend(_d,"setHasShadow:",_10!==CPBorderlessWindowMask); +if(_10&CPBorderlessBridgeWindowMask){ +objj_msgSend(_d,"setFullPlatformWindow:",YES); +} +_defaultButtonEnabled=YES; +_keyViewLoopIsDirty=YES; +objj_msgSend(_d,"setShowsResizeIndicator:",_styleMask&CPResizableWindowMask); +} +return _d; +} +}),new objj_method(sel_getUid("platformWindow"),function(_13,_14){ +with(_13){ +return _platformWindow; +} +}),new objj_method(sel_getUid("setPlatformWindow:"),function(_15,_16,_17){ +with(_15){ +_platformWindow=_17; +} +}),new objj_method(sel_getUid("awakeFromCib"),function(_18,_19){ +with(_18){ +if(_initialFirstResponder){ +objj_msgSend(_18,"makeFirstResponder:",_initialFirstResponder); +} +_keyViewLoopIsDirty=!objj_msgSend(_18,"_hasKeyViewLoop"); +} +}),new objj_method(sel_getUid("_setWindowView:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_windowView===_1c){ +return; +} +var _1d=_windowView; +_windowView=_1c; +if(_1d){ +objj_msgSend(_1d,"_setWindow:",nil); +objj_msgSend(_1d,"noteToolbarChanged"); +_DOMElement.removeChild(_1d._DOMElement); +} +if(_windowView){ +_DOMElement.appendChild(_windowView._DOMElement); +var _1e=objj_msgSend(_contentView,"convertRect:toView:",objj_msgSend(_contentView,"bounds"),nil); +_1e.origin=objj_msgSend(_1a,"convertBaseToGlobal:",_1e.origin); +objj_msgSend(_windowView,"_setWindow:",_1a); +objj_msgSend(_windowView,"setNextResponder:",_1a); +objj_msgSend(_windowView,"addSubview:",_contentView); +objj_msgSend(_windowView,"setTitle:",_title); +objj_msgSend(_windowView,"noteToolbarChanged"); +objj_msgSend(_windowView,"setShowsResizeIndicator:",objj_msgSend(_1a,"showsResizeIndicator")); +objj_msgSend(_1a,"setFrame:",objj_msgSend(_1a,"frameRectForContentRect:",_1e)); +} +} +}),new objj_method(sel_getUid("setFullPlatformWindow:"),function(_1f,_20,_21){ +with(_1f){ +if(!objj_msgSend(_platformWindow,"supportsFullPlatformWindows")){ +return; +} +_21=!!_21; +if(_isFullPlatformWindow===_21){ +return; +} +_isFullPlatformWindow=_21; +if(_isFullPlatformWindow){ +_fullPlatformWindowSession=_CPWindowFullPlatformWindowSessionMake(_windowView,objj_msgSend(_1f,"contentRectForFrameRect:",objj_msgSend(_1f,"frame")),objj_msgSend(_1f,"hasShadow"),objj_msgSend(_1f,"level")); +var _22=objj_msgSend(objj_msgSend(_1f,"class"),"_windowViewClassForFullPlatformWindowStyleMask:",_styleMask),_23=objj_msgSend(objj_msgSend(_22,"alloc"),"initWithFrame:styleMask:",CGRectMakeZero(),_styleMask); +objj_msgSend(_1f,"_setWindowView:",_23); +objj_msgSend(_1f,"setLevel:",CPBackgroundWindowLevel); +objj_msgSend(_1f,"setHasShadow:",NO); +objj_msgSend(_1f,"setAutoresizingMask:",CPWindowWidthSizable|CPWindowHeightSizable); +objj_msgSend(_1f,"setFrame:",objj_msgSend(_platformWindow,"visibleFrame")); +}else{ +var _23=_fullPlatformWindowSession.windowView; +objj_msgSend(_1f,"_setWindowView:",_23); +objj_msgSend(_1f,"setLevel:",_fullPlatformWindowSession.level); +objj_msgSend(_1f,"setHasShadow:",_fullPlatformWindowSession.hasShadow); +objj_msgSend(_1f,"setAutoresizingMask:",CPWindowNotSizable); +objj_msgSend(_1f,"setFrame:",objj_msgSend(_23,"frameRectForContentRect:",_fullPlatformWindowSession.contentRect)); +} +} +}),new objj_method(sel_getUid("isFullPlatformWindow"),function(_24,_25){ +with(_24){ +return _isFullPlatformWindow; +} +}),new objj_method(sel_getUid("styleMask"),function(_26,_27){ +with(_26){ +return _styleMask; +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_28,_29,_2a){ +with(_28){ +return objj_msgSend(_windowView,"contentRectForFrameRect:",_2a); +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_2b,_2c,_2d){ +with(_2b){ +return objj_msgSend(_windowView,"frameRectForContentRect:",_2d); +} +}),new objj_method(sel_getUid("frame"),function(_2e,_2f){ +with(_2e){ +return {origin:{x:_frame.origin.x,y:_frame.origin.y},size:{width:_frame.size.width,height:_frame.size.height}}; +} +}),new objj_method(sel_getUid("_setClippedFrame:display:animate:"),function(_30,_31,_32,_33,_34){ +with(_30){ +_32.size.width=MIN(MAX(_32.size.width,_minSize.width),_maxSize.width); +_32.size.height=MIN(MAX(_32.size.height,_minSize.height),_maxSize.height); +objj_msgSend(_30,"setFrame:display:animate:",_32,_33,_34); +} +}),new objj_method(sel_getUid("setFrame:display:animate:"),function(_35,_36,_37,_38,_39){ +with(_35){ +_37={origin:{x:_37.origin.x,y:_37.origin.y},size:{width:_37.size.width,height:_37.size.height}}; +var _3a=_37.origin.x,_3b=_3a-FLOOR(_3a); +if(_3b){ +_37.origin.x=_3a>0.879?CEIL(_3a):FLOOR(_3a); +} +_3a=_37.origin.y; +_3b=_3a-FLOOR(_3a); +if(_3b){ +_37.origin.y=_3a>0.879?CEIL(_3a):FLOOR(_3a); +} +_3a=_37.size.width; +_3b=_3a-FLOOR(_3a); +if(_3b){ +_37.size.width=_3a>0.15?CEIL(_3a):FLOOR(_3a); +} +_3a=_37.size.height; +_3b=_3a-FLOOR(_3a); +if(_3b){ +_37.size.height=_3a>0.15?CEIL(_3a):FLOOR(_3a); +} +if(_39){ +var _3c=objj_msgSend(objj_msgSend(_CPWindowFrameAnimation,"alloc"),"initWithWindow:targetFrame:",_35,_37); +objj_msgSend(_3c,"startAnimation"); +}else{ +var _3d=_frame.origin,_3e=_37.origin; +if(!(_3d.x==_3e.x&&_3d.y==_3e.y)){ +_3d.x=_3e.x; +_3d.y=_3e.y; +if(!objj_msgSend(_35,"_sharesChromeWithPlatformWindow")){ +if(NULL){ +var _3f=_CGPointApplyAffineTransform(CGPointMake(_3d.x,_3d.y),NULL); +}else{ +var _3f={x:_3d.x,y:_3d.y}; +} +_DOMElement.style.left=ROUND(_3f.x)+"px"; +_DOMElement.style.top=ROUND(_3f.y)+"px"; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidMoveNotification,_35); +} +var _40=_frame.size,_41=_37.size; +if(!(_40.width==_41.width&&_40.height==_41.height)){ +_40.width=_41.width; +_40.height=_41.height; +objj_msgSend(_windowView,"setFrameSize:",_40); +if(_hasShadow){ +objj_msgSend(_shadowView,"setFrameSize:",{width:_1+_40.width+_2,height:_4+_40.height+_3+_5}); +} +if(!_isAnimating){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidResizeNotification,_35); +} +} +if(objj_msgSend(_35,"_sharesChromeWithPlatformWindow")){ +objj_msgSend(_platformWindow,"setContentRect:",_frame); +} +} +} +}),new objj_method(sel_getUid("setFrame:display:"),function(_42,_43,_44,_45){ +with(_42){ +objj_msgSend(_42,"_setClippedFrame:display:animate:",_44,_45,NO); +} +}),new objj_method(sel_getUid("setFrame:"),function(_46,_47,_48){ +with(_46){ +objj_msgSend(_46,"_setClippedFrame:display:animate:",_48,YES,NO); +} +}),new objj_method(sel_getUid("setFrameOrigin:"),function(_49,_4a,_4b){ +with(_49){ +objj_msgSend(_49,"_setClippedFrame:display:animate:",{origin:{x:_4b.x,y:_4b.y},size:{width:(_frame.size.width),height:(_frame.size.height)}},YES,NO); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_4c,_4d,_4e){ +with(_4c){ +objj_msgSend(_4c,"_setClippedFrame:display:animate:",{origin:{x:(_frame.origin.x),y:(_frame.origin.y)},size:{width:_4e.width,height:_4e.height}},YES,NO); +} +}),new objj_method(sel_getUid("orderFront:"),function(_4f,_50,_51){ +with(_4f){ +objj_msgSend(_platformWindow,"orderFront:",_4f); +objj_msgSend(_platformWindow,"order:window:relativeTo:",CPWindowAbove,_4f,nil); +} +}),new objj_method(sel_getUid("orderBack:"),function(_52,_53,_54){ +with(_52){ +} +}),new objj_method(sel_getUid("orderOut:"),function(_55,_56,_57){ +with(_55){ +if(objj_msgSend(_55,"_sharesChromeWithPlatformWindow")){ +objj_msgSend(_platformWindow,"orderOut:",_55); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowWillClose:"))){ +objj_msgSend(_delegate,"windowWillClose:",_55); +} +objj_msgSend(_platformWindow,"order:window:relativeTo:",CPWindowOut,_55,nil); +objj_msgSend(_55,"_updateMainAndKeyWindows"); +} +}),new objj_method(sel_getUid("orderWindow:relativeTo:"),function(_58,_59,_5a,_5b){ +with(_58){ +objj_msgSend(_platformWindow,"order:window:relativeTo:",_5a,_58,CPApp._windows[_5b]); +} +}),new objj_method(sel_getUid("setLevel:"),function(_5c,_5d,_5e){ +with(_5c){ +if(_5e===_level){ +return; +} +objj_msgSend(_platformWindow,"moveWindow:fromLevel:toLevel:",_5c,_level,_5e); +_level=_5e; +if(objj_msgSend(_5c,"_sharesChromeWithPlatformWindow")){ +objj_msgSend(_platformWindow,"setLevel:",_5e); +} +} +}),new objj_method(sel_getUid("level"),function(_5f,_60){ +with(_5f){ +return _level; +} +}),new objj_method(sel_getUid("isVisible"),function(_61,_62){ +with(_61){ +return _isVisible; +} +}),new objj_method(sel_getUid("showsResizeIndicator"),function(_63,_64){ +with(_63){ +return _showsResizeIndicator; +} +}),new objj_method(sel_getUid("setShowsResizeIndicator:"),function(_65,_66,_67){ +with(_65){ +_67=!!_67; +if(_showsResizeIndicator===_67){ +return; +} +_showsResizeIndicator=_67; +objj_msgSend(_windowView,"setShowsResizeIndicator:",objj_msgSend(_65,"showsResizeIndicator")); +} +}),new objj_method(sel_getUid("resizeIndicatorOffset"),function(_68,_69){ +with(_68){ +return objj_msgSend(_windowView,"resizeIndicatorOffset"); +} +}),new objj_method(sel_getUid("setResizeIndicatorOffset:"),function(_6a,_6b,_6c){ +with(_6a){ +objj_msgSend(_windowView,"setResizeIndicatorOffset:",_6c); +} +}),new objj_method(sel_getUid("setContentView:"),function(_6d,_6e,_6f){ +with(_6d){ +if(_contentView){ +objj_msgSend(_contentView,"removeFromSuperview"); +} +var _70=CGRectMake(0,0,CGRectGetWidth(_frame),CGRectGetHeight(_frame)); +_contentView=_6f; +objj_msgSend(_contentView,"setFrame:",objj_msgSend(_6d,"contentRectForFrameRect:",_70)); +objj_msgSend(_contentView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_windowView,"addSubview:",_contentView); +} +}),new objj_method(sel_getUid("contentView"),function(_71,_72){ +with(_71){ +return _contentView; +} +}),new objj_method(sel_getUid("setBackgroundColor:"),function(_73,_74,_75){ +with(_73){ +objj_msgSend(_windowView,"setBackgroundColor:",_75); +} +}),new objj_method(sel_getUid("backgroundColor"),function(_76,_77){ +with(_76){ +return objj_msgSend(_windowView,"backgroundColor"); +} +}),new objj_method(sel_getUid("setMinSize:"),function(_78,_79,_7a){ +with(_78){ +if(CGSizeEqualToSize(_minSize,_7a)){ +return; +} +_minSize=CGSizeCreateCopy(_7a); +var _7b=CGSizeMakeCopy(objj_msgSend(_78,"frame").size),_7c=NO; +if(_7b.width<_minSize.width){ +_7b.width=_minSize.width; +_7c=YES; +} +if(_7b.height<_minSize.height){ +_7b.height=_minSize.height; +_7c=YES; +} +if(_7c){ +objj_msgSend(_78,"setFrameSize:",_7b); +} +} +}),new objj_method(sel_getUid("minSize"),function(_7d,_7e){ +with(_7d){ +return _minSize; +} +}),new objj_method(sel_getUid("setMaxSize:"),function(_7f,_80,_81){ +with(_7f){ +if(CGSizeEqualToSize(_maxSize,_81)){ +return; +} +_maxSize=CGSizeCreateCopy(_81); +var _82=CGSizeMakeCopy(objj_msgSend(_7f,"frame").size),_83=NO; +if(_82.width>_maxSize.width){ +_82.width=_maxSize.width; +_83=YES; +} +if(_82.height>_maxSize.height){ +_82.height=_maxSize.height; +_83=YES; +} +if(_83){ +objj_msgSend(_7f,"setFrameSize:",_82); +} +} +}),new objj_method(sel_getUid("maxSize"),function(_84,_85){ +with(_84){ +return _maxSize; +} +}),new objj_method(sel_getUid("hasShadow"),function(_86,_87){ +with(_86){ +return _hasShadow; +} +}),new objj_method(sel_getUid("_updateShadow"),function(_88,_89){ +with(_88){ +if(objj_msgSend(_88,"_sharesChromeWithPlatformWindow")){ +if(_shadowView){ +_DOMElement.removeChild(_shadowView._DOMElement); +_shadowView=nil; +} +objj_msgSend(_platformWindow,"setHasShadow:",_hasShadow); +return; +} +if(_hasShadow&&!_shadowView){ +var _8a=objj_msgSend(_windowView,"bounds"); +_shadowView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(-_1,-_3+_5,_1+CGRectGetWidth(_8a)+_2,_3+CGRectGetHeight(_8a)+_4)); +if(!_6){ +var _8b=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")); +_6=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow0.png"),CGSizeMake(20,19)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow1.png"),CGSizeMake(1,19)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow2.png"),CGSizeMake(19,19)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow3.png"),CGSizeMake(20,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow5.png"),CGSizeMake(19,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow6.png"),CGSizeMake(20,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow7.png"),CGSizeMake(1,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8b,"pathForResource:","CPWindow/CPWindowShadow8.png"),CGSizeMake(19,18))])); +} +objj_msgSend(_shadowView,"setBackgroundColor:",_6); +objj_msgSend(_shadowView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_DOMElement.insertBefore(_shadowView._DOMElement,_windowView._DOMElement); +}else{ +if(!_hasShadow&&_shadowView){ +_DOMElement.removeChild(_shadowView._DOMElement); +_shadowView=nil; +} +} +} +}),new objj_method(sel_getUid("setHasShadow:"),function(_8c,_8d,_8e){ +with(_8c){ +if(_hasShadow===_8e){ +return; +} +_hasShadow=_8e; +objj_msgSend(_8c,"_updateShadow"); +} +}),new objj_method(sel_getUid("setShadowStyle:"),function(_8f,_90,_91){ +with(_8f){ +_shadowStyle=_91; +objj_msgSend(objj_msgSend(_8f,"platformWindow"),"setShadowStyle:",_shadowStyle); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_92,_93,_94){ +with(_92){ +var _95=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_95,"removeObserver:name:object:",_delegate,CPWindowDidResignKeyNotification,_92); +objj_msgSend(_95,"removeObserver:name:object:",_delegate,CPWindowDidBecomeKeyNotification,_92); +objj_msgSend(_95,"removeObserver:name:object:",_delegate,CPWindowDidBecomeMainNotification,_92); +objj_msgSend(_95,"removeObserver:name:object:",_delegate,CPWindowDidResignMainNotification,_92); +objj_msgSend(_95,"removeObserver:name:object:",_delegate,CPWindowDidMoveNotification,_92); +objj_msgSend(_95,"removeObserver:name:object:",_delegate,CPWindowDidResizeNotification,_92); +_delegate=_94; +_delegateRespondsToWindowWillReturnUndoManagerSelector=objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowWillReturnUndoManager:")); +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidResignKey:"))){ +objj_msgSend(_95,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidResignKey:"),CPWindowDidResignKeyNotification,_92); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidBecomeKey:"))){ +objj_msgSend(_95,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidBecomeKey:"),CPWindowDidBecomeKeyNotification,_92); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidBecomeMain:"))){ +objj_msgSend(_95,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidBecomeMain:"),CPWindowDidBecomeMainNotification,_92); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidResignMain:"))){ +objj_msgSend(_95,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidResignMain:"),CPWindowDidResignMainNotification,_92); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidMove:"))){ +objj_msgSend(_95,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidMove:"),CPWindowDidMoveNotification,_92); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidResize:"))){ +objj_msgSend(_95,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidResize:"),CPWindowDidResizeNotification,_92); +} +} +}),new objj_method(sel_getUid("delegate"),function(_96,_97){ +with(_96){ +return _delegate; +} +}),new objj_method(sel_getUid("setWindowController:"),function(_98,_99,_9a){ +with(_98){ +_windowController=_9a; +} +}),new objj_method(sel_getUid("windowController"),function(_9b,_9c){ +with(_9b){ +return _windowController; +} +}),new objj_method(sel_getUid("doCommandBySelector:"),function(_9d,_9e,_9f){ +with(_9d){ +if(objj_msgSend(_delegate,"respondsToSelector:",_9f)){ +objj_msgSend(_delegate,"performSelector:",_9f); +}else{ +objj_msgSendSuper({receiver:_9d,super_class:objj_getClass("CPWindow").super_class},"doCommandBySelector:",_9f); +} +} +}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_a0,_a1){ +with(_a0){ +return YES; +} +}),new objj_method(sel_getUid("makeFirstResponder:"),function(_a2,_a3,_a4){ +with(_a2){ +if(_firstResponder==_a4){ +return YES; +} +if(!objj_msgSend(_firstResponder,"resignFirstResponder")){ +return NO; +} +if(!_a4||!objj_msgSend(_a4,"acceptsFirstResponder")||!objj_msgSend(_a4,"becomeFirstResponder")){ +_firstResponder=_a2; +return NO; +} +_firstResponder=_a4; +return YES; +} +}),new objj_method(sel_getUid("firstResponder"),function(_a5,_a6){ +with(_a5){ +return _firstResponder; +} +}),new objj_method(sel_getUid("acceptsMouseMovedEvents"),function(_a7,_a8){ +with(_a7){ +return _acceptsMouseMovedEvents; +} +}),new objj_method(sel_getUid("setAcceptsMouseMovedEvents:"),function(_a9,_aa,_ab){ +with(_a9){ +_acceptsMouseMovedEvents=_ab; +} +}),new objj_method(sel_getUid("ignoresMouseEvents"),function(_ac,_ad){ +with(_ac){ +return _ignoresMouseEvents; +} +}),new objj_method(sel_getUid("setIgnoresMouseEvents:"),function(_ae,_af,_b0){ +with(_ae){ +_ignoresMouseEvents=_b0; +} +}),new objj_method(sel_getUid("title"),function(_b1,_b2){ +with(_b1){ +return _title; +} +}),new objj_method(sel_getUid("setTitle:"),function(_b3,_b4,_b5){ +with(_b3){ +_title=_b5; +objj_msgSend(_windowView,"setTitle:",_b5); +objj_msgSend(_b3,"_synchronizeMenuBarTitleWithWindowTitle"); +} +}),new objj_method(sel_getUid("setTitleWithRepresentedFilename:"),function(_b6,_b7,_b8){ +with(_b6){ +objj_msgSend(_b6,"setRepresentedFilename:",_b8); +objj_msgSend(_b6,"setTitle:",objj_msgSend(_b8,"lastPathComponent")); +} +}),new objj_method(sel_getUid("setRepresentedFilename:"),function(_b9,_ba,_bb){ +with(_b9){ +objj_msgSend(_b9,"setRepresentedURL:",_bb); +} +}),new objj_method(sel_getUid("representedFilename"),function(_bc,_bd){ +with(_bc){ +return _representedURL; +} +}),new objj_method(sel_getUid("setRepresentedURL:"),function(_be,_bf,_c0){ +with(_be){ +_representedURL=_c0; +} +}),new objj_method(sel_getUid("representedURL"),function(_c1,_c2){ +with(_c1){ +return _representedURL; +} +}),new objj_method(sel_getUid("screen"),function(_c3,_c4){ +with(_c3){ +return objj_msgSend(objj_msgSend(CPScreen,"alloc"),"init"); +} +}),new objj_method(sel_getUid("setMovableByWindowBackground:"),function(_c5,_c6,_c7){ +with(_c5){ +_isMovableByWindowBackground=_c7; +} +}),new objj_method(sel_getUid("isMovableByWindowBackground"),function(_c8,_c9){ +with(_c8){ +return _isMovableByWindowBackground; +} +}),new objj_method(sel_getUid("center"),function(_ca,_cb){ +with(_ca){ +var _cc=objj_msgSend(_ca,"frame").size,_cd=objj_msgSend(CPPlatform,"isBrowser")?objj_msgSend(_platformWindow,"contentBounds").size:objj_msgSend(objj_msgSend(_ca,"screen"),"visibleFrame").size; +objj_msgSend(_ca,"setFrameOrigin:",CGPointMake((_cd.width-_cc.width)/2,(_cd.height-_cc.height)/2)); +} +}),new objj_method(sel_getUid("sendEvent:"),function(_ce,_cf,_d0){ +with(_ce){ +var _d1=objj_msgSend(_d0,"type"),_d2=objj_msgSend(_d0,"locationInWindow"); +switch(_d1){ +case CPKeyUp: +return objj_msgSend(objj_msgSend(_ce,"firstResponder"),"keyUp:",_d0); +case CPKeyDown: +return objj_msgSend(objj_msgSend(_ce,"firstResponder"),"keyDown:",_d0); +case CPScrollWheel: +return objj_msgSend(objj_msgSend(_windowView,"hitTest:",_d2),"scrollWheel:",_d0); +case CPLeftMouseUp: +if(!_leftMouseDownView){ +return objj_msgSend(objj_msgSend(_windowView,"hitTest:",_d2),"mouseUp:",_d0); +} +objj_msgSend(_leftMouseDownView,"mouseUp:",_d0); +_leftMouseDownView=nil; +return; +case CPLeftMouseDown: +_leftMouseDownView=objj_msgSend(_windowView,"hitTest:",_d2); +if(_leftMouseDownView!=_firstResponder&&objj_msgSend(_leftMouseDownView,"acceptsFirstResponder")){ +objj_msgSend(_ce,"makeFirstResponder:",_leftMouseDownView); +} +objj_msgSend(CPApp,"activateIgnoringOtherApps:",YES); +var _d3=objj_msgSend(_d0,"window"); +if(objj_msgSend(_d3,"isKeyWindow")||objj_msgSend(_d3,"becomesKeyOnlyIfNeeded")&&!objj_msgSend(_leftMouseDownView,"needsPanelToBecomeKey")){ +return objj_msgSend(_leftMouseDownView,"mouseDown:",_d0); +}else{ +objj_msgSend(_ce,"makeKeyAndOrderFront:",_ce); +if(objj_msgSend(_leftMouseDownView,"acceptsFirstMouse:",_d0)){ +return objj_msgSend(_leftMouseDownView,"mouseDown:",_d0); +} +} +break; +case CPLeftMouseDragged: +if(!_leftMouseDownView){ +return objj_msgSend(objj_msgSend(_windowView,"hitTest:",_d2),"mouseDragged:",_d0); +} +return objj_msgSend(_leftMouseDownView,"mouseDragged:",_d0); +case CPRightMouseUp: +return objj_msgSend(_rightMouseDownView,"mouseUp:",_d0); +case CPRightMouseDown: +_rightMouseDownView=objj_msgSend(_windowView,"hitTest:",_d2); +return objj_msgSend(_rightMouseDownView,"mouseDown:",_d0); +case CPRightMouseDragged: +return objj_msgSend(_rightMouseDownView,"mouseDragged:",_d0); +case CPMouseMoved: +if(!_acceptsMouseMovedEvents){ +return; +} +if(!_mouseEnteredStack){ +_mouseEnteredStack=[]; +} +var _d4=objj_msgSend(_windowView,"hitTest:",_d2); +if(objj_msgSend(_mouseEnteredStack,"count")&&objj_msgSend(_mouseEnteredStack,"lastObject")===_d4){ +return objj_msgSend(_d4,"mouseMoved:",_d0); +} +var _d5=_d4,_d6=[]; +while(_d5){ +_d6.unshift(_d5); +_d5=objj_msgSend(_d5,"superview"); +} +var _d7=MIN(_mouseEnteredStack.length,_d6.length); +while(_d7--){ +if(_mouseEnteredStack[_d7]===_d6[_d7]){ +break; +} +} +var _d8=_d7+1,_d9=_mouseEnteredStack.length; +if(_d8<_d9){ +var _da=objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPMouseExited,_d2,objj_msgSend(_d0,"modifierFlags"),objj_msgSend(_d0,"timestamp"),_windowNumber,nil,-1,1,0); +for(;_d8<_d9;++_d8){ +objj_msgSend(_mouseEnteredStack[_d8],"mouseExited:",_da); +} +} +_d8=_d7+1; +_d9=_d6.length; +if(_d8<_d9){ +var _da=objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPMouseEntered,_d2,objj_msgSend(_d0,"modifierFlags"),objj_msgSend(_d0,"timestamp"),_windowNumber,nil,-1,1,0); +for(;_d8<_d9;++_d8){ +objj_msgSend(_d6[_d8],"mouseEntered:",_da); +} +} +_mouseEnteredStack=_d6; +objj_msgSend(_d4,"mouseMoved:",_d0); +} +} +}),new objj_method(sel_getUid("windowNumber"),function(_db,_dc){ +with(_db){ +return _windowNumber; +} +}),new objj_method(sel_getUid("becomeKeyWindow"),function(_dd,_de){ +with(_dd){ +CPApp._keyWindow=_dd; +if(_firstResponder!==_dd&&objj_msgSend(_firstResponder,"respondsToSelector:",sel_getUid("becomeKeyWindow"))){ +objj_msgSend(_firstResponder,"becomeKeyWindow"); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidBecomeKeyNotification,_dd); +} +}),new objj_method(sel_getUid("canBecomeKeyWindow"),function(_df,_e0){ +with(_df){ +return YES; +} +}),new objj_method(sel_getUid("isKeyWindow"),function(_e1,_e2){ +with(_e1){ +return objj_msgSend(CPApp,"keyWindow")==_e1; +} +}),new objj_method(sel_getUid("makeKeyAndOrderFront:"),function(_e3,_e4,_e5){ +with(_e3){ +objj_msgSend(_e3,"orderFront:",_e3); +objj_msgSend(_e3,"makeKeyWindow"); +objj_msgSend(_e3,"makeMainWindow"); +} +}),new objj_method(sel_getUid("makeKeyWindow"),function(_e6,_e7){ +with(_e6){ +if(objj_msgSend(CPApp,"keyWindow")===_e6||!objj_msgSend(_e6,"canBecomeKeyWindow")){ +return; +} +objj_msgSend(objj_msgSend(CPApp,"keyWindow"),"resignKeyWindow"); +objj_msgSend(_e6,"becomeKeyWindow"); +} +}),new objj_method(sel_getUid("resignKeyWindow"),function(_e8,_e9){ +with(_e8){ +if(_firstResponder!=_e8&&objj_msgSend(_firstResponder,"respondsToSelector:",sel_getUid("resignKeyWindow"))){ +objj_msgSend(_firstResponder,"resignKeyWindow"); +} +if(CPApp._keyWindow===_e8){ +CPApp._keyWindow=nil; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidResignKeyNotification,_e8); +} +}),new objj_method(sel_getUid("dragImage:at:offset:event:pasteboard:source:slideBack:"),function(_ea,_eb,_ec,_ed,_ee,_ef,_f0,_f1,_f2){ +with(_ea){ +objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:",_ec,_ea,objj_msgSend(_ea,"convertBaseToGlobal:",_ed),_ee,_ef,_f0,_f1,_f2); +} +}),new objj_method(sel_getUid("_noteRegisteredDraggedTypes:"),function(_f3,_f4,_f5){ +with(_f3){ +if(!_f5){ +return; +} +if(!_inclusiveRegisteredDraggedTypes){ +_inclusiveRegisteredDraggedTypes=objj_msgSend(CPCountedSet,"set"); +} +objj_msgSend(_inclusiveRegisteredDraggedTypes,"unionSet:",_f5); +} +}),new objj_method(sel_getUid("_noteUnregisteredDraggedTypes:"),function(_f6,_f7,_f8){ +with(_f6){ +if(!_f8){ +return; +} +objj_msgSend(_inclusiveRegisteredDraggedTypes,"minusSet:",_f8); +if(objj_msgSend(_inclusiveRegisteredDraggedTypes,"count")===0){ +_inclusiveRegisteredDraggedTypes=nil; +} +} +}),new objj_method(sel_getUid("dragView:at:offset:event:pasteboard:source:slideBack:"),function(_f9,_fa,_fb,_fc,_fd,_fe,_ff,_100,_101){ +with(_f9){ +objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"dragView:fromWindow:at:offset:event:pasteboard:source:slideBack:",_fb,_f9,objj_msgSend(_f9,"convertBaseToGlobal:",_fc),_fd,_fe,_ff,_100,_101); +} +}),new objj_method(sel_getUid("registerForDraggedTypes:"),function(self,_102,_103){ +with(self){ +if(!_103){ +return; +} +objj_msgSend(self,"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +objj_msgSend(_registeredDraggedTypes,"addObjectsFromArray:",_103); +objj_msgSend(self,"_noteRegisteredDraggedTypes:",_registeredDraggedTypes); +_registeredDraggedTypesArray=nil; +} +}),new objj_method(sel_getUid("registeredDraggedTypes"),function(self,_104){ +with(self){ +if(!_registeredDraggedTypesArray){ +_registeredDraggedTypesArray=objj_msgSend(_registeredDraggedTypes,"allObjects"); +} +return _registeredDraggedTypesArray; +} +}),new objj_method(sel_getUid("unregisterDraggedTypes"),function(self,_105){ +with(self){ +objj_msgSend(self,"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +} +}),new objj_method(sel_getUid("setDocumentEdited:"),function(self,_106,_107){ +with(self){ +if(_isDocumentEdited==_107){ +return; +} +_isDocumentEdited=_107; +objj_msgSend(CPMenu,"_setMenuBarIconImageAlphaValue:",_isDocumentEdited?0.5:1); +objj_msgSend(_windowView,"setDocumentEdited:",_107); +} +}),new objj_method(sel_getUid("isDocumentEdited"),function(self,_108){ +with(self){ +return _isDocumentEdited; +} +}),new objj_method(sel_getUid("setDocumentSaving:"),function(self,_109,_10a){ +with(self){ +if(_isDocumentSaving==_10a){ +return; +} +_isDocumentSaving=_10a; +objj_msgSend(self,"_synchronizeSaveMenuWithDocumentSaving"); +objj_msgSend(_windowView,"windowDidChangeDocumentSaving"); +} +}),new objj_method(sel_getUid("isDocumentSaving"),function(self,_10b){ +with(self){ +return _isDocumentSaving; +} +}),new objj_method(sel_getUid("_synchronizeSaveMenuWithDocumentSaving"),function(self,_10c){ +with(self){ +if(!objj_msgSend(self,"isMainWindow")){ +return; +} +var _10d=objj_msgSend(CPApp,"mainMenu"),_10e=objj_msgSend(_10d,"indexOfItemWithTitle:",_isDocumentSaving?"Save":"Saving..."); +if(_10e==CPNotFound){ +return; +} +var item=objj_msgSend(_10d,"itemAtIndex:",_10e); +if(_isDocumentSaving){ +_7=objj_msgSend(item,"image"); +objj_msgSend(item,"setTitle:","Saving..."); +objj_msgSend(item,"setImage:",_8); +objj_msgSend(item,"setEnabled:",NO); +}else{ +objj_msgSend(item,"setTitle:","Save"); +objj_msgSend(item,"setImage:",_7); +objj_msgSend(item,"setEnabled:",YES); +} +} +}),new objj_method(sel_getUid("performMiniaturize:"),function(self,_10f,_110){ +with(self){ +objj_msgSend(self,"miniaturize:",_110); +} +}),new objj_method(sel_getUid("miniaturize:"),function(self,_111,_112){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowWillMiniaturizeNotification,self); +objj_msgSend(objj_msgSend(self,"platformWindow"),"miniaturize:",_112); +objj_msgSend(self,"_updateMainAndKeyWindows"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidMiniaturizeNotification,self); +_isMiniaturized=YES; +} +}),new objj_method(sel_getUid("deminiaturize:"),function(self,_113,_114){ +with(self){ +objj_msgSend(objj_msgSend(self,"platformWindow"),"deminiaturize:",_114); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidDeminiaturizeNotification,self); +_isMiniaturized=NO; +} +}),new objj_method(sel_getUid("isMiniaturized"),function(self,_115){ +with(self){ +return _isMiniaturized; +} +}),new objj_method(sel_getUid("performClose:"),function(self,_116,_117){ +with(self){ +if(!(_styleMask&CPClosableWindowMask)){ +return; +} +if(objj_msgSend(self,"isFullBridge")){ +var _118=objj_msgSend(CPApp,"currentEvent"); +if(objj_msgSend(_118,"type")===CPKeyDown&&objj_msgSend(_118,"characters")==="w"&&(objj_msgSend(_118,"modifierFlags")&CPPlatformActionKeyMask)){ +objj_msgSend(objj_msgSend(self,"platformWindow"),"_propagateCurrentDOMEvent:",YES); +return; +} +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowShouldClose:"))){ +if(!objj_msgSend(_delegate,"windowShouldClose:",self)){ +return; +} +}else{ +if(objj_msgSend(self,"respondsToSelector:",sel_getUid("windowShouldClose:"))&&!objj_msgSend(self,"windowShouldClose:",self)){ +return; +} +} +var _119=objj_msgSend(_windowController,"documents"); +if(objj_msgSend(_119,"count")){ +var _11a=objj_msgSend(_119,"indexOfObject:",objj_msgSend(_windowController,"document")); +objj_msgSend(_119[_11a],"shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:",_windowController,self,sel_getUid("_windowControllerContainingDocument:shouldClose:contextInfo:"),{documents:objj_msgSend(_119,"copy"),visited:0,index:_11a}); +}else{ +objj_msgSend(self,"close"); +} +} +}),new objj_method(sel_getUid("_windowControllerContainingDocument:shouldClose:contextInfo:"),function(self,_11b,_11c,_11d,_11e){ +with(self){ +if(_11d){ +var _11f=objj_msgSend(self,"windowController"),_120=_11e.documents,_121=objj_msgSend(_120,"count"),_122=++_11e.visited,_123=++_11e.index%_121; +objj_msgSend(_11c,"removeWindowController:",_11f); +if(_122<_121){ +objj_msgSend(_11f,"setDocument:",_120[_123]); +objj_msgSend(_120[_123],"shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:",_windowController,self,sel_getUid("_windowControllerContainingDocument:shouldClose:contextInfo:"),_11e); +}else{ +objj_msgSend(self,"close"); +} +} +} +}),new objj_method(sel_getUid("close"),function(self,_124){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowWillCloseNotification,self); +objj_msgSend(self,"orderOut:",nil); +} +}),new objj_method(sel_getUid("isMainWindow"),function(self,_125){ +with(self){ +return objj_msgSend(CPApp,"mainWindow")==self; +} +}),new objj_method(sel_getUid("canBecomeMainWindow"),function(self,_126){ +with(self){ +if(objj_msgSend(self,"isVisible")){ +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("makeMainWindow"),function(self,_127){ +with(self){ +if(objj_msgSend(CPApp,"mainWindow")===self||!objj_msgSend(self,"canBecomeMainWindow")){ +return; +} +objj_msgSend(objj_msgSend(CPApp,"mainWindow"),"resignMainWindow"); +objj_msgSend(self,"becomeMainWindow"); +} +}),new objj_method(sel_getUid("becomeMainWindow"),function(self,_128){ +with(self){ +CPApp._mainWindow=self; +objj_msgSend(self,"_synchronizeMenuBarTitleWithWindowTitle"); +objj_msgSend(self,"_synchronizeSaveMenuWithDocumentSaving"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidBecomeMainNotification,self); +} +}),new objj_method(sel_getUid("resignMainWindow"),function(self,_129){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidResignMainNotification,self); +if(CPApp._mainWindow===self){ +CPApp._mainWindow=nil; +} +} +}),new objj_method(sel_getUid("_updateMainAndKeyWindows"),function(self,_12a){ +with(self){ +var _12b=objj_msgSend(CPApp,"orderedWindows"),_12c=objj_msgSend(_12b,"count"); +if(objj_msgSend(self,"isKeyWindow")){ +var _12d=objj_msgSend(CPApp,"keyWindow"); +objj_msgSend(self,"resignKeyWindow"); +if(_12d&&_12d!==self&&objj_msgSend(_12d,"canBecomeKeyWindow")){ +objj_msgSend(_12d,"makeKeyWindow"); +}else{ +var _12e=objj_msgSend(CPApp,"mainMenu")._menuWindow; +for(var i=0;i<_12c;i++){ +var _12f=_12b[i]; +if(_12f===self||_12f===_12e){ +continue; +} +if(objj_msgSend(_12f,"isVisible")&&objj_msgSend(_12f,"canBecomeKeyWindow")){ +objj_msgSend(_12f,"makeKeyWindow"); +break; +} +} +if(!objj_msgSend(CPApp,"keyWindow")){ +objj_msgSend(_12e,"makeKeyWindow"); +} +} +} +if(objj_msgSend(self,"isMainWindow")){ +var _130=objj_msgSend(CPApp,"mainWindow"); +objj_msgSend(self,"resignMainWindow"); +if(_130&&_130!==self&&objj_msgSend(_130,"canBecomeMainWindow")){ +objj_msgSend(_130,"makeMainWindow"); +}else{ +var _12e=objj_msgSend(CPApp,"mainMenu")._menuWindow; +for(var i=0;i<_12c;i++){ +var _12f=_12b[i]; +if(_12f===self||_12f===_12e){ +continue; +} +if(objj_msgSend(_12f,"isVisible")&&objj_msgSend(_12f,"canBecomeMainWindow")){ +objj_msgSend(_12f,"makeMainWindow"); +break; +} +} +} +} +} +}),new objj_method(sel_getUid("toolbar"),function(self,_131){ +with(self){ +return _toolbar; +} +}),new objj_method(sel_getUid("setToolbar:"),function(self,_132,_133){ +with(self){ +if(_toolbar===_133){ +return; +} +objj_msgSend(objj_msgSend(_133,"_window"),"setToolbar:",nil); +objj_msgSend(_toolbar,"_setWindow:",nil); +_toolbar=_133; +objj_msgSend(_toolbar,"_setWindow:",self); +objj_msgSend(self,"_noteToolbarChanged"); +} +}),new objj_method(sel_getUid("toggleToolbarShown:"),function(self,_134,_135){ +with(self){ +var _136=objj_msgSend(self,"toolbar"); +objj_msgSend(_136,"setVisible:",!objj_msgSend(_136,"isVisible")); +} +}),new objj_method(sel_getUid("_noteToolbarChanged"),function(self,_137){ +with(self){ +var _138=CGRectMakeCopy(objj_msgSend(self,"frame")),_139; +objj_msgSend(_windowView,"noteToolbarChanged"); +if(_isFullPlatformWindow){ +_139=objj_msgSend(_platformWindow,"visibleFrame"); +}else{ +_139=CGRectMakeCopy(objj_msgSend(self,"frame")); +_139.origin=_138.origin; +} +objj_msgSend(self,"setFrame:",_139); +} +}),new objj_method(sel_getUid("_setFrame:delegate:duration:curve:"),function(self,_13a,_13b,_13c,_13d,_13e){ +with(self){ +var _13f=objj_msgSend(objj_msgSend(_CPWindowFrameAnimation,"alloc"),"initWithWindow:targetFrame:",self,_13b); +objj_msgSend(_13f,"setDelegate:",_13c); +objj_msgSend(_13f,"setAnimationCurve:",_13e); +objj_msgSend(_13f,"setDuration:",_13d); +objj_msgSend(_13f,"startAnimation"); +} +}),new objj_method(sel_getUid("_setAttachedSheetFrameOrigin"),function(self,_140){ +with(self){ +var _141=objj_msgSend(self,"attachedSheet"); +var _142=objj_msgSend(objj_msgSend(self,"contentView"),"frame"),_143=CGRectMakeCopy(objj_msgSend(_141,"frame")); +_143.origin.y=CGRectGetMinY(_frame)+CGRectGetMinY(_142); +_143.origin.x=CGRectGetMinX(_frame)+FLOOR((CGRectGetWidth(_frame)-CGRectGetWidth(_143))/2); +objj_msgSend(_141,"setFrame:display:animate:",_143,YES,NO); +} +}),new objj_method(sel_getUid("_attachSheet:modalDelegate:didEndSelector:contextInfo:"),function(self,_144,_145,_146,_147,_148){ +with(self){ +var _149=objj_msgSend(_145,"frame"); +_sheetContext={"sheet":_145,"modalDelegate":_146,"endSelector":_147,"contextInfo":_148,"frame":CGRectMakeCopy(_149),"returnCode":-1,"opened":NO}; +objj_msgSend(self,"_attachSheetWindow:",_145); +} +}),new objj_method(sel_getUid("_attachSheetWindow:"),function(self,_14a,_14b){ +with(self){ +var _14c=objj_msgSend(_14b,"frame"),_14d=objj_msgSend(self,"frame"),_14e=objj_msgSend(_14b,"contentView"); +objj_msgSend(self,"_setUpMasksForView:",_14e); +_14b._isSheet=YES; +_14b._parentView=self; +var _14f=_14d.origin.x+FLOOR((_14d.size.width-_14c.size.width)/2),_150=_14d.origin.y+objj_msgSend(objj_msgSend(self,"contentView"),"frame").origin.y,_151=CGRectMake(_14f,_150,_14c.size.width,0),_152=CGRectMake(_14f,_150,_14c.size.width,_14c.size.height); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowWillBeginSheetNotification,self); +objj_msgSend(CPApp,"runModalForWindow:",_14b); +objj_msgSend(_14b,"orderFront:",self); +objj_msgSend(_14b,"setFrame:display:animate:",_151,YES,NO); +_sheetContext["opened"]=YES; +objj_msgSend(_14b,"_setFrame:delegate:duration:curve:",_152,self,0.2,CPAnimationEaseOut); +objj_msgSend(_14b,"becomeKeyWindow"); +} +}),new objj_method(sel_getUid("_detachSheetWindow"),function(self,_153){ +with(self){ +var _154=objj_msgSend(self,"attachedSheet"),_155=objj_msgSend(_154,"frame"),_156=CGRectMakeCopy(_155); +_156.size.height=0; +_sheetContext["frame"]=_155; +var _157=objj_msgSend(_154,"contentView"); +objj_msgSend(self,"_setUpMasksForView:",_157); +_sheetContext["opened"]=NO; +objj_msgSend(_154,"_setFrame:delegate:duration:curve:",_156,self,0.2,CPAnimationEaseIn); +} +}),new objj_method(sel_getUid("animationDidEnd:"),function(self,_158,anim){ +with(self){ +var _159=_sheetContext["sheet"]; +if(anim._window!=_159){ +return; +} +var _15a=objj_msgSend(_159,"contentView"); +if(_sheetContext["opened"]===YES){ +objj_msgSend(self,"_restoreMasksForView:",_15a); +return; +} +objj_msgSend(CPApp,"stopModal"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidEndSheetNotification,self); +objj_msgSend(_159,"orderOut:",self); +var _15b=_sheetContext["frame"]; +objj_msgSend(_159,"setFrame:",_15b); +objj_msgSend(self,"_restoreMasksForView:",_15a); +var _15c=_sheetContext["modalDelegate"],_15d=_sheetContext["endSelector"]; +if(_15c!=nil&&_15d!=nil){ +objj_msgSend(_15c,_15d,_159,_sheetContext["returnCode"],_sheetContext["contextInfo"]); +} +_sheetContext=nil; +_159._parentView=nil; +} +}),new objj_method(sel_getUid("_setUpMasksForView:"),function(self,_15e,_15f){ +with(self){ +var _160=objj_msgSend(_15f,"subviews"); +objj_msgSend(_160,"addObject:",_15f); +for(var i=0,_161=objj_msgSend(_160,"count");i<_161;i++){ +var view=objj_msgSend(_160,"objectAtIndex:",i),mask=objj_msgSend(view,"autoresizingMask"),_162=(mask&CPViewMinYMargin)?128:CPViewMinYMargin; +objj_msgSend(view,"setAutoresizingMask:",(mask|_162)); +} +} +}),new objj_method(sel_getUid("_restoreMasksForView:"),function(self,_163,_164){ +with(self){ +var _165=objj_msgSend(_164,"subviews"); +objj_msgSend(_165,"addObject:",_164); +for(var i=0,_166=objj_msgSend(_165,"count");i<_166;i++){ +var view=objj_msgSend(_165,"objectAtIndex:",i),mask=objj_msgSend(view,"autoresizingMask"),_167=(mask&128)?128:CPViewMinYMargin; +objj_msgSend(view,"setAutoresizingMask:",(mask&(~_167))); +} +} +}),new objj_method(sel_getUid("attachedSheet"),function(self,_168){ +with(self){ +if(_sheetContext===nil){ +return nil; +} +return _sheetContext["sheet"]; +} +}),new objj_method(sel_getUid("isSheet"),function(self,_169){ +with(self){ +return _isSheet; +} +}),new objj_method(sel_getUid("becomesKeyOnlyIfNeeded"),function(self,_16a){ +with(self){ +return NO; +} +}),new objj_method(sel_getUid("worksWhenModal"),function(self,_16b){ +with(self){ +return NO; +} +}),new objj_method(sel_getUid("performKeyEquivalent:"),function(self,_16c,_16d){ +with(self){ +return objj_msgSend(objj_msgSend(self,"contentView"),"performKeyEquivalent:",_16d); +} +}),new objj_method(sel_getUid("keyDown:"),function(self,_16e,_16f){ +with(self){ +if(!objj_msgSend(_16f,"_couldBeKeyEquivalent")||!objj_msgSend(self,"performKeyEquivalent:",_16f)){ +objj_msgSend(self,"interpretKeyEvents:",[_16f]); +} +} +}),new objj_method(sel_getUid("insertNewline:"),function(self,_170,_171){ +with(self){ +if(_defaultButton&&_defaultButtonEnabled){ +objj_msgSend(_defaultButton,"performClick:",nil); +} +} +}),new objj_method(sel_getUid("insertTab:"),function(self,_172,_173){ +with(self){ +objj_msgSend(self,"selectNextKeyView:",nil); +} +}),new objj_method(sel_getUid("_dirtyKeyViewLoop"),function(self,_174){ +with(self){ +if(_autorecalculatesKeyViewLoop){ +_keyViewLoopIsDirty=YES; +} +} +}),new objj_method(sel_getUid("_hasKeyViewLoop"),function(self,_175){ +with(self){ +var _176=[]; +objj_msgSend(self,"_appendSubviewsOf:toArray:",_contentView,_176); +for(var i=0,_177=objj_msgSend(_176,"count");i<_177;i++){ +if(_176[i]._nextKeyView){ +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("recalculateKeyViewLoop"),function(self,_178){ +with(self){ +var _179=[]; +objj_msgSend(self,"_appendSubviewsOf:toArray:",_contentView,_179); +var _17a=objj_msgSend(_179,"sortedArrayUsingFunction:context:",_17b,_contentView),_17c=objj_msgSend(_17a,"count"); +for(var i=0;i<_17c;i++){ +objj_msgSend(_17a[i],"setNextKeyView:",_17a[(i+1)%_17c]); +} +_keyViewLoopIsDirty=NO; +} +}),new objj_method(sel_getUid("_appendSubviewsOf:toArray:"),function(self,_17d,_17e,_17f){ +with(self){ +var _180=objj_msgSend(_17e,"subviews"),_181=objj_msgSend(_180,"count"); +while(_181--){ +objj_msgSend(self,"_appendSubviewsOf:toArray:",_180[_181],_17f); +} +objj_msgSend(_17f,"addObject:",_17e); +} +}),new objj_method(sel_getUid("setAutorecalculatesKeyViewLoop:"),function(self,_182,_183){ +with(self){ +if(_autorecalculatesKeyViewLoop===_183){ +return; +} +_autorecalculatesKeyViewLoop=_183; +if(_keyViewLoopIsDirty){ +objj_msgSend(self,"recalculateKeyViewLoop"); +}else{ +if(_autorecalculatesKeyViewLoop){ +objj_msgSend(self,"_dirtyKeyViewLoop"); +} +} +} +}),new objj_method(sel_getUid("autorecalculatesKeyViewLoop"),function(self,_184){ +with(self){ +return _autorecalculatesKeyViewLoop; +} +}),new objj_method(sel_getUid("selectNextKeyView:"),function(self,_185,_186){ +with(self){ +if(objj_msgSend(_firstResponder,"isKindOfClass:",objj_msgSend(CPView,"class"))){ +objj_msgSend(self,"selectKeyViewFollowingView:",_firstResponder); +} +} +}),new objj_method(sel_getUid("selectPreviousKeyView:"),function(self,_187,_188){ +with(self){ +if(objj_msgSend(_firstResponder,"isKindOfClass:",objj_msgSend(CPView,"class"))){ +objj_msgSend(self,"selectKeyViewPrecedingView:",_firstResponder); +} +} +}),new objj_method(sel_getUid("selectKeyViewFollowingView:"),function(self,_189,_18a){ +with(self){ +if(_keyViewLoopIsDirty){ +objj_msgSend(self,"recalculateKeyViewLoop"); +} +objj_msgSend(self,"makeFirstResponder:",objj_msgSend(_18a,"nextValidKeyView")); +} +}),new objj_method(sel_getUid("selectKeyViewPrecedingView:"),function(self,_18b,_18c){ +with(self){ +if(_keyViewLoopIsDirty){ +objj_msgSend(self,"recalculateKeyViewLoop"); +} +objj_msgSend(self,"makeFirstResponder:",objj_msgSend(_18c,"previousValidKeyView")); +} +}),new objj_method(sel_getUid("setDefaultButtonCell:"),function(self,_18d,_18e){ +with(self){ +objj_msgSend(self,"setDefaultButton:",_18e); +} +}),new objj_method(sel_getUid("defaultButtonCell"),function(self,_18f){ +with(self){ +return objj_msgSend(self,"defaultButton"); +} +}),new objj_method(sel_getUid("setDefaultButton:"),function(self,_190,_191){ +with(self){ +objj_msgSend(_defaultButton,"setDefaultButton:",NO); +_defaultButton=_191; +objj_msgSend(_defaultButton,"setDefaultButton:",YES); +} +}),new objj_method(sel_getUid("defaultButton"),function(self,_192){ +with(self){ +return _defaultButton; +} +}),new objj_method(sel_getUid("enableKeyEquivalentForDefaultButton"),function(self,_193){ +with(self){ +_defaultButtonEnabled=YES; +} +}),new objj_method(sel_getUid("enableKeyEquivalentForDefaultButtonCell"),function(self,_194){ +with(self){ +objj_msgSend(self,"enableKeyEquivalentForDefaultButton"); +} +}),new objj_method(sel_getUid("disableKeyEquivalentForDefaultButton"),function(self,_195){ +with(self){ +_defaultButtonEnabled=NO; +} +}),new objj_method(sel_getUid("disableKeyEquivalentForDefaultButtonCell"),function(self,_196){ +with(self){ +objj_msgSend(self,"disableKeyEquivalentForDefaultButton"); +} +})]); +class_addMethods(_a,[new objj_method(sel_getUid("initialize"),function(self,_197){ +with(self){ +if(self!=objj_msgSend(CPWindow,"class")){ +return; +} +var _198=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")); +_8=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_198,"pathForResource:","CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif"),CGSizeMake(16,16)); +} +}),new objj_method(sel_getUid("_windowViewClassForStyleMask:"),function(self,_199,_19a){ +with(self){ +if(_19a&CPHUDBackgroundWindowMask){ +return _CPHUDWindowView; +}else{ +if(_19a===CPBorderlessWindowMask){ +return _CPBorderlessWindowView; +}else{ +if(_19a&CPDocModalWindowMask){ +return _CPDocModalWindowView; +} +} +} +return _CPStandardWindowView; +} +}),new objj_method(sel_getUid("_windowViewClassForFullPlatformWindowStyleMask:"),function(self,_19b,_19c){ +with(self){ +return _CPBorderlessBridgeWindowView; +} +}),new objj_method(sel_getUid("frameRectForContentRect:styleMask:"),function(self,_19d,_19e,_19f){ +with(self){ +return objj_msgSend(objj_msgSend(objj_msgSend(self,"class"),"_windowViewClassForStyleMask:",_19f),"frameRectForContentRect:",_19e); +} +})]); +var _17b=function(a,b,_1a0){ +var _1a1=objj_msgSend(a,"convertRect:toView:",objj_msgSend(a,"bounds"),nil),_1a2=objj_msgSend(b,"convertRect:toView:",objj_msgSend(b,"bounds"),nil); +if(CGRectGetMinY(_1a1)"+""); +_14.close(); +var _15=_14.createElement("div"); +_15.style.position="absolute"; +_15.style.width="100000px"; +_14.body.appendChild(_15); +_b=_14.createElement("span"); +_12=_b.style; +_12.position="absolute"; +_12.visibility="visible"; +_12.padding="0px"; +_12.margin="0px"; +_12.whiteSpace="pre"; +_a=_14.createElement("span"); +_12=_a.style; +_12.display="block"; +_12.position="absolute"; +_12.visibility="visible"; +_12.padding="0px"; +_12.margin="0px"; +_12.width="1px"; +_12.wordWrap="break-word"; +try{ +_12.whiteSpace="pre"; +_12.whiteSpace="-o-pre-wrap"; +_12.whiteSpace="-pre-wrap"; +_12.whiteSpace="-moz-pre-wrap"; +_12.whiteSpace="pre-wrap"; +} +catch(e){ +_12.whiteSpace="pre"; +} +_15.appendChild(_b); +_15.appendChild(_a); +} +}),new objj_method(sel_getUid("sizeOfString:withFont:forWidth:"),function(_16,_17,_18,_19,_1a){ +with(_16){ +if(!_19){ +if(!_d){ +_d=objj_msgSend(CPFont,"systemFontOfSize:",12); +} +_19=_d; +} +if(!_c){ +objj_msgSend(_16,"createDOMElements"); +} +var _1b; +if(!_1a){ +_1b=_b; +}else{ +_1b=_a; +_1b.style.width=ROUND(_1a)+"px"; +} +_1b.style.font=objj_msgSend(_19,"cssString"); +if(CPFeatureIsCompatible(CPJavascriptInnerTextFeature)){ +_1b.innerText=_18; +}else{ +if(CPFeatureIsCompatible(CPJavascriptTextContentFeature)){ +_1b.textContent=_18; +} +} +return {width:_1b.clientWidth,height:_1b.clientHeight}; +} +})]); +p;18;CPPlatformWindow.jt;5267;@STATIC;1.0;I;21;Foundation/CPObject.ji;22;CPPlatformWindow+DOM.jt;5195; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=NULL; +var _2=objj_allocateClassPair(CPObject,"CPPlatformWindow"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_contentRect"),new objj_ivar("_level"),new objj_ivar("_hasShadow"),new objj_ivar("_shadowStyle"),new objj_ivar("_DOMWindow"),new objj_ivar("_DOMBodyElement"),new objj_ivar("_DOMFocusElement"),new objj_ivar("_windowLevels"),new objj_ivar("_windowLayers"),new objj_ivar("_mouseIsDown"),new objj_ivar("_mouseDownWindow"),new objj_ivar("_lastMouseUp"),new objj_ivar("_lastMouseDown"),new objj_ivar("_charCodes"),new objj_ivar("_keyCode"),new objj_ivar("_lastKey"),new objj_ivar("_capsLockActive"),new objj_ivar("_ignoreNativeCopyOrCutEvent"),new objj_ivar("_ignoreNativePastePreparation"),new objj_ivar("_DOMEventMode"),new objj_ivar("_DOMPasteboardElement"),new objj_ivar("_pasteboardKeyDownEvent"),new objj_ivar("_overriddenEventType")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithContentRect:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPPlatformWindow").super_class},"init"); +if(_4){ +_contentRect={origin:{x:_6.origin.x,y:_6.origin.y},size:{width:_6.size.width,height:_6.size.height}}; +_windowLevels=[]; +_windowLayers=objj_msgSend(CPDictionary,"dictionary"); +_charCodes={}; +} +return _4; +} +}),new objj_method(sel_getUid("init"),function(_7,_8){ +with(_7){ +return objj_msgSend(_7,"initWithContentRect:",{origin:{x:0,y:0},size:{width:400,height:500}}); +} +}),new objj_method(sel_getUid("contentRect"),function(_9,_a){ +with(_9){ +return {origin:{x:_contentRect.origin.x,y:_contentRect.origin.y},size:{width:_contentRect.size.width,height:_contentRect.size.height}}; +} +}),new objj_method(sel_getUid("contentBounds"),function(_b,_c){ +with(_b){ +var _d=objj_msgSend(_b,"contentRect"); +_d.origin={x:0,y:0}; +return _d; +} +}),new objj_method(sel_getUid("visibleFrame"),function(_e,_f){ +with(_e){ +var _10=objj_msgSend(_e,"contentBounds"); +_10.origin=CGPointMakeZero(); +if(objj_msgSend(CPMenu,"menuBarVisible")&&objj_msgSend(CPPlatformWindow,"primaryPlatformWindow")===_e){ +var _11=objj_msgSend(objj_msgSend(CPApp,"mainMenu"),"menuBarHeight"); +_10.origin.y+=_11; +_10.size.height-=_11; +} +return _10; +} +}),new objj_method(sel_getUid("usableContentFrame"),function(_12,_13){ +with(_12){ +return objj_msgSend(_12,"visibleFrame"); +} +}),new objj_method(sel_getUid("setContentRect:"),function(_14,_15,_16){ +with(_14){ +if(!_16||((_contentRect.origin.x==_16.origin.x&&_contentRect.origin.y==_16.origin.y)&&(_contentRect.size.width==_16.size.width&&_contentRect.size.height==_16.size.height))){ +return; +} +_contentRect={origin:{x:_16.origin.x,y:_16.origin.y},size:{width:_16.size.width,height:_16.size.height}}; +objj_msgSend(_14,"updateNativeContentRect"); +} +}),new objj_method(sel_getUid("updateFromNativeContentRect"),function(_17,_18){ +with(_17){ +objj_msgSend(_17,"setContentRect:",objj_msgSend(_17,"nativeContentRect")); +} +}),new objj_method(sel_getUid("convertBaseToScreen:"),function(_19,_1a,_1b){ +with(_19){ +var _1c=objj_msgSend(_19,"contentRect"); +return {x:_1b.x+(_1c.origin.x),y:_1b.y+(_1c.origin.y)}; +} +}),new objj_method(sel_getUid("convertScreenToBase:"),function(_1d,_1e,_1f){ +with(_1d){ +var _20=objj_msgSend(_1d,"contentRect"); +return {x:_1f.x-(_20.origin.x),y:_1f.y-(_20.origin.y)}; +} +}),new objj_method(sel_getUid("isVisible"),function(_21,_22){ +with(_21){ +return _DOMWindow!==NULL; +} +}),new objj_method(sel_getUid("deminiaturize:"),function(_23,_24,_25){ +with(_23){ +if(_DOMWindow&&typeof _DOMWindow["cpDeminiaturize"]==="function"){ +_DOMWindow.cpDeminiaturize(); +} +} +}),new objj_method(sel_getUid("miniaturize:"),function(_26,_27,_28){ +with(_26){ +if(_DOMWindow&&typeof _DOMWindow["cpMiniaturize"]==="function"){ +_DOMWindow.cpMiniaturize(); +} +} +}),new objj_method(sel_getUid("moveWindow:fromLevel:toLevel:"),function(_29,_2a,_2b,_2c,_2d){ +with(_29){ +if(!_2b._isVisible){ +return; +} +var _2e=objj_msgSend(_29,"layerAtLevel:create:",_2c,NO),_2f=objj_msgSend(_29,"layerAtLevel:create:",_2d,YES); +objj_msgSend(_2e,"removeWindow:",_2b); +objj_msgSend(_2f,"insertWindow:atIndex:",_2b,CPNotFound); +} +}),new objj_method(sel_getUid("setLevel:"),function(_30,_31,_32){ +with(_30){ +_level=_32; +if(_DOMWindow&&_DOMWindow.cpSetLevel){ +_DOMWindow.cpSetLevel(_32); +} +} +}),new objj_method(sel_getUid("setHasShadow:"),function(_33,_34,_35){ +with(_33){ +_hasShadow=_35; +if(_DOMWindow&&_DOMWindow.cpSetHasShadow){ +_DOMWindow.cpSetHasShadow(_35); +} +} +}),new objj_method(sel_getUid("setShadowStyle:"),function(_36,_37,_38){ +with(_36){ +_shadowStyle=_38; +if(_DOMWindow&&_DOMWindow.cpSetShadowStyle){ +_shadowStyle.cpSetShadowStyle(_38); +} +} +}),new objj_method(sel_getUid("supportsFullPlatformWindows"),function(_39,_3a){ +with(_39){ +return objj_msgSend(CPPlatform,"isBrowser"); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("visiblePlatformWindows"),function(_3b,_3c){ +with(_3b){ +return objj_msgSend(CPSet,"set"); +} +}),new objj_method(sel_getUid("primaryPlatformWindow"),function(_3d,_3e){ +with(_3d){ +return _1; +} +}),new objj_method(sel_getUid("setPrimaryPlatformWindow:"),function(_3f,_40,_41){ +with(_3f){ +_1=_41; +} +})]); +objj_executeFile("CPPlatformWindow+DOM.j",YES); +p;18;CPDOMWindowLayer.jt;2089;@STATIC;1.0;I;20;Foundation/CPArray.jI;21;Foundation/CPObject.jt;2019; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPDOMWindowLayer"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_level"),new objj_ivar("_windows"),new objj_ivar("_DOMElement")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithLevel:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPDOMWindowLayer").super_class},"init"); +if(_3){ +_level=_5; +_windows=[]; +_DOMElement=document.createElement("div"); +_DOMElement.style.position="absolute"; +_DOMElement.style.top="0px"; +_DOMElement.style.left="0px"; +_DOMElement.style.width="1px"; +_DOMElement.style.height="1px"; +} +return _3; +} +}),new objj_method(sel_getUid("level"),function(_6,_7){ +with(_6){ +return _level; +} +}),new objj_method(sel_getUid("removeWindow:"),function(_8,_9,_a){ +with(_8){ +if(!_a._isVisible){ +return; +} +var _b=_a._index,_c=_windows.length-1; +_DOMElement.removeChild(_a._DOMElement); +objj_msgSend(_windows,"removeObjectAtIndex:",_a._index); +for(;_b<_c;++_b){ +_windows[_b]._index=_b; +_windows[_b]._DOMElement.style.zIndex=_b; +} +_a._isVisible=NO; +} +}),new objj_method(sel_getUid("insertWindow:atIndex:"),function(_d,_e,_f,_10){ +with(_d){ +var _11=objj_msgSend(_windows,"count"),_12=(_10==CPNotFound?_11:_10),_13=_f._isVisible; +if(_13){ +_12=MIN(_12,_f._index); +objj_msgSend(_windows,"removeObjectAtIndex:",_f._index); +}else{ +++_11; +} +if(_10==CPNotFound||_10>=_11){ +objj_msgSend(_windows,"addObject:",_f); +}else{ +objj_msgSend(_windows,"insertObject:atIndex:",_f,_10); +} +for(;_12<_11;++_12){ +_windows[_12]._index=_12; +_windows[_12]._DOMElement.style.zIndex=_12; +} +if(_f._DOMElement.parentNode!==_DOMElement){ +_DOMElement.appendChild(_f._DOMElement); +_f._isVisible=YES; +if(objj_msgSend(_f,"isFullBridge")){ +objj_msgSend(_f,"setFrame:",objj_msgSend(_f._platformWindow,"usableContentFrame")); +} +} +} +}),new objj_method(sel_getUid("orderedWindows"),function(_14,_15){ +with(_14){ +return _windows; +} +})]); +p;22;CPPlatformWindow+DOM.jt;28514;@STATIC;1.0;I;21;Foundation/CPObject.jI;22;Foundation/CPRunLoop.ji;9;CPEvent.ji;17;CPCompatibility.ji;18;CPDOMWindowLayer.ji;12;CPPlatform.ji;18;CPPlatformWindow.ji;26;CPPlatformWindow+DOMKeys.jt;28312; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPRunLoop.j",NO); +objj_executeFile("CPEvent.j",YES); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("CPDOMWindowLayer.j",YES); +objj_executeFile("CPPlatform.j",YES); +objj_executeFile("CPPlatformWindow.j",YES); +objj_executeFile("CPPlatformWindow+DOMKeys.j",YES); +var _1=objj_msgSend(CPSet,"set"); +var _2,_3,_4; +var _5={},_6={},_7={61:187,59:186}; +_5[CPKeyCodes.A]=YES; +var _8=objj_msgSend(CPPlatform,"supportsDragAndDrop"); +var _9=objj_getClass("CPPlatformWindow"); +if(!_9){ +throw new SyntaxError("*** Could not find definition for class \"CPPlatformWindow\""); +} +var _a=_9.isa; +class_addMethods(_9,[new objj_method(sel_getUid("_init"),function(_b,_c){ +with(_b){ +_b=objj_msgSendSuper({receiver:_b,super_class:objj_getClass("CPPlatformWindow").super_class},"init"); +if(_b){ +_DOMWindow=window; +_contentRect={origin:{x:0,y:0},size:{width:0,height:0}}; +_windowLevels=[]; +_windowLayers=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_b,"registerDOMWindow"); +objj_msgSend(_b,"updateFromNativeContentRect"); +_charCodes={}; +} +return _b; +} +}),new objj_method(sel_getUid("nativeContentRect"),function(_d,_e){ +with(_d){ +if(!_DOMWindow){ +return objj_msgSend(_d,"contentRect"); +} +if(_DOMWindow.cpFrame){ +return _DOMWindow.cpFrame(); +} +var _f={origin:{x:0,y:0},size:{width:0,height:0}}; +if(window.screenTop){ +_f.origin={x:_DOMWindow.screenLeft,y:_DOMWindow.screenTop}; +}else{ +if(window.screenX){ +_f.origin={x:_DOMWindow.screenX,y:_DOMWindow.screenY}; +} +} +if(_DOMWindow.innerWidth){ +_f.size={width:_DOMWindow.innerWidth,height:_DOMWindow.innerHeight}; +}else{ +if(document.documentElement&&document.documentElement.clientWidth){ +_f.size={width:_DOMWindow.document.documentElement.clientWidth,height:_DOMWindow.document.documentElement.clientHeight}; +}else{ +_f.size={width:_DOMWindow.document.body.clientWidth,height:_DOMWindow.document.body.clientHeight}; +} +} +return _f; +} +}),new objj_method(sel_getUid("updateNativeContentRect"),function(_10,_11){ +with(_10){ +if(!_DOMWindow){ +return; +} +if(typeof _DOMWindow["cpSetFrame"]==="function"){ +return _DOMWindow.cpSetFrame(objj_msgSend(_10,"contentRect")); +} +var _12=objj_msgSend(_10,"contentRect").origin,_13=objj_msgSend(_10,"nativeContentRect").origin; +if(_12.x!==_13.x||_12.y!==_13.y){ +_DOMWindow.moveBy(_12.x-_13.x,_12.y-_13.y); +} +var _14=objj_msgSend(_10,"contentRect").size,_15=objj_msgSend(_10,"nativeContentRect").size; +if(_14.width!==_15.width||_14.height!==_15.height){ +_DOMWindow.resizeBy(_14.width-_15.width,_14.height-_15.height); +} +} +}),new objj_method(sel_getUid("orderBack:"),function(_16,_17,_18){ +with(_16){ +if(_DOMWindow){ +_DOMWindow.blur(); +} +} +}),new objj_method(sel_getUid("createDOMElements"),function(_19,_1a){ +with(_19){ +var _1b=_DOMWindow.document; +_DOMFocusElement=_1b.createElement("input"); +_DOMFocusElement.style.position="absolute"; +_DOMFocusElement.style.zIndex="-1000"; +_DOMFocusElement.style.opacity="0"; +_DOMFocusElement.style.filter="alpha(opacity=0)"; +_DOMFocusElement.className="cpdontremove"; +_DOMBodyElement.appendChild(_DOMFocusElement); +_DOMPasteboardElement=_1b.createElement("textarea"); +_DOMPasteboardElement.style.position="absolute"; +_DOMPasteboardElement.style.top="-10000px"; +_DOMPasteboardElement.style.zIndex="999"; +_DOMPasteboardElement.className="cpdontremove"; +_DOMBodyElement.appendChild(_DOMPasteboardElement); +_DOMPasteboardElement.blur(); +} +}),new objj_method(sel_getUid("registerDOMWindow"),function(_1c,_1d){ +with(_1c){ +var _1e=_DOMWindow.document; +_DOMBodyElement=_1e.getElementById("cappuccino-body")||_1e.body; +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_DOMBodyElement.style["-khtml-user-select"]="none"; +} +_DOMBodyElement.webkitTouchCallout="none"; +objj_msgSend(_1c,"createDOMElements"); +objj_msgSend(_1c,"_addLayers"); +var _1f=objj_msgSend(_1c,"class"),_20=class_getMethodImplementation(_1f,sel_getUid("dragEvent:")),_21=function(_22){ +_20(_1c,nil,_22); +},_23=sel_getUid("resizeEvent:"),_24=class_getMethodImplementation(_1f,_23),_25=function(_26){ +_24(_1c,nil,_26); +},_27=sel_getUid("copyEvent:"),_28=class_getMethodImplementation(_1f,_27),_29=function(_2a){ +_28(_1c,nil,_2a); +},_2b=sel_getUid("pasteEvent:"),_2c=class_getMethodImplementation(_1f,_2b),_2d=function(_2e){ +_2c(_1c,nil,_2e); +},_2f=sel_getUid("keyEvent:"),_30=class_getMethodImplementation(_1f,_2f),_31=function(_32){ +_30(_1c,nil,_32); +},_33=sel_getUid("mouseEvent:"),_34=class_getMethodImplementation(_1f,_33),_35=function(_36){ +_34(_1c,nil,_36); +},_37=sel_getUid("scrollEvent:"),_38=class_getMethodImplementation(_1f,_37),_39=function(_3a){ +_38(_1c,nil,_3a); +},_3b=sel_getUid("touchEvent:"),_3c=class_getMethodImplementation(_1f,_3b),_3d=function(_3e){ +_3c(_1c,nil,_3e); +}; +if(_1e.addEventListener){ +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_1e.addEventListener("dragstart",_21,NO); +_1e.addEventListener("drag",_21,NO); +_1e.addEventListener("dragend",_21,NO); +_1e.addEventListener("dragover",_21,NO); +_1e.addEventListener("dragleave",_21,NO); +_1e.addEventListener("drop",_21,NO); +} +_1e.addEventListener("mouseup",_35,NO); +_1e.addEventListener("mousedown",_35,NO); +_1e.addEventListener("mousemove",_35,NO); +_1e.addEventListener("beforecopy",_29,NO); +_1e.addEventListener("beforecut",_29,NO); +_1e.addEventListener("beforepaste",_2d,NO); +_1e.addEventListener("keyup",_31,NO); +_1e.addEventListener("keydown",_31,NO); +_1e.addEventListener("keypress",_31,NO); +_1e.addEventListener("touchstart",_3d,NO); +_1e.addEventListener("touchend",_3d,NO); +_1e.addEventListener("touchmove",_3d,NO); +_1e.addEventListener("touchcancel",_3d,NO); +_DOMWindow.addEventListener("DOMMouseScroll",_39,NO); +_DOMWindow.addEventListener("mousewheel",_39,NO); +_DOMWindow.addEventListener("resize",_25,NO); +_DOMWindow.addEventListener("unload",function(){ +objj_msgSend(_1c,"updateFromNativeContentRect"); +objj_msgSend(_1c,"_removeLayers"); +_1e.removeEventListener("mouseup",_35,NO); +_1e.removeEventListener("mousedown",_35,NO); +_1e.removeEventListener("mousemove",_35,NO); +_1e.removeEventListener("keyup",_31,NO); +_1e.removeEventListener("keydown",_31,NO); +_1e.removeEventListener("keypress",_31,NO); +_1e.removeEventListener("beforecopy",_29,NO); +_1e.removeEventListener("beforecut",_29,NO); +_1e.removeEventListener("beforepaste",_2d,NO); +_1e.removeEventListener("touchstart",_3d,NO); +_1e.removeEventListener("touchend",_3d,NO); +_1e.removeEventListener("touchmove",_3d,NO); +_DOMWindow.removeEventListener("resize",_25,NO); +_DOMWindow.removeEventListener("DOMMouseScroll",_39,NO); +_DOMWindow.removeEventListener("mousewheel",_39,NO); +objj_msgSend(_1,"removeObject:",_1c); +_1c._DOMWindow=nil; +},NO); +}else{ +_1e.attachEvent("onmouseup",_35); +_1e.attachEvent("onmousedown",_35); +_1e.attachEvent("onmousemove",_35); +_1e.attachEvent("ondblclick",_35); +_1e.attachEvent("onkeyup",_31); +_1e.attachEvent("onkeydown",_31); +_1e.attachEvent("onkeypress",_31); +_DOMWindow.attachEvent("onresize",_25); +_DOMWindow.onmousewheel=_39; +_1e.onmousewheel=_39; +_DOMBodyElement.ondrag=function(){ +return NO; +}; +_DOMBodyElement.onselectstart=function(){ +return _DOMWindow.event.srcElement===_DOMPasteboardElement; +}; +_DOMWindow.attachEvent("onbeforeunload",function(){ +objj_msgSend(_1c,"updateFromNativeContentRect"); +objj_msgSend(_1c,"_removeLayers"); +_1e.detachEvent("onmouseup",_35); +_1e.detachEvent("onmousedown",_35); +_1e.detachEvent("onmousemove",_35); +_1e.detachEvent("ondblclick",_35); +_1e.detachEvent("onkeyup",_31); +_1e.detachEvent("onkeydown",_31); +_1e.detachEvent("onkeypress",_31); +_DOMWindow.detachEvent("onresize",_25); +_DOMWindow.onmousewheel=NULL; +_1e.onmousewheel=NULL; +_DOMBodyElement.ondrag=NULL; +_DOMBodyElement.onselectstart=NULL; +objj_msgSend(_1,"removeObject:",_1c); +_1c._DOMWindow=nil; +},NO); +} +} +}),new objj_method(sel_getUid("orderFront:"),function(_3f,_40,_41){ +with(_3f){ +if(_DOMWindow){ +return _DOMWindow.focus(); +} +_DOMWindow=window.open("","_blank","menubar=no,location=no,resizable=yes,scrollbars=no,status=no,left="+(_contentRect.origin.x)+",top="+(_contentRect.origin.y)+",width="+(_contentRect.size.width)+",height="+(_contentRect.size.height)); +objj_msgSend(_1,"addObject:",_3f); +_DOMWindow.document.write(""); +_DOMWindow.document.close(); +if(!objj_msgSend(CPPlatform,"isBrowser")){ +_DOMWindow.cpWindowNumber=objj_msgSend(_3f._only,"windowNumber"); +_DOMWindow.cpSetFrame(_contentRect); +_DOMWindow.cpSetLevel(_level); +_DOMWindow.cpSetHasShadow(_hasShadow); +_DOMWindow.cpSetShadowStyle(_shadowStyle); +} +objj_msgSend(_3f,"registerDOMWindow"); +_DOMBodyElement.style.cursor=objj_msgSend(objj_msgSend(CPCursor,"currentCursor"),"_cssString"); +} +}),new objj_method(sel_getUid("orderOut:"),function(_42,_43,_44){ +with(_42){ +if(!_DOMWindow){ +return; +} +_DOMWindow.close(); +} +}),new objj_method(sel_getUid("dragEvent:"),function(_45,_46,_47){ +with(_45){ +var _48=_47.type,_49=objj_msgSend(CPDragServer,"sharedDragServer"),_4a={x:_47.clientX,y:_47.clientY},_4b=objj_msgSend(_CPDOMDataTransferPasteboard,"DOMDataTransferPasteboard"); +objj_msgSend(_4b,"_setDataTransfer:",_47.dataTransfer); +if(_47.type==="dragstart"){ +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +objj_msgSend(_4b,"_setPasteboard:",objj_msgSend(_49,"draggingPasteboard")); +var _4c=objj_msgSend(_49,"draggedWindow"),_4d=objj_msgSend(_4c,"frame"),_4e=_4c._DOMElement; +_4e.style.left=-(_4d.size.width)+"px"; +_4e.style.top=-(_4d.size.height)+"px"; +_DOMBodyElement.appendChild(_4e); +var _4f=objj_msgSend(_49,"draggingOffset"); +_47.dataTransfer.setDragImage(_4e,_4f.width,_4f.height); +_47.dataTransfer.effectAllowed="all"; +objj_msgSend(_49,"draggingStartedInPlatformWindow:globalLocation:",_45,objj_msgSend(CPPlatform,"isBrowser")?_4a:{x:_47.screenX,y:_47.screenY}); +}else{ +if(_48==="drag"){ +var y=_47.screenY; +if(CPFeatureIsCompatible(CPHTML5DragAndDropSourceYOffBy1)){ +y-=1; +} +objj_msgSend(_49,"draggingSourceUpdatedWithGlobalLocation:",objj_msgSend(CPPlatform,"isBrowser")?_4a:{x:_47.screenX,y:y}); +}else{ +if(_48==="dragover"||_48==="dragleave"){ +if(_47.preventDefault){ +_47.preventDefault(); +} +var _50="none",_51=objj_msgSend(_49,"draggingUpdatedInPlatformWindow:location:",_45,_4a); +if(_51===CPDragOperationMove||_51===CPDragOperationGeneric||_51===CPDragOperationPrivate){ +_50="move"; +}else{ +if(_51===CPDragOperationCopy){ +_50="copy"; +}else{ +if(_51===CPDragOperationLink){ +_50="link"; +} +} +} +_47.dataTransfer.dropEffect=_50; +}else{ +if(_48==="dragend"){ +var _50=_47.dataTransfer.dropEffect; +if(_50==="move"){ +_51=CPDragOperationMove; +}else{ +if(_50==="copy"){ +_51=CPDragOperationCopy; +}else{ +if(_50==="link"){ +_51=CPDragOperationLink; +}else{ +_51=CPDragOperationNone; +} +} +} +objj_msgSend(_49,"draggingEndedInPlatformWindow:globalLocation:operation:",_45,objj_msgSend(CPPlatform,"isBrowser")?_4a:{x:_47.screenX,y:_47.screenY},_51); +}else{ +objj_msgSend(_49,"performDragOperationInPlatformWindow:",_45); +if(_47.preventDefault){ +_47.preventDefault(); +} +if(_47.stopPropagation){ +_47.stopPropagation(); +} +} +} +} +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("keyEvent:"),function(_52,_53,_54){ +with(_52){ +var _55,_56=_54.timeStamp?_54.timeStamp:new Date(),_57=(_54.target||_54.srcElement),_58=objj_msgSend(objj_msgSend(CPApp,"keyWindow"),"windowNumber"),_59=(_54.shiftKey?CPShiftKeyMask:0)|(_54.ctrlKey?CPControlKeyMask:0)|(_54.altKey?CPAlternateKeyMask:0)|(_54.metaKey?CPCommandKeyMask:0); +_4=!!(!(_59&(CPControlKeyMask|CPCommandKeyMask))||_6[String.fromCharCode(_54.keyCode||_54.charCode).toLowerCase()]||_5[_54.keyCode]); +var _5a=NO,_5b=NO,_5c=nil; +switch(_54.type){ +case "keydown": +if(_54.keyCode.keyCode in _7){ +_keyCode=_7[_54.keyCode]; +}else{ +_keyCode=_54.keyCode; +} +var _5d=String.fromCharCode(_keyCode).toLowerCase(); +_5c=(_59&CPShiftKeyMask||_capsLockActive)?_5d.toUpperCase():_5d; +if(_keyCode===CPKeyCodes.CAPS_LOCK){ +_capsLockActive=YES; +} +if(_59&(CPControlKeyMask|CPCommandKeyMask)){ +var _5e=objj_msgSend(_52,"_validateCopyCutOrPasteEvent:flags:",_54,_59); +if(_5d==="v"&&_5e){ +if(!_ignoreNativePastePreparation){ +_DOMPasteboardElement.select(); +_DOMPasteboardElement.value=""; +} +_5a=YES; +}else{ +if((_5d=="c"||_5d=="x")&&_5e){ +_5b=YES; +if(_ignoreNativeCopyOrCutEvent){ +break; +} +} +} +}else{ +if(CPKeyCodes.firesKeyPressEvent(_keyCode,_lastKey,_54.shiftKey,_54.ctrlKey,_54.altKey)){ +_4=NO; +break; +}else{ +} +} +case "keypress": +if(_54.type==="keypress"&&(_59&(CPControlKeyMask|CPCommandKeyMask))){ +break; +} +var _5f=_keyCode,_60=_54.keyCode||_54.charCode,_61=(_charCodes[_5f]!=nil); +_lastKey=_5f; +_charCodes[_5f]=_60; +var _5d=_5c||String.fromCharCode(_60),_62=_5d.toLowerCase(); +if(!_5c&&(_59&CPCommandKeyMask)&&((_59&CPShiftKeyMask)||_capsLockActive)){ +_5d=_5d.toUpperCase(); +} +_55=objj_msgSend(CPEvent,"keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:",CPKeyDown,location,_59,_56,_58,nil,_5d,_62,_61,_5f); +if(_5a){ +_pasteboardKeyDownEvent=_55; +window.setNativeTimeout(function(){ +objj_msgSend(_52,"_checkPasteboardElement"); +},0); +} +break; +case "keyup": +var _5f=_54.keyCode,_60=_charCodes[_5f]; +_keyCode=-1; +_lastKey=-1; +_charCodes[_5f]=nil; +_ignoreNativeCopyOrCutEvent=NO; +_ignoreNativePastePreparation=NO; +if(_5f===CPKeyCodes.CAPS_LOCK){ +_capsLockActive=NO; +} +var _5d=String.fromCharCode(_60),_62=_5d.toLowerCase(); +if(!(_59&CPShiftKeyMask)&&(_59&CPCommandKeyMask)&&!_capsLockActive){ +_5d=_62; +} +_55=objj_msgSend(CPEvent,"keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:",CPKeyUp,location,_59,_56,_58,nil,_5d,_62,NO,_5f); +break; +} +if(_55&&!_5a){ +_55._DOMEvent=_54; +objj_msgSend(CPApp,"sendEvent:",_55); +if(_5b){ +objj_msgSend(_52,"_primePasteboardElement"); +} +} +if(_4){ +_3(_54,_52); +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("copyEvent:"),function(_63,_64,_65){ +with(_63){ +if(objj_msgSend(_63,"_validateCopyCutOrPasteEvent:flags:",_65,CPPlatformActionKeyMask)&&!_ignoreNativeCopyOrCutEvent){ +var cut=_65.type==="beforecut",_66=cut?CPKeyCodes.X:CPKeyCodes.C,_67=cut?"x":"c",_68=_65.timeStamp?_65.timeStamp:new Date(),_69=objj_msgSend(objj_msgSend(CPApp,"keyWindow"),"windowNumber"),_6a=CPPlatformActionKeyMask; +event=objj_msgSend(CPEvent,"keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:",CPKeyDown,location,_6a,_68,_69,nil,_67,_67,NO,_66); +event._DOMEvent=_65; +objj_msgSend(CPApp,"sendEvent:",event); +objj_msgSend(_63,"_primePasteboardElement"); +_ignoreNativeCopyOrCutEvent=YES; +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("pasteEvent:"),function(_6b,_6c,_6d){ +with(_6b){ +if(objj_msgSend(_6b,"_validateCopyCutOrPasteEvent:flags:",_6d,CPPlatformActionKeyMask)){ +_DOMPasteboardElement.focus(); +_DOMPasteboardElement.select(); +_DOMPasteboardElement.value=""; +_ignoreNativePastePreparation=YES; +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("_validateCopyCutOrPasteEvent:flags:"),function(_6e,_6f,_70,_71){ +with(_6e){ +return (((_70.target||_70.srcElement).nodeName.toUpperCase()!=="INPUT"&&(_70.target||_70.srcElement).nodeName.toUpperCase()!=="TEXTAREA")||_70.target===_DOMPasteboardElement)&&(_71&CPPlatformActionKeyMask); +} +}),new objj_method(sel_getUid("_primePasteboardElement"),function(_72,_73){ +with(_72){ +var _74=objj_msgSend(CPPasteboard,"generalPasteboard"),_75=objj_msgSend(_74,"types"); +if(_75.length){ +if(objj_msgSend(_75,"indexOfObjectIdenticalTo:",CPStringPboardType)!=CPNotFound){ +_DOMPasteboardElement.value=objj_msgSend(_74,"stringForType:",CPStringPboardType); +}else{ +_DOMPasteboardElement.value=objj_msgSend(_74,"_generateStateUID"); +} +_DOMPasteboardElement.focus(); +_DOMPasteboardElement.select(); +window.setNativeTimeout(function(){ +objj_msgSend(_72,"_clearPasteboardElement"); +},0); +} +} +}),new objj_method(sel_getUid("_checkPasteboardElement"),function(_76,_77){ +with(_76){ +var _78=_DOMPasteboardElement.value; +if(objj_msgSend(_78,"length")){ +var _79=objj_msgSend(CPPasteboard,"generalPasteboard"); +if(objj_msgSend(_79,"_stateUID")!=_78){ +objj_msgSend(_79,"declareTypes:owner:",[CPStringPboardType],_76); +objj_msgSend(_79,"setString:forType:",_78,CPStringPboardType); +} +} +objj_msgSend(_76,"_clearPasteboardElement"); +objj_msgSend(CPApp,"sendEvent:",_pasteboardKeyDownEvent); +_pasteboardKeyDownEvent=nil; +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("_clearPasteboardElement"),function(_7a,_7b){ +with(_7a){ +_DOMPasteboardElement.value=""; +_DOMPasteboardElement.blur(); +} +}),new objj_method(sel_getUid("scrollEvent:"),function(_7c,_7d,_7e){ +with(_7c){ +if(!_7e){ +_7e=window.event; +} +if(CPFeatureIsCompatible(CPJavaScriptMouseWheelValues_8_15)){ +var x=0,y=0,_7f=_7e.target; +while(_7f.nodeType!==1){ +_7f=_7f.parentNode; +} +if(_7f.offsetParent){ +do{ +x+=_7f.offsetLeft; +y+=_7f.offsetTop; +}while(_7f=_7f.offsetParent); +} +var _80={x:(x+((_7e.clientX-8)/15)),y:(y+((_7e.clientY-8)/15))}; +}else{ +var _80={x:_7e.clientX,y:_7e.clientY}; +} +var _81=0,_82=0,_83=0,_84=_7e.timeStamp?_7e.timeStamp:new Date(),_85=(_7e.shiftKey?CPShiftKeyMask:0)|(_7e.ctrlKey?CPControlKeyMask:0)|(_7e.altKey?CPAlternateKeyMask:0)|(_7e.metaKey?CPCommandKeyMask:0); +_4=YES; +var _86=objj_msgSend(_7c,"hitTest:",_80); +if(!_86){ +return; +} +var _83=objj_msgSend(_86,"windowNumber"); +_80=objj_msgSend(_86,"convertBridgeToBase:",_80); +if(typeof _7e.wheelDeltaX!="undefined"){ +_81=_7e.wheelDeltaX/120; +_82=_7e.wheelDeltaY/120; +}else{ +if(_7e.wheelDelta){ +_82=_7e.wheelDelta/120; +}else{ +if(_7e.detail){ +_82=-_7e.detail/3; +}else{ +return; +} +} +} +if(!CPFeatureIsCompatible(CPJavaScriptNegativeMouseWheelValues)){ +_81=-_81; +_82=-_82; +} +var _87=objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPScrollWheel,_80,_85,_84,_83,nil,-1,1,0); +_87._DOMEvent=_7e; +_87._deltaX=_81; +_87._deltaY=_82; +objj_msgSend(CPApp,"sendEvent:",_87); +if(_4){ +_3(_7e,_7c); +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("resizeEvent:"),function(_88,_89,_8a){ +with(_88){ +if(objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(CPApp._activeMenu,"cancelTracking"); +} +var _8b=objj_msgSend(_88,"contentRect").size; +objj_msgSend(_88,"updateFromNativeContentRect"); +var _8c=_windowLevels,_8d=_windowLayers,_8e=_8c.length; +while(_8e--){ +var _8f=objj_msgSend(_8d,"objectForKey:",_8c[_8e])._windows,_90=_8f.length; +while(_90--){ +objj_msgSend(_8f[_90],"resizeWithOldPlatformWindowSize:",_8b); +} +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("touchEvent:"),function(_91,_92,_93){ +with(_91){ +if(_93.touches&&(_93.touches.length==1||(_93.touches.length==0&&_93.changedTouches.length==1))){ +var _94={}; +switch(_93.type){ +case CPDOMEventTouchStart: +_94.type=CPDOMEventMouseDown; +break; +case CPDOMEventTouchEnd: +_94.type=CPDOMEventMouseUp; +break; +case CPDOMEventTouchMove: +_94.type=CPDOMEventMouseMoved; +break; +case CPDOMEventTouchCancel: +_94.type=CPDOMEventMouseUp; +break; +} +var _95=_93.touches.length?_93.touches[0]:_93.changedTouches[0]; +_94.clientX=_95.clientX; +_94.clientY=_95.clientY; +_94.timestamp=_93.timestamp; +_94.target=_93.target; +_94.shiftKey=_94.ctrlKey=_94.altKey=_94.metaKey=false; +_94.preventDefault=function(){ +if(_93.preventDefault){ +_93.preventDefault(); +} +}; +_94.stopPropagation=function(){ +if(_93.stopPropagation){ +_93.stopPropagation(); +} +}; +objj_msgSend(_91,"mouseEvent:",_94); +return; +}else{ +if(_93.preventDefault){ +_93.preventDefault(); +} +if(_93.stopPropagation){ +_93.stopPropagation(); +} +} +} +}),new objj_method(sel_getUid("mouseEvent:"),function(_96,_97,_98){ +with(_96){ +var _99=_overriddenEventType||_98.type; +if(_99==="dblclick"){ +_overriddenEventType=CPDOMEventMouseDown; +objj_msgSend(_96,"mouseEvent:",_98); +_overriddenEventType=CPDOMEventMouseUp; +objj_msgSend(_96,"mouseEvent:",_98); +_overriddenEventType=nil; +return; +} +var _9a,_9b={x:_98.clientX,y:_98.clientY},_9c=_98.timeStamp?_98.timeStamp:new Date(),_9d=(_98.target||_98.srcElement),_9e=0,_9f=(_98.shiftKey?CPShiftKeyMask:0)|(_98.ctrlKey?CPControlKeyMask:0)|(_98.altKey?CPAlternateKeyMask:0)|(_98.metaKey?CPCommandKeyMask:0); +_4=YES; +if(_mouseDownWindow){ +_9e=objj_msgSend(_mouseDownWindow,"windowNumber"); +}else{ +var _a0=objj_msgSend(_96,"hitTest:",_9b); +if((_98.type===CPDOMEventMouseDown)&&_a0){ +_mouseDownWindow=_a0; +} +_9e=objj_msgSend(_a0,"windowNumber"); +} +if(_9e){ +_9b=objj_msgSend(CPApp._windows[_9e],"convertPlatformWindowToBase:",_9b); +} +if(_99==="mouseup"){ +if(_mouseIsDown){ +_9a=_a1(_98,CPLeftMouseUp,_9b,_9f,_9c,_9e,nil,-1,_2(_lastMouseUp,_9c,_9b),0); +_mouseIsDown=NO; +_lastMouseUp=_9a; +_mouseDownWindow=nil; +} +if(_DOMEventMode){ +_DOMEventMode=NO; +return; +} +}else{ +if(_99==="mousedown"){ +if(_9d.tagName==="INPUT"&&_9d!=_DOMFocusElement){ +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_DOMBodyElement.setAttribute("draggable","false"); +_DOMBodyElement.style["-khtml-user-drag"]="none"; +} +_DOMEventMode=YES; +_mouseIsDown=YES; +objj_msgSend(CPApp,"sendEvent:",objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPLeftMouseDown,_9b,_9f,_9c,_9e,nil,-1,_2(_lastMouseDown,_9c,_9b),0)); +objj_msgSend(CPApp,"sendEvent:",objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPLeftMouseUp,_9b,_9f,_9c,_9e,nil,-1,_2(_lastMouseDown,_9c,_9b),0)); +return; +}else{ +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_DOMBodyElement.setAttribute("draggable","true"); +_DOMBodyElement.style["-khtml-user-drag"]="element"; +} +} +_9a=_a1(_98,CPLeftMouseDown,_9b,_9f,_9c,_9e,nil,-1,_2(_lastMouseDown,_9c,_9b),0); +_mouseIsDown=YES; +_lastMouseDown=_9a; +}else{ +if(_DOMEventMode){ +return; +} +_9a=_a1(_98,_mouseIsDown?CPLeftMouseDragged:CPMouseMoved,_9b,_9f,_9c,_9e,nil,-1,1,0); +} +} +var _a2=objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"isDragging"); +if(_9a&&(!_a2||!_8)){ +_9a._DOMEvent=_98; +objj_msgSend(CPApp,"sendEvent:",_9a); +} +if(_4&&(!_8||_99!=="mousedown"&&!_a2)){ +_3(_98,_96); +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("orderedWindowsAtLevel:"),function(_a3,_a4,_a5){ +with(_a3){ +var _a6=objj_msgSend(_a3,"layerAtLevel:create:",_a5,NO); +if(!_a6){ +return []; +} +return objj_msgSend(_a6,"orderedWindows"); +} +}),new objj_method(sel_getUid("layerAtLevel:create:"),function(_a7,_a8,_a9,_aa){ +with(_a7){ +var _ab=objj_msgSend(_windowLayers,"objectForKey:",_a9); +if(!_ab&&_aa){ +_ab=objj_msgSend(objj_msgSend(CPDOMWindowLayer,"alloc"),"initWithLevel:",_a9); +objj_msgSend(_windowLayers,"setObject:forKey:",_ab,_a9); +var low=0,_ac=_windowLevels.length-1,_ad; +while(low<=_ac){ +_ad=FLOOR((low+_ac)/2); +if(_windowLevels[_ad]>_a9){ +_ac=_ad-1; +}else{ +low=_ad+1; +} +} +var _ae=0; +if(_ad!==undefined){ +_ae=_windowLevels[_ad]>_a9?_ad:_ad+1; +} +objj_msgSend(_windowLevels,"insertObject:atIndex:",_a9,_ae); +_ab._DOMElement.style.zIndex=_a9; +_DOMBodyElement.appendChild(_ab._DOMElement); +} +return _ab; +} +}),new objj_method(sel_getUid("order:window:relativeTo:"),function(_af,_b0,_b1,_b2,_b3){ +with(_af){ +objj_msgSend(CPPlatform,"initializeScreenIfNecessary"); +var _b4=objj_msgSend(_af,"layerAtLevel:create:",objj_msgSend(_b2,"level"),_b1!==CPWindowOut); +if(_b1===CPWindowOut){ +return objj_msgSend(_b4,"removeWindow:",_b2); +} +var _b5=CPNotFound; +if(_b3){ +_b5=_b1===CPWindowAbove?_b3._index+1:_b3._index; +} +objj_msgSend(_b4,"insertWindow:atIndex:",_b2,_b5); +} +}),new objj_method(sel_getUid("_removeLayers"),function(_b6,_b7){ +with(_b6){ +var _b8=_windowLevels,_b9=_windowLayers,_ba=_b8.length; +while(_ba--){ +var _bb=objj_msgSend(_b9,"objectForKey:",_b8[_ba]); +_DOMBodyElement.removeChild(_bb._DOMElement); +} +} +}),new objj_method(sel_getUid("_addLayers"),function(_bc,_bd){ +with(_bc){ +var _be=_windowLevels,_bf=_windowLayers,_c0=_be.length; +while(_c0--){ +var _c1=objj_msgSend(_bf,"objectForKey:",_be[_c0]); +_DOMBodyElement.appendChild(_c1._DOMElement); +} +} +}),new objj_method(sel_getUid("_dragHitTest:pasteboard:"),function(_c2,_c3,_c4,_c5){ +with(_c2){ +var _c6=_windowLevels,_c7=_windowLayers,_c8=_c6.length; +while(_c8--){ +if(_c6[_c8]>=CPDraggingWindowLevel){ +continue; +} +var _c9=objj_msgSend(_c7,"objectForKey:",_c6[_c8])._windows,_ca=_c9.length; +while(_ca--){ +var _cb=_c9[_ca]; +if(objj_msgSend(_cb,"_sharesChromeWithPlatformWindow")){ +return objj_msgSend(_cb,"_dragHitTest:pasteboard:",_c4,_c5); +} +if(objj_msgSend(_cb,"containsPoint:",_c4)){ +return objj_msgSend(_cb,"_dragHitTest:pasteboard:",_c4,_c5); +} +} +} +return nil; +} +}),new objj_method(sel_getUid("_propagateCurrentDOMEvent:"),function(_cc,_cd,_ce){ +with(_cc){ +_4=!_ce; +} +}),new objj_method(sel_getUid("_willPropagateCurrentDOMEvent"),function(_cf,_d0){ +with(_cf){ +return !_4; +} +}),new objj_method(sel_getUid("hitTest:"),function(_d1,_d2,_d3){ +with(_d1){ +if(_d1._only){ +return _d1._only; +} +var _d4=_windowLevels,_d5=_windowLayers,_d6=_d4.length,_d7=nil; +while(_d6--&&!_d7){ +var _d8=objj_msgSend(_d5,"objectForKey:",_d4[_d6])._windows,_d9=_d8.length; +while(_d9--&&!_d7){ +var _da=_d8[_d9]; +if(!_da._ignoresMouseEvents&&objj_msgSend(_da,"containsPoint:",_d3)){ +_d7=_da; +} +} +} +return _d7; +} +})]); +class_addMethods(_a,[new objj_method(sel_getUid("visiblePlatformWindows"),function(_db,_dc){ +with(_db){ +if(objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"isVisible")){ +var set=objj_msgSend(CPSet,"setWithSet:",_1); +objj_msgSend(set,"addObject:",objj_msgSend(CPPlatformWindow,"primaryPlatformWindow")); +return set; +}else{ +return _1; +} +} +}),new objj_method(sel_getUid("preventCharacterKeysFromPropagating:"),function(_dd,_de,_df){ +with(_dd){ +for(var i=_df.length;i>0;i--){ +_6[""+_df[i-1].toLowerCase()]=YES; +} +} +}),new objj_method(sel_getUid("preventCharacterKeyFromPropagating:"),function(_e0,_e1,_e2){ +with(_e0){ +_6[_e2.toLowerCase()]=YES; +} +}),new objj_method(sel_getUid("clearCharacterKeysToPreventFromPropagating"),function(_e3,_e4){ +with(_e3){ +_6={}; +} +}),new objj_method(sel_getUid("preventKeyCodesFromPropagating:"),function(_e5,_e6,_e7){ +with(_e5){ +for(var i=_e7.length;i>0;i--){ +_5[_e7[i-1]]=YES; +} +} +}),new objj_method(sel_getUid("preventKeyCodeFromPropagating:"),function(_e8,_e9,_ea){ +with(_e8){ +_5[_ea]=YES; +} +}),new objj_method(sel_getUid("clearKeyCodesToPreventFromPropagating"),function(_eb,_ec){ +with(_eb){ +_5={}; +} +})]); +var _ed=objj_msgSend(CPEvent,"class"); +var _a1=function(_ee,_ef,_f0,_f1,_f2,_f3,_f4,_f5,_f6,_f7){ +_ee.isa=_ed; +_ee._type=_ef; +_ee._location=_f0; +_ee._modifierFlags=_f1; +_ee._timestamp=_f2; +_ee._windowNumber=_f3; +_ee._window=nil; +_ee._context=_f4; +_ee._eventNumber=_f5; +_ee._clickCount=_f6; +_ee._pressure=_f7; +return _ee; +}; +var _f8=5,_f9=(typeof document!="undefined"&&document.addEventListener)?350:1000; +var _2=function(_fa,_fb,_fc){ +if(!_fa){ +return 1; +} +var _fd=objj_msgSend(_fa,"locationInWindow"); +return (_fb-objj_msgSend(_fa,"timestamp")<_f9&&ABS(_fd.x-_fc.x)<_f8&&ABS(_fd.y-_fc.y)<_f8)?objj_msgSend(_fa,"clickCount")+1:1; +}; +var _3=function(_fe,_ff){ +_fe.cancelBubble=true; +_fe.returnValue=false; +if(_fe.preventDefault){ +_fe.preventDefault(); +} +if(_fe.stopPropagation){ +_fe.stopPropagation(); +} +if(_fe.type===CPDOMEventMouseDown){ +_ff._DOMFocusElement.focus(); +_ff._DOMFocusElement.blur(); +} +}; +CPWindowObjectList=function(){ +var _100=objj_msgSend(CPPlatformWindow,"visiblePlatformWindows"),_101=objj_msgSend(_100,"objectEnumerator"),_102=nil,_103=[]; +while(_102=objj_msgSend(_101,"nextObject")){ +var _104=_102._windowLevels,_105=_102._windowLayers,_106=_104.length; +while(_106--){ +var _107=objj_msgSend(_105,"objectForKey:",_104[_106])._windows,_108=_107.length; +while(_108--){ +_103.push(_107[_108]); +} +} +} +return _103; +}; +CPWindowList=function(){ +var _109=CPWindowObjectList(),_10a=[]; +for(var i=0,_10b=objj_msgSend(_109,"count");i<_10b;i++){ +_10a.push(objj_msgSend(_109[i],"windowNumber")); +} +return _10a; +}; +p;26;CPPlatformWindow+DOMKeys.jt;2336;@STATIC;1.0;t;2317; +CPKeyCodes={BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229}; +CPKeyCodes.firesKeyPressEvent=function(_1,_2,_3,_4,_5){ +if(!CPFeatureIsCompatible(CPJavascriptRemedialKeySupport)){ +return true; +} +if(CPBrowserIsOperatingSystem(CPMacOperatingSystem)&&_5){ +return CPKeyCodes.isCharacterKey(_1); +} +if(_5&&!_4){ +return false; +} +if(CPBrowserIsEngine(CPInternetExplorerBrowserEngine)&&!_3&&(_4||_5)){ +return false; +} +if(CPBrowserIsEngine(CPInternetExplorerBrowserEngine)&&_4&&_2==_1){ +return false; +} +switch(_1){ +case CPKeyCodes.ENTER: +return true; +case CPKeyCodes.ESC: +return !CPBrowserIsEngine(CPWebKitBrowserEngine); +} +return CPKeyCodes.isCharacterKey(_1); +}; +CPKeyCodes.isCharacterKey=function(_6){ +if(_6>=CPKeyCodes.ZERO&&_6<=CPKeyCodes.NINE){ +return true; +} +if(_6>=CPKeyCodes.NUM_ZERO&&_6<=CPKeyCodes.NUM_MULTIPLY){ +return true; +} +if(_6>=CPKeyCodes.A&&_6<=CPKeyCodes.Z){ +return true; +} +switch(_6){ +case CPKeyCodes.SPACE: +case CPKeyCodes.QUESTION_MARK: +case CPKeyCodes.NUM_PLUS: +case CPKeyCodes.NUM_MINUS: +case CPKeyCodes.NUM_PERIOD: +case CPKeyCodes.NUM_DIVISION: +case CPKeyCodes.SEMICOLON: +case CPKeyCodes.DASH: +case CPKeyCodes.EQUALS: +case CPKeyCodes.COMMA: +case CPKeyCodes.PERIOD: +case CPKeyCodes.SLASH: +case CPKeyCodes.APOSTROPHE: +case CPKeyCodes.SINGLE_QUOTE: +case CPKeyCodes.OPEN_SQUARE_BRACKET: +case CPKeyCodes.BACKSLASH: +case CPKeyCodes.CLOSE_SQUARE_BRACKET: +return true; +default: +return false; +} +}; +e; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLData.txt b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLData.txt new file mode 100644 index 0000000..f7eb9a6 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLData.txt @@ -0,0 +1,689 @@ +/* +Content-Type: multipart/related; boundary="_ANY_STRING_WILL_DO_AS_A_SEPARATOR" + +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADVJREFUeNpiunnvEdO7j5+Z/v//j4H/IbP/geh/EDEY+x+Sun//UNSj62f4z8B099YNgAADAA9PUNwzG//eAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUeNpimL9qE9Pdh0+Y/v//D8T/mP79Q6chbBD9/x+MjwX/R7D/g9T/h9BgM/5D9BtqqgIEGAC2zE/UgDMaqgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindow1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAIAAADAusJtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCB1j2LNnD8P///8Zvnz5AsIAU6oK6qmqG6cAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindow3.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUCB1j2LNnzxcYAABDLQrJ2KbR7QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindow4.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1j+PLlCwAFvALdifOWJQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindow5.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUCB1j+AIDe/bsAQBJFQrJwsQiEQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindow7.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAIAAADAusJtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUCB1j+PLlCwMM79mzBwBaQArJvXzTegAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACYAAAASCAYAAAA31qwVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHpJREFUSMdj+P//P8NgxIPSUaMOG9kOi4+Px4WFoRhDbqAdtgSKB5XD8oH4PxTnDRaHOQDxHySH/YaKDajD5IH4KZKjYPgpVG5AHMYOxMexOAqGj0PV0N1hM/A4Coan0tthBUQ4CoYL6OUwJjxFBsOAFRejVdKow0jEAMbSS1vJwWj5AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACYAAAASCAYAAAA31qwVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH9JREFUSMdj+P//P8NgxAyjDht12KjDaIjj4+OZ6OIwoEUFQPyfSAxSy0Avh4HwVCIcNQOqlq4OYwfi43gcdRyqhu4OA2F5IH6KxVFPoXIMA+UwEHYA4t9IjvoDFWMYaIeBcB6Sw/KxyA+Yw0B4CRQzDDaHCUPxwDlstEoajBgAIvph233GDmUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindowRounded0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADZJREFUCB0FwbENgDAQwMCvmByJpbxIeipqR0pn7ga4gBt4gQZ41lqdc6oa4FPbe6c2QGpqaj/TuDbcxUWSYgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindowRounded2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADZJREFUCB0FwbENgDAQwMCvmByJpbxIeipqR0pn7gYIeIEbuKbqnNNaK+AZtb13asA3ampqQD8COzbceGNz5AAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindowRounded6.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1JREFUCFtj2LNnz/8vX77AMQNQ4NX79+9RBNqvXLnyHyYIUsEGxL1A/BykHQCHWDaL8tTDxAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPMenuWindow/_CPMenuWindowRounded8.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBJREFUCFtj+PLly38Y3rNnz38GGOf9+/cggVcMMM6VK1dAAl0MIGVA/ByIe4GYDQC0XjaO10uChwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPToolbarView/_CPToolbarViewBackground.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAA7CAIAAAA1lncVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUCB0FwQEBwEAMhDAO/1Je1YSUJX7fJyHDSkDKQMArBwZyJ5uVkWN254EDIQvvkiVhJWFDyuscs7KSsJJlYSXDLgErIwkJj6QErISEeZcOKwMBASMJ33s/zDJY0JkKjKMAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAoAAAAPCAYAAADd/14OAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUVJREFUKJFj0NDQWKGmpib1//9/BnyYwczM7L+RkdEuoAYdvApdXFz+u7q6/jc1NT2vqanphlOht7f3/+Dg4P8eHh7/LSwsnmhrayeoqqqyYCj08vI6FhER8T8kJOQ/kP3f2tr6k66ubhPQ3XwoCp2cnLiAJoIVh4WF/ff19f1vZ2f3V19ff7a6uroSXCGIALqTE6j4MEhxeHj4/4CAgP9AA/4bGxvvBrrbEegUQbjRQA/xABU/j4yM/A/SEBQUBPYkMFS2amlp2cAVWllZ9fr7+4MVwRQD+Wft7e1DgM6QASvS09PrdXR0BJsCUwQ0fZu7u7se3I0gRQ4ODmB3gRQA8a/AwMDpQHdLovja1tYWrAjkCSD+BLSuAmg6J0Y4enp6ghUBg+YeMGiigBqZccYMMLDPAQPbBm9cu7m57QE6Gm+CAGEA/dNCZSU2Z+AAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAoAAAAPCAYAAADd/14OAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAU1JREFUKM9jsLS0XGFmZib1//9/BnyYwdfX97+7u/suCwsLHbwKExMT/4Owt7f3eSsrKzecCrOysv6XlZX9T01N/e/v7//E1tY2wcTEhAVDYWZm5rGampr/FRUV/4Hs/yEhIZ8cHByaTE1N+VAUxsbGcpWWlh6rra39X1VV9T83N/d/RETEX2dn59nm5uZKcIUgAuhGTqDiwyDF1dXV/wsLC/8DDfjv4eGxG+huR6BTBOFGAxXzAN36vK6u7j/IKSUlJf+TkpL++/j4bLUBArjCoKCg3oKCgv8gU2GKgfyzkZGRIU5OTjJgRUBGb0xMzH+g9WBFIMVA07cBQ0IP7kaQoqioKLC7QKYA8a/i4uLpQKdIovg6PDwcrgjokU9A6yqApnNihGN6ejpYUWVl5T1g0EQBNTLjjBlgYJ/LyMiwwRvXycnJe4CO1iGUegAs+F709mxc3QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/_CPWindowView/_CPWindowViewResizeIndicator.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAF9JREFUKJFj+P//PwOx2NjYOJIkxUDalSTFQMxPkmIQnyTF0tLSASQpBtLOJCkGYlmSFGP4gZBiBQWFIJIUw+OBWMVALMkABHZAhg1MMQcHhxeQtoMp5uLi8obyJUF8ACitf5AUaj8yAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/brightness_bar.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAXUAAAAUCAYAAAByIq2DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNrt1DEKgDAMQNEMvf+VdRC3QhNpUOS9pW0CDg5/RMQRl/uMxWy2z+w6zupuNeu6V3Yd747Zm/Onu93f+9q/2TnrfGd3u+/VWWbXcWZ30/0IAH5D1AFEHQBRB0DUARB1AFEHQNQBEHUARB0AUQcQdQBEHQBRB0DUARB1AFEHQNQBEHUA8k4Pbf5S2jTRYAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/color_well.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACMAAAAPCAIAAADh1eFDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH1JREFUOI3t07EJgyEUBODHVbqAhXvY22cGXSAbpRFLC8loCiIkIfoyRHhW/7fAcXCHGONNXggBvfdSylNSrbW1hrUWgK+kvbfWGkT0kUdEIKK3PGY+lHS800veuU7XIv7BzFBKjTFEbzvnZGZYa3POD0kpJWMMnHN3ed77HwxWA6QUi5PsAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPAlert/dialog-error.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABhpJREFUWMPFl1tsXEcZx38z5+zV63V23bWd4qSqixM7vShJRVGRQISX3iiGhlqiqlDeeAKpagUPPCAh8YYQF/WhvIUHopaiIDUyrXhACAqlIWprO3YSpU2CKzubtR2vd8/u2T1nZvqw52zO8TXmhZE+zdF/Rt/3/y7nmxlhjOH/OWwAIcSuG9+GYhueSdr2C0h5WCvVr7TusaR0LCmXjdbznlJnBEx9HW7vpi90XBhjdiTwFozalvVrDV8tDQ7q/Q8eyeb2D5EqFEn29dKuruOuruIs3WTp4lyjUi5bwpi/eMa8NAFX/2cCb0AyJ+WvgFOfP34sef+TT0jL92B5FRwHWm3wPbATkEpATw/0F1C2zcdT7+hPpmdaGHN6QesffA+8PRGYghJCvHPPwMD4I999MZ1UPly7AU13sycbv7MZuG+YtiX56He/d1cryxe1MU8+C8t3ReAcFIQQMyPj44OHnz9pc/kyrK3vaDRUFivnfX1weIQrb/7JvzF/+aZjzEOTUN2RwBtg9Qrxz5GxseOjJ79pMzsHbmuzl4GCLfEokXQK8eAoH5895/330pXzNWO+MgkqSkBGSeel/Fmpv/jw6PPfss3MHCYwbgBtTEy6eERUMHf3N13U9CVGTn4jUegvHs1J+dONKexG4I+wPyfl/ImXvt8nFxZhvbYptFt5aTbkddMeYyCfwwwP8q/f/HatpfXYBJQ3RSAr5S8OHRnPybaHrq53vdTbSOilCSKijLmzHuAmxNbrCN/n4NihXFLKn0cjIIPc92ljJu599ilL3VjY1vCmVETXwtQEuNpARF1f5N6nvmYrY56bgnyMQAae6S8WlFAK3WrHDUe81Ft42cWF6Egk/CGmpES1PYSQ9OV7tQdPxAgkhPjO4OgDObWyhoko0aESKTFSdhWaANOWhbEsjJSYCK6C/V0JcP/2Ov0jB3O2EC/EzgIDY9mDB9CNRlcRQsDrr8crNpC9jObkZKeYhUA3W2Q+tx/x4cXxGAENpeRACVNe6TAOIiDvwoAxBq1191sIgZSy21tCfQDa80n078NAKZYCbUwuUSygleqENgjdbkNrjVKqW2ghCaUUvu+jte7USlgLxpDoy6GN6Y0RkELU246DTiTv5HsXAkqpruc7EWxcuIC3stKplUQCt1xBCFGL3wfgVrNS6etJJ9Gt1q5KdzMcI9po4M/OIrJZEvcP4xoPAZUYAeBS/eq10Z5jRzE1p1OAgHvqVCe0xuCXy3jXr2Mcp9vhzBZdMdo9Y7jjYLkOjfU6GuZiBHxjzpRn506UvnAsFyuaeh1VqeAvLnb+kG1a7UZsI8FwTQ4VqV6+VtPGnIkRcGFqvVa32guf4P1nHmNAt1oY193Sy7vxPkbIGGQ2hUlIHLdld254kSKchKoQ4uzSv6d9ed8QXrWKct3u6aY3tGAVabUbW3OIq/B8CPDEoQOU35/3peEPE1CLEQBwtX5labFcN/ksopC/Yyxy0KhtzgIFd4wFBKPEZSEH2SQrt1brPvxw02EEcBKWEOK1q399v5F6dAyTTu7qvdrmjIiumUyKzPFRFv4+7UghXp2A8pYEAOpa/9hputOf/uMDL/34w5hMalNot/I+Fq2I92RT9HzxMIvvzrTdVvvDutY/2fZCEo6zsM+G2WKpMDD85WMJ58Il/OVqvOC2qPCNFxK71EfP0QdYenfWq61Ul5rwyK53wshb4B4Bb2cy6SMHTzyaMQ2X5sXrKKe57W8YitWbJTM2jMgk+fRvHzU9tz3Thqefg5U9vQteg8QQvCqFeLEwWEwNPHZE4rZo3VzFX3PQbgvtKUhYyHQKqy9LYqiATFrcOn/Fr9667bXh9Gl4+S1o7OVdIIAc0APkvg1jE/CjPDyWzqRUfqiYSffnsXuz2D1pPKdJq9qgvbrO2s3bTc9tWWtw/k345Tm4AtQBJzLvSiAbEOiNzgdg6Gl4/Ch8KQ9DKcjZkPTBc6G+BpUP4L0/w/nFTqXX6fzv4Vyj82ZUd5OCLJ17WxiJbDBnAkkBScAKUq/oPL9coEkn5KGEhmuh8b08TgWQCAxmgHRgOBngNuBHCLSBVmDYDTC10+P0M7GXX9il4LERAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPAlert/dialog-information.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABw1JREFUWMPFl2tsFccVx//nzO7el6/ta+Mn5hE7BFyoEQ8FQdXQqqSkL5E0sloCBZdS1FZVm7RS1S+V8gGiNlJKonxoaxIUVZVSsEgfIjUlpgkozYMQkhCwTWwwYGNfP+71fe7d2df0Qy8qdWvwTRN1pb92NLua/2/OnJk9S0op/D8vbbYHRPQffe2PPBKK5LCFRXCrgloLz60CAAgtSaAzvmc9ny/Dn7r27y/MNu7MCdNsEZgJsGv3j/eAxc/rFi83mlraIvV1dQiHDWhM8D0HU1NTGBp43xzqe1cqz/3pwWee6PxIANrbHzWiMaurvLr2c20btkSglyE+nUcyb8JxbYB86BrQEAujtSmGiA789egfzfjw1Z7sdLC9q+tR+1YA2m2WiKIx2TVv8fLNK9bcG7g8XoCnprG4Xscnm8tREdF9XQjfsl2Vytv+YDypXEeJ9q9vDfecePm+vrOnuwDcD2DWRLtlBHZ9+yffidYtfqLtUw+EB0YLaF2ooaUxCE3AZyKPCB4RfOVDeUpBKYWzlxNOKueI+9c1Rw51HZEjH/T+6OCBx389WwR4NrKOjocrIXjv0jVfDF+OW7h7aRB3zg9CE/CYyWaCTQSbiSQxSSaSRJCtCyp9z/MyJ94bzjz4wJYAaby3o+Phytl8ZgVgg7fVLFwZlr6OxmpCbUwDAS5IOURksyApiCQTpCBYmqCCYLLChiYrywJmtmCnstKVazfcE2aDt5UMAA7srFu4LJTMWVhUb8CH7xErh0A2QdlEkILJYuYCC7KIYGmCTSGoENA5FzQ4fyWeSa9dvVoDGztLPgfgey1l0UqMxPMI6AEA5EKRwwKSiWxBbBMrl0EOAN9nUspXkI7nMVE6aGihVF7S/JqmGiivuWQApbyopmvwlETB9uygrjlEsAlkM5NkhvwnBLkAeRrgO8qnVM6ZDAaEYiK/4HgwdEHK96Oln4SsZaBkNbOL4cm8VRkxPIBtIkgmshhkCSZJzA4TXOUrP1FwJmzXlUGNQ0SkiEgowGemfMk5QCQuZDMJVEUNezJlmYm0lQUgCSQFU4EFCkKQqTFytuuNTWQK71uue/2u+bGqoKHlgsyFhqqwlkxnLWZtsGQAzyv8amTg3eyimnJPaGRfmcpPr7wj1hQySCSz1mg661yaysm+8enCmZzp9OqCExE58fnc+OAXArpmGgabd9bHGt56++28q5znSwZ47sD+Q4nRoeFCetJfUl8pBJM9ljTji2qijWtaYvc2VPCqKNvNuptaqnup9RGV3tZQW73C8dXlgEFmS21soYAXPdnzkqf72d+Uvg0BRY7ccqbnD1J3s8GW2srImcFEr2l7id5rqT+DVWZeRbhlYX31+urKaKsATUNo70Rq7uhsqqpYWhU1Vj791JNCut7Ozs5O80MdxQCwY/cP20JG6G8P7viWqfTI4PyqgCIh4mbBvhAJadPhgMgYQjd1claQCPoZy0U0YHxv377H9Ew6/d2DB3555FYfI75dwfDbZ5465zjWN157+SW9ujwUiyeta9JMxZiUqwu2DaGbxI4cGOirdjz7YllAX9LX21tIp7KdM81LXYJ/RcOnN8dHRyrCugi5yrNGr49lE+Oj1cTssqGcV0/0NI6OjQ0amp4TxPVXrw6Tgnt2LmPPCeDZZ/cnXdc/d33kOs0rCzabdq7ivbdOfHnog1e3Dpzv2Xmh97WHmhdFDQLFBHHrG2+8XmEwXv+fSrKZl3QKe1449LtT39y9Y3FTbbUxOazDlulPsALuWjIf0YroZx07r46+eHzEduyuA51Pjs0punMtyQBg246vHK2ItX7pMxs3orV1KcqjEQihgQlIJCfxlxePo7e378pE3FjW3f20nEtJNucIAEBdzfSnN94j4SvG4cO/R2IyA8f1UFYWgK7ZmE5espNT/V53d5+c65glAYxez4nzF/rR0fFVrN9wNxzXQ3IqhfF4HEpZ6O9NGKnpYEspY3IpL3ue+9jkhIlXXvk7jICBWKwCTQtq0bKkCadOvYkLfZfgOM6hjw1ACNq3atUCtLd/H5rQAQC27aK//xra2tqwvLUFoZD+tY8NQErfHBwcQ3f3Xpw79w7GxycxOZVE9bwohq4Mof/iZeTz1tC6dVXlAMRHtQu0ovQNGxYsKy8P7dH1wEOACgvBUMqHUgylREIp8/jp0/GfTUykswA8AA4At3h3/tsuuB2AUZR+UzuyadOmXQ0NDT/Yvn17AACOHDkiL168ePDkyZOHAZhF5QBIAHbR3AYg1QzDWwHQTaY3FAAQDQaDsc2bNz8eDodXA0A+nz9/7NixX9i2nQaQL5rniu0b5jYAqxQAAKCbZq8Xpd2AaWxsrPF9X8Tj8TQAv2gmi3KLsgFYH3YJ/q2rmLRaMcH4JqEIcENuMQd8zPgtm+n3D0TJdD//hO3OAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPAlert/dialog-warning.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABRlJREFUWMPFV2toU1cc/91z703uTWISmzZqupqQxPpqxBBbRGvVNuCjIHWCk6q1Ez+0hcJUFKeV6tzGPoh0++KXvZn70C9lCuIDnygoIoJFWsEnYh8Ic2naNW3Mzf7n1mZZbLfZBz3w55x7zj33//u/fuceIZlMYiobw1S38XigGRCPANJ4dI/ZA98Be/uBPzxA9Efg2Fi/I3AUgiC81yZSWG50OH4LVVaKSCRw99SpeCwSqf4Y+HXSPcDdToCbFm3dypIPHgCPHmFhRYVEHzr+DWCc9CTsBaocwaDHIopC9MoVRC9dgi0rS7D6/Q4LUDepAMh6VRTFr/LXrpV6zpwBy84GSKLnz2NeOGxggnD0B8A+aQD+BOpnFRdPl7u7MUCuVw4ehHr0KGJtbVAGBuAMBIyUTZ9OCoBTwHRRUQ77V6+We86ehVhQALm8HIZwGNKSJYhevAhfcbGBSdIn3wN5Ew5gEGjIKyszapR48c5OKPv3Q2BD29UDBzD48iXEjg64QiGBZr+cUADcIqPNVu8pLJSjFy5AXrkS8rJlevlykYNBGNatQ/TaNbiDQZmpaiXlQmDCAHCLPGvWCIO3biERjULZty/FHcO9iTzC17T2drgLCzXac2JCAHwLFKgzZlS68vOl3qtXYaiogDR/PvFPAj09PYhEItA0DaLbDXX7dvTdvg2X3y9JNlspea503ACI6E/4ysuTMap5zlzq7t36fCflQZBcz4WPuSdM9fVIiiLi9+7BW1TE9zbRSSOMGQBRbonF6y3LdjhEbplxxw4wl0tXZjabU+/xMZ9jDgfMdXXob21FdlYWMzid8+gbH40JQFIPr/D13PXr0UeJJ1gsUGpqUjHPBDCcD6Zdu8BychC7exe+UEinaCIww3sD+An40L5oUcCiaaz//n0Ya2vB7PaUIlVVQayoi6IoqYpgJhPMe/di4PFj2BgTzLNnO/uA2vcCcIRCz0TxeH44zHrPndPdrlRVpZSkMp+UcUmf172weTPkuXPRT17wBgKyyNhnvwDW/w3ADexyLl2aa3z1Shh48gTqnj1gZGV62fHearXqkgmM2BDWhgbEu7qgUpXYvF4lMQpFvwPgZwopUe4X3pISmR8y0oIFUKj0MpXrlmZ4IH1NJYo2Ll+OGIXPM2eOQZDlPRTW3P8EoNGfTm5JyTRGhBKnQ8dENAui3EwFvJ0+fVqXzBAMi72xUScniSg6x+/nif35vwIg4sgx2GwH3KGQzM95mSyQV6wYUTnvq6urUfU2N9LXh8W4eDHMGzdi4OFD5LpcBgpjFZXlwlEBiMDh2WVlknbnDhK9vbr1o1mnnwGyTM5hIyofnrMfOqQTmPD8OWb5/eTgf1I0S7PeS8RRN8vnk3tv3IBxwwbIgcCo1nNpbm5GS0vLqMq5GDweWHfuxODTp5hps0myxRLmBJfGtCnrj3lWrUrGb96EFotB2bQJRPY8bkMfJUkfp2RIm7422juWLVsQOXkS2rNncOXlJV+0tR2n14rSATDaWO70+aTo5cv6RIQOloluidevYc/LE58BIeIaXtexYQCmN0BX5/Xr0z7Yto0xii0FDkk68eio03t9zHt6xtvn9PE7a5lz1HPPdr14wa9CvxMAoRF/3wvM9DtbGqLTl5LCiUlsBOdVK1DTBJwh3fH0iwkn+unzgJmUD4o2jivXCLX+hhtLPom1Ax007ibp13Vn3IxItx4bIyb24srLLw7911IXPWdTAKay/QWH+MCcjkpBPwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPApplication/New.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZNJREFUOI19kz9IAmEUwI8aaoqo1BaxWhoampMWazQS++PWEtTk1tIUOHbQkHZBTjY4eGpLKEE3JaLiDVficBwcSJSLTi4Owuu9jw8x79MHP+7ge+/3vXfffRIASBgzyByygCwjLsSLbCLbyAayhMxK48EFVOyCkeh0OmAYBnvHtTNkRyjhAtp5i5JrtRqjUChAIpEYCnH9WijhAmrbT4m6rjOKxSLIsjzalFjCBTRzgJKobULTNIjH4zAemHfOv828UNBsNhnlchnS6bRDwCW7yKJQYFkWo9FoQKlUAlVVIZlMgqIokEqlWHeYu4esCAWtVoth2zaYpskK6vU6VKtV9qTTwdx9xC0UtNvtqfARArzGKeh2uxM5ygQh8hIC3637a6Kg1+tN5Dh7AG+/lemCfr/v4CR3yLh4j8Kz/QpBNfyzdu+prD+sfjgEg8HAwWk+BE9WbohiZhijguGfKAqam7jUonDz+QjBbPh7vAN2F5AIcoXERHhjLpsEvjuPzmv+30Yu8fNjcuCT3QYV0+68RvoD0y0J9R+ff5MAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPApplication/NewHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYhJREFUOI19k71Lw0AUwIMOOrViGzcXFwcHwY+WfizVwcG9iFIpDmkkSyDQ1MFWyVJqKdRSQggdMnQJFEr/FgdBEEdB/Bue7x3P0jbXHvzIwb33u3fvcgoAKDjWkA0khiQQFdlF9pFDZA/ZRtaVxcECSlYnkwn8MxwOodvtijmulZCMVMIC2vmAgtvttqBer0OlUpkKcb0mlbCAys5SYKfTETQaDSiXyzBblVTCAjpzgYKobMJxHNA0bU7AkjvuzaZU0O/3Ba1WCyzLighYkke2pALP8wS9Xg+azSbYtg2GYYCu62CapqgOY8+QpFQwGAwEvu+D67oigXpCjaUv3Q7GniM7UkEQBCvhIxQ4JyqgHZaRqZ5A/iENyevY11JBGIZLydqn8BS8rBaMRqMIuVpKcOFcguk/wrGV/lVL8Xf1Nv4WEYzH4wg5LNvwalN0tyqYFUz/RBl0boIquHq9hyMr9bNYgXgLSBGxkGcZiWLsmwTJm/gH58y/RpZk+ZoiYPM+KZl25xzlDyJip/qGO0OBAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPApplication/Open.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgtJREFUOMulkz1rlFEQhZ+Ze3dDkGhcSZa4UYOFhU1iYaUWfiP+Bit/gVhYm970oj/DPyDEFBpEEPFziYKKySa7yO67eb/uHYvs5g22meZyYeacM2dmxMw4TCiHDAGOzDabd0+fWVgMIRQAu8Nh5/vGxnqa7nb+I1FgF/gJmJnhgeNXb9y+/+Dho1v9pB8xGCaD5O2b1+12++uOc17GVCqqIYZkbXX1xUb72zMgeEBbzZn62VNNer26AqjOTC2eP7eE7Ek8KHh6+hjLj5cbKytPngJ4IIpYabHEQglACBCKHGRcXhk9OVHHLCY2ct8D0u325M9mh16vV3EJmI0xKqA0KxgkwxowAWT+ZGv+2tzCuaX1D22KPENGrOPxighmRjRwqqhucfHKzUsfv7SfA/f87Nx86/L1Oyemjk4TQokA0cCrIk7I84IQDRGh7h1mMN1o+FerLxsAPsvScrOzbUlhkucFMmLda8GIZoQQERFq3mFm9LOS/iDJAXxRlrbzt08W65Sh3PfNzDAzVHX/P26vNCVNM6sAuj0bpiahLKu1GRkoIlis/IjRSIYpg2QYAbyKOkXUuQM3YYY6HamIiI5bijgnqIJzrgbgu9tb2+/X137PzrVqoSgjIghg2Gh8e281VkFU6z/an38BiHN+YWJy8gKIB4tV8qhwH6JaJxFqeZZ9yrP0nRz2nP8BeYUUSYTtIaYAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPApplication/OpenHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeRJREFUOBGlwV1qE1EAhuH3O3MM1CiN/RFEBBFFULDWG92BV6IgrsD96CoEvVMXIS5AW1FBqJQmFWnaJs4kc+Z8Thtt9brPI9ucROCEBPTme70ny8vnb+Wca1qTqvo5GPTfp5QGQOCYgBL4BtS2icDyrZXVpw8ePb5bVSXYVGU5/frl88ZgsLUbQiH+kBSy8/jT2trb7X7/GZAioIXefHFhqcdoHAERQq9z5fKlq2COCQGnu6d59fLl/JvXb57TikCWnOyMc+ZAk6FJCQkw/+mcitgeGSdaEQj7o7F2hruMxyNmxIyZEX9NU0M1mUSgC4ziwuLS/YXzF2983ejTpBokBNi0DAIMBiQRNOTazdur3zf7L4CHsbewePHGyp2zc3Ndcs4gsE2hgIKoUyJnI4lYBDB0z54p1tc+nqMV67pOw909qgRNShySCIAxtmmykaAIBcaUqaEsqwmtmFLj/V8ltSM5Z2aMaRkkccAYcUBki2ldm1ZscuP9vRGTqck5c0QcEmBzSIJsmEynVNUk04oiFJIIgSO2CQoYY5sQBAKyKYIQEEI4RSvu7w1/fPuyvtM7t1jk3GRaAmyOiZYAIwQhdLa3NrdoKYRwPXY694QKcAYxY0DMGBD/6KSUPqR6+k62OYnfXED9QFof0dQAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPApplication/Save.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVhJREFUeNqsUz1rwlAUvS8JAemUPZNZAiLonqGTPyV/oWPt2H+T2aUK/oAQyKDSzUFCSBarolF7z22faKWmYC8c7st995z78Yg6Ho90j1lhGMpBKXVS8n1f8NOiKIJ72e/3/cPh8CXwfdfvdru02+0gRM1mUwDLsoziOKZOp0PtdptWq9XzdDod8hVABqsRsNlsaLlcijdNkxzHETBB4vC4Q67neW/MfZQOqqqSSqgO2LYtVSeTicTX67XE4dEdzo1GA0IQGF4JYLbFYiHQBsJsNjvlWZZFmnchsN1uKc/z+s2fC4AIA7ksSwqC4CZ5PB6LgOZddIAF9Xq9mwKj0Uhyr0ZABxCoM+Qg92oE3cFfBPTC/6UDoygK+dBPWGfI0TsA10qShFqtFhmGIdsdDAa1T4hcvFiapqQ45jI813Wf2DuMB4b52wSMD0Y5n89f2b+re3/nTwEGACUKCdgz2++nAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPApplication/SaveHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXBJREFUOE+lk09qwlAQxscXCC7cBUGwJCErt0IJOYLF0Bt0I8FVD+Eduuo2i+57hB6gBLLLUhoiLlQUxP/G9w08iYjJogM/Xpz5vnkzkog8z+k/iOFwSLVajXq9Xq4IgiAfjUZ3oOb7/gf0YDAYkCAZrut+OY5DlmWRbdvUbrep1Wox9XqdJpMJn6g1m833fr//Ch9CnE4nHuVwONB2u6X9fk9CCGo0Gsxut+M8TtTO5zMZhvHted4bNzgej5zECTDacrmkNE0ZmJDHiRqecYG88AWXcwM8KNBssVhQkiRMlmWk6zqfqBW13Kw4AdZYrValQFP0CCTUj/V6TaZplgKNagDv3QrdbreUhyuoSaqiqL1ZQf2BVVHU3qygJqkKdfN1hfl8fk3ihaoKaNRl8Io4jmmz2fDLoWkaRVFUCjTQwgMvvoWn6XT6+StDJpIwDMeSvweMoYEWHniFHCmV/MhxnmezWUdiS8wHoNaBFh54L4mHAQ/Vw7dXAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImage/CPImageNameColorPanel.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABoAAAAdCAYAAAC0T3x2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABxBJREFUeNqMlmtsHNUVx8+dufPetddrO07sRG1ik0SEQIwDJRSaAEn4QEQiA4oQoEgoUj+0qpDCN0BVVdQPqA++tFU/VVCpISIK0MhWFYQICBEeBVyqxjHgBIOx49jrXdv7mNfO7f/eGQcTXrV19s7dO3N+5/zPuXeWCSHou/72/P759bGRHIyN5p6mkbQ2ebIt0QTpWjTC9WDB0P2XYcdODT524bv8sG8D7f/VS7fA+ZPFNt6/6/qrqv2bf9iad7mx1jBMuT4ZheFSXI9GJkYXT4+/5ZWblz7kmv/4C/v+8Nr/BTr46JDZNMTv2gpi8P79t5jbe9s6Io2ohtsCjD5TT5FDgixKyCNGBq7/Vfmo9NybRxtlMfMio+jIsbv+Gn4r6MGfDxcTLk5s71/d89A9A70+1mfx4XOiGJYYRELmwxLSKILFxDE6IqEOZpGN5Wff+9v4Oxff+IKJaPDovmPzXwMdOjzsCE6n9+7Z2LP79r6eyQWihSYAcI7QSbMzk3MtwUeEfELkgkgoIBPQFmDXUJ5e/mRoamj0+CSJaNfRu082pH/tMjEST9+wdU3bj7b3dY+irNOzkKsKUIDFZupbR0w6rbQEwiVYjqhGDZqhEo3RZ3Rz30/W3NR9U5GJ8Oll/wr08H0nB9pz7MAdt/Vv+GQccgHSAKQptYvgUBpAXBpgUBEmlEmYDpRAdg2qU4Xm6TxNsDsH7l5f1IoHHnjh1oHLIBYmT+28fTubmCC9BIi/iHogYS1KTUdGPCYyADIBMpGHLJWhYClI1osB5lNVwb6gKX3vjYOMJdFTksEP7z2xrbCab3VbV3VMfCoobqKLUAsTYTPIpqM+HDAzg0jJZOMJpahQ0glcxRkoQb0C5BbQIq3tWtvRzju3Hnq+f5umReLeqwf6/KkLUKnKSMA5i1PJZDYqE2RkwizAbBBka9uqRwQyS5BZE5ktZxXjKgCySlP0Odvad2ugi+a9mhYmOxyn261MovCLqUxSIkOk12oOmAWzce0oEINRBpOgJKtVouSU4AT1WqJpyvcULUOIHVyPxCbuuzZH8Q0PD8epA2WooMVI1UNKZ2XyyWaI4VCDSeHSPKSI2ootGqMXG2S7rR52xCZuxKJzYZRrMfZNrofIA8xB5K6KHCNADp639RTiKJB0TKpSQlVNwz9TGE19AwcQL6CL1OC+aZPeyaX+NiC1CXTbEqJeA+c9adFNhOJIsMxGQnTZaanpcMwUIG1xPA33VWQxh9kUrqfx/TzllMw6cdBmvdj3uO4WZMQeTqgcZPSQjgvNbDPNxjFSsC43VOITt3AE6T5cNGCIEFuWYdRQGx042SgBZoYf1BwyqtwlfSz0y71dhltgyM6DJi7MQ8e5MAdgC2bKzSu7Ao6IY5NFMWlOgywDMBYiS2kSIC1GjWPVFtNlv+KSMc6R1plq/eOu61Ggei1zHmQG5xZ8cnl08zCFRLhJkzcisxg3OFXiZo10LjPz4TpQJoEe/kdHF+vI6Az3iB8XCwuH24qU8IrQ3ICRnQEs+NUs2eOBkoZiaGrKPYBFH98HgIcSukTMrpJl1omzBprFVxm2UiEJZoJ2hxvH1en93HXDp9f1/KDrx86WzUvwZbWh4DDWBkcFUFvgLIc6OEspiNXStsxhPQ+oh4dcfG9X8HCZhFFGvXL0/r+DsfFz8xfvOzi0S24JcomOzM5+fJKu3tLIL6JJlFRBGjnJ0xWAAK1pw5mBUaun0vnQOUAgAeYh7vGwHiO7vFTB8S+MlFoNS3/gK++jV7YN/4W38xt2du3tpzk/jT4PSB5jDs4dmIWIjSwjT6Qd04KAWhBQi2xV3FvAvLudTv298kEU1d+969A/fqoO1eV9jC5+RC/Fp99jr/53oPu2LXTpItq4jAgBCCqZLDAOZ6yavtvz6MIQjkMEFiErgUw6O+n1Zy6djar1iEztkW98lb993XCRRHyiWQwKN/fu2Ei1kiPKY8ScRaU9QfvLIDcDtUYk8gGxjUWiDs8f+uf5sWZSr2iOMbjvyKkvX+VX/lj50/pfWtc66/9YMyu7N3Tna30d7ZsoKWlU+wyr8zjdZzDWiRWxo1vxeE+OqI0n/5ma+Whketq1nOSVdz+v/uy3J87JVhUiy2QlaPkNLU8Y/ud1v9i1Tnee8PXFXrPYmNu82nAKTmh2dnid8uaZ8lypFDaCkdq0v9AsF3VbnJ8Mkt/8+tSnr6uDjtRxGMnXFljNlSB5SDtpE6I3IQysZafbe82NdsfuTiO5NqElz9P9VU0cO2UWzyUW1adEPPrBUvjq+3ONs7h/IW1TdSZV0x1ODYDC7wXBID6tykY597K3iJ85RIfQJdh8dv29oK9Il4FNWvF6yuacll9JqTRSpkZm4YrvLksn7WvN8A22/CNm5Xz5ZwNlY3LF/Eqj/wkwAC2fO4nxam4uAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImage/CPImageNameColorPanelHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABoAAAAdCAYAAAC0T3x2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABqhJREFUeNqMVkuMHEcZ/quqq7vntbO743jXm8WLs/YaOQ8nUswzQitMImJ8AokcLBHhK7cIWUHmAsGKZHzkgpAiBckckDghJQcc4TwIIg4iRBBZMrZje22v19nHPHr6VV3FV109m12CSWb0TVV3Vf3f/65h9Cmfx3/40wM5y48rli9qoZsF5fs0IxLSXBI8H0hfn5e+eunCyV9/8P/ksHstfO0Hp45kJv55s0b7H957f/zA7M5GzedeRwjPrq8WhYp1qq7eXRq+f+tiOGS9f8vQ/OTN53/3h89EtPi9F8OCq5fqYf7U1790wJufrrcL7EoMUc6B8pQhH4MkTQFEeGTo8vB2/42LbyRDr3eOC338T8+/mtyT6MnvnJ7OdfzK3gfGdy5+ec9MhvUufnJBVAAaIM8RMVJAQQLwjaYxJkHOzPmrr9+6tPHBihfSkXMnXlv+BNHTR880Uj288Niju+575KGpHatDokg7AqhOHCYwO1ZEBCINEEET2OnhqUacJqlO/7jzt9V3l/68Iuvs0B9PvBVZ+XxEpNLk5YXPT7T2zU91lu4QrXWJ0hhWWF+BkAHcuAMfwxIa2FRQQiltUJ9u0l36wtSByf2T+8eKJHl5JL8kenrxxcWmrw4//ODczO3bcBdIMni4sCQFMkw5EjECWZgSvBw1fhVsSykC2TKtsEf3HNrVKBqHnzx1cHGTCMxnHnpkL62sEO9bElhiUiyqCrBGgNAzFWgER8JLFGXcMtg2ANkqrfHHFr5KOknPWA7v24+/8ISsZ/N+fay9cgduQJF4vlOBwSJu47KFRGxJnqJynanILJFBvHJYtk5D2jG2o92k9vy3frbvCW5ydWz33pl8dZmYShiZyl0WrKgsgUUeRmnKvEBKu1GWVukSoiRyB22SKFi2Rh+xuZkHUe/FMU55fsj3J8JoFTEfOjeVgo2bj9wmMfoYfby3Bo8gt7nPVO60tqYUg6reaUlWmEMeU3pOZIEUCL4InLCRtj6SX7LqWTuLRu4rygQ3lePYJrY6tkDEpF/UhDZznlB6PLrBWYFsDztACALt3GM1DpiD5I7EL4mck1x8eFmO7jtKe12qESFSKc89afi4J6ymIElWUHbINjkJwZPugAfVg9AJLy3kLttEJZDhl23WUwbxCRTo4WkV83W871OIHT5mXkBio6ZVTQjZsBqHSIYQbgxBGkC69Jw1gXDE3BaSydC9C+I8g4gUWYbNZFtbDLFpmeqyzD8Q5CoNmDf0QuZdU9lgdlxMNGz1BxbwS4j6CQAfkIAHBVhmHYYCE2g7BerGRwwExDEFKxWsVSCwKMqGa9NiI8r6Ne4teTUmLyTZ7c6ecILS1AkPINSvICFT2NZtK9eSKGjO7ahd6/BjEl4CS611OUTbvpeXhCG+t5bipCbkBa/JgrNJNHim1WRGRJoFOdskkJDHbK7z3LlGA56tASxmeJ8r5+cALpMx3JySYFlJZi1ssKbJ1nvtelOeFW+vn7v+jfY3n9F+kc+hO1ilfRsP2xmYctobCDPIGJuaCkSZnaeOuFzDO2PjFOEMLOQxsrZB167nS2mU3Tr1wjsny9tyjAfPbXRv/p59bjarDY1f3nIid5qXlkCIgnA5dBYx62PsyaBIjn156hQo4hKsZr3gZ8uXB436mPw+VZlKr62f+/Do+FNfvFvcCe9rT3Uozp1wm01WWz1wRApjDqSVRVaw3WcqlK0FZ+stev+t6IrkxV9Pnnr79Lb7qMnDZ72+Vld7//qQJnx7QcETEDroE/V7RL2uQ9fOAXuX9Kp5z+7BXqugGKOL5/vXisFQBZw/+z+v8l/Nn56Oi+iVopW1FqYXdpuk55vBTaQxNJUQ5AHwP7HEuc66qIFGVMuJzbQQgyD7+3sr17VJ+/VWcOTEL99ZvtefE/6jXcdr9/udswPR/cquTj2eajV2G91HHd7Fch/dfaOMEWvB6jqOd1D7Tc/cWN+4cXltLQxr9Jera+mx375+LS6blDH6v4lG95ltc95zO797tM34jxMezfqtbGN23AvqQe61WsG43dyN+v2BSrMryXoa6UFb+OZmt6Bf/Obd5VerNlEVHimQqa1E6GrISYQLsMLawMTBcObgghw73BJ6QdMwDHg2rtHXIlZ0jaR0jfSVK7F681I3/Sf2rwE9qwcA03HZItIgSj6VCNgBTAOTthKqPUGlrRW0DuDvDH30WYm2ua4itvP6FvibFytt/teyhMNKaFq92+Y6i08kw5aRbYmh2FoK1Vxvu+U+fjYVRs/l+B8BBgCMykDM1OUJfQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImageView/CPImageViewBottomLeftShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUGBl1wUEOwUAUANA37S8JG7Fj5Qhu4KrOJyxEpJTpWHSW+l5ggwOOpZSzP8KkYDQjUJAxmBHIeOORUtphiQ6NKpDR44YT9thipQpkPHExuWONhSqQ0ZsMuKJDqwqM+CDjhRYNkipQkJHx9ccPCKMfJ5j/ZGcAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImageView/CPImageViewBottomRightShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUGBl1wTsKAjEUAMAJvLt4LTsvayEeQAQbbRTEZd1PEgWLCLozUWv1T0ppjR2OYVlB9RaWDciokVJaaQomjHhgQA5sfFT0uOKMA3rkwFYzosMNF3SYA3tNxoQeHZ4ogZOmoiBjRkEJ3P2qvrwAKV0tKePvXOUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImageView/CPImageViewBottomShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAJCAYAAADzRkbkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB9JREFUCFtj+P//PwMDggACdRDRByKiQIQOiOAHEYwAbGEKQz1zHVUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImageView/CPImageViewLeftShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAABCAYAAAAb4BS0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUCB1jYGBgEABiAyBOAAAB7QChuhy7UQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImageView/CPImageViewRightShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAABCAYAAAAMwoR9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCFtj+P//PwM2DAQJQGwAxAIAxNISj3z8C1sAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImageView/CPImageViewTopLeftShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUGBl1wbENwjAQAMD7f8sYlCoN+w9GyRxOgRuk+C78CzcCgUShoZAIS0OiY+CFgY6yNBQGTnyRSISloeHAe875cSNReOK0kUh0HDYSgcLDRvoJhI0L53oFmk+kBA4AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImageView/CPImageViewTopRightShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGBJREFUGBl1wbEKwjAUAMB7aVAExUFw0f//vC6i1GASHYQuzV0gbOv+Ms5WHQ0VH1S0jLtVRcGCFxaUwMmqo6HhhhnP3Ht/2BARVxS8k7ELDpiSsSN2SMnYHhMiGQuEny/9fRhMYHBh/AAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPImageView/CPImageViewTopShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAYAAABP2FU6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVJREFUCB1jYGBgYARiBgEQoQMieAEB6QBLHwsEZwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPMenuItem/CPMenuItemOnState.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFNJREFUKM9j+P//PwM5mGEIa4SCciB+B8QggZlALAgSJKSxHKoBGe8mRuM7LBpB2JiQxv84sAshjTOxaLpLjFMFoX5C1mRMjEYYACl2QRYYoikHAEpc1bCGmTUoAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUKM9j+P//PwM5mGHoaywH4nf/IWAmEAsSo7H8PybYTYzGd/+xA2NCGnEBF0IaZ2LRdJcYpwpC/YSsyZiU6DBGd94QTTkAZdZoLJnGKoYAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKVJREFUeNpiZAiuZ2ZgYLAGYh0GhsA6h44tpzdfeP7lIxML038TCx11x1c/GflY/vz+w/35139uBoY/DCwM//4y//n7hwEEWBj+/2X+/QfG+fuX5ffvv1DOPyAHLvPvD1DZbySZ338QnD9/EHrgpjGxMzP++vr92w+QXUy6StLXjp+5cPnL12/fGe8+fSkXVjMh5Oq9JxqM////ZwQqlwZiIYAAAwAMX1XNMAlUgQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNpiYAiuL2e48+H3f6Zb734yMP3985eB6c/fPwxMv/+AiN9/Yaw/v0FcIOvPH5gYWB2Iy7zvwWdVhv///xsDBBgAJJsuTOBf54IAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ5JREFUeNpiZAiuz2JgYLgCxEeZL+zbukdBXEhmz7mbT5le/WTks9BRd2Rh+m/C8vPXH4afDAzcf37/4Wb58/cPAxj8+8vM8vsPlPMfxPn9F8L5+5cFIfMPzPkN5fwBKUOS+fPnL7IyJKNB9vz89esHOzPjL5YvX799P3PxyhVdJelrzKde/ZbnZvl/YFVz/gaG////6wGxDBAzAgQYAO59XJBTIVY/AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJhJREFUeNpi1LewZWZgYLAGYh0GfXMbh5XrN21++fbDRxYmZiYTGxtbx39MLNwsf/784f7LwMj9988fBhaG//+Z//75ywACLP+BnN9//8A5IKUIzu/fCA4zqgyMw4Cmh/k31GgmVlbWX1+/fPkBspRJVUX52qED+y9//vz5O+Ojx4/l8ovKQm7fvavBCNTDCFQuDcRCAAEGADqxWcjpDiMNAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFRJREFUeNpi0LewLWf88uPXf8Zn7z7/Z3z0+sN/xvvP3/5nvPXk5X/Gaw+e/me8ePvhf6Y/f/4wMP0GEVDWXwamv2Du378MDKra+ksY////bwwQYAAEtTEizRGTJgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJZJREFUeNpi1LewzWJgYLgCxEeZL128tEdWVkbm8JGjT5n+MbHw2djYOjIxM5mw/P7zB6iCkfvPnz/cLH///GUAg///mVl+//0DZQM5f/7AOSwsv38jcZBkmKGmockwgPVAjQYr+wuU+QEErKysv5g+f/78/dCB/ZdVVZSvMegYmc0KDI0sevT4sRxIrR4QywAxI0CAAQBTdF49cw4ogQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIBJREFUeNpiZIAAISBWATGE9+7dO/Xr16+vGTg4OGyAjA+/f//+z/Tjxw8uFhYW/n///jGwAJUxgRggAOIw/v37F85BkWFClkFVhlMPXBkTDw/Pf6DFn0CyzN7e3mKsrKwcUlJSCgxv374VCA4Odufn5w9h/P//P0g5PxBLAwQYADkXPiP8F5MNAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtJREFUeNocxFEKgCAQRdF59dO+WkT7B0EEQRBhGERv1Pk4Zma31lpozokiArk7GmOg3jtqraFaKyqloJwzSilx7L3t7/OcwPUKMABbNDOyQBe/kwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH5JREFUeNpiYGBgMANiIQYQ+Pr16+u9e/dOBTKFGX7//v0fKPCBg4PDhunfv38MLCws/D9+/OBiAXGggInl79+/MA4jThk0ZSgy+E379evXJx4env9M3759+7B///71rq6ubxn4+flDgoOD3d++fSvA8P//fy0g5gdiBoAAAwDmKUtB/aWHewAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH5JREFUeNpiZIAAISBWYQQSwp6enk1iYmJhLBwcHJpARjQTExM/048fP7iAsvz//v1jYAEymEAMEABxGP/+/QvnoMjgUYZTDyOMw8TDw/P/z58/n0ACTK6urm9fvXq1/vfv3x8Y3r59KxAcHOzOz88fwvj//3+Qcn4glgYIMADyGjn6SjxcsAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC9JREFUeNpiYGBgcGZMSkr6z/T//38Gpn///kGJv3//YnDRxOAECIQzAw3gAAgwAGRwKZNd4WBbAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIBJREFUeNpiYGBgMANiISBmYI6Pj78gJSUlfufOnZNMQCAiJiYWzcHBocn0798/kAr+Hz9+cLFAOSDAxPL3718YhxFVBrcyJA4TTj2MYEv//PnziYeH5z/T79+/P7x69Wq9q6vrWwZ+fv6Q4OBg97dv3wow/P//XwuI+YGYASDAADufQ795H/vjAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif +Content-Transfer-Encoding:base64 + +R0lGODlhQABAAPcAAP///8zMzJmZmWZmZjMzM7u7u6qqqoiIiHd3d1VVVURERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBgAAACwAAAAAQABAAEAI/wABCBxIsKDBgwgTKlzIsKHDhxAbGphooCDFigQvRtwo8CJFgQUmFjAY0sBIAB4nckyYgIDLlzAVQEzp8eTKjAoUJMipAIFAAQkGBAVQAAGCkQIOKD1ZQIDTpzcfHkiQQEBBo0YtKsUYtavXr2DDih0YcuxXjR0/plVp9qFJhyFttkU4lafVhU2fyp1rEEHQAQMGYvX5U+mBu3wTK17MuLHjx5AZo42McDJKtWu5Jr4ol/NllSXZgrRsNqVD06UVuOSZk4ACxKdpiqZMe6CBATmp5hyQF2GBkQaePtUs1u8A2FMBBwYwWKDhA8SD721rPAFhgc0HJlUKu7Zzowe8i7cfT768+fPo06tfz34jae8lDb4XGdmzbcxE3zMOzXWyfcXxEcRfZpntRd9YKdmEFluT8TebWA6+1VCE082l30EXttdWSzB1KJNbsh0YlQGqucaaa90xFCJxZvl1HV4CsJgYULntlOJBwjmV2AE15maVXwmEp9VhP+UoQIUjssbbQMoFyRxWKD2XkXD7NXlXdgZISZkBfyXAVXZEPYdkYsotKRiUBGkJ2W99oamhUhrGKeecdNbpXUAAIfkEBQYAAAAsDAAVACUAHwBACP8AAQgcoECBAIEIEypcyLChw4cQGxoYkGCAxQQRBRrYyDFjAQQgERRAeKDkgYQCUh58aCABgZcwMWZ8WCCBzZs4Dcz0iBNBwpAIDpo8WUDlSoEFOOrcKXAoUwAGYMIc8LQqAqknqyYkWLCrV5laZx4YkDWjgZEOBVC0uLapxaMIiwpYqrQjRKBLnQKQm/IpUIV6ERoNq7DvUwFSEywl3PCqVAIKyjJeKEDBY8mTFxKkOrkmzs+LGXP1+jWzacJqK4KFqJQmgopsE/jcCDFpXbRIYa/NOjFk07IqE9ZdPBZBaLW+Aeg1ihthaIYH/v4uiTLlc4jRQUoODFXl9bQDfAIMNqlQbvOwAkrChRgQACH5BAUGAAAALAwADgAfACYAQAj/AAEIHEhQgAGCCBMmNKCgoYIBBQYqIEBxgMKLAzJq3BjxoseEBxCIFDngAIACHT+qBCDggEsBBQXIJFjAgM2PAihShLnyY4KGCX7y7Em0qEIBCA6kBGDApUuBMmcytXnQKEEDMqsa1UlAq1WFBrgi+HoA6E8FCWAmqPg1IYIEY62+3bgxgcW2YEcO8Gp0wEiRPAs45SmVKl+PLV8OjDrU8NKFLvkyXniY4ACKcfEinEgxgeaEaykqaDsX4WXRj1cCdRj3gM7RXweYbbj36ecDZxUM/cx7Lt2MdvH+3sj7KILdeAv8RbBX83K/BxNXtpkawF+TA50eiB5VoGGi2hd3F/dOdWV48VLJ3/R4Hj3y71YnFx+4/mJAACH5BAUGAAAALAwADAAWACgAQAj/AAEIHEiw4EADCRIYMEiwgAIFCRQcEKiAAAEFDAceGDAxo8cDIA8U8OjRgICTBA2oXJgx4sORAyteHChgQIIBOG8uHPAQQcEDCIIKHeqTpMCQIVkCOCngoFKGBU7CdKqS5NOBFi2SfPiQoEyMAAokTFhUYMSIPr8aNGATp82rBIESFWq0rl2BApCCbGrUwAG+A6MyFbgS7kGmTwvfLVh1cUyLYBkieNjx8cyMPCMO8AqZZGaIliNvRPB08lmBWQkIFOv2ZkcBXBMsfQg4LIKbrREIvlvzpmzHd+XOpUtS+NypwE0a/qgXOUO/ekUCMCnAucaQtZlWn77SqHaYij1qDU/ZPeN48o0dhwcOMyAAIfkEBQYAAAAsDAAMAB8AJQBACP8AAQgcSLDgwAIDBhQwyJBhwgEJBAhMoEBBAoEICGgkYKDhQAEIJHocabCAgJMiSao8aKBlx5UkHw4oSNEiQQMbCRBEwJPnAAQYEyQ4YHCAxosfDyhdypQoTIYoUS4U6PLlU4Ytr64sMJVgTaQ3U2JNkDCB1a8fc6bsicCpwIdDAaA1qlGBxwJsEczUCkBA06Vi+Qp+aiDqSat8TSKm6nJwQZddHZNEq/WA0MCUB2YksJchArIJgA7MLHejXY+fH46uCFbBRrB920a2rFoua4GuNXZ+mzcl6JkGhHbMTcBtwQN5BxhnqHSlgZ4DFkt27Pcv08HVrU9nuDAydcOOTRoTFlkgq9aoiKtuZ2x+u/r1768GBAAh+QQFBgAAACwMAAwAJgAfAEAI/wABCBxIsCBBBAgMKlyoECFCAwIHSBwg8ICCBAoUFGDI0IAAiBwHDlAwYGNIggZSgjzJsqHDghMpDiyQ8SJHAwdy6jyw8YBEAQYRZKRokYDRowk9CljKtGnLpypVPp06NabClS0LOERgEoDVgTUVhNwJdOBWoAMSJKAoFGOCgQYSHCVQtuDOnF0ZHphLQEFdgUqbLqVKuDDVAlFT5jVcECvjxwTTroUsUMCAhDAn2s2IueUBhwciaxZ5kSTVzy8jjgbg1vTNA38BWE79tXVn2UMJ3j0A0sBlhKo3YsxYdgBfAo4F7AaacuHSuMcTODa4c7HCvUgpGw4smKl2wN29fw8POX184vKPz6NPr9I65YAAIfkEBQYAAAAsDwAMACUAFgBACOgAAQgcSLAggAMHDCpcaBAhwoEIIiIQKCDBgIsMMwIooBFigokdBzpMSFAiyIEXMS4sIKClSwEUERpomOAjgIoKFNTMSTJkSAUEggodmsAnAJMGC3A0etBhSYkDDVgckGDmwpdWBY6cifTA1AEDCwzImTPrwJctQwrQmSBnUaZG1xIgmzOoArMaD0TsCZegAZkFkRKsmICvRgEOYUKE6pHqSbWJF0dEedEmQ5Z4/zo9yjhl4YKOz6JdWiBygckAqFKFSLatgoIG0AqYqTSjWLeuwV5+qba14b7Agy8EOrT4W+EUgdIlfjcgACH5BAUGAAAALAwADAAoACgAQAj/AAEIHEiwIEEBAgwqXMgQIcICAg9IPCDQAIKLCBhqFFjAwEaCBwZQ/EhS4wECKAlkLMmy5UaHCUFOLIhx5UYDOHN6BGDgoUEBA0QKHJAgKNEBMQF01Ml0Z8kECqJKnTrAJckBKVM6tcq168SRXX86lClxYIGaEG/mTCsQJsSvAATUJIgggd0EbA02fWq06FaCTXO6NHC38N28YRN3TZAVZYK/ihtGrRq5suXKAiQmjVzAJ1mwAxEgtdoT4Va4Aw9gBM2y9GbUAGqyZgi581gAqDGOHmhRaMG9A2/jHql7Z8iiQfEqXKoTsV6PdY0SReBcoU6+RTdfdsk8MGSNUKeKK6fs/btGwoYLV+86QAHl7QZPZlWgHf4BBY1Vwv/NOGX9/QAGKOCAra23UUAAIfkEBQYAAAAsFQAMAB8AJgBACP8AAQgcSNCAAYIIEyY0aHCggIcCBh6YeEChxYsIBSCIiLFjRgUgE1T02FEBgZMJMDI8SBAiR4kUSRZouHBiRAMIBiDYuZMkxgEJBggdKjQBAp8mT45EAFJBApA+FSI4OSCqQ4hWB65siRXmRJJbAbgEYIDiSIEHeB7NKtCATrUF2FokSreq3LsKJ7oN+VSB3awFkhL4KxDoWrYJThJQwNbAQ5ZZaXJ9iLDsAcgKGca9StkhxZcKZzLk/FLAZ7CjxXY1i7lAWtBaU3c2PXGzRrWEfRaIe+Atz7Ny3fLEjLd4R6B1ix62WiD5ULkIjBpv6bRvyrsDUIq13hc4yewnGQsYbN5UAXGPUxWfvytAMQHYeA24n14QPsGAACH5BAUGAAAALB4ADwAWACUAQAjzAAEIHDiwgAABBQgqXHhQwEADByJKXEgRgcWLGBEcUIhAgYIBAgckGEBypEOBCggQUECwgEcFCSjKFNjQwMyZBSRuvEnxwICdMlOuFHgApseEMw0kSGCTp1OBBmo+pdkQ6UABB5rexKrzwMmpYCtmvAiU4siSA7QOFMqyYwKYBBEsFYmULUGjCtQqVKmSot6pDb8CbhjWIGGwhg8S5BpRpmGbObtm5RlZomCnEP9OLTCWLM/OGMuG5bnUJGAAnM+WRGAVgACPDt/CJiqSJF2BfAkIfPsWAUEDCH6uVclyt1GQM+0OHGA0ZlDiCosq8P186OiAACH5BAUGAAAALBUADAAfACgAQAj/AAEIHEgQQIGCCBMqFGigoYGBDh8unLiwgICDFDNCHICgo8SECQiIVDAwgQIFCQYOWJkAgUaEEQvGfLmwIUYBOHNepJnwgM+fQA8IGHhAJAGSBhIkeDggQVOJAjpKdSlwgEiqJU+mJChA6QGeDB2CnTgzbMOxAGaWTasTrUCdQ932DPozrtyXPhcOPcBx6leECIwSEGgSZVWWfwUWOIDArgKjWwlrJYjAacuxhSPfhfhxs9nOYdGuLSB2bNmIGMGqLU3QwM6MZ9OytghXrmu4oMfqTO25N0K6Qe2CBe5TOM2oxu8a6IuAI2+EIQkM+K3UpYGpUhM+Fjk9M4ADTlcSKmTccTpBwVS9A+i60rxewXbVpw2vGeF2Ap3lHxavN7d+xc+9VMBKAWYUEAAh+QQFBgAAACwOABUAJgAfAEAI/wABCBxIsKDBgwUNIFzIsCFCAQoISJR4wGGBAxgzOhyooKMCggNCDhhYAIFJBAU2qjxYwIDLlylXyhRAs2ZNhQImEkigUGACBT8RABiQIMFIASeFDhSQsSLDngVFjpRJdePLl1WfYs260qZXmlAJFhigYKpDAwLCHkSgU6KCimQVKCUoIGTFi00xqj3Y8adTqQINJK36s2NMgYAJDuZa0CTjxwZbboWc8KpLypWvYka4d7PBrzc9g7bZ2TNDthOdMsSLsaGBBG13ohXAGWfeA7QJGog9FWJfAGOnnjRr4DbIjrk5/kyAWKTA4ckFMi09kOzy6s6fn1St0npZkNkFHhPYLhNBR+5Dww9EMCA6Y6JGqwYEADs= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPSearchField/CPSearchFieldCancel.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAB3WlDQ1BJQ0MgUHJvZmlsZQAAeAGtksFLG0EUxr9NEBWLlaKe9yBiIbZr1oBeJEZtkeYQYopVeomzaxJw12V3jQoe/Bs8CIVSKBXppfRo6SnQS3vwIGJr2/9CwYvI9psd0vTQ4MUHb/c3337zZubNAsl82fPWEgAcN/SLT3P6i6VlvfMnNPThPgbwuCwCb7pQyNPSJq6+0804HZW12pjayb0+FwS0FA39FcVZySuKS5I3Qy+kpypZVMsWeYec8kvFGfJ7cm9F8SfJK4q/Sq6Lipx7TjZcq+YCiS7yhGUHgpwlCysQDvmA/NJx1lk/ScSI8HzOTY6Qh2RfpAjUL4CpN/TvtbSlj8CHHDBw3dKGx7ndDPD5VUu7PI97pQ12BatmOi6n9RwBHftRdLkIdD4Ebn5E0fVRFN0ccu1fQONKbPj12MuDaMfc8C1jdWZVHTjhGRjxHf2fVV9ilwG8awDcCp7tAq+zwDAHD34DBXIpi4RpNlP1kFagOzdmpA0zIyfeaThrG7ynODr4vGe7zxf47mPmV/0nxSZb9uxck+1g7q+nFs6XmjpyGIOBNNNEBovqrvkV4xPs/RnhW+NL/a1U/o3Q3op7OLPubfu1SjXUp/mn2yl93hWPUnraMCbxB2AbgwprTB4MAAAACXBIWXMAAAsTAAALEwEAmpwYAAABhUlEQVQ4Ee1US0rEQBCNHwYFUfzs/IGKXsAD6GJMwIuYla6SO2Sjh8gVIskBongEEUWEWQkKOpKIaHwvSfd00hnjZnbz4KUq1a+rO9VdMYwxRl2BiZYFFjC+DC6Bc6W2D/sKPoNvZUwzfyVehXoTZMIMpFa1XOAJ7IEaprRIEViD2QNnQDVZMVo8OzCL4Bf4XoQGz8mBK715eOsgF81c192hBSXKGN+nwQ2Qc1qxBUUXPHIc5yQDwjA8L2Nd+oxxTMRgt8FW7EPBxDlFIlrVF+Ol5ZxWHEAhE9MXCeu7V3SH8CtoqnFF8M+XyhlwDotfB68RTztHEATHpmmeRlF0wQD8M3yBYVnWZaHIn9qtUMaky4PIS4HTt+ufL8rCMaGD1Q6PV6qOHwTYcZ04jl/SNL22bftGiHzfv0uS5MrzvHvE2DQf4CP4CUoM6zx23S7YVCo5Gc43eAv21CD9ph0zzpqxo2ZBdlgdYqcPGNCSUjxsxyIRO2oFFD8h6rlo608ImjFGXIFfJ96OUFGBfFoAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPSearchField/CPSearchFieldCancelPressed.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAABz2lDQ1BJQ0MgUHJvZmlsZQAAeAGtks9LG0EUx7+btBixSI2t5z2IpBDLmjUQLyU/oEXsIcQUa29x8hPcddlsogUP/g0eBEEKpUW8iEeLp4CX9uChiK2t/hUKXkTW7+wQ0kNDL30wzGfefOfNe28GCMdKjrMcAmDZnlt4ldXfLr7TB34hjBGMIoqZkmg6mXz+NSV97OYHNLl1Oilj9RH1cw+7vBDQ4hQ8qSlOS15SXJS86jkeNXXJol4qk9fJcbdYyJH3yMM1xV8kLyn+KrktavLsOdmwyw0bCEXIqXKlKchpsig3hUX+TE5Z1grjhy7JMeG4PBt+QB6XfeFMa18BLz5Qs9nzLR4A+1ng6W3PNzHNdJPA0XbPd30e9EobizSrZiIIpw0dAg+3fP96ARh4Btz99P3bQ9+/2+Xdv4HOjWi57UDLQrQTJvyPtapZRQe+swZa8EZ/Z9WXQGUAnzoAU8HcBrCTBia4iF4AeXIxjZBpdofqIaXAYHbKSBhmUh78r2Ytt/hOgclv+qhiv5nn/JgjVnVfFrqMLKZgIMFhIokF9Y7cxXSKfT0jfOsctz9Kz5/mVdaC/uRWnPduo1b39Ax/cSWuz9rieVxPGMYM7gG5lX3sSVNlhQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAadJREFUOBHtk7tKxFAQhrOKilvExgtoENRGUijEwsVKYSEPsG/gC8RXyVOk0idIYSexEFQWbUyhEfHWZBEvTfz/JCceyexupdUOfHvOzsyZTP7JMYyR/bUCjSEPWEB8FSyDOcD8J3ALYvAIRBtUeBMnHDArnjSMF/jPwLkUH5ec8G2AXWCCftZEwALvoNb5mHCKr78Fphhrt9uLXHXTfMxhLs/8MqljSrDOLBZwXffAtu00iqJ7+jzP23YcZz/Lsm4cxz242DnXBFQmFd5BdIYZPMiilmV1uLZaLWytTpIkh0EQXFdVik1X/y8V3kPCRJmUsVNV3DRNG0WPfN+PEM+AGv4k9qflmXyRNNbj6qDuY0GaFCsi+JU6XoGfUuQdUVP1+mmaXpWy9PAmSlPmPYChUrAoL0SDw+OgqClfX5dFGx47vwTqQdjKHX/BvwSaHB4L6INicfrCMMy/EuS9Aur7Birrp5O6IPm3XGUXG31on3Adg4si9PMracwob9IHoCzTgMYm9KK80iegVhS+wZNFnDdqDfDqzgPaM7gDN6B2leEb2T8p8A3yHYy8BAVcaAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPSearchField/CPSearchFieldFind.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABkAAAAWCAYAAAA1vze2AAABz2lDQ1BJQ0MgUHJvZmlsZQAAeAGtks9LG0EUx7+btBixSI2t5z2IpBDLmjUQLyU/oEXsIcQUa29x8hPcddlsogUP/g0eBEEKpUW8iEeLp4CX9uChiK2t/hUKXkTW7+wQ0kNDL30wzGfefOfNe28GCMdKjrMcAmDZnlt4ldXfLr7TB34hjBGMIoqZkmg6mXz+NSV97OYHNLl1Oilj9RH1cw+7vBDQ4hQ8qSlOS15SXJS86jkeNXXJol4qk9fJcbdYyJH3yMM1xV8kLyn+KrktavLsOdmwyw0bCEXIqXKlKchpsig3hUX+TE5Z1grjhy7JMeG4PBt+QB6XfeFMa18BLz5Qs9nzLR4A+1ng6W3PNzHNdJPA0XbPd30e9EobizSrZiIIpw0dAg+3fP96ARh4Btz99P3bQ9+/2+Xdv4HOjWi57UDLQrQTJvyPtapZRQe+swZa8EZ/Z9WXQGUAnzoAU8HcBrCTBia4iF4AeXIxjZBpdofqIaXAYHbKSBhmUh78r2Ytt/hOgclv+qhiv5nn/JgjVnVfFrqMLKZgIMFhIokF9Y7cxXSKfT0jfOsctz9Kz5/mVdaC/uRWnPduo1b39Ax/cSWuz9rieVxPGMYM7gG5lX3sSVNlhQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAZVJREFUSA3tk0srRVEUx69XRAxEMpYo8krKkAEjg/sFTEx9DwOfga8g+QZSHqXEQHkr8hh55f36/dxzdOice3WjFP/63b332uuutdfa+6RS//qTHSjIUrV7PdABjYHfJuMKLAbrLw1JSbQPQRqKoBDUMzzBFMzAC+SUAeLUi3EYrmEOpmEhWNcxtsMxHEBOFcd4WEU3uGdgT3wHnnoHrGYQ9LFtrrMqbEPUySRN4LgEl3ADt8FcW+jDNLeSKgmTW8FjJIz3YTKlj7TACHzWBIY1jWGwzw62RXWCp45Km9rODG+BDBj1m2T9lkCfuIs3cQX4dGuhBM6hEvqgH9yfhQ3wrk7hELrABKvwrmj20KjNgGkYANtlm5SHssX67MMYXECoNiYfErgRV4l2A+/BGRiwCkzkxzgP1VAPzbAM96BOMsPHXwMkyROXQymEp39g7gFMMgo1sAvj4CuMVVIlOvv+PaHPV66C0dfleh1awYq24Ai+VXagDBrAe7PibF1hOz8Z1FaaIOlTyC9yzL9+pIKYPL/A9AoeHk3/hvvtQQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPSearchField/CPSearchFieldSearch.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABkAAAAWCAYAAAA1vze2AAAB3WlDQ1BJQ0MgUHJvZmlsZQAAeAGtksFLG0EUxr9NEBWLlaKe9yBiIbZr1oBeJEZtkeYQYopVeomzaxJw12V3jQoe/Bs8CIVSKBXppfRo6SnQS3vwIGJr2/9CwYvI9psd0vTQ4MUHb/c3337zZubNAsl82fPWEgAcN/SLT3P6i6VlvfMnNPThPgbwuCwCb7pQyNPSJq6+0804HZW12pjayb0+FwS0FA39FcVZySuKS5I3Qy+kpypZVMsWeYec8kvFGfJ7cm9F8SfJK4q/Sq6Lipx7TjZcq+YCiS7yhGUHgpwlCysQDvmA/NJx1lk/ScSI8HzOTY6Qh2RfpAjUL4CpN/TvtbSlj8CHHDBw3dKGx7ndDPD5VUu7PI97pQ12BatmOi6n9RwBHftRdLkIdD4Ebn5E0fVRFN0ccu1fQONKbPj12MuDaMfc8C1jdWZVHTjhGRjxHf2fVV9ilwG8awDcCp7tAq+zwDAHD34DBXIpi4RpNlP1kFagOzdmpA0zIyfeaThrG7ynODr4vGe7zxf47mPmV/0nxSZb9uxck+1g7q+nFs6XmjpyGIOBNNNEBovqrvkV4xPs/RnhW+NL/a1U/o3Q3op7OLPubfu1SjXUp/mn2yl93hWPUnraMCbxB2AbgwprTB4MAAAACXBIWXMAAAsTAAALEwEAmpwYAAABc0lEQVRIDe2TSytFURiGj0tyLxIxlaIUA8WUwkz5A36BPyI/RvgDBsqlTEwU4gzUGcstd8+Tteqotfc+nciAt57zrb3Wt7613m/vUyr96092oCHHtWvTMAEjIe+UeAwH8B7mCkPeIUvsXoYmaAyV3oivsAHbUNNBFkhphskVuIdd2IT98DxA1F0FrqBQzYkMbz0Frll4C55AXYBuFsGcw/BMyFZsQ3WGLRwFo72/hYeAY+diDsNipZxYIB6uA99B7P0L4+jKHHMLFYtVJ1rQtqjJz/DlN86ZU9MhqRfvxg6wWD/o9ga6YBbmwPUdOIPokmFaqZvorhP8fBfAFtky5aU81H1lWINryFXKiTezaBksYMFucM6b70EvDMEYHMEjZCrlJCZ7AdvSCo7NfQYP64FV6INLWAdbmlTKSUzUkUX9fP1T3oVx/JxPeB6HQTiHCnyrdKXDYZiHdsjrCsv1yaIt0Aapv0J9VTN2/YiDjLN+efoDgZRGxg70NQUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewHeavyBottom.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAARCAYAAAAcw8YSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCFtj+P//PwMDmQQQ2IAIDRAhASJ4QAQLAM+wJGk6yEDYAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUOMu10r0OwjAMRtFrCIiBgYGBgYkn5mERtOmPWWwpShNEI7BkdfLR59QBCMABOAIn4AxcgKuq3vmiAj+ovyBqPVuvQrQAjC1JHJgMGNYgpQQD0Lesk6bogVcrMgIR6IBnyzqTrREtxWNtkjlBOmALbFof1teRlmNLEQdURG7A3jpYe0qpIenN+J/aZcMOSL4OH5CYDC+A2sX6VwySrKkhmmFkCKVhrzeOxUzF8ZZO7wAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewHeavyBottomRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALFJREFUOMu9k8sOhCAMRSHhs/yo+ehZuHBhDKP4wE4nKZlaMFoWkpxgeJzcgjgAMHeatfaF3RtpkQ7pEY8Ed8tw0R6X7AQQVZKtIAKtZCVRZCJ1kpmJDok0kolEWRqNZEQCsrA0aomnNAuVFWvKGViaJNlrkoyFcsDhm2jYQqDJSAs32vTjw76zM+mEJIm4bDX/6y3eTi9iS1GSRTF2+E98QcJlXCrHTEoSTg4STsTZ/BcCN3bqE4blmQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewHeavyLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAABCAYAAAA4u0VhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCB1jYGBgYAFiHiCWAGINILYB4hAgLvj//z8DMRgAsZ0fM9irjXgAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewHeavyRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAABCAYAAAA4u0VhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUCFtj+P//PwMxGAgKgDgEiG2AWAOIJYCYB4hZANHCHzOD2AJlAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewHeavyTop.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAARCAYAAAAcw8YSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB9JREFUCB1jYGBgYAFiBh4QIQEiNECEDcP///8ZyCQAal8kaTS8tF4AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewHeavyTopLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJVJREFUOMutkgEKgDAIRbdmbY3o/nfrMGuBhjODlIQPw/D1rEEYKyrn+PL8LlAGeCal94CBeMskkjC8FzVIFICE/SszBgRsAIGwSDi0YAo7g4C9QgAHck9trR3hQ8l1CFJ7ti8AbsJXKQjZLRAy4d9j9ZjIdcjGBaHfm9HGvA7dAbof2Wqi2cyedTQjs0lQQC6Iq36BnNGBBaWEiui/AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewHeavyTopRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALBJREFUOMulkWEOgjAMRjscgoYYf3gF738Jr2SCiqsbaUlTC7GzyQuD0MfXEgEggl1onK1ns6BfaUZFUvfL+0UyGBJuYt5EUiAnOW8ISuOUeRETwZVYclES2Vx4EiNdg/5oRMQb/FAhhKsQyMSrf8aqQQh4R0UaPJKTMeos8yZ5EK3YjyvJMXPP7GkNDe/IIzlkOurZ1Uo6GoNTNDXjtFYKb5KvBDXjaAHUJNmM+Hd9AEI6RFQh0+dCAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewLightBottom.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAJCAYAAADzRkbkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB9JREFUCFtj+P//PwMDggACdRDRByKiQIQOiOAHEYwAbGEKQz1zHVUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewLightBottomLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUGBl1wUEOwUAUANA37S8JG7Fj5Qhu4KrOJyxEpJTpWHSW+l5ggwOOpZSzP8KkYDQjUJAxmBHIeOORUtphiQ6NKpDR44YT9thipQpkPHExuWONhSqQ0ZsMuKJDqwqM+CDjhRYNkipQkJHx9ccPCKMfJ5j/ZGcAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewLightBottomRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUGBl1wTsKAjEUAMAJvLt4LTsvayEeQAQbbRTEZd1PEgWLCLozUWv1T0ppjR2OYVlB9RaWDciokVJaaQomjHhgQA5sfFT0uOKMA3rkwFYzosMNF3SYA3tNxoQeHZ4ogZOmoiBjRkEJ3P2qvrwAKV0tKePvXOUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewLightLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAABCAYAAAAMwoR9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUCB1jYGBgEABiAyBO+P//PwM2DAD6GxKPgLbV2gAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewLightRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAABCAYAAAAMwoR9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCFtj+P//PwM2DAQJQGwAxAIAxNISj3z8C1sAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewLightTop.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAJCAYAAADzRkbkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCB1jYGBgYARiBgEQoQMieBn+///PgI0AAMt5Dzxv9Xo9AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewLightTopLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUGBl1wbENwjAQAMD7f8sYlCoN+w9GyRxOgRuk+C78CzcCgUShoZAIS0OiY+CFgY6yNBQGTnyRSISloeHAe875cSNReOK0kUh0HDYSgcLDRvoJhI0L53oFmk+kBA4AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPShadowView/CPShadowViewLightTopRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGBJREFUGBl1wbEKwjAUAMB7aVAExUFw0f//vC6i1GASHYQuzV0gbOv+Ms5WHQ0VH1S0jLtVRcGCFxaUwMmqo6HhhhnP3Ht/2BARVxS8k7ELDpiSsSN2SMnYHhMiGQuEny/9fRhMYHBh/AAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPSplitView/CPSplitViewHorizontal.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAAKCAIAAAD+RXMgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCFtjWgoDTKEwwPQPBpj+wgDTHxhAYmGTRYgdggEAPLVN4i1E+ZUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPSplitView/CPSplitViewVertical.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAoAAAADCAIAAAAlXwkiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCB1jXLp0qY2NDRMTEzMzMwsLC4SEMNauXctIkTQAwg4O0avWgU8AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelBackgroundCenter.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAASCAYAAACaV7S8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBJREFUCB1jWr169X8mZ2dnBqZ///5Bif///zMw/f37F1kMLIsQA7MQXDQdRkZGjADPODEixZK7iAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelBackgroundLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAASCAYAAAB4i6/FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJdJREFUGFdtUEsKQyEMTCBuBXe9gDvXPU+37xKFXkev6Oc5QoJtHYjiTDJJ5DEGlVJeRHTNeDIzgZOc8zuE8IkxkveeTGitXSklcs4tovdOgMzHQ0QWiQBQJchQArdZ4Zh2S9ghtdblq9kmgDwKsEGARIKKS9ARd5gV8DUumh+n2psDtgfIYwXI/TtM0Iq/PU5TAfxrobgByk2US+DqkeEAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelBackgroundRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAASCAYAAAB4i6/FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJNJREFUGFd9j8ENwyAMRe0qHLl3CNZhiEzRMXrtnU26AjOAxADg5KMa0QjlScGCh38MhxCEfojI9yxv7/2HU0rCzF2UUijGSDnn16O1RvhqrWStJecc9vt2tiNCo8gYg/ocQuM0YUMEDrFRupgPFFxeihEF9B+gd8xT/QksOpXWIa4MMd8Gy3FH1EosO8Ct4OsblAPXUJQLU51iKwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelSelectedCenter.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAASCAIAAAAVNSPrAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUCFtjys/PZwoKCmJiZGRkAgFmZmY4jQ0jyyEBAK7qAuAYeB3qAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelSelectedLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAASCAYAAACeomSBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUCFuljbENwCAQAy27ov49aJnvB6FkrWcPmk9FFKQoTcrzST5mJsYY6e7J3nvOOVFrBSMCrTWYGbjWQikFJEGSkARJoKS9vpjfcF8f5ug86h9wATADFmAXDSbCAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelSelectedRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAMAAAASCAYAAACeomSBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUCFuVjbENwCAQA637ipo9aJmPQShZC/ag+RSIAhFFSnk+y6aU4q01d3eRUtIYQ7VWJ8aonLN67wJQCEFzTmFmMjMBywArOMyGw/yB1+n7Z9e+4QHvjBZgBg89KgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelsViewCenter.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAaCAIAAAD5ZqGGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUCFtjvnDhAnNmZiZzRkYGHOPio9MwNoyfnp7OnJaWxpyUlATGcXFxzLGxscxWVlYA/CwgVtHWuDgAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelsViewLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAwAAAAaCAYAAACD+r1hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAORJREFUOMuNUcENwzAItNv8K+WbAbJEv92s367Vf7JCvhkhdgpVziKY2EZCNvYdcNDt++60zfPs+N17P1D4ofuTzoFi1znDjiQjnV8C9QzkN3aTcNibvEfAJDaTcHy+UA0Vai09kFXqLFXI7pcaZBuadCkaJF25NKWsUpMGTSpN6UQG6bIluV3EVQ3NY5Wb1dMqarBI1ZZ0xaaWqlOyFpb2oNcPm6apSYO3hMO1Bi9PScAZY0wECf47fyIr7hCdgfEG4Em0Ab6xb9uWsjIRCbSGRAAwhJBIcg8nMPl9WRa3rmu20B+QCNBalqdZ1QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/_CPTabLabelsViewRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAwAAAAaCAYAAACD+r1hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPVJREFUOMuVUrERgzAMtI3KVKHMELBAShZIk0FYIaNlAZowQbYAJzJn+WRjKeHvfBLwr5dkYJqmD8Ig3tbaJ8Yx5PGd6brOcAB9QFwwv2McUHjF8zIVAH9AUghnPA88t6ogkjKg02AEQCRQdcpPlIstcZEGqFRXxccdeMXS7a+1EvFQS9ocwNspXdS1Sq2JgpIkibIt8Q2JM2jbUWeotVSdQRpObYkTqEDf978dijl4+USCdV2zG2YulpEtiTaBcy4bNEbHKicReO93/1HTNGVLSQTLsmQOlCOCyseTRFtLwYXfdIRjlVOEeZ53q2vblhyI6GmGL+DHprPdSa8DAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/CPTabViewBezelBackgroundCenter.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1jeP36NQAFhgLCPZRjjwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/CPTabViewBezelBorder.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1jmD59OgADjgHGSFRdpwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/CPTabViewBezelBorderLeft.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUCFtjZGBgYIZiVihmB+Hp06c/BAAH7ALGIwf97gAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPTabView/CPTabViewBezelBorderRight.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABtJREFUCFtjnD59+v/MzEx5BgaGn1D8G4r/AgCTpQkFeqUzkQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPToolbarItem/CPToolbarItemSeparator0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAAaCAYAAACdM43SAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEBJREFUCJl1j4EKADAEBRmb//9im9VTmim6TsIgInZ3GQEnL0QqYP5hRRFAMdabvpXj9pi6qxjFzXlq/SKCYXgDF+AD5ACr1RsAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPToolbarItem/CPToolbarItemSeparator1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAYAAAD0In+KAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABFJREFUCB1jZGBgMP7//78vAApVA38fKzIUAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPToolbarItem/CPToolbarItemSeparator2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAAaCAYAAACdM43SAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD9JREFUCFtjYmBgMP7//38DEwME/Acx/iMz/mJn/APi3wQYf4H4F0zkJ4rIX5gISVL/kNWgiqDY/gfm1D9wEQDwSTQ2I/IFQAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABQAAAATCAYAAACQjC21AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJdJREFUOMut0ksOgCAMBFAHem1WHBwTVrXpDJ9o0gBKn4MRY4znzwunDb33ObbWcAvij4S47cFmA8QauxtZIxv1mxZANp9rHKRh9dmHBZaBReEMjFBJ5imMzSN6xFeEt74VwyJME0bMg9XdqxkKklKlqq6WYJaOYRGWYHZMDxhJKsFCQHOguWezT/1zKp0lKSWYJbQFOIO8L0oHneBhzz8AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAATCAYAAABRC2cZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACVJREFUCJlj+P//PwMIMDKBSBDBxATjglnMqAQLnEDjsmBRzAgAI2YDUG/9aHsAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ1JREFUOMutklEOgCAMQ0fh2vxxb4yJmrG0QNQl/ZNnuw69d/tLSGRaa/ZGMDK11qRkk8GlJCR/pGDJQbfBDAoCggBJqIdlAlVgCfXOshOLrKCDu/OjEmBZuKSg6CwvgLMyBnfMGWweWTZ8w0qArmIacxeXvxuTwkFcqVPBxN0A+1KCbLMsIHRXamewdUR2b8/R7jyWbmKbO21JN34Oq/BktCvK5iYAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow3.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABQAAAABCAYAAADeko4lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5JREFUCFtjZGBgYGSAAEYoZkLDzGiYBQ0zI6llBAAGtQAx0/UgogAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow4.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA1JREFUCB1jYGBgMAAAADUAMcUHJsAAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow5.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABMAAAABCAYAAAA8TpVcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5JREFUCFtjZGBg0Afif1D8F4r/oOG/SPgfGv4PwwB88RIDhNxONQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow6.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKRJREFUOMulklEOwyAMQ+O21+aLi0/t6JQZJ6QbUgRK8esDATODvQdGbVT7mI+xPlztrs49QAAEwXzwMRCBIQPv9f3tymXAlSXbpYbqLhk6HVcBTRhmUN//AK1gycfffgWubL9gEdAeQEHACeRh6m0iAIWGyjJ6UqokqHIFED80b8jACGoZLINUracMA6q98GQqnPWXmSxYgf+3+Ry992turcnsC77uBJ8gKQLbAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow7.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAASCAYAAACaV7S8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCFtjYmBgMGACEv9BxF9U4g8qgSaGpvgf3BQwiwEAxvcQJujA9GgAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/CPWindowShadow8.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUOMuVk0kOxCAMBPvg98wn+XaMc4mRx/EWpBaLoFTEhAD8AAiADYCfXC5sovv0jGjITpIgGNv+NDL07eKBIcCukVOukhmfXmG6mQeA1JKeD+zN2IGlAb9gX66KDMYNbFLt0My+na6yYTUvs+gNBbVdek3gbddBznitJRls+he0ZhhC/qwsDAEMHSQy21l1JhC1Ulj1EFMLC6nMyhZBLOzTgardIdHIhbP7OXcAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindowResizeIndicator.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAF9JREFUKJFj+P//PwOx2NjYOJIkxUDalSTFQMxPkmIQnyTF0tLSASQpBtLOJCkGYlmSFGP4gZBiBQWFIJIUw+OBWMVALMkABHZAhg1MMQcHhxeQtoMp5uLi8obyJUF8ACitf5AUaj8yAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/FIXME_ImageShadow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdNJREFUeNrt3EFPwkAQhuHdpYB403jx//89Y9SIiNAus8msTGtbjCFe5p3kS1tSDn0y3Wwv0+ScA/X3aiC4EmCMsZxvJGtJ0kQTr5VNOkkr+ZLs5O092g4seA+Se0VcShYa74CtgdtLniVPkncLuJLcSR4lt5Ibg5icItquO5Suk2z1t7fhGpj0eq14GwVsHL/G9dU9aiPV82rSA4x609Jkpfckc48nvKDdVp+/4i3GAGsX1nWvMfHcgRWvNTZpqgNr0sTR6xqYBjuTyX1gHNm6eN/KxJFj/O1GOl649rAGzj4/XyJ8ygEIIIAUgAACCCAFIIAAAkgBCCCAAFIAAggggBSAAAIIIAUggAACSAEIIIAAUgACCCCAFIAAAgggBSCAAAIIIAUggAACSAEIIIAAUgACCCCA1PUA84Vrb5UvAeZBwuDcI1ge4PU8mgm8LvRHv5Wj5wmWnUme68A6L7TkGM7DB5Pj17ZTi9bkG3LYgXXYaslCf28DAxjrBN+DwfwB2OkNewWzw1e9z1CtjfWpOYwBVuUP07Z24KrnNbAuaQVvp07tELCovugfVgbPY/fNdWHBe9XzHuBeAbeBMfBhZnvXmqXuDFjmwmubUnzK/V+dAO2XkLvQMyBAAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/GenericFile.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFW0lEQVR4Ae2bPUhsRxTHZ11X12/UKCpEiDba+dWksbFPLeneexYpgggvXUACNkEwsX+VH4UQsBBSCmktg00I8gKKnU8xUfzY1c353ezxLebtvWfXe90vB45z986ZmXP+5z9n5q53Yy64xEQlLtKQrYN7PE3jTrrfiFBHXuoNM2S2t7e/mpyc/P7i4qLOoG9WyWQyLp1Ou1QqlSvp09PT3/f29n5ZWVn5TQYDjMhKEABEP3F9fT3c29s70draGroh9/f3D87f3t66m5sb19XVNdXT0/P1yMjIu6WlpR8ODw/PQp84O2AQAKglz8/PkxiGRFHu7u4cQMAIZUV9fX3T8PDw/OLiYvPc3Nx3Mu95FHNbKB0XilqAKtq+eDzuEHHaJRIJTxgMRgwODs6tra39JB87ip7Ap6MFAJ/u4TWp89QIgMCGy8tLNzo6+np9fT0SEMwAxGIxF7XgtDIAEOrq6pzkHy9RTk1NRQKCGYDwYu0/Uu5SAADyw9XVlWtra3Pj4+Ohg2AGIOro6/g4rcuAmvsKQEdHhweC5ISfBcZQcoIJAIlKRg2MuoYfgKBMoAaA5uZmBwDIxMTEq7BAMAHgT9pwWxVgZQIAcFCi5hzS3t7uCSBsbGw8mQllBQDOa1EgWAZ6RgAUQIAFADE2NvZkEMwAqEFR1jjP+DiqovPBAAo1AHR3d7vOzk5ywqvNzc2it8hIDziexQX8wVktuY7DgP39fe9cwDZJaWho8EBqaWkhJ7ze2trKzM7OvpWmgk6MZgDUIG/2CP9w+NG5iDYO88C0s7Pj5EjuXaOTTCYdzsOG/v5+19fX90Zygpufn397dnZmBsG0BISOz7YLqPMsAQAg0k1NTTwgOXlA8mgP9dkV0OWgdHx87A4ODjgrvFleXv5R4tMi8pFOPgEzM8BnjFCbFACNPpHmEETUGxsbPQaoDjVAkSjRhykDAwPfrK6uvl9YWFgVw9IiGT8Dyw4AjMUxjT40JwfABB6OcpcIevpZ+7FkhoaGvp2Zmfl1d3f3D7n/dADEmIclwERRFpyiAAARpxBhgOBYjMO6Q9CmW2TuI7X0G5yenv5SAPgTFfTyFTMDMEyNyzdYWPdxUOfjmuhDby3aRg0gOE87wnXWzs9EHwQ/dtQBcuqyBEDtgwUAQJSVDdqWddL7CAicFgGAOssQ/Q4TSuVdBmYAdOLnqNU5jTAOPS7apvcBCwAUNMkFOP7/jtohW5sAwAAmVMMejRHJx9y5iPCnSq4O7WojOQPhFn/8igkABlAQ/AaLqu2xo/nmyVLfcz7LgHyqD/cDKYKmGPDpEDwMUz4XgMBWmGVAoGFmBii9AkcsAwWcFyAC6Y+pJgaUgU8FmUCwBAQTa00M0PVvXYsFWRuBctZOEwNMAGBjJS2BQgJlBkBBiCBgJR2yKnNAIYhWLQCSt8JNgqBKMqyUYrW1cjyKCPmXJBgRsCUfVrbC8HNAIftrqRF4yQHGCNR8DjABoHtqJS0BIwGq82nQ6jx6NX8OqHkArDnAY1Ul5YCa3wZDPQhpUqkkBqjNQXXN54CaB8CUBJVGL0tAkaiiuuaXwAsAVcTmolyxMIDXY0zfrhRlQYk7WQAosYnRTl+1AOh3GEHwmc4B+mBRSecAtTkIgKplQJDj2m4CQCJv0tNBy6G22mxZApkPUo6Ojv6SV9AS8sKS6f/upQKBHUtekUmdnJx8EBt8X5LExiBnaOfnop+LfCHCy4f/vbgvF2Va+M0xzr8XORK5EMm7jQcBIH0dL+i3ibSL8OZluS8Hos5PXP8W+UckJZK3WABAB6eJvEU/72TP2EDEYQJg5I3+M9pTvlP9C04LfFSu/LkzAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUDTheme/WindowClose.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAP9JREFUOMvNlLERgzAMRSlYgQkYhQHS0rMSJZUbL8UE749A4TTCpzgxgbskl8JnxMnvvmV9NSml5pOr+RoQ8KuTNAERWIHN9ghMQOfzq0BJjaRBUgAWYAR6oJXUW7wAQdKwnzlSOAAzcDu6lqSbpNnyq8AOCO9gHmr53Uug1WwpFKeitskrsutPNYURGF2c3HqIXc4oKdaAK9AXj5Qh7tuf6YG1BtyAtmwjDy3bBGiB7bTC4tpPCq2V1ss1lFStIRBPvbKD5Ka/+sqX+hA47kNTccopBpuBoWo98/FuvyDpwcu2j/Y/7LarWs9gedrYVImS8rSRlKeNz//NPPxb4B27qciruVGqigAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUDTheme/WindowCloseActive.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjlJREFUOMutVDFuwkAQxBhjfkETIdFQoEgpU6RCiEcQUfoD/IUaKQVvSu+7wyQkUnAiOTN7azg7REqRYr1n3916dnZ2O7asOubkrV7DR3+w853aqqrqNAJg3YWP4XvwfViK9YCGNS3V79yPYV3s1Xc1YHkOyEAJLDXFy9A6l1lrd7Bn2Ce9wTssk30fPDH+XnRGqNCJLCEK4/YLXH6y1m1tUWT2+H5vPr5u6F1xyPCjLfflXCnoE71/CajwU+McgrmNLQ6PeB/h4AR+CrtVP8G3EfeBdGOsWyjSOAwYCWeH16EhMh4+VWN8v4N/gJ/B5uof8O0Ofuz4U+eezEHS7zHtuijMv09umKYg8MFmeZ5XWC+xXsGW+j5jUDnn9lugzLRQUYgwxd92whHTAhJerg376/BdkU7svshYKFXDJaCQa8wziSdXREdkYRAJbIwg1vSn9vh2LyrwxQkQUmOUBqvpC0DOVrB1G6l+n8s5nuc9r9EGhwP5EyWiCMkZEf1AeQoQvv6CUEofcCgcaTBNc91KWziU8xT7FQ770hkUbdmssiANqmzqKvMczztf5SaH0KHoCbpCd1DUY5XGDx3qz8YifuqW+vW9H/3SKXajQa92imSgnZKjU0RyYafI6CpbvUykELlwRCmxmiiA58z3cu7bbqD3us2AJ0k71k2ZNr5zQDj1qdOGhSNnpEeRJTKlyta0CeehBu4p0alKorbUtOZhOHDD8XWeutcmtmYQaRM0JnZ4VwLy8Z/2DZsA2rU7q2ERAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/slider_button.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUWMPtl1EKwCAMQ3OeHc+7+539TNC6QZWWfMxBYCjSh6YRQRJK4QDYgVIKe6UD2IJPUZLk21y00BdsRd/+M74BoAKswATQxqN1ACYAqQekXSDPgdUF0YDY2bbII8Kq0SJNOgBchEsWwLvO6gB8BpHEA9IukOdAVsJ5QZGZ856jQtaN5zHrAADEygLY+QOwHUQpHpB2gTwHfv84vQHcG1BmjzmkMgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/slider_button_h.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ5JREFUWMPtl1EKgCAQROci3cl79rcXtAwE3YysdpmPVngQSvjAcSLknMEEIaBHSim3wHvoDQsicjBaswbthnXT0bMHncC6x6GgBeq8NSFwEqBmgHoL6D3wtTdciugOyyPC06BZhrQTWARTaIHZ9zQhcFlElAxQbwG9B+iF5dnzM0cFry/eTFg7AcAWLaDXQ+B1EblkgHoL6D3w+5/TDQIL6kKVaIANAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/standardApplicationIcon.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAM31JREFUeNrsXQd4VFXaPpmZJNPLnTs1jRIUERtiaCoEWKQoJaEJJIqhBsVC1RWxrO6669pd3fq77q6666pr76hIh5BAQgglkAbpCSQZAqTMf8+dc29uJpGamTPle/N8j5MhJmfOPefrJcLtdiMAABCeiAAGAAAAAwAAAMAAAAAAMAAAAAAMAAAAAAMAAADAAAAAADAAAAAADOCC/0BEBOwyAOAD9MTdpc4AfvfRVniSgYVeHBXBNvgHq6YMo8oAZPAIABIYOcoh/wWEARSwBWEvgSIk2tgD/eIchkOl5Q9w7z8heR8cRSEK0AAAwjmQcyrl/GgDg79/4P7n/88M5wMYgB/gBqJERPrjM6B46p2v73FY2XhFZBSyW8wG1hGTQjREmefnYL98Q2FuAkAUkjrkHEVFKdWPmsxm/g0DY0ZRlVWPci/fIT9zFp4TaACAEMLqqcMjyOWPXPWHd6fZWCYuWqXmpZJKrUb4+5WvviNoAXLy8wBgAIBQk/5GszXTaGY7/QP+3mSxLeVeRpOfAwADAISQ9Ocdf8t+88fRNqtliEaj62Sa4u/x+9y/Jwu+ANACgAEAQkz6O3v3W8WybLc/wDAMssTEz8FmAmgBwAAAoSX9FamZa/vpDYYhar2xW/+01sggs8Wagn9O0AJgB4EB9DAgFEQh7ISfe9Q1w0eusbLmcz4du5VFVyeNwL6AqA4zAPYRwoA9df0hvORvYA1AMXP5o33NZkuqyWI75w9rjWak0hlnjJg049ebP3vvDPdWG/fM4KmBBgAINqyZNkJQ/6OuumnEwzYre14JJZfLUK84p3bktLmZxBcgI78HAAwAEIzSn5PmVqVae5vOZL6g/wknBmkNxpnIExJUkN8DAAYACELpH4mleUKsUyuXyS/ITFUoolCsw+5c+erbaaAFAAMABLH0Hzl1jlXPmDNMrOWiXFV8YpDVsRB5nIEQEgQG0FMAT7CvSSr9h02YlhbvtOtk8ovz/+I0YSvL9F/y9GtCYpDc83thfyEKcDnXH/zJ/gKf+KMzsQs5uqRfwJgtyJ7QdzH38juOWpAnIgAADQAQqFibcrNY9LPy1XfS45wOZ1R09CX9Lq3BiEyMeey0xSshMQgYACDIpH80Y3OuMPIlv5eusuLQ4TXDk9cQX4CMMBgAMABAgEp/Pu33/uffnGK3mmOilGre7LpUMpqtyGBiUoZNSLEiCAkCAwAEh+1vtscuNjJsj/xCu9WCklPTcHpwJGgBwY0AcAKCF8kXeDj1FlH6L3nm9dF2K5uk1up65HcbzBZcKJTBvXyGo7MctbvhQYIGAAhM6W+L673EbLH0nNRQKJDTZtU9+NI/0gUtgDAcADAAQAA9W0XKktX9GIYZq9H3bKt/nB5stsc8hCAxCBgAIGDV/6irh41cY7WwvKnVk6RUqZHDZnHe99zfphItQA5aADAAQGCAT/udcd8jfVnWkmpkrT75I9ipyDrjFoEWAAzgMgDpoD1JEukfeeWgoZmekl/fADsVWcaUdNcjzw4iDID4AuA5QCrwhV5/8B37RPoPnzjdptLqZ+CGHr4Ep2GguH5X45DgLo5aER8RgIcAGgDA73hk+q2i9L916p2ZCbExOplc7lP5pWPMiLVYUqYtWSWkB4MfABgAgKL0l98y5U6rzmTOMJotftFibVYLumrwzUJikJwwIgAwAAAF6R81ePSkKThOj6W/PzgA7h6s1htmcGYHpAcDA7hoLwBQzzmT+MQfxmZfoTcxfnuCco7RxMfYtcMnpc4jWoDMw5DguYAT8HzXHxxGl41fzhgplvw++PI/+ZJflVrj1zXoTSzSM5YF3MtXkJgeDN2DQQMA+E0Q89Lf6lxhYFi/y7HI6GgUF+NwcgxI7BtIGBMAGADAx9KfT/td/KvXklnGxJf80tBm9QYGawGzESQGAQMA+F/623slrjZdZsOPyyGlRoNLhZMWPvmKOFAUtIDABpQDBzEenTlKlP6Lnnp1NL58OoOR6prMLIts8X2kfQPb4RmDBgDwsfS34pJflqXu08aDRnH14eSFD0HfQGAAAD88P8XUxSv5kl+13hgQi7JaLWjg0FFi30CiqQCAAQB8oP5HXj3k1jX40gVKaFtnNCOlRjtuyG3TIDEIGMB5vQBAl5ZAwhf9pC5bm8ip/ql82m+ArA0PFE3gB4rOEfsGehgWPDdIBPK+/uAfumism5UsSv8+A2+cxxLbP5Bg5PsGmr36BkJiEGgAgJ6Ap+R30gy+6OdCp/z69WDJcd9Ai275838XE4MI4wIAAwD0hPQfcfvMZb3jYnQKPOcvALVbPceY8DASBIlBwADAB9Cjtj8/6UdnYjL0DBuwhwvXI1jMJmfG+hdGEy1A7mFg8BzBBwA+gIvGY7NHiyW/97/wVprDatFF8A0/AncTcd9AR58rVyIYKAoaAKBHwCf+GC32lXrGHPCL1RmNiDWbk+ateUbsG0gYGQAYAOAipT9f8stJ//T4GP+X/F4qLBYWxSYOWAq+AGAA4APogYYfBtayyIA9/0GydJwYxFrYlCkd6cHgBwgQHwB1BnA5k2rDhR6bPUYs+lnwxMvJFpbtH6lS8bZ/sHxxa0aJ1yfNFZyB+DPBswUNAHCRtr8toe9qhmWDbvFaTmPBiUFDx8NYcTABABeM9Xd2kv6jHTZrkjZAin4uBnigaKzDqh085vbJhAHIyGcD0HwugeEDAFyI9Dc7Y+eYGCZoQ6c6I4sYuxMPFP078qQHt8HzBx8A0LltRD7td8qilYlmsyVFY2CC9rAp1WqEG5be9/s3cXowHxFYf+fYCPABgAkA6AaPzxkrhv76Dx6x1m4LnIq/SyWd0YR0DAt9A0EDAFwAeOk/dclqvuRXb7YG/QdSarTIbrMmZTz+0ijBF0AYHQB8AIAO6f8LScnvDfMsFnPIpE0zDIOwP4N7uQGRvoFwDsAHANSN7T90QqoVh8+0RjZkDh32Y2B/xqR77hf7BoIPAEwAAMETczuk//BJ0z0lvwr/zPnzF2F/Bm5lRnwBMvKZAcAAAEhS8qvWGWfiJJpQS4BV476Bar5voAVBYlA4MwDIB5eSRPpH3fvc39JinXanXBEZch9VLpOj+LgY7Yg7ZmQi0jHI89mhFiCsnIBQG94tSNGPfaXRzIbshzSYWKTSGmci6BsIJgAAoSfnjRNUf8Wy5/6WHh/rcEYpVSEr/eSRCn6gaOZv/yr2DSR7AAAGENbSP1pvYmdrjaaQV4ANZjMyWR3QNxB8AOFNRPLh5yGfv/6FZJvNkqRUaUP+o0dFq5GFNTnvXvf7ZKIFyD17AT4A8AGEqe1vi+uz2swP+ggP4L6B9oTEVciTGMQXCcG5ABMgbPBU2m1iye/sFU8Nxj30VHpDUDX8uJwvrcGIDAZD0sT5yxOJUJKRPQGACRA2aiAf+otNvHIpnvIbbltgsVjQgKSbxcSg8DkboAEAPEkwkXcseDDRzFpSAnHSj8/NANaK9EYmZfDYO6zEFwAaQDgwgHDP+X8qbbxY8nvFjcPX2qw2arKota2NJ1p/326zouG3zxITg/DeQC0AaADhIP0VN42bYtUbTKk6PvHH/9evtbUFZe/Y1ooJv6bSK4Bhkc7IZOC9QJAeDD6AUKdfpY+XFP3MyHTghh+UllNdWYlyNn5Vhqm2uprKGvCMwxiHVXtj8sTJghbg2SPwAfgKEAYMAOk/5LZpVo2BydAxdEJ/bZzaX1Zc1PrT/94uVev0iuETp/ey2R1U1oL7BhqtnfsGQkgQTICQw9N3TRCl/9CJ0zN7x8fq5AoFFRlUU1ONjubnVJ9qPNlcc7y0MW/7xvKamhoqa4lWq5HTbnVmPPnqFKIFyMleAYABhBz4tF+VVj9La2SoqaFY5f/hvTcLuG/OYNr+5QeFtdVV1NZjYMzIbI9ZhCA9GHwAoUhEovGe/6XP/jktLoZeyW9tdQ3K37mptPpYcQ33ThOmkoLciqIDeTVNjY1U1qTS6Pi+gXc9yqcH84lBnj0DHwD4AEJM+uvNtpV6hqV2FGo46b/9yw/3cS8bODpN3lbm7/ipsP/1N7EarY7KuoycFsDYY3DfQGGseDv4AsAECHo8c/dEseR3yW/+nJ4Q63RGKdVU1nKivh4VH8qvKsrPKea+reWoGvMEjuq3fPLvPWVFR1xnzpymsjaNwYRwUtTE+cvFvoFwesAECBWVj5f+OhMzW2MwUstCwXb+1k//k4V5gYQBVBEm0JC3ZcM+3hdAaX04MajfDUOEseIyD/MEEyCkGEA4Xf1n7p4klvymPfpcss1mS4pWa6msxXXKhSrLy1z7tv1wiDAA4fILDKB+2xfv7z1WVtpCKztQZWCQSqufMfgXk8W+gXD9Q00DCL/2b56S39jeqzkVl9q2Y89/1ref7OZeNuLLTi69QFgbONF0oq627MC+ktqaajpOErkc9YqL0w6dMF1MD/41ZqLAAcAHEGz49XxR+ivGpy+7wmAwJql0BiprOXv2LML2/aaP3tlDnH8nCNURZoDpJP63H/775lY+M5AScGGUWmfAfQOjEaQHgw8gFEp++9908xqLleXMXDcVwnb94T07DhHpf5Jc/pOEGQiEv2+sKC6sOHb0YGV9XR2VtcoUuG+g3bnomTfEvoEeZgoqQGj4AMJs0s/E+ffzJb8GSnP+WltbUVlJccuP77+1S8IA8H9xDoCLUJOUCWz99L2dtMwADANjQXqzdSGSJAZBNSCYAEGD39xzu9jr/4pBQ9fabPSGfGJ1fv/2jfmcfV8nkfqYAZxCnjyA0+S1wAQasKOw6niZ65TLRWXNkUoVslks/eeufVZIDJKTPQVcJmA4qH/AS3/c7CJapb5NpWeocf+62hq0e8OneRLp30CkPr74Z8laT5P3BHOgift/smIS+twap9ZQWbeJxX0D++C+gUJiUBsMFA0FEyDE6Tf33CEW/SRNSM2Mj4/TyuUyKqupqixHBdnbjnB2fTm5/IL630wufxu2EsjrU+TfeA1hz8av91dWHGuh1StArTMgvcGYNC49U0wMwnsLHoBgNwFC3/fnKfkdn2LVGpgMo5lu6O/H997c7mX744t+hlx8zADaiYQ9I9UCGutr6wq2/7SPZkQA9w3sf6NX30DgABAFCFR6NqND+t+QPDEtIdahQzI5ldXU19ehY0cOVlWWHKmQOvgkDKBd8kBayXunpMwia8OnudiEoDZEhO8baEwZNHqSpG8gcABwAgY2+MQfrZFZqDWaqbmb6zjJve2L93dILn8DcfSdFqT/mr9+7MYk0QI6+QIqOdPhQPa2wnqOCdD6HA67DQ2dmComBj2bMRmcgUHtAwjRsB85mHzJ74KnX0+Pi3E6FVHRVPYYe+/Ljh4+kb/th8Ju1H/B9peGpgQtQGAA4v+zb8v3+XW1tdTOi9bEIo3BfA+SJAZBGBA0gECW/tFGi32FUPJLq+NP7ubvciUX+aRE+vNTeVf/5WPv49hGtIBm8rONPAPY9sOhY0cL610cU6HxWXDXpBi7TZfx5GtiYtBvF4AWAD6AACJyIPm037vXvzjFabXEREarqCwHS/9jRYWuLZ+8myNR/5sktn+b5yc7/qfVf/lIMAMEX0CTxGxozNvybS6txqGYcHqw0Wp/CHXqGAQ+ADABAkut421/o8Wx2DPog1a7ryq0e8Nn2ZKQnlT68402Vv35I/fPfIY2oiE0S5hA4+aP380p45jK2bNnqHymaJUKOe02513rXphKtAD5bxdMiQATAEwA6vjdwimi9J+z9tnRDrstSanVUbn+La2tqLL8eMven74p8LL9XZLQX7fHEDMFCQOQ+gJ452Hh3l0HcXowLbmp55iqyeaEvoFgAgRsw48oa1yvVQye80cJNVWVqGAHn/Zb6yX9mzuk///c5/ksAhOQJgY1bPrfP7M8jUPpADNVlmWSUu97dBDZb5mH+YIJABoANek/VZT+t6Vn9jMYDEOUWiO1s4Uv6KaP3s5CXdN+zxAGcM4T6GEOYkhQMAN4PwBmKoV7swqrKyqofT6WtSJHnyuXghYAPoBAsuf4op9+Nwxfgw8orZHbOO33MHdBifTvLu23/UL2XxISFLQAMYlo4wf/2FbDMRlan1FtZPi+gePSxPTgCPABgAlAU53j034nzF/e18yaUw2UO/5s/OCt7V6hP6HiD1/o9pV/+tB9vs/k+RmeWXg7AxsqSwrLjx89VNnY0EDtc+LKysTrbloqOAOfWzQ1AkwAMAH8jucWTRNLfnsPvDHTZrNRO1O40reoYG9ZVUfab4Mk9Ccm/lwEpCFBqS+gae9PX+/1NA6l81lxZSXuG0jSg6FjEJgAdBt+4IOoVGtnKvUmaqox9s5nf/+5NO4vOP8Ez3/7ij9+6L5INdVbC+AZy+4Nn+2rKC1xuVxNVD6rTC5DcbEx2kFj7phHtAAZZsZgAoAG4Df8frEo/SNvum1aZu8EXPJLxyeF1fGigryq/ds3HvYK/TWjjsSfiwJmFqhzZmCnXgHZP3y2m2bHIJxnoTWaFxBnIGgB4AOgYvvLbxo31aoxmDJ0Znqhv9qaKoTV8m48/0Lor23FHz9wX6Kt2l1IsDF307f7q8qPteApwzSAayziY53Oe558VUwP9jBl8AGABuBz6Z8i2v4DR4yZgvPUIyIU1NJ+Kzl1nFP/81HXkt9Lsf0lWsAHP1cleBJHGorydh+uo5gerDexSMdYIDEIfAD00n71ZtsKLaeO0rL9cUhu9/efZ0ttdOSV+PPQGx+4L+OzCqaA0CxE1AK2ffH+LpohQYVSiawWtv+slb8SB4pi5gw+ADABfEbPL0kRS37nP/FKeq84pzNaRWfOH+72W82p4ds++88e1Lnm3yvt99I/70NvvC/1BZyWMhoccSg+kFt6or6O2kkycaYXG5OwGAVVkRCYAMEOXvobLJz0N7LUzlFNZSUq2LU5H3Ut+ZVI//fdPcSxW1HXxqGNOT98kUPTDFDrjMjEMGPHzlkEA0XBBPAtPb8kVUz7nbXqmWSWYWIUShWVs49n9x0rKWrZ8tE7u7qR/mcF6d+DKqt3rwCeAeDIw7Eier0CMFktNtRv0HCxbyB+TmACgAngK9WNl/6WmITVBoaltpa6mip0rHB/SdNJsehHavvzab8Pvv5fd0/8Lc/v6ZQY5JI6HPdt/T4XRyJo7YXaaEKcGTbuupHjJYlBYAKACdCDeGHpdIn0f3q002FL0uppFv1Uo03/+9c21H2v/1bU0fCzJyHtFdDhDPzsPznYF9Ha0kplL+QyOUqIj9cmjU8R0oNl5HkBwAToec8/Y49bglt905IfOAHnYM6OI1Xdd/vt0u+vJ+iBP/zX2xnYKTGoYNeWfdVVlfR6BZhZpNabMlAQ9A0EDSA41X9e+o+du7ifiTGNVWr11NbCd/z57pMc1H3DD77P/wN/eM/tI9W1u/qAxi0fv72rtrqS2p5EcFpAjMOmS3/sRTEx6MXM6RFgAoAJcNl4MXOGmPabeP3QNXzRDyXgkFtpYUFVcX5OsZfzTzrpxyfwMJUuiUH833edrK89kre7sI5yerCBta1AkBgEDKCHwRf9jEtflmhm2VStyUJNfcS2/66vPtyFOjft7JT2Sy6qL9U3qTNQ0EKasr/7NLuGWx+tvYlSqnFikHP6g0+MJlqAnDBvAPgALo2k0r/X1YMyrRSlP077rS4/5irYuekw6tzww2e2vzfd/9p73fUK4H0BRZxWUna4oNLV1Ehtj3Ardmt835UogMeKgwYQhA0/rh81wabUaGeo9CZ6tn9NFdrz4xe7vTz/nbr93v/af9x+2JP2brQA3hdwOGdbAR4lRmuPtHoDspiZpMlL14p9A19aNiMCfABgAlw0Xlo2U5T+N/5iSmbv+DidDM/5oyA1zp45i44XH3Ft//y/3mm/0kGf/jxd7d2HBN/Lxus8ffo0NQnLWKzI0bsf9A0EE6BHGn7wk35wiEnL0Cz5rUZHcrMOdSP9xbTf5a/+x+2PfcF/p5uQoLimgh0/5dGcKKwxMIgxW1JG37k4IPsGggYQBKr/y/eK0j8Kh5ZiHTZdhExBZbdaW1vQ8ZKjLVs/eXcXOmevf7+rsUKVYKchIlnffry3oqyYWq8ADKvVgnpdfd1cwRnoeZ5gAoAJcHHgE390ZstKDcWSXxz3P5i1Jd91ki+7E8d1SWz/tuWv/tuvJ4v8PcEXIJ0lyIcEjxceKME+C1p7puS0AA2ntV03agL0DQQT4OLo5XtniSW/aeteTE+IjXVGK9XUBEZdTS3as/GrPPTzab9uSqpsd+3Deea0+eO3t9ZW0asSVMgVKCE+TnvdyAnzCAOQ4ecKJgCYABeqonmkv8m8SGtiqO1UNd/rf8eR6tKj5aj7Xv9ttPb0vlfelYYEpb0CGrn1VpQcpNsrAPsCuGeH+wZGo4DqFQAmQMDilftmi0U/0x96MpmzJfsrolUU1f9qtOWjt7d72f5Sz387uYi0IJgBp5HXEJG9P361h6YZII+KQgmxMc60dS+kCREB8nzBBACc3/ZnYxJW444ztATFybo6VF50qKq6rKi7op8zyDcVf5eC7iYKNxzYtelQTfkxF05gotYwBPsCjMxsBCFB8AGcj6TSP/XBJ0c7bLYklc5IbZ9w6C/rm493oM5x/yaJ7d9278vvumnuGf77XlpAp4nCezd+nUUzJBit0iC71ZbEPc9Rgi8AP2fwAYAP4Jy2v8nqmGNgzNRWgjvsHC86fIKTooXdqP9Ubf+LmSi844v/5lSXl7W0tLZQW53RbEb4eaKA6RsIJkCggk/7HT1ncSLDsim89KckJuqqq9D+7RtzUdd+f6fJRWu/9+V33IGwaWQd3bUP57WAQ7u37qvjR4nR2Uv8HPHzHDUzA/oGggnQPb26/E4x9Nf7msFr7TY7tf3BNvOx4iOunV++Lx311SSx/dsQpdDfBYQEu50liEOZNIGfZ9/rh4p9A/HzBhMATADkXfQzZu4SvuRXbWIpdvypQrk/fZUtuURS6c+n/S576W13IO2fZz1dEoN4zQWHBAv37ijERUK0Vhitx30DVeOuHTnegqj3DQQTIKDw2v1zxKKfuCsHzrNY6I34xmm/uL9e/tbvC9A5034DEm7CoIQqQTEv4MDOTfvq62rohXXkcpSQEK8dNOb2TEQ6BpHnDiYAwCP9rxs10YqLfvD4aVq6NO71z9nMOO231kv6N3eW/oEHiRbQpUrwwK5Nh0sO5Fe5Ghuo7a3WaEZKrX4mkvQNBAZAxQfgDhiSSv/rkycu65MQp5MrFPTU/+pKtP3z97JQ17TfM4QBuANp/7yJMADpKDExPbhwz479NM0AmSISxTmdzjsf/l2aVAugsEegAQSY9Cclv8YMbPvTAk77LdqXU0ikf3dpv+1BsqfdJQY1Yqcm7hXQcvYstYXh7sEG1hrWfQOBARD84YG5YsnvnF8+lxbrsFOb8ssX/VRXo62fvitN+z1JPOpir//MF//lDuQ9JevrbpYgb8oU78s+WMuHBOnssSJKjaws65y2/LFkogXIyTkIGyhoL8AdWEeYFP1YVqqNnpJfGsCVviUH8spqOtJ+hay/Lv3+glALEH0B2Lzpe/2wgazNHokdczSgY1hkjum1inu5QdjbINrXUNAA6IetXn9wrhj3v/OR59IT4mKoTfnF4EN/m76Rxv0F559Y9LP0hX+6A7+S0o086xQTg5qlvgBs3pQfLSip40eJ0YFGb0RGgz7p1hnzE4lAlHnOA4QBww289NcYTLPVBhO1RTQ1nEQlB/OrDmVtPow6h/6aUUfiT7DBu1dAhxbw6b+31VGsD8BgrTbU97ohYmIQ+ADCSP6//uA8sehn6vL1yXabLSlSqaHmOa/hbOL8rd/vRV09/2Kv/yWcVA2mXspLOrSALlWC1WVF5eXFhZWNHOOjtec6xoLMFkvKqNkLE4kvICI85H8gcLvAaMnCq/+sM241w9JL/MFpv5VlJa68n77OR+eY8xekAxW9ewWIQ0T2b92wl3cGUoSFZVHcFQPnEQYgewMLhjDIBQ5rE+CNh9JE6T9hwYrBLMsmRWsN1NaDbeG8Td9kS7zlXbr9Lnn+H8HsohIiAp2qBHN/+joPMz6+VwAl4L6BOPR7zS3jwqpvIPgASOjPlpC4lGGt1ARka2sbqi4/3pL19Yfevf6DIe33vCCMS1ol2KlIiGN8u3GVIK39l8sjUazTqR0wfPRkUQvwCIiQRgCEAameafyAI0fOWsCX/Hqcf3TW42pqQDXHiyv6DxlpilKpz6q1BrfWZFbrWZtdozc2K7W6szKZ3O0O4hjVwt/9X0R7a6vsVOPJ6Kb6Wm1DXTXjOlFrb25qtLacbm5obaPL49RGBunN1oe4l39HYkgwtGOCEb7+gBER52aii3//FpUP/scV6RGEAarvfur1vw64emAqzcw/jMYT9ehMYx0KS0TIkVJv4sd50URNWRHKzd614P3n1/2baCpt3Bl1+/AcUhWeChS+4BnAQM7m0xkMqSpS8ksTcU4bsut7heXDaG13o0NVDdSfgZY7B0aLfRH38n/EXGkL5X2nbwJQ+Jt/8kh/vujnuuRJmXa7IyCs63rXWZ4A9BCt1iK73Z405b51oz565akvMW/ipHT7Ih9qAWHNACiFQnjpf82tt1nVOkMGtv2C2L8G6GEYTQwyWOy4b+AGogW0oxD1BYRdFOBPK+/qkP6jJmb27ZWgkysig2pIOZDvOwaZzZYUaXpwqN6HcA0D8iW/So12VjTFtF9A4IIzA1DCgBuEseIyIjiAAfS8BeC/lE/yEPmsv5mrf5MWGxPjlMujQOQBdaEonQn7A2YMvPkXYt9AaAgSQtJfx7ArcSmoG77gq5svmVyGevdK0F7LmYmIJAb9edXdEaABBCnIw8OXX8FJ//Re8XFOPOcPAPg5qIwMUml1Id03MNw0AF7645JfJafigaoLdC7C5mFcbKxzxqpfp4WqFhAWqcB/WT1f8PzL71j2y2SbzZYUpdKAiAOcFzoTi7Qm80IUounB4aQB8A0/zA5PyS9YufB1QWPFo5XIZrX2v33pw8lEYMqJQAEGEAyQSH/FiJT0KwwGY1KU1oAAgAuF0WxBbEwC7hsYch2DQn42oORzRvW+5qY1rNUK9i3QRZGSExh6TnCMmJYuDhTFggVmA/YMC/AxedJ+b5k+H8/5S9EyVjjTQBdNWHD0vnawV99AaAoa0PjrmnvEXv8JVw9aa7Pb4SgDXRLhvoE6gyllwLDRVhIRCAk/QKj7AHjpf/WIsdYopeo2nN0FAFwqHA47ujZ5kpgYRARMUCNkw4B/W5shFv1cM3J8Jp4GK5PJkRuK/gCXCKXBjFQ6wz0DRox9LX/zt6XcW+3uII8JhrIGQEp+x1tVOmMGVuEAgMuSlgrcN9Ch6z9kpNg3kAga0AACCVLpf9Ww5LTe8XE6JJMjqPkHXC40RnOXvoGgAQQm+MQftd64UKVnwI8F1DNVgko1inE4nFOWr59CtAB5MGsBIecD+L+HF4glv6krnk6Pj411yqKiQfYDeloLwH0DP0Skb2CwugJCVQPgi360jGWFhnKnX0DoIVqjQ3iIzJj0e28kQlRGBA9oADRBHgKf9otVtBiHLUYRrQTbH9DjMFusyJaQuIR7uRMJfQNBAwgc259T0RZrDGxQjtEDCnxS6hnEsJaUESlienAEMIBL9AH0BEml/8Qla0fj1s7RGi2IKoDPYLPZUWz/63DfQN4ZiM8gtAQLAOnPOOJWmVgrnFCAT4EzS5Vq7Yyrho8J2oGiIcEA3nxkoSj9h09L72cwGIZEaXQI4lZAviS5XIZwhumA4WPEseLkLIITkBIzi0oYOGgNa7FByi/AL1DrGaQxmBZwL19BnsSgdhREXudQyQPg035vTp3fl2HMqVrKab/HS4sQHnUN8D0YixU5YhPOO4TWZzZnVDTCuSbTHnwq7cMX1v2Fe6uV0wLcdz39JzcwAD/g779cJJb8xl517cM2POePIpoaTqJDe3ad+PS1X+XA9fQ9bp5+T+KI22fEsjZ6zx3nmmiMDE4MegsFWXpwKPgAeOl/1bDR1qho1W2ROhNVy7C2pgod2PZ9MfLEhvFhOAPkE8J725K38YviWk7bovnM5dEqvm/g+IWrhL6BMiKYQAPwk/SPHHjr+MxevRK0cpmMWq+l5lMuVFVW3Hwoa3MZVgUJtaNAaf8SGoggxHd5PlFVfqbsYF6VzRlrNZgYaovCfQNN9tjF3MvvUBAlBgW7D8DT8OOWcValVp+hNdG1/euqK1H+5m8KsCXA0WlBShGVEBhAzzEAGTm7uD2Xcv+W7w72HjiIKgOI1hqQ0WQaO3Ty3H7bPv5XHvLUB7QBA/AR3np0sSj9EweNmBIb4yQlv3TQcvYMKi85eipv41f53LcNHDVydIqoq63AAHr83OLLr+ZIV7xvd2ttxbFBdmecWqWhN+/BarOjhIE3ruEYQAY+EtwZbU//1R/dwAB8Bz7xR8ewK9QGM9UbVltTjUr37ynkXtZzVIPf4ugkYQJBmyseoBoAjrnjuW56jrDYby3YumGPPb73sBhNH2oLU5tw30BjypVDRj18YPsPpcGg+QUlAyDSny/5nfrAk+m94uOdUSoVtb1ua2tDFaVFLXu++ySLMIAKjqrIaxcxBUAD6DlEEQZgIsxVfjhry/6BIycMtsXERuLOPbSA+wZeM3LCUo4BrCdagDuQtYBg9gHw0l9rYleoDAzV61VfXYXKDuQWnmo8gSV/HUfVHFWS1y5ySIEB9Bwiifp/VjDBub1XH927M98R1+s6qyOG2sJw30Dsj+JePkPWF9B9A4NOA/jHuiWiEwiHXSysOYb2lF+c9JO38cssovLXEaolGsAp8AH0uAmAmf9psqeYGeCqLz0ndfcOGJpMlQFg7SMuxqmbfN/69I9feeJP+NlzZ9ad9tQbbmAAPWz7m+yxq3GzT5o7W1NZjorys4/UHS8pJwwAX/oTyOMIxNEA7ARsD9QDEIzgLpSMXH58DpRkv434GXDPotDiiOlrNNNrBKPitACd2YL7Br6JAjwxSBZkD14q/Uc7nY4ktd5IXfpnf/3hdnLZT5KL7yIXvw0uv28sR2JWnSF73Uj2vfFozvb8E3U1dB0UKjWyWizOcRkPjSYaipycXWAAXZ/khX9Jpb/B6lhixDn/FLtCnKyrRVWlhVV15aUV5PKfRB3hP5Hzw4zdnv2a99Tr+DC0EyZwmjBfngEc2bP9UEXpkfpmVxPVs6FjWMQ441cSh6X8584BaAAXN0aNl/5Dp8ztZzQxYyM1errSv6YK7dv49U5y6U9K1P7T5HC2zXvydTdUzvqAPAyglWgBAgPwMIHdW3NxUhZNqHVGZGEtScnzlg0iDED2z3VLIwJsNGDwmAD/fGypmPgTP+CGNTjpgub5O+VyocqSIyeO7t1xmBy8bqU/wKdoI3vdLDHBGvd+/1lOdcXxlpbWFqpnhGGtiI3tvVSqBYAJcHneX8XwlLsSGbMlVU077bemEhVmb8v9GenPh3946Q/wCcjeCgzgtJcvoKk4L2tfPeWSbKWBQXgiNdZYUYB2DAqK8eBS6e/sd3WmzW6jumJsX1aUHHXl/vBZjoQBSFN/SQYY6Oq+tgMkTOCUhAE04JBgfW019dNtsVoRd2bnCs5Az1mG8eAd1/8CfCqC9L9yaLItSqWZEak1UXXwYPuSO2DZkst/0sv2b5/7xB/c0D3Xt4T3+OecgTgkWJyfU8j7Aiguku8bqNFncGdX7BvodbbBBDgX/rU+U5T+A0b8IrNP7146mVxOTeZguxLbl4ezNhd4SX8h9AdJP/5XIQVn4CnJM2kq2PJddh3tXgGKSNS7V4K2/9DkeYQByMiZBhPgImx/OXf5rSqdIUNtpDvpp7aqEhXn7spvbjxZK3H+NRFHlCj94V76BxItQOoM5M2A44fziyuKD1e6mhrp+gL0ZqTWG3HfwOhAcwYGNAOQSP+ovoOGUS/5FYt+NvBFP1LnnyD9IeefDtqJL8A7MaipND+74ARlX4A8KgolxMc771j+eBoiEYFA0QIC3Ano2T/EF/2Y+ZJfmqivqULVJYdLiPSXJv40o46OsOCco+sMlGoBfEiwsuSoC/droAmV3oTUOsNs1CkkCE7An/Wf/Gv9MrHk94771qdjDhqpVPXYJKFLIaz+Z3/z0XYv598p4oDi23/Nefw1cP75mfCeEwbg7QzkzbOyA7kH+b6BFM+OQqlGNrs9aVzGilEdvoBlEaABnEd7whxTbTAtoi39T9TWoJL9OUfqy0vLvWx/SPwJHAhmQLPEDGjgTLZd9ZQzAzFwC3ODxbEEBVBiUEAygLcfXyYW/XAcM9lms/WXUy75xQUmR/dsz0fdJ/6I0h/uIB2QvRfSgzuZAZzJVld2MK8Qm3A0EanWIyPDjL3p9tlCYpAMGMB5pL/RFrsad1yliZP1dejY4YKqor07D6HOab/NIP0DCkJI8KyXFtBYsHVDdiAMa8Ep7PEDBq0hWgC+fxFhzgA6O3Q6S/+HRjud9iTccZWu868S5W/6ahfqWvIrhP7a5jz+KmT+USbPM+gSEuSfV/nh/KKK4kOVrqYGqmcpWs+gKKVy3BVJtwbEQNGAcwJKpb/WbJujM7FUHUynmppQbcVxV1HuLmnRj8AAOkp+wRkXECQxA06jzunBTaX5OQX1NTVU1yeTyVFCr97aATePE8aKU9UCAtEE4NN+h0yem8iY2RSP9KcnVXDRz8EdP+5GP1/y237n+lfB9g88Z2CLty8g94fPsytLj7rOnmmmeqbUBgZFq3UzkScxSAEMgOCdJ+4VQ3+x/a9ba3fQnfOHY8eVpUWuvB+/2OMl/aHff4CCMON2CQNwoY5eAU1Fe3fm0fYFyBSRKD4u1jlp2bo02lpAoGkAvPQfOjUtkWHZVKWBbtpvXU01OnYg9zDqWvTTDNI/KLQAoUpQ7BWwf8u3e6uOlbTgrE6a0HKmLe5ojSiHBAPGCUikP1/0Y+9zxTxcRkkTra0tnPQ/2rL3+093oe5Lfon0B+dboNGd619xe/kCmgRfAM7irC4pLKEdEvQMFGWdY+c/kEy0ADkNLSAA5gJ0lv64bDJaY8jAJb80yyXrqqpQUd7ufEnab4OX9G+b/dgrAdzxPewhDQmekpgBjTnffbyVMzH7mq10TUytkUVGe9wq7uUGRCmcHBAmwLtP3idK//7DRi9L7NNbR3O6CwZuJnFo58Y89POJP3D1AxiYOaOOkGCnXgH15aUVNWVFlU0NJ6muEdcHGAyGpMGTZiWijsSgiLBjAKhj2EO0UmvIUPJpv/RUyJrK43jOn5D2213RDyT+BAe8Q4JiElfh7s17cISHtrlisdpR3IAbpIlB4aUBSKR/FPaKxsXEUC355dX/6iq057tORT/etn87kTCA4HEGduoVcHDHj/tqjpe6zp45TXVxGsaCzKwlJWny3ETiCwhLDYBP/NEYzSv5OX8UgdN+q8uOVtVXlFWgrt1+zyCY8huMZoCgBQi9AjA1FeXSDwliYIe3vU//eYhCSJA2AxDj/pOWPZreKyHOGalSU1XKcNrv/s3f7ECd4/5S279t9mMvg/c/+BuHNhZs+W5P1bFiPiRIc4WROhNS6XQZVySN9Ht6cCBoALz0V+lNi1R6M9Wz4mps4It+inN3FXaj/kPabxDSrHUvSxODhI5BPGPHEZ7jh/IP81oAxXOnkEeiWGestu+gEZP9rQXIKEt/vuhnzPwHk+2BUPJbW4NK9+ccQN13++U7/pADBQgueDcOFSMC+Zu/yaoLgF4BKqMZaRl+oKhf+wbS1gBIyW/MaoOZbuIP7vWP88T3bfwy+2ds/zYEob+ghJcW0Kk+AEd6Ko4eKD1ZX0t1jVFKNeqdEO+cmPmokB7sl8QgWgxAlP63zF58o4Vlk6K1ekS76OfQzo3ZqHM7KReSFP2A9A8ZLaBTfQD33Pd4MgPp+iuidUak0htn+1MLoKkB8KE/NrbXUsZio7r1uNd/bcXxFk7670HQ6z+U0d0swYbi3F2H6iqPu/C8R5rnUKHSIIfdnsSZxKOQnxKDaGoAkUl33Okp+dWbqJ6KuqoKVLIvK19yKLp0+5217iXw/AcxeZ5fp4nCLgmzx1pAVn0NfV+AwcwivdkyB/mpSEhG6fLzoT/nldeutVEu+RV6/ef+8HkWOkfJL1yhEAkIdtYCxMahR7K37q+pOEa9SjBKa0RGsyXlxokz/dI3kBYDUPS7aaRVqzOkRutZqqcCT5CtLjly/l7/cIOCnmY++pL3LEFxiAh+/uWH9x+qpxwSxOSwO1DMFdcIY8V9agbIKFx+T9HP8DGZTqeTusqFQ0C5Gz7Zhrq2+2om0r+dHBxAaDoDxZZh+zd/sysQQoIKrQlFa7TTOSFpQT5ODKLBABRXDBllVWr1GdEBMOmntGDPEUnar5D1d4pICSj6CTFItABprwD+2eMqQe48FOJ8EJqQy+Wob+8+WiwkkY8Tg2R+vvyk5HdMZj++5FdBVdfC3P7g9u9zUNeS3zMg/UNeCxAyAzs1Di3O3Zl/oq6aur0SbeC0ALXW530D/a0B8CW/USrNLIXeRHWLcdFPZfHhqorCgmIv9R9KfsNHC+iSGIRDglWlRfW0Q4IRctw3MM45YekjPu0b6C8GIHr+J2T+Mg03RJTJKTf8wEU/W749Z6//mY++CKG/0I0JeIcExXFvRXu35wZCSFBjYpHaYFqIfBgS9GdLMF76awzMyrLjxxHCRBFnTjW5SvKyDqPOnn+Y8xde6K5KsGHfxi9z+g8bPexEbXUk7QXKFZH9k9OXJ3//1stfkPX2aEp6hK+b2kVwEC4/R0aOcNJ/PEe9OYrjyMYRbv6vRL7PfxY8wJjj13GEO/4UcYTNgDKOashBkIz6BoQwIsi51HGEW1DHctSLEE5QwRlqGuSfEl03OXdYI8Uh6WOSs3mcnE0X0U75S9sTd1fhx42OJKqMipDUuSEMcvC15G2TbDLm9vUIev2HO6RVgvgcnCCkIec1AvmnXZdbIt1lkruiJK+FAqEePZ/+YgAyQgryIeSowxMrjGnxx1qwVD9NpHwt0QLqUEfiTwv5GWAA4YHunIEnyJlQkcvfQoSVzE/n8yzqqD5FkvsiRz5wBPrTBxDhpeo0E47bjjq8nP6w+aQMoBp11PyD9A9fJtAq0QwxA1CTuyGMGvfn8A7peHMpI4iQUFAyAEHin5bYOWfJhvurDZLAAFxE/a8hf1/q/AMGEJ5agOAMPEEEkptcRA3yb5OONq+1dHc2I3rqnPrLCRhJNhFzVj1xumiImuXzggcvFUvKhBpQt9N+AGGGCHIOleSM6sg5pXFGvf0SQpi6U4ia51w9cHf9GQVQECag7MaxEeFHBtCKOrLAmsl/W1CHdxUYQHgyAMFHFUXOqeCojpTY3/5Cm0QTkJ5TQRNoDzYGIN3gSC/HBvIjAxDUvTbCCARqR+D8AybgOaOCsFJIJL+/J/a4JWdSek7bpOc0WBiA9ILLJBsdQfFhuyUb2S55DwBMINDOqdvrvKJgZAAAAKCnuUMwMAAAABDAKg8wAAAAGAAAAAAGAAAAgAEAAABgAAAAABgAAAAABgAAAIABAAAAYAAAAAAYAAAACGL8vwADAE4ag0JarbF5AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/tableview-headerview-ascending.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAICAYAAAArzdW1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAK1JREFUeNpi/P//PwMhwITG59DX1+8B0bgUseTl5YUyMzMXJwMBkM+KTZHAvXv36kVFRRlevHhRCuQLoStiLS8vj/7z54+yoKAgw79//+QLCgoSYKbBFAleuXKlhJeXl4GDg4OBh4eH4datW3lAE8VgiliBbkkB6pYBKWBiYgIrBAKp9vZ2kNvYWEBuefv2rZ+qquoXfn5+TkZGRgZQsACt/f7u3TtvoPx0gAADAHykNUXFhlgVAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/tableview-headerview-descending.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAICAYAAAArzdW1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANdJREFUeNpi/P//P4+JicnuX79+WTAyMjLAAFCcgY2N7cSZM2dcWYB8/rKysiOLFi2yYGVlhSv6/fs3Q0JCwkGQPEjRj7CwsOsXL1789OzZMz6Qaf/+/WOQl5d/HxISchMkzwQkPgLxBR8fn30g3SAAUgTk7wYyz4PkQYr+APEDS0vLjcrKyu///v3LoKam9sbU1HQzUPwhSJ4J6gSYabu/f//+39/ffzuQfxGIP8F9AcWCQBy2cuXKtUA6GIj5YXKMIAIKmIFYFoglgPgZED8BOQ8kARBgAHkkbCsrrUGyAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/tableview-headerview-highlighted-pressed.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAIAAABF+LJYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADtJREFUeNo8i8sNACAMQpH9p6oTGb2oB7Sx9kD4vFDMKufalEQAxHVB2SVEvvIczPfHlZ/fnY3ejgADAPV/LBeRV6LeAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/tableview-headerview-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAIAAABF+LJYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACtJREFUeNpi/vT5C9OPHz+Z/v//z8TAwACmYRiZz8AAonHLo/M/fngHEGAAmHc1lNgXMmwAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/tableview-headerview-pressed.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAIAAABF+LJYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACNJREFUeNpiOHPmDBMDAwPT////cdIwjIuPRT3LkydPAAIMAGirLBgXU933AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/tableview-headerview.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAIAAABF+LJYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNocw4kNwCAMADHd/qtlF74QfqgaS+a9x//e68857L1Za/k5J2MMeu+01jAzaq2oqi+lkHMmpeRjjIQQEJFPgAEAIdRCSGGFwR8AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/wheel_black.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAXUAAAF1CAYAAAAX/XrIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAIGNJREFUeNrt3XtclGXe+PF7mAMDDA46tiioJCQeUhfBA6kRmbaap/KQUiyiBSGiZpkaPY/bQVS0pBQF8/HcKoouJBhqHjZSyfVFaq2k9fx+2dbP51E8my/EcuZ3De2arScOc7jvez5/vLfcNcLvfc3nde0199xINptNApTo75WlPuVntrT67Fxex73nV/b45EJu7K6LWYO2X8wYVXLxzWdKLs1M/OjSa899dPnVFzb974sTS8Rft4lf7xD//a5Lb8bvFr/v0wtZT5SJf+6g+OcPia/z5dmiVsfF12W+UCqGAFn59MSHlhX7MmLeKByXMvbdR5f0m9xuZ5cRzb4K6el3NqC1rtrgr7FqDZKty0SvnyOFqElam11kmpetq/hrt3+SxNKuL/vX/xej+Pc1vV93Lfwhv7O9Rjb7apj4fqaI7+s98f1tEt/n5+L75bqBqMOjFXzxX2GzilPjn1vaN7vfa+Gl7YY3OuXf2uu63iTZ7BoSZFfTGX7h11hjDe1ivPh4QsvyKQseWfq++PPtEX9OrjeIOlTjE7GLnb1tYtzo93qt7p4WfPR33fVVOhFtncLC3dDg39dK+1P0E02+S3mj24ZVYh5fsLsHUYfclZ/+q98bWyfED8nsujl8dMBJg0Vj9ZR415VRzMVfzKePmNOLYl4rxdz+r5gf6whEHW6zrjwn/IU1Q2dFTWrxhX9br58IeMP4iPm1EHMcNbHFF/PFXPeULwlnnYGow2nyDy8PHbdq8JxOKc2OG4PELtwsWYmx8/iJ+f6upeb6CDHv+WLue8X8WYcg6miQGVuSx0bPCCvzDfP6WctO3O07+WBxHZ4X12PllqQk1ieIOu5pc8WakGeX989qNdx8yh5xduPyZBLXxR75viPMp+b91x+yDorrxvoFUUeNVeXZHQdmRa8zd9NXsRtX7i7+QXH9ZmY9tK5UXE/WNVGHh1ldnhPeN7PrZlOErpqQq4uvuJ5txXV9bX63/L3iOrPeiTpUaseJLZZhSx/LDuhpuOJFyD0m8F3E9Z4nrvtxcf15HRB1qMDEwsTUFqMDThJyAj9YrIMPChJTeV0QdSjMsvLsjl1ntt+lD9JYtbzZiZv422+VFOvipZnt9uzn/J2oQ96e2xA31TLQ7zy7ctR2995HrJeVYt3w+iHqkImyylKfmHldN+tbaq4Tc9SHn1g3zcX6eV2so//hscNEHe6x/HBu+wdnhB7QEHI4OPCTxLo6eCinPa8zog4XeH1P+oDm8U2+J+ZwdtxHinW2Xaw3XndEHc44L98UP8UUa7zsxRufcKFGYr31FutunVh/vA6JOhwgYUPcVO8IXTU7c7h7595JrMMPeFOVqKN+kgrHphqjDVUaduaQ2c69u1iXm8T65HVK1FELqUXJY316Gq6wM4fcd+7RYp0WivXK65ao4zYmb5sY5xtrvEzMoSQmsV5jxLrdKtYvr2OiDiH70KLO5mGNThNzKD3uT4p1/LlYz7yuibpH2l+53ztsRugBiZhDZXGfNj30QKVY37zOibrH6JPTJ1cTpOENUKhWkFjfOWKd83on6qr2wpaUsfpI/VV25/AERqNkixTrvUise17/RF1V1lb8OcQ8POCUZOSFDs+M+/Bh5lMVR9eG0AOirni9Fz6yWjJz1AKYzZL1vXd7r6YLRF2R5u6f38P7YZ8fJZOGFzRw0xupD/c2/li2N7MHnSDqitHxrYjtxBy4S9z9JNtbf+q4nV4QdVl7acf0kdoOhmsEHahd2Du0017b8dFLI+kHUZedkCkPfE7MgfrFfUpayOd0hKjLQsa+eTG6CGM1QQcaFvaIjrrqfZ9kxNAVou42PebH5BNzwLFxnz+rRz59IeoulX+sINA0qMlZgg44J+yDHjedPfb3/EB6Q9SdblRe4jSNxYv7zgEnszTWWPNWjZpGd4i60wSnhn3F7hxw7a49dVzwV/SHqDvU2oqNIYZoU5Vk8uKFBrgh7NGRhqqKQzxmgKg7QHLRi0kai5bjFkAGxzFFeclJdImo11vE7F7FkpHjFkAujN6SbXZ6RDF9Iup11viZFj9w3ALI8DjGV7I982TjH+gUUa+Vdz5bEqXt4HONoAPyDnuHB7TXDuxZEEW3iPodJRZMSiXmgLLiXrAmMZV+EfVbxCwavJygA8o8Z1+UEbOcjhH1Gx6YEVVG0AFl79jTU9vspWdEXbIkhH5H0AF1hD3hyabfEXUP/YOXVv7NzxhruUzQAXWFPba78XLl96V+RN2DLD28tr22re9PvAgAdWp7v/anw/uWtifqHmBu2eJemiADnxAFVC7oPo21bPvcXkRdxV7dNWeAZNYRdMBDmE2SdXdB+gCirkKTtv0pjqADHnjO7iPZtq2fFEfUVWRswcupkknLAgc8OOwFy8d6xIeUVP8HfHr9+HSCDsAe9nWLnk4n6gr2xIqEtwk6gJvDviLzibeJulKDbuQedAC/ZTSoO+zqPHJZl8qRC4C77tjXL1TnUYwK3xSdxpuiAGoV9oL31ffmqbpuWyx5M46gA6hL2Ld9oK7bHVXzB0nf/Q4fLAJQZ2Y/ybo7Xz0fUFLFH2LO/qW9JLOeoAOod9jLitXxSAHF/wGWHt7YXhNkJOgAGiTIorEe3qP8h4Ap+psvrTzkp23biKctAnCIti20P1V+q+zH9io66sbYoMssRACOFPt742Wi7gZNEx78TjLpWIQAHMpklGwJj1sU+xOUFPlNt0mP3UvQATgz7DP++EAZUXeBmEXPLifoAFwR9kUzYpYTdSdKLHgtlaADcGXY/5KdqKhPnSrmG13w2Zoogg7AHWH/rHhBFFF3MG2HxtdYYADcoUML7TWi7kCNn3nwB3bpANy5W38mtvEPRN0BImYPLSboAOQQ9tnJEcVEvQGSi95Mkow8dRGAPBj1kq1oSXISUa+HtRUfhWgsPNMFgLxYTBprxadrQ4h6HRmim1exgADIUXQbQxVRr4Pg1J5fcewCQM7HMKkDg78i6rUwKm/6NMmkZ+EAkDWTt2TLmztqGlG/i41f7QrkHB2AUtjP14/tzw8k6ndgGhR+loUCQEkGRZrOEvXb6D7/mXyOXQAo8Rhmfkr3fKJ+k4x9q2MIOgAlh33fxowYov5PuojAahYGACWLaKmrJupCyJQ+n7NLB6CG3fqUISGfe3TUX9qxcCRBB6CmsO9Y9tJIj426tkNTHqcLQFU6NHfvY3rd9i/u+NaI7ZLJwCIAoLrd+qz4TiUeFfXMsj/3IOgA1Bz2svzMHh4Tde+H7/+RCw9AzR5+wPijR0S998LnV7NLB+AJu/WFqb1Xqzrqayt2hkhmb57tAsAjmI2StWK3a5+97tKom4dHnOJCA/Ako7sHnFRl1FOK3h7LsQsAjzuGMUi2ogUpY1UXdX1k8FUuMABPFBmsv6qqqMcuTl3GLh2AJ+/Wc9L65Koi6vsrj3trghrx5igAjxbkr7FWHtvvrfioh04fcoALCgCSbfrA0AOKjvqCA5ujJKOOiwkAglEn2Q5sXBCl2Kj7D404w4UEgF8N6eR/RpFRn1iSHcebowDwW/Y3TUvemxinuKgbY8MvcwEB4FaxYcbLiop68pZ3x3KWDgB33q1vmZucpJioG3qGXeHCAcCd9WxluKKIqCdsypwsmby5aABwt926XrIVzhqbKvuo67vfX8UFA4B76xasr5J11EflZUxjlw4Atd+t56WPmibbqGs7NOcHSQNAHXRo6tgfVO2wLxS/ad4UyajnIgFAHdg/ZbppZvwU2UXdGNue+9IBoB5i73fcfesO+SLTd64axFk6ANSP/Wx9V/aMQbKJepP4mO+5MABQf/Fdmnwvi6jnHNrenl06ADR8t364ILe926PeetqIg1wQAGi4aY+1PujWqJdWfuPHLh0AHLdbr/yi1M9tUY+a+0IBFwIAHGfuiKgCt0VdE9SYnz0KAA4U5KexuiXqcRvmT5VMRi4CADiQ/Qhmw/S4qS6Pum//Lhe4AADgeP1b+15wadQXH9rRmV06ADhvt35o4+LOLot6u5lj9jB4AHCemX9ot8dlUddYTLxBCgBOFORbvzdM6/GTjd6bzNELADiXyf70xlcTJjs96gGjY08ycABwvtHtAk46Nepbvj1s4ZnpAOAaRq1kO1G6xeK0qPfJeS2XQQOA6+Qk9Ml1WtQN0e34odIA4EI9Aw1XnBL13MN72vMGKQC4lv0N08Mba/9I3lpHvWvmpM0MGABcL3NI180Oj7ouIrSa4QKA60U00VU7NOrZ5bs6SkYDwwUAN7DfBVO+Prujw6IenfXKOgYLAO6TNeKhdQ6Lur5bW+56AQA36tJEf9UhUV9x5NNQjl4AwL2MXpLtyF9WhjY46v2XZ2QxUABwv+WJ/bMaHHXziEdPMUwAcL/hrc2nGhx1yeTDMAFABkxae5YbEPWkLSuTiDoAyCfqW9KTkuod9bAZ48oYJADIx4yeYWX1jrpX6+bXGSIAyEdrX6/r9Yr6ii/2h3ErIwDIS82tjfkrQusc9cGr3p7DAAFAflYmDppT56g3e2HE1wwPAOTnhQ7Nvq5z1DVBTa0MDwDkJ8hbY61T1HPLPwnnVkYAkCf7rY3lH+SG1zrqQ1dnzWJwACBfa8YNnVXrqAenPXuUoQGAfKV1Cj5a66h7hbX4maEBgHyF+Xj9XKuoF33zpVky+TI0AJAx+7n6NzuLzPeM+oSt6+IZGADIX3H6hPh7Rj1q7owChgUA8pfZr+vme0Y9YPQTJxkWAMjf6FYBJ+8ZdY3FzIeOAEABLLpbP4T0m1/kHzsUKBm9GRYAKID94V7HivID7xj1CcXreZMUABSkeMZv3yz9TdR7vffmBwwJAJRjdr/u6+8Y9eC0MXySFAAUZHjIfd/eMer6yA5XGRIAKEcrb+1Pd4w6nyQFAGXRaez5vk3Ul5bvDyfqAKAsBhH18lVLw2+JekpR3lgGBADKs3Vq6phbov5Y7jvZDAcAlGfR4Edzbol6ePrkvQwHAJTnuXatPr8l6o2eGnCa4QCA8nQ3+1y8JeqalkHXGQ4AKI9Z++szYH69DYZnvgCAIt18W2PNf2w89iUP8gIApUZdOFb4y4O9aqKesW93DIMBAOXaNz8j5kbUxxXmpTAUAFCugvHjUm5EvW9O1iKGAgDK9e6AR5fciHqHl9N2MhQAUK5JndvtvhH1ZqOGHWMoAKBcI1oEHr8RddPDD51lKACgXL0C/M7eiLouNKSaoQCAct1v0F27EXXJ14ehAICC+Wt++VTpL1E3GBgKACiYQfrlU6VEHQDUFPXSylN+RB0AlB/1yr2lftKWM6daMRAAUL6zW4taSXnnKjsyDABQvnOb8jpKq86f6cEwAED5zq9d1UPKOX82lmEAgPJdeD/nMSnr4rlBDAMAlO/iwqxBUsbFc6MYBgCoIOpzM0ZJb1w6n8AwAED5Lr31RoI089LFRIYBACqI+uszE6XJXx+fwDAAQPm+mTJ5gvT8gQMvMwwAUL4vx49/UYrbvv0/GQYAKN8nf/xjOjt1AFDTTn3y19+MZxgAoHwnX5meLM34fyefYxgAoHyXZr6eKL1x7mI8wwAAFUT9zVnxUsa5i3yiFABU4GLG3FFS1tkLTzAMAFC2RC+97WLWwkFSztkLsQwEAJQedYPtQu6yWGnVmfPdGAgAKD/q51et7SblVZ7jJx8BgAqifi5vU0ep6PRZfkYpACg+6t62s8UlLaTSU5U+ksHAUABA0VE3/lxZutdHstnEr4k6ACg+6jU9J+oAoHwGSWO7EXWNyd/KUABAufw1GuuNqGtbtb7GUABAuUJ1huobUTdF9z7DUABAuR4xNa68EfXmw+MqGAoAKNezzUP+fiPq7VJf/JihAIByTe0Qsf1G1B/NfHcJQwEA5crpO2jRjaiPyytMYSgAoFyF41JTbkQ9Y/e+GIYCAMq1L2N+zI2of/jNCYuk5wNIAKBEJsnLduLDEsuNqNf8DVEHAMVG/UbL//U3GnNjPlUKAArU2stw/Zao+3TpcYHhAIDyDG8UeOqWqIc8+/xBhgMAyvNaeJfSW6L+6NyFuQwHAJRnad8ns2+JeurGrWMYDgAoz9bUqWNuifqyvx0J4w4YAFAW+50vR5atDbsl6tzWCADKjPpvOn7zL7QteK46AChJd71/1R2jHjwm7ShDAgDlSAtuf/SOUe/91sLVDAkAlGNh74Gr7xj1ifnb4hgSAChHycT0uDtG/cOKby2Sr4lBAYAC/PIgrx2WO0b9l2fAWHgGDAAogEWjs/57w2+JesATo08yLACQv9EBrU7eM+pdX83czLAAQP4yu/bdfM+oT1i3NZ5hAYD8bZ2QHn/PqP/1H5V+vFkKAPJmkrS2yr8e8Ltn1O28Qtr+xNAAQL7aevn+dLt+3zbqLeInfsHQAEC+Jrbo/EWtoz703TWzGBoAyNeaoeNm1TrquZ+Uh0smM/erA4AMmSWdtTzng/BaR73mQ0hNg4g6AMhQS43x+p3afceoN3s65TjDAwD5SWn24PE6R33w26vmMDwAkJ9Vg8fOqXPUV+w7Eir5cL86AMiJ/f70IyvyQ+sc9Zr71Zu3vs4QAUA+wrx8f75bt+8a9bBxM8oYIgDIx4ywnmX1jnryyqIkyY9bGwFADuy3MhYlpyfVO+o1v4FzdQCQBft5+j2bfa/fYH50+CmGCQDuN9zc+lSDo94/Y3kWwwQA91vePzGrwVFfU1YRwhEMALiXSdLZKtZsCWlw1O30bbtVMVQAcJ9uektVbXpdq6hHv5K1jqECgPtkPTRincOinr2rvKNk5AgGANzBfvRSnr2+o8OibqcLjahmuADgehG6JtW1bXWto97txfn5DBcAXG9+tyfzHR71nJ3l4RzBAIBr1Ry95GwId3jU7Qzte15hyADgOj0NgVfq0uk6Rf2x/1yazZABwHWWPjYm22lR//Dz/9OYIxgAcA370cuJLaUWp0XdLiB29EmGDQDONzqg3cm6NrrOUU/MLkiVfHkcLwA4k1nSWwsT/yPV6VG30zQOIuoA4ERBGl9rffpcr6i3GzNzD0MHAOeZ2e4Pe1wW9eztPDYAAJzFJOlt5dl5HV0WdTu/qIHnGT4AON5Av9Dz9W1zvaMeN3/DVMmHN0wBwJHMksG6IW76VJdHveYN0yYtr3MRAMBxWmpM1xvS5QZFvev4eZu5CADgOPO6jtzstqiXfn3aR/LmDVMAcAT7G6SnS4/4uC3qdqFPzzjAxQCAhpse2vdAQ5vc4Kjnbj/cnt06ADR8l344t6C926Nu1yQm/nsuCgDUX3yTLt87oscOiXr6mj0DuL0RAOrHfhvjnvQlA2QTdTtj+9jLXBwAqLtY4/2XHdVih0U9ft6mKZytA0Dd2M/SN8XPnCK7qNvpWkZUc5EAoPYidIHVjuywQ6MeN5tHBwBAbZklb2te3GtTZRv1mh9OHRpdxcUCgHuLNrSocnSDHR71se8UpnK2DgB3Z5IMtsJxs1JkH/Wa3XpYzytcNAC4s56GVlec0V+nRD353aKx7NYB4M679KLkzLGKiXrNfevh3LcOALfTz6fNRWe112lRn5hdEicZ2K0DwL/v0ksmvhenuKjbNeoy7DQXEQB+NaxR59PO7K5To75oy6HO7NYB4Ndd+qFFhZ0VG/Wa560P4XnrAGA3PXTgAWc31+lR33/stF7TKIhPmQLwaEEaf2vl/mN6xUfdrk9aTi7HMAA8+dglp09arit665Ko2+mDI69ycQF4okh98FVXtdZlUR+/YOsYdusAPHGXvnV81hjVRd0uIHL0SS4yAE8yOqD7SVd21qVRX7uzIkTy5tG8ADyDWTJaK9buDlFt1O0eTlq0nGMYAOo/dvG2LeydutrVjXV51GueCxPKc2EAqFusMfyyO/rqlqhn/rmsB7t1AGrepZdl5vfwmKjbdRqZUULYAagx6Bmd/ljirra6Leo1P6g6kB9UDUBdInQtqt3ZVbdG/eVFHw/jbhgAamGWfKwfv7xsmMdG3a51v2kHCTsANQR9WuunDrq7qW6Pes0xTDMeIQBA2SJ1ra7KoaeyiPqcNWW9JAO7dQDK3aWXzcnvRdRvEh2ftU7SczcMAGWx3+2SFZ22Ti4tlU3U7Uxth5xhkQBQkqH+Xc/IqaOyivqHe09YNEYLxzAAFMGiMVlPfPi5hajfxajpedM4hgGghGOXvNGZU+XWUNlF3S64V9pRwg5AzkFPCx58VI79lGXU7QzNo6tYPADkKNrQpkqu7ZRt1Nd+VBGi8eZ8HYC8BGkaW4+uKQ0h6vWQ/GZREscwAORz7GK0FSUvSZJzN2UddbuIobOLJR1hB+D+oM+OSC6WezNlH3W7Jh3jvyfsANwZ9Pgmfb5XQi8VEfWa58NYeEwvAPeI0LWuVkorFRP1BWsOREl6ng8DwLXMkq/1wILiKKLuBImvFaRyDAPAlccuBWOXpCipk4qKut0j8YuXEXYArgj64kdeXaa0Riou6nZtYtP3chQDwJlHLultxuxVYh8VGXW7pg8mfMeOHYAzdugJTR//TqltVGzU7Xxa9LvIIgTgSP18oi4quYuKjnrpodM+WnOHayxEAI7QQdvqWmXptz5E3Y1y1peHa3xaXmdBAmiIlpr7rpfn7ApXehMVH3W7ue+X9dIYePgXgPqxaBpZy+YWy+JnjBL1f0p/Z/cASccdMQDqxiz5WXen5w9QSwtVE3W7F2ftGEnYAdQl6NsmfRCnpg6qKup246YXpkhabnUEcHcmycdWOG6Zoj4t6pFRt3s6bf00duwA7rZDX//0wmlq7J8qo243IGHF2+zYAdxuh75q4LxMtbZPtVG3e8IednbsAG7aoa94IvNtNXdP1VGvOYoZv34aO3YA9h36+qcXq/LIxaOiXvPm6dTCFHbsgCfv0E3WwnErVPemqMdG3W7Sn7bFEXbAM4O+bdJ6Vd22SNT/6dU5uwZodHzyFPAUFo3Zuju9QDUfLCLqtzF3cVkvjTfPigHUrqUm8HrZ3O2q+Og/Ub+HnNXl4Vo/nu4IqFUHbei18pxSxT+ci6jXQenfKn187ut3UfLizhhALUySr62fT8+Lp0v/oejH5xL1BmgamvCdpOUNVEANQU9o+qRif2IRUXegNl3T97JjB5Qd9PQ2ExT5M0WJupM8MmTxMsIOKDPoix+Zs4yOEfVbJE4qSOUoBlAOs+RvLRi7xiM+VETU6+mdJZ9F6fwiqiUv4g7IOeYRuvbVBxbsiaJbRL1WGgc/8wPHMYA8j1ueaTz0BzpF1OssotfsYsIOyCvosyPSi+kTUa+35BeLkjS6II5iADcL0gRai5LzkugSUW+wtRsrQgym6Cp27YA7dud+tmhDZFXF2kMh9IioO1Rwm7SjkoawA64Melrw80fpD1F3mlGJedM0Wo5jAFcct+SNWqX6H2pB1GXgw4++tfhbhp5h1w44Z3c+1L//mRMf/reF3hB1l4qOzVrH/eyA45ilRtas6Lnr6AtRd5s5b5f10hkjr0oa4g40JOaRus5Xy+Z86nHPPyfqMtU6/JWDhB2oX9Bfaf3iQTpC1GXn5ekfD9MZIqo5awdqd3YeoetU/fHLJcPoB1GXtU5dMkoIO3D3oM/q9HoJvSDqipH5dlkPb5+HfyTuwM0xN9ke9u71Y1nm3h50gqgrUu9HFq7mrB2wn52brQt7v7uaLhB1xVvzQUVIQOPRJyWJXTs8c3c+OmDUyYq1R0PoAVFXlZTxxWP0+sirxB2eEvNIsd63inXP65+oq1ps7OJlGg2PGoB6BYn1vVisc17vRN1j7N9f6R0WOv2AJBmJAFTDKNbzNLGuK8X65nVO1D1S1oIDUWb/oWc0HMlA4Uctg/2HnPlMrGde10QdwsQJxfF+xtjLxB1Ki3mMWLdbxPrldUzUcRupyUVJRkN0FXGHnPmJ9Rlt6HmlUKxXXrdEHbXwfGJBqlHfjbhDdjGPEusyL2HTZF6nRB318MdRedMM2g7XiDvcHfO2Yh2uFeuR1yVRhwM8F79pisn48I/EHa6OeW9j7OV1Yv3xOiTqcIKZM3YNat4k/nviDmfHfKRYZyVivfG6I+pwgeW5h9t3aP3KQS/iDgfHPE2sq4NiffE6I+pwg7LSSr+Ho+YW6DRBVgKP+oY8UKyfP4l19D9iPfG6IuqQiXFxeVMtvv0vaPiUKmrBW6yTWLFeVsZtmMrrh6hDzkcziw917tZu5h49u3f8G1+xHgI0FutLYn2UiXXC64WoQ2FSEzZNbhEw+iS7d3blg8U6WMX95UQd6rBjywnLU31ycgMMPa+we/ecXfnvDdFVc8V1Py6uP68Dog6VWpt7uH3frpmbTbqIai928KpiENezrbiur4rrW8YdLEQdnmdVdnnHgQ9lrTPru1UReOWG/EFx/WaK61gqrifrmqgDNTasPBL6bP/lWa3Mw09pxf9113JMI0s+4rrY9RXXaZ64XvtXHA5l/YKo455eea4wJTpsRpmvV+vr7OLdvxtvLq7D8+J6rBDXhfUJoo4GyV9+JGzc4FVzOjZ74WujJsjKLt75u3GLmPMwMe/5Yu57xfxZhyDqcN5RzdLD7V8YumZWZHDaUZNX2M86It/giDcXcxwp5jl/6OpZnyzlTU4QdbjRnqJvzG9M2Bo/pGvm5vCA0ScNGovYzXNkczt6MRd/MZ8+Yk6To+YUrBRzOyzmxzoCUYesbc8/FvjWhOL4gZH/semBJv3/4acN/slLMtjsPCHeRrH7tgvVR159Mjj1q1d6vffBcjGPv238KpD1AaIO1di0tDx8VmrxmGdj3nk/qsWzhwONv79k0JitXpLOZqe0XbedRdPyenSjp04/G56+N73v0uz3xZ/vY/Hn5HqDqMOj7dx4LHBFxr6YN8YVpiQ++m5Ov3aTdnb+3ZNft/KLPmfW3X/NoPG3asVO/1+cEeqbv75R/Pss2vuvtRH//ujfPfX10LZpe159fNnC98T3t0l8n59tPN6c6waiDjjAl6WnfcqLzrb6LO9cx70rzvX4a86Fx3ZlXRy0LePCqJI3LiWUzLyU+NFrl5I2v/y/qcuSjrzyF/HXbeLXO8R/v1P877vF7/tU/P4y8c8dFP/8IfF1vhRf75j4uswXSvX/AXO4pNyLosLqAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/wheel_button.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB39JREFUWMPFl12MXVUVx39773P2Oefembnz0XamrW21DQIWBOHFoEEMDz4SYyQYSI2JD0WCiSSSqIkPhleNKIaYGOFBY/yIPvlAVEB40ED9ACJNLRTascyUTuncmbnna3/5cPbcmQFU8IWbrOyTe5P7/+21/nutfUQIgffyk2w+PLL6NEMx4rxaYkme5XV1jlkvWFSneJ+fEl4MDywweUMjl27RcuOaXJQHpwgzAxADWJ0LvcWB77844/c+2ZfrJ6b84Nwkb7iwcRCxehm/Pomv5nHhEEFOA47BR+/dAni7jw4pAq5akSufLdXS515Tq1dPA7vRZGgkCgUo/Fxg7UhQK7c4znxJ+Okzgr0/x6ufBdIXxDvJwFvESZKzyflji2rpvlItH52nYB+7mEYzQUIfRQ9BD+gR6OHoYSkw5HL9cC5Pfi0xc7c70u95MfkjoHxHAAHIg55eVK8/8HJy6rjGqFnmmSKnICMjpSAhJ6WAGIECR46JUZCFGmVWj6j2uQetPXhjK6+9H8KF/woQgImQTf8pO//Q6WTlzgHzDAjkGDQCTUGOJieJEIIcyAnk2BgtBQ2JyaDMoBqSlK8eC20+aNTNx7Fh+T8C9INOH9NnvvWXdPnOXSwwQNDHUWAocGRoMjJyUnIUBZJiB4ChoEWHGuoM6gRqCbUkXX3xNq/6w3rq0/cQ2HgLgA6KE/rcsT9mr909YA8DFBM4+ttqmyHIySNAQo6MGfBjgJwG2WioNsUF1EBtyS4/c5dbOPJcO3fTd4SzOwFOpGtXPZYvfSVhJpkhpY+nj2cyrgWWHhZNQha9kCHJdgC0pK6GWkOTQK2iONB4qGqZvfSHL4e19MmgJv8KkHxz/SlkkOqMLj+zqOTR/cyTE8bu3gTpYymwZECGpkBvK4Hv3E+DaDU0atvOPVQOKgNmDnVh8VAiz97V7rnuOcAlE2GQj4Td/bx2ny/YRYGiIESILibwTODHRy1Hjc2YAz1ct3vbQJVCuSkeoHRQ2Q6gbKGeJD39wh2mf/0PgVPJ/VPX1V8sn71hWRZXzNNDI6KpOnMV40wEJscAnhxNEY9ijiULLTRlTLuAalM8Cpc1lBrMFHLp/F617/xNwKkE4HSS3Aoz5EhSQEOsbQdSxEz0YzZ6uGjINIIalG2g2ky9f6vwSMNGCqMMNhLUP0/fCjySAFxUvaM5GQpBEp2ZAikh1pwxSB+YwMfGk1Ag0KGFuux6Xelg1MIoh1ENG50g6ymsa9hQUBaof618aHwKhmJwMCOg4hcJ7HjeBNIxKxNjCEGGQLZVrLuFsom7TbZiLYF11YkPFYwyxOWN+TGAF1MzCoGAcchtod4EoYFebMPa2m7no7oTWVPdui67WBOwJmEoYJVuXROI2ve3+kBdgBD/1zwXJjq8zqHJocm6LljlUGVd1G+OHJptnVCshaELYg7RzYNxBPCAi2GBFmhDZ/IUyESCrnvQGjAWrAPnwbsugt8WIf6pIZCXYhNgMPSLF5w8bMWWoN0eAVrRCTcBSg/CgU67454YjSwLqFto2whjOhi7DcpZ8B7aijA5d3GcgV0j9+LZKvmEE90OLWBEJ9bSrQ1QBlAeggEpYjYDaCvJ67xzf9lCY7pobQdkXQQyYD2UPfz795/c9BZXWvfEicvc3cidaW5jM9MB0iiOg+Ag192xzwDtIG1TVJnDqIkdr4XaQNNCYzsAYzsoO4H94JVPpJsAB5U9sbv0Z4e1PNRXnWgWhTWdsPBdaqwDJaPX4qzRDnQr6DUZlAWMYhOqzBZIbbpsrI/w0/suugMLT49L0G6Ic9eq9ie/W8m/UaVROEASIIniwoG34AP0dDfwdgAY0E1KslmKUbMFUhuoYlaGOebje39Fm700Bnjg5kl3z29Hv9jv3B0rb6gjWQqJA7WZdt+JWwNJ0p22KoFCQgVoD9pC1kK/zhBVvhNg1ELdg0sVfvfCBXdg7lFhaXfcB26YMs83e8SDP32l993LIKUEGWvuojhAP4Om7sZ9JTsPZB4y221QNwq92QdGbdeKywLWaijz0Hzq4EPmxtlnROV2XkiME3x4wfz45d3NR/78QvaFJP4SLDgDzoHWsfZpvG3FqZuFDkCbLgtJnSHrYmv3awYuZbTX7/+1uWbiYWH8uPHtuBOWRoxuPGS+vvaanD15Mr3Ni64ntC0IGRud7sSrBPLtAJs+MJDWkrzKug670cIbLfbI7O/tNeGrorKXQiHe/lIqgLIVy1fsNcer82L93OnkrrqF2RR6GbR13H26bewTTes6H2gDuoW01qjVAqoWt8/9xn5A3CeqjVcRb3Mt/8HjQ5TcgmiMWN6/xx6f9v7v504m964uyUNFHyb7XQaqBAoFlYgeCFs+0C2kI9AjQT6pl93h7OHQq78vGn85iHfxZmSsGB3cb7/dXBSP92fcsWpZ3T68IPclKaQpZBq07PpEGiA1kDZxnQgr2WH3yzSER90BnpHLcXC8m1czAGMEwN/mZv0/vAoP77uajzVL8pPZSB71tVhw0LcBbKD0vXCBGX9SLPinwlA+5af9K1yiEuZ/TNP3+vX830UX5/xBVNUfAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/wheel_button_h.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABu9JREFUWMPFV2lsFVUUvrO+ve+9lkJLAwVEKgo/TA1qNEBYGtqCQpBFNBiCaFAD/sHoDyRRYkgkRDAQNUgiNhgEI1tZ2hSrREiEgIpBoYCUrbSF9m0z783uPXPvLEWg4B9f8vXcuTO533e+c+7tDGtZFvo/wTIMg/rDvEIdM7FpTNWsQ+MW1e4b0TBjb/mJWXuKry7YlUy/uiuZWb47eX3VvrKTaxuHb9988InXt/8w5tHdzeP4/taFH4v6+Y1pGlN97vCFT27kO5v+Uk9vuWl1vCQjqRoxqILl2CKeY2Mcy5Sblvy4ZnbOlbQ/PrvZfb1FVVObmptHP93f+ncV8OzRWcLYA0+t6JRv7rxotC/Ls8rQICpCEVSCQiiBAnjcFzBXbMdYyChD5uUluWz3d/t3PvbB4W+fjD2QgPqmJaXXem983aZeXpNn9WFhvChARFEk4JGIZcA4YEcyJjGM70cw4kiwkogzlHJdurBSznR8c2jLpCH3JWDRwfdL/1Y6tl4zUvNCTIKNo1KccRzx+C9ZPOoSCragf48BnBFGSElghJGZ66wvpNsb9m2cXXlPAauOfSn+rl5a32bdmhZDSbxcEpHs43jRmJ29X0SAQvSJssVYmFyNYAQR0qIYMcSkr4w3U2c37tv0RuKuAk7dOv/2aat7LiFN4pyLENQdHAhhAbxrvyPEgzMHkdHClDxEokoFdZ6ts3rPv3NHAbMb11T/ot9YyjJRLooFBO3sYjZx2BaQsLP1l8Kz3bOfMzGZRqFiAVqQAjuhiox+6eTi/SvrJ/QR8ErjBv66Kb98k2WGxWmzOd0ddF0gAHLebT5qOc1cxE8wepgQqkEvKiKOAkJGDHG9qYFGz43Fjavm87aAZT9uCyM2OPy8lJ0rYgKoNYFTYxBAXAjbzsQoWditfcBtPGyzEiLQApgUQ6FRFYkQXJbCpYvTOYUZawvYMGGB3GXpz6TD0cFRO0PH0pgrhrgRpy7Efdn7doQVITW36x7qmzlEBSJOGjsU6M0mzZ6uyW4JrhhmDaJ15Ow6OzX1i4i6DQli/FsOSsCaYY8YslfEvsQFHPM8uS5wyGi/6glIW3wVLMiCjRQ8jd62I0KCPhcE6oKdPZArNOsCTyMlxYQoz5FxnrXvGd3pka4AyQqVEQHEAdY39oOnvRGiQgLUKbvxFKfOAiXGhAWWkMssIYZrGMP9W/mkK8AygzHInsFANPrB+lzhaYkCtGF5I+RlnWd9YEiUGUIq4SghEvGclbOC3jmgiUT9fwCj0kaDNXTocoFA9cE/p/ngCsgzORPUyQSWA4nApDAwdAo1R6CDxbDNYM/r2A34H2DiaPmi5cQInQ+D04orIFJgOnW8mIFh+kFJYd4mxlHDUDJYcxrzUiFWXqCOYCG6IyZIBBiOKECQiMD32FBxyhUQ15g2WAxIdUoOhBq91uhYwShgcjlNHaDzml1XZ9v5RNhCAlRE0Iv4Gaao9IIrYCjDtSBKBBlD1LOEHIi0LMnazhyjgK81XCI1S0TB86a9zejWs088kZwHtgiROAIC7BhE3JDKVldAeYA9EssVuuQMzThLM8wSACFknsemySkqSvJAnICuhy0IIuhBpIrekeyUBwtVI4k0Wzag2RWgSua5h6Kh7yE7p7mc7JzMbethnPVI+0AG96gLICTvFxLwekQSkTisssnShNOugIbl9frgsPBViWF0ZFK03tR2J3vZ13ha3ifUgUzKYsmOC/RAUqgIcCLLIyMeTwllxZ/X7fiw0Od9YNe7045VDxS+wLW3cikiAMjztOnAfnBEl53G87J3mlS1ewgOH8Hrhzw9lmU7WtzYyq21hz5queMb0eiK4LpHkmiv1EtIIfNCmmQOQjSapVd3j1ijZQB3LEdAnu4M2CFZAVkjSluFkSVr7vpKtm75lEzVYHbZkLj1U6YHoVwvsf72xrvd/j4iJLotJSpCIuSoPH4iNHLAW7Wb3+y451vxjo+ntw8pFRYOijAHZCwg3Y3XodvOOQFdyykUvyDaIyZYn8bkORGxxZHWUEViYU3j0jP39V3Q+nVde9nA+PwRFcIaEZldUBIog0aPYeW2HeDaL9M5eLaXQSbH93KVkU+jgxLzph5d/OcDfRkdbxyfOXO89r2SRPSFoRVcA88oPVKKlKWQIv1h7xQH0KS4bCqUzdIyVjm7I5yMzqk/O2fZxFNzuh7408z5nTs35UiiSFgyaGBi8qjRgRXJEma/KKI20zBvGaoh6QQ9lmCd54qZQ8EqYWW8NDFlUEnZopqLNS39fhvezyf0kZNTCz+fnfLrnlM1a5suT6/f3z1j1O7U8wO2pWdGN2Osz8wsWd393MMrrkyf9tpv01a/2Dbp+Pjj1VJ/68LvH9f5eR16/VvHAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAABOCAYAAAADx2dJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANlJREFUOMvFVEEKwjAQTEIOvYZcbVSE5iMi9Dt9k/is3nsqNFebNSsVg7aVlbRd2EuGnZkdkkj2rix0Ffoc+iiHw5MQ4mqtNXmeS621QCALh7eyLA+cc+acg7qu7whURVHscKxpGv/iReBijJFd13kAYDGwV0rxtm1ZXAgI5O77Hj6B0XoCyB3z/wZmqYI420Tce48TQKOaEgf65rQ96K5mxXH7KQ3YbI8pDVhBYzZdSJfu4nZHJ+h3d3gfa7haNN2EdtPfK2JWtPdB//rosdPt/vdfpcvqi+oBO6kbb0fpInEAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAABOCAYAAADhG3wwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFVJREFUGNOFj0EOgEAIAxuOfpGnc/If0npYE13E9UIIUyZgAHZz980i4jBJGAUAjKRGV0BmogWS9JhNAC0gea11ud+ZZssrshbcNxdLJ+j+Xas+IhWci4eYfv9TUucAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAABOCAYAAAADx2dJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO1JREFUOMu9lD1qw0AQhT8NLlykUR9kiEAgcg+BjqAzpEuZA/kYzk2UWq0KIYF3Jo1l1ib+2XjlB69aZt4PzArwA+yAL2DNAdI0zUtVVe9lWX6IyDeQA0jbtvtpmizP81Vd128isgXWoqoMw2Bd1ylAURSvwKeYGTP7vtcsy1ZAJXgYx5E0TRNgI6pqM51zliQJgJxM+DjRmHn94eIq5xw+b09EFLczqGqgxjVXFjtHuKuL4qqKT3/VOXhajhANe4LG35U81u7idu+eCG/3eB9xXS3e7oIlRryP28nD7yP86wuv/XG7/woYsSsAfgFTK9CW5YiWLwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground3.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUCB1jYGBgeGhgYPAMRCNjAEUgBdynEw2bAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground4.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpiZGBgeMiABpgYsAAKBQECDABbOwDrSD9oPwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground5.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUCB1jYGBgeIiMDQwMnoH4AD4kBdxeWsrBAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground6.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUCFtjYGBguK+vr/+MkZHxIZCNjBkOqaqqPuXm5n6ELlErKir6WFpa+gm6BAfQmJPq6upPQZI8PDwwnWCgDJIE6VRRUXlqYGDwjAEJcICMBeJ9IB0AVHsdU7uFunYAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground7.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAGCAYAAAACEPQxAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVJREFUCFtjYGBgeMiARhgYGDwDswBL7QXcgt2ExQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/HUD/CPWindowHUDBackground8.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUCFtjYGBgeAjDTExMD3V1dZ8B2XcYkCW4ubkfqaqqPgWyD6FISEtLPxEVFX0MZNcywFSCBNXV1Z8yMjKeBIpxMBgYGDwDaQephAoqM0AByJgDUO0cMEEAprAdTwaXWlcAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardCloseButton.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUOE9dkzmPUlEYhmcSbbQ2sdBY2NpgqXZWdv4HLZyfYE/ClgkEQtjXAsMmS1gbKkJjKMYCGpZAQAts6AZH8vk9J/dOmDnJm3x5t3vOveeeicjZCc673e6TQCBw6fF4rpxO5xEww6HhOc2chh+kUqmPXq/3t8vlEg2JzgbMcGh48N4veJjNZr+43W7x+Xzi9/slGAxKKBQyYIZDw4OXjF1wPh6PX6l4jSkcDksikZB0Oo3RgBkOzSq6JkOWgsf5fP6bnlGi0ajoFoW1Wq2kXC4brNdrw6HhwUuGLAUv4vH4LwQlJZfLyXa7NYHlcmnAgkPDg5cMWQpeRyKRI1stlUpSLBYlmUzKfD43QRYzHBoevLFY7K9KDgreZjKZm0KhIPV6XZrNpjEtFovbAmY4NDx49b3cqPTGFFSr1b1taLfbstvtTHAymRiw4NDsB5CxCxzD4fBnpVKRVqsltVrNBGazmejRDJhZaHjwkiFrXuJ+v3ereLQLeNucmScBZji7AC8ZsuYzKj7oU36wPQycs9FoSKfTMWCGQ8ODlwxZc5EUzxQX+qmuBoPBsdfrSb/fvwM4tM1mw9YvrIy5SOYqK14qPh0Oh+p0Ov0zGo3+EQLMcKp9V89ny3t7lW3wgzxVvFd8VeQVfQvMcGh4TPh+gX2cR4rnCofinQVmOLQ7v/N/0NkPdZCIgQoAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe9JREFUOE9dk7vL0mEUx98Xaqk5aCgaWltsrLamtv4HRft5Q8Ur4v0+NLpLCIFQe4M4a4u/FBcXpwJpaZHoTU7nc/AJfR/4wuF7Ob9zHh+vROTqDNfj8fhBJpN573meHwwGj4AaDg3PeeY8fKfZbL5V849QKCThcPgCcGh48N5ucLfdbr/DFIlEJBqNSjwel0QiYaCGQ8ODl4xrcD2bzZ5p99+Yksmk6LiSy+WkUCgYqOHQ8OAlQ5YG97vd7sdYLCbpdFqy2axwVquV1Ot1w3q9Ng4ND14yZGnwpFQqfUcoFouG7XZrgeVyaeDAOR0vGbI0eJ5KpY6MWq1WpVKp2Mi+71uQQw2HhgevTvNHpQANXmrXm3K5LHrDXJA0Gg1bwR1qODQ8ePP5/I1KL6zBYDD4RWcMupvsdjsLLhYLAwcODQ9eMq5BYDKZfKvVatLpdOwLHHZnV+DuAQ0PXjJk7RL3+31fOx8RGZV9uXG+BKjh0PDgJUPWfkbFm/l8/pXx3BStVkt6vZ6B2n0dD14yZO0hKR4pvM1m4w+Hw2O/32fHC8Ch6ZtgdO+UsYdkT1nxVBE8HA6fptPpz9Fo9JcQoIZT7bN6Qifv/6fswB/koeK1oqT4oPhyAjUcGh4L327g1rmneKwIKF6dQA2HdvF3/gckQc2QEBVViQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApdJREFUeNp0Ul1LVFEU3efeuV/jOMM4Ew5qJgzlRAmOIxKTEP6A/oDRa0+B8ywiKCI++KD0C3zxByT0ZA+BYYw2DmKkWUaWY4JFaOrMvd572uvgiBQdWNxz91lr73X2PmJsbIzqa3R0VJSHh9s3pBz2qtUHvufdRFw3jG3Dtl/dFWKye3Jyd3x8XNY12hVxaGFk5HG5Wl09//37iR4EnaauawD2iOEMHHAvEwghIDaeT0wUDo+P55icNE2TLMsi27YVsEcMZ+CACw20QkopNufnc29KpdemlKZhGARomqaAFQSBgud5Cq4Q7r2envuZwcG3sBLeqlRGLCLT4mqqEn9v5HLU2tVFJCXtrq/T11KJQrUa6bpOolYzockQPUKCpHd6mq9bRvXrfX2UGRi4bG5XKkWCv/ucpO4KGmjxl5Cum0BlAISObJb+Xu3d3eqszhOeF+dwExw4lmlKIxRS1XFH2PzfAsf3ffJJmXKUHyceP1N3466iyuby8j/Cjysr6hwAN9zUdIY4HJzGW1q+He3sZCAOsZPPxSJ5rkvp3l7uoaRt/v++sUGxcPhyOlHWsPYMCX525nIvipXKLZ6VhgSN3My91VX6tLSkqjuOQ42RiEqOcUrbDqCBFlc4bOzoWORq6wH/wCImEovFKJlMKkSjURXDGTjgQgOteki8aWU8PCiXn35ZW8v4JyfqhV5duIre0BDwNLZS2ewzDi0w9vQIW8vn82jIYSSV2r/W1kbnmtbMVi23WhWSEzmJRBBPp3919vcvxtLpOea+ZFSmp6d9MTU1pewVCgX1qBh3GH2M24zmCwMHjPeMIuMd48fMzIxX45cZwkxd7vjs7Oz50NAQiEeMDxfJGi4SnMAhhOg8cyU00P4RYAAZ2RK8jm+p0AAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApNJREFUeNpkUt9LU2EY/s7ZOcfNjUltYBmlGPkrNSOL0mCbE+xiXepNBBM0hY3RdXTdH2Db1aDhH9BVGPljwsQIyqWE1cy70FKsyGE7bDs7p/f53CeWBx7OOe95nud9v+e8UjgcZuJKpVLScix24U0+/6ik6z6jXL6EuqKqm5rDkbnldj+5PTX1dXR01BIa+ZhYeTYxcT+zu7tS3N9/IBlGqypJMoBn1PANHHD/MaCCmozFHm7t7U0T2auqKlMUheF+/BnfwAEXGmgly7KklWTy2qt0+rVqmprNZmMCkiTxLsRhlUrlCGVZLt0JBvt7x8ezGKU2u7HxWLMsTal2s9ntrCsQYO19fcw0Tba+vMw+ZTLMVioxwzAwiQZNL2P3YODV8/k+CDVN4wZdg4Osf3j4KNz6piZ+3yQTWT6MDRpo8eYxCgWPOC/G7hkYYP9fPX4/FwueVSyeovJpGDiosyXOzX+bopwwEHkIHpmh4ODz1Ho8erXIie9mZ08YvF9cPPxtxAHX6fXqvBmhcLa5eWt7ba1NdMiSQalcZld8Ph7iKolzFKSTMhLTQIMoYPDrZjD48nku10IRy+hQS2dcn5tjqzMzXIBwHfRnYA5DZreb0ECLI/zwtLQsXB8a+mCSswjK5XIxt9vN4XQ6uQk6gwMuNNDyRaKHc4S7m0tL0ez8fButrSxCExeWqaauzrwaDG60+v1PqfSCsG3b2dlhoVBI55M0Nn6/2NHBiqZZb1QqNfrBgWSRUV1Dg3m+u/t3YGRk4Uxn5zRx04Rvk5OTFWlsbIyPl0gk+FIRLhNuENqxQ9UBdgmfCW8JHwk/I5FIuUSbqSAUrGc0GjXi8TiIecKXqpmzavAHE0KI5IlrQQPtXwEGAI4lFJG9vogeAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmtJREFUeNp0UzuLmkEUne/zrati4ou1V4JrBAkpbARJsRYhvY1FmqSTsEUgKGhlYb9VBGH/QSBKMGLaECxiJJjOIuLqJoFofD9yzsRPtsnAYYY795y5586MUigUhDby+bxSr9fdvV7v5XK5fLRer88YNxgMX0wmUyMUCpXOz89visXiXuOot8j6SqXypNPpfJ7P5y8Qum80GlWCa8a4xxzmajwFaiKXyxmq1erT4XB4qdPphF6vF5wVRZFJ+/1ebLdbsdls5Oz3+59nMpnX2F8r2FTa7Xa42Wx+AtGEEwVBciqVkgK1Wk2KrFYrCQgtk8nkg1gs1mV51m63+wo+TRaLRdhsNgmKnJ6eSnCtxZnDXHLIpRf3YrFImM1mYbVaBWckiNlsdmwu7ZBIa6r6r23kkEuBu/DlOyiLRCIhvF6vuD3S6bScR6ORgFV5CG7JjdAdClgQ2LHb9E2P/xvcYw4t7XY7dtgir8PhcMxQhYPrRqMhJpMJTxAXFxeSWC6XBd6BsNvtsg+04XQ6pUcKzHw+Xx9XGKEybTBxOp0eT/Z4POLk5ET2gmAl5GBrToGfkUjk7Xg8DkNZ1a6Qo9/vy5lkivIq+RYgsiOHXLb0BhY+INCGr+Op7Hir1ZLgWhvMYS455MqHhEUAeDwYDJ7hH5yhRJWn4S+Iw1/QmrcLBoPdQCBwifAb4LuO5cXj8TnVUOY1NrcgewETylXpGQ3b4vn+ikaj71wu1xVy3wMDiG6VUqkkO5zNZuWjAsLAQ+Ae4DtUfg18BT4CXeAH/4G0ys9xuN8NTmXib+DbQcx2EPjDCklk55F7/M5/BRgAk6YORNXAcuoAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnRJREFUeNpcU79rWlEYvc/fGiJaTVPTJYqLPKcQHGuGZtPVxcFIHcx/UJB0qAr9B0SX6tIsri0daouhS0BCpqrgEOzQxkDaQsUnjT7tORefpL1wvNf7fed83z33PuXo6EgYo9FoKKenp/7Ly8vn0+n06d3dXZT7Npvti9Pp/Li3t/cqnU7fZrPZpcFRDAGQLcViMXF9fV2dzWaPTCaTuD8Wi4WwWq2jQCBwfHJy8g4i87UAyNZyufxsOBxWzWazICigKIokL5dLKaDrusTu7u5xoVB4jfhMQVA5OztTm83mBTbsFotFECTn83kpUKvVpMh8PpfA+k8qldo/ODjosk/X+fl5ARXtGMLhcAicl+2KcDgswTX3GGMOc8kh14If/3g8jsMoGeTMI8DA9fn539g3vCGHXAr44Pg2yWw9k8mIUCj0j4GlUknOV1dX9EseB0b7sfWAAk60toC6lL5f+f9hxFiI3pFLAeH1erXJZOLmul6vC3TECtI8Dppp+EBwuN1ujTOrasFg8CtdZ9Lm5qbw+XzC4/GsK3PNPcaYw1xyEJqyg5+4jveDwUBFwESjjPvv9Xpypvsul0uene8AIgtyyOU72MDiSafTedlqtfaNN8DzwmkpwMq8BeMtHB4eXsRisRcIfVZWZjwGkv1+P99ut6MgmoxqxjVSFEKLeDzeVVW1iu23wDfzaDQSiURiij+3W1tbN9FoVMezfQjYNU0z8d7x/vVIJPIrmUx+2NnZeYPcT8B3iOpKLpeT7VUqFfmoABWIARFge+XjDdAHOkAX+MHvQF4pPxKeCxtztM3E38BgJbaxEpiwQxLpPHLXn/NfAQYAVxYSIuMwPrYAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjdJREFUeNqEUzuLGlEYvTM+xvcj0ShYWkhYjSAhhRYBSWGXP5FeSRUICFpZWOgfGBDSpwuyGCFgFRaLNUMwXZrg4iYBIb5nzDk3juwuC7lwQL/vnPM97h2l0WgI+9TrdaXf78em0+mbzWbzYrfbZRl3uVxfNE0bZDKZVqVSuW42mwdbo94QO3VdfzmZTC5Xq9VrhJ643W6V4G/GmCOH3JOBoigUu3q93qv5fP4e/5Mej0d4vd5bYIw5csilhlrlcDgo4/H4bDgcXjidTg0VBeFwOISq/mvQsixhmqbYbrcS+/1+Uy6XnxYKBYMMn2EYbzGnxkp+v18iEAjcgh0nh1xqqOUssfV6/Zwt+nw+2SoI93aADk8xaqilwUMkE/acJJVKJRGPx8XNg9nFaDSSHBrilmIIP6CBF0HruPHTrHcPY9iX3A92QBOFWnkdoVBoCWHIbm8wGIjFYiHNeDgOOCISicgR2GU4HF4yR4NlIpH4PpvNcnaSRC6OFXl4XYyzOtsnjxqkVjT4lcvlPmDGM74LJrmP+w4NaYCOLGqoZc/XaO8TAmMm/3fIIZcaauUIwCSdTuuo7MZ3kMXC5Au9Wx0jWNls1kilUjo11Do4a7FYXNEtGAxeIWmC/AiVNFyVelyymUwmf+fz+fNoNPoOoY/Aj3a7bSqtVkvgSxO1Wk0+KoC7eAY8BhLHBq6Ar8BnwAB+djqdHQoIp33v3W53X61WSVwA345m/qPBH3ZIITcP7oEaav8KMADyzRBm/XofAgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAk1JREFUeNqEUj2LGlEUfTOOjhoVTDQrdpai2UKCrRax09YiIihYGPQHBFKKkB+gpNPCbGOzTUgREjSFCCHYJEMghRKL6MImAT9Gos6Yex4+GLbJg4POfefce+69TyqVSkycbrcrXV1dBSaTyfPdbvdkv9/HEXc4HF9dLtf7RCLxslAo3JbL5ZPQKBax0mg0sovF4tXhcAjJssxsNhu/MwzjcrVaXY5Go6fT6fQZcd9QkiPu5LPY3mw2K/P5/No0zRBVRFWmqiqH+MYdOOBCA610Op2k4XAY6/f7nyVJUhVFYQCqwwUOCeGCHY9HDtL8zefzj9PptAaGezwevyCyimpOp5NRvxz4f/cbHHChgRYzCKzX65SwjF9UB8gRd0AVuQOrK2igRYIHNPELq7hYLLJIJMKsZzabsV6vxzlISIMOUPg+ErjImklCGb2jX1ofu3sQgxAcuMHsoOVr9Pv9+na79Ql7nU6H6brOk/FVUdztdjOPx8PEen0+ny7egU52f2ia9gg9o4LX6+VDsx6xGbgADxoK71DyN63jrd1uN0U19ImKViAmHIILDbSI3AaDwY+ZTGaC7P874IALDbS8BcKXZDLZIeuOwWAQpxXJYoVWId2bqVRKi8ViHWigtS2XS5bNZndnJzfxeNyg4T2kSaubzYZ7DoVCRjQa/ZPL5d6Fw+HXFPpA+FmtVg2pUqnw/trtNn9UhBghSYgSLs4GbgjfCJ8IGuFXrVY7YLUKVoX3Xa/Xj61WC8QV4fs52b1zgi0cQojJE/cEDbT/BBgAoZsTVzzPeQgAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardTop0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAApCAYAAAAWNlirAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAF1JREFUOI1jqa2tZQCB3NxceyBVBMTGQCzNAhLMycmp+P//fzsDEmABCoJUtjKgAZbv379P5uDgYMKQYGZm1kQXBEuAANB8TAlsgiND4t+/f6OW09/yISaBVZQsHQCsMHUPEsgdpgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardTop1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAApCAIAAAB7iNSFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCFtjevXqFdP///+ZGBgYUGhi8b9//8gWw4eR3AMAjT9unIbIdHUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/CPWindow/Standard/CPWindowStandardTop2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAApCAYAAAAWNlirAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAF5JREFUOI1jefXq1X8GBoanQHwWiPuA+CAQM7D8/w8SZ5CGYj8grgTiDhYGTNAKxEdgOpAB048fPyZj08HAzMysg00HAwsIYJNAdtXwlfj379+o5fS3fIhJYBUlSwcAax55fnDttN0AAAAASUVORK5CYII= +*/ \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLPaths.txt b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLPaths.txt new file mode 100644 index 0000000..cecb7c9 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLPaths.txt @@ -0,0 +1 @@ +@STATIC;1.0;u;57;Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png97;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.pngu;65;Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png105;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.pngu;42;Resources/_CPMenuWindow/_CPMenuWindow1.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindow1.pngu;42;Resources/_CPMenuWindow/_CPMenuWindow3.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindow3.pngu;42;Resources/_CPMenuWindow/_CPMenuWindow4.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindow4.pngu;42;Resources/_CPMenuWindow/_CPMenuWindow5.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindow5.pngu;42;Resources/_CPMenuWindow/_CPMenuWindow7.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindow7.pngu;50;Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.pngu;50;Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.pngu;49;Resources/_CPMenuWindow/_CPMenuWindowRounded0.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindowRounded0.pngu;49;Resources/_CPMenuWindow/_CPMenuWindowRounded2.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindowRounded2.pngu;49;Resources/_CPMenuWindow/_CPMenuWindowRounded6.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindowRounded6.pngu;49;Resources/_CPMenuWindow/_CPMenuWindowRounded8.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPMenuWindow/_CPMenuWindowRounded8.pngu;53;Resources/_CPToolbarView/_CPToolbarViewBackground.png93;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPToolbarView/_CPToolbarViewBackground.pngu;67;Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png107;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.pngu;58;Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png98;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.pngu;56;Resources/_CPWindowView/_CPWindowViewResizeIndicator.png96;mhtml:Browser.environment/MHTMLData.txt!Resources/_CPWindowView/_CPWindowViewResizeIndicator.pngu;28;Resources/brightness_bar.png68;mhtml:Browser.environment/MHTMLData.txt!Resources/brightness_bar.pngu;24;Resources/color_well.png64;mhtml:Browser.environment/MHTMLData.txt!Resources/color_well.pngu;34;Resources/CPAlert/dialog-error.png74;mhtml:Browser.environment/MHTMLData.txt!Resources/CPAlert/dialog-error.pngu;40;Resources/CPAlert/dialog-information.png80;mhtml:Browser.environment/MHTMLData.txt!Resources/CPAlert/dialog-information.pngu;36;Resources/CPAlert/dialog-warning.png76;mhtml:Browser.environment/MHTMLData.txt!Resources/CPAlert/dialog-warning.pngu;31;Resources/CPApplication/New.png71;mhtml:Browser.environment/MHTMLData.txt!Resources/CPApplication/New.pngu;42;Resources/CPApplication/NewHighlighted.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/CPApplication/NewHighlighted.pngu;32;Resources/CPApplication/Open.png72;mhtml:Browser.environment/MHTMLData.txt!Resources/CPApplication/Open.pngu;43;Resources/CPApplication/OpenHighlighted.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/CPApplication/OpenHighlighted.pngu;32;Resources/CPApplication/Save.png72;mhtml:Browser.environment/MHTMLData.txt!Resources/CPApplication/Save.pngu;43;Resources/CPApplication/SaveHighlighted.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/CPApplication/SaveHighlighted.pngu;43;Resources/CPImage/CPImageNameColorPanel.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImage/CPImageNameColorPanel.pngu;54;Resources/CPImage/CPImageNameColorPanelHighlighted.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImage/CPImageNameColorPanelHighlighted.pngu;53;Resources/CPImageView/CPImageViewBottomLeftShadow.png93;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImageView/CPImageViewBottomLeftShadow.pngu;54;Resources/CPImageView/CPImageViewBottomRightShadow.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImageView/CPImageViewBottomRightShadow.pngu;49;Resources/CPImageView/CPImageViewBottomShadow.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImageView/CPImageViewBottomShadow.pngu;47;Resources/CPImageView/CPImageViewLeftShadow.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImageView/CPImageViewLeftShadow.pngu;48;Resources/CPImageView/CPImageViewRightShadow.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImageView/CPImageViewRightShadow.pngu;50;Resources/CPImageView/CPImageViewTopLeftShadow.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImageView/CPImageViewTopLeftShadow.pngu;51;Resources/CPImageView/CPImageViewTopRightShadow.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImageView/CPImageViewTopRightShadow.pngu;46;Resources/CPImageView/CPImageViewTopShadow.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/CPImageView/CPImageViewTopShadow.pngu;42;Resources/CPMenuItem/CPMenuItemOnState.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/CPMenuItem/CPMenuItemOnState.pngu;53;Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png93;mhtml:Browser.environment/MHTMLData.txt!Resources/CPMenuItem/CPMenuItemOnStateHighlighted.pngu;67;Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png107;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.pngu;67;Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png107;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.pngu;67;Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png107;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.pngu;70;Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png110;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.pngu;70;Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png110;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.pngu;70;Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png110;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.pngu;75;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png115;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.pngu;75;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png115;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.pngu;75;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png115;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.pngu;78;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png118;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.pngu;78;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png118;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.pngu;78;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png118;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.pngu;73;Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif113;mhtml:Browser.environment/MHTMLData.txt!Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gifu;47;Resources/CPSearchField/CPSearchFieldCancel.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/CPSearchField/CPSearchFieldCancel.pngu;54;Resources/CPSearchField/CPSearchFieldCancelPressed.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/CPSearchField/CPSearchFieldCancelPressed.pngu;45;Resources/CPSearchField/CPSearchFieldFind.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/CPSearchField/CPSearchFieldFind.pngu;47;Resources/CPSearchField/CPSearchFieldSearch.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/CPSearchField/CPSearchFieldSearch.pngu;50;Resources/CPShadowView/CPShadowViewHeavyBottom.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewHeavyBottom.pngu;54;Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewHeavyBottomLeft.pngu;55;Resources/CPShadowView/CPShadowViewHeavyBottomRight.png95;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewHeavyBottomRight.pngu;48;Resources/CPShadowView/CPShadowViewHeavyLeft.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewHeavyLeft.pngu;49;Resources/CPShadowView/CPShadowViewHeavyRight.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewHeavyRight.pngu;47;Resources/CPShadowView/CPShadowViewHeavyTop.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewHeavyTop.pngu;51;Resources/CPShadowView/CPShadowViewHeavyTopLeft.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewHeavyTopLeft.pngu;52;Resources/CPShadowView/CPShadowViewHeavyTopRight.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewHeavyTopRight.pngu;50;Resources/CPShadowView/CPShadowViewLightBottom.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewLightBottom.pngu;54;Resources/CPShadowView/CPShadowViewLightBottomLeft.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewLightBottomLeft.pngu;55;Resources/CPShadowView/CPShadowViewLightBottomRight.png95;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewLightBottomRight.pngu;48;Resources/CPShadowView/CPShadowViewLightLeft.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewLightLeft.pngu;49;Resources/CPShadowView/CPShadowViewLightRight.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewLightRight.pngu;47;Resources/CPShadowView/CPShadowViewLightTop.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewLightTop.pngu;51;Resources/CPShadowView/CPShadowViewLightTopLeft.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewLightTopLeft.pngu;52;Resources/CPShadowView/CPShadowViewLightTopRight.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/CPShadowView/CPShadowViewLightTopRight.pngu;47;Resources/CPSplitView/CPSplitViewHorizontal.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/CPSplitView/CPSplitViewHorizontal.pngu;45;Resources/CPSplitView/CPSplitViewVertical.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/CPSplitView/CPSplitViewVertical.pngu;51;Resources/CPTabView/_CPTabLabelBackgroundCenter.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelBackgroundCenter.pngu;49;Resources/CPTabView/_CPTabLabelBackgroundLeft.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelBackgroundLeft.pngu;50;Resources/CPTabView/_CPTabLabelBackgroundRight.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelBackgroundRight.pngu;49;Resources/CPTabView/_CPTabLabelSelectedCenter.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelSelectedCenter.pngu;47;Resources/CPTabView/_CPTabLabelSelectedLeft.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelSelectedLeft.pngu;48;Resources/CPTabView/_CPTabLabelSelectedRight.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelSelectedRight.pngu;46;Resources/CPTabView/_CPTabLabelsViewCenter.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelsViewCenter.pngu;44;Resources/CPTabView/_CPTabLabelsViewLeft.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelsViewLeft.pngu;45;Resources/CPTabView/_CPTabLabelsViewRight.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/_CPTabLabelsViewRight.pngu;54;Resources/CPTabView/CPTabViewBezelBackgroundCenter.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/CPTabViewBezelBackgroundCenter.pngu;44;Resources/CPTabView/CPTabViewBezelBorder.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/CPTabViewBezelBorder.pngu;48;Resources/CPTabView/CPTabViewBezelBorderLeft.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/CPTabViewBezelBorderLeft.pngu;49;Resources/CPTabView/CPTabViewBezelBorderRight.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPTabView/CPTabViewBezelBorderRight.pngu;51;Resources/CPToolbarItem/CPToolbarItemSeparator0.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/CPToolbarItem/CPToolbarItemSeparator0.pngu;51;Resources/CPToolbarItem/CPToolbarItemSeparator1.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/CPToolbarItem/CPToolbarItemSeparator1.pngu;51;Resources/CPToolbarItem/CPToolbarItemSeparator2.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/CPToolbarItem/CPToolbarItemSeparator2.pngu;38;Resources/CPWindow/CPWindowShadow0.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow0.pngu;38;Resources/CPWindow/CPWindowShadow1.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow1.pngu;38;Resources/CPWindow/CPWindowShadow2.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow2.pngu;38;Resources/CPWindow/CPWindowShadow3.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow3.pngu;38;Resources/CPWindow/CPWindowShadow4.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow4.pngu;38;Resources/CPWindow/CPWindowShadow5.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow5.pngu;38;Resources/CPWindow/CPWindowShadow6.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow6.pngu;38;Resources/CPWindow/CPWindowShadow7.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow7.pngu;38;Resources/CPWindow/CPWindowShadow8.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/CPWindowShadow8.pngu;37;Resources/CPWindowResizeIndicator.png77;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindowResizeIndicator.pngu;31;Resources/FIXME_ImageShadow.png71;mhtml:Browser.environment/MHTMLData.txt!Resources/FIXME_ImageShadow.pngu;25;Resources/GenericFile.png65;mhtml:Browser.environment/MHTMLData.txt!Resources/GenericFile.pngu;34;Resources/HUDTheme/WindowClose.png74;mhtml:Browser.environment/MHTMLData.txt!Resources/HUDTheme/WindowClose.pngu;40;Resources/HUDTheme/WindowCloseActive.png80;mhtml:Browser.environment/MHTMLData.txt!Resources/HUDTheme/WindowCloseActive.pngu;27;Resources/slider_button.png67;mhtml:Browser.environment/MHTMLData.txt!Resources/slider_button.pngu;29;Resources/slider_button_h.png69;mhtml:Browser.environment/MHTMLData.txt!Resources/slider_button_h.pngu;37;Resources/standardApplicationIcon.png77;mhtml:Browser.environment/MHTMLData.txt!Resources/standardApplicationIcon.pngu;44;Resources/tableview-headerview-ascending.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/tableview-headerview-ascending.pngu;45;Resources/tableview-headerview-descending.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/tableview-headerview-descending.pngu;54;Resources/tableview-headerview-highlighted-pressed.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/tableview-headerview-highlighted-pressed.pngu;46;Resources/tableview-headerview-highlighted.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/tableview-headerview-highlighted.pngu;42;Resources/tableview-headerview-pressed.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/tableview-headerview-pressed.pngu;34;Resources/tableview-headerview.png74;mhtml:Browser.environment/MHTMLData.txt!Resources/tableview-headerview.pngu;25;Resources/wheel_black.png65;mhtml:Browser.environment/MHTMLData.txt!Resources/wheel_black.pngu;26;Resources/wheel_button.png66;mhtml:Browser.environment/MHTMLData.txt!Resources/wheel_button.pngu;28;Resources/wheel_button_h.png68;mhtml:Browser.environment/MHTMLData.txt!Resources/wheel_button_h.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground0.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground0.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground1.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground1.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground2.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground2.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground3.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground3.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground4.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground4.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground5.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground5.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground6.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground6.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground7.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground7.pngu;49;Resources/CPWindow/HUD/CPWindowHUDBackground8.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/HUD/CPWindowHUDBackground8.pngu;59;Resources/CPWindow/Standard/CPWindowStandardCloseButton.png99;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardCloseButton.pngu;70;Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png110;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.pngu;66;Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png106;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.pngu;77;Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png117;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.pngu;62;Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png102;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.pngu;73;Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png113;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.pngu;62;Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png102;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.pngu;73;Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png113;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.pngu;52;Resources/CPWindow/Standard/CPWindowStandardTop0.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardTop0.pngu;52;Resources/CPWindow/Standard/CPWindowStandardTop1.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardTop1.pngu;52;Resources/CPWindow/Standard/CPWindowStandardTop2.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/CPWindow/Standard/CPWindowStandardTop2.png \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLTest.txt b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLTest.txt new file mode 100644 index 0000000..6d8ab99 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/MHTMLTest.txt @@ -0,0 +1,9 @@ +/* +Content-Type: multipart/related; boundary="_SEPARATOR_" + +--_SEPARATOR_ +Content-Location:test +Content-Transfer-Encoding:base64 + +R0lGODlhAQABAIAAAMc9BQAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw== +*/ \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Browser.environment/dataURLs.txt b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/dataURLs.txt new file mode 100644 index 0000000..55f9d9f --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Browser.environment/dataURLs.txt @@ -0,0 +1 @@ +@STATIC;1.0;u;57;Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADVJREFUeNpiunnvEdO7j5+Z/v//j4H/IbP/geh/EDEY+x+Sun//UNSj62f4z8B099YNgAADAA9PUNwzG//eAAAAAElFTkSuQmCCu;65;Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png226;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAcCAIAAAAvP0KbAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUeNpimL9qE9Pdh0+Y/v//D8T/mP79Q6chbBD9/x+MjwX/R7D/g9T/h9BgM/5D9BtqqgIEGAC2zE/UgDMaqgAAAABJRU5ErkJggg==u;42;Resources/_CPMenuWindow/_CPMenuWindow1.png178;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAIAAADAusJtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCB1j2LNnD8P///8Zvnz5AsIAU6oK6qmqG6cAAAAASUVORK5CYII=u;42;Resources/_CPMenuWindow/_CPMenuWindow3.png170;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUCB1j2LNnzxcYAABDLQrJ2KbR7QAAAABJRU5ErkJggg==u;42;Resources/_CPMenuWindow/_CPMenuWindow4.png166;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1j+PLlCwAFvALdifOWJQAAAABJRU5ErkJggg==u;42;Resources/_CPMenuWindow/_CPMenuWindow5.png170;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAIAAAB2XpiaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUCB1j+AIDe/bsAQBJFQrJwsQiEQAAAABJRU5ErkJggg==u;42;Resources/_CPMenuWindow/_CPMenuWindow7.png174;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAIAAADAusJtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUCB1j+PLlCwMM79mzBwBaQArJvXzTegAAAABJRU5ErkJggg==u;50;Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png310;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAASCAYAAAA31qwVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHpJREFUSMdj+P//P8NgxIPSUaMOG9kOi4+Px4WFoRhDbqAdtgSKB5XD8oH4PxTnDRaHOQDxHySH/YaKDajD5IH4KZKjYPgpVG5AHMYOxMexOAqGj0PV0N1hM/A4Coan0tthBUQ4CoYL6OUwJjxFBsOAFRejVdKow0jEAMbSS1vJwWj5AAAAAElFTkSuQmCCu;50;Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png318;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACYAAAASCAYAAAA31qwVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH9JREFUSMdj+P//P8NgxAyjDht12KjDaIjj4+OZ6OIwoEUFQPyfSAxSy0Avh4HwVCIcNQOqlq4OYwfi43gcdRyqhu4OA2F5IH6KxVFPoXIMA+UwEHYA4t9IjvoDFWMYaIeBcB6Sw/KxyA+Yw0B4CRQzDDaHCUPxwDlstEoajBgAIvph233GDmUAAAAASUVORK5CYII=u;49;Resources/_CPMenuWindow/_CPMenuWindowRounded0.png222;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADZJREFUCB0FwbENgDAQwMCvmByJpbxIeipqR0pn7ga4gBt4gQZ41lqdc6oa4FPbe6c2QGpqaj/TuDbcxUWSYgAAAABJRU5ErkJggg==u;49;Resources/_CPMenuWindow/_CPMenuWindowRounded2.png222;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADZJREFUCB0FwbENgDAQwMCvmByJpbxIeipqR0pn7gYIeIEbuKbqnNNaK+AZtb13asA3ampqQD8COzbceGNz5AAAAABJRU5ErkJggg==u;49;Resources/_CPMenuWindow/_CPMenuWindowRounded6.png210;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1JREFUCFtj2LNnz/8vX77AMQNQ4NX79+9RBNqvXLnyHyYIUsEGxL1A/BykHQCHWDaL8tTDxAAAAABJRU5ErkJggg==u;49;Resources/_CPMenuWindow/_CPMenuWindowRounded8.png214;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBJREFUCFtj+PLly38Y3rNnz38GGOf9+/cggVcMMM6VK1dAAl0MIGVA/ByIe4GYDQC0XjaO10uChwAAAABJRU5ErkJggg==u;53;Resources/_CPToolbarView/_CPToolbarViewBackground.png270;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA7CAIAAAA1lncVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUCB0FwQEBwEAMhDAO/1Je1YSUJX7fJyHDSkDKQMArBwZyJ5uVkWN254EDIQvvkiVhJWFDyuscs7KSsJJlYSXDLgErIwkJj6QErISEeZcOKwMBASMJ33s/zDJY0JkKjKMAAAAASUVORK5CYII=u;67;Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png582;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAPCAYAAADd/14OAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUVJREFUKJFj0NDQWKGmpib1//9/BnyYwczM7L+RkdEuoAYdvApdXFz+u7q6/jc1NT2vqanphlOht7f3/+Dg4P8eHh7/LSwsnmhrayeoqqqyYCj08vI6FhER8T8kJOQ/kP3f2tr6k66ubhPQ3XwoCp2cnLiAJoIVh4WF/ff19f1vZ2f3V19ff7a6uroSXCGIALqTE6j4MEhxeHj4/4CAgP9AA/4bGxvvBrrbEegUQbjRQA/xABU/j4yM/A/SEBQUBPYkMFS2amlp2cAVWllZ9fr7+4MVwRQD+Wft7e1DgM6QASvS09PrdXR0BJsCUwQ0fZu7u7se3I0gRQ4ODmB3gRQA8a/AwMDpQHdLovja1tYWrAjkCSD+BLSuAmg6J0Y4enp6ghUBg+YeMGiigBqZccYMMLDPAQPbBm9cu7m57QE6Gm+CAGEA/dNCZSU2Z+AAAAAASUVORK5CYII=u;58;Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png594;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAPCAYAAADd/14OAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAU1JREFUKM9jsLS0XGFmZib1//9/BnyYwdfX97+7u/suCwsLHbwKExMT/4Owt7f3eSsrKzecCrOysv6XlZX9T01N/e/v7//E1tY2wcTEhAVDYWZm5rGampr/FRUV/4Hs/yEhIZ8cHByaTE1N+VAUxsbGcpWWlh6rra39X1VV9T83N/d/RETEX2dn59nm5uZKcIUgAuhGTqDiwyDF1dXV/wsLC/8DDfjv4eGxG+huR6BTBOFGAxXzAN36vK6u7j/IKSUlJf+TkpL++/j4bLUBArjCoKCg3oKCgv8gU2GKgfyzkZGRIU5OTjJgRUBGb0xMzH+g9WBFIMVA07cBQ0IP7kaQoqioKLC7QKYA8a/i4uLpQKdIovg6PDwcrgjokU9A6yqApnNihGN6ejpYUWVl5T1g0EQBNTLjjBlgYJ/LyMiwwRvXycnJe4CO1iGUegAs+F709mxc3QAAAABJRU5ErkJggg==u;56;Resources/_CPWindowView/_CPWindowViewResizeIndicator.png274;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAF9JREFUKJFj+P//PwOx2NjYOJIkxUDalSTFQMxPkmIQnyTF0tLSASQpBtLOJCkGYlmSFGP4gZBiBQWFIJIUw+OBWMVALMkABHZAhg1MMQcHhxeQtoMp5uLi8obyJUF8ACitf5AUaj8yAAAAAElFTkSuQmCCu;28;Resources/brightness_bar.png334;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXUAAAAUCAYAAAByIq2DAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIpJREFUeNrt1DEKgDAMQNEMvf+VdRC3QhNpUOS9pW0CDg5/RMQRl/uMxWy2z+w6zupuNeu6V3Yd747Zm/Onu93f+9q/2TnrfGd3u+/VWWbXcWZ30/0IAH5D1AFEHQBRB0DUARB1AFEHQNQBEHUARB0AUQcQdQBEHQBRB0DUARB1AFEHQNQBEHUA8k4Pbf5S2jTRYAAAAABJRU5ErkJggg==u;24;Resources/color_well.png314;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAPCAIAAADh1eFDAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH1JREFUOI3t07EJgyEUBODHVbqAhXvY22cGXSAbpRFLC8loCiIkIfoyRHhW/7fAcXCHGONNXggBvfdSylNSrbW1hrUWgK+kvbfWGkT0kUdEIKK3PGY+lHS800veuU7XIv7BzFBKjTFEbzvnZGZYa3POD0kpJWMMnHN3ed77HwxWA6QUi5PsAAAAAElFTkSuQmCCu;34;Resources/CPAlert/dialog-error.png2230;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABhpJREFUWMPFl1tsXEcZx38z5+zV63V23bWd4qSqixM7vShJRVGRQISX3iiGhlqiqlDeeAKpagUPPCAh8YYQF/WhvIUHopaiIDUyrXhACAqlIWprO3YSpU2CKzubtR2vd8/u2T1nZvqw52zO8TXmhZE+zdF/Rt/3/y7nmxlhjOH/OWwAIcSuG9+GYhueSdr2C0h5WCvVr7TusaR0LCmXjdbznlJnBEx9HW7vpi90XBhjdiTwFozalvVrDV8tDQ7q/Q8eyeb2D5EqFEn29dKuruOuruIs3WTp4lyjUi5bwpi/eMa8NAFX/2cCb0AyJ+WvgFOfP34sef+TT0jL92B5FRwHWm3wPbATkEpATw/0F1C2zcdT7+hPpmdaGHN6QesffA+8PRGYghJCvHPPwMD4I999MZ1UPly7AU13sycbv7MZuG+YtiX56He/d1cryxe1MU8+C8t3ReAcFIQQMyPj44OHnz9pc/kyrK3vaDRUFivnfX1weIQrb/7JvzF/+aZjzEOTUN2RwBtg9Qrxz5GxseOjJ79pMzsHbmuzl4GCLfEokXQK8eAoH5895/330pXzNWO+MgkqSkBGSeel/Fmpv/jw6PPfss3MHCYwbgBtTEy6eERUMHf3N13U9CVGTn4jUegvHs1J+dONKexG4I+wPyfl/ImXvt8nFxZhvbYptFt5aTbkddMeYyCfwwwP8q/f/HatpfXYBJQ3RSAr5S8OHRnPybaHrq53vdTbSOilCSKijLmzHuAmxNbrCN/n4NihXFLKn0cjIIPc92ljJu599ilL3VjY1vCmVETXwtQEuNpARF1f5N6nvmYrY56bgnyMQAae6S8WlFAK3WrHDUe81Ft42cWF6Egk/CGmpES1PYSQ9OV7tQdPxAgkhPjO4OgDObWyhoko0aESKTFSdhWaANOWhbEsjJSYCK6C/V0JcP/2Ov0jB3O2EC/EzgIDY9mDB9CNRlcRQsDrr8crNpC9jObkZKeYhUA3W2Q+tx/x4cXxGAENpeRACVNe6TAOIiDvwoAxBq1191sIgZSy21tCfQDa80n078NAKZYCbUwuUSygleqENgjdbkNrjVKqW2ghCaUUvu+jte7USlgLxpDoy6GN6Y0RkELU246DTiTv5HsXAkqpruc7EWxcuIC3stKplUQCt1xBCFGL3wfgVrNS6etJJ9Gt1q5KdzMcI9po4M/OIrJZEvcP4xoPAZUYAeBS/eq10Z5jRzE1p1OAgHvqVCe0xuCXy3jXr2Mcp9vhzBZdMdo9Y7jjYLkOjfU6GuZiBHxjzpRn506UvnAsFyuaeh1VqeAvLnb+kG1a7UZsI8FwTQ4VqV6+VtPGnIkRcGFqvVa32guf4P1nHmNAt1oY193Sy7vxPkbIGGQ2hUlIHLdld254kSKchKoQ4uzSv6d9ed8QXrWKct3u6aY3tGAVabUbW3OIq/B8CPDEoQOU35/3peEPE1CLEQBwtX5labFcN/ksopC/Yyxy0KhtzgIFd4wFBKPEZSEH2SQrt1brPvxw02EEcBKWEOK1q399v5F6dAyTTu7qvdrmjIiumUyKzPFRFv4+7UghXp2A8pYEAOpa/9hputOf/uMDL/34w5hMalNot/I+Fq2I92RT9HzxMIvvzrTdVvvDutY/2fZCEo6zsM+G2WKpMDD85WMJ58Il/OVqvOC2qPCNFxK71EfP0QdYenfWq61Ul5rwyK53wshb4B4Bb2cy6SMHTzyaMQ2X5sXrKKe57W8YitWbJTM2jMgk+fRvHzU9tz3Thqefg5U9vQteg8QQvCqFeLEwWEwNPHZE4rZo3VzFX3PQbgvtKUhYyHQKqy9LYqiATFrcOn/Fr9667bXh9Gl4+S1o7OVdIIAc0APkvg1jE/CjPDyWzqRUfqiYSffnsXuz2D1pPKdJq9qgvbrO2s3bTc9tWWtw/k345Tm4AtQBJzLvSiAbEOiNzgdg6Gl4/Ch8KQ9DKcjZkPTBc6G+BpUP4L0/w/nFTqXX6fzv4Vyj82ZUd5OCLJ17WxiJbDBnAkkBScAKUq/oPL9coEkn5KGEhmuh8b08TgWQCAxmgHRgOBngNuBHCLSBVmDYDTC10+P0M7GXX9il4LERAAAAAElFTkSuQmCCu;40;Resources/CPAlert/dialog-information.png2554;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABw1JREFUWMPFl2tsFccVx//nzO7el6/ta+Mn5hE7BFyoEQ8FQdXQqqSkL5E0sloCBZdS1FZVm7RS1S+V8gGiNlJKonxoaxIUVZVSsEgfIjUlpgkozYMQkhCwTWwwYGNfP+71fe7d2df0Qy8qdWvwTRN1pb92NLua/2/OnJk9S0op/D8vbbYHRPQffe2PPBKK5LCFRXCrgloLz60CAAgtSaAzvmc9ny/Dn7r27y/MNu7MCdNsEZgJsGv3j/eAxc/rFi83mlraIvV1dQiHDWhM8D0HU1NTGBp43xzqe1cqz/3pwWee6PxIANrbHzWiMaurvLr2c20btkSglyE+nUcyb8JxbYB86BrQEAujtSmGiA789egfzfjw1Z7sdLC9q+tR+1YA2m2WiKIx2TVv8fLNK9bcG7g8XoCnprG4Xscnm8tREdF9XQjfsl2Vytv+YDypXEeJ9q9vDfecePm+vrOnuwDcD2DWRLtlBHZ9+yffidYtfqLtUw+EB0YLaF2ooaUxCE3AZyKPCB4RfOVDeUpBKYWzlxNOKueI+9c1Rw51HZEjH/T+6OCBx389WwR4NrKOjocrIXjv0jVfDF+OW7h7aRB3zg9CE/CYyWaCTQSbiSQxSSaSRJCtCyp9z/MyJ94bzjz4wJYAaby3o+Phytl8ZgVgg7fVLFwZlr6OxmpCbUwDAS5IOURksyApiCQTpCBYmqCCYLLChiYrywJmtmCnstKVazfcE2aDt5UMAA7srFu4LJTMWVhUb8CH7xErh0A2QdlEkILJYuYCC7KIYGmCTSGoENA5FzQ4fyWeSa9dvVoDGztLPgfgey1l0UqMxPMI6AEA5EKRwwKSiWxBbBMrl0EOAN9nUspXkI7nMVE6aGihVF7S/JqmGiivuWQApbyopmvwlETB9uygrjlEsAlkM5NkhvwnBLkAeRrgO8qnVM6ZDAaEYiK/4HgwdEHK96Oln4SsZaBkNbOL4cm8VRkxPIBtIkgmshhkCSZJzA4TXOUrP1FwJmzXlUGNQ0SkiEgowGemfMk5QCQuZDMJVEUNezJlmYm0lQUgCSQFU4EFCkKQqTFytuuNTWQK71uue/2u+bGqoKHlgsyFhqqwlkxnLWZtsGQAzyv8amTg3eyimnJPaGRfmcpPr7wj1hQySCSz1mg661yaysm+8enCmZzp9OqCExE58fnc+OAXArpmGgabd9bHGt56++28q5znSwZ47sD+Q4nRoeFCetJfUl8pBJM9ljTji2qijWtaYvc2VPCqKNvNuptaqnup9RGV3tZQW73C8dXlgEFmS21soYAXPdnzkqf72d+Uvg0BRY7ccqbnD1J3s8GW2srImcFEr2l7id5rqT+DVWZeRbhlYX31+urKaKsATUNo70Rq7uhsqqpYWhU1Vj791JNCut7Ozs5O80MdxQCwY/cP20JG6G8P7viWqfTI4PyqgCIh4mbBvhAJadPhgMgYQjd1claQCPoZy0U0YHxv377H9Ew6/d2DB3555FYfI75dwfDbZ5465zjWN157+SW9ujwUiyeta9JMxZiUqwu2DaGbxI4cGOirdjz7YllAX9LX21tIp7KdM81LXYJ/RcOnN8dHRyrCugi5yrNGr49lE+Oj1cTssqGcV0/0NI6OjQ0amp4TxPVXrw6Tgnt2LmPPCeDZZ/cnXdc/d33kOs0rCzabdq7ivbdOfHnog1e3Dpzv2Xmh97WHmhdFDQLFBHHrG2+8XmEwXv+fSrKZl3QKe1449LtT39y9Y3FTbbUxOazDlulPsALuWjIf0YroZx07r46+eHzEduyuA51Pjs0punMtyQBg246vHK2ItX7pMxs3orV1KcqjEQihgQlIJCfxlxePo7e378pE3FjW3f20nEtJNucIAEBdzfSnN94j4SvG4cO/R2IyA8f1UFYWgK7ZmE5espNT/V53d5+c65glAYxez4nzF/rR0fFVrN9wNxzXQ3IqhfF4HEpZ6O9NGKnpYEspY3IpL3ue+9jkhIlXXvk7jICBWKwCTQtq0bKkCadOvYkLfZfgOM6hjw1ACNq3atUCtLd/H5rQAQC27aK//xra2tqwvLUFoZD+tY8NQErfHBwcQ3f3Xpw79w7GxycxOZVE9bwohq4Mof/iZeTz1tC6dVXlAMRHtQu0ovQNGxYsKy8P7dH1wEOACgvBUMqHUgylREIp8/jp0/GfTUykswA8AA4At3h3/tsuuB2AUZR+UzuyadOmXQ0NDT/Yvn17AACOHDkiL168ePDkyZOHAZhF5QBIAHbR3AYg1QzDWwHQTaY3FAAQDQaDsc2bNz8eDodXA0A+nz9/7NixX9i2nQaQL5rniu0b5jYAqxQAAKCbZq8Xpd2AaWxsrPF9X8Tj8TQAv2gmi3KLsgFYH3YJ/q2rmLRaMcH4JqEIcENuMQd8zPgtm+n3D0TJdD//hO3OAAAAAElFTkSuQmCCu;36;Resources/CPAlert/dialog-warning.png1890;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABRlJREFUWMPFV2toU1cc/91z703uTWISmzZqupqQxPpqxBBbRGvVNuCjIHWCk6q1Ez+0hcJUFKeV6tzGPoh0++KXvZn70C9lCuIDnygoIoJFWsEnYh8Ic2naNW3Mzf7n1mZZbLfZBz3w55x7zj33//u/fuceIZlMYiobw1S38XigGRCPANJ4dI/ZA98Be/uBPzxA9Efg2Fi/I3AUgiC81yZSWG50OH4LVVaKSCRw99SpeCwSqf4Y+HXSPcDdToCbFm3dypIPHgCPHmFhRYVEHzr+DWCc9CTsBaocwaDHIopC9MoVRC9dgi0rS7D6/Q4LUDepAMh6VRTFr/LXrpV6zpwBy84GSKLnz2NeOGxggnD0B8A+aQD+BOpnFRdPl7u7MUCuVw4ehHr0KGJtbVAGBuAMBIyUTZ9OCoBTwHRRUQ77V6+We86ehVhQALm8HIZwGNKSJYhevAhfcbGBSdIn3wN5Ew5gEGjIKyszapR48c5OKPv3Q2BD29UDBzD48iXEjg64QiGBZr+cUADcIqPNVu8pLJSjFy5AXrkS8rJlevlykYNBGNatQ/TaNbiDQZmpaiXlQmDCAHCLPGvWCIO3biERjULZty/FHcO9iTzC17T2drgLCzXac2JCAHwLFKgzZlS68vOl3qtXYaiogDR/PvFPAj09PYhEItA0DaLbDXX7dvTdvg2X3y9JNlspea503ACI6E/4ysuTMap5zlzq7t36fCflQZBcz4WPuSdM9fVIiiLi9+7BW1TE9zbRSSOMGQBRbonF6y3LdjhEbplxxw4wl0tXZjabU+/xMZ9jDgfMdXXob21FdlYWMzid8+gbH40JQFIPr/D13PXr0UeJJ1gsUGpqUjHPBDCcD6Zdu8BychC7exe+UEinaCIww3sD+An40L5oUcCiaaz//n0Ya2vB7PaUIlVVQayoi6IoqYpgJhPMe/di4PFj2BgTzLNnO/uA2vcCcIRCz0TxeH44zHrPndPdrlRVpZSkMp+UcUmf172weTPkuXPRT17wBgKyyNhnvwDW/w3ADexyLl2aa3z1Shh48gTqnj1gZGV62fHearXqkgmM2BDWhgbEu7qgUpXYvF4lMQpFvwPgZwopUe4X3pISmR8y0oIFUKj0MpXrlmZ4IH1NJYo2Ll+OGIXPM2eOQZDlPRTW3P8EoNGfTm5JyTRGhBKnQ8dENAui3EwFvJ0+fVqXzBAMi72xUScniSg6x+/nif35vwIg4sgx2GwH3KGQzM95mSyQV6wYUTnvq6urUfU2N9LXh8W4eDHMGzdi4OFD5LpcBgpjFZXlwlEBiMDh2WVlknbnDhK9vbr1o1mnnwGyTM5hIyofnrMfOqQTmPD8OWb5/eTgf1I0S7PeS8RRN8vnk3tv3IBxwwbIgcCo1nNpbm5GS0vLqMq5GDweWHfuxODTp5hps0myxRLmBJfGtCnrj3lWrUrGb96EFotB2bQJRPY8bkMfJUkfp2RIm7422juWLVsQOXkS2rNncOXlJV+0tR2n14rSATDaWO70+aTo5cv6RIQOloluidevYc/LE58BIeIaXtexYQCmN0BX5/Xr0z7Yto0xii0FDkk68eio03t9zHt6xtvn9PE7a5lz1HPPdr14wa9CvxMAoRF/3wvM9DtbGqLTl5LCiUlsBOdVK1DTBJwh3fH0iwkn+unzgJmUD4o2jivXCLX+hhtLPom1Ax007ibp13Vn3IxItx4bIyb24srLLw7911IXPWdTAKay/QWH+MCcjkpBPwAAAABJRU5ErkJggg==u;31;Resources/CPApplication/New.png686;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZNJREFUOI19kz9IAmEUwI8aaoqo1BaxWhoampMWazQS++PWEtTk1tIUOHbQkHZBTjY4eGpLKEE3JaLiDVficBwcSJSLTi4Owuu9jw8x79MHP+7ge+/3vXfffRIASBgzyByygCwjLsSLbCLbyAayhMxK48EFVOyCkeh0OmAYBnvHtTNkRyjhAtp5i5JrtRqjUChAIpEYCnH9WijhAmrbT4m6rjOKxSLIsjzalFjCBTRzgJKobULTNIjH4zAemHfOv828UNBsNhnlchnS6bRDwCW7yKJQYFkWo9FoQKlUAlVVIZlMgqIokEqlWHeYu4esCAWtVoth2zaYpskK6vU6VKtV9qTTwdx9xC0UtNvtqfARArzGKeh2uxM5ygQh8hIC3637a6Kg1+tN5Dh7AG+/lemCfr/v4CR3yLh4j8Kz/QpBNfyzdu+prD+sfjgEg8HAwWk+BE9WbohiZhijguGfKAqam7jUonDz+QjBbPh7vAN2F5AIcoXERHhjLpsEvjuPzmv+30Yu8fNjcuCT3QYV0+68RvoD0y0J9R+ff5MAAAAASUVORK5CYII=u;42;Resources/CPApplication/NewHighlighted.png670;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYhJREFUOI19k71Lw0AUwIMOOrViGzcXFwcHwY+WfizVwcG9iFIpDmkkSyDQ1MFWyVJqKdRSQggdMnQJFEr/FgdBEEdB/Bue7x3P0jbXHvzIwb33u3fvcgoAKDjWkA0khiQQFdlF9pFDZA/ZRtaVxcECSlYnkwn8MxwOodvtijmulZCMVMIC2vmAgtvttqBer0OlUpkKcb0mlbCAys5SYKfTETQaDSiXyzBblVTCAjpzgYKobMJxHNA0bU7AkjvuzaZU0O/3Ba1WCyzLighYkke2pALP8wS9Xg+azSbYtg2GYYCu62CapqgOY8+QpFQwGAwEvu+D67oigXpCjaUv3Q7GniM7UkEQBCvhIxQ4JyqgHZaRqZ5A/iENyevY11JBGIZLydqn8BS8rBaMRqMIuVpKcOFcguk/wrGV/lVL8Xf1Nv4WEYzH4wg5LNvwalN0tyqYFUz/RBl0boIquHq9hyMr9bNYgXgLSBGxkGcZiWLsmwTJm/gH58y/RpZk+ZoiYPM+KZl25xzlDyJip/qGO0OBAAAAAElFTkSuQmCCu;32;Resources/CPApplication/Open.png846;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgtJREFUOMulkz1rlFEQhZ+Ze3dDkGhcSZa4UYOFhU1iYaUWfiP+Bit/gVhYm970oj/DPyDEFBpEEPFziYKKySa7yO67eb/uHYvs5g22meZyYeacM2dmxMw4TCiHDAGOzDabd0+fWVgMIRQAu8Nh5/vGxnqa7nb+I1FgF/gJmJnhgeNXb9y+/+Dho1v9pB8xGCaD5O2b1+12++uOc17GVCqqIYZkbXX1xUb72zMgeEBbzZn62VNNer26AqjOTC2eP7eE7Ek8KHh6+hjLj5cbKytPngJ4IIpYabHEQglACBCKHGRcXhk9OVHHLCY2ct8D0u325M9mh16vV3EJmI0xKqA0KxgkwxowAWT+ZGv+2tzCuaX1D22KPENGrOPxighmRjRwqqhucfHKzUsfv7SfA/f87Nx86/L1Oyemjk4TQokA0cCrIk7I84IQDRGh7h1mMN1o+FerLxsAPsvScrOzbUlhkucFMmLda8GIZoQQERFq3mFm9LOS/iDJAXxRlrbzt08W65Sh3PfNzDAzVHX/P26vNCVNM6sAuj0bpiahLKu1GRkoIlis/IjRSIYpg2QYAbyKOkXUuQM3YYY6HamIiI5bijgnqIJzrgbgu9tb2+/X137PzrVqoSgjIghg2Gh8e281VkFU6z/an38BiHN+YWJy8gKIB4tV8qhwH6JaJxFqeZZ9yrP0nRz2nP8BeYUUSYTtIaYAAAAASUVORK5CYII=u;43;Resources/CPApplication/OpenHighlighted.png794;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeRJREFUOBGlwV1qE1EAhuH3O3MM1CiN/RFEBBFFULDWG92BV6IgrsD96CoEvVMXIS5AW1FBqJQmFWnaJs4kc+Z8Thtt9brPI9ucROCEBPTme70ny8vnb+Wca1qTqvo5GPTfp5QGQOCYgBL4BtS2icDyrZXVpw8ePb5bVSXYVGU5/frl88ZgsLUbQiH+kBSy8/jT2trb7X7/GZAioIXefHFhqcdoHAERQq9z5fKlq2COCQGnu6d59fLl/JvXb57TikCWnOyMc+ZAk6FJCQkw/+mcitgeGSdaEQj7o7F2hruMxyNmxIyZEX9NU0M1mUSgC4ziwuLS/YXzF2983ejTpBokBNi0DAIMBiQRNOTazdur3zf7L4CHsbewePHGyp2zc3Ndcs4gsE2hgIKoUyJnI4lYBDB0z54p1tc+nqMV67pOw909qgRNShySCIAxtmmykaAIBcaUqaEsqwmtmFLj/V8ltSM5Z2aMaRkkccAYcUBki2ldm1ZscuP9vRGTqck5c0QcEmBzSIJsmEynVNUk04oiFJIIgSO2CQoYY5sQBAKyKYIQEEI4RSvu7w1/fPuyvtM7t1jk3GRaAmyOiZYAIwQhdLa3NrdoKYRwPXY694QKcAYxY0DMGBD/6KSUPqR6+k62OYnfXED9QFof0dQAAAAASUVORK5CYII=u;32;Resources/CPApplication/Save.png606;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVhJREFUeNqsUz1rwlAUvS8JAemUPZNZAiLonqGTPyV/oWPt2H+T2aUK/oAQyKDSzUFCSBarolF7z22faKWmYC8c7st995z78Yg6Ho90j1lhGMpBKXVS8n1f8NOiKIJ72e/3/cPh8CXwfdfvdru02+0gRM1mUwDLsoziOKZOp0PtdptWq9XzdDod8hVABqsRsNlsaLlcijdNkxzHETBB4vC4Q67neW/MfZQOqqqSSqgO2LYtVSeTicTX67XE4dEdzo1GA0IQGF4JYLbFYiHQBsJsNjvlWZZFmnchsN1uKc/z+s2fC4AIA7ksSwqC4CZ5PB6LgOZddIAF9Xq9mwKj0Uhyr0ZABxCoM+Qg92oE3cFfBPTC/6UDoygK+dBPWGfI0TsA10qShFqtFhmGIdsdDAa1T4hcvFiapqQ45jI813Wf2DuMB4b52wSMD0Y5n89f2b+re3/nTwEGACUKCdgz2++nAAAAAElFTkSuQmCCu;43;Resources/CPApplication/SaveHighlighted.png638;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXBJREFUOE+lk09qwlAQxscXCC7cBUGwJCErt0IJOYLF0Bt0I8FVD+Eduuo2i+57hB6gBLLLUhoiLlQUxP/G9w08iYjJogM/Xpz5vnkzkog8z+k/iOFwSLVajXq9Xq4IgiAfjUZ3oOb7/gf0YDAYkCAZrut+OY5DlmWRbdvUbrep1Wox9XqdJpMJn6g1m833fr//Ch9CnE4nHuVwONB2u6X9fk9CCGo0Gsxut+M8TtTO5zMZhvHted4bNzgej5zECTDacrmkNE0ZmJDHiRqecYG88AWXcwM8KNBssVhQkiRMlmWk6zqfqBW13Kw4AdZYrValQFP0CCTUj/V6TaZplgKNagDv3QrdbreUhyuoSaqiqL1ZQf2BVVHU3qygJqkKdfN1hfl8fk3ihaoKaNRl8Io4jmmz2fDLoWkaRVFUCjTQwgMvvoWn6XT6+StDJpIwDMeSvweMoYEWHniFHCmV/MhxnmezWUdiS8wHoNaBFh54L4mHAQ/Vw7dXAAAAAElFTkSuQmCCu;43;Resources/CPImage/CPImageNameColorPanel.png2558;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAdCAYAAAC0T3x2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABxBJREFUeNqMlmtsHNUVx8+dufPetddrO07sRG1ik0SEQIwDJRSaAEn4QEQiA4oQoEgoUj+0qpDCN0BVVdQPqA++tFU/VVCpISIK0MhWFYQICBEeBVyqxjHgBIOx49jrXdv7mNfO7f/eGQcTXrV19s7dO3N+5/zPuXeWCSHou/72/P759bGRHIyN5p6mkbQ2ebIt0QTpWjTC9WDB0P2XYcdODT524bv8sG8D7f/VS7fA+ZPFNt6/6/qrqv2bf9iad7mx1jBMuT4ZheFSXI9GJkYXT4+/5ZWblz7kmv/4C/v+8Nr/BTr46JDZNMTv2gpi8P79t5jbe9s6Io2ohtsCjD5TT5FDgixKyCNGBq7/Vfmo9NybRxtlMfMio+jIsbv+Gn4r6MGfDxcTLk5s71/d89A9A70+1mfx4XOiGJYYRELmwxLSKILFxDE6IqEOZpGN5Wff+9v4Oxff+IKJaPDovmPzXwMdOjzsCE6n9+7Z2LP79r6eyQWihSYAcI7QSbMzk3MtwUeEfELkgkgoIBPQFmDXUJ5e/mRoamj0+CSJaNfRu082pH/tMjEST9+wdU3bj7b3dY+irNOzkKsKUIDFZupbR0w6rbQEwiVYjqhGDZqhEo3RZ3Rz30/W3NR9U5GJ8Oll/wr08H0nB9pz7MAdt/Vv+GQccgHSAKQptYvgUBpAXBpgUBEmlEmYDpRAdg2qU4Xm6TxNsDsH7l5f1IoHHnjh1oHLIBYmT+28fTubmCC9BIi/iHogYS1KTUdGPCYyADIBMpGHLJWhYClI1osB5lNVwb6gKX3vjYOMJdFTksEP7z2xrbCab3VbV3VMfCoobqKLUAsTYTPIpqM+HDAzg0jJZOMJpahQ0glcxRkoQb0C5BbQIq3tWtvRzju3Hnq+f5umReLeqwf6/KkLUKnKSMA5i1PJZDYqE2RkwizAbBBka9uqRwQyS5BZE5ktZxXjKgCySlP0Odvad2ugi+a9mhYmOxyn261MovCLqUxSIkOk12oOmAWzce0oEINRBpOgJKtVouSU4AT1WqJpyvcULUOIHVyPxCbuuzZH8Q0PD8epA2WooMVI1UNKZ2XyyWaI4VCDSeHSPKSI2ootGqMXG2S7rR52xCZuxKJzYZRrMfZNrofIA8xB5K6KHCNADp639RTiKJB0TKpSQlVNwz9TGE19AwcQL6CL1OC+aZPeyaX+NiC1CXTbEqJeA+c9adFNhOJIsMxGQnTZaanpcMwUIG1xPA33VWQxh9kUrqfx/TzllMw6cdBmvdj3uO4WZMQeTqgcZPSQjgvNbDPNxjFSsC43VOITt3AE6T5cNGCIEFuWYdRQGx042SgBZoYf1BwyqtwlfSz0y71dhltgyM6DJi7MQ8e5MAdgC2bKzSu7Ao6IY5NFMWlOgywDMBYiS2kSIC1GjWPVFtNlv+KSMc6R1plq/eOu61Ggei1zHmQG5xZ8cnl08zCFRLhJkzcisxg3OFXiZo10LjPz4TpQJoEe/kdHF+vI6Az3iB8XCwuH24qU8IrQ3ICRnQEs+NUs2eOBkoZiaGrKPYBFH98HgIcSukTMrpJl1omzBprFVxm2UiEJZoJ2hxvH1en93HXDp9f1/KDrx86WzUvwZbWh4DDWBkcFUFvgLIc6OEspiNXStsxhPQ+oh4dcfG9X8HCZhFFGvXL0/r+DsfFz8xfvOzi0S24JcomOzM5+fJKu3tLIL6JJlFRBGjnJ0xWAAK1pw5mBUaun0vnQOUAgAeYh7vGwHiO7vFTB8S+MlFoNS3/gK++jV7YN/4W38xt2du3tpzk/jT4PSB5jDs4dmIWIjSwjT6Qd04KAWhBQi2xV3FvAvLudTv298kEU1d+969A/fqoO1eV9jC5+RC/Fp99jr/53oPu2LXTpItq4jAgBCCqZLDAOZ6yavtvz6MIQjkMEFiErgUw6O+n1Zy6djar1iEztkW98lb993XCRRHyiWQwKN/fu2Ei1kiPKY8ScRaU9QfvLIDcDtUYk8gGxjUWiDs8f+uf5sWZSr2iOMbjvyKkvX+VX/lj50/pfWtc66/9YMyu7N3Tna30d7ZsoKWlU+wyr8zjdZzDWiRWxo1vxeE+OqI0n/5ma+Whketq1nOSVdz+v/uy3J87JVhUiy2QlaPkNLU8Y/ud1v9i1Tnee8PXFXrPYmNu82nAKTmh2dnid8uaZ8lypFDaCkdq0v9AsF3VbnJ8Mkt/8+tSnr6uDjtRxGMnXFljNlSB5SDtpE6I3IQysZafbe82NdsfuTiO5NqElz9P9VU0cO2UWzyUW1adEPPrBUvjq+3ONs7h/IW1TdSZV0x1ODYDC7wXBID6tykY597K3iJ85RIfQJdh8dv29oK9Il4FNWvF6yuacll9JqTRSpkZm4YrvLksn7WvN8A22/CNm5Xz5ZwNlY3LF/Eqj/wkwAC2fO4nxam4uAAAAAElFTkSuQmCCu;54;Resources/CPImage/CPImageNameColorPanelHighlighted.png2422;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAdCAYAAAC0T3x2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABqhJREFUeNqMVkuMHEcZ/quqq7vntbO743jXm8WLs/YaOQ8nUswzQitMImJ8AokcLBHhK7cIWUHmAsGKZHzkgpAiBckckDghJQcc4TwIIg4iRBBZMrZje22v19nHPHr6VV3FV109m12CSWb0TVV3Vf3f/65h9Cmfx3/40wM5y48rli9qoZsF5fs0IxLSXBI8H0hfn5e+eunCyV9/8P/ksHstfO0Hp45kJv55s0b7H957f/zA7M5GzedeRwjPrq8WhYp1qq7eXRq+f+tiOGS9f8vQ/OTN53/3h89EtPi9F8OCq5fqYf7U1790wJufrrcL7EoMUc6B8pQhH4MkTQFEeGTo8vB2/42LbyRDr3eOC338T8+/mtyT6MnvnJ7OdfzK3gfGdy5+ec9MhvUufnJBVAAaIM8RMVJAQQLwjaYxJkHOzPmrr9+6tPHBihfSkXMnXlv+BNHTR880Uj288Niju+575KGpHatDokg7AqhOHCYwO1ZEBCINEEET2OnhqUacJqlO/7jzt9V3l/68Iuvs0B9PvBVZ+XxEpNLk5YXPT7T2zU91lu4QrXWJ0hhWWF+BkAHcuAMfwxIa2FRQQiltUJ9u0l36wtSByf2T+8eKJHl5JL8kenrxxcWmrw4//ODczO3bcBdIMni4sCQFMkw5EjECWZgSvBw1fhVsSykC2TKtsEf3HNrVKBqHnzx1cHGTCMxnHnpkL62sEO9bElhiUiyqCrBGgNAzFWgER8JLFGXcMtg2ANkqrfHHFr5KOknPWA7v24+/8ISsZ/N+fay9cgduQJF4vlOBwSJu47KFRGxJnqJynanILJFBvHJYtk5D2jG2o92k9vy3frbvCW5ydWz33pl8dZmYShiZyl0WrKgsgUUeRmnKvEBKu1GWVukSoiRyB22SKFi2Rh+xuZkHUe/FMU55fsj3J8JoFTEfOjeVgo2bj9wmMfoYfby3Bo8gt7nPVO60tqYUg6reaUlWmEMeU3pOZIEUCL4InLCRtj6SX7LqWTuLRu4rygQ3lePYJrY6tkDEpF/UhDZznlB6PLrBWYFsDztACALt3GM1DpiD5I7EL4mck1x8eFmO7jtKe12qESFSKc89afi4J6ymIElWUHbINjkJwZPugAfVg9AJLy3kLttEJZDhl23WUwbxCRTo4WkV83W871OIHT5mXkBio6ZVTQjZsBqHSIYQbgxBGkC69Jw1gXDE3BaSydC9C+I8g4gUWYbNZFtbDLFpmeqyzD8Q5CoNmDf0QuZdU9lgdlxMNGz1BxbwS4j6CQAfkIAHBVhmHYYCE2g7BerGRwwExDEFKxWsVSCwKMqGa9NiI8r6Ne4teTUmLyTZ7c6ecILS1AkPINSvICFT2NZtK9eSKGjO7ahd6/BjEl4CS611OUTbvpeXhCG+t5bipCbkBa/JgrNJNHim1WRGRJoFOdskkJDHbK7z3LlGA56tASxmeJ8r5+cALpMx3JySYFlJZi1ssKbJ1nvtelOeFW+vn7v+jfY3n9F+kc+hO1ilfRsP2xmYctobCDPIGJuaCkSZnaeOuFzDO2PjFOEMLOQxsrZB167nS2mU3Tr1wjsny9tyjAfPbXRv/p59bjarDY1f3nIid5qXlkCIgnA5dBYx62PsyaBIjn156hQo4hKsZr3gZ8uXB436mPw+VZlKr62f+/Do+FNfvFvcCe9rT3Uozp1wm01WWz1wRApjDqSVRVaw3WcqlK0FZ+stev+t6IrkxV9Pnnr79Lb7qMnDZ72+Vld7//qQJnx7QcETEDroE/V7RL2uQ9fOAXuX9Kp5z+7BXqugGKOL5/vXisFQBZw/+z+v8l/Nn56Oi+iVopW1FqYXdpuk55vBTaQxNJUQ5AHwP7HEuc66qIFGVMuJzbQQgyD7+3sr17VJ+/VWcOTEL99ZvtefE/6jXcdr9/udswPR/cquTj2eajV2G91HHd7Fch/dfaOMEWvB6jqOd1D7Tc/cWN+4cXltLQxr9Jera+mx375+LS6blDH6v4lG95ltc95zO797tM34jxMezfqtbGN23AvqQe61WsG43dyN+v2BSrMryXoa6UFb+OZmt6Bf/Obd5VerNlEVHimQqa1E6GrISYQLsMLawMTBcObgghw73BJ6QdMwDHg2rtHXIlZ0jaR0jfSVK7F681I3/Sf2rwE9qwcA03HZItIgSj6VCNgBTAOTthKqPUGlrRW0DuDvDH30WYm2ua4itvP6FvibFytt/teyhMNKaFq92+Y6i08kw5aRbYmh2FoK1Vxvu+U+fjYVRs/l+B8BBgCMykDM1OUJfQAAAABJRU5ErkJggg==u;53;Resources/CPImageView/CPImageViewBottomLeftShadow.png298;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUGBl1wUEOwUAUANA37S8JG7Fj5Qhu4KrOJyxEpJTpWHSW+l5ggwOOpZSzP8KkYDQjUJAxmBHIeOORUtphiQ6NKpDR44YT9thipQpkPHExuWONhSqQ0ZsMuKJDqwqM+CDjhRYNkipQkJHx9ccPCKMfJ5j/ZGcAAAAASUVORK5CYII=u;54;Resources/CPImageView/CPImageViewBottomRightShadow.png298;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUGBl1wTsKAjEUAMAJvLt4LTsvayEeQAQbbRTEZd1PEgWLCLozUWv1T0ppjR2OYVlB9RaWDciokVJaaQomjHhgQA5sfFT0uOKMA3rkwFYzosMNF3SYA3tNxoQeHZ4ogZOmoiBjRkEJ3P2qvrwAKV0tKePvXOUAAAAASUVORK5CYII=u;49;Resources/CPImageView/CPImageViewBottomShadow.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAJCAYAAADzRkbkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB9JREFUCFtj+P//PwMDggACdRDRByKiQIQOiOAHEYwAbGEKQz1zHVUAAAAASUVORK5CYII=u;47;Resources/CPImageView/CPImageViewLeftShadow.png174;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAABCAYAAAAb4BS0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABJJREFUCB1jYGBgEABiAyBOAAAB7QChuhy7UQAAAABJRU5ErkJggg==u;48;Resources/CPImageView/CPImageViewRightShadow.png178;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAABCAYAAAAMwoR9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCFtj+P//PwM2DAQJQGwAxAIAxNISj3z8C1sAAAAASUVORK5CYII=u;50;Resources/CPImageView/CPImageViewTopLeftShadow.png266;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUGBl1wbENwjAQAMD7f8sYlCoN+w9GyRxOgRuk+C78CzcCgUShoZAIS0OiY+CFgY6yNBQGTnyRSISloeHAe875cSNReOK0kUh0HDYSgcLDRvoJhI0L53oFmk+kBA4AAAAASUVORK5CYII=u;51;Resources/CPImageView/CPImageViewTopRightShadow.png278;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGBJREFUGBl1wbEKwjAUAMB7aVAExUFw0f//vC6i1GASHYQuzV0gbOv+Ms5WHQ0VH1S0jLtVRcGCFxaUwMmqo6HhhhnP3Ht/2BARVxS8k7ELDpiSsSN2SMnYHhMiGQuEny/9fRhMYHBh/AAAAABJRU5ErkJggg==u;46;Resources/CPImageView/CPImageViewTopShadow.png178;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAECAYAAABP2FU6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVJREFUCB1jYGBgYARiBgEQoQMieAEB6QBLHwsEZwAAAABJRU5ErkJggg==u;42;Resources/CPMenuItem/CPMenuItemOnState.png258;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFNJREFUKM9j+P//PwM5mGEIa4SCciB+B8QggZlALAgSJKSxHKoBGe8mRuM7LBpB2JiQxv84sAshjTOxaLpLjFMFoX5C1mRMjEYYACl2QRYYoikHAEpc1bCGmTUoAAAAAElFTkSuQmCCu;53;Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png246;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAElJREFUKM9j+P//PwM5mGHoaywH4nf/IWAmEAsSo7H8PybYTYzGd/+xA2NCGnEBF0IaZ2LRdJcYpwpC/YSsyZiU6DBGd94QTTkAZdZoLJnGKoYAAAAASUVORK5CYII=u;67;Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png370;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKVJREFUeNpiZAiuZ2ZgYLAGYh0GhsA6h44tpzdfeP7lIxML038TCx11x1c/GflY/vz+w/35139uBoY/DCwM//4y//n7hwEEWBj+/2X+/QfG+fuX5ffvv1DOPyAHLvPvD1DZbySZ338QnD9/EHrgpjGxMzP++vr92w+QXUy6StLXjp+5cPnL12/fGe8+fSkXVjMh5Oq9JxqM////ZwQqlwZiIYAAAwAMX1XNMAlUgQAAAABJRU5ErkJggg==u;67;Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png242;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNpiYAiuL2e48+H3f6Zb734yMP3985eB6c/fPwxMv/+AiN9/Yaw/v0FcIOvPH5gYWB2Iy7zvwWdVhv///xsDBBgAJJsuTOBf54IAAAAASUVORK5CYII=u;67;Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png358;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ5JREFUeNpiZAiuz2JgYLgCxEeZL+zbukdBXEhmz7mbT5le/WTks9BRd2Rh+m/C8vPXH4afDAzcf37/4Wb58/cPAxj8+8vM8vsPlPMfxPn9F8L5+5cFIfMPzPkN5fwBKUOS+fPnL7IyJKNB9vz89esHOzPjL5YvX799P3PxyhVdJelrzKde/ZbnZvl/YFVz/gaG////6wGxDBAzAgQYAO59XJBTIVY/AAAAAElFTkSuQmCCu;70;Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png350;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJhJREFUeNpi1LewZWZgYLAGYh0GfXMbh5XrN21++fbDRxYmZiYTGxtbx39MLNwsf/784f7LwMj9988fBhaG//+Z//75ywACLP+BnN9//8A5IKUIzu/fCA4zqgyMw4Cmh/k31GgmVlbWX1+/fPkBspRJVUX52qED+y9//vz5O+Ojx4/l8ovKQm7fvavBCNTDCFQuDcRCAAEGADqxWcjpDiMNAAAAAElFTkSuQmCCu;70;Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png262;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFRJREFUeNpi0LewLWf88uPXf8Zn7z7/Z3z0+sN/xvvP3/5nvPXk5X/Gaw+e/me8ePvhf6Y/f/4wMP0GEVDWXwamv2Du378MDKra+ksY////bwwQYAAEtTEizRGTJgAAAABJRU5ErkJggg==u;70;Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png350;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJZJREFUeNpi1LewzWJgYLgCxEeZL128tEdWVkbm8JGjT5n+MbHw2djYOjIxM5mw/P7zB6iCkfvPnz/cLH///GUAg///mVl+//0DZQM5f/7AOSwsv38jcZBkmKGmockwgPVAjQYr+wuU+QEErKysv5g+f/78/dCB/ZdVVZSvMegYmc0KDI0sevT4sRxIrR4QywAxI0CAAQBTdF49cw4ogQAAAABJRU5ErkJggg==u;75;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png318;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIBJREFUeNpiZIAAISBWATGE9+7dO/Xr16+vGTg4OGyAjA+/f//+z/Tjxw8uFhYW/n///jGwAJUxgRggAOIw/v37F85BkWFClkFVhlMPXBkTDw/Pf6DFn0CyzN7e3mKsrKwcUlJSCgxv374VCA4Odufn5w9h/P//P0g5PxBLAwQYADkXPiP8F5MNAAAAAElFTkSuQmCCu;75;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png250;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEtJREFUeNocxFEKgCAQRdF59dO+WkT7B0EEQRBhGERv1Pk4Zma31lpozokiArk7GmOg3jtqraFaKyqloJwzSilx7L3t7/OcwPUKMABbNDOyQBe/kwAAAABJRU5ErkJggg==u;75;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png318;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH5JREFUeNpiYGBgMANiIQYQ+Pr16+u9e/dOBTKFGX7//v0fKPCBg4PDhunfv38MLCws/D9+/OBiAXGggInl79+/MA4jThk0ZSgy+E379evXJx4env9M3759+7B///71rq6ubxn4+flDgoOD3d++fSvA8P//fy0g5gdiBoAAAwDmKUtB/aWHewAAAABJRU5ErkJggg==u;78;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png318;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH5JREFUeNpiZIAAISBWYQQSwp6enk1iYmJhLBwcHJpARjQTExM/048fP7iAsvz//v1jYAEymEAMEABxGP/+/QvnoMjgUYZTDyOMw8TDw/P/z58/n0ACTK6urm9fvXq1/vfv3x8Y3r59KxAcHOzOz88fwvj//3+Qcn4glgYIMADyGjn6SjxcsAAAAABJRU5ErkJggg==u;78;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png210;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAQCAYAAADXnxW3AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC9JREFUeNpiYGBgcGZMSkr6z/T//38Gpn///kGJv3//YnDRxOAECIQzAw3gAAgwAGRwKZNd4WBbAAAAAElFTkSuQmCCu;78;Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png318;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAQCAYAAADTasWKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIBJREFUeNpiYGBgMANiISBmYI6Pj78gJSUlfufOnZNMQCAiJiYWzcHBocn0798/kAr+Hz9+cLFAOSDAxPL3718YhxFVBrcyJA4TTj2MYEv//PnziYeH5z/T79+/P7x69Wq9q6vrWwZ+fv6Q4OBg97dv3wow/P//XwuI+YGYASDAADufQ795H/vjAAAAAElFTkSuQmCCu;73;Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif5998;data:image/gif;base64,R0lGODlhQABAAPcAAP///8zMzJmZmWZmZjMzM7u7u6qqqoiIiHd3d1VVVURERAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBgAAACwAAAAAQABAAEAI/wABCBxIsKDBgwgTKlzIsKHDhxAbGphooCDFigQvRtwo8CJFgQUmFjAY0sBIAB4nckyYgIDLlzAVQEzp8eTKjAoUJMipAIFAAQkGBAVQAAGCkQIOKD1ZQIDTpzcfHkiQQEBBo0YtKsUYtavXr2DDih0YcuxXjR0/plVp9qFJhyFttkU4lafVhU2fyp1rEEHQAQMGYvX5U+mBu3wTK17MuLHjx5AZo42McDJKtWu5Jr4ol/NllSXZgrRsNqVD06UVuOSZk4ACxKdpiqZMe6CBATmp5hyQF2GBkQaePtUs1u8A2FMBBwYwWKDhA8SD721rPAFhgc0HJlUKu7Zzowe8i7cfT768+fPo06tfz34jae8lDb4XGdmzbcxE3zMOzXWyfcXxEcRfZpntRd9YKdmEFluT8TebWA6+1VCE082l30EXttdWSzB1KJNbsh0YlQGqucaaa90xFCJxZvl1HV4CsJgYULntlOJBwjmV2AE15maVXwmEp9VhP+UoQIUjssbbQMoFyRxWKD2XkXD7NXlXdgZISZkBfyXAVXZEPYdkYsotKRiUBGkJ2W99oamhUhrGKeecdNbpXUAAIfkEBQYAAAAsDAAVACUAHwBACP8AAQgcoECBAIEIEypcyLChw4cQGxoYkGCAxQQRBRrYyDFjAQQgERRAeKDkgYQCUh58aCABgZcwMWZ8WCCBzZs4Dcz0iBNBwpAIDpo8WUDlSoEFOOrcKXAoUwAGYMIc8LQqAqknqyYkWLCrV5laZx4YkDWjgZEOBVC0uLapxaMIiwpYqrQjRKBLnQKQm/IpUIV6ERoNq7DvUwFSEywl3PCqVAIKyjJeKEDBY8mTFxKkOrkmzs+LGXP1+jWzacJqK4KFqJQmgopsE/jcCDFpXbRIYa/NOjFk07IqE9ZdPBZBaLW+Aeg1ihthaIYH/v4uiTLlc4jRQUoODFXl9bQDfAIMNqlQbvOwAkrChRgQACH5BAUGAAAALAwADgAfACYAQAj/AAEIHEhQgAGCCBMmNKCgoYIBBQYqIEBxgMKLAzJq3BjxoseEBxCIFDngAIACHT+qBCDggEsBBQXIJFjAgM2PAihShLnyY4KGCX7y7Em0qEIBCA6kBGDApUuBMmcytXnQKEEDMqsa1UlAq1WFBrgi+HoA6E8FCWAmqPg1IYIEY62+3bgxgcW2YEcO8Gp0wEiRPAs45SmVKl+PLV8OjDrU8NKFLvkyXniY4ACKcfEinEgxgeaEaykqaDsX4WXRj1cCdRj3gM7RXweYbbj36ecDZxUM/cx7Lt2MdvH+3sj7KILdeAv8RbBX83K/BxNXtpkawF+TA50eiB5VoGGi2hd3F/dOdWV48VLJ3/R4Hj3y71YnFx+4/mJAACH5BAUGAAAALAwADAAWACgAQAj/AAEIHEiw4EADCRIYMEiwgAIFCRQcEKiAAAEFDAceGDAxo8cDIA8U8OjRgICTBA2oXJgx4sORAyteHChgQIIBOG8uHPAQQcEDCIIKHeqTpMCQIVkCOCngoFKGBU7CdKqS5NOBFi2SfPiQoEyMAAokTFhUYMSIPr8aNGATp82rBIESFWq0rl2BApCCbGrUwAG+A6MyFbgS7kGmTwvfLVh1cUyLYBkieNjx8cyMPCMO8AqZZGaIliNvRPB08lmBWQkIFOv2ZkcBXBMsfQg4LIKbrREIvlvzpmzHd+XOpUtS+NypwE0a/qgXOUO/ekUCMCnAucaQtZlWn77SqHaYij1qDU/ZPeN48o0dhwcOMyAAIfkEBQYAAAAsDAAMAB8AJQBACP8AAQgcSLDgwAIDBhQwyJBhwgEJBAhMoEBBAoEICGgkYKDhQAEIJHocabCAgJMiSao8aKBlx5UkHw4oSNEiQQMbCRBEwJPnAAQYEyQ4YHCAxosfDyhdypQoTIYoUS4U6PLlU4Ytr64sMJVgTaQ3U2JNkDCB1a8fc6bsicCpwIdDAaA1qlGBxwJsEczUCkBA06Vi+Qp+aiDqSat8TSKm6nJwQZddHZNEq/WA0MCUB2YksJchArIJgA7MLHejXY+fH46uCFbBRrB920a2rFoua4GuNXZ+mzcl6JkGhHbMTcBtwQN5BxhnqHSlgZ4DFkt27Pcv08HVrU9nuDAydcOOTRoTFlkgq9aoiKtuZ2x+u/r1768GBAAh+QQFBgAAACwMAAwAJgAfAEAI/wABCBxIsCBBBAgMKlyoECFCAwIHSBwg8ICCBAoUFGDI0IAAiBwHDlAwYGNIggZSgjzJsqHDghMpDiyQ8SJHAwdy6jyw8YBEAQYRZKRokYDRowk9CljKtGnLpypVPp06NabClS0LOERgEoDVgTUVhNwJdOBWoAMSJKAoFGOCgQYSHCVQtuDOnF0ZHphLQEFdgUqbLqVKuDDVAlFT5jVcECvjxwTTroUsUMCAhDAn2s2IueUBhwciaxZ5kSTVzy8jjgbg1vTNA38BWE79tXVn2UMJ3j0A0sBlhKo3YsxYdgBfAo4F7AaacuHSuMcTODa4c7HCvUgpGw4smKl2wN29fw8POX184vKPz6NPr9I65YAAIfkEBQYAAAAsDwAMACUAFgBACOgAAQgcSLAggAMHDCpcaBAhwoEIIiIQKCDBgIsMMwIooBFigokdBzpMSFAiyIEXMS4sIKClSwEUERpomOAjgIoKFNTMSTJkSAUEggodmsAnAJMGC3A0etBhSYkDDVgckGDmwpdWBY6cifTA1AEDCwzImTPrwJctQwrQmSBnUaZG1xIgmzOoArMaD0TsCZegAZkFkRKsmICvRgEOYUKE6pHqSbWJF0dEedEmQ5Z4/zo9yjhl4YKOz6JdWiBygckAqFKFSLatgoIG0AqYqTSjWLeuwV5+qba14b7Agy8EOrT4W+EUgdIlfjcgACH5BAUGAAAALAwADAAoACgAQAj/AAEIHEiwIEEBAgwqXMgQIcICAg9IPCDQAIKLCBhqFFjAwEaCBwZQ/EhS4wECKAlkLMmy5UaHCUFOLIhx5UYDOHN6BGDgoUEBA0QKHJAgKNEBMQF01Ml0Z8kECqJKnTrAJckBKVM6tcq168SRXX86lClxYIGaEG/mTCsQJsSvAATUJIgggd0EbA02fWq06FaCTXO6NHC38N28YRN3TZAVZYK/ihtGrRq5suXKAiQmjVzAJ1mwAxEgtdoT4Va4Aw9gBM2y9GbUAGqyZgi581gAqDGOHmhRaMG9A2/jHql7Z8iiQfEqXKoTsV6PdY0SReBcoU6+RTdfdsk8MGSNUKeKK6fs/btGwoYLV+86QAHl7QZPZlWgHf4BBY1Vwv/NOGX9/QAGKOCAra23UUAAIfkEBQYAAAAsFQAMAB8AJgBACP8AAQgcSNCAAYIIEyY0aHCggIcCBh6YeEChxYsIBSCIiLFjRgUgE1T02FEBgZMJMDI8SBAiR4kUSRZouHBiRAMIBiDYuZMkxgEJBggdKjQBAp8mT45EAFJBApA+FSI4OSCqQ4hWB65siRXmRJJbAbgEYIDiSIEHeB7NKtCATrUF2FokSreq3LsKJ7oN+VSB3awFkhL4KxDoWrYJThJQwNbAQ5ZZaXJ9iLDsAcgKGca9StkhxZcKZzLk/FLAZ7CjxXY1i7lAWtBaU3c2PXGzRrWEfRaIe+Atz7Ny3fLEjLd4R6B1ix62WiD5ULkIjBpv6bRvyrsDUIq13hc4yewnGQsYbN5UAXGPUxWfvytAMQHYeA24n14QPsGAACH5BAUGAAAALB4ADwAWACUAQAjzAAEIHDiwgAABBQgqXHhQwEADByJKXEgRgcWLGBEcUIhAgYIBAgckGEBypEOBCggQUECwgEcFCSjKFNjQwMyZBSRuvEnxwICdMlOuFHgApseEMw0kSGCTp1OBBmo+pdkQ6UABB5rexKrzwMmpYCtmvAiU4siSA7QOFMqyYwKYBBEsFYmULUGjCtQqVKmSot6pDb8CbhjWIGGwhg8S5BpRpmGbObtm5RlZomCnEP9OLTCWLM/OGMuG5bnUJGAAnM+WRGAVgACPDt/CJiqSJF2BfAkIfPsWAUEDCH6uVclyt1GQM+0OHGA0ZlDiCosq8P186OiAACH5BAUGAAAALBUADAAfACgAQAj/AAEIHEgQQIGCCBMqFGigoYGBDh8unLiwgICDFDNCHICgo8SECQiIVDAwgQIFCQYOWJkAgUaEEQvGfLmwIUYBOHNepJnwgM+fQA8IGHhAJAGSBhIkeDggQVOJAjpKdSlwgEiqJU+mJChA6QGeDB2CnTgzbMOxAGaWTasTrUCdQ932DPozrtyXPhcOPcBx6leECIwSEGgSZVWWfwUWOIDArgKjWwlrJYjAacuxhSPfhfhxs9nOYdGuLSB2bNmIGMGqLU3QwM6MZ9OytghXrmu4oMfqTO25N0K6Qe2CBe5TOM2oxu8a6IuAI2+EIQkM+K3UpYGpUhM+Fjk9M4ADTlcSKmTccTpBwVS9A+i60rxewXbVpw2vGeF2Ap3lHxavN7d+xc+9VMBKAWYUEAAh+QQFBgAAACwOABUAJgAfAEAI/wABCBxIsKDBgwUNIFzIsCFCAQoISJR4wGGBAxgzOhyooKMCggNCDhhYAIFJBAU2qjxYwIDLlylXyhRAs2ZNhQImEkigUGACBT8RABiQIMFIASeFDhSQsSLDngVFjpRJdePLl1WfYs260qZXmlAJFhigYKpDAwLCHkSgU6KCimQVKCUoIGTFi00xqj3Y8adTqQINJK36s2NMgYAJDuZa0CTjxwZbboWc8KpLypWvYka4d7PBrzc9g7bZ2TNDthOdMsSLsaGBBG13ohXAGWfeA7QJGog9FWJfAGOnnjRr4DbIjrk5/kyAWKTA4ckFMi09kOzy6s6fn1St0npZkNkFHhPYLhNBR+5Dww9EMCA6Y6JGqwYEADs=u;47;Resources/CPSearchField/CPSearchFieldCancel.png1298;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAB3WlDQ1BJQ0MgUHJvZmlsZQAAeAGtksFLG0EUxr9NEBWLlaKe9yBiIbZr1oBeJEZtkeYQYopVeomzaxJw12V3jQoe/Bs8CIVSKBXppfRo6SnQS3vwIGJr2/9CwYvI9psd0vTQ4MUHb/c3337zZubNAsl82fPWEgAcN/SLT3P6i6VlvfMnNPThPgbwuCwCb7pQyNPSJq6+0804HZW12pjayb0+FwS0FA39FcVZySuKS5I3Qy+kpypZVMsWeYec8kvFGfJ7cm9F8SfJK4q/Sq6Lipx7TjZcq+YCiS7yhGUHgpwlCysQDvmA/NJx1lk/ScSI8HzOTY6Qh2RfpAjUL4CpN/TvtbSlj8CHHDBw3dKGx7ndDPD5VUu7PI97pQ12BatmOi6n9RwBHftRdLkIdD4Ebn5E0fVRFN0ccu1fQONKbPj12MuDaMfc8C1jdWZVHTjhGRjxHf2fVV9ilwG8awDcCp7tAq+zwDAHD34DBXIpi4RpNlP1kFagOzdmpA0zIyfeaThrG7ynODr4vGe7zxf47mPmV/0nxSZb9uxck+1g7q+nFs6XmjpyGIOBNNNEBovqrvkV4xPs/RnhW+NL/a1U/o3Q3op7OLPubfu1SjXUp/mn2yl93hWPUnraMCbxB2AbgwprTB4MAAAACXBIWXMAAAsTAAALEwEAmpwYAAABhUlEQVQ4Ee1US0rEQBCNHwYFUfzs/IGKXsAD6GJMwIuYla6SO2Sjh8gVIskBongEEUWEWQkKOpKIaHwvSfd00hnjZnbz4KUq1a+rO9VdMYwxRl2BiZYFFjC+DC6Bc6W2D/sKPoNvZUwzfyVehXoTZMIMpFa1XOAJ7IEaprRIEViD2QNnQDVZMVo8OzCL4Bf4XoQGz8mBK715eOsgF81c192hBSXKGN+nwQ2Qc1qxBUUXPHIc5yQDwjA8L2Nd+oxxTMRgt8FW7EPBxDlFIlrVF+Ol5ZxWHEAhE9MXCeu7V3SH8CtoqnFF8M+XyhlwDotfB68RTztHEATHpmmeRlF0wQD8M3yBYVnWZaHIn9qtUMaky4PIS4HTt+ufL8rCMaGD1Q6PV6qOHwTYcZ04jl/SNL22bftGiHzfv0uS5MrzvHvE2DQf4CP4CUoM6zx23S7YVCo5Gc43eAv21CD9ph0zzpqxo2ZBdlgdYqcPGNCSUjxsxyIRO2oFFD8h6rlo608ImjFGXIFfJ96OUFGBfFoAAAAASUVORK5CYII=u;54;Resources/CPSearchField/CPSearchFieldCancelPressed.png1326;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAABz2lDQ1BJQ0MgUHJvZmlsZQAAeAGtks9LG0EUx7+btBixSI2t5z2IpBDLmjUQLyU/oEXsIcQUa29x8hPcddlsogUP/g0eBEEKpUW8iEeLp4CX9uChiK2t/hUKXkTW7+wQ0kNDL30wzGfefOfNe28GCMdKjrMcAmDZnlt4ldXfLr7TB34hjBGMIoqZkmg6mXz+NSV97OYHNLl1Oilj9RH1cw+7vBDQ4hQ8qSlOS15SXJS86jkeNXXJol4qk9fJcbdYyJH3yMM1xV8kLyn+KrktavLsOdmwyw0bCEXIqXKlKchpsig3hUX+TE5Z1grjhy7JMeG4PBt+QB6XfeFMa18BLz5Qs9nzLR4A+1ng6W3PNzHNdJPA0XbPd30e9EobizSrZiIIpw0dAg+3fP96ARh4Btz99P3bQ9+/2+Xdv4HOjWi57UDLQrQTJvyPtapZRQe+swZa8EZ/Z9WXQGUAnzoAU8HcBrCTBia4iF4AeXIxjZBpdofqIaXAYHbKSBhmUh78r2Ytt/hOgclv+qhiv5nn/JgjVnVfFrqMLKZgIMFhIokF9Y7cxXSKfT0jfOsctz9Kz5/mVdaC/uRWnPduo1b39Ax/cSWuz9rieVxPGMYM7gG5lX3sSVNlhQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAadJREFUOBHtk7tKxFAQhrOKilvExgtoENRGUijEwsVKYSEPsG/gC8RXyVOk0idIYSexEFQWbUyhEfHWZBEvTfz/JCceyexupdUOfHvOzsyZTP7JMYyR/bUCjSEPWEB8FSyDOcD8J3ALYvAIRBtUeBMnHDArnjSMF/jPwLkUH5ec8G2AXWCCftZEwALvoNb5mHCKr78Fphhrt9uLXHXTfMxhLs/8MqljSrDOLBZwXffAtu00iqJ7+jzP23YcZz/Lsm4cxz242DnXBFQmFd5BdIYZPMiilmV1uLZaLWytTpIkh0EQXFdVik1X/y8V3kPCRJmUsVNV3DRNG0WPfN+PEM+AGv4k9qflmXyRNNbj6qDuY0GaFCsi+JU6XoGfUuQdUVP1+mmaXpWy9PAmSlPmPYChUrAoL0SDw+OgqClfX5dFGx47vwTqQdjKHX/BvwSaHB4L6INicfrCMMy/EuS9Aur7Birrp5O6IPm3XGUXG31on3Adg4si9PMracwob9IHoCzTgMYm9KK80iegVhS+wZNFnDdqDfDqzgPaM7gDN6B2leEb2T8p8A3yHYy8BAVcaAAAAABJRU5ErkJggg==u;45;Resources/CPSearchField/CPSearchFieldFind.png1302;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAWCAYAAAA1vze2AAABz2lDQ1BJQ0MgUHJvZmlsZQAAeAGtks9LG0EUx7+btBixSI2t5z2IpBDLmjUQLyU/oEXsIcQUa29x8hPcddlsogUP/g0eBEEKpUW8iEeLp4CX9uChiK2t/hUKXkTW7+wQ0kNDL30wzGfefOfNe28GCMdKjrMcAmDZnlt4ldXfLr7TB34hjBGMIoqZkmg6mXz+NSV97OYHNLl1Oilj9RH1cw+7vBDQ4hQ8qSlOS15SXJS86jkeNXXJol4qk9fJcbdYyJH3yMM1xV8kLyn+KrktavLsOdmwyw0bCEXIqXKlKchpsig3hUX+TE5Z1grjhy7JMeG4PBt+QB6XfeFMa18BLz5Qs9nzLR4A+1ng6W3PNzHNdJPA0XbPd30e9EobizSrZiIIpw0dAg+3fP96ARh4Btz99P3bQ9+/2+Xdv4HOjWi57UDLQrQTJvyPtapZRQe+swZa8EZ/Z9WXQGUAnzoAU8HcBrCTBia4iF4AeXIxjZBpdofqIaXAYHbKSBhmUh78r2Ytt/hOgclv+qhiv5nn/JgjVnVfFrqMLKZgIMFhIokF9Y7cxXSKfT0jfOsctz9Kz5/mVdaC/uRWnPduo1b39Ax/cSWuz9rieVxPGMYM7gG5lX3sSVNlhQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAZVJREFUSA3tk0srRVEUx69XRAxEMpYo8krKkAEjg/sFTEx9DwOfga8g+QZSHqXEQHkr8hh55f36/dxzdOice3WjFP/63b332uuutdfa+6RS//qTHSjIUrV7PdABjYHfJuMKLAbrLw1JSbQPQRqKoBDUMzzBFMzAC+SUAeLUi3EYrmEOpmEhWNcxtsMxHEBOFcd4WEU3uGdgT3wHnnoHrGYQ9LFtrrMqbEPUySRN4LgEl3ADt8FcW+jDNLeSKgmTW8FjJIz3YTKlj7TACHzWBIY1jWGwzw62RXWCp45Km9rODG+BDBj1m2T9lkCfuIs3cQX4dGuhBM6hEvqgH9yfhQ3wrk7hELrABKvwrmj20KjNgGkYANtlm5SHssX67MMYXECoNiYfErgRV4l2A+/BGRiwCkzkxzgP1VAPzbAM96BOMsPHXwMkyROXQymEp39g7gFMMgo1sAvj4CuMVVIlOvv+PaHPV66C0dfleh1awYq24Ai+VXagDBrAe7PibF1hOz8Z1FaaIOlTyC9yzL9+pIKYPL/A9AoeHk3/hvvtQQAAAABJRU5ErkJggg==u;47;Resources/CPSearchField/CPSearchFieldSearch.png1274;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAWCAYAAAA1vze2AAAB3WlDQ1BJQ0MgUHJvZmlsZQAAeAGtksFLG0EUxr9NEBWLlaKe9yBiIbZr1oBeJEZtkeYQYopVeomzaxJw12V3jQoe/Bs8CIVSKBXppfRo6SnQS3vwIGJr2/9CwYvI9psd0vTQ4MUHb/c3337zZubNAsl82fPWEgAcN/SLT3P6i6VlvfMnNPThPgbwuCwCb7pQyNPSJq6+0804HZW12pjayb0+FwS0FA39FcVZySuKS5I3Qy+kpypZVMsWeYec8kvFGfJ7cm9F8SfJK4q/Sq6Lipx7TjZcq+YCiS7yhGUHgpwlCysQDvmA/NJx1lk/ScSI8HzOTY6Qh2RfpAjUL4CpN/TvtbSlj8CHHDBw3dKGx7ndDPD5VUu7PI97pQ12BatmOi6n9RwBHftRdLkIdD4Ebn5E0fVRFN0ccu1fQONKbPj12MuDaMfc8C1jdWZVHTjhGRjxHf2fVV9ilwG8awDcCp7tAq+zwDAHD34DBXIpi4RpNlP1kFagOzdmpA0zIyfeaThrG7ynODr4vGe7zxf47mPmV/0nxSZb9uxck+1g7q+nFs6XmjpyGIOBNNNEBovqrvkV4xPs/RnhW+NL/a1U/o3Q3op7OLPubfu1SjXUp/mn2yl93hWPUnraMCbxB2AbgwprTB4MAAAACXBIWXMAAAsTAAALEwEAmpwYAAABc0lEQVRIDe2TSytFURiGj0tyLxIxlaIUA8WUwkz5A36BPyI/RvgDBsqlTEwU4gzUGcstd8+Tteqotfc+nciAt57zrb3Wt7613m/vUyr96092oCHHtWvTMAEjIe+UeAwH8B7mCkPeIUvsXoYmaAyV3oivsAHbUNNBFkhphskVuIdd2IT98DxA1F0FrqBQzYkMbz0Frll4C55AXYBuFsGcw/BMyFZsQ3WGLRwFo72/hYeAY+diDsNipZxYIB6uA99B7P0L4+jKHHMLFYtVJ1rQtqjJz/DlN86ZU9MhqRfvxg6wWD/o9ga6YBbmwPUdOIPokmFaqZvorhP8fBfAFtky5aU81H1lWINryFXKiTezaBksYMFucM6b70EvDMEYHMEjZCrlJCZ7AdvSCo7NfQYP64FV6INLWAdbmlTKSUzUkUX9fP1T3oVx/JxPeB6HQTiHCnyrdKXDYZiHdsjrCsv1yaIt0Aapv0J9VTN2/YiDjLN+efoDgZRGxg70NQUAAAAASUVORK5CYII=u;50;Resources/CPShadowView/CPShadowViewHeavyBottom.png186;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAARCAYAAAAcw8YSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCFtj+P//PwMDmQQQ2IAIDRAhASJ4QAQLAM+wJGk6yEDYAAAAAElFTkSuQmCCu;54;Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png378;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKtJREFUOMu10r0OwjAMRtFrCIiBgYGBgYkn5mERtOmPWWwpShNEI7BkdfLR59QBCMABOAIn4AxcgKuq3vmiAj+ovyBqPVuvQrQAjC1JHJgMGNYgpQQD0Lesk6bogVcrMgIR6IBnyzqTrREtxWNtkjlBOmALbFof1teRlmNLEQdURG7A3jpYe0qpIenN+J/aZcMOSL4OH5CYDC+A2sX6VwySrKkhmmFkCKVhrzeOxUzF8ZZO7wAAAABJRU5ErkJggg==u;55;Resources/CPShadowView/CPShadowViewHeavyBottomRight.png386;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALFJREFUOMu9k8sOhCAMRSHhs/yo+ehZuHBhDKP4wE4nKZlaMFoWkpxgeJzcgjgAMHeatfaF3RtpkQ7pEY8Ed8tw0R6X7AQQVZKtIAKtZCVRZCJ1kpmJDok0kolEWRqNZEQCsrA0aomnNAuVFWvKGViaJNlrkoyFcsDhm2jYQqDJSAs32vTjw76zM+mEJIm4bDX/6y3eTi9iS1GSRTF2+E98QcJlXCrHTEoSTg4STsTZ/BcCN3bqE4blmQAAAABJRU5ErkJggg==u;48;Resources/CPShadowView/CPShadowViewHeavyLeft.png194;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAABCAYAAAA4u0VhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCB1jYGBgYAFiHiCWAGINILYB4hAgLvj//z8DMRgAsZ0fM9irjXgAAAAASUVORK5CYII=u;49;Resources/CPShadowView/CPShadowViewHeavyRight.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAABCAYAAAA4u0VhAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUCFtj+P//PwMxGAgKgDgEiG2AWAOIJYCYB4hZANHCHzOD2AJlAAAAAElFTkSuQmCCu;47;Resources/CPShadowView/CPShadowViewHeavyTop.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAARCAYAAAAcw8YSAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB9JREFUCB1jYGBgYAFiBh4QIQEiNECEDcP///8ZyCQAal8kaTS8tF4AAAAASUVORK5CYII=u;51;Resources/CPShadowView/CPShadowViewHeavyTopLeft.png346;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJVJREFUOMutkgEKgDAIRbdmbY3o/nfrMGuBhjODlIQPw/D1rEEYKyrn+PL8LlAGeCal94CBeMskkjC8FzVIFICE/SszBgRsAIGwSDi0YAo7g4C9QgAHck9trR3hQ8l1CFJ7ti8AbsJXKQjZLRAy4d9j9ZjIdcjGBaHfm9HGvA7dAbof2Wqi2cyedTQjs0lQQC6Iq36BnNGBBaWEiui/AAAAAElFTkSuQmCCu;52;Resources/CPShadowView/CPShadowViewHeavyTopRight.png382;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALBJREFUOMulkWEOgjAMRjscgoYYf3gF738Jr2SCiqsbaUlTC7GzyQuD0MfXEgEggl1onK1ns6BfaUZFUvfL+0UyGBJuYt5EUiAnOW8ISuOUeRETwZVYclES2Vx4EiNdg/5oRMQb/FAhhKsQyMSrf8aqQQh4R0UaPJKTMeos8yZ5EK3YjyvJMXPP7GkNDe/IIzlkOurZ1Uo6GoNTNDXjtFYKb5KvBDXjaAHUJNmM+Hd9AEI6RFQh0+dCAAAAAElFTkSuQmCCu;50;Resources/CPShadowView/CPShadowViewLightBottom.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAJCAYAAADzRkbkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB9JREFUCFtj+P//PwMDggACdRDRByKiQIQOiOAHEYwAbGEKQz1zHVUAAAAASUVORK5CYII=u;54;Resources/CPShadowView/CPShadowViewLightBottomLeft.png298;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUGBl1wUEOwUAUANA37S8JG7Fj5Qhu4KrOJyxEpJTpWHSW+l5ggwOOpZSzP8KkYDQjUJAxmBHIeOORUtphiQ6NKpDR44YT9thipQpkPHExuWONhSqQ0ZsMuKJDqwqM+CDjhRYNkipQkJHx9ccPCKMfJ5j/ZGcAAAAASUVORK5CYII=u;55;Resources/CPShadowView/CPShadowViewLightBottomRight.png298;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHBJREFUGBl1wTsKAjEUAMAJvLt4LTsvayEeQAQbbRTEZd1PEgWLCLozUWv1T0ppjR2OYVlB9RaWDciokVJaaQomjHhgQA5sfFT0uOKMA3rkwFYzosMNF3SYA3tNxoQeHZ4ogZOmoiBjRkEJ3P2qvrwAKV0tKePvXOUAAAAASUVORK5CYII=u;48;Resources/CPShadowView/CPShadowViewLightLeft.png182;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAABCAYAAAAMwoR9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUCB1jYGBgEABiAyBO+P//PwM2DAD6GxKPgLbV2gAAAABJRU5ErkJggg==u;49;Resources/CPShadowView/CPShadowViewLightRight.png178;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAABCAYAAAAMwoR9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCFtj+P//PwM2DAQJQGwAxAIAxNISj3z8C1sAAAAASUVORK5CYII=u;47;Resources/CPShadowView/CPShadowViewLightTop.png186;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAJCAYAAADzRkbkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCB1jYGBgYARiBgEQoQMieBn+///PgI0AAMt5Dzxv9Xo9AAAAAElFTkSuQmCCu;51;Resources/CPShadowView/CPShadowViewLightTopLeft.png266;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUGBl1wbENwjAQAMD7f8sYlCoN+w9GyRxOgRuk+C78CzcCgUShoZAIS0OiY+CFgY6yNBQGTnyRSISloeHAe875cSNReOK0kUh0HDYSgcLDRvoJhI0L53oFmk+kBA4AAAAASUVORK5CYII=u;52;Resources/CPShadowView/CPShadowViewLightTopRight.png278;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGBJREFUGBl1wbEKwjAUAMB7aVAExUFw0f//vC6i1GASHYQuzV0gbOv+Ms5WHQ0VH1S0jLtVRcGCFxaUwMmqo6HhhhnP3Ht/2BARVxS8k7ELDpiSsSN2SMnYHhMiGQuEny/9fRhMYHBh/AAAAABJRU5ErkJggg==u;47;Resources/CPSplitView/CPSplitViewHorizontal.png194;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAKCAIAAAD+RXMgAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCFtjWgoDTKEwwPQPBpj+wgDTHxhAYmGTRYgdggEAPLVN4i1E+ZUAAAAASUVORK5CYII=u;45;Resources/CPSplitView/CPSplitViewVertical.png194;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAADCAIAAAAlXwkiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCB1jXLp0qY2NDRMTEzMzMwsLC4SEMNauXctIkTQAwg4O0avWgU8AAAAASUVORK5CYII=u;51;Resources/CPTabView/_CPTabLabelBackgroundCenter.png214;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAASCAYAAACaV7S8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBJREFUCB1jWr169X8mZ2dnBqZ///5Bif///zMw/f37F1kMLIsQA7MQXDQdRkZGjADPODEixZK7iAAAAABJRU5ErkJggg==u;49;Resources/CPTabView/_CPTabLabelBackgroundLeft.png350;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAASCAYAAAB4i6/FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJdJREFUGFdtUEsKQyEMTCBuBXe9gDvXPU+37xKFXkev6Oc5QoJtHYjiTDJJ5DEGlVJeRHTNeDIzgZOc8zuE8IkxkveeTGitXSklcs4tovdOgMzHQ0QWiQBQJchQArdZ4Zh2S9ghtdblq9kmgDwKsEGARIKKS9ARd5gV8DUumh+n2psDtgfIYwXI/TtM0Iq/PU5TAfxrobgByk2US+DqkeEAAAAASUVORK5CYII=u;50;Resources/CPTabView/_CPTabLabelBackgroundRight.png346;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAASCAYAAAB4i6/FAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJNJREFUGFd9j8ENwyAMRe0qHLl3CNZhiEzRMXrtnU26AjOAxADg5KMa0QjlScGCh38MhxCEfojI9yxv7/2HU0rCzF2UUijGSDnn16O1RvhqrWStJecc9vt2tiNCo8gYg/ocQuM0YUMEDrFRupgPFFxeihEF9B+gd8xT/QksOpXWIa4MMd8Gy3FH1EosO8Ct4OsblAPXUJQLU51iKwAAAABJRU5ErkJggg==u;49;Resources/CPTabView/_CPTabLabelSelectedCenter.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAASCAIAAAAVNSPrAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUCFtjys/PZwoKCmJiZGRkAgFmZmY4jQ0jyyEBAK7qAuAYeB3qAAAAAElFTkSuQmCCu;47;Resources/CPTabView/_CPTabLabelSelectedLeft.png262;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAASCAYAAACeomSBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFZJREFUCFuljbENwCAQAy27ov49aJnvB6FkrWcPmk9FFKQoTcrzST5mJsYY6e7J3nvOOVFrBSMCrTWYGbjWQikFJEGSkARJoKS9vpjfcF8f5ug86h9wATADFmAXDSbCAAAAAElFTkSuQmCCu;48;Resources/CPTabView/_CPTabLabelSelectedRight.png266;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAASCAYAAACeomSBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFdJREFUCFuVjbENwCAQA637ipo9aJmPQShZC/ag+RSIAhFFSnk+y6aU4q01d3eRUtIYQ7VWJ8aonLN67wJQCEFzTmFmMjMBywArOMyGw/yB1+n7Z9e+4QHvjBZgBg89KgAAAABJRU5ErkJggg==u;46;Resources/CPTabView/_CPTabLabelsViewCenter.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAaCAIAAAD5ZqGGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUCFtjvnDhAnNmZiZzRkYGHOPio9MwNoyfnp7OnJaWxpyUlATGcXFxzLGxscxWVlYA/CwgVtHWuDgAAAAASUVORK5CYII=u;44;Resources/CPTabView/_CPTabLabelsViewLeft.png454;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAaCAYAAACD+r1hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAORJREFUOMuNUcENwzAItNv8K+WbAbJEv92s367Vf7JCvhkhdgpVziKY2EZCNvYdcNDt++60zfPs+N17P1D4ofuTzoFi1znDjiQjnV8C9QzkN3aTcNibvEfAJDaTcHy+UA0Vai09kFXqLFXI7pcaZBuadCkaJF25NKWsUpMGTSpN6UQG6bIluV3EVQ3NY5Wb1dMqarBI1ZZ0xaaWqlOyFpb2oNcPm6apSYO3hMO1Bi9PScAZY0wECf47fyIr7hCdgfEG4Em0Ab6xb9uWsjIRCbSGRAAwhJBIcg8nMPl9WRa3rmu20B+QCNBalqdZ1QAAAABJRU5ErkJggg==u;45;Resources/CPTabView/_CPTabLabelsViewRight.png474;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAaCAYAAACD+r1hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPVJREFUOMuVUrERgzAMtI3KVKHMELBAShZIk0FYIaNlAZowQbYAJzJn+WRjKeHvfBLwr5dkYJqmD8Ig3tbaJ8Yx5PGd6brOcAB9QFwwv2McUHjF8zIVAH9AUghnPA88t6ogkjKg02AEQCRQdcpPlIstcZEGqFRXxccdeMXS7a+1EvFQS9ocwNspXdS1Sq2JgpIkibIt8Q2JM2jbUWeotVSdQRpObYkTqEDf978dijl4+USCdV2zG2YulpEtiTaBcy4bNEbHKicReO93/1HTNGVLSQTLsmQOlCOCyseTRFtLwYXfdIRjlVOEeZ53q2vblhyI6GmGL+DHprPdSa8DAAAAAElFTkSuQmCCu;54;Resources/CPTabView/CPTabViewBezelBackgroundCenter.png166;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1jeP36NQAFhgLCPZRjjwAAAABJRU5ErkJggg==u;44;Resources/CPTabView/CPTabViewBezelBorder.png166;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1jmD59OgADjgHGSFRdpwAAAABJRU5ErkJggg==u;48;Resources/CPTabView/CPTabViewBezelBorderLeft.png182;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUCFtjZGBgYIZiVihmB+Hp06c/BAAH7ALGIwf97gAAAABJRU5ErkJggg==u;49;Resources/CPTabView/CPTabViewBezelBorderRight.png186;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAABCAYAAAASC7TOAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABtJREFUCFtjnD59+v/MzEx5BgaGn1D8G4r/AgCTpQkFeqUzkQAAAABJRU5ErkJggg==u;51;Resources/CPToolbarItem/CPToolbarItemSeparator0.png234;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAaCAYAAACdM43SAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEBJREFUCJl1j4EKADAEBRmb//9im9VTmim6TsIgInZ3GQEnL0QqYP5hRRFAMdabvpXj9pi6qxjFzXlq/SKCYXgDF+AD5ACr1RsAAAAASUVORK5CYII=u;51;Resources/CPToolbarItem/CPToolbarItemSeparator1.png170;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAYAAAD0In+KAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABFJREFUCB1jZGBgMP7//78vAApVA38fKzIUAAAAAElFTkSuQmCCu;51;Resources/CPToolbarItem/CPToolbarItemSeparator2.png234;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAaCAYAAACdM43SAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD9JREFUCFtjYmBgMP7//38DEwME/Acx/iMz/mJn/APi3wQYf4H4F0zkJ4rIX5gISVL/kNWgiqDY/gfm1D9wEQDwSTQ2I/IFQAAAAABJRU5ErkJggg==u;38;Resources/CPWindow/CPWindowShadow0.png350;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAATCAYAAACQjC21AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJdJREFUOMut0ksOgCAMBFAHem1WHBwTVrXpDJ9o0gBKn4MRY4znzwunDb33ObbWcAvij4S47cFmA8QauxtZIxv1mxZANp9rHKRh9dmHBZaBReEMjFBJ5imMzSN6xFeEt74VwyJME0bMg9XdqxkKklKlqq6WYJaOYRGWYHZMDxhJKsFCQHOguWezT/1zKp0lKSWYJbQFOIO8L0oHneBhzz8AAAAASUVORK5CYII=u;38;Resources/CPWindow/CPWindowShadow1.png198;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAATCAYAAABRC2cZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACVJREFUCJlj+P//PwMIMDKBSBDBxATjglnMqAQLnEDjsmBRzAgAI2YDUG/9aHsAAAAASUVORK5CYII=u;38;Resources/CPWindow/CPWindowShadow2.png358;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ1JREFUOMutklEOgCAMQ0fh2vxxb4yJmrG0QNQl/ZNnuw69d/tLSGRaa/ZGMDK11qRkk8GlJCR/pGDJQbfBDAoCggBJqIdlAlVgCfXOshOLrKCDu/OjEmBZuKSg6CwvgLMyBnfMGWweWTZ8w0qArmIacxeXvxuTwkFcqVPBxN0A+1KCbLMsIHRXamewdUR2b8/R7jyWbmKbO21JN34Oq/BktCvK5iYAAAAASUVORK5CYII=u;38;Resources/CPWindow/CPWindowShadow3.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAABCAYAAADeko4lAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5JREFUCFtjZGBgYGSAAEYoZkLDzGiYBQ0zI6llBAAGtQAx0/UgogAAAABJRU5ErkJggg==u;38;Resources/CPWindow/CPWindowShadow4.png166;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA1JREFUCB1jYGBgMAAAADUAMcUHJsAAAAAASUVORK5CYII=u;38;Resources/CPWindow/CPWindowShadow5.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAABCAYAAAA8TpVcAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5JREFUCFtjZGBg0Afif1D8F4r/oOG/SPgfGv4PwwB88RIDhNxONQAAAABJRU5ErkJggg==u;38;Resources/CPWindow/CPWindowShadow6.png366;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKRJREFUOMulklEOwyAMQ+O21+aLi0/t6JQZJ6QbUgRK8esDATODvQdGbVT7mI+xPlztrs49QAAEwXzwMRCBIQPv9f3tymXAlSXbpYbqLhk6HVcBTRhmUN//AK1gycfffgWubL9gEdAeQEHACeRh6m0iAIWGyjJ6UqokqHIFED80b8jACGoZLINUracMA6q98GQqnPWXmSxYgf+3+Ry992turcnsC77uBJ8gKQLbAAAAAElFTkSuQmCCu;38;Resources/CPWindow/CPWindowShadow7.png194;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAASCAYAAACaV7S8AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCFtjYmBgMGACEv9BxF9U4g8qgSaGpvgf3BQwiwEAxvcQJujA9GgAAAAASUVORK5CYII=u;38;Resources/CPWindow/CPWindowShadow8.png370;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAASCAYAAAC5DOVpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUOMuVk0kOxCAMBPvg98wn+XaMc4mRx/EWpBaLoFTEhAD8AAiADYCfXC5sovv0jGjITpIgGNv+NDL07eKBIcCukVOukhmfXmG6mQeA1JKeD+zN2IGlAb9gX66KDMYNbFLt0My+na6yYTUvs+gNBbVdek3gbddBznitJRls+he0ZhhC/qwsDAEMHSQy21l1JhC1Ulj1EFMLC6nMyhZBLOzTgardIdHIhbP7OXcAAAAASUVORK5CYII=u;37;Resources/CPWindowResizeIndicator.png274;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAF9JREFUKJFj+P//PwOx2NjYOJIkxUDalSTFQMxPkmIQnyTF0tLSASQpBtLOJCkGYlmSFGP4gZBiBQWFIJIUw+OBWMVALMkABHZAhg1MMQcHhxeQtoMp5uLi8obyJUF8ACitf5AUaj8yAAAAAElFTkSuQmCCu;31;Resources/FIXME_ImageShadow.png770;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdNJREFUeNrt3EFPwkAQhuHdpYB403jx//89Y9SIiNAus8msTGtbjCFe5p3kS1tSDn0y3Wwv0+ScA/X3aiC4EmCMsZxvJGtJ0kQTr5VNOkkr+ZLs5O092g4seA+Se0VcShYa74CtgdtLniVPkncLuJLcSR4lt5Ibg5icItquO5Suk2z1t7fhGpj0eq14GwVsHL/G9dU9aiPV82rSA4x609Jkpfckc48nvKDdVp+/4i3GAGsX1nWvMfHcgRWvNTZpqgNr0sTR6xqYBjuTyX1gHNm6eN/KxJFj/O1GOl649rAGzj4/XyJ8ygEIIIAUgAACCCAFIIAAAkgBCCCAAFIAAggggBSAAAIIIAUggAACSAEIIIAAUgACCCCAFIAAAgggBSCAAAIIIAUggAACSAEIIIAAUgACCCCA1PUA84Vrb5UvAeZBwuDcI1ge4PU8mgm8LvRHv5Wj5wmWnUme68A6L7TkGM7DB5Pj17ZTi9bkG3LYgXXYaslCf28DAxjrBN+DwfwB2OkNewWzw1e9z1CtjfWpOYwBVuUP07Z24KrnNbAuaQVvp07tELCovugfVgbPY/fNdWHBe9XzHuBeAbeBMfBhZnvXmqXuDFjmwmubUnzK/V+dAO2XkLvQMyBAAAAAAElFTkSuQmCCu;25;Resources/GenericFile.png1954;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAFW0lEQVR4Ae2bPUhsRxTHZ11X12/UKCpEiDba+dWksbFPLeneexYpgggvXUACNkEwsX+VH4UQsBBSCmktg00I8gKKnU8xUfzY1c353ezxLebtvWfXe90vB45z986ZmXP+5z9n5q53Yy64xEQlLtKQrYN7PE3jTrrfiFBHXuoNM2S2t7e/mpyc/P7i4qLOoG9WyWQyLp1Ou1QqlSvp09PT3/f29n5ZWVn5TQYDjMhKEABEP3F9fT3c29s70draGroh9/f3D87f3t66m5sb19XVNdXT0/P1yMjIu6WlpR8ODw/PQp84O2AQAKglz8/PkxiGRFHu7u4cQMAIZUV9fX3T8PDw/OLiYvPc3Nx3Mu95FHNbKB0XilqAKtq+eDzuEHHaJRIJTxgMRgwODs6tra39JB87ip7Ap6MFAJ/u4TWp89QIgMCGy8tLNzo6+np9fT0SEMwAxGIxF7XgtDIAEOrq6pzkHy9RTk1NRQKCGYDwYu0/Uu5SAADyw9XVlWtra3Pj4+Ohg2AGIOro6/g4rcuAmvsKQEdHhweC5ISfBcZQcoIJAIlKRg2MuoYfgKBMoAaA5uZmBwDIxMTEq7BAMAHgT9pwWxVgZQIAcFCi5hzS3t7uCSBsbGw8mQllBQDOa1EgWAZ6RgAUQIAFADE2NvZkEMwAqEFR1jjP+DiqovPBAAo1AHR3d7vOzk5ywqvNzc2it8hIDziexQX8wVktuY7DgP39fe9cwDZJaWho8EBqaWkhJ7ze2trKzM7OvpWmgk6MZgDUIG/2CP9w+NG5iDYO88C0s7Pj5EjuXaOTTCYdzsOG/v5+19fX90Zygpufn397dnZmBsG0BISOz7YLqPMsAQAg0k1NTTwgOXlA8mgP9dkV0OWgdHx87A4ODjgrvFleXv5R4tMi8pFOPgEzM8BnjFCbFACNPpHmEETUGxsbPQaoDjVAkSjRhykDAwPfrK6uvl9YWFgVw9IiGT8Dyw4AjMUxjT40JwfABB6OcpcIevpZ+7FkhoaGvp2Zmfl1d3f3D7n/dADEmIclwERRFpyiAAARpxBhgOBYjMO6Q9CmW2TuI7X0G5yenv5SAPgTFfTyFTMDMEyNyzdYWPdxUOfjmuhDby3aRg0gOE87wnXWzs9EHwQ/dtQBcuqyBEDtgwUAQJSVDdqWddL7CAicFgGAOssQ/Q4TSuVdBmYAdOLnqNU5jTAOPS7apvcBCwAUNMkFOP7/jtohW5sAwAAmVMMejRHJx9y5iPCnSq4O7WojOQPhFn/8igkABlAQ/AaLqu2xo/nmyVLfcz7LgHyqD/cDKYKmGPDpEDwMUz4XgMBWmGVAoGFmBii9AkcsAwWcFyAC6Y+pJgaUgU8FmUCwBAQTa00M0PVvXYsFWRuBctZOEwNMAGBjJS2BQgJlBkBBiCBgJR2yKnNAIYhWLQCSt8JNgqBKMqyUYrW1cjyKCPmXJBgRsCUfVrbC8HNAIftrqRF4yQHGCNR8DjABoHtqJS0BIwGq82nQ6jx6NX8OqHkArDnAY1Ul5YCa3wZDPQhpUqkkBqjNQXXN54CaB8CUBJVGL0tAkaiiuuaXwAsAVcTmolyxMIDXY0zfrhRlQYk7WQAosYnRTl+1AOh3GEHwmc4B+mBRSecAtTkIgKplQJDj2m4CQCJv0tNBy6G22mxZApkPUo6Ojv6SV9AS8sKS6f/upQKBHUtekUmdnJx8EBt8X5LExiBnaOfnop+LfCHCy4f/vbgvF2Va+M0xzr8XORK5EMm7jQcBIH0dL+i3ibSL8OZluS8Hos5PXP8W+UckJZK3WABAB6eJvEU/72TP2EDEYQJg5I3+M9pTvlP9C04LfFSu/LkzAAAAAElFTkSuQmCCu;34;Resources/HUDTheme/WindowClose.png490;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAP9JREFUOMvNlLERgzAMRSlYgQkYhQHS0rMSJZUbL8UE749A4TTCpzgxgbskl8JnxMnvvmV9NSml5pOr+RoQ8KuTNAERWIHN9ghMQOfzq0BJjaRBUgAWYAR6oJXUW7wAQdKwnzlSOAAzcDu6lqSbpNnyq8AOCO9gHmr53Uug1WwpFKeitskrsutPNYURGF2c3HqIXc4oKdaAK9AXj5Qh7tuf6YG1BtyAtmwjDy3bBGiB7bTC4tpPCq2V1ss1lFStIRBPvbKD5Ka/+sqX+hA47kNTccopBpuBoWo98/FuvyDpwcu2j/Y/7LarWs9gedrYVImS8rSRlKeNz//NPPxb4B27qciruVGqigAAAABJRU5ErkJggg==u;40;Resources/HUDTheme/WindowCloseActive.png906;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjlJREFUOMutVDFuwkAQxBhjfkETIdFQoEgpU6RCiEcQUfoD/IUaKQVvSu+7wyQkUnAiOTN7azg7REqRYr1n3916dnZ2O7asOubkrV7DR3+w853aqqrqNAJg3YWP4XvwfViK9YCGNS3V79yPYV3s1Xc1YHkOyEAJLDXFy9A6l1lrd7Bn2Ce9wTssk30fPDH+XnRGqNCJLCEK4/YLXH6y1m1tUWT2+H5vPr5u6F1xyPCjLfflXCnoE71/CajwU+McgrmNLQ6PeB/h4AR+CrtVP8G3EfeBdGOsWyjSOAwYCWeH16EhMh4+VWN8v4N/gJ/B5uof8O0Ofuz4U+eezEHS7zHtuijMv09umKYg8MFmeZ5XWC+xXsGW+j5jUDnn9lugzLRQUYgwxd92whHTAhJerg376/BdkU7svshYKFXDJaCQa8wziSdXREdkYRAJbIwg1vSn9vh2LyrwxQkQUmOUBqvpC0DOVrB1G6l+n8s5nuc9r9EGhwP5EyWiCMkZEf1AeQoQvv6CUEofcCgcaTBNc91KWziU8xT7FQ770hkUbdmssiANqmzqKvMczztf5SaH0KHoCbpCd1DUY5XGDx3qz8YifuqW+vW9H/3SKXajQa92imSgnZKjU0RyYafI6CpbvUykELlwRCmxmiiA58z3cu7bbqD3us2AJ0k71k2ZNr5zQDj1qdOGhSNnpEeRJTKlyta0CeehBu4p0alKorbUtOZhOHDD8XWeutcmtmYQaRM0JnZ4VwLy8Z/2DZsA2rU7q2ERAAAAAElFTkSuQmCCu;27;Resources/slider_button.png362;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUWMPtl1EKwCAMQ3OeHc+7+539TNC6QZWWfMxBYCjSh6YRQRJK4QDYgVIKe6UD2IJPUZLk21y00BdsRd/+M74BoAKswATQxqN1ACYAqQekXSDPgdUF0YDY2bbII8Kq0SJNOgBchEsWwLvO6gB8BpHEA9IukOdAVsJ5QZGZ856jQtaN5zHrAADEygLY+QOwHUQpHpB2gTwHfv84vQHcG1BmjzmkMgAAAABJRU5ErkJggg==u;29;Resources/slider_button_h.png358;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ5JREFUWMPtl1EKgCAQROci3cl79rcXtAwE3YysdpmPVngQSvjAcSLknMEEIaBHSim3wHvoDQsicjBaswbthnXT0bMHncC6x6GgBeq8NSFwEqBmgHoL6D3wtTdciugOyyPC06BZhrQTWARTaIHZ9zQhcFlElAxQbwG9B+iF5dnzM0cFry/eTFg7AcAWLaDXQ+B1EblkgHoL6D3w+5/TDQIL6kKVaIANAAAAAElFTkSuQmCCu;37;Resources/standardApplicationIcon.png17722;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAM31JREFUeNrsXQd4VFXaPpmZJNPLnTs1jRIUERtiaCoEWKQoJaEJJIqhBsVC1RWxrO6669pd3fq77q6666pr76hIh5BAQgglkAbpCSQZAqTMf8+dc29uJpGamTPle/N8j5MhJmfOPefrJcLtdiMAABCeiAAGAAAAAwAAAMAAAAAAMAAAAAAMAAAAAAMAAADAAAAAADAAAAAADOCC/0BEBOwyAOAD9MTdpc4AfvfRVniSgYVeHBXBNvgHq6YMo8oAZPAIABIYOcoh/wWEARSwBWEvgSIk2tgD/eIchkOl5Q9w7z8heR8cRSEK0AAAwjmQcyrl/GgDg79/4P7n/88M5wMYgB/gBqJERPrjM6B46p2v73FY2XhFZBSyW8wG1hGTQjREmefnYL98Q2FuAkAUkjrkHEVFKdWPmsxm/g0DY0ZRlVWPci/fIT9zFp4TaACAEMLqqcMjyOWPXPWHd6fZWCYuWqXmpZJKrUb4+5WvviNoAXLy8wBgAIBQk/5GszXTaGY7/QP+3mSxLeVeRpOfAwADAISQ9Ocdf8t+88fRNqtliEaj62Sa4u/x+9y/Jwu+ANACgAEAQkz6O3v3W8WybLc/wDAMssTEz8FmAmgBwAAAoSX9FamZa/vpDYYhar2xW/+01sggs8Wagn9O0AJgB4EB9DAgFEQh7ISfe9Q1w0eusbLmcz4du5VFVyeNwL6AqA4zAPYRwoA9df0hvORvYA1AMXP5o33NZkuqyWI75w9rjWak0hlnjJg049ebP3vvDPdWG/fM4KmBBgAINqyZNkJQ/6OuumnEwzYre14JJZfLUK84p3bktLmZxBcgI78HAAwAEIzSn5PmVqVae5vOZL6g/wknBmkNxpnIExJUkN8DAAYACELpH4mleUKsUyuXyS/ITFUoolCsw+5c+erbaaAFAAMABLH0Hzl1jlXPmDNMrOWiXFV8YpDVsRB5nIEQEgQG0FMAT7CvSSr9h02YlhbvtOtk8ovz/+I0YSvL9F/y9GtCYpDc83thfyEKcDnXH/zJ/gKf+KMzsQs5uqRfwJgtyJ7QdzH38juOWpAnIgAADQAQqFibcrNY9LPy1XfS45wOZ1R09CX9Lq3BiEyMeey0xSshMQgYACDIpH80Y3OuMPIlv5eusuLQ4TXDk9cQX4CMMBgAMABAgEp/Pu33/uffnGK3mmOilGre7LpUMpqtyGBiUoZNSLEiCAkCAwAEh+1vtscuNjJsj/xCu9WCklPTcHpwJGgBwY0AcAKCF8kXeDj1FlH6L3nm9dF2K5uk1up65HcbzBZcKJTBvXyGo7MctbvhQYIGAAhM6W+L673EbLH0nNRQKJDTZtU9+NI/0gUtgDAcADAAQAA9W0XKktX9GIYZq9H3bKt/nB5stsc8hCAxCBgAIGDV/6irh41cY7WwvKnVk6RUqZHDZnHe99zfphItQA5aADAAQGCAT/udcd8jfVnWkmpkrT75I9ipyDrjFoEWAAzgMgDpoD1JEukfeeWgoZmekl/fADsVWcaUdNcjzw4iDID4AuA5QCrwhV5/8B37RPoPnzjdptLqZ+CGHr4Ep2GguH5X45DgLo5aER8RgIcAGgDA73hk+q2i9L916p2ZCbExOplc7lP5pWPMiLVYUqYtWSWkB4MfABgAgKL0l98y5U6rzmTOMJotftFibVYLumrwzUJikJwwIgAwAAAF6R81ePSkKThOj6W/PzgA7h6s1htmcGYHpAcDA7hoLwBQzzmT+MQfxmZfoTcxfnuCco7RxMfYtcMnpc4jWoDMw5DguYAT8HzXHxxGl41fzhgplvw++PI/+ZJflVrj1zXoTSzSM5YF3MtXkJgeDN2DQQMA+E0Q89Lf6lxhYFi/y7HI6GgUF+NwcgxI7BtIGBMAGADAx9KfT/td/KvXklnGxJf80tBm9QYGawGzESQGAQMA+F/623slrjZdZsOPyyGlRoNLhZMWPvmKOFAUtIDABpQDBzEenTlKlP6Lnnp1NL58OoOR6prMLIts8X2kfQPb4RmDBgDwsfS34pJflqXu08aDRnH14eSFD0HfQGAAAD88P8XUxSv5kl+13hgQi7JaLWjg0FFi30CiqQCAAQB8oP5HXj3k1jX40gVKaFtnNCOlRjtuyG3TIDEIGMB5vQBAl5ZAwhf9pC5bm8ip/ql82m+ArA0PFE3gB4rOEfsGehgWPDdIBPK+/uAfumism5UsSv8+A2+cxxLbP5Bg5PsGmr36BkJiEGgAgJ6Ap+R30gy+6OdCp/z69WDJcd9Ai275838XE4MI4wIAAwD0hPQfcfvMZb3jYnQKPOcvALVbPceY8DASBIlBwADAB9Cjtj8/6UdnYjL0DBuwhwvXI1jMJmfG+hdGEy1A7mFg8BzBBwA+gIvGY7NHiyW/97/wVprDatFF8A0/AncTcd9AR58rVyIYKAoaAKBHwCf+GC32lXrGHPCL1RmNiDWbk+ateUbsG0gYGQAYAOAipT9f8stJ//T4GP+X/F4qLBYWxSYOWAq+AGAA4APogYYfBtayyIA9/0GydJwYxFrYlCkd6cHgBwgQHwB1BnA5k2rDhR6bPUYs+lnwxMvJFpbtH6lS8bZ/sHxxa0aJ1yfNFZyB+DPBswUNAHCRtr8toe9qhmWDbvFaTmPBiUFDx8NYcTABABeM9Xd2kv6jHTZrkjZAin4uBnigaKzDqh085vbJhAHIyGcD0HwugeEDAFyI9Dc7Y+eYGCZoQ6c6I4sYuxMPFP078qQHt8HzBx8A0LltRD7td8qilYlmsyVFY2CC9rAp1WqEG5be9/s3cXowHxFYf+fYCPABgAkA6AaPzxkrhv76Dx6x1m4LnIq/SyWd0YR0DAt9A0EDAFwAeOk/dclqvuRXb7YG/QdSarTIbrMmZTz+0ijBF0AYHQB8AIAO6f8LScnvDfMsFnPIpE0zDIOwP4N7uQGRvoFwDsAHANSN7T90QqoVh8+0RjZkDh32Y2B/xqR77hf7BoIPAEwAAMETczuk//BJ0z0lvwr/zPnzF2F/Bm5lRnwBMvKZAcAAAEhS8qvWGWfiJJpQS4BV476Bar5voAVBYlA4MwDIB5eSRPpH3fvc39JinXanXBEZch9VLpOj+LgY7Yg7ZmQi0jHI89mhFiCsnIBQG94tSNGPfaXRzIbshzSYWKTSGmci6BsIJgAAoSfnjRNUf8Wy5/6WHh/rcEYpVSEr/eSRCn6gaOZv/yr2DSR7AAAGENbSP1pvYmdrjaaQV4ANZjMyWR3QNxB8AOFNRPLh5yGfv/6FZJvNkqRUaUP+o0dFq5GFNTnvXvf7ZKIFyD17AT4A8AGEqe1vi+uz2swP+ggP4L6B9oTEVciTGMQXCcG5ABMgbPBU2m1iye/sFU8Nxj30VHpDUDX8uJwvrcGIDAZD0sT5yxOJUJKRPQGACRA2aiAf+otNvHIpnvIbbltgsVjQgKSbxcSg8DkboAEAPEkwkXcseDDRzFpSAnHSj8/NANaK9EYmZfDYO6zEFwAaQDgwgHDP+X8qbbxY8nvFjcPX2qw2arKota2NJ1p/326zouG3zxITg/DeQC0AaADhIP0VN42bYtUbTKk6PvHH/9evtbUFZe/Y1ooJv6bSK4Bhkc7IZOC9QJAeDD6AUKdfpY+XFP3MyHTghh+UllNdWYlyNn5Vhqm2uprKGvCMwxiHVXtj8sTJghbg2SPwAfgKEAYMAOk/5LZpVo2BydAxdEJ/bZzaX1Zc1PrT/94uVev0iuETp/ey2R1U1oL7BhqtnfsGQkgQTICQw9N3TRCl/9CJ0zN7x8fq5AoFFRlUU1ONjubnVJ9qPNlcc7y0MW/7xvKamhoqa4lWq5HTbnVmPPnqFKIFyMleAYABhBz4tF+VVj9La2SoqaFY5f/hvTcLuG/OYNr+5QeFtdVV1NZjYMzIbI9ZhCA9GHwAoUhEovGe/6XP/jktLoZeyW9tdQ3K37mptPpYcQ33ThOmkoLciqIDeTVNjY1U1qTS6Pi+gXc9yqcH84lBnj0DHwD4AEJM+uvNtpV6hqV2FGo46b/9yw/3cS8bODpN3lbm7/ipsP/1N7EarY7KuoycFsDYY3DfQGGseDv4AsAECHo8c/dEseR3yW/+nJ4Q63RGKdVU1nKivh4VH8qvKsrPKea+reWoGvMEjuq3fPLvPWVFR1xnzpymsjaNwYRwUtTE+cvFvoFwesAECBWVj5f+OhMzW2MwUstCwXb+1k//k4V5gYQBVBEm0JC3ZcM+3hdAaX04MajfDUOEseIyD/MEEyCkGEA4Xf1n7p4klvymPfpcss1mS4pWa6msxXXKhSrLy1z7tv1wiDAA4fILDKB+2xfv7z1WVtpCKztQZWCQSqufMfgXk8W+gXD9Q00DCL/2b56S39jeqzkVl9q2Y89/1ref7OZeNuLLTi69QFgbONF0oq627MC+ktqaajpOErkc9YqL0w6dMF1MD/41ZqLAAcAHEGz49XxR+ivGpy+7wmAwJql0BiprOXv2LML2/aaP3tlDnH8nCNURZoDpJP63H/775lY+M5AScGGUWmfAfQOjEaQHgw8gFEp++9908xqLleXMXDcVwnb94T07DhHpf5Jc/pOEGQiEv2+sKC6sOHb0YGV9XR2VtcoUuG+g3bnomTfEvoEeZgoqQGj4AMJs0s/E+ffzJb8GSnP+WltbUVlJccuP77+1S8IA8H9xDoCLUJOUCWz99L2dtMwADANjQXqzdSGSJAZBNSCYAEGD39xzu9jr/4pBQ9fabPSGfGJ1fv/2jfmcfV8nkfqYAZxCnjyA0+S1wAQasKOw6niZ65TLRWXNkUoVslks/eeufVZIDJKTPQVcJmA4qH/AS3/c7CJapb5NpWeocf+62hq0e8OneRLp30CkPr74Z8laT5P3BHOgift/smIS+twap9ZQWbeJxX0D++C+gUJiUBsMFA0FEyDE6Tf33CEW/SRNSM2Mj4/TyuUyKqupqixHBdnbjnB2fTm5/IL630wufxu2EsjrU+TfeA1hz8av91dWHGuh1StArTMgvcGYNC49U0wMwnsLHoBgNwFC3/fnKfkdn2LVGpgMo5lu6O/H997c7mX744t+hlx8zADaiYQ9I9UCGutr6wq2/7SPZkQA9w3sf6NX30DgABAFCFR6NqND+t+QPDEtIdahQzI5ldXU19ehY0cOVlWWHKmQOvgkDKBd8kBayXunpMwia8OnudiEoDZEhO8baEwZNHqSpG8gcABwAgY2+MQfrZFZqDWaqbmb6zjJve2L93dILn8DcfSdFqT/mr9+7MYk0QI6+QIqOdPhQPa2wnqOCdD6HA67DQ2dmComBj2bMRmcgUHtAwjRsB85mHzJ74KnX0+Pi3E6FVHRVPYYe+/Ljh4+kb/th8Ju1H/B9peGpgQtQGAA4v+zb8v3+XW1tdTOi9bEIo3BfA+SJAZBGBA0gECW/tFGi32FUPJLq+NP7ubvciUX+aRE+vNTeVf/5WPv49hGtIBm8rONPAPY9sOhY0cL610cU6HxWXDXpBi7TZfx5GtiYtBvF4AWAD6AACJyIPm037vXvzjFabXEREarqCwHS/9jRYWuLZ+8myNR/5sktn+b5yc7/qfVf/lIMAMEX0CTxGxozNvybS6txqGYcHqw0Wp/CHXqGAQ+ADABAkut421/o8Wx2DPog1a7ryq0e8Nn2ZKQnlT68402Vv35I/fPfIY2oiE0S5hA4+aP380p45jK2bNnqHymaJUKOe02513rXphKtAD5bxdMiQATAEwA6vjdwimi9J+z9tnRDrstSanVUbn+La2tqLL8eMven74p8LL9XZLQX7fHEDMFCQOQ+gJ452Hh3l0HcXowLbmp55iqyeaEvoFgAgRsw48oa1yvVQye80cJNVWVqGAHn/Zb6yX9mzuk///c5/ksAhOQJgY1bPrfP7M8jUPpADNVlmWSUu97dBDZb5mH+YIJABoANek/VZT+t6Vn9jMYDEOUWiO1s4Uv6KaP3s5CXdN+zxAGcM4T6GEOYkhQMAN4PwBmKoV7swqrKyqofT6WtSJHnyuXghYAPoBAsuf4op9+Nwxfgw8orZHbOO33MHdBifTvLu23/UL2XxISFLQAMYlo4wf/2FbDMRlan1FtZPi+gePSxPTgCPABgAlAU53j034nzF/e18yaUw2UO/5s/OCt7V6hP6HiD1/o9pV/+tB9vs/k+RmeWXg7AxsqSwrLjx89VNnY0EDtc+LKysTrbloqOAOfWzQ1AkwAMAH8jucWTRNLfnsPvDHTZrNRO1O40reoYG9ZVUfab4Mk9Ccm/lwEpCFBqS+gae9PX+/1NA6l81lxZSXuG0jSg6FjEJgAdBt+4IOoVGtnKvUmaqox9s5nf/+5NO4vOP8Ez3/7ij9+6L5INdVbC+AZy+4Nn+2rKC1xuVxNVD6rTC5DcbEx2kFj7phHtAAZZsZgAoAG4Df8frEo/SNvum1aZu8EXPJLxyeF1fGigryq/ds3HvYK/TWjjsSfiwJmFqhzZmCnXgHZP3y2m2bHIJxnoTWaFxBnIGgB4AOgYvvLbxo31aoxmDJ0Znqhv9qaKoTV8m48/0Lor23FHz9wX6Kt2l1IsDF307f7q8qPteApwzSAayziY53Oe558VUwP9jBl8AGABuBz6Z8i2v4DR4yZgvPUIyIU1NJ+Kzl1nFP/81HXkt9Lsf0lWsAHP1cleBJHGorydh+uo5gerDexSMdYIDEIfAD00n71ZtsKLaeO0rL9cUhu9/efZ0ttdOSV+PPQGx+4L+OzCqaA0CxE1AK2ffH+LpohQYVSiawWtv+slb8SB4pi5gw+ADABfEbPL0kRS37nP/FKeq84pzNaRWfOH+72W82p4ds++88e1Lnm3yvt99I/70NvvC/1BZyWMhoccSg+kFt6or6O2kkycaYXG5OwGAVVkRCYAMEOXvobLJz0N7LUzlFNZSUq2LU5H3Ut+ZVI//fdPcSxW1HXxqGNOT98kUPTDFDrjMjEMGPHzlkEA0XBBPAtPb8kVUz7nbXqmWSWYWIUShWVs49n9x0rKWrZ8tE7u7qR/mcF6d+DKqt3rwCeAeDIw7Eier0CMFktNtRv0HCxbyB+TmACgAngK9WNl/6WmITVBoaltpa6mip0rHB/SdNJsehHavvzab8Pvv5fd0/8Lc/v6ZQY5JI6HPdt/T4XRyJo7YXaaEKcGTbuupHjJYlBYAKACdCDeGHpdIn0f3q002FL0uppFv1Uo03/+9c21H2v/1bU0fCzJyHtFdDhDPzsPznYF9Ha0kplL+QyOUqIj9cmjU8R0oNl5HkBwAToec8/Y49bglt905IfOAHnYM6OI1Xdd/vt0u+vJ+iBP/zX2xnYKTGoYNeWfdVVlfR6BZhZpNabMlAQ9A0EDSA41X9e+o+du7ifiTGNVWr11NbCd/z57pMc1H3DD77P/wN/eM/tI9W1u/qAxi0fv72rtrqS2p5EcFpAjMOmS3/sRTEx6MXM6RFgAoAJcNl4MXOGmPabeP3QNXzRDyXgkFtpYUFVcX5OsZfzTzrpxyfwMJUuiUH833edrK89kre7sI5yerCBta1AkBgEDKCHwRf9jEtflmhm2VStyUJNfcS2/66vPtyFOjft7JT2Sy6qL9U3qTNQ0EKasr/7NLuGWx+tvYlSqnFikHP6g0+MJlqAnDBvAPgALo2k0r/X1YMyrRSlP077rS4/5irYuekw6tzww2e2vzfd/9p73fUK4H0BRZxWUna4oNLV1Ehtj3Ardmt835UogMeKgwYQhA0/rh81wabUaGeo9CZ6tn9NFdrz4xe7vTz/nbr93v/af9x+2JP2brQA3hdwOGdbAR4lRmuPtHoDspiZpMlL14p9A19aNiMCfABgAlw0Xlo2U5T+N/5iSmbv+DidDM/5oyA1zp45i44XH3Ft//y/3mm/0kGf/jxd7d2HBN/Lxus8ffo0NQnLWKzI0bsf9A0EE6BHGn7wk35wiEnL0Cz5rUZHcrMOdSP9xbTf5a/+x+2PfcF/p5uQoLimgh0/5dGcKKwxMIgxW1JG37k4IPsGggYQBKr/y/eK0j8Kh5ZiHTZdhExBZbdaW1vQ8ZKjLVs/eXcXOmevf7+rsUKVYKchIlnffry3oqyYWq8ADKvVgnpdfd1cwRnoeZ5gAoAJcHHgE390ZstKDcWSXxz3P5i1Jd91ki+7E8d1SWz/tuWv/tuvJ4v8PcEXIJ0lyIcEjxceKME+C1p7puS0AA2ntV03agL0DQQT4OLo5XtniSW/aeteTE+IjXVGK9XUBEZdTS3as/GrPPTzab9uSqpsd+3Deea0+eO3t9ZW0asSVMgVKCE+TnvdyAnzCAOQ4ecKJgCYABeqonmkv8m8SGtiqO1UNd/rf8eR6tKj5aj7Xv9ttPb0vlfelYYEpb0CGrn1VpQcpNsrAPsCuGeH+wZGo4DqFQAmQMDilftmi0U/0x96MpmzJfsrolUU1f9qtOWjt7d72f5Sz387uYi0IJgBp5HXEJG9P361h6YZII+KQgmxMc60dS+kCREB8nzBBACc3/ZnYxJW444ztATFybo6VF50qKq6rKi7op8zyDcVf5eC7iYKNxzYtelQTfkxF05gotYwBPsCjMxsBCFB8AGcj6TSP/XBJ0c7bLYklc5IbZ9w6C/rm493oM5x/yaJ7d9278vvumnuGf77XlpAp4nCezd+nUUzJBit0iC71ZbEPc9Rgi8AP2fwAYAP4Jy2v8nqmGNgzNRWgjvsHC86fIKTooXdqP9Ubf+LmSi844v/5lSXl7W0tLZQW53RbEb4eaKA6RsIJkCggk/7HT1ncSLDsim89KckJuqqq9D+7RtzUdd+f6fJRWu/9+V33IGwaWQd3bUP57WAQ7u37qvjR4nR2Uv8HPHzHDUzA/oGggnQPb26/E4x9Nf7msFr7TY7tf3BNvOx4iOunV++Lx311SSx/dsQpdDfBYQEu50liEOZNIGfZ9/rh4p9A/HzBhMATADkXfQzZu4SvuRXbWIpdvypQrk/fZUtuURS6c+n/S576W13IO2fZz1dEoN4zQWHBAv37ijERUK0Vhitx30DVeOuHTnegqj3DQQTIKDw2v1zxKKfuCsHzrNY6I34xmm/uL9e/tbvC9A5034DEm7CoIQqQTEv4MDOTfvq62rohXXkcpSQEK8dNOb2TEQ6BpHnDiYAwCP9rxs10YqLfvD4aVq6NO71z9nMOO231kv6N3eW/oEHiRbQpUrwwK5Nh0sO5Fe5Ghuo7a3WaEZKrX4mkvQNBAZAxQfgDhiSSv/rkycu65MQp5MrFPTU/+pKtP3z97JQ17TfM4QBuANp/7yJMADpKDExPbhwz479NM0AmSISxTmdzjsf/l2aVAugsEegAQSY9Cclv8YMbPvTAk77LdqXU0ikf3dpv+1BsqfdJQY1Yqcm7hXQcvYstYXh7sEG1hrWfQOBARD84YG5YsnvnF8+lxbrsFOb8ssX/VRXo62fvitN+z1JPOpir//MF//lDuQ9JevrbpYgb8oU78s+WMuHBOnssSJKjaws65y2/LFkogXIyTkIGyhoL8AdWEeYFP1YVqqNnpJfGsCVviUH8spqOtJ+hay/Lv3+glALEH0B2Lzpe/2wgazNHokdczSgY1hkjum1inu5QdjbINrXUNAA6IetXn9wrhj3v/OR59IT4mKoTfnF4EN/m76Rxv0F559Y9LP0hX+6A7+S0o086xQTg5qlvgBs3pQfLSip40eJ0YFGb0RGgz7p1hnzE4lAlHnOA4QBww289NcYTLPVBhO1RTQ1nEQlB/OrDmVtPow6h/6aUUfiT7DBu1dAhxbw6b+31VGsD8BgrTbU97ohYmIQ+ADCSP6//uA8sehn6vL1yXabLSlSqaHmOa/hbOL8rd/vRV09/2Kv/yWcVA2mXspLOrSALlWC1WVF5eXFhZWNHOOjtec6xoLMFkvKqNkLE4kvICI85H8gcLvAaMnCq/+sM241w9JL/MFpv5VlJa68n77OR+eY8xekAxW9ewWIQ0T2b92wl3cGUoSFZVHcFQPnEQYgewMLhjDIBQ5rE+CNh9JE6T9hwYrBLMsmRWsN1NaDbeG8Td9kS7zlXbr9Lnn+H8HsohIiAp2qBHN/+joPMz6+VwAl4L6BOPR7zS3jwqpvIPgASOjPlpC4lGGt1ARka2sbqi4/3pL19Yfevf6DIe33vCCMS1ol2KlIiGN8u3GVIK39l8sjUazTqR0wfPRkUQvwCIiQRgCEAameafyAI0fOWsCX/Hqcf3TW42pqQDXHiyv6DxlpilKpz6q1BrfWZFbrWZtdozc2K7W6szKZ3O0O4hjVwt/9X0R7a6vsVOPJ6Kb6Wm1DXTXjOlFrb25qtLacbm5obaPL49RGBunN1oe4l39HYkgwtGOCEb7+gBER52aii3//FpUP/scV6RGEAarvfur1vw64emAqzcw/jMYT9ehMYx0KS0TIkVJv4sd50URNWRHKzd614P3n1/2baCpt3Bl1+/AcUhWeChS+4BnAQM7m0xkMqSpS8ksTcU4bsut7heXDaG13o0NVDdSfgZY7B0aLfRH38n/EXGkL5X2nbwJQ+Jt/8kh/vujnuuRJmXa7IyCs63rXWZ4A9BCt1iK73Z405b51oz565akvMW/ipHT7Ih9qAWHNACiFQnjpf82tt1nVOkMGtv2C2L8G6GEYTQwyWOy4b+AGogW0oxD1BYRdFOBPK+/qkP6jJmb27ZWgkysig2pIOZDvOwaZzZYUaXpwqN6HcA0D8iW/So12VjTFtF9A4IIzA1DCgBuEseIyIjiAAfS8BeC/lE/yEPmsv5mrf5MWGxPjlMujQOQBdaEonQn7A2YMvPkXYt9AaAgSQtJfx7ArcSmoG77gq5svmVyGevdK0F7LmYmIJAb9edXdEaABBCnIw8OXX8FJ//Re8XFOPOcPAPg5qIwMUml1Id03MNw0AF7645JfJafigaoLdC7C5mFcbKxzxqpfp4WqFhAWqcB/WT1f8PzL71j2y2SbzZYUpdKAiAOcFzoTi7Qm80IUounB4aQB8A0/zA5PyS9YufB1QWPFo5XIZrX2v33pw8lEYMqJQAEGEAyQSH/FiJT0KwwGY1KU1oAAgAuF0WxBbEwC7hsYch2DQn42oORzRvW+5qY1rNUK9i3QRZGSExh6TnCMmJYuDhTFggVmA/YMC/AxedJ+b5k+H8/5S9EyVjjTQBdNWHD0vnawV99AaAoa0PjrmnvEXv8JVw9aa7Pb4SgDXRLhvoE6gyllwLDRVhIRCAk/QKj7AHjpf/WIsdYopeo2nN0FAFwqHA47ujZ5kpgYRARMUCNkw4B/W5shFv1cM3J8Jp4GK5PJkRuK/gCXCKXBjFQ6wz0DRox9LX/zt6XcW+3uII8JhrIGQEp+x1tVOmMGVuEAgMuSlgrcN9Ch6z9kpNg3kAga0AACCVLpf9Ww5LTe8XE6JJMjqPkHXC40RnOXvoGgAQQm+MQftd64UKVnwI8F1DNVgko1inE4nFOWr59CtAB5MGsBIecD+L+HF4glv6krnk6Pj411yqKiQfYDeloLwH0DP0Skb2CwugJCVQPgi360jGWFhnKnX0DoIVqjQ3iIzJj0e28kQlRGBA9oADRBHgKf9otVtBiHLUYRrQTbH9DjMFusyJaQuIR7uRMJfQNBAwgc259T0RZrDGxQjtEDCnxS6hnEsJaUESlienAEMIBL9AH0BEml/8Qla0fj1s7RGi2IKoDPYLPZUWz/63DfQN4ZiM8gtAQLAOnPOOJWmVgrnFCAT4EzS5Vq7Yyrho8J2oGiIcEA3nxkoSj9h09L72cwGIZEaXQI4lZAviS5XIZwhumA4WPEseLkLIITkBIzi0oYOGgNa7FByi/AL1DrGaQxmBZwL19BnsSgdhREXudQyQPg035vTp3fl2HMqVrKab/HS4sQHnUN8D0YixU5YhPOO4TWZzZnVDTCuSbTHnwq7cMX1v2Fe6uV0wLcdz39JzcwAD/g779cJJb8xl517cM2POePIpoaTqJDe3ad+PS1X+XA9fQ9bp5+T+KI22fEsjZ6zx3nmmiMDE4MegsFWXpwKPgAeOl/1bDR1qho1W2ROhNVy7C2pgod2PZ9MfLEhvFhOAPkE8J725K38YviWk7bovnM5dEqvm/g+IWrhL6BMiKYQAPwk/SPHHjr+MxevRK0cpmMWq+l5lMuVFVW3Hwoa3MZVgUJtaNAaf8SGoggxHd5PlFVfqbsYF6VzRlrNZgYaovCfQNN9tjF3MvvUBAlBgW7D8DT8OOWcValVp+hNdG1/euqK1H+5m8KsCXA0WlBShGVEBhAzzEAGTm7uD2Xcv+W7w72HjiIKgOI1hqQ0WQaO3Ty3H7bPv5XHvLUB7QBA/AR3np0sSj9EweNmBIb4yQlv3TQcvYMKi85eipv41f53LcNHDVydIqoq63AAHr83OLLr+ZIV7xvd2ttxbFBdmecWqWhN+/BarOjhIE3ruEYQAY+EtwZbU//1R/dwAB8Bz7xR8ewK9QGM9UbVltTjUr37ynkXtZzVIPf4ugkYQJBmyseoBoAjrnjuW56jrDYby3YumGPPb73sBhNH2oLU5tw30BjypVDRj18YPsPpcGg+QUlAyDSny/5nfrAk+m94uOdUSoVtb1ua2tDFaVFLXu++ySLMIAKjqrIaxcxBUAD6DlEEQZgIsxVfjhry/6BIycMtsXERuLOPbSA+wZeM3LCUo4BrCdagDuQtYBg9gHw0l9rYleoDAzV61VfXYXKDuQWnmo8gSV/HUfVHFWS1y5ySIEB9Bwiifp/VjDBub1XH927M98R1+s6qyOG2sJw30Dsj+JePkPWF9B9A4NOA/jHuiWiEwiHXSysOYb2lF+c9JO38cssovLXEaolGsAp8AH0uAmAmf9psqeYGeCqLz0ndfcOGJpMlQFg7SMuxqmbfN/69I9feeJP+NlzZ9ad9tQbbmAAPWz7m+yxq3GzT5o7W1NZjorys4/UHS8pJwwAX/oTyOMIxNEA7ARsD9QDEIzgLpSMXH58DpRkv434GXDPotDiiOlrNNNrBKPitACd2YL7Br6JAjwxSBZkD14q/Uc7nY4ktd5IXfpnf/3hdnLZT5KL7yIXvw0uv28sR2JWnSF73Uj2vfFozvb8E3U1dB0UKjWyWizOcRkPjSYaipycXWAAXZ/khX9Jpb/B6lhixDn/FLtCnKyrRVWlhVV15aUV5PKfRB3hP5Hzw4zdnv2a99Tr+DC0EyZwmjBfngEc2bP9UEXpkfpmVxPVs6FjWMQ441cSh6X8584BaAAXN0aNl/5Dp8ztZzQxYyM1errSv6YK7dv49U5y6U9K1P7T5HC2zXvydTdUzvqAPAyglWgBAgPwMIHdW3NxUhZNqHVGZGEtScnzlg0iDED2z3VLIwJsNGDwmAD/fGypmPgTP+CGNTjpgub5O+VyocqSIyeO7t1xmBy8bqU/wKdoI3vdLDHBGvd+/1lOdcXxlpbWFqpnhGGtiI3tvVSqBYAJcHneX8XwlLsSGbMlVU077bemEhVmb8v9GenPh3946Q/wCcjeCgzgtJcvoKk4L2tfPeWSbKWBQXgiNdZYUYB2DAqK8eBS6e/sd3WmzW6jumJsX1aUHHXl/vBZjoQBSFN/SQYY6Oq+tgMkTOCUhAE04JBgfW019dNtsVoRd2bnCs5Az1mG8eAd1/8CfCqC9L9yaLItSqWZEak1UXXwYPuSO2DZkst/0sv2b5/7xB/c0D3Xt4T3+OecgTgkWJyfU8j7Aiguku8bqNFncGdX7BvodbbBBDgX/rU+U5T+A0b8IrNP7146mVxOTeZguxLbl4ezNhd4SX8h9AdJP/5XIQVn4CnJM2kq2PJddh3tXgGKSNS7V4K2/9DkeYQByMiZBhPgImx/OXf5rSqdIUNtpDvpp7aqEhXn7spvbjxZK3H+NRFHlCj94V76BxItQOoM5M2A44fziyuKD1e6mhrp+gL0ZqTWG3HfwOhAcwYGNAOQSP+ovoOGUS/5FYt+NvBFP1LnnyD9IeefDtqJL8A7MaipND+74ARlX4A8KgolxMc771j+eBoiEYFA0QIC3Ano2T/EF/2Y+ZJfmqivqULVJYdLiPSXJv40o46OsOCco+sMlGoBfEiwsuSoC/droAmV3oTUOsNs1CkkCE7An/Wf/Gv9MrHk94771qdjDhqpVPXYJKFLIaz+Z3/z0XYv598p4oDi23/Nefw1cP75mfCeEwbg7QzkzbOyA7kH+b6BFM+OQqlGNrs9aVzGilEdvoBlEaABnEd7whxTbTAtoi39T9TWoJL9OUfqy0vLvWx/SPwJHAhmQLPEDGjgTLZd9ZQzAzFwC3ODxbEEBVBiUEAygLcfXyYW/XAcM9lms/WXUy75xQUmR/dsz0fdJ/6I0h/uIB2QvRfSgzuZAZzJVld2MK8Qm3A0EanWIyPDjL3p9tlCYpAMGMB5pL/RFrsad1yliZP1dejY4YKqor07D6HOab/NIP0DCkJI8KyXFtBYsHVDdiAMa8Ep7PEDBq0hWgC+fxFhzgA6O3Q6S/+HRjud9iTccZWu868S5W/6ahfqWvIrhP7a5jz+KmT+USbPM+gSEuSfV/nh/KKK4kOVrqYGqmcpWs+gKKVy3BVJtwbEQNGAcwJKpb/WbJujM7FUHUynmppQbcVxV1HuLmnRj8AAOkp+wRkXECQxA06jzunBTaX5OQX1NTVU1yeTyVFCr97aATePE8aKU9UCAtEE4NN+h0yem8iY2RSP9KcnVXDRz8EdP+5GP1/y237n+lfB9g88Z2CLty8g94fPsytLj7rOnmmmeqbUBgZFq3UzkScxSAEMgOCdJ+4VQ3+x/a9ba3fQnfOHY8eVpUWuvB+/2OMl/aHff4CCMON2CQNwoY5eAU1Fe3fm0fYFyBSRKD4u1jlp2bo02lpAoGkAvPQfOjUtkWHZVKWBbtpvXU01OnYg9zDqWvTTDNI/KLQAoUpQ7BWwf8u3e6uOlbTgrE6a0HKmLe5ojSiHBAPGCUikP1/0Y+9zxTxcRkkTra0tnPQ/2rL3+093oe5Lfon0B+dboNGd619xe/kCmgRfAM7irC4pLKEdEvQMFGWdY+c/kEy0ADkNLSAA5gJ0lv64bDJaY8jAJb80yyXrqqpQUd7ufEnab4OX9G+b/dgrAdzxPewhDQmekpgBjTnffbyVMzH7mq10TUytkUVGe9wq7uUGRCmcHBAmwLtP3idK//7DRi9L7NNbR3O6CwZuJnFo58Y89POJP3D1AxiYOaOOkGCnXgH15aUVNWVFlU0NJ6muEdcHGAyGpMGTZiWijsSgiLBjAKhj2EO0UmvIUPJpv/RUyJrK43jOn5D2213RDyT+BAe8Q4JiElfh7s17cISHtrlisdpR3IAbpIlB4aUBSKR/FPaKxsXEUC355dX/6iq057tORT/etn87kTCA4HEGduoVcHDHj/tqjpe6zp45TXVxGsaCzKwlJWny3ETiCwhLDYBP/NEYzSv5OX8UgdN+q8uOVtVXlFWgrt1+zyCY8huMZoCgBQi9AjA1FeXSDwliYIe3vU//eYhCSJA2AxDj/pOWPZreKyHOGalSU1XKcNrv/s3f7ECd4/5S279t9mMvg/c/+BuHNhZs+W5P1bFiPiRIc4WROhNS6XQZVySN9Ht6cCBoALz0V+lNi1R6M9Wz4mps4It+inN3FXaj/kPabxDSrHUvSxODhI5BPGPHEZ7jh/IP81oAxXOnkEeiWGestu+gEZP9rQXIKEt/vuhnzPwHk+2BUPJbW4NK9+ccQN13++U7/pADBQgueDcOFSMC+Zu/yaoLgF4BKqMZaRl+oKhf+wbS1gBIyW/MaoOZbuIP7vWP88T3bfwy+2ds/zYEob+ghJcW0Kk+AEd6Ko4eKD1ZX0t1jVFKNeqdEO+cmPmokB7sl8QgWgxAlP63zF58o4Vlk6K1ekS76OfQzo3ZqHM7KReSFP2A9A8ZLaBTfQD33Pd4MgPp+iuidUak0htn+1MLoKkB8KE/NrbXUsZio7r1uNd/bcXxFk7670HQ6z+U0d0swYbi3F2H6iqPu/C8R5rnUKHSIIfdnsSZxKOQnxKDaGoAkUl33Okp+dWbqJ6KuqoKVLIvK19yKLp0+5217iXw/AcxeZ5fp4nCLgmzx1pAVn0NfV+AwcwivdkyB/mpSEhG6fLzoT/nldeutVEu+RV6/ef+8HkWOkfJL1yhEAkIdtYCxMahR7K37q+pOEa9SjBKa0RGsyXlxokz/dI3kBYDUPS7aaRVqzOkRutZqqcCT5CtLjly/l7/cIOCnmY++pL3LEFxiAh+/uWH9x+qpxwSxOSwO1DMFdcIY8V9agbIKFx+T9HP8DGZTqeTusqFQ0C5Gz7Zhrq2+2om0r+dHBxAaDoDxZZh+zd/sysQQoIKrQlFa7TTOSFpQT5ODKLBABRXDBllVWr1GdEBMOmntGDPEUnar5D1d4pICSj6CTFItABprwD+2eMqQe48FOJ8EJqQy+Wob+8+WiwkkY8Tg2R+vvyk5HdMZj++5FdBVdfC3P7g9u9zUNeS3zMg/UNeCxAyAzs1Di3O3Zl/oq6aur0SbeC0ALXW530D/a0B8CW/USrNLIXeRHWLcdFPZfHhqorCgmIv9R9KfsNHC+iSGIRDglWlRfW0Q4IRctw3MM45YekjPu0b6C8GIHr+J2T+Mg03RJTJKTf8wEU/W749Z6//mY++CKG/0I0JeIcExXFvRXu35wZCSFBjYpHaYFqIfBgS9GdLMF76awzMyrLjxxHCRBFnTjW5SvKyDqPOnn+Y8xde6K5KsGHfxi9z+g8bPexEbXUk7QXKFZH9k9OXJ3//1stfkPX2aEp6hK+b2kVwEC4/R0aOcNJ/PEe9OYrjyMYRbv6vRL7PfxY8wJjj13GEO/4UcYTNgDKOashBkIz6BoQwIsi51HGEW1DHctSLEE5QwRlqGuSfEl03OXdYI8Uh6WOSs3mcnE0X0U75S9sTd1fhx42OJKqMipDUuSEMcvC15G2TbDLm9vUIev2HO6RVgvgcnCCkIec1AvmnXZdbIt1lkruiJK+FAqEePZ/+YgAyQgryIeSowxMrjGnxx1qwVD9NpHwt0QLqUEfiTwv5GWAA4YHunIEnyJlQkcvfQoSVzE/n8yzqqD5FkvsiRz5wBPrTBxDhpeo0E47bjjq8nP6w+aQMoBp11PyD9A9fJtAq0QwxA1CTuyGMGvfn8A7peHMpI4iQUFAyAEHin5bYOWfJhvurDZLAAFxE/a8hf1/q/AMGEJ5agOAMPEEEkptcRA3yb5OONq+1dHc2I3rqnPrLCRhJNhFzVj1xumiImuXzggcvFUvKhBpQt9N+AGGGCHIOleSM6sg5pXFGvf0SQpi6U4ia51w9cHf9GQVQECag7MaxEeFHBtCKOrLAmsl/W1CHdxUYQHgyAMFHFUXOqeCojpTY3/5Cm0QTkJ5TQRNoDzYGIN3gSC/HBvIjAxDUvTbCCARqR+D8AybgOaOCsFJIJL+/J/a4JWdSek7bpOc0WBiA9ILLJBsdQfFhuyUb2S55DwBMINDOqdvrvKJgZAAAAKCnuUMwMAAAABDAKg8wAAAAGAAAAAAGAAAAgAEAAABgAAAAABgAAAAABgAAAIABAAAAYAAAAAAYAAAACGL8vwADAE4ag0JarbF5AAAAAElFTkSuQmCCu;44;Resources/tableview-headerview-ascending.png378;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAICAYAAAArzdW1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAK1JREFUeNpi/P//PwMhwITG59DX1+8B0bgUseTl5YUyMzMXJwMBkM+KTZHAvXv36kVFRRlevHhRCuQLoStiLS8vj/7z54+yoKAgw79//+QLCgoSYKbBFAleuXKlhJeXl4GDg4OBh4eH4datW3lAE8VgiliBbkkB6pYBKWBiYgIrBAKp9vZ2kNvYWEBuefv2rZ+qquoXfn5+TkZGRgZQsACt/f7u3TtvoPx0gAADAHykNUXFhlgVAAAAAElFTkSuQmCCu;45;Resources/tableview-headerview-descending.png434;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAICAYAAAArzdW1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANdJREFUeNpi/P//P4+JicnuX79+WTAyMjLAAFCcgY2N7cSZM2dcWYB8/rKysiOLFi2yYGVlhSv6/fs3Q0JCwkGQPEjRj7CwsOsXL1789OzZMz6Qaf/+/WOQl5d/HxISchMkzwQkPgLxBR8fn30g3SAAUgTk7wYyz4PkQYr+APEDS0vLjcrKyu///v3LoKam9sbU1HQzUPwhSJ4J6gSYabu/f//+39/ffzuQfxGIP8F9AcWCQBy2cuXKtUA6GIj5YXKMIAIKmIFYFoglgPgZED8BOQ8kARBgAHkkbCsrrUGyAAAAAElFTkSuQmCCu;54;Resources/tableview-headerview-highlighted-pressed.png226;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAIAAABF+LJYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADtJREFUeNo8i8sNACAMQpH9p6oTGb2oB7Sx9kD4vFDMKufalEQAxHVB2SVEvvIczPfHlZ/fnY3ejgADAPV/LBeRV6LeAAAAAElFTkSuQmCCu;46;Resources/tableview-headerview-highlighted.png206;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAIAAABF+LJYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACtJREFUeNpi/vT5C9OPHz+Z/v//z8TAwACmYRiZz8AAonHLo/M/fngHEGAAmHc1lNgXMmwAAAAASUVORK5CYII=u;42;Resources/tableview-headerview-pressed.png194;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAIAAABF+LJYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACNJREFUeNpiOHPmDBMDAwPT////cdIwjIuPRT3LkydPAAIMAGirLBgXU933AAAAAElFTkSuQmCCu;34;Resources/tableview-headerview.png242;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAXCAIAAABF+LJYAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNocw4kNwCAMADHd/qtlF74QfqgaS+a9x//e68857L1Za/k5J2MMeu+01jAzaq2oqi+lkHMmpeRjjIQQEJFPgAEAIdRCSGGFwR8AAAAASUVORK5CYII=u;25;Resources/wheel_black.png11202;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXUAAAF1CAYAAAAX/XrIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAIGNJREFUeNrt3XtclGXe+PF7mAMDDA46tiioJCQeUhfBA6kRmbaap/KQUiyiBSGiZpkaPY/bQVS0pBQF8/HcKoouJBhqHjZSyfVFaq2k9fx+2dbP51E8my/EcuZ3De2arScOc7jvez5/vLfcNcLvfc3nde0199xINptNApTo75WlPuVntrT67Fxex73nV/b45EJu7K6LWYO2X8wYVXLxzWdKLs1M/OjSa899dPnVFzb974sTS8Rft4lf7xD//a5Lb8bvFr/v0wtZT5SJf+6g+OcPia/z5dmiVsfF12W+UCqGAFn59MSHlhX7MmLeKByXMvbdR5f0m9xuZ5cRzb4K6el3NqC1rtrgr7FqDZKty0SvnyOFqElam11kmpetq/hrt3+SxNKuL/vX/xej+Pc1vV93Lfwhv7O9Rjb7apj4fqaI7+s98f1tEt/n5+L75bqBqMOjFXzxX2GzilPjn1vaN7vfa+Gl7YY3OuXf2uu63iTZ7BoSZFfTGX7h11hjDe1ivPh4QsvyKQseWfq++PPtEX9OrjeIOlTjE7GLnb1tYtzo93qt7p4WfPR33fVVOhFtncLC3dDg39dK+1P0E02+S3mj24ZVYh5fsLsHUYfclZ/+q98bWyfED8nsujl8dMBJg0Vj9ZR415VRzMVfzKePmNOLYl4rxdz+r5gf6whEHW6zrjwn/IU1Q2dFTWrxhX9br58IeMP4iPm1EHMcNbHFF/PFXPeULwlnnYGow2nyDy8PHbdq8JxOKc2OG4PELtwsWYmx8/iJ+f6upeb6CDHv+WLue8X8WYcg6miQGVuSx0bPCCvzDfP6WctO3O07+WBxHZ4X12PllqQk1ieIOu5pc8WakGeX989qNdx8yh5xduPyZBLXxR75viPMp+b91x+yDorrxvoFUUeNVeXZHQdmRa8zd9NXsRtX7i7+QXH9ZmY9tK5UXE/WNVGHh1ldnhPeN7PrZlOErpqQq4uvuJ5txXV9bX63/L3iOrPeiTpUaseJLZZhSx/LDuhpuOJFyD0m8F3E9Z4nrvtxcf15HRB1qMDEwsTUFqMDThJyAj9YrIMPChJTeV0QdSjMsvLsjl1ntt+lD9JYtbzZiZv422+VFOvipZnt9uzn/J2oQ96e2xA31TLQ7zy7ctR2995HrJeVYt3w+iHqkImyylKfmHldN+tbaq4Tc9SHn1g3zcX6eV2so//hscNEHe6x/HBu+wdnhB7QEHI4OPCTxLo6eCinPa8zog4XeH1P+oDm8U2+J+ZwdtxHinW2Xaw3XndEHc44L98UP8UUa7zsxRufcKFGYr31FutunVh/vA6JOhwgYUPcVO8IXTU7c7h7595JrMMPeFOVqKN+kgrHphqjDVUaduaQ2c69u1iXm8T65HVK1FELqUXJY316Gq6wM4fcd+7RYp0WivXK65ao4zYmb5sY5xtrvEzMoSQmsV5jxLrdKtYvr2OiDiH70KLO5mGNThNzKD3uT4p1/LlYz7yuibpH2l+53ztsRugBiZhDZXGfNj30QKVY37zOibrH6JPTJ1cTpOENUKhWkFjfOWKd83on6qr2wpaUsfpI/VV25/AERqNkixTrvUise17/RF1V1lb8OcQ8POCUZOSFDs+M+/Bh5lMVR9eG0AOirni9Fz6yWjJz1AKYzZL1vXd7r6YLRF2R5u6f38P7YZ8fJZOGFzRw0xupD/c2/li2N7MHnSDqitHxrYjtxBy4S9z9JNtbf+q4nV4QdVl7acf0kdoOhmsEHahd2Du0017b8dFLI+kHUZedkCkPfE7MgfrFfUpayOd0hKjLQsa+eTG6CGM1QQcaFvaIjrrqfZ9kxNAVou42PebH5BNzwLFxnz+rRz59IeoulX+sINA0qMlZgg44J+yDHjedPfb3/EB6Q9SdblRe4jSNxYv7zgEnszTWWPNWjZpGd4i60wSnhn3F7hxw7a49dVzwV/SHqDvU2oqNIYZoU5Vk8uKFBrgh7NGRhqqKQzxmgKg7QHLRi0kai5bjFkAGxzFFeclJdImo11vE7F7FkpHjFkAujN6SbXZ6RDF9Iup11viZFj9w3ALI8DjGV7I982TjH+gUUa+Vdz5bEqXt4HONoAPyDnuHB7TXDuxZEEW3iPodJRZMSiXmgLLiXrAmMZV+EfVbxCwavJygA8o8Z1+UEbOcjhH1Gx6YEVVG0AFl79jTU9vspWdEXbIkhH5H0AF1hD3hyabfEXUP/YOXVv7NzxhruUzQAXWFPba78XLl96V+RN2DLD28tr22re9PvAgAdWp7v/anw/uWtifqHmBu2eJemiADnxAFVC7oPo21bPvcXkRdxV7dNWeAZNYRdMBDmE2SdXdB+gCirkKTtv0pjqADHnjO7iPZtq2fFEfUVWRswcupkknLAgc8OOwFy8d6xIeUVP8HfHr9+HSCDsAe9nWLnk4n6gr2xIqEtwk6gJvDviLzibeJulKDbuQedAC/ZTSoO+zqPHJZl8qRC4C77tjXL1TnUYwK3xSdxpuiAGoV9oL31ffmqbpuWyx5M46gA6hL2Ld9oK7bHVXzB0nf/Q4fLAJQZ2Y/ybo7Xz0fUFLFH2LO/qW9JLOeoAOod9jLitXxSAHF/wGWHt7YXhNkJOgAGiTIorEe3qP8h4Ap+psvrTzkp23biKctAnCIti20P1V+q+zH9io66sbYoMssRACOFPt742Wi7gZNEx78TjLpWIQAHMpklGwJj1sU+xOUFPlNt0mP3UvQATgz7DP++EAZUXeBmEXPLifoAFwR9kUzYpYTdSdKLHgtlaADcGXY/5KdqKhPnSrmG13w2Zoogg7AHWH/rHhBFFF3MG2HxtdYYADcoUML7TWi7kCNn3nwB3bpANy5W38mtvEPRN0BImYPLSboAOQQ9tnJEcVEvQGSi95Mkow8dRGAPBj1kq1oSXISUa+HtRUfhWgsPNMFgLxYTBprxadrQ4h6HRmim1exgADIUXQbQxVRr4Pg1J5fcewCQM7HMKkDg78i6rUwKm/6NMmkZ+EAkDWTt2TLmztqGlG/i41f7QrkHB2AUtjP14/tzw8k6ndgGhR+loUCQEkGRZrOEvXb6D7/mXyOXQAo8Rhmfkr3fKJ+k4x9q2MIOgAlh33fxowYov5PuojAahYGACWLaKmrJupCyJQ+n7NLB6CG3fqUISGfe3TUX9qxcCRBB6CmsO9Y9tJIj426tkNTHqcLQFU6NHfvY3rd9i/u+NaI7ZLJwCIAoLrd+qz4TiUeFfXMsj/3IOgA1Bz2svzMHh4Tde+H7/+RCw9AzR5+wPijR0S998LnV7NLB+AJu/WFqb1Xqzrqayt2hkhmb57tAsAjmI2StWK3a5+97tKom4dHnOJCA/Ako7sHnFRl1FOK3h7LsQsAjzuGMUi2ogUpY1UXdX1k8FUuMABPFBmsv6qqqMcuTl3GLh2AJ+/Wc9L65Koi6vsrj3trghrx5igAjxbkr7FWHtvvrfioh04fcoALCgCSbfrA0AOKjvqCA5ujJKOOiwkAglEn2Q5sXBCl2Kj7D404w4UEgF8N6eR/RpFRn1iSHcebowDwW/Y3TUvemxinuKgbY8MvcwEB4FaxYcbLiop68pZ3x3KWDgB33q1vmZucpJioG3qGXeHCAcCd9WxluKKIqCdsypwsmby5aABwt926XrIVzhqbKvuo67vfX8UFA4B76xasr5J11EflZUxjlw4Atd+t56WPmibbqGs7NOcHSQNAHXRo6tgfVO2wLxS/ad4UyajnIgFAHdg/ZbppZvwU2UXdGNue+9IBoB5i73fcfesO+SLTd64axFk6ANSP/Wx9V/aMQbKJepP4mO+5MABQf/Fdmnwvi6jnHNrenl06ADR8t364ILe926PeetqIg1wQAGi4aY+1PujWqJdWfuPHLh0AHLdbr/yi1M9tUY+a+0IBFwIAHGfuiKgCt0VdE9SYnz0KAA4U5KexuiXqcRvmT5VMRi4CADiQ/Qhmw/S4qS6Pum//Lhe4AADgeP1b+15wadQXH9rRmV06ADhvt35o4+LOLot6u5lj9jB4AHCemX9ot8dlUddYTLxBCgBOFORbvzdM6/GTjd6bzNELADiXyf70xlcTJjs96gGjY08ycABwvtHtAk46Nepbvj1s4ZnpAOAaRq1kO1G6xeK0qPfJeS2XQQOA6+Qk9Ml1WtQN0e34odIA4EI9Aw1XnBL13MN72vMGKQC4lv0N08Mba/9I3lpHvWvmpM0MGABcL3NI180Oj7ouIrSa4QKA60U00VU7NOrZ5bs6SkYDwwUAN7DfBVO+Prujw6IenfXKOgYLAO6TNeKhdQ6Lur5bW+56AQA36tJEf9UhUV9x5NNQjl4AwL2MXpLtyF9WhjY46v2XZ2QxUABwv+WJ/bMaHHXziEdPMUwAcL/hrc2nGhx1yeTDMAFABkxae5YbEPWkLSuTiDoAyCfqW9KTkuod9bAZ48oYJADIx4yeYWX1jrpX6+bXGSIAyEdrX6/r9Yr6ii/2h3ErIwDIS82tjfkrQusc9cGr3p7DAAFAflYmDppT56g3e2HE1wwPAOTnhQ7Nvq5z1DVBTa0MDwDkJ8hbY61T1HPLPwnnVkYAkCf7rY3lH+SG1zrqQ1dnzWJwACBfa8YNnVXrqAenPXuUoQGAfKV1Cj5a66h7hbX4maEBgHyF+Xj9XKuoF33zpVky+TI0AJAx+7n6NzuLzPeM+oSt6+IZGADIX3H6hPh7Rj1q7owChgUA8pfZr+vme0Y9YPQTJxkWAMjf6FYBJ+8ZdY3FzIeOAEABLLpbP4T0m1/kHzsUKBm9GRYAKID94V7HivID7xj1CcXreZMUABSkeMZv3yz9TdR7vffmBwwJAJRjdr/u6+8Y9eC0MXySFAAUZHjIfd/eMer6yA5XGRIAKEcrb+1Pd4w6nyQFAGXRaez5vk3Ul5bvDyfqAKAsBhH18lVLw2+JekpR3lgGBADKs3Vq6phbov5Y7jvZDAcAlGfR4Edzbol6ePrkvQwHAJTnuXatPr8l6o2eGnCa4QCA8nQ3+1y8JeqalkHXGQ4AKI9Z++szYH69DYZnvgCAIt18W2PNf2w89iUP8gIApUZdOFb4y4O9aqKesW93DIMBAOXaNz8j5kbUxxXmpTAUAFCugvHjUm5EvW9O1iKGAgDK9e6AR5fciHqHl9N2MhQAUK5JndvtvhH1ZqOGHWMoAKBcI1oEHr8RddPDD51lKACgXL0C/M7eiLouNKSaoQCAct1v0F27EXXJ14ehAICC+Wt++VTpL1E3GBgKACiYQfrlU6VEHQDUFPXSylN+RB0AlB/1yr2lftKWM6daMRAAUL6zW4taSXnnKjsyDABQvnOb8jpKq86f6cEwAED5zq9d1UPKOX82lmEAgPJdeD/nMSnr4rlBDAMAlO/iwqxBUsbFc6MYBgCoIOpzM0ZJb1w6n8AwAED5Lr31RoI089LFRIYBACqI+uszE6XJXx+fwDAAQPm+mTJ5gvT8gQMvMwwAUL4vx49/UYrbvv0/GQYAKN8nf/xjOjt1AFDTTn3y19+MZxgAoHwnX5meLM34fyefYxgAoHyXZr6eKL1x7mI8wwAAFUT9zVnxUsa5i3yiFABU4GLG3FFS1tkLTzAMAFC2RC+97WLWwkFSztkLsQwEAJQedYPtQu6yWGnVmfPdGAgAKD/q51et7SblVZ7jJx8BgAqifi5vU0ep6PRZfkYpACg+6t62s8UlLaTSU5U+ksHAUABA0VE3/lxZutdHstnEr4k6ACg+6jU9J+oAoHwGSWO7EXWNyd/KUABAufw1GuuNqGtbtb7GUABAuUJ1huobUTdF9z7DUABAuR4xNa68EfXmw+MqGAoAKNezzUP+fiPq7VJf/JihAIByTe0Qsf1G1B/NfHcJQwEA5crpO2jRjaiPyytMYSgAoFyF41JTbkQ9Y/e+GIYCAMq1L2N+zI2of/jNCYuk5wNIAKBEJsnLduLDEsuNqNf8DVEHAMVG/UbL//U3GnNjPlUKAArU2stw/Zao+3TpcYHhAIDyDG8UeOqWqIc8+/xBhgMAyvNaeJfSW6L+6NyFuQwHAJRnad8ns2+JeurGrWMYDgAoz9bUqWNuifqyvx0J4w4YAFAW+50vR5atDbsl6tzWCADKjPpvOn7zL7QteK46AChJd71/1R2jHjwm7ShDAgDlSAtuf/SOUe/91sLVDAkAlGNh74Gr7xj1ifnb4hgSAChHycT0uDtG/cOKby2Sr4lBAYAC/PIgrx2WO0b9l2fAWHgGDAAogEWjs/57w2+JesATo08yLACQv9EBrU7eM+pdX83czLAAQP4yu/bdfM+oT1i3NZ5hAYD8bZ2QHn/PqP/1H5V+vFkKAPJmkrS2yr8e8Ltn1O28Qtr+xNAAQL7aevn+dLt+3zbqLeInfsHQAEC+Jrbo/EWtoz703TWzGBoAyNeaoeNm1TrquZ+Uh0smM/erA4AMmSWdtTzng/BaR73mQ0hNg4g6AMhQS43x+p3afceoN3s65TjDAwD5SWn24PE6R33w26vmMDwAkJ9Vg8fOqXPUV+w7Eir5cL86AMiJ/f70IyvyQ+sc9Zr71Zu3vs4QAUA+wrx8f75bt+8a9bBxM8oYIgDIx4ywnmX1jnryyqIkyY9bGwFADuy3MhYlpyfVO+o1v4FzdQCQBft5+j2bfa/fYH50+CmGCQDuN9zc+lSDo94/Y3kWwwQA91vePzGrwVFfU1YRwhEMALiXSdLZKtZsCWlw1O30bbtVMVQAcJ9uektVbXpdq6hHv5K1jqECgPtkPTRincOinr2rvKNk5AgGANzBfvRSnr2+o8OibqcLjahmuADgehG6JtW1bXWto97txfn5DBcAXG9+tyfzHR71nJ3l4RzBAIBr1Ry95GwId3jU7Qzte15hyADgOj0NgVfq0uk6Rf2x/1yazZABwHWWPjYm22lR//Dz/9OYIxgAcA370cuJLaUWp0XdLiB29EmGDQDONzqg3cm6NrrOUU/MLkiVfHkcLwA4k1nSWwsT/yPV6VG30zQOIuoA4ERBGl9rffpcr6i3GzNzD0MHAOeZ2e4Pe1wW9eztPDYAAJzFJOlt5dl5HV0WdTu/qIHnGT4AON5Av9Dz9W1zvaMeN3/DVMmHN0wBwJHMksG6IW76VJdHveYN0yYtr3MRAMBxWmpM1xvS5QZFvev4eZu5CADgOPO6jtzstqiXfn3aR/LmDVMAcAT7G6SnS4/4uC3qdqFPzzjAxQCAhpse2vdAQ5vc4Kjnbj/cnt06ADR8l344t6C926Nu1yQm/nsuCgDUX3yTLt87oscOiXr6mj0DuL0RAOrHfhvjnvQlA2QTdTtj+9jLXBwAqLtY4/2XHdVih0U9ft6mKZytA0Dd2M/SN8XPnCK7qNvpWkZUc5EAoPYidIHVjuywQ6MeN5tHBwBAbZklb2te3GtTZRv1mh9OHRpdxcUCgHuLNrSocnSDHR71se8UpnK2DgB3Z5IMtsJxs1JkH/Wa3XpYzytcNAC4s56GVlec0V+nRD353aKx7NYB4M679KLkzLGKiXrNfevh3LcOALfTz6fNRWe112lRn5hdEicZ2K0DwL/v0ksmvhenuKjbNeoy7DQXEQB+NaxR59PO7K5To75oy6HO7NYB4Ndd+qFFhZ0VG/Wa560P4XnrAGA3PXTgAWc31+lR33/stF7TKIhPmQLwaEEaf2vl/mN6xUfdrk9aTi7HMAA8+dglp09arit665Ko2+mDI69ycQF4okh98FVXtdZlUR+/YOsYdusAPHGXvnV81hjVRd0uIHL0SS4yAE8yOqD7SVd21qVRX7uzIkTy5tG8ADyDWTJaK9buDlFt1O0eTlq0nGMYAOo/dvG2LeydutrVjXV51GueCxPKc2EAqFusMfyyO/rqlqhn/rmsB7t1AGrepZdl5vfwmKjbdRqZUULYAagx6Bmd/ljirra6Leo1P6g6kB9UDUBdInQtqt3ZVbdG/eVFHw/jbhgAamGWfKwfv7xsmMdG3a51v2kHCTsANQR9WuunDrq7qW6Pes0xTDMeIQBA2SJ1ra7KoaeyiPqcNWW9JAO7dQDK3aWXzcnvRdRvEh2ftU7SczcMAGWx3+2SFZ22Ti4tlU3U7Uxth5xhkQBQkqH+Xc/IqaOyivqHe09YNEYLxzAAFMGiMVlPfPi5hajfxajpedM4hgGghGOXvNGZU+XWUNlF3S64V9pRwg5AzkFPCx58VI79lGXU7QzNo6tYPADkKNrQpkqu7ZRt1Nd+VBGi8eZ8HYC8BGkaW4+uKQ0h6vWQ/GZREscwAORz7GK0FSUvSZJzN2UddbuIobOLJR1hB+D+oM+OSC6WezNlH3W7Jh3jvyfsANwZ9Pgmfb5XQi8VEfWa58NYeEwvAPeI0LWuVkorFRP1BWsOREl6ng8DwLXMkq/1wILiKKLuBImvFaRyDAPAlccuBWOXpCipk4qKut0j8YuXEXYArgj64kdeXaa0Riou6nZtYtP3chQDwJlHLultxuxVYh8VGXW7pg8mfMeOHYAzdugJTR//TqltVGzU7Xxa9LvIIgTgSP18oi4quYuKjnrpodM+WnOHayxEAI7QQdvqWmXptz5E3Y1y1peHa3xaXmdBAmiIlpr7rpfn7ApXehMVH3W7ue+X9dIYePgXgPqxaBpZy+YWy+JnjBL1f0p/Z/cASccdMQDqxiz5WXen5w9QSwtVE3W7F2ftGEnYAdQl6NsmfRCnpg6qKup246YXpkhabnUEcHcmycdWOG6Zoj4t6pFRt3s6bf00duwA7rZDX//0wmlq7J8qo243IGHF2+zYAdxuh75q4LxMtbZPtVG3e8IednbsAG7aoa94IvNtNXdP1VGvOYoZv34aO3YA9h36+qcXq/LIxaOiXvPm6dTCFHbsgCfv0E3WwnErVPemqMdG3W7Sn7bFEXbAM4O+bdJ6Vd22SNT/6dU5uwZodHzyFPAUFo3Zuju9QDUfLCLqtzF3cVkvjTfPigHUrqUm8HrZ3O2q+Og/Ub+HnNXl4Vo/nu4IqFUHbei18pxSxT+ci6jXQenfKn187ut3UfLizhhALUySr62fT8+Lp0v/oejH5xL1BmgamvCdpOUNVEANQU9o+qRif2IRUXegNl3T97JjB5Qd9PQ2ExT5M0WJupM8MmTxMsIOKDPoix+Zs4yOEfVbJE4qSOUoBlAOs+RvLRi7xiM+VETU6+mdJZ9F6fwiqiUv4g7IOeYRuvbVBxbsiaJbRL1WGgc/8wPHMYA8j1ueaTz0BzpF1OssotfsYsIOyCvosyPSi+kTUa+35BeLkjS6II5iADcL0gRai5LzkugSUW+wtRsrQgym6Cp27YA7dud+tmhDZFXF2kMh9IioO1Rwm7SjkoawA64Melrw80fpD1F3mlGJedM0Wo5jAFcct+SNWqX6H2pB1GXgw4++tfhbhp5h1w44Z3c+1L//mRMf/reF3hB1l4qOzVrH/eyA45ilRtas6Lnr6AtRd5s5b5f10hkjr0oa4g40JOaRus5Xy+Z86nHPPyfqMtU6/JWDhB2oX9Bfaf3iQTpC1GXn5ekfD9MZIqo5awdqd3YeoetU/fHLJcPoB1GXtU5dMkoIO3D3oM/q9HoJvSDqipH5dlkPb5+HfyTuwM0xN9ke9u71Y1nm3h50gqgrUu9HFq7mrB2wn52brQt7v7uaLhB1xVvzQUVIQOPRJyWJXTs8c3c+OmDUyYq1R0PoAVFXlZTxxWP0+sirxB2eEvNIsd63inXP65+oq1ps7OJlGg2PGoB6BYn1vVisc17vRN1j7N9f6R0WOv2AJBmJAFTDKNbzNLGuK8X65nVO1D1S1oIDUWb/oWc0HMlA4Uctg/2HnPlMrGde10QdwsQJxfF+xtjLxB1Ki3mMWLdbxPrldUzUcRupyUVJRkN0FXGHnPmJ9Rlt6HmlUKxXXrdEHbXwfGJBqlHfjbhDdjGPEusyL2HTZF6nRB318MdRedMM2g7XiDvcHfO2Yh2uFeuR1yVRhwM8F79pisn48I/EHa6OeW9j7OV1Yv3xOiTqcIKZM3YNat4k/nviDmfHfKRYZyVivfG6I+pwgeW5h9t3aP3KQS/iDgfHPE2sq4NiffE6I+pwg7LSSr+Ho+YW6DRBVgKP+oY8UKyfP4l19D9iPfG6IuqQiXFxeVMtvv0vaPiUKmrBW6yTWLFeVsZtmMrrh6hDzkcziw917tZu5h49u3f8G1+xHgI0FutLYn2UiXXC64WoQ2FSEzZNbhEw+iS7d3blg8U6WMX95UQd6rBjywnLU31ycgMMPa+we/ecXfnvDdFVc8V1Py6uP68Dog6VWpt7uH3frpmbTbqIai928KpiENezrbiur4rrW8YdLEQdnmdVdnnHgQ9lrTPru1UReOWG/EFx/WaK61gqrifrmqgDNTasPBL6bP/lWa3Mw09pxf9113JMI0s+4rrY9RXXaZ64XvtXHA5l/YKo455eea4wJTpsRpmvV+vr7OLdvxtvLq7D8+J6rBDXhfUJoo4GyV9+JGzc4FVzOjZ74WujJsjKLt75u3GLmPMwMe/5Yu57xfxZhyDqcN5RzdLD7V8YumZWZHDaUZNX2M86It/giDcXcxwp5jl/6OpZnyzlTU4QdbjRnqJvzG9M2Bo/pGvm5vCA0ScNGovYzXNkczt6MRd/MZ8+Yk6To+YUrBRzOyzmxzoCUYesbc8/FvjWhOL4gZH/semBJv3/4acN/slLMtjsPCHeRrH7tgvVR159Mjj1q1d6vffBcjGPv238KpD1AaIO1di0tDx8VmrxmGdj3nk/qsWzhwONv79k0JitXpLOZqe0XbedRdPyenSjp04/G56+N73v0uz3xZ/vY/Hn5HqDqMOj7dx4LHBFxr6YN8YVpiQ++m5Ov3aTdnb+3ZNft/KLPmfW3X/NoPG3asVO/1+cEeqbv75R/Pss2vuvtRH//ujfPfX10LZpe159fNnC98T3t0l8n59tPN6c6waiDjjAl6WnfcqLzrb6LO9cx70rzvX4a86Fx3ZlXRy0LePCqJI3LiWUzLyU+NFrl5I2v/y/qcuSjrzyF/HXbeLXO8R/v1P877vF7/tU/P4y8c8dFP/8IfF1vhRf75j4uswXSvX/AXO4pNyLosLqAAAAAElFTkSuQmCCu;26;Resources/wheel_button.png2706;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAB39JREFUWMPFl12MXVUVx39773P2Oefembnz0XamrW21DQIWBOHFoEEMDz4SYyQYSI2JD0WCiSSSqIkPhleNKIaYGOFBY/yIPvlAVEB40ED9ACJNLRTascyUTuncmbnna3/5cPbcmQFU8IWbrOyTe5P7/+21/nutfUQIgffyk2w+PLL6NEMx4rxaYkme5XV1jlkvWFSneJ+fEl4MDywweUMjl27RcuOaXJQHpwgzAxADWJ0LvcWB77844/c+2ZfrJ6b84Nwkb7iwcRCxehm/Pomv5nHhEEFOA47BR+/dAni7jw4pAq5akSufLdXS515Tq1dPA7vRZGgkCgUo/Fxg7UhQK7c4znxJ+Okzgr0/x6ufBdIXxDvJwFvESZKzyflji2rpvlItH52nYB+7mEYzQUIfRQ9BD+gR6OHoYSkw5HL9cC5Pfi0xc7c70u95MfkjoHxHAAHIg55eVK8/8HJy6rjGqFnmmSKnICMjpSAhJ6WAGIECR46JUZCFGmVWj6j2uQetPXhjK6+9H8KF/woQgImQTf8pO//Q6WTlzgHzDAjkGDQCTUGOJieJEIIcyAnk2BgtBQ2JyaDMoBqSlK8eC20+aNTNx7Fh+T8C9INOH9NnvvWXdPnOXSwwQNDHUWAocGRoMjJyUnIUBZJiB4ChoEWHGuoM6gRqCbUkXX3xNq/6w3rq0/cQ2HgLgA6KE/rcsT9mr909YA8DFBM4+ttqmyHIySNAQo6MGfBjgJwG2WioNsUF1EBtyS4/c5dbOPJcO3fTd4SzOwFOpGtXPZYvfSVhJpkhpY+nj2cyrgWWHhZNQha9kCHJdgC0pK6GWkOTQK2iONB4qGqZvfSHL4e19MmgJv8KkHxz/SlkkOqMLj+zqOTR/cyTE8bu3gTpYymwZECGpkBvK4Hv3E+DaDU0atvOPVQOKgNmDnVh8VAiz97V7rnuOcAlE2GQj4Td/bx2ny/YRYGiIESILibwTODHRy1Hjc2YAz1ct3vbQJVCuSkeoHRQ2Q6gbKGeJD39wh2mf/0PgVPJ/VPX1V8sn71hWRZXzNNDI6KpOnMV40wEJscAnhxNEY9ijiULLTRlTLuAalM8Cpc1lBrMFHLp/F617/xNwKkE4HSS3Aoz5EhSQEOsbQdSxEz0YzZ6uGjINIIalG2g2ky9f6vwSMNGCqMMNhLUP0/fCjySAFxUvaM5GQpBEp2ZAikh1pwxSB+YwMfGk1Ag0KGFuux6Xelg1MIoh1ENG50g6ymsa9hQUBaof618aHwKhmJwMCOg4hcJ7HjeBNIxKxNjCEGGQLZVrLuFsom7TbZiLYF11YkPFYwyxOWN+TGAF1MzCoGAcchtod4EoYFebMPa2m7no7oTWVPdui67WBOwJmEoYJVuXROI2ve3+kBdgBD/1zwXJjq8zqHJocm6LljlUGVd1G+OHJptnVCshaELYg7RzYNxBPCAi2GBFmhDZ/IUyESCrnvQGjAWrAPnwbsugt8WIf6pIZCXYhNgMPSLF5w8bMWWoN0eAVrRCTcBSg/CgU67454YjSwLqFto2whjOhi7DcpZ8B7aijA5d3GcgV0j9+LZKvmEE90OLWBEJ9bSrQ1QBlAeggEpYjYDaCvJ67xzf9lCY7pobQdkXQQyYD2UPfz795/c9BZXWvfEicvc3cidaW5jM9MB0iiOg+Ag192xzwDtIG1TVJnDqIkdr4XaQNNCYzsAYzsoO4H94JVPpJsAB5U9sbv0Z4e1PNRXnWgWhTWdsPBdaqwDJaPX4qzRDnQr6DUZlAWMYhOqzBZIbbpsrI/w0/suugMLT49L0G6Ic9eq9ie/W8m/UaVROEASIIniwoG34AP0dDfwdgAY0E1KslmKUbMFUhuoYlaGOebje39Fm700Bnjg5kl3z29Hv9jv3B0rb6gjWQqJA7WZdt+JWwNJ0p22KoFCQgVoD9pC1kK/zhBVvhNg1ELdg0sVfvfCBXdg7lFhaXfcB26YMs83e8SDP32l993LIKUEGWvuojhAP4Om7sZ9JTsPZB4y221QNwq92QdGbdeKywLWaijz0Hzq4EPmxtlnROV2XkiME3x4wfz45d3NR/78QvaFJP4SLDgDzoHWsfZpvG3FqZuFDkCbLgtJnSHrYmv3awYuZbTX7/+1uWbiYWH8uPHtuBOWRoxuPGS+vvaanD15Mr3Ni64ntC0IGRud7sSrBPLtAJs+MJDWkrzKug670cIbLfbI7O/tNeGrorKXQiHe/lIqgLIVy1fsNcer82L93OnkrrqF2RR6GbR13H26bewTTes6H2gDuoW01qjVAqoWt8/9xn5A3CeqjVcRb3Mt/8HjQ5TcgmiMWN6/xx6f9v7v504m964uyUNFHyb7XQaqBAoFlYgeCFs+0C2kI9AjQT6pl93h7OHQq78vGn85iHfxZmSsGB3cb7/dXBSP92fcsWpZ3T68IPclKaQpZBq07PpEGiA1kDZxnQgr2WH3yzSER90BnpHLcXC8m1czAGMEwN/mZv0/vAoP77uajzVL8pPZSB71tVhw0LcBbKD0vXCBGX9SLPinwlA+5af9K1yiEuZ/TNP3+vX830UX5/xBVNUfAAAAAElFTkSuQmCCu;28;Resources/wheel_button_h.png2514;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABu9JREFUWMPFV2lsFVUUvrO+ve+9lkJLAwVEKgo/TA1qNEBYGtqCQpBFNBiCaFAD/sHoDyRRYkgkRDAQNUgiNhgEI1tZ2hSrREiEgIpBoYCUrbSF9m0z783uPXPvLEWg4B9f8vXcuTO533e+c+7tDGtZFvo/wTIMg/rDvEIdM7FpTNWsQ+MW1e4b0TBjb/mJWXuKry7YlUy/uiuZWb47eX3VvrKTaxuHb9988InXt/8w5tHdzeP4/taFH4v6+Y1pGlN97vCFT27kO5v+Uk9vuWl1vCQjqRoxqILl2CKeY2Mcy5Sblvy4ZnbOlbQ/PrvZfb1FVVObmptHP93f+ncV8OzRWcLYA0+t6JRv7rxotC/Ls8rQICpCEVSCQiiBAnjcFzBXbMdYyChD5uUluWz3d/t3PvbB4W+fjD2QgPqmJaXXem983aZeXpNn9WFhvChARFEk4JGIZcA4YEcyJjGM70cw4kiwkogzlHJdurBSznR8c2jLpCH3JWDRwfdL/1Y6tl4zUvNCTIKNo1KccRzx+C9ZPOoSCragf48BnBFGSElghJGZ66wvpNsb9m2cXXlPAauOfSn+rl5a32bdmhZDSbxcEpHs43jRmJ29X0SAQvSJssVYmFyNYAQR0qIYMcSkr4w3U2c37tv0RuKuAk7dOv/2aat7LiFN4pyLENQdHAhhAbxrvyPEgzMHkdHClDxEokoFdZ6ts3rPv3NHAbMb11T/ot9YyjJRLooFBO3sYjZx2BaQsLP1l8Kz3bOfMzGZRqFiAVqQAjuhiox+6eTi/SvrJ/QR8ErjBv66Kb98k2WGxWmzOd0ddF0gAHLebT5qOc1cxE8wepgQqkEvKiKOAkJGDHG9qYFGz43Fjavm87aAZT9uCyM2OPy8lJ0rYgKoNYFTYxBAXAjbzsQoWditfcBtPGyzEiLQApgUQ6FRFYkQXJbCpYvTOYUZawvYMGGB3GXpz6TD0cFRO0PH0pgrhrgRpy7Efdn7doQVITW36x7qmzlEBSJOGjsU6M0mzZ6uyW4JrhhmDaJ15Ow6OzX1i4i6DQli/FsOSsCaYY8YslfEvsQFHPM8uS5wyGi/6glIW3wVLMiCjRQ8jd62I0KCPhcE6oKdPZArNOsCTyMlxYQoz5FxnrXvGd3pka4AyQqVEQHEAdY39oOnvRGiQgLUKbvxFKfOAiXGhAWWkMssIYZrGMP9W/mkK8AygzHInsFANPrB+lzhaYkCtGF5I+RlnWd9YEiUGUIq4SghEvGclbOC3jmgiUT9fwCj0kaDNXTocoFA9cE/p/ngCsgzORPUyQSWA4nApDAwdAo1R6CDxbDNYM/r2A34H2DiaPmi5cQInQ+D04orIFJgOnW8mIFh+kFJYd4mxlHDUDJYcxrzUiFWXqCOYCG6IyZIBBiOKECQiMD32FBxyhUQ15g2WAxIdUoOhBq91uhYwShgcjlNHaDzml1XZ9v5RNhCAlRE0Iv4Gaao9IIrYCjDtSBKBBlD1LOEHIi0LMnazhyjgK81XCI1S0TB86a9zejWs088kZwHtgiROAIC7BhE3JDKVldAeYA9EssVuuQMzThLM8wSACFknsemySkqSvJAnICuhy0IIuhBpIrekeyUBwtVI4k0Wzag2RWgSua5h6Kh7yE7p7mc7JzMbethnPVI+0AG96gLICTvFxLwekQSkTisssnShNOugIbl9frgsPBViWF0ZFK03tR2J3vZ13ha3ifUgUzKYsmOC/RAUqgIcCLLIyMeTwllxZ/X7fiw0Od9YNe7045VDxS+wLW3cikiAMjztOnAfnBEl53G87J3mlS1ewgOH8Hrhzw9lmU7WtzYyq21hz5queMb0eiK4LpHkmiv1EtIIfNCmmQOQjSapVd3j1ijZQB3LEdAnu4M2CFZAVkjSluFkSVr7vpKtm75lEzVYHbZkLj1U6YHoVwvsf72xrvd/j4iJLotJSpCIuSoPH4iNHLAW7Wb3+y451vxjo+ntw8pFRYOijAHZCwg3Y3XodvOOQFdyykUvyDaIyZYn8bkORGxxZHWUEViYU3j0jP39V3Q+nVde9nA+PwRFcIaEZldUBIog0aPYeW2HeDaL9M5eLaXQSbH93KVkU+jgxLzph5d/OcDfRkdbxyfOXO89r2SRPSFoRVcA88oPVKKlKWQIv1h7xQH0KS4bCqUzdIyVjm7I5yMzqk/O2fZxFNzuh7408z5nTs35UiiSFgyaGBi8qjRgRXJEma/KKI20zBvGaoh6QQ9lmCd54qZQ8EqYWW8NDFlUEnZopqLNS39fhvezyf0kZNTCz+fnfLrnlM1a5suT6/f3z1j1O7U8wO2pWdGN2Osz8wsWd393MMrrkyf9tpv01a/2Dbp+Pjj1VJ/68LvH9f5eR16/VvHAAAAAElFTkSuQmCCu;49;Resources/CPWindow/HUD/CPWindowHUDBackground0.png438;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAABOCAYAAAADx2dJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANlJREFUOMvFVEEKwjAQTEIOvYZcbVSE5iMi9Dt9k/is3nsqNFebNSsVg7aVlbRd2EuGnZkdkkj2rix0Ffoc+iiHw5MQ4mqtNXmeS621QCALh7eyLA+cc+acg7qu7whURVHscKxpGv/iReBijJFd13kAYDGwV0rxtm1ZXAgI5O77Hj6B0XoCyB3z/wZmqYI420Tce48TQKOaEgf65rQ96K5mxXH7KQ3YbI8pDVhBYzZdSJfu4nZHJ+h3d3gfa7haNN2EdtPfK2JWtPdB//rosdPt/vdfpcvqi+oBO6kbb0fpInEAAAAASUVORK5CYII=u;49;Resources/CPWindow/HUD/CPWindowHUDBackground1.png262;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABOCAYAAADhG3wwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFVJREFUGNOFj0EOgEAIAxuOfpGnc/If0npYE13E9UIIUyZgAHZz980i4jBJGAUAjKRGV0BmogWS9JhNAC0gea11ud+ZZssrshbcNxdLJ+j+Xas+IhWci4eYfv9TUucAAAAASUVORK5CYII=u;49;Resources/CPWindow/HUD/CPWindowHUDBackground2.png466;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAABOCAYAAAADx2dJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAO1JREFUOMu9lD1qw0AQhT8NLlykUR9kiEAgcg+BjqAzpEuZA/kYzk2UWq0KIYF3Jo1l1ib+2XjlB69aZt4PzArwA+yAL2DNAdI0zUtVVe9lWX6IyDeQA0jbtvtpmizP81Vd128isgXWoqoMw2Bd1ylAURSvwKeYGTP7vtcsy1ZAJXgYx5E0TRNgI6pqM51zliQJgJxM+DjRmHn94eIq5xw+b09EFLczqGqgxjVXFjtHuKuL4qqKT3/VOXhajhANe4LG35U81u7idu+eCG/3eB9xXS3e7oIlRryP28nD7yP86wuv/XG7/woYsSsAfgFTK9CW5YiWLwAAAABJRU5ErkJggg==u;49;Resources/CPWindow/HUD/CPWindowHUDBackground3.png174;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUCB1jYGBgeGhgYPAMRCNjAEUgBdynEw2bAAAAAElFTkSuQmCCu;49;Resources/CPWindow/HUD/CPWindowHUDBackground4.png182;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUeNpiZGBgeMiABpgYsAAKBQECDABbOwDrSD9oPwAAAABJRU5ErkJggg==u;49;Resources/CPWindow/HUD/CPWindowHUDBackground5.png174;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUCB1jYGBgeIiMDQwMnoH4AD4kBdxeWsrBAAAAAElFTkSuQmCCu;49;Resources/CPWindow/HUD/CPWindowHUDBackground6.png266;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUCFtjYGBguK+vr/+MkZHxIZCNjBkOqaqqPuXm5n6ELlErKir6WFpa+gm6BAfQmJPq6upPQZI8PDwwnWCgDJIE6VRRUXlqYGDwjAEJcICMBeJ9IB0AVHsdU7uFunYAAAAASUVORK5CYII=u;49;Resources/CPWindow/HUD/CPWindowHUDBackground7.png178;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAGCAYAAAACEPQxAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVJREFUCFtjYGBgeMiARhgYGDwDswBL7QXcgt2ExQAAAABJRU5ErkJggg==u;49;Resources/CPWindow/HUD/CPWindowHUDBackground8.png270;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAGCAYAAADgzO9IAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUCFtjYGBgeAjDTExMD3V1dZ8B2XcYkCW4ubkfqaqqPgWyD6FISEtLPxEVFX0MZNcywFSCBNXV1Z8yMjKeBIpxMBgYGDwDaQephAoqM0AByJgDUO0cMEEAprAdTwaXWlcAAAAASUVORK5CYII=u;59;Resources/CPWindow/Standard/CPWindowStandardCloseButton.png834;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUOE9dkzmPUlEYhmcSbbQ2sdBY2NpgqXZWdv4HLZyfYE/ClgkEQtjXAsMmS1gbKkJjKMYCGpZAQAts6AZH8vk9J/dOmDnJm3x5t3vOveeeicjZCc673e6TQCBw6fF4rpxO5xEww6HhOc2chh+kUqmPXq/3t8vlEg2JzgbMcGh48N4veJjNZr+43W7x+Xzi9/slGAxKKBQyYIZDw4OXjF1wPh6PX6l4jSkcDksikZB0Oo3RgBkOzSq6JkOWgsf5fP6bnlGi0ajoFoW1Wq2kXC4brNdrw6HhwUuGLAUv4vH4LwQlJZfLyXa7NYHlcmnAgkPDg5cMWQpeRyKRI1stlUpSLBYlmUzKfD43QRYzHBoevLFY7K9KDgreZjKZm0KhIPV6XZrNpjEtFovbAmY4NDx49b3cqPTGFFSr1b1taLfbstvtTHAymRiw4NDsB5CxCxzD4fBnpVKRVqsltVrNBGazmejRDJhZaHjwkiFrXuJ+v3ereLQLeNucmScBZji7AC8ZsuYzKj7oU36wPQycs9FoSKfTMWCGQ8ODlwxZc5EUzxQX+qmuBoPBsdfrSb/fvwM4tM1mw9YvrIy5SOYqK14qPh0Oh+p0Ov0zGo3+EQLMcKp9V89ny3t7lW3wgzxVvFd8VeQVfQvMcGh4TPh+gX2cR4rnCofinQVmOLQ7v/N/0NkPdZCIgQoAAAAASUVORK5CYII=u;70;Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png810;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe9JREFUOE9dk7vL0mEUx98Xaqk5aCgaWltsrLamtv4HRft5Q8Ur4v0+NLpLCIFQe4M4a4u/FBcXpwJpaZHoTU7nc/AJfR/4wuF7Ob9zHh+vROTqDNfj8fhBJpN573meHwwGj4AaDg3PeeY8fKfZbL5V849QKCThcPgCcGh48N5ucLfdbr/DFIlEJBqNSjwel0QiYaCGQ8ODl4xrcD2bzZ5p99+Yksmk6LiSy+WkUCgYqOHQ8OAlQ5YG97vd7sdYLCbpdFqy2axwVquV1Ot1w3q9Ng4ND14yZGnwpFQqfUcoFouG7XZrgeVyaeDAOR0vGbI0eJ5KpY6MWq1WpVKp2Mi+71uQQw2HhgevTvNHpQANXmrXm3K5LHrDXJA0Gg1bwR1qODQ8ePP5/I1KL6zBYDD4RWcMupvsdjsLLhYLAwcODQ9eMq5BYDKZfKvVatLpdOwLHHZnV+DuAQ0PXjJk7RL3+31fOx8RGZV9uXG+BKjh0PDgJUPWfkbFm/l8/pXx3BStVkt6vZ6B2n0dD14yZO0hKR4pvM1m4w+Hw2O/32fHC8Ch6ZtgdO+UsYdkT1nxVBE8HA6fptPpz9Fo9JcQoIZT7bN6Qifv/6fswB/koeK1oqT4oPhyAjUcGh4L327g1rmneKwIKF6dQA2HdvF3/gckQc2QEBVViQAAAABJRU5ErkJggg==u;66;Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png1034;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApdJREFUeNp0Ul1LVFEU3efeuV/jOMM4Ew5qJgzlRAmOIxKTEP6A/oDRa0+B8ywiKCI++KD0C3zxByT0ZA+BYYw2DmKkWUaWY4JFaOrMvd572uvgiBQdWNxz91lr73X2PmJsbIzqa3R0VJSHh9s3pBz2qtUHvufdRFw3jG3Dtl/dFWKye3Jyd3x8XNY12hVxaGFk5HG5Wl09//37iR4EnaauawD2iOEMHHAvEwghIDaeT0wUDo+P55icNE2TLMsi27YVsEcMZ+CACw20QkopNufnc29KpdemlKZhGARomqaAFQSBgud5Cq4Q7r2envuZwcG3sBLeqlRGLCLT4mqqEn9v5HLU2tVFJCXtrq/T11KJQrUa6bpOolYzockQPUKCpHd6mq9bRvXrfX2UGRi4bG5XKkWCv/ucpO4KGmjxl5Cum0BlAISObJb+Xu3d3eqszhOeF+dwExw4lmlKIxRS1XFH2PzfAsf3ffJJmXKUHyceP1N3466iyuby8j/Cjysr6hwAN9zUdIY4HJzGW1q+He3sZCAOsZPPxSJ5rkvp3l7uoaRt/v++sUGxcPhyOlHWsPYMCX525nIvipXKLZ6VhgSN3My91VX6tLSkqjuOQ42RiEqOcUrbDqCBFlc4bOzoWORq6wH/wCImEovFKJlMKkSjURXDGTjgQgOteki8aWU8PCiXn35ZW8v4JyfqhV5duIre0BDwNLZS2ewzDi0w9vQIW8vn82jIYSSV2r/W1kbnmtbMVi23WhWSEzmJRBBPp3919vcvxtLpOea+ZFSmp6d9MTU1pewVCgX1qBh3GH2M24zmCwMHjPeMIuMd48fMzIxX45cZwkxd7vjs7Oz50NAQiEeMDxfJGi4SnMAhhOg8cyU00P4RYAAZ2RK8jm+p0AAAAABJRU5ErkJggg==u;77;Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png1026;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApNJREFUeNpkUt9LU2EY/s7ZOcfNjUltYBmlGPkrNSOL0mCbE+xiXepNBBM0hY3RdXTdH2Db1aDhH9BVGPljwsQIyqWE1cy70FKsyGE7bDs7p/f53CeWBx7OOe95nud9v+e8UjgcZuJKpVLScix24U0+/6ik6z6jXL6EuqKqm5rDkbnldj+5PTX1dXR01BIa+ZhYeTYxcT+zu7tS3N9/IBlGqypJMoBn1PANHHD/MaCCmozFHm7t7U0T2auqKlMUheF+/BnfwAEXGmgly7KklWTy2qt0+rVqmprNZmMCkiTxLsRhlUrlCGVZLt0JBvt7x8ezGKU2u7HxWLMsTal2s9ntrCsQYO19fcw0Tba+vMw+ZTLMVioxwzAwiQZNL2P3YODV8/k+CDVN4wZdg4Osf3j4KNz6piZ+3yQTWT6MDRpo8eYxCgWPOC/G7hkYYP9fPX4/FwueVSyeovJpGDiosyXOzX+bopwwEHkIHpmh4ODz1Ho8erXIie9mZ08YvF9cPPxtxAHX6fXqvBmhcLa5eWt7ba1NdMiSQalcZld8Ph7iKolzFKSTMhLTQIMoYPDrZjD48nku10IRy+hQS2dcn5tjqzMzXIBwHfRnYA5DZreb0ECLI/zwtLQsXB8a+mCSswjK5XIxt9vN4XQ6uQk6gwMuNNDyRaKHc4S7m0tL0ez8fButrSxCExeWqaauzrwaDG60+v1PqfSCsG3b2dlhoVBI55M0Nn6/2NHBiqZZb1QqNfrBgWSRUV1Dg3m+u/t3YGRk4Uxn5zRx04Rvk5OTFWlsbIyPl0gk+FIRLhNuENqxQ9UBdgmfCW8JHwk/I5FIuUSbqSAUrGc0GjXi8TiIecKXqpmzavAHE0KI5IlrQQPtXwEGAI4lFJG9vogeAAAAAElFTkSuQmCCu;62;Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png974;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmtJREFUeNp0UzuLmkEUne/zrati4ou1V4JrBAkpbARJsRYhvY1FmqSTsEUgKGhlYb9VBGH/QSBKMGLaECxiJJjOIuLqJoFofD9yzsRPtsnAYYY795y5586MUigUhDby+bxSr9fdvV7v5XK5fLRer88YNxgMX0wmUyMUCpXOz89visXiXuOot8j6SqXypNPpfJ7P5y8Qum80GlWCa8a4xxzmajwFaiKXyxmq1erT4XB4qdPphF6vF5wVRZFJ+/1ebLdbsdls5Oz3+59nMpnX2F8r2FTa7Xa42Wx+AtGEEwVBciqVkgK1Wk2KrFYrCQgtk8nkg1gs1mV51m63+wo+TRaLRdhsNgmKnJ6eSnCtxZnDXHLIpRf3YrFImM1mYbVaBWckiNlsdmwu7ZBIa6r6r23kkEuBu/DlOyiLRCIhvF6vuD3S6bScR6ORgFV5CG7JjdAdClgQ2LHb9E2P/xvcYw4t7XY7dtgir8PhcMxQhYPrRqMhJpMJTxAXFxeSWC6XBd6BsNvtsg+04XQ6pUcKzHw+Xx9XGKEybTBxOp0eT/Z4POLk5ET2gmAl5GBrToGfkUjk7Xg8DkNZ1a6Qo9/vy5lkivIq+RYgsiOHXLb0BhY+INCGr+Op7Hir1ZLgWhvMYS455MqHhEUAeDwYDJ7hH5yhRJWn4S+Iw1/QmrcLBoPdQCBwifAb4LuO5cXj8TnVUOY1NrcgewETylXpGQ3b4vn+ikaj71wu1xVy3wMDiG6VUqkkO5zNZuWjAsLAQ+Ae4DtUfg18BT4CXeAH/4G0ys9xuN8NTmXib+DbQcx2EPjDCklk55F7/M5/BRgAk6YORNXAcuoAAAAASUVORK5CYII=u;73;Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png986;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAnRJREFUeNpcU79rWlEYvc/fGiJaTVPTJYqLPKcQHGuGZtPVxcFIHcx/UJB0qAr9B0SX6tIsri0daouhS0BCpqrgEOzQxkDaQsUnjT7tORefpL1wvNf7fed83z33PuXo6EgYo9FoKKenp/7Ly8vn0+n06d3dXZT7Npvti9Pp/Li3t/cqnU7fZrPZpcFRDAGQLcViMXF9fV2dzWaPTCaTuD8Wi4WwWq2jQCBwfHJy8g4i87UAyNZyufxsOBxWzWazICigKIokL5dLKaDrusTu7u5xoVB4jfhMQVA5OztTm83mBTbsFotFECTn83kpUKvVpMh8PpfA+k8qldo/ODjosk/X+fl5ARXtGMLhcAicl+2KcDgswTX3GGMOc8kh14If/3g8jsMoGeTMI8DA9fn539g3vCGHXAr44Pg2yWw9k8mIUCj0j4GlUknOV1dX9EseB0b7sfWAAk60toC6lL5f+f9hxFiI3pFLAeH1erXJZOLmul6vC3TECtI8Dppp+EBwuN1ujTOrasFg8CtdZ9Lm5qbw+XzC4/GsK3PNPcaYw1xyEJqyg5+4jveDwUBFwESjjPvv9Xpypvsul0uene8AIgtyyOU72MDiSafTedlqtfaNN8DzwmkpwMq8BeMtHB4eXsRisRcIfVZWZjwGkv1+P99ut6MgmoxqxjVSFEKLeDzeVVW1iu23wDfzaDQSiURiij+3W1tbN9FoVMezfQjYNU0z8d7x/vVIJPIrmUx+2NnZeYPcT8B3iOpKLpeT7VUqFfmoABWIARFge+XjDdAHOkAX+MHvQF4pPxKeCxtztM3E38BgJbaxEpiwQxLpPHLXn/NfAQYAVxYSIuMwPrYAAAAASUVORK5CYII=u;62;Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png906;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjdJREFUeNqEUzuLGlEYvTM+xvcj0ShYWkhYjSAhhRYBSWGXP5FeSRUICFpZWOgfGBDSpwuyGCFgFRaLNUMwXZrg4iYBIb5nzDk3juwuC7lwQL/vnPM97h2l0WgI+9TrdaXf78em0+mbzWbzYrfbZRl3uVxfNE0bZDKZVqVSuW42mwdbo94QO3VdfzmZTC5Xq9VrhJ643W6V4G/GmCOH3JOBoigUu3q93qv5fP4e/5Mej0d4vd5bYIw5csilhlrlcDgo4/H4bDgcXjidTg0VBeFwOISq/mvQsixhmqbYbrcS+/1+Uy6XnxYKBYMMn2EYbzGnxkp+v18iEAjcgh0nh1xqqOUssfV6/Zwt+nw+2SoI93aADk8xaqilwUMkE/acJJVKJRGPx8XNg9nFaDSSHBrilmIIP6CBF0HruPHTrHcPY9iX3A92QBOFWnkdoVBoCWHIbm8wGIjFYiHNeDgOOCISicgR2GU4HF4yR4NlIpH4PpvNcnaSRC6OFXl4XYyzOtsnjxqkVjT4lcvlPmDGM74LJrmP+w4NaYCOLGqoZc/XaO8TAmMm/3fIIZcaauUIwCSdTuuo7MZ3kMXC5Au9Wx0jWNls1kilUjo11Do4a7FYXNEtGAxeIWmC/AiVNFyVelyymUwmf+fz+fNoNPoOoY/Aj3a7bSqtVkvgSxO1Wk0+KoC7eAY8BhLHBq6Ar8BnwAB+djqdHQoIp33v3W53X61WSVwA345m/qPBH3ZIITcP7oEaav8KMADyzRBm/XofAgAAAABJRU5ErkJggg==u;73;Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png934;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAk1JREFUeNqEUj2LGlEUfTOOjhoVTDQrdpai2UKCrRax09YiIihYGPQHBFKKkB+gpNPCbGOzTUgREjSFCCHYJEMghRKL6MImAT9Gos6Yex4+GLbJg4POfefce+69TyqVSkycbrcrXV1dBSaTyfPdbvdkv9/HEXc4HF9dLtf7RCLxslAo3JbL5ZPQKBax0mg0sovF4tXhcAjJssxsNhu/MwzjcrVaXY5Go6fT6fQZcd9QkiPu5LPY3mw2K/P5/No0zRBVRFWmqiqH+MYdOOBCA610Op2k4XAY6/f7nyVJUhVFYQCqwwUOCeGCHY9HDtL8zefzj9PptAaGezwevyCyimpOp5NRvxz4f/cbHHChgRYzCKzX65SwjF9UB8gRd0AVuQOrK2igRYIHNPELq7hYLLJIJMKsZzabsV6vxzlISIMOUPg+ErjImklCGb2jX1ofu3sQgxAcuMHsoOVr9Pv9+na79Ql7nU6H6brOk/FVUdztdjOPx8PEen0+ny7egU52f2ia9gg9o4LX6+VDsx6xGbgADxoK71DyN63jrd1uN0U19ImKViAmHIILDbSI3AaDwY+ZTGaC7P874IALDbS8BcKXZDLZIeuOwWAQpxXJYoVWId2bqVRKi8ViHWigtS2XS5bNZndnJzfxeNyg4T2kSaubzYZ7DoVCRjQa/ZPL5d6Fw+HXFPpA+FmtVg2pUqnw/trtNn9UhBghSYgSLs4GbgjfCJ8IGuFXrVY7YLUKVoX3Xa/Xj61WC8QV4fs52b1zgi0cQojJE/cEDbT/BBgAoZsTVzzPeQgAAAAASUVORK5CYII=u;52;Resources/CPWindow/Standard/CPWindowStandardTop0.png274;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAApCAYAAAAWNlirAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAF1JREFUOI1jqa2tZQCB3NxceyBVBMTGQCzNAhLMycmp+P//fzsDEmABCoJUtjKgAZbv379P5uDgYMKQYGZm1kQXBEuAANB8TAlsgiND4t+/f6OW09/yISaBVZQsHQCsMHUPEsgdpgAAAABJRU5ErkJggg==u;52;Resources/CPWindow/Standard/CPWindowStandardTop1.png194;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAApCAIAAAB7iNSFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUCFtjevXqFdP///+ZGBgYUGhi8b9//8gWw4eR3AMAjT9unIbIdHUAAAAASUVORK5CYII=u;52;Resources/CPWindow/Standard/CPWindowStandardTop2.png274;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAApCAYAAAAWNlirAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAF5JREFUOI1jefXq1X8GBoanQHwWiPuA+CAQM7D8/w8SZ5CGYj8grgTiDhYGTNAKxEdgOpAB048fPyZj08HAzMysg00HAwsIYJNAdtXwlfj379+o5fS3fIhJYBUlSwcAax55fnDttN0AAAAASUVORK5CYII=e; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/CommonJS.environment/AppKit.sj b/simple-tableview delegate/Frameworks/AppKit/CommonJS.environment/AppKit.sj new file mode 100644 index 0000000..2188954 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/CommonJS.environment/AppKit.sj @@ -0,0 +1,28868 @@ +@STATIC;1.0;p;15;_CPCornerView.jt;1245;@STATIC;1.0;i;8;CPView.jt;1214; +objj_executeFile("CPView.j",YES); +var _1=objj_allocateClassPair(CPView,"_CPCornerView"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("_init"),function(_3,_4){ +with(_3){ +objj_msgSend(_3,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview.png",CGSizeMake(1,23)))); +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_5,_6,_7){ +with(_5){ +if(_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("_CPCornerView").super_class},"initWithFrame:",_7)){ +objj_msgSend(_5,"_init"); +} +return _5; +} +}),new objj_method(sel_getUid("drawRect:"),function(_8,_9,_a){ +with(_8){ +var _b=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetStrokeColor(_b,objj_msgSend(CPColor,"colorWithHexString:","dce0e2")); +var _c=[CGPointMake(_a.origin.x,_a.origin.y+0.5),CGPointMake(_a.origin.x,_a.origin.y+_a.size.height)]; +CGContextStrokeLineSegments(_b,_c,2); +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_d,_e,_f){ +with(_d){ +_d=objj_msgSendSuper({receiver:_d,super_class:objj_getClass("_CPCornerView").super_class},"initWithCoder:",_f); +objj_msgSend(_d,"_init"); +return _d; +} +})]); +p;18;_CPDisplayServer.jt;1144;@STATIC;1.0;t;1125; +var _1=[],_2={},_3=[],_4={},_5=objj_msgSend(CPRunLoop,"mainRunLoop"); +_CPDisplayServerAddDisplayObject=function(_6){ +var _7=objj_msgSend(_6,"UID"); +if(typeof _2[_7]!=="undefined"){ +return; +} +var _8=_1.length; +_2[_7]=_8; +_1[_8]=_6; +}; +_CPDisplayServerAddLayoutObject=function(_9){ +var _a=objj_msgSend(_9,"UID"); +if(typeof _4[_a]!=="undefined"){ +return; +} +var _b=_3.length; +_4[_a]=_b; +_3[_b]=_9; +}; +var _c=objj_allocateClassPair(CPObject,"_CPDisplayServer"),_d=_c.isa; +objj_registerClassPair(_c); +class_addMethods(_d,[new objj_method(sel_getUid("run"),function(_e,_f){ +with(_e){ +while(_3.length||_1.length){ +var _10=0; +for(;_10<_3.length;++_10){ +var _11=_3[_10]; +delete _4[objj_msgSend(_11,"UID")]; +objj_msgSend(_11,"layoutIfNeeded"); +} +_3=[]; +_4={}; +_10=0; +for(;_10<_1.length;++_10){ +if(_3.length){ +break; +} +var _11=_1[_10]; +delete _2[objj_msgSend(_11,"UID")]; +objj_msgSend(_11,"displayIfNeeded"); +} +if(_10===_1.length){ +_1=[]; +_2={}; +}else{ +_1.splice(0,_10); +} +} +objj_msgSend(_5,"performSelector:target:argument:order:modes:",sel_getUid("run"),_e,nil,0,[CPDefaultRunLoopMode]); +} +})]); +objj_msgSend(_CPDisplayServer,"run"); +p;21;_CPImageAndTextView.jt;6643;@STATIC;1.0;I;21;Foundation/CPString.ji;9;CPColor.ji;8;CPFont.ji;9;CPImage.ji;8;CPView.ji;11;CPControl.jt;6532; +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPColor.j",YES); +objj_executeFile("CPFont.j",YES); +objj_executeFile("CPImage.j",YES); +objj_executeFile("CPView.j",YES); +objj_executeFile("CPControl.j",YES); +var _1=1<<0,_2=1<<1,_3=1<<2,_4=1<<3,_5=1<<4,_6=1<<5,_7=1<<6,_8=1<<7,_9=1<<8,_a=1<<9,_b=1<<10; +var _c=3,_d=5; +var _e=objj_allocateClassPair(CPView,"_CPImageAndTextView"),_f=_e.isa; +class_addIvars(_e,[new objj_ivar("_alignment"),new objj_ivar("_verticalAlignment"),new objj_ivar("_lineBreakMode"),new objj_ivar("_textColor"),new objj_ivar("_font"),new objj_ivar("_textShadowColor"),new objj_ivar("_textShadowOffset"),new objj_ivar("_imagePosition"),new objj_ivar("_imageScaling"),new objj_ivar("_image"),new objj_ivar("_text"),new objj_ivar("_textSize"),new objj_ivar("_flags")]); +objj_registerClassPair(_e); +class_addMethods(_e,[new objj_method(sel_getUid("initWithFrame:control:"),function(_10,_11,_12,_13){ +with(_10){ +_10=objj_msgSendSuper({receiver:_10,super_class:objj_getClass("_CPImageAndTextView").super_class},"initWithFrame:",_12); +if(_10){ +_textShadowOffset={width:0,height:0}; +objj_msgSend(_10,"setVerticalAlignment:",CPTopVerticalTextAlignment); +if(_13){ +objj_msgSend(_10,"setLineBreakMode:",objj_msgSend(_13,"lineBreakMode")); +objj_msgSend(_10,"setTextColor:",objj_msgSend(_13,"textColor")); +objj_msgSend(_10,"setAlignment:",objj_msgSend(_13,"alignment")); +objj_msgSend(_10,"setVerticalAlignment:",objj_msgSend(_13,"verticalAlignment")); +objj_msgSend(_10,"setFont:",objj_msgSend(_13,"font")); +objj_msgSend(_10,"setImagePosition:",objj_msgSend(_13,"imagePosition")); +objj_msgSend(_10,"setImageScaling:",objj_msgSend(_13,"imageScaling")); +}else{ +objj_msgSend(_10,"setLineBreakMode:",CPLineBreakByClipping); +objj_msgSend(_10,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_10,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",12)); +objj_msgSend(_10,"setImagePosition:",CPNoImage); +objj_msgSend(_10,"setImageScaling:",CPScaleNone); +} +_textSize=NULL; +} +return _10; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_14,_15,_16){ +with(_14){ +return objj_msgSend(_14,"initWithFrame:control:",_16,nil); +} +}),new objj_method(sel_getUid("setAlignment:"),function(_17,_18,_19){ +with(_17){ +if(_alignment===_19){ +return; +} +_alignment=_19; +} +}),new objj_method(sel_getUid("alignment"),function(_1a,_1b){ +with(_1a){ +return _alignment; +} +}),new objj_method(sel_getUid("setVerticalAlignment:"),function(_1c,_1d,_1e){ +with(_1c){ +if(_verticalAlignment===_1e){ +return; +} +_verticalAlignment=_1e; +_flags|=_5; +objj_msgSend(_1c,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("verticalAlignment"),function(_1f,_20){ +with(_1f){ +return _verticalAlignment; +} +}),new objj_method(sel_getUid("setLineBreakMode:"),function(_21,_22,_23){ +with(_21){ +if(_lineBreakMode===_23){ +return; +} +_lineBreakMode=_23; +_flags|=_6; +objj_msgSend(_21,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("lineBreakMode"),function(_24,_25){ +with(_24){ +return _lineBreakMode; +} +}),new objj_method(sel_getUid("setImagePosition:"),function(_26,_27,_28){ +with(_26){ +if(_imagePosition==_28){ +return; +} +_imagePosition=_28; +_flags|=_a; +objj_msgSend(_26,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("imagePosition"),function(_29,_2a){ +with(_29){ +return _imagePosition; +} +}),new objj_method(sel_getUid("setImageScaling:"),function(_2b,_2c,_2d){ +with(_2b){ +if(_imageScaling==_2d){ +return; +} +_imageScaling=_2d; +_flags|=_b; +objj_msgSend(_2b,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("imageScaling"),function(_2e,_2f){ +with(_2e){ +return _imageScaling; +} +}),new objj_method(sel_getUid("setTextColor:"),function(_30,_31,_32){ +with(_30){ +if(_textColor===_32){ +return; +} +_textColor=_32; +} +}),new objj_method(sel_getUid("textColor"),function(_33,_34){ +with(_33){ +return _textColor; +} +}),new objj_method(sel_getUid("setFont:"),function(_35,_36,_37){ +with(_35){ +if(_font===_37){ +return; +} +_font=_37; +_flags|=_8; +_textSize=NULL; +objj_msgSend(_35,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("font"),function(_38,_39){ +with(_38){ +return _font; +} +}),new objj_method(sel_getUid("setTextShadowColor:"),function(_3a,_3b,_3c){ +with(_3a){ +if(_textShadowColor===_3c){ +return; +} +_textShadowColor=_3c; +_flags|=_9; +objj_msgSend(_3a,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("textShadowColor"),function(_3d,_3e){ +with(_3d){ +return _textShadowColor; +} +}),new objj_method(sel_getUid("setTextShadowOffset:"),function(_3f,_40,_41){ +with(_3f){ +if((_textShadowOffset.width==_41.width&&_textShadowOffset.height==_41.height)){ +return; +} +_textShadowOffset={width:_41.width,height:_41.height}; +objj_msgSend(_3f,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("textShadowOffset"),function(_42,_43){ +with(_42){ +return _textShadowOffset; +} +}),new objj_method(sel_getUid("setImage:"),function(_44,_45,_46){ +with(_44){ +if(_image==_46){ +return; +} +if(objj_msgSend(_image,"delegate")===_44){ +objj_msgSend(_image,"setDelegate:",nil); +} +_image=_46; +_flags|=_2; +if(objj_msgSend(_image,"loadStatus")!==CPImageLoadStatusCompleted){ +objj_msgSend(_image,"setDelegate:",_44); +} +objj_msgSend(_44,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("imageDidLoad:"),function(_47,_48,_49){ +with(_47){ +if(_49===_image){ +_flags|=_2; +objj_msgSend(_47,"setNeedsLayout"); +} +} +}),new objj_method(sel_getUid("image"),function(_4a,_4b){ +with(_4a){ +return _image; +} +}),new objj_method(sel_getUid("setText:"),function(_4c,_4d,_4e){ +with(_4c){ +if(_text===_4e){ +return; +} +_text=_4e; +_flags|=_3; +_textSize=NULL; +objj_msgSend(_4c,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("text"),function(_4f,_50){ +with(_4f){ +return _text; +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_51,_52){ +with(_51){ +_flags=0; +} +}),new objj_method(sel_getUid("sizeToFit"),function(_53,_54){ +with(_53){ +var _55=CGSizeMakeZero(); +if((_imagePosition!==CPNoImage)&&_image){ +var _56=objj_msgSend(_image,"size"); +_55.width+=_56.width; +_55.height+=_56.height; +} +if((_imagePosition!==CPImageOnly)&&objj_msgSend(_text,"length")>0){ +if(!_textSize){ +_textSize=objj_msgSend(_text,"sizeWithFont:",_font?_font:objj_msgSend(CPFont,"systemFontOfSize:",12)); +} +if(_imagePosition===CPImageLeft||_imagePosition===CPImageRight){ +_55.width+=_textSize.width+_c; +_55.height=MAX(_55.height,_textSize.height); +}else{ +if(_imagePosition===CPImageAbove||_imagePosition===CPImageBelow){ +_55.width=MAX(_55.width,_textSize.width); +_55.height+=_textSize.height+_d; +}else{ +_55.width=MAX(_55.width,_textSize.width); +_55.height=MAX(_55.height,_textSize.height); +} +} +} +objj_msgSend(_53,"setFrameSize:",_55); +} +})]); +p;29;_CPToolbarFlexibleSpaceItem.jt;794;@STATIC;1.0;i;15;CPToolbarItem.jt;756; +objj_executeFile("CPToolbarItem.j",YES); +var _1=objj_allocateClassPair(CPToolbarItem,"_CPToolbarFlexibleSpaceItem"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithItemIdentifier:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPToolbarFlexibleSpaceItem").super_class},"initWithItemIdentifier:",CPToolbarFlexibleSpaceItemIdentifier); +if(_3){ +objj_msgSend(_3,"setMinSize:",CGSizeMake(32,32)); +objj_msgSend(_3,"setMaxSize:",CGSizeMake(10000,32)); +} +return _3; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_6,_7,_8){ +with(_6){ +return objj_msgSend(_6,"init"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_9,_a,_b){ +with(_9){ +} +})]); +p;25;_CPToolbarSeparatorItem.jt;780;@STATIC;1.0;i;15;CPToolbarItem.jt;742; +objj_executeFile("CPToolbarItem.j",YES); +var _1=objj_allocateClassPair(CPToolbarItem,"_CPToolbarSeparatorItem"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithItemIdentifier:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPToolbarSeparatorItem").super_class},"initWithItemIdentifier:",CPToolbarSeparatorItemIdentifier); +if(_3){ +objj_msgSend(_3,"setMinSize:",CGSizeMake(2,0)); +objj_msgSend(_3,"setMaxSize:",CGSizeMake(2,100000)); +} +return _3; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_6,_7,_8){ +with(_6){ +return objj_msgSend(_6,"init"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_9,_a,_b){ +with(_9){ +} +})]); +p;26;_CPToolbarShowColorsItem.jt;1230;@STATIC;1.0;i;15;CPToolbarItem.jt;1191; +objj_executeFile("CPToolbarItem.j",YES); +var _1=objj_allocateClassPair(CPToolbarItem,"_CPToolbarShowColorsItem"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithItemIdentifier:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPToolbarShowColorsItem").super_class},"initWithItemIdentifier:",CPToolbarShowColorsItemIdentifier); +if(_3){ +objj_msgSend(_3,"setMinSize:",CGSizeMake(32,32)); +objj_msgSend(_3,"setMaxSize:",CGSizeMake(32,32)); +objj_msgSend(_3,"setLabel:","Colors"); +objj_msgSend(_3,"setPaletteLabel:","Show Colors"); +objj_msgSend(_3,"setTarget:",CPApp); +objj_msgSend(_3,"setAction:",sel_getUid("orderFrontColorPanel:")); +objj_msgSend(_3,"setImage:",objj_msgSend(CPImage,"imageNamed:",CPImageNameColorPanel)); +objj_msgSend(_3,"setAlternateImage:",objj_msgSend(CPImage,"imageNamed:",CPImageNameColorPanelHighlighted)); +objj_msgSend(_3,"setToolTip:","Show the Colors panel."); +} +return _3; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_6,_7,_8){ +with(_6){ +return objj_msgSend(_6,"init"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_9,_a,_b){ +with(_9){ +} +})]); +p;21;_CPToolbarSpaceItem.jt;767;@STATIC;1.0;i;15;CPToolbarItem.jt;729; +objj_executeFile("CPToolbarItem.j",YES); +var _1=objj_allocateClassPair(CPToolbarItem,"_CPToolbarSpaceItem"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithItemIdentifier:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPToolbarSpaceItem").super_class},"initWithItemIdentifier:",CPToolbarSpaceItemIdentifier); +if(_3){ +objj_msgSend(_3,"setMinSize:",CGSizeMake(32,32)); +objj_msgSend(_3,"setMaxSize:",CGSizeMake(32,32)); +} +return _3; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_6,_7,_8){ +with(_6){ +return objj_msgSend(_6,"init"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_9,_a,_b){ +with(_9){ +} +})]); +p;8;AppKit.jt;3749;@STATIC;1.0;i;9;CALayer.ji;9;CPAlert.ji;13;CPAnimation.ji;15;CPApplication.ji;14;CPBezierPath.ji;7;CPBox.ji;10;CPButton.ji;13;CPButtonBar.ji;12;CPCheckBox.ji;7;CPCib.ji;16;CPCibConnector.ji;23;CPCibControlConnector.ji;14;CPCibLoading.ji;22;CPCibOutletConnector.ji;12;CPClipView.ji;22;CPCollectionViewItem.ji;18;CPCollectionView.ji;9;CPColor.ji;14;CPColorPanel.ji;13;CPColorWell.ji;17;CPCompatibility.ji;11;CPControl.ji;10;CPCookie.ji;10;CPCursor.ji;12;CPDocument.ji;22;CPDocumentController.ji;9;CPEvent.ji;14;CPFlashMovie.ji;13;CPFlashView.ji;8;CPFont.ji;15;CPFontManager.ji;12;CPGeometry.ji;9;CPImage.ji;13;CPImageView.ji;8;CPMenu.ji;12;CPMenuItem.ji;13;CPOpenPanel.ji;15;CPOutlineView.ji;9;CPPanel.ji;14;CPPasteboard.ji;15;CPPopUpButton.ji;21;CPProgressIndicator.ji;9;CPRadio.ji;13;CPResponder.ji;15;CPSearchField.ji;14;CPScrollView.ji;12;CPScroller.ji;19;CPSecureTextField.ji;20;CPSegmentedControl.ji;10;CPShadow.ji;10;CPSlider.ji;13;CPSplitView.ji;11;CPTabView.ji;15;CPTableColumn.ji;13;CPTableView.ji;13;CPTextField.ji;11;CPToolbar.ji;15;CPToolbarItem.ji;12;CPTreeNode.ji;8;CPView.ji;17;CPViewAnimation.ji;18;CPViewController.ji;11;CPWebView.ji;10;CPWindow.ji;20;CPWindowController.jt;2554; +objj_executeFile("CALayer.j",YES); +objj_executeFile("CPAlert.j",YES); +objj_executeFile("CPAnimation.j",YES); +objj_executeFile("CPApplication.j",YES); +objj_executeFile("CPBezierPath.j",YES); +objj_executeFile("CPBox.j",YES); +objj_executeFile("CPButton.j",YES); +objj_executeFile("CPButtonBar.j",YES); +objj_executeFile("CPCheckBox.j",YES); +objj_executeFile("CPCib.j",YES); +objj_executeFile("CPCibConnector.j",YES); +objj_executeFile("CPCibControlConnector.j",YES); +objj_executeFile("CPCibLoading.j",YES); +objj_executeFile("CPCibOutletConnector.j",YES); +objj_executeFile("CPClipView.j",YES); +objj_executeFile("CPCollectionViewItem.j",YES); +objj_executeFile("CPCollectionView.j",YES); +objj_executeFile("CPColor.j",YES); +objj_executeFile("CPColorPanel.j",YES); +objj_executeFile("CPColorWell.j",YES); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("CPControl.j",YES); +objj_executeFile("CPCookie.j",YES); +objj_executeFile("CPCursor.j",YES); +objj_executeFile("CPDocument.j",YES); +objj_executeFile("CPDocumentController.j",YES); +objj_executeFile("CPEvent.j",YES); +objj_executeFile("CPFlashMovie.j",YES); +objj_executeFile("CPFlashView.j",YES); +objj_executeFile("CPFont.j",YES); +objj_executeFile("CPFontManager.j",YES); +objj_executeFile("CPGeometry.j",YES); +objj_executeFile("CPImage.j",YES); +objj_executeFile("CPImageView.j",YES); +objj_executeFile("CPMenu.j",YES); +objj_executeFile("CPMenuItem.j",YES); +objj_executeFile("CPOpenPanel.j",YES); +objj_executeFile("CPOutlineView.j",YES); +objj_executeFile("CPPanel.j",YES); +objj_executeFile("CPPasteboard.j",YES); +objj_executeFile("CPPopUpButton.j",YES); +objj_executeFile("CPProgressIndicator.j",YES); +objj_executeFile("CPRadio.j",YES); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPSearchField.j",YES); +objj_executeFile("CPScrollView.j",YES); +objj_executeFile("CPScroller.j",YES); +objj_executeFile("CPSecureTextField.j",YES); +objj_executeFile("CPSegmentedControl.j",YES); +objj_executeFile("CPShadow.j",YES); +objj_executeFile("CPSlider.j",YES); +objj_executeFile("CPSplitView.j",YES); +objj_executeFile("CPTabView.j",YES); +objj_executeFile("CPTableColumn.j",YES); +objj_executeFile("CPTableView.j",YES); +objj_executeFile("CPTextField.j",YES); +objj_executeFile("CPToolbar.j",YES); +objj_executeFile("CPToolbarItem.j",YES); +objj_executeFile("CPTreeNode.j",YES); +objj_executeFile("CPView.j",YES); +objj_executeFile("CPViewAnimation.j",YES); +objj_executeFile("CPViewController.j",YES); +objj_executeFile("CPWebView.j",YES); +objj_executeFile("CPWindow.j",YES); +objj_executeFile("CPWindowController.j",YES); +p;17;CPAccordionView.jt;10946;@STATIC;1.0;I;20;Foundation/CPArray.jI;21;Foundation/CPObject.jI;32;Foundation/CPKeyValueObserving.jI;23;Foundation/CPIndexSet.jI;21;Foundation/CPString.jI;15;AppKit/CPView.jt;10764; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPKeyValueObserving.j",NO); +objj_executeFile("Foundation/CPIndexSet.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("AppKit/CPView.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPAccordionViewItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_identifier"),new objj_ivar("_view"),new objj_ivar("_label")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("identifier"),function(_3,_4){ +with(_3){ +return _identifier; +} +}),new objj_method(sel_getUid("setIdentifier:"),function(_5,_6,_7){ +with(_5){ +_identifier=_7; +} +}),new objj_method(sel_getUid("view"),function(_8,_9){ +with(_8){ +return _view; +} +}),new objj_method(sel_getUid("setView:"),function(_a,_b,_c){ +with(_a){ +_view=_c; +} +}),new objj_method(sel_getUid("label"),function(_d,_e){ +with(_d){ +return _label; +} +}),new objj_method(sel_getUid("setLabel:"),function(_f,_10,_11){ +with(_f){ +_label=_11; +} +}),new objj_method(sel_getUid("init"),function(_12,_13){ +with(_12){ +return objj_msgSend(_12,"initWithIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithIdentifier:"),function(_14,_15,_16){ +with(_14){ +_14=objj_msgSendSuper({receiver:_14,super_class:objj_getClass("CPAccordionViewItem").super_class},"init"); +if(_14){ +objj_msgSend(_14,"setIdentifier:",_16); +} +return _14; +} +})]); +var _1=objj_allocateClassPair(CPView,"CPAccordionView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_dirtyItemIndex"),new objj_ivar("_itemHeaderPrototype"),new objj_ivar("_items"),new objj_ivar("_itemViews"),new objj_ivar("_expandedItemIndexes")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_17,_18,_19){ +with(_17){ +_17=objj_msgSendSuper({receiver:_17,super_class:objj_getClass("CPAccordionView").super_class},"initWithFrame:",_19); +if(_17){ +_items=[]; +_itemViews=[]; +_expandedItemIndexes=objj_msgSend(CPIndexSet,"indexSet"); +objj_msgSend(_17,"setItemHeaderPrototype:",objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:100,height:24}})); +} +return _17; +} +}),new objj_method(sel_getUid("setItemHeaderPrototype:"),function(_1a,_1b,_1c){ +with(_1a){ +_itemHeaderPrototype=_1c; +} +}),new objj_method(sel_getUid("itemHeaderPrototype"),function(_1d,_1e){ +with(_1d){ +return _itemHeaderPrototype; +} +}),new objj_method(sel_getUid("items"),function(_1f,_20){ +with(_1f){ +return _items; +} +}),new objj_method(sel_getUid("addItem:"),function(_21,_22,_23){ +with(_21){ +objj_msgSend(_21,"insertItem:atIndex:",_23,_items.length); +} +}),new objj_method(sel_getUid("insertItem:atIndex:"),function(_24,_25,_26,_27){ +with(_24){ +objj_msgSend(_expandedItemIndexes,"addIndex:",_27); +var _28=objj_msgSend(objj_msgSend(_CPAccordionItemView,"alloc"),"initWithAccordionView:",_24); +objj_msgSend(_28,"setIndex:",_27); +objj_msgSend(_28,"setLabel:",objj_msgSend(_26,"label")); +objj_msgSend(_28,"setContentView:",objj_msgSend(_26,"view")); +objj_msgSend(_24,"addSubview:",_28); +objj_msgSend(_items,"insertObject:atIndex:",_26,_27); +objj_msgSend(_itemViews,"insertObject:atIndex:",_28,_27); +objj_msgSend(_24,"_invalidateItemsStartingAtIndex:",_27); +objj_msgSend(_24,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("removeItem:"),function(_29,_2a,_2b){ +with(_29){ +objj_msgSend(_29,"removeItemAtIndex:",objj_msgSend(_items,"indexOfObjectIdenticalTo:",_2b)); +} +}),new objj_method(sel_getUid("removeItemAtIndex:"),function(_2c,_2d,_2e){ +with(_2c){ +objj_msgSend(_expandedItemIndexes,"removeIndex:",_2e); +objj_msgSend(_itemViews[_2e],"removeFromSuperview"); +objj_msgSend(_items,"removeObjectAtIndex:",_2e); +objj_msgSend(_itemViews,"removeObjectAtIndex:",_2e); +objj_msgSend(_2c,"_invalidateItemsStartingAtIndex:",_2e); +objj_msgSend(_2c,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("removeAllItems"),function(_2f,_30){ +with(_2f){ +var _31=_items.length; +while(_31--){ +objj_msgSend(_2f,"removeItemAtIndex:",_31); +} +} +}),new objj_method(sel_getUid("expandItemAtIndex:"),function(_32,_33,_34){ +with(_32){ +if(!objj_msgSend(_itemViews[_34],"isCollapsed")){ +return; +} +objj_msgSend(_expandedItemIndexes,"addIndex:",_34); +objj_msgSend(_itemViews[_34],"setCollapsed:",NO); +objj_msgSend(_32,"_invalidateItemsStartingAtIndex:",_34); +} +}),new objj_method(sel_getUid("collapseItemAtIndex:"),function(_35,_36,_37){ +with(_35){ +if(objj_msgSend(_itemViews[_37],"isCollapsed")){ +return; +} +objj_msgSend(_expandedItemIndexes,"removeIndex:",_37); +objj_msgSend(_itemViews[_37],"setCollapsed:",YES); +objj_msgSend(_35,"_invalidateItemsStartingAtIndex:",_37); +} +}),new objj_method(sel_getUid("toggleItemAtIndex:"),function(_38,_39,_3a){ +with(_38){ +var _3b=_itemViews[_3a]; +if(objj_msgSend(_3b,"isCollapsed")){ +objj_msgSend(_38,"expandItemAtIndex:",_3a); +}else{ +objj_msgSend(_38,"collapseItemAtIndex:",_3a); +} +} +}),new objj_method(sel_getUid("expandedItemIndexes"),function(_3c,_3d){ +with(_3c){ +return _expandedItemIndexes; +} +}),new objj_method(sel_getUid("collapsedItemIndexes"),function(_3e,_3f){ +with(_3e){ +var _40=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(0,_items.length)); +objj_msgSend(_40,"removeIndexes:",_expandedIndexes); +return _40; +} +}),new objj_method(sel_getUid("setEnabled:forItemAtIndex:"),function(_41,_42,_43,_44){ +with(_41){ +var _45=_itemViews[_44]; +if(!_45){ +return; +} +if(!_43){ +objj_msgSend(_41,"collapseItemAtIndex:",_44); +}else{ +objj_msgSend(_41,"expandItemAtIndex:",_44); +} +objj_msgSend(_45,"setEnabled:",_43); +} +}),new objj_method(sel_getUid("_invalidateItemsStartingAtIndex:"),function(_46,_47,_48){ +with(_46){ +if(_dirtyItemIndex===CPNotFound){ +_dirtyItemIndex=_48; +} +_dirtyItemIndex=MIN(_dirtyItemIndex,_48); +objj_msgSend(_46,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_49,_4a,_4b){ +with(_49){ +var _4c=(objj_msgSend(_49,"frame").size.width); +objj_msgSendSuper({receiver:_49,super_class:objj_getClass("CPAccordionView").super_class},"setFrameSize:",_4b); +if(_4c!==(objj_msgSend(_49,"frame").size.width)){ +objj_msgSend(_49,"_invalidateItemsStartingAtIndex:",0); +} +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_4d,_4e){ +with(_4d){ +if(_items.length<=0){ +return objj_msgSend(_4d,"setFrameSize:",{width:(objj_msgSend(_4d,"frame").size.width),height:0}); +} +if(_dirtyItemIndex===CPNotFound){ +return; +} +_dirtyItemIndex=MIN(_dirtyItemIndex,_items.length-1); +var _4f=_dirtyItemIndex,_50=_itemViews.length,_51=(objj_msgSend(_4d,"bounds").size.width),y=_4f>0?CGRectGetMaxY(objj_msgSend(_itemViews[_4f-1],"frame")):0; +_dirtyItemIndex=CPNotFound; +for(;_4f<_50;++_4f){ +var _52=_itemViews[_4f]; +objj_msgSend(_52,"setFrameY:width:",y,_51); +y=CGRectGetMaxY(objj_msgSend(_52,"frame")); +} +objj_msgSend(_4d,"setFrameSize:",{width:(objj_msgSend(_4d,"frame").size.width),height:y}); +} +})]); +var _1=objj_allocateClassPair(CPView,"_CPAccordionItemView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_accordionView"),new objj_ivar("_isCollapsed"),new objj_ivar("_index"),new objj_ivar("_headerView"),new objj_ivar("_contentView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("isCollapsed"),function(_53,_54){ +with(_53){ +return _isCollapsed; +} +}),new objj_method(sel_getUid("setCollapsed:"),function(_55,_56,_57){ +with(_55){ +_isCollapsed=_57; +} +}),new objj_method(sel_getUid("index"),function(_58,_59){ +with(_58){ +return _index; +} +}),new objj_method(sel_getUid("setIndex:"),function(_5a,_5b,_5c){ +with(_5a){ +_index=_5c; +} +}),new objj_method(sel_getUid("initWithAccordionView:"),function(_5d,_5e,_5f){ +with(_5d){ +_5d=objj_msgSendSuper({receiver:_5d,super_class:objj_getClass("_CPAccordionItemView").super_class},"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +if(_5d){ +_accordionView=_5f; +_isCollapsed=NO; +var _60=objj_msgSend(_5d,"bounds"); +_headerView=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",objj_msgSend(_accordionView,"itemHeaderPrototype"))); +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setTarget:"))&&objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setAction:"))){ +objj_msgSend(_headerView,"setTarget:",_5d); +objj_msgSend(_headerView,"setAction:",sel_getUid("toggle:")); +} +objj_msgSend(_5d,"addSubview:",_headerView); +} +return _5d; +} +}),new objj_method(sel_getUid("toggle:"),function(_61,_62,_63){ +with(_61){ +objj_msgSend(_accordionView,"toggleItemAtIndex:",objj_msgSend(_61,"index")); +} +}),new objj_method(sel_getUid("setLabel:"),function(_64,_65,_66){ +with(_64){ +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setTitle:"))){ +objj_msgSend(_headerView,"setTitle:",_66); +}else{ +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setLabel:"))){ +objj_msgSend(_headerView,"setLabel:",_66); +}else{ +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setStringValue:"))){ +objj_msgSend(_headerView,"setStringValue:",_66); +} +} +} +} +}),new objj_method(sel_getUid("setEnabled:"),function(_67,_68,_69){ +with(_67){ +if(objj_msgSend(_headerView,"respondsToSelector:",sel_getUid("setEnabled:"))){ +objj_msgSend(_headerView,"setEnabled:",_69); +} +} +}),new objj_method(sel_getUid("setContentView:"),function(_6a,_6b,_6c){ +with(_6a){ +if(_contentView===_6c){ +return; +} +objj_msgSend(_contentView,"removeObserver:forKeyPath:",_6a,"frame"); +objj_msgSend(_contentView,"removeFromSuperview"); +_contentView=_6c; +objj_msgSend(_contentView,"addObserver:forKeyPath:options:context:",_6a,"frame",CPKeyValueObservingOptionOld|CPKeyValueObservingOptionNew,NULL); +objj_msgSend(_6a,"addSubview:",_contentView); +objj_msgSend(_accordionView,"_invalidateItemsStartingAtIndex:",objj_msgSend(_6a,"index")); +} +}),new objj_method(sel_getUid("setFrameY:width:"),function(_6d,_6e,aY,_6f){ +with(_6d){ +var _70=(objj_msgSend(_headerView,"frame").size.height); +objj_msgSend(_headerView,"setFrameSize:",{width:_6f,height:_70}); +objj_msgSend(_contentView,"setFrameOrigin:",{x:0,y:_70}); +if(objj_msgSend(_6d,"isCollapsed")){ +objj_msgSend(_6d,"setFrame:",{origin:{x:0,y:aY},size:{width:_6f,height:_70}}); +}else{ +var _71=(objj_msgSend(_contentView,"frame").size.height); +objj_msgSend(_contentView,"setFrameSize:",{width:_6f,height:_71}); +objj_msgSend(_6d,"setFrame:",{origin:{x:0,y:aY},size:{width:_6f,height:_71+_70}}); +} +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_72,_73,_74){ +with(_72){ +} +}),new objj_method(sel_getUid("observeValueForKeyPath:ofObject:change:context:"),function(_75,_76,_77,_78,_79,_7a){ +with(_75){ +if(_77==="frame"&&!CGRectEqualToRect(objj_msgSend(_79,"objectForKey:",CPKeyValueChangeOldKey),objj_msgSend(_79,"objectForKey:",CPKeyValueChangeNewKey))){ +objj_msgSend(_accordionView,"_invalidateItemsStartingAtIndex:",objj_msgSend(_75,"index")); +} +} +})]); +p;9;CPAlert.jt;6678;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jI;22;AppKit/CPApplication.jI;17;AppKit/CPButton.jI;16;AppKit/CPColor.jI;15;AppKit/CPFont.jI;16;AppKit/CPImage.jI;20;AppKit/CPImageView.jI;16;AppKit/CPPanel.jI;20;AppKit/CPTextField.jt;6425; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("AppKit/CPApplication.j",NO); +objj_executeFile("AppKit/CPButton.j",NO); +objj_executeFile("AppKit/CPColor.j",NO); +objj_executeFile("AppKit/CPFont.j",NO); +objj_executeFile("AppKit/CPImage.j",NO); +objj_executeFile("AppKit/CPImageView.j",NO); +objj_executeFile("AppKit/CPPanel.j",NO); +objj_executeFile("AppKit/CPTextField.j",NO); +CPWarningAlertStyle=0; +CPInformationalAlertStyle=1; +CPCriticalAlertStyle=2; +var _1,_2,_3; +var _4=objj_allocateClassPair(CPObject,"CPAlert"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_alertPanel"),new objj_ivar("_messageLabel"),new objj_ivar("_alertImageView"),new objj_ivar("_alertStyle"),new objj_ivar("_windowTitle"),new objj_ivar("_windowStyle"),new objj_ivar("_buttonCount"),new objj_ivar("_buttons"),new objj_ivar("_delegate")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("init"),function(_6,_7){ +with(_6){ +if(_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPAlert").super_class},"init")){ +_buttonCount=0; +_buttons=objj_msgSend(CPArray,"array"); +_alertStyle=CPWarningAlertStyle; +objj_msgSend(_6,"setWindowStyle:",nil); +} +return _6; +} +}),new objj_method(sel_getUid("setWindowStyle:"),function(_8,_9,_a){ +with(_8){ +_windowStyle=_a; +_alertPanel=objj_msgSend(objj_msgSend(CPPanel,"alloc"),"initWithContentRect:styleMask:",CGRectMake(0,0,400,110),_a?_a|CPTitledWindowMask:CPTitledWindowMask); +objj_msgSend(_alertPanel,"setFloatingPanel:",YES); +objj_msgSend(_alertPanel,"center"); +objj_msgSend(_messageLabel,"setTextColor:",(_a&CPHUDBackgroundWindowMask)?objj_msgSend(CPColor,"whiteColor"):objj_msgSend(CPColor,"blackColor")); +var _b=objj_msgSend(_buttons,"count"); +for(var i=0;i<_b;i++){ +var _c=_buttons[i]; +objj_msgSend(_c,"setFrameSize:",CGSizeMake(objj_msgSend(_c,"frame").size.width,(_a==CPHUDBackgroundWindowMask)?20:24)); +objj_msgSend(_c,"setTheme:",(_windowStyle===CPHUDBackgroundWindowMask)?objj_msgSend(CPTheme,"themeNamed:","Aristo-HUD"):objj_msgSend(CPTheme,"defaultTheme")); +objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"addSubview:",_c); +} +if(!_messageLabel){ +var _d=objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"bounds"); +_messageLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(57,10,CGRectGetWidth(_d)-73,62)); +objj_msgSend(_messageLabel,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",13)); +objj_msgSend(_messageLabel,"setLineBreakMode:",CPLineBreakByWordWrapping); +objj_msgSend(_messageLabel,"setAlignment:",CPJustifiedTextAlignment); +objj_msgSend(_messageLabel,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_alertImageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(15,12,32,32)); +} +objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"addSubview:",_messageLabel); +objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"addSubview:",_alertImageView); +} +}),new objj_method(sel_getUid("setTitle:"),function(_e,_f,_10){ +with(_e){ +_windowTitle=_10; +} +}),new objj_method(sel_getUid("title"),function(_11,_12){ +with(_11){ +return _windowTitle; +} +}),new objj_method(sel_getUid("windowStyle"),function(_13,_14){ +with(_13){ +return _windowStyle; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_15,_16,_17){ +with(_15){ +_delegate=_17; +} +}),new objj_method(sel_getUid("delegate"),function(_18,_19){ +with(_18){ +return _delegate; +} +}),new objj_method(sel_getUid("setAlertStyle:"),function(_1a,_1b,_1c){ +with(_1a){ +_alertStyle=_1c; +} +}),new objj_method(sel_getUid("alertStyle"),function(_1d,_1e){ +with(_1d){ +return _alertStyle; +} +}),new objj_method(sel_getUid("setMessageText:"),function(_1f,_20,_21){ +with(_1f){ +objj_msgSend(_messageLabel,"setStringValue:",_21); +} +}),new objj_method(sel_getUid("messageText"),function(_22,_23){ +with(_22){ +return objj_msgSend(_messageLabel,"stringValue"); +} +}),new objj_method(sel_getUid("addButtonWithTitle:"),function(_24,_25,_26){ +with(_24){ +var _27=objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"bounds"),_28=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(CGRectGetWidth(_27)-((_buttonCount+1)*90),CGRectGetHeight(_27)-34,80,(_windowStyle==CPHUDBackgroundWindowMask)?20:24)); +objj_msgSend(_28,"setTitle:",_26); +objj_msgSend(_28,"setTarget:",_24); +objj_msgSend(_28,"setTag:",_buttonCount); +objj_msgSend(_28,"setAction:",sel_getUid("_notifyDelegate:")); +objj_msgSend(_28,"setTheme:",(_windowStyle===CPHUDBackgroundWindowMask)?objj_msgSend(CPTheme,"themeNamed:","Aristo-HUD"):objj_msgSend(CPTheme,"defaultTheme")); +objj_msgSend(_28,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin); +objj_msgSend(objj_msgSend(_alertPanel,"contentView"),"addSubview:",_28); +if(_buttonCount==0){ +objj_msgSend(_alertPanel,"setDefaultButton:",_28); +} +_buttonCount++; +objj_msgSend(_buttons,"addObject:",_28); +} +}),new objj_method(sel_getUid("runModal"),function(_29,_2a){ +with(_29){ +var _2b; +switch(_alertStyle){ +case CPWarningAlertStyle: +objj_msgSend(_alertImageView,"setImage:",_1); +_2b="Warning"; +break; +case CPInformationalAlertStyle: +objj_msgSend(_alertImageView,"setImage:",_2); +_2b="Information"; +break; +case CPCriticalAlertStyle: +objj_msgSend(_alertImageView,"setImage:",_3); +_2b="Error"; +break; +} +objj_msgSend(_alertPanel,"setTitle:",_windowTitle?_windowTitle:_2b); +objj_msgSend(CPApp,"runModalForWindow:",_alertPanel); +} +}),new objj_method(sel_getUid("_notifyDelegate:"),function(_2c,_2d,_2e){ +with(_2c){ +objj_msgSend(CPApp,"abortModal"); +objj_msgSend(_alertPanel,"close"); +if(_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("alertDidEnd:returnCode:"))){ +objj_msgSend(_delegate,"alertDidEnd:returnCode:",_2c,objj_msgSend(_2e,"tag")); +} +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("initialize"),function(_2f,_30){ +with(_2f){ +if(_2f!=CPAlert){ +return; +} +var _31=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_2f,"class")); +_1=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_31,"pathForResource:","CPAlert/dialog-warning.png"),CGSizeMake(32,32)); +_2=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_31,"pathForResource:","CPAlert/dialog-information.png"),CGSizeMake(32,32)); +_3=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_31,"pathForResource:","CPAlert/dialog-error.png"),CGSizeMake(32,32)); +} +})]); +p;13;CPAnimation.jt;5490;@STATIC;1.0;I;21;Foundation/CPObject.ji;23;CAMediaTimingFunction.jt;5417; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CAMediaTimingFunction.j",YES); +CPAnimationEaseInOut=0; +CPAnimationEaseIn=1; +CPAnimationEaseOut=2; +CPAnimationLinear=3; +ACTUAL_FRAME_RATE=0; +var _1=objj_allocateClassPair(CPObject,"CPAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_lastTime"),new objj_ivar("_duration"),new objj_ivar("_animationCurve"),new objj_ivar("_timingFunction"),new objj_ivar("_frameRate"),new objj_ivar("_progress"),new objj_ivar("_delegate"),new objj_ivar("_timer")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithDuration:animationCurve:"),function(_3,_4,_5,_6){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPAnimation").super_class},"init"); +if(_3){ +_progress=0; +_duration=MAX(0,_5); +_frameRate=60; +objj_msgSend(_3,"setAnimationCurve:",_6); +} +return _3; +} +}),new objj_method(sel_getUid("setAnimationCurve:"),function(_7,_8,_9){ +with(_7){ +switch(_9){ +case CPAnimationEaseInOut: +timingFunctionName=kCAMediaTimingFunctionEaseInEaseOut; +break; +case CPAnimationEaseIn: +timingFunctionName=kCAMediaTimingFunctionEaseIn; +break; +case CPAnimationEaseOut: +timingFunctionName=kCAMediaTimingFunctionEaseOut; +break; +case CPAnimationLinear: +timingFunctionName=kCAMediaTimingFunctionLinear; +break; +default: +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Invalid value provided for animation curve"); +break; +} +_animationCurve=_9; +_timingFunction=objj_msgSend(CAMediaTimingFunction,"functionWithName:",timingFunctionName); +} +}),new objj_method(sel_getUid("animationCurve"),function(_a,_b){ +with(_a){ +return _animationCurve; +} +}),new objj_method(sel_getUid("setDuration:"),function(_c,_d,_e){ +with(_c){ +if(_e<0){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"aDuration can't be negative"); +} +_duration=_e; +} +}),new objj_method(sel_getUid("duration"),function(_f,_10){ +with(_f){ +return _duration; +} +}),new objj_method(sel_getUid("setFrameRate:"),function(_11,_12,_13){ +with(_11){ +if(_13<0){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"frameRate can't be negative"); +} +_frameRate=_13; +} +}),new objj_method(sel_getUid("frameRate"),function(_14,_15){ +with(_14){ +return _frameRate; +} +}),new objj_method(sel_getUid("delegate"),function(_16,_17){ +with(_16){ +return _delegate; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_18,_19,_1a){ +with(_18){ +_delegate=_1a; +} +}),new objj_method(sel_getUid("startAnimation"),function(_1b,_1c){ +with(_1b){ +if(_timer||_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animationShouldStart:"))&&!objj_msgSend(_delegate,"animationShouldStart:",_1b)){ +return; +} +if(_progress===1){ +_progress=0; +} +ACTUAL_FRAME_RATE=0; +_lastTime=new Date(); +_timer=objj_msgSend(CPTimer,"scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:",0,_1b,sel_getUid("animationTimerDidFire:"),nil,YES); +} +}),new objj_method(sel_getUid("animationTimerDidFire:"),function(_1d,_1e,_1f){ +with(_1d){ +var _20=new Date(),_21=MIN(1,objj_msgSend(_1d,"currentProgress")+(_20-_lastTime)/(_duration*1000)); +_lastTime=_20; +++ACTUAL_FRAME_RATE; +objj_msgSend(_1d,"setCurrentProgress:",_21); +if(_21===1){ +objj_msgSend(_timer,"invalidate"); +_timer=nil; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animationDidEnd:"))){ +objj_msgSend(_delegate,"animationDidEnd:",_1d); +} +} +} +}),new objj_method(sel_getUid("stopAnimation"),function(_22,_23){ +with(_22){ +if(!_timer){ +return; +} +objj_msgSend(_timer,"invalidate"); +_timer=nil; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animationDidStop:"))){ +objj_msgSend(_delegate,"animationDidStop:",_22); +} +} +}),new objj_method(sel_getUid("isAnimating"),function(_24,_25){ +with(_24){ +return _timer; +} +}),new objj_method(sel_getUid("setCurrentProgress:"),function(_26,_27,_28){ +with(_26){ +_progress=_28; +} +}),new objj_method(sel_getUid("currentProgress"),function(_29,_2a){ +with(_29){ +return _progress; +} +}),new objj_method(sel_getUid("currentValue"),function(_2b,_2c){ +with(_2b){ +var t=objj_msgSend(_2b,"currentProgress"); +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("animation:valueForProgress:"))){ +return objj_msgSend(_delegate,"animation:valueForProgress:",_2b,t); +} +var c1=[],c2=[]; +objj_msgSend(_timingFunction,"getControlPointAtIndex:values:",1,c1); +objj_msgSend(_timingFunction,"getControlPointAtIndex:values:",2,c2); +return _2d(t,c1[0],c1[1],c2[0],c2[1],_duration); +} +})]); +var _2d=_2d=function(t,p1x,p1y,p2x,p2y,_2e){ +var ax=0,bx=0,cx=0,ay=0,by=0,cy=0; +sampleCurveX=function(t){ +return ((ax*t+bx)*t+cx)*t; +}; +sampleCurveY=function(t){ +return ((ay*t+by)*t+cy)*t; +}; +sampleCurveDerivativeX=function(t){ +return (3*ax*t+2*bx)*t+cx; +}; +solveEpsilon=function(_2f){ +return 1/(200*_2f); +}; +solve=function(x,_30){ +return sampleCurveY(solveCurveX(x,_30)); +}; +solveCurveX=function(x,_31){ +var t0,t1,t2,x2,d2,i; +fabs=function(n){ +if(n>=0){ +return n; +}else{ +return 0-n; +} +}; +for(t2=x,i=0;i<8;i++){ +x2=sampleCurveX(t2)-x; +if(fabs(x2)<_31){ +return t2; +} +d2=sampleCurveDerivativeX(t2); +if(fabs(d2)<0.000001){ +break; +} +t2=t2-x2/d2; +} +t0=0; +t1=1; +t2=x; +if(t2t1){ +return t1; +} +while(t0x2){ +t0=t2; +}else{ +t1=t2; +} +t2=(t1-t0)*0.5+t0; +} +return t2; +}; +cx=3*p1x; +bx=3*(p2x-p1x)-cx; +ax=1-cx-bx; +cy=3*p1y; +by=3*(p2y-p1y)-cy; +ay=1-cy-by; +return solve(t,solveEpsilon(_2e)); +}; +p;15;CPApplication.jt;29641;@STATIC;1.0;I;21;Foundation/CPBundle.ji;17;CPCompatibility.ji;9;CPEvent.ji;8;CPMenu.ji;13;CPResponder.ji;22;CPDocumentController.ji;14;CPThemeBlend.ji;14;CPCibLoading.ji;12;CPPlatform.jt;29448; +objj_executeFile("Foundation/CPBundle.j",NO); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("CPEvent.j",YES); +objj_executeFile("CPMenu.j",YES); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPDocumentController.j",YES); +objj_executeFile("CPThemeBlend.j",YES); +objj_executeFile("CPCibLoading.j",YES); +objj_executeFile("CPPlatform.j",YES); +var _1="CPMainCibFile",_2="Main cib file base name"; +CPApp=nil; +CPApplicationWillFinishLaunchingNotification="CPApplicationWillFinishLaunchingNotification"; +CPApplicationDidFinishLaunchingNotification="CPApplicationDidFinishLaunchingNotification"; +CPApplicationWillTerminateNotification="CPApplicationWillTerminateNotification"; +CPApplicationWillBecomeActiveNotification="CPApplicationWillBecomeActiveNotification"; +CPApplicationDidBecomeActiveNotification="CPApplicationDidBecomeActiveNotification"; +CPApplicationWillResignActiveNotification="CPApplicationWillResignActiveNotification"; +CPApplicationDidResignActiveNotification="CPApplicationDidResignActiveNotification"; +CPTerminateNow=YES; +CPTerminateCancel=NO; +CPTerminateLater=-1; +CPRunStoppedResponse=-1000; +CPRunAbortedResponse=-1001; +CPRunContinuesResponse=-1002; +var _3=objj_allocateClassPair(CPResponder,"CPApplication"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_eventListeners"),new objj_ivar("_currentEvent"),new objj_ivar("_windows"),new objj_ivar("_keyWindow"),new objj_ivar("_mainWindow"),new objj_ivar("_previousKeyWindow"),new objj_ivar("_previousMainWindow"),new objj_ivar("_mainMenu"),new objj_ivar("_documentController"),new objj_ivar("_currentSession"),new objj_ivar("_delegate"),new objj_ivar("_finishedLaunching"),new objj_ivar("_isActive"),new objj_ivar("_namedArgs"),new objj_ivar("_args"),new objj_ivar("_fullArgsString"),new objj_ivar("_applicationIconImage"),new objj_ivar("_aboutPanel")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("init"),function(_5,_6){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPApplication").super_class},"init"); +if(_5){ +_eventListeners=[]; +_windows=[]; +objj_msgSend(_windows,"addObject:",nil); +_mainMenu=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","MainMenu"); +objj_msgSend(_mainMenu,"setAutoenablesItems:",NO); +var _7=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPApplication,"class")),_8=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","New",sel_getUid("newDocument:"),"N"); +objj_msgSend(_8,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/New.png"),CGSizeMake(16,16))); +objj_msgSend(_8,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/NewHighlighted.png"),CGSizeMake(16,16))); +objj_msgSend(_mainMenu,"addItem:",_8); +var _9=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Open",sel_getUid("openDocument:"),"O"); +objj_msgSend(_9,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/Open.png"),CGSizeMake(16,16))); +objj_msgSend(_9,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/OpenHighlighted.png"),CGSizeMake(16,16))); +objj_msgSend(_mainMenu,"addItem:",_9); +var _a=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","Save"),_b=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Save",sel_getUid("saveDocument:"),nil); +objj_msgSend(_b,"setImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/Save.png"),CGSizeMake(16,16))); +objj_msgSend(_b,"setAlternateImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_7,"pathForResource:","CPApplication/SaveHighlighted.png"),CGSizeMake(16,16))); +objj_msgSend(_a,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Save",sel_getUid("saveDocument:"),"S")); +objj_msgSend(_a,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Save As",sel_getUid("saveDocumentAs:"),nil)); +objj_msgSend(_b,"setSubmenu:",_a); +objj_msgSend(_mainMenu,"addItem:",_b); +var _c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Edit",nil,nil),_d=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","Edit"),_e=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Undo",sel_getUid("undo:"),CPUndoKeyEquivalent),_f=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Redo",sel_getUid("redo:"),CPRedoKeyEquivalent); +objj_msgSend(_e,"setKeyEquivalentModifierMask:",CPUndoKeyEquivalentModifierMask); +objj_msgSend(_f,"setKeyEquivalentModifierMask:",CPRedoKeyEquivalentModifierMask); +objj_msgSend(_d,"addItem:",_e); +objj_msgSend(_d,"addItem:",_f); +objj_msgSend(_d,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Cut",sel_getUid("cut:"),"X")),objj_msgSend(_d,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Copy",sel_getUid("copy:"),"C")),objj_msgSend(_d,"addItem:",objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Paste",sel_getUid("paste:"),"V")); +objj_msgSend(_c,"setSubmenu:",_d); +objj_msgSend(_c,"setHidden:",YES); +objj_msgSend(_mainMenu,"addItem:",_c); +objj_msgSend(_mainMenu,"addItem:",objj_msgSend(CPMenuItem,"separatorItem")); +} +return _5; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_10,_11,_12){ +with(_10){ +if(_delegate==_12){ +return; +} +var _13=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_delegate){ +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationWillFinishLaunchingNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationDidFinishLaunchingNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationWillBecomeActiveNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationDidBecomeActiveNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationWillResignActiveNotification,_10); +objj_msgSend(_13,"removeObserver:name:object:",_delegate,CPApplicationDidResignActiveNotification,_10); +} +_delegate=_12; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationWillFinishLaunching:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationWillFinishLaunching:"),CPApplicationWillFinishLaunchingNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationDidFinishLaunching:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationDidFinishLaunching:"),CPApplicationDidFinishLaunchingNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationWillBecomeActive:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationWillBecomeActive:"),CPApplicationWillBecomeActiveNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationDidBecomeActive:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationDidBecomeActive:"),CPApplicationDidBecomeActiveNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationWillResignActive:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationWillResignActive:"),CPApplicationWillResignActiveNotification,_10); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationDidResignActive:"))){ +objj_msgSend(_13,"addObserver:selector:name:object:",_delegate,sel_getUid("applicationDidResignActive:"),CPApplicationDidResignActiveNotification,_10); +} +} +}),new objj_method(sel_getUid("delegate"),function(_14,_15){ +with(_14){ +return _delegate; +} +}),new objj_method(sel_getUid("finishLaunching"),function(_16,_17){ +with(_16){ +window.status=" "; +objj_msgSend(objj_msgSend(CPCursor,"arrowCursor"),"set"); +var _18=objj_msgSend(CPBundle,"mainBundle"),_19=objj_msgSend(_18,"objectForInfoDictionaryKey:","CPBundleDocumentTypes"); +if(objj_msgSend(_19,"count")>0){ +_documentController=objj_msgSend(CPDocumentController,"sharedDocumentController"); +} +var _1a=objj_msgSend(_18,"objectForInfoDictionaryKey:","CPApplicationDelegateClass"); +if(_1a){ +var _1b=objj_getClass(_1a); +if(_1b){ +if(objj_msgSend(_documentController,"class")==_1b){ +objj_msgSend(_16,"setDelegate:",_documentController); +}else{ +objj_msgSend(_16,"setDelegate:",objj_msgSend(objj_msgSend(_1b,"alloc"),"init")); +} +} +} +var _1c=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_1c,"postNotificationName:object:",CPApplicationWillFinishLaunchingNotification,_16); +var _1d=!!_documentController,_1e=window.cpOpeningURLStrings&&window.cpOpeningURLStrings(),_1f=0,_20=objj_msgSend(_1e,"count"); +for(;_1f<_20;++_1f){ +_1d=!objj_msgSend(_16,"_openURL:",objj_msgSend(CPURL,"URLWithString:",_1e[_1f]))||_1d; +} +if(_1d&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationShouldOpenUntitledFile:"))){ +_1d=objj_msgSend(_delegate,"applicationShouldOpenUntitledFile:",_16); +} +if(_1d){ +objj_msgSend(_documentController,"newDocument:",_16); +} +objj_msgSend(_documentController,"_updateRecentDocumentsMenu"); +objj_msgSend(_1c,"postNotificationName:object:",CPApplicationDidFinishLaunchingNotification,_16); +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +_finishedLaunching=YES; +} +}),new objj_method(sel_getUid("terminate:"),function(_21,_22,_23){ +with(_21){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(objj_msgSend(CPDocumentController,"sharedDocumentController"),"closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:",_21,sel_getUid("_documentController:didCloseAll:context:"),nil); +}else{ +objj_msgSend(objj_msgSend(objj_msgSend(_21,"keyWindow"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +} +}),new objj_method(sel_getUid("setApplicationIconImage:"),function(_24,_25,_26){ +with(_24){ +_applicationIconImage=_26; +} +}),new objj_method(sel_getUid("applicationIconImage"),function(_27,_28){ +with(_27){ +if(_applicationIconImage){ +return _applicationIconImage; +} +var _29=objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"objectForInfoDictionaryKey:","CPApplicationIcon"); +if(_29){ +_applicationIconImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",_29); +} +return _applicationIconImage; +} +}),new objj_method(sel_getUid("orderFrontStandardAboutPanel:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2a,"orderFrontStandardAboutPanelWithOptions:",nil); +} +}),new objj_method(sel_getUid("orderFrontStandardAboutPanelWithOptions:"),function(_2d,_2e,_2f){ +with(_2d){ +if(!_aboutPanel){ +var _30=objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"infoDictionary"),_31=objj_msgSend(_2f,"objectForKey:","ApplicationName")||objj_msgSend(_30,"objectForKey:","CPBundleName"),_32=objj_msgSend(_2f,"objectForKey:","ApplicationIcon")||objj_msgSend(_2d,"applicationIconImage"),_33=objj_msgSend(_2f,"objectForKey:","Version")||objj_msgSend(_30,"objectForKey:","CPBundleVersion"),_34=objj_msgSend(_2f,"objectForKey:","ApplicationVersion")||objj_msgSend(_30,"objectForKey:","CPBundleShortVersionString"),_35=objj_msgSend(_2f,"objectForKey:","Copyright")||objj_msgSend(_30,"objectForKey:","CPHumanReadableCopyright"); +var _36=objj_msgSend(objj_msgSend(CPWindowController,"alloc"),"initWithWindowCibName:","AboutPanel"),_37=objj_msgSend(_36,"window"),_38=objj_msgSend(_37,"contentView"),_39=objj_msgSend(_38,"viewWithTag:",1),_3a=objj_msgSend(_38,"viewWithTag:",2),_3b=objj_msgSend(_38,"viewWithTag:",3),_3c=objj_msgSend(_38,"viewWithTag:",4),_3d=objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_2d,"class")),"pathForResource:","standardApplicationIcon.png"); +objj_msgSend(_3a,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",14)); +objj_msgSend(_3a,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_3b,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_3c,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_39,"setImage:",_32||objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",_3d,CGSizeMake(256,256))); +objj_msgSend(_3a,"setStringValue:",_31||""); +if(_34&&_33){ +objj_msgSend(_3b,"setStringValue:","Version "+_34+" ("+_33+")"); +}else{ +if(_34||_33){ +objj_msgSend(_3b,"setStringValue:","Version "+(_34||_33)); +}else{ +objj_msgSend(_3b,"setStringValue:",""); +} +} +objj_msgSend(_3c,"setStringValue:",_35||""); +objj_msgSend(_37,"center"); +_aboutPanel=_37; +} +objj_msgSend(_aboutPanel,"orderFront:",_2d); +} +}),new objj_method(sel_getUid("_documentController:didCloseAll:context:"),function(_3e,_3f,_40,_41,_42){ +with(_3e){ +if(_41){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("applicationShouldTerminate:"))){ +objj_msgSend(_3e,"replyToApplicationShouldTerminate:",objj_msgSend(_delegate,"applicationShouldTerminate:",_3e)); +}else{ +objj_msgSend(_3e,"replyToApplicationShouldTerminate:",YES); +} +} +} +}),new objj_method(sel_getUid("replyToApplicationShouldTerminate:"),function(_43,_44,_45){ +with(_43){ +if(_45==CPTerminateNow){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPApplicationWillTerminateNotification,_43); +objj_msgSend(CPPlatform,"terminateApplication"); +} +} +}),new objj_method(sel_getUid("activateIgnoringOtherApps:"),function(_46,_47,_48){ +with(_46){ +objj_msgSend(_46,"_willBecomeActive"); +objj_msgSend(CPPlatform,"activateIgnoringOtherApps:",_48); +_isActive=YES; +objj_msgSend(_46,"_willResignActive"); +} +}),new objj_method(sel_getUid("deactivate"),function(_49,_4a){ +with(_49){ +objj_msgSend(_49,"_willResignActive"); +objj_msgSend(CPPlatform,"deactivate"); +_isActive=NO; +objj_msgSend(_49,"_didResignActive"); +} +}),new objj_method(sel_getUid("isActive"),function(_4b,_4c){ +with(_4b){ +return _isActive; +} +}),new objj_method(sel_getUid("hideOtherApplications:"),function(_4d,_4e,_4f){ +with(_4d){ +objj_msgSend(CPPlatform,"hideOtherApplications:",_4d); +} +}),new objj_method(sel_getUid("run"),function(_50,_51){ +with(_50){ +objj_msgSend(_50,"finishLaunching"); +} +}),new objj_method(sel_getUid("runModalForWindow:"),function(_52,_53,_54){ +with(_52){ +objj_msgSend(_52,"runModalSession:",objj_msgSend(_52,"beginModalSessionForWindow:",_54)); +} +}),new objj_method(sel_getUid("stopModalWithCode:"),function(_55,_56,_57){ +with(_55){ +if(!_currentSession){ +return; +} +_currentSession._state=_57; +_currentSession=_currentSession._previous; +objj_msgSend(_55,"_removeRunModalLoop"); +} +}),new objj_method(sel_getUid("_removeRunModalLoop"),function(_58,_59){ +with(_58){ +var _5a=_eventListeners.length; +while(_5a--){ +if(_eventListeners[_5a]._callback===_5b){ +_eventListeners.splice(_5a,1); +return; +} +} +} +}),new objj_method(sel_getUid("stopModal"),function(_5c,_5d){ +with(_5c){ +objj_msgSend(_5c,"stopModalWithCode:",CPRunStoppedResponse); +} +}),new objj_method(sel_getUid("abortModal"),function(_5e,_5f){ +with(_5e){ +objj_msgSend(_5e,"stopModalWithCode:",CPRunAbortedResponse); +} +}),new objj_method(sel_getUid("beginModalSessionForWindow:"),function(_60,_61,_62){ +with(_60){ +return _63(_62,0); +} +}),new objj_method(sel_getUid("runModalSession:"),function(_64,_65,_66){ +with(_64){ +_66._previous=_currentSession; +_currentSession=_66; +var _67=_66._window; +objj_msgSend(_67,"center"); +objj_msgSend(_67,"makeKeyAndOrderFront:",_64); +objj_msgSend(CPApp,"setCallback:forNextEventMatchingMask:untilDate:inMode:dequeue:",_5b,CPAnyEventMask,nil,0,NO); +} +}),new objj_method(sel_getUid("modalWindow"),function(_68,_69){ +with(_68){ +if(!_currentSession){ +return nil; +} +return _currentSession._window; +} +}),new objj_method(sel_getUid("_handleKeyEquivalent:"),function(_6a,_6b,_6c){ +with(_6a){ +return objj_msgSend(objj_msgSend(_6a,"keyWindow"),"performKeyEquivalent:",_6c)||objj_msgSend(_mainMenu,"performKeyEquivalent:",_6c); +} +}),new objj_method(sel_getUid("sendEvent:"),function(_6d,_6e,_6f){ +with(_6d){ +_currentEvent=_6f; +var _70=objj_msgSend(objj_msgSend(objj_msgSend(_6f,"window"),"platformWindow"),"_willPropagateCurrentDOMEvent"); +objj_msgSend(objj_msgSend(objj_msgSend(_6f,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",NO); +if(objj_msgSend(_6f,"_couldBeKeyEquivalent")&&objj_msgSend(_6d,"_handleKeyEquivalent:",_6f)){ +var _71=objj_msgSend(_6f,"characters"),_72=objj_msgSend(_6f,"modifierFlags"); +if((_71=="c"||_71=="x"||_71=="v")&&(_72&CPPlatformActionKeyMask)){ +objj_msgSend(objj_msgSend(objj_msgSend(_6f,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +return; +} +objj_msgSend(objj_msgSend(objj_msgSend(_6f,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",_70); +if(_eventListeners.length){ +if(_eventListeners[_eventListeners.length-1]._mask&(1<=0){ +var _c8=objj_msgSend(_windows,"objectAtIndex:",_c7); +var _c9=_c8._sheetContext; +if(_c9!=nil&&_c9["sheet"]===_c5){ +_c9["returnCode"]=_c6; +objj_msgSend(_c8,"_detachSheetWindow"); +return; +} +} +} +}),new objj_method(sel_getUid("endSheet:"),function(_ca,_cb,_cc){ +with(_ca){ +objj_msgSend(_ca,"endSheet:returnCode:",_cc,0); +} +}),new objj_method(sel_getUid("arguments"),function(_cd,_ce){ +with(_cd){ +if(_fullArgsString!==window.location.hash){ +objj_msgSend(_cd,"_reloadArguments"); +} +return _args; +} +}),new objj_method(sel_getUid("setArguments:"),function(_cf,_d0,_d1){ +with(_cf){ +if(!_d1||_d1.length==0){ +_args=[]; +window.location.hash="#"; +return; +} +if(objj_msgSend(_d1,"class")!=CPArray){ +_d1=objj_msgSend(CPArray,"arrayWithObject:",_d1); +} +_args=_d1; +var _d2=objj_msgSend(_args,"copy"); +for(var i=0,_d3=_d2.length;i<_d3;i++){ +_d2[i]=encodeURIComponent(_d2[i]); +} +var _d4=objj_msgSend(_d2,"componentsJoinedByString:","/"); +window.location.hash="#"+_d4; +} +}),new objj_method(sel_getUid("_reloadArguments"),function(_d5,_d6){ +with(_d5){ +_fullArgsString=window.location.hash; +if(_fullArgsString.length){ +var _d7=_fullArgsString.substring(1).split("/"); +for(var i=0,_d8=_d7.length;i<_d8;i++){ +_d7[i]=decodeURIComponent(_d7[i]); +} +_args=_d7; +}else{ +_args=[]; +} +} +}),new objj_method(sel_getUid("namedArguments"),function(_d9,_da){ +with(_d9){ +return _namedArgs; +} +}),new objj_method(sel_getUid("_openURL:"),function(_db,_dc,_dd){ +with(_db){ +if(_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("application:openFile:"))){ +CPLog.warn("application:openFile: is deprecated, use application:openURL: instead."); +return objj_msgSend(_delegate,"application:openFile:",_db,objj_msgSend(_dd,"absoluteString")); +} +if(_delegate&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("application:openURL:"))){ +return objj_msgSend(_delegate,"application:openURL:",_db,_dd); +} +return !!objj_msgSend(_documentController,"openDocumentWithContentsOfURL:display:error:",_dd,YES,NULL); +} +}),new objj_method(sel_getUid("_willBecomeActive"),function(_de,_df){ +with(_de){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPApplicationWillBecomeActiveNotification,_de,nil); +} +}),new objj_method(sel_getUid("_didBecomeActive"),function(_e0,_e1){ +with(_e0){ +if(!objj_msgSend(_e0,"keyWindow")&&_previousKeyWindow&&objj_msgSend(objj_msgSend(_e0,"windows"),"indexOfObjectIdenticalTo:",_previousKeyWindow)!==CPNotFound){ +objj_msgSend(_previousKeyWindow,"makeKeyWindow"); +} +if(!objj_msgSend(_e0,"mainWindow")&&_previousMainWindow&&objj_msgSend(objj_msgSend(_e0,"windows"),"indexOfObjectIdenticalTo:",_previousMainWindow)!==CPNotFound){ +objj_msgSend(_previousMainWindow,"makeMainWindow"); +} +if(objj_msgSend(_e0,"keyWindow")){ +objj_msgSend(objj_msgSend(_e0,"keyWindow"),"orderFront:",_e0); +}else{ +if(objj_msgSend(_e0,"mainWindow")){ +objj_msgSend(objj_msgSend(_e0,"mainWindow"),"makeKeyAndOrderFront:",_e0); +}else{ +objj_msgSend(objj_msgSend(_e0,"mainMenu")._menuWindow,"makeKeyWindow"); +} +} +_previousKeyWindow=nil; +_previousMainWindow=nil; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPApplicationDidBecomeActiveNotification,_e0,nil); +} +}),new objj_method(sel_getUid("_willResignActive"),function(_e2,_e3){ +with(_e2){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPApplicationWillResignActiveNotification,_e2,nil); +} +}),new objj_method(sel_getUid("_didResignActive"),function(_e4,_e5){ +with(_e4){ +if(_e4._activeMenu){ +objj_msgSend(_e4._activeMenu,"cancelTracking"); +} +if(objj_msgSend(_e4,"keyWindow")){ +_previousKeyWindow=objj_msgSend(_e4,"keyWindow"); +objj_msgSend(_previousKeyWindow,"resignKeyWindow"); +} +if(objj_msgSend(_e4,"mainWindow")){ +_previousMainWindow=objj_msgSend(_e4,"mainWindow"); +objj_msgSend(_previousMainWindow,"resignMainWindow"); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPApplicationDidResignActiveNotification,_e4,nil); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("sharedApplication"),function(_e6,_e7){ +with(_e6){ +if(!CPApp){ +CPApp=objj_msgSend(objj_msgSend(CPApplication,"alloc"),"init"); +} +return CPApp; +} +}),new objj_method(sel_getUid("defaultThemeName"),function(_e8,_e9){ +with(_e8){ +return (objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"objectForInfoDictionaryKey:","CPDefaultTheme")||"Aristo"); +} +})]); +var _63=function(_ea,_eb){ +return {_window:_ea,_state:CPRunContinuesResponse,_previous:nil}; +}; +var _af=function(_ec,_ed){ +return {_mask:_ec,_callback:_ed}; +}; +var _5b=function(_ee){ +objj_msgSend(CPApp,"setCallback:forNextEventMatchingMask:untilDate:inMode:dequeue:",_5b,CPAnyEventMask,nil,0,NO); +var _ef=objj_msgSend(_ee,"window"),_f0=CPApp._currentSession; +if(_ef==_f0._window||objj_msgSend(_ef,"worksWhenModal")){ +objj_msgSend(_ef,"sendEvent:",_ee); +} +}; +CPApplicationMain=function(_f1,_f2){ +var _f3=objj_msgSend(CPBundle,"mainBundle"),_f4=objj_msgSend(_f3,"principalClass"); +if(!_f4){ +_f4=objj_msgSend(CPApplication,"class"); +} +objj_msgSend(_f4,"sharedApplication"); +if(objj_msgSend(_f1,"containsObject:","debug")){ +CPLogRegister(CPLogPopup); +} +CPApp._args=_f1; +CPApp._namedArgs=_f2; +objj_msgSend(_CPAppBootstrapper,"performActions"); +}; +var _f5=nil; +var _3=objj_allocateClassPair(CPObject,"_CPAppBootstrapper"),_4=_3.isa; +objj_registerClassPair(_3); +class_addMethods(_4,[new objj_method(sel_getUid("actions"),function(_f6,_f7){ +with(_f6){ +return [sel_getUid("bootstrapPlatform"),sel_getUid("loadDefaultTheme"),sel_getUid("loadMainCibFile")]; +} +}),new objj_method(sel_getUid("performActions"),function(_f8,_f9){ +with(_f8){ +if(!_f5){ +_f5=objj_msgSend(_f8,"actions"); +} +while(_f5.length){ +var _fa=_f5.shift(); +if(objj_msgSend(_f8,_fa)){ +return; +} +} +objj_msgSend(CPApp,"run"); +} +}),new objj_method(sel_getUid("bootstrapPlatform"),function(_fb,_fc){ +with(_fb){ +return objj_msgSend(CPPlatform,"bootstrap"); +} +}),new objj_method(sel_getUid("loadDefaultTheme"),function(_fd,_fe){ +with(_fd){ +var _ff=objj_msgSend(objj_msgSend(CPThemeBlend,"alloc"),"initWithContentsOfURL:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPApplication,"class")),"pathForResource:",objj_msgSend(CPApplication,"defaultThemeName")+".blend")); +objj_msgSend(_ff,"loadWithDelegate:",_fd); +return YES; +} +}),new objj_method(sel_getUid("blendDidFinishLoading:"),function(self,_100,_101){ +with(self){ +objj_msgSend(CPTheme,"setDefaultTheme:",objj_msgSend(CPTheme,"themeNamed:",objj_msgSend(CPApplication,"defaultThemeName"))); +objj_msgSend(self,"performActions"); +} +}),new objj_method(sel_getUid("loadMainCibFile"),function(self,_102){ +with(self){ +var _103=objj_msgSend(CPBundle,"mainBundle"),_104=objj_msgSend(_103,"objectForInfoDictionaryKey:",_1)||objj_msgSend(_103,"objectForInfoDictionaryKey:",_2); +if(_104){ +objj_msgSend(_103,"loadCibFile:externalNameTable:loadDelegate:",_104,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",CPApp,CPCibOwner),self); +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("cibDidFinishLoading:"),function(self,_105,aCib){ +with(self){ +objj_msgSend(self,"performActions"); +} +}),new objj_method(sel_getUid("cibDidFailToLoad:"),function(self,_106,aCib){ +with(self){ +throw new Error("Could not load main cib file (Did you forget to nib2cib it?)."); +} +}),new objj_method(sel_getUid("reset"),function(self,_107){ +with(self){ +_f5=nil; +} +})]); +p;14;CPBezierPath.jt;4477;@STATIC;1.0;I;26;AppKit/CPGraphicsContext.jI;21;Foundation/CPObject.jt;4401; +objj_executeFile("AppKit/CPGraphicsContext.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +var _1=1; +var _2=objj_allocateClassPair(CPObject,"CPBezierPath"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_path"),new objj_ivar("_lineWidth")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_4,_5){ +with(_4){ +if(_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPBezierPath").super_class},"init")){ +_path=CGPathCreateMutable(); +_lineWidth=objj_msgSend(objj_msgSend(_4,"class"),"defaultLineWidth"); +} +return _4; +} +}),new objj_method(sel_getUid("moveToPoint:"),function(_6,_7,_8){ +with(_6){ +CGPathMoveToPoint(_path,nil,_8.x,_8.y); +} +}),new objj_method(sel_getUid("lineToPoint:"),function(_9,_a,_b){ +with(_9){ +CGPathAddLineToPoint(_path,nil,_b.x,_b.y); +} +}),new objj_method(sel_getUid("curveToPoint:controlPoint1:controlPoint2:"),function(_c,_d,_e,_f,_10){ +with(_c){ +CGPathAddCurveToPoint(_path,nil,_f.x,_f.y,_10.x,_10.y,_e.x,_e.y); +} +}),new objj_method(sel_getUid("closePath"),function(_11,_12){ +with(_11){ +CGPathCloseSubpath(_path); +} +}),new objj_method(sel_getUid("stroke"),function(_13,_14){ +with(_13){ +var ctx=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextBeginPath(ctx); +CGContextAddPath(ctx,_path); +CGContextSetLineWidth(ctx,objj_msgSend(_13,"lineWidth")); +CGContextClosePath(ctx); +CGContextStrokePath(ctx); +} +}),new objj_method(sel_getUid("fill"),function(_15,_16){ +with(_15){ +var ctx=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextBeginPath(ctx); +CGContextAddPath(ctx,_path); +CGContextSetLineWidth(ctx,objj_msgSend(_15,"lineWidth")); +CGContextClosePath(ctx); +CGContextFillPath(ctx); +} +}),new objj_method(sel_getUid("lineWidth"),function(_17,_18){ +with(_17){ +return _lineWidth; +} +}),new objj_method(sel_getUid("setLineWidth:"),function(_19,_1a,_1b){ +with(_19){ +_lineWidth=_1b; +} +}),new objj_method(sel_getUid("elementCount"),function(_1c,_1d){ +with(_1c){ +return _path.count; +} +}),new objj_method(sel_getUid("isEmpty"),function(_1e,_1f){ +with(_1e){ +return CGPathIsEmpty(_path); +} +}),new objj_method(sel_getUid("currentPoint"),function(_20,_21){ +with(_20){ +return CGPathGetCurrentPoint(_path); +} +}),new objj_method(sel_getUid("appendBezierPathWithPoints:count:"),function(_22,_23,_24,_25){ +with(_22){ +CGPathAddLines(_path,nil,_24,_25); +} +}),new objj_method(sel_getUid("appendBezierPathWithRect:"),function(_26,_27,_28){ +with(_26){ +CGPathAddRect(_path,nil,_28); +} +}),new objj_method(sel_getUid("appendBezierPathWithOvalInRect:"),function(_29,_2a,_2b){ +with(_29){ +CGPathAddPath(_path,nil,CGPathWithEllipseInRect(_2b)); +} +}),new objj_method(sel_getUid("appendBezierPathWithRoundedRect:xRadius:yRadius:"),function(_2c,_2d,_2e,_2f,_30){ +with(_2c){ +CGPathAddPath(_path,nil,CGPathWithRoundedRectangleInRect(_2e,_2f,_30,YES,YES,YES,YES)); +} +}),new objj_method(sel_getUid("appendBezierPath:"),function(_31,_32,_33){ +with(_31){ +CGPathAddPath(_path,nil,_33._path); +} +}),new objj_method(sel_getUid("removeAllPoints"),function(_34,_35){ +with(_34){ +_path=CGPathCreateMutable(); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("bezierPath"),function(_36,_37){ +with(_36){ +return objj_msgSend(objj_msgSend(_36,"alloc"),"init"); +} +}),new objj_method(sel_getUid("bezierPathWithOvalInRect:"),function(_38,_39,_3a){ +with(_38){ +var _3b=objj_msgSend(_38,"bezierPath"); +objj_msgSend(_3b,"appendBezierPathWithOvalInRect:",_3a); +return _3b; +} +}),new objj_method(sel_getUid("bezierPathWithRect:"),function(_3c,_3d,_3e){ +with(_3c){ +var _3f=objj_msgSend(_3c,"bezierPath"); +objj_msgSend(_3f,"appendBezierPathWithRect:",_3e); +return _3f; +} +}),new objj_method(sel_getUid("defaultLineWidth"),function(_40,_41){ +with(_40){ +return _1; +} +}),new objj_method(sel_getUid("setDefaultLineWidth:"),function(_42,_43,_44){ +with(_42){ +_1=_44; +} +}),new objj_method(sel_getUid("fillRect:"),function(_45,_46,_47){ +with(_45){ +objj_msgSend(objj_msgSend(_45,"bezierPathWithRect:",_47),"fill"); +} +}),new objj_method(sel_getUid("strokeRect:"),function(_48,_49,_4a){ +with(_48){ +objj_msgSend(objj_msgSend(_48,"bezierPathWithRect:",_4a),"stroke"); +} +}),new objj_method(sel_getUid("strokeLineFromPoint:toPoint:"),function(_4b,_4c,_4d,_4e){ +with(_4b){ +var _4f=objj_msgSend(_4b,"bezierPath"); +objj_msgSend(_4f,"moveToPoint:",_4d); +objj_msgSend(_4f,"lineToPoint:",_4e); +objj_msgSend(_4f,"stroke"); +} +})]); +p;7;CPBox.jt;5932;@STATIC;1.0;i;8;CPView.jt;5901; +objj_executeFile("CPView.j",YES); +CPNoBorder=0; +CPLineBorder=1; +CPBezelBorder=2; +CPGrooveBorder=3; +var _1=objj_allocateClassPair(CPView,"CPBox"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_borderType"),new objj_ivar("_borderColor"),new objj_ivar("_fillColor"),new objj_ivar("_cornerRadius"),new objj_ivar("_borderWidth"),new objj_ivar("_contentMargin"),new objj_ivar("_contentView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPBox").super_class},"initWithFrame:",_5); +if(_3){ +_fillColor=objj_msgSend(CPColor,"clearColor"); +_borderColor=objj_msgSend(CPColor,"blackColor"); +_borderWidth=1; +_contentMargin=CGSizeMake(0,0); +_contentView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",objj_msgSend(_3,"bounds")); +objj_msgSend(_3,"addSubview:",_contentView); +} +return _3; +} +}),new objj_method(sel_getUid("borderRect"),function(_6,_7){ +with(_6){ +return objj_msgSend(_6,"bounds"); +} +}),new objj_method(sel_getUid("borderType"),function(_8,_9){ +with(_8){ +return _borderType; +} +}),new objj_method(sel_getUid("setBorderType:"),function(_a,_b,_c){ +with(_a){ +_borderType=_c; +objj_msgSend(_a,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("borderColor"),function(_d,_e){ +with(_d){ +return _borderColor; +} +}),new objj_method(sel_getUid("setBorderColor:"),function(_f,_10,_11){ +with(_f){ +if(objj_msgSend(_11,"isEqual:",_borderColor)){ +return; +} +_borderColor=_11; +objj_msgSend(_f,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("borderWidth"),function(_12,_13){ +with(_12){ +return _borderWidth; +} +}),new objj_method(sel_getUid("setBorderWidth:"),function(_14,_15,_16){ +with(_14){ +if(_16===_borderWidth){ +return; +} +_borderWidth=_16; +objj_msgSend(_14,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("cornerRadius"),function(_17,_18){ +with(_17){ +return _cornerRadius; +} +}),new objj_method(sel_getUid("setCornerRadius:"),function(_19,_1a,_1b){ +with(_19){ +if(_1b===_cornerRadius){ +return; +} +_cornerRadius=_1b; +objj_msgSend(_19,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("fillColor"),function(_1c,_1d){ +with(_1c){ +return _fillColor; +} +}),new objj_method(sel_getUid("setFillColor:"),function(_1e,_1f,_20){ +with(_1e){ +if(objj_msgSend(_20,"isEqual:",_fillColor)){ +return; +} +_fillColor=_20; +objj_msgSend(_1e,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("contentView"),function(_21,_22){ +with(_21){ +return _contentView; +} +}),new objj_method(sel_getUid("setContentView:"),function(_23,_24,_25){ +with(_23){ +if(_25===_contentView){ +return; +} +objj_msgSend(_25,"setFrame:",CGRectInset(objj_msgSend(_23,"bounds"),_contentMargin.width+_borderWidth,_contentMargin.height+_borderWidth)); +objj_msgSend(_23,"replaceSubview:with:",_contentView,_25); +objj_msgSend(_25,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_contentView=_25; +} +}),new objj_method(sel_getUid("contentViewMargins"),function(_26,_27){ +with(_26){ +return _contentMargin; +} +}),new objj_method(sel_getUid("setContentViewMargins:"),function(_28,_29,_2a){ +with(_28){ +if(_2a.width<0||_2a.height<0){ +objj_msgSend(CPException,"raise:reason:",CPGenericException,"Margins must be positive"); +} +_contentMargin=CGSizeMakeCopy(_2a); +objj_msgSend(_28,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setFrameFromContentFrame:"),function(_2b,_2c,_2d){ +with(_2b){ +objj_msgSend(_2b,"setFrame:",CGRectInset(_2d,-(_contentMargin.width+_borderWidth),-(_contentMargin.height+_borderWidth))); +objj_msgSend(_2b,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("sizeToFit"),function(_2e,_2f){ +with(_2e){ +var _30=objj_msgSend(_contentView,"frame"); +objj_msgSend(_2e,"setFrameSize:",CGSizeMake(_30.size.width+_contentMargin.width*2,_30.size.height+_contentMargin.height*2)); +objj_msgSend(_contentView,"setFrameOrigin:",CGPointMake(_contentMargin.width,_contentMargin.height)); +} +}),new objj_method(sel_getUid("drawRect:"),function(_31,_32,_33){ +with(_31){ +var _34=objj_msgSend(_31,"bounds"),_35=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_36=_borderWidth/2,_37=CGRectMake(_34.origin.x+_36,_34.origin.y+_36,_34.size.width-_borderWidth,_34.size.height-_borderWidth),_38=CGRectMake(_34.origin.x+_36,_34.origin.y+_36,_34.size.width-_borderWidth,_34.size.height-_borderWidth); +CGContextSetFillColor(_35,objj_msgSend(_31,"fillColor")); +CGContextSetStrokeColor(_35,objj_msgSend(_31,"borderColor")); +CGContextSetLineWidth(_35,_borderWidth); +switch(_borderType){ +case CPLineBorder: +CGContextFillRoundedRectangleInRect(_35,_38,_cornerRadius,YES,YES,YES,YES); +CGContextStrokeRoundedRectangleInRect(_35,_37,_cornerRadius,YES,YES,YES,YES); +break; +case CPBezelBorder: +CGContextFillRoundedRectangleInRect(_35,_38,_cornerRadius,YES,YES,YES,YES); +CGContextSetStrokeColor(_35,objj_msgSend(CPColor,"colorWithWhite:alpha:",190/255,1)); +CGContextBeginPath(_35); +CGContextMoveToPoint(_35,_37.origin.x,_37.origin.y); +CGContextAddLineToPoint(_35,CGRectGetMinX(_37),CGRectGetMaxY(_37)),CGContextAddLineToPoint(_35,CGRectGetMaxX(_37),CGRectGetMaxY(_37)),CGContextAddLineToPoint(_35,CGRectGetMaxX(_37),CGRectGetMinY(_37)),CGContextStrokePath(_35); +CGContextSetStrokeColor(_35,objj_msgSend(CPColor,"colorWithWhite:alpha:",142/255,1)); +CGContextBeginPath(_35); +CGContextMoveToPoint(_35,_34.origin.x,_37.origin.y); +CGContextAddLineToPoint(_35,CGRectGetMaxX(_34),CGRectGetMinY(_37)); +CGContextStrokePath(_35); +break; +default: +break; +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("boxEnclosingView:"),function(_39,_3a,_3b){ +with(_39){ +var box=objj_msgSend(objj_msgSend(_39,"alloc"),"initWithFrame:",CGRectMakeZero()),_3c=objj_msgSend(_3b,"superview"); +objj_msgSend(box,"setFrameFromContentFrame:",objj_msgSend(_3b,"frame")); +objj_msgSend(_3c,"replaceSubview:with:",_3b,box); +objj_msgSend(box,"setContentView:",_3b); +return box; +} +})]); +p;10;CPButton.jt;15880;@STATIC;1.0;i;21;_CPImageAndTextView.ji;12;CGGeometry.ji;11;CPControl.ji;17;CPStringDrawing.ji;12;CPCheckBox.ji;9;CPRadio.jt;15749; +objj_executeFile("_CPImageAndTextView.j",YES); +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPControl.j",YES); +objj_executeFile("CPStringDrawing.j",YES); +CPRoundedBezelStyle=1; +CPRegularSquareBezelStyle=2; +CPThickSquareBezelStyle=3; +CPThickerSquareBezelStyle=4; +CPDisclosureBezelStyle=5; +CPShadowlessSquareBezelStyle=6; +CPCircularBezelStyle=7; +CPTexturedSquareBezelStyle=8; +CPHelpButtonBezelStyle=9; +CPSmallSquareBezelStyle=10; +CPTexturedRoundedBezelStyle=11; +CPRoundRectBezelStyle=12; +CPRecessedBezelStyle=13; +CPRoundedDisclosureBezelStyle=14; +CPHUDBezelStyle=-1; +CPMomentaryLightButton=0; +CPPushOnPushOffButton=1; +CPToggleButton=2; +CPSwitchButton=3; +CPRadioButton=4; +CPMomentaryChangeButton=5; +CPOnOffButton=6; +CPMomentaryPushInButton=7; +CPMomentaryPushButton=0; +CPMomentaryLight=7; +CPNoButtonMask=0; +CPContentsButtonMask=1; +CPPushInButtonMask=2; +CPGrayButtonMask=4; +CPBackgroundButtonMask=8; +CPNoCellMask=CPNoButtonMask; +CPContentsCellMask=CPContentsButtonMask; +CPPushInCellMask=CPPushInButtonMask; +CPChangeGrayCellMask=CPGrayButtonMask; +CPChangeBackgroundCellMask=CPBackgroundButtonMask; +CPButtonStateMixed=CPThemeState("mixed"); +var _1=objj_allocateClassPair(CPControl,"CPButton"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_allowsMixedState"),new objj_ivar("_title"),new objj_ivar("_alternateTitle"),new objj_ivar("_image"),new objj_ivar("_alternateImage"),new objj_ivar("_showsStateBy"),new objj_ivar("_highlightsBy"),new objj_ivar("_imageDimsWhenDisabled"),new objj_ivar("_bezelStyle"),new objj_ivar("_controlSize")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPButton").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"setValue:forThemeAttribute:",CPCenterTextAlignment,"alignment"); +objj_msgSend(_3,"setValue:forThemeAttribute:",CPCenterVerticalTextAlignment,"vertical-alignment"); +objj_msgSend(_3,"setValue:forThemeAttribute:",CPImageLeft,"image-position"); +objj_msgSend(_3,"setValue:forThemeAttribute:",CPScaleNone,"image-scaling"); +_controlSize=CPRegularControlSize; +objj_msgSend(_3,"setBordered:",YES); +} +return _3; +} +}),new objj_method(sel_getUid("allowsMixedState"),function(_6,_7){ +with(_6){ +return _allowsMixedState; +} +}),new objj_method(sel_getUid("setAllowsMixedState:"),function(_8,_9,_a){ +with(_8){ +_a=!!_a; +if(_allowsMixedState===_a){ +return; +} +_allowsMixedState=_a; +if(!_allowsMixedState&&objj_msgSend(_8,"state")===CPMixedState){ +objj_msgSend(_8,"setState:",CPOnState); +} +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_b,_c,_d){ +with(_b){ +if(!_d||_d===""||(objj_msgSend(_d,"intValue")===0)){ +_d=CPOffState; +}else{ +if(!objj_msgSend(_d,"isKindOfClass:",objj_msgSend(CPNumber,"class"))){ +_d=CPOnState; +}else{ +if(_d>CPOnState){ +_d=CPOnState; +}else{ +if(_d=0){ +_4e.width=MIN(_4e.width,_51.width); +} +if(_51.height>=0){ +_4e.height=MIN(_4e.height,_51.height); +} +objj_msgSend(_4c,"setFrameSize:",_4e); +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_52,_53,_54){ +with(_52){ +if(_54==="bezel-view"){ +return objj_msgSend(_52,"bezelRectForBounds:",objj_msgSend(_52,"bounds")); +}else{ +if(_54==="content-view"){ +return objj_msgSend(_52,"contentRectForBounds:",objj_msgSend(_52,"bounds")); +} +} +return objj_msgSendSuper({receiver:_52,super_class:objj_getClass("CPButton").super_class},"rectForEphemeralSubviewNamed:",_54); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_55,_56,_57){ +with(_55){ +if(_57==="bezel-view"){ +var _58=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_58,"setHitTests:",NO); +return _58; +}else{ +return objj_msgSend(objj_msgSend(_CPImageAndTextView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +} +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_59,_5a){ +with(_59){ +var _5b=objj_msgSend(_59,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","bezel-view",CPWindowBelow,"content-view"); +objj_msgSend(_5b,"setBackgroundColor:",objj_msgSend(_59,"currentValueForThemeAttribute:","bezel-color")); +var _5c=objj_msgSend(_59,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","content-view",CPWindowAbove,"bezel-view"); +if(_5c){ +objj_msgSend(_5c,"setText:",(objj_msgSend(_59,"hasThemeState:",CPThemeStateHighlighted)&&_alternateTitle)?_alternateTitle:_title); +objj_msgSend(_5c,"setImage:",(objj_msgSend(_59,"hasThemeState:",CPThemeStateHighlighted)&&_alternateImage)?_alternateImage:_image); +objj_msgSend(_5c,"setFont:",objj_msgSend(_59,"currentValueForThemeAttribute:","font")); +objj_msgSend(_5c,"setTextColor:",objj_msgSend(_59,"currentValueForThemeAttribute:","text-color")); +objj_msgSend(_5c,"setAlignment:",objj_msgSend(_59,"currentValueForThemeAttribute:","alignment")); +objj_msgSend(_5c,"setVerticalAlignment:",objj_msgSend(_59,"currentValueForThemeAttribute:","vertical-alignment")); +objj_msgSend(_5c,"setLineBreakMode:",objj_msgSend(_59,"currentValueForThemeAttribute:","line-break-mode")); +objj_msgSend(_5c,"setTextShadowColor:",objj_msgSend(_59,"currentValueForThemeAttribute:","text-shadow-color")); +objj_msgSend(_5c,"setTextShadowOffset:",objj_msgSend(_59,"currentValueForThemeAttribute:","text-shadow-offset")); +objj_msgSend(_5c,"setImagePosition:",objj_msgSend(_59,"currentValueForThemeAttribute:","image-position")); +objj_msgSend(_5c,"setImageScaling:",objj_msgSend(_59,"currentValueForThemeAttribute:","image-scaling")); +} +} +}),new objj_method(sel_getUid("setDefaultButton:"),function(_5d,_5e,_5f){ +with(_5d){ +if(_5f){ +objj_msgSend(_5d,"setThemeState:",CPThemeStateDefault); +}else{ +objj_msgSend(_5d,"unsetThemeState:",CPThemeStateDefault); +} +} +}),new objj_method(sel_getUid("setBordered:"),function(_60,_61,_62){ +with(_60){ +if(_62){ +objj_msgSend(_60,"setThemeState:",CPThemeStateBordered); +}else{ +objj_msgSend(_60,"unsetThemeState:",CPThemeStateBordered); +} +} +}),new objj_method(sel_getUid("isBordered"),function(_63,_64){ +with(_63){ +return objj_msgSend(_63,"hasThemeState:",CPThemeStateBordered); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("buttonWithTitle:"),function(_65,_66,_67){ +with(_65){ +return objj_msgSend(_65,"buttonWithTitle:theme:",_67,objj_msgSend(CPTheme,"defaultTheme")); +} +}),new objj_method(sel_getUid("buttonWithTitle:theme:"),function(_68,_69,_6a,_6b){ +with(_68){ +var _6c=objj_msgSend(objj_msgSend(_68,"alloc"),"init"); +objj_msgSend(_6c,"setTheme:",_6b); +objj_msgSend(_6c,"setTitle:",_6a); +objj_msgSend(_6c,"sizeToFit"); +return _6c; +} +}),new objj_method(sel_getUid("themeClass"),function(_6d,_6e){ +with(_6d){ +return "button"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_6f,_70){ +with(_6f){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[{top:(0),right:(0),bottom:(0),left:(0)},{top:(0),right:(0),bottom:(0),left:(0)},objj_msgSend(CPNull,"null")],["bezel-inset","content-inset","bezel-color"]); +} +})]); +var _1=objj_getClass("CPButton"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPButton\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("setBezelStyle:"),function(_71,_72,_73){ +with(_71){ +} +}),new objj_method(sel_getUid("bezelStyle"),function(_74,_75){ +with(_74){ +} +})]); +var _76="CPButtonImageKey",_77="CPButtonAlternateImageKey",_78="CPButtonTitleKey",_79="CPButtonAlternateTitleKey",_7a="CPButtonIsBorderedKey"; +var _1=objj_getClass("CPButton"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPButton\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_7b,_7c,_7d){ +with(_7b){ +_7b=objj_msgSendSuper({receiver:_7b,super_class:objj_getClass("CPButton").super_class},"initWithCoder:",_7d); +if(_7b){ +_controlSize=CPRegularControlSize; +objj_msgSend(_7b,"setImage:",objj_msgSend(_7d,"decodeObjectForKey:",_76)); +objj_msgSend(_7b,"setAlternateImage:",objj_msgSend(_7d,"decodeObjectForKey:",_77)); +objj_msgSend(_7b,"setTitle:",objj_msgSend(_7d,"decodeObjectForKey:",_78)); +objj_msgSend(_7b,"setAlternateTitle:",objj_msgSend(_7d,"decodeObjectForKey:",_79)); +objj_msgSend(_7b,"setNeedsLayout"); +objj_msgSend(_7b,"setNeedsDisplay:",YES); +} +return _7b; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_7e,_7f,_80){ +with(_7e){ +objj_msgSendSuper({receiver:_7e,super_class:objj_getClass("CPButton").super_class},"encodeWithCoder:",_80); +objj_msgSend(_80,"encodeObject:forKey:",_image,_76); +objj_msgSend(_80,"encodeObject:forKey:",_alternateImage,_77); +objj_msgSend(_80,"encodeObject:forKey:",_title,_78); +objj_msgSend(_80,"encodeObject:forKey:",_alternateTitle,_79); +} +})]); +objj_executeFile("CPCheckBox.j",YES); +objj_executeFile("CPRadio.j",YES); +p;13;CPButtonBar.jt;2014;@STATIC;1.0;I;15;AppKit/CPView.jt;1975; +objj_executeFile("AppKit/CPView.j",NO); +var _1=objj_allocateClassPair(CPControl,"CPButtonBar"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPButtonBar").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"setNeedsLayout"); +} +return _3; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_6,_7,_8){ +with(_6){ +if(_8==="bezel-view"){ +return objj_msgSend(_6,"bounds"); +} +return objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPButtonBar").super_class},"rectForEphemeralSubviewNamed:",_8); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_9,_a,_b){ +with(_9){ +if(_b==="bezel-view"){ +var _c=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_c,"setHitTests:",NO); +return _c; +} +return objj_msgSendSuper({receiver:_9,super_class:objj_getClass("CPButtonBar").super_class},"createEphemeralSubviewNamed:",_b); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_d,_e){ +with(_d){ +var _f=objj_msgSend(_d,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","bezel-view",CPWindowBelow,""); +if(_f){ +objj_msgSend(_f,"setBackgroundColor:",objj_msgSend(_d,"currentValueForThemeAttribute:","bezel-color")); +} +} +}),new objj_method(sel_getUid("addSubview:"),function(_10,_11,_12){ +with(_10){ +objj_msgSendSuper({receiver:_10,super_class:objj_getClass("CPButtonBar").super_class},"addSubview:",_12); +objj_msgSend(_12,"setAutoresizingMask:",CPViewMinXMargin); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("themeClass"),function(_13,_14){ +with(_13){ +return "button-bar"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_15,_16){ +with(_15){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[objj_msgSend(CPNull,"null")],["bezel-color"]); +} +})]); +p;12;CPCheckBox.jt;1047;@STATIC;1.0;i;10;CPButton.jt;1013; +objj_executeFile("CPButton.j",YES); +var _1=objj_allocateClassPair(CPButton,"CPCheckBox"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPCheckBox").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"setHighlightsBy:",CPContentsCellMask); +objj_msgSend(_3,"setShowsStateBy:",CPContentsCellMask); +objj_msgSend(_3,"setImagePosition:",CPImageLeft); +objj_msgSend(_3,"setAlignment:",CPLeftTextAlignment); +objj_msgSend(_3,"setBordered:",YES); +} +return _3; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("checkBoxWithTitle:theme:"),function(_6,_7,_8,_9){ +with(_6){ +return objj_msgSend(_6,"buttonWithTitle:theme:",_8,_9); +} +}),new objj_method(sel_getUid("checkBoxWithTitle:"),function(_a,_b,_c){ +with(_a){ +return objj_msgSend(_a,"buttonWithTitle:",_c); +} +}),new objj_method(sel_getUid("themeClass"),function(_d,_e){ +with(_d){ +return "check-box"; +} +})]); +p;12;CPClipView.jt;4254;@STATIC;1.0;i;8;CPView.jt;4223; +objj_executeFile("CPView.j",YES); +var _1=objj_allocateClassPair(CPView,"CPClipView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_documentView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setDocumentView:"),function(_3,_4,_5){ +with(_3){ +if(_documentView==_5){ +return; +} +var _6=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_documentView){ +objj_msgSend(_6,"removeObserver:name:object:",_3,CPViewFrameDidChangeNotification,_documentView); +objj_msgSend(_6,"removeObserver:name:object:",_3,CPViewBoundsDidChangeNotification,_documentView); +objj_msgSend(_documentView,"removeFromSuperview"); +} +_documentView=_5; +if(_documentView){ +objj_msgSend(_3,"addSubview:",_documentView); +objj_msgSend(_documentView,"setPostsFrameChangedNotifications:",YES); +objj_msgSend(_documentView,"setPostsBoundsChangedNotifications:",YES); +objj_msgSend(_6,"addObserver:selector:name:object:",_3,sel_getUid("viewFrameChanged:"),CPViewFrameDidChangeNotification,_documentView); +objj_msgSend(_6,"addObserver:selector:name:object:",_3,sel_getUid("viewBoundsChanged:"),CPViewBoundsDidChangeNotification,_documentView); +} +} +}),new objj_method(sel_getUid("documentView"),function(_7,_8){ +with(_7){ +return _documentView; +} +}),new objj_method(sel_getUid("constrainScrollPoint:"),function(_9,_a,_b){ +with(_9){ +if(!_documentView){ +return {x:0,y:0}; +} +var _c=objj_msgSend(_documentView,"frame"); +_b.x=MAX(0,MIN(_b.x,MAX((_c.size.width)-(_bounds.size.width),0))); +_b.y=MAX(0,MIN(_b.y,MAX((_c.size.height)-(_bounds.size.height),0))); +return _b; +} +}),new objj_method(sel_getUid("setBoundsOrigin:"),function(_d,_e,_f){ +with(_d){ +if((_bounds.origin.x==_f.x&&_bounds.origin.y==_f.y)){ +return; +} +objj_msgSendSuper({receiver:_d,super_class:objj_getClass("CPClipView").super_class},"setBoundsOrigin:",_f); +var _10=objj_msgSend(_d,"superview"),_11=objj_getClass("CPScrollView"); +if(objj_msgSend(_10,"isKindOfClass:",_11)){ +objj_msgSend(_10,"reflectScrolledClipView:",_d); +} +} +}),new objj_method(sel_getUid("scrollToPoint:"),function(_12,_13,_14){ +with(_12){ +objj_msgSend(_12,"setBoundsOrigin:",objj_msgSend(_12,"constrainScrollPoint:",_14)); +} +}),new objj_method(sel_getUid("viewBoundsChanged:"),function(_15,_16,_17){ +with(_15){ +objj_msgSend(_15,"_constrainScrollPoint"); +} +}),new objj_method(sel_getUid("viewFrameChanged:"),function(_18,_19,_1a){ +with(_18){ +objj_msgSend(_18,"_constrainScrollPoint"); +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_1b,_1c,_1d){ +with(_1b){ +objj_msgSendSuper({receiver:_1b,super_class:objj_getClass("CPClipView").super_class},"resizeSubviewsWithOldSize:",_1d); +objj_msgSend(_1b,"_constrainScrollPoint"); +} +}),new objj_method(sel_getUid("_constrainScrollPoint"),function(_1e,_1f){ +with(_1e){ +var _20=objj_msgSend(_1e,"bounds").origin; +objj_msgSend(_1e,"scrollToPoint:",_20); +if(!CGPointEqualToPoint(_20,objj_msgSend(_1e,"bounds").origin)){ +return; +} +var _21=objj_msgSend(_1e,"superview"),_22=objj_getClass("CPScrollView"); +if(objj_msgSend(_21,"isKindOfClass:",_22)){ +objj_msgSend(_21,"reflectScrolledClipView:",_1e); +} +} +}),new objj_method(sel_getUid("autoscroll:"),function(_23,_24,_25){ +with(_23){ +var _26=objj_msgSend(_23,"bounds"),_27=objj_msgSend(_23,"convertPoint:fromView:",objj_msgSend(_25,"locationInWindow"),nil); +if(CPRectContainsPoint(_26,_27)){ +return NO; +} +var _28=CGRectMakeZero(); +_28.origin=_27; +_28.size=CPSizeMake(10,10); +return objj_msgSend(_documentView,"scrollRectToVisible:",_28); +} +})]); +var _29="CPScrollViewDocumentView"; +var _1=objj_getClass("CPClipView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPClipView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +if(_2a=objj_msgSendSuper({receiver:_2a,super_class:objj_getClass("CPClipView").super_class},"initWithCoder:",_2c)){ +objj_msgSend(_2a,"setDocumentView:",objj_msgSend(_2c,"decodeObjectForKey:",_29)); +} +return _2a; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSendSuper({receiver:_2d,super_class:objj_getClass("CPClipView").super_class},"encodeWithCoder:",_2f); +objj_msgSend(_2f,"encodeObject:forKey:",_documentView,_29); +} +})]); +p;18;CPCollectionView.jt;17959;@STATIC;1.0;I;20;Foundation/CPArray.jI;19;Foundation/CPData.jI;23;Foundation/CPIndexSet.jI;28;Foundation/CPKeyedArchiver.jI;30;Foundation/CPKeyedUnarchiver.ji;8;CPView.ji;22;CPCollectionViewItem.jt;17755; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPData.j",NO); +objj_executeFile("Foundation/CPIndexSet.j",NO); +objj_executeFile("Foundation/CPKeyedArchiver.j",NO); +objj_executeFile("Foundation/CPKeyedUnarchiver.j",NO); +objj_executeFile("CPView.j",YES); +objj_executeFile("CPCollectionViewItem.j",YES); +var _1=objj_allocateClassPair(CPView,"CPCollectionView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_content"),new objj_ivar("_items"),new objj_ivar("_itemData"),new objj_ivar("_itemPrototype"),new objj_ivar("_itemForDragging"),new objj_ivar("_cachedItems"),new objj_ivar("_maxNumberOfRows"),new objj_ivar("_maxNumberOfColumns"),new objj_ivar("_minItemSize"),new objj_ivar("_maxItemSize"),new objj_ivar("_backgroundColors"),new objj_ivar("_tileWidth"),new objj_ivar("_isSelectable"),new objj_ivar("_allowsMultipleSelection"),new objj_ivar("_allowsEmptySelection"),new objj_ivar("_selectionIndexes"),new objj_ivar("_itemSize"),new objj_ivar("_horizontalMargin"),new objj_ivar("_verticalMargin"),new objj_ivar("_numberOfRows"),new objj_ivar("_numberOfColumns"),new objj_ivar("_delegate"),new objj_ivar("_mouseDownEvent")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPCollectionView").super_class},"initWithFrame:",_5); +if(_3){ +_items=[]; +_content=[]; +_cachedItems=[]; +_itemSize=CGSizeMakeZero(); +_minItemSize=CGSizeMakeZero(); +_maxItemSize=CGSizeMakeZero(); +objj_msgSend(_3,"setBackgroundColors:",nil); +_verticalMargin=5; +_tileWidth=-1; +_selectionIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_allowsEmptySelection=YES; +_isSelectable=YES; +} +return _3; +} +}),new objj_method(sel_getUid("setItemPrototype:"),function(_6,_7,_8){ +with(_6){ +_cachedItems=[]; +_itemData=nil; +_itemForDragging=nil; +_itemPrototype=_8; +objj_msgSend(_6,"reloadContent"); +} +}),new objj_method(sel_getUid("itemPrototype"),function(_9,_a){ +with(_9){ +return _itemPrototype; +} +}),new objj_method(sel_getUid("newItemForRepresentedObject:"),function(_b,_c,_d){ +with(_b){ +var _e=nil; +if(_cachedItems.length){ +_e=_cachedItems.pop(); +}else{ +if(!_itemData){ +if(_itemPrototype){ +_itemData=objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_itemPrototype); +} +} +_e=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",_itemData); +} +objj_msgSend(_e,"setRepresentedObject:",_d); +objj_msgSend(objj_msgSend(_e,"view"),"setFrameSize:",_itemSize); +return _e; +} +}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_f,_10){ +with(_f){ +return YES; +} +}),new objj_method(sel_getUid("isFirstResponder"),function(_11,_12){ +with(_11){ +return objj_msgSend(objj_msgSend(_11,"window"),"firstResponder")===_11; +} +}),new objj_method(sel_getUid("setContent:"),function(_13,_14,_15){ +with(_13){ +if(_content==_15){ +return; +} +_content=_15; +objj_msgSend(_13,"reloadContent"); +} +}),new objj_method(sel_getUid("content"),function(_16,_17){ +with(_16){ +return _content; +} +}),new objj_method(sel_getUid("items"),function(_18,_19){ +with(_18){ +return _items; +} +}),new objj_method(sel_getUid("setSelectable:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_isSelectable==_1c){ +return; +} +_isSelectable=_1c; +if(!_isSelectable){ +var _1d=CPNotFound; +while((_1d=objj_msgSend(_selectionIndexes,"indexGreaterThanIndex:",_1d))!=CPNotFound){ +objj_msgSend(_items[_1d],"setSelected:",NO); +} +} +} +}),new objj_method(sel_getUid("isSelectable"),function(_1e,_1f){ +with(_1e){ +return _isSelectable; +} +}),new objj_method(sel_getUid("setAllowsEmptySelection:"),function(_20,_21,_22){ +with(_20){ +_allowsEmptySelection=_22; +} +}),new objj_method(sel_getUid("allowsEmptySelection"),function(_23,_24){ +with(_23){ +return _allowsEmptySelection; +} +}),new objj_method(sel_getUid("setAllowsMultipleSelection:"),function(_25,_26,_27){ +with(_25){ +_allowsMultipleSelection=_27; +} +}),new objj_method(sel_getUid("allowsMultipleSelection"),function(_28,_29){ +with(_28){ +return _allowsMultipleSelection; +} +}),new objj_method(sel_getUid("setSelectionIndexes:"),function(_2a,_2b,_2c){ +with(_2a){ +if(_selectionIndexes==_2c||!_isSelectable){ +return; +} +var _2d=CPNotFound; +while((_2d=objj_msgSend(_selectionIndexes,"indexGreaterThanIndex:",_2d))!=CPNotFound){ +objj_msgSend(_items[_2d],"setSelected:",NO); +} +_selectionIndexes=_2c; +var _2d=CPNotFound; +while((_2d=objj_msgSend(_selectionIndexes,"indexGreaterThanIndex:",_2d))!=CPNotFound){ +objj_msgSend(_items[_2d],"setSelected:",YES); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("collectionViewDidChangeSelection:"))){ +objj_msgSend(_delegate,"collectionViewDidChangeSelection:",_2a); +} +} +}),new objj_method(sel_getUid("selectionIndexes"),function(_2e,_2f){ +with(_2e){ +return objj_msgSend(_selectionIndexes,"copy"); +} +}),new objj_method(sel_getUid("reloadContent"),function(_30,_31){ +with(_30){ +var _32=_items.length; +while(_32--){ +objj_msgSend(objj_msgSend(_items[_32],"view"),"removeFromSuperview"); +objj_msgSend(_items[_32],"setSelected:",NO); +_cachedItems.push(_items[_32]); +} +_items=[]; +if(!_itemPrototype||!_content){ +return; +} +var _33=0; +_32=_content.length; +for(;_33<_32;++_33){ +_items.push(objj_msgSend(_30,"newItemForRepresentedObject:",_content[_33])); +objj_msgSend(_30,"addSubview:",objj_msgSend(_items[_33],"view")); +} +_33=CPNotFound; +while((_33=objj_msgSend(_selectionIndexes,"indexGreaterThanIndex:",_33))!=CPNotFound){ +objj_msgSend(_items[_33],"setSelected:",YES); +} +objj_msgSend(_30,"tile"); +} +}),new objj_method(sel_getUid("tile"),function(_34,_35){ +with(_34){ +var _36=CGRectGetWidth(objj_msgSend(_34,"bounds")); +if(!objj_msgSend(_content,"count")||_36==_tileWidth){ +return; +} +var _37=CGSizeMakeCopy(_minItemSize); +_numberOfColumns=MAX(1,FLOOR(_36/_37.width)); +if(_maxNumberOfColumns>0){ +_numberOfColumns=MIN(_maxNumberOfColumns,_numberOfColumns); +} +var _38=_36-_numberOfColumns*_37.width,_39=NO; +if(_38>0&&_37.width<_maxItemSize.width){ +_37.width=MIN(_maxItemSize.width,_37.width+FLOOR(_38/_numberOfColumns)); +} +if(_maxNumberOfColumns==1&&_37.width<_maxItemSize.width&&_37.width<_36){ +_37.width=MIN(_maxItemSize.width,_36); +} +if(!CGSizeEqualToSize(_itemSize,_37)){ +_itemSize=_37; +_39=YES; +} +var _3a=0,_3b=_items.length; +if(_maxNumberOfColumns>0&&_maxNumberOfRows>0){ +_3b=MIN(_3b,_maxNumberOfColumns*_maxNumberOfRows); +} +_numberOfRows=CEIL(_3b/_numberOfColumns); +_horizontalMargin=FLOOR((_36-_numberOfColumns*_37.width)/(_numberOfColumns+1)); +var x=_horizontalMargin,y=-_37.height; +for(;_3a<_3b;++_3a){ +if(_3a%_numberOfColumns==0){ +x=_horizontalMargin; +y+=_verticalMargin+_37.height; +} +var _3c=objj_msgSend(_items[_3a],"view"); +objj_msgSend(_3c,"setFrameOrigin:",CGPointMake(x,y)); +if(_39){ +objj_msgSend(_3c,"setFrameSize:",_itemSize); +} +x+=_37.width+_horizontalMargin; +} +_tileWidth=_36; +objj_msgSend(_34,"setFrameSize:",CGSizeMake(_36,y+_37.height+_verticalMargin)); +_tileWidth=-1; +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_3d,_3e,_3f){ +with(_3d){ +objj_msgSend(_3d,"tile"); +} +}),new objj_method(sel_getUid("setMaxNumberOfRows:"),function(_40,_41,_42){ +with(_40){ +if(_maxNumberOfRows==_42){ +return; +} +_maxNumberOfRows=_42; +objj_msgSend(_40,"tile"); +} +}),new objj_method(sel_getUid("maxNumberOfRows"),function(_43,_44){ +with(_43){ +return _maxNumberOfRows; +} +}),new objj_method(sel_getUid("setMaxNumberOfColumns:"),function(_45,_46,_47){ +with(_45){ +if(_maxNumberOfColumns==_47){ +return; +} +_maxNumberOfColumns=_47; +objj_msgSend(_45,"tile"); +} +}),new objj_method(sel_getUid("maxNumberOfColumns"),function(_48,_49){ +with(_48){ +return _maxNumberOfColumns; +} +}),new objj_method(sel_getUid("numberOfRows"),function(_4a,_4b){ +with(_4a){ +return _numberOfRows; +} +}),new objj_method(sel_getUid("numberOfColumns"),function(_4c,_4d){ +with(_4c){ +return _numberOfColumns; +} +}),new objj_method(sel_getUid("setMinItemSize:"),function(_4e,_4f,_50){ +with(_4e){ +if(CGSizeEqualToSize(_minItemSize,_50)){ +return; +} +_minItemSize=CGSizeMakeCopy(_50); +objj_msgSend(_4e,"tile"); +} +}),new objj_method(sel_getUid("minItemSize"),function(_51,_52){ +with(_51){ +return _minItemSize; +} +}),new objj_method(sel_getUid("setMaxItemSize:"),function(_53,_54,_55){ +with(_53){ +if(CGSizeEqualToSize(_maxItemSize,_55)){ +return; +} +_maxItemSize=CGSizeMakeCopy(_55); +objj_msgSend(_53,"tile"); +} +}),new objj_method(sel_getUid("maxItemSize"),function(_56,_57){ +with(_56){ +return _maxItemSize; +} +}),new objj_method(sel_getUid("setBackgroundColors:"),function(_58,_59,_5a){ +with(_58){ +if(_backgroundColors===_5a){ +return; +} +_backgroundColors=_5a; +if(!_backgroundColors){ +_backgroundColors=objj_msgSend(CPColor,"whiteColor"); +} +if(objj_msgSend(_backgroundColors,"count")===1){ +objj_msgSend(_58,"setBackgroundColor:",_backgroundColors[0]); +}else{ +objj_msgSend(_58,"setBackgroundColor:",nil); +} +objj_msgSend(_58,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("backgroundColors"),function(_5b,_5c){ +with(_5b){ +return _backgroundColors; +} +}),new objj_method(sel_getUid("mouseUp:"),function(_5d,_5e,_5f){ +with(_5d){ +if(objj_msgSend(_selectionIndexes,"count")&&objj_msgSend(_5f,"clickCount")==2&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("collectionView:didDoubleClickOnItemAtIndex:"))){ +objj_msgSend(_delegate,"collectionView:didDoubleClickOnItemAtIndex:",_5d,objj_msgSend(_selectionIndexes,"firstIndex")); +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_60,_61,_62){ +with(_60){ +_mouseDownEvent=_62; +var _63=objj_msgSend(_60,"convertPoint:fromView:",objj_msgSend(_62,"locationInWindow"),nil),row=FLOOR(_63.y/(_itemSize.height+_verticalMargin)),_64=FLOOR(_63.x/(_itemSize.width+_horizontalMargin)),_65=row*_numberOfColumns+_64; +if(_65>=0&&_65<_items.length){ +objj_msgSend(_60,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_65)); +}else{ +if(_allowsEmptySelection){ +objj_msgSend(_60,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSet")); +} +} +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_66,_67,_68){ +with(_66){ +if(!objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("collectionView:dragTypesForItemsAtIndexes:"))){ +return; +} +if(!objj_msgSend(_selectionIndexes,"count")){ +return; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("collectionView:canDragItemsAtIndexes:withEvent:"))&&!objj_msgSend(_delegate,"collectionView:canDragItemsAtIndexes:withEvent:",_66,_selectionIndexes,_mouseDownEvent)){ +return; +} +var _69=objj_msgSend(_delegate,"collectionView:dragTypesForItemsAtIndexes:",_66,_selectionIndexes); +objj_msgSend(objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard),"declareTypes:owner:",_69,_66); +var _6a=objj_msgSend(_66,"convertPoint:fromView:",objj_msgSend(_68,"locationInWindow"),nil); +if(!_itemForDragging){ +_itemForDragging=objj_msgSend(_66,"newItemForRepresentedObject:",_content[objj_msgSend(_selectionIndexes,"firstIndex")]); +}else{ +objj_msgSend(_itemForDragging,"setRepresentedObject:",_content[objj_msgSend(_selectionIndexes,"firstIndex")]); +} +var _6b=objj_msgSend(_itemForDragging,"view"); +objj_msgSend(_6b,"setFrameSize:",_itemSize); +objj_msgSend(_6b,"setAlphaValue:",0.7); +objj_msgSend(_66,"dragView:at:offset:event:pasteboard:source:slideBack:",_6b,objj_msgSend(objj_msgSend(_items[objj_msgSend(_selectionIndexes,"firstIndex")],"view"),"frame").origin,CGSizeMakeZero(),_mouseDownEvent,nil,_66,YES); +} +}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_6c,_6d,_6e,_6f){ +with(_6c){ +objj_msgSend(_6e,"setData:forType:",objj_msgSend(_delegate,"collectionView:dataForItemsAtIndexes:forType:",_6c,_selectionIndexes,_6f),_6f); +} +}),new objj_method(sel_getUid("setVerticalMargin:"),function(_70,_71,_72){ +with(_70){ +if(_verticalMargin==_72){ +return; +} +_verticalMargin=_72; +objj_msgSend(_70,"tile"); +} +}),new objj_method(sel_getUid("verticalMargin"),function(_73,_74){ +with(_73){ +return _verticalMargin; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_75,_76,_77){ +with(_75){ +_delegate=_77; +} +}),new objj_method(sel_getUid("delegate"),function(_78,_79){ +with(_78){ +return _delegate; +} +}),new objj_method(sel_getUid("itemAtIndex:"),function(_7a,_7b,_7c){ +with(_7a){ +return objj_msgSend(_items,"objectAtIndex:",_7c); +} +}),new objj_method(sel_getUid("frameForItemAtIndex:"),function(_7d,_7e,_7f){ +with(_7d){ +return objj_msgSend(objj_msgSend(objj_msgSend(_7d,"itemAtIndex:",_7f),"view"),"frame"); +} +}),new objj_method(sel_getUid("frameForItemsAtIndexes:"),function(_80,_81,_82){ +with(_80){ +var _83=[],_84=CGRectNull; +objj_msgSend(_82,"getIndexes:maxCount:inIndexRange:",_83,-1,nil); +var _85=0,_86=objj_msgSend(_83,"count"); +for(;_85<_86;++_85){ +_84=CGRectUnion(_84,objj_msgSend(_80,"rectForItemAtIndex:",_83[_85])); +} +return _84; +} +})]); +var _1=objj_getClass("CPCollectionView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPCollectionView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("_scrollToSelection"),function(_87,_88){ +with(_87){ +var _89=objj_msgSend(_87,"frameForItemsAtIndexes:",objj_msgSend(_87,"selectionIndexes")); +if(!CGRectIsNull(_89)){ +objj_msgSend(_87,"scrollRectToVisible:",_89); +} +} +}),new objj_method(sel_getUid("moveLeft:"),function(_8a,_8b,_8c){ +with(_8a){ +var _8d=objj_msgSend(objj_msgSend(_8a,"selectionIndexes"),"firstIndex"); +if(_8d===CPNotFound){ +_8d=objj_msgSend(objj_msgSend(_8a,"items"),"count"); +} +_8d=MAX(_8d-1,0); +objj_msgSend(_8a,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_8d)); +objj_msgSend(_8a,"_scrollToSelection"); +} +}),new objj_method(sel_getUid("moveRight:"),function(_8e,_8f,_90){ +with(_8e){ +var _91=MIN(objj_msgSend(objj_msgSend(_8e,"selectionIndexes"),"firstIndex")+1,objj_msgSend(objj_msgSend(_8e,"items"),"count")-1); +objj_msgSend(_8e,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_91)); +objj_msgSend(_8e,"_scrollToSelection"); +} +}),new objj_method(sel_getUid("moveDown:"),function(_92,_93,_94){ +with(_92){ +var _95=MIN(objj_msgSend(objj_msgSend(_92,"selectionIndexes"),"firstIndex")+objj_msgSend(_92,"numberOfColumns"),objj_msgSend(objj_msgSend(_92,"items"),"count")-1); +objj_msgSend(_92,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_95)); +objj_msgSend(_92,"_scrollToSelection"); +} +}),new objj_method(sel_getUid("moveUp:"),function(_96,_97,_98){ +with(_96){ +var _99=objj_msgSend(objj_msgSend(_96,"selectionIndexes"),"firstIndex"); +if(_99==CPNotFound){ +_99=objj_msgSend(objj_msgSend(_96,"items"),"count"); +} +_99=MAX(0,_99-objj_msgSend(_96,"numberOfColumns")); +objj_msgSend(_96,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_99)); +objj_msgSend(_96,"_scrollToSelection"); +} +}),new objj_method(sel_getUid("deleteBackward:"),function(_9a,_9b,_9c){ +with(_9a){ +if(objj_msgSend(objj_msgSend(_9a,"delegate"),"respondsToSelector:",sel_getUid("collectionView:shouldDeleteItemsAtIndexes:"))){ +objj_msgSend(objj_msgSend(_9a,"delegate"),"collectionView:shouldDeleteItemsAtIndexes:",_9a,objj_msgSend(_9a,"selectionIndexes")); +var _9d=objj_msgSend(objj_msgSend(_9a,"selectionIndexes"),"firstIndex"); +if(_9d>objj_msgSend(objj_msgSend(_9a,"content"),"count")-1){ +objj_msgSend(_9a,"setSelectionIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",objj_msgSend(objj_msgSend(_9a,"content"),"count")-1)); +} +objj_msgSend(_9a,"_scrollToSelection"); +objj_msgSend(_9a,"setNeedsDisplay:",YES); +} +} +}),new objj_method(sel_getUid("keyDown:"),function(_9e,_9f,_a0){ +with(_9e){ +objj_msgSend(_9e,"interpretKeyEvents:",[_a0]); +} +})]); +var _1=objj_getClass("CPCollectionView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPCollectionView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("rectForItemAtIndex:"),function(_a1,_a2,_a3){ +with(_a1){ +_CPReportLenientDeprecation(objj_msgSend(_a1,"class"),_a2,sel_getUid("frameForItemAtIndex:")); +return objj_msgSend(_a1,"frameForItemAtIndex:",_a3); +} +}),new objj_method(sel_getUid("rectForItemsAtIndexes:"),function(_a4,_a5,_a6){ +with(_a4){ +_CPReportLenientDeprecation(objj_msgSend(_a4,"class"),_a5,sel_getUid("frameForItemsAtIndexes:")); +return objj_msgSend(_a4,"frameForItemsAtIndexes:",_a6); +} +})]); +var _a7="CPCollectionViewMinItemSizeKey",_a8="CPCollectionViewMaxItemSizeKey",_a9="CPCollectionViewVerticalMarginKey",_aa="CPCollectionViewSelectableKey",_ab="CPCollectionViewBackgroundColorsKey"; +var _1=objj_getClass("CPCollectionView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPCollectionView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_ac,_ad,_ae){ +with(_ac){ +_ac=objj_msgSendSuper({receiver:_ac,super_class:objj_getClass("CPCollectionView").super_class},"initWithCoder:",_ae); +if(_ac){ +_items=[]; +_content=[]; +_cachedItems=[]; +_itemSize=CGSizeMakeZero(); +_minItemSize=objj_msgSend(_ae,"decodeSizeForKey:",_a7)||CGSizeMakeZero(); +_maxItemSize=objj_msgSend(_ae,"decodeSizeForKey:",_a8)||CGSizeMakeZero(); +_verticalMargin=objj_msgSend(_ae,"decodeFloatForKey:",_a9); +_isSelectable=objj_msgSend(_ae,"decodeBoolForKey:",_aa); +objj_msgSend(_ac,"setBackgroundColors:",objj_msgSend(_ae,"decodeObjectForKey:",_ab)); +_tileWidth=-1; +_selectionIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_allowsEmptySelection=YES; +} +return _ac; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_af,_b0,_b1){ +with(_af){ +objj_msgSendSuper({receiver:_af,super_class:objj_getClass("CPCollectionView").super_class},"encodeWithCoder:",_b1); +if(!CGSizeEqualToSize(_minItemSize,CGSizeMakeZero())){ +objj_msgSend(_b1,"encodeSize:forKey:",_minItemSize,_a7); +} +if(!CGSizeEqualToSize(_maxItemSize,CGSizeMakeZero())){ +objj_msgSend(_b1,"encodeSize:forKey:",_maxItemSize,_a8); +} +objj_msgSend(_b1,"encodeBool:forKey:",_isSelectable,_aa); +objj_msgSend(_b1,"encodeFloat:forKey:",_verticalMargin,_a9); +objj_msgSend(_b1,"encodeObject:forKey:",_backgroundColors,_ab); +} +})]); +p;22;CPCollectionViewItem.jt;1188;@STATIC;1.0;i;18;CPViewController.jt;1146; +objj_executeFile("CPViewController.j",YES); +var _1=objj_allocateClassPair(CPViewController,"CPCollectionViewItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_isSelected")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setRepresentedObject:"),function(_3,_4,_5){ +with(_3){ +objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPCollectionViewItem").super_class},"setRepresentedObject:",_5); +var _6=objj_msgSend(_3,"view"); +if(objj_msgSend(_6,"respondsToSelector:",sel_getUid("setRepresentedObject:"))){ +objj_msgSend(_6,"setRepresentedObject:",objj_msgSend(_3,"representedObject")); +} +} +}),new objj_method(sel_getUid("setSelected:"),function(_7,_8,_9){ +with(_7){ +_9=!!_9; +if(_isSelected===_9){ +return; +} +_isSelected=_9; +var _a=objj_msgSend(_7,"view"); +if(objj_msgSend(_a,"respondsToSelector:",sel_getUid("setSelected:"))){ +objj_msgSend(_a,"setSelected:",objj_msgSend(_7,"isSelected")); +} +} +}),new objj_method(sel_getUid("isSelected"),function(_b,_c){ +with(_b){ +return _isSelected; +} +}),new objj_method(sel_getUid("collectionView"),function(_d,_e){ +with(_d){ +return objj_msgSend(_view,"superview"); +} +})]); +p;9;CPColor.jt;14567;@STATIC;1.0;I;21;Foundation/CPObject.ji;9;CGColor.ji;17;CPCompatibility.ji;9;CPImage.jt;14473; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CGColor.j",YES); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("CPImage.j",YES); +var _1=0,_2=1,_3=2,_4=3; +var _5=0,_6=1,_7=2; +var _8,_9,_a,_b,_c,_d,_e,_f,_10,_11,_12,_13,_14,_15,_16,_17; +var _18=objj_allocateClassPair(CPObject,"CPColor"),_19=_18.isa; +class_addIvars(_18,[new objj_ivar("_components"),new objj_ivar("_patternImage"),new objj_ivar("_cssString")]); +objj_registerClassPair(_18); +class_addMethods(_18,[new objj_method(sel_getUid("_initWithCSSString:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_1c.indexOf("rgb")==CPNotFound){ +return nil; +} +_1a=objj_msgSendSuper({receiver:_1a,super_class:objj_getClass("CPColor").super_class},"init"); +var _1d=_1c.indexOf("("); +var _1e=_1c.substring(_1d+1).split(","); +_components=[parseInt(_1e[0],10)/255,parseInt(_1e[1],10)/255,parseInt(_1e[2],10)/255,_1e[3]?parseInt(_1e[3],10)/255:1]; +_cssString=_1c; +return _1a; +} +}),new objj_method(sel_getUid("_initWithRGBA:"),function(_1f,_20,_21){ +with(_1f){ +_1f=objj_msgSendSuper({receiver:_1f,super_class:objj_getClass("CPColor").super_class},"init"); +if(_1f){ +_components=_21; +if(!CPFeatureIsCompatible(CPCSSRGBAFeature)&&_components[3]!=1&&window.Base64&&window.CRC32){ +var _22=[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,1,0,0,0,1,8,3,0,0,0,40,203,52,187,0,0,3,0,80,76,84,69,255,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,23,137,153,85,0,0,0,1,116,82,78,83,0,64,230,216,102,0,0,0,16,73,68,65,84,120,218,98,96,0,0,0,0,255,255,3,0,0,2,0,1,36,127,36,241,0,0,0,0,73,69,78,68,174,66,96,130,255]; +var _23=41; +var _24=42; +var _25=43; +var _26=821; +var _27=809; +var _28=822; +var _29=37; +var _2a=817; +_22[_23]=Math.round(_components[0]*255); +_22[_24]=Math.round(_components[1]*255); +_22[_25]=Math.round(_components[2]*255); +_22[_26]=Math.round(_components[3]*255); +var _2b=_2c(CRC32.getCRC(_22,_29,4+768),4); +var _2d=_2c(CRC32.getCRC(_22,_2a,4+1),4); +for(var i=0;i<4;i++){ +_22[_27+i]=_2b[i]; +_22[_28+i]=_2d[i]; +} +var _2e=Base64.encode(_22); +_cssString="url(\"data:image/png;base64,"+_2e+"\")"; +}else{ +var _2f=CPFeatureIsCompatible(CPCSSRGBAFeature)&&_components[3]!=1; +_cssString=(_2f?"rgba(":"rgb(")+parseInt(_components[0]*255)+", "+parseInt(_components[1]*255)+", "+parseInt(_components[2]*255)+(_2f?(", "+_components[3]):"")+")"; +} +} +return _1f; +} +}),new objj_method(sel_getUid("_initWithPatternImage:"),function(_30,_31,_32){ +with(_30){ +_30=objj_msgSendSuper({receiver:_30,super_class:objj_getClass("CPColor").super_class},"init"); +if(_30){ +_patternImage=_32; +_cssString="url(\""+objj_msgSend(_patternImage,"filename")+"\")"; +} +return _30; +} +}),new objj_method(sel_getUid("patternImage"),function(_33,_34){ +with(_33){ +return _patternImage; +} +}),new objj_method(sel_getUid("alphaComponent"),function(_35,_36){ +with(_35){ +return _components[3]; +} +}),new objj_method(sel_getUid("blueComponent"),function(_37,_38){ +with(_37){ +return _components[2]; +} +}),new objj_method(sel_getUid("greenComponent"),function(_39,_3a){ +with(_39){ +return _components[1]; +} +}),new objj_method(sel_getUid("redComponent"),function(_3b,_3c){ +with(_3b){ +return _components[0]; +} +}),new objj_method(sel_getUid("components"),function(_3d,_3e){ +with(_3d){ +return _components; +} +}),new objj_method(sel_getUid("colorWithAlphaComponent:"),function(_3f,_40,_41){ +with(_3f){ +var _42=_components.slice(); +_42[_42.length-1]=_41; +return objj_msgSend(objj_msgSend(objj_msgSend(_3f,"class"),"alloc"),"_initWithRGBA:",_42); +} +}),new objj_method(sel_getUid("hsbComponents"),function(_43,_44){ +with(_43){ +var red=ROUND(_components[_1]*255),_45=ROUND(_components[_2]*255),_46=ROUND(_components[_3]*255); +var max=MAX(red,_45,_46),min=MIN(red,_45,_46),_47=max-min; +var _48=max/255,_49=(max!=0)?_47/max:0; +var hue; +if(_49==0){ +hue=0; +}else{ +var rr=(max-red)/_47; +var gr=(max-_45)/_47; +var br=(max-_46)/_47; +if(red==max){ +hue=br-gr; +}else{ +if(_45==max){ +hue=2+rr-br; +}else{ +hue=4+gr-rr; +} +} +hue/=6; +if(hue<0){ +hue++; +} +} +return [ROUND(hue*360),ROUND(_49*100),ROUND(_48*100)]; +} +}),new objj_method(sel_getUid("cssString"),function(_4a,_4b){ +with(_4a){ +return _cssString; +} +}),new objj_method(sel_getUid("hexString"),function(_4c,_4d){ +with(_4c){ +return _4e(objj_msgSend(_4c,"redComponent"),objj_msgSend(_4c,"greenComponent"),objj_msgSend(_4c,"blueComponent")); +} +}),new objj_method(sel_getUid("isEqual:"),function(_4f,_50,_51){ +with(_4f){ +if(!_51){ +return NO; +} +if(_51===_4f){ +return YES; +} +return objj_msgSend(_51,"isKindOfClass:",CPColor)&&objj_msgSend(_51,"cssString")===objj_msgSend(_4f,"cssString"); +} +}),new objj_method(sel_getUid("description"),function(_52,_53){ +with(_52){ +return objj_msgSendSuper({receiver:_52,super_class:objj_getClass("CPColor").super_class},"description")+" "+objj_msgSend(_52,"cssString"); +} +})]); +class_addMethods(_19,[new objj_method(sel_getUid("colorWithRed:green:blue:alpha:"),function(_54,_55,red,_56,_57,_58){ +with(_54){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[red,_56,_57,_58]); +} +}),new objj_method(sel_getUid("colorWithCalibratedRed:green:blue:alpha:"),function(_59,_5a,red,_5b,_5c,_5d){ +with(_59){ +return objj_msgSend(_59,"colorWithRed:green:blue:alpha:",red,_5b,_5c,_5d); +} +}),new objj_method(sel_getUid("colorWithWhite:alpha:"),function(_5e,_5f,_60,_61){ +with(_5e){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[_60,_60,_60,_61]); +} +}),new objj_method(sel_getUid("colorWithCalibratedWhite:alpha:"),function(_62,_63,_64,_65){ +with(_62){ +return objj_msgSend(_62,"colorWithWhite:alpha:",_64,_65); +} +}),new objj_method(sel_getUid("colorWithHue:saturation:brightness:"),function(_66,_67,hue,_68,_69){ +with(_66){ +return objj_msgSend(_66,"colorWithHue:saturation:brightness:alpha:",hue,_68,_69,1); +} +}),new objj_method(sel_getUid("colorWithHue:saturation:brightness:alpha:"),function(_6a,_6b,hue,_6c,_6d,_6e){ +with(_6a){ +if(_6c===0){ +return objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",_6d/100,_6e); +} +var f=hue%60,p=(_6d*(100-_6c))/10000,q=(_6d*(6000-_6c*f))/600000,t=(_6d*(6000-_6c*(60-f)))/600000,b=_6d/100; +switch(FLOOR(hue/60)){ +case 0: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",b,t,p,_6e); +case 1: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",q,b,p,_6e); +case 2: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",p,b,t,_6e); +case 3: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",p,q,b,_6e); +case 4: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",t,p,b,_6e); +case 5: +return objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",b,p,q,_6e); +} +} +}),new objj_method(sel_getUid("colorWithHexString:"),function(_6f,_70,hex){ +with(_6f){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",_71(hex)); +} +}),new objj_method(sel_getUid("blackColor"),function(_72,_73){ +with(_72){ +if(!_8){ +_8=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,0,0,1]); +} +return _8; +} +}),new objj_method(sel_getUid("blueColor"),function(_74,_75){ +with(_74){ +if(!_b){ +_b=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,0,1,1]); +} +return _b; +} +}),new objj_method(sel_getUid("darkGrayColor"),function(_76,_77){ +with(_76){ +if(!_f){ +_f=objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",1/3,1); +} +return _f; +} +}),new objj_method(sel_getUid("grayColor"),function(_78,_79){ +with(_78){ +if(!_d){ +_d=objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",0.5,1); +} +return _d; +} +}),new objj_method(sel_getUid("greenColor"),function(_7a,_7b){ +with(_7a){ +if(!_a){ +_a=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,1,0,1]); +} +return _a; +} +}),new objj_method(sel_getUid("lightGrayColor"),function(_7c,_7d){ +with(_7c){ +if(!_e){ +_e=objj_msgSend(CPColor,"colorWithCalibratedWhite:alpha:",2/3,1); +} +return _e; +} +}),new objj_method(sel_getUid("redColor"),function(_7e,_7f){ +with(_7e){ +if(!_9){ +_9=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,0,0,1]); +} +return _9; +} +}),new objj_method(sel_getUid("whiteColor"),function(_80,_81){ +with(_80){ +if(!_10){ +_10=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,1,1,1]); +} +return _10; +} +}),new objj_method(sel_getUid("yellowColor"),function(_82,_83){ +with(_82){ +if(!_c){ +_c=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,1,0,1]); +} +return _c; +} +}),new objj_method(sel_getUid("brownColor"),function(_84,_85){ +with(_84){ +if(!_11){ +_11=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0.6,0.4,0.2,1]); +} +return _11; +} +}),new objj_method(sel_getUid("cyanColor"),function(_86,_87){ +with(_86){ +if(!_12){ +_12=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,1,1,1]); +} +return _12; +} +}),new objj_method(sel_getUid("magentaColor"),function(_88,_89){ +with(_88){ +if(!_13){ +_13=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,0,1,1]); +} +return _13; +} +}),new objj_method(sel_getUid("orangeColor"),function(_8a,_8b){ +with(_8a){ +if(!_14){ +_14=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[1,0.5,0,1]); +} +return _14; +} +}),new objj_method(sel_getUid("purpleColor"),function(_8c,_8d){ +with(_8c){ +if(!_15){ +_15=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0.5,0,0.5,1]); +} +return _15; +} +}),new objj_method(sel_getUid("shadowColor"),function(_8e,_8f){ +with(_8e){ +if(!_16){ +_16=objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0,0,0,1/3]); +} +return _16; +} +}),new objj_method(sel_getUid("clearColor"),function(_90,_91){ +with(_90){ +if(!_17){ +_17=objj_msgSend(_90,"colorWithCalibratedWhite:alpha:",0,0); +} +return _17; +} +}),new objj_method(sel_getUid("alternateSelectedControlColor"),function(_92,_93){ +with(_92){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0.22,0.46,0.84,1]); +} +}),new objj_method(sel_getUid("secondarySelectedControlColor"),function(_94,_95){ +with(_94){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithRGBA:",[0.83,0.83,0.83,1]); +} +}),new objj_method(sel_getUid("colorWithPatternImage:"),function(_96,_97,_98){ +with(_96){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithPatternImage:",_98); +} +}),new objj_method(sel_getUid("colorWithCSSString:"),function(_99,_9a,_9b){ +with(_99){ +return objj_msgSend(objj_msgSend(CPColor,"alloc"),"_initWithCSSString:",_9b); +} +})]); +var _18=objj_getClass("CPColor"); +if(!_18){ +throw new SyntaxError("*** Could not find definition for class \"CPColor\""); +} +var _19=_18.isa; +class_addMethods(_18,[new objj_method(sel_getUid("set"),function(_9c,_9d){ +with(_9c){ +objj_msgSend(_9c,"setFill"); +objj_msgSend(_9c,"setStroke"); +} +}),new objj_method(sel_getUid("setFill"),function(_9e,_9f){ +with(_9e){ +var ctx=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetFillColor(ctx,_9e); +} +}),new objj_method(sel_getUid("setStroke"),function(_a0,_a1){ +with(_a0){ +var ctx=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetStrokeColor(ctx,_a0); +} +})]); +var _18=objj_getClass("CPColor"); +if(!_18){ +throw new SyntaxError("*** Could not find definition for class \"CPColor\""); +} +var _19=_18.isa; +class_addMethods(_19,[new objj_method(sel_getUid("randomColor"),function(_a2,_a3){ +with(_a2){ +return objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",RAND(),RAND(),RAND(),1); +} +})]); +var _a4="CPColorComponentsKey",_a5="CPColorPatternImageKey"; +var _18=objj_getClass("CPColor"); +if(!_18){ +throw new SyntaxError("*** Could not find definition for class \"CPColor\""); +} +var _19=_18.isa; +class_addMethods(_18,[new objj_method(sel_getUid("initWithCoder:"),function(_a6,_a7,_a8){ +with(_a6){ +if(objj_msgSend(_a8,"containsValueForKey:",_a5)){ +return objj_msgSend(_a6,"_initWithPatternImage:",objj_msgSend(_a8,"decodeObjectForKey:",_a5)); +} +return objj_msgSend(_a6,"_initWithRGBA:",objj_msgSend(_a8,"decodeObjectForKey:",_a4)); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_a9,_aa,_ab){ +with(_a9){ +if(_patternImage){ +objj_msgSend(_ab,"encodeObject:forKey:",_patternImage,_a5); +}else{ +objj_msgSend(_ab,"encodeObject:forKey:",_components,_a4); +} +} +})]); +var _ac="0123456789ABCDEF"; +var _71,_2c,_4e,_ad; +_71=function(hex){ +if(hex.length==3){ +hex=hex.charAt(0)+hex.charAt(0)+hex.charAt(1)+hex.charAt(1)+hex.charAt(2)+hex.charAt(2); +} +if(hex.length!=6){ +return null; +} +hex=hex.toUpperCase(); +for(var i=0;i=0;i--){ +_b2[i]=_b0&255; +_b0=_b0>>8; +} +return _b2; +}; +_4e=function(r,g,b){ +return _ad(r)+_ad(g)+_ad(b); +}; +_ad=function(n){ +if(!n||isNaN(n)){ +return "00"; +} +n=ROUND(MIN(255,MAX(0,256*n))); +return _ac.charAt((n-n%16)/16)+_ac.charAt(n%16); +}; +p;14;CPColorPanel.jt;16850;@STATIC;1.0;i;10;CPButton.ji;10;CPCookie.ji;9;CPPanel.ji;8;CPView.ji;15;CPColorPicker.ji;21;CPSliderColorPicker.jt;16729; +objj_executeFile("CPButton.j",YES); +objj_executeFile("CPCookie.j",YES); +objj_executeFile("CPPanel.j",YES); +objj_executeFile("CPView.j",YES); +CPColorPanelColorDidChangeNotification="CPColorPanelColorDidChangeNotification"; +var _1=20,_2=32,_3=14,_4=32,_5=12; +var _6=nil,_7=[]; +CPWheelColorPickerMode=1; +CPSliderColorPickerMode=2; +CPColorPickerViewWidth=265,CPColorPickerViewHeight=370; +var _8=objj_allocateClassPair(CPPanel,"CPColorPanel"),_9=_8.isa; +class_addIvars(_8,[new objj_ivar("_toolbar"),new objj_ivar("_swatchView"),new objj_ivar("_previewView"),new objj_ivar("_opacitySlider"),new objj_ivar("_colorPickers"),new objj_ivar("_currentView"),new objj_ivar("_activePicker"),new objj_ivar("_color"),new objj_ivar("_target"),new objj_ivar("_action"),new objj_ivar("_mode")]); +objj_registerClassPair(_8); +class_addMethods(_8,[new objj_method(sel_getUid("init"),function(_a,_b){ +with(_a){ +_a=objj_msgSendSuper({receiver:_a,super_class:objj_getClass("CPColorPanel").super_class},"initWithContentRect:styleMask:",CGRectMake(500,50,219,370),(CPTitledWindowMask|CPClosableWindowMask|CPResizableWindowMask)); +if(_a){ +objj_msgSend(objj_msgSend(_a,"contentView"),"setBackgroundColor:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.95,1)); +objj_msgSend(_a,"setTitle:","Color Panel"); +objj_msgSend(_a,"setLevel:",CPFloatingWindowLevel); +objj_msgSend(_a,"setFloatingPanel:",YES); +objj_msgSend(_a,"setBecomesKeyOnlyIfNeeded:",YES); +objj_msgSend(_a,"setMinSize:",CGSizeMake(219,342)); +objj_msgSend(_a,"setMaxSize:",CGSizeMake(323,537)); +} +return _a; +} +}),new objj_method(sel_getUid("setColor:"),function(_c,_d,_e){ +with(_c){ +_color=_e; +objj_msgSend(_previewView,"setBackgroundColor:",_color); +objj_msgSend(CPApp,"sendAction:to:from:",sel_getUid("changeColor:"),nil,_c); +if(_target&&_action){ +objj_msgSend(CPApp,"sendAction:to:from:",_action,_target,_c); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPColorPanelColorDidChangeNotification,_c); +objj_msgSend(_activePicker,"setColor:",_color); +objj_msgSend(_opacitySlider,"setFloatValue:",objj_msgSend(_color,"alphaComponent")); +} +}),new objj_method(sel_getUid("setColor:updatePicker:"),function(_f,_10,_11,_12){ +with(_f){ +objj_msgSend(_f,"setColor:",_11); +if(_12){ +objj_msgSend(_activePicker,"setColor:",_color); +} +} +}),new objj_method(sel_getUid("color"),function(_13,_14){ +with(_13){ +return _color; +} +}),new objj_method(sel_getUid("opacity"),function(_15,_16){ +with(_15){ +return objj_msgSend(_opacitySlider,"floatValue"); +} +}),new objj_method(sel_getUid("setTarget:"),function(_17,_18,_19){ +with(_17){ +_target=_19; +} +}),new objj_method(sel_getUid("target"),function(_1a,_1b){ +with(_1a){ +return _target; +} +}),new objj_method(sel_getUid("setAction:"),function(_1c,_1d,_1e){ +with(_1c){ +_action=_1e; +} +}),new objj_method(sel_getUid("action"),function(_1f,_20){ +with(_1f){ +return _action; +} +}),new objj_method(sel_getUid("setMode:"),function(_21,_22,_23){ +with(_21){ +_mode=_23; +} +}),new objj_method(sel_getUid("_setPicker:"),function(_24,_25,_26){ +with(_24){ +var _27=_colorPickers[objj_msgSend(_26,"tag")],_28=objj_msgSend(_27,"provideNewView:",NO); +if(!_28){ +_28=objj_msgSend(_27,"provideNewView:",YES); +} +if(_28==_currentView){ +return; +} +if(_currentView){ +objj_msgSend(_28,"setFrame:",objj_msgSend(_currentView,"frame")); +}else{ +var _29=(_2+10+_1+5+_3+32),_2a=objj_msgSend(objj_msgSend(_24,"contentView"),"bounds"); +objj_msgSend(_28,"setFrameSize:",CPSizeMake(_2a.size.width-10,_2a.size.height-_29)); +objj_msgSend(_28,"setFrameOrigin:",CPPointMake(5,_29)); +} +objj_msgSend(_currentView,"removeFromSuperview"); +objj_msgSend(objj_msgSend(_24,"contentView"),"addSubview:",_28); +_currentView=_28; +_activePicker=_27; +objj_msgSend(_27,"setColor:",objj_msgSend(_24,"color")); +} +}),new objj_method(sel_getUid("mode"),function(_2b,_2c){ +with(_2b){ +return _mode; +} +}),new objj_method(sel_getUid("orderFront:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSend(_2d,"_loadContentsIfNecessary"); +objj_msgSendSuper({receiver:_2d,super_class:objj_getClass("CPColorPanel").super_class},"orderFront:",_2f); +} +}),new objj_method(sel_getUid("_loadContentsIfNecessary"),function(_30,_31){ +with(_30){ +if(_toolbar){ +return; +} +if(!_color){ +_color=objj_msgSend(CPColor,"whiteColor"); +} +_colorPickers=[]; +var _32=objj_msgSend(_7,"count"); +for(var i=0;i<_32;i++){ +var _33=_7[i],_34=objj_msgSend(objj_msgSend(_33,"alloc"),"initWithPickerMask:colorPanel:",0,_30); +_colorPickers.push(_34); +} +var _35=objj_msgSend(_30,"contentView"),_36=objj_msgSend(_35,"bounds"); +_toolbar=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,6,CGRectGetWidth(_36),_2)); +objj_msgSend(_toolbar,"setAutoresizingMask:",CPViewWidthSizable); +var _37=_32*_4+(_32-1)*_5,_38=(CGRectGetWidth(_36)-_37)/2,_39=nil; +for(var i=0;i<_32;i++){ +var _3a=objj_msgSend(_colorPickers[i],"provideNewButtonImage"),_3b=objj_msgSend(_colorPickers[i],"provideNewAlternateButtonImage"),_3c=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(_38+i*(_4+_5),0,_4,_4)); +objj_msgSend(_3c,"setTag:",i); +objj_msgSend(_3c,"setTarget:",_30); +objj_msgSend(_3c,"setAction:",sel_getUid("_setPicker:")); +objj_msgSend(_3c,"setBordered:",NO); +objj_msgSend(_3c,"setAutoresizingMask:",CPViewMinXMargin|CPViewMaxXMargin); +objj_msgSend(_3c,"setImage:",_3a); +objj_msgSend(_3c,"setAlternateImage:",_3b); +objj_msgSend(_toolbar,"addSubview:",_3c); +if(!_39){ +_39=_3c; +} +} +var _3d=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(76,_2+10,CGRectGetWidth(_36)-86,_1)); +_previewView=objj_msgSend(objj_msgSend(_CPColorPanelPreview,"alloc"),"initWithFrame:",CGRectInset(objj_msgSend(_3d,"bounds"),2,2)); +objj_msgSend(_previewView,"setColorPanel:",_30); +objj_msgSend(_previewView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_3d,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.8,1)); +objj_msgSend(_3d,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_3d,"addSubview:",_previewView); +var _3e=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(10,_2+10,60,15)); +objj_msgSend(_3e,"setStringValue:","Preview:"); +objj_msgSend(_3e,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_3e,"setAlignment:",CPRightTextAlignment); +var _3f=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(76,_2+10+_1+5,CGRectGetWidth(_36)-86,_3+2)); +objj_msgSend(_3f,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithWhite:alpha:",0.8,1)); +objj_msgSend(_3f,"setAutoresizingMask:",CPViewWidthSizable); +_swatchView=objj_msgSend(objj_msgSend(_CPColorPanelSwatches,"alloc"),"initWithFrame:",CGRectInset(objj_msgSend(_3f,"bounds"),1,1)); +objj_msgSend(_swatchView,"setColorPanel:",_30); +objj_msgSend(_swatchView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_3f,"addSubview:",_swatchView); +var _40=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(10,_2+8+_1+6,60,15)); +objj_msgSend(_40,"setStringValue:","Swatches:"); +objj_msgSend(_40,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_40,"setAlignment:",CPRightTextAlignment); +var _41=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(10,_2+_1+35,60,20)); +objj_msgSend(_41,"setStringValue:","Opacity:"); +objj_msgSend(_41,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_41,"setAlignment:",CPRightTextAlignment); +_opacitySlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CGRectMake(76,_2+_1+34,CGRectGetWidth(_36)-86,20)); +objj_msgSend(_opacitySlider,"setMinValue:",0); +objj_msgSend(_opacitySlider,"setMaxValue:",1); +objj_msgSend(_opacitySlider,"setTarget:",_30); +objj_msgSend(_opacitySlider,"setAction:",sel_getUid("setOpacity:")); +objj_msgSend(_35,"addSubview:",_toolbar); +objj_msgSend(_35,"addSubview:",_3d); +objj_msgSend(_35,"addSubview:",_3e); +objj_msgSend(_35,"addSubview:",_3f); +objj_msgSend(_35,"addSubview:",_40); +objj_msgSend(_35,"addSubview:",_41); +objj_msgSend(_35,"addSubview:",_opacitySlider); +_target=nil; +_action=nil; +_activePicker=nil; +objj_msgSend(_previewView,"setBackgroundColor:",_color); +if(_39){ +objj_msgSend(_30,"_setPicker:",_39); +} +} +}),new objj_method(sel_getUid("setOpacity:"),function(_42,_43,_44){ +with(_42){ +var _45=objj_msgSend(objj_msgSend(_42,"color"),"components"),_46=objj_msgSend(_44,"floatValue"); +objj_msgSend(_42,"setColor:updatePicker:",objj_msgSend(_color,"colorWithAlphaComponent:",_46),YES); +} +})]); +class_addMethods(_9,[new objj_method(sel_getUid("provideColorPickerClass:"),function(_47,_48,_49){ +with(_47){ +_7.push(_49); +} +}),new objj_method(sel_getUid("sharedColorPanel"),function(_4a,_4b){ +with(_4a){ +if(!_6){ +_6=objj_msgSend(objj_msgSend(CPColorPanel,"alloc"),"init"); +} +return _6; +} +}),new objj_method(sel_getUid("setPickerMode:"),function(_4c,_4d,_4e){ +with(_4c){ +var _4f=objj_msgSend(CPColorPanel,"sharedColorPanel"); +objj_msgSend(_4f,"setMode:",_4e); +} +})]); +CPColorDragType="CPColorDragType"; +var _50="CPColorPanelSwatchesCookie"; +var _8=objj_allocateClassPair(CPView,"_CPColorPanelSwatches"),_9=_8.isa; +class_addIvars(_8,[new objj_ivar("_swatches"),new objj_ivar("_dragColor"),new objj_ivar("_colorPanel"),new objj_ivar("_swatchCookie")]); +objj_registerClassPair(_8); +class_addMethods(_8,[new objj_method(sel_getUid("initWithFrame:"),function(_51,_52,_53){ +with(_51){ +_51=objj_msgSendSuper({receiver:_51,super_class:objj_getClass("_CPColorPanelSwatches").super_class},"initWithFrame:",_53); +objj_msgSend(_51,"setBackgroundColor:",objj_msgSend(CPColor,"grayColor")); +objj_msgSend(_51,"registerForDraggedTypes:",objj_msgSend(CPArray,"arrayWithObjects:",CPColorDragType)); +var _54=objj_msgSend(CPColor,"whiteColor"); +_swatchCookie=objj_msgSend(objj_msgSend(CPCookie,"alloc"),"initWithName:",_50); +var _55=objj_msgSend(_51,"startingColorList"); +_swatches=[]; +for(var i=0;i<50;i++){ +var _56=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CPRectMake(13*i+1,1,12,12)),_57=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectInset(objj_msgSend(_56,"bounds"),1,1)); +objj_msgSend(_56,"setBackgroundColor:",_54); +objj_msgSend(_57,"setBackgroundColor:",(i<_55.length)?_55[i]:_54); +objj_msgSend(_56,"addSubview:",_57); +objj_msgSend(_51,"addSubview:",_56); +_swatches.push(_56); +} +return _51; +} +}),new objj_method(sel_getUid("isOpaque"),function(_58,_59){ +with(_58){ +return YES; +} +}),new objj_method(sel_getUid("startingColorList"),function(_5a,_5b){ +with(_5a){ +var _5c=objj_msgSend(_swatchCookie,"value"); +if(_5c==""){ +return [objj_msgSend(CPColor,"blackColor"),objj_msgSend(CPColor,"darkGrayColor"),objj_msgSend(CPColor,"grayColor"),objj_msgSend(CPColor,"lightGrayColor"),objj_msgSend(CPColor,"whiteColor"),objj_msgSend(CPColor,"redColor"),objj_msgSend(CPColor,"greenColor"),objj_msgSend(CPColor,"blueColor"),objj_msgSend(CPColor,"yellowColor")]; +} +var _5c=eval(_5c); +var _5d=[]; +for(var i=0;i<_5c.length;i++){ +_5d.push(objj_msgSend(CPColor,"colorWithHexString:",_5c[i])); +} +return _5d; +} +}),new objj_method(sel_getUid("saveColorList"),function(_5e,_5f){ +with(_5e){ +var _60=[]; +for(var i=0;i<_swatches.length;i++){ +_60.push(objj_msgSend(objj_msgSend(objj_msgSend(_swatches[i],"subviews")[0],"backgroundColor"),"hexString")); +} +var _61=new Date(); +_61.setYear(2019); +objj_msgSend(_swatchCookie,"setValue:expires:domain:",JSON.stringify(_60),_61,nil); +} +}),new objj_method(sel_getUid("setColorPanel:"),function(_62,_63,_64){ +with(_62){ +_colorPanel=_64; +} +}),new objj_method(sel_getUid("colorPanel"),function(_65,_66){ +with(_65){ +return _colorPanel; +} +}),new objj_method(sel_getUid("colorAtIndex:"),function(_67,_68,_69){ +with(_67){ +return objj_msgSend(objj_msgSend(_swatches[_69],"subviews")[0],"backgroundColor"); +} +}),new objj_method(sel_getUid("setColor:atIndex:"),function(_6a,_6b,_6c,_6d){ +with(_6a){ +objj_msgSend(objj_msgSend(_swatches[_6d],"subviews")[0],"setBackgroundColor:",_6c); +objj_msgSend(_6a,"saveColorList"); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_6e,_6f,_70){ +with(_6e){ +var _71=objj_msgSend(_6e,"convertPoint:fromView:",objj_msgSend(_70,"locationInWindow"),nil),_72=objj_msgSend(_6e,"bounds"); +if(!CGRectContainsPoint(_72,_71)||_71.x>objj_msgSend(_6e,"bounds").size.width-1||_71.x<1){ +return NO; +} +objj_msgSend(_colorPanel,"setColor:updatePicker:",objj_msgSend(_6e,"colorAtIndex:",FLOOR(_71.x/13)),YES); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_73,_74,_75){ +with(_73){ +var _76=objj_msgSend(_73,"convertPoint:fromView:",objj_msgSend(_75,"locationInWindow"),nil); +if(_76.x>objj_msgSend(_73,"bounds").size.width-1||_76.x<1){ +return NO; +} +objj_msgSend(objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard),"declareTypes:owner:",objj_msgSend(CPArray,"arrayWithObject:",CPColorDragType),_73); +var _77=_swatches[FLOOR(_76.x/13)]; +_dragColor=objj_msgSend(objj_msgSend(_77,"subviews")[0],"backgroundColor"); +var _78=CPRectCreateCopy(objj_msgSend(_77,"bounds")); +var _79=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",_78); +dragFillView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectInset(_78,1,1)); +objj_msgSend(_79,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(dragFillView,"setBackgroundColor:",_dragColor); +objj_msgSend(_79,"addSubview:",dragFillView); +objj_msgSend(_73,"dragView:at:offset:event:pasteboard:source:slideBack:",_79,CPPointMake(_76.x-_78.size.width/2,_76.y-_78.size.height/2),CPPointMake(0,0),_75,nil,_73,YES); +} +}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_7a,_7b,_7c,_7d){ +with(_7a){ +if(_7d==CPColorDragType){ +objj_msgSend(_7c,"setData:forType:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_dragColor),_7d); +} +} +}),new objj_method(sel_getUid("performDragOperation:"),function(_7e,_7f,_80){ +with(_7e){ +var _81=objj_msgSend(_7e,"convertPoint:fromView:",objj_msgSend(_80,"draggingLocation"),nil),_82=objj_msgSend(_80,"draggingPasteboard"),_83=nil; +if(!objj_msgSend(_82,"availableTypeFromArray:",[CPColorDragType])||_81.x>objj_msgSend(_7e,"bounds").size.width-1||_81.x<1){ +return NO; +} +objj_msgSend(_7e,"setColor:atIndex:",objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(_82,"dataForType:",CPColorDragType)),FLOOR(_81.x/13)); +} +})]); +var _8=objj_allocateClassPair(CPView,"_CPColorPanelPreview"),_9=_8.isa; +class_addIvars(_8,[new objj_ivar("_colorPanel")]); +objj_registerClassPair(_8); +class_addMethods(_8,[new objj_method(sel_getUid("initWithFrame:"),function(_84,_85,_86){ +with(_84){ +_84=objj_msgSendSuper({receiver:_84,super_class:objj_getClass("_CPColorPanelPreview").super_class},"initWithFrame:",_86); +objj_msgSend(_84,"registerForDraggedTypes:",objj_msgSend(CPArray,"arrayWithObjects:",CPColorDragType)); +return _84; +} +}),new objj_method(sel_getUid("setColorPanel:"),function(_87,_88,_89){ +with(_87){ +_colorPanel=_89; +} +}),new objj_method(sel_getUid("colorPanel"),function(_8a,_8b){ +with(_8a){ +return _colorPanel; +} +}),new objj_method(sel_getUid("performDragOperation:"),function(_8c,_8d,_8e){ +with(_8c){ +var _8f=objj_msgSend(_8e,"draggingPasteboard"); +if(!objj_msgSend(_8f,"availableTypeFromArray:",[CPColorDragType])){ +return NO; +} +var _90=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(_8f,"dataForType:",CPColorDragType)); +objj_msgSend(_colorPanel,"setColor:updatePicker:",_90,YES); +} +}),new objj_method(sel_getUid("isOpaque"),function(_91,_92){ +with(_91){ +return YES; +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_93,_94,_95){ +with(_93){ +var _96=objj_msgSend(_93,"convertPoint:fromView:",objj_msgSend(_95,"locationInWindow"),nil); +objj_msgSend(objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard),"declareTypes:owner:",[CPColorDragType],_93); +var _97=CPRectMake(0,0,15,15); +var _98=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",_97); +dragFillView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectInset(_97,1,1)); +objj_msgSend(_98,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(dragFillView,"setBackgroundColor:",objj_msgSend(_93,"backgroundColor")); +objj_msgSend(_98,"addSubview:",dragFillView); +objj_msgSend(_93,"dragView:at:offset:event:pasteboard:source:slideBack:",_98,CPPointMake(_96.x-_97.size.width/2,_96.y-_97.size.height/2),CPPointMake(0,0),_95,nil,_93,YES); +} +}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_99,_9a,_9b,_9c){ +with(_99){ +if(_9c==CPColorDragType){ +objj_msgSend(_9b,"setData:forType:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",objj_msgSend(_99,"backgroundColor")),_9c); +} +} +})]); +objj_executeFile("CPColorPicker.j",YES); +objj_executeFile("CPSliderColorPicker.j",YES); +objj_msgSend(CPColorPanel,"provideColorPickerClass:",CPColorWheelColorPicker); +objj_msgSend(CPColorPanel,"provideColorPickerClass:",CPSliderColorPicker); +p;15;CPColorPicker.jt;10114;@STATIC;1.0;I;21;Foundation/CPObject.ji;14;CPColorPanel.jt;10049; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CPColorPanel.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPColorPicker"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_panel"),new objj_ivar("_mask")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithPickerMask:colorPanel:"),function(_3,_4,_5,_6){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPColorPicker").super_class},"init"); +_panel=_6; +_mask=_5; +return _3; +} +}),new objj_method(sel_getUid("colorPanel"),function(_7,_8){ +with(_7){ +return _panel; +} +}),new objj_method(sel_getUid("provideNewButtonImage"),function(_9,_a){ +with(_9){ +return nil; +} +}),new objj_method(sel_getUid("setMode:"),function(_b,_c,_d){ +with(_b){ +return; +} +}),new objj_method(sel_getUid("setColor:"),function(_e,_f,_10){ +with(_e){ +return; +} +})]); +var _1=objj_allocateClassPair(CPColorPicker,"CPColorWheelColorPicker"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_pickerView"),new objj_ivar("_brightnessSlider"),new objj_ivar("_hueSaturationView"),new objj_ivar("_cachedColor")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithPickerMask:colorPanel:"),function(_11,_12,_13,_14){ +with(_11){ +return objj_msgSendSuper({receiver:_11,super_class:objj_getClass("CPColorWheelColorPicker").super_class},"initWithPickerMask:colorPanel:",_13,_14); +} +}),new objj_method(sel_getUid("initView"),function(_15,_16){ +with(_15){ +aFrame=CPRectMake(0,0,CPColorPickerViewWidth,CPColorPickerViewHeight); +_pickerView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",aFrame); +objj_msgSend(_pickerView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_brightnessSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CGRectMake(0,(aFrame.size.height-34),aFrame.size.width,15)); +objj_msgSend(_brightnessSlider,"setValue:forThemeAttribute:",15,"track-width"); +objj_msgSend(_brightnessSlider,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPColorPicker,"class")),"pathForResource:","brightness_bar.png"))),"track-color"); +objj_msgSend(_brightnessSlider,"setMinValue:",0); +objj_msgSend(_brightnessSlider,"setMaxValue:",100); +objj_msgSend(_brightnessSlider,"setFloatValue:",100); +objj_msgSend(_brightnessSlider,"setTarget:",_15); +objj_msgSend(_brightnessSlider,"setAction:",sel_getUid("brightnessSliderDidChange:")); +objj_msgSend(_brightnessSlider,"setAutoresizingMask:",CPViewWidthSizable|CPViewMinYMargin); +_hueSaturationView=objj_msgSend(objj_msgSend(__CPColorWheel,"alloc"),"initWithFrame:",CPRectMake(0,0,aFrame.size.width,aFrame.size.height-38)); +objj_msgSend(_hueSaturationView,"setDelegate:",_15); +objj_msgSend(_hueSaturationView,"setAutoresizingMask:",(CPViewWidthSizable|CPViewHeightSizable)); +objj_msgSend(_pickerView,"addSubview:",_hueSaturationView); +objj_msgSend(_pickerView,"addSubview:",_brightnessSlider); +} +}),new objj_method(sel_getUid("brightnessSliderDidChange:"),function(_17,_18,_19){ +with(_17){ +objj_msgSend(_17,"updateColor"); +} +}),new objj_method(sel_getUid("colorWheelDidChange:"),function(_1a,_1b,_1c){ +with(_1a){ +objj_msgSend(_1a,"updateColor"); +} +}),new objj_method(sel_getUid("updateColor"),function(_1d,_1e){ +with(_1d){ +var hue=objj_msgSend(_hueSaturationView,"angle"),_1f=objj_msgSend(_hueSaturationView,"distance"),_20=objj_msgSend(_brightnessSlider,"floatValue"); +objj_msgSend(_hueSaturationView,"setWheelBrightness:",_20/100); +objj_msgSend(_brightnessSlider,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHue:saturation:brightness:",hue,_1f,100)); +var _21=objj_msgSend(_1d,"colorPanel"),_22=objj_msgSend(_21,"opacity"); +_cachedColor=objj_msgSend(CPColor,"colorWithHue:saturation:brightness:alpha:",hue,_1f,_20,_22); +objj_msgSend(objj_msgSend(_1d,"colorPanel"),"setColor:",_cachedColor); +} +}),new objj_method(sel_getUid("supportsMode:"),function(_23,_24,_25){ +with(_23){ +return (_25==CPWheelColorPickerMode)?YES:NO; +} +}),new objj_method(sel_getUid("currentMode"),function(_26,_27){ +with(_26){ +return CPWheelColorPickerMode; +} +}),new objj_method(sel_getUid("provideNewView:"),function(_28,_29,_2a){ +with(_28){ +if(_2a){ +objj_msgSend(_28,"initView"); +} +return _pickerView; +} +}),new objj_method(sel_getUid("setColor:"),function(_2b,_2c,_2d){ +with(_2b){ +if(objj_msgSend(_2d,"isEqual:",_cachedColor)){ +return; +} +var hsb=objj_msgSend(_2d,"hsbComponents"); +objj_msgSend(_hueSaturationView,"setPositionToColor:",_2d); +objj_msgSend(_brightnessSlider,"setFloatValue:",hsb[2]); +objj_msgSend(_hueSaturationView,"setWheelBrightness:",hsb[2]/100); +objj_msgSend(_brightnessSlider,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithHue:saturation:brightness:",hsb[0],hsb[1],100)); +} +}),new objj_method(sel_getUid("provideNewButtonImage"),function(_2e,_2f){ +with(_2e){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","wheel_button.png"),CGSizeMake(32,32)); +} +}),new objj_method(sel_getUid("provideNewAlternateButtonImage"),function(_30,_31){ +with(_30){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","wheel_button_h.png"),CGSizeMake(32,32)); +} +})]); +var _1=objj_allocateClassPair(CPView,"__CPColorWheel"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_wheelImage"),new objj_ivar("_blackWheelImage"),new objj_ivar("_crosshair"),new objj_ivar("_delegate"),new objj_ivar("_angle"),new objj_ivar("_distance"),new objj_ivar("_radius")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_32,_33,_34){ +with(_32){ +_32=objj_msgSendSuper({receiver:_32,super_class:objj_getClass("__CPColorWheel").super_class},"initWithFrame:",_34); +var _35=objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","wheel.png"); +_wheelImage=new Image(); +_wheelImage.src=_35; +_wheelImage.style.position="absolute"; +_35=objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","wheel_black.png"); +_blackWheelImage=new Image(); +_blackWheelImage.src=_35; +_blackWheelImage.style.opacity="0"; +_blackWheelImage.style.filter="alpha(opacity=0)"; +_blackWheelImage.style.position="absolute"; +objj_msgSend(_32,"setWheelSize:",_34.size); +_crosshair=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CPRectMake(_radius-2,_radius-2,4,4)); +objj_msgSend(_crosshair,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor")); +var _36=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectInset(objj_msgSend(_crosshair,"bounds"),1,1)); +objj_msgSend(_36,"setBackgroundColor:",objj_msgSend(CPColor,"whiteColor")); +objj_msgSend(_crosshair,"addSubview:",_36); +objj_msgSend(_32,"addSubview:",_crosshair); +return _32; +} +}),new objj_method(sel_getUid("setWheelBrightness:"),function(_37,_38,_39){ +with(_37){ +_blackWheelImage.style.opacity=1-_39; +_blackWheelImage.style.filter="alpha(opacity="+(1-_39)*100+")"; +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_3a,_3b,_3c){ +with(_3a){ +objj_msgSendSuper({receiver:_3a,super_class:objj_getClass("__CPColorWheel").super_class},"setFrameSize:",_3c); +objj_msgSend(_3a,"setWheelSize:",_3c); +} +}),new objj_method(sel_getUid("setWheelSize:"),function(_3d,_3e,_3f){ +with(_3d){ +var min=MIN(_3f.width,_3f.height); +_blackWheelImage.style.width=min; +_blackWheelImage.style.height=min; +_blackWheelImage.width=min; +_blackWheelImage.height=min; +_blackWheelImage.style.top=(_3f.height-min)/2+"px"; +_blackWheelImage.style.left=(_3f.width-min)/2+"px"; +_wheelImage.style.width=min; +_wheelImage.style.height=min; +_wheelImage.width=min; +_wheelImage.height=min; +_wheelImage.style.top=(_3f.height-min)/2+"px"; +_wheelImage.style.left=(_3f.width-min)/2+"px"; +_radius=min/2; +objj_msgSend(_3d,"setAngle:distance:",objj_msgSend(_3d,"degreesToRadians:",_angle),(_distance/100)*_radius); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_40,_41,_42){ +with(_40){ +_delegate=_42; +} +}),new objj_method(sel_getUid("delegate"),function(_43,_44){ +with(_43){ +return _delegate; +} +}),new objj_method(sel_getUid("angle"),function(_45,_46){ +with(_45){ +return _angle; +} +}),new objj_method(sel_getUid("distance"),function(_47,_48){ +with(_47){ +return _distance; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_49,_4a,_4b){ +with(_49){ +objj_msgSend(_49,"reposition:",_4b); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_4c,_4d,_4e){ +with(_4c){ +objj_msgSend(_4c,"reposition:",_4e); +} +}),new objj_method(sel_getUid("reposition:"),function(_4f,_50,_51){ +with(_4f){ +var _52=objj_msgSend(_4f,"bounds"),_53=objj_msgSend(_4f,"convertPoint:fromView:",objj_msgSend(_51,"locationInWindow"),nil); +var _54=CGRectGetMidX(_52); +var _55=CGRectGetMidY(_52); +var _56=MIN(SQRT((_53.x-_54)*(_53.x-_54)+(_53.y-_55)*(_53.y-_55)),_radius); +var _57=ATAN2(_53.y-_55,_53.x-_54); +objj_msgSend(_4f,"setAngle:distance:",_57,_56); +objj_msgSend(_delegate,"colorWheelDidChange:",_4f); +} +}),new objj_method(sel_getUid("setAngle:distance:"),function(_58,_59,_5a,_5b){ +with(_58){ +var _5c=objj_msgSend(_58,"bounds"); +var _5d=CGRectGetMidX(_5c); +var _5e=CGRectGetMidY(_5c); +_angle=objj_msgSend(_58,"radiansToDegrees:",_5a); +_distance=(_5b/_radius)*100; +objj_msgSend(_crosshair,"setFrameOrigin:",CPPointMake(COS(_5a)*_5b+_5d-2,SIN(_5a)*_5b+_5e-2)); +} +}),new objj_method(sel_getUid("setPositionToColor:"),function(_5f,_60,_61){ +with(_5f){ +var hsb=objj_msgSend(_61,"hsbComponents"),_62=objj_msgSend(_5f,"bounds"); +var _63=objj_msgSend(_5f,"degreesToRadians:",hsb[0]),_64=(hsb[1]/100)*_radius; +objj_msgSend(_5f,"setAngle:distance:",_63,_64); +} +}),new objj_method(sel_getUid("radiansToDegrees:"),function(_65,_66,_67){ +with(_65){ +return ((-_67/PI)*180+360)%360; +} +}),new objj_method(sel_getUid("degreesToRadians:"),function(_68,_69,_6a){ +with(_68){ +return -(((_6a-360)/180)*PI); +} +})]); +p;13;CPColorWell.jt;6079;@STATIC;1.0;I;21;Foundation/CPString.ji;8;CPView.ji;9;CPColor.ji;14;CPColorPanel.jt;5990; +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPView.j",YES); +objj_executeFile("CPColor.j",YES); +objj_executeFile("CPColorPanel.j",YES); +var _1="_CPColorWellDidBecomeExclusiveNotification"; +var _2=objj_allocateClassPair(CPControl,"CPColorWell"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_active"),new objj_ivar("_bordered"),new objj_ivar("_color"),new objj_ivar("_wellView")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPColorWell").super_class},"initWithFrame:",_6); +if(_4){ +_active=NO; +_bordered=YES; +_color=objj_msgSend(CPColor,"whiteColor"); +objj_msgSend(_4,"drawBezelWithHighlight:",NO); +objj_msgSend(_4,"drawWellInside:",CGRectInset(objj_msgSend(_4,"bounds"),3,3)); +objj_msgSend(_4,"_registerForNotifications"); +} +return _4; +} +}),new objj_method(sel_getUid("_registerForNotifications"),function(_7,_8){ +with(_7){ +var _9=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_9,"addObserver:selector:name:object:",_7,sel_getUid("colorWellDidBecomeExclusive:"),_1,nil); +objj_msgSend(_9,"addObserver:selector:name:object:",_7,sel_getUid("colorPanelWillClose:"),CPWindowWillCloseNotification,objj_msgSend(CPColorPanel,"sharedColorPanel")); +} +}),new objj_method(sel_getUid("isBordered"),function(_a,_b){ +with(_a){ +return _bordered; +} +}),new objj_method(sel_getUid("setBordered:"),function(_c,_d,_e){ +with(_c){ +if(_bordered==_e){ +return; +} +_bordered=_e; +objj_msgSend(_c,"drawWellInside:",CGRectInset(objj_msgSend(_c,"bounds"),3,3)); +} +}),new objj_method(sel_getUid("color"),function(_f,_10){ +with(_f){ +return _color; +} +}),new objj_method(sel_getUid("setColor:"),function(_11,_12,_13){ +with(_11){ +if(_color==_13){ +return; +} +_color=_13; +objj_msgSend(_11,"drawWellInside:",CGRectInset(objj_msgSend(_11,"bounds"),3,3)); +} +}),new objj_method(sel_getUid("takeColorFrom:"),function(_14,_15,_16){ +with(_14){ +objj_msgSend(_14,"setColor:",objj_msgSend(_16,"color")); +} +}),new objj_method(sel_getUid("activate:"),function(_17,_18,_19){ +with(_17){ +if(_19){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",_1,_17); +} +if(objj_msgSend(_17,"isActive")){ +return; +} +_active=YES; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_17,sel_getUid("colorPanelDidChangeColor:"),CPColorPanelColorDidChangeNotification,objj_msgSend(CPColorPanel,"sharedColorPanel")); +} +}),new objj_method(sel_getUid("deactivate"),function(_1a,_1b){ +with(_1a){ +if(!objj_msgSend(_1a,"isActive")){ +return; +} +_active=NO; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_1a,CPColorPanelColorDidChangeNotification,objj_msgSend(CPColorPanel,"sharedColorPanel")); +} +}),new objj_method(sel_getUid("isActive"),function(_1c,_1d){ +with(_1c){ +return _active; +} +}),new objj_method(sel_getUid("drawBezelWithHighlight:"),function(_1e,_1f,_20){ +with(_1e){ +} +}),new objj_method(sel_getUid("drawWellInside:"),function(_21,_22,_23){ +with(_21){ +if(!_wellView){ +_wellView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",_23); +objj_msgSend(_wellView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_21,"addSubview:",_wellView); +}else{ +objj_msgSend(_wellView,"setFrame:",_23); +} +objj_msgSend(_wellView,"setBackgroundColor:",_color); +} +}),new objj_method(sel_getUid("colorPanelDidChangeColor:"),function(_24,_25,_26){ +with(_24){ +objj_msgSend(_24,"takeColorFrom:",objj_msgSend(_26,"object")); +objj_msgSend(_24,"sendAction:to:",objj_msgSend(_24,"action"),objj_msgSend(_24,"target")); +} +}),new objj_method(sel_getUid("colorWellDidBecomeExclusive:"),function(_27,_28,_29){ +with(_27){ +if(_27!=objj_msgSend(_29,"object")){ +objj_msgSend(_27,"deactivate"); +} +} +}),new objj_method(sel_getUid("colorPanelWillClose:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2a,"deactivate"); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSend(_2d,"drawBezelWithHighlight:",YES); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_30,_31,_32){ +with(_30){ +objj_msgSend(_30,"drawBezelWithHighlight:",CGRectContainsPoint(objj_msgSend(_30,"bounds"),objj_msgSend(_30,"convertPoint:fromView:",objj_msgSend(_32,"locationInWindow"),nil))); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_33,_34,_35){ +with(_33){ +objj_msgSend(_33,"drawBezelWithHighlight:",NO); +if(!CGRectContainsPoint(objj_msgSend(_33,"bounds"),objj_msgSend(_33,"convertPoint:fromView:",objj_msgSend(_35,"locationInWindow"),nil))){ +return; +} +objj_msgSend(_33,"activate:",YES); +var _36=objj_msgSend(CPColorPanel,"sharedColorPanel"); +objj_msgSend(_36,"setColor:",_color); +objj_msgSend(_36,"orderFront:",_33); +} +})]); +var _37="CPColorWellColorKey",_38="CPColorWellBorderedKey"; +var _2=objj_getClass("CPColorWell"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPColorWell\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_39,_3a,_3b){ +with(_39){ +_39=objj_msgSendSuper({receiver:_39,super_class:objj_getClass("CPColorWell").super_class},"initWithCoder:",_3b); +if(_39){ +_active=NO; +_bordered=objj_msgSend(_3b,"decodeObjectForKey:",_38); +_color=objj_msgSend(_3b,"decodeObjectForKey:",_37); +objj_msgSend(_39,"drawBezelWithHighlight:",NO); +objj_msgSend(_39,"drawWellInside:",CGRectInset(objj_msgSend(_39,"bounds"),3,3)); +objj_msgSend(_39,"_registerForNotifications"); +} +return _39; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_3c,_3d,_3e){ +with(_3c){ +var _3f=_subviews; +_subviews=objj_msgSend(_subviews,"copy"); +objj_msgSend(_subviews,"removeObjectIdenticalTo:",_wellView); +objj_msgSendSuper({receiver:_3c,super_class:objj_getClass("CPColorWell").super_class},"encodeWithCoder:",_3e); +_subviews=_3f; +objj_msgSend(_3e,"encodeObject:forKey:",_color,_37); +objj_msgSend(_3e,"encodeObject:forKey:",_bordered,_38); +} +})]); +p;17;CPCompatibility.jt;3810;@STATIC;1.0;i;9;CPEvent.ji;12;CPPlatform.jt;3761; +objj_executeFile("CPEvent.j",YES); +objj_executeFile("CPPlatform.j",YES); +CPUnknownBrowserEngine=0; +CPGeckoBrowserEngine=1; +CPInternetExplorerBrowserEngine=2; +CPKHTMLBrowserEngine=3; +CPOperaBrowserEngine=4; +CPWebKitBrowserEngine=5; +CPMacOperatingSystem=0; +CPWindowsOperatingSystem=1; +CPOtherOperatingSystem=2; +CPCSSRGBAFeature=1<<5; +CPHTMLCanvasFeature=1<<6; +CPHTMLContentEditableFeature=1<<7; +CPHTMLDragAndDropFeature=1<<8; +CPJavascriptInnerTextFeature=1<<9; +CPJavascriptTextContentFeature=1<<10; +CPJavascriptClipboardEventsFeature=1<<11; +CPJavascriptClipboardAccessFeature=1<<12; +CPJavaScriptCanvasDrawFeature=1<<13; +CPJavaScriptCanvasTransformFeature=1<<14; +CPVMLFeature=1<<15; +CPJavascriptRemedialKeySupport=1<<16; +CPJavaScriptShadowFeature=1<<20; +CPJavaScriptNegativeMouseWheelValues=1<<22; +CPJavaScriptMouseWheelValues_8_15=1<<23; +CPOpacityRequiresFilterFeature=1<<24; +CPInputTypeCanBeChangedFeature=1<<25; +CPHTML5DragAndDropSourceYOffBy1=1<<26; +var _1="",_2=CPUnknownBrowserEngine,_3=0; +_3|=CPInputTypeCanBeChangedFeature; +if(typeof window!="undfined"&&typeof window.navigator!="undefined"){ +_1=window.navigator.userAgent; +} +if(window.opera){ +_2=CPOperaBrowserEngine; +_3|=CPJavaScriptCanvasDrawFeature; +}else{ +if(window.attachEvent){ +_2=CPInternetExplorerBrowserEngine; +_3|=CPVMLFeature; +_3|=CPJavascriptRemedialKeySupport; +_3|=CPJavaScriptShadowFeature; +_3|=CPOpacityRequiresFilterFeature; +_3&=~CPInputTypeCanBeChangedFeature; +}else{ +if(_1.indexOf("AppleWebKit/")!=-1){ +_2=CPWebKitBrowserEngine; +_3|=CPCSSRGBAFeature; +_3|=CPHTMLContentEditableFeature; +if(_1.indexOf("Chrome")===-1){ +_3|=CPHTMLDragAndDropFeature; +} +_3|=CPJavascriptClipboardEventsFeature; +_3|=CPJavascriptClipboardAccessFeature; +_3|=CPJavaScriptShadowFeature; +var _4=_1.indexOf("AppleWebKit/")+"AppleWebKit/".length,_5=_1.indexOf(" ",_4),_6=_1.substring(_4,_5),_7=_6.indexOf("."),_8=parseInt(_6.substring(0,_7)),_9=parseInt(_6.substr(_7+1)); +if((_1.indexOf("Safari")!==CPNotFound&&(_8>525||(_8===525&&_9>14)))||_1.indexOf("Chrome")!==CPNotFound){ +_3|=CPJavascriptRemedialKeySupport; +} +if(!objj_msgSend(CPPlatform,"isBrowser")){ +_3|=CPJavascriptRemedialKeySupport; +} +if(_8<532||(_8===532&&_9<6)){ +_3|=CPHTML5DragAndDropSourceYOffBy1; +} +}else{ +if(_1.indexOf("KHTML")!=-1){ +_2=CPKHTMLBrowserEngine; +}else{ +if(_1.indexOf("Gecko")!==-1){ +_2=CPGeckoBrowserEngine; +_3|=CPJavaScriptCanvasDrawFeature; +var _a=_1.indexOf("Firefox"),_b=(_a===-1)?2:parseFloat(_1.substring(_a+"Firefox".length+1)); +if(_b>=3){ +_3|=CPCSSRGBAFeature; +} +if(_b<3){ +_3|=CPJavaScriptMouseWheelValues_8_15; +} +} +} +} +} +} +if(typeof document!="undefined"){ +var _c=document.createElement("canvas"); +if(_c&&_c.getContext){ +_3|=CPHTMLCanvasFeature; +var _d=document.createElement("canvas").getContext("2d"); +if(_d&&_d.setTransform&&_d.transform){ +_3|=CPJavaScriptCanvasTransformFeature; +} +} +var _e=document.createElement("div"); +if(_e.innerText!=undefined){ +_3|=CPJavascriptInnerTextFeature; +}else{ +if(_e.textContent!=undefined){ +_3|=CPJavascriptTextContentFeature; +} +} +} +CPFeatureIsCompatible=function(_f){ +return _3&_f; +}; +CPBrowserIsEngine=function(_10){ +return _2===_10; +}; +CPBrowserIsOperatingSystem=function(_11){ +return OPERATING_SYSTEM===_11; +}; +OPERATING_SYSTEM=CPOtherOperatingSystem; +if(_1.indexOf("Mac")!==-1){ +OPERATING_SYSTEM=CPMacOperatingSystem; +CPPlatformActionKeyMask=CPCommandKeyMask; +CPUndoKeyEquivalent="z"; +CPRedoKeyEquivalent="Z"; +CPUndoKeyEquivalentModifierMask=CPCommandKeyMask; +CPRedoKeyEquivalentModifierMask=CPCommandKeyMask; +}else{ +if(_1.indexOf("Windows")!==-1){ +OPERATING_SYSTEM=CPWindowsOperatingSystem; +} +CPPlatformActionKeyMask=CPControlKeyMask; +CPUndoKeyEquivalent="z"; +CPRedoKeyEquivalent="y"; +CPUndoKeyEquivalentModifierMask=CPControlKeyMask; +CPRedoKeyEquivalentModifierMask=CPControlKeyMask; +} +p;11;CPControl.jt;17610;@STATIC;1.0;i;8;CPFont.ji;10;CPShadow.ji;8;CPView.jt;17551; +objj_executeFile("CPFont.j",YES); +objj_executeFile("CPShadow.j",YES); +objj_executeFile("CPView.j",YES); +CPLeftTextAlignment=0; +CPRightTextAlignment=1; +CPCenterTextAlignment=2; +CPJustifiedTextAlignment=3; +CPNaturalTextAlignment=4; +CPRegularControlSize=0; +CPSmallControlSize=1; +CPMiniControlSize=2; +CPLineBreakByWordWrapping=0; +CPLineBreakByCharWrapping=1; +CPLineBreakByClipping=2; +CPLineBreakByTruncatingHead=3; +CPLineBreakByTruncatingTail=4; +CPLineBreakByTruncatingMiddle=5; +CPTopVerticalTextAlignment=1,CPCenterVerticalTextAlignment=2,CPBottomVerticalTextAlignment=3; +CPScaleProportionally=0; +CPScaleToFit=1; +CPScaleNone=2; +CPNoImage=0; +CPImageOnly=1; +CPImageLeft=2; +CPImageRight=3; +CPImageBelow=4; +CPImageAbove=5; +CPImageOverlaps=6; +CPOnState=1; +CPOffState=0; +CPMixedState=-1; +CPControlNormalBackgroundColor="CPControlNormalBackgroundColor"; +CPControlSelectedBackgroundColor="CPControlSelectedBackgroundColor"; +CPControlHighlightedBackgroundColor="CPControlHighlightedBackgroundColor"; +CPControlDisabledBackgroundColor="CPControlDisabledBackgroundColor"; +CPControlTextDidBeginEditingNotification="CPControlTextDidBeginEditingNotification"; +CPControlTextDidChangeNotification="CPControlTextDidChangeNotification"; +CPControlTextDidEndEditingNotification="CPControlTextDidEndEditingNotification"; +var _1=objj_msgSend(CPColor,"blackColor"); +var _2=objj_allocateClassPair(CPView,"CPControl"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_value"),new objj_ivar("_target"),new objj_ivar("_action"),new objj_ivar("_sendActionOn"),new objj_ivar("_sendsActionOnEndEditing"),new objj_ivar("_continuousTracking"),new objj_ivar("_trackingWasWithinFrame"),new objj_ivar("_trackingMouseDownFlags"),new objj_ivar("_previousTrackingLocation"),new objj_ivar("_toolTip")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("sendsActionOnEndEditing"),function(_4,_5){ +with(_4){ +return _sendsActionOnEndEditing; +} +}),new objj_method(sel_getUid("setSendsActionOnEndEditing:"),function(_6,_7,_8){ +with(_6){ +_sendsActionOnEndEditing=_8; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_9,_a,_b){ +with(_9){ +_9=objj_msgSendSuper({receiver:_9,super_class:objj_getClass("CPControl").super_class},"initWithFrame:",_b); +if(_9){ +_sendActionOn=CPLeftMouseUpMask; +_trackingMouseDownFlags=0; +} +return _9; +} +}),new objj_method(sel_getUid("setAction:"),function(_c,_d,_e){ +with(_c){ +_action=_e; +} +}),new objj_method(sel_getUid("action"),function(_f,_10){ +with(_f){ +return _action; +} +}),new objj_method(sel_getUid("setTarget:"),function(_11,_12,_13){ +with(_11){ +_target=_13; +} +}),new objj_method(sel_getUid("target"),function(_14,_15){ +with(_14){ +return _target; +} +}),new objj_method(sel_getUid("sendAction:to:"),function(_16,_17,_18,_19){ +with(_16){ +objj_msgSend(CPApp,"sendAction:to:from:",_18,_19,_16); +} +}),new objj_method(sel_getUid("sendActionOn:"),function(_1a,_1b,_1c){ +with(_1a){ +var _1d=_sendActionOn; +_sendActionOn=_1c; +return _1d; +} +}),new objj_method(sel_getUid("isContinuous"),function(_1e,_1f){ +with(_1e){ +return (_sendActionOn&CPPeriodicMask)!==0; +} +}),new objj_method(sel_getUid("setContinuous:"),function(_20,_21,_22){ +with(_20){ +if(_22){ +_sendActionOn|=CPPeriodicMask; +}else{ +_sendActionOn&=~CPPeriodicMask; +} +} +}),new objj_method(sel_getUid("tracksMouseOutsideOfFrame"),function(_23,_24){ +with(_23){ +return NO; +} +}),new objj_method(sel_getUid("trackMouse:"),function(_25,_26,_27){ +with(_25){ +var _28=objj_msgSend(_27,"type"),_29=objj_msgSend(_25,"convertPoint:fromView:",objj_msgSend(_27,"locationInWindow"),nil); +isWithinFrame=objj_msgSend(_25,"tracksMouseOutsideOfFrame")||CGRectContainsPoint(objj_msgSend(_25,"bounds"),_29); +if(_28===CPLeftMouseUp){ +objj_msgSend(_25,"stopTracking:at:mouseIsUp:",_previousTrackingLocation,_29,YES); +_trackingMouseDownFlags=0; +}else{ +if(_28===CPLeftMouseDown){ +_trackingMouseDownFlags=objj_msgSend(_27,"modifierFlags"); +_continuousTracking=objj_msgSend(_25,"startTrackingAt:",_29); +}else{ +if(_28===CPLeftMouseDragged){ +if(isWithinFrame){ +if(!_trackingWasWithinFrame){ +_continuousTracking=objj_msgSend(_25,"startTrackingAt:",_29); +}else{ +if(_continuousTracking){ +_continuousTracking=objj_msgSend(_25,"continueTracking:at:",_previousTrackingLocation,_29); +} +} +}else{ +objj_msgSend(_25,"stopTracking:at:mouseIsUp:",_previousTrackingLocation,_29,NO); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_25,sel_getUid("trackMouse:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +if((_sendActionOn&(1<<_28))&&isWithinFrame){ +objj_msgSend(_25,"sendAction:to:",_action,_target); +} +_trackingWasWithinFrame=isWithinFrame; +_previousTrackingLocation=_29; +} +}),new objj_method(sel_getUid("setState:"),function(_2a,_2b,_2c){ +with(_2a){ +} +}),new objj_method(sel_getUid("nextState"),function(_2d,_2e){ +with(_2d){ +return 0; +} +}),new objj_method(sel_getUid("performClick:"),function(_2f,_30,_31){ +with(_2f){ +objj_msgSend(_2f,"highlight:",YES); +objj_msgSend(_2f,"setState:",objj_msgSend(_2f,"nextState")); +objj_msgSend(_2f,"sendAction:to:",objj_msgSend(_2f,"action"),objj_msgSend(_2f,"target")); +objj_msgSend(CPTimer,"scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:",0.1,_2f,sel_getUid("unhighlightButtonTimerDidFinish:"),nil,NO); +} +}),new objj_method(sel_getUid("unhighlightButtonTimerDidFinish:"),function(_32,_33,_34){ +with(_32){ +objj_msgSend(_32,"highlight:",NO); +} +}),new objj_method(sel_getUid("mouseDownFlags"),function(_35,_36){ +with(_35){ +return _trackingMouseDownFlags; +} +}),new objj_method(sel_getUid("startTrackingAt:"),function(_37,_38,_39){ +with(_37){ +objj_msgSend(_37,"highlight:",YES); +return (_sendActionOn&CPPeriodicMask)||(_sendActionOn&CPLeftMouseDraggedMask); +} +}),new objj_method(sel_getUid("continueTracking:at:"),function(_3a,_3b,_3c,_3d){ +with(_3a){ +return (_sendActionOn&CPPeriodicMask)||(_sendActionOn&CPLeftMouseDraggedMask); +} +}),new objj_method(sel_getUid("stopTracking:at:mouseIsUp:"),function(_3e,_3f,_40,_41,_42){ +with(_3e){ +objj_msgSend(_3e,"highlight:",NO); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_43,_44,_45){ +with(_43){ +if(!objj_msgSend(_43,"isEnabled")){ +return; +} +objj_msgSend(_43,"trackMouse:",_45); +} +}),new objj_method(sel_getUid("objectValue"),function(_46,_47){ +with(_46){ +return _value; +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_48,_49,_4a){ +with(_48){ +_value=_4a; +objj_msgSend(_48,"setNeedsLayout"); +objj_msgSend(_48,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("floatValue"),function(_4b,_4c){ +with(_4b){ +var _4d=parseFloat(_value,10); +return isNaN(_4d)?0:_4d; +} +}),new objj_method(sel_getUid("setFloatValue:"),function(_4e,_4f,_50){ +with(_4e){ +objj_msgSend(_4e,"setObjectValue:",_50); +} +}),new objj_method(sel_getUid("doubleValue"),function(_51,_52){ +with(_51){ +var _53=parseFloat(_value,10); +return isNaN(_53)?0:_53; +} +}),new objj_method(sel_getUid("setDoubleValue:"),function(_54,_55,_56){ +with(_54){ +objj_msgSend(_54,"setObjectValue:",_56); +} +}),new objj_method(sel_getUid("intValue"),function(_57,_58){ +with(_57){ +var _59=parseInt(_value,10); +return isNaN(_59)?0:_59; +} +}),new objj_method(sel_getUid("setIntValue:"),function(_5a,_5b,_5c){ +with(_5a){ +objj_msgSend(_5a,"setObjectValue:",_5c); +} +}),new objj_method(sel_getUid("integerValue"),function(_5d,_5e){ +with(_5d){ +var _5f=parseInt(_value,10); +return isNaN(_5f)?0:_5f; +} +}),new objj_method(sel_getUid("setIntegerValue:"),function(_60,_61,_62){ +with(_60){ +objj_msgSend(_60,"setObjectValue:",_62); +} +}),new objj_method(sel_getUid("stringValue"),function(_63,_64){ +with(_63){ +return (_value===undefined||_value===nil)?"":String(_value); +} +}),new objj_method(sel_getUid("setStringValue:"),function(_65,_66,_67){ +with(_65){ +objj_msgSend(_65,"setObjectValue:",_67); +} +}),new objj_method(sel_getUid("takeDoubleValueFrom:"),function(_68,_69,_6a){ +with(_68){ +if(objj_msgSend(_6a,"respondsToSelector:",sel_getUid("doubleValue"))){ +objj_msgSend(_68,"setDoubleValue:",objj_msgSend(_6a,"doubleValue")); +} +} +}),new objj_method(sel_getUid("takeFloatValueFrom:"),function(_6b,_6c,_6d){ +with(_6b){ +if(objj_msgSend(_6d,"respondsToSelector:",sel_getUid("floatValue"))){ +objj_msgSend(_6b,"setFloatValue:",objj_msgSend(_6d,"floatValue")); +} +} +}),new objj_method(sel_getUid("takeIntegerValueFrom:"),function(_6e,_6f,_70){ +with(_6e){ +if(objj_msgSend(_70,"respondsToSelector:",sel_getUid("integerValue"))){ +objj_msgSend(_6e,"setIntegerValue:",objj_msgSend(_70,"integerValue")); +} +} +}),new objj_method(sel_getUid("takeIntValueFrom:"),function(_71,_72,_73){ +with(_71){ +if(objj_msgSend(_73,"respondsToSelector:",sel_getUid("intValue"))){ +objj_msgSend(_71,"setIntValue:",objj_msgSend(_73,"intValue")); +} +} +}),new objj_method(sel_getUid("takeObjectValueFrom:"),function(_74,_75,_76){ +with(_74){ +if(objj_msgSend(_76,"respondsToSelector:",sel_getUid("objectValue"))){ +objj_msgSend(_74,"setObjectValue:",objj_msgSend(_76,"objectValue")); +} +} +}),new objj_method(sel_getUid("takeStringValueFrom:"),function(_77,_78,_79){ +with(_77){ +if(objj_msgSend(_79,"respondsToSelector:",sel_getUid("stringValue"))){ +objj_msgSend(_77,"setStringValue:",objj_msgSend(_79,"stringValue")); +} +} +}),new objj_method(sel_getUid("textDidBeginEditing:"),function(_7a,_7b,_7c){ +with(_7a){ +if(objj_msgSend(_7c,"object")!=_7a){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPControlTextDidBeginEditingNotification,_7a,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",objj_msgSend(_7c,"object"),"CPFieldEditor")); +} +}),new objj_method(sel_getUid("textDidChange:"),function(_7d,_7e,_7f){ +with(_7d){ +if(objj_msgSend(_7f,"object")!=_7d){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPControlTextDidChangeNotification,_7d,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",objj_msgSend(_7f,"object"),"CPFieldEditor")); +} +}),new objj_method(sel_getUid("textDidEndEditing:"),function(_80,_81,_82){ +with(_80){ +if(objj_msgSend(_82,"object")!=_80){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPControlTextDidEndEditingNotification,_80,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",objj_msgSend(_82,"object"),"CPFieldEditor")); +} +}),new objj_method(sel_getUid("setAlignment:"),function(_83,_84,_85){ +with(_83){ +objj_msgSend(_83,"setValue:forThemeAttribute:",_85,"alignment"); +} +}),new objj_method(sel_getUid("alignment"),function(_86,_87){ +with(_86){ +return objj_msgSend(_86,"valueForThemeAttribute:","alignment"); +} +}),new objj_method(sel_getUid("setVerticalAlignment:"),function(_88,_89,_8a){ +with(_88){ +objj_msgSend(_88,"setValue:forThemeAttribute:",_8a,"vertical-alignment"); +} +}),new objj_method(sel_getUid("verticalAlignment"),function(_8b,_8c){ +with(_8b){ +return objj_msgSend(_8b,"valueForThemeAttribute:","vertical-alignment"); +} +}),new objj_method(sel_getUid("setLineBreakMode:"),function(_8d,_8e,_8f){ +with(_8d){ +objj_msgSend(_8d,"setValue:forThemeAttribute:",_8f,"line-break-mode"); +} +}),new objj_method(sel_getUid("lineBreakMode"),function(_90,_91){ +with(_90){ +return objj_msgSend(_90,"valueForThemeAttribute:","line-break-mode"); +} +}),new objj_method(sel_getUid("setTextColor:"),function(_92,_93,_94){ +with(_92){ +objj_msgSend(_92,"setValue:forThemeAttribute:",_94,"text-color"); +} +}),new objj_method(sel_getUid("textColor"),function(_95,_96){ +with(_95){ +return objj_msgSend(_95,"valueForThemeAttribute:","text-color"); +} +}),new objj_method(sel_getUid("setFont:"),function(_97,_98,_99){ +with(_97){ +objj_msgSend(_97,"setValue:forThemeAttribute:",_99,"font"); +} +}),new objj_method(sel_getUid("font"),function(_9a,_9b){ +with(_9a){ +return objj_msgSend(_9a,"valueForThemeAttribute:","font"); +} +}),new objj_method(sel_getUid("setTextShadowColor:"),function(_9c,_9d,_9e){ +with(_9c){ +objj_msgSend(_9c,"setValue:forThemeAttribute:",_9e,"text-shadow-color"); +} +}),new objj_method(sel_getUid("textShadowColor"),function(_9f,_a0){ +with(_9f){ +return objj_msgSend(_9f,"valueForThemeAttribute:","text-shadow-color"); +} +}),new objj_method(sel_getUid("setTextShadowOffset:"),function(_a1,_a2,_a3){ +with(_a1){ +objj_msgSend(_a1,"setValue:forThemeAttribute:",_a3,"text-shadow-offset"); +} +}),new objj_method(sel_getUid("textShadowOffset"),function(_a4,_a5){ +with(_a4){ +return objj_msgSend(_a4,"valueForThemeAttribute:","text-shadow-offset"); +} +}),new objj_method(sel_getUid("setImagePosition:"),function(_a6,_a7,_a8){ +with(_a6){ +objj_msgSend(_a6,"setValue:forThemeAttribute:",_a8,"image-position"); +} +}),new objj_method(sel_getUid("imagePosition"),function(_a9,_aa){ +with(_a9){ +return objj_msgSend(_a9,"valueForThemeAttribute:","image-position"); +} +}),new objj_method(sel_getUid("setImageScaling:"),function(_ab,_ac,_ad){ +with(_ab){ +objj_msgSend(_ab,"setValue:forThemeAttribute:",_ad,"image-scaling"); +} +}),new objj_method(sel_getUid("imageScaling"),function(_ae,_af){ +with(_ae){ +return objj_msgSend(_ae,"valueForThemeAttribute:","image-scaling"); +} +}),new objj_method(sel_getUid("setEnabled:"),function(_b0,_b1,_b2){ +with(_b0){ +if(_b2){ +objj_msgSend(_b0,"unsetThemeState:",CPThemeStateDisabled); +}else{ +objj_msgSend(_b0,"setThemeState:",CPThemeStateDisabled); +} +} +}),new objj_method(sel_getUid("isEnabled"),function(_b3,_b4){ +with(_b3){ +return !objj_msgSend(_b3,"hasThemeState:",CPThemeStateDisabled); +} +}),new objj_method(sel_getUid("highlight:"),function(_b5,_b6,_b7){ +with(_b5){ +objj_msgSend(_b5,"setHighlighted:",_b7); +} +}),new objj_method(sel_getUid("setHighlighted:"),function(_b8,_b9,_ba){ +with(_b8){ +if(_ba){ +objj_msgSend(_b8,"setThemeState:",CPThemeStateHighlighted); +}else{ +objj_msgSend(_b8,"unsetThemeState:",CPThemeStateHighlighted); +} +} +}),new objj_method(sel_getUid("isHighlighted"),function(_bb,_bc){ +with(_bb){ +return objj_msgSend(_bb,"hasThemeState:",CPThemeStateHighlighted); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("themeAttributes"),function(_bd,_be){ +with(_bd){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[CPLeftTextAlignment,CPTopVerticalTextAlignment,CPLineBreakByClipping,objj_msgSend(CPColor,"blackColor"),objj_msgSend(CPFont,"systemFontOfSize:",12),objj_msgSend(CPNull,"null"),{width:0,height:0},CPImageLeft,CPScaleToFit,{width:0,height:0},{width:-1,height:-1}],["alignment","vertical-alignment","line-break-mode","text-color","font","text-shadow-color","text-shadow-offset","image-position","image-scaling","min-size","max-size"]); +} +})]); +var _bf="CPControlValueKey",_c0="CPControlControlStateKey",_c1="CPControlIsEnabledKey",_c2="CPControlTargetKey",_c3="CPControlActionKey",_c4="CPControlSendActionOnKey",_c5="CPControlSendsActionOnEndEditingKey"; +var _c6="CPImageViewImageKey"; +var _2=objj_getClass("CPControl"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPControl\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_c7,_c8,_c9){ +with(_c7){ +_c7=objj_msgSendSuper({receiver:_c7,super_class:objj_getClass("CPControl").super_class},"initWithCoder:",_c9); +if(_c7){ +objj_msgSend(_c7,"setObjectValue:",objj_msgSend(_c9,"decodeObjectForKey:",_bf)); +objj_msgSend(_c7,"setTarget:",objj_msgSend(_c9,"decodeObjectForKey:",_c2)); +objj_msgSend(_c7,"setAction:",objj_msgSend(_c9,"decodeObjectForKey:",_c3)); +objj_msgSend(_c7,"sendActionOn:",objj_msgSend(_c9,"decodeIntForKey:",_c4)); +objj_msgSend(_c7,"setSendsActionOnEndEditing:",objj_msgSend(_c9,"decodeBoolForKey:",_c5)); +} +return _c7; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_ca,_cb,_cc){ +with(_ca){ +objj_msgSendSuper({receiver:_ca,super_class:objj_getClass("CPControl").super_class},"encodeWithCoder:",_cc); +if(_sendsActionOnEndEditing){ +objj_msgSend(_cc,"encodeBool:forKey:",_sendsActionOnEndEditing,_c5); +} +if(_value!==nil){ +objj_msgSend(_cc,"encodeObject:forKey:",_value,_bf); +} +if(_target!==nil){ +objj_msgSend(_cc,"encodeConditionalObject:forKey:",_target,_c2); +} +if(_action!==NULL){ +objj_msgSend(_cc,"encodeObject:forKey:",_action,_c3); +} +objj_msgSend(_cc,"encodeInt:forKey:",_sendActionOn,_c4); +} +})]); +var _cd=[],_ce={},_cf={}; +_cd[CPRegularControlSize]="Regular"; +_cd[CPSmallControlSize]="Small"; +_cd[CPMiniControlSize]="Mini"; +_CPControlIdentifierForControlSize=function(_d0){ +return _cd[_d0]; +}; +_CPControlColorWithPatternImage=function(_d1,_d2){ +var _d3=1,_d4=arguments.length,_d5=""; +for(;_d3<_d4;++_d3){ +_d5+=arguments[_d3]; +} +var _d6=_ce[_d5]; +if(!_d6){ +var _d7=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPControl,"class")); +_d6=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_d7,"pathForResource:",_d2+"/"+_d5+".png"),_d1[_d5])); +_ce[_d5]=_d6; +} +return _d6; +}; +_CPControlThreePartImagePattern=function(_d8,_d9,_da){ +var _db=2,_dc=arguments.length,_dd=""; +for(;_db<_dc;++_db){ +_dd+=arguments[_db]; +} +var _de=_cf[_dd]; +if(!_de){ +var _df=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPControl,"class")),_e0=_da+"/"+_dd; +_d9=_d9[_dd]; +_de=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_df,"pathForResource:",_e0+"0.png"),_d9[0]),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_df,"pathForResource:",_e0+"1.png"),_d9[1]),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_df,"pathForResource:",_e0+"2.png"),_d9[2])],_d8)); +_cf[_dd]=_de; +} +return _de; +}; +p;10;CPCookie.jt;1483;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jt;1412; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPCookie"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_cookieName"),new objj_ivar("_cookieValue"),new objj_ivar("_expires")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithName:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPCookie").super_class},"init"); +_cookieName=_5; +_cookieValue=objj_msgSend(_3,"_readCookieValue"); +return _3; +} +}),new objj_method(sel_getUid("value"),function(_6,_7){ +with(_6){ +return _cookieValue; +} +}),new objj_method(sel_getUid("name"),function(_8,_9){ +with(_8){ +return _cookieName; +} +}),new objj_method(sel_getUid("expires"),function(_a,_b){ +with(_a){ +return _expires; +} +}),new objj_method(sel_getUid("setValue:expires:domain:"),function(_c,_d,_e,_f,_10){ +with(_c){ +if(_f){ +var _11="; expires="+_f.toGMTString(); +}else{ +var _11=""; +} +if(_10){ +_10="; domain="+_10; +}else{ +_10=""; +} +document.cookie=_cookieName+"="+_e+_11+"; path=/"+_10; +} +}),new objj_method(sel_getUid("_readCookieValue"),function(_12,_13){ +with(_12){ +var _14=_cookieName+"="; +var ca=document.cookie.split(";"); +for(var i=0;i1){ +_2.pop(); +_1=_2[_2.length-1]; +} +} +})]); +p;12;CPDocument.jt;18916;@STATIC;1.0;I;21;Foundation/CPString.jI;20;Foundation/CPArray.ji;13;CPResponder.ji;13;CPSavePanel.ji;18;CPViewController.ji;20;CPWindowController.jt;18761; +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPSavePanel.j",YES); +objj_executeFile("CPViewController.j",YES); +objj_executeFile("CPWindowController.j",YES); +CPSaveOperation=0; +CPSaveAsOperation=1; +CPSaveToOperation=2; +CPAutosaveOperation=3; +CPChangeDone=0; +CPChangeUndone=1; +CPChangeCleared=2; +CPChangeReadOtherContents=3; +CPChangeAutosaved=4; +CPDocumentWillSaveNotification="CPDocumentWillSaveNotification"; +CPDocumentDidSaveNotification="CPDocumentDidSaveNotification"; +CPDocumentDidFailToSaveNotification="CPDocumentDidFailToSaveNotification"; +var _1=0; +var _2=objj_allocateClassPair(CPResponder,"CPDocument"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_window"),new objj_ivar("_view"),new objj_ivar("_viewControllersForWindowControllers"),new objj_ivar("_fileURL"),new objj_ivar("_fileType"),new objj_ivar("_windowControllers"),new objj_ivar("_untitledDocumentIndex"),new objj_ivar("_hasUndoManager"),new objj_ivar("_undoManager"),new objj_ivar("_changeCount"),new objj_ivar("_readConnection"),new objj_ivar("_writeRequest"),new objj_ivar("_canCloseAlert")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_4,_5){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPDocument").super_class},"init"); +if(_4){ +_windowControllers=[]; +_viewControllersForWindowControllers=objj_msgSend(CPDictionary,"dictionary"); +_hasUndoManager=YES; +_changeCount=0; +objj_msgSend(_4,"setNextResponder:",CPApp); +} +return _4; +} +}),new objj_method(sel_getUid("initWithType:error:"),function(_6,_7,_8,_9){ +with(_6){ +_6=objj_msgSend(_6,"init"); +if(_6){ +objj_msgSend(_6,"setFileType:",_8); +} +return _6; +} +}),new objj_method(sel_getUid("initWithContentsOfURL:ofType:delegate:didReadSelector:contextInfo:"),function(_a,_b,_c,_d,_e,_f,_10){ +with(_a){ +_a=objj_msgSend(_a,"init"); +if(_a){ +objj_msgSend(_a,"setFileURL:",_c); +objj_msgSend(_a,"setFileType:",_d); +objj_msgSend(_a,"readFromURL:ofType:delegate:didReadSelector:contextInfo:",_c,_d,_e,_f,_10); +} +return _a; +} +}),new objj_method(sel_getUid("initForURL:withContentsOfURL:ofType:delegate:didReadSelector:contextInfo:"),function(_11,_12,_13,_14,_15,_16,_17,_18){ +with(_11){ +_11=objj_msgSend(_11,"init"); +if(_11){ +objj_msgSend(_11,"setFileURL:",_13); +objj_msgSend(_11,"setFileType:",_15); +objj_msgSend(_11,"readFromURL:ofType:delegate:didReadSelector:contextInfo:",_14,_15,_16,_17,_18); +} +return _11; +} +}),new objj_method(sel_getUid("dataOfType:error:"),function(_19,_1a,_1b,_1c){ +with(_19){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"dataOfType:error: must be overridden by the document subclass."); +} +}),new objj_method(sel_getUid("readFromData:ofType:error:"),function(_1d,_1e,_1f,_20,_21){ +with(_1d){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"readFromData:ofType: must be overridden by the document subclass."); +} +}),new objj_method(sel_getUid("viewControllerWillLoadCib:"),function(_22,_23,_24){ +with(_22){ +} +}),new objj_method(sel_getUid("viewControllerDidLoadCib:"),function(_25,_26,_27){ +with(_25){ +} +}),new objj_method(sel_getUid("firstEligibleExistingWindowController"),function(_28,_29){ +with(_28){ +return nil; +} +}),new objj_method(sel_getUid("makeWindowControllers"),function(_2a,_2b){ +with(_2a){ +objj_msgSend(_2a,"makeViewAndWindowControllers"); +} +}),new objj_method(sel_getUid("makeViewAndWindowControllers"),function(_2c,_2d){ +with(_2c){ +var _2e=objj_msgSend(_2c,"viewCibName"),_2f=nil,_30=nil; +if(objj_msgSend(_2e,"length")){ +_2f=objj_msgSend(objj_msgSend(CPViewController,"alloc"),"initWithCibName:bundle:owner:",_2e,nil,_2c); +} +if(_2f){ +_30=objj_msgSend(_2c,"firstEligibleExistingWindowController"); +} +if(!_30){ +var _31=objj_msgSend(_2c,"windowCibName"); +if(objj_msgSend(_31,"length")){ +_30=objj_msgSend(objj_msgSend(CPWindowController,"alloc"),"initWithWindowCibName:owner:",_31,_2c); +}else{ +if(_2f){ +var _32=objj_msgSend(_2f,"view"),_33=objj_msgSend(_32,"frame"); +_33.origin=CGPointMake(50,50); +var _34=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",_33,CPTitledWindowMask|CPClosableWindowMask|CPMiniaturizableWindowMask|CPResizableWindowMask); +_30=objj_msgSend(objj_msgSend(CPWindowController,"alloc"),"initWithWindow:",_34); +} +} +} +if(_30&&_2f){ +objj_msgSend(_30,"setSupportsMultipleDocuments:",YES); +} +if(_30){ +objj_msgSend(_2c,"addWindowController:",_30); +} +if(_2f){ +objj_msgSend(_2c,"addViewController:forWindowController:",_2f,_30); +} +} +}),new objj_method(sel_getUid("windowControllers"),function(_35,_36){ +with(_35){ +return _windowControllers; +} +}),new objj_method(sel_getUid("addWindowController:"),function(_37,_38,_39){ +with(_37){ +objj_msgSend(_windowControllers,"addObject:",_39); +if(objj_msgSend(_39,"document")!==_37){ +objj_msgSend(_39,"setDocument:",_37); +} +} +}),new objj_method(sel_getUid("removeWindowController:"),function(_3a,_3b,_3c){ +with(_3a){ +if(_3c){ +objj_msgSend(_windowControllers,"removeObject:",_3c); +} +if(objj_msgSend(_3c,"document")===_3a){ +objj_msgSend(_3c,"setDocument:",nil); +} +} +}),new objj_method(sel_getUid("view"),function(_3d,_3e){ +with(_3d){ +return _view; +} +}),new objj_method(sel_getUid("viewControllers"),function(_3f,_40){ +with(_3f){ +return objj_msgSend(_viewControllersForWindowControllers,"allValues"); +} +}),new objj_method(sel_getUid("addViewController:forWindowController:"),function(_41,_42,_43,_44){ +with(_41){ +objj_msgSend(_viewControllersForWindowControllers,"setObject:forKey:",_43,objj_msgSend(_44,"UID")); +if(objj_msgSend(_44,"document")===_41){ +objj_msgSend(_44,"setViewController:",_43); +} +} +}),new objj_method(sel_getUid("removeViewController:"),function(_45,_46,_47){ +with(_45){ +objj_msgSend(_viewControllersForWindowControllers,"removeObject:",_47); +} +}),new objj_method(sel_getUid("viewControllerForWindowController:"),function(_48,_49,_4a){ +with(_48){ +return objj_msgSend(_viewControllersForWindowControllers,"objectForKey:",objj_msgSend(_4a,"UID")); +} +}),new objj_method(sel_getUid("showWindows"),function(_4b,_4c){ +with(_4b){ +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("setDocument:"),_4b); +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("showWindow:"),_4b); +} +}),new objj_method(sel_getUid("displayName"),function(_4d,_4e){ +with(_4d){ +if(_fileURL){ +return objj_msgSend(_fileURL,"lastPathComponent"); +} +if(!_untitledDocumentIndex){ +_untitledDocumentIndex=++_1; +} +if(_untitledDocumentIndex==1){ +return "Untitled"; +} +return "Untitled "+_untitledDocumentIndex; +} +}),new objj_method(sel_getUid("viewCibName"),function(_4f,_50){ +with(_4f){ +return nil; +} +}),new objj_method(sel_getUid("windowCibName"),function(_51,_52){ +with(_51){ +return nil; +} +}),new objj_method(sel_getUid("windowControllerDidLoadCib:"),function(_53,_54,_55){ +with(_53){ +} +}),new objj_method(sel_getUid("windowControllerWillLoadCib:"),function(_56,_57,_58){ +with(_56){ +} +}),new objj_method(sel_getUid("readFromURL:ofType:delegate:didReadSelector:contextInfo:"),function(_59,_5a,_5b,_5c,_5d,_5e,_5f){ +with(_59){ +objj_msgSend(_readConnection,"cancel"); +_readConnection=objj_msgSend(CPURLConnection,"connectionWithRequest:delegate:",objj_msgSend(CPURLRequest,"requestWithURL:",_5b),_59); +_readConnection.session=_60(_5c,_5d,_5e,_5f); +} +}),new objj_method(sel_getUid("fileURL"),function(_61,_62){ +with(_61){ +return _fileURL; +} +}),new objj_method(sel_getUid("setFileURL:"),function(_63,_64,_65){ +with(_63){ +if(_fileURL===_65){ +return; +} +_fileURL=_65; +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:",sel_getUid("synchronizeWindowTitleWithDocumentName")); +} +}),new objj_method(sel_getUid("saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:"),function(_66,_67,_68,_69,_6a,_6b,_6c,_6d){ +with(_66){ +var _6e=objj_msgSend(_66,"dataOfType:error:",objj_msgSend(_66,"fileType"),nil),_6f=_changeCount; +_writeRequest=objj_msgSend(CPURLRequest,"requestWithURL:",_68); +if(objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(_writeRequest,"setHTTPMethod:","POST"); +}else{ +objj_msgSend(_writeRequest,"setHTTPMethod:","PUT"); +} +objj_msgSend(_writeRequest,"setHTTPBody:",objj_msgSend(_6e,"rawString")); +objj_msgSend(_writeRequest,"setValue:forHTTPHeaderField:","close","Connection"); +if(_6a==CPSaveOperation){ +objj_msgSend(_writeRequest,"setValue:forHTTPHeaderField:","true","x-cappuccino-overwrite"); +} +if(_6a!=CPSaveToOperation){ +objj_msgSend(_66,"updateChangeCount:",CPChangeCleared); +} +var _70=objj_msgSend(CPURLConnection,"connectionWithRequest:delegate:",_writeRequest,_66); +_70.session=_71(_68,_6a,_6f,_6b,_6c,_6d,_70); +} +}),new objj_method(sel_getUid("connection:didReceiveResponse:"),function(_72,_73,_74,_75){ +with(_72){ +if(!objj_msgSend(_75,"isKindOfClass:",objj_msgSend(CPHTTPURLResponse,"class"))){ +return; +} +var _76=objj_msgSend(_75,"statusCode"); +if(_76===200){ +return; +} +var _77=_74.session; +if(_74==_readConnection){ +objj_msgSend(_74,"cancel"); +alert("There was an error retrieving the document."); +objj_msgSend(_77.delegate,_77.didReadSelector,_72,NO,_77.contextInfo); +}else{ +if(_76==409){ +objj_msgSend(_74,"cancel"); +if(confirm("There already exists a file with that name, would you like to overwrite it?")){ +objj_msgSend(_writeRequest,"setValue:forHTTPHeaderField:","true","x-cappuccino-overwrite"); +objj_msgSend(_74,"start"); +}else{ +if(_77.saveOperation!=CPSaveToOperation){ +_changeCount+=_77.changeCount; +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("setDocumentEdited:"),objj_msgSend(_72,"isDocumentEdited")); +} +_writeRequest=nil; +objj_msgSend(_77.delegate,_77.didSaveSelector,_72,NO,_77.contextInfo); +objj_msgSend(_72,"_sendDocumentSavedNotification:",NO); +} +} +} +} +}),new objj_method(sel_getUid("connection:didReceiveData:"),function(_78,_79,_7a,_7b){ +with(_78){ +var _7c=_7a.session; +if(_7a==_readConnection){ +objj_msgSend(_78,"readFromData:ofType:error:",objj_msgSend(CPData,"dataWithRawString:",_7b),_7c.fileType,nil); +objj_msgSend(_7c.delegate,_7c.didReadSelector,_78,YES,_7c.contextInfo); +}else{ +if(_7c.saveOperation!=CPSaveToOperation){ +objj_msgSend(_78,"setFileURL:",_7c.absoluteURL); +} +_writeRequest=nil; +objj_msgSend(_7c.delegate,_7c.didSaveSelector,_78,YES,_7c.contextInfo); +objj_msgSend(_78,"_sendDocumentSavedNotification:",YES); +} +} +}),new objj_method(sel_getUid("connection:didFailWithError:"),function(_7d,_7e,_7f,_80){ +with(_7d){ +var _81=_7f.session; +if(_readConnection==_7f){ +objj_msgSend(_81.delegate,_81.didReadSelector,_7d,NO,_81.contextInfo); +}else{ +if(_81.saveOperation!=CPSaveToOperation){ +_changeCount+=_81.changeCount; +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("setDocumentEdited:"),objj_msgSend(_7d,"isDocumentEdited")); +} +_writeRequest=nil; +alert("There was an error saving the document."); +objj_msgSend(_81.delegate,_81.didSaveSelector,_7d,NO,_81.contextInfo); +objj_msgSend(_7d,"_sendDocumentSavedNotification:",NO); +} +} +}),new objj_method(sel_getUid("connectionDidFinishLoading:"),function(_82,_83,_84){ +with(_82){ +if(_readConnection==_84){ +_readConnection=nil; +} +} +}),new objj_method(sel_getUid("isDocumentEdited"),function(_85,_86){ +with(_85){ +return _changeCount!=0; +} +}),new objj_method(sel_getUid("updateChangeCount:"),function(_87,_88,_89){ +with(_87){ +if(_89==CPChangeDone){ +++_changeCount; +}else{ +if(_89==CPChangeUndone){ +--_changeCount; +}else{ +if(_89==CPChangeCleared){ +_changeCount=0; +} +} +} +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("setDocumentEdited:"),objj_msgSend(_87,"isDocumentEdited")); +} +}),new objj_method(sel_getUid("setFileType:"),function(_8a,_8b,_8c){ +with(_8a){ +_fileType=_8c; +} +}),new objj_method(sel_getUid("fileType"),function(_8d,_8e){ +with(_8d){ +return _fileType; +} +}),new objj_method(sel_getUid("hasUndoManager"),function(_8f,_90){ +with(_8f){ +return _hasUndoManager; +} +}),new objj_method(sel_getUid("setHasUndoManager:"),function(_91,_92,_93){ +with(_91){ +if(_hasUndoManager==_93){ +return; +} +_hasUndoManager=_93; +if(!_hasUndoManager){ +objj_msgSend(_91,"setUndoManager:",nil); +} +} +}),new objj_method(sel_getUid("_undoManagerWillCloseGroup:"),function(_94,_95,_96){ +with(_94){ +var _97=objj_msgSend(_96,"object"); +if(objj_msgSend(_97,"isUndoing")||objj_msgSend(_97,"isRedoing")){ +return; +} +objj_msgSend(_94,"updateChangeCount:",CPChangeDone); +} +}),new objj_method(sel_getUid("_undoManagerDidUndoChange:"),function(_98,_99,_9a){ +with(_98){ +objj_msgSend(_98,"updateChangeCount:",CPChangeUndone); +} +}),new objj_method(sel_getUid("_undoManagerDidRedoChange:"),function(_9b,_9c,_9d){ +with(_9b){ +objj_msgSend(_9b,"updateChangeCount:",CPChangeDone); +} +}),new objj_method(sel_getUid("setUndoManager:"),function(_9e,_9f,_a0){ +with(_9e){ +var _a1=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_undoManager){ +objj_msgSend(_a1,"removeObserver:name:object:",_9e,CPUndoManagerDidUndoChangeNotification,_undoManager); +objj_msgSend(_a1,"removeObserver:name:object:",_9e,CPUndoManagerDidRedoChangeNotification,_undoManager); +objj_msgSend(_a1,"removeObserver:name:object:",_9e,CPUndoManagerWillCloseUndoGroupNotification,_undoManager); +} +_undoManager=_a0; +if(_undoManager){ +objj_msgSend(_a1,"addObserver:selector:name:object:",_9e,sel_getUid("_undoManagerDidUndoChange:"),CPUndoManagerDidUndoChangeNotification,_undoManager); +objj_msgSend(_a1,"addObserver:selector:name:object:",_9e,sel_getUid("_undoManagerDidRedoChange:"),CPUndoManagerDidRedoChangeNotification,_undoManager); +objj_msgSend(_a1,"addObserver:selector:name:object:",_9e,sel_getUid("_undoManagerWillCloseGroup:"),CPUndoManagerWillCloseUndoGroupNotification,_undoManager); +} +} +}),new objj_method(sel_getUid("undoManager"),function(_a2,_a3){ +with(_a2){ +if(_hasUndoManager&&!_undoManager){ +objj_msgSend(_a2,"setUndoManager:",objj_msgSend(objj_msgSend(CPUndoManager,"alloc"),"init")); +} +return _undoManager; +} +}),new objj_method(sel_getUid("windowWillReturnUndoManager:"),function(_a4,_a5,_a6){ +with(_a4){ +return objj_msgSend(_a4,"undoManager"); +} +}),new objj_method(sel_getUid("saveDocument:"),function(_a7,_a8,_a9){ +with(_a7){ +objj_msgSend(_a7,"saveDocumentWithDelegate:didSaveSelector:contextInfo:",nil,nil,nil); +} +}),new objj_method(sel_getUid("saveDocumentWithDelegate:didSaveSelector:contextInfo:"),function(_aa,_ab,_ac,_ad,_ae){ +with(_aa){ +if(_fileURL){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPDocumentWillSaveNotification,_aa); +objj_msgSend(_aa,"saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:",_fileURL,objj_msgSend(_aa,"fileType"),CPSaveOperation,_ac,_ad,_ae); +}else{ +objj_msgSend(_aa,"_saveDocumentAsWithDelegate:didSaveSelector:contextInfo:",_ac,_ad,_ae); +} +} +}),new objj_method(sel_getUid("saveDocumentAs:"),function(_af,_b0,_b1){ +with(_af){ +objj_msgSend(_af,"_saveDocumentAsWithDelegate:didSaveSelector:contextInfo:",nil,nil,nil); +} +}),new objj_method(sel_getUid("_saveDocumentAsWithDelegate:didSaveSelector:contextInfo:"),function(_b2,_b3,_b4,_b5,_b6){ +with(_b2){ +var _b7=objj_msgSend(CPSavePanel,"savePanel"),_b8=objj_msgSend(_b7,"runModal"); +if(!_b8){ +return; +} +var _b9=objj_msgSend(_b7,"URL"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPDocumentWillSaveNotification,_b2); +objj_msgSend(_b2,"saveToURL:ofType:forSaveOperation:delegate:didSaveSelector:contextInfo:",_b9,objj_msgSend(_b2,"fileType"),CPSaveAsOperation,_b4,_b5,_b6); +} +}),new objj_method(sel_getUid("_sendDocumentSavedNotification:"),function(_ba,_bb,_bc){ +with(_ba){ +if(_bc){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPDocumentDidSaveNotification,_ba); +}else{ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPDocumentDidFailToSaveNotification,_ba); +} +} +})]); +var _2=objj_getClass("CPDocument"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPDocument\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("close"),function(_bd,_be){ +with(_bd){ +objj_msgSend(_windowControllers,"makeObjectsPerformSelector:withObject:",sel_getUid("removeDocumentAndCloseIfNecessary:"),_bd); +objj_msgSend(objj_msgSend(CPDocumentController,"sharedDocumentController"),"removeDocument:",_bd); +} +}),new objj_method(sel_getUid("shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:"),function(_bf,_c0,_c1,_c2,_c3,_c4){ +with(_bf){ +if(objj_msgSend(_c1,"shouldCloseDocument")||(objj_msgSend(_windowControllers,"count")<2&&objj_msgSend(_windowControllers,"indexOfObject:",_c1)!==CPNotFound)){ +objj_msgSend(_bf,"canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:",_bf,sel_getUid("_document:shouldClose:context:"),{delegate:_c2,selector:_c3,context:_c4}); +}else{ +if(objj_msgSend(_c2,"respondsToSelector:",_c3)){ +objj_msgSend(_c2,_c3,_bf,YES,_c4); +} +} +} +}),new objj_method(sel_getUid("_document:shouldClose:context:"),function(_c5,_c6,_c7,_c8,_c9){ +with(_c5){ +if(_c7===_c5&&_c8){ +objj_msgSend(_c5,"close"); +} +objj_msgSend(_c9.delegate,_c9.selector,_c7,_c8,_c9.context); +} +}),new objj_method(sel_getUid("canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:"),function(_ca,_cb,_cc,_cd,_ce){ +with(_ca){ +if(!objj_msgSend(_ca,"isDocumentEdited")){ +return objj_msgSend(_cc,"respondsToSelector:",_cd)&&objj_msgSend(_cc,_cd,_ca,YES,_ce); +} +_canCloseAlert=objj_msgSend(objj_msgSend(CPAlert,"alloc"),"init"); +objj_msgSend(_canCloseAlert,"setDelegate:",_ca); +objj_msgSend(_canCloseAlert,"setAlertStyle:",CPWarningAlertStyle); +objj_msgSend(_canCloseAlert,"setTitle:","Unsaved Document"); +objj_msgSend(_canCloseAlert,"setMessageText:","Do you want to save the changes you've made to the document \""+(objj_msgSend(_ca,"displayName")||objj_msgSend(_ca,"fileName"))+"\"?"); +objj_msgSend(_canCloseAlert,"addButtonWithTitle:","Save"); +objj_msgSend(_canCloseAlert,"addButtonWithTitle:","Cancel"); +objj_msgSend(_canCloseAlert,"addButtonWithTitle:","Don't Save"); +_canCloseAlert._context={delegate:_cc,selector:_cd,context:_ce}; +objj_msgSend(_canCloseAlert,"runModal"); +} +}),new objj_method(sel_getUid("alertDidEnd:returnCode:"),function(_cf,_d0,_d1,_d2){ +with(_cf){ +if(_d1!==_canCloseAlert){ +return; +} +var _d3=_d1._context.delegate,_d4=_d1._context.selector,_d5=_d1._context.context; +if(_d2===0){ +objj_msgSend(_cf,"saveDocumentWithDelegate:didSaveSelector:contextInfo:",_d3,_d4,_d5); +}else{ +objj_msgSend(_d3,_d4,_cf,_d2===2,_d5); +} +_canCloseAlert=nil; +} +})]); +var _60=function(_d6,_d7,_d8,_d9){ +return {fileType:_d6,delegate:_d7,didReadSelector:_d8,contextInfo:_d9}; +}; +var _71=function(_da,_db,_dc,_dd,_de,_df,_e0){ +return {absoluteURL:_da,saveOperation:_db,changeCount:_dc,delegate:_dd,didSaveSelector:_de,contextInfo:_df,connection:_e0}; +}; +p;22;CPDocumentController.jt;9691;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPBundle.ji;12;CPDocument.ji;13;CPOpenPanel.jt;9585; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPBundle.j",NO); +objj_executeFile("CPDocument.j",YES); +objj_executeFile("CPOpenPanel.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(CPObject,"CPDocumentController"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_documents"),new objj_ivar("_documentTypes")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_4,_5){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPDocumentController").super_class},"init"); +if(_4){ +_documents=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init"); +if(!_1){ +_1=_4; +} +_documentTypes=objj_msgSend(objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"infoDictionary"),"objectForKey:","CPBundleDocumentTypes"); +} +return _4; +} +}),new objj_method(sel_getUid("documentForURL:"),function(_6,_7,_8){ +with(_6){ +var _9=0,_a=objj_msgSend(_documents,"count"); +for(;_9<_a;++_9){ +var _b=_documents[_9]; +if(objj_msgSend(objj_msgSend(_b,"fileURL"),"isEqual:",_8)){ +return _b; +} +} +return nil; +} +}),new objj_method(sel_getUid("openUntitledDocumentOfType:display:"),function(_c,_d,_e,_f){ +with(_c){ +var _10=objj_msgSend(_c,"makeUntitledDocumentOfType:error:",_e,nil); +if(_10){ +objj_msgSend(_c,"addDocument:",_10); +} +if(_f){ +objj_msgSend(_10,"makeWindowControllers"); +objj_msgSend(_10,"showWindows"); +} +return _10; +} +}),new objj_method(sel_getUid("makeUntitledDocumentOfType:error:"),function(_11,_12,_13,_14){ +with(_11){ +return objj_msgSend(objj_msgSend(objj_msgSend(_11,"documentClassForType:",_13),"alloc"),"initWithType:error:",_13,_14); +} +}),new objj_method(sel_getUid("openDocumentWithContentsOfURL:display:error:"),function(_15,_16,_17,_18,_19){ +with(_15){ +var _1a=objj_msgSend(_15,"documentForURL:",_17); +if(!_1a){ +var _1b=objj_msgSend(_15,"typeForContentsOfURL:error:",_17,_19); +_1a=objj_msgSend(_15,"makeDocumentWithContentsOfURL:ofType:delegate:didReadSelector:contextInfo:",_17,_1b,_15,sel_getUid("document:didRead:contextInfo:"),objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_18,"shouldDisplay")); +objj_msgSend(_15,"addDocument:",_1a); +if(_1a){ +objj_msgSend(_15,"noteNewRecentDocument:",_1a); +} +}else{ +if(_18){ +objj_msgSend(_1a,"showWindows"); +} +} +return _1a; +} +}),new objj_method(sel_getUid("reopenDocumentForURL:withContentsOfURL:error:"),function(_1c,_1d,_1e,_1f,_20){ +with(_1c){ +return objj_msgSend(_1c,"makeDocumentForURL:withContentsOfURL:ofType:delegate:didReadSelector:contextInfo:",_1e,_1f,objj_msgSend(objj_msgSend(_documentTypes,"objectAtIndex:",0),"objectForKey:","CPBundleTypeName"),_1c,sel_getUid("document:didRead:contextInfo:"),nil); +} +}),new objj_method(sel_getUid("makeDocumentWithContentsOfURL:ofType:delegate:didReadSelector:contextInfo:"),function(_21,_22,_23,_24,_25,_26,_27){ +with(_21){ +return objj_msgSend(objj_msgSend(objj_msgSend(_21,"documentClassForType:",_24),"alloc"),"initWithContentsOfURL:ofType:delegate:didReadSelector:contextInfo:",_23,_24,_25,_26,_27); +} +}),new objj_method(sel_getUid("makeDocumentForURL:withContentsOfURL:ofType:delegate:didReadSelector:contextInfo:"),function(_28,_29,_2a,_2b,_2c,_2d,_2e,_2f){ +with(_28){ +return objj_msgSend(objj_msgSend(objj_msgSend(_28,"documentClassForType:",_2c),"alloc"),"initForURL:withContentsOfURL:ofType:delegate:didReadSelector:contextInfo:",_2a,_2b,_2c,_2d,_2e,_2f); +} +}),new objj_method(sel_getUid("document:didRead:contextInfo:"),function(_30,_31,_32,_33,_34){ +with(_30){ +if(!_33){ +return; +} +objj_msgSend(_32,"makeWindowControllers"); +if(objj_msgSend(_34,"objectForKey:","shouldDisplay")){ +objj_msgSend(_32,"showWindows"); +} +} +}),new objj_method(sel_getUid("newDocument:"),function(_35,_36,_37){ +with(_35){ +objj_msgSend(_35,"openUntitledDocumentOfType:display:",objj_msgSend(objj_msgSend(_documentTypes,"objectAtIndex:",0),"objectForKey:","CPBundleTypeName"),YES); +} +}),new objj_method(sel_getUid("openDocument:"),function(_38,_39,_3a){ +with(_38){ +var _3b=objj_msgSend(CPOpenPanel,"openPanel"); +objj_msgSend(_3b,"runModal"); +var _3c=objj_msgSend(_3b,"URLs"),_3d=0,_3e=objj_msgSend(_3c,"count"); +for(;_3d<_3e;++_3d){ +objj_msgSend(_38,"openDocumentWithContentsOfURL:display:error:",objj_msgSend(CPURL,"URLWithString:",_3c[_3d]),YES,nil); +} +} +}),new objj_method(sel_getUid("documents"),function(_3f,_40){ +with(_3f){ +return _documents; +} +}),new objj_method(sel_getUid("addDocument:"),function(_41,_42,_43){ +with(_41){ +objj_msgSend(_documents,"addObject:",_43); +} +}),new objj_method(sel_getUid("removeDocument:"),function(_44,_45,_46){ +with(_44){ +objj_msgSend(_documents,"removeObjectIdenticalTo:",_46); +} +}),new objj_method(sel_getUid("defaultType"),function(_47,_48){ +with(_47){ +return objj_msgSend(_documentTypes[0],"objectForKey:","CPBundleTypeName"); +} +}),new objj_method(sel_getUid("typeForContentsOfURL:error:"),function(_49,_4a,_4b,_4c){ +with(_49){ +var _4d=0,_4e=_documentTypes.length,_4f=objj_msgSend(objj_msgSend(_4b,"pathExtension"),"lowercaseString"),_50=nil; +for(;_4d<_4e;++_4d){ +var _51=_documentTypes[_4d],_52=objj_msgSend(_51,"objectForKey:","CFBundleTypeExtensions"),_53=0,_54=_52.length; +for(;_53<_54;++_53){ +var _55=objj_msgSend(_52[_53],"lowercaseString"); +if(_55===_4f){ +return objj_msgSend(_51,"objectForKey:","CPBundleTypeName"); +} +if(_55==="****"){ +_50=objj_msgSend(_51,"objectForKey:","CPBundleTypeName"); +} +} +} +return _50||objj_msgSend(_49,"defaultType"); +} +}),new objj_method(sel_getUid("_infoForType:"),function(_56,_57,_58){ +with(_56){ +var i=0,_59=objj_msgSend(_documentTypes,"count"); +for(;i<_59;++i){ +var _5a=_documentTypes[i]; +if(objj_msgSend(_5a,"objectForKey:","CPBundleTypeName")==_58){ +return _5a; +} +} +return nil; +} +}),new objj_method(sel_getUid("documentClassForType:"),function(_5b,_5c,_5d){ +with(_5b){ +var _5e=objj_msgSend(objj_msgSend(_5b,"_infoForType:",_5d),"objectForKey:","CPDocumentClass"); +return _5e?CPClassFromString(_5e):nil; +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("sharedDocumentController"),function(_5f,_60){ +with(_5f){ +if(!_1){ +objj_msgSend(objj_msgSend(_5f,"alloc"),"init"); +} +return _1; +} +})]); +var _2=objj_getClass("CPDocumentController"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPDocumentController\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("closeAllDocumentsWithDelegate:didCloseAllSelector:contextInfo:"),function(_61,_62,_63,_64,_65){ +with(_61){ +var _66={delegate:_63,selector:_64,context:_65}; +objj_msgSend(_61,"_closeDocumentsStartingWith:shouldClose:context:",nil,YES,_66); +} +}),new objj_method(sel_getUid("_closeDocumentsStartingWith:shouldClose:context:"),function(_67,_68,_69,_6a,_6b){ +with(_67){ +if(_6a){ +objj_msgSend(_69,"close"); +if(objj_msgSend(objj_msgSend(_67,"documents"),"count")>0){ +objj_msgSend(objj_msgSend(objj_msgSend(_67,"documents"),"lastObject"),"canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:",_67,sel_getUid("_closeDocumentsStartingWith:shouldClose:context:"),_6b); +return; +} +} +if(objj_msgSend(_6b.delegate,"respondsToSelector:",_6b.selector)){ +objj_msgSend(_6b.delegate,_6b.selector,_67,objj_msgSend(objj_msgSend(_67,"documents"),"count")===0,_6b.context); +} +} +})]); +var _2=objj_getClass("CPDocumentController"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPDocumentController\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("recentDocumentURLs"),function(_6c,_6d){ +with(_6c){ +if(typeof window["cpRecentDocumentURLs"]==="function"){ +return window.cpRecentDocumentURLs(); +} +return []; +} +}),new objj_method(sel_getUid("clearRecentDocuments:"),function(_6e,_6f,_70){ +with(_6e){ +if(typeof window["cpClearRecentDocuments"]==="function"){ +window.cpClearRecentDocuments(); +} +objj_msgSend(_6e,"_updateRecentDocumentsMenu"); +} +}),new objj_method(sel_getUid("noteNewRecentDocument:"),function(_71,_72,_73){ +with(_71){ +objj_msgSend(_71,"noteNewRecentDocumentURL:",objj_msgSend(objj_msgSend(_73,"fileURL"),"absoluteString")); +} +}),new objj_method(sel_getUid("noteNewRecentDocumentURL:"),function(_74,_75,_76){ +with(_74){ +if(typeof window["cpNoteNewRecentDocumentPath"]==="function"){ +window.cpNoteNewRecentDocumentPath(_76); +} +objj_msgSend(_74,"_updateRecentDocumentsMenu"); +} +}),new objj_method(sel_getUid("_removeAllRecentDocumentsFromMenu:"),function(_77,_78,_79){ +with(_77){ +var _7a=objj_msgSend(_79,"itemArray"),_7b=objj_msgSend(_7a,"count"); +while(_7b--){ +var _7c=_7a[_7b]; +if(objj_msgSend(_7c,"action")===sel_getUid("_openRecentDocument:")){ +objj_msgSend(_79,"removeItemAtIndex:",_7b); +} +} +} +}),new objj_method(sel_getUid("_updateRecentDocumentsMenu"),function(_7d,_7e){ +with(_7d){ +var _7f=objj_msgSend(objj_msgSend(CPApp,"mainMenu"),"_menuWithName:","_CPRecentDocumentsMenu"),_80=objj_msgSend(_7d,"recentDocumentURLs"),_81=objj_msgSend(_7f,"itemArray"),_82=objj_msgSend(_80,"count"),_83=objj_msgSend(_81,"count"); +objj_msgSend(_7d,"_removeAllRecentDocumentsFromMenu:",_7f); +if(_83){ +if(!_82){ +if(objj_msgSend(_81[0],"isSeparatorItem")){ +objj_msgSend(_7f,"removeItemAtIndex:",0); +} +}else{ +if(!objj_msgSend(_81[0],"isSeparatorItem")){ +objj_msgSend(_7f,"insertItem:atIndex:",objj_msgSend(CPMenuItem,"separatorItem"),0); +} +} +} +while(_82--){ +var _84=_80[_82],_85=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:",objj_msgSend(_84,"lastPathComponent"),sel_getUid("_openRecentDocument:"),nil); +objj_msgSend(_85,"setTag:",_84); +objj_msgSend(_7f,"insertItem:atIndex:",_85,0); +} +} +}),new objj_method(sel_getUid("_openRecentDocument:"),function(_86,_87,_88){ +with(_86){ +objj_msgSend(_86,"openDocumentWithContentsOfURL:display:error:",objj_msgSend(_88,"tag"),YES,nil); +} +})]); +p;14;CPDragServer.jt;12433;@STATIC;1.0;I;15;AppKit/CPView.jI;16;AppKit/CPEvent.jI;21;AppKit/CPPasteboard.jI;20;AppKit/CPImageView.jt;12321; +objj_executeFile("AppKit/CPView.j",NO); +objj_executeFile("AppKit/CPEvent.j",NO); +objj_executeFile("AppKit/CPPasteboard.j",NO); +objj_executeFile("AppKit/CPImageView.j",NO); +CPDragOperationNone=0,CPDragOperationCopy=1<<1,CPDragOperationLink=1<<1,CPDragOperationGeneric=1<<2,CPDragOperationPrivate=1<<3,CPDragOperationMove=1<<4,CPDragOperationDelete=1<<5,CPDragOperationEvery=-1; +var _1=nil,_2=nil; +var _3=nil; +var _4=nil; +var _5=nil; +var _6=objj_allocateClassPair(CPObject,"CPDraggingInfo"),_7=_6.isa; +objj_registerClassPair(_6); +class_addMethods(_6,[new objj_method(sel_getUid("draggingPasteboard"),function(_8,_9){ +with(_8){ +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +return objj_msgSend(_CPDOMDataTransferPasteboard,"DOMDataTransferPasteboard"); +} +return objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingPasteboard"); +} +}),new objj_method(sel_getUid("draggingSource"),function(_a,_b){ +with(_a){ +return objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingSource"); +} +}),new objj_method(sel_getUid("draggingLocation"),function(_c,_d){ +with(_c){ +return objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingLocation"); +} +}),new objj_method(sel_getUid("draggingDestinationWindow"),function(_e,_f){ +with(_e){ +return (objj_msgSend(objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingDestination"),"isKindOfClass:",objj_msgSend(CPWindow,"class"))?objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingDestination"):objj_msgSend(objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggingDestination"),"window")); +} +}),new objj_method(sel_getUid("draggedImage"),function(_10,_11){ +with(_10){ +return objj_msgSend(objj_msgSend(_10,"draggedView"),"image"); +} +}),new objj_method(sel_getUid("draggedImageLocation"),function(_12,_13){ +with(_12){ +return objj_msgSend(_12,"draggedViewLocation"); +} +}),new objj_method(sel_getUid("draggedView"),function(_14,_15){ +with(_14){ +return objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"draggedView"); +} +}),new objj_method(sel_getUid("draggedViewLocation"),function(_16,_17){ +with(_16){ +var _18=objj_msgSend(CPDragServer,"sharedDragServer"); +return objj_msgSend((objj_msgSend(objj_msgSend(_18,"draggingDestination"),"isKindOfClass:",objj_msgSend(CPWindow,"class"))?objj_msgSend(_18,"draggingDestination"):objj_msgSend(objj_msgSend(_18,"draggingDestination"),"window")),"convertPlatformWindowToBase:",objj_msgSend(objj_msgSend(_18,"draggedView"),"frame").origin); +} +})]); +var _19=1<<0,_1a=1<<1,_1b=1<<2,_1c=1<<3; +var _6=objj_allocateClassPair(CPObject,"CPDragServer"),_7=_6.isa; +class_addIvars(_6,[new objj_ivar("_isDragging"),new objj_ivar("_draggedWindow"),new objj_ivar("_draggedView"),new objj_ivar("_imageView"),new objj_ivar("_isDraggingImage"),new objj_ivar("_draggingOffset"),new objj_ivar("_draggingPasteboard"),new objj_ivar("_draggingSource"),new objj_ivar("_implementedDraggingSourceMethods"),new objj_ivar("_draggingLocation"),new objj_ivar("_draggingDestination"),new objj_ivar("_startDragLocation"),new objj_ivar("_shouldSlideBack"),new objj_ivar("_dragOperation")]); +objj_registerClassPair(_6); +class_addMethods(_6,[new objj_method(sel_getUid("isDragging"),function(_1d,_1e){ +with(_1d){ +return _isDragging; +} +}),new objj_method(sel_getUid("draggedWindow"),function(_1f,_20){ +with(_1f){ +return _draggedWindow; +} +}),new objj_method(sel_getUid("draggedView"),function(_21,_22){ +with(_21){ +return _draggedView; +} +}),new objj_method(sel_getUid("draggingOffset"),function(_23,_24){ +with(_23){ +return _draggingOffset; +} +}),new objj_method(sel_getUid("draggingPasteboard"),function(_25,_26){ +with(_25){ +return _draggingPasteboard; +} +}),new objj_method(sel_getUid("draggingSource"),function(_27,_28){ +with(_27){ +return _draggingSource; +} +}),new objj_method(sel_getUid("init"),function(_29,_2a){ +with(_29){ +_29=objj_msgSendSuper({receiver:_29,super_class:objj_getClass("CPDragServer").super_class},"init"); +if(_29){ +_draggedWindow=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",{origin:{x:0,y:0},size:{width:0,height:0}},CPBorderlessWindowMask); +objj_msgSend(_draggedWindow,"setLevel:",CPDraggingWindowLevel); +} +return _29; +} +}),new objj_method(sel_getUid("draggingDestination"),function(_2b,_2c){ +with(_2b){ +return _draggingDestination; +} +}),new objj_method(sel_getUid("draggingLocation"),function(_2d,_2e){ +with(_2d){ +return _draggingLocation; +} +}),new objj_method(sel_getUid("draggingStartedInPlatformWindow:globalLocation:"),function(_2f,_30,_31,_32){ +with(_2f){ +if(_isDraggingImage){ +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedImage:beganAt:"))){ +objj_msgSend(_draggingSource,"draggedImage:beganAt:",objj_msgSend(_draggedView,"image"),_32); +} +}else{ +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedView:beganAt:"))){ +objj_msgSend(_draggingSource,"draggedView:beganAt:",_draggedView,_32); +} +} +if(!objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +objj_msgSend(_draggedWindow,"orderFront:",_2f); +} +} +}),new objj_method(sel_getUid("draggingSourceUpdatedWithGlobalLocation:"),function(_33,_34,_35){ +with(_33){ +if(!objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +objj_msgSend(_draggedWindow,"setFrameOrigin:",{x:_35.x-_draggingOffset.width,y:_35.y-_draggingOffset.height}); +} +if(_implementedDraggingSourceMethods&_19){ +objj_msgSend(_draggingSource,"draggedImage:movedTo:",objj_msgSend(_draggedView,"image"),_35); +}else{ +if(_implementedDraggingSourceMethods&_1b){ +objj_msgSend(_draggingSource,"draggedView:movedTo:",_draggedView,_35); +} +} +} +}),new objj_method(sel_getUid("draggingUpdatedInPlatformWindow:location:"),function(_36,_37,_38,_39){ +with(_36){ +var _3a=CPDragOperationCopy; +var _3b=objj_msgSend(_38,"_dragHitTest:pasteboard:",_39,objj_msgSend(_5,"draggingPasteboard")); +if(_3b){ +_draggingLocation=objj_msgSend((objj_msgSend(_3b,"isKindOfClass:",objj_msgSend(CPWindow,"class"))?_3b:objj_msgSend(_3b,"window")),"convertPlatformWindowToBase:",_39); +} +if(_3b!==_draggingDestination){ +if(_draggingDestination&&objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("draggingExited:"))){ +objj_msgSend(_draggingDestination,"draggingExited:",_5); +} +_draggingDestination=_3b; +if(_draggingDestination&&objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("draggingEntered:"))){ +_3a=objj_msgSend(_draggingDestination,"draggingEntered:",_5); +} +}else{ +if(_draggingDestination&&objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("draggingUpdated:"))){ +_3a=objj_msgSend(_draggingDestination,"draggingUpdated:",_5); +} +} +if(!_draggingDestination){ +_3a=CPDragOperationNone; +} +return _3a; +} +}),new objj_method(sel_getUid("draggingEndedInPlatformWindow:globalLocation:operation:"),function(_3c,_3d,_3e,_3f,_40){ +with(_3c){ +objj_msgSend(_draggedView,"removeFromSuperview"); +if(!objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +objj_msgSend(_draggedWindow,"orderOut:",_3c); +} +if(_implementedDraggingSourceMethods&_1a){ +objj_msgSend(_draggingSource,"draggedImage:endedAt:operation:",objj_msgSend(_draggedView,"image"),_3f,_40); +}else{ +if(_implementedDraggingSourceMethods&_1c){ +objj_msgSend(_draggingSource,"draggedView:endedAt:operation:",_draggedView,_3f,_40); +} +} +_isDragging=NO; +} +}),new objj_method(sel_getUid("performDragOperationInPlatformWindow:"),function(_41,_42,_43){ +with(_41){ +if(_draggingDestination&&(!objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("prepareForDragOperation:"))||objj_msgSend(_draggingDestination,"prepareForDragOperation:",_5))&&(!objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("performDragOperation:"))||objj_msgSend(_draggingDestination,"performDragOperation:",_5))&&objj_msgSend(_draggingDestination,"respondsToSelector:",sel_getUid("concludeDragOperation:"))){ +objj_msgSend(_draggingDestination,"concludeDragOperation:",_5); +} +} +}),new objj_method(sel_getUid("dragView:fromWindow:at:offset:event:pasteboard:source:slideBack:"),function(_44,_45,_46,_47,_48,_49,_4a,_4b,_4c,_4d){ +with(_44){ +_isDragging=YES; +_draggedView=_46; +_draggingPasteboard=_4b||objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard); +_draggingSource=_4c; +_draggingDestination=nil; +_shouldSlideBack=_4d; +var _4e=objj_msgSend(_4a,"window"),_4f=objj_msgSend(_4a,"locationInWindow"); +if(_4f){ +if(_4e){ +_4f=objj_msgSend(_4e,"convertBaseToGlobal:",_4f); +} +_draggingOffset={width:_4f.x-_48.x,height:_4f.y-_48.y}; +}else{ +_draggingOffset={width:0,height:0}; +} +if(objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(_draggedWindow,"setPlatformWindow:",objj_msgSend(_47,"platformWindow")); +} +objj_msgSend(_46,"setFrameOrigin:",{x:0,y:0}); +var _50=objj_msgSend(CPEvent,"mouseLocation"); +_startDragLocation={x:_50.x-_draggingOffset.width,y:_50.y-_draggingOffset.height}; +objj_msgSend(_draggedWindow,"setFrameOrigin:",_startDragLocation); +objj_msgSend(_draggedWindow,"setFrameSize:",objj_msgSend(_46,"frame").size); +objj_msgSend(objj_msgSend(_draggedWindow,"contentView"),"addSubview:",_46); +_implementedDraggingSourceMethods=0; +if(_draggedView===_imageView){ +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedImage:movedTo:"))){ +_implementedDraggingSourceMethods|=_19; +} +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedImage:endAt:operation:"))){ +_implementedDraggingSourceMethods|=_1a; +} +}else{ +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedView:movedTo:"))){ +_implementedDraggingSourceMethods|=_1b; +} +if(objj_msgSend(_draggingSource,"respondsToSelector:",sel_getUid("draggedView:endedAt:operation:"))){ +_implementedDraggingSourceMethods|=_1c; +} +} +if(!objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +objj_msgSend(_44,"draggingStartedInPlatformWindow:globalLocation:",objj_msgSend(_47,"platformWindow"),_50); +objj_msgSend(_44,"trackDragging:",_4a); +} +} +}),new objj_method(sel_getUid("dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:"),function(_51,_52,_53,_54,_55,_56,_57,_58,_59,_5a){ +with(_51){ +_isDraggingImage=YES; +var _5b=objj_msgSend(_53,"size"); +if(!_imageView){ +_imageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:_5b.width,height:_5b.height}}); +} +objj_msgSend(_imageView,"setImage:",_53); +objj_msgSend(_51,"dragView:fromWindow:at:offset:event:pasteboard:source:slideBack:",_imageView,_54,_55,_56,_57,_58,_59,_5a); +} +}),new objj_method(sel_getUid("trackDragging:"),function(_5c,_5d,_5e){ +with(_5c){ +var _5f=objj_msgSend(_5e,"type"),_60=objj_msgSend(_draggedWindow,"platformWindow"),_61=objj_msgSend(objj_msgSend(_5e,"window"),"convertBaseToPlatformWindow:",objj_msgSend(_5e,"locationInWindow")); +if(_5f===CPLeftMouseUp){ +if(_dragOperation!==CPDragOperationNone){ +objj_msgSend(_5c,"performDragOperationInPlatformWindow:",_60); +} +objj_msgSend(_5c,"draggingEndedInPlatformWindow:globalLocation:operation:",_60,_61,_dragOperation); +return; +} +objj_msgSend(_5c,"draggingSourceUpdatedWithGlobalLocation:",_61); +_dragOperation=objj_msgSend(_5c,"draggingUpdatedInPlatformWindow:location:",_60,_61); +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_5c,sel_getUid("trackDragging:"),CPMouseMovedMask|CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,0,NO); +} +})]); +class_addMethods(_7,[new objj_method(sel_getUid("initialize"),function(_62,_63){ +with(_62){ +if(_62!==objj_msgSend(CPDragServer,"class")){ +return; +} +_5=objj_msgSend(objj_msgSend(CPDraggingInfo,"alloc"),"init"); +} +}),new objj_method(sel_getUid("sharedDragServer"),function(_64,_65){ +with(_64){ +if(!_3){ +_3=objj_msgSend(objj_msgSend(CPDragServer,"alloc"),"init"); +} +return _3; +} +})]); +var _6=objj_getClass("CPWindow"); +if(!_6){ +throw new SyntaxError("*** Could not find definition for class \"CPWindow\""); +} +var _7=_6.isa; +class_addMethods(_6,[new objj_method(sel_getUid("_dragHitTest:pasteboard:"),function(_66,_67,_68,_69){ +with(_66){ +if(!_inclusiveRegisteredDraggedTypes){ +return nil; +} +var _6a=objj_msgSend(_66,"convertPlatformWindowToBase:",_68),_6b=objj_msgSend(_windowView,"hitTest:",_6a); +while(_6b&&!objj_msgSend(_69,"availableTypeFromArray:",objj_msgSend(_6b,"registeredDraggedTypes"))){ +_6b=objj_msgSend(_6b,"superview"); +} +if(_6b){ +return _6b; +} +if(objj_msgSend(_69,"availableTypeFromArray:",objj_msgSend(_66,"registeredDraggedTypes"))){ +return _66; +} +return nil; +} +})]); +p;9;CPEvent.jt;8889;@STATIC;1.0;I;21;Foundation/CPObject.jt;8844; +objj_executeFile("Foundation/CPObject.j",NO); +CPLeftMouseDown=1; +CPLeftMouseUp=2; +CPRightMouseDown=3; +CPRightMouseUp=4; +CPMouseMoved=5; +CPLeftMouseDragged=6; +CPRightMouseDragged=7; +CPMouseEntered=8; +CPMouseExited=9; +CPKeyDown=10; +CPKeyUp=11; +CPFlagsChanged=12; +CPAppKitDefined=13; +CPSystemDefined=14; +CPApplicationDefined=15; +CPPeriodic=16; +CPCursorUpdate=17; +CPScrollWheel=22; +CPOtherMouseDown=25; +CPOtherMouseUp=26; +CPOtherMouseDragged=27; +CPTouchStart=28; +CPTouchMove=29; +CPTouchEnd=30; +CPTouchCancel=31; +CPAlphaShiftKeyMask=1<<16; +CPShiftKeyMask=1<<17; +CPControlKeyMask=1<<18; +CPAlternateKeyMask=1<<19; +CPCommandKeyMask=1<<20; +CPNumericPadKeyMask=1<<21; +CPHelpKeyMask=1<<22; +CPFunctionKeyMask=1<<23; +CPDeviceIndependentModifierFlagsMask=4294901760; +CPLeftMouseDownMask=1<0; +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:"),function(_4f,_50,_51,_52,_53,_54,_55,_56,_57,_58,_59,_5a){ +with(_4f){ +return objj_msgSend(objj_msgSend(_4f,"alloc"),"_initKeyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:",_51,_52,_53,_54,_55,_56,_57,_58,_59,_5a); +} +}),new objj_method(sel_getUid("mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:"),function(_5b,_5c,_5d,_5e,_5f,_60,_61,_62,_63,_64,_65){ +with(_5b){ +return objj_msgSend(objj_msgSend(_5b,"alloc"),"_initMouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",_5d,_5e,_5f,_60,_61,_62,_63,_64,_65); +} +}),new objj_method(sel_getUid("otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:"),function(_66,_67,_68,_69,_6a,_6b,_6c,_6d,_6e,_6f,_70){ +with(_66){ +return objj_msgSend(objj_msgSend(_66,"alloc"),"_initOtherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:",_68,_69,_6a,_6b,_6c,_6d,_6e,_6f,_70); +} +}),new objj_method(sel_getUid("mouseLocation"),function(_71,_72){ +with(_71){ +var _73=objj_msgSend(CPApp,"currentEvent"),_74=objj_msgSend(_73,"window"); +if(_74){ +return objj_msgSend(_74,"convertBaseToGlobal:",objj_msgSend(_73,"locationInWindow")); +} +return objj_msgSend(_73,"locationInWindow"); +} +}),new objj_method(sel_getUid("startPeriodicEventsAfterDelay:withPeriod:"),function(_75,_76,_77,_78){ +with(_75){ +_1=_78; +_2=window.setTimeout(function(){ +_2=window.setInterval(_CPEventFirePeriodEvent,_78*1000); +},_77*1000); +} +}),new objj_method(sel_getUid("stopPeriodicEvents"),function(_79,_7a){ +with(_79){ +if(_2===nil){ +return; +} +window.clearTimeout(_2); +_2=nil; +} +})]); +_CPEventFirePeriodEvent=function(){ +objj_msgSend(CPApp,"sendEvent:",objj_msgSend(CPEvent,"otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:",CPPeriodic,{x:0,y:0},0,0,0,nil,0,0,0)); +}; +var _7b=objj_msgSend(CPEvent,"class"); +_CPEventFromNativeMouseEvent=function(_7c,_7d,_7e,_7f,_80,_81,_82,_83,_84,_85){ +_7c.isa=_7b; +_7c._type=_7d; +_7c._location=_7e; +_7c._modifierFlags=_7f; +_7c._timestamp=_80; +_7c._windowNumber=_81; +_7c._window=nil; +_7c._context=_82; +_7c._eventNumber=_83; +_7c._clickCount=_84; +_7c._pressure=_85; +return _7c; +}; +p;14;CPFlashMovie.jt;1223;@STATIC;1.0;I;21;Foundation/CPObject.jt;1178; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPFlashMovie"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_filename")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFile:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPFlashMovie").super_class},"init"); +if(_3){ +_filename=_5; +} +return _3; +} +}),new objj_method(sel_getUid("filename"),function(_6,_7){ +with(_6){ +return _filename; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("flashMovieWithFile:"),function(_8,_9,_a){ +with(_8){ +return objj_msgSend(objj_msgSend(_8,"alloc"),"initWithFile:",_a); +} +})]); +var _b="CPFlashMovieFilenameKey"; +var _1=objj_getClass("CPFlashMovie"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPFlashMovie\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_c,_d,_e){ +with(_c){ +_filename=objj_msgSend(_e,"decodeObjectForKey:",_b); +return _c; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_f,_10,_11){ +with(_f){ +objj_msgSend(_11,"encodeObject:forKey:",_filename,_b); +} +})]); +p;13;CPFlashView.jt;2158;@STATIC;1.0;i;14;CPFlashMovie.ji;8;CPView.jt;2108; +objj_executeFile("CPFlashMovie.j",YES); +objj_executeFile("CPView.j",YES); +var _1="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"; +var _2=objj_allocateClassPair(CPView,"CPFlashView"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_flashMovie"),new objj_ivar("_params"),new objj_ivar("_paramElements")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPFlashView").super_class},"initWithFrame:",_6); +if(_4){ +} +return _4; +} +}),new objj_method(sel_getUid("setFlashMovie:"),function(_7,_8,_9){ +with(_7){ +if(_flashMovie==_9){ +return; +} +_flashMovie=_9; +} +}),new objj_method(sel_getUid("flashMovie"),function(_a,_b){ +with(_a){ +return _flashMovie; +} +}),new objj_method(sel_getUid("setFlashVars:"),function(_c,_d,_e){ +with(_c){ +var _f="",_10=objj_msgSend(_e,"keyEnumerator"); +var key; +while(key=objj_msgSend(_10,"nextObject")){ +_f=objj_msgSend(_f,"stringByAppendingFormat:","&%@=%@",key,objj_msgSend(_e,"objectForKey:",key)); +} +if(!_params){ +_params=objj_msgSend(CPDictionary,"dictionary"); +} +objj_msgSend(_params,"setObject:forKey:",_f,"flashvars"); +objj_msgSend(_c,"setParameters:",_params); +} +}),new objj_method(sel_getUid("flashVars"),function(_11,_12){ +with(_11){ +return objj_msgSend(_params,"objectForKey:","flashvars"); +} +}),new objj_method(sel_getUid("setParameters:"),function(_13,_14,_15){ +with(_13){ +_params=_15; +} +}),new objj_method(sel_getUid("parameters"),function(_16,_17){ +with(_16){ +return _params; +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_18,_19,_1a){ +with(_18){ +objj_msgSend(objj_msgSend(objj_msgSend(_18,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_1b,_1c,_1d){ +with(_1b){ +objj_msgSend(objj_msgSend(objj_msgSend(_1b,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_1e,_1f,_20){ +with(_1e){ +objj_msgSend(objj_msgSend(objj_msgSend(_1e,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +})]); +p;8;CPFont.jt;3326;@STATIC;1.0;t;3307; +var _1={},_2="Arial, sans-serif",_3=new RegExp("\\s*,\\s*","g"); +var _4=objj_allocateClassPair(CPObject,"CPFont"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_name"),new objj_ivar("_size"),new objj_ivar("_isBold"),new objj_ivar("_cssString")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("_initWithName:size:bold:"),function(_6,_7,_8,_9,_a){ +with(_6){ +_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPFont").super_class},"init"); +if(_6){ +_name=_8; +_size=_9; +_isBold=_a; +_cssString=(_isBold?"bold ":"")+ROUND(_size)+"px "+((_name===_2)?_name:("\""+_name.replace(_3,"\", \"")+"\", "+_2)); +_1[_cssString]=_6; +} +return _6; +} +}),new objj_method(sel_getUid("size"),function(_b,_c){ +with(_b){ +return _size; +} +}),new objj_method(sel_getUid("cssString"),function(_d,_e){ +with(_d){ +return _cssString; +} +}),new objj_method(sel_getUid("familyName"),function(_f,_10){ +with(_f){ +return _name; +} +}),new objj_method(sel_getUid("isEqual:"),function(_11,_12,_13){ +with(_11){ +return objj_msgSend(_13,"isKindOfClass:",objj_msgSend(CPFont,"class"))&&objj_msgSend(_13,"cssString")===objj_msgSend(_11,"cssString"); +} +}),new objj_method(sel_getUid("description"),function(_14,_15){ +with(_14){ +return objj_msgSend(CPString,"stringWithFormat:","%@ %@ %f pt.",objj_msgSendSuper({receiver:_14,super_class:objj_getClass("CPFont").super_class},"description"),objj_msgSend(_14,"familyName"),objj_msgSend(_14,"size")); +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("fontWithName:size:"),function(_16,_17,_18,_19){ +with(_16){ +return _1[(NO?"bold ":"")+ROUND(_19)+"px "+((_18===_2)?_18:("\""+_18.replace(_3,"\", \"")+"\", "+_2))]||objj_msgSend(objj_msgSend(CPFont,"alloc"),"_initWithName:size:bold:",_18,_19,NO); +} +}),new objj_method(sel_getUid("boldFontWithName:size:"),function(_1a,_1b,_1c,_1d){ +with(_1a){ +return _1[(YES?"bold ":"")+ROUND(_1d)+"px "+((_1c===_2)?_1c:("\""+_1c.replace(_3,"\", \"")+"\", "+_2))]||objj_msgSend(objj_msgSend(CPFont,"alloc"),"_initWithName:size:bold:",_1c,_1d,YES); +} +}),new objj_method(sel_getUid("systemFontOfSize:"),function(_1e,_1f,_20){ +with(_1e){ +return _1[(NO?"bold ":"")+ROUND(_20)+"px "+((_2===_2)?_2:("\""+_2.replace(_3,"\", \"")+"\", "+_2))]||objj_msgSend(objj_msgSend(CPFont,"alloc"),"_initWithName:size:bold:",_2,_20,NO); +} +}),new objj_method(sel_getUid("boldSystemFontOfSize:"),function(_21,_22,_23){ +with(_21){ +return _1[(YES?"bold ":"")+ROUND(_23)+"px "+((_2===_2)?_2:("\""+_2.replace(_3,"\", \"")+"\", "+_2))]||objj_msgSend(objj_msgSend(CPFont,"alloc"),"_initWithName:size:bold:",_2,_23,YES); +} +})]); +var _24="CPFontNameKey",_25="CPFontSizeKey",_26="CPFontIsBoldKey"; +var _4=objj_getClass("CPFont"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"CPFont\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("initWithCoder:"),function(_27,_28,_29){ +with(_27){ +return objj_msgSend(_27,"_initWithName:size:bold:",objj_msgSend(_29,"decodeObjectForKey:",_24),objj_msgSend(_29,"decodeFloatForKey:",_25),objj_msgSend(_29,"decodeBoolForKey:",_26)); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2c,"encodeObject:forKey:",_name,_24); +objj_msgSend(_2c,"encodeFloat:forKey:",_size,_25); +objj_msgSend(_2c,"encodeBool:forKey:",_isBold,_26); +} +})]); +p;15;CPFontManager.jt;3322;@STATIC;1.0;I;21;Foundation/CPObject.jI;15;AppKit/CPFont.jt;3257; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("AppKit/CPFont.j",NO); +var _1=nil,_2=Nil; +var _3=objj_allocateClassPair(CPObject,"CPFontManager"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_availableFonts")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("availableFonts"),function(_5,_6){ +with(_5){ +if(!_availableFonts){ +_7=document.createElement("span"); +_7.fontSize="24px"; +_7.appendChild(document.createTextNode("mmmmmmmmmml")); +var _8=document.createElement("div"); +_8.style.position="absolute"; +_8.style.top="-1000px"; +_8.appendChild(_7); +document.getElementsByTagName("body")[0].appendChild(_8); +_9=_a(["monospace","serif","sans-serif","cursive"]); +_availableFonts=[]; +for(var i=0;i<_b.length;i++){ +var _c=_d(_b[i]); +if(_c){ +_availableFonts.push(_b[i]); +} +} +} +return _availableFonts; +} +}),new objj_method(sel_getUid("fontWithNameIsAvailable:"),function(_e,_f,_10){ +with(_e){ +return _d(_10); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("sharedFontManager"),function(_11,_12){ +with(_11){ +if(!_1){ +_1=objj_msgSend(objj_msgSend(_2,"alloc"),"init"); +} +return _1; +} +}),new objj_method(sel_getUid("setFontManagerFactory:"),function(_13,_14,_15){ +with(_13){ +_2=_15; +} +})]); +var _7,_9,_b=["American Typewriter","Apple Chancery","Arial","Arial Black","Arial Narrow","Arial Rounded MT Bold","Arial Unicode MS","Big Caslon","Bitstream Vera Sans","Bitstream Vera Sans Mono","Bitstream Vera Serif","Brush Script MT","Cambria","Caslon","Castellar","Cataneo BT","Centaur","Century Gothic","Century Schoolbook","Century Schoolbook L","Comic Sans","Comic Sans MS","Consolas","Constantia","Cooper Black","Copperplate","Copperplate Gothic Bold","Copperplate Gothic Light","Corbel","Courier","Courier New","Futura","Geneva","Georgia","Georgia Ref","Geeza Pro","Gigi","Gill Sans","Gill Sans MT","Gill Sans MT Condensed","Gill Sans MT Ext Condensed Bold","Gill Sans Ultra Bold","Gill Sans Ultra Bold Condensed","Helvetica","Helvetica Narrow","Helvetica Neue","Herculanum","High Tower Text","Highlight LET","Hoefler Text","Impact","Imprint MT Shadow","Lucida","Lucida Bright","Lucida Calligraphy","Lucida Console","Lucida Fax","Lucida Grande","Lucida Handwriting","Lucida Sans","Lucida Sans Typewriter","Lucida Sans Unicode","Marker Felt","Microsoft Sans Serif","Milano LET","Minion Web","MisterEarl BT","Mistral","Monaco","Monotype Corsiva","Monotype.com","New Century Schoolbook","New York","News Gothic MT","Papyrus","Tahoma","Techno","Tempus Sans ITC","Terminal","Textile","Times","Times New Roman","Tiranti Solid LET","Trebuchet MS","Verdana","Verdana Ref","Zapfino"]; +var _d=function(_16){ +for(var i=0;i<_9.length;i++){ +if(_17(_9[i],_16)){ +return true; +} +} +return false; +}; +var _18={}; +var _17=function(_19,_1a){ +var a; +if(_18[_19]){ +a=_18[_19]; +}else{ +_7.style.fontFamily="\""+_19+"\""; +_18[_19]=a={w:_7.offsetWidth,h:_7.offsetHeight}; +} +_7.style.fontFamily="\""+_1a+"\", \""+_19+"\""; +var _1b=_7.offsetWidth; +var _1c=_7.offsetHeight; +return (a.w!=_1b||a.h!=_1c); +}; +var _a=function(_1d){ +for(var i=0;i<_1d.length;i++){ +for(var j=0;j=CPRectGetMinX(_18)&&_19.y>=CPRectGetMinY(_18)&&_19.x=_35.width&&_34>=_35.height){ +_33=_35.width; +_34=_35.height; +}else{ +var _36=_35.width/_35.height,_37=_33/_34; +if(_37>_36){ +_33=_34*_36; +}else{ +_34=_33/_36; +} +} +}else{ +_33=_35.width; +_34=_35.height; +} +if(_2e==CPScaleNone){ +} +var x=(_31-_33)/2,y=(_32-_34)/2; +} +_imageRect={origin:{x:x,y:y},size:{width:_33,height:_34}}; +if(_hasShadow){ +objj_msgSend(_shadowView,"setFrame:",{origin:{x:x-_2,y:y-_4},size:{width:_33+_2f,height:_34+_30}}); +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_38,_39,_3a){ +with(_38){ +objj_msgSend(objj_msgSend(_38,"nextResponder"),"mouseDown:",_3a); +} +}),new objj_method(sel_getUid("setEditable:"),function(_3b,_3c,_3d){ +with(_3b){ +if(_isEditable===_3d){ +return; +} +_isEditable=_3d; +if(_isEditable){ +objj_msgSend(_3b,"registerForDraggedTypes:",[CPImagesPboardType]); +}else{ +var _3e=objj_msgSend(_3b,"registeredDraggedTypes"); +objj_msgSend(_3b,"unregisterDraggedTypes"); +objj_msgSend(_3e,"removeObjectIdenticalTo:",CPImagesPboardType); +objj_msgSend(_3b,"registerForDraggedTypes:",_3e); +} +} +}),new objj_method(sel_getUid("isEditable"),function(_3f,_40){ +with(_3f){ +return _isEditable; +} +}),new objj_method(sel_getUid("performDragOperation:"),function(_41,_42,_43){ +with(_41){ +var _44=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(objj_msgSend(_43,"draggingPasteboard"),"dataForType:",CPImagesPboardType)); +if(objj_msgSend(_44,"count")){ +objj_msgSend(_41,"setImage:",_44[0]); +} +} +})]); +var _45="CPImageViewImageKey",_46="CPImageViewImageScalingKey",_47="CPImageViewHasShadowKey",_48="CPImageViewIsEditableKey"; +var _8=objj_getClass("CPImageView"); +if(!_8){ +throw new SyntaxError("*** Could not find definition for class \"CPImageView\""); +} +var _9=_8.isa; +class_addMethods(_8,[new objj_method(sel_getUid("initWithCoder:"),function(_49,_4a,_4b){ +with(_49){ +_49=objj_msgSendSuper({receiver:_49,super_class:objj_getClass("CPImageView").super_class},"initWithCoder:",_4b); +if(_49){ +objj_msgSend(_49,"setHasShadow:",objj_msgSend(_4b,"decodeBoolForKey:",_47)); +if(objj_msgSend(_4b,"decodeBoolForKey:",_48)||NO){ +objj_msgSend(_49,"setEditable:",YES); +} +objj_msgSend(_49,"setNeedsLayout"); +objj_msgSend(_49,"setNeedsDisplay:",YES); +} +return _49; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_4c,_4d,_4e){ +with(_4c){ +if(_shadowView){ +var _4f=_subviews; +_subviews=objj_msgSend(_subviews,"copy"); +objj_msgSend(_subviews,"removeObjectIdenticalTo:",_shadowView); +} +objj_msgSendSuper({receiver:_4c,super_class:objj_getClass("CPImageView").super_class},"encodeWithCoder:",_4e); +if(_shadowView){ +_subviews=_4f; +} +objj_msgSend(_4e,"encodeBool:forKey:",_hasShadow,_47); +if(_isEditable){ +objj_msgSend(_4e,"encodeBool:forKey:",_isEditable,_48); +} +} +})]); +p;13;CPOpenPanel.jt;2079;@STATIC;1.0;I;16;AppKit/CPPanel.jt;2039; +objj_executeFile("AppKit/CPPanel.j",NO); +var _1=objj_allocateClassPair(CPPanel,"CPOpenPanel"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_canChooseFiles"),new objj_ivar("_canChooseDirectories"),new objj_ivar("_allowsMultipleSelection"),new objj_ivar("_directoryURL"),new objj_ivar("_URLs")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("canChooseFiles"),function(_3,_4){ +with(_3){ +return _canChooseFiles; +} +}),new objj_method(sel_getUid("setCanChooseFiles:"),function(_5,_6,_7){ +with(_5){ +_canChooseFiles=_7; +} +}),new objj_method(sel_getUid("canChooseDirectories"),function(_8,_9){ +with(_8){ +return _canChooseDirectories; +} +}),new objj_method(sel_getUid("setCanChooseDirectories:"),function(_a,_b,_c){ +with(_a){ +_canChooseDirectories=_c; +} +}),new objj_method(sel_getUid("allowsMultipleSelection"),function(_d,_e){ +with(_d){ +return _allowsMultipleSelection; +} +}),new objj_method(sel_getUid("setAllowsMultipleSelection:"),function(_f,_10,_11){ +with(_f){ +_allowsMultipleSelection=_11; +} +}),new objj_method(sel_getUid("directoryURL"),function(_12,_13){ +with(_12){ +return _directoryURL; +} +}),new objj_method(sel_getUid("setDirectoryURL:"),function(_14,_15,_16){ +with(_14){ +_directoryURL=_16; +} +}),new objj_method(sel_getUid("runModal"),function(_17,_18){ +with(_17){ +if(typeof window["cpOpenPanel"]==="function"){ +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +var _19={directoryURL:objj_msgSend(_17,"directoryURL"),canChooseFiles:objj_msgSend(_17,"canChooseFiles"),canChooseDirectories:objj_msgSend(_17,"canChooseDirectories"),allowsMultipleSelection:objj_msgSend(_17,"allowsMultipleSelection")}; +var _1a=window.cpOpenPanel(_19); +_URLs=_1a.URLs; +return _1a.button; +} +throw "-runModal is unimplemented."; +} +}),new objj_method(sel_getUid("URLs"),function(_1b,_1c){ +with(_1b){ +return _URLs; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("openPanel"),function(_1d,_1e){ +with(_1d){ +return objj_msgSend(objj_msgSend(CPOpenPanel,"alloc"),"init"); +} +})]); +p;15;CPOutlineView.jt;29630;@STATIC;1.0;i;15;CPTableColumn.ji;13;CPTableView.jt;29572; +objj_executeFile("CPTableColumn.j",YES); +objj_executeFile("CPTableView.j",YES); +CPOutlineViewColumnDidMoveNotification="CPOutlineViewColumnDidMoveNotification"; +CPOutlineViewColumnDidResizeNotification="CPOutlineViewColumnDidResizeNotification"; +CPOutlineViewItemDidCollapseNotification="CPOutlineViewItemDidCollapseNotification"; +CPOutlineViewItemDidExpandNotification="CPOutlineViewItemDidExpandNotification"; +CPOutlineViewItemWillCollapseNotification="CPOutlineViewItemWillCollapseNotification"; +CPOutlineViewItemWillExpandNotification="CPOutlineViewItemWillExpandNotification"; +CPOutlineViewSelectionDidChangeNotification="CPOutlineViewSelectionDidChangeNotification"; +CPOutlineViewSelectionIsChangingNotification="CPOutlineViewSelectionIsChangingNotification"; +var _1=1<<1,_2=1<<2,_3=1<<3,_4=1<<4,_5=1<<5,_6=1<<6,_7=1<<7,_8=1<<8,_9=1<<9,_a=1<<10; +var _b=1<<1,_c=1<<2,_d=1<<3,_e=1<<4,_f=1<<5; +CPOutlineViewDropOnItemIndex=-1; +var _10=objj_allocateClassPair(CPTableView,"CPOutlineView"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_outlineViewDataSource"),new objj_ivar("_outlineViewDelegate"),new objj_ivar("_outlineTableColumn"),new objj_ivar("_indentationPerLevel"),new objj_ivar("_indentationMarkerFollowsDataView"),new objj_ivar("_implementedOutlineViewDataSourceMethods"),new objj_ivar("_implementedOutlineViewDelegateMethods"),new objj_ivar("_rootItemInfo"),new objj_ivar("_itemsForRows"),new objj_ivar("_itemInfosForItems"),new objj_ivar("_disclosureControlPrototype"),new objj_ivar("_disclosureControlsForRows"),new objj_ivar("_disclosureControlData"),new objj_ivar("_disclosureControlQueue"),new objj_ivar("_shouldRetargetItem"),new objj_ivar("_retargetedItem"),new objj_ivar("_shouldRetargetChildIndex"),new objj_ivar("_retargedChildIndex")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initWithFrame:"),function(_12,_13,_14){ +with(_12){ +_12=objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPOutlineView").super_class},"initWithFrame:",_14); +if(_12){ +_selectionHighlightStyle=CPTableViewSelectionHighlightStyleSourceList; +_rootItemInfo={isExpanded:YES,isExpandable:NO,level:-1,row:-1,children:[],weight:0}; +_itemsForRows=[]; +_itemInfosForItems={}; +_disclosureControlsForRows=[]; +_retargetedItem=nil; +_shouldRetargetItem=NO; +_retargedChildIndex=nil; +_shouldRetargetChildIndex=NO; +objj_msgSend(_12,"setIndentationPerLevel:",16); +objj_msgSend(_12,"setIndentationMarkerFollowsDataView:",YES); +objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPOutlineView").super_class},"setDataSource:",objj_msgSend(objj_msgSend(_CPOutlineViewTableViewDataSource,"alloc"),"initWithOutlineView:",_12)); +objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPOutlineView").super_class},"setDelegate:",objj_msgSend(objj_msgSend(_CPOutlineViewTableViewDelegate,"alloc"),"initWithOutlineView:",_12)); +objj_msgSend(_12,"setDisclosureControlPrototype:",objj_msgSend(objj_msgSend(CPDisclosureButton,"alloc"),"initWithFrame:",CGRectMake(0,0,10,10))); +} +return _12; +} +}),new objj_method(sel_getUid("setDataSource:"),function(_15,_16,_17){ +with(_15){ +if(_outlineViewDataSource===_17){ +return; +} +if(!objj_msgSend(_17,"respondsToSelector:",sel_getUid("outlineView:child:ofItem:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Data source must implement 'outlineView:child:ofItem:'"); +} +if(!objj_msgSend(_17,"respondsToSelector:",sel_getUid("outlineView:isItemExpandable:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Data source must implement 'outlineView:isItemExpandable:'"); +} +if(!objj_msgSend(_17,"respondsToSelector:",sel_getUid("outlineView:numberOfChildrenOfItem:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Data source must implement 'outlineView:numberOfChildrenOfItem:'"); +} +if(!objj_msgSend(_17,"respondsToSelector:",sel_getUid("outlineView:objectValueForTableColumn:byItem:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Data source must implement 'outlineView:objectValueForTableColumn:byItem:'"); +} +_outlineViewDataSource=_17; +_implementedOutlineViewDataSourceMethods=0; +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:setObjectValue:forTableColumn:byItem:"))){ +_implementedOutlineViewDataSourceMethods|=_1; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:shouldDeferDisplayingChildrenOfItem:"))){ +_implementedOutlineViewDataSourceMethods|=_2; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:acceptDrop:item:childIndex:"))){ +_implementedOutlineViewDataSourceMethods|=_3; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:validateDrop:proposedItem:proposedChildIndex:"))){ +_implementedOutlineViewDataSourceMethods|=_4; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:validateDrop:proposedRow:proposedDropOperation:"))){ +_implementedOutlineViewDataSourceMethods|=_5; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:"))){ +_implementedOutlineViewDataSourceMethods|=_6; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:itemForPersistentObject:"))){ +_implementedOutlineViewDataSourceMethods|=_7; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:persistentObjectForItem:"))){ +_implementedOutlineViewDataSourceMethods|=_8; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:writeItems:toPasteboard:"))){ +_implementedOutlineViewDataSourceMethods|=_9; +} +if(objj_msgSend(_outlineViewDataSource,"respondsToSelector:",sel_getUid("outlineView:sortDescriptorsDidChange:"))){ +_implementedOutlineViewDataSourceMethods|=_a; +} +objj_msgSend(_15,"reloadData"); +} +}),new objj_method(sel_getUid("dataSource"),function(_18,_19){ +with(_18){ +return _outlineViewDataSource; +} +}),new objj_method(sel_getUid("isExpandable:"),function(_1a,_1b,_1c){ +with(_1a){ +if(!_1c){ +return YES; +} +var _1d=_itemInfosForItems[objj_msgSend(_1c,"UID")]; +if(!_1d){ +return NO; +} +return _1d.isExpandable; +} +}),new objj_method(sel_getUid("isItemExpanded:"),function(_1e,_1f,_20){ +with(_1e){ +if(!_20){ +return YES; +} +var _21=_itemInfosForItems[objj_msgSend(_20,"UID")]; +if(!_21){ +return NO; +} +return _21.isExpanded; +} +}),new objj_method(sel_getUid("expandItem:"),function(_22,_23,_24){ +with(_22){ +objj_msgSend(_22,"expandItem:expandChildren:",_24,NO); +} +}),new objj_method(sel_getUid("expandItem:expandChildren:"),function(_25,_26,_27,_28){ +with(_25){ +var _29=null; +if(!_27){ +_29=_rootItemInfo; +}else{ +_29=_itemInfosForItems[objj_msgSend(_27,"UID")]; +} +if(!_29){ +return; +} +_29.isExpanded=YES; +objj_msgSend(_25,"reloadItem:reloadChildren:",_27,YES); +if(_28){ +var _2a=_29.children,_2b=_2a.length; +while(_2b--){ +objj_msgSend(_25,"expandItem:expandChildren:",_2a[_2b],YES); +} +} +} +}),new objj_method(sel_getUid("collapseItem:"),function(_2c,_2d,_2e){ +with(_2c){ +if(!_2e){ +return; +} +var _2f=_itemInfosForItems[objj_msgSend(_2e,"UID")]; +if(!_2f){ +return; +} +if(!_2f.isExpanded){ +return; +} +_2f.isExpanded=NO; +objj_msgSend(_2c,"reloadItem:reloadChildren:",_2e,YES); +} +}),new objj_method(sel_getUid("reloadItem:"),function(_30,_31,_32){ +with(_30){ +objj_msgSend(_30,"reloadItem:reloadChildren:",_32,NO); +} +}),new objj_method(sel_getUid("reloadItem:reloadChildren:"),function(_33,_34,_35,_36){ +with(_33){ +if(!!_36||!_35){ +_37(_33,_35); +}else{ +_38(_33,_35); +} +objj_msgSendSuper({receiver:_33,super_class:objj_getClass("CPOutlineView").super_class},"reloadData"); +} +}),new objj_method(sel_getUid("itemAtRow:"),function(_39,_3a,_3b){ +with(_39){ +return _itemsForRows[_3b]||nil; +} +}),new objj_method(sel_getUid("rowForItem:"),function(_3c,_3d,_3e){ +with(_3c){ +if(!_3e){ +return _rootItemInfo.row; +} +var _3f=_itemInfosForItems[objj_msgSend(_3e,"UID")]; +if(!_3f){ +return CPNotFound; +} +return _3f.row; +} +}),new objj_method(sel_getUid("setOutlineTableColumn:"),function(_40,_41,_42){ +with(_40){ +if(_outlineTableColumn===_42){ +return; +} +_outlineTableColumn=_42; +objj_msgSend(_40,"reloadData"); +} +}),new objj_method(sel_getUid("outlineTableColumn"),function(_43,_44){ +with(_43){ +return _outlineTableColumn; +} +}),new objj_method(sel_getUid("levelForItem:"),function(_45,_46,_47){ +with(_45){ +if(!_47){ +return _rootItemInfo.level; +} +var _48=_itemInfosForItems[objj_msgSend(_47,"UID")]; +if(!_48){ +return CPNotFound; +} +return _48.level; +} +}),new objj_method(sel_getUid("levelForRow:"),function(_49,_4a,_4b){ +with(_49){ +return objj_msgSend(_49,"levelForItem:",objj_msgSend(_49,"itemAtRow:",_4b)); +} +}),new objj_method(sel_getUid("setIndentationPerLevel:"),function(_4c,_4d,_4e){ +with(_4c){ +if(_indentationPerLevel===_4e){ +return; +} +_indentationPerLevel=_4e; +objj_msgSend(_4c,"reloadData"); +} +}),new objj_method(sel_getUid("indentationPerLevel"),function(_4f,_50){ +with(_4f){ +return _indentationPerLevel; +} +}),new objj_method(sel_getUid("setIndentationMarkerFollowsDataView:"),function(_51,_52,_53){ +with(_51){ +if(_indentationMarkerFollowsDataView===_53){ +return; +} +_indentationMarkerFollowsDataView=_53; +objj_msgSend(_51,"reloadData"); +} +}),new objj_method(sel_getUid("indentationMarkerFollowsDataView"),function(_54,_55){ +with(_54){ +return _indentationMarkerFollowsDataView; +} +}),new objj_method(sel_getUid("parentForItem:"),function(_56,_57,_58){ +with(_56){ +if(!_58){ +return nil; +} +var _59=_itemInfosForItems[objj_msgSend(_58,"UID")]; +if(!_59){ +return nil; +} +var _5a=_59.parent; +if(_59[objj_msgSend(_5a,"UID")]===_rootItemInfo){ +_5a=nil; +} +return _5a; +} +}),new objj_method(sel_getUid("frameOfOutlineDataViewAtColumn:row:"),function(_5b,_5c,_5d,_5e){ +with(_5b){ +var _5f=objj_msgSendSuper({receiver:_5b,super_class:objj_getClass("CPOutlineView").super_class},"frameOfDataViewAtColumn:row:",_5d,_5e),_60=(objj_msgSend(_5b,"levelForRow:",_5e)+1)*objj_msgSend(_5b,"indentationPerLevel"); +_5f.origin.x+=_60; +_5f.size.width-=_60; +return _5f; +} +}),new objj_method(sel_getUid("selectRowIndexes:byExtendingSelection:"),function(_61,_62,_63,_64){ +with(_61){ +var _65=[]; +objj_msgSend(objj_msgSend(_61,"selectedRowIndexes"),"getIndexes:maxCount:inIndexRange:",_65,-1,nil); +var _66=objj_msgSend(_65,"count"); +while(_66--){ +var _67=_65[_66],_68=objj_msgSend(_61,"itemAtRow:",_67); +if(!objj_msgSend(_61,"isExpandable:",_68)){ +continue; +} +var _69=_disclosureControlsForRows[_67]; +objj_msgSend(_69,"setHighlighted:",NO); +} +objj_msgSendSuper({receiver:_61,super_class:objj_getClass("CPOutlineView").super_class},"selectRowIndexes:byExtendingSelection:",_63,_64); +var _6a=[]; +objj_msgSend(_63,"getIndexes:maxCount:inIndexRange:",_6a,-1,nil); +var _66=objj_msgSend(_6a,"count"); +while(_66--){ +var _67=_6a[_66],_68=objj_msgSend(_61,"itemAtRow:",_67); +if(!objj_msgSend(_61,"isExpandable:",_68)){ +continue; +} +var _69=_disclosureControlsForRows[_67]; +objj_msgSend(_69,"setHighlighted:",YES); +} +} +}),new objj_method(sel_getUid("setDelegate:"),function(_6b,_6c,_6d){ +with(_6b){ +if(_outlineViewDelegate===_6d){ +return; +} +var _6e=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_outlineViewDelegate){ +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewColumnDidMove:"))){ +objj_msgSend(_6e,"removeObserver:name:object:",_outlineViewDelegate,CPOutlineViewColumnDidMoveNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewColumnDidResize:"))){ +objj_msgSend(_6e,"removeObserver:name:object:",_outlineViewDelegate,CPOutlineViewColumnDidResizeNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewSelectionDidChange:"))){ +objj_msgSend(_6e,"removeObserver:name:object:",_outlineViewDelegate,CPOutlineViewSelectionDidChangeNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewSelectionIsChanging:"))){ +objj_msgSend(_6e,"removeObserver:name:object:",_outlineViewDelegate,CPOutlineViewSelectionIsChangingNotification,_6b); +} +} +_outlineViewDelegate=_6d; +_implementedOutlineViewDelegateMethods=0; +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:dataViewForTableColumn:item:"))){ +_implementedOutlineViewDelegateMethods|=_b; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:shouldSelectItem:"))){ +_implementedOutlineViewDelegateMethods|=_c; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:heightOfRowByItem:"))){ +_implementedOutlineViewDelegateMethods|=_d; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:willDisplayView:forTableColumn:item:"))){ +_implementedOutlineViewDelegateMethods|=_e; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineView:isGroupItem:"))){ +_implementedOutlineViewDelegateMethods|=_f; +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewColumnDidMove:"))){ +objj_msgSend(_6e,"addObserver:selector:name:object:",_outlineViewDelegate,sel_getUid("outlineViewColumnDidMove:"),CPOutlineViewColumnDidMoveNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewColumnDidResize:"))){ +objj_msgSend(_6e,"addObserver:selector:name:object:",_outlineViewDelegate,sel_getUid("outlineViewColumnDidMove:"),CPOutlineViewColumnDidResizeNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewSelectionDidChange:"))){ +objj_msgSend(_6e,"addObserver:selector:name:object:",_outlineViewDelegate,sel_getUid("outlineViewSelectionDidChange:"),CPOutlineViewSelectionDidChangeNotification,_6b); +} +if(objj_msgSend(_outlineViewDelegate,"respondsToSelector:",sel_getUid("outlineViewSelectionIsChanging:"))){ +objj_msgSend(_6e,"addObserver:selector:name:object:",_outlineViewDelegate,sel_getUid("outlineViewSelectionIsChanging:"),CPOutlineViewSelectionIsChangingNotification,_6b); +} +} +}),new objj_method(sel_getUid("delegate"),function(_6f,_70){ +with(_6f){ +return _outlineViewDelegate; +} +}),new objj_method(sel_getUid("setDisclosureControlPrototype:"),function(_71,_72,_73){ +with(_71){ +_disclosureControlPrototype=_73; +_disclosureControlData=nil; +_disclosureControlQueue=[]; +objj_msgSend(_71,"reloadData"); +} +}),new objj_method(sel_getUid("reloadData"),function(_74,_75){ +with(_74){ +objj_msgSend(_74,"reloadItem:reloadChildren:",nil,YES); +} +}),new objj_method(sel_getUid("frameOfDataViewAtColumn:row:"),function(_76,_77,_78,_79){ +with(_76){ +var _7a=objj_msgSend(_76,"tableColumns")[_78]; +if(_7a===_outlineTableColumn){ +return objj_msgSend(_76,"frameOfOutlineDataViewAtColumn:row:",_78,_79); +} +return objj_msgSendSuper({receiver:_76,super_class:objj_getClass("CPOutlineView").super_class},"frameOfDataViewAtColumn:row:",_78,_79); +} +}),new objj_method(sel_getUid("setDropItem:dropChildIndex:"),function(_7b,_7c,_7d,_7e){ +with(_7b){ +_retargetedItem=_7d; +_shouldRetargetItem=YES; +_retargedChildIndex=_7e; +_shouldRetargetChildIndex=YES; +} +}),new objj_method(sel_getUid("_parentItemForUpperRow:andLowerRow:atMouseOffset:"),function(_7f,_80,_81,_82,_83){ +with(_7f){ +if(_shouldRetargetItem){ +return _retargetedItem; +} +var _84=objj_msgSend(_7f,"levelForRow:",_82); +upperItem=objj_msgSend(_7f,"itemAtRow:",_81); +upperLevel=objj_msgSend(_7f,"levelForItem:",upperItem); +while(upperLevel>_84){ +upperLevel=objj_msgSend(_7f,"levelForItem:",upperItem); +if(_83.x>(upperLevel+1)*objj_msgSend(_7f,"indentationPerLevel")){ +return objj_msgSend(_7f,"parentForItem:",upperItem); +} +upperItem=objj_msgSend(_7f,"parentForItem:",upperItem); +} +return objj_msgSend(_7f,"parentForItem:",objj_msgSend(_7f,"itemAtRow:",_82)); +} +}),new objj_method(sel_getUid("_rectForDropHighlightViewBetweenUpperRow:andLowerRow:offset:"),function(_85,_86,_87,_88,_89){ +with(_85){ +var _8a=objj_msgSendSuper({receiver:_85,super_class:objj_getClass("CPOutlineView").super_class},"_rectForDropHighlightViewBetweenUpperRow:andLowerRow:offset:",_87,_88,_89),_8b=objj_msgSend(_85,"_parentItemForUpperRow:andLowerRow:atMouseOffset:",_87,_88,_89),_8c=objj_msgSend(_85,"levelForItem:",_8b); +_8a.origin.x=(_8c+1)*objj_msgSend(_85,"indentationPerLevel"); +_8a.size.width-=_8a.origin.x; +return _8a; +} +}),new objj_method(sel_getUid("_loadDataViewsInRows:columns:"),function(_8d,_8e,_8f,_90){ +with(_8d){ +objj_msgSendSuper({receiver:_8d,super_class:objj_getClass("CPOutlineView").super_class},"_loadDataViewsInRows:columns:",_8f,_90); +var _91=objj_msgSend(objj_msgSend(_8d,"tableColumns"),"indexOfObjectIdenticalTo:",objj_msgSend(_8d,"outlineTableColumn")); +if(!objj_msgSend(_90,"containsIndex:",_91)){ +return; +} +var _92=[]; +objj_msgSend(_8f,"getIndexes:maxCount:inIndexRange:",_92,-1,nil); +var _93=0,_94=_92.length; +for(;_93<_94;++_93){ +var row=_92[_93],_95=_itemsForRows[row],_96=objj_msgSend(_8d,"isExpandable:",_95); +if(!_96){ +continue; +} +var _97=objj_msgSend(_8d,"_dequeueDisclosureControl"),_98=objj_msgSend(_97,"frame"),_99=objj_msgSend(_8d,"frameOfDataViewAtColumn:row:",_91,row); +_98.origin.x=_indentationMarkerFollowsDataView?(_99.origin.x)-(_98.size.width):0; +_98.origin.y=(_99.origin.y); +_98.size.height=(_99.size.height); +_disclosureControlsForRows[row]=_97; +objj_msgSend(_97,"setState:",objj_msgSend(_8d,"isItemExpanded:",_95)?CPOnState:CPOffState); +objj_msgSend(_97,"setFrame:",_98); +objj_msgSend(_8d,"addSubview:",_97); +} +} +}),new objj_method(sel_getUid("_unloadDataViewsInRows:columns:"),function(_9a,_9b,_9c,_9d){ +with(_9a){ +objj_msgSendSuper({receiver:_9a,super_class:objj_getClass("CPOutlineView").super_class},"_unloadDataViewsInRows:columns:",_9c,_9d); +var _9e=objj_msgSend(objj_msgSend(_9a,"tableColumns"),"indexOfObjectIdenticalTo:",objj_msgSend(_9a,"outlineTableColumn")); +if(!objj_msgSend(_9d,"containsIndex:",_9e)){ +return; +} +var _9f=[]; +objj_msgSend(_9c,"getIndexes:maxCount:inIndexRange:",_9f,-1,nil); +var _a0=0,_a1=_9f.length; +for(;_a0<_a1;++_a0){ +var row=_9f[_a0],_a2=_disclosureControlsForRows[row]; +if(!_a2){ +continue; +} +objj_msgSend(_a2,"removeFromSuperview"); +objj_msgSend(_9a,"_enqueueDisclosureControl:",_a2); +_disclosureControlsForRows[row]=nil; +} +} +}),new objj_method(sel_getUid("_toggleFromDisclosureControl:"),function(_a3,_a4,_a5){ +with(_a3){ +var _a6=objj_msgSend(_a5,"frame"),_a7=objj_msgSend(_a3,"itemAtRow:",objj_msgSend(_a3,"rowAtPoint:",{x:(_a6.origin.x),y:(_a6.origin.y+(_a6.size.height)/2)})); +if(objj_msgSend(_a3,"isItemExpanded:",_a7)){ +objj_msgSend(_a3,"collapseItem:",_a7); +}else{ +objj_msgSend(_a3,"expandItem:",_a7); +} +} +}),new objj_method(sel_getUid("_enqueueDisclosureControl:"),function(_a8,_a9,_aa){ +with(_a8){ +_disclosureControlQueue.push(_aa); +} +}),new objj_method(sel_getUid("_dequeueDisclosureControl"),function(_ab,_ac){ +with(_ab){ +if(_disclosureControlQueue.length){ +return _disclosureControlQueue.pop(); +} +if(!_disclosureControlData){ +if(!_disclosureControlPrototype){ +return nil; +}else{ +_disclosureControlData=objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_disclosureControlPrototype); +} +} +var _ad=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",_disclosureControlData); +objj_msgSend(_ad,"setTarget:",_ab); +objj_msgSend(_ad,"setAction:",sel_getUid("_toggleFromDisclosureControl:")); +return _ad; +} +}),new objj_method(sel_getUid("_noteSelectionIsChanging"),function(_ae,_af){ +with(_ae){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPOutlineViewSelectionIsChangingNotification,_ae,nil); +} +}),new objj_method(sel_getUid("_noteSelectionDidChange"),function(_b0,_b1){ +with(_b0){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPOutlineViewSelectionDidChangeNotification,_b0,nil); +} +})]); +var _38=function(_b2,_b3){ +if(!_b3){ +return; +} +with(_b2){ +var _b4=_itemInfosForItems,_b5=_outlineViewDataSource,_b6=objj_msgSend(_b3,"UID"),_b7=_b4[_b6]; +if(!_b7){ +return []; +} +var _b8=_b7.parent,_b9=_b8?_b4[objj_msgSend(_b8,"UID")]:_rootItemInfo,_ba=_b9.children,_bb=objj_msgSend(_ba,"indexOfObjectIdenticalTo:",_b3),_bc=objj_msgSend(_b5,"outlineView:child:ofItem:",_b2,_bb,_b8); +if(_b3!==_bc){ +_b4[objj_msgSend(_b3,"UID")]=nil; +_b4[objj_msgSend(_bc,"UID")]=_b7; +_ba[_bb]=_bc; +_itemsForRows[_b7.row]=_bc; +} +_b7.isExpandable=objj_msgSend(_b5,"outlineView:isItemExpandable:",_b2,_bc); +_b7.isExpanded=_b7.isExpandable&&_b7.isExpanded; +} +}; +var _37=function(_bd,_be,_bf){ +with(_bd){ +var _c0=_itemInfosForItems,_c1=_outlineViewDataSource; +if(!_be){ +var _c2=_rootItemInfo; +}else{ +var _c3=objj_msgSend(_be,"UID"),_c2=_c0[_c3]; +if(!_c2){ +return []; +} +_c2.isExpandable=objj_msgSend(_c1,"outlineView:isItemExpandable:",_bd,_be); +if(!_c2.isExpandable&&_c2.isExpanded){ +_c2.isExpanded=NO; +_c2.children=[]; +} +} +var _c4=_c2.weight,_c5=_be?[_be]:[]; +if(_c2.isExpanded&&(!(_implementedOutlineViewDataSourceMethods&_2)||!objj_msgSend(_c1,"outlineView:shouldDeferDisplayingChildrenOfItem:",_bd,_be))){ +var _c6=0,_c7=objj_msgSend(_c1,"outlineView:numberOfChildrenOfItem:",_bd,_be),_c8=_c2.level+1; +_c2.children=[]; +for(;_c6<_c7;++_c6){ +var _c9=objj_msgSend(_c1,"outlineView:child:ofItem:",_bd,_c6,_be),_ca=_c0[objj_msgSend(_c9,"UID")]; +if(!_ca){ +_ca={isExpanded:NO,isExpandable:NO,children:[],weight:1}; +_c0[objj_msgSend(_c9,"UID")]=_ca; +} +_c2.children[_c6]=_c9; +var _cb=_37(_bd,_c9,YES); +_ca.parent=_be; +_ca.level=_c8; +_c5=_c5.concat(_cb); +} +} +_c2.weight=_c5.length; +if(!_bf){ +var _c6=MAX(_c2.row,0),_cc=_itemsForRows; +_c5.unshift(_c6,_c4); +_cc.splice.apply(_cc,_c5); +var _c7=_cc.length; +for(;_c6<_c7;++_c6){ +_c0[objj_msgSend(_cc[_c6],"UID")].row=_c6; +} +var _cd=_c2.weight-_c4; +if(_cd!==0){ +var _ce=_c2.parent; +while(_ce){ +var _cf=_c0[objj_msgSend(_ce,"UID")]; +_cf.weight+=_cd; +_ce=_cf.parent; +} +if(_be){ +_rootItemInfo.weight+=_cd; +} +} +} +} +return _c5; +}; +var _10=objj_allocateClassPair(CPObject,"_CPOutlineViewTableViewDataSource"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_outlineView")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initWithOutlineView:"),function(_d0,_d1,_d2){ +with(_d0){ +_d0=objj_msgSendSuper({receiver:_d0,super_class:objj_getClass("_CPOutlineViewTableViewDataSource").super_class},"init"); +if(_d0){ +_outlineView=_d2; +} +return _d0; +} +}),new objj_method(sel_getUid("numberOfRowsInTableView:"),function(_d3,_d4,_d5){ +with(_d3){ +return _outlineView._itemsForRows.length; +} +}),new objj_method(sel_getUid("tableView:objectValueForTableColumn:row:"),function(_d6,_d7,_d8,_d9,_da){ +with(_d6){ +return objj_msgSend(_outlineView._outlineViewDataSource,"outlineView:objectValueForTableColumn:byItem:",_outlineView,_d9,_outlineView._itemsForRows[_da]); +} +}),new objj_method(sel_getUid("tableView:writeRowsWithIndexes:toPasteboard:"),function(_db,_dc,_dd,_de,_df){ +with(_db){ +if(!(_outlineView._implementedOutlineViewDataSourceMethods&_9)){ +return NO; +} +var _e0=[]; +objj_msgSend(_de,"getIndexes:maxCount:inIndexRange:",_e0,objj_msgSend(_de,"count"),nil); +var _e1=objj_msgSend(_e0,"count"),_e2=[]; +while(_e1--){ +objj_msgSend(_e2,"addObject:",objj_msgSend(_outlineView,"itemAtRow:",objj_msgSend(_e0,"objectAtIndex:",_e1))); +} +return objj_msgSend(_outlineView._outlineViewDataSource,"outlineView:writeItems:toPasteboard:",_outlineView,_e2,_df); +} +}),new objj_method(sel_getUid("_childIndexForDropOperation:row:offset:"),function(_e3,_e4,_e5,_e6,_e7){ +with(_e3){ +if(_outlineView._shouldRetargetChildIndex){ +return _outlineView._retargedChildIndex; +} +var _e8=CPNotFound; +if(_e5===CPTableViewDropAbove){ +var _e9=objj_msgSend(_outlineView,"_parentItemForUpperRow:andLowerRow:atMouseOffset:",_e6-1,_e6,_e7),_ea=(_e9!==nil)?_outlineView._itemInfosForItems[objj_msgSend(_e9,"UID")]:_outlineView._rootItemInfo,_eb=_ea.children; +_e8=objj_msgSend(_eb,"indexOfObject:",objj_msgSend(_outlineView,"itemAtRow:",_e6)); +if(_e8===CPNotFound){ +_e8=_eb.length; +} +}else{ +if(_e5===CPTableViewDropOn){ +_e8=-1; +} +} +return _e8; +} +}),new objj_method(sel_getUid("_parentItemForDropOperation:row:offset:"),function(_ec,_ed,_ee,_ef,_f0){ +with(_ec){ +if(_ee===CPTableViewDropAbove){ +return objj_msgSend(_outlineView,"_parentItemForUpperRow:andLowerRow:atMouseOffset:",_ef-1,_ef,_f0); +} +return objj_msgSend(_outlineView,"itemAtRow:",_ef); +} +}),new objj_method(sel_getUid("tableView:validateDrop:proposedRow:proposedDropOperation:"),function(_f1,_f2,_f3,_f4,_f5,_f6){ +with(_f1){ +if(!(_outlineView._implementedOutlineViewDataSourceMethods&_4)){ +return CPDragOperationNone; +} +_outlineView._retargetedItem=nil; +_outlineView._shouldRetargetItem=NO; +_outlineView._retargedChildIndex=nil; +_outlineView._shouldRetargetChildIndex=NO; +var _f7=objj_msgSend(_outlineView,"convertPoint:fromView:",objj_msgSend(_f4,"draggingLocation"),nil),_f8=objj_msgSend(_f1,"_parentItemForDropOperation:row:offset:",_f6,_f5,_f7); +childIndex=objj_msgSend(_f1,"_childIndexForDropOperation:row:offset:",_f6,_f5,_f7); +return objj_msgSend(_outlineView._outlineViewDataSource,"outlineView:validateDrop:proposedItem:proposedChildIndex:",_outlineView,_f4,_f8,childIndex); +} +}),new objj_method(sel_getUid("tableView:acceptDrop:row:dropOperation:"),function(_f9,_fa,_fb,_fc,_fd,_fe){ +with(_f9){ +if(!(_outlineView._implementedOutlineViewDataSourceMethods&_3)){ +return NO; +} +var _ff=objj_msgSend(_outlineView,"convertPoint:fromView:",objj_msgSend(_fc,"draggingLocation"),nil),_100=objj_msgSend(_f9,"_parentItemForDropOperation:row:offset:",_fe,_fd,_ff); +childIndex=objj_msgSend(_f9,"_childIndexForDropOperation:row:offset:",_fe,_fd,_ff); +_outlineView._retargetedItem=nil; +_outlineView._shouldRetargetItem=NO; +_outlineView._retargedChildIndex=nil; +_outlineView._shouldRetargetChildIndex=NO; +return objj_msgSend(_outlineView._outlineViewDataSource,"outlineView:acceptDrop:item:childIndex:",_outlineView,_fc,_100,childIndex); +} +})]); +var _10=objj_allocateClassPair(CPObject,"_CPOutlineViewTableViewDelegate"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_outlineView")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initWithOutlineView:"),function(self,_101,_102){ +with(self){ +self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("_CPOutlineViewTableViewDelegate").super_class},"init"); +if(self){ +_outlineView=_102; +} +return self; +} +}),new objj_method(sel_getUid("tableView:dataViewForTableColumn:row:"),function(self,_103,_104,_105,_106){ +with(self){ +var _107=nil; +if((_outlineView._implementedOutlineViewDelegateMethods&_b)){ +_107=objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:dataViewForTableColumn:item:",_outlineView,_105,objj_msgSend(_outlineView,"itemAtRow:",_106)); +} +if(!_107){ +_107=objj_msgSend(_105,"dataViewForRow:",_106); +} +return _107; +} +}),new objj_method(sel_getUid("tableView:shouldSelectRow:"),function(self,_108,_109,_10a){ +with(self){ +if((_outlineView._implementedOutlineViewDelegateMethods&_c)){ +return objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:shouldSelectItem:",_outlineView,objj_msgSend(_outlineView,"itemAtRow:",_10a)); +} +return YES; +} +}),new objj_method(sel_getUid("tableView:heightOfRow:"),function(self,_10b,_10c,_10d){ +with(self){ +if((_outlineView._implementedOutlineViewDelegateMethods&_d)){ +return objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:heightOfRowByItem:",_outlineView,objj_msgSend(_outlineView,"itemAtRow:",_10d)); +} +return objj_msgSend(_10c,"rowHeight"); +} +}),new objj_method(sel_getUid("tableView:willDisplayView:forTableColumn:row:"),function(self,_10e,_10f,_110,_111,_112){ +with(self){ +if((_outlineView._implementedOutlineViewDelegateMethods&_e)){ +var item=objj_msgSend(_outlineView,"itemAtRow:",_112); +objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:willDisplayView:forTableColumn:item:",_outlineView,_110,_111,item); +} +} +}),new objj_method(sel_getUid("tableView:isGroupRow:"),function(self,_113,_114,row){ +with(self){ +if((_outlineView._implementedOutlineViewDelegateMethods&_f)){ +return objj_msgSend(_outlineView._outlineViewDelegate,"outlineView:isGroupItem:",_outlineView,objj_msgSend(_outlineView,"itemAtRow:",theRow)); +} +return NO; +} +})]); +var _10=objj_allocateClassPair(CPButton,"CPDisclosureButton"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_angle")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initWithFrame:"),function(self,_115,_116){ +with(self){ +self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPDisclosureButton").super_class},"initWithFrame:",_116); +if(self){ +objj_msgSend(self,"setBordered:",NO); +} +return self; +} +}),new objj_method(sel_getUid("setState:"),function(self,_117,_118){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPDisclosureButton").super_class},"setState:",_118); +if(objj_msgSend(self,"state")===CPOnState){ +_angle=0; +}else{ +_angle=-PI_2; +} +} +}),new objj_method(sel_getUid("drawRect:"),function(self,_119,_11a){ +with(self){ +var _11b=objj_msgSend(self,"bounds"),_11c=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextBeginPath(_11c); +CGContextTranslateCTM(_11c,(_11b.size.width)/2,(_11b.size.height)/2); +CGContextRotateCTM(_11c,_angle); +CGContextTranslateCTM(_11c,-(_11b.size.width)/2,-(_11b.size.height)/2); +CGContextTranslateCTM(_11c,FLOOR(((_11b.size.width)-9)/2),FLOOR(((_11b.size.height)-8)/2)); +CGContextMoveToPoint(_11c,0,0); +CGContextAddLineToPoint(_11c,9,0); +CGContextAddLineToPoint(_11c,4.5,8); +CGContextAddLineToPoint(_11c,0,0); +CGContextClosePath(_11c); +CGContextSetFillColor(_11c,objj_msgSend(self,"isHighlighted")?objj_msgSend(CPColor,"whiteColor"):objj_msgSend(CPColor,"grayColor")); +CGContextFillPath(_11c); +} +})]); +p;9;CPPanel.jt;1172;@STATIC;1.0;i;10;CPWindow.jt;1138; +objj_executeFile("CPWindow.j",YES); +CPOKButton=1; +CPCancelButton=0; +CPDocModalWindowMask=1<<6; +var _1=objj_allocateClassPair(CPWindow,"CPPanel"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_becomesKeyOnlyIfNeeded"),new objj_ivar("_worksWhenModal")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("isFloatingPanel"),function(_3,_4){ +with(_3){ +return objj_msgSend(_3,"level")==CPFloatingWindowLevel; +} +}),new objj_method(sel_getUid("setFloatingPanel:"),function(_5,_6,_7){ +with(_5){ +objj_msgSend(_5,"setLevel:",_7?CPFloatingWindowLevel:CPNormalWindowLevel); +} +}),new objj_method(sel_getUid("becomesKeyOnlyIfNeeded"),function(_8,_9){ +with(_8){ +return _becomesKeyOnlyIfNeeded; +} +}),new objj_method(sel_getUid("setBecomesKeyOnlyIfNeeded:"),function(_a,_b,_c){ +with(_a){ +_becomesKeyOnlyIfNeeded=_c; +} +}),new objj_method(sel_getUid("worksWhenModal"),function(_d,_e){ +with(_d){ +return _worksWhenModal; +} +}),new objj_method(sel_getUid("setWorksWhenModal:"),function(_f,_10,_11){ +with(_f){ +_worksWhenModal=_11; +} +}),new objj_method(sel_getUid("canBecomeMainWindow"),function(_12,_13){ +with(_12){ +return NO; +} +})]); +p;14;CPPasteboard.jt;6740;@STATIC;1.0;I;21;Foundation/CPObject.jI;20;Foundation/CPArray.jI;25;Foundation/CPDictionary.jI;40;Foundation/CPPropertyListSerialization.jt;6595; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPPropertyListSerialization.j",NO); +CPGeneralPboard="CPGeneralPboard"; +CPFontPboard="CPFontPboard"; +CPRulerPboard="CPRulerPboard"; +CPFindPboard="CPFindPboard"; +CPDragPboard="CPDragPboard"; +CPColorPboardType="CPColorPboardType"; +CPFilenamesPboardType="CPFilenamesPboardType"; +CPFontPboardType="CPFontPboardType"; +CPHTMLPboardType="CPHTMLPboardType"; +CPStringPboardType="CPStringPboardType"; +CPURLPboardType="CPURLPboardType"; +CPImagesPboardType="CPImagesPboardType"; +CPVideosPboardType="CPVideosPboardType"; +UTF8PboardType="public.utf8-plain-text"; +CPImagePboardType="CPImagePboardType"; +var _1=nil,_2=NO; +var _3=objj_allocateClassPair(CPObject,"CPPasteboard"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_types"),new objj_ivar("_owners"),new objj_ivar("_provided"),new objj_ivar("_changeCount"),new objj_ivar("_stateUID"),new objj_ivar("_nativePasteboard")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("_initWithName:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPPasteboard").super_class},"init"); +if(_5){ +_name=_7; +_types=[]; +_owners=objj_msgSend(CPDictionary,"dictionary"); +_provided=objj_msgSend(CPDictionary,"dictionary"); +_changeCount=0; +if(_2){ +_nativePasteboard=window.cpPasteboardWithName(_7); +objj_msgSend(_5,"_synchronizePasteboard"); +} +} +return _5; +} +}),new objj_method(sel_getUid("addTypes:owner:"),function(_8,_9,_a,_b){ +with(_8){ +var i=0,_c=_a.length; +for(;i<_c;++i){ +var _d=_a[i]; +if(!objj_msgSend(_owners,"objectForKey:",_d)){ +objj_msgSend(_types,"addObject:",_d); +objj_msgSend(_provided,"removeObjectForKey:",_d); +} +objj_msgSend(_owners,"setObject:forKey:",_b,_d); +} +if(_nativePasteboard){ +var _e=objj_msgSend(_a,"copy"); +if(objj_msgSend(_a,"containsObject:",CPStringPboardType)){ +_e.push(UTF8PboardType); +} +_nativePasteboard.addTypes_(_e); +} +return ++_changeCount; +} +}),new objj_method(sel_getUid("declareTypes:owner:"),function(_f,_10,_11,_12){ +with(_f){ +objj_msgSend(_f,"_declareTypes:owner:updateNativePasteboard:",_11,_12,YES); +} +}),new objj_method(sel_getUid("_declareTypes:owner:updateNativePasteboard:"),function(_13,_14,_15,_16,_17){ +with(_13){ +objj_msgSend(_types,"setArray:",_15); +_owners=objj_msgSend(CPDictionary,"dictionary"); +_provided=objj_msgSend(CPDictionary,"dictionary"); +var _18=_types.length; +while(_18--){ +objj_msgSend(_owners,"setObject:forKey:",_16,_types[_18]); +} +if(_nativePasteboard&&_17){ +var _19=objj_msgSend(_15,"copy"); +if(objj_msgSend(_15,"containsObject:",CPStringPboardType)){ +_19.push(UTF8PboardType); +} +_nativePasteboard.declareTypes_(_19); +_changeCount=_nativePasteboard.changeCount(); +} +return ++_changeCount; +} +}),new objj_method(sel_getUid("setData:forType:"),function(_1a,_1b,_1c,_1d){ +with(_1a){ +objj_msgSend(_provided,"setObject:forKey:",_1c,_1d); +if(_1d===CPStringPboardType){ +objj_msgSend(_1a,"setData:forType:",_1c,UTF8PboardType); +} +return YES; +} +}),new objj_method(sel_getUid("setPropertyList:forType:"),function(_1e,_1f,_20,_21){ +with(_1e){ +return objj_msgSend(_1e,"setData:forType:",objj_msgSend(CPPropertyListSerialization,"dataFromPropertyList:format:",_20,CPPropertyList280NorthFormat_v1_0),_21); +} +}),new objj_method(sel_getUid("setString:forType:"),function(_22,_23,_24,_25){ +with(_22){ +objj_msgSend(_22,"setPropertyList:forType:",_24,_25); +} +}),new objj_method(sel_getUid("availableTypeFromArray:"),function(_26,_27,_28){ +with(_26){ +return objj_msgSend(objj_msgSend(_26,"types"),"firstObjectCommonWithArray:",_28); +} +}),new objj_method(sel_getUid("types"),function(_29,_2a){ +with(_29){ +objj_msgSend(_29,"_synchronizePasteboard"); +return _types; +} +}),new objj_method(sel_getUid("changeCount"),function(_2b,_2c){ +with(_2b){ +return _changeCount; +} +}),new objj_method(sel_getUid("dataForType:"),function(_2d,_2e,_2f){ +with(_2d){ +var _30=objj_msgSend(_provided,"objectForKey:",_2f); +if(_30){ +return _30; +} +var _31=objj_msgSend(_owners,"objectForKey:",_2f); +if(_31){ +objj_msgSend(_31,"pasteboard:provideDataForType:",_2d,_2f); +return objj_msgSend(_provided,"objectForKey:",_2f); +} +if(_2f===CPStringPboardType){ +return objj_msgSend(_2d,"dataForType:",UTF8PboardType); +} +return nil; +} +}),new objj_method(sel_getUid("_synchronizePasteboard"),function(_32,_33){ +with(_32){ +if(_nativePasteboard&&_nativePasteboard.changeCount()>_changeCount){ +var _34=objj_msgSend(_nativePasteboard.types(),"copy"); +if(objj_msgSend(_34,"containsObject:",UTF8PboardType)){ +_34.push(CPStringPboardType); +} +objj_msgSend(_32,"_declareTypes:owner:updateNativePasteboard:",_34,_32,NO); +_changeCount=_nativePasteboard.changeCount(); +} +} +}),new objj_method(sel_getUid("pasteboard:provideDataForType:"),function(_35,_36,_37,_38){ +with(_35){ +if(_38===CPStringPboardType){ +var _39=_nativePasteboard.stringForType_(UTF8PboardType); +objj_msgSend(_35,"setString:forType:",_39,CPStringPboardType); +objj_msgSend(_35,"setString:forType:",_39,UTF8PboardType); +}else{ +objj_msgSend(_35,"setString:forType:",_nativePasteboard.stringForType_(_38),_38); +} +} +}),new objj_method(sel_getUid("propertyListForType:"),function(_3a,_3b,_3c){ +with(_3a){ +var _3d=objj_msgSend(_3a,"dataForType:",_3c); +if(_3d){ +return objj_msgSend(CPPropertyListSerialization,"propertyListFromData:format:",_3d,CPPropertyList280NorthFormat_v1_0); +} +return nil; +} +}),new objj_method(sel_getUid("stringForType:"),function(_3e,_3f,_40){ +with(_3e){ +return objj_msgSend(_3e,"propertyListForType:",_40); +} +}),new objj_method(sel_getUid("_generateStateUID"),function(_41,_42){ +with(_41){ +var _43=32; +_stateUID=""; +while(_43--){ +_stateUID+=FLOOR(RAND()*16).toString(16).toUpperCase(); +} +return _stateUID; +} +}),new objj_method(sel_getUid("_stateUID"),function(_44,_45){ +with(_44){ +return _stateUID; +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("initialize"),function(_46,_47){ +with(_46){ +if(_46!=objj_msgSend(CPPasteboard,"class")){ +return; +} +objj_msgSend(_46,"setVersion:",1); +_1=objj_msgSend(CPDictionary,"dictionary"); +if(typeof window.cpPasteboardWithName!=="undefined"){ +_2=YES; +} +} +}),new objj_method(sel_getUid("generalPasteboard"),function(_48,_49){ +with(_48){ +return objj_msgSend(CPPasteboard,"pasteboardWithName:",CPGeneralPboard); +} +}),new objj_method(sel_getUid("pasteboardWithName:"),function(_4a,_4b,_4c){ +with(_4a){ +var _4d=objj_msgSend(_1,"objectForKey:",_4c); +if(_4d){ +return _4d; +} +_4d=objj_msgSend(objj_msgSend(CPPasteboard,"alloc"),"_initWithName:",_4c); +objj_msgSend(_1,"setObject:forKey:",_4d,_4c); +return _4d; +} +})]); +p;15;CPPopUpButton.jt;13015;@STATIC;1.0;i;10;CPButton.ji;12;CPGeometry.ji;8;CPMenu.ji;12;CPMenuItem.jt;12934; +objj_executeFile("CPButton.j",YES); +objj_executeFile("CPGeometry.j",YES); +objj_executeFile("CPMenu.j",YES); +objj_executeFile("CPMenuItem.j",YES); +var _1=7; +CPPopUpButtonStatePullsDown=CPThemeState("pulls-down"); +var _2=objj_allocateClassPair(CPButton,"CPPopUpButton"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_selectedIndex"),new objj_ivar("_preferredEdge"),new objj_ivar("_menu")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:pullsDown:"),function(_4,_5,_6,_7){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPPopUpButton").super_class},"initWithFrame:",_6); +if(_4){ +_selectedIndex=CPNotFound; +_preferredEdge=CPMaxYEdge; +objj_msgSend(_4,"setValue:forThemeAttribute:",CPImageLeft,"image-position"); +objj_msgSend(_4,"setValue:forThemeAttribute:",CPLeftTextAlignment,"alignment"); +objj_msgSend(_4,"setValue:forThemeAttribute:",CPLineBreakByTruncatingTail,"line-break-mode"); +objj_msgSend(_4,"setMenu:",objj_msgSend(objj_msgSend(CPMenu,"alloc"),"initWithTitle:","")); +objj_msgSend(_4,"setPullsDown:",_7); +} +return _4; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_8,_9,_a){ +with(_8){ +return objj_msgSend(_8,"initWithFrame:pullsDown:",_a,NO); +} +}),new objj_method(sel_getUid("setPullsDown:"),function(_b,_c,_d){ +with(_b){ +if(_d){ +var _e=objj_msgSend(_b,"setThemeState:",CPPopUpButtonStatePullsDown); +}else{ +var _e=objj_msgSend(_b,"unsetThemeState:",CPPopUpButtonStatePullsDown); +} +if(!_e){ +return; +} +var _f=objj_msgSend(_menu,"itemArray"); +if(objj_msgSend(_f,"count")<=0){ +return; +} +objj_msgSend(_f[0],"setHidden:",objj_msgSend(_b,"pullsDown")); +objj_msgSend(_b,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("pullsDown"),function(_10,_11){ +with(_10){ +return objj_msgSend(_10,"hasThemeState:",CPPopUpButtonStatePullsDown); +} +}),new objj_method(sel_getUid("addItem:"),function(_12,_13,_14){ +with(_12){ +objj_msgSend(_menu,"addItem:",_14); +} +}),new objj_method(sel_getUid("addItemWithTitle:"),function(_15,_16,_17){ +with(_15){ +objj_msgSend(_menu,"addItemWithTitle:action:keyEquivalent:",_17,NULL,nil); +} +}),new objj_method(sel_getUid("addItemsWithTitles:"),function(_18,_19,_1a){ +with(_18){ +var _1b=0,_1c=objj_msgSend(_1a,"count"); +for(;_1b<_1c;++_1b){ +objj_msgSend(_18,"addItemWithTitle:",_1a[_1b]); +} +} +}),new objj_method(sel_getUid("insertItemWithTitle:atIndex:"),function(_1d,_1e,_1f,_20){ +with(_1d){ +var _21=objj_msgSend(_1d,"itemArray"),_22=objj_msgSend(_21,"count"); +while(_22--){ +if(objj_msgSend(_21[_22],"title")==_1f){ +objj_msgSend(_1d,"removeItemAtIndex:",_22); +} +} +objj_msgSend(_menu,"insertItemWithTitle:action:keyEquivalent:atIndex:",_1f,NULL,nil,_20); +} +}),new objj_method(sel_getUid("removeAllItems"),function(_23,_24){ +with(_23){ +var _25=objj_msgSend(_menu,"numberOfItems"); +while(_25--){ +objj_msgSend(_menu,"removeItemAtIndex:",0); +} +} +}),new objj_method(sel_getUid("removeItemWithTitle:"),function(_26,_27,_28){ +with(_26){ +objj_msgSend(_26,"removeItemAtIndex:",objj_msgSend(_26,"indexOfItemWithTitle:",_28)); +objj_msgSend(_26,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("removeItemAtIndex:"),function(_29,_2a,_2b){ +with(_29){ +objj_msgSend(_menu,"removeItemAtIndex:",_2b); +objj_msgSend(_29,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("selectedItem"),function(_2c,_2d){ +with(_2c){ +if(_selectedIndex<0||_selectedIndex>objj_msgSend(_2c,"numberOfItems")-1){ +return nil; +} +return objj_msgSend(_menu,"itemAtIndex:",_selectedIndex); +} +}),new objj_method(sel_getUid("titleOfSelectedItem"),function(_2e,_2f){ +with(_2e){ +return objj_msgSend(objj_msgSend(_2e,"selectedItem"),"title"); +} +}),new objj_method(sel_getUid("indexOfSelectedItem"),function(_30,_31){ +with(_30){ +return _selectedIndex; +} +}),new objj_method(sel_getUid("objectValue"),function(_32,_33){ +with(_32){ +return _selectedIndex; +} +}),new objj_method(sel_getUid("selectItem:"),function(_34,_35,_36){ +with(_34){ +objj_msgSend(_34,"selectItemAtIndex:",objj_msgSend(_34,"indexOfItem:",_36)); +} +}),new objj_method(sel_getUid("selectItemAtIndex:"),function(_37,_38,_39){ +with(_37){ +if(_selectedIndex==_39){ +return; +} +if(_selectedIndex>=0&&!objj_msgSend(_37,"pullsDown")){ +objj_msgSend(objj_msgSend(_37,"selectedItem"),"setState:",CPOffState); +} +_selectedIndex=_39; +if(_selectedIndex>=0&&!objj_msgSend(_37,"pullsDown")){ +objj_msgSend(objj_msgSend(_37,"selectedItem"),"setState:",CPOnState); +} +objj_msgSend(_37,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("selectItemWithTag:"),function(_3a,_3b,_3c){ +with(_3a){ +objj_msgSend(_3a,"selectItemAtIndex:",objj_msgSend(_3a,"indexOfItemWithTag:",_3c)); +} +}),new objj_method(sel_getUid("selectItemWithTitle:"),function(_3d,_3e,_3f){ +with(_3d){ +objj_msgSend(_3d,"selectItemAtIndex:",objj_msgSend(_3d,"indexOfItemWithTitle:",_3f)); +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_40,_41,_42){ +with(_40){ +objj_msgSend(_40,"selectItemAtIndex:",objj_msgSend(_42,"intValue")); +} +}),new objj_method(sel_getUid("menu"),function(_43,_44){ +with(_43){ +return _menu; +} +}),new objj_method(sel_getUid("setMenu:"),function(_45,_46,_47){ +with(_45){ +if(_menu===_47){ +return; +} +var _48=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_menu){ +objj_msgSend(_48,"removeObserver:name:object:",_45,CPMenuDidAddItemNotification,_menu); +objj_msgSend(_48,"removeObserver:name:object:",_45,CPMenuDidChangeItemNotification,_menu); +objj_msgSend(_48,"removeObserver:name:object:",_45,CPMenuDidRemoveItemNotification,_menu); +} +_menu=_47; +if(_menu){ +objj_msgSend(_48,"addObserver:selector:name:object:",_45,sel_getUid("menuDidAddItem:"),CPMenuDidAddItemNotification,_menu); +objj_msgSend(_48,"addObserver:selector:name:object:",_45,sel_getUid("menuDidChangeItem:"),CPMenuDidChangeItemNotification,_menu); +objj_msgSend(_48,"addObserver:selector:name:object:",_45,sel_getUid("menuDidRemoveItem:"),CPMenuDidRemoveItemNotification,_menu); +} +objj_msgSend(_45,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("numberOfItems"),function(_49,_4a){ +with(_49){ +return objj_msgSend(_menu,"numberOfItems"); +} +}),new objj_method(sel_getUid("itemArray"),function(_4b,_4c){ +with(_4b){ +return objj_msgSend(_menu,"itemArray"); +} +}),new objj_method(sel_getUid("itemAtIndex:"),function(_4d,_4e,_4f){ +with(_4d){ +return objj_msgSend(_menu,"itemAtIndex:",_4f); +} +}),new objj_method(sel_getUid("itemTitleAtIndex:"),function(_50,_51,_52){ +with(_50){ +return objj_msgSend(objj_msgSend(_menu,"itemAtIndex:",_52),"title"); +} +}),new objj_method(sel_getUid("itemTitles"),function(_53,_54){ +with(_53){ +var _55=[],_56=objj_msgSend(_53,"itemArray"),_57=0,_58=objj_msgSend(_56,"count"); +for(;_57<_58;++_57){ +_56.push(objj_msgSend(_56[_57],"title")); +} +} +}),new objj_method(sel_getUid("itemWithTitle:"),function(_59,_5a,_5b){ +with(_59){ +return objj_msgSend(_menu,"itemAtIndex:",objj_msgSend(_menu,"indexOfItemWithTitle:",_5b)); +} +}),new objj_method(sel_getUid("lastItem"),function(_5c,_5d){ +with(_5c){ +return objj_msgSend(objj_msgSend(_menu,"itemArray"),"lastObject"); +} +}),new objj_method(sel_getUid("indexOfItem:"),function(_5e,_5f,_60){ +with(_5e){ +return objj_msgSend(_menu,"indexOfItem:",_60); +} +}),new objj_method(sel_getUid("indexOfItemWithTag:"),function(_61,_62,_63){ +with(_61){ +return objj_msgSend(_menu,"indexOfItemWithTag:",_63); +} +}),new objj_method(sel_getUid("indexOfItemWithTitle:"),function(_64,_65,_66){ +with(_64){ +return objj_msgSend(_menu,"indexOfItemWithTitle:",_66); +} +}),new objj_method(sel_getUid("indexOfItemWithRepresentedObject:"),function(_67,_68,_69){ +with(_67){ +return objj_msgSend(_menu,"indexOfItemWithRepresentedObject:",_69); +} +}),new objj_method(sel_getUid("indexOfItemWithTarget:action:"),function(_6a,_6b,_6c,_6d){ +with(_6a){ +return objj_msgSend(_menu,"indexOfItemWithTarget:action:",_6c,_6d); +} +}),new objj_method(sel_getUid("preferredEdge"),function(_6e,_6f){ +with(_6e){ +return _preferredEdge; +} +}),new objj_method(sel_getUid("setPreferredEdge:"),function(_70,_71,_72){ +with(_70){ +_preferredEdge=_72; +} +}),new objj_method(sel_getUid("setTitle:"),function(_73,_74,_75){ +with(_73){ +if(objj_msgSend(_73,"title")===_75){ +return; +} +if(objj_msgSend(_73,"pullsDown")){ +var _76=objj_msgSend(_menu,"itemArray"); +if(objj_msgSend(_76,"count")<=0){ +objj_msgSend(_73,"addItemWithTitle:",_75); +}else{ +objj_msgSend(_76[0],"setTitle:",_75); +objj_msgSend(_73,"synchronizeTitleAndSelectedItem"); +} +}else{ +var _77=objj_msgSend(_73,"indexOfItemWithTitle:",_75); +if(_77<0){ +objj_msgSend(_73,"addItemWithTitle:",_75); +_77=objj_msgSend(_73,"numberOfItems")-1; +} +objj_msgSend(_73,"selectItemAtIndex:",_77); +} +} +}),new objj_method(sel_getUid("setImage:"),function(_78,_79,_7a){ +with(_78){ +} +}),new objj_method(sel_getUid("synchronizeTitleAndSelectedItem"),function(_7b,_7c){ +with(_7b){ +var _7d=nil; +if(objj_msgSend(_7b,"pullsDown")){ +var _7e=objj_msgSend(_menu,"itemArray"); +if(objj_msgSend(_7e,"count")>0){ +_7d=_7e[0]; +} +}else{ +_7d=objj_msgSend(_7b,"selectedItem"); +} +objj_msgSendSuper({receiver:_7b,super_class:objj_getClass("CPPopUpButton").super_class},"setImage:",objj_msgSend(_7d,"image")); +objj_msgSendSuper({receiver:_7b,super_class:objj_getClass("CPPopUpButton").super_class},"setTitle:",objj_msgSend(_7d,"title")); +} +}),new objj_method(sel_getUid("menuDidAddItem:"),function(_7f,_80,_81){ +with(_7f){ +var _82=objj_msgSend(objj_msgSend(_81,"userInfo"),"objectForKey:","CPMenuItemIndex"); +if(_selectedIndex<0){ +objj_msgSend(_7f,"selectItemAtIndex:",0); +}else{ +if(_82==_selectedIndex){ +objj_msgSend(_7f,"synchronizeTitleAndSelectedItem"); +}else{ +if(_82<_selectedIndex){ +++_selectedIndex; +} +} +} +if(_82==0&&objj_msgSend(_7f,"pullsDown")){ +var _83=objj_msgSend(_menu,"itemArray"); +objj_msgSend(_83[0],"setHidden:",YES); +if(_83.length>0){ +objj_msgSend(_83[1],"setHidden:",NO); +} +} +var _84=objj_msgSend(_menu,"itemArray")[_82],_85=objj_msgSend(_84,"action"); +if(!_85||(_85===sel_getUid("_popUpItemAction:"))){ +objj_msgSend(_84,"setTarget:",_7f); +objj_msgSend(_84,"setAction:",sel_getUid("_popUpItemAction:")); +} +} +}),new objj_method(sel_getUid("menuDidChangeItem:"),function(_86,_87,_88){ +with(_86){ +var _89=objj_msgSend(objj_msgSend(_88,"userInfo"),"objectForKey:","CPMenuItemIndex"); +if(objj_msgSend(_86,"pullsDown")&&_89!=0){ +return; +} +if(!objj_msgSend(_86,"pullsDown")&&_89!=_selectedIndex){ +return; +} +objj_msgSend(_86,"synchronizeTitleAndSelectedItem"); +} +}),new objj_method(sel_getUid("menuDidRemoveItem:"),function(_8a,_8b,_8c){ +with(_8a){ +var _8d=objj_msgSend(_8a,"numberOfItems"); +if(_8d<=_selectedIndex&&_8d>0){ +objj_msgSend(_8a,"selectItemAtIndex:",_8d-1); +}else{ +objj_msgSend(_8a,"synchronizeTitleAndSelectedItem"); +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_8e,_8f,_90){ +with(_8e){ +if(!objj_msgSend(_8e,"isEnabled")||!objj_msgSend(_8e,"numberOfItems")){ +return; +} +objj_msgSend(_8e,"highlight:",YES); +var _91=objj_msgSend(_8e,"menu"),_92=objj_msgSend(_8e,"bounds"),_93=CGRectGetWidth(_92); +objj_msgSend(_91,"setFont:",objj_msgSend(_8e,"font")); +if(objj_msgSend(_8e,"pullsDown")){ +var _94=nil,_95=CGPointMake(0,CGRectGetMaxY(_92)); +}else{ +var _96=objj_msgSend(_8e,"contentRectForBounds:",_92),_94=objj_msgSend(_8e,"selectedItem"),_97=objj_msgSend(_CPMenuWindow,"_standardLeftMargin")+objj_msgSend(_CPMenuItemStandardView,"_standardLeftMargin"),_95=CGPointMake(CGRectGetMinX(_96)-_97,0); +_93+=_97; +} +objj_msgSend(_91,"setMinimumWidth:",_93); +objj_msgSend(_91,"_popUpMenuPositioningItem:atLocation:topY:bottomY:inView:callback:",_94,_95,CGRectGetMinY(_92),CGRectGetMaxY(_92),_8e,function(_98){ +objj_msgSend(_8e,"highlight:",NO); +var _99=objj_msgSend(_98,"highlightedItem"); +if(objj_msgSend(_99,"_isSelectable")){ +objj_msgSend(_8e,"selectItem:",_99); +} +}); +} +}),new objj_method(sel_getUid("_popUpItemAction:"),function(_9a,_9b,_9c){ +with(_9a){ +objj_msgSend(_9a,"sendAction:to:",objj_msgSend(_9a,"action"),objj_msgSend(_9a,"target")); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("themeClass"),function(_9d,_9e){ +with(_9d){ +return "popup-button"; +} +})]); +var _9f="CPPopUpButtonMenuKey",_a0="CPPopUpButtonSelectedIndexKey",_a1="CPPopUpButtonPullsDownKey"; +var _2=objj_getClass("CPPopUpButton"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPPopUpButton\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_a2,_a3,_a4){ +with(_a2){ +_a2=objj_msgSendSuper({receiver:_a2,super_class:objj_getClass("CPPopUpButton").super_class},"initWithCoder:",_a4); +if(_a2){ +_selectedIndex=-1; +objj_msgSend(_a2,"setMenu:",objj_msgSend(_a4,"decodeObjectForKey:",_9f)); +objj_msgSend(_a2,"selectItemAtIndex:",objj_msgSend(_a4,"decodeObjectForKey:",_a0)); +} +return _a2; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_a5,_a6,_a7){ +with(_a5){ +objj_msgSendSuper({receiver:_a5,super_class:objj_getClass("CPPopUpButton").super_class},"encodeWithCoder:",_a7); +objj_msgSend(_a7,"encodeObject:forKey:",_menu,_9f); +objj_msgSend(_a7,"encodeInt:forKey:",_selectedIndex,_a0); +} +})]); +p;21;CPProgressIndicator.jt;8302;@STATIC;1.0;I;19;AppKit/CGGeometry.jI;20;AppKit/CPImageView.jI;15;AppKit/CPView.jt;8214; +objj_executeFile("AppKit/CGGeometry.j",NO); +objj_executeFile("AppKit/CPImageView.j",NO); +objj_executeFile("AppKit/CPView.j",NO); +CPProgressIndicatorBarStyle=0; +CPProgressIndicatorSpinningStyle=1; +CPProgressIndicatorHUDBarStyle=2; +var _1=nil,_2=nil,_3=nil,_4=nil; +var _5=objj_allocateClassPair(CPView,"CPProgressIndicator"),_6=_5.isa; +class_addIvars(_5,[new objj_ivar("_minValue"),new objj_ivar("_maxValue"),new objj_ivar("_doubleValue"),new objj_ivar("_controlSize"),new objj_ivar("_isIndeterminate"),new objj_ivar("_style"),new objj_ivar("_isAnimating"),new objj_ivar("_isDisplayedWhenStoppedSet"),new objj_ivar("_isDisplayedWhenStopped"),new objj_ivar("_barView")]); +objj_registerClassPair(_5); +class_addMethods(_5,[new objj_method(sel_getUid("initWithFrame:"),function(_7,_8,_9){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPProgressIndicator").super_class},"initWithFrame:",_9); +if(_7){ +_minValue=0; +_maxValue=100; +_doubleValue=0; +_style=CPProgressIndicatorBarStyle; +_isDisplayedWhenStoppedSet=NO; +_controlSize=CPRegularControlSize; +objj_msgSend(_7,"updateBackgroundColor"); +objj_msgSend(_7,"drawBar"); +} +return _7; +} +}),new objj_method(sel_getUid("setUsesThreadedAnimation:"),function(_a,_b,_c){ +with(_a){ +} +}),new objj_method(sel_getUid("startAnimation:"),function(_d,_e,_f){ +with(_d){ +_isAnimating=YES; +objj_msgSend(_d,"_hideOrDisplay"); +} +}),new objj_method(sel_getUid("stopAnimation:"),function(_10,_11,_12){ +with(_10){ +_isAnimating=NO; +objj_msgSend(_10,"_hideOrDisplay"); +} +}),new objj_method(sel_getUid("usesThreadedAnimation"),function(_13,_14){ +with(_13){ +return NO; +} +}),new objj_method(sel_getUid("incrementBy:"),function(_15,_16,_17){ +with(_15){ +objj_msgSend(_15,"setDoubleValue:",_doubleValue+_17); +} +}),new objj_method(sel_getUid("setDoubleValue:"),function(_18,_19,_1a){ +with(_18){ +_doubleValue=MIN(MAX(_1a,_minValue),_maxValue); +objj_msgSend(_18,"drawBar"); +} +}),new objj_method(sel_getUid("doubleValue"),function(_1b,_1c){ +with(_1b){ +return _doubleValue; +} +}),new objj_method(sel_getUid("setMinValue:"),function(_1d,_1e,_1f){ +with(_1d){ +_minValue=_1f; +} +}),new objj_method(sel_getUid("minValue"),function(_20,_21){ +with(_20){ +return _minValue; +} +}),new objj_method(sel_getUid("setMaxValue:"),function(_22,_23,_24){ +with(_22){ +_maxValue=_24; +} +}),new objj_method(sel_getUid("maxValue"),function(_25,_26){ +with(_25){ +return _maxValue; +} +}),new objj_method(sel_getUid("setControlSize:"),function(_27,_28,_29){ +with(_27){ +if(_controlSize==_29){ +return; +} +_controlSize=_29; +objj_msgSend(_27,"updateBackgroundColor"); +} +}),new objj_method(sel_getUid("controlSize"),function(_2a,_2b){ +with(_2a){ +return _controlSize; +} +}),new objj_method(sel_getUid("setControlTint:"),function(_2c,_2d,_2e){ +with(_2c){ +} +}),new objj_method(sel_getUid("controlTint"),function(_2f,_30){ +with(_2f){ +return 0; +} +}),new objj_method(sel_getUid("setBezeled:"),function(_31,_32,_33){ +with(_31){ +} +}),new objj_method(sel_getUid("isBezeled"),function(_34,_35){ +with(_34){ +return YES; +} +}),new objj_method(sel_getUid("setIndeterminate:"),function(_36,_37,_38){ +with(_36){ +if(_isIndeterminate==_38){ +return; +} +_isIndeterminate=_38; +objj_msgSend(_36,"updateBackgroundColor"); +} +}),new objj_method(sel_getUid("isIndeterminate"),function(_39,_3a){ +with(_39){ +return _isIndeterminate; +} +}),new objj_method(sel_getUid("setStyle:"),function(_3b,_3c,_3d){ +with(_3b){ +if(_style==_3d){ +return; +} +_style=_3d; +objj_msgSend(_3b,"updateBackgroundColor"); +} +}),new objj_method(sel_getUid("sizeToFit"),function(_3e,_3f){ +with(_3e){ +if(_style==CPProgressIndicatorSpinningStyle){ +objj_msgSend(_3e,"setFrameSize:",objj_msgSend(objj_msgSend(_1[_controlSize],"patternImage"),"size")); +}else{ +objj_msgSend(_3e,"setFrameSize:",CGSizeMake(CGRectGetWidth(objj_msgSend(_3e,"frame")),_4[_2+"BezelBorder"+_3[CPProgressIndicatorBarStyle]+_CPControlIdentifierForControlSize(_controlSize)][0].height)); +} +} +}),new objj_method(sel_getUid("setDisplayedWhenStopped:"),function(_40,_41,_42){ +with(_40){ +if(_isDisplayedWhenStoppedSet&&_isDisplayedWhenStopped==_42){ +return; +} +_isDisplayedWhenStoppedSet=YES; +_isDisplayedWhenStopped=_42; +objj_msgSend(_40,"_hideOrDisplay"); +} +}),new objj_method(sel_getUid("isDisplayedWhenStopped"),function(_43,_44){ +with(_43){ +if(_isDisplayedWhenStoppedSet){ +return _isDisplayedWhenStopped; +} +if(_style==CPProgressIndicatorBarStyle||_style==CPProgressIndicatorHUDBarStyle){ +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("_hideOrDisplay"),function(_45,_46){ +with(_45){ +objj_msgSend(_45,"setHidden:",!_isAnimating&&!objj_msgSend(_45,"isDisplayedWhenStopped")); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_47,_48,_49){ +with(_47){ +objj_msgSendSuper({receiver:_47,super_class:objj_getClass("CPProgressIndicator").super_class},"setFrameSize:",_49); +objj_msgSend(_47,"drawBar"); +} +}),new objj_method(sel_getUid("drawBar"),function(_4a,_4b){ +with(_4a){ +if(_style==CPProgressIndicatorSpinningStyle){ +return; +} +if(!_barView){ +_barView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,0,16)); +objj_msgSend(_4a,"addSubview:",_barView); +} +objj_msgSend(_barView,"setBackgroundColor:",_CPControlThreePartImagePattern(NO,_4,_2,"Bar",_3[_style],_CPControlIdentifierForControlSize(_controlSize))); +var _4c=CGRectGetWidth(objj_msgSend(_4a,"bounds")),_4d=_4c*((_doubleValue-_minValue)/(_maxValue-_minValue)); +if(_4d>0&&_4d<4){ +_4d=4; +} +objj_msgSend(_barView,"setFrameSize:",CGSizeMake(_4d,16)); +} +}),new objj_method(sel_getUid("updateBackgroundColor"),function(_4e,_4f){ +with(_4e){ +if(YES){ +if(_style==CPProgressIndicatorSpinningStyle){ +objj_msgSend(_barView,"removeFromSuperview"); +_barView=nil; +objj_msgSend(_4e,"setBackgroundColor:",_1[_controlSize]); +}else{ +objj_msgSend(_4e,"setBackgroundColor:",_CPControlThreePartImagePattern(NO,_4,_2,"BezelBorder",_3[_style],_CPControlIdentifierForControlSize(_controlSize))); +objj_msgSend(_4e,"drawBar"); +} +}else{ +objj_msgSend(_4e,"setBackgroundColor:",nil); +} +} +})]); +class_addMethods(_6,[new objj_method(sel_getUid("initialize"),function(_50,_51){ +with(_50){ +if(_50!=objj_msgSend(CPProgressIndicator,"class")){ +return; +} +var _52=objj_msgSend(CPBundle,"bundleForClass:",_50); +_1=[]; +_1[CPMiniControlSize]=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_52,"pathForResource:","CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif"),CGSizeMake(64,64))); +_1[CPSmallControlSize]=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_52,"pathForResource:","CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif"),CGSizeMake(64,64))); +_1[CPRegularControlSize]=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_52,"pathForResource:","CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif"),CGSizeMake(64,64))); +CPProgressIndicatorBezelBorderViewPool=[]; +var _53=CPProgressIndicatorBarStyle,end=CPProgressIndicatorHUDBarStyle; +for(;_53<=end;++_53){ +CPProgressIndicatorBezelBorderViewPool[_53]=[]; +CPProgressIndicatorBezelBorderViewPool[_53][CPMiniControlSize]=[]; +CPProgressIndicatorBezelBorderViewPool[_53][CPSmallControlSize]=[]; +CPProgressIndicatorBezelBorderViewPool[_53][CPRegularControlSize]=[]; +} +_2=objj_msgSend(_50,"className"); +_3=[]; +_3[CPProgressIndicatorBarStyle]="Bar"; +_3[CPProgressIndicatorSpinningStyle]="Spinny"; +_3[CPProgressIndicatorHUDBarStyle]="HUDBar"; +var _54=_CPControlIdentifierForControlSize(CPRegularControlSize),_55=_CPControlIdentifierForControlSize(CPSmallControlSize),_56=_CPControlIdentifierForControlSize(CPMiniControlSize); +_4=[]; +var _57=[_2+"BezelBorder"+_3[CPProgressIndicatorBarStyle],_2+"Bar"+_3[CPProgressIndicatorBarStyle],_2+"BezelBorder"+_3[CPProgressIndicatorHUDBarStyle],_2+"Bar"+_3[CPProgressIndicatorHUDBarStyle]]; +for(var i=0,_58=_57.length;i<_58;i++){ +var _59=_57[i]; +_4[_59+_54]=[{width:3,height:16},{width:1,height:16},{width:3,height:16}]; +_4[_59+_55]=[{width:3,height:16},{width:1,height:16},{width:3,height:16}]; +_4[_59+_56]=[{width:3,height:16},{width:1,height:16},{width:3,height:16}]; +} +} +})]); +p;9;CPRadio.jt;5542;@STATIC;1.0;I;21;Foundation/CPObject.jI;18;Foundation/CPSet.ji;10;CPButton.jt;5459; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPSet.j",NO); +objj_executeFile("CPButton.j",YES); +var _1=objj_allocateClassPair(CPButton,"CPRadio"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_radioGroup")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:radioGroup:"),function(_3,_4,_5,_6){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPRadio").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"setRadioGroup:",_6); +objj_msgSend(_3,"setHighlightsBy:",CPContentsCellMask); +objj_msgSend(_3,"setShowsStateBy:",CPContentsCellMask); +objj_msgSend(_3,"setImagePosition:",CPImageLeft); +objj_msgSend(_3,"setAlignment:",CPLeftTextAlignment); +objj_msgSend(_3,"setBordered:",YES); +} +return _3; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_7,_8,_9){ +with(_7){ +return objj_msgSend(_7,"initWithFrame:radioGroup:",_9,objj_msgSend(CPRadioGroup,"new")); +} +}),new objj_method(sel_getUid("nextState"),function(_a,_b){ +with(_a){ +return CPOnState; +} +}),new objj_method(sel_getUid("setRadioGroup:"),function(_c,_d,_e){ +with(_c){ +if(_radioGroup===_e){ +return; +} +objj_msgSend(_radioGroup,"_removeRadio:",_c); +_radioGroup=_e; +objj_msgSend(_radioGroup,"_addRadio:",_c); +} +}),new objj_method(sel_getUid("radioGroup"),function(_f,_10){ +with(_f){ +return _radioGroup; +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_11,_12,_13){ +with(_11){ +objj_msgSendSuper({receiver:_11,super_class:objj_getClass("CPRadio").super_class},"setObjectValue:",_13); +if(objj_msgSend(_11,"state")===CPOnState){ +objj_msgSend(_radioGroup,"_setSelectedRadio:",_11); +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("radioWithTitle:theme:"),function(_14,_15,_16,_17){ +with(_14){ +return objj_msgSend(_14,"buttonWithTitle:theme:",_16,_17); +} +}),new objj_method(sel_getUid("radioWithTitle:"),function(_18,_19,_1a){ +with(_18){ +return objj_msgSend(_18,"buttonWithTitle:",_1a); +} +}),new objj_method(sel_getUid("standardButtonWithTitle:"),function(_1b,_1c,_1d){ +with(_1b){ +var _1e=objj_msgSend(objj_msgSend(CPRadio,"alloc"),"init"); +objj_msgSend(_1e,"setTitle:",_1d); +return _1e; +} +}),new objj_method(sel_getUid("themeClass"),function(_1f,_20){ +with(_1f){ +return "radio"; +} +})]); +var _21="CPRadioRadioGroupKey"; +var _1=objj_getClass("CPRadio"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPRadio\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_22,_23,_24){ +with(_22){ +_22=objj_msgSendSuper({receiver:_22,super_class:objj_getClass("CPRadio").super_class},"initWithCoder:",_24); +if(_22){ +_radioGroup=objj_msgSend(_24,"decodeObjectForKey:",_21); +} +return _22; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_25,_26,_27){ +with(_25){ +objj_msgSendSuper({receiver:_25,super_class:objj_getClass("CPRadio").super_class},"encodeWithCoder:",_27); +objj_msgSend(_27,"encodeObject:forKey:",_radioGroup,_21); +} +})]); +var _1=objj_allocateClassPair(CPObject,"CPRadioGroup"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_radios"),new objj_ivar("_selectedRadio"),new objj_ivar("_target"),new objj_ivar("_action")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("target"),function(_28,_29){ +with(_28){ +return _target; +} +}),new objj_method(sel_getUid("setTarget:"),function(_2a,_2b,_2c){ +with(_2a){ +_target=_2c; +} +}),new objj_method(sel_getUid("action"),function(_2d,_2e){ +with(_2d){ +return _action; +} +}),new objj_method(sel_getUid("setAction:"),function(_2f,_30,_31){ +with(_2f){ +_action=_31; +} +}),new objj_method(sel_getUid("init"),function(_32,_33){ +with(_32){ +_32=objj_msgSendSuper({receiver:_32,super_class:objj_getClass("CPRadioGroup").super_class},"init"); +if(_32){ +_radios=objj_msgSend(CPSet,"set"); +_selectedRadio=nil; +} +return _32; +} +}),new objj_method(sel_getUid("_addRadio:"),function(_34,_35,_36){ +with(_34){ +objj_msgSend(_radios,"addObject:",_36); +if(objj_msgSend(_36,"state")===CPOnState){ +objj_msgSend(_34,"_setSelectedRadio:",_36); +} +} +}),new objj_method(sel_getUid("_removeRadio:"),function(_37,_38,_39){ +with(_37){ +if(_selectedRadio===_39){ +_selectedRadio=nil; +} +objj_msgSend(_radios,"removeObject:",_39); +} +}),new objj_method(sel_getUid("_setSelectedRadio:"),function(_3a,_3b,_3c){ +with(_3a){ +if(_selectedRadio===_3c){ +return; +} +objj_msgSend(_selectedRadio,"setState:",CPOffState); +_selectedRadio=_3c; +objj_msgSend(CPApp,"sendAction:to:from:",_action,_target,_3a); +} +}),new objj_method(sel_getUid("selectedRadio"),function(_3d,_3e){ +with(_3d){ +return _selectedRadio; +} +}),new objj_method(sel_getUid("radios"),function(_3f,_40){ +with(_3f){ +return objj_msgSend(_radios,"allObjects"); +} +})]); +var _41="CPRadioGroupRadiosKey",_42="CPRadioGroupSelectedRadioKey"; +var _1=objj_getClass("CPRadioGroup"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPRadioGroup\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_43,_44,_45){ +with(_43){ +_43=objj_msgSendSuper({receiver:_43,super_class:objj_getClass("CPRadioGroup").super_class},"init"); +if(_43){ +_radios=objj_msgSend(_45,"decodeObjectForKey:",_41); +_selectedRadio=objj_msgSend(_45,"decodeObjectForKey:",_42); +} +return _43; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_46,_47,_48){ +with(_46){ +objj_msgSend(_48,"encodeObject:forKey:",_radios,_41); +objj_msgSend(_48,"encodeObject:forKey:",_selectedRadio,_42); +} +})]); +p;13;CPResponder.jt;6011;@STATIC;1.0;I;21;Foundation/CPObject.jt;5966; +objj_executeFile("Foundation/CPObject.j",NO); +CPDeleteKeyCode=8; +CPTabKeyCode=9; +CPReturnKeyCode=13; +CPEscapeKeyCode=27; +CPSpaceKeyCode=32; +CPPageUpKeyCode=33; +CPPageDownKeyCode=34; +CPLeftArrowKeyCode=37; +CPUpArrowKeyCode=38; +CPRightArrowKeyCode=39; +CPDownArrowKeyCode=40; +var _1=objj_allocateClassPair(CPObject,"CPResponder"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_menu"),new objj_ivar("_nextResponder")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("acceptsFirstResponder"),function(_3,_4){ +with(_3){ +return NO; +} +}),new objj_method(sel_getUid("becomeFirstResponder"),function(_5,_6){ +with(_5){ +return YES; +} +}),new objj_method(sel_getUid("resignFirstResponder"),function(_7,_8){ +with(_7){ +return YES; +} +}),new objj_method(sel_getUid("setNextResponder:"),function(_9,_a,_b){ +with(_9){ +_nextResponder=_b; +} +}),new objj_method(sel_getUid("nextResponder"),function(_c,_d){ +with(_c){ +return _nextResponder; +} +}),new objj_method(sel_getUid("interpretKeyEvents:"),function(_e,_f,_10){ +with(_e){ +var _11=0,_12=objj_msgSend(_10,"count"); +for(;_11<_12;++_11){ +var _13=_10[_11]; +switch(objj_msgSend(_13,"keyCode")){ +case CPPageUpKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("pageUp:")); +break; +case CPPageDownKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("pageDown:")); +break; +case CPLeftArrowKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("moveLeft:")); +break; +case CPRightArrowKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("moveRight:")); +break; +case CPUpArrowKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("moveUp:")); +break; +case CPDownArrowKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("moveDown:")); +break; +case CPDeleteKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("deleteBackward:")); +break; +case CPReturnKeyCode: +case 3: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("insertLineBreak:")); +break; +case CPEscapeKeyCode: +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("cancel:")); +break; +case CPTabKeyCode: +var _14=objj_msgSend(_13,"modifierFlags")&CPShiftKeyMask; +if(!_14){ +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("insertTab:")); +}else{ +objj_msgSend(_e,"doCommandBySelector:",sel_getUid("insertBackTab:")); +} +break; +default: +objj_msgSend(_e,"insertText:",objj_msgSend(_13,"characters")); +} +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_15,_16,_17){ +with(_15){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_16,_17); +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_18,_19,_1a){ +with(_18){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_19,_1a); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_1b,_1c,_1d){ +with(_1b){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_1c,_1d); +} +}),new objj_method(sel_getUid("mouseMoved:"),function(_1e,_1f,_20){ +with(_1e){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_1f,_20); +} +}),new objj_method(sel_getUid("mouseEntered:"),function(_21,_22,_23){ +with(_21){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_22,_23); +} +}),new objj_method(sel_getUid("mouseExited:"),function(_24,_25,_26){ +with(_24){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_25,_26); +} +}),new objj_method(sel_getUid("scrollWheel:"),function(_27,_28,_29){ +with(_27){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_28,_29); +} +}),new objj_method(sel_getUid("keyDown:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_2b,_2c); +} +}),new objj_method(sel_getUid("keyUp:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSend(_nextResponder,"performSelector:withObject:",_2e,_2f); +} +}),new objj_method(sel_getUid("performKeyEquivalent:"),function(_30,_31,_32){ +with(_30){ +return NO; +} +}),new objj_method(sel_getUid("insertLineBreak:"),function(_33,_34,_35){ +with(_33){ +objj_msgSend(_33,"insertNewline:",_35); +} +}),new objj_method(sel_getUid("insertNewline:"),function(_36,_37,_38){ +with(_36){ +objj_msgSend(objj_msgSend(_36,"nextResponder"),"insertNewline:",_38); +} +}),new objj_method(sel_getUid("cancel:"),function(_39,_3a,_3b){ +with(_39){ +} +}),new objj_method(sel_getUid("insertTab:"),function(_3c,_3d,_3e){ +with(_3c){ +} +}),new objj_method(sel_getUid("insertBackTab:"),function(_3f,_40,_41){ +with(_3f){ +} +}),new objj_method(sel_getUid("insertText:"),function(_42,_43,_44){ +with(_42){ +} +}),new objj_method(sel_getUid("doCommandBySelector:"),function(_45,_46,_47){ +with(_45){ +if(objj_msgSend(_45,"respondsToSelector:",_47)){ +objj_msgSend(_45,"performSelector:",_47); +}else{ +objj_msgSend(_nextResponder,"doCommandBySelector:",_47); +} +} +}),new objj_method(sel_getUid("tryToPerform:with:"),function(_48,_49,_4a,_4b){ +with(_48){ +if(objj_msgSend(_48,"respondsToSelector:",_4a)){ +objj_msgSend(_48,"performSelector:withObject:",_4a,_4b); +return YES; +} +return objj_msgSend(_nextResponder,"tryToPerform:with:",_4a,_4b); +} +}),new objj_method(sel_getUid("setMenu:"),function(_4c,_4d,_4e){ +with(_4c){ +_menu=_4e; +} +}),new objj_method(sel_getUid("menu"),function(_4f,_50){ +with(_4f){ +return _menu; +} +}),new objj_method(sel_getUid("undoManager"),function(_51,_52){ +with(_51){ +return objj_msgSend(_nextResponder,"performSelector:",_52); +} +}),new objj_method(sel_getUid("noResponderFor:"),function(_53,_54,_55){ +with(_53){ +} +})]); +var _56="CPResponderNextResponderKey"; +var _1=objj_getClass("CPResponder"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPResponder\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_57,_58,_59){ +with(_57){ +_57=objj_msgSendSuper({receiver:_57,super_class:objj_getClass("CPResponder").super_class},"init"); +if(_57){ +_nextResponder=objj_msgSend(_59,"decodeObjectForKey:",_56); +} +return _57; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_5a,_5b,_5c){ +with(_5a){ +if(_nextResponder!==nil){ +objj_msgSend(_5c,"encodeConditionalObject:forKey:",_nextResponder,_56); +} +} +})]); +p;13;CPSavePanel.jt;2744;@STATIC;1.0;I;16;AppKit/CPPanel.jt;2704; +objj_executeFile("AppKit/CPPanel.j",NO); +var _1=objj_allocateClassPair(CPPanel,"CPSavePanel"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_URL"),new objj_ivar("_isExtensionHidden"),new objj_ivar("_canSelectHiddenExtension"),new objj_ivar("_allowsOtherFileTypes"),new objj_ivar("_canCreateDirectories"),new objj_ivar("_allowedFileTypes")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("isExtensionHidden"),function(_3,_4){ +with(_3){ +return _isExtensionHidden; +} +}),new objj_method(sel_getUid("setExtensionHidden:"),function(_5,_6,_7){ +with(_5){ +_isExtensionHidden=_7; +} +}),new objj_method(sel_getUid("canSelectHiddenExtension"),function(_8,_9){ +with(_8){ +return _canSelectHiddenExtension; +} +}),new objj_method(sel_getUid("setCanSelectHiddenExtension:"),function(_a,_b,_c){ +with(_a){ +_canSelectHiddenExtension=_c; +} +}),new objj_method(sel_getUid("allowsOtherFileTypes"),function(_d,_e){ +with(_d){ +return _allowsOtherFileTypes; +} +}),new objj_method(sel_getUid("setAllowsOtherFileTypes:"),function(_f,_10,_11){ +with(_f){ +_allowsOtherFileTypes=_11; +} +}),new objj_method(sel_getUid("canCreateDirectories"),function(_12,_13){ +with(_12){ +return _canCreateDirectories; +} +}),new objj_method(sel_getUid("setCanCreateDirectories:"),function(_14,_15,_16){ +with(_14){ +_canCreateDirectories=_16; +} +}),new objj_method(sel_getUid("allowedFileTypes"),function(_17,_18){ +with(_17){ +return _allowedFileTypes; +} +}),new objj_method(sel_getUid("setAllowedFileTypes:"),function(_19,_1a,_1b){ +with(_19){ +_allowedFileTypes=_1b; +} +}),new objj_method(sel_getUid("init"),function(_1c,_1d){ +with(_1c){ +if(_1c=objj_msgSendSuper({receiver:_1c,super_class:objj_getClass("CPSavePanel").super_class},"init")){ +_canCreateDirectories=YES; +} +return _1c; +} +}),new objj_method(sel_getUid("runModal"),function(_1e,_1f){ +with(_1e){ +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +if(typeof window["cpSavePanel"]==="function"){ +var _20=window.cpSavePanel({isExtensionHidden:_isExtensionHidden,canSelectHiddenExtension:_canSelectHiddenExtension,allowsOtherFileTypes:_allowsOtherFileTypes,canCreateDirectories:_canCreateDirectories,allowedFileTypes:_allowedFileTypes}),_21=_20.button; +_URL=_21?objj_msgSend(CPURL,"URLWithString:",_20.URL):nil; +}else{ +var _22=window.prompt("Document Name:"),_21=_22!==null; +_URL=_21?objj_msgSend(objj_msgSend(_1e,"class"),"proposedFileURLWithDocumentName:",_22):nil; +} +return _21; +} +}),new objj_method(sel_getUid("URL"),function(_23,_24){ +with(_23){ +return _URL; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("savePanel"),function(_25,_26){ +with(_25){ +return objj_msgSend(objj_msgSend(CPSavePanel,"alloc"),"init"); +} +})]); +p;10;CPScreen.jt;421;@STATIC;1.0;I;21;Foundation/CPObject.jt;377; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPScreen"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("visibleFrame"),function(_3,_4){ +with(_3){ +return {origin:{x:window.screen.availLeft,y:window.screen.availTop},size:{width:window.screen.availWidth,height:window.screen.availHeight}}; +} +})]); +p;12;CPScroller.jt;16331;@STATIC;1.0;i;11;CPControl.jt;16295; +objj_executeFile("CPControl.j",YES); +CPScrollerNoPart=0; +CPScrollerDecrementPage=1; +CPScrollerKnob=2; +CPScrollerIncrementPage=3; +CPScrollerDecrementLine=4; +CPScrollerIncrementLine=5; +CPScrollerKnobSlot=6; +CPScrollerIncrementArrow=0; +CPScrollerDecrementArrow=1; +CPNoScrollerParts=0; +CPOnlyScrollerArrows=1; +CPAllScrollerParts=2; +var _1=[CPScrollerKnobSlot,CPScrollerDecrementLine,CPScrollerIncrementLine,CPScrollerKnob],_2={},_3={}; +_2[CPScrollerDecrementLine]="decrement-line"; +_2[CPScrollerIncrementLine]="increment-line"; +_2[CPScrollerKnobSlot]="knob-slot"; +_2[CPScrollerKnob]="knob"; +var _4=objj_allocateClassPair(CPControl,"CPScroller"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_controlSize"),new objj_ivar("_usableParts"),new objj_ivar("_partRects"),new objj_ivar("_isVertical"),new objj_ivar("_knobProportion"),new objj_ivar("_hitPart"),new objj_ivar("_trackingPart"),new objj_ivar("_trackingFloatValue"),new objj_ivar("_trackingStartPoint")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("isVertical"),function(_6,_7){ +with(_6){ +return _isVertical; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_8,_9,_a){ +with(_8){ +_8=objj_msgSendSuper({receiver:_8,super_class:objj_getClass("CPScroller").super_class},"initWithFrame:",_a); +if(_8){ +_controlSize=CPRegularControlSize; +_partRects=[]; +objj_msgSend(_8,"setFloatValue:",0); +objj_msgSend(_8,"setKnobProportion:",1); +_hitPart=CPScrollerNoPart; +objj_msgSend(_8,"_calculateIsVertical"); +} +return _8; +} +}),new objj_method(sel_getUid("setControlSize:"),function(_b,_c,_d){ +with(_b){ +if(_controlSize==_d){ +return; +} +_controlSize=_d; +objj_msgSend(_b,"setNeedsLayout"); +objj_msgSend(_b,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("controlSize"),function(_e,_f){ +with(_e){ +return _controlSize; +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_10,_11,_12){ +with(_10){ +objj_msgSendSuper({receiver:_10,super_class:objj_getClass("CPScroller").super_class},"setObjectValue:",MIN(1,MAX(0,+_12))); +} +}),new objj_method(sel_getUid("setKnobProportion:"),function(_13,_14,_15){ +with(_13){ +_knobProportion=MIN(1,MAX(0.0001,_15)); +objj_msgSend(_13,"setNeedsDisplay:",YES); +objj_msgSend(_13,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("knobProportion"),function(_16,_17){ +with(_16){ +return _knobProportion; +} +}),new objj_method(sel_getUid("currentValueForThemeAttribute:"),function(_18,_19,_1a){ +with(_18){ +var _1b=_themeState; +if(_2[_hitPart]+"-color"!==_1a){ +_1b&=~CPThemeStateHighlighted; +} +return objj_msgSend(_18,"valueForThemeAttribute:inState:",_1a,_1b); +} +}),new objj_method(sel_getUid("rectForPart:"),function(_1c,_1d,_1e){ +with(_1c){ +if(_1e==CPScrollerNoPart){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +return _partRects[_1e]; +} +}),new objj_method(sel_getUid("testPart:"),function(_1f,_20,_21){ +with(_1f){ +_21=objj_msgSend(_1f,"convertPoint:fromView:",_21,nil); +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerKnob),_21)){ +return CPScrollerKnob; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerDecrementPage),_21)){ +return CPScrollerDecrementPage; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerIncrementPage),_21)){ +return CPScrollerIncrementPage; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerDecrementLine),_21)){ +return CPScrollerDecrementLine; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerIncrementLine),_21)){ +return CPScrollerIncrementLine; +} +if(CGRectContainsPoint(objj_msgSend(_1f,"rectForPart:",CPScrollerKnobSlot),_21)){ +return CPScrollerKnobSlot; +} +return CPScrollerNoPart; +} +}),new objj_method(sel_getUid("checkSpaceForParts"),function(_22,_23){ +with(_22){ +var _24=objj_msgSend(_22,"bounds"); +if(_knobProportion===1){ +_usableParts=CPNoScrollerParts; +_partRects[CPScrollerDecrementPage]=CGRectMakeZero(); +_partRects[CPScrollerKnob]=CGRectMakeZero(); +_partRects[CPScrollerIncrementPage]=CGRectMakeZero(); +_partRects[CPScrollerDecrementLine]=CGRectMakeZero(); +_partRects[CPScrollerIncrementLine]=CGRectMakeZero(); +_partRects[CPScrollerKnobSlot]=CGRectMakeCopy(_24); +return; +} +_usableParts=CPAllScrollerParts; +var _25=objj_msgSend(_22,"currentValueForThemeAttribute:","knob-inset"),_26=objj_msgSend(_22,"currentValueForThemeAttribute:","track-inset"),_27=(_24.size.width),_28=(_24.size.height); +if(objj_msgSend(_22,"isVertical")){ +var _29=objj_msgSend(_22,"currentValueForThemeAttribute:","decrement-line-size"),_2a=objj_msgSend(_22,"currentValueForThemeAttribute:","increment-line-size"),_2b=_29.height+_26.top,_2c=_2a.height+_26.bottom,_2d=_28-_2b-_2c,_2e=objj_msgSend(_22,"currentValueForThemeAttribute:","minimum-knob-length"),_2f=_27-_25.left-_25.right,_30=MAX(_2e,(_2d*_knobProportion)),_31=_2b+(_2d-_30)*objj_msgSend(_22,"floatValue"); +_partRects[CPScrollerDecrementPage]={origin:{x:0,y:_2b},size:{width:_27,height:_31-_2b}}; +_partRects[CPScrollerKnob]={origin:{x:_25.left,y:_31},size:{width:_2f,height:_30}}; +_partRects[CPScrollerIncrementPage]={origin:{x:0,y:_31+_30},size:{width:_27,height:_28-(_31+_30)-_2c}}; +_partRects[CPScrollerKnobSlot]={origin:{x:_26.left,y:_2b},size:{width:_27-_26.left-_26.right,height:_2d}}; +_partRects[CPScrollerDecrementLine]={origin:{x:0,y:0},size:{width:_29.width,height:_29.height}}; +_partRects[CPScrollerIncrementLine]={origin:{x:0,y:_28-_2a.height},size:{width:_2a.width,height:_2a.height}}; +if(_28<_30+_29.height+_2a.height+_26.top+_26.bottom){ +_partRects[CPScrollerKnob]={origin:{x:0,y:0},size:{width:0,height:0}}; +} +if(_28<_29.height+_2a.height-2){ +_partRects[CPScrollerIncrementLine]={origin:{x:0,y:0},size:{width:0,height:0}}; +_partRects[CPScrollerDecrementLine]={origin:{x:0,y:0},size:{width:0,height:0}}; +_partRects[CPScrollerKnobSlot]={origin:{x:_26.left,y:0},size:{width:_27-_26.left-_26.right,height:_28}}; +} +}else{ +var _29=objj_msgSend(_22,"currentValueForThemeAttribute:","decrement-line-size"),_2a=objj_msgSend(_22,"currentValueForThemeAttribute:","increment-line-size"),_32=_29.width+_26.left,_33=_2a.width+_26.right; +slotWidth=_27-_32-_33,_2e=objj_msgSend(_22,"currentValueForThemeAttribute:","minimum-knob-length"),_2f=MAX(_2e,(slotWidth*_knobProportion)),_30=_28-_25.top-_25.bottom,_31=_32+(slotWidth-_2f)*objj_msgSend(_22,"floatValue"); +_partRects[CPScrollerDecrementPage]={origin:{x:_32,y:0},size:{width:_31-_32,height:_28}}; +_partRects[CPScrollerKnob]={origin:{x:_31,y:_25.top},size:{width:_2f,height:_30}}; +_partRects[CPScrollerIncrementPage]={origin:{x:_31+_2f,y:0},size:{width:_27-(_31+_2f)-_33,height:_28}}; +_partRects[CPScrollerKnobSlot]={origin:{x:_32,y:_26.top},size:{width:slotWidth,height:_28-_26.top-_26.bottom}}; +_partRects[CPScrollerDecrementLine]={origin:{x:0,y:0},size:{width:_29.width,height:_29.height}}; +_partRects[CPScrollerIncrementLine]={origin:{x:_27-_2a.width,y:0},size:{width:_2a.width,height:_2a.height}}; +if(_27<_2f+_29.width+_2a.width+_26.left+_26.right){ +_partRects[CPScrollerKnob]={origin:{x:0,y:0},size:{width:0,height:0}}; +} +if(_27<_29.width+_2a.width-2){ +_partRects[CPScrollerIncrementLine]={origin:{x:0,y:0},size:{width:0,height:0}}; +_partRects[CPScrollerDecrementLine]={origin:{x:0,y:0},size:{width:0,height:0}}; +_partRects[CPScrollerKnobSlot]={origin:{x:0,y:0},size:{width:_27,height:_2d}}; +} +} +} +}),new objj_method(sel_getUid("usableParts"),function(_34,_35){ +with(_34){ +return _usableParts; +} +}),new objj_method(sel_getUid("drawArrow:highlight:"),function(_36,_37,_38,_39){ +with(_36){ +} +}),new objj_method(sel_getUid("drawKnob"),function(_3a,_3b){ +with(_3a){ +} +}),new objj_method(sel_getUid("drawKnobSlot"),function(_3c,_3d){ +with(_3c){ +} +}),new objj_method(sel_getUid("createViewForPart:"),function(_3e,_3f,_40){ +with(_3e){ +var _41=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_41,"setHitTests:",NO); +return _41; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_42,_43,_44){ +with(_42){ +return _partRects[_44]; +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_45,_46,_47){ +with(_45){ +var _48=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_48,"setHitTests:",NO); +return _48; +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_49,_4a){ +with(_49){ +objj_msgSend(_49,"checkSpaceForParts"); +var _4b=0,_4c=_1.length; +for(;_4b<_4c;++_4b){ +var _4d=_1[_4b]; +if(_4b===0){ +view=objj_msgSend(_49,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:",_4d,CPWindowBelow,_1[_4b+1]); +}else{ +view=objj_msgSend(_49,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:",_4d,CPWindowAbove,_1[_4b-1]); +} +if(view){ +objj_msgSend(view,"setBackgroundColor:",objj_msgSend(_49,"currentValueForThemeAttribute:",_2[_4d]+"-color")); +} +} +} +}),new objj_method(sel_getUid("drawParts"),function(_4e,_4f){ +with(_4e){ +objj_msgSend(_4e,"drawKnobSlot"); +objj_msgSend(_4e,"drawKnob"); +objj_msgSend(_4e,"drawArrow:highlight:",CPScrollerDecrementArrow,NO); +objj_msgSend(_4e,"drawArrow:highlight:",CPScrollerIncrementArrow,NO); +} +}),new objj_method(sel_getUid("hitPart"),function(_50,_51){ +with(_50){ +return _hitPart; +} +}),new objj_method(sel_getUid("trackKnob:"),function(_52,_53,_54){ +with(_52){ +var _55=objj_msgSend(_54,"type"); +if(_55===CPLeftMouseUp){ +_hitPart=CPScrollerNoPart; +return; +} +if(_55===CPLeftMouseDown){ +_trackingFloatValue=objj_msgSend(_52,"floatValue"); +_trackingStartPoint=objj_msgSend(_52,"convertPoint:fromView:",objj_msgSend(_54,"locationInWindow"),nil); +}else{ +if(_55===CPLeftMouseDragged){ +var _56=objj_msgSend(_52,"rectForPart:",CPScrollerKnob),_57=objj_msgSend(_52,"rectForPart:",CPScrollerKnobSlot),_58=!objj_msgSend(_52,"isVertical")?((_57.size.width)-(_56.size.width)):((_57.size.height)-(_56.size.height)); +if(_58<=0){ +objj_msgSend(_52,"setFloatValue:",0); +}else{ +var _59=objj_msgSend(_52,"convertPoint:fromView:",objj_msgSend(_54,"locationInWindow"),nil); +delta=!objj_msgSend(_52,"isVertical")?_59.x-_trackingStartPoint.x:_59.y-_trackingStartPoint.y; +objj_msgSend(_52,"setFloatValue:",_trackingFloatValue+delta/_58); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_52,sel_getUid("trackKnob:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +objj_msgSend(_52,"sendAction:to:",objj_msgSend(_52,"action"),objj_msgSend(_52,"target")); +} +}),new objj_method(sel_getUid("trackScrollButtons:"),function(_5a,_5b,_5c){ +with(_5a){ +var _5d=objj_msgSend(_5c,"type"); +if(_5d===CPLeftMouseUp){ +objj_msgSend(_5a,"highlight:",NO); +objj_msgSend(CPEvent,"stopPeriodicEvents"); +_hitPart=CPScrollerNoPart; +return; +} +if(_5d===CPLeftMouseDown){ +_trackingPart=objj_msgSend(_5a,"hitPart"); +_trackingStartPoint=objj_msgSend(_5a,"convertPoint:fromView:",objj_msgSend(_5c,"locationInWindow"),nil); +if(objj_msgSend(_5c,"modifierFlags")&CPAlternateKeyMask){ +if(_trackingPart==CPScrollerDecrementLine){ +_hitPart=CPScrollerDecrementPage; +}else{ +if(_trackingPart==CPScrollerIncrementLine){ +_hitPart=CPScrollerIncrementPage; +}else{ +if(_trackingPart==CPScrollerDecrementPage||_trackingPart==CPScrollerIncrementPage){ +var _5e=objj_msgSend(_5a,"rectForPart:",CPScrollerKnob),_5f=!objj_msgSend(_5a,"isVertical")?(_5e.size.width):(_5e.size.height),_60=objj_msgSend(_5a,"rectForPart:",CPScrollerKnobSlot),_61=(!objj_msgSend(_5a,"isVertical")?(_60.size.width):(_60.size.height))-_5f; +objj_msgSend(_5a,"setFloatValue:",((!objj_msgSend(_5a,"isVertical")?_trackingStartPoint.x-(_60.origin.x):_trackingStartPoint.y-(_60.origin.y))-_5f/2)/_61); +_hitPart=CPScrollerKnob; +objj_msgSend(_5a,"sendAction:to:",objj_msgSend(_5a,"action"),objj_msgSend(_5a,"target")); +return objj_msgSend(_5a,"trackKnob:",_5c); +} +} +} +} +objj_msgSend(_5a,"highlight:",YES); +objj_msgSend(_5a,"sendAction:to:",objj_msgSend(_5a,"action"),objj_msgSend(_5a,"target")); +objj_msgSend(CPEvent,"startPeriodicEventsAfterDelay:withPeriod:",0.5,0.04); +}else{ +if(_5d===CPLeftMouseDragged){ +_trackingStartPoint=objj_msgSend(_5a,"convertPoint:fromView:",objj_msgSend(_5c,"locationInWindow"),nil); +if(_trackingPart==CPScrollerDecrementPage||_trackingPart==CPScrollerIncrementPage){ +var _62=objj_msgSend(_5a,"testPart:",objj_msgSend(_5c,"locationInWindow")); +if(_62==CPScrollerDecrementPage||_62==CPScrollerIncrementPage){ +_trackingPart=_62; +_hitPart=_62; +} +} +objj_msgSend(_5a,"highlight:",CGRectContainsPoint(objj_msgSend(_5a,"rectForPart:",_trackingPart),_trackingStartPoint)); +}else{ +if(_5d==CPPeriodic&&CGRectContainsPoint(objj_msgSend(_5a,"rectForPart:",_trackingPart),_trackingStartPoint)){ +objj_msgSend(_5a,"sendAction:to:",objj_msgSend(_5a,"action"),objj_msgSend(_5a,"target")); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_5a,sel_getUid("trackScrollButtons:"),CPPeriodicMask|CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("_calculateIsVertical"),function(_63,_64){ +with(_63){ +var _65=objj_msgSend(_63,"bounds"),_66=(_65.size.width),_67=(_65.size.height); +_isVertical=_66<_67?1:(_66>_67?0:-1); +if(_isVertical===1){ +objj_msgSend(_63,"setThemeState:",CPThemeStateVertical); +}else{ +if(_isVertical===0){ +objj_msgSend(_63,"unsetThemeState:",CPThemeStateVertical); +} +} +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_68,_69,_6a){ +with(_68){ +objj_msgSendSuper({receiver:_68,super_class:objj_getClass("CPScroller").super_class},"setFrameSize:",_6a); +objj_msgSend(_68,"checkSpaceForParts"); +objj_msgSend(_68,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_6b,_6c,_6d){ +with(_6b){ +if(!objj_msgSend(_6b,"isEnabled")){ +return; +} +_hitPart=objj_msgSend(_6b,"testPart:",objj_msgSend(_6d,"locationInWindow")); +switch(_hitPart){ +case CPScrollerKnob: +return objj_msgSend(_6b,"trackKnob:",_6d); +case CPScrollerDecrementLine: +case CPScrollerIncrementLine: +case CPScrollerDecrementPage: +case CPScrollerIncrementPage: +return objj_msgSend(_6b,"trackScrollButtons:",_6d); +} +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("themeClass"),function(_6e,_6f){ +with(_6e){ +return "scroller"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_70,_71){ +with(_70){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),{width:0,height:0},{width:0,height:0},{top:(0),right:(0),bottom:(0),left:(0)},{top:(0),right:(0),bottom:(0),left:(0)},{width:0,height:0}],["knob-slot-color","decrement-line-color","increment-line-color","knob-color","decrement-line-size","increment-line-size","track-inset","knob-inset","minimum-knob-length"]); +} +}),new objj_method(sel_getUid("scrollerWidth"),function(_72,_73){ +with(_72){ +return 15; +} +}),new objj_method(sel_getUid("scrollerWidthForControlSize:"),function(_74,_75,_76){ +with(_74){ +return 15; +} +})]); +var _77="CPScrollerControlSize",_78="CPScrollerKnobProportion"; +var _4=objj_getClass("CPScroller"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"CPScroller\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("initWithCoder:"),function(_79,_7a,_7b){ +with(_79){ +if(_79=objj_msgSendSuper({receiver:_79,super_class:objj_getClass("CPScroller").super_class},"initWithCoder:",_7b)){ +_controlSize=CPRegularControlSize; +if(objj_msgSend(_7b,"containsValueForKey:",_77)){ +_controlSize=objj_msgSend(_7b,"decodeIntForKey:",_77); +} +_knobProportion=1; +if(objj_msgSend(_7b,"containsValueForKey:",_78)){ +_knobProportion=objj_msgSend(_7b,"decodeFloatForKey:",_78); +} +_partRects=[]; +_hitPart=CPScrollerNoPart; +objj_msgSend(_79,"_calculateIsVertical"); +} +return _79; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_7c,_7d,_7e){ +with(_7c){ +objj_msgSendSuper({receiver:_7c,super_class:objj_getClass("CPScroller").super_class},"encodeWithCoder:",_7e); +objj_msgSend(_7e,"encodeInt:forKey:",_controlSize,_77); +objj_msgSend(_7e,"encodeFloat:forKey:",_knobProportion,_78); +} +})]); +var _4=objj_getClass("CPScroller"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"CPScroller\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("setFloatValue:knobProportion:"),function(_7f,_80,_81,_82){ +with(_7f){ +objj_msgSend(_7f,"setFloatValue:",_81); +objj_msgSend(_7f,"setKnobProportion:",_82); +} +})]); +p;14;CPScrollView.jt;18459;@STATIC;1.0;i;8;CPView.ji;12;CPClipView.ji;12;CPScroller.jt;18393; +objj_executeFile("CPView.j",YES); +objj_executeFile("CPClipView.j",YES); +objj_executeFile("CPScroller.j",YES); +var _1=objj_allocateClassPair(CPView,"CPScrollView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_contentView"),new objj_ivar("_headerClipView"),new objj_ivar("_cornerView"),new objj_ivar("_hasVerticalScroller"),new objj_ivar("_hasHorizontalScroller"),new objj_ivar("_autohidesScrollers"),new objj_ivar("_verticalScroller"),new objj_ivar("_horizontalScroller"),new objj_ivar("_recursionCount"),new objj_ivar("_verticalLineScroll"),new objj_ivar("_verticalPageScroll"),new objj_ivar("_horizontalLineScroll"),new objj_ivar("_horizontalPageScroll")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPScrollView").super_class},"initWithFrame:",_5); +if(_3){ +_verticalLineScroll=10; +_verticalPageScroll=10; +_horizontalLineScroll=10; +_horizontalPageScroll=10; +_contentView=objj_msgSend(objj_msgSend(CPClipView,"alloc"),"initWithFrame:",objj_msgSend(_3,"bounds")); +objj_msgSend(_3,"addSubview:",_contentView); +_headerClipView=objj_msgSend(objj_msgSend(CPClipView,"alloc"),"init"); +objj_msgSend(_3,"addSubview:",_headerClipView); +objj_msgSend(_3,"setHasVerticalScroller:",YES); +objj_msgSend(_3,"setHasHorizontalScroller:",YES); +} +return _3; +} +}),new objj_method(sel_getUid("contentSize"),function(_6,_7){ +with(_6){ +return objj_msgSend(_contentView,"frame").size; +} +}),new objj_method(sel_getUid("documentView"),function(_8,_9){ +with(_8){ +return objj_msgSend(_contentView,"documentView"); +} +}),new objj_method(sel_getUid("setContentView:"),function(_a,_b,_c){ +with(_a){ +if(_contentView!==_c||!_c){ +return; +} +var _d=objj_msgSend(_c,"documentView"); +if(_d){ +objj_msgSend(_d,"removeFromSuperview"); +} +objj_msgSend(_contentView,"removeFromSuperview"); +_contentView=_c; +objj_msgSend(_contentView,"setDocumentView:",_d); +objj_msgSend(_a,"addSubview:",_contentView); +objj_msgSend(_a,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("contentView"),function(_e,_f){ +with(_e){ +return _contentView; +} +}),new objj_method(sel_getUid("setDocumentView:"),function(_10,_11,_12){ +with(_10){ +objj_msgSend(_contentView,"setDocumentView:",_12); +objj_msgSend(_10,"_updateCornerAndHeaderView"); +objj_msgSend(_10,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("reflectScrolledClipView:"),function(_13,_14,_15){ +with(_13){ +if(_contentView!==_15){ +return; +} +if(_recursionCount>5){ +return; +} +++_recursionCount; +var _16=objj_msgSend(_13,"documentView"); +if(!_16){ +if(_autohidesScrollers){ +objj_msgSend(_verticalScroller,"setHidden:",YES); +objj_msgSend(_horizontalScroller,"setHidden:",YES); +}else{ +} +objj_msgSend(_contentView,"setFrame:",objj_msgSend(_13,"bounds")); +objj_msgSend(_headerClipView,"setFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +--_recursionCount; +return; +} +var _17=objj_msgSend(_16,"frame"),_18=objj_msgSend(_13,"bounds"),_19=objj_msgSend(_13,"_headerClipViewFrame"),_1a=(_19.size.height); +_18.origin.y+=_1a; +_18.size.height-=_1a; +var _1b={width:(_17.size.width)-(_18.size.width),height:(_17.size.height)-(_18.size.height)},_1c=(objj_msgSend(_verticalScroller,"frame").size.width),_1d=(objj_msgSend(_horizontalScroller,"frame").size.height),_1e=_1b.height>0,_1f=_1b.width>0,_20=_hasVerticalScroller&&(!_autohidesScrollers||_1e),_21=_hasHorizontalScroller&&(!_autohidesScrollers||_1f); +if(_20){ +_1b.width+=_1c; +_1f=_1b.width>0; +_21=_hasHorizontalScroller&&(!_autohidesScrollers||_1f); +} +if(_21){ +_1b.height+=_1d; +_1e=_1b.height>0; +_20=_hasVerticalScroller&&(!_autohidesScrollers||_1e); +} +objj_msgSend(_verticalScroller,"setHidden:",!_20); +objj_msgSend(_verticalScroller,"setEnabled:",_1e); +objj_msgSend(_horizontalScroller,"setHidden:",!_21); +objj_msgSend(_horizontalScroller,"setEnabled:",_1f); +if(_20){ +_18.size.width-=_1c; +} +if(_21){ +_18.size.height-=_1d; +} +var _22=objj_msgSend(_contentView,"bounds").origin,_23=!objj_msgSend(_verticalScroller,"isHidden"),_24=!objj_msgSend(_horizontalScroller,"isHidden"); +if(_20){ +var _25=MAX((objj_msgSend(_13,"_cornerViewFrame").size.height),_1a),_26=(objj_msgSend(_13,"bounds").size.height)-_25; +if(_21){ +_26-=_1d; +} +objj_msgSend(_verticalScroller,"setFloatValue:",(_1b.height<=0)?0:_22.y/_1b.height); +objj_msgSend(_verticalScroller,"setKnobProportion:",(_18.size.height)/(_17.size.height)); +objj_msgSend(_verticalScroller,"setFrame:",{origin:{x:(_18.origin.x+_18.size.width),y:_25},size:{width:_1c,height:_26}}); +}else{ +if(_23){ +objj_msgSend(_verticalScroller,"setFloatValue:",0); +objj_msgSend(_verticalScroller,"setKnobProportion:",1); +} +} +if(_21){ +objj_msgSend(_horizontalScroller,"setFloatValue:",(_1b.width<=0)?0:_22.x/_1b.width); +objj_msgSend(_horizontalScroller,"setKnobProportion:",(_18.size.width)/(_17.size.width)); +objj_msgSend(_horizontalScroller,"setFrame:",{origin:{x:0,y:(_18.origin.y+_18.size.height)},size:{width:(_18.size.width),height:_1d}}); +}else{ +if(_24){ +objj_msgSend(_horizontalScroller,"setFloatValue:",0); +objj_msgSend(_horizontalScroller,"setKnobProportion:",1); +} +} +objj_msgSend(_contentView,"setFrame:",_18); +objj_msgSend(_headerClipView,"setFrame:",_19); +objj_msgSend(_cornerView,"setFrame:",objj_msgSend(_13,"_cornerViewFrame")); +--_recursionCount; +} +}),new objj_method(sel_getUid("setHorizontalScroller:"),function(_27,_28,_29){ +with(_27){ +if(_horizontalScroller===_29){ +return; +} +objj_msgSend(_horizontalScroller,"removeFromSuperview"); +objj_msgSend(_horizontalScroller,"setTarget:",nil); +objj_msgSend(_horizontalScroller,"setAction:",nil); +_horizontalScroller=_29; +objj_msgSend(_horizontalScroller,"setTarget:",_27); +objj_msgSend(_horizontalScroller,"setAction:",sel_getUid("_horizontalScrollerDidScroll:")); +objj_msgSend(_27,"addSubview:",_horizontalScroller); +objj_msgSend(_27,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("horizontalScroller"),function(_2a,_2b){ +with(_2a){ +return _horizontalScroller; +} +}),new objj_method(sel_getUid("setHasHorizontalScroller:"),function(_2c,_2d,_2e){ +with(_2c){ +if(_hasHorizontalScroller===_2e){ +return; +} +_hasHorizontalScroller=_2e; +if(_hasHorizontalScroller&&!_horizontalScroller){ +objj_msgSend(_2c,"setHorizontalScroller:",objj_msgSend(objj_msgSend(CPScroller,"alloc"),"initWithFrame:",CGRectMake(0,0,MAX((objj_msgSend(_2c,"bounds").size.width),objj_msgSend(CPScroller,"scrollerWidth")+1),objj_msgSend(CPScroller,"scrollerWidth")))); +objj_msgSend(objj_msgSend(_2c,"horizontalScroller"),"setFrameSize:",CGSizeMake((objj_msgSend(_2c,"bounds").size.width),objj_msgSend(CPScroller,"scrollerWidth"))); +} +objj_msgSend(_2c,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("hasHorizontalScroller"),function(_2f,_30){ +with(_2f){ +return _hasHorizontalScroller; +} +}),new objj_method(sel_getUid("setVerticalScroller:"),function(_31,_32,_33){ +with(_31){ +if(_verticalScroller===_33){ +return; +} +objj_msgSend(_verticalScroller,"removeFromSuperview"); +objj_msgSend(_verticalScroller,"setTarget:",nil); +objj_msgSend(_verticalScroller,"setAction:",nil); +_verticalScroller=_33; +objj_msgSend(_verticalScroller,"setTarget:",_31); +objj_msgSend(_verticalScroller,"setAction:",sel_getUid("_verticalScrollerDidScroll:")); +objj_msgSend(_31,"addSubview:",_verticalScroller); +objj_msgSend(_31,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("verticalScroller"),function(_34,_35){ +with(_34){ +return _verticalScroller; +} +}),new objj_method(sel_getUid("setHasVerticalScroller:"),function(_36,_37,_38){ +with(_36){ +if(_hasVerticalScroller===_38){ +return; +} +_hasVerticalScroller=_38; +if(_hasVerticalScroller&&!_verticalScroller){ +objj_msgSend(_36,"setVerticalScroller:",objj_msgSend(objj_msgSend(CPScroller,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:objj_msgSend(CPScroller,"scrollerWidth"),height:MAX((objj_msgSend(_36,"bounds").size.height),objj_msgSend(CPScroller,"scrollerWidth")+1)}})); +objj_msgSend(objj_msgSend(_36,"verticalScroller"),"setFrameSize:",CGSizeMake(objj_msgSend(CPScroller,"scrollerWidth"),(objj_msgSend(_36,"bounds").size.height))); +} +objj_msgSend(_36,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("hasVerticalScroller"),function(_39,_3a){ +with(_39){ +return _hasVerticalScroller; +} +}),new objj_method(sel_getUid("setAutohidesScrollers:"),function(_3b,_3c,_3d){ +with(_3b){ +if(_autohidesScrollers==_3d){ +return; +} +_autohidesScrollers=_3d; +objj_msgSend(_3b,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("autohidesScrollers"),function(_3e,_3f){ +with(_3e){ +return _autohidesScrollers; +} +}),new objj_method(sel_getUid("_updateCornerAndHeaderView"),function(_40,_41){ +with(_40){ +var _42=objj_msgSend(_40,"documentView"),_43=objj_msgSend(_40,"_headerView"),_44=objj_msgSend(_42,"respondsToSelector:",sel_getUid("headerView"))?objj_msgSend(_42,"headerView"):nil; +if(_43!==_44){ +objj_msgSend(_43,"removeFromSuperview"); +objj_msgSend(_headerClipView,"setDocumentView:",_44); +} +var _45=objj_msgSend(_42,"respondsToSelector:",sel_getUid("cornerView"))?objj_msgSend(_42,"cornerView"):nil; +if(_cornerView!==_45){ +objj_msgSend(_cornerView,"removeFromSuperview"); +_cornerView=_45; +if(_cornerView){ +objj_msgSend(_40,"addSubview:",_cornerView); +} +} +objj_msgSend(_40,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("_headerView"),function(_46,_47){ +with(_46){ +var _48=objj_msgSend(_headerClipView,"subviews"); +return objj_msgSend(_48,"count")?_48[0]:nil; +} +}),new objj_method(sel_getUid("_cornerViewFrame"),function(_49,_4a){ +with(_49){ +if(!_cornerView){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +var _4b=objj_msgSend(_49,"bounds"),_4c=objj_msgSend(_cornerView,"frame"); +_4c.origin.x=(_4b.origin.x+_4b.size.width)-(_4c.size.width); +_4c.origin.y=0; +return _4c; +} +}),new objj_method(sel_getUid("_headerClipViewFrame"),function(_4d,_4e){ +with(_4d){ +var _4f=objj_msgSend(_4d,"_headerView"); +if(!_4f){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +var _50=objj_msgSend(_4d,"bounds"); +_50.size.height=(objj_msgSend(_4f,"frame").size.height); +_50.size.width-=(objj_msgSend(_4d,"_cornerViewFrame").size.width); +return _50; +} +}),new objj_method(sel_getUid("_verticalScrollerDidScroll:"),function(_51,_52,_53){ +with(_51){ +var _54=objj_msgSend(_53,"floatValue"),_55=objj_msgSend(objj_msgSend(_contentView,"documentView"),"frame"); +contentBounds=objj_msgSend(_contentView,"bounds"); +switch(objj_msgSend(_verticalScroller,"hitPart")){ +case CPScrollerDecrementLine: +contentBounds.origin.y-=_verticalLineScroll; +break; +case CPScrollerIncrementLine: +contentBounds.origin.y+=_verticalLineScroll; +break; +case CPScrollerDecrementPage: +contentBounds.origin.y-=(contentBounds.size.height)-_verticalPageScroll; +break; +case CPScrollerIncrementPage: +contentBounds.origin.y+=(contentBounds.size.height)-_verticalPageScroll; +break; +case CPScrollerKnobSlot: +case CPScrollerKnob: +default: +contentBounds.origin.y=ROUND(_54*((_55.size.height)-(contentBounds.size.height))); +} +objj_msgSend(_contentView,"scrollToPoint:",contentBounds.origin); +} +}),new objj_method(sel_getUid("_horizontalScrollerDidScroll:"),function(_56,_57,_58){ +with(_56){ +var _59=objj_msgSend(_58,"floatValue"),_5a=objj_msgSend(objj_msgSend(_56,"documentView"),"frame"),_5b=objj_msgSend(_contentView,"bounds"); +switch(objj_msgSend(_horizontalScroller,"hitPart")){ +case CPScrollerDecrementLine: +_5b.origin.x-=_horizontalLineScroll; +break; +case CPScrollerIncrementLine: +_5b.origin.x+=_horizontalLineScroll; +break; +case CPScrollerDecrementPage: +_5b.origin.x-=(_5b.size.width)-_horizontalPageScroll; +break; +case CPScrollerIncrementPage: +_5b.origin.x+=(_5b.size.width)-_horizontalPageScroll; +break; +case CPScrollerKnobSlot: +case CPScrollerKnob: +default: +_5b.origin.x=ROUND(_59*((_5a.size.width)-(_5b.size.width))); +} +objj_msgSend(_contentView,"scrollToPoint:",_5b.origin); +objj_msgSend(_headerClipView,"scrollToPoint:",CGPointMake(_5b.origin.x,0)); +} +}),new objj_method(sel_getUid("tile"),function(_5c,_5d){ +with(_5c){ +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_5e,_5f,_60){ +with(_5e){ +objj_msgSend(_5e,"reflectScrolledClipView:",_contentView); +} +}),new objj_method(sel_getUid("setLineScroll:"),function(_61,_62,_63){ +with(_61){ +objj_msgSend(_61,"setHorizonalLineScroll:",_63); +objj_msgSend(_61,"setVerticalLineScroll:",_63); +} +}),new objj_method(sel_getUid("lineScroll"),function(_64,_65){ +with(_64){ +return objj_msgSend(_64,"horizontalLineScroll"); +} +}),new objj_method(sel_getUid("setHorizontalLineScroll:"),function(_66,_67,_68){ +with(_66){ +_horizontalLineScroll=_68; +} +}),new objj_method(sel_getUid("horizontalLineScroll"),function(_69,_6a){ +with(_69){ +return _horizontalLineScroll; +} +}),new objj_method(sel_getUid("setVerticalLineScroll:"),function(_6b,_6c,_6d){ +with(_6b){ +_verticalLineScroll=_6d; +} +}),new objj_method(sel_getUid("verticalLineScroll"),function(_6e,_6f){ +with(_6e){ +return _verticalLineScroll; +} +}),new objj_method(sel_getUid("setPageScroll:"),function(_70,_71,_72){ +with(_70){ +objj_msgSend(_70,"setHorizontalPageScroll:",_72); +objj_msgSend(_70,"setVerticalPageScroll:",_72); +} +}),new objj_method(sel_getUid("pageScroll"),function(_73,_74){ +with(_73){ +return objj_msgSend(_73,"horizontalPageScroll"); +} +}),new objj_method(sel_getUid("setHorizontalPageScroll:"),function(_75,_76,_77){ +with(_75){ +_horizontalPageScroll=_77; +} +}),new objj_method(sel_getUid("horizontalPageScroll"),function(_78,_79){ +with(_78){ +return _horizontalPageScroll; +} +}),new objj_method(sel_getUid("setVerticalPageScroll:"),function(_7a,_7b,_7c){ +with(_7a){ +_verticalPageScroll=_7c; +} +}),new objj_method(sel_getUid("verticalPageScroll"),function(_7d,_7e){ +with(_7d){ +return _verticalPageScroll; +} +}),new objj_method(sel_getUid("scrollWheel:"),function(_7f,_80,_81){ +with(_7f){ +var _82=objj_msgSend(objj_msgSend(_7f,"documentView"),"frame"),_83=objj_msgSend(_contentView,"bounds"); +_83.origin.x=ROUND(_83.origin.x+objj_msgSend(_81,"deltaX")*_horizontalLineScroll); +_83.origin.y=ROUND(_83.origin.y+objj_msgSend(_81,"deltaY")*_verticalLineScroll); +objj_msgSend(_contentView,"scrollToPoint:",_83.origin); +objj_msgSend(_headerClipView,"scrollToPoint:",CGPointMake(_83.origin.x,0)); +} +}),new objj_method(sel_getUid("keyDown:"),function(_84,_85,_86){ +with(_84){ +objj_msgSend(_84,"interpretKeyEvents:",[_86]); +} +}),new objj_method(sel_getUid("pageUp:"),function(_87,_88,_89){ +with(_87){ +var _8a=objj_msgSend(_contentView,"bounds"); +objj_msgSend(_87,"moveByOffset:",CGSizeMake(0,-((_8a.size.height)-_verticalPageScroll))); +} +}),new objj_method(sel_getUid("pageDown:"),function(_8b,_8c,_8d){ +with(_8b){ +var _8e=objj_msgSend(_contentView,"bounds"); +objj_msgSend(_8b,"moveByOffset:",CGSizeMake(0,(_8e.size.height)-_verticalPageScroll)); +} +}),new objj_method(sel_getUid("moveLeft:"),function(_8f,_90,_91){ +with(_8f){ +objj_msgSend(_8f,"moveByOffset:",CGSizeMake(-_horizontalLineScroll,0)); +} +}),new objj_method(sel_getUid("moveRight:"),function(_92,_93,_94){ +with(_92){ +objj_msgSend(_92,"moveByOffset:",CGSizeMake(_horizontalLineScroll,0)); +} +}),new objj_method(sel_getUid("moveUp:"),function(_95,_96,_97){ +with(_95){ +objj_msgSend(_95,"moveByOffset:",CGSizeMake(0,-_verticalLineScroll)); +} +}),new objj_method(sel_getUid("moveDown:"),function(_98,_99,_9a){ +with(_98){ +objj_msgSend(_98,"moveByOffset:",CGSizeMake(0,_verticalLineScroll)); +} +}),new objj_method(sel_getUid("moveByOffset:"),function(_9b,_9c,_9d){ +with(_9b){ +var _9e=objj_msgSend(objj_msgSend(_9b,"documentView"),"frame"),_9f=objj_msgSend(_contentView,"bounds"); +_9f.origin.x+=_9d.width; +_9f.origin.y+=_9d.height; +objj_msgSend(_contentView,"scrollToPoint:",_9f.origin); +objj_msgSend(_headerClipView,"scrollToPoint:",CGPointMake(_9f.origin,0)); +} +})]); +var _a0="CPScrollViewContentView",_a1="CPScrollViewHeaderClipViewKey",_a2="CPScrollViewVLineScroll",_a3="CPScrollViewHLineScroll",_a4="CPScrollViewVPageScroll",_a5="CPScrollViewHPageScroll",_a6="CPScrollViewHasVScroller",_a7="CPScrollViewHasHScroller",_a8="CPScrollViewVScroller",_a9="CPScrollViewHScroller",_aa="CPScrollViewAutohidesScroller",_ab="CPScrollViewCornerViewKey"; +var _1=objj_getClass("CPScrollView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPScrollView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_ac,_ad,_ae){ +with(_ac){ +if(_ac=objj_msgSendSuper({receiver:_ac,super_class:objj_getClass("CPScrollView").super_class},"initWithCoder:",_ae)){ +_verticalLineScroll=objj_msgSend(_ae,"decodeFloatForKey:",_a2); +_verticalPageScroll=objj_msgSend(_ae,"decodeFloatForKey:",_a4); +_horizontalLineScroll=objj_msgSend(_ae,"decodeFloatForKey:",_a3); +_horizontalPageScroll=objj_msgSend(_ae,"decodeFloatForKey:",_a5); +_contentView=objj_msgSend(_ae,"decodeObjectForKey:",_a0); +_headerClipView=objj_msgSend(_ae,"decodeObjectForKey:",_a1); +_verticalScroller=objj_msgSend(_ae,"decodeObjectForKey:",_a8); +_horizontalScroller=objj_msgSend(_ae,"decodeObjectForKey:",_a9); +_hasVerticalScroller=objj_msgSend(_ae,"decodeBoolForKey:",_a6); +_hasHorizontalScroller=objj_msgSend(_ae,"decodeBoolForKey:",_a7); +_autohidesScrollers=objj_msgSend(_ae,"decodeBoolForKey:",_aa); +_cornerView=objj_msgSend(_ae,"decodeObjectForKey:",_ab); +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"performSelector:target:argument:order:modes:",sel_getUid("reflectScrolledClipView:"),_ac,_contentView,0,[CPDefaultRunLoopMode]); +} +return _ac; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_af,_b0,_b1){ +with(_af){ +objj_msgSendSuper({receiver:_af,super_class:objj_getClass("CPScrollView").super_class},"encodeWithCoder:",_b1); +objj_msgSend(_b1,"encodeObject:forKey:",_contentView,_a0); +objj_msgSend(_b1,"encodeObject:forKey:",_headerClipView,_a1); +objj_msgSend(_b1,"encodeObject:forKey:",_verticalScroller,_a8); +objj_msgSend(_b1,"encodeObject:forKey:",_horizontalScroller,_a9); +objj_msgSend(_b1,"encodeFloat:forKey:",_verticalLineScroll,_a2); +objj_msgSend(_b1,"encodeFloat:forKey:",_verticalPageScroll,_a4); +objj_msgSend(_b1,"encodeFloat:forKey:",_horizontalLineScroll,_a3); +objj_msgSend(_b1,"encodeFloat:forKey:",_horizontalPageScroll,_a5); +objj_msgSend(_b1,"encodeBool:forKey:",_hasVerticalScroller,_a6); +objj_msgSend(_b1,"encodeBool:forKey:",_hasHorizontalScroller,_a7); +objj_msgSend(_b1,"encodeBool:forKey:",_autohidesScrollers,_aa); +objj_msgSend(_b1,"encodeObject:forKey:",_cornerView,_ab); +} +})]); +p;15;CPSearchField.jt;18710;@STATIC;1.0;i;13;CPTextField.jt;18672; +objj_executeFile("CPTextField.j",YES); +CPSearchFieldRecentsTitleMenuItemTag=1000; +CPSearchFieldRecentsMenuItemTag=1001; +CPSearchFieldClearRecentsMenuItemTag=1002; +CPSearchFieldNoRecentsMenuItemTag=1003; +var _1=nil,_2=nil,_3=nil,_4=nil; +var _5=objj_allocateClassPair(CPTextField,"CPSearchField"),_6=_5.isa; +class_addIvars(_5,[new objj_ivar("_searchButton"),new objj_ivar("_cancelButton"),new objj_ivar("_searchMenuTemplate"),new objj_ivar("_searchMenu"),new objj_ivar("_recentsAutosaveName"),new objj_ivar("_recentSearches"),new objj_ivar("_maximumRecents"),new objj_ivar("_sendsWholeSearchString"),new objj_ivar("_sendsSearchStringImmediately"),new objj_ivar("_partialStringTimer")]); +objj_registerClassPair(_5); +class_addMethods(_5,[new objj_method(sel_getUid("initWithFrame:"),function(_7,_8,_9){ +with(_7){ +if(_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPSearchField").super_class},"initWithFrame:",_9)){ +_recentSearches=objj_msgSend(CPArray,"array"); +_maximumRecents=10; +_sendsWholeSearchString=NO; +_sendsSearchStringImmediately=NO; +_recentsAutosaveName=nil; +objj_msgSend(_7,"_initWithFrame:",_9); +} +return _7; +} +}),new objj_method(sel_getUid("_initWithFrame:"),function(_a,_b,_c){ +with(_a){ +objj_msgSend(_a,"setBezeled:",YES); +objj_msgSend(_a,"setBezelStyle:",CPTextFieldRoundedBezel); +objj_msgSend(_a,"setBordered:",YES); +objj_msgSend(_a,"setEditable:",YES); +objj_msgSend(_a,"setDelegate:",_a); +_cancelButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CPMakeRect(_c.size.width-27,(_c.size.height-22)/2,22,22)); +objj_msgSend(_a,"resetCancelButton"); +objj_msgSend(_cancelButton,"setHidden:",YES); +objj_msgSend(_cancelButton,"setAutoresizingMask:",CPViewMinXMargin); +objj_msgSend(_a,"addSubview:",_cancelButton); +_searchButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CPMakeRect(5,(_c.size.height-25)/2,25,25)); +objj_msgSend(_a,"resetSearchButton"); +objj_msgSend(_a,"addSubview:",_searchButton); +} +}),new objj_method(sel_getUid("setSearchButton:"),function(_d,_e,_f){ +with(_d){ +_searchButton=_f; +} +}),new objj_method(sel_getUid("searchButton"),function(_10,_11){ +with(_10){ +return _searchButton; +} +}),new objj_method(sel_getUid("resetSearchButton"),function(_12,_13){ +with(_12){ +var _14,_15,_16,_17=objj_msgSend(_12,"searchButton"); +if(_searchMenuTemplate===nil){ +_14=_1; +_15=sel_getUid("_sendAction:"); +_16=_12; +}else{ +_14=_2; +_15=sel_getUid("_showMenu:"); +_16=_12; +} +objj_msgSend(_17,"setBordered:",NO); +objj_msgSend(_17,"setImageScaling:",CPScaleToFit); +objj_msgSend(_17,"setImage:",_14); +objj_msgSend(_17,"setAutoresizingMask:",CPViewMaxXMargin); +objj_msgSend(_17,"setTarget:",_16); +objj_msgSend(_17,"setAction:",_15); +} +}),new objj_method(sel_getUid("setCancelButton:"),function(_18,_19,_1a){ +with(_18){ +_cancelButton=_1a; +} +}),new objj_method(sel_getUid("cancelButton"),function(_1b,_1c){ +with(_1b){ +return _cancelButton; +} +}),new objj_method(sel_getUid("resetCancelButton"),function(_1d,_1e){ +with(_1d){ +var _1f=objj_msgSend(_1d,"cancelButton"); +objj_msgSend(_1f,"setBordered:",NO); +objj_msgSend(_1f,"setImageScaling:",CPScaleToFit); +objj_msgSend(_1f,"setImage:",_3); +objj_msgSend(_1f,"setAlternateImage:",_4); +objj_msgSend(_1f,"setAutoresizingMask:",CPViewMinXMargin); +objj_msgSend(_1f,"setTarget:",_1d); +objj_msgSend(_1f,"setAction:",sel_getUid("_searchFieldCancel:")); +} +}),new objj_method(sel_getUid("searchTextRectForBounds:"),function(_20,_21,_22){ +with(_20){ +var _23=0,_24=_22.size.width; +if(_searchButton){ +var _25=objj_msgSend(_searchButton,"frame"); +_23=_25.origin.x+_25.size.width; +} +if(_cancelButton){ +var _26=objj_msgSend(_cancelButton,"frame"); +_24=_26.origin.x-_23; +} +return CPMakeRect(_23,_22.origin.y,_24,_22.size.height); +} +}),new objj_method(sel_getUid("searchButtonRectForBounds:"),function(_27,_28,_29){ +with(_27){ +return objj_msgSend(_searchButton,"frame"); +} +}),new objj_method(sel_getUid("cancelButtonRectForBounds:"),function(_2a,_2b,_2c){ +with(_2a){ +return objj_msgSend(_cancelButton,"frame"); +} +}),new objj_method(sel_getUid("searchMenuTemplate"),function(_2d,_2e){ +with(_2d){ +return _searchMenuTemplate; +} +}),new objj_method(sel_getUid("setSearchMenuTemplate:"),function(_2f,_30,_31){ +with(_2f){ +_searchMenuTemplate=_31; +objj_msgSend(_2f,"resetSearchButton"); +objj_msgSend(_2f,"_loadRecentSearchList"); +objj_msgSend(_2f,"_updateSearchMenu"); +} +}),new objj_method(sel_getUid("sendsWholeSearchString"),function(_32,_33){ +with(_32){ +return _sendsWholeSearchString; +} +}),new objj_method(sel_getUid("setSendsWholeSearchString:"),function(_34,_35,_36){ +with(_34){ +_sendsWholeSearchString=_36; +} +}),new objj_method(sel_getUid("sendsSearchStringImmediately"),function(_37,_38){ +with(_37){ +return _sendsSearchStringImmediately; +} +}),new objj_method(sel_getUid("setSendsSearchStringImmediately:"),function(_39,_3a,_3b){ +with(_39){ +_sendsSearchStringImmediately=_3b; +} +}),new objj_method(sel_getUid("maximumRecents"),function(_3c,_3d){ +with(_3c){ +return _maximumRecents; +} +}),new objj_method(sel_getUid("setMaximumRecents:"),function(_3e,_3f,max){ +with(_3e){ +if(max>254){ +max=254; +}else{ +if(max<0){ +max=10; +} +} +_maximumRecents=max; +} +}),new objj_method(sel_getUid("recentSearches"),function(_40,_41){ +with(_40){ +return _recentSearches; +} +}),new objj_method(sel_getUid("setRecentSearches:"),function(_42,_43,_44){ +with(_42){ +var max=MIN(objj_msgSend(_42,"maximumRecents"),objj_msgSend(_44,"count")),_44=objj_msgSend(_44,"subarrayWithRange:",CPMakeRange(0,max)); +_recentSearches=_44; +objj_msgSend(_42,"_autosaveRecentSearchList"); +} +}),new objj_method(sel_getUid("recentsAutosaveName"),function(_45,_46){ +with(_45){ +return _recentsAutosaveName; +} +}),new objj_method(sel_getUid("setRecentsAutosaveName:"),function(_47,_48,_49){ +with(_47){ +if(_recentsAutosaveName!=nil){ +objj_msgSend(_47,"_deregisterForAutosaveNotification"); +} +_recentsAutosaveName=_49; +if(_recentsAutosaveName!=nil){ +objj_msgSend(_47,"_registerForAutosaveNotification"); +} +} +}),new objj_method(sel_getUid("contentRectForBounds:"),function(_4a,_4b,_4c){ +with(_4a){ +var _4d=objj_msgSendSuper({receiver:_4a,super_class:objj_getClass("CPSearchField").super_class},"contentRectForBounds:",_4c); +return objj_msgSend(_4a,"searchTextRectForBounds:",_4d); +} +}),new objj_method(sel_getUid("menu"),function(_4e,_4f){ +with(_4e){ +return _searchMenu; +} +}),new objj_method(sel_getUid("isOpaque"),function(_50,_51){ +with(_50){ +return objj_msgSendSuper({receiver:_50,super_class:objj_getClass("CPSearchField").super_class},"isOpaque")&&objj_msgSend(_cancelButton,"isOpaque")&&objj_msgSend(_searchButton,"isOpaque"); +} +}),new objj_method(sel_getUid("_updateCancelButtonVisibility"),function(_52,_53){ +with(_52){ +objj_msgSend(_cancelButton,"setHidden:",(objj_msgSend(objj_msgSend(_52,"stringValue"),"length")===0)); +} +}),new objj_method(sel_getUid("controlTextDidChange:"),function(_54,_55,_56){ +with(_54){ +if(!objj_msgSend(_54,"sendsWholeSearchString")){ +if(objj_msgSend(_54,"sendsSearchStringImmediately")){ +objj_msgSend(_54,"_sendPartialString"); +}else{ +objj_msgSend(_partialStringTimer,"invalidate"); +var _57=objj_msgSend(CPSearchField,"_keyboardDelayForPartialSearchString:",objj_msgSend(_54,"stringValue")); +_partialStringTimer=objj_msgSend(CPTimer,"scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:",_57,_54,sel_getUid("_sendPartialString"),nil,NO); +} +} +objj_msgSend(_54,"_updateCancelButtonVisibility"); +} +}),new objj_method(sel_getUid("_sendAction:"),function(_58,_59,_5a){ +with(_58){ +objj_msgSend(_58,"sendAction:to:",objj_msgSend(_58,"action"),objj_msgSend(_58,"target")); +} +}),new objj_method(sel_getUid("sendAction:to:"),function(_5b,_5c,_5d,_5e){ +with(_5b){ +objj_msgSendSuper({receiver:_5b,super_class:objj_getClass("CPSearchField").super_class},"sendAction:to:",_5d,_5e); +objj_msgSend(_partialStringTimer,"invalidate"); +objj_msgSend(_5b,"_addStringToRecentSearches:",objj_msgSend(_5b,"stringValue")); +objj_msgSend(_5b,"_updateCancelButtonVisibility"); +} +}),new objj_method(sel_getUid("_addStringToRecentSearches:"),function(_5f,_60,_61){ +with(_5f){ +if(_61===nil||_61===""||objj_msgSend(_recentSearches,"containsObject:",_61)){ +return; +} +var _62=objj_msgSend(CPMutableArray,"arrayWithArray:",_recentSearches); +objj_msgSend(_62,"addObject:",_61); +objj_msgSend(_5f,"setRecentSearches:",_62); +objj_msgSend(_5f,"_updateSearchMenu"); +} +}),new objj_method(sel_getUid("trackMouse:"),function(_63,_64,_65){ +with(_63){ +var _66,_67,_68=objj_msgSend(_65,"locationInWindow"); +_67=objj_msgSend(_63,"convertPoint:fromView:",_68,nil); +_66=objj_msgSend(_63,"searchButtonRectForBounds:",objj_msgSend(_63,"frame")); +if(CPRectContainsPoint(_66,_67)){ +return objj_msgSend(objj_msgSend(_63,"searchButton"),"trackMouse:",_65); +} +_66=objj_msgSend(_63,"cancelButtonRectForBounds:",objj_msgSend(_63,"frame")); +if(CPRectContainsPoint(_66,_67)){ +return objj_msgSend(objj_msgSend(_63,"cancelButton"),"trackMouse:",_65); +} +return objj_msgSendSuper({receiver:_63,super_class:objj_getClass("CPSearchField").super_class},"trackMouse:",_65); +} +}),new objj_method(sel_getUid("_defaultSearchMenuTemplate"),function(_69,_6a){ +with(_69){ +var _6b,_6c; +_6b=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"init"); +_6c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Recent searches",NULL,""); +objj_msgSend(_6c,"setTag:",CPSearchFieldRecentsTitleMenuItemTag); +objj_msgSend(_6c,"setEnabled:",NO); +objj_msgSend(_6b,"addItem:",_6c); +_6c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Recent search item",sel_getUid("_searchFieldSearch:"),""); +objj_msgSend(_6c,"setTag:",CPSearchFieldRecentsMenuItemTag); +objj_msgSend(_6c,"setTarget:",_69); +objj_msgSend(_6b,"addItem:",_6c); +_6c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","Clear recent searches",sel_getUid("_searchFieldClearRecents:"),""); +objj_msgSend(_6c,"setTag:",CPSearchFieldClearRecentsMenuItemTag); +objj_msgSend(_6c,"setTarget:",_69); +objj_msgSend(_6b,"addItem:",_6c); +_6c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:","No recent searches",NULL,""); +objj_msgSend(_6c,"setTag:",CPSearchFieldNoRecentsMenuItemTag); +objj_msgSend(_6c,"setEnabled:",NO); +objj_msgSend(_6b,"addItem:",_6c); +return _6b; +} +}),new objj_method(sel_getUid("_updateSearchMenu"),function(_6d,_6e){ +with(_6d){ +if(_searchMenuTemplate===nil){ +return; +} +var i,_6f=objj_msgSend(objj_msgSend(CPMenu,"alloc"),"init"),_70=objj_msgSend(_recentSearches,"count"),_71=objj_msgSend(_searchMenuTemplate,"numberOfItems"); +for(i=0;i<_71;i++){ +var _72=objj_msgSend(_searchMenuTemplate,"itemAtIndex:",i),tag=objj_msgSend(_72,"tag"); +if(!(tag===CPSearchFieldRecentsTitleMenuItemTag&&_70===0)&&!(tag===CPSearchFieldClearRecentsMenuItemTag&&_70===0)&&!(tag===CPSearchFieldNoRecentsMenuItemTag&&_70!=0)&&!(tag===CPSearchFieldRecentsMenuItemTag)){ +var _73,_74; +switch(tag){ +case CPSearchFieldRecentsTitleMenuItemTag: +_73=NULL; +_74=NULL; +break; +case CPSearchFieldClearRecentsMenuItemTag: +_73=sel_getUid("_searchFieldClearRecents:"); +_74=_6d; +break; +case CPSearchFieldNoRecentsMenuItemTag: +_73=NULL; +_74=NULL; +break; +default: +_73=objj_msgSend(_72,"action"); +_74=objj_msgSend(_72,"target"); +break; +} +if(tag===CPSearchFieldClearRecentsMenuItemTag||tag===CPSearchFieldRecentsTitleMenuItemTag){ +var _75=objj_msgSend(CPMenuItem,"separatorItem"); +objj_msgSend(_75,"setEnabled:",NO); +objj_msgSend(_6f,"addItem:",_75); +} +var _76=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:",objj_msgSend(_72,"title"),_73,objj_msgSend(_72,"keyEquivalent")); +objj_msgSend(_76,"setTarget:",_74); +objj_msgSend(_76,"setEnabled:",(objj_msgSend(_72,"isEnabled")&&_73!=NULL)); +objj_msgSend(_76,"setTag:",tag); +objj_msgSend(_6f,"addItem:",_76); +}else{ +if(tag===CPSearchFieldRecentsMenuItemTag){ +var j; +for(j=0;j<_70;j++){ +var _77=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:",objj_msgSend(_recentSearches,"objectAtIndex:",j),sel_getUid("_searchFieldSearch:"),objj_msgSend(_72,"keyEquivalent")); +objj_msgSend(_77,"setTarget:",_6d); +objj_msgSend(_6f,"addItem:",_77); +} +} +} +} +_searchMenu=_6f; +} +}),new objj_method(sel_getUid("_showMenu:"),function(_78,_79,_7a){ +with(_78){ +if(_searchMenu===nil||objj_msgSend(_searchMenu,"numberOfItems")===0||!objj_msgSend(_78,"isEnabled")){ +return; +} +var _7b=objj_msgSend(objj_msgSend(_78,"superview"),"convertRect:toView:",objj_msgSend(_78,"frame"),nil),_7c=CPMakePoint(_7b.origin.x+10,_7b.origin.y+_7b.size.height-4); +var _7d=objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPRightMouseDown,_7c,0,objj_msgSend(objj_msgSend(CPApp,"currentEvent"),"timestamp"),objj_msgSend(objj_msgSend(_78,"window"),"windowNumber"),nil,1,1,0); +objj_msgSend(CPMenu,"popUpContextMenu:withEvent:forView:",_searchMenu,_7d,_7a); +} +}),new objj_method(sel_getUid("_sendPartialString"),function(_7e,_7f){ +with(_7e){ +objj_msgSend(objj_msgSend(_7e,"target"),"performSelector:withObject:",objj_msgSend(_7e,"action"),_7e); +} +}),new objj_method(sel_getUid("_searchFieldCancel:"),function(_80,_81,_82){ +with(_80){ +objj_msgSend(_80,"setObjectValue:",""); +objj_msgSend(_80,"_sendPartialString"); +objj_msgSend(_80,"_updateCancelButtonVisibility"); +} +}),new objj_method(sel_getUid("_searchFieldSearch:"),function(_83,_84,_85){ +with(_83){ +var _86=objj_msgSend(_85,"title"); +if(objj_msgSend(_85,"tag")!=CPSearchFieldRecentsMenuItemTag){ +objj_msgSend(_83,"_addStringToRecentSearches:",_86); +} +objj_msgSend(_83,"setObjectValue:",_86); +objj_msgSend(_83,"_sendPartialString"); +objj_msgSend(_83,"_updateCancelButtonVisibility"); +} +}),new objj_method(sel_getUid("_searchFieldClearRecents:"),function(_87,_88,_89){ +with(_87){ +objj_msgSend(_87,"setRecentSearches:",objj_msgSend(CPArray,"array")); +objj_msgSend(_87,"_updateSearchMenu"); +} +}),new objj_method(sel_getUid("_registerForAutosaveNotification"),function(_8a,_8b){ +with(_8a){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_8a,sel_getUid("_updateAutosavedRecents:"),"CPAutosavedRecentsChangedNotification",nil); +} +}),new objj_method(sel_getUid("_deregisterForAutosaveNotification"),function(_8c,_8d){ +with(_8c){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_8c,"CPAutosavedRecentsChangedNotification",nil); +} +}),new objj_method(sel_getUid("_autosaveRecentSearchList"),function(_8e,_8f){ +with(_8e){ +if(_recentsAutosaveName!=nil){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:","CPAutosavedRecentsChangedNotification",_recentsAutosaveName); +} +} +}),new objj_method(sel_getUid("_updateAutosavedRecents:"),function(_90,_91,_92){ +with(_90){ +var _93=objj_msgSend(_90,"recentSearches"),_94=objj_msgSend(_92,"object"),_95=objj_msgSend(objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"infoDictionary"),"objectForKey:","CPBundleName"),_96=objj_msgSend(_95,"lowercaseString")+"."+objj_msgSend(_92,"object"),_97=objj_msgSend(objj_msgSend(CPCookie,"alloc"),"initWithName:",_96),_98=objj_msgSend(_93,"componentsJoinedByString:",","); +objj_msgSend(_97,"setValue:expires:domain:",_98,objj_msgSend(objj_msgSend(CPDate,"alloc"),"initWithTimeIntervalSinceNow:",3600*24*365),(window.location.href.hostname)); +} +}),new objj_method(sel_getUid("_loadRecentSearchList"),function(_99,_9a){ +with(_99){ +var _9b,_9c=objj_msgSend(_99,"recentsAutosaveName"); +if(_9c===nil){ +return; +} +var _9d=objj_msgSend(objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"infoDictionary"),"objectForKey:","CPBundleName"),_9e=objj_msgSend(_9d,"lowercaseString")+"."+_9c,_9f=objj_msgSend(objj_msgSend(CPCookie,"alloc"),"initWithName:",_9e); +if(_9f!=nil){ +var _a0=objj_msgSend(_9f,"value"); +_9b=(_a0!="")?objj_msgSend(_a0,"componentsSeparatedByString:",","):objj_msgSend(CPArray,"array"); +_recentSearches=_9b; +} +} +})]); +class_addMethods(_6,[new objj_method(sel_getUid("initialize"),function(_a1,_a2){ +with(_a1){ +if(_a1!=objj_msgSend(CPSearchField,"class")){ +return; +} +var _a3=objj_msgSend(CPBundle,"bundleForClass:",_a1); +_1=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(_a3,"pathForResource:","CPSearchField/CPSearchFieldSearch.png")); +_2=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(_a3,"pathForResource:","CPSearchField/CPSearchFieldFind.png")); +_3=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(_a3,"pathForResource:","CPSearchField/CPSearchFieldCancel.png")); +_4=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:",objj_msgSend(_a3,"pathForResource:","CPSearchField/CPSearchFieldCancelPressed.png")); +} +}),new objj_method(sel_getUid("_keyboardDelayForPartialSearchString:"),function(_a4,_a5,_a6){ +with(_a4){ +return (6-MIN(objj_msgSend(_a6,"length"),4))/10; +} +})]); +var _a7="CPSearchButtonKey",_a8="CPCancelButtonKey",_a9="CPRecentsAutosaveNameKey",_aa="CPSendsWholeSearchStringKey",_ab="CPSendsSearchStringImmediatelyKey",_ac="CPMaximumRecentsKey",_ad="CPSearchMenuTemplateKey"; +var _5=objj_getClass("CPSearchField"); +if(!_5){ +throw new SyntaxError("*** Could not find definition for class \"CPSearchField\""); +} +var _6=_5.isa; +class_addMethods(_5,[new objj_method(sel_getUid("encodeWithCoder:"),function(_ae,_af,_b0){ +with(_ae){ +objj_msgSendSuper({receiver:_ae,super_class:objj_getClass("CPSearchField").super_class},"encodeWithCoder:",_b0); +objj_msgSend(_b0,"encodeObject:forKey:",_searchButton,_a7); +objj_msgSend(_b0,"encodeObject:forKey:",_cancelButton,_a8); +objj_msgSend(_b0,"encodeBool:forKey:",_sendsWholeSearchString,_aa); +objj_msgSend(_b0,"encodeBool:forKey:",_sendsSearchStringImmediately,_ab); +objj_msgSend(_b0,"encodeInt:forKey:",_maximumRecents,_ac); +if(_recentsAutosaveName){ +objj_msgSend(_b0,"encodeObject:forKey:",_recentsAutosaveName,_a9); +} +if(_searchMenuTemplate){ +objj_msgSend(_b0,"encodeObject:forKey:",_searchMenuTemplate,_ad); +} +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_b1,_b2,_b3){ +with(_b1){ +if(_b1=objj_msgSendSuper({receiver:_b1,super_class:objj_getClass("CPSearchField").super_class},"initWithCoder:",_b3)){ +_searchButton=objj_msgSend(_b3,"decodeObjectForKey:",_a7); +_cancelButton=objj_msgSend(_b3,"decodeObjectForKey:",_a8); +_recentsAutosaveName=objj_msgSend(_b3,"decodeObjectForKey:",_a9); +_sendsWholeSearchString=objj_msgSend(_b3,"decodeBoolForKey:",_aa); +_sendsSearchStringImmediately=objj_msgSend(_b3,"decodeBoolForKey:",_ab); +_maximumRecents=objj_msgSend(_b3,"decodeIntForKey:",_ac); +var _b4=objj_msgSend(_b3,"decodeObjectForKey:",_ad); +if(_b4){ +objj_msgSend(_b1,"setSearchMenuTemplate:",_b4); +} +objj_msgSend(_b1,"setDelegate:",_b1); +} +return _b1; +} +})]); +p;19;CPSecureTextField.jt;285;@STATIC;1.0;i;13;CPTextField.jt;249; +objj_executeFile("CPTextField.j",YES); +var _1=objj_allocateClassPair(CPTextField,"CPSecureTextField"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("isSecure"),function(_3,_4){ +with(_3){ +return YES; +} +})]); +p;20;CPSegmentedControl.jt;21022;@STATIC;1.0;I;20;Foundation/CPArray.ji;11;CPControl.jt;20961; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("CPControl.j",YES); +CPSegmentSwitchTrackingSelectOne=0; +CPSegmentSwitchTrackingSelectAny=1; +CPSegmentSwitchTrackingMomentary=2; +var _1=objj_allocateClassPair(CPControl,"CPSegmentedControl"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_segments"),new objj_ivar("_themeStates"),new objj_ivar("_selectedSegment"),new objj_ivar("_segmentStyle"),new objj_ivar("_trackingMode"),new objj_ivar("_trackingSegment"),new objj_ivar("_trackingHighlighted")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_segments=[]; +_themeStates=[]; +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPSegmentedControl").super_class},"initWithFrame:",_5); +if(_3){ +_selectedSegment=-1; +_trackingMode=CPSegmentSwitchTrackingSelectOne; +} +return _3; +} +}),new objj_method(sel_getUid("selectedTag"),function(_6,_7){ +with(_6){ +return _segments[_selectedSegment].tag; +} +}),new objj_method(sel_getUid("setSegmentCount:"),function(_8,_9,_a){ +with(_8){ +if(_segments.length==_a){ +return; +} +var _b=CGRectGetHeight(objj_msgSend(_8,"bounds")); +if(_segments.length<_a){ +for(var _c=_segments.length;_c<_a;++_c){ +_segments[_c]=objj_msgSend(objj_msgSend(_CPSegmentItem,"alloc"),"init"); +_themeStates[_c]=CPThemeStateNormal; +} +}else{ +if(_a<_segments.length){ +_segments.length=_a; +_themeStates.length=_a; +} +} +if(_selectedSegment>=_segments.length){ +_selectedSegment=-1; +} +objj_msgSend(_8,"tileWithChangedSegment:",0); +} +}),new objj_method(sel_getUid("segmentCount"),function(_d,_e){ +with(_d){ +return _segments.length; +} +}),new objj_method(sel_getUid("setSelectedSegment:"),function(_f,_10,_11){ +with(_f){ +objj_msgSend(_f,"setSelected:forSegment:",YES,_11); +} +}),new objj_method(sel_getUid("selectedSegment"),function(_12,_13){ +with(_12){ +return _selectedSegment; +} +}),new objj_method(sel_getUid("selectSegmentWithTag:"),function(_14,_15,_16){ +with(_14){ +var _17=0; +for(;_17<_segments.length;++_17){ +if(_segments[_17].tag==_16){ +objj_msgSend(_14,"setSelectedSegment:",_17); +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("isTracking"),function(_18,_19){ +with(_18){ +} +}),new objj_method(sel_getUid("setTrackingMode:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_trackingMode==_1c){ +return; +} +_trackingMode=_1c; +if(_trackingMode==CPSegmentSwitchTrackingSelectOne){ +var _1d=0,_1e=NO; +for(;_1d<_segments.length;++_1d){ +if(_segments[_1d].selected){ +if(_1e){ +objj_msgSend(_1a,"setSelected:forSegment:",NO,_1d); +}else{ +_1e=YES; +} +} +} +}else{ +if(_trackingMode==CPSegmentSwitchTrackingMomentary){ +var _1d=0; +for(;_1d<_segments.length;++_1d){ +if(_segments[_1d].selected){ +objj_msgSend(_1a,"setSelected:forSegment:",NO,_1d); +} +} +} +} +} +}),new objj_method(sel_getUid("trackingMode"),function(_1f,_20){ +with(_1f){ +return _trackingMode; +} +}),new objj_method(sel_getUid("setWidth:forSegment:"),function(_21,_22,_23,_24){ +with(_21){ +_segments[_24].width=_23; +objj_msgSend(_21,"tileWithChangedSegment:",_24); +} +}),new objj_method(sel_getUid("widthForSegment:"),function(_25,_26,_27){ +with(_25){ +return _segments[_27].width; +} +}),new objj_method(sel_getUid("setImage:forSegment:"),function(_28,_29,_2a,_2b){ +with(_28){ +var _2c=_segments[_2b]; +_2c.image=_2a; +objj_msgSend(_28,"tileWithChangedSegment:",_2b); +} +}),new objj_method(sel_getUid("imageForSegment:"),function(_2d,_2e,_2f){ +with(_2d){ +return _segments[_2f].image; +} +}),new objj_method(sel_getUid("setLabel:forSegment:"),function(_30,_31,_32,_33){ +with(_30){ +var _34=_segments[_33]; +_segments[_33].label=_32; +objj_msgSend(_30,"tileWithChangedSegment:",_33); +} +}),new objj_method(sel_getUid("labelForSegment:"),function(_35,_36,_37){ +with(_35){ +return _segments[_37].label; +} +}),new objj_method(sel_getUid("setMenu:forSegment:"),function(_38,_39,_3a,_3b){ +with(_38){ +_segments[_3b].menu=_3a; +} +}),new objj_method(sel_getUid("menuForSegment:"),function(_3c,_3d,_3e){ +with(_3c){ +return _segments[_3e].menu; +} +}),new objj_method(sel_getUid("setSelected:forSegment:"),function(_3f,_40,_41,_42){ +with(_3f){ +var _43=_segments[_42]; +if(_43.selected==_41){ +return; +} +_43.selected=_41; +_themeStates[_42]=_41?CPThemeStateSelected:CPThemeStateNormal; +if(_41){ +var _44=_selectedSegment; +_selectedSegment=_42; +if(_trackingMode==CPSegmentSwitchTrackingSelectOne&&_44!=_42&&_44!=-1){ +_segments[_44].selected=NO; +_themeStates[_44]=CPThemeStateNormal; +objj_msgSend(_3f,"drawSegmentBezel:highlight:",_44,NO); +} +} +if(_trackingMode!=CPSegmentSwitchTrackingMomentary){ +objj_msgSend(_3f,"drawSegmentBezel:highlight:",_42,NO); +} +objj_msgSend(_3f,"setNeedsLayout"); +objj_msgSend(_3f,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("isSelectedForSegment:"),function(_45,_46,_47){ +with(_45){ +return _segments[_47].selected; +} +}),new objj_method(sel_getUid("setEnabled:forSegment:"),function(_48,_49,_4a,_4b){ +with(_48){ +if(_4a){ +_themeStates[_4b]&=~CPThemeStateDisabled; +}else{ +_themeStates[_4b]|=CPThemeStateDisabled; +} +objj_msgSend(_48,"setNeedsLayout"); +objj_msgSend(_48,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("isEnabledForSegment:"),function(_4c,_4d,_4e){ +with(_4c){ +return !(_themeStates[_4e]&CPThemeStateDisabled); +} +}),new objj_method(sel_getUid("setTag:forSegment:"),function(_4f,_50,_51,_52){ +with(_4f){ +_segments[_52].tag=_51; +} +}),new objj_method(sel_getUid("tagForSegment:"),function(_53,_54,_55){ +with(_53){ +return _segments[_55].tag; +} +}),new objj_method(sel_getUid("drawSegmentBezel:highlight:"),function(_56,_57,_58,_59){ +with(_56){ +if(_59){ +_themeStates[_58]|=CPThemeStateHighlighted; +}else{ +_themeStates[_58]&=~CPThemeStateHighlighted; +} +objj_msgSend(_56,"setNeedsLayout"); +objj_msgSend(_56,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("_leftOffsetForSegment:"),function(_5a,_5b,_5c){ +with(_5a){ +var _5d=objj_msgSend(_5a,"currentValueForThemeAttribute:","bezel-inset"); +if(_5c==0){ +return _5d.left; +} +var _5e=objj_msgSend(_5a,"currentValueForThemeAttribute:","divider-thickness"); +return objj_msgSend(_5a,"_leftOffsetForSegment:",_5c-1)+objj_msgSend(_5a,"widthForSegment:",_5c-1)+_5e; +} +}),new objj_method(sel_getUid("_indexOfLastSegment"),function(_5f,_60){ +with(_5f){ +var _61=objj_msgSend(_segments,"count")-1; +if(_61<0){ +_61=0; +} +return _61; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_62,_63,_64){ +with(_62){ +var _65=objj_msgSend(_62,"currentValueForThemeAttribute:","default-height"),_66=objj_msgSend(_62,"currentValueForThemeAttribute:","content-inset"),_67=objj_msgSend(_62,"currentValueForThemeAttribute:","bezel-inset"),_68=objj_msgSend(_62,"bounds"); +if(_64==="left-segment-bezel"){ +return CGRectMake(_67.left,_67.top,_66.left,_65); +}else{ +if(_64==="right-segment-bezel"){ +return CPRectMake(CGRectGetWidth(objj_msgSend(_62,"bounds"))-_66.right,_67.top,_66.right,_65); +}else{ +if(_64.indexOf("segment-bezel")===0){ +var _69=parseInt(_64.substring("segment-bezel-".length),10),_6a=CGRectCreateCopy(_segments[_69].frame); +if(_69===0){ +_6a.origin.x+=_66.left; +_6a.size.width-=_66.left; +} +if(_69===_segments.length-1){ +_6a.size.width=CGRectGetWidth(objj_msgSend(_62,"bounds"))-_66.right-_6a.origin.x; +} +return _6a; +}else{ +if(_64.indexOf("divider-bezel")===0){ +var _69=parseInt(_64.substring("divider-bezel-".length),10),_6b=objj_msgSend(_62,"widthForSegment:",_69),_6c=objj_msgSend(_62,"_leftOffsetForSegment:",_69),_6d=objj_msgSend(_62,"currentValueForThemeAttribute:","divider-thickness"); +return CGRectMake(_6c+_6b,_67.top,_6d,_65); +}else{ +if(_64.indexOf("segment-content")===0){ +var _69=parseInt(_64.substring("segment-content-".length),10); +return objj_msgSend(_62,"contentFrameForSegment:",_69); +} +} +} +} +} +return objj_msgSendSuper({receiver:_62,super_class:objj_getClass("CPSegmentedControl").super_class},"rectForEphemeralSubviewNamed:",_64); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_6e,_6f,_70){ +with(_6e){ +if(_70.substring(0,"segment-content".length)=="segment-content"){ +return objj_msgSend(objj_msgSend(_CPImageAndTextView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +} +return objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_71,_72){ +with(_71){ +if(_segments.length<=0){ +return; +} +var _73=_themeStates[0]; +_73|=_themeState&CPThemeStateDisabled; +var _74=objj_msgSend(_71,"valueForThemeAttribute:inState:","left-segment-bezel-color",_73); +var _75=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","left-segment-bezel",CPWindowBelow,nil); +objj_msgSend(_75,"setBackgroundColor:",_74); +var _73=_themeStates[_themeStates.length-1]; +_73|=_themeState&CPThemeStateDisabled; +var _76=objj_msgSend(_71,"valueForThemeAttribute:inState:","right-segment-bezel-color",_73); +var _77=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","right-segment-bezel",CPWindowBelow,nil); +objj_msgSend(_77,"setBackgroundColor:",_76); +for(var i=0,_78=_themeStates.length;i<_78;i++){ +var _73=_themeStates[i]; +_73|=_themeState&CPThemeStateDisabled; +var _79=objj_msgSend(_71,"valueForThemeAttribute:inState:","center-segment-bezel-color",_73); +var _7a=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","segment-bezel-"+i,CPWindowBelow,nil); +objj_msgSend(_7a,"setBackgroundColor:",_79); +var _7b=_segments[i]; +var _7c=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","segment-content-"+i,CPWindowAbove,"segment-bezel-"+i); +objj_msgSend(_7c,"setText:",_7b.label); +objj_msgSend(_7c,"setImage:",_7b.image); +objj_msgSend(_7c,"setFont:",objj_msgSend(_71,"valueForThemeAttribute:inState:","font",_73)); +objj_msgSend(_7c,"setTextColor:",objj_msgSend(_71,"valueForThemeAttribute:inState:","text-color",_73)); +objj_msgSend(_7c,"setAlignment:",objj_msgSend(_71,"valueForThemeAttribute:inState:","alignment",_73)); +objj_msgSend(_7c,"setVerticalAlignment:",objj_msgSend(_71,"valueForThemeAttribute:inState:","vertical-alignment",_73)); +objj_msgSend(_7c,"setLineBreakMode:",objj_msgSend(_71,"valueForThemeAttribute:inState:","line-break-mode",_73)); +objj_msgSend(_7c,"setTextShadowColor:",objj_msgSend(_71,"valueForThemeAttribute:inState:","text-shadow-color",_73)); +objj_msgSend(_7c,"setTextShadowOffset:",objj_msgSend(_71,"valueForThemeAttribute:inState:","text-shadow-offset",_73)); +objj_msgSend(_7c,"setImageScaling:",objj_msgSend(_71,"valueForThemeAttribute:inState:","image-scaling",_73)); +if(_7b.image&&_7b.label){ +objj_msgSend(_7c,"setImagePosition:",objj_msgSend(_71,"valueForThemeAttribute:inState:","image-position",_73)); +}else{ +if(_7b.image){ +objj_msgSend(_7c,"setImagePosition:",CPImageOnly); +} +} +if(i==_78-1){ +continue; +} +var _7d=_themeStates[i]|_themeStates[i+1]; +_7d=(_7d&CPThemeStateSelected&~CPThemeStateHighlighted)?CPThemeStateSelected:CPThemeStateNormal; +_7d|=_themeState&CPThemeStateDisabled; +var _7e=objj_msgSend(_71,"valueForThemeAttribute:inState:","divider-bezel-color",_7d); +var _7f=objj_msgSend(_71,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","divider-bezel-"+i,CPWindowBelow,nil); +objj_msgSend(_7f,"setBackgroundColor:",_7e); +} +} +}),new objj_method(sel_getUid("drawSegment:highlight:"),function(_80,_81,_82,_83){ +with(_80){ +} +}),new objj_method(sel_getUid("tileWithChangedSegment:"),function(_84,_85,_86){ +with(_84){ +if(_86>=_segments.length){ +return; +} +var _87=_segments[_86],_88=_87.width,_89=_themeStates[_86]|(_themeState&CPThemeStateDisabled),_8a=objj_msgSend(_84,"valueForThemeAttribute:inState:","content-inset",_89),_8b=objj_msgSend(_84,"valueForThemeAttribute:inState:","font",_89); +if(!_88){ +if(_87.image&&_87.label){ +_88=objj_msgSend(_87.label,"sizeWithFont:",_8b).width+objj_msgSend(_87.image,"size").width+_8a.left+_8a.right; +}else{ +if(_87.image){ +_88=objj_msgSend(_87.image,"size").width+_8a.left+_8a.right; +}else{ +if(_87.label){ +_88=objj_msgSend(_87.label,"sizeWithFont:",_8b).width+_8a.left+_8a.right; +}else{ +_88=0; +} +} +} +} +var _8c=_88-CGRectGetWidth(_87.frame); +if(!_8c){ +return; +} +var _8d=objj_msgSend(_84,"frame"); +objj_msgSend(_84,"setFrameSize:",CGSizeMake(CGRectGetWidth(_8d)+_8c,CGRectGetHeight(_8d))); +_87.width=_88; +_87.frame=objj_msgSend(_84,"frameForSegment:",_86); +var _8e=_86+1; +for(;_8e<_segments.length;++_8e){ +_segments[_8e].frame.origin.x+=_8c; +objj_msgSend(_84,"drawSegmentBezel:highlight:",_8e,NO); +objj_msgSend(_84,"drawSegment:highlight:",_8e,NO); +} +objj_msgSend(_84,"drawSegmentBezel:highlight:",_86,NO); +objj_msgSend(_84,"drawSegment:highlight:",_86,NO); +objj_msgSend(_84,"setNeedsLayout"); +objj_msgSend(_84,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("frameForSegment:"),function(_8f,_90,_91){ +with(_8f){ +return objj_msgSend(_8f,"bezelFrameForSegment:",_91); +} +}),new objj_method(sel_getUid("bezelFrameForSegment:"),function(_92,_93,_94){ +with(_92){ +var _95=objj_msgSend(_92,"currentValueForThemeAttribute:","default-height"),_96=objj_msgSend(_92,"currentValueForThemeAttribute:","bezel-inset"),_97=objj_msgSend(_92,"widthForSegment:",_94),_98=objj_msgSend(_92,"_leftOffsetForSegment:",_94); +return CGRectMake(_98,_96.top,_97,_95); +} +}),new objj_method(sel_getUid("contentFrameForSegment:"),function(_99,_9a,_9b){ +with(_99){ +var _9c=objj_msgSend(_99,"currentValueForThemeAttribute:","default-height"),_9d=objj_msgSend(_99,"currentValueForThemeAttribute:","content-inset"),_9e=objj_msgSend(_99,"widthForSegment:",_9b),_9f=objj_msgSend(_99,"_leftOffsetForSegment:",_9b); +return CGRectMake(_9f+_9d.left,_9d.top,_9e-_9d.left-_9d.right,_9c-_9d.top-_9d.bottom); +} +}),new objj_method(sel_getUid("testSegment:"),function(_a0,_a1,_a2){ +with(_a0){ +var _a3=objj_msgSend(_a0,"convertPoint:fromView:",_a2,nil),_a4=_segments.length; +while(_a4--){ +if(CGRectContainsPoint(_segments[_a4].frame,_a2)){ +return _a4; +} +} +if(_segments.length){ +var _a5=CGRectCreateCopy(_segments[_segments.length-1].frame); +_a5.size.width=CGRectGetWidth(objj_msgSend(_a0,"bounds"))-_a5.origin.x; +if(CGRectContainsPoint(_a5,_a2)){ +return _segments.length-1; +} +} +return -1; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_a6,_a7,_a8){ +with(_a6){ +if(!objj_msgSend(_a6,"isEnabled")){ +return; +} +objj_msgSend(_a6,"trackSegment:",_a8); +} +}),new objj_method(sel_getUid("mouseUp:"),function(_a9,_aa,_ab){ +with(_a9){ +} +}),new objj_method(sel_getUid("trackSegment:"),function(_ac,_ad,_ae){ +with(_ac){ +var _af=objj_msgSend(_ae,"type"),_b0=objj_msgSend(_ac,"convertPoint:fromView:",objj_msgSend(_ae,"locationInWindow"),nil); +if(_af==CPLeftMouseUp){ +if(_trackingSegment==-1){ +return; +} +if(_trackingSegment===objj_msgSend(_ac,"testSegment:",_b0)){ +if(_trackingMode==CPSegmentSwitchTrackingSelectAny){ +objj_msgSend(_ac,"setSelected:forSegment:",!objj_msgSend(_ac,"isSelectedForSegment:",_trackingSegment),_trackingSegment); +_selectedSegment=_trackingSegment; +}else{ +objj_msgSend(_ac,"setSelected:forSegment:",YES,_trackingSegment); +} +objj_msgSend(_ac,"sendAction:to:",objj_msgSend(_ac,"action"),objj_msgSend(_ac,"target")); +if(_trackingMode==CPSegmentSwitchTrackingMomentary){ +objj_msgSend(_ac,"setSelected:forSegment:",NO,_trackingSegment); +_selectedSegment=-1; +} +} +objj_msgSend(_ac,"drawSegmentBezel:highlight:",_trackingSegment,NO); +_trackingSegment=-1; +return; +} +if(_af==CPLeftMouseDown){ +var _b1=objj_msgSend(_ac,"testSegment:",_b0); +if(_b1>-1&&objj_msgSend(_ac,"isEnabledForSegment:",_b1)){ +_trackingHighlighted=YES; +_trackingSegment=_b1; +objj_msgSend(_ac,"drawSegmentBezel:highlight:",_trackingSegment,YES); +} +}else{ +if(_af==CPLeftMouseDragged){ +if(_trackingSegment==-1){ +return; +} +var _b2=objj_msgSend(_ac,"testSegment:",_b0)===_trackingSegment; +if(_b2!=_trackingHighlighted){ +_trackingHighlighted=_b2; +objj_msgSend(_ac,"drawSegmentBezel:highlight:",_trackingSegment,_trackingHighlighted); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_ac,sel_getUid("trackSegment:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("setFont:"),function(_b3,_b4,_b5){ +with(_b3){ +objj_msgSendSuper({receiver:_b3,super_class:objj_getClass("CPSegmentedControl").super_class},"setFont:",_b5); +objj_msgSend(_b3,"tileWithChangedSegment:",0); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("themeClass"),function(_b6,_b7){ +with(_b6){ +return "segmented-control"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_b8,_b9){ +with(_b8){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[CPCenterTextAlignment,CPCenterVerticalTextAlignment,CPImageLeft,CPScaleNone,{top:(0),right:(0),bottom:(0),left:(0)},{top:(0),right:(0),bottom:(0),left:(0)},objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),objj_msgSend(CPNull,"null"),1,24],["alignment","vertical-alignment","image-position","image-scaling","bezel-inset","content-inset","left-segment-bezel-color","right-segment-bezel-color","center-segment-bezel-color","divider-bezel-color","divider-thickness","default-height"]); +} +})]); +var _ba="CPSegmentedControlSegmentsKey",_bb="CPSegmentedControlSelectedKey",_bc="CPSegmentedControlSegmentStyleKey",_bd="CPSegmentedControlTrackingModeKey"; +var _1=objj_getClass("CPSegmentedControl"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPSegmentedControl\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_be,_bf,_c0){ +with(_be){ +_be=objj_msgSendSuper({receiver:_be,super_class:objj_getClass("CPSegmentedControl").super_class},"initWithCoder:",_c0); +if(_be){ +var _c1=objj_msgSend(_be,"frame"),_c2=_c1.size.width; +_c1.size.width=0; +objj_msgSend(_be,"setFrame:",_c1); +_segments=objj_msgSend(_c0,"decodeObjectForKey:",_ba); +_segmentStyle=objj_msgSend(_c0,"decodeIntForKey:",_bc); +_themeStates=[]; +if(objj_msgSend(_c0,"containsValueForKey:",_bb)){ +_selectedSegment=objj_msgSend(_c0,"decodeIntForKey:",_bb); +}else{ +_selectedSegment=-1; +} +if(objj_msgSend(_c0,"containsValueForKey:",_bd)){ +_trackingMode=objj_msgSend(_c0,"decodeIntForKey:",_bd); +}else{ +_trackingMode=CPSegmentSwitchTrackingSelectOne; +} +for(var i=0;i<_segments.length;i++){ +_themeStates[i]=_segments[i].selected?CPThemeStateSelected:CPThemeStateNormal; +objj_msgSend(_be,"tileWithChangedSegment:",i); +} +var _c3=MAX(_c2-objj_msgSend(_be,"frame").size.width,0),_c4=FLOOR(_c3/_segments.length); +for(var i=0;i<_segments.length;i++){ +objj_msgSend(_be,"setWidth:forSegment:",_segments[i].width+_c4,i); +} +objj_msgSend(_be,"tileWithChangedSegment:",0); +} +return _be; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_c5,_c6,_c7){ +with(_c5){ +objj_msgSendSuper({receiver:_c5,super_class:objj_getClass("CPSegmentedControl").super_class},"encodeWithCoder:",_c7); +objj_msgSend(_c7,"encodeObject:forKey:",_segments,_ba); +objj_msgSend(_c7,"encodeInt:forKey:",_selectedSegment,_bb); +objj_msgSend(_c7,"encodeInt:forKey:",_segmentStyle,_bc); +objj_msgSend(_c7,"encodeInt:forKey:",_trackingMode,_bd); +} +})]); +var _1=objj_allocateClassPair(CPObject,"_CPSegmentItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("image"),new objj_ivar("label"),new objj_ivar("menu"),new objj_ivar("selected"),new objj_ivar("enabled"),new objj_ivar("tag"),new objj_ivar("width"),new objj_ivar("frame")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_c8,_c9){ +with(_c8){ +if(_c8=objj_msgSendSuper({receiver:_c8,super_class:objj_getClass("_CPSegmentItem").super_class},"init")){ +image=nil; +label=""; +menu=nil; +selected=NO; +enabled=NO; +tag=0; +width=0; +frame=CGRectMakeZero(); +} +return _c8; +} +})]); +var _ca="CPSegmentItemImageKey",_cb="CPSegmentItemLabelKey",_cc="CPSegmentItemMenuKey",_cd="CPSegmentItemSelectedKey",_ce="CPSegmentItemEnabledKey",_cf="CPSegmentItemTagKey",_d0="CPSegmentItemWidthKey"; +var _1=objj_getClass("_CPSegmentItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPSegmentItem\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_d1,_d2,_d3){ +with(_d1){ +_d1=objj_msgSendSuper({receiver:_d1,super_class:objj_getClass("_CPSegmentItem").super_class},"init"); +if(_d1){ +image=objj_msgSend(_d3,"decodeObjectForKey:",_ca); +label=objj_msgSend(_d3,"decodeObjectForKey:",_cb); +menu=objj_msgSend(_d3,"decodeObjectForKey:",_cc); +selected=objj_msgSend(_d3,"decodeBoolForKey:",_cd); +enabled=objj_msgSend(_d3,"decodeBoolForKey:",_ce); +tag=objj_msgSend(_d3,"decodeIntForKey:",_cf); +width=objj_msgSend(_d3,"decodeFloatForKey:",_d0); +frame=CGRectMakeZero(); +} +return _d1; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_d4,_d5,_d6){ +with(_d4){ +objj_msgSend(_d6,"encodeObject:forKey:",image,_ca); +objj_msgSend(_d6,"encodeObject:forKey:",label,_cb); +objj_msgSend(_d6,"encodeObject:forKey:",menu,_cc); +objj_msgSend(_d6,"encodeBool:forKey:",selected,_cd); +objj_msgSend(_d6,"encodeBool:forKey:",enabled,_ce); +objj_msgSend(_d6,"encodeInt:forKey:",tag,_cf); +objj_msgSend(_d6,"encodeFloat:forKey:",width,_d0); +} +})]); +p;10;CPShadow.jt;1333;@STATIC;1.0;I;21;Foundation/CPObject.jt;1288; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPShadow"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_offset"),new objj_ivar("_blurRadius"),new objj_ivar("_color"),new objj_ivar("_cssString")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("_initWithOffset:blurRadius:color:"),function(_3,_4,_5,_6,_7){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPShadow").super_class},"init"); +if(_3){ +_offset=_5; +_blurRadius=_6; +_color=_7; +_cssString=objj_msgSend(_color,"cssString")+" "+Math.round(_5.width)+"px "+Math.round(_5.height)+"px "+Math.round(_blurRadius)+"px"; +} +return _3; +} +}),new objj_method(sel_getUid("shadowOffset"),function(_8,_9){ +with(_8){ +return _offset; +} +}),new objj_method(sel_getUid("shadowBlurRadius"),function(_a,_b){ +with(_a){ +return _blurRadius; +} +}),new objj_method(sel_getUid("shadowColor"),function(_c,_d){ +with(_c){ +return _color; +} +}),new objj_method(sel_getUid("cssString"),function(_e,_f){ +with(_e){ +return _cssString; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("shadowWithOffset:blurRadius:color:"),function(_10,_11,_12,_13,_14){ +with(_10){ +return objj_msgSend(objj_msgSend(CPShadow,"alloc"),"_initWithOffset:blurRadius:color:",_12,_13,_14); +} +})]); +p;14;CPShadowView.jt;5802;@STATIC;1.0;I;21;Foundation/CPBundle.ji;12;CGGeometry.ji;9;CPImage.ji;13;CPImageView.ji;8;CPView.jt;5697; +objj_executeFile("Foundation/CPBundle.j",NO); +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPImage.j",YES); +objj_executeFile("CPImageView.j",YES); +objj_executeFile("CPView.j",YES); +CPLightShadow=0; +CPHeavyShadow=1; +var _1=nil,_2=nil; +var _3=3,_4=3,_5=3,_6=5,_7=7,_8=7,_9=5,_a=5; +var _b=objj_allocateClassPair(CPView,"CPShadowView"),_c=_b.isa; +class_addIvars(_b,[new objj_ivar("_weight")]); +objj_registerClassPair(_b); +class_addMethods(_b,[new objj_method(sel_getUid("initWithFrame:"),function(_d,_e,_f){ +with(_d){ +_d=objj_msgSendSuper({receiver:_d,super_class:objj_getClass("CPShadowView").super_class},"initWithFrame:",_f); +if(_d){ +_weight=CPLightShadow; +objj_msgSend(_d,"setBackgroundColor:",_1); +objj_msgSend(_d,"setHitTests:",NO); +} +return _d; +} +}),new objj_method(sel_getUid("setWeight:"),function(_10,_11,_12){ +with(_10){ +if(_weight==_12){ +return; +} +_weight=_12; +if(_weight==CPLightShadow){ +objj_msgSend(_10,"setBackgroundColor:",_1); +}else{ +objj_msgSend(_10,"setBackgroundColor:",_2); +} +} +}),new objj_method(sel_getUid("leftInset"),function(_13,_14){ +with(_13){ +return _weight==CPLightShadow?_3:_7; +} +}),new objj_method(sel_getUid("rightInset"),function(_15,_16){ +with(_15){ +return _weight==CPLightShadow?_4:_8; +} +}),new objj_method(sel_getUid("topInset"),function(_17,_18){ +with(_17){ +return _weight==CPLightShadow?_5:_9; +} +}),new objj_method(sel_getUid("bottomInset"),function(_19,_1a){ +with(_19){ +return _weight==CPLightShadow?_6:_a; +} +}),new objj_method(sel_getUid("horizontalInset"),function(_1b,_1c){ +with(_1b){ +if(_weight==CPLightShadow){ +return _3+_4; +} +return _7+_8; +} +}),new objj_method(sel_getUid("verticalInset"),function(_1d,_1e){ +with(_1d){ +if(_weight==CPLightShadow){ +return _5+_6; +} +return _9+_a; +} +}),new objj_method(sel_getUid("frameForContentFrame:"),function(_1f,_20,_21){ +with(_1f){ +return objj_msgSend(objj_msgSend(_1f,"class"),"frameForContentFrame:withWeight:",_21,_weight); +} +}),new objj_method(sel_getUid("setFrameForContentFrame:"),function(_22,_23,_24){ +with(_22){ +objj_msgSend(_22,"setFrame:",objj_msgSend(_22,"frameForContentFrame:",_24)); +} +})]); +class_addMethods(_c,[new objj_method(sel_getUid("initialize"),function(_25,_26){ +with(_25){ +if(_25!=objj_msgSend(CPShadowView,"class")){ +return; +} +var _27=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_25,"class")); +_1=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightTopLeft.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightTop.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightTopRight.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightLeft.png"),CGSizeMake(9,1)),nil,objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightRight.png"),CGSizeMake(9,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightBottomLeft.png"),CGSizeMake(9,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightBottom.png"),CGSizeMake(1,9)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewLightBottomRight.png"),CGSizeMake(9,9))])); +_2=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyTopLeft.png"),CGSizeMake(17,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyTop.png"),CGSizeMake(1,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyTopRight.png"),CGSizeMake(17,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyLeft.png"),CGSizeMake(17,1)),nil,objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyRight.png"),CGSizeMake(17,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyBottomLeft.png"),CGSizeMake(17,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyBottom.png"),CGSizeMake(1,17)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_27,"pathForResource:","CPShadowView/CPShadowViewHeavyBottomRight.png"),CGSizeMake(17,17))])); +} +}),new objj_method(sel_getUid("frameForContentFrame:withWeight:"),function(_28,_29,_2a,_2b){ +with(_28){ +if(_2b==CPLightShadow){ +return CGRectMake((_2a.origin.x)-_3,(_2a.origin.y)-_5,(_2a.size.width)+_3+_4,(_2a.size.height)+_5+_6); +}else{ +return CGRectMake((_2a.origin.x)-_7,(_2a.origin.y)-_9,(_2a.size.width)+_7+_8,(_2a.size.height)+_9+_a); +} +} +})]); +p;10;CPSlider.jt;11397;@STATIC;1.0;i;11;CPControl.jt;11361; +objj_executeFile("CPControl.j",YES); +CPLinearSlider=0; +CPCircularSlider=1; +var _1=objj_allocateClassPair(CPControl,"CPSlider"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_minValue"),new objj_ivar("_maxValue"),new objj_ivar("_altIncrementValue"),new objj_ivar("_isVertical")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPSlider").super_class},"initWithFrame:",_5); +if(_3){ +_minValue=0; +_maxValue=100; +objj_msgSend(_3,"setObjectValue:",50); +objj_msgSend(_3,"setContinuous:",YES); +objj_msgSend(_3,"_recalculateIsVertical"); +} +return _3; +} +}),new objj_method(sel_getUid("setMinValue:"),function(_6,_7,_8){ +with(_6){ +if(_minValue===_8){ +return; +} +_minValue=_8; +var _9=objj_msgSend(_6,"doubleValue"); +if(_9<_minValue){ +objj_msgSend(_6,"setDoubleValue:",_minValue); +} +objj_msgSend(_6,"setNeedsLayout"); +objj_msgSend(_6,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("minValue"),function(_a,_b){ +with(_a){ +return _minValue; +} +}),new objj_method(sel_getUid("setMaxValue:"),function(_c,_d,_e){ +with(_c){ +if(_maxValue===_e){ +return; +} +_maxValue=_e; +var _f=objj_msgSend(_c,"doubleValue"); +if(_f>_maxValue){ +objj_msgSend(_c,"setDoubleValue:",_maxValue); +} +objj_msgSend(_c,"setNeedsLayout"); +objj_msgSend(_c,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("maxValue"),function(_10,_11){ +with(_10){ +return _maxValue; +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_12,_13,_14){ +with(_12){ +objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPSlider").super_class},"setObjectValue:",MIN(MAX(_14,_minValue),_maxValue)); +objj_msgSend(_12,"setNeedsLayout"); +objj_msgSend(_12,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setSliderType:"),function(_15,_16,_17){ +with(_15){ +if(_17===CPCircularSlider){ +objj_msgSend(_15,"setThemeState:",CPThemeStateCircular); +}else{ +objj_msgSend(_15,"unsetThemeState:",CPThemeStateCircular); +} +} +}),new objj_method(sel_getUid("sliderType"),function(_18,_19){ +with(_18){ +return objj_msgSend(_18,"hasThemeState:",CPThemeStateCircular)?CPCircularSlider:CPLinearSlider; +} +}),new objj_method(sel_getUid("trackRectForBounds:"),function(_1a,_1b,_1c){ +with(_1a){ +if(objj_msgSend(_1a,"hasThemeState:",CPThemeStateCircular)){ +var _1d=CGRectCreateCopy(_1c); +_1c.size.width=MIN(_1c.size.width,_1c.size.height); +_1c.size.height=_1c.size.width; +if(_1c.size.width<_1d.size.width){ +_1c.origin.x+=(_1d.size.width-_1c.size.width)/2; +}else{ +_1c.origin.y+=(_1d.size.height-_1c.size.height)/2; +} +}else{ +var _1e=objj_msgSend(_1a,"currentValueForThemeAttribute:","track-width"); +if(_1e<=0){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +if(objj_msgSend(_1a,"isVertical")){ +_1c.origin.x=((_1c.size.width)-_1e)/2; +_1c.size.width=_1e; +}else{ +_1c.origin.y=((_1c.size.height)-_1e)/2; +_1c.size.height=_1e; +} +} +return _1c; +} +}),new objj_method(sel_getUid("knobRectForBounds:"),function(_1f,_20,_21){ +with(_1f){ +var _22=objj_msgSend(_1f,"currentValueForThemeAttribute:","knob-size"); +if(_22.width<=0||_22.height<=0){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +var _23={origin:{x:0,y:0},size:{width:_22.width,height:_22.height}},_24=objj_msgSend(_1f,"trackRectForBounds:",_21); +if(!_24||(_24.size.width<=0||_24.size.height<=0)){ +_24=_21; +} +if(objj_msgSend(_1f,"hasThemeState:",CPThemeStateCircular)){ +var _25=3*PI_2-(1-objj_msgSend(_1f,"doubleValue")-_minValue)/(_maxValue-_minValue)*PI2,_26=CGRectGetWidth(_24)/2-8; +_23.origin.x=_26*COS(_25)+CGRectGetMidX(_24)-3; +_23.origin.y=_26*SIN(_25)+CGRectGetMidY(_24)-2; +}else{ +if(objj_msgSend(_1f,"isVertical")){ +_23.origin.x=(_24.origin.x+(_24.size.width)/2)-_22.width/2; +_23.origin.y=((objj_msgSend(_1f,"doubleValue")-_minValue)/(_maxValue-_minValue))*((_24.size.height)-_22.height); +}else{ +_23.origin.x=((objj_msgSend(_1f,"doubleValue")-_minValue)/(_maxValue-_minValue))*((_24.size.width)-_22.width); +_23.origin.y=(_24.origin.y+(_24.size.height)/2)-_22.height/2; +} +} +return _23; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_27,_28,_29){ +with(_27){ +if(_29==="track-view"){ +return objj_msgSend(_27,"trackRectForBounds:",objj_msgSend(_27,"bounds")); +}else{ +if(_29==="knob-view"){ +return objj_msgSend(_27,"knobRectForBounds:",objj_msgSend(_27,"bounds")); +} +} +return objj_msgSendSuper({receiver:_27,super_class:objj_getClass("CPSlider").super_class},"rectForEphemeralSubviewNamed:",_29); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_2a,_2b,_2c){ +with(_2a){ +if(_2c==="track-view"||_2c==="knob-view"){ +var _2d=objj_msgSend(objj_msgSend(CPView,"alloc"),"init"); +objj_msgSend(_2d,"setHitTests:",NO); +return _2d; +} +return objj_msgSendSuper({receiver:_2a,super_class:objj_getClass("CPSlider").super_class},"createEphemeralSubviewNamed:",_2c); +} +}),new objj_method(sel_getUid("setAltIncrementValue:"),function(_2e,_2f,_30){ +with(_2e){ +_altIncrementValue=_30; +} +}),new objj_method(sel_getUid("altIncrementValue"),function(_31,_32){ +with(_31){ +return _altIncrementValue; +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_33,_34,_35){ +with(_33){ +objj_msgSendSuper({receiver:_33,super_class:objj_getClass("CPSlider").super_class},"setFrameSize:",_35); +objj_msgSend(_33,"_recalculateIsVertical"); +} +}),new objj_method(sel_getUid("_recalculateIsVertical"),function(_36,_37){ +with(_36){ +var _38=objj_msgSend(_36,"bounds"),_39=(_38.size.width),_3a=(_38.size.height); +_isVertical=_39<_3a?1:(_39>_3a?0:-1); +if(_isVertical===1){ +objj_msgSend(_36,"setThemeState:",CPThemeStateVertical); +}else{ +if(_isVertical===0){ +objj_msgSend(_36,"unsetThemeState:",CPThemeStateVertical); +} +} +} +}),new objj_method(sel_getUid("isVertical"),function(_3b,_3c){ +with(_3b){ +return _isVertical; +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_3d,_3e){ +with(_3d){ +var _3f=objj_msgSend(_3d,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","track-view",CPWindowBelow,"knob-view"); +if(_3f){ +objj_msgSend(_3f,"setBackgroundColor:",objj_msgSend(_3d,"currentValueForThemeAttribute:","track-color")); +} +var _40=objj_msgSend(_3d,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","knob-view",CPWindowAbove,"track-view"); +if(_40){ +objj_msgSend(_40,"setBackgroundColor:",objj_msgSend(_3d,"currentValueForThemeAttribute:","knob-color")); +} +} +}),new objj_method(sel_getUid("tracksMouseOutsideOfFrame"),function(_41,_42){ +with(_41){ +return YES; +} +}),new objj_method(sel_getUid("_valueAtPoint:"),function(_43,_44,_45){ +with(_43){ +var _46=objj_msgSend(_43,"bounds"),_47=objj_msgSend(_43,"knobRectForBounds:",_46),_48=objj_msgSend(_43,"trackRectForBounds:",_46); +if(objj_msgSend(_43,"hasThemeState:",CPThemeStateCircular)){ +var _49=(_47.size.width); +_48.origin.x+=_49/2; +_48.size.width-=_49; +var _4a=objj_msgSend(_43,"minValue"),dx=_45.x-(_48.origin.x+(_48.size.width)/2),dy=_45.y-(_48.origin.y+(_48.size.height)/2); +return MAX(0,MIN(1,1-(3*PI_2-ATAN2(dy,dx))%PI2/PI2))*(objj_msgSend(_43,"maxValue")-_4a)+_4a; +}else{ +if(objj_msgSend(_43,"isVertical")){ +var _4b=(_47.size.height); +_48.origin.y+=_4b/2; +_48.size.height-=_4b; +var _4a=objj_msgSend(_43,"minValue"); +return MAX(0,MIN(1,(_45.y-(_48.origin.y))/(_48.size.height)))*(objj_msgSend(_43,"maxValue")-_4a)+_4a; +}else{ +var _49=(_47.size.width); +_48.origin.x+=_49/2; +_48.size.width-=_49; +var _4a=objj_msgSend(_43,"minValue"); +return MAX(0,MIN(1,(_45.x-(_48.origin.x))/(_48.size.width)))*(objj_msgSend(_43,"maxValue")-_4a)+_4a; +} +} +} +}),new objj_method(sel_getUid("startTrackingAt:"),function(_4c,_4d,_4e){ +with(_4c){ +var _4f=objj_msgSend(_4c,"bounds"),_50=objj_msgSend(_4c,"knobRectForBounds:",{origin:{x:_4f.origin.x,y:_4f.origin.y},size:{width:_4f.size.width,height:_4f.size.height}}); +if((_4e.x>=(_50.origin.x)&&_4e.y>=(_50.origin.y)&&_4e.x<(_50.origin.x+_50.size.width)&&_4e.y<(_50.origin.y+_50.size.height))){ +_dragOffset={width:(_50.origin.x+(_50.size.width)/2)-_4e.x,height:(_50.origin.y+(_50.size.height)/2)-_4e.y}; +}else{ +var _51=objj_msgSend(_4c,"trackRectForBounds:",_4f); +if(_51&&(_4e.x>=(_51.origin.x)&&_4e.y>=(_51.origin.y)&&_4e.x<(_51.origin.x+_51.size.width)&&_4e.y<(_51.origin.y+_51.size.height))){ +_dragOffset={width:0,height:0}; +objj_msgSend(_4c,"setObjectValue:",objj_msgSend(_4c,"_valueAtPoint:",_4e)); +}else{ +return NO; +} +} +objj_msgSend(_4c,"setHighlighted:",YES); +objj_msgSend(_4c,"setNeedsLayout"); +objj_msgSend(_4c,"setNeedsDisplay:",YES); +return YES; +} +}),new objj_method(sel_getUid("continueTracking:at:"),function(_52,_53,_54,_55){ +with(_52){ +objj_msgSend(_52,"setObjectValue:",objj_msgSend(_52,"_valueAtPoint:",{x:_55.x+_dragOffset.width,y:_55.y+_dragOffset.height})); +return YES; +} +}),new objj_method(sel_getUid("stopTracking:at:mouseIsUp:"),function(_56,_57,_58,_59,_5a){ +with(_56){ +objj_msgSend(_56,"setHighlighted:",NO); +if(objj_msgSend(_target,"respondsToSelector:",sel_getUid("sliderDidFinish:"))){ +objj_msgSend(_target,"sliderDidFinish:",_56); +} +objj_msgSend(_56,"setNeedsLayout"); +objj_msgSend(_56,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setContinuous:"),function(_5b,_5c,_5d){ +with(_5b){ +if(_5d){ +_sendActionOn|=CPLeftMouseDraggedMask; +}else{ +_sendActionOn&=~CPLeftMouseDraggedMask; +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("themeClass"),function(_5e,_5f){ +with(_5e){ +return "slider"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_60,_61){ +with(_60){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[objj_msgSend(CPNull,"null"),{width:0,height:0},0,objj_msgSend(CPNull,"null")],["knob-color","knob-size","track-width","track-color"]); +} +})]); +var _62="CPSliderMinValueKey",_63="CPSliderMaxValueKey",_64="CPSliderAltIncrValueKey"; +var _1=objj_getClass("CPSlider"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPSlider\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_65,_66,_67){ +with(_65){ +_minValue=objj_msgSend(_67,"decodeDoubleForKey:",_62); +_maxValue=objj_msgSend(_67,"decodeDoubleForKey:",_63); +_65=objj_msgSendSuper({receiver:_65,super_class:objj_getClass("CPSlider").super_class},"initWithCoder:",_67); +if(_65){ +_altIncrementValue=objj_msgSend(_67,"decodeDoubleForKey:",_64); +objj_msgSend(_65,"setContinuous:",YES); +objj_msgSend(_65,"_recalculateIsVertical"); +objj_msgSend(_65,"setNeedsLayout"); +objj_msgSend(_65,"setNeedsDisplay:",YES); +} +return _65; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_68,_69,_6a){ +with(_68){ +objj_msgSendSuper({receiver:_68,super_class:objj_getClass("CPSlider").super_class},"encodeWithCoder:",_6a); +objj_msgSend(_6a,"encodeDouble:forKey:",_minValue,_62); +objj_msgSend(_6a,"encodeDouble:forKey:",_maxValue,_63); +objj_msgSend(_6a,"encodeDouble:forKey:",_altIncrementValue,_64); +} +})]); +var _1=objj_getClass("CPSlider"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPSlider\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("value"),function(_6b,_6c){ +with(_6b){ +CPLog.warn("[CPSlider value] is deprecated, use doubleValue or objectValue instead."); +return objj_msgSend(_6b,"doubleValue"); +} +}),new objj_method(sel_getUid("setValue:"),function(_6d,_6e,_6f){ +with(_6d){ +CPLog.warn("[CPSlider setValue:] is deprecated, use setDoubleValue: or setObjectValue: instead."); +objj_msgSend(_6d,"setObjectValue:",_6f); +} +})]); +p;21;CPSliderColorPicker.jt;9407;@STATIC;1.0;i;15;CPColorPicker.jt;9368; +objj_executeFile("CPColorPicker.j",YES); +var _1=objj_allocateClassPair(CPColorPicker,"CPSliderColorPicker"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_contentView"),new objj_ivar("_redSlider"),new objj_ivar("_greenSlider"),new objj_ivar("_blueSlider"),new objj_ivar("_hueSlider"),new objj_ivar("_saturationSlider"),new objj_ivar("_brightnessSlider"),new objj_ivar("_rgbLabel"),new objj_ivar("_hsbLabel"),new objj_ivar("_redLabel"),new objj_ivar("_greenLabel"),new objj_ivar("_blueLabel"),new objj_ivar("_hueLabel"),new objj_ivar("_saturationLabel"),new objj_ivar("_brightnessLabel"),new objj_ivar("_hexLabel")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithPickerMask:colorPanel:"),function(_3,_4,_5,_6){ +with(_3){ +return objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPSliderColorPicker").super_class},"initWithPickerMask:colorPanel:",_5,_6); +} +}),new objj_method(sel_getUid("initView"),function(_7,_8){ +with(_7){ +aFrame=CPRectMake(0,0,CPColorPickerViewWidth,CPColorPickerViewHeight); +_contentView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",aFrame); +objj_msgSend(_contentView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_rgbLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,10,100,20)); +objj_msgSend(_rgbLabel,"setStringValue:","Red, Green, Blue"); +objj_msgSend(_rgbLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_redLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,35,15,20)); +objj_msgSend(_redLabel,"setStringValue:","R"); +objj_msgSend(_redLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_redSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,35,aFrame.size.width-70,20)); +objj_msgSend(_redSlider,"setMaxValue:",1); +objj_msgSend(_redSlider,"setMinValue:",0); +objj_msgSend(_redSlider,"setTarget:",_7); +objj_msgSend(_redSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_redSlider,"setAutoresizingMask:",CPViewWidthSizable); +_greenLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,58,15,20)); +objj_msgSend(_greenLabel,"setStringValue:","G"); +objj_msgSend(_greenLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_greenSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,58,aFrame.size.width-70,20)); +objj_msgSend(_greenSlider,"setMaxValue:",1); +objj_msgSend(_greenSlider,"setMinValue:",0); +objj_msgSend(_greenSlider,"setTarget:",_7); +objj_msgSend(_greenSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_greenSlider,"setAutoresizingMask:",CPViewWidthSizable); +_blueLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,81,15,20)); +objj_msgSend(_blueLabel,"setStringValue:","B"); +objj_msgSend(_blueLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_blueSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,81,aFrame.size.width-70,20)); +objj_msgSend(_blueSlider,"setMaxValue:",1); +objj_msgSend(_blueSlider,"setMinValue:",0); +objj_msgSend(_blueSlider,"setTarget:",_7); +objj_msgSend(_blueSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_blueSlider,"setAutoresizingMask:",CPViewWidthSizable); +_hsbLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,120,190,20)); +objj_msgSend(_hsbLabel,"setStringValue:","Hue, Saturation, Brightness"); +objj_msgSend(_hsbLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_hueLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,145,15,20)); +objj_msgSend(_hueLabel,"setStringValue:","H"); +objj_msgSend(_hueLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_hueSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,145,aFrame.size.width-70,20)); +objj_msgSend(_hueSlider,"setMaxValue:",359); +objj_msgSend(_hueSlider,"setMinValue:",0); +objj_msgSend(_hueSlider,"setTarget:",_7); +objj_msgSend(_hueSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_hueSlider,"setAutoresizingMask:",CPViewWidthSizable); +_saturationLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,168,15,20)); +objj_msgSend(_saturationLabel,"setStringValue:","S"); +objj_msgSend(_saturationLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_saturationSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,168,aFrame.size.width-70,20)); +objj_msgSend(_saturationSlider,"setMaxValue:",100); +objj_msgSend(_saturationSlider,"setMinValue:",0); +objj_msgSend(_saturationSlider,"setTarget:",_7); +objj_msgSend(_saturationSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_saturationSlider,"setAutoresizingMask:",CPViewWidthSizable); +_brightnessLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,191,15,20)); +objj_msgSend(_brightnessLabel,"setStringValue:","B"); +objj_msgSend(_brightnessLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +_brightnessSlider=objj_msgSend(objj_msgSend(CPSlider,"alloc"),"initWithFrame:",CPRectMake(15,191,aFrame.size.width-70,20)); +objj_msgSend(_brightnessSlider,"setMaxValue:",100); +objj_msgSend(_brightnessSlider,"setMinValue:",0); +objj_msgSend(_brightnessSlider,"setTarget:",_7); +objj_msgSend(_brightnessSlider,"setAction:",sel_getUid("sliderChanged:")); +objj_msgSend(_brightnessSlider,"setAutoresizingMask:",CPViewWidthSizable); +_hexLabel=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CPRectMake(0,230,30,20)); +objj_msgSend(_hexLabel,"setStringValue:","Hex"); +objj_msgSend(_hexLabel,"setTextColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_contentView,"addSubview:",_rgbLabel); +objj_msgSend(_contentView,"addSubview:",_redLabel); +objj_msgSend(_contentView,"addSubview:",_greenLabel); +objj_msgSend(_contentView,"addSubview:",_blueLabel); +objj_msgSend(_contentView,"addSubview:",_redSlider); +objj_msgSend(_contentView,"addSubview:",_greenSlider); +objj_msgSend(_contentView,"addSubview:",_blueSlider); +objj_msgSend(_contentView,"addSubview:",_hsbLabel); +objj_msgSend(_contentView,"addSubview:",_hueLabel); +objj_msgSend(_contentView,"addSubview:",_saturationLabel); +objj_msgSend(_contentView,"addSubview:",_brightnessLabel); +objj_msgSend(_contentView,"addSubview:",_hueSlider); +objj_msgSend(_contentView,"addSubview:",_saturationSlider); +objj_msgSend(_contentView,"addSubview:",_brightnessSlider); +objj_msgSend(_contentView,"addSubview:",_hexLabel); +} +}),new objj_method(sel_getUid("provideNewView:"),function(_9,_a,_b){ +with(_9){ +if(_b){ +objj_msgSend(_9,"initView"); +} +return _contentView; +} +}),new objj_method(sel_getUid("currentMode"),function(_c,_d){ +with(_c){ +return CPSliderColorPickerMode; +} +}),new objj_method(sel_getUid("supportsMode:"),function(_e,_f,_10){ +with(_e){ +return (_10==CPSliderColorPickerMode)?YES:NO; +} +}),new objj_method(sel_getUid("sliderChanged:"),function(_11,_12,_13){ +with(_11){ +var _14,_15=objj_msgSend(_11,"colorPanel"),_16=objj_msgSend(_15,"opacity"); +switch(_13){ +case _hueSlider: +case _saturationSlider: +case _brightnessSlider: +_14=objj_msgSend(CPColor,"colorWithHue:saturation:brightness:alpha:",objj_msgSend(_hueSlider,"floatValue"),objj_msgSend(_saturationSlider,"floatValue"),objj_msgSend(_brightnessSlider,"floatValue"),_16); +objj_msgSend(_11,"updateRGBSliders:",_14); +break; +case _redSlider: +case _greenSlider: +case _blueSlider: +_14=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",objj_msgSend(_redSlider,"floatValue"),objj_msgSend(_greenSlider,"floatValue"),objj_msgSend(_blueSlider,"floatValue"),_16); +objj_msgSend(_11,"updateHSBSliders:",_14); +break; +} +objj_msgSend(_11,"updateLabels"); +objj_msgSend(_11,"updateHex:",_14); +objj_msgSend(_15,"setColor:",_14); +} +}),new objj_method(sel_getUid("setColor:"),function(_17,_18,_19){ +with(_17){ +objj_msgSend(_17,"updateRGBSliders:",_19); +objj_msgSend(_17,"updateHSBSliders:",_19); +objj_msgSend(_17,"updateHex:",_19); +objj_msgSend(_17,"updateLabels"); +} +}),new objj_method(sel_getUid("updateHSBSliders:"),function(_1a,_1b,_1c){ +with(_1a){ +var hsb=objj_msgSend(_1c,"hsbComponents"); +objj_msgSend(_hueSlider,"setFloatValue:",hsb[0]); +objj_msgSend(_saturationSlider,"setFloatValue:",hsb[1]); +objj_msgSend(_brightnessSlider,"setFloatValue:",hsb[2]); +} +}),new objj_method(sel_getUid("updateHex:"),function(_1d,_1e,_1f){ +with(_1d){ +} +}),new objj_method(sel_getUid("updateRGBSliders:"),function(_20,_21,_22){ +with(_20){ +var rgb=objj_msgSend(_22,"components"); +objj_msgSend(_redSlider,"setFloatValue:",rgb[0]); +objj_msgSend(_greenSlider,"setFloatValue:",rgb[1]); +objj_msgSend(_blueSlider,"setFloatValue:",rgb[2]); +} +}),new objj_method(sel_getUid("updateLabels"),function(_23,_24){ +with(_23){ +} +}),new objj_method(sel_getUid("provideNewButtonImage"),function(_25,_26){ +with(_25){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","slider_button.png"),CGSizeMake(32,32)); +} +}),new objj_method(sel_getUid("provideNewAlternateButtonImage"),function(_27,_28){ +with(_27){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",CPColorPicker),"pathForResource:","slider_button_h.png"),CGSizeMake(32,32)); +} +})]); +p;13;CPSplitView.jt;16857;@STATIC;1.0;i;9;CPImage.ji;8;CPView.jt;16812; +objj_executeFile("CPImage.j",YES); +objj_executeFile("CPView.j",YES); +CPSplitViewDidResizeSubviewsNotification="CPSplitViewDidResizeSubviewsNotification"; +CPSplitViewWillResizeSubviewsNotification="CPSplitViewWillResizeSubviewsNotification"; +var _1=nil,_2=nil; +var _3=objj_allocateClassPair(CPView,"CPSplitView"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_delegate"),new objj_ivar("_isVertical"),new objj_ivar("_isPaneSplitter"),new objj_ivar("_currentDivider"),new objj_ivar("_initialOffset"),new objj_ivar("_originComponent"),new objj_ivar("_sizeComponent"),new objj_ivar("_DOMDividerElements"),new objj_ivar("_dividerImagePath"),new objj_ivar("_drawingDivider"),new objj_ivar("_needsResizeSubviews")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initWithFrame:"),function(_5,_6,_7){ +with(_5){ +if(_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPSplitView").super_class},"initWithFrame:",_7)){ +_currentDivider=CPNotFound; +_DOMDividerElements=[]; +objj_msgSend(_5,"_setVertical:",YES); +} +return _5; +} +}),new objj_method(sel_getUid("dividerThickness"),function(_8,_9){ +with(_8){ +return _isPaneSplitter?1:10; +} +}),new objj_method(sel_getUid("isVertical"),function(_a,_b){ +with(_a){ +return _isVertical; +} +}),new objj_method(sel_getUid("setVertical:"),function(_c,_d,_e){ +with(_c){ +if(!objj_msgSend(_c,"_setVertical:",_e)){ +return; +} +var _f=objj_msgSend(_c,"frame"),_10=objj_msgSend(_c,"dividerThickness"); +objj_msgSend(_c,"_postNotificationWillResize"); +var _11=ROUND((_f.size[_sizeComponent]-_10*(_subviews.length-1))/_subviews.length),_12=0,_13=_subviews.length; +if(objj_msgSend(_c,"isVertical")){ +for(;_12<_13;++_12){ +objj_msgSend(_subviews[_12],"setFrame:",CGRectMake(ROUND((_11+_10)*_12),0,_11,_f.size.height)); +} +}else{ +for(;_12<_13;++_12){ +objj_msgSend(_subviews[_12],"setFrame:",CGRectMake(0,ROUND((_11+_10)*_12),_f.size.width,_11)); +} +} +objj_msgSend(_c,"setNeedsDisplay:",YES); +objj_msgSend(_c,"_postNotificationDidResize"); +} +}),new objj_method(sel_getUid("_setVertical:"),function(_14,_15,_16){ +with(_14){ +var _17=(_isVertical!=_16); +_isVertical=_16; +_originComponent=objj_msgSend(_14,"isVertical")?"x":"y"; +_sizeComponent=objj_msgSend(_14,"isVertical")?"width":"height"; +_dividerImagePath=objj_msgSend(_14,"isVertical")?objj_msgSend(_2,"filename"):objj_msgSend(_1,"filename"); +return _17; +} +}),new objj_method(sel_getUid("isPaneSplitter"),function(_18,_19){ +with(_18){ +return _isPaneSplitter; +} +}),new objj_method(sel_getUid("setIsPaneSplitter:"),function(_1a,_1b,_1c){ +with(_1a){ +if(_isPaneSplitter==_1c){ +return; +} +_isPaneSplitter=_1c; +if(_DOMDividerElements[_drawingDivider]){ +objj_msgSend(_1a,"_setupDOMDivider"); +} +_needsResizeSubviews=YES; +objj_msgSend(_1a,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("didAddSubview:"),function(_1d,_1e,_1f){ +with(_1d){ +_needsResizeSubviews=YES; +} +}),new objj_method(sel_getUid("isSubviewCollapsed:"),function(_20,_21,_22){ +with(_20){ +return objj_msgSend(_22,"frame").size[_sizeComponent]<1?YES:NO; +} +}),new objj_method(sel_getUid("rectOfDividerAtIndex:"),function(_23,_24,_25){ +with(_23){ +var _26=objj_msgSend(_subviews[_25],"frame"),_27=CGRectMakeZero(); +_27.size=objj_msgSend(_23,"frame").size; +_27.size[_sizeComponent]=objj_msgSend(_23,"dividerThickness"); +_27.origin[_originComponent]=_26.origin[_originComponent]+_26.size[_sizeComponent]; +return _27; +} +}),new objj_method(sel_getUid("effectiveRectOfDividerAtIndex:"),function(_28,_29,_2a){ +with(_28){ +var _2b=objj_msgSend(_28,"rectOfDividerAtIndex:",_2a); +var _2c=2; +_2b.size[_sizeComponent]+=_2c*2; +_2b.origin[_originComponent]-=_2c; +return _2b; +} +}),new objj_method(sel_getUid("drawRect:"),function(_2d,_2e,_2f){ +with(_2d){ +var _30=objj_msgSend(_subviews,"count")-1; +while((_30--)>0){ +_drawingDivider=_30; +objj_msgSend(_2d,"drawDividerInRect:",objj_msgSend(_2d,"rectOfDividerAtIndex:",_30)); +} +} +}),new objj_method(sel_getUid("drawDividerInRect:"),function(_31,_32,_33){ +with(_31){ +} +}),new objj_method(sel_getUid("_setupDOMDivider"),function(_34,_35){ +with(_34){ +if(_isPaneSplitter){ +_DOMDividerElements[_drawingDivider].style.backgroundColor="#A5A5A5"; +_DOMDividerElements[_drawingDivider].style.backgroundImage=""; +}else{ +_DOMDividerElements[_drawingDivider].style.backgroundColor=""; +_DOMDividerElements[_drawingDivider].style.backgroundImage="url('"+_dividerImagePath+"')"; +} +} +}),new objj_method(sel_getUid("viewWillDraw"),function(_36,_37){ +with(_36){ +objj_msgSend(_36,"_adjustSubviewsWithCalculatedSize"); +} +}),new objj_method(sel_getUid("_adjustSubviewsWithCalculatedSize"),function(_38,_39){ +with(_38){ +if(!_needsResizeSubviews){ +return; +} +_needsResizeSubviews=NO; +var _3a=objj_msgSend(_38,"subviews"),_3b=_3a.length,_3c=CGSizeMakeZero(); +if(objj_msgSend(_38,"isVertical")){ +_3c.width+=objj_msgSend(_38,"dividerThickness")*(_3b-1); +_3c.height=CGRectGetHeight(objj_msgSend(_38,"frame")); +}else{ +_3c.width=CGRectGetWidth(objj_msgSend(_38,"frame")); +_3c.height+=objj_msgSend(_38,"dividerThickness")*(_3b-1); +} +while(_3b--){ +_3c[_sizeComponent]+=objj_msgSend(_3a[_3b],"frame").size[_sizeComponent]; +} +objj_msgSend(_38,"resizeSubviewsWithOldSize:",_3c); +} +}),new objj_method(sel_getUid("cursorAtPoint:hitDividerAtIndex:"),function(_3d,_3e,_3f,_40){ +with(_3d){ +var _41=objj_msgSend(_subviews[_40],"frame"),_42=_41.origin[_originComponent]+_41.size[_sizeComponent],_43=objj_msgSend(_3d,"effectiveRectOfDividerAtIndex:",_40),_44=null; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:effectiveRect:forDrawnRect:ofDividerAtIndex:"))){ +_43=objj_msgSend(_delegate,"splitView:effectiveRect:forDrawnRect:ofDividerAtIndex:",_3d,_43,_43,_40); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:additionalEffectiveRectOfDividerAtIndex:"))){ +_44=objj_msgSend(_delegate,"splitView:additionalEffectiveRectOfDividerAtIndex:",_3d,_40); +} +return CGRectContainsPoint(_43,_3f)||(_44&&CGRectContainsPoint(_44,_3f)); +} +}),new objj_method(sel_getUid("hitTest:"),function(_45,_46,_47){ +with(_45){ +if(objj_msgSend(_45,"isHidden")||!objj_msgSend(_45,"hitTests")||!CGRectContainsPoint(objj_msgSend(_45,"frame"),_47)){ +return nil; +} +var _48=objj_msgSend(_45,"convertPoint:fromView:",_47,objj_msgSend(_45,"superview")); +var _49=objj_msgSend(_subviews,"count")-1; +for(var i=0;i<_49;i++){ +if(objj_msgSend(_45,"cursorAtPoint:hitDividerAtIndex:",_48,i)){ +return _45; +} +} +return objj_msgSendSuper({receiver:_45,super_class:objj_getClass("CPSplitView").super_class},"hitTest:",_47); +} +}),new objj_method(sel_getUid("trackDivider:"),function(_4a,_4b,_4c){ +with(_4a){ +var _4d=objj_msgSend(_4c,"type"); +if(_4d==CPLeftMouseUp){ +if(_currentDivider!=CPNotFound){ +_currentDivider=CPNotFound; +objj_msgSend(_4a,"_postNotificationDidResize"); +} +return; +} +if(_4d==CPLeftMouseDown){ +var _4e=objj_msgSend(_4a,"convertPoint:fromView:",objj_msgSend(_4c,"locationInWindow"),nil); +_currentDivider=CPNotFound; +var _4f=objj_msgSend(_subviews,"count")-1; +for(var i=0;i<_4f;i++){ +var _50=objj_msgSend(_subviews[i],"frame"),_51=_50.origin[_originComponent]+_50.size[_sizeComponent]; +if(objj_msgSend(_4a,"cursorAtPoint:hitDividerAtIndex:",_4e,i)){ +if(objj_msgSend(_4c,"clickCount")==2&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:canCollapseSubview:"))&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:shouldCollapseSubview:forDoubleClickOnDividerAtIndex:"))){ +var _52=objj_msgSend(_4a,"minPossiblePositionOfDividerAtIndex:",i),_53=objj_msgSend(_4a,"maxPossiblePositionOfDividerAtIndex:",i); +if(objj_msgSend(_delegate,"splitView:canCollapseSubview:",_4a,_subviews[i])&&objj_msgSend(_delegate,"splitView:shouldCollapseSubview:forDoubleClickOnDividerAtIndex:",_4a,_subviews[i],i)){ +if(objj_msgSend(_4a,"isSubviewCollapsed:",_subviews[i])){ +objj_msgSend(_4a,"setPosition:ofDividerAtIndex:",(_52+(_53-_52)/2),i); +}else{ +objj_msgSend(_4a,"setPosition:ofDividerAtIndex:",_52,i); +} +}else{ +if(objj_msgSend(_delegate,"splitView:canCollapseSubview:",_4a,_subviews[i+1])&&objj_msgSend(_delegate,"splitView:shouldCollapseSubview:forDoubleClickOnDividerAtIndex:",_4a,_subviews[i+1],i)){ +if(objj_msgSend(_4a,"isSubviewCollapsed:",_subviews[i+1])){ +objj_msgSend(_4a,"setPosition:ofDividerAtIndex:",(_52+(_53-_52)/2),i); +}else{ +objj_msgSend(_4a,"setPosition:ofDividerAtIndex:",_53,i); +} +} +} +}else{ +_currentDivider=i; +_initialOffset=_51-_4e[_originComponent]; +objj_msgSend(_4a,"_postNotificationWillResize"); +} +} +} +if(_currentDivider===CPNotFound){ +return; +} +}else{ +if(_4d==CPLeftMouseDragged&&_currentDivider!=CPNotFound){ +var _4e=objj_msgSend(_4a,"convertPoint:fromView:",objj_msgSend(_4c,"locationInWindow"),nil); +objj_msgSend(_4a,"setPosition:ofDividerAtIndex:",(_4e[_originComponent]+_initialOffset),_currentDivider); +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_4a,sel_getUid("trackDivider:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_54,_55,_56){ +with(_54){ +objj_msgSend(_54,"trackDivider:",_56); +} +}),new objj_method(sel_getUid("maxPossiblePositionOfDividerAtIndex:"),function(_57,_58,_59){ +with(_57){ +var _5a=objj_msgSend(_subviews[_59+1],"frame"); +if(_59+10){ +var _5e=objj_msgSend(_subviews[_5d-1],"frame"); +return _5e.origin[_originComponent]+_5e.size[_sizeComponent]+objj_msgSend(_5b,"dividerThickness"); +}else{ +return 0; +} +} +}),new objj_method(sel_getUid("setPosition:ofDividerAtIndex:"),function(_5f,_60,_61,_62){ +with(_5f){ +objj_msgSend(_5f,"_adjustSubviewsWithCalculatedSize"); +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:constrainSplitPosition:ofSubviewAt:"))){ +_61=objj_msgSend(_delegate,"splitView:constrainSplitPosition:ofSubviewAt:",_5f,_61,_62); +} +var _63=objj_msgSend(_5f,"maxPossiblePositionOfDividerAtIndex:",_62),_64=objj_msgSend(_5f,"minPossiblePositionOfDividerAtIndex:",_62),_65=_63,_66=_64; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:constrainMinCoordinate:ofSubviewAt:"))){ +_66=objj_msgSend(_delegate,"splitView:constrainMinCoordinate:ofSubviewAt:",_5f,_64,_62); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:constrainMaxCoordinate:ofSubviewAt:"))){ +_65=objj_msgSend(_delegate,"splitView:constrainMaxCoordinate:ofSubviewAt:",_5f,_63,_62); +} +var _67=objj_msgSend(_5f,"frame"),_68=_subviews[_62],_69=objj_msgSend(_68,"frame"),_6a=_subviews[_62+1],_6b=objj_msgSend(_6a,"frame"); +var _6c=MAX(MIN(_61,_65),_66); +if(_61<_64+(_66-_64)/2){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:canCollapseSubview:"))){ +if(objj_msgSend(_delegate,"splitView:canCollapseSubview:",_5f,_68)){ +_6c=_64; +} +} +} +_69.size[_sizeComponent]=_6c-_69.origin[_originComponent]; +objj_msgSend(_subviews[_62],"setFrame:",_69); +_6b.size[_sizeComponent]=_6b.origin[_originComponent]+_6b.size[_sizeComponent]-_6c-objj_msgSend(_5f,"dividerThickness"); +_6b.origin[_originComponent]=_6c+objj_msgSend(_5f,"dividerThickness"); +objj_msgSend(_subviews[_62+1],"setFrame:",_6b); +objj_msgSend(_5f,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_6d,_6e,_6f){ +with(_6d){ +objj_msgSend(_6d,"_adjustSubviewsWithCalculatedSize"); +objj_msgSendSuper({receiver:_6d,super_class:objj_getClass("CPSplitView").super_class},"setFrameSize:",_6f); +objj_msgSend(_6d,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_70,_71,_72){ +with(_70){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitView:resizeSubviewsWithOldSize:"))){ +objj_msgSend(_delegate,"splitView:resizeSubviewsWithOldSize:",_70,_72); +return; +} +objj_msgSend(_70,"_postNotificationWillResize"); +var _73=0,_74=objj_msgSend(_subviews,"count"),_75=objj_msgSend(_70,"bounds"),_76=objj_msgSend(_70,"dividerThickness"),_77=_74-1,_78=0,_79=0,_7a=-1,_7b=0,_7c=objj_msgSend(_70,"isVertical"); +for(_73=0;_73<_74;++_73){ +var _7d=_subviews[_73],_7e=_7c?objj_msgSend(_7d,"autoresizingMask")&CPViewWidthSizable:objj_msgSend(_7d,"autoresizingMask")&CPViewHeightSizable; +if(_7e){ +_78+=objj_msgSend(_7d,"frame").size[_sizeComponent]; +_7a=_73; +_7b++; +} +} +if(_7b===_74){ +_78=0; +} +var _79=_78?_75.size[_sizeComponent]-_78:0,_7f=_75.size[_sizeComponent]-_72[_sizeComponent],_80=(_72[_sizeComponent]-_77*_76-_79),_81=_80<=0?0:(_75.size[_sizeComponent]-_77*_76-_79)/_80; +for(_73=0;_73<_74;++_73){ +var _7d=_subviews[_73],_82=CGRectMakeCopy(_75),_7e=_7c?objj_msgSend(_7d,"autoresizingMask")&CPViewWidthSizable:objj_msgSend(_7d,"autoresizingMask")&CPViewHeightSizable; +if(_73+1==_74){ +_82.size[_sizeComponent]=_75.size[_sizeComponent]-_82.origin[_originComponent]; +}else{ +if(_78&&_7e&&_7a===_73){ +_82.size[_sizeComponent]=MAX(0,ROUND(objj_msgSend(_7d,"frame").size[_sizeComponent]+_7f)); +}else{ +if(_7e||!_78){ +_82.size[_sizeComponent]=MAX(0,ROUND(_81*objj_msgSend(_7d,"frame").size[_sizeComponent])); +_7f-=(_82.size[_sizeComponent]-objj_msgSend(_7d,"frame").size[_sizeComponent]); +}else{ +if(_78&&!_7e){ +_82.size[_sizeComponent]=objj_msgSend(_7d,"frame").size[_sizeComponent]; +} +} +} +} +_75.origin[_originComponent]+=_82.size[_sizeComponent]+_76; +objj_msgSend(_7d,"setFrame:",_82); +} +objj_msgSend(_70,"_postNotificationDidResize"); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_83,_84,_85){ +with(_83){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitViewDidResizeSubviews:"))){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_delegate,CPSplitViewDidResizeSubviewsNotification,_83); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitViewWillResizeSubviews:"))){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"removeObserver:name:object:",_delegate,CPSplitViewWillResizeSubviewsNotification,_83); +} +_delegate=_85; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitViewDidResizeSubviews:"))){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_delegate,sel_getUid("splitViewDidResizeSubviews:"),CPSplitViewDidResizeSubviewsNotification,_83); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("splitViewWillResizeSubviews:"))){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"addObserver:selector:name:object:",_delegate,sel_getUid("splitViewWillResizeSubviews:"),CPSplitViewWillResizeSubviewsNotification,_83); +} +} +}),new objj_method(sel_getUid("_postNotificationWillResize"),function(_86,_87){ +with(_86){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPSplitViewWillResizeSubviewsNotification,_86); +} +}),new objj_method(sel_getUid("_postNotificationDidResize"),function(_88,_89){ +with(_88){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPSplitViewDidResizeSubviewsNotification,_88); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("initialize"),function(_8a,_8b){ +with(_8a){ +if(_8a!=objj_msgSend(CPSplitView,"class")){ +return; +} +var _8c=objj_msgSend(CPBundle,"bundleForClass:",_8a); +_1=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","CPSplitView/CPSplitViewHorizontal.png"),CPSizeMake(5,10)); +_2=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_8c,"pathForResource:","CPSplitView/CPSplitViewVertical.png"),CPSizeMake(10,5)); +} +})]); +var _8d="CPSplitViewDelegateKey",_8e="CPSplitViewIsVerticalKey",_8f="CPSplitViewIsPaneSplitterKey"; +var _3=objj_getClass("CPSplitView"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPSplitView\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_90,_91,_92){ +with(_90){ +_90=objj_msgSendSuper({receiver:_90,super_class:objj_getClass("CPSplitView").super_class},"initWithCoder:",_92); +if(_90){ +_currentDivider=CPNotFound; +_DOMDividerElements=[]; +_delegate=objj_msgSend(_92,"decodeObjectForKey:",_8d); +_isPaneSplitter=objj_msgSend(_92,"decodeBoolForKey:",_8f); +objj_msgSend(_90,"_setVertical:",objj_msgSend(_92,"decodeBoolForKey:",_8e)); +} +return _90; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_93,_94,_95){ +with(_93){ +objj_msgSendSuper({receiver:_93,super_class:objj_getClass("CPSplitView").super_class},"encodeWithCoder:",_95); +objj_msgSend(_95,"encodeConditionalObject:forKey:",_delegate,_8d); +objj_msgSend(_95,"encodeBool:forKey:",_isVertical,_8e); +objj_msgSend(_95,"encodeBool:forKey:",_isPaneSplitter,_8f); +} +})]); +p;17;CPStringDrawing.jt;712;@STATIC;1.0;I;21;Foundation/CPString.ji;18;CPPlatformString.jt;645; +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPPlatformString.j",YES); +var _1=objj_getClass("CPString"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPString\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("cssString"),function(_3,_4){ +with(_3){ +return _3; +} +}),new objj_method(sel_getUid("sizeWithFont:"),function(_5,_6,_7){ +with(_5){ +return objj_msgSend(_5,"sizeWithFont:inWidth:",_7,NULL); +} +}),new objj_method(sel_getUid("sizeWithFont:inWidth:"),function(_8,_9,_a,_b){ +with(_8){ +return objj_msgSend(CPPlatformString,"sizeOfString:withFont:forWidth:",_8,_a,_b); +} +})]); +p;15;CPTableColumn.jt;10806;@STATIC;1.0;I;25;Foundation/CPDictionary.jI;21;Foundation/CPObject.jI;29;Foundation/CPSortDescriptor.jI;21;Foundation/CPString.ji;19;CPTableHeaderView.jt;10646; +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPSortDescriptor.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPTableHeaderView.j",YES); +CPTableColumnNoResizing=0; +CPTableColumnAutoresizingMask=1<<0; +CPTableColumnUserResizingMask=1<<1; +var _1=objj_allocateClassPair(CPObject,"CPTableColumn"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_tableView"),new objj_ivar("_headerView"),new objj_ivar("_dataView"),new objj_ivar("_dataViewData"),new objj_ivar("_width"),new objj_ivar("_minWidth"),new objj_ivar("_maxWidth"),new objj_ivar("_resizingMask"),new objj_ivar("_identifier"),new objj_ivar("_isEditable"),new objj_ivar("_sortDescriptorPrototype"),new objj_ivar("_isHidden"),new objj_ivar("_headerToolTip"),new objj_ivar("_disableResizingPosting")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("disableResizingPosting"),function(_3,_4){ +with(_3){ +return _disableResizingPosting; +} +}),new objj_method(sel_getUid("setDisableResizingPosting:"),function(_5,_6,_7){ +with(_5){ +_disableResizingPosting=_7; +} +}),new objj_method(sel_getUid("init"),function(_8,_9){ +with(_8){ +return objj_msgSend(_8,"initWithIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithIdentifier:"),function(_a,_b,_c){ +with(_a){ +_a=objj_msgSendSuper({receiver:_a,super_class:objj_getClass("CPTableColumn").super_class},"init"); +if(_a){ +_dataViewData={}; +_width=100; +_minWidth=10; +_maxWidth=1000000; +_resizingMask=CPTableColumnAutoresizingMask|CPTableColumnUserResizingMask; +_disableResizingPosting=NO; +objj_msgSend(_a,"setIdentifier:",_c); +var _d=objj_msgSend(objj_msgSend(_CPTableColumnHeaderView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_a,"setHeaderView:",_d); +var _e=objj_msgSend(CPTextField,"new"); +objj_msgSend(_e,"setLineBreakMode:",CPLineBreakByTruncatingTail); +objj_msgSend(_e,"setValue:forThemeAttribute:",objj_msgSend(CPColor,"colorWithHexString:","333333"),"text-color"); +objj_msgSend(_e,"setValue:forThemeAttribute:inState:",objj_msgSend(CPColor,"whiteColor"),"text-color",CPThemeStateSelected); +objj_msgSend(_e,"setValue:forThemeAttribute:inState:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12),"font",CPThemeStateSelected); +objj_msgSend(_e,"setValue:forThemeAttribute:",CPCenterVerticalTextAlignment,"vertical-alignment"); +objj_msgSend(_a,"setDataView:",_e); +} +return _a; +} +}),new objj_method(sel_getUid("setTableView:"),function(_f,_10,_11){ +with(_f){ +_tableView=_11; +} +}),new objj_method(sel_getUid("tableView"),function(_12,_13){ +with(_12){ +return _tableView; +} +}),new objj_method(sel_getUid("setWidth:"),function(_14,_15,_16){ +with(_14){ +_16=+_16; +if(_width===_16){ +return; +} +var _17=MIN(MAX(_16,objj_msgSend(_14,"minWidth")),objj_msgSend(_14,"maxWidth")); +if(_width===_17){ +return; +} +var _18=_width; +_width=_17; +var _19=objj_msgSend(_14,"tableView"); +if(_19){ +var _1a=objj_msgSend(objj_msgSend(_19,"tableColumns"),"indexOfObjectIdenticalTo:",_14),_1b=_19._dirtyTableColumnRangeIndex; +if(_1b<0){ +_19._dirtyTableColumnRangeIndex=_1a; +}else{ +_19._dirtyTableColumnRangeIndex=MIN(_1a,_19._dirtyTableColumnRangeIndex); +} +var _1c=_19._exposedRows,_1d=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(_1a,objj_msgSend(_19._exposedColumns,"lastIndex")-_1a+1)); +objj_msgSend(_19,"_layoutDataViewsInRows:columns:",_1c,_1d); +objj_msgSend(_19,"tile"); +if(!_disableResizingPosting){ +objj_msgSend(_14,"_postDidResizeNotificationWithOldWidth:",_18); +} +} +} +}),new objj_method(sel_getUid("width"),function(_1e,_1f){ +with(_1e){ +return _width; +} +}),new objj_method(sel_getUid("setMinWidth:"),function(_20,_21,_22){ +with(_20){ +_22=+_22; +if(_minWidth===_22){ +return; +} +_minWidth=_22; +var _23=objj_msgSend(_20,"width"),_24=MAX(_23,objj_msgSend(_20,"minWidth")); +if(_23!==_24){ +objj_msgSend(_20,"setWidth:",_24); +} +} +}),new objj_method(sel_getUid("minWidth"),function(_25,_26){ +with(_25){ +return _minWidth; +} +}),new objj_method(sel_getUid("setMaxWidth:"),function(_27,_28,_29){ +with(_27){ +_29=+_29; +if(_maxWidth===_29){ +return; +} +_maxWidth=_29; +var _2a=objj_msgSend(_27,"width"),_2b=MIN(_2a,objj_msgSend(_27,"maxWidth")); +if(_2a!==_2b){ +objj_msgSend(_27,"setWidth:",_2b); +} +} +}),new objj_method(sel_getUid("maxWidth"),function(_2c,_2d){ +with(_2c){ +return _maxWidth; +} +}),new objj_method(sel_getUid("setResizingMask:"),function(_2e,_2f,_30){ +with(_2e){ +_resizingMask=_30; +} +}),new objj_method(sel_getUid("resizingMask"),function(_31,_32){ +with(_31){ +return _resizingMask; +} +}),new objj_method(sel_getUid("sizeToFit"),function(_33,_34){ +with(_33){ +var _35=(objj_msgSend(_headerView,"frame").size.width); +if(_35objj_msgSend(_33,"maxWidth")){ +objj_msgSend(_33,"setMaxWidth:",_35); +} +} +if(_width!==_35){ +objj_msgSend(_33,"setWidth:",_35); +} +} +}),new objj_method(sel_getUid("setHeaderView:"),function(_36,_37,_38){ +with(_36){ +if(!_38){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Attempt to set nil header view on "+objj_msgSend(_36,"description")); +} +_headerView=_38; +var _39=objj_msgSend(_tableView,"headerView"); +objj_msgSend(_39,"setNeedsLayout"); +objj_msgSend(_39,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("headerView"),function(_3a,_3b){ +with(_3a){ +return _headerView; +} +}),new objj_method(sel_getUid("setDataView:"),function(_3c,_3d,_3e){ +with(_3c){ +if(_dataView===_3e){ +return; +} +if(_dataView){ +_dataViewData[objj_msgSend(_dataView,"UID")]=nil; +} +_dataView=_3e; +_dataViewData[objj_msgSend(_3e,"UID")]=objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_3e); +} +}),new objj_method(sel_getUid("dataView"),function(_3f,_40){ +with(_3f){ +return _dataView; +} +}),new objj_method(sel_getUid("dataViewForRow:"),function(_41,_42,_43){ +with(_41){ +return objj_msgSend(_41,"dataView"); +} +}),new objj_method(sel_getUid("_newDataViewForRow:"),function(_44,_45,_46){ +with(_44){ +var _47=objj_msgSend(_44,"dataViewForRow:",_46),_48=objj_msgSend(_47,"UID"); +var x=objj_msgSend(_44,"tableView")._cachedDataViews[_48]; +if(x&&x.length){ +return x.pop(); +} +if(!_dataViewData[_48]){ +_dataViewData[_48]=objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_47); +} +var _49=objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",_dataViewData[_48]); +_49.identifier=_48; +return _49; +} +}),new objj_method(sel_getUid("setIdentifier:"),function(_4a,_4b,_4c){ +with(_4a){ +_identifier=_4c; +} +}),new objj_method(sel_getUid("identifier"),function(_4d,_4e){ +with(_4d){ +return _identifier; +} +}),new objj_method(sel_getUid("setEditable:"),function(_4f,_50,_51){ +with(_4f){ +_isEditable=_51; +} +}),new objj_method(sel_getUid("isEditable"),function(_52,_53){ +with(_52){ +return _isEditable; +} +}),new objj_method(sel_getUid("setSortDescriptorPrototype:"),function(_54,_55,_56){ +with(_54){ +_sortDescriptorPrototype=_56; +} +}),new objj_method(sel_getUid("sortDescriptorPrototype"),function(_57,_58){ +with(_57){ +return _sortDescriptorPrototype; +} +}),new objj_method(sel_getUid("setHidden:"),function(_59,_5a,_5b){ +with(_59){ +_isHidden=_5b; +} +}),new objj_method(sel_getUid("isHidden"),function(_5c,_5d){ +with(_5c){ +return _isHidden; +} +}),new objj_method(sel_getUid("setHeaderToolTip:"),function(_5e,_5f,_60){ +with(_5e){ +_headerToolTip=_60; +} +}),new objj_method(sel_getUid("headerToolTip"),function(_61,_62){ +with(_61){ +return _headerToolTip; +} +}),new objj_method(sel_getUid("_postDidResizeNotificationWithOldWidth:"),function(_63,_64,_65){ +with(_63){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPTableViewColumnDidResizeNotification,objj_msgSend(_63,"tableView"),objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[_63,_65],["CPTableColumn","CPOldWidth"])); +} +})]); +var _66="CPTableColumnIdentifierKey",_67="CPTableColumnHeaderViewKey",_68="CPTableColumnDataViewKey",_69="CPTableColumnWidthKey",_6a="CPTableColumnMinWidthKey",_6b="CPTableColumnMaxWidthKey",_6c="CPTableColumnResizingMaskKey"; +var _1=objj_getClass("CPTableColumn"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTableColumn\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_6d,_6e,_6f){ +with(_6d){ +_6d=objj_msgSendSuper({receiver:_6d,super_class:objj_getClass("CPTableColumn").super_class},"init"); +if(_6d){ +_dataViewData={}; +_width=objj_msgSend(_6f,"decodeFloatForKey:",_69); +_minWidth=objj_msgSend(_6f,"decodeFloatForKey:",_6a); +_maxWidth=objj_msgSend(_6f,"decodeFloatForKey:",_6b); +objj_msgSend(_6d,"setIdentifier:",objj_msgSend(_6f,"decodeObjectForKey:",_66)); +objj_msgSend(_6d,"setHeaderView:",objj_msgSend(_6f,"decodeObjectForKey:",_67)); +objj_msgSend(_6d,"setDataView:",objj_msgSend(_6f,"decodeObjectForKey:",_68)); +objj_msgSend(_6d,"setHeaderView:",objj_msgSend(_6f,"decodeObjectForKey:",_67)); +_resizingMask=objj_msgSend(_6f,"decodeBoolForKey:",_6c); +} +return _6d; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_70,_71,_72){ +with(_70){ +objj_msgSend(_72,"encodeObject:forKey:",_identifier,_66); +objj_msgSend(_72,"encodeObject:forKey:",_width,_69); +objj_msgSend(_72,"encodeObject:forKey:",_minWidth,_6a); +objj_msgSend(_72,"encodeObject:forKey:",_maxWidth,_6b); +objj_msgSend(_72,"encodeObject:forKey:",_headerView,_67); +objj_msgSend(_72,"encodeObject:forKey:",_dataView,_68); +objj_msgSend(_72,"encodeObject:forKey:",_resizingMask,_6c); +} +})]); +var _1=objj_getClass("CPTableColumn"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTableColumn\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("setHeaderCell:"),function(_73,_74,_75){ +with(_73){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"setHeaderCell: is not supported. -setHeaderCell:aView instead."); +} +}),new objj_method(sel_getUid("headerCell"),function(_76,_77){ +with(_76){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"headCell is not supported. -headerView instead."); +} +}),new objj_method(sel_getUid("setDataCell:"),function(_78,_79,_7a){ +with(_78){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"setDataCell: is not supported. Use -setHeaderCell:aView instead."); +} +}),new objj_method(sel_getUid("dataCell"),function(_7b,_7c){ +with(_7b){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"dataCell is not supported. Use -dataCell instead."); +} +}),new objj_method(sel_getUid("dataCellForRow:"),function(_7d,_7e,row){ +with(_7d){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"dataCellForRow: is not supported. Use -dataViewForRow:row instead."); +} +})]); +p;19;CPTableHeaderView.jt;14359;@STATIC;1.0;i;15;CPTableColumn.ji;13;CPTableView.ji;8;CPView.jt;14289; +objj_executeFile("CPTableColumn.j",YES); +objj_executeFile("CPTableView.j",YES); +objj_executeFile("CPView.j",YES); +var _1=objj_allocateClassPair(CPView,"_CPTableColumnHeaderView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_textField")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPTableColumnHeaderView").super_class},"initWithFrame:",_5); +if(_3){ +objj_msgSend(_3,"_init"); +} +return _3; +} +}),new objj_method(sel_getUid("_init"),function(_6,_7){ +with(_6){ +_textField=objj_msgSend(objj_msgSend(_CPImageAndTextView,"alloc"),"initWithFrame:",CGRectMake(5,1,CGRectGetWidth(objj_msgSend(_6,"bounds"))-10,CGRectGetHeight(objj_msgSend(_6,"bounds"))-1)); +objj_msgSend(_textField,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_textField,"setLineBreakMode:",CPLineBreakByTruncatingTail); +objj_msgSend(_textField,"setTextColor:",objj_msgSend(CPColor,"colorWithHexString:","333333")); +objj_msgSend(_textField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12)); +objj_msgSend(_textField,"setAlignment:",CPLeftTextAlignment); +objj_msgSend(_textField,"setVerticalAlignment:",CPCenterVerticalTextAlignment); +objj_msgSend(_textField,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor")); +objj_msgSend(_textField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_6,"addSubview:",_textField); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_8,_9){ +with(_8){ +var _a=objj_msgSend(_8,"themeState"); +if(_a&CPThemeStateSelected&&_a&CPThemeStateHighlighted){ +objj_msgSend(_8,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview-highlighted-pressed.png",CGSizeMake(1,22)))); +}else{ +if(_a&CPThemeStateSelected){ +objj_msgSend(_8,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview-highlighted.png",CGSizeMake(1,22)))); +}else{ +if(_a&CPThemeStateHighlighted){ +objj_msgSend(_8,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview-pressed.png",CGSizeMake(1,22)))); +}else{ +objj_msgSend(_8,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview.png",CGSizeMake(1,22)))); +} +} +} +} +}),new objj_method(sel_getUid("setStringValue:"),function(_b,_c,_d){ +with(_b){ +objj_msgSend(_textField,"setText:",_d); +} +}),new objj_method(sel_getUid("stringValue"),function(_e,_f){ +with(_e){ +return objj_msgSend(_textField,"text"); +} +}),new objj_method(sel_getUid("textField"),function(_10,_11){ +with(_10){ +return _textField; +} +}),new objj_method(sel_getUid("sizeToFit"),function(_12,_13){ +with(_12){ +objj_msgSend(_textField,"sizeToFit"); +} +}),new objj_method(sel_getUid("setFont:"),function(_14,_15,_16){ +with(_14){ +objj_msgSend(_textField,"setFont:",_16); +} +}),new objj_method(sel_getUid("setValue:forThemeAttribute:"),function(_17,_18,_19,_1a){ +with(_17){ +objj_msgSend(_textField,"setValue:forThemeAttribute:",_19,_1a); +} +}),new objj_method(sel_getUid("_setIndicatorImage:"),function(_1b,_1c,_1d){ +with(_1b){ +if(_1d){ +objj_msgSend(_textField,"setImage:",_1d); +objj_msgSend(_textField,"setImagePosition:",CPImageRight); +}else{ +objj_msgSend(_textField,"setImagePosition:",CPNoImage); +} +} +})]); +var _1e="_CPTableColumnHeaderViewStringValueKey",_1f="_CPTableColumnHeaderViewFontKey",_20="_CPTableColumnHeaderViewImageKey"; +var _1=objj_getClass("_CPTableColumnHeaderView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPTableColumnHeaderView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_21,_22,_23){ +with(_21){ +if(_21=objj_msgSendSuper({receiver:_21,super_class:objj_getClass("_CPTableColumnHeaderView").super_class},"initWithCoder:",_23)){ +objj_msgSend(_21,"_init"); +objj_msgSend(_21,"_setIndicatorImage:",objj_msgSend(_23,"decodeObjectForKey:",_20)); +objj_msgSend(_21,"setStringValue:",objj_msgSend(_23,"decodeObjectForKey:",_1e)); +objj_msgSend(_21,"setFont:",objj_msgSend(_23,"decodeObjectForKey:",_1f)); +} +return _21; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_24,_25,_26){ +with(_24){ +objj_msgSendSuper({receiver:_24,super_class:objj_getClass("_CPTableColumnHeaderView").super_class},"encodeWithCoder:",_26); +objj_msgSend(_26,"encodeObject:forKey:",objj_msgSend(_textField,"text"),_1e); +objj_msgSend(_26,"encodeObject:forKey:",objj_msgSend(_textField,"image"),_20); +objj_msgSend(_26,"encodeObject:forKey:",objj_msgSend(_textField,"font"),_1f); +} +})]); +var _1=objj_allocateClassPair(CPView,"CPTableHeaderView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_resizedColumn"),new objj_ivar("_draggedColumn"),new objj_ivar("_pressedColumn"),new objj_ivar("_draggedDistance"),new objj_ivar("_lastLocation"),new objj_ivar("_columnOldWidth"),new objj_ivar("_tableView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("resizedColumn"),function(_27,_28){ +with(_27){ +return _resizedColumn; +} +}),new objj_method(sel_getUid("draggedColumn"),function(_29,_2a){ +with(_29){ +return _draggedColumn; +} +}),new objj_method(sel_getUid("pressedColumn"),function(_2b,_2c){ +with(_2b){ +return _pressedColumn; +} +}),new objj_method(sel_getUid("draggedDistance"),function(_2d,_2e){ +with(_2d){ +return _draggedDistance; +} +}),new objj_method(sel_getUid("tableView"),function(_2f,_30){ +with(_2f){ +return _tableView; +} +}),new objj_method(sel_getUid("setTableView:"),function(_31,_32,_33){ +with(_31){ +_tableView=_33; +} +}),new objj_method(sel_getUid("_init"),function(_34,_35){ +with(_34){ +_resizedColumn=-1; +_draggedColumn=-1; +_pressedColumn=-1; +_draggedDistance=0; +_lastLocation=nil; +_columnOldWidth=nil; +objj_msgSend(_34,"setBackgroundColor:",objj_msgSend(CPColor,"colorWithPatternImage:",CPAppKitImage("tableview-headerview.png",CGSizeMake(1,22)))); +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_36,_37,_38){ +with(_36){ +_36=objj_msgSendSuper({receiver:_36,super_class:objj_getClass("CPTableHeaderView").super_class},"initWithFrame:",_38); +if(_36){ +objj_msgSend(_36,"_init"); +} +return _36; +} +}),new objj_method(sel_getUid("columnAtPoint:"),function(_39,_3a,_3b){ +with(_39){ +return objj_msgSend(_tableView,"columnAtPoint:",CGPointMake(_3b.x,0)); +} +}),new objj_method(sel_getUid("headerRectOfColumn:"),function(_3c,_3d,_3e){ +with(_3c){ +var _3f=objj_msgSend(_tableView,"tableColumns"); +if(_3e<0||_3e>objj_msgSend(_3f,"count")){ +objj_msgSend(CPException,"raise:reason:","invalid","tried to get headerRectOfColumn: on invalid column"); +} +var _40=_tableView._tableColumnRanges[_3e],_41=objj_msgSend(_3c,"bounds"); +var _42=ROUND(_40.location); +_41.origin.x=_42; +_41.size.width=FLOOR(_40.length+_40.location-_42); +return _41; +} +}),new objj_method(sel_getUid("_cursorRectForColumn:"),function(_43,_44,_45){ +with(_43){ +if(_45==-1||!(objj_msgSend(_tableView._tableColumns[_45],"resizingMask")&CPTableColumnUserResizingMask)){ +return CGRectMakeZero(); +} +var _46=objj_msgSend(_43,"headerRectOfColumn:",_45); +_46.origin.x=CGRectGetMaxX(_46)-5; +_46.size.width=20; +return _46; +} +}),new objj_method(sel_getUid("_setPressedColumn:"),function(_47,_48,_49){ +with(_47){ +if(_pressedColumn!=-1){ +var _4a=objj_msgSend(_tableView._tableColumns[_pressedColumn],"headerView"); +objj_msgSend(_4a,"unsetThemeState:",CPThemeStateHighlighted); +} +if(_49!=-1){ +var _4a=objj_msgSend(_tableView._tableColumns[_49],"headerView"); +objj_msgSend(_4a,"setThemeState:",CPThemeStateHighlighted); +} +_pressedColumn=_49; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_4b,_4c,_4d){ +with(_4b){ +var _4e=objj_msgSend(_4b,"convertPoint:fromView:",objj_msgSend(_4d,"locationInWindow"),nil),_4f=objj_msgSend(_4b,"columnAtPoint:",_4e); +objj_msgSend(_tableView,"_sendDelegateDidMouseDownInHeader:",_4f); +var _50=CGPointMake(_4e.x-5,_4e.y),_51=objj_msgSend(_4b,"columnAtPoint:",_50); +if(_51==-1){ +return; +} +if(objj_msgSend(_tableView,"allowsColumnResizing")&&CGRectContainsPoint(objj_msgSend(_4b,"_cursorRectForColumn:",_51),_4e)){ +_resizedColumn=_51; +objj_msgSend(_tableView._tableColumns[_resizedColumn],"setDisableResizingPosting:",YES); +objj_msgSend(_tableView,"setDisableAutomaticResizing:",YES); +objj_msgSend(_4b,"trackResizeWithEvent:",_4d); +}else{ +objj_msgSend(_4b,"_setPressedColumn:",_4f); +objj_msgSend(_4b,"trackMouseWithEvent:",_4d); +} +} +}),new objj_method(sel_getUid("trackMouseWithEvent:"),function(_52,_53,_54){ +with(_52){ +var _55=objj_msgSend(_54,"type"); +if(_55==CPLeftMouseUp){ +var _56=objj_msgSend(_52,"convertPoint:fromView:",objj_msgSend(_54,"locationInWindow"),nil),_57=objj_msgSend(_52,"columnAtPoint:",_56); +objj_msgSend(_52,"_setPressedColumn:",-1); +if(_57!=-1){ +objj_msgSend(_tableView,"_didClickTableColumn:modifierFlags:",_57,objj_msgSend(_54,"modifierFlags")); +} +return; +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_52,sel_getUid("trackMouseWithEvent:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask|CPLeftMouseDownMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("trackResizeWithEvent:"),function(_58,_59,_5a){ +with(_58){ +var _5b=objj_msgSend(_58,"convertPoint:fromView:",objj_msgSend(_5a,"locationInWindow"),nil),_5c=objj_msgSend(objj_msgSend(_tableView,"tableColumns"),"objectAtIndex:",_resizedColumn),_5d=objj_msgSend(_5a,"type"); +if(_lastLocation==nil){ +_lastLocation=_5b; +} +if(_columnOldWidth==nil){ +_columnOldWidth=objj_msgSend(_5c,"width"); +} +if(_5d===CPLeftMouseUp){ +objj_msgSend(_58,"_updateResizeCursor:",_5a); +objj_msgSend(_5c,"_postDidResizeNotificationWithOldWidth:",_columnOldWidth); +objj_msgSend(_5c,"setDisableResizingPosting:",NO); +objj_msgSend(_tableView,"setDisableAutomaticResizing:",NO); +_resizedColumn=-1; +_lastLocation=nil; +_columnOldWidth=nil; +return; +}else{ +if(_5d===CPLeftMouseDragged){ +var _5e=objj_msgSend(_5c,"width")+_5b.x-_lastLocation.x; +if(_5eobjj_msgSend(_5c,"maxWidth")){ +objj_msgSend(objj_msgSend(CPCursor,"resizeLeftCursor"),"set"); +}else{ +_tableView._lastColumnShouldSnap=NO; +objj_msgSend(_5c,"setWidth:",_5e); +_lastLocation=_5b; +objj_msgSend(objj_msgSend(CPCursor,"resizeLeftRightCursor"),"set"); +objj_msgSend(_58,"setNeedsLayout"); +objj_msgSend(_58,"setNeedsDisplay:",YES); +} +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_58,sel_getUid("trackResizeWithEvent:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("_updateResizeCursor:"),function(_5f,_60,_61){ +with(_5f){ +if(!objj_msgSend(_tableView,"allowsColumnResizing")||(objj_msgSend(_61,"type")===CPLeftMouseUp&&!objj_msgSend(objj_msgSend(_5f,"window"),"acceptsMouseMovedEvents"))){ +objj_msgSend(objj_msgSend(CPCursor,"arrowCursor"),"set"); +return; +} +var _62=objj_msgSend(_5f,"convertPoint:fromView:",objj_msgSend(_61,"locationInWindow"),nil),_63=CGPointMake(_62.x-5,_62.y),_64=objj_msgSend(_5f,"columnAtPoint:",_63); +if(_64>=0&&CGRectContainsPoint(objj_msgSend(_5f,"_cursorRectForColumn:",_64),_62)){ +var _65=objj_msgSend(objj_msgSend(_tableView,"tableColumns"),"objectAtIndex:",_64),_66=objj_msgSend(_65,"width"); +if(_66==objj_msgSend(_65,"minWidth")){ +objj_msgSend(objj_msgSend(CPCursor,"resizeRightCursor"),"set"); +}else{ +if(_66==objj_msgSend(_65,"maxWidth")){ +objj_msgSend(objj_msgSend(CPCursor,"resizeLeftCursor"),"set"); +}else{ +objj_msgSend(objj_msgSend(CPCursor,"resizeLeftRightCursor"),"set"); +} +} +}else{ +objj_msgSend(objj_msgSend(CPCursor,"arrowCursor"),"set"); +} +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_67,_68){ +with(_67){ +} +}),new objj_method(sel_getUid("mouseEntered:"),function(_69,_6a,_6b){ +with(_69){ +objj_msgSend(_69,"_updateResizeCursor:",_6b); +} +}),new objj_method(sel_getUid("mouseMoved:"),function(_6c,_6d,_6e){ +with(_6c){ +objj_msgSend(_6c,"_updateResizeCursor:",_6e); +} +}),new objj_method(sel_getUid("mouseExited:"),function(_6f,_70,_71){ +with(_6f){ +objj_msgSend(objj_msgSend(CPCursor,"arrowCursor"),"set"); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_72,_73){ +with(_72){ +var _74=objj_msgSend(_tableView,"tableColumns"),_75=objj_msgSend(_74,"count"); +for(var i=0;i<_75;i++){ +var _76=objj_msgSend(_74,"objectAtIndex:",i),_77=objj_msgSend(_76,"headerView"); +var _78=objj_msgSend(_72,"headerRectOfColumn:",i); +_78.size.height-=0.5; +if(i>0){ +_78.origin.x+=0.5; +_78.size.width-=1; +} +objj_msgSend(_77,"setFrame:",_78); +if(objj_msgSend(_77,"superview")!=_72){ +objj_msgSend(_72,"addSubview:",_77); +} +} +} +}),new objj_method(sel_getUid("drawRect:"),function(_79,_7a,_7b){ +with(_79){ +if(!_tableView){ +return; +} +var _7c=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_7d=objj_msgSend(_tableView,"columnIndexesInRect:",_7b),_7e=[],_7f=objj_msgSend(_tableView,"tableColumns"),_80=_tableView._exposedColumns,_81=objj_msgSend(_80,"firstIndex"),_82=CPMakeRange(_81,objj_msgSend(_80,"lastIndex")-_81+1); +CGContextSetLineWidth(_7c,1); +CGContextSetStrokeColor(_7c,objj_msgSend(_tableView,"gridColor")); +objj_msgSend(_7d,"getIndexes:maxCount:inIndexRange:",_7e,-1,_82); +var _83=0,_84=_7e.length,_85; +CGContextBeginPath(_7c); +for(;_83<_84;_83++){ +var _86=_7e[_83],_87=objj_msgSend(_79,"headerRectOfColumn:",_86); +_85=CGRectGetMaxX(_87); +CGContextMoveToPoint(_7c,ROUND(_85)+0.5,ROUND(CGRectGetMinY(_87))); +CGContextAddLineToPoint(_7c,ROUND(_85)+0.5,ROUND(CGRectGetMaxY(_87))); +} +CGContextClosePath(_7c); +CGContextStrokePath(_7c); +} +})]); +var _88="CPTableHeaderViewTableViewKey"; +var _1=objj_getClass("CPTableHeaderView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTableHeaderView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_89,_8a,_8b){ +with(_89){ +if(_89=objj_msgSendSuper({receiver:_89,super_class:objj_getClass("CPTableHeaderView").super_class},"initWithCoder:",_8b)){ +objj_msgSend(_89,"_init"); +_tableView=objj_msgSend(_8b,"decodeObjectForKey:",_88); +} +return _89; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_8c,_8d,_8e){ +with(_8c){ +objj_msgSendSuper({receiver:_8c,super_class:objj_getClass("CPTableHeaderView").super_class},"encodeWithCoder:",_8e); +objj_msgSend(_8e,"encodeObject:forKey:",_tableView,_88); +} +})]); +p;13;CPTableView.jt;85667;@STATIC;1.0;I;20;Foundation/CPArray.jI;19;AppKit/CGGradient.ji;11;CPControl.ji;15;CPTableColumn.ji;15;_CPCornerView.ji;12;CPScroller.jt;85525; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("AppKit/CGGradient.j",NO); +objj_executeFile("CPControl.j",YES); +objj_executeFile("CPTableColumn.j",YES); +objj_executeFile("_CPCornerView.j",YES); +objj_executeFile("CPScroller.j",YES); +CPTableViewColumnDidMoveNotification="CPTableViewColumnDidMoveNotification"; +CPTableViewColumnDidResizeNotification="CPTableViewColumnDidResizeNotification"; +CPTableViewSelectionDidChangeNotification="CPTableViewSelectionDidChangeNotification"; +CPTableViewSelectionIsChangingNotification="CPTableViewSelectionIsChangingNotification"; +var _1=1<<2,_2=1<<3,_3=1<<4,_4=1<<5,_5=1<<6,_6=1<<7; +var _7=1<<0,_8=1<<1,_9=1<<2,_a=1<<3,_b=1<<4,_c=1<<5,_d=1<<6,_e=1<<7,_f=1<<8,_10=1<<9,_11=1<<10,_12=1<<11,_13=1<<12,_14=1<<13,_15=1<<14,_16=1<<15,_17=1<<16,_18=1<<17,_19=1<<18,_1a=1<<19; +CPTableViewDraggingDestinationFeedbackStyleNone=-1; +CPTableViewDraggingDestinationFeedbackStyleRegular=0; +CPTableViewDraggingDestinationFeedbackStyleSourceList=1; +CPTableViewDropOn=0; +CPTableViewDropAbove=1; +CPTableViewSelectionHighlightStyleNone=-1; +CPTableViewSelectionHighlightStyleRegular=0; +CPTableViewSelectionHighlightStyleSourceList=1; +CPTableViewGridNone=0; +CPTableViewSolidVerticalGridLineMask=1<<0; +CPTableViewSolidHorizontalGridLineMask=1<<1; +CPTableViewNoColumnAutoresizing=0; +CPTableViewUniformColumnAutoresizingStyle=1; +CPTableViewSequentialColumnAutoresizingStyle=2; +CPTableViewReverseSequentialColumnAutoresizingStyle=3; +CPTableViewLastColumnOnlyAutoresizingStyle=4; +CPTableViewFirstColumnOnlyAutoresizingStyle=5; +var _1b=objj_allocateClassPair(CPView,"_CPTableDrawView"),_1c=_1b.isa; +class_addIvars(_1b,[new objj_ivar("_tableView")]); +objj_registerClassPair(_1b); +class_addMethods(_1b,[new objj_method(sel_getUid("initWithTableView:"),function(_1d,_1e,_1f){ +with(_1d){ +_1d=objj_msgSendSuper({receiver:_1d,super_class:objj_getClass("_CPTableDrawView").super_class},"init"); +if(_1d){ +_tableView=_1f; +} +return _1d; +} +}),new objj_method(sel_getUid("drawRect:"),function(_20,_21,_22){ +with(_20){ +var _23=objj_msgSend(_20,"frame"),_24=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextTranslateCTM(_24,-(_23.origin.x),-(_23.origin.y)); +objj_msgSend(_tableView,"_drawRect:",_22); +} +})]); +var _1b=objj_allocateClassPair(CPControl,"CPTableView"),_1c=_1b.isa; +class_addIvars(_1b,[new objj_ivar("_dataSource"),new objj_ivar("_implementedDataSourceMethods"),new objj_ivar("_delegate"),new objj_ivar("_implementedDelegateMethods"),new objj_ivar("_tableColumns"),new objj_ivar("_tableColumnRanges"),new objj_ivar("_dirtyTableColumnRangeIndex"),new objj_ivar("_numberOfHiddenColumns"),new objj_ivar("_reloadAllRows"),new objj_ivar("_objectValues"),new objj_ivar("_exposedRows"),new objj_ivar("_exposedColumns"),new objj_ivar("_dataViewsForTableColumns"),new objj_ivar("_cachedDataViews"),new objj_ivar("_allowsColumnReordering"),new objj_ivar("_allowsColumnResizing"),new objj_ivar("_allowsColumnSelection"),new objj_ivar("_allowsMultipleSelection"),new objj_ivar("_allowsEmptySelection"),new objj_ivar("_sortDescriptors"),new objj_ivar("_intercellSpacing"),new objj_ivar("_rowHeight"),new objj_ivar("_usesAlternatingRowBackgroundColors"),new objj_ivar("_alternatingRowBackgroundColors"),new objj_ivar("_selectionHighlightStyle"),new objj_ivar("_currentHighlightedTableColumn"),new objj_ivar("_gridStyleMask"),new objj_ivar("_gridColor"),new objj_ivar("_numberOfRows"),new objj_ivar("_headerView"),new objj_ivar("_cornerView"),new objj_ivar("_selectedColumnIndexes"),new objj_ivar("_selectedRowIndexes"),new objj_ivar("_selectionAnchorRow"),new objj_ivar("_lastSelectedRow"),new objj_ivar("_previouslySelectedRowIndexes"),new objj_ivar("_startTrackingPoint"),new objj_ivar("_startTrackingTimestamp"),new objj_ivar("_trackingPointMovedOutOfClickSlop"),new objj_ivar("_editingCellIndex"),new objj_ivar("_tableDrawView"),new objj_ivar("_doubleAction"),new objj_ivar("_columnAutoResizingStyle"),new objj_ivar("_originalMouseDownPoint"),new objj_ivar("_verticalMotionCanDrag"),new objj_ivar("_destinationDragStyle"),new objj_ivar("_isSelectingSession"),new objj_ivar("_draggedRowIndexes"),new objj_ivar("_dropOperationFeedbackView"),new objj_ivar("_dragOperationDefaultMask"),new objj_ivar("_retargetedDropRow"),new objj_ivar("_retargetedDropOperation"),new objj_ivar("_disableAutomaticResizing"),new objj_ivar("_lastColumnShouldSnap"),new objj_ivar("_sourceListActiveGradient"),new objj_ivar("_sourceListActiveTopLineColor"),new objj_ivar("_sourceListActiveBottomLineColor")]); +objj_registerClassPair(_1b); +class_addMethods(_1b,[new objj_method(sel_getUid("disableAutomaticResizing"),function(_25,_26){ +with(_25){ +return _disableAutomaticResizing; +} +}),new objj_method(sel_getUid("setDisableAutomaticResizing:"),function(_27,_28,_29){ +with(_27){ +_disableAutomaticResizing=_29; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_2a,_2b,_2c){ +with(_2a){ +_2a=objj_msgSendSuper({receiver:_2a,super_class:objj_getClass("CPTableView").super_class},"initWithFrame:",_2c); +if(_2a){ +_allowsColumnReordering=YES; +_allowsColumnResizing=YES; +_allowsMultipleSelection=NO; +_allowsEmptySelection=YES; +_allowsColumnSelection=NO; +_disableAutomaticResizing=NO; +_tableViewFlags=0; +_selectionHighlightStyle=CPTableViewSelectionHighlightStyleRegular; +objj_msgSend(_2a,"setUsesAlternatingRowBackgroundColors:",NO); +objj_msgSend(_2a,"setAlternatingRowBackgroundColors:",[objj_msgSend(CPColor,"whiteColor"),objj_msgSend(CPColor,"colorWithHexString:","f5f9fc")]); +_tableColumns=[]; +_tableColumnRanges=[]; +_dirtyTableColumnRangeIndex=CPNotFound; +_numberOfHiddenColumns=0; +_objectValues={}; +_dataViewsForTableColumns={}; +_dataViews=[]; +_numberOfRows=0; +_exposedRows=objj_msgSend(CPIndexSet,"indexSet"); +_exposedColumns=objj_msgSend(CPIndexSet,"indexSet"); +_cachedDataViews={}; +_intercellSpacing={width:0,height:0}; +_rowHeight=23; +objj_msgSend(_2a,"setGridColor:",objj_msgSend(CPColor,"colorWithHexString:","dce0e2")); +objj_msgSend(_2a,"setGridStyleMask:",CPTableViewGridNone); +_headerView=objj_msgSend(objj_msgSend(CPTableHeaderView,"alloc"),"initWithFrame:",CGRectMake(0,0,objj_msgSend(_2a,"bounds").size.width,_rowHeight)); +objj_msgSend(_headerView,"setTableView:",_2a); +_cornerView=objj_msgSend(objj_msgSend(_CPCornerView,"alloc"),"initWithFrame:",CGRectMake(0,0,objj_msgSend(CPScroller,"scrollerWidth"),CGRectGetHeight(objj_msgSend(_headerView,"frame")))); +_lastSelectedRow=-1; +_selectedColumnIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_selectedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_currentHighlightedTableColumn=nil; +_sortDescriptors=objj_msgSend(CPArray,"array"); +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_verticalMotionCanDrag=YES; +_isSelectingSession=NO; +_retargetedDropRow=nil; +_retargetedDropOperation=nil; +_dragOperationDefaultMask=nil; +_destinationDragStyle=CPTableViewDraggingDestinationFeedbackStyleRegular; +_tableDrawView=objj_msgSend(objj_msgSend(_CPTableDrawView,"alloc"),"initWithTableView:",_2a); +objj_msgSend(_tableDrawView,"setBackgroundColor:",objj_msgSend(CPColor,"clearColor")); +objj_msgSend(_2a,"addSubview:",_tableDrawView); +objj_msgSend(_2a,"_init"); +} +return _2a; +} +}),new objj_method(sel_getUid("_init"),function(_2d,_2e){ +with(_2d){ +_dropOperationFeedbackView=objj_msgSend(objj_msgSend(_dropOperationDrawingView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_dropOperationFeedbackView,"setTableView:",_2d); +_lastColumnShouldSnap=NO; +_backgroundColor=objj_msgSend(CPColor,"whiteColor"); +_sourceListActiveGradient=CGGradientCreateWithColorComponents(CGColorSpaceCreateDeviceRGB(),[89/255,153/255,209/255,1,33/255,94/255,208/255,1],[0,1],2); +_sourceListActiveTopLineColor=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",(61/255),(123/255),(218/255),1); +_sourceListActiveBottomLineColor=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",(31/255),(92/255),(207/255),1); +} +}),new objj_method(sel_getUid("setDataSource:"),function(_2f,_30,_31){ +with(_2f){ +if(_dataSource===_31){ +return; +} +_dataSource=_31; +_implementedDataSourceMethods=0; +if(!_dataSource){ +return; +} +if(!objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("numberOfRowsInTableView:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,objj_msgSend(_31,"description")+" does not implement numberOfRowsInTableView:."); +} +if(!objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:objectValueForTableColumn:row:"))){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,objj_msgSend(_31,"description")+" does not implement tableView:objectValueForTableColumn:row:"); +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:setObjectValue:forTableColumn:row:"))){ +_implementedDataSourceMethods|=_1; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:acceptDrop:row:dropOperation:"))){ +_implementedDataSourceMethods|=_2; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:namesOfPromisedFilesDroppedAtDestination:forDraggedRowsWithIndexes:"))){ +_implementedDataSourceMethods|=_3; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:validateDrop:proposedRow:proposedDropOperation:"))){ +_implementedDataSourceMethods|=_4; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:writeRowsWithIndexes:toPasteboard:"))){ +_implementedDataSourceMethods|=_5; +} +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:sortDescriptorsDidChange:"))){ +_implementedDataSourceMethods|=_6; +} +objj_msgSend(_2f,"reloadData"); +} +}),new objj_method(sel_getUid("dataSource"),function(_32,_33){ +with(_32){ +return _dataSource; +} +}),new objj_method(sel_getUid("reloadDataForRowIndexes:columnIndexes:"),function(_34,_35,_36,_37){ +with(_34){ +objj_msgSend(_34,"reloadData"); +} +}),new objj_method(sel_getUid("reloadData"),function(_38,_39){ +with(_38){ +if(!_dataSource){ +return; +} +_reloadAllRows=YES; +_objectValues={}; +objj_msgSend(_38,"noteNumberOfRowsChanged"); +objj_msgSend(_38,"setNeedsLayout"); +objj_msgSend(_38,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("setDoubleAction:"),function(_3a,_3b,_3c){ +with(_3a){ +_doubleAction=_3c; +} +}),new objj_method(sel_getUid("doubleAction"),function(_3d,_3e){ +with(_3d){ +return _doubleAction; +} +}),new objj_method(sel_getUid("setAllowsColumnReordering:"),function(_3f,_40,_41){ +with(_3f){ +_allowsColumnReordering=!!_41; +} +}),new objj_method(sel_getUid("allowsColumnReordering"),function(_42,_43){ +with(_42){ +return _allowsColumnReordering; +} +}),new objj_method(sel_getUid("setAllowsColumnResizing:"),function(_44,_45,_46){ +with(_44){ +_allowsColumnResizing=!!_46; +} +}),new objj_method(sel_getUid("allowsColumnResizing"),function(_47,_48){ +with(_47){ +return _allowsColumnResizing; +} +}),new objj_method(sel_getUid("setAllowsMultipleSelection:"),function(_49,_4a,_4b){ +with(_49){ +_allowsMultipleSelection=!!_4b; +} +}),new objj_method(sel_getUid("allowsMultipleSelection"),function(_4c,_4d){ +with(_4c){ +return _allowsMultipleSelection; +} +}),new objj_method(sel_getUid("setAllowsEmptySelection:"),function(_4e,_4f,_50){ +with(_4e){ +_allowsEmptySelection=!!_50; +} +}),new objj_method(sel_getUid("allowsEmptySelection"),function(_51,_52){ +with(_51){ +return _allowsEmptySelection; +} +}),new objj_method(sel_getUid("setAllowsColumnSelection:"),function(_53,_54,_55){ +with(_53){ +_allowsColumnSelection=!!_55; +} +}),new objj_method(sel_getUid("allowsColumnSelection"),function(_56,_57){ +with(_56){ +return _allowsColumnSelection; +} +}),new objj_method(sel_getUid("setIntercellSpacing:"),function(_58,_59,_5a){ +with(_58){ +if((_intercellSpacing.width==_5a.width&&_intercellSpacing.height==_5a.height)){ +return; +} +_intercellSpacing={width:_5a.width,height:_5a.height}; +objj_msgSend(_58,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("setThemeState:"),function(_5b,_5c,_5d){ +with(_5b){ +} +}),new objj_method(sel_getUid("intercellSpacing"),function(_5e,_5f){ +with(_5e){ +return {width:_intercellSpacing.width,height:_intercellSpacing.height}; +} +}),new objj_method(sel_getUid("setRowHeight:"),function(_60,_61,_62){ +with(_60){ +_62=+_62; +if(_rowHeight===_62){ +return; +} +_rowHeight=MAX(0,_62); +objj_msgSend(_60,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("rowHeight"),function(_63,_64){ +with(_63){ +return _rowHeight; +} +}),new objj_method(sel_getUid("setUsesAlternatingRowBackgroundColors:"),function(_65,_66,_67){ +with(_65){ +_usesAlternatingRowBackgroundColors=_67; +} +}),new objj_method(sel_getUid("usesAlternatingRowBackgroundColors"),function(_68,_69){ +with(_68){ +return _usesAlternatingRowBackgroundColors; +} +}),new objj_method(sel_getUid("setAlternatingRowBackgroundColors:"),function(_6a,_6b,_6c){ +with(_6a){ +if(objj_msgSend(_alternatingRowBackgroundColors,"isEqual:",_6c)){ +return; +} +_alternatingRowBackgroundColors=_6c; +objj_msgSend(_6a,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("alternatingRowBackgroundColors"),function(_6d,_6e){ +with(_6d){ +return _alternatingRowBackgroundColors; +} +}),new objj_method(sel_getUid("selectionHighlightStyle"),function(_6f,_70){ +with(_6f){ +return _selectionHighlightStyle; +} +}),new objj_method(sel_getUid("setSelectionHighlightStyle:"),function(_71,_72,_73){ +with(_71){ +if(_73==CPTableViewSelectionHighlightStyleSourceList&&!CPFeatureIsCompatible(CPHTMLCanvasFeature)){ +return; +} +_selectionHighlightStyle=_73; +if(_73===CPTableViewSelectionHighlightStyleSourceList){ +_destinationDragStyle=CPTableViewDraggingDestinationFeedbackStyleSourceList; +}else{ +_destinationDragStyle=CPTableViewDraggingDestinationFeedbackStyleRegular; +} +} +}),new objj_method(sel_getUid("setGridColor:"),function(_74,_75,_76){ +with(_74){ +if(_gridColor===_76){ +return; +} +_gridColor=_76; +objj_msgSend(_74,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("gridColor"),function(_77,_78){ +with(_77){ +return _gridColor; +} +}),new objj_method(sel_getUid("setGridStyleMask:"),function(_79,_7a,_7b){ +with(_79){ +if(_gridStyleMask===_7b){ +return; +} +_gridStyleMask=_7b; +objj_msgSend(_79,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("gridStyleMask"),function(_7c,_7d){ +with(_7c){ +return _gridStyleMask; +} +}),new objj_method(sel_getUid("addTableColumn:"),function(_7e,_7f,_80){ +with(_7e){ +objj_msgSend(_tableColumns,"addObject:",_80); +objj_msgSend(_80,"setTableView:",_7e); +if(_dirtyTableColumnRangeIndex<0){ +_dirtyTableColumnRangeIndex=(_tableColumns.length)-1; +}else{ +_dirtyTableColumnRangeIndex=MIN((_tableColumns.length)-1,_dirtyTableColumnRangeIndex); +} +objj_msgSend(_7e,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("removeTableColumn:"),function(_81,_82,_83){ +with(_81){ +if(objj_msgSend(_83,"tableView")!==_81){ +return; +} +var _84=objj_msgSend(_tableColumns,"indexOfObjectIdenticalTo:",_83); +if(_84===CPNotFound){ +return; +} +objj_msgSend(_83,"setTableView:",nil); +objj_msgSend(_tableColumns,"removeObjectAtIndex:",_84); +var _85=objj_msgSend(_83,"UID"); +if(_objectValues[_85]){ +_objectValues[_85]=nil; +} +if(_dirtyTableColumnRangeIndex<0){ +_dirtyTableColumnRangeIndex=_84; +}else{ +_dirtyTableColumnRangeIndex=MIN(_84,_dirtyTableColumnRangeIndex); +} +objj_msgSend(_81,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("moveColumn:toColumn:"),function(_86,_87,_88,_89){ +with(_86){ +_88=+_88; +_89=+_89; +if(_88===_89){ +return; +} +if(_dirtyTableColumnRangeIndex<0){ +_dirtyTableColumnRangeIndex=MIN(_88,_89); +}else{ +_dirtyTableColumnRangeIndex=MIN(_88,_89,_dirtyTableColumnRangeIndex); +} +if(_89>_88){ +--_89; +} +var _8a=_tableColumns[_88]; +objj_msgSend(_tableColumns,"removeObjectAtIndex:",_88); +objj_msgSend(_tableColumns,"insertObject:atIndex:",_8a,_89); +objj_msgSend(_86,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("tableColumns"),function(_8b,_8c){ +with(_8b){ +return _tableColumns; +} +}),new objj_method(sel_getUid("columnWithIdentifier:"),function(_8d,_8e,_8f){ +with(_8d){ +var _90=0,_91=(_tableColumns.length); +for(;_90<_91;++_90){ +if(objj_msgSend(_tableColumns[_90],"identifier")===_8f){ +return _90; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("tableColumnWithIdentifier:"),function(_92,_93,_94){ +with(_92){ +var _95=objj_msgSend(_92,"columnWithIdentifier:",_94); +if(_95===CPNotFound){ +return nil; +} +return _tableColumns[_95]; +} +}),new objj_method(sel_getUid("selectColumnIndexes:byExtendingSelection:"),function(_96,_97,_98,_99){ +with(_96){ +if((objj_msgSend(_98,"firstIndex")!=CPNotFound&&objj_msgSend(_98,"firstIndex")<0)||objj_msgSend(_98,"lastIndex")>=objj_msgSend(_96,"numberOfColumns")){ +return; +} +if(objj_msgSend(_selectedRowIndexes,"count")>0){ +objj_msgSend(_96,"_updateHighlightWithOldRows:newRows:",_selectedRowIndexes,objj_msgSend(CPIndexSet,"indexSet")); +_selectedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +} +var _9a=objj_msgSend(_selectedColumnIndexes,"copy"); +if(_99){ +objj_msgSend(_selectedColumnIndexes,"addIndexes:",_98); +}else{ +_selectedColumnIndexes=objj_msgSend(_98,"copy"); +} +objj_msgSend(_96,"_updateHighlightWithOldColumns:newColumns:",_9a,_selectedColumnIndexes); +objj_msgSend(_tableDrawView,"display"); +if(_headerView){ +objj_msgSend(_headerView,"setNeedsDisplay:",YES); +} +objj_msgSend(_96,"_noteSelectionDidChange"); +} +}),new objj_method(sel_getUid("selectRowIndexes:byExtendingSelection:"),function(_9b,_9c,_9d,_9e){ +with(_9b){ +if(objj_msgSend(_9d,"isEqualToIndexSet:",_selectedRowIndexes)||((objj_msgSend(_9d,"firstIndex")!=CPNotFound&&objj_msgSend(_9d,"firstIndex")<0)||objj_msgSend(_9d,"lastIndex")>=objj_msgSend(_9b,"numberOfRows"))){ +return; +} +if(objj_msgSend(_selectedColumnIndexes,"count")>0){ +objj_msgSend(_9b,"_updateHighlightWithOldColumns:newColumns:",_selectedColumnIndexes,objj_msgSend(CPIndexSet,"indexSet")); +_selectedColumnIndexes=objj_msgSend(CPIndexSet,"indexSet"); +if(_headerView){ +objj_msgSend(_headerView,"setNeedsDisplay:",YES); +} +} +var _9f=objj_msgSend(_selectedRowIndexes,"copy"); +if(_9e){ +objj_msgSend(_selectedRowIndexes,"addIndexes:",_9d); +}else{ +_selectedRowIndexes=objj_msgSend(_9d,"copy"); +} +objj_msgSend(_9b,"_updateHighlightWithOldRows:newRows:",_9f,_selectedRowIndexes); +objj_msgSend(_tableDrawView,"display"); +objj_msgSend(_9b,"_noteSelectionDidChange"); +} +}),new objj_method(sel_getUid("_updateHighlightWithOldRows:newRows:"),function(_a0,_a1,_a2,_a3){ +with(_a0){ +var _a4=objj_msgSend(_exposedRows,"firstIndex"),_a5=objj_msgSend(_exposedRows,"lastIndex")-_a4+1,_a6=[],_a7=[],_a8=objj_msgSend(_a2,"copy"),_a9=objj_msgSend(_a3,"copy"); +objj_msgSend(_a8,"removeMatches:",_a9); +objj_msgSend(_a8,"getIndexes:maxCount:inIndexRange:",_a6,-1,CPMakeRange(_a4,_a5)); +objj_msgSend(_a9,"getIndexes:maxCount:inIndexRange:",_a7,-1,CPMakeRange(_a4,_a5)); +for(var _aa in _dataViewsForTableColumns){ +var _ab=_dataViewsForTableColumns[_aa]; +var _ac=_a6.length; +while(_ac--){ +var _ad=_a6[_ac]; +var _ae=_ab[_ad]; +objj_msgSend(_ae,"unsetThemeState:",CPThemeStateSelected); +} +_ac=_a7.length; +while(_ac--){ +var _ad=_a7[_ac]; +var _ae=_ab[_ad]; +objj_msgSend(_ae,"setThemeState:",CPThemeStateSelected); +} +} +} +}),new objj_method(sel_getUid("_updateHighlightWithOldColumns:newColumns:"),function(_af,_b0,_b1,_b2){ +with(_af){ +var _b3=objj_msgSend(_exposedColumns,"firstIndex"),_b4=objj_msgSend(_exposedColumns,"lastIndex")-_b3+1,_b5=[],_b6=[],_b7=objj_msgSend(_b1,"copy"),_b8=objj_msgSend(_b2,"copy"),_b9=[]; +objj_msgSend(_b7,"removeMatches:",_b8); +objj_msgSend(_b7,"getIndexes:maxCount:inIndexRange:",_b5,-1,CPMakeRange(_b3,_b4)); +objj_msgSend(_b8,"getIndexes:maxCount:inIndexRange:",_b6,-1,CPMakeRange(_b3,_b4)); +objj_msgSend(_exposedRows,"getIndexes:maxCount:inIndexRange:",_b9,-1,nil); +var _ba=_b9.length,_bb=_b5.length; +while(_bb--){ +var _bc=_b5[_bb],_bd=objj_msgSend(_tableColumns[_bc],"UID"),_be=_dataViewsForTableColumns[_bd]; +for(var i=0;i<_ba;i++){ +var _bf=_b9[i],_c0=_be[_bf]; +objj_msgSend(_c0,"unsetThemeState:",CPThemeStateSelected); +} +if(_headerView){ +var _c1=objj_msgSend(_tableColumns[_bc],"headerView"); +objj_msgSend(_c1,"unsetThemeState:",CPThemeStateSelected); +} +} +_bb=_b6.length; +while(_bb--){ +var _bc=_b6[_bb],_bd=objj_msgSend(_tableColumns[_bc],"UID"),_be=_dataViewsForTableColumns[_bd]; +for(var i=0;i<_ba;i++){ +var _bf=_b9[i],_c0=_be[_bf]; +objj_msgSend(_c0,"setThemeState:",CPThemeStateSelected); +} +if(_headerView){ +var _c1=objj_msgSend(_tableColumns[_bc],"headerView"); +objj_msgSend(_c1,"setThemeState:",CPThemeStateSelected); +} +} +} +}),new objj_method(sel_getUid("selectedColumn"),function(_c2,_c3){ +with(_c2){ +objj_msgSend(_selectedColumnIndexes,"lastIndex"); +} +}),new objj_method(sel_getUid("selectedColumnIndexes"),function(_c4,_c5){ +with(_c4){ +return _selectedColumnIndexes; +} +}),new objj_method(sel_getUid("selectedRow"),function(_c6,_c7){ +with(_c6){ +return objj_msgSend(_selectedRowIndexes,"lastIndex"); +} +}),new objj_method(sel_getUid("selectedRowIndexes"),function(_c8,_c9){ +with(_c8){ +return _selectedRowIndexes; +} +}),new objj_method(sel_getUid("deselectColumn:"),function(_ca,_cb,_cc){ +with(_ca){ +var _cd=objj_msgSend(_selectedColumnIndexes,"copy"); +objj_msgSend(_cd,"removeIndex:",_cc); +objj_msgSend(_ca,"selectColumnIndexes:byExtendingSelection:",_cd,NO); +objj_msgSend(_ca,"_noteSelectionDidChange"); +} +}),new objj_method(sel_getUid("deselectRow:"),function(_ce,_cf,_d0){ +with(_ce){ +var _d1=objj_msgSend(_selectedRowIndexes,"copy"); +objj_msgSend(_d1,"removeIndex:",_d0); +objj_msgSend(_ce,"selectRowIndexes:byExtendingSelection:",_d1,NO); +objj_msgSend(_ce,"_noteSelectionDidChange"); +} +}),new objj_method(sel_getUid("numberOfSelectedColumns"),function(_d2,_d3){ +with(_d2){ +return objj_msgSend(_selectedColumnIndexes,"count"); +} +}),new objj_method(sel_getUid("numberOfSelectedRows"),function(_d4,_d5){ +with(_d4){ +return objj_msgSend(_selectedRowIndexes,"count"); +} +}),new objj_method(sel_getUid("isColumnSelected:"),function(_d6,_d7,_d8){ +with(_d6){ +return objj_msgSend(_selectedColumnIndexes,"containsIndex:",_d8); +} +}),new objj_method(sel_getUid("isRowSelected:"),function(_d9,_da,_db){ +with(_d9){ +return objj_msgSend(_selectedRowIndexes,"containsIndex:",_db); +} +}),new objj_method(sel_getUid("deselectAll"),function(_dc,_dd){ +with(_dc){ +objj_msgSend(_dc,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSet"),NO); +objj_msgSend(_dc,"selectColumnIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSet"),NO); +} +}),new objj_method(sel_getUid("numberOfColumns"),function(_de,_df){ +with(_de){ +return (_tableColumns.length); +} +}),new objj_method(sel_getUid("numberOfRows"),function(_e0,_e1){ +with(_e0){ +if(!_dataSource){ +return 0; +} +return objj_msgSend(_dataSource,"numberOfRowsInTableView:",_e0); +} +}),new objj_method(sel_getUid("cornerView"),function(_e2,_e3){ +with(_e2){ +return _cornerView; +} +}),new objj_method(sel_getUid("setCornerView:"),function(_e4,_e5,_e6){ +with(_e4){ +if(_cornerView===_e6){ +return; +} +_cornerView=_e6; +var _e7=objj_msgSend(objj_msgSend(_e4,"superview"),"superview"); +if(objj_msgSend(_e7,"isKindOfClass:",objj_msgSend(CPScrollView,"class"))&&objj_msgSend(_e7,"documentView")===_e4){ +objj_msgSend(_e7,"_updateCornerAndHeaderView"); +} +} +}),new objj_method(sel_getUid("headerView"),function(_e8,_e9){ +with(_e8){ +return _headerView; +} +}),new objj_method(sel_getUid("setHeaderView:"),function(_ea,_eb,_ec){ +with(_ea){ +if(_headerView===_ec){ +return; +} +objj_msgSend(_headerView,"setTableView:",nil); +_headerView=_ec; +if(_headerView){ +objj_msgSend(_headerView,"setTableView:",_ea); +objj_msgSend(_headerView,"setFrameSize:",{width:(objj_msgSend(_ea,"frame").size.width),height:(objj_msgSend(_headerView,"frame").size.height)}); +} +var _ed=objj_msgSend(objj_msgSend(_ea,"superview"),"superview"); +if(objj_msgSend(_ed,"isKindOfClass:",objj_msgSend(CPScrollView,"class"))&&objj_msgSend(_ed,"documentView")===_ea){ +objj_msgSend(_ed,"_updateCornerAndHeaderView"); +} +} +}),new objj_method(sel_getUid("_recalculateTableColumnRanges"),function(_ee,_ef){ +with(_ee){ +if(_dirtyTableColumnRangeIndex<0){ +return; +} +var _f0=_dirtyTableColumnRangeIndex,_f1=(_tableColumns.length),x=_f0===0?0:CPMaxRange(_tableColumnRanges[_f0-1]); +for(;_f0<_f1;++_f0){ +var _f2=_tableColumns[_f0]; +if(objj_msgSend(_f2,"isHidden")){ +_tableColumnRanges[_f0]=CPMakeRange(x,0); +}else{ +var _f3=objj_msgSend(_tableColumns[_f0],"width"); +_tableColumnRanges[_f0]=CPMakeRange(x,_f3); +x+=_f3; +} +} +_tableColumnRanges.length=_f1; +_dirtyTableColumnRangeIndex=CPNotFound; +} +}),new objj_method(sel_getUid("rectOfColumn:"),function(_f4,_f5,_f6){ +with(_f4){ +_f6=+_f6; +if(_f6<0||_f6>=(_tableColumns.length)){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(_f4,"_recalculateTableColumnRanges"); +} +var _f7=_tableColumnRanges[_f6]; +return {origin:{x:_f7.location,y:0},size:{width:_f7.length,height:CGRectGetHeight(objj_msgSend(_f4,"bounds"))}}; +} +}),new objj_method(sel_getUid("rectOfRow:"),function(_f8,_f9,_fa){ +with(_f8){ +if(NO){ +return NULL; +} +return {origin:{x:0,y:(_fa*(_rowHeight+_intercellSpacing.height))},size:{width:(objj_msgSend(_f8,"bounds").size.width),height:_rowHeight}}; +} +}),new objj_method(sel_getUid("rowsInRect:"),function(_fb,_fc,_fd){ +with(_fb){ +if(_numberOfRows<=0){ +return CPMakeRange(0,0); +} +var _fe=objj_msgSend(_fb,"bounds"); +if(!CGRectIntersectsRect(_fd,_fe)){ +return CPMakeRange(0,0); +} +var _ff=objj_msgSend(_fb,"rowAtPoint:",_fd.origin); +if(_ff<0){ +_ff=0; +} +var _100=objj_msgSend(_fb,"rowAtPoint:",{x:0,y:(_fd.origin.y+_fd.size.height)}); +if(_100<0){ +_100=_numberOfRows-1; +} +return CPMakeRange(_ff,_100-_ff+1); +} +}),new objj_method(sel_getUid("columnIndexesInRect:"),function(self,_101,_102){ +with(self){ +var _103=MAX(0,objj_msgSend(self,"columnAtPoint:",{x:_102.origin.x,y:0})),_104=objj_msgSend(self,"columnAtPoint:",{x:(_102.origin.x+_102.size.width),y:0}); +if(_104===CPNotFound){ +_104=(_tableColumns.length)-1; +} +if(_numberOfHiddenColumns<=0){ +return objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(_103,_104-_103+1)); +} +var _105=objj_msgSend(CPIndexSet,"indexSet"); +for(;_103<=_104;++_103){ +var _106=_tableColumns[_103]; +if(!objj_msgSend(_106,"isHidden")){ +objj_msgSend(_105,"addIndex:",_103); +} +} +return _105; +} +}),new objj_method(sel_getUid("columnAtPoint:"),function(self,_107,_108){ +with(self){ +var _109=objj_msgSend(self,"bounds"); +if(!(_108.x>=(_109.origin.x)&&_108.y>=(_109.origin.y)&&_108.x<(_109.origin.x+_109.size.width)&&_108.y<(_109.origin.y+_109.size.height))){ +return CPNotFound; +} +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var x=_108.x,low=0,high=_tableColumnRanges.length-1; +while(low<=high){ +var _10a=FLOOR(low+(high-low)/2),_10b=_tableColumnRanges[_10a]; +if(x<_10b.location){ +high=_10a-1; +}else{ +if(x>=CPMaxRange(_10b)){ +low=_10a+1; +}else{ +var _10c=_tableColumnRanges.length; +while(_10a<_10c&&objj_msgSend(_tableColumns[_10a],"isHidden")){ +++_10a; +} +if(_10a<_10c){ +return _10a; +} +return CPNotFound; +} +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("rowAtPoint:"),function(self,_10d,_10e){ +with(self){ +var y=_10e.y; +var row=FLOOR(y/(_rowHeight+_intercellSpacing.height)); +if(row>=_numberOfRows){ +return -1; +} +return row; +} +}),new objj_method(sel_getUid("frameOfDataViewAtColumn:row:"),function(self,_10f,_110,aRow){ +with(self){ +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _111=_tableColumnRanges[_110],_112=objj_msgSend(self,"rectOfRow:",aRow); +return {origin:{x:_111.location,y:(_112.origin.y)},size:{width:_111.length,height:(_112.size.height)}}; +} +}),new objj_method(sel_getUid("resizeWithOldSuperviewSize:"),function(self,_113,_114){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"resizeWithOldSuperviewSize:",_114); +if(_disableAutomaticResizing){ +return; +} +var mask=_columnAutoResizingStyle; +if(mask===CPTableViewUniformColumnAutoresizingStyle){ +objj_msgSend(self,"_resizeAllColumnUniformlyWithOldSize:",_114); +} +if(mask===CPTableViewLastColumnOnlyAutoresizingStyle){ +objj_msgSend(self,"sizeLastColumnToFit"); +} +if(mask===CPTableViewFirstColumnOnlyAutoresizingStyle){ +var _115=objj_msgSend(self,"superview"); +if(!_115){ +return; +} +var _116=objj_msgSend(_115,"bounds").size; +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _117=(_tableColumns.length); +var _118=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init"); +var _119=0; +for(var i=0;i<_117;i++){ +if(!objj_msgSend(_tableColumns[i],"isHidden")){ +objj_msgSend(_118,"addObject:",i); +_119+=objj_msgSend(_tableColumns[i],"width"); +} +} +_117=objj_msgSend(_118,"count"); +if(_117>0){ +var _11a=_tableColumns[_118[0]]; +var _11b=_116.width-_119; +_11b+=objj_msgSend(_11a,"width"); +_11b=(_11bobjj_msgSend(_11a,"maxWidth"))?objj_msgSend(_11a,"maxWidth"):_11b; +objj_msgSend(_11a,"setWidth:",FLOOR(_11b)); +} +objj_msgSend(self,"setNeedsLayout"); +} +} +}),new objj_method(sel_getUid("_resizeAllColumnUniformlyWithOldSize:"),function(self,_11c,_11d){ +with(self){ +var _11e=objj_msgSend(self,"superview"); +if(!_11e){ +return; +} +var _11f=objj_msgSend(_11e,"bounds").size; +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _120=_tableColumns.length,_121=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init"),_122=0; +for(var i=0;i<_120;i++){ +var _123=_tableColumns[i]; +if(!objj_msgSend(_123,"isHidden")&&(objj_msgSend(_123,"resizingMask")&CPTableColumnAutoresizingMask)){ +objj_msgSend(_121,"addObject:",i); +} +} +_120=objj_msgSend(_121,"count"); +if(_120>0){ +var _124=CGRectGetMaxX(objj_msgSend(self,"rectOfColumn:",_121[_120-1])); +if(!_lastColumnShouldSnap&&(_124>=_11f.width&&_124<=_11d.width||_124<=_11f.width&&_124>=_11d.width)){ +_lastColumnShouldSnap=YES; +objj_msgSend(self,"_resizeAllColumnUniformlyWithOldSize:",CGSizeMake(_124,0)); +} +if(!_lastColumnShouldSnap){ +return; +} +for(var i=0;i<_120;i++){ +var _125=_121[i]; +columnToResize=_tableColumns[_125],currentBuffer=_122/(_120-i),realNewWidth=(objj_msgSend(columnToResize,"width")/_11d.width*objj_msgSend(_11e,"bounds").size.width)+currentBuffer,newWidth=MAX(objj_msgSend(columnToResize,"minWidth"),realNewWidth); +newWidth=MIN(objj_msgSend(columnToResize,"maxWidth"),realNewWidth); +_122-=currentBuffer; +_122+=realNewWidth-newWidth; +objj_msgSend(columnToResize,"setWidth:",newWidth); +} +if(_122!==0){ +_lastColumnShouldSnap=NO; +} +} +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("setColumnAutoresizingStyle:"),function(self,_126,_127){ +with(self){ +_columnAutoResizingStyle=_127; +} +}),new objj_method(sel_getUid("columnAutoresizingStyle"),function(self,_128){ +with(self){ +return _columnAutoResizingStyle; +} +}),new objj_method(sel_getUid("sizeLastColumnToFit"),function(self,_129){ +with(self){ +var _12a=objj_msgSend(self,"superview"); +if(!_12a){ +return; +} +var _12b=objj_msgSend(_12a,"bounds").size; +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _12c=(_tableColumns.length); +while(_12c--&&objj_msgSend(_tableColumns[_12c],"isHidden")){ +} +if(_12c>=0){ +var _12d=_tableColumns[_12c]; +var _12e=MAX(0,_12b.width-CGRectGetMinX(objj_msgSend(self,"rectOfColumn:",_12c))); +if(_12e>0){ +_12e=MAX(objj_msgSend(_12d,"minWidth"),_12e); +_12e=MIN(objj_msgSend(_12d,"maxWidth"),_12e); +objj_msgSend(_12d,"setWidth:",_12e); +} +} +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("noteNumberOfRowsChanged"),function(self,_12f){ +with(self){ +_numberOfRows=objj_msgSend(_dataSource,"numberOfRowsInTableView:",self); +objj_msgSend(self,"tile"); +} +}),new objj_method(sel_getUid("tile"),function(self,_130){ +with(self){ +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _131=_tableColumnRanges.length>0?CPMaxRange(objj_msgSend(_tableColumnRanges,"lastObject")):0,_132=(_rowHeight+_intercellSpacing.height)*_numberOfRows,_133=objj_msgSend(self,"superview"); +if(objj_msgSend(_133,"isKindOfClass:",objj_msgSend(CPClipView,"class"))){ +var _134=objj_msgSend(_133,"bounds").size; +_131=MAX(_134.width,_131); +_132=MAX(_134.height,_132); +} +objj_msgSend(self,"setFrameSize:",{width:_131,height:_132}); +objj_msgSend(self,"setNeedsLayout"); +objj_msgSend(self,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("scrollRowToVisible:"),function(self,_135,_136){ +with(self){ +objj_msgSend(self,"scrollRectToVisible:",objj_msgSend(self,"rectOfRow:",_136)); +} +}),new objj_method(sel_getUid("scrollColumnToVisible:"),function(self,_137,_138){ +with(self){ +objj_msgSend(self,"scrollRectToVisible:",objj_msgSend(self,"rectOfColumn:",_138)); +} +}),new objj_method(sel_getUid("setDelegate:"),function(self,_139,_13a){ +with(self){ +if(_delegate===_13a){ +return; +} +var _13b=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_delegate){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewColumnDidMove:"))){ +objj_msgSend(_13b,"removeObserver:name:object:",_delegate,CPTableViewColumnDidMoveNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewColumnDidResize:"))){ +objj_msgSend(_13b,"removeObserver:name:object:",_delegate,CPTableViewColumnDidResizeNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewSelectionDidChange:"))){ +objj_msgSend(_13b,"removeObserver:name:object:",_delegate,CPTableViewSelectionDidChangeNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewSelectionIsChanging:"))){ +objj_msgSend(_13b,"removeObserver:name:object:",_delegate,CPTableViewSelectionIsChangingNotification,self); +} +} +_delegate=_13a; +_implementedDelegateMethods=0; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("selectionShouldChangeInTableView:"))){ +_implementedDelegateMethods|=_7; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:dataViewForTableColumn:row:"))){ +_implementedDelegateMethods|=_8; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:didClickTableColumn:"))){ +_implementedDelegateMethods|=_9; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:didDragTableColumn:"))){ +_implementedDelegateMethods|=_a; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:heightOfRow:"))){ +_implementedDelegateMethods|=_b; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:isGroupRow:"))){ +_implementedDelegateMethods|=_c; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:mouseDownInHeaderOfTableColumn:"))){ +_implementedDelegateMethods|=_d; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:nextTypeSelectMatchFromRow:toRow:forString:"))){ +_implementedDelegateMethods|=_e; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:selectionIndexesForProposedSelection:"))){ +_implementedDelegateMethods|=_f; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldEditTableColumn:row:"))){ +_implementedDelegateMethods|=_10; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldSelectRow:"))){ +_implementedDelegateMethods|=_11; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldSelectTableColumn:"))){ +_implementedDelegateMethods|=_12; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldShowViewExpansionForTableColumn:row:"))){ +_implementedDelegateMethods|=_13; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldTrackView:forTableColumn:row:"))){ +_implementedDelegateMethods|=_14; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:shouldTypeSelectForEvent:withCurrentSearchString:"))){ +_implementedDelegateMethods|=_15; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:toolTipForView:rect:tableColumn:row:mouseLocation:"))){ +_implementedDelegateMethods|=_16; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:typeSelectStringForTableColumn:row:"))){ +_implementedDelegateMethods|=_17; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableView:willDisplayView:forTableColumn:row:"))){ +_implementedDelegateMethods|=_18; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewColumnDidMove:"))){ +objj_msgSend(_13b,"addObserver:selector:name:object:",_delegate,sel_getUid("tableViewColumnDidMove:"),CPTableViewColumnDidMoveNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewColumnDidResize:"))){ +objj_msgSend(_13b,"addObserver:selector:name:object:",_delegate,sel_getUid("tableViewColumnDidResize:"),CPTableViewColumnDidResizeNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewSelectionDidChange:"))){ +objj_msgSend(_13b,"addObserver:selector:name:object:",_delegate,sel_getUid("tableViewSelectionDidChange:"),CPTableViewSelectionDidChangeNotification,self); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewSelectionIsChanging:"))){ +objj_msgSend(_13b,"addObserver:selector:name:object:",_delegate,sel_getUid("tableViewSelectionIsChanging:"),CPTableViewSelectionIsChangingNotification,self); +} +} +}),new objj_method(sel_getUid("delegate"),function(self,_13c){ +with(self){ +return _delegate; +} +}),new objj_method(sel_getUid("_sendDelegateDidClickColumn:"),function(self,_13d,_13e){ +with(self){ +if(_implementedDelegateMethods&_9){ +objj_msgSend(_delegate,"tableView:didClickTableColumn:",self,_tableColumns[_13e]); +} +} +}),new objj_method(sel_getUid("_sendDelegateDidDragColumn:"),function(self,_13f,_140){ +with(self){ +if(_implementedDelegateMethods&_a){ +objj_msgSend(_delegate,"tableView:didDragTableColumn:",self,_tableColumns[_140]); +} +} +}),new objj_method(sel_getUid("_sendDelegateDidMouseDownInHeader:"),function(self,_141,_142){ +with(self){ +if(_implementedDelegateMethods&_d){ +objj_msgSend(_delegate,"tableView:mouseDownInHeaderOfTableColumn:",self,_tableColumns[_142]); +} +} +}),new objj_method(sel_getUid("_sendDataSourceSortDescriptorsDidChange:"),function(self,_143,_144){ +with(self){ +if(_implementedDataSourceMethods&_6){ +objj_msgSend(_dataSource,"tableView:sortDescriptorsDidChange:",self,_144); +} +} +}),new objj_method(sel_getUid("_didClickTableColumn:modifierFlags:"),function(self,_145,_146,_147){ +with(self){ +objj_msgSend(self,"_sendDelegateDidClickColumn:",_146); +if(_allowsColumnSelection){ +if(_147&CPCommandKeyMask){ +if(objj_msgSend(self,"isColumnSelected:",_146)){ +objj_msgSend(self,"deselectColumn:",_146); +}else{ +if(objj_msgSend(self,"allowsMultipleSelection")==YES){ +objj_msgSend(self,"selectColumnIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_146),YES); +} +} +return; +}else{ +if(_147&CPShiftKeyMask){ +var _148=MIN(_146,objj_msgSend(_selectedColumnIndexes,"lastIndex")),_149=MAX(_146,objj_msgSend(_selectedColumnIndexes,"firstIndex")); +objj_msgSend(self,"selectColumnIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(_148,_149-_148+1)),YES); +return; +}else{ +objj_msgSend(self,"selectColumnIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_146),NO); +} +} +} +objj_msgSend(self,"_changeSortDescriptorsForClickOnColumn:",_146); +} +}),new objj_method(sel_getUid("_changeSortDescriptorsForClickOnColumn:"),function(self,_14a,_14b){ +with(self){ +var _14c=objj_msgSend(_tableColumns,"objectAtIndex:",_14b),_14d=objj_msgSend(_14c,"sortDescriptorPrototype"); +if(!_14d){ +return; +} +var _14e=nil,_14f=objj_msgSend(self,"sortDescriptors"),_150=objj_msgSend(CPArray,"arrayWithArray:",_14f),e=objj_msgSend(_150,"objectEnumerator"),_151=nil,_152=objj_msgSend(CPArray,"array"); +if(objj_msgSend(_sortDescriptors,"count")>0){ +_14e=objj_msgSend(objj_msgSend(self,"sortDescriptors"),"objectAtIndex:",0); +} +while((_151=objj_msgSend(e,"nextObject"))!=nil){ +if(objj_msgSend(objj_msgSend(_151,"key"),"isEqual:",objj_msgSend(_14d,"key"))){ +objj_msgSend(_152,"addObject:",_151); +} +} +if(objj_msgSend(objj_msgSend(_14d,"key"),"isEqual:",objj_msgSend(_14e,"key"))){ +_14d=objj_msgSend(_14e,"reversedSortDescriptor"); +} +objj_msgSend(_150,"removeObjectsInArray:",_152); +objj_msgSend(_150,"insertObject:atIndex:",_14d,0); +var _153=objj_msgSend(_14d,"ascending")?objj_msgSend(CPTableView,"_defaultTableHeaderSortImage"):objj_msgSend(CPTableView,"_defaultTableHeaderReverseSortImage"); +objj_msgSend(self,"setIndicatorImage:inTableColumn:",nil,_currentHighlightedTableColumn); +objj_msgSend(self,"setIndicatorImage:inTableColumn:",_153,_14c); +objj_msgSend(self,"setHighlightedTableColumn:",_14c); +objj_msgSend(self,"setSortDescriptors:",_150); +} +}),new objj_method(sel_getUid("setIndicatorImage:inTableColumn:"),function(self,_154,_155,_156){ +with(self){ +if(_156){ +objj_msgSend(objj_msgSend(_156,"headerView"),"_setIndicatorImage:",_155); +} +} +}),new objj_method(sel_getUid("highlightedTableColumn"),function(self,_157){ +with(self){ +return _currentHighlightedTableColumn; +} +}),new objj_method(sel_getUid("setHighlightedTableColumn:"),function(self,_158,_159){ +with(self){ +if(_currentHighlightedTableColumn==_159){ +return; +} +if(_headerView){ +if(_currentHighlightedTableColumn!=nil){ +objj_msgSend(objj_msgSend(_currentHighlightedTableColumn,"headerView"),"unsetThemeState:",CPThemeStateSelected); +} +if(_159!=nil){ +objj_msgSend(objj_msgSend(_159,"headerView"),"setThemeState:",CPThemeStateSelected); +} +} +_currentHighlightedTableColumn=_159; +} +}),new objj_method(sel_getUid("canDragRowsWithIndexes:atPoint:"),function(self,_15a,_15b,_15c){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("dragImageForRowsWithIndexes:tableColumns:event:offset:"),function(self,_15d,_15e,_15f,_160,_161){ +with(self){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:","Frameworks/AppKit/Resources/GenericFile.png",CGSizeMake(32,32)); +} +}),new objj_method(sel_getUid("dragViewForRowsWithIndexes:tableColumns:event:offset:"),function(self,_162,_163,_164,_165,_166){ +with(self){ +var _167=objj_msgSend(self,"bounds"),view=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",_167); +objj_msgSend(view,"setAlphaValue:",0.7); +var _168=objj_msgSend(_exposedColumns,"firstIndex"),_169=objj_msgSend(_exposedRows,"firstIndex"),_16a=objj_msgSend(_exposedColumns,"lastIndex")-_168+1,_16b=objj_msgSend(_exposedRows,"lastIndex")-_169+1,_16c=[],rows=[]; +objj_msgSend(_exposedColumns,"getIndexes:maxCount:inIndexRange:",_16c,-1,CPMakeRange(_168,_16a)); +objj_msgSend(_163,"getIndexes:maxCount:inIndexRange:",rows,-1,CPMakeRange(_169,_16b)); +var _16d=objj_msgSend(_16c,"count"); +while(_16d--){ +var _16e=_16c[_16d],_16f=objj_msgSend(_tableColumns,"objectAtIndex:",_16e),_170=objj_msgSend(rows,"count"); +while(_170--){ +var row=rows[_170]; +var _171=objj_msgSend(self,"_newDataViewForRow:tableColumn:",row,_16f); +objj_msgSend(_171,"setFrame:",objj_msgSend(self,"frameOfDataViewAtColumn:row:",_16e,row)); +objj_msgSend(_171,"setObjectValue:",objj_msgSend(self,"_objectValueForTableColumn:row:",_16f,row)); +objj_msgSend(view,"addSubview:",_171); +} +} +var _172=objj_msgSend(self,"convertPoint:fromView:",objj_msgSend(_165,"locationInWindow"),nil); +_166.x=CGRectGetWidth(_167)/2-_172.x; +_166.y=CGRectGetHeight(_167)/2-_172.y; +return view; +} +}),new objj_method(sel_getUid("setDraggingSourceOperationMask:forLocal:"),function(self,_173,mask,_174){ +with(self){ +_dragOperationDefaultMask=mask; +} +}),new objj_method(sel_getUid("setDropRow:dropOperation:"),function(self,_175,row,_176){ +with(self){ +if(row>objj_msgSend(self,"numberOfRows")&&_176===CPTableViewDropOn){ +var _177=objj_msgSend(self,"numberOfRows")+1; +var _178="Attempt to set dropRow="+row+" dropOperation=CPTableViewDropOn when [0 - "+_177+"] is valid range of rows."; +objj_msgSend(objj_msgSend(CPException,"exceptionWithName:reason:userInfo:","Error",_178,nil),"raise"); +} +_retargetedDropRow=row; +_retargetedDropOperation=_176; +} +}),new objj_method(sel_getUid("setDraggingDestinationFeedbackStyle:"),function(self,_179,_17a){ +with(self){ +_destinationDragStyle=_17a; +} +}),new objj_method(sel_getUid("draggingDestinationFeedbackStyle"),function(self,_17b){ +with(self){ +return _destinationDragStyle; +} +}),new objj_method(sel_getUid("setVerticalMotionCanBeginDrag:"),function(self,_17c,_17d){ +with(self){ +_verticalMotionCanDrag=_17d; +} +}),new objj_method(sel_getUid("verticalMotionCanBeginDrag"),function(self,_17e){ +with(self){ +return _verticalMotionCanDrag; +} +}),new objj_method(sel_getUid("setSortDescriptors:"),function(self,_17f,_180){ +with(self){ +var _181=objj_msgSend(self,"sortDescriptors"),_182=nil; +if(_180==nil){ +_182=objj_msgSend(CPArray,"array"); +}else{ +_182=objj_msgSend(CPArray,"arrayWithArray:",_180); +} +if(objj_msgSend(_182,"isEqual:",_181)){ +return; +} +_sortDescriptors=_182; +objj_msgSend(self,"_sendDataSourceSortDescriptorsDidChange:",_181); +} +}),new objj_method(sel_getUid("sortDescriptors"),function(self,_183){ +with(self){ +return _sortDescriptors; +} +}),new objj_method(sel_getUid("_objectValueForTableColumn:row:"),function(self,_184,_185,_186){ +with(self){ +var _187=objj_msgSend(_185,"UID"),_188=_objectValues[_187]; +if(!_188){ +_188=[]; +_objectValues[_187]=_188; +} +var _189=_188[_186]; +if(_189===undefined){ +_189=objj_msgSend(_dataSource,"tableView:objectValueForTableColumn:row:",self,_185,_186); +_188[_186]=_189; +} +return _189; +} +}),new objj_method(sel_getUid("_exposedRect"),function(self,_18a){ +with(self){ +var _18b=objj_msgSend(self,"superview"); +if(!objj_msgSend(_18b,"isKindOfClass:",objj_msgSend(CPClipView,"class"))){ +return objj_msgSend(self,"bounds"); +} +return objj_msgSend(self,"convertRect:fromView:",CGRectIntersection(objj_msgSend(_18b,"bounds"),objj_msgSend(self,"frame")),_18b); +} +}),new objj_method(sel_getUid("load"),function(self,_18c){ +with(self){ +if(_reloadAllRows){ +objj_msgSend(self,"_unloadDataViewsInRows:columns:",_exposedRows,_exposedColumns); +_exposedRows=objj_msgSend(CPIndexSet,"indexSet"); +_exposedColumns=objj_msgSend(CPIndexSet,"indexSet"); +_reloadAllRows=NO; +} +var _18d=objj_msgSend(self,"_exposedRect"),_18e=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",objj_msgSend(self,"rowsInRect:",_18d)),_18f=objj_msgSend(self,"columnIndexesInRect:",_18d),_190=objj_msgSend(_exposedRows,"copy"),_191=objj_msgSend(_exposedColumns,"copy"); +objj_msgSend(_190,"removeIndexes:",_18e); +objj_msgSend(_191,"removeIndexes:",_18f); +var _192=objj_msgSend(_18e,"copy"),_193=objj_msgSend(_18f,"copy"); +objj_msgSend(_192,"removeIndexes:",_exposedRows); +objj_msgSend(_193,"removeIndexes:",_exposedColumns); +var _194=objj_msgSend(_18e,"copy"),_195=objj_msgSend(_18f,"copy"); +objj_msgSend(_194,"removeIndexes:",_192); +objj_msgSend(_195,"removeIndexes:",_193); +objj_msgSend(self,"_unloadDataViewsInRows:columns:",_194,_191); +objj_msgSend(self,"_unloadDataViewsInRows:columns:",_190,_195); +objj_msgSend(self,"_unloadDataViewsInRows:columns:",_190,_191); +objj_msgSend(self,"_loadDataViewsInRows:columns:",_194,_193); +objj_msgSend(self,"_loadDataViewsInRows:columns:",_192,_195); +objj_msgSend(self,"_loadDataViewsInRows:columns:",_192,_193); +_exposedRows=_18e; +_exposedColumns=_18f; +objj_msgSend(_tableDrawView,"setFrame:",_18d); +objj_msgSend(_tableDrawView,"display"); +for(var _196 in _cachedDataViews){ +var _197=_cachedDataViews[_196],_198=_197.length; +while(_198--){ +objj_msgSend(_197[_198],"removeFromSuperview"); +} +} +} +}),new objj_method(sel_getUid("_unloadDataViewsInRows:columns:"),function(self,_199,rows,_19a){ +with(self){ +if(!objj_msgSend(rows,"count")||!objj_msgSend(_19a,"count")){ +return; +} +var _19b=[],_19c=[]; +objj_msgSend(rows,"getIndexes:maxCount:inIndexRange:",_19b,-1,nil); +objj_msgSend(_19a,"getIndexes:maxCount:inIndexRange:",_19c,-1,nil); +var _19d=0,_19e=_19c.length; +for(;_19d<_19e;++_19d){ +var _19f=_19c[_19d],_1a0=_tableColumns[_19f],_1a1=objj_msgSend(_1a0,"UID"); +var _1a2=0,_1a3=_19b.length; +for(;_1a2<_1a3;++_1a2){ +var row=_19b[_1a2],_1a4=_dataViewsForTableColumns[_1a1][row]; +_dataViewsForTableColumns[_1a1][row]=nil; +objj_msgSend(self,"_enqueueReusableDataView:",_1a4); +} +} +} +}),new objj_method(sel_getUid("_loadDataViewsInRows:columns:"),function(self,_1a5,rows,_1a6){ +with(self){ +if(!objj_msgSend(rows,"count")||!objj_msgSend(_1a6,"count")){ +return; +} +var _1a7=[],_1a8=[],_1a9=[]; +objj_msgSend(rows,"getIndexes:maxCount:inIndexRange:",_1a7,-1,nil); +objj_msgSend(_1a6,"getIndexes:maxCount:inIndexRange:",_1a9,-1,nil); +if(_dirtyTableColumnRangeIndex!==CPNotFound){ +objj_msgSend(self,"_recalculateTableColumnRanges"); +} +var _1aa=0,_1ab=_1a9.length; +for(;_1aa<_1ab;++_1aa){ +var _1ac=_1a9[_1aa],_1ad=_tableColumns[_1ac],_1ae=objj_msgSend(_1ad,"UID"); +if(!_dataViewsForTableColumns[_1ae]){ +_dataViewsForTableColumns[_1ae]=[]; +} +var _1af=0,_1b0=_1a7.length; +var _1b1=objj_msgSend(_selectedColumnIndexes,"containsIndex:",_1ac); +for(;_1af<_1b0;++_1af){ +var row=_1a7[_1af],_1b2=objj_msgSend(self,"_newDataViewForRow:tableColumn:",row,_1ad),_1b3=objj_msgSend(_1b2,"isKindOfClass:",objj_msgSend(CPButton,"class")),_1b4=objj_msgSend(_1b2,"isKindOfClass:",objj_msgSend(CPTextField,"class")); +objj_msgSend(_1b2,"setFrame:",objj_msgSend(self,"frameOfDataViewAtColumn:row:",_1ac,row)); +objj_msgSend(_1b2,"setObjectValue:",objj_msgSend(self,"_objectValueForTableColumn:row:",_1ad,row)); +if(_1b1||objj_msgSend(self,"isRowSelected:",row)){ +objj_msgSend(_1b2,"setThemeState:",CPThemeStateSelected); +}else{ +objj_msgSend(_1b2,"unsetThemeState:",CPThemeStateSelected); +} +if(_implementedDelegateMethods&_18){ +objj_msgSend(_delegate,"tableView:willDisplayView:forTableColumn:row:",self,_1b2,_1ad,row); +} +if(objj_msgSend(_1b2,"superview")!==self){ +objj_msgSend(self,"addSubview:",_1b2); +} +_dataViewsForTableColumns[_1ae][row]=_1b2; +if(_1b3||(_editingCellIndex&&_editingCellIndex.x===_1ac&&_editingCellIndex.y===row)){ +if(!_1b3){ +_editingCellIndex=undefined; +} +if(_1b4){ +objj_msgSend(_1b2,"setEditable:",YES); +objj_msgSend(_1b2,"setSendsActionOnEndEditing:",YES); +objj_msgSend(_1b2,"setSelectable:",YES); +objj_msgSend(_1b2,"selectText:",nil); +} +objj_msgSend(_1b2,"setTarget:",self); +objj_msgSend(_1b2,"setAction:",sel_getUid("_commitDataViewObjectValue:")); +_1b2.tableViewEditedColumnObj=_1ad; +_1b2.tableViewEditedRowIndex=row; +}else{ +if(_1b4){ +objj_msgSend(_1b2,"setEditable:",NO); +objj_msgSend(_1b2,"setSelectable:",NO); +} +} +} +} +} +}),new objj_method(sel_getUid("_layoutDataViewsInRows:columns:"),function(self,_1b5,rows,_1b6){ +with(self){ +var _1b7=[],_1b8=[]; +objj_msgSend(rows,"getIndexes:maxCount:inIndexRange:",_1b7,-1,nil); +objj_msgSend(_1b6,"getIndexes:maxCount:inIndexRange:",_1b8,-1,nil); +var _1b9=0,_1ba=_1b8.length; +for(;_1b9<_1ba;++_1b9){ +var _1bb=_1b8[_1b9],_1bc=_tableColumns[_1bb],_1bd=objj_msgSend(_1bc,"UID"),_1be=_dataViewsForTableColumns[_1bd],_1bf=_tableColumnRanges[_1bb]; +var _1c0=0,_1c1=_1b7.length; +for(;_1c0<_1c1;++_1c0){ +var row=_1b7[_1c0],_1c2=_1be[row]; +objj_msgSend(_1c2,"setFrame:",objj_msgSend(self,"frameOfDataViewAtColumn:row:",_1bb,row)); +} +} +} +}),new objj_method(sel_getUid("_commitDataViewObjectValue:"),function(self,_1c3,_1c4){ +with(self){ +objj_msgSend(_dataSource,"tableView:setObjectValue:forTableColumn:row:",self,objj_msgSend(_1c4,"objectValue"),_1c4.tableViewEditedColumnObj,_1c4.tableViewEditedRowIndex); +if(objj_msgSend(_1c4,"respondsToSelector:",sel_getUid("setEditable:"))){ +objj_msgSend(_1c4,"setEditable:",NO); +} +} +}),new objj_method(sel_getUid("_newDataViewForRow:tableColumn:"),function(self,_1c5,aRow,_1c6){ +with(self){ +if((_implementedDelegateMethods&_8)){ +var _1c7=objj_msgSend(_delegate,"tableView:dataViewForTableColumn:row:",self,_1c6,aRow); +objj_msgSend(_1c6,"setDataView:",_1c7); +} +return objj_msgSend(_1c6,"_newDataViewForRow:",aRow); +} +}),new objj_method(sel_getUid("_enqueueReusableDataView:"),function(self,_1c8,_1c9){ +with(self){ +var _1ca=_1c9.identifier; +if(!_cachedDataViews[_1ca]){ +_cachedDataViews[_1ca]=[_1c9]; +}else{ +_cachedDataViews[_1ca].push(_1c9); +} +} +}),new objj_method(sel_getUid("setFrameSize:"),function(self,_1cb,_1cc){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"setFrameSize:",_1cc); +if(_headerView){ +objj_msgSend(_headerView,"setFrameSize:",{width:(objj_msgSend(self,"frame").size.width),height:(objj_msgSend(_headerView,"frame").size.height)}); +} +} +}),new objj_method(sel_getUid("exposedClipRect"),function(self,_1cd){ +with(self){ +var _1ce=objj_msgSend(self,"superview"); +if(!objj_msgSend(_1ce,"isKindOfClass:",objj_msgSend(CPClipView,"class"))){ +return objj_msgSend(self,"bounds"); +} +return objj_msgSend(self,"convertRect:fromView:",CGRectIntersection(objj_msgSend(_1ce,"bounds"),objj_msgSend(self,"frame")),_1ce); +} +}),new objj_method(sel_getUid("_drawRect:"),function(self,_1cf,_1d0){ +with(self){ +var _1d1=objj_msgSend(self,"_exposedRect"); +objj_msgSend(self,"drawBackgroundInClipRect:",_1d1); +objj_msgSend(self,"drawGridInClipRect:",_1d1); +objj_msgSend(self,"highlightSelectionInClipRect:",_1d1); +} +}),new objj_method(sel_getUid("drawBackgroundInClipRect:"),function(self,_1d2,_1d3){ +with(self){ +if(!_usesAlternatingRowBackgroundColors){ +var _1d4=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetFillColor(_1d4,_backgroundColor); +CGContextFillRect(_1d4,_1d3); +return; +} +var _1d5=objj_msgSend(self,"alternatingRowBackgroundColors"),_1d6=objj_msgSend(_1d5,"count"); +if(_1d6===0){ +return; +} +var _1d4=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +if(_1d6===1){ +CGContextSetFillColor(_1d4,_1d5[0]); +CGContextFillRect(_1d4,_1d3); +return; +} +var _1d7=objj_msgSend(self,"rowsInRect:",_1d3),_1d8=_1d7.location,_1d9=CPMaxRange(_1d7)-1,_1da=MIN(_1d7.length,_1d6),_1db=0; +while(_1da--){ +var row=_1d8-_1d8%_1d6+_1da,_1dc=nil; +CGContextBeginPath(_1d4); +for(;row<=_1d9;row+=_1d6){ +if(row>=_1d8){ +CGContextAddRect(_1d4,CGRectIntersection(_1d3,_1dc=objj_msgSend(self,"rectOfRow:",row))); +} +} +if(row-_1d6===_1d9){ +_1db=(_1dc.origin.y+_1dc.size.height); +} +CGContextClosePath(_1d4); +CGContextSetFillColor(_1d4,_1d5[_1da]); +CGContextFillPath(_1d4); +} +var _1dd=(_1d3.origin.y+_1d3.size.height); +if(_1db>=_1dd||_rowHeight<=0){ +return; +} +var _1de=_rowHeight+_intercellSpacing.height,_1dc={origin:{x:(_1d3.origin.x),y:(_1d3.origin.y)+_1db},size:{width:(_1d3.size.width),height:_1de}}; +for(row=_1d9+1;_1db<_1dd;++row){ +CGContextSetFillColor(_1d4,_1d5[row%_1d6]); +CGContextFillRect(_1d4,_1dc); +_1db+=_1de; +_1dc.origin.y+=_1de; +} +} +}),new objj_method(sel_getUid("drawGridInClipRect:"),function(self,_1df,_1e0){ +with(self){ +var _1e1=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_1e2=objj_msgSend(self,"gridStyleMask"); +if(!(_1e2&(CPTableViewSolidHorizontalGridLineMask|CPTableViewSolidVerticalGridLineMask))){ +return; +} +CGContextBeginPath(_1e1); +if(_1e2&CPTableViewSolidHorizontalGridLineMask){ +var _1e3=objj_msgSend(self,"rowsInRect:",_1e0); +row=_1e3.location,lastRow=CPMaxRange(_1e3)-1,rowY=0,minX=(_1e0.origin.x),maxX=(_1e0.origin.x+_1e0.size.width); +for(;row<=lastRow;++row){ +var _1e4=objj_msgSend(self,"rectOfRow:",row),rowY=(_1e4.origin.y+_1e4.size.height)-0.5; +CGContextMoveToPoint(_1e1,minX,rowY); +CGContextAddLineToPoint(_1e1,maxX,rowY); +} +if(_rowHeight>0){ +var _1e5=_rowHeight+_intercellSpacing.height,_1e6=(_1e0.origin.y+_1e0.size.height); +while(rowY<_1e6){ +rowY+=_1e5; +CGContextMoveToPoint(_1e1,minX,rowY); +CGContextAddLineToPoint(_1e1,maxX,rowY); +} +} +} +if(_1e2&CPTableViewSolidVerticalGridLineMask){ +var _1e7=objj_msgSend(self,"columnIndexesInRect:",_1e0),_1e8=[]; +objj_msgSend(_1e7,"getIndexes:maxCount:inIndexRange:",_1e8,-1,nil); +var _1e9=0,_1ea=_1e8.length,minY=(_1e0.origin.y),maxY=(_1e0.origin.y+_1e0.size.height); +for(;_1e9<_1ea;++_1e9){ +var _1eb=objj_msgSend(self,"rectOfColumn:",_1e8[_1e9]),_1ec=(_1eb.origin.x+_1eb.size.width)+0.5; +CGContextMoveToPoint(_1e1,_1ec,minY); +CGContextAddLineToPoint(_1e1,_1ec,maxY); +} +} +CGContextClosePath(_1e1); +CGContextSetStrokeColor(_1e1,_gridColor); +CGContextStrokePath(_1e1); +} +}),new objj_method(sel_getUid("highlightSelectionInClipRect:"),function(self,_1ed,_1ee){ +with(self){ +var _1ef=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_1f0=[],_1f1=sel_getUid("rectOfRow:"); +if(objj_msgSend(_selectedRowIndexes,"count")>=1){ +var _1f2=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",objj_msgSend(self,"rowsInRect:",_1ee)),_1f3=objj_msgSend(_1f2,"firstIndex"),_1f4=CPMakeRange(_1f3,objj_msgSend(_1f2,"lastIndex")-_1f3+1); +objj_msgSend(_selectedRowIndexes,"getIndexes:maxCount:inIndexRange:",_1f0,-1,_1f4); +}else{ +if(objj_msgSend(_selectedColumnIndexes,"count")>=1){ +_1f1=sel_getUid("rectOfColumn:"); +var _1f5=objj_msgSend(self,"columnIndexesInRect:",_1ee),_1f6=objj_msgSend(_1f5,"firstIndex"),_1f4=CPMakeRange(_1f6,objj_msgSend(_1f5,"lastIndex")-_1f6+1); +objj_msgSend(_selectedColumnIndexes,"getIndexes:maxCount:inIndexRange:",_1f0,-1,_1f4); +} +} +var _1f7=count2=objj_msgSend(_1f0,"count"); +if(!_1f7){ +return; +} +var _1f8=(_selectionHighlightStyle===CPTableViewSelectionHighlightStyleSourceList&&objj_msgSend(_selectedRowIndexes,"count")>=1); +var _1f9=0.5*(_gridStyleMask&CPTableViewSolidHorizontalGridLineMask); +CGContextBeginPath(_1ef); +while(_1f7--){ +var _1fa=CGRectIntersection(objj_msgSend(self,_1f1,_1f0[_1f7]),_1ee); +CGContextAddRect(_1ef,_1fa); +if(_1f8){ +var minX=(_1fa.origin.x),minY=(_1fa.origin.y),maxX=(_1fa.origin.x+_1fa.size.width),maxY=(_1fa.origin.y+_1fa.size.height)-_1f9; +CGContextDrawLinearGradient(_1ef,_sourceListActiveGradient,_1fa.origin,CGPointMake(minX,maxY),0); +CGContextClosePath(_1ef); +CGContextBeginPath(_1ef); +CGContextMoveToPoint(_1ef,minX,minY); +CGContextAddLineToPoint(_1ef,maxX,minY); +CGContextClosePath(_1ef); +CGContextSetStrokeColor(_1ef,_sourceListActiveTopLineColor); +CGContextStrokePath(_1ef); +CGContextBeginPath(_1ef); +CGContextMoveToPoint(_1ef,minX,maxY); +CGContextAddLineToPoint(_1ef,maxX,maxY-1); +CGContextClosePath(_1ef); +CGContextSetStrokeColor(_1ef,_sourceListActiveBottomLineColor); +CGContextStrokePath(_1ef); +} +} +CGContextClosePath(_1ef); +if(!_1f8){ +objj_msgSend(objj_msgSend(CPColor,"selectionColor"),"setFill"); +CGContextFillPath(_1ef); +} +CGContextBeginPath(_1ef); +gridStyleMask=objj_msgSend(self,"gridStyleMask"); +for(var i=0;i=1&&gridStyleMask&CPTableViewSolidVerticalGridLineMask){ +var _1f5=objj_msgSend(self,"columnIndexesInRect:",_1ee),_1fb=[],_1fc=objj_msgSend(_1f5,"firstIndex"),_1f4=CPMakeRange(_1fc,objj_msgSend(_1f5,"lastIndex")-_1fc+1); +objj_msgSend(_1f5,"getIndexes:maxCount:inIndexRange:",_1fb,-1,_1f4); +var _1fd=objj_msgSend(_1fb,"count"); +for(var c=_1fc;c<_1fd;c++){ +var _1fe=objj_msgSend(self,"rectOfColumn:",_1fb[c]),colX=CGRectGetMaxX(_1fe)+0.5; +CGContextMoveToPoint(_1ef,colX,minY); +CGContextAddLineToPoint(_1ef,colX,maxY); +} +} +if(objj_msgSend(_1f0,"containsObject:",_1f0[i]+1)){ +CGContextMoveToPoint(_1ef,minX,maxY); +CGContextAddLineToPoint(_1ef,maxX,maxY); +} +} +CGContextClosePath(_1ef); +CGContextSetStrokeColor(_1ef,objj_msgSend(CPColor,"colorWithHexString:","e5e5e5")); +CGContextStrokePath(_1ef); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(self,_1ff){ +with(self){ +objj_msgSend(self,"load"); +} +}),new objj_method(sel_getUid("viewWillMoveToSuperview:"),function(self,_200,_201){ +with(self){ +var _202=objj_msgSend(self,"superview"),_203=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_202){ +objj_msgSend(_203,"removeObserver:name:object:",self,CPViewFrameDidChangeNotification,_202); +objj_msgSend(_203,"removeObserver:name:object:",self,CPViewBoundsDidChangeNotification,_202); +} +if(_201){ +objj_msgSend(_201,"setPostsFrameChangedNotifications:",YES); +objj_msgSend(_201,"setPostsBoundsChangedNotifications:",YES); +objj_msgSend(_203,"addObserver:selector:name:object:",self,sel_getUid("superviewFrameChanged:"),CPViewFrameDidChangeNotification,_201); +objj_msgSend(_203,"addObserver:selector:name:object:",self,sel_getUid("superviewBoundsChanged:"),CPViewBoundsDidChangeNotification,_201); +} +} +}),new objj_method(sel_getUid("superviewBoundsChanged:"),function(self,_204,_205){ +with(self){ +objj_msgSend(self,"setNeedsDisplay:",YES); +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("superviewFrameChanged:"),function(self,_206,_207){ +with(self){ +objj_msgSend(self,"tile"); +} +}),new objj_method(sel_getUid("tracksMouseOutsideOfFrame"),function(self,_208){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("startTrackingAt:"),function(self,_209,_20a){ +with(self){ +var row=objj_msgSend(self,"rowAtPoint:",_20a); +if(row<0&&_allowsEmptySelection){ +objj_msgSend(self,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSet"),NO); +} +objj_msgSend(self,"_noteSelectionIsChanging"); +if(objj_msgSend(self,"mouseDownFlags")&CPShiftKeyMask){ +_selectionAnchorRow=(ABS(objj_msgSend(_selectedRowIndexes,"firstIndex")-row)=0&&!(_implementedDataSourceMethods&_5)){ +objj_msgSend(self,"_updateSelectionWithMouseAtRow:",row); +} +objj_msgSend(objj_msgSend(self,"window"),"makeFirstResponder:",self); +return YES; +} +}),new objj_method(sel_getUid("trackMouse:"),function(self,_20b,_20c){ +with(self){ +if(!objj_msgSend(_draggedRowIndexes,"count")){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"trackMouse:",_20c); +}else{ +objj_msgSend(CPApp,"sendEvent:",_20c); +} +} +}),new objj_method(sel_getUid("continueTracking:at:"),function(self,_20d,_20e,_20f){ +with(self){ +var row=objj_msgSend(self,"rowAtPoint:",_20f); +if(!_isSelectingSession&&_implementedDataSourceMethods&_5){ +if(row>=0&&(ABS(_startTrackingPoint.x-_20f.x)>3||(_verticalMotionCanDrag&&ABS(_startTrackingPoint.y-_20f.y)>3))||(objj_msgSend(_selectedRowIndexes,"containsIndex:",row))){ +if(objj_msgSend(_selectedRowIndexes,"containsIndex:",row)){ +_draggedRowIndexes=objj_msgSend(objj_msgSend(CPIndexSet,"alloc"),"initWithIndexSet:",_selectedRowIndexes); +}else{ +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSetWithIndex:",row); +} +var _210=objj_msgSend(CPPasteboard,"pasteboardWithName:",CPDragPboard); +if(objj_msgSend(self,"canDragRowsWithIndexes:atPoint:",_draggedRowIndexes,_20f)&&objj_msgSend(_dataSource,"tableView:writeRowsWithIndexes:toPasteboard:",self,_draggedRowIndexes,_210)){ +var _211=objj_msgSend(CPApp,"currentEvent"),_212=CPPointMakeZero(),_213=objj_msgSend(_tableColumns,"objectsAtIndexes:",_exposedColumns); +var view=objj_msgSend(self,"dragViewForRowsWithIndexes:tableColumns:event:offset:",_draggedRowIndexes,_213,_211,_212); +if(!view){ +var _214=objj_msgSend(self,"dragImageForRowsWithIndexes:tableColumns:event:offset:",_draggedRowIndexes,_213,_211,_212); +view=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CPMakeRect(0,0,objj_msgSend(_214,"size").width,objj_msgSend(_214,"size").height)); +objj_msgSend(view,"setImage:",_214); +} +var _215=objj_msgSend(view,"bounds"); +var _216=CPPointMake(_20f.x-CGRectGetWidth(_215)/2+_212.x,_20f.y-CGRectGetHeight(_215)/2+_212.y); +objj_msgSend(self,"dragView:at:offset:event:pasteboard:source:slideBack:",view,_216,CPPointMakeZero(),objj_msgSend(CPApp,"currentEvent"),_210,self,YES); +_startTrackingPoint=nil; +return NO; +} +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +}else{ +if(ABS(_startTrackingPoint.x-_20f.x)<5&&ABS(_startTrackingPoint.y-_20f.y)<5){ +return YES; +} +} +} +_isSelectingSession=YES; +if(row>=0){ +objj_msgSend(self,"_updateSelectionWithMouseAtRow:",row); +} +if((_implementedDataSourceMethods&_1)&&!_trackingPointMovedOutOfClickSlop){ +var _217=5; +if(ABS(_20f.x-_startTrackingPoint.x)>_217||ABS(_20f.y-_startTrackingPoint.y)>_217){ +_trackingPointMovedOutOfClickSlop=YES; +} +} +return YES; +} +}),new objj_method(sel_getUid("stopTracking:at:mouseIsUp:"),function(self,_218,_219,_21a,_21b){ +with(self){ +_isSelectingSession=NO; +var _21c=1000,_21d,_21e,_21f,_220=YES; +if(_implementedDataSourceMethods&_5){ +_21f=objj_msgSend(self,"rowAtPoint:",_21a); +if(_21f!==-1){ +if(objj_msgSend(_draggedRowIndexes,"count")>0){ +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +return; +} +_previouslySelectedRowIndexes=objj_msgSend(_selectedRowIndexes,"copy"); +objj_msgSend(self,"_updateSelectionWithMouseAtRow:",_21f); +} +} +if(_21b&&(_implementedDataSourceMethods&_1)&&!_trackingPointMovedOutOfClickSlop&&(objj_msgSend(objj_msgSend(CPApp,"currentEvent"),"clickCount")>1)){ +_21d=objj_msgSend(self,"columnAtPoint:",_219); +if(_21d!==-1){ +_21e=_tableColumns[_21d]; +if(objj_msgSend(_21e,"isEditable")){ +_21f=objj_msgSend(self,"rowAtPoint:",_21a); +if(_21f!==-1){ +if(_implementedDelegateMethods&_10){ +_220=objj_msgSend(_delegate,"tableView:shouldEditTableColumn:row:",self,_21e,_21f); +} +if(_220){ +_editingCellIndex=CGPointMake(_21d,_21f); +objj_msgSend(self,"reloadDataForRowIndexes:columnIndexes:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",_21f),objj_msgSend(CPIndexSet,"indexSetWithIndex:",_21d)); +return; +} +} +} +} +} +if(objj_msgSend(objj_msgSend(CPApp,"currentEvent"),"clickCount")===2&&_doubleAction&&_target){ +objj_msgSend(self,"sendAction:to:",_doubleAction,_target); +} +} +}),new objj_method(sel_getUid("draggingEntered:"),function(self,_221,_222){ +with(self){ +var _223=objj_msgSend(self,"convertPoint:fromView:",objj_msgSend(_222,"draggingLocation"),nil),_224=objj_msgSend(self,"_proposedDropOperationAtPoint:",_223),row=objj_msgSend(self,"_proposedRowAtPoint:",_223); +if(_retargetedDropRow!==nil){ +row=_retargetedDropRow; +} +var _225=objj_msgSend(self,"registeredDraggedTypes"),_226=objj_msgSend(_225,"count"),i=0; +for(;i<_226;i++){ +if(objj_msgSend(objj_msgSend(objj_msgSend(_222,"draggingPasteboard"),"types"),"containsObject:",objj_msgSend(_225,"objectAtIndex:",i))){ +return objj_msgSend(self,"_validateDrop:proposedRow:proposedDropOperation:",_222,row,_224); +} +} +return CPDragOperationNone; +} +}),new objj_method(sel_getUid("draggingExited:"),function(self,_227,_228){ +with(self){ +objj_msgSend(_dropOperationFeedbackView,"removeFromSuperview"); +} +}),new objj_method(sel_getUid("draggingEnded:"),function(self,_229,_22a){ +with(self){ +objj_msgSend(self,"_draggingEnded"); +} +}),new objj_method(sel_getUid("_draggingEnded"),function(self,_22b){ +with(self){ +_retargetedDropOperation=nil; +_retargetedDropRow=nil; +_draggedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +objj_msgSend(_dropOperationFeedbackView,"removeFromSuperview"); +} +}),new objj_method(sel_getUid("wantsPeriodicDraggingUpdates"),function(self,_22c){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("_proposedDropOperationAtPoint:"),function(self,_22d,_22e){ +with(self){ +if(_retargetedDropOperation!==nil){ +return _retargetedDropOperation; +} +var row=objj_msgSend(self,"_proposedRowAtPoint:",_22e),_22f=objj_msgSend(self,"rectOfRow:",row); +if(objj_msgSend(self,"intercellSpacing").height<5){ +_22f=CPRectInset(_22f,0,5-objj_msgSend(self,"intercellSpacing").height); +} +if(CGRectContainsPoint(_22f,_22e)&&row<_numberOfRows){ +return CPTableViewDropOn; +} +return CPTableViewDropAbove; +} +}),new objj_method(sel_getUid("_proposedRowAtPoint:"),function(self,_230,_231){ +with(self){ +var row=FLOOR(_231.y/(_rowHeight+_intercellSpacing.height)); +var _232=row+1,rect=objj_msgSend(self,"rectOfRow:",row),_233=objj_msgSend(self,"rectOfRow:",_232); +if(ABS(CPRectGetMinY(_233)-_231.y)=objj_msgSend(self,"numberOfRows")){ +row=objj_msgSend(self,"numberOfRows"); +} +return row; +} +}),new objj_method(sel_getUid("_validateDrop:proposedRow:proposedDropOperation:"),function(self,_234,info,row,_235){ +with(self){ +if(_implementedDataSourceMethods&_4){ +return objj_msgSend(_dataSource,"tableView:validateDrop:proposedRow:proposedDropOperation:",self,info,row,_235); +} +return CPDragOperationNone; +} +}),new objj_method(sel_getUid("_rectForDropHighlightViewOnRow:"),function(self,_236,_237){ +with(self){ +if(_237>=objj_msgSend(self,"numberOfRows")){ +_237=objj_msgSend(self,"numberOfRows")-1; +} +return objj_msgSend(self,"rectOfRow:",_237); +} +}),new objj_method(sel_getUid("_rectForDropHighlightViewBetweenUpperRow:andLowerRow:offset:"),function(self,_238,_239,_23a,_23b){ +with(self){ +if(_23a>objj_msgSend(self,"numberOfRows")){ +_23a=objj_msgSend(self,"numberOfRows"); +} +return objj_msgSend(self,"rectOfRow:",_23a); +} +}),new objj_method(sel_getUid("draggingUpdated:"),function(self,_23c,_23d){ +with(self){ +var _23e=objj_msgSend(self,"convertPoint:fromView:",objj_msgSend(_23d,"draggingLocation"),nil),_23f=objj_msgSend(self,"_proposedDropOperationAtPoint:",_23e),_240=objj_msgSend(self,"numberOfRows"); +var row=objj_msgSend(self,"_proposedRowAtPoint:",_23e),_241=objj_msgSend(self,"_validateDrop:proposedRow:proposedDropOperation:",_23d,row,_23f); +exposedClipRect=objj_msgSend(self,"exposedClipRect"); +if(_retargetedDropRow!==nil){ +row=_retargetedDropRow; +} +if(_23f===CPTableViewDropOn&&row>=objj_msgSend(self,"numberOfRows")){ +row=objj_msgSend(self,"numberOfRows")-1; +} +var rect=CPRectMakeZero(); +if(row===-1){ +rect=exposedClipRect; +}else{ +if(_23f===CPTableViewDropAbove){ +rect=objj_msgSend(self,"_rectForDropHighlightViewBetweenUpperRow:andLowerRow:offset:",row-1,row,_23e); +}else{ +rect=objj_msgSend(self,"_rectForDropHighlightViewOnRow:",row); +} +} +objj_msgSend(_dropOperationFeedbackView,"setDropOperation:",row!==-1?_23f:CPDragOperationNone); +objj_msgSend(_dropOperationFeedbackView,"setHidden:",(_241==CPDragOperationNone)); +objj_msgSend(_dropOperationFeedbackView,"setFrame:",rect); +objj_msgSend(_dropOperationFeedbackView,"setCurrentRow:",row); +objj_msgSend(self,"addSubview:",_dropOperationFeedbackView); +if(row>0&&_23e.y-CGRectGetMinY(exposedClipRect)<_rowHeight){ +objj_msgSend(self,"scrollRowToVisible:",row-1); +}else{ +if(row<_240&&CGRectGetMaxY(exposedClipRect)-_23e.y<_rowHeight){ +objj_msgSend(self,"scrollRowToVisible:",row+1); +} +} +return _241; +} +}),new objj_method(sel_getUid("prepareForDragOperation:"),function(self,_242,_243){ +with(self){ +objj_msgSend(_dropOperationFeedbackView,"removeFromSuperview"); +return (_implementedDataSourceMethods&_4); +} +}),new objj_method(sel_getUid("performDragOperation:"),function(self,_244,_245){ +with(self){ +var _246=objj_msgSend(self,"convertPoint:fromView:",objj_msgSend(_245,"draggingLocation"),nil); +operation=objj_msgSend(self,"_proposedDropOperationAtPoint:",_246),row=_retargetedDropRow; +if(row===nil){ +var row=objj_msgSend(self,"_proposedRowAtPoint:",_246); +} +return objj_msgSend(_dataSource,"tableView:acceptDrop:row:dropOperation:",self,_245,row,operation); +} +}),new objj_method(sel_getUid("concludeDragOperation:"),function(self,_247,_248){ +with(self){ +objj_msgSend(self,"reloadData"); +} +}),new objj_method(sel_getUid("draggedImage:endedAt:operation:"),function(self,_249,_24a,_24b,_24c){ +with(self){ +if(objj_msgSend(_dataSource,"respondsToSelector:",sel_getUid("tableView:didEndDraggedImage:atPosition:operation:"))){ +objj_msgSend(_dataSource,"tableView:didEndDraggedImage:atPosition:operation:",self,_24a,_24b,_24c); +} +} +}),new objj_method(sel_getUid("draggedView:endedAt:operation:"),function(self,_24d,_24e,_24f,_250){ +with(self){ +objj_msgSend(self,"_draggingEnded"); +objj_msgSend(self,"draggedImage:endedAt:operation:",_24e,_24f,_250); +} +}),new objj_method(sel_getUid("_updateSelectionWithMouseAtRow:"),function(self,_251,aRow){ +with(self){ +if(aRow<0){ +return; +} +var _252,_253=NO; +if(objj_msgSend(self,"mouseDownFlags")&(CPCommandKeyMask|CPControlKeyMask|CPAlternateKeyMask)){ +if(objj_msgSend(_selectedRowIndexes,"containsIndex:",aRow)){ +_252=objj_msgSend(_selectedRowIndexes,"copy"); +objj_msgSend(_252,"removeIndex:",aRow); +}else{ +if(_allowsMultipleSelection){ +_252=objj_msgSend(_selectedRowIndexes,"copy"); +objj_msgSend(_252,"addIndex:",aRow); +}else{ +_252=objj_msgSend(CPIndexSet,"indexSetWithIndex:",aRow); +} +} +}else{ +if(_allowsMultipleSelection){ +_252=objj_msgSend(CPIndexSet,"indexSetWithIndexesInRange:",CPMakeRange(MIN(aRow,_selectionAnchorRow),ABS(aRow-_selectionAnchorRow)+1)); +_253=objj_msgSend(self,"mouseDownFlags")&CPShiftKeyMask&&((_lastSelectedRow==objj_msgSend(_selectedRowIndexes,"lastIndex")&&aRow>_lastSelectedRow)||(_lastSelectedRow==objj_msgSend(_selectedRowIndexes,"firstIndex")&&aRow<_lastSelectedRow)); +}else{ +if(aRow>=0&&aRow<_numberOfRows){ +_252=objj_msgSend(CPIndexSet,"indexSetWithIndex:",aRow); +}else{ +_252=objj_msgSend(CPIndexSet,"indexSet"); +} +} +} +if(objj_msgSend(_252,"isEqualToIndexSet:",_selectedRowIndexes)){ +return; +} +if(_implementedDelegateMethods&_7&&!objj_msgSend(_delegate,"selectionShouldChangeInTableView:",self)){ +return; +} +if(_implementedDelegateMethods&_f){ +_252=objj_msgSend(_delegate,"tableView:selectionIndexesForProposedSelection:",self,_252); +} +if(_implementedDelegateMethods&_11){ +var _254=[]; +objj_msgSend(_252,"getIndexes:maxCount:inIndexRange:",_254,-1,nil); +var _255=_254.length; +while(_255--){ +var _256=_254[_255]; +if(!objj_msgSend(_delegate,"tableView:shouldSelectRow:",self,_256)){ +objj_msgSend(_252,"removeIndex:",_256); +} +} +} +_lastSelectedRow=(objj_msgSend(_252,"count")>0)?aRow:-1; +if(!_allowsEmptySelection&&objj_msgSend(_252,"count")===0){ +return; +} +if(objj_msgSend(_252,"isEqualToIndexSet:",_selectedRowIndexes)){ +return; +} +objj_msgSend(self,"selectRowIndexes:byExtendingSelection:",_252,_253); +} +}),new objj_method(sel_getUid("_noteSelectionIsChanging"),function(self,_257){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPTableViewSelectionIsChangingNotification,self,nil); +} +}),new objj_method(sel_getUid("_noteSelectionDidChange"),function(self,_258){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPTableViewSelectionDidChangeNotification,self,nil); +} +}),new objj_method(sel_getUid("becomeFirstResponder"),function(self,_259){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("acceptsFirstResponder"),function(self,_25a){ +with(self){ +return YES; +} +}),new objj_method(sel_getUid("keyDown:"),function(self,_25b,_25c){ +with(self){ +objj_msgSend(self,"interpretKeyEvents:",objj_msgSend(CPArray,"arrayWithObject:",_25c)); +} +}),new objj_method(sel_getUid("moveDown:"),function(self,_25d,_25e){ +with(self){ +if(_implementedDelegateMethods&_7&&!objj_msgSend(_delegate,"selectionShouldChangeInTableView:",self)){ +return; +} +var _25f=objj_msgSend(CPApp,"currentEvent"); +if(objj_msgSend(objj_msgSend(self,"selectedRowIndexes"),"count")>0){ +var _260=NO; +if((objj_msgSend(_25f,"modifierFlags")&CPShiftKeyMask)&&_allowsMultipleSelection){ +_260=YES; +} +var i=objj_msgSend(objj_msgSend(self,"selectedRowIndexes"),"lastIndex"); +if(i0){ +var i=0; +} +} +if(_implementedDelegateMethods&_11){ +while((!objj_msgSend(_delegate,"tableView:shouldSelectRow:",self,i))&&i=0){ +objj_msgSend(self,"scrollRowToVisible:",i); +} +} +}),new objj_method(sel_getUid("moveUp:"),function(self,_261,_262){ +with(self){ +if(_implementedDelegateMethods&_7&&!objj_msgSend(_delegate,"selectionShouldChangeInTableView:",self)){ +return; +} +var _263=objj_msgSend(CPApp,"currentEvent"); +if(objj_msgSend(objj_msgSend(self,"selectedRowIndexes"),"count")>0){ +var _264=NO; +if((objj_msgSend(_263,"modifierFlags")&CPShiftKeyMask)&&_allowsMultipleSelection){ +_264=YES; +} +var i=objj_msgSend(objj_msgSend(self,"selectedRowIndexes"),"firstIndex"); +if(i>0){ +i--; +} +}else{ +var _264=NO; +if(objj_msgSend(self,"numberOfRows")>0){ +var i=objj_msgSend(self,"numberOfRows")-1; +} +} +if(_implementedDelegateMethods&_11){ +while((!objj_msgSend(_delegate,"tableView:shouldSelectRow:",self,i))&&i>0){ +i--; +} +if(!objj_msgSend(_delegate,"tableView:shouldSelectRow:",self,i)){ +return; +} +} +objj_msgSend(self,"selectRowIndexes:byExtendingSelection:",objj_msgSend(CPIndexSet,"indexSetWithIndex:",i),_264); +if(i>=0){ +objj_msgSend(self,"scrollRowToVisible:",i); +} +} +}),new objj_method(sel_getUid("deleteBackward:"),function(self,_265,_266){ +with(self){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tableViewDeleteKeyPressed:"))){ +objj_msgSend(_delegate,"tableViewDeleteKeyPressed:",self); +} +} +})]); +class_addMethods(_1c,[new objj_method(sel_getUid("_defaultTableHeaderSortImage"),function(self,_267){ +with(self){ +return CPAppKitImage("tableview-headerview-ascending.png",CGSizeMake(9,8)); +} +}),new objj_method(sel_getUid("_defaultTableHeaderReverseSortImage"),function(self,_268){ +with(self){ +return CPAppKitImage("tableview-headerview-descending.png",CGSizeMake(9,8)); +} +})]); +var _269="CPTableViewDataSourceKey",_26a="CPTableViewDelegateKey",_26b="CPTableViewHeaderViewKey",_26c="CPTableViewTableColumnsKey",_26d="CPTableViewRowHeightKey",_26e="CPTableViewIntercellSpacingKey",_26f="CPTableViewMultipleSelectionKey",_270="CPTableViewEmptySelectionKey",_271="CPTableViewColumnReorderingKey",_272="CPTableViewColumnResizingKey",_273="CPTableViewColumnSelectionKey",_274="CPTableViewGridColorKey",_275="CPTableViewGridStyleMaskKey",_276="CPTableViewUsesAlternatingBackgroundKey",_277="CPTableViewAlternatingRowColorsKey",_26b="CPTableViewHeaderViewKey",_278="CPTableViewCornerViewKey"; +var _1b=objj_getClass("CPTableView"); +if(!_1b){ +throw new SyntaxError("*** Could not find definition for class \"CPTableView\""); +} +var _1c=_1b.isa; +class_addMethods(_1b,[new objj_method(sel_getUid("initWithCoder:"),function(self,_279,_27a){ +with(self){ +self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"initWithCoder:",_27a); +if(self){ +_allowsColumnReordering=objj_msgSend(_27a,"decodeBoolForKey:",_271); +_allowsColumnResizing=objj_msgSend(_27a,"decodeBoolForKey:",_272); +_allowsMultipleSelection=objj_msgSend(_27a,"decodeBoolForKey:",_26f); +_allowsEmptySelection=objj_msgSend(_27a,"decodeBoolForKey:",_270); +_allowsColumnSelection=objj_msgSend(_27a,"decodeBoolForKey:",_273); +_tableViewFlags=0; +_selectionHighlightStyle=CPTableViewSelectionHighlightStyleRegular; +_usesAlternatingRowBackgroundColors=objj_msgSend(_27a,"decodeBoolForKey:",_276); +objj_msgSend(self,"setAlternatingRowBackgroundColors:",[objj_msgSend(CPColor,"whiteColor"),objj_msgSend(CPColor,"colorWithHexString:","e4e7ff")]); +_tableColumns=objj_msgSend(_27a,"decodeObjectForKey:",_26c); +objj_msgSend(_tableColumns,"makeObjectsPerformSelector:withObject:",sel_getUid("setTableView:"),self); +_tableColumnRanges=[]; +_dirtyTableColumnRangeIndex=0; +_numberOfHiddenColumns=0; +_objectValues={}; +_dataViewsForTableColumns={}; +_dataViews=[]; +_numberOfRows=0; +_exposedRows=objj_msgSend(CPIndexSet,"indexSet"); +_exposedColumns=objj_msgSend(CPIndexSet,"indexSet"); +_cachedDataViews={}; +_rowHeight=objj_msgSend(_27a,"decodeFloatForKey:",_26d); +if(objj_msgSend(_27a,"containsValueForKey:",_26e)){ +_intercellSpacing=objj_msgSend(_27a,"decodeSizeForKey:",_26e); +}else{ +_intercellSpacing={width:0,height:0}; +} +_gridColor=objj_msgSend(_27a,"decodeObjectForKey:",_274)||objj_msgSend(CPColor,"grayColor"); +_gridStyleMask=objj_msgSend(_27a,"decodeIntForKey:",_275)||CPTableViewGridNone; +_alternatingRowBackgroundColors=objj_msgSend(_27a,"decodeObjectForKey:",_277); +_usesAlternatingRowBackgroundColors=objj_msgSend(_27a,"decodeObjectForKey:",_276); +_headerView=objj_msgSend(_27a,"decodeObjectForKey:",_26b); +_cornerView=objj_msgSend(_27a,"decodeObjectForKey:",_278); +_selectedColumnIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_selectedRowIndexes=objj_msgSend(CPIndexSet,"indexSet"); +_dataSource=objj_msgSend(_27a,"decodeObjectForKey:",_269); +_delegate=objj_msgSend(_27a,"decodeObjectForKey:",_26a); +_tableDrawView=objj_msgSend(objj_msgSend(_CPTableDrawView,"alloc"),"initWithTableView:",self); +objj_msgSend(_tableDrawView,"setBackgroundColor:",objj_msgSend(CPColor,"clearColor")); +objj_msgSend(self,"addSubview:",_tableDrawView); +objj_msgSend(self,"_init"); +objj_msgSend(self,"viewWillMoveToSuperview:",objj_msgSend(self,"superview")); +} +return self; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(self,_27b,_27c){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPTableView").super_class},"encodeWithCoder:",_27c); +objj_msgSend(_27c,"encodeObject:forKey:",_dataSource,_269); +objj_msgSend(_27c,"encodeObject:forKey:",_delegate,_26a); +objj_msgSend(_27c,"encodeFloat:forKey:",_rowHeight,_26d); +objj_msgSend(_27c,"encodeSize:forKey:",_intercellSpacing,_26e); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsMultipleSelection,_26f); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsEmptySelection,_270); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsColumnReordering,_271); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsColumnResizing,_272); +objj_msgSend(_27c,"encodeBool:forKey:",_allowsColumnSelection,_273); +objj_msgSend(_27c,"encodeObject:forKey:",_tableColumns,_26c); +objj_msgSend(_27c,"encodeObject:forKey:",_gridColor,_274); +objj_msgSend(_27c,"encodeInt:forKey:",_gridStyleMask,_275); +objj_msgSend(_27c,"encodeBool:forKey:",_usesAlternatingRowBackgroundColors,_276); +objj_msgSend(_27c,"encodeObject:forKey:",_alternatingRowBackgroundColors,_277); +objj_msgSend(_27c,"encodeObject:forKey:",_cornerView,_278); +objj_msgSend(_27c,"encodeObject:forKey:",_headerView,_26b); +} +})]); +var _1b=objj_getClass("CPColor"); +if(!_1b){ +throw new SyntaxError("*** Could not find definition for class \"CPColor\""); +} +var _1c=_1b.isa; +class_addMethods(_1c,[new objj_method(sel_getUid("selectionColor"),function(self,_27d){ +with(self){ +return objj_msgSend(CPColor,"colorWithHexString:","5f83b9"); +} +}),new objj_method(sel_getUid("selectionColorSourceView"),function(self,_27e){ +with(self){ +return objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:","Resources/tableviewselection.png",CGSizeMake(6,22))); +} +})]); +var _1b=objj_getClass("CPIndexSet"); +if(!_1b){ +throw new SyntaxError("*** Could not find definition for class \"CPIndexSet\""); +} +var _1c=_1b.isa; +class_addMethods(_1b,[new objj_method(sel_getUid("removeMatches:"),function(self,_27f,_280){ +with(self){ +var _281=objj_msgSend(self,"firstIndex"); +var _282=MIN(_281,objj_msgSend(_280,"firstIndex")); +var _283=(_282==_281); +while(_282!=CPNotFound){ +var _284=(_283)?_280:self; +otherIndex=objj_msgSend(_284,"indexGreaterThanOrEqualToIndex:",_282); +if(otherIndex==_282){ +objj_msgSend(self,"removeIndex:",_282); +objj_msgSend(_280,"removeIndex:",_282); +} +_282=otherIndex; +_283=!_283; +} +} +})]); +var _1b=objj_allocateClassPair(CPView,"_dropOperationDrawingView"),_1c=_1b.isa; +class_addIvars(_1b,[new objj_ivar("dropOperation"),new objj_ivar("tableView"),new objj_ivar("currentRow")]); +objj_registerClassPair(_1b); +class_addMethods(_1b,[new objj_method(sel_getUid("dropOperation"),function(self,_285){ +with(self){ +return dropOperation; +} +}),new objj_method(sel_getUid("setDropOperation:"),function(self,_286,_287){ +with(self){ +dropOperation=_287; +} +}),new objj_method(sel_getUid("tableView"),function(self,_288){ +with(self){ +return tableView; +} +}),new objj_method(sel_getUid("setTableView:"),function(self,_289,_28a){ +with(self){ +tableView=_28a; +} +}),new objj_method(sel_getUid("currentRow"),function(self,_28b){ +with(self){ +return currentRow; +} +}),new objj_method(sel_getUid("setCurrentRow:"),function(self,_28c,_28d){ +with(self){ +currentRow=_28d; +} +}),new objj_method(sel_getUid("drawRect:"),function(self,_28e,_28f){ +with(self){ +if(tableView._destinationDragStyle===CPTableViewDraggingDestinationFeedbackStyleNone){ +return; +} +var _290=objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"); +CGContextSetStrokeColor(_290,objj_msgSend(CPColor,"colorWithHexString:","4886ca")); +CGContextSetLineWidth(_290,3); +if(currentRow===-1){ +CGContextStrokeRect(_290,objj_msgSend(self,"bounds")); +}else{ +if(dropOperation===CPTableViewDropOn){ +var _291=objj_msgSend(tableView,"selectedRowIndexes"),_292={origin:{x:_28f.origin.x+2,y:_28f.origin.y+2},size:{width:_28f.size.width-4,height:_28f.size.height-5}}; +if(objj_msgSend(_291,"containsIndex:",currentRow)){ +CGContextSetLineWidth(_290,2); +CGContextSetStrokeColor(_290,objj_msgSend(CPColor,"whiteColor")); +}else{ +CGContextSetFillColor(_290,objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",72/255,134/255,202/255,0.25)); +CGContextFillRoundedRectangleInRect(_290,_292,8,YES,YES,YES,YES); +} +CGContextStrokeRoundedRectangleInRect(_290,_292,8,YES,YES,YES,YES); +}else{ +if(dropOperation===CPTableViewDropAbove){ +objj_msgSend(self,"setFrameOrigin:",CGPointMake(_frame.origin.x,_frame.origin.y-8)); +var _291=objj_msgSend(tableView,"selectedRowIndexes"); +if(objj_msgSend(_291,"containsIndex:",currentRow-1)||objj_msgSend(_291,"containsIndex:",currentRow)){ +CGContextSetStrokeColor(_290,objj_msgSend(CPColor,"whiteColor")); +CGContextSetLineWidth(_290,4); +CGContextStrokeEllipseInRect(_290,{origin:{x:_28f.origin.x+4,y:_28f.origin.y+4},size:{width:8,height:8}}); +CGContextBeginPath(_290); +CGContextMoveToPoint(_290,10,_28f.origin.y+8); +CGContextAddLineToPoint(_290,_28f.size.width-_28f.origin.y-8,_28f.origin.y+8); +CGContextClosePath(_290); +CGContextStrokePath(_290); +CGContextSetStrokeColor(_290,objj_msgSend(CPColor,"colorWithHexString:","4886ca")); +CGContextSetLineWidth(_290,3); +} +CGContextStrokeEllipseInRect(_290,{origin:{x:_28f.origin.x+4,y:_28f.origin.y+4},size:{width:8,height:8}}); +CGContextBeginPath(_290); +CGContextMoveToPoint(_290,10,_28f.origin.y+8); +CGContextAddLineToPoint(_290,_28f.size.width-_28f.origin.y-8,_28f.origin.y+8); +CGContextClosePath(_290); +CGContextStrokePath(_290); +} +} +} +} +})]); +p;11;CPTabView.jt;18789;@STATIC;1.0;i;13;CPImageView.ji;15;CPTabViewItem.ji;8;CPView.jt;18719; +objj_executeFile("CPImageView.j",YES); +objj_executeFile("CPTabViewItem.j",YES); +objj_executeFile("CPView.j",YES); +CPTopTabsBezelBorder=0; +CPNoTabsBezelBorder=4; +CPNoTabsLineBorder=5; +CPNoTabsNoBorder=6; +var _1=nil,_2=nil,_3=nil,_4=nil,_5=nil; +var _6=7,_7=7; +var _8=1,_9=2,_a=4,_b=8; +var _c=objj_allocateClassPair(CPView,"CPTabView"),_d=_c.isa; +class_addIvars(_c,[new objj_ivar("_labelsView"),new objj_ivar("_backgroundView"),new objj_ivar("_separatorView"),new objj_ivar("_auxiliaryView"),new objj_ivar("_contentView"),new objj_ivar("_tabViewItems"),new objj_ivar("_selectedTabViewItem"),new objj_ivar("_tabViewType"),new objj_ivar("_delegate"),new objj_ivar("_delegateSelectors")]); +objj_registerClassPair(_c); +class_addMethods(_c,[new objj_method(sel_getUid("initWithFrame:"),function(_e,_f,_10){ +with(_e){ +_e=objj_msgSendSuper({receiver:_e,super_class:objj_getClass("CPTabView").super_class},"initWithFrame:",_10); +if(_e){ +_tabViewType=CPTopTabsBezelBorder; +_tabViewItems=[]; +} +return _e; +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_11,_12){ +with(_11){ +if(_tabViewType!=CPTopTabsBezelBorder||_labelsView){ +return; +} +objj_msgSend(_11,"_createBezelBorder"); +objj_msgSend(_11,"layoutSubviews"); +} +}),new objj_method(sel_getUid("_createBezelBorder"),function(_13,_14){ +with(_13){ +var _15=objj_msgSend(_13,"bounds"); +_labelsView=objj_msgSend(objj_msgSend(_CPTabLabelsView,"alloc"),"initWithFrame:",CGRectMake(0,0,CGRectGetWidth(_15),0)); +objj_msgSend(_labelsView,"setTabView:",_13); +objj_msgSend(_labelsView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_13,"addSubview:",_labelsView); +_backgroundView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_backgroundView,"setBackgroundColor:",_5); +objj_msgSend(_backgroundView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_13,"addSubview:",_backgroundView); +_separatorView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_separatorView,"setBackgroundColor:",objj_msgSend(objj_msgSend(_13,"class"),"bezelBorderColor")); +objj_msgSend(_separatorView,"setAutoresizingMask:",CPViewWidthSizable|CPViewMaxYMargin); +objj_msgSend(_13,"addSubview:",_separatorView); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_16,_17){ +with(_16){ +if(_tabViewType==CPTopTabsBezelBorder){ +var _18=objj_msgSend(_16,"bounds"),_19=objj_msgSend(_CPTabLabelsView,"height"); +_18.origin.y+=_19; +_18.size.height-=_19; +objj_msgSend(_backgroundView,"setFrame:",_18); +var _1a=5; +if(_auxiliaryView){ +_1a=CGRectGetHeight(objj_msgSend(_auxiliaryView,"frame")); +objj_msgSend(_auxiliaryView,"setFrame:",CGRectMake(_6,_19,CGRectGetWidth(_18)-_6-_7,_1a)); +} +objj_msgSend(_separatorView,"setFrame:",CGRectMake(_6,_19+_1a,CGRectGetWidth(_18)-_6-_7,1)); +} +objj_msgSend(_contentView,"setFrame:",objj_msgSend(_16,"contentRect")); +} +}),new objj_method(sel_getUid("addTabViewItem:"),function(_1b,_1c,_1d){ +with(_1b){ +objj_msgSend(_1b,"insertTabViewItem:atIndex:",_1d,objj_msgSend(_tabViewItems,"count")); +} +}),new objj_method(sel_getUid("insertTabViewItem:atIndex:"),function(_1e,_1f,_20,_21){ +with(_1e){ +if(!_labelsView&&_tabViewType==CPTopTabsBezelBorder){ +objj_msgSend(_1e,"_createBezelBorder"); +} +objj_msgSend(_tabViewItems,"insertObject:atIndex:",_20,_21); +objj_msgSend(_labelsView,"tabView:didAddTabViewItem:",_1e,_20); +objj_msgSend(_20,"_setTabView:",_1e); +if(objj_msgSend(_tabViewItems,"count")==1){ +objj_msgSend(_1e,"selectFirstTabViewItem:",_1e); +} +if(_delegateSelectors&_b){ +objj_msgSend(_delegate,"tabViewDidChangeNumberOfTabViewItems:",_1e); +} +} +}),new objj_method(sel_getUid("removeTabViewItem:"),function(_22,_23,_24){ +with(_22){ +var _25=objj_msgSend(_22,"indexOfTabViewItem:",_24); +objj_msgSend(_tabViewItems,"removeObjectIdenticalTo:",_24); +objj_msgSend(_labelsView,"tabView:didRemoveTabViewItemAtIndex:",_22,_25); +objj_msgSend(_24,"_setTabView:",nil); +if(_delegateSelectors&_b){ +objj_msgSend(_delegate,"tabViewDidChangeNumberOfTabViewItems:",_22); +} +} +}),new objj_method(sel_getUid("indexOfTabViewItem:"),function(_26,_27,_28){ +with(_26){ +return objj_msgSend(_tabViewItems,"indexOfObjectIdenticalTo:",_28); +} +}),new objj_method(sel_getUid("indexOfTabViewItemWithIdentifier:"),function(_29,_2a,_2b){ +with(_29){ +var _2c=0,_2d=objj_msgSend(_tabViewItems,"count"); +for(;_2c<_2d;++_2c){ +if(objj_msgSend(objj_msgSend(_tabViewItems[_2c],"identifier"),"isEqual:",_2b)){ +return _2c; +} +} +return _2c; +} +}),new objj_method(sel_getUid("numberOfTabViewItems"),function(_2e,_2f){ +with(_2e){ +return objj_msgSend(_tabViewItems,"count"); +} +}),new objj_method(sel_getUid("tabViewItemAtIndex:"),function(_30,_31,_32){ +with(_30){ +return _tabViewItems[_32]; +} +}),new objj_method(sel_getUid("tabViewItems"),function(_33,_34){ +with(_33){ +return _tabViewItems; +} +}),new objj_method(sel_getUid("selectFirstTabViewItem:"),function(_35,_36,_37){ +with(_35){ +var _38=objj_msgSend(_tabViewItems,"count"); +if(_38){ +objj_msgSend(_35,"selectTabViewItemAtIndex:",0); +} +} +}),new objj_method(sel_getUid("selectLastTabViewItem:"),function(_39,_3a,_3b){ +with(_39){ +var _3c=objj_msgSend(_tabViewItems,"count"); +if(_3c){ +objj_msgSend(_39,"selectTabViewItemAtIndex:",_3c-1); +} +} +}),new objj_method(sel_getUid("selectNextTabViewItem:"),function(_3d,_3e,_3f){ +with(_3d){ +if(!_selectedTabViewItem){ +return; +} +var _40=objj_msgSend(_3d,"indexOfTabViewItem:",_selectedTabViewItem),_41=objj_msgSend(_tabViewItems,"count"); +objj_msgSend(_3d,"selectTabViewItemAtIndex:",_40+1%_41); +} +}),new objj_method(sel_getUid("selectPreviousTabViewItem:"),function(_42,_43,_44){ +with(_42){ +if(!_selectedTabViewItem){ +return; +} +var _45=objj_msgSend(_42,"indexOfTabViewItem:",_selectedTabViewItem),_46=objj_msgSend(_tabViewItems,"count"); +objj_msgSend(_42,"selectTabViewItemAtIndex:",_45==0?_46:_45-1); +} +}),new objj_method(sel_getUid("selectTabViewItem:"),function(_47,_48,_49){ +with(_47){ +if((_delegateSelectors&_9)&&!objj_msgSend(_delegate,"tabView:shouldSelectTabViewItem:",_47,_49)){ +return; +} +if(_delegateSelectors&_a){ +objj_msgSend(_delegate,"tabView:willSelectTabViewItem:",_47,_49); +} +if(_selectedTabViewItem){ +_selectedTabViewItem._tabState=CPBackgroundTab; +objj_msgSend(_labelsView,"tabView:didChangeStateOfTabViewItem:",_47,_selectedTabViewItem); +objj_msgSend(_contentView,"removeFromSuperview"); +objj_msgSend(_auxiliaryView,"removeFromSuperview"); +} +_selectedTabViewItem=_49; +_selectedTabViewItem._tabState=CPSelectedTab; +_contentView=objj_msgSend(_selectedTabViewItem,"view"); +objj_msgSend(_contentView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_auxiliaryView=objj_msgSend(_selectedTabViewItem,"auxiliaryView"); +objj_msgSend(_auxiliaryView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_47,"addSubview:",_contentView); +if(_auxiliaryView){ +objj_msgSend(_47,"addSubview:",_auxiliaryView); +} +objj_msgSend(_labelsView,"tabView:didChangeStateOfTabViewItem:",_47,_selectedTabViewItem); +objj_msgSend(_47,"layoutSubviews"); +if(_delegateSelectors&_8){ +objj_msgSend(_delegate,"tabView:didSelectTabViewItem:",_47,_49); +} +} +}),new objj_method(sel_getUid("selectTabViewItemAtIndex:"),function(_4a,_4b,_4c){ +with(_4a){ +objj_msgSend(_4a,"selectTabViewItem:",_tabViewItems[_4c]); +} +}),new objj_method(sel_getUid("selectedTabViewItem"),function(_4d,_4e){ +with(_4d){ +return _selectedTabViewItem; +} +}),new objj_method(sel_getUid("setTabViewType:"),function(_4f,_50,_51){ +with(_4f){ +if(_tabViewType==_51){ +return; +} +_tabViewType=_51; +if(_tabViewType==CPNoTabsBezelBorder||_tabViewType==CPNoTabsLineBorder||_tabViewType==CPNoTabsNoBorder){ +objj_msgSend(_labelsView,"removeFromSuperview"); +}else{ +if(!objj_msgSend(_labelsView,"superview")){ +objj_msgSend(_4f,"addSubview:",_labelsView); +} +} +if(_tabViewType==CPNoTabsLineBorder||_tabViewType==CPNoTabsNoBorder){ +objj_msgSend(_backgroundView,"removeFromSuperview"); +}else{ +if(!objj_msgSend(_backgroundView,"superview")){ +objj_msgSend(_4f,"addSubview:",_backgroundView); +} +} +objj_msgSend(_4f,"layoutSubviews"); +} +}),new objj_method(sel_getUid("tabViewType"),function(_52,_53){ +with(_52){ +return _tabViewType; +} +}),new objj_method(sel_getUid("contentRect"),function(_54,_55){ +with(_54){ +var _56=CGRectMakeCopy(objj_msgSend(_54,"bounds")); +if(_tabViewType==CPTopTabsBezelBorder){ +var _57=objj_msgSend(_CPTabLabelsView,"height"),_58=_auxiliaryView?CGRectGetHeight(objj_msgSend(_auxiliaryView,"frame")):5,_59=1; +_56.origin.y+=_57+_58+_59; +_56.size.height-=_57+_58+_59*2; +_56.origin.x+=_6; +_56.size.width-=_6+_7; +} +return _56; +} +}),new objj_method(sel_getUid("delegate"),function(_5a,_5b){ +with(_5a){ +return _delegate; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_5c,_5d,_5e){ +with(_5c){ +if(_delegate==_5e){ +return; +} +_delegate=_5e; +_delegateSelectors=0; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tabView:shouldSelectTabViewItem:"))){ +_delegateSelectors|=_9; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tabView:willSelectTabViewItem:"))){ +_delegateSelectors|=_a; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tabView:didSelectTabViewItem:"))){ +_delegateSelectors|=_8; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("tabViewDidChangeNumberOfTabViewItems:"))){ +_delegateSelectors|=_b; +} +} +}),new objj_method(sel_getUid("mouseDown:"),function(_5f,_60,_61){ +with(_5f){ +var _62=objj_msgSend(_labelsView,"convertPoint:fromView:",objj_msgSend(_61,"locationInWindow"),nil),_63=objj_msgSend(_labelsView,"representedTabViewItemAtPoint:",_62); +if(_63){ +objj_msgSend(_5f,"selectTabViewItem:",_63); +} +} +})]); +class_addMethods(_d,[new objj_method(sel_getUid("initialize"),function(_64,_65){ +with(_64){ +if(_64!=CPTabView){ +return; +} +var _66=objj_msgSend(CPBundle,"bundleForClass:",_64),_67=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initByReferencingFile:size:","",CGSizeMake(7,0)),_68=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_66,"pathForResource:","CPTabView/CPTabViewBezelBackgroundCenter.png"),CGSizeMake(1,1)),_69=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_66,"pathForResource:","CPTabView/CPTabViewBezelBorderLeft.png"),CGSizeMake(7,1)),_6a=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_66,"pathForResource:","CPTabView/CPTabViewBezelBorder.png"),CGSizeMake(1,1)),_6b=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_66,"pathForResource:","CPTabView/CPTabViewBezelBorderRight.png"),CGSizeMake(7,1)); +_5=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[_67,_67,_67,_69,_68,_6b,_69,_6a,_6b])); +_4=objj_msgSend(CPColor,"colorWithPatternImage:",_6a); +} +}),new objj_method(sel_getUid("bezelBorderColor"),function(_6c,_6d){ +with(_6c){ +return _4; +} +})]); +var _6e="CPTabViewItemsKey",_6f="CPTabViewSelectedItemKey",_70="CPTabViewTypeKey",_71="CPTabViewDelegateKey"; +var _c=objj_getClass("CPTabView"); +if(!_c){ +throw new SyntaxError("*** Could not find definition for class \"CPTabView\""); +} +var _d=_c.isa; +class_addMethods(_c,[new objj_method(sel_getUid("initWithCoder:"),function(_72,_73,_74){ +with(_72){ +if(_72=objj_msgSendSuper({receiver:_72,super_class:objj_getClass("CPTabView").super_class},"initWithCoder:",_74)){ +_tabViewType=objj_msgSend(_74,"decodeIntForKey:",_70); +_tabViewItems=[]; +objj_msgSend(_72,"_createBezelBorder"); +var _75=objj_msgSend(_74,"decodeObjectForKey:",_6e); +for(var i=0;_75&&i<_75.length;i++){ +objj_msgSend(_72,"insertTabViewItem:atIndex:",_75[i],i); +} +var _76=objj_msgSend(_74,"decodeObjectForKey:",_6f); +if(_76){ +objj_msgSend(_72,"selectTabViewItem:",_76); +} +objj_msgSend(_72,"setDelegate:",objj_msgSend(_74,"decodeObjectForKey:",_71)); +} +return _72; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_77,_78,_79){ +with(_77){ +var _7a=_subviews; +_subviews=[]; +objj_msgSendSuper({receiver:_77,super_class:objj_getClass("CPTabView").super_class},"encodeWithCoder:",_79); +_subviews=_7a; +objj_msgSend(_79,"encodeObject:forKey:",_tabViewItems,_6e); +objj_msgSend(_79,"encodeObject:forKey:",_selectedTabViewItem,_6f); +objj_msgSend(_79,"encodeInt:forKey:",_tabViewType,_70); +objj_msgSend(_79,"encodeConditionalObject:forKey:",_delegate,_71); +} +})]); +var _7b=nil,_7c=10,_7d=15; +var _c=objj_allocateClassPair(CPView,"_CPTabLabelsView"),_d=_c.isa; +class_addIvars(_c,[new objj_ivar("_tabView"),new objj_ivar("_tabLabels")]); +objj_registerClassPair(_c); +class_addMethods(_c,[new objj_method(sel_getUid("initWithFrame:"),function(_7e,_7f,_80){ +with(_7e){ +_7e=objj_msgSendSuper({receiver:_7e,super_class:objj_getClass("_CPTabLabelsView").super_class},"initWithFrame:",_80); +if(_7e){ +_tabLabels=[]; +objj_msgSend(_7e,"setBackgroundColor:",_7b); +objj_msgSend(_7e,"setFrameSize:",CGSizeMake(CGRectGetWidth(_80),26)); +} +return _7e; +} +}),new objj_method(sel_getUid("setTabView:"),function(_81,_82,_83){ +with(_81){ +_tabView=_83; +} +}),new objj_method(sel_getUid("tabView"),function(_84,_85){ +with(_84){ +return _tabView; +} +}),new objj_method(sel_getUid("tabView:didAddTabViewItem:"),function(_86,_87,_88,_89){ +with(_86){ +var _8a=objj_msgSend(objj_msgSend(_CPTabLabel,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_8a,"setTabViewItem:",_89); +_tabLabels.push(_8a); +objj_msgSend(_86,"addSubview:",_8a); +objj_msgSend(_86,"layoutSubviews"); +} +}),new objj_method(sel_getUid("tabView:didRemoveTabViewItemAtIndex:"),function(_8b,_8c,_8d,_8e){ +with(_8b){ +var _8f=_tabLabels[_8e]; +objj_msgSend(_tabLabels,"removeObjectAtIndex:",_8e); +objj_msgSend(_8f,"removeFromSuperview"); +objj_msgSend(_8b,"layoutSubviews"); +} +}),new objj_method(sel_getUid("tabView:didChangeStateOfTabViewItem:"),function(_90,_91,_92,_93){ +with(_90){ +objj_msgSend(_tabLabels[objj_msgSend(_92,"indexOfTabViewItem:",_93)],"setTabState:",objj_msgSend(_93,"tabState")); +} +}),new objj_method(sel_getUid("representedTabViewItemAtPoint:"),function(_94,_95,_96){ +with(_94){ +var _97=0,_98=_tabLabels.length; +for(;_97<_98;++_97){ +var _99=_tabLabels[_97]; +if(CGRectContainsPoint(objj_msgSend(_99,"frame"),_96)){ +return objj_msgSend(_99,"tabViewItem"); +} +} +return nil; +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_9a,_9b){ +with(_9a){ +var _9c=0,_9d=_tabLabels.length,_9e=((objj_msgSend(_9a,"bounds").size.width)-(_9d-1)*_7c-2*_7d)/_9d,x=_7d; +for(;_9c<_9d;++_9c){ +var _9f=_tabLabels[_9c],_a0={origin:{x:x,y:8},size:{width:_9e,height:18}}; +objj_msgSend(_9f,"setFrame:",_a0); +x=(_a0.origin.x+_a0.size.width)+_7c; +} +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_a1,_a2,_a3){ +with(_a1){ +if(CGSizeEqualToSize(objj_msgSend(_a1,"frame").size,_a3)){ +return; +} +objj_msgSendSuper({receiver:_a1,super_class:objj_getClass("_CPTabLabelsView").super_class},"setFrameSize:",_a3); +objj_msgSend(_a1,"layoutSubviews"); +} +})]); +class_addMethods(_d,[new objj_method(sel_getUid("initialize"),function(_a4,_a5){ +with(_a4){ +if(_a4!=objj_msgSend(_CPTabLabelsView,"class")){ +return; +} +var _a6=objj_msgSend(CPBundle,"bundleForClass:",_a4); +_7b=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_a6,"pathForResource:","CPTabView/_CPTabLabelsViewLeft.png"),CGSizeMake(12,26)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_a6,"pathForResource:","CPTabView/_CPTabLabelsViewCenter.png"),CGSizeMake(1,26)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_a6,"pathForResource:","CPTabView/_CPTabLabelsViewRight.png"),CGSizeMake(12,26))],NO)); +} +}),new objj_method(sel_getUid("height"),function(_a7,_a8){ +with(_a7){ +return 26; +} +})]); +var _a9=nil,_aa=nil; +var _c=objj_allocateClassPair(CPView,"_CPTabLabel"),_d=_c.isa; +class_addIvars(_c,[new objj_ivar("_tabViewItem"),new objj_ivar("_labelField")]); +objj_registerClassPair(_c); +class_addMethods(_c,[new objj_method(sel_getUid("initWithFrame:"),function(_ab,_ac,_ad){ +with(_ab){ +_ab=objj_msgSendSuper({receiver:_ab,super_class:objj_getClass("_CPTabLabel").super_class},"initWithFrame:",_ad); +if(_ab){ +_labelField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_labelField,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_labelField,"setFrame:",CGRectMake(5,0,CGRectGetWidth(_ad)-10,20)); +objj_msgSend(_labelField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_labelField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",11)); +objj_msgSend(_ab,"addSubview:",_labelField); +objj_msgSend(_ab,"setTabState:",CPBackgroundTab); +} +return _ab; +} +}),new objj_method(sel_getUid("setTabState:"),function(_ae,_af,_b0){ +with(_ae){ +objj_msgSend(_ae,"setBackgroundColor:",_b0==CPSelectedTab?_aa:_a9); +} +}),new objj_method(sel_getUid("setTabViewItem:"),function(_b1,_b2,_b3){ +with(_b1){ +_tabViewItem=_b3; +objj_msgSend(_b1,"update"); +} +}),new objj_method(sel_getUid("tabViewItem"),function(_b4,_b5){ +with(_b4){ +return _tabViewItem; +} +}),new objj_method(sel_getUid("update"),function(_b6,_b7){ +with(_b6){ +objj_msgSend(_labelField,"setStringValue:",objj_msgSend(_tabViewItem,"label")); +} +})]); +class_addMethods(_d,[new objj_method(sel_getUid("initialize"),function(_b8,_b9){ +with(_b8){ +if(_b8!=objj_msgSend(_CPTabLabel,"class")){ +return; +} +var _ba=objj_msgSend(CPBundle,"bundleForClass:",_b8); +_a9=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelBackgroundLeft.png"),CGSizeMake(6,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelBackgroundCenter.png"),CGSizeMake(1,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelBackgroundRight.png"),CGSizeMake(6,18))],NO)); +_aa=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelSelectedLeft.png"),CGSizeMake(3,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelSelectedCenter.png"),CGSizeMake(1,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_ba,"pathForResource:","CPTabView/_CPTabLabelSelectedRight.png"),CGSizeMake(3,18))],NO)); +} +})]); +p;15;CPTabViewItem.jt;2872;@STATIC;1.0;I;21;Foundation/CPObject.jI;15;AppKit/CPView.jt;2807; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("AppKit/CPView.j",NO); +CPSelectedTab=0; +CPBackgroundTab=1; +CPPressedTab=2; +var _1=objj_allocateClassPair(CPObject,"CPTabViewItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_identifier"),new objj_ivar("_label"),new objj_ivar("_view"),new objj_ivar("_auxiliaryView"),new objj_ivar("_tabView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +return objj_msgSend(_3,"initWithIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithIdentifier:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPTabViewItem").super_class},"init"); +if(_5){ +_identifier=_7; +} +return _5; +} +}),new objj_method(sel_getUid("setLabel:"),function(_8,_9,_a){ +with(_8){ +_label=_a; +} +}),new objj_method(sel_getUid("label"),function(_b,_c){ +with(_b){ +return _label; +} +}),new objj_method(sel_getUid("tabState"),function(_d,_e){ +with(_d){ +return _tabState; +} +}),new objj_method(sel_getUid("setIdentifier:"),function(_f,_10,_11){ +with(_f){ +_identifier=_11; +} +}),new objj_method(sel_getUid("identifier"),function(_12,_13){ +with(_12){ +return _identifier; +} +}),new objj_method(sel_getUid("setView:"),function(_14,_15,_16){ +with(_14){ +_view=_16; +} +}),new objj_method(sel_getUid("view"),function(_17,_18){ +with(_17){ +return _view; +} +}),new objj_method(sel_getUid("setAuxiliaryView:"),function(_19,_1a,_1b){ +with(_19){ +_auxiliaryView=_1b; +} +}),new objj_method(sel_getUid("auxiliaryView"),function(_1c,_1d){ +with(_1c){ +return _auxiliaryView; +} +}),new objj_method(sel_getUid("tabView"),function(_1e,_1f){ +with(_1e){ +return _tabView; +} +}),new objj_method(sel_getUid("_setTabView:"),function(_20,_21,_22){ +with(_20){ +_tabView=_22; +} +})]); +var _23="CPTabViewItemIdentifierKey",_24="CPTabViewItemLabelKey",_25="CPTabViewItemViewKey",_26="CPTabViewItemAuxViewKey"; +var _1=objj_getClass("CPTabViewItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTabViewItem\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_27,_28,_29){ +with(_27){ +_27=objj_msgSendSuper({receiver:_27,super_class:objj_getClass("CPTabViewItem").super_class},"init"); +if(_27){ +_identifier=objj_msgSend(_29,"decodeObjectForKey:",_23); +_label=objj_msgSend(_29,"decodeObjectForKey:",_24); +_view=objj_msgSend(_29,"decodeObjectForKey:",_25); +_auxiliaryView=objj_msgSend(_29,"decodeObjectForKey:",_26); +} +return _27; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2c,"encodeObject:forKey:",_identifier,_23); +objj_msgSend(_2c,"encodeObject:forKey:",_label,_24); +objj_msgSend(_2c,"encodeObject:forKey:",_view,_25); +objj_msgSend(_2c,"encodeObject:forKey:",_auxiliaryView,_26); +} +})]); +p;13;CPTextField.jt;23376;@STATIC;1.0;i;11;CPControl.ji;17;CPStringDrawing.ji;17;CPCompatibility.ji;21;_CPImageAndTextView.jt;23270; +objj_executeFile("CPControl.j",YES); +objj_executeFile("CPStringDrawing.j",YES); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("_CPImageAndTextView.j",YES); +CPTextFieldSquareBezel=0; +CPTextFieldRoundedBezel=1; +CPTextFieldDidFocusNotification="CPTextFieldDidFocusNotification"; +CPTextFieldDidBlurNotification="CPTextFieldDidBlurNotification"; +var _1="•"; +var _2=objj_getClass("CPString"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPString\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("string"),function(_4,_5){ +with(_4){ +return _4; +} +})]); +CPTextFieldStateRounded=CPThemeState("rounded"); +CPTextFieldStatePlaceholder=CPThemeState("placeholder"); +var _2=objj_allocateClassPair(CPControl,"CPTextField"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_isEditing"),new objj_ivar("_isEditable"),new objj_ivar("_isSelectable"),new objj_ivar("_isSecure"),new objj_ivar("_drawsBackground"),new objj_ivar("_textFieldBackgroundColor"),new objj_ivar("_placeholderString"),new objj_ivar("_delegate"),new objj_ivar("_textDidChangeValue"),new objj_ivar("_bezelStyle"),new objj_ivar("_isBordered"),new objj_ivar("_controlSize")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:"),function(_6,_7,_8){ +with(_6){ +_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPTextField").super_class},"initWithFrame:",_8); +if(_6){ +objj_msgSend(_6,"setStringValue:",""); +objj_msgSend(_6,"setPlaceholderString:",""); +_sendActionOn=CPKeyUpMask|CPKeyDownMask; +objj_msgSend(_6,"setValue:forThemeAttribute:",CPLeftTextAlignment,"alignment"); +} +return _6; +} +}),new objj_method(sel_getUid("setEditable:"),function(_9,_a,_b){ +with(_9){ +_isEditable=_b; +} +}),new objj_method(sel_getUid("isEditable"),function(_c,_d){ +with(_c){ +return _isEditable; +} +}),new objj_method(sel_getUid("setSelectable:"),function(_e,_f,_10){ +with(_e){ +_isSelectable=_10; +} +}),new objj_method(sel_getUid("isSelectable"),function(_11,_12){ +with(_11){ +return _isSelectable; +} +}),new objj_method(sel_getUid("setSecure:"),function(_13,_14,_15){ +with(_13){ +_isSecure=_15; +} +}),new objj_method(sel_getUid("isSecure"),function(_16,_17){ +with(_16){ +return _isSecure; +} +}),new objj_method(sel_getUid("setBezeled:"),function(_18,_19,_1a){ +with(_18){ +if(_1a){ +objj_msgSend(_18,"setThemeState:",CPThemeStateBezeled); +}else{ +objj_msgSend(_18,"unsetThemeState:",CPThemeStateBezeled); +} +} +}),new objj_method(sel_getUid("isBezeled"),function(_1b,_1c){ +with(_1b){ +return objj_msgSend(_1b,"hasThemeState:",CPThemeStateBezeled); +} +}),new objj_method(sel_getUid("setBezelStyle:"),function(_1d,_1e,_1f){ +with(_1d){ +var _20=_1f===CPTextFieldRoundedBezel; +if(_20){ +objj_msgSend(_1d,"setThemeState:",CPTextFieldStateRounded); +}else{ +objj_msgSend(_1d,"unsetThemeState:",CPTextFieldStateRounded); +} +} +}),new objj_method(sel_getUid("bezelStyle"),function(_21,_22){ +with(_21){ +if(objj_msgSend(_21,"hasThemeState:",CPTextFieldStateRounded)){ +return CPTextFieldRoundedBezel; +} +return CPTextFieldSquareBezel; +} +}),new objj_method(sel_getUid("setBordered:"),function(_23,_24,_25){ +with(_23){ +if(_25){ +objj_msgSend(_23,"setThemeState:",CPThemeStateBordered); +}else{ +objj_msgSend(_23,"unsetThemeState:",CPThemeStateBordered); +} +} +}),new objj_method(sel_getUid("isBordered"),function(_26,_27){ +with(_26){ +return objj_msgSend(_26,"hasThemeState:",CPThemeStateBordered); +} +}),new objj_method(sel_getUid("setDrawsBackground:"),function(_28,_29,_2a){ +with(_28){ +if(_drawsBackground==_2a){ +return; +} +_drawsBackground=_2a; +objj_msgSend(_28,"setNeedsLayout"); +objj_msgSend(_28,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("drawsBackground"),function(_2b,_2c){ +with(_2b){ +return _drawsBackground; +} +}),new objj_method(sel_getUid("setTextFieldBackgroundColor:"),function(_2d,_2e,_2f){ +with(_2d){ +if(_textFieldBackgroundColor==_2f){ +return; +} +_textFieldBackgroundColor=_2f; +objj_msgSend(_2d,"setNeedsLayout"); +objj_msgSend(_2d,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("textFieldBackgroundColor"),function(_30,_31){ +with(_30){ +return _textFieldBackgroundColor; +} +}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_32,_33){ +with(_32){ +return objj_msgSend(_32,"isEditable")&&objj_msgSend(_32,"isEnabled"); +} +}),new objj_method(sel_getUid("becomeFirstResponder"),function(_34,_35){ +with(_34){ +objj_msgSend(_34,"setThemeState:",CPThemeStateEditing); +objj_msgSend(_34,"_updatePlaceholderState"); +objj_msgSend(_34,"setNeedsLayout"); +_isEditing=NO; +return YES; +} +}),new objj_method(sel_getUid("resignFirstResponder"),function(_36,_37){ +with(_36){ +objj_msgSend(_36,"unsetThemeState:",CPThemeStateEditing); +objj_msgSend(_36,"_updatePlaceholderState"); +objj_msgSend(_36,"setNeedsLayout"); +if(_isEditing){ +_isEditing=NO; +objj_msgSend(_36,"textDidEndEditing:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidEndEditingNotification,_36,nil)); +if(objj_msgSend(_36,"sendsActionOnEndEditing")){ +objj_msgSend(_36,"sendAction:to:",objj_msgSend(_36,"action"),objj_msgSend(_36,"target")); +} +} +objj_msgSend(_36,"textDidBlur:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPTextFieldDidBlurNotification,_36,nil)); +return YES; +} +}),new objj_method(sel_getUid("needsPanelToBecomeKey"),function(_38,_39){ +with(_38){ +return YES; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_3a,_3b,_3c){ +with(_3a){ +if(objj_msgSend(_3a,"isEditable")&&objj_msgSend(_3a,"isEnabled")){ +return objj_msgSend(objj_msgSend(_3a,"window"),"makeFirstResponder:",_3a); +}else{ +return objj_msgSend(objj_msgSend(_3a,"nextResponder"),"mouseDown:",_3c); +} +} +}),new objj_method(sel_getUid("mouseUp:"),function(_3d,_3e,_3f){ +with(_3d){ +if(!objj_msgSend(_3d,"isEditable")||!objj_msgSend(_3d,"isEnabled")){ +objj_msgSend(objj_msgSend(_3d,"nextResponder"),"mouseUp:",_3f); +} +} +}),new objj_method(sel_getUid("mouseDragged:"),function(_40,_41,_42){ +with(_40){ +if(!objj_msgSend(_40,"isEditable")||!objj_msgSend(_40,"isEnabled")){ +objj_msgSend(objj_msgSend(_40,"nextResponder"),"mouseDragged:",_42); +} +} +}),new objj_method(sel_getUid("keyUp:"),function(_43,_44,_45){ +with(_43){ +var _46=objj_msgSend(_43,"stringValue"); +objj_msgSend(_43,"_setStringValue:",objj_msgSend(_43,"_inputElement").value); +if(_46!==objj_msgSend(_43,"stringValue")){ +if(!_isEditing){ +_isEditing=YES; +objj_msgSend(_43,"textDidBeginEditing:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidBeginEditingNotification,_43,nil)); +} +objj_msgSend(_43,"textDidChange:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidChangeNotification,_43,nil)); +} +objj_msgSend(objj_msgSend(objj_msgSend(_43,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +}),new objj_method(sel_getUid("keyDown:"),function(_47,_48,_49){ +with(_47){ +if(objj_msgSend(_49,"keyCode")===CPReturnKeyCode){ +if(_isEditing){ +_isEditing=NO; +objj_msgSend(_47,"textDidEndEditing:",objj_msgSend(CPNotification,"notificationWithName:object:userInfo:",CPControlTextDidEndEditingNotification,_47,nil)); +} +objj_msgSend(_47,"sendAction:to:",objj_msgSend(_47,"action"),objj_msgSend(_47,"target")); +objj_msgSend(_47,"selectText:",nil); +objj_msgSend(objj_msgSend(objj_msgSend(_47,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",NO); +}else{ +if(objj_msgSend(_49,"keyCode")===CPTabKeyCode){ +if(objj_msgSend(_49,"modifierFlags")&CPShiftKeyMask){ +objj_msgSend(objj_msgSend(_47,"window"),"selectPreviousKeyView:",_47); +}else{ +objj_msgSend(objj_msgSend(_47,"window"),"selectNextKeyView:",_47); +} +if(objj_msgSend(objj_msgSend(objj_msgSend(_47,"window"),"firstResponder"),"respondsToSelector:",sel_getUid("selectText:"))){ +objj_msgSend(objj_msgSend(objj_msgSend(_47,"window"),"firstResponder"),"selectText:",_47); +} +objj_msgSend(objj_msgSend(objj_msgSend(_47,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",NO); +}else{ +objj_msgSend(objj_msgSend(objj_msgSend(_47,"window"),"platformWindow"),"_propagateCurrentDOMEvent:",YES); +} +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("textDidBlur:"),function(_4a,_4b,_4c){ +with(_4a){ +if(objj_msgSend(_4c,"object")!=_4a){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotification:",_4c); +} +}),new objj_method(sel_getUid("textDidFocus:"),function(_4d,_4e,_4f){ +with(_4d){ +if(objj_msgSend(_4f,"object")!=_4d){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotification:",_4f); +} +}),new objj_method(sel_getUid("objectValue"),function(_50,_51){ +with(_50){ +return objj_msgSendSuper({receiver:_50,super_class:objj_getClass("CPTextField").super_class},"objectValue"); +} +}),new objj_method(sel_getUid("_setStringValue:"),function(_52,_53,_54){ +with(_52){ +objj_msgSend(_52,"willChangeValueForKey:","objectValue"); +objj_msgSendSuper({receiver:_52,super_class:objj_getClass("CPTextField").super_class},"setObjectValue:",String(_54)); +objj_msgSend(_52,"_updatePlaceholderState"); +objj_msgSend(_52,"didChangeValueForKey:","objectValue"); +} +}),new objj_method(sel_getUid("setObjectValue:"),function(_55,_56,_57){ +with(_55){ +objj_msgSendSuper({receiver:_55,super_class:objj_getClass("CPTextField").super_class},"setObjectValue:",_57); +objj_msgSend(_55,"_updatePlaceholderState"); +} +}),new objj_method(sel_getUid("_updatePlaceholderState"),function(_58,_59){ +with(_58){ +var _5a=objj_msgSend(_58,"stringValue"); +if((!_5a||_5a.length===0)&&!objj_msgSend(_58,"hasThemeState:",CPThemeStateEditing)){ +objj_msgSend(_58,"setThemeState:",CPTextFieldStatePlaceholder); +}else{ +objj_msgSend(_58,"unsetThemeState:",CPTextFieldStatePlaceholder); +} +} +}),new objj_method(sel_getUid("setPlaceholderString:"),function(_5b,_5c,_5d){ +with(_5b){ +if(_placeholderString===_5d){ +return; +} +_placeholderString=_5d; +if(objj_msgSend(_5b,"hasThemeState:",CPTextFieldStatePlaceholder)){ +objj_msgSend(_5b,"setNeedsLayout"); +objj_msgSend(_5b,"setNeedsDisplay:",YES); +} +} +}),new objj_method(sel_getUid("placeholderString"),function(_5e,_5f){ +with(_5e){ +return _placeholderString; +} +}),new objj_method(sel_getUid("sizeToFit"),function(_60,_61){ +with(_60){ +var _62=objj_msgSend((objj_msgSend(_60,"stringValue")||" "),"sizeWithFont:",objj_msgSend(_60,"currentValueForThemeAttribute:","font")),_63=objj_msgSend(_60,"currentValueForThemeAttribute:","content-inset"),_64=objj_msgSend(_60,"currentValueForThemeAttribute:","min-size"),_65=objj_msgSend(_60,"currentValueForThemeAttribute:","max-size"); +_62.width=MAX(_62.width+_63.left+_63.right,_64.width); +_62.height=MAX(_62.height+_63.top+_63.bottom,_64.height); +if(_65.width>=0){ +_62.width=MIN(_62.width,_65.width); +} +if(_65.height>=0){ +_62.height=MIN(_62.height,_65.height); +} +if(objj_msgSend(_60,"isEditable")){ +_62.width=CGRectGetWidth(objj_msgSend(_60,"frame")); +} +objj_msgSend(_60,"setFrameSize:",_62); +} +}),new objj_method(sel_getUid("selectText:"),function(_66,_67,_68){ +with(_66){ +} +}),new objj_method(sel_getUid("copy:"),function(_69,_6a,_6b){ +with(_69){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +var _6c=objj_msgSend(_69,"selectedRange"); +if(_6c.length<1){ +return; +} +var _6d=objj_msgSend(CPPasteboard,"generalPasteboard"),_6e=objj_msgSend(_69,"stringValue"),_6f=objj_msgSend(_6e,"substringWithRange:",_6c); +objj_msgSend(_6d,"declareTypes:owner:",[CPStringPboardType],nil); +objj_msgSend(_6d,"setString:forType:",_6f,CPStringPboardType); +} +} +}),new objj_method(sel_getUid("cut:"),function(_70,_71,_72){ +with(_70){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(_70,"copy:",_72); +objj_msgSend(_70,"deleteBackward:",_72); +} +} +}),new objj_method(sel_getUid("paste:"),function(_73,_74,_75){ +with(_73){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +var _76=objj_msgSend(CPPasteboard,"generalPasteboard"); +if(!objj_msgSend(objj_msgSend(_76,"types"),"containsObject:",CPStringPboardType)){ +return; +} +objj_msgSend(_73,"deleteBackward:",_75); +var _77=objj_msgSend(_73,"selectedRange"),_78=objj_msgSend(_73,"stringValue"),_79=objj_msgSend(_76,"stringForType:",CPStringPboardType),_7a=objj_msgSend(_78,"stringByReplacingCharactersInRange:withString:",_77,_79); +objj_msgSend(_73,"setStringValue:",_7a); +objj_msgSend(_73,"setSelectedRange:",CPMakeRange(_77.location+_79.length,0)); +} +} +}),new objj_method(sel_getUid("selectedRange"),function(_7b,_7c){ +with(_7b){ +if(objj_msgSend(objj_msgSend(_7b,"window"),"firstResponder")!==_7b){ +return CPMakeRange(0,0); +} +try{ +var _7d=objj_msgSend(_7b,"_inputElement"),_7e=_7d.selectionStart,_7f=_7d.selectionEnd; +if(objj_msgSend(_7e,"isKindOfClass:",CPNumber)){ +return CPMakeRange(_7e,_7f-_7e); +} +var _80=_7d.ownerDocument||_7d.document,_81=_80.selection.createRange(),_82=_7d.createTextRange(); +if(_82.inRange(_81)){ +_82.setEndPoint("EndToStart",_81); +return CPMakeRange(_82.text.length,_81.text.length); +} +} +catch(e){ +} +return CGMakeRange(0,0); +} +}),new objj_method(sel_getUid("setSelectedRange:"),function(_83,_84,_85){ +with(_83){ +if(!objj_msgSend(objj_msgSend(_83,"window"),"firstResponder")===_83){ +return; +} +var _86=objj_msgSend(_83,"_inputElement"); +try{ +if(objj_msgSend(_86.selectionStart,"isKindOfClass:",CPNumber)){ +_86.selectionStart=_85.location; +_86.selectionEnd=CPMaxRange(_85); +}else{ +var _87=_86.ownerDocument||_86.document,_88=_87.selection.createRange(),_89=_86.createTextRange(); +if(_89.inRange(_88)){ +_89.collapse(true); +_89.move("character",_85.location); +_89.moveEnd("character",_85.length); +_89.select(); +} +} +} +catch(e){ +} +} +}),new objj_method(sel_getUid("selectAll:"),function(_8a,_8b,_8c){ +with(_8a){ +objj_msgSend(_8a,"selectText:",_8c); +} +}),new objj_method(sel_getUid("deleteBackward:"),function(_8d,_8e,_8f){ +with(_8d){ +var _90=objj_msgSend(_8d,"selectedRange"),_91=objj_msgSend(_8d,"stringValue"),_92=objj_msgSend(_91,"stringByReplacingCharactersInRange:withString:",_90,""); +objj_msgSend(_8d,"setStringValue:",_92); +objj_msgSend(_8d,"setSelectedRange:",CPMakeRange(_90.location,0)); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_93,_94,_95){ +with(_93){ +var _96=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_delegate){ +objj_msgSend(_96,"removeObserver:name:object:",_delegate,CPControlTextDidBeginEditingNotification,_93); +objj_msgSend(_96,"removeObserver:name:object:",_delegate,CPControlTextDidChangeNotification,_93); +objj_msgSend(_96,"removeObserver:name:object:",_delegate,CPControlTextDidEndEditingNotification,_93); +objj_msgSend(_96,"removeObserver:name:object:",_delegate,CPTextFieldDidFocusNotification,_93); +objj_msgSend(_96,"removeObserver:name:object:",_delegate,CPTextFieldDidBlurNotification,_93); +} +_delegate=_95; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidBeginEditing:"))){ +objj_msgSend(_96,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidBeginEditing:"),CPControlTextDidBeginEditingNotification,_93); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidChange:"))){ +objj_msgSend(_96,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidChange:"),CPControlTextDidChangeNotification,_93); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidEndEditing:"))){ +objj_msgSend(_96,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidEndEditing:"),CPControlTextDidEndEditingNotification,_93); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidFocus:"))){ +objj_msgSend(_96,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidFocus:"),CPTextFieldDidFocusNotification,_93); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("controlTextDidBlur:"))){ +objj_msgSend(_96,"addObserver:selector:name:object:",_delegate,sel_getUid("controlTextDidBlur:"),CPTextFieldDidBlurNotification,_93); +} +} +}),new objj_method(sel_getUid("delegate"),function(_97,_98){ +with(_97){ +return _delegate; +} +}),new objj_method(sel_getUid("contentRectForBounds:"),function(_99,_9a,_9b){ +with(_99){ +var _9c=objj_msgSend(_99,"currentValueForThemeAttribute:","content-inset"); +if(!_9c){ +return _9b; +} +_9b.origin.x+=_9c.left; +_9b.origin.y+=_9c.top; +_9b.size.width-=_9c.left+_9c.right; +_9b.size.height-=_9c.top+_9c.bottom; +return _9b; +} +}),new objj_method(sel_getUid("bezelRectForBounds:"),function(_9d,_9e,_9f){ +with(_9d){ +var _a0=objj_msgSend(_9d,"currentValueForThemeAttribute:","bezel-inset"); +if(((_a0).top===0&&(_a0).right===0&&(_a0).bottom===0&&(_a0).left===0)){ +return _9f; +} +_9f.origin.x+=_a0.left; +_9f.origin.y+=_a0.top; +_9f.size.width-=_a0.left+_a0.right; +_9f.size.height-=_a0.top+_a0.bottom; +return _9f; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(_a1,_a2,_a3){ +with(_a1){ +if(_a3==="bezel-view"){ +return objj_msgSend(_a1,"bezelRectForBounds:",objj_msgSend(_a1,"bounds")); +}else{ +if(_a3==="content-view"){ +return objj_msgSend(_a1,"contentRectForBounds:",objj_msgSend(_a1,"bounds")); +} +} +return objj_msgSendSuper({receiver:_a1,super_class:objj_getClass("CPTextField").super_class},"rectForEphemeralSubviewNamed:",_a3); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(_a4,_a5,_a6){ +with(_a4){ +if(_a6==="bezel-view"){ +var _a7=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_a7,"setHitTests:",NO); +return _a7; +}else{ +var _a7=objj_msgSend(objj_msgSend(_CPImageAndTextView,"alloc"),"initWithFrame:",{origin:{x:0,y:0},size:{width:0,height:0}}); +objj_msgSend(_a7,"setHitTests:",NO); +return _a7; +} +return objj_msgSendSuper({receiver:_a4,super_class:objj_getClass("CPTextField").super_class},"createEphemeralSubviewNamed:",_a6); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_a8,_a9){ +with(_a8){ +var _aa=objj_msgSend(_a8,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","bezel-view",CPWindowBelow,"content-view"); +if(_aa){ +objj_msgSend(_aa,"setBackgroundColor:",objj_msgSend(_a8,"currentValueForThemeAttribute:","bezel-color")); +} +var _ab=objj_msgSend(_a8,"layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:","content-view",CPWindowAbove,"bezel-view"); +if(_ab){ +objj_msgSend(_ab,"setHidden:",objj_msgSend(_a8,"hasThemeState:",CPThemeStateEditing)); +var _ac=""; +if(objj_msgSend(_a8,"hasThemeState:",CPTextFieldStatePlaceholder)){ +_ac=objj_msgSend(_a8,"placeholderString"); +}else{ +_ac=objj_msgSend(_a8,"stringValue"); +if(objj_msgSend(_a8,"isSecure")){ +_ac=_ad(_ac); +} +} +objj_msgSend(_ab,"setText:",_ac); +objj_msgSend(_ab,"setTextColor:",objj_msgSend(_a8,"currentValueForThemeAttribute:","text-color")); +objj_msgSend(_ab,"setFont:",objj_msgSend(_a8,"currentValueForThemeAttribute:","font")); +objj_msgSend(_ab,"setAlignment:",objj_msgSend(_a8,"currentValueForThemeAttribute:","alignment")); +objj_msgSend(_ab,"setVerticalAlignment:",objj_msgSend(_a8,"currentValueForThemeAttribute:","vertical-alignment")); +objj_msgSend(_ab,"setLineBreakMode:",objj_msgSend(_a8,"currentValueForThemeAttribute:","line-break-mode")); +objj_msgSend(_ab,"setTextShadowColor:",objj_msgSend(_a8,"currentValueForThemeAttribute:","text-shadow-color")); +objj_msgSend(_ab,"setTextShadowOffset:",objj_msgSend(_a8,"currentValueForThemeAttribute:","text-shadow-offset")); +} +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("textFieldWithStringValue:placeholder:width:"),function(_ae,_af,_b0,_b1,_b2){ +with(_ae){ +return objj_msgSend(_ae,"textFieldWithStringValue:placeholder:width:theme:",_b0,_b1,_b2,objj_msgSend(CPTheme,"defaultTheme")); +} +}),new objj_method(sel_getUid("textFieldWithStringValue:placeholder:width:theme:"),function(_b3,_b4,_b5,_b6,_b7,_b8){ +with(_b3){ +var _b9=objj_msgSend(objj_msgSend(_b3,"alloc"),"initWithFrame:",CGRectMake(0,0,_b7,29)); +objj_msgSend(_b9,"setTheme:",_b8); +objj_msgSend(_b9,"setStringValue:",_b5); +objj_msgSend(_b9,"setPlaceholderString:",_b6); +objj_msgSend(_b9,"setBordered:",YES); +objj_msgSend(_b9,"setBezeled:",YES); +objj_msgSend(_b9,"setEditable:",YES); +objj_msgSend(_b9,"sizeToFit"); +return _b9; +} +}),new objj_method(sel_getUid("roundedTextFieldWithStringValue:placeholder:width:"),function(_ba,_bb,_bc,_bd,_be){ +with(_ba){ +return objj_msgSend(_ba,"roundedTextFieldWithStringValue:placeholder:width:theme:",_bc,_bd,_be,objj_msgSend(CPTheme,"defaultTheme")); +} +}),new objj_method(sel_getUid("roundedTextFieldWithStringValue:placeholder:width:theme:"),function(_bf,_c0,_c1,_c2,_c3,_c4){ +with(_bf){ +var _c5=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMake(0,0,_c3,29)); +objj_msgSend(_c5,"setTheme:",_c4); +objj_msgSend(_c5,"setStringValue:",_c1); +objj_msgSend(_c5,"setPlaceholderString:",_c2); +objj_msgSend(_c5,"setBezelStyle:",CPTextFieldRoundedBezel); +objj_msgSend(_c5,"setBordered:",YES); +objj_msgSend(_c5,"setBezeled:",YES); +objj_msgSend(_c5,"setEditable:",YES); +objj_msgSend(_c5,"sizeToFit"); +return _c5; +} +}),new objj_method(sel_getUid("labelWithTitle:"),function(_c6,_c7,_c8){ +with(_c6){ +return objj_msgSend(_c6,"labelWithTitle:theme:",_c8,objj_msgSend(CPTheme,"defaultTheme")); +} +}),new objj_method(sel_getUid("labelWithTitle:theme:"),function(_c9,_ca,_cb,_cc){ +with(_c9){ +var _cd=objj_msgSend(objj_msgSend(_c9,"alloc"),"init"); +objj_msgSend(_cd,"setStringValue:",_cb); +objj_msgSend(_cd,"sizeToFit"); +return _cd; +} +}),new objj_method(sel_getUid("themeClass"),function(_ce,_cf){ +with(_ce){ +return "textfield"; +} +}),new objj_method(sel_getUid("themeAttributes"),function(_d0,_d1){ +with(_d0){ +return objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[{top:(0),right:(0),bottom:(0),left:(0)},{top:(2),right:(2),bottom:(2),left:(2)},objj_msgSend(CPNull,"null")],["bezel-inset","content-inset","bezel-color"]); +} +})]); +var _ad=function(_d2){ +if(!_d2){ +return ""; +} +return Array(_d2.length+1).join(_1); +}; +var _d3="CPTextFieldIsEditableKey",_d4="CPTextFieldIsSelectableKey",_d5="CPTextFieldIsBorderedKey",_d6="CPTextFieldIsBezeledKey",_d7="CPTextFieldBezelStyleKey",_d8="CPTextFieldDrawsBackgroundKey",_d9="CPTextFieldLineBreakModeKey",_da="CPTextFieldBackgroundColorKey",_db="CPTextFieldPlaceholderStringKey"; +var _2=objj_getClass("CPTextField"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPTextField\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_dc,_dd,_de){ +with(_dc){ +_dc=objj_msgSendSuper({receiver:_dc,super_class:objj_getClass("CPTextField").super_class},"initWithCoder:",_de); +if(_dc){ +objj_msgSend(_dc,"setEditable:",objj_msgSend(_de,"decodeBoolForKey:",_d3)); +objj_msgSend(_dc,"setSelectable:",objj_msgSend(_de,"decodeBoolForKey:",_d4)); +objj_msgSend(_dc,"setDrawsBackground:",objj_msgSend(_de,"decodeBoolForKey:",_d8)); +objj_msgSend(_dc,"setTextFieldBackgroundColor:",objj_msgSend(_de,"decodeObjectForKey:",_da)); +objj_msgSend(_dc,"setPlaceholderString:",objj_msgSend(_de,"decodeObjectForKey:",_db)); +} +return _dc; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_df,_e0,_e1){ +with(_df){ +objj_msgSendSuper({receiver:_df,super_class:objj_getClass("CPTextField").super_class},"encodeWithCoder:",_e1); +objj_msgSend(_e1,"encodeBool:forKey:",_isEditable,_d3); +objj_msgSend(_e1,"encodeBool:forKey:",_isSelectable,_d4); +objj_msgSend(_e1,"encodeBool:forKey:",_drawsBackground,_d8); +objj_msgSend(_e1,"encodeObject:forKey:",_textFieldBackgroundColor,_da); +objj_msgSend(_e1,"encodeObject:forKey:",_placeholderString,_db); +} +})]); +p;9;CPTheme.jt;10900;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jI;30;Foundation/CPKeyedUnarchiver.jt;10793; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("Foundation/CPKeyedUnarchiver.j",NO); +var _1={},_2=nil; +var _3=objj_allocateClassPair(CPObject,"CPTheme"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_name"),new objj_ivar("_attributes")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initWithName:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPTheme").super_class},"init"); +if(_5){ +_name=_7; +_attributes=objj_msgSend(CPDictionary,"dictionary"); +_1[_name]=_5; +} +return _5; +} +}),new objj_method(sel_getUid("name"),function(_8,_9){ +with(_8){ +return _name; +} +}),new objj_method(sel_getUid("_attributeWithName:forClass:"),function(_a,_b,_c,_d){ +with(_a){ +var _e=objj_msgSend(_attributes,"objectForKey:",_d); +if(!_e){ +return nil; +} +return objj_msgSend(_e,"objectForKey:",_c); +} +}),new objj_method(sel_getUid("takeThemeFromObject:"),function(_f,_10,_11){ +with(_f){ +var _12=objj_msgSend(_11,"_themeAttributeDictionary"),_13=nil,_14=objj_msgSend(_12,"keyEnumerator"),_15=objj_msgSend(objj_msgSend(_11,"class"),"themeClass"); +while(_13=objj_msgSend(_14,"nextObject")){ +objj_msgSend(_f,"_recordAttribute:forClass:",objj_msgSend(_12,"objectForKey:",_13),_15); +} +} +}),new objj_method(sel_getUid("_recordAttribute:forClass:"),function(_16,_17,_18,_19){ +with(_16){ +if(!objj_msgSend(_18,"hasValues")){ +return; +} +var _1a=objj_msgSend(_attributes,"objectForKey:",_19); +if(!_1a){ +_1a=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_attributes,"setObject:forKey:",_1a,_19); +} +var _1b=objj_msgSend(_18,"name"),_1c=objj_msgSend(_1a,"objectForKey:",_1b); +if(_1c){ +objj_msgSend(_1a,"setObject:forKey:",objj_msgSend(_1c,"attributeMergedWithAttribute:",_18),_1b); +}else{ +objj_msgSend(_1a,"setObject:forKey:",_18,_1b); +} +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("setDefaultTheme:"),function(_1d,_1e,_1f){ +with(_1d){ +_2=_1f; +} +}),new objj_method(sel_getUid("defaultTheme"),function(_20,_21){ +with(_20){ +return _2; +} +}),new objj_method(sel_getUid("themeNamed:"),function(_22,_23,_24){ +with(_22){ +return _1[_24]; +} +})]); +var _25="CPThemeNameKey",_26="CPThemeAttributesKey"; +var _3=objj_getClass("CPTheme"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPTheme\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_27,_28,_29){ +with(_27){ +_27=objj_msgSendSuper({receiver:_27,super_class:objj_getClass("CPTheme").super_class},"init"); +if(_27){ +_name=objj_msgSend(_29,"decodeObjectForKey:",_25); +_attributes=objj_msgSend(_29,"decodeObjectForKey:",_26); +_1[_name]=_27; +} +return _27; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +objj_msgSend(_2c,"encodeObject:forKey:",_name,_25); +objj_msgSend(_2c,"encodeObject:forKey:",_attributes,_26); +} +})]); +var _3=objj_allocateClassPair(CPKeyedUnarchiver,"_CPThemeKeyedUnarchiver"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_bundle")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initForReadingWithData:bundle:"),function(_2d,_2e,_2f,_30){ +with(_2d){ +_2d=objj_msgSendSuper({receiver:_2d,super_class:objj_getClass("_CPThemeKeyedUnarchiver").super_class},"initForReadingWithData:",_2f); +if(_2d){ +_bundle=_30; +} +return _2d; +} +}),new objj_method(sel_getUid("bundle"),function(_31,_32){ +with(_31){ +return _bundle; +} +}),new objj_method(sel_getUid("awakenCustomResources"),function(_33,_34){ +with(_33){ +return YES; +} +})]); +var _35={},_36={},_37=0; +CPThemeState=function(_38){ +var _39=_35[_38]; +if(_39===undefined){ +if(_38.indexOf("+")===-1){ +_39=1<<_37++; +}else{ +var _39=0,_3a=_38.split("+"),_3b=_3a.length; +while(_3b--){ +var _3c=_3a[_3b],_3d=_35[_3c]; +if(_3d===undefined){ +_3d=1<<_37++; +_35[_3c]=_3d; +_36[_3d]=_3c; +} +_39|=_3d; +} +} +_35[_38]=_39; +_36[_39]=_38; +} +return _39; +}; +CPThemeStateName=function(_3e){ +var _3f=_36[_3e]; +if(_3f!==undefined){ +return _3f; +} +if(!(_3e&(_3e-1))){ +return ""; +} +var _40=1,_3f=""; +for(;_40<_3e;_40<<=1){ +if(_3e&_40){ +_3f+=(_3f.length===0?"":"+")+_36[_40]; +} +} +_36[_3e]=_3f; +return _3f; +}; +_36[0]="normal"; +CPThemeStateNormal=_35["normal"]=0; +CPThemeStateDisabled=CPThemeState("disabled"); +CPThemeStateHighlighted=CPThemeState("highlighted"); +CPThemeStateSelected=CPThemeState("selected"); +CPThemeStateBezeled=CPThemeState("bezeled"); +CPThemeStateBordered=CPThemeState("bordered"); +CPThemeStateEditable=CPThemeState("editable"); +CPThemeStateEditing=CPThemeState("editing"); +CPThemeStateVertical=CPThemeState("vertical"); +CPThemeStateDefault=CPThemeState("default"); +CPThemeStateCircular=CPThemeState("circular"); +var _3=objj_allocateClassPair(CPObject,"_CPThemeAttribute"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_name"),new objj_ivar("_defaultValue"),new objj_ivar("_values"),new objj_ivar("_cache"),new objj_ivar("_parentAttribute")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initWithName:defaultValue:"),function(_41,_42,_43,_44){ +with(_41){ +_41=objj_msgSendSuper({receiver:_41,super_class:objj_getClass("_CPThemeAttribute").super_class},"init"); +if(_41){ +_cache={}; +_name=_43; +_defaultValue=_44; +_values=objj_msgSend(CPDictionary,"dictionary"); +} +return _41; +} +}),new objj_method(sel_getUid("name"),function(_45,_46){ +with(_45){ +return _name; +} +}),new objj_method(sel_getUid("defaultValue"),function(_47,_48){ +with(_47){ +return _defaultValue; +} +}),new objj_method(sel_getUid("hasValues"),function(_49,_4a){ +with(_49){ +return objj_msgSend(_values,"count")>0; +} +}),new objj_method(sel_getUid("isTrivial"),function(_4b,_4c){ +with(_4b){ +return (objj_msgSend(_values,"count")===1)&&(Number(objj_msgSend(_values,"allKeys")[0])===CPThemeStateNormal); +} +}),new objj_method(sel_getUid("setValue:"),function(_4d,_4e,_4f){ +with(_4d){ +_cache={}; +if(_4f===undefined||_4f===nil){ +_values=objj_msgSend(CPDictionary,"dictionary"); +}else{ +_values=objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_4f,String(CPThemeStateNormal)); +} +} +}),new objj_method(sel_getUid("setValue:forState:"),function(_50,_51,_52,_53){ +with(_50){ +_cache={}; +if((_52===undefined)||(_52===nil)){ +objj_msgSend(_values,"removeObjectForKey:",String(_53)); +}else{ +objj_msgSend(_values,"setObject:forKey:",_52,String(_53)); +} +} +}),new objj_method(sel_getUid("value"),function(_54,_55){ +with(_54){ +return objj_msgSend(_54,"valueForState:",CPThemeStateNormal); +} +}),new objj_method(sel_getUid("valueForState:"),function(_56,_57,_58){ +with(_56){ +var _59=_cache[_58]; +if(_59!==undefined){ +return _59; +} +_59=objj_msgSend(_values,"objectForKey:",String(_58)); +if((_59===undefined||_59===nil)&&_58!==CPThemeStateNormal){ +if(_58&(_58-1)){ +var _5a=0,_5b=objj_msgSend(_values,"allKeys"),_5c=_5b.length; +while(_5c--){ +var _5d=Number(_5b[_5c]); +if((_5d&_58)===_5d){ +var _5e=_5f[_5d]; +if(_5e===undefined){ +_5e=_60(_5d); +} +if(_5e>_5a){ +_5a=_5e; +_59=objj_msgSend(_values,"objectForKey:",String(_5d)); +} +} +} +} +if(_59===undefined||_59===nil){ +_59=objj_msgSend(_values,"objectForKey:",String(CPThemeStateNormal)); +} +} +if(_59===undefined||_59===nil){ +_59=objj_msgSend(_parentAttribute,"valueForState:",_58); +} +if(_59===undefined||_59===nil){ +_59=_defaultValue; +} +_cache[_58]=_59; +return _59; +} +}),new objj_method(sel_getUid("setParentAttribute:"),function(_61,_62,_63){ +with(_61){ +if(_parentAttribute===_63){ +return; +} +_cache={}; +_parentAttribute=_63; +} +}),new objj_method(sel_getUid("attributeMergedWithAttribute:"),function(_64,_65,_66){ +with(_64){ +var _67=objj_msgSend(objj_msgSend(_CPThemeAttribute,"alloc"),"initWithName:defaultValue:",_name,_defaultValue); +_67._values=objj_msgSend(_values,"copy"); +objj_msgSend(_67._values,"addEntriesFromDictionary:",_66._values); +return _67; +} +})]); +var _3=objj_getClass("_CPThemeAttribute"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"_CPThemeAttribute\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_68,_69,_6a){ +with(_68){ +_68=objj_msgSendSuper({receiver:_68,super_class:objj_getClass("_CPThemeAttribute").super_class},"init"); +if(_68){ +_cache={}; +_name=objj_msgSend(_6a,"decodeObjectForKey:","name"); +_values=objj_msgSend(CPDictionary,"dictionary"); +if(objj_msgSend(_6a,"containsValueForKey:","value")){ +var _6b=CPThemeStateNormal; +if(objj_msgSend(_6a,"containsValueForKey:","state")){ +_6b=CPThemeState(objj_msgSend(_6a,"decodeObjectForKey:","state")); +} +objj_msgSend(_values,"setObject:forKey:",objj_msgSend(_6a,"decodeObjectForKey:","value"),_6b); +}else{ +var _6c=objj_msgSend(_6a,"decodeObjectForKey:","values"),_6d=objj_msgSend(_6c,"allKeys"),_6e=_6d.length; +while(_6e--){ +var key=_6d[_6e]; +objj_msgSend(_values,"setObject:forKey:",objj_msgSend(_6c,"objectForKey:",key),CPThemeState(key)); +} +} +} +return _68; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_6f,_70,_71){ +with(_6f){ +objj_msgSend(_71,"encodeObject:forKey:",_name,"name"); +var _72=objj_msgSend(_values,"allKeys"),_73=_72.length; +if(_73===1){ +var _74=_72[0]; +if(Number(_74)!==CPThemeStateNormal){ +objj_msgSend(_71,"encodeObject:forKey:",CPThemeStateName(Number(_74)),"state"); +} +objj_msgSend(_71,"encodeObject:forKey:",objj_msgSend(_values,"objectForKey:",_74),"value"); +}else{ +var _75=objj_msgSend(CPDictionary,"dictionary"); +while(_73--){ +var key=_72[_73]; +objj_msgSend(_75,"setObject:forKey:",objj_msgSend(_values,"objectForKey:",key),CPThemeStateName(Number(key))); +} +objj_msgSend(_71,"encodeObject:forKey:",_75,"values"); +} +} +})]); +var _5f=[0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,2,3,3,4,3,4,4,5,3,4,4,5,4,5,5,6]; +var _60=function(_76){ +var _77=0,_78=_76; +while(_76){ +++_77; +_76&=(_76-1); +} +_5f[_78]=_77; +return _77; +}; +_60.displayName="numberOfOnes"; +CPThemeAttributeEncode=function(_79,_7a){ +var _7b=_7a._values,_7c=objj_msgSend(_7b,"count"),key="$a"+objj_msgSend(_7a,"name"); +if(_7c===1){ +var _7d=objj_msgSend(_7b,"allKeys")[0]; +if(Number(_7d)===0){ +objj_msgSend(_79,"encodeObject:forKey:",objj_msgSend(_7b,"objectForKey:",_7d),key); +return YES; +} +} +if(_7c>=1){ +objj_msgSend(_79,"encodeObject:forKey:",_7a,key); +return YES; +} +return NO; +}; +CPThemeAttributeDecode=function(_7e,_7f,_80,_81,_82){ +var key="$a"+_7f; +if(!objj_msgSend(_7e,"containsValueForKey:",key)){ +var _83=objj_msgSend(objj_msgSend(_CPThemeAttribute,"alloc"),"initWithName:defaultValue:",_7f,_80); +}else{ +var _83=objj_msgSend(_7e,"decodeObjectForKey:",key); +if(!_83.isa||!objj_msgSend(_83,"isKindOfClass:",objj_msgSend(_CPThemeAttribute,"class"))){ +var _84=objj_msgSend(objj_msgSend(_CPThemeAttribute,"alloc"),"initWithName:defaultValue:",_7f,_80); +objj_msgSend(_84,"setValue:",_83); +_83=_84; +} +} +if(_81&&_82){ +objj_msgSend(_83,"setParentAttribute:",objj_msgSend(_81,"_attributeWithName:forClass:",_7f,_82)); +} +return _83; +}; +p;14;CPThemeBlend.jt;1632;@STATIC;1.0;I;21;Foundation/CPObject.jI;16;AppKit/CPTheme.jI;29;AppKit/_CPCibCustomResource.jI;30;AppKit/_CPCibKeyedUnarchiver.jt;1497; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("AppKit/CPTheme.j",NO); +objj_executeFile("AppKit/_CPCibCustomResource.j",NO); +objj_executeFile("AppKit/_CPCibKeyedUnarchiver.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPThemeBlend"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_bundle"),new objj_ivar("_themes"),new objj_ivar("_loadDelegate")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("themes"),function(_3,_4){ +with(_3){ +return _themes; +} +}),new objj_method(sel_getUid("initWithContentsOfURL:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPThemeBlend").super_class},"init"); +if(_5){ +_bundle=objj_msgSend(objj_msgSend(CPBundle,"alloc"),"initWithPath:",_7); +} +return _5; +} +}),new objj_method(sel_getUid("loadWithDelegate:"),function(_8,_9,_a){ +with(_8){ +_loadDelegate=_a; +objj_msgSend(_bundle,"loadWithDelegate:",_8); +} +}),new objj_method(sel_getUid("bundleDidFinishLoading:"),function(_b,_c,_d){ +with(_b){ +var _e=objj_msgSend(_bundle,"objectForInfoDictionaryKey:","CPKeyedThemes"),_f=_e.length; +while(_f--){ +var _10=objj_msgSend(_d,"pathForResource:",_e[_f]),_11=objj_msgSend(objj_msgSend(_CPThemeKeyedUnarchiver,"alloc"),"initForReadingWithData:bundle:",objj_msgSend(objj_msgSend(CPURL,"URLWithString:",_10),"staticResourceData"),_bundle); +objj_msgSend(_11,"decodeObjectForKey:","root"); +objj_msgSend(_11,"finishDecoding"); +} +objj_msgSend(_loadDelegate,"blendDidFinishLoading:",_b); +} +})]); +p;11;CPToolbar.jt;24284;@STATIC;1.0;I;21;Foundation/CPObject.ji;15;CPPopUpButton.ji;15;CPToolbarItem.jt;24198; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CPPopUpButton.j",YES); +objj_executeFile("CPToolbarItem.j",YES); +CPToolbarDisplayModeDefault=0; +CPToolbarDisplayModeIconAndLabel=1; +CPToolbarDisplayModeIconOnly=2; +CPToolbarDisplayModeLabelOnly=3; +var _1=nil; +var _2=nil; +var _3=objj_allocateClassPair(CPObject,"CPToolbar"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_identifier"),new objj_ivar("_displayMode"),new objj_ivar("_showsBaselineSeparator"),new objj_ivar("_allowsUserCustomization"),new objj_ivar("_isVisible"),new objj_ivar("_delegate"),new objj_ivar("_itemIdentifiers"),new objj_ivar("_identifiedItems"),new objj_ivar("_defaultItems"),new objj_ivar("_allowedItems"),new objj_ivar("_selectableItems"),new objj_ivar("_items"),new objj_ivar("_itemsSortedByVisibilityPriority"),new objj_ivar("_toolbarView"),new objj_ivar("_window")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("init"),function(_5,_6){ +with(_5){ +return objj_msgSend(_5,"initWithIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithIdentifier:"),function(_7,_8,_9){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPToolbar").super_class},"init"); +if(_7){ +_items=[]; +_identifier=_9; +_isVisible=YES; +objj_msgSend(CPToolbar,"_addToolbar:forIdentifier:",_7,_identifier); +} +return _7; +} +}),new objj_method(sel_getUid("setDisplayMode:"),function(_a,_b,_c){ +with(_a){ +} +}),new objj_method(sel_getUid("identifier"),function(_d,_e){ +with(_d){ +return _identifier; +} +}),new objj_method(sel_getUid("delegate"),function(_f,_10){ +with(_f){ +return _delegate; +} +}),new objj_method(sel_getUid("isVisible"),function(_11,_12){ +with(_11){ +return _isVisible; +} +}),new objj_method(sel_getUid("setVisible:"),function(_13,_14,_15){ +with(_13){ +if(_isVisible===_15){ +return; +} +_isVisible=_15; +objj_msgSend(_window,"_noteToolbarChanged"); +} +}),new objj_method(sel_getUid("_window"),function(_16,_17){ +with(_16){ +return _window; +} +}),new objj_method(sel_getUid("_setWindow:"),function(_18,_19,_1a){ +with(_18){ +_window=_1a; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_1b,_1c,_1d){ +with(_1b){ +if(_delegate===_1d){ +return; +} +_delegate=_1d; +objj_msgSend(_1b,"_reloadToolbarItems"); +} +}),new objj_method(sel_getUid("_loadConfiguration"),function(_1e,_1f){ +with(_1e){ +} +}),new objj_method(sel_getUid("_toolbarView"),function(_20,_21){ +with(_20){ +if(!_toolbarView){ +_toolbarView=objj_msgSend(objj_msgSend(_CPToolbarView,"alloc"),"initWithFrame:",CPRectMake(0,0,1200,59)); +objj_msgSend(_toolbarView,"setToolbar:",_20); +objj_msgSend(_toolbarView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_toolbarView,"reloadToolbarItems"); +} +return _toolbarView; +} +}),new objj_method(sel_getUid("_reloadToolbarItems"),function(_22,_23){ +with(_22){ +_itemIdentifiers=objj_msgSend(_defaultItems,"valueForKey:","itemIdentifier")||[]; +if(_delegate){ +var _24=objj_msgSend(objj_msgSend(_delegate,"toolbarDefaultItemIdentifiers:",_22),"mutableCopy"); +if(_24){ +_itemIdentifiers=objj_msgSend(_itemIdentifiers,"arrayByAddingObjectsFromArray:",_24); +} +} +var _25=0,_26=objj_msgSend(_itemIdentifiers,"count"); +_items=[]; +for(;_25<_26;++_25){ +var _27=_itemIdentifiers[_25],_28=objj_msgSend(CPToolbarItem,"_standardItemWithItemIdentifier:",_27); +if(!_28){ +_28=objj_msgSend(_identifiedItems,"objectForKey:",_27); +} +if(!_28&&_delegate){ +_28=objj_msgSend(_delegate,"toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:",_22,_27,YES); +} +_28=objj_msgSend(_28,"copy"); +if(_28===nil){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Toolbar delegate "+_delegate+" returned nil toolbar item for identifier \""+_27+"\""); +} +_28._toolbar=_22; +objj_msgSend(_items,"addObject:",_28); +} +_itemsSortedByVisibilityPriority=objj_msgSend(_items,"sortedArrayUsingFunction:context:",_29,NULL); +objj_msgSend(_toolbarView,"reloadToolbarItems"); +} +}),new objj_method(sel_getUid("items"),function(_2a,_2b){ +with(_2a){ +return _items; +} +}),new objj_method(sel_getUid("visibleItems"),function(_2c,_2d){ +with(_2c){ +return objj_msgSend(_toolbarView,"visibleItems"); +} +}),new objj_method(sel_getUid("itemsSortedByVisibilityPriority"),function(_2e,_2f){ +with(_2e){ +return _itemsSortedByVisibilityPriority; +} +}),new objj_method(sel_getUid("validateVisibleToolbarItems"),function(_30,_31){ +with(_30){ +var _32=objj_msgSend(_30,"visibleItems"),_33=objj_msgSend(_32,"count"); +while(_33--){ +objj_msgSend(_32[_33],"validate"); +} +} +}),new objj_method(sel_getUid("_itemForItemIdentifier:willBeInsertedIntoToolbar:"),function(_34,_35,_36,_37){ +with(_34){ +var _38=objj_msgSend(_identifiedItems,"objectForKey:",_36); +if(!_38){ +_38=objj_msgSend(CPToolbarItem,"_standardItemWithItemIdentifier:",_36); +if(_delegate&&!_38){ +_38=objj_msgSend(objj_msgSend(_delegate,"toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:",_34,_36,_37),"copy"); +if(!_38){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Toolbar delegate "+_delegate+" returned nil toolbar item for identifier "+_36); +} +} +objj_msgSend(_identifiedItems,"setObject:forKey:",_38,_36); +} +return _38; +} +}),new objj_method(sel_getUid("_itemsWithIdentifiers:"),function(_39,_3a,_3b){ +with(_39){ +var _3c=[]; +for(var i=0;i<_3b.length;i++){ +objj_msgSend(_3c,"addObject:",objj_msgSend(_39,"_itemForItemIdentifier:willBeInsertedIntoToolbar:",_3b[i],NO)); +} +return _3c; +} +}),new objj_method(sel_getUid("_defaultToolbarItems"),function(_3d,_3e){ +with(_3d){ +if(!_defaultItems&&objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("toolbarDefaultItemIdentifiers:"))){ +_defaultItems=[]; +var _3f=objj_msgSend(_delegate,"toolbarDefaultItemIdentifiers:",_3d),_40=0,_41=objj_msgSend(_3f,"count"); +for(;_40<_41;++_40){ +objj_msgSend(_defaultItems,"addObject:",objj_msgSend(_3d,"_itemForItemIdentifier:willBeInsertedIntoToolbar:",_3f[_40],NO)); +} +} +return _defaultItems; +} +}),new objj_method(sel_getUid("toolbarItemDidChange:"),function(_42,_43,_44){ +with(_42){ +if(objj_msgSend(_identifiedItems,"objectForKey:",objj_msgSend(_44,"itemIdentifier"))){ +objj_msgSend(_identifiedItems,"setObject:forKey:",_44,objj_msgSend(_44,"itemIdentifier")); +} +var _45=0,_46=objj_msgSend(_items,"count"); +for(;_45<=_46;++_45){ +var _47=_items[_45]; +if(objj_msgSend(_47,"itemIdentifier")===objj_msgSend(_44,"itemIdentifier")){ +_items[_45]=_44; +_itemsSortedByVisibilityPriority=objj_msgSend(_items,"sortedArrayUsingFunction:context:",_29,NULL); +objj_msgSend(_toolbarView,"reloadToolbarItems"); +} +} +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("initialize"),function(_48,_49){ +with(_48){ +if(_48!=objj_msgSend(CPToolbar,"class")){ +return; +} +_1=objj_msgSend(CPDictionary,"dictionary"); +_2=objj_msgSend(CPDictionary,"dictionary"); +} +}),new objj_method(sel_getUid("_addToolbar:forIdentifier:"),function(_4a,_4b,_4c,_4d){ +with(_4a){ +var _4e=objj_msgSend(_1,"objectForKey:",_4d); +if(!_4e){ +_4e=[]; +objj_msgSend(_1,"setObject:forKey:",_4e,_4d); +} +objj_msgSend(_4e,"addObject:",_4c); +} +})]); +var _4f="CPToolbarIdentifierKey",_50="CPToolbarDisplayModeKey",_51="CPToolbarShowsBaselineSeparatorKey",_52="CPToolbarAllowsUserCustomizationKey",_53="CPToolbarIsVisibleKey",_54="CPToolbarDelegateKey",_55="CPToolbarIdentifiedItemsKey",_56="CPToolbarDefaultItemsKey",_57="CPToolbarAllowedItemsKey",_58="CPToolbarSelectableItemsKey"; +var _3=objj_getClass("CPToolbar"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPToolbar\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_59,_5a,_5b){ +with(_59){ +_59=objj_msgSendSuper({receiver:_59,super_class:objj_getClass("CPToolbar").super_class},"init"); +if(_59){ +_identifier=objj_msgSend(_5b,"decodeObjectForKey:",_4f); +_displayMode=objj_msgSend(_5b,"decodeIntForKey:",_50); +_showsBaselineSeparator=objj_msgSend(_5b,"decodeBoolForKey:",_51); +_allowsUserCustomization=objj_msgSend(_5b,"decodeBoolForKey:",_52); +_isVisible=objj_msgSend(_5b,"decodeBoolForKey:",_53); +_identifiedItems=objj_msgSend(_5b,"decodeObjectForKey:",_55); +_defaultItems=objj_msgSend(_5b,"decodeObjectForKey:",_56); +_allowedItems=objj_msgSend(_5b,"decodeObjectForKey:",_57); +_selectableItems=objj_msgSend(_5b,"decodeObjectForKey:",_58); +objj_msgSend(objj_msgSend(_identifiedItems,"allValues"),"makeObjectsPerformSelector:withObject:",sel_getUid("_setToolbar:"),_59); +_items=[]; +objj_msgSend(CPToolbar,"_addToolbar:forIdentifier:",_59,_identifier); +objj_msgSend(_59,"setDelegate:",objj_msgSend(_5b,"decodeObjectForKey:",_54)); +objj_msgSend(_59,"_reloadToolbarItems"); +} +return _59; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_5c,_5d,_5e){ +with(_5c){ +objj_msgSend(_5e,"encodeObject:forKey:",_identifier,_4f); +objj_msgSend(_5e,"encodeInt:forKey:",_displayMode,_50); +objj_msgSend(_5e,"encodeBool:forKey:",_showsBaselineSeparator,_51); +objj_msgSend(_5e,"encodeBool:forKey:",_allowsUserCustomization,_52); +objj_msgSend(_5e,"encodeBool:forKey:",_isVisible,_53); +objj_msgSend(_5e,"encodeObject:forKey:",_identifiedItems,_55); +objj_msgSend(_5e,"encodeObject:forKey:",_defaultItems,_56); +objj_msgSend(_5e,"encodeObject:forKey:",_allowedItems,_57); +objj_msgSend(_5e,"encodeObject:forKey:",_selectableItems,_58); +objj_msgSend(_5e,"encodeConditionalObject:forKey:",_delegate,_54); +} +})]); +var _5f=nil,_60=nil,_61=nil; +var _62=5,_63=10,_64=20; +var _65=function(_66,_67,_68,_69){ +return {index:_66,view:_67,label:_68,minWidth:_69}; +}; +var _3=objj_allocateClassPair(CPView,"_CPToolbarView"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_toolbar"),new objj_ivar("_flexibleWidthIndexes"),new objj_ivar("_visibleFlexibleWidthIndexes"),new objj_ivar("_itemInfos"),new objj_ivar("_viewsForToolbarItems"),new objj_ivar("_visibleItems"),new objj_ivar("_invisibleItems"),new objj_ivar("_additionalItemsButton"),new objj_ivar("_labelColor"),new objj_ivar("_labelShadowColor"),new objj_ivar("_minWidth"),new objj_ivar("_FIXME_isHUD")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("visibleItems"),function(_6a,_6b){ +with(_6a){ +return _visibleItems; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_6c,_6d,_6e){ +with(_6c){ +_6c=objj_msgSendSuper({receiver:_6c,super_class:objj_getClass("_CPToolbarView").super_class},"initWithFrame:",_6e); +if(_6c){ +_minWidth=0; +_labelColor=objj_msgSend(CPColor,"blackColor"); +_labelShadowColor=objj_msgSend(CPColor,"colorWithWhite:alpha:",1,0.75); +_additionalItemsButton=objj_msgSend(objj_msgSend(CPPopUpButton,"alloc"),"initWithFrame:pullsDown:",CGRectMake(0,0,10,15),YES); +objj_msgSend(_additionalItemsButton,"setBordered:",NO); +objj_msgSend(_additionalItemsButton,"setImagePosition:",CPImageOnly); +objj_msgSend(objj_msgSend(_additionalItemsButton,"menu"),"setShowsStateColumn:",NO); +objj_msgSend(_additionalItemsButton,"setAlternateImage:",_61); +} +return _6c; +} +}),new objj_method(sel_getUid("setToolbar:"),function(_6f,_70,_71){ +with(_6f){ +_toolbar=_71; +} +}),new objj_method(sel_getUid("toolbar"),function(_72,_73){ +with(_72){ +return _toolbar; +} +}),new objj_method(sel_getUid("FIXME_setIsHUD:"),function(_74,_75,_76){ +with(_74){ +if(_FIXME_isHUD===_76){ +return; +} +_FIXME_isHUD=_76; +var _77=objj_msgSend(_toolbar,"items"),_78=objj_msgSend(_77,"count"); +while(_78--){ +objj_msgSend(objj_msgSend(_74,"viewForItem:",_77[_78]),"FIXME_setIsHUD:",_76); +} +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_79,_7a,_7b){ +with(_79){ +objj_msgSend(_79,"tile"); +} +}),new objj_method(sel_getUid("viewForItem:"),function(_7c,_7d,_7e){ +with(_7c){ +return _viewsForToolbarItems[objj_msgSend(_7e,"UID")]||nil; +} +}),new objj_method(sel_getUid("tile"),function(_7f,_80){ +with(_7f){ +var _81=objj_msgSend(_toolbar,"items"),_82=CGRectGetWidth(objj_msgSend(_7f,"bounds")),_83=_minWidth,_84=[]; +_visibleItems=_81; +if(_82<_83){ +_82-=_64; +_visibleItems=objj_msgSend(_visibleItems,"copy"); +var _85=objj_msgSend(_toolbar,"itemsSortedByVisibilityPriority"),_86=_85.length; +while(_83>_82&&_86){ +var _87=_85[--_86],_88=objj_msgSend(_7f,"viewForItem:",_87); +_83-=objj_msgSend(_88,"minSize").width+_63; +objj_msgSend(_visibleItems,"removeObjectIdenticalTo:",_87); +objj_msgSend(_84,"addObject:",_87); +objj_msgSend(_88,"setHidden:",YES); +objj_msgSend(_88,"FIXME_setIsHUD:",_FIXME_isHUD); +} +} +var _86=objj_msgSend(_81,"count"),_89=0; +while(_86--){ +var _88=objj_msgSend(_7f,"viewForItem:",_81[_86]),_8a=objj_msgSend(_88,"minSize"); +if(_89<_8a.height){ +_89=_8a.height; +} +} +var _86=_visibleItems.length; +flexibleItemIndexes=objj_msgSend(CPIndexSet,"indexSet"); +while(_86--){ +var _87=_visibleItems[_86],_88=objj_msgSend(_7f,"viewForItem:",_87),_8a=objj_msgSend(_88,"minSize"); +if(_8a.width!==objj_msgSend(_88,"maxSize").width){ +objj_msgSend(flexibleItemIndexes,"addIndex:",_86); +}else{ +objj_msgSend(_88,"setFrameSize:",CGSizeMake(_8a.width,_89)); +} +objj_msgSend(_88,"setHidden:",NO); +} +var _8b=_82-_83,_8c=0; +while(_8b&&objj_msgSend(flexibleItemIndexes,"count")){ +_8c+=_8b/objj_msgSend(flexibleItemIndexes,"count"); +_8b=0; +var _8d=CPNotFound; +while((_8d=objj_msgSend(flexibleItemIndexes,"indexGreaterThanIndex:",_8d))!==CPNotFound){ +var _87=_visibleItems[_8d],_88=objj_msgSend(_7f,"viewForItem:",_87),_8e=objj_msgSend(_88,"minSize").width+_8c,_8f=MIN(_8e,objj_msgSend(_88,"maxSize").width); +if(_8f<_8e){ +objj_msgSend(flexibleItemIndexes,"removeIndex:",_8d); +_8b+=_8e-_8f; +} +objj_msgSend(_88,"setFrameSize:",CGSizeMake(_8f,_89)); +} +} +var _8d=0,_86=_visibleItems.length,x=_63; +for(;_8d<_86;++_8d){ +var _88=objj_msgSend(_7f,"viewForItem:",_visibleItems[_8d]),_90=CGRectGetWidth(objj_msgSend(_88,"frame")); +objj_msgSend(_88,"setFrame:",CGRectMake(x,0,_90,_89)); +x+=_90+_63; +} +var _91=NO; +if(objj_msgSend(_84,"count")){ +var _8d=0,_86=objj_msgSend(_81,"count"); +_invisibleItems=[]; +for(;_8d<_86;++_8d){ +var _87=_81[_8d]; +if(objj_msgSend(_84,"indexOfObjectIdenticalTo:",_87)!==CPNotFound){ +objj_msgSend(_invisibleItems,"addObject:",_87); +var _92=objj_msgSend(_87,"itemIdentifier"); +if(_92!==CPToolbarSpaceItemIdentifier&&_92!==CPToolbarFlexibleSpaceItemIdentifier&&_92!==CPToolbarSeparatorItemIdentifier){ +_91=YES; +} +} +} +} +if(_91){ +objj_msgSend(_additionalItemsButton,"setFrameOrigin:",CGPointMake(_82+5,(CGRectGetHeight(objj_msgSend(_7f,"bounds"))-CGRectGetHeight(objj_msgSend(_additionalItemsButton,"frame")))/2)); +objj_msgSend(_7f,"addSubview:",_additionalItemsButton); +objj_msgSend(_additionalItemsButton,"removeAllItems"); +objj_msgSend(_additionalItemsButton,"addItemWithTitle:","Additional Items"); +objj_msgSend(objj_msgSend(_additionalItemsButton,"itemArray")[0],"setImage:",_60); +var _8d=0,_86=objj_msgSend(_invisibleItems,"count"),_93=NO; +for(;_8d<_86;++_8d){ +var _87=_invisibleItems[_8d],_92=objj_msgSend(_87,"itemIdentifier"); +if(_92===CPToolbarSpaceItemIdentifier||_92===CPToolbarFlexibleSpaceItemIdentifier){ +continue; +} +if(_92===CPToolbarSeparatorItemIdentifier){ +if(_93){ +objj_msgSend(_additionalItemsButton,"addItem:",objj_msgSend(CPMenuItem,"separatorItem")); +} +continue; +} +_93=YES; +objj_msgSend(_additionalItemsButton,"addItemWithTitle:",objj_msgSend(_87,"label")); +var _94=objj_msgSend(_additionalItemsButton,"itemArray")[_8d+1]; +objj_msgSend(_94,"setImage:",objj_msgSend(_87,"image")); +objj_msgSend(_94,"setTarget:",objj_msgSend(_87,"target")); +objj_msgSend(_94,"setAction:",objj_msgSend(_87,"action")); +} +}else{ +objj_msgSend(_additionalItemsButton,"removeFromSuperview"); +} +} +}),new objj_method(sel_getUid("reloadToolbarItems"),function(_95,_96){ +with(_95){ +var _97=objj_msgSend(_95,"subviews"),_98=_97.length; +while(_98--){ +objj_msgSend(_97[_98],"removeFromSuperview"); +} +var _99=objj_msgSend(_toolbar,"items"),_9a=0; +_98=_99.length; +_minWidth=_63; +_viewsForToolbarItems={}; +for(;_9a<_98;++_9a){ +var _9b=_99[_9a],_9c=objj_msgSend(objj_msgSend(_CPToolbarItemView,"alloc"),"initWithToolbarItem:toolbar:",_9b,_95); +_viewsForToolbarItems[objj_msgSend(_9b,"UID")]=_9c; +objj_msgSend(_95,"addSubview:",_9c); +_minWidth+=objj_msgSend(_9c,"minSize").width+_63; +} +objj_msgSend(_95,"tile"); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("initialize"),function(_9d,_9e){ +with(_9d){ +if(_9d!==objj_msgSend(_CPToolbarView,"class")){ +return; +} +var _9f=objj_msgSend(CPBundle,"bundleForClass:",_9d); +_60=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_9f,"pathForResource:","_CPToolbarView/_CPToolbarViewExtraItemsImage.png"),CPSizeMake(10,15)); +_61=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_9f,"pathForResource:","_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png"),CGSizeMake(10,15)); +} +})]); +var _29=function(lhs,rhs){ +var _a0=objj_msgSend(lhs,"visibilityPriority"),_a1=objj_msgSend(rhs,"visibilityPriority"); +if(_a0==_a1){ +return CPOrderedSame; +} +if(_a0>_a1){ +return CPOrderedAscending; +} +return CPOrderedDescending; +}; +var _a2=5,_a3=2; +var _3=objj_allocateClassPair(CPControl,"_CPToolbarItemView"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_minSize"),new objj_ivar("_maxSize"),new objj_ivar("_labelSize"),new objj_ivar("_toolbarItem"),new objj_ivar("_toolbar"),new objj_ivar("_imageView"),new objj_ivar("_view"),new objj_ivar("_labelField"),new objj_ivar("_FIXME_isHUD")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("minSize"),function(_a4,_a5){ +with(_a4){ +return _minSize; +} +}),new objj_method(sel_getUid("maxSize"),function(_a6,_a7){ +with(_a6){ +return _maxSize; +} +}),new objj_method(sel_getUid("initWithToolbarItem:toolbar:"),function(_a8,_a9,_aa,_ab){ +with(_a8){ +_a8=objj_msgSendSuper({receiver:_a8,super_class:objj_getClass("_CPToolbarItemView").super_class},"init"); +if(_a8){ +_toolbarItem=_aa; +_labelField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_labelField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",11)); +objj_msgSend(_labelField,"setTextColor:",objj_msgSend(_a8,"FIXME_labelColor")); +objj_msgSend(_labelField,"setTextShadowColor:",objj_msgSend(_a8,"FIXME_labelShadowColor")); +objj_msgSend(_labelField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_labelField,"setAutoresizingMask:",CPViewWidthSizable|CPViewMinXMargin); +objj_msgSend(_a8,"addSubview:",_labelField); +objj_msgSend(_a8,"updateFromItem"); +_toolbar=_ab; +var _ac=["label","image","alternateImage","minSize","maxSize","target","action","enabled"],_ad=0,_ae=objj_msgSend(_ac,"count"); +for(;_ad<_ae;++_ad){ +objj_msgSend(_toolbarItem,"addObserver:forKeyPath:options:context:",_a8,_ac[_ad],0,NULL); +} +} +return _a8; +} +}),new objj_method(sel_getUid("FIXME_setIsHUD:"),function(_af,_b0,_b1){ +with(_af){ +_FIXME_isHUD=_b1; +objj_msgSend(_labelField,"setTextColor:",objj_msgSend(_af,"FIXME_labelColor")); +objj_msgSend(_labelField,"setTextShadowColor:",objj_msgSend(_af,"FIXME_labelShadowColor")); +} +}),new objj_method(sel_getUid("updateFromItem"),function(_b2,_b3){ +with(_b2){ +var _b4=objj_msgSend(_toolbarItem,"itemIdentifier"); +if(_b4===CPToolbarSpaceItemIdentifier||_b4===CPToolbarFlexibleSpaceItemIdentifier||_b4===CPToolbarSeparatorItemIdentifier){ +objj_msgSend(_view,"removeFromSuperview"); +objj_msgSend(_imageView,"removeFromSuperview"); +_minSize=objj_msgSend(_toolbarItem,"minSize"); +_maxSize=objj_msgSend(_toolbarItem,"maxSize"); +if(_b4===CPToolbarSeparatorItemIdentifier){ +_view=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,2,32)); +sizes={}; +sizes["CPToolbarItemSeparator"]=[CGSizeMake(2,26),CGSizeMake(2,1),CGSizeMake(2,26)]; +objj_msgSend(_view,"setBackgroundColor:",_CPControlThreePartImagePattern(YES,sizes,"CPToolbarItem","Separator")); +objj_msgSend(_b2,"addSubview:",_view); +} +return; +} +objj_msgSend(_b2,"setTarget:",objj_msgSend(_toolbarItem,"target")); +objj_msgSend(_b2,"setAction:",objj_msgSend(_toolbarItem,"action")); +var _b5=objj_msgSend(_toolbarItem,"view")||nil; +if(_b5!==_view){ +if(!_b5){ +objj_msgSend(_view,"removeFromSuperview"); +}else{ +objj_msgSend(_b2,"addSubview:",_b5); +objj_msgSend(_imageView,"removeFromSuperview"); +} +_view=_b5; +} +if(!_view){ +if(!_imageView){ +_imageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",objj_msgSend(_b2,"bounds")); +objj_msgSend(_imageView,"setImageScaling:",CPScaleNone); +objj_msgSend(_b2,"addSubview:",_imageView); +} +objj_msgSend(_imageView,"setImage:",objj_msgSend(_toolbarItem,"image")); +} +var _b6=objj_msgSend(_toolbarItem,"minSize"),_b7=objj_msgSend(_toolbarItem,"maxSize"); +objj_msgSend(_labelField,"setStringValue:",objj_msgSend(_toolbarItem,"label")); +objj_msgSend(_labelField,"sizeToFit"); +objj_msgSend(_b2,"setEnabled:",objj_msgSend(_toolbarItem,"isEnabled")); +_labelSize=objj_msgSend(_labelField,"frame").size; +_minSize=CGSizeMake(MAX(_labelSize.width,_b6.width),_labelSize.height+_b6.height+_a3+_a2); +_maxSize=CGSizeMake(MAX(_labelSize.width,_b6.width),100000000); +objj_msgSend(_toolbar,"tile"); +} +}),new objj_method(sel_getUid("layoutSubviews"),function(_b8,_b9){ +with(_b8){ +var _ba=objj_msgSend(_toolbarItem,"itemIdentifier"); +if(_ba===CPToolbarSpaceItemIdentifier||_ba===CPToolbarFlexibleSpaceItemIdentifier){ +return; +} +var _bb=objj_msgSend(_b8,"bounds"),_bc=(_bb.size.width); +if(_ba===CPToolbarSeparatorItemIdentifier){ +return objj_msgSend(_view,"setFrame:",CGRectMake(ROUND((_bc-2)/2),0,2,(_bb.size.height))); +} +var _bd=_view||_imageView,_be=objj_msgSend(_toolbarItem,"maxSize"),_bf=(_bb.size.height)-_labelSize.height-_a3-_a2,_c0=MIN(_be.width,_bc),_c1=MIN(_be.height,_bf); +objj_msgSend(_bd,"setFrame:",CGRectMake(ROUND((_bc-_c0)/2),_a2+ROUND((_bf-_c1)/2),_c0,_c1)); +objj_msgSend(_labelField,"setFrameOrigin:",CGPointMake(ROUND((_bc-_labelSize.width)/2),_a2+_bf+_a3)); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_c2,_c3,_c4){ +with(_c2){ +if(objj_msgSend(_toolbarItem,"view")){ +return objj_msgSend(objj_msgSend(_c2,"nextResponder"),"mouseDown:",_c4); +} +var _c5=objj_msgSend(_toolbarItem,"itemIdentifier"); +if(_c5===CPToolbarSpaceItemIdentifier||_c5===CPToolbarFlexibleSpaceItemIdentifier||_c5===CPToolbarSeparatorItemIdentifier){ +return objj_msgSend(objj_msgSend(_c2,"nextResponder"),"mouseDown:",_c4); +} +objj_msgSendSuper({receiver:_c2,super_class:objj_getClass("_CPToolbarItemView").super_class},"mouseDown:",_c4); +} +}),new objj_method(sel_getUid("setEnabled:"),function(_c6,_c7,_c8){ +with(_c6){ +objj_msgSendSuper({receiver:_c6,super_class:objj_getClass("_CPToolbarItemView").super_class},"setEnabled:",_c8); +if(_c8){ +objj_msgSend(_imageView,"setAlphaValue:",1); +objj_msgSend(_labelField,"setAlphaValue:",1); +}else{ +objj_msgSend(_imageView,"setAlphaValue:",0.5); +objj_msgSend(_labelField,"setAlphaValue:",0.5); +} +} +}),new objj_method(sel_getUid("FIXME_labelColor"),function(_c9,_ca){ +with(_c9){ +if(_FIXME_isHUD){ +return objj_msgSend(CPColor,"whiteColor"); +} +return objj_msgSend(CPColor,"blackColor"); +} +}),new objj_method(sel_getUid("FIXME_labelShadowColor"),function(_cb,_cc){ +with(_cb){ +if(_FIXME_isHUD){ +return objj_msgSend(_cb,"isHighlighted")?objj_msgSend(CPColor,"colorWithWhite:alpha:",1,0.5):objj_msgSend(CPColor,"clearColor"); +} +return objj_msgSend(_cb,"isHighlighted")?objj_msgSend(CPColor,"colorWithWhite:alpha:",0,0.3):objj_msgSend(CPColor,"colorWithWhite:alpha:",1,0.75); +} +}),new objj_method(sel_getUid("setHighlighted:"),function(_cd,_ce,_cf){ +with(_cd){ +objj_msgSendSuper({receiver:_cd,super_class:objj_getClass("_CPToolbarItemView").super_class},"setHighlighted:",_cf); +if(_cf){ +var _d0=objj_msgSend(_toolbarItem,"alternateImage"); +if(_d0){ +objj_msgSend(_imageView,"setImage:",_d0); +} +objj_msgSend(_labelField,"setTextShadowOffset:",CGSizeMakeZero()); +}else{ +var _d1=objj_msgSend(_toolbarItem,"image"); +if(_d1){ +objj_msgSend(_imageView,"setImage:",_d1); +} +objj_msgSend(_labelField,"setTextShadowOffset:",CGSizeMake(0,1)); +} +objj_msgSend(_labelField,"setTextShadowColor:",objj_msgSend(_cd,"FIXME_labelShadowColor")); +} +}),new objj_method(sel_getUid("sendAction:to:"),function(_d2,_d3,_d4,_d5){ +with(_d2){ +objj_msgSend(CPApp,"sendAction:to:from:",_d4,_d5,_toolbarItem); +} +}),new objj_method(sel_getUid("observeValueForKeyPath:ofObject:change:context:"),function(_d6,_d7,_d8,_d9,_da,_db){ +with(_d6){ +if(_d8==="enabled"){ +objj_msgSend(_d6,"setEnabled:",objj_msgSend(_d9,"isEnabled")); +}else{ +if(_d8==="target"){ +objj_msgSend(_d6,"setTarget:",objj_msgSend(_d9,"target")); +}else{ +if(_d8==="action"){ +objj_msgSend(_d6,"setAction:",objj_msgSend(_d9,"action")); +}else{ +objj_msgSend(_d6,"updateFromItem"); +} +} +} +} +})]); +p;15;CPToolbarItem.jt;13731;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jI;16;AppKit/CPImage.jI;15;AppKit/CPView.ji;29;_CPToolbarFlexibleSpaceItem.ji;26;_CPToolbarShowColorsItem.ji;25;_CPToolbarSeparatorItem.ji;21;_CPToolbarSpaceItem.jt;13497; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("AppKit/CPImage.j",NO); +objj_executeFile("AppKit/CPView.j",NO); +CPToolbarItemVisibilityPriorityStandard=0; +CPToolbarItemVisibilityPriorityLow=-1000; +CPToolbarItemVisibilityPriorityHigh=1000; +CPToolbarItemVisibilityPriorityUser=2000; +CPToolbarSeparatorItemIdentifier="CPToolbarSeparatorItem"; +CPToolbarSpaceItemIdentifier="CPToolbarSpaceItem"; +CPToolbarFlexibleSpaceItemIdentifier="CPToolbarFlexibleSpaceItem"; +CPToolbarShowColorsItemIdentifier="CPToolbarShowColorsItem"; +CPToolbarShowFontsItemIdentifier="CPToolbarShowFontsItem"; +CPToolbarCustomizeToolbarItemIdentifier="CPToolbarCustomizeToolbarItem"; +CPToolbarPrintItemIdentifier="CPToolbarPrintItem"; +var _1=objj_allocateClassPair(CPObject,"CPToolbarItem"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_itemIdentifier"),new objj_ivar("_toolbar"),new objj_ivar("_label"),new objj_ivar("_paletteLabel"),new objj_ivar("_toolTip"),new objj_ivar("_tag"),new objj_ivar("_target"),new objj_ivar("_action"),new objj_ivar("_isEnabled"),new objj_ivar("_image"),new objj_ivar("_alternateImage"),new objj_ivar("_view"),new objj_ivar("_minSize"),new objj_ivar("_maxSize"),new objj_ivar("_visibilityPriority"),new objj_ivar("_autovalidates")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +return objj_msgSend(_3,"initWithItemIdentifier:",""); +} +}),new objj_method(sel_getUid("initWithItemIdentifier:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPToolbarItem").super_class},"init"); +if(_5){ +_itemIdentifier=_7; +_tag=0; +_isEnabled=YES; +_minSize=CGSizeMakeZero(); +_maxSize=CGSizeMakeZero(); +_visibilityPriority=CPToolbarItemVisibilityPriorityStandard; +_autovalidates=YES; +} +return _5; +} +}),new objj_method(sel_getUid("itemIdentifier"),function(_8,_9){ +with(_8){ +return _itemIdentifier; +} +}),new objj_method(sel_getUid("toolbar"),function(_a,_b){ +with(_a){ +return _toolbar; +} +}),new objj_method(sel_getUid("_setToolbar:"),function(_c,_d,_e){ +with(_c){ +_toolbar=_e; +} +}),new objj_method(sel_getUid("label"),function(_f,_10){ +with(_f){ +return _label; +} +}),new objj_method(sel_getUid("setLabel:"),function(_11,_12,_13){ +with(_11){ +_label=_13; +} +}),new objj_method(sel_getUid("paletteLabel"),function(_14,_15){ +with(_14){ +return _paletteLabel; +} +}),new objj_method(sel_getUid("setPaletteLabel:"),function(_16,_17,_18){ +with(_16){ +_paletteLabel=_18; +} +}),new objj_method(sel_getUid("toolTip"),function(_19,_1a){ +with(_19){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("toolTip"))){ +return objj_msgSend(_view,"toolTip"); +} +return _toolTip; +} +}),new objj_method(sel_getUid("setToolTip:"),function(_1b,_1c,_1d){ +with(_1b){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setToolTip:"))){ +objj_msgSend(_view,"setToolTip:",_1d); +} +_toolTip=_1d; +} +}),new objj_method(sel_getUid("tag"),function(_1e,_1f){ +with(_1e){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("tag"))){ +return objj_msgSend(_view,"tag"); +} +return _tag; +} +}),new objj_method(sel_getUid("setTag:"),function(_20,_21,_22){ +with(_20){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setTag:"))){ +objj_msgSend(_view,"setTag:",_22); +} +_tag=_22; +} +}),new objj_method(sel_getUid("target"),function(_23,_24){ +with(_23){ +if(_view){ +return objj_msgSend(_view,"respondsToSelector:",sel_getUid("target"))?objj_msgSend(_view,"target"):nil; +} +return _target; +} +}),new objj_method(sel_getUid("setTarget:"),function(_25,_26,_27){ +with(_25){ +if(!_view){ +_target=_27; +}else{ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setTarget:"))){ +objj_msgSend(_view,"setTarget:",_27); +} +} +} +}),new objj_method(sel_getUid("action"),function(_28,_29){ +with(_28){ +if(_view){ +return objj_msgSend(_view,"respondsToSelector:",sel_getUid("action"))?objj_msgSend(_view,"action"):nil; +} +return _action; +} +}),new objj_method(sel_getUid("setAction:"),function(_2a,_2b,_2c){ +with(_2a){ +if(!_view){ +_action=_2c; +}else{ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setAction:"))){ +objj_msgSend(_view,"setAction:",_2c); +} +} +} +}),new objj_method(sel_getUid("isEnabled"),function(_2d,_2e){ +with(_2d){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("isEnabled"))){ +return objj_msgSend(_view,"isEnabled"); +} +return _isEnabled; +} +}),new objj_method(sel_getUid("setEnabled:"),function(_2f,_30,_31){ +with(_2f){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setEnabled:"))){ +objj_msgSend(_view,"setEnabled:",_31); +} +_isEnabled=_31; +} +}),new objj_method(sel_getUid("image"),function(_32,_33){ +with(_32){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("image"))){ +return objj_msgSend(_view,"image"); +} +return _image; +} +}),new objj_method(sel_getUid("setImage:"),function(_34,_35,_36){ +with(_34){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setImage:"))){ +objj_msgSend(_view,"setImage:",_36); +} +_image=_36; +if(!_image){ +return; +} +if(_minSize.width===0&&_minSize.height===0&&_maxSize.width===0&&_maxSize.height===0){ +var _37=objj_msgSend(_image,"size"); +if(_37.width>0||_37.height>0){ +objj_msgSend(_34,"setMinSize:",_37); +objj_msgSend(_34,"setMaxSize:",_37); +} +} +} +}),new objj_method(sel_getUid("setAlternateImage:"),function(_38,_39,_3a){ +with(_38){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("setAlternateImage:"))){ +objj_msgSend(_view,"setAlternateImage:",_3a); +} +_alternateImage=_3a; +} +}),new objj_method(sel_getUid("alternateImage"),function(_3b,_3c){ +with(_3b){ +if(objj_msgSend(_view,"respondsToSelector:",sel_getUid("alternateIamge"))){ +return objj_msgSend(_view,"alternateImage"); +} +return _alternateImage; +} +}),new objj_method(sel_getUid("view"),function(_3d,_3e){ +with(_3d){ +return _view; +} +}),new objj_method(sel_getUid("setView:"),function(_3f,_40,_41){ +with(_3f){ +if(_view==_41){ +return; +} +_view=_41; +if(_view){ +if(_tag!==0&&objj_msgSend(_view,"respondsToSelector:",sel_getUid("setTag:"))){ +objj_msgSend(_view,"setTag:",_tag); +} +_target=nil; +_action=nil; +} +} +}),new objj_method(sel_getUid("minSize"),function(_42,_43){ +with(_42){ +return _minSize; +} +}),new objj_method(sel_getUid("setMinSize:"),function(_44,_45,_46){ +with(_44){ +if(!_46.height||!_46.width){ +return; +} +_minSize=CGSizeMakeCopy(_46); +_maxSize=CGSizeMake(MAX(_minSize.width,_maxSize.width),MAX(_minSize.height,_maxSize.height)); +} +}),new objj_method(sel_getUid("maxSize"),function(_47,_48){ +with(_47){ +return _maxSize; +} +}),new objj_method(sel_getUid("setMaxSize:"),function(_49,_4a,_4b){ +with(_49){ +if(!_4b.height||!_4b.width){ +return; +} +_maxSize=CGSizeMakeCopy(_4b); +_minSize=CGSizeMake(MIN(_minSize.width,_maxSize.width),MIN(_minSize.height,_maxSize.height)); +} +}),new objj_method(sel_getUid("visibilityPriority"),function(_4c,_4d){ +with(_4c){ +return _visibilityPriority; +} +}),new objj_method(sel_getUid("setVisibilityPriority:"),function(_4e,_4f,_50){ +with(_4e){ +_visibilityPriority=_50; +} +}),new objj_method(sel_getUid("validate"),function(_51,_52){ +with(_51){ +if(_view){ +if(objj_msgSend(_53,"respondsToSelector:",sel_getUid("validateToolbarItem:"))){ +objj_msgSend(_51,"setEnabled:",objj_msgSend(_53,"validateToolbarItem:",_51)); +} +return; +} +var _54=objj_msgSend(_51,"action"); +if(!_54){ +return objj_msgSend(_51,"setEnabled:",NO); +} +var _53=objj_msgSend(_51,"target"); +if(_53&&!objj_msgSend(_53,"respondsToSelector:",_54)){ +return objj_msgSend(_51,"setEnabled:",NO); +} +_53=objj_msgSend(CPApp,"targetForAction:to:from:",_54,_53,_51); +if(!_53){ +return objj_msgSend(_51,"setEnabled:",NO); +} +if(objj_msgSend(_53,"respondsToSelector:",sel_getUid("validateToolbarItem:"))){ +objj_msgSend(_51,"setEnabled:",objj_msgSend(_53,"validateToolbarItem:",_51)); +}else{ +objj_msgSend(_51,"setEnabled:",YES); +} +} +}),new objj_method(sel_getUid("autovalidates"),function(_55,_56){ +with(_55){ +return _autovalidates; +} +}),new objj_method(sel_getUid("setAutovalidates:"),function(_57,_58,_59){ +with(_57){ +_autovalidates=!!_59; +} +})]); +var _5a="CPToolbarItemItemIdentifierKey",_5b="CPToolbarItemLabelKey",_5c="CPToolbarItemPaletteLabelKey",_5d="CPToolbarItemToolTipKey",_5e="CPToolbarItemTagKey",_5f="CPToolbarItemTargetKey",_60="CPToolbarItemActionKey",_61="CPToolbarItemEnabledKey",_62="CPToolbarItemImageKey",_63="CPToolbarItemAlternateImageKey",_64="CPToolbarItemViewKey",_65="CPToolbarItemMinSizeKey",_66="CPToolbarItemMaxSizeKey",_67="CPToolbarItemVisibilityPriorityKey",_68="CPToolbarItemAutovalidatesKey"; +var _1=objj_getClass("CPToolbarItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPToolbarItem\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_69,_6a,_6b){ +with(_69){ +_69=objj_msgSendSuper({receiver:_69,super_class:objj_getClass("CPToolbarItem").super_class},"init"); +if(_69){ +_itemIdentifier=objj_msgSend(_6b,"decodeObjectForKey:",_5a); +_minSize=objj_msgSend(_6b,"decodeSizeForKey:",_65); +_maxSize=objj_msgSend(_6b,"decodeSizeForKey:",_66); +objj_msgSend(_69,"setLabel:",objj_msgSend(_6b,"decodeObjectForKey:",_5b)); +objj_msgSend(_69,"setPaletteLabel:",objj_msgSend(_6b,"decodeObjectForKey:",_5c)); +objj_msgSend(_69,"setToolTip:",objj_msgSend(_6b,"decodeObjectForKey:",_5d)); +objj_msgSend(_69,"setTag:",objj_msgSend(_6b,"decodeObjectForKey:",_5e)); +objj_msgSend(_69,"setTarget:",objj_msgSend(_6b,"decodeObjectForKey:",_5f)); +objj_msgSend(_69,"setAction:",CPSelectorFromString(objj_msgSend(_6b,"decodeObjectForKey:",_60))); +objj_msgSend(_69,"setEnabled:",objj_msgSend(_6b,"decodeBoolForKey:",_61)); +objj_msgSend(_69,"setImage:",objj_msgSend(_6b,"decodeObjectForKey:",_62)); +objj_msgSend(_69,"setAlternateImage:",objj_msgSend(_6b,"decodeObjectForKey:",_63)); +objj_msgSend(_69,"setView:",objj_msgSend(_6b,"decodeObjectForKey:",_64)); +objj_msgSend(_69,"setVisibilityPriority:",objj_msgSend(_6b,"decodeIntForKey:",_67)); +objj_msgSend(_69,"setAutovalidates:",objj_msgSend(_6b,"decodeBoolForKey:",_68)); +} +return _69; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_6c,_6d,_6e){ +with(_6c){ +objj_msgSend(_6e,"encodeObject:forKey:",_itemIdentifier,_5a); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"label"),_5b); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"paletteLabel"),_5c); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"toolTip"),_5d); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"tag"),_5e); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"target"),_5f); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"action"),_60); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"isEnabled"),_61); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"image"),_62); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"alternateImage"),_63); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"view"),_64); +objj_msgSend(_6e,"encodeSize:forKey:",objj_msgSend(_6c,"minSize"),_65); +objj_msgSend(_6e,"encodeSize:forKey:",objj_msgSend(_6c,"maxSize"),_66); +objj_msgSend(_6e,"encodeObject:forKey:",objj_msgSend(_6c,"visibilityPriority"),_67); +objj_msgSend(_6e,"encodeBool:forKey:",objj_msgSend(_6c,"autovalidates"),_68); +} +})]); +var _1=objj_getClass("CPToolbarItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPToolbarItem\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("copy"),function(_6f,_70){ +with(_6f){ +var _71=objj_msgSend(objj_msgSend(objj_msgSend(_6f,"class"),"alloc"),"initWithItemIdentifier:",_itemIdentifier); +if(_view){ +objj_msgSend(_71,"setView:",objj_msgSend(CPKeyedUnarchiver,"unarchiveObjectWithData:",objj_msgSend(CPKeyedArchiver,"archivedDataWithRootObject:",_view))); +} +objj_msgSend(_71,"_setToolbar:",_toolbar); +objj_msgSend(_71,"setLabel:",_label); +objj_msgSend(_71,"setPaletteLabel:",_paletteLabel); +objj_msgSend(_71,"setToolTip:",objj_msgSend(_6f,"toolTip")); +objj_msgSend(_71,"setTag:",objj_msgSend(_6f,"tag")); +objj_msgSend(_71,"setTarget:",objj_msgSend(_6f,"target")); +objj_msgSend(_71,"setAction:",objj_msgSend(_6f,"action")); +objj_msgSend(_71,"setEnabled:",objj_msgSend(_6f,"isEnabled")); +objj_msgSend(_71,"setImage:",objj_msgSend(_6f,"image")); +objj_msgSend(_71,"setAlternateImage:",objj_msgSend(_6f,"alternateImage")); +objj_msgSend(_71,"setMinSize:",_minSize); +objj_msgSend(_71,"setMaxSize:",_maxSize); +objj_msgSend(_71,"setVisibilityPriority:",objj_msgSend(_6f,"visibilityPriority")); +objj_msgSend(_71,"setAutovalidates:",objj_msgSend(_6f,"autovalidates")); +return _71; +} +})]); +var _1=objj_getClass("CPToolbarItem"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPToolbarItem\""); +} +var _2=_1.isa; +class_addMethods(_2,[new objj_method(sel_getUid("_standardItemWithItemIdentifier:"),function(_72,_73,_74){ +with(_72){ +switch(_74){ +case CPToolbarSeparatorItemIdentifier: +return objj_msgSend(_CPToolbarSeparatorItem,"new"); +case CPToolbarSpaceItemIdentifier: +return objj_msgSend(_CPToolbarSpaceItem,"new"); +case CPToolbarFlexibleSpaceItemIdentifier: +return objj_msgSend(_CPToolbarFlexibleSpaceItem,"new"); +case CPToolbarShowColorsItemIdentifier: +return objj_msgSend(_CPToolbarShowColorsItem,"new"); +case CPToolbarShowFontsItemIdentifier: +return nil; +case CPToolbarCustomizeToolbarItemIdentifier: +return nil; +case CPToolbarPrintItemIdentifier: +return nil; +} +return nil; +} +})]); +objj_executeFile("_CPToolbarFlexibleSpaceItem.j",YES); +objj_executeFile("_CPToolbarShowColorsItem.j",YES); +objj_executeFile("_CPToolbarSeparatorItem.j",YES); +objj_executeFile("_CPToolbarSpaceItem.j",YES); +p;12;CPTreeNode.jt;3517;@STATIC;1.0;I;21;Foundation/CPObject.jt;3472; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"CPTreeNode"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_representedObject"),new objj_ivar("_parentNode"),new objj_ivar("_childNodes")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("representedObject"),function(_3,_4){ +with(_3){ +return _representedObject; +} +}),new objj_method(sel_getUid("parentNode"),function(_5,_6){ +with(_5){ +return _parentNode; +} +}),new objj_method(sel_getUid("initWithRepresentedObject:"),function(_7,_8,_9){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPTreeNode").super_class},"init"); +if(_7){ +_representedObject=_9; +_childNodes=[]; +} +return _7; +} +}),new objj_method(sel_getUid("isLeaf"),function(_a,_b){ +with(_a){ +return objj_msgSend(_childNodes,"count")<=0; +} +}),new objj_method(sel_getUid("childNodes"),function(_c,_d){ +with(_c){ +return objj_msgSend(_childNodes,"copy"); +} +}),new objj_method(sel_getUid("mutableChildNodes"),function(_e,_f){ +with(_e){ +return objj_msgSend(_e,"mutableArrayValueForKey:","childNodes"); +} +}),new objj_method(sel_getUid("insertObject:inChildNodesAtIndex:"),function(_10,_11,_12,_13){ +with(_10){ +objj_msgSend(objj_msgSend(_12._parentNode,"mutableChildNodes"),"removeObjectIdenticalTo:",_12); +_12._parentNode=_10; +objj_msgSend(_childNodes,"insertObject:atIndex:",_12,_13); +} +}),new objj_method(sel_getUid("removeObjectFromChildNodesAtIndex:"),function(_14,_15,_16){ +with(_14){ +objj_msgSend(_childNodes,"objectAtIndex:",_16)._parentNode=nil; +objj_msgSend(_childNodes,"removeObjectAtIndex:",_16); +} +}),new objj_method(sel_getUid("replaceObjectFromChildNodesAtIndex:withObject:"),function(_17,_18,_19,_1a){ +with(_17){ +var _1b=objj_msgSend(_childNodes,"objectAtIndex:",_19); +_1b._parentNode=nil; +_1a._parentNode=_17; +objj_msgSend(_childNodes,"replaceObjectAtIndex:withObject:",_19,_1a); +} +}),new objj_method(sel_getUid("objectInChildNodesAtIndex:"),function(_1c,_1d,_1e){ +with(_1c){ +return _childNodes[_1e]; +} +}),new objj_method(sel_getUid("sortWithSortDescriptors:recursively:"),function(_1f,_20,_21,_22){ +with(_1f){ +objj_msgSend(_childNodes,"sortUsingDescriptors:",_21); +if(!_22){ +return; +} +var _23=objj_msgSend(_childNodes,"count"); +while(_23--){ +objj_msgSend(_childNodes[_23],"sortWithSortDescriptors:recursively:",_21,YES); +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("treeNodeWithRepresentedObject:"),function(_24,_25,_26){ +with(_24){ +return objj_msgSend(objj_msgSend(_24,"alloc"),"initWithRepresentedObject:",_26); +} +})]); +var _27="CPTreeNodeRepresentedObjectKey",_28="CPTreeNodeParentNodeKey",_29="CPTreeNodeChildNodesKey"; +var _1=objj_getClass("CPTreeNode"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPTreeNode\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_2a,_2b,_2c){ +with(_2a){ +_2a=objj_msgSendSuper({receiver:_2a,super_class:objj_getClass("CPTreeNode").super_class},"init"); +if(_2a){ +_representedObject=objj_msgSend(_2c,"decodeObjectForKey:",_27); +_parentNode=objj_msgSend(_2c,"decodeObjectForKey:",_28); +_childNodes=objj_msgSend(_2c,"decodeObjectForKey:",_29); +} +return _2a; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_2d,_2e,_2f){ +with(_2d){ +objj_msgSend(_2f,"encodeObject:forKey:",_representedObject,_27); +objj_msgSend(_2f,"encodeConditionalObject:forKey:",_parentNode,_28); +objj_msgSend(_2f,"encodeObject:forKey:",_childNodes,_29); +} +})]); +p;8;CPView.jt;45791;@STATIC;1.0;I;20;Foundation/CPArray.jI;26;Foundation/CPObjJRuntime.ji;19;CGAffineTransform.ji;12;CGGeometry.ji;9;CPColor.ji;12;CPGeometry.ji;19;CPGraphicsContext.ji;13;CPResponder.ji;9;CPTheme.ji;18;_CPDisplayServer.jt;45566; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPObjJRuntime.j",NO); +objj_executeFile("CGAffineTransform.j",YES); +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPColor.j",YES); +objj_executeFile("CPGeometry.j",YES); +objj_executeFile("CPGraphicsContext.j",YES); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPTheme.j",YES); +objj_executeFile("_CPDisplayServer.j",YES); +CPViewNotSizable=0; +CPViewMinXMargin=1; +CPViewWidthSizable=2; +CPViewMaxXMargin=4; +CPViewMinYMargin=8; +CPViewHeightSizable=16; +CPViewMaxYMargin=32; +CPViewBoundsDidChangeNotification="CPViewBoundsDidChangeNotification"; +CPViewFrameDidChangeNotification="CPViewFrameDidChangeNotification"; +var _1=nil,_2=nil; +var _3={},_4=1<<0,_5=1<<1; +var _6=objj_allocateClassPair(CPResponder,"CPView"),_7=_6.isa; +class_addIvars(_6,[new objj_ivar("_window"),new objj_ivar("_superview"),new objj_ivar("_subviews"),new objj_ivar("_graphicsContext"),new objj_ivar("_tag"),new objj_ivar("_frame"),new objj_ivar("_bounds"),new objj_ivar("_boundsTransform"),new objj_ivar("_inverseBoundsTransform"),new objj_ivar("_registeredDraggedTypes"),new objj_ivar("_registeredDraggedTypesArray"),new objj_ivar("_isHidden"),new objj_ivar("_hitTests"),new objj_ivar("_postsFrameChangedNotifications"),new objj_ivar("_postsBoundsChangedNotifications"),new objj_ivar("_inhibitFrameAndBoundsChangedNotifications"),new objj_ivar("_dirtyRect"),new objj_ivar("_opacity"),new objj_ivar("_backgroundColor"),new objj_ivar("_autoresizesSubviews"),new objj_ivar("_autoresizingMask"),new objj_ivar("_layer"),new objj_ivar("_wantsLayer"),new objj_ivar("_isInFullScreenMode"),new objj_ivar("_fullScreenModeState"),new objj_ivar("_needsLayout"),new objj_ivar("_ephemeralSubviews"),new objj_ivar("_theme"),new objj_ivar("_themeAttributes"),new objj_ivar("_themeState"),new objj_ivar("_ephemeralSubviewsForNames"),new objj_ivar("_ephereralSubviews"),new objj_ivar("_nextKeyView"),new objj_ivar("_previousKeyView"),new objj_ivar("_viewClassFlags")]); +objj_registerClassPair(_6); +class_addMethods(_6,[new objj_method(sel_getUid("setupViewFlags"),function(_8,_9){ +with(_8){ +var _a=objj_msgSend(_8,"class"),_b=objj_msgSend(_a,"UID"); +if(_3[_b]===undefined){ +var _c=0; +if(objj_msgSend(_a,"instanceMethodForSelector:",sel_getUid("drawRect:"))!==objj_msgSend(CPView,"instanceMethodForSelector:",sel_getUid("drawRect:"))){ +_c|=_4; +} +if(objj_msgSend(_a,"instanceMethodForSelector:",sel_getUid("layoutSubviews"))!==objj_msgSend(CPView,"instanceMethodForSelector:",sel_getUid("layoutSubviews"))){ +_c|=_5; +} +_3[_b]=_c; +} +_viewClassFlags=_3[_b]; +} +}),new objj_method(sel_getUid("init"),function(_d,_e){ +with(_d){ +return objj_msgSend(_d,"initWithFrame:",CGRectMakeZero()); +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_f,_10,_11){ +with(_f){ +_f=objj_msgSendSuper({receiver:_f,super_class:objj_getClass("CPView").super_class},"init"); +if(_f){ +var _12=(_11.size.width),_13=(_11.size.height); +_subviews=[]; +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +_tag=-1; +_frame={origin:{x:_11.origin.x,y:_11.origin.y},size:{width:_11.size.width,height:_11.size.height}}; +_bounds={origin:{x:0,y:0},size:{width:_12,height:_13}}; +_autoresizingMask=CPViewNotSizable; +_autoresizesSubviews=YES; +_opacity=1; +_isHidden=NO; +_hitTests=YES; +_theme=objj_msgSend(CPTheme,"defaultTheme"); +_themeState=CPThemeStateNormal; +objj_msgSend(_f,"setupViewFlags"); +objj_msgSend(_f,"_loadThemeAttributes"); +} +return _f; +} +}),new objj_method(sel_getUid("superview"),function(_14,_15){ +with(_14){ +return _superview; +} +}),new objj_method(sel_getUid("subviews"),function(_16,_17){ +with(_16){ +return objj_msgSend(_subviews,"copy"); +} +}),new objj_method(sel_getUid("window"),function(_18,_19){ +with(_18){ +return _window; +} +}),new objj_method(sel_getUid("addSubview:"),function(_1a,_1b,_1c){ +with(_1a){ +objj_msgSend(_1a,"_insertSubview:atIndex:",_1c,CPNotFound); +} +}),new objj_method(sel_getUid("addSubview:positioned:relativeTo:"),function(_1d,_1e,_1f,_20,_21){ +with(_1d){ +var _22=_21?objj_msgSend(_subviews,"indexOfObjectIdenticalTo:",_21):CPNotFound; +if(_22===CPNotFound){ +_22=(_20===CPWindowAbove)?objj_msgSend(_subviews,"count"):0; +}else{ +if(_20===CPWindowAbove){ +++_22; +} +} +objj_msgSend(_1d,"_insertSubview:atIndex:",_1f,_22); +} +}),new objj_method(sel_getUid("_insertSubview:atIndex:"),function(_23,_24,_25,_26){ +with(_23){ +var _27=_subviews.length; +objj_msgSend(objj_msgSend(_23,"window"),"_dirtyKeyViewLoop"); +if(_25._superview==_23){ +var _28=objj_msgSend(_subviews,"indexOfObjectIdenticalTo:",_25); +if(_28===_26||_28===_27-1&&_26===_27){ +return; +} +objj_msgSend(_subviews,"removeObjectAtIndex:",_28); +if(_26>_28){ +--_26; +} +--_27; +}else{ +objj_msgSend(_25,"removeFromSuperview"); +objj_msgSend(_25,"_setWindow:",_window); +objj_msgSend(_25,"viewWillMoveToSuperview:",_23); +_25._superview=_23; +} +if(_26===CPNotFound||_26>=_27){ +_subviews.push(_25); +}else{ +_subviews.splice(_26,0,_25); +} +objj_msgSend(_25,"setNextResponder:",_23); +objj_msgSend(_25,"viewDidMoveToSuperview"); +objj_msgSend(_23,"didAddSubview:",_25); +} +}),new objj_method(sel_getUid("didAddSubview:"),function(_29,_2a,_2b){ +with(_29){ +} +}),new objj_method(sel_getUid("removeFromSuperview"),function(_2c,_2d){ +with(_2c){ +if(!_superview){ +return; +} +objj_msgSend(objj_msgSend(_2c,"window"),"_dirtyKeyViewLoop"); +objj_msgSend(_superview,"willRemoveSubview:",_2c); +objj_msgSend(_superview._subviews,"removeObject:",_2c); +_superview=nil; +objj_msgSend(_2c,"_setWindow:",nil); +} +}),new objj_method(sel_getUid("replaceSubview:with:"),function(_2e,_2f,_30,_31){ +with(_2e){ +if(_30._superview!=_2e){ +return; +} +var _32=objj_msgSend(_subviews,"indexOfObjectIdenticalTo:",_30); +objj_msgSend(_30,"removeFromSuperview"); +objj_msgSend(_2e,"_insertSubview:atIndex:",_31,_32); +} +}),new objj_method(sel_getUid("setSubviews:"),function(_33,_34,_35){ +with(_33){ +if(!_35){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"newSubviews cannot be nil in -[CPView setSubviews:]"); +} +if(objj_msgSend(_subviews,"isEqual:",_35)){ +return; +} +if(objj_msgSend(_subviews,"count")===0){ +var _36=0,_37=objj_msgSend(_35,"count"); +for(;_36<_37;++_36){ +objj_msgSend(_33,"addSubview:",_35[_36]); +} +return; +} +if(objj_msgSend(_35,"count")===0){ +var _37=objj_msgSend(_subviews,"count"); +while(_37--){ +objj_msgSend(_subviews[_37],"removeFromSuperview"); +} +return; +} +var _38=objj_msgSend(CPMutableSet,"setWithArray:",_subviews); +objj_msgSend(_38,"removeObjectsInArray:",_35); +objj_msgSend(_38,"makeObjectsPerformSelector:",sel_getUid("removeFromSuperview")); +var _39=objj_msgSend(CPMutableSet,"setWithArray:",_35); +objj_msgSend(_39,"removeObjectsInArray:",_subviews); +var _3a=nil,_3b=objj_msgSend(_39,"objectEnumerator"); +while(_3a=objj_msgSend(_3b,"nextObject")){ +objj_msgSend(_33,"addSubview:",_3a); +} +if(objj_msgSend(_subviews,"isEqual:",_35)){ +return; +} +_subviews=objj_msgSend(_35,"copy"); +} +}),new objj_method(sel_getUid("_setWindow:"),function(_3c,_3d,_3e){ +with(_3c){ +if(_window===_3e){ +return; +} +objj_msgSend(objj_msgSend(_3c,"window"),"_dirtyKeyViewLoop"); +if(objj_msgSend(_window,"firstResponder")===_3c){ +objj_msgSend(_window,"makeFirstResponder:",nil); +} +objj_msgSend(_3c,"viewWillMoveToWindow:",_3e); +if(_registeredDraggedTypes){ +objj_msgSend(_window,"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +objj_msgSend(_3e,"_noteRegisteredDraggedTypes:",_registeredDraggedTypes); +} +_window=_3e; +var _3f=objj_msgSend(_subviews,"count"); +while(_3f--){ +objj_msgSend(_subviews[_3f],"_setWindow:",_3e); +} +objj_msgSend(_3c,"viewDidMoveToWindow"); +objj_msgSend(objj_msgSend(_3c,"window"),"_dirtyKeyViewLoop"); +} +}),new objj_method(sel_getUid("isDescendantOf:"),function(_40,_41,_42){ +with(_40){ +var _43=_40; +do{ +if(_43==_42){ +return YES; +} +}while(_43=objj_msgSend(_43,"superview")); +return NO; +} +}),new objj_method(sel_getUid("viewDidMoveToSuperview"),function(_44,_45){ +with(_44){ +objj_msgSend(_44,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_46,_47){ +with(_46){ +} +}),new objj_method(sel_getUid("viewWillMoveToSuperview:"),function(_48,_49,_4a){ +with(_48){ +} +}),new objj_method(sel_getUid("viewWillMoveToWindow:"),function(_4b,_4c,_4d){ +with(_4b){ +} +}),new objj_method(sel_getUid("willRemoveSubview:"),function(_4e,_4f,_50){ +with(_4e){ +} +}),new objj_method(sel_getUid("enclosingMenuItem"),function(_51,_52){ +with(_51){ +var _53=_51; +while(_53&&!objj_msgSend(_53,"isKindOfClass:",objj_msgSend(_CPMenuItemView,"class"))){ +_53=objj_msgSend(_53,"superview"); +} +if(_53){ +return _53._menuItem; +} +return nil; +} +}),new objj_method(sel_getUid("setTag:"),function(_54,_55,_56){ +with(_54){ +_tag=_56; +} +}),new objj_method(sel_getUid("tag"),function(_57,_58){ +with(_57){ +return _tag; +} +}),new objj_method(sel_getUid("viewWithTag:"),function(_59,_5a,_5b){ +with(_59){ +if(objj_msgSend(_59,"tag")==_5b){ +return _59; +} +var _5c=0,_5d=_subviews.length; +for(;_5c<_5d;++_5c){ +var _5e=objj_msgSend(_subviews[_5c],"viewWithTag:",_5b); +if(_5e){ +return _5e; +} +} +return nil; +} +}),new objj_method(sel_getUid("isFlipped"),function(_5f,_60){ +with(_5f){ +return YES; +} +}),new objj_method(sel_getUid("setFrame:"),function(_61,_62,_63){ +with(_61){ +if(((_frame.origin.x==_63.origin.x&&_frame.origin.y==_63.origin.y)&&(_frame.size.width==_63.size.width&&_frame.size.height==_63.size.height))){ +return; +} +_inhibitFrameAndBoundsChangedNotifications=YES; +objj_msgSend(_61,"setFrameOrigin:",_63.origin); +objj_msgSend(_61,"setFrameSize:",_63.size); +_inhibitFrameAndBoundsChangedNotifications=NO; +if(_postsFrameChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewFrameDidChangeNotification,_61); +} +} +}),new objj_method(sel_getUid("frame"),function(_64,_65){ +with(_64){ +return {origin:{x:_frame.origin.x,y:_frame.origin.y},size:{width:_frame.size.width,height:_frame.size.height}}; +} +}),new objj_method(sel_getUid("frameOrigin"),function(_66,_67){ +with(_66){ +return {x:_frame.origin.x,y:_frame.origin.y}; +} +}),new objj_method(sel_getUid("frameSize"),function(_68,_69){ +with(_68){ +return {width:_frame.size.width,height:_frame.size.height}; +} +}),new objj_method(sel_getUid("setCenter:"),function(_6a,_6b,_6c){ +with(_6a){ +objj_msgSend(_6a,"setFrameOrigin:",CGPointMake(_6c.x-_frame.size.width/2,_6c.y-_frame.size.height/2)); +} +}),new objj_method(sel_getUid("center"),function(_6d,_6e){ +with(_6d){ +return CGPointMake(_frame.size.width/2+_frame.origin.x,_frame.size.height/2+_frame.origin.y); +} +}),new objj_method(sel_getUid("setFrameOrigin:"),function(_6f,_70,_71){ +with(_6f){ +var _72=_frame.origin; +if(!_71||(_72.x==_71.x&&_72.y==_71.y)){ +return; +} +_72.x=_71.x; +_72.y=_71.y; +if(_postsFrameChangedNotifications&&!_inhibitFrameAndBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewFrameDidChangeNotification,_6f); +} +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_73,_74,_75){ +with(_73){ +var _76=_frame.size; +if(!_75||(_76.width==_75.width&&_76.height==_75.height)){ +return; +} +var _77={width:_76.width,height:_76.height}; +_76.width=_75.width; +_76.height=_75.height; +if(YES){ +_bounds.size.width=_75.width; +_bounds.size.height=_75.height; +} +if(_layer){ +objj_msgSend(_layer,"_owningViewBoundsChanged"); +} +if(_autoresizesSubviews){ +objj_msgSend(_73,"resizeSubviewsWithOldSize:",_77); +} +objj_msgSend(_73,"setNeedsLayout"); +objj_msgSend(_73,"setNeedsDisplay:",YES); +if(_postsFrameChangedNotifications&&!_inhibitFrameAndBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewFrameDidChangeNotification,_73); +} +} +}),new objj_method(sel_getUid("setBounds:"),function(_78,_79,_7a){ +with(_78){ +if(((_bounds.origin.x==_7a.origin.x&&_bounds.origin.y==_7a.origin.y)&&(_bounds.size.width==_7a.size.width&&_bounds.size.height==_7a.size.height))){ +return; +} +_inhibitFrameAndBoundsChangedNotifications=YES; +objj_msgSend(_78,"setBoundsOrigin:",_7a.origin); +objj_msgSend(_78,"setBoundsSize:",_7a.size); +_inhibitFrameAndBoundsChangedNotifications=NO; +if(_postsBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewBoundsDidChangeNotification,_78); +} +} +}),new objj_method(sel_getUid("bounds"),function(_7b,_7c){ +with(_7b){ +return {origin:{x:_bounds.origin.x,y:_bounds.origin.y},size:{width:_bounds.size.width,height:_bounds.size.height}}; +} +}),new objj_method(sel_getUid("boundsOrigin"),function(_7d,_7e){ +with(_7d){ +return {x:_bounds.origin.x,y:_bounds.origin.y}; +} +}),new objj_method(sel_getUid("boundsSize"),function(_7f,_80){ +with(_7f){ +return {width:_bounds.size.width,height:_bounds.size.height}; +} +}),new objj_method(sel_getUid("setBoundsOrigin:"),function(_81,_82,_83){ +with(_81){ +var _84=_bounds.origin; +if((_84.x==_83.x&&_84.y==_83.y)){ +return; +} +_84.x=_83.x; +_84.y=_83.y; +if(_84.x!=0||_84.y!=0){ +_boundsTransform={a:1,b:0,c:0,d:1,tx:-_84.x,ty:-_84.y}; +_inverseBoundsTransform=CGAffineTransformInvert(_boundsTransform); +}else{ +_boundsTransform=nil; +_inverseBoundsTransform=nil; +} +if(_postsBoundsChangedNotifications&&!_inhibitFrameAndBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewBoundsDidChangeNotification,_81); +} +} +}),new objj_method(sel_getUid("setBoundsSize:"),function(_85,_86,_87){ +with(_85){ +var _88=_bounds.size; +if((_88.width==_87.width&&_88.height==_87.height)){ +return; +} +var _89=_frame.size; +if(!(_88.width==_89.width&&_88.height==_89.height)){ +var _8a=_bounds.origin; +_8a.x/=_88.width/_89.width; +_8a.y/=_88.height/_89.height; +} +_88.width=_87.width; +_88.height=_87.height; +if(!(_88.width==_89.width&&_88.height==_89.height)){ +var _8a=_bounds.origin; +_8a.x*=_88.width/_89.width; +_8a.y*=_88.height/_89.height; +} +if(_postsBoundsChangedNotifications&&!_inhibitFrameAndBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewBoundsDidChangeNotification,_85); +} +} +}),new objj_method(sel_getUid("resizeWithOldSuperviewSize:"),function(_8b,_8c,_8d){ +with(_8b){ +var _8e=objj_msgSend(_8b,"autoresizingMask"); +if(_8e==CPViewNotSizable){ +return; +} +var _8f=_superview._frame,_90={origin:{x:_frame.origin.x,y:_frame.origin.y},size:{width:_frame.size.width,height:_frame.size.height}},dX=((_8f.size.width)-_8d.width)/(((_8e&CPViewMinXMargin)?1:0)+(_8e&CPViewWidthSizable?1:0)+(_8e&CPViewMaxXMargin?1:0)),dY=((_8f.size.height)-_8d.height)/((_8e&CPViewMinYMargin?1:0)+(_8e&CPViewHeightSizable?1:0)+(_8e&CPViewMaxYMargin?1:0)); +if(_8e&CPViewMinXMargin){ +_90.origin.x+=dX; +} +if(_8e&CPViewWidthSizable){ +_90.size.width+=dX; +} +if(_8e&CPViewMinYMargin){ +_90.origin.y+=dY; +} +if(_8e&CPViewHeightSizable){ +_90.size.height+=dY; +} +objj_msgSend(_8b,"setFrame:",_90); +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_91,_92,_93){ +with(_91){ +var _94=_subviews.length; +while(_94--){ +objj_msgSend(_subviews[_94],"resizeWithOldSuperviewSize:",_93); +} +} +}),new objj_method(sel_getUid("setAutoresizesSubviews:"),function(_95,_96,_97){ +with(_95){ +_autoresizesSubviews=!!_97; +} +}),new objj_method(sel_getUid("autoresizesSubviews"),function(_98,_99){ +with(_98){ +return _autoresizesSubviews; +} +}),new objj_method(sel_getUid("setAutoresizingMask:"),function(_9a,_9b,_9c){ +with(_9a){ +_autoresizingMask=_9c; +} +}),new objj_method(sel_getUid("autoresizingMask"),function(_9d,_9e){ +with(_9d){ +return _autoresizingMask; +} +}),new objj_method(sel_getUid("enterFullScreenMode"),function(_9f,_a0){ +with(_9f){ +return objj_msgSend(_9f,"enterFullScreenMode:withOptions:",nil,nil); +} +}),new objj_method(sel_getUid("enterFullScreenMode:withOptions:"),function(_a1,_a2,_a3,_a4){ +with(_a1){ +_fullScreenModeState=_a5(_a1); +var _a6=objj_msgSend(objj_msgSend(CPWindow,"alloc"),"initWithContentRect:styleMask:",objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"contentBounds"),CPBorderlessWindowMask); +objj_msgSend(_a6,"setLevel:",CPScreenSaverWindowLevel); +objj_msgSend(_a6,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +var _a7=objj_msgSend(_a6,"contentView"); +objj_msgSend(_a7,"setBackgroundColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_a7,"addSubview:",_a1); +objj_msgSend(_a1,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_a1,"setFrame:",CGRectMakeCopy(objj_msgSend(_a7,"bounds"))); +objj_msgSend(_a6,"makeKeyAndOrderFront:",_a1); +objj_msgSend(_a6,"makeFirstResponder:",_a1); +_isInFullScreenMode=YES; +return YES; +} +}),new objj_method(sel_getUid("exitFullScreenMode"),function(_a8,_a9){ +with(_a8){ +objj_msgSend(_a8,"exitFullScreenModeWithOptions:",nil); +} +}),new objj_method(sel_getUid("exitFullScreenModeWithOptions:"),function(_aa,_ab,_ac){ +with(_aa){ +if(!_isInFullScreenMode){ +return; +} +_isInFullScreenMode=NO; +objj_msgSend(_aa,"setFrame:",_fullScreenModeState.frame); +objj_msgSend(_aa,"setAutoresizingMask:",_fullScreenModeState.autoresizingMask); +objj_msgSend(_fullScreenModeState.superview,"_insertSubview:atIndex:",_aa,_fullScreenModeState.index); +objj_msgSend(objj_msgSend(_aa,"window"),"orderOut:",_aa); +} +}),new objj_method(sel_getUid("isInFullScreenMode"),function(_ad,_ae){ +with(_ad){ +return _isInFullScreenMode; +} +}),new objj_method(sel_getUid("setHidden:"),function(_af,_b0,_b1){ +with(_af){ +_b1=!!_b1; +if(_isHidden===_b1){ +return; +} +_isHidden=_b1; +if(_b1){ +var _b2=objj_msgSend(_window,"firstResponder"); +if(objj_msgSend(_b2,"isKindOfClass:",objj_msgSend(CPView,"class"))){ +do{ +if(_af==_b2){ +objj_msgSend(_window,"makeFirstResponder:",objj_msgSend(_af,"nextValidKeyView")); +break; +} +}while(_b2=objj_msgSend(_b2,"superview")); +} +} +} +}),new objj_method(sel_getUid("isHidden"),function(_b3,_b4){ +with(_b3){ +return _isHidden; +} +}),new objj_method(sel_getUid("setAlphaValue:"),function(_b5,_b6,_b7){ +with(_b5){ +if(_opacity==_b7){ +return; +} +_opacity=_b7; +} +}),new objj_method(sel_getUid("alphaValue"),function(_b8,_b9){ +with(_b8){ +return _opacity; +} +}),new objj_method(sel_getUid("isHiddenOrHasHiddenAncestor"),function(_ba,_bb){ +with(_ba){ +var _bc=_ba; +while(_bc&&!objj_msgSend(_bc,"isHidden")){ +_bc=objj_msgSend(_bc,"superview"); +} +return _bc!==nil; +} +}),new objj_method(sel_getUid("acceptsFirstMouse:"),function(_bd,_be,_bf){ +with(_bd){ +return YES; +} +}),new objj_method(sel_getUid("hitTests"),function(_c0,_c1){ +with(_c0){ +return _hitTests; +} +}),new objj_method(sel_getUid("setHitTests:"),function(_c2,_c3,_c4){ +with(_c2){ +_hitTests=!!_c4; +} +}),new objj_method(sel_getUid("hitTest:"),function(_c5,_c6,_c7){ +with(_c5){ +if(_isHidden||!_hitTests||!CPRectContainsPoint(_frame,_c7)){ +return nil; +} +var _c8=nil,i=_subviews.length,_c9={x:_c7.x-(_frame.origin.x),y:_c7.y-(_frame.origin.y)}; +if(_inverseBoundsTransform){ +_c9={x:_c9.x*_inverseBoundsTransform.a+_c9.y*_inverseBoundsTransform.c+_inverseBoundsTransform.tx,y:_c9.x*_inverseBoundsTransform.b+_c9.y*_inverseBoundsTransform.d+_inverseBoundsTransform.ty}; +} +while(i--){ +if(_c8=objj_msgSend(_subviews[i],"hitTest:",_c9)){ +return _c8; +} +} +return _c5; +} +}),new objj_method(sel_getUid("needsPanelToBecomeKey"),function(_ca,_cb){ +with(_ca){ +return NO; +} +}),new objj_method(sel_getUid("mouseDownCanMoveWindow"),function(_cc,_cd){ +with(_cc){ +return !objj_msgSend(_cc,"isOpaque"); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_ce,_cf,_d0){ +with(_ce){ +if(objj_msgSend(_ce,"mouseDownCanMoveWindow")){ +objj_msgSendSuper({receiver:_ce,super_class:objj_getClass("CPView").super_class},"mouseDown:",_d0); +} +} +}),new objj_method(sel_getUid("setBackgroundColor:"),function(_d1,_d2,_d3){ +with(_d1){ +if(_backgroundColor==_d3){ +return; +} +_backgroundColor=_d3; +} +}),new objj_method(sel_getUid("backgroundColor"),function(_d4,_d5){ +with(_d4){ +return _backgroundColor; +} +}),new objj_method(sel_getUid("convertPoint:fromView:"),function(_d6,_d7,_d8,_d9){ +with(_d6){ +return CGPointApplyAffineTransform(_d8,_da(_d9,_d6)); +} +}),new objj_method(sel_getUid("convertPoint:toView:"),function(_db,_dc,_dd,_de){ +with(_db){ +return CGPointApplyAffineTransform(_dd,_da(_db,_de)); +} +}),new objj_method(sel_getUid("convertSize:fromView:"),function(_df,_e0,_e1,_e2){ +with(_df){ +return CGSizeApplyAffineTransform(_e1,_da(_e2,_df)); +} +}),new objj_method(sel_getUid("convertSize:toView:"),function(_e3,_e4,_e5,_e6){ +with(_e3){ +return CGSizeApplyAffineTransform(_e5,_da(_e3,_e6)); +} +}),new objj_method(sel_getUid("convertRect:fromView:"),function(_e7,_e8,_e9,_ea){ +with(_e7){ +return CGRectApplyAffineTransform(_e9,_da(_ea,_e7)); +} +}),new objj_method(sel_getUid("convertRect:toView:"),function(_eb,_ec,_ed,_ee){ +with(_eb){ +return CGRectApplyAffineTransform(_ed,_da(_eb,_ee)); +} +}),new objj_method(sel_getUid("setPostsFrameChangedNotifications:"),function(_ef,_f0,_f1){ +with(_ef){ +_f1=!!_f1; +if(_postsFrameChangedNotifications===_f1){ +return; +} +_postsFrameChangedNotifications=_f1; +if(_postsFrameChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewFrameDidChangeNotification,_ef); +} +} +}),new objj_method(sel_getUid("postsFrameChangedNotifications"),function(_f2,_f3){ +with(_f2){ +return _postsFrameChangedNotifications; +} +}),new objj_method(sel_getUid("setPostsBoundsChangedNotifications:"),function(_f4,_f5,_f6){ +with(_f4){ +_f6=!!_f6; +if(_postsBoundsChangedNotifications===_f6){ +return; +} +_postsBoundsChangedNotifications=_f6; +if(_postsBoundsChangedNotifications){ +objj_msgSend(_1,"postNotificationName:object:",CPViewBoundsDidChangeNotification,_f4); +} +} +}),new objj_method(sel_getUid("postsBoundsChangedNotifications"),function(_f7,_f8){ +with(_f7){ +return _postsBoundsChangedNotifications; +} +}),new objj_method(sel_getUid("dragImage:at:offset:event:pasteboard:source:slideBack:"),function(_f9,_fa,_fb,_fc,_fd,_fe,_ff,_100,_101){ +with(_f9){ +objj_msgSend(_window,"dragImage:at:offset:event:pasteboard:source:slideBack:",_fb,objj_msgSend(_f9,"convertPoint:toView:",_fc,nil),_fd,_fe,_ff,_100,_101); +} +}),new objj_method(sel_getUid("dragView:at:offset:event:pasteboard:source:slideBack:"),function(self,_102,_103,_104,_105,_106,_107,_108,_109){ +with(self){ +objj_msgSend(_window,"dragView:at:offset:event:pasteboard:source:slideBack:",_103,objj_msgSend(self,"convertPoint:toView:",_104,nil),_105,_106,_107,_108,_109); +} +}),new objj_method(sel_getUid("registerForDraggedTypes:"),function(self,_10a,_10b){ +with(self){ +if(!_10b||!objj_msgSend(_10b,"count")){ +return; +} +var _10c=objj_msgSend(self,"window"); +objj_msgSend(_10c,"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +objj_msgSend(_registeredDraggedTypes,"addObjectsFromArray:",_10b); +objj_msgSend(_10c,"_noteRegisteredDraggedTypes:",_registeredDraggedTypes); +_registeredDraggedTypesArray=nil; +} +}),new objj_method(sel_getUid("registeredDraggedTypes"),function(self,_10d){ +with(self){ +if(!_registeredDraggedTypesArray){ +_registeredDraggedTypesArray=objj_msgSend(_registeredDraggedTypes,"allObjects"); +} +return _registeredDraggedTypesArray; +} +}),new objj_method(sel_getUid("unregisterDraggedTypes"),function(self,_10e){ +with(self){ +objj_msgSend(objj_msgSend(self,"window"),"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +} +}),new objj_method(sel_getUid("drawRect:"),function(self,_10f,_110){ +with(self){ +} +}),new objj_method(sel_getUid("setNeedsDisplay:"),function(self,_111,_112){ +with(self){ +if(_112){ +objj_msgSend(self,"setNeedsDisplayInRect:",objj_msgSend(self,"bounds")); +} +} +}),new objj_method(sel_getUid("setNeedsDisplayInRect:"),function(self,_113,_114){ +with(self){ +if(!(_viewClassFlags&_4)){ +return; +} +if((_114.size.width<=0||_114.size.height<=0)){ +return; +} +if(_dirtyRect&&!(_dirtyRect.size.width<=0||_dirtyRect.size.height<=0)){ +_dirtyRect=CGRectUnion(_114,_dirtyRect); +}else{ +_dirtyRect={origin:{x:_114.origin.x,y:_114.origin.y},size:{width:_114.size.width,height:_114.size.height}}; +} +_CPDisplayServerAddDisplayObject(self); +} +}),new objj_method(sel_getUid("needsDisplay"),function(self,_115){ +with(self){ +return _dirtyRect&&!(_dirtyRect.size.width<=0||_dirtyRect.size.height<=0); +} +}),new objj_method(sel_getUid("displayIfNeeded"),function(self,_116){ +with(self){ +if(objj_msgSend(self,"needsDisplay")){ +objj_msgSend(self,"displayRect:",_dirtyRect); +} +} +}),new objj_method(sel_getUid("display"),function(self,_117){ +with(self){ +objj_msgSend(self,"displayRect:",objj_msgSend(self,"visibleRect")); +} +}),new objj_method(sel_getUid("displayIfNeededInRect:"),function(self,_118,_119){ +with(self){ +if(objj_msgSend(self,"needsDisplay")){ +objj_msgSend(self,"displayRect:",_119); +} +} +}),new objj_method(sel_getUid("displayRect:"),function(self,_11a,_11b){ +with(self){ +objj_msgSend(self,"viewWillDraw"); +objj_msgSend(self,"displayRectIgnoringOpacity:inContext:",_11b,nil); +_dirtyRect=NULL; +} +}),new objj_method(sel_getUid("displayRectIgnoringOpacity:inContext:"),function(self,_11c,_11d,_11e){ +with(self){ +objj_msgSend(self,"lockFocus"); +CGContextClearRect(objj_msgSend(objj_msgSend(CPGraphicsContext,"currentContext"),"graphicsPort"),_11d); +objj_msgSend(self,"drawRect:",_11d); +objj_msgSend(self,"unlockFocus"); +} +}),new objj_method(sel_getUid("viewWillDraw"),function(self,_11f){ +with(self){ +} +}),new objj_method(sel_getUid("lockFocus"),function(self,_120){ +with(self){ +if(!_graphicsContext){ +var _121=CGBitmapGraphicsContextCreate(); +_DOMContentsElement=_121.DOMElement; +_DOMContentsElement.style.zIndex=-100; +_DOMContentsElement.style.overflow="hidden"; +_DOMContentsElement.style.position="absolute"; +_DOMContentsElement.style.visibility="visible"; +_DOMContentsElement.width=ROUND((_frame.size.width)); +_DOMContentsElement.height=ROUND((_frame.size.height)); +_DOMContentsElement.style.top="0px"; +_DOMContentsElement.style.left="0px"; +_DOMContentsElement.style.width=ROUND((_frame.size.width))+"px"; +_DOMContentsElement.style.height=ROUND((_frame.size.height))+"px"; +_graphicsContext=objj_msgSend(CPGraphicsContext,"graphicsContextWithGraphicsPort:flipped:",_121,YES); +} +objj_msgSend(CPGraphicsContext,"setCurrentContext:",_graphicsContext); +CGContextSaveGState(objj_msgSend(_graphicsContext,"graphicsPort")); +} +}),new objj_method(sel_getUid("unlockFocus"),function(self,_122){ +with(self){ +CGContextRestoreGState(objj_msgSend(_graphicsContext,"graphicsPort")); +objj_msgSend(CPGraphicsContext,"setCurrentContext:",nil); +} +}),new objj_method(sel_getUid("setNeedsLayout"),function(self,_123){ +with(self){ +if(!(_viewClassFlags&_5)){ +return; +} +_needsLayout=YES; +_CPDisplayServerAddLayoutObject(self); +} +}),new objj_method(sel_getUid("layoutIfNeeded"),function(self,_124){ +with(self){ +if(_needsLayout){ +_needsLayout=NO; +objj_msgSend(self,"layoutSubviews"); +} +} +}),new objj_method(sel_getUid("layoutSubviews"),function(self,_125){ +with(self){ +} +}),new objj_method(sel_getUid("isOpaque"),function(self,_126){ +with(self){ +return NO; +} +}),new objj_method(sel_getUid("visibleRect"),function(self,_127){ +with(self){ +if(!_superview){ +return _bounds; +} +return CGRectIntersection(objj_msgSend(self,"convertRect:fromView:",objj_msgSend(_superview,"visibleRect"),_superview),_bounds); +} +}),new objj_method(sel_getUid("_enclosingClipView"),function(self,_128){ +with(self){ +var _129=_superview,_12a=objj_msgSend(CPClipView,"class"); +while(_129&&!objj_msgSend(_129,"isKindOfClass:",_12a)){ +_129=_129._superview; +} +return _129; +} +}),new objj_method(sel_getUid("scrollPoint:"),function(self,_12b,_12c){ +with(self){ +var _12d=objj_msgSend(self,"_enclosingClipView"); +if(!_12d){ +return; +} +objj_msgSend(_12d,"scrollToPoint:",objj_msgSend(self,"convertPoint:toView:",_12c,_12d)); +} +}),new objj_method(sel_getUid("scrollRectToVisible:"),function(self,_12e,_12f){ +with(self){ +var _130=objj_msgSend(self,"visibleRect"); +_12f=CGRectIntersection(_12f,_bounds); +if((_12f.size.width<=0||_12f.size.height<=0)||CGRectContainsRect(_130,_12f)){ +return NO; +} +var _131=objj_msgSend(self,"_enclosingClipView"); +if(!_131){ +return NO; +} +var _132={x:_130.origin.x,y:_130.origin.y}; +if((_12f.origin.x)<=(_130.origin.x)){ +_132.x=(_12f.origin.x); +}else{ +if((_12f.origin.x+_12f.size.width)>(_130.origin.x+_130.size.width)){ +_132.x+=(_12f.origin.x+_12f.size.width)-(_130.origin.x+_130.size.width); +} +} +if((_12f.origin.y)<=(_130.origin.y)){ +_132.y=CGRectGetMinY(_12f); +}else{ +if((_12f.origin.y+_12f.size.height)>(_130.origin.y+_130.size.height)){ +_132.y+=(_12f.origin.y+_12f.size.height)-(_130.origin.y+_130.size.height); +} +} +objj_msgSend(_131,"scrollToPoint:",CGPointMake(_132.x,_132.y)); +return YES; +} +}),new objj_method(sel_getUid("autoscroll:"),function(self,_133,_134){ +with(self){ +return objj_msgSend(objj_msgSend(self,"superview"),"autoscroll:",_134); +} +}),new objj_method(sel_getUid("adjustScroll:"),function(self,_135,_136){ +with(self){ +return _136; +} +}),new objj_method(sel_getUid("scrollRect:by:"),function(self,_137,_138,_139){ +with(self){ +} +}),new objj_method(sel_getUid("enclosingScrollView"),function(self,_13a){ +with(self){ +var _13b=_superview,_13c=objj_msgSend(CPScrollView,"class"); +while(_13b&&!objj_msgSend(_13b,"isKindOfClass:",_13c)){ +_13b=_13b._superview; +} +return _13b; +} +}),new objj_method(sel_getUid("scrollClipView:toPoint:"),function(self,_13d,_13e,_13f){ +with(self){ +objj_msgSend(_13e,"scrollToPoint:",_13f); +} +}),new objj_method(sel_getUid("reflectScrolledClipView:"),function(self,_140,_141){ +with(self){ +} +})]); +class_addMethods(_7,[new objj_method(sel_getUid("initialize"),function(self,_142){ +with(self){ +if(self!==objj_msgSend(CPView,"class")){ +return; +} +_1=objj_msgSend(CPNotificationCenter,"defaultCenter"); +} +}),new objj_method(sel_getUid("keyPathsForValuesAffectingFrame"),function(self,_143){ +with(self){ +return objj_msgSend(CPSet,"setWithObjects:","frameOrigin","frameSize"); +} +}),new objj_method(sel_getUid("keyPathsForValuesAffectingBounds"),function(self,_144){ +with(self){ +return objj_msgSend(CPSet,"setWithObjects:","boundsOrigin","boundsSize"); +} +})]); +var _6=objj_getClass("CPView"); +if(!_6){ +throw new SyntaxError("*** Could not find definition for class \"CPView\""); +} +var _7=_6.isa; +class_addMethods(_6,[new objj_method(sel_getUid("performKeyEquivalent:"),function(self,_145,_146){ +with(self){ +var _147=objj_msgSend(_subviews,"count"); +while(_147--){ +if(objj_msgSend(_subviews[_147],"performKeyEquivalent:",_146)){ +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("canBecomeKeyView"),function(self,_148){ +with(self){ +return objj_msgSend(self,"acceptsFirstResponder")&&!objj_msgSend(self,"isHiddenOrHasHiddenAncestor"); +} +}),new objj_method(sel_getUid("nextKeyView"),function(self,_149){ +with(self){ +return _nextKeyView; +} +}),new objj_method(sel_getUid("nextValidKeyView"),function(self,_14a){ +with(self){ +var _14b=objj_msgSend(self,"nextKeyView"); +while(_14b&&!objj_msgSend(_14b,"canBecomeKeyView")){ +_14b=objj_msgSend(_14b,"nextKeyView"); +} +return _14b; +} +}),new objj_method(sel_getUid("previousKeyView"),function(self,_14c){ +with(self){ +return _previousKeyView; +} +}),new objj_method(sel_getUid("previousValidKeyView"),function(self,_14d){ +with(self){ +var _14e=objj_msgSend(self,"previousKeyView"); +while(_14e&&!objj_msgSend(_14e,"canBecomeKeyView")){ +_14e=objj_msgSend(_14e,"previousKeyView"); +} +return _14e; +} +}),new objj_method(sel_getUid("_setPreviousKeyView:"),function(self,_14f,_150){ +with(self){ +_previousKeyView=_150; +} +}),new objj_method(sel_getUid("setNextKeyView:"),function(self,_151,next){ +with(self){ +_nextKeyView=next; +objj_msgSend(_nextKeyView,"_setPreviousKeyView:",self); +} +})]); +var _6=objj_getClass("CPView"); +if(!_6){ +throw new SyntaxError("*** Could not find definition for class \"CPView\""); +} +var _7=_6.isa; +class_addMethods(_6,[new objj_method(sel_getUid("setLayer:"),function(self,_152,_153){ +with(self){ +if(_layer==_153){ +return; +} +if(_layer){ +_layer._owningView=nil; +} +_layer=_153; +if(_layer){ +var _154=CGRectMakeCopy(objj_msgSend(self,"bounds")); +objj_msgSend(_layer,"_setOwningView:",self); +} +} +}),new objj_method(sel_getUid("layer"),function(self,_155){ +with(self){ +return _layer; +} +}),new objj_method(sel_getUid("setWantsLayer:"),function(self,_156,_157){ +with(self){ +_wantsLayer=!!_157; +} +}),new objj_method(sel_getUid("wantsLayer"),function(self,_158){ +with(self){ +return _wantsLayer; +} +})]); +var _6=objj_getClass("CPView"); +if(!_6){ +throw new SyntaxError("*** Could not find definition for class \"CPView\""); +} +var _7=_6.isa; +class_addMethods(_6,[new objj_method(sel_getUid("themeState"),function(self,_159){ +with(self){ +return _themeState; +} +}),new objj_method(sel_getUid("hasThemeState:"),function(self,_15a,_15b){ +with(self){ +return !!(_themeState&((typeof _15b==="string")?CPThemeState(_15b):_15b)); +} +}),new objj_method(sel_getUid("setThemeState:"),function(self,_15c,_15d){ +with(self){ +var _15e=(typeof _15d==="string")?CPThemeState(_15d):_15d; +if(_themeState&_15e){ +return NO; +} +_themeState|=_15e; +objj_msgSend(self,"setNeedsLayout"); +objj_msgSend(self,"setNeedsDisplay:",YES); +return YES; +} +}),new objj_method(sel_getUid("unsetThemeState:"),function(self,_15f,_160){ +with(self){ +var _161=((typeof _160==="string")?CPThemeState(_160):_160); +if(!(_themeState&_161)){ +return NO; +} +_themeState&=~_161; +objj_msgSend(self,"setNeedsLayout"); +objj_msgSend(self,"setNeedsDisplay:",YES); +return YES; +} +}),new objj_method(sel_getUid("_loadThemeAttributes"),function(self,_162){ +with(self){ +var _163=objj_msgSend(self,"class"),_164=objj_msgSend(_163,"_themeAttributes"),_165=_164.length; +if(!_165){ +return; +} +var _166=objj_msgSend(self,"theme"),_167=objj_msgSend(_163,"themeClass"); +_themeAttributes={}; +while(_165--){ +var _168=_164[_165--],_169=objj_msgSend(objj_msgSend(_CPThemeAttribute,"alloc"),"initWithName:defaultValue:",_168,_164[_165]); +objj_msgSend(_169,"setParentAttribute:",objj_msgSend(_166,"_attributeWithName:forClass:",_168,_167)); +_themeAttributes[_168]=_169; +} +} +}),new objj_method(sel_getUid("setTheme:"),function(self,_16a,_16b){ +with(self){ +if(_theme===_16b){ +return; +} +_theme=_16b; +objj_msgSend(self,"viewDidChangeTheme"); +} +}),new objj_method(sel_getUid("theme"),function(self,_16c){ +with(self){ +return _theme; +} +}),new objj_method(sel_getUid("viewDidChangeTheme"),function(self,_16d){ +with(self){ +if(!_themeAttributes){ +return; +} +var _16e=objj_msgSend(self,"theme"),_16f=objj_msgSend(objj_msgSend(self,"class"),"themeClass"); +for(var _170 in _themeAttributes){ +if(_themeAttributes.hasOwnProperty(_170)){ +objj_msgSend(_themeAttributes[_170],"setParentAttribute:",objj_msgSend(_16e,"_attributeWithName:forClass:",_170,_16f)); +} +} +objj_msgSend(self,"setNeedsLayout"); +objj_msgSend(self,"setNeedsDisplay:",YES); +} +}),new objj_method(sel_getUid("_themeAttributeDictionary"),function(self,_171){ +with(self){ +var _172=objj_msgSend(CPDictionary,"dictionary"); +if(_themeAttributes){ +var _173=objj_msgSend(self,"theme"); +for(var _174 in _themeAttributes){ +if(_themeAttributes.hasOwnProperty(_174)){ +objj_msgSend(_172,"setObject:forKey:",_themeAttributes[_174],_174); +} +} +} +return _172; +} +}),new objj_method(sel_getUid("setValue:forThemeAttribute:inState:"),function(self,_175,_176,_177,_178){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_177]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_177+"'"); +} +var _179=objj_msgSend(self,"currentValueForThemeAttribute:",_177); +objj_msgSend(_themeAttributes[_177],"setValue:forState:",_176,_178); +if(objj_msgSend(self,"currentValueForThemeAttribute:",_177)===_179){ +return; +} +objj_msgSend(self,"setNeedsDisplay:",YES); +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("setValue:forThemeAttribute:"),function(self,_17a,_17b,_17c){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_17c]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_17c+"'"); +} +var _17d=objj_msgSend(self,"currentValueForThemeAttribute:",_17c); +objj_msgSend(_themeAttributes[_17c],"setValue:",_17b); +if(objj_msgSend(self,"currentValueForThemeAttribute:",_17c)===_17d){ +return; +} +objj_msgSend(self,"setNeedsDisplay:",YES); +objj_msgSend(self,"setNeedsLayout"); +} +}),new objj_method(sel_getUid("valueForThemeAttribute:inState:"),function(self,_17e,_17f,_180){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_17f]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_17f+"'"); +} +return objj_msgSend(_themeAttributes[_17f],"valueForState:",_180); +} +}),new objj_method(sel_getUid("valueForThemeAttribute:"),function(self,_181,_182){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_182]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_182+"'"); +} +return objj_msgSend(_themeAttributes[_182],"value"); +} +}),new objj_method(sel_getUid("currentValueForThemeAttribute:"),function(self,_183,_184){ +with(self){ +if(!_themeAttributes||!_themeAttributes[_184]){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,objj_msgSend(self,"className")+" does not contain theme attribute '"+_184+"'"); +} +return objj_msgSend(_themeAttributes[_184],"valueForState:",_themeState); +} +}),new objj_method(sel_getUid("createEphemeralSubviewNamed:"),function(self,_185,_186){ +with(self){ +return nil; +} +}),new objj_method(sel_getUid("rectForEphemeralSubviewNamed:"),function(self,_187,_188){ +with(self){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +} +}),new objj_method(sel_getUid("layoutEphemeralSubviewNamed:positioned:relativeToEphemeralSubviewNamed:"),function(self,_189,_18a,_18b,_18c){ +with(self){ +if(!_ephemeralSubviewsForNames){ +_ephemeralSubviewsForNames={}; +_ephemeralSubviews=objj_msgSend(CPSet,"set"); +} +var _18d=objj_msgSend(self,"rectForEphemeralSubviewNamed:",_18a); +if(_18d&&!(_18d.size.width<=0||_18d.size.height<=0)){ +if(!_ephemeralSubviewsForNames[_18a]){ +_ephemeralSubviewsForNames[_18a]=objj_msgSend(self,"createEphemeralSubviewNamed:",_18a); +objj_msgSend(_ephemeralSubviews,"addObject:",_ephemeralSubviewsForNames[_18a]); +if(_ephemeralSubviewsForNames[_18a]){ +objj_msgSend(self,"addSubview:positioned:relativeTo:",_ephemeralSubviewsForNames[_18a],_18b,_ephemeralSubviewsForNames[_18c]); +} +} +if(_ephemeralSubviewsForNames[_18a]){ +objj_msgSend(_ephemeralSubviewsForNames[_18a],"setFrame:",_18d); +} +}else{ +if(_ephemeralSubviewsForNames[_18a]){ +objj_msgSend(_ephemeralSubviewsForNames[_18a],"removeFromSuperview"); +objj_msgSend(_ephemeralSubviews,"removeObject:",_ephemeralSubviewsForNames[_18a]); +delete _ephemeralSubviewsForNames[_18a]; +} +} +return _ephemeralSubviewsForNames[_18a]; +} +})]); +class_addMethods(_7,[new objj_method(sel_getUid("themeClass"),function(self,_18e){ +with(self){ +return nil; +} +}),new objj_method(sel_getUid("themeAttributes"),function(self,_18f){ +with(self){ +return nil; +} +}),new objj_method(sel_getUid("_themeAttributes"),function(self,_190){ +with(self){ +if(!_2){ +_2={}; +} +var _191=objj_msgSend(self,"class"),_192=objj_msgSend(CPView,"class"),_193=[],_194=objj_msgSend(CPNull,"null"); +for(;_191&&_191!==_192;_191=objj_msgSend(_191,"superclass")){ +var _195=_2[class_getName(_191)]; +if(_195){ +_193=_193.length?_193.concat(_195):_193; +_2[objj_msgSend(self,"className")]=_193; +break; +} +var _196=objj_msgSend(_191,"themeAttributes"); +if(!_196){ +continue; +} +var _197=objj_msgSend(_196,"allKeys"),_198=_197.length; +while(_198--){ +var _199=_197[_198],_19a=objj_msgSend(_196,"objectForKey:",_199); +_193.push(_19a===_194?nil:_19a); +_193.push(_199); +} +} +return _193; +} +})]); +var _19b="CPViewAutoresizingMask",_19c="CPViewAutoresizesSubviews",_19d="CPViewBackgroundColor",_19e="CPViewBoundsKey",_19f="CPViewFrameKey",_1a0="CPViewHitTestsKey",_1a1="CPViewIsHiddenKey",_1a2="CPViewOpacityKey",_1a3="CPViewSubviewsKey",_1a4="CPViewSuperviewKey",_1a5="CPViewTagKey",_1a6="CPViewThemeStateKey",_1a7="CPViewWindowKey",_1a8="CPViewNextKeyViewKey",_1a9="CPViewPreviousKeyViewKey"; +var _6=objj_getClass("CPView"); +if(!_6){ +throw new SyntaxError("*** Could not find definition for class \"CPView\""); +} +var _7=_6.isa; +class_addMethods(_6,[new objj_method(sel_getUid("initWithCoder:"),function(self,_1aa,_1ab){ +with(self){ +_frame=objj_msgSend(_1ab,"decodeRectForKey:",_19f); +_bounds=objj_msgSend(_1ab,"decodeRectForKey:",_19e); +self=objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPView").super_class},"initWithCoder:",_1ab); +if(self){ +_tag=objj_msgSend(_1ab,"containsValueForKey:",_1a5)?objj_msgSend(_1ab,"decodeIntForKey:",_1a5):-1; +_window=objj_msgSend(_1ab,"decodeObjectForKey:",_1a7); +_subviews=objj_msgSend(_1ab,"decodeObjectForKey:",_1a3)||[]; +_superview=objj_msgSend(_1ab,"decodeObjectForKey:",_1a4); +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +_autoresizingMask=objj_msgSend(_1ab,"decodeIntForKey:",_19b)||CPViewNotSizable; +_autoresizesSubviews=!objj_msgSend(_1ab,"containsValueForKey:",_19c)||objj_msgSend(_1ab,"decodeBoolForKey:",_19c); +_hitTests=!objj_msgSend(_1ab,"containsValueForKey:",_1a0)||objj_msgSend(_1ab,"decodeObjectForKey:",_1a0); +if(objj_msgSend(_1ab,"containsValueForKey:",_1a1)){ +objj_msgSend(self,"setHidden:",objj_msgSend(_1ab,"decodeBoolForKey:",_1a1)); +}else{ +_isHidden=NO; +} +if(objj_msgSend(_1ab,"containsValueForKey:",_1a2)){ +objj_msgSend(self,"setAlphaValue:",objj_msgSend(_1ab,"decodeIntForKey:",_1a2)); +}else{ +_opacity=1; +} +objj_msgSend(self,"setBackgroundColor:",objj_msgSend(_1ab,"decodeObjectForKey:",_19d)); +objj_msgSend(self,"setupViewFlags"); +_theme=objj_msgSend(CPTheme,"defaultTheme"); +_themeState=CPThemeState(objj_msgSend(_1ab,"decodeIntForKey:",_1a6)); +_themeAttributes={}; +var _1ac=objj_msgSend(self,"class"),_1ad=objj_msgSend(_1ac,"themeClass"),_1ae=objj_msgSend(_1ac,"_themeAttributes"),_1af=_1ae.length; +while(_1af--){ +var _1b0=_1ae[_1af--]; +_themeAttributes[_1b0]=CPThemeAttributeDecode(_1ab,_1b0,_1ae[_1af],_theme,_1ad); +} +objj_msgSend(self,"setNeedsDisplay:",YES); +objj_msgSend(self,"setNeedsLayout"); +} +return self; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(self,_1b1,_1b2){ +with(self){ +objj_msgSendSuper({receiver:self,super_class:objj_getClass("CPView").super_class},"encodeWithCoder:",_1b2); +if(_tag!==-1){ +objj_msgSend(_1b2,"encodeInt:forKey:",_tag,_1a5); +} +objj_msgSend(_1b2,"encodeRect:forKey:",_frame,_19f); +objj_msgSend(_1b2,"encodeRect:forKey:",_bounds,_19e); +if(_window!==nil){ +objj_msgSend(_1b2,"encodeConditionalObject:forKey:",_window,_1a7); +} +var _1b3=objj_msgSend(_subviews,"count"),_1b4=_subviews; +if(_1b3>0&&objj_msgSend(_ephemeralSubviews,"count")>0){ +_1b4=objj_msgSend(_1b4,"copy"); +while(_1b3--){ +if(objj_msgSend(_ephemeralSubviews,"containsObject:",_1b4[_1b3])){ +_1b4.splice(_1b3,1); +} +} +} +if(_1b4.length>0){ +objj_msgSend(_1b2,"encodeObject:forKey:",_1b4,_1a3); +} +if(_superview!==nil){ +objj_msgSend(_1b2,"encodeConditionalObject:forKey:",_superview,_1a4); +} +if(_autoresizingMask!==CPViewNotSizable){ +objj_msgSend(_1b2,"encodeInt:forKey:",_autoresizingMask,_19b); +} +if(!_autoresizesSubviews){ +objj_msgSend(_1b2,"encodeBool:forKey:",_autoresizesSubviews,_19c); +} +if(_backgroundColor!==nil){ +objj_msgSend(_1b2,"encodeObject:forKey:",_backgroundColor,_19d); +} +if(_hitTests!==YES){ +objj_msgSend(_1b2,"encodeBool:forKey:",_hitTests,_1a0); +} +if(_opacity!==1){ +objj_msgSend(_1b2,"encodeFloat:forKey:",_opacity,_1a2); +} +if(_isHidden){ +objj_msgSend(_1b2,"encodeBool:forKey:",_isHidden,_1a1); +} +var _1b5=objj_msgSend(self,"nextKeyView"); +if(_1b5!==nil){ +objj_msgSend(_1b2,"encodeConditionalObject:forKey:",_1b5,_1a8); +} +var _1b6=objj_msgSend(self,"previousKeyView"); +if(_1b6!==nil){ +objj_msgSend(_1b2,"encodeConditionalObject:forKey:",_1b6,_1a9); +} +objj_msgSend(_1b2,"encodeInt:forKey:",CPThemeStateName(_themeState),_1a6); +for(var _1b7 in _themeAttributes){ +if(_themeAttributes.hasOwnProperty(_1b7)){ +CPThemeAttributeEncode(_1b2,_themeAttributes[_1b7]); +} +} +} +})]); +var _a5=function(_1b8){ +var _1b9=_1b8._superview; +return {autoresizingMask:_1b8._autoresizingMask,frame:CGRectMakeCopy(_1b8._frame),index:(_1b9?objj_msgSend(_1b9._subviews,"indexOfObjectIdenticalTo:",_1b8):0),superview:_1b9}; +}; +var _da=function(_1ba,_1bb){ +var _1bc=CGAffineTransformMakeIdentity(),_1bd=YES,_1be=nil,_1bf=nil; +if(_1ba){ +var view=_1ba; +while(view&&view!=_1bb){ +var _1c0=view._frame; +_1bc.tx+=(_1c0.origin.x); +_1bc.ty+=(_1c0.origin.y); +if(view._boundsTransform){ +var tx=_1bc.tx*view._boundsTransform.a+_1bc.ty*view._boundsTransform.c+view._boundsTransform.tx; +_1bc.ty=_1bc.tx*view._boundsTransform.b+_1bc.ty*view._boundsTransform.d+view._boundsTransform.ty; +_1bc.tx=tx; +var a=_1bc.a*view._boundsTransform.a+_1bc.b*view._boundsTransform.c,b=_1bc.a*view._boundsTransform.b+_1bc.b*view._boundsTransform.d,c=_1bc.c*view._boundsTransform.a+_1bc.d*view._boundsTransform.c; +_1bc.d=_1bc.c*view._boundsTransform.b+_1bc.d*view._boundsTransform.d; +_1bc.a=a; +_1bc.b=b; +_1bc.c=c; +} +view=view._superview; +} +if(view===_1bb){ +return _1bc; +}else{ +if(_1ba&&_1bb){ +_1be=objj_msgSend(_1ba,"window"); +_1bf=objj_msgSend(_1bb,"window"); +if(_1be&&_1bf&&_1be!==_1bf){ +_1bd=NO; +var _1c0=objj_msgSend(_1be,"frame"); +_1bc.tx+=(_1c0.origin.x); +_1bc.ty+=(_1c0.origin.y); +} +} +} +} +var view=_1bb; +while(view){ +var _1c0=view._frame; +_1bc.tx-=(_1c0.origin.x); +_1bc.ty-=(_1c0.origin.y); +if(view._boundsTransform){ +var tx=_1bc.tx*view._inverseBoundsTransform.a+_1bc.ty*view._inverseBoundsTransform.c+view._inverseBoundsTransform.tx; +_1bc.ty=_1bc.tx*view._inverseBoundsTransform.b+_1bc.ty*view._inverseBoundsTransform.d+view._inverseBoundsTransform.ty; +_1bc.tx=tx; +var a=_1bc.a*view._inverseBoundsTransform.a+_1bc.b*view._inverseBoundsTransform.c,b=_1bc.a*view._inverseBoundsTransform.b+_1bc.b*view._inverseBoundsTransform.d,c=_1bc.c*view._inverseBoundsTransform.a+_1bc.d*view._inverseBoundsTransform.c; +_1bc.d=_1bc.c*view._inverseBoundsTransform.b+_1bc.d*view._inverseBoundsTransform.d; +_1bc.a=a; +_1bc.b=b; +_1bc.c=c; +} +view=view._superview; +} +if(!_1bd){ +var _1c0=objj_msgSend(_1bf,"frame"); +_1bc.tx-=(_1c0.origin.x); +_1bc.ty-=(_1c0.origin.y); +} +return _1bc; +}; +p;17;CPViewAnimation.jt;4962;@STATIC;1.0;I;20;AppKit/CPAnimation.jt;4918; +objj_executeFile("AppKit/CPAnimation.j",NO); +CPViewAnimationTargetKey="CPViewAnimationTarget"; +CPViewAnimationStartFrameKey="CPViewAnimationStartFrame"; +CPViewAnimationEndFrameKey="CPViewAnimationEndFrame"; +CPViewAnimationEffectKey="CPViewAnimationEffect"; +CPViewAnimationFadeInEffect="CPViewAnimationFadeIn"; +CPViewAnimationFadeOutEffect="CPViewAnimationFadeOut"; +var _1=objj_allocateClassPair(CPAnimation,"CPViewAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_viewAnimations")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithViewAnimations:"),function(_3,_4,_5){ +with(_3){ +if(_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPViewAnimation").super_class},"initWithDuration:animationCurve:",0.5,CPAnimationLinear)){ +objj_msgSend(_3,"setViewAnimations:",_5); +} +return _3; +} +}),new objj_method(sel_getUid("startAnimation"),function(_6,_7){ +with(_6){ +var _8=objj_msgSend(_viewAnimations,"count"); +while(_8--){ +var _9=objj_msgSend(_viewAnimations,"objectAtIndex:",_8),_a=objj_msgSend(_6,"_targetView:",_9),_b=objj_msgSend(_6,"_startFrame:",_9); +objj_msgSend(_a,"setFrame:",_b); +var _c=objj_msgSend(_6,"_effect:",_9); +if(_c===CPViewAnimationFadeInEffect){ +objj_msgSend(_a,"setAlphaValue:",0); +objj_msgSend(_a,"setHidden:",NO); +}else{ +if(_c===CPViewAnimationFadeOutEffect){ +objj_msgSend(_a,"setAlphaValue:",1); +} +} +} +objj_msgSendSuper({receiver:_6,super_class:objj_getClass("CPViewAnimation").super_class},"startAnimation"); +} +}),new objj_method(sel_getUid("setCurrentProgress:"),function(_d,_e,_f){ +with(_d){ +objj_msgSendSuper({receiver:_d,super_class:objj_getClass("CPViewAnimation").super_class},"setCurrentProgress:",_f); +var _10=objj_msgSend(_viewAnimations,"count"); +while(_10--){ +var _11=objj_msgSend(_viewAnimations,"objectAtIndex:",_10),_12=objj_msgSend(_d,"_targetView:",_11); +startFrame=objj_msgSend(_d,"_startFrame:",_11); +endFrame=objj_msgSend(_d,"_endFrame:",_11); +differenceFrame=CPRectMakeZero(); +differenceFrame.origin.x=endFrame.origin.x-startFrame.origin.x; +differenceFrame.origin.y=endFrame.origin.y-startFrame.origin.y; +differenceFrame.size.width=endFrame.size.width-startFrame.size.width; +differenceFrame.size.height=endFrame.size.height-startFrame.size.height; +var _13=CPRectMakeZero(); +_13.origin.x=startFrame.origin.x+differenceFrame.origin.x*_f; +_13.origin.y=startFrame.origin.y+differenceFrame.origin.y*_f; +_13.size.width=startFrame.size.width+differenceFrame.size.width*_f; +_13.size.height=startFrame.size.height+differenceFrame.size.height*_f; +objj_msgSend(_12,"setFrame:",_13); +var _14=objj_msgSend(_d,"_effect:",_11); +if(_14===CPViewAnimationFadeInEffect){ +objj_msgSend(_12,"setAlphaValue:",1*_f); +}else{ +if(_14===CPViewAnimationFadeOutEffect){ +objj_msgSend(_12,"setAlphaValue:",1+(0-1)*_f); +} +} +if(_f===1){ +objj_msgSend(_12,"setHidden:",CPRectIsNull(endFrame)||objj_msgSend(_12,"alphaValue")===0); +} +} +} +}),new objj_method(sel_getUid("stopAnimation"),function(_15,_16){ +with(_15){ +var _17=objj_msgSend(_viewAnimations,"count"); +while(_17--){ +var _18=objj_msgSend(_viewAnimations,"objectAtIndex:",_17),_19=objj_msgSend(_15,"_targetView:",_18),_1a=objj_msgSend(_15,"_endFrame:",_18); +objj_msgSend(_19,"setFrame:",_1a); +var _1b=objj_msgSend(_15,"_effect:",_18); +if(_1b===CPViewAnimationFadeInEffect){ +objj_msgSend(_19,"setAlphaValue:",1); +}else{ +if(_1b===CPViewAnimationFadeOutEffect){ +objj_msgSend(_19,"setAlphaValue:",0); +} +} +objj_msgSend(_19,"setHidden:",CPRectIsNull(_1a)||objj_msgSend(_19,"alphaValue")===0); +} +objj_msgSendSuper({receiver:_15,super_class:objj_getClass("CPViewAnimation").super_class},"stopAnimation"); +} +}),new objj_method(sel_getUid("_targetView:"),function(_1c,_1d,_1e){ +with(_1c){ +var _1f=objj_msgSend(_1e,"valueForKey:",CPViewAnimationTargetKey); +if(!_1f){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,objj_msgSend(CPString,"stringWithFormat:","view animation: %@ does not have a target view",objj_msgSend(_1e,"description"))); +} +return _1f; +} +}),new objj_method(sel_getUid("_startFrame:"),function(_20,_21,_22){ +with(_20){ +var _23=objj_msgSend(_22,"valueForKey:",CPViewAnimationStartFrameKey); +if(!_23){ +return objj_msgSend(objj_msgSend(_20,"_targetView:",_22),"frame"); +} +return _23; +} +}),new objj_method(sel_getUid("_endFrame:"),function(_24,_25,_26){ +with(_24){ +var _27=objj_msgSend(_26,"valueForKey:",CPViewAnimationEndFrameKey); +if(!_27){ +return objj_msgSend(objj_msgSend(_24,"_targetView:",_26),"frame"); +} +return _27; +} +}),new objj_method(sel_getUid("_effect:"),function(_28,_29,_2a){ +with(_28){ +return objj_msgSend(_2a,"valueForKey:",CPViewAnimationEffectKey); +} +}),new objj_method(sel_getUid("viewAnimations"),function(_2b,_2c){ +with(_2b){ +return _viewAnimations; +} +}),new objj_method(sel_getUid("setViewAnimations:"),function(_2d,_2e,_2f){ +with(_2d){ +if(_2f!=_viewAnimations){ +objj_msgSend(_2d,"stopAnimation"); +_viewAnimations=objj_msgSend(_2f,"copy"); +} +} +})]); +p;18;CPViewController.jt;5159;@STATIC;1.0;I;20;AppKit/CPResponder.jt;5115; +objj_executeFile("AppKit/CPResponder.j",NO); +var _1; +var _2=objj_allocateClassPair(CPResponder,"CPViewController"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_view"),new objj_ivar("_representedObject"),new objj_ivar("_title"),new objj_ivar("_cibName"),new objj_ivar("_cibBundle"),new objj_ivar("_cibExternalNameTable")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("representedObject"),function(_4,_5){ +with(_4){ +return _representedObject; +} +}),new objj_method(sel_getUid("setRepresentedObject:"),function(_6,_7,_8){ +with(_6){ +_representedObject=_8; +} +}),new objj_method(sel_getUid("title"),function(_9,_a){ +with(_9){ +return _title; +} +}),new objj_method(sel_getUid("setTitle:"),function(_b,_c,_d){ +with(_b){ +_title=_d; +} +}),new objj_method(sel_getUid("cibName"),function(_e,_f){ +with(_e){ +return _cibName; +} +}),new objj_method(sel_getUid("cibBundle"),function(_10,_11){ +with(_10){ +return _cibBundle; +} +}),new objj_method(sel_getUid("cibExternalNameTable"),function(_12,_13){ +with(_12){ +return _cibExternalNameTable; +} +}),new objj_method(sel_getUid("init"),function(_14,_15){ +with(_14){ +return objj_msgSend(_14,"initWithCibName:bundle:",nil,nil); +} +}),new objj_method(sel_getUid("initWithCibName:bundle:"),function(_16,_17,_18,_19){ +with(_16){ +return objj_msgSend(_16,"initWithCibName:bundle:externalNameTable:",_18,_19,nil); +} +}),new objj_method(sel_getUid("initWithCibName:bundle:owner:"),function(_1a,_1b,_1c,_1d,_1e){ +with(_1a){ +return objj_msgSend(_1a,"initWithCibName:bundle:externalNameTable:",_1c,_1d,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_1e,CPCibOwner)); +} +}),new objj_method(sel_getUid("initWithCibName:bundle:externalNameTable:"),function(_1f,_20,_21,_22,_23){ +with(_1f){ +_1f=objj_msgSendSuper({receiver:_1f,super_class:objj_getClass("CPViewController").super_class},"init"); +if(_1f){ +_cibName=_21; +_cibBundle=_22||objj_msgSend(CPBundle,"mainBundle"); +_cibExternalNameTable=_23||objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_1f,CPCibOwner); +} +return _1f; +} +}),new objj_method(sel_getUid("loadView"),function(_24,_25){ +with(_24){ +if(_view){ +return; +} +var cib=objj_msgSend(_1,"objectForKey:",_cibName); +if(!cib){ +cib=objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithContentsOfURL:",objj_msgSend(_cibBundle,"pathForResource:",_cibName+".cib")); +objj_msgSend(_1,"setObject:forKey:",cib,_cibName); +} +objj_msgSend(cib,"instantiateCibWithExternalNameTable:",_cibExternalNameTable); +} +}),new objj_method(sel_getUid("view"),function(_26,_27){ +with(_26){ +if(!_view){ +var _28=objj_msgSend(_cibExternalNameTable,"objectForKey:",CPCibOwner); +if(objj_msgSend(_28,"respondsToSelector:",sel_getUid("viewControllerWillLoadCib:"))){ +objj_msgSend(_28,"viewControllerWillLoadCib:",_26); +} +objj_msgSend(_26,"loadView"); +if(_view===nil&&objj_msgSend(_28,"isKindOfClass:",objj_msgSend(CPDocument,"class"))){ +objj_msgSend(_26,"setView:",objj_msgSend(_28,"valueForKey:","view")); +} +if(!_view){ +var _29=objj_msgSend(CPString,"stringWithFormat:","View for %@ could not be loaded from Cib or no view specified. Override loadView to load the view manually.",_26); +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,_29); +} +if(objj_msgSend(_28,"respondsToSelector:",sel_getUid("viewControllerDidLoadCib:"))){ +objj_msgSend(_28,"viewControllerDidLoadCib:",_26); +} +objj_msgSend(_26,"viewDidLoad"); +} +return _view; +} +}),new objj_method(sel_getUid("viewDidLoad"),function(_2a,_2b){ +with(_2a){ +} +}),new objj_method(sel_getUid("setView:"),function(_2c,_2d,_2e){ +with(_2c){ +_view=_2e; +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("initialize"),function(_2f,_30){ +with(_2f){ +if(_2f===CPViewController){ +_1=objj_msgSend(CPDictionary,"dictionary"); +} +} +})]); +var _31="CPViewControllerViewKey",_32="CPViewControllerTitleKey",_33="CPViewControllerCibNameKey",_34="CPViewControllerBundleKey"; +var _2=objj_getClass("CPViewController"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPViewController\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_35,_36,_37){ +with(_35){ +_35=objj_msgSendSuper({receiver:_35,super_class:objj_getClass("CPViewController").super_class},"initWithCoder:",_37); +if(_35){ +_view=objj_msgSend(_37,"decodeObjectForKey:",_31); +_title=objj_msgSend(_37,"decodeObjectForKey:",_32); +_cibName=objj_msgSend(_37,"decodeObjectForKey:",_33); +var _38=objj_msgSend(_37,"decodeObjectForKey:",_34); +_cibBundle=_38?objj_msgSend(CPBundle,"bundleWithPath:",_38):objj_msgSend(CPBundle,"mainBundle"); +_cibExternalNameTable=objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_35,CPCibOwner); +} +return _35; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_39,_3a,_3b){ +with(_39){ +objj_msgSendSuper({receiver:_39,super_class:objj_getClass("CPViewController").super_class},"encodeWithCoder:",_3b); +objj_msgSend(_3b,"encodeObject:forKey:",_view,_31); +objj_msgSend(_3b,"encodeObject:forKey:",_title,_32); +objj_msgSend(_3b,"encodeObject:forKey:",_cibName,_33); +objj_msgSend(_3b,"encodeObject:forKey:",objj_msgSend(_cibBundle,"bundlePath"),_34); +} +})]); +p;11;CPWebView.jt;13165;@STATIC;1.0;I;15;AppKit/CPView.jt;13125; +objj_executeFile("AppKit/CPView.j",NO); +CPWebViewProgressStartedNotification="CPWebViewProgressStartedNotification"; +CPWebViewProgressFinishedNotification="CPWebViewProgressFinishedNotification"; +CPWebViewScrollAppKit=1; +CPWebViewScrollNative=2; +var _1=objj_allocateClassPair(CPView,"CPWebView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_scrollView"),new objj_ivar("_frameView"),new objj_ivar("_iframe"),new objj_ivar("_mainFrameURL"),new objj_ivar("_backwardStack"),new objj_ivar("_forwardStack"),new objj_ivar("_ignoreLoadStart"),new objj_ivar("_ignoreLoadEnd"),new objj_ivar("_downloadDelegate"),new objj_ivar("_frameLoadDelegate"),new objj_ivar("_policyDelegate"),new objj_ivar("_resourceLoadDelegate"),new objj_ivar("_UIDelegate"),new objj_ivar("_wso"),new objj_ivar("_url"),new objj_ivar("_html"),new objj_ivar("_loadCallback"),new objj_ivar("_scrollMode"),new objj_ivar("_scrollSize")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithFrame:frameName:groupName:"),function(_3,_4,_5,_6,_7){ +with(_3){ +if(_3=objj_msgSend(_3,"initWithFrame:",_5)){ +_iframe.name=_6; +} +return _3; +} +}),new objj_method(sel_getUid("initWithFrame:"),function(_8,_9,_a){ +with(_8){ +if(_8=objj_msgSendSuper({receiver:_8,super_class:objj_getClass("CPWebView").super_class},"initWithFrame:",_a)){ +_mainFrameURL=nil; +_backwardStack=[]; +_forwardStack=[]; +_scrollMode=CPWebViewScrollNative; +objj_msgSend(_8,"_initDOMWithFrame:",_a); +} +return _8; +} +}),new objj_method(sel_getUid("_initDOMWithFrame:"),function(_b,_c,_d){ +with(_b){ +_ignoreLoadStart=YES; +_ignoreLoadEnd=YES; +_iframe=document.createElement("iframe"); +_iframe.name="iframe_"+Math.floor(Math.random()*10000); +_iframe.style.width="100%"; +_iframe.style.height="100%"; +_iframe.style.borderWidth="0px"; +objj_msgSend(_b,"setDrawsBackground:",YES); +_loadCallback=function(){ +if(!_ignoreLoadStart){ +objj_msgSend(_b,"_startedLoading"); +if(_mainFrameURL){ +objj_msgSend(_backwardStack,"addObject:",_mainFrameURL); +} +_mainFrameURL=_iframe.src; +_mainFrameURL=_iframe.src; +objj_msgSend(_forwardStack,"removeAllObjects"); +}else{ +_ignoreLoadStart=NO; +} +if(!_ignoreLoadEnd){ +objj_msgSend(_b,"_finishedLoading"); +}else{ +_ignoreLoadEnd=NO; +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +}; +if(_iframe.addEventListener){ +_iframe.addEventListener("load",_loadCallback,false); +}else{ +if(_iframe.attachEvent){ +_iframe.attachEvent("onload",_loadCallback); +} +} +_frameView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",objj_msgSend(_b,"bounds")); +objj_msgSend(_frameView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +_scrollView=objj_msgSend(objj_msgSend(CPScrollView,"alloc"),"initWithFrame:",objj_msgSend(_b,"bounds")); +objj_msgSend(_scrollView,"setAutohidesScrollers:",YES); +objj_msgSend(_scrollView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_scrollView,"setDocumentView:",_frameView); +_frameView._DOMElement.appendChild(_iframe); +objj_msgSend(_b,"_setScrollMode:",_scrollMode); +objj_msgSend(_b,"addSubview:",_scrollView); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_e,_f,_10){ +with(_e){ +objj_msgSendSuper({receiver:_e,super_class:objj_getClass("CPWebView").super_class},"setFrameSize:",_10); +objj_msgSend(_e,"_resizeWebFrame"); +} +}),new objj_method(sel_getUid("_resizeWebFrame"),function(_11,_12){ +with(_11){ +if(_scrollMode===CPWebViewScrollAppKit){ +if(_scrollSize){ +objj_msgSend(_frameView,"setFrameSize:",_scrollSize); +}else{ +objj_msgSend(_frameView,"setFrameSize:",objj_msgSend(_scrollView,"contentSize")); +var win=null; +try{ +win=objj_msgSend(_11,"DOMWindow"); +} +catch(e){ +} +if(win&&win.document){ +var _13=win.document.body.scrollWidth,_14=win.document.body.scrollHeight; +_iframe.setAttribute("width",_13); +_iframe.setAttribute("height",_14); +objj_msgSend(_frameView,"setFrameSize:",CGSizeMake(_13,_14)); +}else{ +CPLog.warn("using default size 800*1600"); +objj_msgSend(_frameView,"setFrameSize:",CGSizeMake(800,1600)); +} +} +} +} +}),new objj_method(sel_getUid("setScrollMode:"),function(_15,_16,_17){ +with(_15){ +if(_scrollMode==_17){ +return; +} +objj_msgSend(_15,"_setScrollMode:",_17); +} +}),new objj_method(sel_getUid("_setScrollMode:"),function(_18,_19,_1a){ +with(_18){ +_scrollMode=_1a; +_ignoreLoadStart=YES; +_ignoreLoadEnd=YES; +var _1b=_iframe.parentNode; +_1b.removeChild(_iframe); +if(_scrollMode===CPWebViewScrollAppKit){ +objj_msgSend(_scrollView,"setHasHorizontalScroller:",YES); +objj_msgSend(_scrollView,"setHasVerticalScroller:",YES); +_iframe.setAttribute("scrolling","no"); +}else{ +objj_msgSend(_scrollView,"setHasHorizontalScroller:",NO); +objj_msgSend(_scrollView,"setHasVerticalScroller:",NO); +_iframe.setAttribute("scrolling","auto"); +objj_msgSend(_frameView,"setFrameSize:",objj_msgSend(_scrollView,"bounds").size); +} +_1b.appendChild(_iframe); +} +}),new objj_method(sel_getUid("loadHTMLString:"),function(_1c,_1d,_1e){ +with(_1c){ +objj_msgSend(_1c,"loadHTMLString:baseURL:",_1e,nil); +} +}),new objj_method(sel_getUid("loadHTMLString:baseURL:"),function(_1f,_20,_21,URL){ +with(_1f){ +objj_msgSend(_1f,"_setScrollMode:",CPWebViewScrollAppKit); +objj_msgSend(_1f,"_startedLoading"); +_ignoreLoadStart=YES; +_ignoreLoadEnd=NO; +_url=null; +_html=_21; +objj_msgSend(_1f,"_load"); +} +}),new objj_method(sel_getUid("_loadMainFrameURL"),function(_22,_23){ +with(_22){ +objj_msgSend(_22,"_setScrollMode:",CPWebViewScrollNative); +objj_msgSend(_22,"_startedLoading"); +_ignoreLoadStart=YES; +_ignoreLoadEnd=NO; +_url=_mainFrameURL; +_html=null; +objj_msgSend(_22,"_load"); +} +}),new objj_method(sel_getUid("_load"),function(_24,_25){ +with(_24){ +if(_url){ +_iframe.src=_url; +}else{ +if(_html){ +_iframe.src=""; +window.setTimeout(function(){ +var win=objj_msgSend(_24,"DOMWindow"); +win.document.write(_html); +window.setTimeout(_loadCallback,1); +},0); +} +} +} +}),new objj_method(sel_getUid("_startedLoading"),function(_26,_27){ +with(_26){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWebViewProgressStartedNotification,_26); +if(objj_msgSend(_frameLoadDelegate,"respondsToSelector:",sel_getUid("webView:didStartProvisionalLoadForFrame:"))){ +objj_msgSend(_frameLoadDelegate,"webView:didStartProvisionalLoadForFrame:",_26,nil); +} +} +}),new objj_method(sel_getUid("_finishedLoading"),function(_28,_29){ +with(_28){ +objj_msgSend(_28,"_resizeWebFrame"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWebViewProgressFinishedNotification,_28); +if(objj_msgSend(_frameLoadDelegate,"respondsToSelector:",sel_getUid("webView:didFinishLoadForFrame:"))){ +objj_msgSend(_frameLoadDelegate,"webView:didFinishLoadForFrame:",_28,nil); +} +} +}),new objj_method(sel_getUid("mainFrameURL"),function(_2a,_2b){ +with(_2a){ +return _mainFrameURL; +} +}),new objj_method(sel_getUid("setMainFrameURL:"),function(_2c,_2d,_2e){ +with(_2c){ +if(_mainFrameURL){ +objj_msgSend(_backwardStack,"addObject:",_mainFrameURL); +} +_mainFrameURL=_2e; +objj_msgSend(_forwardStack,"removeAllObjects"); +objj_msgSend(_2c,"_loadMainFrameURL"); +} +}),new objj_method(sel_getUid("goBack"),function(_2f,_30){ +with(_2f){ +if(_backwardStack.length>0){ +if(_mainFrameURL){ +objj_msgSend(_forwardStack,"addObject:",_mainFrameURL); +} +_mainFrameURL=objj_msgSend(_backwardStack,"lastObject"); +objj_msgSend(_backwardStack,"removeLastObject"); +objj_msgSend(_2f,"_loadMainFrameURL"); +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("goForward"),function(_31,_32){ +with(_31){ +if(_forwardStack.length>0){ +if(_mainFrameURL){ +objj_msgSend(_backwardStack,"addObject:",_mainFrameURL); +} +_mainFrameURL=objj_msgSend(_forwardStack,"lastObject"); +objj_msgSend(_forwardStack,"removeLastObject"); +objj_msgSend(_31,"_loadMainFrameURL"); +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("canGoBack"),function(_33,_34){ +with(_33){ +return (_backwardStack.length>0); +} +}),new objj_method(sel_getUid("canGoForward"),function(_35,_36){ +with(_35){ +return (_forwardStack.length>0); +} +}),new objj_method(sel_getUid("backForwardList"),function(_37,_38){ +with(_37){ +return {back:_backwardStack,forward:_forwardStack}; +} +}),new objj_method(sel_getUid("close"),function(_39,_3a){ +with(_39){ +_iframe.parentNode.removeChild(_iframe); +} +}),new objj_method(sel_getUid("DOMWindow"),function(_3b,_3c){ +with(_3b){ +return (_iframe.contentDocument&&_iframe.contentDocument.defaultView)||_iframe.contentWindow; +} +}),new objj_method(sel_getUid("windowScriptObject"),function(_3d,_3e){ +with(_3d){ +var win=objj_msgSend(_3d,"DOMWindow"); +if(!_wso||win!=objj_msgSend(_wso,"window")){ +if(win){ +_wso=objj_msgSend(objj_msgSend(CPWebScriptObject,"alloc"),"initWithWindow:",win); +}else{ +_wso=nil; +} +} +return _wso; +} +}),new objj_method(sel_getUid("stringByEvaluatingJavaScriptFromString:"),function(_3f,_40,_41){ +with(_3f){ +var _42=objj_msgSend(_3f,"objectByEvaluatingJavaScriptFromString:",_41); +return _42?String(_42):nil; +} +}),new objj_method(sel_getUid("objectByEvaluatingJavaScriptFromString:"),function(_43,_44,_45){ +with(_43){ +return objj_msgSend(objj_msgSend(_43,"windowScriptObject"),"evaluateWebScript:",_45); +} +}),new objj_method(sel_getUid("computedStyleForElement:pseudoElement:"),function(_46,_47,_48,_49){ +with(_46){ +var win=objj_msgSend(objj_msgSend(_46,"windowScriptObject"),"window"); +if(win){ +return win.document.defaultView.getComputedStyle(_48,_49); +} +return nil; +} +}),new objj_method(sel_getUid("drawsBackground"),function(_4a,_4b){ +with(_4a){ +return _iframe.style.backgroundColor!=""; +} +}),new objj_method(sel_getUid("setDrawsBackground:"),function(_4c,_4d,_4e){ +with(_4c){ +_iframe.style.backgroundColor=_4e?"white":""; +} +}),new objj_method(sel_getUid("takeStringURLFrom:"),function(_4f,_50,_51){ +with(_4f){ +objj_msgSend(_4f,"setMainFrameURL:",objj_msgSend(_51,"stringValue")); +} +}),new objj_method(sel_getUid("goBack:"),function(_52,_53,_54){ +with(_52){ +objj_msgSend(_52,"goBack"); +} +}),new objj_method(sel_getUid("goForward:"),function(_55,_56,_57){ +with(_55){ +objj_msgSend(_55,"goForward"); +} +}),new objj_method(sel_getUid("stopLoading:"),function(_58,_59,_5a){ +with(_58){ +} +}),new objj_method(sel_getUid("reload:"),function(_5b,_5c,_5d){ +with(_5b){ +objj_msgSend(_5b,"_loadMainFrameURL"); +} +}),new objj_method(sel_getUid("print:"),function(_5e,_5f,_60){ +with(_5e){ +try{ +objj_msgSend(_5e,"DOMWindow").print(); +} +catch(e){ +alert("Please click the webpage and select \"Print\" from the \"File\" menu"); +} +} +}),new objj_method(sel_getUid("downloadDelegate"),function(_61,_62){ +with(_61){ +return _downloadDelegate; +} +}),new objj_method(sel_getUid("setDownloadDelegate:"),function(_63,_64,_65){ +with(_63){ +_downloadDelegate=_65; +} +}),new objj_method(sel_getUid("frameLoadDelegate"),function(_66,_67){ +with(_66){ +return _frameLoadDelegate; +} +}),new objj_method(sel_getUid("setFrameLoadDelegate:"),function(_68,_69,_6a){ +with(_68){ +_frameLoadDelegate=_6a; +} +}),new objj_method(sel_getUid("policyDelegate"),function(_6b,_6c){ +with(_6b){ +return _policyDelegate; +} +}),new objj_method(sel_getUid("setPolicyDelegate:"),function(_6d,_6e,_6f){ +with(_6d){ +_policyDelegate=_6f; +} +}),new objj_method(sel_getUid("resourceLoadDelegate"),function(_70,_71){ +with(_70){ +return _resourceLoadDelegate; +} +}),new objj_method(sel_getUid("setResourceLoadDelegate:"),function(_72,_73,_74){ +with(_72){ +_resourceLoadDelegate=_74; +} +}),new objj_method(sel_getUid("UIDelegate"),function(_75,_76){ +with(_75){ +return _UIDelegate; +} +}),new objj_method(sel_getUid("setUIDelegate:"),function(_77,_78,_79){ +with(_77){ +_UIDelegate=_79; +} +})]); +var _1=objj_allocateClassPair(CPObject,"CPWebScriptObject"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_window")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithWindow:"),function(_7a,_7b,_7c){ +with(_7a){ +if(_7a=objj_msgSendSuper({receiver:_7a,super_class:objj_getClass("CPWebScriptObject").super_class},"init")){ +_window=_7c; +} +return _7a; +} +}),new objj_method(sel_getUid("callWebScriptMethod:withArguments:"),function(_7d,_7e,_7f,_80){ +with(_7d){ +if(typeof _window[_7f]=="function"){ +try{ +return _window[_7f].apply(_80); +} +catch(e){ +} +} +return undefined; +} +}),new objj_method(sel_getUid("evaluateWebScript:"),function(_81,_82,_83){ +with(_81){ +try{ +return _window.eval(_83); +} +catch(e){ +} +return undefined; +} +}),new objj_method(sel_getUid("window"),function(_84,_85){ +with(_84){ +return _window; +} +})]); +var _1=objj_getClass("CPWebView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPWebView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_86,_87,_88){ +with(_86){ +_86=objj_msgSendSuper({receiver:_86,super_class:objj_getClass("CPWebView").super_class},"initWithCoder:",_88); +if(_86){ +_mainFrameURL=nil; +_backwardStack=[]; +_forwardStack=[]; +_scrollMode=CPWebViewScrollNative; +objj_msgSend(_86,"setBackgroundColor:",objj_msgSend(CPColor,"whiteColor")); +} +return _86; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_89,_8a,_8b){ +with(_89){ +var _8c=_subviews; +_subviews=[]; +objj_msgSendSuper({receiver:_89,super_class:objj_getClass("CPWebView").super_class},"encodeWithCoder:",_8b); +_subviews=_8c; +} +})]); +p;20;CPWindowController.jt;9250;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.ji;13;CPResponder.ji;10;CPWindow.ji;12;CPDocument.jt;9129; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPWindow.j",YES); +objj_executeFile("CPDocument.j",YES); +var _1=objj_allocateClassPair(CPResponder,"CPWindowController"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_window"),new objj_ivar("_documents"),new objj_ivar("_document"),new objj_ivar("_shouldCloseDocument"),new objj_ivar("_supportsMultipleDocuments"),new objj_ivar("_cibOwner"),new objj_ivar("_windowCibName"),new objj_ivar("_windowCibPath"),new objj_ivar("_viewController"),new objj_ivar("_viewControllerContainerView")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +return objj_msgSend(_3,"initWithWindow:",nil); +} +}),new objj_method(sel_getUid("initWithWindow:"),function(_5,_6,_7){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPWindowController").super_class},"init"); +if(_5){ +objj_msgSend(_5,"setWindow:",_7); +objj_msgSend(_5,"setShouldCloseDocument:",NO); +objj_msgSend(_5,"setNextResponder:",CPApp); +_documents=[]; +} +return _5; +} +}),new objj_method(sel_getUid("initWithWindowCibName:"),function(_8,_9,_a){ +with(_8){ +return objj_msgSend(_8,"initWithWindowCibName:owner:",_a,_8); +} +}),new objj_method(sel_getUid("initWithWindowCibName:owner:"),function(_b,_c,_d,_e){ +with(_b){ +_b=objj_msgSend(_b,"initWithWindow:",nil); +if(_b){ +_cibOwner=_e; +_windowCibName=_d; +} +return _b; +} +}),new objj_method(sel_getUid("initWithWindowCibPath:owner:"),function(_f,_10,_11,_12){ +with(_f){ +_f=objj_msgSend(_f,"initWithWindow:",nil); +if(_f){ +_cibOwner=_12; +_windowCibPath=_11; +} +return _f; +} +}),new objj_method(sel_getUid("loadWindow"),function(_13,_14){ +with(_13){ +if(_window){ +return; +} +objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_cibOwner,"class")),"loadCibFile:externalNameTable:",objj_msgSend(_13,"windowCibPath"),objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_cibOwner,CPCibOwner)); +} +}),new objj_method(sel_getUid("showWindow:"),function(_15,_16,_17){ +with(_15){ +var _18=objj_msgSend(_15,"window"); +if(objj_msgSend(_18,"respondsToSelector:",sel_getUid("becomesKeyOnlyIfNeeded"))&&objj_msgSend(_18,"becomesKeyOnlyIfNeeded")){ +objj_msgSend(_18,"orderFront:",_17); +}else{ +objj_msgSend(_18,"makeKeyAndOrderFront:",_17); +} +} +}),new objj_method(sel_getUid("isWindowLoaded"),function(_19,_1a){ +with(_19){ +return _window!==nil; +} +}),new objj_method(sel_getUid("window"),function(_1b,_1c){ +with(_1b){ +if(!_window){ +objj_msgSend(_1b,"windowWillLoad"); +objj_msgSend(_document,"windowControllerWillLoadCib:",_1b); +objj_msgSend(_1b,"loadWindow"); +if(_window===nil&&objj_msgSend(_cibOwner,"isKindOfClass:",objj_msgSend(CPDocument,"class"))){ +objj_msgSend(_1b,"setWindow:",objj_msgSend(_cibOwner,"valueForKey:","window")); +} +if(!_window){ +var _1d=objj_msgSend(CPString,"stringWithFormat:","Window for %@ could not be loaded from Cib or no window specified. Override loadWindow to load the window manually.",_1b); +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,_1d); +} +objj_msgSend(_1b,"windowDidLoad"); +objj_msgSend(_document,"windowControllerDidLoadCib:",_1b); +objj_msgSend(_1b,"synchronizeWindowTitleWithDocumentName"); +} +return _window; +} +}),new objj_method(sel_getUid("setWindow:"),function(_1e,_1f,_20){ +with(_1e){ +objj_msgSend(_window,"setWindowController:",nil); +_window=_20; +objj_msgSend(_window,"setWindowController:",_1e); +objj_msgSend(_window,"setNextResponder:",_1e); +} +}),new objj_method(sel_getUid("windowDidLoad"),function(_21,_22){ +with(_21){ +} +}),new objj_method(sel_getUid("windowWillLoad"),function(_23,_24){ +with(_23){ +} +}),new objj_method(sel_getUid("setDocument:"),function(_25,_26,_27){ +with(_25){ +if(_document===_27){ +return; +} +var _28=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_document){ +if(!objj_msgSend(_25,"supportsMultipleDocuments")){ +objj_msgSend(_25,"removeDocument:",_document); +} +objj_msgSend(_28,"removeObserver:name:object:",_25,CPDocumentWillSaveNotification,_document); +objj_msgSend(_28,"removeObserver:name:object:",_25,CPDocumentDidSaveNotification,_document); +objj_msgSend(_28,"removeObserver:name:object:",_25,CPDocumentDidFailToSaveNotification,_document); +} +_document=_27; +if(_document){ +objj_msgSend(_25,"addDocument:",_document); +objj_msgSend(_28,"addObserver:selector:name:object:",_25,sel_getUid("_documentWillSave:"),CPDocumentWillSaveNotification,_document); +objj_msgSend(_28,"addObserver:selector:name:object:",_25,sel_getUid("_documentDidSave:"),CPDocumentDidSaveNotification,_document); +objj_msgSend(_28,"addObserver:selector:name:object:",_25,sel_getUid("_documentDidFailToSave:"),CPDocumentDidFailToSaveNotification,_document); +objj_msgSend(_25,"setDocumentEdited:",objj_msgSend(_document,"isDocumentEdited")); +} +var _29=objj_msgSend(_document,"viewControllerForWindowController:",_25); +if(_29){ +objj_msgSend(_25,"setViewController:",_29); +} +objj_msgSend(_25,"synchronizeWindowTitleWithDocumentName"); +} +}),new objj_method(sel_getUid("setSupportsMultipleDocuments:"),function(_2a,_2b,_2c){ +with(_2a){ +_supportsMultipleDocuments=_2c; +} +}),new objj_method(sel_getUid("supportsMultipleDocuments"),function(_2d,_2e){ +with(_2d){ +return _supportsMultipleDocuments; +} +}),new objj_method(sel_getUid("addDocument:"),function(_2f,_30,_31){ +with(_2f){ +if(_31&&!objj_msgSend(_documents,"containsObject:",_31)){ +objj_msgSend(_documents,"addObject:",_31); +} +} +}),new objj_method(sel_getUid("removeDocument:"),function(_32,_33,_34){ +with(_32){ +var _35=objj_msgSend(_documents,"indexOfObjectIdenticalTo:",_34); +if(_35===CPNotFound){ +return; +} +objj_msgSend(_documents,"removeObjectAtIndex:",_35); +if(_document===_34&&objj_msgSend(_documents,"count")){ +objj_msgSend(_32,"setDocument:",objj_msgSend(_documents,"objectAtIndex:",MIN(_35,objj_msgSend(_documents,"count")-1))); +} +} +}),new objj_method(sel_getUid("removeDocumentAndCloseIfNecessary:"),function(_36,_37,_38){ +with(_36){ +objj_msgSend(_36,"removeDocument:",_38); +if(!objj_msgSend(_documents,"count")){ +objj_msgSend(_36,"close"); +} +} +}),new objj_method(sel_getUid("documents"),function(_39,_3a){ +with(_39){ +return _documents; +} +}),new objj_method(sel_getUid("setViewControllerContainerView:"),function(_3b,_3c,_3d){ +with(_3b){ +_viewControllerContainerView=_3d; +} +}),new objj_method(sel_getUid("viewControllerContainerView"),function(_3e,_3f){ +with(_3e){ +return _viewControllerContainerView; +} +}),new objj_method(sel_getUid("setViewController:"),function(_40,_41,_42){ +with(_40){ +var _43=objj_msgSend(_40,"viewControllerContainerView")||objj_msgSend(objj_msgSend(_40,"window"),"contentView"),_44=objj_msgSend(_viewController,"view"),_45=_44?objj_msgSend(_44,"frame"):objj_msgSend(_43,"bounds"); +objj_msgSend(_44,"removeFromSuperview"); +_viewController=_42; +_44=objj_msgSend(_viewController,"view"); +if(_44){ +objj_msgSend(_44,"setFrame:",_45); +objj_msgSend(_43,"addSubview:",_44); +} +} +}),new objj_method(sel_getUid("viewController"),function(_46,_47){ +with(_46){ +return _viewController; +} +}),new objj_method(sel_getUid("_documentWillSave:"),function(_48,_49,_4a){ +with(_48){ +objj_msgSend(objj_msgSend(_48,"window"),"setDocumentSaving:",YES); +} +}),new objj_method(sel_getUid("_documentDidSave:"),function(_4b,_4c,_4d){ +with(_4b){ +objj_msgSend(objj_msgSend(_4b,"window"),"setDocumentSaving:",NO); +} +}),new objj_method(sel_getUid("_documentDidFailToSave:"),function(_4e,_4f,_50){ +with(_4e){ +objj_msgSend(objj_msgSend(_4e,"window"),"setDocumentSaving:",NO); +} +}),new objj_method(sel_getUid("document"),function(_51,_52){ +with(_51){ +return _document; +} +}),new objj_method(sel_getUid("setDocumentEdited:"),function(_53,_54,_55){ +with(_53){ +objj_msgSend(objj_msgSend(_53,"window"),"setDocumentEdited:",_55); +} +}),new objj_method(sel_getUid("close"),function(_56,_57){ +with(_56){ +objj_msgSend(objj_msgSend(_56,"window"),"close"); +} +}),new objj_method(sel_getUid("setShouldCloseDocument:"),function(_58,_59,_5a){ +with(_58){ +_shouldCloseDocument=_5a; +} +}),new objj_method(sel_getUid("shouldCloseDocument"),function(_5b,_5c){ +with(_5b){ +return _shouldCloseDocument; +} +}),new objj_method(sel_getUid("owner"),function(_5d,_5e){ +with(_5d){ +return _cibOwner; +} +}),new objj_method(sel_getUid("windowCibName"),function(_5f,_60){ +with(_5f){ +if(_windowCibName){ +return _windowCibName; +} +return objj_msgSend(objj_msgSend(_windowCibPath,"lastPathComponent"),"stringByDeletingPathExtension"); +} +}),new objj_method(sel_getUid("windowCibPath"),function(_61,_62){ +with(_61){ +if(_windowCibPath){ +return _windowCibPath; +} +return objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_cibOwner,"class")),"pathForResource:",_windowCibName+".cib"); +} +}),new objj_method(sel_getUid("synchronizeWindowTitleWithDocumentName"),function(_63,_64){ +with(_63){ +if(!_document||!_window){ +return; +} +objj_msgSend(_window,"setTitle:",objj_msgSend(_63,"windowTitleForDocumentDisplayName:",objj_msgSend(_document,"displayName"))); +} +}),new objj_method(sel_getUid("windowTitleForDocumentDisplayName:"),function(_65,_66,_67){ +with(_65){ +return _67; +} +})]); +p;20;_CPCibClassSwapper.jt;1345;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jt;1274; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +var _1="_CPCibClassSwapperClassNameKey",_2="_CPCibClassSwapperOriginalClassNameKey"; +var _3=objj_allocateClassPair(CPObject,"_CPCibClassSwapper"),_4=_3.isa; +objj_registerClassPair(_3); +class_addMethods(_4,[new objj_method(sel_getUid("allocObjectWithCoder:className:"),function(_5,_6,_7,_8){ +with(_5){ +var _9=objj_msgSend(_7,"classForClassName:",_8); +if(!_9){ +_9=objj_lookUpClass(_8); +if(!_9){ +return nil; +} +} +return objj_msgSend(_9,"alloc"); +} +}),new objj_method(sel_getUid("allocWithCoder:"),function(_a,_b,_c){ +with(_a){ +if(objj_msgSend(_c,"respondsToSelector:",sel_getUid("usesOriginalClasses"))&&objj_msgSend(_c,"usesOriginalClasses")){ +var _d=objj_msgSend(_c,"decodeObjectForKey:",_2),_e=objj_msgSend(_a,"allocObjectWithCoder:className:",_c,_d); +}else{ +var _d=objj_msgSend(_c,"decodeObjectForKey:",_1),_e=objj_msgSend(_a,"allocObjectWithCoder:className:",_c,_d); +if(!_e){ +CPLog.error("Unable to find class "+_d+" in cib file."); +_e=objj_msgSend(_a,"allocObjectWithCoder:className:",_c,objj_msgSend(_c,"decodeObjectForKey:",_2)); +} +} +if(!_e){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Unable to find class "+_d+" in cib file."); +} +return _e; +} +})]); +p;20;_CPCibCustomObject.jt;1717;@STATIC;1.0;I;21;Foundation/CPObject.jt;1672; +objj_executeFile("Foundation/CPObject.j",NO); +var _1="_CPCibCustomObjectClassName"; +var _2=objj_allocateClassPair(CPObject,"_CPCibCustomObject"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_className")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("customClassName"),function(_4,_5){ +with(_4){ +return _className; +} +}),new objj_method(sel_getUid("setCustomClassName:"),function(_6,_7,_8){ +with(_6){ +_className=_8; +} +}),new objj_method(sel_getUid("description"),function(_9,_a){ +with(_9){ +return objj_msgSendSuper({receiver:_9,super_class:objj_getClass("_CPCibCustomObject").super_class},"description")+" ("+objj_msgSend(_9,"customClassName")+")"; +} +})]); +var _2=objj_getClass("_CPCibCustomObject"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibCustomObject\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_b,_c,_d){ +with(_b){ +_b=objj_msgSendSuper({receiver:_b,super_class:objj_getClass("_CPCibCustomObject").super_class},"init"); +if(_b){ +_className=objj_msgSend(_d,"decodeObjectForKey:",_1); +} +return _b; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_e,_f,_10){ +with(_e){ +objj_msgSend(_10,"encodeObject:forKey:",_className,_1); +} +}),new objj_method(sel_getUid("_cibInstantiate"),function(_11,_12){ +with(_11){ +var _13=CPClassFromString(_className); +if(_13===objj_msgSend(_11,"class")){ +_className="CPObject"; +return _11; +} +if(!_13){ +_13=objj_msgSend(CPObject,"class"); +} +if(_13===objj_msgSend(CPApplication,"class")){ +return objj_msgSend(CPApplication,"sharedApplication"); +} +return objj_msgSend(objj_msgSend(_13,"alloc"),"init"); +} +})]); +p;22;_CPCibCustomResource.jt;2919;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jt;2848; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +var _1="_CPCibCustomResourceClassNameKey",_2="_CPCibCustomResourceResourceNameKey",_3="_CPCibCustomResourcePropertiesKey"; +var _4=objj_allocateClassPair(CPObject,"_CPCibCustomResource"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_className"),new objj_ivar("_resourceName"),new objj_ivar("_properties")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("initWithClassName:resourceName:properties:"),function(_6,_7,_8,_9,_a){ +with(_6){ +_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("_CPCibCustomResource").super_class},"init"); +if(_6){ +_className=_8; +_resourceName=_9; +_properties=_a; +} +return _6; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_b,_c,_d){ +with(_b){ +_b=objj_msgSendSuper({receiver:_b,super_class:objj_getClass("_CPCibCustomResource").super_class},"init"); +if(_b){ +_className=objj_msgSend(_d,"decodeObjectForKey:",_1); +_resourceName=objj_msgSend(_d,"decodeObjectForKey:",_2); +_properties=objj_msgSend(_d,"decodeObjectForKey:",_3); +} +return _b; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_e,_f,_10){ +with(_e){ +objj_msgSend(_10,"encodeObject:forKey:",_className,_1); +objj_msgSend(_10,"encodeObject:forKey:",_resourceName,_2); +objj_msgSend(_10,"encodeObject:forKey:",_properties,_3); +} +}),new objj_method(sel_getUid("awakeAfterUsingCoder:"),function(_11,_12,_13){ +with(_11){ +if(objj_msgSend(_13,"respondsToSelector:",sel_getUid("bundle"))&&(!objj_msgSend(_13,"respondsToSelector:",sel_getUid("awakenCustomResources"))||objj_msgSend(_13,"awakenCustomResources"))){ +if(_className==="CPImage"){ +return objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(_13,"bundle"),"pathForResource:",_resourceName),_properties.valueForKey("size")); +} +} +return _11; +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("imageResourceWithName:size:"),function(_14,_15,_16,_17){ +with(_14){ +return objj_msgSend(objj_msgSend(_14,"alloc"),"initWithClassName:resourceName:properties:","CPImage",_16,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_17,"size")); +} +})]); +var _4=objj_getClass("_CPCibCustomResource"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibCustomResource\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("filename"),function(_18,_19){ +with(_18){ +return objj_msgSend(objj_msgSend(CPBundle,"mainBundle"),"pathForResource:",_resourceName); +} +}),new objj_method(sel_getUid("size"),function(_1a,_1b){ +with(_1a){ +return objj_msgSend(_properties,"objectForKey:","size"); +} +}),new objj_method(sel_getUid("isThreePartImage"),function(_1c,_1d){ +with(_1c){ +return NO; +} +}),new objj_method(sel_getUid("isNinePartImage"),function(_1e,_1f){ +with(_1e){ +return NO; +} +})]); +p;18;_CPCibCustomView.jt;2402;@STATIC;1.0;i;8;CPView.jt;2371; +objj_executeFile("CPView.j",YES); +var _1=objj_allocateClassPair(CPView,"_CPCibCustomView"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_className")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("customClassName"),function(_3,_4){ +with(_3){ +return _className; +} +}),new objj_method(sel_getUid("setCustomClassName:"),function(_5,_6,_7){ +with(_5){ +if(_className===_7){ +return; +} +_className=_7; +objj_msgSend(_5,"setNeedsDisplay:",YES); +objj_msgSend(_5,"setNeedsLayout"); +} +})]); +var _8="_CPCibCustomViewClassNameKey"; +var _1=objj_getClass("_CPCibCustomView"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibCustomView\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_9,_a,_b){ +with(_9){ +_9=objj_msgSendSuper({receiver:_9,super_class:objj_getClass("_CPCibCustomView").super_class},"initWithCoder:",_b); +if(_9){ +_className=objj_msgSend(_b,"decodeObjectForKey:",_8); +} +return _9; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_c,_d,_e){ +with(_c){ +objj_msgSendSuper({receiver:_c,super_class:objj_getClass("_CPCibCustomView").super_class},"encodeWithCoder:",_e); +objj_msgSend(_e,"encodeObject:forKey:",_className,_8); +} +}),new objj_method(sel_getUid("customClassName"),function(_f,_10){ +with(_f){ +return _className; +} +}),new objj_method(sel_getUid("_cibInstantiate"),function(_11,_12){ +with(_11){ +var _13=CPClassFromString(_className); +if(!_13){ +_13=objj_msgSend(CPView,"class"); +} +if(_13===objj_msgSend(_11,"class")){ +_className="CPView"; +return _11; +} +var _14=objj_msgSend(objj_msgSend(_13,"alloc"),"initWithFrame:",objj_msgSend(_11,"frame")); +if(_14){ +objj_msgSend(_14,"setBounds:",objj_msgSend(_11,"bounds")); +var _15=objj_msgSend(_11,"subviews"),_16=0,_17=_15.length; +for(;_16<_17;++_16){ +objj_msgSend(_14,"addSubview:",_15[_16]); +} +objj_msgSend(_14,"setAutoresizingMask:",objj_msgSend(_11,"autoresizingMask")); +objj_msgSend(_14,"setAutoresizesSubviews:",objj_msgSend(_11,"autoresizesSubviews")); +objj_msgSend(_14,"setHitTests:",objj_msgSend(_11,"hitTests")); +objj_msgSend(_14,"setHidden:",objj_msgSend(_11,"isHidden")); +objj_msgSend(_14,"setAlphaValue:",objj_msgSend(_11,"alphaValue")); +objj_msgSend(_superview,"replaceSubview:with:",_11,_14); +objj_msgSend(_14,"setBackgroundColor:",objj_msgSend(_11,"backgroundColor")); +} +return _14; +} +})]); +p;23;_CPCibKeyedUnarchiver.jt;1485;@STATIC;1.0;I;30;Foundation/CPKeyedUnarchiver.jt;1431; +objj_executeFile("Foundation/CPKeyedUnarchiver.j",NO); +var _1=objj_allocateClassPair(CPKeyedUnarchiver,"_CPCibKeyedUnarchiver"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_bundle"),new objj_ivar("_awakenCustomResources"),new objj_ivar("_externalObjectsForProxyIdentifiers")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initForReadingWithData:bundle:awakenCustomResources:"),function(_3,_4,_5,_6,_7){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPCibKeyedUnarchiver").super_class},"initForReadingWithData:",_5); +if(_3){ +_bundle=_6; +_awakenCustomResources=_7; +objj_msgSend(_3,"setDelegate:",_3); +} +return _3; +} +}),new objj_method(sel_getUid("bundle"),function(_8,_9){ +with(_8){ +return _bundle; +} +}),new objj_method(sel_getUid("awakenCustomResources"),function(_a,_b){ +with(_a){ +return _awakenCustomResources; +} +}),new objj_method(sel_getUid("setExternalObjectsForProxyIdentifiers:"),function(_c,_d,_e){ +with(_c){ +_externalObjectsForProxyIdentifiers=_e; +} +}),new objj_method(sel_getUid("externalObjectForProxyIdentifier:"),function(_f,_10,_11){ +with(_f){ +return objj_msgSend(_externalObjectsForProxyIdentifiers,"objectForKey:",_11); +} +}),new objj_method(sel_getUid("replaceObjectAtUID:withObject:"),function(_12,_13,_14,_15){ +with(_12){ +_objects[_14]=_15; +} +}),new objj_method(sel_getUid("objectAtUID:"),function(_16,_17,_18){ +with(_16){ +return _objects[_18]; +} +})]); +p;18;_CPCibObjectData.jt;6216;@STATIC;1.0;I;20;Foundation/CPArray.jI;21;Foundation/CPObject.jI;21;Foundation/CPString.ji;7;CPCib.ji;16;CPCibConnector.ji;23;CPCibControlConnector.ji;22;CPCibOutletConnector.jt;6033; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CPCib.j",YES); +objj_executeFile("CPCibConnector.j",YES); +objj_executeFile("CPCibControlConnector.j",YES); +objj_executeFile("CPCibOutletConnector.j",YES); +var _1=objj_allocateClassPair(CPObject,"_CPCibObjectData"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_namesKeys"),new objj_ivar("_namesValues"),new objj_ivar("_accessibilityConnectors"),new objj_ivar("_accessibilityOidsKeys"),new objj_ivar("_accessibilityOidsValues"),new objj_ivar("_classesKeys"),new objj_ivar("_classesValues"),new objj_ivar("_connections"),new objj_ivar("_fontManager"),new objj_ivar("_framework"),new objj_ivar("_nextOid"),new objj_ivar("_objectsKeys"),new objj_ivar("_objectsValues"),new objj_ivar("_oidKeys"),new objj_ivar("_oidValues"),new objj_ivar("_fileOwner"),new objj_ivar("_visibleWindows"),new objj_ivar("_replacementObjects")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPCibObjectData").super_class},"init"); +if(_3){ +_namesKeys=[]; +_namesValues=[]; +_classesKeys=[]; +_classesValues=[]; +_connections=[]; +_framework=""; +_nextOid=[]; +_objectsKeys=[]; +_objectsValues=[]; +_oidKeys=[]; +_oidValues=[]; +_fileOwner=nil; +_visibleWindows=objj_msgSend(CPSet,"set"); +} +return _3; +} +}),new objj_method(sel_getUid("displayVisibleWindows"),function(_5,_6){ +with(_5){ +var _7=nil,_8=objj_msgSend(_visibleWindows,"objectEnumerator"); +while(_7=objj_msgSend(_8,"nextObject")){ +objj_msgSend(_replacementObjects[objj_msgSend(_7,"UID")],"makeKeyAndOrderFront:",_5); +} +} +})]); +var _9="_CPCibObjectDataNamesKeysKey",_a="_CPCibObjectDataNamesValuesKey",_b="_CPCibObjectDataAccessibilityConnectors",_c="_CPCibObjectDataAccessibilityOidsKeys",_d="_CPCibObjectDataAccessibilityOidsValues",_e="_CPCibObjectDataClassesKeysKey",_f="_CPCibObjectDataClassesValuesKey",_10="_CPCibObjectDataConnectionsKey",_11="_CPCibObjectDataFontManagerKey",_12="_CPCibObjectDataFrameworkKey",_13="_CPCibObjectDataNextOidKey",_14="_CPCibObjectDataObjectsKeysKey",_15="_CPCibObjectDataObjectsValuesKey",_16="_CPCibObjectDataOidKeysKey",_17="_CPCibObjectDataOidValuesKey",_18="_CPCibObjectDataFileOwnerKey",_19="_CPCibObjectDataVisibleWindowsKey"; +var _1=objj_getClass("_CPCibObjectData"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibObjectData\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_1a,_1b,_1c){ +with(_1a){ +_1a=objj_msgSendSuper({receiver:_1a,super_class:objj_getClass("_CPCibObjectData").super_class},"init"); +if(_1a){ +_replacementObjects={}; +_namesKeys=objj_msgSend(_1c,"decodeObjectForKey:",_9); +_namesValues=objj_msgSend(_1c,"decodeObjectForKey:",_a); +_classesKeys=objj_msgSend(_1c,"decodeObjectForKey:",_e); +_classesValues=objj_msgSend(_1c,"decodeObjectForKey:",_f); +_connections=objj_msgSend(_1c,"decodeObjectForKey:",_10); +_framework=objj_msgSend(_1c,"decodeObjectForKey:",_12); +_nextOid=objj_msgSend(_1c,"decodeIntForKey:",_13); +_objectsKeys=objj_msgSend(_1c,"decodeObjectForKey:",_14); +_objectsValues=objj_msgSend(_1c,"decodeObjectForKey:",_15); +_oidKeys=objj_msgSend(_1c,"decodeObjectForKey:",_16); +_oidValues=objj_msgSend(_1c,"decodeObjectForKey:",_17); +_fileOwner=objj_msgSend(_1c,"decodeObjectForKey:",_18); +_visibleWindows=objj_msgSend(_1c,"decodeObjectForKey:",_19); +} +return _1a; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_1d,_1e,_1f){ +with(_1d){ +objj_msgSend(_1f,"encodeObject:forKey:",_namesKeys,_9); +objj_msgSend(_1f,"encodeObject:forKey:",_namesValues,_a); +objj_msgSend(_1f,"encodeObject:forKey:",_classesKeys,_e); +objj_msgSend(_1f,"encodeObject:forKey:",_classesValues,_f); +objj_msgSend(_1f,"encodeObject:forKey:",_connections,_10); +objj_msgSend(_1f,"encodeObject:forKey:",_framework,_12); +objj_msgSend(_1f,"encodeInt:forKey:",_nextOid,_13); +objj_msgSend(_1f,"encodeObject:forKey:",_objectsKeys,_14); +objj_msgSend(_1f,"encodeObject:forKey:",_objectsValues,_15); +objj_msgSend(_1f,"encodeObject:forKey:",_oidKeys,_16); +objj_msgSend(_1f,"encodeObject:forKey:",_oidValues,_17); +objj_msgSend(_1f,"encodeObject:forKey:",_fileOwner,_18); +objj_msgSend(_1f,"encodeObject:forKey:",_visibleWindows,_19); +} +}),new objj_method(sel_getUid("instantiateWithOwner:topLevelObjects:"),function(_20,_21,_22,_23){ +with(_20){ +var _24=objj_msgSend(_objectsKeys,"count"); +while(_24--){ +var _25=_objectsKeys[_24],_26=_objectsValues[_24],_27=_25; +if(objj_msgSend(_25,"respondsToSelector:",sel_getUid("_cibInstantiate"))){ +var _27=objj_msgSend(_25,"_cibInstantiate"); +if(_27!==_25){ +_replacementObjects[objj_msgSend(_25,"UID")]=_27; +if(objj_msgSend(_27,"isKindOfClass:",objj_msgSend(CPView,"class"))){ +var _28=objj_msgSend(_27,"superview"); +if(objj_msgSend(_28,"isKindOfClass:",objj_msgSend(CPClipView,"class"))){ +var _29=objj_msgSend(_28,"superview"); +if(objj_msgSend(_29,"isKindOfClass:",objj_msgSend(CPScrollView,"class"))){ +objj_msgSend(_29,"setDocumentView:",_27); +} +} +} +} +} +if(_23&&_26===_fileOwner&&_25!==_fileOwner){ +_23.push(_27); +} +} +} +}),new objj_method(sel_getUid("establishConnectionsWithOwner:topLevelObjects:"),function(_2a,_2b,_2c,_2d){ +with(_2a){ +_replacementObjects[objj_msgSend(_fileOwner,"UID")]=_2c; +var _2e=0,_2f=_connections.length; +for(;_2e<_2f;++_2e){ +var _30=_connections[_2e]; +objj_msgSend(_30,"replaceObjects:",_replacementObjects); +objj_msgSend(_30,"establishConnection"); +} +} +}),new objj_method(sel_getUid("awakeWithOwner:topLevelObjects:"),function(_31,_32,_33,_34){ +with(_31){ +var _35=objj_msgSend(_objectsKeys,"count"); +while(_35--){ +var _36=_objectsKeys[_35],_37=_replacementObjects[objj_msgSend(_36,"UID")]; +if(_37){ +_36=_37; +} +if(_36!==_33&&objj_msgSend(_36,"respondsToSelector:",sel_getUid("awakeFromCib"))){ +objj_msgSend(_36,"awakeFromCib"); +} +} +if(objj_msgSend(_33,"respondsToSelector:",sel_getUid("awakeFromCib"))){ +objj_msgSend(_33,"awakeFromCib"); +} +} +})]); +p;19;_CPCibProxyObject.jt;1009;@STATIC;1.0;I;21;Foundation/CPObject.jt;965; +objj_executeFile("Foundation/CPObject.j",NO); +var _1=objj_allocateClassPair(CPObject,"_CPCibProxyObject"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_identifier")]); +objj_registerClassPair(_1); +var _3="CPIdentifier"; +var _1=objj_getClass("_CPCibProxyObject"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"_CPCibProxyObject\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("_CPCibProxyObject").super_class},"init"); +if(_4){ +_identifier=objj_msgSend(_6,"decodeObjectForKey:",_3); +} +if(objj_msgSend(_6,"respondsToSelector:",sel_getUid("externalObjectForProxyIdentifier:"))){ +return objj_msgSend(_6,"externalObjectForProxyIdentifier:",_identifier); +} +return _4; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_7,_8,_9){ +with(_7){ +objj_msgSend(_9,"encodeObject:forKey:",_identifier,_3); +} +})]); +p;22;_CPCibWindowTemplate.jt;4518;@STATIC;1.0;I;21;Foundation/CPObject.jt;4473; +objj_executeFile("Foundation/CPObject.j",NO); +var _1="_CPCibWindowTemplateMinSizeKey",_2="_CPCibWindowTemplateMaxSizeKey",_3="_CPCibWindowTemplateViewClassKey",_4="_CPCibWindowTemplateWindowClassKey",_5="_CPCibWindowTemplateWindowRectKey",_6="_CPCibWindowTempatStyleMaskKey",_7="_CPCibWindowTemplateWindowTitleKey",_8="_CPCibWindowTemplateWindowViewKey",_9="_CPCibWindowTemplateWindowAutorecalculatesKeyViewLoop"; +_CPCibWindowTemplateWindowIsFullPlatformWindowKey="_CPCibWindowTemplateWindowIsFullPlatformWindowKey"; +var _a=objj_allocateClassPair(CPObject,"_CPCibWindowTemplate"),_b=_a.isa; +class_addIvars(_a,[new objj_ivar("_minSize"),new objj_ivar("_maxSize"),new objj_ivar("_viewClass"),new objj_ivar("_windowClass"),new objj_ivar("_windowRect"),new objj_ivar("_windowStyleMask"),new objj_ivar("_windowTitle"),new objj_ivar("_windowView"),new objj_ivar("_windowAutorecalculatesKeyViewLoop"),new objj_ivar("_windowIsFullPlatformWindow")]); +objj_registerClassPair(_a); +class_addMethods(_a,[new objj_method(sel_getUid("init"),function(_c,_d){ +with(_c){ +_c=objj_msgSendSuper({receiver:_c,super_class:objj_getClass("_CPCibWindowTemplate").super_class},"init"); +if(_c){ +_windowClass="CPWindow"; +_windowRect=CGRectMake(0,0,400,200); +_windowStyleMask=CPTitledWindowMask|CPClosableWindowMask|CPMiniaturizableWindowMask|CPResizableWindowMask; +_windowTitle="Window"; +_windowView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,400,200)); +_windowIsFullPlatformWindow=NO; +} +return _c; +} +}),new objj_method(sel_getUid("initWithCoder:"),function(_e,_f,_10){ +with(_e){ +_e=objj_msgSendSuper({receiver:_e,super_class:objj_getClass("_CPCibWindowTemplate").super_class},"init"); +if(_e){ +if(objj_msgSend(_10,"containsValueForKey:",_1)){ +_minSize=objj_msgSend(_10,"decodeSizeForKey:",_1); +} +if(objj_msgSend(_10,"containsValueForKey:",_2)){ +_maxSize=objj_msgSend(_10,"decodeSizeForKey:",_2); +} +_viewClass=objj_msgSend(_10,"decodeObjectForKey:",_3); +_windowClass=objj_msgSend(_10,"decodeObjectForKey:",_4); +_windowRect=objj_msgSend(_10,"decodeRectForKey:",_5); +_windowStyleMask=objj_msgSend(_10,"decodeIntForKey:",_6); +_windowTitle=objj_msgSend(_10,"decodeObjectForKey:",_7); +_windowView=objj_msgSend(_10,"decodeObjectForKey:",_8); +_windowAutorecalculatesKeyViewLoop=!!objj_msgSend(_10,"decodeObjectForKey:",_9); +_windowIsFullPlatformWindow=!!objj_msgSend(_10,"decodeObjectForKey:",_CPCibWindowTemplateWindowIsFullPlatformWindowKey); +} +return _e; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_11,_12,_13){ +with(_11){ +if(_minSize){ +objj_msgSend(_13,"encodeSize:forKey:",_minSize,_1); +} +if(_maxSize){ +objj_msgSend(_13,"encodeSize:forKey:",_maxSize,_2); +} +objj_msgSend(_13,"encodeObject:forKey:",_viewClass,_3); +objj_msgSend(_13,"encodeObject:forKey:",_windowClass,_4); +objj_msgSend(_13,"encodeRect:forKey:",_windowRect,_5); +objj_msgSend(_13,"encodeInt:forKey:",_windowStyleMask,_6); +objj_msgSend(_13,"encodeObject:forKey:",_windowTitle,_7); +objj_msgSend(_13,"encodeObject:forKey:",_windowView,_8); +if(_windowAutorecalculatesKeyViewLoop){ +objj_msgSend(_13,"encodeObject:forKey:",_windowAutorecalculatesKeyViewLoop,_9); +} +if(_windowIsFullPlatformWindow){ +objj_msgSend(_13,"encodeObject:forKey:",_windowIsFullPlatformWindow,_CPCibWindowTemplateWindowIsFullPlatformWindowKey); +} +} +}),new objj_method(sel_getUid("customClassName"),function(_14,_15){ +with(_14){ +return _windowClass; +} +}),new objj_method(sel_getUid("setCustomClassName:"),function(_16,_17,_18){ +with(_16){ +_windowClass=_18; +} +}),new objj_method(sel_getUid("windowClass"),function(_19,_1a){ +with(_19){ +return _windowClass; +} +}),new objj_method(sel_getUid("_cibInstantiate"),function(_1b,_1c){ +with(_1b){ +var _1d=CPClassFromString(objj_msgSend(_1b,"windowClass")); +var _1e=objj_msgSend(objj_msgSend(_1d,"alloc"),"initWithContentRect:styleMask:",_windowRect,_windowStyleMask); +if(_minSize){ +objj_msgSend(_1e,"setMinSize:",_minSize); +} +if(_maxSize){ +objj_msgSend(_1e,"setMaxSize:",_maxSize); +} +objj_msgSend(_1e,"setTitle:",_windowTitle); +objj_msgSend(_windowView,"setAutoresizesSubviews:",NO); +objj_msgSend(_1e,"setContentView:",_windowView); +objj_msgSend(_windowView,"setAutoresizesSubviews:",YES); +if(objj_msgSend(_viewClass,"isKindOfClass:",objj_msgSend(CPToolbar,"class"))){ +objj_msgSend(_1e,"setToolbar:",_viewClass); +} +objj_msgSend(_1e,"setAutorecalculatesKeyViewLoop:",_windowAutorecalculatesKeyViewLoop); +objj_msgSend(_1e,"setFullBridge:",_windowIsFullPlatformWindow); +return _1e; +} +})]); +p;7;CPCib.jt;5447;@STATIC;1.0;I;21;Foundation/CPObject.jI;28;Foundation/CPURLConnection.jI;25;Foundation/CPURLRequest.ji;20;_CPCibClassSwapper.ji;20;_CPCibCustomObject.ji;22;_CPCibCustomResource.ji;18;_CPCibCustomView.ji;23;_CPCibKeyedUnarchiver.ji;18;_CPCibObjectData.ji;19;_CPCibProxyObject.ji;22;_CPCibWindowTemplate.jt;5137; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPURLConnection.j",NO); +objj_executeFile("Foundation/CPURLRequest.j",NO); +objj_executeFile("_CPCibClassSwapper.j",YES); +objj_executeFile("_CPCibCustomObject.j",YES); +objj_executeFile("_CPCibCustomResource.j",YES); +objj_executeFile("_CPCibCustomView.j",YES); +objj_executeFile("_CPCibKeyedUnarchiver.j",YES); +objj_executeFile("_CPCibObjectData.j",YES); +objj_executeFile("_CPCibProxyObject.j",YES); +objj_executeFile("_CPCibWindowTemplate.j",YES); +CPCibOwner="CPCibOwner",CPCibTopLevelObjects="CPCibTopLevelObjects",CPCibReplacementClasses="CPCibReplacementClasses",CPCibExternalObjects="CPCibExternalObjects"; +var _1="CPCibObjectDataKey"; +var _2=objj_allocateClassPair(CPObject,"CPCib"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_data"),new objj_ivar("_bundle"),new objj_ivar("_awakenCustomResources"),new objj_ivar("_loadDelegate")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithContentsOfURL:"),function(_4,_5,_6){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPCib").super_class},"init"); +if(_4){ +_data=objj_msgSend(CPURLConnection,"sendSynchronousRequest:returningResponse:",objj_msgSend(CPURLRequest,"requestWithURL:",_6),nil); +_awakenCustomResources=YES; +} +return _4; +} +}),new objj_method(sel_getUid("initWithContentsOfURL:loadDelegate:"),function(_7,_8,_9,_a){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("CPCib").super_class},"init"); +if(_7){ +objj_msgSend(CPURLConnection,"connectionWithRequest:delegate:",objj_msgSend(CPURLRequest,"requestWithURL:",_9),_7); +_awakenCustomResources=YES; +_loadDelegate=_a; +} +return _7; +} +}),new objj_method(sel_getUid("initWithCibNamed:bundle:"),function(_b,_c,_d,_e){ +with(_b){ +if(!objj_msgSend(_d,"hasSuffix:",".cib")){ +_d=objj_msgSend(_d,"stringByAppendingString:",".cib"); +} +_b=objj_msgSend(_b,"initWithContentsOfURL:",objj_msgSend(_e||objj_msgSend(CPBundle,"mainBundle"),"pathForResource:",_d)); +if(_b){ +_bundle=_e; +} +return _b; +} +}),new objj_method(sel_getUid("initWithCibNamed:bundle:loadDelegate:"),function(_f,_10,_11,_12,_13){ +with(_f){ +if(!objj_msgSend(_11,"hasSuffix:",".cib")){ +_11=objj_msgSend(_11,"stringByAppendingString:",".cib"); +} +_f=objj_msgSend(_f,"initWithContentsOfURL:loadDelegate:",objj_msgSend(_12||objj_msgSend(CPBundle,"mainBundle"),"pathForResource:",_11),_13); +if(_f){ +_bundle=_12; +} +return _f; +} +}),new objj_method(sel_getUid("_setAwakenCustomResources:"),function(_14,_15,_16){ +with(_14){ +_awakenCustomResources=_16; +} +}),new objj_method(sel_getUid("_awakenCustomResources"),function(_17,_18){ +with(_17){ +return _awakenCustomResources; +} +}),new objj_method(sel_getUid("instantiateCibWithExternalNameTable:"),function(_19,_1a,_1b){ +with(_19){ +var _1c=_bundle,_1d=objj_msgSend(_1b,"objectForKey:",CPCibOwner); +if(!_1c&&_1d){ +_1c=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_1d,"class")); +} +var _1e=objj_msgSend(objj_msgSend(_CPCibKeyedUnarchiver,"alloc"),"initForReadingWithData:bundle:awakenCustomResources:",_data,_1c,_awakenCustomResources),_1f=objj_msgSend(_1b,"objectForKey:",CPCibReplacementClasses); +if(_1f){ +var key=nil,_20=objj_msgSend(_1f,"keyEnumerator"); +while(key=objj_msgSend(_20,"nextObject")){ +objj_msgSend(_1e,"setClass:forClassName:",objj_msgSend(_1f,"objectForKey:",key),key); +} +} +objj_msgSend(_1e,"setExternalObjectsForProxyIdentifiers:",objj_msgSend(_1b,"objectForKey:",CPCibExternalObjects)); +var _21=objj_msgSend(_1e,"decodeObjectForKey:",_1); +if(!_21||!objj_msgSend(_21,"isKindOfClass:",objj_msgSend(_CPCibObjectData,"class"))){ +return NO; +} +var _22=objj_msgSend(_1b,"objectForKey:",CPCibTopLevelObjects); +objj_msgSend(_21,"instantiateWithOwner:topLevelObjects:",_1d,_22); +objj_msgSend(_21,"establishConnectionsWithOwner:topLevelObjects:",_1d,_22); +objj_msgSend(_21,"awakeWithOwner:topLevelObjects:",_1d,_22); +objj_msgSend(_21,"displayVisibleWindows"); +return YES; +} +}),new objj_method(sel_getUid("instantiateCibWithOwner:topLevelObjects:"),function(_23,_24,_25,_26){ +with(_23){ +return objj_msgSend(_23,"instantiateCibWithExternalNameTable:",objj_msgSend(CPDictionary,"dictionaryWithObjectsAndKeys:",_25,CPCibOwner,_26,CPCibTopLevelObjects)); +} +})]); +var _2=objj_getClass("CPCib"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPCib\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("connection:didReceiveData:"),function(_27,_28,_29,_2a){ +with(_27){ +if(!_2a){ +return objj_msgSend(_27,"connection:didFailWithError:",_29,nil); +} +_data=objj_msgSend(CPData,"dataWithRawString:",_2a); +} +}),new objj_method(sel_getUid("connection:didFailWithError:"),function(_2b,_2c,_2d,_2e){ +with(_2b){ +if(objj_msgSend(_loadDelegate,"respondsToSelector:",sel_getUid("cibDidFailToLoad:"))){ +objj_msgSend(_loadDelegate,"cibDidFailToLoad:",_2b); +} +_loadDelegate=nil; +} +}),new objj_method(sel_getUid("connectionDidFinishLoading:"),function(_2f,_30,_31){ +with(_2f){ +if(objj_msgSend(_loadDelegate,"respondsToSelector:",sel_getUid("cibDidFinishLoading:"))){ +objj_msgSend(_loadDelegate,"cibDidFinishLoading:",_2f); +} +_loadDelegate=nil; +} +})]); +p;16;CPCibConnector.jt;2363;@STATIC;1.0;I;21;Foundation/CPObject.jI;29;Foundation/CPKeyValueCoding.jt;2284; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPKeyValueCoding.j",NO); +var _1="_CPCibConnectorSourceKey",_2="_CPCibConnectorDestinationKey",_3="_CPCibConnectorLabelKey"; +var _4=objj_allocateClassPair(CPObject,"CPCibConnector"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_source"),new objj_ivar("_destination"),new objj_ivar("_label")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("source"),function(_6,_7){ +with(_6){ +return _source; +} +}),new objj_method(sel_getUid("setSource:"),function(_8,_9,_a){ +with(_8){ +_source=_a; +} +}),new objj_method(sel_getUid("destination"),function(_b,_c){ +with(_b){ +return _destination; +} +}),new objj_method(sel_getUid("setDestination:"),function(_d,_e,_f){ +with(_d){ +_destination=_f; +} +}),new objj_method(sel_getUid("label"),function(_10,_11){ +with(_10){ +return _label; +} +}),new objj_method(sel_getUid("setLabel:"),function(_12,_13,_14){ +with(_12){ +_label=_14; +} +}),new objj_method(sel_getUid("replaceObject:withObject:"),function(_15,_16,_17,_18){ +with(_15){ +if(_source===_17){ +_source=_18; +} +if(_destination===_17){ +_destination=_18; +} +} +}),new objj_method(sel_getUid("replaceObjects:"),function(_19,_1a,_1b){ +with(_19){ +var _1c=_1b[objj_msgSend(_source,"UID")]; +if(_1c!==undefined){ +_source=_1c; +} +_1c=_1b[objj_msgSend(_destination,"UID")]; +if(_1c!==undefined){ +_destination=_1c; +} +} +})]); +var _4=objj_getClass("CPCibConnector"); +if(!_4){ +throw new SyntaxError("*** Could not find definition for class \"CPCibConnector\""); +} +var _5=_4.isa; +class_addMethods(_4,[new objj_method(sel_getUid("initWithCoder:"),function(_1d,_1e,_1f){ +with(_1d){ +_1d=objj_msgSendSuper({receiver:_1d,super_class:objj_getClass("CPCibConnector").super_class},"init"); +if(_1d){ +_source=objj_msgSend(_1f,"decodeObjectForKey:",_1); +_destination=objj_msgSend(_1f,"decodeObjectForKey:",_2); +_label=objj_msgSend(_1f,"decodeObjectForKey:",_3); +} +return _1d; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_20,_21,_22){ +with(_20){ +objj_msgSend(_22,"encodeObject:forKey:",_source,_1); +objj_msgSend(_22,"encodeObject:forKey:",_destination,_2); +objj_msgSend(_22,"encodeObject:forKey:",_label,_3); +} +})]); +var _4=objj_allocateClassPair(CPCibConnector,"_CPCibConnector"),_5=_4.isa; +objj_registerClassPair(_4); +p;23;CPCibControlConnector.jt;1534;@STATIC;1.0;i;16;CPCibConnector.jt;1494; +objj_executeFile("CPCibConnector.j",YES); +var _1=objj_allocateClassPair(CPCibConnector,"CPCibControlConnector"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("establishConnection"),function(_3,_4){ +with(_3){ +var _5=_label,_6=objj_msgSend(_5,"length"); +if(_6&&_5.charAt(_6-1)!==":"){ +_5+=":"; +} +var _7=CPSelectorFromString(_5); +if(!_7){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"-["+objj_msgSend(_3,"className")+" "+_4+"] selector "+_5+" does not exist."); +} +if(_destination&&!objj_msgSend(_destination,"respondsToSelector:",_7)){ +CPLog.warn("Could not connect the action "+_7+" to target of class "+objj_msgSend(_destination,"className")); +return; +} +if(objj_msgSend(_source,"respondsToSelector:",sel_getUid("setAction:"))){ +objj_msgSend(_source,sel_getUid("setAction:"),_7); +}else{ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"-["+objj_msgSend(_3,"className")+" "+_4+"] "+objj_msgSend(_source,"description")+" does not respond to setAction:"); +} +if(objj_msgSend(_source,"respondsToSelector:",sel_getUid("setTarget:"))){ +objj_msgSend(_source,sel_getUid("setTarget:"),_destination); +}else{ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"-["+objj_msgSend(_3,"className")+" "+_4+"] "+objj_msgSend(_source,"description")+" does not respond to setTarget:"); +} +} +})]); +var _1=objj_allocateClassPair(CPCibControlConnector,"_CPCibControlConnector"),_2=_1.isa; +objj_registerClassPair(_1); +p;14;CPCibLoading.jt;3540;@STATIC;1.0;I;21;Foundation/CPBundle.jI;25;Foundation/CPDictionary.jI;21;Foundation/CPString.jt;3439; +objj_executeFile("Foundation/CPBundle.j",NO); +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +var _1="CPCibOwner"; +var _2=objj_getClass("CPObject"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPObject\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("awakeFromCib"),function(_4,_5){ +with(_4){ +} +})]); +var _2=objj_getClass("CPBundle"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPBundle\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("loadCibFile:externalNameTable:"),function(_6,_7,_8,_9){ +with(_6){ +objj_msgSend(objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithContentsOfURL:",_8),"instantiateCibWithExternalNameTable:",_9); +} +}),new objj_method(sel_getUid("loadCibFile:externalNameTable:loadDelegate:"),function(_a,_b,_c,_d,_e){ +with(_a){ +objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithCibNamed:bundle:loadDelegate:",_c,_a,objj_msgSend(objj_msgSend(_CPCibLoadDelegate,"alloc"),"initWithLoadDelegate:externalNameTable:",_e,_d)); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("loadCibFile:externalNameTable:"),function(_f,_10,_11,_12){ +with(_f){ +objj_msgSend(objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithContentsOfURL:",_11),"instantiateCibWithExternalNameTable:",_12); +} +}),new objj_method(sel_getUid("loadCibNamed:owner:"),function(_13,_14,_15,_16){ +with(_13){ +if(!objj_msgSend(_15,"hasSuffix:",".cib")){ +_15=objj_msgSend(_15,"stringByAppendingString:",".cib"); +} +var _17=_16?objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_16,"class")):objj_msgSend(CPBundle,"mainBundle"),_18=objj_msgSend(_17,"pathForResource:",_15); +objj_msgSend(_13,"loadCibFile:externalNameTable:",_18,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_16,_1)); +} +}),new objj_method(sel_getUid("loadCibFile:externalNameTable:loadDelegate:"),function(_19,_1a,_1b,_1c,_1d){ +with(_19){ +objj_msgSend(objj_msgSend(CPCib,"alloc"),"initWithContentsOfURL:loadDelegate:",_1b,objj_msgSend(objj_msgSend(_CPCibLoadDelegate,"alloc"),"initWithLoadDelegate:externalNameTable:",_1d,_1c)); +} +}),new objj_method(sel_getUid("loadCibNamed:owner:loadDelegate:"),function(_1e,_1f,_20,_21,_22){ +with(_1e){ +if(!objj_msgSend(_20,"hasSuffix:",".cib")){ +_20=objj_msgSend(_20,"stringByAppendingString:",".cib"); +} +var _23=_21?objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_21,"class")):objj_msgSend(CPBundle,"mainBundle"),_24=objj_msgSend(_23,"pathForResource:",_20); +objj_msgSend(_1e,"loadCibFile:externalNameTable:loadDelegate:",_24,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_21,_1),_22); +} +})]); +var _2=objj_allocateClassPair(CPObject,"_CPCibLoadDelegate"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_loadDelegate"),new objj_ivar("_externalNameTable")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithLoadDelegate:externalNameTable:"),function(_25,_26,_27,_28){ +with(_25){ +_25=objj_msgSend(_25,"init"); +if(_25){ +_loadDelegate=_27; +_externalNameTable=_28; +} +return _25; +} +}),new objj_method(sel_getUid("cibDidFinishLoading:"),function(_29,_2a,_2b){ +with(_29){ +objj_msgSend(_2b,"instantiateCibWithExternalNameTable:",_externalNameTable); +objj_msgSend(_loadDelegate,"cibDidFinishLoading:",_2b); +} +}),new objj_method(sel_getUid("cibDidFailToLoad:"),function(_2c,_2d,_2e){ +with(_2c){ +objj_msgSend(_loadDelegate,"cibDidFailToLoad:",_2e); +} +})]); +p;22;CPCibOutletConnector.jt;703;@STATIC;1.0;i;16;CPCibConnector.jt;664; +objj_executeFile("CPCibConnector.j",YES); +var _1=objj_allocateClassPair(CPCibConnector,"CPCibOutletConnector"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("establishConnection"),function(_3,_4){ +with(_3){ +try{ +objj_msgSend(_source,"setValue:forKey:",_destination,_label); +} +catch(anException){ +if(objj_msgSend(anException,"name")===CPUndefinedKeyException){ +CPLog.warn("Could not connect the outlet "+_label+" of target of class "+objj_msgSend(_source,"className")); +}else{ +throw anException; +} +} +} +})]); +var _1=objj_allocateClassPair(CPCibOutletConnector,"_CPCibOutletConnector"),_2=_1.isa; +objj_registerClassPair(_1); +p;13;CAAnimation.jt;3814;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.ji;23;CAMediaTimingFunction.jt;3715; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("CAMediaTimingFunction.j",YES); +var _1=objj_allocateClassPair(CPObject,"CAAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_isRemovedOnCompletion"),new objj_ivar("_delegate")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CAAnimation").super_class},"init"); +if(_3){ +_isRemovedOnCompletion=YES; +} +return _3; +} +}),new objj_method(sel_getUid("shouldArchiveValueForKey:"),function(_5,_6,_7){ +with(_5){ +return YES; +} +}),new objj_method(sel_getUid("setRemovedOnCompletion:"),function(_8,_9,_a){ +with(_8){ +_isRemovedOnCompletion=_a; +} +}),new objj_method(sel_getUid("removedOnCompletion"),function(_b,_c){ +with(_b){ +return _isRemovedOnCompletion; +} +}),new objj_method(sel_getUid("isRemovedOnCompletion"),function(_d,_e){ +with(_d){ +return _isRemovedOnCompletion; +} +}),new objj_method(sel_getUid("timingFunction"),function(_f,_10){ +with(_f){ +return nil; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_11,_12,_13){ +with(_11){ +_delegate=_13; +} +}),new objj_method(sel_getUid("delegate"),function(_14,_15){ +with(_14){ +return _delegate; +} +}),new objj_method(sel_getUid("runActionForKey:object:arguments:"),function(_16,_17,_18,_19,_1a){ +with(_16){ +objj_msgSend(_19,"addAnimation:forKey:",_16,_18); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("animation"),function(_1b,_1c){ +with(_1b){ +return objj_msgSend(objj_msgSend(_1b,"alloc"),"init"); +} +}),new objj_method(sel_getUid("defaultValueForKey:"),function(_1d,_1e,_1f){ +with(_1d){ +return nil; +} +})]); +var _1=objj_allocateClassPair(CAAnimation,"CAPropertyAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_keyPath"),new objj_ivar("_isCumulative"),new objj_ivar("_isAdditive")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setKeyPath:"),function(_20,_21,_22){ +with(_20){ +_keyPath=_22; +} +}),new objj_method(sel_getUid("keyPath"),function(_23,_24){ +with(_23){ +return _keyPath; +} +}),new objj_method(sel_getUid("setCumulative:"),function(_25,_26,_27){ +with(_25){ +_isCumulative=_27; +} +}),new objj_method(sel_getUid("cumulative"),function(_28,_29){ +with(_28){ +return _isCumulative; +} +}),new objj_method(sel_getUid("isCumulative"),function(_2a,_2b){ +with(_2a){ +return _isCumulative; +} +}),new objj_method(sel_getUid("setAdditive:"),function(_2c,_2d,_2e){ +with(_2c){ +_isAdditive=_2e; +} +}),new objj_method(sel_getUid("additive"),function(_2f,_30){ +with(_2f){ +return _isAdditive; +} +}),new objj_method(sel_getUid("isAdditive"),function(_31,_32){ +with(_31){ +return _isAdditive; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("animationWithKeyPath:"),function(_33,_34,_35){ +with(_33){ +var _36=objj_msgSend(_33,"animation"); +objj_msgSend(_36,"setKeyPath:",_35); +return _36; +} +})]); +var _1=objj_allocateClassPair(CAPropertyAnimation,"CABasicAnimation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_fromValue"),new objj_ivar("_toValue"),new objj_ivar("_byValue")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setFromValue:"),function(_37,_38,_39){ +with(_37){ +_fromValue=_39; +} +}),new objj_method(sel_getUid("fromValue"),function(_3a,_3b){ +with(_3a){ +return _fromValue; +} +}),new objj_method(sel_getUid("setToValue:"),function(_3c,_3d,_3e){ +with(_3c){ +_toValue=_3e; +} +}),new objj_method(sel_getUid("toValue"),function(_3f,_40){ +with(_3f){ +return _toValue; +} +}),new objj_method(sel_getUid("setByValue:"),function(_41,_42,_43){ +with(_41){ +_byValue=_43; +} +}),new objj_method(sel_getUid("byValue"),function(_44,_45){ +with(_44){ +return _byValue; +} +})]); +p;16;CABackingStore.jt;737;@STATIC;1.0;i;12;CGGeometry.ji;17;CPCompatibility.jt;680; +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPCompatibility.j",YES); +CABackingStoreGetContext=function(_1){ +return _1.context; +}; +if(CPFeatureIsCompatible(CPHTMLCanvasFeature)){ +CABackingStoreCreate=function(){ +var _2=document.createElement("canvas"); +_2.style.position="absolute"; +return {context:_2.getContext("2d"),buffer:_2,_image:_2}; +}; +CABackingStoreSetSize=function(_3,_4){ +var _5=_3.buffer; +_5.width=_4.width; +_5.height=_4.height; +_5.style.width=_4.width+"px"; +_5.style.height=_4.height+"px"; +}; +}else{ +CABackingStoreCreate=function(){ +var _6=CGBitmapGraphicsContextCreate(); +_6.buffer=""; +return {context:_6}; +}; +CABackingStoreSetSize=function(_7,_8){ +}; +} +p;14;CAFlashLayer.jt;851;@STATIC;1.0;i;9;CALayer.ji;14;CPFlashMovie.jt;801; +objj_executeFile("CALayer.j",YES); +objj_executeFile("CPFlashMovie.j",YES); +var _1=objj_allocateClassPair(CALayer,"CAFlashLayer"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_flashMovie")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("setFlashMovie:"),function(_3,_4,_5){ +with(_3){ +if(_flashMovie==_5){ +return; +} +_flashMovie=_5; +_DOMElement.innerHTML=""; +} +}),new objj_method(sel_getUid("flashMovie"),function(_6,_7){ +with(_6){ +return _flashMovie; +} +})]); +p;9;CALayer.jt;24760;@STATIC;1.0;I;21;Foundation/CPObject.jI;23;AppKit/CABackingStore.jI;18;AppKit/CGContext.jI;19;AppKit/CGGeometry.ji;12;CGGeometry.jt;24622; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("AppKit/CABackingStore.j",NO); +objj_executeFile("AppKit/CGContext.j",NO); +objj_executeFile("AppKit/CGGeometry.j",NO); +objj_executeFile("CGGeometry.j",YES); +CGAffineTransformMake=function(a,b,c,d,tx,ty){ +return {a:a,b:b,c:c,d:d,tx:tx,ty:ty}; +}; +CGAffineTransformMakeIdentity=function(){ +return {a:1,b:0,c:0,d:1,tx:0,ty:0}; +}; +CGAffineTransformMakeCopy=function(_1){ +return {a:_1.a,b:_1.b,c:_1.c,d:_1.d,tx:_1.tx,ty:_1.ty}; +}; +CGAffineTransformMakeScale=function(sx,sy){ +return {a:sx,b:0,c:0,d:sy,tx:0,ty:0}; +}; +CGAffineTransformMakeTranslation=function(tx,ty){ +return {a:1,b:0,c:0,d:1,tx:tx,ty:ty}; +}; +CGAffineTransformTranslate=function(_2,tx,ty){ +return {a:_2.a,b:_2.b,c:_2.c,d:_2.d,tx:_2.tx+_2.a*tx+_2.c*ty,ty:_2.ty+_2.b*tx+_2.d*ty}; +}; +CGAffineTransformScale=function(_3,sx,sy){ +return {a:_3.a*sx,b:_3.b*sx,c:_3.c*sy,d:_3.d*sy,tx:_3.tx,ty:_3.ty}; +}; +CGAffineTransformConcat=function(_4,_5){ +return {a:_4.a*_5.a+_4.b*_5.c,b:_4.a*_5.b+_4.b*_5.d,c:_4.c*_5.a+_4.d*_5.c,d:_4.c*_5.b+_4.d*_5.d,tx:_4.tx*_5.a+_4.ty*_5.c+_5.tx,ty:_4.tx*_5.b+_4.ty*_5.d+_5.ty}; +}; +CGPointApplyAffineTransform=function(_6,_7){ +return {x:_6.x*_7.a+_6.y*_7.c+_7.tx,y:_6.x*_7.b+_6.y*_7.d+_7.ty}; +}; +CGSizeApplyAffineTransform=function(_8,_9){ +return {width:_8.width*_9.a+_8.height*_9.c,height:_8.width*_9.b+_8.height*_9.d}; +}; +CGAffineTransformIsIdentity=function(_a){ +return (_a.a==1&&_a.b==0&&_a.c==0&&_a.d==1&&_a.tx==0&&_a.ty==0); +}; +CGAffineTransformEqualToTransform=function(_b,_c){ +return (_b.a==_c.a&&_b.b==_c.b&&_b.c==_c.c&&_b.d==_c.d&&_b.tx==_c.tx&&_b.ty==_c.ty); +}; +CGStringCreateWithCGAffineTransform=function(_d){ +return (" [[ "+_d.a+", "+_d.b+", 0 ], [ "+_d.c+", "+_d.d+", 0 ], [ "+_d.tx+", "+_d.ty+", 1]]"); +}; +CGAffineTransformCreateCopy=function(_e){ +return {a:_e.a,b:_e.b,c:_e.c,d:_e.d,tx:_e.tx,ty:_e.ty}; +}; +CGAffineTransformMakeRotation=function(_f){ +var sin=SIN(_f),cos=COS(_f); +return {a:cos,b:sin,c:-sin,d:cos,tx:0,ty:0}; +}; +CGAffineTransformRotate=function(_10,_11){ +var sin=SIN(_11),cos=COS(_11); +return {a:_10.a*cos+_10.c*sin,b:_10.b*cos+_10.d*sin,c:_10.c*cos-_10.a*sin,d:_10.d*cos-_10.b*sin,tx:_10.tx,ty:_10.ty}; +}; +CGAffineTransformInvert=function(_12){ +var _13=1/(_12.a*_12.d-_12.b*_12.c); +return {a:_13*_12.d,b:-_13*_12.b,c:-_13*_12.c,d:_13*_12.a,tx:_13*(_12.c*_12.ty-_12.d*_12.tx),ty:_13*(_12.b*_12.tx-_12.a*_12.ty)}; +}; +CGRectApplyAffineTransform=function(_14,_15){ +var top=(_14.origin.y),_16=(_14.origin.x),_17=(_14.origin.x+_14.size.width),_18=(_14.origin.y+_14.size.height),_19=CGPointApplyAffineTransform({x:_16,y:top},_15),_1a=CGPointApplyAffineTransform({x:_17,y:top},_15),_1b=CGPointApplyAffineTransform({x:_16,y:_18},_15),_1c=CGPointApplyAffineTransform({x:_17,y:_18},_15),_1d=MIN(_19.x,_1a.x,_1b.x,_1c.x),_1e=MAX(_19.x,_1a.x,_1b.x,_1c.x),_1f=MIN(_19.y,_1a.y,_1b.y,_1c.y),_20=MAX(_19.y,_1a.y,_1b.y,_1c.y); +return {origin:{x:_1d,y:_1f},size:{width:(_1e-_1d),height:(_20-_1f)}}; +}; +CPStringFromCGAffineTransform=function(_21){ +return "{"+_21.a+", "+_21.b+", "+_21.c+", "+_21.d+", "+_21.tx+", "+_21.ty+"}"; +}; +var _22=1,_23=2,_24=4,_25=8,_26=16; +var _27=NO; +var _28=1,_29=2,_2a=4,_2b=8,_2c=16,_2d=_2a|_28|_29; +var _2e=nil; +var _2f=objj_allocateClassPair(CPObject,"CALayer"),_30=_2f.isa; +class_addIvars(_2f,[new objj_ivar("_frame"),new objj_ivar("_bounds"),new objj_ivar("_position"),new objj_ivar("_zPosition"),new objj_ivar("_anchorPoint"),new objj_ivar("_affineTransform"),new objj_ivar("_sublayerTransform"),new objj_ivar("_sublayerTransformForSublayers"),new objj_ivar("_backingStoreFrame"),new objj_ivar("_standardBackingStoreFrame"),new objj_ivar("_hasSublayerTransform"),new objj_ivar("_hasCustomBackingStoreFrame"),new objj_ivar("_opacity"),new objj_ivar("_isHidden"),new objj_ivar("_backgroundColor"),new objj_ivar("_superlayer"),new objj_ivar("_sublayers"),new objj_ivar("_runLoopUpdateMask"),new objj_ivar("_needsDisplayOnBoundsChange"),new objj_ivar("_delegate"),new objj_ivar("_delegateRespondsToDisplayLayerSelector"),new objj_ivar("_delegateRespondsToDrawLayerInContextSelector"),new objj_ivar("_DOMElement"),new objj_ivar("_DOMContentsElement"),new objj_ivar("_contents"),new objj_ivar("_context"),new objj_ivar("_owningView"),new objj_ivar("_transformToLayer"),new objj_ivar("_transformFromLayer")]); +objj_registerClassPair(_2f); +class_addMethods(_2f,[new objj_method(sel_getUid("init"),function(_31,_32){ +with(_31){ +_31=objj_msgSendSuper({receiver:_31,super_class:objj_getClass("CALayer").super_class},"init"); +if(_31){ +_frame=CGRectMakeZero(); +_backingStoreFrame=CGRectMakeZero(); +_standardBackingStoreFrame=CGRectMakeZero(); +_bounds=CGRectMakeZero(); +_position=CGPointMakeZero(); +_zPosition=0; +_anchorPoint=CGPointMake(0.5,0.5); +_affineTransform=CGAffineTransformMakeIdentity(); +_sublayerTransform=CGAffineTransformMakeIdentity(); +_transformToLayer=CGAffineTransformMakeIdentity(); +_transformFromLayer=CGAffineTransformMakeIdentity(); +_opacity=1; +_isHidden=NO; +_masksToBounds=NO; +_sublayers=[]; +_DOMElement=document.createElement("div"); +_DOMElement.style.overflow="visible"; +_DOMElement.style.position="absolute"; +_DOMElement.style.visibility="visible"; +_DOMElement.style.top="0px"; +_DOMElement.style.left="0px"; +_DOMElement.style.zIndex=0; +_DOMElement.style.width="0px"; +_DOMElement.style.height="0px"; +} +return _31; +} +}),new objj_method(sel_getUid("setBounds:"),function(_33,_34,_35){ +with(_33){ +if(CGRectEqualToRect(_bounds,_35)){ +return; +} +var _36=_bounds.origin; +_bounds={origin:{x:_35.origin.x,y:_35.origin.y},size:{width:_35.size.width,height:_35.size.height}}; +if(_hasSublayerTransform){ +_CALayerUpdateSublayerTransformForSublayers(_33); +} +_CALayerRecalculateGeometry(_33,_22); +} +}),new objj_method(sel_getUid("bounds"),function(_37,_38){ +with(_37){ +return _bounds; +} +}),new objj_method(sel_getUid("setPosition:"),function(_39,_3a,_3b){ +with(_39){ +if(CGPointEqualToPoint(_position,_3b)){ +return; +} +_position={x:_3b.x,y:_3b.y}; +_CALayerRecalculateGeometry(_39,_23); +} +}),new objj_method(sel_getUid("position"),function(_3c,_3d){ +with(_3c){ +return _position; +} +}),new objj_method(sel_getUid("setZPosition:"),function(_3e,_3f,_40){ +with(_3e){ +if(_zPosition==_40){ +return; +} +_zPosition=_40; +objj_msgSend(_3e,"registerRunLoopUpdateWithMask:",_2a); +} +}),new objj_method(sel_getUid("setAnchorPoint:"),function(_41,_42,_43){ +with(_41){ +_43={x:_43.x,y:_43.y}; +_43.x=MIN(1,MAX(0,_43.x)); +_43.y=MIN(1,MAX(0,_43.y)); +if(CGPointEqualToPoint(_anchorPoint,_43)){ +return; +} +_anchorPoint=_43; +if(_hasSublayerTransform){ +_CALayerUpdateSublayerTransformForSublayers(_41); +} +if(_owningView){ +_position=CGPointMake((_bounds.size.width)*_anchorPoint.x,(_bounds.size.height)*_anchorPoint.y); +} +_CALayerRecalculateGeometry(_41,_24); +} +}),new objj_method(sel_getUid("anchorPoint"),function(_44,_45){ +with(_44){ +return _anchorPoint; +} +}),new objj_method(sel_getUid("setAffineTransform:"),function(_46,_47,_48){ +with(_46){ +if(CGAffineTransformEqualToTransform(_affineTransform,_48)){ +return; +} +_affineTransform={a:_48.a,b:_48.b,c:_48.c,d:_48.d,tx:_48.tx,ty:_48.ty}; +_CALayerRecalculateGeometry(_46,_25); +} +}),new objj_method(sel_getUid("affineTransform"),function(_49,_4a){ +with(_49){ +return _affineTransform; +} +}),new objj_method(sel_getUid("setSublayerTransform:"),function(_4b,_4c,_4d){ +with(_4b){ +if(CGAffineTransformEqualToTransform(_sublayerTransform,_4d)){ +return; +} +var _4e=_hasSublayerTransform; +_sublayerTransform={a:_4d.a,b:_4d.b,c:_4d.c,d:_4d.d,tx:_4d.tx,ty:_4d.ty}; +_hasSublayerTransform=!(_sublayerTransform.a==1&&_sublayerTransform.b==0&&_sublayerTransform.c==0&&_sublayerTransform.d==1&&_sublayerTransform.tx==0&&_sublayerTransform.ty==0); +if(_hasSublayerTransform){ +_CALayerUpdateSublayerTransformForSublayers(_4b); +var _4f=_sublayers.length; +while(_4f--){ +_CALayerRecalculateGeometry(_sublayers[_4f],_26); +} +} +} +}),new objj_method(sel_getUid("sublayerTransform"),function(_50,_51){ +with(_50){ +return _sublayerTransform; +} +}),new objj_method(sel_getUid("transformToLayer"),function(_52,_53){ +with(_52){ +return _transformToLayer; +} +}),new objj_method(sel_getUid("setFrame:"),function(_54,_55,_56){ +with(_54){ +alert("FIXME IMPLEMENT"); +} +}),new objj_method(sel_getUid("frame"),function(_57,_58){ +with(_57){ +if(!_frame){ +_frame=objj_msgSend(_57,"convertRect:toLayer:",_bounds,_superlayer); +} +return _frame; +} +}),new objj_method(sel_getUid("backingStoreFrame"),function(_59,_5a){ +with(_59){ +return _backingStoreFrame; +} +}),new objj_method(sel_getUid("setBackingStoreFrame:"),function(_5b,_5c,_5d){ +with(_5b){ +_hasCustomBackingStoreFrame=(_5d!=nil); +if(_5d==nil){ +_5d=CGRectMakeCopy(_standardBackingStoreFrame); +}else{ +if(_superlayer){ +_5d=objj_msgSend(_superlayer,"convertRect:toLayer:",_5d,nil); +var _5e=objj_msgSend(_superlayer,"bounds"),_5f=objj_msgSend(_superlayer,"convertRect:toLayer:",_5e,nil); +_5d.origin.x-=(_5f.origin.x); +_5d.origin.y-=(_5f.origin.y); +}else{ +_5d=CGRectMakeCopy(_5d); +} +} +if(!CGPointEqualToPoint(_backingStoreFrame.origin,_5d.origin)){ +objj_msgSend(_5b,"registerRunLoopUpdateWithMask:",_28); +} +if(!CGSizeEqualToSize(_backingStoreFrame.size,_5d.size)){ +objj_msgSend(_5b,"registerRunLoopUpdateWithMask:",_29); +} +_backingStoreFrame=_5d; +} +}),new objj_method(sel_getUid("contents"),function(_60,_61){ +with(_60){ +return _contents; +} +}),new objj_method(sel_getUid("setContents:"),function(_62,_63,_64){ +with(_62){ +if(_contents==_64){ +return; +} +_contents=_64; +objj_msgSend(_62,"composite"); +} +}),new objj_method(sel_getUid("composite"),function(_65,_66){ +with(_65){ +if(_27&&!_contents||!_context){ +return; +} +CGContextClearRect(_context,{origin:{x:0,y:0},size:{width:(_backingStoreFrame.size.width),height:(_backingStoreFrame.size.height)}}); +var _67=_transformFromLayer; +if(_superlayer){ +var _68=_CALayerGetTransform(_superlayer,nil),_69=CGPointApplyAffineTransform(_superlayer._bounds.origin,_68); +_67=CGAffineTransformConcat(_67,_68); +_67.tx-=_69.x; +_67.ty-=_69.y; +} +_67.tx-=(_backingStoreFrame.origin.x); +_67.ty-=(_backingStoreFrame.origin.y); +CGContextSaveGState(_context); +CGContextConcatCTM(_context,_67); +if(_27){ +_context.drawImage(_contents.buffer,(_bounds.origin.x),(_bounds.origin.y)); +}else{ +objj_msgSend(_65,"drawInContext:",_context); +} +CGContextRestoreGState(_context); +} +}),new objj_method(sel_getUid("display"),function(_6a,_6b){ +with(_6a){ +if(!_context){ +_context=CGBitmapGraphicsContextCreate(); +_DOMContentsElement=_context.DOMElement; +_DOMContentsElement.style.zIndex=-100; +_DOMContentsElement.style.overflow="hidden"; +_DOMContentsElement.style.position="absolute"; +_DOMContentsElement.style.visibility="visible"; +_DOMContentsElement.width=ROUND((_backingStoreFrame.size.width)); +_DOMContentsElement.height=ROUND((_backingStoreFrame.size.height)); +_DOMContentsElement.style.top="0px"; +_DOMContentsElement.style.left="0px"; +_DOMContentsElement.style.width=ROUND((_backingStoreFrame.size.width))+"px"; +_DOMContentsElement.style.height=ROUND((_backingStoreFrame.size.height))+"px"; +_DOMElement.appendChild(_DOMContentsElement); +} +if(_27){ +if(_delegateRespondsToDisplayLayerSelector){ +return objj_msgSend(_delegate,"displayInLayer:",_6a); +} +if((_backingStoreFrame.size.width)==0||(_backingStoreFrame.size.height)==0){ +return; +} +if(!_contents){ +_contents=CABackingStoreCreate(); +} +CABackingStoreSetSize(_contents,_bounds.size); +objj_msgSend(_6a,"drawInContext:",CABackingStoreGetContext(_contents)); +} +objj_msgSend(_6a,"composite"); +} +}),new objj_method(sel_getUid("drawInContext:"),function(_6c,_6d,_6e){ +with(_6c){ +if(_backgroundColor){ +CGContextSetFillColor(_6e,_backgroundColor); +CGContextFillRect(_6e,_bounds); +} +if(_delegateRespondsToDrawLayerInContextSelector){ +objj_msgSend(_delegate,"drawLayer:inContext:",_6c,_6e); +} +} +}),new objj_method(sel_getUid("opacity"),function(_6f,_70){ +with(_6f){ +return _opacity; +} +}),new objj_method(sel_getUid("setOpacity:"),function(_71,_72,_73){ +with(_71){ +if(_opacity==_73){ +return; +} +_opacity=_73; +_DOMElement.style.opacity=_73; +_DOMElement.style.filter="alpha(opacity="+_73*100+")"; +} +}),new objj_method(sel_getUid("setHidden:"),function(_74,_75,_76){ +with(_74){ +_isHidden=_76; +_DOMElement.style.display=_76?"none":"block"; +} +}),new objj_method(sel_getUid("hidden"),function(_77,_78){ +with(_77){ +return _isHidden; +} +}),new objj_method(sel_getUid("isHidden"),function(_79,_7a){ +with(_79){ +return _isHidden; +} +}),new objj_method(sel_getUid("setMasksToBounds:"),function(_7b,_7c,_7d){ +with(_7b){ +if(_masksToBounds==_7d){ +return; +} +_masksToBounds=_7d; +_DOMElement.style.overflow=_masksToBounds?"hidden":"visible"; +} +}),new objj_method(sel_getUid("setBackgroundColor:"),function(_7e,_7f,_80){ +with(_7e){ +_backgroundColor=_80; +objj_msgSend(_7e,"setNeedsDisplay"); +} +}),new objj_method(sel_getUid("backgroundColor"),function(_81,_82){ +with(_81){ +return _backgroundColor; +} +}),new objj_method(sel_getUid("sublayers"),function(_83,_84){ +with(_83){ +return _sublayers; +} +}),new objj_method(sel_getUid("superlayer"),function(_85,_86){ +with(_85){ +return _superlayer; +} +}),new objj_method(sel_getUid("addSublayer:"),function(_87,_88,_89){ +with(_87){ +objj_msgSend(_87,"insertSublayer:atIndex:",_89,_sublayers.length); +return; +if(_DOMContentsElement&&_89._zPosition>_DOMContentsElement.style.zIndex){ +_DOMContentsElement.style.zIndex-=100; +} +objj_msgSend(_sublayers,"addObject:",_89); +_DOMElement.appendChild(_89._DOMElement); +} +}),new objj_method(sel_getUid("removeFromSuperlayer"),function(_8a,_8b){ +with(_8a){ +if(_owningView){ +objj_msgSend(_owningView,"setLayer:",nil); +} +if(!_superlayer){ +return; +} +_superlayer._DOMElement.removeChild(_DOMElement); +objj_msgSend(_superlayer._sublayers,"removeObject:",_8a); +_superlayer=nil; +} +}),new objj_method(sel_getUid("insertSublayer:atIndex:"),function(_8c,_8d,_8e,_8f){ +with(_8c){ +if(!_8e){ +return; +} +var _90=objj_msgSend(_8e,"superlayer"); +if(_90==_8c){ +var _91=objj_msgSend(_sublayers,"indexOfObjectIdenticalTo:",_8e); +if(_91==_8f){ +return; +} +objj_msgSend(_sublayers,"removeObjectAtIndex:",_91); +if(_91<_8f){ +--_8f; +} +}else{ +if(_90!=nil){ +objj_msgSend(_8e,"removeFromSuperlayer"); +} +} +if(_DOMContentsElement&&_8e._zPosition>_DOMContentsElement.style.zIndex){ +_DOMContentsElement.style.zIndex-=100; +} +objj_msgSend(_sublayers,"insertObject:atIndex:",_8e,_8f); +if(_8f>=_sublayers.length-1){ +_DOMElement.appendChild(_8e._DOMElement); +}else{ +_DOMElement.insertBefore(_8e._DOMElement,_sublayers[_8f+1]._DOMElement); +} +_8e._superlayer=_8c; +if(_8c!=_90){ +_CALayerRecalculateGeometry(_8e,268435455); +} +} +}),new objj_method(sel_getUid("insertSublayer:below:"),function(_92,_93,_94,_95){ +with(_92){ +var _96=_95?objj_msgSend(_sublayers,"indexOfObjectIdenticalTo:",_95):0; +objj_msgSend(_92,"insertSublayer:atIndex:",_94,_96==CPNotFound?_sublayers.length:_96); +} +}),new objj_method(sel_getUid("insertSublayer:above:"),function(_97,_98,_99,_9a){ +with(_97){ +var _9b=_9a?objj_msgSend(_sublayers,"indexOfObjectIdenticalTo:",_9a):_sublayers.length; +if(_9b==CPNotFound){ +objj_msgSend(CPException,"raise:reason:","CALayerNotFoundException","aSublayer is not a sublayer of this layer"); +} +objj_msgSend(_sublayers,"insertObject:atIndex:",_99,_9b==CPNotFound?_sublayers.length:_9b+1); +} +}),new objj_method(sel_getUid("replaceSublayer:with:"),function(_9c,_9d,_9e,_9f){ +with(_9c){ +if(_9e==_9f){ +return; +} +if(_9e._superlayer!=_9c){ +alert("EXCEPTION"); +return; +} +if(_DOMContentsElement&&_9f._zPosition>_DOMContentsElement.style.zIndex){ +_DOMContentsElement.style.zIndex-=100; +} +objj_msgSend(_sublayers,"replaceObjectAtIndex:withObject:",objj_msgSend(_sublayers,"indexOfObjectIdenticalTo:",_9e),_9f); +_DOMElement.replaceChild(_9e._DOMElement,_9f._DOMElement); +} +}),new objj_method(sel_getUid("registerRunLoopUpdateWithMask:"),function(_a0,_a1,_a2){ +with(_a0){ +if(_2e==nil){ +_2e={}; +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"performSelector:target:argument:order:modes:",sel_getUid("runLoopUpdateLayers"),CALayer,nil,0,[CPDefaultRunLoopMode]); +} +_runLoopUpdateMask|=_a2; +_2e[objj_msgSend(_a0,"UID")]=_a0; +} +}),new objj_method(sel_getUid("setNeedsComposite"),function(_a3,_a4){ +with(_a3){ +objj_msgSend(_a3,"registerRunLoopUpdateWithMask:",_2c); +} +}),new objj_method(sel_getUid("setNeedsDisplay"),function(_a5,_a6){ +with(_a5){ +objj_msgSend(_a5,"registerRunLoopUpdateWithMask:",_2b); +} +}),new objj_method(sel_getUid("setNeedsDisplayOnBoundsChange:"),function(_a7,_a8,_a9){ +with(_a7){ +_needsDisplayOnBoundsChange=_a9; +} +}),new objj_method(sel_getUid("needsDisplayOnBoundsChange"),function(_aa,_ab){ +with(_aa){ +return _needsDisplayOnBoundsChange; +} +}),new objj_method(sel_getUid("setNeedsDisplayInRect:"),function(_ac,_ad,_ae){ +with(_ac){ +_dirtyRect=_ae; +objj_msgSend(_ac,"display"); +} +}),new objj_method(sel_getUid("convertPoint:fromLayer:"),function(_af,_b0,_b1,_b2){ +with(_af){ +return CGPointApplyAffineTransform(_b1,_CALayerGetTransform(_b2,_af)); +} +}),new objj_method(sel_getUid("convertPoint:toLayer:"),function(_b3,_b4,_b5,_b6){ +with(_b3){ +return CGPointApplyAffineTransform(_b5,_CALayerGetTransform(_b3,_b6)); +} +}),new objj_method(sel_getUid("convertRect:fromLayer:"),function(_b7,_b8,_b9,_ba){ +with(_b7){ +return CGRectApplyAffineTransform(_b9,_CALayerGetTransform(_ba,_b7)); +} +}),new objj_method(sel_getUid("convertRect:toLayer:"),function(_bb,_bc,_bd,_be){ +with(_bb){ +return CGRectApplyAffineTransform(_bd,_CALayerGetTransform(_bb,_be)); +} +}),new objj_method(sel_getUid("containsPoint:"),function(_bf,_c0,_c1){ +with(_bf){ +return (_c1.x>=(_bounds.origin.x)&&_c1.y>=(_bounds.origin.y)&&_c1.x<(_bounds.origin.x+_bounds.size.width)&&_c1.y<(_bounds.origin.y+_bounds.size.height)); +} +}),new objj_method(sel_getUid("hitTest:"),function(_c2,_c3,_c4){ +with(_c2){ +if(_isHidden){ +return nil; +} +var _c5=CGPointApplyAffineTransform(_c4,_transformToLayer); +if(!(_c5.x>=(_bounds.origin.x)&&_c5.y>=(_bounds.origin.y)&&_c5.x<(_bounds.origin.x+_bounds.size.width)&&_c5.y<(_bounds.origin.y+_bounds.size.height))){ +return nil; +} +var _c6=nil,_c7=_sublayers.length; +while(_c7--){ +if(_c6=objj_msgSend(_sublayers[_c7],"hitTest:",_c5)){ +return _c6; +} +} +return _c2; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_c8,_c9,_ca){ +with(_c8){ +if(_delegate==_ca){ +return; +} +_delegate=_ca; +_delegateRespondsToDisplayLayerSelector=objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("displayLayer:")); +_delegateRespondsToDrawLayerInContextSelector=objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("drawLayer:inContext:")); +if(_delegateRespondsToDisplayLayerSelector||_delegateRespondsToDrawLayerInContextSelector){ +objj_msgSend(_c8,"setNeedsDisplay"); +} +} +}),new objj_method(sel_getUid("delegate"),function(_cb,_cc){ +with(_cb){ +return _delegate; +} +}),new objj_method(sel_getUid("_setOwningView:"),function(_cd,_ce,_cf){ +with(_cd){ +_owningView=_cf; +if(_owningView){ +_owningView=_cf; +_bounds.size=CGSizeMakeCopy(objj_msgSend(_owningView,"bounds").size); +_position=CGPointMake((_bounds.size.width)*_anchorPoint.x,(_bounds.size.height)*_anchorPoint.y); +} +_CALayerRecalculateGeometry(_cd,_23|_22); +} +}),new objj_method(sel_getUid("_owningViewBoundsChanged"),function(_d0,_d1){ +with(_d0){ +_bounds.size=CGSizeMakeCopy(objj_msgSend(_owningView,"bounds").size); +_position=CGPointMake((_bounds.size.width)*_anchorPoint.x,(_bounds.size.height)*_anchorPoint.y); +_CALayerRecalculateGeometry(_d0,_23|_22); +} +}),new objj_method(sel_getUid("_update"),function(_d2,_d3){ +with(_d2){ +window.loop=true; +var _d4=_runLoopUpdateMask; +if(_d4&_2d){ +_CALayerUpdateDOM(_d2,_d4); +} +if(_d4&_2b){ +objj_msgSend(_d2,"display"); +}else{ +if(_d4&_29||_d4&_2c){ +objj_msgSend(_d2,"composite"); +} +} +_runLoopUpdateMask=0; +window.loop=false; +} +})]); +class_addMethods(_30,[new objj_method(sel_getUid("layer"),function(_d5,_d6){ +with(_d5){ +return objj_msgSend(objj_msgSend(objj_msgSend(_d5,"class"),"alloc"),"init"); +} +}),new objj_method(sel_getUid("runLoopUpdateLayers"),function(_d7,_d8){ +with(_d7){ +for(UID in _2e){ +var _d9=_2e[UID],_da=_d9._runLoopUpdateMask; +if(_da&_2d){ +_CALayerUpdateDOM(_d9,_da); +} +if(_da&_2b){ +objj_msgSend(_d9,"display"); +}else{ +if(_da&_29||_da&_2c){ +objj_msgSend(_d9,"composite"); +} +} +_d9._runLoopUpdateMask=0; +} +window.loop=false; +_2e=nil; +} +})]); +_CALayerUpdateSublayerTransformForSublayers=function(_db){ +var _dc=_db._bounds,_dd=_db._anchorPoint,_de=(_dc.size.width)*_dd.x,_df=(_dc.size.height)*_dd.y; +_db._sublayerTransformForSublayers=CGAffineTransformConcat(CGAffineTransformMakeTranslation(-_de,-_df),CGAffineTransformConcat(_db._sublayerTransform,CGAffineTransformMakeTranslation(_de,_df))); +}; +_CALayerUpdateDOM=function(_e0,_e1){ +var _e2=_e0._DOMElement.style; +if(_e1&_2a){ +_e2.zIndex=_e0._zPosition; +} +var _e3=_e0._backingStoreFrame; +if(_e1&_28){ +_e2.top=ROUND((_e3.origin.y))+"px"; +_e2.left=ROUND((_e3.origin.x))+"px"; +} +if(_e1&_29){ +var _e4=MAX(0,ROUND((_e3.size.width))),_e5=MAX(0,ROUND((_e3.size.height))),_e6=_e0._DOMContentsElement; +_e2.width=_e4+"px"; +_e2.height=_e5+"px"; +if(_e6){ +_e6.width=_e4; +_e6.height=_e5; +_e6.style.width=_e4+"px"; +_e6.style.height=_e5+"px"; +} +} +}; +_CALayerRecalculateGeometry=function(_e7,_e8){ +var _e9=_e7._bounds,_ea=_e7._superlayer,_eb=(_e9.size.width),_ec=(_e9.size.height),_ed=_e7._position,_ee=_e7._anchorPoint,_ef=_e7._affineTransform,_f0={width:_e7._backingStoreFrame.width,height:_e7._backingStoreFrame.height},_f1=_e7._hasCustomBackingStoreFrame; +_e7._transformFromLayer=CGAffineTransformConcat(CGAffineTransformMakeTranslation(-_eb*_ee.x-(_e7._bounds.origin.x),-_ec*_ee.y-(_e7._bounds.origin.y)),CGAffineTransformConcat(_ef,CGAffineTransformMakeTranslation(_ed.x,_ed.y))); +if(_ea&&_ea._hasSublayerTransform){ +var tx=_e7._transformFromLayer.tx*_ea._sublayerTransformForSublayers.a+_e7._transformFromLayer.ty*_ea._sublayerTransformForSublayers.c+_ea._sublayerTransformForSublayers.tx; +_e7._transformFromLayer.ty=_e7._transformFromLayer.tx*_ea._sublayerTransformForSublayers.b+_e7._transformFromLayer.ty*_ea._sublayerTransformForSublayers.d+_ea._sublayerTransformForSublayers.ty; +_e7._transformFromLayer.tx=tx; +var a=_e7._transformFromLayer.a*_ea._sublayerTransformForSublayers.a+_e7._transformFromLayer.b*_ea._sublayerTransformForSublayers.c,b=_e7._transformFromLayer.a*_ea._sublayerTransformForSublayers.b+_e7._transformFromLayer.b*_ea._sublayerTransformForSublayers.d,c=_e7._transformFromLayer.c*_ea._sublayerTransformForSublayers.a+_e7._transformFromLayer.d*_ea._sublayerTransformForSublayers.c; +_e7._transformFromLayer.d=_e7._transformFromLayer.c*_ea._sublayerTransformForSublayers.b+_e7._transformFromLayer.d*_ea._sublayerTransformForSublayers.d; +_e7._transformFromLayer.a=a; +_e7._transformFromLayer.b=b; +_e7._transformFromLayer.c=c; +} +_e7._transformToLayer=CGAffineTransformInvert(_e7._transformFromLayer); +_e7._frame=nil; +_e7._standardBackingStoreFrame=objj_msgSend(_e7,"convertRect:toLayer:",_e9,nil); +if(_ea){ +var _e9=objj_msgSend(_ea,"bounds"),_f2=objj_msgSend(_ea,"convertRect:toLayer:",_e9,nil); +_e7._standardBackingStoreFrame.origin.x-=(_f2.origin.x); +_e7._standardBackingStoreFrame.origin.y-=(_f2.origin.y); +} +var _f3=_e7._standardBackingStoreFrame.origin,_f4=_e7._standardBackingStoreFrame.size; +_f3.x=FLOOR(_f3.x); +_f3.y=FLOOR(_f3.y); +_f4.width=CEIL(_f4.width)+1; +_f4.height=CEIL(_f4.height)+1; +if(!_f1){ +var _f5=CGRectMakeCopy(_e7._standardBackingStoreFrame); +if(ROUND((_f5.origin.x))!=ROUND((_e7._backingStoreFrame.origin.x))||ROUND((_f5.origin.y))!=ROUND((_e7._backingStoreFrame.origin.y))){ +objj_msgSend(_e7,"registerRunLoopUpdateWithMask:",_28); +} +if(((_f5.size.width)!=ROUND((_e7._backingStoreFrame.size.width))||(_f5.size.height)!=ROUND((_e7._backingStoreFrame.size.height)))){ +objj_msgSend(_e7,"registerRunLoopUpdateWithMask:",_29); +} +_e7._backingStoreFrame=_f5; +} +if(_e8&_22&&_e7._needsDisplayOnBoundsChange){ +objj_msgSend(_e7,"setNeedsDisplay"); +}else{ +if(_f1||(_e8&~(_23|_24))){ +objj_msgSend(_e7,"setNeedsComposite"); +} +} +var _f6=_e7._sublayers,_f7=0,_f8=_f6.length; +for(;_f7<_f8;++_f7){ +_CALayerRecalculateGeometry(_f6[_f7],_e8); +} +}; +_CALayerGetTransform=function(_f9,_fa){ +var _fb=CGAffineTransformMakeIdentity(); +if(_f9){ +var _fc=_f9; +while(_fc&&_fc!=_fa){ +var _fd=_fc._transformFromLayer; +var tx=_fb.tx*_fd.a+_fb.ty*_fd.c+_fd.tx; +_fb.ty=_fb.tx*_fd.b+_fb.ty*_fd.d+_fd.ty; +_fb.tx=tx; +var a=_fb.a*_fd.a+_fb.b*_fd.c,b=_fb.a*_fd.b+_fb.b*_fd.d,c=_fb.c*_fd.a+_fb.d*_fd.c; +_fb.d=_fb.c*_fd.b+_fb.d*_fd.d; +_fb.a=a; +_fb.b=b; +_fb.c=c; +_fc=_fc._superlayer; +} +if(_fc==_fa){ +return _fb; +} +} +var _fe=[],_fc=_fa; +while(_fc){ +_fe.push(_fc); +_fc=_fc._superlayer; +} +var _ff=_fe.length; +while(_ff--){ +var _100=_fe[_ff]._transformToLayer; +var tx=_fb.tx*_100.a+_fb.ty*_100.c+_100.tx; +_fb.ty=_fb.tx*_100.b+_fb.ty*_100.d+_100.ty; +_fb.tx=tx; +var a=_fb.a*_100.a+_fb.b*_100.c,b=_fb.a*_100.b+_fb.b*_100.d,c=_fb.c*_100.a+_fb.d*_100.c; +_fb.d=_fb.c*_100.b+_fb.d*_100.d; +_fb.a=a; +_fb.b=b; +_fb.c=c; +} +return _fb; +}; +p;23;CAMediaTimingFunction.jt;2263;@STATIC;1.0;I;21;Foundation/CPObject.jI;25;Foundation/CPDictionary.jI;21;Foundation/CPString.jt;2162; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +kCAMediaTimingFunctionLinear="kCAMediaTimingFunctionLinear"; +kCAMediaTimingFunctionEaseIn="kCAMediaTimingFunctionEaseIn"; +kCAMediaTimingFunctionEaseOut="kCAMediaTimingFunctionEaseOut"; +kCAMediaTimingFunctionEaseInEaseOut="kCAMediaTimingFunctionEaseInEaseOut"; +var _1=nil; +var _2=objj_allocateClassPair(CPObject,"CAMediaTimingFunction"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_c1x"),new objj_ivar("_c1y"),new objj_ivar("_c2x"),new objj_ivar("_c2y")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithControlPoints::::"),function(_4,_5,_6,_7,_8,_9){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CAMediaTimingFunction").super_class},"init"); +if(_4){ +_c1x=_6; +_c1y=_7; +_c2x=_8; +_c2y=_9; +} +return _4; +} +}),new objj_method(sel_getUid("getControlPointAtIndex:values:"),function(_a,_b,_c,_d){ +with(_a){ +if(_c==0){ +_d[0]=0; +_d[1]=0; +}else{ +if(_c==1){ +_d[0]=_c1x; +_d[1]=_c1y; +}else{ +if(_c==2){ +_d[0]=_c2x; +_d[1]=_c2y; +}else{ +_d[0]=1; +_d[1]=1; +} +} +} +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("functionWithName:"),function(_e,_f,_10){ +with(_e){ +if(!_1){ +_1=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_1,"setObject:forKey:",objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0,0,1,1),kCAMediaTimingFunctionLinear); +objj_msgSend(_1,"setObject:forKey:",objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0.42,0,1,1),kCAMediaTimingFunctionEaseIn); +objj_msgSend(_1,"setObject:forKey:",objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0,0,0.58,1),kCAMediaTimingFunctionEaseOut); +objj_msgSend(_1,"setObject:forKey:",objj_msgSend(CAMediaTimingFunction,"functionWithControlPoints::::",0.42,0,0.58,1),kCAMediaTimingFunctionEaseInEaseOut); +} +return objj_msgSend(_1,"objectForKey:",_10); +} +}),new objj_method(sel_getUid("functionWithControlPoints::::"),function(_11,_12,c1x,c1y,c2x,c2y){ +with(_11){ +return objj_msgSend(objj_msgSend(_11,"alloc"),"initWithControlPoints::::",c1x,c1y,c2x,c2y); +} +})]); +p;19;CGAffineTransform.jt;2936;@STATIC;1.0;i;12;CGGeometry.jt;2900; +objj_executeFile("CGGeometry.j",YES); +CGAffineTransformMake=function(a,b,c,d,tx,ty){ +return {a:a,b:b,c:c,d:d,tx:tx,ty:ty}; +}; +CGAffineTransformMakeIdentity=function(){ +return {a:1,b:0,c:0,d:1,tx:0,ty:0}; +}; +CGAffineTransformMakeCopy=function(_1){ +return {a:_1.a,b:_1.b,c:_1.c,d:_1.d,tx:_1.tx,ty:_1.ty}; +}; +CGAffineTransformMakeScale=function(sx,sy){ +return {a:sx,b:0,c:0,d:sy,tx:0,ty:0}; +}; +CGAffineTransformMakeTranslation=function(tx,ty){ +return {a:1,b:0,c:0,d:1,tx:tx,ty:ty}; +}; +CGAffineTransformTranslate=function(_2,tx,ty){ +return {a:_2.a,b:_2.b,c:_2.c,d:_2.d,tx:_2.tx+_2.a*tx+_2.c*ty,ty:_2.ty+_2.b*tx+_2.d*ty}; +}; +CGAffineTransformScale=function(_3,sx,sy){ +return {a:_3.a*sx,b:_3.b*sx,c:_3.c*sy,d:_3.d*sy,tx:_3.tx,ty:_3.ty}; +}; +CGAffineTransformConcat=function(_4,_5){ +return {a:_4.a*_5.a+_4.b*_5.c,b:_4.a*_5.b+_4.b*_5.d,c:_4.c*_5.a+_4.d*_5.c,d:_4.c*_5.b+_4.d*_5.d,tx:_4.tx*_5.a+_4.ty*_5.c+_5.tx,ty:_4.tx*_5.b+_4.ty*_5.d+_5.ty}; +}; +CGPointApplyAffineTransform=function(_6,_7){ +return {x:_6.x*_7.a+_6.y*_7.c+_7.tx,y:_6.x*_7.b+_6.y*_7.d+_7.ty}; +}; +CGSizeApplyAffineTransform=function(_8,_9){ +return {width:_8.width*_9.a+_8.height*_9.c,height:_8.width*_9.b+_8.height*_9.d}; +}; +CGAffineTransformIsIdentity=function(_a){ +return (_a.a==1&&_a.b==0&&_a.c==0&&_a.d==1&&_a.tx==0&&_a.ty==0); +}; +CGAffineTransformEqualToTransform=function(_b,_c){ +return (_b.a==_c.a&&_b.b==_c.b&&_b.c==_c.c&&_b.d==_c.d&&_b.tx==_c.tx&&_b.ty==_c.ty); +}; +CGStringCreateWithCGAffineTransform=function(_d){ +return (" [[ "+_d.a+", "+_d.b+", 0 ], [ "+_d.c+", "+_d.d+", 0 ], [ "+_d.tx+", "+_d.ty+", 1]]"); +}; +CGAffineTransformCreateCopy=function(_e){ +return {a:_e.a,b:_e.b,c:_e.c,d:_e.d,tx:_e.tx,ty:_e.ty}; +}; +CGAffineTransformMakeRotation=function(_f){ +var sin=SIN(_f),cos=COS(_f); +return {a:cos,b:sin,c:-sin,d:cos,tx:0,ty:0}; +}; +CGAffineTransformRotate=function(_10,_11){ +var sin=SIN(_11),cos=COS(_11); +return {a:_10.a*cos+_10.c*sin,b:_10.b*cos+_10.d*sin,c:_10.c*cos-_10.a*sin,d:_10.d*cos-_10.b*sin,tx:_10.tx,ty:_10.ty}; +}; +CGAffineTransformInvert=function(_12){ +var _13=1/(_12.a*_12.d-_12.b*_12.c); +return {a:_13*_12.d,b:-_13*_12.b,c:-_13*_12.c,d:_13*_12.a,tx:_13*(_12.c*_12.ty-_12.d*_12.tx),ty:_13*(_12.b*_12.tx-_12.a*_12.ty)}; +}; +CGRectApplyAffineTransform=function(_14,_15){ +var top=(_14.origin.y),_16=(_14.origin.x),_17=(_14.origin.x+_14.size.width),_18=(_14.origin.y+_14.size.height),_19=CGPointApplyAffineTransform({x:_16,y:top},_15),_1a=CGPointApplyAffineTransform({x:_17,y:top},_15),_1b=CGPointApplyAffineTransform({x:_16,y:_18},_15),_1c=CGPointApplyAffineTransform({x:_17,y:_18},_15),_1d=MIN(_19.x,_1a.x,_1b.x,_1c.x),_1e=MAX(_19.x,_1a.x,_1b.x,_1c.x),_1f=MIN(_19.y,_1a.y,_1b.y,_1c.y),_20=MAX(_19.y,_1a.y,_1b.y,_1c.y); +return {origin:{x:_1d,y:_1f},size:{width:(_1e-_1d),height:(_20-_1f)}}; +}; +CPStringFromCGAffineTransform=function(_21){ +return "{"+_21.a+", "+_21.b+", "+_21.c+", "+_21.d+", "+_21.tx+", "+_21.ty+"}"; +}; +p;9;CGColor.jt;2143;@STATIC;1.0;i;14;CGColorSpace.jt;2105; +objj_executeFile("CGColorSpace.j",YES); +var _1=0; +CFHashCode=function(_2){ +if(!_2.hash){ +_2.hash=++_1; +} +return _2; +}; +kCGColorWhite="kCGColorWhite"; +kCGColorBlack="kCGColorBlack"; +kCGColorClear="kCGColorClear"; +var _3={}; +CGColorGetConstantColor=function(_4){ +alert("FIX ME"); +}; +CGColorRetain=function(_5){ +return _5; +}; +CGColorRelease=function(){ +}; +CGColorCreate=function(_6,_7){ +if(!_6||!_7){ +return NULL; +} +var _7=_7.slice(); +CGColorSpaceStandardizeComponents(_6,_7); +var _8=CFHashCode(_6)+_7.join(""); +if(_3[_8]){ +return _3[_8]; +} +return _3[_8]={colorspace:_6,pattern:NULL,components:_7}; +}; +CGColorCreateCopy=function(_9){ +return _9; +}; +CGColorCreateGenericGray=function(_a,_b){ +return CGColorCreate(0,[_a,_b]); +}; +CGColorCreateGenericRGB=function(_c,_d,_e,_f){ +return CGColorCreate(0,[_c,_d,_e,_f]); +}; +CGColorCreateGenericCMYK=function(_10,_11,_12,_13,_14){ +return CGColorCreate(0,[_10,_11,_12,_13,_14]); +}; +CGColorCreateCopyWithAlpha=function(_15,_16){ +var _17=_15.components; +if(!_15||_16==_17[_17.length-1]){ +return _15; +} +if(_15.pattern){ +var _18=CGColorCreateWithPattern(_15.colorspace,_15.pattern,_17); +}else{ +var _18=CGColorCreate(_15.colorspace,_17); +} +_18.components[_17.length-1]=_16; +return _18; +}; +CGColorCreateWithPattern=function(_19,_1a,_1b){ +if(!_19||!_1a||!_1b){ +return NULL; +} +return {colorspace:_19,pattern:_1a,components:_1b.slice()}; +}; +CGColorEqualToColor=function(lhs,rhs){ +if(lhs==rhs){ +return true; +} +if(!lhs||!rhs){ +return false; +} +var _1c=lhs.components,_1d=rhs.components,_1e=_1c.length; +if(_1e!=_1d.length){ +return false; +} +while(_1e--){ +if(_1c[_1e]!=_1d[_1e]){ +return false; +} +} +if(lhs.pattern!=rhs.pattern){ +return false; +} +if(CGColorSpaceEqualToColorSpace(lhs.colorspace,rhs.colorspace)){ +return false; +} +return true; +}; +CGColorGetAlpha=function(_1f){ +var _20=_1f.components; +return _20[_20.length-1]; +}; +CGColorGetColorSpace=function(_21){ +return _21.colorspace; +}; +CGColorGetComponents=function(_22){ +return _22.components; +}; +CGColorGetNumberOfComponents=function(_23){ +return _23.components.length; +}; +CGColorGetPattern=function(_24){ +return _24.pattern; +}; +p;14;CGColorSpace.jt;3521;@STATIC;1.0;t;3502; +kCGColorSpaceModelUnknown=-1; +kCGColorSpaceModelMonochrome=0; +kCGColorSpaceModelRGB=1; +kCGColorSpaceModelCMYK=2; +kCGColorSpaceModelLab=3; +kCGColorSpaceModelDeviceN=4; +kCGColorSpaceModelIndexed=5; +kCGColorSpaceModelPattern=6; +kCGColorSpaceGenericGray="CGColorSpaceGenericGray"; +kCGColorSpaceGenericRGB="CGColorSpaceGenericRGB"; +kCGColorSpaceGenericCMYK="CGColorSpaceGenericCMYK"; +kCGColorSpaceGenericRGBLinear="CGColorSpaceGenericRGBLinear"; +kCGColorSpaceGenericRGBHDR="CGColorSpaceGenericRGBHDR"; +kCGColorSpaceAdobeRGB1998="CGColorSpaceAdobeRGB1998"; +kCGColorSpaceSRGB="CGColorSpaceSRGB"; +var _1={}; +CGColorSpaceCreateCalibratedGray=function(_2,_3,_4){ +return {model:kCGColorSpaceModelMonochrome,count:1,base:NULL}; +}; +CGColorSpaceCreateCalibratedRGB=function(_5,_6,_7){ +return {model:kCGColorSpaceModelRGB,count:1,base:NULL}; +}; +CGColorSpaceCreateICCBased=function(_8,_9,_a,_b){ +return NULL; +}; +CGColorSpaceCreateLab=function(_c,_d,_e){ +return NULL; +}; +CGColorSpaceCreateDeviceCMYK=function(){ +return CGColorSpaceCreateWithName(kCGColorSpaceGenericCMYK); +}; +CGColorSpaceCreateDeviceGray=function(){ +return CGColorSpaceCreateWithName(kCGColorSpaceGenericGray); +}; +CGColorSpaceCreateDeviceRGB=function(){ +return CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB); +}; +CGColorSpaceCreateWithPlatformColorSpace=function(){ +return NULL; +}; +CGColorSpaceCreateIndexed=function(_f,_10,_11){ +return NULL; +}; +CGColorSpaceCreatePattern=function(_12){ +if(_12){ +return {model:kCGColorSpaceModelPattern,count:_12.count,base:_12}; +} +return {model:kCGColorSpaceModelPattern,count:0,base:NULL}; +}; +CGColorSpaceCreateWithName=function(_13){ +var _14=_1[_13]; +if(_14){ +return _14; +} +switch(_13){ +case kCGColorSpaceGenericGray: +return _1[_13]={model:kCGColorSpaceModelMonochrome,count:1,base:NULL}; +case kCGColorSpaceGenericRGB: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +case kCGColorSpaceGenericCMYK: +return _1[_13]={model:kCGColorSpaceModelCMYK,count:4,base:NULL}; +case kCGColorSpaceGenericRGBLinear: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +case kCGColorSpaceGenericRGBHDR: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +case kCGColorSpaceAdobeRGB1998: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +case kCGColorSpaceSRGB: +return _1[_13]={model:kCGColorSpaceModelRGB,count:3,base:NULL}; +} +return NULL; +}; +CGColorSpaceCopyICCProfile=function(_15){ +return NULL; +}; +CGColorSpaceGetNumberOfComponents=function(_16){ +return _16.count; +}; +CGColorSpaceGetTypeID=function(_17){ +}; +CGColorSpaceGetModel=function(_18){ +return _18.model; +}; +CGColorSpaceGetBaseColorSpace=function(_19){ +}; +CGColorSpaceGetColorTableCount=function(_1a){ +}; +CGColorSpaceGetColorTable=function(_1b){ +}; +CGColorSpaceRelease=function(_1c){ +}; +CGColorSpaceRetain=function(_1d){ +return _1d; +}; +CGColorSpaceStandardizeComponents=function(_1e,_1f){ +var _20=_1e.count; +if(_20>_1f.length){ +_1f[_20]=1; +return; +} +var _21=_1f[_20]; +if(_21<0){ +_1f[_20]=0; +}else{ +if(_21>1){ +_1f[_20]=1; +}else{ +_1f[_20]=ROUND(_21*1000)/1000; +} +} +if(_1e.base){ +_1e=_1e.base; +} +switch(_1e.model){ +case kCGColorSpaceModelMonochrome: +case kCGColorSpaceModelRGB: +case kCGColorSpaceModelCMYK: +case kCGColorSpaceModelDeviceN: +while(_20--){ +if(_20>_1f.length){ +_1f[_20]=1; +return; +} +var _21=_1f[_20]; +if(_21<0){ +_1f[_20]=0; +}else{ +if(_21>1){ +_1f[_20]=1; +}else{ +_1f[_20]=ROUND(_21*255)/255; +} +} +} +break; +case kCGColorSpaceModelIndexed: +case kCGColorSpaceModelLab: +case kCGColorSpaceModelPattern: +break; +} +}; +p;11;CGContext.jt;20418;@STATIC;1.0;i;12;CGGeometry.ji;19;CGAffineTransform.ji;8;CGPath.jt;20345; +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CGAffineTransform.j",YES); +objj_executeFile("CGPath.j",YES); +kCGLineCapButt=0; +kCGLineCapRound=1; +kCGLineCapSquare=2; +kCGLineJoinMiter=0; +kCGLineJoinRound=1; +kCGLineJoinBevel=2; +kCGPathFill=0; +kCGPathEOFill=1; +kCGPathStroke=2; +kCGPathFillStroke=3; +kCGPathEOFillStroke=4; +kCGBlendModeNormal=0; +kCGBlendModeMultiply=1; +kCGBlendModeScreen=2; +kCGBlendModeOverlay=3; +kCGBlendModeDarken=4; +kCGBlendModeLighten=5; +kCGBlendModeColorDodge=6; +kCGBlendModeColorBurn=7; +kCGBlendModeSoftLight=8; +kCGBlendModeHardLight=9; +kCGBlendModeDifference=10; +kCGBlendModeExclusion=11; +kCGBlendModeHue=12; +kCGBlendModeSaturation=13; +kCGBlendModeColor=14; +kCGBlendModeLuminosity=15; +kCGBlendModeClear=16; +kCGBlendModeCopy=17; +kCGBlendModeSourceIn=18; +kCGBlendModeSourceOut=19; +kCGBlendModeSourceAtop=20; +kCGBlendModeDestinationOver=21; +kCGBlendModeDestinationIn=22; +kCGBlendModeDestinationOut=23; +kCGBlendModeDestinationAtop=24; +kCGBlendModeXOR=25; +kCGBlendModePlusDarker=26; +kCGBlendModePlusLighter=27; +CGContextRelease=function(){ +}; +CGContextRetain=function(_1){ +return _1; +}; +if(!CPFeatureIsCompatible(CPHTMLCanvasFeature)){ +CGGStateCreate=function(){ +return {alpha:1,strokeStyle:"#000",fillStyle:"#ccc",lineWidth:1,lineJoin:kCGLineJoinMiter,lineCap:kCGLineCapButt,miterLimit:10,globalAlpha:1,blendMode:kCGBlendModeNormal,shadowOffset:{width:0,height:0},shadowBlur:0,shadowColor:NULL,CTM:{a:1,b:0,c:0,d:1,tx:0,ty:0}}; +}; +CGGStateCreateCopy=function(_2){ +return {alpha:_2.alpha,strokeStyle:_2.strokeStyle,fillStyle:_2.fillStyle,lineWidth:_2.lineWidth,lineJoin:_2.lineJoin,lineCap:_2.lineCap,miterLimit:_2.miterLimit,globalAlpha:_2.globalAlpha,blendMode:_2.blendMode,shadowOffset:_2.shadowOffset,shadowBlur:_2.shadowBlur,shadowColor:_2.shadowColor,CTM:{a:_2.CTM.a,b:_2.CTM.b,c:_2.CTM.c,d:_2.CTM.d,tx:_2.CTM.tx,ty:_2.CTM.ty}}; +}; +CGBitmapGraphicsContextCreate=function(){ +return {DOMElement:document.createElement("div"),path:NULL,gState:CGGStateCreate(),gStateStack:[]}; +}; +CGContextSaveGState=function(_3){ +_3.gStateStack.push(CGGStateCreateCopy(_3.gState)); +}; +CGContextRestoreGState=function(_4){ +_4.gState=_4.gStateStack.pop(); +}; +CGContextSetLineCap=function(_5,_6){ +_5.gState.lineCap=_6; +}; +CGContextSetLineJoin=function(_7,_8){ +_7.gState.lineJoin=_8; +}; +CGContextSetLineWidth=function(_9,_a){ +_9.gState.lineWidth=_a; +}; +CGContextSetMiterLimit=function(_b,_c){ +_b.gState.miterLimit=_c; +}; +CGContextSetBlendMode=function(_d,_e){ +_d.gState.blendMode=_e; +}; +CGContextAddArc=function(_f,x,y,_10,_11,_12,_13){ +CGPathAddArc(_f.path,_f.gState.CTM,x,y,_10,_11,_12,_13); +}; +CGContextAddArcToPoint=function(_14,x1,y1,x2,y2,_15){ +CGPathAddArcToPoint(_14.path,_14.gState.CTM,x1,y1,x2,y2,_15); +}; +CGContextAddCurveToPoint=function(_16,_17,_18,_19,_1a,x,y){ +CGPathAddCurveToPoint(_16.path,_16.gState.CTM,_17,_18,_19,_1a,x,y); +}; +CGContextAddLines=function(_1b,_1c,_1d){ +CGPathAddLines(_1b.path,_1b.gState.CTM,_1c,_1d); +}; +CGContextAddLineToPoint=function(_1e,x,y){ +CGPathAddLineToPoint(_1e.path,_1e.gState.CTM,x,y); +}; +CGContextAddPath=function(_1f,_20){ +if(!_1f||CGPathIsEmpty(_20)){ +return; +} +if(!_1f.path){ +_1f.path=CGPathCreateMutable(); +} +CGPathAddPath(_1f.path,_1f.gState.CTM,_20); +}; +CGContextAddQuadCurveToPoint=function(_21,cpx,cpy,x,y){ +CGPathAddQuadCurveToPoint(_21.path,_21.gState.CTM,cpx,cpy,x,y); +}; +CGContextAddRect=function(_22,_23){ +CGPathAddRect(_22.path,_22.gState.CTM,_23); +}; +CGContextAddRects=function(_24,_25,_26){ +CGPathAddRects(_24.path,_24.gState.CTM,_25,_26); +}; +CGContextBeginPath=function(_27){ +_27.path=CGPathCreateMutable(); +}; +CGContextClosePath=function(_28){ +CGPathCloseSubpath(_28.path); +}; +CGContextMoveToPoint=function(_29,x,y){ +if(!_29.path){ +_29.path=CGPathCreateMutable(); +} +CGPathMoveToPoint(_29.path,_29.gState.CTM,x,y); +}; +CGContextFillRect=function(_2a,_2b){ +CGContextFillRects(_2a,[_2b],1); +}; +CGContextFillRects=function(_2c,_2d,_2e){ +if(arguments[2]===undefined){ +var _2e=_2d.length; +} +CGContextBeginPath(_2c); +CGContextAddRects(_2c,_2d,_2e); +CGContextClosePath(_2c); +CGContextDrawPath(_2c,kCGPathFill); +}; +CGContextStrokeRect=function(_2f,_30){ +CGContextBeginPath(_2f); +CGContextAddRect(_2f,_30); +CGContextClosePath(_2f); +CGContextDrawPath(_2f,kCGPathStroke); +}; +CGContextStrokeRectWithWidth=function(_31,_32,_33){ +CGContextSaveGState(_31); +CGContextSetLineWidth(_31,_33); +CGContextStrokeRect(_31,_32); +CGContextRestoreGState(_31); +}; +CGContextConcatCTM=function(_34,_35){ +var CTM=_34.gState.CTM; +var tx=CTM.tx*_35.a+CTM.ty*_35.c+_35.tx; +CTM.ty=CTM.tx*_35.b+CTM.ty*_35.d+_35.ty; +CTM.tx=tx; +var a=CTM.a*_35.a+CTM.b*_35.c,b=CTM.a*_35.b+CTM.b*_35.d,c=CTM.c*_35.a+CTM.d*_35.c; +CTM.d=CTM.c*_35.b+CTM.d*_35.d; +CTM.a=a; +CTM.b=b; +CTM.c=c; +}; +CGContextGetCTM=function(_36){ +return _36.gState.CTM; +}; +CGContextRotateCTM=function(_37,_38){ +var _39=_37.gState; +_39.CTM=CGAffineTransformRotate(_39.CTM,_38); +}; +CGContextScaleCTM=function(_3a,sx,sy){ +var _3b=_3a.gState; +_3b.CTM={a:_3b.CTM.a*sx,b:_3b.CTM.b*sx,c:_3b.CTM.c*sy,d:_3b.CTM.d*sy,tx:_3b.CTM.tx,ty:_3b.CTM.ty}; +}; +CGContextTranslateCTM=function(_3c,tx,ty){ +var _3d=_3c.gState; +_3d.CTM={a:_3d.CTM.a,b:_3d.CTM.b,c:_3d.CTM.c,d:_3d.CTM.d,tx:_3d.CTM.tx+_3d.CTM.a*tx+_3d.CTM.c*ty,ty:_3d.CTM.ty+_3d.CTM.b*tx+_3d.CTM.d*ty}; +}; +CGContextSetShadow=function(_3e,_3f,_40){ +var _41=_3e.gState; +_41.shadowOffset={width:_3f.width,height:_3f.height}; +_41.shadowBlur=_40; +_41.shadowColor=objj_msgSend(CPColor,"shadowColor"); +}; +CGContextSetShadowWithColor=function(_42,_43,_44,_45){ +var _46=_42.gState; +_46.shadowOffset={width:_43.width,height:_43.height}; +_46.shadowBlur=_44; +_46.shadowColor=_45; +}; +CGContextSetAlpha=function(_47,_48){ +_47.gState.alpha=MAX(MIN(_48,1),0); +}; +} +CGContextEOFillPath=function(_49){ +CGContextDrawPath(_49,kCGPathEOFill); +}; +CGContextFillPath=function(_4a){ +CGContextDrawPath(_4a,kCGPathFill); +}; +var _4b=4*((SQRT2-1)/3); +CGContextAddEllipseInRect=function(_4c,_4d){ +CGContextBeginPath(_4c); +CGContextAddPath(_4c,CGPathWithEllipseInRect(_4d)); +CGContextClosePath(_4c); +}; +CGContextFillEllipseInRect=function(_4e,_4f){ +CGContextBeginPath(_4e); +CGContextAddEllipseInRect(_4e,_4f); +CGContextClosePath(_4e); +CGContextFillPath(_4e); +}; +CGContextStrokeEllipseInRect=function(_50,_51){ +CGContextBeginPath(_50); +CGContextAddEllipseInRect(_50,_51); +CGContextClosePath(_50); +CGContextStrokePath(_50); +}; +CGContextStrokePath=function(_52){ +CGContextDrawPath(_52,kCGPathStroke); +}; +CGContextStrokeLineSegments=function(_53,_54,_55){ +var i=0; +if(arguments["count"]==NULL){ +var _55=_54.length; +} +CGContextBeginPath(_53); +for(;i<_55;i+=2){ +CGContextMoveToPoint(_53,_54[i].x,_54[i].y); +CGContextAddLineToPoint(_53,_54[i+1].x,_54[i+1].y); +} +CGContextStrokePath(_53); +}; +CGContextSetFillColor=function(_56,_57){ +if(_57){ +_56.gState.fillStyle=objj_msgSend(_57,"cssString"); +} +}; +CGContextSetStrokeColor=function(_58,_59){ +if(_59){ +_58.gState.strokeStyle=objj_msgSend(_59,"cssString"); +} +}; +CGContextFillRoundedRectangleInRect=function(_5a,_5b,_5c,ne,se,sw,nw){ +CGContextBeginPath(_5a); +CGContextAddPath(_5a,CGPathWithRoundedRectangleInRect(_5b,_5c,_5c,ne,se,sw,nw)); +CGContextClosePath(_5a); +CGContextFillPath(_5a); +}; +CGContextStrokeRoundedRectangleInRect=function(_5d,_5e,_5f,ne,se,sw,nw){ +CGContextBeginPath(_5d); +CGContextAddPath(_5d,CGPathWithRoundedRectangleInRect(_5e,_5f,_5f,ne,se,sw,nw)); +CGContextClosePath(_5d); +CGContextStrokePath(_5d); +}; +if(CPFeatureIsCompatible(CPHTMLCanvasFeature)){ +var _60=["butt","round","square"],_61=["miter","round","bevel"],_62=["source-over","source-over","source-over","source-over","darker","lighter","source-over","source-over","source-over","source-over","source-over","source-over","source-over","source-over","source-over","source-over","source-over","copy","source-in","source-out","source-atop","destination-over","destination-in","destination-out","destination-atop","xor","source-over","source-over"]; +CGContextSaveGState=function(_63){ +_63.save(); +}; +CGContextRestoreGState=function(_64){ +_64.restore(); +}; +CGContextSetLineCap=function(_65,_66){ +_65.lineCap=_60[_66]; +}; +CGContextSetLineJoin=function(_67,_68){ +_67.lineJoin=_61[_68]; +}; +CGContextSetLineWidth=function(_69,_6a){ +_69.lineWidth=_6a; +}; +CGContextSetMiterLimit=function(_6b,_6c){ +_6b.miterLimit=_6c; +}; +CGContextSetBlendMode=function(_6d,_6e){ +_6d.globalCompositeOperation=_62[_6e]; +}; +CGContextAddArc=function(_6f,x,y,_70,_71,_72,_73){ +_6f.arc(x,y,_70,_71,_72,!_73); +}; +CGContextAddArcToPoint=function(_74,x1,y1,x2,y2,_75){ +_74.arcTo(x1,y1,x2,y2,_75); +}; +CGContextAddCurveToPoint=function(_76,_77,_78,_79,_7a,x,y){ +_76.bezierCurveTo(_77,_78,_79,_7a,x,y); +}; +CGContextAddLineToPoint=function(_7b,x,y){ +_7b.lineTo(x,y); +}; +CGContextAddPath=function(_7c,_7d){ +if(!_7c||CGPathIsEmpty(_7d)){ +return; +} +var _7e=_7d.elements,i=0,_7f=_7d.count; +for(;i<_7f;++i){ +var _80=_7e[i],_81=_80.type; +switch(_81){ +case kCGPathElementMoveToPoint: +_7c.moveTo(_80.x,_80.y); +break; +case kCGPathElementAddLineToPoint: +_7c.lineTo(_80.x,_80.y); +break; +case kCGPathElementAddQuadCurveToPoint: +_7c.quadraticCurveTo(_80.cpx,_80.cpy,_80.x,_80.y); +break; +case kCGPathElementAddCurveToPoint: +_7c.bezierCurveTo(_80.cp1x,_80.cp1y,_80.cp2x,_80.cp2y,_80.x,_80.y); +break; +case kCGPathElementCloseSubpath: +_7c.closePath(); +break; +case kCGPathElementAddArc: +_7c.arc(_80.x,_80.y,_80.radius,_80.startAngle,_80.endAngle,_80.clockwise); +break; +case kCGPathElementAddArcTo: +break; +} +} +}; +CGContextAddRect=function(_82,_83){ +_82.rect((_83.origin.x),(_83.origin.y),(_83.size.width),(_83.size.height)); +}; +CGContextAddRects=function(_84,_85,_86){ +var i=0; +if(arguments["count"]==NULL){ +var _86=_85.length; +} +for(;i<_86;++i){ +var _87=_85[i]; +_84.rect((_87.origin.x),(_87.origin.y),(_87.size.width),(_87.size.height)); +} +}; +CGContextBeginPath=function(_88){ +_88.beginPath(); +}; +CGContextClosePath=function(_89){ +_89.closePath(); +}; +CGContextMoveToPoint=function(_8a,x,y){ +_8a.moveTo(x,y); +}; +CGContextClearRect=function(_8b,_8c){ +_8b.clearRect((_8c.origin.x),(_8c.origin.y),(_8c.size.width),(_8c.size.height)); +}; +CGContextDrawPath=function(_8d,_8e){ +if(_8e==kCGPathFill||_8e==kCGPathFillStroke){ +_8d.fill(); +}else{ +if(_8e==kCGPathEOFill||_8e==kCGPathEOFillStroke){ +alert("not implemented!!!"); +} +} +if(_8e==kCGPathStroke||_8e==kCGPathFillStroke||_8e==kCGPathEOFillStroke){ +_8d.stroke(); +} +}; +CGContextFillRect=function(_8f,_90){ +_8f.fillRect((_90.origin.x),(_90.origin.y),(_90.size.width),(_90.size.height)); +}; +CGContextFillRects=function(_91,_92,_93){ +var i=0; +if(arguments["count"]==NULL){ +var _93=_92.length; +} +for(;i<_93;++i){ +var _94=_92[i]; +_91.fillRect((_94.origin.x),(_94.origin.y),(_94.size.width),(_94.size.height)); +} +}; +CGContextStrokeRect=function(_95,_96){ +_95.strokeRect((_96.origin.x),(_96.origin.y),(_96.size.width),(_96.size.height)); +}; +CGContextClip=function(_97){ +_97.clip(); +}; +CGContextClipToRect=function(_98,_99){ +_98.beginPath(); +_98.rect((_99.origin.x),(_99.origin.y),(_99.size.width),(_99.size.height)); +_98.closePath(); +_98.clip(); +}; +CGContextClipToRects=function(_9a,_9b,_9c){ +if(arguments["count"]==NULL){ +var _9c=_9b.length; +} +_9a.beginPath(); +CGContextAddRects(_9a,_9b,_9c); +_9a.clip(); +}; +CGContextSetAlpha=function(_9d,_9e){ +_9d.globalAlpha=_9e; +}; +CGContextSetFillColor=function(_9f,_a0){ +_9f.fillStyle=objj_msgSend(_a0,"cssString"); +}; +CGContextSetStrokeColor=function(_a1,_a2){ +_a1.strokeStyle=objj_msgSend(_a2,"cssString"); +}; +CGContextSetShadow=function(_a3,_a4,_a5){ +_a3.shadowOffsetX=_a4.width; +_a3.shadowOffsetY=_a4.height; +_a3.shadowBlur=_a5; +}; +CGContextSetShadowWithColor=function(_a6,_a7,_a8,_a9){ +_a6.shadowOffsetX=_a7.width; +_a6.shadowOffsetY=_a7.height; +_a6.shadowBlur=_a8; +_a6.shadowColor=objj_msgSend(_a9,"cssString"); +}; +CGContextRotateCTM=function(_aa,_ab){ +_aa.rotate(_ab); +}; +CGContextScaleCTM=function(_ac,sx,sy){ +_ac.scale(sx,sy); +}; +CGContextTranslateCTM=function(_ad,tx,ty){ +_ad.translate(tx,ty); +}; +eigen=function(_ae){ +alert("IMPLEMENT ME!"); +}; +if(CPFeatureIsCompatible(CPJavaScriptCanvasTransformFeature)){ +CGContextConcatCTM=function(_af,_b0){ +_af.transform(_b0.a,_b0.b,_b0.c,_b0.d,_b0.tx,_b0.ty); +}; +}else{ +CGContextConcatCTM=function(_b1,_b2){ +var a=_b2.a,b=_b2.b,c=_b2.c,d=_b2.d,tx=_b2.tx,ty=_b2.ty,sx=1,sy=1,a1=0,a2=0; +if(b==0&&c==0){ +sx=a; +sy=d; +}else{ +if(a*b==-c*d){ +var _b3=(a*d<0||b*c>0)?-1:1,a2=(ATAN2(b,d)+ATAN2(-_b3*c,_b3*a))/2,cos=COS(a2),sin=SIN(a2); +if(cos==0){ +sx=-c/sin; +sy=b/sin; +}else{ +if(sin==0){ +sx=a/cos; +sy=d/cos; +}else{ +abs_cos=ABS(cos); +abs_sin=ABS(sin); +sx=(abs_cos*a/cos+abs_sin*-c/sin)/(abs_cos+abs_sin); +sy=(abs_cos*d/cos+abs_sin*b/sin)/(abs_cos+abs_sin); +} +} +}else{ +if(a*c==-b*d){ +var _b3=(a*d<0||b*c>0)?-1:1; +a1=(Math.atan2(_b3*b,_b3*a)+Math.atan2(-c,d))/2,cos=COS(a1),sin=SIN(a1); +if(cos==0){ +sx=b/sin; +sy=-c/sin; +}else{ +if(sin==0){ +sx=a/cos; +sy=d/cos; +}else{ +abs_cos=ABS(cos); +abs_sin=ABS(sin); +sx=(abs_cos*a/cos+abs_sin*b/sin)/(abs_cos+abs_sin); +sy=(abs_cos*d/cos+abs_sin*-c/sin)/(abs_cos+abs_sin); +} +} +}else{ +var _b4=CGAffineTransformMake(a,c,b,d,0,0),u=eigen(CGAffineTransformConcat(_b2,_b4)),v=eigen(CGAffineTransformConcat(_b4,_b2)),U=CGAffineTransformMake(u.vector_1.x,u.vector_2.x,u.vector_1.y,u.vector_2.y,0,0),VT=CGAffineTransformMake(v.vector_1.x,v.vector_1.y,v.vector_2.x,v.vector_2.y,0,0),S=CGAffineTransformConcat(CGAffineTransformConcat(CGAffineTransformInvert(U),_b2),CGAffineTransformInvert(VT)); +a=VT.a; +b=VT.b; +c=VT.c; +d=VT.d; +var _b3=(a*d<0||b*c>0)?-1:1,a2=(ATAN2(b,d)+ATAN2(-_b3*c,_b3*a))/2,cos=COS(a2),sin=SIN(a2); +if(cos==0){ +sx=-c/sin; +sy=b/sin; +}else{ +if(sin==0){ +sx=a/cos; +sy=d/cos; +}else{ +abs_cos=ABS(cos); +abs_sin=ABS(sin); +sx=(abs_cos*a/cos+abs_sin*-c/sin)/(abs_cos+abs_sin); +sy=(abs_cos*d/cos+abs_sin*b/sin)/(abs_cos+abs_sin); +} +} +S.a*=sx; +S.d*=sy; +a=U.a; +b=U.b; +c=U.c; +d=U.d; +var _b3=(a*d<0||b*c>0)?-1:1; +a1=(Math.atan2(_b3*b,_b3*a)+Math.atan2(-c,d))/2,cos=COS(a1),sin=SIN(a1); +if(cos==0){ +sx=b/sin; +sy=-c/sin; +}else{ +if(sin==0){ +sx=a/cos; +sy=d/cos; +}else{ +abs_cos=ABS(cos); +abs_sin=ABS(sin); +sx=(abs_cos*a/cos+abs_sin*b/sin)/(abs_cos+abs_sin); +sy=(abs_cos*d/cos+abs_sin*-c/sin)/(abs_cos+abs_sin); +} +} +sx=S.a*sx; +sy=S.d*sy; +} +} +} +if(tx!=0||ty!=0){ +CGContextTranslateCTM(_b1,tx,ty); +} +if(a1!=0){ +CGContextRotateCTM(_b1,a1); +} +if(sx!=1||sy!=1){ +CGContextScaleCTM(_b1,sx,sy); +} +if(a2!=0){ +CGContextRotateCTM(_b1,a2); +} +}; +} +CGContextDrawImage=function(_b5,_b6,_b7){ +_b5.drawImage(_b7._image,(_b6.origin.x),(_b6.origin.y),(_b6.size.width),(_b6.size.height)); +}; +to_string=function(_b8){ +return "rgba("+ROUND(_b8.components[0]*255)+", "+ROUND(_b8.components[1]*255)+", "+ROUND(255*_b8.components[2])+", "+_b8.components[3]+")"; +}; +CGContextDrawLinearGradient=function(_b9,_ba,_bb,_bc,_bd){ +var _be=_ba.colors,_bf=_be.length,_c0=_b9.createLinearGradient(_bb.x,_bb.y,_bc.x,_bc.y); +while(_bf--){ +_c0.addColorStop(_ba.locations[_bf],to_string(_be[_bf])); +} +_b9.fillStyle=_c0; +_b9.fill(); +}; +CGBitmapGraphicsContextCreate=function(){ +var _c1=document.createElement("canvas"),_c2=_c1.getContext("2d"); +_c2.DOMElement=_c1; +return _c2; +}; +}else{ +if(CPFeatureIsCompatible(CPVMLFeature)){ +var _c3=["f","t"],_c4=["flat","round","square"],_c5=["miter","round","bevel"],_c6=[" m "," l ","qb"," c "," x ",[" at "," wa "]]; +var _c7=CGBitmapGraphicsContextCreate; +CGBitmapGraphicsContextCreate=function(){ +document.namespaces.add("cg_vml_","urn:schemas-microsoft-com:vml"); +document.createStyleSheet().cssText="cg_vml_\\:*{behavior:url(#default#VML)}"; +CGBitmapGraphicsContextCreate=_c7; +return _c7(); +}; +CGContextClearRect=function(_c8,_c9){ +if(_c8.buffer!=nil){ +_c8.buffer=""; +}else{ +_c8.DOMElement.innerHTML=""; +} +_c8.path=NULL; +}; +var W=10,H=10,Z=10,Z_2=Z/2; +CGContextDrawImage=function(_ca,_cb,_cc){ +var _cd=""; +if(_cc.buffer!=nil){ +_cd=_cc.buffer; +}else{ +var ctm=_ca.gState.CTM,_ce=CGPointApplyAffineTransform(_cb.origin,ctm),_cf=ctm.a==ctm.d&&ctm.b==-ctm.c,vml=[""); +_cd=vml.join(""); +} +if(_ca.buffer!=nil){ +_ca.buffer+=_cd; +}else{ +_ca.DOMElement.insertAdjacentHTML("BeforeEnd",_cd); +} +}; +CGContextDrawPath=function(_d1,_d2){ +if(!_d1||CGPathIsEmpty(_d1.path)){ +return; +} +var _d3=_d1.path.elements,i=0,_d4=_d1.path.count,_d5=_d1.gState,_d6=(_d2==kCGPathFill||_d2==kCGPathFillStroke)?1:0,_d7=(_d2==kCGPathStroke||_d2==kCGPathFillStroke)?1:0,_d8=_d5.alpha,vml=["=x){ +if(_df.y"); +if(_d5.gradient){ +vml.push(_d5.gradient); +}else{ +if(_d6){ +vml.push(""); +} +} +if(_d7){ +vml.push(""); +} +var _e0=_d5.shadowColor; +if(_e0){ +var _e1=_d5.shadowOffset; +vml.push(""); +} +vml.push(""); +_d1.path=NULL; +if(_d1.buffer!=nil){ +_d1.buffer+=vml.join(""); +}else{ +_d1.DOMElement.insertAdjacentHTML("BeforeEnd",vml.join("")); +} +}; +to_string=function(_e2){ +return "rgb("+ROUND(_e2.components[0]*255)+", "+ROUND(_e2.components[1]*255)+", "+ROUND(255*_e2.components[2])+")"; +}; +CGContextDrawLinearGradient=function(_e3,_e4,_e5,_e6,_e7){ +if(!_e3||!_e4){ +return; +} +var vml=nil; +if(_e4.vml_gradient){ +var _e8=objj_msgSend(objj_msgSend(_e4.vml_gradient,"stops"),"sortedArrayUsingSelector:",sel_getUid("comparePosition:")),_e9=objj_msgSend(_e8,"count"); +vml=[""); +}else{ +var _ea=_e4.colors,_e9=_ea.length; +vml=[""); +} +_e3.gState.gradient=vml.join(""); +}; +} +} +p;12;CGGeometry.jt;5891;@STATIC;1.0;t;5872; +CGPointMake=function(x,y){ +return {x:x,y:y}; +}; +CGPointMakeZero=function(){ +return {x:0,y:0}; +}; +CGPointMakeCopy=function(_1){ +return {x:_1.x,y:_1.y}; +}; +CGPointCreateCopy=function(_2){ +return {x:_2.x,y:_2.y}; +}; +CGPointEqualToPoint=function(_3,_4){ +return (_3.x==_4.x&&_3.y==_4.y); +}; +CGStringFromPoint=function(_5){ +return ("{"+_5.x+", "+_5.y+"}"); +}; +CGSizeMake=function(_6,_7){ +return {width:_6,height:_7}; +}; +CGSizeMakeZero=function(){ +return {width:0,height:0}; +}; +CGSizeMakeCopy=function(_8){ +return {width:_8.width,height:_8.height}; +}; +CGSizeCreateCopy=function(_9){ +return {width:_9.width,height:_9.height}; +}; +CGSizeEqualToSize=function(_a,_b){ +return (_a.width==_b.width&&_a.height==_b.height); +}; +CGStringFromSize=function(_c){ +return ("{"+_c.width+", "+_c.height+"}"); +}; +CGRectMake=function(x,y,_d,_e){ +return {origin:{x:x,y:y},size:{width:_d,height:_e}}; +}; +CGRectMakeZero=function(){ +return {origin:{x:0,y:0},size:{width:0,height:0}}; +}; +CGRectMakeCopy=function(_f){ +return {origin:{x:_f.origin.x,y:_f.origin.y},size:{width:_f.size.width,height:_f.size.height}}; +}; +CGRectCreateCopy=function(_10){ +return {origin:{x:_10.origin.x,y:_10.origin.y},size:{width:_10.size.width,height:_10.size.height}}; +}; +CGRectEqualToRect=function(_11,_12){ +return ((_11.origin.x==_12.origin.x&&_11.origin.y==_12.origin.y)&&(_11.size.width==_12.size.width&&_11.size.height==_12.size.height)); +}; +CGStringFromRect=function(_13){ +return ("{"+("{"+_13.origin.x+", "+_13.origin.y+"}")+", "+("{"+_13.size.width+", "+_13.size.height+"}")+"}"); +}; +CGRectOffset=function(_14,dX,dY){ +return {origin:{x:_14.origin.x+dX,y:_14.origin.y+dY},size:{width:_14.size.width,height:_14.size.height}}; +}; +CGRectInset=function(_15,dX,dY){ +return {origin:{x:_15.origin.x+dX,y:_15.origin.y+dY},size:{width:_15.size.width-2*dX,height:_15.size.height-2*dY}}; +}; +CGRectGetHeight=function(_16){ +return (_16.size.height); +}; +CGRectGetMaxX=function(_17){ +return (_17.origin.x+_17.size.width); +}; +CGRectGetMaxY=function(_18){ +return (_18.origin.y+_18.size.height); +}; +CGRectGetMidX=function(_19){ +return (_19.origin.x+(_19.size.width)/2); +}; +CGRectGetMidY=function(_1a){ +return (_1a.origin.y+(_1a.size.height)/2); +}; +CGRectGetMinX=function(_1b){ +return (_1b.origin.x); +}; +CGRectGetMinY=function(_1c){ +return (_1c.origin.y); +}; +CGRectGetWidth=function(_1d){ +return (_1d.size.width); +}; +CGRectIsEmpty=function(_1e){ +return (_1e.size.width<=0||_1e.size.height<=0); +}; +CGRectIsNull=function(_1f){ +return (_1f.size.width<=0||_1f.size.height<=0); +}; +CGRectContainsPoint=function(_20,_21){ +return (_21.x>=(_20.origin.x)&&_21.y>=(_20.origin.y)&&_21.x<(_20.origin.x+_20.size.width)&&_21.y<(_20.origin.y+_20.size.height)); +}; +CGInsetMake=function(top,_22,_23,_24){ +return {top:(top),right:(_22),bottom:(_23),left:(_24)}; +}; +CGInsetMakeZero=function(){ +return {top:(0),right:(0),bottom:(0),left:(0)}; +}; +CGInsetMakeCopy=function(_25){ +return {top:(_25.top),right:(_25.right),bottom:(_25.bottom),left:(_25.left)}; +}; +CGInsetIsEmpty=function(_26){ +return ((_26).top===0&&(_26).right===0&&(_26).bottom===0&&(_26).left===0); +}; +CGRectNull={origin:{x:Infinity,y:Infinity},size:{width:0,height:0}}; +CGRectContainsRect=function(_27,_28){ +var _29=CGRectUnion(_27,_28); +return ((_29.origin.x==_27.origin.x&&_29.origin.y==_27.origin.y)&&(_29.size.width==_27.size.width&&_29.size.height==_27.size.height)); +}; +CGRectIntersectsRect=function(_2a,_2b){ +var _2c=CGRectIntersection(_2a,_2b); +return !(_2c.size.width<=0||_2c.size.height<=0); +}; +CGRectIntegral=function(_2d){ +_2d=CGRectStandardize(_2d); +var x=FLOOR((_2d.origin.x)),y=FLOOR((_2d.origin.y)); +_2d.size.width=CEIL((_2d.origin.x+_2d.size.width))-x; +_2d.size.height=CEIL((_2d.origin.y+_2d.size.height))-y; +_2d.origin.x=x; +_2d.origin.y=y; +return _2d; +}; +CGRectIntersection=function(_2e,_2f){ +var _30={origin:{x:MAX((_2e.origin.x),(_2f.origin.x)),y:MAX((_2e.origin.y),(_2f.origin.y))},size:{width:0,height:0}}; +_30.size.width=MIN((_2e.origin.x+_2e.size.width),(_2f.origin.x+_2f.size.width))-(_30.origin.x); +_30.size.height=MIN((_2e.origin.y+_2e.size.height),(_2f.origin.y+_2f.size.height))-(_30.origin.y); +return (_30.size.width<=0||_30.size.height<=0)?{origin:{x:0,y:0},size:{width:0,height:0}}:_30; +}; +CGRectStandardize=function(_31){ +var _32=(_31.size.width),_33=(_31.size.height),_34={origin:{x:_31.origin.x,y:_31.origin.y},size:{width:_31.size.width,height:_31.size.height}}; +if(_32<0){ +_34.origin.x+=_32; +_34.size.width=-_32; +} +if(_33<0){ +_34.origin.y+=_33; +_34.size.height=-_33; +} +return _34; +}; +CGRectUnion=function(_35,_36){ +var _37=!_35||_35===CGRectNull,_38=!_36||_36===CGRectNull; +if(_37){ +return _38?CGRectNull:_36; +} +if(_38){ +return _37?CGRectNull:_35; +} +var _39=MIN((_35.origin.x),(_36.origin.x)),_3a=MIN((_35.origin.y),(_36.origin.y)),_3b=MAX((_35.origin.x+_35.size.width),(_36.origin.x+_36.size.width)),_3c=MAX((_35.origin.y+_35.size.height),(_36.origin.y+_36.size.height)); +return {origin:{x:_39,y:_3a},size:{width:_3b-_39,height:_3c-_3a}}; +}; +CGPointFromString=function(_3d){ +var _3e=_3d.indexOf(","); +return {x:parseInt(_3d.substr(1,_3e-1)),y:parseInt(_3d.substring(_3e+1,_3d.length))}; +}; +CGSizeFromString=function(_3f){ +var _40=_3f.indexOf(","); +return {width:parseInt(_3f.substr(1,_40-1)),height:parseInt(_3f.substring(_40+1,_3f.length))}; +}; +CGRectFromString=function(_41){ +var _42=_41.indexOf(",",_41.indexOf(",")+1); +return {origin:CGPointFromString(_41.substr(1,_42-1)),size:CGSizeFromString(_41.substring(_42+2,_41.length))}; +}; +CGPointFromEvent=function(_43){ +return {x:_43.clientX,y:_43.clientY}; +}; +CGInsetFromString=function(_44){ +var _45=_44.substr(1,_44.length-2).split(","); +return {top:(parseFloat(_45[0])),right:(parseFloat(_45[1])),bottom:(parseFloat(_45[2])),left:(parseFloat(_45[3]))}; +}; +CGInsetFromCPString=CGInsetFromString; +CPStringFromCGInset=function(_46){ +return "{"+_46.top+", "+_46.left+", "+_46.bottom+", "+_46.right+"}"; +}; +p;12;CGGradient.jt;622;@STATIC;1.0;i;9;CGColor.ji;14;CGColorSpace.jt;572; +objj_executeFile("CGColor.j",YES); +objj_executeFile("CGColorSpace.j",YES); +kCGGradientDrawsBeforeStartLocation=1<<0; +kCGGradientDrawsAfterEndLocation=1<<1; +CGGradientCreateWithColorComponents=function(_1,_2,_3,_4){ +if(arguments["count"]==NULL){ +var _4=_3.length; +} +var _5=[]; +while(_4--){ +var _6=_4*4; +_5[_4]=CGColorCreate(_1,_2.slice(_6,_6+4)); +} +return CGGradientCreateWithColors(_1,_5,_3); +}; +CGGradientCreateWithColors=function(_7,_8,_9){ +return {colorspace:_7,colors:_8,locations:_9}; +}; +CGGradientRelease=function(){ +}; +CGGradientRetain=function(_a){ +return _a; +}; +p;8;CGPath.jt;7466;@STATIC;1.0;i;12;CGGeometry.ji;19;CGAffineTransform.jt;7406; +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CGAffineTransform.j",YES); +kCGPathElementMoveToPoint=0; +kCGPathElementAddLineToPoint=1; +kCGPathElementAddQuadCurveToPoint=2; +kCGPathElementAddCurveToPoint=3; +kCGPathElementCloseSubpath=4; +kCGPathElementAddArc=5; +kCGPathElementAddArcToPoint=6; +CGPathCreateMutable=function(){ +return {count:0,start:NULL,current:NULL,elements:[]}; +}; +CGPathCreateMutableCopy=function(_1){ +var _2=CGPathCreateMutable(); +CGPathAddPath(_2,_1); +return _2; +}; +CGPathCreateCopy=function(_3){ +return CGPathCreateMutableCopy(_3); +}; +CGPathRelease=function(_4){ +}; +CGPathRetain=function(_5){ +return _5; +}; +CGPathAddArc=function(_6,_7,x,y,_8,_9,_a,_b){ +if(_7&&!(_7.a==1&&_7.b==0&&_7.c==0&&_7.d==1&&_7.tx==0&&_7.ty==0)){ +var _c={x:x,y:y},_d={x:COS(_a),y:SIN(_a)},_e={x:COS(_9),y:SIN(_9)}; +_d={x:_d.x*_7.a+_d.y*_7.c+_7.tx,y:_d.x*_7.b+_d.y*_7.d+_7.ty}; +_e={x:_e.x*_7.a+_e.y*_7.c+_7.tx,y:_e.x*_7.b+_e.y*_7.d+_7.ty}; +_c={x:_c.x*_7.a+_c.y*_7.c+_7.tx,y:_c.x*_7.b+_c.y*_7.d+_7.ty}; +x=_c.x; +y=_c.y; +var _f=_a,_10=_9; +_a=ATAN2(_d.y-_7.ty,_d.x-_7.tx); +_9=ATAN2(_e.y-_7.ty,_e.x-_7.tx); +if(_a==_9&&_f!=_10){ +if(_10>_f){ +_a=_a-PI2; +}else{ +_9=_9-PI2; +} +} +_8={width:_8,height:0}; +_8={width:_8.width*_7.a+_8.height*_7.c,height:_8.width*_7.b+_8.height*_7.d}; +_8=SQRT(_8.width*_8.width+_8.height*_8.height); +} +_6.current={x:x+_8*COS(_a),y:y+_8*SIN(_a)}; +_6.elements[_6.count++]={type:kCGPathElementAddArc,x:x,y:y,radius:_8,startAngle:_9,endAngle:_a}; +}; +CGPathAddArcToPoint=function(_11,_12,x1,y1,x2,y2,_13){ +}; +CGPathAddCurveToPoint=function(_14,_15,_16,_17,_18,_19,x,y){ +var cp1={x:_16,y:_17},cp2={x:_18,y:_19},end={x:x,y:y}; +if(_15){ +cp1={x:cp1.x*_15.a+cp1.y*_15.c+_15.tx,y:cp1.x*_15.b+cp1.y*_15.d+_15.ty}; +cp2={x:cp2.x*_15.a+cp2.y*_15.c+_15.tx,y:cp2.x*_15.b+cp2.y*_15.d+_15.ty}; +end={x:end.x*_15.a+end.y*_15.c+_15.tx,y:end.x*_15.b+end.y*_15.d+_15.ty}; +} +_14.current=end; +_14.elements[_14.count++]={type:kCGPathElementAddCurveToPoint,cp1x:cp1.x,cp1y:cp1.y,cp2x:cp2.x,cp2y:cp2.y,x:end.x,y:end.y}; +}; +CGPathAddLines=function(_1a,_1b,_1c,_1d){ +var i=1; +if(arguments["count"]==NULL){ +var _1d=_1c.length; +} +if(!_1a||_1d<2){ +return; +} +CGPathMoveToPoint(_1a,_1b,_1c[0].x,_1c[0].y); +for(;i<_1d;++i){ +CGPathAddLineToPoint(_1a,_1b,_1c[i].x,_1c[i].y); +} +}; +CGPathAddLineToPoint=function(_1e,_1f,x,y){ +var _20={x:x,y:y}; +if(_1f!=NULL){ +_20={x:_20.x*_1f.a+_20.y*_1f.c+_1f.tx,y:_20.x*_1f.b+_20.y*_1f.d+_1f.ty}; +} +_1e.elements[_1e.count++]={type:kCGPathElementAddLineToPoint,x:_20.x,y:_20.y}; +_1e.current=_20; +}; +CGPathAddPath=function(_21,_22,_23){ +for(var i=0,_24=_23.count;i<_24;++i){ +var _25=_23.elements[i]; +switch(_25.type){ +case kCGPathElementAddLineToPoint: +CGPathAddLineToPoint(_21,_22,_25.x,_25.y); +break; +case kCGPathElementAddCurveToPoint: +CGPathAddCurveToPoint(_21,_22,_25.cp1x,_25.cp1y,_25.cp2x,_25.cp2y,_25.x,_25.y); +break; +case kCGPathElementAddArc: +CGPathAddArc(_21,_22,_25.x,_25.y,_25.radius,_25.startAngle,_25.endAngle,_25.isClockwise); +break; +case kCGPathElementAddQuadCurveToPoint: +CGPathAddQuadCurveToPoint(_21,_22,_25.cpx,_25.cpy,_25.x,_25.y); +break; +case kCGPathElementMoveToPoint: +CGPathMoveToPoint(_21,_22,_25.x,_25.y); +break; +case kCGPathElementCloseSubpath: +CGPathCloseSubpath(_21); +break; +} +} +}; +CGPathAddQuadCurveToPoint=function(_26,_27,cpx,cpy,x,y){ +var cp={x:cpx,y:cpy},end={x:x,y:y}; +if(_27){ +cp={x:cp.x*_27.a+cp.y*_27.c+_27.tx,y:cp.x*_27.b+cp.y*_27.d+_27.ty}; +end={x:end.x*_27.a+end.y*_27.c+_27.tx,y:end.x*_27.b+end.y*_27.d+_27.ty}; +} +_26.elements[_26.count++]={type:kCGPathElementAddQuadCurveToPoint,cpx:cp.x,cpy:cp.y,x:end.x,y:end.y}; +_26.current=end; +}; +CGPathAddRect=function(_28,_29,_2a){ +CGPathAddRects(_28,_29,[_2a],1); +}; +CGPathAddRects=function(_2b,_2c,_2d,_2e){ +var i=0; +if(arguments["count"]==NULL){ +var _2e=_2d.length; +} +for(;i<_2e;++i){ +var _2f=_2d[i]; +CGPathMoveToPoint(_2b,_2c,(_2f.origin.x),(_2f.origin.y)); +CGPathAddLineToPoint(_2b,_2c,(_2f.origin.x+_2f.size.width),(_2f.origin.y)); +CGPathAddLineToPoint(_2b,_2c,(_2f.origin.x+_2f.size.width),(_2f.origin.y+_2f.size.height)); +CGPathAddLineToPoint(_2b,_2c,(_2f.origin.x),(_2f.origin.y+_2f.size.height)); +CGPathCloseSubpath(_2b); +} +}; +CGPathMoveToPoint=function(_30,_31,x,y){ +var _32={x:x,y:y},_33=_30.count; +if(_31!=NULL){ +_32={x:_32.x*_31.a+_32.y*_31.c+_31.tx,y:_32.x*_31.b+_32.y*_31.d+_31.ty}; +} +_30.start=_32; +_30.current=_32; +var _34=_30.elements[_33-1]; +if(_33!=0&&_34.type==kCGPathElementMoveToPoint){ +_34.x=_32.x; +_34.y=_32.y; +}else{ +_30.elements[_30.count++]={type:kCGPathElementMoveToPoint,x:_32.x,y:_32.y}; +} +}; +var _35=4*((SQRT2-1)/3); +CGPathWithEllipseInRect=function(_36){ +var _37=CGPathCreateMutable(); +if((_36.size.width)==(_36.size.height)){ +CGPathAddArc(_37,nil,(_36.origin.x+(_36.size.width)/2),(_36.origin.y+(_36.size.height)/2),(_36.size.width)/2,0,2*PI,YES); +}else{ +var _38={width:(_36.size.width)/2,height:(_36.size.height)/2},_39={x:(_36.origin.x)+_38.width,y:(_36.origin.y)+_38.height}; +CGPathMoveToPoint(_37,nil,_39.x,_39.y-_38.height); +CGPathAddCurveToPoint(_37,nil,_39.x+(_35*_38.width),_39.y-_38.height,_39.x+_38.width,_39.y-(_35*_38.height),_39.x+_38.width,_39.y); +CGPathAddCurveToPoint(_37,nil,_39.x+_38.width,_39.y+(_35*_38.height),_39.x+(_35*_38.width),_39.y+_38.height,_39.x,_39.y+_38.height); +CGPathAddCurveToPoint(_37,nil,_39.x-(_35*_38.width),_39.y+_38.height,_39.x-_38.width,_39.y+(_35*_38.height),_39.x-_38.width,_39.y); +CGPathAddCurveToPoint(_37,nil,_39.x-_38.width,_39.y-(_35*_38.height),_39.x-(_35*_38.width),_39.y-_38.height,_39.x,_39.y-_38.height); +} +CGPathCloseSubpath(_37); +return _37; +}; +CGPathWithRoundedRectangleInRect=function(_3a,_3b,_3c,ne,se,sw,nw){ +var _3d=CGPathCreateMutable(),_3e=(_3a.origin.x),_3f=(_3a.origin.x+_3a.size.width),_40=(_3a.origin.y),_41=(_3a.origin.y+_3a.size.height); +CGPathMoveToPoint(_3d,nil,_3e+_3b,_40); +if(ne){ +CGPathAddLineToPoint(_3d,nil,_3f-_3b,_40); +CGPathAddCurveToPoint(_3d,nil,_3f-_3b,_40,_3f,_40,_3f,_40+_3b); +}else{ +CGPathAddLineToPoint(_3d,nil,_3f,_40); +} +if(se){ +CGPathAddLineToPoint(_3d,nil,_3f,_41-_3b); +CGPathAddCurveToPoint(_3d,nil,_3f,_41-_3b,_3f,_41,_3f-_3b,_41); +}else{ +CGPathAddLineToPoint(_3d,nil,_3f,_41); +} +if(sw){ +CGPathAddLineToPoint(_3d,nil,_3e+_3b,_41); +CGPathAddCurveToPoint(_3d,nil,_3e+_3b,_41,_3e,_41,_3e,_41-_3b); +}else{ +CGPathAddLineToPoint(_3d,nil,_3e,_41); +} +if(nw){ +CGPathAddLineToPoint(_3d,nil,_3e,_40+_3b); +CGPathAddCurveToPoint(_3d,nil,_3e,_40+_3b,_3e,_40,_3e+_3b,_40); +}else{ +CGPathAddLineToPoint(_3d,nil,_3e,_40); +} +CGPathCloseSubpath(_3d); +return _3d; +}; +CGPathCloseSubpath=function(_42){ +var _43=_42.count; +if(_43==0||_42.elements[_43-1].type==kCGPathElementCloseSubpath){ +return; +} +_42.elements[_42.count++]={type:kCGPathElementCloseSubpath,points:[_42.start]}; +}; +CGPathEqualToPath=function(_44,_45){ +if(_44==_45){ +return YES; +} +if(_44.count!=_45.count||!(_44.start.x==_45.start.x&&_44.start.y==_45.start.y)||!(_44.current.x==_45.current.x&&_44.current.y==_45.current.y)){ +return NO; +} +var i=0,_46=_44.count; +for(;i<_46;++i){ +var _47=_44[i],_48=_45[i]; +if(_47.type!=_48.type){ +return NO; +} +if((_47.type==kCGPathElementAddArc||_47.type==kCGPathElementAddArcToPoint)&&_47.radius!=_48.radius){ +return NO; +} +var j=_47.points.length; +while(j--){ +if(!(_47.points[j].x==_48.points[j].x&&_47.points[j].y==_48.points[j].y)){ +return NO; +} +} +} +return YES; +}; +CGPathGetCurrentPoint=function(_49){ +return {x:_49.current.x,y:_49.current.y}; +}; +CGPathIsEmpty=function(_4a){ +return !_4a||_4a.count==0; +}; +p;18;_CPMenuBarWindow.jt;12977;@STATIC;1.0;i;15;_CPMenuWindow.jt;12937; +objj_executeFile("_CPMenuWindow.j",YES); +var _1=28,_2=10,_3=10,_4=10; +var _5=nil,_6=nil; +var _7=objj_allocateClassPair(CPPanel,"_CPMenuBarWindow"),_8=_7.isa; +class_addIvars(_7,[new objj_ivar("_menu"),new objj_ivar("_highlightView"),new objj_ivar("_menuItemViews"),new objj_ivar("_trackingMenuItem"),new objj_ivar("_iconImageView"),new objj_ivar("_titleField"),new objj_ivar("_textColor"),new objj_ivar("_titleColor"),new objj_ivar("_textShadowColor"),new objj_ivar("_titleShadowColor"),new objj_ivar("_highlightColor"),new objj_ivar("_highlightTextColor"),new objj_ivar("_highlightTextShadowColor")]); +objj_registerClassPair(_7); +class_addMethods(_7,[new objj_method(sel_getUid("init"),function(_9,_a){ +with(_9){ +var _b=objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"contentBounds"); +_b.size.height=_1; +_9=objj_msgSendSuper({receiver:_9,super_class:objj_getClass("_CPMenuBarWindow").super_class},"initWithContentRect:styleMask:",_b,CPBorderlessWindowMask); +if(_9){ +objj_msgSend(_9,"setLevel:",CPMainMenuWindowLevel); +objj_msgSend(_9,"setAutoresizingMask:",CPWindowWidthSizable); +var _c=objj_msgSend(_9,"contentView"); +objj_msgSend(_c,"setAutoresizesSubviews:",NO); +objj_msgSend(_9,"setBecomesKeyOnlyIfNeeded:",YES); +_iconImageView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(0,0,16,16)); +objj_msgSend(_c,"addSubview:",_iconImageView); +_titleField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_titleField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",13)); +objj_msgSend(_titleField,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_titleField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_c,"addSubview:",_titleField); +} +return _9; +} +}),new objj_method(sel_getUid("setTitle:"),function(_d,_e,_f){ +with(_d){ +objj_msgSend(_titleField,"setStringValue:",_f); +objj_msgSend(_titleField,"sizeToFit"); +objj_msgSend(_d,"tile"); +} +}),new objj_method(sel_getUid("setIconImage:"),function(_10,_11,_12){ +with(_10){ +objj_msgSend(_iconImageView,"setImage:",_12); +objj_msgSend(_iconImageView,"setHidden:",_12==nil); +objj_msgSend(_10,"tile"); +} +}),new objj_method(sel_getUid("setIconImageAlphaValue:"),function(_13,_14,_15){ +with(_13){ +objj_msgSend(_iconImageView,"setAlphaValue:",_15); +} +}),new objj_method(sel_getUid("setColor:"),function(_16,_17,_18){ +with(_16){ +if(!_18){ +if(!_5){ +_5=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_CPMenuBarWindow,"class")),"pathForResource:","_CPMenuBarWindow/_CPMenuBarWindowBackground.png"),CGSizeMake(1,28))); +} +objj_msgSend(objj_msgSend(_16,"contentView"),"setBackgroundColor:",_5); +}else{ +objj_msgSend(objj_msgSend(_16,"contentView"),"setBackgroundColor:",_18); +} +} +}),new objj_method(sel_getUid("setTextColor:"),function(_19,_1a,_1b){ +with(_19){ +if(_textColor==_1b){ +return; +} +_textColor=_1b; +objj_msgSend(_menuItemViews,"makeObjectsPerformSelector:withObject:",sel_getUid("setTextColor:"),_textColor); +} +}),new objj_method(sel_getUid("setTitleColor:"),function(_1c,_1d,_1e){ +with(_1c){ +if(_titleColor==_1e){ +return; +} +_titleColor=_1e; +objj_msgSend(_titleField,"setTextColor:",_1e?_1e:objj_msgSend(CPColor,"blackColor")); +} +}),new objj_method(sel_getUid("setTextShadowColor:"),function(_1f,_20,_21){ +with(_1f){ +if(_textShadowColor==_21){ +return; +} +_textShadowColor=_21; +objj_msgSend(_menuItemViews,"makeObjectsPerformSelector:withObject:",sel_getUid("setTextShadowColor:"),_textShadowColor); +} +}),new objj_method(sel_getUid("setTitleShadowColor:"),function(_22,_23,_24){ +with(_22){ +if(_titleShadowColor==_24){ +return; +} +_titleShadowColor=_24; +objj_msgSend(_titleField,"setTextShadowColor:",_24?_24:objj_msgSend(CPColor,"whiteColor")); +} +}),new objj_method(sel_getUid("setHighlightColor:"),function(_25,_26,_27){ +with(_25){ +if(_highlightColor==_27){ +return; +} +_highlightColor=_27; +} +}),new objj_method(sel_getUid("setHighlightTextColor:"),function(_28,_29,_2a){ +with(_28){ +if(_highlightTextColor==_2a){ +return; +} +_highlightTextColor=_2a; +} +}),new objj_method(sel_getUid("setHighlightTextShadowColor:"),function(_2b,_2c,_2d){ +with(_2b){ +if(_highlightTextShadowColor==_2d){ +return; +} +_highlightTextShadowColor=_2d; +} +}),new objj_method(sel_getUid("setMenu:"),function(_2e,_2f,_30){ +with(_2e){ +if(_menu==_30){ +return; +} +var _31=objj_msgSend(CPNotificationCenter,"defaultCenter"); +if(_menu){ +objj_msgSend(_31,"removeObserver:name:object:",_2e,CPMenuDidAddItemNotification,_menu); +objj_msgSend(_31,"removeObserver:name:object:",_2e,CPMenuDidChangeItemNotification,_menu); +objj_msgSend(_31,"removeObserver:name:object:",_2e,CPMenuDidRemoveItemNotification,_menu); +var _32=objj_msgSend(_menu,"itemArray"),_33=_32.length; +while(_33--){ +objj_msgSend(objj_msgSend(_32[_33],"_menuItemView"),"removeFromSuperview"); +} +} +_menu=_30; +if(_menu){ +objj_msgSend(_31,"addObserver:selector:name:object:",_2e,sel_getUid("menuDidAddItem:"),CPMenuDidAddItemNotification,_menu); +objj_msgSend(_31,"addObserver:selector:name:object:",_2e,sel_getUid("menuDidChangeItem:"),CPMenuDidChangeItemNotification,_menu); +objj_msgSend(_31,"addObserver:selector:name:object:",_2e,sel_getUid("menuDidRemoveItem:"),CPMenuDidRemoveItemNotification,_menu); +} +_menuItemViews=[]; +var _34=objj_msgSend(_2e,"contentView"),_32=objj_msgSend(_menu,"itemArray"),_33=_32.length; +for(index=0;index<_33;++index){ +var _35=_32[index],_36=objj_msgSend(_35,"_menuItemView"); +_menuItemViews.push(_36); +objj_msgSend(_36,"setTextColor:",_textColor); +objj_msgSend(_36,"setHidden:",objj_msgSend(_35,"isHidden")); +objj_msgSend(_36,"synchronizeWithMenuItem"); +objj_msgSend(_34,"addSubview:",_36); +} +objj_msgSend(_2e,"tile"); +} +}),new objj_method(sel_getUid("menuDidChangeItem:"),function(_37,_38,_39){ +with(_37){ +var _3a=objj_msgSend(_menu,"itemAtIndex:",objj_msgSend(objj_msgSend(_39,"userInfo"),"objectForKey:","CPMenuItemIndex")),_3b=objj_msgSend(_3a,"_menuItemView"); +objj_msgSend(_3b,"setHidden:",objj_msgSend(_3a,"isHidden")); +objj_msgSend(_3b,"synchronizeWithMenuItem"); +objj_msgSend(_37,"tile"); +} +}),new objj_method(sel_getUid("menuDidAddItem:"),function(_3c,_3d,_3e){ +with(_3c){ +var _3f=objj_msgSend(objj_msgSend(_3e,"userInfo"),"objectForKey:","CPMenuItemIndex"),_40=objj_msgSend(_menu,"itemAtIndex:",_3f),_41=objj_msgSend(_40,"_menuItemView"); +objj_msgSend(_menuItemViews,"insertObject:atIndex:",_41,_3f); +objj_msgSend(_41,"setTextColor:",_textColor); +objj_msgSend(_41,"setHidden:",objj_msgSend(_40,"isHidden")); +objj_msgSend(_41,"synchronizeWithMenuItem"); +objj_msgSend(objj_msgSend(_3c,"contentView"),"addSubview:",_41); +objj_msgSend(_3c,"tile"); +} +}),new objj_method(sel_getUid("menuDidRemoveItem:"),function(_42,_43,_44){ +with(_42){ +var _45=objj_msgSend(objj_msgSend(_44,"userInfo"),"objectForKey:","CPMenuItemIndex"),_46=objj_msgSend(_menuItemViews,"objectAtIndex:",_45); +objj_msgSend(_menuItemViews,"removeObjectAtIndex:",_45); +objj_msgSend(_46,"removeFromSuperview"); +objj_msgSend(_42,"tile"); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_47,_48,_49){ +with(_47){ +var _4a=CGRectInset(objj_msgSend(objj_msgSend(_47,"platformWindow"),"visibleFrame"),5,0); +_4a.size.height-=5; +objj_msgSend(objj_msgSend(_CPMenuManager,"sharedMenuManager"),"beginTracking:menuContainer:constraintRect:callback:",_49,_47,_4a,function(_4b,_4c){ +objj_msgSend(_4c,"_performActionOfHighlightedItemChain"); +objj_msgSend(_4c,"_highlightItemAtIndex:",CPNotFound); +}); +} +}),new objj_method(sel_getUid("font"),function(_4d,_4e){ +with(_4d){ +objj_msgSend(CPFont,"systemFontOfSize:",12); +} +}),new objj_method(sel_getUid("tile"),function(_4f,_50){ +with(_4f){ +var _51=objj_msgSend(_menu,"itemArray"),_52=0,_53=_51.length,x=_3,y=0,_54=YES; +for(;_52<_53;++_52){ +var _55=_51[_52]; +if(objj_msgSend(_55,"isSeparatorItem")){ +x=CGRectGetWidth(objj_msgSend(_4f,"frame"))-_4; +_54=NO; +continue; +} +if(objj_msgSend(_55,"isHidden")){ +continue; +} +var _56=objj_msgSend(_55,"_menuItemView"),_57=objj_msgSend(_56,"frame"); +if(_54){ +objj_msgSend(_56,"setFrame:",CGRectMake(x,0,CGRectGetWidth(_57),_1)); +x+=CGRectGetWidth(objj_msgSend(_56,"frame")); +}else{ +objj_msgSend(_56,"setFrame:",CGRectMake(x-CGRectGetWidth(_57),0,CGRectGetWidth(_57),_1)); +x=CGRectGetMinX(objj_msgSend(_56,"frame")); +} +} +var _58=objj_msgSend(objj_msgSend(_4f,"contentView"),"bounds"),_59=objj_msgSend(_titleField,"frame"); +if(objj_msgSend(_iconImageView,"isHidden")){ +objj_msgSend(_titleField,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_58)-CGRectGetWidth(_59))/2,(CGRectGetHeight(_58)-CGRectGetHeight(_59))/2)); +}else{ +var _5a=objj_msgSend(_iconImageView,"frame"),_5b=CGRectGetWidth(_5a),_5c=_5b+CGRectGetWidth(_59); +objj_msgSend(_iconImageView,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_58)-_5c)/2,(CGRectGetHeight(_58)-CGRectGetHeight(_5a))/2)); +objj_msgSend(_titleField,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_58)-_5c)/2+_5b,(CGRectGetHeight(_58)-CGRectGetHeight(_59))/2)); +} +} +}),new objj_method(sel_getUid("setFrame:display:animate:"),function(_5d,_5e,_5f,_60,_61){ +with(_5d){ +var _62=objj_msgSend(_5d,"frame").size; +objj_msgSendSuper({receiver:_5d,super_class:objj_getClass("_CPMenuBarWindow").super_class},"setFrame:display:animate:",_5f,_60,_61); +if(!(_62.width==_5f.size.width&&_62.height==_5f.size.height)){ +objj_msgSend(_5d,"tile"); +} +} +})]); +class_addMethods(_8,[new objj_method(sel_getUid("initialize"),function(_63,_64){ +with(_63){ +if(_63!=objj_msgSend(_CPMenuBarWindow,"class")){ +return; +} +var _65=objj_msgSend(CPBundle,"bundleForClass:",_63); +_6=objj_msgSend(CPFont,"boldSystemFontOfSize:",12); +} +}),new objj_method(sel_getUid("font"),function(_66,_67){ +with(_66){ +return _6; +} +})]); +var _7=objj_getClass("_CPMenuBarWindow"); +if(!_7){ +throw new SyntaxError("*** Could not find definition for class \"_CPMenuBarWindow\""); +} +var _8=_7.isa; +class_addMethods(_7,[new objj_method(sel_getUid("isMenuBar"),function(_68,_69){ +with(_68){ +return YES; +} +}),new objj_method(sel_getUid("globalFrame"),function(_6a,_6b){ +with(_6a){ +return objj_msgSend(_6a,"frame"); +} +}),new objj_method(sel_getUid("scrollingStateForPoint:"),function(_6c,_6d,_6e){ +with(_6c){ +return _CPMenuManagerScrollingStateNone; +} +}),new objj_method(sel_getUid("itemIndexAtPoint:"),function(_6f,_70,_71){ +with(_6f){ +var _72=objj_msgSend(_menu,"itemArray"),_73=_72.length; +while(_73--){ +var _74=_72[_73]; +if(objj_msgSend(_74,"isHidden")||objj_msgSend(_74,"isSeparatorItem")){ +continue; +} +if(CGRectContainsPoint(objj_msgSend(_6f,"rectForItemAtIndex:",_73),_71)){ +return _73; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("rectForItemAtIndex:"),function(_75,_76,_77){ +with(_75){ +var _78=objj_msgSend(_menu,"itemAtIndex:",_77===CPNotFound?0:_77); +return objj_msgSend(objj_msgSend(_78,"_menuItemView"),"frame"); +} +})]); +var _7=objj_allocateClassPair(_CPMenuView,"_CPMenuBarView"),_8=_7.isa; +objj_registerClassPair(_7); +class_addMethods(_7,[new objj_method(sel_getUid("rectForItemAtIndex:"),function(_79,_7a,_7b){ +with(_79){ +return objj_msgSend(_menuItemViews[_7b===CPNotFound?0:_7b],"frame"); +} +}),new objj_method(sel_getUid("itemIndexAtPoint:"),function(_7c,_7d,_7e){ +with(_7c){ +var _7f=objj_msgSend(_7c,"bounds"); +if(!CGRectContainsPoint(_7f,_7e)){ +return CPNotFound; +} +var x=_7e.x,low=0,_80=_visibleMenuItemInfos.length-1; +while(low<=_80){ +var _81=FLOOR(low+(_80-low)/2),_82=_visibleMenuItemInfos[_81],_83=objj_msgSend(_82.view,"frame"); +if(xCGRectGetMaxX(_83)){ +low=_81+1; +}else{ +return _82.index; +} +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("tile"),function(_84,_85){ +with(_84){ +var _86=objj_msgSend(_menu,"itemArray"),_87=0,_88=_86.length,x=_3,y=0,_89=YES; +for(;_87<_88;++_87){ +var _8a=_86[_87]; +if(objj_msgSend(_8a,"isSeparatorItem")){ +x=CGRectGetWidth(objj_msgSend(_84,"frame"))-_4; +_89=NO; +continue; +} +if(objj_msgSend(_8a,"isHidden")){ +continue; +} +var _8b=objj_msgSend(_8a,"_menuItemView"),_8c=objj_msgSend(_8b,"frame"); +if(_89){ +objj_msgSend(_8b,"setFrameOrigin:",CGPointMake(x,(_1-1-CGRectGetHeight(_8c))/2)); +x+=CGRectGetWidth(objj_msgSend(_8b,"frame"))+_2; +}else{ +objj_msgSend(_8b,"setFrameOrigin:",CGPointMake(x-CGRectGetWidth(_8c),(_1-1-CGRectGetHeight(_8c))/2)); +x=CGRectGetMinX(objj_msgSend(_8b,"frame"))-_2; +} +} +var _8d=objj_msgSend(objj_msgSend(_84,"contentView"),"bounds"),_8e=objj_msgSend(_titleField,"frame"); +if(objj_msgSend(_iconImageView,"isHidden")){ +objj_msgSend(_titleField,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_8d)-CGRectGetWidth(_8e))/2,(CGRectGetHeight(_8d)-CGRectGetHeight(_8e))/2)); +}else{ +var _8f=objj_msgSend(_iconImageView,"frame"),_90=CGRectGetWidth(_8f),_91=_90+CGRectGetWidth(_8e); +objj_msgSend(_iconImageView,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_8d)-_91)/2,(CGRectGetHeight(_8d)-CGRectGetHeight(_8f))/2)); +objj_msgSend(_titleField,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_8d)-_91)/2+_90,(CGRectGetHeight(_8d)-CGRectGetHeight(_8e))/2)); +} +} +})]); +p;16;_CPMenuManager.jt;8469;@STATIC;1.0;I;21;Foundation/CPObject.jt;8424; +objj_executeFile("Foundation/CPObject.j",NO); +_CPMenuManagerScrollingStateUp=-1,_CPMenuManagerScrollingStateDown=1,_CPMenuManagerScrollingStateNone=0; +var _1=500; +var _2=nil; +var _3=objj_allocateClassPair(CPObject,"_CPMenuManager"),_4=_3.isa; +class_addIvars(_3,[new objj_ivar("_startTime"),new objj_ivar("_scrollingState"),new objj_ivar("_lastGlobalLocation"),new objj_ivar("_lastMouseOverMenuView"),new objj_ivar("_constraintRect"),new objj_ivar("_menuContainerStack"),new objj_ivar("_trackingCallback")]); +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("init"),function(_5,_6){ +with(_5){ +if(_2){ +return _2; +} +return objj_msgSendSuper({receiver:_5,super_class:objj_getClass("_CPMenuManager").super_class},"init"); +} +}),new objj_method(sel_getUid("trackingMenuContainer"),function(_7,_8){ +with(_7){ +return _menuContainerStack[0]; +} +}),new objj_method(sel_getUid("trackingMenu"),function(_9,_a){ +with(_9){ +return objj_msgSend(objj_msgSend(_9,"trackingMenuContainer"),"menu"); +} +}),new objj_method(sel_getUid("beginTracking:menuContainer:constraintRect:callback:"),function(_b,_c,_d,_e,_f,_10){ +with(_b){ +var _11=objj_msgSend(_e,"menu"); +CPApp._activeMenu=_11; +_startTime=objj_msgSend(_d,"timestamp"); +_scrollingState=_CPMenuManagerScrollingStateNone; +_constraintRect=_f; +_menuContainerStack=[_e]; +_trackingCallback=_10; +if(_11===objj_msgSend(CPApp,"mainMenu")){ +var _12=objj_msgSend(_d,"globalLocation"); +var _13=objj_msgSend(_e,"convertGlobalToBase:",_12); +var _14=objj_msgSend(_e,"itemIndexAtPoint:",_13),_15=_14!==CPNotFound?objj_msgSend(_11,"itemAtIndex:",_14):nil; +_menuBarButtonItemIndex=_14; +_menuBarButtonMenuContainer=_e; +if(objj_msgSend(_15,"_isMenuBarButton")){ +return objj_msgSend(_b,"trackMenuBarButtonEvent:",_d); +} +} +objj_msgSend(_b,"trackEvent:",_d); +} +}),new objj_method(sel_getUid("trackEvent:"),function(_16,_17,_18){ +with(_16){ +var _19=objj_msgSend(_18,"type"),_1a=objj_msgSend(_16,"trackingMenu"); +if(_19===CPAppKitDefined){ +return objj_msgSend(_16,"completeTracking"); +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_16,sel_getUid("trackEvent:"),CPPeriodicMask|CPMouseMovedMask|CPLeftMouseDraggedMask|CPLeftMouseUpMask|CPAppKitDefinedMask,nil,nil,YES); +var _1b=_19===CPPeriodic?_lastGlobalLocation:objj_msgSend(_18,"globalLocation"); +_lastGlobalLocation=_1b; +var _1c=objj_msgSend(_16,"menuContainerForPoint:",_1b),_1d=objj_msgSend(_1c,"menu"),_1e=objj_msgSend(_1c,"convertGlobalToBase:",_1b); +var _1f=_1c?objj_msgSend(_1c,"itemIndexAtPoint:",_1e):CPNotFound,_20=_1f!==CPNotFound?objj_msgSend(_1d,"itemAtIndex:",_1f):nil; +if(!objj_msgSend(_20,"isEnabled")||objj_msgSend(_20,"_isMenuBarButton")){ +_1f=CPNotFound; +_20=nil; +} +var _21=objj_msgSend(_20,"view"); +if(_19===CPPeriodic){ +if(_scrollingState===_CPMenuManagerScrollingStateUp){ +objj_msgSend(_1c,"scrollUp"); +}else{ +if(_scrollingState===_CPMenuManagerScrollingStateDown){ +objj_msgSend(_1c,"scrollDown"); +} +} +} +if(_21){ +if(!_lastMouseOverMenuView){ +objj_msgSend(_1d,"_highlightItemAtIndex:",CPNotFound); +} +if(_lastMouseOverMenuView!=_21){ +objj_msgSend(_21,"mouseExited:",_18); +objj_msgSend(_lastMouseOverMenuView,"mouseEntered:",_18); +_lastMouseOverMenuView=_21; +} +var _22=_1c; +if(!objj_msgSend(_22,"isKindOfClass:",objj_msgSend(CPWindow,"class"))){ +_22=objj_msgSend(_22,"window"); +} +objj_msgSend(_22,"sendEvent:",objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",_19,_1e,objj_msgSend(_18,"modifierFlags"),objj_msgSend(_18,"timestamp"),_22,nil,0,objj_msgSend(_18,"clickCount"),objj_msgSend(_18,"pressure"))); +}else{ +if(_lastMouseOverMenuView){ +objj_msgSend(_lastMouseOverMenuView,"mouseExited:",_18); +_lastMouseOverMenuView=nil; +} +objj_msgSend(_1d,"_highlightItemAtIndex:",_1f); +if(_19===CPMouseMoved||_19===CPLeftMouseDragged||_19===CPLeftMouseDown){ +var _23=_scrollingState; +_scrollingState=objj_msgSend(_1c,"scrollingStateForPoint:",_1b); +if(_scrollingState!==_23){ +if(_scrollingState===_CPMenuManagerScrollingStateNone){ +objj_msgSend(CPEvent,"stopPeriodicEvents"); +}else{ +if(_23===_CPMenuManagerScrollingStateNone){ +objj_msgSend(CPEvent,"startPeriodicEventsAfterDelay:withPeriod:",0,0.04); +} +} +} +}else{ +if(_19===CPLeftMouseUp&&(objj_msgSend(_18,"timestamp")-_startTime>_1)){ +objj_msgSend(_1a,"cancelTracking"); +} +} +} +if(objj_msgSend(_20,"hasSubmenu")){ +var _24=objj_msgSend(_1c,"rectForItemAtIndex:",_1f); +if(objj_msgSend(_1c,"isMenuBar")){ +var _25=CGPointMake(CGRectGetMinX(_24),CGRectGetMaxY(_24)); +}else{ +var _25=CGPointMake(CGRectGetMaxX(_24),CGRectGetMinY(_24)); +} +_25=objj_msgSend(_1c,"convertBaseToGlobal:",_25); +objj_msgSend(_16,"showMenu:fromMenu:atPoint:",objj_msgSend(_20,"submenu"),objj_msgSend(_20,"menu"),_25); +}else{ +objj_msgSend(_16,"showMenu:fromMenu:atPoint:",nil,_1d,CGPointMakeZero()); +} +} +}),new objj_method(sel_getUid("trackMenuBarButtonEvent:"),function(_26,_27,_28){ +with(_26){ +var _29=objj_msgSend(_28,"type"); +if(_29===CPAppKitDefined){ +return objj_msgSend(_26,"completeTracking"); +} +var _2a=objj_msgSend(_28,"globalLocation"); +var _2b=objj_msgSend(_26,"trackingMenu"),_2c=objj_msgSend(_26,"trackingMenuContainer"),_2d=objj_msgSend(_2c,"convertGlobalToBase:",_2a); +if(objj_msgSend(_2c,"itemIndexAtPoint:",_2d)===_menuBarButtonItemIndex){ +objj_msgSend(_2b,"_highlightItemAtIndex:",_menuBarButtonItemIndex); +}else{ +objj_msgSend(_2b,"_highlightItemAtIndex:",CPNotFound); +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_26,sel_getUid("trackMenuBarButtonEvent:"),CPPeriodicMask|CPMouseMovedMask|CPLeftMouseDraggedMask|CPLeftMouseUpMask|CPAppKitDefinedMask,nil,nil,YES); +if(_29===CPLeftMouseUp){ +objj_msgSend(_2b,"cancelTracking"); +} +} +}),new objj_method(sel_getUid("completeTracking"),function(_2e,_2f){ +with(_2e){ +var _30=objj_msgSend(_2e,"trackingMenu"); +objj_msgSend(CPEvent,"stopPeriodicEvents"); +var _31=objj_msgSend(_30,"highlightedItem"); +objj_msgSend(_2e,"showMenu:fromMenu:atPoint:",nil,_30,nil); +var _32=objj_msgSend(_30,"delegate"); +if(objj_msgSend(_32,"respondsToSelector:",sel_getUid("menuDidClose:"))){ +objj_msgSend(_32,"menuDidClose:",_30); +} +if(_trackingCallback){ +_trackingCallback(objj_msgSend(_2e,"trackingMenuContainer"),_30); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPMenuDidEndTrackingNotification,_30); +CPApp._activeMenu=nil; +} +}),new objj_method(sel_getUid("menuContainerForPoint:"),function(_33,_34,_35){ +with(_33){ +var _36=objj_msgSend(_menuContainerStack,"count"),_37=_menuContainerStack[0]; +if(_36===1){ +return _37; +} +var _38=0,_39=_36-1; +if(objj_msgSend(_37,"isMenuBar")){ +if(CGRectContainsPoint(objj_msgSend(_37,"globalFrame"),_35)){ +return _37; +} +_38=1; +} +var _3a=_36,x=_35.x,_3b=Infinity,_3c=nil; +while(_3a-->_38){ +var _3d=_menuContainerStack[_3a],_3e=objj_msgSend(_3d,"globalFrame"),_3f=(_3e.origin.x),_40=(_3e.origin.x+_3e.size.width); +if(x<_40&&x>=_3f){ +return _3d; +} +if(_3a===_38||_3a===_39){ +var _41=ABS(x<_3f?_3f-x:_40-x); +if(_41<_3b){ +_3c=_3d; +_3b=_41; +} +} +} +return _3c; +} +}),new objj_method(sel_getUid("showMenu:fromMenu:atPoint:"),function(_42,_43,_44,_45,_46){ +with(_42){ +var _47=_menuContainerStack.length,_48=_47; +while(_48--){ +var _49=_menuContainerStack[_48],_4a=objj_msgSend(_49,"menu"); +if(_4a===_45){ +break; +} +if(_4a===_44){ +return objj_msgSend(_44,"_highlightItemAtIndex:",CPNotFound); +} +objj_msgSend(_49,"orderOut:",_42); +objj_msgSend(_49,"setMenu:",nil); +objj_msgSend(_CPMenuWindow,"poolMenuWindow:",_49); +objj_msgSend(_menuContainerStack,"removeObjectAtIndex:",_48); +} +if(!_44){ +return; +} +objj_msgSend(_44,"_highlightItemAtIndex:",CPNotFound); +var _4b=objj_msgSend(_CPMenuWindow,"menuWindowWithMenu:font:",_44,objj_msgSend(_menuContainerStack[0],"font")); +objj_msgSend(_menuContainerStack,"addObject:",_4b); +objj_msgSend(_4b,"setConstraintRect:",_constraintRect); +if(_45===objj_msgSend(_42,"trackingMenu")&&objj_msgSend(objj_msgSend(_42,"trackingMenuContainer"),"isMenuBar")){ +objj_msgSend(_4b,"setBackgroundStyle:",_CPMenuWindowMenuBarBackgroundStyle); +}else{ +objj_msgSend(_4b,"setBackgroundStyle:",_CPMenuWindowPopUpBackgroundStyle); +} +objj_msgSend(_4b,"setFrameOrigin:",_46); +objj_msgSend(_4b,"orderFront:",_42); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("sharedMenuManager"),function(_4c,_4d){ +with(_4c){ +if(!_2){ +_2=objj_msgSend(objj_msgSend(_CPMenuManager,"alloc"),"init"); +} +return _2; +} +})]); +p;15;_CPMenuWindow.jt;17126;@STATIC;1.0;t;17106; +var _1=[],_2=5,_3=[]; +_CPMenuWindowMenuBarBackgroundStyle=0; +_CPMenuWindowPopUpBackgroundStyle=1; +_CPMenuWindowAttachedMenuBackgroundStyle=2; +var _4=500,_5=5,_6=1,_7=1,_8=5,_9=16; +var _a=objj_allocateClassPair(CPWindow,"_CPMenuWindow"),_b=_a.isa; +class_addIvars(_a,[new objj_ivar("_menuView"),new objj_ivar("_menuClipView"),new objj_ivar("_moreAboveView"),new objj_ivar("_moreBelowView"),new objj_ivar("_unconstrainedFrame"),new objj_ivar("_constraintRect")]); +objj_registerClassPair(_a); +class_addMethods(_a,[new objj_method(sel_getUid("initWithContentRect:styleMask:"),function(_c,_d,_e,_f){ +with(_c){ +_constraintRect={origin:{x:0,y:0},size:{width:0,height:0}}; +_unconstrainedFrame={origin:{x:0,y:0},size:{width:0,height:0}}; +_c=objj_msgSendSuper({receiver:_c,super_class:objj_getClass("_CPMenuWindow").super_class},"initWithContentRect:styleMask:",_e,CPBorderlessWindowMask); +if(_c){ +objj_msgSend(_c,"setLevel:",CPPopUpMenuWindowLevel); +objj_msgSend(_c,"setHasShadow:",YES); +objj_msgSend(_c,"setShadowStyle:",CPMenuWindowShadowStyle); +objj_msgSend(_c,"setAcceptsMouseMovedEvents:",YES); +var _10=objj_msgSend(_c,"contentView"); +_menuView=objj_msgSend(objj_msgSend(_CPMenuView,"alloc"),"initWithFrame:",CGRectMakeZero()); +_menuClipView=objj_msgSend(objj_msgSend(CPClipView,"alloc"),"initWithFrame:",CGRectMake(_6,_5,0,0)); +objj_msgSend(_menuClipView,"setDocumentView:",_menuView); +objj_msgSend(_10,"addSubview:",_menuClipView); +_moreAboveView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_moreAboveView,"setImage:",_CPMenuWindowMoreAboveImage); +objj_msgSend(_moreAboveView,"setFrameSize:",objj_msgSend(_CPMenuWindowMoreAboveImage,"size")); +objj_msgSend(_10,"addSubview:",_moreAboveView); +_moreBelowView=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_moreBelowView,"setImage:",_CPMenuWindowMoreBelowImage); +objj_msgSend(_moreBelowView,"setFrameSize:",objj_msgSend(_CPMenuWindowMoreBelowImage,"size")); +objj_msgSend(_10,"addSubview:",_moreBelowView); +objj_msgSend(_c,"setShadowStyle:",CPWindowShadowStyleMenu); +} +return _c; +} +}),new objj_method(sel_getUid("setFont:"),function(_11,_12,_13){ +with(_11){ +objj_msgSend(_menuView,"setFont:",_13); +} +}),new objj_method(sel_getUid("font"),function(_14,_15){ +with(_14){ +return objj_msgSend(_menuView,"font"); +} +}),new objj_method(sel_getUid("setBackgroundStyle:"),function(_16,_17,_18){ +with(_16){ +objj_msgSend(_16,"setBackgroundColor:",objj_msgSend(objj_msgSend(_16,"class"),"backgroundColorForBackgroundStyle:",_18)); +} +}),new objj_method(sel_getUid("setMenu:"),function(_19,_1a,_1b){ +with(_19){ +objj_msgSend(_1b,"_setMenuWindow:",_19); +objj_msgSend(_menuView,"setMenu:",_1b); +var _1c=objj_msgSend(_menuView,"frame").size; +objj_msgSend(_19,"setFrameSize:",CGSizeMake(_6+_1c.width+_7,_5+_1c.height+_8)); +objj_msgSend(_menuView,"scrollPoint:",CGPointMake(0,0)); +objj_msgSend(_menuClipView,"setFrame:",CGRectMake(_6,_5,_1c.width,_1c.height)); +} +}),new objj_method(sel_getUid("setMinWidth:"),function(_1d,_1e,_1f){ +with(_1d){ +var _20=objj_msgSend(_1d,"unconstrainedFrame").size; +objj_msgSend(_1d,"setFrameSize:",CGSizeMake(MAX(_20.width,_1f),_20.height)); +} +}),new objj_method(sel_getUid("menu"),function(_21,_22){ +with(_21){ +return objj_msgSend(_menuView,"menu"); +} +}),new objj_method(sel_getUid("orderFront:"),function(_23,_24,_25){ +with(_23){ +objj_msgSend(_23,"setFrame:",_unconstrainedFrame); +objj_msgSendSuper({receiver:_23,super_class:objj_getClass("_CPMenuWindow").super_class},"orderFront:",_25); +} +}),new objj_method(sel_getUid("setConstraintRect:"),function(_26,_27,_28){ +with(_26){ +_constraintRect=_28; +objj_msgSend(_26,"setFrame:",_unconstrainedFrame); +} +}),new objj_method(sel_getUid("unconstrainedFrame"),function(_29,_2a){ +with(_29){ +return {origin:{x:_unconstrainedFrame.origin.x,y:_unconstrainedFrame.origin.y},size:{width:_unconstrainedFrame.size.width,height:_unconstrainedFrame.size.height}}; +} +}),new objj_method(sel_getUid("setFrameOrigin:"),function(_2b,_2c,_2d){ +with(_2b){ +objj_msgSendSuper({receiver:_2b,super_class:objj_getClass("_CPMenuWindow").super_class},"setFrame:",{origin:{x:_2d.x,y:_2d.y},size:{width:(_unconstrainedFrame.size.width),height:(_unconstrainedFrame.size.height)}}); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_2e,_2f,_30){ +with(_2e){ +objj_msgSendSuper({receiver:_2e,super_class:objj_getClass("_CPMenuWindow").super_class},"setFrame:",{origin:{x:(_unconstrainedFrame.origin.x),y:(_unconstrainedFrame.origin.y)},size:{width:_30.width,height:_30.height}}); +} +}),new objj_method(sel_getUid("setFrame:display:animate:"),function(_31,_32,_33,_34,_35){ +with(_31){ +_unconstrainedFrame={origin:{x:_33.origin.x,y:_33.origin.y},size:{width:_33.size.width,height:_33.size.height}}; +var _36=CGRectIntersection(_unconstrainedFrame,_constraintRect); +_36.origin.x=CGRectGetMinX(_unconstrainedFrame); +_36.size.width=CGRectGetWidth(_unconstrainedFrame); +if(CGRectGetWidth(_36)>CGRectGetWidth(_constraintRect)){ +_36.size.width=CGRectGetWidth(_constraintRect); +} +if(CGRectGetMaxX(_36)>CGRectGetMaxX(_constraintRect)){ +_36.origin.x-=CGRectGetMaxX(_36)-CGRectGetMaxX(_constraintRect); +} +if(CGRectGetMinX(_36)CGRectGetMaxY(_36)-_8,_3a=_5,_3b=_8,_3c=objj_msgSend(_31,"contentView"),_3d=objj_msgSend(_3c,"bounds"); +if(_38){ +_3a+=_9; +var _3e=objj_msgSend(_moreAboveView,"frame"); +objj_msgSend(_moreAboveView,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_3d)-CGRectGetWidth(_3e))/2,(_5+_9-CGRectGetHeight(_3e))/2)); +} +objj_msgSend(_moreAboveView,"setHidden:",!_38); +if(_39){ +_3b+=_9; +objj_msgSend(_moreBelowView,"setFrameOrigin:",CGPointMake((CGRectGetWidth(_3d)-CGRectGetWidth(objj_msgSend(_moreBelowView,"frame")))/2,CGRectGetHeight(_3d)-_9-_8)); +} +objj_msgSend(_moreBelowView,"setHidden:",!_39); +var _3f=CGRectMake(_6,_3a,CGRectGetWidth(_36)-_6-_7,CGRectGetHeight(_36)-_3a-_3b); +objj_msgSend(_menuClipView,"setFrame:",_3f); +objj_msgSend(_menuView,"setFrameSize:",CGSizeMake(CGRectGetWidth(_3f),CGRectGetHeight(objj_msgSend(_menuView,"frame")))); +objj_msgSend(_menuView,"scrollPoint:",CGPointMake(0,objj_msgSend(_31,"convertBaseToGlobal:",_3f.origin).y-_37.y)); +} +}),new objj_method(sel_getUid("hasMinimumNumberOfVisibleItems"),function(_40,_41){ +with(_40){ +var _42=objj_msgSend(_menuView,"visibleRect"); +if(CGRectIsEmpty(_42)){ +return NO; +} +var _43=objj_msgSend(_menuView,"numberOfUnhiddenItems"),_44=MIN(_43,3),_45=0,_46=objj_msgSend(_menuView,"itemIndexAtPoint:",objj_msgSend(_menuView,"convertPoint:fromView:",objj_msgSend(_menuClipView,"frame").origin,nil)); +for(;_46<_43&&_45<_44;++_46){ +var _47=objj_msgSend(_menuView,"rectForUnhiddenItemAtIndex:",_46),_48=CGRectIntersection(_42,_47); +if(CGRectIsEmpty(_48)){ +break; +} +if(CGRectEqualToRect(_48,_47)){ +++_45; +} +} +return _45>=_44; +} +}),new objj_method(sel_getUid("canScrollUp"),function(_49,_4a){ +with(_49){ +return !objj_msgSend(_moreAboveView,"isHidden"); +} +}),new objj_method(sel_getUid("canScrollDown"),function(_4b,_4c){ +with(_4b){ +return !objj_msgSend(_moreBelowView,"isHidden"); +} +}),new objj_method(sel_getUid("canScroll"),function(_4d,_4e){ +with(_4d){ +return objj_msgSend(_4d,"canScrollUp")||objj_msgSend(_4d,"canScrollDown"); +} +}),new objj_method(sel_getUid("scrollUp"),function(_4f,_50){ +with(_4f){ +if(CGRectGetMinY(_unconstrainedFrame)>=CGRectGetMinY(_constraintRect)){ +return; +} +_unconstrainedFrame.origin.y+=10; +objj_msgSend(_4f,"setFrame:",_unconstrainedFrame); +} +}),new objj_method(sel_getUid("scrollDown"),function(_51,_52){ +with(_51){ +if(CGRectGetMaxY(_unconstrainedFrame)<=CGRectGetHeight(_constraintRect)){ +return; +} +_unconstrainedFrame.origin.y-=10; +objj_msgSend(_51,"setFrame:",_unconstrainedFrame); +} +})]); +class_addMethods(_b,[new objj_method(sel_getUid("menuWindowWithMenu:font:"),function(_53,_54,_55,_56){ +with(_53){ +var _57=nil; +if(_1.length){ +_57=_1.pop(); +objj_msgSend(_57,"setFrameOrigin:",CGPointMakeZero()); +}else{ +_57=objj_msgSend(objj_msgSend(_CPMenuWindow,"alloc"),"init"); +} +objj_msgSend(_57,"setFont:",_56); +objj_msgSend(_57,"setMenu:",_55); +objj_msgSend(_57,"setMinWidth:",objj_msgSend(_55,"minimumWidth")); +return _57; +} +}),new objj_method(sel_getUid("poolMenuWindow:"),function(_58,_59,_5a){ +with(_58){ +if(!_5a||_1.length>=_2){ +return; +} +_1.push(_5a); +} +}),new objj_method(sel_getUid("initialize"),function(_5b,_5c){ +with(_5b){ +if(_5b!=objj_msgSend(_CPMenuWindow,"class")){ +return; +} +var _5d=objj_msgSend(CPBundle,"bundleForClass:",_5b); +_CPMenuWindowMoreAboveImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_5d,"pathForResource:","_CPMenuWindow/_CPMenuWindowMoreAbove.png"),CGSizeMake(38,18)); +_CPMenuWindowMoreBelowImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_5d,"pathForResource:","_CPMenuWindow/_CPMenuWindowMoreBelow.png"),CGSizeMake(38,18)); +} +}),new objj_method(sel_getUid("_standardLeftMargin"),function(_5e,_5f){ +with(_5e){ +return _6; +} +}),new objj_method(sel_getUid("backgroundColorForBackgroundStyle:"),function(_60,_61,_62){ +with(_60){ +var _63=_3[_62]; +if(!_63){ +var _64=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_60,"class")); +if(_62==_CPMenuWindowPopUpBackgroundStyle){ +_63=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded0.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow1.png"),CGSizeMake(1,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded2.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow3.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow5.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded6.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow7.png"),CGSizeMake(1,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded8.png"),CGSizeMake(4,4))])); +}else{ +if(_62==_CPMenuWindowMenuBarBackgroundStyle){ +_63=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow3.png"),CGSizeMake(4,0)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow4.png"),CGSizeMake(1,0)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow5.png"),CGSizeMake(4,0)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow3.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow5.png"),CGSizeMake(4,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded6.png"),CGSizeMake(4,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindow7.png"),CGSizeMake(1,4)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_64,"pathForResource:","_CPMenuWindow/_CPMenuWindowRounded8.png"),CGSizeMake(4,4))])); +} +} +_3[_62]=_63; +} +return _63; +} +})]); +var _a=objj_getClass("_CPMenuWindow"); +if(!_a){ +throw new SyntaxError("*** Could not find definition for class \"_CPMenuWindow\""); +} +var _b=_a.isa; +class_addMethods(_a,[new objj_method(sel_getUid("globalFrame"),function(_65,_66){ +with(_65){ +return objj_msgSend(_65,"frame"); +} +}),new objj_method(sel_getUid("isMenuBar"),function(_67,_68){ +with(_67){ +return NO; +} +}),new objj_method(sel_getUid("scrollingStateForPoint:"),function(_69,_6a,_6b){ +with(_69){ +var _6c=objj_msgSend(_69,"frame"); +if(!objj_msgSend(_69,"canScroll")){ +return _CPMenuManagerScrollingStateNone; +} +if(_6b.yCGRectGetMaxY(_6c)-_8-_9){ +return _CPMenuManagerScrollingStateDown; +} +return _CPMenuManagerScrollingStateNone; +} +}),new objj_method(sel_getUid("deltaYForItemAtIndex:"),function(_6d,_6e,_6f){ +with(_6d){ +return _5+CGRectGetMinY(objj_msgSend(_menuView,"rectForItemAtIndex:",_6f)); +} +}),new objj_method(sel_getUid("rectForItemAtIndex:"),function(_70,_71,_72){ +with(_70){ +return objj_msgSend(_menuView,"convertRect:toView:",objj_msgSend(_menuView,"rectForItemAtIndex:",_72),nil); +} +}),new objj_method(sel_getUid("itemIndexAtPoint:"),function(_73,_74,_75){ +with(_73){ +if(!CGRectContainsPoint(objj_msgSend(_menuClipView,"bounds"),objj_msgSend(_menuClipView,"convertPoint:fromView:",_75,nil))){ +return NO; +} +return objj_msgSend(_menuView,"itemIndexAtPoint:",objj_msgSend(_menuView,"convertPoint:fromView:",_75,nil)); +} +})]); +var _a=objj_allocateClassPair(CPView,"_CPMenuView"),_b=_a.isa; +class_addIvars(_a,[new objj_ivar("_menuItemViews"),new objj_ivar("_visibleMenuItemInfos"),new objj_ivar("_font")]); +objj_registerClassPair(_a); +class_addMethods(_a,[new objj_method(sel_getUid("font"),function(_76,_77){ +with(_76){ +return _font; +} +}),new objj_method(sel_getUid("setFont:"),function(_78,_79,_7a){ +with(_78){ +_font=_7a; +} +}),new objj_method(sel_getUid("numberOfUnhiddenItems"),function(_7b,_7c){ +with(_7b){ +return _visibleMenuItemInfos.length; +} +}),new objj_method(sel_getUid("rectForUnhiddenItemAtIndex:"),function(_7d,_7e,_7f){ +with(_7d){ +return objj_msgSend(_7d,"rectForItemAtIndex:",_visibleMenuItemInfos[_7f].index); +} +}),new objj_method(sel_getUid("rectForItemAtIndex:"),function(_80,_81,_82){ +with(_80){ +return objj_msgSend(_menuItemViews[_82===CPNotFound?0:_82],"frame"); +} +}),new objj_method(sel_getUid("itemIndexAtPoint:"),function(_83,_84,_85){ +with(_83){ +var x=_85.x,_86=objj_msgSend(_83,"bounds"); +if(xCGRectGetMaxX(_86)){ +return CPNotFound; +} +var y=_85.y,low=0,_87=_visibleMenuItemInfos.length-1; +while(low<=_87){ +var _88=FLOOR(low+(_87-low)/2),_89=_visibleMenuItemInfos[_88]; +frame=objj_msgSend(_89.view,"frame"); +if(yCGRectGetMaxY(frame)){ +low=_88+1; +}else{ +return _89.index; +} +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("tile"),function(_8a,_8b){ +with(_8a){ +objj_msgSend(_menuItemViews,"makeObjectsPerformSelector:",sel_getUid("removeFromSuperview")); +_menuItemViews=[]; +_visibleMenuItemInfos=[]; +var _8c=objj_msgSend(_8a,"menu"); +if(!_8c){ +return; +} +var _8d=objj_msgSend(_8c,"itemArray"),_8e=0,_8f=objj_msgSend(_8d,"count"),_90=0,y=0,_91=objj_msgSend(_8c,"showsStateColumn"); +for(;_8e<_8f;++_8e){ +var _92=_8d[_8e],_93=objj_msgSend(_92,"_menuItemView"); +_menuItemViews.push(_93); +if(objj_msgSend(_92,"isHidden")){ +continue; +} +_visibleMenuItemInfos.push({view:_93,index:_8e}); +objj_msgSend(_93,"setFont:",_font); +objj_msgSend(_93,"setShowsStateColumn:",_91); +objj_msgSend(_93,"synchronizeWithMenuItem"); +objj_msgSend(_93,"setFrameOrigin:",CGPointMake(0,y)); +objj_msgSend(_8a,"addSubview:",_93); +var _94=objj_msgSend(_93,"minSize"),_95=_94.width; +if(_90<_95){ +_90=_95; +} +y+=_94.height; +} +for(_8e=0;_8e<_8f;++_8e){ +var _93=_menuItemViews[_8e]; +objj_msgSend(_93,"setFrameSize:",CGSizeMake(_90,CGRectGetHeight(objj_msgSend(_93,"frame")))); +} +objj_msgSend(_8a,"setAutoresizesSubviews:",NO); +objj_msgSend(_8a,"setFrameSize:",CGSizeMake(_90,y)); +objj_msgSend(_8a,"setAutoresizesSubviews:",YES); +} +}),new objj_method(sel_getUid("setMenu:"),function(_96,_97,_98){ +with(_96){ +objj_msgSendSuper({receiver:_96,super_class:objj_getClass("_CPMenuView").super_class},"setMenu:",_98); +objj_msgSend(_96,"tile"); +} +})]); +p;8;CPMenu.jt;23237;@STATIC;1.0;I;20;Foundation/CPArray.jI;25;Foundation/CPDictionary.jI;33;Foundation/CPNotificationCenter.jI;21;Foundation/CPString.ji;16;_CPMenuManager.ji;15;CPApplication.ji;12;CPClipView.ji;12;CPMenuItem.ji;9;CPPanel.ji;18;_CPMenuBarWindow.ji;15;_CPMenuWindow.jt;22967; +objj_executeFile("Foundation/CPArray.j",NO); +objj_executeFile("Foundation/CPDictionary.j",NO); +objj_executeFile("Foundation/CPNotificationCenter.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +objj_executeFile("_CPMenuManager.j",YES); +objj_executeFile("CPApplication.j",YES); +objj_executeFile("CPClipView.j",YES); +objj_executeFile("CPMenuItem.j",YES); +objj_executeFile("CPPanel.j",YES); +CPMenuDidAddItemNotification="CPMenuDidAddItemNotification"; +CPMenuDidChangeItemNotification="CPMenuDidChangeItemNotification"; +CPMenuDidRemoveItemNotification="CPMenuDidRemoveItemNotification"; +CPMenuDidEndTrackingNotification="CPMenuDidEndTrackingNotification"; +var _1=28; +var _2=NO,_3="",_4=nil,_5=1,_6=nil,_7=nil; +var _8=objj_allocateClassPair(CPObject,"CPMenu"),_9=_8.isa; +class_addIvars(_8,[new objj_ivar("_supermenu"),new objj_ivar("_title"),new objj_ivar("_name"),new objj_ivar("_font"),new objj_ivar("_minimumWidth"),new objj_ivar("_items"),new objj_ivar("_autoenablesItems"),new objj_ivar("_showsStateColumn"),new objj_ivar("_delegate"),new objj_ivar("_highlightedIndex"),new objj_ivar("_menuWindow")]); +objj_registerClassPair(_8); +class_addMethods(_8,[new objj_method(sel_getUid("menuBarHeight"),function(_a,_b){ +with(_a){ +if(_a===objj_msgSend(CPApp,"mainMenu")){ +return _1; +} +return 0; +} +}),new objj_method(sel_getUid("initWithTitle:"),function(_c,_d,_e){ +with(_c){ +_c=objj_msgSendSuper({receiver:_c,super_class:objj_getClass("CPMenu").super_class},"init"); +if(_c){ +_title=_e; +_items=[]; +_autoenablesItems=YES; +_showsStateColumn=YES; +objj_msgSend(_c,"setMinimumWidth:",0); +} +return _c; +} +}),new objj_method(sel_getUid("init"),function(_f,_10){ +with(_f){ +return objj_msgSend(_f,"initWithTitle:",""); +} +}),new objj_method(sel_getUid("insertItem:atIndex:"),function(_11,_12,_13,_14){ +with(_11){ +var _15=objj_msgSend(_13,"menu"); +if(_15){ +if(_15!==_11){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"Attempted to insert item into menu that was already in another menu."); +}else{ +return; +} +} +objj_msgSend(_13,"setMenu:",_11); +objj_msgSend(_items,"insertObject:atIndex:",_13,_14); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPMenuDidAddItemNotification,_11,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_14,"CPMenuItemIndex")); +} +}),new objj_method(sel_getUid("insertItemWithTitle:action:keyEquivalent:atIndex:"),function(_16,_17,_18,_19,_1a,_1b){ +with(_16){ +var _1c=objj_msgSend(objj_msgSend(CPMenuItem,"alloc"),"initWithTitle:action:keyEquivalent:",_18,_19,_1a); +objj_msgSend(_16,"insertItem:atIndex:",_1c,_1b); +return _1c; +} +}),new objj_method(sel_getUid("addItem:"),function(_1d,_1e,_1f){ +with(_1d){ +objj_msgSend(_1d,"insertItem:atIndex:",_1f,objj_msgSend(_items,"count")); +} +}),new objj_method(sel_getUid("addItemWithTitle:action:keyEquivalent:"),function(_20,_21,_22,_23,_24){ +with(_20){ +return objj_msgSend(_20,"insertItemWithTitle:action:keyEquivalent:atIndex:",_22,_23,_24,objj_msgSend(_items,"count")); +} +}),new objj_method(sel_getUid("removeItem:"),function(_25,_26,_27){ +with(_25){ +objj_msgSend(_25,"removeItemAtIndex:",objj_msgSend(_items,"indexOfObjectIdenticalTo:",_27)); +} +}),new objj_method(sel_getUid("removeItemAtIndex:"),function(_28,_29,_2a){ +with(_28){ +if(_2a<0||_2a>=_items.length){ +return; +} +objj_msgSend(_items[_2a],"setMenu:",nil); +objj_msgSend(_items,"removeObjectAtIndex:",_2a); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPMenuDidRemoveItemNotification,_28,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_2a,"CPMenuItemIndex")); +} +}),new objj_method(sel_getUid("itemChanged:"),function(_2b,_2c,_2d){ +with(_2b){ +if(objj_msgSend(_2d,"menu")!=_2b){ +return; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:userInfo:",CPMenuDidChangeItemNotification,_2b,objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",objj_msgSend(_items,"indexOfObjectIdenticalTo:",_2d),"CPMenuItemIndex")); +} +}),new objj_method(sel_getUid("itemWithTag:"),function(_2e,_2f,_30){ +with(_2e){ +var _31=objj_msgSend(_2e,"indexOfItemWithTag:",_30); +if(_31==CPNotFound){ +return nil; +} +return _items[_31]; +} +}),new objj_method(sel_getUid("itemWithTitle:"),function(_32,_33,_34){ +with(_32){ +var _35=objj_msgSend(_32,"indexOfItemWithTitle:",_34); +if(_35==CPNotFound){ +return nil; +} +return _items[_35]; +} +}),new objj_method(sel_getUid("itemAtIndex:"),function(_36,_37,_38){ +with(_36){ +return objj_msgSend(_items,"objectAtIndex:",_38); +} +}),new objj_method(sel_getUid("numberOfItems"),function(_39,_3a){ +with(_39){ +return objj_msgSend(_items,"count"); +} +}),new objj_method(sel_getUid("itemArray"),function(_3b,_3c){ +with(_3b){ +return _items; +} +}),new objj_method(sel_getUid("indexOfItem:"),function(_3d,_3e,_3f){ +with(_3d){ +if(objj_msgSend(_3f,"menu")!==_3d){ +return CPNotFound; +} +return objj_msgSend(_items,"indexOfObjectIdenticalTo:",_3f); +} +}),new objj_method(sel_getUid("indexOfItemWithTitle:"),function(_40,_41,_42){ +with(_40){ +var _43=0,_44=_items.length; +for(;_43<_44;++_43){ +if(objj_msgSend(_items[_43],"title")===_42){ +return _43; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfItemWithTag:"),function(_45,_46,_47){ +with(_45){ +var _48=0,_49=_items.length; +for(;_48<_49;++_48){ +if(objj_msgSend(_items[_48],"tag")==_47){ +return _48; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfItemWithTarget:andAction:"),function(_4a,_4b,_4c,_4d){ +with(_4a){ +var _4e=0,_4f=_items.length; +for(;_4e<_4f;++_4e){ +var _50=_items[_4e]; +if(objj_msgSend(_50,"target")==_4c&&(!_4d||objj_msgSend(_50,"action")==_4d)){ +return _4e; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfItemWithRepresentedObject:"),function(_51,_52,_53){ +with(_51){ +var _54=0,_55=_items.length; +for(;_54<_55;++_54){ +if(objj_msgSend(objj_msgSend(_items[_54],"representedObject"),"isEqual:",_53)){ +return _54; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfItemWithSubmenu:"),function(_56,_57,_58){ +with(_56){ +var _59=0,_5a=_items.length; +for(;_59<_5a;++_59){ +if(objj_msgSend(_items[_59],"submenu")==_58){ +return _59; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("setSubmenu:forItem:"),function(_5b,_5c,_5d,_5e){ +with(_5b){ +objj_msgSend(_5e,"setTarget:",_5e); +objj_msgSend(_5e,"setAction:",sel_getUid("submenuAction:")); +objj_msgSend(_5e,"setSubmenu:",_5d); +} +}),new objj_method(sel_getUid("submenuAction:"),function(_5f,_60,_61){ +with(_5f){ +} +}),new objj_method(sel_getUid("supermenu"),function(_62,_63){ +with(_62){ +return _supermenu; +} +}),new objj_method(sel_getUid("setSupermenu:"),function(_64,_65,_66){ +with(_64){ +_supermenu=_66; +} +}),new objj_method(sel_getUid("isTornOff"),function(_67,_68){ +with(_67){ +return !_supermenu||_67==objj_msgSend(CPApp,"mainMenu"); +} +}),new objj_method(sel_getUid("setAutoenablesItems:"),function(_69,_6a,_6b){ +with(_69){ +_autoenablesItems=_6b; +} +}),new objj_method(sel_getUid("autoenablesItems"),function(_6c,_6d){ +with(_6c){ +return _autoenablesItems; +} +}),new objj_method(sel_getUid("update"),function(_6e,_6f){ +with(_6e){ +} +}),new objj_method(sel_getUid("setTitle:"),function(_70,_71,_72){ +with(_70){ +_title=_72; +} +}),new objj_method(sel_getUid("title"),function(_73,_74){ +with(_73){ +return _title; +} +}),new objj_method(sel_getUid("setMinimumWidth:"),function(_75,_76,_77){ +with(_75){ +_minimumWidth=_77; +} +}),new objj_method(sel_getUid("minimumWidth"),function(_78,_79){ +with(_78){ +return _minimumWidth; +} +}),new objj_method(sel_getUid("_performActionOfHighlightedItemChain"),function(_7a,_7b){ +with(_7a){ +var _7c=objj_msgSend(_7a,"highlightedItem"); +while(objj_msgSend(_7c,"submenu")&&objj_msgSend(_7c,"action")===sel_getUid("submenuAction:")){ +_7c=objj_msgSend(objj_msgSend(_7c,"submenu"),"highlightedItem"); +} +if(_7c&&objj_msgSend(_7c,"isEnabled")){ +objj_msgSend(CPApp,"sendAction:to:from:",objj_msgSend(_7c,"action"),objj_msgSend(_7c,"target"),_7c); +} +} +}),new objj_method(sel_getUid("popUpMenuPositioningItem:atLocation:inView:callback:"),function(_7d,_7e,_7f,_80,_81,_82){ +with(_7d){ +objj_msgSend(_7d,"_popUpMenuPositioningItem:atLocation:topY:bottomY:inView:callback:",_7f,_80,_80.y,_80.y,_81,_82); +} +}),new objj_method(sel_getUid("_popUpMenuPositioningItem:atLocation:topY:bottomY:inView:callback:"),function(_83,_84,_85,_86,_87,_88,_89,_8a){ +with(_83){ +var _8b=0; +if(_85){ +_8b=objj_msgSend(_83,"indexOfItem:",_85); +if(_8b===CPNotFound){ +throw "In call to popUpMenuPositioningItem:atLocation:inView:callback:, menu item "+_85+" is not present in menu "+_83; +} +} +var _8c=objj_msgSend(_89,"window"); +if(_89&&!_8c){ +throw "In call to popUpMenuPositioningItem:atLocation:inView:callback:, view is not in any window."; +} +var _8d=objj_msgSend(_83,"delegate"); +if(objj_msgSend(_8d,"respondsToSelector:",sel_getUid("menuWillOpen:"))){ +objj_msgSend(_8d,"menuWillOpen:",aMenu); +} +if(_89){ +_86=objj_msgSend(_8c,"convertBaseToGlobal:",objj_msgSend(_89,"convertPoint:toView:",_86,nil)); +} +var _8e=objj_msgSend(_CPMenuWindow,"menuWindowWithMenu:font:",_83,objj_msgSend(_83,"font")); +objj_msgSend(_8e,"setBackgroundStyle:",_CPMenuWindowPopUpBackgroundStyle); +if(_85){ +_86.y-=objj_msgSend(_8e,"deltaYForItemAtIndex:",_8b); +} +var _8f=objj_msgSend(CPMenu,"_constraintRectForView:",_89); +objj_msgSend(_8e,"setFrameOrigin:",_86); +objj_msgSend(_8e,"setConstraintRect:",_8f); +if(!objj_msgSend(_8e,"hasMinimumNumberOfVisibleItems")){ +var _90=objj_msgSend(_8e,"unconstrainedFrame"),_91=CGRectGetMinY(_90); +if(_91>=CGRectGetMaxY(_8f)||objj_msgSend(_8e,"canScrollDown")){ +if(_89){ +_87=objj_msgSend(_8c,"convertBaseToGlobal:",objj_msgSend(_89,"convertPoint:toView:",CGPointMake(0,_87),nil)).y; +} +_90.origin.y=MIN(CGRectGetMaxY(_8f),_87)-CGRectGetHeight(_90); +}else{ +if(_91=0?_items[_highlightedIndex]:nil; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_99,_9a,_9b){ +with(_99){ +_delegate=_9b; +} +}),new objj_method(sel_getUid("delegate"),function(_9c,_9d){ +with(_9c){ +return _delegate; +} +}),new objj_method(sel_getUid("cancelTracking"),function(_9e,_9f){ +with(_9e){ +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"performSelector:target:argument:order:modes:",sel_getUid("_fireCancelTrackingEvent"),_9e,nil,0,[CPDefaultRunLoopMode]); +} +}),new objj_method(sel_getUid("_fireCancelTrackingEvent"),function(_a0,_a1){ +with(_a0){ +objj_msgSend(CPApp,"sendEvent:",objj_msgSend(CPEvent,"otherEventWithType:location:modifierFlags:timestamp:windowNumber:context:subtype:data1:data2:",CPAppKitDefined,{x:0,y:0},0,0,0,0,0,0,0)); +objj_msgSend(_CPDisplayServer,"run"); +} +}),new objj_method(sel_getUid("_setMenuWindow:"),function(_a2,_a3,_a4){ +with(_a2){ +_menuWindow=_a4; +} +}),new objj_method(sel_getUid("setFont:"),function(_a5,_a6,_a7){ +with(_a5){ +_font=_a7; +} +}),new objj_method(sel_getUid("font"),function(_a8,_a9){ +with(_a8){ +return _font; +} +}),new objj_method(sel_getUid("performKeyEquivalent:"),function(_aa,_ab,_ac){ +with(_aa){ +if(_autoenablesItems){ +objj_msgSend(_aa,"update"); +} +var _ad=0,_ae=_items.length,_af=objj_msgSend(_ac,"charactersIgnoringModifiers"),_b0=objj_msgSend(_ac,"modifierFlags"); +for(;_ad<_ae;++_ad){ +var _b1=_items[_ad],_b2=objj_msgSend(_b1,"keyEquivalentModifierMask"); +if(objj_msgSend(_b1,"keyEquivalent")===objj_msgSend(objj_msgSend(_b1,"keyEquivalent"),"uppercaseString")){ +_b2|=CPShiftKeyMask; +} +if(CPBrowserIsOperatingSystem(CPWindowsOperatingSystem)&&(_b2&CPCommandKeyMask)){ +_b2|=CPControlKeyMask; +_b2&=~CPCommandKeyMask; +} +if((_b0&(CPShiftKeyMask|CPAlternateKeyMask|CPCommandKeyMask|CPControlKeyMask))==_b2&&objj_msgSend(_af,"caseInsensitiveCompare:",objj_msgSend(_b1,"keyEquivalent"))==CPOrderedSame){ +if(objj_msgSend(_b1,"isEnabled")){ +objj_msgSend(_aa,"performActionForItemAtIndex:",_ad); +}else{ +} +return YES; +} +if(objj_msgSend(objj_msgSend(_b1,"submenu"),"performKeyEquivalent:",_ac)){ +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("performActionForItemAtIndex:"),function(_b3,_b4,_b5){ +with(_b3){ +var _b6=_items[_b5]; +objj_msgSend(CPApp,"sendAction:to:from:",objj_msgSend(_b6,"action"),objj_msgSend(_b6,"target"),_b6); +} +}),new objj_method(sel_getUid("_itemIsHighlighted:"),function(_b7,_b8,_b9){ +with(_b7){ +return _items[_highlightedIndex]==_b9; +} +}),new objj_method(sel_getUid("_highlightItemAtIndex:"),function(_ba,_bb,_bc){ +with(_ba){ +if(_highlightedIndex===_bc){ +return; +} +if(_highlightedIndex!==CPNotFound){ +objj_msgSend(objj_msgSend(_items[_highlightedIndex],"_menuItemView"),"highlight:",NO); +} +_highlightedIndex=_bc; +if(_highlightedIndex!==CPNotFound){ +objj_msgSend(objj_msgSend(_items[_highlightedIndex],"_menuItemView"),"highlight:",YES); +} +} +}),new objj_method(sel_getUid("_setMenuName:"),function(_bd,_be,_bf){ +with(_bd){ +if(_name===_bf){ +return; +} +_name=_bf; +if(_name==="CPMainMenu"){ +objj_msgSend(CPApp,"setMainMenu:",_bd); +} +} +}),new objj_method(sel_getUid("_menuName"),function(_c0,_c1){ +with(_c0){ +return _name; +} +}),new objj_method(sel_getUid("awakeFromCib"),function(_c2,_c3){ +with(_c2){ +if(_name==="_CPMainMenu"){ +objj_msgSend(_c2,"_setMenuName:","CPMainMenu"); +objj_msgSend(CPMenu,"setMenuBarVisible:",YES); +} +} +}),new objj_method(sel_getUid("_menuWithName:"),function(_c4,_c5,_c6){ +with(_c4){ +if(_c6===_name){ +return _c4; +} +for(var i=0,_c7=objj_msgSend(_items,"count");i<_c7;i++){ +var _c8=objj_msgSend(objj_msgSend(_items[i],"submenu"),"_menuWithName:",_c6); +if(_c8){ +return _c8; +} +} +return nil; +} +})]); +class_addMethods(_9,[new objj_method(sel_getUid("initialize"),function(_c9,_ca){ +with(_c9){ +objj_msgSend(objj_msgSend(_c9,"class"),"setMenuBarAttributes:",objj_msgSend(CPDictionary,"dictionary")); +} +}),new objj_method(sel_getUid("menuBarVisible"),function(_cb,_cc){ +with(_cb){ +return _2; +} +}),new objj_method(sel_getUid("setMenuBarVisible:"),function(_cd,_ce,_cf){ +with(_cd){ +if(_2===_cf){ +return; +} +_2=_cf; +if(objj_msgSend(CPPlatform,"supportsNativeMainMenu")){ +return; +} +if(_cf){ +if(!_7){ +_7=objj_msgSend(objj_msgSend(_CPMenuBarWindow,"alloc"),"init"); +} +objj_msgSend(_7,"setMenu:",objj_msgSend(CPApp,"mainMenu")); +objj_msgSend(_7,"setTitle:",_3); +objj_msgSend(_7,"setIconImage:",_4); +objj_msgSend(_7,"setIconImageAlphaValue:",_5); +objj_msgSend(_7,"setColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarBackgroundColor")); +objj_msgSend(_7,"setTextColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTextColor")); +objj_msgSend(_7,"setTitleColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTitleColor")); +objj_msgSend(_7,"setTextShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTextShadowColor")); +objj_msgSend(_7,"setTitleShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTitleShadowColor")); +objj_msgSend(_7,"setHighlightColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightColor")); +objj_msgSend(_7,"setHighlightTextColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightTextColor")); +objj_msgSend(_7,"setHighlightTextShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightTextShadowColor")); +objj_msgSend(_7,"orderFront:",_cd); +}else{ +objj_msgSend(_7,"orderOut:",_cd); +} +} +}),new objj_method(sel_getUid("setMenuBarTitle:"),function(_d0,_d1,_d2){ +with(_d0){ +_3=_d2; +objj_msgSend(_7,"setTitle:",_3); +} +}),new objj_method(sel_getUid("menuBarTitle"),function(_d3,_d4){ +with(_d3){ +return _3; +} +}),new objj_method(sel_getUid("setMenuBarIconImage:"),function(_d5,_d6,_d7){ +with(_d5){ +_CPMenuBarImage=_d7; +objj_msgSend(_7,"setIconImage:",_d7); +} +}),new objj_method(sel_getUid("menuBarIconImage"),function(_d8,_d9){ +with(_d8){ +return _CPMenuBarImage; +} +}),new objj_method(sel_getUid("setMenuBarAttributes:"),function(_da,_db,_dc){ +with(_da){ +if(_6==_dc){ +return; +} +_6=objj_msgSend(_dc,"copy"); +var _dd=objj_msgSend(_dc,"objectForKey:","CPMenuBarTextColor"),_de=objj_msgSend(_dc,"objectForKey:","CPMenuBarTitleColor"),_df=objj_msgSend(_dc,"objectForKey:","CPMenuBarTextShadowColor"),_e0=objj_msgSend(_dc,"objectForKey:","CPMenuBarTitleShadowColor"),_e1=objj_msgSend(_dc,"objectForKey:","CPMenuBarHighlightColor"),_e2=objj_msgSend(_dc,"objectForKey:","CPMenuBarHighlightTextColor"),_e3=objj_msgSend(_dc,"objectForKey:","CPMenuBarHighlightTextShadowColor"); +if(!_dd&&_de){ +objj_msgSend(_6,"setObject:forKey:",_de,"CPMenuBarTextColor"); +}else{ +if(_dd&&!_de){ +objj_msgSend(_6,"setObject:forKey:",_dd,"CPMenuBarTitleColor"); +}else{ +if(!_dd&&!_de){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",0.051,0.2,0.275,1),"CPMenuBarTextColor"); +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"colorWithRed:green:blue:alpha:",0.051,0.2,0.275,1),"CPMenuBarTitleColor"); +} +} +} +if(!_df&&_e0){ +objj_msgSend(_6,"setObject:forKey:",_e0,"CPMenuBarTextShadowColor"); +}else{ +if(_df&&!_e0){ +objj_msgSend(_6,"setObject:forKey:",_df,"CPMenuBarTitleShadowColor"); +}else{ +if(!_df&&!_e0){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"whiteColor"),"CPMenuBarTextShadowColor"); +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"whiteColor"),"CPMenuBarTitleShadowColor"); +} +} +} +if(!_e1){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",94/255,130/255,186/255,1),"CPMenuBarHighlightColor"); +} +if(!_e2){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"whiteColor"),"CPMenuBarHighlightTextColor"); +} +if(!_e3){ +objj_msgSend(_6,"setObject:forKey:",objj_msgSend(CPColor,"blackColor"),"CPMenuBarHighlightTextShadowColor"); +} +if(_7){ +objj_msgSend(_7,"setColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarBackgroundColor")); +objj_msgSend(_7,"setTextColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTextColor")); +objj_msgSend(_7,"setTitleColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTitleColor")); +objj_msgSend(_7,"setTextShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTextShadowColor")); +objj_msgSend(_7,"setTitleShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarTitleShadowColor")); +objj_msgSend(_7,"setHighlightColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightColor")); +objj_msgSend(_7,"setHighlightTextColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightTextColor")); +objj_msgSend(_7,"setHighlightTextShadowColor:",objj_msgSend(_6,"objectForKey:","CPMenuBarHighlightTextShadowColor")); +} +} +}),new objj_method(sel_getUid("menuBarAttributes"),function(_e4,_e5){ +with(_e4){ +return _6; +} +}),new objj_method(sel_getUid("_setMenuBarIconImageAlphaValue:"),function(_e6,_e7,_e8){ +with(_e6){ +_5=_e8; +objj_msgSend(_7,"setIconImageAlphaValue:",_e8); +} +}),new objj_method(sel_getUid("menuBarHeight"),function(_e9,_ea){ +with(_e9){ +return _1; +} +}),new objj_method(sel_getUid("_constraintRectForView:"),function(_eb,_ec,_ed){ +with(_eb){ +if(objj_msgSend(CPPlatform,"isBrowser")){ +return CGRectInset(objj_msgSend(objj_msgSend(objj_msgSend(_ed,"window"),"platformWindow"),"contentBounds"),5,5); +} +return CGRectInset(objj_msgSend(objj_msgSend(objj_msgSend(_ed,"window"),"screen"),"visibleFrame"),5,5); +} +}),new objj_method(sel_getUid("trackingCallbackWithCallback:"),function(_ee,_ef,_f0){ +with(_ee){ +return function(_f1,_f2){ +objj_msgSend(_f1,"setMenu:",nil); +objj_msgSend(_f1,"orderOut:",_ee); +objj_msgSend(_CPMenuWindow,"poolMenuWindow:",_f1); +if(_f0){ +_f0(_f2); +} +objj_msgSend(_f2,"_performActionOfHighlightedItemChain"); +}; +} +}),new objj_method(sel_getUid("popUpContextMenu:withEvent:forView:"),function(_f3,_f4,_f5,_f6,_f7){ +with(_f3){ +objj_msgSend(_f3,"popUpContextMenu:withEvent:forView:withFont:",_f5,_f6,_f7,nil); +} +}),new objj_method(sel_getUid("popUpContextMenu:withEvent:forView:withFont:"),function(_f8,_f9,_fa,_fb,_fc,_fd){ +with(_f8){ +var _fe=objj_msgSend(_fa,"delegate"); +if(objj_msgSend(_fe,"respondsToSelector:",sel_getUid("menuWillOpen:"))){ +objj_msgSend(_fe,"menuWillOpen:",_fa); +} +if(!_fd){ +_fd=objj_msgSend(CPFont,"systemFontOfSize:",12); +} +var _ff=objj_msgSend(_fc,"window"),_100=objj_msgSend(_CPMenuWindow,"menuWindowWithMenu:font:",_fa,_fd); +objj_msgSend(_100,"setBackgroundStyle:",_CPMenuWindowPopUpBackgroundStyle); +var _101=objj_msgSend(CPMenu,"_constraintRectForView:",_fc),_102=objj_msgSend(objj_msgSend(_fb,"window"),"convertBaseToGlobal:",objj_msgSend(_fb,"locationInWindow")); +objj_msgSend(_100,"setConstraintRect:",_101); +objj_msgSend(_100,"setFrameOrigin:",_102); +if(!objj_msgSend(_100,"hasMinimumNumberOfVisibleItems")){ +var _103=objj_msgSend(_100,"unconstrainedFrame"),_104=CGRectGetMinY(_103); +if(_104>=CGRectGetMaxY(_101)||objj_msgSend(_100,"canScrollDown")){ +_103.origin.y=MIN(CGRectGetMaxY(_101),_102.y)-CGRectGetHeight(_103); +}else{ +if(_1040){ +objj_msgSend(_b3,"encodeInt:forKey:",_indentationLevel,_ab); +} +if((_representedObject)!==(nil)){ +objj_msgSend(_b3,"encodeObject:forKey:",(_representedObject),(_ac)); +} +if((_view)!==(nil)){ +objj_msgSend(_b3,"encodeObject:forKey:",(_view),(_ad)); +} +} +})]); +p;31;_CPBorderlessBridgeWindowView.jt;2040;@STATIC;1.0;i;15;_CPWindowView.jt;2001; +objj_executeFile("_CPWindowView.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(_CPWindowView,"_CPBorderlessBridgeWindowView"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_toolbarBackgroundView")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("setShowsResizeIndicator:"),function(_4,_5,_6){ +with(_4){ +} +}),new objj_method(sel_getUid("tile"),function(_7,_8){ +with(_7){ +objj_msgSendSuper({receiver:_7,super_class:objj_getClass("_CPBorderlessBridgeWindowView").super_class},"tile"); +var _9=objj_msgSend(_7,"window"),_a=objj_msgSend(_7,"bounds"); +objj_msgSend(objj_msgSend(_9,"contentView"),"setFrame:",CGRectMake(0,objj_msgSend(_7,"toolbarMaxY"),CGRectGetWidth(_a),CGRectGetHeight(_a)-objj_msgSend(_7,"toolbarMaxY"))); +if(!objj_msgSend(objj_msgSend(_9,"toolbar"),"isVisible")){ +objj_msgSend(_toolbarBackgroundView,"removeFromSuperview"); +_toolbarBackgroundView=nil; +return; +} +if(!_toolbarBackgroundView){ +_toolbarBackgroundView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_toolbarBackgroundView,"setBackgroundColor:",objj_msgSend(objj_msgSend(_7,"class"),"toolbarBackgroundColor")); +objj_msgSend(_toolbarBackgroundView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_7,"addSubview:positioned:relativeTo:",_toolbarBackgroundView,CPWindowBelow,nil); +} +var _b=CGRectMakeZero(),_c=objj_msgSend(_7,"toolbarOffset"); +_b.origin=CGPointMake(_c.width,_c.height); +_b.size=objj_msgSend(_toolbarView,"frame").size; +objj_msgSend(_toolbarBackgroundView,"setFrame:",_b); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("toolbarBackgroundColor"),function(_d,_e){ +with(_d){ +if(!_1){ +_1=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_CPBorderlessBridgeWindowView,"class")),"pathForResource:","_CPToolbarView/_CPToolbarViewBackground.png"),CGSizeMake(1,59))); +} +return _1; +} +})]); +p;25;_CPBorderlessWindowView.jt;190;@STATIC;1.0;i;15;_CPWindowView.jt;152; +objj_executeFile("_CPWindowView.j",YES); +var _1=objj_allocateClassPair(_CPWindowView,"_CPBorderlessWindowView"),_2=_1.isa; +objj_registerClassPair(_1); +p;23;_CPDocModalWindowView.jt;1359;@STATIC;1.0;i;15;_CPWindowView.jt;1320; +objj_executeFile("_CPWindowView.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(_CPWindowView,"_CPDocModalWindowView"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_bodyView")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithFrame:styleMask:"),function(_4,_5,_6,_7){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("_CPDocModalWindowView").super_class},"initWithFrame:styleMask:",_6,_7); +if(_4){ +var _8=objj_msgSend(_4,"class"),_9=objj_msgSend(_4,"bounds"); +_bodyView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,CGRectGetWidth(_9),CGRectGetHeight(_9))); +objj_msgSend(_bodyView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_bodyView,"setBackgroundColor:",objj_msgSend(_8,"bodyBackgroundColor")); +objj_msgSend(_bodyView,"setHitTests:",NO); +objj_msgSend(_4,"addSubview:",_bodyView); +} +return _4; +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_a,_b,_c){ +with(_a){ +return _c; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_d,_e,_f){ +with(_d){ +return _f; +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("bodyBackgroundColor"),function(_10,_11){ +with(_10){ +if(!_1){ +_1=objj_msgSend(CPColor,"colorWithWhite:alpha:",0.96,0.9); +} +return _1; +} +})]); +p;18;_CPHUDWindowView.jt;6961;@STATIC;1.0;t;6942; +var _1=nil,_2=nil; +var _3=26; +var _4=objj_allocateClassPair(_CPWindowView,"_CPHUDWindowView"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_toolbarView"),new objj_ivar("_titleField"),new objj_ivar("_closeButton")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("contentRectForFrameRect:"),function(_6,_7,_8){ +with(_6){ +var _9=objj_msgSend(objj_msgSend(_6,"class"),"contentRectForFrameRect:",_8); +if(objj_msgSend(objj_msgSend(objj_msgSend(_6,"window"),"toolbar"),"isVisible")){ +toolbarHeight=CGRectGetHeight(objj_msgSend(objj_msgSend(_6,"toolbarView"),"frame")); +_9.origin.y+=toolbarHeight; +_9.size.height-=toolbarHeight; +} +return _9; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_a,_b,_c){ +with(_a){ +var _d=objj_msgSend(objj_msgSend(_a,"class"),"frameRectForContentRect:",_c); +if(objj_msgSend(objj_msgSend(objj_msgSend(_a,"window"),"toolbar"),"isVisible")){ +toolbarHeight=CGRectGetHeight(objj_msgSend(objj_msgSend(_a,"toolbarView"),"frame")); +_d.origin.y-=toolbarHeight; +_d.size.height+=toolbarHeight; +} +return _d; +} +}),new objj_method(sel_getUid("initWithFrame:styleMask:"),function(_e,_f,_10,_11){ +with(_e){ +_e=objj_msgSendSuper({receiver:_e,super_class:objj_getClass("_CPHUDWindowView").super_class},"initWithFrame:styleMask:",_10,_11); +if(_e){ +var _12=objj_msgSend(_e,"bounds"); +objj_msgSend(_e,"setBackgroundColor:",_1); +_titleField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_titleField,"setHitTests:",NO); +objj_msgSend(_titleField,"setFont:",objj_msgSend(CPFont,"systemFontOfSize:",11)); +objj_msgSend(_titleField,"setTextColor:",objj_msgSend(CPColor,"whiteColor")); +objj_msgSend(_titleField,"setTextShadowColor:",objj_msgSend(CPColor,"blackColor")); +objj_msgSend(_titleField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_titleField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_titleField,"setLineBreakMode:",CPLineBreakByTruncatingTail); +objj_msgSend(_titleField,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_titleField,"setStringValue:","Untitled"); +objj_msgSend(_titleField,"sizeToFit"); +objj_msgSend(_titleField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_titleField,"setStringValue:",""); +objj_msgSend(_titleField,"setFrame:",CGRectMake(20,3,CGRectGetWidth(objj_msgSend(_e,"bounds"))-40,CGRectGetHeight(objj_msgSend(_titleField,"frame")))); +objj_msgSend(_e,"addSubview:",_titleField); +if(_styleMask&CPClosableWindowMask){ +var _13=objj_msgSend(_CPHUDWindowViewCloseImage,"size"); +_closeButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(4,4,_13.width,_13.height)); +objj_msgSend(_closeButton,"setBordered:",NO); +objj_msgSend(_closeButton,"setImage:",_CPHUDWindowViewCloseImage); +objj_msgSend(_closeButton,"setAlternateImage:",_CPHUDWindowViewCloseActiveImage); +objj_msgSend(_e,"addSubview:",_closeButton); +} +objj_msgSend(_e,"setResizeIndicatorOffset:",CGSizeMake(5,5)); +} +return _e; +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_14,_15){ +with(_14){ +objj_msgSend(_closeButton,"setTarget:",objj_msgSend(_14,"window")); +objj_msgSend(_closeButton,"setAction:",sel_getUid("performClose:")); +} +}),new objj_method(sel_getUid("setTitle:"),function(_16,_17,_18){ +with(_16){ +objj_msgSend(_titleField,"setStringValue:",_18); +} +}),new objj_method(sel_getUid("toolbarView"),function(_19,_1a){ +with(_19){ +return _toolbarView; +} +}),new objj_method(sel_getUid("toolbarLabelColor"),function(_1b,_1c){ +with(_1b){ +return objj_msgSend(CPColor,"whiteColor"); +} +}),new objj_method(sel_getUid("toolbarLabelShadowColor"),function(_1d,_1e){ +with(_1d){ +return objj_msgSend(CPColor,"blackColor"); +} +}),new objj_method(sel_getUid("toolbarOffset"),function(_1f,_20){ +with(_1f){ +return CGSizeMake(0,_3); +} +}),new objj_method(sel_getUid("tile"),function(_21,_22){ +with(_21){ +objj_msgSendSuper({receiver:_21,super_class:objj_getClass("_CPHUDWindowView").super_class},"tile"); +var _23=objj_msgSend(_21,"window"),_24=objj_msgSend(_21,"bounds"),_25=CGRectGetWidth(_24); +objj_msgSend(_titleField,"setFrame:",CGRectMake(20,3,_25-40,CGRectGetHeight(objj_msgSend(_titleField,"frame")))); +var _26=objj_msgSend(_21,"toolbarMaxY"); +objj_msgSend(objj_msgSend(_23,"contentView"),"setFrameOrigin:",CGPointMake(0,_26,_25,CGRectGetHeight(_24)-_26)); +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("initialize"),function(_27,_28){ +with(_27){ +if(_27!=objj_msgSend(_CPHUDWindowView,"class")){ +return; +} +var _29=objj_msgSend(CPBundle,"bundleForClass:",_27); +_1=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground0.png"),CPSizeMake(6,78)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground1.png"),CPSizeMake(1,78)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground2.png"),CPSizeMake(6,78)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground3.png"),CPSizeMake(6,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground4.png"),CPSizeMake(5,5)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground5.png"),CPSizeMake(6,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground6.png"),CPSizeMake(6,6)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground7.png"),CPSizeMake(6,6)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","CPWindow/HUD/CPWindowHUDBackground8.png"),CPSizeMake(6,6))])); +_CPHUDWindowViewCloseImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","HUDTheme/WindowClose.png"),CPSizeMake(20,20)); +_CPHUDWindowViewCloseActiveImage=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_29,"pathForResource:","HUDTheme/WindowCloseActive.png"),CPSizeMake(20,20)); +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_2a,_2b,_2c){ +with(_2a){ +var _2d=CGRectMakeCopy(_2c),_2e=_3; +_2d.origin.y+=_2e; +_2d.size.height-=_2e; +return _2d; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_2f,_30,_31){ +with(_2f){ +var _32=CGRectMakeCopy(_31),_33=_3; +_32.origin.y-=_33; +_32.size.height+=_33; +return _32; +} +})]); +p;23;_CPStandardWindowView.jt;11862;@STATIC;1.0;i;15;_CPWindowView.jt;11822; +objj_executeFile("_CPWindowView.j",YES); +var _1=41; +var _2=nil,_3=nil; +var _4=objj_allocateClassPair(CPView,"_CPTexturedWindowHeadView"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_gradientView"),new objj_ivar("_solidView"),new objj_ivar("_dividerView")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("initWithFrame:"),function(_6,_7,_8){ +with(_6){ +_6=objj_msgSendSuper({receiver:_6,super_class:objj_getClass("_CPTexturedWindowHeadView").super_class},"initWithFrame:",_8); +if(_6){ +var _9=objj_msgSend(_6,"class"),_a=objj_msgSend(_6,"bounds"); +_gradientView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,0,CGRectGetWidth(_a),_1)); +objj_msgSend(_gradientView,"setBackgroundColor:",objj_msgSend(_9,"gradientColor")); +objj_msgSend(_6,"addSubview:",_gradientView); +_solidView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,_1,CGRectGetWidth(_a),CGRectGetHeight(_a)-_1)); +objj_msgSend(_solidView,"setBackgroundColor:",objj_msgSend(_9,"solidColor")); +objj_msgSend(_6,"addSubview:",_solidView); +} +return _6; +} +}),new objj_method(sel_getUid("resizeSubviewsWithOldSize:"),function(_b,_c,_d){ +with(_b){ +var _e=objj_msgSend(_b,"bounds"); +objj_msgSend(_gradientView,"setFrameSize:",CGSizeMake(CGRectGetWidth(_e),_1)); +objj_msgSend(_solidView,"setFrameSize:",CGSizeMake(CGRectGetWidth(_e),CGRectGetHeight(_e)-_1)); +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("gradientColor"),function(_f,_10){ +with(_f){ +if(!_2){ +var _11=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(_CPWindowView,"class")); +_2=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPThreePartImage,"alloc"),"initWithImageSlices:isVertical:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_11,"pathForResource:","CPWindow/Standard/CPWindowStandardTop0.png"),CGSizeMake(6,41)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_11,"pathForResource:","CPWindow/Standard/CPWindowStandardTop1.png"),CGSizeMake(1,41)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_11,"pathForResource:","CPWindow/Standard/CPWindowStandardTop2.png"),CGSizeMake(6,41))],NO)); +} +return _2; +} +}),new objj_method(sel_getUid("solidColor"),function(_12,_13){ +with(_12){ +if(!_3){ +_3=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",195/255,195/255,195/255,1); +} +return _3; +} +})]); +var _14=nil,_15=nil,_16=nil,_17=nil,_18=nil,_19=nil,_1a=nil,_1b=nil,_1c=nil; +var _1d=41; +STANDARD_TITLEBAR_HEIGHT=25; +var _4=objj_allocateClassPair(_CPWindowView,"_CPStandardWindowView"),_5=_4.isa; +class_addIvars(_4,[new objj_ivar("_headView"),new objj_ivar("_dividerView"),new objj_ivar("_bodyView"),new objj_ivar("_toolbarView"),new objj_ivar("_titleField"),new objj_ivar("_closeButton"),new objj_ivar("_minimizeButton"),new objj_ivar("_isDocumentEdited")]); +objj_registerClassPair(_4); +class_addMethods(_4,[new objj_method(sel_getUid("contentRectForFrameRect:"),function(_1e,_1f,_20){ +with(_1e){ +var _21=objj_msgSend(objj_msgSend(_1e,"class"),"contentRectForFrameRect:",_20),_22=objj_msgSend(objj_msgSend(_1e,"window"),"toolbar"); +if(objj_msgSend(_22,"isVisible")){ +toolbarHeight=CGRectGetHeight(objj_msgSend(objj_msgSend(_22,"_toolbarView"),"frame")); +_21.origin.y+=toolbarHeight; +_21.size.height-=toolbarHeight; +} +return _21; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_23,_24,_25){ +with(_23){ +var _26=objj_msgSend(objj_msgSend(_23,"class"),"frameRectForContentRect:",_25),_27=objj_msgSend(objj_msgSend(_23,"window"),"toolbar"); +if(objj_msgSend(_27,"isVisible")){ +toolbarHeight=CGRectGetHeight(objj_msgSend(objj_msgSend(_27,"_toolbarView"),"frame")); +_26.origin.y-=toolbarHeight; +_26.size.height+=toolbarHeight; +} +return _26; +} +}),new objj_method(sel_getUid("initWithFrame:styleMask:"),function(_28,_29,_2a,_2b){ +with(_28){ +_28=objj_msgSendSuper({receiver:_28,super_class:objj_getClass("_CPStandardWindowView").super_class},"initWithFrame:styleMask:",_2a,_2b); +if(_28){ +var _2c=objj_msgSend(_28,"class"),_2d=objj_msgSend(_28,"bounds"); +_headView=objj_msgSend(objj_msgSend(_CPTexturedWindowHeadView,"alloc"),"initWithFrame:",CGRectMake(0,0,CGRectGetWidth(_2d),objj_msgSend(objj_msgSend(_28,"class"),"titleBarHeight"))); +objj_msgSend(_headView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_headView,"setHitTests:",NO); +objj_msgSend(_28,"addSubview:",_headView); +_dividerView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,CGRectGetMaxY(objj_msgSend(_headView,"frame")),CGRectGetWidth(_2d),1)); +objj_msgSend(_dividerView,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_dividerView,"setBackgroundColor:",objj_msgSend(_2c,"dividerBackgroundColor")); +objj_msgSend(_dividerView,"setHitTests:",NO); +objj_msgSend(_28,"addSubview:",_dividerView); +var y=CGRectGetMaxY(objj_msgSend(_dividerView,"frame")); +_bodyView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(0,y,CGRectGetWidth(_2d),CGRectGetHeight(_2d)-y)); +objj_msgSend(_bodyView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_bodyView,"setBackgroundColor:",objj_msgSend(_2c,"bodyBackgroundColor")); +objj_msgSend(_bodyView,"setHitTests:",NO); +objj_msgSend(_28,"addSubview:",_bodyView); +objj_msgSend(_28,"setResizeIndicatorOffset:",CGSizeMake(2,2)); +_titleField=objj_msgSend(objj_msgSend(CPTextField,"alloc"),"initWithFrame:",CGRectMakeZero()); +objj_msgSend(_titleField,"setFont:",objj_msgSend(CPFont,"boldSystemFontOfSize:",12)); +objj_msgSend(_titleField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_titleField,"setLineBreakMode:",CPLineBreakByTruncatingTail); +objj_msgSend(_titleField,"setAlignment:",CPCenterTextAlignment); +objj_msgSend(_titleField,"setTextShadowColor:",objj_msgSend(CPColor,"whiteColor")); +objj_msgSend(_titleField,"setTextShadowOffset:",CGSizeMake(0,1)); +objj_msgSend(_titleField,"setStringValue:","Untitled"); +objj_msgSend(_titleField,"sizeToFit"); +objj_msgSend(_titleField,"setAutoresizingMask:",CPViewWidthSizable); +objj_msgSend(_titleField,"setStringValue:",""); +objj_msgSend(_28,"addSubview:",_titleField); +if(_styleMask&CPClosableWindowMask){ +if(!_17){ +var _2e=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")); +_17=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardCloseButton.png"),CGSizeMake(16,16)); +_18=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png"),CGSizeMake(16,16)); +_19=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png"),CGSizeMake(16,16)); +_1a=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png"),CGSizeMake(16,16)); +} +_closeButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(8,7,16,16)); +objj_msgSend(_closeButton,"setBordered:",NO); +objj_msgSend(_28,"_updateCloseButton"); +objj_msgSend(_28,"addSubview:",_closeButton); +} +if(_styleMask&CPMiniaturizableWindowMask&&!objj_msgSend(CPPlatform,"isBrowser")){ +if(!_1b){ +var _2e=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")); +_1b=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardMinimizeButton.png"),CGSizeMake(16,16)); +_1c=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_2e,"pathForResource:","CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png"),CGSizeMake(16,16)); +} +_minimizeButton=objj_msgSend(objj_msgSend(CPButton,"alloc"),"initWithFrame:",CGRectMake(27,7,16,16)); +objj_msgSend(_minimizeButton,"setBordered:",NO); +objj_msgSend(_minimizeButton,"setImage:",_1b); +objj_msgSend(_minimizeButton,"setAlternateImage:",_1c); +objj_msgSend(_28,"addSubview:",_minimizeButton); +} +objj_msgSend(_28,"tile"); +} +return _28; +} +}),new objj_method(sel_getUid("viewDidMoveToWindow"),function(_2f,_30){ +with(_2f){ +objj_msgSend(_closeButton,"setTarget:",objj_msgSend(_2f,"window")); +objj_msgSend(_closeButton,"setAction:",sel_getUid("performClose:")); +objj_msgSend(_minimizeButton,"setTarget:",objj_msgSend(_2f,"window")); +objj_msgSend(_minimizeButton,"setAction:",sel_getUid("performMiniaturize:")); +} +}),new objj_method(sel_getUid("toolbarOffset"),function(_31,_32){ +with(_31){ +return CGSizeMake(0,objj_msgSend(objj_msgSend(_31,"class"),"titleBarHeight")); +} +}),new objj_method(sel_getUid("tile"),function(_33,_34){ +with(_33){ +objj_msgSendSuper({receiver:_33,super_class:objj_getClass("_CPStandardWindowView").super_class},"tile"); +var _35=objj_msgSend(_33,"window"),_36=objj_msgSend(_33,"bounds"),_37=CGRectGetWidth(_36); +objj_msgSend(_headView,"setFrameSize:",CGSizeMake(_37,objj_msgSend(_33,"toolbarMaxY"))); +objj_msgSend(_dividerView,"setFrame:",CGRectMake(0,CGRectGetMaxY(objj_msgSend(_headView,"frame")),_37,1)); +var _38=CGRectGetMaxY(objj_msgSend(_dividerView,"frame")); +objj_msgSend(_bodyView,"setFrame:",CGRectMake(0,_38,_37,CGRectGetHeight(_36)-_38)); +var _39=8; +if(_closeButton){ +_39+=19; +} +if(_minimizeButton){ +_39+=19; +} +objj_msgSend(_titleField,"setFrame:",CGRectMake(_39,5,_37-_39*2,CGRectGetHeight(objj_msgSend(_titleField,"frame")))); +objj_msgSend(objj_msgSend(_35,"contentView"),"setFrameOrigin:",CGPointMake(0,CGRectGetMaxY(objj_msgSend(_dividerView,"frame")))); +} +}),new objj_method(sel_getUid("_updateCloseButton"),function(_3a,_3b){ +with(_3a){ +if(_isDocumentEdited){ +objj_msgSend(_closeButton,"setImage:",_19); +objj_msgSend(_closeButton,"setAlternateImage:",_1a); +}else{ +objj_msgSend(_closeButton,"setImage:",_17); +objj_msgSend(_closeButton,"setAlternateImage:",_18); +} +} +}),new objj_method(sel_getUid("setDocumentEdited:"),function(_3c,_3d,_3e){ +with(_3c){ +_isDocumentEdited=_3e; +objj_msgSend(_3c,"_updateCloseButton"); +} +}),new objj_method(sel_getUid("setTitle:"),function(_3f,_40,_41){ +with(_3f){ +objj_msgSend(_titleField,"setStringValue:",_41); +} +}),new objj_method(sel_getUid("mouseDown:"),function(_42,_43,_44){ +with(_42){ +if(CGRectContainsPoint(objj_msgSend(_headView,"frame"),objj_msgSend(_42,"convertPoint:fromView:",objj_msgSend(_44,"locationInWindow"),nil))){ +return objj_msgSend(_42,"trackMoveWithEvent:",_44); +} +objj_msgSendSuper({receiver:_42,super_class:objj_getClass("_CPStandardWindowView").super_class},"mouseDown:",_44); +} +})]); +class_addMethods(_5,[new objj_method(sel_getUid("bodyBackgroundColor"),function(_45,_46){ +with(_45){ +if(!_14){ +_14=objj_msgSend(CPColor,"colorWithWhite:alpha:",0.96,1); +} +return _14; +} +}),new objj_method(sel_getUid("dividerBackgroundColor"),function(_47,_48){ +with(_47){ +if(!_15){ +_15=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",125/255,125/255,125/255,1); +} +return _15; +} +}),new objj_method(sel_getUid("titleColor"),function(_49,_4a){ +with(_49){ +if(!_16){ +_16=objj_msgSend(CPColor,"colorWithCalibratedRed:green:blue:alpha:",44/255,44/255,44/255,1); +} +return _16; +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_4b,_4c,_4d){ +with(_4b){ +var _4e=CGRectMakeCopy(_4d),_4f=objj_msgSend(_4b,"titleBarHeight")+1; +_4e.origin.y+=_4f; +_4e.size.height-=_4f; +return _4e; +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_50,_51,_52){ +with(_50){ +var _53=CGRectMakeCopy(_52),_54=objj_msgSend(_50,"titleBarHeight")+1; +_53.origin.y-=_54; +_53.size.height+=_54; +return _53; +} +}),new objj_method(sel_getUid("titleBarHeight"),function(_55,_56){ +with(_55){ +return STANDARD_TITLEBAR_HEIGHT; +} +})]); +p;15;_CPWindowView.jt;9275;@STATIC;1.0;i;8;CPView.ji;13;CPImageView.jt;9226; +objj_executeFile("CPView.j",YES); +objj_executeFile("CPImageView.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(CPView,"_CPWindowView"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_styleMask"),new objj_ivar("_resizeIndicator"),new objj_ivar("_resizeIndicatorOffset"),new objj_ivar("_toolbarView"),new objj_ivar("_toolbarOffset"),new objj_ivar("_resizeFrame"),new objj_ivar("_mouseDraggedPoint"),new objj_ivar("_cachedScreenFrame")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("contentRectForFrameRect:"),function(_4,_5,_6){ +with(_4){ +return objj_msgSend(objj_msgSend(_4,"class"),"contentRectForFrameRect:",_6); +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_7,_8,_9){ +with(_7){ +return objj_msgSend(objj_msgSend(_7,"class"),"frameRectForContentRect:",_9); +} +}),new objj_method(sel_getUid("initWithFrame:styleMask:"),function(_a,_b,_c,_d){ +with(_a){ +_a=objj_msgSendSuper({receiver:_a,super_class:objj_getClass("_CPWindowView").super_class},"initWithFrame:",_c); +if(_a){ +_styleMask=_d; +_resizeIndicatorOffset=CGSizeMakeZero(); +_toolbarOffset=CGSizeMakeZero(); +} +return _a; +} +}),new objj_method(sel_getUid("setDocumentEdited:"),function(_e,_f,_10){ +with(_e){ +} +}),new objj_method(sel_getUid("setTitle:"),function(_11,_12,_13){ +with(_11){ +} +}),new objj_method(sel_getUid("acceptsFirstMouse:"),function(_14,_15,_16){ +with(_14){ +return YES; +} +}),new objj_method(sel_getUid("mouseDown:"),function(_17,_18,_19){ +with(_17){ +var _1a=objj_msgSend(_17,"window"); +if((_styleMask&CPResizableWindowMask)&&_resizeIndicator){ +var _1b=objj_msgSend(_resizeIndicator,"frame"); +if(CGRectContainsPoint(_1b,objj_msgSend(_17,"convertPoint:fromView:",objj_msgSend(_19,"locationInWindow"),nil))){ +return objj_msgSend(_17,"trackResizeWithEvent:",_19); +} +} +if(objj_msgSend(_1a,"isMovableByWindowBackground")){ +objj_msgSend(_17,"trackMoveWithEvent:",_19); +}else{ +objj_msgSendSuper({receiver:_17,super_class:objj_getClass("_CPWindowView").super_class},"mouseDown:",_19); +} +} +}),new objj_method(sel_getUid("trackResizeWithEvent:"),function(_1c,_1d,_1e){ +with(_1c){ +var _1f=objj_msgSend(_1e,"locationInWindow"),_20=objj_msgSend(_1e,"type"); +if(_20===CPLeftMouseUp){ +return; +} +var _21=objj_msgSend(_1c,"window"); +if(_20===CPLeftMouseDown){ +var _22=objj_msgSend(_21,"frame"); +_resizeFrame=CGRectMake(_1f.x,_1f.y,CGRectGetWidth(_22),CGRectGetHeight(_22)); +}else{ +if(_20===CPLeftMouseDragged){ +var _23=CGSizeMake(CGRectGetWidth(_resizeFrame)+_1f.x-CGRectGetMinX(_resizeFrame),CGRectGetHeight(_resizeFrame)+_1f.y-CGRectGetMinY(_resizeFrame)); +if(_21._isSheet&&_21._parentView&&(_21._frame.size.width!==_23.width)){ +objj_msgSend(_21._parentView,"_setAttachedSheetFrameOrigin"); +} +objj_msgSend(_21,"setFrameSize:",_23); +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_1c,sel_getUid("trackResizeWithEvent:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("_pointWithinScreenFrame:"),function(_24,_25,_26){ +with(_24){ +if(!objj_msgSend(CPPlatform,"isBrowser")){ +return _26; +} +var _27=_cachedScreenFrame; +if(!_27){ +_27=objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"visibleFrame"); +} +var _28=0; +if(objj_msgSend(CPMenu,"menuBarVisible")){ +_28=objj_msgSend(objj_msgSend(CPApp,"mainMenu"),"menuBarHeight"); +} +var _29=CGPointMake(0,0); +_29.x=MIN(MAX(_26.x,-_frame.size.width+4),CGRectGetMaxX(_27)-4); +_29.y=MIN(MAX(_26.y,_28),CGRectGetMaxY(_27)-8); +return _29; +} +}),new objj_method(sel_getUid("trackMoveWithEvent:"),function(_2a,_2b,_2c){ +with(_2a){ +var _2d=objj_msgSend(_2c,"type"); +if(_2d===CPLeftMouseUp){ +_cachedScreenFrame=nil; +return; +}else{ +if(_2d===CPLeftMouseDown){ +_mouseDraggedPoint=objj_msgSend(objj_msgSend(_2a,"window"),"convertBaseToGlobal:",objj_msgSend(_2c,"locationInWindow")); +_cachedScreenFrame=objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"visibleFrame"); +}else{ +if(_2d===CPLeftMouseDragged){ +var _2e=objj_msgSend(_2a,"window"),_2f=objj_msgSend(_2e,"frame"),_30=objj_msgSend(_2e,"convertBaseToGlobal:",objj_msgSend(_2c,"locationInWindow")),_31=objj_msgSend(_2a,"_pointWithinScreenFrame:",CGPointMake((_2f.origin.x)+(_30.x-_mouseDraggedPoint.x),(_2f.origin.y)+(_30.y-_mouseDraggedPoint.y))); +objj_msgSend(_2e,"setFrameOrigin:",_31); +_mouseDraggedPoint=objj_msgSend(_2a,"_pointWithinScreenFrame:",_30); +} +} +} +objj_msgSend(CPApp,"setTarget:selector:forNextEventMatchingMask:untilDate:inMode:dequeue:",_2a,sel_getUid("trackMoveWithEvent:"),CPLeftMouseDraggedMask|CPLeftMouseUpMask,nil,nil,YES); +} +}),new objj_method(sel_getUid("setShowsResizeIndicator:"),function(_32,_33,_34){ +with(_32){ +if(_34){ +var _35=objj_msgSend(_1,"size"),_36=objj_msgSend(_32,"frame").size; +_resizeIndicator=objj_msgSend(objj_msgSend(CPImageView,"alloc"),"initWithFrame:",CGRectMake(_36.width-_35.width-_resizeIndicatorOffset.width,_36.height-_35.height-_resizeIndicatorOffset.height,_35.width,_35.height)); +objj_msgSend(_resizeIndicator,"setImage:",_1); +objj_msgSend(_resizeIndicator,"setAutoresizingMask:",CPViewMinXMargin|CPViewMinYMargin); +objj_msgSend(_32,"addSubview:",_resizeIndicator); +}else{ +objj_msgSend(_resizeIndicator,"removeFromSuperview"); +_resizeIndicator=nil; +} +} +}),new objj_method(sel_getUid("showsResizeIndicator"),function(_37,_38){ +with(_37){ +return _resizeIndicator!==nil; +} +}),new objj_method(sel_getUid("setResizeIndicatorOffset:"),function(_39,_3a,_3b){ +with(_39){ +if(CGSizeEqualToSize(_resizeIndicatorOffset,_3b)){ +return; +} +_resizeIndicatorOffset=_3b; +if(!_resizeIndicator){ +return; +} +var _3c=objj_msgSend(_resizeIndicator,"frame").size,_3d=objj_msgSend(_39,"frame").size; +objj_msgSend(_resizeIndicator,"setFrameOrigin:",CGPointMake(_3d.width-_3c.width-_3b.width,_3d.height-_3c.height-_3b.height)); +} +}),new objj_method(sel_getUid("resizeIndicatorOffset"),function(_3e,_3f){ +with(_3e){ +return _resizeIndicatorOffset; +} +}),new objj_method(sel_getUid("windowDidChangeDocumentEdited"),function(_40,_41){ +with(_40){ +} +}),new objj_method(sel_getUid("windowDidChangeDocumentSaving"),function(_42,_43){ +with(_42){ +} +}),new objj_method(sel_getUid("showsToolbar"),function(_44,_45){ +with(_44){ +return YES; +} +}),new objj_method(sel_getUid("toolbarOffset"),function(_46,_47){ +with(_46){ +return _toolbarOffset; +} +}),new objj_method(sel_getUid("toolbarLabelColor"),function(_48,_49){ +with(_48){ +return objj_msgSend(CPColor,"blackColor"); +} +}),new objj_method(sel_getUid("toolbarMaxY"),function(_4a,_4b){ +with(_4a){ +if(!_toolbarView||objj_msgSend(_toolbarView,"isHidden")){ +return objj_msgSend(_4a,"toolbarOffset").height; +} +return CGRectGetMaxY(objj_msgSend(_toolbarView,"frame")); +} +}),new objj_method(sel_getUid("toolbarView"),function(_4c,_4d){ +with(_4c){ +return _toolbarView; +} +}),new objj_method(sel_getUid("tile"),function(_4e,_4f){ +with(_4e){ +var _50=objj_msgSend(_4e,"window"),_51=objj_msgSend(_4e,"bounds"),_52=CGRectGetWidth(_51); +if(objj_msgSend(objj_msgSend(_50,"toolbar"),"isVisible")){ +var _53=objj_msgSend(_4e,"toolbarView"),_54=objj_msgSend(_4e,"toolbarOffset"); +objj_msgSend(_53,"setFrame:",CGRectMake(_54.width,_54.height,_52,CGRectGetHeight(objj_msgSend(_53,"frame")))); +} +if(objj_msgSend(_4e,"showsResizeIndicator")){ +var _55=objj_msgSend(_resizeIndicator,"frame").size,_56=objj_msgSend(_4e,"bounds").size; +objj_msgSend(_resizeIndicator,"setFrameOrigin:",CGPointMake(_56.width-_55.width-_resizeIndicatorOffset.width,_56.height-_55.height-_resizeIndicatorOffset.height)); +} +} +}),new objj_method(sel_getUid("noteToolbarChanged"),function(_57,_58){ +with(_57){ +var _59=objj_msgSend(_57,"window"),_5a=objj_msgSend(_59,"toolbar"),_5b=objj_msgSend(_5a,"_toolbarView"); +if(_toolbarView!==_5b){ +objj_msgSend(_toolbarView,"removeFromSuperview"); +if(_5b){ +objj_msgSend(_5b,"removeFromSuperview"); +objj_msgSend(_5b,"FIXME_setIsHUD:",_styleMask&CPHUDBackgroundWindowMask); +objj_msgSend(_57,"addSubview:",_5b); +} +_toolbarView=_5b; +} +objj_msgSend(_5b,"setHidden:",!objj_msgSend(_57,"showsToolbar")||!objj_msgSend(_5a,"isVisible")); +if(_59){ +var _5c=objj_msgSend(_57,"convertRect:toView:",objj_msgSend(objj_msgSend(_59,"contentView"),"frame"),nil); +_5c.origin=objj_msgSend(_59,"convertBaseToGlobal:",_5c.origin); +objj_msgSend(_57,"setAutoresizesSubviews:",NO); +objj_msgSend(_59,"setFrame:",objj_msgSend(_59,"frameRectForContentRect:",_5c)); +objj_msgSend(_57,"setAutoresizesSubviews:",YES); +} +objj_msgSend(_57,"tile"); +} +}),new objj_method(sel_getUid("didAddSubview:"),function(_5d,_5e,_5f){ +with(_5d){ +if(!_resizeIndicator||_5f===_resizeIndicator){ +return; +} +objj_msgSend(_5d,"addSubview:",_resizeIndicator); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("initialize"),function(_60,_61){ +with(_60){ +if(_60!=objj_msgSend(_CPWindowView,"class")){ +return; +} +_1=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")),"pathForResource:","_CPWindowView/_CPWindowViewResizeIndicator.png"),CGSizeMake(12,12)); +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_62,_63,_64){ +with(_62){ +return CGRectMakeCopy(_64); +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_65,_66,_67){ +with(_65){ +return CGRectMakeCopy(_67); +} +})]); +p;10;CPWindow.jt;58085;@STATIC;1.0;I;25;Foundation/CPCountedSet.jI;33;Foundation/CPNotificationCenter.jI;26;Foundation/CPUndoManager.ji;12;CGGeometry.ji;13;CPAnimation.ji;13;CPResponder.ji;10;CPScreen.ji;18;CPPlatformWindow.ji;15;_CPWindowView.ji;23;_CPStandardWindowView.ji;23;_CPDocModalWindowView.ji;18;_CPHUDWindowView.ji;25;_CPBorderlessWindowView.ji;31;_CPBorderlessBridgeWindowView.ji;14;CPDragServer.ji;8;CPView.jt;57679; +objj_executeFile("Foundation/CPCountedSet.j",NO); +objj_executeFile("Foundation/CPNotificationCenter.j",NO); +objj_executeFile("Foundation/CPUndoManager.j",NO); +objj_executeFile("CGGeometry.j",YES); +objj_executeFile("CPAnimation.j",YES); +objj_executeFile("CPResponder.j",YES); +objj_executeFile("CPScreen.j",YES); +objj_executeFile("CPPlatformWindow.j",YES); +CPBorderlessWindowMask=0; +CPTitledWindowMask=1<<0; +CPClosableWindowMask=1<<1; +CPMiniaturizableWindowMask=1<<2; +CPResizableWindowMask=1<<3; +CPTexturedBackgroundWindowMask=1<<8; +CPBorderlessBridgeWindowMask=1<<20; +CPHUDBackgroundWindowMask=1<<21; +CPWindowNotSizable=0; +CPWindowMinXMargin=1; +CPWindowWidthSizable=2; +CPWindowMaxXMargin=4; +CPWindowMinYMargin=8; +CPWindowHeightSizable=16; +CPWindowMaxYMargin=32; +CPBackgroundWindowLevel=-1; +CPNormalWindowLevel=0; +CPFloatingWindowLevel=3; +CPSubmenuWindowLevel=3; +CPTornOffMenuWindowLevel=3; +CPMainMenuWindowLevel=24; +CPStatusWindowLevel=25; +CPModalPanelWindowLevel=8; +CPPopUpMenuWindowLevel=101; +CPDraggingWindowLevel=500; +CPScreenSaverWindowLevel=1000; +CPWindowOut=0; +CPWindowAbove=1; +CPWindowBelow=2; +CPWindowWillCloseNotification="CPWindowWillCloseNotification"; +CPWindowDidBecomeMainNotification="CPWindowDidBecomeMainNotification"; +CPWindowDidResignMainNotification="CPWindowDidResignMainNotification"; +CPWindowDidBecomeKeyNotification="CPWindowDidBecomeKeyNotification"; +CPWindowDidResignKeyNotification="CPWindowDidResignKeyNotification"; +CPWindowDidResizeNotification="CPWindowDidResizeNotification"; +CPWindowDidMoveNotification="CPWindowDidMoveNotification"; +CPWindowWillBeginSheetNotification="CPWindowWillBeginSheetNotification"; +CPWindowDidEndSheetNotification="CPWindowDidEndSheetNotification"; +CPWindowDidMiniaturizeNotification="CPWindowDidMiniaturizeNotification"; +CPWindowWillMiniaturizeNotification="CPWindowWillMiniaturizeNotification"; +CPWindowDidDeminiaturizeNotification="CPWindowDidDeminiaturizeNotification"; +CPWindowShadowStyleStandard=0; +CPWindowShadowStyleMenu=1; +CPWindowShadowStylePanel=2; +var _1=20,_2=19,_3=10,_4=10,_5=5,_6=nil; +var _7=nil,_8=nil; +var _9=objj_allocateClassPair(CPResponder,"CPWindow"),_a=_9.isa; +class_addIvars(_9,[new objj_ivar("_platformWindow"),new objj_ivar("_windowNumber"),new objj_ivar("_styleMask"),new objj_ivar("_frame"),new objj_ivar("_level"),new objj_ivar("_isVisible"),new objj_ivar("_isMiniaturized"),new objj_ivar("_isAnimating"),new objj_ivar("_hasShadow"),new objj_ivar("_isMovableByWindowBackground"),new objj_ivar("_shadowStyle"),new objj_ivar("_showsResizeIndicator"),new objj_ivar("_isDocumentEdited"),new objj_ivar("_isDocumentSaving"),new objj_ivar("_shadowView"),new objj_ivar("_windowView"),new objj_ivar("_contentView"),new objj_ivar("_toolbarView"),new objj_ivar("_mouseEnteredStack"),new objj_ivar("_leftMouseDownView"),new objj_ivar("_rightMouseDownView"),new objj_ivar("_toolbar"),new objj_ivar("_firstResponder"),new objj_ivar("_initialFirstResponder"),new objj_ivar("_delegate"),new objj_ivar("_title"),new objj_ivar("_acceptsMouseMovedEvents"),new objj_ivar("_ignoresMouseEvents"),new objj_ivar("_windowController"),new objj_ivar("_minSize"),new objj_ivar("_maxSize"),new objj_ivar("_undoManager"),new objj_ivar("_representedURL"),new objj_ivar("_registeredDraggedTypes"),new objj_ivar("_registeredDraggedTypesArray"),new objj_ivar("_inclusiveRegisteredDraggedTypes"),new objj_ivar("_defaultButton"),new objj_ivar("_defaultButtonEnabled"),new objj_ivar("_autorecalculatesKeyViewLoop"),new objj_ivar("_keyViewLoopIsDirty"),new objj_ivar("_sharesChromeWithPlatformWindow"),new objj_ivar("_autoresizingMask"),new objj_ivar("_delegateRespondsToWindowWillReturnUndoManagerSelector"),new objj_ivar("_isFullPlatformWindow"),new objj_ivar("_fullPlatformWindowSession"),new objj_ivar("_sheetContext"),new objj_ivar("_parentView"),new objj_ivar("_isSheet")]); +objj_registerClassPair(_9); +class_addMethods(_9,[new objj_method(sel_getUid("init"),function(_b,_c){ +with(_b){ +return objj_msgSend(_b,"initWithContentRect:styleMask:",{origin:{x:0,y:0},size:{width:0,height:0}},CPTitledWindowMask); +} +}),new objj_method(sel_getUid("initWithContentRect:styleMask:"),function(_d,_e,_f,_10){ +with(_d){ +_d=objj_msgSendSuper({receiver:_d,super_class:objj_getClass("CPWindow").super_class},"init"); +if(_d){ +var _11=objj_msgSend(objj_msgSend(_d,"class"),"_windowViewClassForStyleMask:",_10); +_frame=objj_msgSend(_11,"frameRectForContentRect:",_f); +objj_msgSend(_d,"_setSharesChromeWithPlatformWindow:",!objj_msgSend(CPPlatform,"isBrowser")); +if(objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(_d,"setPlatformWindow:",objj_msgSend(CPPlatformWindow,"primaryPlatformWindow")); +}else{ +objj_msgSend(_d,"setPlatformWindow:",objj_msgSend(objj_msgSend(CPPlatformWindow,"alloc"),"initWithContentRect:",_frame)); +objj_msgSend(_d,"platformWindow")._only=_d; +} +_isFullPlatformWindow=NO; +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +_isSheet=NO; +_windowNumber=objj_msgSend(CPApp._windows,"count"); +CPApp._windows[_windowNumber]=_d; +_styleMask=_10; +objj_msgSend(_d,"setLevel:",CPNormalWindowLevel); +_minSize=CGSizeMake(0,0); +_maxSize=CGSizeMake(1000000,1000000); +_windowView=objj_msgSend(objj_msgSend(_11,"alloc"),"initWithFrame:styleMask:",CGRectMake(0,0,CGRectGetWidth(_frame),CGRectGetHeight(_frame)),_10); +objj_msgSend(_windowView,"_setWindow:",_d); +objj_msgSend(_windowView,"setNextResponder:",_d); +objj_msgSend(_d,"setMovableByWindowBackground:",_10&CPHUDBackgroundWindowMask); +objj_msgSend(_d,"setContentView:",objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMakeZero())); +_firstResponder=_d; +objj_msgSend(_d,"setNextResponder:",CPApp); +objj_msgSend(_d,"setHasShadow:",_10!==CPBorderlessWindowMask); +if(_10&CPBorderlessBridgeWindowMask){ +objj_msgSend(_d,"setFullPlatformWindow:",YES); +} +_defaultButtonEnabled=YES; +_keyViewLoopIsDirty=YES; +objj_msgSend(_d,"setShowsResizeIndicator:",_styleMask&CPResizableWindowMask); +} +return _d; +} +}),new objj_method(sel_getUid("platformWindow"),function(_12,_13){ +with(_12){ +return _platformWindow; +} +}),new objj_method(sel_getUid("setPlatformWindow:"),function(_14,_15,_16){ +with(_14){ +_platformWindow=_16; +} +}),new objj_method(sel_getUid("awakeFromCib"),function(_17,_18){ +with(_17){ +if(_initialFirstResponder){ +objj_msgSend(_17,"makeFirstResponder:",_initialFirstResponder); +} +_keyViewLoopIsDirty=!objj_msgSend(_17,"_hasKeyViewLoop"); +} +}),new objj_method(sel_getUid("_setWindowView:"),function(_19,_1a,_1b){ +with(_19){ +if(_windowView===_1b){ +return; +} +var _1c=_windowView; +_windowView=_1b; +if(_1c){ +objj_msgSend(_1c,"_setWindow:",nil); +objj_msgSend(_1c,"noteToolbarChanged"); +} +if(_windowView){ +var _1d=objj_msgSend(_contentView,"convertRect:toView:",objj_msgSend(_contentView,"bounds"),nil); +_1d.origin=objj_msgSend(_19,"convertBaseToGlobal:",_1d.origin); +objj_msgSend(_windowView,"_setWindow:",_19); +objj_msgSend(_windowView,"setNextResponder:",_19); +objj_msgSend(_windowView,"addSubview:",_contentView); +objj_msgSend(_windowView,"setTitle:",_title); +objj_msgSend(_windowView,"noteToolbarChanged"); +objj_msgSend(_windowView,"setShowsResizeIndicator:",objj_msgSend(_19,"showsResizeIndicator")); +objj_msgSend(_19,"setFrame:",objj_msgSend(_19,"frameRectForContentRect:",_1d)); +} +} +}),new objj_method(sel_getUid("setFullPlatformWindow:"),function(_1e,_1f,_20){ +with(_1e){ +if(!objj_msgSend(_platformWindow,"supportsFullPlatformWindows")){ +return; +} +_20=!!_20; +if(_isFullPlatformWindow===_20){ +return; +} +_isFullPlatformWindow=_20; +if(_isFullPlatformWindow){ +_fullPlatformWindowSession=_CPWindowFullPlatformWindowSessionMake(_windowView,objj_msgSend(_1e,"contentRectForFrameRect:",objj_msgSend(_1e,"frame")),objj_msgSend(_1e,"hasShadow"),objj_msgSend(_1e,"level")); +var _21=objj_msgSend(objj_msgSend(_1e,"class"),"_windowViewClassForFullPlatformWindowStyleMask:",_styleMask),_22=objj_msgSend(objj_msgSend(_21,"alloc"),"initWithFrame:styleMask:",CGRectMakeZero(),_styleMask); +objj_msgSend(_1e,"_setWindowView:",_22); +objj_msgSend(_1e,"setLevel:",CPBackgroundWindowLevel); +objj_msgSend(_1e,"setHasShadow:",NO); +objj_msgSend(_1e,"setAutoresizingMask:",CPWindowWidthSizable|CPWindowHeightSizable); +objj_msgSend(_1e,"setFrame:",objj_msgSend(_platformWindow,"visibleFrame")); +}else{ +var _22=_fullPlatformWindowSession.windowView; +objj_msgSend(_1e,"_setWindowView:",_22); +objj_msgSend(_1e,"setLevel:",_fullPlatformWindowSession.level); +objj_msgSend(_1e,"setHasShadow:",_fullPlatformWindowSession.hasShadow); +objj_msgSend(_1e,"setAutoresizingMask:",CPWindowNotSizable); +objj_msgSend(_1e,"setFrame:",objj_msgSend(_22,"frameRectForContentRect:",_fullPlatformWindowSession.contentRect)); +} +} +}),new objj_method(sel_getUid("isFullPlatformWindow"),function(_23,_24){ +with(_23){ +return _isFullPlatformWindow; +} +}),new objj_method(sel_getUid("styleMask"),function(_25,_26){ +with(_25){ +return _styleMask; +} +}),new objj_method(sel_getUid("contentRectForFrameRect:"),function(_27,_28,_29){ +with(_27){ +return objj_msgSend(_windowView,"contentRectForFrameRect:",_29); +} +}),new objj_method(sel_getUid("frameRectForContentRect:"),function(_2a,_2b,_2c){ +with(_2a){ +return objj_msgSend(_windowView,"frameRectForContentRect:",_2c); +} +}),new objj_method(sel_getUid("frame"),function(_2d,_2e){ +with(_2d){ +return {origin:{x:_frame.origin.x,y:_frame.origin.y},size:{width:_frame.size.width,height:_frame.size.height}}; +} +}),new objj_method(sel_getUid("_setClippedFrame:display:animate:"),function(_2f,_30,_31,_32,_33){ +with(_2f){ +_31.size.width=MIN(MAX(_31.size.width,_minSize.width),_maxSize.width); +_31.size.height=MIN(MAX(_31.size.height,_minSize.height),_maxSize.height); +objj_msgSend(_2f,"setFrame:display:animate:",_31,_32,_33); +} +}),new objj_method(sel_getUid("setFrame:display:animate:"),function(_34,_35,_36,_37,_38){ +with(_34){ +_36={origin:{x:_36.origin.x,y:_36.origin.y},size:{width:_36.size.width,height:_36.size.height}}; +var _39=_36.origin.x,_3a=_39-FLOOR(_39); +if(_3a){ +_36.origin.x=_39>0.879?CEIL(_39):FLOOR(_39); +} +_39=_36.origin.y; +_3a=_39-FLOOR(_39); +if(_3a){ +_36.origin.y=_39>0.879?CEIL(_39):FLOOR(_39); +} +_39=_36.size.width; +_3a=_39-FLOOR(_39); +if(_3a){ +_36.size.width=_39>0.15?CEIL(_39):FLOOR(_39); +} +_39=_36.size.height; +_3a=_39-FLOOR(_39); +if(_3a){ +_36.size.height=_39>0.15?CEIL(_39):FLOOR(_39); +} +if(_38){ +var _3b=objj_msgSend(objj_msgSend(_CPWindowFrameAnimation,"alloc"),"initWithWindow:targetFrame:",_34,_36); +objj_msgSend(_3b,"startAnimation"); +}else{ +var _3c=_frame.origin,_3d=_36.origin; +if(!(_3c.x==_3d.x&&_3c.y==_3d.y)){ +_3c.x=_3d.x; +_3c.y=_3d.y; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidMoveNotification,_34); +} +var _3e=_frame.size,_3f=_36.size; +if(!(_3e.width==_3f.width&&_3e.height==_3f.height)){ +_3e.width=_3f.width; +_3e.height=_3f.height; +objj_msgSend(_windowView,"setFrameSize:",_3e); +if(_hasShadow){ +objj_msgSend(_shadowView,"setFrameSize:",{width:_1+_3e.width+_2,height:_4+_3e.height+_3+_5}); +} +if(!_isAnimating){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidResizeNotification,_34); +} +} +if(objj_msgSend(_34,"_sharesChromeWithPlatformWindow")){ +objj_msgSend(_platformWindow,"setContentRect:",_frame); +} +} +} +}),new objj_method(sel_getUid("setFrame:display:"),function(_40,_41,_42,_43){ +with(_40){ +objj_msgSend(_40,"_setClippedFrame:display:animate:",_42,_43,NO); +} +}),new objj_method(sel_getUid("setFrame:"),function(_44,_45,_46){ +with(_44){ +objj_msgSend(_44,"_setClippedFrame:display:animate:",_46,YES,NO); +} +}),new objj_method(sel_getUid("setFrameOrigin:"),function(_47,_48,_49){ +with(_47){ +objj_msgSend(_47,"_setClippedFrame:display:animate:",{origin:{x:_49.x,y:_49.y},size:{width:(_frame.size.width),height:(_frame.size.height)}},YES,NO); +} +}),new objj_method(sel_getUid("setFrameSize:"),function(_4a,_4b,_4c){ +with(_4a){ +objj_msgSend(_4a,"_setClippedFrame:display:animate:",{origin:{x:(_frame.origin.x),y:(_frame.origin.y)},size:{width:_4c.width,height:_4c.height}},YES,NO); +} +}),new objj_method(sel_getUid("orderFront:"),function(_4d,_4e,_4f){ +with(_4d){ +objj_msgSend(_platformWindow,"orderFront:",_4d); +objj_msgSend(_platformWindow,"order:window:relativeTo:",CPWindowAbove,_4d,nil); +} +}),new objj_method(sel_getUid("orderBack:"),function(_50,_51,_52){ +with(_50){ +} +}),new objj_method(sel_getUid("orderOut:"),function(_53,_54,_55){ +with(_53){ +if(objj_msgSend(_53,"_sharesChromeWithPlatformWindow")){ +objj_msgSend(_platformWindow,"orderOut:",_53); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowWillClose:"))){ +objj_msgSend(_delegate,"windowWillClose:",_53); +} +objj_msgSend(_platformWindow,"order:window:relativeTo:",CPWindowOut,_53,nil); +objj_msgSend(_53,"_updateMainAndKeyWindows"); +} +}),new objj_method(sel_getUid("orderWindow:relativeTo:"),function(_56,_57,_58,_59){ +with(_56){ +objj_msgSend(_platformWindow,"order:window:relativeTo:",_58,_56,CPApp._windows[_59]); +} +}),new objj_method(sel_getUid("setLevel:"),function(_5a,_5b,_5c){ +with(_5a){ +if(_5c===_level){ +return; +} +objj_msgSend(_platformWindow,"moveWindow:fromLevel:toLevel:",_5a,_level,_5c); +_level=_5c; +if(objj_msgSend(_5a,"_sharesChromeWithPlatformWindow")){ +objj_msgSend(_platformWindow,"setLevel:",_5c); +} +} +}),new objj_method(sel_getUid("level"),function(_5d,_5e){ +with(_5d){ +return _level; +} +}),new objj_method(sel_getUid("isVisible"),function(_5f,_60){ +with(_5f){ +return _isVisible; +} +}),new objj_method(sel_getUid("showsResizeIndicator"),function(_61,_62){ +with(_61){ +return _showsResizeIndicator; +} +}),new objj_method(sel_getUid("setShowsResizeIndicator:"),function(_63,_64,_65){ +with(_63){ +_65=!!_65; +if(_showsResizeIndicator===_65){ +return; +} +_showsResizeIndicator=_65; +objj_msgSend(_windowView,"setShowsResizeIndicator:",objj_msgSend(_63,"showsResizeIndicator")); +} +}),new objj_method(sel_getUid("resizeIndicatorOffset"),function(_66,_67){ +with(_66){ +return objj_msgSend(_windowView,"resizeIndicatorOffset"); +} +}),new objj_method(sel_getUid("setResizeIndicatorOffset:"),function(_68,_69,_6a){ +with(_68){ +objj_msgSend(_windowView,"setResizeIndicatorOffset:",_6a); +} +}),new objj_method(sel_getUid("setContentView:"),function(_6b,_6c,_6d){ +with(_6b){ +if(_contentView){ +objj_msgSend(_contentView,"removeFromSuperview"); +} +var _6e=CGRectMake(0,0,CGRectGetWidth(_frame),CGRectGetHeight(_frame)); +_contentView=_6d; +objj_msgSend(_contentView,"setFrame:",objj_msgSend(_6b,"contentRectForFrameRect:",_6e)); +objj_msgSend(_contentView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +objj_msgSend(_windowView,"addSubview:",_contentView); +} +}),new objj_method(sel_getUid("contentView"),function(_6f,_70){ +with(_6f){ +return _contentView; +} +}),new objj_method(sel_getUid("setBackgroundColor:"),function(_71,_72,_73){ +with(_71){ +objj_msgSend(_windowView,"setBackgroundColor:",_73); +} +}),new objj_method(sel_getUid("backgroundColor"),function(_74,_75){ +with(_74){ +return objj_msgSend(_windowView,"backgroundColor"); +} +}),new objj_method(sel_getUid("setMinSize:"),function(_76,_77,_78){ +with(_76){ +if(CGSizeEqualToSize(_minSize,_78)){ +return; +} +_minSize=CGSizeCreateCopy(_78); +var _79=CGSizeMakeCopy(objj_msgSend(_76,"frame").size),_7a=NO; +if(_79.width<_minSize.width){ +_79.width=_minSize.width; +_7a=YES; +} +if(_79.height<_minSize.height){ +_79.height=_minSize.height; +_7a=YES; +} +if(_7a){ +objj_msgSend(_76,"setFrameSize:",_79); +} +} +}),new objj_method(sel_getUid("minSize"),function(_7b,_7c){ +with(_7b){ +return _minSize; +} +}),new objj_method(sel_getUid("setMaxSize:"),function(_7d,_7e,_7f){ +with(_7d){ +if(CGSizeEqualToSize(_maxSize,_7f)){ +return; +} +_maxSize=CGSizeCreateCopy(_7f); +var _80=CGSizeMakeCopy(objj_msgSend(_7d,"frame").size),_81=NO; +if(_80.width>_maxSize.width){ +_80.width=_maxSize.width; +_81=YES; +} +if(_80.height>_maxSize.height){ +_80.height=_maxSize.height; +_81=YES; +} +if(_81){ +objj_msgSend(_7d,"setFrameSize:",_80); +} +} +}),new objj_method(sel_getUid("maxSize"),function(_82,_83){ +with(_82){ +return _maxSize; +} +}),new objj_method(sel_getUid("hasShadow"),function(_84,_85){ +with(_84){ +return _hasShadow; +} +}),new objj_method(sel_getUid("_updateShadow"),function(_86,_87){ +with(_86){ +if(objj_msgSend(_86,"_sharesChromeWithPlatformWindow")){ +if(_shadowView){ +_shadowView=nil; +} +objj_msgSend(_platformWindow,"setHasShadow:",_hasShadow); +return; +} +if(_hasShadow&&!_shadowView){ +var _88=objj_msgSend(_windowView,"bounds"); +_shadowView=objj_msgSend(objj_msgSend(CPView,"alloc"),"initWithFrame:",CGRectMake(-_1,-_3+_5,_1+CGRectGetWidth(_88)+_2,_3+CGRectGetHeight(_88)+_4)); +if(!_6){ +var _89=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")); +_6=objj_msgSend(CPColor,"colorWithPatternImage:",objj_msgSend(objj_msgSend(CPNinePartImage,"alloc"),"initWithImageSlices:",[objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow0.png"),CGSizeMake(20,19)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow1.png"),CGSizeMake(1,19)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow2.png"),CGSizeMake(19,19)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow3.png"),CGSizeMake(20,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow4.png"),CGSizeMake(1,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow5.png"),CGSizeMake(19,1)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow6.png"),CGSizeMake(20,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow7.png"),CGSizeMake(1,18)),objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_89,"pathForResource:","CPWindow/CPWindowShadow8.png"),CGSizeMake(19,18))])); +} +objj_msgSend(_shadowView,"setBackgroundColor:",_6); +objj_msgSend(_shadowView,"setAutoresizingMask:",CPViewWidthSizable|CPViewHeightSizable); +}else{ +if(!_hasShadow&&_shadowView){ +_shadowView=nil; +} +} +} +}),new objj_method(sel_getUid("setHasShadow:"),function(_8a,_8b,_8c){ +with(_8a){ +if(_hasShadow===_8c){ +return; +} +_hasShadow=_8c; +objj_msgSend(_8a,"_updateShadow"); +} +}),new objj_method(sel_getUid("setShadowStyle:"),function(_8d,_8e,_8f){ +with(_8d){ +_shadowStyle=_8f; +objj_msgSend(objj_msgSend(_8d,"platformWindow"),"setShadowStyle:",_shadowStyle); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_90,_91,_92){ +with(_90){ +var _93=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_93,"removeObserver:name:object:",_delegate,CPWindowDidResignKeyNotification,_90); +objj_msgSend(_93,"removeObserver:name:object:",_delegate,CPWindowDidBecomeKeyNotification,_90); +objj_msgSend(_93,"removeObserver:name:object:",_delegate,CPWindowDidBecomeMainNotification,_90); +objj_msgSend(_93,"removeObserver:name:object:",_delegate,CPWindowDidResignMainNotification,_90); +objj_msgSend(_93,"removeObserver:name:object:",_delegate,CPWindowDidMoveNotification,_90); +objj_msgSend(_93,"removeObserver:name:object:",_delegate,CPWindowDidResizeNotification,_90); +_delegate=_92; +_delegateRespondsToWindowWillReturnUndoManagerSelector=objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowWillReturnUndoManager:")); +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidResignKey:"))){ +objj_msgSend(_93,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidResignKey:"),CPWindowDidResignKeyNotification,_90); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidBecomeKey:"))){ +objj_msgSend(_93,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidBecomeKey:"),CPWindowDidBecomeKeyNotification,_90); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidBecomeMain:"))){ +objj_msgSend(_93,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidBecomeMain:"),CPWindowDidBecomeMainNotification,_90); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidResignMain:"))){ +objj_msgSend(_93,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidResignMain:"),CPWindowDidResignMainNotification,_90); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidMove:"))){ +objj_msgSend(_93,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidMove:"),CPWindowDidMoveNotification,_90); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowDidResize:"))){ +objj_msgSend(_93,"addObserver:selector:name:object:",_delegate,sel_getUid("windowDidResize:"),CPWindowDidResizeNotification,_90); +} +} +}),new objj_method(sel_getUid("delegate"),function(_94,_95){ +with(_94){ +return _delegate; +} +}),new objj_method(sel_getUid("setWindowController:"),function(_96,_97,_98){ +with(_96){ +_windowController=_98; +} +}),new objj_method(sel_getUid("windowController"),function(_99,_9a){ +with(_99){ +return _windowController; +} +}),new objj_method(sel_getUid("doCommandBySelector:"),function(_9b,_9c,_9d){ +with(_9b){ +if(objj_msgSend(_delegate,"respondsToSelector:",_9d)){ +objj_msgSend(_delegate,"performSelector:",_9d); +}else{ +objj_msgSendSuper({receiver:_9b,super_class:objj_getClass("CPWindow").super_class},"doCommandBySelector:",_9d); +} +} +}),new objj_method(sel_getUid("acceptsFirstResponder"),function(_9e,_9f){ +with(_9e){ +return YES; +} +}),new objj_method(sel_getUid("makeFirstResponder:"),function(_a0,_a1,_a2){ +with(_a0){ +if(_firstResponder==_a2){ +return YES; +} +if(!objj_msgSend(_firstResponder,"resignFirstResponder")){ +return NO; +} +if(!_a2||!objj_msgSend(_a2,"acceptsFirstResponder")||!objj_msgSend(_a2,"becomeFirstResponder")){ +_firstResponder=_a0; +return NO; +} +_firstResponder=_a2; +return YES; +} +}),new objj_method(sel_getUid("firstResponder"),function(_a3,_a4){ +with(_a3){ +return _firstResponder; +} +}),new objj_method(sel_getUid("acceptsMouseMovedEvents"),function(_a5,_a6){ +with(_a5){ +return _acceptsMouseMovedEvents; +} +}),new objj_method(sel_getUid("setAcceptsMouseMovedEvents:"),function(_a7,_a8,_a9){ +with(_a7){ +_acceptsMouseMovedEvents=_a9; +} +}),new objj_method(sel_getUid("ignoresMouseEvents"),function(_aa,_ab){ +with(_aa){ +return _ignoresMouseEvents; +} +}),new objj_method(sel_getUid("setIgnoresMouseEvents:"),function(_ac,_ad,_ae){ +with(_ac){ +_ignoresMouseEvents=_ae; +} +}),new objj_method(sel_getUid("title"),function(_af,_b0){ +with(_af){ +return _title; +} +}),new objj_method(sel_getUid("setTitle:"),function(_b1,_b2,_b3){ +with(_b1){ +_title=_b3; +objj_msgSend(_windowView,"setTitle:",_b3); +objj_msgSend(_b1,"_synchronizeMenuBarTitleWithWindowTitle"); +} +}),new objj_method(sel_getUid("setTitleWithRepresentedFilename:"),function(_b4,_b5,_b6){ +with(_b4){ +objj_msgSend(_b4,"setRepresentedFilename:",_b6); +objj_msgSend(_b4,"setTitle:",objj_msgSend(_b6,"lastPathComponent")); +} +}),new objj_method(sel_getUid("setRepresentedFilename:"),function(_b7,_b8,_b9){ +with(_b7){ +objj_msgSend(_b7,"setRepresentedURL:",_b9); +} +}),new objj_method(sel_getUid("representedFilename"),function(_ba,_bb){ +with(_ba){ +return _representedURL; +} +}),new objj_method(sel_getUid("setRepresentedURL:"),function(_bc,_bd,_be){ +with(_bc){ +_representedURL=_be; +} +}),new objj_method(sel_getUid("representedURL"),function(_bf,_c0){ +with(_bf){ +return _representedURL; +} +}),new objj_method(sel_getUid("screen"),function(_c1,_c2){ +with(_c1){ +return objj_msgSend(objj_msgSend(CPScreen,"alloc"),"init"); +} +}),new objj_method(sel_getUid("setMovableByWindowBackground:"),function(_c3,_c4,_c5){ +with(_c3){ +_isMovableByWindowBackground=_c5; +} +}),new objj_method(sel_getUid("isMovableByWindowBackground"),function(_c6,_c7){ +with(_c6){ +return _isMovableByWindowBackground; +} +}),new objj_method(sel_getUid("center"),function(_c8,_c9){ +with(_c8){ +var _ca=objj_msgSend(_c8,"frame").size,_cb=objj_msgSend(CPPlatform,"isBrowser")?objj_msgSend(_platformWindow,"contentBounds").size:objj_msgSend(objj_msgSend(_c8,"screen"),"visibleFrame").size; +objj_msgSend(_c8,"setFrameOrigin:",CGPointMake((_cb.width-_ca.width)/2,(_cb.height-_ca.height)/2)); +} +}),new objj_method(sel_getUid("sendEvent:"),function(_cc,_cd,_ce){ +with(_cc){ +var _cf=objj_msgSend(_ce,"type"),_d0=objj_msgSend(_ce,"locationInWindow"); +switch(_cf){ +case CPKeyUp: +return objj_msgSend(objj_msgSend(_cc,"firstResponder"),"keyUp:",_ce); +case CPKeyDown: +return objj_msgSend(objj_msgSend(_cc,"firstResponder"),"keyDown:",_ce); +case CPScrollWheel: +return objj_msgSend(objj_msgSend(_windowView,"hitTest:",_d0),"scrollWheel:",_ce); +case CPLeftMouseUp: +if(!_leftMouseDownView){ +return objj_msgSend(objj_msgSend(_windowView,"hitTest:",_d0),"mouseUp:",_ce); +} +objj_msgSend(_leftMouseDownView,"mouseUp:",_ce); +_leftMouseDownView=nil; +return; +case CPLeftMouseDown: +_leftMouseDownView=objj_msgSend(_windowView,"hitTest:",_d0); +if(_leftMouseDownView!=_firstResponder&&objj_msgSend(_leftMouseDownView,"acceptsFirstResponder")){ +objj_msgSend(_cc,"makeFirstResponder:",_leftMouseDownView); +} +objj_msgSend(CPApp,"activateIgnoringOtherApps:",YES); +var _d1=objj_msgSend(_ce,"window"); +if(objj_msgSend(_d1,"isKeyWindow")||objj_msgSend(_d1,"becomesKeyOnlyIfNeeded")&&!objj_msgSend(_leftMouseDownView,"needsPanelToBecomeKey")){ +return objj_msgSend(_leftMouseDownView,"mouseDown:",_ce); +}else{ +objj_msgSend(_cc,"makeKeyAndOrderFront:",_cc); +if(objj_msgSend(_leftMouseDownView,"acceptsFirstMouse:",_ce)){ +return objj_msgSend(_leftMouseDownView,"mouseDown:",_ce); +} +} +break; +case CPLeftMouseDragged: +if(!_leftMouseDownView){ +return objj_msgSend(objj_msgSend(_windowView,"hitTest:",_d0),"mouseDragged:",_ce); +} +return objj_msgSend(_leftMouseDownView,"mouseDragged:",_ce); +case CPRightMouseUp: +return objj_msgSend(_rightMouseDownView,"mouseUp:",_ce); +case CPRightMouseDown: +_rightMouseDownView=objj_msgSend(_windowView,"hitTest:",_d0); +return objj_msgSend(_rightMouseDownView,"mouseDown:",_ce); +case CPRightMouseDragged: +return objj_msgSend(_rightMouseDownView,"mouseDragged:",_ce); +case CPMouseMoved: +if(!_acceptsMouseMovedEvents){ +return; +} +if(!_mouseEnteredStack){ +_mouseEnteredStack=[]; +} +var _d2=objj_msgSend(_windowView,"hitTest:",_d0); +if(objj_msgSend(_mouseEnteredStack,"count")&&objj_msgSend(_mouseEnteredStack,"lastObject")===_d2){ +return objj_msgSend(_d2,"mouseMoved:",_ce); +} +var _d3=_d2,_d4=[]; +while(_d3){ +_d4.unshift(_d3); +_d3=objj_msgSend(_d3,"superview"); +} +var _d5=MIN(_mouseEnteredStack.length,_d4.length); +while(_d5--){ +if(_mouseEnteredStack[_d5]===_d4[_d5]){ +break; +} +} +var _d6=_d5+1,_d7=_mouseEnteredStack.length; +if(_d6<_d7){ +var _d8=objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPMouseExited,_d0,objj_msgSend(_ce,"modifierFlags"),objj_msgSend(_ce,"timestamp"),_windowNumber,nil,-1,1,0); +for(;_d6<_d7;++_d6){ +objj_msgSend(_mouseEnteredStack[_d6],"mouseExited:",_d8); +} +} +_d6=_d5+1; +_d7=_d4.length; +if(_d6<_d7){ +var _d8=objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPMouseEntered,_d0,objj_msgSend(_ce,"modifierFlags"),objj_msgSend(_ce,"timestamp"),_windowNumber,nil,-1,1,0); +for(;_d6<_d7;++_d6){ +objj_msgSend(_d4[_d6],"mouseEntered:",_d8); +} +} +_mouseEnteredStack=_d4; +objj_msgSend(_d2,"mouseMoved:",_ce); +} +} +}),new objj_method(sel_getUid("windowNumber"),function(_d9,_da){ +with(_d9){ +return _windowNumber; +} +}),new objj_method(sel_getUid("becomeKeyWindow"),function(_db,_dc){ +with(_db){ +CPApp._keyWindow=_db; +if(_firstResponder!==_db&&objj_msgSend(_firstResponder,"respondsToSelector:",sel_getUid("becomeKeyWindow"))){ +objj_msgSend(_firstResponder,"becomeKeyWindow"); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidBecomeKeyNotification,_db); +} +}),new objj_method(sel_getUid("canBecomeKeyWindow"),function(_dd,_de){ +with(_dd){ +return YES; +} +}),new objj_method(sel_getUid("isKeyWindow"),function(_df,_e0){ +with(_df){ +return objj_msgSend(CPApp,"keyWindow")==_df; +} +}),new objj_method(sel_getUid("makeKeyAndOrderFront:"),function(_e1,_e2,_e3){ +with(_e1){ +objj_msgSend(_e1,"orderFront:",_e1); +objj_msgSend(_e1,"makeKeyWindow"); +objj_msgSend(_e1,"makeMainWindow"); +} +}),new objj_method(sel_getUid("makeKeyWindow"),function(_e4,_e5){ +with(_e4){ +if(objj_msgSend(CPApp,"keyWindow")===_e4||!objj_msgSend(_e4,"canBecomeKeyWindow")){ +return; +} +objj_msgSend(objj_msgSend(CPApp,"keyWindow"),"resignKeyWindow"); +objj_msgSend(_e4,"becomeKeyWindow"); +} +}),new objj_method(sel_getUid("resignKeyWindow"),function(_e6,_e7){ +with(_e6){ +if(_firstResponder!=_e6&&objj_msgSend(_firstResponder,"respondsToSelector:",sel_getUid("resignKeyWindow"))){ +objj_msgSend(_firstResponder,"resignKeyWindow"); +} +if(CPApp._keyWindow===_e6){ +CPApp._keyWindow=nil; +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidResignKeyNotification,_e6); +} +}),new objj_method(sel_getUid("dragImage:at:offset:event:pasteboard:source:slideBack:"),function(_e8,_e9,_ea,_eb,_ec,_ed,_ee,_ef,_f0){ +with(_e8){ +objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:",_ea,_e8,objj_msgSend(_e8,"convertBaseToGlobal:",_eb),_ec,_ed,_ee,_ef,_f0); +} +}),new objj_method(sel_getUid("_noteRegisteredDraggedTypes:"),function(_f1,_f2,_f3){ +with(_f1){ +if(!_f3){ +return; +} +if(!_inclusiveRegisteredDraggedTypes){ +_inclusiveRegisteredDraggedTypes=objj_msgSend(CPCountedSet,"set"); +} +objj_msgSend(_inclusiveRegisteredDraggedTypes,"unionSet:",_f3); +} +}),new objj_method(sel_getUid("_noteUnregisteredDraggedTypes:"),function(_f4,_f5,_f6){ +with(_f4){ +if(!_f6){ +return; +} +objj_msgSend(_inclusiveRegisteredDraggedTypes,"minusSet:",_f6); +if(objj_msgSend(_inclusiveRegisteredDraggedTypes,"count")===0){ +_inclusiveRegisteredDraggedTypes=nil; +} +} +}),new objj_method(sel_getUid("dragView:at:offset:event:pasteboard:source:slideBack:"),function(_f7,_f8,_f9,_fa,_fb,_fc,_fd,_fe,_ff){ +with(_f7){ +objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"dragView:fromWindow:at:offset:event:pasteboard:source:slideBack:",_f9,_f7,objj_msgSend(_f7,"convertBaseToGlobal:",_fa),_fb,_fc,_fd,_fe,_ff); +} +}),new objj_method(sel_getUid("registerForDraggedTypes:"),function(self,_100,_101){ +with(self){ +if(!_101){ +return; +} +objj_msgSend(self,"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +objj_msgSend(_registeredDraggedTypes,"addObjectsFromArray:",_101); +objj_msgSend(self,"_noteRegisteredDraggedTypes:",_registeredDraggedTypes); +_registeredDraggedTypesArray=nil; +} +}),new objj_method(sel_getUid("registeredDraggedTypes"),function(self,_102){ +with(self){ +if(!_registeredDraggedTypesArray){ +_registeredDraggedTypesArray=objj_msgSend(_registeredDraggedTypes,"allObjects"); +} +return _registeredDraggedTypesArray; +} +}),new objj_method(sel_getUid("unregisterDraggedTypes"),function(self,_103){ +with(self){ +objj_msgSend(self,"_noteUnregisteredDraggedTypes:",_registeredDraggedTypes); +_registeredDraggedTypes=objj_msgSend(CPSet,"set"); +_registeredDraggedTypesArray=[]; +} +}),new objj_method(sel_getUid("setDocumentEdited:"),function(self,_104,_105){ +with(self){ +if(_isDocumentEdited==_105){ +return; +} +_isDocumentEdited=_105; +objj_msgSend(CPMenu,"_setMenuBarIconImageAlphaValue:",_isDocumentEdited?0.5:1); +objj_msgSend(_windowView,"setDocumentEdited:",_105); +} +}),new objj_method(sel_getUid("isDocumentEdited"),function(self,_106){ +with(self){ +return _isDocumentEdited; +} +}),new objj_method(sel_getUid("setDocumentSaving:"),function(self,_107,_108){ +with(self){ +if(_isDocumentSaving==_108){ +return; +} +_isDocumentSaving=_108; +objj_msgSend(self,"_synchronizeSaveMenuWithDocumentSaving"); +objj_msgSend(_windowView,"windowDidChangeDocumentSaving"); +} +}),new objj_method(sel_getUid("isDocumentSaving"),function(self,_109){ +with(self){ +return _isDocumentSaving; +} +}),new objj_method(sel_getUid("_synchronizeSaveMenuWithDocumentSaving"),function(self,_10a){ +with(self){ +if(!objj_msgSend(self,"isMainWindow")){ +return; +} +var _10b=objj_msgSend(CPApp,"mainMenu"),_10c=objj_msgSend(_10b,"indexOfItemWithTitle:",_isDocumentSaving?"Save":"Saving..."); +if(_10c==CPNotFound){ +return; +} +var item=objj_msgSend(_10b,"itemAtIndex:",_10c); +if(_isDocumentSaving){ +_7=objj_msgSend(item,"image"); +objj_msgSend(item,"setTitle:","Saving..."); +objj_msgSend(item,"setImage:",_8); +objj_msgSend(item,"setEnabled:",NO); +}else{ +objj_msgSend(item,"setTitle:","Save"); +objj_msgSend(item,"setImage:",_7); +objj_msgSend(item,"setEnabled:",YES); +} +} +}),new objj_method(sel_getUid("performMiniaturize:"),function(self,_10d,_10e){ +with(self){ +objj_msgSend(self,"miniaturize:",_10e); +} +}),new objj_method(sel_getUid("miniaturize:"),function(self,_10f,_110){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowWillMiniaturizeNotification,self); +objj_msgSend(objj_msgSend(self,"platformWindow"),"miniaturize:",_110); +objj_msgSend(self,"_updateMainAndKeyWindows"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidMiniaturizeNotification,self); +_isMiniaturized=YES; +} +}),new objj_method(sel_getUid("deminiaturize:"),function(self,_111,_112){ +with(self){ +objj_msgSend(objj_msgSend(self,"platformWindow"),"deminiaturize:",_112); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidDeminiaturizeNotification,self); +_isMiniaturized=NO; +} +}),new objj_method(sel_getUid("isMiniaturized"),function(self,_113){ +with(self){ +return _isMiniaturized; +} +}),new objj_method(sel_getUid("performClose:"),function(self,_114,_115){ +with(self){ +if(!(_styleMask&CPClosableWindowMask)){ +return; +} +if(objj_msgSend(self,"isFullBridge")){ +var _116=objj_msgSend(CPApp,"currentEvent"); +if(objj_msgSend(_116,"type")===CPKeyDown&&objj_msgSend(_116,"characters")==="w"&&(objj_msgSend(_116,"modifierFlags")&CPPlatformActionKeyMask)){ +objj_msgSend(objj_msgSend(self,"platformWindow"),"_propagateCurrentDOMEvent:",YES); +return; +} +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("windowShouldClose:"))){ +if(!objj_msgSend(_delegate,"windowShouldClose:",self)){ +return; +} +}else{ +if(objj_msgSend(self,"respondsToSelector:",sel_getUid("windowShouldClose:"))&&!objj_msgSend(self,"windowShouldClose:",self)){ +return; +} +} +var _117=objj_msgSend(_windowController,"documents"); +if(objj_msgSend(_117,"count")){ +var _118=objj_msgSend(_117,"indexOfObject:",objj_msgSend(_windowController,"document")); +objj_msgSend(_117[_118],"shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:",_windowController,self,sel_getUid("_windowControllerContainingDocument:shouldClose:contextInfo:"),{documents:objj_msgSend(_117,"copy"),visited:0,index:_118}); +}else{ +objj_msgSend(self,"close"); +} +} +}),new objj_method(sel_getUid("_windowControllerContainingDocument:shouldClose:contextInfo:"),function(self,_119,_11a,_11b,_11c){ +with(self){ +if(_11b){ +var _11d=objj_msgSend(self,"windowController"),_11e=_11c.documents,_11f=objj_msgSend(_11e,"count"),_120=++_11c.visited,_121=++_11c.index%_11f; +objj_msgSend(_11a,"removeWindowController:",_11d); +if(_120<_11f){ +objj_msgSend(_11d,"setDocument:",_11e[_121]); +objj_msgSend(_11e[_121],"shouldCloseWindowController:delegate:shouldCloseSelector:contextInfo:",_windowController,self,sel_getUid("_windowControllerContainingDocument:shouldClose:contextInfo:"),_11c); +}else{ +objj_msgSend(self,"close"); +} +} +} +}),new objj_method(sel_getUid("close"),function(self,_122){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowWillCloseNotification,self); +objj_msgSend(self,"orderOut:",nil); +} +}),new objj_method(sel_getUid("isMainWindow"),function(self,_123){ +with(self){ +return objj_msgSend(CPApp,"mainWindow")==self; +} +}),new objj_method(sel_getUid("canBecomeMainWindow"),function(self,_124){ +with(self){ +if(objj_msgSend(self,"isVisible")){ +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("makeMainWindow"),function(self,_125){ +with(self){ +if(objj_msgSend(CPApp,"mainWindow")===self||!objj_msgSend(self,"canBecomeMainWindow")){ +return; +} +objj_msgSend(objj_msgSend(CPApp,"mainWindow"),"resignMainWindow"); +objj_msgSend(self,"becomeMainWindow"); +} +}),new objj_method(sel_getUid("becomeMainWindow"),function(self,_126){ +with(self){ +CPApp._mainWindow=self; +objj_msgSend(self,"_synchronizeMenuBarTitleWithWindowTitle"); +objj_msgSend(self,"_synchronizeSaveMenuWithDocumentSaving"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidBecomeMainNotification,self); +} +}),new objj_method(sel_getUid("resignMainWindow"),function(self,_127){ +with(self){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidResignMainNotification,self); +if(CPApp._mainWindow===self){ +CPApp._mainWindow=nil; +} +} +}),new objj_method(sel_getUid("_updateMainAndKeyWindows"),function(self,_128){ +with(self){ +var _129=objj_msgSend(CPApp,"orderedWindows"),_12a=objj_msgSend(_129,"count"); +if(objj_msgSend(self,"isKeyWindow")){ +var _12b=objj_msgSend(CPApp,"keyWindow"); +objj_msgSend(self,"resignKeyWindow"); +if(_12b&&_12b!==self&&objj_msgSend(_12b,"canBecomeKeyWindow")){ +objj_msgSend(_12b,"makeKeyWindow"); +}else{ +var _12c=objj_msgSend(CPApp,"mainMenu")._menuWindow; +for(var i=0;i<_12a;i++){ +var _12d=_129[i]; +if(_12d===self||_12d===_12c){ +continue; +} +if(objj_msgSend(_12d,"isVisible")&&objj_msgSend(_12d,"canBecomeKeyWindow")){ +objj_msgSend(_12d,"makeKeyWindow"); +break; +} +} +if(!objj_msgSend(CPApp,"keyWindow")){ +objj_msgSend(_12c,"makeKeyWindow"); +} +} +} +if(objj_msgSend(self,"isMainWindow")){ +var _12e=objj_msgSend(CPApp,"mainWindow"); +objj_msgSend(self,"resignMainWindow"); +if(_12e&&_12e!==self&&objj_msgSend(_12e,"canBecomeMainWindow")){ +objj_msgSend(_12e,"makeMainWindow"); +}else{ +var _12c=objj_msgSend(CPApp,"mainMenu")._menuWindow; +for(var i=0;i<_12a;i++){ +var _12d=_129[i]; +if(_12d===self||_12d===_12c){ +continue; +} +if(objj_msgSend(_12d,"isVisible")&&objj_msgSend(_12d,"canBecomeMainWindow")){ +objj_msgSend(_12d,"makeMainWindow"); +break; +} +} +} +} +} +}),new objj_method(sel_getUid("toolbar"),function(self,_12f){ +with(self){ +return _toolbar; +} +}),new objj_method(sel_getUid("setToolbar:"),function(self,_130,_131){ +with(self){ +if(_toolbar===_131){ +return; +} +objj_msgSend(objj_msgSend(_131,"_window"),"setToolbar:",nil); +objj_msgSend(_toolbar,"_setWindow:",nil); +_toolbar=_131; +objj_msgSend(_toolbar,"_setWindow:",self); +objj_msgSend(self,"_noteToolbarChanged"); +} +}),new objj_method(sel_getUid("toggleToolbarShown:"),function(self,_132,_133){ +with(self){ +var _134=objj_msgSend(self,"toolbar"); +objj_msgSend(_134,"setVisible:",!objj_msgSend(_134,"isVisible")); +} +}),new objj_method(sel_getUid("_noteToolbarChanged"),function(self,_135){ +with(self){ +var _136=CGRectMakeCopy(objj_msgSend(self,"frame")),_137; +objj_msgSend(_windowView,"noteToolbarChanged"); +if(_isFullPlatformWindow){ +_137=objj_msgSend(_platformWindow,"visibleFrame"); +}else{ +_137=CGRectMakeCopy(objj_msgSend(self,"frame")); +_137.origin=_136.origin; +} +objj_msgSend(self,"setFrame:",_137); +} +}),new objj_method(sel_getUid("_setFrame:delegate:duration:curve:"),function(self,_138,_139,_13a,_13b,_13c){ +with(self){ +var _13d=objj_msgSend(objj_msgSend(_CPWindowFrameAnimation,"alloc"),"initWithWindow:targetFrame:",self,_139); +objj_msgSend(_13d,"setDelegate:",_13a); +objj_msgSend(_13d,"setAnimationCurve:",_13c); +objj_msgSend(_13d,"setDuration:",_13b); +objj_msgSend(_13d,"startAnimation"); +} +}),new objj_method(sel_getUid("_setAttachedSheetFrameOrigin"),function(self,_13e){ +with(self){ +var _13f=objj_msgSend(self,"attachedSheet"); +var _140=objj_msgSend(objj_msgSend(self,"contentView"),"frame"),_141=CGRectMakeCopy(objj_msgSend(_13f,"frame")); +_141.origin.y=CGRectGetMinY(_frame)+CGRectGetMinY(_140); +_141.origin.x=CGRectGetMinX(_frame)+FLOOR((CGRectGetWidth(_frame)-CGRectGetWidth(_141))/2); +objj_msgSend(_13f,"setFrame:display:animate:",_141,YES,NO); +} +}),new objj_method(sel_getUid("_attachSheet:modalDelegate:didEndSelector:contextInfo:"),function(self,_142,_143,_144,_145,_146){ +with(self){ +var _147=objj_msgSend(_143,"frame"); +_sheetContext={"sheet":_143,"modalDelegate":_144,"endSelector":_145,"contextInfo":_146,"frame":CGRectMakeCopy(_147),"returnCode":-1,"opened":NO}; +objj_msgSend(self,"_attachSheetWindow:",_143); +} +}),new objj_method(sel_getUid("_attachSheetWindow:"),function(self,_148,_149){ +with(self){ +var _14a=objj_msgSend(_149,"frame"),_14b=objj_msgSend(self,"frame"),_14c=objj_msgSend(_149,"contentView"); +objj_msgSend(self,"_setUpMasksForView:",_14c); +_149._isSheet=YES; +_149._parentView=self; +var _14d=_14b.origin.x+FLOOR((_14b.size.width-_14a.size.width)/2),_14e=_14b.origin.y+objj_msgSend(objj_msgSend(self,"contentView"),"frame").origin.y,_14f=CGRectMake(_14d,_14e,_14a.size.width,0),_150=CGRectMake(_14d,_14e,_14a.size.width,_14a.size.height); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowWillBeginSheetNotification,self); +objj_msgSend(CPApp,"runModalForWindow:",_149); +objj_msgSend(_149,"orderFront:",self); +objj_msgSend(_149,"setFrame:display:animate:",_14f,YES,NO); +_sheetContext["opened"]=YES; +objj_msgSend(_149,"_setFrame:delegate:duration:curve:",_150,self,0.2,CPAnimationEaseOut); +objj_msgSend(_149,"becomeKeyWindow"); +} +}),new objj_method(sel_getUid("_detachSheetWindow"),function(self,_151){ +with(self){ +var _152=objj_msgSend(self,"attachedSheet"),_153=objj_msgSend(_152,"frame"),_154=CGRectMakeCopy(_153); +_154.size.height=0; +_sheetContext["frame"]=_153; +var _155=objj_msgSend(_152,"contentView"); +objj_msgSend(self,"_setUpMasksForView:",_155); +_sheetContext["opened"]=NO; +objj_msgSend(_152,"_setFrame:delegate:duration:curve:",_154,self,0.2,CPAnimationEaseIn); +} +}),new objj_method(sel_getUid("animationDidEnd:"),function(self,_156,anim){ +with(self){ +var _157=_sheetContext["sheet"]; +if(anim._window!=_157){ +return; +} +var _158=objj_msgSend(_157,"contentView"); +if(_sheetContext["opened"]===YES){ +objj_msgSend(self,"_restoreMasksForView:",_158); +return; +} +objj_msgSend(CPApp,"stopModal"); +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPWindowDidEndSheetNotification,self); +objj_msgSend(_157,"orderOut:",self); +var _159=_sheetContext["frame"]; +objj_msgSend(_157,"setFrame:",_159); +objj_msgSend(self,"_restoreMasksForView:",_158); +var _15a=_sheetContext["modalDelegate"],_15b=_sheetContext["endSelector"]; +if(_15a!=nil&&_15b!=nil){ +objj_msgSend(_15a,_15b,_157,_sheetContext["returnCode"],_sheetContext["contextInfo"]); +} +_sheetContext=nil; +_157._parentView=nil; +} +}),new objj_method(sel_getUid("_setUpMasksForView:"),function(self,_15c,_15d){ +with(self){ +var _15e=objj_msgSend(_15d,"subviews"); +objj_msgSend(_15e,"addObject:",_15d); +for(var i=0,_15f=objj_msgSend(_15e,"count");i<_15f;i++){ +var view=objj_msgSend(_15e,"objectAtIndex:",i),mask=objj_msgSend(view,"autoresizingMask"),_160=(mask&CPViewMinYMargin)?128:CPViewMinYMargin; +objj_msgSend(view,"setAutoresizingMask:",(mask|_160)); +} +} +}),new objj_method(sel_getUid("_restoreMasksForView:"),function(self,_161,_162){ +with(self){ +var _163=objj_msgSend(_162,"subviews"); +objj_msgSend(_163,"addObject:",_162); +for(var i=0,_164=objj_msgSend(_163,"count");i<_164;i++){ +var view=objj_msgSend(_163,"objectAtIndex:",i),mask=objj_msgSend(view,"autoresizingMask"),_165=(mask&128)?128:CPViewMinYMargin; +objj_msgSend(view,"setAutoresizingMask:",(mask&(~_165))); +} +} +}),new objj_method(sel_getUid("attachedSheet"),function(self,_166){ +with(self){ +if(_sheetContext===nil){ +return nil; +} +return _sheetContext["sheet"]; +} +}),new objj_method(sel_getUid("isSheet"),function(self,_167){ +with(self){ +return _isSheet; +} +}),new objj_method(sel_getUid("becomesKeyOnlyIfNeeded"),function(self,_168){ +with(self){ +return NO; +} +}),new objj_method(sel_getUid("worksWhenModal"),function(self,_169){ +with(self){ +return NO; +} +}),new objj_method(sel_getUid("performKeyEquivalent:"),function(self,_16a,_16b){ +with(self){ +return objj_msgSend(objj_msgSend(self,"contentView"),"performKeyEquivalent:",_16b); +} +}),new objj_method(sel_getUid("keyDown:"),function(self,_16c,_16d){ +with(self){ +if(!objj_msgSend(_16d,"_couldBeKeyEquivalent")||!objj_msgSend(self,"performKeyEquivalent:",_16d)){ +objj_msgSend(self,"interpretKeyEvents:",[_16d]); +} +} +}),new objj_method(sel_getUid("insertNewline:"),function(self,_16e,_16f){ +with(self){ +if(_defaultButton&&_defaultButtonEnabled){ +objj_msgSend(_defaultButton,"performClick:",nil); +} +} +}),new objj_method(sel_getUid("insertTab:"),function(self,_170,_171){ +with(self){ +objj_msgSend(self,"selectNextKeyView:",nil); +} +}),new objj_method(sel_getUid("_dirtyKeyViewLoop"),function(self,_172){ +with(self){ +if(_autorecalculatesKeyViewLoop){ +_keyViewLoopIsDirty=YES; +} +} +}),new objj_method(sel_getUid("_hasKeyViewLoop"),function(self,_173){ +with(self){ +var _174=[]; +objj_msgSend(self,"_appendSubviewsOf:toArray:",_contentView,_174); +for(var i=0,_175=objj_msgSend(_174,"count");i<_175;i++){ +if(_174[i]._nextKeyView){ +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("recalculateKeyViewLoop"),function(self,_176){ +with(self){ +var _177=[]; +objj_msgSend(self,"_appendSubviewsOf:toArray:",_contentView,_177); +var _178=objj_msgSend(_177,"sortedArrayUsingFunction:context:",_179,_contentView),_17a=objj_msgSend(_178,"count"); +for(var i=0;i<_17a;i++){ +objj_msgSend(_178[i],"setNextKeyView:",_178[(i+1)%_17a]); +} +_keyViewLoopIsDirty=NO; +} +}),new objj_method(sel_getUid("_appendSubviewsOf:toArray:"),function(self,_17b,_17c,_17d){ +with(self){ +var _17e=objj_msgSend(_17c,"subviews"),_17f=objj_msgSend(_17e,"count"); +while(_17f--){ +objj_msgSend(self,"_appendSubviewsOf:toArray:",_17e[_17f],_17d); +} +objj_msgSend(_17d,"addObject:",_17c); +} +}),new objj_method(sel_getUid("setAutorecalculatesKeyViewLoop:"),function(self,_180,_181){ +with(self){ +if(_autorecalculatesKeyViewLoop===_181){ +return; +} +_autorecalculatesKeyViewLoop=_181; +if(_keyViewLoopIsDirty){ +objj_msgSend(self,"recalculateKeyViewLoop"); +}else{ +if(_autorecalculatesKeyViewLoop){ +objj_msgSend(self,"_dirtyKeyViewLoop"); +} +} +} +}),new objj_method(sel_getUid("autorecalculatesKeyViewLoop"),function(self,_182){ +with(self){ +return _autorecalculatesKeyViewLoop; +} +}),new objj_method(sel_getUid("selectNextKeyView:"),function(self,_183,_184){ +with(self){ +if(objj_msgSend(_firstResponder,"isKindOfClass:",objj_msgSend(CPView,"class"))){ +objj_msgSend(self,"selectKeyViewFollowingView:",_firstResponder); +} +} +}),new objj_method(sel_getUid("selectPreviousKeyView:"),function(self,_185,_186){ +with(self){ +if(objj_msgSend(_firstResponder,"isKindOfClass:",objj_msgSend(CPView,"class"))){ +objj_msgSend(self,"selectKeyViewPrecedingView:",_firstResponder); +} +} +}),new objj_method(sel_getUid("selectKeyViewFollowingView:"),function(self,_187,_188){ +with(self){ +if(_keyViewLoopIsDirty){ +objj_msgSend(self,"recalculateKeyViewLoop"); +} +objj_msgSend(self,"makeFirstResponder:",objj_msgSend(_188,"nextValidKeyView")); +} +}),new objj_method(sel_getUid("selectKeyViewPrecedingView:"),function(self,_189,_18a){ +with(self){ +if(_keyViewLoopIsDirty){ +objj_msgSend(self,"recalculateKeyViewLoop"); +} +objj_msgSend(self,"makeFirstResponder:",objj_msgSend(_18a,"previousValidKeyView")); +} +}),new objj_method(sel_getUid("setDefaultButtonCell:"),function(self,_18b,_18c){ +with(self){ +objj_msgSend(self,"setDefaultButton:",_18c); +} +}),new objj_method(sel_getUid("defaultButtonCell"),function(self,_18d){ +with(self){ +return objj_msgSend(self,"defaultButton"); +} +}),new objj_method(sel_getUid("setDefaultButton:"),function(self,_18e,_18f){ +with(self){ +objj_msgSend(_defaultButton,"setDefaultButton:",NO); +_defaultButton=_18f; +objj_msgSend(_defaultButton,"setDefaultButton:",YES); +} +}),new objj_method(sel_getUid("defaultButton"),function(self,_190){ +with(self){ +return _defaultButton; +} +}),new objj_method(sel_getUid("enableKeyEquivalentForDefaultButton"),function(self,_191){ +with(self){ +_defaultButtonEnabled=YES; +} +}),new objj_method(sel_getUid("enableKeyEquivalentForDefaultButtonCell"),function(self,_192){ +with(self){ +objj_msgSend(self,"enableKeyEquivalentForDefaultButton"); +} +}),new objj_method(sel_getUid("disableKeyEquivalentForDefaultButton"),function(self,_193){ +with(self){ +_defaultButtonEnabled=NO; +} +}),new objj_method(sel_getUid("disableKeyEquivalentForDefaultButtonCell"),function(self,_194){ +with(self){ +objj_msgSend(self,"disableKeyEquivalentForDefaultButton"); +} +})]); +class_addMethods(_a,[new objj_method(sel_getUid("initialize"),function(self,_195){ +with(self){ +if(self!=objj_msgSend(CPWindow,"class")){ +return; +} +var _196=objj_msgSend(CPBundle,"bundleForClass:",objj_msgSend(CPWindow,"class")); +_8=objj_msgSend(objj_msgSend(CPImage,"alloc"),"initWithContentsOfFile:size:",objj_msgSend(_196,"pathForResource:","CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif"),CGSizeMake(16,16)); +} +}),new objj_method(sel_getUid("_windowViewClassForStyleMask:"),function(self,_197,_198){ +with(self){ +if(_198&CPHUDBackgroundWindowMask){ +return _CPHUDWindowView; +}else{ +if(_198===CPBorderlessWindowMask){ +return _CPBorderlessWindowView; +}else{ +if(_198&CPDocModalWindowMask){ +return _CPDocModalWindowView; +} +} +} +return _CPStandardWindowView; +} +}),new objj_method(sel_getUid("_windowViewClassForFullPlatformWindowStyleMask:"),function(self,_199,_19a){ +with(self){ +return _CPBorderlessBridgeWindowView; +} +}),new objj_method(sel_getUid("frameRectForContentRect:styleMask:"),function(self,_19b,_19c,_19d){ +with(self){ +return objj_msgSend(objj_msgSend(objj_msgSend(self,"class"),"_windowViewClassForStyleMask:",_19d),"frameRectForContentRect:",_19c); +} +})]); +var _179=function(a,b,_19e){ +var _19f=objj_msgSend(a,"convertRect:toView:",objj_msgSend(a,"bounds"),nil),_1a0=objj_msgSend(b,"convertRect:toView:",objj_msgSend(b,"bounds"),nil); +if(CGRectGetMinY(_19f)=_11){ +objj_msgSend(_windows,"addObject:",_f); +}else{ +objj_msgSend(_windows,"insertObject:atIndex:",_f,_10); +} +for(;_12<_11;++_12){ +_windows[_12]._index=_12; +_windows[_12]._DOMElement.style.zIndex=_12; +} +if(_f._DOMElement.parentNode!==_DOMElement){ +_DOMElement.appendChild(_f._DOMElement); +_f._isVisible=YES; +if(objj_msgSend(_f,"isFullBridge")){ +objj_msgSend(_f,"setFrame:",objj_msgSend(_f._platformWindow,"usableContentFrame")); +} +} +} +}),new objj_method(sel_getUid("orderedWindows"),function(_14,_15){ +with(_14){ +return _windows; +} +})]); +p;22;CPPlatformWindow+DOM.jt;28514;@STATIC;1.0;I;21;Foundation/CPObject.jI;22;Foundation/CPRunLoop.ji;9;CPEvent.ji;17;CPCompatibility.ji;18;CPDOMWindowLayer.ji;12;CPPlatform.ji;18;CPPlatformWindow.ji;26;CPPlatformWindow+DOMKeys.jt;28312; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPRunLoop.j",NO); +objj_executeFile("CPEvent.j",YES); +objj_executeFile("CPCompatibility.j",YES); +objj_executeFile("CPDOMWindowLayer.j",YES); +objj_executeFile("CPPlatform.j",YES); +objj_executeFile("CPPlatformWindow.j",YES); +objj_executeFile("CPPlatformWindow+DOMKeys.j",YES); +var _1=objj_msgSend(CPSet,"set"); +var _2,_3,_4; +var _5={},_6={},_7={61:187,59:186}; +_5[CPKeyCodes.A]=YES; +var _8=objj_msgSend(CPPlatform,"supportsDragAndDrop"); +var _9=objj_getClass("CPPlatformWindow"); +if(!_9){ +throw new SyntaxError("*** Could not find definition for class \"CPPlatformWindow\""); +} +var _a=_9.isa; +class_addMethods(_9,[new objj_method(sel_getUid("_init"),function(_b,_c){ +with(_b){ +_b=objj_msgSendSuper({receiver:_b,super_class:objj_getClass("CPPlatformWindow").super_class},"init"); +if(_b){ +_DOMWindow=window; +_contentRect={origin:{x:0,y:0},size:{width:0,height:0}}; +_windowLevels=[]; +_windowLayers=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_b,"registerDOMWindow"); +objj_msgSend(_b,"updateFromNativeContentRect"); +_charCodes={}; +} +return _b; +} +}),new objj_method(sel_getUid("nativeContentRect"),function(_d,_e){ +with(_d){ +if(!_DOMWindow){ +return objj_msgSend(_d,"contentRect"); +} +if(_DOMWindow.cpFrame){ +return _DOMWindow.cpFrame(); +} +var _f={origin:{x:0,y:0},size:{width:0,height:0}}; +if(window.screenTop){ +_f.origin={x:_DOMWindow.screenLeft,y:_DOMWindow.screenTop}; +}else{ +if(window.screenX){ +_f.origin={x:_DOMWindow.screenX,y:_DOMWindow.screenY}; +} +} +if(_DOMWindow.innerWidth){ +_f.size={width:_DOMWindow.innerWidth,height:_DOMWindow.innerHeight}; +}else{ +if(document.documentElement&&document.documentElement.clientWidth){ +_f.size={width:_DOMWindow.document.documentElement.clientWidth,height:_DOMWindow.document.documentElement.clientHeight}; +}else{ +_f.size={width:_DOMWindow.document.body.clientWidth,height:_DOMWindow.document.body.clientHeight}; +} +} +return _f; +} +}),new objj_method(sel_getUid("updateNativeContentRect"),function(_10,_11){ +with(_10){ +if(!_DOMWindow){ +return; +} +if(typeof _DOMWindow["cpSetFrame"]==="function"){ +return _DOMWindow.cpSetFrame(objj_msgSend(_10,"contentRect")); +} +var _12=objj_msgSend(_10,"contentRect").origin,_13=objj_msgSend(_10,"nativeContentRect").origin; +if(_12.x!==_13.x||_12.y!==_13.y){ +_DOMWindow.moveBy(_12.x-_13.x,_12.y-_13.y); +} +var _14=objj_msgSend(_10,"contentRect").size,_15=objj_msgSend(_10,"nativeContentRect").size; +if(_14.width!==_15.width||_14.height!==_15.height){ +_DOMWindow.resizeBy(_14.width-_15.width,_14.height-_15.height); +} +} +}),new objj_method(sel_getUid("orderBack:"),function(_16,_17,_18){ +with(_16){ +if(_DOMWindow){ +_DOMWindow.blur(); +} +} +}),new objj_method(sel_getUid("createDOMElements"),function(_19,_1a){ +with(_19){ +var _1b=_DOMWindow.document; +_DOMFocusElement=_1b.createElement("input"); +_DOMFocusElement.style.position="absolute"; +_DOMFocusElement.style.zIndex="-1000"; +_DOMFocusElement.style.opacity="0"; +_DOMFocusElement.style.filter="alpha(opacity=0)"; +_DOMFocusElement.className="cpdontremove"; +_DOMBodyElement.appendChild(_DOMFocusElement); +_DOMPasteboardElement=_1b.createElement("textarea"); +_DOMPasteboardElement.style.position="absolute"; +_DOMPasteboardElement.style.top="-10000px"; +_DOMPasteboardElement.style.zIndex="999"; +_DOMPasteboardElement.className="cpdontremove"; +_DOMBodyElement.appendChild(_DOMPasteboardElement); +_DOMPasteboardElement.blur(); +} +}),new objj_method(sel_getUid("registerDOMWindow"),function(_1c,_1d){ +with(_1c){ +var _1e=_DOMWindow.document; +_DOMBodyElement=_1e.getElementById("cappuccino-body")||_1e.body; +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_DOMBodyElement.style["-khtml-user-select"]="none"; +} +_DOMBodyElement.webkitTouchCallout="none"; +objj_msgSend(_1c,"createDOMElements"); +objj_msgSend(_1c,"_addLayers"); +var _1f=objj_msgSend(_1c,"class"),_20=class_getMethodImplementation(_1f,sel_getUid("dragEvent:")),_21=function(_22){ +_20(_1c,nil,_22); +},_23=sel_getUid("resizeEvent:"),_24=class_getMethodImplementation(_1f,_23),_25=function(_26){ +_24(_1c,nil,_26); +},_27=sel_getUid("copyEvent:"),_28=class_getMethodImplementation(_1f,_27),_29=function(_2a){ +_28(_1c,nil,_2a); +},_2b=sel_getUid("pasteEvent:"),_2c=class_getMethodImplementation(_1f,_2b),_2d=function(_2e){ +_2c(_1c,nil,_2e); +},_2f=sel_getUid("keyEvent:"),_30=class_getMethodImplementation(_1f,_2f),_31=function(_32){ +_30(_1c,nil,_32); +},_33=sel_getUid("mouseEvent:"),_34=class_getMethodImplementation(_1f,_33),_35=function(_36){ +_34(_1c,nil,_36); +},_37=sel_getUid("scrollEvent:"),_38=class_getMethodImplementation(_1f,_37),_39=function(_3a){ +_38(_1c,nil,_3a); +},_3b=sel_getUid("touchEvent:"),_3c=class_getMethodImplementation(_1f,_3b),_3d=function(_3e){ +_3c(_1c,nil,_3e); +}; +if(_1e.addEventListener){ +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_1e.addEventListener("dragstart",_21,NO); +_1e.addEventListener("drag",_21,NO); +_1e.addEventListener("dragend",_21,NO); +_1e.addEventListener("dragover",_21,NO); +_1e.addEventListener("dragleave",_21,NO); +_1e.addEventListener("drop",_21,NO); +} +_1e.addEventListener("mouseup",_35,NO); +_1e.addEventListener("mousedown",_35,NO); +_1e.addEventListener("mousemove",_35,NO); +_1e.addEventListener("beforecopy",_29,NO); +_1e.addEventListener("beforecut",_29,NO); +_1e.addEventListener("beforepaste",_2d,NO); +_1e.addEventListener("keyup",_31,NO); +_1e.addEventListener("keydown",_31,NO); +_1e.addEventListener("keypress",_31,NO); +_1e.addEventListener("touchstart",_3d,NO); +_1e.addEventListener("touchend",_3d,NO); +_1e.addEventListener("touchmove",_3d,NO); +_1e.addEventListener("touchcancel",_3d,NO); +_DOMWindow.addEventListener("DOMMouseScroll",_39,NO); +_DOMWindow.addEventListener("mousewheel",_39,NO); +_DOMWindow.addEventListener("resize",_25,NO); +_DOMWindow.addEventListener("unload",function(){ +objj_msgSend(_1c,"updateFromNativeContentRect"); +objj_msgSend(_1c,"_removeLayers"); +_1e.removeEventListener("mouseup",_35,NO); +_1e.removeEventListener("mousedown",_35,NO); +_1e.removeEventListener("mousemove",_35,NO); +_1e.removeEventListener("keyup",_31,NO); +_1e.removeEventListener("keydown",_31,NO); +_1e.removeEventListener("keypress",_31,NO); +_1e.removeEventListener("beforecopy",_29,NO); +_1e.removeEventListener("beforecut",_29,NO); +_1e.removeEventListener("beforepaste",_2d,NO); +_1e.removeEventListener("touchstart",_3d,NO); +_1e.removeEventListener("touchend",_3d,NO); +_1e.removeEventListener("touchmove",_3d,NO); +_DOMWindow.removeEventListener("resize",_25,NO); +_DOMWindow.removeEventListener("DOMMouseScroll",_39,NO); +_DOMWindow.removeEventListener("mousewheel",_39,NO); +objj_msgSend(_1,"removeObject:",_1c); +_1c._DOMWindow=nil; +},NO); +}else{ +_1e.attachEvent("onmouseup",_35); +_1e.attachEvent("onmousedown",_35); +_1e.attachEvent("onmousemove",_35); +_1e.attachEvent("ondblclick",_35); +_1e.attachEvent("onkeyup",_31); +_1e.attachEvent("onkeydown",_31); +_1e.attachEvent("onkeypress",_31); +_DOMWindow.attachEvent("onresize",_25); +_DOMWindow.onmousewheel=_39; +_1e.onmousewheel=_39; +_DOMBodyElement.ondrag=function(){ +return NO; +}; +_DOMBodyElement.onselectstart=function(){ +return _DOMWindow.event.srcElement===_DOMPasteboardElement; +}; +_DOMWindow.attachEvent("onbeforeunload",function(){ +objj_msgSend(_1c,"updateFromNativeContentRect"); +objj_msgSend(_1c,"_removeLayers"); +_1e.detachEvent("onmouseup",_35); +_1e.detachEvent("onmousedown",_35); +_1e.detachEvent("onmousemove",_35); +_1e.detachEvent("ondblclick",_35); +_1e.detachEvent("onkeyup",_31); +_1e.detachEvent("onkeydown",_31); +_1e.detachEvent("onkeypress",_31); +_DOMWindow.detachEvent("onresize",_25); +_DOMWindow.onmousewheel=NULL; +_1e.onmousewheel=NULL; +_DOMBodyElement.ondrag=NULL; +_DOMBodyElement.onselectstart=NULL; +objj_msgSend(_1,"removeObject:",_1c); +_1c._DOMWindow=nil; +},NO); +} +} +}),new objj_method(sel_getUid("orderFront:"),function(_3f,_40,_41){ +with(_3f){ +if(_DOMWindow){ +return _DOMWindow.focus(); +} +_DOMWindow=window.open("","_blank","menubar=no,location=no,resizable=yes,scrollbars=no,status=no,left="+(_contentRect.origin.x)+",top="+(_contentRect.origin.y)+",width="+(_contentRect.size.width)+",height="+(_contentRect.size.height)); +objj_msgSend(_1,"addObject:",_3f); +_DOMWindow.document.write(""); +_DOMWindow.document.close(); +if(!objj_msgSend(CPPlatform,"isBrowser")){ +_DOMWindow.cpWindowNumber=objj_msgSend(_3f._only,"windowNumber"); +_DOMWindow.cpSetFrame(_contentRect); +_DOMWindow.cpSetLevel(_level); +_DOMWindow.cpSetHasShadow(_hasShadow); +_DOMWindow.cpSetShadowStyle(_shadowStyle); +} +objj_msgSend(_3f,"registerDOMWindow"); +_DOMBodyElement.style.cursor=objj_msgSend(objj_msgSend(CPCursor,"currentCursor"),"_cssString"); +} +}),new objj_method(sel_getUid("orderOut:"),function(_42,_43,_44){ +with(_42){ +if(!_DOMWindow){ +return; +} +_DOMWindow.close(); +} +}),new objj_method(sel_getUid("dragEvent:"),function(_45,_46,_47){ +with(_45){ +var _48=_47.type,_49=objj_msgSend(CPDragServer,"sharedDragServer"),_4a={x:_47.clientX,y:_47.clientY},_4b=objj_msgSend(_CPDOMDataTransferPasteboard,"DOMDataTransferPasteboard"); +objj_msgSend(_4b,"_setDataTransfer:",_47.dataTransfer); +if(_47.type==="dragstart"){ +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +objj_msgSend(_4b,"_setPasteboard:",objj_msgSend(_49,"draggingPasteboard")); +var _4c=objj_msgSend(_49,"draggedWindow"),_4d=objj_msgSend(_4c,"frame"),_4e=_4c._DOMElement; +_4e.style.left=-(_4d.size.width)+"px"; +_4e.style.top=-(_4d.size.height)+"px"; +_DOMBodyElement.appendChild(_4e); +var _4f=objj_msgSend(_49,"draggingOffset"); +_47.dataTransfer.setDragImage(_4e,_4f.width,_4f.height); +_47.dataTransfer.effectAllowed="all"; +objj_msgSend(_49,"draggingStartedInPlatformWindow:globalLocation:",_45,objj_msgSend(CPPlatform,"isBrowser")?_4a:{x:_47.screenX,y:_47.screenY}); +}else{ +if(_48==="drag"){ +var y=_47.screenY; +if(CPFeatureIsCompatible(CPHTML5DragAndDropSourceYOffBy1)){ +y-=1; +} +objj_msgSend(_49,"draggingSourceUpdatedWithGlobalLocation:",objj_msgSend(CPPlatform,"isBrowser")?_4a:{x:_47.screenX,y:y}); +}else{ +if(_48==="dragover"||_48==="dragleave"){ +if(_47.preventDefault){ +_47.preventDefault(); +} +var _50="none",_51=objj_msgSend(_49,"draggingUpdatedInPlatformWindow:location:",_45,_4a); +if(_51===CPDragOperationMove||_51===CPDragOperationGeneric||_51===CPDragOperationPrivate){ +_50="move"; +}else{ +if(_51===CPDragOperationCopy){ +_50="copy"; +}else{ +if(_51===CPDragOperationLink){ +_50="link"; +} +} +} +_47.dataTransfer.dropEffect=_50; +}else{ +if(_48==="dragend"){ +var _50=_47.dataTransfer.dropEffect; +if(_50==="move"){ +_51=CPDragOperationMove; +}else{ +if(_50==="copy"){ +_51=CPDragOperationCopy; +}else{ +if(_50==="link"){ +_51=CPDragOperationLink; +}else{ +_51=CPDragOperationNone; +} +} +} +objj_msgSend(_49,"draggingEndedInPlatformWindow:globalLocation:operation:",_45,objj_msgSend(CPPlatform,"isBrowser")?_4a:{x:_47.screenX,y:_47.screenY},_51); +}else{ +objj_msgSend(_49,"performDragOperationInPlatformWindow:",_45); +if(_47.preventDefault){ +_47.preventDefault(); +} +if(_47.stopPropagation){ +_47.stopPropagation(); +} +} +} +} +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("keyEvent:"),function(_52,_53,_54){ +with(_52){ +var _55,_56=_54.timeStamp?_54.timeStamp:new Date(),_57=(_54.target||_54.srcElement),_58=objj_msgSend(objj_msgSend(CPApp,"keyWindow"),"windowNumber"),_59=(_54.shiftKey?CPShiftKeyMask:0)|(_54.ctrlKey?CPControlKeyMask:0)|(_54.altKey?CPAlternateKeyMask:0)|(_54.metaKey?CPCommandKeyMask:0); +_4=!!(!(_59&(CPControlKeyMask|CPCommandKeyMask))||_6[String.fromCharCode(_54.keyCode||_54.charCode).toLowerCase()]||_5[_54.keyCode]); +var _5a=NO,_5b=NO,_5c=nil; +switch(_54.type){ +case "keydown": +if(_54.keyCode.keyCode in _7){ +_keyCode=_7[_54.keyCode]; +}else{ +_keyCode=_54.keyCode; +} +var _5d=String.fromCharCode(_keyCode).toLowerCase(); +_5c=(_59&CPShiftKeyMask||_capsLockActive)?_5d.toUpperCase():_5d; +if(_keyCode===CPKeyCodes.CAPS_LOCK){ +_capsLockActive=YES; +} +if(_59&(CPControlKeyMask|CPCommandKeyMask)){ +var _5e=objj_msgSend(_52,"_validateCopyCutOrPasteEvent:flags:",_54,_59); +if(_5d==="v"&&_5e){ +if(!_ignoreNativePastePreparation){ +_DOMPasteboardElement.select(); +_DOMPasteboardElement.value=""; +} +_5a=YES; +}else{ +if((_5d=="c"||_5d=="x")&&_5e){ +_5b=YES; +if(_ignoreNativeCopyOrCutEvent){ +break; +} +} +} +}else{ +if(CPKeyCodes.firesKeyPressEvent(_keyCode,_lastKey,_54.shiftKey,_54.ctrlKey,_54.altKey)){ +_4=NO; +break; +}else{ +} +} +case "keypress": +if(_54.type==="keypress"&&(_59&(CPControlKeyMask|CPCommandKeyMask))){ +break; +} +var _5f=_keyCode,_60=_54.keyCode||_54.charCode,_61=(_charCodes[_5f]!=nil); +_lastKey=_5f; +_charCodes[_5f]=_60; +var _5d=_5c||String.fromCharCode(_60),_62=_5d.toLowerCase(); +if(!_5c&&(_59&CPCommandKeyMask)&&((_59&CPShiftKeyMask)||_capsLockActive)){ +_5d=_5d.toUpperCase(); +} +_55=objj_msgSend(CPEvent,"keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:",CPKeyDown,location,_59,_56,_58,nil,_5d,_62,_61,_5f); +if(_5a){ +_pasteboardKeyDownEvent=_55; +window.setNativeTimeout(function(){ +objj_msgSend(_52,"_checkPasteboardElement"); +},0); +} +break; +case "keyup": +var _5f=_54.keyCode,_60=_charCodes[_5f]; +_keyCode=-1; +_lastKey=-1; +_charCodes[_5f]=nil; +_ignoreNativeCopyOrCutEvent=NO; +_ignoreNativePastePreparation=NO; +if(_5f===CPKeyCodes.CAPS_LOCK){ +_capsLockActive=NO; +} +var _5d=String.fromCharCode(_60),_62=_5d.toLowerCase(); +if(!(_59&CPShiftKeyMask)&&(_59&CPCommandKeyMask)&&!_capsLockActive){ +_5d=_62; +} +_55=objj_msgSend(CPEvent,"keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:",CPKeyUp,location,_59,_56,_58,nil,_5d,_62,NO,_5f); +break; +} +if(_55&&!_5a){ +_55._DOMEvent=_54; +objj_msgSend(CPApp,"sendEvent:",_55); +if(_5b){ +objj_msgSend(_52,"_primePasteboardElement"); +} +} +if(_4){ +_3(_54,_52); +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("copyEvent:"),function(_63,_64,_65){ +with(_63){ +if(objj_msgSend(_63,"_validateCopyCutOrPasteEvent:flags:",_65,CPPlatformActionKeyMask)&&!_ignoreNativeCopyOrCutEvent){ +var cut=_65.type==="beforecut",_66=cut?CPKeyCodes.X:CPKeyCodes.C,_67=cut?"x":"c",_68=_65.timeStamp?_65.timeStamp:new Date(),_69=objj_msgSend(objj_msgSend(CPApp,"keyWindow"),"windowNumber"),_6a=CPPlatformActionKeyMask; +event=objj_msgSend(CPEvent,"keyEventWithType:location:modifierFlags:timestamp:windowNumber:context:characters:charactersIgnoringModifiers:isARepeat:keyCode:",CPKeyDown,location,_6a,_68,_69,nil,_67,_67,NO,_66); +event._DOMEvent=_65; +objj_msgSend(CPApp,"sendEvent:",event); +objj_msgSend(_63,"_primePasteboardElement"); +_ignoreNativeCopyOrCutEvent=YES; +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("pasteEvent:"),function(_6b,_6c,_6d){ +with(_6b){ +if(objj_msgSend(_6b,"_validateCopyCutOrPasteEvent:flags:",_6d,CPPlatformActionKeyMask)){ +_DOMPasteboardElement.focus(); +_DOMPasteboardElement.select(); +_DOMPasteboardElement.value=""; +_ignoreNativePastePreparation=YES; +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("_validateCopyCutOrPasteEvent:flags:"),function(_6e,_6f,_70,_71){ +with(_6e){ +return (((_70.target||_70.srcElement).nodeName.toUpperCase()!=="INPUT"&&(_70.target||_70.srcElement).nodeName.toUpperCase()!=="TEXTAREA")||_70.target===_DOMPasteboardElement)&&(_71&CPPlatformActionKeyMask); +} +}),new objj_method(sel_getUid("_primePasteboardElement"),function(_72,_73){ +with(_72){ +var _74=objj_msgSend(CPPasteboard,"generalPasteboard"),_75=objj_msgSend(_74,"types"); +if(_75.length){ +if(objj_msgSend(_75,"indexOfObjectIdenticalTo:",CPStringPboardType)!=CPNotFound){ +_DOMPasteboardElement.value=objj_msgSend(_74,"stringForType:",CPStringPboardType); +}else{ +_DOMPasteboardElement.value=objj_msgSend(_74,"_generateStateUID"); +} +_DOMPasteboardElement.focus(); +_DOMPasteboardElement.select(); +window.setNativeTimeout(function(){ +objj_msgSend(_72,"_clearPasteboardElement"); +},0); +} +} +}),new objj_method(sel_getUid("_checkPasteboardElement"),function(_76,_77){ +with(_76){ +var _78=_DOMPasteboardElement.value; +if(objj_msgSend(_78,"length")){ +var _79=objj_msgSend(CPPasteboard,"generalPasteboard"); +if(objj_msgSend(_79,"_stateUID")!=_78){ +objj_msgSend(_79,"declareTypes:owner:",[CPStringPboardType],_76); +objj_msgSend(_79,"setString:forType:",_78,CPStringPboardType); +} +} +objj_msgSend(_76,"_clearPasteboardElement"); +objj_msgSend(CPApp,"sendEvent:",_pasteboardKeyDownEvent); +_pasteboardKeyDownEvent=nil; +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("_clearPasteboardElement"),function(_7a,_7b){ +with(_7a){ +_DOMPasteboardElement.value=""; +_DOMPasteboardElement.blur(); +} +}),new objj_method(sel_getUid("scrollEvent:"),function(_7c,_7d,_7e){ +with(_7c){ +if(!_7e){ +_7e=window.event; +} +if(CPFeatureIsCompatible(CPJavaScriptMouseWheelValues_8_15)){ +var x=0,y=0,_7f=_7e.target; +while(_7f.nodeType!==1){ +_7f=_7f.parentNode; +} +if(_7f.offsetParent){ +do{ +x+=_7f.offsetLeft; +y+=_7f.offsetTop; +}while(_7f=_7f.offsetParent); +} +var _80={x:(x+((_7e.clientX-8)/15)),y:(y+((_7e.clientY-8)/15))}; +}else{ +var _80={x:_7e.clientX,y:_7e.clientY}; +} +var _81=0,_82=0,_83=0,_84=_7e.timeStamp?_7e.timeStamp:new Date(),_85=(_7e.shiftKey?CPShiftKeyMask:0)|(_7e.ctrlKey?CPControlKeyMask:0)|(_7e.altKey?CPAlternateKeyMask:0)|(_7e.metaKey?CPCommandKeyMask:0); +_4=YES; +var _86=objj_msgSend(_7c,"hitTest:",_80); +if(!_86){ +return; +} +var _83=objj_msgSend(_86,"windowNumber"); +_80=objj_msgSend(_86,"convertBridgeToBase:",_80); +if(typeof _7e.wheelDeltaX!="undefined"){ +_81=_7e.wheelDeltaX/120; +_82=_7e.wheelDeltaY/120; +}else{ +if(_7e.wheelDelta){ +_82=_7e.wheelDelta/120; +}else{ +if(_7e.detail){ +_82=-_7e.detail/3; +}else{ +return; +} +} +} +if(!CPFeatureIsCompatible(CPJavaScriptNegativeMouseWheelValues)){ +_81=-_81; +_82=-_82; +} +var _87=objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPScrollWheel,_80,_85,_84,_83,nil,-1,1,0); +_87._DOMEvent=_7e; +_87._deltaX=_81; +_87._deltaY=_82; +objj_msgSend(CPApp,"sendEvent:",_87); +if(_4){ +_3(_7e,_7c); +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("resizeEvent:"),function(_88,_89,_8a){ +with(_88){ +if(objj_msgSend(CPPlatform,"isBrowser")){ +objj_msgSend(CPApp._activeMenu,"cancelTracking"); +} +var _8b=objj_msgSend(_88,"contentRect").size; +objj_msgSend(_88,"updateFromNativeContentRect"); +var _8c=_windowLevels,_8d=_windowLayers,_8e=_8c.length; +while(_8e--){ +var _8f=objj_msgSend(_8d,"objectForKey:",_8c[_8e])._windows,_90=_8f.length; +while(_90--){ +objj_msgSend(_8f[_90],"resizeWithOldPlatformWindowSize:",_8b); +} +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("touchEvent:"),function(_91,_92,_93){ +with(_91){ +if(_93.touches&&(_93.touches.length==1||(_93.touches.length==0&&_93.changedTouches.length==1))){ +var _94={}; +switch(_93.type){ +case CPDOMEventTouchStart: +_94.type=CPDOMEventMouseDown; +break; +case CPDOMEventTouchEnd: +_94.type=CPDOMEventMouseUp; +break; +case CPDOMEventTouchMove: +_94.type=CPDOMEventMouseMoved; +break; +case CPDOMEventTouchCancel: +_94.type=CPDOMEventMouseUp; +break; +} +var _95=_93.touches.length?_93.touches[0]:_93.changedTouches[0]; +_94.clientX=_95.clientX; +_94.clientY=_95.clientY; +_94.timestamp=_93.timestamp; +_94.target=_93.target; +_94.shiftKey=_94.ctrlKey=_94.altKey=_94.metaKey=false; +_94.preventDefault=function(){ +if(_93.preventDefault){ +_93.preventDefault(); +} +}; +_94.stopPropagation=function(){ +if(_93.stopPropagation){ +_93.stopPropagation(); +} +}; +objj_msgSend(_91,"mouseEvent:",_94); +return; +}else{ +if(_93.preventDefault){ +_93.preventDefault(); +} +if(_93.stopPropagation){ +_93.stopPropagation(); +} +} +} +}),new objj_method(sel_getUid("mouseEvent:"),function(_96,_97,_98){ +with(_96){ +var _99=_overriddenEventType||_98.type; +if(_99==="dblclick"){ +_overriddenEventType=CPDOMEventMouseDown; +objj_msgSend(_96,"mouseEvent:",_98); +_overriddenEventType=CPDOMEventMouseUp; +objj_msgSend(_96,"mouseEvent:",_98); +_overriddenEventType=nil; +return; +} +var _9a,_9b={x:_98.clientX,y:_98.clientY},_9c=_98.timeStamp?_98.timeStamp:new Date(),_9d=(_98.target||_98.srcElement),_9e=0,_9f=(_98.shiftKey?CPShiftKeyMask:0)|(_98.ctrlKey?CPControlKeyMask:0)|(_98.altKey?CPAlternateKeyMask:0)|(_98.metaKey?CPCommandKeyMask:0); +_4=YES; +if(_mouseDownWindow){ +_9e=objj_msgSend(_mouseDownWindow,"windowNumber"); +}else{ +var _a0=objj_msgSend(_96,"hitTest:",_9b); +if((_98.type===CPDOMEventMouseDown)&&_a0){ +_mouseDownWindow=_a0; +} +_9e=objj_msgSend(_a0,"windowNumber"); +} +if(_9e){ +_9b=objj_msgSend(CPApp._windows[_9e],"convertPlatformWindowToBase:",_9b); +} +if(_99==="mouseup"){ +if(_mouseIsDown){ +_9a=_a1(_98,CPLeftMouseUp,_9b,_9f,_9c,_9e,nil,-1,_2(_lastMouseUp,_9c,_9b),0); +_mouseIsDown=NO; +_lastMouseUp=_9a; +_mouseDownWindow=nil; +} +if(_DOMEventMode){ +_DOMEventMode=NO; +return; +} +}else{ +if(_99==="mousedown"){ +if(_9d.tagName==="INPUT"&&_9d!=_DOMFocusElement){ +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_DOMBodyElement.setAttribute("draggable","false"); +_DOMBodyElement.style["-khtml-user-drag"]="none"; +} +_DOMEventMode=YES; +_mouseIsDown=YES; +objj_msgSend(CPApp,"sendEvent:",objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPLeftMouseDown,_9b,_9f,_9c,_9e,nil,-1,_2(_lastMouseDown,_9c,_9b),0)); +objj_msgSend(CPApp,"sendEvent:",objj_msgSend(CPEvent,"mouseEventWithType:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:",CPLeftMouseUp,_9b,_9f,_9c,_9e,nil,-1,_2(_lastMouseDown,_9c,_9b),0)); +return; +}else{ +if(objj_msgSend(CPPlatform,"supportsDragAndDrop")){ +_DOMBodyElement.setAttribute("draggable","true"); +_DOMBodyElement.style["-khtml-user-drag"]="element"; +} +} +_9a=_a1(_98,CPLeftMouseDown,_9b,_9f,_9c,_9e,nil,-1,_2(_lastMouseDown,_9c,_9b),0); +_mouseIsDown=YES; +_lastMouseDown=_9a; +}else{ +if(_DOMEventMode){ +return; +} +_9a=_a1(_98,_mouseIsDown?CPLeftMouseDragged:CPMouseMoved,_9b,_9f,_9c,_9e,nil,-1,1,0); +} +} +var _a2=objj_msgSend(objj_msgSend(CPDragServer,"sharedDragServer"),"isDragging"); +if(_9a&&(!_a2||!_8)){ +_9a._DOMEvent=_98; +objj_msgSend(CPApp,"sendEvent:",_9a); +} +if(_4&&(!_8||_99!=="mousedown"&&!_a2)){ +_3(_98,_96); +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("orderedWindowsAtLevel:"),function(_a3,_a4,_a5){ +with(_a3){ +var _a6=objj_msgSend(_a3,"layerAtLevel:create:",_a5,NO); +if(!_a6){ +return []; +} +return objj_msgSend(_a6,"orderedWindows"); +} +}),new objj_method(sel_getUid("layerAtLevel:create:"),function(_a7,_a8,_a9,_aa){ +with(_a7){ +var _ab=objj_msgSend(_windowLayers,"objectForKey:",_a9); +if(!_ab&&_aa){ +_ab=objj_msgSend(objj_msgSend(CPDOMWindowLayer,"alloc"),"initWithLevel:",_a9); +objj_msgSend(_windowLayers,"setObject:forKey:",_ab,_a9); +var low=0,_ac=_windowLevels.length-1,_ad; +while(low<=_ac){ +_ad=FLOOR((low+_ac)/2); +if(_windowLevels[_ad]>_a9){ +_ac=_ad-1; +}else{ +low=_ad+1; +} +} +var _ae=0; +if(_ad!==undefined){ +_ae=_windowLevels[_ad]>_a9?_ad:_ad+1; +} +objj_msgSend(_windowLevels,"insertObject:atIndex:",_a9,_ae); +_ab._DOMElement.style.zIndex=_a9; +_DOMBodyElement.appendChild(_ab._DOMElement); +} +return _ab; +} +}),new objj_method(sel_getUid("order:window:relativeTo:"),function(_af,_b0,_b1,_b2,_b3){ +with(_af){ +objj_msgSend(CPPlatform,"initializeScreenIfNecessary"); +var _b4=objj_msgSend(_af,"layerAtLevel:create:",objj_msgSend(_b2,"level"),_b1!==CPWindowOut); +if(_b1===CPWindowOut){ +return objj_msgSend(_b4,"removeWindow:",_b2); +} +var _b5=CPNotFound; +if(_b3){ +_b5=_b1===CPWindowAbove?_b3._index+1:_b3._index; +} +objj_msgSend(_b4,"insertWindow:atIndex:",_b2,_b5); +} +}),new objj_method(sel_getUid("_removeLayers"),function(_b6,_b7){ +with(_b6){ +var _b8=_windowLevels,_b9=_windowLayers,_ba=_b8.length; +while(_ba--){ +var _bb=objj_msgSend(_b9,"objectForKey:",_b8[_ba]); +_DOMBodyElement.removeChild(_bb._DOMElement); +} +} +}),new objj_method(sel_getUid("_addLayers"),function(_bc,_bd){ +with(_bc){ +var _be=_windowLevels,_bf=_windowLayers,_c0=_be.length; +while(_c0--){ +var _c1=objj_msgSend(_bf,"objectForKey:",_be[_c0]); +_DOMBodyElement.appendChild(_c1._DOMElement); +} +} +}),new objj_method(sel_getUid("_dragHitTest:pasteboard:"),function(_c2,_c3,_c4,_c5){ +with(_c2){ +var _c6=_windowLevels,_c7=_windowLayers,_c8=_c6.length; +while(_c8--){ +if(_c6[_c8]>=CPDraggingWindowLevel){ +continue; +} +var _c9=objj_msgSend(_c7,"objectForKey:",_c6[_c8])._windows,_ca=_c9.length; +while(_ca--){ +var _cb=_c9[_ca]; +if(objj_msgSend(_cb,"_sharesChromeWithPlatformWindow")){ +return objj_msgSend(_cb,"_dragHitTest:pasteboard:",_c4,_c5); +} +if(objj_msgSend(_cb,"containsPoint:",_c4)){ +return objj_msgSend(_cb,"_dragHitTest:pasteboard:",_c4,_c5); +} +} +} +return nil; +} +}),new objj_method(sel_getUid("_propagateCurrentDOMEvent:"),function(_cc,_cd,_ce){ +with(_cc){ +_4=!_ce; +} +}),new objj_method(sel_getUid("_willPropagateCurrentDOMEvent"),function(_cf,_d0){ +with(_cf){ +return !_4; +} +}),new objj_method(sel_getUid("hitTest:"),function(_d1,_d2,_d3){ +with(_d1){ +if(_d1._only){ +return _d1._only; +} +var _d4=_windowLevels,_d5=_windowLayers,_d6=_d4.length,_d7=nil; +while(_d6--&&!_d7){ +var _d8=objj_msgSend(_d5,"objectForKey:",_d4[_d6])._windows,_d9=_d8.length; +while(_d9--&&!_d7){ +var _da=_d8[_d9]; +if(!_da._ignoresMouseEvents&&objj_msgSend(_da,"containsPoint:",_d3)){ +_d7=_da; +} +} +} +return _d7; +} +})]); +class_addMethods(_a,[new objj_method(sel_getUid("visiblePlatformWindows"),function(_db,_dc){ +with(_db){ +if(objj_msgSend(objj_msgSend(CPPlatformWindow,"primaryPlatformWindow"),"isVisible")){ +var set=objj_msgSend(CPSet,"setWithSet:",_1); +objj_msgSend(set,"addObject:",objj_msgSend(CPPlatformWindow,"primaryPlatformWindow")); +return set; +}else{ +return _1; +} +} +}),new objj_method(sel_getUid("preventCharacterKeysFromPropagating:"),function(_dd,_de,_df){ +with(_dd){ +for(var i=_df.length;i>0;i--){ +_6[""+_df[i-1].toLowerCase()]=YES; +} +} +}),new objj_method(sel_getUid("preventCharacterKeyFromPropagating:"),function(_e0,_e1,_e2){ +with(_e0){ +_6[_e2.toLowerCase()]=YES; +} +}),new objj_method(sel_getUid("clearCharacterKeysToPreventFromPropagating"),function(_e3,_e4){ +with(_e3){ +_6={}; +} +}),new objj_method(sel_getUid("preventKeyCodesFromPropagating:"),function(_e5,_e6,_e7){ +with(_e5){ +for(var i=_e7.length;i>0;i--){ +_5[_e7[i-1]]=YES; +} +} +}),new objj_method(sel_getUid("preventKeyCodeFromPropagating:"),function(_e8,_e9,_ea){ +with(_e8){ +_5[_ea]=YES; +} +}),new objj_method(sel_getUid("clearKeyCodesToPreventFromPropagating"),function(_eb,_ec){ +with(_eb){ +_5={}; +} +})]); +var _ed=objj_msgSend(CPEvent,"class"); +var _a1=function(_ee,_ef,_f0,_f1,_f2,_f3,_f4,_f5,_f6,_f7){ +_ee.isa=_ed; +_ee._type=_ef; +_ee._location=_f0; +_ee._modifierFlags=_f1; +_ee._timestamp=_f2; +_ee._windowNumber=_f3; +_ee._window=nil; +_ee._context=_f4; +_ee._eventNumber=_f5; +_ee._clickCount=_f6; +_ee._pressure=_f7; +return _ee; +}; +var _f8=5,_f9=(typeof document!="undefined"&&document.addEventListener)?350:1000; +var _2=function(_fa,_fb,_fc){ +if(!_fa){ +return 1; +} +var _fd=objj_msgSend(_fa,"locationInWindow"); +return (_fb-objj_msgSend(_fa,"timestamp")<_f9&&ABS(_fd.x-_fc.x)<_f8&&ABS(_fd.y-_fc.y)<_f8)?objj_msgSend(_fa,"clickCount")+1:1; +}; +var _3=function(_fe,_ff){ +_fe.cancelBubble=true; +_fe.returnValue=false; +if(_fe.preventDefault){ +_fe.preventDefault(); +} +if(_fe.stopPropagation){ +_fe.stopPropagation(); +} +if(_fe.type===CPDOMEventMouseDown){ +_ff._DOMFocusElement.focus(); +_ff._DOMFocusElement.blur(); +} +}; +CPWindowObjectList=function(){ +var _100=objj_msgSend(CPPlatformWindow,"visiblePlatformWindows"),_101=objj_msgSend(_100,"objectEnumerator"),_102=nil,_103=[]; +while(_102=objj_msgSend(_101,"nextObject")){ +var _104=_102._windowLevels,_105=_102._windowLayers,_106=_104.length; +while(_106--){ +var _107=objj_msgSend(_105,"objectForKey:",_104[_106])._windows,_108=_107.length; +while(_108--){ +_103.push(_107[_108]); +} +} +} +return _103; +}; +CPWindowList=function(){ +var _109=CPWindowObjectList(),_10a=[]; +for(var i=0,_10b=objj_msgSend(_109,"count");i<_10b;i++){ +_10a.push(objj_msgSend(_109[i],"windowNumber")); +} +return _10a; +}; +p;26;CPPlatformWindow+DOMKeys.jt;2336;@STATIC;1.0;t;2317; +CPKeyCodes={BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229}; +CPKeyCodes.firesKeyPressEvent=function(_1,_2,_3,_4,_5){ +if(!CPFeatureIsCompatible(CPJavascriptRemedialKeySupport)){ +return true; +} +if(CPBrowserIsOperatingSystem(CPMacOperatingSystem)&&_5){ +return CPKeyCodes.isCharacterKey(_1); +} +if(_5&&!_4){ +return false; +} +if(CPBrowserIsEngine(CPInternetExplorerBrowserEngine)&&!_3&&(_4||_5)){ +return false; +} +if(CPBrowserIsEngine(CPInternetExplorerBrowserEngine)&&_4&&_2==_1){ +return false; +} +switch(_1){ +case CPKeyCodes.ENTER: +return true; +case CPKeyCodes.ESC: +return !CPBrowserIsEngine(CPWebKitBrowserEngine); +} +return CPKeyCodes.isCharacterKey(_1); +}; +CPKeyCodes.isCharacterKey=function(_6){ +if(_6>=CPKeyCodes.ZERO&&_6<=CPKeyCodes.NINE){ +return true; +} +if(_6>=CPKeyCodes.NUM_ZERO&&_6<=CPKeyCodes.NUM_MULTIPLY){ +return true; +} +if(_6>=CPKeyCodes.A&&_6<=CPKeyCodes.Z){ +return true; +} +switch(_6){ +case CPKeyCodes.SPACE: +case CPKeyCodes.QUESTION_MARK: +case CPKeyCodes.NUM_PLUS: +case CPKeyCodes.NUM_MINUS: +case CPKeyCodes.NUM_PERIOD: +case CPKeyCodes.NUM_DIVISION: +case CPKeyCodes.SEMICOLON: +case CPKeyCodes.DASH: +case CPKeyCodes.EQUALS: +case CPKeyCodes.COMMA: +case CPKeyCodes.PERIOD: +case CPKeyCodes.SLASH: +case CPKeyCodes.APOSTROPHE: +case CPKeyCodes.SINGLE_QUOTE: +case CPKeyCodes.OPEN_SQUARE_BRACKET: +case CPKeyCodes.BACKSLASH: +case CPKeyCodes.CLOSE_SQUARE_BRACKET: +return true; +default: +return false; +} +}; +e; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Info.plist b/simple-tableview delegate/Frameworks/AppKit/Info.plist new file mode 100644 index 0000000..aaeb9fe --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Info.plist @@ -0,0 +1 @@ +280NPLIST;1.0;D;K;18;CPBundleIdentifierS;15;com.280n.AppKitK;29;CPBundleInfoDictionaryVersiond;1;6K;12;CPBundleNameS;6;AppKitK;19;CPBundlePackageTypeS;4;FMWKK;15;CPBundleVersionS;5;0.8.1K;20;CPBundleEnvironmentsA;S;7;BrowserS;8;CommonJSE;K;18;CPBundleExecutableS;9;AppKit.sjK;36;CPBundleEnvironmentsWithImageSpritesA;S;7;BrowserE;E; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/LICENSE b/simple-tableview delegate/Frameworks/AppKit/LICENSE new file mode 100644 index 0000000..9ef3d70 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/LICENSE @@ -0,0 +1,503 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/AboutPanel.cib b/simple-tableview delegate/Frameworks/AppKit/Resources/AboutPanel.cib new file mode 100644 index 0000000..0f3bfd6 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/AboutPanel.cib @@ -0,0 +1 @@ +280NPLIST;1.0;D;K;4;$topD;K;18;CPCibObjectDataKeyD;K;6;CP$UIDd;1;2E;K;21;CPCibObjectRecordsKeyD;K;6;CP$UIDd;1;4E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;16;_CPCibObjectDataK;8;$classesA;S;16;_CPCibObjectDataS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;28;_CPCibObjectDataNamesKeysKeyD;K;6;CP$UIDd;1;5E;K;30;_CPCibObjectDataNamesValuesKeyD;K;6;CP$UIDd;1;6E;K;30;_CPCibObjectDataClassesKeysKeyD;K;6;CP$UIDd;1;7E;K;32;_CPCibObjectDataClassesValuesKeyD;K;6;CP$UIDd;1;8E;K;30;_CPCibObjectDataConnectionsKeyD;K;6;CP$UIDd;1;9E;K;28;_CPCibObjectDataFrameworkKeyD;K;6;CP$UIDd;2;10E;K;26;_CPCibObjectDataNextOidKeyD;K;6;CP$UIDd;2;11E;K;30;_CPCibObjectDataObjectsKeysKeyD;K;6;CP$UIDd;2;12E;K;32;_CPCibObjectDataObjectsValuesKeyD;K;6;CP$UIDd;2;13E;K;26;_CPCibObjectDataOidKeysKeyD;K;6;CP$UIDd;2;14E;K;28;_CPCibObjectDataOidValuesKeyD;K;6;CP$UIDd;2;15E;K;28;_CPCibObjectDataFileOwnerKeyD;K;6;CP$UIDd;2;17E;K;33;_CPCibObjectDataVisibleWindowsKeyD;K;6;CP$UIDd;2;19E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;22E;D;K;6;CP$UIDd;2;23E;D;K;6;CP$UIDd;2;24E;D;K;6;CP$UIDd;2;25E;D;K;6;CP$UIDd;2;26E;D;K;6;CP$UIDd;2;27E;D;K;6;CP$UIDd;2;28E;D;K;6;CP$UIDd;2;29E;D;K;6;CP$UIDd;2;30E;D;K;6;CP$UIDd;2;31E;D;K;6;CP$UIDd;2;32E;D;K;6;CP$UIDd;2;33E;D;K;6;CP$UIDd;2;21E;D;K;6;CP$UIDd;2;34E;D;K;6;CP$UIDd;2;35E;D;K;6;CP$UIDd;2;36E;D;K;6;CP$UIDd;2;37E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;40E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;44E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;49E;D;K;6;CP$UIDd;2;50E;D;K;6;CP$UIDd;2;51E;D;K;6;CP$UIDd;2;52E;D;K;6;CP$UIDd;2;53E;D;K;6;CP$UIDd;2;54E;D;K;6;CP$UIDd;2;54E;D;K;6;CP$UIDd;2;54E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;56E;E;E;S;16;IBCocoaFrameworkd;3;461D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;40E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;44E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;42E;D;K;6;CP$UIDd;2;42E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;10;$classnameS;18;_CPCibCustomObjectK;8;$classesA;S;18;_CPCibCustomObjectS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;16E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;2;57E;E;D;K;10;$classnameS;5;CPSetK;8;$classesA;S;5;CPSetS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;18E;K;15;CPSetObjectsKeyD;K;6;CP$UIDd;2;58E;E;D;K;10;$classnameS;15;CibObjectRecordK;8;$classesA;S;15;CibObjectRecordS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;59E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;60E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;61E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;62E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;63E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;2;42E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;64E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;48E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;54E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;65E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;66E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;67E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;68E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;2;42E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;69E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;47E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;54E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;70E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;71E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;72E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;73E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;2;42E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;74E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;46E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;54E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;75E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;76E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;77E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;78E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;1;0E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;79E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;80E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;2;42E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;81E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;44E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;53E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;2;60E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;82E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;17E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;51E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;2;39E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;83E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;42E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;52E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;2;60E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;84E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;39E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;50E;E;D;K;6;$classD;K;6;CP$UIDd;2;20E;K;24;CibObjectRecordParentKeyD;K;6;CP$UIDd;2;60E;K;26;CibObjectRecordChildrenKeyD;K;6;CP$UIDd;2;85E;K;24;CibObjectRecordObjectKeyD;K;6;CP$UIDd;2;40E;K;23;CibObjectRecordLabelKeyD;K;6;CP$UIDd;2;51E;E;D;K;10;$classnameS;20;_CPCibWindowTemplateK;8;$classesA;S;20;_CPCibWindowTemplateS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;38E;K;30;_CPCibWindowTemplateMaxSizeKeyD;K;6;CP$UIDd;2;86E;K;32;_CPCibWindowTemplateViewClassKeyD;K;6;CP$UIDd;1;0E;K;34;_CPCibWindowTemplateWindowClassKeyD;K;6;CP$UIDd;2;87E;K;33;_CPCibWindowTemplateWindowRectKeyD;K;6;CP$UIDd;2;88E;K;30;_CPCibWindowTempatStyleMaskKeyD;K;6;CP$UIDd;2;89E;K;34;_CPCibWindowTemplateWindowTitleKeyD;K;6;CP$UIDd;2;90E;K;33;_CPCibWindowTemplateWindowViewKeyD;K;6;CP$UIDd;2;42E;E;D;K;6;$classD;K;6;CP$UIDd;2;16E;K;27;_CPCibCustomObjectClassNameD;K;6;CP$UIDd;2;91E;E;D;K;10;$classnameS;6;CPViewK;8;$classesA;S;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;41E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;2;92E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;2;93E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;2;94E;K;15;CPViewWindowKeyD;K;6;CP$UIDd;2;95E;K;17;CPViewSubviewsKeyD;K;6;CP$UIDd;2;96E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;2;92E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;2;97E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;98E;E;D;K;10;$classnameS;11;CPImageViewK;8;$classesA;S;11;CPImageViewS;9;CPControlS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;43E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;2;42E;K;12;CPViewTagKeyD;K;6;CP$UIDd;2;99E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;100E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;101E;K;15;CPViewWindowKeyD;K;6;CP$UIDd;2;95E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;2;42E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;102E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;98E;K;15;$aimage-scalingD;K;6;CP$UIDd;3;103E;K;11;$aalignmentD;K;6;CP$UIDd;3;103E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;105E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;106E;K;23;CPImageViewHasShadowKeyD;K;6;CP$UIDd;1;0E;E;D;K;10;$classnameS;11;CPTextFieldK;8;$classesA;S;11;CPTextFieldS;9;CPControlS;6;CPViewS;11;CPResponderS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;45E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;2;42E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;107E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;108E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;109E;K;15;CPViewWindowKeyD;K;6;CP$UIDd;2;95E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;2;42E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;110E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;98E;K;6;$afontD;K;6;CP$UIDd;3;112E;K;12;$atext-colorD;K;6;CP$UIDd;3;114E;K;11;$aalignmentD;K;6;CP$UIDd;3;106E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;115E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;116E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;117E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;117E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;1;0E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;45E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;2;42E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;118E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;119E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;120E;K;15;CPViewWindowKeyD;K;6;CP$UIDd;2;95E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;2;42E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;110E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;98E;K;6;$afontD;K;6;CP$UIDd;3;121E;K;12;$atext-colorD;K;6;CP$UIDd;3;122E;K;11;$aalignmentD;K;6;CP$UIDd;3;106E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;123E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;116E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;117E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;117E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;1;0E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;E;D;K;6;$classD;K;6;CP$UIDd;2;45E;K;27;CPResponderNextResponderKeyD;K;6;CP$UIDd;2;42E;K;12;CPViewTagKeyD;K;6;CP$UIDd;3;124E;K;14;CPViewFrameKeyD;K;6;CP$UIDd;3;125E;K;15;CPViewBoundsKeyD;K;6;CP$UIDd;3;126E;K;15;CPViewWindowKeyD;K;6;CP$UIDd;2;95E;K;18;CPViewSuperviewKeyD;K;6;CP$UIDd;2;42E;K;22;CPViewAutoresizingMaskD;K;6;CP$UIDd;3;110E;K;19;CPViewThemeStateKeyD;K;6;CP$UIDd;2;98E;K;6;$afontD;K;6;CP$UIDd;3;127E;K;12;$atext-colorD;K;6;CP$UIDd;3;128E;K;11;$aalignmentD;K;6;CP$UIDd;3;106E;K;17;CPControlValueKeyD;K;6;CP$UIDd;3;129E;K;24;CPControlSendActionOnKeyD;K;6;CP$UIDd;3;116E;K;24;CPTextFieldIsEditableKeyD;K;6;CP$UIDd;3;117E;K;26;CPTextFieldIsSelectableKeyD;K;6;CP$UIDd;3;117E;K;29;CPTextFieldDrawsBackgroundKeyD;K;6;CP$UIDd;1;0E;K;29;CPTextFieldBackgroundColorKeyD;K;6;CP$UIDd;1;0E;K;31;CPTextFieldPlaceholderStringKeyD;K;6;CP$UIDd;1;0E;E;S;12;File's OwnerS;6;WindowS;11;ApplicationS;4;ViewS;10;Image viewS;10;Text fieldD;K;10;$classnameS;20;CPCibOutletConnectorK;8;$classesA;S;20;CPCibOutletConnectorS;14;CPCibConnectorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;55E;K;24;_CPCibConnectorSourceKeyD;K;6;CP$UIDd;2;17E;K;29;_CPCibConnectorDestinationKeyD;K;6;CP$UIDd;2;39E;K;23;_CPCibConnectorLabelKeyD;K;6;CP$UIDd;3;130E;E;S;18;CPWindowControllerD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;17E;D;K;6;CP$UIDd;2;39E;D;K;6;CP$UIDd;2;40E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;5;ArrayD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;48E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;47E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;47E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;46E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;46E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;44E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;44E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;44E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;44E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;42E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;E;E;S;26;{3.40282e+38, 3.40282e+38}S;8;CPWindowS;22;{{72, 57}, {219, 263}}d;1;7S;0;S;13;CPApplicationS;5;$nullS;21;{{0, 26}, {219, 263}}S;20;{{0, 0}, {219, 263}}S;5;$nullD;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;2;44E;D;K;6;CP$UIDd;2;46E;D;K;6;CP$UIDd;2;47E;D;K;6;CP$UIDd;2;48E;E;E;d;2;18S;6;normalS;1;1S;24;{{45.5, 16}, {128, 128}}S;20;{{0, 0}, {128, 128}}d;2;37d;1;0D;K;10;$classnameS;20;_CPCibCustomResourceK;8;$classesA;S;20;_CPCibCustomResourceS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;104E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;131E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;132E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;134E;E;d;1;4S;1;2S;22;{{16, 165}, {187, 25}}S;19;{{0, 0}, {187, 25}}d;2;36D;K;10;$classnameS;6;CPFontK;8;$classesA;S;6;CPFontS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;111E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;135E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;136E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;117E;E;D;K;10;$classnameS;7;CPColorK;8;$classesA;S;7;CPColorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;113E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;137E;E;S;7;AppNamed;4;3072F;S;1;3S;22;{{16, 194}, {187, 20}}S;19;{{0, 0}, {187, 20}}D;K;6;$classD;K;6;CP$UIDd;3;111E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;135E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;136E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;117E;E;D;K;6;$classD;K;6;CP$UIDd;3;113E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;138E;E;S;19;Version XXX (build)S;1;4S;22;{{16, 222}, {187, 22}}S;19;{{0, 0}, {187, 22}}D;K;6;$classD;K;6;CP$UIDd;3;111E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;135E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;136E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;117E;E;D;K;6;$classD;K;6;CP$UIDd;3;113E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;139E;E;S;9;CopyrightS;6;windowS;7;CPImageS;8;Icon.pngD;K;10;$classnameS;12;CPDictionaryK;8;$classesA;S;12;CPDictionaryS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;133E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;141E;E;E;S;5;Ariald;2;13D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;142E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;142E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;3E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;103E;D;K;6;CP$UIDd;3;142E;E;E;D;K;10;$classnameS;21;_CPKeyedArchiverValueK;8;$classesA;S;21;_CPKeyedArchiverValueS;7;CPValueS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;140E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;143E;E;d;1;1S;24;{"width":-1,"height":-1}E;K;9;$archiverS;15;CPKeyedArchiverK;8;$versionS;6;100000E; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/Aristo.blend.sj b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/Aristo.blend.sj new file mode 100644 index 0000000..38ab58e --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/Aristo.blend.sj @@ -0,0 +1 @@ +@STATIC;1.0;p;27;Resources/Aristo.keyedthemet;99851;280NPLIST;1.0;D;K;4;$topD;K;4;rootD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;7;CPThemeK;8;$classesA;S;7;CPThemeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;14;CPThemeNameKeyD;K;6;CP$UIDd;1;3E;K;20;CPThemeAttributesKeyD;K;6;CP$UIDd;1;5E;E;S;6;AristoD;K;10;$classnameS;19;CPMutableDictionaryK;8;$classesA;S;19;CPMutableDictionaryS;12;CPDictionaryS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;buttonD;K;6;CP$UIDd;1;6E;K;12;popup-buttonD;K;6;CP$UIDd;1;7E;K;8;scrollerD;K;6;CP$UIDd;1;8E;K;9;textfieldD;K;6;CP$UIDd;1;9E;K;5;radioD;K;6;CP$UIDd;2;10E;K;9;check-boxD;K;6;CP$UIDd;2;11E;K;17;segmented-controlD;K;6;CP$UIDd;2;12E;K;6;sliderD;K;6;CP$UIDd;2;13E;K;10;button-barD;K;6;CP$UIDd;2;14E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;max-sizeD;K;6;CP$UIDd;2;16E;K;8;min-sizeD;K;6;CP$UIDd;2;17E;K;13;image-scalingD;K;6;CP$UIDd;2;18E;K;14;image-positionD;K;6;CP$UIDd;2;19E;K;18;text-shadow-offsetD;K;6;CP$UIDd;2;20E;K;17;text-shadow-colorD;K;6;CP$UIDd;2;21E;K;4;fontD;K;6;CP$UIDd;2;22E;K;10;text-colorD;K;6;CP$UIDd;2;23E;K;15;line-break-modeD;K;6;CP$UIDd;2;24E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;25E;K;9;alignmentD;K;6;CP$UIDd;2;26E;K;11;bezel-colorD;K;6;CP$UIDd;2;27E;K;13;content-insetD;K;6;CP$UIDd;2;28E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;max-sizeD;K;6;CP$UIDd;2;29E;K;8;min-sizeD;K;6;CP$UIDd;2;30E;K;13;image-scalingD;K;6;CP$UIDd;2;31E;K;14;image-positionD;K;6;CP$UIDd;2;32E;K;18;text-shadow-offsetD;K;6;CP$UIDd;2;33E;K;17;text-shadow-colorD;K;6;CP$UIDd;2;34E;K;4;fontD;K;6;CP$UIDd;2;35E;K;10;text-colorD;K;6;CP$UIDd;2;36E;K;15;line-break-modeD;K;6;CP$UIDd;2;37E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;38E;K;9;alignmentD;K;6;CP$UIDd;2;39E;K;11;bezel-colorD;K;6;CP$UIDd;2;40E;K;13;content-insetD;K;6;CP$UIDd;2;41E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;19;minimum-knob-lengthD;K;6;CP$UIDd;2;42E;K;10;knob-insetD;K;6;CP$UIDd;2;43E;K;11;track-insetD;K;6;CP$UIDd;2;44E;K;19;increment-line-sizeD;K;6;CP$UIDd;2;45E;K;19;decrement-line-sizeD;K;6;CP$UIDd;2;46E;K;10;knob-colorD;K;6;CP$UIDd;2;47E;K;20;increment-line-colorD;K;6;CP$UIDd;2;48E;K;20;decrement-line-colorD;K;6;CP$UIDd;2;49E;K;15;knob-slot-colorD;K;6;CP$UIDd;2;50E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;fontD;K;6;CP$UIDd;2;51E;K;10;text-colorD;K;6;CP$UIDd;2;52E;K;9;alignmentD;K;6;CP$UIDd;2;53E;K;11;bezel-colorD;K;6;CP$UIDd;2;54E;K;13;content-insetD;K;6;CP$UIDd;2;55E;K;11;bezel-insetD;K;6;CP$UIDd;2;56E;K;8;max-sizeD;K;6;CP$UIDd;2;57E;K;8;min-sizeD;K;6;CP$UIDd;2;58E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;min-sizeD;K;6;CP$UIDd;2;59E;K;13;image-scalingD;K;6;CP$UIDd;2;60E;K;14;image-positionD;K;6;CP$UIDd;2;61E;K;4;fontD;K;6;CP$UIDd;2;62E;K;10;text-colorD;K;6;CP$UIDd;2;63E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;64E;K;9;alignmentD;K;6;CP$UIDd;2;65E;K;11;bezel-colorD;K;6;CP$UIDd;2;66E;K;13;content-insetD;K;6;CP$UIDd;2;67E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;min-sizeD;K;6;CP$UIDd;2;68E;K;13;image-scalingD;K;6;CP$UIDd;2;69E;K;14;image-positionD;K;6;CP$UIDd;2;70E;K;4;fontD;K;6;CP$UIDd;2;71E;K;10;text-colorD;K;6;CP$UIDd;2;72E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;73E;K;9;alignmentD;K;6;CP$UIDd;2;74E;K;11;bezel-colorD;K;6;CP$UIDd;2;75E;K;13;content-insetD;K;6;CP$UIDd;2;76E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;18;text-shadow-offsetD;K;6;CP$UIDd;2;77E;K;17;text-shadow-colorD;K;6;CP$UIDd;2;78E;K;4;fontD;K;6;CP$UIDd;2;79E;K;10;text-colorD;K;6;CP$UIDd;2;80E;K;15;line-break-modeD;K;6;CP$UIDd;2;81E;K;14;default-heightD;K;6;CP$UIDd;2;82E;K;17;divider-thicknessD;K;6;CP$UIDd;2;83E;K;19;divider-bezel-colorD;K;6;CP$UIDd;2;84E;K;26;center-segment-bezel-colorD;K;6;CP$UIDd;2;85E;K;25;right-segment-bezel-colorD;K;6;CP$UIDd;2;86E;K;24;left-segment-bezel-colorD;K;6;CP$UIDd;2;87E;K;13;content-insetD;K;6;CP$UIDd;2;88E;K;11;bezel-insetD;K;6;CP$UIDd;2;89E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;11;track-colorD;K;6;CP$UIDd;2;90E;K;11;track-widthD;K;6;CP$UIDd;2;91E;K;9;knob-sizeD;K;6;CP$UIDd;2;92E;K;10;knob-colorD;K;6;CP$UIDd;2;93E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;11;bezel-colorD;K;6;CP$UIDd;2;94E;E;E;D;K;10;$classnameS;17;_CPThemeAttributeK;8;$classesA;S;17;_CPThemeAttributeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;95E;K;5;valueD;K;6;CP$UIDd;2;97E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;valueD;K;6;CP$UIDd;2;99E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;100E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;102E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;103E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;105E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;106E;K;6;valuesD;K;6;CP$UIDd;3;107E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;6;valuesD;K;6;CP$UIDd;3;112E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;113E;K;5;valueD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;115E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;118E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;120E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;95E;K;5;valueD;K;6;CP$UIDd;3;121E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;valueD;K;6;CP$UIDd;3;122E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;100E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;102E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;103E;K;5;valueD;K;6;CP$UIDd;3;123E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;106E;K;6;valuesD;K;6;CP$UIDd;3;124E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;6;valuesD;K;6;CP$UIDd;3;125E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;113E;K;5;valueD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;115E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;5;valueD;K;6;CP$UIDd;3;126E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;127E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;128E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;129E;K;6;valuesD;K;6;CP$UIDd;3;130E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;131E;K;6;valuesD;K;6;CP$UIDd;3;132E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;133E;K;6;valuesD;K;6;CP$UIDd;3;134E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;135E;K;6;valuesD;K;6;CP$UIDd;3;136E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;137E;K;6;valuesD;K;6;CP$UIDd;3;138E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;139E;K;6;valuesD;K;6;CP$UIDd;3;140E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;141E;K;6;valuesD;K;6;CP$UIDd;3;142E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;143E;K;6;valuesD;K;6;CP$UIDd;3;144E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;145E;K;6;valuesD;K;6;CP$UIDd;3;146E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;6;valuesD;K;6;CP$UIDd;3;147E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;5;stateD;K;6;CP$UIDd;3;148E;K;5;valueD;K;6;CP$UIDd;3;150E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;5;valueD;K;6;CP$UIDd;3;126E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;151E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;6;valuesD;K;6;CP$UIDd;3;152E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;153E;K;6;valuesD;K;6;CP$UIDd;3;154E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;95E;K;5;stateD;K;6;CP$UIDd;3;155E;K;5;valueD;K;6;CP$UIDd;3;156E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;stateD;K;6;CP$UIDd;3;155E;K;5;valueD;K;6;CP$UIDd;3;157E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;valueD;K;6;CP$UIDd;3;158E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;100E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;102E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;5;stateD;K;6;CP$UIDd;3;159E;K;5;valueD;K;6;CP$UIDd;3;160E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;115E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;6;valuesD;K;6;CP$UIDd;3;161E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;162E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;163E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;valueD;K;6;CP$UIDd;3;164E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;100E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;102E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;5;stateD;K;6;CP$UIDd;3;159E;K;5;valueD;K;6;CP$UIDd;3;165E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;115E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;6;valuesD;K;6;CP$UIDd;3;166E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;167E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;168E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;103E;K;5;valueD;K;6;CP$UIDd;3;169E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;106E;K;5;valueD;K;6;CP$UIDd;3;170E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;5;valueD;K;6;CP$UIDd;3;171E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;113E;K;5;valueD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;172E;K;5;valueD;K;6;CP$UIDd;3;173E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;174E;K;5;valueD;K;6;CP$UIDd;3;175E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;176E;K;6;valuesD;K;6;CP$UIDd;3;177E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;178E;K;6;valuesD;K;6;CP$UIDd;3;179E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;180E;K;6;valuesD;K;6;CP$UIDd;3;181E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;182E;K;6;valuesD;K;6;CP$UIDd;3;183E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;valueD;K;6;CP$UIDd;3;184E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;153E;K;5;valueD;K;6;CP$UIDd;3;185E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;186E;K;6;valuesD;K;6;CP$UIDd;3;187E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;188E;K;5;valueD;K;6;CP$UIDd;3;189E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;190E;K;6;valuesD;K;6;CP$UIDd;3;191E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;139E;K;6;valuesD;K;6;CP$UIDd;3;192E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;5;valueD;K;6;CP$UIDd;3;193E;E;S;8;max-sizeD;K;10;$classnameS;21;_CPKeyedArchiverValueK;8;$classesA;S;21;_CPKeyedArchiverValueS;7;CPValueS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;194E;E;S;8;min-sizeD;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;195E;E;S;13;image-scalingd;1;2S;14;image-positionS;18;text-shadow-offsetS;8;borderedD;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;196E;E;S;17;text-shadow-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;17;disabled+borderedD;K;6;CP$UIDd;3;197E;K;8;borderedD;K;6;CP$UIDd;3;198E;E;E;S;4;fontD;K;10;$classnameS;6;CPFontK;8;$classesA;S;6;CPFontS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;109E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;199E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;200E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;201E;E;S;10;text-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;16;disabled+defaultD;K;6;CP$UIDd;3;202E;K;7;defaultD;K;6;CP$UIDd;3;203E;K;8;disabledD;K;6;CP$UIDd;3;204E;K;6;normalD;K;6;CP$UIDd;3;205E;E;E;S;15;line-break-moded;1;4S;18;vertical-alignmentS;9;alignmentS;11;bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;28;highlighted+bordered+defaultD;K;6;CP$UIDd;3;206E;K;16;bordered+defaultD;K;6;CP$UIDd;3;207E;K;25;disabled+bordered+defaultD;K;6;CP$UIDd;3;208E;K;17;disabled+borderedD;K;6;CP$UIDd;3;209E;K;20;highlighted+borderedD;K;6;CP$UIDd;3;210E;K;8;borderedD;K;6;CP$UIDd;3;211E;E;E;S;13;content-insetD;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;212E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;194E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;213E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;196E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;17;disabled+borderedD;K;6;CP$UIDd;3;214E;K;6;normalD;K;6;CP$UIDd;3;215E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;17;disabled+borderedD;K;6;CP$UIDd;3;216E;K;6;normalD;K;6;CP$UIDd;3;217E;E;E;d;1;0D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;19;bordered+pulls-downD;K;6;CP$UIDd;3;218E;K;28;disabled+bordered+pulls-downD;K;6;CP$UIDd;3;219E;K;17;disabled+borderedD;K;6;CP$UIDd;3;220E;K;8;borderedD;K;6;CP$UIDd;3;221E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;222E;E;S;19;minimum-knob-lengthD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;223E;K;8;verticalD;K;6;CP$UIDd;3;223E;E;E;S;10;knob-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;224E;K;8;verticalD;K;6;CP$UIDd;3;225E;E;E;S;11;track-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;226E;K;8;verticalD;K;6;CP$UIDd;3;227E;E;E;S;19;increment-line-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;228E;K;8;verticalD;K;6;CP$UIDd;3;229E;E;E;S;19;decrement-line-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;230E;K;8;verticalD;K;6;CP$UIDd;3;231E;E;E;S;10;knob-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;232E;K;8;disabledD;K;6;CP$UIDd;3;233E;K;17;disabled+verticalD;K;6;CP$UIDd;3;234E;K;8;verticalD;K;6;CP$UIDd;3;235E;E;E;S;20;increment-line-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;236E;K;11;highlightedD;K;6;CP$UIDd;3;237E;K;8;disabledD;K;6;CP$UIDd;3;238E;K;17;disabled+verticalD;K;6;CP$UIDd;3;239E;K;20;highlighted+verticalD;K;6;CP$UIDd;3;240E;K;8;verticalD;K;6;CP$UIDd;3;241E;E;E;S;20;decrement-line-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;242E;K;11;highlightedD;K;6;CP$UIDd;3;243E;K;8;disabledD;K;6;CP$UIDd;3;244E;K;17;disabled+verticalD;K;6;CP$UIDd;3;245E;K;20;highlighted+verticalD;K;6;CP$UIDd;3;246E;K;8;verticalD;K;6;CP$UIDd;3;247E;E;E;S;15;knob-slot-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;248E;K;8;disabledD;K;6;CP$UIDd;3;249E;K;17;disabled+verticalD;K;6;CP$UIDd;3;250E;K;8;verticalD;K;6;CP$UIDd;3;251E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;252E;K;7;bezeledD;K;6;CP$UIDd;3;252E;E;E;S;11;placeholderD;K;10;$classnameS;7;CPColorK;8;$classesA;S;7;CPColorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;254E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;15;bezeled+roundedD;K;6;CP$UIDd;3;255E;K;23;bezeled+editing+roundedD;K;6;CP$UIDd;3;256E;K;15;bezeled+editingD;K;6;CP$UIDd;3;257E;K;7;bezeledD;K;6;CP$UIDd;3;258E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;15;bezeled+roundedD;K;6;CP$UIDd;3;259E;K;7;bezeledD;K;6;CP$UIDd;3;260E;E;E;S;11;bezel-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;15;bezeled+roundedD;K;6;CP$UIDd;3;261E;K;23;bezeled+editing+roundedD;K;6;CP$UIDd;3;262E;K;15;bezeled+editingD;K;6;CP$UIDd;3;263E;K;7;bezeledD;K;6;CP$UIDd;3;264E;E;E;S;15;bezeled+roundedD;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;265E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;266E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;267E;E;S;8;disabledD;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;268E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;borderedD;K;6;CP$UIDd;3;126E;K;6;normalD;K;6;CP$UIDd;3;126E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;26;disabled+selected+borderedD;K;6;CP$UIDd;3;269E;K;17;disabled+borderedD;K;6;CP$UIDd;3;270E;K;20;highlighted+borderedD;K;6;CP$UIDd;3;271E;K;29;highlighted+selected+borderedD;K;6;CP$UIDd;3;272E;K;17;selected+borderedD;K;6;CP$UIDd;3;273E;K;8;borderedD;K;6;CP$UIDd;3;274E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;275E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;267E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;276E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;borderedD;K;6;CP$UIDd;3;126E;K;6;normalD;K;6;CP$UIDd;3;126E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;26;highlighted+bordered+mixedD;K;6;CP$UIDd;3;277E;K;14;bordered+mixedD;K;6;CP$UIDd;3;278E;K;23;disabled+bordered+mixedD;K;6;CP$UIDd;3;279E;K;26;disabled+selected+borderedD;K;6;CP$UIDd;3;280E;K;17;disabled+borderedD;K;6;CP$UIDd;3;281E;K;20;highlighted+borderedD;K;6;CP$UIDd;3;282E;K;29;highlighted+selected+borderedD;K;6;CP$UIDd;3;283E;K;17;selected+borderedD;K;6;CP$UIDd;3;284E;K;8;borderedD;K;6;CP$UIDd;3;285E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;275E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;196E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;286E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;287E;E;S;14;default-heightd;2;24S;17;divider-thicknessd;1;1S;19;divider-bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;11;highlightedD;K;6;CP$UIDd;3;288E;K;8;selectedD;K;6;CP$UIDd;3;289E;K;17;disabled+selectedD;K;6;CP$UIDd;3;290E;K;8;disabledD;K;6;CP$UIDd;3;291E;K;6;normalD;K;6;CP$UIDd;3;288E;E;E;S;26;center-segment-bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;20;highlighted+selectedD;K;6;CP$UIDd;3;292E;K;11;highlightedD;K;6;CP$UIDd;3;293E;K;8;selectedD;K;6;CP$UIDd;3;294E;K;17;disabled+selectedD;K;6;CP$UIDd;3;295E;K;8;disabledD;K;6;CP$UIDd;3;296E;K;6;normalD;K;6;CP$UIDd;3;297E;E;E;S;25;right-segment-bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;20;highlighted+selectedD;K;6;CP$UIDd;3;298E;K;11;highlightedD;K;6;CP$UIDd;3;299E;K;8;selectedD;K;6;CP$UIDd;3;300E;K;17;disabled+selectedD;K;6;CP$UIDd;3;301E;K;8;disabledD;K;6;CP$UIDd;3;302E;K;6;normalD;K;6;CP$UIDd;3;303E;E;E;S;24;left-segment-bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;20;highlighted+selectedD;K;6;CP$UIDd;3;304E;K;11;highlightedD;K;6;CP$UIDd;3;305E;K;8;selectedD;K;6;CP$UIDd;3;306E;K;17;disabled+selectedD;K;6;CP$UIDd;3;307E;K;8;disabledD;K;6;CP$UIDd;3;308E;K;6;normalD;K;6;CP$UIDd;3;309E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;310E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;S;11;track-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;circularD;K;6;CP$UIDd;3;312E;K;17;disabled+circularD;K;6;CP$UIDd;3;313E;K;8;verticalD;K;6;CP$UIDd;3;314E;K;8;disabledD;K;6;CP$UIDd;3;315E;K;6;normalD;K;6;CP$UIDd;3;316E;E;E;S;11;track-widthd;1;5S;9;knob-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;circularD;K;6;CP$UIDd;3;317E;K;6;normalD;K;6;CP$UIDd;3;318E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;circularD;K;6;CP$UIDd;3;319E;K;17;disabled+circularD;K;6;CP$UIDd;3;320E;K;20;highlighted+circularD;K;6;CP$UIDd;3;319E;K;8;disabledD;K;6;CP$UIDd;3;321E;K;11;highlightedD;K;6;CP$UIDd;3;322E;K;6;normalD;K;6;CP$UIDd;3;323E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;325E;E;S;24;{"width":-1,"height":24}S;23;{"width":0,"height":24}S;22;{"width":0,"height":1}D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;326E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;327E;E;S;17;Arial, sans-serifd;2;12T;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;328E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;329E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;330E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;331E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;332E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;333E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;334E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;335E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;336E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;337E;E;S;39;{"top":0,"right":5,"bottom":0,"left":5}S;24;{"width":32,"height":24}D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;338E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;339E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;340E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;341E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;342E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;343E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;344E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;345E;E;S;40;{"top":0,"right":32,"bottom":0,"left":5}d;2;21D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;346E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;347E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;350E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;351E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;352E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;353E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;355E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;356E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;357E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;358E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;359E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;360E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;361E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;362E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;363E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;364E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;365E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;366E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;367E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;368E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;369E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;370E;E;D;K;6;$classD;K;6;CP$UIDd;3;109E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;199E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;200E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;371E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;372E;D;K;6;CP$UIDd;3;373E;D;K;6;CP$UIDd;3;374E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;375E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;376E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;378E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;379E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;380E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;381E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;382E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;383E;E;S;24;{"width":-1,"height":30}S;23;{"width":0,"height":30}S;23;{"width":0,"height":17}D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;385E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;386E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;387E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;388E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;389E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;390E;E;S;40;{"top":0,"right":0,"bottom":0,"left":20}D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;391E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;392E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;393E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;394E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;395E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;396E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;397E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;398E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;399E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;401E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;402E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;403E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;404E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;405E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;406E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;407E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;408E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;409E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;410E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;411E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;412E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;413E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;414E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;415E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;416E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;417E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;418E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;419E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;420E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;421E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;422E;E;S;39;{"top":0,"right":4,"bottom":0,"left":4}S;39;{"top":0,"right":0,"bottom":0,"left":0}D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;423E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;424E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;425E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;426E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;427E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;428E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;429E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;430E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;431E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;432E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;433E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;434E;E;D;K;10;$classnameS;16;CPThreePartImageK;8;$classesA;S;16;CPThreePartImageS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;435E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;436E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;437E;D;K;6;CP$UIDd;3;438E;D;K;6;CP$UIDd;3;439E;D;K;6;CP$UIDd;3;436E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;437E;D;K;6;CP$UIDd;3;438E;D;K;6;CP$UIDd;3;439E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;440E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;441E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;442E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;443E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;444E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;445E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;436E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;446E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;447E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;448E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;449E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;S;43;{"top":0,"right":-10,"bottom":0,"left":-11}S;43;{"top":-10,"right":0,"bottom":-10,"left":0}S;24;{"width":24,"height":15}S;24;{"width":15,"height":24}D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;450E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;451E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;452E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;201E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;453E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;201E;E;D;K;10;$classnameS;20;_CPCibCustomResourceK;8;$classesA;S;20;_CPCibCustomResourceS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;455E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;456E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;457E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;458E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;459E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;460E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;461E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;462E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;463E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;464E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;465E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;466E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;467E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;468E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;469E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;470E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;471E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;472E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;473E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;474E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;475E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;476E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;477E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;478E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;479E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;480E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;481E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;482E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;483E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;484E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;485E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;486E;E;F;f;18;0.7411764705882353f;18;0.7803921568627451f;18;0.8274509803921568D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;487E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;488E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;10;$classnameS;15;CPNinePartImageK;8;$classesA;S;15;CPNinePartImageS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;377E;K;29;CPNinePartImageImageSlicesKeyD;K;6;CP$UIDd;3;489E;E;D;K;6;$classD;K;6;CP$UIDd;3;377E;K;29;CPNinePartImageImageSlicesKeyD;K;6;CP$UIDd;3;490E;E;S;41;{"top":9,"right":14,"bottom":6,"left":14}S;39;{"top":9,"right":7,"bottom":5,"left":8}S;39;{"top":4,"right":4,"bottom":4,"left":4}S;39;{"top":4,"right":4,"bottom":3,"left":4}f;19;0.30980392156862746D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;491E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;492E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;493E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;494E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;495E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;496E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;497E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;498E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;499E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;500E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;501E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;502E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;503E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;504E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;505E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;f;18;0.9411764705882353D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;506E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;507E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;508E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;509E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;510E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;511E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;512E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;513E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;514E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;515E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;516E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;517E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;518E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;519E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;520E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;521E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;522E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;523E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;524E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;525E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;526E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;527E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;528E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;529E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;530E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;531E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;532E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;533E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;534E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;535E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;536E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;537E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;538E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;539E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;540E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;541E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;542E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;543E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;544E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;545E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;546E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;547E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;548E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;549E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;550E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;551E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;552E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;553E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;554E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;201E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;555E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;201E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;556E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;S;22;{"width":5,"height":5}S;24;{"width":23,"height":24}D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;557E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;558E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;559E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;560E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;561E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;562E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;563E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;564E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;565E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;566E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;567E;D;K;6;CP$UIDd;3;568E;D;K;6;CP$UIDd;3;569E;E;E;f;3;0.6f;20;0.050980392156862744f;3;0.2f;19;0.27450980392156865D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;570E;D;K;6;CP$UIDd;3;571E;D;K;6;CP$UIDd;3;572E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;573E;D;K;6;CP$UIDd;3;574E;D;K;6;CP$UIDd;3;575E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;576E;D;K;6;CP$UIDd;3;577E;D;K;6;CP$UIDd;3;578E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;579E;D;K;6;CP$UIDd;3;580E;D;K;6;CP$UIDd;3;581E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;582E;D;K;6;CP$UIDd;3;583E;D;K;6;CP$UIDd;3;584E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;585E;D;K;6;CP$UIDd;3;586E;D;K;6;CP$UIDd;3;587E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;588E;D;K;6;CP$UIDd;3;589E;D;K;6;CP$UIDd;3;590E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;591E;D;K;6;CP$UIDd;3;592E;D;K;6;CP$UIDd;3;593E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;594E;D;K;6;CP$UIDd;3;595E;D;K;6;CP$UIDd;3;596E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;597E;D;K;6;CP$UIDd;3;598E;D;K;6;CP$UIDd;3;599E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;600E;D;K;6;CP$UIDd;3;601E;D;K;6;CP$UIDd;3;602E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;603E;D;K;6;CP$UIDd;3;604E;D;K;6;CP$UIDd;3;605E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;606E;D;K;6;CP$UIDd;3;607E;D;K;6;CP$UIDd;3;608E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;609E;D;K;6;CP$UIDd;3;610E;D;K;6;CP$UIDd;3;611E;E;E;S;7;CPImageS;24;scroller-right-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;612E;E;E;S;36;scroller-right-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;613E;E;E;S;33;scroller-right-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;614E;E;E;S;32;scroller-down-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;615E;E;E;S;35;scroller-down-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;616E;E;E;S;23;scroller-down-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;617E;E;E;S;23;scroller-left-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;618E;E;E;S;35;scroller-left-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;619E;E;E;S;32;scroller-left-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;620E;E;E;S;30;scroller-up-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;621E;E;E;S;33;scroller-up-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;622E;E;E;S;21;scroller-up-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;623E;E;E;S;29;scroller-horizontal-track.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;624E;E;E;S;38;scroller-horizontal-track-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;625E;E;E;S;36;scroller-vertical-track-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;626E;E;E;S;27;scroller-vertical-track.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;627E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;628E;D;K;6;CP$UIDd;3;629E;D;K;6;CP$UIDd;3;630E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;631E;D;K;6;CP$UIDd;3;632E;D;K;6;CP$UIDd;3;633E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;634E;D;K;6;CP$UIDd;3;635E;D;K;6;CP$UIDd;3;636E;D;K;6;CP$UIDd;3;637E;D;K;6;CP$UIDd;3;638E;D;K;6;CP$UIDd;3;639E;D;K;6;CP$UIDd;3;640E;D;K;6;CP$UIDd;3;641E;D;K;6;CP$UIDd;3;642E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;643E;D;K;6;CP$UIDd;3;644E;D;K;6;CP$UIDd;3;645E;D;K;6;CP$UIDd;3;646E;D;K;6;CP$UIDd;3;647E;D;K;6;CP$UIDd;3;648E;D;K;6;CP$UIDd;3;649E;D;K;6;CP$UIDd;3;650E;D;K;6;CP$UIDd;3;651E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;652E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;653E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;654E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;655E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;656E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;657E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;658E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;659E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;660E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;661E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;662E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;663E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;664E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;665E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;666E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;S;35;segmented-control-bezel-divider.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;667E;E;E;S;47;segmented-control-bezel-highlighted-divider.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;668E;E;E;S;56;segmented-control-bezel-highlighted-disabled-divider.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;669E;E;E;S;44;segmented-control-bezel-disabled-divider.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;670E;E;E;S;53;segmented-control-bezel-pushed-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;671E;E;E;S;41;segmented-control-bezel-pushed-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;672E;E;E;S;46;segmented-control-bezel-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;673E;E;E;S;55;segmented-control-bezel-highlighted-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;674E;E;E;S;43;segmented-control-bezel-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;675E;E;E;S;34;segmented-control-bezel-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;676E;E;E;S;52;segmented-control-bezel-pushed-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;677E;E;E;S;40;segmented-control-bezel-pushed-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;678E;E;E;S;45;segmented-control-bezel-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;679E;E;E;S;54;segmented-control-bezel-highlighted-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;680E;E;E;S;42;segmented-control-bezel-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;681E;E;E;S;33;segmented-control-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;682E;E;E;S;51;segmented-control-bezel-pushed-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;683E;E;E;S;39;segmented-control-bezel-pushed-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;684E;E;E;S;44;segmented-control-bezel-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;685E;E;E;S;53;segmented-control-bezel-highlighted-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;686E;E;E;S;41;segmented-control-bezel-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;687E;E;E;S;32;segmented-control-bezel-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;688E;E;E;S;25;slider-circular-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;689E;E;E;S;34;slider-circular-disabled-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;690E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;691E;D;K;6;CP$UIDd;3;692E;D;K;6;CP$UIDd;3;693E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;694E;D;K;6;CP$UIDd;3;695E;D;K;6;CP$UIDd;3;696E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;697E;D;K;6;CP$UIDd;3;698E;D;K;6;CP$UIDd;3;699E;E;E;S;24;slider-circular-knob.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;700E;E;E;S;33;slider-circular-disabled-knob.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;701E;E;E;S;17;knob-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;702E;E;E;S;20;knob-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;703E;E;E;S;8;knob.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;704E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;705E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;706E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;705E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;707E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;708E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;709E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;710E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;711E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;712E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;713E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;714E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;715E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;716E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;717E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;718E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;719E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;720E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;721E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;722E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;723E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;724E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;725E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;726E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;727E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;728E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;729E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;730E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;731E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;732E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;733E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;734E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;735E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;736E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;737E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;738E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;739E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;740E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;741E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;742E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;743E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;744E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;745E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;740E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;746E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;742E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;747E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;748E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;749E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;728E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;750E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;730E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;751E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;752E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;753E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;728E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;754E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;730E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;755E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;756E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;757E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;740E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;758E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;742E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;759E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;760E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;761E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;762E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;763E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;764E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;765E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;766E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;767E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;768E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;769E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;770E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;771E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;772E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;773E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;774E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;775E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;776E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;777E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;778E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;779E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;780E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;781E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;782E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;783E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;784E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;785E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;786E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;786E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;787E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;787E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;788E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;789E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;790E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;791E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;792E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;793E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;794E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;795E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;796E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;797E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;798E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;799E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;800E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;801E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;802E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;803E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;804E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;805E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;806E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;807E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;808E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;809E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;810E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;811E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;812E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;813E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;814E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;815E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;816E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;817E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;818E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;819E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;820E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;821E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;822E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;823E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;824E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;825E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;826E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;827E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;828E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;829E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;830E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;831E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;832E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;833E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;834E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;835E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;836E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;837E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;838E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;839E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;840E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;841E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;842E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;843E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;844E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;845E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;846E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;847E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;848E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;849E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;850E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;851E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;852E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;853E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;854E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;855E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;856E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;857E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;858E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;859E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;860E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;861E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;862E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;863E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;864E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;865E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;868E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;868E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;869E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;870E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;871E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;872E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;873E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;874E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;875E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;876E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;877E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;878E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;879E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;880E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;881E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;882E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;883E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;884E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;885E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;886E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;428E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;428E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;429E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;429E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;429E;E;S;19;buttonbar-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;887E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;888E;E;E;S;25;buttonbar-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;889E;E;E;S;41;default-button-bezel-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;890E;E;E;S;43;default-button-bezel-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;891E;E;E;S;42;default-button-bezel-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;892E;E;E;S;29;default-button-bezel-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;893E;E;E;S;31;default-button-bezel-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;894E;E;E;S;30;default-button-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;895E;E;E;S;38;default-button-bezel-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;896E;E;E;S;40;default-button-bezel-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;897E;E;E;S;39;default-button-bezel-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;898E;E;E;S;30;button-bezel-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;899E;E;E;S;32;button-bezel-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;900E;E;E;S;31;button-bezel-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;901E;E;E;S;33;button-bezel-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;902E;E;E;S;35;button-bezel-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;903E;E;E;S;34;button-bezel-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;904E;E;E;S;21;button-bezel-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;905E;E;E;S;23;button-bezel-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;906E;E;E;S;22;button-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;907E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;908E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;909E;E;E;S;31;popup-bezel-right-pullsdown.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;910E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;911E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;912E;E;E;S;40;popup-bezel-disabled-right-pullsdown.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;913E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;914E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;915E;E;E;S;30;popup-bezel-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;916E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;917E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;918E;E;E;S;21;popup-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;919E;E;E;S;33;scroller-horizontal-knob-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;920E;E;E;S;35;scroller-horizontal-knob-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;921E;E;E;S;34;scroller-horizontal-knob-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;922E;E;E;S;42;scroller-horizontal-knob-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;923E;E;E;S;44;scroller-horizontal-knob-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;924E;E;E;S;43;scroller-horizontal-knob-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;925E;E;E;S;39;scroller-vertical-knob-disabled-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;926E;E;E;S;42;scroller-vertical-knob-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;927E;E;E;S;42;scroller-vertical-knob-disabled-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;928E;E;E;S;30;scroller-vertical-knob-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;929E;E;E;S;33;scroller-vertical-knob-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;930E;E;E;S;33;scroller-vertical-knob-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;931E;E;E;S;23;{"width":1,"height":15}S;23;{"width":15,"height":1}S;32;textfield-bezel-rounded-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;932E;E;E;S;34;textfield-bezel-rounded-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;933E;E;E;S;33;textfield-bezel-rounded-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;934E;E;E;S;40;textfield-bezel-rounded-focused-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;935E;E;E;S;42;textfield-bezel-rounded-focused-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;936E;E;E;S;41;textfield-bezel-rounded-focused-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;937E;E;E;S;36;textfield-bezel-square-focused-0.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;938E;E;E;S;36;textfield-bezel-square-focused-1.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;939E;E;E;S;36;textfield-bezel-square-focused-2.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;940E;E;E;S;36;textfield-bezel-square-focused-3.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;941E;E;E;S;36;textfield-bezel-square-focused-4.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;942E;E;E;S;36;textfield-bezel-square-focused-5.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;943E;E;E;S;36;textfield-bezel-square-focused-6.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;944E;E;E;S;36;textfield-bezel-square-focused-7.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;945E;E;E;S;36;textfield-bezel-square-focused-8.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;946E;E;E;S;28;textfield-bezel-square-0.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;947E;E;E;S;28;textfield-bezel-square-1.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;948E;E;E;S;28;textfield-bezel-square-2.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;949E;E;E;S;28;textfield-bezel-square-3.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;950E;E;E;S;28;textfield-bezel-square-4.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;951E;E;E;S;28;textfield-bezel-square-5.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;952E;E;E;S;28;textfield-bezel-square-6.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;953E;E;E;S;28;textfield-bezel-square-7.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;954E;E;E;S;28;textfield-bezel-square-8.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;955E;E;E;S;33;radio-bezel-selected-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;956E;E;E;S;24;radio-bezel-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;957E;E;E;S;27;radio-bezel-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;958E;E;E;S;36;radio-bezel-selected-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;959E;E;E;S;24;radio-bezel-selected.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;960E;E;E;S;15;radio-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;961E;E;E;S;37;check-box-bezel-mixed-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;962E;E;E;S;25;check-box-bezel-mixed.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;963E;E;E;S;34;check-box-bezel-mixed-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;964E;E;E;S;37;check-box-bezel-selected-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;965E;E;E;S;28;check-box-bezel-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;966E;E;E;S;31;check-box-bezel-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;967E;E;E;S;40;check-box-bezel-selected-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;968E;E;E;S;28;check-box-bezel-selected.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;969E;E;E;S;19;check-box-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;970E;E;E;S;23;{"width":1,"height":24}S;23;{"width":4,"height":24}S;24;{"width":34,"height":34}S;22;vertical-track-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;971E;E;E;S;25;vertical-track-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;972E;E;E;S;25;vertical-track-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;973E;E;E;S;31;vertical-track-disabled-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;974E;E;E;S;34;vertical-track-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;975E;E;E;S;34;vertical-track-disabled-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;976E;E;E;S;25;horizontal-track-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;977E;E;E;S;27;horizontal-track-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;978E;E;E;S;26;horizontal-track-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;979E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;980E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;980E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;981E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;982E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;982E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;982E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;982E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;983E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;786E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;983E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;983E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;786E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;983E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;984E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;787E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;984E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;984E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;787E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;984E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;985E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;986E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;985E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;987E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;988E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;987E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;989E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;990E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;989E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;991E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;992E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;991E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;993E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;994E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;993E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;995E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;996E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;995E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;997E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;992E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;997E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;998E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;999E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;998E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1002E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1003E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1004E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1002E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1003E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1004E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1005E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;994E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1005E;E;S;23;{"width":1,"height":26}S;24;{"width":13,"height":26}S;24;{"width":27,"height":24}S;24;{"width":10,"height":15}S;24;{"width":15,"height":10}S;24;{"width":13,"height":22}S;23;{"width":1,"height":22}S;24;{"width":17,"height":30}S;23;{"width":1,"height":30}S;22;{"width":6,"height":7}S;22;{"width":1,"height":7}S;22;{"width":6,"height":1}S;22;{"width":1,"height":1}S;22;{"width":6,"height":5}S;22;{"width":1,"height":5}S;22;{"width":2,"height":3}S;22;{"width":1,"height":3}S;22;{"width":2,"height":1}S;22;{"width":2,"height":2}S;22;{"width":1,"height":2}S;24;{"width":17,"height":17}S;24;{"width":15,"height":16}S;22;{"width":5,"height":6}S;22;{"width":5,"height":1}S;22;{"width":5,"height":4}S;22;{"width":4,"height":5}E;K;9;$archiverS;15;CPKeyedArchiverK;8;$versionS;6;100000E;p;31;Resources/Aristo-HUD.keyedthemet;21645;280NPLIST;1.0;D;K;4;$topD;K;4;rootD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;7;CPThemeK;8;$classesA;S;7;CPThemeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;14;CPThemeNameKeyD;K;6;CP$UIDd;1;3E;K;20;CPThemeAttributesKeyD;K;6;CP$UIDd;1;5E;E;S;10;Aristo-HUDD;K;10;$classnameS;19;CPMutableDictionaryK;8;$classesA;S;19;CPMutableDictionaryS;12;CPDictionaryS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;buttonD;K;6;CP$UIDd;1;6E;K;8;scrollerD;K;6;CP$UIDd;1;7E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;max-sizeD;K;6;CP$UIDd;1;9E;K;8;min-sizeD;K;6;CP$UIDd;2;10E;K;13;image-scalingD;K;6;CP$UIDd;2;11E;K;14;image-positionD;K;6;CP$UIDd;2;12E;K;4;fontD;K;6;CP$UIDd;2;13E;K;10;text-colorD;K;6;CP$UIDd;2;14E;K;15;line-break-modeD;K;6;CP$UIDd;2;15E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;16E;K;9;alignmentD;K;6;CP$UIDd;2;17E;K;11;bezel-colorD;K;6;CP$UIDd;2;18E;K;13;content-insetD;K;6;CP$UIDd;2;19E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;19;minimum-knob-lengthD;K;6;CP$UIDd;2;20E;K;10;knob-insetD;K;6;CP$UIDd;2;21E;K;11;track-insetD;K;6;CP$UIDd;2;22E;K;19;increment-line-sizeD;K;6;CP$UIDd;2;23E;K;19;decrement-line-sizeD;K;6;CP$UIDd;2;24E;K;10;knob-colorD;K;6;CP$UIDd;2;25E;K;20;increment-line-colorD;K;6;CP$UIDd;2;26E;K;20;decrement-line-colorD;K;6;CP$UIDd;2;27E;K;15;knob-slot-colorD;K;6;CP$UIDd;2;28E;E;E;D;K;10;$classnameS;17;_CPThemeAttributeK;8;$classesA;S;17;_CPThemeAttributeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;29E;K;5;valueD;K;6;CP$UIDd;2;31E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;32E;K;5;valueD;K;6;CP$UIDd;2;33E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;34E;K;5;valueD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;36E;K;5;valueD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;37E;K;5;stateD;K;6;CP$UIDd;2;38E;K;5;valueD;K;6;CP$UIDd;2;40E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;41E;K;5;valueD;K;6;CP$UIDd;2;43E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;44E;K;5;valueD;K;6;CP$UIDd;2;45E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;46E;K;5;valueD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;47E;K;5;valueD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;48E;K;6;valuesD;K;6;CP$UIDd;2;49E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;50E;K;5;stateD;K;6;CP$UIDd;2;38E;K;5;valueD;K;6;CP$UIDd;2;51E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;52E;K;6;valuesD;K;6;CP$UIDd;2;53E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;54E;K;6;valuesD;K;6;CP$UIDd;2;55E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;56E;K;6;valuesD;K;6;CP$UIDd;2;57E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;58E;K;6;valuesD;K;6;CP$UIDd;2;59E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;60E;K;6;valuesD;K;6;CP$UIDd;2;61E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;62E;K;6;valuesD;K;6;CP$UIDd;2;63E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;64E;K;6;valuesD;K;6;CP$UIDd;2;65E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;66E;K;6;valuesD;K;6;CP$UIDd;2;67E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;68E;K;6;valuesD;K;6;CP$UIDd;2;69E;E;S;8;max-sizeD;K;10;$classnameS;21;_CPKeyedArchiverValueK;8;$classesA;S;21;_CPKeyedArchiverValueS;7;CPValueS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;2;70E;E;S;8;min-sizeD;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;2;71E;E;S;13;image-scalingd;1;2S;14;image-positionS;4;fontS;8;borderedD;K;10;$classnameS;6;CPFontK;8;$classesA;S;6;CPFontS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;39E;K;13;CPFontNameKeyD;K;6;CP$UIDd;2;72E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;2;73E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;2;74E;E;S;10;text-colorD;K;10;$classnameS;7;CPColorK;8;$classesA;S;7;CPColorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;2;76E;E;S;15;line-break-moded;1;4S;18;vertical-alignmentS;9;alignmentS;11;bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;20;highlighted+borderedD;K;6;CP$UIDd;2;77E;K;8;borderedD;K;6;CP$UIDd;2;78E;E;E;S;13;content-insetD;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;2;79E;E;S;19;minimum-knob-lengthD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;80E;K;8;verticalD;K;6;CP$UIDd;2;80E;E;E;S;10;knob-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;81E;K;8;verticalD;K;6;CP$UIDd;2;82E;E;E;S;11;track-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;83E;K;8;verticalD;K;6;CP$UIDd;2;84E;E;E;S;19;increment-line-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;85E;K;8;verticalD;K;6;CP$UIDd;2;86E;E;E;S;19;decrement-line-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;87E;K;8;verticalD;K;6;CP$UIDd;2;88E;E;E;S;10;knob-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;89E;K;8;verticalD;K;6;CP$UIDd;2;90E;E;E;S;20;increment-line-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;91E;K;11;highlightedD;K;6;CP$UIDd;2;92E;K;8;disabledD;K;6;CP$UIDd;2;93E;K;17;disabled+verticalD;K;6;CP$UIDd;2;94E;K;20;highlighted+verticalD;K;6;CP$UIDd;2;95E;K;8;verticalD;K;6;CP$UIDd;2;96E;E;E;S;20;decrement-line-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;97E;K;11;highlightedD;K;6;CP$UIDd;2;98E;K;8;disabledD;K;6;CP$UIDd;2;99E;K;17;disabled+verticalD;K;6;CP$UIDd;3;100E;K;20;highlighted+verticalD;K;6;CP$UIDd;3;101E;K;8;verticalD;K;6;CP$UIDd;3;102E;E;E;S;15;knob-slot-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;103E;K;8;disabledD;K;6;CP$UIDd;3;104E;K;17;disabled+verticalD;K;6;CP$UIDd;3;105E;K;8;verticalD;K;6;CP$UIDd;3;106E;E;E;S;24;{"width":-1,"height":20}S;23;{"width":0,"height":20}S;17;Arial, sans-serifd;2;11F;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;107E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;109E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;110E;E;S;39;{"top":2,"right":5,"bottom":4,"left":5}d;2;21D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;111E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;111E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;112E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;113E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;116E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;117E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;119E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;120E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;121E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;122E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;123E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;124E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;125E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;126E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;127E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;128E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;129E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;130E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;131E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;132E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;133E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;134E;E;d;1;1D;K;10;$classnameS;16;CPThreePartImageK;8;$classesA;S;16;CPThreePartImageS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;108E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;135E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;2;74E;E;D;K;6;$classD;K;6;CP$UIDd;3;108E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;136E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;2;74E;E;S;39;{"top":0,"right":0,"bottom":0,"left":0}S;41;{"top":0,"right":-7,"bottom":0,"left":-9}S;41;{"top":-9,"right":0,"bottom":-9,"left":0}S;24;{"width":24,"height":15}S;24;{"width":15,"height":24}D;K;6;$classD;K;6;CP$UIDd;3;108E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;137E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;2;74E;E;D;K;6;$classD;K;6;CP$UIDd;3;108E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;138E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;139E;E;D;K;10;$classnameS;20;_CPCibCustomResourceK;8;$classesA;S;20;_CPCibCustomResourceS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;141E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;142E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;143E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;144E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;145E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;146E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;147E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;148E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;149E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;150E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;151E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;152E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;153E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;154E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;155E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;156E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;157E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;158E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;159E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;160E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;161E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;162E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;163E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;164E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;165E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;166E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;167E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;168E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;169E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;170E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;171E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;172E;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;173E;D;K;6;CP$UIDd;3;174E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;176E;D;K;6;CP$UIDd;3;177E;D;K;6;CP$UIDd;3;178E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;179E;D;K;6;CP$UIDd;3;180E;D;K;6;CP$UIDd;3;181E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;182E;D;K;6;CP$UIDd;3;183E;D;K;6;CP$UIDd;3;184E;E;E;T;S;7;CPImageS;28;HUD/scroller-right-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;185E;E;E;S;40;HUD/scroller-right-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;186E;E;E;S;37;HUD/scroller-right-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;187E;E;E;S;36;HUD/scroller-down-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;188E;E;E;S;39;HUD/scroller-down-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;189E;E;E;S;27;HUD/scroller-down-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;190E;E;E;S;27;HUD/scroller-left-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;191E;E;E;S;39;HUD/scroller-left-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;192E;E;E;S;36;HUD/scroller-left-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;193E;E;E;S;34;HUD/scroller-up-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;194E;E;E;S;37;HUD/scroller-up-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;195E;E;E;S;25;HUD/scroller-up-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;196E;E;E;S;33;HUD/scroller-horizontal-track.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;197E;E;E;S;42;HUD/scroller-horizontal-track-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;198E;E;E;S;40;HUD/scroller-vertical-track-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;199E;E;E;S;31;HUD/scroller-vertical-track.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;200E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;201E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;202E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;203E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;204E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;205E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;206E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;207E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;208E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;209E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;210E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;211E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;212E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;213E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;214E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;215E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;216E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;217E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;218E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;219E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;220E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;221E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;222E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;223E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;224E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;225E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;225E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;226E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;226E;E;S;37;HUD/button-bezel-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;227E;E;E;S;39;HUD/button-bezel-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;228E;E;E;S;38;HUD/button-bezel-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;229E;E;E;S;25;HUD/button-bezel-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;230E;E;E;S;27;HUD/button-bezel-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;231E;E;E;S;26;HUD/button-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;232E;E;E;S;37;HUD/scroller-horizontal-knob-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;233E;E;E;S;39;HUD/scroller-horizontal-knob-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;234E;E;E;S;38;HUD/scroller-horizontal-knob-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;235E;E;E;S;34;HUD/scroller-vertical-knob-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;236E;E;E;S;37;HUD/scroller-vertical-knob-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;237E;E;E;S;37;HUD/scroller-vertical-knob-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;238E;E;E;S;23;{"width":1,"height":15}S;23;{"width":15,"height":1}D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;240E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;240E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;241E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;225E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;241E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;242E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;226E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;242E;E;S;24;{"width":13,"height":20}S;23;{"width":1,"height":20}S;24;{"width":10,"height":15}S;24;{"width":15,"height":10}E;K;9;$archiverS;15;CPKeyedArchiverK;8;$versionS;6;100000E;e; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLData.txt b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLData.txt new file mode 100644 index 0000000..ffa5dda --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLData.txt @@ -0,0 +1,819 @@ +/* +Content-Type: multipart/related; boundary="_ANY_STRING_WILL_DO_AS_A_SEPARATOR" + +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1JREFUCFtj2rt3L5OVlRXTt2/fmP79+8f0//9/MI2M//79i5WNjY9sxoULFwBPdEPtOkpElQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-disabled-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADZJREFUeNpi2Lt370yG79+/z2T69u0bA9O/f/8YmP7//w9loRF///7Fw8UphmbohQsXGAACDAAFaUdSlQta6wAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-disabled-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH9JREFUeNpi3Lt3LwsDA4M3EFsBsQDL////faWkpDykpaUZ2NjYGJiAAtbi4uIMf//+Zfj27RsDy79//3iBmAEGQFoYQBguAJJFUUGmAMhK2muhiRnIAqAg/Pz7928GWEAxAWWPPn/+nOHXr19glaAg3Pz69WsWIDYD6uADCDAAuvWepGgKK5MAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-disabled-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHtJREFUeNpi3Lt370wGBoYPQHwMiLeyWFlZMfz69Uvg6dOnXs+ePWNi+vbtG8Pfv38ZxMXFGf7//2/N8u/fPwYYALJ5WYCicAEQG10FWQIgK2mvhSZmYAjAAujPnz+gAPoMVgHivHz5EqTiOMuFCxdACj4B8Skg3ggQYACEzZ6gbOTDXgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-highlighted-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACpJREFUCFtjKi0tZbK0tGRiZGQEYxCA0TCAzmdmZsYpB+NLSEgw7d69GwDfyAUd/UzAZgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-highlighted-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAINJREFUGFeVjbENwkAQBOf2z+fQEdLJuDIiS9RgiQhEIVT34TdBRPACAd5wtLNr27YFcAVW4Ohmds/MyzzPRAQu6bwsC8MwAOBmdogIXnFJSOqBmf1odKCUsnfjo/IGSil7le72P+XrhiS1cRxxdyQhM3u01pimiczEJd1qrVFrPQH5BFHNEV7zubdvAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-highlighted-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIhJREFUGFeVjbENg1AUA89+X1BSRUIKizBPZqAiVSahyhLME/SlvwFNUoUmCAWX1p2tYRjewAuYgEfq+551Xa/Lsow557Ak6rqm6zps35IkAKqqQtIl2eYb22zEVvwQh0VEnN2IiB0iIs4qh7f7yn8btokIbBe3bUvTNJRSkDSleZ4BMvC0ff8ANOUZTP6A0qkAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHZJREFUGFe1kDEKgDAMRf8QcoNSaW/mJHgJJ8WDeJSep0P3LqWtyaCgo2DgLT8vCYRCCAxgFSbBU+99d84t3nswMzSYrbWotSLnDGqtGQFXqQHlDrT7MD4GevL/kV92vB+USimGiG7jiDEu+lcN1dhSSiyMIgwn4zCUe/hU7cUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/button-bezel-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHlJREFUGFdj2bt3738GBoanQLwAiJtYrKysGH79+iX99OnT6mfPnjGzfPv2jYGRkZFBXFycASiYzPLv3z8GGACyRVn+//8PFwCx0VWQJfD37186aKGJGRgCsAD68+cPKIBeg1WAOC9fvgSpWMBy4cIFkIIXQLwMiGsAfrObQPFrrDEAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/buttonbar-bezel-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA0AAAAaCAIAAADjWkEIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPZJREFUOI2NkD8PgjAQxfv9Z4XFsoOfAVacIZFZFhkgwQltFT3759orTTR5Ia/X3727wsq6qU5tVbfalLVWo7+q3kKdDTcZaqZmFmBYP70u09Np9L5WgDIsuYYN+s0jd+hH26kMTGcEGkOU5Jk+upPfpvJiGT1FKRcL65VR7/XuEp4/5BvWSHgBxu0X5GkOKklGuSAvzY6G0w1hno3EmJRH8zacm4vv7a4SteP5XazGyBXrG+5guD3PFxHhBHKL5SJ5Z+Q4cgXhZjq3G1yPlj6G+5HrQYZzfyrKiQgH/zlY5f+8GAfvxRht7FH4FZJniMF4fw3I+wCDrpPQe+DtiAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/buttonbar-bezel.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAaCAIAAAD5ZqGGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABxJREFUCFtj2Hv8MsOLj78ZHr79QxK+/vw3KRgAe89HUPF0VZwAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL1JREFUeNrEkrsKwkAQRWfDsF0kVYrd/7AwPyCKHytiuaUK/kZIQjrRKq+Ndwpb8wJdOGwzZ+7Msqrve5p72DnHuPdgA6IRzgNcwZmRfDDGbK21pLUeNOu6jrIs2+V5HnDXdUkcx9S2LTVNMygrpUjq0zRN2HsfosHkfcWTZJoji7Ncln1/L4s4Z2zx/jj20td+VVUVMvOkfcUL8FMuRVEQGtBnim9IndTDu0nyqSxLBms0XY0IfoI7OL4FGACS4bkP/RnUSQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMNJREFUeNrEkkEKgzAQRdMkZO9CDHizrgpeotDS0t6j4Kq38DiVSHUZRImxfwrtsmpcNPAYGOblEzKbcRxZ6JFFUSjUE9iBdIbzADm4SiRfkiTZa62ZUmrS7Ps+NcYcqqoSchiGLIoi1rYts9ZOypxzRvNlWWbSex93XTf7nQh7V/Io+dtYcsj5s+ycC5NJDEkmb13yahl/Fiw/sXKxEGKRSB5H6q2ua9rZT/MnNEfz8HJKPjdNo8AWl+oZwQbcwfElwADuQbxR1tcjhAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel-mixed-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUpJREFUeNqckj1Lw1AUhk/Sq7WU2LpYKRQHPyq4OEiHdhdRHF39Qf4aRZyEDoIVhYLgorgoNv0wFNRU0/Tek3hOanQItE0vPFwI75M3595ovu/DtEscn9QE7ftEmchO4LwTNeJceJ53sFZY2i0u5yGVnB1rOu4g+/jS3Ht6besCESuLuRy0HAD15Y7/VF0Dzj88mxWWjQ+X51YTzYkEV7AnFCpg4i52BCoFUsWX2RNKIUiJwYP65UXeapkZTYuG+UoLK8Xu5nb5LWgmj+T/5vv6zUbX6qzqCRFtkgPo2fbd+lbpVw6aJckyCKQzCzBjEHOpiOx+9yCZNv6y7A2b5bB55/CoSlt11KxhVoUzM7FPm2dGnPK0MWhWtuv2jYQQsa6JPZ3+lKu22YC+04dwhFFwjvPkXQv08MzqNAVRopfOT1D8SdwSpz8CDAB8Kd6AIP4Z1gAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel-mixed-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUVJREFUeNqcks9Kw0AQxifJJiaiVMFotBWLXjx59OSTeBJ8CUFR9Og7CD159im8exFUBBWqpkFaa5Q2+yfObKM95JCkAx9Zlu+Xb2d2jTRNYdJi51fXDn6PUXuoegmmjWqhzphS6nRtce6guTQPrs0KyQEX9aewe/jc6VlMSrnvTTlw/9YFLmQhbDMLap4DxBHsh724dJ/oh8Ewoa/PhBR6o2oRx6QQelG1iGMC++Rc6Y2Xxzv4/IjAMIycma7UX25AsNocJSOH8Dj54fYGwtc2mFZ+6pInsLEZw8JKI4N1MtcLKm+mBsH6LNiul4OHPzE47vS/l7hRcnZFW9s7xYPKvOKvZzHJtKlnKcfJlaYtdbKIuEh80zRLg/ik6diRiQ/kot+PIUnoBKpQ5CM/ci0mlTyJv78c1C7+NCgR/I66RB39CjAAFHjbsmAj4HkAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel-mixed.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUZJREFUeNqckrFKw1AUhk+Sa2wFcaoNLVUpFTs5uugDODo7CX0JQVF09B2ETs4+hAhuOggWO1Q0bUpxENQkvfcknpMYHSom6b38BA7/l//+N9HCMIRplzi7vDbpeUTaI1UzMDapTToVQRCcrNas/bXlChRnzVTS9cfVzlP/4PHZMQQithbLZRi4AOrDTz+qrgH7H3p2i+HSm8+9VaaeSOII5oRCBay8ixmBSoFU+WHmhFIIUmI06N7fwutwANof5pB2ZakOtUYzTiaO4N/ku5sr6HU7oBtiMkmOYX1jE6yVxjccJUuCZTQozC+AVW/CTKE4Afuf7zSf+/EyFyfLOHlreye1a+JVSWdW7tvmzohT3jZGyWrk+17JECLXZ2JOpz/l3LFfwHM9SCr8J/axn7i2wACPR8O+Sdqll1oZgh3SBenwS4ABALu11aydNvk+AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel-selected-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAiFJREFUeNqUU1trE0EYPU0n5tLdtcYmaVPabCNaQdOElJbSkL5Ia7F4Af+RbyooBEHQCl4exBfxgljwRSSxoC8WqmJTqmJra6u0SchlszO7zuya1kIa9IPzsN98Z853hrMtpmnif8oX7ve1tJLzJqO3yaVHrwnvTXGMcrQ3IzJGoR5P0M2tLVIrFZ3EMIzTh3s6J/vDIXhc+5qqptNpVEHI/u4I/EqbRBhjyUAwiNUKQEvansS3mZd4/moWSpeKvt5uxAbiAQcny3nNhFajYJQ1xMqXz3hw7w4kfwiSLOPsmXPgG8uEch8Ce1WtpuHWtSsgykEQdxumTk5AUhSL42CUQv+DG5cvoJDPb38L3J++joJuwiW3YzAWhRqJWH3Bc1C+lq4zrK+u4f38PKavXoSm6VYv82IGHz4twHvAj4C/A6PJlNUXEDxOthV+/VyH3BnGRr6Ih3dv4utSDjPPnkDq6ILL7cHE+DgMnon6RoJHKOUqHCE1ghOTp5DJZvFxIYfc4iI8viD36cVYKgmvJFlz9RI8Yinr9oMdPRZFuVLFu7k5gAfP4XTiyKE+9PSq2zM7ZEvZ3r9eA/EEyuUKlr4tQ/G6MTg0sut8h8xAROSEh78rMTSMSrmEaCxu+TQobRhVsXZR06pyKyG7DkdSY7ZCgwww+8GKImHZtZVlVLnXuoVmEHNinvNmCTPY040f3wnHML9U+Ye/ssDxhuPxbwEGAExxWB6CMBpMAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel-selected-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAhNJREFUeNqUk01rE1EUht9O70ySaRMT7CQTU2tiYiwxftdU0F/iRsW1exeidNOF/gFRChVEwYJBUIKgWwMiFqwgilgCtUmIbdIkte3MvRPPnWpDqY164YW555znfHDP9N1+WsT/nMmrF0f6+tmtjuCXmeM4GtlukC6RYr1AITji2VNWvdHQrNWWV8ITB8LBa/FICF6V9ax6994U1sG0PbGDMAIDBhNCXPF5NHwu12FzsSv4YfYtXr2ZRSAax7BpYGwsd0jCRrXR7lnxe7WMF4UCBsMx6LqO82fH8cMSBuM0ByXYFbRtC/nHj6AFDTDvAM6dPuEmaK7VoQjOIRNIzUzfQbvd2rpLFfIzWIMKjz+I0cR+RPeZrl1yCqc5bdvBUm0JX+dLePLgPqwN7treFV9j/lsFeshAKODH0cwR1y4lOYI3KzQay/CbI1gh8OXzPMoLJRQJHhyKQtM8yJ08BgedblfEMc5t9yMcjeFMbhzvP35CabGKhcVn8O01aU4dxzNpeH0+N+73kRxzK/96ong8gXXLxpd+eu8OoKgqhiNDiIQjWzFd2K0sqI2uI5VMugkqyyvQVQWj6fQ2fxcWYELwHVkPp1LYmJtDMpGA43RI4o+rKtuu2dwyFEXZ5sxmM5tBDt8B0krLtmsKLchUs9mGZckOnL9Kxsl44qaZcMTN9mpLI12gpOY//JUV0kPS9Z8CDACMI0E9p2np0QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel-selected.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgtJREFUKFOV0V9Ik1EYBvBzNeiyLrsYddGoJYmmIkl0oYktikzFnLN0xpJBXxYtmqE2dY7JliuGRovQTc3J1FolbWGpodUMYQ2K/tk/MRwEFXkRXTyd98A+GOKyix8f3/s+z+HAYQDY/1ivVCk3bFYP8u86Zh+dVnBt3AKHVNoDk8jQHPm9aVcRNqbn3WK24ce2QOQtYkvLePf9T0pSixPbNDqklxlRUGuaZm1DE/GpTz8R/riMsflfq7J472JLQSl2Vp1F6YVOtPofxZnl5jjuvPmRkudhDOq9ZciokLDHaIHv2QdQjzX2hTD66tuq/NFF5B6uwY6SOmTXmNFx+4mYU4819NzDUGxJ2Kc/hd6n8/I/OXSyEeoD1ciuPo8614A8px47dz2I/rlFuMNRKHPysbv8BHzPF8RMutQLVWE5so6asN/kgHf2i5gT6rEzV0fQE/kMy8ADbD+ox9YiLYqlZvEsqvwSZGrrkWdowmV+OOUSqMcktx+emfeC1BVAZuVpcUCaplI8SY6+AWZfSM7IWd5jRlc/uiZfy447+8Q1s6pMoqizepL2CdRjBocXV8ZfJtG2epBraEZhvQ2d4diKPaEeq7XfgDP0IonjfhTFZheaBidW7BKox45Zr8XbgxHYx+bWjPLUY7qWbpvUPQLL8Ayswdl/ohzlea+DVVx0Kzgn95XDGlCO8oq/2QGjSdgwyFQAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/check-box-bezel.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAK9JREFUKJHFkjEKwyAUhuUNuUED0ms4eZ0eo4VS6NwbFHoRz+CQKwRSyewQiJr3l3Rr0dShw4cSvk/lEUopiV8hY0zDXJmeSQX0q98Qn3CRUh6VUnuttcgBDz46CiEc2rYV8zwL730WePDRUYxxx5vXR6w53h46Kgm+UR/jKVupj0sH9Wlwf3x27bTHaZo2Ras/4g+7D8MgSg+AB5+7B24+O+duXdc9rbUiBzz43J0WHcymW5LxdgkAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADVJREFUCFtj6tpwjCnYwZTpzodfTP/+/Qfif0x/gRhM/wWx/0JoOBvGB9JoapD1gsy6eu4kADbzQ5rojOveAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-disabled-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEBJREFUeNpi6NpwbCbD3Q+/ZzLd+fCLgenfv/8g4h8D018QAWH9BXP/wlhIXITYX6gONMVoRoGNv3ruJANAgAEAzhtGyJPGg6AAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-disabled-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUeNpi7NpwjIWBgcEbiK2AWIDl379/vqqyEh7qcpIMnOxsDCz///+3FpcQZ3j5k5Hhz/dfDCAVvJ9/MwJV/2MAAZAAAwjDAFjgL7oAmoq/DH//IgmAOH+BggRU/EU3A1nL378gLX/R3IFqBpoKiLX4HAbxC4Yt+D2HaigTUODz71+/GGAqQQJHXz57yvDrJ0jwPziQN7999ZwFiM2AOvgAAgwA2zedN71ws+cAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-disabled-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKdJREFUeNqUkD0KAjEQRr9IWuv1Lt7QG+wttBA8wYoWdhaiNlqsCxbLWsgmmYkZ/4hxQQx8EF7ezCRRo3GRA6hDipCp2tc2v7YGm0OJ7fE06+1qg6pVyAYZvPdDzexhJFBg5n4AjNeSvaYUfBsUA5ISegM57DAi8DCikqcR96C0B3cZzL/Gfkzh9B6EP55Pzgm43L/QWYtzVQqY6/VqIUITsgyZ3AQYACwxo+jE5WFHAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-highlighted-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUCFtjCquZyKRtbM7ExMjEBCWYmMEkkGYGsZmhNIgPZYNomDiSGmS9qkJsTGv2nQIA4IwFK30tWVsAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-highlighted-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJhJREFUGJVjDKuZyMbAwFAHxAlALM3CxMTUKCQqXiEsLsHAwsrGwMLIyJgsJinDwMzCwgACIBWirGysDDAAEmAAYRQBZnQBFBXMzMwMzMwYWpiRBdBUgDjMmGYwo5nBjF8FM6otYENR3YHVWnwOI+h9IJ/pNS8w9FhZmBmgqpnmvnr1kkGKi4FBVQgSyPV3nrxkA+IooA4JAD9CEUzrpwlHAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-highlighted-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUGNONjzsOgWEURM+d+fwRpYTEo1UpFXZiA5ZBZQd2oFJZgwXYh8RPWIBHqET8nrecnMyZG4Px9AqsgRkwSd1en/Pp2Nrnm9Fhl1sKkWVl6o02ETFMUgCgrISkWpLE/SSRXAxeCT8C2yTLnwnJz6W2SLYLHX6x+JvFxR3vtf5B/Pe+FZS5IGmnTjWjWYHtNkfSLC2WK4ANMI+I8Q10tBpanttAIQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKNJREFUGFdj6dpwjI2BgaEOiBOAWJrl379/jaqyEhXqcpIMnOxsDCz///9PFpcQZ3j5k5Hhz/dfDCAVop9/MwJV/2MAAZAAAwjDAFjgL7oAmoq/DH//IgmAOH+BggRU/EU3A1nL378gLShm/EM3A00FxFp8DoP4BcMW/J7D9P7r379+iTKzsMAF5r589rRCRFySgYWVFRzI9W9fPWcD4iigAgkAAWSTEqdsRP0AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/default-button-bezel-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKBJREFUGNOVjzsKwlAQRc+TtwWJ+3MbVlbiKlJZuwrBxs5C1EaRJGiRTvKZ+yz88IyCOOXhzL0zbjpfBOAEpMDY7csmXKuazSFje8wnvV1ZU1SOZJAQQhh6KVArUOOQ1PeSeI4kvHXBp2ExMLzJXsDsqxGBuxGtPIw4w7oZ+mZIv2rfWtS9w/jjfWtbJJ29FGibhkuRISn169USIAdmwOgGxHqjvh+HJ8QAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/horizontal-track-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAIAAAAL5hHIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUCB1j7u/vZ87JyWEuKioC44SEBABISgbNtp1KFwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/horizontal-track-disabled-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAYAAACEhIafAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACRJREFUeNpi7O/vn8mkoqLCwCQhIcHAxMPDw8D05csXBoAAAwBIogYEjN3jQgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/horizontal-track-disabled-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAYAAABirU3bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUeNpirKysFODm5o5iY2PTZWFhYWIRFhZOAGJNXl5eBqAgA4uQkJCSuLg4Az8/PwMrKysDEzs7+z0uLi4GHh4eMGb6+fPnom/fvl398uULAwgDBBgAx68Ss6bQhHIAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/horizontal-track-disabled-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAYAAABirU3bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUeNpi7Ovrm/n3799/P3/+vPz169dlLCoqKgy/fv1i+vz5s/7bt285WSQkJBh+//7NwMXFxQAESiw8PDxggT9//jCws7PfY/ny5QtY4Nu3b1eB5iwBCDAA1UAuSStF1W0AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/horizontal-track-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAYAAABirU3bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFRJREFUCB1jrKyslObm5p7GxsbmzcLCwszY09OzS1hY2JWXl5cBKMjAOG/evM8SEhI8/Pz8DKysrAyMS5cu3SUtLe0qKCgIEQCqkAOqmAlU4QFSAQDMoQ//dMukywAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/horizontal-track-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAYAAABirU3bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFVJREFUCB1FyjEKwCAMQNHktIUexsMECl27egBvENBB0ASHRIotXfrHx8cQwrrfzOwYY+xIRMvdQVWh1nphjHHNOaH3DqUUx5TSB601YOb/EJEz57w9xYtAc8FdpUUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/button-bezel-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAUCAYAAABMDlehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC9JREFUCFtj+A8EDEAQyLRnzx5+BiDPjgnI/Q0n/qCysBF/ESyQAQwgFsRQZhAJAPlBGgf55kT3AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/button-bezel-highlighted-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAUCAYAAABMDlehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUCFtj+A8EDEAQyPTq1atQJlFR0ZdMQO5PEPEdRPxAZYG53+BiX+GKwWI/GEDGgVgQQ5lBJACJphiPRPGToQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/button-bezel-highlighted-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA0AAAAUCAYAAABWMrcvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe5JREFUOE+Fk8tLAlEUhzNXEkG7aFEYURNBRVFEq9r1ohcUWUFtIoqoaFOIi1xNJWEDIYUQiKKLVi3yHwgxyEyUzBBUCEF8oIhvTe13pRELaw58zJ3hfNxzzr1TU1M9+IFAYDoej6uz2aytWCx+gnL8Vnh2u707nU4/RqPRR8S5TCbbFQgEc0gkzH9T9vgul2s8lUq9qtXqfYZhtk0mk8ztdl9jV10lrMEzGAz9EOw0Ta87HA4mFArdoLyrTCZzWSgUGNR2wcJKdUh40mg0e06nk04kEhf5fP4MSafVIBLfbDYvhcPhF7lcvhCLxU4gSJF8/BdEqvP5fLdomrFarRu5XE6M5KP/IFIjevFKpdJF9LGL5D0uiNSKRnMURQ1A3oKwyQWROlBSQiQSDeEgVyCscUGkdjT/oVQqZzHeSQgLXBBJiEO9t9lstNfrHYQwxUVpEFqt9iASiTwrFIo2CKNclEYO+iBZjUbjUjKZ7IE0/B+lwwXNYrF4FcK7Xq+n0Fs7pN6/KF8jLLpUKtUOubAej2fMYrHUQ2oCQkBVUr6wWDSAbolEsoxpWrDrQzAYPPD7/cP4XssmQmaXpScpk4hdYFSn0x1imneQ35D4I35YeOF9D6aFDAeMgAkwA9gfkDyrBtmVTLURCAEFOlm+AKxfXA+wZVY4AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/button-bezel-highlighted-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA0AAAAUCAYAAABWMrcvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdhJREFUOMuFk71LQlEYxq81RuAWDYUFaYQZhYtTbhV9QGBIFLVE1FDhUoaDLVlJcBWHcmhRcGhqyH8g1AshhpmSg7iI+IEKfmtqPde8cpXsHvhxL+e8zznP+573EN9do1qtvufzeUsikVglCKKf6DHWWazp9fojiqJus9ksVS6XKb/fP415XocCO9rYhMPhe7fbrTcajYcWi+UEwo9QKLTYcSockQz1et0AeybYu0ulUg+BQMCg0+l2S6WS3+FwzLVPRPD1X2CDm0KhQAaDQZ3Vaj3G/yvCBxiRthcQXuRyuSuSJBXpdNoD28qmTSye/UetVjv3er17LpfLEI1GH5unYeGYC+R3pNVqN5BbBKIhWrTPBYIPhEKhtNFofEE0Rot2uEBu22KxeAZfWiSkRQoukNeKyWRaRAWjjGiZi1gsJvX5fJe45GfGnpwLs9k8nslk3DabTcUUQvYfxWJR4nQ6lbgnLwSzTMlnelGpVCbsdrsIuXyq1eotCEaYyxV1IQDDHo9nEM27gHJ/0G2E4Cl2G7XB6IvH47JkMqmCrRe00JtGo9nEvATw2Q3bMWAlEIlEnpD0KZblrRP43Q+y4xGCJTDfSnq0ZYnX/XInWYiAoFnW3+A/n/sPAZJhlR4WEkUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/button-bezel-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA0AAAAUCAYAAABWMrcvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfpJREFUOI1jYMAOmF+9euX75cuXRb9+/br0////P/+RALpixqtXr+r++PHj+MePH48fO3asp7OzM5eLiysAKAfCgVCMMP3u3bse379/v7Jo0aJ8Ly8v//b29oglS5bE7NmzJ3Hv3r0JMAy34ejRo0ZADVdTUlKCZs6cGXnkyJGwmzdv+rx9+9bl58+fDkBX2cEwTBM30P2nFi9enDd//ny/27dvuwKdaA1UYIkNg5115syZ8Hfv3p3z9va2u3HjhsPv379NgZImuDDYlufPn68CenrClClTLIFONAJKGODDIE3iQIVP6uvrQ4EaQSZpE8IgTYp///79ra6ubvLkyRNdoKA6IQzSpAb0w9eIiAhzoL9UgILKhDBIk+rnz58fAYPZH5gKZIGC8oQwSJMCMFK3XLp0qW3fvn3iQEFpQhgcEEuXLi388OHDmcDAQAmgoDghDA5yIDYE+uciMFWEA20VAkqI4MPgyAVi2YqKiuivX7/eWL58udL79+95gZICuDA8GQGx1sKFC7NBCfb+/fvukyZNYgMq4ABibiDmRcbwBAvEIBN0q6qqIoGhef7bt2+HXr9+XQgMUVBaYwJlIxhGyRpQjVpA7LBs2bIyYGRvAGq+9h8NYGRCqFPlQIEDxPZA7AnEfkgZMBBdE7KtIM2g4FUAYlDS0YBhAPgZOXbQnB9/AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/button-bezel-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA0AAAAUCAYAAABWMrcvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAd5JREFUOMtj+I8Gfv78eenLly+LXr9+7cvAwMDMgAMEImG/rq6u3OPHj/d8/Pjx+Pfv349fu3ZNFyjOiKJjz549CXv37gVjIDtxyZIlMe3t7RHe3t7+ixYtyv/x48eVu3fveqDYCnSRHQwDFTi8e/fO5ebNmz5Hjx4NmzlzZmRKSkrQt2/frgL5RnAbgYotsWGgAdZ37txxnT9/vt/ixYvzgP48BVTODdNkggv//v3b9MaNGw5eXl52QBecO3PmTDjYmUBJA3wYGBhGU6ZMsQQGzoRnz56tAtsGlNAmhIEaTBoaGkKBBjwBahIHaVInhB8/fqyrrq5u8u/fv99ATYogTcqEMDAQVHR0dPT//v0L0qQG0iRPCAMjWnbSpEkewKB/BtMkTQjv27dP/PLly63ASN4Cc544IRwSEiL+/v37M8uWLSuEBYQIPgw0XQiYGsKB8XQRqMEQFuQCuDDQdN7ly5crff369UZlZWU0UIMsLHJ50TA3EHNMnjyZ7f79++7AuLkCSkZAxVrwZIQGmF6+fGkJzEuFwJA69Pnz5/NVVVWRQHE9IBZATrAoAOiUa0+fPt0A9HQZUNoBaoMAeoZEyYRA7AnE9lBPy0GdxIjuJA0krA7ECuBghSjGmt0BszYwI1fiH1QAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-down-arrow-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAa5JREFUeNrcUstqwlAQneTG2DyaaCKUrmxtRDdC6T/5JX6BK7eu3Ll36Qf4C0LWIlQkouZlz4RckRZai6t24HCTO3NmzswdhYh6juN4qqqmQKJpWgzwmQKZECLHfY44yrJMTdNUABpQ0fjydDopjMtvRp7nirTyX2UgiUBotSDDBJw5oEpwEHMAkon5jquCrOm6fq+VlwLSsk/Egsx+PlkFV2S5gG5Z1mNBtm1bj6KIykpMOJWKimplOyxXS5KkijmYwEvhaLfbAX50OHXOKk8OlDgej3dxHBtIYtVqtR5oKjf+0Gq13hqNhgNntNvtlFK+QFXur1ImrBqG4fi+34M6F36SAyNUtpvN5mu9Xg9Xq9X7druNWS23YZpmxXVdH0N6RkJupeCcydLQ/xOCnzgA1ejylCRpKt1gf5T8ZWB4U8KkeSnOQ2JgiD+Tu90u9ft9frrz3eFwoMFgQHjC72Uvl0sKw5C3jjqdDgVBQIvFgtbr9XU9TyaTQrbnebTf72k6nV4/sM1mQ6PRiLDPNBwOC9lXDUzabDYj7DHN5/PfPxVPeDwe/8cNu4n8IcAA4WwjSMEpNj8AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-down-arrow-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcZJREFUeNrcUr1qwlAUPkluYjQlUIsVO0iHBMG1L1A6lK7t5tZnEB/CydXF1QdwanHq4EvoUHATHQQxNTZ//c5tIkKhtTi1Bz7uveee7/x89ypE1LBt21FV1QfehBAewKsPvGuaFsAfIY6iKBJhGBqACeQFO5MkURnYKtmeEcexqigKA8dEwVkDBJIYgC3JMAOXIaBl4CCQ4pTIiQk+HRVzIJrAhUidObQWIEgHBAeBFDGZ73nlLrgiyBZwAveVJJumafm+n6SVeD4mJWli8TlZwu3mgyCw4TuDHreSXKlU7qbT6TMuOYggkpp2kEuTKVwV5wJwahhGg0eTZARfVqvV+8Vi8bRer7l1HsMHMeTiqQ4G4s7R5QP2ZS6SCUYILpdKpUfLsl5Wq9XrZrPx+HVYMF3XC6jmgnyDyjyD5OzImSHzNQKvOQit0v7K2DeVjrA/Sv4iGIvjeZ5UNBOJARF/JtfrdWo2m/z2Ox9+H7VaLZrNZt+3PR6PaTKZkOu6VKvVyHEcGo1GNJ/PD5u51+vJVovFohyh3+8fLthyuaROp0Pb7Zba7Tbhtx0mWGaDwYDwXWk4HP7+qbjtbrf7H3/YUeQPAQYATq8uCgYHvXQAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-down-arrow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAc1JREFUeNrcUrtOAkEUvbs7LI9dlleUxAYLCDRU/gCxMLbaGRsbvoQvoKKloqOWcj+AX8AQSgIJISDLPj133SVGE8VQ6SQnM3PnnnvPnBmJiB4Mw6jKsmwBr0KILcCzBdiKojiIe8gjz/OE67oqkALSgoNBEMgMLKV4zfB9X5YkiYFtIGGvAAJFVOQaIRlDxaELKDE4CSQ/InJhQiyBjkmQU6qqXogomIQ0B0kJQHASSB6T+ZxnVsEdQdYAXdO0q5Cs67q22WyCqBPfj0lBVFi83yxguWnHcQz4UAJuQjm1Wu0WGx2HOqpmo1nnRCAL5Pb7fcG27SKKnOXz+UfQlLAzXL1sNpt3s9nseblcsnS+hgUVLjePfFAzmcx5Lpe7R6wMRRQbRuhcrlQqT4VCwZzP5y/r9XrLr8OGgZQBqQaTrpnECJvSp4H7t5Db4gTIp49zTIqHTCeMP0r+YhjelOA0/4qDSQyY+DO50WhQu93mpzvELMuiTqdDeMLvZU8mE5pOp/zrqF6vU7VapfF4TIvF4rg7DwaDUHaxWKTdbkfD4fB4w1arFfV6PcJ/pm63G8o+yrB4jEYjKpVKZJrm75+KHe73+//xh51EfhNgACA6JNNWltjcAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-horizontal-knob-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAYAAAAlH6X5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC9JREFUeNpiYGBg4GD09/f/z/T+/XsGpn///kGJv3//IrPQuAh1YOLXr18MAAEGAHdlKH321oJgAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-horizontal-knob-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARFJREFUeNqEkj1ug0AQhfcvFhC0yLJA2FKKKAUlHUVKUDq3LtK78BmS2r0Ln8c+gC+RLj0U/C+ZsUDCgOORnnal/fTm7c7SpmkIpZQMirbiINbuiSDjwkMeBMHKtu1vzvkazJZXh4Ezgk9RFG00TTsURbEAEWSG8BUMw3ALbseyLElVVbfZWhhp4fu+5zjOJU1TTSk1yid6F5qZprlDEF2nSvSzQpcPBLuM/8LQ+nWY8x7MAVR1XT+EsZo8z39g9e7BrF3x6irLsjO+ArpPqXs67GBKKd9c1z0xxuQj5yKO498kSb667Nilr5uhgAzQHAazNgxjjx3wqPsOo3GDnkFS1/UXy7I+hRDv+JFAzp8AAwCqDI1JAuEnqwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-horizontal-knob-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAASVJREFUeNqMkT9KxUAQxmdf1iAWqQU7+1whBC8QSO0BLCwFL+AJvIGNlQQClhIs7HMDyxiIGpH8N9n4zXP3WbxncOCD2Z3ffju7I4hon35jhiZIcR6GIa8piqJ1UQRBMG/IeX6ZpinKsuwqTdM3Poi6iuP4B/Y8bwMLIci2bVbetu15kiT32P7SN9FKKUVGcCVAVNf1oWVZd77vn4LZY24LNhqGgbquIynlteu6x+AsvnjFbrukDxw4jnOm3YVkp7+CD8D9BKnNS8kuS4FHH5m+/wOTfuByGxx93z+bfNGZXQE/6qnOi86ofWCaN2YwO2GMnaWqqrpomuaVf2IL1hA7vmOKl0VRPGC7hsZ1G/yXGsyhbBzHp7Isb9Frju1PqDM9fwswACNF1jCNRpSTAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-horizontal-track-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAYAAAAlH6X5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNo8i7kRACAMw4xD2twxCPvvRghPKHChkwoDQKeZNd5NiognBlX15fy2Epv3AUZESZDuXtPqEWAAAbEUmbnlEr0AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-horizontal-track.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAYAAAAlH6X5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAENJREFUeNoUy8ENwCAMQ1HLIYJThuhW3X+GFlAaqdiHr3cxANwtIi6eLZrZqzx09yktaUufUjwPsKpMaczMLo1fgAEADawUxddyoEQAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-left-arrow-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbhJREFUeNq0VFtqwlAQnTw0UbCISj+kO9D+dAVxCxZxEYJr6BIEt+EyXINfrS2p0HylKiHmdb09ExILJWkF7cAhgZmcc+fMnShEdE//GLplWY/XIDoej+Fms3l1HMdVVVUoinJk6EhcTC6E8Far1XMURb6maTGIBWtCSJ4lgA+pWq2WpeV6vc7JQ5DGAJOmxL8K4GTk+z71ej2ybbuwBvmP3W53YHIgAnmS2wNIlQWKwMSVSoUmkwlNp1Mqq3Nd95NJ2Ro+PT91Xf9GUQdsyWAwoNFoRN1u90RWFPv9nm1JGCBMsnf2P+1AZxt+BhMPh0PqdDrUaDSYhIrqssNE6JQJBQMdiFyAh1xo0WKxoPl8TtvtNh0uCkstQl7jQTPYdyaGyAkqn6wIy+WSxuMxzWYz8jyPyurq9boppVQgwKB0sJlIalO/33/665o2m820m6IIw/Ady/UCm3zDMA54RpiFyAXO2gPclNIcCO9M03QwihgdxdkWy3RBpCSt3W5b/HIBFAjcBEHgJklyugmZbaS1Wq1LBZjHqNVqt7x36CRAB7mOcpV/URYmBv6AObzFcWyjG+5I/RJgAC85tuyF4bVKAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-left-arrow-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcdJREFUeNq0lLtOAlEQhucsC1TEcGvgDWgIlc8Ale0GGl6A14DnwNYHUAtiYWJntNdY0GziskT2fvcf3Ni4J5K4nuTPwGH45razgog0+scjhsNhVgYoy7LDbrfb7Pf7V0VRQiFEBMVqmqZ/hoOhb7fb6yRJdpVKxQU4xHWMQMlJAeI4JlVVpXxd128ANwC3AHWhCPcJF6ZwAJkY7DgODQYDqY/neY+QCajFASCHg3AlSMqRVhCGITWbTVosFjQajWg+nxf62bb9BqDHwBzsw8ZoUwKlhQH4bjKZ0HQ6pV6v951t0fF9/wPAAPKRsZ9/jvMgqYre/fjTbDYjTdOo0+lQo9Ggw+FARX75fOxqtRrxk8NCBWz5ewKlhTNYr9e0Wq3INE2q1WoER+kMAKzzMLlwbgtnjjtWxFI4syJtNhsaj8e0XC7JsiyS+SH7M+yAwjt1XCy0hbMHnIMlot/v/7porVbrWI2kRQ+u694i0Hu9XjdhHcwi4CpO3gPDMKS/AXIO2BOqcSCP+89V5NstythkBXO6CILgEo92lH0dni1XEYlut5uV9F77QLuuYJ/RJhtw3o1QtNvtrMy3J7K/g7kH/IXn8CnAADDPYRM6gNQFAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-left-arrow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAc5JREFUeNq0VM1KAmEUvTOOvyCpuHLtTvdt9Q1CcBH4BoLP0Dv4CG19gGoRLYRcRStXZSAuhKZJzSbnv3MmMYiZCrILh0/n3jn33nPnfoqIHMs/mtJoNIJ9EPm+v5rNZpfz+fxeVVVbURQHcDU4/kzued58PB6f2bb9lEgkTBDbeOwikferBHhRUqlUbPGTyeQcMTrIX0BqAg7zAsG3CVCZmKYptVpNptNpZAz8N8vl0iD5NsGG0gAe4KtMEAUSJ5NJ6Xa70uv1JC7OMIwHkL5RGlbPU9O0T0R1QEmazaa0222pVCo7sihbrVZLEFusHISb7W/qzy58jTJ8NRK3Wi0pl8uSz+dJIlFx22LW6NThl0OgA5787wHREg0GA+n3+7JYLMLhIjBWIvjTHCaHTd1ZOZIQDqHFVTYcDmU0Gkmn0wm7iYvL5XIH6/Va5U6Fi8XBonqQh0NW6vX6j4tWKBTCbqLMsqxrLNcFZHpMp9MGzlfMwmIXv94DfCmxPhAeZjKZW8ziFV2+UX9WTl8QBMo+NlktFotHuq6fIokTfBhna4VzKJVKJ3ggfwEsn81m6zh1JHlGB7u7TqlWq8E+b0/IdOU4ztB13TveR+8CDAA4ZHMC9dTxrwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-right-arrow-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcRJREFUeNq0VEtuwkAM9WQCoQRICK3aErWLSCBRpScox2CPOAg7rsAxWHMVVgguwEd0gYDM9DlNFhVJP4JasjyTxO95nj0RRPRK/2hmrVbztNYGu1LKbDabtu/7bSFE6RoEwnXdNwALrJlEYl2AWWEYvhiGcXMpgSyXy48AilCxwl7zwyiKCGTvlUrlHpGyfL/fk5SS8t6nLqvV6h2DwzWI4ggTu91OQz4yTbOWldhqtWixWMQkyMkncBynwcBwzeCpdNwTRIVTPGQlDodD6nQ6NJvNaL1eE/LjxDOCer3ucQUMnhIkTZeHw8HwPM/PIhgMBhQEAXW7XSoWizSfz1NpvzgUMCP1aUYCrhLJ1Ol0ijgpy3AyYgk59nq9uCfT6fR8TKEhg4lERwGiuOHcCEwT77PHD9/jPS2XSxqNRvEJMu8B65+MqE5kYv15bAUmzMo7wXa7pfF4TJPJ5PuLxkDphoETl+y2bd/mnaDf79Nms/n5JqNCvsECehtYy+PxWEA0Mb4u+vOUR7BarX73q0iBEXldgFuQrQSCdh74n/5FXDGAUgILujcgTQiJSjxmFxNw9dxky7IcVP2M6oN0hq9hHwIMAA2mcW+/QfMYAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-right-arrow-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAc1JREFUeNq0VE1rwkAQnc0mJrFqFKEIllJKWwqV1J5KobdevXirP8WfIP4Pj+q/8SDVYy+iVgTTxCR9o/Fk0g+0A481cee9eTO7EUTUoH8MNZfLXYVhqAJaEAR6oVA4LRaLNSFE/hgC0jTNR6w+CBnBarVyF4vFG4Qv8d6EMB0CmU6nHxRF8UDusRAQwgkB74Zh2EmJrusS8n4WyGazdyBfswMk8BrwH3ASwp3Au7O4RNu2aTweb0Q4EgUsy7phYmDTIuxlKNFcPLi4j0tstVpUqVRoMBjQbDZLFFIRDtoh8SDZxXZPmELCp+M4H9yuuCiVSlQul6larVK/36dut0vYv3+KEC5IFECNyGXUsjXC830/ViCTyRAOwmZtNBq0XC6p1+vtC0gpecAKwOQCQvzsb5SkFEkOsIc0TaPRaETNZpOGw2H8PeDeR70LeAZiqyR4DnBnJTmYz+fUbrep0+l8f9G4mF1RIObh8jxSDMRtkoN6vU7T6fTnm4wKVZ4B+s2/dc/z0lhN2L+Amackgclk8rtPBYg1EGpYDeAEyKH6PNpTSyL/07cIFZsgSoHYBLKo+lrX9VcW4XN8sAC3hdsEnIP8GXg5RuW7+BJgAINQm2YEYuEWAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-right-arrow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdlJREFUeNq0VLFOwlAUve1rqW1py0AMAWOMsUZi0DgZEzdXRgad+BI2foHPYCT8CosEJgcSoLAgpa3nFlikFQ34kpvb19d3zr3nvFeJiN7oH4di2/ZVFEUKQg3DUCsWi6elUqkqSVLuGARC1/VH5ACAHOF8Pl+ORqP3fD5/ifc6iOmQEIZhPMiy7APcZyJEFAQBL35ks9m7tI2LxYKEEPsJLMu6BfiKOwAR55AX0EkE+SRFUc6SNrquS4PBICbBnnQCx3GuGRgRS4QOOGT2BdlHF/dJGxuNBpXLZer1ejSZTAj7Y82/f4cClQXMFZgI7mL9TZTBhs/ZbOYVCoVE8/g9DgNVKhXqdDrU7XbJ9/3dU4SxBIGMUDbgYiPZCsNnP5IGOiNIGOdarRZ7wiQ7BNCQDZYRDC6BiOcBT1RV5XkiAeuOdRoOh9RsNqnf7yffA9Z+o13IHkhrJol9wAlz0jrwPI9arRa12+2fLxoXsy0KwGwu+5HhME3zJq2Der1O0+l0/01GhQp7AL35WYNRBrKO43sBf57SCMbj8e9+FQBWAaginyBMhA3ZciCopoH/6V+EinUAZQCsIyzo7kKaV0iU43N8MAHLwlnTtHNU/YzqX7aX5BjjS4ABAEDnkWqhfTpFAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-up-arrow-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZJJREFUeNrUlMtrwkAQxiePxiZ48FHTggUvvaZ49uTRiwgW8Spe/XuVHgslB0tTQoIk5rX9JiSQqqXYXuzCZJbZ+e1OJt9GIiJrOBw+ZVlGh5am6Rd/aDL9YVwgLISgIAh+B0uSRJPJhJIkOQ/m7o7HY5pOp9Tr9c6DW60WzWYz6na7tFqtvj39CI7jmBaLBXU6nXwTy7JoNBrl3/VHuN/v02AwoHq9TpqmUaPRoOVySaZpHsHqYWC9XtN8Pj+psH8gksuGj7odRdG767pvvu8H0PcVh3Rdv4bdybJ8cxJGYrLdbl9s23ag6xiJKcIZ5iIMQ99xnI9ms2kahvFQcmoBBpvN5hlJoaIoe4AMJwBzuMhRPM+zd7ud2263HxEyFDxu+QQshAD2gCNVVSP4BD5m4zlXgo1SHhCMC/Xd5zCEr2Mx4hPLZPgUvmoZ1llmAvqPa7WaphZ3l0tMi93zJJ6XUFk6r/FPgu86+NcSLptTNVFswiYqjeXcGNV7JSzKBJ5XQFEYlysBzLgaeAmvGn4KMABFtPy+67Pl0wAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-up-arrow-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZRJREFUeNrslL9OwlAUxs9tSzHKAARSEnbioHQicWF2ZGpA4gN0553cfQM34+ykMTFG4mgbobS0va3fKcU/SKJoYhwk+fgup+d3enpuL4KIjkzTPEmShFYlpXznq1LoB58/CKdpSmEYfg8uFAo0GAyyYW0E8yQty6J+v0+tVmsz2DAMGg6H1Gw2aTQafR2O45hs26Z6vU7VapXa7Tb1er1sBp/CnU6Hut0ulUol0nWdyuVyVqzRaHyAxf8b9ouwtmafrzzPuwyCwMHebiM00TStAplY766FkRi4rnvmOM61EMJXFGWOsMQ6wVY9+L5/UywW91DkEPGtFxjg43g8Po2iyFFVdQJwBgUAY4hPhkCOjq4uoFscmmPEaiq+9jkJlR0AT4CnqD6Fz+AsH2vuJEReiCKsO6wPMhg/KrjosZDsITmAz+GsMFeE63Jx6BIPvpO1jSpzVl49hnNixACLn3uRJiQfEHiK9s+XMP9lZM/3VigQ50pe55ryIBXc/X4Jyzwh5buwuEWO5VoOTXIncBVynwUYAA6xEqaxcbksAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-up-arrow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaZJREFUeNrslD1PwnAQxq8vKVIZKAgLA6uDjYyGiU0WQkLCYOJAWPle7n4DN+NsQqIxMcZgwoA0lNLy75vPYfEFNAZNjIMkD9fc/37X6/EUiYiOarXaSRRFtKowDN/FVcn0g88fhOM4Jtd1vwdLkkTNZpOCINgM5u02Gg1qtVpULpc3g3O5HLXbbSqVStTr9T69+xrs+z51Oh0qFAqLJqZpUr1eX/yuX8KVSoWq1SplMhnSNI2y2Sx1u10qFovre/l32C/C6mpCCHFlWdalbdtj+FtHyk6n0wa0L8vy7ocwCr3hcHg2GAyu4WsXhXN2Kq4jz/MeRqPRjWEYe7quHyK/9QIDfOz3+6coGiuKYgOcQR7AAArZD6jRJpPJheM4t/l8/hi5HQVfJhTgYAxgAniqquoUcYbIcnHNkwg0EjCMgEHu4L6DBQzjGzh0WCh2UOwhzhFZIpGPc54igv+dVCq1rSbv7pyVdA8QudBngMXP/VwmhfwngRijwfkSFjw6H74VGgSJote9xrxIGePfL+EwKYj5LiwekXOJlksLeRJEBY9qPQkwAH6xFG4uskBeAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-vertical-knob-bottom.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAP9JREFUeNqUUL1qwzAQ1vkfAu7YxU/Sx/BrZOnWtc+QN8iSsdCxe/HYLoVMBmGoQwZjE2PLxJbVO2GBKIU6go87Sd93d98BYyxK0/Rc13UspWTzPGuYnKKdm/9xHIWDYsznwnEoXX9Q863FWPHN9/3VQqUUm6bpXYurqtqFYdh5nrdWLJqm2ZNYZVl2EkJsgyBg/xWgrn3fP3ddx13zmOf5MUmSzyiKHpBwZxZDZMtn2bbtU1mWr3i9GDExFOc8R8IhjmPABW5c170HABJ9DcPwUhTFI1r8QG6LEPBrKrJBBWl7wRJNA4kYEdclSvjDFixwLOipLehJwfZ06/kRYABTY58KWRsFmgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-vertical-knob-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAYAAAAB3PQ6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACpJREFUeNpiZGBg4AgKCvr+7t07hn///sHx379/4TQyGyb/+/dvBoAAAwB0aihkcGml8AAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-vertical-knob-top.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARBJREFUeNqUkbtKxEAUhudkZieERSQIQSFWKSwt04gpxFha+QA+gtY+h4XPYGdlY+Mr2FsETGERMOR+Gf8ZRllWi90fPphJznfOZELsb8jiWMg+V2C26LWiNVEXcyCAtDj2nZZ6ywgmWhNFFEV7YRjeKqXO5nk+HseRdV331jTNa5ZlD1VVfaKuAi2tiIskSc49z7tv2/YQAtPiNE0MTQzYfxRFcZfn+Qvqv7j9JpGm6ZXruo8Qd/u+N8WYblhZ70gpL1GXlWX5rmUnjuN93/ef67qWwzD8Sv+hwzk/xZAnc6NBENzgmEt9zE1CRB6GXRsZnS70xE0DmQkhToyMHOmL2SZocPDzDxdsy0BefgswANTzkXd08tnFAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-vertical-track-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAYAAAAB3PQ6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUeNosyrsNACAMQ8F820gMwv67kQQwEsXpuTAT0YyIISKlqgnL3d+u3w0HP+puBslMQ+0KMACg5xR+0/xvkgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/HUD/scroller-vertical-track.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAYAAAAB3PQ6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNoMyrENACAIBVEEiVYM4VbuP4OKQRJ/cXnNFSKaZjaY2UVko6WqBzq88KHER5kpqEZEg/0LMACqFRSole+PrAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/knob-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAwxJREFUeNrUVUtrE1EUnlcmM0nTTJqEtiqhFMF2I4gIShduVGhdCKJ/oS5ciOC/UARBLUpFpRYKFbvRNpQKilsfUBdpG4htbEyTNPPIc5J5XO8ZJmFM0jZddOGBw+Tm3vvdc7/znXNJhBBxVEYRR2hHCs40fpAk2TpH2k47HMbAo+FwZHvTGlQz+9yI7uvr498urjwSfN4rHEOH3AzF1nSzrurGrlwsL9+YuHRHFMWqfYjZhgKntCQVgLlnM3OXV2MbSiqVQhgAlUolVK/XrS+M4X+Yh3Ww3klxE7MFnOrv7/fOLryfXNuIm9lsFqmqiqrVKqpUKqhcLltfGMP/MA/rnr6avTY4OOhpHNDAZFo4Zs5dGBs4PXLycTAgkB6Ph9A0bc+Eeb1ea9/5s2dmBEE4lU6nNWcOnGqhIpGI9/bde1MBX4/L7XYThmE0o+jkMM9xHBEWfL6HU9MvAoGAxw6yTYp0MBjsDfX2jLEsS5im2bXDASG/7+LQ0JDgFImTFhpfU+BcNE9RlLWpWwMZcyzNw348zHYEZxiGJwlkXesw4NYBiCBdLhdn10MbuFUwGuYRuITouzVYr+k6wjegnZw7wa3KK1VUtVarcZDQbg3rnyhV1RpOsuGsVmd4hq7r1d/pTAxr+VAJxfontrbTq1i2ql2t7eB4kbww9+aBKBcMXIldAReLRSK9K1bnXk/fh/17gufz+UIum02sfPr8UpRkBBv30znMS7KCotHok0KhsLW5uQngeifOzWQyWcaVtv3l4/K8LObL4+MTtwZCGgc6xkogGhKFqsXlT+zsSurS0uLUzx/forlcbluSpIqT89aE6plMRqJpen31+1fzV3w9fvX6zcnI8WMjPR6OZTC4jsFx0uvJ1J+1D+/mn8uyHMPAcfxVHC3YlqfdtBz9HKhiR0dHA+Fw+ITf749g/Q9g78WRszjyOk58AfuOoihJiDgWi0kgmkbbbWJ2AG/2c+gVw8PDfp7nA1BgdoFYqsImJRIJxabin35+EHjrS8R0eIn0g14i8r99/f8KMABYnUshETxaoQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/knob-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA1VJREFUSMe1lWtIVFEQx5fMB2WSRmQFIhQVGQjSm5JIJFRIyzQypOiDYBBZmq0PqKwwM0W38LX4WB9pobuWpi5ppZTiquuT1LW1NM0KMqIH2Zdp5jZXdu1eti99+DGcmTn/e87cc+YoqvrfK2RYhDggSxFXZCWyiq0r+x04T1JDTtSRBTwQb8QXCUAOsvVlvwfnOUp9ZKGwPeLCk7Yjocg5JB0pRMrZprM/lPM8eJ69nDgF3JBNSBByEalAhpA5BCyYYz/F45FAZCPvwn6h+GJkOeKFhCPZSB8JFXeMQ07LIGQ1dMPN2nbB0pj8/CEjkoEc5g+4iCUSxZcg65BDSA4yXWGchuymXihpHQT90BQYJj+DafaXYGlMfopTHua/RjJ5x1QiJ1Hcjk/AXuQKMlbWNQmp2ueg6zZD38ef8GL6BzyZ+A6N498ES2PyU5zyKnqmgHeqRHZwee0U/KfXI5FIfVX/DKTp2qG2xwxP33yFOtMXWShe3WmCjPousUT3uKyepEviy5BtSDIymd86DOpmI9SNzoJu+JNNKK+guQfy20ZI3MQ/2AdxJvEViD/XGm7gNks7xuD+4Id5Cp4Ngd/xaFjrvUuwNLaM3+00C/N49SpkP+mSuDsSglRSMLGkATSGSfxR7+bZFxENG/zDwSv4lGD3HI2yims6JyBJ0yiKV/BlcyfxNcgRpIaC5/O0UILilmwJioStJ+JhZ9QlwW4OiLCKF6N4bL5OFK/my7X6r5XH5msht20U1O3meQLPXhOEd0dfFeyBMylW8dzWEYgt0Emu3KrmyWV6SKszQE7r6Dw0Dkm6LQiTlYrTPKmaW56Wt1lNRogvegSqlpf/zIXCesjW90meFqtzXtk3AzG51ZBY/hgy9AM2UWqaIAEPgdw5F2+oL9/QV0VYx6hbGojDFaU1GGWhOOVpDBOyN1Syt5TihDj1AzitqoKE8mZI0XbA9YddgqUx+Sle+kdYtrfIdcUB2momdsGYvBo4maqGY5fvCJbG5OdS9Nrqigp+siz7uZJraFrQy0VMHFdyvmw/l3qJqHZh/PdVfH5r2KrYH8Z5Nl8iyzfUiXfhycfKDwnmmxfMYx+Ou3G+zTfUEjs+ps580dy5Vbjz2JnjdrKvPwD8N34D1L0Qnrdlo6IAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/knob.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAs9JREFUSMdj+P//PwOtMMPQNxwLYARiJiBmBWIOIOYGYh4ozQEVZ4KqQwGEDIcZylM0aWlU/aJti1pW7rvQse7ILxAN4oPEoZbBLCHKcJBCDu+EHLX6xTt2Lj185f/hm0//X3/+8f/rr3/ANIgPEgfJg9RBfcJEyHCQAs7Q3GqLpuV7X++4cO//3fe//p998f3/wcff/m+//wVMg/ggcZA8SJ1HbKYOsgXYDAeFHZuAqIRE9YKtV3devP//6OMv/zff+ogTg+S3nr3zv3z2+j1AvcLQIGLEZjgzEPMlN04qWrj/wv+tt979X3/9LUEMUrdg//n/SY0T84H6eUGux2Y4GxCLF0xedmTpyTv/V11+CcezDlz57xyd+V9a3xJMg/jI8qvO3P0P0gfSDzIHm+GcQKxQPGPdh4WnHv1feu4ZHDtEZf5Xcw37r+2fBKZtwtNQ5BeefPgfqO8tSD/IHGyGg5KVWtGMdf8XAA1Hxjresf9N4sv+W6TVg2ktzygU+flAwwunr/0N1K8KMgeb4aDw0siesOTj9EM3/88+dheOvfJbwAZbZTaDaffcJhT56Qdv/M/qX/weqF8dZA5Ol8c1TDrdufnU/2kHb8IxiB9QPRlsMIjGJg/Sh8/l4DB3jc/rLJu39f+kvdeIxqVzt/x3jsluwRfm4NTCys5hGVM/6UHVkt3/e3deIogrFu74H1rWcQqo1wxfagGnc1DQqBhZJUQ3TPlQAnRR57ZzODFIHqROSlU7DKhPBV86Z4S6XhSI9cTkVaL88hrOZk1a8b9yyZ7/TeuO/2/ddBpMg/ggcZA8UF0EUL0OoRwKL1ug3tMFYhcT7/B+n7z6S2HV/Z8jG6b8B9EgPkgcJA81WIxQ2YJSKkJdAvKqKdQQPyAOhNIuUHEVqDqiSkX08pwX6ipQKgAVrRpQWgEqzktqeY6tJuKE5gNeKM1JUk005CpoACn7Zz8845ivAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/popup-arrows-pullsdown.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUCFtjcMlpNnDObv7mkt383xmKQWwwzgGK5zQbM/z//194zvrdM5AkwBikePrq7bOB8iIgRSCsXDt9+VaIZBNYUeWUJbuB4qogeZgihm8/fpintEy/ADItoXHqtW8/flrB5OCKgJjx4bNXQWmtM87defw8HMTHpgiE2YDYDYjZkcUBl+OOeCK3v4cAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/popup-arrows.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAkAAAAPCAYAAAA2yOUNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANVJREFUKJFj+P//PwMMu2Q387jkNK8D0kLI4gzIHLfc1s1ARf/d8lp3Omc3M2MoAgo2ghQAaTAGsrtQFAEFQpAkkXE4WBFQwsAlp+U7zBSwJJR2hYgbgEwSBuIkIE7DgkHiwigOx4WpqAjkMKCDv7lkI3k/G+74b0BsDHb4nPW7ZyBJ/If5dPrq7bOB8iIwI5Vrpy/fCpFsAiuqnLJkN1BcFcVN3378ME9pmX4BZFpC49Rr3378tMLmcMaHz14FpbXOOHfn8XNQSDPi8h0bELsBMTuyOAC+nGWQKm0f4QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/popup-bezel-disabled-right-pullsdown.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAYAAAALQIb7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXlJREFUeNrslkFLAkEYht9d91hgrORCRKeCiqJDRGK2GIVYxw4d+kf9g/5FHax/YNShW9ohSINyRTNZ01zdmW1mV+3mbsVslz74mDnNM+837zcz0slZ/hRio8kyzzKnUEpxvLcpjNSxetFi6WX//smQFcdxUHi1hMEUWUJc01AsV5KuMkodYbAeW7vHRsaZHMAoRAdnuDASJixEZQSEhAEjUDiIsIno4Jw/UBYC7EuZTxkbjQYucxeghGDYkdJgjCgRZLJZqKrqq0wmhJdxfE6rUzg62B1BJMmbcPBhJg0tpiLIOrLbZ2R8diwbEzENO4l1D+J4+vSNNUTjM2hbfd81XOsPqX7x1iZYWFqEUauj8FDC/NwslldWUXvvBjyzkfWDGaRqdqGnkqyMEra3EjDMD7HWN1oW0noKz80O26TzPet7d2Pwpub7eqybP7uuvDMLo88I/p+Y35XQtjmjJfxbYPf7qFcrHHblfnjubq9FCuPWvWF5/inAAMMzdZSyHBqHAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/popup-bezel-disabled-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAYAAAALQIb7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAghJREFUeNq8ls9KG1EUxr9JZuGiKcaJNdCFSEoWCl1YqEpaaaoitILg1idw2Tfo2jfoW6jYRcCaukiqrUg2bUTI6KgYrY5ObDPJJHMn3juJ/0C8c9tOD5xkhsydX75zv3NmpNm57Af4GwbNLM2PsuM4mB4b9I1kWrX2/M7Bm83dw4DcaDTwQ7d8g8kBCV3RKPJaMeEqc5yGb7AavXeNflNOqAVz4HcwRoB9EIGsWhYWFhZRNk2hdYwjrCyVSqFQ2IZNbExMvIUkSSLKCAhxPOXq6hpUdRvs/pqmIZPJel7LOLJ7Qg94oaoq1r+tN09aYnK5HJSIglgsxl3POPKlsvtC13Wkl9NNyE3j0uOVzysIhR5CURROGS+VcWBd9N+/fzeDu7aHtin2S1VYtuNRGaeMZo1g67j+l9Z3lbEyEt/7jDFc6/PK+K+a2pMywzCQ/rQE2759HdvDYDCIV69HEA6HucoCTevfn51KGFPjySvXSy0Qi8nRYTyKdPCnCPHY1OVqHW3tnUgO9F/TaLx49hQPIlH3d09N3ZyNfIOclivoicdxeKJjs6DhSfdjxHv7cHReEd0zbwYpGiYSQwPuPEwMPsf+WVncjSKD+KBUwcvEEPZOfws9B6+mPhGAsSIUfpb+zPr/4+FJbJsxfvn+WmDX6zg5KjLYF/eF5/vGmp/Czml+pTl/IcAAabQiHJYP3UgAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/popup-bezel-right-pullsdown.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAYAAAALQIb7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXJJREFUSMftlk9LAkEchl/30KlDoemCRUUopBQeQogSsYQOHTp0iM59jLoEnTr0EUztC/Qpgi5eoqBTFyt1tULR3HF3ppndJTrlWMx2aeHhN7uw8/Du/NnRTi+vmGKqnBPOmEYpxf5mWhk766lofDp8yD3HGmMMdy1TGdUeENF1cM+Bk4xSpgxiUbwR8Dad8mT+4MhsH/iU+ZjMhm1T5QiP5twIoWrsP0nmE26yIRhNA+VSCcVCAeceRY+LcgkNozG0Dy+Z+IzfEw5OYm87D3EFBAG3wXjZ3cpBDwUh04+7zobE75kWxkM6NlZXXAljjjibTmEiEkXXHEiMGZVLJnjt9hFPLCKxMMd9AcRmZ5BcWsYLfy7bhzf15ai3+8hm1pCMzSOfy6DWfpffRX4y9WsdE7ksF3XI6FPf3RvlFyexLDw0204d5b0vY+bHOrPx/4v5FQNCRDXUHwtMgvrTo5AVnQPPbeVaGfc3lVqr8XzGPUcfblj1AECuvN0AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/popup-bezel-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAYAAAALQIb7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfBJREFUSIm9ls0rBGEcx7+7Bzk4eNlli7ylzUtJFGkRUY7KzdmFcuDAhULtycHf4LRecpBc1sHLgYi0JcqupS0WszteYmftrJnxzDPrLWWeofHUp9/M8+s33/k13+d5xjq1tK2YzAXBTUizyrKMnvZ60+hqqsl3FuSOEp1Jq6IoOOYTpnEhAHkOB4hOL+1MlhXTEF9k3Isg17I9JfY/UDHJAM+JBJaXVxATBEN172JG8Hq9OA0GSVyFJElGO5NIkczEzs4uzs7OYbEAoVAIW1vbzLWqjpXeqII6BE4D2N/bBxS8D5/PB3/Az1Sv6jB1xnERrK+tAxZ8HUR4c2OT5tk70yHPloOJoX64hwfgHhnQYup6fLCP5lmeo3WmgyAm4Y884oT7jjqv5vWekepMwn+hrTNGR/0Fan2WN+J5HosL85jzeL4wP+uh89FolK0zzfo/Y8/JQndnGzWg5Y2UM7s6WpBry9bfRVitH3tOIj3TjraG2g81MprqqpFhc9A8k/W1vVHfkbexOEqcTpSXFtH1VVaYD2dlFfinOFP9p2/G9pGv7gW4GhtQUVaM1mYXwncxAyaRjG/E4Yc4ml2NuCTR9CNGfJEQ5B5oNP2I+Q1JUVRjxPzfgoSIm/ClKjZDf3iODnZN4+Tw4JrnrqaJztgraPK+AKe0hD8AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/radio-bezel-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAi9JREFUeNqUVLuO2kAUvcYGgs3yCi+zCYhiSzZK42xDScsPJKIhFV8Q8SF0NGxER4NQ/oBmU0SQIiQFQghjBApRADvYPJx7kb2CrDZiR7ow4/E5OvfM8TDwcDDNZvPa6XRmHA5HkmXZy91uJ+/3++Fms/maz+e7+I55AjheVKtVfyKReBeJRK5DoRB4vV4QBAFUVYXVagXz+Rxms1l3PB5/LBaLv20ca5PVajUxHo9/SKVSyXQ6DW63GxiGAcMwANUAz/OA5IDqYqjqJpvNfm61WjqBOfrJ5XJcIBB4j+CLcDgMmqad9Ift3M+j0SiYpnmh6/pbXFaoNQepKBQKUiwWe+Hz+QA3D6DHivaDwSCg6gyqvyE8KWHRRIn63263cO7w+/3gcrne4PTuQILjJRI9iQS9IeAl4YmEwR4F2ngKCQ00mLfbYbBPDYvnOO5sAswMndwfm8TEHMiLxeKKjD13LJdLyo9C+AOJoihdURSvKAvnDgwdyLL8hfAUNqbT6fyUJCmD5no9Hg/l4L81mUyg3+9/L5fLnxCvE4m5Xq9NJBhh0DK4dlHUHyNA1TAajdRGo3E7GAx+kT127M1er6dNp9NvGLoIuv7cPkaKPplIHhABKvhRr9dv2+32hFQQljn6EInQjSWUSqXXyWTyFXokYhZ4TCp+CZoyHA47lUqFfFCx1nTKxyT3GaJ2sJ5Z/5z1jF6mEBkW2LCePbwK/lHFWnPGuj+odlad3Cd/BRgAYjwouXetfmAAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/radio-bezel-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjNJREFUeNqMVEurUlEY3cfjO5PjO0UkCCKCiqLxnTnpktUwCidySRz5K/wJRgMnDmxkkdWooBo4bdCFi83UUkFS8/3W1pJjeL3FPR8s4Xj2t/Zaa3/7SOJsSYVCIWIwGA51Ot0dWZZvLJfL49Vq9XU+n7+PRCIFrFmfath9yGQy/kAg8MLpdN632+3CYrFsMB6PN+j1eqLdbr+t1+vPYrFYY59Eymaz1zwez2e/3+91uVxiOp2KxWKxgV6v38BkMolWqyUajUazUqncjcfjP6lKT4ZwOGxSFOUlVHi3C3eLRKzBYCDMZrPw+XxebPIcfz3kax1+dNFo9Aks3Fqv12I0Ggn4/y/4HlkJt9t9CPVP6YJK9AjxMQIUCE5oKQQt0COMRiNJciQxgOA2d9nK1lJcj76b7CeJDBtOWuEOWovrQaSwnyQSQurAioNetRY3nM1m3W0m6+FweIzADpi81ppMJgJ9J9sjXuLc3zkcjgOGpbV43LVa7RX7OWxGzMilVCr1AcN21WaznUvQ7/cFpvZTMpnk6fySKQfSVlDxDcN2D89WHN0muH+h2+2KTqfTyufzR+Vy+QedyeplWpVKpU6z2fwYDAavIODLbJAk6W+IzIB3Bwq+5HK5o2Kx+J2u2Cvt3CEGchFwJhKJR6FQ6IHVar2OWVBA8hvBn1Sr1TfpdPo11vBe9DnyFCHt2WXQFpXsAmDiHFAMMAWGavNYJTj7KdhTZVAJJNUyieYqTn1P/ggwAOPnK9ASMplRAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/radio-bezel-selected-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAutJREFUeNp8VF1IU1Ec/9+vbffO2aabk63JJvMrFEeiVj4EFhI99Bp90FM9SL1G0EsE0ktvgQlJD0kIRkT4YPQUBD0kCJImpuGcc6tdt7ldN+/u7rn3ds7YplPswu/cc+7//H7/j/M/l4LjD/Vkai7Emcw9NMv6aJrx6roW0xGKqkVl6emdq4t4j1FDOLwYfTZh97S23271untamhzgrK/DsEJSymPkYEvchY1YYim+sfZ24vFopsJjKmIPnr/2NPuDjwY6A77e9gBorAV2EQ2RPRWKwIJVECDocYGFY9ySxp5r6+1fWPgyVyBklgwdZ89zDrf37mBXwFbX4IKVHbkmP0nVQMKf4nje0NgEfW26rbCfv4WXLzEQiYS68XBsqKcjOGRpcIOkINAN/UTkixowFgF4xmjyhS6k5z9/jJJIWJNF6GeFOsgratV7JrUDM5PjsLq8CJ3dIbh+7z7YG10lm4oABFs9cGZ+EC+/03jgaIY7jSgTqDjsCqZfjUNUTIHd31V6T028qLHLGgsUzXoJn0TC6IYhGCUPqBpJMpuDeo8fWDMPSJEhLW7X2Ml+zOMJn4hQiiLLckHmWZatbmoJdkBaVoHGW4iQL9iJRQ7SRSo+NUUmp0ORdIxcZjchZbM4TFTFxcsj0Oxygq6h0nt45EqNXZIkyGUzIuET11piK7zi9gX8PC5u5SHz4eFLNUeNkHaQrijCn/D6EuGXmi26+iPb0t3XzZjMgpkXQNf1/yIR34bN1eXw7PjYJ0zPERFDQ6qBmydldTZ3AUVxvNV6Yp8QgVhkQ/724c07Kfk3gflKpe31VDyyL0Z+bwoOl0s3wE6uFVUqGQVqUYUcrkEiFoXNX8uRrzOT7+PrP6PYmCdc6tBFJPWxYTgGrt0MuQPtZ3jbKSfDchYcaUHeyyYT4bWV+dlpcovTJA1SJpIJdeQ3QIQsZTErhrnsgLSFUva8h1EoCxz/FRyJiivf8ooIORq14v0w4Z8AAwCwpYb8ccIJGgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/radio-bezel-selected-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAvpJREFUeNp8VF1Ik1EYfr+//Tg3N3U457T5tygUc5YgdBlRCRZ00Q/VhTchdNOFN91EIN50HSLRRUGCSWKGo7wJgqikMIoiZ6nT+bPcj9v3uW/fz87pnDGnK+vA830c3vd53+e857wvA38v9vajwFnBYOxmeb6dZblWhLJfkK7PaqoydefamWfEB+0lMHs3fYNDNe4G37DXVdntqbRBhbUEykvNEJdkiIlpCEdTsLQRnVpbCF4futW3usPjdoLduPugxeVteutv8hxpdleCKGuwGhfhWzgGUkYFgeehweUAi8ngk7DhanPbsScfXwVSlMzTz0F/l9lRVTPS0Vjj1DHAu2C46HwxUc8pWYjEodpRCm1elzOT3h4mph4ClSphL/UP9B5qPNArKjokiHSM8T+RSiugZBFU2CxNdf7jyzMvJz5RJUaDqeSioumgIa2QPbWVgBdPR2HpZxC8jT44df4C2OyOnE3P6lBqFEAwmq+Q7WOWfEwsJ7RJMgmioQIC42OwKWXAXn84938+Nlpkj6VkYFi+lfKpEgFhbEc4Cyi7W4dURgOb2wu80Qy6IoMYWckp2FmY3jPGNsqnQVhFkZOqqpaxLFtwqq71goR5YDk+F6i6rh50fTcIQghURRYpn7KQtJWYy2QU4pQtoN3vJ2/EQtTpUG61wNGOjiI79ZeSW/OUT5VokeXF6bIKZ6eN4wqZjCYz+Ntaiq5az+6eV9pOw/rifIDyKYtZ+f55vaG96zTHG+wcCYQQ/i8kaRs2wqH3k/cGBgk/SoMQxRomj2fJ4fGeYFjGxJNSYYz2hSSJkEjEk2/GH95MRTfmqCguX2g9thba+hX6MVPmqm1keIMbY4aQIAdaA0VRQRRFiIRDH16P3u9fm/86Sx8z5TJ7GtFE4CTwdPZcPldV7ztptpY1cLxgJUpFWUwuRBaD0zOTIxPEZ4Vgk0ChIpg/xoCBwJYPVkFgyTcpreh2PjMl08ZT9x0FO/OEXk5emZDf0/lBeyKTz140T34LMAAJdqAwng0CqAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/radio-bezel-selected.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUOMtjYMAETPWLtgW2rNg7p23NwbMd6478AtEgPkgcJM+AD2S2TZduXrF3y9LDV/4fvvn0//XnH/+//voHTIP4IHGQPEgdNv2MOd1zdZpW7Hu148K9/3ff//p/9sX3/wcff/u//f4XMA3ig8RB8iB1ac1T5EH64CaoG1ly1S7acWnnxfv/jz7+8n/zrY84MUh+69k7/6vmbd4B1MoGD4OcvgUZC/df+L/11rv/66+/JYhB6hbsP/8/t39hCiyMOIumrTqw9OSd/6suv4TjWQeu/HeOzvwvrW8JpkF8ZPlVZ+7+B+kD6QcZIlgyc/37hace/V967hkcO0Rl/ldzDfuv7Z8Epm3C01DkF558+L94xrq3IP0gQ8SKZqz7vwBoCDLW8Y79bxJf9t8irR5Ma3lGocjPBxpSOH3tb5B+kCES2ROXfph+6Ob/2cfuwrFXfgvYAKvMZjDtntuEIj/94I3/2ROWvAPpB7skvnHKyc7Np/5PO3gTjkH8gOrJYANANDZ5kD6YSwQ9kouby+Zt/T9p7zWicencLf/dEvLrYWHCyc7JrRtTP/l+1ZLd/3t3XiKIKxbu+B9W3nUCqFcTFjugeBZTM7WLim6Y8qEEaEPntnM4MUgepE5W08AXqE8EOS+xA7GCuKJakH9B0+msSSv+Vy7Z879p3fH/rZtOg2kQHyQOkgepA6qXQ06xDNA8wAmVsDLzi+ryzW+4EFbT/ymyYcp/EA3ig8RB8kAsC8QcKHkHCbBBnQjyqw0QuwOxF5S2gYqLoLsAG2CCukoQGn0SUFoQKo5RngAAHC8qpFnABTYAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/radio-bezel.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeNJREFUOMuVU7tLqnEYtigJpJJTS0JtDUHQpEPnDC7Oxz8haHNpqk1cxUkELwQuOnhbVI6oIFGCoiAYitfBQVDMS4LgcM7y9j4fvw+62Onrg4eX9/I8v4ff7/1Uqo/fWjKZ/J1Op2+z2Wwll8v9RUSOOvqq/31+v/+Ah5OVSoV6vR6Nx2NaLpdSRI46+phbxV8LBAInPPDUbDZpsVjQfD6n2WxGk8lEishRRx9zPp/v8I0rk8m0xVYf2+02TadTGo1GnwL9RqNB8Xj8D1M3ZI31YDB4WS6XaTgc0mAw+BKYK5VKxO4vZDfqcDicg3q/31eMVqtF4IEPEU0sFpt1u13p8pSi0+kQ88bgQ2QnGo0SRL4DiEQikX/gQ2SX7+S5Xq9LFpWiVqsR8ybgS074uR4KhQJBSCkwD57sRGOz2a4TiQRVq1XF4Ccmq9V6Jd+JWqvVHnk8ng4vkbSVXyGVSpHT6bxjrk5+nXVYMpvNJq/XO4Uj7MxnQB9zRqPxnHnbr7d2k7Gv1+t/ORyO+1AoRJlMhvL5PBWLRSkiRx19g8Hwk+f3Xm+sSqipRePYYrHc2O32gsvlmrvdbkJEjjr6jB/i4JV/9IawqBPDp4wzEY9Fffu9g5V/tHClEc+3K6JG1D+c/gLaLHWQM6f6bgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-down-arrow-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARxJREFUeNrcU7tuhDAQ9AtQQBQ5IQokCkDi/7+Fz4CChgiO8yNjb8idTiKPMpkCY+3s7uzY5uM4SimFEDJAHOABLMBa65zDV/jFOXYOF6J3tl9D9hnbHvAd7QPOeMZYrbWKomhdV8Q4h9p7AolGggkICUbFcbxtV20MO6by8zqHDZShuNagGuqjEL5cXqdpQiOywDcQEpkYBJxQ2CklEfJsiCnLcp7n201j2GCg4YyUWCKQPPWxKFUUxbK8bdfNoDW3UAL3JQJelyPH1KMJWZam6QtJJMaTs4L9Bn+VrZ4uxjAMy7LQNs/zvu9Pa8PjruvoAuCEmqb5RkmWZVVV4aeu6yRJvlJCAG/fd9yFH00JJW3bfj6z/3A67wIMAMmK0TcxpouqAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-down-arrow-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXdJREFUeNrcUs9PwjAYXbt2gIpHQzDGg1e8YkiEAzGRi/yB+Cdx8OTFRKPyQ4MSYWNs/bHV1y0SYoLEo74t/dr0fa/vaz/S7/c9zyt8AXPGGOfcdV1KKSEkTdMkg5SS2phaOBtgjMkTtNYZG1HbiI1v1BVPKRUsQpYYR0pFqas1zxNWyI5MldbSQk3e3pnLiyL0IQOjcIwBc0JoagxxHOTHgBDQfhqMWaG0Gy38KI4JJSgMxCS1haA+2IKHOIqFFEEQDsavVumgejR8vM8kcQNGeQq/ZRtj2VZa3NzeYWnZhWLp8Phk8jIMF0tcEM9AM+1EJzM/eHgehcsITJbXzj0PJ8w/pkJEWmnJpEtdofQ8WEymMyFVTmPr97Wzty+8Is6NhIjjEAO+dQJ1foO/ymbfeqjXux6ORvmyWq1etNsbtdHQ3e4VGsa+AOet5vkWJ5VK5axex6TRaJTL5Z+c5Gi1mr7vn9ZqUortVcJJp3OJrvo/r/MpwADuwwM0qCfRHAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-down-arrow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWlJREFUeNrcUj1vwjAUjB0nLQSK0qUfKR1Yy1IGysgIKwsj/4g/lnZlZ0ViQGocx3bsnhOKKlpadWxPkf3i3L1378UkTdMwDM/egZgxFgSB7/uUUkKIMaasIKWkbjcO3glYa2uB1pq6CLt2Knw4oh54SinkZqgopaLU1zqoBQdUJY3SWjoozjmLotZms0EayOAYC2JCqLGWeB70AigK5MbOOp2L7XabC0EoQWMglsY1gv5gCx5ELgpZ4AwChtN+/yF9fuE8ryZgVajwOLa1ji0EKjSbDdR0ddvt9tNwuFqtsleOAQUVaJW71CWhXiuKIAaT1r1DOhg8du+7mHHO8yzLUArURvP8Mo7RUk1jH+d1l9zeXF/B9H6i1eywHgjU+w3+Kpsd3aHlcrler+vXXq+3WCxO5saw5/N5PV1c9Nls9oOTJEnG4zGCyWQSx/F3TmpMp9PdbjcajT5f9y+6hBP4gav/83feBBgAu4vyDSWkLFcAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-horizontal-knob-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAIAAACqfTKuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiWrpyHcP12/eZXr15x/T792+mX79+gfHPn0D86yeQhuFfcDmgOmZWLl6AAAMA0ScnvzgM/74AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-horizontal-knob-disabled-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAIAAACqfTKuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNo8ybEJACAQBEG8/ltSbEILUMz99O8eRAOzZTblUtOYC9sMEQGSkAR3viYdfo36TyG01o8AAwDxoyq9365oKwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-horizontal-knob-disabled-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVZJREFUeNp8kr1OAkEUhe/8sLvCgIPgClYUGhKjhSE2FmJrYWFhbCzURKzUWuNrWPgcPoHhDeyMMTzBEmBlZ4R1x5nNYpDInuQkk5nv3ntyM6jZbMKUkDbWpnf3DyeU0kOM8ZZSqm4e6QxIL1tX667rPjKW32eMgeM4safhGDw7v6iXy8vtUqnMFzmHMAxhrC37/T+wGW277spTcanILdsG3/dhVjTpmrm+uW1lc9ldQigIIeA/0aSrRQg5NnWj0QjmaQJnhJQbhUhpeJwOc86d4TAoRFEExmkw6vV630EgPqUUTMdJhZWx/BJvg4HfyLFcKmzmhjKQz57nNWy9tnkitVrNrI50Oh/vlerqns5cNQWT/NM28O+foJS8IoSPFCjbsZ25sMkN3a7nE4JfdO2mlLISd8EojhCpCFDy61CSf0E7r13YbuycZizrQJ/XlIrv4EeAAQDMloUiXiKSSQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-horizontal-knob-disabled-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWZJREFUeNp8krtOAkEUhg/LKIRGwAZ8Agpbe9/AN5DCzkvvE6hPgb0WJDYW3qiNRhvUGBpZIZpw21mX3bnteGZZ0BDXk5xszuw3/znzz6SurhsaAELMZ611UwhePzo8qGMt43XzP4pU2+4go4ExBkEQgOu64HlfjW63s3Vcq9nxpmiDNXIccCgFISUsZjJQKpWgWFxeL5dX7jar1QoyxIgamCilohbTr4+ZyWYhny8UpFQnWK7F4yhLCAHz6fs+pAmBXC5X2d7ZqyK4YNQtie3/Ss45qDAEQtIbMWwRzgUkBZ4bGOerM9i0TYoQlT1vvBQf0sA8EeaT+enMDf6Psktd4/3L1GcihUyEB4MBKo/Pp7eZOLMBh6Nh6+bywngtItjYNB+9Xg/6/b7z+dHdxXL8A6sJbMYJWADUofg+6O17+23fttuvv2BNms2nyYtKgaND3RKcnT0+3J/iknHBxWTxdcO3AAMAyTPqDXZdVhcAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-horizontal-knob-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAV5JREFUeNpiZEAFjEDMBMQs8xcvD2djZfNlZGLS/f//vzpMElkhS2tHt6qsrOxUAUEhBwEBAQZubm4GLi4usAIWZIV1jS3q0tIyhyWlpAWERUQZfv/+zfDj52+GL9/eoSgGWc0uKyc/U1RcXICdk4vh3fsPDOiABWoq64TJ09J4efmsmFlYGb58+cqADbBATWVjZmYJZWBiYvjx4ycDLgBTzPr56zctob//GX7+/IVfsaioGMfHz5/5/v77y/D311+8ihlfv3719/NnoEu/fuVhYWHBq/g/CH/79vXmu3fvjPn5+fEq/gfEf75++rz52bPnxhwcnDgVM0ODjvnalYu35RVV7f79+ycJirG/f/9iYGbkNAF076X/jMyBQA3s2DTAFIPczfDyxbPPLMzMB4HhrfP16zcJsCmMkOQDNACekBih7gc5mBeI+exdPGPYODk9//9nUAFikBgDQIABAM09iIFDDek1AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-horizontal-knob-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAW5JREFUeNp8ks1Kw0AQxydhU6sGxINUPVQUDz149e4b+ACCgl59AEEsehc8+AaFHvzAghfxIuLFIh4traalh0KaVpO0zYfm29mYlCKkA8Pu7Px2dvc/yxQvbgIA8NGrEPgVy7ZKu9tbJYzdaJ3mQ2OqQjNAA9M0Q1dVFfo99bHREPZO8ketaFO4ge1+KfApq2A5LkykJyGbXYL5hcWNleXV18P8cQ4ZQotSmDiOEx4Rj9TSU9Mwl8nM2q53ieF6dB2PtW0b/ruuG8CSFPA8nzs9O99BkKPVCU0mmev7wKW4TZwW6OHEspLhIGDAMH/WososQakSYc/3YKBpM9EjEbaSYZrTdGMwVGMcrCgKaq/XYp3H3lmSOqBrg7u4m4lqSJIE3W6nfl0sUK2dRFgURWi32/1WU9jH0BzCox00DANkWYaeqrzUa28Hwnv1YwQOyHO5/PejGKaPv65uf5u3Tw/3V7hEVdCoKFG74VeAAQDaxdSLiOs7LQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-horizontal-track-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAIAAACqfTKuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNJREFUeNo8iTEKADAIxEL9/0udRUSF9pYGMuQOdz/CzCQRQWZSVXQ3M8PuftXa338FGABp7SMpb2OFxQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-horizontal-track.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAIAAACqfTKuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADVJREFUeNo8xtsJwAAIwECMr/0HcyJRS/vRwEGoKiLik5n/mxnujqryJiLcHbvLzNDdjwADAARbDu/0NmM1AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-left-arrow-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAASVJREFUeNqcU8mugzAMzFpx58KR//8jbiAOoFZtD6AHElk6JEDdBam8iYSSGI/Hjs37vmfHMQV4j63nEdbaQxTG2vvtbq0RQkopAge+TB1jMeZ8ucBVyRkiIJqUD/p+Af68Xm8zC7AS4XiY6G8YnHNKY82gcgDhv2Ecx6Io3i+HESoiiyJcEV8UNU1T13XMhd5DzuL0Wp0lNZjpuaqqtm2xQfDoTK0iMMhVxQsRDYvK5XmeJMmmiFrnyjLO+BO7RNjDnGVZmqZlWX4QSc/CWi8pF++6jhLTaHCgqZkApfTppD9f7b3Y8biFolZUzRjrnDUG/uimZ+DdPtprLq3VNBlwOYfZ4iFfEQtyoCE3LheAMY26F0UY4n9Mv3PLO+A7V4rzhwADAFzx4BgPjY4eAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-left-arrow-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAY1JREFUeNqUk0tPwkAUhUvn0dJpBTHqVv0FsNWYaFzJX3ZlIgFZFgIbE6MxRCLBWA3Q0nY8bSXC4IOedjGZO/P13EcLV9dNLb9kHBJNMkoY1Qkhuq5Tx3FyIaIonLyNia4Z3OCcUUp1HaACjaIoF+XjdYT7ppE8nCWgQio6n883B028MSiWVYRMw2CMISlQEMoBisKAU2pZli0EQIbBUR3sf4H8IFi/8+Z5jZtGvX65vEm10CiaAqTUUWbnO+r7vkJx3c5tu43vKCFLIC3GOOMww3lWnV9BzVar1+tjgaNKiJUF46lYwqOUrIBms5XTtWrNNIuu60oplVBWDggZoeMokOJoppw+OjzY39vtdLpKaDr1hRCa1GIpNSkLCy1Aa59NdgmtVatKaDgaV7bL6HIUhpi+OI7/79qPGgxfdiolzGDaryQvLLIEk4Fc79of6vbvKuUSGkdo8n8hRcZkNpPk5OwCLjd8Yf9x8OzYYsu2l2uEzpDj0/M4j4IguH948rx3GLGFBQ4oKP+nAAMAB7f00otUtiAAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-left-arrow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXdJREFUeNqck0tuwjAURbHjT0iCxDbYAntgieyBEUJihsSk7QS1bAAxKNARJITExu513CIaaEV6FVmWX3J83ydkvV63muuQpunhYIw15hwEAaWUlGXZCJGfTsu3ZX7KpZBCcMYYpQARUhRFA0qePz2/4P52GMpQCu5ApBIzxjxIsdYuFq+gRFEbCqXknLukCEG0Aeh9s1FKRXGUxDFAUgpUB+ceRM/3tN1uh8Nh7XC3+0A6cQS18YTIrpKodMfRbDYbj8e4pxaCHRSFCy6qj311LlGmtb5+ezQazedzbHDhdQgFwsr97dzxGAt+gOD5GjQYDLrd7nQ6xb4WujQIBUbHUaC/QFC/3+/1epPJpBZCTs6XbRm3WvItHyWr1erBrmXZEU+SxJ1OgoKjzN7UV/tvHf0mdOmY5xjganwcApsLqwEIwgSlWVaURcDc/4UUObd+JhsMZDV7YEVKa1WqgHovLW+K7ff7f/z9Wmk4AMVa47pJ6acAAwDbUso/kA6gwAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-right-arrow-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAT9JREFUeNqck0uLgzAUhfMSXAkdOiCi4Mb//39cua6MGxdK8+pJ0mZipjDjHEK10fvl3nuudJ5n60UIpZQUXuS8BGMMEGsNWFprKSUX4uNy4ZyfAoHDOMdyEkLgTkl1u82AnssonoyMjDHU1UeVUl/L8nm9/gcEAYQEHYoQsLZtK8vyRGlRKC0U6K9833d71DiOPzeDXLMjFc5xXyMoWhss7+a3Fq+u6+q6DokfXEv/G5ckZ8zViH6j2DR5/GJzmqZ1XYdhSI8RKRgPKA3tdkK70lfDPfbbtm2a5jV970Cvt62/WD9iB1BVVX3fwwHjlQbSdF7CY/h1v0ulpCgKkXgaDEkbfOhRPC3MkVIayxhH58eMYhYZ4gmKbPOU9svii8sC3sbnoJCOd8lZjjn6NTIHITYUhmahO5nlf9dDgAEAn/cvPZYArNYAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-right-arrow-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYpJREFUeNqck01PwjAYx9eu2xLjNATjh2CRC+IBT/Kp5Woi8bCLBw9GphINRoMMonR9WVufbbhsxAPzn6Z76dNf/8/TloRhqLVWSslUy1QpCyFMrOYirutqbQBl2ylGhguhpNw/bGPbbgwyBkCaEIIxBkMsYcv5m986bsQinufBA1iQneM4NuAQNpR+LT/3Dlr/AUEPrI0vy1pTyhOKidMgteLN5MopKCu/1uuEc2Gq0Zej0flg4Pv+HyBQ+aFzX0CR0uOOIFwAqxodRY+TSXTW73e7JwihGgjqUn5kjhBSSjuucHLx5ffWylLK6/F4NpsNhxc1kF3ZGvCCKwJ7jNUcFbkHnU4QBFtDm9LWoiFeZ/VKEsY5qw4dtduQFNQoTSW0GqhMVeeCjVNpJqj2x3zB68ue9nrQb/3cgMyvslsiJRiGBopXq/f5ojgWO20/zC9ONrgQQnABW84pTW7v7hljDQ5kASrsCAGdjOPV1U24pkmzuwZzTV4aKO305fUhep48TXfPqNSPAAMAXbEphoLM6uIAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-right-arrow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAX1JREFUeNqUk99ugjAUxtfSwtggGRn3voC7cZmXZpdGn8G38wV8D6/0xjvvJZnJUEoLtPuAiIpbJicN9M/Jr9/52pLlcqm1LoqCUotS4vu+53kP3YPZtq21ASrPcynldxy7rvvW7zuO0wlENpuNMaYWpZRKpUxFioXh8KMTi2y3W/zAAgiiABKJOCaJ6z6+DwYdSqu3BQhfsBhjlFL0wdrtojB87eBR3TNVVBRSVqp1FEVB8HKZPZ/Pp9NpEAS/gBDNQFe6QMkyR3IllUL/Mnu9Xq9Wq/F4PBqNauFnEOe8GZSKCCkKzW2F+SIvXWvtjJNdLBZwdjabXYEsyzor0ppeBLcZXGuBkP9ZRWuJtRSWuqBMl35xxlvZvV5vMpmEYVifzNXxZ1nWyMEalCdJEseHw+Ho+c9PrnvvqZlTgAJomko0xAMxjm3flvYnCKn1zYavuNlSSTRM4sndTylLQw2NHDBEKmQqGbNuvfsH9LXfm9NDgztCiMa1TvEjwADa4Bo+zuuFWwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-up-arrow-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQ5JREFUeNrUk9FuwyAMRbFxHvIn+f8PSpTkKe1DOilSUyhk16bTJjStm7SH7UpERj6+gCG0bVvbts6544NyzlUAxRjZ/UR/msaBhmHA91v0siwn03M6hDBNE4J5nhE/ofu+TykhQKfHcayyUs27rqtu59/0+9doqZp9ve7oIBE5cp7ZizDiikanLpeX/baLB8NKO0Ib0y1g2jTyTsPsdD7jfTQiMPNcChweChqeUg4hihXoWNcVqEAw8cVd7fGucD/McMuHXZPg/4n3u/cKizdrbNd7WxkFmVS5SLAK8gqa2Fgi3YnZG0xwR3wIxgPixwb0gIYWlfNpALok3vrwiUoWgZpa/Vd3VFzKOq8CDACjBLiBGK0ZHAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-up-arrow-highlighted.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAX5JREFUeNrUU0tLw0AQ3sdkk2wa21qfrYoogjcPnvwP9Rd7sArV9iC1YKEtggcRRC1iiX1lk3WygaK9VMGDftnM7Ga++XYzk9CTs0vf96MoCg3Gk8nYYDRKDF7pk0kYqjBk5Cf402ytdbV6gfZb7JtWq93pdLrd+ewgCGq1Ok6azeZwOJzDPq1UsOo4UUo1GtczUZhZH5fLM935N/X+NfaXmsSRAh3ZrsU8Gzs5GAyfX17xi51lax2P3vuMxK7rWAiwKKP57MLaytL9w2P79o6YJoCRjN56TwK49KTrSlsI5DPGYh0rFe1sby4X8uf1qyD9G4J+T1hcSul5XgZHBkcCP+P76DyvsJg/OjxItDEfMxzHldJNlKWLwkII1CaEqkhxzgFgs1Tc2igCJ7FtC8exbTu5LcMFsDhnlFKIAR1mcuD7e7tgARcG+GoIDJgwNR4t0UTgJrgsra9CSkLgjngyZEzrlc4xQCysp87lsownajxV+kydJtD0JAYfAgwAo0qgTdQcI7EAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-up-arrow.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAU5JREFUeNrkkj1vgzAQhrF9/sB05v//gGSJlCE/IIK2azNkz5YiAflQAAN9baQkytC0W6Uewpzxc3f2vWa73S5N03Ech2B932N0zvXBrg5+1nXNo9/Yn6ZxoPl8jvFH9Hq9zvM8y7LndFVVy+USzmq1Qsue0LPZrGkaOG3bLhaLh1X2X9X5xuh+Upblfl9cmgvnnDGmlTKxkUSPNBq13W4/i8IYI6XkzD+dc5eywvQlsTcacry+vaPhSWLj2CKlD+B8GNH4Hqv14ZiEAE9/bDYQx1qbeNxqDVqBhmRQBzuBrnA8DYVOp3NsYgsw9iMSK+VpKO16J4Qgoq7rXNfR4XA0WhmjtfavDCyRFMIflAbCB5GCBMQn3AEVTKIkEQ/twDu1BQXGSKGI3xhonJ2CoaK/ZYzdblzwsRDJMYpwCsOFzyamTPfoNYBNOwn2JcAAJXXV9kM4kCMAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-vertical-knob-bottom.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUlJREFUeNqMkb1OwzAQxy+OExgZeAAk1IWhon0V1oqB12BkR0LiEUCCCioxQFmYIR2YWkqFBFKqxpQ25It8f5gzShADlWrrZ/vs+/vsO+n0vMObzQZ8zD8hTVNIkuSHOEaSGOeK5PdMoPW0gnDO7SzLQJIkWLYJfwDJI6gZ+L4PCqVLi4MgwGD8laRp1jZNE1RVWVos/OMwvJaZMRnUtxs7lNJ1qij47wzyPF/IeDyG6Tvr3XWvDoj2cB/NZ9PWRNctz3WAELIwomEYwBhz3l6G+2g6Mg78tnsz26zVLlbU1XrB8w2RkCzLgWOPoggsywJd12HKmDbsP+49P/VHqPOqFItZZEw9PDrelanSCsJoy3bcNe/Ls0M/GLmu3bk8O2mjjy9yhiR/6yPW4s1KiYrI5V6B5EKApCXFf8WtLqkQNi8vqBA2fAswAMMZzeG4WyTTAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-vertical-knob-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAIAAACOvmNtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACpJREFUeNpiXLpynZGR4as3737//v0LDH7+/AWEMAAR+wWUPX7iBECAAQBhgCfi/ZM1bwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-vertical-knob-disabled-bottom.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUdJREFUeNqUUT1PwzAQvThplzIwsJUhA1kY+Av9EawVAzPwBxj5NxVi69iqG0qZS+gABCGQkihtonwotZMzvspBXZCKpeezfe+dz8/GZDqTjuNAkqbQNA0IIaCua+BcbNdCcOB0JurfHEXvxUMmpUxIZBgG7DuIr0bG1LSoqgosy9pbvNlsKLwxVWWUqpb/Iya+4HxsHvR6ixPHOTcZO6IC9CZEVK3hNiI20GC7RgjDEFareP7kPt4xz3uukmQ9jKJwXZYFMMb+vDGOY0L6/fV5Sw2Ytm3LuetG/eP+fcfqnkmQNhmiTVGuc8jyDIIgoBtd//318sP3l2SYMRgMiENW06O7V9c3F4yZQyU6zYvisCzLRBm0LIr8YTadjBSnUCipbituC1DPHY2ugqnPkH6IBApCA3ctlpqAOllpoaFzuAPaw48AAwDbB9BTAAnfJQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-vertical-knob-disabled-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAIAAACOvmNtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpi3LvvgKqq6oePH//+/fv79+8/f/78+vUbDED0HyAEC/75++fq1WsAAQYAbM4oZ81Xt6sAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-vertical-knob-disabled-top.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUpJREFUeNqUkbtKA0EUQO88drNJdjMJSSyUoGghmkJE1HJrsfKBGEtLn5Wf4FfY2lvYqaT3B8TCkPULEtiwI/uY8Y5sEUQxXjjMneGemTszxPd9+BYEoTkkR+eoHJMD/0EyaxZiI2xMzpAYSZDUbMLHRJPbJ6dnHcb4VhzHbfkhF6JI9qWUr1JG3e7T4x3WRDkxwba/xMNOZ67Vmr0ploq+UhqyTAGlFMJRCKMwhMFwCMPB4Lnfe7sKgn4PndCcxs4vLlc8z3sQ1WqNcwvwVCSBJEmg6DjAGINy2QXO+GaaZvca9P57ELzQpaVlB53bZnOqViqVQSkFv0W9XjeI6ZnWNU4F3dndO3Zdd9GrVLDVDP6KRqMBnlfZWF1bP6LY0oEQAtI0hUnD1Fu2vW2+pu3gvf4jFwoFM8xTQkjVPIjWemKZWxzrQXwKMAAaxXA5BvQ04AAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-vertical-knob-top.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVNJREFUeNpiZMAEjEDMBMWMUPwfiv9B8X+YQnRNLEDMCsRsQMyMpPkvEP8C4t9A/AdkCCOSRpAmtp7+SZEsrGye37591/7y7avy5y9f73/59PnGly+f9q1etmg9UM03KP4FcxZLcVmFgrq61mxuXh77v//+M/z584+BmYWZ4f3792D88uUrhjevXp28euls6fWrl+8C9XwGOYtlwuSpBgryiofEJCQ0eHj5GZiZWRiYmJgZ/v77C6SZGNjZ2Rn4+QWA/H8yzGwcQYwM//a/ef3qE7O5hSWXo7PrDikZGRlOLm6GX79+M/z9+xcr5uLiAtEcTMysGnduXtvB3NrRmyEsLBwjKirGAPQnTo3IBnz99k1aUET0PRMrK0sYUDPYRmIBSD07J6c30///DNrc3NwMv//8IVozyPb//xmVmBgZGQVYWFiAnP9Ea2ZlZQWp5wcIMAAiP6Ghx1+GGwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-vertical-track-disabled.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAIAAACOvmNtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpifP36NRMTEzMYMCEBRjBgAIP/YPDv3z+AAAMArN8L7foJbfsAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/scroller-vertical-track.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAIAAACOvmNtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBJREFUeNokxsEJADAIA0Cise4/mBNJtNDe61BV58nMH5IR4e5mBmB3Z0ZSd18BBgDIAA7SuCPczwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1JREFUCFtj2rt3L5OTkxPTt2/fmP79+8f0//9/MI2M//79i5WNjY9sxokTJwBXtEPtiHmeoQAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-disabled-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpi2Lt370yG////z2T69u0bA9O/f/8YmIBcKAuN+Pv3Lx4uTjE0Q0+cOMEAEGAAD7lHUquXzXYAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-disabled-divider.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpi2Lt370ym////MyAR//79gxJoXDTi79+/eGSxGQC3AyDAAN4mR4fIJKx/AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-disabled-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH5JREFUeNpi3Lt3LwsDA4M3EFsBsQDL////fWVlZT3k5eUZ2NnZGZiAAtYyMjIM//79Y/j27RsDC5DBC+LAAEgLAwjDBUCyKCrIFPj79y8dtNDEDGQBUBB+/vXrFwMsoJiAskefPHnC8PPnT7BKUBBufv78OQsQmwF18AEEGAD19p6n4TmfGAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-disabled-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHlJREFUeNpi3Lt370wGBoYPQHwMiLcy/v//f+bPnz8ZHj58yPD48eMdTN++fWP49+8fg4yMDANQ0poFxIEBIJuXBSgKFwCx0VWQJfD37186aKGJGRgCsAD6/fs3KIA+g1WAOM+ePQOpOMpy4sQJkIJPQHwKiDcDBBgAYcihtIbGbDIAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-divider.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACRJREFUCFtj2rt3L9P////h+N+/f2CMzEbGf//+xRDDpgdqHgArhUbwsMigfwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-highlighted-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADVJREFUCFtj6tpwjCnS2Yzp2tufTP/+/Qfif0x/gRhM/wWx/0JoOBvGB9JoapD1gsy6eu4kADcbQ5oyd/JRAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-highlighted-disabled-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD9JREFUeNpi6tpwbCZTpLMZA9O1tz8ZmP79+w8i/jEw/QURENZfMPcvjIXERYj9hepAU4xmFNj4q+dOMgAEGACr+UQz3IvZcgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-highlighted-disabled-divider.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADJJREFUeNpi6tpwbCbTv3//GJj+///PAGFhEH8ZmP7+xcb6C1UCZiEkEGLYzANZBBBgAL41RzPloL1CAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-highlighted-disabled-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKVJREFUeNpi7NpwjIWBgcEbiK2AWIDl379/vhpyEh6aClIMXOxsDCz///+3FpeQYHjyjYHhz5efDCAVvB9+ARUz/AMRYAEGEIYBsMBfdAE0FX8Z/v5FEgBx/gIFCaj4i24Gspa/f0Fa/qK5A9UMNBUQa/E5DOIXDFvwew7VUCagwOffv34xwFSCBI6/fPaU4ddPkOB/cCBvfPvqORMQmwF18AEEGADSXZ0uKgg45QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-highlighted-disabled-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKdJREFUeNqUkEsKwjAQhv9Ktq7tXbyhN+gtdCF4goou3PlYiooPqCAWCm0zE2d8EWNBDPwQvnwzkyTq9dMEwEWSSobRNrdJUVZYrvdYbY6j1uJcYlcAnTiGc65rmB0qjfjM3BbAeC3dGwrBt0E+IC2hN9DDBsMDD8MreRp+Dwp7cJPB/GvsxxQO70H44/lkrYL8/oW2rpGdDgrGZj6bqHCVTCWDmwADABEdo9VXvegQAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-highlighted-divider.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACtJREFUCFtj6tpwjOnfv39M////B9Oo+C/T37/o9F+wHIiGicH46PqBZgIAEU5GmoIeoQQAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-highlighted-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKJJREFUGFdj6dpwjI2BgaEOiBOAWJrl379/jRpyEhWaClIMXOxsDCz///9PFpeQYHjyjYHhz5efDCAVoh9+ARUz/AMRYAEGEIYBsMBfdAE0FX8Z/v5FEgBx/gIFCaj4i24Gspa/f0FaUMz4h24GmgqItfgcBvELhi34PYfp/de/f/0SZWZhgQssePnsaamIuCQDCysrOJBr3r56zgzEUUAFEgD4NZMFqr7d7gAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-highlighted-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUGNOVjzsKwlAQRU/kbUHM/tyGlZW4ilTWrkKwsfNTit+IWgmBJG/us/BDjAFxysOZe2ei4XgSgD2QAP1oe/MhywuW6wOrTTpoLa45uww6cUwIoeukQKFAAUhqO0m8RhLO6uDbsCownMnewKzRqICHUVl5GtUMq2eoyZB+1X60qH6H8cf75j2Szk4K+LLkcjoiKXHz2RQgBUZA7w6pZqOrnOa4eAAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHhJREFUGFdj2rt3LxsQtwDxEyD+z/T///9GGRmZamtra2knJycGkEAyUIDh379/DN++fWNgAjJEQZy/f/+CBUEqGJAxSAUDMiZXAGQDDNNOC03MQBEABsrrX79+oQTQ3CdPnjD8/PkTrqL++fPnfWfPnn1x4sQJBgBuoxapBuMd2gAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-pushed-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACpJREFUCJljmjx5MpOFhQUTIyMjEwjAaGTAzMyMk48uBzODh4eHae/evQACDwVlbTA8UgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-pushed-highlighted-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUCFtjCquZyKRtbM7ExMjEBCWYmMEkkGYGsZmhNIgPZYNomDiSGmS9OqLsTEt3nwQA4LgFKynwVH4AAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-pushed-highlighted-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJlJREFUGJVjCauZyMbAwFAHxAlALM3CxMTUKCQqXiEsLsHAwsrGwMLIyJgsJinDwMzCwgACIBWirGysDDAAEmAAYRQBZnQBFBXMzMwMzMwYWpiRBdBUgDjMmGYwo5nBjF8FM6otYENR3YHVWnwOI8r7r/nZGEW//2Ni+PPvP1hg7uuXLyq0FaUZONkhgVx/8/FLNiCOAuqQAAAUvBbWQgxxhgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-pushed-highlighted-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKJJREFUGFeNj8ENAQEQRd/8GYvEdSVCogBuDjrRgDLsSQc6cKEJFShEspsNBSA4CdZKzPHlzf8zNstWd+AArIFljCZTrpdz/1jki1NZuGQiSVp0ewPMbB6SAaCkgaQ0JPEcSYRXwbfhL+DuhMt/G5J/hrqLcPc34NWVWuOjxat31Ne+Z9QZ/70fMtq6IanUOG0y7BhlkSNpHZvdHiAHtmaWPQB3Dxpmsh5qIwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-pushed-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHZJREFUGJVjmjx5MhsQtwDxEyD+z8TIyNgoKSlZbWRkJG1hYcEAEkiWlpZmYGdnZwCyGZiAQBTEAdIQDBJFxkxwGQQmS4CZmRmO6WgGNaxFwcBAeQ0NGHgAzX327BkDKysrAw8PD1hF/ePHj/sOHz78Yu/evQwAKaocei2dPwMAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-pushed-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHpJREFUGJVjmjx58n8gfgLELUDMxmRhYcFgZGQkLSkpWc3IyNjIBCQY2NnZGaSlpRmA7GQmIGAAYZAgkBYFq0DGcBVImGQBZmZmBhimoxnUsBZDABoosAB6zcTDw8PAysrK8OzZM5DEAqa9e/cyHD58+MXjx4/7gCpqACrxHHpLd88mAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/segmented-control-bezel-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHRJREFUGFdj3Lt3738GBoanQLwAiJsY/wPBz58/GR4+fMjw+PHjDqZv374x/Pv3j0FGRoYBKJfMAuLAAJAtygIUhQuA2OgqyBL4+/cvHbTQxAwMAVgA/f79GxRAr8EqQJxnz56BVMxlOXHiBEjBCyBeBsT1APoAoYpapz15AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/slider-circular-bezel.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA5dJREFUWMPNmMtLG0Ecx2eDRopFGijUVCpeSnvxVKSn/geFXAIVLJ7EQntoCsWKPQqpLYgQjW9UtCD4QOv7GYOoSUWJokERUfGBDxRBQw/SMP19hxGs7K6JZiGBD4bZ33y/38zOzM7KOOcsHoiLEPEZJJpPc3Nz0sDAQBbxjngvwfcsXBsfH2eRcpsgSk9Pj214ePjX6OhoyO/386WlJb68vCzAd7ThGmpQiz5jY2NMj2iCKJ2dnS+HhoZ+z83N8Z2dHX5+fs5DoZD4e3Z2JrjahhrUog/6QoMCMjUiDWKiX/aJfuHF5uamMDk9PeXHx8e6oAa16IO+0IDWyMgIu04kQRDCtbi4yA8ODoTB0dFRVKAP+kIDWtCkUWJXuSmIqaOjw7GwsMBPTk744eHhnYAGtKAJ7cHBQXaJXhClqanpVV9f38X29jbf39+PCdCCJrTh0d/fz4BekMTu7m7/6uoq39vbiynQhDY8KBQDWkGUxsZG+9TUFN/d3TUEaMNDbgeaQRLb2to8wWBQDKURQBsecuTVg9hstoddXV1/sey2trYMAdrwkF6qQZSysrLXtLb5xsaGocADXvBUC5JQWVn5eWJigq+vrxsKPKqqqr7AUy2ImYJ883q9fG1tzVDgAS94qgVJKi8vL/F4PHxlZcVQ4AEveKoGKS0t/UrPBjGzjQQe8NIKYi4qKrLTTBaPdCOBB7y0bk1CZmZmBm3BYTwX8KAyAmjDA15ak1UhLG632zc5OckDgYAhQBse8NJavvgkFxYWfqDDDJ+fnzcEaMMDXg0NDZpbvJl4TDM6gE0Hp6xYAk1owwNe9fX12g89IiU/P/9NbW1tGMM4OzsbE6AFTWjDA151dXX6xwDiEc3qEjrI8JmZGXEovgvQgBY0oQ2PmpoaBnQPRsQ9Ir24uPhne3u72JJ9Pt+tQF9oQAuaUluprq5m4MajInGfyCgoKPhBszzc29vLp6eno4IOPlghYWhAS2qaaHtnl0R0eJYd07Ozs9/SThhsaWnhdLwT9xsHHDVwDTWoRZ+cnJxcORIiBAVjV4n4dUIOJe7rs7y8vI9Op9Prcrn+0NLjra2t/4E2XEMNaqnPcyJVapgqKirYdaJ6wZITGDPdSjy1WCwv7HZ7rsPhcBLfJU60Wa3WLNTI2hTZV6Fly9S41SunFE0mHshRSiOeSNJkm0XWiAA0QkyPO72Ey1AJcgNMkphlmxKNUNz9W+Ifu9qUIf+T8EoAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/slider-circular-disabled-bezel.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABCRJREFUeNrsWElLW1EUfi9DY4yCimgcUBtUuihtN666iYlBA6LYLOoPcOO09SeI2J0TKKIiCC1oF7oJiaXdZOFGbG2xZKGxzvMYM+f1fOl7ksQk5mkCLnrhkDfd833vO+eee15YjuOYpzDY/0TiEWFZNulJ09PTsvz8/FI6LCOT8JeDZH+Oj4+3S0pK/Mn60ul0oV+ZGNLz8/OvFArFW4lE8iI7O1uhUqluXwAv5HQ6Gblc7vH7/b89Ho+tqanpx+LiIpcqRdi5ubkKAm0lFSoKCwuZnJyc0POYGz5fuHZ+fs4cHBwwpI6DyH00mUwOq9Uak1BdXV1SRKCCnlR4V11dLSUiDL0tEwgEEr6dVCplZDIZiDB2uz1A6nwmdb5YLJY7ZAwGw71EQOJ9eXl5LVSA42AwKCoBKYQh4lBnc3PzK5H5ZDabI8jU19f/ezZeOGZnZ3VlZWW1paWlIZJQQQhFsoY5mAsf8AWfDQ0NbPgzt6RjkZiamqrMyMgw5eXlMV6vN6TEYww+4As+4dtoNLLCPWHEWjUSSkZTZWWlFLEWG45EeQOfFCoTnX4gNSISLVoRdnJy8jUl5fOsrCzRobjP4BO+gdHY2MgmUkRCy1Sbm5ubMiWiB3wDgw6/E0YgJpHm5mYlFaSqzMzMtBGBb2AAi1S6jkWE1Wq1GmIric7oVA9gAKulpWWV44EiiFDhUhPbtKkhDGDQCiqiw5/YHaKJIHFVWPfpJsJvBZk8ZvBOjlABCmXyfSX8sYPHiCjlEUSo8Lh9Pl/aFQEGsOISOTk52b+5uUk7EWAAKx6R4MLCwibtshxkE9MoiRlYJBcXFxywhPyIJsKtrq66qH/YuLy81FDjkxYiV1dXaKA2gCWsmDtEkK9bW1tLarUa9SQtRI6OjhhgAGtiYoKLt9cE+vr6VnZ3d7cohinfa+ATvoEBrER7Ddatm2QzU3Fro6LDkqVECbfbzTgcDoTfjFNghVfvaCK44xsbG7PTLmmhHqK+uLg41Gk9tm4cHh6CiAW+gTE6OsqFKxILAXddvb2939bW1pZ2dnYYl8v14HBgLnzAF3zCNzCi97N4PStOnpFl9fT0aKlvNVCrx6LLEjPOzs7Qq3Jk1v7+fpDAbusdGRm5ZdDe3n5/88yTUbW2tlbV1NQYCwoKikAGSzteuCA3lujp6SnCsbe8vGyemZlBOJwgMTw8HLGtd3R0JPc5weeREtbW1vZSo9G8oU4LHZxcqVRGPIwwXF9f+8g21tfXV8bHx3+hkPLh8A8NDd3pLTo7O5P/wOJzSU6mgFGXpdTr9UXUnavDPzm3t7f3bTbb/t7eHsA9vPlwb3BwMGaD09XVJfrbVyAEhaT8r4S/Lqw4JLqfLwP4DQ4MDCTssLq7ux/+Ec6DszFWXZAnxInZe57U3xJ/BRgARVYyv4nD3moAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/slider-circular-disabled-knob.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGhJREFUeNpiVFNTE+Dk5IxiY2PT/vXr19Xv378vYxEVFU2QkpLS5OHhYfj69av+06dPOVmkpaWV5OXlGYCqGYCqGBgZGZWYgCrugQRYWFjAEiA+05cvXxb9+PHj6p8/fxhANJA/HyDAALRmJzIlcakAAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/slider-circular-knob.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUCB1jUFNTk9bX199oamr6E0SD+AzW1ta7QkND/ycmJv4PCwv7D+QfYAAyPpeWlv6vq6v7D6LDw8N/MiQlJe0CCTQ1NYElkpOTwSrlysrKtoMkQDRQpRwAeJEtgtzX+HUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/spinner.gif +Content-Transfer-Encoding:base64 + +R0lGODlhEAAQAPQAAO7u7gAAAODg4IGBgdHR0UFBQXJycgAAAFJSUiEhIaGhobKyshISEpKSkgMDAzIyMmFhYQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAAKAAEALAAAAAAQABAAAAV2ICACAmlAZTmOREEIyUEQjLKKxPHADhEvqxlgcGgkGI1DYSVAIAWMx+lwSKkICJ0QsHi9RgKBwnVTiRQQgwF4I4UFDQQEwi6/3YSGWRRmjhEETAJfIgMFCnAKM0KDV4EEEAQLiF18TAYNXDaSe3x6mjidN1s3IQAh+QQACgACACwAAAAAEAAQAAAFeCAgAgLZDGU5jgRECEUiCI+yioSDwDJyLKsXoHFQxBSHAoAAFBhqtMJg8DgQBgfrEsJAEAg4YhZIEiwgKtHiMBgtpg3wbUZXGO7kOb1MUKRFMysCChAoggJCIg0GC2aNe4gqQldfL4l/Ag1AXySJgn5LcoE3QXI3IQAh+QQACgADACwAAAAAEAAQAAAFdiAgAgLZNGU5joQhCEjxIssqEo8bC9BRjy9Ag7GILQ4QEoE0gBAEBcOpcBA0DoxSK/e8LRIHn+i1cK0IyKdg0VAoljYIg+GgnRrwVS/8IAkICyosBIQpBAMoKy9dImxPhS+GKkFrkX+TigtLlIyKXUF+NjagNiEAIfkEAAoABAAsAAAAABAAEAAABWwgIAICaRhlOY4EIgjH8R7LKhKHGwsMvb4AAy3WODBIBBKCsYA9TjuhDNDKEVSERezQEL0WrhXucRUQGuik7bFlngzqVW9LMl9XWvLdjFaJtDFqZ1cEZUB0dUgvL3dgP4WJZn4jkomWNpSTIyEAIfkEAAoABQAsAAAAABAAEAAABX4gIAICuSxlOY6CIgiD8RrEKgqGOwxwUrMlAoSwIzAGpJpgoSDAGifDY5kopBYDlEpAQBwevxfBtRIUGi8xwWkDNBCIwmC9Vq0aiQQDQuK+VgQPDXV9hCJjBwcFYU5pLwwHXQcMKSmNLQcIAExlbH8JBwttaX0ABAcNbWVbKyEAIfkEAAoABgAsAAAAABAAEAAABXkgIAICSRBlOY7CIghN8zbEKsKoIjdFzZaEgUBHKChMJtRwcWpAWoWnifm6ESAMhO8lQK0EEAV3rFopIBCEcGwDKAqPh4HUrY4ICHH1dSoTFgcHUiZjBhAJB2AHDykpKAwHAwdzf19KkASIPl9cDgcnDkdtNwiMJCshACH5BAAKAAcALAAAAAAQABAAAAV3ICACAkkQZTmOAiosiyAoxCq+KPxCNVsSMRgBsiClWrLTSWFoIQZHl6pleBh6suxKMIhlvzbAwkBWfFWrBQTxNLq2RG2yhSUkDs2b63AYDAoJXAcFRwADeAkJDX0AQCsEfAQMDAIPBz0rCgcxky0JRWE1AmwpKyEAIfkEAAoACAAsAAAAABAAEAAABXkgIAICKZzkqJ4nQZxLqZKv4NqNLKK2/Q4Ek4lFXChsg5ypJjs1II3gEDUSRInEGYAw6B6zM4JhrDAtEosVkLUtHA7RHaHAGJQEjsODcEg0FBAFVgkQJQ1pAwcDDw8KcFtSInwJAowCCA6RIwqZAgkPNgVpWndjdyohACH5BAAKAAkALAAAAAAQABAAAAV5ICACAimc5KieLEuUKvm2xAKLqDCfC2GaO9eL0LABWTiBYmA06W6kHgvCqEJiAIJiu3gcvgUsscHUERm+kaCxyxa+zRPk0SgJEgfIvbAdIAQLCAYlCj4DBw0IBQsMCjIqBAcPAooCBg9pKgsJLwUFOhCZKyQDA3YqIQAh+QQACgAKACwAAAAAEAAQAAAFdSAgAgIpnOSonmxbqiThCrJKEHFbo8JxDDOZYFFb+A41E4H4OhkOipXwBElYITDAckFEOBgMQ3arkMkUBdxIUGZpEb7kaQBRlASPg0FQQHAbEEMGDSVEAA1QBhAED1E0NgwFAooCDWljaQIQCE5qMHcNhCkjIQAh+QQACgALACwAAAAAEAAQAAAFeSAgAgIpnOSoLgxxvqgKLEcCC65KEAByKK8cSpA4DAiHQ/DkKhGKh4ZCtCyZGo6F6iYYPAqFgYy02xkSaLEMV34tELyRYNEsCQyHlvWkGCzsPgMCEAY7Cg04Uk48LAsDhRA8MVQPEF0GAgqYYwSRlycNcWskCkApIyEAOwAAAAAAAAAAAA== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-rounded-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAIAAACOpGH9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCB1jWLRqJ8OFq3cYPnz8zPD//3+qYKBZAMWVP/kpEKROAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-rounded-focused-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAYAAADtlXTHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADdJREFUCB1jWHjqkTwDkIgHEftAxH+GRat3/Wc4f/XOf4Z3Hz79Z/jz9x+NCLDxYCthloOdoQAAdj5sTxjpYWAAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-rounded-focused-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAAeCAYAAADKO/UvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApdJREFUSMed1UtPE1EYBuAaMS7QhMiCxhjdqBtxqT/AG0tNcGGicaEu5EeoS9l7CySmBakhphIjJRHkqlQoNG2RAikU7CW2tbYULKD09vqe4TQ0k+l1kmc575zvnG++o+uaCejKOEAH6TAdpUbS0wk6SafKvXyIjlATnaWLdJVu0C26Q3eLBdRRvfzieWqh+/SEXlIv9dMQjWgFiK830Gm6RG30nMYpTFDTCjhG56iVntIXShu+raFjYBYd5jG8No/A0PsJXe8G0U3qEhpkwG3qpIBx2odOiw1v3g/j46AVo5MOTNkXYJ/zwOlegWvBi8JNrJcltMqAmMHqhaFvHAPD05hxLsGzGkQwFMWv3wnEE5tIbCSxsZlEYRl6uQeiBL8IMH0Yx8SUS3k5Gksgub2D3VQKmUwWuVwOOew9+RCximZ6SBNGmx89/V9hnXXDF4zgT3Ib6XRGeVHr0clGapLn/4xSxiGHsgIRsLX9F5lsFtqv74eITjxD92jUOPUDlhEbPN6AsgIRUO7RyVa+QI/oZ9eYGzbHkrJ5SgllI/ZCRF9coReiccyjDmUVya2donugFSL24zqZRMiQdU45xn+7qYoC8iHH6Sb1iZBJ+6JSijjGmkNsLg9i65vIVliKupy3IsTqXK4ppLFwYz/PemoqJ3/Ejylknl5RNla0dzUhhc021m3zYdEbrPqI821/TbZ92mJfVX64apqt8Ads2xtCfjg8waraXj0K2sUw6pnxYdkfrvgHLDaU4iYGza+FKxoF6vHYXDgeu1na8HwAoej6/lDKag8l9aBull3cLgd1podhg98DcK1F4A3FNcdjsSvjstxs0YgTFKnkyih1eT2Ql9creXlZSl1eWteovpZrVB1WV+pC/w9TNVqlMEGHagAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-rounded-focused-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAABEAAAAeCAYAAADKO/UvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAoFJREFUSMellUtPU1EQx0uAsEASIgubaHRj3IhbPwBG3ZpgjInGDW78FC71AygEEtMWITaGGiIlsdgioKVP+5CHaS21D9PW2lJqLUb6GP9Tz60V6eWWnuR3d/eXmTlzZlQ6Z+wMOA1OATUYAH2gB3SCDqCSgz93wG1wE1wDl8FFcA6cAMdAt5yMPxawAOaAHoyC+2AEXAUXRIS9oKuZhA4gCZbAI3APDIGzoF9E9a9k8rmJdECjf0VPZiw0PvOGxuddpFkNs6wEVsADMAzOg+P7RSrfRoi865/I7Q+Qzb1Bi+889NJkpacGM00YHaS1R1gWAxPglhD1N6am2skXKLdToGwuT1+/5SieSFNgK05O70eaN9tJ82KJNNYQizJCNCxS65WKrSKcKlOtUrlcoV97e1Qo7lI6k6vJlm0+mp6ti6IitSFR7O66ZP9hYalUpu+FIkXiKbK61mlq7i1pHVEWLYtiD4rr7zhQIkVXrlToR/FnTcQRaRc8UrH51q6IPupsKpEOizgiTs1oQaFtn0lc/4hoyJ5DJRwRp8Y14mLrLH6WpERDcmf3HSqRasTFDiIaw6JHasgx8UQGFEn48K19wfWbV/2SRC/emlqxhGvDKdneb0qSWXADnFQsqSClzHaenOjstiVWb1CSPGs9HXQzP4vXrnoko0curMEelEbF0a54MxSnSUekvWYzurfaa3tPAFE4aw9w5UgPMBhN0pSzPpwetjwK1sJJmv4jyCobSpW/QymR3ibzWkxKoXE8DsqOx1AiS75wikwfYgi/9nNZ1IBTuC4E/w/qJisjJSbYY1HES7Iro2F5GcXLHBONdLeV5SW3RtVK16jcQu9SstB/A7wYWu6etp7HAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-rounded-left.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA0AAAAWCAYAAAAb+hYkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdFJREFUOMuVlNtLAlEQxucp6CnoKQj6w4L+gKC3iqR66E5IN6Ky6EZKmYaR0c2yoMjMXNJASbtApUTZxbVVS9t1mnPKiDJcB/bt/M7MfOf7FmpbRiD71bXqoKF9DJq7J6FzwFDaN2quHplesk7MrgjT8+vyjNmGevq+gXoCGrvGoaPfUDw4YdEYFjbFZZsDd/aP0Sn4UTgJosd3jl7/xSdU3zbKb9cOG8umjOuuVfshHnlOMXgZwtBtBO8fovgUjWFUlFCMScg7MKBHZyqftWxd7zq9/HDkMYpSIompdBplWcFMJoMZ/Cw+knbIWESAy+H24VXoDl+kBL6/y/xgroL2fj3QSBrWgQHxxCvKioK5j39BtHTJqt35FLy44R0YkK+AJKx0HZ/yZflImL/AuuGwsi5SPPnvDn8geocAk/UtlUa1BQeCX2SjMVlVQ25vQHx8jqGicrQsFCgYovGsBY9HQlQxIZhdVEMkeQl5TSxIcv2CDcjRGmZQ1Y9LNgKKQhF1E1TbiELHDAt7zpPy6/BdWJVheTSGjTC3aIcDt6+CQFfeaGRD2KszcZA6FtOoTbSj+B1C5VcIf8Ud6AcCa9uHTJzSs8tQTfg2skIXeH7G/QMDueJzvPRB+QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-rounded-right.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAA0AAAAWCAYAAAAb+hYkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbVJREFUOMudlNtLAlEQxs9T4FPgUyD0/wm9VRTVQ3ciuhGlRlakmF0oMjSxrCgyNS0VrLQLFEp00VzbLNRdp5kto6Jy7cDZp/3tN/PNfMsM8w6Yxjs1axf0JqtfM7VsGdDNq7uGjMqWngnW0DHG6tq0rLZVI10AYCx4dA6B8Bn4Q1Fw+49gc/cQVhwuMC6sccP6xcbOQaOiqXuc1b+DEsSleUhxPCRTabi9T0Hs+g6iFzHYD5yAzemBSbPd2ztqriLV+nbdG4QPKNAtFEAQRMjmcsBnnuEukZLgbXcQTIvrV33aORWBH9D3Qx/I5wV45DNwGbsBly9MoLd3xFzxK1RUF0QRnjIvEkiKWGrjn1DxEEiKVKrN6U6iOZUlIVKkUqlHMsew4FCXhIo9kjmnqIbjsMiC6JCrcRzHlisQlw1Rb1Si5+A4KxsSscTEQ5o2hy8b8gUjEfnl4bbQmuF+/suI8izHAXNoednDLXuN/BgVheyFvYrfxHfcIRUurLxoIODd84WrZ5acDMP4QwjFLyHksKRmVFAQ0K+dYx8h/Bx3fDGAtlpxMWuwaeXqhofhD0dS+Bz3V7HA8uslKDy0AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAADCAIAAAA2iEnWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABxJREFUCB1jmTNnDicnJ4uMjIywsDALEEtKSgIALM0DDeT4y3sAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAIAAADdv/LVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUCB1jWLVqFZOWlhbDx48fARyiBVLivNzsAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAADCAIAAAA2iEnWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCB1jWrp06Zw5c5jU1NRkZGSYJCUlhYWFAUybBRTduo1wAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-3.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAIAAAB7QOjdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUCB1juHLlysePHwESGQVQhb5n0gAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-4.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1j+P//PwAF/gL+n8otEwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-5.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAIAAAB7QOjdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUCB1j/Pjx4+PHjwETfwV+HAwP5QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-6.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCB1jvHLliqysLOPp06clJSUBLX0FglncIWUAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-7.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAIAAAAW4yFwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUCB1j+P//P9OnT58AF6oF1hwiRUMAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-8.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCB1j/vjxY0xMDHNOTs779+8BN9MH/68NXLgAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-0.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAAHCAYAAAArkDztAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGZJREFUCB0FwcsJg0AUAMAJ+9YPgUV4IIhevHizBhtIk2kjJeSYEtJGLpmJ5/t7Q0HFgA41UHDHhBmJFqiYsOPEgTUwYMaJBy70gQ6JA9fv8+rHcRSoaFjRb9smMwUKBjTITMuy+AM42wji1WBJjgAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-1.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAHCAYAAADJTCeUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACZJREFUCB1jXnjqkTxzYGqhP4joBRELmaNcLRuY6+vrG5jb29sbAOK+DN7MoThrAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-2.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAAHCAYAAAArkDztAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAG9JREFUCB0FwbEKgmAYAMCDPrHJXWp27AFa2trber0eJdpa23QIhAaDH0IQS4m6i9O1XWPGhDdmfANb9Eh44oUhcMQDNW64Ywoc8MEZMKCPaC7GccyzzX6HGg3aqKpKSklHjhUKZFGWJeh+oMASiz+A7SOInCfK3QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-3.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5JREFUCB1jWHjqkQIQxwPxfiD+f+XKlf8fP378DwDW+RK/bGv6kwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-4.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1j+P//PwAF/gL+n8otEwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-5.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCB1j+Pjx4/8rV678X3jqEQjvB+J4IFYAAP2REr8fi4n2AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-6.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAAFCAYAAABmWJ3mAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUCFtjWHjqkTgQewDxZCD+cfr06f9Pnjz5zwDkCAKxKRDnAvFOkCQQgyU4gVgeiB2gkiCd60ASLEDMD5U0hRobBpJghEpyQo0F2SkDAHWKUDJqcdSvAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-7.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAYAAACEhIafAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABpJREFUCB1j+Pjx43+GhacegYk9IFYciJAHAM/uDz+C0SZ2AAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/textfield-bezel-square-focused-8.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAYAAAAFCAYAAABmWJ3mAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUCFtjePLkyf/Tp0//X3jq0Q8gngzEHkAszgAkYII7gTgXiE2BWBAksQ6qEiToAMTyQMwJkgiDajeFCvIDMQtIQgZkJkg7SCVIEIgZAdauUDJ/hcSRAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/vertical-track-bottom.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAAECAYAAABGM/VAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAERJREFUCB1j2rx58//Tp0//v379OpgG8Zn+////C4gZkPBfpl+/fh38/fs3AxI+wvT58+eUjx8/7vjw4QMDiP706VMcAOlpQfMaZOfrAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/vertical-track-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAABCAIAAACZnPOkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVJREFUCB1j3rx5cxEYJCQk+Pn5AQA+dAbTLdUgHwAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/vertical-track-disabled-bottom.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAAECAYAAABGM/VAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAExJREFUeNpMxbsNgDAMBcCH6wzg1amQWCGzUMEAKf1JZSMCdClOt9RaV2ZGKQW9d7TWQGOM+4PJQxFxZiYmF7n7rqqHiODfzLZXgAEAth07HqinDKIAAAAASUVORK5CYII= +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/vertical-track-disabled-center.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAABCAYAAAAW/mTzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi3Lx580wJCQkGHh4ehi9fvjC8ePGCASDAAFQeCLRojHkfAAAAAElFTkSuQmCC +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/vertical-track-disabled-top.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAAGCAYAAAAL+1RLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGlJREFUeNpirKysFODi4opiZmbW/vv379Vv374tYxEWFk4QEhLSZGdnZ/j586f+u3fvOEGCquLi4gxA1QxAVQyMjIwqLLy8vCz8/PwMPDw8DKysrAzfv39nYmJjYwNzkDETUDkDOgYIMABjBxggiQuq/QAAAABJRU5ErkJggg== +--_ANY_STRING_WILL_DO_AS_A_SEPARATOR +Content-Location:Resources/vertical-track-top.png +Content-Transfer-Encoding:base64 + +iVBORw0KGgoAAAANSUhEUgAAAAUAAAAGCAYAAAAL+1RLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUCB1jqqyslG5ubt7Y1tb2E0SD+EzCwsLzpaWl/eTl5dlANJC/FCRoLyEhwQAUYADRQL4NEy8vLxs/Pz+DoKAgA4jm4+NjZmJjY2NgZWVFwUyMjIwM6BgAhF0QgRCnPUsAAAAASUVORK5CYII= +*/ \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLPaths.txt b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLPaths.txt new file mode 100644 index 0000000..e8a0640 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLPaths.txt @@ -0,0 +1 @@ +@STATIC;1.0;u;33;Resources/button-bezel-center.png73;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-center.pngu;42;Resources/button-bezel-disabled-center.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-disabled-center.pngu;40;Resources/button-bezel-disabled-left.png80;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-disabled-left.pngu;41;Resources/button-bezel-disabled-right.png81;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-disabled-right.pngu;45;Resources/button-bezel-highlighted-center.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-highlighted-center.pngu;43;Resources/button-bezel-highlighted-left.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-highlighted-left.pngu;44;Resources/button-bezel-highlighted-right.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-highlighted-right.pngu;31;Resources/button-bezel-left.png71;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-left.pngu;32;Resources/button-bezel-right.png72;mhtml:Browser.environment/MHTMLData.txt!Resources/button-bezel-right.pngu;35;Resources/buttonbar-bezel-right.png75;mhtml:Browser.environment/MHTMLData.txt!Resources/buttonbar-bezel-right.pngu;29;Resources/buttonbar-bezel.png69;mhtml:Browser.environment/MHTMLData.txt!Resources/buttonbar-bezel.pngu;38;Resources/check-box-bezel-disabled.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel-disabled.pngu;41;Resources/check-box-bezel-highlighted.png81;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel-highlighted.pngu;44;Resources/check-box-bezel-mixed-disabled.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel-mixed-disabled.pngu;47;Resources/check-box-bezel-mixed-highlighted.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel-mixed-highlighted.pngu;35;Resources/check-box-bezel-mixed.png75;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel-mixed.pngu;47;Resources/check-box-bezel-selected-disabled.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel-selected-disabled.pngu;50;Resources/check-box-bezel-selected-highlighted.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel-selected-highlighted.pngu;38;Resources/check-box-bezel-selected.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel-selected.pngu;29;Resources/check-box-bezel.png69;mhtml:Browser.environment/MHTMLData.txt!Resources/check-box-bezel.pngu;41;Resources/default-button-bezel-center.png81;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-center.pngu;50;Resources/default-button-bezel-disabled-center.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-disabled-center.pngu;48;Resources/default-button-bezel-disabled-left.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-disabled-left.pngu;49;Resources/default-button-bezel-disabled-right.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-disabled-right.pngu;53;Resources/default-button-bezel-highlighted-center.png93;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-highlighted-center.pngu;51;Resources/default-button-bezel-highlighted-left.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-highlighted-left.pngu;52;Resources/default-button-bezel-highlighted-right.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-highlighted-right.pngu;39;Resources/default-button-bezel-left.png79;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-left.pngu;40;Resources/default-button-bezel-right.png80;mhtml:Browser.environment/MHTMLData.txt!Resources/default-button-bezel-right.pngu;37;Resources/horizontal-track-center.png77;mhtml:Browser.environment/MHTMLData.txt!Resources/horizontal-track-center.pngu;46;Resources/horizontal-track-disabled-center.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/horizontal-track-disabled-center.pngu;44;Resources/horizontal-track-disabled-left.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/horizontal-track-disabled-left.pngu;45;Resources/horizontal-track-disabled-right.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/horizontal-track-disabled-right.pngu;35;Resources/horizontal-track-left.png75;mhtml:Browser.environment/MHTMLData.txt!Resources/horizontal-track-left.pngu;36;Resources/horizontal-track-right.png76;mhtml:Browser.environment/MHTMLData.txt!Resources/horizontal-track-right.pngu;37;Resources/HUD/button-bezel-center.png77;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/button-bezel-center.pngu;49;Resources/HUD/button-bezel-highlighted-center.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/button-bezel-highlighted-center.pngu;47;Resources/HUD/button-bezel-highlighted-left.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/button-bezel-highlighted-left.pngu;48;Resources/HUD/button-bezel-highlighted-right.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/button-bezel-highlighted-right.pngu;35;Resources/HUD/button-bezel-left.png75;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/button-bezel-left.pngu;36;Resources/HUD/button-bezel-right.png76;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/button-bezel-right.pngu;46;Resources/HUD/scroller-down-arrow-disabled.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-down-arrow-disabled.pngu;49;Resources/HUD/scroller-down-arrow-highlighted.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-down-arrow-highlighted.pngu;37;Resources/HUD/scroller-down-arrow.png77;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-down-arrow.pngu;49;Resources/HUD/scroller-horizontal-knob-center.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-horizontal-knob-center.pngu;47;Resources/HUD/scroller-horizontal-knob-left.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-horizontal-knob-left.pngu;48;Resources/HUD/scroller-horizontal-knob-right.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-horizontal-knob-right.pngu;52;Resources/HUD/scroller-horizontal-track-disabled.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-horizontal-track-disabled.pngu;43;Resources/HUD/scroller-horizontal-track.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-horizontal-track.pngu;46;Resources/HUD/scroller-left-arrow-disabled.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-left-arrow-disabled.pngu;49;Resources/HUD/scroller-left-arrow-highlighted.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-left-arrow-highlighted.pngu;37;Resources/HUD/scroller-left-arrow.png77;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-left-arrow.pngu;47;Resources/HUD/scroller-right-arrow-disabled.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-right-arrow-disabled.pngu;50;Resources/HUD/scroller-right-arrow-highlighted.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-right-arrow-highlighted.pngu;38;Resources/HUD/scroller-right-arrow.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-right-arrow.pngu;44;Resources/HUD/scroller-up-arrow-disabled.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-up-arrow-disabled.pngu;47;Resources/HUD/scroller-up-arrow-highlighted.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-up-arrow-highlighted.pngu;35;Resources/HUD/scroller-up-arrow.png75;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-up-arrow.pngu;47;Resources/HUD/scroller-vertical-knob-bottom.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-vertical-knob-bottom.pngu;47;Resources/HUD/scroller-vertical-knob-center.png87;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-vertical-knob-center.pngu;44;Resources/HUD/scroller-vertical-knob-top.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-vertical-knob-top.pngu;50;Resources/HUD/scroller-vertical-track-disabled.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-vertical-track-disabled.pngu;41;Resources/HUD/scroller-vertical-track.png81;mhtml:Browser.environment/MHTMLData.txt!Resources/HUD/scroller-vertical-track.pngu;27;Resources/knob-disabled.png67;mhtml:Browser.environment/MHTMLData.txt!Resources/knob-disabled.pngu;30;Resources/knob-highlighted.png70;mhtml:Browser.environment/MHTMLData.txt!Resources/knob-highlighted.pngu;18;Resources/knob.png58;mhtml:Browser.environment/MHTMLData.txt!Resources/knob.pngu;36;Resources/popup-arrows-pullsdown.png76;mhtml:Browser.environment/MHTMLData.txt!Resources/popup-arrows-pullsdown.pngu;26;Resources/popup-arrows.png66;mhtml:Browser.environment/MHTMLData.txt!Resources/popup-arrows.pngu;50;Resources/popup-bezel-disabled-right-pullsdown.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/popup-bezel-disabled-right-pullsdown.pngu;40;Resources/popup-bezel-disabled-right.png80;mhtml:Browser.environment/MHTMLData.txt!Resources/popup-bezel-disabled-right.pngu;41;Resources/popup-bezel-right-pullsdown.png81;mhtml:Browser.environment/MHTMLData.txt!Resources/popup-bezel-right-pullsdown.pngu;31;Resources/popup-bezel-right.png71;mhtml:Browser.environment/MHTMLData.txt!Resources/popup-bezel-right.pngu;34;Resources/radio-bezel-disabled.png74;mhtml:Browser.environment/MHTMLData.txt!Resources/radio-bezel-disabled.pngu;37;Resources/radio-bezel-highlighted.png77;mhtml:Browser.environment/MHTMLData.txt!Resources/radio-bezel-highlighted.pngu;43;Resources/radio-bezel-selected-disabled.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/radio-bezel-selected-disabled.pngu;46;Resources/radio-bezel-selected-highlighted.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/radio-bezel-selected-highlighted.pngu;34;Resources/radio-bezel-selected.png74;mhtml:Browser.environment/MHTMLData.txt!Resources/radio-bezel-selected.pngu;25;Resources/radio-bezel.png65;mhtml:Browser.environment/MHTMLData.txt!Resources/radio-bezel.pngu;42;Resources/scroller-down-arrow-disabled.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-down-arrow-disabled.pngu;45;Resources/scroller-down-arrow-highlighted.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-down-arrow-highlighted.pngu;33;Resources/scroller-down-arrow.png73;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-down-arrow.pngu;45;Resources/scroller-horizontal-knob-center.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-horizontal-knob-center.pngu;54;Resources/scroller-horizontal-knob-disabled-center.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-horizontal-knob-disabled-center.pngu;52;Resources/scroller-horizontal-knob-disabled-left.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-horizontal-knob-disabled-left.pngu;53;Resources/scroller-horizontal-knob-disabled-right.png93;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-horizontal-knob-disabled-right.pngu;43;Resources/scroller-horizontal-knob-left.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-horizontal-knob-left.pngu;44;Resources/scroller-horizontal-knob-right.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-horizontal-knob-right.pngu;48;Resources/scroller-horizontal-track-disabled.png88;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-horizontal-track-disabled.pngu;39;Resources/scroller-horizontal-track.png79;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-horizontal-track.pngu;42;Resources/scroller-left-arrow-disabled.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-left-arrow-disabled.pngu;45;Resources/scroller-left-arrow-highlighted.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-left-arrow-highlighted.pngu;33;Resources/scroller-left-arrow.png73;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-left-arrow.pngu;43;Resources/scroller-right-arrow-disabled.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-right-arrow-disabled.pngu;46;Resources/scroller-right-arrow-highlighted.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-right-arrow-highlighted.pngu;34;Resources/scroller-right-arrow.png74;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-right-arrow.pngu;40;Resources/scroller-up-arrow-disabled.png80;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-up-arrow-disabled.pngu;43;Resources/scroller-up-arrow-highlighted.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-up-arrow-highlighted.pngu;31;Resources/scroller-up-arrow.png71;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-up-arrow.pngu;43;Resources/scroller-vertical-knob-bottom.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-vertical-knob-bottom.pngu;43;Resources/scroller-vertical-knob-center.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-vertical-knob-center.pngu;52;Resources/scroller-vertical-knob-disabled-bottom.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-vertical-knob-disabled-bottom.pngu;52;Resources/scroller-vertical-knob-disabled-center.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-vertical-knob-disabled-center.pngu;49;Resources/scroller-vertical-knob-disabled-top.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-vertical-knob-disabled-top.pngu;40;Resources/scroller-vertical-knob-top.png80;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-vertical-knob-top.pngu;46;Resources/scroller-vertical-track-disabled.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-vertical-track-disabled.pngu;37;Resources/scroller-vertical-track.png77;mhtml:Browser.environment/MHTMLData.txt!Resources/scroller-vertical-track.pngu;44;Resources/segmented-control-bezel-center.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-center.pngu;53;Resources/segmented-control-bezel-disabled-center.png93;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-disabled-center.pngu;54;Resources/segmented-control-bezel-disabled-divider.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-disabled-divider.pngu;51;Resources/segmented-control-bezel-disabled-left.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-disabled-left.pngu;52;Resources/segmented-control-bezel-disabled-right.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-disabled-right.pngu;45;Resources/segmented-control-bezel-divider.png85;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-divider.pngu;56;Resources/segmented-control-bezel-highlighted-center.png96;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-highlighted-center.pngu;65;Resources/segmented-control-bezel-highlighted-disabled-center.png105;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-highlighted-disabled-center.pngu;66;Resources/segmented-control-bezel-highlighted-disabled-divider.png106;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-highlighted-disabled-divider.pngu;63;Resources/segmented-control-bezel-highlighted-disabled-left.png103;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-highlighted-disabled-left.pngu;64;Resources/segmented-control-bezel-highlighted-disabled-right.png104;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-highlighted-disabled-right.pngu;57;Resources/segmented-control-bezel-highlighted-divider.png97;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-highlighted-divider.pngu;54;Resources/segmented-control-bezel-highlighted-left.png94;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-highlighted-left.pngu;55;Resources/segmented-control-bezel-highlighted-right.png95;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-highlighted-right.pngu;42;Resources/segmented-control-bezel-left.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-left.pngu;51;Resources/segmented-control-bezel-pushed-center.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-pushed-center.pngu;63;Resources/segmented-control-bezel-pushed-highlighted-center.png103;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-pushed-highlighted-center.pngu;61;Resources/segmented-control-bezel-pushed-highlighted-left.png101;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-pushed-highlighted-left.pngu;62;Resources/segmented-control-bezel-pushed-highlighted-right.png102;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-pushed-highlighted-right.pngu;49;Resources/segmented-control-bezel-pushed-left.png89;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-pushed-left.pngu;50;Resources/segmented-control-bezel-pushed-right.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-pushed-right.pngu;43;Resources/segmented-control-bezel-right.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/segmented-control-bezel-right.pngu;35;Resources/slider-circular-bezel.png75;mhtml:Browser.environment/MHTMLData.txt!Resources/slider-circular-bezel.pngu;44;Resources/slider-circular-disabled-bezel.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/slider-circular-disabled-bezel.pngu;43;Resources/slider-circular-disabled-knob.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/slider-circular-disabled-knob.pngu;34;Resources/slider-circular-knob.png74;mhtml:Browser.environment/MHTMLData.txt!Resources/slider-circular-knob.pngu;21;Resources/spinner.gif61;mhtml:Browser.environment/MHTMLData.txt!Resources/spinner.gifu;44;Resources/textfield-bezel-rounded-center.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-rounded-center.pngu;52;Resources/textfield-bezel-rounded-focused-center.png92;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-rounded-focused-center.pngu;50;Resources/textfield-bezel-rounded-focused-left.png90;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-rounded-focused-left.pngu;51;Resources/textfield-bezel-rounded-focused-right.png91;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-rounded-focused-right.pngu;42;Resources/textfield-bezel-rounded-left.png82;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-rounded-left.pngu;43;Resources/textfield-bezel-rounded-right.png83;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-rounded-right.pngu;38;Resources/textfield-bezel-square-0.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-0.pngu;38;Resources/textfield-bezel-square-1.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-1.pngu;38;Resources/textfield-bezel-square-2.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-2.pngu;38;Resources/textfield-bezel-square-3.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-3.pngu;38;Resources/textfield-bezel-square-4.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-4.pngu;38;Resources/textfield-bezel-square-5.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-5.pngu;38;Resources/textfield-bezel-square-6.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-6.pngu;38;Resources/textfield-bezel-square-7.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-7.pngu;38;Resources/textfield-bezel-square-8.png78;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-8.pngu;46;Resources/textfield-bezel-square-focused-0.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-0.pngu;46;Resources/textfield-bezel-square-focused-1.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-1.pngu;46;Resources/textfield-bezel-square-focused-2.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-2.pngu;46;Resources/textfield-bezel-square-focused-3.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-3.pngu;46;Resources/textfield-bezel-square-focused-4.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-4.pngu;46;Resources/textfield-bezel-square-focused-5.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-5.pngu;46;Resources/textfield-bezel-square-focused-6.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-6.pngu;46;Resources/textfield-bezel-square-focused-7.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-7.pngu;46;Resources/textfield-bezel-square-focused-8.png86;mhtml:Browser.environment/MHTMLData.txt!Resources/textfield-bezel-square-focused-8.pngu;35;Resources/vertical-track-bottom.png75;mhtml:Browser.environment/MHTMLData.txt!Resources/vertical-track-bottom.pngu;35;Resources/vertical-track-center.png75;mhtml:Browser.environment/MHTMLData.txt!Resources/vertical-track-center.pngu;44;Resources/vertical-track-disabled-bottom.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/vertical-track-disabled-bottom.pngu;44;Resources/vertical-track-disabled-center.png84;mhtml:Browser.environment/MHTMLData.txt!Resources/vertical-track-disabled-center.pngu;41;Resources/vertical-track-disabled-top.png81;mhtml:Browser.environment/MHTMLData.txt!Resources/vertical-track-disabled-top.pngu;32;Resources/vertical-track-top.png72;mhtml:Browser.environment/MHTMLData.txt!Resources/vertical-track-top.png \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLTest.txt b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLTest.txt new file mode 100644 index 0000000..6d8ab99 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/MHTMLTest.txt @@ -0,0 +1,9 @@ +/* +Content-Type: multipart/related; boundary="_SEPARATOR_" + +--_SEPARATOR_ +Content-Location:test +Content-Transfer-Encoding:base64 + +R0lGODlhAQABAIAAAMc9BQAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw== +*/ \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/dataURLs.txt b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/dataURLs.txt new file mode 100644 index 0000000..6e25e44 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Browser.environment/dataURLs.txt @@ -0,0 +1 @@ +@STATIC;1.0;u;33;Resources/button-bezel-center.png210;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1JREFUCFtj2rt3L5OVlRXTt2/fmP79+8f0//9/MI2M//79i5WNjY9sxoULFwBPdEPtOkpElQAAAABJRU5ErkJggg==u;42;Resources/button-bezel-disabled-center.png222;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADZJREFUeNpi2Lt370yG79+/z2T69u0bA9O/f/8YmP7//w9loRF///7Fw8UphmbohQsXGAACDAAFaUdSlQta6wAAAABJRU5ErkJggg==u;40;Resources/button-bezel-disabled-left.png318;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH9JREFUeNpi3Lt3LwsDA4M3EFsBsQDL////faWkpDykpaUZ2NjYGJiAAtbi4uIMf//+Zfj27RsDy79//3iBmAEGQFoYQBguAJJFUUGmAMhK2muhiRnIAqAg/Pz7928GWEAxAWWPPn/+nOHXr19glaAg3Pz69WsWIDYD6uADCDAAuvWepGgKK5MAAAAASUVORK5CYII=u;41;Resources/button-bezel-disabled-right.png314;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHtJREFUeNpi3Lt370wGBoYPQHwMiLeyWFlZMfz69Uvg6dOnXs+ePWNi+vbtG8Pfv38ZxMXFGf7//2/N8u/fPwYYALJ5WYCicAEQG10FWQIgK2mvhSZmYAjAAujPnz+gAPoMVgHivHz5EqTiOMuFCxdACj4B8Skg3ggQYACEzZ6gbOTDXgAAAABJRU5ErkJggg==u;45;Resources/button-bezel-highlighted-center.png206;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACpJREFUCFtjKi0tZbK0tGRiZGQEYxCA0TCAzmdmZsYpB+NLSEgw7d69GwDfyAUd/UzAZgAAAABJRU5ErkJggg==u;43;Resources/button-bezel-highlighted-left.png322;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAINJREFUGFeVjbENwkAQBOf2z+fQEdLJuDIiS9RgiQhEIVT34TdBRPACAd5wtLNr27YFcAVW4Ohmds/MyzzPRAQu6bwsC8MwAOBmdogIXnFJSOqBmf1odKCUsnfjo/IGSil7le72P+XrhiS1cRxxdyQhM3u01pimiczEJd1qrVFrPQH5BFHNEV7zubdvAAAAAElFTkSuQmCCu;44;Resources/button-bezel-highlighted-right.png330;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIhJREFUGFeVjbENg1AUA89+X1BSRUIKizBPZqAiVSahyhLME/SlvwFNUoUmCAWX1p2tYRjewAuYgEfq+551Xa/Lsow557Ak6rqm6zps35IkAKqqQtIl2eYb22zEVvwQh0VEnN2IiB0iIs4qh7f7yn8btokIbBe3bUvTNJRSkDSleZ4BMvC0ff8ANOUZTP6A0qkAAAAASUVORK5CYII=u;31;Resources/button-bezel-left.png306;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHZJREFUGFe1kDEKgDAMRf8QcoNSaW/mJHgJJ8WDeJSep0P3LqWtyaCgo2DgLT8vCYRCCAxgFSbBU+99d84t3nswMzSYrbWotSLnDGqtGQFXqQHlDrT7MD4GevL/kV92vB+USimGiG7jiDEu+lcN1dhSSiyMIgwn4zCUe/hU7cUAAAAASUVORK5CYII=u;32;Resources/button-bezel-right.png310;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHlJREFUGFdj2bt3738GBoanQLwAiJtYrKysGH79+iX99OnT6mfPnjGzfPv2jYGRkZFBXFycASiYzPLv3z8GGACyRVn+//8PFwCx0VWQJfD37186aKGJGRgCsAD68+cPKIBeg1WAOC9fvgSpWMBy4cIFkIIXQLwMiGsAfrObQPFrrDEAAAAASUVORK5CYII=u;35;Resources/buttonbar-bezel-right.png478;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAaCAIAAADjWkEIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPZJREFUOI2NkD8PgjAQxfv9Z4XFsoOfAVacIZFZFhkgwQltFT3759orTTR5Ia/X3727wsq6qU5tVbfalLVWo7+q3kKdDTcZaqZmFmBYP70u09Np9L5WgDIsuYYN+s0jd+hH26kMTGcEGkOU5Jk+upPfpvJiGT1FKRcL65VR7/XuEp4/5BvWSHgBxu0X5GkOKklGuSAvzY6G0w1hno3EmJRH8zacm4vv7a4SteP5XazGyBXrG+5guD3PFxHhBHKL5SJ5Z+Q4cgXhZjq3G1yPlj6G+5HrQYZzfyrKiQgH/zlY5f+8GAfvxRht7FH4FZJniMF4fw3I+wCDrpPQe+DtiAAAAABJRU5ErkJggg==u;29;Resources/buttonbar-bezel.png186;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAaCAIAAAD5ZqGGAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABxJREFUCFtj2Hv8MsOLj78ZHr79QxK+/vw3KRgAe89HUPF0VZwAAAAASUVORK5CYII=u;38;Resources/check-box-bezel-disabled.png402;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAL1JREFUeNrEkrsKwkAQRWfDsF0kVYrd/7AwPyCKHytiuaUK/kZIQjrRKq+Ndwpb8wJdOGwzZ+7Msqrve5p72DnHuPdgA6IRzgNcwZmRfDDGbK21pLUeNOu6jrIs2+V5HnDXdUkcx9S2LTVNMygrpUjq0zRN2HsfosHkfcWTZJoji7Ncln1/L4s4Z2zx/jj20td+VVUVMvOkfcUL8FMuRVEQGtBnim9IndTDu0nyqSxLBms0XY0IfoI7OL4FGACS4bkP/RnUSQAAAABJRU5ErkJggg==u;41;Resources/check-box-bezel-highlighted.png410;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAMNJREFUeNrEkkEKgzAQRdMkZO9CDHizrgpeotDS0t6j4Kq38DiVSHUZRImxfwrtsmpcNPAYGOblEzKbcRxZ6JFFUSjUE9iBdIbzADm4SiRfkiTZa62ZUmrS7Ps+NcYcqqoSchiGLIoi1rYts9ZOypxzRvNlWWbSex93XTf7nQh7V/Io+dtYcsj5s+ycC5NJDEkmb13yahl/Fiw/sXKxEGKRSB5H6q2ua9rZT/MnNEfz8HJKPjdNo8AWl+oZwQbcwfElwADuQbxR1tcjhAAAAABJRU5ErkJggg==u;44;Resources/check-box-bezel-mixed-disabled.png590;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUpJREFUeNqckj1Lw1AUhk/Sq7WU2LpYKRQHPyq4OEiHdhdRHF39Qf4aRZyEDoIVhYLgorgoNv0wFNRU0/Tek3hOanQItE0vPFwI75M3595ovu/DtEscn9QE7ftEmchO4LwTNeJceJ53sFZY2i0u5yGVnB1rOu4g+/jS3Ht6besCESuLuRy0HAD15Y7/VF0Dzj88mxWWjQ+X51YTzYkEV7AnFCpg4i52BCoFUsWX2RNKIUiJwYP65UXeapkZTYuG+UoLK8Xu5nb5LWgmj+T/5vv6zUbX6qzqCRFtkgPo2fbd+lbpVw6aJckyCKQzCzBjEHOpiOx+9yCZNv6y7A2b5bB55/CoSlt11KxhVoUzM7FPm2dGnPK0MWhWtuv2jYQQsa6JPZ3+lKu22YC+04dwhFFwjvPkXQv08MzqNAVRopfOT1D8SdwSpz8CDAB8Kd6AIP4Z1gAAAABJRU5ErkJggg==u;47;Resources/check-box-bezel-mixed-highlighted.png582;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUVJREFUeNqcks9Kw0AQxifJJiaiVMFotBWLXjx59OSTeBJ8CUFR9Og7CD159im8exFUBBWqpkFaa5Q2+yfObKM95JCkAx9Zlu+Xb2d2jTRNYdJi51fXDn6PUXuoegmmjWqhzphS6nRtce6guTQPrs0KyQEX9aewe/jc6VlMSrnvTTlw/9YFLmQhbDMLap4DxBHsh724dJ/oh8Ewoa/PhBR6o2oRx6QQelG1iGMC++Rc6Y2Xxzv4/IjAMIycma7UX25AsNocJSOH8Dj54fYGwtc2mFZ+6pInsLEZw8JKI4N1MtcLKm+mBsH6LNiul4OHPzE47vS/l7hRcnZFW9s7xYPKvOKvZzHJtKlnKcfJlaYtdbKIuEh80zRLg/ik6diRiQ/kot+PIUnoBKpQ5CM/ci0mlTyJv78c1C7+NCgR/I66RB39CjAAFHjbsmAj4HkAAAAASUVORK5CYII=u;35;Resources/check-box-bezel-mixed.png582;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUZJREFUeNqckrFKw1AUhk+Sa2wFcaoNLVUpFTs5uugDODo7CX0JQVF09B2ETs4+hAhuOggWO1Q0bUpxENQkvfcknpMYHSom6b38BA7/l//+N9HCMIRplzi7vDbpeUTaI1UzMDapTToVQRCcrNas/bXlChRnzVTS9cfVzlP/4PHZMQQithbLZRi4AOrDTz+qrgH7H3p2i+HSm8+9VaaeSOII5oRCBay8ixmBSoFU+WHmhFIIUmI06N7fwutwANof5pB2ZakOtUYzTiaO4N/ku5sr6HU7oBtiMkmOYX1jE6yVxjccJUuCZTQozC+AVW/CTKE4Afuf7zSf+/EyFyfLOHlreye1a+JVSWdW7tvmzohT3jZGyWrk+17JECLXZ2JOpz/l3LFfwHM9SCr8J/axn7i2wACPR8O+Sdqll1oZgh3SBenwS4ABALu11aydNvk+AAAAAElFTkSuQmCCu;47;Resources/check-box-bezel-selected-disabled.png874;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAiFJREFUeNqUU1trE0EYPU0n5tLdtcYmaVPabCNaQdOElJbSkL5Ia7F4Af+RbyooBEHQCl4exBfxgljwRSSxoC8WqmJTqmJra6u0SchlszO7zuya1kIa9IPzsN98Z853hrMtpmnif8oX7ve1tJLzJqO3yaVHrwnvTXGMcrQ3IzJGoR5P0M2tLVIrFZ3EMIzTh3s6J/vDIXhc+5qqptNpVEHI/u4I/EqbRBhjyUAwiNUKQEvansS3mZd4/moWSpeKvt5uxAbiAQcny3nNhFajYJQ1xMqXz3hw7w4kfwiSLOPsmXPgG8uEch8Ce1WtpuHWtSsgykEQdxumTk5AUhSL42CUQv+DG5cvoJDPb38L3J++joJuwiW3YzAWhRqJWH3Bc1C+lq4zrK+u4f38PKavXoSm6VYv82IGHz4twHvAj4C/A6PJlNUXEDxOthV+/VyH3BnGRr6Ih3dv4utSDjPPnkDq6ILL7cHE+DgMnon6RoJHKOUqHCE1ghOTp5DJZvFxIYfc4iI8viD36cVYKgmvJFlz9RI8Yinr9oMdPRZFuVLFu7k5gAfP4XTiyKE+9PSq2zM7ZEvZ3r9eA/EEyuUKlr4tQ/G6MTg0sut8h8xAROSEh78rMTSMSrmEaCxu+TQobRhVsXZR06pyKyG7DkdSY7ZCgwww+8GKImHZtZVlVLnXuoVmEHNinvNmCTPY040f3wnHML9U+Ye/ssDxhuPxbwEGAExxWB6CMBpMAAAAAElFTkSuQmCCu;50;Resources/check-box-bezel-selected-highlighted.png858;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAhNJREFUeNqUk01rE1EUht9O70ySaRMT7CQTU2tiYiwxftdU0F/iRsW1exeidNOF/gFRChVEwYJBUIKgWwMiFqwgilgCtUmIbdIkte3MvRPPnWpDqY164YW555znfHDP9N1+WsT/nMmrF0f6+tmtjuCXmeM4GtlukC6RYr1AITji2VNWvdHQrNWWV8ITB8LBa/FICF6V9ax6994U1sG0PbGDMAIDBhNCXPF5NHwu12FzsSv4YfYtXr2ZRSAax7BpYGwsd0jCRrXR7lnxe7WMF4UCBsMx6LqO82fH8cMSBuM0ByXYFbRtC/nHj6AFDTDvAM6dPuEmaK7VoQjOIRNIzUzfQbvd2rpLFfIzWIMKjz+I0cR+RPeZrl1yCqc5bdvBUm0JX+dLePLgPqwN7treFV9j/lsFeshAKODH0cwR1y4lOYI3KzQay/CbI1gh8OXzPMoLJRQJHhyKQtM8yJ08BgedblfEMc5t9yMcjeFMbhzvP35CabGKhcVn8O01aU4dxzNpeH0+N+73kRxzK/96ong8gXXLxpd+eu8OoKgqhiNDiIQjWzFd2K0sqI2uI5VMugkqyyvQVQWj6fQ2fxcWYELwHVkPp1LYmJtDMpGA43RI4o+rKtuu2dwyFEXZ5sxmM5tBDt8B0krLtmsKLchUs9mGZckOnL9Kxsl44qaZcMTN9mpLI12gpOY//JUV0kPS9Z8CDACMI0E9p2np0QAAAABJRU5ErkJggg==u;38;Resources/check-box-bezel-selected.png846;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgtJREFUKFOV0V9Ik1EYBvBzNeiyLrsYddGoJYmmIkl0oYktikzFnLN0xpJBXxYtmqE2dY7JliuGRovQTc3J1FolbWGpodUMYQ2K/tk/MRwEFXkRXTyd98A+GOKyix8f3/s+z+HAYQDY/1ivVCk3bFYP8u86Zh+dVnBt3AKHVNoDk8jQHPm9aVcRNqbn3WK24ce2QOQtYkvLePf9T0pSixPbNDqklxlRUGuaZm1DE/GpTz8R/riMsflfq7J472JLQSl2Vp1F6YVOtPofxZnl5jjuvPmRkudhDOq9ZciokLDHaIHv2QdQjzX2hTD66tuq/NFF5B6uwY6SOmTXmNFx+4mYU4819NzDUGxJ2Kc/hd6n8/I/OXSyEeoD1ciuPo8614A8px47dz2I/rlFuMNRKHPysbv8BHzPF8RMutQLVWE5so6asN/kgHf2i5gT6rEzV0fQE/kMy8ADbD+ox9YiLYqlZvEsqvwSZGrrkWdowmV+OOUSqMcktx+emfeC1BVAZuVpcUCaplI8SY6+AWZfSM7IWd5jRlc/uiZfy447+8Q1s6pMoqizepL2CdRjBocXV8ZfJtG2epBraEZhvQ2d4diKPaEeq7XfgDP0IonjfhTFZheaBidW7BKox45Zr8XbgxHYx+bWjPLUY7qWbpvUPQLL8Ayswdl/ohzlea+DVVx0Kzgn95XDGlCO8oq/2QGjSdgwyFQAAAAASUVORK5CYII=u;29;Resources/check-box-bezel.png382;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAQCAYAAADJViUEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAK9JREFUKJHFkjEKwyAUhuUNuUED0ms4eZ0eo4VS6NwbFHoRz+CQKwRSyewQiJr3l3Rr0dShw4cSvk/lEUopiV8hY0zDXJmeSQX0q98Qn3CRUh6VUnuttcgBDz46CiEc2rYV8zwL730WePDRUYxxx5vXR6w53h46Kgm+UR/jKVupj0sH9Wlwf3x27bTHaZo2Ras/4g+7D8MgSg+AB5+7B24+O+duXdc9rbUiBzz43J0WHcymW5LxdgkAAAAASUVORK5CYII=u;41;Resources/default-button-bezel-center.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADVJREFUCFtj6tpwjCnYwZTpzodfTP/+/Qfif0x/gRhM/wWx/0JoOBvGB9JoapD1gsy6eu4kADbzQ5rojOveAAAAAElFTkSuQmCCu;50;Resources/default-button-bezel-disabled-center.png234;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEBJREFUeNpi6NpwbCbD3Q+/ZzLd+fCLgenfv/8g4h8D018QAWH9BXP/wlhIXITYX6gONMVoRoGNv3ruJANAgAEAzhtGyJPGg6AAAAAASUVORK5CYII=u;48;Resources/default-button-bezel-disabled-left.png370;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKZJREFUeNpi7NpwjIWBgcEbiK2AWIDl379/vqqyEh7qcpIMnOxsDCz///+3FpcQZ3j5k5Hhz/dfDCAVvJ9/MwJV/2MAAZAAAwjDAFjgL7oAmoq/DH//IgmAOH+BggRU/EU3A1nL378gLX/R3IFqBpoKiLX4HAbxC4Yt+D2HaigTUODz71+/GGAqQQJHXz57yvDrJ0jwPziQN7999ZwFiM2AOvgAAgwA2zedN71ws+cAAAAASUVORK5CYII=u;49;Resources/default-button-bezel-disabled-right.png370;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKdJREFUeNqUkD0KAjEQRr9IWuv1Lt7QG+wttBA8wYoWdhaiNlqsCxbLWsgmmYkZ/4hxQQx8EF7ezCRRo3GRA6hDipCp2tc2v7YGm0OJ7fE06+1qg6pVyAYZvPdDzexhJFBg5n4AjNeSvaYUfBsUA5ISegM57DAi8DCikqcR96C0B3cZzL/Gfkzh9B6EP55Pzgm43L/QWYtzVQqY6/VqIUITsgyZ3AQYACwxo+jE5WFHAAAAAElFTkSuQmCCu;53;Resources/default-button-bezel-highlighted-center.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUCFtjCquZyKRtbM7ExMjEBCWYmMEkkGYGsZmhNIgPZYNomDiSGmS9qkJsTGv2nQIA4IwFK30tWVsAAAAASUVORK5CYII=u;51;Resources/default-button-bezel-highlighted-left.png350;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJhJREFUGJVjDKuZyMbAwFAHxAlALM3CxMTUKCQqXiEsLsHAwsrGwMLIyJgsJinDwMzCwgACIBWirGysDDAAEmAAYRQBZnQBFBXMzMwMzMwYWpiRBdBUgDjMmGYwo5nBjF8FM6otYENR3YHVWnwOI+h9IJ/pNS8w9FhZmBmgqpnmvnr1kkGKi4FBVQgSyPV3nrxkA+IooA4JAD9CEUzrpwlHAAAAAElFTkSuQmCCu;52;Resources/default-button-bezel-highlighted-right.png362;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUGNONjzsOgWEURM+d+fwRpYTEo1UpFXZiA5ZBZQd2oFJZgwXYh8RPWIBHqET8nrecnMyZG4Px9AqsgRkwSd1en/Pp2Nrnm9Fhl1sKkWVl6o02ETFMUgCgrISkWpLE/SSRXAxeCT8C2yTLnwnJz6W2SLYLHX6x+JvFxR3vtf5B/Pe+FZS5IGmnTjWjWYHtNkfSLC2WK4ANMI+I8Q10tBpanttAIQAAAABJRU5ErkJggg==u;39;Resources/default-button-bezel-left.png366;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKNJREFUGFdj6dpwjI2BgaEOiBOAWJrl379/jaqyEhXqcpIMnOxsDCz///9PFpcQZ3j5k5Hhz/dfDCAVop9/MwJV/2MAAZAAAwjDAFjgL7oAmoq/DH//IgmAOH+BggRU/EU3A1nL378gLShm/EM3A00FxFp8DoP4BcMW/J7D9P7r379+iTKzsMAF5r589rRCRFySgYWVFRzI9W9fPWcD4iigAgkAAWSTEqdsRP0AAAAASUVORK5CYII=u;40;Resources/default-button-bezel-right.png362;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKBJREFUGNOVjzsKwlAQRc+TtwWJ+3MbVlbiKlJZuwrBxs5C1EaRJGiRTvKZ+yz88IyCOOXhzL0zbjpfBOAEpMDY7csmXKuazSFje8wnvV1ZU1SOZJAQQhh6KVArUOOQ1PeSeI4kvHXBp2ExMLzJXsDsqxGBuxGtPIw4w7oZ+mZIv2rfWtS9w/jjfWtbJJ29FGibhkuRISn169USIAdmwOgGxHqjvh+HJ8QAAAAASUVORK5CYII=u;37;Resources/horizontal-track-center.png182;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAIAAAAL5hHIAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhJREFUCB1j7u/vZ87JyWEuKioC44SEBABISgbNtp1KFwAAAABJRU5ErkJggg==u;46;Resources/horizontal-track-disabled-center.png198;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAYAAACEhIafAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACRJREFUeNpi7O/vn8mkoqLCwCQhIcHAxMPDw8D05csXBoAAAwBIogYEjN3jQgAAAABJRU5ErkJggg==u;44;Resources/horizontal-track-disabled-left.png266;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAYAAABirU3bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFhJREFUeNpirKysFODm5o5iY2PTZWFhYWIRFhZOAGJNXl5eBqAgA4uQkJCSuLg4Az8/PwMrKysDEzs7+z0uLi4GHh4eMGb6+fPnom/fvl398uULAwgDBBgAx68Ss6bQhHIAAAAASUVORK5CYII=u;45;Resources/horizontal-track-disabled-right.png270;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAYAAABirU3bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUeNpi7Ovrm/n3799/P3/+vPz169dlLCoqKgy/fv1i+vz5s/7bt285WSQkJBh+//7NwMXFxQAESiw8PDxggT9//jCws7PfY/ny5QtY4Nu3b1eB5iwBCDAA1UAuSStF1W0AAAAASUVORK5CYII=u;35;Resources/horizontal-track-left.png262;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAYAAABirU3bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFRJREFUCB1jrKyslObm5p7GxsbmzcLCwszY09OzS1hY2JWXl5cBKMjAOG/evM8SEhI8/Pz8DKysrAyMS5cu3SUtLe0qKCgIEQCqkAOqmAlU4QFSAQDMoQ//dMukywAAAABJRU5ErkJggg==u;36;Resources/horizontal-track-right.png262;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAFCAYAAABirU3bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFVJREFUCB1FyjEKwCAMQNHktIUexsMECl27egBvENBB0ASHRIotXfrHx8cQwrrfzOwYY+xIRMvdQVWh1nphjHHNOaH3DqUUx5TSB601YOb/EJEz57w9xYtAc8FdpUUAAAAASUVORK5CYII=u;37;Resources/HUD/button-bezel-center.png210;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAUCAYAAABMDlehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC9JREFUCFtj+A8EDEAQyLRnzx5+BiDPjgnI/Q0n/qCysBF/ESyQAQwgFsRQZhAJAPlBGgf55kT3AAAAAElFTkSuQmCCu;49;Resources/HUD/button-bezel-highlighted-center.png226;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAUCAYAAABMDlehAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUCFtj+A8EDEAQyPTq1atQJlFR0ZdMQO5PEPEdRPxAZYG53+BiX+GKwWI/GEDGgVgQQ5lBJACJphiPRPGToQAAAABJRU5ErkJggg==u;47;Resources/HUD/button-bezel-highlighted-left.png806;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAUCAYAAABWMrcvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAe5JREFUOE+Fk8tLAlEUhzNXEkG7aFEYURNBRVFEq9r1ohcUWUFtIoqoaFOIi1xNJWEDIYUQiKKLVi3yHwgxyEyUzBBUCEF8oIhvTe13pRELaw58zJ3hfNxzzr1TU1M9+IFAYDoej6uz2aytWCx+gnL8Vnh2u707nU4/RqPRR8S5TCbbFQgEc0gkzH9T9vgul2s8lUq9qtXqfYZhtk0mk8ztdl9jV10lrMEzGAz9EOw0Ta87HA4mFArdoLyrTCZzWSgUGNR2wcJKdUh40mg0e06nk04kEhf5fP4MSafVIBLfbDYvhcPhF7lcvhCLxU4gSJF8/BdEqvP5fLdomrFarRu5XE6M5KP/IFIjevFKpdJF9LGL5D0uiNSKRnMURQ1A3oKwyQWROlBSQiQSDeEgVyCscUGkdjT/oVQqZzHeSQgLXBBJiEO9t9lstNfrHYQwxUVpEFqt9iASiTwrFIo2CKNclEYO+iBZjUbjUjKZ7IE0/B+lwwXNYrF4FcK7Xq+n0Fs7pN6/KF8jLLpUKtUOubAej2fMYrHUQ2oCQkBVUr6wWDSAbolEsoxpWrDrQzAYPPD7/cP4XssmQmaXpScpk4hdYFSn0x1imneQ35D4I35YeOF9D6aFDAeMgAkwA9gfkDyrBtmVTLURCAEFOlm+AKxfXA+wZVY4AAAAAElFTkSuQmCCu;48;Resources/HUD/button-bezel-highlighted-right.png778;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAUCAYAAABWMrcvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdhJREFUOMuFk71LQlEYxq81RuAWDYUFaYQZhYtTbhV9QGBIFLVE1FDhUoaDLVlJcBWHcmhRcGhqyH8g1AshhpmSg7iI+IEKfmtqPde8cpXsHvhxL+e8zznP+573EN9do1qtvufzeUsikVglCKKf6DHWWazp9fojiqJus9ksVS6XKb/fP415XocCO9rYhMPhe7fbrTcajYcWi+UEwo9QKLTYcSockQz1et0AeybYu0ulUg+BQMCg0+l2S6WS3+FwzLVPRPD1X2CDm0KhQAaDQZ3Vaj3G/yvCBxiRthcQXuRyuSuSJBXpdNoD28qmTSye/UetVjv3er17LpfLEI1GH5unYeGYC+R3pNVqN5BbBKIhWrTPBYIPhEKhtNFofEE0Rot2uEBu22KxeAZfWiSkRQoukNeKyWRaRAWjjGiZi1gsJvX5fJe45GfGnpwLs9k8nslk3DabTcUUQvYfxWJR4nQ6lbgnLwSzTMlnelGpVCbsdrsIuXyq1eotCEaYyxV1IQDDHo9nEM27gHJ/0G2E4Cl2G7XB6IvH47JkMqmCrRe00JtGo9nEvATw2Q3bMWAlEIlEnpD0KZblrRP43Q+y4xGCJTDfSnq0ZYnX/XInWYiAoFnW3+A/n/sPAZJhlR4WEkUAAAAASUVORK5CYII=u;35;Resources/HUD/button-bezel-left.png822;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAUCAYAAABWMrcvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfpJREFUOI1jYMAOmF+9euX75cuXRb9+/br0////P/+RALpixqtXr+r++PHj+MePH48fO3asp7OzM5eLiysAKAfCgVCMMP3u3bse379/v7Jo0aJ8Ly8v//b29oglS5bE7NmzJ3Hv3r0JMAy34ejRo0ZADVdTUlKCZs6cGXnkyJGwmzdv+rx9+9bl58+fDkBX2cEwTBM30P2nFi9enDd//ny/27dvuwKdaA1UYIkNg5115syZ8Hfv3p3z9va2u3HjhsPv379NgZImuDDYlufPn68CenrClClTLIFONAJKGODDIE3iQIVP6uvrQ4EaQSZpE8IgTYp///79ra6ubvLkyRNdoKA6IQzSpAb0w9eIiAhzoL9UgILKhDBIk+rnz58fAYPZH5gKZIGC8oQwSJMCMFK3XLp0qW3fvn3iQEFpQhgcEEuXLi388OHDmcDAQAmgoDghDA5yIDYE+uciMFWEA20VAkqI4MPgyAVi2YqKiuivX7/eWL58udL79+95gZICuDA8GQGx1sKFC7NBCfb+/fvukyZNYgMq4ABibiDmRcbwBAvEIBN0q6qqIoGhef7bt2+HXr9+XQgMUVBaYwJlIxhGyRpQjVpA7LBs2bIyYGRvAGq+9h8NYGRCqFPlQIEDxPZA7AnEfkgZMBBdE7KtIM2g4FUAYlDS0YBhAPgZOXbQnB9/AAAAAElFTkSuQmCCu;36;Resources/HUD/button-bezel-right.png786;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAUCAYAAABWMrcvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAd5JREFUOMtj+I8Gfv78eenLly+LXr9+7cvAwMDMgAMEImG/rq6u3OPHj/d8/Pjx+Pfv349fu3ZNFyjOiKJjz549CXv37gVjIDtxyZIlMe3t7RHe3t7+ixYtyv/x48eVu3fveqDYCnSRHQwDFTi8e/fO5ebNmz5Hjx4NmzlzZmRKSkrQt2/frgL5RnAbgYotsWGgAdZ37txxnT9/vt/ixYvzgP48BVTODdNkggv//v3b9MaNGw5eXl52QBecO3PmTDjYmUBJA3wYGBhGU6ZMsQQGzoRnz56tAtsGlNAmhIEaTBoaGkKBBjwBahIHaVInhB8/fqyrrq5u8u/fv99ATYogTcqEMDAQVHR0dPT//v0L0qQG0iRPCAMjWnbSpEkewKB/BtMkTQjv27dP/PLly63ASN4Cc544IRwSEiL+/v37M8uWLSuEBYQIPgw0XQiYGsKB8XQRqMEQFuQCuDDQdN7ly5crff369UZlZWU0UIMsLHJ50TA3EHNMnjyZ7f79++7AuLkCSkZAxVrwZIQGmF6+fGkJzEuFwJA69Pnz5/NVVVWRQHE9IBZATrAoAOiUa0+fPt0A9HQZUNoBaoMAeoZEyYRA7AnE9lBPy0GdxIjuJA0krA7ECuBghSjGmt0BszYwI1fiH1QAAAAASUVORK5CYII=u;46;Resources/HUD/scroller-down-arrow-disabled.png722;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAa5JREFUeNrcUstqwlAQneTG2DyaaCKUrmxtRDdC6T/5JX6BK7eu3Ll36Qf4C0LWIlQkouZlz4RckRZai6t24HCTO3NmzswdhYh6juN4qqqmQKJpWgzwmQKZECLHfY44yrJMTdNUABpQ0fjydDopjMtvRp7nirTyX2UgiUBotSDDBJw5oEpwEHMAkon5jquCrOm6fq+VlwLSsk/Egsx+PlkFV2S5gG5Z1mNBtm1bj6KIykpMOJWKimplOyxXS5KkijmYwEvhaLfbAX50OHXOKk8OlDgej3dxHBtIYtVqtR5oKjf+0Gq13hqNhgNntNvtlFK+QFXur1ImrBqG4fi+34M6F36SAyNUtpvN5mu9Xg9Xq9X7druNWS23YZpmxXVdH0N6RkJupeCcydLQ/xOCnzgA1ejylCRpKt1gf5T8ZWB4U8KkeSnOQ2JgiD+Tu90u9ft9frrz3eFwoMFgQHjC72Uvl0sKw5C3jjqdDgVBQIvFgtbr9XU9TyaTQrbnebTf72k6nV4/sM1mQ6PRiLDPNBwOC9lXDUzabDYj7DHN5/PfPxVPeDwe/8cNu4n8IcAA4WwjSMEpNj8AAAAASUVORK5CYII=u;49;Resources/HUD/scroller-down-arrow-highlighted.png754;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcZJREFUeNrcUr1qwlAUPkluYjQlUIsVO0iHBMG1L1A6lK7t5tZnEB/CydXF1QdwanHq4EvoUHATHQQxNTZ//c5tIkKhtTi1Bz7uveee7/x89ypE1LBt21FV1QfehBAewKsPvGuaFsAfIY6iKBJhGBqACeQFO5MkURnYKtmeEcexqigKA8dEwVkDBJIYgC3JMAOXIaBl4CCQ4pTIiQk+HRVzIJrAhUidObQWIEgHBAeBFDGZ73nlLrgiyBZwAveVJJumafm+n6SVeD4mJWli8TlZwu3mgyCw4TuDHreSXKlU7qbT6TMuOYggkpp2kEuTKVwV5wJwahhGg0eTZARfVqvV+8Vi8bRer7l1HsMHMeTiqQ4G4s7R5QP2ZS6SCUYILpdKpUfLsl5Wq9XrZrPx+HVYMF3XC6jmgnyDyjyD5OzImSHzNQKvOQit0v7K2DeVjrA/Sv4iGIvjeZ5UNBOJARF/JtfrdWo2m/z2Ox9+H7VaLZrNZt+3PR6PaTKZkOu6VKvVyHEcGo1GNJ/PD5u51+vJVovFohyh3+8fLthyuaROp0Pb7Zba7Tbhtx0mWGaDwYDwXWk4HP7+qbjtbrf7H3/YUeQPAQYATq8uCgYHvXQAAAAASUVORK5CYII=u;37;Resources/HUD/scroller-down-arrow.png762;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAc1JREFUeNrcUrtOAkEUvbs7LI9dlleUxAYLCDRU/gCxMLbaGRsbvoQvoKKloqOWcj+AX8AQSgIJISDLPj133SVGE8VQ6SQnM3PnnnvPnBmJiB4Mw6jKsmwBr0KILcCzBdiKojiIe8gjz/OE67oqkALSgoNBEMgMLKV4zfB9X5YkiYFtIGGvAAJFVOQaIRlDxaELKDE4CSQ/InJhQiyBjkmQU6qqXogomIQ0B0kJQHASSB6T+ZxnVsEdQdYAXdO0q5Cs67q22WyCqBPfj0lBVFi83yxguWnHcQz4UAJuQjm1Wu0WGx2HOqpmo1nnRCAL5Pb7fcG27SKKnOXz+UfQlLAzXL1sNpt3s9nseblcsnS+hgUVLjePfFAzmcx5Lpe7R6wMRRQbRuhcrlQqT4VCwZzP5y/r9XrLr8OGgZQBqQaTrpnECJvSp4H7t5Db4gTIp49zTIqHTCeMP0r+YhjelOA0/4qDSQyY+DO50WhQu93mpzvELMuiTqdDeMLvZU8mE5pOp/zrqF6vU7VapfF4TIvF4rg7DwaDUHaxWKTdbkfD4fB4w1arFfV6PcJ/pm63G8o+yrB4jEYjKpVKZJrm75+KHe73+//xh51EfhNgACA6JNNWltjcAAAAAElFTkSuQmCCu;49;Resources/HUD/scroller-horizontal-knob-center.png210;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAYAAAAlH6X5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC9JREFUeNpiYGBg4GD09/f/z/T+/XsGpn///kGJv3//IrPQuAh1YOLXr18MAAEGAHdlKH321oJgAAAAAElFTkSuQmCCu;47;Resources/HUD/scroller-horizontal-knob-left.png514;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARFJREFUeNqEkj1ug0AQhfcvFhC0yLJA2FKKKAUlHUVKUDq3LtK78BmS2r0Ln8c+gC+RLj0U/C+ZsUDCgOORnnal/fTm7c7SpmkIpZQMirbiINbuiSDjwkMeBMHKtu1vzvkazJZXh4Ezgk9RFG00TTsURbEAEWSG8BUMw3ALbseyLElVVbfZWhhp4fu+5zjOJU1TTSk1yid6F5qZprlDEF2nSvSzQpcPBLuM/8LQ+nWY8x7MAVR1XT+EsZo8z39g9e7BrF3x6irLsjO+ArpPqXs67GBKKd9c1z0xxuQj5yKO498kSb667Nilr5uhgAzQHAazNgxjjx3wqPsOo3GDnkFS1/UXy7I+hRDv+JFAzp8AAwCqDI1JAuEnqwAAAABJRU5ErkJggg==u;48;Resources/HUD/scroller-horizontal-knob-right.png538;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAASVJREFUeNqMkT9KxUAQxmdf1iAWqQU7+1whBC8QSO0BLCwFL+AJvIGNlQQClhIs7HMDyxiIGpH8N9n4zXP3WbxncOCD2Z3ffju7I4hon35jhiZIcR6GIa8piqJ1UQRBMG/IeX6ZpinKsuwqTdM3Poi6iuP4B/Y8bwMLIci2bVbetu15kiT32P7SN9FKKUVGcCVAVNf1oWVZd77vn4LZY24LNhqGgbquIynlteu6x+AsvnjFbrukDxw4jnOm3YVkp7+CD8D9BKnNS8kuS4FHH5m+/wOTfuByGxx93z+bfNGZXQE/6qnOi86ofWCaN2YwO2GMnaWqqrpomuaVf2IL1hA7vmOKl0VRPGC7hsZ1G/yXGsyhbBzHp7Isb9Frju1PqDM9fwswACNF1jCNRpSTAAAAAElFTkSuQmCCu;52;Resources/HUD/scroller-horizontal-track-disabled.png230;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAYAAAAlH6X5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD1JREFUeNo8i7kRACAMw4xD2twxCPvvRghPKHChkwoDQKeZNd5NiognBlX15fy2Epv3AUZESZDuXtPqEWAAAbEUmbnlEr0AAAAASUVORK5CYII=u;43;Resources/HUD/scroller-horizontal-track.png238;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAYAAAAlH6X5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAENJREFUeNoUy8ENwCAMQ1HLIYJThuhW3X+GFlAaqdiHr3cxANwtIi6eLZrZqzx09yktaUufUjwPsKpMaczMLo1fgAEADawUxddyoEQAAAAASUVORK5CYII=u;46;Resources/HUD/scroller-left-arrow-disabled.png734;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbhJREFUeNq0VFtqwlAQnTw0UbCISj+kO9D+dAVxCxZxEYJr6BIEt+EyXINfrS2p0HylKiHmdb09ExILJWkF7cAhgZmcc+fMnShEdE//GLplWY/XIDoej+Fms3l1HMdVVVUoinJk6EhcTC6E8Far1XMURb6maTGIBWtCSJ4lgA+pWq2WpeV6vc7JQ5DGAJOmxL8K4GTk+z71ej2ybbuwBvmP3W53YHIgAnmS2wNIlQWKwMSVSoUmkwlNp1Mqq3Nd95NJ2Ro+PT91Xf9GUQdsyWAwoNFoRN1u90RWFPv9nm1JGCBMsnf2P+1AZxt+BhMPh0PqdDrUaDSYhIrqssNE6JQJBQMdiFyAh1xo0WKxoPl8TtvtNh0uCkstQl7jQTPYdyaGyAkqn6wIy+WSxuMxzWYz8jyPyurq9boppVQgwKB0sJlIalO/33/665o2m820m6IIw/Ady/UCm3zDMA54RpiFyAXO2gPclNIcCO9M03QwihgdxdkWy3RBpCSt3W5b/HIBFAjcBEHgJklyugmZbaS1Wq1LBZjHqNVqt7x36CRAB7mOcpV/URYmBv6AObzFcWyjG+5I/RJgAC85tuyF4bVKAAAAAElFTkSuQmCCu;49;Resources/HUD/scroller-left-arrow-highlighted.png754;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcdJREFUeNq0lLtOAlEQhucsC1TEcGvgDWgIlc8Ale0GGl6A14DnwNYHUAtiYWJntNdY0GziskT2fvcf3Ni4J5K4nuTPwGH45razgog0+scjhsNhVgYoy7LDbrfb7Pf7V0VRQiFEBMVqmqZ/hoOhb7fb6yRJdpVKxQU4xHWMQMlJAeI4JlVVpXxd128ANwC3AHWhCPcJF6ZwAJkY7DgODQYDqY/neY+QCajFASCHg3AlSMqRVhCGITWbTVosFjQajWg+nxf62bb9BqDHwBzsw8ZoUwKlhQH4bjKZ0HQ6pV6v951t0fF9/wPAAPKRsZ9/jvMgqYre/fjTbDYjTdOo0+lQo9Ggw+FARX75fOxqtRrxk8NCBWz5ewKlhTNYr9e0Wq3INE2q1WoER+kMAKzzMLlwbgtnjjtWxFI4syJtNhsaj8e0XC7JsiyS+SH7M+yAwjt1XCy0hbMHnIMlot/v/7porVbrWI2kRQ+u694i0Hu9XjdhHcwi4CpO3gPDMKS/AXIO2BOqcSCP+89V5NstythkBXO6CILgEo92lH0dni1XEYlut5uV9F77QLuuYJ/RJhtw3o1QtNvtrMy3J7K/g7kH/IXn8CnAADDPYRM6gNQFAAAAAElFTkSuQmCCu;37;Resources/HUD/scroller-left-arrow.png766;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAc5JREFUeNq0VM1KAmEUvTOOvyCpuHLtTvdt9Q1CcBH4BoLP0Dv4CG19gGoRLYRcRStXZSAuhKZJzSbnv3MmMYiZCrILh0/n3jn33nPnfoqIHMs/mtJoNIJ9EPm+v5rNZpfz+fxeVVVbURQHcDU4/kzued58PB6f2bb9lEgkTBDbeOwikferBHhRUqlUbPGTyeQcMTrIX0BqAg7zAsG3CVCZmKYptVpNptNpZAz8N8vl0iD5NsGG0gAe4KtMEAUSJ5NJ6Xa70uv1JC7OMIwHkL5RGlbPU9O0T0R1QEmazaa0222pVCo7sihbrVZLEFusHISb7W/qzy58jTJ8NRK3Wi0pl8uSz+dJIlFx22LW6NThl0OgA5787wHREg0GA+n3+7JYLMLhIjBWIvjTHCaHTd1ZOZIQDqHFVTYcDmU0Gkmn0wm7iYvL5XIH6/Va5U6Fi8XBonqQh0NW6vX6j4tWKBTCbqLMsqxrLNcFZHpMp9MGzlfMwmIXv94DfCmxPhAeZjKZW8ziFV2+UX9WTl8QBMo+NlktFotHuq6fIokTfBhna4VzKJVKJ3ggfwEsn81m6zh1JHlGB7u7TqlWq8E+b0/IdOU4ztB13TveR+8CDAA4ZHMC9dTxrwAAAABJRU5ErkJggg==u;47;Resources/HUD/scroller-right-arrow-disabled.png750;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAcRJREFUeNq0VEtuwkAM9WQCoQRICK3aErWLSCBRpScox2CPOAg7rsAxWHMVVgguwEd0gYDM9DlNFhVJP4JasjyTxO95nj0RRPRK/2hmrVbztNYGu1LKbDabtu/7bSFE6RoEwnXdNwALrJlEYl2AWWEYvhiGcXMpgSyXy48AilCxwl7zwyiKCGTvlUrlHpGyfL/fk5SS8t6nLqvV6h2DwzWI4ggTu91OQz4yTbOWldhqtWixWMQkyMkncBynwcBwzeCpdNwTRIVTPGQlDodD6nQ6NJvNaL1eE/LjxDOCer3ucQUMnhIkTZeHw8HwPM/PIhgMBhQEAXW7XSoWizSfz1NpvzgUMCP1aUYCrhLJ1Ol0ijgpy3AyYgk59nq9uCfT6fR8TKEhg4lERwGiuOHcCEwT77PHD9/jPS2XSxqNRvEJMu8B65+MqE5kYv15bAUmzMo7wXa7pfF4TJPJ5PuLxkDphoETl+y2bd/mnaDf79Nms/n5JqNCvsECehtYy+PxWEA0Mb4u+vOUR7BarX73q0iBEXldgFuQrQSCdh74n/5FXDGAUgILujcgTQiJSjxmFxNw9dxky7IcVP2M6oN0hq9hHwIMAA2mcW+/QfMYAAAAAElFTkSuQmCCu;50;Resources/HUD/scroller-right-arrow-highlighted.png762;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAc1JREFUeNq0VE1rwkAQnc0mJrFqFKEIllJKWwqV1J5KobdevXirP8WfIP4Pj+q/8SDVYy+iVgTTxCR9o/Fk0g+0A481cee9eTO7EUTUoH8MNZfLXYVhqAJaEAR6oVA4LRaLNSFE/hgC0jTNR6w+CBnBarVyF4vFG4Qv8d6EMB0CmU6nHxRF8UDusRAQwgkB74Zh2EmJrusS8n4WyGazdyBfswMk8BrwH3ASwp3Au7O4RNu2aTweb0Q4EgUsy7phYmDTIuxlKNFcPLi4j0tstVpUqVRoMBjQbDZLFFIRDtoh8SDZxXZPmELCp+M4H9yuuCiVSlQul6larVK/36dut0vYv3+KEC5IFECNyGXUsjXC830/ViCTyRAOwmZtNBq0XC6p1+vtC0gpecAKwOQCQvzsb5SkFEkOsIc0TaPRaETNZpOGw2H8PeDeR70LeAZiqyR4DnBnJTmYz+fUbrep0+l8f9G4mF1RIObh8jxSDMRtkoN6vU7T6fTnm4wKVZ4B+s2/dc/z0lhN2L+Amackgclk8rtPBYg1EGpYDeAEyKH6PNpTSyL/07cIFZsgSoHYBLKo+lrX9VcW4XN8sAC3hdsEnIP8GXg5RuW7+BJgAINQm2YEYuEWAAAAAElFTkSuQmCCu;38;Resources/HUD/scroller-right-arrow.png778;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAYAAAD+pA/bAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdlJREFUeNq0VLFOwlAUve1rqW1py0AMAWOMsUZi0DgZEzdXRgad+BI2foHPYCT8CosEJgcSoLAgpa3nFlikFQ34kpvb19d3zr3nvFeJiN7oH4di2/ZVFEUKQg3DUCsWi6elUqkqSVLuGARC1/VH5ACAHOF8Pl+ORqP3fD5/ifc6iOmQEIZhPMiy7APcZyJEFAQBL35ks9m7tI2LxYKEEPsJLMu6BfiKOwAR55AX0EkE+SRFUc6SNrquS4PBICbBnnQCx3GuGRgRS4QOOGT2BdlHF/dJGxuNBpXLZer1ejSZTAj7Y82/f4cClQXMFZgI7mL9TZTBhs/ZbOYVCoVE8/g9DgNVKhXqdDrU7XbJ9/3dU4SxBIGMUDbgYiPZCsNnP5IGOiNIGOdarRZ7wiQ7BNCQDZYRDC6BiOcBT1RV5XkiAeuOdRoOh9RsNqnf7yffA9Z+o13IHkhrJol9wAlz0jrwPI9arRa12+2fLxoXsy0KwGwu+5HhME3zJq2Der1O0+l0/01GhQp7AL35WYNRBrKO43sBf57SCMbj8e9+FQBWAaginyBMhA3ZciCopoH/6V+EinUAZQCsIyzo7kKaV0iU43N8MAHLwlnTtHNU/YzqX7aX5BjjS4ABAEDnkWqhfTpFAAAAAElFTkSuQmCCu;44;Resources/HUD/scroller-up-arrow-disabled.png686;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZJJREFUeNrUlMtrwkAQxiePxiZ48FHTggUvvaZ49uTRiwgW8Spe/XuVHgslB0tTQoIk5rX9JiSQqqXYXuzCZJbZ+e1OJt9GIiJrOBw+ZVlGh5am6Rd/aDL9YVwgLISgIAh+B0uSRJPJhJIkOQ/m7o7HY5pOp9Tr9c6DW60WzWYz6na7tFqtvj39CI7jmBaLBXU6nXwTy7JoNBrl3/VHuN/v02AwoHq9TpqmUaPRoOVySaZpHsHqYWC9XtN8Pj+psH8gksuGj7odRdG767pvvu8H0PcVh3Rdv4bdybJ8cxJGYrLdbl9s23ag6xiJKcIZ5iIMQ99xnI9ms2kahvFQcmoBBpvN5hlJoaIoe4AMJwBzuMhRPM+zd7ud2263HxEyFDxu+QQshAD2gCNVVSP4BD5m4zlXgo1SHhCMC/Xd5zCEr2Mx4hPLZPgUvmoZ1llmAvqPa7WaphZ3l0tMi93zJJ6XUFk6r/FPgu86+NcSLptTNVFswiYqjeXcGNV7JSzKBJ5XQFEYlysBzLgaeAmvGn4KMABFtPy+67Pl0wAAAABJRU5ErkJggg==u;47;Resources/HUD/scroller-up-arrow-highlighted.png686;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAZRJREFUeNrslL9OwlAUxs9tSzHKAARSEnbioHQicWF2ZGpA4gN0553cfQM34+ykMTFG4mgbobS0va3fKcU/SKJoYhwk+fgup+d3enpuL4KIjkzTPEmShFYlpXznq1LoB58/CKdpSmEYfg8uFAo0GAyyYW0E8yQty6J+v0+tVmsz2DAMGg6H1Gw2aTQafR2O45hs26Z6vU7VapXa7Tb1er1sBp/CnU6Hut0ulUol0nWdyuVyVqzRaHyAxf8b9ouwtmafrzzPuwyCwMHebiM00TStAplY766FkRi4rnvmOM61EMJXFGWOsMQ6wVY9+L5/UywW91DkEPGtFxjg43g8Po2iyFFVdQJwBgUAY4hPhkCOjq4uoFscmmPEaiq+9jkJlR0AT4CnqD6Fz+AsH2vuJEReiCKsO6wPMhg/KrjosZDsITmAz+GsMFeE63Jx6BIPvpO1jSpzVl49hnNixACLn3uRJiQfEHiK9s+XMP9lZM/3VigQ50pe55ryIBXc/X4Jyzwh5buwuEWO5VoOTXIncBVynwUYAA6xEqaxcbksAAAAAElFTkSuQmCCu;35;Resources/HUD/scroller-up-arrow.png710;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAYAAAAlBadpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaZJREFUeNrslD1PwnAQxq8vKVIZKAgLA6uDjYyGiU0WQkLCYOJAWPle7n4DN+NsQqIxMcZgwoA0lNLy75vPYfEFNAZNjIMkD9fc/37X6/EUiYiOarXaSRRFtKowDN/FVcn0g88fhOM4Jtd1vwdLkkTNZpOCINgM5u02Gg1qtVpULpc3g3O5HLXbbSqVStTr9T69+xrs+z51Oh0qFAqLJqZpUr1eX/yuX8KVSoWq1SplMhnSNI2y2Sx1u10qFovre/l32C/C6mpCCHFlWdalbdtj+FtHyk6n0wa0L8vy7ocwCr3hcHg2GAyu4WsXhXN2Kq4jz/MeRqPRjWEYe7quHyK/9QIDfOz3+6coGiuKYgOcQR7AAArZD6jRJpPJheM4t/l8/hi5HQVfJhTgYAxgAniqquoUcYbIcnHNkwg0EjCMgEHu4L6DBQzjGzh0WCh2UOwhzhFZIpGPc54igv+dVCq1rSbv7pyVdA8QudBngMXP/VwmhfwngRijwfkSFjw6H74VGgSJote9xrxIGePfL+EwKYj5LiwekXOJlksLeRJEBY9qPQkwAH6xFG4uskBeAAAAAElFTkSuQmCCu;47;Resources/HUD/scroller-vertical-knob-bottom.png490;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAP9JREFUeNqUUL1qwzAQ1vkfAu7YxU/Sx/BrZOnWtc+QN8iSsdCxe/HYLoVMBmGoQwZjE2PLxJbVO2GBKIU6go87Sd93d98BYyxK0/Rc13UspWTzPGuYnKKdm/9xHIWDYsznwnEoXX9Q863FWPHN9/3VQqUUm6bpXYurqtqFYdh5nrdWLJqm2ZNYZVl2EkJsgyBg/xWgrn3fP3ddx13zmOf5MUmSzyiKHpBwZxZDZMtn2bbtU1mWr3i9GDExFOc8R8IhjmPABW5c170HABJ9DcPwUhTFI1r8QG6LEPBrKrJBBWl7wRJNA4kYEdclSvjDFixwLOipLehJwfZ06/kRYABTY58KWRsFmgAAAABJRU5ErkJggg==u;47;Resources/HUD/scroller-vertical-knob-center.png206;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAYAAAAB3PQ6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACpJREFUeNpiZGBg4AgKCvr+7t07hn///sHx379/4TQyGyb/+/dvBoAAAwB0aihkcGml8AAAAABJRU5ErkJggg==u;44;Resources/HUD/scroller-vertical-knob-top.png510;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARBJREFUeNqUkbtKxEAUhudkZieERSQIQSFWKSwt04gpxFha+QA+gtY+h4XPYGdlY+Mr2FsETGERMOR+Gf8ZRllWi90fPphJznfOZELsb8jiWMg+V2C26LWiNVEXcyCAtDj2nZZ6ywgmWhNFFEV7YRjeKqXO5nk+HseRdV331jTNa5ZlD1VVfaKuAi2tiIskSc49z7tv2/YQAtPiNE0MTQzYfxRFcZfn+Qvqv7j9JpGm6ZXruo8Qd/u+N8WYblhZ70gpL1GXlWX5rmUnjuN93/ef67qWwzD8Sv+hwzk/xZAnc6NBENzgmEt9zE1CRB6GXRsZnS70xE0DmQkhToyMHOmL2SZocPDzDxdsy0BefgswANTzkXd08tnFAAAAAElFTkSuQmCCu;50;Resources/HUD/scroller-vertical-track-disabled.png226;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAYAAAAB3PQ6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADlJREFUeNosyrsNACAMQ8F820gMwv67kQQwEsXpuTAT0YyIISKlqgnL3d+u3w0HP+puBslMQ+0KMACg5xR+0/xvkgAAAABJRU5ErkJggg==u;41;Resources/HUD/scroller-vertical-track.png230;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAYAAAAB3PQ6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNoMyrENACAIBVEEiVYM4VbuP4OKQRJ/cXnNFSKaZjaY2UVko6WqBzq88KHER5kpqEZEg/0LMACqFRSole+PrAAAAABJRU5ErkJggg==u;27;Resources/knob-disabled.png1190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAwxJREFUeNrUVUtrE1EUnlcmM0nTTJqEtiqhFMF2I4gIShduVGhdCKJ/oS5ciOC/UARBLUpFpRYKFbvRNpQKilsfUBdpG4htbEyTNPPIc5J5XO8ZJmFM0jZddOGBw+Tm3vvdc7/znXNJhBBxVEYRR2hHCs40fpAk2TpH2k47HMbAo+FwZHvTGlQz+9yI7uvr498urjwSfN4rHEOH3AzF1nSzrurGrlwsL9+YuHRHFMWqfYjZhgKntCQVgLlnM3OXV2MbSiqVQhgAlUolVK/XrS+M4X+Yh3Ww3klxE7MFnOrv7/fOLryfXNuIm9lsFqmqiqrVKqpUKqhcLltfGMP/MA/rnr6avTY4OOhpHNDAZFo4Zs5dGBs4PXLycTAgkB6Ph9A0bc+Eeb1ea9/5s2dmBEE4lU6nNWcOnGqhIpGI9/bde1MBX4/L7XYThmE0o+jkMM9xHBEWfL6HU9MvAoGAxw6yTYp0MBjsDfX2jLEsS5im2bXDASG/7+LQ0JDgFImTFhpfU+BcNE9RlLWpWwMZcyzNw348zHYEZxiGJwlkXesw4NYBiCBdLhdn10MbuFUwGuYRuITouzVYr+k6wjegnZw7wa3KK1VUtVarcZDQbg3rnyhV1RpOsuGsVmd4hq7r1d/pTAxr+VAJxfontrbTq1i2ql2t7eB4kbww9+aBKBcMXIldAReLRSK9K1bnXk/fh/17gufz+UIum02sfPr8UpRkBBv30znMS7KCotHok0KhsLW5uQngeifOzWQyWcaVtv3l4/K8LObL4+MTtwZCGgc6xkogGhKFqsXlT+zsSurS0uLUzx/forlcbluSpIqT89aE6plMRqJpen31+1fzV3w9fvX6zcnI8WMjPR6OZTC4jsFx0uvJ1J+1D+/mn8uyHMPAcfxVHC3YlqfdtBz9HKhiR0dHA+Fw+ITf749g/Q9g78WRszjyOk58AfuOoihJiDgWi0kgmkbbbWJ2AG/2c+gVw8PDfp7nA1BgdoFYqsImJRIJxabin35+EHjrS8R0eIn0g14i8r99/f8KMABYnUshETxaoQAAAABJRU5ErkJggg==u;30;Resources/knob-highlighted.png1286;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA1VJREFUSMe1lWtIVFEQx5fMB2WSRmQFIhQVGQjSm5JIJFRIyzQypOiDYBBZmq0PqKwwM0W38LX4WB9pobuWpi5ppZTiquuT1LW1NM0KMqIH2Zdp5jZXdu1eti99+DGcmTn/e87cc+YoqvrfK2RYhDggSxFXZCWyiq0r+x04T1JDTtSRBTwQb8QXCUAOsvVlvwfnOUp9ZKGwPeLCk7Yjocg5JB0pRMrZprM/lPM8eJ69nDgF3JBNSBByEalAhpA5BCyYYz/F45FAZCPvwn6h+GJkOeKFhCPZSB8JFXeMQ07LIGQ1dMPN2nbB0pj8/CEjkoEc5g+4iCUSxZcg65BDSA4yXWGchuymXihpHQT90BQYJj+DafaXYGlMfopTHua/RjJ5x1QiJ1Hcjk/AXuQKMlbWNQmp2ueg6zZD38ef8GL6BzyZ+A6N498ES2PyU5zyKnqmgHeqRHZwee0U/KfXI5FIfVX/DKTp2qG2xwxP33yFOtMXWShe3WmCjPousUT3uKyepEviy5BtSDIymd86DOpmI9SNzoJu+JNNKK+guQfy20ZI3MQ/2AdxJvEViD/XGm7gNks7xuD+4Id5Cp4Ngd/xaFjrvUuwNLaM3+00C/N49SpkP+mSuDsSglRSMLGkATSGSfxR7+bZFxENG/zDwSv4lGD3HI2yims6JyBJ0yiKV/BlcyfxNcgRpIaC5/O0UILilmwJioStJ+JhZ9QlwW4OiLCKF6N4bL5OFK/my7X6r5XH5msht20U1O3meQLPXhOEd0dfFeyBMylW8dzWEYgt0Emu3KrmyWV6SKszQE7r6Dw0Dkm6LQiTlYrTPKmaW56Wt1lNRogvegSqlpf/zIXCesjW90meFqtzXtk3AzG51ZBY/hgy9AM2UWqaIAEPgdw5F2+oL9/QV0VYx6hbGojDFaU1GGWhOOVpDBOyN1Syt5TihDj1AzitqoKE8mZI0XbA9YddgqUx+Sle+kdYtrfIdcUB2momdsGYvBo4maqGY5fvCJbG5OdS9Nrqigp+siz7uZJraFrQy0VMHFdyvmw/l3qJqHZh/PdVfH5r2KrYH8Z5Nl8iyzfUiXfhycfKDwnmmxfMYx+Ou3G+zTfUEjs+ps580dy5Vbjz2JnjdrKvPwD8N34D1L0Qnrdlo6IAAAAASUVORK5CYII=u;18;Resources/knob.png1106;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAs9JREFUSMdj+P//PwOtMMPQNxwLYARiJiBmBWIOIOYGYh4ozQEVZ4KqQwGEDIcZylM0aWlU/aJti1pW7rvQse7ILxAN4oPEoZbBLCHKcJBCDu+EHLX6xTt2Lj185f/hm0//X3/+8f/rr3/ANIgPEgfJg9RBfcJEyHCQAs7Q3GqLpuV7X++4cO//3fe//p998f3/wcff/m+//wVMg/ggcZA8SJ1HbKYOsgXYDAeFHZuAqIRE9YKtV3devP//6OMv/zff+ogTg+S3nr3zv3z2+j1AvcLQIGLEZjgzEPMlN04qWrj/wv+tt979X3/9LUEMUrdg//n/SY0T84H6eUGux2Y4GxCLF0xedmTpyTv/V11+CcezDlz57xyd+V9a3xJMg/jI8qvO3P0P0gfSDzIHm+GcQKxQPGPdh4WnHv1feu4ZHDtEZf5Xcw37r+2fBKZtwtNQ5BeefPgfqO8tSD/IHGyGg5KVWtGMdf8XAA1Hxjresf9N4sv+W6TVg2ktzygU+flAwwunr/0N1K8KMgeb4aDw0siesOTj9EM3/88+dheOvfJbwAZbZTaDaffcJhT56Qdv/M/qX/weqF8dZA5Ol8c1TDrdufnU/2kHb8IxiB9QPRlsMIjGJg/Sh8/l4DB3jc/rLJu39f+kvdeIxqVzt/x3jsluwRfm4NTCys5hGVM/6UHVkt3/e3deIogrFu74H1rWcQqo1wxfagGnc1DQqBhZJUQ3TPlQAnRR57ZzODFIHqROSlU7DKhPBV86Z4S6XhSI9cTkVaL88hrOZk1a8b9yyZ7/TeuO/2/ddBpMg/ggcZA8UF0EUL0OoRwKL1ug3tMFYhcT7/B+n7z6S2HV/Z8jG6b8B9EgPkgcJA81WIxQ2YJSKkJdAvKqKdQQPyAOhNIuUHEVqDqiSkX08pwX6ipQKgAVrRpQWgEqzktqeY6tJuKE5gNeKM1JUk005CpoACn7Zz8845ivAAAAAElFTkSuQmCCu;36;Resources/popup-arrows-pullsdown.png326;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUCFtjcMlpNnDObv7mkt383xmKQWwwzgGK5zQbM/z//194zvrdM5AkwBikePrq7bOB8iIgRSCsXDt9+VaIZBNYUeWUJbuB4qogeZgihm8/fpintEy/ADItoXHqtW8/flrB5OCKgJjx4bNXQWmtM87defw8HMTHpgiE2YDYDYjZkcUBl+OOeCK3v4cAAAAASUVORK5CYII=u;26;Resources/popup-arrows.png434;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAPCAYAAAA2yOUNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANVJREFUKJFj+P//PwMMu2Q387jkNK8D0kLI4gzIHLfc1s1ARf/d8lp3Omc3M2MoAgo2ghQAaTAGsrtQFAEFQpAkkXE4WBFQwsAlp+U7zBSwJJR2hYgbgEwSBuIkIE7DgkHiwigOx4WpqAjkMKCDv7lkI3k/G+74b0BsDHb4nPW7ZyBJ/If5dPrq7bOB8iIwI5Vrpy/fCpFsAiuqnLJkN1BcFcVN3378ME9pmX4BZFpC49Rr3378tMLmcMaHz14FpbXOOHfn8XNQSDPi8h0bELsBMTuyOAC+nGWQKm0f4QAAAABJRU5ErkJggg==u;50;Resources/popup-bezel-disabled-right-pullsdown.png650;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAYAAAALQIb7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXlJREFUeNrslkFLAkEYht9d91hgrORCRKeCiqJDRGK2GIVYxw4d+kf9g/5FHax/YNShW9ohSINyRTNZ01zdmW1mV+3mbsVslz74mDnNM+837zcz0slZ/hRio8kyzzKnUEpxvLcpjNSxetFi6WX//smQFcdxUHi1hMEUWUJc01AsV5KuMkodYbAeW7vHRsaZHMAoRAdnuDASJixEZQSEhAEjUDiIsIno4Jw/UBYC7EuZTxkbjQYucxeghGDYkdJgjCgRZLJZqKrqq0wmhJdxfE6rUzg62B1BJMmbcPBhJg0tpiLIOrLbZ2R8diwbEzENO4l1D+J4+vSNNUTjM2hbfd81XOsPqX7x1iZYWFqEUauj8FDC/NwslldWUXvvBjyzkfWDGaRqdqGnkqyMEra3EjDMD7HWN1oW0noKz80O26TzPet7d2Pwpub7eqybP7uuvDMLo88I/p+Y35XQtjmjJfxbYPf7qFcrHHblfnjubq9FCuPWvWF5/inAAMMzdZSyHBqHAAAAAElFTkSuQmCCu;40;Resources/popup-bezel-disabled-right.png842;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAYAAAALQIb7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAghJREFUeNq8ls9KG1EUxr9JZuGiKcaJNdCFSEoWCl1YqEpaaaoitILg1idw2Tfo2jfoW6jYRcCaukiqrUg2bUTI6KgYrY5ObDPJJHMn3juJ/0C8c9tOD5xkhsydX75zv3NmpNm57Af4GwbNLM2PsuM4mB4b9I1kWrX2/M7Bm83dw4DcaDTwQ7d8g8kBCV3RKPJaMeEqc5yGb7AavXeNflNOqAVz4HcwRoB9EIGsWhYWFhZRNk2hdYwjrCyVSqFQ2IZNbExMvIUkSSLKCAhxPOXq6hpUdRvs/pqmIZPJel7LOLJ7Qg94oaoq1r+tN09aYnK5HJSIglgsxl3POPKlsvtC13Wkl9NNyE3j0uOVzysIhR5CURROGS+VcWBd9N+/fzeDu7aHtin2S1VYtuNRGaeMZo1g67j+l9Z3lbEyEt/7jDFc6/PK+K+a2pMywzCQ/rQE2759HdvDYDCIV69HEA6HucoCTevfn51KGFPjySvXSy0Qi8nRYTyKdPCnCPHY1OVqHW3tnUgO9F/TaLx49hQPIlH3d09N3ZyNfIOclivoicdxeKJjs6DhSfdjxHv7cHReEd0zbwYpGiYSQwPuPEwMPsf+WVncjSKD+KBUwcvEEPZOfws9B6+mPhGAsSIUfpb+zPr/4+FJbJsxfvn+WmDX6zg5KjLYF/eF5/vGmp/Czml+pTl/IcAAabQiHJYP3UgAAAAASUVORK5CYII=u;41;Resources/popup-bezel-right-pullsdown.png642;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAYAAAALQIb7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXJJREFUSMftlk9LAkEchl/30KlDoemCRUUopBQeQogSsYQOHTp0iM59jLoEnTr0EUztC/Qpgi5eoqBTFyt1tULR3HF3ppndJTrlWMx2aeHhN7uw8/Du/NnRTi+vmGKqnBPOmEYpxf5mWhk766lofDp8yD3HGmMMdy1TGdUeENF1cM+Bk4xSpgxiUbwR8Dad8mT+4MhsH/iU+ZjMhm1T5QiP5twIoWrsP0nmE26yIRhNA+VSCcVCAeceRY+LcgkNozG0Dy+Z+IzfEw5OYm87D3EFBAG3wXjZ3cpBDwUh04+7zobE75kWxkM6NlZXXAljjjibTmEiEkXXHEiMGZVLJnjt9hFPLCKxMMd9AcRmZ5BcWsYLfy7bhzf15ai3+8hm1pCMzSOfy6DWfpffRX4y9WsdE7ksF3XI6FPf3RvlFyexLDw0204d5b0vY+bHOrPx/4v5FQNCRDXUHwtMgvrTo5AVnQPPbeVaGfc3lVqr8XzGPUcfblj1AECuvN0AAAAASUVORK5CYII=u;31;Resources/popup-bezel-right.png810;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAAYCAYAAAALQIb7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAfBJREFUSIm9ls0rBGEcx7+7Bzk4eNlli7ylzUtJFGkRUY7KzdmFcuDAhULtycHf4LRecpBc1sHLgYi0JcqupS0WszteYmftrJnxzDPrLWWeofHUp9/M8+s33/k13+d5xjq1tK2YzAXBTUizyrKMnvZ60+hqqsl3FuSOEp1Jq6IoOOYTpnEhAHkOB4hOL+1MlhXTEF9k3Isg17I9JfY/UDHJAM+JBJaXVxATBEN172JG8Hq9OA0GSVyFJElGO5NIkczEzs4uzs7OYbEAoVAIW1vbzLWqjpXeqII6BE4D2N/bBxS8D5/PB3/Az1Sv6jB1xnERrK+tAxZ8HUR4c2OT5tk70yHPloOJoX64hwfgHhnQYup6fLCP5lmeo3WmgyAm4Y884oT7jjqv5vWekepMwn+hrTNGR/0Fan2WN+J5HosL85jzeL4wP+uh89FolK0zzfo/Y8/JQndnGzWg5Y2UM7s6WpBry9bfRVitH3tOIj3TjraG2g81MprqqpFhc9A8k/W1vVHfkbexOEqcTpSXFtH1VVaYD2dlFfinOFP9p2/G9pGv7gW4GhtQUVaM1mYXwncxAyaRjG/E4Yc4ml2NuCTR9CNGfJEQ5B5oNP2I+Q1JUVRjxPzfgoSIm/ClKjZDf3iODnZN4+Tw4JrnrqaJztgraPK+AKe0hD8AAAAASUVORK5CYII=u;34;Resources/radio-bezel-disabled.png894;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAi9JREFUeNqUVLuO2kAUvcYGgs3yCi+zCYhiSzZK42xDScsPJKIhFV8Q8SF0NGxER4NQ/oBmU0SQIiQFQghjBApRADvYPJx7kb2CrDZiR7ow4/E5OvfM8TDwcDDNZvPa6XRmHA5HkmXZy91uJ+/3++Fms/maz+e7+I55AjheVKtVfyKReBeJRK5DoRB4vV4QBAFUVYXVagXz+Rxms1l3PB5/LBaLv20ca5PVajUxHo9/SKVSyXQ6DW63GxiGAcMwANUAz/OA5IDqYqjqJpvNfm61WjqBOfrJ5XJcIBB4j+CLcDgMmqad9Ift3M+j0SiYpnmh6/pbXFaoNQepKBQKUiwWe+Hz+QA3D6DHivaDwSCg6gyqvyE8KWHRRIn63263cO7w+/3gcrne4PTuQILjJRI9iQS9IeAl4YmEwR4F2ngKCQ00mLfbYbBPDYvnOO5sAswMndwfm8TEHMiLxeKKjD13LJdLyo9C+AOJoihdURSvKAvnDgwdyLL8hfAUNqbT6fyUJCmD5no9Hg/l4L81mUyg3+9/L5fLnxCvE4m5Xq9NJBhh0DK4dlHUHyNA1TAajdRGo3E7GAx+kT127M1er6dNp9NvGLoIuv7cPkaKPplIHhABKvhRr9dv2+32hFQQljn6EInQjSWUSqXXyWTyFXokYhZ4TCp+CZoyHA47lUqFfFCx1nTKxyT3GaJ2sJ5Z/5z1jF6mEBkW2LCePbwK/lHFWnPGuj+odlad3Cd/BRgAYjwouXetfmAAAAAASUVORK5CYII=u;37;Resources/radio-bezel-highlighted.png898;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAjNJREFUeNqMVEurUlEY3cfjO5PjO0UkCCKCiqLxnTnpktUwCidySRz5K/wJRgMnDmxkkdWooBo4bdCFi83UUkFS8/3W1pJjeL3FPR8s4Xj2t/Zaa3/7SOJsSYVCIWIwGA51Ot0dWZZvLJfL49Vq9XU+n7+PRCIFrFmfath9yGQy/kAg8MLpdN632+3CYrFsMB6PN+j1eqLdbr+t1+vPYrFYY59Eymaz1zwez2e/3+91uVxiOp2KxWKxgV6v38BkMolWqyUajUazUqncjcfjP6lKT4ZwOGxSFOUlVHi3C3eLRKzBYCDMZrPw+XxebPIcfz3kax1+dNFo9Aks3Fqv12I0Ggn4/y/4HlkJt9t9CPVP6YJK9AjxMQIUCE5oKQQt0COMRiNJciQxgOA2d9nK1lJcj76b7CeJDBtOWuEOWovrQaSwnyQSQurAioNetRY3nM1m3W0m6+FweIzADpi81ppMJgJ9J9sjXuLc3zkcjgOGpbV43LVa7RX7OWxGzMilVCr1AcN21WaznUvQ7/cFpvZTMpnk6fySKQfSVlDxDcN2D89WHN0muH+h2+2KTqfTyufzR+Vy+QedyeplWpVKpU6z2fwYDAavIODLbJAk6W+IzIB3Bwq+5HK5o2Kx+J2u2Cvt3CEGchFwJhKJR6FQ6IHVar2OWVBA8hvBn1Sr1TfpdPo11vBe9DnyFCHt2WXQFpXsAmDiHFAMMAWGavNYJTj7KdhTZVAJJNUyieYqTn1P/ggwAOPnK9ASMplRAAAAAElFTkSuQmCCu;43;Resources/radio-bezel-selected-disabled.png1146;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAutJREFUeNp8VF1IU1Ec/9+vbffO2aabk63JJvMrFEeiVj4EFhI99Bp90FM9SL1G0EsE0ktvgQlJD0kIRkT4YPQUBD0kCJImpuGcc6tdt7ldN+/u7rn3ds7YplPswu/cc+7//H7/j/M/l4LjD/Vkai7Emcw9NMv6aJrx6roW0xGKqkVl6emdq4t4j1FDOLwYfTZh97S23271untamhzgrK/DsEJSymPkYEvchY1YYim+sfZ24vFopsJjKmIPnr/2NPuDjwY6A77e9gBorAV2EQ2RPRWKwIJVECDocYGFY9ySxp5r6+1fWPgyVyBklgwdZ89zDrf37mBXwFbX4IKVHbkmP0nVQMKf4nje0NgEfW26rbCfv4WXLzEQiYS68XBsqKcjOGRpcIOkINAN/UTkixowFgF4xmjyhS6k5z9/jJJIWJNF6GeFOsgratV7JrUDM5PjsLq8CJ3dIbh+7z7YG10lm4oABFs9cGZ+EC+/03jgaIY7jSgTqDjsCqZfjUNUTIHd31V6T028qLHLGgsUzXoJn0TC6IYhGCUPqBpJMpuDeo8fWDMPSJEhLW7X2Ml+zOMJn4hQiiLLckHmWZatbmoJdkBaVoHGW4iQL9iJRQ7SRSo+NUUmp0ORdIxcZjchZbM4TFTFxcsj0Oxygq6h0nt45EqNXZIkyGUzIuET11piK7zi9gX8PC5u5SHz4eFLNUeNkHaQrijCn/D6EuGXmi26+iPb0t3XzZjMgpkXQNf1/yIR34bN1eXw7PjYJ0zPERFDQ6qBmydldTZ3AUVxvNV6Yp8QgVhkQ/724c07Kfk3gflKpe31VDyyL0Z+bwoOl0s3wE6uFVUqGQVqUYUcrkEiFoXNX8uRrzOT7+PrP6PYmCdc6tBFJPWxYTgGrt0MuQPtZ3jbKSfDchYcaUHeyyYT4bWV+dlpcovTJA1SJpIJdeQ3QIQsZTErhrnsgLSFUva8h1EoCxz/FRyJiivf8ooIORq14v0w4Z8AAwCwpYb8ccIJGgAAAABJRU5ErkJggg==u;46;Resources/radio-bezel-selected-highlighted.png1166;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAvpJREFUeNp8VF1Ik1EYfr+//Tg3N3U457T5tygUc5YgdBlRCRZ00Q/VhTchdNOFN91EIN50HSLRRUGCSWKGo7wJgqikMIoiZ6nT+bPcj9v3uW/fz87pnDGnK+vA830c3vd53+e857wvA38v9vajwFnBYOxmeb6dZblWhLJfkK7PaqoydefamWfEB+0lMHs3fYNDNe4G37DXVdntqbRBhbUEykvNEJdkiIlpCEdTsLQRnVpbCF4futW3usPjdoLduPugxeVteutv8hxpdleCKGuwGhfhWzgGUkYFgeehweUAi8ngk7DhanPbsScfXwVSlMzTz0F/l9lRVTPS0Vjj1DHAu2C46HwxUc8pWYjEodpRCm1elzOT3h4mph4ClSphL/UP9B5qPNArKjokiHSM8T+RSiugZBFU2CxNdf7jyzMvJz5RJUaDqeSioumgIa2QPbWVgBdPR2HpZxC8jT44df4C2OyOnE3P6lBqFEAwmq+Q7WOWfEwsJ7RJMgmioQIC42OwKWXAXn84938+Nlpkj6VkYFi+lfKpEgFhbEc4Cyi7W4dURgOb2wu80Qy6IoMYWckp2FmY3jPGNsqnQVhFkZOqqpaxLFtwqq71goR5YDk+F6i6rh50fTcIQghURRYpn7KQtJWYy2QU4pQtoN3vJ2/EQtTpUG61wNGOjiI79ZeSW/OUT5VokeXF6bIKZ6eN4wqZjCYz+Ntaiq5az+6eV9pOw/rifIDyKYtZ+f55vaG96zTHG+wcCYQQ/i8kaRs2wqH3k/cGBgk/SoMQxRomj2fJ4fGeYFjGxJNSYYz2hSSJkEjEk2/GH95MRTfmqCguX2g9thba+hX6MVPmqm1keIMbY4aQIAdaA0VRQRRFiIRDH16P3u9fm/86Sx8z5TJ7GtFE4CTwdPZcPldV7ztptpY1cLxgJUpFWUwuRBaD0zOTIxPEZ4Vgk0ChIpg/xoCBwJYPVkFgyTcpreh2PjMl08ZT9x0FO/OEXk5emZDf0/lBeyKTz140T34LMAAJdqAwng0CqAAAAABJRU5ErkJggg==u;34;Resources/radio-bezel-selected.png954;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUOMtjYMAETPWLtgW2rNg7p23NwbMd6478AtEgPkgcJM+AD2S2TZduXrF3y9LDV/4fvvn0//XnH/+//voHTIP4IHGQPEgdNv2MOd1zdZpW7Hu148K9/3ff//p/9sX3/wcff/u//f4XMA3ig8RB8iB1ac1T5EH64CaoG1ly1S7acWnnxfv/jz7+8n/zrY84MUh+69k7/6vmbd4B1MoGD4OcvgUZC/df+L/11rv/66+/JYhB6hbsP/8/t39hCiyMOIumrTqw9OSd/6suv4TjWQeu/HeOzvwvrW8JpkF8ZPlVZ+7+B+kD6QcZIlgyc/37hace/V967hkcO0Rl/ldzDfuv7Z8Epm3C01DkF558+L94xrq3IP0gQ8SKZqz7vwBoCDLW8Y79bxJf9t8irR5Ma3lGocjPBxpSOH3tb5B+kCES2ROXfph+6Ob/2cfuwrFXfgvYAKvMZjDtntuEIj/94I3/2ROWvAPpB7skvnHKyc7Np/5PO3gTjkH8gOrJYANANDZ5kD6YSwQ9kouby+Zt/T9p7zWicencLf/dEvLrYWHCyc7JrRtTP/l+1ZLd/3t3XiKIKxbu+B9W3nUCqFcTFjugeBZTM7WLim6Y8qEEaEPntnM4MUgepE5W08AXqE8EOS+xA7GCuKJakH9B0+msSSv+Vy7Z879p3fH/rZtOg2kQHyQOkgepA6qXQ06xDNA8wAmVsDLzi+ryzW+4EFbT/ymyYcp/EA3ig8RB8kAsC8QcKHkHCbBBnQjyqw0QuwOxF5S2gYqLoLsAG2CCukoQGn0SUFoQKo5RngAAHC8qpFnABTYAAAAASUVORK5CYII=u;25;Resources/radio-bezel.png794;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAeNJREFUOMuVU7tLqnEYtigJpJJTS0JtDUHQpEPnDC7Oxz8haHNpqk1cxUkELwQuOnhbVI6oIFGCoiAYitfBQVDMS4LgcM7y9j4fvw+62Onrg4eX9/I8v4ff7/1Uqo/fWjKZ/J1Op2+z2Wwll8v9RUSOOvqq/31+v/+Ah5OVSoV6vR6Nx2NaLpdSRI46+phbxV8LBAInPPDUbDZpsVjQfD6n2WxGk8lEishRRx9zPp/v8I0rk8m0xVYf2+02TadTGo1GnwL9RqNB8Xj8D1M3ZI31YDB4WS6XaTgc0mAw+BKYK5VKxO4vZDfqcDicg3q/31eMVqtF4IEPEU0sFpt1u13p8pSi0+kQ88bgQ2QnGo0SRL4DiEQikX/gQ2SX7+S5Xq9LFpWiVqsR8ybgS074uR4KhQJBSCkwD57sRGOz2a4TiQRVq1XF4Ccmq9V6Jd+JWqvVHnk8ng4vkbSVXyGVSpHT6bxjrk5+nXVYMpvNJq/XO4Uj7MxnQB9zRqPxnHnbr7d2k7Gv1+t/ORyO+1AoRJlMhvL5PBWLRSkiRx19g8Hwk+f3Xm+sSqipRePYYrHc2O32gsvlmrvdbkJEjjr6jB/i4JV/9IawqBPDp4wzEY9Fffu9g5V/tHClEc+3K6JG1D+c/gLaLHWQM6f6bgAAAABJRU5ErkJggg==u;42;Resources/scroller-down-arrow-disabled.png526;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARxJREFUeNrcU7tuhDAQ9AtQQBQ5IQokCkDi/7+Fz4CChgiO8yNjb8idTiKPMpkCY+3s7uzY5uM4SimFEDJAHOABLMBa65zDV/jFOXYOF6J3tl9D9hnbHvAd7QPOeMZYrbWKomhdV8Q4h9p7AolGggkICUbFcbxtV20MO6by8zqHDZShuNagGuqjEL5cXqdpQiOywDcQEpkYBJxQ2CklEfJsiCnLcp7n201j2GCg4YyUWCKQPPWxKFUUxbK8bdfNoDW3UAL3JQJelyPH1KMJWZam6QtJJMaTs4L9Bn+VrZ4uxjAMy7LQNs/zvu9Pa8PjruvoAuCEmqb5RkmWZVVV4aeu6yRJvlJCAG/fd9yFH00JJW3bfj6z/3A67wIMAMmK0TcxpouqAAAAAElFTkSuQmCCu;45;Resources/scroller-down-arrow-highlighted.png650;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXdJREFUeNrcUs9PwjAYXbt2gIpHQzDGg1e8YkiEAzGRi/yB+Cdx8OTFRKPyQ4MSYWNs/bHV1y0SYoLEo74t/dr0fa/vaz/S7/c9zyt8AXPGGOfcdV1KKSEkTdMkg5SS2phaOBtgjMkTtNYZG1HbiI1v1BVPKRUsQpYYR0pFqas1zxNWyI5MldbSQk3e3pnLiyL0IQOjcIwBc0JoagxxHOTHgBDQfhqMWaG0Gy38KI4JJSgMxCS1haA+2IKHOIqFFEEQDsavVumgejR8vM8kcQNGeQq/ZRtj2VZa3NzeYWnZhWLp8Phk8jIMF0tcEM9AM+1EJzM/eHgehcsITJbXzj0PJ8w/pkJEWmnJpEtdofQ8WEymMyFVTmPr97Wzty+8Is6NhIjjEAO+dQJ1foO/ymbfeqjXux6ORvmyWq1etNsbtdHQ3e4VGsa+AOet5vkWJ5VK5axex6TRaJTL5Z+c5Gi1mr7vn9ZqUortVcJJp3OJrvo/r/MpwADuwwM0qCfRHAAAAABJRU5ErkJggg==u;33;Resources/scroller-down-arrow.png630;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWlJREFUeNrcUj1vwjAUjB0nLQSK0qUfKR1Yy1IGysgIKwsj/4g/lnZlZ0ViQGocx3bsnhOKKlpadWxPkf3i3L1378UkTdMwDM/egZgxFgSB7/uUUkKIMaasIKWkbjcO3glYa2uB1pq6CLt2Knw4oh54SinkZqgopaLU1zqoBQdUJY3SWjoozjmLotZms0EayOAYC2JCqLGWeB70AigK5MbOOp2L7XabC0EoQWMglsY1gv5gCx5ELgpZ4AwChtN+/yF9fuE8ryZgVajwOLa1ji0EKjSbDdR0ddvt9tNwuFqtsleOAQUVaJW71CWhXiuKIAaT1r1DOhg8du+7mHHO8yzLUArURvP8Mo7RUk1jH+d1l9zeXF/B9H6i1eywHgjU+w3+Kpsd3aHlcrler+vXXq+3WCxO5saw5/N5PV1c9Nls9oOTJEnG4zGCyWQSx/F3TmpMp9PdbjcajT5f9y+6hBP4gav/83feBBgAu4vyDSWkLFcAAAAASUVORK5CYII=u;45;Resources/scroller-horizontal-knob-center.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAIAAACqfTKuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpiWrpyHcP12/eZXr15x/T792+mX79+gfHPn0D86yeQhuFfcDmgOmZWLl6AAAMA0ScnvzgM/74AAAAASUVORK5CYII=u;54;Resources/scroller-horizontal-knob-disabled-center.png230;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAIAAACqfTKuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADxJREFUeNo8ybEJACAQBEG8/ltSbEILUMz99O8eRAOzZTblUtOYC9sMEQGSkAR3viYdfo36TyG01o8AAwDxoyq9365oKwAAAABJRU5ErkJggg==u;52;Resources/scroller-horizontal-knob-disabled-left.png606;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVZJREFUeNp8kr1OAkEUhe/8sLvCgIPgClYUGhKjhSE2FmJrYWFhbCzURKzUWuNrWPgcPoHhDeyMMTzBEmBlZ4R1x5nNYpDInuQkk5nv3ntyM6jZbMKUkDbWpnf3DyeU0kOM8ZZSqm4e6QxIL1tX667rPjKW32eMgeM4safhGDw7v6iXy8vtUqnMFzmHMAxhrC37/T+wGW277spTcanILdsG3/dhVjTpmrm+uW1lc9ldQigIIeA/0aSrRQg5NnWj0QjmaQJnhJQbhUhpeJwOc86d4TAoRFEExmkw6vV630EgPqUUTMdJhZWx/BJvg4HfyLFcKmzmhjKQz57nNWy9tnkitVrNrI50Oh/vlerqns5cNQWT/NM28O+foJS8IoSPFCjbsZ25sMkN3a7nE4JfdO2mlLISd8EojhCpCFDy61CSf0E7r13YbuycZizrQJ/XlIrv4EeAAQDMloUiXiKSSQAAAABJRU5ErkJggg==u;53;Resources/scroller-horizontal-knob-disabled-right.png626;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAWZJREFUeNp8krtOAkEUhg/LKIRGwAZ8Agpbe9/AN5DCzkvvE6hPgb0WJDYW3qiNRhvUGBpZIZpw21mX3bnteGZZ0BDXk5xszuw3/znzz6SurhsaAELMZ611UwhePzo8qGMt43XzP4pU2+4go4ExBkEQgOu64HlfjW63s3Vcq9nxpmiDNXIccCgFISUsZjJQKpWgWFxeL5dX7jar1QoyxIgamCilohbTr4+ZyWYhny8UpFQnWK7F4yhLCAHz6fs+pAmBXC5X2d7ZqyK4YNQtie3/Ss45qDAEQtIbMWwRzgUkBZ4bGOerM9i0TYoQlT1vvBQf0sA8EeaT+enMDf6Psktd4/3L1GcihUyEB4MBKo/Pp7eZOLMBh6Nh6+bywngtItjYNB+9Xg/6/b7z+dHdxXL8A6sJbMYJWADUofg+6O17+23fttuvv2BNms2nyYtKgaND3RKcnT0+3J/iknHBxWTxdcO3AAMAyTPqDXZdVhcAAAAASUVORK5CYII=u;43;Resources/scroller-horizontal-knob-left.png614;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAV5JREFUeNpiZEAFjEDMBMQs8xcvD2djZfNlZGLS/f//vzpMElkhS2tHt6qsrOxUAUEhBwEBAQZubm4GLi4usAIWZIV1jS3q0tIyhyWlpAWERUQZfv/+zfDj52+GL9/eoSgGWc0uKyc/U1RcXICdk4vh3fsPDOiABWoq64TJ09J4efmsmFlYGb58+cqADbBATWVjZmYJZWBiYvjx4ycDLgBTzPr56zctob//GX7+/IVfsaioGMfHz5/5/v77y/D311+8ihlfv3719/NnoEu/fuVhYWHBq/g/CH/79vXmu3fvjPn5+fEq/gfEf75++rz52bPnxhwcnDgVM0ODjvnalYu35RVV7f79+ycJirG/f/9iYGbkNAF076X/jMyBQA3s2DTAFIPczfDyxbPPLMzMB4HhrfP16zcJsCmMkOQDNACekBih7gc5mBeI+exdPGPYODk9//9nUAFikBgDQIABAM09iIFDDek1AAAAAElFTkSuQmCCu;44;Resources/scroller-horizontal-knob-right.png638;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAPCAYAAAAyPTUwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAW5JREFUeNp8ks1Kw0AQxydhU6sGxINUPVQUDz149e4b+ACCgl59AEEsehc8+AaFHvzAghfxIuLFIh4traalh0KaVpO0zYfm29mYlCKkA8Pu7Px2dvc/yxQvbgIA8NGrEPgVy7ZKu9tbJYzdaJ3mQ2OqQjNAA9M0Q1dVFfo99bHREPZO8ketaFO4ge1+KfApq2A5LkykJyGbXYL5hcWNleXV18P8cQ4ZQotSmDiOEx4Rj9TSU9Mwl8nM2q53ieF6dB2PtW0b/ruuG8CSFPA8nzs9O99BkKPVCU0mmev7wKW4TZwW6OHEspLhIGDAMH/WososQakSYc/3YKBpM9EjEbaSYZrTdGMwVGMcrCgKaq/XYp3H3lmSOqBrg7u4m4lqSJIE3W6nfl0sUK2dRFgURWi32/1WU9jH0BzCox00DANkWYaeqrzUa28Hwnv1YwQOyHO5/PejGKaPv65uf5u3Tw/3V7hEVdCoKFG74VeAAQDaxdSLiOs7LQAAAABJRU5ErkJggg==u;48;Resources/scroller-horizontal-track-disabled.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAIAAACqfTKuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADNJREFUeNo8iTEKADAIxEL9/0udRUSF9pYGMuQOdz/CzCQRQWZSVXQ3M8PuftXa338FGABp7SMpb2OFxQAAAABJRU5ErkJggg==u;39;Resources/scroller-horizontal-track.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAPCAIAAACqfTKuAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADVJREFUeNo8xtsJwAAIwECMr/0HcyJRS/vRwEGoKiLik5n/mxnujqryJiLcHbvLzNDdjwADAARbDu/0NmM1AAAAAElFTkSuQmCCu;42;Resources/scroller-left-arrow-disabled.png538;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAASVJREFUeNqcU8mugzAMzFpx58KR//8jbiAOoFZtD6AHElk6JEDdBam8iYSSGI/Hjs37vmfHMQV4j63nEdbaQxTG2vvtbq0RQkopAge+TB1jMeZ8ucBVyRkiIJqUD/p+Af68Xm8zC7AS4XiY6G8YnHNKY82gcgDhv2Ecx6Io3i+HESoiiyJcEV8UNU1T13XMhd5DzuL0Wp0lNZjpuaqqtm2xQfDoTK0iMMhVxQsRDYvK5XmeJMmmiFrnyjLO+BO7RNjDnGVZmqZlWX4QSc/CWi8pF++6jhLTaHCgqZkApfTppD9f7b3Y8biFolZUzRjrnDUG/uimZ+DdPtprLq3VNBlwOYfZ4iFfEQtyoCE3LheAMY26F0UY4n9Mv3PLO+A7V4rzhwADAFzx4BgPjY4eAAAAAElFTkSuQmCCu;45;Resources/scroller-left-arrow-highlighted.png678;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAY1JREFUeNqUk0tPwkAUhUvn0dJpBTHqVv0FsNWYaFzJX3ZlIgFZFgIbE6MxRCLBWA3Q0nY8bSXC4IOedjGZO/P13EcLV9dNLb9kHBJNMkoY1Qkhuq5Tx3FyIaIonLyNia4Z3OCcUUp1HaACjaIoF+XjdYT7ppE8nCWgQio6n883B028MSiWVYRMw2CMISlQEMoBisKAU2pZli0EQIbBUR3sf4H8IFi/8+Z5jZtGvX65vEm10CiaAqTUUWbnO+r7vkJx3c5tu43vKCFLIC3GOOMww3lWnV9BzVar1+tjgaNKiJUF46lYwqOUrIBms5XTtWrNNIuu60oplVBWDggZoeMokOJoppw+OjzY39vtdLpKaDr1hRCa1GIpNSkLCy1Aa59NdgmtVatKaDgaV7bL6HIUhpi+OI7/79qPGgxfdiolzGDaryQvLLIEk4Fc79of6vbvKuUSGkdo8n8hRcZkNpPk5OwCLjd8Yf9x8OzYYsu2l2uEzpDj0/M4j4IguH948rx3GLGFBQ4oKP+nAAMAB7f00otUtiAAAAAASUVORK5CYII=u;33;Resources/scroller-left-arrow.png650;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAXdJREFUeNqck0tuwjAURbHjT0iCxDbYAntgieyBEUJihsSk7QS1bAAxKNARJITExu513CIaaEV6FVmWX3J83ydkvV63muuQpunhYIw15hwEAaWUlGXZCJGfTsu3ZX7KpZBCcMYYpQARUhRFA0qePz2/4P52GMpQCu5ApBIzxjxIsdYuFq+gRFEbCqXknLukCEG0Aeh9s1FKRXGUxDFAUgpUB+ceRM/3tN1uh8Nh7XC3+0A6cQS18YTIrpKodMfRbDYbj8e4pxaCHRSFCy6qj311LlGmtb5+ezQazedzbHDhdQgFwsr97dzxGAt+gOD5GjQYDLrd7nQ6xb4WujQIBUbHUaC/QFC/3+/1epPJpBZCTs6XbRm3WvItHyWr1erBrmXZEU+SxJ1OgoKjzN7UV/tvHf0mdOmY5xjganwcApsLqwEIwgSlWVaURcDc/4UUObd+JhsMZDV7YEVKa1WqgHovLW+K7ff7f/z9Wmk4AMVa47pJ6acAAwDbUso/kA6gwAAAAABJRU5ErkJggg==u;43;Resources/scroller-right-arrow-disabled.png574;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAT9JREFUeNqck0uLgzAUhfMSXAkdOiCi4Mb//39cua6MGxdK8+pJ0mZipjDjHEK10fvl3nuudJ5n60UIpZQUXuS8BGMMEGsNWFprKSUX4uNy4ZyfAoHDOMdyEkLgTkl1u82AnssonoyMjDHU1UeVUl/L8nm9/gcEAYQEHYoQsLZtK8vyRGlRKC0U6K9833d71DiOPzeDXLMjFc5xXyMoWhss7+a3Fq+u6+q6DokfXEv/G5ckZ8zViH6j2DR5/GJzmqZ1XYdhSI8RKRgPKA3tdkK70lfDPfbbtm2a5jV970Cvt62/WD9iB1BVVX3fwwHjlQbSdF7CY/h1v0ulpCgKkXgaDEkbfOhRPC3MkVIayxhH58eMYhYZ4gmKbPOU9svii8sC3sbnoJCOd8lZjjn6NTIHITYUhmahO5nlf9dDgAEAn/cvPZYArNYAAAAASUVORK5CYII=u;46;Resources/scroller-right-arrow-highlighted.png674;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAYpJREFUeNqck01PwjAYx9eu2xLjNATjh2CRC+IBT/Kp5Woi8bCLBw9GphINRoMMonR9WVufbbhsxAPzn6Z76dNf/8/TloRhqLVWSslUy1QpCyFMrOYirutqbQBl2ylGhguhpNw/bGPbbgwyBkCaEIIxBkMsYcv5m986bsQinufBA1iQneM4NuAQNpR+LT/3Dlr/AUEPrI0vy1pTyhOKidMgteLN5MopKCu/1uuEc2Gq0Zej0flg4Pv+HyBQ+aFzX0CR0uOOIFwAqxodRY+TSXTW73e7JwihGgjqUn5kjhBSSjuucHLx5ffWylLK6/F4NpsNhxc1kF3ZGvCCKwJ7jNUcFbkHnU4QBFtDm9LWoiFeZ/VKEsY5qw4dtduQFNQoTSW0GqhMVeeCjVNpJqj2x3zB68ue9nrQb/3cgMyvslsiJRiGBopXq/f5ojgWO20/zC9ONrgQQnABW84pTW7v7hljDQ5kASrsCAGdjOPV1U24pkmzuwZzTV4aKO305fUhep48TXfPqNSPAAMAXbEphoLM6uIAAAAASUVORK5CYII=u;34;Resources/scroller-right-arrow.png658;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAPCAIAAABxxpiMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAX1JREFUeNqUk99ugjAUxtfSwtggGRn3voC7cZmXZpdGn8G38wV8D6/0xjvvJZnJUEoLtPuAiIpbJicN9M/Jr9/52pLlcqm1LoqCUotS4vu+53kP3YPZtq21ASrPcynldxy7rvvW7zuO0wlENpuNMaYWpZRKpUxFioXh8KMTi2y3W/zAAgiiABKJOCaJ6z6+DwYdSqu3BQhfsBhjlFL0wdrtojB87eBR3TNVVBRSVqp1FEVB8HKZPZ/Pp9NpEAS/gBDNQFe6QMkyR3IllUL/Mnu9Xq9Wq/F4PBqNauFnEOe8GZSKCCkKzW2F+SIvXWvtjJNdLBZwdjabXYEsyzor0ppeBLcZXGuBkP9ZRWuJtRSWuqBMl35xxlvZvV5vMpmEYVifzNXxZ1nWyMEalCdJEseHw+Ho+c9PrnvvqZlTgAJomko0xAMxjm3flvYnCKn1zYavuNlSSTRM4sndTylLQw2NHDBEKmQqGbNuvfsH9LXfm9NDgztCiMa1TvEjwADa4Bo+zuuFWwAAAABJRU5ErkJggg==u;40;Resources/scroller-up-arrow-disabled.png510;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAQ5JREFUeNrUk9FuwyAMRbFxHvIn+f8PSpTkKe1DOilSUyhk16bTJjStm7SH7UpERj6+gCG0bVvbts6544NyzlUAxRjZ/UR/msaBhmHA91v0siwn03M6hDBNE4J5nhE/ofu+TykhQKfHcayyUs27rqtu59/0+9doqZp9ve7oIBE5cp7ZizDiikanLpeX/baLB8NKO0Ib0y1g2jTyTsPsdD7jfTQiMPNcChweChqeUg4hihXoWNcVqEAw8cVd7fGucD/McMuHXZPg/4n3u/cKizdrbNd7WxkFmVS5SLAK8gqa2Fgi3YnZG0xwR3wIxgPixwb0gIYWlfNpALok3vrwiUoWgZpa/Vd3VFzKOq8CDACjBLiBGK0ZHAAAAABJRU5ErkJggg==u;43;Resources/scroller-up-arrow-highlighted.png658;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAX5JREFUeNrUU0tLw0AQ3sdkk2wa21qfrYoogjcPnvwP9Rd7sArV9iC1YKEtggcRRC1iiX1lk3WygaK9VMGDftnM7Ga++XYzk9CTs0vf96MoCg3Gk8nYYDRKDF7pk0kYqjBk5Cf402ytdbV6gfZb7JtWq93pdLrd+ewgCGq1Ok6azeZwOJzDPq1UsOo4UUo1GtczUZhZH5fLM935N/X+NfaXmsSRAh3ZrsU8Gzs5GAyfX17xi51lax2P3vuMxK7rWAiwKKP57MLaytL9w2P79o6YJoCRjN56TwK49KTrSlsI5DPGYh0rFe1sby4X8uf1qyD9G4J+T1hcSul5XgZHBkcCP+P76DyvsJg/OjxItDEfMxzHldJNlKWLwkII1CaEqkhxzgFgs1Tc2igCJ7FtC8exbTu5LcMFsDhnlFKIAR1mcuD7e7tgARcG+GoIDJgwNR4t0UTgJrgsra9CSkLgjngyZEzrlc4xQCysp87lsownajxV+kydJtD0JAYfAgwAo0qgTdQcI7EAAAAASUVORK5CYII=u;31;Resources/scroller-up-arrow.png594;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAYCAIAAACqZzA+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAU5JREFUeNrkkj1vgzAQhrF9/sB05v//gGSJlCE/IIK2azNkz5YiAflQAAN9baQkytC0W6Uewpzxc3f2vWa73S5N03Ech2B932N0zvXBrg5+1nXNo9/Yn6ZxoPl8jvFH9Hq9zvM8y7LndFVVy+USzmq1Qsue0LPZrGkaOG3bLhaLh1X2X9X5xuh+Upblfl9cmgvnnDGmlTKxkUSPNBq13W4/i8IYI6XkzD+dc5eywvQlsTcacry+vaPhSWLj2CKlD+B8GNH4Hqv14ZiEAE9/bDYQx1qbeNxqDVqBhmRQBzuBrnA8DYVOp3NsYgsw9iMSK+VpKO16J4Qgoq7rXNfR4XA0WhmjtfavDCyRFMIflAbCB5GCBMQn3AEVTKIkEQ/twDu1BQXGSKGI3xhonJ2CoaK/ZYzdblzwsRDJMYpwCsOFzyamTPfoNYBNOwn2JcAAJXXV9kM4kCMAAAAASUVORK5CYII=u;43;Resources/scroller-vertical-knob-bottom.png586;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUlJREFUeNqMkb1OwzAQxy+OExgZeAAk1IWhon0V1oqB12BkR0LiEUCCCioxQFmYIR2YWkqFBFKqxpQ25It8f5gzShADlWrrZ/vs+/vsO+n0vMObzQZ8zD8hTVNIkuSHOEaSGOeK5PdMoPW0gnDO7SzLQJIkWLYJfwDJI6gZ+L4PCqVLi4MgwGD8laRp1jZNE1RVWVos/OMwvJaZMRnUtxs7lNJ1qij47wzyPF/IeDyG6Tvr3XWvDoj2cB/NZ9PWRNctz3WAELIwomEYwBhz3l6G+2g6Mg78tnsz26zVLlbU1XrB8w2RkCzLgWOPoggsywJd12HKmDbsP+49P/VHqPOqFItZZEw9PDrelanSCsJoy3bcNe/Ls0M/GLmu3bk8O2mjjy9yhiR/6yPW4s1KiYrI5V6B5EKApCXFf8WtLqkQNi8vqBA2fAswAMMZzeG4WyTTAAAAAElFTkSuQmCCu;43;Resources/scroller-vertical-knob-center.png206;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAIAAACOvmNtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACpJREFUeNpiXLpynZGR4as3737//v0LDH7+/AWEMAAR+wWUPX7iBECAAQBhgCfi/ZM1bwAAAABJRU5ErkJggg==u;52;Resources/scroller-vertical-knob-disabled-bottom.png586;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUdJREFUeNqUUT1PwzAQvThplzIwsJUhA1kY+Av9EawVAzPwBxj5NxVi69iqG0qZS+gABCGQkihtonwotZMzvspBXZCKpeezfe+dz8/GZDqTjuNAkqbQNA0IIaCua+BcbNdCcOB0JurfHEXvxUMmpUxIZBgG7DuIr0bG1LSoqgosy9pbvNlsKLwxVWWUqpb/Iya+4HxsHvR6ixPHOTcZO6IC9CZEVK3hNiI20GC7RgjDEFareP7kPt4xz3uukmQ9jKJwXZYFMMb+vDGOY0L6/fV5Sw2Ytm3LuetG/eP+fcfqnkmQNhmiTVGuc8jyDIIgoBtd//318sP3l2SYMRgMiENW06O7V9c3F4yZQyU6zYvisCzLRBm0LIr8YTadjBSnUCipbituC1DPHY2ugqnPkH6IBApCA3ctlpqAOllpoaFzuAPaw48AAwDbB9BTAAnfJQAAAABJRU5ErkJggg==u;52;Resources/scroller-vertical-knob-disabled-center.png214;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAIAAACOvmNtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADFJREFUeNpi3LvvgKqq6oePH//+/fv79+8/f/78+vUbDED0HyAEC/75++fq1WsAAQYAbM4oZ81Xt6sAAAAASUVORK5CYII=u;49;Resources/scroller-vertical-knob-disabled-top.png590;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAUpJREFUeNqUkbtKA0EUQO88drNJdjMJSSyUoGghmkJE1HJrsfKBGEtLn5Wf4FfY2lvYqaT3B8TCkPULEtiwI/uY8Y5sEUQxXjjMneGemTszxPd9+BYEoTkkR+eoHJMD/0EyaxZiI2xMzpAYSZDUbMLHRJPbJ6dnHcb4VhzHbfkhF6JI9qWUr1JG3e7T4x3WRDkxwba/xMNOZ67Vmr0ploq+UhqyTAGlFMJRCKMwhMFwCMPB4Lnfe7sKgn4PndCcxs4vLlc8z3sQ1WqNcwvwVCSBJEmg6DjAGINy2QXO+GaaZvca9P57ELzQpaVlB53bZnOqViqVQSkFv0W9XjeI6ZnWNU4F3dndO3Zdd9GrVLDVDP6KRqMBnlfZWF1bP6LY0oEQAtI0hUnD1Fu2vW2+pu3gvf4jFwoFM8xTQkjVPIjWemKZWxzrQXwKMAAaxXA5BvQ04AAAAABJRU5ErkJggg==u;40;Resources/scroller-vertical-knob-top.png602;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAKCAYAAABrGwT5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVNJREFUeNpiZMAEjEDMBMWMUPwfiv9B8X+YQnRNLEDMCsRsQMyMpPkvEP8C4t9A/AdkCCOSRpAmtp7+SZEsrGye37591/7y7avy5y9f73/59PnGly+f9q1etmg9UM03KP4FcxZLcVmFgrq61mxuXh77v//+M/z584+BmYWZ4f3792D88uUrhjevXp28euls6fWrl+8C9XwGOYtlwuSpBgryiofEJCQ0eHj5GZiZWRiYmJgZ/v77C6SZGNjZ2Rn4+QWA/H8yzGwcQYwM//a/ef3qE7O5hSWXo7PrDikZGRlOLm6GX79+M/z9+xcr5uLiAtEcTMysGnduXtvB3NrRmyEsLBwjKirGAPQnTo3IBnz99k1aUET0PRMrK0sYUDPYRmIBSD07J6c30///DNrc3NwMv//8IVozyPb//xmVmBgZGQVYWFiAnP9Ea2ZlZQWp5wcIMAAiP6Ghx1+GGwAAAABJRU5ErkJggg==u;46;Resources/scroller-vertical-track-disabled.png194;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAIAAACOvmNtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpifP36NRMTEzMYMCEBRjBgAIP/YPDv3z+AAAMArN8L7foJbfsAAAAASUVORK5CYII=u;37;Resources/scroller-vertical-track.png214;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAABCAIAAACOvmNtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADBJREFUeNokxsEJADAIA0Cise4/mBNJtNDe61BV58nMH5IR4e5mBmB3Z0ZSd18BBgDIAA7SuCPczwAAAABJRU5ErkJggg==u;44;Resources/segmented-control-bezel-center.png210;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC1JREFUCFtj2rt3L5OTkxPTt2/fmP79+8f0//9/MI2M//79i5WNjY9sxokTJwBXtEPtiHmeoQAAAABJRU5ErkJggg==u;53;Resources/segmented-control-bezel-disabled-center.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUeNpi2Lt370yG////z2T69u0bA9O/f/8YmIBcKAuN+Pv3Lx4uTjE0Q0+cOMEAEGAAD7lHUquXzXYAAAAASUVORK5CYII=u;54;Resources/segmented-control-bezel-disabled-divider.png202;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAClJREFUeNpi2Lt370ym////MyAR//79gxJoXDTi79+/eGSxGQC3AyDAAN4mR4fIJKx/AAAAAElFTkSuQmCCu;51;Resources/segmented-control-bezel-disabled-left.png318;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH5JREFUeNpi3Lt3LwsDA4M3EFsBsQDL////fWVlZT3k5eUZ2NnZGZiAAtYyMjIM//79Y/j27RsDC5DBC+LAAEgLAwjDBUCyKCrIFPj79y8dtNDEDGQBUBB+/vXrFwMsoJiAskefPHnC8PPnT7BKUBBufv78OQsQmwF18AEEGAD19p6n4TmfGAAAAABJRU5ErkJggg==u;52;Resources/segmented-control-bezel-disabled-right.png310;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHlJREFUeNpi3Lt370wGBoYPQHwMiLcy/v//f+bPnz8ZHj58yPD48eMdTN++fWP49+8fg4yMDANQ0poFxIEBIJuXBSgKFwCx0VWQJfD37186aKGJGRgCsAD6/fs3KIA+g1WAOM+ePQOpOMpy4sQJkIJPQHwKiDcDBBgAYcihtIbGbDIAAAAASUVORK5CYII=u;45;Resources/segmented-control-bezel-divider.png198;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACRJREFUCFtj2rt3L9P////h+N+/f2CMzEbGf//+xRDDpgdqHgArhUbwsMigfwAAAABJRU5ErkJggg==u;56;Resources/segmented-control-bezel-highlighted-center.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADVJREFUCFtj6tpwjCnS2Yzp2tufTP/+/Qfif0x/gRhM/wWx/0JoOBvGB9JoapD1gsy6eu4kADcbQ5oyd/JRAAAAAElFTkSuQmCCu;65;Resources/segmented-control-bezel-highlighted-disabled-center.png234;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAD9JREFUeNpi6tpwbCZTpLMZA9O1tz8ZmP79+w8i/jEw/QURENZfMPcvjIXERYj9hepAU4xmFNj4q+dOMgAEGACr+UQz3IvZcgAAAABJRU5ErkJggg==u;66;Resources/segmented-control-bezel-highlighted-disabled-divider.png214;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAYAAAA7zJfaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADJJREFUeNpi6tpwbCbTv3//GJj+///PAGFhEH8ZmP7+xcb6C1UCZiEkEGLYzANZBBBgAL41RzPloL1CAAAAAElFTkSuQmCCu;63;Resources/segmented-control-bezel-highlighted-disabled-left.png370;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKVJREFUeNpi7NpwjIWBgcEbiK2AWIDl379/vhpyEh6aClIMXOxsDCz///+3FpeQYHjyjYHhz5efDCAVvB9+ARUz/AMRYAEGEIYBsMBfdAE0FX8Z/v5FEgBx/gIFCaj4i24Gspa/f0Fa/qK5A9UMNBUQa/E5DOIXDFvwew7VUCagwOffv34xwFSCBI6/fPaU4ddPkOB/cCBvfPvqORMQmwF18AEEGADSXZ0uKgg45QAAAABJRU5ErkJggg==u;64;Resources/segmented-control-bezel-highlighted-disabled-right.png370;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKdJREFUeNqUkEsKwjAQhv9Ktq7tXbyhN+gtdCF4goou3PlYiooPqCAWCm0zE2d8EWNBDPwQvnwzkyTq9dMEwEWSSobRNrdJUVZYrvdYbY6j1uJcYlcAnTiGc65rmB0qjfjM3BbAeC3dGwrBt0E+IC2hN9DDBsMDD8MreRp+Dwp7cJPB/GvsxxQO70H44/lkrYL8/oW2rpGdDgrGZj6bqHCVTCWDmwADABEdo9VXvegQAAAAAElFTkSuQmCCu;57;Resources/segmented-control-bezel-highlighted-divider.png206;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACtJREFUCFtj6tpwjOnfv39M////B9Oo+C/T37/o9F+wHIiGicH46PqBZgIAEU5GmoIeoQQAAAAASUVORK5CYII=u;54;Resources/segmented-control-bezel-highlighted-left.png366;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKJJREFUGFdj6dpwjI2BgaEOiBOAWJrl379/jRpyEhWaClIMXOxsDCz///9PFpeQYHjyjYHhz5efDCAVoh9+ARUz/AMRYAEGEIYBsMBfdAE0FX8Z/v5FEgBx/gIFCaj4i24Gspa/f0FaUMz4h24GmgqItfgcBvELhi34PYfp/de/f/0SZWZhgQssePnsaamIuCQDCysrOJBr3r56zgzEUUAFEgD4NZMFqr7d7gAAAABJRU5ErkJggg==u;55;Resources/segmented-control-bezel-highlighted-right.png362;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUGNOVjzsKwlAQRU/kbUHM/tyGlZW4ilTWrkKwsfNTit+IWgmBJG/us/BDjAFxysOZe2ei4XgSgD2QAP1oe/MhywuW6wOrTTpoLa45uww6cUwIoeukQKFAAUhqO0m8RhLO6uDbsCownMnewKzRqICHUVl5GtUMq2eoyZB+1X60qH6H8cf75j2Szk4K+LLkcjoiKXHz2RQgBUZA7w6pZqOrnOa4eAAAAABJRU5ErkJggg==u;42;Resources/segmented-control-bezel-left.png310;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHhJREFUGFdj2rt3LxsQtwDxEyD+z/T///9GGRmZamtra2knJycGkEAyUIDh379/DN++fWNgAjJEQZy/f/+CBUEqGJAxSAUDMiZXAGQDDNNOC03MQBEABsrrX79+oQTQ3CdPnjD8/PkTrqL++fPnfWfPnn1x4sQJBgBuoxapBuMd2gAAAABJRU5ErkJggg==u;51;Resources/segmented-control-bezel-pushed-center.png206;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACpJREFUCJljmjx5MpOFhQUTIyMjEwjAaGTAzMyMk48uBzODh4eHae/evQACDwVlbTA8UgAAAABJRU5ErkJggg==u;63;Resources/segmented-control-bezel-pushed-highlighted-center.png218;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADRJREFUCFtjCquZyKRtbM7ExMjEBCWYmMEkkGYGsZmhNIgPZYNomDiSGmS9OqLsTEt3nwQA4LgFKynwVH4AAAAASUVORK5CYII=u;61;Resources/segmented-control-bezel-pushed-highlighted-left.png354;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJlJREFUGJVjCauZyMbAwFAHxAlALM3CxMTUKCQqXiEsLsHAwsrGwMLIyJgsJinDwMzCwgACIBWirGysDDAAEmAAYRQBZnQBFBXMzMwMzMwYWpiRBdBUgDjMmGYwo5nBjF8FM6otYENR3YHVWnwOI8r7r/nZGEW//2Ni+PPvP1hg7uuXLyq0FaUZONkhgVx/8/FLNiCOAuqQAAAUvBbWQgxxhgAAAABJRU5ErkJggg==u;62;Resources/segmented-control-bezel-pushed-highlighted-right.png366;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKJJREFUGFeNj8ENAQEQRd/8GYvEdSVCogBuDjrRgDLsSQc6cKEJFShEspsNBSA4CdZKzPHlzf8zNstWd+AArIFljCZTrpdz/1jki1NZuGQiSVp0ewPMbB6SAaCkgaQ0JPEcSYRXwbfhL+DuhMt/G5J/hrqLcPc34NWVWuOjxat31Ne+Z9QZ/70fMtq6IanUOG0y7BhlkSNpHZvdHiAHtmaWPQB3Dxpmsh5qIwAAAABJRU5ErkJggg==u;49;Resources/segmented-control-bezel-pushed-left.png306;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHZJREFUGJVjmjx5MhsQtwDxEyD+z8TIyNgoKSlZbWRkJG1hYcEAEkiWlpZmYGdnZwCyGZiAQBTEAdIQDBJFxkxwGQQmS4CZmRmO6WgGNaxFwcBAeQ0NGHgAzX327BkDKysrAw8PD1hF/ePHj/sOHz78Yu/evQwAKaocei2dPwMAAAAASUVORK5CYII=u;50;Resources/segmented-control-bezel-pushed-right.png310;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHpJREFUGJVjmjx58n8gfgLELUDMxmRhYcFgZGQkLSkpWc3IyNjIBCQY2NnZGaSlpRmA7GQmIGAAYZAgkBYFq0DGcBVImGQBZmZmBhimoxnUsBZDABoosAB6zcTDw8PAysrK8OzZM5DEAqa9e/cyHD58+MXjx4/7gCpqACrxHHpLd88mAAAAAElFTkSuQmCCu;43;Resources/segmented-control-bezel-right.png302;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAYCAYAAADd5VyeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAHRJREFUGFdj3Lt3738GBoanQLwAiJsY/wPBz58/GR4+fMjw+PHjDqZv374x/Pv3j0FGRoYBKJfMAuLAAJAtygIUhQuA2OgqyBL4+/cvHbTQxAwMAVgA/f79GxRAr8EqQJxnz56BVMxlOXHiBEjBCyBeBsT1APoAoYpapz15AAAAAElFTkSuQmCCu;35;Resources/slider-circular-bezel.png1374;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA5dJREFUWMPNmMtLG0Ecx2eDRopFGijUVCpeSnvxVKSn/geFXAIVLJ7EQntoCsWKPQqpLYgQjW9UtCD4QOv7GYOoSUWJokERUfGBDxRBQw/SMP19hxGs7K6JZiGBD4bZ33y/38zOzM7KOOcsHoiLEPEZJJpPc3Nz0sDAQBbxjngvwfcsXBsfH2eRcpsgSk9Pj214ePjX6OhoyO/386WlJb68vCzAd7ThGmpQiz5jY2NMj2iCKJ2dnS+HhoZ+z83N8Z2dHX5+fs5DoZD4e3Z2JrjahhrUog/6QoMCMjUiDWKiX/aJfuHF5uamMDk9PeXHx8e6oAa16IO+0IDWyMgIu04kQRDCtbi4yA8ODoTB0dFRVKAP+kIDWtCkUWJXuSmIqaOjw7GwsMBPTk744eHhnYAGtKAJ7cHBQXaJXhClqanpVV9f38X29jbf39+PCdCCJrTh0d/fz4BekMTu7m7/6uoq39vbiynQhDY8KBQDWkGUxsZG+9TUFN/d3TUEaMNDbgeaQRLb2to8wWBQDKURQBsecuTVg9hstoddXV1/sey2trYMAdrwkF6qQZSysrLXtLb5xsaGocADXvBUC5JQWVn5eWJigq+vrxsKPKqqqr7AUy2ImYJ883q9fG1tzVDgAS94qgVJKi8vL/F4PHxlZcVQ4AEveKoGKS0t/UrPBjGzjQQe8NIKYi4qKrLTTBaPdCOBB7y0bk1CZmZmBm3BYTwX8KAyAmjDA15ak1UhLG632zc5OckDgYAhQBse8NJavvgkFxYWfqDDDJ+fnzcEaMMDXg0NDZpbvJl4TDM6gE0Hp6xYAk1owwNe9fX12g89IiU/P/9NbW1tGMM4OzsbE6AFTWjDA151dXX6xwDiEc3qEjrI8JmZGXEovgvQgBY0oQ2PmpoaBnQPRsQ9Ir24uPhne3u72JJ9Pt+tQF9oQAuaUluprq5m4MajInGfyCgoKPhBszzc29vLp6eno4IOPlghYWhAS2qaaHtnl0R0eJYd07Ozs9/SThhsaWnhdLwT9xsHHDVwDTWoRZ+cnJxcORIiBAVjV4n4dUIOJe7rs7y8vI9Op9Prcrn+0NLjra2t/4E2XEMNaqnPcyJVapgqKirYdaJ6wZITGDPdSjy1WCwv7HZ7rsPhcBLfJU60Wa3WLNTI2hTZV6Fly9S41SunFE0mHshRSiOeSNJkm0XWiAA0QkyPO72Ey1AJcgNMkphlmxKNUNz9W+Ifu9qUIf+T8EoAAAAASUVORK5CYII=u;44;Resources/slider-circular-disabled-bezel.png1562;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABCRJREFUeNrsWElLW1EUfi9DY4yCimgcUBtUuihtN666iYlBA6LYLOoPcOO09SeI2J0TKKIiCC1oF7oJiaXdZOFGbG2xZKGxzvMYM+f1fOl7ksQk5mkCLnrhkDfd833vO+eee15YjuOYpzDY/0TiEWFZNulJ09PTsvz8/FI6LCOT8JeDZH+Oj4+3S0pK/Mn60ul0oV+ZGNLz8/OvFArFW4lE8iI7O1uhUqluXwAv5HQ6Gblc7vH7/b89Ho+tqanpx+LiIpcqRdi5ubkKAm0lFSoKCwuZnJyc0POYGz5fuHZ+fs4cHBwwpI6DyH00mUwOq9Uak1BdXV1SRKCCnlR4V11dLSUiDL0tEwgEEr6dVCplZDIZiDB2uz1A6nwmdb5YLJY7ZAwGw71EQOJ9eXl5LVSA42AwKCoBKYQh4lBnc3PzK5H5ZDabI8jU19f/ezZeOGZnZ3VlZWW1paWlIZJQQQhFsoY5mAsf8AWfDQ0NbPgzt6RjkZiamqrMyMgw5eXlMV6vN6TEYww+4As+4dtoNLLCPWHEWjUSSkZTZWWlFLEWG45EeQOfFCoTnX4gNSISLVoRdnJy8jUl5fOsrCzRobjP4BO+gdHY2MgmUkRCy1Sbm5ubMiWiB3wDgw6/E0YgJpHm5mYlFaSqzMzMtBGBb2AAi1S6jkWE1Wq1GmIric7oVA9gAKulpWWV44EiiFDhUhPbtKkhDGDQCiqiw5/YHaKJIHFVWPfpJsJvBZk8ZvBOjlABCmXyfSX8sYPHiCjlEUSo8Lh9Pl/aFQEGsOISOTk52b+5uUk7EWAAKx6R4MLCwibtshxkE9MoiRlYJBcXFxywhPyIJsKtrq66qH/YuLy81FDjkxYiV1dXaKA2gCWsmDtEkK9bW1tLarUa9SQtRI6OjhhgAGtiYoKLt9cE+vr6VnZ3d7cohinfa+ATvoEBrER7Ddatm2QzU3Fro6LDkqVECbfbzTgcDoTfjFNghVfvaCK44xsbG7PTLmmhHqK+uLg41Gk9tm4cHh6CiAW+gTE6OsqFKxILAXddvb2939bW1pZ2dnYYl8v14HBgLnzAF3zCNzCi97N4PStOnpFl9fT0aKlvNVCrx6LLEjPOzs7Qq3Jk1v7+fpDAbusdGRm5ZdDe3n5/88yTUbW2tlbV1NQYCwoKikAGSzteuCA3lujp6SnCsbe8vGyemZlBOJwgMTw8HLGtd3R0JPc5weeREtbW1vZSo9G8oU4LHZxcqVRGPIwwXF9f+8g21tfXV8bHx3+hkPLh8A8NDd3pLTo7O5P/wOJzSU6mgFGXpdTr9UXUnavDPzm3t7f3bTbb/t7eHsA9vPlwb3BwMGaD09XVJfrbVyAEhaT8r4S/Lqw4JLqfLwP4DQ4MDCTssLq7ux/+Ec6DszFWXZAnxInZe57U3xJ/BRgARVYyv4nD3moAAAAASUVORK5CYII=u;43;Resources/slider-circular-disabled-knob.png286;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGhJREFUeNpiVFNTE+Dk5IxiY2PT/vXr19Xv378vYxEVFU2QkpLS5OHhYfj69av+06dPOVmkpaWV5OXlGYCqGYCqGBgZGZWYgCrugQRYWFjAEiA+05cvXxb9+PHj6p8/fxhANJA/HyDAALRmJzIlcakAAAAAAElFTkSuQmCCu;34;Resources/slider-circular-knob.png270;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUCB1jUFNTk9bX199oamr6E0SD+AzW1ta7QkND/ycmJv4PCwv7D+QfYAAyPpeWlv6vq6v7D6LDw8N/MiQlJe0CCTQ1NYElkpOTwSrlysrKtoMkQDRQpRwAeJEtgtzX+HUAAAAASUVORK5CYII=u;21;Resources/spinner.gif2490;data:image/gif;base64,R0lGODlhEAAQAPQAAO7u7gAAAODg4IGBgdHR0UFBQXJycgAAAFJSUiEhIaGhobKyshISEpKSkgMDAzIyMmFhYQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH+GkNyZWF0ZWQgd2l0aCBhamF4bG9hZC5pbmZvACH5BAAKAAAAIf8LTkVUU0NBUEUyLjADAQAAACwAAAAAEAAQAAAFdyAgAgIJIeWoAkRCCMdBkKtIHIngyMKsErPBYbADpkSCwhDmQCBethRB6Vj4kFCkQPG4IlWDgrNRIwnO4UKBXDufzQvDMaoSDBgFb886MiQadgNABAokfCwzBA8LCg0Egl8jAggGAA1kBIA1BAYzlyILczULC2UhACH5BAAKAAEALAAAAAAQABAAAAV2ICACAmlAZTmOREEIyUEQjLKKxPHADhEvqxlgcGgkGI1DYSVAIAWMx+lwSKkICJ0QsHi9RgKBwnVTiRQQgwF4I4UFDQQEwi6/3YSGWRRmjhEETAJfIgMFCnAKM0KDV4EEEAQLiF18TAYNXDaSe3x6mjidN1s3IQAh+QQACgACACwAAAAAEAAQAAAFeCAgAgLZDGU5jgRECEUiCI+yioSDwDJyLKsXoHFQxBSHAoAAFBhqtMJg8DgQBgfrEsJAEAg4YhZIEiwgKtHiMBgtpg3wbUZXGO7kOb1MUKRFMysCChAoggJCIg0GC2aNe4gqQldfL4l/Ag1AXySJgn5LcoE3QXI3IQAh+QQACgADACwAAAAAEAAQAAAFdiAgAgLZNGU5joQhCEjxIssqEo8bC9BRjy9Ag7GILQ4QEoE0gBAEBcOpcBA0DoxSK/e8LRIHn+i1cK0IyKdg0VAoljYIg+GgnRrwVS/8IAkICyosBIQpBAMoKy9dImxPhS+GKkFrkX+TigtLlIyKXUF+NjagNiEAIfkEAAoABAAsAAAAABAAEAAABWwgIAICaRhlOY4EIgjH8R7LKhKHGwsMvb4AAy3WODBIBBKCsYA9TjuhDNDKEVSERezQEL0WrhXucRUQGuik7bFlngzqVW9LMl9XWvLdjFaJtDFqZ1cEZUB0dUgvL3dgP4WJZn4jkomWNpSTIyEAIfkEAAoABQAsAAAAABAAEAAABX4gIAICuSxlOY6CIgiD8RrEKgqGOwxwUrMlAoSwIzAGpJpgoSDAGifDY5kopBYDlEpAQBwevxfBtRIUGi8xwWkDNBCIwmC9Vq0aiQQDQuK+VgQPDXV9hCJjBwcFYU5pLwwHXQcMKSmNLQcIAExlbH8JBwttaX0ABAcNbWVbKyEAIfkEAAoABgAsAAAAABAAEAAABXkgIAICSRBlOY7CIghN8zbEKsKoIjdFzZaEgUBHKChMJtRwcWpAWoWnifm6ESAMhO8lQK0EEAV3rFopIBCEcGwDKAqPh4HUrY4ICHH1dSoTFgcHUiZjBhAJB2AHDykpKAwHAwdzf19KkASIPl9cDgcnDkdtNwiMJCshACH5BAAKAAcALAAAAAAQABAAAAV3ICACAkkQZTmOAiosiyAoxCq+KPxCNVsSMRgBsiClWrLTSWFoIQZHl6pleBh6suxKMIhlvzbAwkBWfFWrBQTxNLq2RG2yhSUkDs2b63AYDAoJXAcFRwADeAkJDX0AQCsEfAQMDAIPBz0rCgcxky0JRWE1AmwpKyEAIfkEAAoACAAsAAAAABAAEAAABXkgIAICKZzkqJ4nQZxLqZKv4NqNLKK2/Q4Ek4lFXChsg5ypJjs1II3gEDUSRInEGYAw6B6zM4JhrDAtEosVkLUtHA7RHaHAGJQEjsODcEg0FBAFVgkQJQ1pAwcDDw8KcFtSInwJAowCCA6RIwqZAgkPNgVpWndjdyohACH5BAAKAAkALAAAAAAQABAAAAV5ICACAimc5KieLEuUKvm2xAKLqDCfC2GaO9eL0LABWTiBYmA06W6kHgvCqEJiAIJiu3gcvgUsscHUERm+kaCxyxa+zRPk0SgJEgfIvbAdIAQLCAYlCj4DBw0IBQsMCjIqBAcPAooCBg9pKgsJLwUFOhCZKyQDA3YqIQAh+QQACgAKACwAAAAAEAAQAAAFdSAgAgIpnOSonmxbqiThCrJKEHFbo8JxDDOZYFFb+A41E4H4OhkOipXwBElYITDAckFEOBgMQ3arkMkUBdxIUGZpEb7kaQBRlASPg0FQQHAbEEMGDSVEAA1QBhAED1E0NgwFAooCDWljaQIQCE5qMHcNhCkjIQAh+QQACgALACwAAAAAEAAQAAAFeSAgAgIpnOSoLgxxvqgKLEcCC65KEAByKK8cSpA4DAiHQ/DkKhGKh4ZCtCyZGo6F6iYYPAqFgYy02xkSaLEMV34tELyRYNEsCQyHlvWkGCzsPgMCEAY7Cg04Uk48LAsDhRA8MVQPEF0GAgqYYwSRlycNcWskCkApIyEAOwAAAAAAAAAAAA==u;44;Resources/textfield-bezel-rounded-center.png186;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAWCAIAAACOpGH9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCB1jWLRqJ8OFq3cYPnz8zPD//3+qYKBZAMWVP/kpEKROAAAAAElFTkSuQmCCu;52;Resources/textfield-bezel-rounded-focused-center.png222;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAeCAYAAADtlXTHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADdJREFUCB1jWHjqkTwDkIgHEftAxH+GRat3/Wc4f/XOf4Z3Hz79Z/jz9x+NCLDxYCthloOdoQAAdj5sTxjpYWAAAAAASUVORK5CYII=u;50;Resources/textfield-bezel-rounded-focused-left.png1034;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAeCAYAAADKO/UvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAApdJREFUSMed1UtPE1EYBuAaMS7QhMiCxhjdqBtxqT/AG0tNcGGicaEu5EeoS9l7CySmBakhphIjJRHkqlQoNG2RAikU7CW2tbYULKD09vqe4TQ0k+l1kmc575zvnG++o+uaCejKOEAH6TAdpUbS0wk6SafKvXyIjlATnaWLdJVu0C26Q3eLBdRRvfzieWqh+/SEXlIv9dMQjWgFiK830Gm6RG30nMYpTFDTCjhG56iVntIXShu+raFjYBYd5jG8No/A0PsJXe8G0U3qEhpkwG3qpIBx2odOiw1v3g/j46AVo5MOTNkXYJ/zwOlegWvBi8JNrJcltMqAmMHqhaFvHAPD05hxLsGzGkQwFMWv3wnEE5tIbCSxsZlEYRl6uQeiBL8IMH0Yx8SUS3k5Gksgub2D3VQKmUwWuVwOOew9+RCximZ6SBNGmx89/V9hnXXDF4zgT3Ib6XRGeVHr0clGapLn/4xSxiGHsgIRsLX9F5lsFtqv74eITjxD92jUOPUDlhEbPN6AsgIRUO7RyVa+QI/oZ9eYGzbHkrJ5SgllI/ZCRF9coReiccyjDmUVya2donugFSL24zqZRMiQdU45xn+7qYoC8iHH6Sb1iZBJ+6JSijjGmkNsLg9i65vIVliKupy3IsTqXK4ppLFwYz/PemoqJ3/Ejylknl5RNla0dzUhhc021m3zYdEbrPqI821/TbZ92mJfVX64apqt8Ads2xtCfjg8waraXj0K2sUw6pnxYdkfrvgHLDaU4iYGza+FKxoF6vHYXDgeu1na8HwAoej6/lDKag8l9aBull3cLgd1podhg98DcK1F4A3FNcdjsSvjstxs0YgTFKnkyih1eT2Ql9creXlZSl1eWteovpZrVB1WV+pC/w9TNVqlMEGHagAAAABJRU5ErkJggg==u;51;Resources/textfield-bezel-rounded-focused-right.png1002;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAeCAYAAADKO/UvAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAoFJREFUSMellUtPU1EQx0uAsEASIgubaHRj3IhbPwBG3ZpgjInGDW78FC71AygEEtMWITaGGiIlsdgioKVP+5CHaS21D9PW2lJqLUb6GP9Tz60V6eWWnuR3d/eXmTlzZlQ6Z+wMOA1OATUYAH2gB3SCDqCSgz93wG1wE1wDl8FFcA6cAMdAt5yMPxawAOaAHoyC+2AEXAUXRIS9oKuZhA4gCZbAI3APDIGzoF9E9a9k8rmJdECjf0VPZiw0PvOGxuddpFkNs6wEVsADMAzOg+P7RSrfRoi865/I7Q+Qzb1Bi+889NJkpacGM00YHaS1R1gWAxPglhD1N6am2skXKLdToGwuT1+/5SieSFNgK05O70eaN9tJ82KJNNYQizJCNCxS65WKrSKcKlOtUrlcoV97e1Qo7lI6k6vJlm0+mp6ti6IitSFR7O66ZP9hYalUpu+FIkXiKbK61mlq7i1pHVEWLYtiD4rr7zhQIkVXrlToR/FnTcQRaRc8UrH51q6IPupsKpEOizgiTs1oQaFtn0lc/4hoyJ5DJRwRp8Y14mLrLH6WpERDcmf3HSqRasTFDiIaw6JHasgx8UQGFEn48K19wfWbV/2SRC/emlqxhGvDKdneb0qSWXADnFQsqSClzHaenOjstiVWb1CSPGs9HXQzP4vXrnoko0curMEelEbF0a54MxSnSUekvWYzurfaa3tPAFE4aw9w5UgPMBhN0pSzPpwetjwK1sJJmv4jyCobSpW/QymR3ibzWkxKoXE8DsqOx1AiS75wikwfYgi/9nNZ1IBTuC4E/w/qJisjJSbYY1HES7Iro2F5GcXLHBONdLeV5SW3RtVK16jcQu9SstB/A7wYWu6etp7HAAAAAElFTkSuQmCCu;42;Resources/textfield-bezel-rounded-left.png770;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAWCAYAAAAb+hYkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAdFJREFUOMuVlNtLAlEQxucp6CnoKQj6w4L+gKC3iqR66E5IN6Ky6EZKmYaR0c2yoMjMXNJASbtApUTZxbVVS9t1mnPKiDJcB/bt/M7MfOf7FmpbRiD71bXqoKF9DJq7J6FzwFDaN2quHplesk7MrgjT8+vyjNmGevq+gXoCGrvGoaPfUDw4YdEYFjbFZZsDd/aP0Sn4UTgJosd3jl7/xSdU3zbKb9cOG8umjOuuVfshHnlOMXgZwtBtBO8fovgUjWFUlFCMScg7MKBHZyqftWxd7zq9/HDkMYpSIompdBplWcFMJoMZ/Cw+knbIWESAy+H24VXoDl+kBL6/y/xgroL2fj3QSBrWgQHxxCvKioK5j39BtHTJqt35FLy44R0YkK+AJKx0HZ/yZflImL/AuuGwsi5SPPnvDn8geocAk/UtlUa1BQeCX2SjMVlVQ25vQHx8jqGicrQsFCgYovGsBY9HQlQxIZhdVEMkeQl5TSxIcv2CDcjRGmZQ1Y9LNgKKQhF1E1TbiELHDAt7zpPy6/BdWJVheTSGjTC3aIcDt6+CQFfeaGRD2KszcZA6FtOoTbSj+B1C5VcIf8Ud6AcCa9uHTJzSs8tQTfg2skIXeH7G/QMDueJzvPRB+QAAAABJRU5ErkJggg==u;43;Resources/textfield-bezel-rounded-right.png730;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAWCAYAAAAb+hYkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAbVJREFUOMudlNtLAlEQxs9T4FPgUyD0/wm9VRTVQ3ciuhGlRlakmF0oMjSxrCgyNS0VrLQLFEp00VzbLNRdp5kto6Jy7cDZp/3tN/PNfMsM8w6Yxjs1axf0JqtfM7VsGdDNq7uGjMqWngnW0DHG6tq0rLZVI10AYCx4dA6B8Bn4Q1Fw+49gc/cQVhwuMC6sccP6xcbOQaOiqXuc1b+DEsSleUhxPCRTabi9T0Hs+g6iFzHYD5yAzemBSbPd2ztqriLV+nbdG4QPKNAtFEAQRMjmcsBnnuEukZLgbXcQTIvrV33aORWBH9D3Qx/I5wV45DNwGbsBly9MoLd3xFzxK1RUF0QRnjIvEkiKWGrjn1DxEEiKVKrN6U6iOZUlIVKkUqlHMsew4FCXhIo9kjmnqIbjsMiC6JCrcRzHlisQlw1Rb1Si5+A4KxsSscTEQ5o2hy8b8gUjEfnl4bbQmuF+/suI8izHAXNoednDLXuN/BgVheyFvYrfxHfcIRUurLxoIODd84WrZ5acDMP4QwjFLyHksKRmVFAQ0K+dYx8h/Bx3fDGAtlpxMWuwaeXqhofhD0dS+Bz3V7HA8uslKDy0AAAAAElFTkSuQmCCu;38;Resources/textfield-bezel-square-0.png186;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAADCAIAAAA2iEnWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABxJREFUCB1jmTNnDicnJ4uMjIywsDALEEtKSgIALM0DDeT4y3sAAAAASUVORK5CYII=u;38;Resources/textfield-bezel-square-1.png174;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADCAIAAADdv/LVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABRJREFUCB1jWLVqFZOWlhbDx48fARyiBVLivNzsAAAAAElFTkSuQmCCu;38;Resources/textfield-bezel-square-2.png186;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAADCAIAAAA2iEnWAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCB1jWrp06Zw5c5jU1NRkZGSYJCUlhYWFAUybBRTduo1wAAAAAElFTkSuQmCCu;38;Resources/textfield-bezel-square-3.png170;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAIAAAB7QOjdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUCB1juHLlysePHwESGQVQhb5n0gAAAABJRU5ErkJggg==u;38;Resources/textfield-bezel-square-4.png166;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1j+P//PwAF/gL+n8otEwAAAABJRU5ErkJggg==u;38;Resources/textfield-bezel-square-5.png170;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAIAAAB7QOjdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA9JREFUCB1j/Pjx4+PHjwETfwV+HAwP5QAAAABJRU5ErkJggg==u;38;Resources/textfield-bezel-square-6.png178;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCB1jvHLliqysLOPp06clJSUBLX0FglncIWUAAAAASUVORK5CYII=u;38;Resources/textfield-bezel-square-7.png170;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAIAAAAW4yFwAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABBJREFUCB1j+P//P9OnT58AF6oF1hwiRUMAAAAASUVORK5CYII=u;38;Resources/textfield-bezel-square-8.png178;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABZJREFUCB1j/vjxY0xMDHNOTs779+8BN9MH/68NXLgAAAAASUVORK5CYII=u;46;Resources/textfield-bezel-square-focused-0.png286;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAHCAYAAAArkDztAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGZJREFUCB0FwcsJg0AUAMAJ+9YPgUV4IIhevHizBhtIk2kjJeSYEtJGLpmJ5/t7Q0HFgA41UHDHhBmJFqiYsOPEgTUwYMaJBy70gQ6JA9fv8+rHcRSoaFjRb9smMwUKBjTITMuy+AM42wji1WBJjgAAAABJRU5ErkJggg==u;46;Resources/textfield-bezel-square-focused-1.png198;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAHCAYAAADJTCeUAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACZJREFUCB1jXnjqkTxzYGqhP4joBRELmaNcLRuY6+vrG5jb29sbAOK+DN7MoThrAAAAAElFTkSuQmCCu;46;Resources/textfield-bezel-square-focused-2.png298;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAHCAYAAAArkDztAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAG9JREFUCB0FwbEKgmAYAMCDPrHJXWp27AFa2trber0eJdpa23QIhAaDH0IQS4m6i9O1XWPGhDdmfANb9Eh44oUhcMQDNW64Ywoc8MEZMKCPaC7GccyzzX6HGg3aqKpKSklHjhUKZFGWJeh+oMASiz+A7SOInCfK3QAAAABJRU5ErkJggg==u;46;Resources/textfield-bezel-square-focused-3.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB5JREFUCB1jWHjqkQIQxwPxfiD+f+XKlf8fP378DwDW+RK/bGv6kwAAAABJRU5ErkJggg==u;46;Resources/textfield-bezel-square-focused-4.png166;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAxJREFUCB1j+P//PwAF/gL+n8otEwAAAABJRU5ErkJggg==u;46;Resources/textfield-bezel-square-focused-5.png186;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAABCAYAAAD9yd/wAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAB1JREFUCB1j+Pjx4/8rV678X3jqEQjvB+J4IFYAAP2REr8fi4n2AAAAAElFTkSuQmCCu;46;Resources/textfield-bezel-square-focused-6.png254;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAFCAYAAABmWJ3mAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUCFtjWHjqkTgQewDxZCD+cfr06f9Pnjz5zwDkCAKxKRDnAvFOkCQQgyU4gVgeiB2gkiCd60ASLEDMD5U0hRobBpJghEpyQo0F2SkDAHWKUDJqcdSvAAAAAElFTkSuQmCCu;46;Resources/textfield-bezel-square-focused-7.png182;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAYAAACEhIafAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABpJREFUCB1j+Pjx43+GhacegYk9IFYciJAHAM/uDz+C0SZ2AAAAAElFTkSuQmCCu;46;Resources/textfield-bezel-square-focused-8.png254;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAFCAYAAABmWJ3mAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFBJREFUCFtjePLkyf/Tp0//X3jq0Q8gngzEHkAszgAkYII7gTgXiE2BWBAksQ6qEiToAMTyQMwJkgiDajeFCvIDMQtIQgZkJkg7SCVIEIgZAdauUDJ/hcSRAAAAAElFTkSuQmCCu;35;Resources/vertical-track-bottom.png238;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAECAYAAABGM/VAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAERJREFUCB1j2rx58//Tp0//v379OpgG8Zn+////C4gZkPBfpl+/fh38/fs3AxI+wvT58+eUjx8/7vjw4QMDiP706VMcAOlpQfMaZOfrAAAAAElFTkSuQmCCu;35;Resources/vertical-track-center.png178;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAABCAIAAACZnPOkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABVJREFUCB1j3rx5cxEYJCQk+Pn5AQA+dAbTLdUgHwAAAABJRU5ErkJggg==u;44;Resources/vertical-track-disabled-bottom.png250;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAECAYAAABGM/VAAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAExJREFUeNpMxbsNgDAMBcCH6wzg1amQWCGzUMEAKf1JZSMCdClOt9RaV2ZGKQW9d7TWQGOM+4PJQxFxZiYmF7n7rqqHiODfzLZXgAEAth07HqinDKIAAAAASUVORK5CYII=u;44;Resources/vertical-track-disabled-center.png190;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAABCAYAAAAW/mTzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi3Lx580wJCQkGHh4ehi9fvjC8ePGCASDAAFQeCLRojHkfAAAAAElFTkSuQmCCu;41;Resources/vertical-track-disabled-top.png290;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAGCAYAAAAL+1RLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAGlJREFUeNpirKysFODi4opiZmbW/vv379Vv374tYxEWFk4QEhLSZGdnZ/j586f+u3fvOEGCquLi4gxA1QxAVQyMjIwqLLy8vCz8/PwMPDw8DKysrAzfv39nYmJjYwNzkDETUDkDOgYIMABjBxggiQuq/QAAAABJRU5ErkJggg==u;32;Resources/vertical-track-top.png270;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAGCAYAAAAL+1RLAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAFtJREFUCB1jqqyslG5ubt7Y1tb2E0SD+EzCwsLzpaWl/eTl5dlANJC/FCRoLyEhwQAUYADRQL4NEy8vLxs/Pz+DoKAgA4jm4+NjZmJjY2NgZWVFwUyMjIwM6BgAhF0QgRCnPUsAAAAASUVORK5CYII=e; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/CommonJS.environment/Aristo.blend.sj b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/CommonJS.environment/Aristo.blend.sj new file mode 100644 index 0000000..38ab58e --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/CommonJS.environment/Aristo.blend.sj @@ -0,0 +1 @@ +@STATIC;1.0;p;27;Resources/Aristo.keyedthemet;99851;280NPLIST;1.0;D;K;4;$topD;K;4;rootD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;7;CPThemeK;8;$classesA;S;7;CPThemeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;14;CPThemeNameKeyD;K;6;CP$UIDd;1;3E;K;20;CPThemeAttributesKeyD;K;6;CP$UIDd;1;5E;E;S;6;AristoD;K;10;$classnameS;19;CPMutableDictionaryK;8;$classesA;S;19;CPMutableDictionaryS;12;CPDictionaryS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;buttonD;K;6;CP$UIDd;1;6E;K;12;popup-buttonD;K;6;CP$UIDd;1;7E;K;8;scrollerD;K;6;CP$UIDd;1;8E;K;9;textfieldD;K;6;CP$UIDd;1;9E;K;5;radioD;K;6;CP$UIDd;2;10E;K;9;check-boxD;K;6;CP$UIDd;2;11E;K;17;segmented-controlD;K;6;CP$UIDd;2;12E;K;6;sliderD;K;6;CP$UIDd;2;13E;K;10;button-barD;K;6;CP$UIDd;2;14E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;max-sizeD;K;6;CP$UIDd;2;16E;K;8;min-sizeD;K;6;CP$UIDd;2;17E;K;13;image-scalingD;K;6;CP$UIDd;2;18E;K;14;image-positionD;K;6;CP$UIDd;2;19E;K;18;text-shadow-offsetD;K;6;CP$UIDd;2;20E;K;17;text-shadow-colorD;K;6;CP$UIDd;2;21E;K;4;fontD;K;6;CP$UIDd;2;22E;K;10;text-colorD;K;6;CP$UIDd;2;23E;K;15;line-break-modeD;K;6;CP$UIDd;2;24E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;25E;K;9;alignmentD;K;6;CP$UIDd;2;26E;K;11;bezel-colorD;K;6;CP$UIDd;2;27E;K;13;content-insetD;K;6;CP$UIDd;2;28E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;max-sizeD;K;6;CP$UIDd;2;29E;K;8;min-sizeD;K;6;CP$UIDd;2;30E;K;13;image-scalingD;K;6;CP$UIDd;2;31E;K;14;image-positionD;K;6;CP$UIDd;2;32E;K;18;text-shadow-offsetD;K;6;CP$UIDd;2;33E;K;17;text-shadow-colorD;K;6;CP$UIDd;2;34E;K;4;fontD;K;6;CP$UIDd;2;35E;K;10;text-colorD;K;6;CP$UIDd;2;36E;K;15;line-break-modeD;K;6;CP$UIDd;2;37E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;38E;K;9;alignmentD;K;6;CP$UIDd;2;39E;K;11;bezel-colorD;K;6;CP$UIDd;2;40E;K;13;content-insetD;K;6;CP$UIDd;2;41E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;19;minimum-knob-lengthD;K;6;CP$UIDd;2;42E;K;10;knob-insetD;K;6;CP$UIDd;2;43E;K;11;track-insetD;K;6;CP$UIDd;2;44E;K;19;increment-line-sizeD;K;6;CP$UIDd;2;45E;K;19;decrement-line-sizeD;K;6;CP$UIDd;2;46E;K;10;knob-colorD;K;6;CP$UIDd;2;47E;K;20;increment-line-colorD;K;6;CP$UIDd;2;48E;K;20;decrement-line-colorD;K;6;CP$UIDd;2;49E;K;15;knob-slot-colorD;K;6;CP$UIDd;2;50E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;fontD;K;6;CP$UIDd;2;51E;K;10;text-colorD;K;6;CP$UIDd;2;52E;K;9;alignmentD;K;6;CP$UIDd;2;53E;K;11;bezel-colorD;K;6;CP$UIDd;2;54E;K;13;content-insetD;K;6;CP$UIDd;2;55E;K;11;bezel-insetD;K;6;CP$UIDd;2;56E;K;8;max-sizeD;K;6;CP$UIDd;2;57E;K;8;min-sizeD;K;6;CP$UIDd;2;58E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;min-sizeD;K;6;CP$UIDd;2;59E;K;13;image-scalingD;K;6;CP$UIDd;2;60E;K;14;image-positionD;K;6;CP$UIDd;2;61E;K;4;fontD;K;6;CP$UIDd;2;62E;K;10;text-colorD;K;6;CP$UIDd;2;63E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;64E;K;9;alignmentD;K;6;CP$UIDd;2;65E;K;11;bezel-colorD;K;6;CP$UIDd;2;66E;K;13;content-insetD;K;6;CP$UIDd;2;67E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;min-sizeD;K;6;CP$UIDd;2;68E;K;13;image-scalingD;K;6;CP$UIDd;2;69E;K;14;image-positionD;K;6;CP$UIDd;2;70E;K;4;fontD;K;6;CP$UIDd;2;71E;K;10;text-colorD;K;6;CP$UIDd;2;72E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;73E;K;9;alignmentD;K;6;CP$UIDd;2;74E;K;11;bezel-colorD;K;6;CP$UIDd;2;75E;K;13;content-insetD;K;6;CP$UIDd;2;76E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;18;text-shadow-offsetD;K;6;CP$UIDd;2;77E;K;17;text-shadow-colorD;K;6;CP$UIDd;2;78E;K;4;fontD;K;6;CP$UIDd;2;79E;K;10;text-colorD;K;6;CP$UIDd;2;80E;K;15;line-break-modeD;K;6;CP$UIDd;2;81E;K;14;default-heightD;K;6;CP$UIDd;2;82E;K;17;divider-thicknessD;K;6;CP$UIDd;2;83E;K;19;divider-bezel-colorD;K;6;CP$UIDd;2;84E;K;26;center-segment-bezel-colorD;K;6;CP$UIDd;2;85E;K;25;right-segment-bezel-colorD;K;6;CP$UIDd;2;86E;K;24;left-segment-bezel-colorD;K;6;CP$UIDd;2;87E;K;13;content-insetD;K;6;CP$UIDd;2;88E;K;11;bezel-insetD;K;6;CP$UIDd;2;89E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;11;track-colorD;K;6;CP$UIDd;2;90E;K;11;track-widthD;K;6;CP$UIDd;2;91E;K;9;knob-sizeD;K;6;CP$UIDd;2;92E;K;10;knob-colorD;K;6;CP$UIDd;2;93E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;11;bezel-colorD;K;6;CP$UIDd;2;94E;E;E;D;K;10;$classnameS;17;_CPThemeAttributeK;8;$classesA;S;17;_CPThemeAttributeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;95E;K;5;valueD;K;6;CP$UIDd;2;97E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;valueD;K;6;CP$UIDd;2;99E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;100E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;102E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;103E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;105E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;106E;K;6;valuesD;K;6;CP$UIDd;3;107E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;6;valuesD;K;6;CP$UIDd;3;112E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;113E;K;5;valueD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;115E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;118E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;120E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;95E;K;5;valueD;K;6;CP$UIDd;3;121E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;valueD;K;6;CP$UIDd;3;122E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;100E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;102E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;103E;K;5;valueD;K;6;CP$UIDd;3;123E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;106E;K;6;valuesD;K;6;CP$UIDd;3;124E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;6;valuesD;K;6;CP$UIDd;3;125E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;113E;K;5;valueD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;115E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;5;valueD;K;6;CP$UIDd;3;126E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;127E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;128E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;129E;K;6;valuesD;K;6;CP$UIDd;3;130E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;131E;K;6;valuesD;K;6;CP$UIDd;3;132E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;133E;K;6;valuesD;K;6;CP$UIDd;3;134E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;135E;K;6;valuesD;K;6;CP$UIDd;3;136E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;137E;K;6;valuesD;K;6;CP$UIDd;3;138E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;139E;K;6;valuesD;K;6;CP$UIDd;3;140E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;141E;K;6;valuesD;K;6;CP$UIDd;3;142E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;143E;K;6;valuesD;K;6;CP$UIDd;3;144E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;145E;K;6;valuesD;K;6;CP$UIDd;3;146E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;6;valuesD;K;6;CP$UIDd;3;147E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;5;stateD;K;6;CP$UIDd;3;148E;K;5;valueD;K;6;CP$UIDd;3;150E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;5;valueD;K;6;CP$UIDd;3;126E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;151E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;6;valuesD;K;6;CP$UIDd;3;152E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;153E;K;6;valuesD;K;6;CP$UIDd;3;154E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;95E;K;5;stateD;K;6;CP$UIDd;3;155E;K;5;valueD;K;6;CP$UIDd;3;156E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;stateD;K;6;CP$UIDd;3;155E;K;5;valueD;K;6;CP$UIDd;3;157E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;valueD;K;6;CP$UIDd;3;158E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;100E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;102E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;5;stateD;K;6;CP$UIDd;3;159E;K;5;valueD;K;6;CP$UIDd;3;160E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;115E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;6;valuesD;K;6;CP$UIDd;3;161E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;162E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;163E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;2;98E;K;5;valueD;K;6;CP$UIDd;3;164E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;100E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;102E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;5;stateD;K;6;CP$UIDd;3;159E;K;5;valueD;K;6;CP$UIDd;3;165E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;115E;K;5;valueD;K;6;CP$UIDd;3;101E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;116E;K;6;valuesD;K;6;CP$UIDd;3;166E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;6;valuesD;K;6;CP$UIDd;3;167E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;stateD;K;6;CP$UIDd;3;104E;K;5;valueD;K;6;CP$UIDd;3;168E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;103E;K;5;valueD;K;6;CP$UIDd;3;169E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;106E;K;5;valueD;K;6;CP$UIDd;3;170E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;108E;K;5;valueD;K;6;CP$UIDd;3;110E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;111E;K;5;valueD;K;6;CP$UIDd;3;171E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;113E;K;5;valueD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;172E;K;5;valueD;K;6;CP$UIDd;3;173E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;174E;K;5;valueD;K;6;CP$UIDd;3;175E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;176E;K;6;valuesD;K;6;CP$UIDd;3;177E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;178E;K;6;valuesD;K;6;CP$UIDd;3;179E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;180E;K;6;valuesD;K;6;CP$UIDd;3;181E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;182E;K;6;valuesD;K;6;CP$UIDd;3;183E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;119E;K;5;valueD;K;6;CP$UIDd;3;184E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;153E;K;5;valueD;K;6;CP$UIDd;3;185E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;186E;K;6;valuesD;K;6;CP$UIDd;3;187E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;188E;K;5;valueD;K;6;CP$UIDd;3;189E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;190E;K;6;valuesD;K;6;CP$UIDd;3;191E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;139E;K;6;valuesD;K;6;CP$UIDd;3;192E;E;D;K;6;$classD;K;6;CP$UIDd;2;15E;K;4;nameD;K;6;CP$UIDd;3;117E;K;5;valueD;K;6;CP$UIDd;3;193E;E;S;8;max-sizeD;K;10;$classnameS;21;_CPKeyedArchiverValueK;8;$classesA;S;21;_CPKeyedArchiverValueS;7;CPValueS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;194E;E;S;8;min-sizeD;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;195E;E;S;13;image-scalingd;1;2S;14;image-positionS;18;text-shadow-offsetS;8;borderedD;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;196E;E;S;17;text-shadow-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;17;disabled+borderedD;K;6;CP$UIDd;3;197E;K;8;borderedD;K;6;CP$UIDd;3;198E;E;E;S;4;fontD;K;10;$classnameS;6;CPFontK;8;$classesA;S;6;CPFontS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;109E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;199E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;200E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;201E;E;S;10;text-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;16;disabled+defaultD;K;6;CP$UIDd;3;202E;K;7;defaultD;K;6;CP$UIDd;3;203E;K;8;disabledD;K;6;CP$UIDd;3;204E;K;6;normalD;K;6;CP$UIDd;3;205E;E;E;S;15;line-break-moded;1;4S;18;vertical-alignmentS;9;alignmentS;11;bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;28;highlighted+bordered+defaultD;K;6;CP$UIDd;3;206E;K;16;bordered+defaultD;K;6;CP$UIDd;3;207E;K;25;disabled+bordered+defaultD;K;6;CP$UIDd;3;208E;K;17;disabled+borderedD;K;6;CP$UIDd;3;209E;K;20;highlighted+borderedD;K;6;CP$UIDd;3;210E;K;8;borderedD;K;6;CP$UIDd;3;211E;E;E;S;13;content-insetD;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;212E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;194E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;213E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;196E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;17;disabled+borderedD;K;6;CP$UIDd;3;214E;K;6;normalD;K;6;CP$UIDd;3;215E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;17;disabled+borderedD;K;6;CP$UIDd;3;216E;K;6;normalD;K;6;CP$UIDd;3;217E;E;E;d;1;0D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;19;bordered+pulls-downD;K;6;CP$UIDd;3;218E;K;28;disabled+bordered+pulls-downD;K;6;CP$UIDd;3;219E;K;17;disabled+borderedD;K;6;CP$UIDd;3;220E;K;8;borderedD;K;6;CP$UIDd;3;221E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;222E;E;S;19;minimum-knob-lengthD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;223E;K;8;verticalD;K;6;CP$UIDd;3;223E;E;E;S;10;knob-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;224E;K;8;verticalD;K;6;CP$UIDd;3;225E;E;E;S;11;track-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;226E;K;8;verticalD;K;6;CP$UIDd;3;227E;E;E;S;19;increment-line-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;228E;K;8;verticalD;K;6;CP$UIDd;3;229E;E;E;S;19;decrement-line-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;230E;K;8;verticalD;K;6;CP$UIDd;3;231E;E;E;S;10;knob-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;232E;K;8;disabledD;K;6;CP$UIDd;3;233E;K;17;disabled+verticalD;K;6;CP$UIDd;3;234E;K;8;verticalD;K;6;CP$UIDd;3;235E;E;E;S;20;increment-line-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;236E;K;11;highlightedD;K;6;CP$UIDd;3;237E;K;8;disabledD;K;6;CP$UIDd;3;238E;K;17;disabled+verticalD;K;6;CP$UIDd;3;239E;K;20;highlighted+verticalD;K;6;CP$UIDd;3;240E;K;8;verticalD;K;6;CP$UIDd;3;241E;E;E;S;20;decrement-line-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;242E;K;11;highlightedD;K;6;CP$UIDd;3;243E;K;8;disabledD;K;6;CP$UIDd;3;244E;K;17;disabled+verticalD;K;6;CP$UIDd;3;245E;K;20;highlighted+verticalD;K;6;CP$UIDd;3;246E;K;8;verticalD;K;6;CP$UIDd;3;247E;E;E;S;15;knob-slot-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;248E;K;8;disabledD;K;6;CP$UIDd;3;249E;K;17;disabled+verticalD;K;6;CP$UIDd;3;250E;K;8;verticalD;K;6;CP$UIDd;3;251E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;252E;K;7;bezeledD;K;6;CP$UIDd;3;252E;E;E;S;11;placeholderD;K;10;$classnameS;7;CPColorK;8;$classesA;S;7;CPColorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;254E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;15;bezeled+roundedD;K;6;CP$UIDd;3;255E;K;23;bezeled+editing+roundedD;K;6;CP$UIDd;3;256E;K;15;bezeled+editingD;K;6;CP$UIDd;3;257E;K;7;bezeledD;K;6;CP$UIDd;3;258E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;15;bezeled+roundedD;K;6;CP$UIDd;3;259E;K;7;bezeledD;K;6;CP$UIDd;3;260E;E;E;S;11;bezel-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;15;bezeled+roundedD;K;6;CP$UIDd;3;261E;K;23;bezeled+editing+roundedD;K;6;CP$UIDd;3;262E;K;15;bezeled+editingD;K;6;CP$UIDd;3;263E;K;7;bezeledD;K;6;CP$UIDd;3;264E;E;E;S;15;bezeled+roundedD;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;265E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;266E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;267E;E;S;8;disabledD;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;268E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;borderedD;K;6;CP$UIDd;3;126E;K;6;normalD;K;6;CP$UIDd;3;126E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;26;disabled+selected+borderedD;K;6;CP$UIDd;3;269E;K;17;disabled+borderedD;K;6;CP$UIDd;3;270E;K;20;highlighted+borderedD;K;6;CP$UIDd;3;271E;K;29;highlighted+selected+borderedD;K;6;CP$UIDd;3;272E;K;17;selected+borderedD;K;6;CP$UIDd;3;273E;K;8;borderedD;K;6;CP$UIDd;3;274E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;275E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;267E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;276E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;borderedD;K;6;CP$UIDd;3;126E;K;6;normalD;K;6;CP$UIDd;3;126E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;26;highlighted+bordered+mixedD;K;6;CP$UIDd;3;277E;K;14;bordered+mixedD;K;6;CP$UIDd;3;278E;K;23;disabled+bordered+mixedD;K;6;CP$UIDd;3;279E;K;26;disabled+selected+borderedD;K;6;CP$UIDd;3;280E;K;17;disabled+borderedD;K;6;CP$UIDd;3;281E;K;20;highlighted+borderedD;K;6;CP$UIDd;3;282E;K;29;highlighted+selected+borderedD;K;6;CP$UIDd;3;283E;K;17;selected+borderedD;K;6;CP$UIDd;3;284E;K;8;borderedD;K;6;CP$UIDd;3;285E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;275E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;196E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;286E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;287E;E;S;14;default-heightd;2;24S;17;divider-thicknessd;1;1S;19;divider-bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;11;highlightedD;K;6;CP$UIDd;3;288E;K;8;selectedD;K;6;CP$UIDd;3;289E;K;17;disabled+selectedD;K;6;CP$UIDd;3;290E;K;8;disabledD;K;6;CP$UIDd;3;291E;K;6;normalD;K;6;CP$UIDd;3;288E;E;E;S;26;center-segment-bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;20;highlighted+selectedD;K;6;CP$UIDd;3;292E;K;11;highlightedD;K;6;CP$UIDd;3;293E;K;8;selectedD;K;6;CP$UIDd;3;294E;K;17;disabled+selectedD;K;6;CP$UIDd;3;295E;K;8;disabledD;K;6;CP$UIDd;3;296E;K;6;normalD;K;6;CP$UIDd;3;297E;E;E;S;25;right-segment-bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;20;highlighted+selectedD;K;6;CP$UIDd;3;298E;K;11;highlightedD;K;6;CP$UIDd;3;299E;K;8;selectedD;K;6;CP$UIDd;3;300E;K;17;disabled+selectedD;K;6;CP$UIDd;3;301E;K;8;disabledD;K;6;CP$UIDd;3;302E;K;6;normalD;K;6;CP$UIDd;3;303E;E;E;S;24;left-segment-bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;20;highlighted+selectedD;K;6;CP$UIDd;3;304E;K;11;highlightedD;K;6;CP$UIDd;3;305E;K;8;selectedD;K;6;CP$UIDd;3;306E;K;17;disabled+selectedD;K;6;CP$UIDd;3;307E;K;8;disabledD;K;6;CP$UIDd;3;308E;K;6;normalD;K;6;CP$UIDd;3;309E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;310E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;S;11;track-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;circularD;K;6;CP$UIDd;3;312E;K;17;disabled+circularD;K;6;CP$UIDd;3;313E;K;8;verticalD;K;6;CP$UIDd;3;314E;K;8;disabledD;K;6;CP$UIDd;3;315E;K;6;normalD;K;6;CP$UIDd;3;316E;E;E;S;11;track-widthd;1;5S;9;knob-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;circularD;K;6;CP$UIDd;3;317E;K;6;normalD;K;6;CP$UIDd;3;318E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;circularD;K;6;CP$UIDd;3;319E;K;17;disabled+circularD;K;6;CP$UIDd;3;320E;K;20;highlighted+circularD;K;6;CP$UIDd;3;319E;K;8;disabledD;K;6;CP$UIDd;3;321E;K;11;highlightedD;K;6;CP$UIDd;3;322E;K;6;normalD;K;6;CP$UIDd;3;323E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;325E;E;S;24;{"width":-1,"height":24}S;23;{"width":0,"height":24}S;22;{"width":0,"height":1}D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;326E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;327E;E;S;17;Arial, sans-serifd;2;12T;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;328E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;329E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;330E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;331E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;332E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;333E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;334E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;335E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;336E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;337E;E;S;39;{"top":0,"right":5,"bottom":0,"left":5}S;24;{"width":32,"height":24}D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;338E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;339E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;340E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;3;341E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;342E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;343E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;344E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;345E;E;S;40;{"top":0,"right":32,"bottom":0,"left":5}d;2;21D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;346E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;347E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;350E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;351E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;352E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;353E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;355E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;356E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;357E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;358E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;359E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;360E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;361E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;362E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;363E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;364E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;365E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;366E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;367E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;368E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;369E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;370E;E;D;K;6;$classD;K;6;CP$UIDd;3;109E;K;13;CPFontNameKeyD;K;6;CP$UIDd;3;199E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;3;200E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;3;371E;E;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;372E;D;K;6;CP$UIDd;3;373E;D;K;6;CP$UIDd;3;374E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;375E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;376E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;378E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;379E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;380E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;381E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;382E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;311E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;383E;E;S;24;{"width":-1,"height":30}S;23;{"width":0,"height":30}S;23;{"width":0,"height":17}D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;385E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;386E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;387E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;388E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;389E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;390E;E;S;40;{"top":0,"right":0,"bottom":0,"left":20}D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;391E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;392E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;393E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;394E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;395E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;396E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;397E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;398E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;399E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;401E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;402E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;403E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;404E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;405E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;406E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;407E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;408E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;409E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;410E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;411E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;412E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;413E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;414E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;415E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;416E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;417E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;418E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;419E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;420E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;421E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;422E;E;S;39;{"top":0,"right":4,"bottom":0,"left":4}S;39;{"top":0,"right":0,"bottom":0,"left":0}D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;423E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;424E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;425E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;426E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;427E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;428E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;429E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;430E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;431E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;432E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;433E;E;D;K;6;$classD;K;6;CP$UIDd;3;149E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;434E;E;D;K;10;$classnameS;16;CPThreePartImageK;8;$classesA;S;16;CPThreePartImageS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;435E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;436E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;437E;D;K;6;CP$UIDd;3;438E;D;K;6;CP$UIDd;3;439E;D;K;6;CP$UIDd;3;436E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;437E;D;K;6;CP$UIDd;3;438E;D;K;6;CP$UIDd;3;439E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;440E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;441E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;442E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;443E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;444E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;445E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;436E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;400E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;436E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;384E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;446E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;447E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;448E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;449E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;S;43;{"top":0,"right":-10,"bottom":0,"left":-11}S;43;{"top":-10,"right":0,"bottom":-10,"left":0}S;24;{"width":24,"height":15}S;24;{"width":15,"height":24}D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;450E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;451E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;452E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;201E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;453E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;201E;E;D;K;10;$classnameS;20;_CPCibCustomResourceK;8;$classesA;S;20;_CPCibCustomResourceS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;455E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;456E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;457E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;458E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;459E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;460E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;461E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;462E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;463E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;464E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;465E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;466E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;467E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;468E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;469E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;470E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;471E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;472E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;473E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;474E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;475E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;476E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;477E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;478E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;479E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;480E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;481E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;482E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;483E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;484E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;485E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;486E;E;F;f;18;0.7411764705882353f;18;0.7803921568627451f;18;0.8274509803921568D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;487E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;488E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;10;$classnameS;15;CPNinePartImageK;8;$classesA;S;15;CPNinePartImageS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;377E;K;29;CPNinePartImageImageSlicesKeyD;K;6;CP$UIDd;3;489E;E;D;K;6;$classD;K;6;CP$UIDd;3;377E;K;29;CPNinePartImageImageSlicesKeyD;K;6;CP$UIDd;3;490E;E;S;41;{"top":9,"right":14,"bottom":6,"left":14}S;39;{"top":9,"right":7,"bottom":5,"left":8}S;39;{"top":4,"right":4,"bottom":4,"left":4}S;39;{"top":4,"right":4,"bottom":3,"left":4}f;19;0.30980392156862746D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;491E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;492E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;493E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;494E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;495E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;496E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;497E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;498E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;499E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;500E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;501E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;502E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;503E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;504E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;505E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;f;18;0.9411764705882353D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;506E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;507E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;508E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;509E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;510E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;511E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;512E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;513E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;514E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;515E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;516E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;517E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;518E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;519E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;520E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;521E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;522E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;523E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;524E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;525E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;526E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;527E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;528E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;529E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;530E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;531E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;532E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;533E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;534E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;535E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;536E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;537E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;538E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;539E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;540E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;541E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;542E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;543E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;544E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;545E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;546E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;547E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;548E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;549E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;550E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;551E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;552E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;553E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;554E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;201E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;555E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;201E;E;D;K;6;$classD;K;6;CP$UIDd;3;324E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;556E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;371E;E;S;22;{"width":5,"height":5}S;24;{"width":23,"height":24}D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;557E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;558E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;559E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;560E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;561E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;562E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;563E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;564E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;565E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;566E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;567E;D;K;6;CP$UIDd;3;568E;D;K;6;CP$UIDd;3;569E;E;E;f;3;0.6f;20;0.050980392156862744f;3;0.2f;19;0.27450980392156865D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;570E;D;K;6;CP$UIDd;3;571E;D;K;6;CP$UIDd;3;572E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;573E;D;K;6;CP$UIDd;3;574E;D;K;6;CP$UIDd;3;575E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;576E;D;K;6;CP$UIDd;3;577E;D;K;6;CP$UIDd;3;578E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;579E;D;K;6;CP$UIDd;3;580E;D;K;6;CP$UIDd;3;581E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;582E;D;K;6;CP$UIDd;3;583E;D;K;6;CP$UIDd;3;584E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;585E;D;K;6;CP$UIDd;3;586E;D;K;6;CP$UIDd;3;587E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;588E;D;K;6;CP$UIDd;3;589E;D;K;6;CP$UIDd;3;590E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;591E;D;K;6;CP$UIDd;3;592E;D;K;6;CP$UIDd;3;593E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;594E;D;K;6;CP$UIDd;3;595E;D;K;6;CP$UIDd;3;596E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;597E;D;K;6;CP$UIDd;3;598E;D;K;6;CP$UIDd;3;599E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;600E;D;K;6;CP$UIDd;3;601E;D;K;6;CP$UIDd;3;602E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;603E;D;K;6;CP$UIDd;3;604E;D;K;6;CP$UIDd;3;605E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;606E;D;K;6;CP$UIDd;3;607E;D;K;6;CP$UIDd;3;608E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;609E;D;K;6;CP$UIDd;3;610E;D;K;6;CP$UIDd;3;611E;E;E;S;7;CPImageS;24;scroller-right-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;612E;E;E;S;36;scroller-right-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;613E;E;E;S;33;scroller-right-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;614E;E;E;S;32;scroller-down-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;615E;E;E;S;35;scroller-down-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;616E;E;E;S;23;scroller-down-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;617E;E;E;S;23;scroller-left-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;618E;E;E;S;35;scroller-left-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;619E;E;E;S;32;scroller-left-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;620E;E;E;S;30;scroller-up-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;621E;E;E;S;33;scroller-up-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;622E;E;E;S;21;scroller-up-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;623E;E;E;S;29;scroller-horizontal-track.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;624E;E;E;S;38;scroller-horizontal-track-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;625E;E;E;S;36;scroller-vertical-track-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;626E;E;E;S;27;scroller-vertical-track.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;627E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;628E;D;K;6;CP$UIDd;3;629E;D;K;6;CP$UIDd;3;630E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;631E;D;K;6;CP$UIDd;3;632E;D;K;6;CP$UIDd;3;633E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;634E;D;K;6;CP$UIDd;3;635E;D;K;6;CP$UIDd;3;636E;D;K;6;CP$UIDd;3;637E;D;K;6;CP$UIDd;3;638E;D;K;6;CP$UIDd;3;639E;D;K;6;CP$UIDd;3;640E;D;K;6;CP$UIDd;3;641E;D;K;6;CP$UIDd;3;642E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;643E;D;K;6;CP$UIDd;3;644E;D;K;6;CP$UIDd;3;645E;D;K;6;CP$UIDd;3;646E;D;K;6;CP$UIDd;3;647E;D;K;6;CP$UIDd;3;648E;D;K;6;CP$UIDd;3;649E;D;K;6;CP$UIDd;3;650E;D;K;6;CP$UIDd;3;651E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;652E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;653E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;654E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;655E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;656E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;657E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;658E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;659E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;660E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;661E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;662E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;663E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;664E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;665E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;666E;D;K;6;CP$UIDd;1;0E;D;K;6;CP$UIDd;1;0E;E;E;S;35;segmented-control-bezel-divider.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;667E;E;E;S;47;segmented-control-bezel-highlighted-divider.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;668E;E;E;S;56;segmented-control-bezel-highlighted-disabled-divider.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;669E;E;E;S;44;segmented-control-bezel-disabled-divider.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;670E;E;E;S;53;segmented-control-bezel-pushed-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;671E;E;E;S;41;segmented-control-bezel-pushed-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;672E;E;E;S;46;segmented-control-bezel-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;673E;E;E;S;55;segmented-control-bezel-highlighted-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;674E;E;E;S;43;segmented-control-bezel-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;675E;E;E;S;34;segmented-control-bezel-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;676E;E;E;S;52;segmented-control-bezel-pushed-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;677E;E;E;S;40;segmented-control-bezel-pushed-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;678E;E;E;S;45;segmented-control-bezel-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;679E;E;E;S;54;segmented-control-bezel-highlighted-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;680E;E;E;S;42;segmented-control-bezel-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;681E;E;E;S;33;segmented-control-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;682E;E;E;S;51;segmented-control-bezel-pushed-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;683E;E;E;S;39;segmented-control-bezel-pushed-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;684E;E;E;S;44;segmented-control-bezel-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;685E;E;E;S;53;segmented-control-bezel-highlighted-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;686E;E;E;S;41;segmented-control-bezel-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;687E;E;E;S;32;segmented-control-bezel-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;688E;E;E;S;25;slider-circular-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;689E;E;E;S;34;slider-circular-disabled-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;690E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;691E;D;K;6;CP$UIDd;3;692E;D;K;6;CP$UIDd;3;693E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;694E;D;K;6;CP$UIDd;3;695E;D;K;6;CP$UIDd;3;696E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;253E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;697E;D;K;6;CP$UIDd;3;698E;D;K;6;CP$UIDd;3;699E;E;E;S;24;slider-circular-knob.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;700E;E;E;S;33;slider-circular-disabled-knob.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;701E;E;E;S;17;knob-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;702E;E;E;S;20;knob-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;703E;E;E;S;8;knob.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;704E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;705E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;706E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;705E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;707E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;708E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;709E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;710E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;711E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;712E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;713E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;714E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;715E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;716E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;717E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;718E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;719E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;720E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;721E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;722E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;723E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;724E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;725E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;726E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;727E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;728E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;729E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;730E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;731E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;732E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;733E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;734E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;735E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;736E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;737E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;738E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;739E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;740E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;741E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;742E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;743E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;744E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;745E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;740E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;746E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;742E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;747E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;748E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;749E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;728E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;750E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;730E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;751E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;752E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;753E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;728E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;754E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;730E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;755E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;756E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;757E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;740E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;758E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;742E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;759E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;760E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;761E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;762E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;763E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;764E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;765E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;766E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;767E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;768E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;769E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;770E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;771E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;772E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;773E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;774E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;775E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;776E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;777E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;778E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;779E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;780E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;781E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;782E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;783E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;784E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;785E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;348E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;349E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;786E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;786E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;787E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;787E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;788E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;789E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;790E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;791E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;792E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;793E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;794E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;795E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;796E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;797E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;798E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;799E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;800E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;801E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;802E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;803E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;804E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;805E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;806E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;807E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;808E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;809E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;810E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;811E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;812E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;813E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;814E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;815E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;816E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;817E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;818E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;819E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;820E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;821E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;822E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;823E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;824E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;825E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;826E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;827E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;828E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;829E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;830E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;831E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;832E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;833E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;834E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;835E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;836E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;837E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;838E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;839E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;840E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;841E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;842E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;843E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;844E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;845E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;846E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;847E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;848E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;849E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;850E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;851E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;852E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;853E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;854E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;855E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;856E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;857E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;858E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;859E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;860E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;861E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;862E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;863E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;864E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;865E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;868E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;868E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;869E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;870E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;871E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;872E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;873E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;874E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;875E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;876E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;877E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;878E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;879E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;880E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;881E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;882E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;883E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;884E;E;D;K;6;$classD;K;6;CP$UIDd;3;354E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;454E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;885E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;886E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;428E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;428E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;429E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;429E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;429E;E;S;19;buttonbar-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;887E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;888E;E;E;S;25;buttonbar-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;889E;E;E;S;41;default-button-bezel-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;890E;E;E;S;43;default-button-bezel-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;891E;E;E;S;42;default-button-bezel-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;892E;E;E;S;29;default-button-bezel-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;893E;E;E;S;31;default-button-bezel-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;894E;E;E;S;30;default-button-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;895E;E;E;S;38;default-button-bezel-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;896E;E;E;S;40;default-button-bezel-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;897E;E;E;S;39;default-button-bezel-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;898E;E;E;S;30;button-bezel-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;899E;E;E;S;32;button-bezel-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;900E;E;E;S;31;button-bezel-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;901E;E;E;S;33;button-bezel-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;902E;E;E;S;35;button-bezel-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;903E;E;E;S;34;button-bezel-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;904E;E;E;S;21;button-bezel-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;905E;E;E;S;23;button-bezel-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;906E;E;E;S;22;button-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;907E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;908E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;909E;E;E;S;31;popup-bezel-right-pullsdown.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;910E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;911E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;912E;E;E;S;40;popup-bezel-disabled-right-pullsdown.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;913E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;914E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;915E;E;E;S;30;popup-bezel-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;916E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;917E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;918E;E;E;S;21;popup-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;919E;E;E;S;33;scroller-horizontal-knob-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;920E;E;E;S;35;scroller-horizontal-knob-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;921E;E;E;S;34;scroller-horizontal-knob-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;922E;E;E;S;42;scroller-horizontal-knob-disabled-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;923E;E;E;S;44;scroller-horizontal-knob-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;924E;E;E;S;43;scroller-horizontal-knob-disabled-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;925E;E;E;S;39;scroller-vertical-knob-disabled-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;926E;E;E;S;42;scroller-vertical-knob-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;927E;E;E;S;42;scroller-vertical-knob-disabled-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;928E;E;E;S;30;scroller-vertical-knob-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;929E;E;E;S;33;scroller-vertical-knob-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;930E;E;E;S;33;scroller-vertical-knob-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;931E;E;E;S;23;{"width":1,"height":15}S;23;{"width":15,"height":1}S;32;textfield-bezel-rounded-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;932E;E;E;S;34;textfield-bezel-rounded-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;933E;E;E;S;33;textfield-bezel-rounded-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;934E;E;E;S;40;textfield-bezel-rounded-focused-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;935E;E;E;S;42;textfield-bezel-rounded-focused-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;936E;E;E;S;41;textfield-bezel-rounded-focused-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;937E;E;E;S;36;textfield-bezel-square-focused-0.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;938E;E;E;S;36;textfield-bezel-square-focused-1.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;939E;E;E;S;36;textfield-bezel-square-focused-2.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;940E;E;E;S;36;textfield-bezel-square-focused-3.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;941E;E;E;S;36;textfield-bezel-square-focused-4.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;942E;E;E;S;36;textfield-bezel-square-focused-5.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;943E;E;E;S;36;textfield-bezel-square-focused-6.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;944E;E;E;S;36;textfield-bezel-square-focused-7.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;945E;E;E;S;36;textfield-bezel-square-focused-8.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;946E;E;E;S;28;textfield-bezel-square-0.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;947E;E;E;S;28;textfield-bezel-square-1.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;948E;E;E;S;28;textfield-bezel-square-2.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;949E;E;E;S;28;textfield-bezel-square-3.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;950E;E;E;S;28;textfield-bezel-square-4.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;951E;E;E;S;28;textfield-bezel-square-5.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;952E;E;E;S;28;textfield-bezel-square-6.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;953E;E;E;S;28;textfield-bezel-square-7.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;954E;E;E;S;28;textfield-bezel-square-8.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;955E;E;E;S;33;radio-bezel-selected-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;956E;E;E;S;24;radio-bezel-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;957E;E;E;S;27;radio-bezel-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;958E;E;E;S;36;radio-bezel-selected-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;959E;E;E;S;24;radio-bezel-selected.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;960E;E;E;S;15;radio-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;961E;E;E;S;37;check-box-bezel-mixed-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;962E;E;E;S;25;check-box-bezel-mixed.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;963E;E;E;S;34;check-box-bezel-mixed-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;964E;E;E;S;37;check-box-bezel-selected-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;965E;E;E;S;28;check-box-bezel-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;966E;E;E;S;31;check-box-bezel-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;967E;E;E;S;40;check-box-bezel-selected-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;968E;E;E;S;28;check-box-bezel-selected.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;969E;E;E;S;19;check-box-bezel.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;970E;E;E;S;23;{"width":1,"height":24}S;23;{"width":4,"height":24}S;24;{"width":34,"height":34}S;22;vertical-track-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;971E;E;E;S;25;vertical-track-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;972E;E;E;S;25;vertical-track-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;973E;E;E;S;31;vertical-track-disabled-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;974E;E;E;S;34;vertical-track-disabled-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;975E;E;E;S;34;vertical-track-disabled-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;976E;E;E;S;25;horizontal-track-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;977E;E;E;S;27;horizontal-track-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;978E;E;E;S;26;horizontal-track-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;979E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;980E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;980E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;981E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;982E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;982E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;982E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;867E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;866E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;982E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;983E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;786E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;983E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;983E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;786E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;983E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;984E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;787E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;984E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;984E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;787E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;984E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;985E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;986E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;985E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;987E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;988E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;987E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;989E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;990E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;989E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;991E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;992E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;991E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;993E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;994E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;993E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;995E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;996E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;995E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;997E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;992E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;997E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;998E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;999E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;998E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1000E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1001E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1002E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1003E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1004E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1002E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1003E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1004E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1005E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;994E;E;D;K;6;$classD;K;6;CP$UIDd;2;96E;K;15;CPValueValueKeyD;K;6;CP$UIDd;4;1005E;E;S;23;{"width":1,"height":26}S;24;{"width":13,"height":26}S;24;{"width":27,"height":24}S;24;{"width":10,"height":15}S;24;{"width":15,"height":10}S;24;{"width":13,"height":22}S;23;{"width":1,"height":22}S;24;{"width":17,"height":30}S;23;{"width":1,"height":30}S;22;{"width":6,"height":7}S;22;{"width":1,"height":7}S;22;{"width":6,"height":1}S;22;{"width":1,"height":1}S;22;{"width":6,"height":5}S;22;{"width":1,"height":5}S;22;{"width":2,"height":3}S;22;{"width":1,"height":3}S;22;{"width":2,"height":1}S;22;{"width":2,"height":2}S;22;{"width":1,"height":2}S;24;{"width":17,"height":17}S;24;{"width":15,"height":16}S;22;{"width":5,"height":6}S;22;{"width":5,"height":1}S;22;{"width":5,"height":4}S;22;{"width":4,"height":5}E;K;9;$archiverS;15;CPKeyedArchiverK;8;$versionS;6;100000E;p;31;Resources/Aristo-HUD.keyedthemet;21645;280NPLIST;1.0;D;K;4;$topD;K;4;rootD;K;6;CP$UIDd;1;2E;E;K;8;$objectsA;S;5;$nullD;K;10;$classnameS;7;CPThemeK;8;$classesA;S;7;CPThemeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;1E;K;14;CPThemeNameKeyD;K;6;CP$UIDd;1;3E;K;20;CPThemeAttributesKeyD;K;6;CP$UIDd;1;5E;E;S;10;Aristo-HUDD;K;10;$classnameS;19;CPMutableDictionaryK;8;$classesA;S;19;CPMutableDictionaryS;12;CPDictionaryS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;buttonD;K;6;CP$UIDd;1;6E;K;8;scrollerD;K;6;CP$UIDd;1;7E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;8;max-sizeD;K;6;CP$UIDd;1;9E;K;8;min-sizeD;K;6;CP$UIDd;2;10E;K;13;image-scalingD;K;6;CP$UIDd;2;11E;K;14;image-positionD;K;6;CP$UIDd;2;12E;K;4;fontD;K;6;CP$UIDd;2;13E;K;10;text-colorD;K;6;CP$UIDd;2;14E;K;15;line-break-modeD;K;6;CP$UIDd;2;15E;K;18;vertical-alignmentD;K;6;CP$UIDd;2;16E;K;9;alignmentD;K;6;CP$UIDd;2;17E;K;11;bezel-colorD;K;6;CP$UIDd;2;18E;K;13;content-insetD;K;6;CP$UIDd;2;19E;E;E;D;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;19;minimum-knob-lengthD;K;6;CP$UIDd;2;20E;K;10;knob-insetD;K;6;CP$UIDd;2;21E;K;11;track-insetD;K;6;CP$UIDd;2;22E;K;19;increment-line-sizeD;K;6;CP$UIDd;2;23E;K;19;decrement-line-sizeD;K;6;CP$UIDd;2;24E;K;10;knob-colorD;K;6;CP$UIDd;2;25E;K;20;increment-line-colorD;K;6;CP$UIDd;2;26E;K;20;decrement-line-colorD;K;6;CP$UIDd;2;27E;K;15;knob-slot-colorD;K;6;CP$UIDd;2;28E;E;E;D;K;10;$classnameS;17;_CPThemeAttributeK;8;$classesA;S;17;_CPThemeAttributeS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;29E;K;5;valueD;K;6;CP$UIDd;2;31E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;32E;K;5;valueD;K;6;CP$UIDd;2;33E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;34E;K;5;valueD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;36E;K;5;valueD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;37E;K;5;stateD;K;6;CP$UIDd;2;38E;K;5;valueD;K;6;CP$UIDd;2;40E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;41E;K;5;valueD;K;6;CP$UIDd;2;43E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;44E;K;5;valueD;K;6;CP$UIDd;2;45E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;46E;K;5;valueD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;47E;K;5;valueD;K;6;CP$UIDd;2;35E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;48E;K;6;valuesD;K;6;CP$UIDd;2;49E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;50E;K;5;stateD;K;6;CP$UIDd;2;38E;K;5;valueD;K;6;CP$UIDd;2;51E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;52E;K;6;valuesD;K;6;CP$UIDd;2;53E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;54E;K;6;valuesD;K;6;CP$UIDd;2;55E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;56E;K;6;valuesD;K;6;CP$UIDd;2;57E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;58E;K;6;valuesD;K;6;CP$UIDd;2;59E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;60E;K;6;valuesD;K;6;CP$UIDd;2;61E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;62E;K;6;valuesD;K;6;CP$UIDd;2;63E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;64E;K;6;valuesD;K;6;CP$UIDd;2;65E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;66E;K;6;valuesD;K;6;CP$UIDd;2;67E;E;D;K;6;$classD;K;6;CP$UIDd;1;8E;K;4;nameD;K;6;CP$UIDd;2;68E;K;6;valuesD;K;6;CP$UIDd;2;69E;E;S;8;max-sizeD;K;10;$classnameS;21;_CPKeyedArchiverValueK;8;$classesA;S;21;_CPKeyedArchiverValueS;7;CPValueS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;2;70E;E;S;8;min-sizeD;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;2;71E;E;S;13;image-scalingd;1;2S;14;image-positionS;4;fontS;8;borderedD;K;10;$classnameS;6;CPFontK;8;$classesA;S;6;CPFontS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;39E;K;13;CPFontNameKeyD;K;6;CP$UIDd;2;72E;K;13;CPFontSizeKeyD;K;6;CP$UIDd;2;73E;K;15;CPFontIsBoldKeyD;K;6;CP$UIDd;2;74E;E;S;10;text-colorD;K;10;$classnameS;7;CPColorK;8;$classesA;S;7;CPColorS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;20;CPColorComponentsKeyD;K;6;CP$UIDd;2;76E;E;S;15;line-break-moded;1;4S;18;vertical-alignmentS;9;alignmentS;11;bezel-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;20;highlighted+borderedD;K;6;CP$UIDd;2;77E;K;8;borderedD;K;6;CP$UIDd;2;78E;E;E;S;13;content-insetD;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;2;79E;E;S;19;minimum-knob-lengthD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;80E;K;8;verticalD;K;6;CP$UIDd;2;80E;E;E;S;10;knob-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;81E;K;8;verticalD;K;6;CP$UIDd;2;82E;E;E;S;11;track-insetD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;83E;K;8;verticalD;K;6;CP$UIDd;2;84E;E;E;S;19;increment-line-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;85E;K;8;verticalD;K;6;CP$UIDd;2;86E;E;E;S;19;decrement-line-sizeD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;87E;K;8;verticalD;K;6;CP$UIDd;2;88E;E;E;S;10;knob-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;89E;K;8;verticalD;K;6;CP$UIDd;2;90E;E;E;S;20;increment-line-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;91E;K;11;highlightedD;K;6;CP$UIDd;2;92E;K;8;disabledD;K;6;CP$UIDd;2;93E;K;17;disabled+verticalD;K;6;CP$UIDd;2;94E;K;20;highlighted+verticalD;K;6;CP$UIDd;2;95E;K;8;verticalD;K;6;CP$UIDd;2;96E;E;E;S;20;decrement-line-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;2;97E;K;11;highlightedD;K;6;CP$UIDd;2;98E;K;8;disabledD;K;6;CP$UIDd;2;99E;K;17;disabled+verticalD;K;6;CP$UIDd;3;100E;K;20;highlighted+verticalD;K;6;CP$UIDd;3;101E;K;8;verticalD;K;6;CP$UIDd;3;102E;E;E;S;15;knob-slot-colorD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;6;normalD;K;6;CP$UIDd;3;103E;K;8;disabledD;K;6;CP$UIDd;3;104E;K;17;disabled+verticalD;K;6;CP$UIDd;3;105E;K;8;verticalD;K;6;CP$UIDd;3;106E;E;E;S;24;{"width":-1,"height":20}S;23;{"width":0,"height":20}S;17;Arial, sans-serifd;2;11F;D;K;10;$classnameS;7;CPArrayK;8;$classesA;S;7;CPArrayS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;107E;D;K;6;CP$UIDd;3;107E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;109E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;110E;E;S;39;{"top":2,"right":5,"bottom":4,"left":5}d;2;21D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;111E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;111E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;112E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;113E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;116E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;117E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;119E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;120E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;121E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;122E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;123E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;124E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;125E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;126E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;127E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;128E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;129E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;130E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;131E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;132E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;133E;E;D;K;6;$classD;K;6;CP$UIDd;2;42E;K;22;CPColorPatternImageKeyD;K;6;CP$UIDd;3;134E;E;d;1;1D;K;10;$classnameS;16;CPThreePartImageK;8;$classesA;S;16;CPThreePartImageS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;108E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;135E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;2;74E;E;D;K;6;$classD;K;6;CP$UIDd;3;108E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;136E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;2;74E;E;S;39;{"top":0,"right":0,"bottom":0,"left":0}S;41;{"top":0,"right":-7,"bottom":0,"left":-9}S;41;{"top":-9,"right":0,"bottom":-9,"left":0}S;24;{"width":24,"height":15}S;24;{"width":15,"height":24}D;K;6;$classD;K;6;CP$UIDd;3;108E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;137E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;2;74E;E;D;K;6;$classD;K;6;CP$UIDd;3;108E;K;30;CPThreePartImageImageSlicesKeyD;K;6;CP$UIDd;3;138E;K;29;CPThreePartImageIsVerticalKeyD;K;6;CP$UIDd;3;139E;E;D;K;10;$classnameS;20;_CPCibCustomResourceK;8;$classesA;S;20;_CPCibCustomResourceS;8;CPObjectE;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;141E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;142E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;143E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;144E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;145E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;146E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;147E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;148E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;149E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;150E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;151E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;152E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;153E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;154E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;155E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;156E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;157E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;158E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;159E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;160E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;161E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;162E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;163E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;164E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;165E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;166E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;167E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;168E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;169E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;170E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;171E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;172E;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;173E;D;K;6;CP$UIDd;3;174E;D;K;6;CP$UIDd;3;175E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;176E;D;K;6;CP$UIDd;3;177E;D;K;6;CP$UIDd;3;178E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;179E;D;K;6;CP$UIDd;3;180E;D;K;6;CP$UIDd;3;181E;E;E;D;K;6;$classD;K;6;CP$UIDd;2;75E;K;10;CP.objectsA;D;K;6;CP$UIDd;3;182E;D;K;6;CP$UIDd;3;183E;D;K;6;CP$UIDd;3;184E;E;E;T;S;7;CPImageS;28;HUD/scroller-right-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;185E;E;E;S;40;HUD/scroller-right-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;186E;E;E;S;37;HUD/scroller-right-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;187E;E;E;S;36;HUD/scroller-down-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;188E;E;E;S;39;HUD/scroller-down-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;189E;E;E;S;27;HUD/scroller-down-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;190E;E;E;S;27;HUD/scroller-left-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;191E;E;E;S;39;HUD/scroller-left-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;192E;E;E;S;36;HUD/scroller-left-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;193E;E;E;S;34;HUD/scroller-up-arrow-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;194E;E;E;S;37;HUD/scroller-up-arrow-highlighted.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;195E;E;E;S;25;HUD/scroller-up-arrow.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;196E;E;E;S;33;HUD/scroller-horizontal-track.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;197E;E;E;S;42;HUD/scroller-horizontal-track-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;198E;E;E;S;40;HUD/scroller-vertical-track-disabled.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;199E;E;E;S;31;HUD/scroller-vertical-track.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;200E;E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;201E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;202E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;203E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;204E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;205E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;206E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;207E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;208E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;209E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;210E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;211E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;212E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;213E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;214E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;215E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;216E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;217E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;218E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;219E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;220E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;221E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;222E;E;D;K;6;$classD;K;6;CP$UIDd;3;118E;K;32;_CPCibCustomResourceClassNameKeyD;K;6;CP$UIDd;3;140E;K;35;_CPCibCustomResourceResourceNameKeyD;K;6;CP$UIDd;3;223E;K;33;_CPCibCustomResourcePropertiesKeyD;K;6;CP$UIDd;3;224E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;114E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;115E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;225E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;225E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;226E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;226E;E;S;37;HUD/button-bezel-highlighted-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;227E;E;E;S;39;HUD/button-bezel-highlighted-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;228E;E;E;S;38;HUD/button-bezel-highlighted-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;229E;E;E;S;25;HUD/button-bezel-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;230E;E;E;S;27;HUD/button-bezel-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;231E;E;E;S;26;HUD/button-bezel-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;232E;E;E;S;37;HUD/scroller-horizontal-knob-left.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;233E;E;E;S;39;HUD/scroller-horizontal-knob-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;234E;E;E;S;38;HUD/scroller-horizontal-knob-right.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;235E;E;E;S;34;HUD/scroller-vertical-knob-top.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;236E;E;E;S;37;HUD/scroller-vertical-knob-center.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;237E;E;E;S;37;HUD/scroller-vertical-knob-bottom.pngD;K;6;$classD;K;6;CP$UIDd;1;4E;K;10;CP.objectsD;K;4;sizeD;K;6;CP$UIDd;3;238E;E;E;S;23;{"width":1,"height":15}S;23;{"width":15,"height":1}D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;240E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;240E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;239E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;241E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;225E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;241E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;242E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;226E;E;D;K;6;$classD;K;6;CP$UIDd;2;30E;K;15;CPValueValueKeyD;K;6;CP$UIDd;3;242E;E;S;24;{"width":13,"height":20}S;23;{"width":1,"height":20}S;24;{"width":10,"height":15}S;24;{"width":15,"height":10}E;K;9;$archiverS;15;CPKeyedArchiverK;8;$versionS;6;100000E;e; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Info.plist b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Info.plist new file mode 100644 index 0000000..9f0dc17 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Info.plist @@ -0,0 +1 @@ +280NPLIST;1.0;D;K;26;CPApplicationDelegateClassS;20;BKShowcaseControllerK;12;CPBundleNameS;12;Aristo.blendK;14;BKLearnMoreURLS;28;http://cappuccino.org/aristoK;22;BKLearnMoreButtonTitleS;16;Aristo Home PageK;16;CPPrincipalClassS;13;CPApplicationK;29;CPBundleInfoDictionaryVersiond;1;6K;18;CPBundleIdentifierS;21;com.280n.blend.AristoK;15;CPBundleVersionf;3;0.1K;19;CPBundlePackageTypeS;4;BLNDK;20;CPBundleEnvironmentsA;S;7;BrowserS;8;CommonJSE;K;18;CPBundleExecutableS;15;Aristo.blend.sjK;36;CPBundleEnvironmentsWithImageSpritesA;S;7;BrowserE;K;13;CPKeyedThemesA;S;17;Aristo.keyedthemeS;21;Aristo-HUD.keyedthemeE;E; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-center.png new file mode 100644 index 0000000..6b3e348 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-center.png new file mode 100644 index 0000000..0f35e8c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-left.png new file mode 100644 index 0000000..fe9f274 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-right.png new file mode 100644 index 0000000..809339a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-highlighted-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-left.png new file mode 100644 index 0000000..6c10bf5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-right.png new file mode 100644 index 0000000..91439ae Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/button-bezel-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-disabled.png new file mode 100644 index 0000000..b7edfb0 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-highlighted.png new file mode 100644 index 0000000..31ee9fe Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow.png new file mode 100644 index 0000000..1cbaf2e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-down-arrow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-center.png new file mode 100644 index 0000000..31e38c4 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-left.png new file mode 100644 index 0000000..83079a4 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-right.png new file mode 100644 index 0000000..a720358 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-knob-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track-disabled.png new file mode 100644 index 0000000..d4d2e0f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track.png new file mode 100644 index 0000000..eec906c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-horizontal-track.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-disabled.png new file mode 100644 index 0000000..3b5d680 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-highlighted.png new file mode 100644 index 0000000..cc85f48 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow.png new file mode 100644 index 0000000..4182c26 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-left-arrow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-disabled.png new file mode 100644 index 0000000..d33dce7 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-highlighted.png new file mode 100644 index 0000000..f799e38 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow.png new file mode 100644 index 0000000..0c661a1 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-right-arrow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-disabled.png new file mode 100644 index 0000000..1eaeff8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-highlighted.png new file mode 100644 index 0000000..7cab7d6 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow.png new file mode 100644 index 0000000..fd4fae0 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-up-arrow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-bottom.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-bottom.png new file mode 100644 index 0000000..66d2ac6 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-bottom.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-center.png new file mode 100644 index 0000000..3076a5c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-top.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-top.png new file mode 100644 index 0000000..6d2e0f7 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-knob-top.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track-disabled.png new file mode 100644 index 0000000..6c4aec1 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track.png new file mode 100644 index 0000000..6c28719 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/HUD/scroller-vertical-track.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-center.png new file mode 100644 index 0000000..9d33b4a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-center.png new file mode 100644 index 0000000..310e738 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-left.png new file mode 100644 index 0000000..2ed1dc2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-right.png new file mode 100644 index 0000000..1a986e2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-disabled-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-center.png new file mode 100644 index 0000000..0d03b41 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-left.png new file mode 100644 index 0000000..1f0dfad Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-right.png new file mode 100644 index 0000000..ee90e94 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-highlighted-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-left.png new file mode 100644 index 0000000..43b127c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-right.png new file mode 100644 index 0000000..b7d5b55 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/button-bezel-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel-right.png new file mode 100644 index 0000000..c6b22ff Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel.png new file mode 100644 index 0000000..72f5b73 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/buttonbar-bezel.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-disabled.png new file mode 100644 index 0000000..9d59580 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-highlighted.png new file mode 100644 index 0000000..51e2604 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed-disabled.png new file mode 100644 index 0000000..2caf201 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed-highlighted.png new file mode 100644 index 0000000..661b066 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed.png new file mode 100644 index 0000000..d1c739a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-mixed.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected-disabled.png new file mode 100644 index 0000000..191c479 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected-highlighted.png new file mode 100644 index 0000000..dc2a5f0 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected.png new file mode 100644 index 0000000..e8fd934 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel-selected.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel.png new file mode 100644 index 0000000..1541ecb Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/check-box-bezel.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-center.png new file mode 100644 index 0000000..73f7c1e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-center.png new file mode 100644 index 0000000..20cb138 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-left.png new file mode 100644 index 0000000..03e468f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-right.png new file mode 100644 index 0000000..d3366ba Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-disabled-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-center.png new file mode 100644 index 0000000..1c064ca Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-left.png new file mode 100644 index 0000000..0b0ab90 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-right.png new file mode 100644 index 0000000..eaa4a61 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-highlighted-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-left.png new file mode 100644 index 0000000..fead580 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-right.png new file mode 100644 index 0000000..9e3a174 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/default-button-bezel-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-center.png new file mode 100644 index 0000000..67f2ec8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-center.png new file mode 100644 index 0000000..fa42138 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-left.png new file mode 100644 index 0000000..370897e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-right.png new file mode 100644 index 0000000..71c465d Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-disabled-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-left.png new file mode 100644 index 0000000..bf628c5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-right.png new file mode 100644 index 0000000..3255821 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/horizontal-track-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-disabled.png new file mode 100644 index 0000000..61e860a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-highlighted.png new file mode 100644 index 0000000..4154b0f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob.png new file mode 100644 index 0000000..9272760 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/knob.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows-pullsdown.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows-pullsdown.png new file mode 100644 index 0000000..4403da2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows-pullsdown.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows.png new file mode 100644 index 0000000..16abca2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-arrows.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right-pullsdown.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right-pullsdown.png new file mode 100644 index 0000000..78249fb Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right-pullsdown.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right.png new file mode 100644 index 0000000..49e583a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-disabled-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right-pullsdown.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right-pullsdown.png new file mode 100644 index 0000000..dde750f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right-pullsdown.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right.png new file mode 100644 index 0000000..cd89b2f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/popup-bezel-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-disabled.png new file mode 100644 index 0000000..6d9d9ba Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-highlighted.png new file mode 100644 index 0000000..6f16d48 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected-disabled.png new file mode 100644 index 0000000..20858b2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected-highlighted.png new file mode 100644 index 0000000..aa4fbc1 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected.png new file mode 100644 index 0000000..96fa554 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel-selected.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel.png new file mode 100644 index 0000000..90cf20c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/radio-bezel.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-disabled.png new file mode 100644 index 0000000..39aee81 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-highlighted.png new file mode 100644 index 0000000..c3f181d Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow.png new file mode 100644 index 0000000..a749f32 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-down-arrow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-center.png new file mode 100644 index 0000000..efb115e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-center.png new file mode 100644 index 0000000..7ae79b0 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-left.png new file mode 100644 index 0000000..1417e8c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-right.png new file mode 100644 index 0000000..ed2cd29 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-disabled-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-left.png new file mode 100644 index 0000000..29324f7 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-right.png new file mode 100644 index 0000000..66fb7a4 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-knob-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track-disabled.png new file mode 100644 index 0000000..efc26ba Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track.png new file mode 100644 index 0000000..43c9384 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-horizontal-track.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-disabled.png new file mode 100644 index 0000000..f56c4b5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-highlighted.png new file mode 100644 index 0000000..3c3c2b6 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow.png new file mode 100644 index 0000000..7176691 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-left-arrow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-disabled.png new file mode 100644 index 0000000..01430c2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-highlighted.png new file mode 100644 index 0000000..6eb90a2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow.png new file mode 100644 index 0000000..c3ac74e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-right-arrow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-disabled.png new file mode 100644 index 0000000..1d474d1 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-highlighted.png new file mode 100644 index 0000000..fe93632 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow.png new file mode 100644 index 0000000..bb09191 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-up-arrow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-bottom.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-bottom.png new file mode 100644 index 0000000..1724145 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-bottom.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-center.png new file mode 100644 index 0000000..bf06624 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-bottom.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-bottom.png new file mode 100644 index 0000000..1cb147b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-bottom.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-center.png new file mode 100644 index 0000000..2756a41 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-top.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-top.png new file mode 100644 index 0000000..6ca32cb Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-disabled-top.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-top.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-top.png new file mode 100644 index 0000000..14b19bf Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-knob-top.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track-disabled.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track-disabled.png new file mode 100644 index 0000000..ce00f97 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track-disabled.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track.png new file mode 100644 index 0000000..6cb8dbb Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/scroller-vertical-track.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-center.png new file mode 100644 index 0000000..f45b3fa Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-center.png new file mode 100644 index 0000000..489c02b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-divider.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-divider.png new file mode 100644 index 0000000..8db39c6 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-divider.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-left.png new file mode 100644 index 0000000..cb7c29f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-right.png new file mode 100644 index 0000000..8161109 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-disabled-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-divider.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-divider.png new file mode 100644 index 0000000..73048d7 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-divider.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-center.png new file mode 100644 index 0000000..15a88e7 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-center.png new file mode 100644 index 0000000..eb00afc Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-divider.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-divider.png new file mode 100644 index 0000000..84cde75 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-divider.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-left.png new file mode 100644 index 0000000..899b09c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-right.png new file mode 100644 index 0000000..a932e6a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-disabled-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-divider.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-divider.png new file mode 100644 index 0000000..497350b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-divider.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-left.png new file mode 100644 index 0000000..e7ec7cd Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-right.png new file mode 100644 index 0000000..0fab603 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-highlighted-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-left.png new file mode 100644 index 0000000..c287590 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-center.png new file mode 100644 index 0000000..5b7021c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-center.png new file mode 100644 index 0000000..f9f6a6e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-left.png new file mode 100644 index 0000000..aca1e6a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-right.png new file mode 100644 index 0000000..07b36cf Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-highlighted-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-left.png new file mode 100644 index 0000000..f293920 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-right.png new file mode 100644 index 0000000..f337117 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-pushed-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-right.png new file mode 100644 index 0000000..27898ba Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/segmented-control-bezel-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-bezel.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-bezel.png new file mode 100644 index 0000000..0025fc9 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-bezel.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-bezel.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-bezel.png new file mode 100644 index 0000000..7053d3f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-bezel.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-knob.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-knob.png new file mode 100644 index 0000000..f657e43 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-disabled-knob.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-knob.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-knob.png new file mode 100644 index 0000000..7d9fb3b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/slider-circular-knob.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/spinner.gif b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/spinner.gif new file mode 100644 index 0000000..06dbc2b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/spinner.gif differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-center.png new file mode 100644 index 0000000..2ffc73c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-center.png new file mode 100644 index 0000000..b5dad6f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-left.png new file mode 100644 index 0000000..b44bf2c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-right.png new file mode 100644 index 0000000..aeed868 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-focused-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-left.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-left.png new file mode 100644 index 0000000..c4d22bf Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-left.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-right.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-right.png new file mode 100644 index 0000000..8281342 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-rounded-right.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-0.png new file mode 100644 index 0000000..adb302c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-1.png new file mode 100644 index 0000000..e1444f4 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-2.png new file mode 100644 index 0000000..549bd1e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-3.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-3.png new file mode 100644 index 0000000..204fe57 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-3.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-4.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-4.png new file mode 100644 index 0000000..1f343f5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-4.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-5.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-5.png new file mode 100644 index 0000000..168ffa2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-5.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-6.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-6.png new file mode 100644 index 0000000..733370f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-6.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-7.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-7.png new file mode 100644 index 0000000..8b3c225 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-7.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-8.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-8.png new file mode 100644 index 0000000..06f50ab Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-8.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-0.png new file mode 100644 index 0000000..6cbc8fe Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-1.png new file mode 100644 index 0000000..5f88644 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-2.png new file mode 100644 index 0000000..348aa40 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-3.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-3.png new file mode 100644 index 0000000..f747470 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-3.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-4.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-4.png new file mode 100644 index 0000000..1f343f5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-4.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-5.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-5.png new file mode 100644 index 0000000..438c5b2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-5.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-6.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-6.png new file mode 100644 index 0000000..98b3c50 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-6.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-7.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-7.png new file mode 100644 index 0000000..f9e23aa Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-7.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-8.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-8.png new file mode 100644 index 0000000..c9148da Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/textfield-bezel-square-focused-8.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-bottom.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-bottom.png new file mode 100644 index 0000000..c43104a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-bottom.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-center.png new file mode 100644 index 0000000..13b8743 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-bottom.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-bottom.png new file mode 100644 index 0000000..5ff3530 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-bottom.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-center.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-center.png new file mode 100644 index 0000000..ca474fc Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-center.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-top.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-top.png new file mode 100644 index 0000000..9edaf4f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-disabled-top.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-top.png b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-top.png new file mode 100644 index 0000000..96fdefc Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/Aristo.blend/Resources/vertical-track-top.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/LICENSE b/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/LICENSE new file mode 100644 index 0000000..4fa7dc4 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/LICENSE @@ -0,0 +1,58 @@ +These graphics come from the Tango Desktop Project (http://tango.freedesktop.org/Tango_Desktop_Project). +They are released under the Creative Commons Attribution Share-Alike license, full text below. + + +(license available from CC here: http://creativecommons.org/licenses/by-sa/2.5/) + +License + +THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED. + +BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. + +1. Definitions + +"Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with a number of other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License. +"Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License. +"Licensor" means the individual or entity that offers the Work under the terms of this License. +"Original Author" means the individual or entity who created the Work. +"Work" means the copyrightable work of authorship offered under the terms of this License. +"You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation. +"License Elements" means the following high-level license attributes as selected by Licensor and indicated in the title of this License: Attribution, ShareAlike. +2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws. + +3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below: + +to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works; +to create and reproduce Derivative Works; +to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works; +to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works. +For the avoidance of doubt, where the work is a musical composition: + +Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or via a performance rights society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or public digital performance (e.g. webcast) of the Work. +Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights society or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions). +Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions). +The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved. + +4. Restrictions.The license granted in Section 3 above is expressly made subject to and limited by the following restrictions: + +You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by clause 4(c), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by clause 4(c), as requested. +You may distribute, publicly display, publicly perform, or publicly digitally perform a Derivative Work only under the terms of this License, a later version of this License with the same License Elements as this License, or a Creative Commons iCommons license that contains the same License Elements as this License (e.g. Attribution-ShareAlike 2.5 Japan). You must include a copy of, or the Uniform Resource Identifier for, this License or other license specified in the previous sentence with every copy or phonorecord of each Derivative Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Derivative Works that alter or restrict the terms of this License or the recipients' exercise of the rights granted hereunder, and You must keep intact all notices that refer to this License and to the disclaimer of warranties. You may not distribute, publicly display, publicly perform, or publicly digitally perform the Derivative Work with any technological measures that control access or use of the Work in a manner inconsistent with the terms of this License Agreement. The above applies to the Derivative Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Derivative Work itself to be made subject to the terms of this License. +If you distribute, publicly display, publicly perform, or publicly digitally perform the Work or any Derivative Works or Collective Works, You must keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). Such credit may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear where any other comparable authorship credit appears and in a manner at least as prominent as such other comparable authorship credit. +5. Representations, Warranties and Disclaimer + +UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + +6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +7. Termination + +This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works or Collective Works from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License. +Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above. +8. Miscellaneous + +Each time You distribute or publicly digitally perform the Work or a Collective Work, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License. +Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License. +If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable. +No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent. +This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You. diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-error.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-error.png new file mode 100644 index 0000000..aa4ae75 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-error.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-information.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-information.png new file mode 100644 index 0000000..cbaf6db Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-information.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-warning.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-warning.png new file mode 100644 index 0000000..47d84e4 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPAlert/dialog-warning.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/New.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/New.png new file mode 100644 index 0000000..058a6ca Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/New.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/NewHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/NewHighlighted.png new file mode 100644 index 0000000..6697edd Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/NewHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/Open.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/Open.png new file mode 100644 index 0000000..15c6cda Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/Open.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/OpenHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/OpenHighlighted.png new file mode 100644 index 0000000..17b5a2b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/OpenHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/Save.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/Save.png new file mode 100644 index 0000000..bdefaef Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/Save.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/SaveHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/SaveHighlighted.png new file mode 100644 index 0000000..cbba05f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPApplication/SaveHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/closedHandCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/closedHandCursor.cur new file mode 100644 index 0000000..eb9548b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/closedHandCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/contextualMenuCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/contextualMenuCursor.cur new file mode 100644 index 0000000..a85df37 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/contextualMenuCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/disappearingItemCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/disappearingItemCursor.cur new file mode 100644 index 0000000..e77aaea Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/disappearingItemCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/dragCopyCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/dragCopyCursor.cur new file mode 100644 index 0000000..63409fa Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/dragCopyCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/dragLinkCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/dragLinkCursor.cur new file mode 100644 index 0000000..5201724 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/dragLinkCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/openHandCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/openHandCursor.cur new file mode 100644 index 0000000..f589121 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/openHandCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeDownCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeDownCursor.cur new file mode 100644 index 0000000..f33cd37 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeDownCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeLeftCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeLeftCursor.cur new file mode 100644 index 0000000..d93171b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeLeftCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeRightCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeRightCursor.cur new file mode 100644 index 0000000..4b20f86 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeRightCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeUpCursor.cur b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeUpCursor.cur new file mode 100644 index 0000000..eb24ddb Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/resizeUpCursor.cur differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/test.html b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/test.html new file mode 100644 index 0000000..f6487b1 --- /dev/null +++ b/simple-tableview delegate/Frameworks/AppKit/Resources/CPCursor/test.html @@ -0,0 +1,18 @@ + + + + +
Test custom cursors with .cur images.
+
disappearingItemCursor
+
closedHandCursor
+
contextMenuCursor
+
dragCopyCursor
+
dragLinkCursor
+
openHandCursor
+
resizeDownCursor
+
resizeLeftCursor
+
resizeRightCursor
+
resizeUpCursor
+ + + diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanel.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanel.png new file mode 100644 index 0000000..85f94ee Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanel.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanelHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanelHighlighted.png new file mode 100644 index 0000000..72d0739 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImage/CPImageNameColorPanelHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomLeftShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomLeftShadow.png new file mode 100644 index 0000000..7b1d88f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomLeftShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomRightShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomRightShadow.png new file mode 100644 index 0000000..e9d60da Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomRightShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomShadow.png new file mode 100644 index 0000000..6500896 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewBottomShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewLeftShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewLeftShadow.png new file mode 100644 index 0000000..6fcbb96 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewLeftShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewRightShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewRightShadow.png new file mode 100644 index 0000000..7b93553 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewRightShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopLeftShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopLeftShadow.png new file mode 100644 index 0000000..7185727 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopLeftShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopRightShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopRightShadow.png new file mode 100644 index 0000000..e597c5e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopRightShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopShadow.png new file mode 100644 index 0000000..483e391 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPImageView/CPImageViewTopShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnState.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnState.png new file mode 100644 index 0000000..7ea275e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnState.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png new file mode 100644 index 0000000..78f90ed Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPMenuItem/CPMenuItemOnStateHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png new file mode 100644 index 0000000..eb8ef77 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png new file mode 100644 index 0000000..31bf729 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png new file mode 100644 index 0000000..1a8da63 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarBarRegular2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png new file mode 100644 index 0000000..499de40 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png new file mode 100644 index 0000000..f49b3f3 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png new file mode 100644 index 0000000..81691a3 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBarHUDBarRegular2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png new file mode 100644 index 0000000..032dfca Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png new file mode 100644 index 0000000..f3e7717 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png new file mode 100644 index 0000000..075026c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderBarRegular2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png new file mode 100644 index 0000000..f27ba9c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png new file mode 100644 index 0000000..e4d1fc5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png new file mode 100644 index 0000000..b6d88f1 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorBezelBorderHUDBarRegular2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif new file mode 100644 index 0000000..0d2567c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPProgressIndicator/CPProgressIndicatorSpinningStyleRegular.gif differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancel.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancel.png new file mode 100644 index 0000000..fc32eab Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancel.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancelPressed.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancelPressed.png new file mode 100644 index 0000000..e4fc62e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldCancelPressed.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldFind.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldFind.png new file mode 100644 index 0000000..0dcd0cd Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldFind.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldSearch.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldSearch.png new file mode 100644 index 0000000..77434b8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSearchField/CPSearchFieldSearch.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottom.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottom.png new file mode 100644 index 0000000..1739840 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottom.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png new file mode 100644 index 0000000..0fa178f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomRight.png new file mode 100644 index 0000000..8015c51 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyBottomRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyLeft.png new file mode 100644 index 0000000..2ef546f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyRight.png new file mode 100644 index 0000000..aec43cd Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTop.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTop.png new file mode 100644 index 0000000..039ea08 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTop.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopLeft.png new file mode 100644 index 0000000..7fedc4e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopRight.png new file mode 100644 index 0000000..4914a6a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewHeavyTopRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottom.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottom.png new file mode 100644 index 0000000..6500896 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottom.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomLeft.png new file mode 100644 index 0000000..7b1d88f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomRight.png new file mode 100644 index 0000000..e9d60da Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightBottomRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightLeft.png new file mode 100644 index 0000000..9e2c8e3 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightRight.png new file mode 100644 index 0000000..7b93553 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTop.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTop.png new file mode 100644 index 0000000..e930dc7 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTop.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopLeft.png new file mode 100644 index 0000000..7185727 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopRight.png new file mode 100644 index 0000000..e597c5e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPShadowView/CPShadowViewLightTopRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewHorizontal.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewHorizontal.png new file mode 100644 index 0000000..6a016f6 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewHorizontal.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewVertical.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewVertical.png new file mode 100644 index 0000000..ed3225a Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPSplitView/CPSplitViewVertical.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBackgroundCenter.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBackgroundCenter.png new file mode 100644 index 0000000..f442c81 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBackgroundCenter.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorder.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorder.png new file mode 100644 index 0000000..722ba60 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorder.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderLeft.png new file mode 100644 index 0000000..9ea5bc2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderRight.png new file mode 100644 index 0000000..0072a22 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/CPTabViewBezelBorderRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundCenter.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundCenter.png new file mode 100644 index 0000000..0368070 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundCenter.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundLeft.png new file mode 100644 index 0000000..2536791 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundRight.png new file mode 100644 index 0000000..1878fd8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelBackgroundRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedCenter.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedCenter.png new file mode 100644 index 0000000..0934e18 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedCenter.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedLeft.png new file mode 100644 index 0000000..dec4cb5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedRight.png new file mode 100644 index 0000000..5180605 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelSelectedRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewCenter.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewCenter.png new file mode 100644 index 0000000..e037d82 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewCenter.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewLeft.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewLeft.png new file mode 100644 index 0000000..9ac0cb8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewLeft.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewRight.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewRight.png new file mode 100644 index 0000000..fa36e51 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPTabView/_CPTabLabelsViewRight.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator0.png new file mode 100644 index 0000000..a525ea3 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator1.png new file mode 100644 index 0000000..d3e6f1f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator2.png new file mode 100644 index 0000000..9fcb695 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPToolbarItem/CPToolbarItemSeparator2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow0.png new file mode 100644 index 0000000..0c18720 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow1.png new file mode 100644 index 0000000..109156c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow2.png new file mode 100644 index 0000000..e8bc754 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow3.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow3.png new file mode 100644 index 0000000..ca07535 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow3.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow4.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow4.png new file mode 100644 index 0000000..c8ebdd5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow4.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow5.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow5.png new file mode 100644 index 0000000..239b403 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow5.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow6.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow6.png new file mode 100644 index 0000000..624d998 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow6.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow7.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow7.png new file mode 100644 index 0000000..80b9a75 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow7.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow8.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow8.png new file mode 100644 index 0000000..eb82b4b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/CPWindowShadow8.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground0.png new file mode 100644 index 0000000..f43a3aa Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground1.png new file mode 100644 index 0000000..ee4dba5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground2.png new file mode 100644 index 0000000..76f41a6 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground3.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground3.png new file mode 100644 index 0000000..a38e4da Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground3.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground4.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground4.png new file mode 100644 index 0000000..4d450f5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground4.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground5.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground5.png new file mode 100644 index 0000000..b49ebef Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground5.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground6.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground6.png new file mode 100644 index 0000000..a2cebe4 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground6.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground7.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground7.png new file mode 100644 index 0000000..d1b3faf Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground7.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground8.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground8.png new file mode 100644 index 0000000..60e25e8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/HUD/CPWindowHUDBackground8.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButton.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButton.png new file mode 100644 index 0000000..cd922a5 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButton.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png new file mode 100644 index 0000000..e2cf52e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png new file mode 100644 index 0000000..9bd3566 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsaved.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png new file mode 100644 index 0000000..a84804f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardCloseButtonUnsavedHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png new file mode 100644 index 0000000..403ea85 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButton.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png new file mode 100644 index 0000000..77f0a58 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMaximizeButtonHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png new file mode 100644 index 0000000..9b462b2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButton.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png new file mode 100644 index 0000000..d4136ec Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardMinimizeButtonHighlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop0.png new file mode 100644 index 0000000..1b0bfd7 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop1.png new file mode 100644 index 0000000..05e7096 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop2.png new file mode 100644 index 0000000..f0bafb8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindow/Standard/CPWindowStandardTop2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindowResizeIndicator.png b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindowResizeIndicator.png new file mode 100644 index 0000000..bac884d Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/CPWindowResizeIndicator.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/FIXME_ImageShadow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/FIXME_ImageShadow.png new file mode 100644 index 0000000..2b3e46c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/FIXME_ImageShadow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/GenericFile.png b/simple-tableview delegate/Frameworks/AppKit/Resources/GenericFile.png new file mode 100644 index 0000000..f6147a1 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/GenericFile.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/HUDTheme/WindowClose.png b/simple-tableview delegate/Frameworks/AppKit/Resources/HUDTheme/WindowClose.png new file mode 100644 index 0000000..4d3d405 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/HUDTheme/WindowClose.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/HUDTheme/WindowCloseActive.png b/simple-tableview delegate/Frameworks/AppKit/Resources/HUDTheme/WindowCloseActive.png new file mode 100644 index 0000000..f422823 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/HUDTheme/WindowCloseActive.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png new file mode 100644 index 0000000..3150ab9 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackground.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png new file mode 100644 index 0000000..92307f8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuBarWindow/_CPMenuBarWindowBackgroundSelected.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow1.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow1.png new file mode 100644 index 0000000..9055cb9 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow1.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow3.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow3.png new file mode 100644 index 0000000..1ec560b Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow3.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow4.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow4.png new file mode 100644 index 0000000..0d46be3 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow4.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow5.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow5.png new file mode 100644 index 0000000..c70019c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow5.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow7.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow7.png new file mode 100644 index 0000000..82c60c2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindow7.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png new file mode 100644 index 0000000..6a093be Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreAbove.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png new file mode 100644 index 0000000..cac3e0e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowMoreBelow.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded0.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded0.png new file mode 100644 index 0000000..34841cb Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded0.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded2.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded2.png new file mode 100644 index 0000000..12342f6 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded2.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded6.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded6.png new file mode 100644 index 0000000..94eae6f Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded6.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded8.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded8.png new file mode 100644 index 0000000..e2935bb Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPMenuWindow/_CPMenuWindowRounded8.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewBackground.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewBackground.png new file mode 100644 index 0000000..25cfcc4 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewBackground.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png new file mode 100644 index 0000000..17e951c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsAlternateImage.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png new file mode 100644 index 0000000..6b19961 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPToolbarView/_CPToolbarViewExtraItemsImage.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/_CPWindowView/_CPWindowViewResizeIndicator.png b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPWindowView/_CPWindowViewResizeIndicator.png new file mode 100644 index 0000000..bac884d Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/_CPWindowView/_CPWindowViewResizeIndicator.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/brightness_bar.png b/simple-tableview delegate/Frameworks/AppKit/Resources/brightness_bar.png new file mode 100644 index 0000000..3848c2c Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/brightness_bar.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/color_well.png b/simple-tableview delegate/Frameworks/AppKit/Resources/color_well.png new file mode 100644 index 0000000..0701699 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/color_well.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/slider_button.png b/simple-tableview delegate/Frameworks/AppKit/Resources/slider_button.png new file mode 100644 index 0000000..602d7db Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/slider_button.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/slider_button_h.png b/simple-tableview delegate/Frameworks/AppKit/Resources/slider_button_h.png new file mode 100644 index 0000000..1f493e3 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/slider_button_h.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/standardApplicationIcon.png b/simple-tableview delegate/Frameworks/AppKit/Resources/standardApplicationIcon.png new file mode 100644 index 0000000..4611d45 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/standardApplicationIcon.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-ascending.png b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-ascending.png new file mode 100644 index 0000000..3a4fa66 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-ascending.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-descending.png b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-descending.png new file mode 100644 index 0000000..9365254 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-descending.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-highlighted-pressed.png b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-highlighted-pressed.png new file mode 100644 index 0000000..b0a0ff8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-highlighted-pressed.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-highlighted.png b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-highlighted.png new file mode 100644 index 0000000..6596e48 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-highlighted.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-pressed.png b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-pressed.png new file mode 100644 index 0000000..e032e53 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview-pressed.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview.png b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview.png new file mode 100644 index 0000000..357bbc8 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/tableview-headerview.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/wheel.png b/simple-tableview delegate/Frameworks/AppKit/Resources/wheel.png new file mode 100644 index 0000000..81d06b2 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/wheel.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_black.png b/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_black.png new file mode 100644 index 0000000..a5f4259 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_black.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_button.png b/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_button.png new file mode 100644 index 0000000..8cca49e Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_button.png differ diff --git a/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_button_h.png b/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_button_h.png new file mode 100644 index 0000000..f580569 Binary files /dev/null and b/simple-tableview delegate/Frameworks/AppKit/Resources/wheel_button_h.png differ diff --git a/simple-tableview delegate/Frameworks/Foundation/Info.plist b/simple-tableview delegate/Frameworks/Foundation/Info.plist new file mode 100644 index 0000000..7d1601e --- /dev/null +++ b/simple-tableview delegate/Frameworks/Foundation/Info.plist @@ -0,0 +1 @@ +280NPLIST;1.0;D;K;18;CPBundleIdentifierS;19;com.280n.FoundationK;29;CPBundleInfoDictionaryVersiond;1;6K;12;CPBundleNameS;10;FoundationK;19;CPBundlePackageTypeS;4;FMWKK;15;CPBundleVersionS;5;0.8.1K;20;CPBundleEnvironmentsA;S;4;ObjJE;K;18;CPBundleExecutableS;13;Foundation.sjK;36;CPBundleEnvironmentsWithImageSpritesA;E;E; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/Foundation/LICENSE b/simple-tableview delegate/Frameworks/Foundation/LICENSE new file mode 100644 index 0000000..9ef3d70 --- /dev/null +++ b/simple-tableview delegate/Frameworks/Foundation/LICENSE @@ -0,0 +1,503 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + diff --git a/simple-tableview delegate/Frameworks/Foundation/ObjJ.environment/Foundation.sj b/simple-tableview delegate/Frameworks/Foundation/ObjJ.environment/Foundation.sj new file mode 100644 index 0000000..1208bf8 --- /dev/null +++ b/simple-tableview delegate/Frameworks/Foundation/ObjJ.environment/Foundation.sj @@ -0,0 +1,7506 @@ +@STATIC;1.0;p;13;CPArray+KVO.jt;12439;@STATIC;1.0;i;9;CPArray.ji;8;CPNull.jt;12394; +objj_executeFile("CPArray.j",YES); +objj_executeFile("CPNull.j",YES); +var _1=objj_getClass("CPObject"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPObject\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("mutableArrayValueForKey:"),function(_3,_4,_5){ +with(_3){ +return objj_msgSend(objj_msgSend(_CPKVCArray,"alloc"),"initWithKey:forProxyObject:",_5,_3); +} +}),new objj_method(sel_getUid("mutableArrayValueForKeyPath:"),function(_6,_7,_8){ +with(_6){ +var _9=_8.indexOf("."); +if(_9<0){ +return objj_msgSend(_6,"mutableArrayValueForKey:",_8); +} +var _a=_8.substring(0,_9),_b=_8.substring(_9+1); +return objj_msgSend(objj_msgSend(_6,"valueForKeyPath:",_a),"valueForKeyPath:",_b); +} +})]); +var _1=objj_allocateClassPair(CPArray,"_CPKVCArray"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_proxyObject"),new objj_ivar("_key"),new objj_ivar("_insertSEL"),new objj_ivar("_insert"),new objj_ivar("_removeSEL"),new objj_ivar("_remove"),new objj_ivar("_replaceSEL"),new objj_ivar("_replace"),new objj_ivar("_insertManySEL"),new objj_ivar("_insertMany"),new objj_ivar("_removeManySEL"),new objj_ivar("_removeMany"),new objj_ivar("_replaceManySEL"),new objj_ivar("_replaceMany"),new objj_ivar("_objectAtIndexSEL"),new objj_ivar("_objectAtIndex"),new objj_ivar("_countSEL"),new objj_ivar("_count"),new objj_ivar("_accessSEL"),new objj_ivar("_access"),new objj_ivar("_setSEL"),new objj_ivar("_set")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithKey:forProxyObject:"),function(_c,_d,_e,_f){ +with(_c){ +_c=objj_msgSendSuper({receiver:_c,super_class:objj_getClass("_CPKVCArray").super_class},"init"); +_key=_e; +_proxyObject=_f; +var _10=_key.charAt(0).toUpperCase()+_key.substring(1); +_insertSEL=sel_getName("insertObject:in"+_10+"AtIndex:"); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_insertSEL)){ +_insert=objj_msgSend(_proxyObject,"methodForSelector:",_insertSEL); +} +_removeSEL=sel_getName("removeObjectFrom"+_10+"AtIndex:"); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_removeSEL)){ +_remove=objj_msgSend(_proxyObject,"methodForSelector:",_removeSEL); +} +_replaceSEL=sel_getName("replaceObjectFrom"+_10+"AtIndex:withObject:"); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_replaceSEL)){ +_replace=objj_msgSend(_proxyObject,"methodForSelector:",_replaceSEL); +} +_insertManySEL=sel_getName("insertObjects:in"+_10+"AtIndexes:"); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_insertManySEL)){ +_insert=objj_msgSend(_proxyObject,"methodForSelector:",_insertManySEL); +} +_removeManySEL=sel_getName("removeObjectsFrom"+_10+"AtIndexes:"); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_removeManySEL)){ +_remove=objj_msgSend(_proxyObject,"methodForSelector:",_removeManySEL); +} +_replaceManySEL=sel_getName("replaceObjectsFrom"+_10+"AtIndexes:withObjects:"); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_replaceManySEL)){ +_replace=objj_msgSend(_proxyObject,"methodForSelector:",_replaceManySEL); +} +_objectAtIndexSEL=sel_getName("objectIn"+_10+"AtIndex:"); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_objectAtIndexSEL)){ +_objectAtIndex=objj_msgSend(_proxyObject,"methodForSelector:",_objectAtIndexSEL); +} +_countSEL=sel_getName("countOf"+_10); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_countSEL)){ +_count=objj_msgSend(_proxyObject,"methodForSelector:",_countSEL); +} +_accessSEL=sel_getName(_key); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_accessSEL)){ +_access=objj_msgSend(_proxyObject,"methodForSelector:",_accessSEL); +} +_setSEL=sel_getName("set"+_10+":"); +if(objj_msgSend(_proxyObject,"respondsToSelector:",_setSEL)){ +_set=objj_msgSend(_proxyObject,"methodForSelector:",_setSEL); +} +return _c; +} +}),new objj_method(sel_getUid("copy"),function(_11,_12){ +with(_11){ +var _13=[],_14=objj_msgSend(_11,"count"); +for(var i=0;i<_14;i++){ +objj_msgSend(_13,"addObject:",objj_msgSend(_11,"objectAtIndex:",i)); +} +return _13; +} +}),new objj_method(sel_getUid("_representedObject"),function(_15,_16){ +with(_15){ +if(_access){ +return _access(_proxyObject,_accessSEL); +} +return objj_msgSend(_proxyObject,"valueForKey:",_key); +} +}),new objj_method(sel_getUid("_setRepresentedObject:"),function(_17,_18,_19){ +with(_17){ +if(_set){ +return _set(_proxyObject,_setSEL,_19); +} +objj_msgSend(_proxyObject,"setValue:forKey:",_19,_key); +} +}),new objj_method(sel_getUid("count"),function(_1a,_1b){ +with(_1a){ +if(_count){ +return _count(_proxyObject,_countSEL); +} +return objj_msgSend(objj_msgSend(_1a,"_representedObject"),"count"); +} +}),new objj_method(sel_getUid("indexOfObject:inRange:"),function(_1c,_1d,_1e,_1f){ +with(_1c){ +var _20=_1f.location,_21=_1f.length,_22=!!_1e.isa; +for(;_20<_21;++_20){ +var _23=objj_msgSend(_1c,"objectAtIndex:",_20); +if(_1e===_23||_22&&!!_23.isa&&objj_msgSend(_1e,"isEqual:",_23)){ +return _20; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfObject:"),function(_24,_25,_26){ +with(_24){ +return objj_msgSend(_24,"indexOfObject:inRange:",_26,CPMakeRange(0,objj_msgSend(_24,"count"))); +} +}),new objj_method(sel_getUid("indexOfObjectIdenticalTo:inRange:"),function(_27,_28,_29,_2a){ +with(_27){ +var _2b=_2a.location,_2c=_2a.length; +for(;_2b<_2c;++_2b){ +if(_29===objj_msgSend(_27,"objectAtIndex:",_2b)){ +return _2b; +} +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexOfObjectIdenticalTo:"),function(_2d,_2e,_2f){ +with(_2d){ +return objj_msgSend(_2d,"indexOfObjectIdenticalTo:inRange:",_2f,CPMakeRange(0,objj_msgSend(_2d,"count"))); +} +}),new objj_method(sel_getUid("objectAtIndex:"),function(_30,_31,_32){ +with(_30){ +if(_objectAtIndex){ +return _objectAtIndex(_proxyObject,_objectAtIndexSEL,_32); +} +return objj_msgSend(objj_msgSend(_30,"_representedObject"),"objectAtIndex:",_32); +} +}),new objj_method(sel_getUid("addObject:"),function(_33,_34,_35){ +with(_33){ +if(_insert){ +return _insert(_proxyObject,_insertSEL,_35,objj_msgSend(_33,"count")); +} +var _36=objj_msgSend(objj_msgSend(_33,"_representedObject"),"copy"); +objj_msgSend(_36,"addObject:",_35); +objj_msgSend(_33,"_setRepresentedObject:",_36); +} +}),new objj_method(sel_getUid("addObjectsFromArray:"),function(_37,_38,_39){ +with(_37){ +var _3a=0,_3b=objj_msgSend(_39,"count"); +for(;_3a<_3b;++_3a){ +objj_msgSend(_37,"addObject:",objj_msgSend(_39,"objectAtIndex:",_3a)); +} +} +}),new objj_method(sel_getUid("insertObject:atIndex:"),function(_3c,_3d,_3e,_3f){ +with(_3c){ +if(_insert){ +return _insert(_proxyObject,_insertSEL,_3e,_3f); +} +var _40=objj_msgSend(objj_msgSend(_3c,"_representedObject"),"copy"); +objj_msgSend(_40,"insertObject:atIndex:",_3e,_3f); +objj_msgSend(_3c,"_setRepresentedObject:",_40); +} +}),new objj_method(sel_getUid("removeLastObject"),function(_41,_42){ +with(_41){ +if(_remove){ +return _remove(_proxyObject,_removeSEL,objj_msgSend(_41,"count")-1); +} +var _43=objj_msgSend(objj_msgSend(_41,"_representedObject"),"copy"); +objj_msgSend(_43,"removeLastObject"); +objj_msgSend(_41,"_setRepresentedObject:",_43); +} +}),new objj_method(sel_getUid("removeObjectAtIndex:"),function(_44,_45,_46){ +with(_44){ +if(_remove){ +return _remove(_proxyObject,_removeSEL,_46); +} +var _47=objj_msgSend(objj_msgSend(_44,"_representedObject"),"copy"); +objj_msgSend(_47,"removeObjectAtIndex:",_46); +objj_msgSend(_44,"_setRepresentedObject:",_47); +} +}),new objj_method(sel_getUid("replaceObjectAtIndex:withObject:"),function(_48,_49,_4a,_4b){ +with(_48){ +if(_replace){ +return _replace(_proxyObject,_replaceSEL,_4a,_4b); +} +var _4c=objj_msgSend(objj_msgSend(_48,"_representedObject"),"copy"); +objj_msgSend(_4c,"replaceObjectAtIndex:withObject:",_4a,_4b); +objj_msgSend(_48,"_setRepresentedObject:",_4c); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("alloc"),function(_4d,_4e){ +with(_4d){ +var _4f=[]; +_4f.isa=_4d; +var _50=class_copyIvarList(_4d),_51=_50.length; +while(_51--){ +_4f[ivar_getName(_50[_51])]=nil; +} +return _4f; +} +})]); +var _1=objj_getClass("CPArray"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPArray\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("valueForKey:"),function(_52,_53,_54){ +with(_52){ +if(_54.indexOf("@")===0){ +if(_54.indexOf(".")!==-1){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"called valueForKey: on an array with a complex key ("+_54+"). use valueForKeyPath:"); +} +if(_54=="@count"){ +return length; +} +return nil; +}else{ +var _55=[],_56=objj_msgSend(_52,"objectEnumerator"),_57; +while((_57=objj_msgSend(_56,"nextObject"))!==nil){ +var _58=objj_msgSend(_57,"valueForKey:",_54); +if(_58===nil||_58===undefined){ +_58=objj_msgSend(CPNull,"null"); +} +_55.push(_58); +} +return _55; +} +} +}),new objj_method(sel_getUid("valueForKeyPath:"),function(_59,_5a,_5b){ +with(_59){ +if(_5b.indexOf("@")===0){ +var _5c=_5b.indexOf("."),_5d,_5e; +if(_5c!==-1){ +_5d=_5b.substring(1,_5c); +_5e=_5b.substring(_5c+1); +}else{ +_5d=_5b.substring(1); +} +if(_5f[_5d]){ +return _5f[_5d](_59,_5a,_5e); +} +return nil; +}else{ +var _60=[],_61=objj_msgSend(_59,"objectEnumerator"),_62; +while((_62=objj_msgSend(_61,"nextObject"))!==nil){ +var _63=objj_msgSend(_62,"valueForKeyPath:",_5b); +if(_63===nil||_63===undefined){ +_63=objj_msgSend(CPNull,"null"); +} +_60.push(_63); +} +return _60; +} +} +}),new objj_method(sel_getUid("setValue:forKey:"),function(_64,_65,_66,_67){ +with(_64){ +var _68=objj_msgSend(_64,"objectEnumerator"),_69; +while(_69=objj_msgSend(_68,"nextObject")){ +objj_msgSend(_69,"setValue:forKey:",_66,_67); +} +} +}),new objj_method(sel_getUid("setValue:forKeyPath:"),function(_6a,_6b,_6c,_6d){ +with(_6a){ +var _6e=objj_msgSend(_6a,"objectEnumerator"),_6f; +while(_6f=objj_msgSend(_6e,"nextObject")){ +objj_msgSend(_6f,"setValue:forKeyPath:",_6c,_6d); +} +} +})]); +var _5f=[]; +var _70,_71,_72,_73,_74; +_5f["avg"]=_70=function(_75,_76,_77){ +var _78=objj_msgSend(_75,"valueForKeyPath:",_77),_79=objj_msgSend(_78,"count"),_7a=_79; +average=0; +if(!_79){ +return 0; +} +while(_7a--){ +average+=objj_msgSend(_78[_7a],"doubleValue"); +} +return average/_79; +}; +_5f["max"]=_71=function(_7b,_7c,_7d){ +var _7e=objj_msgSend(_7b,"valueForKeyPath:",_7d),_7f=objj_msgSend(_7e,"count")-1,max=objj_msgSend(_7e,"lastObject"); +while(_7f--){ +var _80=_7e[_7f]; +if(objj_msgSend(max,"compare:",_80)<0){ +max=_80; +} +} +return max; +}; +_5f["min"]=_72=function(_81,_82,_83){ +var _84=objj_msgSend(_81,"valueForKeyPath:",_83),_85=objj_msgSend(_84,"count")-1,min=objj_msgSend(_84,"lastObject"); +while(_85--){ +var _86=_84[_85]; +if(objj_msgSend(min,"compare:",_86)>0){ +min=_86; +} +} +return min; +}; +_5f["count"]=_73=function(_87,_88,_89){ +return objj_msgSend(_87,"count"); +}; +_5f["sum"]=_74=function(_8a,_8b,_8c){ +var _8d=objj_msgSend(_8a,"valueForKeyPath:",_8c),_8e=objj_msgSend(_8d,"count"),sum=0; +while(_8e--){ +sum+=objj_msgSend(_8d[_8e],"doubleValue"); +} +return sum; +}; +var _1=objj_getClass("CPArray"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPArray\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("addObserver:toObjectsAtIndexes:forKeyPath:options:context:"),function(_8f,_90,_91,_92,_93,_94,_95){ +with(_8f){ +var _96=objj_msgSend(_92,"firstIndex"); +while(_96>=0){ +objj_msgSend(_8f[_96],"addObserver:forKeyPath:options:context:",_91,_93,_94,_95); +_96=objj_msgSend(_92,"indexGreaterThanIndex:",_96); +} +} +}),new objj_method(sel_getUid("removeObserver:fromObjectsAtIndexes:forKeyPath:"),function(_97,_98,_99,_9a,_9b){ +with(_97){ +var _9c=objj_msgSend(_9a,"firstIndex"); +while(_9c>=0){ +objj_msgSend(_97[_9c],"removeObserver:forKeyPath:",_99,_9b); +_9c=objj_msgSend(_9a,"indexGreaterThanIndex:",_9c); +} +} +}),new objj_method(sel_getUid("addObserver:forKeyPath:options:context:"),function(_9d,_9e,_9f,_a0,_a1,_a2){ +with(_9d){ +if(objj_msgSend(isa,"instanceMethodForSelector:",_9e)===objj_msgSend(CPArray,"instanceMethodForSelector:",_9e)){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Unsupported method on CPArray"); +}else{ +objj_msgSendSuper({receiver:_9d,super_class:objj_getClass("CPArray").super_class},"addObserver:forKeyPath:options:context:",_9f,_a0,_a1,_a2); +} +} +}),new objj_method(sel_getUid("removeObserver:forKeyPath:"),function(_a3,_a4,_a5,_a6){ +with(_a3){ +if(objj_msgSend(isa,"instanceMethodForSelector:",_a4)===objj_msgSend(CPArray,"instanceMethodForSelector:",_a4)){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Unsupported method on CPArray"); +}else{ +objj_msgSendSuper({receiver:_a3,super_class:objj_getClass("CPArray").super_class},"removeObserver:forKeyPath:",_a5,_a6); +} +} +})]); +p;9;CPArray.jt;18306;@STATIC;1.0;i;10;CPObject.ji;9;CPRange.ji;14;CPEnumerator.ji;18;CPSortDescriptor.ji;13;CPException.jt;18198; +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPRange.j",YES); +objj_executeFile("CPEnumerator.j",YES); +objj_executeFile("CPSortDescriptor.j",YES); +objj_executeFile("CPException.j",YES); +var _1=objj_allocateClassPair(CPEnumerator,"_CPArrayEnumerator"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_array"),new objj_ivar("_index")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithArray:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPArrayEnumerator").super_class},"init"); +if(_3){ +_array=_5; +_index=-1; +} +return _3; +} +}),new objj_method(sel_getUid("nextObject"),function(_6,_7){ +with(_6){ +if(++_index>=objj_msgSend(_array,"count")){ +return nil; +} +return objj_msgSend(_array,"objectAtIndex:",_index); +} +})]); +var _1=objj_allocateClassPair(CPEnumerator,"_CPReverseArrayEnumerator"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_array"),new objj_ivar("_index")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithArray:"),function(_8,_9,_a){ +with(_8){ +_8=objj_msgSendSuper({receiver:_8,super_class:objj_getClass("_CPReverseArrayEnumerator").super_class},"init"); +if(_8){ +_array=_a; +_index=objj_msgSend(_array,"count"); +} +return _8; +} +}),new objj_method(sel_getUid("nextObject"),function(_b,_c){ +with(_b){ +if(--_index<0){ +return nil; +} +return objj_msgSend(_array,"objectAtIndex:",_index); +} +})]); +var _1=objj_allocateClassPair(CPObject,"CPArray"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_d,_e){ +with(_d){ +return _d; +} +}),new objj_method(sel_getUid("initWithArray:"),function(_f,_10,_11){ +with(_f){ +_f=objj_msgSendSuper({receiver:_f,super_class:objj_getClass("CPArray").super_class},"init"); +if(_f){ +objj_msgSend(_f,"setArray:",_11); +} +return _f; +} +}),new objj_method(sel_getUid("initWithArray:copyItems:"),function(_12,_13,_14,_15){ +with(_12){ +if(!_15){ +return objj_msgSend(_12,"initWithArray:",_14); +} +_12=objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPArray").super_class},"init"); +if(_12){ +var _16=0,_17=objj_msgSend(_14,"count"); +for(;_16<_17;++_16){ +if(_14[_16].isa){ +_12[_16]=objj_msgSend(_14[_16],"copy"); +}else{ +_12[_16]=_14; +} +} +} +return _12; +} +}),new objj_method(sel_getUid("initWithObjects:"),function(_18,_19,_1a){ +with(_18){ +var i=2,_1b; +for(;i0){ +_47=mid+1; +}else{ +if(c<0){ +_48=mid-1; +}else{ +while(mid=length||_54<0){ +objj_msgSend(CPException,"raise:reason:",CPRangeException,"index ("+_54+") beyond bounds ("+length+")"); +} +return _52[_54]; +} +}),new objj_method(sel_getUid("objectsAtIndexes:"),function(_55,_56,_57){ +with(_55){ +var _58=CPNotFound,_59=[]; +while((_58=objj_msgSend(_57,"indexGreaterThanIndex:",_58))!==CPNotFound){ +objj_msgSend(_59,"addObject:",objj_msgSend(_55,"objectAtIndex:",_58)); +} +return _59; +} +}),new objj_method(sel_getUid("objectEnumerator"),function(_5a,_5b){ +with(_5a){ +return objj_msgSend(objj_msgSend(_CPArrayEnumerator,"alloc"),"initWithArray:",_5a); +} +}),new objj_method(sel_getUid("reverseObjectEnumerator"),function(_5c,_5d){ +with(_5c){ +return objj_msgSend(objj_msgSend(_CPReverseArrayEnumerator,"alloc"),"initWithArray:",_5c); +} +}),new objj_method(sel_getUid("makeObjectsPerformSelector:"),function(_5e,_5f,_60){ +with(_5e){ +if(!_60){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"makeObjectsPerformSelector: 'aSelector' can't be nil"); +} +var _61=0,_62=length; +for(;_61<_62;++_61){ +objj_msgSend(_5e[_61],_60); +} +} +}),new objj_method(sel_getUid("makeObjectsPerformSelector:withObject:"),function(_63,_64,_65,_66){ +with(_63){ +if(!_65){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"makeObjectsPerformSelector:withObject 'aSelector' can't be nil"); +} +var _67=0,_68=length; +for(;_67<_68;++_67){ +objj_msgSend(_63[_67],_65,_66); +} +} +}),new objj_method(sel_getUid("makeObjectsPerformSelector:withObjects:"),function(_69,_6a,_6b,_6c){ +with(_69){ +if(!_6b){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"makeObjectsPerformSelector:withObjects: 'aSelector' can't be nil"); +} +var _6d=0,_6e=length,_6f=[nil,_6b].concat(_6c||[]); +for(;_6d<_6e;++_6d){ +_6f[0]=_69[_6d]; +objj_msgSend.apply(this,_6f); +} +} +}),new objj_method(sel_getUid("firstObjectCommonWithArray:"),function(_70,_71,_72){ +with(_70){ +if(!objj_msgSend(_72,"count")||!objj_msgSend(_70,"count")){ +return nil; +} +var i=0,_73=objj_msgSend(_70,"count"); +for(;i<_73;++i){ +if(objj_msgSend(_72,"containsObject:",_70[i])){ +return _70[i]; +} +} +return nil; +} +}),new objj_method(sel_getUid("isEqualToArray:"),function(_74,_75,_76){ +with(_74){ +if(_74===_76){ +return YES; +} +if(length!=_76.length){ +return NO; +} +var _77=0,_78=objj_msgSend(_74,"count"); +for(;_77<_78;++_77){ +var lhs=_74[_77],rhs=_76[_77]; +if(lhs!==rhs&&(lhs&&!lhs.isa||rhs&&!rhs.isa||!objj_msgSend(lhs,"isEqual:",rhs))){ +return NO; +} +} +return YES; +} +}),new objj_method(sel_getUid("isEqual:"),function(_79,_7a,_7b){ +with(_79){ +if(_79===_7b){ +return YES; +} +if(!objj_msgSend(_7b,"isKindOfClass:",objj_msgSend(CPArray,"class"))){ +return NO; +} +return objj_msgSend(_79,"isEqualToArray:",_7b); +} +}),new objj_method(sel_getUid("arrayByAddingObject:"),function(_7c,_7d,_7e){ +with(_7c){ +if(_7e===nil||_7e===undefined){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"arrayByAddingObject: object can't be nil"); +} +var _7f=objj_msgSend(_7c,"copy"); +_7f.push(_7e); +return _7f; +} +}),new objj_method(sel_getUid("arrayByAddingObjectsFromArray:"),function(_80,_81,_82){ +with(_80){ +return slice(0).concat(_82); +} +}),new objj_method(sel_getUid("subarrayWithRange:"),function(_83,_84,_85){ +with(_83){ +if(_85.location<0||CPMaxRange(_85)>length){ +objj_msgSend(CPException,"raise:reason:",CPRangeException,"subarrayWithRange: aRange out of bounds"); +} +return slice(_85.location,CPMaxRange(_85)); +} +}),new objj_method(sel_getUid("sortedArrayUsingDescriptors:"),function(_86,_87,_88){ +with(_86){ +var _89=objj_msgSend(_86,"copy"); +objj_msgSend(_89,"sortUsingDescriptors:",_88); +return _89; +} +}),new objj_method(sel_getUid("sortedArrayUsingFunction:"),function(_8a,_8b,_8c){ +with(_8a){ +return objj_msgSend(_8a,"sortedArrayUsingFunction:context:",_8c,nil); +} +}),new objj_method(sel_getUid("sortedArrayUsingFunction:context:"),function(_8d,_8e,_8f,_90){ +with(_8d){ +var _91=objj_msgSend(_8d,"copy"); +objj_msgSend(_91,"sortUsingFunction:context:",_8f,_90); +return _91; +} +}),new objj_method(sel_getUid("sortedArrayUsingSelector:"),function(_92,_93,_94){ +with(_92){ +var _95=objj_msgSend(_92,"copy"); +objj_msgSend(_95,"sortUsingSelector:",_94); +return _95; +} +}),new objj_method(sel_getUid("componentsJoinedByString:"),function(_96,_97,_98){ +with(_96){ +return join(_98); +} +}),new objj_method(sel_getUid("description"),function(_99,_9a){ +with(_99){ +var _9b=0,_9c=objj_msgSend(_99,"count"),_9d="("; +for(;_9b<_9c;++_9b){ +if(_9b===0){ +_9d+="\n"; +} +var _9e=objj_msgSend(_99,"objectAtIndex:",_9b),_9f=_9e&&_9e.isa?objj_msgSend(_9e,"description"):String(_9e); +_9d+="\t"+_9f.split("\n").join("\n\t"); +if(_9b!==_9c-1){ +_9d+=", "; +} +_9d+="\n"; +} +return _9d+")"; +} +}),new objj_method(sel_getUid("pathsMatchingExtensions:"),function(_a0,_a1,_a2){ +with(_a0){ +var _a3=0,_a4=objj_msgSend(_a0,"count"),_a5=[]; +for(;_a3<_a4;++_a3){ +if(_a0[_a3].isa&&objj_msgSend(_a0[_a3],"isKindOfClass:",objj_msgSend(CPString,"class"))&&objj_msgSend(_a2,"containsObject:",objj_msgSend(_a0[_a3],"pathExtension"))){ +_a5.push(_a0[_a3]); +} +} +return _a5; +} +}),new objj_method(sel_getUid("setValue:forKey:"),function(_a6,_a7,_a8,_a9){ +with(_a6){ +var i=0,_aa=objj_msgSend(_a6,"count"); +for(;i<_aa;++i){ +objj_msgSend(_a6[i],"setValue:forKey:",_a8,_a9); +} +} +}),new objj_method(sel_getUid("valueForKey:"),function(_ab,_ac,_ad){ +with(_ab){ +var i=0,_ae=objj_msgSend(_ab,"count"),_af=[]; +for(;i<_ae;++i){ +_af.push(objj_msgSend(_ab[i],"valueForKey:",_ad)); +} +return _af; +} +}),new objj_method(sel_getUid("copy"),function(_b0,_b1){ +with(_b0){ +return slice(0); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("alloc"),function(_b2,_b3){ +with(_b2){ +return []; +} +}),new objj_method(sel_getUid("array"),function(_b4,_b5){ +with(_b4){ +return objj_msgSend(objj_msgSend(_b4,"alloc"),"init"); +} +}),new objj_method(sel_getUid("arrayWithArray:"),function(_b6,_b7,_b8){ +with(_b6){ +return objj_msgSend(objj_msgSend(_b6,"alloc"),"initWithArray:",_b8); +} +}),new objj_method(sel_getUid("arrayWithObject:"),function(_b9,_ba,_bb){ +with(_b9){ +return objj_msgSend(objj_msgSend(_b9,"alloc"),"initWithObjects:",_bb); +} +}),new objj_method(sel_getUid("arrayWithObjects:"),function(_bc,_bd,_be){ +with(_bc){ +var i=2,_bf=objj_msgSend(objj_msgSend(_bc,"alloc"),"init"),_c0; +for(;i=objj_msgSend(_d2,"count")+_d6){ +objj_msgSend(CPException,"raise:reason:",CPRangeException,"the last index ("+_d8+") must be less than the sum of the original count ("+objj_msgSend(_d2,"count")+") and the insertion count ("+_d6+")."); +} +var _d9=0,_da=objj_msgSend(_d5,"firstIndex"); +for(;_d9<_d7;++_d9,_da=objj_msgSend(_d5,"indexGreaterThanIndex:",_da)){ +objj_msgSend(_d2,"insertObject:atIndex:",_d4[_d9],_da); +} +} +}),new objj_method(sel_getUid("replaceObjectAtIndex:withObject:"),function(_db,_dc,_dd,_de){ +with(_db){ +_db[_dd]=_de; +} +}),new objj_method(sel_getUid("replaceObjectsAtIndexes:withObjects:"),function(_df,_e0,_e1,_e2){ +with(_df){ +var i=0,_e3=objj_msgSend(_e1,"firstIndex"); +while(_e3!=CPNotFound){ +objj_msgSend(_df,"replaceObjectAtIndex:withObject:",_e3,_e2[i++]); +_e3=objj_msgSend(_e1,"indexGreaterThanIndex:",_e3); +} +} +}),new objj_method(sel_getUid("replaceObjectsInRange:withObjectsFromArray:range:"),function(_e4,_e5,_e6,_e7,_e8){ +with(_e4){ +if(!_e8.location&&_e8.length==objj_msgSend(_e7,"count")){ +objj_msgSend(_e4,"replaceObjectsInRange:withObjectsFromArray:",_e6,_e7); +}else{ +splice.apply(_e4,[_e6.location,_e6.length].concat(objj_msgSend(_e7,"subarrayWithRange:",_e8))); +} +} +}),new objj_method(sel_getUid("replaceObjectsInRange:withObjectsFromArray:"),function(_e9,_ea,_eb,_ec){ +with(_e9){ +splice.apply(_e9,[_eb.location,_eb.length].concat(_ec)); +} +}),new objj_method(sel_getUid("setArray:"),function(_ed,_ee,_ef){ +with(_ed){ +if(_ed==_ef){ +return; +} +splice.apply(_ed,[0,length].concat(_ef)); +} +}),new objj_method(sel_getUid("removeAllObjects"),function(_f0,_f1){ +with(_f0){ +splice(0,length); +} +}),new objj_method(sel_getUid("removeLastObject"),function(_f2,_f3){ +with(_f2){ +pop(); +} +}),new objj_method(sel_getUid("removeObject:"),function(_f4,_f5,_f6){ +with(_f4){ +objj_msgSend(_f4,"removeObject:inRange:",_f6,CPMakeRange(0,length)); +} +}),new objj_method(sel_getUid("removeObject:inRange:"),function(_f7,_f8,_f9,_fa){ +with(_f7){ +var _fb; +while((_fb=objj_msgSend(_f7,"indexOfObject:inRange:",_f9,_fa))!=CPNotFound){ +objj_msgSend(_f7,"removeObjectAtIndex:",_fb); +_fa=CPIntersectionRange(CPMakeRange(_fb,length-_fb),_fa); +} +} +}),new objj_method(sel_getUid("removeObjectAtIndex:"),function(_fc,_fd,_fe){ +with(_fc){ +splice(_fe,1); +} +}),new objj_method(sel_getUid("removeObjectsAtIndexes:"),function(_ff,_100,_101){ +with(_ff){ +var _102=objj_msgSend(_101,"lastIndex"); +while(_102!=CPNotFound){ +objj_msgSend(_ff,"removeObjectAtIndex:",_102); +_102=objj_msgSend(_101,"indexLessThanIndex:",_102); +} +} +}),new objj_method(sel_getUid("removeObjectIdenticalTo:"),function(self,_103,_104){ +with(self){ +objj_msgSend(self,"removeObjectIdenticalTo:inRange:",_104,CPMakeRange(0,objj_msgSend(self,"count"))); +} +}),new objj_method(sel_getUid("removeObjectIdenticalTo:inRange:"),function(self,_105,_106,_107){ +with(self){ +var _108,_109=objj_msgSend(self,"count"); +while((_108=objj_msgSend(self,"indexOfObjectIdenticalTo:inRange:",_106,_107))!==CPNotFound){ +objj_msgSend(self,"removeObjectAtIndex:",_108); +_107=CPIntersectionRange(CPMakeRange(_108,(--_109)-_108),_107); +} +} +}),new objj_method(sel_getUid("removeObjectsInArray:"),function(self,_10a,_10b){ +with(self){ +var _10c=0,_10d=objj_msgSend(_10b,"count"); +for(;_10c<_10d;++_10c){ +objj_msgSend(self,"removeObject:",_10b[_10c]); +} +} +}),new objj_method(sel_getUid("removeObjectsInRange:"),function(self,_10e,_10f){ +with(self){ +splice(_10f.location,_10f.length); +} +}),new objj_method(sel_getUid("exchangeObjectAtIndex:withObjectAtIndex:"),function(self,_110,_111,_112){ +with(self){ +var _113=self[_111]; +self[_111]=self[_112]; +self[_112]=_113; +} +}),new objj_method(sel_getUid("sortUsingDescriptors:"),function(self,_114,_115){ +with(self){ +sort(function(lhs,rhs){ +var i=0,_116=objj_msgSend(_115,"count"),_117=CPOrderedSame; +while(i<_116){ +if((_117=objj_msgSend(_115[i++],"compareObject:withObject:",lhs,rhs))!=CPOrderedSame){ +return _117; +} +} +return _117; +}); +} +}),new objj_method(sel_getUid("sortUsingFunction:context:"),function(self,_118,_119,_11a){ +with(self){ +sort(function(lhs,rhs){ +return _119(lhs,rhs,_11a); +}); +} +}),new objj_method(sel_getUid("sortUsingSelector:"),function(self,_11b,_11c){ +with(self){ +sort(function(lhs,rhs){ +return objj_msgSend(lhs,_11c,rhs); +}); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("arrayWithCapacity:"),function(self,_11d,_11e){ +with(self){ +return objj_msgSend(objj_msgSend(self,"alloc"),"initWithCapacity:",_11e); +} +})]); +var _1=objj_getClass("CPArray"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPArray\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(self,_11f,_120){ +with(self){ +return objj_msgSend(_120,"decodeObjectForKey:","CP.objects"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(self,_121,_122){ +with(self){ +objj_msgSend(_122,"_encodeArrayOfObjects:forKey:",self,"CP.objects"); +} +})]); +var _1=objj_allocateClassPair(CPArray,"CPMutableArray"),_2=_1.isa; +objj_registerClassPair(_1); +Array.prototype.isa=CPArray; +objj_msgSend(CPArray,"initialize"); +p;20;CPAttributedString.jt;12869;@STATIC;1.0;i;10;CPObject.ji;10;CPString.ji;14;CPDictionary.ji;9;CPRange.jt;12787; +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPString.j",YES); +objj_executeFile("CPDictionary.j",YES); +objj_executeFile("CPRange.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPAttributedString"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_string"),new objj_ivar("_rangeEntries")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithString:"),function(_3,_4,_5){ +with(_3){ +return objj_msgSend(_3,"initWithString:attributes:",_5,nil); +} +}),new objj_method(sel_getUid("initWithAttributedString:"),function(_6,_7,_8){ +with(_6){ +var _9=objj_msgSend(_6,"initWithString:attributes:","",nil); +objj_msgSend(_9,"setAttributedString:",_8); +return _9; +} +}),new objj_method(sel_getUid("initWithString:attributes:"),function(_a,_b,_c,_d){ +with(_a){ +_a=objj_msgSendSuper({receiver:_a,super_class:objj_getClass("CPAttributedString").super_class},"init"); +if(!_d){ +_d=objj_msgSend(CPDictionary,"dictionary"); +} +_string=""+_c; +_rangeEntries=[_e(CPMakeRange(0,_string.length),_d)]; +return _a; +} +}),new objj_method(sel_getUid("string"),function(_f,_10){ +with(_f){ +return _string; +} +}),new objj_method(sel_getUid("mutableString"),function(_11,_12){ +with(_11){ +return objj_msgSend(_11,"string"); +} +}),new objj_method(sel_getUid("length"),function(_13,_14){ +with(_13){ +return _string.length; +} +}),new objj_method(sel_getUid("_indexOfEntryWithIndex:"),function(_15,_16,_17){ +with(_15){ +if(_17<0||_17>_string.length||_17===undefined){ +return CPNotFound; +} +var _18=function(_19,_1a){ +if(CPLocationInRange(_19,_1a.range)){ +return CPOrderedSame; +}else{ +if(CPMaxRange(_1a.range)<=_19){ +return CPOrderedDescending; +}else{ +return CPOrderedAscending; +} +} +}; +return objj_msgSend(_rangeEntries,"indexOfObject:sortedByFunction:",_17,_18); +} +}),new objj_method(sel_getUid("attributesAtIndex:effectiveRange:"),function(_1b,_1c,_1d,_1e){ +with(_1b){ +var _1f=objj_msgSend(_1b,"_indexOfEntryWithIndex:",_1d); +if(_1f==CPNotFound){ +return nil; +} +var _20=_rangeEntries[_1f]; +if(_1e){ +_1e.location=_20.range.location; +_1e.length=_20.range.length; +} +return _20.attributes; +} +}),new objj_method(sel_getUid("attributesAtIndex:longestEffectiveRange:inRange:"),function(_21,_22,_23,_24,_25){ +with(_21){ +var _26=objj_msgSend(_21,"_indexOfEntryWithIndex:",_23); +if(_26==CPNotFound){ +return nil; +} +if(!_24){ +return _rangeEntries[_26].attributes; +} +if(CPRangeInRange(_rangeEntries[_26].range,_25)){ +_24.location=_25.location; +_24.length=_25.length; +return _rangeEntries[_26].attributes; +} +var _27=_26-1,_28=_rangeEntries[_26],_29=_28.attributes; +while(_27>=0){ +var _2a=_rangeEntries[_27]; +if(CPMaxRange(_2a.range)>_25.location&&objj_msgSend(_2a.attributes,"isEqualToDictionary:",_29)){ +_28=_2a; +_27--; +}else{ +break; +} +} +_24.location=MAX(_28.range.location,_25.location); +_28=_rangeEntries[_26]; +_27=_26+1; +while(_27<_rangeEntries.length){ +var _2a=_rangeEntries[_27]; +if(_2a.range.location=0){ +var _3a=_rangeEntries[_37]; +if(CPMaxRange(_3a.range)>_35.location&&_3b(_39,objj_msgSend(_3a.attributes,"objectForKey:",_32))){ +_38=_3a; +_37--; +}else{ +break; +} +} +_34.location=MAX(_38.range.location,_35.location); +_38=_rangeEntries[_36]; +_37=_36+1; +while(_37<_rangeEntries.length){ +var _3a=_rangeEntries[_37]; +if(_3a.range.location0&&!objj_msgSend(_41,"isEqualToDictionary:",_42)){ +return NO; +} +if(CPMaxRange(_3f)_string.length||_49.location<0){ +objj_msgSend(CPException,"raise:reason:",CPRangeException,"tried to get attributedSubstring for an invalid range: "+(_49?CPStringFromRange(_49):"nil")); +} +var _4a=objj_msgSend(objj_msgSend(CPAttributedString,"alloc"),"initWithString:",_string.substring(_49.location,CPMaxRange(_49))),_4b=objj_msgSend(_47,"_indexOfEntryWithIndex:",_49.location),_4c=_rangeEntries[_4b],_4d=CPMaxRange(_49); +_4a._rangeEntries=[]; +while(_4c&&CPMaxRange(_4c.range)<_4d){ +var _4e=_4f(_4c); +_4e.range.location-=_49.location; +if(_4e.range.location<0){ +_4e.range.length+=_4e.range.location; +_4e.range.location=0; +} +_4a._rangeEntries.push(_4e); +_4c=_rangeEntries[++_4b]; +} +if(_4c){ +var _50=_4f(_4c); +_50.range.length=CPMaxRange(_49)-_50.range.location; +_50.range.location-=_49.location; +if(_50.range.location<0){ +_50.range.length+=_50.range.location; +_50.range.location=0; +} +_4a._rangeEntries.push(_50); +} +return _4a; +} +}),new objj_method(sel_getUid("replaceCharactersInRange:withString:"),function(_51,_52,_53,_54){ +with(_51){ +objj_msgSend(_51,"beginEditing"); +if(!_54){ +_54=""; +} +var _55=objj_msgSend(_51,"_indexOfEntryWithIndex:",_53.location),_56=_rangeEntries[_55],_57=objj_msgSend(_51,"_indexOfEntryWithIndex:",MAX(CPMaxRange(_53)-1,0)),_58=_rangeEntries[_57],_59=_54.length-_53.length; +_string=_string.substring(0,_53.location)+_54+_string.substring(CPMaxRange(_53)); +if(_55==_57){ +_56.range.length+=_59; +}else{ +_58.range.length=CPMaxRange(_58.range)-CPMaxRange(_53); +_58.range.location=CPMaxRange(_53); +_56.range.length=CPMaxRange(_53)-_56.range.location; +_rangeEntries.splice(_55,_57-_55); +} +_57=_55+1; +while(_57<_rangeEntries.length){ +_rangeEntries[_57++].range.location+=_59; +} +objj_msgSend(_51,"endEditing"); +} +}),new objj_method(sel_getUid("deleteCharactersInRange:"),function(_5a,_5b,_5c){ +with(_5a){ +objj_msgSend(_5a,"replaceCharactersInRange:withString:",_5c,nil); +} +}),new objj_method(sel_getUid("setAttributes:range:"),function(_5d,_5e,_5f,_60){ +with(_5d){ +objj_msgSend(_5d,"beginEditing"); +var _61=objj_msgSend(_5d,"_indexOfRangeEntryForIndex:splitOnMaxIndex:",_60.location,YES),_62=objj_msgSend(_5d,"_indexOfRangeEntryForIndex:splitOnMaxIndex:",CPMaxRange(_60),YES),_63=_61; +if(_62==CPNotFound){ +_62=_rangeEntries.length; +} +while(_63<_62){ +_rangeEntries[_63++].attributes=objj_msgSend(_5f,"copy"); +} +objj_msgSend(_5d,"_coalesceRangeEntriesFromIndex:toIndex:",_61,_62); +objj_msgSend(_5d,"endEditing"); +} +}),new objj_method(sel_getUid("addAttributes:range:"),function(_64,_65,_66,_67){ +with(_64){ +objj_msgSend(_64,"beginEditing"); +var _68=objj_msgSend(_64,"_indexOfRangeEntryForIndex:splitOnMaxIndex:",_67.location,YES),_69=objj_msgSend(_64,"_indexOfRangeEntryForIndex:splitOnMaxIndex:",CPMaxRange(_67),YES),_6a=_68; +if(_69==CPNotFound){ +_69=_rangeEntries.length; +} +while(_6a<_69){ +var _6b=objj_msgSend(_66,"allKeys"),_6c=objj_msgSend(_6b,"count"); +while(_6c--){ +objj_msgSend(_rangeEntries[_6a].attributes,"setObject:forKey:",objj_msgSend(_66,"objectForKey:",_6b[_6c]),_6b[_6c]); +} +_6a++; +} +objj_msgSend(_64,"_coalesceRangeEntriesFromIndex:toIndex:",_68,_69); +objj_msgSend(_64,"endEditing"); +} +}),new objj_method(sel_getUid("addAttribute:value:range:"),function(_6d,_6e,_6f,_70,_71){ +with(_6d){ +objj_msgSend(_6d,"addAttributes:range:",objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_70,_6f),_71); +} +}),new objj_method(sel_getUid("removeAttribute:range:"),function(_72,_73,_74,_75){ +with(_72){ +objj_msgSend(_72,"beginEditing"); +var _76=objj_msgSend(_72,"_indexOfRangeEntryForIndex:splitOnMaxIndex:",_75.location,YES),_77=objj_msgSend(_72,"_indexOfRangeEntryForIndex:splitOnMaxIndex:",CPMaxRange(_75),YES),_78=_76; +if(_77==CPNotFound){ +_77=_rangeEntries.length; +} +while(_78<_77){ +objj_msgSend(_rangeEntries[_78++].attributes,"removeObjectForKey:",_74); +} +objj_msgSend(_72,"_coalesceRangeEntriesFromIndex:toIndex:",_76,_77); +objj_msgSend(_72,"endEditing"); +} +}),new objj_method(sel_getUid("appendAttributedString:"),function(_79,_7a,_7b){ +with(_79){ +objj_msgSend(_79,"insertAttributedString:atIndex:",_7b,_string.length); +} +}),new objj_method(sel_getUid("insertAttributedString:atIndex:"),function(_7c,_7d,_7e,_7f){ +with(_7c){ +objj_msgSend(_7c,"beginEditing"); +if(_7f<0||_7f>objj_msgSend(_7c,"length")){ +objj_msgSend(CPException,"raise:reason:",CPRangeException,"tried to insert attributed string at an invalid index: "+_7f); +} +var _80=objj_msgSend(_7c,"_indexOfRangeEntryForIndex:splitOnMaxIndex:",_7f,YES),_81=_7e._rangeEntries,_82=objj_msgSend(_7e,"length"); +if(_80==CPNotFound){ +_80=_rangeEntries.length; +} +_string=_string.substring(0,_7f)+_7e._string+_string.substring(_7f); +var _83=_80; +while(_83<_rangeEntries.length){ +_rangeEntries[_83++].range.location+=_82; +} +var _84=_81.length,_85=0; +while(_85<_84){ +var _86=_4f(_81[_85++]); +_86.range.location+=_7f; +_rangeEntries.splice(_80-1+_85,0,_86); +} +objj_msgSend(_7c,"endEditing"); +} +}),new objj_method(sel_getUid("replaceCharactersInRange:withAttributedString:"),function(_87,_88,_89,_8a){ +with(_87){ +objj_msgSend(_87,"beginEditing"); +objj_msgSend(_87,"deleteCharactersInRange:",_89); +objj_msgSend(_87,"insertAttributedString:atIndex:",_8a,_89.location); +objj_msgSend(_87,"endEditing"); +} +}),new objj_method(sel_getUid("setAttributedString:"),function(_8b,_8c,_8d){ +with(_8b){ +objj_msgSend(_8b,"beginEditing"); +_string=_8d._string; +_rangeEntries=[]; +for(var i=0,_8e=_8d._rangeEntries.length;i<_8e;i++){ +_rangeEntries.push(_4f(_8d._rangeEntries[i])); +} +objj_msgSend(_8b,"endEditing"); +} +}),new objj_method(sel_getUid("_indexOfRangeEntryForIndex:splitOnMaxIndex:"),function(_8f,_90,_91,_92){ +with(_8f){ +var _93=objj_msgSend(_8f,"_indexOfEntryWithIndex:",_91); +if(_93<0){ +return _93; +} +var _94=_rangeEntries[_93]; +if(_94.range.location==_91||(CPMaxRange(_94.range)-1==_91&&!_92)){ +return _93; +} +var _95=splitRangeEntryAtIndex(_94,_91); +_rangeEntries.splice(_93,1,_95[0],_95[1]); +_93++; +return _93; +} +}),new objj_method(sel_getUid("_coalesceRangeEntriesFromIndex:toIndex:"),function(_96,_97,_98,end){ +with(_96){ +var _99=_98; +if(end>=_rangeEntries.length){ +end=_rangeEntries.length-1; +} +while(_99_25)); +} +}),new objj_method(sel_getUid("compare:"),function(_26,_27,_28){ +with(_26){ +return (_26>_28)?CPOrderedDescending:((_26<_28)?CPOrderedAscending:CPOrderedSame); +} +}),new objj_method(sel_getUid("earlierDate:"),function(_29,_2a,_2b){ +with(_29){ +return (_29<_2b)?_29:_2b; +} +}),new objj_method(sel_getUid("laterDate:"),function(_2c,_2d,_2e){ +with(_2c){ +return (_2c>_2e)?_2c:_2e; +} +}),new objj_method(sel_getUid("description"),function(_2f,_30){ +with(_2f){ +var _31=Math.floor(_2f.getTimezoneOffset()/60),_32=_2f.getTimezoneOffset()-_31*60; +return objj_msgSend(CPString,"stringWithFormat:","%04d-%02d-%02d %02d:%02d:%02d +%02d%02d",_2f.getFullYear(),_2f.getMonth()+1,_2f.getDate(),_2f.getHours(),_2f.getMinutes(),_2f.getSeconds(),_31,_32); +} +}),new objj_method(sel_getUid("copy"),function(_33,_34){ +with(_33){ +return new Date(_33.getTime()); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("alloc"),function(_35,_36){ +with(_35){ +return new Date; +} +}),new objj_method(sel_getUid("date"),function(_37,_38){ +with(_37){ +return objj_msgSend(objj_msgSend(_37,"alloc"),"init"); +} +}),new objj_method(sel_getUid("dateWithTimeIntervalSinceNow:"),function(_39,_3a,_3b){ +with(_39){ +return objj_msgSend(objj_msgSend(CPDate,"alloc"),"initWithTimeIntervalSinceNow:",_3b); +} +}),new objj_method(sel_getUid("dateWithTimeIntervalSince1970:"),function(_3c,_3d,_3e){ +with(_3c){ +return objj_msgSend(objj_msgSend(CPDate,"alloc"),"initWithTimeIntervalSince1970:",_3e); +} +}),new objj_method(sel_getUid("dateWithTimeIntervalSinceReferenceDate:"),function(_3f,_40,_41){ +with(_3f){ +return objj_msgSend(objj_msgSend(CPDate,"alloc"),"initWithTimeIntervalSinceReferenceDate:",_41); +} +}),new objj_method(sel_getUid("distantPast"),function(_42,_43){ +with(_42){ +return new Date(-10000,1,1,0,0,0,0); +} +}),new objj_method(sel_getUid("distantFuture"),function(_44,_45){ +with(_44){ +return new Date(10000,1,1,0,0,0,0); +} +}),new objj_method(sel_getUid("timeIntervalSinceReferenceDate"),function(_46,_47){ +with(_46){ +return objj_msgSend(objj_msgSend(CPDate,"date"),"timeIntervalSinceReferenceDate"); +} +})]); +var _48="CPDateTimeKey"; +var _2=objj_getClass("CPDate"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPDate\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("initWithCoder:"),function(_49,_4a,_4b){ +with(_49){ +if(_49){ +_49.setTime(objj_msgSend(_4b,"decodeIntForKey:",_48)); +} +return _49; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_4c,_4d,_4e){ +with(_4c){ +objj_msgSend(_4e,"encodeInt:forKey:",_4c.getTime(),_48); +} +})]); +Date.prototype.isa=CPDate; +p;14;CPDictionary.jt;7812;@STATIC;1.0;i;9;CPArray.ji;10;CPObject.ji;14;CPEnumerator.ji;13;CPException.jt;7728; +objj_executeFile("CPArray.j",YES); +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPEnumerator.j",YES); +objj_executeFile("CPException.j",YES); +var _1=objj_allocateClassPair(CPEnumerator,"_CPDictionaryValueEnumerator"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_keyEnumerator"),new objj_ivar("_dictionary")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithDictionary:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("_CPDictionaryValueEnumerator").super_class},"init"); +if(_3){ +_keyEnumerator=objj_msgSend(_5,"keyEnumerator"); +_dictionary=_5; +} +return _3; +} +}),new objj_method(sel_getUid("nextObject"),function(_6,_7){ +with(_6){ +var _8=objj_msgSend(_keyEnumerator,"nextObject"); +if(!_8){ +return nil; +} +return objj_msgSend(_dictionary,"objectForKey:",_8); +} +})]); +var _1=objj_allocateClassPair(CPObject,"CPDictionary"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithDictionary:"),function(_9,_a,_b){ +with(_9){ +var _c="",_d=objj_msgSend(objj_msgSend(CPDictionary,"alloc"),"init"); +for(_c in _b._buckets){ +objj_msgSend(_d,"setObject:forKey:",objj_msgSend(_b,"objectForKey:",_c),_c); +} +return _d; +} +}),new objj_method(sel_getUid("initWithObjects:forKeys:"),function(_e,_f,_10,_11){ +with(_e){ +_e=objj_msgSendSuper({receiver:_e,super_class:objj_getClass("CPDictionary").super_class},"init"); +if(objj_msgSend(_10,"count")!=objj_msgSend(_11,"count")){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Counts are different.("+objj_msgSend(_10,"count")+"!="+objj_msgSend(_11,"count")+")"); +} +if(_e){ +var i=objj_msgSend(_11,"count"); +while(i--){ +objj_msgSend(_e,"setObject:forKey:",_10[i],_11[i]); +} +} +return _e; +} +}),new objj_method(sel_getUid("initWithObjectsAndKeys:"),function(_12,_13,_14){ +with(_12){ +var _15=arguments.length; +if(_15%2!==0){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Key-value count is mismatched. ("+_15+" arguments passed)"); +} +_12=objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPDictionary").super_class},"init"); +if(_12){ +var _16=2; +for(;_16<_15;_16+=2){ +var _17=arguments[_16]; +if(_17===nil){ +break; +} +objj_msgSend(_12,"setObject:forKey:",_17,arguments[_16+1]); +} +} +return _12; +} +}),new objj_method(sel_getUid("copy"),function(_18,_19){ +with(_18){ +return objj_msgSend(CPDictionary,"dictionaryWithDictionary:",_18); +} +}),new objj_method(sel_getUid("count"),function(_1a,_1b){ +with(_1a){ +return _count; +} +}),new objj_method(sel_getUid("allKeys"),function(_1c,_1d){ +with(_1c){ +return _keys; +} +}),new objj_method(sel_getUid("allValues"),function(_1e,_1f){ +with(_1e){ +var _20=_keys.length,_21=[]; +while(_20--){ +_21.push(_1e.valueForKey(_keys[_20])); +} +return _21; +} +}),new objj_method(sel_getUid("keyEnumerator"),function(_22,_23){ +with(_22){ +return objj_msgSend(_keys,"objectEnumerator"); +} +}),new objj_method(sel_getUid("objectEnumerator"),function(_24,_25){ +with(_24){ +return objj_msgSend(objj_msgSend(_CPDictionaryValueEnumerator,"alloc"),"initWithDictionary:",_24); +} +}),new objj_method(sel_getUid("isEqualToDictionary:"),function(_26,_27,_28){ +with(_26){ +if(_26===_28){ +return YES; +} +var _29=objj_msgSend(_26,"count"); +if(_29!==objj_msgSend(_28,"count")){ +return NO; +} +var _2a=_29; +while(_2a--){ +var _2b=_keys[_2a],_2c=_buckets[_2b],_2d=_28._buckets[_2b]; +if(_2c===_2d){ +continue; +} +if(_2c&&_2c.isa&&_2d&&_2d.isa&&objj_msgSend(_2c,"respondsToSelector:",sel_getUid("isEqual:"))&&objj_msgSend(_2c,"isEqual:",_2d)){ +continue; +} +return NO; +} +return YES; +} +}),new objj_method(sel_getUid("isEqual:"),function(_2e,_2f,_30){ +with(_2e){ +if(_2e===_30){ +return YES; +} +if(!objj_msgSend(_30,"isKindOfClass:",objj_msgSend(CPDictionary,"class"))){ +return NO; +} +return objj_msgSend(_2e,"isEqualToDictionary:",_30); +} +}),new objj_method(sel_getUid("objectForKey:"),function(_31,_32,_33){ +with(_31){ +var _34=_buckets[_33]; +return (_34===undefined)?nil:_34; +} +}),new objj_method(sel_getUid("removeAllObjects"),function(_35,_36){ +with(_35){ +_35.removeAllValues(); +} +}),new objj_method(sel_getUid("removeObjectForKey:"),function(_37,_38,_39){ +with(_37){ +_37.removeValueForKey(_39); +} +}),new objj_method(sel_getUid("removeObjectsForKeys:"),function(_3a,_3b,_3c){ +with(_3a){ +var _3d=_3c.length; +while(_3d--){ +_3a.removeValueForKey(_3c[_3d]); +} +} +}),new objj_method(sel_getUid("setObject:forKey:"),function(_3e,_3f,_40,_41){ +with(_3e){ +_3e.setValueForKey(_41,_40); +} +}),new objj_method(sel_getUid("addEntriesFromDictionary:"),function(_42,_43,_44){ +with(_42){ +if(!_44){ +return; +} +var _45=objj_msgSend(_44,"allKeys"),_46=objj_msgSend(_45,"count"); +while(_46--){ +var key=_45[_46]; +objj_msgSend(_42,"setObject:forKey:",objj_msgSend(_44,"objectForKey:",key),key); +} +} +}),new objj_method(sel_getUid("description"),function(_47,_48){ +with(_47){ +return _47.toString(); +} +}),new objj_method(sel_getUid("containsKey:"),function(_49,_4a,_4b){ +with(_49){ +var _4c=objj_msgSend(_49,"objectForKey:",_4b); +return ((_4c!==nil)&&(_4c!==undefined)); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("alloc"),function(_4d,_4e){ +with(_4d){ +return new CFMutableDictionary(); +} +}),new objj_method(sel_getUid("dictionary"),function(_4f,_50){ +with(_4f){ +return objj_msgSend(objj_msgSend(_4f,"alloc"),"init"); +} +}),new objj_method(sel_getUid("dictionaryWithDictionary:"),function(_51,_52,_53){ +with(_51){ +return objj_msgSend(objj_msgSend(_51,"alloc"),"initWithDictionary:",_53); +} +}),new objj_method(sel_getUid("dictionaryWithObject:forKey:"),function(_54,_55,_56,_57){ +with(_54){ +return objj_msgSend(objj_msgSend(_54,"alloc"),"initWithObjects:forKeys:",[_56],[_57]); +} +}),new objj_method(sel_getUid("dictionaryWithObjects:forKeys:"),function(_58,_59,_5a,_5b){ +with(_58){ +return objj_msgSend(objj_msgSend(_58,"alloc"),"initWithObjects:forKeys:",_5a,_5b); +} +}),new objj_method(sel_getUid("dictionaryWithJSObject:"),function(_5c,_5d,_5e){ +with(_5c){ +return objj_msgSend(_5c,"dictionaryWithJSObject:recursively:",_5e,NO); +} +}),new objj_method(sel_getUid("dictionaryWithJSObject:recursively:"),function(_5f,_60,_61,_62){ +with(_5f){ +var _63=objj_msgSend(objj_msgSend(_5f,"alloc"),"init"); +for(var key in _61){ +if(!_61.hasOwnProperty(key)){ +continue; +} +var _64=_61[key]; +if(_64===null){ +objj_msgSend(_63,"setObject:forKey:",objj_msgSend(CPNull,"null"),key); +continue; +} +if(_62){ +if(_64.constructor===Object){ +_64=objj_msgSend(CPDictionary,"dictionaryWithJSObject:recursively:",_64,YES); +}else{ +if(objj_msgSend(_64,"isKindOfClass:",CPArray)){ +var _65=[]; +for(var i=0,_66=_64.length;i<_66;i++){ +var _67=_64[i]; +if(_67.constructor===Object){ +_65.push(objj_msgSend(CPDictionary,"dictionaryWithJSObject:recursively:",_67,YES)); +}else{ +_65.push(_67); +} +} +_64=_65; +} +} +} +objj_msgSend(_63,"setObject:forKey:",_64,key); +} +return _63; +} +}),new objj_method(sel_getUid("dictionaryWithObjectsAndKeys:"),function(_68,_69,_6a){ +with(_68){ +arguments[0]=objj_msgSend(_68,"alloc"); +arguments[1]=sel_getUid("initWithObjectsAndKeys:"); +return objj_msgSend.apply(this,arguments); +} +})]); +var _1=objj_getClass("CPDictionary"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPDictionary\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_6b,_6c,_6d){ +with(_6b){ +return objj_msgSend(_6d,"_decodeDictionaryOfObjectsForKey:","CP.objects"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_6e,_6f,_70){ +with(_6e){ +objj_msgSend(_70,"_encodeDictionaryOfObjects:forKey:",_6e,"CP.objects"); +} +})]); +var _1=objj_allocateClassPair(CPDictionary,"CPMutableDictionary"),_2=_1.isa; +objj_registerClassPair(_1); +CFDictionary.prototype.isa=CPDictionary; +CFMutableDictionary.prototype.isa=CPMutableDictionary; +p;14;CPEnumerator.jt;357;@STATIC;1.0;i;10;CPObject.jt;324; +objj_executeFile("CPObject.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPEnumerator"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("nextObject"),function(_3,_4){ +with(_3){ +return nil; +} +}),new objj_method(sel_getUid("allObjects"),function(_5,_6){ +with(_5){ +return []; +} +})]); +p;13;CPException.jt;3505;@STATIC;1.0;i;9;CPCoder.ji;10;CPObject.ji;10;CPString.jt;3443; +objj_executeFile("CPCoder.j",YES); +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPString.j",YES); +CPInvalidArgumentException="CPInvalidArgumentException"; +CPUnsupportedMethodException="CPUnsupportedMethodException"; +CPRangeException="CPRangeException"; +CPInternalInconsistencyException="CPInternalInconsistencyException"; +var _1=objj_allocateClassPair(CPObject,"CPException"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_userInfo")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithName:reason:userInfo:"),function(_3,_4,_5,_6,_7){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPException").super_class},"init"); +if(_3){ +name=_5; +message=_6; +_userInfo=_7; +} +return _3; +} +}),new objj_method(sel_getUid("name"),function(_8,_9){ +with(_8){ +return name; +} +}),new objj_method(sel_getUid("reason"),function(_a,_b){ +with(_a){ +return message; +} +}),new objj_method(sel_getUid("userInfo"),function(_c,_d){ +with(_c){ +return _userInfo; +} +}),new objj_method(sel_getUid("description"),function(_e,_f){ +with(_e){ +return message; +} +}),new objj_method(sel_getUid("raise"),function(_10,_11){ +with(_10){ +throw _10; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("alloc"),function(_12,_13){ +with(_12){ +return new Error(); +} +}),new objj_method(sel_getUid("raise:reason:"),function(_14,_15,_16,_17){ +with(_14){ +objj_msgSend(objj_msgSend(_14,"exceptionWithName:reason:userInfo:",_16,_17,nil),"raise"); +} +}),new objj_method(sel_getUid("exceptionWithName:reason:userInfo:"),function(_18,_19,_1a,_1b,_1c){ +with(_18){ +return objj_msgSend(objj_msgSend(_18,"alloc"),"initWithName:reason:userInfo:",_1a,_1b,_1c); +} +})]); +var _1=objj_getClass("CPException"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPException\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("copy"),function(_1d,_1e){ +with(_1d){ +return objj_msgSend(objj_msgSend(_1d,"class"),"exceptionWithName:reason:userInfo:",name,message,_userInfo); +} +})]); +var _1f="CPExceptionNameKey",_20="CPExceptionReasonKey",_21="CPExceptionUserInfoKey"; +var _1=objj_getClass("CPException"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPException\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_22,_23,_24){ +with(_22){ +_22=objj_msgSendSuper({receiver:_22,super_class:objj_getClass("CPException").super_class},"init"); +if(_22){ +name=objj_msgSend(_24,"decodeObjectForKey:",_1f); +message=objj_msgSend(_24,"decodeObjectForKey:",_20); +_userInfo=objj_msgSend(_24,"decodeObjectForKey:",_21); +} +return _22; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_25,_26,_27){ +with(_25){ +objj_msgSend(_27,"encodeObject:forKey:",name,_1f); +objj_msgSend(_27,"encodeObject:forKey:",message,_20); +objj_msgSend(_27,"encodeObject:forKey:",_userInfo,_21); +} +})]); +Error.prototype.isa=CPException; +Error.prototype._userInfo=NULL; +objj_msgSend(CPException,"initialize"); +_CPRaiseInvalidAbstractInvocation=function(_28,_29){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"*** -"+sel_getName(_29)+" cannot be sent to an abstract object of class "+objj_msgSend(_28,"className")+": Create a concrete instance!"); +}; +_CPReportLenientDeprecation=function(_2a,_2b,_2c){ +CPLog.warn("["+CPStringFromClass(_2a)+" "+CPStringFromSelector(_2b)+"] is deprecated, using "+CPStringFromSelector(_2c)+" instead."); +}; +p;21;CPFunctionOperation.jt;1266;@STATIC;1.0;I;21;Foundation/CPObject.ji;13;CPOperation.jt;1203; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("CPOperation.j",YES); +var _1=objj_allocateClassPair(CPOperation,"CPFunctionOperation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_functions")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("main"),function(_3,_4){ +with(_3){ +if(_functions&&objj_msgSend(_functions,"count")>0){ +var i=0; +for(i=0;i0){ +_ranges=[_a]; +}else{ +_ranges=[]; +} +} +return _8; +} +}),new objj_method(sel_getUid("initWithIndexSet:"),function(_b,_c,_d){ +with(_b){ +_b=objj_msgSendSuper({receiver:_b,super_class:objj_getClass("CPIndexSet").super_class},"init"); +if(_b){ +_count=objj_msgSend(_d,"count"); +_ranges=[]; +var _e=_d._ranges,_f=_e.length; +while(_f--){ +_ranges[_f]={location:(_e[_f]).location,length:(_e[_f]).length}; +} +} +return _b; +} +}),new objj_method(sel_getUid("isEqualToIndexSet:"),function(_10,_11,_12){ +with(_10){ +if(!_12){ +return NO; +} +if(_10===_12){ +return YES; +} +var _13=_ranges.length,_14=_12._ranges; +if(_13!==_14.length||_count!==_12._count){ +return NO; +} +while(_13--){ +if(!CPEqualRanges(_ranges[_13],_14[_13])){ +return NO; +} +} +return YES; +} +}),new objj_method(sel_getUid("containsIndex:"),function(_15,_16,_17){ +with(_15){ +return _18(_ranges,_17)!==CPNotFound; +} +}),new objj_method(sel_getUid("containsIndexesInRange:"),function(_19,_1a,_1b){ +with(_19){ +if(_1b.length<=0){ +return NO; +} +if(_count<_1b.length){ +return NO; +} +var _1c=_18(_ranges,_1b.location); +if(_1c===CPNotFound){ +return NO; +} +var _1d=_ranges[_1c]; +return CPIntersectionRange(_1d,_1b).length===_1b.length; +} +}),new objj_method(sel_getUid("containsIndexes:"),function(_1e,_1f,_20){ +with(_1e){ +var _21=_20._count; +if(_21<=0){ +return YES; +} +if(_count<_21){ +return NO; +} +var _22=_20._ranges,_23=_22.length; +while(_23--){ +if(!objj_msgSend(_1e,"containsIndexesInRange:",_22[_23])){ +return NO; +} +} +return YES; +} +}),new objj_method(sel_getUid("intersectsIndexesInRange:"),function(_24,_25,_26){ +with(_24){ +if(_count<=0){ +return NO; +} +var _27=_28(_ranges,_26.location); +if(FLOOR(_27)===_27){ +return YES; +} +var _29=_28(_ranges,((_26).location+(_26).length)-1); +if(FLOOR(_29)===_29){ +return YES; +} +return _27!==_29; +} +}),new objj_method(sel_getUid("count"),function(_2a,_2b){ +with(_2a){ +return _count; +} +}),new objj_method(sel_getUid("firstIndex"),function(_2c,_2d){ +with(_2c){ +if(_count>0){ +return _ranges[0].location; +} +return CPNotFound; +} +}),new objj_method(sel_getUid("lastIndex"),function(_2e,_2f){ +with(_2e){ +if(_count>0){ +return ((_ranges[_ranges.length-1]).location+(_ranges[_ranges.length-1]).length)-1; +} +return CPNotFound; +} +}),new objj_method(sel_getUid("indexGreaterThanIndex:"),function(_30,_31,_32){ +with(_30){ +++_32; +var _33=_28(_ranges,_32); +if(_33===CPNotFound){ +return CPNotFound; +} +_33=CEIL(_33); +if(_33>=_ranges.length){ +return CPNotFound; +} +var _34=_ranges[_33]; +if(CPLocationInRange(_32,_34)){ +return _32; +} +return _34.location; +} +}),new objj_method(sel_getUid("indexLessThanIndex:"),function(_35,_36,_37){ +with(_35){ +--_37; +var _38=_28(_ranges,_37); +if(_38===CPNotFound){ +return CPNotFound; +} +_38=FLOOR(_38); +if(_38<0){ +return CPNotFound; +} +var _39=_ranges[_38]; +if(CPLocationInRange(_37,_39)){ +return _37; +} +return ((_39).location+(_39).length)-1; +} +}),new objj_method(sel_getUid("indexGreaterThanOrEqualToIndex:"),function(_3a,_3b,_3c){ +with(_3a){ +return objj_msgSend(_3a,"indexGreaterThanIndex:",_3c-1); +} +}),new objj_method(sel_getUid("indexLessThanOrEqualToIndex:"),function(_3d,_3e,_3f){ +with(_3d){ +return objj_msgSend(_3d,"indexLessThanIndex:",_3f+1); +} +}),new objj_method(sel_getUid("getIndexes:maxCount:inIndexRange:"),function(_40,_41,_42,_43,_44){ +with(_40){ +if(!_count||_43===0||_44&&!_44.length){ +if(_44){ +_44.length=0; +} +return 0; +} +var _45=0; +if(_44){ +var _46=_44.location,_47=((_44).location+(_44).length)-1,_48=CEIL(_28(_ranges,_46)),_49=FLOOR(_28(_ranges,_47)); +}else{ +var _46=objj_msgSend(_40,"firstIndex"),_47=objj_msgSend(_40,"lastIndex"),_48=0,_49=_ranges.length-1; +} +while(_48<=_49){ +var _4a=_ranges[_48],_4b=MAX(_46,_4a.location),_4c=MIN(_47+1,((_4a).location+(_4a).length)); +for(;_4b<_4c;++_4b){ +_42[_45++]=_4b; +if(_45===_43){ +if(_44){ +_44.location=_4b+1; +_44.length=_47+1-_4b-1; +} +return _43; +} +} +++_48; +} +if(_44){ +_44.location=CPNotFound; +_44.length=0; +} +return _45; +} +}),new objj_method(sel_getUid("description"),function(_4d,_4e){ +with(_4d){ +var _4f=objj_msgSendSuper({receiver:_4d,super_class:objj_getClass("CPIndexSet").super_class},"description"); +if(_count){ +var _50=0,_51=_ranges.length; +_4f+="[number of indexes: "+_count+" (in "+_51; +if(_51===1){ +_4f+=" range), indexes: ("; +}else{ +_4f+=" ranges), indexes: ("; +} +for(;_50<_51;++_50){ +var _52=_ranges[_50]; +_4f+=_52.location; +if(_52.length>1){ +_4f+="-"+(CPMaxRange(_52)-1); +} +if(_50+1<_51){ +_4f+=" "; +} +} +_4f+=")]"; +}else{ +_4f+="(no indexes)"; +} +return _4f; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("indexSet"),function(_53,_54){ +with(_53){ +return objj_msgSend(objj_msgSend(_53,"alloc"),"init"); +} +}),new objj_method(sel_getUid("indexSetWithIndex:"),function(_55,_56,_57){ +with(_55){ +return objj_msgSend(objj_msgSend(_55,"alloc"),"initWithIndex:",_57); +} +}),new objj_method(sel_getUid("indexSetWithIndexesInRange:"),function(_58,_59,_5a){ +with(_58){ +return objj_msgSend(objj_msgSend(_58,"alloc"),"initWithIndexesInRange:",_5a); +} +})]); +var _1=objj_getClass("CPIndexSet"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPIndexSet\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("addIndex:"),function(_5b,_5c,_5d){ +with(_5b){ +objj_msgSend(_5b,"addIndexesInRange:",{location:(_5d),length:1}); +} +}),new objj_method(sel_getUid("addIndexes:"),function(_5e,_5f,_60){ +with(_5e){ +var _61=_60._ranges,_62=_61.length; +while(_62--){ +objj_msgSend(_5e,"addIndexesInRange:",_61[_62]); +} +} +}),new objj_method(sel_getUid("addIndexesInRange:"),function(_63,_64,_65){ +with(_63){ +if(_65.length<=0){ +return; +} +if(_count<=0){ +_count=_65.length; +_ranges=[_65]; +return; +} +var _66=_ranges.length,_67=_28(_ranges,_65.location-1),_68=CEIL(_67); +if(_68===_67&&_68<_66){ +_65=CPUnionRange(_65,_ranges[_68]); +} +var _69=_28(_ranges,CPMaxRange(_65)),_6a=FLOOR(_69); +if(_6a===_69&&_6a>=0){ +_65=CPUnionRange(_65,_ranges[_6a]); +} +var _6b=_6a-_68+1; +if(_6b===_ranges.length){ +_ranges=[_65]; +_count=_65.length; +}else{ +if(_6b===1){ +if(_68<_ranges.length){ +_count-=_ranges[_68].length; +} +_count+=_65.length; +_ranges[_68]=_65; +}else{ +if(_6b>0){ +var _6c=_68,_6d=_68+_6b-1; +for(;_6c<=_6d;++_6c){ +_count-=_ranges[_6c].length; +} +objj_msgSend(_ranges,"removeObjectsInRange:",{location:(_68),length:_6b}); +} +objj_msgSend(_ranges,"insertObject:atIndex:",_65,_68); +_count+=_65.length; +} +} +} +}),new objj_method(sel_getUid("removeIndex:"),function(_6e,_6f,_70){ +with(_6e){ +objj_msgSend(_6e,"removeIndexesInRange:",{location:(_70),length:1}); +} +}),new objj_method(sel_getUid("removeIndexes:"),function(_71,_72,_73){ +with(_71){ +var _74=_73._ranges,_75=_74.length; +while(_75--){ +objj_msgSend(_71,"removeIndexesInRange:",_74[_75]); +} +} +}),new objj_method(sel_getUid("removeAllIndexes"),function(_76,_77){ +with(_76){ +_ranges=[]; +_count=0; +} +}),new objj_method(sel_getUid("removeIndexesInRange:"),function(_78,_79,_7a){ +with(_78){ +if(_7a.length<=0){ +return; +} +if(_count<=0){ +return; +} +var _7b=_ranges.length,_7c=_28(_ranges,_7a.location),_7d=CEIL(_7c); +if(_7c===_7d&&_7d<_7b){ +var _7e=_ranges[_7d]; +if(_7a.location!==_7e.location){ +var _7f=CPMaxRange(_7a),_80=CPMaxRange(_7e); +_7e.length=_7a.location-_7e.location; +if(_7f<_80){ +_count-=_7a.length; +objj_msgSend(_ranges,"insertObject:atIndex:",{location:(_7f),length:_80-_7f},_7d+1); +return; +}else{ +_count-=_80-_7a.location; +_7d+=1; +} +} +} +var _81=_28(_ranges,CPMaxRange(_7a)-1),_82=FLOOR(_81); +if(_81===_82&&_82>=0){ +var _7f=CPMaxRange(_7a),_7e=_ranges[_82],_80=CPMaxRange(_7e); +if(_7f!==_80){ +_count-=_7f-_7e.location; +_82-=1; +_7e.location=_7f; +_7e.length=_80-_7f; +} +} +var _83=_82-_7d+1; +if(_83>0){ +var _84=_7d,_85=_7d+_83-1; +for(;_84<=_85;++_84){ +_count-=_ranges[_84].length; +} +objj_msgSend(_ranges,"removeObjectsInRange:",{location:(_7d),length:_83}); +} +} +}),new objj_method(sel_getUid("shiftIndexesStartingAtIndex:by:"),function(_86,_87,_88,_89){ +with(_86){ +if(!_count||_89==0){ +return; +} +var i=_ranges.length-1,_8a=CPMakeRange(CPNotFound,0); +for(;i>=0;--i){ +var _8b=_ranges[i],_8c=CPMaxRange(_8b); +if(_88>_8c){ +break; +} +if(_88>_8b.location&&_88<_8c){ +_8a=CPMakeRange(_88+_89,_8c-_88); +_8b.length=_88-_8b.location; +if(_89>0){ +objj_msgSend(_ranges,"insertObject:atIndex:",_8a,i+1); +}else{ +if(_8a.location<0){ +_8a.length=CPMaxRange(_8a); +_8a.location=0; +} +} +break; +} +if((_8b.location+=_89)<0){ +_8b.length=CPMaxRange(_8b); +_8b.location=0; +} +} +if(_89<0){ +var j=i+1,_8d=_ranges.length,_8e=[]; +for(;j<_8d;++j){ +objj_msgSend(_8e,"addObject:",_ranges[j]); +_count-=_ranges[j].length; +} +if((j=i+1)<_8d){ +objj_msgSend(_ranges,"removeObjectsInRange:",CPMakeRange(j,_8d-j)); +for(j=0,_8d=_8e.length;j<_8d;++j){ +objj_msgSend(_86,"addIndexesInRange:",_8e[j]); +} +} +if(_8a.location!=CPNotFound){ +objj_msgSend(_86,"addIndexesInRange:",_8a); +} +} +} +})]); +var _8f="CPIndexSetCountKey",_90="CPIndexSetRangeStringsKey"; +var _1=objj_getClass("CPIndexSet"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPIndexSet\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_91,_92,_93){ +with(_91){ +_91=objj_msgSendSuper({receiver:_91,super_class:objj_getClass("CPIndexSet").super_class},"init"); +if(_91){ +_count=objj_msgSend(_93,"decodeIntForKey:",_8f); +_ranges=[]; +var _94=objj_msgSend(_93,"decodeObjectForKey:",_90),_95=0,_96=_94.length; +for(;_95<_96;++_95){ +_ranges.push(CPRangeFromString(_94[_95])); +} +} +return _91; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_97,_98,_99){ +with(_97){ +objj_msgSend(_99,"encodeInt:forKey:",_count,_8f); +var _9a=0,_9b=_ranges.length,_9c=[]; +for(;_9a<_9b;++_9a){ +_9c[_9a]=CPStringFromRange(_ranges[_9a]); +} +objj_msgSend(_99,"encodeObject:forKey:",_9c,_90); +} +})]); +var _1=objj_getClass("CPIndexSet"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPIndexSet\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("copy"),function(_9d,_9e){ +with(_9d){ +return objj_msgSend(objj_msgSend(objj_msgSend(_9d,"class"),"alloc"),"initWithIndexSet:",_9d); +} +}),new objj_method(sel_getUid("mutableCopy"),function(_9f,_a0){ +with(_9f){ +return objj_msgSend(objj_msgSend(objj_msgSend(_9f,"class"),"alloc"),"initWithIndexSet:",_9f); +} +})]); +var _1=objj_allocateClassPair(CPIndexSet,"CPMutableIndexSet"),_2=_1.isa; +objj_registerClassPair(_1); +var _18=function(_a1,_a2){ +var low=0,_a3=_a1.length-1; +while(low<=_a3){ +var _a4=FLOOR(low+(_a3-low)/2),_a5=_a1[_a4]; +if(_a2<_a5.location){ +_a3=_a4-1; +}else{ +if(_a2>=CPMaxRange(_a5)){ +low=_a4+1; +}else{ +return _a4; +} +} +} +return CPNotFound; +}; +var _28=function(_a6,_a7){ +var _a8=_a6.length; +if(_a8<=0){ +return CPNotFound; +} +var low=0,_a9=_a8*2; +while(low<=_a9){ +var _aa=FLOOR(low+(_a9-low)/2),_ab=_aa/2,_ac=FLOOR(_ab); +if(_ab===_ac){ +if(_ac-1>=0&&_a7=_a6[_ac].location){ +low=_aa+1; +}else{ +return _ac-0.5; +} +} +}else{ +var _ad=_a6[_ac]; +if(_a7<_ad.location){ +_a9=_aa-1; +}else{ +if(_a7>=CPMaxRange(_ad)){ +low=_aa+1; +}else{ +return _ac; +} +} +} +} +return CPNotFound; +}; +p;14;CPInvocation.jt;2659;@STATIC;1.0;i;10;CPObject.ji;13;CPException.jt;2607; +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPException.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPInvocation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_returnValue"),new objj_ivar("_arguments"),new objj_ivar("_methodSignature")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithMethodSignature:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPInvocation").super_class},"init"); +if(_3){ +_arguments=[]; +_methodSignature=_5; +} +return _3; +} +}),new objj_method(sel_getUid("setSelector:"),function(_6,_7,_8){ +with(_6){ +_arguments[1]=_8; +} +}),new objj_method(sel_getUid("selector"),function(_9,_a){ +with(_9){ +return _arguments[1]; +} +}),new objj_method(sel_getUid("setTarget:"),function(_b,_c,_d){ +with(_b){ +_arguments[0]=_d; +} +}),new objj_method(sel_getUid("target"),function(_e,_f){ +with(_e){ +return _arguments[0]; +} +}),new objj_method(sel_getUid("setArgument:atIndex:"),function(_10,_11,_12,_13){ +with(_10){ +_arguments[_13]=_12; +} +}),new objj_method(sel_getUid("argumentAtIndex:"),function(_14,_15,_16){ +with(_14){ +return _arguments[_16]; +} +}),new objj_method(sel_getUid("setReturnValue:"),function(_17,_18,_19){ +with(_17){ +_returnValue=_19; +} +}),new objj_method(sel_getUid("returnValue"),function(_1a,_1b){ +with(_1a){ +return _returnValue; +} +}),new objj_method(sel_getUid("invoke"),function(_1c,_1d){ +with(_1c){ +_returnValue=objj_msgSend.apply(objj_msgSend,_arguments); +} +}),new objj_method(sel_getUid("invokeWithTarget:"),function(_1e,_1f,_20){ +with(_1e){ +_arguments[0]=_20; +_returnValue=objj_msgSend.apply(objj_msgSend,_arguments); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("invocationWithMethodSignature:"),function(_21,_22,_23){ +with(_21){ +return objj_msgSend(objj_msgSend(_21,"alloc"),"initWithMethodSignature:",_23); +} +})]); +var _24="CPInvocationArguments",_25="CPInvocationReturnValue"; +var _1=objj_getClass("CPInvocation"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPInvocation\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_26,_27,_28){ +with(_26){ +_26=objj_msgSendSuper({receiver:_26,super_class:objj_getClass("CPInvocation").super_class},"init"); +if(_26){ +_returnValue=objj_msgSend(_28,"decodeObjectForKey:",_25); +_arguments=objj_msgSend(_28,"decodeObjectForKey:",_24); +} +return _26; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_29,_2a,_2b){ +with(_29){ +objj_msgSend(_2b,"encodeObject:forKey:",_returnValue,_25); +objj_msgSend(_2b,"encodeObject:forKey:",_arguments,_24); +} +})]); +p;23;CPInvocationOperation.jt;1522;@STATIC;1.0;I;21;Foundation/CPObject.jI;25;Foundation/CPInvocation.ji;13;CPOperation.jt;1429; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPInvocation.j",NO); +objj_executeFile("CPOperation.j",YES); +var _1=objj_allocateClassPair(CPOperation,"CPInvocationOperation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_invocation")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("main"),function(_3,_4){ +with(_3){ +if(_invocation){ +objj_msgSend(_invocation,"invoke"); +} +} +}),new objj_method(sel_getUid("init"),function(_5,_6){ +with(_5){ +if(_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPInvocationOperation").super_class},"init")){ +_invocation=nil; +} +return _5; +} +}),new objj_method(sel_getUid("initWithInvocation:"),function(_7,_8,_9){ +with(_7){ +if(_7=objj_msgSend(_7,"init")){ +_invocation=_9; +} +return _7; +} +}),new objj_method(sel_getUid("initWithTarget:selector:object:"),function(_a,_b,_c,_d,_e){ +with(_a){ +var _f=objj_msgSend(objj_msgSend(CPInvocation,"alloc"),"initWithMethodSignature:",nil); +objj_msgSend(_f,"setTarget:",_c); +objj_msgSend(_f,"setSelector:",_d); +objj_msgSend(_f,"setArgument:atIndex:",_e,2); +return objj_msgSend(_a,"initWithInvocation:",_f); +} +}),new objj_method(sel_getUid("invocation"),function(_10,_11){ +with(_10){ +return _invocation; +} +}),new objj_method(sel_getUid("result"),function(_12,_13){ +with(_12){ +if(objj_msgSend(_12,"isFinished")&&_invocation){ +return objj_msgSend(_invocation,"returnValue"); +} +return nil; +} +})]); +p;19;CPJSONPConnection.jt;3382;@STATIC;1.0;I;21;Foundation/CPObject.jt;3337; +objj_executeFile("Foundation/CPObject.j",NO); +CPJSONPConnectionCallbacks={}; +CPJSONPCallbackReplacementString="${JSONP_CALLBACK}"; +var _1=objj_allocateClassPair(CPObject,"CPJSONPConnection"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_request"),new objj_ivar("_delegate"),new objj_ivar("_callbackParameter"),new objj_ivar("_scriptTag")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithRequest:callback:delegate:"),function(_3,_4,_5,_6,_7){ +with(_3){ +return objj_msgSend(_3,"initWithRequest:callback:delegate:startImmediately:",_5,_6,_7,NO); +} +}),new objj_method(sel_getUid("initWithRequest:callback:delegate:startImmediately:"),function(_8,_9,_a,_b,_c,_d){ +with(_8){ +_8=objj_msgSendSuper({receiver:_8,super_class:objj_getClass("CPJSONPConnection").super_class},"init"); +_request=_a; +_delegate=_c; +_callbackParameter=_b; +if(!_callbackParameter&&objj_msgSend(objj_msgSend(_request,"URL"),"absoluteString").indexOf(CPJSONPCallbackReplacementString)<0){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"JSONP source specified without callback parameter or CPJSONPCallbackReplacementString in URL."); +} +if(_d){ +objj_msgSend(_8,"start"); +} +return _8; +} +}),new objj_method(sel_getUid("start"),function(_e,_f){ +with(_e){ +try{ +CPJSONPConnectionCallbacks["callback"+objj_msgSend(_e,"UID")]=function(_10){ +objj_msgSend(_delegate,"connection:didReceiveData:",_e,_10); +objj_msgSend(_e,"removeScriptTag"); +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +}; +var _11=document.getElementsByTagName("head").item(0),_12=objj_msgSend(objj_msgSend(_request,"URL"),"absoluteString"); +if(_callbackParameter){ +_12+=(_12.indexOf("?")<0)?"?":"&"; +_12+=_callbackParameter+"=CPJSONPConnectionCallbacks.callback"+objj_msgSend(_e,"UID"); +}else{ +if(_12.indexOf(CPJSONPCallbackReplacementString)>=0){ +_12=objj_msgSend(_12,"stringByReplacingOccurrencesOfString:withString:",CPJSONPCallbackReplacementString,"CPJSONPConnectionCallbacks.callback"+objj_msgSend(_e,"UID")); +}else{ +return; +} +} +_scriptTag=document.createElement("script"); +_scriptTag.setAttribute("type","text/javascript"); +_scriptTag.setAttribute("charset","utf-8"); +_scriptTag.setAttribute("src",_12); +_11.appendChild(_scriptTag); +} +catch(exception){ +objj_msgSend(_delegate,"connection:didFailWithError:",_e,exception); +objj_msgSend(_e,"removeScriptTag"); +} +} +}),new objj_method(sel_getUid("removeScriptTag"),function(_13,_14){ +with(_13){ +var _15=document.getElementsByTagName("head").item(0); +if(_scriptTag&&_scriptTag.parentNode==_15){ +_15.removeChild(_scriptTag); +} +CPJSONPConnectionCallbacks["callback"+objj_msgSend(_13,"UID")]=nil; +delete CPJSONPConnectionCallbacks["callback"+objj_msgSend(_13,"UID")]; +} +}),new objj_method(sel_getUid("cancel"),function(_16,_17){ +with(_16){ +objj_msgSend(_16,"removeScriptTag"); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("sendRequest:callback:delegate:"),function(_18,_19,_1a,_1b,_1c){ +with(_18){ +return objj_msgSend(_18,"connectionWithRequest:callback:delegate:",_1a,_1b,_1c); +} +}),new objj_method(sel_getUid("connectionWithRequest:callback:delegate:"),function(_1d,_1e,_1f,_20,_21){ +with(_1d){ +return objj_msgSend(objj_msgSend(objj_msgSend(_1d,"class"),"alloc"),"initWithRequest:callback:delegate:startImmediately:",_1f,_20,_21,YES); +} +})]); +p;17;CPKeyedArchiver.jt;10342;@STATIC;1.0;i;8;CPData.ji;9;CPCoder.ji;9;CPArray.ji;10;CPString.ji;10;CPNumber.ji;14;CPDictionary.ji;9;CPValue.jt;10222; +objj_executeFile("CPData.j",YES); +objj_executeFile("CPCoder.j",YES); +objj_executeFile("CPArray.j",YES); +objj_executeFile("CPString.j",YES); +objj_executeFile("CPNumber.j",YES); +objj_executeFile("CPDictionary.j",YES); +objj_executeFile("CPValue.j",YES); +var _1=nil; +var _2=1,_3=2,_4=4,_5=8,_6=16; +var _7="$null",_8=nil,_9="CP$UID",_a="$top",_b="$objects",_c="$archiver",_d="$version",_e="$classname",_f="$classes",_10="$class"; +var _11=Nil,_12=Nil; +var _13=objj_allocateClassPair(CPValue,"_CPKeyedArchiverValue"),_14=_13.isa; +objj_registerClassPair(_13); +var _13=objj_allocateClassPair(CPCoder,"CPKeyedArchiver"),_14=_13.isa; +class_addIvars(_13,[new objj_ivar("_delegate"),new objj_ivar("_delegateSelectors"),new objj_ivar("_data"),new objj_ivar("_objects"),new objj_ivar("_UIDs"),new objj_ivar("_conditionalUIDs"),new objj_ivar("_replacementObjects"),new objj_ivar("_replacementClassNames"),new objj_ivar("_plistObject"),new objj_ivar("_plistObjects"),new objj_ivar("_outputFormat")]); +objj_registerClassPair(_13); +class_addMethods(_13,[new objj_method(sel_getUid("initForWritingWithMutableData:"),function(_15,_16,_17){ +with(_15){ +_15=objj_msgSendSuper({receiver:_15,super_class:objj_getClass("CPKeyedArchiver").super_class},"init"); +if(_15){ +_data=_17; +_objects=[]; +_UIDs=objj_msgSend(CPDictionary,"dictionary"); +_conditionalUIDs=objj_msgSend(CPDictionary,"dictionary"); +_replacementObjects=objj_msgSend(CPDictionary,"dictionary"); +_data=_17; +_plistObject=objj_msgSend(CPDictionary,"dictionary"); +_plistObjects=objj_msgSend(CPArray,"arrayWithObject:",_7); +} +return _15; +} +}),new objj_method(sel_getUid("finishEncoding"),function(_18,_19){ +with(_18){ +if(_delegate&&_delegateSelectors&_6){ +objj_msgSend(_delegate,"archiverWillFinish:",_18); +} +var i=0,_1a=_plistObject,_1b=[]; +for(;i<_objects.length;++i){ +var _1c=_objects[i],_1d=objj_msgSend(_1c,"classForKeyedArchiver"); +_plistObject=_plistObjects[objj_msgSend(_UIDs,"objectForKey:",objj_msgSend(_1c,"UID"))]; +objj_msgSend(_1c,"encodeWithCoder:",_18); +if(_delegate&&_delegateSelectors&_2){ +objj_msgSend(_delegate,"archiver:didEncodeObject:",_18,_1c); +} +} +_plistObject=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_plistObject,"setObject:forKey:",_1a,_a); +objj_msgSend(_plistObject,"setObject:forKey:",_plistObjects,_b); +objj_msgSend(_plistObject,"setObject:forKey:",objj_msgSend(_18,"className"),_c); +objj_msgSend(_plistObject,"setObject:forKey:","100000",_d); +objj_msgSend(_data,"setPlistObject:",_plistObject); +if(_delegate&&_delegateSelectors&_5){ +objj_msgSend(_delegate,"archiverDidFinish:",_18); +} +} +}),new objj_method(sel_getUid("outputFormat"),function(_1e,_1f){ +with(_1e){ +return _outputFormat; +} +}),new objj_method(sel_getUid("setOutputFormat:"),function(_20,_21,_22){ +with(_20){ +_outputFormat=_22; +} +}),new objj_method(sel_getUid("encodeBool:forKey:"),function(_23,_24,_25,_26){ +with(_23){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_23,_25,NO),_26); +} +}),new objj_method(sel_getUid("encodeDouble:forKey:"),function(_28,_29,_2a,_2b){ +with(_28){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_28,_2a,NO),_2b); +} +}),new objj_method(sel_getUid("encodeFloat:forKey:"),function(_2c,_2d,_2e,_2f){ +with(_2c){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_2c,_2e,NO),_2f); +} +}),new objj_method(sel_getUid("encodeInt:forKey:"),function(_30,_31,_32,_33){ +with(_30){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_30,_32,NO),_33); +} +}),new objj_method(sel_getUid("setDelegate:"),function(_34,_35,_36){ +with(_34){ +_delegate=_36; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("archiver:didEncodeObject:"))){ +_delegateSelectors|=_2; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("archiver:willEncodeObject:"))){ +_delegateSelectors|=_3; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("archiver:willReplaceObject:withObject:"))){ +_delegateSelectors|=_4; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("archiver:didFinishEncoding:"))){ +_delegateSelectors|=_CPKeyedArchiverDidFinishEncodingSelector; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("archiver:willFinishEncoding:"))){ +_delegateSelectors|=_CPKeyedArchiverWillFinishEncodingSelector; +} +} +}),new objj_method(sel_getUid("delegate"),function(_37,_38){ +with(_37){ +return _delegate; +} +}),new objj_method(sel_getUid("encodePoint:forKey:"),function(_39,_3a,_3b,_3c){ +with(_39){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_39,CPStringFromPoint(_3b),NO),_3c); +} +}),new objj_method(sel_getUid("encodeRect:forKey:"),function(_3d,_3e,_3f,_40){ +with(_3d){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_3d,CPStringFromRect(_3f),NO),_40); +} +}),new objj_method(sel_getUid("encodeSize:forKey:"),function(_41,_42,_43,_44){ +with(_41){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_41,CPStringFromSize(_43),NO),_44); +} +}),new objj_method(sel_getUid("encodeConditionalObject:forKey:"),function(_45,_46,_47,_48){ +with(_45){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_45,_47,YES),_48); +} +}),new objj_method(sel_getUid("encodeNumber:forKey:"),function(_49,_4a,_4b,_4c){ +with(_49){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_49,_4b,NO),_4c); +} +}),new objj_method(sel_getUid("encodeObject:forKey:"),function(_4d,_4e,_4f,_50){ +with(_4d){ +objj_msgSend(_plistObject,"setObject:forKey:",_27(_4d,_4f,NO),_50); +} +}),new objj_method(sel_getUid("_encodeArrayOfObjects:forKey:"),function(_51,_52,_53,_54){ +with(_51){ +var i=0,_55=_53.length,_56=objj_msgSend(CPArray,"arrayWithCapacity:",_55); +for(;i<_55;++i){ +objj_msgSend(_56,"addObject:",_27(_51,_53[i],NO)); +} +objj_msgSend(_plistObject,"setObject:forKey:",_56,_54); +} +}),new objj_method(sel_getUid("_encodeDictionaryOfObjects:forKey:"),function(_57,_58,_59,_5a){ +with(_57){ +var key,_5b=objj_msgSend(_59,"keyEnumerator"),_5c=objj_msgSend(CPDictionary,"dictionary"); +while(key=objj_msgSend(_5b,"nextObject")){ +objj_msgSend(_5c,"setObject:forKey:",_27(_57,objj_msgSend(_59,"objectForKey:",key),NO),key); +} +objj_msgSend(_plistObject,"setObject:forKey:",_5c,_5a); +} +}),new objj_method(sel_getUid("setClassName:forClass:"),function(_5d,_5e,_5f,_60){ +with(_5d){ +if(!_replacementClassNames){ +_replacementClassNames=objj_msgSend(CPDictionary,"dictionary"); +} +objj_msgSend(_replacementClassNames,"setObject:forKey:",_5f,CPStringFromClass(_60)); +} +}),new objj_method(sel_getUid("classNameForClass:"),function(_61,_62,_63){ +with(_61){ +if(!_replacementClassNames){ +return _63.name; +} +var _64=objj_msgSend(_replacementClassNames,"objectForKey:",CPStringFromClass(aClassName)); +return _64?_64:_63.name; +} +})]); +class_addMethods(_14,[new objj_method(sel_getUid("initialize"),function(_65,_66){ +with(_65){ +if(_65!=objj_msgSend(CPKeyedArchiver,"class")){ +return; +} +_11=objj_msgSend(CPString,"class"); +_12=objj_msgSend(CPNumber,"class"); +_8=objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",0,_9); +} +}),new objj_method(sel_getUid("allowsKeyedCoding"),function(_67,_68){ +with(_67){ +return YES; +} +}),new objj_method(sel_getUid("archivedDataWithRootObject:"),function(_69,_6a,_6b){ +with(_69){ +var _6c=objj_msgSend(CPData,"dataWithPlistObject:",nil),_6d=objj_msgSend(objj_msgSend(_69,"alloc"),"initForWritingWithMutableData:",_6c); +objj_msgSend(_6d,"encodeObject:forKey:",_6b,"root"); +objj_msgSend(_6d,"finishEncoding"); +return _6c; +} +}),new objj_method(sel_getUid("setClassName:forClass:"),function(_6e,_6f,_70,_71){ +with(_6e){ +if(!_1){ +_1=objj_msgSend(CPDictionary,"dictionary"); +} +objj_msgSend(_1,"setObject:forKey:",_70,CPStringFromClass(_71)); +} +}),new objj_method(sel_getUid("classNameForClass:"),function(_72,_73,_74){ +with(_72){ +if(!_1){ +return _74.name; +} +var _75=objj_msgSend(_1,"objectForKey:",CPStringFromClass(aClassName)); +return _75?_75:_74.name; +} +})]); +var _27=function(_76,_77,_78){ +if(_77!==nil&&!_77.isa){ +_77=objj_msgSend(_CPKeyedArchiverValue,"valueWithJSObject:",_77); +} +var _79=objj_msgSend(_77,"UID"),_7a=objj_msgSend(_76._replacementObjects,"objectForKey:",_79); +if(_7a===nil){ +_7a=objj_msgSend(_77,"replacementObjectForKeyedArchiver:",_76); +if(_76._delegate){ +if(_7a!==_77&&_76._delegateSelectors&_4){ +objj_msgSend(_76._delegate,"archiver:willReplaceObject:withObject:",_76,_77,_7a); +} +if(_76._delegateSelectors&_3){ +_77=objj_msgSend(_76._delegate,"archiver:willEncodeObject:",_76,_7a); +if(_77!==_7a&&_76._delegateSelectors&_4){ +objj_msgSend(_76._delegate,"archiver:willReplaceObject:withObject:",_76,_7a,_77); +} +_7a=_77; +} +} +objj_msgSend(_76._replacementObjects,"setObject:forKey:",_7a,_79); +} +if(_7a===nil){ +return _8; +} +var UID=objj_msgSend(_76._UIDs,"objectForKey:",_79=objj_msgSend(_7a,"UID")); +if(UID===nil){ +if(_78){ +if((UID=objj_msgSend(_76._conditionalUIDs,"objectForKey:",_79))===nil){ +objj_msgSend(_76._conditionalUIDs,"setObject:forKey:",UID=objj_msgSend(_76._plistObjects,"count"),_79); +objj_msgSend(_76._plistObjects,"addObject:",_7); +} +}else{ +var _7b=objj_msgSend(_7a,"classForKeyedArchiver"),_7c=nil; +if((_7b===_11)||(_7b===_12)){ +_7c=_7a; +}else{ +_7c=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_76._objects,"addObject:",_7a); +var _7d=objj_msgSend(_76,"classNameForClass:",_7b); +if(!_7d){ +_7d=objj_msgSend(objj_msgSend(_76,"class"),"classNameForClass:",_7b); +} +if(!_7d){ +_7d=_7b.name; +}else{ +_7b=CPClassFromString(_7d); +} +var _7e=objj_msgSend(_76._UIDs,"objectForKey:",_7d); +if(!_7e){ +var _7f=objj_msgSend(CPDictionary,"dictionary"),_80=[]; +objj_msgSend(_7f,"setObject:forKey:",_7d,_e); +do{ +objj_msgSend(_80,"addObject:",CPStringFromClass(_7b)); +}while(_7b=objj_msgSend(_7b,"superclass")); +objj_msgSend(_7f,"setObject:forKey:",_80,_f); +_7e=objj_msgSend(_76._plistObjects,"count"); +objj_msgSend(_76._plistObjects,"addObject:",_7f); +objj_msgSend(_76._UIDs,"setObject:forKey:",_7e,_7d); +} +objj_msgSend(_7c,"setObject:forKey:",objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_7e,_9),_10); +} +UID=objj_msgSend(_76._conditionalUIDs,"objectForKey:",_79); +if(UID!==nil){ +objj_msgSend(_76._UIDs,"setObject:forKey:",UID,_79); +objj_msgSend(_76._plistObjects,"replaceObjectAtIndex:withObject:",UID,_7c); +}else{ +objj_msgSend(_76._UIDs,"setObject:forKey:",UID=objj_msgSend(_76._plistObjects,"count"),_79); +objj_msgSend(_76._plistObjects,"addObject:",_7c); +} +} +} +return objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",UID,_9); +}; +p;19;CPKeyedUnarchiver.jt;8509;@STATIC;1.0;i;9;CPCoder.ji;8;CPNull.jt;8465; +objj_executeFile("CPCoder.j",YES); +objj_executeFile("CPNull.j",YES); +CPInvalidUnarchiveOperationException="CPInvalidUnarchiveOperationException"; +var _1=1<<0,_2=1<<1,_3=1<<2,_4=1<<3,_5=1<<4,_6=1<<5; +var _7="$null"; +_CPKeyedArchiverUIDKey="CP$UID",_CPKeyedArchiverTopKey="$top",_CPKeyedArchiverObjectsKey="$objects",_CPKeyedArchiverArchiverKey="$archiver",_CPKeyedArchiverVersionKey="$version",_CPKeyedArchiverClassNameKey="$classname",_CPKeyedArchiverClassesKey="$classes",_CPKeyedArchiverClassKey="$class"; +var _8=Nil,_9=Nil,_a=Nil,_b=Nil,_c=Nil,_d=Nil,_e=Nil,_f=Nil; +var _10=objj_allocateClassPair(CPCoder,"CPKeyedUnarchiver"),_11=_10.isa; +class_addIvars(_10,[new objj_ivar("_delegate"),new objj_ivar("_delegateSelectors"),new objj_ivar("_data"),new objj_ivar("_replacementClasses"),new objj_ivar("_objects"),new objj_ivar("_archive"),new objj_ivar("_plistObject"),new objj_ivar("_plistObjects")]); +objj_registerClassPair(_10); +class_addMethods(_10,[new objj_method(sel_getUid("initForReadingWithData:"),function(_12,_13,_14){ +with(_12){ +_12=objj_msgSendSuper({receiver:_12,super_class:objj_getClass("CPKeyedUnarchiver").super_class},"init"); +if(_12){ +_archive=objj_msgSend(_14,"plistObject"); +_objects=[objj_msgSend(CPNull,"null")]; +_plistObject=objj_msgSend(_archive,"objectForKey:",_CPKeyedArchiverTopKey); +_plistObjects=objj_msgSend(_archive,"objectForKey:",_CPKeyedArchiverObjectsKey); +_replacementClasses=new CFMutableDictionary(); +} +return _12; +} +}),new objj_method(sel_getUid("containsValueForKey:"),function(_15,_16,_17){ +with(_15){ +return _plistObject.valueForKey(_17)!=nil; +} +}),new objj_method(sel_getUid("_decodeDictionaryOfObjectsForKey:"),function(_18,_19,_1a){ +with(_18){ +var _1b=_plistObject.valueForKey(_1a),_1c=(_1b!=nil)&&_1b.isa; +if(_1c===_b||_1c===_c){ +var _1d=_1b.keys(),_1e=0,_1f=_1d.length,_20=new CFMutableDictionary(); +for(;_1e<_1f;++_1e){ +var key=_1d[_1e]; +_20.setValueForKey(key,_21(_18,_1b.valueForKey(key).valueForKey(_CPKeyedArchiverUIDKey))); +} +return _20; +} +return nil; +} +}),new objj_method(sel_getUid("decodeBoolForKey:"),function(_22,_23,_24){ +with(_22){ +return objj_msgSend(_22,"decodeObjectForKey:",_24); +} +}),new objj_method(sel_getUid("decodeFloatForKey:"),function(_25,_26,_27){ +with(_25){ +return objj_msgSend(_25,"decodeObjectForKey:",_27); +} +}),new objj_method(sel_getUid("decodeDoubleForKey:"),function(_28,_29,_2a){ +with(_28){ +return objj_msgSend(_28,"decodeObjectForKey:",_2a); +} +}),new objj_method(sel_getUid("decodeIntForKey:"),function(_2b,_2c,_2d){ +with(_2b){ +return objj_msgSend(_2b,"decodeObjectForKey:",_2d); +} +}),new objj_method(sel_getUid("decodePointForKey:"),function(_2e,_2f,_30){ +with(_2e){ +var _31=objj_msgSend(_2e,"decodeObjectForKey:",_30); +if(_31){ +return CPPointFromString(_31); +}else{ +return CPPointMake(0,0); +} +} +}),new objj_method(sel_getUid("decodeRectForKey:"),function(_32,_33,_34){ +with(_32){ +var _35=objj_msgSend(_32,"decodeObjectForKey:",_34); +if(_35){ +return CPRectFromString(_35); +}else{ +return CPRectMakeZero(); +} +} +}),new objj_method(sel_getUid("decodeSizeForKey:"),function(_36,_37,_38){ +with(_36){ +var _39=objj_msgSend(_36,"decodeObjectForKey:",_38); +if(_39){ +return CPSizeFromString(_39); +}else{ +return CPSizeMake(0,0); +} +} +}),new objj_method(sel_getUid("decodeObjectForKey:"),function(_3a,_3b,_3c){ +with(_3a){ +var _3d=_plistObject.valueForKey(_3c),_3e=(_3d!=nil)&&_3d.isa; +if(_3e===_b||_3e===_c){ +return _21(_3a,_3d.valueForKey(_CPKeyedArchiverUIDKey)); +}else{ +if(_3e===_d||_3e===_e||_3e===_a){ +return _3d; +}else{ +if(_3e===_8||_3e===_9){ +var _3f=0,_40=_3d.length,_41=[]; +for(;_3f<_40;++_3f){ +_41[_3f]=_21(_3a,_3d[_3f].valueForKey(_CPKeyedArchiverUIDKey)); +} +return _41; +} +} +} +return nil; +} +}),new objj_method(sel_getUid("decodeBytesForKey:"),function(_42,_43,_44){ +with(_42){ +var _45=objj_msgSend(_42,"decodeObjectForKey:",_44),_46=_45.isa; +if(_46===_e){ +return _45.bytes; +} +return nil; +} +}),new objj_method(sel_getUid("finishDecoding"),function(_47,_48){ +with(_47){ +if(_delegateSelectors&_4){ +objj_msgSend(_delegate,"unarchiverWillFinish:",_47); +} +if(_delegateSelectors&_5){ +objj_msgSend(_delegate,"unarchiverDidFinish:",_47); +} +} +}),new objj_method(sel_getUid("delegate"),function(_49,_4a){ +with(_49){ +return _delegate; +} +}),new objj_method(sel_getUid("setDelegate:"),function(_4b,_4c,_4d){ +with(_4b){ +_delegate=_4d; +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("unarchiver:cannotDecodeObjectOfClassName:originalClasses:"))){ +_delegateSelectors|=_1; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("unarchiver:didDecodeObject:"))){ +_delegateSelectors|=_2; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("unarchiver:willReplaceObject:withObject:"))){ +_delegateSelectors|=_3; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("unarchiverWillFinish:"))){ +_delegateSelectors|=_CPKeyedUnarchiverWilFinishSelector; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("unarchiverDidFinish:"))){ +_delegateSelectors|=_5; +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("unarchiver:cannotDecodeObjectOfClassName:originalClasses:"))){ +_delegateSelectors|=_6; +} +} +}),new objj_method(sel_getUid("setClass:forClassName:"),function(_4e,_4f,_50,_51){ +with(_4e){ +_replacementClasses.setValueForKey(_51,_50); +} +}),new objj_method(sel_getUid("classForClassName:"),function(_52,_53,_54){ +with(_52){ +return _replacementClasses.valueForKey(_54); +} +}),new objj_method(sel_getUid("allowsKeyedCoding"),function(_55,_56){ +with(_55){ +return YES; +} +})]); +class_addMethods(_11,[new objj_method(sel_getUid("initialize"),function(_57,_58){ +with(_57){ +if(_57!==objj_msgSend(CPKeyedUnarchiver,"class")){ +return; +} +_8=objj_msgSend(CPArray,"class"); +_9=objj_msgSend(CPMutableArray,"class"); +_a=objj_msgSend(CPString,"class"); +_b=objj_msgSend(CPDictionary,"class"); +_c=objj_msgSend(CPMutableDictionary,"class"); +_d=objj_msgSend(CPNumber,"class"); +_e=objj_msgSend(CPData,"class"); +_f=objj_msgSend(_CPKeyedArchiverValue,"class"); +} +}),new objj_method(sel_getUid("unarchiveObjectWithData:"),function(_59,_5a,_5b){ +with(_59){ +if(!_5b){ +CPLog.error("Null data passed to -[CPKeyedUnarchiver unarchiveObjectWithData:]."); +return nil; +} +var _5c=objj_msgSend(objj_msgSend(_59,"alloc"),"initForReadingWithData:",_5b),_5d=objj_msgSend(_5c,"decodeObjectForKey:","root"); +objj_msgSend(_5c,"finishDecoding"); +return _5d; +} +}),new objj_method(sel_getUid("unarchiveObjectWithFile:"),function(_5e,_5f,_60){ +with(_5e){ +} +}),new objj_method(sel_getUid("unarchiveObjectWithFile:asynchronously:"),function(_61,_62,_63,_64){ +with(_61){ +} +})]); +var _21=function(_65,_66){ +var _67=_65._objects[_66]; +if(_67){ +if(_67===_65._objects[0]){ +return nil; +}else{ +return _67; +} +} +var _67,_68=_65._plistObjects[_66],_69=_68.isa; +if(_69===_b||_69===_c){ +var _6a=_65._plistObjects[_68.valueForKey(_CPKeyedArchiverClassKey).valueForKey(_CPKeyedArchiverUIDKey)],_6b=_6a.valueForKey(_CPKeyedArchiverClassNameKey),_6c=_6a.valueForKey(_CPKeyedArchiverClassesKey),_6d=objj_msgSend(_65,"classForClassName:",_6b); +if(!_6d){ +_6d=CPClassFromString(_6b); +} +if(!_6d&&(_65._delegateSelectors&_6)){ +_6d=objj_msgSend(_delegate,"unarchiver:cannotDecodeObjectOfClassName:originalClasses:",_65,_6b,_6c); +} +if(!_6d){ +objj_msgSend(CPException,"raise:reason:",CPInvalidUnarchiveOperationException,"-[CPKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class ("+_6b+")"); +} +var _6e=_65._plistObject; +_65._plistObject=_68; +_67=objj_msgSend(_6d,"allocWithCoder:",_65); +_65._objects[_66]=_67; +var _6f=objj_msgSend(_67,"initWithCoder:",_65); +_65._plistObject=_6e; +if(_6f!==_67){ +if(_65._delegateSelectors&_3){ +objj_msgSend(_65._delegate,"unarchiver:willReplaceObject:withObject:",_65,_67,_6f); +} +_67=_6f; +_65._objects[_66]=_6f; +} +_6f=objj_msgSend(_67,"awakeAfterUsingCoder:",_65); +if(_6f!==_67){ +if(_65._delegateSelectors&_3){ +objj_msgSend(_65._delegate,"unarchiver:willReplaceObject:withObject:",_65,_67,_6f); +} +_67=_6f; +_65._objects[_66]=_6f; +} +if(_65._delegate){ +if(_65._delegateSelectors&_2){ +_6f=objj_msgSend(_65._delegate,"unarchiver:didDecodeObject:",_65,_67); +} +if(_6f!=_67){ +if(_65._delegateSelectors&_3){ +objj_msgSend(_65._delegate,"unarchiver:willReplaceObject:withObject:",_65,_67,_6f); +} +_67=_6f; +_65._objects[_66]=_6f; +} +} +}else{ +_65._objects[_66]=_67=_68; +if(objj_msgSend(_67,"class")===_a){ +if(_67===_7){ +_65._objects[_66]=_65._objects[0]; +return nil; +}else{ +_65._objects[_66]=_67=_68; +} +} +} +if((_67!=nil)&&(_67.isa===_f)){ +_67=objj_msgSend(_67,"JSObject"); +} +return _67; +}; +p;18;CPKeyValueCoding.jt;6325;@STATIC;1.0;i;9;CPArray.ji;14;CPDictionary.ji;8;CPNull.ji;10;CPObject.ji;21;CPKeyValueObserving.ji;13;CPArray+KVO.jt;6203; +objj_executeFile("CPArray.j",YES); +objj_executeFile("CPDictionary.j",YES); +objj_executeFile("CPNull.j",YES); +objj_executeFile("CPObject.j",YES); +var _1=nil,_2=nil; +CPUndefinedKeyException="CPUndefinedKeyException"; +CPTargetObjectUserInfoKey="CPTargetObjectUserInfoKey"; +CPUnknownUserInfoKey="CPUnknownUserInfoKey"; +var _3=objj_getClass("CPObject"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPObject\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("_ivarForKey:"),function(_5,_6,_7){ +with(_5){ +var _8="_"+_7; +if(typeof _5[_8]!="undefined"){ +return _8; +} +var _9="is"+_7.charAt(0).toUpperCase()+_7.substr(1); +_8="_"+_9; +if(typeof _5[_8]!="undefined"){ +return _8; +} +_8=_7; +if(typeof _5[_8]!="undefined"){ +return _8; +} +_8=_9; +if(typeof _5[_8]!="undefined"){ +return _8; +} +return nil; +} +}),new objj_method(sel_getUid("valueForKey:"),function(_a,_b,_c){ +with(_a){ +var _d=objj_msgSend(_a,"class"),_e=objj_msgSend(_d,"_accessorForKey:",_c); +if(_e){ +return objj_msgSend(_a,_e); +} +if(objj_msgSend(_d,"accessInstanceVariablesDirectly")){ +var _f=objj_msgSend(_a,"_ivarForKey:",_c); +if(_f){ +return _a[_f]; +} +} +return objj_msgSend(_a,"valueForUndefinedKey:",_c); +} +}),new objj_method(sel_getUid("valueForKeyPath:"),function(_10,_11,_12){ +with(_10){ +var _13=_12.indexOf("."); +if(_13===-1){ +return objj_msgSend(_10,"valueForKey:",_12); +} +var _14=_12.substring(0,_13),_15=_12.substring(_13+1),_16=objj_msgSend(_10,"valueForKey:",_14); +return objj_msgSend(_16,"valueForKeyPath:",_15); +} +}),new objj_method(sel_getUid("dictionaryWithValuesForKeys:"),function(_17,_18,_19){ +with(_17){ +var _1a=0,_1b=_19.length,_1c=objj_msgSend(CPDictionary,"dictionary"); +for(;_1a<_1b;++_1a){ +var key=_19[_1a],_1d=objj_msgSend(_17,"valueForKey:",key); +if(_1d===nil){ +objj_msgSend(_1c,"setObject:forKey:",objj_msgSend(CPNull,"null"),key); +}else{ +objj_msgSend(_1c,"setObject:forKey:",_1d,key); +} +} +return _1c; +} +}),new objj_method(sel_getUid("valueForUndefinedKey:"),function(_1e,_1f,_20){ +with(_1e){ +objj_msgSend(objj_msgSend(CPException,"exceptionWithName:reason:userInfo:",CPUndefinedKeyException,objj_msgSend(_1e,"description")+" is not key value coding-compliant for the key "+_20,objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[_1e,_20],[CPTargetObjectUserInfoKey,CPUnknownUserInfoKey])),"raise"); +} +}),new objj_method(sel_getUid("setValue:forKeyPath:"),function(_21,_22,_23,_24){ +with(_21){ +if(!_24){ +_24="self"; +} +var i=0,_25=_24.split("."),_26=_25.length-1,_27=_21; +for(;i<_26;++i){ +_27=objj_msgSend(_27,"valueForKey:",_25[i]); +} +objj_msgSend(_27,"setValue:forKey:",_23,_25[i]); +} +}),new objj_method(sel_getUid("setValue:forKey:"),function(_28,_29,_2a,_2b){ +with(_28){ +var _2c=objj_msgSend(_28,"class"),_2d=objj_msgSend(_2c,"_modifierForKey:",_2b); +if(_2d){ +return objj_msgSend(_28,_2d,_2a); +} +if(objj_msgSend(_2c,"accessInstanceVariablesDirectly")){ +var _2e=objj_msgSend(_28,"_ivarForKey:",_2b); +if(_2e){ +objj_msgSend(_28,"willChangeValueForKey:",_2b); +_28[_2e]=_2a; +objj_msgSend(_28,"didChangeValueForKey:",_2b); +return; +} +} +objj_msgSend(_28,"setValue:forUndefinedKey:",_2a,_2b); +} +}),new objj_method(sel_getUid("setValue:forUndefinedKey:"),function(_2f,_30,_31,_32){ +with(_2f){ +objj_msgSend(objj_msgSend(CPException,"exceptionWithName:reason:userInfo:",CPUndefinedKeyException,objj_msgSend(_2f,"description")+" is not key value coding-compliant for the key "+_32,objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[_2f,_32],[CPTargetObjectUserInfoKey,CPUnknownUserInfoKey])),"raise"); +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("accessInstanceVariablesDirectly"),function(_33,_34){ +with(_33){ +return YES; +} +}),new objj_method(sel_getUid("_accessorForKey:"),function(_35,_36,_37){ +with(_35){ +if(!_1){ +_1=objj_msgSend(CPDictionary,"dictionary"); +} +var UID=objj_msgSend(isa,"UID"),_38=nil,_39=objj_msgSend(_1,"objectForKey:",UID); +if(_39){ +_38=objj_msgSend(_39,"objectForKey:",_37); +if(_38){ +return _38===objj_msgSend(CPNull,"null")?nil:_38; +} +}else{ +_39=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_1,"setObject:forKey:",_39,UID); +} +var _3a=_37.charAt(0).toUpperCase()+_37.substr(1); +if(objj_msgSend(_35,"instancesRespondToSelector:",_38=CPSelectorFromString("get"+_3a))||objj_msgSend(_35,"instancesRespondToSelector:",_38=CPSelectorFromString(_37))||objj_msgSend(_35,"instancesRespondToSelector:",_38=CPSelectorFromString("is"+_3a))||objj_msgSend(_35,"instancesRespondToSelector:",_38=CPSelectorFromString("_get"+_3a))||objj_msgSend(_35,"instancesRespondToSelector:",_38=CPSelectorFromString("_"+_37))||objj_msgSend(_35,"instancesRespondToSelector:",_38=CPSelectorFromString("_is"+_3a))){ +objj_msgSend(_39,"setObject:forKey:",_38,_37); +return _38; +} +objj_msgSend(_39,"setObject:forKey:",objj_msgSend(CPNull,"null"),_37); +return nil; +} +}),new objj_method(sel_getUid("_modifierForKey:"),function(_3b,_3c,_3d){ +with(_3b){ +if(!_2){ +_2=objj_msgSend(CPDictionary,"dictionary"); +} +var UID=objj_msgSend(isa,"UID"),_3e=nil,_3f=objj_msgSend(_2,"objectForKey:",UID); +if(_3f){ +_3e=objj_msgSend(_3f,"objectForKey:",_3d); +if(_3e){ +return _3e===objj_msgSend(CPNull,"null")?nil:_3e; +} +}else{ +_3f=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_2,"setObject:forKey:",_3f,UID); +} +if(_3e){ +return _3e===objj_msgSend(CPNull,"null")?nil:_3e; +} +var _40=_3d.charAt(0).toUpperCase()+_3d.substr(1)+":"; +if(objj_msgSend(_3b,"instancesRespondToSelector:",_3e=CPSelectorFromString("set"+_40))||objj_msgSend(_3b,"instancesRespondToSelector:",_3e=CPSelectorFromString("_set"+_40))){ +objj_msgSend(_3f,"setObject:forKey:",_3e,_3d); +return _3e; +} +objj_msgSend(_3f,"setObject:forKey:",objj_msgSend(CPNull,"null"),_3d); +return nil; +} +})]); +var _3=objj_getClass("CPDictionary"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPDictionary\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("valueForKey:"),function(_41,_42,_43){ +with(_41){ +return objj_msgSend(_41,"objectForKey:",_43); +} +}),new objj_method(sel_getUid("setValue:forKey:"),function(_44,_45,_46,_47){ +with(_44){ +objj_msgSend(_44,"setObject:forKey:",_46,_47); +} +})]); +objj_executeFile("CPKeyValueObserving.j",YES); +objj_executeFile("CPArray+KVO.j",YES); +p;21;CPKeyValueObserving.jt;16729;@STATIC;1.0;i;9;CPArray.ji;14;CPDictionary.ji;13;CPException.ji;8;CPNull.ji;10;CPObject.ji;7;CPSet.ji;13;CPArray+KVO.jt;16603; +objj_executeFile("CPArray.j",YES); +objj_executeFile("CPDictionary.j",YES); +objj_executeFile("CPException.j",YES); +objj_executeFile("CPNull.j",YES); +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPSet.j",YES); +var _1=objj_getClass("CPObject"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPObject\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("willChangeValueForKey:"),function(_3,_4,_5){ +with(_3){ +} +}),new objj_method(sel_getUid("didChangeValueForKey:"),function(_6,_7,_8){ +with(_6){ +} +}),new objj_method(sel_getUid("willChange:valuesAtIndexes:forKey:"),function(_9,_a,_b,_c,_d){ +with(_9){ +} +}),new objj_method(sel_getUid("didChange:valuesAtIndexes:forKey:"),function(_e,_f,_10,_11,key){ +with(_e){ +} +}),new objj_method(sel_getUid("addObserver:forKeyPath:options:context:"),function(_12,_13,_14,_15,_16,_17){ +with(_12){ +if(!_14||!_15){ +return; +} +objj_msgSend(objj_msgSend(_CPKVOProxy,"proxyForObject:",_12),"_addObserver:forKeyPath:options:context:",_14,_15,_16,_17); +} +}),new objj_method(sel_getUid("removeObserver:forKeyPath:"),function(_18,_19,_1a,_1b){ +with(_18){ +if(!_1a||!_1b){ +return; +} +objj_msgSend(_18[_1c],"_removeObserver:forKeyPath:",_1a,_1b); +} +}),new objj_method(sel_getUid("applyChange:toKeyPath:"),function(_1d,_1e,_1f,_20){ +with(_1d){ +var _21=objj_msgSend(_1f,"objectForKey:",CPKeyValueChangeKindKey); +if(_21===CPKeyValueChangeSetting){ +var _22=objj_msgSend(_1f,"objectForKey:",CPKeyValueChangeNewKey); +objj_msgSend(_1d,"setValue:forKeyPath:",_22===objj_msgSend(CPNull,"null")?nil:_22,_20); +}else{ +if(_21===CPKeyValueChangeInsertion){ +objj_msgSend(objj_msgSend(_1d,"mutableArrayValueForKeyPath:",_20),"insertObjects:atIndexes:",objj_msgSend(_1f,"objectForKey:",CPKeyValueChangeNewKey),objj_msgSend(_1f,"objectForKey:",CPKeyValueChangeIndexesKey)); +}else{ +if(_21===CPKeyValueChangeRemoval){ +objj_msgSend(objj_msgSend(_1d,"mutableArrayValueForKeyPath:",_20),"removeObjectsAtIndexes:",objj_msgSend(_1f,"objectForKey:",CPKeyValueChangeIndexesKey)); +}else{ +if(_21===CPKeyValueChangeReplacement){ +objj_msgSend(objj_msgSend(_1d,"mutableArrayValueForKeyPath:",_20),"replaceObjectAtIndexes:withObjects:",objj_msgSend(_1f,"objectForKey:",CPKeyValueChangeIndexesKey),objj_msgSend(_1f,"objectForKey:",CPKeyValueChangeNewKey)); +} +} +} +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("automaticallyNotifiesObserversForKey:"),function(_23,_24,_25){ +with(_23){ +return YES; +} +}),new objj_method(sel_getUid("keyPathsForValuesAffectingValueForKey:"),function(_26,_27,_28){ +with(_26){ +var _29=_28.charAt(0).toUpperCase()+_28.substring(1); +selector="keyPathsForValuesAffecting"+_29; +if(objj_msgSend(objj_msgSend(_26,"class"),"respondsToSelector:",selector)){ +return objj_msgSend(objj_msgSend(_26,"class"),selector); +} +return objj_msgSend(CPSet,"set"); +} +})]); +var _1=objj_getClass("CPDictionary"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPDictionary\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("inverseChangeDictionary"),function(_2a,_2b){ +with(_2a){ +var _2c=objj_msgSend(_2a,"mutableCopy"),_2d=objj_msgSend(_2a,"objectForKey:",CPKeyValueChangeKindKey); +if(_2d===CPKeyValueChangeSetting||_2d===CPKeyValueChangeReplacement){ +objj_msgSend(_2c,"setObject:forKey:",objj_msgSend(_2a,"objectForKey:",CPKeyValueChangeOldKey),CPKeyValueChangeNewKey); +objj_msgSend(_2c,"setObject:forKey:",objj_msgSend(_2a,"objectForKey:",CPKeyValueChangeNewKey),CPKeyValueChangeOldKey); +}else{ +if(_2d===CPKeyValueChangeInsertion){ +objj_msgSend(_2c,"setObject:forKey:",CPKeyValueChangeRemoval,CPKeyValueChangeKindKey); +objj_msgSend(_2c,"setObject:forKey:",objj_msgSend(_2a,"objectForKey:",CPKeyValueChangeNewKey),CPKeyValueChangeOldKey); +objj_msgSend(_2c,"removeObjectForKey:",CPKeyValueChangeNewKey); +}else{ +if(_2d===CPKeyValueChangeRemoval){ +objj_msgSend(_2c,"setObject:forKey:",CPKeyValueChangeInsertion,CPKeyValueChangeKindKey); +objj_msgSend(_2c,"setObject:forKey:",objj_msgSend(_2a,"objectForKey:",CPKeyValueChangeOldKey),CPKeyValueChangeNewKey); +objj_msgSend(_2c,"removeObjectForKey:",CPKeyValueChangeOldKey); +} +} +} +return _2c; +} +})]); +CPKeyValueObservingOptionNew=1<<0; +CPKeyValueObservingOptionOld=1<<1; +CPKeyValueObservingOptionInitial=1<<2; +CPKeyValueObservingOptionPrior=1<<3; +CPKeyValueChangeKindKey="CPKeyValueChangeKindKey"; +CPKeyValueChangeNewKey="CPKeyValueChangeNewKey"; +CPKeyValueChangeOldKey="CPKeyValueChangeOldKey"; +CPKeyValueChangeIndexesKey="CPKeyValueChangeIndexesKey"; +CPKeyValueChangeNotificationIsPriorKey="CPKeyValueChangeNotificationIsPriorKey"; +CPKeyValueChangeSetting=1; +CPKeyValueChangeInsertion=2; +CPKeyValueChangeRemoval=3; +CPKeyValueChangeReplacement=4; +var _2e=CPKeyValueObservingOptionNew|CPKeyValueObservingOptionOld,_2f="$KVODEPENDENT",_1c="$KVOPROXY"; +var _1=objj_allocateClassPair(CPObject,"_CPKVOProxy"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_targetObject"),new objj_ivar("_nativeClass"),new objj_ivar("_changesForKey"),new objj_ivar("_observersForKey"),new objj_ivar("_observersForKeyLength"),new objj_ivar("_replacedKeys")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithTarget:"),function(_30,_31,_32){ +with(_30){ +_30=objj_msgSendSuper({receiver:_30,super_class:objj_getClass("_CPKVOProxy").super_class},"init"); +_targetObject=_32; +_nativeClass=objj_msgSend(_32,"class"); +_replacedKeys=objj_msgSend(CPSet,"set"); +_observersForKey={}; +_changesForKey={}; +_observersForKeyLength=0; +return _30; +} +}),new objj_method(sel_getUid("_replaceClass"),function(_33,_34){ +with(_33){ +var _35=_nativeClass,_36="$KVO_"+class_getName(_nativeClass),_37=objj_lookUpClass(_36); +if(_37){ +_targetObject.isa=_37; +return; +} +var _38=objj_allocateClassPair(_35,_36); +objj_registerClassPair(_38); +var _39=_CPKVOModelSubclass.method_list,_3a=_39.length; +for(var i=0;i<_3a;i++){ +var _3b=_39[i]; +class_addMethod(_38,method_getName(_3b),method_getImplementation(_3b),""); +} +_targetObject.isa=_38; +} +}),new objj_method(sel_getUid("_replaceSetterForKey:"),function(_3c,_3d,_3e){ +with(_3c){ +if(objj_msgSend(_replacedKeys,"containsObject:",_3e)||!objj_msgSend(_nativeClass,"automaticallyNotifiesObserversForKey:",_3e)){ +return; +} +var _3f=_nativeClass,_40=_3e.charAt(0).toUpperCase()+_3e.substring(1),_41=false,_42=["set"+_40+":",_43,"_set"+_40+":",_43,"insertObject:in"+_40+"AtIndex:",_44,"replaceObjectIn"+_40+"AtIndex:withObject:",_45,"removeObjectFrom"+_40+"AtIndex:",_46]; +for(var i=0,_47=_42.length;i<_47;i+=2){ +var _48=sel_getName(_42[i]),_49=_42[i+1]; +if(objj_msgSend(_nativeClass,"instancesRespondToSelector:",_48)){ +var _4a=class_getInstanceMethod(_nativeClass,_48); +class_addMethod(_targetObject.isa,_48,_49(_3e,_4a),""); +} +} +var _4b=objj_msgSend(objj_msgSend(_nativeClass,"keyPathsForValuesAffectingValueForKey:",_3e),"allObjects"),_4c=_4b?_4b.length:0; +if(!_4c){ +return; +} +var _4d=_nativeClass[_2f]; +if(!_4d){ +_4d={}; +_nativeClass[_2f]=_4d; +} +while(_4c--){ +var _4e=_4b[_4c],_4f=_4d[_4e]; +if(!_4f){ +_4f=objj_msgSend(CPSet,"new"); +_4d[_4e]=_4f; +} +objj_msgSend(_4f,"addObject:",_3e); +objj_msgSend(_3c,"_replaceSetterForKey:",_4e); +} +} +}),new objj_method(sel_getUid("_addObserver:forKeyPath:options:context:"),function(_50,_51,_52,_53,_54,_55){ +with(_50){ +if(!_52){ +return; +} +var _56=nil; +if(_53.indexOf(".")!=CPNotFound){ +_56=objj_msgSend(objj_msgSend(_CPKVOForwardingObserver,"alloc"),"initWithKeyPath:object:observer:options:context:",_53,_targetObject,_52,_54,_55); +}else{ +objj_msgSend(_50,"_replaceSetterForKey:",_53); +} +var _57=_observersForKey[_53]; +if(!_57){ +_57=objj_msgSend(CPDictionary,"dictionary"); +_observersForKey[_53]=_57; +_observersForKeyLength++; +} +objj_msgSend(_57,"setObject:forKey:",_58(_52,_54,_55,_56),objj_msgSend(_52,"UID")); +if(_54&CPKeyValueObservingOptionInitial){ +var _59=objj_msgSend(_targetObject,"valueForKeyPath:",_53); +if(_59===nil||_59===undefined){ +_59=objj_msgSend(CPNull,"null"); +} +var _5a=objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",_59,CPKeyValueChangeNewKey); +objj_msgSend(_52,"observeValueForKeyPath:ofObject:change:context:",_53,_50,_5a,_55); +} +} +}),new objj_method(sel_getUid("_removeObserver:forKeyPath:"),function(_5b,_5c,_5d,_5e){ +with(_5b){ +var _5f=_observersForKey[_5e]; +if(_5e.indexOf(".")!=CPNotFound){ +var _60=objj_msgSend(_5f,"objectForKey:",objj_msgSend(_5d,"UID")).forwarder; +objj_msgSend(_60,"finalize"); +} +objj_msgSend(_5f,"removeObjectForKey:",objj_msgSend(_5d,"UID")); +if(!objj_msgSend(_5f,"count")){ +_observersForKeyLength--; +delete _observersForKey[_5e]; +} +if(!_observersForKeyLength){ +_targetObject.isa=_nativeClass; +delete _targetObject[_1c]; +} +} +}),new objj_method(sel_getUid("_sendNotificationsForKey:changeOptions:isBefore:"),function(_61,_62,_63,_64,_65){ +with(_61){ +var _66=_changesForKey[_63]; +if(_65){ +_66=_64; +var _67=objj_msgSend(_66,"objectForKey:",CPKeyValueChangeIndexesKey); +if(_67){ +var _68=objj_msgSend(_66,"objectForKey:",CPKeyValueChangeKindKey); +if(_68===CPKeyValueChangeReplacement||_68===CPKeyValueChangeRemoval){ +var _69=objj_msgSend(objj_msgSend(_targetObject,"mutableArrayValueForKeyPath:",_63),"objectsAtIndexes:",_67); +objj_msgSend(_66,"setValue:forKey:",_69,CPKeyValueChangeOldKey); +} +}else{ +var _6a=objj_msgSend(_targetObject,"valueForKey:",_63); +if(_6a===nil||_6a===undefined){ +_6a=objj_msgSend(CPNull,"null"); +} +objj_msgSend(_66,"setObject:forKey:",_6a,CPKeyValueChangeOldKey); +} +objj_msgSend(_66,"setObject:forKey:",1,CPKeyValueChangeNotificationIsPriorKey); +_changesForKey[_63]=_66; +}else{ +objj_msgSend(_66,"removeObjectForKey:",CPKeyValueChangeNotificationIsPriorKey); +var _67=objj_msgSend(_66,"objectForKey:",CPKeyValueChangeIndexesKey); +if(_67){ +var _68=objj_msgSend(_66,"objectForKey:",CPKeyValueChangeKindKey); +if(_68==CPKeyValueChangeReplacement||_68==CPKeyValueChangeInsertion){ +var _69=objj_msgSend(objj_msgSend(_targetObject,"mutableArrayValueForKeyPath:",_63),"objectsAtIndexes:",_67); +objj_msgSend(_66,"setValue:forKey:",_69,CPKeyValueChangeNewKey); +} +}else{ +var _6b=objj_msgSend(_targetObject,"valueForKey:",_63); +if(_6b===nil||_6b===undefined){ +_6b=objj_msgSend(CPNull,"null"); +} +objj_msgSend(_66,"setObject:forKey:",_6b,CPKeyValueChangeNewKey); +} +} +var _6c=objj_msgSend(_observersForKey[_63],"allValues"),_6d=_6c?_6c.length:0; +while(_6d--){ +var _6e=_6c[_6d]; +if(_65&&(_6e.options&CPKeyValueObservingOptionPrior)){ +objj_msgSend(_6e.observer,"observeValueForKeyPath:ofObject:change:context:",_63,_targetObject,_66,_6e.context); +}else{ +if(!_65){ +objj_msgSend(_6e.observer,"observeValueForKeyPath:ofObject:change:context:",_63,_targetObject,_66,_6e.context); +} +} +} +var _6f=_nativeClass[_2f]; +if(!_6f){ +return; +} +var _70=objj_msgSend(_6f[_63],"allObjects"); +if(!_70){ +return; +} +var _71=0,_6d=objj_msgSend(_70,"count"); +for(;_71<_6d;++_71){ +var _72=_70[_71]; +objj_msgSend(_61,"_sendNotificationsForKey:changeOptions:isBefore:",_72,_65?objj_msgSend(_64,"copy"):_changesForKey[_72],_65); +} +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("proxyForObject:"),function(_73,_74,_75){ +with(_73){ +var _76=_75[_1c]; +if(_76){ +return _76; +} +_76=objj_msgSend(objj_msgSend(_73,"alloc"),"initWithTarget:",_75); +objj_msgSend(_76,"_replaceClass"); +_75[_1c]=_76; +return _76; +} +})]); +var _1=objj_allocateClassPair(Nil,"_CPKVOModelSubclass"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("willChangeValueForKey:"),function(_77,_78,_79){ +with(_77){ +if(!_79){ +return; +} +var _7a=objj_msgSend(CPDictionary,"dictionaryWithObject:forKey:",CPKeyValueChangeSetting,CPKeyValueChangeKindKey); +objj_msgSend(objj_msgSend(_CPKVOProxy,"proxyForObject:",_77),"_sendNotificationsForKey:changeOptions:isBefore:",_79,_7a,YES); +} +}),new objj_method(sel_getUid("didChangeValueForKey:"),function(_7b,_7c,_7d){ +with(_7b){ +if(!_7d){ +return; +} +objj_msgSend(objj_msgSend(_CPKVOProxy,"proxyForObject:",_7b),"_sendNotificationsForKey:changeOptions:isBefore:",_7d,nil,NO); +} +}),new objj_method(sel_getUid("willChange:valuesAtIndexes:forKey:"),function(_7e,_7f,_80,_81,_82){ +with(_7e){ +if(!_82){ +return; +} +var _83=objj_msgSend(CPDictionary,"dictionaryWithObjects:forKeys:",[_80,_81],[CPKeyValueChangeKindKey,CPKeyValueChangeIndexesKey]); +objj_msgSend(objj_msgSend(_CPKVOProxy,"proxyForObject:",_7e),"_sendNotificationsForKey:changeOptions:isBefore:",_82,_83,YES); +} +}),new objj_method(sel_getUid("didChange:valuesAtIndexes:forKey:"),function(_84,_85,_86,_87,_88){ +with(_84){ +if(!_88){ +return; +} +objj_msgSend(objj_msgSend(_CPKVOProxy,"proxyForObject:",_84),"_sendNotificationsForKey:changeOptions:isBefore:",_88,nil,NO); +} +}),new objj_method(sel_getUid("class"),function(_89,_8a){ +with(_89){ +return _89[_1c]._nativeClass; +} +}),new objj_method(sel_getUid("superclass"),function(_8b,_8c){ +with(_8b){ +return objj_msgSend(objj_msgSend(_8b,"class"),"superclass"); +} +}),new objj_method(sel_getUid("isKindOfClass:"),function(_8d,_8e,_8f){ +with(_8d){ +return objj_msgSend(objj_msgSend(_8d,"class"),"isSubclassOfClass:",_8f); +} +}),new objj_method(sel_getUid("isMemberOfClass:"),function(_90,_91,_92){ +with(_90){ +return objj_msgSend(_90,"class")==_92; +} +}),new objj_method(sel_getUid("className"),function(_93,_94){ +with(_93){ +return objj_msgSend(_93,"class").name; +} +})]); +var _1=objj_allocateClassPair(CPObject,"_CPKVOForwardingObserver"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_object"),new objj_ivar("_observer"),new objj_ivar("_context"),new objj_ivar("_firstPart"),new objj_ivar("_secondPart"),new objj_ivar("_value")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithKeyPath:object:observer:options:context:"),function(_95,_96,_97,_98,_99,_9a,_9b){ +with(_95){ +_95=objj_msgSendSuper({receiver:_95,super_class:objj_getClass("_CPKVOForwardingObserver").super_class},"init"); +_context=_9b; +_observer=_99; +_object=_98; +var _9c=_97.indexOf("."); +if(_9c==CPNotFound){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"Created _CPKVOForwardingObserver without compound key path: "+_97); +} +_firstPart=_97.substring(0,_9c); +_secondPart=_97.substring(_9c+1); +objj_msgSend(_object,"addObserver:forKeyPath:options:context:",_95,_firstPart,_2e,nil); +_value=objj_msgSend(_object,"valueForKey:",_firstPart); +if(_value){ +objj_msgSend(_value,"addObserver:forKeyPath:options:context:",_95,_secondPart,_2e,nil); +} +return _95; +} +}),new objj_method(sel_getUid("observeValueForKeyPath:ofObject:change:context:"),function(_9d,_9e,_9f,_a0,_a1,_a2){ +with(_9d){ +if(_9f===_firstPart){ +objj_msgSend(_observer,"observeValueForKeyPath:ofObject:change:context:",_firstPart,_object,_a1,_context); +if(_value){ +objj_msgSend(_value,"removeObserver:forKeyPath:",_9d,_secondPart); +} +_value=objj_msgSend(_object,"valueForKey:",_firstPart); +if(_value){ +objj_msgSend(_value,"addObserver:forKeyPath:options:context:",_9d,_secondPart,_2e,nil); +} +}else{ +objj_msgSend(_observer,"observeValueForKeyPath:ofObject:change:context:",_firstPart+"."+_9f,_object,_a1,_context); +} +} +}),new objj_method(sel_getUid("finalize"),function(_a3,_a4){ +with(_a3){ +if(_value){ +objj_msgSend(_value,"removeObserver:forKeyPath:",_a3,_secondPart); +} +objj_msgSend(_object,"removeObserver:forKeyPath:",_a3,_firstPart); +_object=nil; +_observer=nil; +_context=nil; +_value=nil; +} +})]); +var _58=_58=function(_a5,_a6,_a7,_a8){ +return {observer:_a5,options:_a6,context:_a7,forwarder:_a8}; +}; +var _43=_43=function(_a9,_aa){ +return function(_ab,_ac,_ad){ +objj_msgSend(_ab,"willChangeValueForKey:",_a9); +_aa.method_imp(_ab,_ac,_ad); +objj_msgSend(_ab,"didChangeValueForKey:",_a9); +}; +}; +var _44=_44=function(_ae,_af){ +return function(_b0,_b1,_b2,_b3){ +objj_msgSend(_b0,"willChange:valuesAtIndexes:forKey:",CPKeyValueChangeInsertion,objj_msgSend(CPIndexSet,"indexSetWithIndex:",_b3),_ae); +_af.method_imp(_b0,_b1,_b2,_b3); +objj_msgSend(_b0,"didChange:valuesAtIndexes:forKey:",CPKeyValueChangeInsertion,objj_msgSend(CPIndexSet,"indexSetWithIndex:",_b3),_ae); +}; +}; +var _45=_45=function(_b4,_b5){ +return function(_b6,_b7,_b8,_b9){ +objj_msgSend(_b6,"willChange:valuesAtIndexes:forKey:",CPKeyValueChangeReplacement,objj_msgSend(CPIndexSet,"indexSetWithIndex:",_b8),_b4); +_b5.method_imp(_b6,_b7,_b8,_b9); +objj_msgSend(_b6,"didChange:valuesAtIndexes:forKey:",CPKeyValueChangeReplacement,objj_msgSend(CPIndexSet,"indexSetWithIndex:",_b8),_b4); +}; +}; +var _46=_46=function(_ba,_bb){ +return function(_bc,_bd,_be){ +objj_msgSend(_bc,"willChange:valuesAtIndexes:forKey:",CPKeyValueChangeRemoval,objj_msgSend(CPIndexSet,"indexSetWithIndex:",_be),_ba); +_bb.method_imp(_bc,_bd,_be); +objj_msgSend(_bc,"didChange:valuesAtIndexes:forKey:",CPKeyValueChangeRemoval,objj_msgSend(CPIndexSet,"indexSetWithIndex:",_be),_ba); +}; +}; +objj_executeFile("CPArray+KVO.j",YES); +p;7;CPLog.jt;17;@STATIC;1.0;t;1; +p;16;CPNotification.jt;1472;@STATIC;1.0;i;10;CPObject.ji;13;CPException.jt;1420; +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPException.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPNotification"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_name"),new objj_ivar("_object"),new objj_ivar("_userInfo")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +objj_msgSend(CPException,"raise:reason:",CPUnsupportedMethodException,"CPNotification's init method should not be used"); +} +}),new objj_method(sel_getUid("initWithName:object:userInfo:"),function(_5,_6,_7,_8,_9){ +with(_5){ +_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPNotification").super_class},"init"); +if(_5){ +_name=_7; +_object=_8; +_userInfo=_9; +} +return _5; +} +}),new objj_method(sel_getUid("name"),function(_a,_b){ +with(_a){ +return _name; +} +}),new objj_method(sel_getUid("object"),function(_c,_d){ +with(_c){ +return _object; +} +}),new objj_method(sel_getUid("userInfo"),function(_e,_f){ +with(_e){ +return _userInfo; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("notificationWithName:object:userInfo:"),function(_10,_11,_12,_13,_14){ +with(_10){ +return objj_msgSend(objj_msgSend(_10,"alloc"),"initWithName:object:userInfo:",_12,_13,_14); +} +}),new objj_method(sel_getUid("notificationWithName:object:"),function(_15,_16,_17,_18){ +with(_15){ +return objj_msgSend(objj_msgSend(_15,"alloc"),"initWithName:object:userInfo:",_17,_18,nil); +} +})]); +p;22;CPNotificationCenter.jt;6517;@STATIC;1.0;i;9;CPArray.ji;14;CPDictionary.ji;13;CPException.ji;16;CPNotification.ji;8;CPNull.jt;6415; +objj_executeFile("CPArray.j",YES); +objj_executeFile("CPDictionary.j",YES); +objj_executeFile("CPException.j",YES); +objj_executeFile("CPNotification.j",YES); +objj_executeFile("CPNull.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(CPObject,"CPNotificationCenter"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_namedRegistries"),new objj_ivar("_unnamedRegistry")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_4,_5){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPNotificationCenter").super_class},"init"); +if(_4){ +_namedRegistries=objj_msgSend(CPDictionary,"dictionary"); +_unnamedRegistry=objj_msgSend(objj_msgSend(_CPNotificationRegistry,"alloc"),"init"); +} +return _4; +} +}),new objj_method(sel_getUid("addObserver:selector:name:object:"),function(_6,_7,_8,_9,_a,_b){ +with(_6){ +var _c,_d=objj_msgSend(objj_msgSend(_CPNotificationObserver,"alloc"),"initWithObserver:selector:",_8,_9); +if(_a==nil){ +_c=_unnamedRegistry; +}else{ +if(!(_c=objj_msgSend(_namedRegistries,"objectForKey:",_a))){ +_c=objj_msgSend(objj_msgSend(_CPNotificationRegistry,"alloc"),"init"); +objj_msgSend(_namedRegistries,"setObject:forKey:",_c,_a); +} +} +objj_msgSend(_c,"addObserver:object:",_d,_b); +} +}),new objj_method(sel_getUid("removeObserver:"),function(_e,_f,_10){ +with(_e){ +var _11=nil,_12=objj_msgSend(_namedRegistries,"keyEnumerator"); +while(_11=objj_msgSend(_12,"nextObject")){ +objj_msgSend(objj_msgSend(_namedRegistries,"objectForKey:",_11),"removeObserver:object:",_10,nil); +} +objj_msgSend(_unnamedRegistry,"removeObserver:object:",_10,nil); +} +}),new objj_method(sel_getUid("removeObserver:name:object:"),function(_13,_14,_15,_16,_17){ +with(_13){ +if(_16==nil){ +var _18=nil,_19=objj_msgSend(_namedRegistries,"keyEnumerator"); +while(_18=objj_msgSend(_19,"nextObject")){ +objj_msgSend(objj_msgSend(_namedRegistries,"objectForKey:",_18),"removeObserver:object:",_15,_17); +} +objj_msgSend(_unnamedRegistry,"removeObserver:object:",_15,_17); +}else{ +objj_msgSend(objj_msgSend(_namedRegistries,"objectForKey:",_16),"removeObserver:object:",_15,_17); +} +} +}),new objj_method(sel_getUid("postNotification:"),function(_1a,_1b,_1c){ +with(_1a){ +if(!_1c){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,"postNotification: does not except 'nil' notifications"); +} +_1d(_1a,_1c); +} +}),new objj_method(sel_getUid("postNotificationName:object:userInfo:"),function(_1e,_1f,_20,_21,_22){ +with(_1e){ +_1d(_1e,objj_msgSend(objj_msgSend(CPNotification,"alloc"),"initWithName:object:userInfo:",_20,_21,_22)); +} +}),new objj_method(sel_getUid("postNotificationName:object:"),function(_23,_24,_25,_26){ +with(_23){ +_1d(_23,objj_msgSend(objj_msgSend(CPNotification,"alloc"),"initWithName:object:userInfo:",_25,_26,nil)); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("defaultCenter"),function(_27,_28){ +with(_27){ +if(!_1){ +_1=objj_msgSend(objj_msgSend(CPNotificationCenter,"alloc"),"init"); +} +return _1; +} +})]); +var _1d=function(_29,_2a){ +objj_msgSend(_29._unnamedRegistry,"postNotification:",_2a); +objj_msgSend(objj_msgSend(_29._namedRegistries,"objectForKey:",objj_msgSend(_2a,"name")),"postNotification:",_2a); +}; +var _2=objj_allocateClassPair(CPObject,"_CPNotificationRegistry"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_objectObservers"),new objj_ivar("_observerRemovalCount")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_2b,_2c){ +with(_2b){ +_2b=objj_msgSendSuper({receiver:_2b,super_class:objj_getClass("_CPNotificationRegistry").super_class},"init"); +if(_2b){ +_observerRemovalCount=0; +_objectObservers=objj_msgSend(CPDictionary,"dictionary"); +} +return _2b; +} +}),new objj_method(sel_getUid("addObserver:object:"),function(_2d,_2e,_2f,_30){ +with(_2d){ +if(!_30){ +_30=objj_msgSend(CPNull,"null"); +} +var _31=objj_msgSend(_objectObservers,"objectForKey:",objj_msgSend(_30,"UID")); +if(!_31){ +_31=[]; +objj_msgSend(_objectObservers,"setObject:forKey:",_31,objj_msgSend(_30,"UID")); +} +_31.push(_2f); +} +}),new objj_method(sel_getUid("removeObserver:object:"),function(_32,_33,_34,_35){ +with(_32){ +var _36=[]; +if(_35==nil){ +var key=nil,_37=objj_msgSend(_objectObservers,"keyEnumerator"); +while(key=objj_msgSend(_37,"nextObject")){ +var _38=objj_msgSend(_objectObservers,"objectForKey:",key),_39=_38?_38.length:0; +while(_39--){ +if(objj_msgSend(_38[_39],"observer")==_34){ +++_observerRemovalCount; +_38.splice(_39,1); +} +} +if(!_38||_38.length==0){ +_36.push(key); +} +} +}else{ +var key=objj_msgSend(_35,"UID"),_38=objj_msgSend(_objectObservers,"objectForKey:",key); +_39=_38?_38.length:0; +while(_39--){ +if(objj_msgSend(_38[_39],"observer")==_34){ +++_observerRemovalCount; +_38.splice(_39,1); +} +} +if(!_38||_38.length==0){ +_36.push(key); +} +} +var _39=_36.length; +while(_39--){ +objj_msgSend(_objectObservers,"removeObjectForKey:",_36[_39]); +} +} +}),new objj_method(sel_getUid("postNotification:"),function(_3a,_3b,_3c){ +with(_3a){ +var _3d=_observerRemovalCount,_3e=objj_msgSend(_3c,"object"),_3f=nil; +if(_3e!=nil&&(_3f=objj_msgSend(objj_msgSend(_objectObservers,"objectForKey:",objj_msgSend(_3e,"UID")),"copy"))){ +var _40=_3f,_41=_3f.length; +while(_41--){ +var _42=_3f[_41]; +if((_3d===_observerRemovalCount)||objj_msgSend(_40,"indexOfObjectIdenticalTo:",_42)!==CPNotFound){ +objj_msgSend(_42,"postNotification:",_3c); +} +} +} +_3f=objj_msgSend(objj_msgSend(_objectObservers,"objectForKey:",objj_msgSend(objj_msgSend(CPNull,"null"),"UID")),"copy"); +if(!_3f){ +return; +} +var _3d=_observerRemovalCount,_41=_3f.length,_40=_3f; +while(_41--){ +var _42=_3f[_41]; +if((_3d===_observerRemovalCount)||objj_msgSend(_40,"indexOfObjectIdenticalTo:",_42)!==CPNotFound){ +objj_msgSend(_42,"postNotification:",_3c); +} +} +} +}),new objj_method(sel_getUid("count"),function(_43,_44){ +with(_43){ +return objj_msgSend(_objectObservers,"count"); +} +})]); +var _2=objj_allocateClassPair(CPObject,"_CPNotificationObserver"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_observer"),new objj_ivar("_selector")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithObserver:selector:"),function(_45,_46,_47,_48){ +with(_45){ +if(_45){ +_observer=_47; +_selector=_48; +} +return _45; +} +}),new objj_method(sel_getUid("observer"),function(_49,_4a){ +with(_49){ +return _observer; +} +}),new objj_method(sel_getUid("postNotification:"),function(_4b,_4c,_4d){ +with(_4b){ +objj_msgSend(_observer,"performSelector:withObject:",_selector,_4d); +} +})]); +p;8;CPNull.jt;337;@STATIC;1.0;i;10;CPObject.jt;304; +objj_executeFile("CPObject.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(CPObject,"CPNull"),_3=_2.isa; +objj_registerClassPair(_2); +class_addMethods(_3,[new objj_method(sel_getUid("null"),function(_4,_5){ +with(_4){ +if(!_1){ +_1=objj_msgSend(objj_msgSend(CPNull,"alloc"),"init"); +} +return _1; +} +})]); +p;10;CPNumber.jt;6058;@STATIC;1.0;i;10;CPObject.ji;15;CPObjJRuntime.jt;6004; +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPObjJRuntime.j",YES); +var _1=new Number(),_2=new CFMutableDictionary(); +var _3=objj_allocateClassPair(CPObject,"CPNumber"),_4=_3.isa; +objj_registerClassPair(_3); +class_addMethods(_3,[new objj_method(sel_getUid("initWithBool:"),function(_5,_6,_7){ +with(_5){ +return _7; +} +}),new objj_method(sel_getUid("initWithChar:"),function(_8,_9,_a){ +with(_8){ +if(_a.charCodeAt){ +return _a.charCodeAt(0); +} +return _a; +} +}),new objj_method(sel_getUid("initWithDouble:"),function(_b,_c,_d){ +with(_b){ +return _d; +} +}),new objj_method(sel_getUid("initWithFloat:"),function(_e,_f,_10){ +with(_e){ +return _10; +} +}),new objj_method(sel_getUid("initWithInt:"),function(_11,_12,_13){ +with(_11){ +return _13; +} +}),new objj_method(sel_getUid("initWithLong:"),function(_14,_15,_16){ +with(_14){ +return _16; +} +}),new objj_method(sel_getUid("initWithLongLong:"),function(_17,_18,_19){ +with(_17){ +return _19; +} +}),new objj_method(sel_getUid("initWithShort:"),function(_1a,_1b,_1c){ +with(_1a){ +return _1c; +} +}),new objj_method(sel_getUid("initWithUnsignedChar:"),function(_1d,_1e,_1f){ +with(_1d){ +if(_1f.charCodeAt){ +return _1f.charCodeAt(0); +} +return _1f; +} +}),new objj_method(sel_getUid("initWithUnsignedInt:"),function(_20,_21,_22){ +with(_20){ +return _22; +} +}),new objj_method(sel_getUid("initWithUnsignedLong:"),function(_23,_24,_25){ +with(_23){ +return _25; +} +}),new objj_method(sel_getUid("initWithUnsignedShort:"),function(_26,_27,_28){ +with(_26){ +return _28; +} +}),new objj_method(sel_getUid("UID"),function(_29,_2a){ +with(_29){ +var UID=_2.valueForKey(_29); +if(!UID){ +UID=objj_generateObjectUID(); +_2.setValueForKey(_29,UID); +} +return UID+""; +} +}),new objj_method(sel_getUid("boolValue"),function(_2b,_2c){ +with(_2b){ +return _2b?true:false; +} +}),new objj_method(sel_getUid("charValue"),function(_2d,_2e){ +with(_2d){ +return String.fromCharCode(_2d); +} +}),new objj_method(sel_getUid("decimalValue"),function(_2f,_30){ +with(_2f){ +objj_throw_exception("decimalValue: NOT YET IMPLEMENTED"); +} +}),new objj_method(sel_getUid("descriptionWithLocale:"),function(_31,_32,_33){ +with(_31){ +if(!_33){ +return toString(); +} +objj_throw_exception("descriptionWithLocale: NOT YET IMPLEMENTED"); +} +}),new objj_method(sel_getUid("description"),function(_34,_35){ +with(_34){ +return objj_msgSend(_34,"descriptionWithLocale:",nil); +} +}),new objj_method(sel_getUid("doubleValue"),function(_36,_37){ +with(_36){ +if(typeof _36=="boolean"){ +return _36?1:0; +} +return _36; +} +}),new objj_method(sel_getUid("floatValue"),function(_38,_39){ +with(_38){ +if(typeof _38=="boolean"){ +return _38?1:0; +} +return _38; +} +}),new objj_method(sel_getUid("intValue"),function(_3a,_3b){ +with(_3a){ +if(typeof _3a=="boolean"){ +return _3a?1:0; +} +return _3a; +} +}),new objj_method(sel_getUid("longLongValue"),function(_3c,_3d){ +with(_3c){ +if(typeof _3c=="boolean"){ +return _3c?1:0; +} +return _3c; +} +}),new objj_method(sel_getUid("longValue"),function(_3e,_3f){ +with(_3e){ +if(typeof _3e=="boolean"){ +return _3e?1:0; +} +return _3e; +} +}),new objj_method(sel_getUid("shortValue"),function(_40,_41){ +with(_40){ +if(typeof _40=="boolean"){ +return _40?1:0; +} +return _40; +} +}),new objj_method(sel_getUid("stringValue"),function(_42,_43){ +with(_42){ +return toString(); +} +}),new objj_method(sel_getUid("unsignedCharValue"),function(_44,_45){ +with(_44){ +return String.fromCharCode(_44); +} +}),new objj_method(sel_getUid("unsignedIntValue"),function(_46,_47){ +with(_46){ +if(typeof _46=="boolean"){ +return _46?1:0; +} +return _46; +} +}),new objj_method(sel_getUid("unsignedLongValue"),function(_48,_49){ +with(_48){ +if(typeof _48=="boolean"){ +return _48?1:0; +} +return _48; +} +}),new objj_method(sel_getUid("unsignedShortValue"),function(_4a,_4b){ +with(_4a){ +if(typeof _4a=="boolean"){ +return _4a?1:0; +} +return _4a; +} +}),new objj_method(sel_getUid("compare:"),function(_4c,_4d,_4e){ +with(_4c){ +if(_4c>_4e){ +return CPOrderedDescending; +}else{ +if(_4c<_4e){ +return CPOrderedAscending; +} +} +return CPOrderedSame; +} +}),new objj_method(sel_getUid("isEqualToNumber:"),function(_4f,_50,_51){ +with(_4f){ +return _4f==_51; +} +})]); +class_addMethods(_4,[new objj_method(sel_getUid("alloc"),function(_52,_53){ +with(_52){ +return _1; +} +}),new objj_method(sel_getUid("numberWithBool:"),function(_54,_55,_56){ +with(_54){ +return _56; +} +}),new objj_method(sel_getUid("numberWithChar:"),function(_57,_58,_59){ +with(_57){ +if(_59.charCodeAt){ +return _59.charCodeAt(0); +} +return _59; +} +}),new objj_method(sel_getUid("numberWithDouble:"),function(_5a,_5b,_5c){ +with(_5a){ +return _5c; +} +}),new objj_method(sel_getUid("numberWithFloat:"),function(_5d,_5e,_5f){ +with(_5d){ +return _5f; +} +}),new objj_method(sel_getUid("numberWithInt:"),function(_60,_61,_62){ +with(_60){ +return _62; +} +}),new objj_method(sel_getUid("numberWithLong:"),function(_63,_64,_65){ +with(_63){ +return _65; +} +}),new objj_method(sel_getUid("numberWithLongLong:"),function(_66,_67,_68){ +with(_66){ +return _68; +} +}),new objj_method(sel_getUid("numberWithShort:"),function(_69,_6a,_6b){ +with(_69){ +return _6b; +} +}),new objj_method(sel_getUid("numberWithUnsignedChar:"),function(_6c,_6d,_6e){ +with(_6c){ +if(_6e.charCodeAt){ +return _6e.charCodeAt(0); +} +return _6e; +} +}),new objj_method(sel_getUid("numberWithUnsignedInt:"),function(_6f,_70,_71){ +with(_6f){ +return _71; +} +}),new objj_method(sel_getUid("numberWithUnsignedLong:"),function(_72,_73,_74){ +with(_72){ +return _74; +} +}),new objj_method(sel_getUid("numberWithUnsignedShort:"),function(_75,_76,_77){ +with(_75){ +return _77; +} +})]); +var _3=objj_getClass("CPNumber"); +if(!_3){ +throw new SyntaxError("*** Could not find definition for class \"CPNumber\""); +} +var _4=_3.isa; +class_addMethods(_3,[new objj_method(sel_getUid("initWithCoder:"),function(_78,_79,_7a){ +with(_78){ +return objj_msgSend(_7a,"decodeNumber"); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_7b,_7c,_7d){ +with(_7b){ +objj_msgSend(_7d,"encodeNumber:forKey:",_7b,"self"); +} +})]); +Number.prototype.isa=CPNumber; +Boolean.prototype.isa=CPNumber; +objj_msgSend(CPNumber,"initialize"); +p;10;CPObject.jt;6646;@STATIC;1.0;t;6627; +var _1=objj_allocateClassPair(Nil,"CPObject"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("isa")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +return _3; +} +}),new objj_method(sel_getUid("copy"),function(_5,_6){ +with(_5){ +return _5; +} +}),new objj_method(sel_getUid("mutableCopy"),function(_7,_8){ +with(_7){ +return objj_msgSend(_7,"copy"); +} +}),new objj_method(sel_getUid("dealloc"),function(_9,_a){ +with(_9){ +} +}),new objj_method(sel_getUid("class"),function(_b,_c){ +with(_b){ +return isa; +} +}),new objj_method(sel_getUid("isKindOfClass:"),function(_d,_e,_f){ +with(_d){ +return objj_msgSend(isa,"isSubclassOfClass:",_f); +} +}),new objj_method(sel_getUid("isMemberOfClass:"),function(_10,_11,_12){ +with(_10){ +return _10.isa===_12; +} +}),new objj_method(sel_getUid("isProxy"),function(_13,_14){ +with(_13){ +return NO; +} +}),new objj_method(sel_getUid("respondsToSelector:"),function(_15,_16,_17){ +with(_15){ +return !!class_getInstanceMethod(isa,_17); +} +}),new objj_method(sel_getUid("methodForSelector:"),function(_18,_19,_1a){ +with(_18){ +return class_getMethodImplementation(isa,_1a); +} +}),new objj_method(sel_getUid("methodSignatureForSelector:"),function(_1b,_1c,_1d){ +with(_1b){ +return nil; +} +}),new objj_method(sel_getUid("description"),function(_1e,_1f){ +with(_1e){ +return "<"+class_getName(isa)+" 0x"+objj_msgSend(CPString,"stringWithHash:",objj_msgSend(_1e,"UID"))+">"; +} +}),new objj_method(sel_getUid("performSelector:"),function(_20,_21,_22){ +with(_20){ +return objj_msgSend(_20,_22); +} +}),new objj_method(sel_getUid("performSelector:withObject:"),function(_23,_24,_25,_26){ +with(_23){ +return objj_msgSend(_23,_25,_26); +} +}),new objj_method(sel_getUid("performSelector:withObject:withObject:"),function(_27,_28,_29,_2a,_2b){ +with(_27){ +return objj_msgSend(_27,_29,_2a,_2b); +} +}),new objj_method(sel_getUid("forwardInvocation:"),function(_2c,_2d,_2e){ +with(_2c){ +objj_msgSend(_2c,"doesNotRecognizeSelector:",objj_msgSend(_2e,"selector")); +} +}),new objj_method(sel_getUid("forward::"),function(_2f,_30,_31,_32){ +with(_2f){ +var _33=objj_msgSend(_2f,"methodSignatureForSelector:",_31); +if(_33){ +invocation=objj_msgSend(CPInvocation,"invocationWithMethodSignature:",_33); +objj_msgSend(invocation,"setTarget:",_2f); +objj_msgSend(invocation,"setSelector:",_31); +var _34=2,_35=_32.length; +for(;_34<_35;++_34){ +objj_msgSend(invocation,"setArgument:atIndex:",_32[_34],_34); +} +objj_msgSend(_2f,"forwardInvocation:",invocation); +return objj_msgSend(invocation,"returnValue"); +} +objj_msgSend(_2f,"doesNotRecognizeSelector:",_31); +} +}),new objj_method(sel_getUid("doesNotRecognizeSelector:"),function(_36,_37,_38){ +with(_36){ +objj_msgSend(CPException,"raise:reason:",CPInvalidArgumentException,(class_isMetaClass(isa)?"+":"-")+" ["+objj_msgSend(_36,"className")+" "+_38+"] unrecognized selector sent to "+(class_isMetaClass(isa)?"class":"instance")+" 0x"+objj_msgSend(CPString,"stringWithHash:",objj_msgSend(_36,"UID"))); +} +}),new objj_method(sel_getUid("awakeAfterUsingCoder:"),function(_39,_3a,_3b){ +with(_39){ +return _39; +} +}),new objj_method(sel_getUid("classForKeyedArchiver"),function(_3c,_3d){ +with(_3c){ +return objj_msgSend(_3c,"classForCoder"); +} +}),new objj_method(sel_getUid("classForCoder"),function(_3e,_3f){ +with(_3e){ +return objj_msgSend(_3e,"class"); +} +}),new objj_method(sel_getUid("replacementObjectForArchiver:"),function(_40,_41,_42){ +with(_40){ +return objj_msgSend(_40,"replacementObjectForCoder:",_42); +} +}),new objj_method(sel_getUid("replacementObjectForKeyedArchiver:"),function(_43,_44,_45){ +with(_43){ +return objj_msgSend(_43,"replacementObjectForCoder:",_45); +} +}),new objj_method(sel_getUid("replacementObjectForCoder:"),function(_46,_47,_48){ +with(_46){ +return _46; +} +}),new objj_method(sel_getUid("className"),function(_49,_4a){ +with(_49){ +return isa.name; +} +}),new objj_method(sel_getUid("autorelease"),function(_4b,_4c){ +with(_4b){ +return _4b; +} +}),new objj_method(sel_getUid("hash"),function(_4d,_4e){ +with(_4d){ +return objj_msgSend(_4d,"UID"); +} +}),new objj_method(sel_getUid("UID"),function(_4f,_50){ +with(_4f){ +if(typeof _4f._UID==="undefined"){ +_4f._UID=objj_generateObjectUID(); +} +return _UID+""; +} +}),new objj_method(sel_getUid("isEqual:"),function(_51,_52,_53){ +with(_51){ +return _51===_53||objj_msgSend(_51,"UID")===objj_msgSend(_53,"UID"); +} +}),new objj_method(sel_getUid("retain"),function(_54,_55){ +with(_54){ +return _54; +} +}),new objj_method(sel_getUid("release"),function(_56,_57){ +with(_56){ +} +}),new objj_method(sel_getUid("self"),function(_58,_59){ +with(_58){ +return _58; +} +}),new objj_method(sel_getUid("superclass"),function(_5a,_5b){ +with(_5a){ +return isa.super_class; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("load"),function(_5c,_5d){ +with(_5c){ +} +}),new objj_method(sel_getUid("initialize"),function(_5e,_5f){ +with(_5e){ +} +}),new objj_method(sel_getUid("new"),function(_60,_61){ +with(_60){ +return objj_msgSend(objj_msgSend(_60,"alloc"),"init"); +} +}),new objj_method(sel_getUid("alloc"),function(_62,_63){ +with(_62){ +return class_createInstance(_62); +} +}),new objj_method(sel_getUid("allocWithCoder:"),function(_64,_65,_66){ +with(_64){ +return objj_msgSend(_64,"alloc"); +} +}),new objj_method(sel_getUid("class"),function(_67,_68){ +with(_67){ +return _67; +} +}),new objj_method(sel_getUid("superclass"),function(_69,_6a){ +with(_69){ +return super_class; +} +}),new objj_method(sel_getUid("isSubclassOfClass:"),function(_6b,_6c,_6d){ +with(_6b){ +var _6e=_6b; +for(;_6e;_6e=_6e.super_class){ +if(_6e===_6d){ +return YES; +} +} +return NO; +} +}),new objj_method(sel_getUid("isKindOfClass:"),function(_6f,_70,_71){ +with(_6f){ +return objj_msgSend(_6f,"isSubclassOfClass:",_71); +} +}),new objj_method(sel_getUid("isMemberOfClass:"),function(_72,_73,_74){ +with(_72){ +return _72===_74; +} +}),new objj_method(sel_getUid("instancesRespondToSelector:"),function(_75,_76,_77){ +with(_75){ +return !!class_getInstanceMethod(_75,_77); +} +}),new objj_method(sel_getUid("instanceMethodForSelector:"),function(_78,_79,_7a){ +with(_78){ +return class_getMethodImplementation(_78,_7a); +} +}),new objj_method(sel_getUid("description"),function(_7b,_7c){ +with(_7b){ +return class_getName(isa); +} +}),new objj_method(sel_getUid("setVersion:"),function(_7d,_7e,_7f){ +with(_7d){ +version=_7f; +return _7d; +} +}),new objj_method(sel_getUid("version"),function(_80,_81){ +with(_80){ +return version; +} +})]); +objj_class.prototype.toString=objj_object.prototype.toString=function(){ +if(this.isa&&class_getInstanceMethod(this.isa,"description")!=NULL){ +return objj_msgSend(this,"description"); +}else{ +return String(this)+" (-description not implemented)"; +} +}; +p;15;CPObjJRuntime.jt;434;@STATIC;1.0;i;7;CPLog.jt;405; +objj_executeFile("CPLog.j",YES); +CPStringFromSelector=function(_1){ +return sel_getName(_1); +}; +CPSelectorFromString=function(_2){ +return sel_registerName(_2); +}; +CPClassFromString=function(_3){ +return objj_getClass(_3); +}; +CPStringFromClass=function(_4){ +return class_getName(_4); +}; +CPOrderedAscending=-1; +CPOrderedSame=0; +CPOrderedDescending=1; +CPNotFound=-1; +MIN=Math.min; +MAX=Math.max; +ABS=Math.abs; +p;13;CPOperation.jt;4279;@STATIC;1.0;I;21;Foundation/CPObject.jt;4234; +objj_executeFile("Foundation/CPObject.j",NO); +CPOperationQueuePriorityVeryLow=-8; +CPOperationQueuePriorityLow=-4; +CPOperationQueuePriorityNormal=0; +CPOperationQueuePriorityHigh=4; +CPOperationQueuePriorityVeryHigh=8; +var _1=objj_allocateClassPair(CPObject,"CPOperation"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("operations"),new objj_ivar("_cancelled"),new objj_ivar("_executing"),new objj_ivar("_finished"),new objj_ivar("_ready"),new objj_ivar("_queuePriority"),new objj_ivar("_completionFunction"),new objj_ivar("_dependencies")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("main"),function(_3,_4){ +with(_3){ +} +}),new objj_method(sel_getUid("init"),function(_5,_6){ +with(_5){ +if(_5=objj_msgSendSuper({receiver:_5,super_class:objj_getClass("CPOperation").super_class},"init")){ +_cancelled=NO; +_executing=NO; +_finished=NO; +_ready=YES; +_dependencies=objj_msgSend(objj_msgSend(CPArray,"alloc"),"init"); +_queuePriority=CPOperationQueuePriorityNormal; +} +return _5; +} +}),new objj_method(sel_getUid("start"),function(_7,_8){ +with(_7){ +if(!_cancelled){ +objj_msgSend(_7,"willChangeValueForKey:","isExecuting"); +_executing=YES; +objj_msgSend(_7,"didChangeValueForKey:","isExecuting"); +objj_msgSend(_7,"main"); +if(_completionFunction){ +_completionFunction(); +} +objj_msgSend(_7,"willChangeValueForKey:","isExecuting"); +_executing=NO; +objj_msgSend(_7,"didChangeValueForKey:","isExecuting"); +objj_msgSend(_7,"willChangeValueForKey:","isFinished"); +_finished=YES; +objj_msgSend(_7,"didChangeValueForKey:","isFinished"); +} +} +}),new objj_method(sel_getUid("isCancelled"),function(_9,_a){ +with(_9){ +return _cancelled; +} +}),new objj_method(sel_getUid("isExecuting"),function(_b,_c){ +with(_b){ +return _executing; +} +}),new objj_method(sel_getUid("isFinished"),function(_d,_e){ +with(_d){ +return _finished; +} +}),new objj_method(sel_getUid("isConcurrent"),function(_f,_10){ +with(_f){ +return NO; +} +}),new objj_method(sel_getUid("isReady"),function(_11,_12){ +with(_11){ +return _ready; +} +}),new objj_method(sel_getUid("completionFunction"),function(_13,_14){ +with(_13){ +return _completionFunction; +} +}),new objj_method(sel_getUid("setCompletionFunction:"),function(_15,_16,_17){ +with(_15){ +_completionFunction=_17; +} +}),new objj_method(sel_getUid("addDependency:"),function(_18,_19,_1a){ +with(_18){ +objj_msgSend(_18,"willChangeValueForKey:","dependencies"); +objj_msgSend(_1a,"addObserver:forKeyPath:options:context:",_18,"isFinished",(CPKeyValueObservingOptionNew),NULL); +objj_msgSend(_dependencies,"addObject:",_1a); +objj_msgSend(_18,"didChangeValueForKey:","dependencies"); +objj_msgSend(_18,"_updateIsReadyState"); +} +}),new objj_method(sel_getUid("removeDependency:"),function(_1b,_1c,_1d){ +with(_1b){ +objj_msgSend(_1b,"willChangeValueForKey:","dependencies"); +objj_msgSend(_dependencies,"removeObject:",_1d); +objj_msgSend(_1d,"removeObserver:forKeyPath:",_1b,"isFinished"); +objj_msgSend(_1b,"didChangeValueForKey:","dependencies"); +objj_msgSend(_1b,"_updateIsReadyState"); +} +}),new objj_method(sel_getUid("dependencies"),function(_1e,_1f){ +with(_1e){ +return _dependencies; +} +}),new objj_method(sel_getUid("waitUntilFinished"),function(_20,_21){ +with(_20){ +} +}),new objj_method(sel_getUid("cancel"),function(_22,_23){ +with(_22){ +objj_msgSend(_22,"willChangeValueForKey:","isCancelled"); +_cancelled=YES; +objj_msgSend(_22,"didChangeValueForKey:","isCancelled"); +} +}),new objj_method(sel_getUid("setQueuePriority:"),function(_24,_25,_26){ +with(_24){ +_queuePriority=_26; +} +}),new objj_method(sel_getUid("queuePriority"),function(_27,_28){ +with(_27){ +return _queuePriority; +} +}),new objj_method(sel_getUid("observeValueForKeyPath:ofObject:change:context:"),function(_29,_2a,_2b,_2c,_2d,_2e){ +with(_29){ +if(_2b=="isFinished"){ +objj_msgSend(_29,"_updateIsReadyState"); +} +} +}),new objj_method(sel_getUid("_updateIsReadyState"),function(_2f,_30){ +with(_2f){ +var _31=YES; +if(_dependencies&&objj_msgSend(_dependencies,"count")>0){ +var i=0; +for(i=0;i0){ +var i=0; +for(i=0;iobjj_msgSend(rhs,"queuePriority")){ +return -1; +}else{ +return 0; +} +} +},nil); +} +} +}),new objj_method(sel_getUid("_runOpsSynchronously:"),function(_2b,_2c,ops){ +with(_2b){ +if(ops){ +var _2d=YES; +while(_2d){ +var i=0; +_2d=NO; +for(i=0;i"; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("load"),function(_39,_3a){ +with(_39){ +} +}),new objj_method(sel_getUid("initialize"),function(_3b,_3c){ +with(_3b){ +} +}),new objj_method(sel_getUid("class"),function(_3d,_3e){ +with(_3d){ +return _3d; +} +}),new objj_method(sel_getUid("alloc"),function(_3f,_40){ +with(_3f){ +return class_createInstance(_3f); +} +}),new objj_method(sel_getUid("respondsToSelector:"),function(_41,_42,_43){ +with(_41){ +return !!class_getInstanceMethod(isa,aSelector); +} +})]); +p;9;CPRange.jt;1244;@STATIC;1.0;t;1225; +CPMakeRange=function(_1,_2){ +return {location:_1,length:_2}; +}; +CPCopyRange=function(_3){ +return {location:_3.location,length:_3.length}; +}; +CPMakeRangeCopy=function(_4){ +return {location:_4.location,length:_4.length}; +}; +CPEmptyRange=function(_5){ +return _5.length===0; +}; +CPMaxRange=function(_6){ +return _6.location+_6.length; +}; +CPEqualRanges=function(_7,_8){ +return ((_7.location===_8.location)&&(_7.length===_8.length)); +}; +CPLocationInRange=function(_9,_a){ +return (_9>=_a.location)&&(_9=CPMaxRange(_12)); +}; +CPStringFromRange=function(_13){ +return "{"+_13.location+", "+_13.length+"}"; +}; +CPRangeFromString=function(_14){ +var _15=_14.indexOf(","); +return {location:parseInt(_14.substr(1,_15-1)),length:parseInt(_14.substring(_15+1,_14.length))}; +}; +p;11;CPRunLoop.jt;6456;@STATIC;1.0;i;10;CPObject.ji;9;CPArray.ji;10;CPString.jt;6394; +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPArray.j",YES); +objj_executeFile("CPString.j",YES); +CPDefaultRunLoopMode="CPDefaultRunLoopMode"; +_CPRunLoopPerformCompare=function(_1,_2){ +return objj_msgSend(_2,"order")-objj_msgSend(_1,"order"); +}; +var _3=[],_4=5; +var _5=objj_allocateClassPair(CPObject,"_CPRunLoopPerform"),_6=_5.isa; +class_addIvars(_5,[new objj_ivar("_target"),new objj_ivar("_selector"),new objj_ivar("_argument"),new objj_ivar("_order"),new objj_ivar("_runLoopModes"),new objj_ivar("_isValid")]); +objj_registerClassPair(_5); +class_addMethods(_5,[new objj_method(sel_getUid("initWithSelector:target:argument:order:modes:"),function(_7,_8,_9,_a,_b,_c,_d){ +with(_7){ +_7=objj_msgSendSuper({receiver:_7,super_class:objj_getClass("_CPRunLoopPerform").super_class},"init"); +if(_7){ +_selector=_9; +_target=_a; +_argument=_b; +_order=_c; +_runLoopModes=_d; +_isValid=YES; +} +return _7; +} +}),new objj_method(sel_getUid("selector"),function(_e,_f){ +with(_e){ +return _selector; +} +}),new objj_method(sel_getUid("target"),function(_10,_11){ +with(_10){ +return _target; +} +}),new objj_method(sel_getUid("argument"),function(_12,_13){ +with(_12){ +return _argument; +} +}),new objj_method(sel_getUid("order"),function(_14,_15){ +with(_14){ +return _order; +} +}),new objj_method(sel_getUid("fireInMode:"),function(_16,_17,_18){ +with(_16){ +if(!_isValid){ +return YES; +} +if(objj_msgSend(_runLoopModes,"containsObject:",_18)){ +objj_msgSend(_target,"performSelector:withObject:",_selector,_argument); +return YES; +} +return NO; +} +}),new objj_method(sel_getUid("invalidate"),function(_19,_1a){ +with(_19){ +_isValid=NO; +} +})]); +class_addMethods(_6,[new objj_method(sel_getUid("_poolPerform:"),function(_1b,_1c,_1d){ +with(_1b){ +if(!_1d||_3.length>=_4){ +return; +} +_3.push(_1d); +} +}),new objj_method(sel_getUid("performWithSelector:target:argument:order:modes:"),function(_1e,_1f,_20,_21,_22,_23,_24){ +with(_1e){ +if(_3.length){ +var _25=_3.pop(); +_25._target=_21; +_25._selector=_20; +_25._argument=_22; +_25._order=_23; +_25._runLoopModes=_24; +_25._isValid=YES; +return _25; +} +return objj_msgSend(objj_msgSend(_1e,"alloc"),"initWithSelector:target:argument:order:modes:",_20,_21,_22,_23,_24); +} +})]); +var _26=0; +var _5=objj_allocateClassPair(CPObject,"CPRunLoop"),_6=_5.isa; +class_addIvars(_5,[new objj_ivar("_runLoopLock"),new objj_ivar("_timersForModes"),new objj_ivar("_nativeTimersForModes"),new objj_ivar("_nextTimerFireDatesForModes"),new objj_ivar("_didAddTimer"),new objj_ivar("_effectiveDate"),new objj_ivar("_orderedPerforms")]); +objj_registerClassPair(_5); +class_addMethods(_5,[new objj_method(sel_getUid("init"),function(_27,_28){ +with(_27){ +_27=objj_msgSendSuper({receiver:_27,super_class:objj_getClass("CPRunLoop").super_class},"init"); +if(_27){ +_orderedPerforms=[]; +_timersForModes={}; +_nativeTimersForModes={}; +_nextTimerFireDatesForModes={}; +} +return _27; +} +}),new objj_method(sel_getUid("performSelector:target:argument:order:modes:"),function(_29,_2a,_2b,_2c,_2d,_2e,_2f){ +with(_29){ +var _30=objj_msgSend(_CPRunLoopPerform,"performWithSelector:target:argument:order:modes:",_2b,_2c,_2d,_2e,_2f),_31=_orderedPerforms.length; +while(_31--){ +if(_2e=0){ +_1f+=_20; +} +if(-_21<_20.length){ +_1f+=_20.substring(0,-_21); +} +return _1f; +} +}),new objj_method(sel_getUid("componentsSeparatedByString:"),function(_22,_23,_24){ +with(_22){ +return split(_24); +} +}),new objj_method(sel_getUid("substringFromIndex:"),function(_25,_26,_27){ +with(_25){ +return substr(_27); +} +}),new objj_method(sel_getUid("substringWithRange:"),function(_28,_29,_2a){ +with(_28){ +return substr(_2a.location,_2a.length); +} +}),new objj_method(sel_getUid("substringToIndex:"),function(_2b,_2c,_2d){ +with(_2b){ +return substring(0,_2d); +} +}),new objj_method(sel_getUid("rangeOfString:"),function(_2e,_2f,_30){ +with(_2e){ +return objj_msgSend(_2e,"rangeOfString:options:",_30,0); +} +}),new objj_method(sel_getUid("rangeOfString:options:"),function(_31,_32,_33,_34){ +with(_31){ +return objj_msgSend(_31,"rangeOfString:options:range:",_33,_34,nil); +} +}),new objj_method(sel_getUid("rangeOfString:options:range:"),function(_35,_36,_37,_38,_39){ +with(_35){ +var _3a=(_39==nil)?_35:objj_msgSend(_35,"substringWithRange:",_39),_3b=CPNotFound; +if(_38&CPCaseInsensitiveSearch){ +_3a=_3a.toLowerCase(); +_37=_37.toLowerCase(); +} +if(_38&CPBackwardsSearch){ +_3b=_3a.lastIndexOf(_37,_38&CPAnchoredSearch?length-_37.length:0); +}else{ +if(_38&CPAnchoredSearch){ +_3b=_3a.substr(0,_37.length).indexOf(_37)!=CPNotFound?0:CPNotFound; +}else{ +_3b=_3a.indexOf(_37); +} +} +return CPMakeRange(_3b,_3b==CPNotFound?0:_37.length); +} +}),new objj_method(sel_getUid("stringByEscapingRegexControlCharacters"),function(_3c,_3d){ +with(_3c){ +return _3c.replace(_3,"\\$1"); +} +}),new objj_method(sel_getUid("stringByReplacingOccurrencesOfString:withString:"),function(_3e,_3f,_40,_41){ +with(_3e){ +return _3e.replace(new RegExp(objj_msgSend(_40,"stringByEscapingRegexControlCharacters"),"g"),_41); +} +}),new objj_method(sel_getUid("stringByReplacingOccurrencesOfString:withString:options:range:"),function(_42,_43,_44,_45,_46,_47){ +with(_42){ +var _48=substring(0,_47.location),_49=substr(_47.location,_47.length),end=substring(_47.location+_47.length,_42.length),_44=objj_msgSend(_44,"stringByEscapingRegexControlCharacters"),_4a; +if(_46&CPCaseInsensitiveSearch){ +_4a=new RegExp(_44,"gi"); +}else{ +_4a=new RegExp(_44,"g"); +} +return _48+""+_49.replace(_4a,_45)+""+end; +} +}),new objj_method(sel_getUid("stringByReplacingCharactersInRange:withString:"),function(_4b,_4c,_4d,_4e){ +with(_4b){ +return ""+substring(0,_4d.location)+_4e+substring(_4d.location+_4d.length,_4b.length); +} +}),new objj_method(sel_getUid("stringByTrimmingWhitespace"),function(_4f,_50){ +with(_4f){ +return _4f.replace(_4,""); +} +}),new objj_method(sel_getUid("compare:"),function(_51,_52,_53){ +with(_51){ +return objj_msgSend(_51,"compare:options:",_53,nil); +} +}),new objj_method(sel_getUid("caseInsensitiveCompare:"),function(_54,_55,_56){ +with(_54){ +return objj_msgSend(_54,"compare:options:",_56,CPCaseInsensitiveSearch); +} +}),new objj_method(sel_getUid("compare:options:"),function(_57,_58,_59,_5a){ +with(_57){ +var lhs=_57,rhs=_59; +if(_5a&CPCaseInsensitiveSearch){ +lhs=lhs.toLowerCase(); +rhs=rhs.toLowerCase(); +} +if(lhsrhs){ +return CPOrderedDescending; +} +} +return CPOrderedSame; +} +}),new objj_method(sel_getUid("compare:options:range:"),function(_5b,_5c,_5d,_5e,_5f){ +with(_5b){ +var lhs=objj_msgSend(_5b,"substringWithRange:",_5f),rhs=_5d; +return objj_msgSend(lhs,"compare:options:",rhs,_5e); +} +}),new objj_method(sel_getUid("hasPrefix:"),function(_60,_61,_62){ +with(_60){ +return _62&&_62!=""&&indexOf(_62)==0; +} +}),new objj_method(sel_getUid("hasSuffix:"),function(_63,_64,_65){ +with(_63){ +return _65&&_65!=""&&length>=_65.length&&lastIndexOf(_65)==(length-_65.length); +} +}),new objj_method(sel_getUid("isEqualToString:"),function(_66,_67,_68){ +with(_66){ +return _66==_68; +} +}),new objj_method(sel_getUid("UID"),function(_69,_6a){ +with(_69){ +var UID=_1.valueForKey(_69); +if(!UID){ +UID=objj_generateObjectUID(); +_1.setValueForKey(_69,UID); +} +return UID+""; +} +}),new objj_method(sel_getUid("commonPrefixWithString:"),function(_6b,_6c,_6d){ +with(_6b){ +return objj_msgSend(_6b,"commonPrefixWithString:options:",_6d,0); +} +}),new objj_method(sel_getUid("commonPrefixWithString:options:"),function(_6e,_6f,_70,_71){ +with(_6e){ +var len=0,lhs=_6e,rhs=_70,min=MIN(objj_msgSend(lhs,"length"),objj_msgSend(rhs,"length")); +if(_71&CPCaseInsensitiveSearch){ +lhs=objj_msgSend(lhs,"lowercaseString"); +rhs=objj_msgSend(rhs,"lowercaseString"); +} +for(;len=_5){ +return; +} +_4.push(_1e); +} +}),new objj_method(sel_getUid("undoGroupingWithParent:"),function(_1f,_20,_21){ +with(_1f){ +if(_4.length){ +var _22=_4.pop(); +_22._parent=_21; +if(_22._invocations.length){ +_22._invocations=[]; +} +return _22; +} +return objj_msgSend(objj_msgSend(_1f,"alloc"),"initWithParent:",_21); +} +})]); +var _23="_CPUndoGroupingParentKey",_24="_CPUndoGroupingInvocationsKey"; +var _6=objj_getClass("_CPUndoGrouping"); +if(!_6){ +throw new SyntaxError("*** Could not find definition for class \"_CPUndoGrouping\""); +} +var _7=_6.isa; +class_addMethods(_6,[new objj_method(sel_getUid("initWithCoder:"),function(_25,_26,_27){ +with(_25){ +_25=objj_msgSendSuper({receiver:_25,super_class:objj_getClass("_CPUndoGrouping").super_class},"init"); +if(_25){ +_parent=objj_msgSend(_27,"decodeObjectForKey:",_23); +_invocations=objj_msgSend(_27,"decodeObjectForKey:",_24); +} +return _25; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_28,_29,_2a){ +with(_28){ +objj_msgSend(_2a,"encodeObject:forKey:",_parent,_23); +objj_msgSend(_2a,"encodeObject:forKey:",_invocations,_24); +} +})]); +var _6=objj_allocateClassPair(CPObject,"CPUndoManager"),_7=_6.isa; +class_addIvars(_6,[new objj_ivar("_redoStack"),new objj_ivar("_undoStack"),new objj_ivar("_groupsByEvent"),new objj_ivar("_disableCount"),new objj_ivar("_levelsOfUndo"),new objj_ivar("_currentGrouping"),new objj_ivar("_state"),new objj_ivar("_actionName"),new objj_ivar("_preparedTarget"),new objj_ivar("_undoManagerProxy"),new objj_ivar("_runLoopModes"),new objj_ivar("_registeredWithRunLoop")]); +objj_registerClassPair(_6); +class_addMethods(_6,[new objj_method(sel_getUid("init"),function(_2b,_2c){ +with(_2b){ +_2b=objj_msgSendSuper({receiver:_2b,super_class:objj_getClass("CPUndoManager").super_class},"init"); +if(_2b){ +_redoStack=[]; +_undoStack=[]; +_state=_1; +objj_msgSend(_2b,"setRunLoopModes:",[CPDefaultRunLoopMode]); +objj_msgSend(_2b,"setGroupsByEvent:",YES); +_undoManagerProxy=objj_msgSend(_CPUndoManagerProxy,"alloc"); +_undoManagerProxy._undoManager=_2b; +} +return _2b; +} +}),new objj_method(sel_getUid("_addUndoInvocation:"),function(_2d,_2e,_2f){ +with(_2d){ +if(!_currentGrouping){ +if(objj_msgSend(_2d,"groupsByEvent")){ +objj_msgSend(_2d,"_beginUndoGroupingForEvent"); +}else{ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"No undo group is currently open"); +} +} +objj_msgSend(_currentGrouping,"addInvocation:",_2f); +if(_state===_1){ +objj_msgSend(_redoStack,"removeAllObjects"); +} +} +}),new objj_method(sel_getUid("registerUndoWithTarget:selector:object:"),function(_30,_31,_32,_33,_34){ +with(_30){ +if(_disableCount>0){ +return; +} +var _35=objj_msgSend(CPInvocation,"invocationWithMethodSignature:",nil); +objj_msgSend(_35,"setTarget:",_32); +objj_msgSend(_35,"setSelector:",_33); +objj_msgSend(_35,"setArgument:atIndex:",_34,2); +objj_msgSend(_30,"_addUndoInvocation:",_35); +} +}),new objj_method(sel_getUid("prepareWithInvocationTarget:"),function(_36,_37,_38){ +with(_36){ +_preparedTarget=_38; +return _undoManagerProxy; +} +}),new objj_method(sel_getUid("_methodSignatureOfPreparedTargetForSelector:"),function(_39,_3a,_3b){ +with(_39){ +if(objj_msgSend(_preparedTarget,"respondsToSelector:",_3b)){ +return 1; +} +return nil; +} +}),new objj_method(sel_getUid("_forwardInvocationToPreparedTarget:"),function(_3c,_3d,_3e){ +with(_3c){ +if(_disableCount>0){ +return; +} +objj_msgSend(_3e,"setTarget:",_preparedTarget); +objj_msgSend(_3c,"_addUndoInvocation:",_3e); +_preparedTarget=nil; +} +}),new objj_method(sel_getUid("canRedo"),function(_3f,_40){ +with(_3f){ +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPUndoManagerCheckpointNotification,_3f); +return objj_msgSend(_redoStack,"count")>0; +} +}),new objj_method(sel_getUid("canUndo"),function(_41,_42){ +with(_41){ +if(_undoStack.length>0){ +return YES; +} +return objj_msgSend(_currentGrouping,"actions").length>0; +} +}),new objj_method(sel_getUid("undo"),function(_43,_44){ +with(_43){ +if(objj_msgSend(_43,"groupingLevel")===1){ +objj_msgSend(_43,"endUndoGrouping"); +} +objj_msgSend(_43,"undoNestedGroup"); +} +}),new objj_method(sel_getUid("undoNestedGroup"),function(_45,_46){ +with(_45){ +if(objj_msgSend(_undoStack,"count")<=0){ +return; +} +var _47=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_47,"postNotificationName:object:",CPUndoManagerCheckpointNotification,_45); +objj_msgSend(_47,"postNotificationName:object:",CPUndoManagerWillUndoChangeNotification,_45); +var _48=_undoStack.pop(); +_state=_2; +objj_msgSend(_45,"_beginUndoGrouping"); +objj_msgSend(_48,"invoke"); +objj_msgSend(_45,"endUndoGrouping"); +objj_msgSend(_CPUndoGrouping,"_poolUndoGrouping:",_48); +_state=_1; +objj_msgSend(_47,"postNotificationName:object:",CPUndoManagerDidUndoChangeNotification,_45); +} +}),new objj_method(sel_getUid("redo"),function(_49,_4a){ +with(_49){ +if(objj_msgSend(_redoStack,"count")<=0){ +return; +} +var _4b=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_4b,"postNotificationName:object:",CPUndoManagerCheckpointNotification,_49); +objj_msgSend(_4b,"postNotificationName:object:",CPUndoManagerWillRedoChangeNotification,_49); +var _4c=_currentGrouping,_4d=_redoStack.pop(); +_currentGrouping=nil; +_state=_3; +objj_msgSend(_49,"_beginUndoGrouping"); +objj_msgSend(_4d,"invoke"); +objj_msgSend(_49,"endUndoGrouping"); +objj_msgSend(_CPUndoGrouping,"_poolUndoGrouping:",_4d); +_currentGrouping=_4c; +_state=_1; +objj_msgSend(_4b,"postNotificationName:object:",CPUndoManagerDidRedoChangeNotification,_49); +} +}),new objj_method(sel_getUid("beginUndoGrouping"),function(_4e,_4f){ +with(_4e){ +if(!_currentGrouping&&objj_msgSend(_4e,"groupsByEvent")){ +objj_msgSend(_4e,"_beginUndoGroupingForEvent"); +} +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPUndoManagerCheckpointNotification,_4e); +objj_msgSend(_4e,"_beginUndoGrouping"); +} +}),new objj_method(sel_getUid("_beginUndoGroupingForEvent"),function(_50,_51){ +with(_50){ +objj_msgSend(_50,"_beginUndoGrouping"); +objj_msgSend(_50,"_registerWithRunLoop"); +} +}),new objj_method(sel_getUid("_beginUndoGrouping"),function(_52,_53){ +with(_52){ +_currentGrouping=objj_msgSend(_CPUndoGrouping,"undoGroupingWithParent:",_currentGrouping); +} +}),new objj_method(sel_getUid("endUndoGrouping"),function(_54,_55){ +with(_54){ +if(!_currentGrouping){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"endUndoGrouping. No undo group is currently open."); +} +var _56=objj_msgSend(CPNotificationCenter,"defaultCenter"); +objj_msgSend(_56,"postNotificationName:object:",CPUndoManagerCheckpointNotification,_54); +var _57=objj_msgSend(_currentGrouping,"parent"); +if(!_57&&objj_msgSend(_currentGrouping,"invocations").length>0){ +objj_msgSend(_56,"postNotificationName:object:",CPUndoManagerWillCloseUndoGroupNotification,_54); +var _58=_state===_2?_redoStack:_undoStack; +_58.push(_currentGrouping); +if(_levelsOfUndo>0&&_58.length>_levelsOfUndo){ +_58.splice(0,1); +} +}else{ +objj_msgSend(_57,"addInvocationsFromArray:",objj_msgSend(_currentGrouping,"invocations")); +objj_msgSend(_CPUndoGrouping,"_poolUndoGrouping:",_currentGrouping); +} +_currentGrouping=_57; +} +}),new objj_method(sel_getUid("enableUndoRegistration"),function(_59,_5a){ +with(_59){ +if(_disableCount<=0){ +objj_msgSend(CPException,"raise:reason:",CPInternalInconsistencyException,"enableUndoRegistration. There are no disable messages in effect right now."); +} +_disableCount--; +} +}),new objj_method(sel_getUid("groupsByEvent"),function(_5b,_5c){ +with(_5b){ +return _groupsByEvent; +} +}),new objj_method(sel_getUid("setGroupsByEvent:"),function(_5d,_5e,_5f){ +with(_5d){ +_5f=!!_5f; +if(_groupsByEvent===_5f){ +return; +} +_groupsByEvent=_5f; +if(!objj_msgSend(_5d,"groupsByEvent")){ +objj_msgSend(_5d,"_unregisterWithRunLoop"); +} +} +}),new objj_method(sel_getUid("groupingLevel"),function(_60,_61){ +with(_60){ +var _62=_currentGrouping,_63=_currentGrouping!=nil; +while(_62=objj_msgSend(_62,"parent")){ +++_63; +} +return _63; +} +}),new objj_method(sel_getUid("disableUndoRegistration"),function(_64,_65){ +with(_64){ +++_disableCount; +} +}),new objj_method(sel_getUid("isUndoRegistrationEnabled"),function(_66,_67){ +with(_66){ +return _disableCount==0; +} +}),new objj_method(sel_getUid("isUndoing"),function(_68,_69){ +with(_68){ +return _state===_2; +} +}),new objj_method(sel_getUid("isRedoing"),function(_6a,_6b){ +with(_6a){ +return _state===_3; +} +}),new objj_method(sel_getUid("removeAllActions"),function(_6c,_6d){ +with(_6c){ +_redoStack=[]; +_undoStack=[]; +_disableCount=0; +} +}),new objj_method(sel_getUid("removeAllActionsWithTarget:"),function(_6e,_6f,_70){ +with(_6e){ +objj_msgSend(_currentGrouping,"removeInvocationsWithTarget:",_70); +var _71=_redoStack.length; +while(_71--){ +var _72=_redoStack[_71]; +objj_msgSend(_72,"removeInvocationsWithTarget:",_70); +if(!objj_msgSend(_72,"invocations").length){ +_redoStack.splice(_71,1); +} +} +_71=_undoStack.length; +while(_71--){ +var _72=_undoStack[_71]; +objj_msgSend(_72,"removeInvocationsWithTarget:",_70); +if(!objj_msgSend(_72,"invocations").length){ +_undoStack.splice(_71,1); +} +} +} +}),new objj_method(sel_getUid("setActionName:"),function(_73,_74,_75){ +with(_73){ +_actionName=_75; +} +}),new objj_method(sel_getUid("redoActionName"),function(_76,_77){ +with(_76){ +return objj_msgSend(_76,"canRedo")?_actionName:nil; +} +}),new objj_method(sel_getUid("undoActionName"),function(_78,_79){ +with(_78){ +return objj_msgSend(_78,"canUndo")?_actionName:nil; +} +}),new objj_method(sel_getUid("runLoopModes"),function(_7a,_7b){ +with(_7a){ +return _runLoopModes; +} +}),new objj_method(sel_getUid("setRunLoopModes:"),function(_7c,_7d,_7e){ +with(_7c){ +_runLoopModes=objj_msgSend(_7e,"copy"); +if(_registeredWithRunLoop){ +objj_msgSend(_7c,"_unregisterWithRunLoop"); +objj_msgSend(_7c,"_registerWithRunLoop"); +} +} +}),new objj_method(sel_getUid("_runLoopEndUndoGrouping"),function(_7f,_80){ +with(_7f){ +objj_msgSend(_7f,"endUndoGrouping"); +_registeredWithRunLoop=NO; +} +}),new objj_method(sel_getUid("_registerWithRunLoop"),function(_81,_82){ +with(_81){ +if(_registeredWithRunLoop){ +return; +} +_registeredWithRunLoop=YES; +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"performSelector:target:argument:order:modes:",sel_getUid("_runLoopEndUndoGrouping"),_81,nil,CPUndoCloseGroupingRunLoopOrdering,_runLoopModes); +} +}),new objj_method(sel_getUid("_unregisterWithRunLoop"),function(_83,_84){ +with(_83){ +if(!_registeredWithRunLoop){ +return; +} +_registeredWithRunLoop=NO; +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"cancelPerformSelector:target:argument:",sel_getUid("_runLoopEndUndoGrouping"),_83,nil); +} +}),new objj_method(sel_getUid("observeChangesForKeyPath:ofObject:"),function(_85,_86,_87,_88){ +with(_85){ +objj_msgSend(_88,"addObserver:forKeyPath:options:context:",_85,_87,CPKeyValueObservingOptionOld|CPKeyValueObservingOptionNew,NULL); +} +}),new objj_method(sel_getUid("stopObservingChangesForKeyPath:ofObject:"),function(_89,_8a,_8b,_8c){ +with(_89){ +objj_msgSend(_8c,"removeObserver:forKeyPath:",_89,_8b); +} +}),new objj_method(sel_getUid("observeValueForKeyPath:ofObject:change:context:"),function(_8d,_8e,_8f,_90,_91,_92){ +with(_8d){ +objj_msgSend(objj_msgSend(_8d,"prepareWithInvocationTarget:",_90),"applyChange:toKeyPath:",objj_msgSend(_91,"inverseChangeDictionary"),_8f); +} +})]); +var _93="CPUndoManagerRedoStackKey",_94="CPUndoManagerUndoStackKey"; +CPUndoManagerLevelsOfUndoKey="CPUndoManagerLevelsOfUndoKey"; +CPUndoManagerActionNameKey="CPUndoManagerActionNameKey"; +CPUndoManagerCurrentGroupingKey="CPUndoManagerCurrentGroupingKey"; +CPUndoManagerRunLoopModesKey="CPUndoManagerRunLoopModesKey"; +CPUndoManagerGroupsByEventKey="CPUndoManagerGroupsByEventKey"; +var _6=objj_getClass("CPUndoManager"); +if(!_6){ +throw new SyntaxError("*** Could not find definition for class \"CPUndoManager\""); +} +var _7=_6.isa; +class_addMethods(_6,[new objj_method(sel_getUid("initWithCoder:"),function(_95,_96,_97){ +with(_95){ +_95=objj_msgSendSuper({receiver:_95,super_class:objj_getClass("CPUndoManager").super_class},"init"); +if(_95){ +_redoStack=objj_msgSend(_97,"decodeObjectForKey:",_93); +_undoStack=objj_msgSend(_97,"decodeObjectForKey:",_94); +_levelsOfUndo=objj_msgSend(_97,"decodeObjectForKey:",CPUndoManagerLevelsOfUndoKey); +_actionName=objj_msgSend(_97,"decodeObjectForKey:",CPUndoManagerActionNameKey); +_currentGrouping=objj_msgSend(_97,"decodeObjectForKey:",CPUndoManagerCurrentGroupingKey); +_state=_1; +objj_msgSend(_95,"setRunLoopModes:",objj_msgSend(_97,"decodeObjectForKey:",CPUndoManagerRunLoopModesKey)); +objj_msgSend(_95,"setGroupsByEvent:",objj_msgSend(_97,"decodeBoolForKey:",CPUndoManagerGroupsByEventKey)); +} +return _95; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_98,_99,_9a){ +with(_98){ +objj_msgSend(_9a,"encodeObject:forKey:",_redoStack,_93); +objj_msgSend(_9a,"encodeObject:forKey:",_undoStack,_94); +objj_msgSend(_9a,"encodeInt:forKey:",_levelsOfUndo,CPUndoManagerLevelsOfUndoKey); +objj_msgSend(_9a,"encodeObject:forKey:",_actionName,CPUndoManagerActionNameKey); +objj_msgSend(_9a,"encodeObject:forKey:",_currentGrouping,CPUndoManagerCurrentGroupingKey); +objj_msgSend(_9a,"encodeObject:forKey:",_runLoopModes,CPUndoManagerRunLoopModesKey); +objj_msgSend(_9a,"encodeBool:forKey:",_groupsByEvent,CPUndoManagerGroupsByEventKey); +} +})]); +var _6=objj_allocateClassPair(CPProxy,"_CPUndoManagerProxy"),_7=_6.isa; +class_addIvars(_6,[new objj_ivar("_undoManager")]); +objj_registerClassPair(_6); +class_addMethods(_6,[new objj_method(sel_getUid("methodSignatureForSelector:"),function(_9b,_9c,_9d){ +with(_9b){ +return objj_msgSend(_undoManager,"_methodSignatureOfPreparedTargetForSelector:",_9d); +} +}),new objj_method(sel_getUid("forwardInvocation:"),function(_9e,_9f,_a0){ +with(_9e){ +objj_msgSend(_undoManager,"_forwardInvocationToPreparedTarget:",_a0); +} +})]); +p;7;CPURL.jt;5831;@STATIC;1.0;I;21;Foundation/CPObject.jt;5786; +objj_executeFile("Foundation/CPObject.j",NO); +CPURLNameKey="CPURLNameKey"; +CPURLLocalizedNameKey="CPURLLocalizedNameKey"; +CPURLIsRegularFileKey="CPURLIsRegularFileKey"; +CPURLIsDirectoryKey="CPURLIsDirectoryKey"; +CPURLIsSymbolicLinkKey="CPURLIsSymbolicLinkKey"; +CPURLIsVolumeKey="CPURLIsVolumeKey"; +CPURLIsPackageKey="CPURLIsPackageKey"; +CPURLIsSystemImmutableKey="CPURLIsSystemImmutableKey"; +CPURLIsUserImmutableKey="CPURLIsUserImmutableKey"; +CPURLIsHiddenKey="CPURLIsHiddenKey"; +CPURLHasHiddenExtensionKey="CPURLHasHiddenExtensionKey"; +CPURLCreationDateKey="CPURLCreationDateKey"; +CPURLContentAccessDateKey="CPURLContentAccessDateKey"; +CPURLContentModificationDateKey="CPURLContentModificationDateKey"; +CPURLAttributeModificationDateKey="CPURLAttributeModificationDateKey"; +CPURLLinkCountKey="CPURLLinkCountKey"; +CPURLParentDirectoryURLKey="CPURLParentDirectoryURLKey"; +CPURLVolumeURLKey="CPURLTypeIdentifierKey"; +CPURLTypeIdentifierKey="CPURLTypeIdentifierKey"; +CPURLLocalizedTypeDescriptionKey="CPURLLocalizedTypeDescriptionKey"; +CPURLLabelNumberKey="CPURLLabelNumberKey"; +CPURLLabelColorKey="CPURLLabelColorKey"; +CPURLLocalizedLabelKey="CPURLLocalizedLabelKey"; +CPURLEffectiveIconKey="CPURLEffectiveIconKey"; +CPURLCustomIconKey="CPURLCustomIconKey"; +var _1=objj_allocateClassPair(CPObject,"CPURL"),_2=_1.isa; +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("init"),function(_3,_4){ +with(_3){ +return nil; +} +}),new objj_method(sel_getUid("initWithScheme:host:path:"),function(_5,_6,_7,_8,_9){ +with(_5){ +var _a=(_7?_7+":":"")+(_8?_8+"//":"")+(_9||""); +return objj_msgSend(_5,"initWithString:",_a); +} +}),new objj_method(sel_getUid("initWithString:"),function(_b,_c,_d){ +with(_b){ +return objj_msgSend(_b,"initWithString:relativeToURL:",_d,nil); +} +}),new objj_method(sel_getUid("initWithString:relativeToURL:"),function(_e,_f,_10,_11){ +with(_e){ +return new CFURL(_10,_11); +} +}),new objj_method(sel_getUid("absoluteURL"),function(_12,_13){ +with(_12){ +return _12.absoluteURL(); +} +}),new objj_method(sel_getUid("baseURL"),function(_14,_15){ +with(_14){ +return _14.baseURL(); +} +}),new objj_method(sel_getUid("absoluteString"),function(_16,_17){ +with(_16){ +return _16.absoluteString(); +} +}),new objj_method(sel_getUid("relativeString"),function(_18,_19){ +with(_18){ +return _18.string(); +} +}),new objj_method(sel_getUid("path"),function(_1a,_1b){ +with(_1a){ +return objj_msgSend(_1a,"absoluteURL").path(); +} +}),new objj_method(sel_getUid("relativePath"),function(_1c,_1d){ +with(_1c){ +return _1c.path(); +} +}),new objj_method(sel_getUid("scheme"),function(_1e,_1f){ +with(_1e){ +return _1e.scheme(); +} +}),new objj_method(sel_getUid("user"),function(_20,_21){ +with(_20){ +return objj_msgSend(_20,"absoluteURL").user(); +} +}),new objj_method(sel_getUid("password"),function(_22,_23){ +with(_22){ +return objj_msgSend(_22,"absoluteURL").password(); +} +}),new objj_method(sel_getUid("host"),function(_24,_25){ +with(_24){ +return objj_msgSend(_24,"absoluteURL").domain(); +} +}),new objj_method(sel_getUid("port"),function(_26,_27){ +with(_26){ +var _28=objj_msgSend(_26,"absoluteURL").portNumber(); +if(_28===-1){ +return nil; +} +return _28; +} +}),new objj_method(sel_getUid("parameterString"),function(_29,_2a){ +with(_29){ +return _29.queryString(); +} +}),new objj_method(sel_getUid("fragment"),function(_2b,_2c){ +with(_2b){ +return _2b.fragment(); +} +}),new objj_method(sel_getUid("isEqual:"),function(_2d,_2e,_2f){ +with(_2d){ +return objj_msgSend(_2d,"relativeString")===objj_msgSend(_2f,"relativeString")&&(objj_msgSend(_2d,"baseURL")===objj_msgSend(_2f,"baseURL")||objj_msgSend(objj_msgSend(_2d,"baseURL"),"isEqual:",objj_msgSend(_2f,"baseURL"))); +} +}),new objj_method(sel_getUid("lastPathComponent"),function(_30,_31){ +with(_30){ +return objj_msgSend(_30,"absoluteURL").lastPathComponent(); +} +}),new objj_method(sel_getUid("pathExtension"),function(_32,_33){ +with(_32){ +return _32.pathExtension(); +} +}),new objj_method(sel_getUid("standardizedURL"),function(_34,_35){ +with(_34){ +return _34.standardizedURL(); +} +}),new objj_method(sel_getUid("isFileURL"),function(_36,_37){ +with(_36){ +return objj_msgSend(_36,"scheme")==="file"; +} +}),new objj_method(sel_getUid("description"),function(_38,_39){ +with(_38){ +return objj_msgSend(_38,"absoluteString"); +} +}),new objj_method(sel_getUid("resourceValueForKey:"),function(_3a,_3b,_3c){ +with(_3a){ +return _3a.resourcePropertyForKey(_3c); +} +}),new objj_method(sel_getUid("setResourceValue:forKey:"),function(_3d,_3e,_3f,_40){ +with(_3d){ +return _3d.setResourcePropertyForKey(_40,_3f); +} +}),new objj_method(sel_getUid("staticResourceData"),function(_41,_42){ +with(_41){ +return _41.staticResourceData(); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("alloc"),function(_43,_44){ +with(_43){ +return new CFURL(); +} +}),new objj_method(sel_getUid("URLWithString:"),function(_45,_46,_47){ +with(_45){ +return objj_msgSend(objj_msgSend(_45,"alloc"),"initWithString:",_47); +} +}),new objj_method(sel_getUid("URLWithString:relativeToURL:"),function(_48,_49,_4a,_4b){ +with(_48){ +return objj_msgSend(objj_msgSend(_48,"alloc"),"initWithString:relativeToURL:",_4a,_4b); +} +})]); +var _4c="CPURLURLStringKey",_4d="CPURLBaseURLKey"; +var _1=objj_getClass("CPURL"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPURL\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_4e,_4f,_50){ +with(_4e){ +return objj_msgSend(_4e,"initWithString:relativeToURL:",objj_msgSend(_50,"decodeObjectForKey:",_4c),objj_msgSend(_50,"decodeObjectForKey:",_4d)); +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_51,_52,_53){ +with(_51){ +objj_msgSend(_53,"encodeObject:forKey:",_baseURL,_4d); +objj_msgSend(_53,"encodeObject:forKey:",_string,_4c); +} +})]); +CFURL.prototype.isa=objj_msgSend(CPURL,"class"); +p;17;CPURLConnection.jt;5414;@STATIC;1.0;i;10;CPObject.ji;11;CPRunLoop.ji;14;CPURLRequest.ji;15;CPURLResponse.jt;5325; +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPRunLoop.j",YES); +objj_executeFile("CPURLRequest.j",YES); +objj_executeFile("CPURLResponse.j",YES); +var _1=nil; +var _2=objj_allocateClassPair(CPObject,"CPURLConnection"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_request"),new objj_ivar("_delegate"),new objj_ivar("_isCanceled"),new objj_ivar("_isLocalFileConnection"),new objj_ivar("_HTTPRequest")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("initWithRequest:delegate:startImmediately:"),function(_4,_5,_6,_7,_8){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPURLConnection").super_class},"init"); +if(_4){ +_request=_6; +_delegate=_7; +_isCanceled=NO; +var _9=objj_msgSend(_request,"URL"),_a=objj_msgSend(_9,"scheme"); +_isLocalFileConnection=_a==="file"||((_a==="http"||_a==="https:")&&window.location&&(window.location.protocol==="file:"||window.location.protocol==="app:")); +_HTTPRequest=new CFHTTPRequest(); +if(_8){ +objj_msgSend(_4,"start"); +} +} +return _4; +} +}),new objj_method(sel_getUid("initWithRequest:delegate:"),function(_b,_c,_d,_e){ +with(_b){ +return objj_msgSend(_b,"initWithRequest:delegate:startImmediately:",_d,_e,YES); +} +}),new objj_method(sel_getUid("delegate"),function(_f,_10){ +with(_f){ +return _delegate; +} +}),new objj_method(sel_getUid("start"),function(_11,_12){ +with(_11){ +_isCanceled=NO; +try{ +_HTTPRequest.open(objj_msgSend(_request,"HTTPMethod"),objj_msgSend(objj_msgSend(_request,"URL"),"absoluteString"),YES); +_HTTPRequest.onreadystatechange=function(){ +objj_msgSend(_11,"_readyStateDidChange"); +}; +var _13=objj_msgSend(_request,"allHTTPHeaderFields"),key=nil,_14=objj_msgSend(_13,"keyEnumerator"); +while(key=objj_msgSend(_14,"nextObject")){ +_HTTPRequest.setRequestHeader(key,objj_msgSend(_13,"objectForKey:",key)); +} +_HTTPRequest.send(objj_msgSend(_request,"HTTPBody")); +} +catch(anException){ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("connection:didFailWithError:"))){ +objj_msgSend(_delegate,"connection:didFailWithError:",_11,anException); +} +} +} +}),new objj_method(sel_getUid("cancel"),function(_15,_16){ +with(_15){ +_isCanceled=YES; +try{ +_HTTPRequest.abort(); +} +catch(anException){ +} +} +}),new objj_method(sel_getUid("isLocalFileConnection"),function(_17,_18){ +with(_17){ +return _isLocalFileConnection; +} +}),new objj_method(sel_getUid("_readyStateDidChange"),function(_19,_1a){ +with(_19){ +if(_HTTPRequest.readyState()===CFHTTPRequest.CompleteState){ +var _1b=_HTTPRequest.status(),URL=objj_msgSend(_request,"URL"); +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("connection:didReceiveResponse:"))){ +if(_isLocalFileConnection){ +objj_msgSend(_delegate,"connection:didReceiveResponse:",_19,objj_msgSend(objj_msgSend(CPURLResponse,"alloc"),"initWithURL:",URL)); +}else{ +var _1c=objj_msgSend(objj_msgSend(CPHTTPURLResponse,"alloc"),"initWithURL:",URL); +objj_msgSend(_1c,"_setStatusCode:",_1b); +objj_msgSend(_delegate,"connection:didReceiveResponse:",_19,_1c); +} +} +if(!_isCanceled){ +if(_1b===401&&objj_msgSend(_1,"respondsToSelector:",sel_getUid("connectionDidReceiveAuthenticationChallenge:"))){ +objj_msgSend(_1,"connectionDidReceiveAuthenticationChallenge:",_19); +}else{ +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("connection:didReceiveData:"))){ +objj_msgSend(_delegate,"connection:didReceiveData:",_19,_HTTPRequest.responseText()); +} +if(objj_msgSend(_delegate,"respondsToSelector:",sel_getUid("connectionDidFinishLoading:"))){ +objj_msgSend(_delegate,"connectionDidFinishLoading:",_19); +} +} +} +} +objj_msgSend(objj_msgSend(CPRunLoop,"currentRunLoop"),"limitDateForMode:",CPDefaultRunLoopMode); +} +}),new objj_method(sel_getUid("_HTTPRequest"),function(_1d,_1e){ +with(_1d){ +return _HTTPRequest; +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("setClassDelegate:"),function(_1f,_20,_21){ +with(_1f){ +_1=_21; +} +}),new objj_method(sel_getUid("sendSynchronousRequest:returningResponse:"),function(_22,_23,_24,_25){ +with(_22){ +try{ +var _26=new CFHTTPRequest(); +_26.open(objj_msgSend(_24,"HTTPMethod"),objj_msgSend(objj_msgSend(_24,"URL"),"absoluteString"),NO); +var _27=objj_msgSend(_24,"allHTTPHeaderFields"),key=nil,_28=objj_msgSend(_27,"keyEnumerator"); +while(key=objj_msgSend(_28,"nextObject")){ +_26.setRequestHeader(key,objj_msgSend(_27,"objectForKey:",key)); +} +_26.send(objj_msgSend(_24,"HTTPBody")); +return objj_msgSend(CPData,"dataWithRawString:",_26.responseText()); +} +catch(anException){ +} +return nil; +} +}),new objj_method(sel_getUid("connectionWithRequest:delegate:"),function(_29,_2a,_2b,_2c){ +with(_29){ +return objj_msgSend(objj_msgSend(_29,"alloc"),"initWithRequest:delegate:",_2b,_2c); +} +})]); +var _2=objj_getClass("CPURLConnection"); +if(!_2){ +throw new SyntaxError("*** Could not find definition for class \"CPURLConnection\""); +} +var _3=_2.isa; +class_addMethods(_2,[new objj_method(sel_getUid("_XMLHTTPRequest"),function(_2d,_2e){ +with(_2d){ +_CPReportLenientDeprecation(_2d,_2e,sel_getUid("_HTTPRequest")); +return objj_msgSend(_2d,"_HTTPRequest"); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("sendSynchronousRequest:returningResponse:error:"),function(_2f,_30,_31,_32,_33){ +with(_2f){ +_CPReportLenientDeprecation(_2f,_30,sel_getUid("sendSynchronousRequest:returningResponse:")); +return objj_msgSend(_2f,"sendSynchronousRequest:returningResponse:",_31,_32); +} +})]); +p;14;CPURLRequest.jt;2068;@STATIC;1.0;i;10;CPObject.jt;2034; +objj_executeFile("CPObject.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPURLRequest"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_URL"),new objj_ivar("_HTTPBody"),new objj_ivar("_HTTPMethod"),new objj_ivar("_HTTPHeaderFields")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithURL:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPURLRequest").super_class},"init"); +if(_3){ +objj_msgSend(_3,"setURL:",_5); +_HTTPBody=""; +_HTTPMethod="GET"; +_HTTPHeaderFields=objj_msgSend(CPDictionary,"dictionary"); +objj_msgSend(_3,"setValue:forHTTPHeaderField:","Thu, 1 Jan 1970 00:00:00 GMT","If-Modified-Since"); +objj_msgSend(_3,"setValue:forHTTPHeaderField:","no-cache","Cache-Control"); +objj_msgSend(_3,"setValue:forHTTPHeaderField:","XMLHttpRequest","X-Requested-With"); +} +return _3; +} +}),new objj_method(sel_getUid("URL"),function(_6,_7){ +with(_6){ +return _URL; +} +}),new objj_method(sel_getUid("setURL:"),function(_8,_9,_a){ +with(_8){ +_URL=new CFURL(_a); +} +}),new objj_method(sel_getUid("setHTTPBody:"),function(_b,_c,_d){ +with(_b){ +_HTTPBody=_d; +} +}),new objj_method(sel_getUid("HTTPBody"),function(_e,_f){ +with(_e){ +return _HTTPBody; +} +}),new objj_method(sel_getUid("setHTTPMethod:"),function(_10,_11,_12){ +with(_10){ +_HTTPMethod=_12; +} +}),new objj_method(sel_getUid("HTTPMethod"),function(_13,_14){ +with(_13){ +return _HTTPMethod; +} +}),new objj_method(sel_getUid("allHTTPHeaderFields"),function(_15,_16){ +with(_15){ +return _HTTPHeaderFields; +} +}),new objj_method(sel_getUid("valueForHTTPHeaderField:"),function(_17,_18,_19){ +with(_17){ +return objj_msgSend(_HTTPHeaderFields,"objectForKey:",_19); +} +}),new objj_method(sel_getUid("setValue:forHTTPHeaderField:"),function(_1a,_1b,_1c,_1d){ +with(_1a){ +objj_msgSend(_HTTPHeaderFields,"setObject:forKey:",_1c,_1d); +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("requestWithURL:"),function(_1e,_1f,_20){ +with(_1e){ +return objj_msgSend(objj_msgSend(CPURLRequest,"alloc"),"initWithURL:",_20); +} +})]); +p;15;CPURLResponse.jt;888;@STATIC;1.0;i;10;CPObject.jt;855; +objj_executeFile("CPObject.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPURLResponse"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_URL")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithURL:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPURLResponse").super_class},"init"); +if(_3){ +_URL=_5; +} +return _3; +} +}),new objj_method(sel_getUid("URL"),function(_6,_7){ +with(_6){ +return _URL; +} +})]); +var _1=objj_allocateClassPair(CPURLResponse,"CPHTTPURLResponse"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_statusCode")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("_setStatusCode:"),function(_8,_9,_a){ +with(_8){ +_statusCode=_a; +} +}),new objj_method(sel_getUid("statusCode"),function(_b,_c){ +with(_b){ +return _statusCode; +} +})]); +p;22;CPUserSessionManager.jt;1954;@STATIC;1.0;I;21;Foundation/CPObject.jI;21;Foundation/CPString.jt;1883; +objj_executeFile("Foundation/CPObject.j",NO); +objj_executeFile("Foundation/CPString.j",NO); +CPUserSessionUndeterminedStatus=0; +CPUserSessionLoggedInStatus=1; +CPUserSessionLoggedOutStatus=2; +CPUserSessionManagerStatusDidChangeNotification="CPUserSessionManagerStatusDidChangeNotification"; +CPUserSessionManagerUserIdentifierDidChangeNotification="CPUserSessionManagerUserIdentifierDidChangeNotification"; +var _1=nil; +var _2=objj_allocateClassPair(CPObject,"CPUserSessionManager"),_3=_2.isa; +class_addIvars(_2,[new objj_ivar("_status"),new objj_ivar("_userIdentifier")]); +objj_registerClassPair(_2); +class_addMethods(_2,[new objj_method(sel_getUid("init"),function(_4,_5){ +with(_4){ +_4=objj_msgSendSuper({receiver:_4,super_class:objj_getClass("CPUserSessionManager").super_class},"init"); +if(_4){ +_status=CPUserSessionUndeterminedStatus; +} +return _4; +} +}),new objj_method(sel_getUid("status"),function(_6,_7){ +with(_6){ +return _status; +} +}),new objj_method(sel_getUid("setStatus:"),function(_8,_9,_a){ +with(_8){ +if(_status==_a){ +return; +} +_status=_a; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPUserSessionManagerStatusDidChangeNotification,_8); +if(_status!=CPUserSessionLoggedInStatus){ +objj_msgSend(_8,"setUserIdentifier:",nil); +} +} +}),new objj_method(sel_getUid("userIdentifier"),function(_b,_c){ +with(_b){ +return _userIdentifier; +} +}),new objj_method(sel_getUid("setUserIdentifier:"),function(_d,_e,_f){ +with(_d){ +if(_userIdentifier==_f){ +return; +} +_userIdentifier=_f; +objj_msgSend(objj_msgSend(CPNotificationCenter,"defaultCenter"),"postNotificationName:object:",CPUserSessionManagerUserIdentifierDidChangeNotification,_d); +} +})]); +class_addMethods(_3,[new objj_method(sel_getUid("defaultManager"),function(_10,_11){ +with(_10){ +if(!_1){ +_1=objj_msgSend(objj_msgSend(CPUserSessionManager,"alloc"),"init"); +} +return _1; +} +})]); +p;9;CPValue.jt;1690;@STATIC;1.0;i;10;CPObject.ji;9;CPCoder.jt;1643; +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPCoder.j",YES); +var _1=objj_allocateClassPair(CPObject,"CPValue"),_2=_1.isa; +class_addIvars(_1,[new objj_ivar("_JSObject")]); +objj_registerClassPair(_1); +class_addMethods(_1,[new objj_method(sel_getUid("initWithJSObject:"),function(_3,_4,_5){ +with(_3){ +_3=objj_msgSendSuper({receiver:_3,super_class:objj_getClass("CPValue").super_class},"init"); +if(_3){ +_JSObject=_5; +} +return _3; +} +}),new objj_method(sel_getUid("JSObject"),function(_6,_7){ +with(_6){ +return _JSObject; +} +})]); +class_addMethods(_2,[new objj_method(sel_getUid("valueWithJSObject:"),function(_8,_9,_a){ +with(_8){ +return objj_msgSend(objj_msgSend(_8,"alloc"),"initWithJSObject:",_a); +} +})]); +var _b="CPValueValueKey"; +var _1=objj_getClass("CPValue"); +if(!_1){ +throw new SyntaxError("*** Could not find definition for class \"CPValue\""); +} +var _2=_1.isa; +class_addMethods(_1,[new objj_method(sel_getUid("initWithCoder:"),function(_c,_d,_e){ +with(_c){ +_c=objj_msgSendSuper({receiver:_c,super_class:objj_getClass("CPValue").super_class},"init"); +if(_c){ +_JSObject=JSON.parse(objj_msgSend(_e,"decodeObjectForKey:",_b)); +} +return _c; +} +}),new objj_method(sel_getUid("encodeWithCoder:"),function(_f,_10,_11){ +with(_f){ +objj_msgSend(_11,"encodeObject:forKey:",JSON.stringify(_JSObject),_b); +} +})]); +CPJSObjectCreateJSON=function(_12){ +CPLog.warn("CPJSObjectCreateJSON deprecated, use JSON.stringify() or CPString's objectFromJSON"); +return JSON.stringify(_12); +}; +CPJSObjectCreateWithJSON=function(_13){ +CPLog.warn("CPJSObjectCreateWithJSON deprecated, use JSON.parse() or CPString's JSONFromObject"); +return JSON.parse(_13); +}; +p;17;CPWebDAVManager.jt;4315;@STATIC;1.0;t;4296; +var _1=function(_2,_3,_4){ +var _5=objj_msgSend(_4,"objectForKey:","resourcetype"); +if(_5===CPWebDAVManagerCollectionResourceType){ +objj_msgSend(_2,"setResourceValue:forKey:",YES,CPURLIsDirectoryKey); +objj_msgSend(_2,"setResourceValue:forKey:",NO,CPURLIsRegularFileKey); +}else{ +if(_5===CPWebDAVManagerNonCollectionResourceType){ +objj_msgSend(_2,"setResourceValue:forKey:",NO,CPURLIsDirectoryKey); +objj_msgSend(_2,"setResourceValue:forKey:",YES,CPURLIsRegularFileKey); +} +} +var _6=objj_msgSend(_4,"objectForKey:","displayname"); +if(_6!==nil){ +objj_msgSend(_2,"setResourceValue:forKey:",_6,CPURLNameKey); +objj_msgSend(_2,"setResourceValue:forKey:",_6,CPURLLocalizedNameKey); +} +}; +CPWebDAVManagerCollectionResourceType=1; +CPWebDAVManagerNonCollectionResourceType=0; +var _7=objj_allocateClassPair(CPObject,"CPWebDAVManager"),_8=_7.isa; +class_addIvars(_7,[new objj_ivar("_blocksForConnections")]); +objj_registerClassPair(_7); +class_addMethods(_7,[new objj_method(sel_getUid("init"),function(_9,_a){ +with(_9){ +_9=objj_msgSendSuper({receiver:_9,super_class:objj_getClass("CPWebDAVManager").super_class},"init"); +if(_9){ +_blocksForConnections=objj_msgSend(CPDictionary,"dictionary"); +} +return _9; +} +}),new objj_method(sel_getUid("contentsOfDirectoryAtURL:includingPropertiesForKeys:options:block:"),function(_b,_c,_d,_e,_f,_10){ +with(_b){ +var _11=[],_12=objj_msgSend(_e,"count"); +while(_12--){ +_11.push(_13[_e[_12]]); +} +var _14=function(_15,_16){ +var _17=[],_18=nil,_19=objj_msgSend(_16,"keyEnumerator"); +while(_18=objj_msgSend(_19,"nextObject")){ +var URL=objj_msgSend(CPURL,"URLWithString:",_18),_11=objj_msgSend(_16,"objectForKey:",_18); +if(!objj_msgSend(objj_msgSend(URL,"absoluteString"),"isEqual:",objj_msgSend(_15,"absoluteString"))){ +_17.push(URL); +_1(URL,_e,_11); +} +} +return _17; +}; +if(!_10){ +return _14(_d,response); +} +objj_msgSend(_b,"PROPFIND:properties:depth:block:",_d,_11,1,function(_1a,_1b){ +_10(_1a,_14(_1a,_1b)); +}); +} +}),new objj_method(sel_getUid("PROPFIND:properties:depth:block:"),function(_1c,_1d,_1e,_1f,_20,_21){ +with(_1c){ +var _22=objj_msgSend(CPURLRequest,"requestWithURL:",_1e); +objj_msgSend(_22,"setHTTPMethod:","PROPFIND"); +objj_msgSend(_22,"setValue:forHTTPHeaderField:",_20,"Depth"); +var _23=[""],_24=0,_25=_1f.length; +for(;_24<_25;++_24){ +_23.push(""); +} +_23.push(""); +objj_msgSend(_22,"setHTTPBody:",_23.join("")); +if(!_21){ +return _26(objj_msgSend(objj_msgSend(CPURLConnection,"sendSynchronousRequest:returningResponse:",_22,nil),"rawString")); +}else{ +var _27=objj_msgSend(CPURLConnection,"connectionWithRequest:delegate:",_22,_1c); +objj_msgSend(_blocksForConnections,"setObject:forKey:",_21,objj_msgSend(_27,"UID")); +} +} +}),new objj_method(sel_getUid("connection:didReceiveData:"),function(_28,_29,_2a,_2b){ +with(_28){ +var _2c=objj_msgSend(_blocksForConnections,"objectForKey:",objj_msgSend(_2a,"UID")); +_2c(objj_msgSend(_2a._request,"URL"),_26(_2b)); +} +})]); +var _13={}; +_13[CPURLNameKey]="displayname"; +_13[CPURLLocalizedNameKey]="displayname"; +_13[CPURLIsRegularFileKey]="resourcetype"; +_13[CPURLIsDirectoryKey]="resourcetype"; +var _2d=function(_2e){ +if(typeof window["ActiveXObject"]!=="undefined"){ +var _2f=new ActiveXObject("Microsoft.XMLDOM"); +_2f.async=false; +_2f.loadXML(_2e); +return _2f; +} +return new DOMParser().parseFromString(_2e,"text/xml"); +}; +var _26=function(_30){ +var _31=_2d(_30),_32=_31.getElementsByTagNameNS("*","response"),_33=0,_34=_32.length; +var _35=objj_msgSend(CPDictionary,"dictionary"); +for(;_33<_34;++_33){ +var _36=_32[_33],_37=_36.getElementsByTagNameNS("*","prop").item(0).childNodes,_38=0,_39=_37.length,_3a=objj_msgSend(CPDictionary,"dictionary"); +for(;_38<_39;++_38){ +var _3b=_37[_38]; +if(_3b.nodeType===8||_3b.nodeType===3){ +continue; +} +var _3c=_3b.nodeName,_3d=_3c.lastIndexOf(":"); +if(_3d>-1){ +_3c=_3c.substr(_3d+1); +} +if(_3c==="resourcetype"){ +objj_msgSend(_3a,"setObject:forKey:",_3b.firstChild?CPWebDAVManagerCollectionResourceType:CPWebDAVManagerNonCollectionResourceType,_3c); +}else{ +objj_msgSend(_3a,"setObject:forKey:",_3b.firstChild.nodeValue,_3c); +} +} +var _3e=_36.getElementsByTagNameNS("*","href").item(0); +objj_msgSend(_35,"setObject:forKey:",_3a,_3e.firstChild.nodeValue); +} +return _35; +}; +var _3f=function(_40,_41){ +}; +p;12;Foundation.jt;2219;@STATIC;1.0;i;9;CPArray.ji;10;CPBundle.ji;9;CPCoder.ji;8;CPData.ji;8;CPDate.ji;14;CPDictionary.ji;14;CPEnumerator.ji;13;CPException.ji;12;CPIndexSet.ji;14;CPInvocation.ji;19;CPJSONPConnection.ji;17;CPKeyedArchiver.ji;19;CPKeyedUnarchiver.ji;18;CPKeyValueCoding.ji;21;CPKeyValueObserving.ji;7;CPLog.ji;16;CPNotification.ji;22;CPNotificationCenter.ji;8;CPNull.ji;10;CPNumber.ji;10;CPObject.ji;15;CPObjJRuntime.ji;13;CPOperation.ji;18;CPOperationQueue.ji;29;CPPropertyListSerialization.ji;9;CPRange.ji;11;CPRunLoop.ji;7;CPSet.ji;18;CPSortDescriptor.ji;10;CPString.ji;9;CPTimer.ji;15;CPUndoManager.ji;7;CPURL.ji;17;CPURLConnection.ji;14;CPURLRequest.ji;15;CPURLResponse.ji;22;CPUserSessionManager.ji;9;CPValue.jt;1505; +objj_executeFile("CPArray.j",YES); +objj_executeFile("CPBundle.j",YES); +objj_executeFile("CPCoder.j",YES); +objj_executeFile("CPData.j",YES); +objj_executeFile("CPDate.j",YES); +objj_executeFile("CPDictionary.j",YES); +objj_executeFile("CPEnumerator.j",YES); +objj_executeFile("CPException.j",YES); +objj_executeFile("CPIndexSet.j",YES); +objj_executeFile("CPInvocation.j",YES); +objj_executeFile("CPJSONPConnection.j",YES); +objj_executeFile("CPKeyedArchiver.j",YES); +objj_executeFile("CPKeyedUnarchiver.j",YES); +objj_executeFile("CPKeyValueCoding.j",YES); +objj_executeFile("CPKeyValueObserving.j",YES); +objj_executeFile("CPLog.j",YES); +objj_executeFile("CPNotification.j",YES); +objj_executeFile("CPNotificationCenter.j",YES); +objj_executeFile("CPNull.j",YES); +objj_executeFile("CPNumber.j",YES); +objj_executeFile("CPObject.j",YES); +objj_executeFile("CPObjJRuntime.j",YES); +objj_executeFile("CPOperation.j",YES); +objj_executeFile("CPOperationQueue.j",YES); +objj_executeFile("CPPropertyListSerialization.j",YES); +objj_executeFile("CPRange.j",YES); +objj_executeFile("CPRunLoop.j",YES); +objj_executeFile("CPSet.j",YES); +objj_executeFile("CPSortDescriptor.j",YES); +objj_executeFile("CPString.j",YES); +objj_executeFile("CPTimer.j",YES); +objj_executeFile("CPUndoManager.j",YES); +objj_executeFile("CPURL.j",YES); +objj_executeFile("CPURLConnection.j",YES); +objj_executeFile("CPURLRequest.j",YES); +objj_executeFile("CPURLResponse.j",YES); +objj_executeFile("CPUserSessionManager.j",YES); +objj_executeFile("CPValue.j",YES); +e; \ No newline at end of file diff --git a/simple-tableview delegate/Frameworks/Objective-J/LICENSE b/simple-tableview delegate/Frameworks/Objective-J/LICENSE new file mode 100644 index 0000000..9ef3d70 --- /dev/null +++ b/simple-tableview delegate/Frameworks/Objective-J/LICENSE @@ -0,0 +1,503 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 2.1, February 1999 + + Copyright (C) 1991, 1999 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the Lesser GPL. It also counts + as the successor of the GNU Library Public License, version 2, hence + the version number 2.1.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Lesser General Public License, applies to some +specially designated software packages--typically libraries--of the +Free Software Foundation and other authors who decide to use it. You +can use it too, but we suggest you first think carefully about whether +this license or the ordinary General Public License is the better +strategy to use in any particular case, based on the explanations below. + + When we speak of free software, we are referring to freedom of use, +not price. Our General Public Licenses are designed to make sure that +you have the freedom to distribute copies of free software (and charge +for this service if you wish); that you receive source code or can get +it if you want it; that you can change the software and use pieces of +it in new free programs; and that you are informed that you can do +these things. + + To protect your rights, we need to make restrictions that forbid +distributors to deny you these rights or to ask you to surrender these +rights. These restrictions translate to certain responsibilities for +you if you distribute copies of the library or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link other code with the library, you must provide +complete object files to the recipients, so that they can relink them +with the library after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + We protect your rights with a two-step method: (1) we copyright the +library, and (2) we offer you this license, which gives you legal +permission to copy, distribute and/or modify the library. + + To protect each distributor, we want to make it very clear that +there is no warranty for the free library. Also, if the library is +modified by someone else and passed on, the recipients should know +that what they have is not the original version, so that the original +author's reputation will not be affected by problems that might be +introduced by others. + + Finally, software patents pose a constant threat to the existence of +any free program. We wish to make sure that a company cannot +effectively restrict the users of a free program by obtaining a +restrictive license from a patent holder. Therefore, we insist that +any patent license obtained for a version of the library must be +consistent with the full freedom of use specified in this license. + + Most GNU software, including some libraries, is covered by the +ordinary GNU General Public License. This license, the GNU Lesser +General Public License, applies to certain designated libraries, and +is quite different from the ordinary General Public License. We use +this license for certain libraries in order to permit linking those +libraries into non-free programs. + + When a program is linked with a library, whether statically or using +a shared library, the combination of the two is legally speaking a +combined work, a derivative of the original library. The ordinary +General Public License therefore permits such linking only if the +entire combination fits its criteria of freedom. The Lesser General +Public License permits more lax criteria for linking other code with +the library. + + We call this license the "Lesser" General Public License because it +does Less to protect the user's freedom than the ordinary General +Public License. It also provides other free software developers Less +of an advantage over competing non-free programs. These disadvantages +are the reason we use the ordinary General Public License for many +libraries. However, the Lesser license provides advantages in certain +special circumstances. + + For example, on rare occasions, there may be a special need to +encourage the widest possible use of a certain library, so that it becomes +a de-facto standard. To achieve this, non-free programs must be +allowed to use the library. A more frequent case is that a free +library does the same job as widely used non-free libraries. In this +case, there is little to gain by limiting the free library to free +software only, so we use the Lesser General Public License. + + In other cases, permission to use a particular library in non-free +programs enables a greater number of people to use a large body of +free software. For example, permission to use the GNU C Library in +non-free programs enables many more people to use the whole GNU +operating system, as well as its variant, the GNU/Linux operating +system. + + Although the Lesser General Public License is Less protective of the +users' freedom, it does ensure that the user of a program that is +linked with the Library has the freedom and the wherewithal to run +that program using a modified version of the Library. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, whereas the latter must +be combined with the library in order to run. + + GNU LESSER GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library or other +program which contains a notice placed by the copyright holder or +other authorized party saying it may be distributed under the terms of +this Lesser General Public License (also called "this License"). +Each licensee is addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also combine or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (1) uses at run time a + copy of the library already present on the user's computer system, + rather than copying library functions into the executable, and (2) + will operate properly with a modified version of the library, if + the user installs one, as long as the modified version is + interface-compatible with the version that the work was made with. + + c) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + d) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + e) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the materials to be distributed need not include anything that is +normally distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties with +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Lesser General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! + diff --git a/simple-tableview delegate/Frameworks/Objective-J/Objective-J.js b/simple-tableview delegate/Frameworks/Objective-J/Objective-J.js new file mode 100644 index 0000000..1eca68a --- /dev/null +++ b/simple-tableview delegate/Frameworks/Objective-J/Objective-J.js @@ -0,0 +1,3573 @@ +var ObjectiveJ={}; +(function(_1,_2){ +if(!this.JSON){ +JSON={}; +} +(function(){ +function f(n){ +return n<10?"0"+n:n; +}; +if(typeof Date.prototype.toJSON!=="function"){ +Date.prototype.toJSON=function(_3){ +return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"; +}; +String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(_4){ +return this.valueOf(); +}; +} +var cx=new RegExp("[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"); +var _5=new RegExp("[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"); +var _6,_7,_8={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","\"":"\\\"","\\":"\\\\"},_9; +function _a(_b){ +_5.lastIndex=0; +return _5.test(_b)?"\""+_b.replace(_5,function(a){ +var c=_8[a]; +return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4); +})+"\"":"\""+_b+"\""; +}; +function _c(_d,_e){ +var i,k,v,_f,_10=_6,_11,_12=_e[_d]; +if(_12&&typeof _12==="object"&&typeof _12.toJSON==="function"){ +_12=_12.toJSON(_d); +} +if(typeof _9==="function"){ +_12=_9.call(_e,_d,_12); +} +switch(typeof _12){ +case "string": +return _a(_12); +case "number": +return isFinite(_12)?String(_12):"null"; +case "boolean": +case "null": +return String(_12); +case "object": +if(!_12){ +return "null"; +} +_6+=_7; +_11=[]; +if(Object.prototype.toString.apply(_12)==="[object Array]"){ +_f=_12.length; +for(i=0;i<_f;i+=1){ +_11[i]=_c(i,_12)||"null"; +} +v=_11.length===0?"[]":_6?"[\n"+_6+_11.join(",\n"+_6)+"\n"+_10+"]":"["+_11.join(",")+"]"; +_6=_10; +return v; +} +if(_9&&typeof _9==="object"){ +_f=_9.length; +for(i=0;i<_f;i+=1){ +k=_9[i]; +if(typeof k==="string"){ +v=_c(k,_12); +if(v){ +_11.push(_a(k)+(_6?": ":":")+v); +} +} +} +}else{ +for(k in _12){ +if(Object.hasOwnProperty.call(_12,k)){ +v=_c(k,_12); +if(v){ +_11.push(_a(k)+(_6?": ":":")+v); +} +} +} +} +v=_11.length===0?"{}":_6?"{\n"+_6+_11.join(",\n"+_6)+"\n"+_10+"}":"{"+_11.join(",")+"}"; +_6=_10; +return v; +} +}; +if(typeof JSON.stringify!=="function"){ +JSON.stringify=function(_13,_14,_15){ +var i; +_6=""; +_7=""; +if(typeof _15==="number"){ +for(i=0;i<_15;i+=1){ +_7+=" "; +} +}else{ +if(typeof _15==="string"){ +_7=_15; +} +} +_9=_14; +if(_14&&typeof _14!=="function"&&(typeof _14!=="object"||typeof _14.length!=="number")){ +throw new Error("JSON.stringify"); +} +return _c("",{"":_13}); +}; +} +if(typeof JSON.parse!=="function"){ +JSON.parse=function(_16,_17){ +var j; +function _18(_19,key){ +var k,v,_1a=_19[key]; +if(_1a&&typeof _1a==="object"){ +for(k in _1a){ +if(Object.hasOwnProperty.call(_1a,k)){ +v=_18(_1a,k); +if(v!==_44){ +_1a[k]=v; +}else{ +delete _1a[k]; +} +} +} +} +return _17.call(_19,key,_1a); +}; +cx.lastIndex=0; +if(cx.test(_16)){ +_16=_16.replace(cx,function(a){ +return "\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4); +}); +} +if(/^[\],:{}\s]*$/.test(_16.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){ +j=eval("("+_16+")"); +return typeof _17==="function"?_18({"":j},""):j; +} +throw new SyntaxError("JSON.parse"); +}; +} +}()); +var _1b=new RegExp("([^%]+|%[\\+\\-\\ \\#0]*[0-9\\*]*(.[0-9\\*]+)?[hlL]?[cbBdieEfgGosuxXpn%@])","g"); +var _1c=new RegExp("(%)([\\+\\-\\ \\#0]*)([0-9\\*]*)((.[0-9\\*]+)?)([hlL]?)([cbBdieEfgGosuxXpn%@])"); +_2.sprintf=function(_1d){ +var _1d=arguments[0],_1e=_1d.match(_1b),_1f=0,_20="",arg=1; +for(var i=0;i<_1e.length;i++){ +var t=_1e[i]; +if(_1d.substring(_1f,_1f+t.length)!=t){ +return _20; +} +_1f+=t.length; +if(t.charAt(0)!="%"){ +_20+=t; +}else{ +var _21=t.match(_1c); +if(_21.length!=8||_21[0]!=t){ +return _20; +} +var _22=_21[1],_23=_21[2],_24=_21[3],_25=_21[4],_26=_21[6],_27=_21[7]; +var _28=null; +if(_24=="*"){ +_28=arguments[arg++]; +}else{ +if(_24!=""){ +_28=Number(_24); +} +} +var _29=null; +if(_25==".*"){ +_29=arguments[arg++]; +}else{ +if(_25!=""){ +_29=Number(_25.substring(1)); +} +} +var _2a=(_23.indexOf("-")>=0); +var _2b=(_23.indexOf("0")>=0); +var _2c=""; +if(RegExp("[bBdiufeExXo]").test(_27)){ +var num=Number(arguments[arg++]); +var _2d=""; +if(num<0){ +_2d="-"; +}else{ +if(_23.indexOf("+")>=0){ +_2d="+"; +}else{ +if(_23.indexOf(" ")>=0){ +_2d=" "; +} +} +} +if(_27=="d"||_27=="i"||_27=="u"){ +var _2e=String(Math.abs(Math.floor(num))); +_2c=_2f(_2d,"",_2e,"",_28,_2a,_2b); +} +if(_27=="f"){ +var _2e=String((_29!=null)?Math.abs(num).toFixed(_29):Math.abs(num)); +var _30=(_23.indexOf("#")>=0&&_2e.indexOf(".")<0)?".":""; +_2c=_2f(_2d,"",_2e,_30,_28,_2a,_2b); +} +if(_27=="e"||_27=="E"){ +var _2e=String(Math.abs(num).toExponential(_29!=null?_29:21)); +var _30=(_23.indexOf("#")>=0&&_2e.indexOf(".")<0)?".":""; +_2c=_2f(_2d,"",_2e,_30,_28,_2a,_2b); +} +if(_27=="x"||_27=="X"){ +var _2e=String(Math.abs(num).toString(16)); +var _31=(_23.indexOf("#")>=0&&num!=0)?"0x":""; +_2c=_2f(_2d,_31,_2e,"",_28,_2a,_2b); +} +if(_27=="b"||_27=="B"){ +var _2e=String(Math.abs(num).toString(2)); +var _31=(_23.indexOf("#")>=0&&num!=0)?"0b":""; +_2c=_2f(_2d,_31,_2e,"",_28,_2a,_2b); +} +if(_27=="o"){ +var _2e=String(Math.abs(num).toString(8)); +var _31=(_23.indexOf("#")>=0&&num!=0)?"0":""; +_2c=_2f(_2d,_31,_2e,"",_28,_2a,_2b); +} +if(RegExp("[A-Z]").test(_27)){ +_2c=_2c.toUpperCase(); +}else{ +_2c=_2c.toLowerCase(); +} +}else{ +var _2c=""; +if(_27=="%"){ +_2c="%"; +}else{ +if(_27=="c"){ +_2c=String(arguments[arg++]).charAt(0); +}else{ +if(_27=="s"||_27=="@"){ +_2c=String(arguments[arg++]); +}else{ +if(_27=="p"||_27=="n"){ +arg++; +_2c=""; +} +} +} +} +_2c=_2f("","",_2c,"",_28,_2a,false); +} +_20+=_2c; +} +} +return _20; +}; +function _2f(_32,_33,_34,_35,_36,_37,_38){ +var _39=(_32.length+_33.length+_34.length+_35.length); +if(_37){ +return _32+_33+_34+_35+pad(_36-_39," "); +}else{ +if(_38){ +return _32+_33+pad(_36-_39,"0")+_34+_35; +}else{ +return pad(_36-_39," ")+_32+_33+_34+_35; +} +} +}; +function pad(n,ch){ +return Array(MAX(0,n)+1).join(ch); +}; +CPLogDisable=false; +var _3a="Cappuccino"; +var _3b=["fatal","error","warn","info","debug","trace"]; +var _3c=_3b[3]; +var _3d={}; +for(var i=0;i<_3b.length;i++){ +_3d[_3b[i]]=i; +} +var _3e={}; +CPLogRegister=function(_3f,_40){ +CPLogRegisterRange(_3f,_3b[0],_40||_3b[_3b.length-1]); +}; +CPLogRegisterRange=function(_41,_42,_43){ +var min=_3d[_42]; +var max=_3d[_43]; +if(min!==_44&&max!==_44){ +for(var i=0;i<=max;i++){ +CPLogRegisterSingle(_41,_3b[i]); +} +} +}; +CPLogRegisterSingle=function(_45,_46){ +if(!_3e[_46]){ +_3e[_46]=[]; +} +for(var i=0;i<_3e[_46].length;i++){ +if(_3e[_46][i]===_45){ +return; +} +} +_3e[_46].push(_45); +}; +CPLogUnregister=function(_47){ +for(var _48 in _3e){ +for(var i=0;i<_3e[_48].length;i++){ +if(_3e[_48][i]===_47){ +_3e[_48].splice(i--,1); +} +} +} +}; +function _49(_4a,_4b,_4c){ +if(_4c==_44){ +_4c=_3a; +} +if(_4b==_44){ +_4b=_3c; +} +var _4d=(typeof _4a[0]=="string"&&_4a.length>1)?_2.sprintf.apply(null,_4a):String(_4a[0]); +if(_3e[_4b]){ +for(var i=0;i<_3e[_4b].length;i++){ +_3e[_4b][i](_4d,_4b,_4c); +} +} +}; +CPLog=function(){ +_49(arguments); +}; +for(var i=0;i<_3b.length;i++){ +CPLog[_3b[i]]=(function(_4e){ +return function(){ +_49(arguments,_4e); +}; +})(_3b[i]); +} +var _4f=function(_50,_51,_52){ +var now=new Date(); +_51=(_51==null?"":" ["+_51+"]"); +if(typeof _2.sprintf=="function"){ +return _2.sprintf("%4d-%02d-%02d %02d:%02d:%02d.%03d %s%s: %s",now.getFullYear(),now.getMonth(),now.getDate(),now.getHours(),now.getMinutes(),now.getSeconds(),now.getMilliseconds(),_52,_51,_50); +}else{ +return now+" "+_52+_51+": "+_50; +} +}; +CPLogConsole=function(_53,_54,_55){ +if(typeof console!="undefined"){ +var _56=_4f(_53,_54,_55); +var _57={"fatal":"error","error":"error","warn":"warn","info":"info","debug":"debug","trace":"debug"}[_54]; +if(_57&&console[_57]){ +console[_57](_56); +}else{ +if(console.log){ +console.log(_56); +} +} +} +}; +CPLogAlert=function(_58,_59,_5a){ +if(typeof alert!="undefined"&&!CPLogDisable){ +var _5b=_4f(_58,_59,_5a); +CPLogDisable=!confirm(_5b+"\n\n(Click cancel to stop log alerts)"); +} +}; +var _5c=null; +CPLogPopup=function(_5d,_5e,_5f){ +try{ +if(CPLogDisable||window.open==_44){ +return; +} +if(!_5c||!_5c.document){ +_5c=window.open("","_blank","width=600,height=400,status=no,resizable=yes,scrollbars=yes"); +if(!_5c){ +CPLogDisable=!confirm(_5d+"\n\n(Disable pop-up blocking for CPLog window; Click cancel to stop log alerts)"); +return; +} +_60(_5c); +} +var _61=_5c.document.createElement("div"); +_61.setAttribute("class",_5e||"fatal"); +var _62=_4f(_5d,null,_5f); +_61.appendChild(_5c.document.createTextNode(_62)); +_5c.log.appendChild(_61); +if(_5c.focusEnabled.checked){ +_5c.focus(); +} +if(_5c.blockEnabled.checked){ +_5c.blockEnabled.checked=_5c.confirm(_62+"\nContinue blocking?"); +} +if(_5c.scrollEnabled.checked){ +_5c.scrollToBottom(); +} +} +catch(e){ +} +}; +var _63=""; +function _60(_64){ +var doc=_64.document; +doc.writeln(""+_63+""); +doc.title=_3a+" Run Log"; +var _65=doc.getElementsByTagName("head")[0]; +var _66=doc.getElementsByTagName("body")[0]; +var _67=window.location.protocol+"//"+window.location.host+window.location.pathname; +_67=_67.substring(0,_67.lastIndexOf("/")+1); +var div=doc.createElement("div"); +div.setAttribute("id","header"); +_66.appendChild(div); +var ul=doc.createElement("ul"); +ul.setAttribute("id","enablers"); +div.appendChild(ul); +for(var i=0;i<_3b.length;i++){ +var li=doc.createElement("li"); +li.setAttribute("id","en"+_3b[i]); +li.setAttribute("class",_3b[i]); +li.setAttribute("onclick","toggle(this);"); +li.setAttribute("enabled","yes"); +li.appendChild(doc.createTextNode(_3b[i])); +ul.appendChild(li); +} +var ul=doc.createElement("ul"); +ul.setAttribute("id","options"); +div.appendChild(ul); +var _68={"focus":["Focus",false],"block":["Block",false],"wrap":["Wrap",false],"scroll":["Scroll",true],"close":["Close",true]}; +for(o in _68){ +var li=doc.createElement("li"); +ul.appendChild(li); +_64[o+"Enabled"]=doc.createElement("input"); +_64[o+"Enabled"].setAttribute("id",o); +_64[o+"Enabled"].setAttribute("type","checkbox"); +if(_68[o][1]){ +_64[o+"Enabled"].setAttribute("checked","checked"); +} +li.appendChild(_64[o+"Enabled"]); +var _69=doc.createElement("label"); +_69.setAttribute("for",o); +_69.appendChild(doc.createTextNode(_68[o][0])); +li.appendChild(_69); +} +_64.log=doc.createElement("div"); +_64.log.setAttribute("class","enerror endebug enwarn eninfo enfatal entrace"); +_66.appendChild(_64.log); +_64.toggle=function(_6a){ +var _6b=(_6a.getAttribute("enabled")=="yes")?"no":"yes"; +_6a.setAttribute("enabled",_6b); +if(_6b=="yes"){ +_64.log.className+=" "+_6a.id; +}else{ +_64.log.className=_64.log.className.replace(new RegExp("[\\s]*"+_6a.id,"g"),""); +} +}; +_64.scrollToBottom=function(){ +_64.scrollTo(0,_66.offsetHeight); +}; +_64.wrapEnabled.addEventListener("click",function(){ +_64.log.setAttribute("wrap",_64.wrapEnabled.checked?"yes":"no"); +},false); +_64.addEventListener("keydown",function(e){ +var e=e||_64.event; +if(e.keyCode==75&&(e.ctrlKey||e.metaKey)){ +while(_64.log.firstChild){ +_64.log.removeChild(_64.log.firstChild); +} +e.preventDefault(); +} +},"false"); +window.addEventListener("unload",function(){ +if(_64&&_64.closeEnabled&&_64.closeEnabled.checked){ +CPLogDisable=true; +_64.close(); +} +},false); +_64.addEventListener("unload",function(){ +if(!CPLogDisable){ +CPLogDisable=!confirm("Click cancel to stop logging"); +} +},false); +}; +CPLogDefault=(typeof window==="object"&&window.console)?CPLogConsole:CPLogPopup; +var _44; +if(typeof window!=="undefined"){ +window.setNativeTimeout=window.setTimeout; +window.clearNativeTimeout=window.clearTimeout; +window.setNativeInterval=window.setInterval; +window.clearNativeInterval=window.clearInterval; +} +NO=false; +YES=true; +nil=null; +Nil=null; +NULL=null; +ABS=Math.abs; +ASIN=Math.asin; +ACOS=Math.acos; +ATAN=Math.atan; +ATAN2=Math.atan2; +SIN=Math.sin; +COS=Math.cos; +TAN=Math.tan; +EXP=Math.exp; +POW=Math.pow; +CEIL=Math.ceil; +FLOOR=Math.floor; +ROUND=Math.round; +MIN=Math.min; +MAX=Math.max; +RAND=Math.random; +SQRT=Math.sqrt; +E=Math.E; +LN2=Math.LN2; +LN10=Math.LN10; +LOG2E=Math.LOG2E; +LOG10E=Math.LOG10E; +PI=Math.PI; +PI2=Math.PI*2; +PI_2=Math.PI/2; +SQRT1_2=Math.SQRT1_2; +SQRT2=Math.SQRT2; +function _6c(_6d){ +this._eventListenersForEventNames={}; +this._owner=_6d; +}; +_6c.prototype.addEventListener=function(_6e,_6f){ +var _70=this._eventListenersForEventNames; +if(!_71.call(_70,_6e)){ +var _72=[]; +_70[_6e]=_72; +}else{ +var _72=_70[_6e]; +} +var _73=_72.length; +while(_73--){ +if(_72[_73]===_6f){ +return; +} +} +_72.push(_6f); +}; +_6c.prototype.removeEventListener=function(_74,_75){ +var _76=this._eventListenersForEventNames; +if(!_71.call(_76,_74)){ +return; +} +var _77=_76[_74],_78=_77.length; +while(_78--){ +if(_77[_78]===_75){ +return _77.splice(_78,1); +} +} +}; +_6c.prototype.dispatchEvent=function(_79){ +var _7a=_79.type,_7b=this._eventListenersForEventNames; +if(_71.call(_7b,_7a)){ +var _7c=this._eventListenersForEventNames[_7a],_7d=0,_7e=_7c.length; +for(;_7d<_7e;++_7d){ +_7c[_7d](_79); +} +} +var _7f=(this._owner||this)["on"+_7a]; +if(_7f){ +_7f(_79); +} +}; +var _80=0,_81=null,_82=[]; +function _83(_84){ +var _85=_80; +if(_81===null){ +window.setNativeTimeout(function(){ +var _86=_82,_87=0,_88=_82.length; +++_80; +_81=null; +_82=[]; +for(;_87<_88;++_87){ +_86[_87](); +} +},0); +} +return function(){ +var _89=arguments; +if(_80>_85){ +_84.apply(this,_89); +}else{ +_82.push(function(){ +_84.apply(this,_89); +}); +} +}; +}; +var _8a=null; +if(window.ActiveXObject!==_44){ +var _8b=["Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP.6.0"],_8c=_8b.length; +while(_8c--){ +try{ +var _8d=_8b[_8c]; +new ActiveXObject(_8d); +_8a=function(){ +return new ActiveXObject(_8d); +}; +break; +} +catch(anException){ +} +} +} +if(!_8a){ +_8a=window.XMLHttpRequest; +} +CFHTTPRequest=function(){ +this._eventDispatcher=new _6c(this); +this._nativeRequest=new _8a(); +var _8e=this; +this._nativeRequest.onreadystatechange=function(){ +_8f(_8e); +}; +}; +CFHTTPRequest.UninitializedState=0; +CFHTTPRequest.LoadingState=1; +CFHTTPRequest.LoadedState=2; +CFHTTPRequest.InteractiveState=3; +CFHTTPRequest.CompleteState=4; +CFHTTPRequest.prototype.status=function(){ +try{ +return this._nativeRequest.status||0; +} +catch(anException){ +return 0; +} +}; +CFHTTPRequest.prototype.statusText=function(){ +try{ +return this._nativeRequest.statusText||""; +} +catch(anException){ +return ""; +} +}; +CFHTTPRequest.prototype.readyState=function(){ +return this._nativeRequest.readyState; +}; +CFHTTPRequest.prototype.success=function(){ +var _90=this.status(); +if(_90>=200&&_90<300){ +return YES; +} +return _90===0&&this.responseText()&&this.responseText().length; +}; +CFHTTPRequest.prototype.responseXML=function(){ +var _91=this._nativeRequest.responseXML; +if(_91&&(_8a===window.XMLHttpRequest)){ +return _91; +} +return _92(this.responseText()); +}; +CFHTTPRequest.prototype.responsePropertyList=function(){ +var _93=this.responseText(); +if(CFPropertyList.sniffedFormatOfString(_93)===CFPropertyList.FormatXML_v1_0){ +return CFPropertyList.propertyListFromXML(this.responseXML()); +} +return CFPropertyList.propertyListFromString(_93); +}; +CFHTTPRequest.prototype.responseText=function(){ +return this._nativeRequest.responseText; +}; +CFHTTPRequest.prototype.setRequestHeader=function(_94,_95){ +return this._nativeRequest.setRequestHeader(_94,_95); +}; +CFHTTPRequest.prototype.getResponseHeader=function(_96){ +return this._nativeRequest.getResponseHeader(_96); +}; +CFHTTPRequest.prototype.getAllResponseHeaders=function(){ +return this._nativeRequest.getAllResponseHeaders(); +}; +CFHTTPRequest.prototype.overrideMimeType=function(_97){ +if("overrideMimeType" in this._nativeRequest){ +return this._nativeRequest.overrideMimeType(_97); +} +}; +CFHTTPRequest.prototype.open=function(_98,_99,_9a,_9b,_9c){ +return this._nativeRequest.open(_98,_99,_9a,_9b,_9c); +}; +CFHTTPRequest.prototype.send=function(_9d){ +try{ +return this._nativeRequest.send(_9d); +} +catch(anException){ +this._eventDispatcher.dispatchEvent({type:"failure",request:this}); +} +}; +CFHTTPRequest.prototype.abort=function(){ +return this._nativeRequest.abort(); +}; +CFHTTPRequest.prototype.addEventListener=function(_9e,_9f){ +this._eventDispatcher.addEventListener(_9e,_9f); +}; +CFHTTPRequest.prototype.removeEventListener=function(_a0,_a1){ +this._eventDispatcher.removeEventListener(_a0,_a1); +}; +function _8f(_a2){ +var _a3=_a2._eventDispatcher; +_a3.dispatchEvent({type:"readystatechange",request:_a2}); +var _a4=_a2._nativeRequest,_a5=["uninitialized","loading","loaded","interactive","complete"][_a2.readyState()]; +_a3.dispatchEvent({type:_a5,request:_a2}); +if(_a5==="complete"){ +var _a6="HTTP"+_a2.status(); +_a3.dispatchEvent({type:_a6,request:_a2}); +var _a7=_a2.success()?"success":"failure"; +_a3.dispatchEvent({type:_a7,request:_a2}); +} +}; +function _a8(_a9,_aa,_ab){ +var _ac=new CFHTTPRequest(); +if(_a9.pathExtension()==="plist"){ +_ac.overrideMimeType("text/xml"); +} +if(_2.asyncLoader){ +_ac.onsuccess=_83(_aa); +_ac.onfailure=_83(_ab); +}else{ +_ac.onsuccess=_aa; +_ac.onfailure=_ab; +} +_ac.open("GET",_a9.absoluteString(),_2.asyncLoader); +_ac.send(""); +}; +_2.asyncLoader=YES; +_2.Asynchronous=_83; +_2.determineAndDispatchHTTPRequestEvents=_8f; +var _ad=0; +objj_generateObjectUID=function(){ +return _ad++; +}; +CFPropertyList=function(){ +this._UID=objj_generateObjectUID(); +}; +CFPropertyList.DTDRE=/^\s*(?:<\?\s*xml\s+version\s*=\s*\"1.0\"[^>]*\?>\s*)?(?:<\!DOCTYPE[^>]*>\s*)?/i; +CFPropertyList.XMLRE=/^\s*(?:<\?\s*xml\s+version\s*=\s*\"1.0\"[^>]*\?>\s*)?(?:<\!DOCTYPE[^>]*>\s*)?<\s*plist[^>]*\>/i; +CFPropertyList.FormatXMLDTD="\n"; +CFPropertyList.Format280NorthMagicNumber="280NPLIST"; +CFPropertyList.FormatOpenStep=1,CFPropertyList.FormatXML_v1_0=100,CFPropertyList.FormatBinary_v1_0=200,CFPropertyList.Format280North_v1_0=-1000; +CFPropertyList.sniffedFormatOfString=function(_ae){ +if(_ae.match(CFPropertyList.XMLRE)){ +return CFPropertyList.FormatXML_v1_0; +} +if(_ae.substr(0,CFPropertyList.Format280NorthMagicNumber.length)===CFPropertyList.Format280NorthMagicNumber){ +return CFPropertyList.Format280North_v1_0; +} +return NULL; +}; +CFPropertyList.dataFromPropertyList=function(_af,_b0){ +var _b1=new CFMutableData(); +_b1.setRawString(CFPropertyList.stringFromPropertyList(_af,_b0)); +return _b1; +}; +CFPropertyList.stringFromPropertyList=function(_b2,_b3){ +if(!_b3){ +_b3=CFPropertyList.Format280North_v1_0; +} +var _b4=_b5[_b3]; +return _b4["start"]()+_b6(_b2,_b4)+_b4["finish"](); +}; +function _b6(_b7,_b8){ +var _b9=typeof _b7,_ba=_b7.valueOf(),_bb=typeof _ba; +if(_b9!==_bb){ +_b9=_bb; +_b7=_ba; +} +if(_b7===YES||_b7===NO){ +_b9="boolean"; +}else{ +if(_b9==="number"){ +if(FLOOR(_b7)===_b7){ +_b9="integer"; +}else{ +_b9="real"; +} +}else{ +if(_b9!=="string"){ +if(_b7.slice){ +_b9="array"; +}else{ +_b9="dictionary"; +} +} +} +} +return _b8[_b9](_b7,_b8); +}; +var _b5={}; +_b5[CFPropertyList.FormatXML_v1_0]={"start":function(){ +return CFPropertyList.FormatXMLDTD+""; +},"finish":function(){ +return ""; +},"string":function(_bc){ +return ""+_bd(_bc)+""; +},"boolean":function(_be){ +return _be?"":""; +},"integer":function(_bf){ +return ""+_bf+""; +},"real":function(_c0){ +return ""+_c0+""; +},"array":function(_c1,_c2){ +var _c3=0,_c4=_c1.length,_c5=""; +for(;_c3<_c4;++_c3){ +_c5+=_b6(_c1[_c3],_c2); +} +return _c5+""; +},"dictionary":function(_c6,_c7){ +var _c8=_c6._keys,_8c=0,_c9=_c8.length,_ca=""; +for(;_8c<_c9;++_8c){ +var key=_c8[_8c]; +_ca+=""+key+""; +_ca+=_b6(_c6.valueForKey(key),_c7); +} +return _ca+""; +}}; +var _cb="A",_cc="D",_cd="f",_ce="d",_cf="S",_d0="T",_d1="F",_d2="K",_d3="E"; +_b5[CFPropertyList.Format280North_v1_0]={"start":function(){ +return CFPropertyList.Format280NorthMagicNumber+";1.0;"; +},"finish":function(){ +return ""; +},"string":function(_d4){ +return _cf+";"+_d4.length+";"+_d4; +},"boolean":function(_d5){ +return (_d5?_d0:_d1)+";"; +},"integer":function(_d6){ +var _d7=""+_d6; +return _ce+";"+_d7.length+";"+_d7; +},"real":function(_d8){ +var _d9=""+_d8; +return _cd+";"+_d9.length+";"+_d9; +},"array":function(_da,_db){ +var _dc=0,_dd=_da.length,_de=_cb+";"; +for(;_dc<_dd;++_dc){ +_de+=_b6(_da[_dc],_db); +} +return _de+_d3+";"; +},"dictionary":function(_df,_e0){ +var _e1=_df._keys,_8c=0,_e2=_e1.length,_e3=_cc+";"; +for(;_8c<_e2;++_8c){ +var key=_e1[_8c]; +_e3+=_d2+";"+key.length+";"+key; +_e3+=_b6(_df.valueForKey(key),_e0); +} +return _e3+_d3+";"; +}}; +var _e4="xml",_e5="#document",_e6="plist",_e7="key",_e8="dict",_e9="array",_ea="string",_eb="true",_ec="false",_ed="real",_ee="integer",_ef="data"; +var _f0=function(_f1,_f2,_f3){ +var _f4=_f1; +_f4=(_f4.firstChild); +if(_f4!==NULL&&((_f4.nodeType)===8||(_f4.nodeType)===3)){ +while((_f4=(_f4.nextSibling))&&((_f4.nodeType)===8||(_f4.nodeType)===3)){ +} +} +if(_f4){ +return _f4; +} +if((String(_f1.nodeName))===_e9||(String(_f1.nodeName))===_e8){ +_f3.pop(); +}else{ +if(_f4===_f2){ +return NULL; +} +_f4=_f1; +while((_f4=(_f4.nextSibling))&&((_f4.nodeType)===8||(_f4.nodeType)===3)){ +} +if(_f4){ +return _f4; +} +} +_f4=_f1; +while(_f4){ +var _f5=_f4; +while((_f5=(_f5.nextSibling))&&((_f5.nodeType)===8||(_f5.nodeType)===3)){ +} +if(_f5){ +return _f5; +} +var _f4=(_f4.parentNode); +if(_f2&&_f4===_f2){ +return NULL; +} +_f3.pop(); +} +return NULL; +}; +CFPropertyList.propertyListFromData=function(_f6,_f7){ +return CFPropertyList.propertyListFromString(_f6.rawString(),_f7); +}; +CFPropertyList.propertyListFromString=function(_f8,_f9){ +if(!_f9){ +_f9=CFPropertyList.sniffedFormatOfString(_f8); +} +if(_f9===CFPropertyList.FormatXML_v1_0){ +return CFPropertyList.propertyListFromXML(_f8); +} +if(_f9===CFPropertyList.Format280North_v1_0){ +return _fa(_f8); +} +return NULL; +}; +var _cb="A",_cc="D",_cd="f",_ce="d",_cf="S",_d0="T",_d1="F",_d2="K",_d3="E"; +function _fa(_fb){ +var _fc=new _fd(_fb),_fe=NULL,key="",_ff=NULL,_100=NULL,_101=[],_102=NULL; +while(_fe=_fc.getMarker()){ +if(_fe===_d3){ +_101.pop(); +continue; +} +var _103=_101.length; +if(_103){ +_102=_101[_103-1]; +} +if(_fe===_d2){ +key=_fc.getString(); +_fe=_fc.getMarker(); +} +switch(_fe){ +case _cb: +_ff=[]; +_101.push(_ff); +break; +case _cc: +_ff=new CFMutableDictionary(); +_101.push(_ff); +break; +case _cd: +_ff=parseFloat(_fc.getString()); +break; +case _ce: +_ff=parseInt(_fc.getString(),10); +break; +case _cf: +_ff=_fc.getString(); +break; +case _d0: +_ff=YES; +break; +case _d1: +_ff=NO; +break; +default: +throw new Error("*** "+_fe+" marker not recognized in Plist."); +} +if(!_100){ +_100=_ff; +}else{ +if(_102){ +if(_102.slice){ +_102.push(_ff); +}else{ +_102.setValueForKey(key,_ff); +} +} +} +} +return _100; +}; +function _bd(_104){ +return _104.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">"); +}; +function _105(_106){ +return _106.replace(/"/g,"\"").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"); +}; +function _92(_107){ +if(window.DOMParser){ +return (new window.DOMParser().parseFromString(_107,"text/xml").documentElement); +}else{ +if(window.ActiveXObject){ +XMLNode=new ActiveXObject("Microsoft.XMLDOM"); +var _108=_107.match(CFPropertyList.DTDRE); +if(_108){ +_107=_107.substr(_108[0].length); +} +XMLNode.loadXML(_107); +return XMLNode; +} +} +return NULL; +}; +CFPropertyList.propertyListFromXML=function(_109){ +var _10a=_109; +if(_109.valueOf&&typeof _109.valueOf()==="string"){ +_10a=_92(_109); +} +while(((String(_10a.nodeName))===_e5)||((String(_10a.nodeName))===_e4)){ +_10a=(_10a.firstChild); +} +if(_10a!==NULL&&((_10a.nodeType)===8||(_10a.nodeType)===3)){ +while((_10a=(_10a.nextSibling))&&((_10a.nodeType)===8||(_10a.nodeType)===3)){ +} +} +if(((_10a.nodeType)===10)){ +while((_10a=(_10a.nextSibling))&&((_10a.nodeType)===8||(_10a.nodeType)===3)){ +} +} +if(!((String(_10a.nodeName))===_e6)){ +return NULL; +} +var key="",_10b=NULL,_10c=NULL,_10d=_10a,_10e=[],_10f=NULL; +while(_10a=_f0(_10a,_10d,_10e)){ +var _110=_10e.length; +if(_110){ +_10f=_10e[_110-1]; +} +if((String(_10a.nodeName))===_e7){ +key=((String((_10a.firstChild).nodeValue))); +while((_10a=(_10a.nextSibling))&&((_10a.nodeType)===8||(_10a.nodeType)===3)){ +} +} +switch(String((String(_10a.nodeName)))){ +case _e9: +_10b=[]; +_10e.push(_10b); +break; +case _e8: +_10b=new CFMutableDictionary(); +_10e.push(_10b); +break; +case _ed: +_10b=parseFloat(((String((_10a.firstChild).nodeValue)))); +break; +case _ee: +_10b=parseInt(((String((_10a.firstChild).nodeValue))),10); +break; +case _ea: +_10b=_105((_10a.firstChild)?((String((_10a.firstChild).nodeValue))):""); +break; +case _eb: +_10b=YES; +break; +case _ec: +_10b=NO; +break; +case _ef: +_10b=new CFMutableData(); +_10b.bytes=(_10a.firstChild)?CFData.decodeBase64ToArray(((String((_10a.firstChild).nodeValue))),YES):[]; +break; +default: +throw new Error("*** "+(String(_10a.nodeName))+" tag not recognized in Plist."); +} +if(!_10c){ +_10c=_10b; +}else{ +if(_10f){ +if(_10f.slice){ +_10f.push(_10b); +}else{ +_10f.setValueForKey(key,_10b); +} +} +} +} +return _10c; +}; +kCFPropertyListOpenStepFormat=CFPropertyList.FormatOpenStep; +kCFPropertyListXMLFormat_v1_0=CFPropertyList.FormatXML_v1_0; +kCFPropertyListBinaryFormat_v1_0=CFPropertyList.FormatBinary_v1_0; +kCFPropertyList280NorthFormat_v1_0=CFPropertyList.Format280North_v1_0; +CFPropertyListCreate=function(){ +return new CFPropertyList(); +}; +CFPropertyListCreateFromXMLData=function(data){ +return CFPropertyList.propertyListFromData(data,CFPropertyList.FormatXML_v1_0); +}; +CFPropertyListCreateXMLData=function(_111){ +return CFPropertyList.dataFromPropertyList(_111,CFPropertyList.FormatXML_v1_0); +}; +CFPropertyListCreateFrom280NorthData=function(data){ +return CFPropertyList.propertyListFromData(data,CFPropertyList.Format280North_v1_0); +}; +CFPropertyListCreate280NorthData=function(_112){ +return CFPropertyList.dataFromPropertyList(_112,CFPropertyList.Format280North_v1_0); +}; +CPPropertyListCreateFromData=function(data,_113){ +return CFPropertyList.propertyListFromData(data,_113); +}; +CPPropertyListCreateData=function(_114,_115){ +return CFPropertyList.dataFromPropertyList(_114,_115); +}; +CFDictionary=function(_116){ +this._keys=[]; +this._count=0; +this._buckets={}; +this._UID=objj_generateObjectUID(); +}; +var _117=Array.prototype.indexOf,_71=Object.prototype.hasOwnProperty; +CFDictionary.prototype.copy=function(){ +return this; +}; +CFDictionary.prototype.mutableCopy=function(){ +var _118=new CFMutableDictionary(),keys=this._keys,_119=this._count; +_118._keys=keys.slice(); +_118._count=_119; +var _11a=0,_11b=this._buckets,_11c=_118._buckets; +for(;_11a<_119;++_11a){ +var key=keys[_11a]; +_11c[key]=_11b[key]; +} +return _118; +}; +CFDictionary.prototype.containsKey=function(aKey){ +return _71.apply(this._buckets,[aKey]); +}; +CFDictionary.prototype.containsValue=function(_11d){ +var keys=this._keys,_11e=this._buckets,_8c=0,_11f=keys.length; +for(;_8c<_11f;++_8c){ +if(_11e[keys]===_11d){ +return YES; +} +} +return NO; +}; +CFDictionary.prototype.count=function(){ +return this._count; +}; +CFDictionary.prototype.countOfKey=function(aKey){ +return this.containsKey(aKey)?1:0; +}; +CFDictionary.prototype.countOfValue=function(_120){ +var keys=this._keys,_121=this._buckets,_8c=0,_122=keys.length,_123=0; +for(;_8c<_122;++_8c){ +if(_121[keys]===_120){ +return ++_123; +} +} +return _123; +}; +CFDictionary.prototype.keys=function(){ +return this._keys.slice(); +}; +CFDictionary.prototype.valueForKey=function(aKey){ +var _124=this._buckets; +if(!_71.apply(_124,[aKey])){ +return nil; +} +return _124[aKey]; +}; +CFDictionary.prototype.toString=function(){ +var _125="{\n",keys=this._keys,_8c=0,_126=this._count; +for(;_8c<_126;++_8c){ +var key=keys[_8c]; +_125+="\t"+key+" = \""+String(this.valueForKey(key)).split("\n").join("\n\t")+"\"\n"; +} +return _125+"}"; +}; +CFMutableDictionary=function(_127){ +CFDictionary.apply(this,[]); +}; +CFMutableDictionary.prototype=new CFDictionary(); +CFMutableDictionary.prototype.copy=function(){ +return this.mutableCopy(); +}; +CFMutableDictionary.prototype.addValueForKey=function(aKey,_128){ +if(this.containsKey(aKey)){ +return; +} +++this._count; +this._keys.push(aKey); +this._buckets[aKey]=_128; +}; +CFMutableDictionary.prototype.removeValueForKey=function(aKey){ +var _129=-1; +if(_117){ +_129=_117.call(this._keys,aKey); +}else{ +var keys=this._keys,_8c=0,_12a=keys.length; +for(;_8c<_12a;++_8c){ +if(keys[_8c]===aKey){ +_129=_8c; +break; +} +} +} +if(_129===-1){ +return; +} +--this._count; +this._keys.splice(_129,1); +delete this._buckets[aKey]; +}; +CFMutableDictionary.prototype.removeAllValues=function(){ +this._count=0; +this._keys=[]; +this._buckets={}; +}; +CFMutableDictionary.prototype.replaceValueForKey=function(aKey,_12b){ +if(!this.containsKey(aKey)){ +return; +} +this._buckets[aKey]=_12b; +}; +CFMutableDictionary.prototype.setValueForKey=function(aKey,_12c){ +if(_12c===nil||_12c===_44){ +this.removeValueForKey(aKey); +}else{ +if(this.containsKey(aKey)){ +this.replaceValueForKey(aKey,_12c); +}else{ +this.addValueForKey(aKey,_12c); +} +} +}; +CFData=function(){ +this._rawString=NULL; +this._propertyList=NULL; +this._propertyListFormat=NULL; +this._JSONObject=NULL; +this._bytes=NULL; +this._base64=NULL; +}; +CFData.prototype.propertyList=function(){ +if(!this._propertyList){ +this._propertyList=CFPropertyList.propertyListFromString(this.rawString()); +} +return this._propertyList; +}; +CFData.prototype.JSONObject=function(){ +if(!this._JSONObject){ +try{ +this._JSONObject=JSON.parse(this.rawString()); +} +catch(anException){ +} +} +return this._JSONObject; +}; +CFData.prototype.rawString=function(){ +if(this._rawString===NULL){ +if(this._propertyList){ +this._rawString=CFPropertyList.stringFromPropertyList(this._propertyList,this._propertyListFormat); +}else{ +if(this._JSONObject){ +this._rawString=JSON.stringify(this._JSONObject); +}else{ +throw new Error("Can't convert data to string."); +} +} +} +return this._rawString; +}; +CFData.prototype.bytes=function(){ +return this._bytes; +}; +CFData.prototype.base64=function(){ +return this._base64; +}; +CFMutableData=function(){ +CFData.call(this); +}; +CFMutableData.prototype=new CFData(); +function _12d(_12e){ +this._rawString=NULL; +this._propertyList=NULL; +this._propertyListFormat=NULL; +this._JSONObject=NULL; +this._bytes=NULL; +this._base64=NULL; +}; +CFMutableData.prototype.setPropertyList=function(_12f,_130){ +_12d(this); +this._propertyList=_12f; +this._propertyListFormat=_130; +}; +CFMutableData.prototype.setJSONObject=function(_131){ +_12d(this); +this._JSONObject=_131; +}; +CFMutableData.prototype.setRawString=function(_132){ +_12d(this); +this._rawString=_132; +}; +CFMutableData.prototype.setBytes=function(_133){ +_12d(this); +this._bytes=_133; +}; +CFMutableData.prototype.setBase64String=function(_134){ +_12d(this); +this._base64=_134; +}; +var _135=["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","+","/","="],_136=[]; +for(var i=0;i<_135.length;i++){ +_136[_135[i].charCodeAt(0)]=i; +} +CFData.decodeBase64ToArray=function(_137,_138){ +if(_138){ +_137=_137.replace(/[^A-Za-z0-9\+\/\=]/g,""); +} +var pad=(_137[_137.length-1]=="="?1:0)+(_137[_137.length-2]=="="?1:0),_139=_137.length,_13a=[]; +var i=0; +while(i<_139){ +var bits=(_136[_137.charCodeAt(i++)]<<18)|(_136[_137.charCodeAt(i++)]<<12)|(_136[_137.charCodeAt(i++)]<<6)|(_136[_137.charCodeAt(i++)]); +_13a.push((bits&16711680)>>16); +_13a.push((bits&65280)>>8); +_13a.push(bits&255); +} +if(pad>0){ +return _13a.slice(0,-1*pad); +} +return _13a; +}; +CFData.encodeBase64Array=function(_13b){ +var pad=(3-(_13b.length%3))%3,_13c=_13b.length+pad,_13d=[]; +if(pad>0){ +_13b.push(0); +} +if(pad>1){ +_13b.push(0); +} +var i=0; +while(i<_13c){ +var bits=(_13b[i++]<<16)|(_13b[i++]<<8)|(_13b[i++]); +_13d.push(_135[(bits&16515072)>>18]); +_13d.push(_135[(bits&258048)>>12]); +_13d.push(_135[(bits&4032)>>6]); +_13d.push(_135[bits&63]); +} +if(pad>0){ +_13d[_13d.length-1]="="; +_13b.pop(); +} +if(pad>1){ +_13d[_13d.length-2]="="; +_13b.pop(); +} +return _13d.join(""); +}; +CFData.decodeBase64ToString=function(_13e,_13f){ +return CFData.bytesToString(CFData.decodeBase64ToArray(_13e,_13f)); +}; +CFData.bytesToString=function(_140){ +return String.fromCharCode.apply(NULL,_140); +}; +CFData.encodeBase64String=function(_141){ +var temp=[]; +for(var i=0;i<_141.length;i++){ +temp.push(_141.charCodeAt(i)); +} +return CFData.encodeBase64Array(temp); +}; +var _142,_143,_144=0; +function _145(){ +if(++_144!==1){ +return; +} +_142={}; +_143={}; +}; +function _146(){ +_144=MAX(_144-1,0); +if(_144!==0){ +return; +} +delete _142; +delete _143; +}; +var _147=new RegExp("^"+"(?:"+"([^:/?#]+):"+")?"+"(?:"+"(//)"+"("+"(?:"+"("+"([^:@]*)"+":?"+"([^:@]*)"+")?"+"@"+")?"+"([^:/?#]*)"+"(?::(\\d*))?"+")"+")?"+"([^?#]*)"+"(?:\\?([^#]*))?"+"(?:#(.*))?"); +var _148=["url","scheme","authorityRoot","authority","userInfo","user","password","domain","portNumber","path","queryString","fragment"]; +function _149(aURL){ +if(aURL._parts){ +return aURL._parts; +} +var _14a=aURL.string(),_14b=_14a.match(/^mhtml:/); +if(_14b){ +_14a=_14a.substr("mhtml:".length); +} +if(_144>0&&_71.call(_143,_14a)){ +aURL._parts=_143[_14a]; +return aURL._parts; +} +aURL._parts={}; +var _14c=aURL._parts,_14d=_147.exec(_14a),_8c=_14d.length; +while(_8c--){ +_14c[_148[_8c]]=_14d[_8c]||NULL; +} +_14c.portNumber=parseInt(_14c.portNumber,10); +if(isNaN(_14c.portNumber)){ +_14c.portNumber=-1; +} +_14c.pathComponents=[]; +if(_14c.path){ +var _14e=_14c.path.split("/"),_14f=_14c.pathComponents,_8c=0,_150=_14e.length; +for(;_8c<_150;++_8c){ +var _151=_14e[_8c]; +if(_151){ +_14f.push(_151); +}else{ +if(_8c===0){ +_14f.push("/"); +} +} +} +_14c.pathComponents=_14f; +} +if(_14b){ +_14c.url="mhtml:"+_14c.url; +_14c.scheme="mhtml:"+_14c.scheme; +} +if(_144>0){ +_143[_14a]=_14c; +} +return _14c; +}; +CFURL=function(aURL,_152){ +aURL=aURL||""; +if(aURL instanceof CFURL){ +if(!_152){ +return aURL; +} +var _153=aURL.baseURL(); +if(_153){ +_152=new CFURL(_153.absoluteURL(),_152); +} +aURL=aURL.string(); +} +if(_144>0){ +var _154=aURL+" "+(_152&&_152.UID()||""); +if(_71.call(_142,_154)){ +return _142[_154]; +} +_142[_154]=this; +} +if(aURL.match(/^data:/)){ +var _155={},_8c=_148.length; +while(_8c--){ +_155[_148[_8c]]=""; +} +_155.url=aURL; +_155.scheme="data"; +_155.pathComponents=[]; +this._parts=_155; +this._standardizedURL=this; +this._absoluteURL=this; +} +this._UID=objj_generateObjectUID(); +this._string=aURL; +this._baseURL=_152; +}; +CFURL.prototype.UID=function(){ +return this._UID; +}; +var _156={}; +CFURL.prototype.mappedURL=function(){ +return _156[this.absoluteString()]||this; +}; +CFURL.setMappedURLForURL=function(_157,_158){ +_156[_157.absoluteString()]=_158; +}; +CFURL.prototype.schemeAndAuthority=function(){ +var _159="",_15a=this.scheme(); +if(_15a){ +_159+=_15a+":"; +} +var _15b=this.authority(); +if(_15b){ +_159+="//"+_15b; +} +return _159; +}; +CFURL.prototype.absoluteString=function(){ +if(this._absoluteString===_44){ +this._absoluteString=this.absoluteURL().string(); +} +return this._absoluteString; +}; +CFURL.prototype.toString=function(){ +return this.absoluteString(); +}; +function _15c(aURL){ +aURL=aURL.standardizedURL(); +var _15d=aURL.baseURL(); +if(!_15d){ +return aURL; +} +var _15e=((aURL)._parts||_149(aURL)),_15f,_160=_15d.absoluteURL(),_161=((_160)._parts||_149(_160)); +if(_15e.scheme||_15e.authority){ +_15f=_15e; +}else{ +_15f={}; +_15f.scheme=_161.scheme; +_15f.authority=_161.authority; +_15f.userInfo=_161.userInfo; +_15f.user=_161.user; +_15f.password=_161.password; +_15f.domain=_161.domain; +_15f.portNumber=_161.portNumber; +_15f.queryString=_15e.queryString; +_15f.fragment=_15e.fragment; +var _162=_15e.pathComponents; +if(_162.length&&_162[0]==="/"){ +_15f.path=_15e.path; +_15f.pathComponents=_162; +}else{ +var _163=_161.pathComponents,_164=_163.concat(_162); +if(!_15d.hasDirectoryPath()&&_163.length){ +_164.splice(_163.length-1,1); +} +if(_162.length&&(_162[0]===".."||_162[0]===".")){ +_165(_164,YES); +} +_15f.pathComponents=_164; +_15f.path=_166(_164,_162.length<=0||aURL.hasDirectoryPath()); +} +} +var _167=_168(_15f),_169=new CFURL(_167); +_169._parts=_15f; +_169._standardizedURL=_169; +_169._standardizedString=_167; +_169._absoluteURL=_169; +_169._absoluteString=_167; +return _169; +}; +function _166(_16a,_16b){ +var path=_16a.join("/"); +if(path.length&&path.charAt(0)==="/"){ +path=path.substr(1); +} +if(_16b){ +path+="/"; +} +return path; +}; +function _165(_16c,_16d){ +var _16e=0,_16f=0,_170=_16c.length,_171=_16d?_16c:[],_172=NO; +for(;_16e<_170;++_16e){ +var _173=_16c[_16e]; +if(_173===""){ +continue; +} +if(_173==="."){ +_172=_16f===0; +continue; +} +if(_173!==".."||_16f===0||_171[_16f-1]===".."){ +_171[_16f]=_173; +_16f++; +continue; +} +if(_16f>0&&_171[_16f-1]!=="/"){ +--_16f; +} +} +if(_172&&_16f===0){ +_171[_16f++]="."; +} +_171.length=_16f; +return _171; +}; +function _168(_174){ +var _175="",_176=_174.scheme; +if(_176){ +_175+=_176+":"; +} +var _177=_174.authority; +if(_177){ +_175+="//"+_177; +} +_175+=_174.path; +var _178=_174.queryString; +if(_178){ +_175+="?"+_178; +} +var _179=_174.fragment; +if(_179){ +_175+="#"+_179; +} +return _175; +}; +CFURL.prototype.absoluteURL=function(){ +if(this._absoluteURL===_44){ +this._absoluteURL=_15c(this); +} +return this._absoluteURL; +}; +CFURL.prototype.standardizedURL=function(){ +if(this._standardizedURL===_44){ +var _17a=((this)._parts||_149(this)),_17b=_17a.pathComponents,_17c=_165(_17b,NO); +var _17d=_166(_17c,this.hasDirectoryPath()); +if(_17a.path===_17d){ +this._standardizedURL=this; +}else{ +var _17e=_17f(_17a); +_17e.pathComponents=_17c; +_17e.path=_17d; +var _180=new CFURL(_168(_17e),this.baseURL()); +_180._parts=_17e; +_180._standardizedURL=_180; +this._standardizedURL=_180; +} +} +return this._standardizedURL; +}; +function _17f(_181){ +var _182={},_183=_148.length; +while(_183--){ +var _184=_148[_183]; +_182[_184]=_181[_184]; +} +return _182; +}; +CFURL.prototype.string=function(){ +return this._string; +}; +CFURL.prototype.authority=function(){ +var _185=((this)._parts||_149(this)).authority; +if(_185){ +return _185; +} +var _186=this.baseURL(); +return _186&&_186.authority()||""; +}; +CFURL.prototype.hasDirectoryPath=function(){ +var _187=this._hasDirectoryPath; +if(_187===_44){ +var path=this.path(); +if(!path){ +return NO; +} +if(path.charAt(path.length-1)==="/"){ +return YES; +} +var _188=this.lastPathComponent(); +_187=_188==="."||_188===".."; +this._hasDirectoryPath=_187; +} +return _187; +}; +CFURL.prototype.hostName=function(){ +return this.authority(); +}; +CFURL.prototype.fragment=function(){ +return ((this)._parts||_149(this)).fragment; +}; +CFURL.prototype.lastPathComponent=function(){ +if(this._lastPathComponent===_44){ +var _189=this.pathComponents(),_18a=_189.length; +if(!_18a){ +this._lastPathComponent=""; +}else{ +this._lastPathComponent=_189[_18a-1]; +} +} +return this._lastPathComponent; +}; +CFURL.prototype.path=function(){ +return ((this)._parts||_149(this)).path; +}; +CFURL.prototype.pathComponents=function(){ +return ((this)._parts||_149(this)).pathComponents; +}; +CFURL.prototype.pathExtension=function(){ +var _18b=this.lastPathComponent(); +if(!_18b){ +return NULL; +} +_18b=_18b.replace(/^\.*/,""); +var _18c=_18b.lastIndexOf("."); +return _18c<=0?"":_18b.substring(_18c+1); +}; +CFURL.prototype.queryString=function(){ +return ((this)._parts||_149(this)).queryString; +}; +CFURL.prototype.scheme=function(){ +var _18d=this._scheme; +if(_18d===_44){ +_18d=((this)._parts||_149(this)).scheme; +if(!_18d){ +var _18e=this.baseURL(); +_18d=_18e&&_18e.scheme(); +} +this._scheme=_18d; +} +return _18d; +}; +CFURL.prototype.user=function(){ +return ((this)._parts||_149(this)).user; +}; +CFURL.prototype.password=function(){ +return ((this)._parts||_149(this)).password; +}; +CFURL.prototype.portNumber=function(){ +return ((this)._parts||_149(this)).portNumber; +}; +CFURL.prototype.domain=function(){ +return ((this)._parts||_149(this)).domain; +}; +CFURL.prototype.baseURL=function(){ +return this._baseURL; +}; +CFURL.prototype.asDirectoryPathURL=function(){ +if(this.hasDirectoryPath()){ +return this; +} +var _18f=this.lastPathComponent(); +if(_18f!=="/"){ +_18f="./"+_18f; +} +return new CFURL(_18f+"/",this); +}; +function _190(aURL){ +if(!aURL._resourcePropertiesForKeys){ +aURL._resourcePropertiesForKeys=new CFMutableDictionary(); +} +return aURL._resourcePropertiesForKeys; +}; +CFURL.prototype.resourcePropertyForKey=function(aKey){ +return _190(this).valueForKey(aKey); +}; +CFURL.prototype.setResourcePropertyForKey=function(aKey,_191){ +_190(this).setValueForKey(aKey,_191); +}; +CFURL.prototype.staticResourceData=function(){ +var data=new CFMutableData(); +data.setRawString(_192.resourceAtURL(this).contents()); +return data; +}; +function _fd(_193){ +this._string=_193; +var _194=_193.indexOf(";"); +this._magicNumber=_193.substr(0,_194); +this._location=_193.indexOf(";",++_194); +this._version=_193.substring(_194,this._location++); +}; +_fd.prototype.magicNumber=function(){ +return this._magicNumber; +}; +_fd.prototype.version=function(){ +return this._version; +}; +_fd.prototype.getMarker=function(){ +var _195=this._string,_196=this._location; +if(_196>=_195.length){ +return null; +} +var next=_195.indexOf(";",_196); +if(next<0){ +return null; +} +var _197=_195.substring(_196,next); +if(_197==="e"){ +return null; +} +this._location=next+1; +return _197; +}; +_fd.prototype.getString=function(){ +var _198=this._string,_199=this._location; +if(_199>=_198.length){ +return null; +} +var next=_198.indexOf(";",_199); +if(next<0){ +return null; +} +var size=parseInt(_198.substring(_199,next),10),text=_198.substr(next+1,size); +this._location=next+1+size; +return text; +}; +var _19a=0,_19b=1<<0,_19c=1<<1,_19d=1<<2,_19e=1<<3,_19f=1<<4; +var _1a0={},_1a1={},_1a2=new Date().getTime(),_1a3=0,_1a4=0; +CFBundle=function(aURL){ +aURL=_1a5(aURL).asDirectoryPathURL(); +var _1a6=aURL.absoluteString(),_1a7=_1a0[_1a6]; +if(_1a7){ +return _1a7; +} +_1a0[_1a6]=this; +this._bundleURL=aURL; +this._resourcesDirectoryURL=new CFURL("Resources/",aURL); +this._staticResource=NULL; +this._isValid=NO; +this._loadStatus=_19a; +this._loadRequests=[]; +this._infoDictionary=new CFDictionary(); +this._eventDispatcher=new _6c(this); +}; +CFBundle.environments=function(){ +return ["Browser","ObjJ"]; +}; +CFBundle.bundleContainingURL=function(aURL){ +aURL=new CFURL(".",_1a5(aURL)); +var _1a8,_1a9=aURL.absoluteString(); +while(!_1a8||_1a8!==_1a9){ +var _1aa=_1a0[_1a9]; +if(_1aa&&_1aa._isValid){ +return _1aa; +} +aURL=new CFURL("..",aURL); +_1a8=_1a9; +_1a9=aURL.absoluteString(); +} +return NULL; +}; +CFBundle.mainBundle=function(){ +return new CFBundle(_1ab); +}; +function _1ac(_1ad,_1ae){ +if(_1ae){ +_1a1[_1ad.name]=_1ae; +} +}; +CFBundle.bundleForClass=function(_1af){ +return _1a1[_1af.name]||CFBundle.mainBundle(); +}; +CFBundle.prototype.bundleURL=function(){ +return this._bundleURL; +}; +CFBundle.prototype.resourcesDirectoryURL=function(){ +return this._resourcesDirectoryURL; +}; +CFBundle.prototype.resourceURL=function(_1b0,_1b1,_1b2){ +if(_1b1){ +_1b0=_1b0+"."+_1b1; +} +if(_1b2){ +_1b0=_1b2+"/"+_1b0; +} +var _1b3=(new CFURL(_1b0,this.resourcesDirectoryURL())).mappedURL(); +return _1b3.absoluteURL(); +}; +CFBundle.prototype.mostEligibleEnvironmentURL=function(){ +if(this._mostEligibleEnvironmentURL===_44){ +this._mostEligibleEnvironmentURL=new CFURL(this.mostEligibleEnvironment()+".environment/",this.bundleURL()); +} +return this._mostEligibleEnvironmentURL; +}; +CFBundle.prototype.executableURL=function(){ +if(this._executableURL===_44){ +var _1b4=this.valueForInfoDictionaryKey("CPBundleExecutable"); +if(!_1b4){ +this._executableURL=NULL; +}else{ +this._executableURL=new CFURL(_1b4,this.mostEligibleEnvironmentURL()); +} +} +return this._executableURL; +}; +CFBundle.prototype.infoDictionary=function(){ +return this._infoDictionary; +}; +CFBundle.prototype.valueForInfoDictionaryKey=function(aKey){ +return this._infoDictionary.valueForKey(aKey); +}; +CFBundle.prototype.hasSpritedImages=function(){ +var _1b5=this._infoDictionary.valueForKey("CPBundleEnvironmentsWithImageSprites")||[],_8c=_1b5.length,_1b6=this.mostEligibleEnvironment(); +while(_8c--){ +if(_1b5[_8c]===_1b6){ +return YES; +} +} +return NO; +}; +CFBundle.prototype.environments=function(){ +return this._infoDictionary.valueForKey("CPBundleEnvironments")||["ObjJ"]; +}; +CFBundle.prototype.mostEligibleEnvironment=function(_1b7){ +_1b7=_1b7||this.environments(); +var _1b8=CFBundle.environments(),_8c=0,_1b9=_1b8.length,_1ba=_1b7.length; +for(;_8c<_1b9;++_8c){ +var _1bb=0,_1bc=_1b8[_8c]; +for(;_1bb<_1ba;++_1bb){ +if(_1bc===_1b7[_1bb]){ +return _1bc; +} +} +} +return NULL; +}; +CFBundle.prototype.isLoading=function(){ +return this._loadStatus&_19b; +}; +CFBundle.prototype.load=function(_1bd){ +if(this._loadStatus!==_19a){ +return; +} +this._loadStatus=_19b|_19c; +var self=this,_1be=this.bundleURL(),_1bf=new CFURL("..",_1be); +if(_1bf.absoluteString()===_1be.absoluteString()){ +_1bf=_1bf.schemeAndAuthority(); +} +_192.resolveResourceAtURL(_1bf,YES,function(_1c0){ +var _1c1=_1be.absoluteURL().lastPathComponent(); +self._staticResource=_1c0._children[_1c1]||new _192(_1be,_1c0,YES,NO); +function _1c2(_1c3){ +self._loadStatus&=~_19c; +var _1c4=_1c3.request.responsePropertyList(); +self._isValid=!!_1c4||CFBundle.mainBundle()===self; +if(_1c4){ +self._infoDictionary=_1c4; +} +if(!self._infoDictionary){ +_1c6(self,new Error("Could not load bundle at \""+path+"\"")); +return; +} +if(self===CFBundle.mainBundle()&&self.valueForInfoDictionaryKey("CPApplicationSize")){ +_1a4=self.valueForInfoDictionaryKey("CPApplicationSize").valueForKey("executable")||0; +} +_1ca(self,_1bd); +}; +function _1c5(){ +self._isValid=CFBundle.mainBundle()===self; +self._loadStatus=_19a; +_1c6(self,new Error("Could not load bundle at \""+self.bundleURL()+"\"")); +}; +new _a8(new CFURL("Info.plist",self.bundleURL()),_1c2,_1c5); +}); +}; +function _1c6(_1c7,_1c8){ +_1c9(_1c7._staticResource); +_1c7._eventDispatcher.dispatchEvent({type:"error",error:_1c8,bundle:_1c7}); +}; +function _1ca(_1cb,_1cc){ +if(!_1cb.mostEligibleEnvironment()){ +return _1cd(); +} +_1ce(_1cb,_1cf,_1cd); +_1d0(_1cb,_1cf,_1cd); +if(_1cb._loadStatus===_19b){ +return _1cf(); +} +function _1cd(_1d1){ +var _1d2=_1cb._loadRequests,_1d3=_1d2.length; +while(_1d3--){ +_1d2[_1d3].abort(); +} +this._loadRequests=[]; +_1cb._loadStatus=_19a; +_1c6(_1cb,_1d1||new Error("Could not recognize executable code format in Bundle "+_1cb)); +}; +function _1cf(){ +if((typeof CPApp==="undefined"||!CPApp||!CPApp._finishedLaunching)&&typeof OBJJ_PROGRESS_CALLBACK==="function"&&_1a4){ +OBJJ_PROGRESS_CALLBACK(MAX(MIN(1,_1a3/_1a4),0),_1a4,_1cb.path()); +} +if(_1cb._loadStatus===_19b){ +_1cb._loadStatus=_19f; +}else{ +return; +} +_1c9(_1cb._staticResource); +function _1d4(){ +_1cb._eventDispatcher.dispatchEvent({type:"load",bundle:_1cb}); +}; +if(_1cc){ +_1d5(_1cb,_1d4); +}else{ +_1d4(); +} +}; +}; +function _1ce(_1d6,_1d7,_1d8){ +var _1d9=_1d6.executableURL(); +if(!_1d9){ +return; +} +_1d6._loadStatus|=_19d; +new _a8(_1d9,function(_1da){ +try{ +_1a3+=_1da.request.responseText().length; +_1db(_1d6,_1da.request.responseText(),_1d9); +_1d6._loadStatus&=~_19d; +_1d7(); +} +catch(anException){ +_1d8(anException); +} +},_1d8); +}; +function _1dc(_1dd){ +return "mhtml:"+new CFURL("MHTMLTest.txt",_1dd.mostEligibleEnvironmentURL()); +}; +function _1de(_1df){ +if(_1e0===_1e1){ +return new CFURL("dataURLs.txt",_1df.mostEligibleEnvironmentURL()); +} +if(_1e0===_1e2||_1e0===_1e3){ +return new CFURL("MHTMLPaths.txt",_1df.mostEligibleEnvironmentURL()); +} +return NULL; +}; +function _1d0(_1e4,_1e5,_1e6){ +if(!_1e4.hasSpritedImages()){ +return; +} +_1e4._loadStatus|=_19e; +if(!_1e7()){ +return _1e8(_1dc(_1e4),function(){ +_1d0(_1e4,_1e5,_1e6); +}); +} +var _1e9=_1de(_1e4); +if(!_1e9){ +_1e4._loadStatus&=~_19e; +return _1e5(); +} +new _a8(_1e9,function(_1ea){ +try{ +_1a3+=_1ea.request.responseText().length; +_1db(_1e4,_1ea.request.responseText(),_1e9); +_1e4._loadStatus&=~_19e; +} +catch(anException){ +_1e6(anException); +} +_1e5(); +},_1e6); +}; +var _1eb=[],_1e0=-1,_1ec=0,_1e1=1,_1e2=2,_1e3=3; +function _1e7(){ +return _1e0!==-1; +}; +function _1e8(_1ed,_1ee){ +if(_1e7()){ +return; +} +_1eb.push(_1ee); +if(_1eb.length>1){ +return; +} +_1eb.push(function(){ +var size=0,_1ef=CFBundle.mainBundle().valueForInfoDictionaryKey("CPApplicationSize"); +if(!_1ef){ +return; +} +switch(_1e0){ +case _1e1: +size=_1ef.valueForKey("data"); +break; +case _1e2: +case _1e3: +size=_1ef.valueForKey("mhtml"); +break; +} +_1a4+=size; +}); +_1f0([_1e1,"data:image/gif;base64,R0lGODlhAQABAIAAAMc9BQAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",_1e2,_1ed+"!test",_1e3,_1ed+"?"+_1a2+"!test"]); +}; +function _1f1(){ +var _1f2=_1eb.length; +while(_1f2--){ +_1eb[_1f2](); +} +}; +function _1f0(_1f3){ +if(_1f3.length<2){ +_1e0=_1ec; +_1f1(); +return; +} +var _1f4=new Image(); +_1f4.onload=function(){ +if(_1f4.width===1&&_1f4.height===1){ +_1e0=_1f3[0]; +_1f1(); +}else{ +_1f4.onerror(); +} +}; +_1f4.onerror=function(){ +_1f0(_1f3.slice(2)); +}; +_1f4.src=_1f3[1]; +}; +function _1d5(_1f5,_1f6){ +var _1f7=[_1f5._staticResource]; +function _1f8(_1f9){ +for(;_1f9<_1f7.length;++_1f9){ +var _1fa=_1f7[_1f9]; +if(_1fa.isNotFound()){ +continue; +} +if(_1fa.isFile()){ +var _1fb=new _302(_1fa.URL()); +if(_1fb.hasLoadedFileDependencies()){ +_1fb.execute(); +}else{ +_1fb.loadFileDependencies(function(){ +_1f8(_1f9); +}); +return; +} +}else{ +if(_1fa.URL().absoluteString()===_1f5.resourcesDirectoryURL().absoluteString()){ +continue; +} +var _1fc=_1fa.children(); +for(var name in _1fc){ +if(_71.call(_1fc,name)){ +_1f7.push(_1fc[name]); +} +} +} +} +_1f6(); +}; +_1f8(0); +}; +var _1fd="@STATIC",_1fe="p",_1ff="u",_200="c",_201="t",_202="I",_203="i"; +function _1db(_204,_205,_206){ +var _207=new _fd(_205); +if(_207.magicNumber()!==_1fd){ +throw new Error("Could not read static file: "+_206); +} +if(_207.version()!=="1.0"){ +throw new Error("Could not read static file: "+_206); +} +var _208,_209=_204.bundleURL(),file=NULL; +while(_208=_207.getMarker()){ +var text=_207.getString(); +if(_208===_1fe){ +var _20a=new CFURL(text,_209),_20b=_192.resourceAtURL(new CFURL(".",_20a),YES); +file=new _192(_20a,_20b,NO,YES); +}else{ +if(_208===_1ff){ +var URL=new CFURL(text,_209),_20c=_207.getString(); +if(_20c.indexOf("mhtml:")===0){ +_20c="mhtml:"+new CFURL(_20c.substr("mhtml:".length),_209); +if(_1e0===_1e3){ +var _20d=URLString.indexOf("!"),_20e=URLString.substring(0,_20d),_20f=URLString.substring(_20d); +_20c=_20e+"?"+_1a2+_20f; +} +} +CFURL.setMappedURLForURL(URL,new CFURL(_20c)); +var _20b=_192.resourceAtURL(new CFURL(".",URL),YES); +new _192(URL,_20b,NO,YES); +}else{ +if(_208===_201){ +file.write(text); +} +} +} +} +}; +CFBundle.prototype.addEventListener=function(_210,_211){ +this._eventDispatcher.addEventListener(_210,_211); +}; +CFBundle.prototype.removeEventListener=function(_212,_213){ +this._eventDispatcher.removeEventListener(_212,_213); +}; +CFBundle.prototype.onerror=function(_214){ +throw _214.error; +}; +CFBundle.prototype.bundlePath=function(){ +return this._bundleURL.absoluteURL().path(); +}; +CFBundle.prototype.path=function(){ +CPLog.warn("CFBundle.prototype.path is deprecated, use CFBundle.prototype.bundlePath instead."); +return this.bundlePath.apply(this,arguments); +}; +CFBundle.prototype.pathForResource=function(_215){ +return this.resourceURL(_215).absoluteString(); +}; +var _216={}; +function _192(aURL,_217,_218,_219){ +this._parent=_217; +this._eventDispatcher=new _6c(this); +var name=aURL.absoluteURL().lastPathComponent()||aURL.schemeAndAuthority(); +this._name=name; +this._URL=aURL; +this._isResolved=!!_219; +if(_218){ +this._URL=this._URL.asDirectoryPathURL(); +} +if(!_217){ +_216[name]=this; +} +this._isDirectory=!!_218; +this._isNotFound=NO; +if(_217){ +_217._children[name]=this; +} +if(_218){ +this._children={}; +}else{ +this._contents=""; +} +}; +_192.rootResources=function(){ +return _216; +}; +_2.StaticResource=_192; +function _1c9(_21a){ +_21a._isResolved=YES; +_21a._eventDispatcher.dispatchEvent({type:"resolve",staticResource:_21a}); +}; +_192.prototype.resolve=function(){ +if(this.isDirectory()){ +var _21b=new CFBundle(this.URL()); +_21b.onerror=function(){ +}; +_21b.load(NO); +}else{ +var self=this; +function _21c(_21d){ +self._contents=_21d.request.responseText(); +_1c9(self); +}; +function _21e(){ +self._isNotFound=YES; +_1c9(self); +}; +new _a8(this.URL(),_21c,_21e); +} +}; +_192.prototype.name=function(){ +return this._name; +}; +_192.prototype.URL=function(){ +return this._URL; +}; +_192.prototype.contents=function(){ +return this._contents; +}; +_192.prototype.children=function(){ +return this._children; +}; +_192.prototype.parent=function(){ +return this._parent; +}; +_192.prototype.isResolved=function(){ +return this._isResolved; +}; +_192.prototype.write=function(_21f){ +this._contents+=_21f; +}; +function _220(_221){ +var _222=_221.schemeAndAuthority(),_223=_216[_222]; +if(!_223){ +_223=new _192(new CFURL(_222),NULL,YES,YES); +} +return _223; +}; +_192.resourceAtURL=function(aURL,_224){ +aURL=_1a5(aURL).absoluteURL(); +var _225=_220(aURL),_226=aURL.pathComponents(),_8c=0,_227=_226.length; +for(;_8c<_227;++_8c){ +var name=_226[_8c]; +if(_71.call(_225._children,name)){ +_225=_225._children[name]; +}else{ +if(_224){ +if(name!=="/"){ +name="./"+name; +} +_225=new _192(new CFURL(name,_225.URL()),_225,YES,YES); +}else{ +throw new Error("Static Resource at "+aURL+" is not resolved (\""+name+"\")"); +} +} +} +return _225; +}; +_192.prototype.resourceAtURL=function(aURL,_228){ +return _192.resourceAtURL(new CFURL(aURL,this.URL()),_228); +}; +_192.resolveResourceAtURL=function(aURL,_229,_22a){ +aURL=_1a5(aURL).absoluteURL(); +_22b(_220(aURL),_229,aURL.pathComponents(),0,_22a); +}; +_192.prototype.resolveResourceAtURL=function(aURL,_22c,_22d){ +_192.resolveResourceAtURL(new CFURL(aURL,this.URL()).absoluteURL(),_22c,_22d); +}; +function _22b(_22e,_22f,_230,_231,_232){ +var _233=_230.length; +for(;_231<_233;++_231){ +var name=_230[_231],_234=_71.call(_22e._children,name)&&_22e._children[name]; +if(!_234){ +_234=new _192(new CFURL(name,_22e.URL()),_22e,_231+1<_233||_22f,NO); +_234.resolve(); +} +if(!_234.isResolved()){ +return _234.addEventListener("resolve",function(){ +_22b(_22e,_22f,_230,_231,_232); +}); +} +if(_234.isNotFound()){ +return _232(null,new Error("File not found: "+_230.join("/"))); +} +if((_231+1<_233)&&_234.isFile()){ +return _232(null,new Error("File is not a directory: "+_230.join("/"))); +} +_22e=_234; +} +_232(_22e); +}; +function _235(aURL,_236,_237){ +var _238=_192.includeURLs(),_239=new CFURL(aURL,_238[_236]).absoluteURL(); +_192.resolveResourceAtURL(_239,NO,function(_23a){ +if(!_23a){ +if(_236+1<_238.length){ +_235(aURL,_236+1,_237); +}else{ +_237(NULL); +} +return; +} +_237(_23a); +}); +}; +_192.resolveResourceAtURLSearchingIncludeURLs=function(aURL,_23b){ +_235(aURL,0,_23b); +}; +_192.prototype.addEventListener=function(_23c,_23d){ +this._eventDispatcher.addEventListener(_23c,_23d); +}; +_192.prototype.removeEventListener=function(_23e,_23f){ +this._eventDispatcher.removeEventListener(_23e,_23f); +}; +_192.prototype.isNotFound=function(){ +return this._isNotFound; +}; +_192.prototype.isFile=function(){ +return !this._isDirectory; +}; +_192.prototype.isDirectory=function(){ +return this._isDirectory; +}; +_192.prototype.toString=function(_240){ +if(this.isNotFound()){ +return ""; +} +var _241=this.name(); +if(this.isDirectory()){ +var _242=this._children; +for(var name in _242){ +if(_242.hasOwnProperty(name)){ +var _243=_242[name]; +if(_240||!_243.isNotFound()){ +_241+="\n\t"+_242[name].toString(_240).split("\n").join("\n\t"); +} +} +} +} +return _241; +}; +var _244=NULL; +_192.includeURLs=function(){ +if(_245){ +return _245; +} +var _245=[]; +if(!_1.OBJJ_INCLUDE_PATHS&&!_1.OBJJ_INCLUDE_URLS){ +_245=["Frameworks","Frameworks/Debug"]; +}else{ +_245=(_1.OBJJ_INCLUDE_PATHS||[]).concat(_1.OBJJ_INCLUDE_URLS||[]); +} +var _246=_245.length; +while(_246--){ +_245[_246]=new CFURL(_245[_246]).asDirectoryPathURL(); +} +return _245; +}; +var _247="accessors",_248="class",_249="end",_24a="function",_24b="implementation",_24c="import",_24d="each",_24e="outlet",_24f="action",_250="new",_251="selector",_252="super",_253="var",_254="in",_255="=",_256="+",_257="-",_258=":",_259=",",_25a=".",_25b="*",_25c=";",_25d="<",_25e="{",_25f="}",_260=">",_261="[",_262="\"",_263="@",_264="]",_265="?",_266="(",_267=")",_268=/^(?:(?:\s+$)|(?:\/(?:\/|\*)))/,_269=/^[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?$/,_26a=/^[a-zA-Z_$](\w|$)*$/; +function _26b(_26c){ +this._index=-1; +this._tokens=(_26c+"\n").match(/\/\/.*(\r|\n)?|\/\*(?:.|\n|\r)*?\*\/|\w+\b|[+-]?\d+(([.]\d+)*([eE][+-]?\d+))?|"[^"\\]*(\\[\s\S][^"\\]*)*"|'[^'\\]*(\\[\s\S][^'\\]*)*'|\s+|./g); +this._context=[]; +return this; +}; +_26b.prototype.push=function(){ +this._context.push(this._index); +}; +_26b.prototype.pop=function(){ +this._index=this._context.pop(); +}; +_26b.prototype.peak=function(_26d){ +if(_26d){ +this.push(); +var _26e=this.skip_whitespace(); +this.pop(); +return _26e; +} +return this._tokens[this._index+1]; +}; +_26b.prototype.next=function(){ +return this._tokens[++this._index]; +}; +_26b.prototype.previous=function(){ +return this._tokens[--this._index]; +}; +_26b.prototype.last=function(){ +if(this._index<0){ +return NULL; +} +return this._tokens[this._index-1]; +}; +_26b.prototype.skip_whitespace=function(_26f){ +var _270; +if(_26f){ +while((_270=this.previous())&&_268.test(_270)){ +} +}else{ +while((_270=this.next())&&_268.test(_270)){ +} +} +return _270; +}; +_2.Lexer=_26b; +function _271(){ +this.atoms=[]; +}; +_271.prototype.toString=function(){ +return this.atoms.join(""); +}; +_2.preprocess=function(_272,aURL,_273){ +return new _274(_272,aURL,_273).executable(); +}; +_2.eval=function(_275){ +return eval(_2.preprocess(_275).code()); +}; +var _274=function(_276,aURL,_277){ +this._URL=new CFURL(aURL); +_276=_276.replace(/^#[^\n]+\n/,"\n"); +this._currentSelector=""; +this._currentClass=""; +this._currentSuperClass=""; +this._currentSuperMetaClass=""; +this._buffer=new _271(); +this._preprocessed=NULL; +this._dependencies=[]; +this._tokens=new _26b(_276); +this._flags=_277; +this._classMethod=false; +this._executable=NULL; +this.preprocess(this._tokens,this._buffer); +}; +_2.Preprocessor=_274; +_274.Flags={}; +_274.Flags.IncludeDebugSymbols=1<<0; +_274.Flags.IncludeTypeSignatures=1<<1; +_274.prototype.executable=function(){ +if(!this._executable){ +this._executable=new _278(this._buffer.toString(),this._dependencies,this._URL); +} +return this._executable; +}; +_274.prototype.accessors=function(_279){ +var _27a=_279.skip_whitespace(),_27b={}; +if(_27a!=_266){ +_279.previous(); +return _27b; +} +while((_27a=_279.skip_whitespace())!=_267){ +var name=_27a,_27c=true; +if(!/^\w+$/.test(name)){ +throw new SyntaxError(this.error_message("*** @property attribute name not valid.")); +} +if((_27a=_279.skip_whitespace())==_255){ +_27c=_279.skip_whitespace(); +if(!/^\w+$/.test(_27c)){ +throw new SyntaxError(this.error_message("*** @property attribute value not valid.")); +} +if(name=="setter"){ +if((_27a=_279.next())!=_258){ +throw new SyntaxError(this.error_message("*** @property setter attribute requires argument with \":\" at end of selector name.")); +} +_27c+=":"; +} +_27a=_279.skip_whitespace(); +} +_27b[name]=_27c; +if(_27a==_267){ +break; +} +if(_27a!=_259){ +throw new SyntaxError(this.error_message("*** Expected ',' or ')' in @property attribute list.")); +} +} +return _27b; +}; +_274.prototype.brackets=function(_27d,_27e){ +var _27f=[]; +while(this.preprocess(_27d,NULL,NULL,NULL,_27f[_27f.length]=[])){ +} +if(_27f[0].length===1){ +_27e.atoms[_27e.atoms.length]="["; +_27e.atoms[_27e.atoms.length]=_27f[0][0]; +_27e.atoms[_27e.atoms.length]="]"; +}else{ +var _280=new _271(); +if(_27f[0][0].atoms[0]==_252){ +_27e.atoms[_27e.atoms.length]="objj_msgSendSuper("; +_27e.atoms[_27e.atoms.length]="{ receiver:self, super_class:"+(this._classMethod?this._currentSuperMetaClass:this._currentSuperClass)+" }"; +}else{ +_27e.atoms[_27e.atoms.length]="objj_msgSend("; +_27e.atoms[_27e.atoms.length]=_27f[0][0]; +} +_280.atoms[_280.atoms.length]=_27f[0][1]; +var _281=1,_282=_27f.length,_283=new _271(); +for(;_281<_282;++_281){ +var pair=_27f[_281]; +_280.atoms[_280.atoms.length]=pair[1]; +_283.atoms[_283.atoms.length]=", "+pair[0]; +} +_27e.atoms[_27e.atoms.length]=", \""; +_27e.atoms[_27e.atoms.length]=_280; +_27e.atoms[_27e.atoms.length]="\""; +_27e.atoms[_27e.atoms.length]=_283; +_27e.atoms[_27e.atoms.length]=")"; +} +}; +_274.prototype.directive=function(_284,_285,_286){ +var _287=_285?_285:new _271(),_288=_284.next(); +if(_288.charAt(0)==_262){ +_287.atoms[_287.atoms.length]=_288; +}else{ +if(_288===_248){ +_284.skip_whitespace(); +return; +}else{ +if(_288===_24b){ +this.implementation(_284,_287); +}else{ +if(_288===_24c){ +this._import(_284); +}else{ +if(_288===_251){ +this.selector(_284,_287); +} +} +} +} +} +if(!_285){ +return _287; +} +}; +_274.prototype.implementation=function(_289,_28a){ +var _28b=_28a,_28c="",_28d=NO,_28e=_289.skip_whitespace(),_28f="Nil",_290=new _271(),_291=new _271(); +if(!(/^\w/).test(_28e)){ +throw new Error(this.error_message("*** Expected class name, found \""+_28e+"\".")); +} +this._currentSuperClass="objj_getClass(\""+_28e+"\").super_class"; +this._currentSuperMetaClass="objj_getMetaClass(\""+_28e+"\").super_class"; +this._currentClass=_28e; +this._currentSelector=""; +if((_28c=_289.skip_whitespace())==_266){ +_28c=_289.skip_whitespace(); +if(_28c==_267){ +throw new SyntaxError(this.error_message("*** Can't Have Empty Category Name for class \""+_28e+"\".")); +} +if(_289.skip_whitespace()!=_267){ +throw new SyntaxError(this.error_message("*** Improper Category Definition for class \""+_28e+"\".")); +} +_28b.atoms[_28b.atoms.length]="{\nvar the_class = objj_getClass(\""+_28e+"\")\n"; +_28b.atoms[_28b.atoms.length]="if(!the_class) throw new SyntaxError(\"*** Could not find definition for class \\\""+_28e+"\\\"\");\n"; +_28b.atoms[_28b.atoms.length]="var meta_class = the_class.isa;"; +}else{ +if(_28c==_258){ +_28c=_289.skip_whitespace(); +if(!_26a.test(_28c)){ +throw new SyntaxError(this.error_message("*** Expected class name, found \""+_28c+"\".")); +} +_28f=_28c; +_28c=_289.skip_whitespace(); +} +_28b.atoms[_28b.atoms.length]="{var the_class = objj_allocateClassPair("+_28f+", \""+_28e+"\"),\nmeta_class = the_class.isa;"; +if(_28c==_25e){ +var _292=0,_293=[],_294,_295={}; +while((_28c=_289.skip_whitespace())&&_28c!=_25f){ +if(_28c===_263){ +_28c=_289.next(); +if(_28c===_247){ +_294=this.accessors(_289); +}else{ +if(_28c!==_24e){ +throw new SyntaxError(this.error_message("*** Unexpected '@' token in ivar declaration ('@"+_28c+"').")); +} +} +}else{ +if(_28c==_25c){ +if(_292++==0){ +_28b.atoms[_28b.atoms.length]="class_addIvars(the_class, ["; +}else{ +_28b.atoms[_28b.atoms.length]=", "; +} +var name=_293[_293.length-1]; +_28b.atoms[_28b.atoms.length]="new objj_ivar(\""+name+"\")"; +_293=[]; +if(_294){ +_295[name]=_294; +_294=NULL; +} +}else{ +_293.push(_28c); +} +} +} +if(_293.length){ +throw new SyntaxError(this.error_message("*** Expected ';' in ivar declaration, found '}'.")); +} +if(_292){ +_28b.atoms[_28b.atoms.length]="]);\n"; +} +if(!_28c){ +throw new SyntaxError(this.error_message("*** Expected '}'")); +} +for(ivar_name in _295){ +var _296=_295[ivar_name],_297=_296["property"]||ivar_name; +var _298=_296["getter"]||_297,_299="(id)"+_298+"\n{\nreturn "+ivar_name+";\n}"; +if(_290.atoms.length!==0){ +_290.atoms[_290.atoms.length]=",\n"; +} +_290.atoms[_290.atoms.length]=this.method(new _26b(_299)); +if(_296["readonly"]){ +continue; +} +var _29a=_296["setter"]; +if(!_29a){ +var _29b=_297.charAt(0)=="_"?1:0; +_29a=(_29b?"_":"")+"set"+_297.substr(_29b,1).toUpperCase()+_297.substring(_29b+1)+":"; +} +var _29c="(void)"+_29a+"(id)newValue\n{\n"; +if(_296["copy"]){ +_29c+="if ("+ivar_name+" !== newValue)\n"+ivar_name+" = [newValue copy];\n}"; +}else{ +_29c+=ivar_name+" = newValue;\n}"; +} +if(_290.atoms.length!==0){ +_290.atoms[_290.atoms.length]=",\n"; +} +_290.atoms[_290.atoms.length]=this.method(new _26b(_29c)); +} +}else{ +_289.previous(); +} +_28b.atoms[_28b.atoms.length]="objj_registerClassPair(the_class);\n"; +} +while((_28c=_289.skip_whitespace())){ +if(_28c==_256){ +this._classMethod=true; +if(_291.atoms.length!==0){ +_291.atoms[_291.atoms.length]=", "; +} +_291.atoms[_291.atoms.length]=this.method(_289); +}else{ +if(_28c==_257){ +this._classMethod=false; +if(_290.atoms.length!==0){ +_290.atoms[_290.atoms.length]=", "; +} +_290.atoms[_290.atoms.length]=this.method(_289); +}else{ +if(_28c==_263){ +if((_28c=_289.next())==_249){ +break; +}else{ +throw new SyntaxError(this.error_message("*** Expected \"@end\", found \"@"+_28c+"\".")); +} +} +} +} +} +if(_290.atoms.length!==0){ +_28b.atoms[_28b.atoms.length]="class_addMethods(the_class, ["; +_28b.atoms[_28b.atoms.length]=_290; +_28b.atoms[_28b.atoms.length]="]);\n"; +} +if(_291.atoms.length!==0){ +_28b.atoms[_28b.atoms.length]="class_addMethods(meta_class, ["; +_28b.atoms[_28b.atoms.length]=_291; +_28b.atoms[_28b.atoms.length]="]);\n"; +} +_28b.atoms[_28b.atoms.length]="}"; +this._currentClass=""; +}; +_274.prototype._import=function(_29d){ +var _29e="",_29f=_29d.skip_whitespace(),_2a0=(_29f!==_25d); +if(_29f===_25d){ +while((_29f=_29d.next())&&_29f!==_260){ +_29e+=_29f; +} +if(!_29f){ +throw new SyntaxError(this.error_message("*** Unterminated import statement.")); +} +}else{ +if(_29f.charAt(0)===_262){ +_29e=_29f.substr(1,_29f.length-2); +}else{ +throw new SyntaxError(this.error_message("*** Expecting '<' or '\"', found \""+_29f+"\".")); +} +} +this._buffer.atoms[this._buffer.atoms.length]="objj_executeFile(\""; +this._buffer.atoms[this._buffer.atoms.length]=_29e; +this._buffer.atoms[this._buffer.atoms.length]=_2a0?"\", YES);":"\", NO);"; +this._dependencies.push(new _2a1(new CFURL(_29e),_2a0)); +}; +_274.prototype.method=function(_2a2){ +var _2a3=new _271(),_2a4,_2a5="",_2a6=[],_2a7=[null]; +while((_2a4=_2a2.skip_whitespace())&&_2a4!=_25e){ +if(_2a4==_258){ +var type=""; +_2a5+=_2a4; +_2a4=_2a2.skip_whitespace(); +if(_2a4==_266){ +while((_2a4=_2a2.skip_whitespace())&&_2a4!=_267){ +type+=_2a4; +} +_2a4=_2a2.skip_whitespace(); +} +_2a7[_2a6.length+1]=type||null; +_2a6[_2a6.length]=_2a4; +}else{ +if(_2a4==_266){ +var type=""; +while((_2a4=_2a2.skip_whitespace())&&_2a4!=_267){ +type+=_2a4; +} +_2a7[0]=type||null; +}else{ +if(_2a4==_259){ +if((_2a4=_2a2.skip_whitespace())!=_25a||_2a2.next()!=_25a||_2a2.next()!=_25a){ +throw new SyntaxError(this.error_message("*** Argument list expected after ','.")); +} +}else{ +_2a5+=_2a4; +} +} +} +} +var _2a8=0,_2a9=_2a6.length; +_2a3.atoms[_2a3.atoms.length]="new objj_method(sel_getUid(\""; +_2a3.atoms[_2a3.atoms.length]=_2a5; +_2a3.atoms[_2a3.atoms.length]="\"), function"; +this._currentSelector=_2a5; +if(this._flags&_274.Flags.IncludeDebugSymbols){ +_2a3.atoms[_2a3.atoms.length]=" $"+this._currentClass+"__"+_2a5.replace(/:/g,"_"); +} +_2a3.atoms[_2a3.atoms.length]="(self, _cmd"; +for(;_2a8<_2a9;++_2a8){ +_2a3.atoms[_2a3.atoms.length]=", "; +_2a3.atoms[_2a3.atoms.length]=_2a6[_2a8]; +} +_2a3.atoms[_2a3.atoms.length]=")\n{ with(self)\n{"; +_2a3.atoms[_2a3.atoms.length]=this.preprocess(_2a2,NULL,_25f,_25e); +_2a3.atoms[_2a3.atoms.length]="}\n}"; +if(this._flags&_274.Flags.IncludeDebugSymbols){ +_2a3.atoms[_2a3.atoms.length]=","+JSON.stringify(_2a7); +} +_2a3.atoms[_2a3.atoms.length]=")"; +this._currentSelector=""; +return _2a3; +}; +_274.prototype.preprocess=function(_2aa,_2ab,_2ac,_2ad,_2ae){ +var _2af=_2ab?_2ab:new _271(),_2b0=0,_2b1=""; +if(_2ae){ +_2ae[0]=_2af; +var _2b2=false,_2b3=[0,0,0]; +} +while((_2b1=_2aa.next())&&((_2b1!==_2ac)||_2b0)){ +if(_2ae){ +if(_2b1===_265){ +++_2b3[2]; +}else{ +if(_2b1===_25e){ +++_2b3[0]; +}else{ +if(_2b1===_25f){ +--_2b3[0]; +}else{ +if(_2b1===_266){ +++_2b3[1]; +}else{ +if(_2b1===_267){ +--_2b3[1]; +}else{ +if((_2b1===_258&&_2b3[2]--===0||(_2b2=(_2b1===_264)))&&_2b3[0]===0&&_2b3[1]===0){ +_2aa.push(); +var _2b4=_2b2?_2aa.skip_whitespace(true):_2aa.previous(),_2b5=_268.test(_2b4); +if(_2b5||_26a.test(_2b4)&&_268.test(_2aa.previous())){ +_2aa.push(); +var last=_2aa.skip_whitespace(true),_2b6=true,_2b7=false; +if(last==="+"||last==="-"){ +if(_2aa.previous()!==last){ +_2b6=false; +}else{ +last=_2aa.skip_whitespace(true); +_2b7=true; +} +} +_2aa.pop(); +_2aa.pop(); +if(_2b6&&((!_2b7&&(last===_25f))||last===_267||last===_264||last===_25a||_269.test(last)||last.charAt(last.length-1)==="\""||last.charAt(last.length-1)==="'"||_26a.test(last)&&!/^(new|return|case|var)$/.test(last))){ +if(_2b5){ +_2ae[1]=":"; +}else{ +_2ae[1]=_2b4; +if(!_2b2){ +_2ae[1]+=":"; +} +var _2b0=_2af.atoms.length; +while(_2af.atoms[_2b0--]!==_2b4){ +} +_2af.atoms.length=_2b0; +} +return !_2b2; +} +if(_2b2){ +return NO; +} +} +_2aa.pop(); +if(_2b2){ +return NO; +} +} +} +} +} +} +} +_2b3[2]=MAX(_2b3[2],0); +} +if(_2ad){ +if(_2b1===_2ad){ +++_2b0; +}else{ +if(_2b1===_2ac){ +--_2b0; +} +} +} +if(_2b1===_24a){ +var _2b8=""; +while((_2b1=_2aa.next())&&_2b1!==_266&&!(/^\w/).test(_2b1)){ +_2b8+=_2b1; +} +if(_2b1===_266){ +if(_2ad===_266){ +++_2b0; +} +_2af.atoms[_2af.atoms.length]="function"+_2b8+"("; +if(_2ae){ +++_2b3[1]; +} +}else{ +_2af.atoms[_2af.atoms.length]=_2b1+"= function"; +} +}else{ +if(_2b1==_263){ +this.directive(_2aa,_2af); +}else{ +if(_2b1==_261){ +this.brackets(_2aa,_2af); +}else{ +_2af.atoms[_2af.atoms.length]=_2b1; +} +} +} +} +if(_2ae){ +throw new SyntaxError(this.error_message("*** Expected ']' - Unterminated message send or array.")); +} +if(!_2ab){ +return _2af; +} +}; +_274.prototype.selector=function(_2b9,_2ba){ +var _2bb=_2ba?_2ba:new _271(); +_2bb.atoms[_2bb.atoms.length]="sel_getUid(\""; +if(_2b9.skip_whitespace()!=_266){ +throw new SyntaxError(this.error_message("*** Expected '('")); +} +var _2bc=_2b9.skip_whitespace(); +if(_2bc==_267){ +throw new SyntaxError(this.error_message("*** Unexpected ')', can't have empty @selector()")); +} +_2ba.atoms[_2ba.atoms.length]=_2bc; +var _2bd,_2be=true; +while((_2bd=_2b9.next())&&_2bd!=_267){ +if(_2be&&/^\d+$/.test(_2bd)||!(/^(\w|$|\:)/.test(_2bd))){ +if(!(/\S/).test(_2bd)){ +if(_2b9.skip_whitespace()==_267){ +break; +}else{ +throw new SyntaxError(this.error_message("*** Unexpected whitespace in @selector().")); +} +}else{ +throw new SyntaxError(this.error_message("*** Illegal character '"+_2bd+"' in @selector().")); +} +} +_2bb.atoms[_2bb.atoms.length]=_2bd; +_2be=(_2bd==_258); +} +_2bb.atoms[_2bb.atoms.length]="\")"; +if(!_2ba){ +return _2bb; +} +}; +_274.prototype.error_message=function(_2bf){ +return _2bf+" "; +}; +function _2a1(aURL,_2c0){ +this._URL=aURL; +this._isLocal=_2c0; +}; +_2.FileDependency=_2a1; +_2a1.prototype.URL=function(){ +return this._URL; +}; +_2a1.prototype.isLocal=function(){ +return this._isLocal; +}; +_2a1.prototype.toMarkedString=function(){ +var _2c1=this.URL().absoluteString(); +return (this.isLocal()?_203:_202)+";"+_2c1.length+";"+_2c1; +}; +_2a1.prototype.toString=function(){ +return (this.isLocal()?"LOCAL: ":"STD: ")+this.URL(); +}; +var _2c2=0,_2c3=1,_2c4=2,_2c5=0; +function _278(_2c6,_2c7,aURL,_2c8){ +if(arguments.length===0){ +return this; +} +this._code=_2c6; +this._function=_2c8||NULL; +this._URL=_1a5(aURL||new CFURL("(Anonymous"+(_2c5++)+")")); +this._fileDependencies=_2c7; +if(_2c7.length){ +this._fileDependencyStatus=_2c2; +this._fileDependencyCallbacks=[]; +}else{ +this._fileDependencyStatus=_2c4; +} +if(this._function){ +return; +} +this.setCode(_2c6); +}; +_2.Executable=_278; +_278.prototype.path=function(){ +return this.URL().path(); +}; +_278.prototype.URL=function(){ +return this._URL; +}; +_278.prototype.functionParameters=function(){ +var _2c9=["global","objj_executeFile","objj_importFile"]; +return _2c9; +}; +_278.prototype.functionArguments=function(){ +var _2ca=[_1,this.fileExecuter(),this.fileImporter()]; +return _2ca; +}; +_278.prototype.execute=function(){ +var _2cb=_2cc; +_2cc=CFBundle.bundleContainingURL(this.URL()); +var _2cd=this._function.apply(_1,this.functionArguments()); +_2cc=_2cb; +return _2cd; +}; +_278.prototype.code=function(){ +return this._code; +}; +_278.prototype.setCode=function(code){ +this._code=code; +var _2ce=this.functionParameters().join(","); +this._function=new Function(_2ce,code); +}; +_278.prototype.fileDependencies=function(){ +return this._fileDependencies; +}; +_278.prototype.hasLoadedFileDependencies=function(){ +return this._fileDependencyStatus===_2c4; +}; +var _2cf=0,_2d0=[],_2d1={}; +_278.prototype.loadFileDependencies=function(_2d2){ +var _2d3=this._fileDependencyStatus; +if(_2d2){ +if(_2d3===_2c4){ +return _2d2(); +} +this._fileDependencyCallbacks.push(_2d2); +} +if(_2d3===_2c2){ +if(_2cf){ +throw "Can't load"; +} +_2d4(this); +} +}; +function _2d4(_2d5){ +_2d0.push(_2d5); +_2d5._fileDependencyStatus=_2c3; +var _2d6=_2d5.fileDependencies(),_8c=0,_2d7=_2d6.length,_2d8=_2d5.referenceURL(),_2d9=_2d8.absoluteString(),_2da=_2d5.fileExecutableSearcher(); +_2cf+=_2d7; +for(;_8c<_2d7;++_8c){ +var _2db=_2d6[_8c],_2dc=_2db.isLocal(),URL=_2db.URL(),_2dd=(_2dc&&(_2d9+" ")||"")+URL; +if(_2d1[_2dd]){ +if(--_2cf===0){ +_2de(); +} +continue; +} +_2d1[_2dd]=YES; +_2da(URL,_2dc,_2df); +} +}; +function _2df(_2e0){ +--_2cf; +if(_2e0._fileDependencyStatus===_2c2){ +_2d4(_2e0); +}else{ +if(_2cf===0){ +_2de(); +} +} +}; +function _2de(){ +var _2e1=_2d0,_8c=0,_2e2=_2e1.length; +_2d0=[]; +for(;_8c<_2e2;++_8c){ +_2e1[_8c]._fileDependencyStatus=_2c4; +} +for(_8c=0;_8c<_2e2;++_8c){ +var _2e3=_2e1[_8c],_2e4=_2e3._fileDependencyCallbacks,_2e5=0,_2e6=_2e4.length; +for(;_2e5<_2e6;++_2e5){ +_2e4[_2e5](); +} +_2e3._fileDependencyCallbacks=[]; +} +}; +_278.prototype.referenceURL=function(){ +if(this._referenceURL===_44){ +this._referenceURL=new CFURL(".",this.URL()); +} +return this._referenceURL; +}; +_278.prototype.fileImporter=function(){ +return _278.fileImporterForURL(this.referenceURL()); +}; +_278.prototype.fileExecuter=function(){ +return _278.fileExecuterForURL(this.referenceURL()); +}; +_278.prototype.fileExecutableSearcher=function(){ +return _278.fileExecutableSearcherForURL(this.referenceURL()); +}; +var _2e7={}; +_278.fileExecuterForURL=function(aURL){ +var _2e8=_1a5(aURL),_2e9=_2e8.absoluteString(),_2ea=_2e7[_2e9]; +if(!_2ea){ +_2ea=function(aURL,_2eb,_2ec){ +_278.fileExecutableSearcherForURL(_2e8)(aURL,_2eb,function(_2ed){ +if(!_2ed.hasLoadedFileDependencies()){ +throw "No executable loaded for file at URL "+aURL; +} +_2ed.execute(_2ec); +}); +}; +_2e7[_2e9]=_2ea; +} +return _2ea; +}; +var _2ee={}; +_278.fileImporterForURL=function(aURL){ +var _2ef=_1a5(aURL),_2f0=_2ef.absoluteString(),_2f1=_2ee[_2f0]; +if(!_2f1){ +_2f1=function(aURL,_2f2,_2f3){ +_145(); +_278.fileExecutableSearcherForURL(_2ef)(aURL,_2f2,function(_2f4){ +_2f4.loadFileDependencies(function(){ +_2f4.execute(); +_146(); +if(_2f3){ +_2f3(); +} +}); +}); +}; +_2ee[_2f0]=_2f1; +} +return _2f1; +}; +var _2f5={},_2f6={}; +_278.fileExecutableSearcherForURL=function(_2f7){ +var _2f8=_2f7.absoluteString(),_2f9=_2f5[_2f8],_2fa={}; +if(!_2f9){ +_2f9=function(aURL,_2fb,_2fc){ +var _2fd=(_2fb&&_2f7||"")+aURL,_2fe=_2f6[_2fd]; +if(_2fe){ +return _2ff(_2fe); +} +var _300=(aURL instanceof CFURL)&&aURL.scheme(); +if(_2fb||_300){ +if(!_300){ +aURL=new CFURL(aURL,_2f7); +} +_192.resolveResourceAtURL(aURL,NO,_2ff); +}else{ +_192.resolveResourceAtURLSearchingIncludeURLs(aURL,_2ff); +} +function _2ff(_301){ +if(!_301){ +throw new Error("Could not load file at "+aURL); +} +_2f6[_2fd]=_301; +_2fc(new _302(_301.URL())); +}; +}; +_2f5[_2f8]=_2f9; +} +return _2f9; +}; +var _303={}; +function _302(aURL){ +aURL=_1a5(aURL); +var _304=aURL.absoluteString(),_305=_303[_304]; +if(_305){ +return _305; +} +_303[_304]=this; +var _306=_192.resourceAtURL(aURL).contents(),_307=NULL,_308=aURL.pathExtension(); +if(_306.match(/^@STATIC;/)){ +_307=_309(_306,aURL); +}else{ +if(_308==="j"||!_308){ +_307=_2.preprocess(_306,aURL,_274.Flags.IncludeDebugSymbols); +}else{ +_307=new _278(_306,[],aURL); +} +} +_278.apply(this,[_307.code(),_307.fileDependencies(),aURL,_307._function]); +this._hasExecuted=NO; +}; +_2.FileExecutable=_302; +_302.prototype=new _278(); +_302.prototype.execute=function(_30a){ +if(this._hasExecuted&&!_30a){ +return; +} +this._hasExecuted=YES; +_278.prototype.execute.call(this); +}; +_302.prototype.hasExecuted=function(){ +return this._hasExecuted; +}; +function _309(_30b,aURL){ +var _30c=new _fd(_30b); +var _30d=NULL,code="",_30e=[]; +while(_30d=_30c.getMarker()){ +var text=_30c.getString(); +if(_30d===_201){ +code+=text; +}else{ +if(_30d===_202){ +_30e.push(new _2a1(new CFURL(text),NO)); +}else{ +if(_30d===_203){ +_30e.push(new _2a1(new CFURL(text),YES)); +} +} +} +} +var fn=_302._lookupCachedFunction(aURL); +if(fn){ +return new _278(code,_30e,aURL,fn); +} +return new _278(code,_30e,aURL); +}; +var _30f={}; +_302._cacheFunction=function(aURL,fn){ +aURL=typeof aURL==="string"?aURL:aURL.absoluteString(); +_30f[aURL]=fn; +}; +_302._lookupCachedFunction=function(aURL){ +aURL=typeof aURL==="string"?aURL:aURL.absoluteString(); +return _30f[aURL]; +}; +var _310=1,_311=2,_312=4,_313=8; +objj_ivar=function(_314,_315){ +this.name=_314; +this.type=_315; +}; +objj_method=function(_316,_317,_318){ +this.name=_316; +this.method_imp=_317; +this.types=_318; +}; +objj_class=function(){ +this.isa=NULL; +this.super_class=NULL; +this.sub_classes=[]; +this.name=NULL; +this.info=0; +this.ivars=[]; +this.method_list=[]; +this.method_hash={}; +this.method_store=function(){ +}; +this.method_dtable=this.method_store.prototype; +this.allocator=function(){ +}; +this._UID=-1; +}; +objj_object=function(){ +this.isa=NULL; +this._UID=-1; +}; +class_getName=function(_319){ +if(_319==Nil){ +return ""; +} +return _319.name; +}; +class_isMetaClass=function(_31a){ +if(!_31a){ +return NO; +} +return ((_31a.info&(_311))); +}; +class_getSuperclass=function(_31b){ +if(_31b==Nil){ +return Nil; +} +return _31b.super_class; +}; +class_setSuperclass=function(_31c,_31d){ +_31c.super_class=_31d; +_31c.isa.super_class=_31d.isa; +}; +class_addIvar=function(_31e,_31f,_320){ +var _321=_31e.allocator.prototype; +if(typeof _321[_31f]!="undefined"){ +return NO; +} +_31e.ivars.push(new objj_ivar(_31f,_320)); +_321[_31f]=NULL; +return YES; +}; +class_addIvars=function(_322,_323){ +var _324=0,_325=_323.length,_326=_322.allocator.prototype; +for(;_324<_325;++_324){ +var ivar=_323[_324],name=ivar.name; +if(typeof _326[name]==="undefined"){ +_322.ivars.push(ivar); +_326[name]=NULL; +} +} +}; +class_copyIvarList=function(_327){ +return _327.ivars.slice(0); +}; +class_addMethod=function(_328,_329,_32a,_32b){ +if(_328.method_hash[_329]){ +return NO; +} +var _32c=new objj_method(_329,_32a,_32b); +_328.method_list.push(_32c); +_328.method_dtable[_329]=_32c; +if(!((_328.info&(_311)))&&(((_328.info&(_311)))?_328:_328.isa).isa===(((_328.info&(_311)))?_328:_328.isa)){ +class_addMethod((((_328.info&(_311)))?_328:_328.isa),_329,_32a,_32b); +} +return YES; +}; +class_addMethods=function(_32d,_32e){ +var _32f=0,_330=_32e.length,_331=_32d.method_list,_332=_32d.method_dtable; +for(;_32f<_330;++_32f){ +var _333=_32e[_32f]; +if(_32d.method_hash[_333.name]){ +continue; +} +_331.push(_333); +_332[_333.name]=_333; +} +if(!((_32d.info&(_311)))&&(((_32d.info&(_311)))?_32d:_32d.isa).isa===(((_32d.info&(_311)))?_32d:_32d.isa)){ +class_addMethods((((_32d.info&(_311)))?_32d:_32d.isa),_32e); +} +}; +class_getInstanceMethod=function(_334,_335){ +if(!_334||!_335){ +return NULL; +} +var _336=_334.method_dtable[_335]; +return _336?_336:NULL; +}; +class_getClassMethod=function(_337,_338){ +if(!_337||!_338){ +return NULL; +} +var _339=(((_337.info&(_311)))?_337:_337.isa).method_dtable[_338]; +return _339?_339:NULL; +}; +class_copyMethodList=function(_33a){ +return _33a.method_list.slice(0); +}; +class_replaceMethod=function(_33b,_33c,_33d){ +if(!_33b||!_33c){ +return NULL; +} +var _33e=_33b.method_dtable[_33c],_33f=NULL; +if(_33e){ +_33f=_33e.method_imp; +} +_33e.method_imp=_33d; +return _33f; +}; +var _340=function(_341){ +var meta=(((_341.info&(_311)))?_341:_341.isa); +if((_341.info&(_311))){ +_341=objj_getClass(_341.name); +} +if(_341.super_class&&!((((_341.super_class.info&(_311)))?_341.super_class:_341.super_class.isa).info&(_312))){ +_340(_341.super_class); +} +if(!(meta.info&(_312))&&!(meta.info&(_313))){ +meta.info=(meta.info|(_313))&~(0); +objj_msgSend(_341,"initialize"); +meta.info=(meta.info|(_312))&~(_313); +} +}; +var _342=new objj_method("forward",function(self,_343){ +return objj_msgSend(self,"forward::",_343,arguments); +}); +class_getMethodImplementation=function(_344,_345){ +if(!((((_344.info&(_311)))?_344:_344.isa).info&(_312))){ +_340(_344); +} +var _346=_344.method_dtable[_345]; +if(!_346){ +_346=_342; +} +var _347=_346.method_imp; +return _347; +}; +var _348={}; +objj_allocateClassPair=function(_349,_34a){ +var _34b=new objj_class(),_34c=new objj_class(),_34d=_34b; +if(_349){ +_34d=_349; +while(_34d.superclass){ +_34d=_34d.superclass; +} +_34b.allocator.prototype=new _349.allocator; +_34b.method_store.prototype=new _349.method_store; +_34b.method_dtable=_34b.method_store.prototype; +_34c.method_store.prototype=new _349.isa.method_store; +_34c.method_dtable=_34c.method_store.prototype; +_34b.super_class=_349; +_34c.super_class=_349.isa; +}else{ +_34b.allocator.prototype=new objj_object(); +} +_34b.isa=_34c; +_34b.name=_34a; +_34b.info=_310; +_34b._UID=objj_generateObjectUID(); +_34c.isa=_34d.isa; +_34c.name=_34a; +_34c.info=_311; +_34c._UID=objj_generateObjectUID(); +return _34b; +}; +var _2cc=nil; +objj_registerClassPair=function(_34e){ +_1[_34e.name]=_34e; +_348[_34e.name]=_34e; +_1ac(_34e,_2cc); +}; +class_createInstance=function(_34f){ +if(!_34f){ +objj_exception_throw(new objj_exception(OBJJNilClassException,"*** Attempting to create object with Nil class.")); +} +var _350=new _34f.allocator(); +_350.isa=_34f; +_350._UID=objj_generateObjectUID(); +return _350; +}; +var _351=function(){ +}; +_351.prototype.member=false; +with(new _351()){ +member=true; +} +if(new _351().member){ +var _352=class_createInstance; +class_createInstance=function(_353){ +var _354=_352(_353); +if(_354){ +var _355=_354.isa,_356=_355; +while(_355){ +var _357=_355.ivars; +count=_357.length; +while(count--){ +_354[_357[count].name]=NULL; +} +_355=_355.super_class; +} +_354.isa=_356; +} +return _354; +}; +} +object_getClassName=function(_358){ +if(!_358){ +return ""; +} +var _359=_358.isa; +return _359?class_getName(_359):""; +}; +objj_lookUpClass=function(_35a){ +var _35b=_348[_35a]; +return _35b?_35b:Nil; +}; +objj_getClass=function(_35c){ +var _35d=_348[_35c]; +if(!_35d){ +} +return _35d?_35d:Nil; +}; +objj_getMetaClass=function(_35e){ +var _35f=objj_getClass(_35e); +return (((_35f.info&(_311)))?_35f:_35f.isa); +}; +ivar_getName=function(_360){ +return _360.name; +}; +ivar_getTypeEncoding=function(_361){ +return _361.type; +}; +objj_msgSend=function(_362,_363){ +if(_362==nil){ +return nil; +} +var isa=_362.isa; +if(!((((isa.info&(_311)))?isa:isa.isa).info&(_312))){ +_340(isa); +} +var _364=isa.method_dtable[_363]; +if(!_364){ +_364=_342; +} +var _365=_364.method_imp; +switch(arguments.length){ +case 2: +return _365(_362,_363); +case 3: +return _365(_362,_363,arguments[2]); +case 4: +return _365(_362,_363,arguments[2],arguments[3]); +} +return _365.apply(_362,arguments); +}; +objj_msgSendSuper=function(_366,_367){ +var _368=_366.super_class; +arguments[0]=_366.receiver; +if(!((((_368.info&(_311)))?_368:_368.isa).info&(_312))){ +_340(_368); +} +var _369=_368.method_dtable[_367]; +if(!_369){ +_369=_342; +} +var _36a=_369.method_imp; +return _36a.apply(_366.receiver,arguments); +}; +method_getName=function(_36b){ +return _36b.name; +}; +method_getImplementation=function(_36c){ +return _36c.method_imp; +}; +method_setImplementation=function(_36d,_36e){ +var _36f=_36d.method_imp; +_36d.method_imp=_36e; +return _36f; +}; +method_exchangeImplementations=function(lhs,rhs){ +var _370=method_getImplementation(lhs),_371=method_getImplementation(rhs); +method_setImplementation(lhs,_371); +method_setImplementation(rhs,_370); +}; +sel_getName=function(_372){ +return _372?_372:""; +}; +sel_getUid=function(_373){ +return _373; +}; +sel_isEqual=function(lhs,rhs){ +return lhs===rhs; +}; +sel_registerName=function(_374){ +return _374; +}; +objj_eval=function(_375){ +var url=_2.pageURL; +var _376=_2.asyncLoader; +_2.asyncLoader=NO; +var _377=_2.preprocess(_375,url,0); +if(!_377.hasLoadedFileDependencies()){ +_377.loadFileDependencies(); +} +_1._objj_eval_scope={}; +_1._objj_eval_scope.objj_executeFile=_278.fileExecuterForURL(url); +_1._objj_eval_scope.objj_importFile=_278.fileImporterForURL(url); +var code="with(_objj_eval_scope){"+_377._code+"\n//*/\n}"; +var _378; +_378=eval(code); +_2.asyncLoader=_376; +return _378; +}; +_2.objj_eval=objj_eval; +_145(); +var _379=new CFURL(window.location.href),_37a=document.getElementsByTagName("base"),_37b=_37a.length; +if(_37b>0){ +var _37c=_37a[_37b-1],_37d=_37c&&_37c.getAttribute("href"); +if(_37d){ +_379=new CFURL(_37d,_379); +} +} +var _37e=new CFURL(window.OBJJ_MAIN_FILE||"main.j"),_1ab=new CFURL(".",new CFURL(_37e,_379)).absoluteURL(),_37f=new CFURL("..",_1ab).absoluteURL(); +if(_1ab===_37f){ +_37f=new CFURL(_37f.schemeAndAuthority()); +} +_192.resourceAtURL(_37f,YES); +_2.pageURL=_379; +_2.bootstrap=function(){ +_380(); +}; +function _380(){ +_192.resolveResourceAtURL(_1ab,YES,function(_381){ +var _382=_192.includeURLs(),_8c=0,_383=_382.length; +for(;_8c<_383;++_8c){ +_381.resourceAtURL(_382[_8c],YES); +} +_278.fileImporterForURL(_1ab)(_37e.lastPathComponent(),YES,function(){ +_146(); +_389(function(){ +var _384=window.location.hash.substring(1),args=[]; +if(_384.length){ +args=_384.split("/"); +for(var i=0,_383=args.length;i<_383;i++){ +args[i]=decodeURIComponent(args[i]); +} +} +var _385=window.location.search.substring(1).split("&"),_386=new CFMutableDictionary(); +for(var i=0,_383=_385.length;i<_383;i++){ +var _387=_385[i].split("="); +if(!_387[0]){ +continue; +} +if(_387[1]==null){ +_387[1]=true; +} +_386.setValueForKey(decodeURIComponent(_387[0]),decodeURIComponent(_387[1])); +} +main(args,_386); +}); +}); +}); +}; +var _388=NO; +function _389(_38a){ +if(_388){ +return _38a(); +} +if(window.addEventListener){ +window.addEventListener("load",_38a,NO); +}else{ +if(window.attachEvent){ +window.attachEvent("onload",_38a); +} +} +}; +_389(function(){ +_388=YES; +}); +if(typeof OBJJ_AUTO_BOOTSTRAP==="undefined"||OBJJ_AUTO_BOOTSTRAP){ +_2.bootstrap(); +} +function _1a5(aURL){ +if(aURL instanceof CFURL&&aURL.scheme()){ +return aURL; +} +return new CFURL(aURL,_1ab); +}; +objj_importFile=_278.fileImporterForURL(_1ab); +objj_executeFile=_278.fileExecuterForURL(_1ab); +objj_import=function(){ +CPLog.warn("objj_import is deprecated, use objj_importFile instead"); +objj_importFile.apply(this,arguments); +}; +})(window,ObjectiveJ); diff --git a/simple-tableview delegate/Info.plist b/simple-tableview delegate/Info.plist new file mode 100644 index 0000000..afdd101 --- /dev/null +++ b/simple-tableview delegate/Info.plist @@ -0,0 +1,12 @@ + + + + + CPApplicationDelegateClass + AppController + CPBundleName + simple-tableview + CPPrincipalClass + CPApplication + + diff --git a/simple-tableview delegate/Jakefile b/simple-tableview delegate/Jakefile new file mode 100644 index 0000000..f8d4289 --- /dev/null +++ b/simple-tableview delegate/Jakefile @@ -0,0 +1,81 @@ +/* + * Jakefile + * simple-tableview + * + * Created by You on June 5, 2010. + * Copyright 2010, Your Company All rights reserved. + */ + +var ENV = require("system").env, + FILE = require("file"), + JAKE = require("jake"), + task = JAKE.task, + FileList = JAKE.FileList, + app = require("cappuccino/jake").app, + configuration = ENV["CONFIG"] || ENV["CONFIGURATION"] || ENV["c"] || "Debug", + OS = require("os"); + +app ("simpleTableview", function(task) +{ + task.setBuildIntermediatesPath(FILE.join("Build", "simpleTableview.build", configuration)); + task.setBuildPath(FILE.join("Build", configuration)); + + task.setProductName("simple-tableview"); + task.setIdentifier("com.yourcompany.simpleTableview"); + task.setVersion("1.0"); + task.setAuthor("Your Company"); + task.setEmail("feedback @nospam@ yourcompany.com"); + task.setSummary("simple-tableview"); + task.setSources((new FileList("**/*.j")).exclude(FILE.join("Build", "**"))); + task.setResources(new FileList("Resources/**")); + task.setIndexFilePath("index.html"); + task.setInfoPlistPath("Info.plist"); + + if (configuration === "Debug") + task.setCompilerFlags("-DDEBUG -g"); + else + task.setCompilerFlags("-O"); +}); + +function printResults(configuration) +{ + print("----------------------------"); + print(configuration+" app built at path: "+FILE.join("Build", configuration, "simpleTableview")); + print("----------------------------"); +} + +task ("default", ["simpleTableview"], function() +{ + printResults(configuration); +}); + +task ("build", ["default"]); + +task ("debug", function() +{ + ENV["CONFIGURATION"] = "Debug"; + JAKE.subjake(["."], "build", ENV); +}); + +task ("release", function() +{ + ENV["CONFIGURATION"] = "Release"; + JAKE.subjake(["."], "build", ENV); +}); + +task ("run", ["debug"], function() +{ + OS.system(["open", FILE.join("Build", "Debug", "simpleTableview", "index.html")]); +}); + +task ("run-release", ["release"], function() +{ + OS.system(["open", FILE.join("Build", "Release", "simpleTableview", "index.html")]); +}); + +task ("deploy", ["release"], function() +{ + FILE.mkdirs(FILE.join("Build", "Deployment", "simpleTableview")); + OS.system(["press", "-f", FILE.join("Build", "Release", "simpleTableview"), FILE.join("Build", "Deployment", "simpleTableview")]); + printResults("Deployment") +}); diff --git a/simple-tableview delegate/Resources/spinner.gif b/simple-tableview delegate/Resources/spinner.gif new file mode 100644 index 0000000..06dbc2b Binary files /dev/null and b/simple-tableview delegate/Resources/spinner.gif differ diff --git a/simple-tableview delegate/index.html b/simple-tableview delegate/index.html new file mode 100644 index 0000000..b34a7e6 --- /dev/null +++ b/simple-tableview delegate/index.html @@ -0,0 +1,71 @@ + + + + + + + + simple-tableview + + + + + + + + + + + + +
+
+ + + +
+
+ + + + diff --git a/simple-tableview delegate/main.j b/simple-tableview delegate/main.j new file mode 100644 index 0000000..e3e078c --- /dev/null +++ b/simple-tableview delegate/main.j @@ -0,0 +1,18 @@ +/* + * AppController.j + * simple-tableview + * + * Created by You on June 5, 2010. + * Copyright 2010, Your Company All rights reserved. + */ + +@import +@import + +@import "AppController.j" + + +function main(args, namedArgs) +{ + CPApplicationMain(args, namedArgs); +}